@digabi/exam-engine-core 19.6.1 → 19.7.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/__tests__/tsconfig.tsbuildinfo +1 -1
- package/dist/components/SectionElement.js +1 -1
- package/dist/components/SectionElement.js.map +1 -1
- package/dist/components/attachments/Attachments.js +1 -1
- package/dist/components/attachments/Attachments.js.map +1 -1
- package/dist/components/attachments/ExternalMaterial.js +1 -1
- package/dist/components/attachments/ExternalMaterial.js.map +1 -1
- package/dist/components/exam/ChoiceAnswer.js +8 -10
- package/dist/components/exam/ChoiceAnswer.js.map +1 -1
- package/dist/components/exam/Exam.js +3 -3
- package/dist/components/exam/Exam.js.map +1 -1
- package/dist/components/exam/Hints.js +1 -1
- package/dist/components/exam/Hints.js.map +1 -1
- package/dist/components/exam/QuestionTitle.js +1 -1
- package/dist/components/exam/QuestionTitle.js.map +1 -1
- package/dist/components/exam/RichTextAnswer.js +2 -1
- package/dist/components/exam/RichTextAnswer.js.map +1 -1
- package/dist/components/exam/SectionTitle.js +1 -1
- package/dist/components/exam/SectionTitle.js.map +1 -1
- package/dist/components/exam/internal/ErrorIndicator.js +2 -2
- package/dist/components/exam/internal/ErrorIndicator.js.map +1 -1
- package/dist/components/exam/internal/TextAnswerInput.d.ts.map +1 -1
- package/dist/components/exam/internal/TextAnswerInput.js +38 -11
- package/dist/components/exam/internal/TextAnswerInput.js.map +1 -1
- package/dist/components/grading-instructions/AutogradedAnswer.js +2 -2
- package/dist/components/grading-instructions/AutogradedAnswer.js.map +1 -1
- package/dist/components/grading-instructions/GradingInstructions.js +2 -2
- package/dist/components/grading-instructions/GradingInstructions.js.map +1 -1
- package/dist/components/results/ChoiceAnswer.js +7 -9
- package/dist/components/results/ChoiceAnswer.js.map +1 -1
- package/dist/components/results/QuestionTitle.js +1 -1
- package/dist/components/results/QuestionTitle.js.map +1 -1
- package/dist/components/results/TextAnswer.js +9 -13
- package/dist/components/results/TextAnswer.js.map +1 -1
- package/dist/components/results/internal/QuestionAutoScore.js +1 -1
- package/dist/components/results/internal/QuestionAutoScore.js.map +1 -1
- package/dist/components/results/internal/QuestionManualScore.js +1 -1
- package/dist/components/results/internal/QuestionManualScore.js.map +1 -1
- package/dist/components/results/internal/QuestionScoresContainer.js +2 -2
- package/dist/components/results/internal/QuestionScoresContainer.js.map +1 -1
- package/dist/components/shared/AttachmentLink.js +2 -2
- package/dist/components/shared/AttachmentLink.js.map +1 -1
- package/dist/components/shared/AttachmentLinks.js +2 -2
- package/dist/components/shared/AttachmentLinks.js.map +1 -1
- package/dist/components/shared/Audio.js +1 -1
- package/dist/components/shared/Audio.js.map +1 -1
- package/dist/components/shared/Image.js +6 -8
- package/dist/components/shared/Image.js.map +1 -1
- package/dist/components/shared/ImageOverlay.js +2 -4
- package/dist/components/shared/ImageOverlay.js.map +1 -1
- package/dist/components/shared/Reference.js +2 -2
- package/dist/components/shared/Reference.js.map +1 -1
- package/dist/components/shared/TableOfContents.js +3 -5
- package/dist/components/shared/TableOfContents.js.map +1 -1
- package/dist/components/shared/Video.js +1 -1
- package/dist/components/shared/Video.js.map +1 -1
- package/dist/createRenderChildNodes.js +1 -1
- package/dist/createRenderChildNodes.js.map +1 -1
- package/dist/main-bundle.js +1 -1
- package/dist/main.css +1 -1
- package/package.json +2 -2
package/dist/main-bundle.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
/*! For license information please see main-bundle.js.LICENSE.txt */
|
2
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define?define(["react","react-dom"],t):"object"==typeof exports?exports.ExamBundle=t(require("react"),require("react-dom")):e.ExamBundle=t(e.React,e.ReactDOM)}(this,((e,t)=>(()=>{var n={9449:(e,t,n)=>{!function(){var t=n(8291),r="mathquill-command-id",i="mathquill-block-id",o=Math.min,a=Math.max;if(!t)throw"MathQuill requires jQuery 1.5.2+ to be loaded first";function s(){}var l=[].slice;function c(e){var t=e.length-1;return function(){var n=l.call(arguments,0,t),r=l.call(arguments,t);return e.apply(this,n.concat([r]))}}var u=c((function(e,t){return c((function(n,r){if(e in n)return n[e].apply(n,t.concat(r))}))}));function d(e){return c((function(t,n){return"function"!=typeof t&&(t=u(t)),e.call(this,(function(e){return t.apply(e,[e].concat(n))}))}))}function f(e){var t=l.call(arguments,1);return function(){return e.apply(this,t)}}function p(e,t){if(!t)throw new Error("prayer failed: "+e)}var h=function(e,t,n){function r(e){return"object"==typeof e}function i(e){return"function"==typeof e}function o(){}return function n(a,s){function l(){var e=new c;return i(e.init)&&e.init.apply(e,arguments),e}function c(){}void 0===s&&(s=a,a=Object),l.Bare=c;var u,d=o[e]=a[e],f=c[e]=l[e]=l.p=new o;return f.constructor=l,l.extend=function(e){return n(l,e)},(l.open=function(e){if(u={},i(e)?u=e.call(l,f,d,l,a):r(e)&&(u=e),r(u))for(var n in u)t.call(u,n)&&(f[n]=u[n]);return i(f.init)||(f.init=a),l})(s)}}("prototype",{}.hasOwnProperty),g=-1,m=1;function y(e){p("a direction was passed",e===g||e===m)}var v=h(t,(function(e){e.insDirOf=function(e,t){return e===g?this.insertBefore(t.first()):this.insertAfter(t.last())},e.insAtDirEnd=function(e,t){return e===g?this.prependTo(t):this.appendTo(t)}})),b=h((function(e){e.parent=0,e[g]=0,e[m]=0,e.init=function(e,t,n){this.parent=e,this[g]=t,this[m]=n},this.copy=function(e){return b(e.parent,e[g],e[m])}})),I=h((function(e){e[g]=0,e[m]=0,e.parent=0;var t=0;this.byId={},e.init=function(){this.id=t+=1,I.byId[this.id]=this,this.ends={},this.ends[g]=0,this.ends[m]=0},e.dispose=function(){delete I.byId[this.id]},e.toString=function(){return"{{ MathQuill Node #"+this.id+" }}"},e.jQ=v(),e.jQadd=function(e){return this.jQ=this.jQ.add(e)},e.jQize=function(e){function t(e){if(e.getAttribute){var n=e.getAttribute("mathquill-command-id"),r=e.getAttribute("mathquill-block-id");n&&I.byId[n].jQadd(e),r&&I.byId[r].jQadd(e)}for(e=e.firstChild;e;e=e.nextSibling)t(e)}e=v(e||this.html());for(var n=0;n<e.length;n+=1)t(e[n]);return e},e.createDir=function(e,t){y(e);var n=this;return n.jQize(),n.jQ.insDirOf(e,t.jQ),t[e]=n.adopt(t.parent,t[g],t[m]),n},e.createLeftOf=function(e){return this.createDir(g,e)},e.selectChildren=function(e,t){return C(e,t)},e.bubble=d((function(e){for(var t=this;t&&!1!==e(t);t=t.parent);return this})),e.postOrder=d((function(e){return function t(n){n.eachChild(t),e(n)}(this),this})),e.isEmpty=function(){return 0===this.ends[g]&&0===this.ends[m]},e.isStyleBlock=function(){return!1},e.children=function(){return M(this.ends[g],this.ends[m])},e.eachChild=function(){var e=this.children();return e.each.apply(e,arguments),this},e.foldChildren=function(e,t){return this.children().fold(e,t)},e.withDirAdopt=function(e,t,n,r){return M(this,this).withDirAdopt(e,t,n,r),this},e.adopt=function(e,t,n){return M(this,this).adopt(e,t,n),this},e.disown=function(){return M(this,this).disown(),this},e.remove=function(){return this.jQ.remove(),this.postOrder("dispose"),this.disown()}}));function x(e,t,n){p("a parent is always present",e),p("leftward is properly set up",t?t[m]===n&&t.parent===e:e.ends[g]===n),p("rightward is properly set up",n?n[g]===t&&n.parent===e:e.ends[m]===t)}var M=h((function(e){e.init=function(e,t,n){if(void 0===n&&(n=g),y(n),p("no half-empty fragments",!e==!t),this.ends={},e){p("withDir is passed to Fragment",e instanceof I),p("oppDir is passed to Fragment",t instanceof I),p("withDir and oppDir have the same parent",e.parent===t.parent),this.ends[n]=e,this.ends[-n]=t;var r=this.fold([],(function(e,t){return e.push.apply(e,t.jQ.get()),e}));this.jQ=this.jQ.add(r)}},e.jQ=v(),e.withDirAdopt=function(e,t,n,r){return e===g?this.adopt(t,n,r):this.adopt(t,r,n)},e.adopt=function(e,t,n){x(e,t,n);var r=this;r.disowned=!1;var i=r.ends[g];if(!i)return this;var o=r.ends[m];return t||(e.ends[g]=i),n?n[g]=o:e.ends[m]=o,r.ends[m][m]=n,r.each((function(n){n[g]=t,n.parent=e,t&&(t[m]=n),t=n})),r},e.disown=function(){var e=this,t=e.ends[g];if(!t||e.disowned)return e;e.disowned=!0;var n=e.ends[m],r=t.parent;return x(r,t[g],t),x(r,n,n[m]),t[g]?t[g][m]=n[m]:r.ends[g]=n[m],n[m]?n[m][g]=t[g]:r.ends[m]=t[g],e},e.remove=function(){return this.jQ.remove(),this.each("postOrder","dispose"),this.disown()},e.each=d((function(e){var t=this,n=t.ends[g];if(!n)return t;for(;n!==t.ends[m][m]&&!1!==e(n);n=n[m]);return t})),e.fold=function(e,t){return this.each((function(n){e=t.call(this,e,n)})),e}})),w={},T={},A=h(b,(function(e){e.init=function(e,t){this.parent=e,this.options=t;var n=this.jQ=this._jQ=v('<span class="mq-cursor">​</span>');this.blink=function(){n.toggleClass("mq-blink")},this.upDownCache={}},e.show=function(){return this.jQ=this._jQ.removeClass("mq-blink"),"intervalId"in this?clearInterval(this.intervalId):(this[m]?this.selection&&this.selection.ends[g][g]===this[g]?this.jQ.insertBefore(this.selection.jQ):this.jQ.insertBefore(this[m].jQ.first()):this.jQ.appendTo(this.parent.jQ),this.parent.focus()),this.intervalId=setInterval(this.blink,500),this},e.hide=function(){return"intervalId"in this&&clearInterval(this.intervalId),delete this.intervalId,this.jQ.detach(),this.jQ=v(),this},e.withDirInsertAt=function(e,t,n,r){var i=this.parent;this.parent=t,this[e]=n,this[-e]=r,i!==t&&i.blur&&i.blur(this)},e.insDirOf=function(e,t){return y(e),this.jQ.insDirOf(e,t.jQ),this.withDirInsertAt(e,t.parent,t[e],t),this.parent.jQ.addClass("mq-hasCursor"),this},e.insLeftOf=function(e){return this.insDirOf(g,e)},e.insRightOf=function(e){return this.insDirOf(m,e)},e.insAtDirEnd=function(e,t){return y(e),this.jQ.insAtDirEnd(e,t.jQ),this.withDirInsertAt(e,t,0,t.ends[e]),t.focus(),this},e.insAtLeftEnd=function(e){return this.insAtDirEnd(g,e)},e.insAtRightEnd=function(e){return this.insAtDirEnd(m,e)},e.jumpUpDown=function(e,t){var n=this;n.upDownCache[e.id]=b.copy(n);var r=n.upDownCache[t.id];if(r)r[m]?n.insLeftOf(r[m]):n.insAtRightEnd(r.parent);else{var i=n.offset().left;t.seek(i,n)}},e.offset=function(){var e=this.jQ.removeClass("mq-cursor").offset();return this.jQ.addClass("mq-cursor"),e},e.unwrapGramp=function(){var e=this.parent.parent,t=e.parent,n=e[m],r=e[g];if(e.disown().eachChild((function(i){i.isEmpty()||(i.children().adopt(t,r,n).each((function(t){t.jQ.insertBefore(e.jQ.first())})),r=i.ends[m])})),!this[m])if(this[g])this[m]=this[g][m];else for(;!this[m];){if(this.parent=this.parent[m],!this.parent){this[m]=e[m],this.parent=t;break}this[m]=this.parent.ends[g]}this[m]?this.insLeftOf(this[m]):this.insAtRightEnd(t),e.jQ.remove(),e[g].siblingDeleted&&e[g].siblingDeleted(this.options,m),e[m].siblingDeleted&&e[m].siblingDeleted(this.options,g)},e.startSelection=function(){for(var e=this.anticursor=b.copy(this),t=e.ancestors={},n=e;n.parent;n=n.parent)t[n.parent.id]=n},e.endSelection=function(){delete this.anticursor},e.select=function(){var e=this.anticursor;if(this[g]===e[g]&&this.parent===e.parent)return!1;for(var t=this;t.parent;t=t.parent)if(t.parent.id in e.ancestors){var n=t.parent;break}p("cursor and anticursor in the same tree",n);var r,i,o=e.ancestors[n.id],a=m;if(t[g]!==o)for(var s=t;s;s=s[m])if(s[m]===o[m]){a=g,r=t,i=o;break}return a===m&&(r=o,i=t),r instanceof b&&(r=r[m]),i instanceof b&&(i=i[g]),this.hide().selection=n.selectChildren(r,i),this.insDirOf(a,this.selection.ends[a]),this.selectionChanged(),!0},e.clearSelection=function(){return this.selection&&(this.selection.clear(),delete this.selection,this.selectionChanged()),this},e.deleteSelection=function(){this.selection&&(this[g]=this.selection.ends[g][g],this[m]=this.selection.ends[m][m],this.selection.remove(),this.selectionChanged(),delete this.selection)},e.replaceSelection=function(){var e=this.selection;return e&&(this[g]=e.ends[g][g],this[m]=e.ends[m][m],delete this.selection),e},e.depth=function(){for(var e=this,t=0;e=e.parent;)t+=e instanceof Q?1:0;return t},e.isTooDeep=function(e){if(void 0!==this.options.maxDepth)return this.depth()+(e||0)>this.options.maxDepth}})),C=h(M,(function(e,t){e.init=function(){t.init.apply(this,arguments),this.jQ=this.jQ.wrapAll('<span class="mq-selection"></span>').parent()},e.adopt=function(){return this.jQ.replaceWith(this.jQ=this.jQ.children()),t.adopt.apply(this,arguments)},e.clear=function(){return this.jQ.replaceWith(this.jQ[0].childNodes),this},e.join=function(e){return this.fold("",(function(t,n){return t+n[e]()}))}})),N=h((function(e){e.init=function(e,t,n){this.id=e.id,this.data={},this.root=e,this.container=t,this.options=n,e.controller=this,this.cursor=e.cursor=A(e,n)},e.handle=function(e,t){var n=this.options.handlers;if(n&&n.fns[e]){var r=n.APIClasses[this.KIND_OF_MQ](this);t===g||t===m?n.fns[e](t,r):n.fns[e](r)}};var t=[];this.onNotify=function(e){t.push(e)},e.notify=function(){for(var e=0;e<t.length;e+=1)t[e].apply(this.cursor,arguments);return this}})),E={},S=h(),j={},k=h(),D={};function L(){window.console&&console.warn('You are using the MathQuill API without specifying an interface version, which will fail in v1.0.0. Easiest fix is to do the following before doing anything else:\n\n MathQuill = MathQuill.getInterface(1);\n // now MathQuill.MathField() works like it used to\n\nSee also the "`dev` branch (2014–2015) → v0.10.0 Migration Guide" at\n https://github.com/mathquill/mathquill/wiki/%60dev%60-branch-(2014%E2%80%932015)-%E2%86%92-v0.10.0-Migration-Guide')}function O(e){return L(),We(e)}O.prototype=k.p,O.VERSION="v0.10.11",O.interfaceVersion=function(e){if(1!==e)throw"Only interface version 1 supported. You specified: "+e;return(L=function(){window.console&&console.warn('You called MathQuill.interfaceVersion(1); to specify the interface version, which will fail in v1.0.0. You can fix this easily by doing this before doing anything else:\n\n MathQuill = MathQuill.getInterface(1);\n // now MathQuill.MathField() works like it used to\n\nSee also the "`dev` branch (2014–2015) → v0.10.0 Migration Guide" at\n https://github.com/mathquill/mathquill/wiki/%60dev%60-branch-(2014%E2%80%932015)-%E2%86%92-v0.10.0-Migration-Guide')})(),O},O.getInterface=z;var R=z.MIN=1,P=z.MAX=2;function z(e){if(!(R<=e&&e<=P))throw"Only interface versions between "+R+" and "+P+" supported. You specified: "+e;function n(e){if(!e||!e.nodeType)return null;var t=v(e).children(".mq-root-block").attr(i),n=t&&I.byId[t].controller;return n?r[n.KIND_OF_MQ](n):null}var r={};function o(e,t){for(var n in t&&t.handlers&&(t.handlers={fns:t.handlers,APIClasses:r}),t)if(t.hasOwnProperty(n)){var i=t[n],o=j[n];e[n]=o?o(i):i}}n.L=g,n.R=m,n.saneKeyboardEvents=B,n.config=function(e){return o(S.p,e),this},n.registerEmbed=function(e,t){if(!/^[a-z][a-z0-9]*$/i.test(e))throw"Embed name must start with letter and be only letters and digits";D[e]=t};var a=r.AbstractMathQuill=h(k,(function(e){e.init=function(e){this.__controller=e,this.__options=e.options,this.id=e.id,this.data=e.data},e.__mathquillify=function(e){var t=this.__controller,n=t.root,r=t.container;t.createTextarea();var o=r.addClass(e).contents().detach();n.jQ=v('<span class="mq-root-block"/>').attr(i,n.id).appendTo(r),this.latex(o.text()),this.revert=function(){return r.empty().unbind(".mathquill").removeClass("mq-editable-field mq-math-mode mq-text-mode").append(o)}},e.config=function(e){return o(this.__options,e),this},e.el=function(){return this.__controller.container[0]},e.text=function(){return this.__controller.exportText()},e.latex=function(e){return arguments.length>0?(this.__controller.renderLatexMath(e),this.__controller.blurred&&this.__controller.cursor.hide().parent.blur(),this):this.__controller.exportLatex()},e.html=function(){return this.__controller.root.jQ.html().replace(/ mathquill-(?:command|block)-id="?\d+"?/g,"").replace(/<span class="?mq-cursor( mq-blink)?"?>.?<\/span>/i,"").replace(/ mq-hasCursor|mq-hasCursor ?/,"").replace(/ class=(""|(?= |>))/g,"")},e.reflow=function(){return this.__controller.root.postOrder("reflow"),this}}));for(var l in n.prototype=a.prototype,r.EditableField=h(a,(function(e,n){e.__mathquillify=function(){return n.__mathquillify.apply(this,arguments),this.__controller.editable=!0,this.__controller.delegateMouseEvents(),this.__controller.editablesTextareaEvents(),this},e.focus=function(){return this.__controller.textarea.focus(),this},e.blur=function(){return this.__controller.textarea.blur(),this},e.write=function(e){return this.__controller.writeLatex(e),this.__controller.scrollHoriz(),this.__controller.blurred&&this.__controller.cursor.hide().parent.blur(),this},e.empty=function(){var e=this.__controller.root,t=this.__controller.cursor;return e.eachChild("postOrder","dispose"),e.ends[g]=e.ends[m]=0,e.jQ.empty(),delete t.selection,t.insAtRightEnd(e),this},e.cmd=function(e){var t=this.__controller.notify(),n=t.cursor;if(/^\\[a-z]+$/i.test(e)&&!n.isTooDeep()){e=e.slice(1);var r=w[e]||Ge[e];r&&(e=r(e),n.selection&&e.replaces(n.replaceSelection()),e.createLeftOf(n.show()),this.__controller.scrollHoriz())}else n.parent.write(n,e);return t.blurred&&n.hide().parent.blur(),this},e.select=function(){var e=this.__controller;for(e.notify("move").cursor.insAtRightEnd(e.root);e.cursor[g];)e.selectLeft();return this},e.clearSelection=function(){return this.__controller.cursor.clearSelection(),this},e.moveToDirEnd=function(e){return this.__controller.notify("move").cursor.insAtDirEnd(e,this.__controller.root),this},e.moveToLeftEnd=function(){return this.moveToDirEnd(g)},e.moveToRightEnd=function(){return this.moveToDirEnd(m)},e.keystroke=function(e){e=e.replace(/^\s+|\s+$/g,"").split(/\s+/);for(var t=0;t<e.length;t+=1)this.__controller.keystroke(e[t],{preventDefault:s});return this},e.typedText=function(e){for(var t=0;t<e.length;t+=1)this.__controller.typedText(e.charAt(t));return this},e.dropEmbedded=function(e,t,n){var r=e-v(window).scrollLeft(),i=t-v(window).scrollTop(),o=document.elementFromPoint(r,i);this.__controller.seek(v(o),e,t),Ze().setOptions(n).createLeftOf(this.__controller.cursor)},e.clickAt=function(e,n,r){r=r||document.elementFromPoint(e,n);var i=this.__controller,o=i.root;return t.contains(o.jQ[0],r)||(r=o.jQ[0]),i.seek(v(r),e+pageXOffset,n+pageYOffset),i.blurred&&this.focus(),this},e.ignoreNextMousedown=function(e){return this.__controller.cursor.options.ignoreNextMousedown=e,this}})),n.EditableField=function(){throw"wtf don't call me, I'm 'abstract'"},n.EditableField.prototype=r.EditableField.prototype,E)!function(t,i){var o=r[t]=i(r);n[t]=function(r,i){var a=n(r);if(a instanceof o||!r||!r.nodeType)return a;var s=N(o.RootBlock(),v(r),S());return s.KIND_OF_MQ=t,o(s).__mathquillify(i,e)},n[t].prototype=o.prototype}(l,E[l]);return n}O.noConflict=function(){return window.MathQuill=U,O};var U=window.MathQuill;function _(e){for(var t="moveOutOf deleteOutOf selectOutOf upOutOf downOutOf".split(" "),n=0;n<t.length;n+=1)!function(t){e[t]=function(e){this.controller.handle(t,e)}}(t[n]);e.reflow=function(){this.controller.handle("reflow"),this.controller.handle("edited"),this.controller.handle("edit")}}window.MathQuill=O;var Z,G=h((function(e,t,n){function r(e,t){throw"Parse Error: "+t+" at "+(e?"'"+e+"'":"EOF")}e.init=function(e){this._=e},e.parse=function(e){return this.skip(a)._(""+e,(function(e,t){return t}),r)},e.or=function(e){p("or is passed a parser",e instanceof n);var t=this;return n((function(n,r,i){return t._(n,r,(function(t){return e._(n,r,i)}))}))},e.then=function(e){var t=this;return n((function(r,i,o){return t._(r,(function(t,r){var a=e instanceof n?e:e(r);return p("a parser is returned",a instanceof n),a._(t,i,o)}),o)}))},e.many=function(){var e=this;return n((function(t,n,r){for(var i=[];e._(t,o,a););return n(t,i);function o(e,n){return t=e,i.push(n),!0}function a(){return!1}}))},e.times=function(e,t){arguments.length<2&&(t=e);var r=this;return n((function(n,i,o){for(var a,s=[],l=!0,c=0;c<e;c+=1)if(!(l=r._(n,u,d)))return o(n,a);for(;c<t&&l;c+=1)l=r._(n,u,f);return i(n,s);function u(e,t){return s.push(t),n=e,!0}function d(e,t){return a=t,n=e,!1}function f(e,t){return!1}}))},e.result=function(e){return this.then(o(e))},e.atMost=function(e){return this.times(0,e)},e.atLeast=function(e){var t=this;return t.times(e).then((function(e){return t.many().map((function(t){return e.concat(t)}))}))},e.map=function(e){return this.then((function(t){return o(e(t))}))},e.skip=function(e){return this.then((function(t){return e.result(t)}))},this.string=function(e){var t=e.length,r="expected '"+e+"'";return n((function(n,i,o){var a=n.slice(0,t);return a===e?i(n.slice(t),a):o(n,r)}))};var i=this.regex=function(e){p("regexp parser is anchored","^"===e.toString().charAt(1));var t="expected "+e;return n((function(n,r,i){var o=e.exec(n);if(o){var a=o[0];return r(n.slice(a.length),a)}return i(n,t)}))},o=n.succeed=function(e){return n((function(t,n){return n(t,e)}))},a=(n.fail=function(e){return n((function(t,n,r){return r(t,e)}))},n.letter=i(/^[a-z]/i),n.letters=i(/^[a-z]*/i),n.digit=i(/^[0-9]/),n.digits=i(/^[0-9]*/),n.whitespace=i(/^\s+/),n.optWhitespace=i(/^\s*/),n.any=n((function(e,t,n){return e?t(e.slice(1),e.charAt(0)):n(e,"expected any character")})),n.all=n((function(e,t,n){return t("",e)})),n.eof=n((function(e,t,n){return e?n(e,"expected EOF"):t(e,e)})))})),B=(Z={8:"Backspace",9:"Tab",10:"Enter",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Esc",32:"Spacebar",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",45:"Insert",46:"Del",144:"NumLock"},function(e,n){var r,i=null,o=null,a=t(e),l=t(n.container||a),c=s;function u(e){c=e,clearTimeout(r),r=setTimeout(e)}function d(e){u((function(t){c=s,clearTimeout(r),e(t)}))}l.bind("keydown keypress input keyup focusout paste",(function(e){c(e)}));var f=!1;function p(){n.keystroke(function(e){var t,n=e.which||e.keyCode,r=Z[n],i=[];return e.ctrlKey&&i.push("Ctrl"),e.originalEvent&&e.originalEvent.metaKey&&i.push("Meta"),e.altKey&&i.push("Alt"),e.shiftKey&&i.push("Shift"),t=r||String.fromCharCode(n),i.length||r?(i.push(t),i.join("-")):t}(i),i)}function h(){if(!("selectionStart"in(e=a[0]))||e.selectionStart===e.selectionEnd){var e,t=a.val();1===t.length?(a.val(""),n.typedText(t)):t&&a[0].select&&a[0].select()}}function g(){var e=a.val();a.val(""),e&&n.paste(e)}return l.bind({keydown:function(e){e.target===a[0]&&(i=e,o=null,f&&d((function(e){e&&"focusout"===e.type||!a[0].select||a[0].select()})),p())},keypress:function(e){e.target===a[0]&&(i&&o&&p(),o=e,u(h))},keyup:function(e){e.target===a[0]&&i&&!o&&u(h)},focusout:function(){i=o=null},cut:function(){d((function(){n.cut()}))},copy:function(){d((function(){n.copy()}))},paste:function(e){e.target===a[0]&&(document.activeElement!==a[0]&&a.focus(),u(g))}}),{select:function(e){c(),c=s,clearTimeout(r),a.val(e),e&&a[0].select&&a[0].select(),f=!!e}}});N.open((function(e,t){e.exportText=function(){return this.root.foldChildren("",(function(e,t){return e+t.text()}))}})),N.open((function(e){e.focusBlurEvents=function(){var e,t=this,n=t.root,r=t.cursor;function i(){clearTimeout(e),r.selection&&r.selection.jQ.addClass("mq-blur"),o()}function o(){r.hide().parent.blur(),t.container.removeClass("mq-focused"),v(window).unbind("blur",i)}t.textarea.focus((function(){t.blurred=!1,clearTimeout(e),t.container.addClass("mq-focused"),r.parent||r.insAtRightEnd(n),r.selection?(r.selection.jQ.removeClass("mq-blur"),t.selectionChanged()):r.show()})).blur((function(){t.blurred=!0,e=setTimeout((function(){n.postOrder("intentionalBlur"),r.clearSelection().endSelection(),o()})),v(window).bind("blur",i)})),t.blurred=!0,r.hide().parent.blur()},e.unbindFocusBlurEvents=function(){this.textarea.unbind("focus blur")}})),N.open((function(e){e.keystroke=function(e,t){this.cursor.parent.keystroke(e,t,this)}})),I.open((function(e){e.keystroke=function(e,t,n){var r=n.cursor;switch(e){case"Ctrl-Shift-Backspace":case"Ctrl-Backspace":n.ctrlDeleteDir(g);break;case"Shift-Backspace":case"Backspace":n.backspace();break;case"Esc":case"Tab":return void n.escapeDir(m,e,t);case"Shift-Tab":case"Shift-Esc":return void n.escapeDir(g,e,t);case"End":n.notify("move").cursor.insAtRightEnd(r.parent);break;case"Ctrl-End":n.notify("move").cursor.insAtRightEnd(n.root);break;case"Shift-End":for(;r[m];)n.selectRight();break;case"Ctrl-Shift-End":for(;r[m]||r.parent!==n.root;)n.selectRight();break;case"Home":n.notify("move").cursor.insAtLeftEnd(r.parent);break;case"Ctrl-Home":n.notify("move").cursor.insAtLeftEnd(n.root);break;case"Shift-Home":for(;r[g];)n.selectLeft();break;case"Ctrl-Shift-Home":for(;r[g]||r.parent!==n.root;)n.selectLeft();break;case"Left":n.moveLeft();break;case"Shift-Left":n.selectLeft();break;case"Ctrl-Left":break;case"Right":n.moveRight();break;case"Shift-Right":n.selectRight();break;case"Ctrl-Right":break;case"Up":n.moveUp();break;case"Down":n.moveDown();break;case"Shift-Up":if(r[g])for(;r[g];)n.selectLeft();else n.selectLeft();case"Shift-Down":if(r[m])for(;r[m];)n.selectRight();else n.selectRight();case"Ctrl-Up":case"Ctrl-Down":break;case"Ctrl-Shift-Del":case"Ctrl-Del":n.ctrlDeleteDir(m);break;case"Shift-Del":case"Del":n.deleteForward();break;case"Meta-A":case"Ctrl-A":for(n.notify("move").cursor.insAtRightEnd(n.root);r[g];)n.selectLeft();break;default:return}t.preventDefault(),n.scrollHoriz()},e.moveOutOf=e.moveTowards=e.deleteOutOf=e.deleteTowards=e.unselectInto=e.selectOutOf=e.selectTowards=function(){p("overridden or never called on this node")}})),N.open((function(e){function t(e,t){var n=e.notify("upDown").cursor,r=t+"Into",i=t+"OutOf";return n[m][r]?n.insAtLeftEnd(n[m][r]):n[g][r]?n.insAtRightEnd(n[g][r]):n.parent.bubble((function(e){var t=e[i];if(t&&("function"==typeof t&&(t=e[i](n)),t instanceof I&&n.jumpUpDown(e,t),!0!==t))return!1})),e}this.onNotify((function(e){"move"!==e&&"upDown"!==e||this.show().clearSelection()})),e.escapeDir=function(e,t,n){y(e);var r=this.cursor;if(r.parent!==this.root&&n.preventDefault(),r.parent!==this.root)return r.parent.moveOutOf(e,r),this.notify("move")},j.leftRightIntoCmdGoes=function(e){if(e&&"up"!==e&&"down"!==e)throw'"up" or "down" required for leftRightIntoCmdGoes option, got "'+e+'"';return e},e.moveDir=function(e){y(e);var t=this.cursor,n=t.options.leftRightIntoCmdGoes;return t.selection?t.insDirOf(e,t.selection.ends[e]):t[e]?t[e].moveTowards(e,t,n):t.parent.moveOutOf(e,t,n),this.notify("move")},e.moveLeft=function(){return this.moveDir(g)},e.moveRight=function(){return this.moveDir(m)},e.moveUp=function(){return t(this,"up")},e.moveDown=function(){return t(this,"down")},this.onNotify((function(e){"upDown"!==e&&(this.upDownCache={})})),this.onNotify((function(e){"edit"===e&&this.show().deleteSelection()})),e.deleteDir=function(e){y(e);var t=this.cursor,n=t.selection;return this.notify("edit"),n||(t[e]?t[e].deleteTowards(e,t):t.parent.deleteOutOf(e,t)),t[g].siblingDeleted&&t[g].siblingDeleted(t.options,m),t[m].siblingDeleted&&t[m].siblingDeleted(t.options,g),t.parent.bubble("reflow"),this},e.ctrlDeleteDir=function(e){y(e);var t=this.cursor;return!t[e]||t.selection?this.deleteDir(e):(this.notify("edit"),e===g?M(t.parent.ends[g],t[g]).remove():M(t[m],t.parent.ends[m]).remove(),t.insAtDirEnd(e,t.parent),t[g].siblingDeleted&&t[g].siblingDeleted(t.options,m),t[m].siblingDeleted&&t[m].siblingDeleted(t.options,g),t.parent.bubble("reflow"),this)},e.backspace=function(){return this.deleteDir(g)},e.deleteForward=function(){return this.deleteDir(m)},this.onNotify((function(e){"select"!==e&&this.endSelection()})),e.selectDir=function(e){var t=this.notify("select").cursor,n=t.selection;y(e),t.anticursor||t.startSelection();var r=t[e];r?n&&n.ends[e]===r&&t.anticursor[-e]!==r?r.unselectInto(e,t):r.selectTowards(e,t):t.parent.selectOutOf(e,t),t.clearSelection(),t.select()||t.show()},e.selectLeft=function(){return this.selectDir(g)},e.selectRight=function(){return this.selectDir(m)}}));var F=function(){function e(e){for(var t=e[0]||Q(),n=1;n<e.length;n+=1)e[n].children().adopt(t,t.ends[m],0);return t}var t=G.string,n=G.regex,r=G.letter,i=G.any,o=G.optWhitespace,a=G.succeed,s=G.fail,l=r.map((function(e){return ie(e)})),c=n(/^[^${}\\_^]/).map((function(e){return V(e)})),u=n(/^[^\\a-eg-zA-Z]/).or(t("\\").then(n(/^[a-z]+/i).or(n(/^\s+/).result(" ")).or(i))).then((function(e){var t=w[e];return t?t(e).parser():s("unknown command: \\"+e)})).or(l).or(c),d=t("{").then((function(){return p})).skip(t("}")),f=o.then(d.or(u.map((function(e){var t=Q();return e.adopt(t,0,0),t})))),p=f.many().map(e).skip(o),h=t("[").then(f.then((function(e){return"]"!==e.join("latex")?a(e):s()})).many().map(e).skip(o)).skip(t("]")),g=p;return g.block=f,g.optBlock=h,g}();N.open((function(e,t){e.exportLatex=function(){return this.root.latex().replace(/(\\[a-z]+) (?![a-z])/gi,"$1")},j.maxDepth=function(e){return"number"==typeof e?e:void 0},e.writeLatex=function(e){var t=this.notify("edit").cursor;return t.parent.writeLatex(t,e),this},e.renderLatexMath=function(e){var t=this.root,n=this.cursor,r=(n.options,t.jQ),i=G.all,o=G.eof,a=F.skip(o).or(i.result(!1)).parse(e);if(t.eachChild("postOrder","dispose"),t.ends[g]=t.ends[m]=0,a&&a.prepareInsertionAt(n)){a.children().adopt(t,0,0);var s=a.join("html");r.html(s),t.jQize(r.children()),t.finalizeInsert(n.options)}else r.empty();delete n.selection,n.insAtRightEnd(t)},e.renderLatexText=function(e){var t=this.root,n=this.cursor;t.jQ.children().slice(1).remove(),t.eachChild("postOrder","dispose"),t.ends[g]=t.ends[m]=0,delete n.selection,n.show().insAtRightEnd(t);var r=G.regex,i=G.string,o=G.eof,a=G.all,s=i("$").then(F).skip(i("$").or(o)).map((function(e){var t=ee(n);t.createBlocks();var r=t.ends[g];return e.children().adopt(r,0,0),t})),l=i("\\$").result("$").or(r(/^[^$]/)).map(V),c=s.or(l).many().skip(o).or(a.result(!1)).parse(e);if(c){for(var u=0;u<c.length;u+=1)c[u].adopt(t,t.ends[m],0);t.jQize().appendTo(t.jQ),t.finalizeInsert(n.options)}}})),N.open((function(e){S.p.ignoreNextMousedown=s,e.delegateMouseEvents=function(){var e=this.root.jQ;this.container.bind("mousedown.mathquill",(function(t){var n,r=v(t.target).closest(".mq-root-block"),o=I.byId[r.attr(i)||e.attr(i)].controller,a=o.cursor,l=a.blink,c=o.textareaSpan,u=o.textarea;function d(e){n=v(e.target)}function f(e){a.anticursor||a.startSelection(),o.seek(n,e.pageX,e.pageY).cursor.select(),n=void 0}t.preventDefault(),t.target.unselectable=!0,a.options.ignoreNextMousedown(t)||(a.options.ignoreNextMousedown=s,o.blurred&&(o.editable||r.prepend(c),u.focus()),a.blink=s,o.seek(v(t.target),t.pageX,t.pageY).cursor.startSelection(),r.mousemove(d),v(t.target.ownerDocument).mousemove(f).mouseup((function e(t){a.blink=l,a.selection||(o.editable?a.show():c.detach()),r.unbind("mousemove",d),v(t.target.ownerDocument).unbind("mousemove",f).unbind("mouseup",e)})))}))}})),N.open((function(e){e.seek=function(e,t,n){var o=this.notify("select").cursor;if(e){var a=e.attr(i)||e.attr(r);if(!a){var s=e.parent();a=s.attr(i)||s.attr(r)}}var l=a?I.byId[a]:this.root;return p("nodeId is the id of some Node that exists",l),o.clearSelection().show(),l.seek(t,o),this.scrollHoriz(),this}})),N.open((function(e){e.scrollHoriz=function(){var e=this.cursor,t=e.selection,n=e.offset();if(n){var r=e.jQ.closest(".mq-editable-field"),i=Number(n.top-r.offset().top+2*e.jQ.height());r.find(".mq-textarea textarea").css("top",i+"px")}var o=this.root.jQ[0].getBoundingClientRect();if(t){var a=t.jQ[0].getBoundingClientRect(),s=a.left-(o.left+20),l=a.right-(o.right-20);if(t.ends[g]===e[m])if(s<0)u=s;else{if(!(l>0))return;u=a.left-l<o.left+20?s:l}else if(l>0)u=l;else{if(!(s<0))return;u=a.right-s>o.right-20?l:s}}else{var c=e.jQ[0].getBoundingClientRect().left;if(c>o.right-20)var u=c-(o.right-20);else{if(!(c<o.left+20))return;u=c-(o.left+20)}}this.root.jQ.stop().animate({scrollLeft:"+="+u},100)}})),N.open((function(e){S.p.substituteTextarea=function(){return v("<textarea autocapitalize=off autocomplete=off autocorrect=off spellcheck=false x-palm-disable-ste-all=true />")[0]},e.createTextarea=function(){var e=this.textareaSpan=v('<span class="mq-textarea"></span>'),t=this.options.substituteTextarea();if(!t.nodeType)throw"substituteTextarea() must return a DOM element, got "+t;t=this.textarea=v(t).appendTo(e);var n=this;n.cursor.selectionChanged=function(){n.selectionChanged()}},e.selectionChanged=function(){var e=this;be(e.container[0]),void 0===e.textareaSelectionTimeout&&(e.textareaSelectionTimeout=setTimeout((function(){e.setTextareaSelection()})))},e.setTextareaSelection=function(){this.textareaSelectionTimeout=void 0;var e="";this.cursor.selection&&(e=this.cursor.selection.join("latex"),this.options.statelessClipboard&&(e="$"+e+"$")),this.selectFn(e)},e.staticMathTextareaEvents=function(){var e=this,n=(e.root,e.cursor),r=e.textarea,i=e.textareaSpan;function o(){i.detach(),e.blurred=!0}this.container.prepend(t('<span class="mq-selectable">').text("$"+e.exportLatex()+"$")),e.blurred=!0,r.bind("cut paste",!1).bind("copy",(function(){e.setTextareaSelection()})).focus((function(){e.blurred=!1})).blur((function(){n.selection&&n.selection.clear(),setTimeout(o)})),e.selectFn=function(e){r.val(e),e&&r.select()}},S.p.substituteKeyboardEvents=B,e.editablesTextareaEvents=function(){var e=this.textarea,t=this.textareaSpan,n=this.options.substituteKeyboardEvents(e,this);this.selectFn=function(e){n.select(e)},this.container.prepend(t),this.focusBlurEvents()},e.unbindEditablesEvents=function(){var e=this,t=e.textarea,n=e.textareaSpan;this.selectFn=function(e){t.val(e),e&&t.select()},n.remove(),this.unbindFocusBlurEvents(),e.blurred=!0,t.bind("cut paste",!1)},e.typedText=function(e){if("\n"===e)return this.handle("enter");var t=this.notify().cursor;t.parent.write(t,e),this.scrollHoriz()},e.cut=function(){var e=this,t=e.cursor;t.selection&&setTimeout((function(){e.notify("edit"),t.parent.bubble("reflow")}))},e.copy=function(){this.setTextareaSelection()},e.paste=function(e){this.options.statelessClipboard&&(e="$"===e.slice(0,1)&&"$"===e.slice(-1)?e.slice(1,-1):"\\text{"+e+"}"),this.writeLatex(e).cursor.show()}}));var Y=h(I,(function(e,t){e.finalizeInsert=function(e,t){var n=this;n.postOrder("finalizeTree",e),n.postOrder("contactWeld",t),n.postOrder("blur"),n.postOrder("reflow"),n[m].siblingCreated&&n[m].siblingCreated(e,g),n[g].siblingCreated&&n[g].siblingCreated(e,m),n.bubble("reflow")},e.prepareInsertionAt=function(e){var t=e.options.maxDepth;if(void 0!==t){var n=e.depth();if(n>t)return!1;this.removeNodesDeeperThan(t-n)}return!0},e.removeNodesDeeperThan=function(e){for(var t,n=0,r=[[this,n]];r.length;)(t=r.shift())[0].children().each((function(i){var o=i instanceof Q?1:0;(n=t[1]+o)<=e?r.push([i,n]):(o?i.children():i).remove()}))}})),W=h(Y,(function(e,t){e.init=function(e,n,r){var i=this;t.init.call(i),i.ctrlSeq||(i.ctrlSeq=e),n&&(i.htmlTemplate=n),r&&(i.textTemplate=r)},e.replaces=function(e){e.disown(),this.replacedFragment=e},e.isEmpty=function(){return this.foldChildren(!0,(function(e,t){return e&&t.isEmpty()}))},e.parser=function(){var e=F.block,t=this;return e.times(t.numBlocks()).map((function(e){t.blocks=e;for(var n=0;n<e.length;n+=1)e[n].adopt(t,t.ends[m],0);return t}))},e.createLeftOf=function(e){var n=this,r=n.replacedFragment;n.createBlocks(),t.createLeftOf.call(n,e),r&&(r.adopt(n.ends[g],0,0),r.jQ.appendTo(n.ends[g].jQ),n.placeCursor(e),n.prepareInsertionAt(e)),n.finalizeInsert(e.options),n.placeCursor(e)},e.createBlocks=function(){for(var e=this,t=e.numBlocks(),n=e.blocks=Array(t),r=0;r<t;r+=1)(n[r]=Q()).adopt(e,e.ends[m],0)},e.placeCursor=function(e){e.insAtRightEnd(this.foldChildren(this.ends[g],(function(e,t){return e.isEmpty()?e:t})))},e.moveTowards=function(e,t,n){var r=n&&this[n+"Into"];t.insAtDirEnd(-e,r||this.ends[-e])},e.deleteTowards=function(e,t){this.isEmpty()?t[e]=this.remove()[e]:this.moveTowards(e,t,null)},e.selectTowards=function(e,t){t[-e]=this,t[e]=this[e]},e.selectChildren=function(){return C(this,this)},e.unselectInto=function(e,t){t.insAtDirEnd(-e,t.anticursor.ancestors[this.id])},e.seek=function(e,t){function n(e){var t={};return t[g]=e.jQ.offset().left,t[m]=t[g]+e.jQ.outerWidth(),t}var r=this,i=n(r);if(e<i[g])return t.insLeftOf(r);if(e>i[m])return t.insRightOf(r);var o=i[g];r.eachChild((function(a){var s=n(a);return e<s[g]?(e-o<s[g]-e?a[g]?t.insAtRightEnd(a[g]):t.insLeftOf(r):t.insAtLeftEnd(a),!1):e>s[m]?void(a[m]?o=s[m]:i[m]-e<e-s[m]?t.insRightOf(r):t.insAtRightEnd(a)):(a.seek(e,t),!1)}))},e.numBlocks=function(){var e=this.htmlTemplate.match(/&\d+/g);return e?e.length:0},e.html=function(){var e=this,t=e.blocks,n=" mathquill-command-id="+e.id,r=e.htmlTemplate.match(/<[^<>]+>|[^<>]+/g);p("no unmatched angle brackets",r.join("")===this.htmlTemplate);for(var i=0,o=r[0];o;o=r[i+=1])if("/>"===o.slice(-2))r[i]=o.slice(0,-2)+n+"/>";else if("<"===o.charAt(0)){p("not an unmatched top-level close tag","/"!==o.charAt(1)),r[i]=o.slice(0,-1)+n+">";var a=1;do{p("no missing close tags",o=r[i+=1]),"</"===o.slice(0,2)?a-=1:"<"===o.charAt(0)&&"/>"!==o.slice(-2)&&(a+=1)}while(a>0)}return r.join("").replace(/>&(\d+)/g,(function(e,n){return" mathquill-block-id="+t[n].id+">"+t[n].join("html")}))},e.latex=function(){return this.foldChildren(this.ctrlSeq,(function(e,t){return e+"{"+(t.latex()||" ")+"}"}))},e.textTemplate=[""],e.text=function(){var e=this,t=0;return e.foldChildren(e.textTemplate[t],(function(n,r){t+=1;var i=r.text();return n&&"("===e.textTemplate[t]&&"("===i[0]&&")"===i.slice(-1)?n+i.slice(1,-1)+e.textTemplate[t]:n+i+(e.textTemplate[t]||"")}))}})),H=h(W,(function(e,t){e.init=function(e,n,r){r||(r=e&&e.length>1?e.slice(1):e),t.init.call(this,e,n,[r])},e.parser=function(){return G.succeed(this)},e.numBlocks=function(){return 0},e.replaces=function(e){e.remove()},e.createBlocks=s,e.moveTowards=function(e,t){t.jQ.insDirOf(e,this.jQ),t[-e]=this,t[e]=this[e]},e.deleteTowards=function(e,t){t[e]=this.remove()[e]},e.seek=function(e,t){e-this.jQ.offset().left<this.jQ.outerWidth()/2?t.insLeftOf(this):t.insRightOf(this)},e.latex=function(){return this.ctrlSeq},e.text=function(){return this.textTemplate},e.placeCursor=s,e.isEmpty=function(){return!0}})),V=h(H,(function(e,t){e.init=function(e,n){t.init.call(this,e,"<span>"+(n||e)+"</span>")}})),q=h(H,(function(e,t){e.init=function(e,n,r){t.init.call(this,e,'<span class="mq-binary-operator">'+n+"</span>",r)}})),Q=h(Y,(function(e,t){e.join=function(e){return this.foldChildren("",(function(t,n){return t+n[e]()}))},e.html=function(){return this.join("html")},e.latex=function(){return this.join("latex")},e.text=function(){return this.ends[g]===this.ends[m]&&0!==this.ends[g]?this.ends[g].text():this.join("text")},e.keystroke=function(e,n,r){return!r.options.spaceBehavesLikeTab||"Spacebar"!==e&&"Shift-Spacebar"!==e?t.keystroke.apply(this,arguments):(n.preventDefault(),void r.escapeDir("Shift-Spacebar"===e?g:m,e,n))},e.moveOutOf=function(e,t,n){n&&this.parent[n+"Into"]||!this[e]?t.insDirOf(e,this.parent):t.insAtDirEnd(-e,this[e])},e.selectOutOf=function(e,t){t.insDirOf(e,this.parent)},e.deleteOutOf=function(e,t){t.unwrapGramp()},e.seek=function(e,t){var n=this.ends[m];if(!n||n.jQ.offset().left+n.jQ.outerWidth()<e)return t.insAtRightEnd(this);if(e<this.ends[g].jQ.offset().left)return t.insAtLeftEnd(this);for(;e<n.jQ.offset().left;)n=n[g];return n.seek(e,t)},e.chToCmd=function(e,t){var n;return e.match(/^[a-eg-zA-Z]$/)?ie(e):/^\d$/.test(e)?ne(e):t&&t.typingSlashWritesDivisionSymbol&&"/"===e?w["÷"](e):t&&t.typingAsteriskWritesTimesSymbol&&"*"===e?w["×"](e):(n=T[e]||w[e])?n(e):V(e)},e.write=function(e,t){var n=this.chToCmd(t,e.options);e.selection&&n.replaces(e.replaceSelection()),e.isTooDeep()||n.createLeftOf(e.show())},e.writeLatex=function(e,t){var n=G.all,r=G.eof,i=F.skip(r).or(n.result(!1)).parse(t);i&&!i.isEmpty()&&i.prepareInsertionAt(e)&&(i.children().adopt(e.parent,e[g],e[m]),i.jQize().insertBefore(e.jQ),e[g]=i.ends[m],i.finalizeInsert(e.options,e),i.ends[m][m].siblingCreated&&i.ends[m][m].siblingCreated(e.options,g),i.ends[g][g].siblingCreated&&i.ends[g][g].siblingCreated(e.options,m),e.parent.bubble("reflow"))},e.focus=function(){return this.jQ.addClass("mq-hasCursor"),this.jQ.removeClass("mq-empty"),this},e.blur=function(){return this.jQ.removeClass("mq-hasCursor"),this.isEmpty()&&this.jQ.addClass("mq-empty"),this}}));S.p.mouseEvents=!0,E.StaticMath=function(e){return h(e.AbstractMathQuill,(function(t,n){this.RootBlock=Q,t.__mathquillify=function(e,t){return this.config(e),n.__mathquillify.call(this,"mq-math-mode"),this.__options.mouseEvents&&(this.__controller.delegateMouseEvents(),this.__controller.staticMathTextareaEvents()),this},t.init=function(){n.init.apply(this,arguments),this.__controller.root.postOrder("registerInnerField",this.innerFields=[],e.InnerMathField)},t.latex=function(){var t=n.latex.apply(this,arguments);return arguments.length>0&&this.__controller.root.postOrder("registerInnerField",this.innerFields=[],e.InnerMathField),t}}))};var J=h(Q,_);E.MathField=function(e){return h(e.EditableField,(function(e,t){this.RootBlock=J,e.__mathquillify=function(e,n){return this.config(e),n>1&&(this.__controller.root.reflow=s),t.__mathquillify.call(this,"mq-editable-field mq-math-mode"),delete this.__controller.root.reflow,this}}))},E.InnerMathField=function(e){return h(e.MathField,(function(e,t){e.makeStatic=function(){this.__controller.editable=!1,this.__controller.root.blur(),this.__controller.unbindEditablesEvents(),this.__controller.container.removeClass("mq-editable-field")},e.makeEditable=function(){this.__controller.editable=!0,this.__controller.editablesTextareaEvents(),this.__controller.cursor.insAtRightEnd(this.__controller.root),this.__controller.container.addClass("mq-editable-field")}}))};var X=h(I,(function(e,t){function n(e){e.jQ[0].normalize();var t=e.jQ[0].firstChild;if(t){p("only node in TextBlock span is Text node",3===t.nodeType);var n=K(t.data);return n.jQadd(t),e.children().disown(),n.adopt(e,0,0)}}e.ctrlSeq="\\text",e.replaces=function(e){e instanceof M?this.replacedText=e.remove().jQ.text():"string"==typeof e&&(this.replacedText=e)},e.jQadd=function(e){t.jQadd.call(this,e),this.ends[g]&&this.ends[g].jQadd(this.jQ[0].firstChild)},e.createLeftOf=function(e){var n=this;if(t.createLeftOf.call(this,e),e.insAtRightEnd(n),n.replacedText)for(var r=0;r<n.replacedText.length;r+=1)n.write(e,n.replacedText.charAt(r));n[m].siblingCreated&&n[m].siblingCreated(e.options,g),n[g].siblingCreated&&n[g].siblingCreated(e.options,m),n.bubble("reflow")},e.parser=function(){var e=this,t=G.string,n=G.regex;return G.optWhitespace.then(t("{")).then(n(/^[^}]*/)).skip(t("}")).map((function(t){return 0===t.length?M():(K(t).adopt(e,0,0),e)}))},e.textContents=function(){return this.foldChildren("",(function(e,t){return e+t.text}))},e.text=function(){return'"'+this.textContents()+'"'},e.latex=function(){var e=this.textContents();return 0===e.length?"":"\\text{"+e.replace(/\\/g,"\\backslash ").replace(/[{}]/g,"\\$&")+"}"},e.html=function(){return'<span class="mq-text-mode" mathquill-command-id='+this.id+">"+this.textContents()+"</span>"},e.moveTowards=function(e,t){t.insAtDirEnd(-e,this)},e.moveOutOf=function(e,t){t.insDirOf(e,this)},e.unselectInto=e.moveTowards,e.selectTowards=W.prototype.selectTowards,e.deleteTowards=W.prototype.deleteTowards,e.selectOutOf=function(e,t){t.insDirOf(e,this)},e.deleteOutOf=function(e,t){this.isEmpty()&&t.insRightOf(this)},e.write=function(e,n){if(e.show().deleteSelection(),"$"!==n)e[g]?e[g].appendText(n):K(n).createLeftOf(e);else if(this.isEmpty())e.insRightOf(this),V("\\$","$").createLeftOf(e);else if(e[m])if(e[g]){var r=X(),i=this.ends[g];i.disown().jQ.detach(),i.adopt(r,0,0),e.insLeftOf(this),t.createLeftOf.call(r,e)}else e.insLeftOf(this);else e.insRightOf(this);this.bubble("reflow")},e.writeLatex=function(e,t){e[g]?e[g].appendText(t):K(t).createLeftOf(e),this.bubble("reflow")},e.seek=function(e,t){t.hide();var r=n(this),i=this.jQ.width()/this.text.length,o=Math.round((e-this.jQ.offset().left)/i);o<=0?t.insAtLeftEnd(this):o>=r.text.length?t.insAtRightEnd(this):t.insLeftOf(r.splitRight(o));for(var a=e-t.show().offset().left,s=a&&a<0?g:m,l=s;t[s]&&a*l>0;)t[s].moveTowards(s,t),l=a,a=e-t.offset().left;if(s*a<-s*l&&t[-s].moveTowards(-s,t),t.anticursor){if(t.anticursor.parent===this){var c=t[g]&&t[g].text.length;if(this.anticursorPosition===c)t.anticursor=b.copy(t);else{if(this.anticursorPosition<c){var u=t[g].splitRight(this.anticursorPosition);t[g]=u}else u=t[m].splitRight(this.anticursorPosition-c);t.anticursor=b(this,u[g],u)}}}else this.anticursorPosition=t[g]&&t[g].text.length},e.blur=function(e){Q.prototype.blur.call(this),e&&(""===this.textContents()?(this.remove(),e[g]===this?e[g]=this[g]:e[m]===this&&(e[m]=this[m])):n(this))},e.focus=Q.prototype.focus})),K=h(I,(function(e,t){function n(e,t){return t.charAt(e===g?0:-1+t.length)}e.init=function(e){t.init.call(this),this.text=e},e.jQadd=function(e){this.dom=e,this.jQ=v(e)},e.jQize=function(){return this.jQadd(document.createTextNode(this.text))},e.appendText=function(e){this.text+=e,this.dom.appendData(e)},e.prependText=function(e){this.text=e+this.text,this.dom.insertData(0,e)},e.insTextAtDirEnd=function(e,t){y(t),t===m?this.appendText(e):this.prependText(e)},e.splitRight=function(e){var t=K(this.text.slice(e)).adopt(this.parent,this,this[m]);return t.jQadd(this.dom.splitText(e)),this.text=this.text.slice(0,e),t},e.moveTowards=function(e,t){y(e);var r=n(-e,this.text),i=this[-e];return i?i.insTextAtDirEnd(r,e):K(r).createDir(-e,t),this.deleteTowards(e,t)},e.latex=function(){return this.text},e.deleteTowards=function(e,t){this.text.length>1?e===m?(this.dom.deleteData(0,1),this.text=this.text.slice(1)):(this.dom.deleteData(-1+this.text.length,1),this.text=this.text.slice(0,-1)):(this.remove(),this.jQ.remove(),t[e]=this[e])},e.selectTowards=function(e,t){y(e);var r=t.anticursor,i=n(-e,this.text);if(r[e]===this){var o=K(i).createDir(e,t);r[e]=o,t.insDirOf(e,o)}else{var a=this[-e];a?a.insTextAtDirEnd(i,e):(o=K(i).createDir(-e,t)).jQ.insDirOf(-e,t.selection.jQ),1===this.text.length&&r[-e]===this&&(r[-e]=this[-e])}return this.deleteTowards(e,t)}}));function $(e,t,n){return h(X,{ctrlSeq:e,htmlTemplate:"<"+t+" "+n+">&0</"+t+">"})}w.text=w.textnormal=w.textrm=w.textup=w.textmd=X,w.em=w.italic=w.italics=w.emph=w.textit=w.textsl=$("\\textit","i",'class="mq-text-mode"'),w.strong=w.bold=w.textbf=$("\\textbf","b",'class="mq-text-mode"'),w.sf=w.textsf=$("\\textsf","span",'class="mq-sans-serif mq-text-mode"'),w.tt=w.texttt=$("\\texttt","span",'class="mq-monospace mq-text-mode"'),w.textsc=$("\\textsc","span",'style="font-variant:small-caps" class="mq-text-mode"'),w.uppercase=$("\\uppercase","span",'style="text-transform:uppercase" class="mq-text-mode"'),w.lowercase=$("\\lowercase","span",'style="text-transform:lowercase" class="mq-text-mode"');var ee=h(W,(function(e,t){e.init=function(e){t.init.call(this,"$"),this.cursor=e},e.htmlTemplate='<span class="mq-math-mode">&0</span>',e.createBlocks=function(){t.createBlocks.call(this),this.ends[g].cursor=this.cursor,this.ends[g].write=function(e,t){"$"!==t?Q.prototype.write.call(this,e,t):this.isEmpty()?(e.insRightOf(this.parent),this.parent.deleteTowards(dir,e),V("\\$","$").createLeftOf(e.show())):e[m]?e[g]?Q.prototype.write.call(this,e,t):e.insLeftOf(this.parent):e.insRightOf(this.parent)}},e.latex=function(){return"$"+this.ends[g].latex()+"$"}})),te=h(J,(function(e,t){e.keystroke=function(e){if("Spacebar"!==e&&"Shift-Spacebar"!==e)return t.keystroke.apply(this,arguments)},e.write=function(e,t){var n;e.show().deleteSelection(),"$"===t?ee(e).createLeftOf(e):("<"===t?n="<":">"===t&&(n=">"),V(t,n).createLeftOf(e))}}));E.TextField=function(e){return h(e.EditableField,(function(e,t){this.RootBlock=te,e.__mathquillify=function(){return t.__mathquillify.call(this,"mq-editable-field mq-text-mode")},e.latex=function(e){return arguments.length>0?(this.__controller.renderLatexText(e),this.__controller.blurred&&this.__controller.cursor.hide().parent.blur(),this):this.__controller.exportLatex()}}))};var ne=h(V,(function(e,t){e.createLeftOf=function(e){e.options.autoSubscriptNumerals&&e.parent!==e.parent.parent.sub&&(e[g]instanceof re&&!1!==e[g].isItalic||e[g]instanceof Ne&&e[g][g]instanceof re&&!1!==e[g][g].isItalic)?(w._().createLeftOf(e),t.createLeftOf.call(this,e),e.insRightOf(e.parent.parent)):t.createLeftOf.call(this,e)}})),re=h(H,(function(e,t){e.init=function(e,n){t.init.call(this,e,"<var>"+(n||e)+"</var>")},e.text=function(){var e=this.ctrlSeq;return this.isPartOfOperator?"\\"==e[0]?e=e.slice(1,e.length):" "==e[e.length-1]&&(e=e.slice(0,-1)):(!this[g]||this[g]instanceof re||this[g]instanceof q||"\\ "===this[g].ctrlSeq||(e="*"+e),!this[m]||this[m]instanceof q||this[m]instanceof Ne||(e+="*")),e}}));S.p.autoCommands={_maxLength:0},j.autoCommands=function(e){if(!/^[a-z]+(?: [a-z]+)*$/i.test(e))throw'"'+e+'" not a space-delimited list of only letters';for(var t=e.split(" "),n={},r=0,i=0;i<t.length;i+=1){var o=t[i];if(o.length<2)throw'autocommand "'+o+'" not minimum length of 2';if(w[o]===le)throw'"'+o+'" is a built-in operator name';n[o]=1,r=a(r,o.length)}return n._maxLength=r,n};var ie=h(re,(function(e,t){function n(e){return!e||e instanceof q||e instanceof Se}e.init=function(e){return t.init.call(this,this.letter=e)},e.createLeftOf=function(e){t.createLeftOf.apply(this,arguments);var n=e.options.autoCommands,r=n._maxLength;if(r>0){for(var i="",o=this,a=0;o instanceof ie&&o.ctrlSeq===o.letter&&a<r;)i=o.letter+i,o=o[g],a+=1;for(;i.length;){if(n.hasOwnProperty(i)){for(a=1,o=this;a<i.length;a+=1,o=o[g]);return M(o,this).remove(),e[g]=o[g],w[i](i).createLeftOf(e)}i=i.slice(1)}}},e.italicize=function(e){return this.isItalic=e,this.isPartOfOperator=!e,this.jQ.toggleClass("mq-operator-name",!e),this},e.finalizeTree=e.siblingDeleted=e.siblingCreated=function(e,t){t!==g&&this[m]instanceof ie||this.autoUnItalicize(e)},e.autoUnItalicize=function(e){var t=e.autoOperatorNames;if(0!==t._maxLength){for(var r=this.letter,i=this[g];i instanceof ie;i=i[g])r=i.letter+r;for(var a=this[m];a instanceof ie;a=a[m])r+=a.letter;M(i[m]||this.parent.ends[g],a[g]||this.parent.ends[m]).each((function(e){e.italicize(!0).jQ.removeClass("mq-first mq-last mq-followed-by-supsub"),e.ctrlSeq=e.letter}));e:for(var s=0,l=i[m]||this.parent.ends[g];s<r.length;s+=1,l=l[m])for(var c=o(t._maxLength,r.length-s);c>0;c-=1){var u=r.slice(s,s+c);if(t.hasOwnProperty(u)){for(var d=0,f=l;d<c;d+=1,f=f[m]){f.italicize(!1);var p=f}var h=oe.hasOwnProperty(u);if(l.ctrlSeq=(h?"\\":"\\operatorname{")+l.ctrlSeq,p.ctrlSeq+=h?" ":"}",se.hasOwnProperty(u)&&p[g][g][g].jQ.addClass("mq-last"),n(l[g])||l.jQ.addClass("mq-first"),!n(p[m]))if(p[m]instanceof Ne){var y=p[m];(y.siblingCreated=y.siblingDeleted=function(){y.jQ.toggleClass("mq-after-operator-name",!(y[m]instanceof Pe))})()}else p.jQ.toggleClass("mq-last",!(p[m]instanceof Pe));s+=c-1,l=p;continue e}}}}})),oe={},ae=S.p.autoOperatorNames={_maxLength:9},se={limsup:1,liminf:1,projlim:1,injlim:1};!function(){for(var e="arg deg det dim exp gcd hom inf ker lg lim ln log max min sup limsup liminf injlim projlim Pr".split(" "),t=0;t<e.length;t+=1)oe[e[t]]=ae[e[t]]=1;var n="sin cos tan arcsin arccos arctan sinh cosh tanh sec csc cot coth".split(" ");for(t=0;t<n.length;t+=1)oe[n[t]]=1;var r="sin cos tan sec cosec csc cotan cot ctg".split(" ");for(t=0;t<r.length;t+=1)ae[r[t]]=ae["arc"+r[t]]=ae[r[t]+"h"]=ae["ar"+r[t]+"h"]=ae["arc"+r[t]+"h"]=1;var i="gcf hcf lcm proj span".split(" ");for(t=0;t<i.length;t+=1)ae[i[t]]=1}(),j.autoOperatorNames=function(e){if(!/^[a-z]+(?: [a-z]+)*$/i.test(e))throw'"'+e+'" not a space-delimited list of only letters';for(var t=e.split(" "),n={},r=0,i=0;i<t.length;i+=1){var o=t[i];if(o.length<2)throw'"'+o+'" not minimum length of 2';n[o]=1,r=a(r,o.length)}return n._maxLength=r,n};var le=h(H,(function(e,t){e.init=function(e){this.ctrlSeq=e},e.createLeftOf=function(e){for(var t=this.ctrlSeq,n=0;n<t.length;n+=1)ie(t.charAt(n)).createLeftOf(e)},e.parser=function(){for(var e=this.ctrlSeq,t=Q(),n=0;n<e.length;n+=1)ie(e.charAt(n)).adopt(t,t.ends[m],0);return G.succeed(t.children())}}));for(var ce in ae)ae.hasOwnProperty(ce)&&(w[ce]=le);w.operatorname=h(W,(function(e){e.createLeftOf=s,e.numBlocks=function(){return 1},e.parser=function(){return F.block.map((function(e){return e.children()}))}})),w.f=h(ie,(function(e,t){e.init=function(){H.p.init.call(this,this.letter="f",'<var class="mq-f">f</var>')},e.italicize=function(e){return this.jQ.html("f").toggleClass("mq-f",e),t.italicize.apply(this,arguments)}})),w[" "]=w.space=f(V,"\\ "," "),w[","]=f(V,"{,}",","),w["'"]=w.prime=f(V,"'","′"),w["″"]=w.dprime=f(V,"″","″"),w.backslash=f(V,"\\backslash ","\\"),T["\\"]||(T["\\"]=w.backslash),w.$=f(V,"\\$","$");var ue=h(H,(function(e,t){e.init=function(e,n){t.init.call(this,e,'<span class="mq-nonSymbola">'+(n||e)+"</span>")}}));w["@"]=ue,w["#"]=f(ue,"\\#","#"),w["&"]=f(ue,"\\&","&"),w["%"]=f(ue,"\\%","%"),w.alpha=w.beta=w.gamma=w.delta=w.zeta=w.eta=w.theta=w.iota=w.kappa=w.mu=w.nu=w.xi=w.rho=w.sigma=w.tau=w.chi=w.psi=w.omega=h(re,(function(e,t){e.init=function(e){t.init.call(this,"\\"+e+" ","&"+e+";")}})),w.phi=f(re,"\\phi ","ϕ"),w.phiv=w.varphi=f(re,"\\varphi ","φ"),w.epsilon=f(re,"\\epsilon ","ϵ"),w.epsiv=w.varepsilon=f(re,"\\varepsilon ","ε"),w.piv=w.varpi=f(re,"\\varpi ","ϖ"),w.sigmaf=w.sigmav=w.varsigma=f(re,"\\varsigma ","ς"),w.thetav=w.vartheta=w.thetasym=f(re,"\\vartheta ","ϑ"),w.upsilon=w.upsi=f(re,"\\upsilon ","υ"),w.gammad=w.Gammad=w.digamma=f(re,"\\digamma ","ϝ"),w.kappav=w.varkappa=f(re,"\\varkappa ","ϰ"),w.rhov=w.varrho=f(re,"\\varrho ","ϱ"),w.pi=w["π"]=f(ue,"\\pi ","π"),w.lambda=f(ue,"\\lambda ","λ"),w.Upsilon=w.Upsi=w.upsih=w.Upsih=f(H,"\\Upsilon ",'<var style="font-family: serif">ϒ</var>'),w.Gamma=w.Delta=w.Theta=w.Lambda=w.Xi=w.Pi=w.Sigma=w.Phi=w.Psi=w.Omega=w.forall=h(V,(function(e,t){e.init=function(e){t.init.call(this,"\\"+e+" ","&"+e+";")}}));var de=h(W,(function(e){e.init=function(e){this.latex=e},e.createLeftOf=function(e){var t=F.parse(this.latex);t.children().adopt(e.parent,e[g],e[m]),e[g]=t.ends[m],t.jQize().insertBefore(e.jQ),t.finalizeInsert(e.options,e),t.ends[m][m].siblingCreated&&t.ends[m][m].siblingCreated(e.options,g),t.ends[g][g].siblingCreated&&t.ends[g][g].siblingCreated(e.options,m),e.parent.bubble("reflow")},e.parser=function(){var e=F.parse(this.latex).children();return G.succeed(e)}}));w["⁰"]=f(de,"^0"),w["¹"]=f(de,"^1"),w["²"]=f(de,"^2"),w["³"]=f(de,"^3"),w["⁴"]=f(de,"^4"),w["⁵"]=f(de,"^5"),w["⁶"]=f(de,"^6"),w["⁷"]=f(de,"^7"),w["⁸"]=f(de,"^8"),w["⁹"]=f(de,"^9"),w["₀"]=f(de,"_0"),w["₁"]=f(de,"_1"),w["₂"]=f(de,"_2"),w["₃"]=f(de,"_3"),w["₄"]=f(de,"_4"),w["₅"]=f(de,"_5"),w["₆"]=f(de,"_6"),w["₇"]=f(de,"_7"),w["₈"]=f(de,"_8"),w["₉"]=f(de,"_9"),w["¼"]=f(de,"\\frac14"),w["½"]=f(de,"\\frac12"),w["¾"]=f(de,"\\frac34");var fe=h(q,(function(e){e.init=V.prototype.init,e.contactWeld=e.siblingCreated=e.siblingDeleted=function(e,t){if(t!==m)return this.jQ[0].className=function e(t){return t[g]?t[g]instanceof q||/^[,;:\(\[]$/.test(t[g].ctrlSeq)?"":"mq-binary-operator":t.parent&&t.parent.parent&&t.parent.parent.isStyleBlock()?e(t.parent.parent):""}(this),this}}));w["+"]=f(fe,"+","+"),w["–"]=w["-"]=f(fe,"-","−"),w["±"]=w.pm=w.plusmn=w.plusminus=f(fe,"\\pm ","±"),w.mp=w.mnplus=w.minusplus=f(fe,"\\mp ","∓"),T["*"]=w.sdot=w.cdot=f(q,"\\cdot ","·","*");var pe=h(q,(function(e,t){e.init=function(e,n){this.data=e,this.strict=n;var r=n?"Strict":"";t.init.call(this,e["ctrlSeq"+r],e["html"+r],e["text"+r])},e.swap=function(e){this.strict=e;var t=e?"Strict":"";this.ctrlSeq=this.data["ctrlSeq"+t],this.jQ.html(this.data["html"+t]),this.textTemplate=[this.data["text"+t]]},e.deleteTowards=function(e,n){if(e===g&&!this.strict)return this.swap(!0),void this.bubble("reflow");t.deleteTowards.apply(this,arguments)}})),he={ctrlSeq:"\\le ",html:"≤",text:"≤",ctrlSeqStrict:"<",htmlStrict:"<",textStrict:"<"},ge={ctrlSeq:"\\ge ",html:"≥",text:"≥",ctrlSeqStrict:">",htmlStrict:">",textStrict:">"};w["<"]=w.lt=f(pe,he,!0),w[">"]=w.gt=f(pe,ge,!0),w["≤"]=w.le=w.leq=f(pe,he,!1),w["≥"]=w.ge=w.geq=f(pe,ge,!1);var me=h(q,(function(e,t){e.init=function(){t.init.call(this,"=","=")},e.createLeftOf=function(e){if(e[g]instanceof pe&&e[g].strict)return e[g].swap(!1),void e[g].bubble("reflow");t.createLeftOf.apply(this,arguments)}}));w["="]=me,w["×"]=w.times=f(q,"\\times ","×","[x]"),w["÷"]=w.div=w.divide=w.divides=f(q,"\\div ","÷","[/]"),T["~"]=w.sim=f(q,"\\sim ","~","~"),w.notin=w.cong=w.equiv=w.oplus=w.otimes=h(q,(function(e,t){e.init=function(e){t.init.call(this,"\\"+e+" ","&"+e+";")}})),w["≠"]=w.ne=w.neq=f(q,"\\ne ","≠"),w["∗"]=w.ast=w.star=w.loast=w.lowast=f(q,"\\ast ","∗"),w.therefor=w.therefore=f(q,"\\therefore ","∴"),w.cuz=w.because=f(q,"\\because ","∵"),w.prop=w.propto=f(q,"\\propto ","∝"),w["≈"]=w.asymp=w.approx=f(q,"\\approx ","≈"),w["≢"]=w.notequiv=w.nequiv=f(q,"\\not\\equiv ","≢"),w.isin=w.in=f(q,"\\in ","∈"),w.ni=w.contains=f(q,"\\ni ","∋"),w.notni=w.niton=w.notcontains=w.doesnotcontain=f(q,"\\not\\ni ","∌"),w.sub=w.subset=f(q,"\\subset ","⊂"),w.sup=w.supset=w.superset=f(q,"\\supset ","⊃"),w.nsub=w.notsub=w.nsubset=w.notsubset=f(q,"\\not\\subset ","⊄"),w.nsup=w.notsup=w.nsupset=w.notsupset=w.nsuperset=w.notsuperset=f(q,"\\not\\supset ","⊅"),w.sube=w.subeq=w.subsete=w.subseteq=f(q,"\\subseteq ","⊆"),w.supe=w.supeq=w.supsete=w.supseteq=w.supersete=w.superseteq=f(q,"\\supseteq ","⊇"),w.nsube=w.nsubeq=w.notsube=w.notsubeq=w.nsubsete=w.nsubseteq=w.notsubsete=w.notsubseteq=f(q,"\\not\\subseteq ","⊈"),w.nsupe=w.nsupeq=w.notsupe=w.notsupeq=w.nsupsete=w.nsupseteq=w.notsupsete=w.notsupseteq=w.nsupersete=w.nsuperseteq=w.notsupersete=w.notsuperseteq=f(q,"\\not\\supseteq ","⊉"),w.mathbb=h(W,(function(e){e.createLeftOf=s,e.numBlocks=function(){return 1},e.parser=function(){var e=G.string,t=G.regex,n=G.optWhitespace;return n.then(e("{")).then(n).then(t(/^[NPZQRCH]/)).skip(n).skip(e("}")).map((function(e){return w[e]()}))}})),w.N=w.naturals=w.Naturals=f(V,"\\mathbb{N}","ℕ"),w.P=w.primes=w.Primes=w.projective=w.Projective=w.probability=w.Probability=f(V,"\\mathbb{P}","ℙ"),w.Z=w.integers=w.Integers=f(V,"\\mathbb{Z}","ℤ"),w.Q=w.rationals=w.Rationals=f(V,"\\mathbb{Q}","ℚ"),w.R=w.reals=w.Reals=f(V,"\\mathbb{R}","ℝ"),w.C=w.complex=w.Complex=w.complexes=w.Complexes=w.complexplane=w.Complexplane=w.ComplexPlane=f(V,"\\mathbb{C}","ℂ"),w.H=w.Hamiltonian=w.quaternions=w.Quaternions=f(V,"\\mathbb{H}","ℍ"),w.quad=w.emsp=f(V,"\\quad "," "),w.qquad=f(V,"\\qquad "," "),w.diamond=f(V,"\\diamond ","◇"),w.bigtriangleup=f(V,"\\bigtriangleup ","△"),w.ominus=f(V,"\\ominus ","⊖"),w.uplus=f(V,"\\uplus ","⊎"),w.bigtriangledown=f(V,"\\bigtriangledown ","▽"),w.sqcap=f(V,"\\sqcap ","⊓"),w.triangleleft=f(V,"\\triangleleft ","⊲"),w.sqcup=f(V,"\\sqcup ","⊔"),w.triangleright=f(V,"\\triangleright ","⊳"),w.odot=w.circledot=f(V,"\\odot ","⊙"),w.bigcirc=f(V,"\\bigcirc ","◯"),w.dagger=f(V,"\\dagger ","†"),w.ddagger=f(V,"\\ddagger ","‡"),w.wr=f(V,"\\wr ","≀"),w.amalg=f(V,"\\amalg ","∐"),w.models=f(V,"\\models ","⊨"),w.prec=f(V,"\\prec ","≺"),w.succ=f(V,"\\succ ","≻"),w.preceq=f(V,"\\preceq ","≼"),w.succeq=f(V,"\\succeq ","≽"),w.simeq=f(V,"\\simeq ","≃"),w.mid=f(V,"\\mid ","∣"),w.nmid=f(V,"\\nmid","∤"),w.ll=f(V,"\\ll ","≪"),w.gg=f(V,"\\gg ","≫"),w.parallel=f(V,"\\parallel ","∥"),w.nparallel=f(V,"\\nparallel ","∦"),w.bowtie=f(V,"\\bowtie ","⋈"),w.sqsubset=f(V,"\\sqsubset ","⊏"),w.sqsupset=f(V,"\\sqsupset ","⊐"),w.smile=f(V,"\\smile ","⌣"),w.sqsubseteq=f(V,"\\sqsubseteq ","⊑"),w.sqsupseteq=f(V,"\\sqsupseteq ","⊒"),w.doteq=f(V,"\\doteq ","≐"),w.frown=f(V,"\\frown ","⌢"),w.vdash=f(V,"\\vdash ","⊦"),w.dashv=f(V,"\\dashv ","⊣"),w.nless=f(V,"\\nless ","≮"),w.ngtr=f(V,"\\ngtr ","≯"),w.longleftarrow=f(V,"\\longleftarrow ","←"),w.longrightarrow=f(V,"\\longrightarrow ","→"),w.Longleftarrow=f(V,"\\Longleftarrow ","⇐"),w.Longrightarrow=f(V,"\\Longrightarrow ","⇒"),w.longleftrightarrow=f(V,"\\longleftrightarrow ","↔"),w.updownarrow=f(V,"\\updownarrow ","↕"),w.Longleftrightarrow=f(V,"\\Longleftrightarrow ","⇔"),w.Updownarrow=f(V,"\\Updownarrow ","⇕"),w.mapsto=f(V,"\\mapsto ","↦"),w.nearrow=f(V,"\\nearrow ","↗"),w.hookleftarrow=f(V,"\\hookleftarrow ","↩"),w.hookrightarrow=f(V,"\\hookrightarrow ","↪"),w.searrow=f(V,"\\searrow ","↘"),w.leftharpoonup=f(V,"\\leftharpoonup ","↼"),w.rightharpoonup=f(V,"\\rightharpoonup ","⇀"),w.swarrow=f(V,"\\swarrow ","↙"),w.leftharpoondown=f(V,"\\leftharpoondown ","↽"),w.rightharpoondown=f(V,"\\rightharpoondown ","⇁"),w.nwarrow=f(V,"\\nwarrow ","↖"),w.ldots=f(V,"\\ldots ","…"),w.cdots=f(V,"\\cdots ","⋯"),w.vdots=f(V,"\\vdots ","⋮"),w.ddots=f(V,"\\ddots ","⋱"),w.surd=f(V,"\\surd ","√"),w.triangle=f(V,"\\triangle ","△"),w.ell=f(V,"\\ell ","ℓ"),w.top=f(V,"\\top ","⊤"),w.flat=f(V,"\\flat ","♭"),w.natural=f(V,"\\natural ","♮"),w.sharp=f(V,"\\sharp ","♯"),w.wp=f(V,"\\wp ","℘"),w.bot=f(V,"\\bot ","⊥"),w.clubsuit=f(V,"\\clubsuit ","♣"),w.diamondsuit=f(V,"\\diamondsuit ","♢"),w.heartsuit=f(V,"\\heartsuit ","♡"),w.spadesuit=f(V,"\\spadesuit ","♠"),w.parallelogram=f(V,"\\parallelogram ","▱"),w.square=f(V,"\\square ","⬜"),w.oint=f(V,"\\oint ","∮"),w.bigcap=f(V,"\\bigcap ","∩"),w.bigcup=f(V,"\\bigcup ","∪"),w.bigsqcup=f(V,"\\bigsqcup ","⊔"),w.bigvee=f(V,"\\bigvee ","∨"),w.bigwedge=f(V,"\\bigwedge ","∧"),w.bigodot=f(V,"\\bigodot ","⊙"),w.bigotimes=f(V,"\\bigotimes ","⊗"),w.bigoplus=f(V,"\\bigoplus ","⊕"),w.biguplus=f(V,"\\biguplus ","⊎"),w.lfloor=f(V,"\\lfloor ","⌊"),w.rfloor=f(V,"\\rfloor ","⌋"),w.lceil=f(V,"\\lceil ","⌈"),w.rceil=f(V,"\\rceil ","⌉"),w.opencurlybrace=w.lbrace=f(V,"\\lbrace ","{"),w.closecurlybrace=w.rbrace=f(V,"\\rbrace ","}"),w.lbrack=f(V,"["),w.rbrack=f(V,"]"),w.slash=f(V,"/"),w.vert=f(V,"|"),w.perp=w.perpendicular=f(V,"\\perp ","⊥"),w.nabla=w.del=f(V,"\\nabla ","∇"),w.hbar=f(V,"\\hbar ","ℏ"),w.AA=w.Angstrom=w.angstrom=f(V,"\\text\\AA ","Å"),w.ring=w.circ=w.circle=f(V,"\\circ ","∘"),w.bull=w.bullet=f(V,"\\bullet ","•"),w.setminus=w.smallsetminus=f(V,"\\setminus ","∖"),w["¬"]=w.neg=f(V,"\\neg ","¬"),w.not=h(V,(function(e,t){e.suffixes={"\\equiv":"notequiv","\\ni":"notni","\\subset":"notsubset","\\subseteq":"notsubseteq","\\supset":"notsupset","\\supseteq":"notsupseteq"},e.init=function(){return t.init.call(this,"\\neg ","¬")},e.parser=function(){var t=G.succeed,n=G.optWhitespace;return function e(t){var n=G.string(t.shift());return t.length?n.or(e(t)):n}(Object.keys(e.suffixes).sort((function(e,t){return t.length-e.length}))).then((function(r){return n.then(t(w[e.suffixes[r]]()))})).or(n.then(t(this)))}})),w["…"]=w.dots=w.ellip=w.hellip=w.ellipsis=w.hellipsis=f(V,"\\dots ","…"),w.converges=w.darr=w.dnarr=w.dnarrow=w.downarrow=f(V,"\\downarrow ","↓"),w.dArr=w.dnArr=w.dnArrow=w.Downarrow=f(V,"\\Downarrow ","⇓"),w.diverges=w.uarr=w.uparrow=f(V,"\\uparrow ","↑"),w.uArr=w.Uparrow=f(V,"\\Uparrow ","⇑"),w.to=f(q,"\\to ","→"),w.rarr=w.rightarrow=f(V,"\\rightarrow ","→"),w.implies=f(q,"\\Rightarrow ","⇒"),w.rArr=w.Rightarrow=f(V,"\\Rightarrow ","⇒"),w.gets=f(q,"\\gets ","←"),w.larr=w.leftarrow=f(V,"\\leftarrow ","←"),w.impliedby=f(q,"\\Leftarrow ","⇐"),w.lArr=w.Leftarrow=f(V,"\\Leftarrow ","⇐"),w.harr=w.lrarr=w.leftrightarrow=f(V,"\\leftrightarrow ","↔"),w.iff=f(q,"\\Leftrightarrow ","⇔"),w.hArr=w.lrArr=w.Leftrightarrow=f(V,"\\Leftrightarrow ","⇔"),w.Re=w.Real=w.real=f(V,"\\Re ","ℜ"),w.Im=w.imag=w.image=w.imagin=w.imaginary=w.Imaginary=f(V,"\\Im ","ℑ"),w.part=w.partial=f(V,"\\partial ","∂"),w.infty=w.infin=w.infinity=f(V,"\\infty ","∞"),w.pounds=f(V,"\\pounds ","£"),w.alef=w.alefsym=w.aleph=w.alephsym=f(V,"\\aleph ","ℵ"),w.xist=w.xists=w.exist=w.exists=f(V,"\\exists ","∃"),w.nexists=w.nexist=f(V,"\\nexists ","∄"),w.and=w.land=w.wedge=f(q,"\\wedge ","∧"),w.or=w.lor=w.vee=f(q,"\\vee ","∨"),w.o=w.O=w.empty=w.emptyset=w.oslash=w.Oslash=w.nothing=w.varnothing=f(q,"\\varnothing ","∅"),w.cup=w.union=f(q,"\\cup ","∪"),w.cap=w.intersect=w.intersection=f(q,"\\cap ","∩"),w.deg=w.degree=f(V,"°","°"),w.ang=w.angle=f(V,"\\angle ","∠"),w.measuredangle=f(V,"\\measuredangle ","∡"),w.sphericalangle=f(V,"\\sphericalangle ","∢");var ye,ve,be=s,Ie=document.createElement("div").style;for(var xe in{transform:1,WebkitTransform:1,MozTransform:1,OTransform:1,msTransform:1})if(xe in Ie){ve=xe;break}ve?ye=function(e,t,n){e.css(ve,"scale("+t+","+n+")")}:"filter"in Ie?(be=function(e){e.className=e.className},ye=function(e,t,n){t/=1+(n-1)/2,e.css("fontSize",n+"em"),e.hasClass("mq-matrixed-container")||e.addClass("mq-matrixed-container").wrapInner('<span class="mq-matrixed"></span>');var r=e.children().css("filter","progid:DXImageTransform.Microsoft.Matrix(M11="+t+",SizingMethod='auto expand')");function i(){e.css("marginRight",(r.width()-1)*(t-1)/t+"px")}i();var o=setInterval(i);v(window).load((function(){clearTimeout(o),i()}))}):ye=function(e,t,n){e.css("fontSize",n+"em")};var Me=h(W,(function(e,t){e.init=function(e,n,r){t.init.call(this,e,"<"+n+" "+r+">&0</"+n+">")}})),we=h(re,(function(e,t){e.symbols={C:"ℂ",H:"ℍ",N:"ℕ",P:"ℙ",Q:"ℚ",R:"ℝ",Z:"ℤ"},e.init=function(e){var n=e;this.symbols[e]&&(n='<span class="mq-original">'+e+"</span>"+this.symbols[e]),t.init.call(this,e,n)}}));w.mathrm=f(Me,"\\mathrm","span",'class="mq-roman mq-font"'),w.mathit=f(Me,"\\mathit","i",'class="mq-font"'),w.mathbf=f(Me,"\\mathbf","b",'class="mq-font"'),w.mathsf=f(Me,"\\mathsf","span",'class="mq-sans-serif mq-font"'),w.mathtt=f(Me,"\\mathtt","span",'class="mq-monospace mq-font"'),w.mathbb=h(W,(function(e,t){e.init=function(){t.init.call(this,"\\mathbb",'<span class="mq-mathbb mq-font">&0</span>')},e.adopt=function(){return this.eachChild((function(e){if(!e.writeOverride){var t=e.write,n=e.deleteOutOf;e.write=e.writeOverride=function(n,r,i){var o;if(!we.prototype.symbols[r])return t.apply(e,arguments);o=we(r),i&&o.replaces(i),o.createLeftOf(n)},e.deleteOutOf=function(t,r){var i=[];return e.eachChild((function(t){var n=t.ctrlSeq;i.push(re(n).adopt(e,e.ends[m],0)),t.remove()})),i.length&&(r[m]=i[0]),e.jQize().appendTo(e.jQ),n.apply(e,arguments)}}})),t.adopt.apply(this,arguments)},e.finalizeTree=function(){this.eachChild((function(e){e.eachChild((function(t){var n=t.ctrlSeq,r=re;we.prototype.symbols[n]&&(r=we),r(n).adopt(e,e.ends[m],0),t.remove()})),e.jQize().appendTo(e.jQ)}))}})),w.underline=f(Me,"\\underline","span",'class="mq-non-leaf mq-underline"'),w.bar=f(Me,"\\bar","span",'class="mq-non-leaf mq-overline"'),w.overline=f(Me,"\\overline","span",'class="mq-non-leaf mq-overline"');var Te=h(W,(function(e,t){e.init=function(e,n){t.init.call(this,e,"<span "+n+'><span class="mq-arrow-inner">&0</span></span>')}}));w.overrightarrow=f(Te,"\\overrightarrow",'class="mq-non-leaf mq-overarrow mq-arrow-right"'),w.overleftarrow=f(Te,"\\overleftarrow",'class="mq-non-leaf mq-overarrow mq-arrow-left"'),w.overleftrightarrow=f(Te,"\\overleftrightarrow",'class="mq-non-leaf mq-overarrow mq-arrow-leftright"'),w.underrightarrow=f(Te,"\\underrightarrow",'class="mq-non-leaf mq-underarrow mq-arrow-right"'),w.underleftarrow=f(Te,"\\underleftarrow",'class="mq-non-leaf mq-underarrow mq-arrow-left"'),w.underleftrightarrow=f(Te,"\\underleftrightarrow",'class="mq-non-leaf mq-underarrow mq-arrow-leftright"');var Ae=h(W,(function(e,t){e.ctrlSeq="\\xrightleftharpoons",e.htmlTemplate='<span class="mq-harpoons mq-harpoons-rightleft mq-non-leaf"><span class="mq-harpoons-numerator">&0</span><span class="mq-harpoons-harpoons">⇌</span></span>'})),Ce=w.xrightleftharpoons=h(Ae,(function(e,t){e.ctrlSeq="\\xrightleftharpoons",e.htmlTemplate='<span class="mq-harpoons mq-harpoons-rightleft mq-non-leaf"><span class="mq-harpoons-numerator">&1</span><span class="mq-harpoons-harpoons">⇌</span><span class="mq-harpoons-denominator">&0</span></span>',e.parser=function(){return F.optBlock.then((function(e){return F.block.map((function(t){var n=Ce();return n.blocks=[e,t],e.adopt(n,0,0),t.adopt(n,e,0),n}))})).or(F.block.map((function(e){var t=Ae();return t.blocks=[e],e.adopt(t,0,0),t})))},e.latex=function(){return this.ctrlSeq+"["+this.ends[g].latex()+"]{"+this.ends[m].latex()+"}"}}));w.overarc=f(Me,"\\overarc","span",'class="mq-non-leaf mq-overarc"'),w.dot=h(W,(function(e,t){e.init=function(){t.init.call(this,"\\dot",'<span class="mq-non-leaf"><span class="mq-dot-recurring-inner"><span class="mq-dot-recurring">˙</span><span class="mq-empty-box">&0</span></span></span>')}})),w.textcolor=h(W,(function(e,t){e.setColor=function(e){this.color=e,this.htmlTemplate='<span class="mq-textcolor" style="color:'+e+'">&0</span>'},e.latex=function(){return"\\textcolor{"+this.color+"}{"+this.blocks[0].latex()+"}"},e.parser=function(){var e=this,n=G.optWhitespace,r=G.string,i=G.regex;return n.then(r("{")).then(i(/^[#\w\s.,()%-]*/)).skip(r("}")).then((function(n){return e.setColor(n),t.parser.call(e)}))},e.isStyleBlock=function(){return!0}})),w.class=h(W,(function(e,t){e.parser=function(){var e=this,n=G.string,r=G.regex;return G.optWhitespace.then(n("{")).then(r(/^[-\w\s\\\xA0-\xFF]*/)).skip(n("}")).then((function(n){return e.cls=n||"",e.htmlTemplate='<span class="mq-class '+n+'">&0</span>',t.parser.call(e)}))},e.latex=function(){return"\\class{"+this.cls+"}{"+this.blocks[0].latex()+"}"},e.isStyleBlock=function(){return!0}}));var Ne=h(W,(function(e,t){e.ctrlSeq="_{...}^{...}",e.createLeftOf=function(e){if(this.replacedFragment||e[g]||!e.options.supSubsRequireOperand)return t.createLeftOf.apply(this,arguments)},e.contactWeld=function(e){for(var t=g;t;t=t===g&&m)if(this[t]instanceof Ne){for(var n="sub";n;n="sub"===n&&"sup"){var r=this[n],i=this[t][n];if(r){if(i)if(r.isEmpty())a=b(i,0,i.ends[g]);else{r.jQ.children().insAtDirEnd(-t,i.jQ);var o=r.children().disown(),a=b(i,o.ends[m],i.ends[g]);t===g?o.adopt(i,i.ends[m],0):o.adopt(i,0,i.ends[g])}else this[t].addBlock(r.disown());this.placeCursor=function(e,n){return function(r){r.insAtDirEnd(-t,e||n)}}(i,r)}}this.remove(),e&&e[g]===this&&(t===m&&a?a[g]?e.insRightOf(a[g]):e.insAtLeftEnd(a.parent):e.insRightOf(this[t]));break}},S.p.charsThatBreakOutOfSupSub="",e.finalizeTree=function(){this.ends[g].write=function(e,t){if(e.options.autoSubscriptNumerals&&this===this.parent.sub){if("_"===t)return;var n=this.chToCmd(t,e.options);return n instanceof H?e.deleteSelection():e.clearSelection().insRightOf(this.parent),n.createLeftOf(e.show())}e[g]&&!e[m]&&!e.selection&&e.options.charsThatBreakOutOfSupSub.indexOf(t)>-1&&e.insRightOf(this.parent),Q.p.write.apply(this,arguments)}},e.moveTowards=function(e,n,r){n.options.autoSubscriptNumerals&&!this.sup?n.insDirOf(e,this):t.moveTowards.apply(this,arguments)},e.deleteTowards=function(e,n){if(n.options.autoSubscriptNumerals&&this.sub){var r=this.sub.ends[-e];r instanceof H?r.remove():r&&r.deleteTowards(e,n.insAtDirEnd(-e,this.sub)),this.sub.isEmpty()&&(this.sub.deleteOutOf(g,n.insAtLeftEnd(this.sub)),this.sup&&n.insDirOf(-e,this))}else t.deleteTowards.apply(this,arguments)},e.latex=function(){function e(e,t){var n=t&&t.latex();return t?e+(1===n.length?n:"{"+(n||" ")+"}"):""}return e("_",this.sub)+e("^",this.sup)},e.text=function(){function e(e,t){var n=t&&t.text();return t?e+(1===n.length?n:"("+(n||" ")+")"):""}return e("_",this.sub)+e("^",this.sup)},e.addBlock=function(e){"sub"===this.supsub?(this.sup=this.upInto=this.sub.upOutOf=e,e.adopt(this,this.sub,0).downOutOf=this.sub,e.jQ=v('<span class="mq-sup"/>').append(e.jQ.children()).attr(i,e.id).prependTo(this.jQ)):(this.sub=this.downInto=this.sup.downOutOf=e,e.adopt(this,0,this.sup).upOutOf=this.sup,e.jQ=v('<span class="mq-sub"></span>').append(e.jQ.children()).attr(i,e.id).appendTo(this.jQ.removeClass("mq-sup-only")),this.jQ.append('<span style="display:inline-block;width:0">​</span>'));for(var t=0;t<2;t+=1)!function(e,t,n,r){e[t].deleteOutOf=function(i,o){if(o.insDirOf(this[i]?-i:i,this.parent),!this.isEmpty()){var a=this.ends[i];this.children().disown().withDirAdopt(i,o.parent,o[i],o[-i]).jQ.insDirOf(-i,o.jQ),o[-i]=a}e.supsub=n,delete e[t],delete e[r+"Into"],e[n][r+"OutOf"]=Ee,delete e[n].deleteOutOf,"sub"===t&&v(e.jQ.addClass("mq-sup-only")[0].lastChild).remove(),this.remove()}}(this,"sub sup".split(" ")[t],"sup sub".split(" ")[t],"down up".split(" ")[t])},e.reflow=function(){var e=this.jQ,t=e.prev();if(t.length){var n=e.children(".mq-sup");if(n.length){var r=parseInt(n.css("font-size")),i=n.offset().top+n.height()-t.offset().top-.7*r,o=parseInt(n.css("margin-bottom"));n.css("margin-bottom",o+i)}}}}));function Ee(e){var t=this.parent,n=e;do{if(n[m])return e.insLeftOf(t);n=n.parent.parent}while(n!==t);e.insRightOf(t)}w.subscript=w._=h(Ne,(function(e,t){e.supsub="sub",e.htmlTemplate='<span class="mq-supsub mq-non-leaf"><span class="mq-sub">&0</span><span style="display:inline-block;width:0">​</span></span>',e.textTemplate=["_"],e.finalizeTree=function(){this.downInto=this.sub=this.ends[g],this.sub.upOutOf=Ee,t.finalizeTree.call(this)}})),w.superscript=w.supscript=w["^"]=h(Ne,(function(e,t){e.supsub="sup",e.htmlTemplate='<span class="mq-supsub mq-non-leaf mq-sup-only"><span class="mq-sup">&0</span></span>',e.textTemplate=["^(",")"],e.finalizeTree=function(){this.upInto=this.sup=this.ends[m],this.sup.downOutOf=Ee,t.finalizeTree.call(this)}}));var Se=h(W,(function(e,t){e.init=function(e,t){var n='<span class="mq-large-operator mq-non-leaf"><span class="mq-to"><span>&1</span></span><big>'+t+'</big><span class="mq-from"><span>&0</span></span></span>';H.prototype.init.call(this,e,n)},e.createLeftOf=function(e){t.createLeftOf.apply(this,arguments),e.options.sumStartsWithNEquals&&(ie("n").createLeftOf(e),me().createLeftOf(e))},e.latex=function(){function e(e){return 1===e.length?e:"{"+(e||" ")+"}"}return this.ctrlSeq+"_"+e(this.ends[g].latex())+"^"+e(this.ends[m].latex())},e.parser=function(){for(var e=G.string,t=G.optWhitespace,n=G.succeed,r=F.block,i=this,o=i.blocks=[Q(),Q()],a=0;a<o.length;a+=1)o[a].adopt(i,i.ends[m],0);return t.then(e("_").or(e("^"))).then((function(e){var t=o["_"===e?0:1];return r.then((function(e){return e.children().adopt(t,t.ends[m],0),n(i)}))})).many().result(i)},e.finalizeTree=function(){this.downInto=this.ends[g],this.upInto=this.ends[m],this.ends[g].upOutOf=this.ends[m],this.ends[m].downOutOf=this.ends[g]}}));w["∑"]=w.sum=w.summation=f(Se,"\\sum ","∑"),w["∏"]=w.prod=w.product=f(Se,"\\prod ","∏"),w.coprod=w.coproduct=f(Se,"\\coprod ","∐"),w["∫"]=w.int=w.integral=h(Se,(function(e,t){e.init=function(){H.prototype.init.call(this,"\\int ",'<span class="mq-int mq-non-leaf"><big>∫</big><span class="mq-supsub mq-non-leaf"><span class="mq-sup"><span class="mq-sup-inner">&1</span></span><span class="mq-sub">&0</span><span style="display:inline-block;width:0">​</span></span></span>')},e.createLeftOf=W.p.createLeftOf})),w.bigg=w.intsub=w.integralsubstitution=h(Se,(function(e,t){e.init=function(){H.prototype.init.call(this,"\\bigg",'<span class="mq-intsub mq-non-leaf"><big>/</big><span class="mq-supsub mq-non-leaf"><span class="mq-sup"><span class="mq-sup-inner">&1</span></span><span class="mq-sub">&0</span><span style="display:inline-block;width:0">​</span></span></span>')},e.createLeftOf=W.p.createLeftOf,e.parser=function(){var e=this,t=G.string,n=G.optWhitespace,r=G.succeed;e.blocks=[Q(),Q()];for(var i=0;i<e.blocks.length;i+=1)e.blocks[i].adopt(e,e.ends[m],0);return t("/_{").then(t("\\!").many()).then(F).then((function(t){return t.children().adopt(e.blocks[0],e.blocks[0].ends[m],0),r(e)})).then(n).then(t("}")).then(n).then(t("^")).then(F.block).then((function(t){return t.children().adopt(e.blocks[1],e.blocks[1].ends[m],0),r(e)}))},e.latex=function(){function e(e){return 1===e.length?e:"{"+(e||" ")+"}"}return"\\bigg/_{\\!\\!\\!\\!\\!"+e(this.blocks[0].latex())+"}^"+e(this.blocks[1].latex())}}));var je=w.frac=w.dfrac=w.cfrac=w.fraction=h(W,(function(e,t){e.ctrlSeq="\\frac",e.htmlTemplate='<span class="mq-fraction mq-non-leaf"><span class="mq-numerator">&0</span><span class="mq-denominator">&1</span><span style="display:inline-block;width:0">​</span></span>',e.textTemplate=["(",")/(",")"],e.finalizeTree=function(){this.upInto=this.ends[m].upOutOf=this.ends[g],this.downInto=this.ends[g].downOutOf=this.ends[m]}})),ke=w.over=T["/"]=h(je,(function(e,t){e.createLeftOf=function(e){if(!this.replacedFragment){for(var n=e[g];n&&!(n instanceof q||n instanceof(w.text||s)||n instanceof Se||"\\ "===n.ctrlSeq||/^[,;:]$/.test(n.ctrlSeq));)n=n[g];n instanceof Se&&n[m]instanceof Ne&&(n=n[m])[m]instanceof Ne&&n[m].ctrlSeq!=n.ctrlSeq&&(n=n[m]),n===e[g]||e.isTooDeep(1)||(this.replaces(M(n[m]||e.parent.ends[g],e[g])),e[g]=n)}t.createLeftOf.call(this,e)}})),De=w.sqrt=w["√"]=h(W,(function(e,t){e.ctrlSeq="\\sqrt",e.htmlTemplate='<span class="mq-non-leaf"><span class="mq-scaled mq-sqrt-prefix">√</span><span class="mq-non-leaf mq-sqrt-stem">&0</span></span>',e.textTemplate=["sqrt(",")"],e.parser=function(){return F.optBlock.then((function(e){return F.block.map((function(t){var n=Le();return n.blocks=[e,t],e.adopt(n,0,0),t.adopt(n,e,0),n}))})).or(t.parser.call(this))},e.reflow=function(){var e=this.ends[m].jQ;ye(e.prev(),1,e.innerHeight()/+e.css("fontSize").slice(0,-2)-.1)}})),Le=(w.hat=h(W,(function(e,t){e.ctrlSeq="\\hat",e.htmlTemplate='<span class="mq-non-leaf"><span class="mq-hat-prefix">^</span><span class="mq-hat-stem">&0</span></span>',e.textTemplate=["hat(",")"]})),w.nthroot=h(De,(function(e,t){e.htmlTemplate='<span class="mq-nthroot mq-non-leaf">&0</span><span class="mq-scaled"><span class="mq-sqrt-prefix mq-scaled">√</span><span class="mq-sqrt-stem mq-non-leaf">&1</span></span>',e.textTemplate=["sqrt[","](",")"],e.latex=function(){return"\\sqrt["+this.ends[g].latex()+"]{"+this.ends[m].latex()+"}"}}))),Oe=h(W,(function(e,t){e.init=function(e,n,r){var i='<span class="mq-non-leaf"><span class="mq-diacritic-above">'+n+'</span><span class="mq-diacritic-stem">&0</span></span>';t.init.call(this,e,i,r)}}));function Re(e,t){e.jQadd=function(){t.jQadd.apply(this,arguments),this.delimjQs=this.jQ.children(":first").add(this.jQ.children(":last")),this.contentjQ=this.jQ.children(":eq(1)")},e.reflow=function(){var e=this.contentjQ.outerHeight()/parseFloat(this.contentjQ.css("fontSize"));ye(this.delimjQs,o(1+.2*(e-1),1.2),1.2*e)}}w.vec=f(Oe,"\\vec","→",["vec(",")"]),w.tilde=f(Oe,"\\tilde","~",["tilde(",")"]);var Pe=h(h(W,Re),(function(e,t){e.init=function(e,n,r,i,o){t.init.call(this,"\\left"+i,void 0,[n,r]),this.side=e,this.sides={},this.sides[g]={ch:n,ctrlSeq:i},this.sides[m]={ch:r,ctrlSeq:o}},e.numBlocks=function(){return 1},e.html=function(){return this.htmlTemplate='<span class="mq-non-leaf"><span class="mq-scaled mq-paren'+(this.side===m?" mq-ghost":"")+'">'+this.sides[g].ch+'</span><span class="mq-non-leaf">&0</span><span class="mq-scaled mq-paren'+(this.side===g?" mq-ghost":"")+'">'+this.sides[m].ch+"</span></span>",t.html.call(this)},e.latex=function(){return"\\left"+this.sides[g].ctrlSeq+this.ends[g].latex()+"\\right"+this.sides[m].ctrlSeq},e.matchBrack=function(e,t,n){return n instanceof Pe&&n.side&&n.side!==-t&&(!e.restrictMismatchedBrackets||ze[this.sides[this.side].ch]===n.sides[n.side].ch||{"(":"]","[":")"}[this.sides[g].ch]===n.sides[m].ch)&&n},e.closeOpposing=function(e){e.side=0,e.sides[this.side]=this.sides[this.side],e.delimjQs.eq(this.side===g?0:1).removeClass("mq-ghost").html(this.sides[this.side].ch)},e.createLeftOf=function(e){if(!this.replacedFragment){var n=e.options;if("|"===this.sides[g].ch)var r=this.matchBrack(n,m,e[m])||this.matchBrack(n,g,e[g])||this.matchBrack(n,0,e.parent.parent);else r=this.matchBrack(n,-this.side,e[-this.side])||this.matchBrack(n,-this.side,e.parent.parent)}if(r){var i=this.side=-r.side;this.closeOpposing(r),r===e.parent.parent&&e[i]&&M(e[i],e.parent.ends[i],-i).disown().withDirAdopt(-i,r.parent,r,r[i]).jQ.insDirOf(i,r.jQ),r.bubble("reflow")}else i=(r=this).side,r.replacedFragment?r.side=0:e[-i]&&(r.replaces(M(e[-i],e.parent.ends[-i],i)),e[-i]=0),t.createLeftOf.call(r,e);i===g?e.insAtLeftEnd(r.ends[g]):e.insRightOf(r)},e.placeCursor=s,e.unwrap=function(){this.ends[g].children().disown().adopt(this.parent,this,this[m]).jQ.insertAfter(this.jQ),this.remove()},e.deleteSide=function(e,t,n){var r=this.parent,i=this[e],o=r.ends[e];if(e===this.side)return this.unwrap(),void(i?n.insDirOf(-e,i):n.insAtDirEnd(e,r));var a=n.options,s=!this.side;if(this.side=-e,this.matchBrack(a,e,this.ends[g].ends[this.side])){this.closeOpposing(this.ends[g].ends[this.side]);var l=this.ends[g].ends[e];this.unwrap(),l.siblingCreated&&l.siblingCreated(n.options,e),i?n.insDirOf(-e,i):n.insAtDirEnd(e,r)}else{if(this.matchBrack(a,e,this.parent.parent))this.parent.parent.closeOpposing(this),this.parent.parent.unwrap();else{if(t&&s)return this.unwrap(),void(i?n.insDirOf(-e,i):n.insAtDirEnd(e,r));this.sides[e]={ch:ze[this.sides[this.side].ch],ctrlSeq:ze[this.sides[this.side].ctrlSeq]},this.delimjQs.removeClass("mq-ghost").eq(e===g?0:1).addClass("mq-ghost").html(this.sides[e].ch)}i?(l=this.ends[g].ends[e],M(i,o,-e).disown().withDirAdopt(-e,this.ends[g],l,0).jQ.insAtDirEnd(e,this.ends[g].jQ.removeClass("mq-empty")),l.siblingCreated&&l.siblingCreated(n.options,e),n.insDirOf(-e,i)):t?n.insDirOf(e,this):n.insAtDirEnd(e,this.ends[g])}},e.deleteTowards=function(e,t){this.deleteSide(-e,!1,t)},e.finalizeTree=function(){this.ends[g].deleteOutOf=function(e,t){this.parent.deleteSide(e,!0,t)},this.finalizeTree=this.intentionalBlur=function(){this.delimjQs.eq(this.side===g?1:0).removeClass("mq-ghost"),this.side=0}},e.siblingCreated=function(e,t){t===-this.side&&this.finalizeTree()}})),ze={"(":")",")":"(","[":"]","]":"[","{":"}","}":"{","\\{":"\\}","\\}":"\\{","⟨":"⟩","⟩":"⟨","\\langle ":"\\rangle ","\\rangle ":"\\langle ","|":"|","\\lVert ":"\\rVert ","\\rVert ":"\\lVert "};function Ue(e,t){t=t||e;var n=ze[e],r=ze[t];T[e]=f(Pe,g,e,n,t,r),T[n]=f(Pe,m,e,n,t,r)}Ue("("),Ue("["),Ue("{","\\{"),w.langle=f(Pe,g,"⟨","⟩","\\langle ","\\rangle "),w.rangle=f(Pe,m,"⟨","⟩","\\langle ","\\rangle "),T["|"]=f(Pe,g,"|","|","|","|"),w.lVert=f(Pe,g,"∥","∥","\\lVert ","\\rVert "),w.rVert=f(Pe,m,"∥","∥","\\lVert ","\\rVert "),w.left=h(W,(function(e){e.parser=function(){var e=G.regex,t=G.string,n=(G.succeed,G.optWhitespace);return n.then(e(/^(?:[([|]|\\\{|\\langle(?![a-zA-Z])|\\lVert(?![a-zA-Z]))/)).then((function(r){var i="\\"===r.charAt(0)?r.slice(1):r;return"\\langle"==r&&(i="⟨",r+=" "),"\\lVert"==r&&(i="∥",r+=" "),F.then((function(o){return t("\\right").skip(n).then(e(/^(?:[\])|]|\\\}|\\rangle(?![a-zA-Z])|\\rVert(?![a-zA-Z]))/)).map((function(e){var t="\\"===e.charAt(0)?e.slice(1):e;"\\rangle"==e&&(t="⟩",e+=" "),"\\rVert"==e&&(t="∥",e+=" ");var n=Pe(0,i,t,r,e);return n.blocks=[o],o.adopt(n,0,0),n}))}))}))}})),w.right=h(W,(function(e){e.parser=function(){return G.fail("unmatched \\right")}}));var _e=w.binom=w.binomial=h(h(W,Re),(function(e,t){e.ctrlSeq="\\binom",e.htmlTemplate='<span class="mq-non-leaf"><span class="mq-paren mq-scaled">(</span><span class="mq-non-leaf"><span class="mq-array mq-non-leaf"><span>&0</span><span>&1</span></span></span><span class="mq-paren mq-scaled">)</span></span>',e.textTemplate=["choose(",",",")"]}));w.choose=h(_e,(function(e){e.createLeftOf=ke.prototype.createLeftOf})),w.editable=w.MathQuillMathField=h(W,(function(e,t){e.ctrlSeq="\\MathQuillMathField",e.htmlTemplate='<span class="mq-editable-field"><span class="mq-root-block">&0</span></span>',e.parser=function(){var e=this,n=G.string,r=G.regex,i=G.succeed;return n("[").then(r(/^[a-z][a-z0-9]*/i)).skip(n("]")).map((function(t){e.name=t})).or(i()).then(t.parser.call(e))},e.finalizeTree=function(e){var t=N(this.ends[g],this.jQ,e);t.KIND_OF_MQ="MathField",t.editable=!0,t.createTextarea(),t.editablesTextareaEvents(),t.cursor.insAtRightEnd(t.root),_(t.root)},e.registerInnerField=function(e,t){e.push(e[this.name]=t(this.ends[g].controller))},e.latex=function(){return this.ends[g].latex()},e.text=function(){return this.ends[g].text()}}));var Ze=w.embed=h(H,(function(e,t){e.setOptions=function(e){function t(){return""}return this.text=e.text||t,this.htmlTemplate=e.htmlString||"",this.latex=e.latex||t,this},e.parser=function(){var e=this,t=G.string,n=G.regex,r=G.succeed;return t("{").then(n(/^[a-z][a-z0-9]*/i)).skip(t("}")).then((function(i){return t("[").then(n(/^[-\w\s]*/)).skip(t("]")).or(r()).map((function(t){return e.setOptions(D[i](t))}))}))}})),Ge={};w.begin=h(W,(function(e,t){e.parser=function(){var e=G.string,t=G.regex;return e("{").then(t(/^[a-z]+/i)).skip(e("}")).then((function(t){return(Ge[t]?Ge[t]().parser():G.fail("unknown environment type: "+t)).skip(e("\\end{"+t+"}"))}))}}));var Be=h(W,(function(e,t){e.template=[["\\begin{","}"],["\\end{","}"]],e.wrappers=function(){return[e.template[0].join(this.environment),e.template[1].join(this.environment)]}})),Fe=Ge.matrix=h(Be,(function(e,t){var n="\\\\";e.parentheses={left:null,right:null},e.environment="matrix",e.reflow=function(){var e=this.jQ.children("table"),t=e.outerHeight()/+e.css("fontSize").slice(0,-2),n=this.jQ.children(".mq-paren");n.length&&ye(n,o(1+.2*(t-1),1.2),1.05*t)},e.latex=function(){var e,t=this.hline,n="";this.eachChild((function(r){void 0!==e&&(e!==r.row?(n+="\\\\\n",t&&(n+="\\hline\n",t=!1)):n+="&"),e=r.row,n+=r.latex()}));var r=this.options?"{"+this.options+"}":"";return this.wrappers().join(r+"\n"+n+"\n")},e.html=function(){var e,n=[],r="",i=0;function o(e){return e?'<span class="mq-scaled mq-paren">'+e+"</span>":""}return this.eachChild((function(t){e!==t.row&&(e=t.row,r+="<tr>$tds</tr>",n[e]=[]),n[e].push("<td>&"+i+++"</td>")})),this.htmlTemplate='<span class="mq-matrix mq-matrix-'+this.environment+' mq-non-leaf">'+o(this.parentheses.left)+'<table class="mq-non-leaf">'+r.replace(/\$tds/g,(function(){return n.shift().join("")}))+"</table>"+o(this.parentheses.right)+"</span>",t.html.call(this)},e.createBlocks=function(){this.blocks=[Ye(0,this),Ye(0,this),Ye(1,this),Ye(1,this)]},e.parser=function(){var e=this,t=G.optWhitespace,r=G.string;return(0,G.regex)(/^({[clr](\|?[clr])*})?/).then((function(t){return t&&!e.options&&(e.options=t.slice(1,-1)),G.succeed(e)})).then(t.then(r("&").or(r(n)).or(r("\\hline")).or(F.block)).many()).skip(t).then((function(t){var r=[],i=0;function o(){e.blocks.push(Ye(i,e,r)),r=[]}e.blocks=[];for(var a=0;a<t.length;a+=1)t[a]instanceof Q?r.push(t[a]):"\\hline"===t[a]?e.hline=!0:(o(),t[a]===n&&(i+=1));return o(),e.autocorrect(),G.succeed(e)}))},e.finalizeTree=function(){var e=this.jQ.find("table");e.toggleClass("mq-rows-1",1===e.find("tr").length),this.relink()},e.relink=function(){for(var e,t,n,r=this.blocks,i=[],o=0;o<r.length;o+=1)e!==(n=r[o]).row&&(i[e=n.row]=[],t=0),i[e][t]=n,n[m]=r[o+1],n[g]=r[o-1],i[e-1]&&i[e-1][t]&&(n.upOutOf=i[e-1][t],i[e-1][t].downOutOf=n),t+=1;this.ends[g]=r[0],this.ends[m]=r[r.length-1]},e.autocorrect=function(e){var t,n,r,i,o,a=[],s=(e=[],this.blocks);for(o=0;o<s.length;o+=1)e[i=s[o].row]=e[i]||[],e[i].push(s[o]),a[i]=e[i].length;if((t=Math.max.apply(null,a))!==Math.min.apply(null,a)){for(o=0;o<e.length;o+=1)for(n=t-e[o].length;n;)r=t*o+e[o].length,s.splice(r,0,Ye(o,this)),n-=1;this.relink()}},e.deleteCell=function(e){var t,n,r=[],i=[],o=[],a=[],s=this.blocks;function l(e){for(var t=[],n=0;n<e.length;n+=1)e[n].isEmpty()&&t.push(e[n]);return t.length===e.length}function c(e){for(var t=0;t<e.length;t+=1)s.indexOf(e[t])>-1&&(e[t].remove(),s.splice(s.indexOf(e[t]),1))}this.eachChild((function(s){t!==s.row&&(t=s.row,r[t]=[],n=0),i[n]=i[n]||[],i[n].push(s),r[t].push(s),s===e&&(o=r[t],a=i[n]),n+=1})),l(o)&&a.length>1&&(t=r.indexOf(o),this.eachChild((function(e){e.row>t&&(e.row-=1)})),c(o),this.jQ.find("tr").eq(t).remove()),l(a)&&o.length>1&&c(a),this.finalizeTree()},e.addRow=function(e){var t,n=[],r=[],o=[],a=v("<tr></tr>"),s=e.row,l=0;this.eachChild((function(e){e.row<=s&&n.push(e),e.row===s&&(l+=1),e.row>s&&(e.row+=1,o.push(e))}));for(var c=0;c<l;c+=1)(t=Ye(s+1)).parent=this,r.push(t),t.jQ=v('<td class="mq-empty">').attr(i,t.id).appendTo(a);return this.jQ.find("tr").eq(s).after(a),this.blocks=n.concat(r,o),r[0]},e.addColumn=function(e){var t,n,r=[],o=[];this.eachChild((function(n){r[n.row]=r[n.row]||[],r[n.row].push(n),n===e&&(t=r[n.row].length)}));for(var a=0;a<r.length;a+=1)(n=Ye(a)).parent=this,o.push(n),r[a].splice(t,0,n),n.jQ=v('<td class="mq-empty">').attr(i,n.id);return this.jQ.find("tr").each((function(e){v(this).find("td").eq(t-1).after(r[e][t].jQ)})),this.blocks=[].concat.apply([],r),o[e.row]},e.insert=function(e,t){var n=this[e](t);this.cursor=this.cursor||this.parent.cursor,this.finalizeTree(),this.bubble("reflow").cursor.insAtRightEnd(n)},e.backspace=function(e,t,n,r){var i=e[t];if(e.isEmpty()){for(this.deleteCell(e);i&&i[t]&&-1===this.blocks.indexOf(i);)i=i[t];i&&n.insAtDirEnd(-t,i),1===this.blocks.length&&this.blocks[0].isEmpty()&&(r(),this.finalizeTree()),this.bubble("edited")}}}));Ge.pmatrix=h(Fe,(function(e,t){e.environment="pmatrix",e.parentheses={left:"(",right:")"}})),Ge.bmatrix=h(Fe,(function(e,t){e.environment="bmatrix",e.parentheses={left:"[",right:"]"}})),Ge.Bmatrix=h(Fe,(function(e,t){e.environment="Bmatrix",e.parentheses={left:"{",right:"}"}})),Ge.vmatrix=h(Fe,(function(e,t){e.environment="vmatrix",e.parentheses={left:"|",right:"|"}})),Ge.Vmatrix=h(Fe,(function(e,t){e.environment="Vmatrix",e.parentheses={left:"‖",right:"‖"}})),Ge.cases=h(Fe,(function(e,t){e.environment="cases",e.parentheses={left:"{",right:null}})),Ge.array=h(Fe,(function(e,t){e.environment="array",e.parentheses={left:null,right:null},e.hline=!0,e.options="l|l"}));var Ye=h(Q,(function(e,t){e.init=function(e,n,r){if(t.init.call(this),this.row=e,n&&this.adopt(n,n.ends[m],0),r)for(var i=0;i<r.length;i++)r[i].children().adopt(this,this.ends[m],0)},e.keystroke=function(e,n,r){switch(e){case"Tab":var i,o=this,a=0;if(this.parent.eachChild((function(e){e.row===o.row&&(e===o&&(i=a),a+=1)})),i===a-1)return n.preventDefault(),this.parent.insert("addColumn",this);break;case"Enter":var s,l=this.row+1,c=!0;if(this.parent.eachChild((function(e){e.row===l&&(s||(s=e),e.isEmpty()||(c=!1))})),n.preventDefault(),s&&c){r.cursor.insAtDirEnd(g,s);break}return this.parent.insert("addRow",this)}return t.keystroke.apply(this,arguments)},e.deleteOutOf=function(e,n){var r=this,i=arguments;this.parent.backspace(this,e,n,(function(){return t.deleteOutOf.apply(r,i)}))}})),We=(T["\\"]=h(W,(function(e,t){e.ctrlSeq="\\",e.replaces=function(e){this._replacedFragment=e.disown(),this.isEmpty=function(){return!1}},e.htmlTemplate='<span class="mq-latex-command-input mq-non-leaf">\\<span>&0</span></span>',e.textTemplate=["\\"],e.createBlocks=function(){t.createBlocks.call(this),this.ends[g].focus=function(){return this.parent.jQ.addClass("mq-hasCursor"),this.isEmpty()&&this.parent.jQ.removeClass("mq-empty"),this},this.ends[g].blur=function(){return this.parent.jQ.removeClass("mq-hasCursor"),this.isEmpty()&&this.parent.jQ.addClass("mq-empty"),this},this.ends[g].write=function(e,t){e.show().deleteSelection(),t.match(/[a-z]/i)?V(t).createLeftOf(e):(this.parent.renderCommand(e),"\\"===t&&this.isEmpty()||e.parent.write(e,t))},this.ends[g].keystroke=function(e,n,r){return"Tab"===e||"Enter"===e||"Spacebar"===e?(this.parent.renderCommand(r.cursor),void n.preventDefault()):t.keystroke.apply(this,arguments)}},e.createLeftOf=function(e){if(t.createLeftOf.call(this,e),this._replacedFragment){var n=this.jQ[0];this.jQ=this._replacedFragment.jQ.addClass("mq-blur").bind("mousedown mousemove",(function(e){return v(e.target=n).trigger(e),!1})).insertBefore(this.jQ).add(this.jQ)}},e.latex=function(){return"\\"+this.ends[g].latex()+" "},e.renderCommand=function(e){this.jQ=this.jQ.last(),this.remove(),this[m]?e.insLeftOf(this[m]):e.insAtRightEnd(this.parent);var t=this.ends[g].latex();t||(t=" ");var n=w[t]||Ge[t];n?(n=n(t),this._replacedFragment&&n.replaces(this._replacedFragment),n.createLeftOf(e)):((n=X()).replaces(t),n.createLeftOf(e),e.insRightOf(n),this._replacedFragment&&this._replacedFragment.remove())}})),z(1));for(var He in We)!function(e,t){"function"==typeof t?(O[e]=function(){return L(),t.apply(this,arguments)},O[e].prototype=t.prototype):O[e]=t}(He,We[He]);"object"==typeof e.exports&&(e.exports=O)}()},2779:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var a=i.apply(null,n);a&&e.push(a)}}else if("object"===o){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var s in n)r.call(n,s)&&n[s]&&e.push(s)}}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},9714:e=>{"use strict";var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===n}(e)}(e)},n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?s((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function i(e,t,n){return e.concat(t).map((function(e){return r(e,n)}))}function o(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function a(e,t){try{return t in e}catch(e){return!1}}function s(e,n,l){(l=l||{}).arrayMerge=l.arrayMerge||i,l.isMergeableObject=l.isMergeableObject||t,l.cloneUnlessOtherwiseSpecified=r;var c=Array.isArray(n);return c===Array.isArray(e)?c?l.arrayMerge(e,n,l):function(e,t,n){var i={};return n.isMergeableObject(e)&&o(e).forEach((function(t){i[t]=r(e[t],n)})),o(t).forEach((function(o){(function(e,t){return a(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,o)||(a(e,o)&&n.isMergeableObject(t[o])?i[o]=function(e,t){if(!t.customMerge)return s;var n=t.customMerge(e);return"function"==typeof n?n:s}(o,n)(e[o],t[o],n):i[o]=r(t[o],n))})),i}(e,n,l):r(n,l)}s.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return s(e,n,t)}),{})};var l=s;e.exports=l},6594:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attributeNames=t.elementNames=void 0,t.elementNames=new Map([["altglyph","altGlyph"],["altglyphdef","altGlyphDef"],["altglyphitem","altGlyphItem"],["animatecolor","animateColor"],["animatemotion","animateMotion"],["animatetransform","animateTransform"],["clippath","clipPath"],["feblend","feBlend"],["fecolormatrix","feColorMatrix"],["fecomponenttransfer","feComponentTransfer"],["fecomposite","feComposite"],["feconvolvematrix","feConvolveMatrix"],["fediffuselighting","feDiffuseLighting"],["fedisplacementmap","feDisplacementMap"],["fedistantlight","feDistantLight"],["fedropshadow","feDropShadow"],["feflood","feFlood"],["fefunca","feFuncA"],["fefuncb","feFuncB"],["fefuncg","feFuncG"],["fefuncr","feFuncR"],["fegaussianblur","feGaussianBlur"],["feimage","feImage"],["femerge","feMerge"],["femergenode","feMergeNode"],["femorphology","feMorphology"],["feoffset","feOffset"],["fepointlight","fePointLight"],["fespecularlighting","feSpecularLighting"],["fespotlight","feSpotLight"],["fetile","feTile"],["feturbulence","feTurbulence"],["foreignobject","foreignObject"],["glyphref","glyphRef"],["lineargradient","linearGradient"],["radialgradient","radialGradient"],["textpath","textPath"]]),t.attributeNames=new Map([["definitionurl","definitionURL"],["attributename","attributeName"],["attributetype","attributeType"],["basefrequency","baseFrequency"],["baseprofile","baseProfile"],["calcmode","calcMode"],["clippathunits","clipPathUnits"],["diffuseconstant","diffuseConstant"],["edgemode","edgeMode"],["filterunits","filterUnits"],["glyphref","glyphRef"],["gradienttransform","gradientTransform"],["gradientunits","gradientUnits"],["kernelmatrix","kernelMatrix"],["kernelunitlength","kernelUnitLength"],["keypoints","keyPoints"],["keysplines","keySplines"],["keytimes","keyTimes"],["lengthadjust","lengthAdjust"],["limitingconeangle","limitingConeAngle"],["markerheight","markerHeight"],["markerunits","markerUnits"],["markerwidth","markerWidth"],["maskcontentunits","maskContentUnits"],["maskunits","maskUnits"],["numoctaves","numOctaves"],["pathlength","pathLength"],["patterncontentunits","patternContentUnits"],["patterntransform","patternTransform"],["patternunits","patternUnits"],["pointsatx","pointsAtX"],["pointsaty","pointsAtY"],["pointsatz","pointsAtZ"],["preservealpha","preserveAlpha"],["preserveaspectratio","preserveAspectRatio"],["primitiveunits","primitiveUnits"],["refx","refX"],["refy","refY"],["repeatcount","repeatCount"],["repeatdur","repeatDur"],["requiredextensions","requiredExtensions"],["requiredfeatures","requiredFeatures"],["specularconstant","specularConstant"],["specularexponent","specularExponent"],["spreadmethod","spreadMethod"],["startoffset","startOffset"],["stddeviation","stdDeviation"],["stitchtiles","stitchTiles"],["surfacescale","surfaceScale"],["systemlanguage","systemLanguage"],["tablevalues","tableValues"],["targetx","targetX"],["targety","targetY"],["textlength","textLength"],["viewbox","viewBox"],["viewtarget","viewTarget"],["xchannelselector","xChannelSelector"],["ychannelselector","yChannelSelector"],["zoomandpan","zoomAndPan"]])},606:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=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}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&i(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});var s=a(n(4821)),l=n(5924),c=n(6594),u=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]),d=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function f(e,t){void 0===t&&(t={});for(var n=Array.isArray(e)||e.cheerio?e:[e],r="",i=0;i<n.length;i++)r+=p(n[i],t);return r}function p(e,t){switch(e.type){case s.Root:return f(e.children,t);case s.Directive:case s.Doctype:return"<"+e.data+">";case s.Comment:return"\x3c!--"+e.data+"--\x3e";case s.CDATA:return function(e){return"<![CDATA["+e.children[0].data+"]]>"}(e);case s.Script:case s.Style:case s.Tag:return function(e,t){var n;"foreign"===t.xmlMode&&(e.name=null!==(n=c.elementNames.get(e.name))&&void 0!==n?n:e.name,e.parent&&h.has(e.parent.name)&&(t=r(r({},t),{xmlMode:!1}))),!t.xmlMode&&g.has(e.name)&&(t=r(r({},t),{xmlMode:"foreign"}));var i="<"+e.name,o=function(e,t){if(e)return Object.keys(e).map((function(n){var r,i,o=null!==(r=e[n])&&void 0!==r?r:"";return"foreign"===t.xmlMode&&(n=null!==(i=c.attributeNames.get(n))&&void 0!==i?i:n),t.emptyAttrs||t.xmlMode||""!==o?n+'="'+(t.decodeEntities?l.encodeXML(o):o.replace(/"/g,"""))+'"':n})).join(" ")}(e.attribs,t);return o&&(i+=" "+o),0===e.children.length&&(t.xmlMode?!1!==t.selfClosingTags:t.selfClosingTags&&d.has(e.name))?(t.xmlMode||(i+=" "),i+="/>"):(i+=">",e.children.length>0&&(i+=f(e.children,t)),!t.xmlMode&&d.has(e.name)||(i+="</"+e.name+">")),i}(e,t);case s.Text:return function(e,t){var n=e.data||"";return!t.decodeEntities||e.parent&&u.has(e.parent.name)||(n=l.encodeXML(n)),n}(e,t)}}t.default=f;var h=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),g=new Set(["svg","math"])},4821:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isTag=function(e){return"tag"===e.type||"script"===e.type||"style"===e.type},t.Text="text",t.Directive="directive",t.Comment="comment",t.Script="script",t.Style="style",t.Tag="tag",t.CDATA="cdata",t.Doctype="doctype"},9959: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]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var o=n(5538);i(n(5538),t);var a=/\s+/g,s={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1},l=function(){function e(e,t,n){this.dom=[],this.root=new o.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=s),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:s,this.elementCB=null!=n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){var e;this.dom=[],this.root=new o.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null!==(e=this.parser)&&void 0!==e?e:null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=new o.Element(e,t);this.addNode(n),this.tagStack.push(n)},e.prototype.ontext=function(e){var t=this.options.normalizeWhitespace,n=this.lastNode;if(n&&"text"===n.type)t?n.data=(n.data+e).replace(a," "):n.data+=e;else{t&&(e=e.replace(a," "));var r=new o.Text(e);this.addNode(r),this.lastNode=r}},e.prototype.oncomment=function(e){if(this.lastNode&&"comment"===this.lastNode.type)this.lastNode.data+=e;else{var t=new o.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new o.Text(""),t=new o.NodeWithChildren("cdata",[e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new o.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e.prototype.addDataNode=function(e){this.addNode(e),this.lastNode=e},e}();t.DomHandler=l,t.default=l},5538:function(e,t){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.Element=t.Document=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var o=new Map([["tag",1],["script",1],["style",1],["directive",1],["text",3],["cdata",4],["comment",8],["root",9]]),a=function(){function e(e){this.type=e,this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"nodeType",{get:function(){var e;return null!==(e=o.get(this.type))&&void 0!==e?e:1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),h(this,e)},e}();t.Node=a;var s=function(e){function t(t,n){var r=e.call(this,t)||this;return r.data=n,r}return r(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(a);t.DataNode=s;var l=function(e){function t(t){return e.call(this,"text",t)||this}return r(t,e),t}(s);t.Text=l;var c=function(e){function t(t){return e.call(this,"comment",t)||this}return r(t,e),t}(s);t.Comment=c;var u=function(e){function t(t,n){var r=e.call(this,"directive",n)||this;return r.name=t,r}return r(t,e),t}(s);t.ProcessingInstruction=u;var d=function(e){function t(t,n){var r=e.call(this,t)||this;return r.children=n,r}return r(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(a);t.NodeWithChildren=d;var f=function(e){function t(t){return e.call(this,"root",t)||this}return r(t,e),t}(d);t.Document=f;var p=function(e){function t(t,n,r){void 0===r&&(r=[]);var i=e.call(this,"script"===t?"script":"style"===t?"style":"tag",r)||this;return i.name=t,i.attribs=n,i.attribs=n,i}return r(t,e),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),t}(d);function h(e,t){var n;switch(void 0===t&&(t=!1),e.type){case"text":n=new l(e.data);break;case"directive":var r=e;n=new u(r.name,r.data),null!=r["x-name"]&&(n["x-name"]=r["x-name"],n["x-publicId"]=r["x-publicId"],n["x-systemId"]=r["x-systemId"]);break;case"comment":n=new c(e.data);break;case"tag":case"script":case"style":var o=e,a=t?g(o.children):[],s=new p(o.name,i({},o.attribs),a);a.forEach((function(e){return e.parent=s})),o["x-attribsNamespace"]&&(s["x-attribsNamespace"]=i({},o["x-attribsNamespace"])),o["x-attribsPrefix"]&&(s["x-attribsPrefix"]=i({},o["x-attribsPrefix"])),n=s;break;case"cdata":a=t?g(e.children):[];var h=new d(e.type,a);a.forEach((function(e){return e.parent=h})),n=h;break;case"root":var m=e,y=(a=t?g(m.children):[],new f(a));a.forEach((function(e){return e.parent=y})),m["x-mode"]&&(y["x-mode"]=m["x-mode"]),n=y;break;case"doctype":throw new Error("Not implemented yet: ElementType.Doctype case")}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,n}function g(e){for(var t=e.map((function(e){return h(e,!0)})),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}t.Element=p,t.cloneNode=h},7065:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFeed=void 0;var r=n(7559),i=n(5310);t.getFeed=function(e){var t=l(d,e);return t?"feed"===t.name?function(e){var t,n=e.children,r={type:"atom",items:(0,i.getElementsByTagName)("entry",n).map((function(e){var t,n=e.children,r={media:s(n)};u(r,"id","id",n),u(r,"title","title",n);var i=null===(t=l("link",n))||void 0===t?void 0:t.attribs.href;i&&(r.link=i);var o=c("summary",n)||c("content",n);o&&(r.description=o);var a=c("updated",n);return a&&(r.pubDate=new Date(a)),r}))};u(r,"id","id",n),u(r,"title","title",n);var o=null===(t=l("link",n))||void 0===t?void 0:t.attribs.href;o&&(r.link=o),u(r,"description","subtitle",n);var a=c("updated",n);return a&&(r.updated=new Date(a)),u(r,"author","email",n,!0),r}(t):function(e){var t,n,r=null!==(n=null===(t=l("channel",e.children))||void 0===t?void 0:t.children)&&void 0!==n?n:[],o={type:e.name.substr(0,3),id:"",items:(0,i.getElementsByTagName)("item",e.children).map((function(e){var t=e.children,n={media:s(t)};u(n,"id","guid",t),u(n,"title","title",t),u(n,"link","link",t),u(n,"description","description",t);var r=c("pubDate",t);return r&&(n.pubDate=new Date(r)),n}))};u(o,"title","title",r),u(o,"link","link",r),u(o,"description","description",r);var a=c("lastBuildDate",r);return a&&(o.updated=new Date(a)),u(o,"author","managingEditor",r,!0),o}(t):null};var o=["url","type","lang"],a=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function s(e){return(0,i.getElementsByTagName)("media:content",e).map((function(e){for(var t=e.attribs,n={medium:t.medium,isDefault:!!t.isDefault},r=0,i=o;r<i.length;r++)t[c=i[r]]&&(n[c]=t[c]);for(var s=0,l=a;s<l.length;s++){var c;t[c=l[s]]&&(n[c]=parseInt(t[c],10))}return t.expression&&(n.expression=t.expression),n}))}function l(e,t){return(0,i.getElementsByTagName)(e,t,!0,1)[0]}function c(e,t,n){return void 0===n&&(n=!1),(0,r.textContent)((0,i.getElementsByTagName)(e,t,n,1)).trim()}function u(e,t,n,r,i){void 0===i&&(i=!1);var o=c(n,r,i);o&&(e[t]=o)}function d(e){return"rss"===e||"feed"===e||"rdf:RDF"===e}},2880:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uniqueSort=t.compareDocumentPosition=t.removeSubsets=void 0;var r=n(1622);function i(e,t){var n=[],i=[];if(e===t)return 0;for(var o=(0,r.hasChildren)(e)?e:e.parent;o;)n.unshift(o),o=o.parent;for(o=(0,r.hasChildren)(t)?t:t.parent;o;)i.unshift(o),o=o.parent;for(var a=Math.min(n.length,i.length),s=0;s<a&&n[s]===i[s];)s++;if(0===s)return 1;var l=n[s-1],c=l.children,u=n[s],d=i[s];return c.indexOf(u)>c.indexOf(d)?l===t?20:4:l===e?10:2}t.removeSubsets=function(e){for(var t=e.length;--t>=0;){var n=e[t];if(t>0&&e.lastIndexOf(n,t-1)>=0)e.splice(t,1);else for(var r=n.parent;r;r=r.parent)if(e.includes(r)){e.splice(t,1);break}}return e},t.compareDocumentPosition=i,t.uniqueSort=function(e){return(e=e.filter((function(e,t,n){return!n.includes(e,t+1)}))).sort((function(e,t){var n=i(e,t);return 2&n?-1:4&n?1:0})),e}},4622: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]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.hasChildren=t.isDocument=t.isComment=t.isText=t.isCDATA=t.isTag=void 0,i(n(7559),t),i(n(6304),t),i(n(7427),t),i(n(7853),t),i(n(5310),t),i(n(2880),t),i(n(7065),t);var o=n(1622);Object.defineProperty(t,"isTag",{enumerable:!0,get:function(){return o.isTag}}),Object.defineProperty(t,"isCDATA",{enumerable:!0,get:function(){return o.isCDATA}}),Object.defineProperty(t,"isText",{enumerable:!0,get:function(){return o.isText}}),Object.defineProperty(t,"isComment",{enumerable:!0,get:function(){return o.isComment}}),Object.defineProperty(t,"isDocument",{enumerable:!0,get:function(){return o.isDocument}}),Object.defineProperty(t,"hasChildren",{enumerable:!0,get:function(){return o.hasChildren}})},5310:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getElementsByTagType=t.getElementsByTagName=t.getElementById=t.getElements=t.testElement=void 0;var r=n(1622),i=n(7853),o={tag_name:function(e){return"function"==typeof e?function(t){return(0,r.isTag)(t)&&e(t.name)}:"*"===e?r.isTag:function(t){return(0,r.isTag)(t)&&t.name===e}},tag_type:function(e){return"function"==typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return"function"==typeof e?function(t){return(0,r.isText)(t)&&e(t.data)}:function(t){return(0,r.isText)(t)&&t.data===e}}};function a(e,t){return"function"==typeof t?function(n){return(0,r.isTag)(n)&&t(n.attribs[e])}:function(n){return(0,r.isTag)(n)&&n.attribs[e]===t}}function s(e,t){return function(n){return e(n)||t(n)}}function l(e){var t=Object.keys(e).map((function(t){var n=e[t];return Object.prototype.hasOwnProperty.call(o,t)?o[t](n):a(t,n)}));return 0===t.length?null:t.reduce(s)}t.testElement=function(e,t){var n=l(e);return!n||n(t)},t.getElements=function(e,t,n,r){void 0===r&&(r=1/0);var o=l(e);return o?(0,i.filter)(o,t,n,r):[]},t.getElementById=function(e,t,n){return void 0===n&&(n=!0),Array.isArray(t)||(t=[t]),(0,i.findOne)(a("id",e),t,n)},t.getElementsByTagName=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=1/0),(0,i.filter)(o.tag_name(e),t,n,r)},t.getElementsByTagType=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=1/0),(0,i.filter)(o.tag_type(e),t,n,r)}},7427:(e,t)=>{"use strict";function n(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children;t.splice(t.lastIndexOf(e),1)}}Object.defineProperty(t,"__esModule",{value:!0}),t.prepend=t.prependChild=t.append=t.appendChild=t.replaceElement=t.removeElement=void 0,t.removeElement=n,t.replaceElement=function(e,t){var n=t.prev=e.prev;n&&(n.next=t);var r=t.next=e.next;r&&(r.prev=t);var i=t.parent=e.parent;if(i){var o=i.children;o[o.lastIndexOf(e)]=t}},t.appendChild=function(e,t){if(n(t),t.next=null,t.parent=e,e.children.push(t)>1){var r=e.children[e.children.length-2];r.next=t,t.prev=r}else t.prev=null},t.append=function(e,t){n(t);var r=e.parent,i=e.next;if(t.next=i,t.prev=e,e.next=t,t.parent=r,i){if(i.prev=t,r){var o=r.children;o.splice(o.lastIndexOf(i),0,t)}}else r&&r.children.push(t)},t.prependChild=function(e,t){if(n(t),t.parent=e,t.prev=null,1!==e.children.unshift(t)){var r=e.children[1];r.prev=t,t.next=r}else t.next=null},t.prepend=function(e,t){n(t);var r=e.parent;if(r){var i=r.children;i.splice(i.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=r,t.prev=e.prev,t.next=e,e.prev=t}},7853:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findAll=t.existsOne=t.findOne=t.findOneChild=t.find=t.filter=void 0;var r=n(1622);function i(e,t,n,o){for(var a=[],s=0,l=t;s<l.length;s++){var c=l[s];if(e(c)&&(a.push(c),--o<=0))break;if(n&&(0,r.hasChildren)(c)&&c.children.length>0){var u=i(e,c.children,n,o);if(a.push.apply(a,u),(o-=u.length)<=0)break}}return a}t.filter=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=1/0),Array.isArray(t)||(t=[t]),i(e,t,n,r)},t.find=i,t.findOneChild=function(e,t){return t.find(e)},t.findOne=function e(t,n,i){void 0===i&&(i=!0);for(var o=null,a=0;a<n.length&&!o;a++){var s=n[a];(0,r.isTag)(s)&&(t(s)?o=s:i&&s.children.length>0&&(o=e(t,s.children)))}return o},t.existsOne=function e(t,n){return n.some((function(n){return(0,r.isTag)(n)&&(t(n)||n.children.length>0&&e(t,n.children))}))},t.findAll=function(e,t){for(var n,i,o=[],a=t.filter(r.isTag);i=a.shift();){var s=null===(n=i.children)||void 0===n?void 0:n.filter(r.isTag);s&&s.length>0&&a.unshift.apply(a,s),e(i)&&o.push(i)}return o}},7559: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}),t.innerText=t.textContent=t.getText=t.getInnerHTML=t.getOuterHTML=void 0;var i=n(1622),o=r(n(606)),a=n(2030);function s(e,t){return(0,o.default)(e,t)}t.getOuterHTML=s,t.getInnerHTML=function(e,t){return(0,i.hasChildren)(e)?e.children.map((function(e){return s(e,t)})).join(""):""},t.getText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.isTag)(t)?"br"===t.name?"\n":e(t.children):(0,i.isCDATA)(t)?e(t.children):(0,i.isText)(t)?t.data:""},t.textContent=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.hasChildren)(t)&&!(0,i.isComment)(t)?e(t.children):(0,i.isText)(t)?t.data:""},t.innerText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.hasChildren)(t)&&(t.type===a.ElementType.Tag||(0,i.isCDATA)(t))?e(t.children):(0,i.isText)(t)?t.data:""}},6304:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.prevElementSibling=t.nextElementSibling=t.getName=t.hasAttrib=t.getAttributeValue=t.getSiblings=t.getParent=t.getChildren=void 0;var r=n(1622),i=[];function o(e){var t;return null!==(t=e.children)&&void 0!==t?t:i}function a(e){return e.parent||null}t.getChildren=o,t.getParent=a,t.getSiblings=function(e){var t=a(e);if(null!=t)return o(t);for(var n=[e],r=e.prev,i=e.next;null!=r;)n.unshift(r),r=r.prev;for(;null!=i;)n.push(i),i=i.next;return n},t.getAttributeValue=function(e,t){var n;return null===(n=e.attribs)||void 0===n?void 0:n[t]},t.hasAttrib=function(e,t){return null!=e.attribs&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&null!=e.attribs[t]},t.getName=function(e){return e.name},t.nextElementSibling=function(e){for(var t=e.next;null!==t&&!(0,r.isTag)(t);)t=t.next;return t},t.prevElementSibling=function(e){for(var t=e.prev;null!==t&&!(0,r.isTag)(t);)t=t.prev;return t}},2030:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(n=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},1622: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]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var o=n(2030),a=n(9219);i(n(9219),t);var s=/\s+/g,l={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1},c=function(){function e(e,t,n){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=l),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:l,this.elementCB=null!=n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){var e;this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null!==(e=this.parser)&&void 0!==e?e:null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?o.ElementType.Tag:void 0,r=new a.Element(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)},e.prototype.ontext=function(e){var t=this.options.normalizeWhitespace,n=this.lastNode;if(n&&n.type===o.ElementType.Text)t?n.data=(n.data+e).replace(s," "):n.data+=e;else{t&&(e=e.replace(s," "));var r=new a.Text(e);this.addNode(r),this.lastNode=r}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===o.ElementType.Comment)this.lastNode.data+=e;else{var t=new a.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new a.Text(""),t=new a.NodeWithChildren(o.ElementType.CDATA,[e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new a.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=c,t.default=c},9219:function(e,t,n){"use strict";var r,i=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)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var a=n(2030),s=new Map([[a.ElementType.Tag,1],[a.ElementType.Script,1],[a.ElementType.Style,1],[a.ElementType.Directive,1],[a.ElementType.Text,3],[a.ElementType.CDATA,4],[a.ElementType.Comment,8],[a.ElementType.Root,9]]),l=function(){function e(e){this.type=e,this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"nodeType",{get:function(){var e;return null!==(e=s.get(this.type))&&void 0!==e?e:1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),M(this,e)},e}();t.Node=l;var c=function(e){function t(t,n){var r=e.call(this,t)||this;return r.data=n,r}return i(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(l);t.DataNode=c;var u=function(e){function t(t){return e.call(this,a.ElementType.Text,t)||this}return i(t,e),t}(c);t.Text=u;var d=function(e){function t(t){return e.call(this,a.ElementType.Comment,t)||this}return i(t,e),t}(c);t.Comment=d;var f=function(e){function t(t,n){var r=e.call(this,a.ElementType.Directive,n)||this;return r.name=t,r}return i(t,e),t}(c);t.ProcessingInstruction=f;var p=function(e){function t(t,n){var r=e.call(this,t)||this;return r.children=n,r}return i(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(l);t.NodeWithChildren=p;var h=function(e){function t(t){return e.call(this,a.ElementType.Root,t)||this}return i(t,e),t}(p);t.Document=h;var g=function(e){function t(t,n,r,i){void 0===r&&(r=[]),void 0===i&&(i="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var o=e.call(this,i,r)||this;return o.name=t,o.attribs=n,o}return i(t,e),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),t}(p);function m(e){return a.isTag(e)}function y(e){return e.type===a.ElementType.CDATA}function v(e){return e.type===a.ElementType.Text}function b(e){return e.type===a.ElementType.Comment}function I(e){return e.type===a.ElementType.Directive}function x(e){return e.type===a.ElementType.Root}function M(e,t){var n;if(void 0===t&&(t=!1),v(e))n=new u(e.data);else if(b(e))n=new d(e.data);else if(m(e)){var r=t?w(e.children):[],i=new g(e.name,o({},e.attribs),r);r.forEach((function(e){return e.parent=i})),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=o({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=o({},e["x-attribsPrefix"])),n=i}else if(y(e)){r=t?w(e.children):[];var s=new p(a.ElementType.CDATA,r);r.forEach((function(e){return e.parent=s})),n=s}else if(x(e)){r=t?w(e.children):[];var l=new h(r);r.forEach((function(e){return e.parent=l})),e["x-mode"]&&(l["x-mode"]=e["x-mode"]),n=l}else{if(!I(e))throw new Error("Not implemented yet: "+e.type);var c=new f(e.name,e.data);null!=e["x-name"]&&(c["x-name"]=e["x-name"],c["x-publicId"]=e["x-publicId"],c["x-systemId"]=e["x-systemId"]),n=c}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,n}function w(e){for(var t=e.map((function(e){return M(e,!0)})),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}t.Element=g,t.isTag=m,t.isCDATA=y,t.isText=v,t.isComment=b,t.isDirective=I,t.isDocument=x,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=M},4899:(e,t)=>{"use strict";if("function"==typeof Symbol&&Symbol.for){var n=Symbol.for;n("react.element"),n("react.portal"),n("react.fragment"),n("react.strict_mode"),n("react.profiler"),n("react.provider"),n("react.context"),n("react.forward_ref"),n("react.suspense"),n("react.suspense_list"),n("react.memo"),n("react.lazy"),n("react.block"),n("react.server.block"),n("react.fundamental"),n("react.debug_trace_mode"),n("react.legacy_hidden")}},8041:(e,t,n)=>{"use strict";n(4899)},3094: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 i=r(n(2059)),o=r(n(2184)),a=r(n(1542)),s=r(n(105));function l(e){var t=Object.keys(e).join("|"),n=u(e),r=new RegExp("&(?:"+(t+="|#[xX][\\da-fA-F]+|#\\d+")+");","g");return function(e){return String(e).replace(r,n)}}t.decodeXML=l(a.default),t.decodeHTMLStrict=l(i.default);var c=function(e,t){return e<t?1:-1};function u(e){return function(t){return"#"===t.charAt(1)?"X"===t.charAt(2)||"x"===t.charAt(2)?s.default(parseInt(t.substr(3),16)):s.default(parseInt(t.substr(2),10)):e[t.slice(1,-1)]}}t.decodeHTML=function(){for(var e=Object.keys(o.default).sort(c),t=Object.keys(i.default).sort(c),n=0,r=0;n<t.length;n++)e[r]===t[n]?(t[n]+=";?",r++):t[n]+=";";var a=new RegExp("&(?:"+t.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),s=u(i.default);function l(e){return";"!==e.substr(-1)&&(e+=";"),s(e)}return function(e){return String(e).replace(a,l)}}()},105: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 i=r(n(9388));t.default=function(e){if(e>=55296&&e<=57343||e>1114111)return"�";e in i.default&&(e=i.default[e]);var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+String.fromCharCode(e)}},1029: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 i=l(r(n(1542)).default),o=c(i);t.encodeXML=h(i,o);var a=l(r(n(2059)).default),s=c(a);function l(e){return Object.keys(e).sort().reduce((function(t,n){return t[e[n]]="&"+n+";",t}),{})}function c(e){var t=[],n=[];return Object.keys(e).forEach((function(e){return 1===e.length?t.push("\\"+e):n.push(e)})),n.unshift("["+t.join("")+"]"),new RegExp(n.join("|"),"g")}t.encodeHTML=h(a,s);var u=/[^\0-\x7F]/g,d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function f(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}function p(e,t){return"&#x"+(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536).toString(16).toUpperCase()+";"}function h(e,t){return function(n){return n.replace(t,(function(t){return e[t]})).replace(d,p).replace(u,f)}}var g=c(i);t.escape=function(e){return e.replace(g,f).replace(d,p).replace(u,f)}},5924:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3094),i=n(1029);t.decode=function(e,t){return(!t||t<=0?r.decodeXML:r.decodeHTML)(e)},t.decodeStrict=function(e,t){return(!t||t<=0?r.decodeXML:r.decodeHTMLStrict)(e)},t.encode=function(e,t){return(!t||t<=0?i.encodeXML:i.encodeHTML)(e)};var o=n(1029);t.encodeXML=o.encodeXML,t.encodeHTML=o.encodeHTML,t.escape=o.escape,t.encodeHTML4=o.encodeHTML,t.encodeHTML5=o.encodeHTML;var a=n(3094);t.decodeXML=a.decodeXML,t.decodeHTML=a.decodeHTML,t.decodeHTMLStrict=a.decodeHTMLStrict,t.decodeHTML4=a.decodeHTML,t.decodeHTML5=a.decodeHTML,t.decodeHTML4Strict=a.decodeHTMLStrict,t.decodeHTML5Strict=a.decodeHTMLStrict,t.decodeXMLStrict=a.decodeXML},5082:e=>{!function(){function t(e,t){document.addEventListener?e.addEventListener("scroll",t,!1):e.attachEvent("scroll",t)}function n(e){this.g=document.createElement("div"),this.g.setAttribute("aria-hidden","true"),this.g.appendChild(document.createTextNode(e)),this.h=document.createElement("span"),this.i=document.createElement("span"),this.m=document.createElement("span"),this.j=document.createElement("span"),this.l=-1,this.h.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.i.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.j.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.m.style.cssText="display:inline-block;width:200%;height:200%;font-size:16px;max-width:none;",this.h.appendChild(this.m),this.i.appendChild(this.j),this.g.appendChild(this.h),this.g.appendChild(this.i)}function r(e,t){e.g.style.cssText="max-width:none;min-width:20px;min-height:20px;display:inline-block;overflow:hidden;position:absolute;width:auto;margin:0;padding:0;top:-999px;white-space:nowrap;font-synthesis:none;font:"+t+";"}function i(e){var t=e.g.offsetWidth,n=t+100;return e.j.style.width=n+"px",e.i.scrollLeft=n,e.h.scrollLeft=e.h.scrollWidth+100,e.l!==t&&(e.l=t,!0)}function o(e,n){function r(){var e=o;i(e)&&null!==e.g.parentNode&&n(e.l)}var o=e;t(e.h,r),t(e.i,r),i(e)}function a(e,t,n){t=t||{},n=n||window,this.family=e,this.style=t.style||"normal",this.weight=t.weight||"normal",this.stretch=t.stretch||"normal",this.context=n}var s=null,l=null,c=null,u=null;function d(e){return null===u&&(u=!!e.document.fonts),u}function f(e,t){var n=e.style,r=e.weight;if(null===c){var i=document.createElement("div");try{i.style.font="condensed 100px sans-serif"}catch(e){}c=""!==i.style.font}return[n,r,c?e.stretch:"","100px",t].join(" ")}a.prototype.load=function(e,t){var i=this,a=e||"BESbswy",c=0,u=t||3e3,p=(new Date).getTime();return new Promise((function(e,t){if(d(i.context)&&!function(e){return null===l&&(d(e)&&/Apple/.test(window.navigator.vendor)?(e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))(?:\.([0-9]+))/.exec(window.navigator.userAgent),l=!!e&&603>parseInt(e[1],10)):l=!1),l}(i.context)){var h=new Promise((function(e,t){!function n(){(new Date).getTime()-p>=u?t(Error(u+"ms timeout exceeded")):i.context.document.fonts.load(f(i,'"'+i.family+'"'),a).then((function(t){1<=t.length?e():setTimeout(n,25)}),t)}()})),g=new Promise((function(e,t){c=setTimeout((function(){t(Error(u+"ms timeout exceeded"))}),u)}));Promise.race([g,h]).then((function(){clearTimeout(c),e(i)}),t)}else!function(e){document.body?e():document.addEventListener?document.addEventListener("DOMContentLoaded",(function t(){document.removeEventListener("DOMContentLoaded",t),e()})):document.attachEvent("onreadystatechange",(function t(){"interactive"!=document.readyState&&"complete"!=document.readyState||(document.detachEvent("onreadystatechange",t),e())}))}((function(){function l(){var t;(t=-1!=m&&-1!=y||-1!=m&&-1!=v||-1!=y&&-1!=v)&&((t=m!=y&&m!=v&&y!=v)||(null===s&&(t=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent),s=!!t&&(536>parseInt(t[1],10)||536===parseInt(t[1],10)&&11>=parseInt(t[2],10))),t=s&&(m==b&&y==b&&v==b||m==I&&y==I&&v==I||m==x&&y==x&&v==x)),t=!t),t&&(null!==M.parentNode&&M.parentNode.removeChild(M),clearTimeout(c),e(i))}var d=new n(a),h=new n(a),g=new n(a),m=-1,y=-1,v=-1,b=-1,I=-1,x=-1,M=document.createElement("div");M.dir="ltr",r(d,f(i,"sans-serif")),r(h,f(i,"serif")),r(g,f(i,"monospace")),M.appendChild(d.g),M.appendChild(h.g),M.appendChild(g.g),i.context.document.body.appendChild(M),b=d.g.offsetWidth,I=h.g.offsetWidth,x=g.g.offsetWidth,function e(){if((new Date).getTime()-p>=u)null!==M.parentNode&&M.parentNode.removeChild(M),t(Error(u+"ms timeout exceeded"));else{var n=i.context.document.hidden;!0!==n&&void 0!==n||(m=d.g.offsetWidth,y=h.g.offsetWidth,v=g.g.offsetWidth,l()),c=setTimeout(e,50)}}(),o(d,(function(e){m=e,l()})),r(d,f(i,'"'+i.family+'",sans-serif')),o(h,(function(e){y=e,l()})),r(h,f(i,'"'+i.family+'",serif')),o(g,(function(e){v=e,l()})),r(g,f(i,'"'+i.family+'",monospace'))}))}))},e.exports=a}()},3463:(e,t,n)=>{"use strict";var r=n(3887),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var i=p(n);i&&i!==h&&e(t,i,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=l(t),g=l(n),m=0;m<a.length;++m){var y=a[m];if(!(o[y]||r&&r[y]||g&&g[y]||s&&s[y])){var v=f(n,y);try{c(t,y,v)}catch(e){}}}}return t}},3459:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,I=n?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case o:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case c:case f:case m:case g:case l:return e;default:return t}}case i:return t}}}function M(e){return x(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=o,t.Lazy=m,t.Memo=g,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return M(e)||x(e)===u},t.isConcurrentMode=M,t.isContextConsumer=function(e){return x(e)===c},t.isContextProvider=function(e){return x(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return x(e)===f},t.isFragment=function(e){return x(e)===o},t.isLazy=function(e){return x(e)===m},t.isMemo=function(e){return x(e)===g},t.isPortal=function(e){return x(e)===i},t.isProfiler=function(e){return x(e)===s},t.isStrictMode=function(e){return x(e)===a},t.isSuspense=function(e){return x(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===s||e===a||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===g||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===v||e.$$typeof===b||e.$$typeof===I||e.$$typeof===y)},t.typeOf=x},3887:(e,t,n)=>{"use strict";e.exports=n(3459)},4163:function(e,t,n){"use strict";var r,i=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)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=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]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return a(t,e),t},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.parseFeed=t.FeedHandler=void 0;var c,u,d=l(n(9959)),f=s(n(4622)),p=n(5233);!function(e){e[e.image=0]="image",e[e.audio=1]="audio",e[e.video=2]="video",e[e.document=3]="document",e[e.executable=4]="executable"}(c||(c={})),function(e){e[e.sample=0]="sample",e[e.full=1]="full",e[e.nonstop=2]="nonstop"}(u||(u={}));var h=function(e){function t(t,n){return"object"==typeof t&&(n=t=void 0),e.call(this,t,n)||this}return i(t,e),t.prototype.onend=function(){var e,t,n=y(x,this.dom);if(n){var r={};if("feed"===n.name){var i=n.children;r.type="atom",I(r,"id","id",i),I(r,"title","title",i);var o=b("href",y("link",i));o&&(r.link=o),I(r,"description","subtitle",i),(a=v("updated",i))&&(r.updated=new Date(a)),I(r,"author","email",i,!0),r.items=m("entry",i).map((function(e){var t={},n=e.children;I(t,"id","id",n),I(t,"title","title",n);var r=b("href",y("link",n));r&&(t.link=r);var i=v("summary",n)||v("content",n);i&&(t.description=i);var o=v("updated",n);return o&&(t.pubDate=new Date(o)),t.media=g(n),t}))}else{var a;i=null!==(t=null===(e=y("channel",n.children))||void 0===e?void 0:e.children)&&void 0!==t?t:[],r.type=n.name.substr(0,3),r.id="",I(r,"title","title",i),I(r,"link","link",i),I(r,"description","description",i),(a=v("lastBuildDate",i))&&(r.updated=new Date(a)),I(r,"author","managingEditor",i,!0),r.items=m("item",n.children).map((function(e){var t={},n=e.children;I(t,"id","guid",n),I(t,"title","title",n),I(t,"link","link",n),I(t,"description","description",n);var r=v("pubDate",n);return r&&(t.pubDate=new Date(r)),t.media=g(n),t}))}this.feed=r,this.handleCallback(null)}else this.handleCallback(new Error("couldn't find root of feed"))},t}(d.default);function g(e){return m("media:content",e).map((function(e){var t={medium:e.attribs.medium,isDefault:!!e.attribs.isDefault};return e.attribs.url&&(t.url=e.attribs.url),e.attribs.fileSize&&(t.fileSize=parseInt(e.attribs.fileSize,10)),e.attribs.type&&(t.type=e.attribs.type),e.attribs.expression&&(t.expression=e.attribs.expression),e.attribs.bitrate&&(t.bitrate=parseInt(e.attribs.bitrate,10)),e.attribs.framerate&&(t.framerate=parseInt(e.attribs.framerate,10)),e.attribs.samplingrate&&(t.samplingrate=parseInt(e.attribs.samplingrate,10)),e.attribs.channels&&(t.channels=parseInt(e.attribs.channels,10)),e.attribs.duration&&(t.duration=parseInt(e.attribs.duration,10)),e.attribs.height&&(t.height=parseInt(e.attribs.height,10)),e.attribs.width&&(t.width=parseInt(e.attribs.width,10)),e.attribs.lang&&(t.lang=e.attribs.lang),t}))}function m(e,t){return f.getElementsByTagName(e,t,!0)}function y(e,t){return f.getElementsByTagName(e,t,!0,1)[0]}function v(e,t,n){return void 0===n&&(n=!1),f.getText(f.getElementsByTagName(e,t,n,1)).trim()}function b(e,t){return t?t.attribs[e]:null}function I(e,t,n,r,i){void 0===i&&(i=!1);var o=v(n,r,i);o&&(e[t]=o)}function x(e){return"rss"===e||"feed"===e||"rdf:RDF"===e}t.FeedHandler=h,t.parseFeed=function(e,t){void 0===t&&(t={xmlMode:!0});var n=new h(t);return new p.Parser(n,t).end(e),n.feed}},5233: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}),t.Parser=void 0;var i=r(n(9636)),o=new Set(["input","option","optgroup","select","button","datalist","textarea"]),a=new Set(["p"]),s={tr:new Set(["tr","th","td"]),th:new Set(["th"]),td:new Set(["thead","th","td"]),body:new Set(["head","link","script"]),li:new Set(["li"]),p:a,h1:a,h2:a,h3:a,h4:a,h5:a,h6:a,select:o,input:o,output:o,button:o,datalist:o,textarea:o,option:new Set(["option"]),optgroup:new Set(["optgroup","option"]),dd:new Set(["dt","dd"]),dt:new Set(["dt","dd"]),address:a,article:a,aside:a,blockquote:a,details:a,div:a,dl:a,fieldset:a,figcaption:a,figure:a,footer:a,form:a,header:a,hr:a,main:a,nav:a,ol:a,pre:a,section:a,table:a,ul:a,rt:new Set(["rt","rp"]),rp:new Set(["rt","rp"]),tbody:new Set(["thead","tbody"]),tfoot:new Set(["thead","tbody"])},l=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),c=new Set(["math","svg"]),u=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),d=/\s|\//,f=function(){function e(e,t){var n,r,o,a,s;void 0===t&&(t={}),this.startIndex=0,this.endIndex=null,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.options=t,this.cbs=null!=e?e:{},this.lowerCaseTagNames=null!==(n=t.lowerCaseTags)&&void 0!==n?n:!t.xmlMode,this.lowerCaseAttributeNames=null!==(r=t.lowerCaseAttributeNames)&&void 0!==r?r:!t.xmlMode,this.tokenizer=new(null!==(o=t.Tokenizer)&&void 0!==o?o:i.default)(this.options,this),null===(s=(a=this.cbs).onparserinit)||void 0===s||s.call(a,this)}return e.prototype.updatePosition=function(e){null===this.endIndex?this.tokenizer.sectionStart<=e?this.startIndex=0:this.startIndex=this.tokenizer.sectionStart-e:this.startIndex=this.endIndex+1,this.endIndex=this.tokenizer.getAbsoluteIndex()},e.prototype.ontext=function(e){var t,n;this.updatePosition(1),this.endIndex--,null===(n=(t=this.cbs).ontext)||void 0===n||n.call(t,e)},e.prototype.onopentagname=function(e){var t,n;if(this.lowerCaseTagNames&&(e=e.toLowerCase()),this.tagname=e,!this.options.xmlMode&&Object.prototype.hasOwnProperty.call(s,e))for(var r=void 0;this.stack.length>0&&s[e].has(r=this.stack[this.stack.length-1]);)this.onclosetag(r);!this.options.xmlMode&&l.has(e)||(this.stack.push(e),c.has(e)?this.foreignContext.push(!0):u.has(e)&&this.foreignContext.push(!1)),null===(n=(t=this.cbs).onopentagname)||void 0===n||n.call(t,e),this.cbs.onopentag&&(this.attribs={})},e.prototype.onopentagend=function(){var e,t;this.updatePosition(1),this.attribs&&(null===(t=(e=this.cbs).onopentag)||void 0===t||t.call(e,this.tagname,this.attribs),this.attribs=null),!this.options.xmlMode&&this.cbs.onclosetag&&l.has(this.tagname)&&this.cbs.onclosetag(this.tagname),this.tagname=""},e.prototype.onclosetag=function(e){if(this.updatePosition(1),this.lowerCaseTagNames&&(e=e.toLowerCase()),(c.has(e)||u.has(e))&&this.foreignContext.pop(),!this.stack.length||!this.options.xmlMode&&l.has(e))this.options.xmlMode||"br"!==e&&"p"!==e||(this.onopentagname(e),this.closeCurrentTag());else{var t=this.stack.lastIndexOf(e);if(-1!==t)if(this.cbs.onclosetag)for(t=this.stack.length-t;t--;)this.cbs.onclosetag(this.stack.pop());else this.stack.length=t;else"p"!==e||this.options.xmlMode||(this.onopentagname(e),this.closeCurrentTag())}},e.prototype.onselfclosingtag=function(){this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?this.closeCurrentTag():this.onopentagend()},e.prototype.closeCurrentTag=function(){var e,t,n=this.tagname;this.onopentagend(),this.stack[this.stack.length-1]===n&&(null===(t=(e=this.cbs).onclosetag)||void 0===t||t.call(e,n),this.stack.pop())},e.prototype.onattribname=function(e){this.lowerCaseAttributeNames&&(e=e.toLowerCase()),this.attribname=e},e.prototype.onattribdata=function(e){this.attribvalue+=e},e.prototype.onattribend=function(e){var t,n;null===(n=(t=this.cbs).onattribute)||void 0===n||n.call(t,this.attribname,this.attribvalue,e),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribname="",this.attribvalue=""},e.prototype.getInstructionName=function(e){var t=e.search(d),n=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n},e.prototype.ondeclaration=function(e){if(this.cbs.onprocessinginstruction){var t=this.getInstructionName(e);this.cbs.onprocessinginstruction("!"+t,"!"+e)}},e.prototype.onprocessinginstruction=function(e){if(this.cbs.onprocessinginstruction){var t=this.getInstructionName(e);this.cbs.onprocessinginstruction("?"+t,"?"+e)}},e.prototype.oncomment=function(e){var t,n,r,i;this.updatePosition(4),null===(n=(t=this.cbs).oncomment)||void 0===n||n.call(t,e),null===(i=(r=this.cbs).oncommentend)||void 0===i||i.call(r)},e.prototype.oncdata=function(e){var t,n,r,i,o,a;this.updatePosition(1),this.options.xmlMode||this.options.recognizeCDATA?(null===(n=(t=this.cbs).oncdatastart)||void 0===n||n.call(t),null===(i=(r=this.cbs).ontext)||void 0===i||i.call(r,e),null===(a=(o=this.cbs).oncdataend)||void 0===a||a.call(o)):this.oncomment("[CDATA["+e+"]]")},e.prototype.onerror=function(e){var t,n;null===(n=(t=this.cbs).onerror)||void 0===n||n.call(t,e)},e.prototype.onend=function(){var e,t;if(this.cbs.onclosetag)for(var n=this.stack.length;n>0;this.cbs.onclosetag(this.stack[--n]));null===(t=(e=this.cbs).onend)||void 0===t||t.call(e)},e.prototype.reset=function(){var e,t,n,r;null===(t=(e=this.cbs).onreset)||void 0===t||t.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack=[],null===(r=(n=this.cbs).onparserinit)||void 0===r||r.call(n,this)},e.prototype.parseComplete=function(e){this.reset(),this.end(e)},e.prototype.write=function(e){this.tokenizer.write(e)},e.prototype.end=function(e){this.tokenizer.end(e)},e.prototype.pause=function(){this.tokenizer.pause()},e.prototype.resume=function(){this.tokenizer.resume()},e.prototype.parseChunk=function(e){this.write(e)},e.prototype.done=function(e){this.end(e)},e}();t.Parser=f},9636: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 i=r(n(105)),o=r(n(2059)),a=r(n(2184)),s=r(n(1542));function l(e){return" "===e||"\n"===e||"\t"===e||"\f"===e||"\r"===e}function c(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"}function u(e,t,n){var r=e.toLowerCase();return e===r?function(e,i){i===r?e._state=t:(e._state=n,e._index--)}:function(i,o){o===r||o===e?i._state=t:(i._state=n,i._index--)}}function d(e,t){var n=e.toLowerCase();return function(r,i){i===n||i===e?r._state=t:(r._state=3,r._index--)}}var f=u("C",24,16),p=u("D",25,16),h=u("A",26,16),g=u("T",27,16),m=u("A",28,16),y=d("R",35),v=d("I",36),b=d("P",37),I=d("T",38),x=u("R",40,1),M=u("I",41,1),w=u("P",42,1),T=u("T",43,1),A=d("Y",45),C=d("L",46),N=d("E",47),E=u("Y",49,1),S=u("L",50,1),j=u("E",51,1),k=d("I",54),D=d("T",55),L=d("L",56),O=d("E",57),R=u("I",58,1),P=u("T",59,1),z=u("L",60,1),U=u("E",61,1),_=u("#",63,64),Z=u("X",66,65),G=function(){function e(e,t){var n;this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.special=1,this.running=!0,this.ended=!1,this.cbs=t,this.xmlMode=!!(null==e?void 0:e.xmlMode),this.decodeEntities=null===(n=null==e?void 0:e.decodeEntities)||void 0===n||n}return e.prototype.reset=function(){this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.special=1,this.running=!0,this.ended=!1},e.prototype.write=function(e){this.ended&&this.cbs.onerror(Error(".write() after done!")),this.buffer+=e,this.parse()},e.prototype.end=function(e){this.ended&&this.cbs.onerror(Error(".end() after done!")),e&&this.write(e),this.ended=!0,this.running&&this.finish()},e.prototype.pause=function(){this.running=!1},e.prototype.resume=function(){this.running=!0,this._index<this.buffer.length&&this.parse(),this.ended&&this.finish()},e.prototype.getAbsoluteIndex=function(){return this.bufferOffset+this._index},e.prototype.stateText=function(e){"<"===e?(this._index>this.sectionStart&&this.cbs.ontext(this.getSection()),this._state=2,this.sectionStart=this._index):!this.decodeEntities||"&"!==e||1!==this.special&&4!==this.special||(this._index>this.sectionStart&&this.cbs.ontext(this.getSection()),this.baseState=1,this._state=62,this.sectionStart=this._index)},e.prototype.isTagStartChar=function(e){return c(e)||this.xmlMode&&!l(e)&&"/"!==e&&">"!==e},e.prototype.stateBeforeTagName=function(e){"/"===e?this._state=5:"<"===e?(this.cbs.ontext(this.getSection()),this.sectionStart=this._index):">"===e||1!==this.special||l(e)?this._state=1:"!"===e?(this._state=15,this.sectionStart=this._index+1):"?"===e?(this._state=17,this.sectionStart=this._index+1):this.isTagStartChar(e)?(this._state=this.xmlMode||"s"!==e&&"S"!==e?this.xmlMode||"t"!==e&&"T"!==e?3:52:32,this.sectionStart=this._index):this._state=1},e.prototype.stateInTagName=function(e){("/"===e||">"===e||l(e))&&(this.emitToken("onopentagname"),this._state=8,this._index--)},e.prototype.stateBeforeClosingTagName=function(e){l(e)||(">"===e?this._state=1:1!==this.special?4===this.special||"s"!==e&&"S"!==e?4!==this.special||"t"!==e&&"T"!==e?(this._state=1,this._index--):this._state=53:this._state=33:this.isTagStartChar(e)?(this._state=6,this.sectionStart=this._index):(this._state=20,this.sectionStart=this._index))},e.prototype.stateInClosingTagName=function(e){(">"===e||l(e))&&(this.emitToken("onclosetag"),this._state=7,this._index--)},e.prototype.stateAfterClosingTagName=function(e){">"===e&&(this._state=1,this.sectionStart=this._index+1)},e.prototype.stateBeforeAttributeName=function(e){">"===e?(this.cbs.onopentagend(),this._state=1,this.sectionStart=this._index+1):"/"===e?this._state=4:l(e)||(this._state=9,this.sectionStart=this._index)},e.prototype.stateInSelfClosingTag=function(e){">"===e?(this.cbs.onselfclosingtag(),this._state=1,this.sectionStart=this._index+1,this.special=1):l(e)||(this._state=8,this._index--)},e.prototype.stateInAttributeName=function(e){("="===e||"/"===e||">"===e||l(e))&&(this.cbs.onattribname(this.getSection()),this.sectionStart=-1,this._state=10,this._index--)},e.prototype.stateAfterAttributeName=function(e){"="===e?this._state=11:"/"===e||">"===e?(this.cbs.onattribend(void 0),this._state=8,this._index--):l(e)||(this.cbs.onattribend(void 0),this._state=9,this.sectionStart=this._index)},e.prototype.stateBeforeAttributeValue=function(e){'"'===e?(this._state=12,this.sectionStart=this._index+1):"'"===e?(this._state=13,this.sectionStart=this._index+1):l(e)||(this._state=14,this.sectionStart=this._index,this._index--)},e.prototype.handleInAttributeValue=function(e,t){e===t?(this.emitToken("onattribdata"),this.cbs.onattribend(t),this._state=8):this.decodeEntities&&"&"===e&&(this.emitToken("onattribdata"),this.baseState=this._state,this._state=62,this.sectionStart=this._index)},e.prototype.stateInAttributeValueDoubleQuotes=function(e){this.handleInAttributeValue(e,'"')},e.prototype.stateInAttributeValueSingleQuotes=function(e){this.handleInAttributeValue(e,"'")},e.prototype.stateInAttributeValueNoQuotes=function(e){l(e)||">"===e?(this.emitToken("onattribdata"),this.cbs.onattribend(null),this._state=8,this._index--):this.decodeEntities&&"&"===e&&(this.emitToken("onattribdata"),this.baseState=this._state,this._state=62,this.sectionStart=this._index)},e.prototype.stateBeforeDeclaration=function(e){this._state="["===e?23:"-"===e?18:16},e.prototype.stateInDeclaration=function(e){">"===e&&(this.cbs.ondeclaration(this.getSection()),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateInProcessingInstruction=function(e){">"===e&&(this.cbs.onprocessinginstruction(this.getSection()),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateBeforeComment=function(e){"-"===e?(this._state=19,this.sectionStart=this._index+1):this._state=16},e.prototype.stateInComment=function(e){"-"===e&&(this._state=21)},e.prototype.stateInSpecialComment=function(e){">"===e&&(this.cbs.oncomment(this.buffer.substring(this.sectionStart,this._index)),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateAfterComment1=function(e){this._state="-"===e?22:19},e.prototype.stateAfterComment2=function(e){">"===e?(this.cbs.oncomment(this.buffer.substring(this.sectionStart,this._index-2)),this._state=1,this.sectionStart=this._index+1):"-"!==e&&(this._state=19)},e.prototype.stateBeforeCdata6=function(e){"["===e?(this._state=29,this.sectionStart=this._index+1):(this._state=16,this._index--)},e.prototype.stateInCdata=function(e){"]"===e&&(this._state=30)},e.prototype.stateAfterCdata1=function(e){this._state="]"===e?31:29},e.prototype.stateAfterCdata2=function(e){">"===e?(this.cbs.oncdata(this.buffer.substring(this.sectionStart,this._index-2)),this._state=1,this.sectionStart=this._index+1):"]"!==e&&(this._state=29)},e.prototype.stateBeforeSpecialS=function(e){"c"===e||"C"===e?this._state=34:"t"===e||"T"===e?this._state=44:(this._state=3,this._index--)},e.prototype.stateBeforeSpecialSEnd=function(e){2!==this.special||"c"!==e&&"C"!==e?3!==this.special||"t"!==e&&"T"!==e?this._state=1:this._state=48:this._state=39},e.prototype.stateBeforeSpecialLast=function(e,t){("/"===e||">"===e||l(e))&&(this.special=t),this._state=3,this._index--},e.prototype.stateAfterSpecialLast=function(e,t){">"===e||l(e)?(this.special=1,this._state=6,this.sectionStart=this._index-t,this._index--):this._state=1},e.prototype.parseFixedEntity=function(e){if(void 0===e&&(e=this.xmlMode?s.default:o.default),this.sectionStart+1<this._index){var t=this.buffer.substring(this.sectionStart+1,this._index);Object.prototype.hasOwnProperty.call(e,t)&&(this.emitPartial(e[t]),this.sectionStart=this._index+1)}},e.prototype.parseLegacyEntity=function(){for(var e=this.sectionStart+1,t=Math.min(this._index-e,6);t>=2;){var n=this.buffer.substr(e,t);if(Object.prototype.hasOwnProperty.call(a.default,n))return this.emitPartial(a.default[n]),void(this.sectionStart+=t+1);t--}},e.prototype.stateInNamedEntity=function(e){";"===e?(this.parseFixedEntity(),1===this.baseState&&this.sectionStart+1<this._index&&!this.xmlMode&&this.parseLegacyEntity(),this._state=this.baseState):(e<"0"||e>"9")&&!c(e)&&(this.xmlMode||this.sectionStart+1===this._index||(1!==this.baseState?"="!==e&&this.parseFixedEntity(a.default):this.parseLegacyEntity()),this._state=this.baseState,this._index--)},e.prototype.decodeNumericEntity=function(e,t,n){var r=this.sectionStart+e;if(r!==this._index){var o=this.buffer.substring(r,this._index),a=parseInt(o,t);this.emitPartial(i.default(a)),this.sectionStart=n?this._index+1:this._index}this._state=this.baseState},e.prototype.stateInNumericEntity=function(e){";"===e?this.decodeNumericEntity(2,10,!0):(e<"0"||e>"9")&&(this.xmlMode?this._state=this.baseState:this.decodeNumericEntity(2,10,!1),this._index--)},e.prototype.stateInHexEntity=function(e){";"===e?this.decodeNumericEntity(3,16,!0):(e<"a"||e>"f")&&(e<"A"||e>"F")&&(e<"0"||e>"9")&&(this.xmlMode?this._state=this.baseState:this.decodeNumericEntity(3,16,!1),this._index--)},e.prototype.cleanup=function(){this.sectionStart<0?(this.buffer="",this.bufferOffset+=this._index,this._index=0):this.running&&(1===this._state?(this.sectionStart!==this._index&&this.cbs.ontext(this.buffer.substr(this.sectionStart)),this.buffer="",this.bufferOffset+=this._index,this._index=0):this.sectionStart===this._index?(this.buffer="",this.bufferOffset+=this._index,this._index=0):(this.buffer=this.buffer.substr(this.sectionStart),this._index-=this.sectionStart,this.bufferOffset+=this.sectionStart),this.sectionStart=0)},e.prototype.parse=function(){for(;this._index<this.buffer.length&&this.running;){var e=this.buffer.charAt(this._index);1===this._state?this.stateText(e):12===this._state?this.stateInAttributeValueDoubleQuotes(e):9===this._state?this.stateInAttributeName(e):19===this._state?this.stateInComment(e):20===this._state?this.stateInSpecialComment(e):8===this._state?this.stateBeforeAttributeName(e):3===this._state?this.stateInTagName(e):6===this._state?this.stateInClosingTagName(e):2===this._state?this.stateBeforeTagName(e):10===this._state?this.stateAfterAttributeName(e):13===this._state?this.stateInAttributeValueSingleQuotes(e):11===this._state?this.stateBeforeAttributeValue(e):5===this._state?this.stateBeforeClosingTagName(e):7===this._state?this.stateAfterClosingTagName(e):32===this._state?this.stateBeforeSpecialS(e):21===this._state?this.stateAfterComment1(e):14===this._state?this.stateInAttributeValueNoQuotes(e):4===this._state?this.stateInSelfClosingTag(e):16===this._state?this.stateInDeclaration(e):15===this._state?this.stateBeforeDeclaration(e):22===this._state?this.stateAfterComment2(e):18===this._state?this.stateBeforeComment(e):33===this._state?this.stateBeforeSpecialSEnd(e):53===this._state?R(this,e):39===this._state?x(this,e):40===this._state?M(this,e):41===this._state?w(this,e):34===this._state?y(this,e):35===this._state?v(this,e):36===this._state?b(this,e):37===this._state?I(this,e):38===this._state?this.stateBeforeSpecialLast(e,2):42===this._state?T(this,e):43===this._state?this.stateAfterSpecialLast(e,6):44===this._state?A(this,e):29===this._state?this.stateInCdata(e):45===this._state?C(this,e):46===this._state?N(this,e):47===this._state?this.stateBeforeSpecialLast(e,3):48===this._state?E(this,e):49===this._state?S(this,e):50===this._state?j(this,e):51===this._state?this.stateAfterSpecialLast(e,5):52===this._state?k(this,e):54===this._state?D(this,e):55===this._state?L(this,e):56===this._state?O(this,e):57===this._state?this.stateBeforeSpecialLast(e,4):58===this._state?P(this,e):59===this._state?z(this,e):60===this._state?U(this,e):61===this._state?this.stateAfterSpecialLast(e,5):17===this._state?this.stateInProcessingInstruction(e):64===this._state?this.stateInNamedEntity(e):23===this._state?f(this,e):62===this._state?_(this,e):24===this._state?p(this,e):25===this._state?h(this,e):30===this._state?this.stateAfterCdata1(e):31===this._state?this.stateAfterCdata2(e):26===this._state?g(this,e):27===this._state?m(this,e):28===this._state?this.stateBeforeCdata6(e):66===this._state?this.stateInHexEntity(e):65===this._state?this.stateInNumericEntity(e):63===this._state?Z(this,e):this.cbs.onerror(Error("unknown _state"),this._state),this._index++}this.cleanup()},e.prototype.finish=function(){this.sectionStart<this._index&&this.handleTrailingData(),this.cbs.onend()},e.prototype.handleTrailingData=function(){var e=this.buffer.substr(this.sectionStart);29===this._state||30===this._state||31===this._state?this.cbs.oncdata(e):19===this._state||21===this._state||22===this._state?this.cbs.oncomment(e):64!==this._state||this.xmlMode?65!==this._state||this.xmlMode?66!==this._state||this.xmlMode?3!==this._state&&8!==this._state&&11!==this._state&&10!==this._state&&9!==this._state&&13!==this._state&&12!==this._state&&14!==this._state&&6!==this._state&&this.cbs.ontext(e):(this.decodeNumericEntity(3,16,!1),this.sectionStart<this._index&&(this._state=this.baseState,this.handleTrailingData())):(this.decodeNumericEntity(2,10,!1),this.sectionStart<this._index&&(this._state=this.baseState,this.handleTrailingData())):(this.parseLegacyEntity(),this.sectionStart<this._index&&(this._state=this.baseState,this.handleTrailingData()))},e.prototype.getSection=function(){return this.buffer.substring(this.sectionStart,this._index)},e.prototype.emitToken=function(e){this.cbs[e](this.getSection()),this.sectionStart=-1},e.prototype.emitPartial=function(e){1!==this.baseState?this.cbs.onattribdata(e):this.cbs.ontext(e)},e}();t.default=G},883: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]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t},a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.RssHandler=t.DefaultHandler=t.DomUtils=t.ElementType=t.Tokenizer=t.createDomStream=t.parseDOM=t.parseDocument=t.DomHandler=t.Parser=void 0;var l=n(5233);Object.defineProperty(t,"Parser",{enumerable:!0,get:function(){return l.Parser}});var c=n(9959);function u(e,t){var n=new c.DomHandler(void 0,t);return new l.Parser(n,t).end(e),n.root}Object.defineProperty(t,"DomHandler",{enumerable:!0,get:function(){return c.DomHandler}}),Object.defineProperty(t,"DefaultHandler",{enumerable:!0,get:function(){return c.DomHandler}}),t.parseDocument=u,t.parseDOM=function(e,t){return u(e,t).children},t.createDomStream=function(e,t,n){var r=new c.DomHandler(e,t,n);return new l.Parser(r,t)};var d=n(9636);Object.defineProperty(t,"Tokenizer",{enumerable:!0,get:function(){return s(d).default}});var f=o(n(4821));t.ElementType=f,a(n(4163),t),t.DomUtils=o(n(4622));var p=n(4163);Object.defineProperty(t,"RssHandler",{enumerable:!0,get:function(){return p.FeedHandler}})},303:(e,t)=>{"use strict";function n(e){return"[object Object]"===Object.prototype.toString.call(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.isPlainObject=function(e){var t,r;return!1!==n(e)&&(void 0===(t=e.constructor)||!1!==n(r=t.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf"))}},8291:function(e,t){var n;!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(function(r,i){"use strict";var o=[],a=Object.getPrototypeOf,s=o.slice,l=o.flat?function(e){return o.flat.call(e)}:function(e){return o.concat.apply([],e)},c=o.push,u=o.indexOf,d={},f=d.toString,p=d.hasOwnProperty,h=p.toString,g=h.call(Object),m={},y=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},v=function(e){return null!=e&&e===e.window},b=r.document,I={type:!0,src:!0,nonce:!0,noModule:!0};function x(e,t,n){var r,i,o=(n=n||b).createElement("script");if(o.text=e,t)for(r in I)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function M(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[f.call(e)]||"object":typeof e}var w="3.7.0",T=/HTML$/i,A=function(e,t){return new A.fn.init(e,t)};function C(e){var t=!!e&&"length"in e&&e.length,n=M(e);return!y(e)&&!v(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function N(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}A.fn=A.prototype={jquery:w,constructor:A,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=A.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return A.each(this,e)},map:function(e){return this.pushStack(A.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(A.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(A.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:o.sort,splice:o.splice},A.extend=A.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,l=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[s]||{},s++),"object"==typeof a||y(a)||(a={}),s===l&&(a=this,s--);s<l;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(c&&r&&(A.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||A.isPlainObject(n)?n:{},i=!1,a[t]=A.extend(c,o,r)):void 0!==r&&(a[t]=r));return a},A.extend({expando:"jQuery"+(w+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==f.call(e)||(t=a(e))&&("function"!=typeof(n=p.call(t,"constructor")&&t.constructor)||h.call(n)!==g))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){x(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(C(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},text:function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i)return e.textContent;if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=A.text(t);return n},makeArray:function(e,t){var n=t||[];return null!=e&&(C(Object(e))?A.merge(n,"string"==typeof e?[e]:e):c.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:u.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!T.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(C(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return l(a)},guid:1,support:m}),"function"==typeof Symbol&&(A.fn[Symbol.iterator]=o[Symbol.iterator]),A.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){d["[object "+t+"]"]=t.toLowerCase()}));var E=o.pop,S=o.sort,j=o.splice,k="[\\x20\\t\\r\\n\\f]",D=new RegExp("^"+k+"+|((?:^|[^\\\\])(?:\\\\.)*)"+k+"+$","g");A.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var L=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function O(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}A.escapeSelector=function(e){return(e+"").replace(L,O)};var R=b,P=c;!function(){var e,t,n,i,a,l,c,d,f,h,g=P,y=A.expando,v=0,b=0,I=ee(),x=ee(),M=ee(),w=ee(),T=function(e,t){return e===t&&(a=!0),0},C="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",L="(?:\\\\[\\da-fA-F]{1,6}"+k+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",O="\\["+k+"*("+L+")(?:"+k+"*([*^$|!~]?=)"+k+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+L+"))|)"+k+"*\\]",z=":("+L+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+O+")*)|.*)\\)|)",U=new RegExp(k+"+","g"),_=new RegExp("^"+k+"*,"+k+"*"),Z=new RegExp("^"+k+"*([>+~]|"+k+")"+k+"*"),G=new RegExp(k+"|>"),B=new RegExp(z),F=new RegExp("^"+L+"$"),Y={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\.("+L+")"),TAG:new RegExp("^("+L+"|[*])"),ATTR:new RegExp("^"+O),PSEUDO:new RegExp("^"+z),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+k+"*(even|odd|(([+-]|)(\\d*)n|)"+k+"*(?:([+-]|)"+k+"*(\\d+)|))"+k+"*\\)|)","i"),bool:new RegExp("^(?:"+C+")$","i"),needsContext:new RegExp("^"+k+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+k+"*((?:-\\d)?\\d*)"+k+"*\\)|)(?=[^-]|$)","i")},W=/^(?:input|select|textarea|button)$/i,H=/^h\d$/i,V=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,q=/[+~]/,Q=new RegExp("\\\\[\\da-fA-F]{1,6}"+k+"?|\\\\([^\\r\\n\\f])","g"),J=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},X=function(){le()},K=fe((function(e){return!0===e.disabled&&N(e,"fieldset")}),{dir:"parentNode",next:"legend"});try{g.apply(o=s.call(R.childNodes),R.childNodes),o[R.childNodes.length].nodeType}catch(e){g={apply:function(e,t){P.apply(e,s.call(t))},call:function(e){P.apply(e,s.call(arguments,1))}}}function $(e,t,n,r){var i,o,a,s,c,u,p,h=t&&t.ownerDocument,v=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==v&&9!==v&&11!==v)return n;if(!r&&(le(t),t=t||l,d)){if(11!==v&&(c=V.exec(e)))if(i=c[1]){if(9===v){if(!(a=t.getElementById(i)))return n;if(a.id===i)return g.call(n,a),n}else if(h&&(a=h.getElementById(i))&&$.contains(t,a)&&a.id===i)return g.call(n,a),n}else{if(c[2])return g.apply(n,t.getElementsByTagName(e)),n;if((i=c[3])&&t.getElementsByClassName)return g.apply(n,t.getElementsByClassName(i)),n}if(!(w[e+" "]||f&&f.test(e))){if(p=e,h=t,1===v&&(G.test(e)||Z.test(e))){for((h=q.test(e)&&se(t.parentNode)||t)==t&&m.scope||((s=t.getAttribute("id"))?s=A.escapeSelector(s):t.setAttribute("id",s=y)),o=(u=ue(e)).length;o--;)u[o]=(s?"#"+s:":scope")+" "+de(u[o]);p=u.join(",")}try{return g.apply(n,h.querySelectorAll(p)),n}catch(t){w(e,!0)}finally{s===y&&t.removeAttribute("id")}}}return ve(e.replace(D,"$1"),t,n,r)}function ee(){var e=[];return function n(r,i){return e.push(r+" ")>t.cacheLength&&delete n[e.shift()],n[r+" "]=i}}function te(e){return e[y]=!0,e}function ne(e){var t=l.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function re(e){return function(t){return N(t,"input")&&t.type===e}}function ie(e){return function(t){return(N(t,"input")||N(t,"button"))&&t.type===e}}function oe(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&K(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ae(e){return te((function(t){return t=+t,te((function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))}))}))}function se(e){return e&&void 0!==e.getElementsByTagName&&e}function le(e){var n,r=e?e.ownerDocument||e:R;return r!=l&&9===r.nodeType&&r.documentElement?(c=(l=r).documentElement,d=!A.isXMLDoc(l),h=c.matches||c.webkitMatchesSelector||c.msMatchesSelector,R!=l&&(n=l.defaultView)&&n.top!==n&&n.addEventListener("unload",X),m.getById=ne((function(e){return c.appendChild(e).id=A.expando,!l.getElementsByName||!l.getElementsByName(A.expando).length})),m.disconnectedMatch=ne((function(e){return h.call(e,"*")})),m.scope=ne((function(){return l.querySelectorAll(":scope")})),m.cssHas=ne((function(){try{return l.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}})),m.getById?(t.filter.ID=function(e){var t=e.replace(Q,J);return function(e){return e.getAttribute("id")===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&d){var n=t.getElementById(e);return n?[n]:[]}}):(t.filter.ID=function(e){var t=e.replace(Q,J);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&d){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),t.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},t.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&d)return t.getElementsByClassName(e)},f=[],ne((function(e){var t;c.appendChild(e).innerHTML="<a id='"+y+"' href='' disabled='disabled'></a><select id='"+y+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||f.push("\\["+k+"*(?:value|"+C+")"),e.querySelectorAll("[id~="+y+"-]").length||f.push("~="),e.querySelectorAll("a#"+y+"+*").length||f.push(".#.+[+~]"),e.querySelectorAll(":checked").length||f.push(":checked"),(t=l.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),c.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&f.push(":enabled",":disabled"),(t=l.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||f.push("\\["+k+"*name"+k+"*="+k+"*(?:''|\"\")")})),m.cssHas||f.push(":has"),f=f.length&&new RegExp(f.join("|")),T=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!m.sortDetached&&t.compareDocumentPosition(e)===n?e===l||e.ownerDocument==R&&$.contains(R,e)?-1:t===l||t.ownerDocument==R&&$.contains(R,t)?1:i?u.call(i,e)-u.call(i,t):0:4&n?-1:1)},l):l}for(e in $.matches=function(e,t){return $(e,null,null,t)},$.matchesSelector=function(e,t){if(le(e),d&&!w[t+" "]&&(!f||!f.test(t)))try{var n=h.call(e,t);if(n||m.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){w(t,!0)}return $(t,l,null,[e]).length>0},$.contains=function(e,t){return(e.ownerDocument||e)!=l&&le(e),A.contains(e,t)},$.attr=function(e,n){(e.ownerDocument||e)!=l&&le(e);var r=t.attrHandle[n.toLowerCase()],i=r&&p.call(t.attrHandle,n.toLowerCase())?r(e,n,!d):void 0;return void 0!==i?i:e.getAttribute(n)},$.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},A.uniqueSort=function(e){var t,n=[],r=0,o=0;if(a=!m.sortStable,i=!m.sortStable&&s.call(e,0),S.call(e,T),a){for(;t=e[o++];)t===e[o]&&(r=n.push(o));for(;r--;)j.call(e,n[r],1)}return i=null,e},A.fn.uniqueSort=function(){return this.pushStack(A.uniqueSort(s.apply(this)))},t=A.expr={cacheLength:50,createPseudo:te,match:Y,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Q,J),e[3]=(e[3]||e[4]||e[5]||"").replace(Q,J),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||$.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&$.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return Y.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&B.test(n)&&(t=ue(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(Q,J).toLowerCase();return"*"===e?function(){return!0}:function(e){return N(e,t)}},CLASS:function(e){var t=I[e+" "];return t||(t=new RegExp("(^|"+k+")"+e+"("+k+"|$)"))&&I(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var i=$.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(U," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,l){var c,u,d,f,p,h=o!==a?"nextSibling":"previousSibling",g=t.parentNode,m=s&&t.nodeName.toLowerCase(),b=!l&&!s,I=!1;if(g){if(o){for(;h;){for(d=t;d=d[h];)if(s?N(d,m):1===d.nodeType)return!1;p=h="only"===e&&!p&&"nextSibling"}return!0}if(p=[a?g.firstChild:g.lastChild],a&&b){for(I=(f=(c=(u=g[y]||(g[y]={}))[e]||[])[0]===v&&c[1])&&c[2],d=f&&g.childNodes[f];d=++f&&d&&d[h]||(I=f=0)||p.pop();)if(1===d.nodeType&&++I&&d===t){u[e]=[v,f,I];break}}else if(b&&(I=f=(c=(u=t[y]||(t[y]={}))[e]||[])[0]===v&&c[1]),!1===I)for(;(d=++f&&d&&d[h]||(I=f=0)||p.pop())&&(!(s?N(d,m):1===d.nodeType)||!++I||(b&&((u=d[y]||(d[y]={}))[e]=[v,I]),d!==t)););return(I-=i)===r||I%r==0&&I/r>=0}}},PSEUDO:function(e,n){var r,i=t.pseudos[e]||t.setFilters[e.toLowerCase()]||$.error("unsupported pseudo: "+e);return i[y]?i(n):i.length>1?(r=[e,e,"",n],t.setFilters.hasOwnProperty(e.toLowerCase())?te((function(e,t){for(var r,o=i(e,n),a=o.length;a--;)e[r=u.call(e,o[a])]=!(t[r]=o[a])})):function(e){return i(e,0,r)}):i}},pseudos:{not:te((function(e){var t=[],n=[],r=ye(e.replace(D,"$1"));return r[y]?te((function(e,t,n,i){for(var o,a=r(e,null,i,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))})):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}})),has:te((function(e){return function(t){return $(e,t).length>0}})),contains:te((function(e){return e=e.replace(Q,J),function(t){return(t.textContent||A.text(t)).indexOf(e)>-1}})),lang:te((function(e){return F.test(e||"")||$.error("unsupported lang: "+e),e=e.replace(Q,J).toLowerCase(),function(t){var n;do{if(n=d?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(e){var t=r.location&&r.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===c},focus:function(e){return e===function(){try{return l.activeElement}catch(e){}}()&&l.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:oe(!1),disabled:oe(!0),checked:function(e){return N(e,"input")&&!!e.checked||N(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!t.pseudos.empty(e)},header:function(e){return H.test(e.nodeName)},input:function(e){return W.test(e.nodeName)},button:function(e){return N(e,"input")&&"button"===e.type||N(e,"button")},text:function(e){var t;return N(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ae((function(){return[0]})),last:ae((function(e,t){return[t-1]})),eq:ae((function(e,t,n){return[n<0?n+t:n]})),even:ae((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:ae((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:ae((function(e,t,n){var r;for(r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e})),gt:ae((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}},t.pseudos.nth=t.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[e]=re(e);for(e in{submit:!0,reset:!0})t.pseudos[e]=ie(e);function ce(){}function ue(e,n){var r,i,o,a,s,l,c,u=x[e+" "];if(u)return n?0:u.slice(0);for(s=e,l=[],c=t.preFilter;s;){for(a in r&&!(i=_.exec(s))||(i&&(s=s.slice(i[0].length)||s),l.push(o=[])),r=!1,(i=Z.exec(s))&&(r=i.shift(),o.push({value:r,type:i[0].replace(D," ")}),s=s.slice(r.length)),t.filter)!(i=Y[a].exec(s))||c[a]&&!(i=c[a](i))||(r=i.shift(),o.push({value:r,type:a,matches:i}),s=s.slice(r.length));if(!r)break}return n?s.length:s?$.error(e):x(e,l).slice(0)}function de(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function fe(e,t,n){var r=t.dir,i=t.next,o=i||r,a=n&&"parentNode"===o,s=b++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,i);return!1}:function(t,n,l){var c,u,d=[v,s];if(l){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,l))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(u=t[y]||(t[y]={}),i&&N(t,i))t=t[r]||t;else{if((c=u[o])&&c[0]===v&&c[1]===s)return d[2]=c[2];if(u[o]=d,d[2]=e(t,n,l))return!0}return!1}}function pe(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function he(e,t,n,r,i){for(var o,a=[],s=0,l=e.length,c=null!=t;s<l;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),c&&t.push(s)));return a}function ge(e,t,n,r,i,o){return r&&!r[y]&&(r=ge(r)),i&&!i[y]&&(i=ge(i,o)),te((function(o,a,s,l){var c,d,f,p,h=[],m=[],y=a.length,v=o||function(e,t,n){for(var r=0,i=t.length;r<i;r++)$(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),b=!e||!o&&t?v:he(v,h,e,s,l);if(n?n(b,p=i||(o?e:y||r)?[]:a,s,l):p=b,r)for(c=he(p,m),r(c,[],s,l),d=c.length;d--;)(f=c[d])&&(p[m[d]]=!(b[m[d]]=f));if(o){if(i||e){if(i){for(c=[],d=p.length;d--;)(f=p[d])&&c.push(b[d]=f);i(null,p=[],c,l)}for(d=p.length;d--;)(f=p[d])&&(c=i?u.call(o,f):h[d])>-1&&(o[c]=!(a[c]=f))}}else p=he(p===a?p.splice(y,p.length):p),i?i(null,a,p,l):g.apply(a,p)}))}function me(e){for(var r,i,o,a=e.length,s=t.relative[e[0].type],l=s||t.relative[" "],c=s?1:0,d=fe((function(e){return e===r}),l,!0),f=fe((function(e){return u.call(r,e)>-1}),l,!0),p=[function(e,t,i){var o=!s&&(i||t!=n)||((r=t).nodeType?d(e,t,i):f(e,t,i));return r=null,o}];c<a;c++)if(i=t.relative[e[c].type])p=[fe(pe(p),i)];else{if((i=t.filter[e[c].type].apply(null,e[c].matches))[y]){for(o=++c;o<a&&!t.relative[e[o].type];o++);return ge(c>1&&pe(p),c>1&&de(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(D,"$1"),i,c<o&&me(e.slice(c,o)),o<a&&me(e=e.slice(o)),o<a&&de(e))}p.push(i)}return pe(p)}function ye(e,r){var i,o=[],a=[],s=M[e+" "];if(!s){for(r||(r=ue(e)),i=r.length;i--;)(s=me(r[i]))[y]?o.push(s):a.push(s);s=M(e,function(e,r){var i=r.length>0,o=e.length>0,a=function(a,s,c,u,f){var p,h,m,y=0,b="0",I=a&&[],x=[],M=n,w=a||o&&t.find.TAG("*",f),T=v+=null==M?1:Math.random()||.1,C=w.length;for(f&&(n=s==l||s||f);b!==C&&null!=(p=w[b]);b++){if(o&&p){for(h=0,s||p.ownerDocument==l||(le(p),c=!d);m=e[h++];)if(m(p,s||l,c)){g.call(u,p);break}f&&(v=T)}i&&((p=!m&&p)&&y--,a&&I.push(p))}if(y+=b,i&&b!==y){for(h=0;m=r[h++];)m(I,x,s,c);if(a){if(y>0)for(;b--;)I[b]||x[b]||(x[b]=E.call(u));x=he(x)}g.apply(u,x),f&&!a&&x.length>0&&y+r.length>1&&A.uniqueSort(u)}return f&&(v=T,n=M),I};return i?te(a):a}(a,o)),s.selector=e}return s}function ve(e,n,r,i){var o,a,s,l,c,u="function"==typeof e&&e,f=!i&&ue(e=u.selector||e);if(r=r||[],1===f.length){if((a=f[0]=f[0].slice(0)).length>2&&"ID"===(s=a[0]).type&&9===n.nodeType&&d&&t.relative[a[1].type]){if(!(n=(t.find.ID(s.matches[0].replace(Q,J),n)||[])[0]))return r;u&&(n=n.parentNode),e=e.slice(a.shift().value.length)}for(o=Y.needsContext.test(e)?0:a.length;o--&&(s=a[o],!t.relative[l=s.type]);)if((c=t.find[l])&&(i=c(s.matches[0].replace(Q,J),q.test(a[0].type)&&se(n.parentNode)||n))){if(a.splice(o,1),!(e=i.length&&de(a)))return g.apply(r,i),r;break}}return(u||ye(e,f))(i,n,!d,r,!n||q.test(e)&&se(n.parentNode)||n),r}ce.prototype=t.filters=t.pseudos,t.setFilters=new ce,m.sortStable=y.split("").sort(T).join("")===y,le(),m.sortDetached=ne((function(e){return 1&e.compareDocumentPosition(l.createElement("fieldset"))})),A.find=$,A.expr[":"]=A.expr.pseudos,A.unique=A.uniqueSort,$.compile=ye,$.select=ve,$.setDocument=le,$.escape=A.escapeSelector,$.getText=A.text,$.isXML=A.isXMLDoc,$.selectors=A.expr,$.support=A.support,$.uniqueSort=A.uniqueSort}();var z=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&A(e).is(n))break;r.push(e)}return r},U=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},_=A.expr.match.needsContext,Z=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function G(e,t,n){return y(t)?A.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?A.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?A.grep(e,(function(e){return u.call(t,e)>-1!==n})):A.filter(t,e,n)}A.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?A.find.matchesSelector(r,e)?[r]:[]:A.find.matches(e,A.grep(t,(function(e){return 1===e.nodeType})))},A.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(A(e).filter((function(){for(t=0;t<r;t++)if(A.contains(i[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)A.find(e,i[t],n);return r>1?A.uniqueSort(n):n},filter:function(e){return this.pushStack(G(this,e||[],!1))},not:function(e){return this.pushStack(G(this,e||[],!0))},is:function(e){return!!G(this,"string"==typeof e&&_.test(e)?A(e):e||[],!1).length}});var B,F=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(A.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||B,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:F.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof A?t[0]:t,A.merge(this,A.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),Z.test(r[1])&&A.isPlainObject(t))for(r in t)y(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=b.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):y(e)?void 0!==n.ready?n.ready(e):e(A):A.makeArray(e,this)}).prototype=A.fn,B=A(b);var Y=/^(?:parents|prev(?:Until|All))/,W={children:!0,contents:!0,next:!0,prev:!0};function H(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}A.fn.extend({has:function(e){var t=A(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(A.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&A(e);if(!_.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&A.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?A.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?u.call(A(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(A.uniqueSort(A.merge(this.get(),A(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),A.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return z(e,"parentNode")},parentsUntil:function(e,t,n){return z(e,"parentNode",n)},next:function(e){return H(e,"nextSibling")},prev:function(e){return H(e,"previousSibling")},nextAll:function(e){return z(e,"nextSibling")},prevAll:function(e){return z(e,"previousSibling")},nextUntil:function(e,t,n){return z(e,"nextSibling",n)},prevUntil:function(e,t,n){return z(e,"previousSibling",n)},siblings:function(e){return U((e.parentNode||{}).firstChild,e)},children:function(e){return U(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(N(e,"template")&&(e=e.content||e),A.merge([],e.childNodes))}},(function(e,t){A.fn[e]=function(n,r){var i=A.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=A.filter(r,i)),this.length>1&&(W[e]||A.uniqueSort(i),Y.test(e)&&i.reverse()),this.pushStack(i)}}));var V=/[^\x20\t\r\n\f]+/g;function q(e){return e}function Q(e){throw e}function J(e,t,n,r){var i;try{e&&y(i=e.promise)?i.call(e).done(t).fail(n):e&&y(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}A.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return A.each(e.match(V)||[],(function(e,n){t[n]=!0})),t}(e):A.extend({},e);var t,n,r,i,o=[],a=[],s=-1,l=function(){for(i=i||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<o.length;)!1===o[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=o.length,n=!1);e.memory||(n=!1),t=!1,i&&(o=n?[]:"")},c={add:function(){return o&&(n&&!t&&(s=o.length-1,a.push(n)),function t(n){A.each(n,(function(n,r){y(r)?e.unique&&c.has(r)||o.push(r):r&&r.length&&"string"!==M(r)&&t(r)}))}(arguments),n&&!t&&l()),this},remove:function(){return A.each(arguments,(function(e,t){for(var n;(n=A.inArray(t,o,n))>-1;)o.splice(n,1),n<=s&&s--})),this},has:function(e){return e?A.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},A.extend({Deferred:function(e){var t=[["notify","progress",A.Callbacks("memory"),A.Callbacks("memory"),2],["resolve","done",A.Callbacks("once memory"),A.Callbacks("once memory"),0,"resolved"],["reject","fail",A.Callbacks("once memory"),A.Callbacks("once memory"),1,"rejected"]],n="pending",i={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return A.Deferred((function(n){A.each(t,(function(t,r){var i=y(e[r[4]])&&e[r[4]];o[r[1]]((function(){var e=i&&i.apply(this,arguments);e&&y(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,i){var o=0;function a(e,t,n,i){return function(){var s=this,l=arguments,c=function(){var r,c;if(!(e<o)){if((r=n.apply(s,l))===t.promise())throw new TypeError("Thenable self-resolution");c=r&&("object"==typeof r||"function"==typeof r)&&r.then,y(c)?i?c.call(r,a(o,t,q,i),a(o,t,Q,i)):(o++,c.call(r,a(o,t,q,i),a(o,t,Q,i),a(o,t,q,t.notifyWith))):(n!==q&&(s=void 0,l=[r]),(i||t.resolveWith)(s,l))}},u=i?c:function(){try{c()}catch(r){A.Deferred.exceptionHook&&A.Deferred.exceptionHook(r,u.error),e+1>=o&&(n!==Q&&(s=void 0,l=[r]),t.rejectWith(s,l))}};e?u():(A.Deferred.getErrorHook?u.error=A.Deferred.getErrorHook():A.Deferred.getStackHook&&(u.error=A.Deferred.getStackHook()),r.setTimeout(u))}}return A.Deferred((function(r){t[0][3].add(a(0,r,y(i)?i:q,r.notifyWith)),t[1][3].add(a(0,r,y(e)?e:q)),t[2][3].add(a(0,r,y(n)?n:Q))})).promise()},promise:function(e){return null!=e?A.extend(e,i):i}},o={};return A.each(t,(function(e,r){var a=r[2],s=r[5];i[r[1]]=a.add,s&&a.add((function(){n=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(r[3].fire),o[r[0]]=function(){return o[r[0]+"With"](this===o?void 0:this,arguments),this},o[r[0]+"With"]=a.fireWith})),i.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=s.call(arguments),o=A.Deferred(),a=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?s.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&(J(e,o.done(a(n)).resolve,o.reject,!t),"pending"===o.state()||y(i[n]&&i[n].then)))return o.then();for(;n--;)J(i[n],a(n),o.reject);return o.promise()}});var X=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;A.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&X.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},A.readyException=function(e){r.setTimeout((function(){throw e}))};var K=A.Deferred();function $(){b.removeEventListener("DOMContentLoaded",$),r.removeEventListener("load",$),A.ready()}A.fn.ready=function(e){return K.then(e).catch((function(e){A.readyException(e)})),this},A.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--A.readyWait:A.isReady)||(A.isReady=!0,!0!==e&&--A.readyWait>0||K.resolveWith(b,[A]))}}),A.ready.then=K.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?r.setTimeout(A.ready):(b.addEventListener("DOMContentLoaded",$),r.addEventListener("load",$));var ee=function(e,t,n,r,i,o,a){var s=0,l=e.length,c=null==n;if("object"===M(n))for(s in i=!0,n)ee(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,y(r)||(a=!0),c&&(a?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(A(e),n)})),t))for(;s<l;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:c?t.call(e):l?t(e[0],n):o},te=/^-ms-/,ne=/-([a-z])/g;function re(e,t){return t.toUpperCase()}function ie(e){return e.replace(te,"ms-").replace(ne,re)}var oe=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function ae(){this.expando=A.expando+ae.uid++}ae.uid=1,ae.prototype={cache:function(e){var t=e[this.expando];return t||(t={},oe(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[ie(t)]=n;else for(r in t)i[ie(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][ie(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(ie):(t=ie(t))in r?[t]:t.match(V)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||A.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!A.isEmptyObject(t)}};var se=new ae,le=new ae,ce=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ue=/[A-Z]/g;function de(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(ue,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ce.test(e)?JSON.parse(e):e)}(n)}catch(e){}le.set(e,t,n)}else n=void 0;return n}A.extend({hasData:function(e){return le.hasData(e)||se.hasData(e)},data:function(e,t,n){return le.access(e,t,n)},removeData:function(e,t){le.remove(e,t)},_data:function(e,t,n){return se.access(e,t,n)},_removeData:function(e,t){se.remove(e,t)}}),A.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=le.get(o),1===o.nodeType&&!se.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=ie(r.slice(5)),de(o,r,i[r]));se.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each((function(){le.set(this,e)})):ee(this,(function(t){var n;if(o&&void 0===t)return void 0!==(n=le.get(o,e))||void 0!==(n=de(o,e))?n:void 0;this.each((function(){le.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){le.remove(this,e)}))}}),A.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=se.get(e,t),n&&(!r||Array.isArray(n)?r=se.access(e,t,A.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=A.queue(e,t),r=n.length,i=n.shift(),o=A._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,(function(){A.dequeue(e,t)}),o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return se.get(e,n)||se.access(e,n,{empty:A.Callbacks("once memory").add((function(){se.remove(e,[t+"queue",n])}))})}}),A.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?A.queue(this[0],e):void 0===t?this:this.each((function(){var n=A.queue(this,e,t);A._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&A.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){A.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=A.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=se.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var fe=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,pe=new RegExp("^(?:([+-])=|)("+fe+")([a-z%]*)$","i"),he=["Top","Right","Bottom","Left"],ge=b.documentElement,me=function(e){return A.contains(e.ownerDocument,e)},ye={composed:!0};ge.getRootNode&&(me=function(e){return A.contains(e.ownerDocument,e)||e.getRootNode(ye)===e.ownerDocument});var ve=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&me(e)&&"none"===A.css(e,"display")};function be(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return A.css(e,t,"")},l=s(),c=n&&n[3]||(A.cssNumber[t]?"":"px"),u=e.nodeType&&(A.cssNumber[t]||"px"!==c&&+l)&&pe.exec(A.css(e,t));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;a--;)A.style(e,t,u+c),(1-o)*(1-(o=s()/l||.5))<=0&&(a=0),u/=o;u*=2,A.style(e,t,u+c),n=n||[]}return n&&(u=+u||+l||0,i=n[1]?u+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=u,r.end=i)),i}var Ie={};function xe(e){var t,n=e.ownerDocument,r=e.nodeName,i=Ie[r];return i||(t=n.body.appendChild(n.createElement(r)),i=A.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),Ie[r]=i,i)}function Me(e,t){for(var n,r,i=[],o=0,a=e.length;o<a;o++)(r=e[o]).style&&(n=r.style.display,t?("none"===n&&(i[o]=se.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&ve(r)&&(i[o]=xe(r))):"none"!==n&&(i[o]="none",se.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}A.fn.extend({show:function(){return Me(this,!0)},hide:function(){return Me(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){ve(this)?A(this).show():A(this).hide()}))}});var we,Te,Ae=/^(?:checkbox|radio)$/i,Ce=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ne=/^$|^module$|\/(?:java|ecma)script/i;we=b.createDocumentFragment().appendChild(b.createElement("div")),(Te=b.createElement("input")).setAttribute("type","radio"),Te.setAttribute("checked","checked"),Te.setAttribute("name","t"),we.appendChild(Te),m.checkClone=we.cloneNode(!0).cloneNode(!0).lastChild.checked,we.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!we.cloneNode(!0).lastChild.defaultValue,we.innerHTML="<option></option>",m.option=!!we.lastChild;var Ee={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function Se(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&N(e,t)?A.merge([e],n):n}function je(e,t){for(var n=0,r=e.length;n<r;n++)se.set(e[n],"globalEval",!t||se.get(t[n],"globalEval"))}Ee.tbody=Ee.tfoot=Ee.colgroup=Ee.caption=Ee.thead,Ee.th=Ee.td,m.option||(Ee.optgroup=Ee.option=[1,"<select multiple='multiple'>","</select>"]);var ke=/<|&#?\w+;/;function De(e,t,n,r,i){for(var o,a,s,l,c,u,d=t.createDocumentFragment(),f=[],p=0,h=e.length;p<h;p++)if((o=e[p])||0===o)if("object"===M(o))A.merge(f,o.nodeType?[o]:o);else if(ke.test(o)){for(a=a||d.appendChild(t.createElement("div")),s=(Ce.exec(o)||["",""])[1].toLowerCase(),l=Ee[s]||Ee._default,a.innerHTML=l[1]+A.htmlPrefilter(o)+l[2],u=l[0];u--;)a=a.lastChild;A.merge(f,a.childNodes),(a=d.firstChild).textContent=""}else f.push(t.createTextNode(o));for(d.textContent="",p=0;o=f[p++];)if(r&&A.inArray(o,r)>-1)i&&i.push(o);else if(c=me(o),a=Se(d.appendChild(o),"script"),c&&je(a),n)for(u=0;o=a[u++];)Ne.test(o.type||"")&&n.push(o);return d}var Le=/^([^.]*)(?:\.(.+)|)/;function Oe(){return!0}function Re(){return!1}function Pe(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Pe(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Re;else if(!i)return e;return 1===o&&(a=i,i=function(e){return A().off(e),a.apply(this,arguments)},i.guid=a.guid||(a.guid=A.guid++)),e.each((function(){A.event.add(this,t,i,r,n)}))}function ze(e,t,n){n?(se.set(e,t,!1),A.event.add(e,t,{namespace:!1,handler:function(e){var n,r=se.get(this,t);if(1&e.isTrigger&&this[t]){if(r)(A.event.special[t]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),se.set(this,t,r),this[t](),n=se.get(this,t),se.set(this,t,!1),r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n}else r&&(se.set(this,t,A.event.trigger(r[0],r.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Oe)}})):void 0===se.get(e,t)&&A.event.add(e,t,Oe)}A.event={global:{},add:function(e,t,n,r,i){var o,a,s,l,c,u,d,f,p,h,g,m=se.get(e);if(oe(e))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&A.find.matchesSelector(ge,i),n.guid||(n.guid=A.guid++),(l=m.events)||(l=m.events=Object.create(null)),(a=m.handle)||(a=m.handle=function(t){return void 0!==A&&A.event.triggered!==t.type?A.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(V)||[""]).length;c--;)p=g=(s=Le.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p&&(d=A.event.special[p]||{},p=(i?d.delegateType:d.bindType)||p,d=A.event.special[p]||{},u=A.extend({type:p,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&A.expr.match.needsContext.test(i),namespace:h.join(".")},o),(f=l[p])||((f=l[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(p,a)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),i?f.splice(f.delegateCount++,0,u):f.push(u),A.event.global[p]=!0)},remove:function(e,t,n,r,i){var o,a,s,l,c,u,d,f,p,h,g,m=se.hasData(e)&&se.get(e);if(m&&(l=m.events)){for(c=(t=(t||"").match(V)||[""]).length;c--;)if(p=g=(s=Le.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p){for(d=A.event.special[p]||{},f=l[p=(r?d.delegateType:d.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=f.length;o--;)u=f[o],!i&&g!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(f.splice(o,1),u.selector&&f.delegateCount--,d.remove&&d.remove.call(e,u));a&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,h,m.handle)||A.removeEvent(e,p,m.handle),delete l[p])}else for(p in l)A.event.remove(e,p+t[c],n,r,!0);A.isEmptyObject(l)&&se.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),l=A.event.fix(e),c=(se.get(this,"events")||Object.create(null))[l.type]||[],u=A.event.special[l.type]||{};for(s[0]=l,t=1;t<arguments.length;t++)s[t]=arguments[t];if(l.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,l)){for(a=A.event.handlers.call(this,l,c),t=0;(i=a[t++])&&!l.isPropagationStopped();)for(l.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==o.namespace&&!l.rnamespace.test(o.namespace)||(l.handleObj=o,l.data=o.data,void 0!==(r=((A.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(l.result=r)&&(l.preventDefault(),l.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,r,i,o,a,s=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(o=[],a={},n=0;n<l;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?A(i,this).index(c)>-1:A.find(i,this,null,[c]).length),a[i]&&o.push(r);o.length&&s.push({elem:c,handlers:o})}return c=this,l<t.length&&s.push({elem:c,handlers:t.slice(l)}),s},addProp:function(e,t){Object.defineProperty(A.Event.prototype,e,{enumerable:!0,configurable:!0,get:y(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[A.expando]?e:new A.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return Ae.test(t.type)&&t.click&&N(t,"input")&&ze(t,"click",!0),!1},trigger:function(e){var t=this||e;return Ae.test(t.type)&&t.click&&N(t,"input")&&ze(t,"click"),!0},_default:function(e){var t=e.target;return Ae.test(t.type)&&t.click&&N(t,"input")&&se.get(t,"click")||N(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},A.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},A.Event=function(e,t){if(!(this instanceof A.Event))return new A.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Oe:Re,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&A.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[A.expando]=!0},A.Event.prototype={constructor:A.Event,isDefaultPrevented:Re,isPropagationStopped:Re,isImmediatePropagationStopped:Re,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Oe,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Oe,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Oe,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},A.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},A.event.addProp),A.each({focus:"focusin",blur:"focusout"},(function(e,t){function n(e){if(b.documentMode){var n=se.get(this,"handle"),r=A.event.fix(e);r.type="focusin"===e.type?"focus":"blur",r.isSimulated=!0,n(e),r.target===r.currentTarget&&n(r)}else A.event.simulate(t,e.target,A.event.fix(e))}A.event.special[e]={setup:function(){var r;if(ze(this,e,!0),!b.documentMode)return!1;(r=se.get(this,t))||this.addEventListener(t,n),se.set(this,t,(r||0)+1)},trigger:function(){return ze(this,e),!0},teardown:function(){var e;if(!b.documentMode)return!1;(e=se.get(this,t)-1)?se.set(this,t,e):(this.removeEventListener(t,n),se.remove(this,t))},_default:function(t){return se.get(t.target,e)},delegateType:t},A.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,i=b.documentMode?this:r,o=se.get(i,t);o||(b.documentMode?this.addEventListener(t,n):r.addEventListener(e,n,!0)),se.set(i,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=b.documentMode?this:r,o=se.get(i,t)-1;o?se.set(i,t,o):(b.documentMode?this.removeEventListener(t,n):r.removeEventListener(e,n,!0),se.remove(i,t))}}})),A.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){A.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=e.relatedTarget,i=e.handleObj;return r&&(r===this||A.contains(this,r))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}})),A.fn.extend({on:function(e,t,n,r){return Pe(this,e,t,n,r)},one:function(e,t,n,r){return Pe(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,A(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Re),this.each((function(){A.event.remove(this,e,n,t)}))}});var Ue=/<script|<style|<link/i,_e=/checked\s*(?:[^=]|=\s*.checked.)/i,Ze=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Ge(e,t){return N(e,"table")&&N(11!==t.nodeType?t:t.firstChild,"tr")&&A(e).children("tbody")[0]||e}function Be(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Fe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Ye(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(se.hasData(e)&&(s=se.get(e).events))for(i in se.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)A.event.add(t,i,s[i][n]);le.hasData(e)&&(o=le.access(e),a=A.extend({},o),le.set(t,a))}}function We(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Ae.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function He(e,t,n,r){t=l(t);var i,o,a,s,c,u,d=0,f=e.length,p=f-1,h=t[0],g=y(h);if(g||f>1&&"string"==typeof h&&!m.checkClone&&_e.test(h))return e.each((function(i){var o=e.eq(i);g&&(t[0]=h.call(this,i,o.html())),He(o,t,n,r)}));if(f&&(o=(i=De(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(s=(a=A.map(Se(i,"script"),Be)).length;d<f;d++)c=i,d!==p&&(c=A.clone(c,!0,!0),s&&A.merge(a,Se(c,"script"))),n.call(e[d],c,d);if(s)for(u=a[a.length-1].ownerDocument,A.map(a,Fe),d=0;d<s;d++)c=a[d],Ne.test(c.type||"")&&!se.access(c,"globalEval")&&A.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?A._evalUrl&&!c.noModule&&A._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},u):x(c.textContent.replace(Ze,""),c,u))}return e}function Ve(e,t,n){for(var r,i=t?A.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||A.cleanData(Se(r)),r.parentNode&&(n&&me(r)&&je(Se(r,"script")),r.parentNode.removeChild(r));return e}A.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),l=me(e);if(!(m.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||A.isXMLDoc(e)))for(a=Se(s),r=0,i=(o=Se(e)).length;r<i;r++)We(o[r],a[r]);if(t)if(n)for(o=o||Se(e),a=a||Se(s),r=0,i=o.length;r<i;r++)Ye(o[r],a[r]);else Ye(e,s);return(a=Se(s,"script")).length>0&&je(a,!l&&Se(e,"script")),s},cleanData:function(e){for(var t,n,r,i=A.event.special,o=0;void 0!==(n=e[o]);o++)if(oe(n)){if(t=n[se.expando]){if(t.events)for(r in t.events)i[r]?A.event.remove(n,r):A.removeEvent(n,r,t.handle);n[se.expando]=void 0}n[le.expando]&&(n[le.expando]=void 0)}}}),A.fn.extend({detach:function(e){return Ve(this,e,!0)},remove:function(e){return Ve(this,e)},text:function(e){return ee(this,(function(e){return void 0===e?A.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return He(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ge(this,e).appendChild(e)}))},prepend:function(){return He(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ge(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return He(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return He(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(A.cleanData(Se(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return A.clone(this,e,t)}))},html:function(e){return ee(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ue.test(e)&&!Ee[(Ce.exec(e)||["",""])[1].toLowerCase()]){e=A.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(A.cleanData(Se(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return He(this,arguments,(function(t){var n=this.parentNode;A.inArray(this,e)<0&&(A.cleanData(Se(this)),n&&n.replaceChild(t,this))}),e)}}),A.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){A.fn[e]=function(e){for(var n,r=[],i=A(e),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),A(i[a])[t](n),c.apply(r,n.get());return this.pushStack(r)}}));var qe=new RegExp("^("+fe+")(?!px)[a-z%]+$","i"),Qe=/^--/,Je=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=r),t.getComputedStyle(e)},Xe=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},Ke=new RegExp(he.join("|"),"i");function $e(e,t,n){var r,i,o,a,s=Qe.test(t),l=e.style;return(n=n||Je(e))&&(a=n.getPropertyValue(t)||n[t],s&&a&&(a=a.replace(D,"$1")||void 0),""!==a||me(e)||(a=A.style(e,t)),!m.pixelBoxStyles()&&qe.test(a)&&Ke.test(t)&&(r=l.width,i=l.minWidth,o=l.maxWidth,l.minWidth=l.maxWidth=l.width=a,a=n.width,l.width=r,l.minWidth=i,l.maxWidth=o)),void 0!==a?a+"":a}function et(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(u){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ge.appendChild(c).appendChild(u);var e=r.getComputedStyle(u);n="1%"!==e.top,l=12===t(e.marginLeft),u.style.right="60%",a=36===t(e.right),i=36===t(e.width),u.style.position="absolute",o=12===t(u.offsetWidth/3),ge.removeChild(c),u=null}}function t(e){return Math.round(parseFloat(e))}var n,i,o,a,s,l,c=b.createElement("div"),u=b.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle="content-box"===u.style.backgroundClip,A.extend(m,{boxSizingReliable:function(){return e(),i},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),o},reliableTrDimensions:function(){var e,t,n,i;return null==s&&(e=b.createElement("table"),t=b.createElement("tr"),n=b.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",ge.appendChild(e).appendChild(t).appendChild(n),i=r.getComputedStyle(t),s=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===t.offsetHeight,ge.removeChild(e)),s}}))}();var tt=["Webkit","Moz","ms"],nt=b.createElement("div").style,rt={};function it(e){return A.cssProps[e]||rt[e]||(e in nt?e:rt[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=tt.length;n--;)if((e=tt[n]+t)in nt)return e}(e)||e)}var ot=/^(none|table(?!-c[ea]).+)/,at={position:"absolute",visibility:"hidden",display:"block"},st={letterSpacing:"0",fontWeight:"400"};function lt(e,t,n){var r=pe.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function ct(e,t,n,r,i,o){var a="width"===t?1:0,s=0,l=0,c=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(c+=A.css(e,n+he[a],!0,i)),r?("content"===n&&(l-=A.css(e,"padding"+he[a],!0,i)),"margin"!==n&&(l-=A.css(e,"border"+he[a]+"Width",!0,i))):(l+=A.css(e,"padding"+he[a],!0,i),"padding"!==n?l+=A.css(e,"border"+he[a]+"Width",!0,i):s+=A.css(e,"border"+he[a]+"Width",!0,i));return!r&&o>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-l-s-.5))||0),l+c}function ut(e,t,n){var r=Je(e),i=(!m.boxSizingReliable()||n)&&"border-box"===A.css(e,"boxSizing",!1,r),o=i,a=$e(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(qe.test(a)){if(!n)return a;a="auto"}return(!m.boxSizingReliable()&&i||!m.reliableTrDimensions()&&N(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===A.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===A.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+ct(e,t,n||(i?"border":"content"),o,r,a)+"px"}function dt(e,t,n,r,i){return new dt.prototype.init(e,t,n,r,i)}A.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=$e(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=ie(t),l=Qe.test(t),c=e.style;if(l||(t=it(s)),a=A.cssHooks[t]||A.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:c[t];"string"==(o=typeof n)&&(i=pe.exec(n))&&i[1]&&(n=be(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||l||(n+=i&&i[3]||(A.cssNumber[s]?"":"px")),m.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var i,o,a,s=ie(t);return Qe.test(t)||(t=it(s)),(a=A.cssHooks[t]||A.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=$e(e,t,r)),"normal"===i&&t in st&&(i=st[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),A.each(["height","width"],(function(e,t){A.cssHooks[t]={get:function(e,n,r){if(n)return!ot.test(A.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ut(e,t,r):Xe(e,at,(function(){return ut(e,t,r)}))},set:function(e,n,r){var i,o=Je(e),a=!m.scrollboxSize()&&"absolute"===o.position,s=(a||r)&&"border-box"===A.css(e,"boxSizing",!1,o),l=r?ct(e,t,r,s,o):0;return s&&a&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-ct(e,t,"border",!1,o)-.5)),l&&(i=pe.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=A.css(e,t)),lt(0,n,l)}}})),A.cssHooks.marginLeft=et(m.reliableMarginLeft,(function(e,t){if(t)return(parseFloat($e(e,"marginLeft"))||e.getBoundingClientRect().left-Xe(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),A.each({margin:"",padding:"",border:"Width"},(function(e,t){A.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+he[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(A.cssHooks[e+t].set=lt)})),A.fn.extend({css:function(e,t){return ee(this,(function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=Je(e),i=t.length;a<i;a++)o[t[a]]=A.css(e,t[a],!1,r);return o}return void 0!==n?A.style(e,t,n):A.css(e,t)}),e,t,arguments.length>1)}}),A.Tween=dt,dt.prototype={constructor:dt,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||A.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(A.cssNumber[n]?"":"px")},cur:function(){var e=dt.propHooks[this.prop];return e&&e.get?e.get(this):dt.propHooks._default.get(this)},run:function(e){var t,n=dt.propHooks[this.prop];return this.options.duration?this.pos=t=A.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):dt.propHooks._default.set(this),this}},dt.prototype.init.prototype=dt.prototype,dt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=A.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){A.fx.step[e.prop]?A.fx.step[e.prop](e):1!==e.elem.nodeType||!A.cssHooks[e.prop]&&null==e.elem.style[it(e.prop)]?e.elem[e.prop]=e.now:A.style(e.elem,e.prop,e.now+e.unit)}}},dt.propHooks.scrollTop=dt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},A.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},A.fx=dt.prototype.init,A.fx.step={};var ft,pt,ht=/^(?:toggle|show|hide)$/,gt=/queueHooks$/;function mt(){pt&&(!1===b.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(mt):r.setTimeout(mt,A.fx.interval),A.fx.tick())}function yt(){return r.setTimeout((function(){ft=void 0})),ft=Date.now()}function vt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=he[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function bt(e,t,n){for(var r,i=(It.tweeners[t]||[]).concat(It.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function It(e,t,n){var r,i,o=0,a=It.prefilters.length,s=A.Deferred().always((function(){delete l.elem})),l=function(){if(i)return!1;for(var t=ft||yt(),n=Math.max(0,c.startTime+c.duration-t),r=1-(n/c.duration||0),o=0,a=c.tweens.length;o<a;o++)c.tweens[o].run(r);return s.notifyWith(e,[c,r,n]),r<1&&a?n:(a||s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:A.extend({},t),opts:A.extend(!0,{specialEasing:{},easing:A.easing._default},n),originalProperties:t,originalOptions:n,startTime:ft||yt(),duration:n.duration,tweens:[],createTween:function(t,n){var r=A.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(r),r},stop:function(t){var n=0,r=t?c.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)c.tweens[n].run(1);return t?(s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c,t])):s.rejectWith(e,[c,t]),this}}),u=c.props;for(function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=ie(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=A.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(u,c.opts.specialEasing);o<a;o++)if(r=It.prefilters[o].call(c,e,u,c.opts))return y(r.stop)&&(A._queueHooks(c.elem,c.opts.queue).stop=r.stop.bind(r)),r;return A.map(u,bt,c),y(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),A.fx.timer(A.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}A.Animation=A.extend(It,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return be(n.elem,e,pe.exec(t),n),n}]},tweener:function(e,t){y(e)?(t=e,e=["*"]):e=e.match(V);for(var n,r=0,i=e.length;r<i;r++)n=e[r],It.tweeners[n]=It.tweeners[n]||[],It.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,l,c,u,d="width"in t||"height"in t,f=this,p={},h=e.style,g=e.nodeType&&ve(e),m=se.get(e,"fxshow");for(r in n.queue||(null==(a=A._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,f.always((function(){f.always((function(){a.unqueued--,A.queue(e,"fx").length||a.empty.fire()}))}))),t)if(i=t[r],ht.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!m||void 0===m[r])continue;g=!0}p[r]=m&&m[r]||A.style(e,r)}if((l=!A.isEmptyObject(t))||!A.isEmptyObject(p))for(r in d&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(c=m&&m.display)&&(c=se.get(e,"display")),"none"===(u=A.css(e,"display"))&&(c?u=c:(Me([e],!0),c=e.style.display||c,u=A.css(e,"display"),Me([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===A.css(e,"float")&&(l||(f.done((function(){h.display=c})),null==c&&(u=h.display,c="none"===u?"":u)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",f.always((function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]}))),l=!1,p)l||(m?"hidden"in m&&(g=m.hidden):m=se.access(e,"fxshow",{display:c}),o&&(m.hidden=!g),g&&Me([e],!0),f.done((function(){for(r in g||Me([e]),se.remove(e,"fxshow"),p)A.style(e,r,p[r])}))),l=bt(g?m[r]:0,r,f),r in m||(m[r]=l.start,g&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?It.prefilters.unshift(e):It.prefilters.push(e)}}),A.speed=function(e,t,n){var r=e&&"object"==typeof e?A.extend({},e):{complete:n||!n&&t||y(e)&&e,duration:e,easing:n&&t||t&&!y(t)&&t};return A.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in A.fx.speeds?r.duration=A.fx.speeds[r.duration]:r.duration=A.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){y(r.old)&&r.old.call(this),r.queue&&A.dequeue(this,r.queue)},r},A.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ve).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=A.isEmptyObject(e),o=A.speed(t,n,r),a=function(){var t=It(this,A.extend({},e),o);(i||se.get(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,i=null!=e&&e+"queueHooks",o=A.timers,a=se.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&>.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||A.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=se.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=A.timers,a=r?r.length:0;for(n.finish=!0,A.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),A.each(["toggle","show","hide"],(function(e,t){var n=A.fn[t];A.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(vt(t,!0),e,r,i)}})),A.each({slideDown:vt("show"),slideUp:vt("hide"),slideToggle:vt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){A.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),A.timers=[],A.fx.tick=function(){var e,t=0,n=A.timers;for(ft=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||A.fx.stop(),ft=void 0},A.fx.timer=function(e){A.timers.push(e),A.fx.start()},A.fx.interval=13,A.fx.start=function(){pt||(pt=!0,mt())},A.fx.stop=function(){pt=null},A.fx.speeds={slow:600,fast:200,_default:400},A.fn.delay=function(e,t){return e=A.fx&&A.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,n){var i=r.setTimeout(t,e);n.stop=function(){r.clearTimeout(i)}}))},function(){var e=b.createElement("input"),t=b.createElement("select").appendChild(b.createElement("option"));e.type="checkbox",m.checkOn=""!==e.value,m.optSelected=t.selected,(e=b.createElement("input")).value="t",e.type="radio",m.radioValue="t"===e.value}();var xt,Mt=A.expr.attrHandle;A.fn.extend({attr:function(e,t){return ee(this,A.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){A.removeAttr(this,e)}))}}),A.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?A.prop(e,t,n):(1===o&&A.isXMLDoc(e)||(i=A.attrHooks[t.toLowerCase()]||(A.expr.match.bool.test(t)?xt:void 0)),void 0!==n?null===n?void A.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=A.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!m.radioValue&&"radio"===t&&N(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(V);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),xt={set:function(e,t,n){return!1===t?A.removeAttr(e,n):e.setAttribute(n,n),n}},A.each(A.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=Mt[t]||A.find.attr;Mt[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=Mt[a],Mt[a]=i,i=null!=n(e,t,r)?a:null,Mt[a]=o),i}}));var wt=/^(?:input|select|textarea|button)$/i,Tt=/^(?:a|area)$/i;function At(e){return(e.match(V)||[]).join(" ")}function Ct(e){return e.getAttribute&&e.getAttribute("class")||""}function Nt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(V)||[]}A.fn.extend({prop:function(e,t){return ee(this,A.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[A.propFix[e]||e]}))}}),A.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&A.isXMLDoc(e)||(t=A.propFix[t]||t,i=A.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=A.find.attr(e,"tabindex");return t?parseInt(t,10):wt.test(e.nodeName)||Tt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(A.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),A.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){A.propFix[this.toLowerCase()]=this})),A.fn.extend({addClass:function(e){var t,n,r,i,o,a;return y(e)?this.each((function(t){A(this).addClass(e.call(this,t,Ct(this)))})):(t=Nt(e)).length?this.each((function(){if(r=Ct(this),n=1===this.nodeType&&" "+At(r)+" "){for(o=0;o<t.length;o++)i=t[o],n.indexOf(" "+i+" ")<0&&(n+=i+" ");a=At(n),r!==a&&this.setAttribute("class",a)}})):this},removeClass:function(e){var t,n,r,i,o,a;return y(e)?this.each((function(t){A(this).removeClass(e.call(this,t,Ct(this)))})):arguments.length?(t=Nt(e)).length?this.each((function(){if(r=Ct(this),n=1===this.nodeType&&" "+At(r)+" "){for(o=0;o<t.length;o++)for(i=t[o];n.indexOf(" "+i+" ")>-1;)n=n.replace(" "+i+" "," ");a=At(n),r!==a&&this.setAttribute("class",a)}})):this:this.attr("class","")},toggleClass:function(e,t){var n,r,i,o,a=typeof e,s="string"===a||Array.isArray(e);return y(e)?this.each((function(n){A(this).toggleClass(e.call(this,n,Ct(this),t),t)})):"boolean"==typeof t&&s?t?this.addClass(e):this.removeClass(e):(n=Nt(e),this.each((function(){if(s)for(o=A(this),i=0;i<n.length;i++)r=n[i],o.hasClass(r)?o.removeClass(r):o.addClass(r);else void 0!==e&&"boolean"!==a||((r=Ct(this))&&se.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===e?"":se.get(this,"__className__")||""))})))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+At(Ct(n))+" ").indexOf(t)>-1)return!0;return!1}});var Et=/\r/g;A.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=y(e),this.each((function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,A(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=A.map(i,(function(e){return null==e?"":e+""}))),(t=A.valHooks[this.type]||A.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=A.valHooks[i.type]||A.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(Et,""):null==n?"":n:void 0}}),A.extend({valHooks:{option:{get:function(e){var t=A.find.attr(e,"value");return null!=t?t:At(A.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],l=a?o+1:i.length;for(r=o<0?l:a?o:0;r<l;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!N(n.parentNode,"optgroup"))){if(t=A(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,i=e.options,o=A.makeArray(t),a=i.length;a--;)((r=i[a]).selected=A.inArray(A.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),A.each(["radio","checkbox"],(function(){A.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=A.inArray(A(e).val(),t)>-1}},m.checkOn||(A.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var St=r.location,jt={guid:Date.now()},kt=/\?/;A.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||A.error("Invalid XML: "+(n?A.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var Dt=/^(?:focusinfocus|focusoutblur)$/,Lt=function(e){e.stopPropagation()};A.extend(A.event,{trigger:function(e,t,n,i){var o,a,s,l,c,u,d,f,h=[n||b],g=p.call(e,"type")?e.type:e,m=p.call(e,"namespace")?e.namespace.split("."):[];if(a=f=s=n=n||b,3!==n.nodeType&&8!==n.nodeType&&!Dt.test(g+A.event.triggered)&&(g.indexOf(".")>-1&&(m=g.split("."),g=m.shift(),m.sort()),c=g.indexOf(":")<0&&"on"+g,(e=e[A.expando]?e:new A.Event(g,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=m.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:A.makeArray(t,[e]),d=A.event.special[g]||{},i||!d.trigger||!1!==d.trigger.apply(n,t))){if(!i&&!d.noBubble&&!v(n)){for(l=d.delegateType||g,Dt.test(l+g)||(a=a.parentNode);a;a=a.parentNode)h.push(a),s=a;s===(n.ownerDocument||b)&&h.push(s.defaultView||s.parentWindow||r)}for(o=0;(a=h[o++])&&!e.isPropagationStopped();)f=a,e.type=o>1?l:d.bindType||g,(u=(se.get(a,"events")||Object.create(null))[e.type]&&se.get(a,"handle"))&&u.apply(a,t),(u=c&&a[c])&&u.apply&&oe(a)&&(e.result=u.apply(a,t),!1===e.result&&e.preventDefault());return e.type=g,i||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(h.pop(),t)||!oe(n)||c&&y(n[g])&&!v(n)&&((s=n[c])&&(n[c]=null),A.event.triggered=g,e.isPropagationStopped()&&f.addEventListener(g,Lt),n[g](),e.isPropagationStopped()&&f.removeEventListener(g,Lt),A.event.triggered=void 0,s&&(n[c]=s)),e.result}},simulate:function(e,t,n){var r=A.extend(new A.Event,n,{type:e,isSimulated:!0});A.event.trigger(r,null,t)}}),A.fn.extend({trigger:function(e,t){return this.each((function(){A.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return A.event.trigger(e,t,n,!0)}});var Ot=/\[\]$/,Rt=/\r?\n/g,Pt=/^(?:submit|button|image|reset|file)$/i,zt=/^(?:input|select|textarea|keygen)/i;function Ut(e,t,n,r){var i;if(Array.isArray(t))A.each(t,(function(t,i){n||Ot.test(e)?r(e,i):Ut(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)}));else if(n||"object"!==M(t))r(e,t);else for(i in t)Ut(e+"["+i+"]",t[i],n,r)}A.param=function(e,t){var n,r=[],i=function(e,t){var n=y(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!A.isPlainObject(e))A.each(e,(function(){i(this.name,this.value)}));else for(n in e)Ut(n,e[n],t,i);return r.join("&")},A.fn.extend({serialize:function(){return A.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=A.prop(this,"elements");return e?A.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!A(this).is(":disabled")&&zt.test(this.nodeName)&&!Pt.test(e)&&(this.checked||!Ae.test(e))})).map((function(e,t){var n=A(this).val();return null==n?null:Array.isArray(n)?A.map(n,(function(e){return{name:t.name,value:e.replace(Rt,"\r\n")}})):{name:t.name,value:n.replace(Rt,"\r\n")}})).get()}});var _t=/%20/g,Zt=/#.*$/,Gt=/([?&])_=[^&]*/,Bt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ft=/^(?:GET|HEAD)$/,Yt=/^\/\//,Wt={},Ht={},Vt="*/".concat("*"),qt=b.createElement("a");function Qt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(V)||[];if(y(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Jt(e,t,n,r){var i={},o=e===Ht;function a(s){var l;return i[s]=!0,A.each(e[s]||[],(function(e,s){var c=s(t,n,r);return"string"!=typeof c||o||i[c]?o?!(l=c):void 0:(t.dataTypes.unshift(c),a(c),!1)})),l}return a(t.dataTypes[0])||!i["*"]&&a("*")}function Xt(e,t){var n,r,i=A.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&A.extend(!0,e,r),e}qt.href=St.href,A.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:St.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(St.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Vt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":A.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Xt(Xt(e,A.ajaxSettings),t):Xt(A.ajaxSettings,e)},ajaxPrefilter:Qt(Wt),ajaxTransport:Qt(Ht),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,i,o,a,s,l,c,u,d,f,p=A.ajaxSetup({},t),h=p.context||p,g=p.context&&(h.nodeType||h.jquery)?A(h):A.event,m=A.Deferred(),y=A.Callbacks("once memory"),v=p.statusCode||{},I={},x={},M="canceled",w={readyState:0,getResponseHeader:function(e){var t;if(c){if(!a)for(a={};t=Bt.exec(o);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?o:null},setRequestHeader:function(e,t){return null==c&&(e=x[e.toLowerCase()]=x[e.toLowerCase()]||e,I[e]=t),this},overrideMimeType:function(e){return null==c&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)w.always(e[w.status]);else for(t in e)v[t]=[v[t],e[t]];return this},abort:function(e){var t=e||M;return n&&n.abort(t),T(0,t),this}};if(m.promise(w),p.url=((e||p.url||St.href)+"").replace(Yt,St.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(V)||[""],null==p.crossDomain){l=b.createElement("a");try{l.href=p.url,l.href=l.href,p.crossDomain=qt.protocol+"//"+qt.host!=l.protocol+"//"+l.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=A.param(p.data,p.traditional)),Jt(Wt,p,t,w),c)return w;for(d in(u=A.event&&p.global)&&0==A.active++&&A.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Ft.test(p.type),i=p.url.replace(Zt,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(_t,"+")):(f=p.url.slice(i.length),p.data&&(p.processData||"string"==typeof p.data)&&(i+=(kt.test(i)?"&":"?")+p.data,delete p.data),!1===p.cache&&(i=i.replace(Gt,"$1"),f=(kt.test(i)?"&":"?")+"_="+jt.guid+++f),p.url=i+f),p.ifModified&&(A.lastModified[i]&&w.setRequestHeader("If-Modified-Since",A.lastModified[i]),A.etag[i]&&w.setRequestHeader("If-None-Match",A.etag[i])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&w.setRequestHeader("Content-Type",p.contentType),w.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Vt+"; q=0.01":""):p.accepts["*"]),p.headers)w.setRequestHeader(d,p.headers[d]);if(p.beforeSend&&(!1===p.beforeSend.call(h,w,p)||c))return w.abort();if(M="abort",y.add(p.complete),w.done(p.success),w.fail(p.error),n=Jt(Ht,p,t,w)){if(w.readyState=1,u&&g.trigger("ajaxSend",[w,p]),c)return w;p.async&&p.timeout>0&&(s=r.setTimeout((function(){w.abort("timeout")}),p.timeout));try{c=!1,n.send(I,T)}catch(e){if(c)throw e;T(-1,e)}}else T(-1,"No Transport");function T(e,t,a,l){var d,f,b,I,x,M=t;c||(c=!0,s&&r.clearTimeout(s),n=void 0,o=l||"",w.readyState=e>0?4:0,d=e>=200&&e<300||304===e,a&&(I=function(e,t,n){for(var r,i,o,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){l.unshift(i);break}if(l[0]in n)o=l[0];else{for(i in n){if(!l[0]||e.converters[i+" "+l[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==l[0]&&l.unshift(o),n[o]}(p,w,a)),!d&&A.inArray("script",p.dataTypes)>-1&&A.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),I=function(e,t,n,r){var i,o,a,s,l,c={},u=e.dataTypes.slice();if(u[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(o=u.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=u.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=c[l+" "+o]||c["* "+o]))for(i in c)if((s=i.split(" "))[1]===o&&(a=c[l+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[i]:!0!==c[i]&&(o=s[0],u.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}(p,I,w,d),d?(p.ifModified&&((x=w.getResponseHeader("Last-Modified"))&&(A.lastModified[i]=x),(x=w.getResponseHeader("etag"))&&(A.etag[i]=x)),204===e||"HEAD"===p.type?M="nocontent":304===e?M="notmodified":(M=I.state,f=I.data,d=!(b=I.error))):(b=M,!e&&M||(M="error",e<0&&(e=0))),w.status=e,w.statusText=(t||M)+"",d?m.resolveWith(h,[f,M,w]):m.rejectWith(h,[w,M,b]),w.statusCode(v),v=void 0,u&&g.trigger(d?"ajaxSuccess":"ajaxError",[w,p,d?f:b]),y.fireWith(h,[w,M]),u&&(g.trigger("ajaxComplete",[w,p]),--A.active||A.event.trigger("ajaxStop")))}return w},getJSON:function(e,t,n){return A.get(e,t,n,"json")},getScript:function(e,t){return A.get(e,void 0,t,"script")}}),A.each(["get","post"],(function(e,t){A[t]=function(e,n,r,i){return y(n)&&(i=i||r,r=n,n=void 0),A.ajax(A.extend({url:e,type:t,dataType:i,data:n,success:r},A.isPlainObject(e)&&e))}})),A.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),A._evalUrl=function(e,t,n){return A.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){A.globalEval(e,t,n)}})},A.fn.extend({wrapAll:function(e){var t;return this[0]&&(y(e)&&(e=e.call(this[0])),t=A(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return y(e)?this.each((function(t){A(this).wrapInner(e.call(this,t))})):this.each((function(){var t=A(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=y(e);return this.each((function(n){A(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){A(this).replaceWith(this.childNodes)})),this}}),A.expr.pseudos.hidden=function(e){return!A.expr.pseudos.visible(e)},A.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},A.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var Kt={0:200,1223:204},$t=A.ajaxSettings.xhr();m.cors=!!$t&&"withCredentials"in $t,m.ajax=$t=!!$t,A.ajaxTransport((function(e){var t,n;if(m.cors||$t&&!e.crossDomain)return{send:function(i,o){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(a,i[a]);t=function(e){return function(){t&&(t=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Kt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),n=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&r.setTimeout((function(){t&&n()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),A.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),A.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return A.globalEval(e),e}}}),A.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),A.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,i){t=A("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),b.head.appendChild(t[0])},abort:function(){n&&n()}}}));var en,tn=[],nn=/(=)\?(?=&|$)|\?\?/;A.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=tn.pop()||A.expando+"_"+jt.guid++;return this[e]=!0,e}}),A.ajaxPrefilter("json jsonp",(function(e,t,n){var i,o,a,s=!1!==e.jsonp&&(nn.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&nn.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=y(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(nn,"$1"+i):!1!==e.jsonp&&(e.url+=(kt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return a||A.error(i+" was not called"),a[0]},e.dataTypes[0]="json",o=r[i],r[i]=function(){a=arguments},n.always((function(){void 0===o?A(r).removeProp(i):r[i]=o,e[i]&&(e.jsonpCallback=t.jsonpCallback,tn.push(i)),a&&y(o)&&o(a[0]),a=o=void 0})),"script"})),m.createHTMLDocument=((en=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===en.childNodes.length),A.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(m.createHTMLDocument?((r=(t=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,t.head.appendChild(r)):t=b),o=!n&&[],(i=Z.exec(e))?[t.createElement(i[1])]:(i=De([e],t,o),o&&o.length&&A(o).remove(),A.merge([],i.childNodes)));var r,i,o},A.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return s>-1&&(r=At(e.slice(s)),e=e.slice(0,s)),y(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&A.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done((function(e){o=arguments,a.html(r?A("<div>").append(A.parseHTML(e)).find(r):e)})).always(n&&function(e,t){a.each((function(){n.apply(this,o||[e.responseText,t,e])}))}),this},A.expr.pseudos.animated=function(e){return A.grep(A.timers,(function(t){return e===t.elem})).length},A.offset={setOffset:function(e,t,n){var r,i,o,a,s,l,c=A.css(e,"position"),u=A(e),d={};"static"===c&&(e.style.position="relative"),s=u.offset(),o=A.css(e,"top"),l=A.css(e,"left"),("absolute"===c||"fixed"===c)&&(o+l).indexOf("auto")>-1?(a=(r=u.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(l)||0),y(t)&&(t=t.call(e,n,A.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+i),"using"in t?t.using.call(e,d):u.css(d)}},A.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){A.offset.setOffset(this,e,t)}));var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===A.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===A.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=A(e).offset()).top+=A.css(e,"borderTopWidth",!0),i.left+=A.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-A.css(r,"marginTop",!0),left:t.left-i.left-A.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===A.css(e,"position");)e=e.offsetParent;return e||ge}))}}),A.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;A.fn[e]=function(r){return ee(this,(function(e,r,i){var o;if(v(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===i)return o?o[t]:e[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):e[r]=i}),e,r,arguments.length)}})),A.each(["top","left"],(function(e,t){A.cssHooks[t]=et(m.pixelPosition,(function(e,n){if(n)return n=$e(e,t),qe.test(n)?A(e).position()[t]+"px":n}))})),A.each({Height:"height",Width:"width"},(function(e,t){A.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){A.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===o?"margin":"border");return ee(this,(function(t,n,i){var o;return v(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?A.css(t,n,s):A.style(t,n,i,s)}),t,a?i:void 0,a)}}))})),A.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){A.fn[t]=function(e){return this.on(t,e)}})),A.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),A.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){A.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var rn=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;A.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),y(e))return r=s.call(arguments,2),i=function(){return e.apply(t||this,r.concat(s.call(arguments)))},i.guid=e.guid=e.guid||A.guid++,i},A.holdReady=function(e){e?A.readyWait++:A.ready(!0)},A.isArray=Array.isArray,A.parseJSON=JSON.parse,A.nodeName=N,A.isFunction=y,A.isWindow=v,A.camelCase=ie,A.type=M,A.now=Date.now,A.isNumeric=function(e){var t=A.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},A.trim=function(e){return null==e?"":(e+"").replace(rn,"$1")},void 0===(n=function(){return A}.apply(t,[]))||(e.exports=n);var on=r.jQuery,an=r.$;return A.noConflict=function(e){return r.$===A&&(r.$=an),e&&r.jQuery===A&&(r.jQuery=on),A},void 0===i&&(r.jQuery=r.$=A),A}))},8915:function(e,t){var n,r;void 0===(r="function"==typeof(n=function(){return function(e){function t(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function n(t){var n,r=t.exec(e.substring(g));if(r)return n=r[0],g+=n.length,n}for(var r,i,o,a,s,l=e.length,c=/^[ \t\n\r\u000c]+/,u=/^[, \t\n\r\u000c]+/,d=/^[^ \t\n\r\u000c]+/,f=/[,]+$/,p=/^\d+$/,h=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,g=0,m=[];;){if(n(u),g>=l)return m;r=n(d),i=[],","===r.slice(-1)?(r=r.replace(f,""),v()):y()}function y(){for(n(c),o="",a="in descriptor";;){if(s=e.charAt(g),"in descriptor"===a)if(t(s))o&&(i.push(o),o="",a="after descriptor");else{if(","===s)return g+=1,o&&i.push(o),void v();if("("===s)o+=s,a="in parens";else{if(""===s)return o&&i.push(o),void v();o+=s}}else if("in parens"===a)if(")"===s)o+=s,a="in descriptor";else{if(""===s)return i.push(o),void v();o+=s}else if("after descriptor"===a)if(t(s));else{if(""===s)return void v();a="in descriptor",g-=1}g+=1}}function v(){var t,n,o,a,s,l,c,u,d,f=!1,g={};for(a=0;a<i.length;a++)l=(s=i[a])[s.length-1],c=s.substring(0,s.length-1),u=parseInt(c,10),d=parseFloat(c),p.test(c)&&"w"===l?((t||n)&&(f=!0),0===u?f=!0:t=u):h.test(c)&&"x"===l?((t||n||o)&&(f=!0),d<0?f=!0:n=d):p.test(c)&&"h"===l?((o||n)&&(f=!0),0===u?f=!0:o=u):f=!0;f?console&&console.log&&console.log("Invalid srcset descriptor found in '"+e+"' at '"+s+"'."):(g.url=r,t&&(g.w=t),n&&(g.d=n),o&&(g.h=o),m.push(g))}}})?n.apply(t,[]):n)||(e.exports=r)},4470:e=>{var t=String,n=function(){return{isColorSupported:!1,reset:t,bold:t,dim:t,italic:t,underline:t,inverse:t,hidden:t,strikethrough:t,black:t,red:t,green:t,yellow:t,blue:t,magenta:t,cyan:t,white:t,gray:t,bgBlack:t,bgRed:t,bgGreen:t,bgYellow:t,bgBlue:t,bgMagenta:t,bgCyan:t,bgWhite:t}};e.exports=n(),e.exports.createColors=n},4938:(e,t,n)=>{"use strict";let r=n(4228);class i extends r{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}}e.exports=i,i.default=i,r.registerAtRule(i)},3285:(e,t,n)=>{"use strict";let r=n(8102);class i extends r{constructor(e){super(e),this.type="comment"}}e.exports=i,i.default=i},4228:(e,t,n)=>{"use strict";let r,i,o,a,{isClean:s,my:l}=n(9181),c=n(2973),u=n(3285),d=n(8102);function f(e){return e.map((e=>(e.nodes&&(e.nodes=f(e.nodes)),delete e.source,e)))}function p(e){if(e[s]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)p(t)}class h extends d{push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}each(e){if(!this.proxyOf.nodes)return;let t,n,r=this.getIterator();for(;this.indexes[r]<this.proxyOf.nodes.length&&(t=this.indexes[r],n=e(this.proxyOf.nodes[t],t),!1!==n);)this.indexes[r]+=1;return delete this.indexes[r],n}walk(e){return this.each(((t,n)=>{let r;try{r=e(t,n)}catch(e){throw t.addToError(e)}return!1!==r&&t.walk&&(r=t.walk(e)),r}))}walkDecls(e,t){return t?e instanceof RegExp?this.walk(((n,r)=>{if("decl"===n.type&&e.test(n.prop))return t(n,r)})):this.walk(((n,r)=>{if("decl"===n.type&&n.prop===e)return t(n,r)})):(t=e,this.walk(((e,n)=>{if("decl"===e.type)return t(e,n)})))}walkRules(e,t){return t?e instanceof RegExp?this.walk(((n,r)=>{if("rule"===n.type&&e.test(n.selector))return t(n,r)})):this.walk(((n,r)=>{if("rule"===n.type&&n.selector===e)return t(n,r)})):(t=e,this.walk(((e,n)=>{if("rule"===e.type)return t(e,n)})))}walkAtRules(e,t){return t?e instanceof RegExp?this.walk(((n,r)=>{if("atrule"===n.type&&e.test(n.name))return t(n,r)})):this.walk(((n,r)=>{if("atrule"===n.type&&n.name===e)return t(n,r)})):(t=e,this.walk(((e,n)=>{if("atrule"===e.type)return t(e,n)})))}walkComments(e){return this.walk(((t,n)=>{if("comment"===t.type)return e(t,n)}))}append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}return this.markDirty(),this}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes)this.indexes[t]=this.indexes[t]+e.length}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}insertBefore(e,t){let n,r=this.index(e),i=0===r&&"prepend",o=this.normalize(t,this.proxyOf.nodes[r],i).reverse();r=this.index(e);for(let e of o)this.proxyOf.nodes.splice(r,0,e);for(let e in this.indexes)n=this.indexes[e],r<=n&&(this.indexes[e]=n+o.length);return this.markDirty(),this}insertAfter(e,t){let n,r=this.index(e),i=this.normalize(t,this.proxyOf.nodes[r]).reverse();r=this.index(e);for(let e of i)this.proxyOf.nodes.splice(r+1,0,e);for(let e in this.indexes)n=this.indexes[e],r<n&&(this.indexes[e]=n+i.length);return this.markDirty(),this}removeChild(e){let t;e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);for(let n in this.indexes)t=this.indexes[n],t>=e&&(this.indexes[n]=t-1);return this.markDirty(),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}replaceValues(e,t,n){return n||(n=t,t={}),this.walkDecls((r=>{t.props&&!t.props.includes(r.prop)||t.fast&&!r.value.includes(t.fast)||(r.value=r.value.replace(e,n))})),this.markDirty(),this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}normalize(e,t){if("string"==typeof e)e=f(r(e).nodes);else if(Array.isArray(e)){e=e.slice(0);for(let t of e)t.parent&&t.parent.removeChild(t,"ignore")}else if("root"===e.type&&"document"!==this.type){e=e.nodes.slice(0);for(let t of e)t.parent&&t.parent.removeChild(t,"ignore")}else if(e.type)e=[e];else if(e.prop){if(void 0===e.value)throw new Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new c(e)]}else if(e.selector)e=[new i(e)];else if(e.name)e=[new o(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new u(e)]}return e.map((e=>(e[l]||h.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[s]&&p(e),void 0===e.raws.before&&t&&void 0!==t.raws.before&&(e.raws.before=t.raws.before.replace(/\S/g,"")),e.parent=this.proxyOf,e)))}getProxyProcessor(){return{set:(e,t,n)=>(e[t]===n||(e[t]=n,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0),get:(e,t)=>"proxyOf"===t?e:e[t]?"each"===t||"string"==typeof t&&t.startsWith("walk")?(...n)=>e[t](...n.map((e=>"function"==typeof e?(t,n)=>e(t.toProxy(),n):e))):"every"===t||"some"===t?n=>e[t](((e,...t)=>n(e.toProxy(),...t))):"root"===t?()=>e.root().toProxy():"nodes"===t?e.nodes.map((e=>e.toProxy())):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t]}}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}}h.registerParse=e=>{r=e},h.registerRule=e=>{i=e},h.registerAtRule=e=>{o=e},h.registerRoot=e=>{a=e},e.exports=h,h.default=h,h.rebuild=e=>{"atrule"===e.type?Object.setPrototypeOf(e,o.prototype):"rule"===e.type?Object.setPrototypeOf(e,i.prototype):"decl"===e.type?Object.setPrototypeOf(e,c.prototype):"comment"===e.type?Object.setPrototypeOf(e,u.prototype):"root"===e.type&&Object.setPrototypeOf(e,a.prototype),e[l]=!0,e.nodes&&e.nodes.forEach((e=>{h.rebuild(e)}))}},9452:(e,t,n)=>{"use strict";let r=n(4470),i=n(764);class o extends Error{constructor(e,t,n,r,i,a){super(e),this.name="CssSyntaxError",this.reason=e,i&&(this.file=i),r&&(this.source=r),a&&(this.plugin=a),void 0!==t&&void 0!==n&&("number"==typeof t?(this.line=t,this.column=n):(this.line=t.line,this.column=t.column,this.endLine=n.line,this.endColumn=n.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,o)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;null==e&&(e=r.isColorSupported),i&&e&&(t=i(t));let n,o,a=t.split(/\r?\n/),s=Math.max(this.line-3,0),l=Math.min(this.line+2,a.length),c=String(l).length;if(e){let{bold:e,red:t,gray:i}=r.createColors(!0);n=n=>e(t(n)),o=e=>i(e)}else n=o=e=>e;return a.slice(s,l).map(((e,t)=>{let r=s+1+t,i=" "+(" "+r).slice(-c)+" | ";if(r===this.line){let t=o(i.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return n(">")+o(i)+e+"\n "+t+n("^")}return" "+o(i)+e})).join("\n")}toString(){let e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}}e.exports=o,o.default=o},2973:(e,t,n)=>{"use strict";let r=n(8102);class i extends r{constructor(e){e&&void 0!==e.value&&"string"!=typeof e.value&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||"$"===this.prop[0]}}e.exports=i,i.default=i},4096:(e,t,n)=>{"use strict";let r,i,o=n(4228);class a extends o{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new r(new i,this,e).stringify()}}a.registerLazyResult=e=>{r=e},a.registerProcessor=e=>{i=e},e.exports=a,a.default=a},1693:(e,t,n)=>{"use strict";let r=n(2973),i=n(5098),o=n(3285),a=n(4938),s=n(1271),l=n(7399),c=n(4013);function u(e,t){if(Array.isArray(e))return e.map((e=>u(e)));let{inputs:n,...d}=e;if(n){t=[];for(let e of n){let n={...e,__proto__:s.prototype};n.map&&(n.map={...n.map,__proto__:i.prototype}),t.push(n)}}if(d.nodes&&(d.nodes=e.nodes.map((e=>u(e,t)))),d.source){let{inputId:e,...n}=d.source;d.source=n,null!=e&&(d.source.input=t[e])}if("root"===d.type)return new l(d);if("decl"===d.type)return new r(d);if("rule"===d.type)return new c(d);if("comment"===d.type)return new o(d);if("atrule"===d.type)return new a(d);throw new Error("Unknown node type: "+e.type)}e.exports=u,u.default=u},1271:(e,t,n)=>{"use strict";let{SourceMapConsumer:r,SourceMapGenerator:i}=n(139),{fileURLToPath:o,pathToFileURL:a}=n(3653),{resolve:s,isAbsolute:l}=n(8635),{nanoid:c}=n(8864),u=n(764),d=n(9452),f=n(5098),p=Symbol("fromOffsetCache"),h=Boolean(r&&i),g=Boolean(s&&l);class m{constructor(e,t={}){if(null==e||"object"==typeof e&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),"\ufeff"===this.css[0]||""===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!g||/^\w+:\/\//.test(t.from)||l(t.from)?this.file=t.from:this.file=s(t.from)),g&&h){let e=new f(this.css,t);if(e.text){this.map=e;let t=e.consumer().file;!this.file&&t&&(this.file=this.mapResolve(t))}}this.file||(this.id="<input css "+c(6)+">"),this.map&&(this.map.file=this.from)}fromOffset(e){let t,n;if(this[p])n=this[p];else{let e=this.css.split("\n");n=new Array(e.length);let t=0;for(let r=0,i=e.length;r<i;r++)n[r]=t,t+=e[r].length+1;this[p]=n}t=n[n.length-1];let r=0;if(e>=t)r=n.length-1;else{let t,i=n.length-2;for(;r<i;)if(t=r+(i-r>>1),e<n[t])i=t-1;else{if(!(e>=n[t+1])){r=t;break}r=t+1}}return{line:r+1,col:e-n[r]+1}}error(e,t,n,r={}){let i,o,s;if(t&&"object"==typeof t){let e=t,r=n;if("number"==typeof e.offset){let r=this.fromOffset(e.offset);t=r.line,n=r.col}else t=e.line,n=e.column;if("number"==typeof r.offset){let e=this.fromOffset(r.offset);o=e.line,s=e.col}else o=r.line,s=r.column}else if(!n){let e=this.fromOffset(t);t=e.line,n=e.col}let l=this.origin(t,n,o,s);return i=l?new d(e,void 0===l.endLine?l.line:{line:l.line,column:l.column},void 0===l.endLine?l.column:{line:l.endLine,column:l.endColumn},l.source,l.file,r.plugin):new d(e,void 0===o?t:{line:t,column:n},void 0===o?n:{line:o,column:s},this.css,this.file,r.plugin),i.input={line:t,column:n,endLine:o,endColumn:s,source:this.css},this.file&&(a&&(i.input.url=a(this.file).toString()),i.input.file=this.file),i}origin(e,t,n,r){if(!this.map)return!1;let i,s,c=this.map.consumer(),u=c.originalPositionFor({line:e,column:t});if(!u.source)return!1;"number"==typeof n&&(i=c.originalPositionFor({line:n,column:r})),s=l(u.source)?a(u.source):new URL(u.source,this.map.consumer().sourceRoot||a(this.map.mapFile));let d={url:s.toString(),line:u.line,column:u.column,endLine:i&&i.line,endColumn:i&&i.column};if("file:"===s.protocol){if(!o)throw new Error("file: protocol is not available in this PostCSS build");d.file=o(s)}let f=c.sourceContentFor(u.source);return f&&(d.source=f),d}mapResolve(e){return/^\w+:\/\//.test(e)?e:s(this.map.consumer().sourceRoot||this.map.root||".",e)}get from(){return this.file||this.id}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])null!=this[t]&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}}e.exports=m,m.default=m,u&&u.registerInput&&u.registerInput(m)},7229:(e,t,n)=>{"use strict";let{isClean:r,my:i}=n(9181),o=n(3e3),a=n(7434),s=n(4228),l=n(4096),c=(n(7570),n(2575)),u=n(8501),d=n(7399);const f={document:"Document",root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"},p={postcssPlugin:!0,prepare:!0,Once:!0,Document:!0,Root:!0,Declaration:!0,Rule:!0,AtRule:!0,Comment:!0,DeclarationExit:!0,RuleExit:!0,AtRuleExit:!0,CommentExit:!0,RootExit:!0,DocumentExit:!0,OnceExit:!0},h={postcssPlugin:!0,prepare:!0,Once:!0},g=0;function m(e){return"object"==typeof e&&"function"==typeof e.then}function y(e){let t=!1,n=f[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[n,n+"-"+t,g,n+"Exit",n+"Exit-"+t]:t?[n,n+"-"+t,n+"Exit",n+"Exit-"+t]:e.append?[n,g,n+"Exit"]:[n,n+"Exit"]}function v(e){let t;return t="document"===e.type?["Document",g,"DocumentExit"]:"root"===e.type?["Root",g,"RootExit"]:y(e),{node:e,events:t,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function b(e){return e[r]=!1,e.nodes&&e.nodes.forEach((e=>b(e))),e}let I={};class x{constructor(e,t,n){let r;if(this.stringified=!1,this.processed=!1,"object"!=typeof t||null===t||"root"!==t.type&&"document"!==t.type)if(t instanceof x||t instanceof c)r=b(t.root),t.map&&(void 0===n.map&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=t.map);else{let e=u;n.syntax&&(e=n.syntax.parse),n.parser&&(e=n.parser),e.parse&&(e=e.parse);try{r=e(t,n)}catch(e){this.processed=!0,this.error=e}r&&!r[i]&&s.rebuild(r)}else r=b(t);this.result=new c(e,r,n),this.helpers={...I,result:this.result,postcss:I},this.plugins=this.processor.plugins.map((e=>"object"==typeof e&&e.prepare?{...e,...e.prepare(this.result)}:e))}get[Symbol.toStringTag](){return"LazyResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.stringify().css}get content(){return this.stringify().content}get map(){return this.stringify().map}get root(){return this.sync().root}get messages(){return this.sync().messages}warnings(){return this.sync().warnings()}toString(){return this.css}then(e,t){return this.async().then(e,t)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins)if(m(this.runOnRoot(e)))throw this.getAsyncError();if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[r];)e[r]=!0,this.walkSync(e);if(this.listeners.OnceExit)if("document"===e.type)for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=a;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let n=new o(t,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[1],this.result}walkSync(e){e[r]=!0;let t=y(e);for(let n of t)if(n===g)e.nodes&&e.each((e=>{e[r]||this.walkSync(e)}));else{let t=this.listeners[n];if(t&&this.visitSync(t,e.toProxy()))return}}visitSync(e,t){for(let[n,r]of e){let e;this.result.lastPlugin=n;try{e=r(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(m(e))throw this.getAsyncError()}}runOnRoot(e){this.result.lastPlugin=e;try{if("object"==typeof e&&e.Once){if("document"===this.result.root.type){let t=this.result.root.nodes.map((t=>e.Once(t,this.helpers)));return m(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let n=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin?n.postcssVersion:(e.plugin=n.postcssPlugin,e.setMessage())}catch(e){console&&console.error&&console.error(e)}return e}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],n=this.runOnRoot(t);if(m(n))try{await n}catch(e){throw this.handleError(e)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[r];){e[r]=!0;let t=[v(e)];for(;t.length>0;){let e=this.visitTick(t);if(m(e))try{await e}catch(e){let n=t[t.length-1].node;throw this.handleError(e,n)}}}if(this.listeners.OnceExit)for(let[t,n]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if("document"===e.type){let t=e.nodes.map((e=>n(e,this.helpers)));await Promise.all(t)}else await n(e,this.helpers)}catch(e){throw this.handleError(e)}}}return this.processed=!0,this.stringify()}prepareVisitors(){this.listeners={};let e=(e,t,n)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,n])};for(let t of this.plugins)if("object"==typeof t)for(let n in t){if(!p[n]&&/^[A-Z]/.test(n))throw new Error(`Unknown event ${n} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!h[n])if("object"==typeof t[n])for(let r in t[n])e(t,"*"===r?n:n+"-"+r.toLowerCase(),t[n][r]);else"function"==typeof t[n]&&e(t,n,t[n])}this.hasListener=Object.keys(this.listeners).length>0}visitTick(e){let t=e[e.length-1],{node:n,visitors:i}=t;if("root"!==n.type&&"document"!==n.type&&!n.parent)return void e.pop();if(i.length>0&&t.visitorIndex<i.length){let[e,r]=i[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===i.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=e;try{return r(n.toProxy(),this.helpers)}catch(e){throw this.handleError(e,n)}}if(0!==t.iterator){let i,o=t.iterator;for(;i=n.nodes[n.indexes[o]];)if(n.indexes[o]+=1,!i[r])return i[r]=!0,void e.push(v(i));t.iterator=0,delete n.indexes[o]}let o=t.events;for(;t.eventIndex<o.length;){let e=o[t.eventIndex];if(t.eventIndex+=1,e===g)return void(n.nodes&&n.nodes.length&&(n[r]=!0,t.iterator=n.getIterator()));if(this.listeners[e])return void(t.visitors=this.listeners[e])}e.pop()}}x.registerPostcss=e=>{I=e},e.exports=x,x.default=x,d.registerLazyResult(x),l.registerLazyResult(x)},9401:e=>{"use strict";let t={split(e,t,n){let r=[],i="",o=!1,a=0,s=!1,l="",c=!1;for(let n of e)c?c=!1:"\\"===n?c=!0:s?n===l&&(s=!1):'"'===n||"'"===n?(s=!0,l=n):"("===n?a+=1:")"===n?a>0&&(a-=1):0===a&&t.includes(n)&&(o=!0),o?(""!==i&&r.push(i.trim()),i="",o=!1):i+=n;return(n||""!==i)&&r.push(i.trim()),r},space:e=>t.split(e,[" ","\n","\t"]),comma:e=>t.split(e,[","],!0)};e.exports=t,t.default=t},3e3:(e,t,n)=>{"use strict";let{SourceMapConsumer:r,SourceMapGenerator:i}=n(139),{dirname:o,resolve:a,relative:s,sep:l}=n(8635),{pathToFileURL:c}=n(3653),u=n(1271),d=Boolean(r&&i),f=Boolean(o&&a&&s&&l);e.exports=class{constructor(e,t,n,r){this.stringify=e,this.mapOpts=n.map||{},this.root=t,this.opts=n,this.css=r,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk((e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}}));else{let e=new u(this.css,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}isInline(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;let e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some((e=>e.inline)))}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some((e=>e.withContent()))}clearAnnotation(){if(!1!==this.mapOpts.annotation)if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--)e=this.root.nodes[t],"comment"===e.type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t)}else this.css&&(this.css=this.css.replace(/(\n)?\/\*#[\S\s]*?\*\/$/gm,""))}setSourcesContent(){let e={};if(this.root)this.root.walk((t=>{if(t.source){let n=t.source.input.from;if(n&&!e[n]){e[n]=!0;let r=this.usesFileUrls?this.toFileUrl(n):this.toUrl(this.path(n));this.map.setSourceContent(r,t.source.input.css)}}}));else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(e,this.css)}}applyPrevMaps(){for(let e of this.previous()){let t,n=this.toUrl(this.path(e.file)),i=e.root||o(e.file);!1===this.mapOpts.sourcesContent?(t=new r(e.text),t.sourcesContent&&(t.sourcesContent=t.sourcesContent.map((()=>null)))):t=e.consumer(),this.map.applySourceMap(t,n,this.toUrl(this.path(i)))}}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some((e=>e.annotation)))}toBase64(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}addAnnotation(){let e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";let t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}generateMap(){if(this.root)this.generateString();else if(1===this.previous().length){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=i.fromSourceMap(e)}else this.map=new i({file:this.outputFile()}),this.map.addMapping({source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>",generated:{line:1,column:0},original:{line:1,column:0}});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}path(e){if(0===e.indexOf("<"))return e;if(/^\w+:\/\//.test(e))return e;if(this.mapOpts.absolute)return e;let t=this.opts.to?o(this.opts.to):".";return"string"==typeof this.mapOpts.annotation&&(t=o(a(t,this.mapOpts.annotation))),s(t,e)}toUrl(e){return"\\"===l&&(e=e.replace(/\\/g,"/")),encodeURI(e).replace(/[#?]/g,encodeURIComponent)}toFileUrl(e){if(c)return c(e).toString();throw new Error("`map.absolute` option is not available in this PostCSS build")}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}generateString(){this.css="",this.map=new i({file:this.outputFile()});let e,t,n=1,r=1,o="<no source>",a={source:"",generated:{line:0,column:0},original:{line:0,column:0}};this.stringify(this.root,((i,s,l)=>{if(this.css+=i,s&&"end"!==l&&(a.generated.line=n,a.generated.column=r-1,s.source&&s.source.start?(a.source=this.sourcePath(s),a.original.line=s.source.start.line,a.original.column=s.source.start.column-1,this.map.addMapping(a)):(a.source=o,a.original.line=1,a.original.column=0,this.map.addMapping(a))),e=i.match(/\n/g),e?(n+=e.length,t=i.lastIndexOf("\n"),r=i.length-t):r+=i.length,s&&"start"!==l){let e=s.parent||{raws:{}};("decl"===s.type||"atrule"===s.type&&!s.nodes)&&s===e.last&&!e.raws.semicolon||(s.source&&s.source.end?(a.source=this.sourcePath(s),a.original.line=s.source.end.line,a.original.column=s.source.end.column-1,a.generated.line=n,a.generated.column=r-2,this.map.addMapping(a)):(a.source=o,a.original.line=1,a.original.column=0,a.generated.line=n,a.generated.column=r-1,this.map.addMapping(a)))}}))}generate(){if(this.clearAnnotation(),f&&d&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,(t=>{e+=t})),[e]}}}},1878:(e,t,n)=>{"use strict";let r=n(3e3),i=n(7434),o=(n(7570),n(8501));const a=n(2575);class s{constructor(e,t,n){let o;t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=n,this._map=void 0;let s=i;this.result=new a(this._processor,o,this._opts),this.result.css=t;let l=this;Object.defineProperty(this.result,"root",{get:()=>l.root});let c=new r(s,o,this._opts,t);if(c.isMap()){let[e,t]=c.generate();e&&(this.result.css=e),t&&(this.result.map=t)}}get[Symbol.toStringTag](){return"NoWorkResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.result.css}get content(){return this.result.css}get map(){return this.result.map}get root(){if(this._root)return this._root;let e,t=o;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=e,e}get messages(){return[]}warnings(){return[]}toString(){return this._css}then(e,t){return this.async().then(e,t)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}sync(){if(this.error)throw this.error;return this.result}}e.exports=s,s.default=s},8102:(e,t,n)=>{"use strict";let{isClean:r,my:i}=n(9181),o=n(9452),a=n(6573),s=n(7434);function l(e,t){let n=new e.constructor;for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;if("proxyCache"===r)continue;let i=e[r],o=typeof i;"parent"===r&&"object"===o?t&&(n[r]=t):"source"===r?n[r]=i:Array.isArray(i)?n[r]=i.map((e=>l(e,n))):("object"===o&&null!==i&&(i=l(i)),n[r]=i)}return n}class c{constructor(e={}){this.raws={},this[r]=!1,this[i]=!0;for(let t in e)if("nodes"===t){this.nodes=[];for(let n of e[t])"function"==typeof n.clone?this.append(n.clone()):this.append(n)}else this[t]=e[t]}error(e,t={}){if(this.source){let{start:n,end:r}=this.rangeBy(t);return this.source.input.error(e,{line:n.line,column:n.column},{line:r.line,column:r.column},t)}return new o(e)}warn(e,t,n){let r={node:this};for(let e in n)r[e]=n[e];return e.warn(t,r)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(e=s){e.stringify&&(e=e.stringify);let t="";return e(this,(e=>{t+=e})),t}assign(e={}){for(let t in e)this[t]=e[t];return this}clone(e={}){let t=l(this);for(let n in e)t[n]=e[n];return t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}replaceWith(...e){if(this.parent){let t=this,n=!1;for(let r of e)r===this?n=!0:n?(this.parent.insertAfter(t,r),t=r):this.parent.insertBefore(t,r);n||this.remove()}return this}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}before(e){return this.parent.insertBefore(this,e),this}after(e){return this.parent.insertAfter(this,e),this}root(){let e=this;for(;e.parent&&"document"!==e.parent.type;)e=e.parent;return e}raw(e,t){return(new a).raw(this,e,t)}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}toJSON(e,t){let n={},r=null==t;t=t||new Map;let i=0;for(let e in this){if(!Object.prototype.hasOwnProperty.call(this,e))continue;if("parent"===e||"proxyCache"===e)continue;let r=this[e];if(Array.isArray(r))n[e]=r.map((e=>"object"==typeof e&&e.toJSON?e.toJSON(null,t):e));else if("object"==typeof r&&r.toJSON)n[e]=r.toJSON(null,t);else if("source"===e){let o=t.get(r.input);null==o&&(o=i,t.set(r.input,i),i++),n[e]={inputId:o,start:r.start,end:r.end}}else n[e]=r}return r&&(n.inputs=[...t.keys()].map((e=>e.toJSON()))),n}positionInside(e){let t=this.toString(),n=this.source.start.column,r=this.source.start.line;for(let i=0;i<e;i++)"\n"===t[i]?(n=1,r+=1):n+=1;return{line:r,column:n}}positionBy(e){let t=this.source.start;if(e.index)t=this.positionInside(e.index);else if(e.word){let n=this.toString().indexOf(e.word);-1!==n&&(t=this.positionInside(n))}return t}rangeBy(e){let t={line:this.source.start.line,column:this.source.start.column},n=this.source.end?{line:this.source.end.line,column:this.source.end.column+1}:{line:t.line,column:t.column+1};if(e.word){let r=this.toString().indexOf(e.word);-1!==r&&(t=this.positionInside(r),n=this.positionInside(r+e.word.length))}else e.start?t={line:e.start.line,column:e.start.column}:e.index&&(t=this.positionInside(e.index)),e.end?n={line:e.end.line,column:e.end.column}:e.endIndex?n=this.positionInside(e.endIndex):e.index&&(n=this.positionInside(e.index+1));return(n.line<t.line||n.line===t.line&&n.column<=t.column)&&(n={line:t.line,column:t.column+1}),{start:t,end:n}}getProxyProcessor(){return{set:(e,t,n)=>(e[t]===n||(e[t]=n,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0),get:(e,t)=>"proxyOf"===t?e:"root"===t?()=>e.root().toProxy():e[t]}}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}markDirty(){if(this[r]){this[r]=!1;let e=this;for(;e=e.parent;)e[r]=!1}}get proxyOf(){return this}}e.exports=c,c.default=c},8501:(e,t,n)=>{"use strict";let r=n(4228),i=n(6237),o=n(1271);function a(e,t){let n=new o(e,t),r=new i(n);try{r.parse()}catch(e){throw e}return r.root}e.exports=a,a.default=a,r.registerParse(a)},6237:(e,t,n)=>{"use strict";let r=n(2973),i=n(1171),o=n(3285),a=n(4938),s=n(7399),l=n(4013);const c={empty:!0,space:!0};e.exports=class{constructor(e){this.input=e,this.root=new s,this.current=this.root,this.spaces="",this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:e,start:{offset:0,line:1,column:1}}}createTokenizer(){this.tokenizer=i(this.input)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()}comment(e){let t=new o;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]);let n=e[1].slice(2,-2);if(/^\s*$/.test(n))t.text="",t.raws.left=n,t.raws.right="";else{let e=n.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}}emptyRule(e){let t=new l;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}other(e){let t=!1,n=null,r=!1,i=null,o=[],a=e[1].startsWith("--"),s=[],l=e;for(;l;){if(n=l[0],s.push(l),"("===n||"["===n)i||(i=l),o.push("("===n?")":"]");else if(a&&r&&"{"===n)i||(i=l),o.push("}");else if(0===o.length){if(";"===n){if(r)return void this.decl(s,a);break}if("{"===n)return void this.rule(s);if("}"===n){this.tokenizer.back(s.pop()),t=!0;break}":"===n&&(r=!0)}else n===o[o.length-1]&&(o.pop(),0===o.length&&(i=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),o.length>0&&this.unclosedBracket(i),t&&r){if(!a)for(;s.length&&(l=s[s.length-1][0],"space"===l||"comment"===l);)this.tokenizer.back(s.pop());this.decl(s,a)}else this.unknownWord(s)}rule(e){e.pop();let t=new l;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}decl(e,t){let n=new r;this.init(n,e[0][2]);let i,o=e[e.length-1];for(";"===o[0]&&(this.semicolon=!0,e.pop()),n.source.end=this.getPosition(o[3]||o[2]||function(e){for(let t=e.length-1;t>=0;t--){let n=e[t],r=n[3]||n[2];if(r)return r}}(e));"word"!==e[0][0];)1===e.length&&this.unknownWord(e),n.raws.before+=e.shift()[1];for(n.source.start=this.getPosition(e[0][2]),n.prop="";e.length;){let t=e[0][0];if(":"===t||"space"===t||"comment"===t)break;n.prop+=e.shift()[1]}for(n.raws.between="";e.length;){if(i=e.shift(),":"===i[0]){n.raws.between+=i[1];break}"word"===i[0]&&/\w/.test(i[1])&&this.unknownWord([i]),n.raws.between+=i[1]}"_"!==n.prop[0]&&"*"!==n.prop[0]||(n.raws.before+=n.prop[0],n.prop=n.prop.slice(1));let a,s=[];for(;e.length&&(a=e[0][0],"space"===a||"comment"===a);)s.push(e.shift());this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){if(i=e[t],"!important"===i[1].toLowerCase()){n.important=!0;let r=this.stringFrom(e,t);r=this.spacesFromEnd(e)+r," !important"!==r&&(n.raws.important=r);break}if("important"===i[1].toLowerCase()){let r=e.slice(0),i="";for(let e=t;e>0;e--){let t=r[e][0];if(0===i.trim().indexOf("!")&&"space"!==t)break;i=r.pop()[1]+i}0===i.trim().indexOf("!")&&(n.important=!0,n.raws.important=i,e=r)}if("space"!==i[0]&&"comment"!==i[0])break}e.some((e=>"space"!==e[0]&&"comment"!==e[0]))&&(n.raws.between+=s.map((e=>e[1])).join(""),s=[]),this.raw(n,"value",s.concat(e),t),n.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}atrule(e){let t,n,r,i=new a;i.name=e[1].slice(1),""===i.name&&this.unnamedAtrule(i,e),this.init(i,e[2]);let o=!1,s=!1,l=[],c=[];for(;!this.tokenizer.endOfFile();){if(t=(e=this.tokenizer.nextToken())[0],"("===t||"["===t?c.push("("===t?")":"]"):"{"===t&&c.length>0?c.push("}"):t===c[c.length-1]&&c.pop(),0===c.length){if(";"===t){i.source.end=this.getPosition(e[2]),this.semicolon=!0;break}if("{"===t){s=!0;break}if("}"===t){if(l.length>0){for(r=l.length-1,n=l[r];n&&"space"===n[0];)n=l[--r];n&&(i.source.end=this.getPosition(n[3]||n[2]))}this.end(e);break}l.push(e)}else l.push(e);if(this.tokenizer.endOfFile()){o=!0;break}}i.raws.between=this.spacesAndCommentsFromEnd(l),l.length?(i.raws.afterName=this.spacesAndCommentsFromStart(l),this.raw(i,"params",l),o&&(e=l[l.length-1],i.source.end=this.getPosition(e[3]||e[2]),this.spaces=i.raws.between,i.raws.between="")):(i.raws.afterName="",i.params=""),s&&(i.nodes=[],this.current=i)}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let e=this.current.nodes[this.current.nodes.length-1];e&&"rule"===e.type&&!e.raws.ownSemicolon&&(e.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let t=this.input.fromOffset(e);return{offset:e,line:t.line,column:t.col}}init(e,t){this.current.push(e),e.source={start:this.getPosition(t),input:this.input},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)}raw(e,t,n,r){let i,o,a,s,l=n.length,u="",d=!0;for(let e=0;e<l;e+=1)i=n[e],o=i[0],"space"!==o||e!==l-1||r?"comment"===o?(s=n[e-1]?n[e-1][0]:"empty",a=n[e+1]?n[e+1][0]:"empty",c[s]||c[a]||","===u.slice(-1)?d=!1:u+=i[1]):u+=i[1]:d=!1;if(!d){let r=n.reduce(((e,t)=>e+t[1]),"");e.raws[t]={value:u,raw:r}}e[t]=u}spacesAndCommentsFromEnd(e){let t,n="";for(;e.length&&(t=e[e.length-1][0],"space"===t||"comment"===t);)n=e.pop()[1]+n;return n}spacesAndCommentsFromStart(e){let t,n="";for(;e.length&&(t=e[0][0],"space"===t||"comment"===t);)n+=e.shift()[1];return n}spacesFromEnd(e){let t,n="";for(;e.length&&(t=e[e.length-1][0],"space"===t);)n=e.pop()[1]+n;return n}stringFrom(e,t){let n="";for(let r=t;r<e.length;r++)n+=e[r][1];return e.splice(t,e.length-t),n}colon(e){let t,n,r,i=0;for(let[o,a]of e.entries()){if(t=a,n=t[0],"("===n&&(i+=1),")"===n&&(i-=1),0===i&&":"===n){if(r){if("word"===r[0]&&"progid"===r[1])continue;return o}this.doubleColon(t)}r=t}return!1}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}precheckMissedSemicolon(){}checkMissedSemicolon(e){let t=this.colon(e);if(!1===t)return;let n,r=0;for(let i=t-1;i>=0&&(n=e[i],"space"===n[0]||(r+=1,2!==r));i--);throw this.input.error("Missed semicolon","word"===n[0]?n[3]+1:n[2])}}},5489:(e,t,n)=>{"use strict";let r=n(9452),i=n(2973),o=n(7229),a=n(4228),s=n(8420),l=n(7434),c=n(1693),u=n(4096),d=n(3641),f=n(3285),p=n(4938),h=n(2575),g=n(1271),m=n(8501),y=n(9401),v=n(4013),b=n(7399),I=n(8102);function x(...e){return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new s(e)}x.plugin=function(e,t){let n,r=!1;function i(...n){console&&console.warn&&!r&&(r=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(e+": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226"));let i=t(...n);return i.postcssPlugin=e,i.postcssVersion=(new s).version,i}return Object.defineProperty(i,"postcss",{get:()=>(n||(n=i()),n)}),i.process=function(e,t,n){return x([i(n)]).process(e,t)},i},x.stringify=l,x.parse=m,x.fromJSON=c,x.list=y,x.comment=e=>new f(e),x.atRule=e=>new p(e),x.decl=e=>new i(e),x.rule=e=>new v(e),x.root=e=>new b(e),x.document=e=>new u(e),x.CssSyntaxError=r,x.Declaration=i,x.Container=a,x.Processor=s,x.Document=u,x.Comment=f,x.Warning=d,x.AtRule=p,x.Result=h,x.Input=g,x.Rule=v,x.Root=b,x.Node=I,o.registerPostcss(x),e.exports=x,x.default=x},5098:(e,t,n)=>{"use strict";let{SourceMapConsumer:r,SourceMapGenerator:i}=n(139),{existsSync:o,readFileSync:a}=n(5158),{dirname:s,join:l}=n(8635);class c{constructor(e,t){if(!1===t.map)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let n=t.map?t.map.prev:void 0,r=this.loadMap(t.from,n);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=s(this.mapFile)),r&&(this.text=r)}consumer(){return this.consumerCache||(this.consumerCache=new r(this.text)),this.consumerCache}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}startWith(e,t){return!!e&&e.substr(0,t.length)===t}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/gm);if(!t)return;let n=e.lastIndexOf(t.pop()),r=e.indexOf("*/",n);n>-1&&r>-1&&(this.annotation=this.getAnnotationURL(e.substring(n,r)))}decodeInline(e){if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(e)||/^data:application\/json;base64,/.test(e))return t=e.substr(RegExp.lastMatch.length),Buffer?Buffer.from(t,"base64").toString():window.atob(t);var t;let n=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+n)}loadFile(e){if(this.root=s(e),o(e))return this.mapFile=e,a(e,"utf-8").toString().trim()}loadMap(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"!=typeof t){if(t instanceof r)return i.fromSourceMap(t).toString();if(t instanceof i)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}{let n=t(e);if(n){let e=this.loadFile(n);if(!e)throw new Error("Unable to load previous source map: "+n.toString());return e}}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let t=this.annotation;return e&&(t=l(s(e),t)),this.loadFile(t)}}}isMap(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))}}e.exports=c,c.default=c},8420:(e,t,n)=>{"use strict";let r=n(1878),i=n(7229),o=n(4096),a=n(7399);class s{constructor(e=[]){this.version="8.4.23",this.plugins=this.normalize(e)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}process(e,t={}){return 0===this.plugins.length&&void 0===t.parser&&void 0===t.stringifier&&void 0===t.syntax?new r(this,e,t):new i(this,e,t)}normalize(e){let t=[];for(let n of e)if(!0===n.postcss?n=n():n.postcss&&(n=n.postcss),"object"==typeof n&&Array.isArray(n.plugins))t=t.concat(n.plugins);else if("object"==typeof n&&n.postcssPlugin)t.push(n);else if("function"==typeof n)t.push(n);else if("object"!=typeof n||!n.parse&&!n.stringify)throw new Error(n+" is not a PostCSS plugin");return t}}e.exports=s,s.default=s,a.registerProcessor(s),o.registerProcessor(s)},2575:(e,t,n)=>{"use strict";let r=n(3641);class i{constructor(e,t,n){this.processor=e,this.messages=[],this.root=t,this.opts=n,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let n=new r(e,t);return this.messages.push(n),n}warnings(){return this.messages.filter((e=>"warning"===e.type))}get content(){return this.css}}e.exports=i,i.default=i},7399:(e,t,n)=>{"use strict";let r,i,o=n(4228);class a extends o{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}removeChild(e,t){let n=this.index(e);return!t&&0===n&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),super.removeChild(e)}normalize(e,t,n){let r=super.normalize(e);if(t)if("prepend"===n)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let e of r)e.raws.before=t.raws.before;return r}toResult(e={}){return new r(new i,this,e).stringify()}}a.registerLazyResult=e=>{r=e},a.registerProcessor=e=>{i=e},e.exports=a,a.default=a,o.registerRoot(a)},4013:(e,t,n)=>{"use strict";let r=n(4228),i=n(9401);class o extends r{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return i.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,n=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(n)}}e.exports=o,o.default=o,r.registerRule(o)},6573:e=>{"use strict";const t={colon:": ",indent:" ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};class n{constructor(e){this.builder=e}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}document(e){this.body(e)}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}comment(e){let t=this.raw(e,"left","commentLeft"),n=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+n+"*/",e)}decl(e,t){let n=this.raw(e,"between","colon"),r=e.prop+n+this.rawValue(e,"value");e.important&&(r+=e.raws.important||" !important"),t&&(r+=";"),this.builder(r,e)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}atrule(e,t){let n="@"+e.name,r=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?n+=e.raws.afterName:r&&(n+=" "),e.nodes)this.block(e,n+r);else{let i=(e.raws.between||"")+(t?";":"");this.builder(n+r+i,e)}}body(e){let t=e.nodes.length-1;for(;t>0&&"comment"===e.nodes[t].type;)t-=1;let n=this.raw(e,"semicolon");for(let r=0;r<e.nodes.length;r++){let i=e.nodes[r],o=this.raw(i,"before");o&&this.builder(o),this.stringify(i,t!==r||n)}}block(e,t){let n,r=this.raw(e,"between","beforeOpen");this.builder(t+r+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),n=this.raw(e,"after")):n=this.raw(e,"after","emptyBody"),n&&this.builder(n),this.builder("}",e,"end")}raw(e,n,r){let i;if(r||(r=n),n&&(i=e.raws[n],void 0!==i))return i;let o=e.parent;if("before"===r){if(!o||"root"===o.type&&o.first===e)return"";if(o&&"document"===o.type)return""}if(!o)return t[r];let a=e.root();if(a.rawCache||(a.rawCache={}),void 0!==a.rawCache[r])return a.rawCache[r];if("before"===r||"after"===r)return this.beforeAfter(e,r);{let t="raw"+((s=r)[0].toUpperCase()+s.slice(1));this[t]?i=this[t](a,e):a.walk((e=>{if(i=e.raws[n],void 0!==i)return!1}))}var s;return void 0===i&&(i=t[r]),a.rawCache[r]=i,i}rawSemicolon(e){let t;return e.walk((e=>{if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&(t=e.raws.semicolon,void 0!==t))return!1})),t}rawEmptyBody(e){let t;return e.walk((e=>{if(e.nodes&&0===e.nodes.length&&(t=e.raws.after,void 0!==t))return!1})),t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk((n=>{let r=n.parent;if(r&&r!==e&&r.parent&&r.parent===e&&void 0!==n.raws.before){let e=n.raws.before.split("\n");return t=e[e.length-1],t=t.replace(/\S/g,""),!1}})),t}rawBeforeComment(e,t){let n;return e.walkComments((e=>{if(void 0!==e.raws.before)return n=e.raws.before,n.includes("\n")&&(n=n.replace(/[^\n]+$/,"")),!1})),void 0===n?n=this.raw(t,null,"beforeDecl"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeDecl(e,t){let n;return e.walkDecls((e=>{if(void 0!==e.raws.before)return n=e.raws.before,n.includes("\n")&&(n=n.replace(/[^\n]+$/,"")),!1})),void 0===n?n=this.raw(t,null,"beforeRule"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeRule(e){let t;return e.walk((n=>{if(n.nodes&&(n.parent!==e||e.first!==n)&&void 0!==n.raws.before)return t=n.raws.before,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawBeforeClose(e){let t;return e.walk((e=>{if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return t=e.raws.after,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawBeforeOpen(e){let t;return e.walk((e=>{if("decl"!==e.type&&(t=e.raws.between,void 0!==t))return!1})),t}rawColon(e){let t;return e.walkDecls((e=>{if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1})),t}beforeAfter(e,t){let n;n="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");let r=e.parent,i=0;for(;r&&"root"!==r.type;)i+=1,r=r.parent;if(n.includes("\n")){let t=this.raw(e,null,"indent");if(t.length)for(let e=0;e<i;e++)n+=t}return n}rawValue(e,t){let n=e[t],r=e.raws[t];return r&&r.value===n?r.raw:n}}e.exports=n,n.default=n},7434:(e,t,n)=>{"use strict";let r=n(6573);function i(e,t){new r(t).stringify(e)}e.exports=i,i.default=i},9181:e=>{"use strict";e.exports.isClean=Symbol("isClean"),e.exports.my=Symbol("my")},1171:e=>{"use strict";const t="'".charCodeAt(0),n='"'.charCodeAt(0),r="\\".charCodeAt(0),i="/".charCodeAt(0),o="\n".charCodeAt(0),a=" ".charCodeAt(0),s="\f".charCodeAt(0),l="\t".charCodeAt(0),c="\r".charCodeAt(0),u="[".charCodeAt(0),d="]".charCodeAt(0),f="(".charCodeAt(0),p=")".charCodeAt(0),h="{".charCodeAt(0),g="}".charCodeAt(0),m=";".charCodeAt(0),y="*".charCodeAt(0),v=":".charCodeAt(0),b="@".charCodeAt(0),I=/[\t\n\f\r "#'()/;[\\\]{}]/g,x=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,M=/.[\n"'(/\\]/,w=/[\da-f]/i;e.exports=function(e,T={}){let A,C,N,E,S,j,k,D,L,O,R=e.css.valueOf(),P=T.ignoreErrors,z=R.length,U=0,_=[],Z=[];function G(t){throw e.error("Unclosed "+t,U)}return{back:function(e){Z.push(e)},nextToken:function(e){if(Z.length)return Z.pop();if(U>=z)return;let T=!!e&&e.ignoreUnclosed;switch(A=R.charCodeAt(U),A){case o:case a:case l:case c:case s:C=U;do{C+=1,A=R.charCodeAt(C)}while(A===a||A===o||A===l||A===c||A===s);O=["space",R.slice(U,C)],U=C-1;break;case u:case d:case h:case g:case v:case m:case p:{let e=String.fromCharCode(A);O=[e,e,U];break}case f:if(D=_.length?_.pop()[1]:"",L=R.charCodeAt(U+1),"url"===D&&L!==t&&L!==n&&L!==a&&L!==o&&L!==l&&L!==s&&L!==c){C=U;do{if(j=!1,C=R.indexOf(")",C+1),-1===C){if(P||T){C=U;break}G("bracket")}for(k=C;R.charCodeAt(k-1)===r;)k-=1,j=!j}while(j);O=["brackets",R.slice(U,C+1),U,C],U=C}else C=R.indexOf(")",U+1),E=R.slice(U,C+1),-1===C||M.test(E)?O=["(","(",U]:(O=["brackets",E,U,C],U=C);break;case t:case n:N=A===t?"'":'"',C=U;do{if(j=!1,C=R.indexOf(N,C+1),-1===C){if(P||T){C=U+1;break}G("string")}for(k=C;R.charCodeAt(k-1)===r;)k-=1,j=!j}while(j);O=["string",R.slice(U,C+1),U,C],U=C;break;case b:I.lastIndex=U+1,I.test(R),C=0===I.lastIndex?R.length-1:I.lastIndex-2,O=["at-word",R.slice(U,C+1),U,C],U=C;break;case r:for(C=U,S=!0;R.charCodeAt(C+1)===r;)C+=1,S=!S;if(A=R.charCodeAt(C+1),S&&A!==i&&A!==a&&A!==o&&A!==l&&A!==c&&A!==s&&(C+=1,w.test(R.charAt(C)))){for(;w.test(R.charAt(C+1));)C+=1;R.charCodeAt(C+1)===a&&(C+=1)}O=["word",R.slice(U,C+1),U,C],U=C;break;default:A===i&&R.charCodeAt(U+1)===y?(C=R.indexOf("*/",U+2)+1,0===C&&(P||T?C=R.length:G("comment")),O=["comment",R.slice(U,C+1),U,C],U=C):(x.lastIndex=U+1,x.test(R),C=0===x.lastIndex?R.length-1:x.lastIndex-2,O=["word",R.slice(U,C+1),U,C],_.push(O),U=C)}return U++,O},endOfFile:function(){return 0===Z.length&&U>=z},position:function(){return U}}}},7570:e=>{"use strict";let t={};e.exports=function(e){t[e]||(t[e]=!0,"undefined"!=typeof console&&console.warn&&console.warn(e))}},3641:e=>{"use strict";class t{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let e=t.node.rangeBy(t);this.line=e.start.line,this.column=e.start.column,this.endLine=e.end.line,this.endColumn=e.end.column}for(let e in t)this[e]=t[e]}toString(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}e.exports=t,t.default=t},8262:(e,t,n)=>{"use strict";var r=n(3586);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,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:o,resetWarningCache:i};return n.PropTypes=n,n}},3980:(e,t,n)=>{e.exports=n(8262)()},3586:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6866:(e,t)=>{"use strict";Symbol.for("react.element"),Symbol.for("react.portal"),Symbol.for("react.fragment"),Symbol.for("react.strict_mode"),Symbol.for("react.profiler"),Symbol.for("react.provider"),Symbol.for("react.context"),Symbol.for("react.server_context"),Symbol.for("react.forward_ref"),Symbol.for("react.suspense"),Symbol.for("react.suspense_list"),Symbol.for("react.memo"),Symbol.for("react.lazy"),Symbol.for("react.offscreen"),Symbol.for("react.module.reference")},8570:(e,t,n)=>{"use strict";n(6866)},4330:(e,t,n)=>{const r=n(883),i=n(5555),{isPlainObject:o}=n(303),a=n(9714),s=n(8915),{parse:l}=n(5489),c=["img","audio","video","picture","svg","object","map","iframe","embed"],u=["script","style"];function d(e,t){e&&Object.keys(e).forEach((function(n){t(e[n],n)}))}function f(e,t){return{}.hasOwnProperty.call(e,t)}function p(e,t){const n=[];return d(e,(function(e){t(e)&&n.push(e)})),n}e.exports=g;const h=/^[^\0\t\n\f\r /<=>]+$/;function g(e,t,n){if(null==e)return"";let y="",v="";function b(e,t){const n=this;this.tag=e,this.attribs=t||{},this.tagPosition=y.length,this.text="",this.mediaChildren=[],this.updateParentNodeText=function(){S.length&&(S[S.length-1].text+=n.text)},this.updateParentNodeMediaChildren=function(){S.length&&c.includes(this.tag)&&S[S.length-1].mediaChildren.push(this.tag)}}(t=Object.assign({},g.defaults,t)).parser=Object.assign({},m,t.parser),u.forEach((function(e){!1!==t.allowedTags&&(t.allowedTags||[]).indexOf(e)>-1&&!t.allowVulnerableTags&&console.warn(`\n\n⚠️ Your \`allowedTags\` option includes, \`${e}\`, which is inherently\nvulnerable to XSS attacks. Please remove it from \`allowedTags\`.\nOr, to disable this warning, add the \`allowVulnerableTags\` option\nand ensure you are accounting for this risk.\n\n`)}));const I=t.nonTextTags||["script","style","textarea","option"];let x,M;t.allowedAttributes&&(x={},M={},d(t.allowedAttributes,(function(e,t){x[t]=[];const n=[];e.forEach((function(e){"string"==typeof e&&e.indexOf("*")>=0?n.push(i(e).replace(/\\\*/g,".*")):x[t].push(e)})),n.length&&(M[t]=new RegExp("^("+n.join("|")+")$"))})));const w={},T={},A={};d(t.allowedClasses,(function(e,t){x&&(f(x,t)||(x[t]=[]),x[t].push("class")),w[t]=[],A[t]=[];const n=[];e.forEach((function(e){"string"==typeof e&&e.indexOf("*")>=0?n.push(i(e).replace(/\\\*/g,".*")):e instanceof RegExp?A[t].push(e):w[t].push(e)})),n.length&&(T[t]=new RegExp("^("+n.join("|")+")$"))}));const C={};let N,E,S,j,k,D,L;d(t.transformTags,(function(e,t){let n;"function"==typeof e?n=e:"string"==typeof e&&(n=g.simpleTransform(e)),"*"===t?N=n:C[t]=n}));let O=!1;P();const R=new r.Parser({onopentag:function(e,n){if(t.enforceHtmlBoundary&&"html"===e&&P(),D)return void L++;const r=new b(e,n);S.push(r);let i=!1;const c=!!r.text;let u;if(f(C,e)&&(u=C[e](e,n),r.attribs=n=u.attribs,void 0!==u.text&&(r.innerText=u.text),e!==u.tagName&&(r.name=e=u.tagName,k[E]=u.tagName)),N&&(u=N(e,n),r.attribs=n=u.attribs,e!==u.tagName&&(r.name=e=u.tagName,k[E]=u.tagName)),(!1!==t.allowedTags&&-1===(t.allowedTags||[]).indexOf(e)||"recursiveEscape"===t.disallowedTagsMode&&!function(e){for(const t in e)if(f(e,t))return!1;return!0}(j)||null!=t.nestingLimit&&E>=t.nestingLimit)&&(i=!0,j[E]=!0,"discard"===t.disallowedTagsMode&&-1!==I.indexOf(e)&&(D=!0,L=1),j[E]=!0),E++,i){if("discard"===t.disallowedTagsMode)return;v=y,y=""}y+="<"+e,"script"===e&&(t.allowedScriptHostnames||t.allowedScriptDomains)&&(r.innerText=""),(!x||f(x,e)||x["*"])&&d(n,(function(n,i){if(!h.test(i))return void delete r.attribs[i];let c=!1;if(!x||f(x,e)&&-1!==x[e].indexOf(i)||x["*"]&&-1!==x["*"].indexOf(i)||f(M,e)&&M[e].test(i)||M["*"]&&M["*"].test(i))c=!0;else if(x&&x[e])for(const t of x[e])if(o(t)&&t.name&&t.name===i){c=!0;let e="";if(!0===t.multiple){const r=n.split(" ");for(const n of r)-1!==t.values.indexOf(n)&&(""===e?e=n:e+=" "+n)}else t.values.indexOf(n)>=0&&(e=n);n=e}if(c){if(-1!==t.allowedSchemesAppliedToAttributes.indexOf(i)&&U(e,n))return void delete r.attribs[i];if("script"===e&&"src"===i){let e=!0;try{const r=_(n);if(t.allowedScriptHostnames||t.allowedScriptDomains){const n=(t.allowedScriptHostnames||[]).find((function(e){return e===r.url.hostname})),i=(t.allowedScriptDomains||[]).find((function(e){return r.url.hostname===e||r.url.hostname.endsWith(`.${e}`)}));e=n||i}}catch(t){e=!1}if(!e)return void delete r.attribs[i]}if("iframe"===e&&"src"===i){let e=!0;try{const r=_(n);if(r.isRelativeUrl)e=f(t,"allowIframeRelativeUrls")?t.allowIframeRelativeUrls:!t.allowedIframeHostnames&&!t.allowedIframeDomains;else if(t.allowedIframeHostnames||t.allowedIframeDomains){const n=(t.allowedIframeHostnames||[]).find((function(e){return e===r.url.hostname})),i=(t.allowedIframeDomains||[]).find((function(e){return r.url.hostname===e||r.url.hostname.endsWith(`.${e}`)}));e=n||i}}catch(t){e=!1}if(!e)return void delete r.attribs[i]}if("srcset"===i)try{let e=s(n);if(e.forEach((function(e){U("srcset",e.url)&&(e.evil=!0)})),e=p(e,(function(e){return!e.evil})),!e.length)return void delete r.attribs[i];n=p(e,(function(e){return!e.evil})).map((function(e){if(!e.url)throw new Error("URL missing");return e.url+(e.w?` ${e.w}w`:"")+(e.h?` ${e.h}h`:"")+(e.d?` ${e.d}x`:"")})).join(", "),r.attribs[i]=n}catch(e){return void delete r.attribs[i]}if("class"===i){const t=w[e],o=w["*"],s=T[e],l=A[e],c=[s,T["*"]].concat(l).filter((function(e){return e}));if(!(u=n,d=t&&o?a(t,o):t||o,g=c,n=d?(u=u.split(/\s+/)).filter((function(e){return-1!==d.indexOf(e)||g.some((function(t){return t.test(e)}))})).join(" "):u).length)return void delete r.attribs[i]}if("style"===i)try{if(n=function(e){return e.nodes[0].nodes.reduce((function(e,t){return e.push(`${t.prop}:${t.value}${t.important?" !important":""}`),e}),[]).join(";")}(function(e,t){if(!t)return e;const n=e.nodes[0];let r;return r=t[n.selector]&&t["*"]?a(t[n.selector],t["*"]):t[n.selector]||t["*"],r&&(e.nodes[0].nodes=n.nodes.reduce(function(e){return function(t,n){return f(e,n.prop)&&e[n.prop].some((function(e){return e.test(n.value)}))&&t.push(n),t}}(r),[])),e}(l(e+" {"+n+"}"),t.allowedStyles)),0===n.length)return void delete r.attribs[i]}catch(e){return void delete r.attribs[i]}y+=" "+i,n&&n.length&&(y+='="'+z(n,!0)+'"')}else delete r.attribs[i];var u,d,g})),-1!==t.selfClosing.indexOf(e)?y+=" />":(y+=">",!r.innerText||c||t.textFilter||(y+=z(r.innerText),O=!0)),i&&(y=v+z(y),v="")},ontext:function(e){if(D)return;const n=S[S.length-1];let r;if(n&&(r=n.tag,e=void 0!==n.innerText?n.innerText:e),"discard"!==t.disallowedTagsMode||"script"!==r&&"style"!==r){const n=z(e,!1);t.textFilter&&!O?y+=t.textFilter(n,r):O||(y+=n)}else y+=e;S.length&&(S[S.length-1].text+=e)},onclosetag:function(e){if(D){if(L--,L)return;D=!1}const n=S.pop();if(!n)return;if(n.tag!==e)return void S.push(n);D=!!t.enforceHtmlBoundary&&"html"===e,E--;const r=j[E];if(r){if(delete j[E],"discard"===t.disallowedTagsMode)return void n.updateParentNodeText();v=y,y=""}k[E]&&(e=k[E],delete k[E]),t.exclusiveFilter&&t.exclusiveFilter(n)?y=y.substr(0,n.tagPosition):(n.updateParentNodeMediaChildren(),n.updateParentNodeText(),-1===t.selfClosing.indexOf(e)?(y+="</"+e+">",r&&(y=v+z(y),v=""),O=!1):r&&(y=v,v=""))}},t.parser);return R.write(e),R.end(),y;function P(){y="",E=0,S=[],j={},k={},D=!1,L=0}function z(e,n){return"string"!=typeof e&&(e+=""),t.parser.decodeEntities&&(e=e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),n&&(e=e.replace(/"/g,"""))),e=e.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&").replace(/</g,"<").replace(/>/g,">"),n&&(e=e.replace(/"/g,""")),e}function U(e,n){for(n=n.replace(/[\x00-\x20]+/g,"");;){const e=n.indexOf("\x3c!--");if(-1===e)break;const t=n.indexOf("--\x3e",e+4);if(-1===t)break;n=n.substring(0,e)+n.substring(t+3)}const r=n.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!r)return!!n.match(/^[/\\]{2}/)&&!t.allowProtocolRelative;const i=r[1].toLowerCase();return f(t.allowedSchemesByTag,e)?-1===t.allowedSchemesByTag[e].indexOf(i):!t.allowedSchemes||-1===t.allowedSchemes.indexOf(i)}function _(e){if((e=e.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//")).startsWith("relative:"))throw new Error("relative: exploit attempt");let t="relative://relative-site";for(let e=0;e<100;e++)t+=`/${e}`;const n=new URL(e,t);return{isRelativeUrl:n&&"relative-site"===n.hostname&&"relative:"===n.protocol,url:n}}}const m={decodeEntities:!0};g.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","main","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:!0,enforceHtmlBoundary:!1},g.simpleTransform=function(e,t,n){return n=void 0===n||n,t=t||{},function(r,i){let o;if(n)for(o in t)i[o]=t[o];else i=t;return{tagName:e,attribs:i}}}},5555:e=>{"use strict";e.exports=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},7288:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r}),e=n.hmd(e);const r=function(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}("undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:e)},2145:function(e,t){!function(e){"use strict";function t(e){return null==e}function n(e){throw new Error("Argument "+e+" is empty.")}function r(e){return"function"==typeof e&&"getType"in e}function i(e){throw new Error("Argument "+e+' is invalid, it should be an action-creator instance from "typesafe-actions"')}function o(e,t){if(null==e)throw new Error("Argument contains array with empty element at index "+t);if(null==e.getType)throw new Error("Argument contains array with invalid element at index "+t+', it should be an action-creator instance from "typesafe-actions"')}function a(e){return"string"==typeof e||"symbol"==typeof e}function s(e){return!a(e)}function l(e){throw new Error("Argument "+e+" is invalid, it should be an action type of type: string | symbol")}function c(e,t){if(null==e)throw new Error("Argument contains array with empty element at index "+t);if("string"!=typeof e&&"symbol"!=typeof e)throw new Error("Argument contains array with invalid element at index "+t+", it should be of type: string | symbol")}function u(e,r,o,a){return t(e)&&n(1),s(e)&&i(1),{type:e,payload:r,meta:o,error:a}}function d(e,r){return t(e)&&n(1),s(e)&&l(1),Object.assign((function(){var t=null!=r?r.apply(void 0,arguments):void 0;return Object.assign({type:e},t)}),{getType:function(){return e},toString:function(){return e}})}function f(e,r,i){return t(e)&&n(1),s(e)&&l(1),function(){return d(e,(function(){var e=arguments.length<=0?void 0:arguments[0],t=arguments.length<=1?void 0:arguments[1];return null==r&&null==i||(e=null!=r?r.apply(void 0,arguments):void 0,t=null!=i?i.apply(void 0,arguments):void 0),Object.assign({},void 0!==e&&{payload:e},{},void 0!==t&&{meta:t})}))}}function p(e){return t(e)&&n(1),r(e)||i(1),e.getType()}function h(e,r){t(e)&&n(1),s(e)&&l(1);var i=null!=r?r(e):function(){return{type:e}};return Object.assign(i,{getType:function(){return e},toString:function(){return e}})}var g={createAction:function(e,t){var n=null==t?function(){return u(e)}:t(u.bind(null,e));return Object.assign(n,{getType:function(){return e},toString:function(){return e}})},createCustomAction:h,createStandardAction:function(e){return t(e)&&n(1),s(e)&&l(1),Object.assign((function(){return h(e,(function(e){return function(t,n){return{type:e,payload:t,meta:n}}}))}),{map:function(t){return h(e,(function(e){return function(n,r){return Object.assign(t(n,r),{type:e})}}))}})}};e.action=u,e.createAction=f,e.createAsyncAction=function(e,t,n,r){return function(){var i=[e,t,n,r].map((function(e,t){return Array.isArray(e)?f(e[0],e[1],e[2])():"string"==typeof e||"symbol"==typeof e?f(e)():void(t<3&&function(e){throw new Error("Argument "+e+' is invalid, it should be an action type of "string | symbol" or a tuple of "[string | symbol, Function, Function?]"')}(t))}));return{request:i[0],success:i[1],failure:i[2],cancel:i[3]}}},e.createCustomAction=d,e.createReducer=function e(t,n){void 0===n&&(n={});var i=Object.assign({},n),o=function(n,o){var s=Array.isArray(n)?n:[n],l={};return s.map((function(e,t){return r(e)?p(e):a(e)?e:function(e){throw new Error("Argument "+e+' is invalid, it should be an action-creator instance from "typesafe-actions" or action type of type: string | symbol')}(t+1)})).forEach((function(e){return l[e]=o})),e(t,Object.assign({},i,{},l))};return Object.assign((function(e,n){if(void 0===e&&(e=t),i.hasOwnProperty(n.type)){var r=i[n.type];if("function"!=typeof r)throw Error('Reducer under "'+n.type+'" key is not a valid reducer');return r(e,n)}return e}),{handlers:Object.assign({},i),handleAction:o,handleType:o})},e.deprecated=g,e.getType=p,e.isActionOf=function(e,r){t(e)&&n(1);var i=Array.isArray(e)?e:[e];i.forEach(o);var a=function(e){return i.some((function(t){return e.type===t.getType()}))};return void 0===r?a:a(r)},e.isOfType=function(e,r){t(e)&&n(1);var i=Array.isArray(e)?e:[e];i.forEach(c);var o=function(e){return i.includes(e.type)};return void 0===r?o:o(r)}}(t)},452:(e,t,n)=>{"use strict";var r=n(9787),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useState,a=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}var u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=o({inst:{value:n,getSnapshot:t}}),i=r[0].inst,u=r[1];return s((function(){i.value=n,i.getSnapshot=t,c(i)&&u({inst:i})}),[e,n,t]),a((function(){return c(i)&&u({inst:i}),e((function(){c(i)&&u({inst:i})}))}),[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:u},402:(e,t,n)=>{"use strict";var r=n(9787),i=n(3100),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=i.useSyncExternalStore,s=r.useRef,l=r.useEffect,c=r.useMemo,u=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var d=s(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=c((function(){function e(e){if(!l){if(l=!0,a=e,e=r(e),void 0!==i&&f.hasValue){var t=f.value;if(i(t,e))return s=t}return s=e}if(t=s,o(a,e))return t;var n=r(e);return void 0!==i&&i(t,n)?t:(a=e,s=n)}var a,s,l=!1,c=void 0===n?null:n;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]}),[t,n,r,i]);var p=a(e,d[0],d[1]);return l((function(){f.hasValue=!0,f.value=p}),[p]),u(p),p}},3100:(e,t,n)=>{"use strict";e.exports=n(452)},1110:(e,t,n)=>{"use strict";e.exports=n(402)},9787:t=>{"use strict";t.exports=e},5156:e=>{"use strict";e.exports=t},764:()=>{},5158:()=>{},8635:()=>{},139:()=>{},3653:()=>{},8864:e=>{e.exports={nanoid:(e=21)=>{let t="",n=e;for(;n--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},customAlphabet:(e,t=21)=>(n=t)=>{let r="",i=n;for(;i--;)r+=e[Math.random()*e.length|0];return r}}},9388:e=>{"use strict";e.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},2059: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":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"","InvisibleTimes":"","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"","NegativeThickSpace":"","NegativeThinSpace":"","NegativeVeryThinSpace":"","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":" ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"","zwnj":""}')},2184:e=>{"use strict";e.exports=JSON.parse('{"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":"ÿ"}')},1542:e=>{"use strict";e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var o=r[e]={id:e,loaded:!1,exports:{}};return n[e].call(o.exports,o,o.exports,i),o.loaded=!0,o.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return(()=>{"use strict";i.r(o),i.d(o,{Attachments:()=>dl,Exam:()=>dg,GradingInstructions:()=>Tg,Results:()=>om,parseExam:()=>Dm});var e=i(9787),t=i.n(e);function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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},r(e)}function a(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,"string");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===r(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,a(r.key),r)}}function l(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function c(e,t,n){return(t=a(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u,d=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,f={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},p=function(e){return f[e]},h={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:function(e){return e.replace(d,p)}},g=(0,e.createContext)(),m=function(){function e(){n(this,e),this.usedNamespaces={}}return l(e,[{key:"addUsedNamespaces",value:function(e){var t=this;e.forEach((function(e){t.usedNamespaces[e]||(t.usedNamespaces[e]=!0)}))}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}]),e}();function y(t){var n=t.i18n,r=t.defaultNS,i=t.children,o=(0,e.useMemo)((function(){return{i18n:n,defaultNS:r}}),[n,r]);return(0,e.createElement)(g.Provider,{value:o},i)}const v=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e},b=function(e,t,n){for(var r=-1,i=Object(e),o=n(e),a=o.length;a--;){var s=o[I?a:++r];if(!1===t(i[s],s,i))break}return e};var I;const x=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r},M="object"==typeof global&&global&&global.Object===Object&&global;var w="object"==typeof self&&self&&self.Object===Object&&self;const T=M||w||Function("return this")(),A=T.Symbol;var C=Object.prototype,N=C.hasOwnProperty,E=C.toString,S=A?A.toStringTag:void 0;var j=Object.prototype.toString;var k=A?A.toStringTag:void 0;const D=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":k&&k in Object(e)?function(e){var t=N.call(e,S),n=e[S];try{e[S]=void 0;var r=!0}catch(e){}var i=E.call(e);return r&&(t?e[S]=n:delete e[S]),i}(e):function(e){return j.call(e)}(e)},L=function(e){return null!=e&&"object"==typeof e},O=function(e){return L(e)&&"[object Arguments]"==D(e)};var R=Object.prototype,P=R.hasOwnProperty,z=R.propertyIsEnumerable;const U=O(function(){return arguments}())?O:function(e){return L(e)&&P.call(e,"callee")&&!z.call(e,"callee")},_=Array.isArray;var Z="object"==typeof exports&&exports&&!exports.nodeType&&exports,G=Z&&"object"==typeof module&&module&&!module.nodeType&&module,B=G&&G.exports===Z?T.Buffer:void 0;const F=(B?B.isBuffer:void 0)||function(){return!1};var Y=/^(?:0|[1-9]\d*)$/;const W=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&Y.test(e))&&e>-1&&e%1==0&&e<t},H=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991};var V={};V["[object Float32Array]"]=V["[object Float64Array]"]=V["[object Int8Array]"]=V["[object Int16Array]"]=V["[object Int32Array]"]=V["[object Uint8Array]"]=V["[object Uint8ClampedArray]"]=V["[object Uint16Array]"]=V["[object Uint32Array]"]=!0,V["[object Arguments]"]=V["[object Array]"]=V["[object ArrayBuffer]"]=V["[object Boolean]"]=V["[object DataView]"]=V["[object Date]"]=V["[object Error]"]=V["[object Function]"]=V["[object Map]"]=V["[object Number]"]=V["[object Object]"]=V["[object RegExp]"]=V["[object Set]"]=V["[object String]"]=V["[object WeakMap]"]=!1;const q=function(e){return function(t){return e(t)}};var Q="object"==typeof exports&&exports&&!exports.nodeType&&exports,J=Q&&"object"==typeof module&&module&&!module.nodeType&&module,X=J&&J.exports===Q&&M.process;const K=function(){try{return J&&J.require&&J.require("util").types||X&&X.binding&&X.binding("util")}catch(e){}}();var $=K&&K.isTypedArray;const ee=$?q($):function(e){return L(e)&&H(e.length)&&!!V[D(e)]};var te=Object.prototype.hasOwnProperty;const ne=function(e,t){var n=_(e),r=!n&&U(e),i=!n&&!r&&F(e),o=!n&&!r&&!i&&ee(e),a=n||r||i||o,s=a?x(e.length,String):[],l=s.length;for(var c in e)!t&&!te.call(e,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||W(c,l))||s.push(c);return s};var re=Object.prototype;const ie=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||re)},oe=function(e,t){return function(n){return e(t(n))}},ae=oe(Object.keys,Object);var se=Object.prototype.hasOwnProperty;const le=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},ce=function(e){if(!le(e))return!1;var t=D(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},ue=function(e){return null!=e&&H(e.length)&&!ce(e)},de=function(e){return ue(e)?ne(e):function(e){if(!ie(e))return ae(e);var t=[];for(var n in Object(e))se.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)},fe=function(e,t){return e&&b(e,t,de)},pe=function(e,t){return function(n,r){if(null==n)return n;if(!ue(n))return e(n,r);for(var i=n.length,o=t?i:-1,a=Object(n);(t?o--:++o<i)&&!1!==r(a[o],o,a););return n}}(fe),he=function(e){return e},ge=function(e){return"function"==typeof e?e:he},me=function(e,t){return(_(e)?v:pe)(e,ge(t))},ye=" ";function ve(e,t){const n=null!=t?be(t):void 0,r=[];for(;null!=e.parentElement;)e=e.parentElement,(null==n||n(e))&&r.push(e);return r}function be(e){return"function"==typeof e?t=>t.namespaceURI===je&&e(t):Array.isArray(e)?t=>t.namespaceURI===je&&e.includes(t.localName):t=>t.namespaceURI===je&&t.localName===e}function Ie(e,t){const n=be(t);return function e(t){for(let r=0,i=t.children.length;r<i;r++){const i=t.children[r];if(n(i))return i;const o=e(i);if(null!=o)return o}}(e)}function xe(e,t,n=!0){const r=be(t),i=[];return function e(t){for(let o=0,a=t.children.length;o<a;o++){const a=t.children[o];r(a)?(i.push(a),n&&e(a)):e(a)}}(e),i}function Me(e,t){const n=be(t);for(;null!=e.parentElement;)if(n(e=e.parentElement))return e}function we(e,t){const n=be(t);for(let t=0,r=e.children.length;t<r;t++){const r=e.children[t];if(n(r))return r}}function Te(e,t){var n;return null!==(n=e.getAttribute(t))&&void 0!==n?n:void 0}function Ae(e,t){const n=e.getAttribute(t);return null!=n?Number(n):void 0}function Ce(e,t){return"true"===Te(e,t)}function Ne(e,t){const n=[];for(let r=0,i=e.children.length;r<i;r++){const i=e.children[r];n.push(t(i,r))}return n}function Ee(e){return xe(e,["choice-answer","dropdown-answer","text-answer","scored-text-answer"],!0)}function Se(e,t,...n){const r=document.createElement(e);return function(e,t){me(t,((t,n)=>{"css"===n?e.style.cssText=t:n.startsWith("data-")?e.setAttribute(n,t):e[n]=t}))}(r,t),n.forEach((e=>r.appendChild("string"==typeof e?new Text(e):e))),r}const je="http://ylioppilastutkinto.fi/exam.xsd";function ke(e){function n(r,i=0){return function(e,t){const n=e.childNodes.length,r=new Array(n);for(let i=0;i<n;i++)r[i]=t(e.childNodes[i],i);return r}(r,((r,o)=>function(r,i,o){switch(r.nodeType){case Node.TEXT_NODE:case Node.CDATA_SECTION_NODE:return 0===o?function(e){return e.textContent}(r):null;case Node.ELEMENT_NODE:return function(r,i,o){switch(r.namespaceURI){case"http://www.w3.org/1999/xhtml":return function(e,r,i){const o=e.hasChildNodes()?n(e,i):null;if(0===i){const n=e.localName,i=function(e,t){const n={key:De(e,t)};for(const t of e.attributes)n["class"===t.localName?"className":t.localName]=t.value;return n}(e,r);return t().createElement(n,{...i},o)}return o}(r,i,o);case je:return function(r,i){const o=e[r.localName],a=r.getAttribute("class")||void 0;return o?t().createElement(o,{element:r,className:a,renderChildNodes:n,key:De(r,i)}):null}(r,i);default:throw new Error(`Unrecognized element: ${r.localName}`)}}(r,i,o);default:return null}}(r,o,i)))}return n}function De(e,t){return`${e.localName}-${t}`}function Le(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oe(e,t){return Oe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Oe(e,t)}function Re(e,t){if("function"!=typeof t&&null!==t)throw new 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&&Oe(e,t)}function Pe(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 Le(e)}function ze(e){return ze=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ze(e)}function Ue(e){if(Array.isArray(e))return e}function _e(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 Ze(e,t){if(e){if("string"==typeof e)return _e(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)?_e(e,t):void 0}}function Ge(){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 Be(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 Fe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Be(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Be(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ye={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){console&&console[e]&&console[e].apply(console,t)}},We=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n(this,e),this.init(t,r)}return l(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||Ye,this.options=t,this.debug=t.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}},{key:"warn",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}},{key:"error",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}},{key:"deprecate",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(e,t,n,r){return r&&!this.debug?null:("string"==typeof e[0]&&(e[0]="".concat(n).concat(this.prefix," ").concat(e[0])),this.logger[t](e))}},{key:"create",value:function(t){return new e(this.logger,Fe(Fe({},{prefix:"".concat(this.prefix,":").concat(t,":")}),this.options))}},{key:"clone",value:function(t){return(t=t||this.options).prefix=t.prefix||this.prefix,new e(this.logger,t)}}]),e}(),He=new We,Ve=function(){function e(){n(this,e),this.observers={}}return l(e,[{key:"on",value:function(e,t){var n=this;return e.split(" ").forEach((function(e){n.observers[e]=n.observers[e]||[],n.observers[e].push(t)})),this}},{key:"off",value:function(e,t){this.observers[e]&&(t?this.observers[e]=this.observers[e].filter((function(e){return e!==t})):delete this.observers[e])}},{key:"emit",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.observers[e]&&[].concat(this.observers[e]).forEach((function(e){e.apply(void 0,n)})),this.observers["*"]&&[].concat(this.observers["*"]).forEach((function(t){t.apply(t,[e].concat(n))}))}}]),e}();function qe(){var e,t,n=new Promise((function(n,r){e=n,t=r}));return n.resolve=e,n.reject=t,n}function Qe(e){return null==e?"":""+e}function Je(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function i(){return!e||"string"==typeof e}for(var o="string"!=typeof t?[].concat(t):t.split(".");o.length>1;){if(i())return{};var a=r(o.shift());!e[a]&&n&&(e[a]=new n),e=Object.prototype.hasOwnProperty.call(e,a)?e[a]:{}}return i()?{}:{obj:e,k:r(o.shift())}}function Xe(e,t,n){var r=Je(e,t,Object);r.obj[r.k]=n}function Ke(e,t){var n=Je(e,t),r=n.obj,i=n.k;if(r)return r[i]}function $e(e,t,n){var r=Ke(e,n);return void 0!==r?r:Ke(t,n)}function et(e,t,n){for(var r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?"string"==typeof e[r]||e[r]instanceof String||"string"==typeof t[r]||t[r]instanceof String?n&&(e[r]=t[r]):et(e[r],t[r],n):e[r]=t[r]);return e}function tt(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var nt={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function rt(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(function(e){return nt[e]})):e}var it="undefined"!=typeof window&&window.navigator&&void 0===window.navigator.userAgentData&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,ot=[" ",",","?","!",";"];function at(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 st(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?at(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):at(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function lt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),i=e,o=0;o<r.length;++o){if(!i)return;if("string"==typeof i[r[o]]&&o+1<r.length)return;if(void 0===i[r[o]]){for(var a=2,s=r.slice(o,o+a).join(n),l=i[s];void 0===l&&r.length>o+a;)a++,l=i[s=r.slice(o,o+a).join(n)];if(void 0===l)return;if(null===l)return null;if(t.endsWith(s)){if("string"==typeof l)return l;if(s&&"string"==typeof l[s])return l[s]}var c=r.slice(o+a).join(n);return c?lt(l,c,n):void 0}i=i[r[o]]}return i}}var ct=function(e){Re(o,e);var t,r,i=(t=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.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(){var e,n=ze(t);if(r){var i=ze(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return Pe(this,e)});function o(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return n(this,o),t=i.call(this),it&&Ve.call(Le(t)),t.data=e||{},t.options=r,void 0===t.options.keySeparator&&(t.options.keySeparator="."),void 0===t.options.ignoreJSONStructure&&(t.options.ignoreJSONStructure=!0),t}return l(o,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,o=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure,a=[e,t];n&&"string"!=typeof n&&(a=a.concat(n)),n&&"string"==typeof n&&(a=a.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(a=e.split("."));var s=Ke(this.data,a);return s||!o||"string"!=typeof n?s:lt(this.data&&this.data[e]&&this.data[e][t],n,i)}},{key:"addResource",value:function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},o=this.options.keySeparator;void 0===o&&(o=".");var a=[e,t];n&&(a=a.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(r=t,t=(a=e.split("."))[1]),this.addNamespaces(t),Xe(this.data,a,r),i.silent||this.emit("added",e,t,n,r)}},{key:"addResources",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var i in n)"string"!=typeof n[i]&&"[object Array]"!==Object.prototype.toString.apply(n[i])||this.addResource(e,t,i,n[i],{silent:!0});r.silent||this.emit("added",e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},a=[e,t];e.indexOf(".")>-1&&(r=n,n=t,t=(a=e.split("."))[1]),this.addNamespaces(t);var s=Ke(this.data,a)||{};r?et(s,n,i):s=st(st({},s),n),Xe(this.data,a,s),o.silent||this.emit("added",e,t,n)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?st(st({},{}),this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"hasLanguageSomeTranslations",value:function(e){var t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((function(e){return t[e]&&Object.keys(t[e]).length>0}))}},{key:"toJSON",value:function(){return this.data}}]),o}(Ve),ut={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,i){var o=this;return e.forEach((function(e){o.processors[e]&&(t=o.processors[e].process(t,n,r,i))})),t}};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 ft(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){c(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}var pt={},ht=function(e){Re(a,e);var t,i,o=(t=a,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.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(){var e,n=ze(t);if(i){var r=ze(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Pe(this,e)});function a(e){var t,r,i,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n(this,a),t=o.call(this),it&&Ve.call(Le(t)),r=e,i=Le(t),["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"].forEach((function(e){r[e]&&(i[e]=r[e])})),t.options=s,void 0===t.options.keySeparator&&(t.options.keySeparator="."),t.logger=He.create("translator"),t}return l(a,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;var n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,i=t.ns||this.options.defaultNS||[],o=n&&e.indexOf(n)>-1,a=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||function(e,t,n){t=t||"",n=n||"";var r=ot.filter((function(e){return t.indexOf(e)<0&&n.indexOf(e)<0}));if(0===r.length)return!0;var i=new RegExp("(".concat(r.map((function(e){return"?"===e?"\\?":e})).join("|"),")")),o=!i.test(e);if(!o){var a=e.indexOf(n);a>0&&!i.test(e.substring(0,a))&&(o=!0)}return o}(e,n,r));if(o&&!a){var s=e.match(this.interpolator.nestingRegexp);if(s&&s.length>0)return{key:e,namespaces:i};var l=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(l[0])>-1)&&(i=l.shift()),e=l.join(r)}return"string"==typeof i&&(i=[i]),{key:e,namespaces:i}}},{key:"translate",value:function(e,t,n){var i=this;if("object"!==r(t)&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);var o=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,s=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,l=this.extractFromKey(e[e.length-1],t),c=l.key,u=l.namespaces,d=u[u.length-1],f=t.lng||this.language,p=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(f&&"cimode"===f.toLowerCase()){if(p){var h=t.nsSeparator||this.options.nsSeparator;return o?(g.res="".concat(d).concat(h).concat(c),g):"".concat(d).concat(h).concat(c)}return o?(g.res=c,g):c}var g=this.resolve(e,t),m=g&&g.res,y=g&&g.usedKey||c,v=g&&g.exactUsedKey||c,b=Object.prototype.toString.apply(m),I=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,x=!this.i18nFormat||this.i18nFormat.handleAsObject;if(x&&m&&"string"!=typeof m&&"boolean"!=typeof m&&"number"!=typeof m&&["[object Number]","[object Function]","[object RegExp]"].indexOf(b)<0&&("string"!=typeof I||"[object Array]"!==b)){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var M=this.options.returnedObjectHandler?this.options.returnedObjectHandler(y,m,ft(ft({},t),{},{ns:u})):"key '".concat(c," (").concat(this.language,")' returned an object instead of string.");return o?(g.res=M,g):M}if(s){var w="[object Array]"===b,T=w?[]:{},A=w?v:y;for(var C in m)if(Object.prototype.hasOwnProperty.call(m,C)){var N="".concat(A).concat(s).concat(C);T[C]=this.translate(N,ft(ft({},t),{joinArrays:!1,ns:u})),T[C]===N&&(T[C]=m[C])}m=T}}else if(x&&"string"==typeof I&&"[object Array]"===b)(m=m.join(I))&&(m=this.extendTranslation(m,e,t,n));else{var E=!1,S=!1,j=void 0!==t.count&&"string"!=typeof t.count,k=a.hasDefaultValue(t),D=j?this.pluralResolver.getSuffix(f,t.count,t):"",L=t["defaultValue".concat(D)]||t.defaultValue;!this.isValidLookup(m)&&k&&(E=!0,m=L),this.isValidLookup(m)||(S=!0,m=c);var O=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&S?void 0:m,R=k&&L!==m&&this.options.updateMissing;if(S||E||R){if(this.logger.log(R?"updateKey":"missingKey",f,d,c,R?L:m),s){var P=this.resolve(c,ft(ft({},t),{},{keySeparator:!1}));P&&P.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var z=[],U=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&U&&U[0])for(var _=0;_<U.length;_++)z.push(U[_]);else"all"===this.options.saveMissingTo?z=this.languageUtils.toResolveHierarchy(t.lng||this.language):z.push(t.lng||this.language);var Z=function(e,n,r){var o=k&&r!==m?r:O;i.options.missingKeyHandler?i.options.missingKeyHandler(e,d,n,o,R,t):i.backendConnector&&i.backendConnector.saveMissing&&i.backendConnector.saveMissing(e,d,n,o,R,t),i.emit("missingKey",e,d,n,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&j?z.forEach((function(e){i.pluralResolver.getSuffixes(e,t).forEach((function(n){Z([e],c+n,t["defaultValue".concat(n)]||L)}))})):Z(z,c,L))}m=this.extendTranslation(m,e,t,g,n),S&&m===c&&this.options.appendNamespaceToMissingKey&&(m="".concat(d,":").concat(c)),(S||E)&&this.options.parseMissingKeyHandler&&(m="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?"".concat(d,":").concat(c):c,E?m:void 0):this.options.parseMissingKeyHandler(m))}return o?(g.res=m,g):m}},{key:"extendTranslation",value:function(e,t,n,r,i){var o=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,ft(ft({},this.options.interpolation.defaultVariables),n),r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(ft(ft({},n),{interpolation:ft(ft({},this.options.interpolation),n.interpolation)}));var a,s="string"==typeof e&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(s){var l=e.match(this.interpolator.nestingRegexp);a=l&&l.length}var c=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(c=ft(ft({},this.options.interpolation.defaultVariables),c)),e=this.interpolator.interpolate(e,c,n.lng||this.language,n),s){var u=e.match(this.interpolator.nestingRegexp);a<(u&&u.length)&&(n.nest=!1)}!1!==n.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];return i&&i[0]===r[0]&&!n.context?(o.logger.warn("It seems you are nesting recursively key: ".concat(r[0]," in key: ").concat(t[0])),null):o.translate.apply(o,r.concat([t]))}),n)),n.interpolation&&this.interpolator.reset()}var d=n.postProcess||this.options.postProcess,f="string"==typeof d?[d]:d;return null!=e&&f&&f.length&&!1!==n.applyPostProcessor&&(e=ut.handle(f,e,t,this.options&&this.options.postProcessPassResolved?ft({i18nResolved:r},n):n,this)),e}},{key:"resolve",value:function(e){var t,n,r,i,o,a=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach((function(e){if(!a.isValidLookup(t)){var l=a.extractFromKey(e,s),c=l.key;n=c;var u=l.namespaces;a.options.fallbackNS&&(u=u.concat(a.options.fallbackNS));var d=void 0!==s.count&&"string"!=typeof s.count,f=d&&!s.ordinal&&0===s.count&&a.pluralResolver.shouldUseIntlApi(),p=void 0!==s.context&&("string"==typeof s.context||"number"==typeof s.context)&&""!==s.context,h=s.lngs?s.lngs:a.languageUtils.toResolveHierarchy(s.lng||a.language,s.fallbackLng);u.forEach((function(e){a.isValidLookup(t)||(o=e,!pt["".concat(h[0],"-").concat(e)]&&a.utils&&a.utils.hasLoadedNamespace&&!a.utils.hasLoadedNamespace(o)&&(pt["".concat(h[0],"-").concat(e)]=!0,a.logger.warn('key "'.concat(n,'" for languages "').concat(h.join(", "),'" won\'t get resolved as namespace "').concat(o,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),h.forEach((function(n){if(!a.isValidLookup(t)){i=n;var o,l=[c];if(a.i18nFormat&&a.i18nFormat.addLookupKeys)a.i18nFormat.addLookupKeys(l,c,n,e,s);else{var u;d&&(u=a.pluralResolver.getSuffix(n,s.count,s));var h="".concat(a.options.pluralSeparator,"zero");if(d&&(l.push(c+u),f&&l.push(c+h)),p){var g="".concat(c).concat(a.options.contextSeparator).concat(s.context);l.push(g),d&&(l.push(g+u),f&&l.push(g+h))}}for(;o=l.pop();)a.isValidLookup(t)||(r=o,t=a.getResource(n,e,o,s))}})))}))}})),{res:t,usedKey:n,exactUsedKey:r,usedLng:i,usedNS:o}}},{key:"isValidLookup",value:function(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}}],[{key:"hasDefaultValue",value:function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&"defaultValue"===t.substring(0,12)&&void 0!==e[t])return!0;return!1}}]),a}(Ve);function gt(e){return e.charAt(0).toUpperCase()+e.slice(1)}var mt=function(){function e(t){n(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=He.create("languageUtils")}return l(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map((function(e){return e.toLowerCase()})):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=gt(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=gt(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=gt(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach((function(e){if(!t){var r=n.formatLanguageCode(e);n.options.supportedLngs&&!n.isSupportedCode(r)||(t=r)}})),!t&&this.options.supportedLngs&&e.forEach((function(e){if(!t){var r=n.getLanguagePartFromCode(e);if(n.isSupportedCode(r))return t=r;t=n.options.supportedLngs.find((function(e){if(0===e.indexOf(r))return e}))}})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),i=[],o=function(e){e&&(n.isSupportedCode(e)?i.push(e):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(e))):"string"==typeof e&&o(this.formatLanguageCode(e)),r.forEach((function(e){i.indexOf(e)<0&&o(n.formatLanguageCode(e))})),i}}]),e}(),yt=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],vt={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}},bt=["v1","v2","v3"],It={zero:0,one:1,two:2,few:3,many:4,other:5},xt=function(){function e(t){var r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n(this,e),this.languageUtils=t,this.options=i,this.logger=He.create("pluralResolver"),this.options.compatibilityJSON&&"v4"!==this.options.compatibilityJSON||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=(r={},yt.forEach((function(e){e.lngs.forEach((function(t){r[t]={numbers:e.nr,plurals:vt[e.fc]}}))})),r)}return l(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(e,{type:t.ordinal?"ordinal":"cardinal"})}catch(e){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map((function(e){return"".concat(t).concat(e)}))}},{key:"getSuffixes",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((function(e,t){return It[e]-It[t]})).map((function(e){return"".concat(t.options.prepend).concat(e)})):r.numbers.map((function(r){return t.getSuffix(e,r,n)})):[]}},{key:"getSuffix",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(r.select(t)):this.getSuffixRetroCompatible(r,t):(this.logger.warn("no plural rule found for: ".concat(e)),"")}},{key:"getSuffixRetroCompatible",value:function(e,t){var n=this,r=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),i=e.numbers[r];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===i?i="plural":1===i&&(i=""));var o=function(){return n.options.prepend&&i.toString()?n.options.prepend+i.toString():i.toString()};return"v1"===this.options.compatibilityJSON?1===i?"":"number"==typeof i?"_plural_".concat(i.toString()):o():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?o():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}},{key:"shouldUseIntlApi",value:function(){return!bt.includes(this.options.compatibilityJSON)}}]),e}();function Mt(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 wt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mt(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Tt=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};n(this,e),this.logger=He.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t)}return l(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:rt,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?tt(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?tt(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?tt(t.nestingPrefix):t.nestingPrefixEscaped||tt("$t("),this.nestingSuffix=t.nestingSuffix?tt(t.nestingSuffix):t.nestingSuffixEscaped||tt(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(n,"g")}},{key:"interpolate",value:function(e,t,n,r){var i,o,a,s=this,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function c(e){return e.replace(/\$/g,"$$$$")}var u=function(e){if(e.indexOf(s.formatSeparator)<0){var i=$e(t,l,e);return s.alwaysFormat?s.format(i,void 0,n,wt(wt(wt({},r),t),{},{interpolationkey:e})):i}var o=e.split(s.formatSeparator),a=o.shift().trim(),c=o.join(s.formatSeparator).trim();return s.format($e(t,l,a),c,n,wt(wt(wt({},r),t),{},{interpolationkey:a}))};this.resetRegExp();var d=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,f=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(e){return c(e)}},{regex:this.regexp,safeValue:function(e){return s.escapeValue?c(s.escape(e)):c(e)}}].forEach((function(t){for(a=0;i=t.regex.exec(e);){var n=i[1].trim();if(void 0===(o=u(n)))if("function"==typeof d){var l=d(e,i,r);o="string"==typeof l?l:""}else if(r&&r.hasOwnProperty(n))o="";else{if(f){o=i[0];continue}s.logger.warn("missed to pass in variable ".concat(n," for interpolating ").concat(e)),o=""}else"string"==typeof o||s.useRawValueToEscape||(o=Qe(o));var c=t.safeValue(o);if(e=e.replace(i[0],c),f?(t.regex.lastIndex+=o.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,++a>=s.maxReplaces)break}})),e}},{key:"nest",value:function(e,t){var n,r,i=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=wt({},o);function s(e,t){var n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;var r=e.split(new RegExp("".concat(n,"[ ]*{"))),i="{".concat(r[1]);e=r[0];var o=(i=this.interpolate(i,a)).match(/'/g),s=i.match(/"/g);(o&&o.length%2==0&&!s||s.length%2!=0)&&(i=i.replace(/'/g,'"'));try{a=JSON.parse(i),t&&(a=wt(wt({},t),a))}catch(t){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),t),"".concat(e).concat(n).concat(i)}return delete a.defaultValue,e}for(a.applyPostProcessor=!1,delete a.defaultValue;n=this.nestingRegexp.exec(e);){var l=[],c=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var u=n[1].split(this.formatSeparator).map((function(e){return e.trim()}));n[1]=u.shift(),l=u,c=!0}if((r=t(s.call(this,n[1].trim(),a),a))&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=Qe(r)),r||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),r=""),c&&(r=l.reduce((function(e,t){return i.format(e,t,o.lng,wt(wt({},o),{},{interpolationkey:n[1].trim()}))}),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}]),e}();function At(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?At(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):At(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Nt(e){var t={};return function(n,r,i){var o=r+JSON.stringify(i),a=t[o];return a||(a=e(r,i),t[o]=a),a(n)}}var Et=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};n(this,e),this.logger=He.create("formatter"),this.options=t,this.formats={number:Nt((function(e,t){var n=new Intl.NumberFormat(e,t);return function(e){return n.format(e)}})),currency:Nt((function(e,t){var n=new Intl.NumberFormat(e,Ct(Ct({},t),{},{style:"currency"}));return function(e){return n.format(e)}})),datetime:Nt((function(e,t){var n=new Intl.DateTimeFormat(e,Ct({},t));return function(e){return n.format(e)}})),relativetime:Nt((function(e,t){var n=new Intl.RelativeTimeFormat(e,Ct({},t));return function(e){return n.format(e,t.range||"day")}})),list:Nt((function(e,t){var n=new Intl.ListFormat(e,Ct({},t));return function(e){return n.format(e)}}))},this.init(t)}return l(e,[{key:"init",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||","}},{key:"add",value:function(e,t){this.formats[e.toLowerCase().trim()]=t}},{key:"addCached",value:function(e,t){this.formats[e.toLowerCase().trim()]=Nt(t)}},{key:"format",value:function(e,t,n,r){var i=this,o=t.split(this.formatSeparator).reduce((function(e,t){var o=function(e){var t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){var r=e.split("(");t=r[0].toLowerCase().trim();var i=r[1].substring(0,r[1].length-1);"currency"===t&&i.indexOf(":")<0?n.currency||(n.currency=i.trim()):"relativetime"===t&&i.indexOf(":")<0?n.range||(n.range=i.trim()):i.split(";").forEach((function(e){if(e){var t=Ue(o=e.split(":"))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(o)||Ze(o)||Ge(),r=t[0],i=t.slice(1).join(":").trim().replace(/^'+|'+$/g,"");n[r.trim()]||(n[r.trim()]=i),"false"===i&&(n[r.trim()]=!1),"true"===i&&(n[r.trim()]=!0),isNaN(i)||(n[r.trim()]=parseInt(i,10))}var o}))}return{formatName:t,formatOptions:n}}(t),a=o.formatName,s=o.formatOptions;if(i.formats[a]){var l=e;try{var c=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},u=c.locale||c.lng||r.locale||r.lng||n;l=i.formats[a](e,u,Ct(Ct(Ct({},s),r),c))}catch(e){i.logger.warn(e)}return l}return i.logger.warn("there was no format function for ".concat(a)),e}),e);return o}}]),e}();function St(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?St(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):St(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var kt=function(e){Re(o,e);var t,r,i=(t=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.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(){var e,n=ze(t);if(r){var i=ze(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return Pe(this,e)});function o(e,t,r){var a,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return n(this,o),a=i.call(this),it&&Ve.call(Le(a)),a.backend=e,a.store=t,a.services=r,a.languageUtils=r.languageUtils,a.options=s,a.logger=He.create("backendConnector"),a.waitingReads=[],a.maxParallelReads=s.maxParallelReads||10,a.readingCalls=0,a.maxRetries=s.maxRetries>=0?s.maxRetries:5,a.retryTimeout=s.retryTimeout>=1?s.retryTimeout:350,a.state={},a.queue=[],a.backend&&a.backend.init&&a.backend.init(r,s.backend,s),a}return l(o,[{key:"queueLoad",value:function(e,t,n,r){var i=this,o={},a={},s={},l={};return e.forEach((function(e){var r=!0;t.forEach((function(t){var s="".concat(e,"|").concat(t);!n.reload&&i.store.hasResourceBundle(e,t)?i.state[s]=2:i.state[s]<0||(1===i.state[s]?void 0===a[s]&&(a[s]=!0):(i.state[s]=1,r=!1,void 0===a[s]&&(a[s]=!0),void 0===o[s]&&(o[s]=!0),void 0===l[t]&&(l[t]=!0)))})),r||(s[e]=!0)})),(Object.keys(o).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(o),pending:Object.keys(a),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(l)}}},{key:"loaded",value:function(e,t,n){var r=e.split("|"),i=r[0],o=r[1];t&&this.emit("failedLoading",i,o,t),n&&this.store.addResourceBundle(i,o,n),this.state[e]=t?-1:2;var a={};this.queue.forEach((function(n){var r,s,l,c,u;r=n.loaded,s=o,l=Je(r,[i],Object),c=l.obj,u=l.k,c[u]=c[u]||[],c[u].push(s),function(e,t){void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)}(n,e),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach((function(e){a[e]||(a[e]={});var t=n.loaded[e];t.length&&t.forEach((function(t){void 0===a[e][t]&&(a[e][t]=!0)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit("loaded",a),this.queue=this.queue.filter((function(e){return!e.done}))}},{key:"read",value:function(e,t,n){var r=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,a=arguments.length>5?arguments[5]:void 0;return e.length?this.readingCalls>=this.maxParallelReads?void this.waitingReads.push({lng:e,ns:t,fcName:n,tried:i,wait:o,callback:a}):(this.readingCalls++,this.backend[n](e,t,(function(s,l){if(r.readingCalls--,r.waitingReads.length>0){var c=r.waitingReads.shift();r.read(c.lng,c.ns,c.fcName,c.tried,c.wait,c.callback)}s&&l&&i<r.maxRetries?setTimeout((function(){r.read.call(r,e,t,n,i+1,2*o,a)}),o):a(s,l)}))):a(null,{})}},{key:"prepareLoading",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var o=this.queueLoad(e,t,r,i);if(!o.toLoad.length)return o.pending.length||i(),null;o.toLoad.forEach((function(e){n.loadOne(e)}))}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),i=r[0],o=r[1];this.read(i,o,"read",void 0,void 0,(function(r,a){r&&t.logger.warn("".concat(n,"loading namespace ").concat(o," for language ").concat(i," failed"),r),!r&&a&&t.logger.log("".concat(n,"loaded namespace ").concat(o," for language ").concat(i),a),t.loaded(e,r,a)}))}},{key:"saveMissing",value:function(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)?this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"):null!=n&&""!==n&&(this.backend&&this.backend.create&&this.backend.create(e,t,n,r,null,jt(jt({},o),{},{isUpdate:i})),e&&e[0]&&this.store.addResource(e[0],t,n,r))}}]),o}(Ve);function Dt(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function Lt(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 Ot(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lt(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Rt(){}var Pt=function(e){Re(a,e);var t,i,o=(t=a,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.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(){var e,n=ze(t);if(i){var r=ze(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Pe(this,e)});function a(){var e,t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;if(n(this,a),e=o.call(this),it&&Ve.call(Le(e)),e.options=Dt(r),e.services={},e.logger=He,e.modules={external:[]},t=Le(e),Object.getOwnPropertyNames(Object.getPrototypeOf(t)).forEach((function(e){"function"==typeof t[e]&&(t[e]=t[e].bind(t))})),i&&!e.isInitialized&&!r.isClone){if(!e.options.initImmediate)return e.init(r,i),Pe(e,Le(e));setTimeout((function(){e.init(r,i)}),0)}return e}return l(a,[{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;"function"==typeof t&&(n=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&("string"==typeof t.ns?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));var i={debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if("object"===r(e[1])&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"===r(e[2])||"object"===r(e[3])){var n=e[3]||e[2];Object.keys(n).forEach((function(e){t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}};function o(e){return e?"function"==typeof e?new e:e:null}if(this.options=Ot(Ot(Ot({},i),this.options),Dt(t)),"v1"!==this.options.compatibilityAPI&&(this.options.interpolation=Ot(Ot({},i.interpolation),this.options.interpolation)),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator),!this.options.isClone){var a;this.modules.logger?He.init(o(this.modules.logger),this.options):He.init(null,this.options),this.modules.formatter?a=this.modules.formatter:"undefined"!=typeof Intl&&(a=Et);var s=new mt(this.options);this.store=new ct(this.options.resources,this.options);var l=this.services;l.logger=He,l.resourceStore=this.store,l.languageUtils=s,l.pluralResolver=new xt(s,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!a||this.options.interpolation.format&&this.options.interpolation.format!==i.interpolation.format||(l.formatter=o(a),l.formatter.init(l,this.options),this.options.interpolation.format=l.formatter.format.bind(l.formatter)),l.interpolator=new Tt(this.options),l.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},l.backendConnector=new kt(o(this.modules.backend),l.resourceStore,l,this.options),l.backendConnector.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e.emit.apply(e,[t].concat(r))})),this.modules.languageDetector&&(l.languageDetector=o(this.modules.languageDetector),l.languageDetector.init(l,this.options.detection,this.options)),this.modules.i18nFormat&&(l.i18nFormat=o(this.modules.i18nFormat),l.i18nFormat.init&&l.i18nFormat.init(this)),this.translator=new ht(this.services,this.options),this.translator.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e.emit.apply(e,[t].concat(r))})),this.modules.external.forEach((function(t){t.init&&t.init(e)}))}if(this.format=this.options.interpolation.format,n||(n=Rt),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var c=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);c.length>0&&"dev"!==c[0]&&(this.options.lng=c[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments)}})),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments),e}}));var u=qe(),d=function(){var t=function(t,r){e.isInitialized&&!e.initializedStoreOnce&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),u.resolve(r),n(t,r)};if(e.languages&&"v1"!==e.options.compatibilityAPI&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t)};return this.options.resources||!this.options.initImmediate?d():setTimeout(d,0),u}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Rt,r="string"==typeof e?e:this.language;if("function"==typeof e&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(r&&"cimode"===r.toLowerCase())return n();var i=[],o=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach((function(e){i.indexOf(e)<0&&i.push(e)}))};r?o(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((function(e){return o(e)})),this.options.preload&&this.options.preload.forEach((function(e){return o(e)})),this.services.backendConnector.load(i,this.options.ns,(function(e){e||t.resolvedLanguage||!t.language||t.setResolvedLanguage(t.language),n(e)}))}else n(null)}},{key:"reloadResources",value:function(e,t,n){var r=qe();return e||(e=this.languages),t||(t=this.options.ns),n||(n=Rt),this.services.backendConnector.reload(e,t,(function(e){r.resolve(),n(e)})),r}},{key:"use",value:function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&ut.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"setResolvedLanguage",value:function(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(var t=0;t<this.languages.length;t++){var n=this.languages[t];if(!(["cimode","dev"].indexOf(n)>-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}},{key:"changeLanguage",value:function(e,t){var n=this;this.isLanguageChangingTo=e;var r=qe();this.emit("languageChanging",e);var i=function(e){n.language=e,n.languages=n.services.languageUtils.toResolveHierarchy(e),n.resolvedLanguage=void 0,n.setResolvedLanguage(e)},o=function(o){e||o||!n.services.languageDetector||(o=[]);var a="string"==typeof o?o:n.services.languageUtils.getBestMatchFromCodes(o);a&&(n.language||i(a),n.translator.language||n.translator.changeLanguage(a),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage(a)),n.loadResources(a,(function(e){!function(e,o){o?(i(o),n.translator.changeLanguage(o),n.isLanguageChangingTo=void 0,n.emit("languageChanged",o),n.logger.log("languageChanged",o)):n.isLanguageChangingTo=void 0,r.resolve((function(){return n.t.apply(n,arguments)})),t&&t(e,(function(){return n.t.apply(n,arguments)}))}(e,a)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(o):o(e):o(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(e,t,n){var i=this,o=function e(t,o){var a;if("object"!==r(o)){for(var s=arguments.length,l=new Array(s>2?s-2:0),c=2;c<s;c++)l[c-2]=arguments[c];a=i.options.overloadTranslationOptionHandler([t,o].concat(l))}else a=Ot({},o);a.lng=a.lng||e.lng,a.lngs=a.lngs||e.lngs,a.ns=a.ns||e.ns,a.keyPrefix=a.keyPrefix||n||e.keyPrefix;var u=i.options.keySeparator||".",d=a.keyPrefix?"".concat(a.keyPrefix).concat(u).concat(t):t;return i.t(d,a)};return"string"==typeof e?o.lng=e:o.lngs=e,o.ns=t,o.keyPrefix=n,o}},{key:"t",value:function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments)}},{key:"exists",value:function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments)}},{key:"setDefaultNamespace",value:function(e){this.options.defaultNS=e}},{key:"hasLoadedNamespace",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var r=this.resolvedLanguage||this.languages[0],i=!!this.options&&this.options.fallbackLng,o=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;var a=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};if(n.precheck){var s=n.precheck(this,a);if(void 0!==s)return s}return!(!this.hasResourceBundle(r,e)&&this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages)&&(!a(r,e)||i&&!a(o,e)))}},{key:"loadNamespaces",value:function(e,t){var n=this,r=qe();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach((function(e){n.options.ns.indexOf(e)<0&&n.options.ns.push(e)})),this.loadResources((function(e){r.resolve(),t&&t(e)})),r):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=qe();"string"==typeof e&&(e=[e]);var r=this.options.preload||[],i=e.filter((function(e){return r.indexOf(e)<0}));return i.length?(this.options.preload=r.concat(i),this.loadResources((function(e){n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){return e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),e?["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr":"rtl"}},{key:"cloneInstance",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]:Rt,r=Ot(Ot(Ot({},this.options),t),{isClone:!0}),i=new a(r);return void 0===t.debug&&void 0===t.prefix||(i.logger=i.logger.clone(t)),["store","services","language"].forEach((function(t){i[t]=e[t]})),i.services=Ot({},this.services),i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i.translator=new ht(i.services,i.options),i.translator.on("*",(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];i.emit.apply(i,[e].concat(n))})),i.init(r,n),i.translator.options=i.options,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}]),a}(Ve);c(Pt,"createInstance",(function(){return new Pt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}));var zt=Pt.createInstance();zt.createInstance=Pt.createInstance,zt.createInstance,zt.init,zt.loadResources,zt.reloadResources,zt.use,zt.changeLanguage,zt.getFixedT,zt.t,zt.exists,zt.setDefaultNamespace,zt.hasLoadedNamespace,zt.loadNamespaces,zt.loadLanguages;const Ut=zt,_t=function(e){return e&&e.length?e[0]:void 0},Zt=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0},Gt=function(){};function Bt(){if(console&&console.warn){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];"string"==typeof n[0]&&(n[0]="react-i18next:: ".concat(n[0])),(e=console).warn.apply(e,n)}}var Ft={};function Yt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];"string"==typeof t[0]&&Ft[t[0]]||("string"==typeof t[0]&&(Ft[t[0]]=new Date),Bt.apply(void 0,t))}function Wt(e,t,n){e.loadNamespaces(t,(function(){e.isInitialized?n():e.on("initialized",(function t(){setTimeout((function(){e.off("initialized",t)}),0),n()}))}))}function Ht(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 Vt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ht(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ht(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var qt=function(t,n){var r=(0,e.useRef)();return(0,e.useEffect)((function(){r.current=n?r.current:t}),[t,n]),r.current};function Qt(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.i18n,i=(0,e.useContext)(g)||{},o=i.i18n,a=i.defaultNS,s=r||o||u;if(s&&!s.reportNamespaces&&(s.reportNamespaces=new m),!s){Yt("You will need to pass in an i18next instance by using initReactI18next");var l=function(e){return Array.isArray(e)?e[e.length-1]:e},c=[l,{},!1];return c.t=l,c.i18n={},c.ready=!1,c}s.options.react&&void 0!==s.options.react.wait&&Yt("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var d=Vt(Vt(Vt({},h),s.options.react),n),f=d.useSuspense,p=d.keyPrefix,y=t||a||s.options&&s.options.defaultNS;y="string"==typeof y?[y]:y||["translation"],s.reportNamespaces.addUsedNamespaces&&s.reportNamespaces.addUsedNamespaces(y);var v=(s.isInitialized||s.initializedStoreOnce)&&y.every((function(e){return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.languages&&t.languages.length?void 0!==t.options.ignoreJSONStructure?t.hasLoadedNamespace(e,{precheck:function(t,r){if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!r(t.isLanguageChangingTo,e))return!1}}):function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.languages[0],i=!!t.options&&t.options.fallbackLng,o=t.languages[t.languages.length-1];if("cimode"===r.toLowerCase())return!0;var a=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};return!(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!a(t.isLanguageChangingTo,e)||!t.hasResourceBundle(r,e)&&t.services.backendConnector.backend&&(!t.options.resources||t.options.partialBundledLanguages)&&(!a(r,e)||i&&!a(o,e)))}(e,t,n):(Yt("i18n.languages were undefined or empty",t.languages),!0)}(e,s,d)}));function b(){return s.getFixedT(null,"fallback"===d.nsMode?y:y[0],p)}var I,x,M=(I=(0,e.useState)(b),x=2,Ue(I)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(I,x)||Ze(I,x)||Ge()),w=M[0],T=M[1],A=y.join(),C=qt(A),N=(0,e.useRef)(!0);(0,e.useEffect)((function(){var e=d.bindI18n,t=d.bindI18nStore;function n(){N.current&&T(b)}return N.current=!0,v||f||Wt(s,y,(function(){N.current&&T(b)})),v&&C&&C!==A&&N.current&&T(b),e&&s&&s.on(e,n),t&&s&&s.store.on(t,n),function(){N.current=!1,e&&s&&e.split(" ").forEach((function(e){return s.off(e,n)})),t&&s&&t.split(" ").forEach((function(e){return s.store.off(e,n)}))}}),[s,A]);var E=(0,e.useRef)(!0);(0,e.useEffect)((function(){N.current&&!E.current&&T(b),E.current=!1}),[s,p]);var S=[w,s,v];if(S.t=w,S.i18n=s,S.ready=v,v)return S;if(!v&&!f)return S;throw new Promise((function(e){Wt(s,y,(function(){e()}))}))}const Jt=function(e){return"symbol"==typeof e||L(e)&&"[object Symbol]"==D(e)};var Xt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Kt=/^\w*$/;const $t=function(e,t){if(_(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Jt(e))||Kt.test(e)||!Xt.test(e)||null!=t&&e in Object(t)},en=T["__core-js_shared__"];var tn,nn=(tn=/[^.]+$/.exec(en&&en.keys&&en.keys.IE_PROTO||""))?"Symbol(src)_1."+tn:"";var rn=Function.prototype.toString;const on=function(e){if(null!=e){try{return rn.call(e)}catch(e){}try{return e+""}catch(e){}}return""};var an=/^\[object .+?Constructor\]$/,sn=Function.prototype,ln=Object.prototype,cn=sn.toString,un=ln.hasOwnProperty,dn=RegExp("^"+cn.call(un).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const fn=function(e){return!(!le(e)||(t=e,nn&&nn in t))&&(ce(e)?dn:an).test(on(e));var t},pn=function(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return fn(n)?n:void 0},hn=pn(Object,"create");var gn=Object.prototype.hasOwnProperty;var mn=Object.prototype.hasOwnProperty;function yn(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])}}yn.prototype.clear=function(){this.__data__=hn?hn(null):{},this.size=0},yn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},yn.prototype.get=function(e){var t=this.__data__;if(hn){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return gn.call(t,e)?t[e]:void 0},yn.prototype.has=function(e){var t=this.__data__;return hn?void 0!==t[e]:mn.call(t,e)},yn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=hn&&void 0===t?"__lodash_hash_undefined__":t,this};const vn=yn,bn=function(e,t){return e===t||e!=e&&t!=t},In=function(e,t){for(var n=e.length;n--;)if(bn(e[n][0],t))return n;return-1};var xn=Array.prototype.splice;function Mn(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])}}Mn.prototype.clear=function(){this.__data__=[],this.size=0},Mn.prototype.delete=function(e){var t=this.__data__,n=In(t,e);return!(n<0||(n==t.length-1?t.pop():xn.call(t,n,1),--this.size,0))},Mn.prototype.get=function(e){var t=this.__data__,n=In(t,e);return n<0?void 0:t[n][1]},Mn.prototype.has=function(e){return In(this.__data__,e)>-1},Mn.prototype.set=function(e,t){var n=this.__data__,r=In(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};const wn=Mn,Tn=pn(T,"Map"),An=function(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map};function Cn(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])}}Cn.prototype.clear=function(){this.size=0,this.__data__={hash:new vn,map:new(Tn||wn),string:new vn}},Cn.prototype.delete=function(e){var t=An(this,e).delete(e);return this.size-=t?1:0,t},Cn.prototype.get=function(e){return An(this,e).get(e)},Cn.prototype.has=function(e){return An(this,e).has(e)},Cn.prototype.set=function(e,t){var n=An(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};const Nn=Cn;function En(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(En.Cache||Nn),n}En.Cache=Nn;var Sn,jn,kn,Dn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ln=/\\(\\)?/g,On=(Sn=function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Dn,(function(e,n,r,i){t.push(r?i.replace(Ln,"$1"):n||e)})),t},jn=En(Sn,(function(e){return 500===kn.size&&kn.clear(),e})),kn=jn.cache,jn);const Rn=On,Pn=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i};var zn=A?A.prototype:void 0,Un=zn?zn.toString:void 0;const _n=function e(t){if("string"==typeof t)return t;if(_(t))return Pn(t,e)+"";if(Jt(t))return Un?Un.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n},Zn=function(e){return null==e?"":_n(e)},Gn=function(e,t){return _(e)?e:$t(e,t)?[e]:Rn(Zn(e))},Bn=function(e){if("string"==typeof e||Jt(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t},Fn=function(e,t){for(var n=0,r=(t=Gn(t,e)).length;null!=e&&n<r;)e=e[Bn(t[n++])];return n&&n==r?e:void 0},Yn=function(){try{var e=pn(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),Wn=function(e,t,n){"__proto__"==t&&Yn?Yn(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n};var Hn=Object.prototype.hasOwnProperty;const Vn=function(e,t,n){var r=e[t];Hn.call(e,t)&&bn(r,n)&&(void 0!==n||t in e)||Wn(e,t,n)},qn=function(e,t,n,r){if(!le(e))return e;for(var i=-1,o=(t=Gn(t,e)).length,a=o-1,s=e;null!=s&&++i<o;){var l=Bn(t[i]),c=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(i!=a){var u=s[l];void 0===(c=r?r(u,l,s):void 0)&&(c=le(u)?u:W(t[i+1])?[]:{})}Vn(s,l,c),s=s[l]}return e},Qn=function(e,t){return null!=e&&t in Object(e)},Jn=function(e,t){return null!=e&&function(e,t,n){for(var r=-1,i=(t=Gn(t,e)).length,o=!1;++r<i;){var a=Bn(t[r]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&H(i)&&W(a,i)&&(_(e)||U(e))}(e,t,Qn)},Xn=function(e,t){return function(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var a=t[r],s=Fn(e,a);n(s,a)&&qn(o,Gn(a,e),s)}return o}(e,t,(function(t,n){return Jn(e,n)}))},Kn=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e};var $n=A?A.isConcatSpreadable:void 0;const er=function(e){return _(e)||U(e)||!!($n&&e&&e[$n])},tr=function e(t,n,r,i,o){var a=-1,s=t.length;for(r||(r=er),o||(o=[]);++a<s;){var l=t[a];n>0&&r(l)?n>1?e(l,n-1,r,i,o):Kn(o,l):i||(o[o.length]=l)}return o},nr=function(e){return null!=e&&e.length?tr(e,1):[]};var rr=Math.max;const ir=Yn?function(e,t){return Yn(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:he;var or=Date.now;const ar=function(e){var t=0,n=0;return function(){var r=or(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(ir),sr=function(e){return ar(function(e,t,n){return t=rr(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=rr(r.length-t,0),a=Array(o);++i<o;)a[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(a),function(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)}(e,this,s)}}(e,void 0,nr),e+"")},lr=sr((function(e,t){return null==e?{}:Xn(e,t)})),cr={"exam-total":"Provet sammanlagt","grading-total":"Sammanlagt",material:"Material","attachments-page-title":"Material:","external-material-title":"Material","grading-instructions-page-title":"Beskrivningar av goda svar:",section:"Del {{displayNumber}}:",question:"Uppgift {{displayNumber}}:",grade:"Vitsord",comment:"Kommentar",points:"{{count}} p.",recording:"Inspelningen","audio-errors":{"already-accessed":"Du har redan spelat denna inspelning. Uppdatera sidan","already-playing":"Lyssna först inspelningen till slut.","other-error":"Uppspelning misslyckades, be övervakaren om hjälp."},"audio-test":{instructions:"Provet omfattar uppgifter i hörförståelse.",play:"Testa hörbarheten",volume:"Du kan justera ljudvolymen uppe i högra hörnet av rutan."},"dropdown-answer":{label:"Välj det alternativ som passar bäst.",clear:"Avmarkera alternativet."},grading:{"pregrading-annotations":"Preliminära bedömningens anteckningar (lärare)","censor-annotations":"Censorns anteckningar","pregrading-abbrev":"prel.","inspection-grading-abbrev":"ompr.","round.1":"1.c","round.2":"2.c","round.3":"3.c",annotate:"Markera"},references:{heading:"Källor",source:"Källa:",date:"Publicerad:","reference-date":"Hämtad:",translator:"Översättning:","modified-by":"Bearbetning:"},cas:{forbidden:{infoText:"Du får tillgång till de blockerade räknarprogrammen efter att du returnerat del A.",buttonText:"Returnera del A"},allowing:{infoText:"Svaren i A-delen låses. Du får tillgång till de blockerade räknarprogrammen om en stund.",cancel:"Avbryt ({{count}} s)"},allowed:{infoText:"Del A returnerad"}},"toc-heading":"Innehåll","answer-saved":"Sparad","too-many-answers":"TODO","listen-times-remaining":"{{count}} lyssningsgång kvar.","listen-times-remaining_plural":"{{count}} lyssningsgånger kvar.","answer-length":"Svarets längd: {{count}} tecken.","answer-length-with-max-length":"Svarets längd: {{count}} / {{maxLength}} tecken.","max-length-surplus":"Svaret överskrider maximallängden på {{maxLength}} märken med {{percentage}} %.","max-length-info":"Svaret får inte överskrida {{count}} tecken. Om det givna antalet tecken överskrids leder det till poängavdrag.","previous-answer-versions":"Tidigare utkast till svar","zoom-in":"Förstora bilden","end-of-exam":"Uppgifterna i provet slutar här.","answering-instructions":{"exam_*_1_1":"Besvara högst en uppgift i provet.","exam_*_2_2":"Besvara högst två uppgifter i provet.","exam_*_3_3":"Besvara högst tre uppgifter i provet.","exam_*_4_4":"Besvara högst fyra uppgifter i provet.","exam_*_5_5":"Besvara högst fem uppgifter i provet.","exam_*_6_6":"Besvara högst sex uppgifter i provet.","exam_*_7_7":"Besvara högst sju uppgifter i provet.","exam_*_8_8":"Besvara högst åtta uppgifter i provet.","exam_*_9_9":"Besvara högst nio uppgifter i provet.","exam_*_10_10":"Besvara högst tio uppgifter i provet.","exam_*_*_*":"Besvara högst {{answerCount, range}} uppgifter i provet.","question_*_1_1":"Besvara en av punkterna {{questions, range}}.","question_*_2_2":"Besvara två av punkterna {{questions, range}}.","question_*_3_3":"Besvara tre av punkterna {{questions, range}}.","question_*_4_4":"Besvara fyra av punkterna {{questions, range}}.","question_*_5_5":"Besvara fem av punkterna {{questions, range}}.","question_*_6_6":"Besvara sex av punkterna {{questions, range}}.","question_*_7_7":"Besvara sju av punkterna {{questions, range}}.","question_*_8_8":"Besvara åtta av punkterna {{questions, range}}.","question_*_9_9":"Besvara nio av punkterna {{questions, range}}.","question_*_10_10":"Besvara tio av punkterna {{questions, range}}.","question_2_*_1":"Besvara antingen punkt {{questions, first}} eller {{questions, last}}.","question_*_*_*":"Besvara {{answerCount, range}} av punkterna {{questions, range}}.","section_*_1_1":"Besvara en uppgift.","section_*_2_2":"Besvara två uppgifter.","section_*_3_3":"Besvara tre uppgifter.","section_*_4_4":"Besvara fyra uppgifter.","section_*_5_5":"Besvara fem uppgifter.","section_*_6_6":"Besvara sex uppgifter.","section_*_7_7":"Besvara sju uppgifter.","section_*_8_8":"Besvara åtta uppgifter.","section_*_9_9":"Besvara nio uppgifter.","section_*_10_10":"Besvara tio uppgifter.","section_1_*_1":"Besvara uppgift {{questions, range}}.","section_2_*_1":"Besvara antingen uppgift {{questions, first}} eller {{questions, last}}.","section_*_*_*":"Besvara {{answerCount, range}} uppgifter.","toc-section_*_1_1":"Besvara en uppgift.","toc-section_*_2_2":"Besvara två uppgifter.","toc-section_*_3_3":"Besvara tre uppgifter.","toc-section_*_4_4":"Besvara fyra uppgifter.","toc-section_*_5_5":"Besvara fem uppgifter.","toc-section_*_6_6":"Besvara sex uppgifter.","toc-section_*_7_7":"Besvara sju uppgifter.","toc-section_*_8_8":"Besvara åtta uppgifter.","toc-section_*_9_9":"Besvara nio uppgifter.","toc-section_*_10_10":"Besvara tio uppgifter.","toc-section_1_*_1":"Besvara uppgift {{questions, range}}.","toc-section_2_*_1":"Besvara antingen uppgift {{questions, first}} eller {{questions, last}}.","toc-section_*_*_*":"Besvara {{answerCount, range}} uppgifter."},"answer-errors":{"screenshot-too-big":"Den skärmdump du tagit är för stor. Ta en ny skärmdump av en mindre del av skärmen och försök på nytt.","screenshot-byte-limit-reached":"Minnesutrymmet för skärmdumpar är fullt. (Du kan referera till bilder i materialet direkt utan skärmdumpar.)","screenshot-upload-failed":"Bifogandet av skärmdumpen misslyckades. Försök på nytt.","answer-too-long":"Svaret är för långt."},"screen-reader":{"answer-begin":"[Svaret börjar]","answer-end":"[Svaret avslutar]","correct-answer":"[Accepterat svar]"}},ur=lr(cr,["exam-total","material","external-material-title","section","references","toc-heading"]),dr={"exam-total":"Koe yhteensä","grading-total":"Yhteensä",material:"Aineisto",material_plural:"Aineistot","attachments-page-title":"Aineisto:","external-material-title":"Aineisto","grading-instructions-page-title":"Hyvän vastauksen piirteet:",section:"Osa {{displayNumber}}:",question:"Tehtävä {{displayNumber}}:",grade:"Arvosana",comment:"Kommentti",points:"{{count}} p.",recording:"Tallenne","audio-errors":{"already-accessed":"Olet jo toistanut tämän äänitteen. Päivitä sivu.","already-playing":"Kuuntele äänite ensin loppuun.","other-error":"Äänitteen toistaminen epäonnistui, pyydä apua valvojalta."},"audio-test":{instructions:"Koe sisältää kuullunymmärtämisen tehtäviä.",play:"Testaa äänitteiden kuuluvuus",volume:"Äänen voimakkuutta voit säätää ruudun oikeasta yläkulmasta."},"dropdown-answer":{label:"Valitse parhaiten sopiva vaihtoehto.",clear:"Poista valinta."},grading:{"pregrading-annotations":"Alustavan arvostelun merkinnät (opettaja)","censor-annotations":"Sensorin merkinnät","pregrading-abbrev":"alust.","inspection-grading-abbrev":"ov","round.1":"1.s","round.2":"2.s","round.3":"3.s",annotate:"Merkitse"},references:{heading:"Lähteet",source:"Lähde:",date:"Julkaistu:","reference-date":"Viitattu:",translator:"Käännös:","modified-by":"Muokkaus:"},cas:{forbidden:{infoText:"Saat estetyt laskinohjelmat käyttöön palautettuasi A-osan.",buttonText:"Palauta A-osa"},allowing:{infoText:"A-osan vastaukset lukitaan. Saat estetyt laskinohjelmat käyttöösi hetken kuluttua.",cancel:"Peruuta ({{count}} s)"},allowed:{infoText:"A-osa palautettu"}},"toc-heading":"Sisällys","answer-saved":"Tallennettu","too-many-answers":"Vastattu liiaan moneen tehtävään:","listen-times-remaining":"{{count}} kuuntelukerta jäljellä.","listen-times-remaining_plural":"{{count}} kuuntelukertaa jäljellä.","answer-length":"Vastauksen pituus: {{count}} merkki.","answer-length_plural":"Vastauksen pituus: {{count}} merkkiä.","answer-length-with-max-length":"Vastauksen pituus: {{count}} / {{maxLength}} merkkiä.","max-length-surplus":"Vastauksen enimmäispituus {{maxLength}} merkkiä ylittyy {{percentage}} %.","max-length-info":"Vastauksen pituus on enintään {{count}} merkkiä. Ylityksestä seuraa pistevähennys.","previous-answer-versions":"Aiemmat vastausluonnokset","zoom-in":"Suurenna kuva","end-of-exam":"Kokeen tehtävät loppuvat tähän.","answering-instructions":{"exam_*_1_1":"Vastaa kokeessa enintään yhteen tehtävään.","exam_*_2_2":"Vastaa kokeessa enintään kahteen tehtävään.","exam_*_3_3":"Vastaa kokeessa enintään kolmeen tehtävään.","exam_*_4_4":"Vastaa kokeessa enintään neljään tehtävään.","exam_*_5_5":"Vastaa kokeessa enintään viiteen tehtävään.","exam_*_6_6":"Vastaa kokeessa enintään kuuteen tehtävään.","exam_*_7_7":"Vastaa kokeessa enintään seitsemään tehtävään.","exam_*_8_8":"Vastaa kokeessa enintään kahdeksaan tehtävään.","exam_*_9_9":"Vastaa kokeessa enintään yhdeksään tehtävään.","exam_*_10_10":"Vastaa kokeessa enintään kymmeneen tehtävään.","exam_*_*_*":"Vastaa kokeessa enintään {{answerCount, range}} tehtävään.","question_*_1_1":"Vastaa yhteen kohdista {{questions, range}}.","question_*_2_2":"Vastaa kahteen kohdista {{questions, range}}.","question_*_3_3":"Vastaa kolmeen kohdista {{questions, range}}.","question_*_4_4":"Vastaa neljään kohdista {{questions, range}}.","question_*_5_5":"Vastaa viiteen kohdista {{questions, range}}.","question_*_6_6":"Vastaa kuuteen kohdista {{questions, range}}.","question_*_7_7":"Vastaa seitsemään kohdista {{questions, range}}.","question_*_8_8":"Vastaa kahdeksaan kohdista {{questions, range}}.","question_*_9_9":"Vastaa yhdeksään kohdista {{questions, range}}.","question_*_10_10":"Vastaa kymmeneen kohdista {{questions, range}}.","question_2_*_1":"Vastaa joko kohtaan {{questions, first}} tai {{questions, last}}.","question_*_*_*":"Vastaa {{answerCount, range}} kohdista {{questions, range}}.","section_*_1_1":"Vastaa yhteen tehtävään.","section_*_2_2":"Vastaa kahteen tehtävään.","section_*_3_3":"Vastaa kolmeen tehtävään.","section_*_4_4":"Vastaa neljään tehtävään.","section_*_5_5":"Vastaa viiteen tehtävään.","section_*_6_6":"Vastaa kuuteen tehtävään.","section_*_7_7":"Vastaa seitsemään tehtävään.","section_*_8_8":"Vastaa kahdeksaan tehtävään.","section_*_9_9":"Vastaa yhdeksään tehtävään.","section_*_10_10":"Vastaa kymmeneen tehtävään.","section_1_*_1":"Vastaa tehtävään {{questions, range}}.","section_2_*_1":"Vastaa joko tehtävään {{questions, first}} tai {{questions, last}}.","section_*_*_*":"Vastaa {{answerCount, range}} tehtävään.","toc-section_*_1_1":"Vastaa yhteen tehtävään.","toc-section_*_2_2":"Vastaa kahteen tehtävään.","toc-section_*_3_3":"Vastaa kolmeen tehtävään.","toc-section_*_4_4":"Vastaa neljään tehtävään.","toc-section_*_5_5":"Vastaa viiteen tehtävään.","toc-section_*_6_6":"Vastaa kuuteen tehtävään.","toc-section_*_7_7":"Vastaa seitsemään tehtävään.","toc-section_*_8_8":"Vastaa kahdeksaan tehtävään.","toc-section_*_9_9":"Vastaa yhdeksään tehtävään.","toc-section_*_10_10":"Vastaa kymmeneen tehtävään.","toc-section_1_*_1":"Vastaa tehtävään {{questions, range}}.","toc-section_2_*_1":"Vastaa joko tehtävään {{questions, first}} tai {{questions, last}}.","toc-section_*_*_*":"Vastaa {{answerCount, range}} tehtävään."},"answer-errors":{"screenshot-too-big":"Ottamasi kuvakaappaus on liian iso. Ota uusi kuvakaappaus pienemmästä osasta näyttöä ja yritä uudelleen.","screenshot-byte-limit-reached":"Kokeesi kuvakaappauksille varattu tila on täyttynyt. (Voit viitata aineistokuviin suoraan ilman kuvakaappausta.)","screenshot-upload-failed":"Kuvan liittäminen ei onnistunut. Kokeile uudestaan.","answer-too-long":"Vastaus on liian pitkä."},"screen-reader":{"answer-begin":"[Vastaus alkaa]","answer-end":"[Vastaus päättyy]","correct-answer":"[Hyväksytty vastaus]"}},fr=lr(dr,["exam-total","material","external-material-title","section","references","toc-heading"]),pr={"exam-total":"Total points for the exam",material:"Material","external-material-title":"Material",section:"Part {{displayNumber}}:",references:{heading:"Sources",source:"Source:",date:"Published:","reference-date":"Accessed:",translator:"Translation:","modified-by":"Adaptation:"},"toc-heading":"Contents"},hr={"exam-total":"Total des points",material:"Document",material_plural:"Documents","external-material-title":"Document",section:"Partie {{displayNumber}} :",references:{heading:"Sources",source:"Source :",date:"Publication le","reference-date":"Téléchargement le",translator:"Traduction :","modified-by":"Modifications :"},"toc-heading":"Sommaire"},gr={section:""},mr={"exam-total":"Puntuación total",material:"Material","external-material-title":"Material",section:"Parte {{displayNumber}}:",references:{heading:"Fuentes",source:"Fuente:",date:"Publicado:","reference-date":"Consultado:",translator:"Traducción:","modified-by":"Adaptado:"},"toc-heading":"Contenido"},yr={"exam-total":"Die Prüfung insgesamt",material:"Materialien","external-material-title":"Materialien",section:"Teil {{displayNumber}}:",references:{heading:"Quellen",source:"Quelle:",date:"Veröffentlicht:","reference-date":"Zugriff:",translator:"Übersetzung:","modified-by":"Bearbeitung:"},"toc-heading":"Inhalt"},vr={"exam-total":"Весь экзамен",material:"Материал","external-material-title":"Материал",section:"Часть {{displayNumber}}:",references:{heading:"Источники",source:"Источник",date:"Опубликовано","reference-date":"Дата обращения",translator:"Перевод","modified-by":"Адаптировано"},"toc-heading":"Содержание"},br={A_E:{"external-material-title":"Aineistot","answering-instructions":{"toc-section_*_1_1":"Valitse yksi aihe.","section_*_1_1":"Valitse yksi aihe."}},BA:ur,BB:ur,CA:fr,CB:fr,EA:pr,EC:pr,FA:hr,FC:hr,GC:{"exam-total":"Totalidade da pontuação",material:"Material","external-material-title":"Material",section:"Parte {{displayNumber}}:",references:{heading:"Fontes",source:"Fonte:",date:"Publicado:","reference-date":"Acedido:",translator:"Tradução:","modified-by":"Adaptação:"},"toc-heading":"Conteúdo"},I:{"exam-total":"Iskos ohtsis",material:"Amnâstuvah","external-material-title":"Amnâstuvah","attachments-page-title":"Amnâstuvah:",section:"Uási {{displayNumber}}:",points:"{{count}} č.",references:{source:"Käldee:",date:"Almostittum:","reference-date":"Čujottum:",translator:"Jurgâlus:","modified-by":"Heiviittâs:"},"answering-instructions":{"toc-section_*_1_1":"Fáádáh","section_*_1_1":"Valjii oovtâ fáádá."},"toc-heading":"Siskáldâs"},M:gr,N:gr,O_E:{"answering-instructions":{"toc-section_*_1_1":"Välj ett ämne.","section_*_1_1":"Välj ett ämne."}},SA:yr,SC:yr,PA:mr,PC:mr,TC:{"exam-total":"Punteggio complessivo",material:"Materiale","external-material-title":"Materiale",section:"Parte {{displayNumber}}:",references:{heading:"Fonti",source:"Fonte:",date:"Pubblicato:","reference-date":"Consultato:",translator:"Traduzione:","modified-by":"Adattamento:"},"toc-heading":"Contenuto"},VA:vr,VC:vr,Z:{"exam-total":"Iskkus oktiibuot",material:"Ávdnasat","external-material-title":"Ávdnasat","attachments-page-title":"Ávdnasat:",section:"Oassi {{displayNumber}}:",points:"{{count}} č.",references:{heading:"Gáldut",source:"Gáldu:",date:"Almmuhuvvon:","reference-date":"Vižžojuvvon:",translator:"Jorgalus","modified-by":"Heivehus:"},"answering-instructions":{"toc-section_*_1_1":"Fáttát","section_*_1_1":"Vállje ovtta fáttá."},"toc-heading":"Sisdoallu"}},Ir={"fi-FI":{translation:dr,...br},"sv-FI":{translation:cr,...br}};function xr(e,t,n){const r=t?t+(n?`_${n}`:""):"translation";return Ut.use({type:"postProcessor",name:"lowercase",process:(e,t,n)=>e.toLocaleLowerCase(n.lng)}).createInstance({compatibilityJSON:"v3",resources:Ir,lng:e,fallbackLng:"fi-FI",debug:!1,defaultNS:r,fallbackNS:"translation",interpolation:{escapeValue:!1,format:(e,t)=>{const n=e;switch(t){case"range":{const[e,t]=n;return null==e?t:null==t||e===t?e:`${e}–${t}`}case"first":return _t(n);case"last":return Zt(n);default:return e}}}},Gt)}function Mr(){const{i18n:e,t:n}=Qt(),r=(n,r)=>function(e,n,r){const i=e.t(n,r),o=e.options.defaultNS.toString(),a="translation"!==o&&o in br,s=a&&function(e,t,n){return Array.isArray(n)?n.some((n=>null!=e.getResource(e.language,t,n))):null!=e.getResource(e.language,t,n)}(e,o,n);return s||!a?i:t().createElement("span",{lang:e.language},i)}(e,n,r);return r.raw=n,{i18n:e,t:r}}const wr=(e,t)=>()=>{e.language!==t&&e.changeLanguage(t).then(Gt).catch(Gt)},Tr=new WeakMap;let Ar=0;const Cr=e=>t=>`${e}-${(e=>{const t=Tr.get(e);if(null!=t)return t;const n=++Ar;return Tr.set(e,n),n})(t)}`,Nr=e=>t=>`${e}-${t}`,Er="title",Sr="references-title",jr=Nr("section-title"),kr=Nr("question-title"),Dr=Cr("question-instruction"),Lr=Cr("answer-length-info"),Or=Cr("external-material-list-title"),Rr=Nr("toc-section-title"),Pr=Cr("answer-score"),zr=Cr("image-caption"),Ur=Cr("video-caption"),_r=Cr("audio-label"),Zr="toc-title";function Gr(){const e=decodeURIComponent(window.location.hash).slice(1);if(e){const n=document.getElementById(e);n&&((t=n).setAttribute("tabindex","-1"),t.style.outline="none",t.addEventListener("blur",(()=>{t.removeAttribute("tabindex"),t.style.outline=""}),{once:!0}),t.focus(),t.scrollIntoView())}var t;return window.addEventListener("hashchange",Gr),()=>window.removeEventListener("hashchange",Gr)}function Br(t){return(0,e.useState)(t)[0]}function Fr(e,t){const n=new URL(e,"http://example.com");me(t,((e,t)=>n[t]=e));const r=n.pathname+n.search+n.hash;return e.startsWith("/")?r:r.substr(1)}const Yr=({children:e,href:n,type:r})=>"link"===r?t().createElement("a",{href:n,className:"attachment-link e-nowrap",target:"attachments"},e):t().createElement("span",{className:"attachment-link e-nowrap"},e);function Wr(e){return e.displayName||e.name||"Component"}const Hr=(e,n)=>r=>{const i=i=>{const o=n(i);return t().createElement(e.Provider,{value:o},t().createElement(r,{...i}))};return i.displayName=`WithContext(${Wr(r)})`,i},Vr=t().createContext({});function qr(e){return Hr(Vr,(({attachmentsURL:e,resolveAttachment:t,doc:n})=>{const r=n.documentElement,i=Te(r,"date"),o=Te(r,"exam-lang"),a=Te(r,"lang")||o;return{attachmentsURL:e,date:i?new Date(i):void 0,dateTimeFormatter:new Intl.DateTimeFormat("fi-FI",{timeZone:"UTC"}),dayCode:Te(r,"day-code"),examCode:Te(r,"exam-code"),language:o,subjectLanguage:a,maxAnswers:Ae(r,"max-answers"),maxScore:Ae(r,"max-score"),sections:xe(r,"section"),resolveAttachment:t,root:r}}))(e)}const Qr=n=>t().memo((({element:r})=>{const i=r.getAttribute("ref"),{root:o}=(0,e.useContext)(Vr),{attachmentsURL:a}=(0,e.useContext)(Vr),{t:s}=Mr(),l=Ie(o,(e=>"attachment"===e.localName&&e.getAttribute("name")===i)).getAttribute("display-number"),c="short"===r.getAttribute("type"),u=Fr(a,{hash:l});return c?t().createElement(Yr,{href:u,type:n},l):t().createElement(t().Fragment,null,"(",t().createElement(Yr,{href:u,type:n},s("material",{postProcess:"lowercase"})," ",l),")")})),Jr=n=>t().memo((({element:r})=>{const{root:i,attachmentsURL:o}=(0,e.useContext)(Vr),{t:a}=Mr(),s=Ne(r,(e=>{const t=e.getAttribute("ref");return Ie(i,(e=>"attachment"===e.localName&&e.getAttribute("name")===t)).getAttribute("display-number")})),l=function(e,t){const n=[[]];let r;for(let i=0;i<e.length;i++){const o=e[i];if(r&&t(o,i)){const e=[o];n.push(e)}else n[n.length-1].push(o);r=o}return n}(s,((e,t)=>t>0&&!function(e,t){const n=e.length;return n===t.length&&(e.startsWith(t.slice(0,n-1))&&t.charCodeAt(n-1)-e.charCodeAt(n-1)==1)}(s[t-1],e))),c="short"===r.getAttribute("type"),u=Fr(o,{hash:s[0]}),d=l.map((e=>e.length>1?`${e[0]}–${e[e.length-1]}`:e[0])).join(", "),f=l[0].length;return c?t().createElement(Yr,{href:u,type:n},d):t().createElement(t().Fragment,null,"(",t().createElement(Yr,{href:u,type:n},a("material",{count:f,postProcess:"lowercase"})," ",d),")")})),Xr=t().createContext({}),Kr=Hr(Xr,(({element:e})=>{const t=null!=Me(e,"external-material"),n=e.getAttribute("name");return t?{displayNumber:e.getAttribute("display-number"),isExternal:t,name:n}:{displayNumber:null,isExternal:t,name:n}})),$r=t().memo(Kr((function({element:n,renderChildNodes:r}){const{displayNumber:i,isExternal:o}=(0,e.useContext)(Xr);return o?t().createElement("div",{id:i,className:"attachments-attachment e-mrg-0 e-mrg-t-8"},r(n)):null}))),ei=t().memo((function({element:n,renderChildNodes:r}){const{displayNumber:i}=(0,e.useContext)(Xr);return t().createElement("h3",null,i,ye,r(n))}));var ti=i(2779),ni=i.n(ti),ri=i(3100),ii=i(1110),oi=i(5156);let ai=function(e){e()};const si=()=>ai,li=(0,e.createContext)(null);function ci(){return(0,e.useContext)(li)}let ui=()=>{throw new Error("uSES not initialized!")};const di=(e,t)=>e===t;function fi(t=li){const n=t===li?ci:()=>(0,e.useContext)(t);return function(t,r=di){const{store:i,subscription:o,getServerState:a}=n(),s=ui(o.addNestedSub,i.getState,a||i.getState,t,r);return(0,e.useDebugValue)(s),s}}const pi=fi();i(3463),i(8570);const hi={notify(){},get:()=>[]};const gi="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?e.useLayoutEffect:e.useEffect;let mi=null;const yi=function({store:n,context:r,children:i,serverState:o}){const a=(0,e.useMemo)((()=>{const e=function(e,t){let n,r=hi;function i(){a.onStateChange&&a.onStateChange()}function o(){n||(n=t?t.addNestedSub(i):e.subscribe(i),r=function(){const e=si();let t=null,n=null;return{clear(){t=null,n=null},notify(){e((()=>{let e=t;for(;e;)e.callback(),e=e.next}))},get(){let e=[],n=t;for(;n;)e.push(n),n=n.next;return e},subscribe(e){let r=!0,i=n={callback:e,next:null,prev:n};return i.prev?i.prev.next=i:t=i,function(){r&&null!==t&&(r=!1,i.next?i.next.prev=i.prev:n=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}())}const a={addNestedSub:function(e){return o(),r.subscribe(e)},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:i,isSubscribed:function(){return Boolean(n)},trySubscribe:o,tryUnsubscribe:function(){n&&(n(),n=void 0,r.clear(),r=hi)},getListeners:()=>r};return a}(n);return{store:n,subscription:e,getServerState:o?()=>o:void 0}}),[n,o]),s=(0,e.useMemo)((()=>n.getState()),[n]);gi((()=>{const{subscription:e}=a;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),s!==n.getState()&&e.notifyNestedSubs(),()=>{e.tryUnsubscribe(),e.onStateChange=void 0}}),[a,s]);const l=r||li;return t().createElement(l.Provider,{value:a},i)};function vi(t=li){const n=t===li?ci:()=>(0,e.useContext)(t);return function(){const{store:e}=n();return e}}const bi=vi();function Ii(e=li){const t=e===li?bi:vi(e);return function(){return t().dispatch}}const xi=Ii();function Mi(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function wi(e,t){if(Mi(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r=0;r<n.length;r++)if(!Object.prototype.hasOwnProperty.call(t,n[r])||!Mi(e[n[r]],t[n[r]]))return!1;return!0}var Ti,Ai;Ti=ii.useSyncExternalStoreWithSelector,ui=Ti,(e=>{mi=e})(ri.useSyncExternalStore),Ai=oi.unstable_batchedUpdates,ai=Ai;const Ci=function(e,t,n){var r=null==e?void 0:Fn(e,t);return void 0===r?n:r},Ni=(e,t)=>n=>{const{nowPlaying:r}=n.audio;return null==r?"stopped":r.audio.restrictedAudioId===t&&r.audio.src===e?"playing":"other-playing"},Ei=(e,t)=>n=>n.audio.errors[null!=t?t:e],Si=e=>t=>Ci(t.audio.playbackTimes,e,0),ji=(e,t)=>n=>t-Si(e)(n),ki=e=>{const{serverQuestionIds:t,savedQuestionIds:n,answersById:r}=e.answers;return 0===t.size?"initial":t.size!==n.size||function(e,t){for(const n in t)if(!e.has(Number(n)))return!0;return!1}(t,r)?"saving":"saved"};var Di={prefix:"fas",iconName:"chevron-down",icon:[448,512,[],"f078","M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z"]},Li={prefix:"fas",iconName:"chevron-up",icon:[448,512,[],"f077","M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z"]},Oi={prefix:"fas",iconName:"exclamation-triangle",icon:[576,512,[],"f071","M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"]},Ri={prefix:"fas",iconName:"eye",icon:[576,512,[],"f06e","M572.52 241.4C518.29 135.59 410.93 64 288 64S57.68 135.64 3.48 241.41a32.35 32.35 0 0 0 0 29.19C57.71 376.41 165.07 448 288 448s230.32-71.64 284.52-177.41a32.35 32.35 0 0 0 0-29.19zM288 400a144 144 0 1 1 144-144 143.93 143.93 0 0 1-144 144zm0-240a95.31 95.31 0 0 0-25.31 3.79 47.85 47.85 0 0 1-66.9 66.9A95.78 95.78 0 1 0 288 160z"]},Pi={prefix:"fas",iconName:"eye-slash",icon:[640,512,[],"f070","M320 400c-75.85 0-137.25-58.71-142.9-133.11L72.2 185.82c-13.79 17.3-26.48 35.59-36.72 55.59a32.35 32.35 0 0 0 0 29.19C89.71 376.41 197.07 448 320 448c26.91 0 52.87-4 77.89-10.46L346 397.39a144.13 144.13 0 0 1-26 2.61zm313.82 58.1l-110.55-85.44a331.25 331.25 0 0 0 81.25-102.07 32.35 32.35 0 0 0 0-29.19C550.29 135.59 442.93 64 320 64a308.15 308.15 0 0 0-147.32 37.7L45.46 3.37A16 16 0 0 0 23 6.18L3.37 31.45A16 16 0 0 0 6.18 53.9l588.36 454.73a16 16 0 0 0 22.46-2.81l19.64-25.27a16 16 0 0 0-2.82-22.45zm-183.72-142l-39.3-30.38A94.75 94.75 0 0 0 416 256a94.76 94.76 0 0 0-121.31-92.21A47.65 47.65 0 0 1 304 192a46.64 46.64 0 0 1-1.54 10l-73.61-56.89A142.31 142.31 0 0 1 320 112a143.92 143.92 0 0 1 144 144c0 21.63-5.29 41.79-13.9 60.11z"]},zi={prefix:"fas",iconName:"info-circle",icon:[512,512,[],"f05a","M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"]},Ui={prefix:"fas",iconName:"play",icon:[448,512,[],"f04b","M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z"]};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},_i(e)}function Zi(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Gi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Gi(e,t,n[t])}))}return e}function Fi(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Yi=function(){},Wi={},Hi={},Vi={mark:Yi,measure:Yi};try{"undefined"!=typeof window&&(Wi=window),"undefined"!=typeof document&&(Hi=document),"undefined"!=typeof MutationObserver&&MutationObserver,"undefined"!=typeof performance&&(Vi=performance)}catch(Wf){}var qi=(Wi.navigator||{}).userAgent,Qi=void 0===qi?"":qi,Ji=Wi,Xi=Hi,Ki=Vi,$i=(Ji.document,!!Xi.documentElement&&!!Xi.head&&"function"==typeof Xi.addEventListener&&"function"==typeof Xi.createElement),eo=(~Qi.indexOf("MSIE")||Qi.indexOf("Trident/"),"___FONT_AWESOME___"),to="fa",no="svg-inline--fa",ro=(function(){try{return!0}catch(e){return!1}}(),[1,2,3,4,5,6,7,8,9,10]),io=ro.concat([11,12,13,14,15,16,17,18,19,20]),oo={GROUP:"group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},ao=(["xs","sm","lg","fw","ul","li","border","pull-left","pull-right","spin","pulse","rotate-90","rotate-180","rotate-270","flip-horizontal","flip-vertical","flip-both","stack","stack-1x","stack-2x","inverse","layers","layers-text","layers-counter",oo.GROUP,oo.SWAP_OPACITY,oo.PRIMARY,oo.SECONDARY].concat(ro.map((function(e){return"".concat(e,"x")}))).concat(io.map((function(e){return"w-".concat(e)}))),Ji.FontAwesomeConfig||{});Xi&&"function"==typeof Xi.querySelector&&[["data-family-prefix","familyPrefix"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(e){var t=Fi(e,2),n=t[0],r=t[1],i=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=Xi.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=i&&(ao[r]=i)}));var so=Bi({},{familyPrefix:to,replacementClass:no,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},ao);so.autoReplaceSvg||(so.observeMutations=!1);var lo=Bi({},so);Ji.FontAwesomeConfig=lo;var co=Ji||{};co[eo]||(co[eo]={}),co[eo].styles||(co[eo].styles={}),co[eo].hooks||(co[eo].hooks={}),co[eo].shims||(co[eo].shims=[]);var uo=co[eo],fo=[];$i&&((Xi.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Xi.readyState)||Xi.addEventListener("DOMContentLoaded",(function e(){Xi.removeEventListener("DOMContentLoaded",e),fo.map((function(e){return e()}))})));var po,ho="pending",go="settled",mo="fulfilled",yo="rejected",vo=function(){},bo=void 0!==i.g&&void 0!==i.g.process&&"function"==typeof i.g.process.emit,Io="undefined"==typeof setImmediate?setTimeout:setImmediate,xo=[];function Mo(){for(var e=0;e<xo.length;e++)xo[e][0](xo[e][1]);xo=[],po=!1}function wo(e,t){xo.push([e,t]),po||(po=!0,Io(Mo,0))}function To(e){var t=e.owner,n=t._state,r=t._data,i=e[n],o=e.then;if("function"==typeof i){n=mo;try{r=i(r)}catch(e){Eo(o,e)}}Ao(o,r)||(n===mo&&Co(o,r),n===yo&&Eo(o,r))}function Ao(e,t){var n;try{if(e===t)throw new TypeError("A promises callback cannot return that same promise.");if(t&&("function"==typeof t||"object"===_i(t))){var r=t.then;if("function"==typeof r)return r.call(t,(function(r){n||(n=!0,t===r?No(e,r):Co(e,r))}),(function(t){n||(n=!0,Eo(e,t))})),!0}}catch(t){return n||Eo(e,t),!0}return!1}function Co(e,t){e!==t&&Ao(e,t)||No(e,t)}function No(e,t){e._state===ho&&(e._state=go,e._data=t,wo(jo,e))}function Eo(e,t){e._state===ho&&(e._state=go,e._data=t,wo(ko,e))}function So(e){e._then=e._then.forEach(To)}function jo(e){e._state=mo,So(e)}function ko(e){e._state=yo,So(e),!e._handled&&bo&&i.g.process.emit("unhandledRejection",e._data,e)}function Do(e){i.g.process.emit("rejectionHandled",e)}function Lo(e){if("function"!=typeof e)throw new TypeError("Promise resolver "+e+" is not a function");if(this instanceof Lo==0)throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this._then=[],function(e,t){function n(e){Eo(t,e)}try{e((function(e){Co(t,e)}),n)}catch(e){n(e)}}(e,this)}Lo.prototype={constructor:Lo,_state:ho,_then:null,_data:void 0,_handled:!1,then:function(e,t){var n={owner:this,then:new this.constructor(vo),fulfilled:e,rejected:t};return!t&&!e||this._handled||(this._handled=!0,this._state===yo&&bo&&wo(Do,this)),this._state===mo||this._state===yo?wo(To,n):this._then.push(n),n.then},catch:function(e){return this.then(null,e)}},Lo.all=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.all().");return new Lo((function(t,n){var r=[],i=0;function o(e){return i++,function(n){r[e]=n,--i||t(r)}}for(var a,s=0;s<e.length;s++)(a=e[s])&&"function"==typeof a.then?a.then(o(s),n):r[s]=a;i||t(r)}))},Lo.race=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.race().");return new Lo((function(t,n){for(var r,i=0;i<e.length;i++)(r=e[i])&&"function"==typeof r.then?r.then(t,n):t(r)}))},Lo.resolve=function(e){return e&&"object"===_i(e)&&e.constructor===Lo?e:new Lo((function(t){t(e)}))},Lo.reject=function(e){return new Lo((function(t,n){n(e)}))};var Oo={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};var Ro="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Po(){for(var e=12,t="";e-- >0;)t+=Ro[62*Math.random()|0];return t}function zo(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Uo(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n],";")}),"")}function _o(e){return e.size!==Oo.size||e.x!==Oo.x||e.y!==Oo.y||e.rotate!==Oo.rotate||e.flipX||e.flipY}function Zo(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,i={transform:"translate(".concat(n/2," 256)")},o="translate(".concat(32*t.x,", ").concat(32*t.y,") "),a="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),s="rotate(".concat(t.rotate," 0 0)");return{outer:i,inner:{transform:"".concat(o," ").concat(a," ").concat(s)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}var Go={x:0,y:0,width:"100%",height:"100%"};function Bo(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}var Fo=(lo.measurePerformance&&Ki&&Ki.mark&&Ki.measure,function(e,t,n,r){var i,o,a,s=Object.keys(e),l=s.length,c=void 0!==r?function(e,t){return function(n,r,i,o){return e.call(t,n,r,i,o)}}(t,r):t;for(void 0===n?(i=1,a=e[s[0]]):(i=0,a=n);i<l;i++)a=c(a,e[o=s[i]],o,e);return a});function Yo(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,r=void 0!==n&&n,i=Object.keys(t).reduce((function(e,n){var r=t[n];return r.icon?e[r.iconName]=r.icon:e[n]=r,e}),{});"function"!=typeof uo.hooks.addPack||r?uo.styles[e]=Bi({},uo.styles[e]||{},i):uo.hooks.addPack(e,i),"fas"===e&&Yo("fa",t)}var Wo=uo.styles,Ho=uo.shims,Vo=function(){var e=function(e){return Fo(Wo,(function(t,n,r){return t[r]=Fo(n,e,{}),t}),{})};e((function(e,t,n){return t[3]&&(e[t[3]]=n),e})),e((function(e,t,n){var r=t[2];return e[n]=n,r.forEach((function(t){e[t]=n})),e}));var t="far"in Wo;Fo(Ho,(function(e,n){var r=n[0],i=n[1],o=n[2];return"far"!==i||t||(i="fas"),e[r]={prefix:i,iconName:o},e}),{})};function qo(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}function Qo(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,i=e.children,o=void 0===i?[]:i;return"string"==typeof e?zo(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(zo(e[n]),'" ')}),"").trim()}(r),">").concat(o.map(Qo).join(""),"</").concat(t,">")}Vo(),uo.styles;function Jo(e){this.name="MissingIcon",this.message=e||"Icon unavailable",this.stack=(new Error).stack}Jo.prototype=Object.create(Error.prototype),Jo.prototype.constructor=Jo;var Xo={fill:"currentColor"},Ko={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},$o=(Bi({},Xo,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"}),Bi({},Ko,{attributeName:"opacity"}));function ea(e){var t=e[0],n=e[1],r=Fi(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(lo.familyPrefix,"-").concat(oo.GROUP)},children:[{tag:"path",attributes:{class:"".concat(lo.familyPrefix,"-").concat(oo.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(lo.familyPrefix,"-").concat(oo.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}Bi({},Xo,{cx:"256",cy:"364",r:"28"}),Bi({},Ko,{attributeName:"r",values:"28;14;28;28;14;28;"}),Bi({},$o,{values:"1;0;1;1;0;1;"}),Bi({},Xo,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),Bi({},$o,{values:"1;0;0;0;0;1;"}),Bi({},Xo,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),Bi({},$o,{values:"0;0;1;1;0;0;"}),uo.styles,uo.styles;var ta='svg:not(:root).svg-inline--fa {\n overflow: visible;\n}\n\n.svg-inline--fa {\n display: inline-block;\n font-size: inherit;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-border {\n height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n width: 2em;\n}\n.svg-inline--fa.fa-fw {\n width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: #ff253a;\n border-radius: 1em;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #fff;\n height: 1.5em;\n line-height: 1;\n max-width: 5em;\n min-width: 1.5em;\n overflow: hidden;\n padding: 0.25em;\n right: 0;\n text-overflow: ellipsis;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: 0;\n right: 0;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: 0;\n left: 0;\n right: auto;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n right: 0;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: 0;\n right: auto;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-lg {\n font-size: 1.3333333333em;\n line-height: 0.75em;\n vertical-align: -0.0667em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: 2.5em;\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: -2em;\n position: absolute;\n text-align: center;\n width: 2em;\n line-height: inherit;\n}\n\n.fa-border {\n border: solid 0.08em #eee;\n border-radius: 0.1em;\n padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n float: left;\n}\n\n.fa-pull-right {\n float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n margin-left: 0.3em;\n}\n\n.fa-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n -webkit-animation: fa-spin 1s infinite steps(8);\n animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n -webkit-filter: none;\n filter: none;\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: #fff;\n}\n\n.sr-only {\n border: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n clip: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n position: static;\n width: auto;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse {\n color: #fff;\n}';var na=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var t,n;return t=e,n=[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n.reduce(this._pullDefinitions,{});Object.keys(i).forEach((function(t){e.definitions[t]=Bi({},e.definitions[t]||{},i[t]),Yo(t,i[t]),Vo()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map((function(t){var r=n[t],i=r.prefix,o=r.iconName,a=r.icon;e[i]||(e[i]={}),e[i][o]=a})),e}}],n&&Zi(t.prototype,n),e}();function ra(){lo.autoAddCss&&!sa&&(function(e){if(e&&$i){var t=Xi.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=Xi.head.childNodes,r=null,i=n.length-1;i>-1;i--){var o=n[i],a=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(r=o)}Xi.head.insertBefore(t,r)}}(function(){var e=to,t=no,n=lo.familyPrefix,r=lo.replacementClass,i=ta;if(n!==e||r!==t){var o=new RegExp("\\.".concat(e,"\\-"),"g"),a=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(t),"g");i=i.replace(o,".".concat(n,"-")).replace(a,"--".concat(n,"-")).replace(s,".".concat(r))}return i}()),sa=!0)}function ia(e){var t=e.prefix,n=void 0===t?"fa":t,r=e.iconName;if(r)return qo(aa.definitions,n,r)||qo(uo.styles,n,r)}var oa,aa=new na,sa=!1,la={transform:function(e){return function(e){var t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e?e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),r=n[0],i=n.slice(1).join("-");if(r&&"h"===i)return e.flipX=!0,e;if(r&&"v"===i)return e.flipY=!0,e;if(i=parseFloat(i),isNaN(i))return e;switch(r){case"grow":e.size=e.size+i;break;case"shrink":e.size=e.size-i;break;case"left":e.x=e.x-i;break;case"right":e.x=e.x+i;break;case"up":e.y=e.y-i;break;case"down":e.y=e.y+i;break;case"rotate":e.rotate=e.rotate+i}return e}),t):t}(e)}},ca=(oa=function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.transform,o=void 0===i?Oo:i,a=r.symbol,s=void 0!==a&&a,l=r.mask,c=void 0===l?null:l,u=r.maskId,d=void 0===u?null:u,f=r.title,p=void 0===f?null:f,h=r.titleId,g=void 0===h?null:h,m=r.classes,y=void 0===m?[]:m,v=r.attributes,b=void 0===v?{}:v,I=r.styles,x=void 0===I?{}:I;if(e){var M=e.prefix,w=e.iconName,T=e.icon;return t=Bi({type:"icon"},e),n=function(){return ra(),lo.autoA11y&&(p?b["aria-labelledby"]="".concat(lo.replacementClass,"-title-").concat(g||Po()):(b["aria-hidden"]="true",b.focusable="false")),function(e){var t=e.icons,n=t.main,r=t.mask,i=e.prefix,o=e.iconName,a=e.transform,s=e.symbol,l=e.title,c=e.maskId,u=e.titleId,d=e.extra,f=e.watchable,p=void 0!==f&&f,h=r.found?r:n,g=h.width,m=h.height,y="fak"===i,v=y?"":"fa-w-".concat(Math.ceil(g/m*16)),b=[lo.replacementClass,o?"".concat(lo.familyPrefix,"-").concat(o):"",v].filter((function(e){return-1===d.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(d.classes).join(" "),I={children:[],attributes:Bi({},d.attributes,{"data-prefix":i,"data-icon":o,class:b,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(g," ").concat(m)})},x=y&&!~d.classes.indexOf("fa-fw")?{width:"".concat(g/m*16*.0625,"em")}:{};p&&(I.attributes["data-fa-i2svg"]=""),l&&I.children.push({tag:"title",attributes:{id:I.attributes["aria-labelledby"]||"title-".concat(u||Po())},children:[l]});var M=Bi({},I,{prefix:i,iconName:o,main:n,mask:r,maskId:c,transform:a,symbol:s,styles:Bi({},x,d.styles)}),w=r.found&&n.found?function(e){var t,n=e.children,r=e.attributes,i=e.main,o=e.mask,a=e.maskId,s=e.transform,l=i.width,c=i.icon,u=o.width,d=o.icon,f=Zo({transform:s,containerWidth:u,iconWidth:l}),p={tag:"rect",attributes:Bi({},Go,{fill:"white"})},h=c.children?{children:c.children.map(Bo)}:{},g={tag:"g",attributes:Bi({},f.inner),children:[Bo(Bi({tag:c.tag,attributes:Bi({},c.attributes,f.path)},h))]},m={tag:"g",attributes:Bi({},f.outer),children:[g]},y="mask-".concat(a||Po()),v="clip-".concat(a||Po()),b={tag:"mask",attributes:Bi({},Go,{id:y,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[p,m]},I={tag:"defs",children:[{tag:"clipPath",attributes:{id:v},children:(t=d,"g"===t.tag?t.children:[t])},b]};return n.push(I,{tag:"rect",attributes:Bi({fill:"currentColor","clip-path":"url(#".concat(v,")"),mask:"url(#".concat(y,")")},Go)}),{children:n,attributes:r}}(M):function(e){var t=e.children,n=e.attributes,r=e.main,i=e.transform,o=Uo(e.styles);if(o.length>0&&(n.style=o),_o(i)){var a=Zo({transform:i,containerWidth:r.width,iconWidth:r.width});t.push({tag:"g",attributes:Bi({},a.outer),children:[{tag:"g",attributes:Bi({},a.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:Bi({},r.icon.attributes,a.path)}]}]})}else t.push(r.icon);return{children:t,attributes:n}}(M),T=w.children,A=w.attributes;return M.children=T,M.attributes=A,s?function(e){var t=e.prefix,n=e.iconName,r=e.children,i=e.attributes,o=e.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Bi({},i,{id:!0===o?"".concat(t,"-").concat(lo.familyPrefix,"-").concat(n):o}),children:r}]}]}(M):function(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,o=e.styles,a=e.transform;if(_o(a)&&n.found&&!r.found){var s={x:n.width/n.height/2,y:.5};i.style=Uo(Bi({},o,{"transform-origin":"".concat(s.x+a.x/16,"em ").concat(s.y+a.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}(M)}({icons:{main:ea(T),mask:c?ea(c.icon):{found:!1,width:null,height:null,icon:{}}},prefix:M,iconName:w,transform:Bi({},Oo,o),symbol:s,title:p,maskId:d,titleId:g,extra:{attributes:b,styles:x,classes:y}})},Object.defineProperty(t,"abstract",{get:n}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map((function(e){return Qo(e)}))}}),Object.defineProperty(t,"node",{get:function(){if($i){var e=Xi.createElement("div");return e.innerHTML=t.html,e.children}}}),t}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(e||{}).icon?e:ia(e||{}),r=t.mask;return r&&(r=(r||{}).icon?r:ia(r||{})),oa(n,Bi({},t,{mask:r}))}),ua=i(3980),da=i.n(ua);function fa(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 pa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fa(Object(n),!0).forEach((function(t){ga(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fa(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ha(e){return ha="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ha(e)}function ga(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ma(e){return function(e){if(Array.isArray(e))return ya(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 ya(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)?ya(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 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){return t=e,(t-=0)==t?e:(e=e.replace(/[\-_\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""}))).substr(0,1).toLowerCase()+e.substr(1);var t}var ba=["style"],Ia=!1;try{Ia=!0}catch(Wf){}function xa(e){return e&&"object"===ha(e)&&e.prefix&&e.iconName&&e.icon?e:la.icon?la.icon(e):null===e?null:e&&"object"===ha(e)&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:"fas",iconName:e}:void 0}function Ma(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?ga({},e,t):{}}var wa=t().forwardRef((function(e,t){var n=e.icon,r=e.mask,i=e.symbol,o=e.className,a=e.title,s=e.titleId,l=e.maskId,c=xa(n),u=Ma("classes",[].concat(ma(function(e){var t,n=e.beat,r=e.fade,i=e.beatFade,o=e.bounce,a=e.shake,s=e.flash,l=e.spin,c=e.spinPulse,u=e.spinReverse,d=e.pulse,f=e.fixedWidth,p=e.inverse,h=e.border,g=e.listItem,m=e.flip,y=e.size,v=e.rotation,b=e.pull,I=(ga(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":i,"fa-bounce":o,"fa-shake":a,"fa-flash":s,"fa-spin":l,"fa-spin-reverse":u,"fa-spin-pulse":c,"fa-pulse":d,"fa-fw":f,"fa-inverse":p,"fa-border":h,"fa-li":g,"fa-flip":!0===m,"fa-flip-horizontal":"horizontal"===m||"both"===m,"fa-flip-vertical":"vertical"===m||"both"===m},"fa-".concat(y),null!=y),ga(t,"fa-rotate-".concat(v),null!=v&&0!==v),ga(t,"fa-pull-".concat(b),null!=b),ga(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(I).map((function(e){return I[e]?e:null})).filter((function(e){return e}))}(e)),ma(o.split(" ")))),d=Ma("transform","string"==typeof e.transform?la.transform(e.transform):e.transform),f=Ma("mask",xa(r)),p=ca(c,pa(pa(pa(pa({},u),d),f),{},{symbol:i,title:a,titleId:s,maskId:l}));if(!p)return function(){var e;!Ia&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",c),null;var h=p.abstract,g={ref:t};return Object.keys(e).forEach((function(t){wa.defaultProps.hasOwnProperty(t)||(g[t]=e[t])})),Ta(h[0],g)}));wa.displayName="FontAwesomeIcon",wa.propTypes={beat:da().bool,border:da().bool,beatFade:da().bool,bounce:da().bool,className:da().string,fade:da().bool,flash:da().bool,mask:da().oneOfType([da().object,da().array,da().string]),maskId:da().string,fixedWidth:da().bool,inverse:da().bool,flip:da().oneOf([!0,!1,"horizontal","vertical","both"]),icon:da().oneOfType([da().object,da().array,da().string]),listItem:da().bool,pull:da().oneOf(["right","left"]),pulse:da().bool,rotation:da().oneOf([0,90,180,270]),shake:da().bool,size:da().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:da().bool,spinPulse:da().bool,spinReverse:da().bool,symbol:da().oneOfType([da().bool,da().string]),title:da().string,titleId:da().string,transform:da().oneOfType([da().string,da().object]),swapOpacity:da().bool},wa.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var Ta=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var i=(n.children||[]).map((function(n){return e(t,n)})),o=Object.keys(n.attributes||{}).reduce((function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=r.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),i=va(t.slice(0,r)),o=t.slice(r+1).trim();return i.startsWith("webkit")?e[(n=i,n.charAt(0).toUpperCase()+n.slice(1))]=o:e[i]=o,e}),{});break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[va(t)]=r}return e}),{attrs:{}}),a=r.style,s=void 0===a?{}:a,l=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(r,ba);return o.attrs.style=pa(pa({},o.attrs.style),s),t.apply(void 0,[n.tag,pa(pa({},o.attrs),l)].concat(ma(i)))}.bind(null,t().createElement);const Aa=!("undefined"==typeof window||!window.document||!window.document.createElement);var Ca=(new Date).getTime(),Na=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-Ca)),r=setTimeout(e,n);return Ca=t,r},Ea=function(e,t){return e+(e?t[0].toUpperCase()+t.substr(1):t)+"AnimationFrame"};Aa&&["","webkit","moz","o","ms"].some((function(e){var t=Ea(e,"request");return t in window&&(Ea(e,"cancel"),Na=function(e){return window[t](e)}),!!Na}));var Sa=Na;function ja(e,t){e.classList?e.classList.add(t):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(e,t)||("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function ka(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function Da(e,t){e.classList?e.classList.remove(t):"string"==typeof e.className?e.className=ka(e.className,t):e.setAttribute("class",ka(e.className&&e.className.baseVal||"",t))}var La=/([A-Z])/g,Oa=/^ms-/;function Ra(e){return function(e){return e.replace(La,"-$1").toLowerCase()}(e).replace(Oa,"-ms-")}var Pa=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;const za=function(e,t){var n="",r="";if("string"==typeof t)return e.style.getPropertyValue(Ra(t))||function(e,t){return function(e){var t=function(e){return e&&e.ownerDocument||document}(e);return t&&t.defaultView||window}(e).getComputedStyle(e,void 0)}(e).getPropertyValue(Ra(t));Object.keys(t).forEach((function(i){var o=t[i];o||0===o?function(e){return!(!e||!Pa.test(e))}(i)?r+=i+"("+o+") ":n+=Ra(i)+": "+o+";":e.style.removeProperty(Ra(i))})),r&&(n+="transform: "+r+";"),e.style.cssText+=";"+n};var Ua=!1,_a=!1;try{var Za={get passive(){return Ua=!0},get once(){return _a=Ua=!0}};Aa&&(window.addEventListener("test",Za,Za),window.removeEventListener("test",Za,!0))}catch(Wf){}const Ga=function(e,t,n,r){return function(e,t,n,r){if(r&&"boolean"!=typeof r&&!_a){var i=r.once,o=r.capture,a=n;!_a&&i&&(a=n.__once||function e(r){this.removeEventListener(t,e,o),n.call(this,r)},n.__once=a),e.addEventListener(t,a,Ua?r:o)}e.addEventListener(t,n,r)}(e,t,n,r),function(){!function(e,t,n,r){var i=r&&"boolean"!=typeof r?r.capture:r;e.removeEventListener(t,n,i),n.__once&&e.removeEventListener(t,n.__once,i)}(e,t,n,r)}};function Ba(e,t,n,r){var i,o;null==n&&(o=-1===(i=za(e,"transitionDuration")||"").indexOf("ms")?1e3:1,n=parseFloat(i)*o||0);var a=function(e,t,n){void 0===n&&(n=5);var r=!1,i=setTimeout((function(){r||function(e){var t=document.createEvent("HTMLEvents");t.initEvent("transitionend",!0,!0),e.dispatchEvent(t)}(e)}),t+n),o=Ga(e,"transitionend",(function(){r=!0}),{once:!0});return function(){clearTimeout(i),o()}}(e,n,r),s=Ga(e,"transitionend",t);return function(){a(),s()}}function Fa(e){var t="transition"+e+"Timeout",n="transition"+e;return function(e){if(e[n]){if(!e[t])return new Error(t+" wasn't supplied to CSSTransitionGroup: this can cause unreliable animations and won't be supported in a future version of React. See https://fb.me/react-animation-transition-group-timeout for more information.");if("number"!=typeof e[t])return new Error(t+" must be a number (in milliseconds)")}return null}}var Ya=da().oneOfType([da().string,da().shape({enter:da().string,leave:da().string,active:da().string,height:da().string}),da().shape({enter:da().string,enterActive:da().string,leave:da().string,leaveActive:da().string,appear:da().string,appearActive:da().string,height:da().string,heightActive:da().string})]);function Wa(e){return Wa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Wa(e)}function Ha(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 Va(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function qa(e,t){return qa=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},qa(e,t)}function Qa(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ja(e){return Ja=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Ja(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}var Ka=[];Ba&&Ka.push(Ba);var $a={children:da().node,name:Ya.isRequired,appear:da().bool,enter:da().bool,leave:da().bool,appearTimeout:da().number,enterTimeout:da().number,leaveTimeout:da().number},es=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qa(e,t)}(s,e);var n,r,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Ja(i);if(o){var n=Ja(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){return!t||"object"!==Wa(t)&&"function"!=typeof t?Qa(e):t}(this,e)});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),Xa(Qa(t=a.call(this,e)),"componentWillAppear",(function(e){t.props.appear?t.transition("appear",e,t.props.appearTimeout):e()})),Xa(Qa(t),"componentWillEnter",(function(e){t.props.enter?t.transition("enter",e,t.props.enterTimeout):e()})),Xa(Qa(t),"componentWillLeave",(function(e){t.props.leave?t.transition("leave",e,t.props.leaveTimeout):e()})),t.classNameAndNodeQueue=[],t.transitionTimeouts=[],t}return n=s,r=[{key:"componentWillUnmount",value:function(){this.unmounted=!0,this.timeout&&clearTimeout(this.timeout),this.transitionTimeouts.forEach((function(e){clearTimeout(e)})),this.classNameAndNodeQueue.length=0}},{key:"transition",value:function(e,t,n){var r=(0,oi.findDOMNode)(this);if(r){var i,o=this.props.name[e]||this.props.name+"-"+e,a=this.props.name[e+"Active"]||o+"-active",s=null;ja(r,o),this.queueClassAndNode(a,r);var l=function(e){e&&e.target!==r||(clearTimeout(s),i&&i(),Da(r,o),Da(r,a),i&&i(),t&&t())};n?(s=setTimeout(l,n),this.transitionTimeouts.push(s)):Ba&&(i=function(e,t){return Ka.length?Ka.forEach((function(n){return e.addEventListener(n,t,!1)})):setTimeout(t,0),function(){Ka.length&&Ka.forEach((function(n){return e.removeEventListener(n,t,!1)}))}}(r,l))}else t&&t()}},{key:"queueClassAndNode",value:function(e,t){var n=this;this.classNameAndNodeQueue.push({className:e,node:t}),this.rafHandle||(this.rafHandle=Sa((function(){return n.flushClassNameAndNodeQueueOnNextFrame()})))}},{key:"flushClassNameAndNodeQueueOnNextFrame",value:function(){var e=this;this.rafHandle=Sa((function(){return e.flushClassNameAndNodeQueue()}))}},{key:"flushClassNameAndNodeQueue",value:function(){this.unmounted||this.classNameAndNodeQueue.forEach((function(e){e.node.scrollTop,ja(e.node,e.className)})),this.classNameAndNodeQueue.length=0,this.rafHandle=null}},{key:"render",value:function(){var e=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ha(Object(n),!0).forEach((function(t){Xa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ha(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},this.props);return delete e.name,delete e.appear,delete e.enter,delete e.leave,delete e.appearTimeout,delete e.enterTimeout,delete e.leaveTimeout,delete e.children,t().cloneElement(t().Children.only(this.props.children),e)}}],r&&Va(n.prototype,r),s}(t().Component);Xa(es,"displayName","CSSTransitionGroupChild"),es.propTypes=$a;const ts=es;function ns(e){return ns="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ns(e)}function rs(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 is(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rs(Object(n),!0).forEach((function(t){cs(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rs(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function os(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function as(e,t){return as=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},as(e,t)}function ss(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ls(e){return ls=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ls(e)}function cs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var us=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&as(e,t)}(s,e);var n,r,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=ls(i);if(o){var n=ls(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){return!t||"object"!==ns(t)&&"function"!=typeof t?ss(e):t}(this,e)});function s(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),cs(ss(n=a.call(this,e)),"handleDoneAppearing",(function(e){delete n.transitioningKeys[e],e!==n.state.currentKey&&n.performLeave(e)})),cs(ss(n),"performLeave",(function(e){n.transitioningKeys[e]=!0,n.childRefs[e].componentWillLeave(n.handleDoneLeaving.bind(ss(n),e)),n.state.currentChild&&(0,oi.findDOMNode)(n.childRefs[n.state.currentKey])||n.enqueueHeightTransition()})),cs(ss(n),"performHeightTransition",(function(){if(!n.unmounted){var e=ss(n).state,t=e.currentChild?(0,oi.findDOMNode)(n.childRefs[e.currentKey]):null;n.setState({height:t?t.offsetHeight:0,width:n.props.changeWidth?t?t.offsetWidth:0:null})}n.rafHandle=null})),n.childRefs=Object.create(null),n.state={currentKey:"1",currentChild:n.props.children?t().Children.only(n.props.children):void 0,prevChildren:{},height:null,width:null},n.shouldEnterCurrent=!1,n.keysToLeave=[],n.transitioningKeys={},n}return n=s,r=[{key:"componentDidMount",value:function(){this.props.transitionAppear&&this.state.currentChild&&this.performAppear(this.state.currentKey)}},{key:"componentWillUnmount",value:function(){this.unmounted=!0}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var n=e.children?t().Children.only(e.children):void 0,r=this.state.currentChild;if(r&&n&&n.key===r.key&&!this.state.nextChild)return this.setState({currentChild:n});var i=this.state,o=i.currentKey,a=i.prevChildren,s={currentKey:String(Number(o)+1),currentChild:n,height:0,width:this.props.changeWidth?0:null};if(n&&(this.shouldEnterCurrent=!0),r){var l=(0,oi.findDOMNode)(this.childRefs[o]);s.height=l?l.offsetHeight:0,s.width=this.props.changeWidth?l?l.offsetWidth:0:null,s.prevChildren=is(is({},a),{},cs({},o,r)),this.transitioningKeys[o]||this.keysToLeave.push(o)}this.setState(s)}},{key:"componentDidUpdate",value:function(){this.shouldEnterCurrent&&(this.shouldEnterCurrent=!1,(0,oi.findDOMNode)(this.childRefs[this.state.currentKey])&&this.performEnter(this.state.currentKey));var e=this.keysToLeave;this.keysToLeave=[],e.forEach(this.performLeave)}},{key:"performAppear",value:function(e){this.transitioningKeys[e]=!0,this.childRefs[e].componentWillAppear(this.handleDoneAppearing.bind(this,e))}},{key:"performEnter",value:function(e){this.transitioningKeys[e]=!0,this.childRefs[e].componentWillEnter(this.handleDoneEntering.bind(this,e)),this.enqueueHeightTransition()}},{key:"handleDoneEntering",value:function(e){delete this.transitioningKeys[e],e===this.state.currentKey?this.setState({height:null}):this.performLeave(e)}},{key:"handleDoneLeaving",value:function(e){delete this.transitioningKeys[e];var t={prevChildren:is({},this.state.prevChildren)};delete t.prevChildren[e],delete this.childRefs[e],this.state.currentChild&&(0,oi.findDOMNode)(this.childRefs[this.state.currentKey])||(t.height=null),this.setState(t)}},{key:"enqueueHeightTransition",value:function(){this.rafHandle||(this.rafHandle=Sa(this.performHeightTransition))}},{key:"wrapChild",value:function(e,n){var r=this.props.transitionName;return"object"===ns(r)&&null!==r&&delete(r=is({},r)).height,t().createElement(ts,is({name:r,appear:this.props.transitionAppear,enter:this.props.transitionEnter,leave:this.props.transitionLeave,appearTimeout:this.props.transitionAppearTimeout,enterTimeout:this.props.transitionEnterTimeout,leaveTimeout:this.props.transitionLeaveTimeout},n),e)}},{key:"render",value:function(){var e=this,n=this.state,r=n.currentKey,i=n.currentChild,o=n.prevChildren,a=n.height,s=n.width,l=[],c=this.props,u=c.overflowHidden,d=c.transitionName,f=c.component,p=c.childComponent,h=c.notifyLeaving,g=(c.transitionAppear,c.transitionEnter,c.transitionLeave,c.changeWidth,c.transitionAppearTimeout,c.transitionEnterTimeout,c.transitionLeaveTimeout,function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(c,["overflowHidden","transitionName","component","childComponent","notifyLeaving","transitionAppear","transitionEnter","transitionLeave","changeWidth","transitionAppearTimeout","transitionEnterTimeout","transitionLeaveTimeout"])),m=this.shouldEnterCurrent||this.keysToLeave.length||Object.keys(this.transitioningKeys).length;if(g.style=is({},g.style),m&&(g.style.position="relative",u&&(g.style.overflow="hidden")),null!==a){var y="string"==typeof d?"".concat(d,"-height"):d&&d.height||"";g.className="".concat(g.className||""," ").concat(y),g.style.height=a}null!==s&&(g.style.width=s);var v={position:"absolute",top:0,left:0,right:0,bottom:0,userSelect:"none"};return Object.keys(o).forEach((function(n){var r=o[n];l.push(t().createElement(p,{key:n,style:v},e.wrapChild(h&&"string"!=typeof r.type?t().cloneElement(r,{isLeaving:!0}):r,{ref:function(t){return e.childRefs[n]=t}})))})),i&&l.push(t().createElement(p,{key:r,style:this.transitioningKeys[r]?v:m?{position:"relative"}:null},this.wrapChild(i,{ref:function(t){return e.childRefs[r]=t}}))),t().createElement(f,g,l)}}],r&&os(n.prototype,r),s}(t().Component);cs(us,"displayName","ReactCSSTransitionReplace"),cs(us,"propTypes",{transitionName:Ya.isRequired,transitionAppear:da().bool,transitionEnter:da().bool,transitionLeave:da().bool,transitionAppearTimeout:Fa("Appear"),transitionEnterTimeout:Fa("Enter"),transitionLeaveTimeout:Fa("Leave"),overflowHidden:da().bool,changeWidth:da().bool,notifyLeaving:da().bool}),cs(us,"defaultProps",{transitionAppear:!1,transitionEnter:!0,transitionLeave:!0,overflowHidden:!0,changeWidth:!1,notifyLeaving:!1,component:"div",childComponent:"span"});const ds=({error:e,children:n})=>{const{t:r}=Mr();return t().createElement(us,{transitionName:"e-crossfade",transitionEnterTimeout:500,transitionLeaveTimeout:500},null!=e?t().createElement("div",{className:"e-color-error",role:"alert"},t().createElement(wa,{icon:Oi,className:"e-mrg-r-1"}),r(`audio-errors.${e}`)):t().createElement("div",{key:"no-error"},n))};var fs=i(2145);const ps=e=>(0,fs.action)("PLAY_AUDIO",e),hs=e=>(0,fs.action)("PLAY_AUDIO_STARTED",e),gs=()=>(0,fs.action)("PLAY_AUDIO_FINISHED"),ms=(e,t)=>(0,fs.action)("SHOW_AUDIO_ERROR",{audio:e,error:t}),ys=e=>(0,fs.action)("HIDE_AUDIO_ERROR",e),vs=e=>(0,fs.action)("UPDATE_REMAINING",e),bs=t().memo((function({src:e,restrictedAudioId:n,duration:r,times:i,labelId:o}){const a=pi(Ni(e,n)),s=pi(((e,t)=>n=>"playing"===Ni(e,t)(n)?n.audio.nowPlaying.durationRemaining:void 0)(e,n)),l=pi(ji(n,i)),{i18n:c}=Mr(),u=xi(),d="playing"===a,f="stopped"===a,p=!f||0===l,h=`audio-remaining-${n}`,g=d?[]:[h,o];return t().createElement("div",{className:ni()("restricted-audio-player e-column e-column--narrow e-columns e-columns--inline e-columns--center-v e-pad-1",{"restricted-audio-player--disabled":p}),lang:c.language},t().createElement("button",{className:ni()("restricted-audio-player__play e-column e-column--narrow",{"restricted-audio-player__play--playing":d}),disabled:p,onClick:()=>f&&u(ps({src:e,restrictedAudioId:n,duration:r})),"aria-labelledby":g.join(" ")},!d&&t().createElement(wa,{icon:Ui,fixedWidth:!0})),t().createElement("span",{className:"restricted-audio-player__duration e-column e-text-right",id:h},function(e){const t=e%60;return`${Is(Math.floor(e/60))}:${Is(t)}`}(null!=s?s:r)))}));function Is(e){return e.toString().padStart(2,"0")}const xs=t().memo((function({element:n,className:r,renderChildNodes:i}){const o=n.getAttribute("src"),a=Ae(n,"restricted-audio-id"),s=Ae(n,"times"),l=Ae(n,"duration"),{t:c}=Mr(),u=null!=s&&null!=a?pi(Ei(o,a)):void 0,d=null!=s&&null!=a?pi(ji(a,s)):void 0,{resolveAttachment:f}=(0,e.useContext)(Vr),p=_r(n);return t().createElement("div",{className:ni()("audio e-columns e-columns--center-v e-mrg-b-2",r)},null!=a&&null!=s?t().createElement(bs,{src:o,restrictedAudioId:a,duration:l,times:s,labelId:p}):t().createElement("audio",{className:"e-column e-column--narrow","aria-describedby":p,preload:"metadata",controls:!0,controlsList:"nodownload"},t().createElement("source",{src:f(o)})),t().createElement("div",{className:"e-column",id:p},t().createElement(ds,{error:u},i(n)),null!=d&&t().createElement("em",null,c("listen-times-remaining",{count:d}))))})),Ms=ke({attachment:Kr((function({element:n}){const{displayNumber:r}=(0,e.useContext)(Xr);return t().createElement("li",{"data-list-number":r,"aria-label":r},Ms(n,1))})),"attachment-title":function({element:n}){const{attachmentsURL:r}=(0,e.useContext)(Vr),{displayNumber:i}=(0,e.useContext)(Xr);return t().createElement("a",{href:Fr(r,{hash:i}),className:"exam-attachment-title",target:"attachments"},Ms(n))}}),ws=t().memo((function({element:e,showTitle:n=!0,forceRender:r=!1}){if(null==Me(e,"question")&&!r)return null;const{t:i}=Mr(),o=Or(e);return t().createElement("div",{className:"external-material-list e-mrg-b-4"},n&&t().createElement("h4",{className:"external-material-title",id:o},i("external-material-title")),t().createElement("ol",{className:"e-list-data e-pad-l-0 e-mrg-0","aria-labelledby":o},Ms(e)))})),Ts=t().memo((function({element:n,className:r,renderChildNodes:i}){const o=n.getAttribute("src"),a=n.hasChildNodes(),{resolveAttachment:s}=(0,e.useContext)(Vr);return t().createElement("a",{className:ni()("file e-nowrap",r),href:s(o),download:!0},a?t().createElement(t().Fragment,null,i(n)," (",o,")"):o)})),As=t().memo((function({element:e,className:n}){const r=Te(e,"svg"),i=Te(e,"assistive-title"),o="display"===Te(e,"mode");return t().createElement(t().Fragment,null,t().createElement("span",{className:ni()("e-formula",{"e-block e-text-center":o},n),dangerouslySetInnerHTML:{__html:r},"aria-hidden":"true"}),t().createElement("span",{className:"e-screen-reader-only"},i||e.textContent))})),Cs=({bordered:e=!1,className:n,children:r,height:i,width:o,caption:a,captionId:s})=>{const l=i/o*100+"%",c=o+(e?18:0);return t().createElement("span",{className:ni()("responsive-media-container",{"responsive-media-container--bordered":e},n),style:{maxWidth:c}},t().createElement("span",{className:"responsive-media-container__inner",style:{paddingBottom:l}},r),a&&t().createElement("span",{className:"e-block e-mrg-t-1 e-font-size-s e-light",id:s},a))};function Ns(e){return"string"==typeof e&&0===e.trim().length}const Es=t().memo((function({element:n,className:r,renderChildNodes:i}){const{resolveAttachment:o}=(0,e.useContext)(Vr),{t:a}=Mr(),s=Te(n,"src"),l=Ae(n,"width"),c=Ae(n,"height"),u=we(n,"image-title"),d=u&&i(u),f=null!=d&&!d.every(Ns),p=f?d:void 0,h=f?zr(n):void 0,g=o(s),m=t().createElement("img",{className:"e-image",src:g,alt:"","aria-labelledby":h});return t().createElement(t().Fragment,null,t().createElement(Cs,{className:r,width:l,height:c,caption:p,captionId:h,bordered:f||null!=Me(n,"choice-answer")},null!=Me(n,["choice-answer","hint"])?m:t().createElement("a",{title:a.raw("zoom-in"),href:g,target:"original-picture",className:"e-zoomable","aria-hidden":!f,tabIndex:-1},m)))})),Ss=function({element:e,renderChildNodes:n}){const r=n(e);return 0===r.length?null:t().createElement(t().Fragment,null,r)};function js({element:e,renderChildNodes:n}){return t().createElement("em",null,n(e))}function ks({element:e,renderChildNodes:n}){return t().createElement("a",{href:e.textContent,target:"_blank",rel:"noreferrer"},n(e))}function Ds({element:n}){const r=n.textContent;if(/^[0-9]{4}$/.test(r))return t().createElement(t().Fragment,null,r);{const n=new Date(r.trim()),{dateTimeFormatter:i}=(0,e.useContext)(Vr);return t().createElement(t().Fragment,null,i.format(n))}}const Ls=t().memo((function({element:e,renderChildNodes:n}){const{t:r}=Mr();function i(r,i){const o=we(e,r);if(o){const e=o.localName,r=t().createElement(i,{element:o,renderChildNodes:n,key:e});if(r)return Ce(o,"hidden")?t().createElement("del",{key:e},r):r}}function o(i,o,a){const s=we(e,i);return s&&t().createElement(t().Fragment,{key:s.localName},r(o)," ",t().createElement(a,{element:s,renderChildNodes:n,key:s.localName}))}return t().createElement("span",{className:ni()("e-break-word",{"e-line-through":Ce(e,"hidden")})},r("references.source"),ye,(". ",(a=[i("author",Ss),i("title",js),i("publisher",Ss),i("publication",Ss),i("howpublished",Ss),i("url",ks),o("publication-date","references.date",Ds),o("reference-date","references.reference-date",Ds),o("translator","references.translator",Ss),o("modified-by","references.modified-by",Ss),i("note",Ss)]).filter(Boolean).reduce(((e,t,n)=>(e.push(t),n!==a.length-1&&e.push(". "),e)),[])));var a})),Os=t().memo((function({element:n,renderChildNodes:r,className:i}){const{resolveAttachment:o}=(0,e.useContext)(Vr),a=Te(n,"src"),s=Ae(n,"width"),l=Ae(n,"height"),c=we(n,"video-title"),u=c&&r(c),d=null!=u&&!u.every(Ns),f=d?u:void 0,p=d?Ur(n):void 0;return t().createElement(Cs,{caption:f,captionId:p,className:i,width:s,height:l},t().createElement("video",{className:"video",preload:"metadata",controls:!0,controlsList:"nodownload",disablePictureInPicture:!0,"aria-describedby":p},t().createElement("source",{src:o(a)})))}));var Rs=/\s/;const Ps=function(e){for(var t=e.length;t--&&Rs.test(e.charAt(t)););return t};var zs=/^\s+/;var Us=/^[-+]0x[0-9a-f]+$/i,_s=/^0b[01]+$/i,Zs=/^0o[0-7]+$/i,Gs=parseInt;const Bs=function(e){if("number"==typeof e)return e;if(Jt(e))return NaN;if(le(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=le(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;var n;e=(n=e)?n.slice(0,Ps(n)+1).replace(zs,""):n;var r=_s.test(e);return r||Zs.test(e)?Gs(e.slice(2),r?2:8):Us.test(e)?NaN:+e};const Fs=function(e){var t=function(e){return e?1/0===(e=Bs(e))||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}(e),n=t%1;return t==t?n?t-n:t:0};var Ys=4294967295,Ws=Math.min;function Hs({opacity:e,setOpacity:n,element:r,renderChildNodes:i}){const o=we(r,"image-title");return t().createElement("div",{className:"e-columns e-columns--center-v e-mrg-b-1"},t().createElement("div",{className:"e-column e-text-right e-mrg-r-1"},o&&i(o)),t().createElement(wa,{icon:Pi,className:"e-mrg-r-1 e-pointer",onClick:()=>n(0)}),t().createElement("input",{type:"range",min:0,max:1,step:.01,value:e,onChange:e=>n(Number(e.target.value))}),t().createElement(wa,{icon:Ri,className:"e-mrg-l-1 e-pointer",onClick:()=>n(1)}))}function Vs({element:n,absolute:r,opacity:i}){const o=n.getAttribute("src"),a=Ae(n,"width"),s=Ae(n,"height"),l=(0,e.useContext)(Vr).resolveAttachment(o);return t().createElement("div",{className:ni()("e-columns e-columns--center-h",{"e-image-overlay__image-absolute":r}),style:{opacity:i}},t().createElement(Cs,{width:a,height:s},t().createElement("img",{className:"e-image",src:l})))}const qs=t().memo((function({element:n,renderChildNodes:r}){const[i,o]=(0,e.useState)((()=>function(e,t){if((e=Fs(e))<1||e>9007199254740991)return[];var n=Ys,r=Ws(e,Ys);t=ge(t),e-=Ys;for(var i=x(r,t);++n<e;)t(n);return i}(n.children.length,(e=>0===e?1:0)))),a=e=>t=>{const n=[...i];n[e]=t,o(n)};return t().createElement("div",{className:"e-image-overlay e-mrg-b-1"},t().createElement("div",{className:"e-columns e-columns--center-h"},t().createElement("div",null,Ne(n,((e,n)=>t().createElement(Hs,{key:n,opacity:i[n],element:e,setOpacity:a(n),renderChildNodes:r}))))),t().createElement("div",null,t().createElement("div",{className:"e-image-overlay__images-wrapper"},Ne(n,((e,n)=>t().createElement(Vs,{key:n,element:e,renderChildNodes:r,opacity:i[n],absolute:n>0}))))))})),Qs=ke({"attachment-link":Qr("link"),"attachment-links":Jr("link"),"attachment-title":ei,attachment:$r,audio:xs,"audio-title":Ss,file:Ts,image:Es,video:Os,formula:As,reference:function(e,n,r){const i=n=>t().createElement("div",{...r},t().createElement(e,{...n}));return i.displayName=`Surround(${Wr(e)})`,i}(Ls,0,{className:"e-mrg-y-2 e-font-size-s"}),"image-overlay":qs}),Js=t().memo((function({element:e,forceRender:n=!1}){if(null==Me(e,"question")&&!n)return null;const r=e.children.length;return t().createElement(t().Fragment,null,r>1&&t().createElement(ws,{element:e,renderChildNodes:Qs,showTitle:!1,forceRender:n}),Qs(e))})),Xs=t().createContext({}),Ks=Hr(Xs,(({element:e})=>{const t=xe(e,"question",!1),n=t.length?[]:xe(e,["text-answer","scored-text-answer","dropdown-answer","choice-answer"],!1),r=xe(e,"question-instruction",!1),i=e.getAttribute("display-number"),o=r.length>0?r.map(Dr).join(" "):kr(i);return{answers:n,displayNumber:i,hasExternalMaterial:null!=we(e,"external-material"),maxAnswers:Ae(e,"max-answers"),maxScore:Ae(e,"max-score"),level:ve(e,"question").length,childQuestions:t,questionLabelIds:o}})),$s=e=>{const n=ni()("e-section e-bg-color-off-white e-pad-6",e.className);return t().createElement("section",{...{...e,className:n}},e.children)},el=t().memo(Ks((function({element:n,renderChildNodes:r}){const{displayNumber:i,hasExternalMaterial:o,level:a}=(0,e.useContext)(Xs);return function(e,t,n){return t&&(0===n||ve(e).every((e=>"question"!==e.localName||!we(e,"external-material"))))}(n,o,a)?t().createElement($s,{id:i,"aria-labelledby":kr(i)},r(n,1)):t().createElement(t().Fragment,null,r(n,1))})));function tl(e){return e.includes(".")?e:`${e}.`}const nl=t().memo((function({element:n,renderChildNodes:r}){const{displayNumber:i,hasExternalMaterial:o}=(0,e.useContext)(Xs);return o?t().createElement("h2",{id:kr(i)},tl(i)," ",r(n)):null})),rl=t().memo((n=>{const r=(0,e.useRef)(null);return(0,e.useLayoutEffect)((()=>{r.current&&(document.title=r.current.textContent)})),t().createElement("h1",{...n,ref:r})})),il=t().createContext({}),ol=Hr(il,(e=>{const{casCountdownDuration:t,examServerApi:n}=e;return{casCountdownDuration:t||60,examServerApi:n}})),al=t().memo((function({element:e,renderChildNodes:n}){return t().createElement(t().Fragment,null,n(e,1))})),sl=t().createContext({}),ll=Hr(sl,(({element:e})=>({casForbidden:Ce(e,"cas-forbidden"),displayNumber:e.getAttribute("display-number"),maxAnswers:Ae(e,"max-answers"),minAnswers:Ae(e,"min-answers"),maxScore:Ae(e,"max-score"),childQuestions:Ne(e,(e=>e)).filter((e=>"question"===e.localName))}))),cl=ke({"audio-group":al,"external-material":Js,"question-title":nl,question:el,section:ll(Ss)}),ul=()=>{const{t:e}=Mr();return t().createElement(t().Fragment,null,e("attachments-page-title"))},dl=t().memo(ol(qr((()=>{const{root:n,language:r,date:i,dateTimeFormatter:o,dayCode:a,examCode:s,resolveAttachment:l,subjectLanguage:c}=(0,e.useContext)(Vr),u=we(n,"exam-title"),d=n.getAttribute("exam-stylesheet"),f=we(n,"external-material"),p=Br((()=>xr(r,s,a)));return(0,e.useEffect)(wr(p,r)),(0,e.useEffect)(Gr,[]),t().createElement(y,{i18n:p},t().createElement("main",{className:"e-exam attachments",lang:c,"aria-labelledby":Er},t().createElement(t().StrictMode,null),d&&t().createElement("link",{rel:"stylesheet",href:l(d)}),t().createElement($s,{"aria-labelledby":Er},u&&t().createElement(rl,{id:Er},t().createElement(ul,null),ye,cl(u)),t().createElement("div",{className:"e-semibold e-mrg-b-6"},o.format(i)),f&&t().createElement(Js,{element:f,renderChildNodes:cl,forceRender:!0})),cl(n)))}))));function fl(e){const t=e.documentElement;return ml(t,xe(t,"section",!1).map(pl),{maxAnswers:Ae(t,"max-answers")})}function pl(e){return ml(e,xe(e,"question",!1).map(hl),{displayNumber:Te(e,"display-number"),minAnswers:Ae(e,"min-answers"),maxAnswers:Ae(e,"max-answers")})}function hl(e){const t=xe(e,"question",!1);return ml(e,t.length?t.map(hl):xe(e,["text-answer","scored-text-answer","choice-answer","dropdown-answer"],!1).map(gl),{displayNumber:Te(e,"display-number"),maxAnswers:Ae(e,"max-answers")})}function gl(e){return ml(e,[],{displayNumber:Te(e,"display-number"),questionId:Ae(e,"question-id"),maxLength:Ae(e,"max-length")})}function ml(e,t,n){return{name:e.localName,attributes:n,childNodes:t}}function yl(e){var t=this.__data__=new wn(e);this.size=t.size}yl.prototype.clear=function(){this.__data__=new wn,this.size=0},yl.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},yl.prototype.get=function(e){return this.__data__.get(e)},yl.prototype.has=function(e){return this.__data__.has(e)},yl.prototype.set=function(e,t){var n=this.__data__;if(n instanceof wn){var r=n.__data__;if(!Tn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Nn(r)}return n.set(e,t),this.size=n.size,this};const vl=yl;function bl(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Nn;++t<n;)this.add(e[t])}bl.prototype.add=bl.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},bl.prototype.has=function(e){return this.__data__.has(e)};const Il=bl,xl=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},Ml=function(e,t){return e.has(t)},wl=function(e,t,n,r,i,o){var a=1&n,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var c=o.get(e),u=o.get(t);if(c&&u)return c==t&&u==e;var d=-1,f=!0,p=2&n?new Il:void 0;for(o.set(e,t),o.set(t,e);++d<s;){var h=e[d],g=t[d];if(r)var m=a?r(g,h,d,t,e,o):r(h,g,d,e,t,o);if(void 0!==m){if(m)continue;f=!1;break}if(p){if(!xl(t,(function(e,t){if(!Ml(p,t)&&(h===e||i(h,e,n,r,o)))return p.push(t)}))){f=!1;break}}else if(h!==g&&!i(h,g,n,r,o)){f=!1;break}}return o.delete(e),o.delete(t),f},Tl=T.Uint8Array,Al=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n},Cl=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n};var Nl=A?A.prototype:void 0,El=Nl?Nl.valueOf:void 0;const Sl=function(e,t,n){var r=t(e);return _(e)?r:Kn(r,n(e))},jl=function(){return[]};var kl=Object.prototype.propertyIsEnumerable,Dl=Object.getOwnPropertySymbols,Ll=Dl?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}(Dl(e),(function(t){return kl.call(e,t)})))}:jl;const Ol=Ll,Rl=function(e){return Sl(e,de,Ol)};var Pl=Object.prototype.hasOwnProperty;const zl=pn(T,"DataView"),Ul=pn(T,"Promise"),_l=pn(T,"Set"),Zl=pn(T,"WeakMap");var Gl="[object Map]",Bl="[object Promise]",Fl="[object Set]",Yl="[object WeakMap]",Wl="[object DataView]",Hl=on(zl),Vl=on(Tn),ql=on(Ul),Ql=on(_l),Jl=on(Zl),Xl=D;(zl&&Xl(new zl(new ArrayBuffer(1)))!=Wl||Tn&&Xl(new Tn)!=Gl||Ul&&Xl(Ul.resolve())!=Bl||_l&&Xl(new _l)!=Fl||Zl&&Xl(new Zl)!=Yl)&&(Xl=function(e){var t=D(e),n="[object Object]"==t?e.constructor:void 0,r=n?on(n):"";if(r)switch(r){case Hl:return Wl;case Vl:return Gl;case ql:return Bl;case Ql:return Fl;case Jl:return Yl}return t});const Kl=Xl;var $l="[object Arguments]",ec="[object Array]",tc="[object Object]",nc=Object.prototype.hasOwnProperty;const rc=function(e,t,n,r,i,o){var a=_(e),s=_(t),l=a?ec:Kl(e),c=s?ec:Kl(t),u=(l=l==$l?tc:l)==tc,d=(c=c==$l?tc:c)==tc,f=l==c;if(f&&F(e)){if(!F(t))return!1;a=!0,u=!1}if(f&&!u)return o||(o=new vl),a||ee(e)?wl(e,t,n,r,i,o):function(e,t,n,r,i,o,a){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||!o(new Tl(e),new Tl(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return bn(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var s=Al;case"[object Set]":var l=1&r;if(s||(s=Cl),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;r|=2,a.set(e,t);var u=wl(s(e),s(t),r,i,o,a);return a.delete(e),u;case"[object Symbol]":if(El)return El.call(e)==El.call(t)}return!1}(e,t,l,n,r,i,o);if(!(1&n)){var p=u&&nc.call(e,"__wrapped__"),h=d&&nc.call(t,"__wrapped__");if(p||h){var g=p?e.value():e,m=h?t.value():t;return o||(o=new vl),i(g,m,n,r,o)}}return!!f&&(o||(o=new vl),function(e,t,n,r,i,o){var a=1&n,s=Rl(e),l=s.length;if(l!=Rl(t).length&&!a)return!1;for(var c=l;c--;){var u=s[c];if(!(a?u in t:Pl.call(t,u)))return!1}var d=o.get(e),f=o.get(t);if(d&&f)return d==t&&f==e;var p=!0;o.set(e,t),o.set(t,e);for(var h=a;++c<l;){var g=e[u=s[c]],m=t[u];if(r)var y=a?r(m,g,u,t,e,o):r(g,m,u,e,t,o);if(!(void 0===y?g===m||i(g,m,n,r,o):y)){p=!1;break}h||(h="constructor"==u)}if(p&&!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||(p=!1)}return o.delete(e),o.delete(t),p}(e,t,n,r,i,o))},ic=function e(t,n,r,i,o){return t===n||(null==t||null==n||!L(t)&&!L(n)?t!=t&&n!=n:rc(t,n,r,i,e,o))},oc=function(e){return e==e&&!le(e)},ac=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}},sc=function(e){var t=function(e){for(var t=de(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,oc(i)]}return t}(e);return 1==t.length&&t[0][2]?ac(t[0][0],t[0][1]):function(n){return n===e||function(e,t,n,r){var i=n.length,o=i,a=!r;if(null==e)return!o;for(e=Object(e);i--;){var s=n[i];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<o;){var l=(s=n[i])[0],c=e[l],u=s[1];if(a&&s[2]){if(void 0===c&&!(l in e))return!1}else{var d=new vl;if(r)var f=r(c,u,l,e,t,d);if(!(void 0===f?ic(u,c,3,r,d):f))return!1}}return!0}(n,e,t)}},lc=function(e){return $t(e)?function(e){return function(t){return null==t?void 0:t[e]}}(Bn(e)):function(e){return function(t){return Fn(t,e)}}(e)},cc=function(e){return"function"==typeof e?e:null==e?he:"object"==typeof e?_(e)?(t=e[0],n=e[1],$t(t)&&oc(n)?ac(Bn(t),n):function(e){var r=Ci(e,t);return void 0===r&&r===n?Jn(e,t):ic(n,r,3)}):sc(e):lc(e);var t,n},uc=function(e,t){var n=-1,r=ue(e)?Array(e.length):[];return pe(e,(function(e,i,o){r[++n]=t(e,i,o)})),r},dc=function(e,t){return(_(e)?Pn:uc)(e,cc(t))},fc=function(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i<o;){var a=e[i];t(r,a,n(a),e)}return r},pc=function(e,t,n,r){return pe(e,(function(e,i,o){t(r,e,n(e),o)})),r};var hc,gc=(hc=function(e,t,n){Wn(e,n,t)},function(e,t){var n={};return(_(e)?fc:pc)(e,hc,cc(t),n)});const mc=gc;var yc=i(7288),vc=function(){return Math.random().toString(36).substring(7).split("").join(".")},bc={INIT:"@@redux/INIT"+vc(),REPLACE:"@@redux/REPLACE"+vc(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+vc()}};function Ic(e,t,n){var r;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(Ic)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var i=e,o=t,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function u(){if(l)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return o}function d(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(l)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var t=!0;return c(),s.push(e),function(){if(t){if(l)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");t=!1,c();var n=s.indexOf(e);s.splice(n,1),a=null}}}function f(e){if(!function(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(l)throw new Error("Reducers may not dispatch actions.");try{l=!0,o=i(o,e)}finally{l=!1}for(var t=a=s,n=0;n<t.length;n++)(0,t[n])();return e}return f({type:bc.INIT}),(r={dispatch:f,subscribe:d,getState:u,replaceReducer:function(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");i=e,f({type:bc.REPLACE})}})[yc.Z]=function(){var e,t=d;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(u())}return n(),{unsubscribe:t(n)}}})[yc.Z]=function(){return this},e},r}function xc(e,t){var n=t&&t.type;return"Given "+(n&&'action "'+String(n)+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function Mc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wc(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}function Tc(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}var Ac=function(e){return"@@redux-saga/"+e},Cc=Ac("CANCEL_PROMISE"),Nc=Ac("CHANNEL_END"),Ec=Ac("IO"),Sc=Ac("MATCH"),jc=Ac("MULTICAST"),kc=Ac("SAGA_ACTION"),Dc=Ac("SELF_CANCELLATION"),Lc=Ac("TASK"),Oc=Ac("TASK_CANCEL"),Rc=Ac("TERMINATE"),Pc=Ac("LOCATION");function zc(){return zc=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},zc.apply(this,arguments)}var Uc=function(e){return null==e},_c=function(e){return null!=e},Zc=function(e){return"function"==typeof e},Gc=function(e){return"string"==typeof e},Bc=Array.isArray,Fc=function(e){return e&&Zc(e.then)},Yc=function(e){return e&&Zc(e.next)&&Zc(e.throw)},Wc=function e(t){return t&&(Gc(t)||qc(t)||Zc(t)||Bc(t)&&t.every(e))},Hc=function(e){return e&&Zc(e.take)&&Zc(e.close)},Vc=function(e){return Zc(e)&&e.hasOwnProperty("toString")},qc=function(e){return Boolean(e)&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype},Qc=function(e){return Hc(e)&&e[jc]};const Jc=function(e,t){var n;void 0===t&&(t=!0);var r=new Promise((function(r){n=setTimeout(r,Math.min(2147483647,e),t)}));return r[Cc]=function(){clearTimeout(n)},r};var Xc=function(e){return function(){return true}}(),Kc=function(){},$c=function(e){return e};"function"==typeof Symbol&&Symbol.asyncIterator&&Symbol.asyncIterator;var eu=function(e,t){zc(e,t),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach((function(n){e[n]=t[n]}))};function tu(e,t){var n=e.indexOf(t);n>=0&&e.splice(n,1)}function nu(e){var t=!1;return function(){t||(t=!0,e())}}var ru=function(e){throw e},iu=function(e){return{value:e,done:!0}};function ou(e,t,n){void 0===t&&(t=ru),void 0===n&&(n="iterator");var r={meta:{name:n},next:e,throw:t,return:iu,isSagaIterator:!0};return"undefined"!=typeof Symbol&&(r[Symbol.iterator]=function(){return r}),r}function au(e,t){var n=t.sagaStack;console.error(e),console.error(n)}var su=function(e){return Array.apply(null,new Array(e))},lu=function(e){return function(t){return e(Object.defineProperty(t,kc,{value:!0}))}},cu=function(e){return e===Rc},uu=function(e){return e===Oc},du=function(e){return cu(e)||uu(e)};function fu(e,t){var n,r=Object.keys(e),i=r.length,o=0,a=Bc(e)?su(i):{},s={};return r.forEach((function(e){var r=function(r,s){n||(s||du(r)?(t.cancel(),t(r,s)):(a[e]=r,++o===i&&(n=!0,t(a))))};r.cancel=Kc,s[e]=r})),t.cancel=function(){n||(n=!0,r.forEach((function(e){return s[e].cancel()})))},s}function pu(e){return{name:e.name||"anonymous",location:hu(e)}}function hu(e){return e[Pc]}var gu=4,mu={isEmpty:Xc,put:Kc,take:Kc};var yu=function(e){return function(e,t){void 0===e&&(e=10);var n=new Array(e),r=0,i=0,o=0,a=function(t){n[i]=t,i=(i+1)%e,r++},s=function(){if(0!=r){var t=n[o];return n[o]=null,r--,o=(o+1)%e,t}},l=function(){for(var e=[];r;)e.push(s());return e};return{isEmpty:function(){return 0==r},put:function(s){var c;if(r<e)a(s);else switch(t){case 1:throw new Error("Channel's Buffer overflow!");case 3:n[i]=s,o=i=(i+1)%e;break;case gu:c=2*e,n=l(),r=n.length,i=n.length,o=0,n.length=c,e=c,a(s)}},take:s,flush:l}}(e,gu)},vu="TAKE",bu="PUT",Iu="RACE",xu="CALL",Mu="FORK",wu="CANCEL",Tu="SELECT",Au="CANCELLED",Cu=function(e,t){var n;return(n={})[Ec]=!0,n.combinator=!1,n.type=e,n.payload=t,n};function Nu(e,t){return void 0===e&&(e="*"),Wc(e)?(_c(t)&&console.warn("take(pattern) takes one argument but two were provided. Consider passing an array for listening to several action types"),Cu(vu,{pattern:e})):Qc(e)&&_c(t)&&Wc(t)?Cu(vu,{channel:e,pattern:t}):Hc(e)?(_c(t)&&console.warn("take(channel) takes one argument but two were provided. Second argument is ignored."),Cu(vu,{channel:e})):void 0}function Eu(e,t){return Uc(t)&&(t=e,e=void 0),Cu(bu,{channel:e,action:t})}function Su(e,t){var n,r=null;return Zc(e)?n=e:(Bc(e)?(r=e[0],n=e[1]):(r=e.context,n=e.fn),r&&Gc(n)&&Zc(r[n])&&(n=r[n])),{context:r,fn:n,args:t}}function ju(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 Cu(xu,Su(e,n))}function ku(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 Cu(Mu,Su(e,n))}function Du(e){return void 0===e&&(e=Dc),Cu(wu,e)}var Lu=ju.bind(null,Jc);const Ou=function(){var e={};return e.promise=new Promise((function(t,n){e.resolve=t,e.reject=n})),e};var Ru=[],Pu=0;function zu(e){try{Zu(),e()}finally{Gu()}}function Uu(e){Ru.push(e),Pu||(Zu(),Bu())}function _u(e){try{return Zu(),e()}finally{Bu()}}function Zu(){Pu++}function Gu(){Pu--}function Bu(){var e;for(Gu();!Pu&&void 0!==(e=Ru.shift());)zu(e)}var Fu=function(e){return function(t){return e.some((function(e){return qu(e)(t)}))}},Yu=function(e){return function(t){return e(t)}},Wu=function(e){return function(t){return t.type===String(e)}},Hu=function(e){return function(t){return t.type===e}},Vu=function(){return Xc};function qu(e){var t="*"===e?Vu:Gc(e)?Wu:Bc(e)?Fu:Vc(e)?Wu:Zc(e)?Yu:qc(e)?Hu:null;if(null===t)throw new Error("invalid pattern: "+e);return t(e)}var Qu={type:Nc},Ju=function(e){return e&&e.type===Nc};function Xu(e){void 0===e&&(e=yu());var t=!1,n=[];return{take:function(r){t&&e.isEmpty()?r(Qu):e.isEmpty()?(n.push(r),r.cancel=function(){tu(n,r)}):r(e.take())},put:function(r){if(!t){if(0===n.length)return e.put(r);n.shift()(r)}},flush:function(n){t&&e.isEmpty()?n(Qu):n(e.flush())},close:function(){if(!t){t=!0;var e=n;n=[];for(var r=0,i=e.length;r<i;r++)(0,e[r])(Qu)}}}}function Ku(){var e,t,n,r,i,o,a=(t=!1,r=n=[],i=function(){r===n&&(r=n.slice())},o=function(){t=!0;var e=n=r;r=[],e.forEach((function(e){e(Qu)}))},(e={})[jc]=!0,e.put=function(e){if(!t)if(Ju(e))o();else for(var i=n=r,a=0,s=i.length;a<s;a++){var l=i[a];l[Sc](e)&&(l.cancel(),l(e))}},e.take=function(e,n){void 0===n&&(n=Vu),t?e(Qu):(e[Sc]=n,i(),r.push(e),e.cancel=nu((function(){i(),tu(r,e)})))},e.close=o,e),s=a.put;return a.put=function(e){e[kc]?s(e):Uu((function(){s(e)}))},a}var $u=0,ed=1,td=2,nd=3;function rd(e,t){var n=e[Cc];Zc(n)&&(t.cancel=n),e.then(t,(function(e){t(e,!0)}))}var id,od=0,ad=function(){return++od};function sd(e){e.isRunning()&&e.cancel()}var ld=((id={})[vu]=function(e,t,n){var r=t.channel,i=void 0===r?e.channel:r,o=t.pattern,a=t.maybe,s=function(e){e instanceof Error?n(e,!0):!Ju(e)||a?n(e):n(Rc)};try{i.take(s,_c(o)?qu(o):null)}catch(e){return void n(e,!0)}n.cancel=s.cancel},id[bu]=function(e,t,n){var r=t.channel,i=t.action,o=t.resolve;Uu((function(){var t;try{t=(r?r.put:e.dispatch)(i)}catch(e){return void n(e,!0)}o&&Fc(t)?rd(t,n):n(t)}))},id.ALL=function(e,t,n,r){var i=r.digestEffect,o=od,a=Object.keys(t);if(0!==a.length){var s=fu(t,n);a.forEach((function(e){i(t[e],o,s[e],e)}))}else n(Bc(t)?[]:{})},id[Iu]=function(e,t,n,r){var i=r.digestEffect,o=od,a=Object.keys(t),s=Bc(t)?su(a.length):{},l={},c=!1;a.forEach((function(e){var t=function(t,r){c||(r||du(t)?(n.cancel(),n(t,r)):(n.cancel(),c=!0,s[e]=t,n(s)))};t.cancel=Kc,l[e]=t})),n.cancel=function(){c||(c=!0,a.forEach((function(e){return l[e].cancel()})))},a.forEach((function(e){c||i(t[e],o,l[e],e)}))},id[xu]=function(e,t,n,r){var i=t.context,o=t.fn,a=t.args,s=r.task;try{var l=o.apply(i,a);if(Fc(l))return void rd(l,n);if(Yc(l))return void vd(e,l,s.context,od,pu(o),!1,n);n(l)}catch(e){n(e,!0)}},id.CPS=function(e,t,n){var r=t.context,i=t.fn,o=t.args;try{var a=function(e,t){Uc(e)?n(t):n(e,!0)};i.apply(r,o.concat(a)),a.cancel&&(n.cancel=a.cancel)}catch(e){n(e,!0)}},id[Mu]=function(e,t,n,r){var i=t.context,o=t.fn,a=t.args,s=t.detached,l=r.task,c=function(e){var t=e.context,n=e.fn,r=e.args;try{var i=n.apply(t,r);if(Yc(i))return i;var o=!1;return ou((function(e){return o?{value:e,done:!0}:(o=!0,{value:i,done:!Fc(i)})}))}catch(e){return ou((function(){throw e}))}}({context:i,fn:o,args:a}),u=function(e,t){return e.isSagaIterator?{name:e.meta.name}:pu(t)}(c,o);_u((function(){var t=vd(e,c,l.context,od,u,s,void 0);s?n(t):t.isRunning()?(l.queue.addTask(t),n(t)):t.isAborted()?l.queue.abort(t.error()):n(t)}))},id.JOIN=function(e,t,n,r){var i=r.task,o=function(e,t){if(e.isRunning()){var n={task:i,cb:t};t.cancel=function(){e.isRunning()&&tu(e.joiners,n)},e.joiners.push(n)}else e.isAborted()?t(e.error(),!0):t(e.result())};if(Bc(t)){if(0===t.length)return void n([]);var a=fu(t,n);t.forEach((function(e,t){o(e,a[t])}))}else o(t,n)},id[wu]=function(e,t,n,r){var i=r.task;t===Dc?sd(i):Bc(t)?t.forEach(sd):sd(t),n()},id[Tu]=function(e,t,n){var r=t.selector,i=t.args;try{n(r.apply(void 0,[e.getState()].concat(i)))}catch(e){n(e,!0)}},id.ACTION_CHANNEL=function(e,t,n){var r=t.pattern,i=Xu(t.buffer),o=qu(r),a=function t(n){Ju(n)||e.channel.take(t,o),i.put(n)},s=i.close;i.close=function(){a.cancel(),s()},e.channel.take(a,o),n(i)},id[Au]=function(e,t,n,r){n(r.task.isCancelled())},id.FLUSH=function(e,t,n){t.flush(n)},id.GET_CONTEXT=function(e,t,n,r){n(r.task.context[t])},id.SET_CONTEXT=function(e,t,n,r){var i=r.task;eu(i.context,t),n()},id);function cd(e,t){return e+"?"+t}function ud(e){var t=e.name,n=e.location;return n?t+" "+cd(n.fileName,n.lineNumber):t}function dd(e){var t,n,r=(t=e,(n=[]).concat.apply(n,t.map((function(e){return e.cancelledTasks}))));return r.length?["Tasks cancelled due to error:"].concat(r).join("\n"):""}var fd=null,pd=[],hd=function(e){e.crashedEffect=fd,pd.push(e)},gd=function(){fd=null,pd.length=0},md=function(e){fd=e},yd=function(){var e,t,n=pd[0],r=pd.slice(1),i=n.crashedEffect?(e=n.crashedEffect,(t=hu(e))?t.code+" "+cd(t.fileName,t.lineNumber):""):null;return["The above error occurred in task "+ud(n.meta)+(i?" \n when executing effect "+i:"")].concat(r.map((function(e){return" created by "+ud(e.meta)})),[dd(pd)]).join("\n")};function vd(e,t,n,r,i,o,a){var s=e.finalizeRunEffect((function(t,n,r){Fc(t)?rd(t,r):Yc(t)?vd(e,t,c.context,n,i,!1,r):t&&t[Ec]?(0,ld[t.type])(e,t.payload,r,u):r(t)}));d.cancel=Kc;var l={meta:i,cancel:function(){l.status===$u&&(l.status=ed,d(Oc))},status:$u},c=function(e,t,n,r,i,o,a){var s;void 0===a&&(a=Kc);var l,c,u=$u,d=null,f=[],p=Object.create(n),h=function(e,t,n){var r,i=[],o=!1;function a(e){t(),l(),n(e,!0)}function s(t){i.push(t),t.cont=function(s,l){o||(tu(i,t),t.cont=Kc,l?a(s):(t===e&&(r=s),i.length||(o=!0,n(r))))}}function l(){o||(o=!0,i.forEach((function(e){e.cont=Kc,e.cancel()})),i=[])}return s(e),{addTask:s,cancelAll:l,abort:a,getTasks:function(){return i}}}(t,(function(){f.push.apply(f,h.getTasks().map((function(e){return e.meta.name})))}),g);function g(t,n){if(n){if(u=td,hd({meta:i,cancelledTasks:f}),m.isRoot){var r=yd();gd(),e.onError(t,{sagaStack:r})}c=t,d&&d.reject(t)}else t===Oc?u=ed:u!==ed&&(u=nd),l=t,d&&d.resolve(t);m.cont(t,n),m.joiners.forEach((function(e){e.cb(t,n)})),m.joiners=null}var m=((s={})[Lc]=!0,s.id=r,s.meta=i,s.isRoot=o,s.context=p,s.joiners=[],s.queue=h,s.cancel=function(){u===$u&&(u=ed,h.cancelAll(),g(Oc,!1))},s.cont=a,s.end=g,s.setContext=function(e){eu(p,e)},s.toPromise=function(){return d||(d=Ou(),u===td?d.reject(c):u!==$u&&d.resolve(l)),d.promise},s.isRunning=function(){return u===$u},s.isCancelled=function(){return u===ed||u===$u&&t.status===ed},s.isAborted=function(){return u===td},s.result=function(){return l},s.error=function(){return c},s);return m}(e,l,n,r,i,o,a),u={task:c,digestEffect:f};return a&&(a.cancel=c.cancel),d(),c;function d(e,n){try{var i;n?(i=t.throw(e),gd()):uu(e)?(l.status=ed,d.cancel(),i=Zc(t.return)?t.return(Oc):{done:!0,value:Oc}):i=cu(e)?Zc(t.return)?t.return():{done:!0}:t.next(e),i.done?(l.status!==ed&&(l.status=nd),l.cont(i.value)):f(i.value,r,d)}catch(e){if(l.status===ed)throw e;l.status=td,l.cont(e,!0)}}function f(t,n,r,i){void 0===i&&(i="");var o,a=ad();function l(n,i){o||(o=!0,r.cancel=Kc,e.sagaMonitor&&(i?e.sagaMonitor.effectRejected(a,n):e.sagaMonitor.effectResolved(a,n)),i&&md(t),r(n,i))}e.sagaMonitor&&e.sagaMonitor.effectTriggered({effectId:a,parentEffectId:n,label:i,effect:t}),l.cancel=Kc,r.cancel=function(){o||(o=!0,l.cancel(),l.cancel=Kc,e.sagaMonitor&&e.sagaMonitor.effectCancelled(a))},s(t,a,l)}}function bd(e,t){for(var n=e.channel,r=void 0===n?Ku():n,i=e.dispatch,o=e.getState,a=e.context,s=void 0===a?{}:a,l=e.sagaMonitor,c=e.effectMiddlewares,u=e.onError,d=void 0===u?au:u,f=arguments.length,p=new Array(f>2?f-2:0),h=2;h<f;h++)p[h-2]=arguments[h];var g,m=t.apply(void 0,p),y=ad();if(l&&(l.rootSagaStarted=l.rootSagaStarted||Kc,l.effectTriggered=l.effectTriggered||Kc,l.effectResolved=l.effectResolved||Kc,l.effectRejected=l.effectRejected||Kc,l.effectCancelled=l.effectCancelled||Kc,l.actionDispatched=l.actionDispatched||Kc,l.rootSagaStarted({effectId:y,saga:t,args:p})),c){var v=Tc.apply(void 0,c);g=function(e){return function(t,n,r){return v((function(t){return e(t,n,r)}))(t)}}}else g=$c;var b={channel:r,dispatch:lu(i),getState:o,sagaMonitor:l,onError:d,finalizeRunEffect:g};return _u((function(){var e=vd(b,m,s,y,pu(t),!0,void 0);return l&&l.effectResolved(y,e),e}))}const Id=function(e){var t,n=void 0===e?{}:e,r=n.context,i=void 0===r?{}:r,o=n.channel,a=void 0===o?Ku():o,s=n.sagaMonitor,l=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(n,["context","channel","sagaMonitor"]);function c(e){var n=e.getState,r=e.dispatch;return t=bd.bind(null,zc({},l,{context:i,channel:a,dispatch:r,getState:n,sagaMonitor:s})),function(e){return function(t){s&&s.actionDispatched&&s.actionDispatched(t);var n=e(t);return a.put(t),n}}}return c.run=function(){return t.apply(void 0,arguments)},c.setContext=function(e){eu(i,e)},c};var xd=function(e){return{done:!0,value:e}},Md={};function wd(e){return Hc(e)?"channel":Vc(e)?String(e):Zc(e)?e.name:String(e)}function Td(e,t,n){var r,i,o,a=t;function s(t,n){if(a===Md)return xd(t);if(n&&!i)throw a=Md,n;r&&r(t);var s=n?e[i](n):e[a]();return a=s.nextState,o=s.effect,r=s.stateUpdater,i=s.errorState,a===Md?xd(t):o}return ou(s,(function(e){return s(null,e)}),n)}function Ad(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o,a={done:!1,value:Nu(e)},s=function(e){return o=e};return Td({q1:function(){return{nextState:"q2",effect:a,stateUpdater:s}},q2:function(){return{nextState:"q1",effect:(e=o,{done:!1,value:ku.apply(void 0,[t].concat(r,[e]))})};var e}},"q1","takeEvery("+wd(e)+", "+t.name+")")}function Cd(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o,a,s={done:!1,value:Nu(e)},l=function(e){return{done:!1,value:ku.apply(void 0,[t].concat(r,[e]))}},c=function(e){return{done:!1,value:Du(e)}},u=function(e){return o=e},d=function(e){return a=e};return Td({q1:function(){return{nextState:"q2",effect:s,stateUpdater:d}},q2:function(){return o?{nextState:"q3",effect:c(o)}:{nextState:"q1",effect:l(a),stateUpdater:u}},q3:function(){return{nextState:"q1",effect:l(a),stateUpdater:u}}},"q1","takeLatest("+wd(e)+", "+t.name+")")}const Nd=function(e,t){return tr(dc(e,t),1)};function Ed(e,t){return function(e,n,r){return function e(n,r){return r.childNodes.reduce(e,((e,n)=>{if("text-answer"===n.name&&null!=n.attributes.maxLength){const r=t[n.attributes.questionId];return("richText"===(null==r?void 0:r.type)||"text"===(null==r?void 0:r.type))&&r.characterCount>n.attributes.maxLength?[...e,{type:"AnswerTooLong",displayNumber:n.attributes.displayNumber,characterCount:r.characterCount}]:e}return e})(n,r))}([],e)}(e)}function Sd(e,t){return function e(n){var r;const i="exam"===n.name?"":n.attributes.displayNumber;switch(n.name){case"exam":case"section":case"question":{const t=n.childNodes.map(e),o=t.filter((e=>e.answerCount>0)),a=null!==(r=n.attributes.maxAnswers)&&void 0!==r?r:1/0,s="section"===n.name?n.attributes.minAnswers:void 0,l="exam"===n.name?o.reduce(((e,t)=>e+t.answerCount),0):o.length,c=Nd(t,(e=>e.extraAnswers));return{answerCount:l,displayNumber:i,extraAnswers:l>a?[{type:"ExtraAnswer",elementType:n.name,displayNumber:i,childQuestions:t.map((e=>e.displayNumber)),maxAnswers:a,minAnswers:s},...c]:c}}case"text-answer":case"scored-text-answer":case"choice-answer":case"dropdown-answer":{const e=t[n.attributes.questionId];return{answerCount:(null==e?void 0:e.value.length)>0?1:0,displayNumber:i,extraAnswers:[]}}}}(e).extraAnswers}function jd(e,t){return Nd([Ed,Sd],(n=>n(e,t)))}const kd={answersById:{},examStructure:{name:"exam",attributes:{},childNodes:[]},focusedQuestionId:null,supportsAnswerHistory:!1,serverQuestionIds:new Set,savedQuestionIds:new Set,validationErrors:[]};function Dd(e,t){const n=new Set(e);return n.add(t),n}const Ld=e=>(0,fs.action)("SAVE_ANSWER",e),Od=e=>(0,fs.action)("SAVE_ANSWER_SUCCEEDED",e),Rd=(e,t)=>(0,fs.action)("SAVE_ANSWER_FAILED",{answer:e,error:t},void 0,!0),Pd=new Map;function*zd(e,t){const n=e.payload;try{yield Lu(1e3),yield ju(t.saveAnswer,n),yield Eu(Od(n))}catch(e){yield Eu(Rd(n,e))}Pd.delete(n.questionId)}function*Ud(e){for(;;){const t=yield Nu("SAVE_ANSWER"),n=Pd.get(t.payload.questionId);n&&(yield Du(n));const r=yield ku(zd,t,e);Pd.set(t.payload.questionId,r)}}function*_d(e){for(;e.selectAnswerVersion;){const t=yield Nu("SELECT_ANSWER_VERSION"),{questionId:n,questionText:r}=t.payload;try{const t=yield ju(e.selectAnswerVersion,n,r);t&&(yield Eu(Ld(t)))}catch(e){console.error(e)}}}function*Zd(e){yield ku(Ud,e),yield ku(_d,e)}const Gd=function(e,t,n,r){var i=!n;n||(n={});for(var o=-1,a=t.length;++o<a;){var s=t[o],l=r?r(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),i?Wn(n,s,l):Vn(n,s,l)}return n};var Bd=Object.prototype.hasOwnProperty;const Fd=function(e){if(!le(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=ie(e),n=[];for(var r in e)("constructor"!=r||!t&&Bd.call(e,r))&&n.push(r);return n},Yd=function(e){return ue(e)?ne(e,!0):Fd(e)};var Wd="object"==typeof exports&&exports&&!exports.nodeType&&exports,Hd=Wd&&"object"==typeof module&&module&&!module.nodeType&&module,Vd=Hd&&Hd.exports===Wd?T.Buffer:void 0,qd=Vd?Vd.allocUnsafe:void 0;const Qd=oe(Object.getPrototypeOf,Object),Jd=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)Kn(t,Ol(e)),e=Qd(e);return t}:jl,Xd=function(e){return Sl(e,Yd,Jd)};var Kd=Object.prototype.hasOwnProperty;const $d=function(e){var t=new e.constructor(e.byteLength);return new Tl(t).set(new Tl(e)),t};var ef=/\w*$/;var tf=A?A.prototype:void 0,nf=tf?tf.valueOf:void 0;const rf=function(e,t,n){var r=e.constructor;switch(t){case"[object ArrayBuffer]":return $d(e);case"[object Boolean]":case"[object Date]":return new r(+e);case"[object DataView]":return function(e,t){var n=t?$d(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);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?$d(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}(e,n);case"[object Map]":case"[object Set]":return new r;case"[object Number]":case"[object String]":return new r(e);case"[object RegExp]":return function(e){var t=new e.constructor(e.source,ef.exec(e));return t.lastIndex=e.lastIndex,t}(e);case"[object Symbol]":return function(e){return nf?Object(nf.call(e)):{}}(e)}};var of=Object.create;const af=function(){function e(){}return function(t){if(!le(t))return{};if(of)return of(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();var sf=K&&K.isMap;const lf=sf?q(sf):function(e){return L(e)&&"[object Map]"==Kl(e)};var cf=K&&K.isSet;const uf=cf?q(cf):function(e){return L(e)&&"[object Set]"==Kl(e)};var df="[object Arguments]",ff="[object Function]",pf="[object Object]",hf={};hf[df]=hf["[object Array]"]=hf["[object ArrayBuffer]"]=hf["[object DataView]"]=hf["[object Boolean]"]=hf["[object Date]"]=hf["[object Float32Array]"]=hf["[object Float64Array]"]=hf["[object Int8Array]"]=hf["[object Int16Array]"]=hf["[object Int32Array]"]=hf["[object Map]"]=hf["[object Number]"]=hf[pf]=hf["[object RegExp]"]=hf["[object Set]"]=hf["[object String]"]=hf["[object Symbol]"]=hf["[object Uint8Array]"]=hf["[object Uint8ClampedArray]"]=hf["[object Uint16Array]"]=hf["[object Uint32Array]"]=!0,hf["[object Error]"]=hf[ff]=hf["[object WeakMap]"]=!1;const gf=function e(t,n,r,i,o,a){var s,l=1&n,c=2&n,u=4&n;if(r&&(s=o?r(t,i,o,a):r(t)),void 0!==s)return s;if(!le(t))return t;var d=_(t);if(d){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Kd.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(t),!l)return function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(t,s)}else{var f=Kl(t),p=f==ff||"[object GeneratorFunction]"==f;if(F(t))return function(e,t){if(t)return e.slice();var n=e.length,r=qd?qd(n):new e.constructor(n);return e.copy(r),r}(t,l);if(f==pf||f==df||p&&!o){if(s=c||p?{}:function(e){return"function"!=typeof e.constructor||ie(e)?{}:af(Qd(e))}(t),!l)return c?function(e,t){return Gd(e,Jd(e),t)}(t,function(e,t){return e&&Gd(t,Yd(t),e)}(s,t)):function(e,t){return Gd(e,Ol(e),t)}(t,function(e,t){return e&&Gd(t,de(t),e)}(s,t))}else{if(!hf[f])return o?t:{};s=rf(t,f,l)}}a||(a=new vl);var h=a.get(t);if(h)return h;a.set(t,s),uf(t)?t.forEach((function(i){s.add(e(i,n,r,i,t,a))})):lf(t)&&t.forEach((function(i,o){s.set(o,e(i,n,r,o,t,a))}));var g=d?void 0:(u?c?Xd:Rl:c?Yd:de)(t);return v(g||t,(function(i,o){g&&(i=t[o=i]),Vn(s,o,e(i,n,r,o,t,a))})),s},mf=function(e,t,n){var r=-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 o=Array(i);++r<i;)o[r]=e[r+t];return o},yf=function(e,t){return null==(e=function(e,t){return t.length<2?e:Fn(e,mf(t,0,-1))}(e,t=Gn(t,e)))||delete e[Bn(Zt(t))]};var vf=Function.prototype,bf=Object.prototype,If=vf.toString,xf=bf.hasOwnProperty,Mf=If.call(Object);const wf=function(e){return function(e){if(!L(e)||"[object Object]"!=D(e))return!1;var t=Qd(e);if(null===t)return!0;var n=xf.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&If.call(n)==Mf}(e)?void 0:e},Tf=sr((function(e,t){var n={};if(null==e)return n;var r=!1;t=Pn(t,(function(t){return t=Gn(t,e),r||(r=t.length>1),t})),Gd(e,Xd(e),n),r&&(n=gf(n,7,wf));for(var i=t.length;i--;)yf(n,t[i]);return n})),Af={errors:{},nowPlaying:null,playbackTimes:{}},Cf=e=>function(t,n){void 0===n&&(n=mu);var r,i=!1,o=Xu(n),a=function(){i||(i=!0,Zc(r)&&r(),o.close())};return r=nu(r=(t=>{const n=setInterval((()=>{--e>0?t(e):(t(Qu),clearInterval(n))}),1e3);return()=>clearInterval(n)})((function(e){Ju(e)?a():o.put(e)}))),i&&r(),{take:o.take,flush:o.flush,close:a}}();function*Nf(e,t){const n=yield ju(Cf,e);try{for(;;){const e=yield Nu(n);yield Eu(t(e))}}finally{(yield Cu(Au,{}))&&n.close()}}function*Ef(e,t){const n=t.payload;try{const t=null!=n.restrictedAudioId?yield function(e){void 0===e&&(e=$c);for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Cu(Tu,{selector:e,args:n})}(Si(n.restrictedAudioId)):void 0,r=null!=t&&null!=n.restrictedAudioId?yield ju(e.playRestrictedAudio,n.src,n.restrictedAudioId,t):yield ju(e.playAudio,n.src);"ok"===r?(yield Eu(hs(n)),yield ju(Nf,n.duration,vs),yield Eu(gs())):(yield Eu(ms(n,r)),yield Lu(5e3),yield Eu(ys(n)))}catch(e){console.error(e)}}function*Sf(e){yield function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return ku.apply(void 0,[Ad,e,t].concat(r))}("PLAY_AUDIO",Ef,e)}const jf={casStatus:"forbidden"},{createAction:kf}=fs.deprecated,Df=e=>(0,fs.action)("ALLOW_CAS_COUNTDOWN",e),Lf=kf("ALLOW_CAS_SUCCEEDED"),Of=kf("ALLOW_CAS_CANCELLED"),Rf=e=>(0,fs.action)("UPDATE_CAS_REMAINING",e);function*Pf(e,{payload:t}){try{if("allowed"===(yield ju(e.setCasStatus,"allowing")))return void(yield Eu(Lf()));yield Eu(Df(t));const{cancelled:i}=yield(n={finished:ju(Nf,t,Rf),cancelled:Nu("ALLOW_CAS_CANCELLED")},r=Cu(Iu,n),r.combinator=!0,r);"allowed"===(yield ju(e.setCasStatus,i?"forbidden":"allowed"))?yield Eu(Lf()):i||(yield Eu(Of()))}catch(e){console.error(e)}var n,r}function*zf(e){yield function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return ku.apply(void 0,[Cd,e,t].concat(r))}("ALLOW_CAS",Pf,e)}const Uf=function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var i=t[r];"function"==typeof e[i]&&(n[i]=e[i])}var o,a=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:bc.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:bc.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+bc.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')}))}(n)}catch(e){o=e}return function(e,t){if(void 0===e&&(e={}),o)throw o;for(var r=!1,i={},s=0;s<a.length;s++){var l=a[s],c=n[l],u=e[l],d=c(u,t);if(void 0===d){var f=xc(l,t);throw new Error(f)}i[l]=d,r=r||d!==u}return(r=r||a.length!==Object.keys(e).length)?i:e}}({answers:function(e=kd,t){switch(t.type){case"SAVE_ANSWER":{const{questionId:n}=t.payload,r=function(e,t){const n=new Set(e);return n.delete(t),n}(e.savedQuestionIds,n),i={...e.answersById,[n]:t.payload};return{...e,savedQuestionIds:r,answersById:i}}case"SAVE_ANSWER_FAILED":default:return e;case"SAVE_ANSWER_SUCCEEDED":{const{questionId:n}=t.payload,r=Dd(e.savedQuestionIds,n),i=Dd(e.serverQuestionIds,n),o=jd(e.examStructure,e.answersById);return{...e,serverQuestionIds:i,savedQuestionIds:r,validationErrors:o}}case"ANSWER_FOCUSED":{const n=t.payload;return{...e,focusedQuestionId:n}}case"ANSWER_BLURRED":{const n=t.payload;return{...e,focusedQuestionId:e.focusedQuestionId===n?null:e.focusedQuestionId}}}},audio:function(e=Af,t){switch(t.type){case"PLAY_AUDIO":{const n=t.payload,r={audio:n,durationRemaining:n.duration};return{...e,nowPlaying:r}}case"PLAY_AUDIO_STARTED":{const n=t.payload;if(null!=n.restrictedAudioId){const t=e.playbackTimes[n.restrictedAudioId],r={...e.playbackTimes,[n.restrictedAudioId]:t?t+1:1},i=Tf(e.errors,[n.src]);return{...e,playbackTimes:r,errors:i}}return e}case"SHOW_AUDIO_ERROR":{const{audio:n,error:r}=t.payload,i=Ci(n,"restrictedAudioId",n.src),o={...e.errors,[i]:r};return{...e,errors:o,nowPlaying:null}}case"HIDE_AUDIO_ERROR":{const n=t.payload,r=Ci(n,"restrictedAudioId",n.src),i=Tf(e.errors,[r]);return{...e,errors:i}}case"PLAY_AUDIO_FINISHED":return{...e,nowPlaying:null};case"UPDATE_REMAINING":{const n=t.payload,r={...e.nowPlaying,durationRemaining:n};return{...e,nowPlaying:r}}default:return e}},cas:function(e=jf,t){switch(t.type){case"ALLOW_CAS":default:return e;case"ALLOW_CAS_COUNTDOWN":case"UPDATE_CAS_REMAINING":return{casStatus:"allowing",durationRemaining:t.payload};case"ALLOW_CAS_SUCCEEDED":return{casStatus:"allowed"};case"ALLOW_CAS_CANCELLED":return{casStatus:"forbidden"}}}});function*_f(e){yield ku(Zd,e),yield ku(Sf,e),yield ku(zf,e)}const Zf=t().memo((function({element:e,className:n,renderChildNodes:r}){return t().createElement("div",{className:ni()("e-audio-group",n)},t().createElement("div",{className:"e-audio-group--separator e-font-size-xl e-mrg-y-4 e-color-link",role:"separator"},"✲✲✲"),r(e))})),Gf=t().memo((function({element:e}){const n=e.getAttribute("src"),r=Ae(e,"duration"),{t:i}=Mr(),o=pi(Ni(n)),a=pi(Ei(n)),s=xi();return t().createElement("div",{className:"e-audio-test notification e-pad-2 e-mrg-b-4"},t().createElement("p",null,i("audio-test.instructions")),t().createElement("div",{className:"e-columns e-columns--center-v e-mrg-b-2"},t().createElement("div",{className:"e-column e-column--narrow"},t().createElement("button",{className:"e-button",disabled:"stopped"!==o,onClick:()=>"stopped"===o&&s(ps({src:n,duration:r}))},t().createElement(wa,{className:"e-mrg-r-1",icon:Ui,fixedWidth:!0}),i("audio-test.play"))),t().createElement("div",{className:"e-column"},t().createElement(ds,{error:a},ye))),t().createElement("div",null,i("audio-test.volume")))})),Bf=({selected:e,element:n,renderChildNodes:r,questionId:i,onSelect:o,direction:a,value:s})=>{const l=n.getAttribute("class"),c=t().createElement("div",{className:ni()("e-choice-answer-option e-column",l,{"e-choice-answer-option--selected":e})},r(n));return"vertical"===a?t().createElement("div",{className:"e-mrg-b-1"},t().createElement("label",{className:ni()("e-columns",{"e-columns--inline":null==Ie(n,["image","video"])})},t().createElement("input",{type:"radio",className:"e-radio-button e-column e-column--narrow",name:String(i),onChange:o,value:s,checked:e}),c)):t().createElement("div",{className:"e-column e-mrg-b-1"},t().createElement("label",{className:"e-block e-text-center"},t().createElement("input",{type:"radio",className:"e-radio-button",name:String(i),onChange:o,value:s,checked:e}),c))},Ff=t().memo((({element:n,renderChildNodes:r})=>{const i=Ae(n,"question-id"),o=n.getAttribute("display-number"),a=n.getAttribute("direction")||"vertical",s=n.getAttribute("class"),{questionLabelIds:l}=(0,e.useContext)(Xs),c=pi((e=>e.answers.answersById[i])),u=xi(),d=(0,e.useCallback)((e=>{u(Ld({type:"choice",questionId:i,value:e.currentTarget.value,displayNumber:o}))}),[i,o]);return t().createElement("div",{className:ni()("e-choice-answer e-mrg-b-4",s,{"e-columns":"horizontal"===a}),"data-question-id":i,role:"radiogroup","aria-labelledby":l},Ne(n,(e=>{const n=e.getAttribute("option-id"),o="no-answer"===e.getAttribute("type")?"":n,s=null!=c&&c.value===o;return t().createElement(Bf,{element:e,onSelect:d,renderChildNodes:r,questionId:i,key:n,direction:a,selected:s,value:o})})))}));function Yf(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function Wf(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function Hf(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return Wf(n.overflowY,t)||Wf(n.overflowX,t)||function(e){var t=function(e){if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}}(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)}(e)}return!1}function Vf(e,t,n,r,i,o,a,s){return o<e&&a>t||o>e&&a<t?0:o<=e&&s<=n||a>=t&&s>=n?o-e-r:a>t&&s<n||o<e&&s>n?a-t+i:0}i(8041);var qf=function(){return qf=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},qf.apply(this,arguments)};Object.create,Object.create;let Qf=0;function Jf(){}function Xf(e,t,n){return e===t||t instanceof n.Node&&e.contains&&e.contains(t)}function Kf(e,t){let n;function r(){n&&clearTimeout(n)}function i(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];r(),n=setTimeout((()=>{n=null,e(...o)}),t)}return i.cancel=r,i}function $f(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return t.some((t=>(t&&t(e,...r),e.preventDownshiftDefault||e.hasOwnProperty("nativeEvent")&&e.nativeEvent.preventDownshiftDefault)))}}function ep(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return e=>{t.forEach((t=>{"function"==typeof t?t(e):t&&(t.current=e)}))}}function tp(){return String(Qf++)}function np(e,t){return Object.keys(e).reduce(((n,r)=>(n[r]=function(e,t){return void 0!==e[t]}(t,r)?t[r]:e[r],n)),{})}function rp(e){const{key:t,keyCode:n}=e;return n>=37&&n<=40&&0!==t.indexOf("Arrow")?`Arrow${t}`:t}function ip(e,t,n,r,i){if(void 0===i&&(i=!0),0===n)return-1;const o=n-1;("number"!=typeof t||t<0||t>=n)&&(t=e>0?-1:o+1);let a=t+e;a<0?a=i?o:0:a>o&&(a=i?0:o);const s=op(e,a,n,r,i);return-1===s?t>=n?-1:t:s}function op(e,t,n,r,i){const o=r(t);if(!o||!o.hasAttribute("disabled"))return t;if(e>0){for(let e=t+1;e<n;e++)if(!r(e).hasAttribute("disabled"))return e}else for(let e=t-1;e>=0;e--)if(!r(e).hasAttribute("disabled"))return e;return i?e>0?op(1,0,n,r,!1):op(-1,n-1,n,r,!1):-1}function ap(e,t,n,r){return void 0===r&&(r=!0),t.some((t=>t&&(Xf(t,e,n)||r&&Xf(t,n.document.activeElement,n))))}const sp=Kf((e=>{lp(e).textContent=""}),500);function lp(e){void 0===e&&(e=document);let t=e.getElementById("a11y-status-message");return t||(t=e.createElement("div"),t.setAttribute("id","a11y-status-message"),t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-relevant","additions text"),Object.assign(t.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),e.body.appendChild(t),t)}const cp={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""};const up=Kf(((e,t)=>{!function(e,t){const n=lp(t);e&&(n.textContent=e,sp(t))}(e(),t)}),200),dp="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?e.useLayoutEffect:e.useEffect;function fp(e){return/^\S{1}$/.test(e)}function pp(e){return`${e.slice(0,1).toUpperCase()}${e.slice(1)}`}function hp(t){const n=(0,e.useRef)(t);return n.current=t,n}function gp(t,n,r){const i=(0,e.useRef)(),o=(0,e.useRef)(),a=(0,e.useCallback)(((e,n)=>{o.current=n,e=np(e,n.props);const r=t(e,n);return n.props.stateReducer(e,{...n,changes:r})}),[t]),[s,l]=(0,e.useReducer)(a,n),c=hp(r),u=(0,e.useCallback)((e=>l({props:c.current,...e})),[c]),d=o.current;return(0,e.useEffect)((()=>{d&&i.current&&i.current!==s&&function(e,t,n){const{props:r,type:i}=e,o={};Object.keys(t).forEach((r=>{!function(e,t,n,r){const{props:i,type:o}=t,a=`on${pp(e)}Change`;i[a]&&void 0!==r[e]&&r[e]!==n[e]&&i[a]({type:o,...r})}(r,e,t,n),n[r]!==t[r]&&(o[r]=n[r])})),r.onStateChange&&Object.keys(o).length&&r.onStateChange({type:i,...o})}(d,np(i.current,d.props),s),i.current=s}),[s,r,d]),[s,u]}const mp={itemToString:function(e){return e?String(e):""},stateReducer:function(e,t){return t.changes},getA11ySelectionMessage:function(e){const{selectedItem:t,itemToString:n}=e;return t?`${n(t)} has been selected.`:""},scrollIntoView:function(e,t){if(!e)return;const n=function(e,t){var n=window,r=t.scrollMode,i=t.block,o=t.inline,a=t.boundary,s=t.skipOverflowHiddenElements,l="function"==typeof a?a:function(e){return e!==a};if(!Yf(e))throw new TypeError("Invalid target");for(var c=document.scrollingElement||document.documentElement,u=[],d=e;Yf(d)&&l(d);){if((d=d.parentElement)===c){u.push(d);break}null!=d&&d===document.body&&Hf(d)&&!Hf(document.documentElement)||null!=d&&Hf(d,s)&&u.push(d)}for(var f=n.visualViewport?n.visualViewport.width:innerWidth,p=n.visualViewport?n.visualViewport.height:innerHeight,h=window.scrollX||pageXOffset,g=window.scrollY||pageYOffset,m=e.getBoundingClientRect(),y=m.height,v=m.width,b=m.top,I=m.right,x=m.bottom,M=m.left,w="start"===i||"nearest"===i?b:"end"===i?x:b+y/2,T="center"===o?M+v/2:"end"===o?I:M,A=[],C=0;C<u.length;C++){var N=u[C],E=N.getBoundingClientRect(),S=E.height,j=E.width,k=E.top,D=E.right,L=E.bottom,O=E.left;if("if-needed"===r&&b>=0&&M>=0&&x<=p&&I<=f&&b>=k&&x<=L&&M>=O&&I<=D)return A;var R=getComputedStyle(N),P=parseInt(R.borderLeftWidth,10),z=parseInt(R.borderTopWidth,10),U=parseInt(R.borderRightWidth,10),_=parseInt(R.borderBottomWidth,10),Z=0,G=0,B="offsetWidth"in N?N.offsetWidth-N.clientWidth-P-U:0,F="offsetHeight"in N?N.offsetHeight-N.clientHeight-z-_:0;if(c===N)Z="start"===i?w:"end"===i?w-p:"nearest"===i?Vf(g,g+p,p,z,_,g+w,g+w+y,y):w-p/2,G="start"===o?T:"center"===o?T-f/2:"end"===o?T-f:Vf(h,h+f,f,P,U,h+T,h+T+v,v),Z=Math.max(0,Z+g),G=Math.max(0,G+h);else{Z="start"===i?w-k-z:"end"===i?w-L+_+F:"nearest"===i?Vf(k,L,S,z,_+F,w,w+y,y):w-(k+S/2)+F/2,G="start"===o?T-O-P:"center"===o?T-(O+j/2)+B/2:"end"===o?T-D+U+B:Vf(O,D,j,P,U+B,T,T+v,v);var Y=N.scrollLeft,W=N.scrollTop;w+=W-(Z=Math.max(0,Math.min(W+Z,N.scrollHeight-S+F))),T+=Y-(G=Math.max(0,Math.min(Y+G,N.scrollWidth-j+B)))}A.push({el:N,top:Z,left:G})}return A}(e,{boundary:t,block:"nearest",scrollMode:"if-needed"});n.forEach((e=>{let{el:t,top:n,left:r}=e;t.scrollTop=n,t.scrollLeft=r}))},circularNavigation:!1,environment:"undefined"==typeof window?{}:window};function yp(e,t,n){void 0===n&&(n=cp);const r=e[`default${pp(t)}`];return void 0!==r?r:n[t]}function vp(e,t,n){void 0===n&&(n=cp);const r=e[t];if(void 0!==r)return r;const i=e[`initial${pp(t)}`];return void 0!==i?i:yp(e,t,n)}function bp(e,t,n,r){const{items:i,initialHighlightedIndex:o,defaultHighlightedIndex:a}=e,{selectedItem:s,highlightedIndex:l}=t;return 0===i.length?-1:void 0!==o&&l===o?o:void 0!==a?a:s?0===n?i.indexOf(s):ip(n,i.indexOf(s),i.length,r,!1):0===n?-1:n<0?i.length-1:0}function Ip(t,n,r){let{isInitialMount:i,highlightedIndex:o,items:a,environment:s,...l}=r;(0,e.useEffect)((()=>{i||up((()=>t({highlightedIndex:o,highlightedItem:a[o],resultCount:a.length,...l})),s.document)}),n)}let xp=Jf;function Mp(e){for(var t=e.keysSoFar,n=e.highlightedIndex,r=e.items,i=e.itemToString,o=e.getItemNodeFromIndex,a=t.toLowerCase(),s=0;s<r.length;s++){var l=(s+n+1)%r.length,c=r[l];if(void 0!==c&&i(c).toLowerCase().startsWith(a)){var u=o(l);if(!(null==u?void 0:u.hasAttribute("disabled")))return l}}return n}da().array.isRequired,da().func,da().func,da().func,da().bool,da().number,da().number,da().number,da().bool,da().bool,da().bool,da().any,da().any,da().any,da().string,da().string,da().string,da().func,da().string,da().func,da().func,da().func,da().func,da().func,da().shape({addEventListener:da().func,removeEventListener:da().func,document:da().shape({getElementById:da().func,activeElement:da().any,body:da().any})});var wp=qf(qf({},mp),{getA11yStatusMessage:function(e){var t=e.isOpen,n=e.resultCount,r=e.previousResultCount;return t?n?n!==r?"".concat(n," result").concat(1===n?" is":"s are"," available, use up and down arrow keys to navigate. Press Enter or Space Bar keys to select."):"":"No results are available.":""}}),Tp=Jf;const Ap=0,Cp=1,Np=2,Ep=3,Sp=4,jp=5,kp=6,Dp=7,Lp=8,Op=11,Rp=13,Pp=14,zp=15,Up=20;var _p=Object.freeze({__proto__:null,MenuKeyDownArrowDown:Ap,MenuKeyDownArrowUp:Cp,MenuKeyDownEscape:Np,MenuKeyDownHome:Ep,MenuKeyDownEnd:Sp,MenuKeyDownEnter:jp,MenuKeyDownSpaceButton:kp,MenuKeyDownCharacter:Dp,MenuBlur:Lp,MenuMouseLeave:9,ItemMouseMove:10,ItemClick:Op,ToggleButtonClick:12,ToggleButtonKeyDownArrowDown:Rp,ToggleButtonKeyDownArrowUp:Pp,ToggleButtonKeyDownCharacter:zp,FunctionToggleMenu:16,FunctionOpenMenu:17,FunctionCloseMenu:18,FunctionSetHighlightedIndex:19,FunctionSelectItem:Up,FunctionSetInputValue:21,FunctionReset:22});function Zp(e,t){const{type:n,props:r,shiftKey:i}=t;let o;switch(n){case Op:o={isOpen:yp(r,"isOpen"),highlightedIndex:yp(r,"highlightedIndex"),selectedItem:r.items[t.index]};break;case zp:{const n=t.key,i=`${e.inputValue}${n}`,a=Mp({keysSoFar:i,highlightedIndex:e.selectedItem?r.items.indexOf(e.selectedItem):-1,items:r.items,itemToString:r.itemToString,getItemNodeFromIndex:t.getItemNodeFromIndex});o={inputValue:i,...a>=0&&{selectedItem:r.items[a]}}}break;case Rp:o={highlightedIndex:bp(r,e,1,t.getItemNodeFromIndex),isOpen:!0};break;case Pp:o={highlightedIndex:bp(r,e,-1,t.getItemNodeFromIndex),isOpen:!0};break;case jp:case kp:o={isOpen:yp(r,"isOpen"),highlightedIndex:yp(r,"highlightedIndex"),...e.highlightedIndex>=0&&{selectedItem:r.items[e.highlightedIndex]}};break;case Ep:o={highlightedIndex:op(1,0,r.items.length,t.getItemNodeFromIndex,!1)};break;case Sp:o={highlightedIndex:op(-1,r.items.length-1,r.items.length,t.getItemNodeFromIndex,!1)};break;case Np:case Lp:o={isOpen:!1,highlightedIndex:-1};break;case Dp:{const n=t.key,i=`${e.inputValue}${n}`,a=Mp({keysSoFar:i,highlightedIndex:e.highlightedIndex,items:r.items,itemToString:r.itemToString,getItemNodeFromIndex:t.getItemNodeFromIndex});o={inputValue:i,...a>=0&&{highlightedIndex:a}}}break;case Ap:o={highlightedIndex:ip(i?5:1,e.highlightedIndex,r.items.length,t.getItemNodeFromIndex,r.circularNavigation)};break;case Cp:o={highlightedIndex:ip(i?-5:-1,e.highlightedIndex,r.items.length,t.getItemNodeFromIndex,r.circularNavigation)};break;case Up:o={selectedItem:t.selectedItem};break;default:return function(e,t,n){const{type:r,props:i}=t;let o;switch(r){case n.ItemMouseMove:o={highlightedIndex:t.disabled?-1:t.index};break;case n.MenuMouseLeave:o={highlightedIndex:-1};break;case n.ToggleButtonClick:case n.FunctionToggleMenu:o={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:bp(i,e,0)};break;case n.FunctionOpenMenu:o={isOpen:!0,highlightedIndex:bp(i,e,0)};break;case n.FunctionCloseMenu:o={isOpen:!1};break;case n.FunctionSetHighlightedIndex:o={highlightedIndex:t.highlightedIndex};break;case n.FunctionSetInputValue:o={inputValue:t.inputValue};break;case n.FunctionReset:o={highlightedIndex:yp(i,"highlightedIndex"),isOpen:yp(i,"isOpen"),selectedItem:yp(i,"selectedItem"),inputValue:yp(i,"inputValue")};break;default:throw new Error("Reducer called without proper action type.")}return{...e,...o}}(e,t,_p)}return{...e,...o}}function Gp(t){void 0===t&&(t={}),Tp(t,Gp);const n={...wp,...t},{items:r,scrollIntoView:i,environment:o,initialIsOpen:a,defaultIsOpen:s,itemToString:l,getA11ySelectionMessage:c,getA11yStatusMessage:u}=n,d=function(e){const t=vp(e,"selectedItem"),n=vp(e,"isOpen"),r=vp(e,"highlightedIndex"),i=vp(e,"inputValue");return{highlightedIndex:r<0&&t&&n?e.items.indexOf(t):r,isOpen:n,selectedItem:t,inputValue:i}}(n),[f,p]=function(e,t,n){const[r,i]=gp(e,t,n);return[np(r,n),i]}(Zp,d,n),{isOpen:h,highlightedIndex:g,selectedItem:m,inputValue:y}=f,v=(0,e.useRef)(null),b=(0,e.useRef)(null),I=(0,e.useRef)({}),x=(0,e.useRef)(!0),M=(0,e.useRef)(null),w=function(t){let{id:n=`downshift-${tp()}`,labelId:r,menuId:i,getItemId:o,toggleButtonId:a,inputId:s}=t;return(0,e.useRef)({labelId:r||`${n}-label`,menuId:i||`${n}-menu`,getItemId:o||(e=>`${n}-item-${e}`),toggleButtonId:a||`${n}-toggle-button`,inputId:s||`${n}-input`}).current}(n),T=(0,e.useRef)(),A=(0,e.useRef)(!0),C=hp({state:f,props:n}),N=(0,e.useCallback)((e=>I.current[w.getItemId(e)]),[w]);Ip(u,[h,g,y,r],{isInitialMount:A.current,previousResultCount:T.current,items:r,environment:o,itemToString:l,...f}),Ip(c,[m],{isInitialMount:A.current,previousResultCount:T.current,items:r,environment:o,itemToString:l,...f});const E=function(t){let{highlightedIndex:n,isOpen:r,itemRefs:i,getItemNodeFromIndex:o,menuElement:a,scrollIntoView:s}=t;const l=(0,e.useRef)(!0);return dp((()=>{n<0||!r||!Object.keys(i.current).length||(!1===l.current?l.current=!0:s(o(n),a))}),[n]),l}({menuElement:b.current,highlightedIndex:g,isOpen:h,itemRefs:I,scrollIntoView:i,getItemNodeFromIndex:N});(0,e.useEffect)((()=>(M.current=Kf((e=>{e({type:21,inputValue:""})}),500),()=>{M.current.cancel()})),[]),(0,e.useEffect)((()=>{y&&M.current(p)}),[p,y]),xp({isInitialMount:A.current,props:n,state:f}),(0,e.useEffect)((()=>{A.current?(a||s||h)&&b.current&&b.current.focus():h?b.current&&b.current.focus():o.document.activeElement===b.current&&v.current&&(x.current=!1,v.current.focus())}),[h]),(0,e.useEffect)((()=>{A.current||(T.current=r.length)}));const S=function(t,n,r,i){const o=(0,e.useRef)({isMouseDown:!1,isTouchMove:!1});return(0,e.useEffect)((()=>{const e=()=>{o.current.isMouseDown=!0},a=e=>{o.current.isMouseDown=!1,t&&!ap(e.target,n.map((e=>e.current)),r)&&i()},s=()=>{o.current.isTouchMove=!1},l=()=>{o.current.isTouchMove=!0},c=e=>{!t||o.current.isTouchMove||ap(e.target,n.map((e=>e.current)),r,!1)||i()};return r.addEventListener("mousedown",e),r.addEventListener("mouseup",a),r.addEventListener("touchstart",s),r.addEventListener("touchmove",l),r.addEventListener("touchend",c),function(){r.removeEventListener("mousedown",e),r.removeEventListener("mouseup",a),r.removeEventListener("touchstart",s),r.removeEventListener("touchmove",l),r.removeEventListener("touchend",c)}}),[t,r]),o}(h,[b,v],o,(()=>{p({type:Lp})})),j=Jf;(0,e.useEffect)((()=>{A.current=!1}),[]),(0,e.useEffect)((()=>{h||(I.current={})}),[h]);const k=(0,e.useMemo)((()=>({ArrowDown(e){e.preventDefault(),p({type:Rp,getItemNodeFromIndex:N,shiftKey:e.shiftKey})},ArrowUp(e){e.preventDefault(),p({type:Pp,getItemNodeFromIndex:N,shiftKey:e.shiftKey})}})),[p,N]),D=(0,e.useMemo)((()=>({ArrowDown(e){e.preventDefault(),p({type:Ap,getItemNodeFromIndex:N,shiftKey:e.shiftKey})},ArrowUp(e){e.preventDefault(),p({type:Cp,getItemNodeFromIndex:N,shiftKey:e.shiftKey})},Home(e){e.preventDefault(),p({type:Ep,getItemNodeFromIndex:N})},End(e){e.preventDefault(),p({type:Sp,getItemNodeFromIndex:N})},Escape(){p({type:Np})},Enter(e){e.preventDefault(),p({type:jp})}," "(e){e.preventDefault(),p({type:kp})}})),[p,N]),L=(0,e.useCallback)((()=>{p({type:16})}),[p]),O=(0,e.useCallback)((()=>{p({type:18})}),[p]),R=(0,e.useCallback)((()=>{p({type:17})}),[p]),P=(0,e.useCallback)((e=>{p({type:19,highlightedIndex:e})}),[p]),z=(0,e.useCallback)((e=>{p({type:Up,selectedItem:e})}),[p]),U=(0,e.useCallback)((()=>{p({type:22})}),[p]),_=(0,e.useCallback)((e=>{p({type:21,inputValue:e})}),[p]),Z=(0,e.useCallback)((e=>({id:w.labelId,htmlFor:w.toggleButtonId,...e})),[w]),G=(0,e.useCallback)((function(e,t){let{onMouseLeave:n,refKey:r="ref",onKeyDown:i,onBlur:o,ref:a,...s}=void 0===e?{}:e,{suppressRefError:l=!1}=void 0===t?{}:t;const c=C.current.state;return j("getMenuProps",l,r,b),{[r]:ep(a,(e=>{b.current=e})),id:w.menuId,role:"listbox","aria-labelledby":w.labelId,tabIndex:-1,...c.isOpen&&c.highlightedIndex>-1&&{"aria-activedescendant":w.getItemId(c.highlightedIndex)},onMouseLeave:$f(n,(()=>{p({type:9})})),onKeyDown:$f(i,(e=>{const t=rp(e);t&&D[t]?D[t](e):fp(t)&&p({type:Dp,key:t,getItemNodeFromIndex:N})})),onBlur:$f(o,(()=>{!1!==x.current?!S.current.isMouseDown&&p({type:Lp}):x.current=!0})),...s}}),[p,C,D,S,j,w,N]),B=(0,e.useCallback)((function(e,t){let{onClick:n,onKeyDown:r,refKey:i="ref",ref:o,...a}=void 0===e?{}:e,{suppressRefError:s=!1}=void 0===t?{}:t;const l={[i]:ep(o,(e=>{v.current=e})),id:w.toggleButtonId,"aria-haspopup":"listbox","aria-expanded":C.current.state.isOpen,"aria-labelledby":`${w.labelId} ${w.toggleButtonId}`,...a};return a.disabled||(l.onClick=$f(n,(()=>{p({type:12})})),l.onKeyDown=$f(r,(e=>{const t=rp(e);t&&k[t]?k[t](e):fp(t)&&p({type:zp,key:t,getItemNodeFromIndex:N})}))),j("getToggleButtonProps",s,i,v),l}),[p,C,k,j,w,N]),F=(0,e.useCallback)((function(e){let{item:t,index:n,onMouseMove:r,onClick:i,refKey:o="ref",ref:a,disabled:s,...l}=void 0===e?{}:e;const{state:c,props:u}=C.current,d=function(e,t,n){return void 0!==e?e:0===n.length?-1:n.indexOf(t)}(n,t,u.items);if(d<0)throw new Error("Pass either item or item index in getItemProps!");const f={disabled:s,role:"option","aria-selected":`${d===c.highlightedIndex}`,id:w.getItemId(d),[o]:ep(a,(e=>{e&&(I.current[w.getItemId(d)]=e)})),...l};return s||(f.onClick=$f(i,(()=>{p({type:Op,index:n})}))),f.onMouseMove=$f(r,(()=>{n!==c.highlightedIndex&&(E.current=!1,p({type:10,index:n,disabled:s}))})),f}),[p,C,E,w]);return{getToggleButtonProps:B,getLabelProps:Z,getMenuProps:G,getItemProps:F,toggleMenu:L,openMenu:R,closeMenu:O,setHighlightedIndex:P,selectItem:z,reset:U,setInputValue:_,highlightedIndex:g,isOpen:h,selectedItem:m,inputValue:y}}Gp.stateChangeTypes=_p,da().array.isRequired,da().func,da().func,da().func,da().bool,da().number,da().number,da().number,da().bool,da().bool,da().bool,da().any,da().any,da().any,da().string,da().string,da().string,da().string,da().string,da().string,da().func,da().string,da().string,da().func,da().func,da().func,da().func,da().func,da().func,da().shape({addEventListener:da().func,removeEventListener:da().func,document:da().shape({getElementById:da().func,activeElement:da().any,body:da().any})}),da().array,da().array,da().array,da().func,da().func,da().func,da().number,da().number,da().number,da().func,da().func,da().string,da().string,da().shape({addEventListener:da().func,removeEventListener:da().func,document:da().shape({getElementById:da().func,activeElement:da().any,body:da().any})});const Bp=function(e,t){return e>t},Fp=function(e){return e&&e.length?function(e,t,n){for(var r=-1,i=e.length;++r<i;){var o=e[r],a=t(o);if(null!=a&&(void 0===s?a==a&&!Jt(a):n(a,s)))var s=a,l=o}return l}(e,he,Bp):void 0};var Yp=i(5082),Wp=i.n(Yp);const Hp=Promise.all([new(Wp())("Noto Sans",{weight:300}).load(),new(Wp())("Noto Sans",{weight:400}).load(),new(Wp())("Noto Sans",{weight:600}).load()]).then((()=>{Vp=!0})).catch(Gt);let Vp=!1;const qp=({id:e,size:n="small",score:r})=>{const{t:i}=Mr(),o="inline"===n?"sup":"span";return t().createElement(o,{className:ni()("e-score e-nowrap",{"e-score--small e-font-size-m e-semibold":"small"===n,"e-score--large e-font-size-l e-semibold":"large"===n,"e-score--inline e-font-size-xs":"inline"===n}),id:e},i("points",{count:r}))},Qp=!navigator.userAgent.includes("jsdom/"),Jp=t().memo((({element:n,renderChildNodes:r})=>{const i=Ae(n,"question-id"),o=Ae(n,"max-score"),a=pi((e=>e.answers.answersById[i])),s=xi(),l=n.getAttribute("display-number"),c=a&&a.value&&we(n,(e=>a.value===e.getAttribute("option-id"))),u=(0,e.useRef)(null),d=t().useRef(null),[f,p]=(0,e.useState)(!0);if(Qp){const[,t]=(0,e.useState)(Vp);Hp.then((()=>t(!0))).catch((e=>console.error(e))),(0,e.useEffect)((()=>p(!0)),[n]),(0,e.useEffect)((()=>{if(f&&d.current&&u.current){const e=d.current,t=u.current,n=Fp(Ne(e,(e=>e.firstElementChild.scrollWidth))),r=requestAnimationFrame((()=>{t.style.width=`${n+2+1}px`,p(!1)}));return()=>cancelAnimationFrame(r)}}))}const h=["",...n.children],{answers:g,questionLabelIds:m}=(0,e.useContext)(Xs),{getItemProps:y,getMenuProps:v,getToggleButtonProps:b,highlightedIndex:I,isOpen:x,selectedItem:M}=Gp({items:h,itemToString:e=>e?e.textContent:"",onSelectedItemChange:({selectedItem:e})=>{const t=e?e.getAttribute("option-id"):"";s(Ld({type:"choice",questionId:i,value:t,displayNumber:l}))},initialSelectedItem:c}),{t:w}=Mr(),T=Pr(n);return t().createElement("span",{className:"e-nowrap"},t().createElement("span",{className:ni()("e-dropdown-answer e-normal"),"data-question-id":i},t().createElement("button",{className:ni()("e-dropdown-answer__toggle-button e-button-plain e-columns",{"e-dropdown-answer__toggle-button--open":x}),...b({"aria-describedby":T,"aria-labelledby":m},{suppressRefError:!Qp})},t().createElement("span",{className:"e-dropdown-answer__label e-column e-pad-l-1 e-pad-r-4"},t().createElement("span",{className:"e-ellipsis e-block",ref:u},M?r(M):t().createElement("span",{"aria-label":w.raw("dropdown-answer.label")},ye))),t().createElement("span",{className:ni()("e-dropdown-answer__toggle-icon e-text-center e-column e-column--narrow e-column--gapless e-color-link")},t().createElement(wa,{icon:x?Li:Di}))),t().createElement("span",{...v({className:ni()("e-dropdown-answer__menu",{"e-dropdown-answer__menu--open":x}),"aria-labelledby":void 0,ref:d},{suppressRefError:!Qp})},h.map(((e,n)=>t().createElement("span",{className:ni()("e-dropdown-answer__menu-item e-block e-pad-l-1 e-pad-r-4",{"e-dropdown-answer__menu-item--selected":e===M,"e-bg-color-off-white":I!==n,"e-bg-color-link e-color-off-white":I===n}),key:n,...y({item:e,index:n})},t().createElement("span",{className:ni()("e-dropdown-answer__menu-item-inner e-block",{"e-nowrap":f})},e?r(e):t().createElement("span",{"aria-label":w.raw("dropdown-answer.clear")},ye))))))),g.length>1&&t().createElement(qp,{score:o,size:"inline",id:T}))})),Xp=t().memo((function({maxAnswers:e,minAnswers:n,elementType:r,childQuestions:i}){const o=i.map((e=>{return"string"==typeof(t=e)||!_(t)&&L(t)&&"[object String]"==D(t)?e:e.getAttribute("display-number");var t})),{t:a}=Mr(),s=function(e,t,n){const r=[];for(const i of e)for(const e of t)for(const t of n)r.push([i,e,t]);return r}([o.length,"*"],[e,"*"],[null!=n?n:e,"*"]).map((([e,t,n])=>`answering-instructions.${r}_${e}_${n}_${t}`)),l=[n,e],c=[_t(o),Zt(o)];return t().createElement(t().Fragment,null,a(s,{answerCount:l,questions:c}))})),Kp=e=>{const{t:n}=Mr(),{displayNumber:r,elementType:i}=e;return t().createElement("div",null,"exam"!==i&&"toc-section"!==i?n(i,{displayNumber:r})||t().createElement(th,{...e}):""," ",t().createElement(Xp,{...e}))},$p=({displayNumber:e,characterCount:n})=>{const{t:r}=Mr();return t().createElement("div",null,r("question",{displayNumber:e})," ",r("answer-errors.answer-too-long",{count:n}))};function eh({validationErrors:e,inExam:n}){return e.length>0?t().createElement("div",{className:ni()({"error-indicator e-bg-color-error e-color-off-white":n},"e-columns e-columns--inline e-font-size-xs e-pad-1 e-mrg-r-1"),role:"alert"},t().createElement("div",{className:"e-column e-column--narrow"},t().createElement(wa,{size:"lg",icon:Oi,fixedWidth:!0,className:"e-mrg-r-1"})),t().createElement("div",{className:"e-column e-column--gapless"},e.map((e=>{const n=e.type+e.displayNumber;return"ExtraAnswer"===e.type?t().createElement(Kp,{...{...e,key:n}}):t().createElement($p,{...{...e,key:n}})})))):null}const th=({elementType:n,displayNumber:r})=>{if("section"===n){const{root:n}=(0,e.useContext)(Vr),i=we(n,(e=>"section"===e.localName&&e.getAttribute("display-number")===r));if(i){const e=we(i,"section-title");if(e)return t().createElement(t().Fragment,null,`${e.textContent.trim()}:`)}}return null},nh=t().memo((()=>{const e=pi((e=>e.answers.validationErrors));return t().createElement(eh,{validationErrors:e,inExam:!0})})),rh=t().memo(Kr((function({element:n,renderChildNodes:r}){const{isExternal:i}=(0,e.useContext)(Xr);return i?null:t().createElement("span",{className:"exam-attachment e-mrg-b-2"},r(n))}))),ih=t().memo((function({element:e,renderChildNodes:n}){return t().createElement($s,null,n(e))})),oh=t().memo((function({element:e,renderChildNodes:n}){return t().createElement("div",{className:"exam-instruction notification e-pad-4"},n(e))})),ah=t().memo(Ks((function({element:n,renderChildNodes:r}){const i=pi((e=>e.cas.casStatus)),{casForbidden:o}=(0,e.useContext)(sl),{displayNumber:a,level:s}=(0,e.useContext)(Xs);return o&&"forbidden"!==i?null:t().createElement("div",{className:ni()("exam-question",{"e-mrg-b-8 e-clearfix":0===s,"e-mrg-l-8 e-mrg-y-4":s>0}),id:a},r(n))}))),sh=t().memo((function({element:e,renderChildNodes:n}){const r=Dr(e);return t().createElement("div",{className:"exam-question-instruction e-mrg-b-2",id:r},n(e))})),lh=()=>t().createElement(wa,{size:"lg",icon:zi,fixedWidth:!0,className:"e-color-link e-mrg-r-1"}),ch=t().memo((({element:n,renderChildNodes:r})=>{const{displayNumber:i,maxScore:o,level:a,maxAnswers:s,childQuestions:l}=(0,e.useContext)(Xs),c=`h${Math.min(3+a,6)}`,u=kr(i);return t().createElement(t().Fragment,null,t().createElement(c,{id:u,className:ni()("exam-question-title",{"e-normal e-font-size-m":a>0})},t().createElement("strong",{className:ni()("exam-question-title__display-number",{"exam-question-title__display-number--indented":a>0})},`${tl(i)} `),r(n)," ",t().createElement(qp,{score:o,size:0===a?"large":"small"})),null!=s&&l.length>0&&t().createElement("p",{className:"e-italic"},t().createElement(lh,null),t().createElement(Xp,{maxAnswers:s,childQuestions:l,elementType:"question"})))})),uh=({duration:n,durationRemaining:r,className:i})=>{const o=(0,e.useRef)(null),[a,s]=(0,e.useState)(!1);return(0,e.useEffect)((()=>{o.current.clientTop,s(!0)}),[]),t().createElement("div",{className:ni()("e-progress-bar",i),ref:o},t().createElement("div",{className:ni()("e-progress-bar__fill",{"e-progress-bar__fill--animating":a}),style:{transitionDuration:`${n}s`},role:"progressbar","aria-valuemax":n,"aria-valuemin":0,"aria-valuenow":n-r}))};function dh(){const{t:e}=Mr();return t().createElement("p",null,t().createElement("em",null,e("end-of-exam")))}function fh(n){const r=xi(),{t:i}=Mr(),{casCountdownDuration:o}=(0,e.useContext)(il);return t().createElement("div",{className:"e-cas-controls"},"forbidden"===n.casStatus?t().createElement("div",{className:"e-text-center"},t().createElement("hr",{className:"e-exam-separator"}),t().createElement("p",{id:"e-cas-controls-forbidden-description"},i("cas.forbidden.infoText")),t().createElement("button",{className:"e-button",id:"allow-cas",onClick:()=>{return r((e=o,(0,fs.action)("ALLOW_CAS",e)));var e},"aria-describedby":"e-cas-controls-forbidden-description"},i("cas.forbidden.buttonText"))):"allowing"===n.casStatus?t().createElement("div",{className:"e-text-center",ref:e=>null!=e&&o===n.durationRemaining&&e.scrollIntoView()},t().createElement("hr",{className:"e-exam-separator"}),t().createElement("p",{id:"e-cas-controls-allowing-description"},i("cas.allowing.infoText")),t().createElement(uh,{className:"e-mrg-b-2",duration:o,durationRemaining:n.durationRemaining}),t().createElement("button",{className:"e-button",id:"allow-cas-cancelled",onClick:()=>r(Of()),ref:e=>null!=e&&o===n.durationRemaining&&e.focus(),"aria-describedby":"e-cas-controls-allowing-description"},i("cas.allowing.cancel",{count:n.durationRemaining}))):t().createElement("div",{className:"notification e-text-left e-mrg-b-0"},i("cas.allowed.infoText")))}const ph=t().memo(ll((function({element:n,renderChildNodes:r}){const i=pi((e=>e.cas),wi),{casForbidden:o,displayNumber:a}=(0,e.useContext)(sl),{sections:s}=(0,e.useContext)(Vr),l=n===Zt(s);return t().createElement($s,{className:"exam-section","aria-labelledby":jr(a)},r(n),o&&t().createElement(fh,{...i}),l&&t().createElement(dh,null))}))),hh=t().memo((function({element:n,renderChildNodes:r}){const{sections:i}=(0,e.useContext)(Vr),{displayNumber:o,minAnswers:a,maxAnswers:s,childQuestions:l}=(0,e.useContext)(sl),{t:c}=Mr();return t().createElement(t().Fragment,null,n.hasChildNodes()&&t().createElement("h2",{className:"exam-section-title",id:jr(o)},i.length>1&&c("section",{displayNumber:o})," ",r(n)),null!=s&&t().createElement("span",{className:"notification notification--inline"},t().createElement(lh,null),t().createElement(Xp,{maxAnswers:s,minAnswers:a,childQuestions:l,elementType:"section"})))}));function gh(e){return`${Zt(e.split("."))}.`}function mh({answer:e,focusedQuestionId:n,renderChildNodes:r}){const i=Ae(e,"question-id"),o=e.getAttribute("display-number"),a=we(e,"hint");return t().createElement("p",{className:ni()("e-hints__hint",{"e-hints__hint--focused":n===i}),onClick:()=>{const e=document.querySelector(`.text-answer[data-question-id="${i}"]`);e&&e.focus()},"data-question-id":i},gh(o)," ",r(a))}const yh=({element:e,renderChildNodes:n})=>{const r=pi((e=>e.answers.focusedQuestionId)),i=xe(e,["text-answer","scored-text-answer"]).filter((e=>null!=we(e,"hint")));return i.length>0?t().createElement("div",{className:"e-columns"},t().createElement("div",{className:"e-column e-column--8"},n(e)),t().createElement("div",{className:"e-hints e-column e-column--4","aria-hidden":"true"},i.map(((e,i)=>t().createElement(mh,{answer:e,focusedQuestionId:r,renderChildNodes:n,key:i}))))):t().createElement(t().Fragment,null,n(e))},vh=ke({}),bh=t().memo((function(n){const{root:r}=(0,e.useContext)(Vr),{t:i}=Mr(),o=xe(r,"reference").filter((e=>null==Me(e,"external-material")));return o.length>0?t().createElement($s,{"aria-labelledby":Sr},t().createElement("h2",{id:Sr},i("references.heading")),t().createElement("ol",{className:"e-list-data"},o.map(((e,n)=>{const r=Me(e,"question").getAttribute("display-number");return t().createElement("li",{"data-list-number":tl(r),key:`${r}${n}`},t().createElement(Ls,{element:e,renderChildNodes:vh}))})))):null})),Ih=t().memo((function(){const e=pi(ki),{t:n}=Mr();return"initial"===e?null:t().createElement("div",{className:"save-indicator e-pad-1 e-font-size-xs"},t().createElement("span",{className:ni()("save-indicator-text",`save-indicator-text--${e}`)},n("answer-saved")))})),xh=t().memo((function({element:e,renderChildNodes:n}){return t().createElement("div",{className:"e-mrg-b-2"},n(e))})),Mh=n=>{const{showAttachmentLinks:r,showAnsweringInstructions:i}=n,o=({element:n})=>{const{sections:r}=(0,e.useContext)(Vr),{childQuestions:o,displayNumber:s,minAnswers:l,maxAnswers:c}=(0,e.useContext)(sl),{t:u}=Mr();return t().createElement(t().Fragment,null,n.hasChildNodes()&&t().createElement("h4",{className:"toc-section-header",id:Rr(s)},r.length>1&&u("section",{displayNumber:s})," ",a(n)),i&&null!=c&&t().createElement("div",null,t().createElement(Xp,{maxAnswers:c,minAnswers:l,childQuestions:o,elementType:"toc-section"})))},a=ke({section:ll((({element:n,renderChildNodes:r})=>{const{displayNumber:i}=(0,e.useContext)(sl),a=we(n,"section-title");return t().createElement("li",null,a&&t().createElement(o,{element:a,renderChildNodes:r}),t().createElement("ol",{className:"e-list-data e-pad-l-0","aria-labelledby":a&&Rr(i)},r(n,1)))})),question:Ks((({element:n})=>{const{attachmentsURL:i}=(0,e.useContext)(Vr),{displayNumber:o,maxScore:s}=(0,e.useContext)(Xs),{t:l}=Mr(),c=we(n,"question-title"),u=r&&null!=o&&Ie(n,"external-material");return t().createElement("li",{"data-list-number":`${o}.`},t().createElement("div",{className:"e-columns"},t().createElement("span",{className:"e-column"},t().createElement("a",{href:Fr("",{hash:o})},a(c))),u&&t().createElement("span",{className:"e-column e-column--narrow"},t().createElement("a",{href:Fr(i,{hash:Te(Me(u,"question"),"display-number")}),target:"attachments"},l("material"))),t().createElement("span",{className:"e-column e-column--narrow table-of-contents--score-column"},l("points",{count:s}))))}))});return t().memo((()=>{const{root:n,maxScore:r}=(0,e.useContext)(Vr),{t:i}=Mr();return t().createElement("nav",{className:"table-of-contents e-mrg-b-6","aria-labelledby":Zr},t().createElement("h2",{id:Zr},i("toc-heading")),t().createElement("ol",{className:"e-list-plain e-pad-l-0"},a(n)),t().createElement("div",{className:"e-columns"},t().createElement("strong",{className:"e-column"},i("exam-total")),t().createElement("strong",{className:"e-column e-column--narrow table-of-contents--score-column"},i("points",{count:r}))))}))},wh=t().memo((function({answer:e,element:n,screenshotError:r,validationError:i,selectAnswerVersion:o,showAnswerHistory:a=!1,supportsAnswerHistory:s=!1}){const{t:l}=Mr(),c=null==e?void 0:e.characterCount,u=Ae(n,"max-length");return t().createElement("div",{className:"answer-toolbar e-font-size-xs e-columns e-mrg-b-2"},t().createElement("div",{className:ni()("answer-toolbar__answer-length e-column",{"e-color-error":null!=i})},null!=e?l(null!=u?"answer-length-with-max-length":"answer-length",{count:c,maxLength:u}):ye,r?t().createElement("span",{className:"e-color-error",role:"alert"}," ",l(`answer-errors.${r.key}`,r.options)):i?t().createElement("span",null," ",l("answer-errors.answer-too-long",{count:i.characterCount})):null),t().createElement("div",{className:"answer-toolbar__history e-column e-column--narrow e-text-right"},s&&t().createElement("div",{className:"answer-toolbar__select-previous-version"},a&&null!=e?t().createElement("button",{className:"answer-toolbar__previous-versions e-link-button e-font-size-xs",onClick:()=>{if(o){const t=we(Me(n,"question"),"question-title");o(e.questionId,t.textContent)}}},l("previous-answer-versions")):ye)))}));var Th=i(8291),Ah=i.n(Th),Ch=i(4330),Nh=i.n(Ch);const Eh={allowedTags:["img","br"],allowedAttributes:{img:["src","alt"]},allowedSchemes:["data"],exclusiveFilter:e=>"mathEditor"===e.attribs["data-js"]},Sh={locale:"FI",screenshotSaver:()=>Promise.resolve(""),baseUrl:"",ignoreSaveObject:!1,screenshotImageSelector:'img[src^="/screenshot/"], img[src^="data:image/png"], img[src^="data:image/gif"], img[src^="data:image/jpeg"]',invalidImageSelector:'img:not(img[src^="data"], img[src^="/math.svg?latex="], img[src^="/screenshot/"])',fileTypes:["image/png","image/jpeg"],sanitize:function(e){return Nh()(function(e){const t=document.createElement("div");t.innerHTML=e;do{let e;for(let n=0;n<t.childNodes.length;n++){const r=t.childNodes[n];if(kh(r)){for(e&&e.nodeType===Node.TEXT_NODE&&/\S/.test(e.textContent)&&t.insertBefore(document.createElement("br"),r),r.lastChild&&"BR"!==r.lastChild.nodeName&&r.insertBefore(document.createElement("br"),null);r.childNodes.length;)t.insertBefore(r.firstChild,r);t.removeChild(r)}e=r}}while(Array.prototype.some.call(t.childNodes,(e=>kh(e))));return t.innerHTML}(Nh()(function(e){return e.replace(new RegExp(document.location.origin,"g"),"")}(e),Object.assign(Object.assign({},Eh),{allowedTags:["div","p","img","br"]}))),Eh)},updateMathImg:void 0},jh='img[src^="/math.svg?latex="]:not(img[src="/math.svg?latex="]), img[src^="data:image/svg+xml"]';function kh(e){return"DIV"===e.nodeName||"P"===e.nodeName}function Dh(e,t){const n=e.selectionStart,r=e.selectionEnd;let i=e.value;e.value=i.substring(0,n)+t+i.substring(r,i.length),e.selectionStart=e.selectionEnd=n+t.length}function Lh(e,t){return Rh(e,!e.altKey&&!e.shiftKey&&e.ctrlKey&&Oh(e,t))}function Oh(e,t){return"string"==typeof t?e.key===t:e.keyCode===t}function Rh(e,t){return t&&e.preventDefault(),t}function Ph(e){return e.replace(/^(\n)*/g,"").replace(/(\s)*$/g,"")}function zh(e){return 0===e.length?null:e[e.length-1]}const Uh=[{label:"Perusmerit ja kreikkalaiset aakkoset",characters:[{character:"°",popular:!0},{character:"·",latexCommand:"\\cdot",popular:!0},{character:"×",latexCommand:"\\times",popular:!0},{character:"±",latexCommand:"\\pm",popular:!0},{character:"∞",latexCommand:"\\infty",popular:!0},{character:"²",latexCommand:"^2",popular:!0},{character:"³",latexCommand:"^3",popular:!0},{character:"½",latexCommand:"\\frac{1}{2}",popular:!0},{character:"⅓",latexCommand:"\\frac{1}{3}",popular:!0},{character:"π",latexCommand:"\\pi",popular:!0},{character:"‰",latexCommand:"‰",popular:!0},{character:"α",latexCommand:"\\alpha",popular:!0},{character:"β",latexCommand:"\\beta",popular:!0},{character:"Γ",latexCommand:"\\Gamma"},{character:"γ",latexCommand:"\\gamma"},{character:"Δ",latexCommand:"\\Delta"},{character:"δ",latexCommand:"\\delta"},{character:"ε",latexCommand:"\\varepsilon"},{character:"ζ",latexCommand:"\\zeta"},{character:"η",latexCommand:"\\eta"},{character:"θ",latexCommand:"\\theta"},{character:"ϑ",latexCommand:"\\vartheta"},{character:"ι",latexCommand:"\\iota"},{character:"κ",latexCommand:"\\kappa"},{character:"Λ",latexCommand:"\\Lambda"},{character:"λ",latexCommand:"\\lambda"},{character:"µ",latexCommand:"\\mu"},{character:"ν",latexCommand:"\\nu"},{character:"Ξ",latexCommand:"\\Xi"},{character:"ξ",latexCommand:"\\xi"},{character:"∏",latexCommand:"\\Pi"},{character:"ρ",latexCommand:"\\rho"},{character:"∑",latexCommand:"\\Sigma"},{character:"σ",latexCommand:"\\sigma"},{character:"τ",latexCommand:"\\tau"},{character:"Υ",latexCommand:"\\Upsilon"},{character:"υ",latexCommand:"\\upsilon"},{character:"Φ",latexCommand:"\\Phi"},{character:"Ф",latexCommand:"\\phi"},{character:"χ",latexCommand:"\\chi"},{character:"Ψ",latexCommand:"\\Psi"},{character:"ψ",latexCommand:"\\psi"},{character:"Ω",latexCommand:"\\Omega"},{character:"ω",latexCommand:"\\omega"},{character:"∂",latexCommand:"\\partial"},{character:"φ",latexCommand:"\\varphi"}]},{label:"Algebra",characters:[{character:"≠",latexCommand:"\\neq",popular:!0},{character:"≈",latexCommand:"\\approx",popular:!0},{character:"≤",latexCommand:"\\leq",popular:!0},{character:"≥",latexCommand:"\\geq"},{character:"<"},{character:">"},{character:"∼",latexCommand:"\\sim"},{character:"≡",latexCommand:"\\equiv"},{character:"≢",latexCommand:"\\not\\equiv"},{character:"∘",latexCommand:"\\circ"},{character:"…",latexCommand:"\\ldots"},{character:"∝",latexCommand:"\\propto"}]},{label:"Geometria ja vektorioppi",characters:[{character:"∢",latexCommand:"\\sphericalangle",popular:!0},{character:"|",latexCommand:"\\mid",popular:!0},{character:"‖",latexCommand:"\\parallel",popular:!0},{character:"⇌",latexCommand:"\\xrightleftharpoons",noWrite:!0},{character:"⇅"},{character:"∠",latexCommand:"\\angle"},{character:"↑",latexCommand:"\\uparrow"},{character:"↗",latexCommand:"\\nearrow"},{character:"↘",latexCommand:"\\searrow"},{character:"↓",latexCommand:"\\downarrow"},{character:"↔",latexCommand:"\\leftrightarrow"},{character:"⊥",latexCommand:"\\perp"}]},{label:"Logiikka ja joukko-oppi",characters:[{character:"→",latexCommand:"\\rightarrow",popular:!0},{character:"⇒",latexCommand:"\\Rightarrow",popular:!0},{character:"⇔",latexCommand:"\\Leftrightarrow",popular:!0},{character:"∈",latexCommand:"\\in",popular:!0},{character:"ℤ",latexCommand:"\\mathbb{Z}",popular:!0},{character:"ℝ",latexCommand:"\\mathbb{R}",popular:!0},{character:"∃",latexCommand:"\\exists"},{character:"∀",latexCommand:"\\forall"},{character:"ℕ",latexCommand:"\\mathbb{N}"},{character:"ℚ",latexCommand:"\\mathbb{Q}"},{character:"∩",latexCommand:"\\cap"},{character:"∪",latexCommand:"\\cup"},{character:"∖",latexCommand:"\\setminus"},{character:"⊂",latexCommand:"\\subset"},{character:"⊄",latexCommand:"\\notsubset"},{character:"∉",latexCommand:"\\notin"},{character:"∅",latexCommand:"\\empty"},{character:"∧",latexCommand:"\\and"},{character:"∨",latexCommand:"\\or"},{character:"¬"},{character:"∇",latexCommand:"\\nabla"}]}],_h=[{action:"\\sqrt",label:"\\sqrt{X}",svg:"data:image/svg+xml;base64,PHN2ZyB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgd2lkdGg9IjMuNzQ0ZXgiIGhlaWdodD0iMi44NDNleCIgc3R5bGU9InZlcnRpY2FsLWFsaWduOiAtMC44MzhleDsiIHZpZXdCb3g9IjAgLTg2My4xIDE2MTIgMTIyMy45IiByb2xlPSJpbWciIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgYXJpYS1sYWJlbGxlZGJ5PSJNYXRoSmF4LVNWRy0xLVRpdGxlIj4KPHRpdGxlIGlkPSJNYXRoSmF4LVNWRy0xLVRpdGxlIj5cc3FydHtcc3F1YXJlfTwvdGl0bGU+CjxkZWZzIGFyaWEtaGlkZGVuPSJ0cnVlIj4KPHBhdGggc3Ryb2tlLXdpZHRoPSIxIiBpZD0iRTEtTEFUSU5NT0RFUk5NQUlOLTI1QTEiIGQ9Ik03MjIgLTYzYzAgLTExIC05IC0yMCAtMjAgLTIwaC02MjZjLTExIDAgLTIwIDkgLTIwIDIwdjYyNmMwIDExIDkgMjAgMjAgMjBoNjI2YzExIDAgMjAgLTkgMjAgLTIwdi02MjZ6TTY4MiA1NDNoLTU4NnYtNTg2aDU4NnY1ODZaIj48L3BhdGg+CjxwYXRoIHN0cm9rZS13aWR0aD0iMSIgaWQ9IkUxLUxBVElOTU9ERVJOTUFJTi0yMjFBIiBkPSJNODUzIDIwYzAgLTUgLTEgLTYgLTYgLTE3bC00NTYgLTk0NGMtNyAtMTUgLT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PSJNYXRoSmF4LVNWRy0xLVRpdGxlIj4KPHRpdGxlIGlkPSJNYXRoSmF4LVNWRy0xLVRpdGxlIj5cbWF0aHJte1R9PC90aXRsZT4KPGRlZnMgYXJpYS1oaWRkZW49InRydWUiPgo8cGF0aCBzdHJva2Utd2lkdGg9IjEiIGlkPSJFMS1MQVRJTk1PREVSTk1BSU4tNTQiIGQ9Ik02ODUgNDUyaC0yNWMtMTQgMTYxIC0yOSAxOTQgLTE4MCAxOTRjLTE5IDAgLTQ2IDAgLTU3IC0yYy0xOCAtNCAtMTggLTE4IC0xOCAtMzh2LTUyN2MwIC0zNCAwIC00OCAxMDUgLTQ4aDQwdi0zMWMtNDEgMyAtMTQ0IDMgLTE5MCAzcy0xNDggMCAtMTg5IC0zdjMxaDQwYzEwNSAwIDEwNSAxNCAxMDUgNDh2NTI3YzAgMjMgMCAzNCAtMjEgMzhjLTEwIDIgLTM2IDIgLTU0IDJjLTE1MSAwIC0xNjYgLTMzIC0xODAgLTE5NGgtMjVsMTkgMjI1IGg2MTFaIj48L3BhdGg+CjwvZGVmcz4KPGcgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIGZpbGw9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIwIiB0cmFuc2Zvcm09Im1hdHJpeCgxIDAgMCAtMSAwIDApIiBhcmlhLWhpZGRlbj0idHJ1ZSI+CiA8dXNlIHhsaW5rOmhyZWY9IiNFMS1MQVRJTk1PREVSTk1BSU4tNTQiIHg9IjAiIHk9IjAiPjwvdXNlPgo8L2c+Cjwvc3ZnPg=="}];const Zh=e=>`<button class="rich-text-editor-button rich-text-editor-button-grid${e.popular?" rich-text-editor-characters-popular":""}" ${e.latexCommand?`data-command="${e.latexCommand}"`:""} data-usewrite="${!e.noWrite}">${e.character}</button>`,Gh=e=>e.characters.filter((e=>e.popular)).length,Bh="data:image/gif;base64,R0lGODlhEAAQAPQAAP///wAAAPDw8IqKiuDg4EZGRnp6egAAAFhYWCQkJKys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XNxbC5waHA8L2I+IG9uIGxpbmUgPGI+Njg8L2I+PGJyIC8+Cg==";function Fh(e,t,n,r){setTimeout((()=>Promise.all(function(e,t,n){e.find(t).remove();const r=e.find('img[src^="data:image/"]').toArray().map((e=>Object.assign(Object.assign({},function(e){if(!e)return null;const t=e.match(/^data:([A-Za-z-+/]+);base64,(.+)$/);if(3!==t.length)return null;const n=atob(t[2]),r=new Array(n.length);for(let e=0;e<n.length;e++)r[e]=n.charCodeAt(e);return{type:t[1],data:new Uint8Array(r)}}(e.getAttribute("src"))),{el:e})));r.filter((function({type:e,el:t}){return!("image/svg+xml"===e&&t.alt||n.includes(e))})).forEach((({el:e})=>e.remove()));const i=r.filter((({type:e})=>n.includes(e)));return i.forEach((({el:e})=>e.setAttribute("src",Bh))),i}(e,n,r).map((e=>t(e).then((t=>e.el.setAttribute("src",t))).catch((t=>{throw e.el.remove(),t}))))).then((()=>e.trigger("input")))),0)}var Yh=i(9449);if(!Yh)throw new Error("MathQuill is required but has not been loaded");window.mathEditorState=window.mathEditorState||{firstTime:!0,MQ:void 0};const Wh=window.mathEditorState,Hh=function(e){const t=e.trim(),n=""===t.replace(/(\\|\s)*/g,"")?"":t;return n+(n.endsWith("\\")?" ":"")};const Vh={FI:{editor:{mathEditor:"Matikkaeditori",title:"Kaavaeditorin kehitysversio",description:"\n<ul>\n<li>“Lisää kaava” -napin alta löydät yleisimpiä matematiikassa, fysiikassa ja\nkemiassa käytettäviä merkintöjä. Lisäksi erikoismerkkejä voi käyttää kaavan kirjoittamiseen.</li>\n <li>Kaavoja voi rakentaa\nnapsauttamalla valikon merkintöjä ja/tai kirjoittamalla LaTeXia.</li>\n <li>Editorin vastauskenttään voi kirjoittaa tekstiä ja kaavoja sekä\nlisätä kuvia.</li></ul>",shortcutTitle:"Pikanäppäinvinkkejä",shortcuts:'<table><tbody>\n<tr><th>Liitä kuva leikepöydältä</th><td>Ctrl-V</td></tr>\n<tr><th>Kirjoita kaava</th><td>Ctrl-E</td></tr>\n<tr><th colspan="2">Kaavassa</th></tr>\n<tr><th>Jakoviiva</th><td>/</td></tr>\n<tr><th>Kertomerkki</th><td>*</td></tr>\n<tr><th>Eksponentti</th><td>^</td></tr>\n<tr><th>Sulje kaava</th><td>Esc</td></tr>\n<tr><th>Lisää kaava seuraavalle riville</th><td>Enter</td></tr>\n</tbody>\n</table>',formatting:"Muotoilu",specialCharacters:"Erikoismerkit",insertEquation:"Lisää kaava",close:"sulje",save:"Tallenna",updated:"Päivitetty",sendFeedback:"Lähetä palautetta",langLink:"/sv",langLabel:"På svenska",answerTitle:"Vastaus",toggleInstructions:"Näytä ohjeet",help_overlay:{screenshot:'<h3>Kuvakaappaukset</h3><p>Tee kuva haluamallasi ohjelmalla. Napsauta yläpalkista kuvakaappauskuvaketta <span class="screen-shot-image"></span> ja rajaa haluamasi kuva-alue näytöltä. <span class="rich-text-editor-help-key">CTRL</span>-<span class="rich-text-editor-help-key">V</span> liittää kuvan vastauskenttään kursorin kohdalle. Voit vaihtaa kuvan paikkaa raahaamalla tai leikkaamalla kuvan komennolla <span class="rich-text-editor-help-key">CTRL</span>-<span class="rich-text-editor-help-key">X</span> ja liittämällä sen komennolla <span class="rich-text-editor-help-key">CTRL</span>-<span class="rich-text-editor-help-key">V</span> haluamaasi paikkaan.</p>',equation:'<h3>Kaavat</h3><p>Kaava lisätään komennolla <span class="rich-text-editor-help-key">CTRL</span>-<span class="rich-text-editor-help-key">E</span><br>Pikakomennot kaavassa:</p><table class="rich-text-editor-help-shortcuts"><tbody><tr><th>Jakoviiva</th><td><span class="rich-text-editor-help-key">/</span></td></tr><tr><th>Kertomerkki</th><td><span class="rich-text-editor-help-key">*</span></td></tr><tr><th>Yläindeksi</th><td><span class="rich-text-editor-help-key">^</span></td></tr><tr><th>Alaindeksi</th><td><span class="rich-text-editor-help-key">_</span></td></tr><tr><th>Lisää kaava seuraavalle riville</th><td><span class="rich-text-editor-help-key">↵</span></td></tr><tr><th>Sulje kaava</th><td><span class="rich-text-editor-help-key">esc</span></td></tr></tbody></table>'},render_error:"Virhe LaTeX-koodissa"},annotating:{sendFeedback:"Lähetä palautetta",updated:"Päivitetty",mathEditor:"Matikkaeditori",title:"Arvostelu",backLink:"/",backLinkLabel:"Palaa kaavaeditoriin",save:"Tallenna merkinnät",langLink:"/sv/bedomning",langLabel:"På svenska"}},SV:{editor:{mathEditor:"Matematikeditor",title:"Formeleditorns utvecklingsversion",description:"\n<ul>\n <li>Under knappen “Lägg till formel” hittar du de vanligaste beteckningarna som används i matematik, fysik och kemi. Dessutom kan du använda specialtecken för att skriva formler.</li>\n<li>Det går att konstruera formler genom att klicka på beteckningarna i menyerna och/eller genom att skriva LaTeX.</li>\n<li>Det går förutom att skriva text och formler, att också att lägga till bilder i svarsfältet.</li></ul>",shortcutTitle:"Tips på tangentkombinationer",shortcuts:'<table><tbody>\n<tr><th>Lägg till en bild från urklippet</th><td>Ctrl-V</td></tr>\n<tr><th>Skriv en formel</th><td>Ctrl-E</td></tr>\n<tr><th colspan="2">I formeln </th></tr>\n<tr><th>Bråkstreck</th><td>/</td></tr>\n<tr><th>Multiplikationstecken</th><td>*</td></tr>\n<tr><th>Exponent</th><td>^</td></tr>\n<tr><th>Stäng formeln</th><td>Esc</td></tr>\n<tr><th>Lägg till en formel på följande rad</th><td>Enter</td></tr>\n</tbody>\n</table>',formatting:"Formatering",specialCharacters:"Specialtecken",insertEquation:"Lägg till formel",close:"stäng",save:"Spara",updated:"Uppdaterad",sendFeedback:"Skicka feedback",langLink:"/",langLabel:"Suomeksi",answerTitle:"Svar",toggleInstructions:"Visa intruktioner",help_overlay:{screenshot:'<h3>Skärmdumpar</h3><p>Skapa bilden med valbart program. Klicka på skärmdumpsikonen i övre balken<span class="screen-shot-image"></span> och avgränsa den delen av skärmen du vill använda.<span class="rich-text-editor-help-key">CTRL</span>-<span class="rich-text-editor-help-key">V</span>bifogar bilden i svarsfältet där kursorn ligger. Du kan ändra på bildens position genom att släpa bilden eller genom att klippa den med kommandot<span class="rich-text-editor-help-key">CTRL</span>-<span class="rich-text-editor-help-key">X</span>och klistra in den med kommandot<span class="rich-text-editor-help-key">CTRL</span>-<span class="rich-text-editor-help-key">V</span>på valbart ställe.</p>',equation:'<h3>Formler</h3><p>Formeln läggs till med kommandot<span class="rich-text-editor-help-key">CTRL</span>-<spanclass="rich-text-editor-help-key">E</span><br />Snabbkommandon med formler:</p><table class="rich-text-editor-help-shortcuts"><tbody><tr><th>Divisionsstreck</th><td><span class="rich-text-editor-help-key">/</span></td></tr><tr><th>Multiplikationstecken</th><td><span class="rich-text-editor-help-key">*</span></td></tr><tr><th>Upphöjt index</th><td><span class="rich-text-editor-help-key">^</span></td></tr><tr><th>Nedsänkt index</th><td><span class="rich-text-editor-help-key">_</span></td></tr><tr><th>Lägg till formel på nästa rad</th><td><span class="rich-text-editor-help-key">↵</span></td></tr><tr><th>Stäng formeln</th><td><span class="rich-text-editor-help-key">esc</span></td></tr></tbody></table>'},render_error:"Fel i LaTeX-koden"},annotating:{sendFeedback:"Skicka respons",updated:"Uppdaterad",mathEditor:"Matematikeditor",title:"Bedömning",backLink:"/sv",backLinkLabel:"Matematikeditor",save:"Spara anteckningar",langLink:"/tarkistus",langLabel:"Suomeksi"}}},qh=Ah()('<div class="rich-text-editor-hidden" style="display: none;" data-js="outerPlaceholder">');window.richTextEditorState=window.richTextEditorState||{focus:{richText:!1,latexField:!1,equationField:!1},$currentEditor:void 0,firstCall:!0,math:void 0,$toolbar:void 0};const Qh=window.richTextEditorState,Jh=Qh.focus,Xh=(e,t,n=(()=>{}))=>{const{baseUrl:r,fileTypes:i,sanitize:o,screenshotSaver:a,ignoreSaveObject:s,screenshotImageSelector:l,invalidImageSelector:c,locale:u,updateMathImg:d}=Object.assign(Object.assign({},Sh),t),f=Vh[u].editor;if(Qh.firstCall){Qh.firstCall=!1,Qh.math=function(e,t,n,r=((e,t)=>{const r=Hh(t),i=r.replace(/</g,"\\lt ").replace(/>/g,"\\gt ");e.prop({src:`${n}/math.svg?latex=${encodeURIComponent(r)}`,alt:i}),e.closest('[data-js="answer"]').trigger("input")}),i){let o;Wh.firstTime&&(Wh.MQ=Yh.getInterface(2),Wh.firstTime=!1);const a=Ah()('\n <div>\n <div class="math-editor" data-js="mathEditor">\n <div class="math-editor-equation-field" data-js="equationField"></div>\n <textarea rows="1" class="math-editor-latex-field" data-js="latexField" placeholder="LaTeΧ"></textarea>\n <span class="render-error"></span>\n </div>\n </div>');e.append(a);const s=a.find('[data-js="latexField"]'),l=a.find('[data-js="equationField"]');let c,u=!1,d=null,f=[],p=[],h=0;const g=Wh.MQ.MathField(l.get(0),{handlers:{edit:v,enter:()=>{C(!0),setTimeout((()=>w("<br>")),2)}}});function m(e){Ah()(".rich-text-editor-overlay").is(":visible")||(function(e){return Rh(e,!e.altKey&&!e.shiftKey&&e.ctrlKey&&Oh(e,90)||!e.altKey&&!e.shiftKey&&e.metaKey&&Oh(e,90))}(e)?E():function(e){return Rh(e,!e.altKey&&!e.shiftKey&&e.ctrlKey&&Oh(e,89)||!e.altKey&&e.shiftKey&&e.metaKey&&Oh(e,90))}(e)?S():(Lh(e,13)||function(e,t){return Rh(e,!e.altKey&&!e.shiftKey&&!e.ctrlKey&&Oh(e,27))}(e))&&C(!0))}return l.on("input",".mq-textarea textarea",v).on("focus blur",".mq-textarea textarea",(e=>{t.equationField="blur"!==e.type&&"focusout"!==e.type,M()})).on("keydown",m).on("paste",(e=>e.stopPropagation())),s.on("keypress",(function(e){","===e.originalEvent.key&&(e.preventDefault(),Dh(s.get(0),"{,}"),I(e))})).on("input paste",I).on("focus blur",(e=>{t.latexField="blur"!==e.type,M()})).on("keydown",m).on("paste",(e=>e.stopPropagation())),{insertNewEquation:w,insertMath:function(e,n,r){t.latexField?(Dh(s.get(0),n||e),I()):t.equationField&&(r?g.write(e):g.typedText(e),~e.indexOf("\\")&&g.keystroke("Spacebar"),setTimeout((()=>g.focus()),0))},openMathEditor:function(e){u&&C(),function(e){const t=document.createRange(),n=e.get(0);t.setStartAfter(n);const r=window.getSelection();r.removeAllRanges(),r.addRange(t)}(e),T(e)},closeMathEditor:C,undoMath:E,redoMath:S};function y(){const e=s.val().trim();h>=0&&zh(f)!==e&&(0===h&&(p=[]),f.push(e)),Ah()('[data-js="mathUndo"]').prop("disabled",f.length<=1),Ah()('[data-js="mathRedo"]').prop("disabled",0===p.length),0!==h&&0===g.latex().length&&e.length>0&&s.focus(),setTimeout((()=>h=0),2)}function v(e){e&&e.originalEvent&&e.originalEvent.stopPropagation(),clearTimeout(c),c=setTimeout((()=>{if(t.latexField||0!==h)return;const e=g.latex();s.val(e),b(),A(a.prev(),e),x(),y()}),0)}function b(){const e=Ah()(".render-error");e.empty(),j()&&e.text(i.render_error)}function I(e){e&&e.originalEvent&&e.originalEvent.stopPropagation();const t=s.val();A(a.prev(),t),setTimeout((()=>{g.latex(t),y(),b()}),1),x()}function x(){s.get(0).style.height="auto",s.get(0).style.height=`${s.get(0).scrollHeight}px`}function M(){clearTimeout(d),d=setTimeout((()=>{a.trigger({type:"mathfocus",hasFocus:t.latexField||t.equationField}),t.latexField||t.equationField||C()}),0)}function w(e=""){window.document.execCommand("insertHTML",!1,`${e}<img data-js="new" alt="" src="" style="display: none"/>`),T(Ah()('[data-js="new"]').removeAttr("data-js"))}function T(e){e.hide(),e.after(a),u=!0,t.equationField=!0,p=[],f=[],N(!0),setTimeout((()=>g.focus()),0),s.val(e.prop("alt")),setTimeout((()=>{j()&&s.focus()}),2),I(),function(e){const t=Ah()(window),n=t.height()-40,r=n+t.scrollTop(),i=e.offset().top+e.height();r<i&&t.scrollTop(i-n)}(a)}function A(e,t){clearTimeout(o),o=setTimeout((()=>{r(e,t)}),500)}function C(n=!1){const i=a.closest('[data-js="answer"]'),o=a.prev();""===Hh(s.val())?o.remove():(o.show(),r(o,s.val())),N(!1),u=!1,t.latexField=!1,t.equationField=!1,a.trigger({type:"mathfocus",hasFocus:t.latexField||t.equationField}),e.append(a),n&&i.focus()}function N(e){Ah()("body").toggleClass("math-editor-focus",e)}function E(){1!==f.length&&(h=-1,p.push(f.pop()),g.latex(zh(f)),A(a.prev(),g.latex()),s.val(zh(f)),y(),x(),b())}function S(){0!==p.length&&(h=1,g.latex(zh(p)),s.val(p.pop()),A(a.prev(),g.latex()),y(),x(),b())}function j(){return 0===g.latex().length&&s.val().length>0}}(qh,Jh,r,d,f);const e=function(e,t,n){let r;const i=Ah()(`<div class="rich-text-editor-overlay rich-text-editor-hidden">\n <div class="rich-text-editor-overlay-modal" aria-modal="true" tabindex="0" data-js="overlayModal" >\n <div class="rich-text-editor-modal-columns">\n <div class="rich-text-editor-modal-column rich-text-editor-modal-column-2" data-i18n="[html]rich_text_editor.help_overlay.screenshot">\n ${n.help_overlay.screenshot}\n </div>\n <div class="rich-text-editor-modal-column rich-text-editor-modal-column-1" data-i18n="[html]rich_text_editor.help_overlay.equation">\n ${n.help_overlay.equation}\n </div>\n </div>\n <button data-js="closeOverlayButton" class="rich-text-editor-close-overlay-button"></button>\n </div>\n</div>`).on("mousedown",'[data-js="closeOverlayButton"]',(e=>{e.preventDefault(),Ah()("body").removeClass("rich-text-editor-overlay-open"),i.addClass("rich-text-editor-hidden"),r.focus()})).on("mousedown",(e=>{e.target.classList.contains("rich-text-editor-overlay")&&(e.preventDefault(),e.stopPropagation(),Ah()("body").removeClass("rich-text-editor-overlay-open"),i.addClass("rich-text-editor-hidden"),r.focus())})),o=Ah()(`\n <div class="rich-text-editor-tools" data-js="tools">\n\n <div class="rich-text-editor-tools-button-wrapper">\n <div class="rich-text-editor-toolbar-wrapper">\n <button class="rich-text-editor-characters-expand-collapse" data-js="expandCollapseCharacters" style="z-index: 100"></button>\n </div>\n <div class="rich-text-editor-toolbar-wrapper">\n <button class="rich-text-editor-help-button" data-js="richTextEditorHelp" style="z-index: 100"></button>\n </div>\n </div>\n <div class="rich-text-editor-tools-row">\n <div class="rich-text-editor-toolbar-wrapper">\n <div class="rich-text-editor-toolbar-characters rich-text-editor-toolbar rich-text-editor-toolbar-button-list" data-js="charactersList"></div>\n </div>\n </div>\n <div class="rich-text-editor-tools-row">\n <div class="rich-text-editor-toolbar-wrapper rich-text-editor-equation-wrapper">\n <div class="rich-text-editor-toolbar-equation rich-text-editor-toolbar rich-text-editor-toolbar-button-list" data-js="mathToolbar"></div>\n </div>\n </div>\n <div class="rich-text-editor-tools-button-wrapper">\n <div class="rich-text-editor-toolbar-wrapper">\n <button class="rich-text-editor-new-equation rich-text-editor-button rich-text-editor-button-action" data-js="newEquation" data-command="Ctrl + E" data-i18n="rich_text_editor.insert_equation">Σ ${n.insertEquation}</button>\n </div>\n </div>\n </div>\n `).on("mousedown",(e=>{e.preventDefault()})).on("mousedown",'[data-js="expandCollapseCharacters"]',(e=>{e.preventDefault(),o.toggleClass("rich-text-editor-show-all-characters")})).on("mousedown",'[data-js="richTextEditorHelp"]',(e=>{e.preventDefault(),r=document.activeElement,Ah()("body").addClass("rich-text-editor-overlay-open"),i.removeClass("rich-text-editor-hidden"),i.find('[data-js="overlayModal"]').focus(),Ah()(window).on("keydown.help",(e=>{27===e.keyCode&&(e.stopPropagation(),e.preventDefault(),Ah()("body").removeClass("rich-text-editor-overlay-open"),i.addClass("rich-text-editor-hidden"),Ah()(window).off("keydown.help"))}))})),a=o.find('[data-js="newEquation"]'),s=o.find('[data-js="mathToolbar"]');return function(e,t,n){e.find('[data-js="charactersList"]').append(Uh.map((e=>`<div class="rich-text-editor-toolbar-characters-group"\n style="width: ${35*Gh(e)}px">\n ${e.characters.map(Zh).join("")}\n </div>`))).on("mousedown","button",(e=>{e.preventDefault();const r=e.currentTarget.innerText,i=e.currentTarget.dataset.command,o="true"===e.currentTarget.dataset.usewrite;n()?window.document.execCommand("insertText",!1,r):t.insertMath(i||r,void 0,o)}))}(o,e,t),function(e,t){e.append(_h.map((e=>"string"==typeof e?e:`<button class="rich-text-editor-button rich-text-editor-button-grid" data-command="${e.action}" data-latexcommand="${e.label||""}" data-usewrite="${e.useWrite||!1}">\n<img src="${e.svg}"/>\n</button>`)).join("")).on("mousedown",".rich-text-editor-button-grid",(e=>{e.preventDefault();const n=e.currentTarget.dataset;t.insertMath(n.command,n.latexcommand,"true"===n.usewrite)})),e.append('<div class="rich-text-editor-undo-redo-wrapper">\n <button class="rich-text-editor-button rich-text-editor-undo-redo rich-text-editor-undo-button" disabled="true" data-command="Ctrl + Z" data-js="mathUndo"></button>\n <button class="rich-text-editor-button rich-text-editor-undo-redo rich-text-editor-redo-button" disabled="true" data-command="Ctrl + Y" data-js="mathRedo"></button>\n </div>').on("mousedown",'[data-js="mathUndo"]',(e=>{e.preventDefault(),t.undoMath()})).on("mousedown",'[data-js="mathRedo"]',(e=>{e.preventDefault(),t.redoMath()}))}(s,e),function(e,t,n){e.mousedown((e=>{e.preventDefault(),n()&&t.insertNewEquation()}).bind(this))}(a,e,t),Ah().fn.i18n?o.i18n():Ah().fn.localize&&o.localize(),{toolbar:o,helpOverlay:i}}(Qh.math,(()=>Jh.richText),f);Qh.$toolbar=e.toolbar;const t=e.helpOverlay;Ah()("body").append(qh,Qh.$toolbar,t)}let p=!1;Ah()(e).attr({contenteditable:!0,spellcheck:!1,"data-js":"answer"}).addClass("rich-text-editor").on("click",jh,(e=>{1===e.which&&($h(Ah()(e.target).closest('[data-js="answer"]')),Qh.math.openMathEditor(Ah()(e.target)))})).on("keydown",(e=>{!Lh(e,69)||Jh.equationField||Jh.latexField||(e.preventDefault(),Qh.math.insertNewEquation())})).on("mathfocus",(e=>{Ah()(e.currentTarget).toggleClass("rich-text-focused",e.hasFocus),rg()&&eg(Qh.$currentEditor)})).on("focus blur",(e=>{"focus"===e.type&&Qh.math.closeMathEditor(),function(e){Jh.richText="focus"===e.type,Ah()(e.currentTarget).toggleClass("rich-text-focused",Jh.richText),clearTimeout(ng),ng=setTimeout((()=>{!Ah()("body").hasClass("rich-text-editor-overlay-open")&&rg()?eg(Ah()(e.target)):$h(Ah()(e.target))}),0)}(e)})).on("input",(e=>{p||n(s||function(e,t,n){const r=Ah()(e),i=r.find('[data-js="mathEditor"]'),o=r.find(".render-error");i.hide(),o.hide();const a=r.get(0).innerText;i.show(),o.show();const s=n(r.html());return{answerHTML:a.trim().length+r.find(jh).length+r.find(t).length===0?"":(l=s,l.replace(/^(\n|<br ?\/?>)*/g,"").replace(/(\s|<br ?\/?>)*$/g,"")),answerText:Ph(a),imageCount:Ah()(`<div>${s}</div>`).find(t).length};var l}(e.currentTarget,l,o))})).on("drop",(e=>{p=!0,setTimeout((()=>{Ah()(e.currentTarget).html(o(e.currentTarget.innerHTML)),Fh(Ah()(e.currentTarget),a,c,i),p=!1}),100)})).on("paste",(e=>{p=!0,setTimeout((()=>p=!1),0),function(e,t,n,r,i){const o=e.originalEvent.clipboardData,a=o.items&&o.items.length>0&&o.items[o.items.length-1].getAsFile();if(a)!function(e,t,n,r){e.preventDefault(),r.indexOf(t.type)>=0&&n({data:t,type:t.type}).then((e=>{const t=`<img src="${e}"/>`;window.document.execCommand("insertHTML",!1,t)})).catch((e=>{console.error(e)}))}(e,a,t,r);else{const a=o.getData("text/html");a?function(e,t,n,r,i,o,a){e.preventDefault(),window.document.execCommand("insertHTML",!1,a(n)),Fh(t,r,i,o)}(e,Ah()(e.currentTarget),a,t,n,r,i):function(e,t,n,r){Fh(e,t,n,r)}(Ah()(e.currentTarget),t,n,r)}}(e,a,c,i,o)})),setTimeout((()=>document.execCommand("enableObjectResizing",!1,!1)),0)};function Kh(e,t){Ah()("body").toggleClass("rich-text-editor-focus",e),t.toggleClass("rich-text-focused",e)}function $h(e){Qh.$currentEditor=e,tg(),Kh(!0,Qh.$currentEditor)}function eg(e){Kh(!1,e),tg(),Jh.richText=!1}function tg(){const e="rich-text-editor-tools--animating";Qh.$toolbar.addClass(e).one("transitionend transitioncancel",(()=>Qh.$toolbar.removeClass(e)))}let ng;function rg(){return!Jh.richText&&!Jh.latexField&&!Jh.equationField}class ig extends t().PureComponent{constructor(e){super(e),this.handleSaveError=e=>{const t=(()=>{switch(Ci(e,"response.status")){case 409:return"screenshot-byte-limit-reached";case 413:return"screenshot-too-big";default:return"screenshot-upload-failed"}})();this.props.onError({key:t})},this.handleChange=e=>{const{onChange:t}=this.props;this.lastHTML=e.answerHTML,t(e.answerHTML,e.answerText)},this.ref=t().createRef(),this.lastHTML=this.props.answer?this.props.answer.value:""}componentDidMount(){const{current:e}=this.ref,{answer:t,saveScreenshot:n}=this.props;e&&(t&&(e.innerHTML=t.value),Xh(e,{locale:this.context.language.slice(0,2).toUpperCase(),screenshotSaver:({data:e,type:t})=>n(e instanceof Blob?e:new Blob([e],{type:t})).catch((e=>{throw this.handleSaveError(e),e}))},this.handleChange))}componentDidUpdate(){const{current:e}=this.ref;e&&this.props.answer&&this.props.answer.value!==this.lastHTML&&(e.innerHTML=this.lastHTML=this.props.answer.value)}render(){const{className:e,questionId:n,invalid:r,lang:i,labelledBy:o}=this.props;return t().createElement("div",{ref:this.ref,className:e,"data-question-id":n,role:"textbox","aria-multiline":"true","aria-invalid":r,tabIndex:0,lang:i,"aria-labelledby":o})}}ig.contextType=Vr;const og=t().memo((({maxLength:e,id:n})=>{const{t:r}=Mr();return t().createElement("p",{id:n,className:"e-answer-length-info"},t().createElement(lh,null),t().createElement("em",null,r("max-length-info",{count:e})))}));function ag(e){return e.replace(/\s/g,"").length}const sg=t().memo((({element:n,className:r})=>{const i=Te(n,"type"),o=Ae(n,"question-id"),a=Te(n,"display-number"),s=Ae(n,"max-score"),l=Ce(n,"use-language-of-instruction"),c=Ae(n,"max-length"),{language:u}=(0,e.useContext)(Vr),{questionLabelIds:d,answers:f}=(0,e.useContext)(Xs),{examServerApi:p}=(0,e.useContext)(il),[h,g]=(0,e.useState)(),{answer:m,supportsAnswerHistory:y,showAnswerHistory:v,validationError:b}=pi((e=>({answer:e.answers.answersById[o],supportsAnswerHistory:e.answers.supportsAnswerHistory,showAnswerHistory:e.answers.supportsAnswerHistory&&e.answers.serverQuestionIds.has(o),validationError:e.answers.validationErrors.find((e=>"AnswerTooLong"===e.type&&e.displayNumber===a))}))),I=xi(),x=(0,e.useRef)(null),M=m&&m.value,w=Pr(n),T=null!=b,A=l?u:void 0,C=n.hasAttribute("max-length")?`${d} ${Lr(n)}`:d;(0,e.useEffect)((()=>{const{current:e}=x;e&&"single-line"===i&&(e.style.width="0",e.style.width=`${e.scrollWidth+2}px`)}));const N=(0,e.useCallback)((e=>{const t=e.currentTarget.value.trim(),n={type:"text",questionId:o,value:t,characterCount:ag(t),displayNumber:a};I(Ld(n)),g(void 0)}),[o,a]),E=(0,e.useCallback)(((e,t)=>{const n={type:"richText",questionId:o,value:e,characterCount:ag(t),displayNumber:a};I(Ld(n)),g(void 0)}),[o,a]),S=(0,e.useCallback)((()=>e=>g(e)),[]),j=(0,e.useCallback)((()=>I((e=>(0,fs.action)("ANSWER_FOCUSED",e))(o))),[o]),k=(0,e.useCallback)((()=>I((e=>(0,fs.action)("ANSWER_BLURRED",e))(o))),[o]),D=(0,e.useCallback)(((e,t)=>I(((e,t)=>(0,fs.action)("SELECT_ANSWER_VERSION",{questionId:e,questionText:t}))(e,t))),[]);return"rich-text"===i?t().createElement(t().Fragment,null,null!=c&&t().createElement(og,{maxLength:c,id:Lr(n)}),t().createElement(ig,{answer:m,className:ni()("text-answer text-answer--rich-text",r),saveScreenshot:e=>p.saveScreenshot(o,e),onChange:E,onError:S,questionId:o,lang:A,invalid:T,labelledBy:C}),t().createElement(wh,{answer:m,element:n,selectAnswerVersion:D,showAnswerHistory:v,supportsAnswerHistory:y,screenshotError:h,validationError:b})):t().createElement("span",{className:"e-nowrap"},t().createElement("input",{type:"text",className:ni()("text-answer text-answer--single-line",r),defaultValue:M,onChange:N,onFocus:j,onBlur:k,ref:x,"data-question-id":o,lang:A,"aria-describedby":w,"aria-labelledby":C}),f.length>1&&t().createElement(qp,{score:s,size:"inline",id:w}))})),lg=({children:e})=>t().createElement("span",{className:"e-screen-reader-only"},e),cg=t().memo((function(e){const{element:n,renderChildNodes:r}=e,i=n.getAttribute("display-number"),o=we(n,"hint"),a=t().createElement(sg,{...e});return o?t().createElement("label",{className:"e-nowrap"},t().createElement("sup",{className:"e-text-answer-display-number e-color-darkgrey"},gh(i)),t().createElement(lg,null,r(o)),a):a})),ug=ke({attachment:rh,"attachment-link":Qr("link"),"attachment-links":Jr("link"),audio:xs,"audio-title":Ss,"audio-group":Zf,"audio-test":Gf,"choice-answer":Ff,"dropdown-answer":Jp,"exam-footer":ih,"external-material":ws,file:Ts,formula:As,image:Es,question:ah,"question-instruction":sh,"question-title":ch,hints:yh,references:bh,"scored-text-answer":cg,"scored-text-answers":yh,"section-instruction":xh,section:ph,"section-title":hh,"text-answer":cg,video:Os,"image-overlay":qs}),dg=t().memo(ol(qr((({doc:n,casStatus:r,answers:i,restrictedAudioPlaybackStats:o,examServerApi:a})=>{const{date:s,dateTimeFormatter:l,dayCode:c,examCode:u,language:d,resolveAttachment:f,root:p,subjectLanguage:h}=(0,e.useContext)(Vr),g=we(p,"exam-title"),m=we(p,"exam-instruction"),v=we(p,"table-of-contents"),b=we(p,"external-material"),I=p.getAttribute("exam-stylesheet"),x=Br((()=>function(e,t,n,r,i){const o=new Set(dc(n,"questionId")),a=function(e,t){var n={};return t=cc(t),fe(e,(function(e,r,i){Wn(n,r,t(e,r,i))})),n}(mc(r,"restrictedAudioId"),"times"),s=mc(n,"questionId"),l={answers:{answersById:s,focusedQuestionId:null,serverQuestionIds:o,supportsAnswerHistory:"function"==typeof i.selectAnswerVersion,savedQuestionIds:o,examStructure:e,validationErrors:jd(e,s)},audio:{errors:{},nowPlaying:null,playbackTimes:a},cas:{casStatus:t}},c=Id(),u=(window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__||Tc)(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},i={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},o=t.map((function(e){return e(i)}));return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wc(n,!0).forEach((function(t){Mc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wc(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},n,{dispatch:r=Tc.apply(void 0,o)(n.dispatch)})}}}(c)),d=Ic(Uf,l,u);return c.run(_f,i),d}(fl(n),r,i,o,a))),M=Br((()=>Mh({showAttachmentLinks:!0,showAnsweringInstructions:!0}))),w=Br((()=>xr(d,u,c)));return(0,e.useEffect)(wr(w,d)),(0,e.useEffect)(Gr,[]),t().createElement(yi,{store:x},t().createElement(y,{i18n:w},t().createElement("main",{className:"e-exam",lang:h,"aria-labelledby":Er},t().createElement(t().StrictMode,null),I&&t().createElement("link",{rel:"stylesheet",href:f(I)}),t().createElement($s,{"aria-labelledby":Er},g&&t().createElement(rl,{id:Er},ug(g)),s&&t().createElement("p",null,t().createElement("strong",null,l.format(s))),m&&t().createElement(oh,{element:m,renderChildNodes:ug}),v&&t().createElement(M,{element:v,renderChildNodes:ug}),b&&t().createElement(ws,{element:b,renderChildNodes:ug,forceRender:!0})),ug(p),t().createElement("div",{className:"e-footer"},t().createElement(nh,null),t().createElement(Ih,null)))))})))),fg=ll((({element:n,renderChildNodes:r})=>{const{displayNumber:i}=(0,e.useContext)(sl);return t().createElement($s,{className:"e-grading-instruction-section","aria-labelledby":jr(i)},r(n))})),pg=Ks((function({element:n,renderChildNodes:r}){const{displayNumber:i,level:o}=(0,e.useContext)(Xs);return t().createElement("div",{className:ni()("e-grading-instructions-question",{"e-mrg-b-8 e-clearfix":0===o,"e-mrg-l-8 e-mrg-y-4":o>0}),id:i},r(n,1))})),hg=({element:e,renderChildNodes:n})=>t().createElement("div",{className:"e-exam-grading-instruction notification e-pad-4"},n(e)),gg=({element:e,renderChildNodes:n})=>t().createElement("div",{className:"e-answer-grading-instruction e-multiline-results-text-answer e-mrg-b-2 e-pad-l-2"},n(e)),mg=({element:n,renderChildNodes:r})=>{const{answers:i}=(0,e.useContext)(Xs),o=we(n,"answer-grading-instruction"),a=Ae(n,"max-length"),s=t().createElement(t().Fragment,null,null!=a&&t().createElement(og,{maxLength:a}),t().createElement("ul",null,r(n)),o&&t().createElement(gg,{element:o,renderChildNodes:r}));if(1===i.length)return s;{const e=Te(n,"display-number"),i=Ae(n,"max-score"),o=we(n,"hint");return t().createElement("div",{className:"e-mrg-l-8"},t().createElement("p",{className:"exam-question-title"},t().createElement("span",{className:"exam-question-title__display-number--indented e-semibold"},e," "),o&&r(o)," ",t().createElement(qp,{score:i})),s)}},yg=({element:e,renderChildNodes:n})=>{const r=Ae(e,"score");if(!r)return null;const{t:i}=Mr();return t().createElement("li",null,n(e),ye,"(",i("points",{count:r}),")")},vg=e=>n=>{const r=r=>e(r)?t().createElement(n,{...r}):null;return r.displayName=`RenderIf(${Wr(n)})`,r},bg=({element:e,renderChildNodes:n})=>{const r=we(e,["audio-transcription","video-transcription"]);if(r){const{t:i}=Mr(),o=we(e,["audio-title","video-title"]);return t().createElement("details",{className:"e-grading-instruction-recording e-pad-1 e-mrg-b-2"},t().createElement("summary",null,t().createElement("strong",null,i("recording"))," ",o&&t().createElement("em",null,n(o))),n(r))}return null},Ig=vg((({element:e})=>null!=Me(e,["answer-grading-instruction","choice-answer-option","dropdown-answer-option","exam-grading-instruction","question-grading-instruction","hint","question-title","question-instruction"]))),xg=vg((({element:e})=>null==Me(e,["external-material"]))),Mg=ke({"accepted-answer":yg,attachment:al,"attachment-link":xg(Qr("plain")),"attachment-links":xg(Jr("plain")),audio:bg,"audio-group":al,"choice-answer":mg,"choice-answer-option":yg,"dropdown-answer":mg,"dropdown-answer-option":yg,"external-material":al,file:Ig(Ts),formula:Ig(As),hints:al,image:Ig(Es),question:pg,"question-title":({element:n,renderChildNodes:r})=>{const{displayNumber:i,maxScore:o,level:a}=(0,e.useContext)(Xs),s=`h${Math.min(3+a,6)}`;return t().createElement(t().Fragment,null,t().createElement(s,{className:ni()("exam-question-title",{"e-normal e-font-size-m":a>0})},t().createElement("strong",{className:ni()("exam-question-title__display-number",{"exam-question-title__display-number--indented":a>0})},`${tl(i)} `),r(n)," ",t().createElement(qp,{score:o,size:0===a?"large":"small"})))},"question-instruction":sh,"question-grading-instruction":gg,"scored-text-answer":mg,"text-answer":mg,section:fg,"section-title":({element:n,renderChildNodes:r})=>{const{sections:i}=(0,e.useContext)(Vr),{displayNumber:o}=(0,e.useContext)(sl),{t:a}=Mr();return t().createElement(t().Fragment,null,n.hasChildNodes()&&t().createElement("h2",{className:"e-grading-instructions-section-title",id:jr(o)},i.length>1&&a("section",{displayNumber:o})," ",r(n)))},video:bg}),wg=()=>{const{t:e}=Mr();return t().createElement(t().Fragment,null,e("grading-instructions-page-title"))},Tg=t().memo(qr((({doc:n})=>{const r=n.documentElement,{date:i,dateTimeFormatter:o,dayCode:a,examCode:s,language:l,subjectLanguage:c}=(0,e.useContext)(Vr),u=we(r,"exam-title"),d=we(r,"exam-grading-instruction"),f=we(r,"table-of-contents"),p=Mh({showAnsweringInstructions:!1,showAttachmentLinks:!1}),h=Br((()=>xr(l,s,a)));return(0,e.useEffect)(wr(h,l)),(0,e.useEffect)(Gr,[]),t().createElement(y,{i18n:h},t().createElement("main",{className:"e-exam e-grading-instructions",lang:c},t().createElement(t().StrictMode,null),t().createElement($s,{"aria-labelledby":Er},t().createElement(rl,{id:Er},t().createElement(wg,null)," ",u&&Mg(u)),i&&t().createElement("p",null,t().createElement("strong",null,o.format(i))),d&&t().createElement(hg,{element:d,renderChildNodes:Mg}),f&&t().createElement(p,{element:f,renderChildNodes:Mg})),Mg(r)))}))),Ag=function(e){return e&&e.length?function(e,t){for(var n,r=-1,i=e.length;++r<i;){var o=t(e[r]);void 0!==o&&(n=void 0===n?o:n+o)}return n}(e,he):0},Cg=t().createContext({}),Ng=Hr(Cg,(({scores:e,doc:t,gradingStructure:n,gradingText:r,answers:i,singleGrading:o})=>{const a=mc(i,"questionId"),s=function(e,t,n,r){return Ag(e.map((e=>function(e,t,n,r){const i=Ag(Ee(e).map((e=>{const i=Ae(e,"question-id"),o=r[i];return o?"choice"===o.type?((e,n)=>{const r=Eg(t,e);return r?r.options.find((e=>e.id===Number(n.value))).score:0})(i,o):(e=>{var t,r;const i=Sg(n,e);return i&&(null===(r=[i.inspection,null===(t=i.censoring)||void 0===t?void 0:t.scores[0],i.autograding,i.pregrading].find(Boolean))||void 0===r?void 0:r.score)||0})(i):0})));return 0===ve(e,"question").length&&i<0?0:i}(e,t,n,r))))}(xe(t.documentElement,"question",!1),n,e,a);return{answersByQuestionId:a,gradingStructure:n,scores:e,totalScore:s,gradingText:r,singleGrading:o}}));function Eg(e,t){const n=e.questions.filter((e=>"choicegroup"===e.type));for(let e=0,r=n.length;e<r;e++){const r=n[e];for(let e=0,n=r.choices.length;e<n;e++)if(r.choices[e].id===t)return r.choices[e]}}function Sg(e,t){return e.find((e=>e.questionId===t))}const jg=t().memo((function({answers:n,displayNumber:r,children:i,multilineAnswer:o}){const{displayNumber:a}=(0,e.useContext)(Xs),s=r?`${a}.${null==r?void 0:r.replace(".","")}`:void 0;return t().createElement("div",{className:ni()("e-result-scorecount","e-float-right",{"e-result-scorecount-multiline-answer":o}),id:s},t().createElement("div",{className:"e-result-scorecount-border-wrap"},n.length>1&&r&&t().createElement("sup",{className:"e-result-scorecount-sup e-mrg-r-1","aria-hidden":"true"},r),i))})),kg=t().memo((function({score:n,maxScore:r,displayNumber:i}){const{answers:o}=(0,e.useContext)(Xs),{t:a}=Mr(),s={answers:o,displayNumber:i};return t().createElement(jg,{...s},"number"==typeof n?t().createElement("b",null,n):t().createElement("div",{className:"e-result-scorecount-empty"})," ",r?`/ ${r} `:null," ",a("points",{count:""}))}));function Dg({renderChildNodes:e,selected:n,element:r,questionId:i,direction:o,isCorrect:a}){const{t:s}=Mr(),l=r.getAttribute("class"),c=r.getAttribute("option-id"),u=t().createElement("div",{className:ni()("e-choice-answer-option e-column",l,{"e-choice-answer-option--selected":n})},e(r)),d=({narrow:e=!1})=>t().createElement(t().Fragment,null,t().createElement("input",{type:"radio",className:ni()("e-radio-button",{"e-column e-column--narrow":e}),name:String(i),value:c,checked:n,readOnly:!0}),u,a&&t().createElement(lg,null,s("screen-reader.correct-answer")));return"vertical"===o?t().createElement("div",{className:"e-mrg-b-1"},t().createElement("label",{className:ni()("e-columns",{"e-correct-answer-left":a,"e-columns--inline":null==Ie(r,["image","video"])})},t().createElement(d,{narrow:!0}))):t().createElement("div",{className:"e-column e-mrg-b-1"},t().createElement("label",{className:ni()("e-block e-text-center",{"e-correct-answer-bottom":a})},t().createElement(d,null)))}const Lg=t().memo((function({element:n,renderChildNodes:r}){const{answersByQuestionId:i,gradingStructure:o}=(0,e.useContext)(Cg),a=Ae(n,"question-id"),s=i[a],l=n.getAttribute("direction")||"vertical",c=n.getAttribute("class"),u=Eg(o,a),d=s&&u.options.find((e=>e.id===Number(s.value))).score,f=Ae(n,"max-score");return t().createElement(t().Fragment,null,void 0!==d&&t().createElement(kg,{score:d,maxScore:f}),t().createElement("div",{className:ni()("e-choice-answer",c,{"e-columns":"horizontal"===l})},Ne(n,(e=>{const n=Ae(e,"option-id"),i=null!=s&&Number(s.value)===n,o=u.options.find((e=>e.id===n));return t().createElement(Dg,{element:e,renderChildNodes:r,questionId:a,key:n,direction:l,selected:i,isCorrect:o.correct})}))))})),Og=t().memo((function({element:n,renderChildNodes:r}){const{t:i}=Mr(),{answersByQuestionId:o,gradingStructure:a}=(0,e.useContext)(Cg),{answers:s}=(0,e.useContext)(Xs),l=Ae(n,"question-id"),c=o[l],u=we(n,(e=>(null==c?void 0:c.value)===e.getAttribute("option-id"))),d=Eg(a,l);if(u){const e=d.options.filter((e=>e.correct)).map((e=>e.id)),o=Array.from(n.children).filter((t=>e.includes(Ae(t,"option-id")))),a=e.includes(Ae(u,"option-id")),l=gh(n.getAttribute("display-number")),f=c&&d.options.find((e=>e.id===Number(c.value))).score,p=Ae(n,"max-score");return t().createElement(t().Fragment,null,s.length>1&&t().createElement("sup",null,l),t().createElement("span",{className:ni()("e-dropdown-answer__answered",{"e-dropdown-answer__answered--correct":a,"e-dropdown-answer__answered--wrong":!a})},t().createElement(lg,null,i("screen-reader.answer-begin")),r(u),t().createElement(lg,null,i("screen-reader.answer-end")),a&&t().createElement(lg,null,i("screen-reader.correct-answer"))),!a&&t().createElement("span",{className:"e-dropdown-answer__correct","aria-hidden":!0},o.map(((e,n)=>t().createElement(t().Fragment,{key:n},r(e),n<o.length-1&&", ")))),null!=f&&t().createElement(kg,{score:f,maxScore:p,displayNumber:l}))}return null}));function Rg({pregradingAnnotations:e,censoringAnnotations:n,singleGrading:r}){return e.length||n.length?t().createElement("div",{className:"e-annotation-list e-columns e-mrg-t-2"},r?t().createElement("div",{className:"e-column e-column--10"},t().createElement(Pg,{annotations:e})):t().createElement(t().Fragment,null,t().createElement("div",{className:"e-column e-column--6"},t().createElement(Pg,{i18nTitleKey:"grading.pregrading-annotations",annotations:e})),t().createElement("div",{className:"e-column e-column--6"},t().createElement(Pg,{i18nTitleKey:"grading.censor-annotations",annotations:n})))):null}const Pg=({i18nTitleKey:e,annotations:n})=>{const{t:r}=Mr();return n?t().createElement(t().Fragment,null,e&&t().createElement("h5",null,r(e)),t().createElement("ol",{className:"e-list-data e-pad-l-0 e-font-size-s"},n.map((({numbering:e,message:n})=>t().createElement("li",{"data-list-number":e,key:e},n))))):null},zg=t().memo((function(){const{answers:n}=(0,e.useContext)(Xs),{scores:r,singleGrading:i}=(0,e.useContext)(Cg),o=function(e,t){const n=[];for(let r=0;r<e.length;r++){const i=t(e[r]);void 0!==i&&n.push(i)}return n}(n||[],(e=>{const t=Ae(e,"question-id"),n=Sg(r,t);return n&&e&&(e=>{var t,n,r,i;return Boolean((null===(n=null===(t=null==e?void 0:e.pregrading)||void 0===t?void 0:t.annotations)||void 0===n?void 0:n.length)||(null===(i=null===(r=null==e?void 0:e.censoring)||void 0===r?void 0:r.annotations)||void 0===i?void 0:i.length))})(n)?[e,n]:void 0})),a=(e,t,r=0)=>Nd(e,(([e,i])=>{var o,a,s;return null!==(s=null===(a=null===(o=i[t])||void 0===o?void 0:o.annotations)||void 0===a?void 0:a.filter((e=>e.message.length)).map(((t,i)=>{const o=`${((e,t)=>e.length>1?gh(t.getAttribute("display-number")):"")(n,e)+String(r+i+1)})`;return{numbering:o,message:t.message}})))&&void 0!==s?s:[]})),s=a(o,"pregrading"),l=a(o,"censoring",s.length);return t().createElement(Rg,{pregradingAnnotations:s,censoringAnnotations:l,singleGrading:!!i})})),Ug=t().memo(Ks((function({element:n,renderChildNodes:r}){const{answersByQuestionId:i}=(0,e.useContext)(Cg),{displayNumber:o,level:a}=(0,e.useContext)(Xs),s=function(e,t){return Ee(e).some((e=>t[Ae(e,"question-id")]))}(n,i);return s?t().createElement("div",{className:ni()("exam-question",{"e-mrg-b-8 e-clearfix":0===a,"e-mrg-l-8 e-mrg-y-4":a>0}),id:o},r(n),t().createElement(zg,null)):null}))),_g=t().memo((function({element:n,renderChildNodes:r}){const{displayNumber:i,level:o,maxAnswers:a,childQuestions:s}=(0,e.useContext)(Xs),l=`h${Math.min(3+o,6)}`;return t().createElement(t().Fragment,null,t().createElement(l,{className:ni()("exam-question-title",{"e-normal e-font-size-m":o>0})},t().createElement("strong",{className:ni()("exam-question-title__display-number",{"exam-question-title__display-number--indented":o>0})},`${tl(i)} `),r(n)),null!=a&&s.length>0&&t().createElement("p",{className:"e-italic"},t().createElement(lh,null),t().createElement(Xp,{maxAnswers:a,childQuestions:s,elementType:"question"})))})),Zg=t().memo(ll((function({element:n,renderChildNodes:r}){const{displayNumber:i}=(0,e.useContext)(sl),{answersByQuestionId:o}=(0,e.useContext)(Cg),a=Ie(n,(e=>{const t=e.getAttribute("question-id");return null!=t&&Object.prototype.hasOwnProperty.call(o,t)}));return a?t().createElement($s,{"aria-labelledby":jr(i)},t().createElement("div",{className:"e-results-section-wrapper"},r(n))):null}))),Gg=5;function Bg(e,t,n,r=!0){const i=[...t,...n],o=i.filter((e=>e.message));for(const[n,a]of i.entries()){const i=t.includes(a)?"pregrading":"censoring",s=o.indexOf(a)+1||void 0,l="pregrading"===i?n:n-t.length;switch(a.type){case"line":case"rect":Fg(e,a,i,l,s,r);break;default:Yg(e,a,i,l,s,r)}}}function Fg(e,t,n,r,i,o){const{attachmentIndex:a}=t;return function(e,t,n,r,i,o){const a=function(e){const t=e.parentElement;if(t instanceof HTMLSpanElement)return t;const n=Se("span",{className:"e-annotation-wrapper"});return t.insertBefore(n,e),n.appendChild(e),n}(e),s=function(){const e=Se("mark",{className:ni()("e-annotation e-annotation--shape",{"e-annotation--pregrading":"pregrading"===r,"e-annotation--censoring":"censoring"===r}),title:t,"data-list-index":String(i),"data-type":r,...o&&{"data-index":String(o)},...n.message&&{"data-message":n.message}});return function(e,t){const n=e.style,r=e=>100*e+"%";"rect"===t.type?(n.left=r(t.x),n.top=r(t.y),n.right=r(1-(t.x+t.width)),n.bottom=r(1-(t.y+t.height))):(n.left=r(t.x1),n.top=r(t.y1),n.right=r(1-t.x2),n.bottom=r(1-t.y2))}(e,n),o&&e.appendChild(Wg(o,"shape",n.message)),e}();return a.appendChild(s),s}(e.querySelectorAll("img")[a],o?t.message:"",t,n,r,i)}function Yg(e,t,n,r,i,o){const{startIndex:a,length:s}=t;return function e(f,p,h){var g;if(!l(f)&&!function(e){return"SUP"===e.nodeName}(f)&&!function(e){return"BR"===e.nodeName}(f)&&p>=a){const a=Se("mark",{className:ni()("e-annotation",{"e-annotation--pregrading":"pregrading"===n,"e-annotation--censoring":"censoring"===n}),title:o?t.message:"","data-list-index":String(r),"data-type":n,...i&&{"data-index":String(i)},...t.message&&{"data-message":t.message}});null===(g=f.parentElement)||void 0===g||g.insertBefore(a,f);const l=d(a,f,h);l>0?e(c(a),p+s-l,l):i&&a.appendChild(Wg(i,"text",t.message))}else f instanceof Text&&p+u(f)>a&&f.splitText(a-p),e(function(e){return l(e)?e.childNodes[0]:c(e)}(f),p+u(f),h)}(e.childNodes[0],0,s);function l(e){return"MARK"===e.nodeName}function c(t){const n=t.nextSibling;if(n)return n;const r=t.parentElement;if(null===r||r===e)throw new Error("Bug: the answer seems to be too short for the current set of annotations.");return c(r)}function u(e){return e instanceof Text?e.length:function(e){return"IMG"===e.nodeName||"SPAN"===e.nodeName}(e)?1:0}function d(e,t,n){if(!t||l(t)||0===n)return n;t instanceof Text&&u(t)>0&&u(t)>n&&t.splitText(n);const r=t.nextSibling;return e.appendChild(t),d(e,r,n-u(t))}}function Wg(e,t,n){return Se("sup",{className:`e-annotation__index e-annotation__index--${t}`,"data-content":n.length>Gg?`${e})`:n,"data-message":n})}const Hg=t().memo((function({displayNumber:n,score:r,value:i,children:o}){const{t:a}=Mr(),s=(0,e.useRef)(null);return(0,e.useLayoutEffect)((()=>{var e,t,n,i;s.current&&Bg(s.current,null!==(t=null===(e=null==r?void 0:r.pregrading)||void 0===e?void 0:e.annotations)&&void 0!==t?t:[],null!==(i=null===(n=null==r?void 0:r.censoring)||void 0===n?void 0:n.annotations)&&void 0!==i?i:[])})),t().createElement(t().Fragment,null,n&&t().createElement("sup",null,n),t().createElement("span",{className:"text-answer text-answer--single-line"},t().createElement(lg,null,a("screen-reader.answer-begin")),t().createElement("span",{className:"e-inline-block",ref:s},i),t().createElement(lg,null,a("screen-reader.answer-end"))),o)})),Vg=t().memo((function({element:n}){const{answers:r}=(0,e.useContext)(Xs),{answersByQuestionId:i,scores:o}=(0,e.useContext)(Cg),a=Ae(n,"question-id"),s=Ae(n,"max-score"),l=i[a],c=l&&l.value,u=gh(n.getAttribute("display-number")),d=Sg(o,a),f=null==d?void 0:d.autograding;return t().createElement(Hg,{answers:r,displayNumber:u,value:c,score:d},t().createElement(kg,{score:null==f?void 0:f.score,maxScore:s,displayNumber:r.length>1?u:void 0}))}));function qg({maxScore:e}){const{t:n}=Mr();return t().createElement(t().Fragment,null,t().createElement("span",{className:"e-result-scorecount-empty"}),e&&` / ${e} `,n("points",{count:""}))}function Qg({shortCode:e}){return t().createElement("div",{className:"e-color-darkgrey e-columns e-columns--center-v"},t().createElement("span",{className:"e-font-size-xxxl e-light e-mrg-r-1"},"×"),t().createElement("span",null,e))}function Jg({score:e,shortCode:n,type:r,maxScore:i,latest:o}){const{t:a}=Mr();return t().createElement("div",{className:o?"e-color-black":"e-color-darkgrey e-font-size-xs"},t().createElement(Xg,{className:ni()("e-nowrap",{"e-font-size-m":o})},o?t().createElement("b",null,e):e,o&&i?` / ${i}`:""," p."),t().createElement(Xg,{className:"e-result-scorecount-shortcode"},n),t().createElement(Xg,{className:"e-mrg-r-0"},a(r)))}function Xg({className:e,children:n}){return t().createElement("span",{className:ni()("e-mrg-r-1 e-nowrap",e)},n)}function Kg({score:e}){return void 0!==e?{score:e,shortCode:"",type:"grading.pregrading-abbrev"}:null}function $g(e){return e.scores.map(((t,n)=>({score:t.score,shortCode:t.shortCode||"",type:"grading.round."+(e.scores.length-n)})))}const em=t().memo((function({scores:n,maxScore:r,displayNumber:i,multilineAnswer:o}){var a,s,l,c,u;const{answers:d}=(0,e.useContext)(Xs),f={answers:d,displayNumber:i,multilineAnswer:o},p=null===(s=null===(a=null==n?void 0:n.censoring)||void 0===a?void 0:a.nonAnswerDetails)||void 0===s?void 0:s.shortCode;return t().createElement(jg,{...f},null!=(null===(l=null==n?void 0:n.pregrading)||void 0===l?void 0:l.score)||(null===(u=null===(c=null==n?void 0:n.censoring)||void 0===c?void 0:c.scores)||void 0===u?void 0:u.length)?t().createElement(t().Fragment,null,function(e,n){var r;return[e.inspection&&(r=e.inspection,{score:r.score,shortCode:r.shortCodes?r.shortCodes.join(", "):"",type:"grading.inspection-grading-abbrev"}),...e.censoring?$g(e.censoring):[],e.pregrading&&Kg(e.pregrading)].filter(Boolean).map(((e,r)=>t().createElement(Jg,{key:r,...e,latest:0===r,maxScore:n})))}(n,r),p&&t().createElement(Qg,{shortCode:p})):t().createElement(qg,{maxScore:r}))})),tm=({type:n,score:r,value:i})=>{const{t:o}=Mr(),a=(0,e.useRef)(null);return(0,e.useLayoutEffect)((()=>{var e,t,n,i;a.current&&Bg(a.current,null!==(t=null===(e=null==r?void 0:r.pregrading)||void 0===e?void 0:e.annotations)&&void 0!==t?t:[],null!==(i=null===(n=null==r?void 0:r.censoring)||void 0===n?void 0:n.annotations)&&void 0!==i?i:[])})),t().createElement("div",{className:"e-multiline-results-text-answer e-line-height-l e-pad-l-2 e-mrg-b-1"},t().createElement(lg,null,o("screen-reader.answer-begin")),"rich-text"===n?t().createElement("div",{dangerouslySetInnerHTML:{__html:i||""},ref:a}):t().createElement("div",{className:"e-pre-wrap",ref:a},i),t().createElement(lg,null,o("screen-reader.answer-end")))},nm=t().memo((function({element:n}){var r;const{answers:i}=(0,e.useContext)(Xs),{answersByQuestionId:o,scores:a}=(0,e.useContext)(Cg),{t:s}=Mr(),l=Ae(n,"question-id"),c=Ae(n,"max-score"),u=o[l],d=u&&u.value,f=i.length>1?gh(n.getAttribute("display-number")):void 0,p=Sg(a,l),h=null===(r=null==p?void 0:p.pregrading)||void 0===r?void 0:r.comment,g=n.getAttribute("type")||"single-line",m=Ae(n,"max-length");return"rich-text"===g?t().createElement(t().Fragment,null,null!=m&&t().createElement(og,{maxLength:m}),t().createElement(em,{multilineAnswer:!0,scores:p,maxScore:c}),t().createElement(tm,{type:g,value:d,score:p}),t().createElement(wh,{answer:u,element:n}),h&&t().createElement(t().Fragment,null,t().createElement("h5",null,s("comment")),t().createElement("p",{className:"e-italic"},h))):t().createElement(Hg,{answers:i,score:p,displayNumber:f,value:d},t().createElement(em,{scores:p,maxScore:c,displayNumber:f}))})),rm=ke({attachment:Ss,"attachment-link":Qr("plain"),"attachment-links":Jr("plain"),"audio-group":Ss,"choice-answer":Lg,"dropdown-answer":Og,formula:As,question:Ug,hints:Ss,image:vg((({element:e})=>null!=Me(e,"choice-answer")))(Es),"question-instruction":sh,"question-title":_g,section:Zg,"section-title":hh,"text-answer":nm,"scored-text-answer":Vg,"scored-text-answers":Ss});function im(){const{gradingText:n,totalScore:r}=(0,e.useContext)(Cg),{t:i}=Mr();return t().createElement("div",{className:"e-column--narrow"},t().createElement("table",{className:"e-table e-table--borderless e-mrg-b-0"},t().createElement("tbody",null,t().createElement("tr",null,t().createElement("th",{className:"e-pad-y-0 e-normal"},i("grading-total")),t().createElement("td",{className:"e-pad-y-0 e-semibold e-text-right"},i("points",{count:r}))),n&&t().createElement("tr",null,t().createElement("th",{className:"e-pad-y-0 e-normal"},i("grade")),t().createElement("td",{className:"e-pad-y-0 e-semibold e-text-right"},n)))))}const om=t().memo(Ng(qr((({doc:n})=>{const{date:r,dateTimeFormatter:i,dayCode:o,examCode:a,language:s,resolveAttachment:l,root:c,subjectLanguage:u}=(0,e.useContext)(Vr),{answersByQuestionId:d}=(0,e.useContext)(Cg),f=we(c,"exam-title"),p=c.getAttribute("exam-stylesheet"),h=Br((()=>xr(s,a,o)));return(0,e.useEffect)(wr(h,s)),(0,e.useEffect)(Gr,[]),t().createElement(y,{i18n:h},t().createElement("main",{className:"e-exam",lang:u},t().createElement(t().StrictMode,null),p&&t().createElement("link",{rel:"stylesheet",href:l(p)}),t().createElement("div",{className:"e-columns e-columns--bottom-v e-mrg-b-4"},f&&t().createElement(rl,{id:"title",className:"e-column e-mrg-b-0"},rm(f),r&&`, ${i.format(r)}`),t().createElement(im,null)),t().createElement(eh,{validationErrors:jd(fl(n),d),inExam:!1}),rm(c)))})))),am=function(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1};var sm=Math.max;const lm=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:Fs(n);return i<0&&(i=sm(r+i,0)),am(e,cc(t),i)};var cm=Math.max,um=Math.min;const dm=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return void 0!==n&&(i=Fs(n),i=n<0?cm(r+i,0):um(i,r-1)),am(e,cc(t),i,!0)},fm=function(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:mf(e,t,n)},pm=function(e){return e!=e},hm=function(e,t,n){return t==t?function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}(e,t,n):am(e,pm,n)};var gm=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var mm="\\ud800-\\udfff",ym="["+mm+"]",vm="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",bm="\\ud83c[\\udffb-\\udfff]",Im="[^"+mm+"]",xm="(?:\\ud83c[\\udde6-\\uddff]){2}",Mm="[\\ud800-\\udbff][\\udc00-\\udfff]",wm="(?:"+vm+"|"+bm+")?",Tm="[\\ufe0e\\ufe0f]?",Am=Tm+wm+"(?:\\u200d(?:"+[Im,xm,Mm].join("|")+")"+Tm+wm+")*",Cm="(?:"+[Im+vm+"?",vm,xm,Mm,ym].join("|")+")",Nm=RegExp(bm+"(?="+bm+")|"+Cm+Am,"g");const Em=function(e){return function(e){return gm.test(e)}(e)?function(e){return e.match(Nm)||[]}(e):function(e){return e.split("")}(e)};var Sm=/^\s+/;const jm=function(e,t,n){if((e=Zn(e))&&(n||void 0===t))return e.replace(Sm,"");if(!e||!(t=_n(t)))return e;var r=Em(e),i=function(e,t){for(var n=-1,r=e.length;++n<r&&hm(t,e[n],0)>-1;);return n}(r,Em(t));return fm(r,i).join("")},km=function(e,t,n){if((e=Zn(e))&&(n||void 0===t))return e.slice(0,Ps(e)+1);if(!e||!(t=_n(t)))return e;var r=Em(e),i=function(e,t){for(var n=e.length;n--&&hm(t,e[n],0)>-1;);return n}(r,Em(t))+1;return fm(r,0,i).join("")};function Dm(e,t=!1){const n=(new DOMParser).parseFromString(e,"application/xml");return t||xe(n.documentElement,["choice-answer","dropdown-answer"]).filter((e=>"fixed"!==Te(e,"ordering"))).forEach(Lm),xe(n.documentElement,"reference").forEach((e=>{xe(e,(()=>!0),!1).forEach(Om)})),n}function Lm(e){for(let t=e.children.length;t>0;t--){const n=Math.floor(Math.random()*t);e.appendChild(e.children[n])}const t=we(e,(e=>"no-answer"===Te(e,"type")));t&&e.appendChild(t)}function Om(e){const t=e=>/\S/.test(e.textContent),n=(()=>{const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_TEXT);for(;n.nextNode();)t.push(n.currentNode);return t})(),r=lm(n,t),i=dm(n,t);-1!==r&&(n.slice(0,r).forEach((e=>e.remove())),n[r].textContent=jm(n[r].textContent)),-1!==i&&(n.slice(i+1).forEach((e=>e.remove())),n[i].textContent=km(n[i].textContent))}})(),o})()));
|
2
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define?define(["react","react-dom"],t):"object"==typeof exports?exports.ExamBundle=t(require("react"),require("react-dom")):e.ExamBundle=t(e.React,e.ReactDOM)}(this,((e,t)=>(()=>{var n={9449:(e,t,n)=>{!function(){var t=n(8291),r="mathquill-command-id",i="mathquill-block-id",o=Math.min,a=Math.max;if(!t)throw"MathQuill requires jQuery 1.5.2+ to be loaded first";function s(){}var l=[].slice;function c(e){var t=e.length-1;return function(){var n=l.call(arguments,0,t),r=l.call(arguments,t);return e.apply(this,n.concat([r]))}}var u=c((function(e,t){return c((function(n,r){if(e in n)return n[e].apply(n,t.concat(r))}))}));function d(e){return c((function(t,n){return"function"!=typeof t&&(t=u(t)),e.call(this,(function(e){return t.apply(e,[e].concat(n))}))}))}function f(e){var t=l.call(arguments,1);return function(){return e.apply(this,t)}}function p(e,t){if(!t)throw new Error("prayer failed: "+e)}var h=function(e,t,n){function r(e){return"object"==typeof e}function i(e){return"function"==typeof e}function o(){}return function n(a,s){function l(){var e=new c;return i(e.init)&&e.init.apply(e,arguments),e}function c(){}void 0===s&&(s=a,a=Object),l.Bare=c;var u,d=o[e]=a[e],f=c[e]=l[e]=l.p=new o;return f.constructor=l,l.extend=function(e){return n(l,e)},(l.open=function(e){if(u={},i(e)?u=e.call(l,f,d,l,a):r(e)&&(u=e),r(u))for(var n in u)t.call(u,n)&&(f[n]=u[n]);return i(f.init)||(f.init=a),l})(s)}}("prototype",{}.hasOwnProperty),g=-1,m=1;function y(e){p("a direction was passed",e===g||e===m)}var v=h(t,(function(e){e.insDirOf=function(e,t){return e===g?this.insertBefore(t.first()):this.insertAfter(t.last())},e.insAtDirEnd=function(e,t){return e===g?this.prependTo(t):this.appendTo(t)}})),b=h((function(e){e.parent=0,e[g]=0,e[m]=0,e.init=function(e,t,n){this.parent=e,this[g]=t,this[m]=n},this.copy=function(e){return b(e.parent,e[g],e[m])}})),I=h((function(e){e[g]=0,e[m]=0,e.parent=0;var t=0;this.byId={},e.init=function(){this.id=t+=1,I.byId[this.id]=this,this.ends={},this.ends[g]=0,this.ends[m]=0},e.dispose=function(){delete I.byId[this.id]},e.toString=function(){return"{{ MathQuill Node #"+this.id+" }}"},e.jQ=v(),e.jQadd=function(e){return this.jQ=this.jQ.add(e)},e.jQize=function(e){function t(e){if(e.getAttribute){var n=e.getAttribute("mathquill-command-id"),r=e.getAttribute("mathquill-block-id");n&&I.byId[n].jQadd(e),r&&I.byId[r].jQadd(e)}for(e=e.firstChild;e;e=e.nextSibling)t(e)}e=v(e||this.html());for(var n=0;n<e.length;n+=1)t(e[n]);return e},e.createDir=function(e,t){y(e);var n=this;return n.jQize(),n.jQ.insDirOf(e,t.jQ),t[e]=n.adopt(t.parent,t[g],t[m]),n},e.createLeftOf=function(e){return this.createDir(g,e)},e.selectChildren=function(e,t){return C(e,t)},e.bubble=d((function(e){for(var t=this;t&&!1!==e(t);t=t.parent);return this})),e.postOrder=d((function(e){return function t(n){n.eachChild(t),e(n)}(this),this})),e.isEmpty=function(){return 0===this.ends[g]&&0===this.ends[m]},e.isStyleBlock=function(){return!1},e.children=function(){return M(this.ends[g],this.ends[m])},e.eachChild=function(){var e=this.children();return e.each.apply(e,arguments),this},e.foldChildren=function(e,t){return this.children().fold(e,t)},e.withDirAdopt=function(e,t,n,r){return M(this,this).withDirAdopt(e,t,n,r),this},e.adopt=function(e,t,n){return M(this,this).adopt(e,t,n),this},e.disown=function(){return M(this,this).disown(),this},e.remove=function(){return this.jQ.remove(),this.postOrder("dispose"),this.disown()}}));function x(e,t,n){p("a parent is always present",e),p("leftward is properly set up",t?t[m]===n&&t.parent===e:e.ends[g]===n),p("rightward is properly set up",n?n[g]===t&&n.parent===e:e.ends[m]===t)}var M=h((function(e){e.init=function(e,t,n){if(void 0===n&&(n=g),y(n),p("no half-empty fragments",!e==!t),this.ends={},e){p("withDir is passed to Fragment",e instanceof I),p("oppDir is passed to Fragment",t instanceof I),p("withDir and oppDir have the same parent",e.parent===t.parent),this.ends[n]=e,this.ends[-n]=t;var r=this.fold([],(function(e,t){return e.push.apply(e,t.jQ.get()),e}));this.jQ=this.jQ.add(r)}},e.jQ=v(),e.withDirAdopt=function(e,t,n,r){return e===g?this.adopt(t,n,r):this.adopt(t,r,n)},e.adopt=function(e,t,n){x(e,t,n);var r=this;r.disowned=!1;var i=r.ends[g];if(!i)return this;var o=r.ends[m];return t||(e.ends[g]=i),n?n[g]=o:e.ends[m]=o,r.ends[m][m]=n,r.each((function(n){n[g]=t,n.parent=e,t&&(t[m]=n),t=n})),r},e.disown=function(){var e=this,t=e.ends[g];if(!t||e.disowned)return e;e.disowned=!0;var n=e.ends[m],r=t.parent;return x(r,t[g],t),x(r,n,n[m]),t[g]?t[g][m]=n[m]:r.ends[g]=n[m],n[m]?n[m][g]=t[g]:r.ends[m]=t[g],e},e.remove=function(){return this.jQ.remove(),this.each("postOrder","dispose"),this.disown()},e.each=d((function(e){var t=this,n=t.ends[g];if(!n)return t;for(;n!==t.ends[m][m]&&!1!==e(n);n=n[m]);return t})),e.fold=function(e,t){return this.each((function(n){e=t.call(this,e,n)})),e}})),w={},T={},A=h(b,(function(e){e.init=function(e,t){this.parent=e,this.options=t;var n=this.jQ=this._jQ=v('<span class="mq-cursor">​</span>');this.blink=function(){n.toggleClass("mq-blink")},this.upDownCache={}},e.show=function(){return this.jQ=this._jQ.removeClass("mq-blink"),"intervalId"in this?clearInterval(this.intervalId):(this[m]?this.selection&&this.selection.ends[g][g]===this[g]?this.jQ.insertBefore(this.selection.jQ):this.jQ.insertBefore(this[m].jQ.first()):this.jQ.appendTo(this.parent.jQ),this.parent.focus()),this.intervalId=setInterval(this.blink,500),this},e.hide=function(){return"intervalId"in this&&clearInterval(this.intervalId),delete this.intervalId,this.jQ.detach(),this.jQ=v(),this},e.withDirInsertAt=function(e,t,n,r){var i=this.parent;this.parent=t,this[e]=n,this[-e]=r,i!==t&&i.blur&&i.blur(this)},e.insDirOf=function(e,t){return y(e),this.jQ.insDirOf(e,t.jQ),this.withDirInsertAt(e,t.parent,t[e],t),this.parent.jQ.addClass("mq-hasCursor"),this},e.insLeftOf=function(e){return this.insDirOf(g,e)},e.insRightOf=function(e){return this.insDirOf(m,e)},e.insAtDirEnd=function(e,t){return y(e),this.jQ.insAtDirEnd(e,t.jQ),this.withDirInsertAt(e,t,0,t.ends[e]),t.focus(),this},e.insAtLeftEnd=function(e){return this.insAtDirEnd(g,e)},e.insAtRightEnd=function(e){return this.insAtDirEnd(m,e)},e.jumpUpDown=function(e,t){var n=this;n.upDownCache[e.id]=b.copy(n);var r=n.upDownCache[t.id];if(r)r[m]?n.insLeftOf(r[m]):n.insAtRightEnd(r.parent);else{var i=n.offset().left;t.seek(i,n)}},e.offset=function(){var e=this.jQ.removeClass("mq-cursor").offset();return this.jQ.addClass("mq-cursor"),e},e.unwrapGramp=function(){var e=this.parent.parent,t=e.parent,n=e[m],r=e[g];if(e.disown().eachChild((function(i){i.isEmpty()||(i.children().adopt(t,r,n).each((function(t){t.jQ.insertBefore(e.jQ.first())})),r=i.ends[m])})),!this[m])if(this[g])this[m]=this[g][m];else for(;!this[m];){if(this.parent=this.parent[m],!this.parent){this[m]=e[m],this.parent=t;break}this[m]=this.parent.ends[g]}this[m]?this.insLeftOf(this[m]):this.insAtRightEnd(t),e.jQ.remove(),e[g].siblingDeleted&&e[g].siblingDeleted(this.options,m),e[m].siblingDeleted&&e[m].siblingDeleted(this.options,g)},e.startSelection=function(){for(var e=this.anticursor=b.copy(this),t=e.ancestors={},n=e;n.parent;n=n.parent)t[n.parent.id]=n},e.endSelection=function(){delete this.anticursor},e.select=function(){var e=this.anticursor;if(this[g]===e[g]&&this.parent===e.parent)return!1;for(var t=this;t.parent;t=t.parent)if(t.parent.id in e.ancestors){var n=t.parent;break}p("cursor and anticursor in the same tree",n);var r,i,o=e.ancestors[n.id],a=m;if(t[g]!==o)for(var s=t;s;s=s[m])if(s[m]===o[m]){a=g,r=t,i=o;break}return a===m&&(r=o,i=t),r instanceof b&&(r=r[m]),i instanceof b&&(i=i[g]),this.hide().selection=n.selectChildren(r,i),this.insDirOf(a,this.selection.ends[a]),this.selectionChanged(),!0},e.clearSelection=function(){return this.selection&&(this.selection.clear(),delete this.selection,this.selectionChanged()),this},e.deleteSelection=function(){this.selection&&(this[g]=this.selection.ends[g][g],this[m]=this.selection.ends[m][m],this.selection.remove(),this.selectionChanged(),delete this.selection)},e.replaceSelection=function(){var e=this.selection;return e&&(this[g]=e.ends[g][g],this[m]=e.ends[m][m],delete this.selection),e},e.depth=function(){for(var e=this,t=0;e=e.parent;)t+=e instanceof Q?1:0;return t},e.isTooDeep=function(e){if(void 0!==this.options.maxDepth)return this.depth()+(e||0)>this.options.maxDepth}})),C=h(M,(function(e,t){e.init=function(){t.init.apply(this,arguments),this.jQ=this.jQ.wrapAll('<span class="mq-selection"></span>').parent()},e.adopt=function(){return this.jQ.replaceWith(this.jQ=this.jQ.children()),t.adopt.apply(this,arguments)},e.clear=function(){return this.jQ.replaceWith(this.jQ[0].childNodes),this},e.join=function(e){return this.fold("",(function(t,n){return t+n[e]()}))}})),N=h((function(e){e.init=function(e,t,n){this.id=e.id,this.data={},this.root=e,this.container=t,this.options=n,e.controller=this,this.cursor=e.cursor=A(e,n)},e.handle=function(e,t){var n=this.options.handlers;if(n&&n.fns[e]){var r=n.APIClasses[this.KIND_OF_MQ](this);t===g||t===m?n.fns[e](t,r):n.fns[e](r)}};var t=[];this.onNotify=function(e){t.push(e)},e.notify=function(){for(var e=0;e<t.length;e+=1)t[e].apply(this.cursor,arguments);return this}})),E={},S=h(),j={},k=h(),D={};function L(){window.console&&console.warn('You are using the MathQuill API without specifying an interface version, which will fail in v1.0.0. Easiest fix is to do the following before doing anything else:\n\n MathQuill = MathQuill.getInterface(1);\n // now MathQuill.MathField() works like it used to\n\nSee also the "`dev` branch (2014–2015) → v0.10.0 Migration Guide" at\n https://github.com/mathquill/mathquill/wiki/%60dev%60-branch-(2014%E2%80%932015)-%E2%86%92-v0.10.0-Migration-Guide')}function O(e){return L(),We(e)}O.prototype=k.p,O.VERSION="v0.10.11",O.interfaceVersion=function(e){if(1!==e)throw"Only interface version 1 supported. You specified: "+e;return(L=function(){window.console&&console.warn('You called MathQuill.interfaceVersion(1); to specify the interface version, which will fail in v1.0.0. You can fix this easily by doing this before doing anything else:\n\n MathQuill = MathQuill.getInterface(1);\n // now MathQuill.MathField() works like it used to\n\nSee also the "`dev` branch (2014–2015) → v0.10.0 Migration Guide" at\n https://github.com/mathquill/mathquill/wiki/%60dev%60-branch-(2014%E2%80%932015)-%E2%86%92-v0.10.0-Migration-Guide')})(),O},O.getInterface=z;var R=z.MIN=1,P=z.MAX=2;function z(e){if(!(R<=e&&e<=P))throw"Only interface versions between "+R+" and "+P+" supported. You specified: "+e;function n(e){if(!e||!e.nodeType)return null;var t=v(e).children(".mq-root-block").attr(i),n=t&&I.byId[t].controller;return n?r[n.KIND_OF_MQ](n):null}var r={};function o(e,t){for(var n in t&&t.handlers&&(t.handlers={fns:t.handlers,APIClasses:r}),t)if(t.hasOwnProperty(n)){var i=t[n],o=j[n];e[n]=o?o(i):i}}n.L=g,n.R=m,n.saneKeyboardEvents=B,n.config=function(e){return o(S.p,e),this},n.registerEmbed=function(e,t){if(!/^[a-z][a-z0-9]*$/i.test(e))throw"Embed name must start with letter and be only letters and digits";D[e]=t};var a=r.AbstractMathQuill=h(k,(function(e){e.init=function(e){this.__controller=e,this.__options=e.options,this.id=e.id,this.data=e.data},e.__mathquillify=function(e){var t=this.__controller,n=t.root,r=t.container;t.createTextarea();var o=r.addClass(e).contents().detach();n.jQ=v('<span class="mq-root-block"/>').attr(i,n.id).appendTo(r),this.latex(o.text()),this.revert=function(){return r.empty().unbind(".mathquill").removeClass("mq-editable-field mq-math-mode mq-text-mode").append(o)}},e.config=function(e){return o(this.__options,e),this},e.el=function(){return this.__controller.container[0]},e.text=function(){return this.__controller.exportText()},e.latex=function(e){return arguments.length>0?(this.__controller.renderLatexMath(e),this.__controller.blurred&&this.__controller.cursor.hide().parent.blur(),this):this.__controller.exportLatex()},e.html=function(){return this.__controller.root.jQ.html().replace(/ mathquill-(?:command|block)-id="?\d+"?/g,"").replace(/<span class="?mq-cursor( mq-blink)?"?>.?<\/span>/i,"").replace(/ mq-hasCursor|mq-hasCursor ?/,"").replace(/ class=(""|(?= |>))/g,"")},e.reflow=function(){return this.__controller.root.postOrder("reflow"),this}}));for(var l in n.prototype=a.prototype,r.EditableField=h(a,(function(e,n){e.__mathquillify=function(){return n.__mathquillify.apply(this,arguments),this.__controller.editable=!0,this.__controller.delegateMouseEvents(),this.__controller.editablesTextareaEvents(),this},e.focus=function(){return this.__controller.textarea.focus(),this},e.blur=function(){return this.__controller.textarea.blur(),this},e.write=function(e){return this.__controller.writeLatex(e),this.__controller.scrollHoriz(),this.__controller.blurred&&this.__controller.cursor.hide().parent.blur(),this},e.empty=function(){var e=this.__controller.root,t=this.__controller.cursor;return e.eachChild("postOrder","dispose"),e.ends[g]=e.ends[m]=0,e.jQ.empty(),delete t.selection,t.insAtRightEnd(e),this},e.cmd=function(e){var t=this.__controller.notify(),n=t.cursor;if(/^\\[a-z]+$/i.test(e)&&!n.isTooDeep()){e=e.slice(1);var r=w[e]||Ge[e];r&&(e=r(e),n.selection&&e.replaces(n.replaceSelection()),e.createLeftOf(n.show()),this.__controller.scrollHoriz())}else n.parent.write(n,e);return t.blurred&&n.hide().parent.blur(),this},e.select=function(){var e=this.__controller;for(e.notify("move").cursor.insAtRightEnd(e.root);e.cursor[g];)e.selectLeft();return this},e.clearSelection=function(){return this.__controller.cursor.clearSelection(),this},e.moveToDirEnd=function(e){return this.__controller.notify("move").cursor.insAtDirEnd(e,this.__controller.root),this},e.moveToLeftEnd=function(){return this.moveToDirEnd(g)},e.moveToRightEnd=function(){return this.moveToDirEnd(m)},e.keystroke=function(e){e=e.replace(/^\s+|\s+$/g,"").split(/\s+/);for(var t=0;t<e.length;t+=1)this.__controller.keystroke(e[t],{preventDefault:s});return this},e.typedText=function(e){for(var t=0;t<e.length;t+=1)this.__controller.typedText(e.charAt(t));return this},e.dropEmbedded=function(e,t,n){var r=e-v(window).scrollLeft(),i=t-v(window).scrollTop(),o=document.elementFromPoint(r,i);this.__controller.seek(v(o),e,t),Ze().setOptions(n).createLeftOf(this.__controller.cursor)},e.clickAt=function(e,n,r){r=r||document.elementFromPoint(e,n);var i=this.__controller,o=i.root;return t.contains(o.jQ[0],r)||(r=o.jQ[0]),i.seek(v(r),e+pageXOffset,n+pageYOffset),i.blurred&&this.focus(),this},e.ignoreNextMousedown=function(e){return this.__controller.cursor.options.ignoreNextMousedown=e,this}})),n.EditableField=function(){throw"wtf don't call me, I'm 'abstract'"},n.EditableField.prototype=r.EditableField.prototype,E)!function(t,i){var o=r[t]=i(r);n[t]=function(r,i){var a=n(r);if(a instanceof o||!r||!r.nodeType)return a;var s=N(o.RootBlock(),v(r),S());return s.KIND_OF_MQ=t,o(s).__mathquillify(i,e)},n[t].prototype=o.prototype}(l,E[l]);return n}O.noConflict=function(){return window.MathQuill=U,O};var U=window.MathQuill;function _(e){for(var t="moveOutOf deleteOutOf selectOutOf upOutOf downOutOf".split(" "),n=0;n<t.length;n+=1)!function(t){e[t]=function(e){this.controller.handle(t,e)}}(t[n]);e.reflow=function(){this.controller.handle("reflow"),this.controller.handle("edited"),this.controller.handle("edit")}}window.MathQuill=O;var Z,G=h((function(e,t,n){function r(e,t){throw"Parse Error: "+t+" at "+(e?"'"+e+"'":"EOF")}e.init=function(e){this._=e},e.parse=function(e){return this.skip(a)._(""+e,(function(e,t){return t}),r)},e.or=function(e){p("or is passed a parser",e instanceof n);var t=this;return n((function(n,r,i){return t._(n,r,(function(t){return e._(n,r,i)}))}))},e.then=function(e){var t=this;return n((function(r,i,o){return t._(r,(function(t,r){var a=e instanceof n?e:e(r);return p("a parser is returned",a instanceof n),a._(t,i,o)}),o)}))},e.many=function(){var e=this;return n((function(t,n,r){for(var i=[];e._(t,o,a););return n(t,i);function o(e,n){return t=e,i.push(n),!0}function a(){return!1}}))},e.times=function(e,t){arguments.length<2&&(t=e);var r=this;return n((function(n,i,o){for(var a,s=[],l=!0,c=0;c<e;c+=1)if(!(l=r._(n,u,d)))return o(n,a);for(;c<t&&l;c+=1)l=r._(n,u,f);return i(n,s);function u(e,t){return s.push(t),n=e,!0}function d(e,t){return a=t,n=e,!1}function f(e,t){return!1}}))},e.result=function(e){return this.then(o(e))},e.atMost=function(e){return this.times(0,e)},e.atLeast=function(e){var t=this;return t.times(e).then((function(e){return t.many().map((function(t){return e.concat(t)}))}))},e.map=function(e){return this.then((function(t){return o(e(t))}))},e.skip=function(e){return this.then((function(t){return e.result(t)}))},this.string=function(e){var t=e.length,r="expected '"+e+"'";return n((function(n,i,o){var a=n.slice(0,t);return a===e?i(n.slice(t),a):o(n,r)}))};var i=this.regex=function(e){p("regexp parser is anchored","^"===e.toString().charAt(1));var t="expected "+e;return n((function(n,r,i){var o=e.exec(n);if(o){var a=o[0];return r(n.slice(a.length),a)}return i(n,t)}))},o=n.succeed=function(e){return n((function(t,n){return n(t,e)}))},a=(n.fail=function(e){return n((function(t,n,r){return r(t,e)}))},n.letter=i(/^[a-z]/i),n.letters=i(/^[a-z]*/i),n.digit=i(/^[0-9]/),n.digits=i(/^[0-9]*/),n.whitespace=i(/^\s+/),n.optWhitespace=i(/^\s*/),n.any=n((function(e,t,n){return e?t(e.slice(1),e.charAt(0)):n(e,"expected any character")})),n.all=n((function(e,t,n){return t("",e)})),n.eof=n((function(e,t,n){return e?n(e,"expected EOF"):t(e,e)})))})),B=(Z={8:"Backspace",9:"Tab",10:"Enter",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Esc",32:"Spacebar",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",45:"Insert",46:"Del",144:"NumLock"},function(e,n){var r,i=null,o=null,a=t(e),l=t(n.container||a),c=s;function u(e){c=e,clearTimeout(r),r=setTimeout(e)}function d(e){u((function(t){c=s,clearTimeout(r),e(t)}))}l.bind("keydown keypress input keyup focusout paste",(function(e){c(e)}));var f=!1;function p(){n.keystroke(function(e){var t,n=e.which||e.keyCode,r=Z[n],i=[];return e.ctrlKey&&i.push("Ctrl"),e.originalEvent&&e.originalEvent.metaKey&&i.push("Meta"),e.altKey&&i.push("Alt"),e.shiftKey&&i.push("Shift"),t=r||String.fromCharCode(n),i.length||r?(i.push(t),i.join("-")):t}(i),i)}function h(){if(!("selectionStart"in(e=a[0]))||e.selectionStart===e.selectionEnd){var e,t=a.val();1===t.length?(a.val(""),n.typedText(t)):t&&a[0].select&&a[0].select()}}function g(){var e=a.val();a.val(""),e&&n.paste(e)}return l.bind({keydown:function(e){e.target===a[0]&&(i=e,o=null,f&&d((function(e){e&&"focusout"===e.type||!a[0].select||a[0].select()})),p())},keypress:function(e){e.target===a[0]&&(i&&o&&p(),o=e,u(h))},keyup:function(e){e.target===a[0]&&i&&!o&&u(h)},focusout:function(){i=o=null},cut:function(){d((function(){n.cut()}))},copy:function(){d((function(){n.copy()}))},paste:function(e){e.target===a[0]&&(document.activeElement!==a[0]&&a.focus(),u(g))}}),{select:function(e){c(),c=s,clearTimeout(r),a.val(e),e&&a[0].select&&a[0].select(),f=!!e}}});N.open((function(e,t){e.exportText=function(){return this.root.foldChildren("",(function(e,t){return e+t.text()}))}})),N.open((function(e){e.focusBlurEvents=function(){var e,t=this,n=t.root,r=t.cursor;function i(){clearTimeout(e),r.selection&&r.selection.jQ.addClass("mq-blur"),o()}function o(){r.hide().parent.blur(),t.container.removeClass("mq-focused"),v(window).unbind("blur",i)}t.textarea.focus((function(){t.blurred=!1,clearTimeout(e),t.container.addClass("mq-focused"),r.parent||r.insAtRightEnd(n),r.selection?(r.selection.jQ.removeClass("mq-blur"),t.selectionChanged()):r.show()})).blur((function(){t.blurred=!0,e=setTimeout((function(){n.postOrder("intentionalBlur"),r.clearSelection().endSelection(),o()})),v(window).bind("blur",i)})),t.blurred=!0,r.hide().parent.blur()},e.unbindFocusBlurEvents=function(){this.textarea.unbind("focus blur")}})),N.open((function(e){e.keystroke=function(e,t){this.cursor.parent.keystroke(e,t,this)}})),I.open((function(e){e.keystroke=function(e,t,n){var r=n.cursor;switch(e){case"Ctrl-Shift-Backspace":case"Ctrl-Backspace":n.ctrlDeleteDir(g);break;case"Shift-Backspace":case"Backspace":n.backspace();break;case"Esc":case"Tab":return void n.escapeDir(m,e,t);case"Shift-Tab":case"Shift-Esc":return void n.escapeDir(g,e,t);case"End":n.notify("move").cursor.insAtRightEnd(r.parent);break;case"Ctrl-End":n.notify("move").cursor.insAtRightEnd(n.root);break;case"Shift-End":for(;r[m];)n.selectRight();break;case"Ctrl-Shift-End":for(;r[m]||r.parent!==n.root;)n.selectRight();break;case"Home":n.notify("move").cursor.insAtLeftEnd(r.parent);break;case"Ctrl-Home":n.notify("move").cursor.insAtLeftEnd(n.root);break;case"Shift-Home":for(;r[g];)n.selectLeft();break;case"Ctrl-Shift-Home":for(;r[g]||r.parent!==n.root;)n.selectLeft();break;case"Left":n.moveLeft();break;case"Shift-Left":n.selectLeft();break;case"Ctrl-Left":break;case"Right":n.moveRight();break;case"Shift-Right":n.selectRight();break;case"Ctrl-Right":break;case"Up":n.moveUp();break;case"Down":n.moveDown();break;case"Shift-Up":if(r[g])for(;r[g];)n.selectLeft();else n.selectLeft();case"Shift-Down":if(r[m])for(;r[m];)n.selectRight();else n.selectRight();case"Ctrl-Up":case"Ctrl-Down":break;case"Ctrl-Shift-Del":case"Ctrl-Del":n.ctrlDeleteDir(m);break;case"Shift-Del":case"Del":n.deleteForward();break;case"Meta-A":case"Ctrl-A":for(n.notify("move").cursor.insAtRightEnd(n.root);r[g];)n.selectLeft();break;default:return}t.preventDefault(),n.scrollHoriz()},e.moveOutOf=e.moveTowards=e.deleteOutOf=e.deleteTowards=e.unselectInto=e.selectOutOf=e.selectTowards=function(){p("overridden or never called on this node")}})),N.open((function(e){function t(e,t){var n=e.notify("upDown").cursor,r=t+"Into",i=t+"OutOf";return n[m][r]?n.insAtLeftEnd(n[m][r]):n[g][r]?n.insAtRightEnd(n[g][r]):n.parent.bubble((function(e){var t=e[i];if(t&&("function"==typeof t&&(t=e[i](n)),t instanceof I&&n.jumpUpDown(e,t),!0!==t))return!1})),e}this.onNotify((function(e){"move"!==e&&"upDown"!==e||this.show().clearSelection()})),e.escapeDir=function(e,t,n){y(e);var r=this.cursor;if(r.parent!==this.root&&n.preventDefault(),r.parent!==this.root)return r.parent.moveOutOf(e,r),this.notify("move")},j.leftRightIntoCmdGoes=function(e){if(e&&"up"!==e&&"down"!==e)throw'"up" or "down" required for leftRightIntoCmdGoes option, got "'+e+'"';return e},e.moveDir=function(e){y(e);var t=this.cursor,n=t.options.leftRightIntoCmdGoes;return t.selection?t.insDirOf(e,t.selection.ends[e]):t[e]?t[e].moveTowards(e,t,n):t.parent.moveOutOf(e,t,n),this.notify("move")},e.moveLeft=function(){return this.moveDir(g)},e.moveRight=function(){return this.moveDir(m)},e.moveUp=function(){return t(this,"up")},e.moveDown=function(){return t(this,"down")},this.onNotify((function(e){"upDown"!==e&&(this.upDownCache={})})),this.onNotify((function(e){"edit"===e&&this.show().deleteSelection()})),e.deleteDir=function(e){y(e);var t=this.cursor,n=t.selection;return this.notify("edit"),n||(t[e]?t[e].deleteTowards(e,t):t.parent.deleteOutOf(e,t)),t[g].siblingDeleted&&t[g].siblingDeleted(t.options,m),t[m].siblingDeleted&&t[m].siblingDeleted(t.options,g),t.parent.bubble("reflow"),this},e.ctrlDeleteDir=function(e){y(e);var t=this.cursor;return!t[e]||t.selection?this.deleteDir(e):(this.notify("edit"),e===g?M(t.parent.ends[g],t[g]).remove():M(t[m],t.parent.ends[m]).remove(),t.insAtDirEnd(e,t.parent),t[g].siblingDeleted&&t[g].siblingDeleted(t.options,m),t[m].siblingDeleted&&t[m].siblingDeleted(t.options,g),t.parent.bubble("reflow"),this)},e.backspace=function(){return this.deleteDir(g)},e.deleteForward=function(){return this.deleteDir(m)},this.onNotify((function(e){"select"!==e&&this.endSelection()})),e.selectDir=function(e){var t=this.notify("select").cursor,n=t.selection;y(e),t.anticursor||t.startSelection();var r=t[e];r?n&&n.ends[e]===r&&t.anticursor[-e]!==r?r.unselectInto(e,t):r.selectTowards(e,t):t.parent.selectOutOf(e,t),t.clearSelection(),t.select()||t.show()},e.selectLeft=function(){return this.selectDir(g)},e.selectRight=function(){return this.selectDir(m)}}));var F=function(){function e(e){for(var t=e[0]||Q(),n=1;n<e.length;n+=1)e[n].children().adopt(t,t.ends[m],0);return t}var t=G.string,n=G.regex,r=G.letter,i=G.any,o=G.optWhitespace,a=G.succeed,s=G.fail,l=r.map((function(e){return ie(e)})),c=n(/^[^${}\\_^]/).map((function(e){return V(e)})),u=n(/^[^\\a-eg-zA-Z]/).or(t("\\").then(n(/^[a-z]+/i).or(n(/^\s+/).result(" ")).or(i))).then((function(e){var t=w[e];return t?t(e).parser():s("unknown command: \\"+e)})).or(l).or(c),d=t("{").then((function(){return p})).skip(t("}")),f=o.then(d.or(u.map((function(e){var t=Q();return e.adopt(t,0,0),t})))),p=f.many().map(e).skip(o),h=t("[").then(f.then((function(e){return"]"!==e.join("latex")?a(e):s()})).many().map(e).skip(o)).skip(t("]")),g=p;return g.block=f,g.optBlock=h,g}();N.open((function(e,t){e.exportLatex=function(){return this.root.latex().replace(/(\\[a-z]+) (?![a-z])/gi,"$1")},j.maxDepth=function(e){return"number"==typeof e?e:void 0},e.writeLatex=function(e){var t=this.notify("edit").cursor;return t.parent.writeLatex(t,e),this},e.renderLatexMath=function(e){var t=this.root,n=this.cursor,r=(n.options,t.jQ),i=G.all,o=G.eof,a=F.skip(o).or(i.result(!1)).parse(e);if(t.eachChild("postOrder","dispose"),t.ends[g]=t.ends[m]=0,a&&a.prepareInsertionAt(n)){a.children().adopt(t,0,0);var s=a.join("html");r.html(s),t.jQize(r.children()),t.finalizeInsert(n.options)}else r.empty();delete n.selection,n.insAtRightEnd(t)},e.renderLatexText=function(e){var t=this.root,n=this.cursor;t.jQ.children().slice(1).remove(),t.eachChild("postOrder","dispose"),t.ends[g]=t.ends[m]=0,delete n.selection,n.show().insAtRightEnd(t);var r=G.regex,i=G.string,o=G.eof,a=G.all,s=i("$").then(F).skip(i("$").or(o)).map((function(e){var t=ee(n);t.createBlocks();var r=t.ends[g];return e.children().adopt(r,0,0),t})),l=i("\\$").result("$").or(r(/^[^$]/)).map(V),c=s.or(l).many().skip(o).or(a.result(!1)).parse(e);if(c){for(var u=0;u<c.length;u+=1)c[u].adopt(t,t.ends[m],0);t.jQize().appendTo(t.jQ),t.finalizeInsert(n.options)}}})),N.open((function(e){S.p.ignoreNextMousedown=s,e.delegateMouseEvents=function(){var e=this.root.jQ;this.container.bind("mousedown.mathquill",(function(t){var n,r=v(t.target).closest(".mq-root-block"),o=I.byId[r.attr(i)||e.attr(i)].controller,a=o.cursor,l=a.blink,c=o.textareaSpan,u=o.textarea;function d(e){n=v(e.target)}function f(e){a.anticursor||a.startSelection(),o.seek(n,e.pageX,e.pageY).cursor.select(),n=void 0}t.preventDefault(),t.target.unselectable=!0,a.options.ignoreNextMousedown(t)||(a.options.ignoreNextMousedown=s,o.blurred&&(o.editable||r.prepend(c),u.focus()),a.blink=s,o.seek(v(t.target),t.pageX,t.pageY).cursor.startSelection(),r.mousemove(d),v(t.target.ownerDocument).mousemove(f).mouseup((function e(t){a.blink=l,a.selection||(o.editable?a.show():c.detach()),r.unbind("mousemove",d),v(t.target.ownerDocument).unbind("mousemove",f).unbind("mouseup",e)})))}))}})),N.open((function(e){e.seek=function(e,t,n){var o=this.notify("select").cursor;if(e){var a=e.attr(i)||e.attr(r);if(!a){var s=e.parent();a=s.attr(i)||s.attr(r)}}var l=a?I.byId[a]:this.root;return p("nodeId is the id of some Node that exists",l),o.clearSelection().show(),l.seek(t,o),this.scrollHoriz(),this}})),N.open((function(e){e.scrollHoriz=function(){var e=this.cursor,t=e.selection,n=e.offset();if(n){var r=e.jQ.closest(".mq-editable-field"),i=Number(n.top-r.offset().top+2*e.jQ.height());r.find(".mq-textarea textarea").css("top",i+"px")}var o=this.root.jQ[0].getBoundingClientRect();if(t){var a=t.jQ[0].getBoundingClientRect(),s=a.left-(o.left+20),l=a.right-(o.right-20);if(t.ends[g]===e[m])if(s<0)u=s;else{if(!(l>0))return;u=a.left-l<o.left+20?s:l}else if(l>0)u=l;else{if(!(s<0))return;u=a.right-s>o.right-20?l:s}}else{var c=e.jQ[0].getBoundingClientRect().left;if(c>o.right-20)var u=c-(o.right-20);else{if(!(c<o.left+20))return;u=c-(o.left+20)}}this.root.jQ.stop().animate({scrollLeft:"+="+u},100)}})),N.open((function(e){S.p.substituteTextarea=function(){return v("<textarea autocapitalize=off autocomplete=off autocorrect=off spellcheck=false x-palm-disable-ste-all=true />")[0]},e.createTextarea=function(){var e=this.textareaSpan=v('<span class="mq-textarea"></span>'),t=this.options.substituteTextarea();if(!t.nodeType)throw"substituteTextarea() must return a DOM element, got "+t;t=this.textarea=v(t).appendTo(e);var n=this;n.cursor.selectionChanged=function(){n.selectionChanged()}},e.selectionChanged=function(){var e=this;be(e.container[0]),void 0===e.textareaSelectionTimeout&&(e.textareaSelectionTimeout=setTimeout((function(){e.setTextareaSelection()})))},e.setTextareaSelection=function(){this.textareaSelectionTimeout=void 0;var e="";this.cursor.selection&&(e=this.cursor.selection.join("latex"),this.options.statelessClipboard&&(e="$"+e+"$")),this.selectFn(e)},e.staticMathTextareaEvents=function(){var e=this,n=(e.root,e.cursor),r=e.textarea,i=e.textareaSpan;function o(){i.detach(),e.blurred=!0}this.container.prepend(t('<span class="mq-selectable">').text("$"+e.exportLatex()+"$")),e.blurred=!0,r.bind("cut paste",!1).bind("copy",(function(){e.setTextareaSelection()})).focus((function(){e.blurred=!1})).blur((function(){n.selection&&n.selection.clear(),setTimeout(o)})),e.selectFn=function(e){r.val(e),e&&r.select()}},S.p.substituteKeyboardEvents=B,e.editablesTextareaEvents=function(){var e=this.textarea,t=this.textareaSpan,n=this.options.substituteKeyboardEvents(e,this);this.selectFn=function(e){n.select(e)},this.container.prepend(t),this.focusBlurEvents()},e.unbindEditablesEvents=function(){var e=this,t=e.textarea,n=e.textareaSpan;this.selectFn=function(e){t.val(e),e&&t.select()},n.remove(),this.unbindFocusBlurEvents(),e.blurred=!0,t.bind("cut paste",!1)},e.typedText=function(e){if("\n"===e)return this.handle("enter");var t=this.notify().cursor;t.parent.write(t,e),this.scrollHoriz()},e.cut=function(){var e=this,t=e.cursor;t.selection&&setTimeout((function(){e.notify("edit"),t.parent.bubble("reflow")}))},e.copy=function(){this.setTextareaSelection()},e.paste=function(e){this.options.statelessClipboard&&(e="$"===e.slice(0,1)&&"$"===e.slice(-1)?e.slice(1,-1):"\\text{"+e+"}"),this.writeLatex(e).cursor.show()}}));var Y=h(I,(function(e,t){e.finalizeInsert=function(e,t){var n=this;n.postOrder("finalizeTree",e),n.postOrder("contactWeld",t),n.postOrder("blur"),n.postOrder("reflow"),n[m].siblingCreated&&n[m].siblingCreated(e,g),n[g].siblingCreated&&n[g].siblingCreated(e,m),n.bubble("reflow")},e.prepareInsertionAt=function(e){var t=e.options.maxDepth;if(void 0!==t){var n=e.depth();if(n>t)return!1;this.removeNodesDeeperThan(t-n)}return!0},e.removeNodesDeeperThan=function(e){for(var t,n=0,r=[[this,n]];r.length;)(t=r.shift())[0].children().each((function(i){var o=i instanceof Q?1:0;(n=t[1]+o)<=e?r.push([i,n]):(o?i.children():i).remove()}))}})),W=h(Y,(function(e,t){e.init=function(e,n,r){var i=this;t.init.call(i),i.ctrlSeq||(i.ctrlSeq=e),n&&(i.htmlTemplate=n),r&&(i.textTemplate=r)},e.replaces=function(e){e.disown(),this.replacedFragment=e},e.isEmpty=function(){return this.foldChildren(!0,(function(e,t){return e&&t.isEmpty()}))},e.parser=function(){var e=F.block,t=this;return e.times(t.numBlocks()).map((function(e){t.blocks=e;for(var n=0;n<e.length;n+=1)e[n].adopt(t,t.ends[m],0);return t}))},e.createLeftOf=function(e){var n=this,r=n.replacedFragment;n.createBlocks(),t.createLeftOf.call(n,e),r&&(r.adopt(n.ends[g],0,0),r.jQ.appendTo(n.ends[g].jQ),n.placeCursor(e),n.prepareInsertionAt(e)),n.finalizeInsert(e.options),n.placeCursor(e)},e.createBlocks=function(){for(var e=this,t=e.numBlocks(),n=e.blocks=Array(t),r=0;r<t;r+=1)(n[r]=Q()).adopt(e,e.ends[m],0)},e.placeCursor=function(e){e.insAtRightEnd(this.foldChildren(this.ends[g],(function(e,t){return e.isEmpty()?e:t})))},e.moveTowards=function(e,t,n){var r=n&&this[n+"Into"];t.insAtDirEnd(-e,r||this.ends[-e])},e.deleteTowards=function(e,t){this.isEmpty()?t[e]=this.remove()[e]:this.moveTowards(e,t,null)},e.selectTowards=function(e,t){t[-e]=this,t[e]=this[e]},e.selectChildren=function(){return C(this,this)},e.unselectInto=function(e,t){t.insAtDirEnd(-e,t.anticursor.ancestors[this.id])},e.seek=function(e,t){function n(e){var t={};return t[g]=e.jQ.offset().left,t[m]=t[g]+e.jQ.outerWidth(),t}var r=this,i=n(r);if(e<i[g])return t.insLeftOf(r);if(e>i[m])return t.insRightOf(r);var o=i[g];r.eachChild((function(a){var s=n(a);return e<s[g]?(e-o<s[g]-e?a[g]?t.insAtRightEnd(a[g]):t.insLeftOf(r):t.insAtLeftEnd(a),!1):e>s[m]?void(a[m]?o=s[m]:i[m]-e<e-s[m]?t.insRightOf(r):t.insAtRightEnd(a)):(a.seek(e,t),!1)}))},e.numBlocks=function(){var e=this.htmlTemplate.match(/&\d+/g);return e?e.length:0},e.html=function(){var e=this,t=e.blocks,n=" mathquill-command-id="+e.id,r=e.htmlTemplate.match(/<[^<>]+>|[^<>]+/g);p("no unmatched angle brackets",r.join("")===this.htmlTemplate);for(var i=0,o=r[0];o;o=r[i+=1])if("/>"===o.slice(-2))r[i]=o.slice(0,-2)+n+"/>";else if("<"===o.charAt(0)){p("not an unmatched top-level close tag","/"!==o.charAt(1)),r[i]=o.slice(0,-1)+n+">";var a=1;do{p("no missing close tags",o=r[i+=1]),"</"===o.slice(0,2)?a-=1:"<"===o.charAt(0)&&"/>"!==o.slice(-2)&&(a+=1)}while(a>0)}return r.join("").replace(/>&(\d+)/g,(function(e,n){return" mathquill-block-id="+t[n].id+">"+t[n].join("html")}))},e.latex=function(){return this.foldChildren(this.ctrlSeq,(function(e,t){return e+"{"+(t.latex()||" ")+"}"}))},e.textTemplate=[""],e.text=function(){var e=this,t=0;return e.foldChildren(e.textTemplate[t],(function(n,r){t+=1;var i=r.text();return n&&"("===e.textTemplate[t]&&"("===i[0]&&")"===i.slice(-1)?n+i.slice(1,-1)+e.textTemplate[t]:n+i+(e.textTemplate[t]||"")}))}})),H=h(W,(function(e,t){e.init=function(e,n,r){r||(r=e&&e.length>1?e.slice(1):e),t.init.call(this,e,n,[r])},e.parser=function(){return G.succeed(this)},e.numBlocks=function(){return 0},e.replaces=function(e){e.remove()},e.createBlocks=s,e.moveTowards=function(e,t){t.jQ.insDirOf(e,this.jQ),t[-e]=this,t[e]=this[e]},e.deleteTowards=function(e,t){t[e]=this.remove()[e]},e.seek=function(e,t){e-this.jQ.offset().left<this.jQ.outerWidth()/2?t.insLeftOf(this):t.insRightOf(this)},e.latex=function(){return this.ctrlSeq},e.text=function(){return this.textTemplate},e.placeCursor=s,e.isEmpty=function(){return!0}})),V=h(H,(function(e,t){e.init=function(e,n){t.init.call(this,e,"<span>"+(n||e)+"</span>")}})),q=h(H,(function(e,t){e.init=function(e,n,r){t.init.call(this,e,'<span class="mq-binary-operator">'+n+"</span>",r)}})),Q=h(Y,(function(e,t){e.join=function(e){return this.foldChildren("",(function(t,n){return t+n[e]()}))},e.html=function(){return this.join("html")},e.latex=function(){return this.join("latex")},e.text=function(){return this.ends[g]===this.ends[m]&&0!==this.ends[g]?this.ends[g].text():this.join("text")},e.keystroke=function(e,n,r){return!r.options.spaceBehavesLikeTab||"Spacebar"!==e&&"Shift-Spacebar"!==e?t.keystroke.apply(this,arguments):(n.preventDefault(),void r.escapeDir("Shift-Spacebar"===e?g:m,e,n))},e.moveOutOf=function(e,t,n){n&&this.parent[n+"Into"]||!this[e]?t.insDirOf(e,this.parent):t.insAtDirEnd(-e,this[e])},e.selectOutOf=function(e,t){t.insDirOf(e,this.parent)},e.deleteOutOf=function(e,t){t.unwrapGramp()},e.seek=function(e,t){var n=this.ends[m];if(!n||n.jQ.offset().left+n.jQ.outerWidth()<e)return t.insAtRightEnd(this);if(e<this.ends[g].jQ.offset().left)return t.insAtLeftEnd(this);for(;e<n.jQ.offset().left;)n=n[g];return n.seek(e,t)},e.chToCmd=function(e,t){var n;return e.match(/^[a-eg-zA-Z]$/)?ie(e):/^\d$/.test(e)?ne(e):t&&t.typingSlashWritesDivisionSymbol&&"/"===e?w["÷"](e):t&&t.typingAsteriskWritesTimesSymbol&&"*"===e?w["×"](e):(n=T[e]||w[e])?n(e):V(e)},e.write=function(e,t){var n=this.chToCmd(t,e.options);e.selection&&n.replaces(e.replaceSelection()),e.isTooDeep()||n.createLeftOf(e.show())},e.writeLatex=function(e,t){var n=G.all,r=G.eof,i=F.skip(r).or(n.result(!1)).parse(t);i&&!i.isEmpty()&&i.prepareInsertionAt(e)&&(i.children().adopt(e.parent,e[g],e[m]),i.jQize().insertBefore(e.jQ),e[g]=i.ends[m],i.finalizeInsert(e.options,e),i.ends[m][m].siblingCreated&&i.ends[m][m].siblingCreated(e.options,g),i.ends[g][g].siblingCreated&&i.ends[g][g].siblingCreated(e.options,m),e.parent.bubble("reflow"))},e.focus=function(){return this.jQ.addClass("mq-hasCursor"),this.jQ.removeClass("mq-empty"),this},e.blur=function(){return this.jQ.removeClass("mq-hasCursor"),this.isEmpty()&&this.jQ.addClass("mq-empty"),this}}));S.p.mouseEvents=!0,E.StaticMath=function(e){return h(e.AbstractMathQuill,(function(t,n){this.RootBlock=Q,t.__mathquillify=function(e,t){return this.config(e),n.__mathquillify.call(this,"mq-math-mode"),this.__options.mouseEvents&&(this.__controller.delegateMouseEvents(),this.__controller.staticMathTextareaEvents()),this},t.init=function(){n.init.apply(this,arguments),this.__controller.root.postOrder("registerInnerField",this.innerFields=[],e.InnerMathField)},t.latex=function(){var t=n.latex.apply(this,arguments);return arguments.length>0&&this.__controller.root.postOrder("registerInnerField",this.innerFields=[],e.InnerMathField),t}}))};var J=h(Q,_);E.MathField=function(e){return h(e.EditableField,(function(e,t){this.RootBlock=J,e.__mathquillify=function(e,n){return this.config(e),n>1&&(this.__controller.root.reflow=s),t.__mathquillify.call(this,"mq-editable-field mq-math-mode"),delete this.__controller.root.reflow,this}}))},E.InnerMathField=function(e){return h(e.MathField,(function(e,t){e.makeStatic=function(){this.__controller.editable=!1,this.__controller.root.blur(),this.__controller.unbindEditablesEvents(),this.__controller.container.removeClass("mq-editable-field")},e.makeEditable=function(){this.__controller.editable=!0,this.__controller.editablesTextareaEvents(),this.__controller.cursor.insAtRightEnd(this.__controller.root),this.__controller.container.addClass("mq-editable-field")}}))};var X=h(I,(function(e,t){function n(e){e.jQ[0].normalize();var t=e.jQ[0].firstChild;if(t){p("only node in TextBlock span is Text node",3===t.nodeType);var n=K(t.data);return n.jQadd(t),e.children().disown(),n.adopt(e,0,0)}}e.ctrlSeq="\\text",e.replaces=function(e){e instanceof M?this.replacedText=e.remove().jQ.text():"string"==typeof e&&(this.replacedText=e)},e.jQadd=function(e){t.jQadd.call(this,e),this.ends[g]&&this.ends[g].jQadd(this.jQ[0].firstChild)},e.createLeftOf=function(e){var n=this;if(t.createLeftOf.call(this,e),e.insAtRightEnd(n),n.replacedText)for(var r=0;r<n.replacedText.length;r+=1)n.write(e,n.replacedText.charAt(r));n[m].siblingCreated&&n[m].siblingCreated(e.options,g),n[g].siblingCreated&&n[g].siblingCreated(e.options,m),n.bubble("reflow")},e.parser=function(){var e=this,t=G.string,n=G.regex;return G.optWhitespace.then(t("{")).then(n(/^[^}]*/)).skip(t("}")).map((function(t){return 0===t.length?M():(K(t).adopt(e,0,0),e)}))},e.textContents=function(){return this.foldChildren("",(function(e,t){return e+t.text}))},e.text=function(){return'"'+this.textContents()+'"'},e.latex=function(){var e=this.textContents();return 0===e.length?"":"\\text{"+e.replace(/\\/g,"\\backslash ").replace(/[{}]/g,"\\$&")+"}"},e.html=function(){return'<span class="mq-text-mode" mathquill-command-id='+this.id+">"+this.textContents()+"</span>"},e.moveTowards=function(e,t){t.insAtDirEnd(-e,this)},e.moveOutOf=function(e,t){t.insDirOf(e,this)},e.unselectInto=e.moveTowards,e.selectTowards=W.prototype.selectTowards,e.deleteTowards=W.prototype.deleteTowards,e.selectOutOf=function(e,t){t.insDirOf(e,this)},e.deleteOutOf=function(e,t){this.isEmpty()&&t.insRightOf(this)},e.write=function(e,n){if(e.show().deleteSelection(),"$"!==n)e[g]?e[g].appendText(n):K(n).createLeftOf(e);else if(this.isEmpty())e.insRightOf(this),V("\\$","$").createLeftOf(e);else if(e[m])if(e[g]){var r=X(),i=this.ends[g];i.disown().jQ.detach(),i.adopt(r,0,0),e.insLeftOf(this),t.createLeftOf.call(r,e)}else e.insLeftOf(this);else e.insRightOf(this);this.bubble("reflow")},e.writeLatex=function(e,t){e[g]?e[g].appendText(t):K(t).createLeftOf(e),this.bubble("reflow")},e.seek=function(e,t){t.hide();var r=n(this),i=this.jQ.width()/this.text.length,o=Math.round((e-this.jQ.offset().left)/i);o<=0?t.insAtLeftEnd(this):o>=r.text.length?t.insAtRightEnd(this):t.insLeftOf(r.splitRight(o));for(var a=e-t.show().offset().left,s=a&&a<0?g:m,l=s;t[s]&&a*l>0;)t[s].moveTowards(s,t),l=a,a=e-t.offset().left;if(s*a<-s*l&&t[-s].moveTowards(-s,t),t.anticursor){if(t.anticursor.parent===this){var c=t[g]&&t[g].text.length;if(this.anticursorPosition===c)t.anticursor=b.copy(t);else{if(this.anticursorPosition<c){var u=t[g].splitRight(this.anticursorPosition);t[g]=u}else u=t[m].splitRight(this.anticursorPosition-c);t.anticursor=b(this,u[g],u)}}}else this.anticursorPosition=t[g]&&t[g].text.length},e.blur=function(e){Q.prototype.blur.call(this),e&&(""===this.textContents()?(this.remove(),e[g]===this?e[g]=this[g]:e[m]===this&&(e[m]=this[m])):n(this))},e.focus=Q.prototype.focus})),K=h(I,(function(e,t){function n(e,t){return t.charAt(e===g?0:-1+t.length)}e.init=function(e){t.init.call(this),this.text=e},e.jQadd=function(e){this.dom=e,this.jQ=v(e)},e.jQize=function(){return this.jQadd(document.createTextNode(this.text))},e.appendText=function(e){this.text+=e,this.dom.appendData(e)},e.prependText=function(e){this.text=e+this.text,this.dom.insertData(0,e)},e.insTextAtDirEnd=function(e,t){y(t),t===m?this.appendText(e):this.prependText(e)},e.splitRight=function(e){var t=K(this.text.slice(e)).adopt(this.parent,this,this[m]);return t.jQadd(this.dom.splitText(e)),this.text=this.text.slice(0,e),t},e.moveTowards=function(e,t){y(e);var r=n(-e,this.text),i=this[-e];return i?i.insTextAtDirEnd(r,e):K(r).createDir(-e,t),this.deleteTowards(e,t)},e.latex=function(){return this.text},e.deleteTowards=function(e,t){this.text.length>1?e===m?(this.dom.deleteData(0,1),this.text=this.text.slice(1)):(this.dom.deleteData(-1+this.text.length,1),this.text=this.text.slice(0,-1)):(this.remove(),this.jQ.remove(),t[e]=this[e])},e.selectTowards=function(e,t){y(e);var r=t.anticursor,i=n(-e,this.text);if(r[e]===this){var o=K(i).createDir(e,t);r[e]=o,t.insDirOf(e,o)}else{var a=this[-e];a?a.insTextAtDirEnd(i,e):(o=K(i).createDir(-e,t)).jQ.insDirOf(-e,t.selection.jQ),1===this.text.length&&r[-e]===this&&(r[-e]=this[-e])}return this.deleteTowards(e,t)}}));function $(e,t,n){return h(X,{ctrlSeq:e,htmlTemplate:"<"+t+" "+n+">&0</"+t+">"})}w.text=w.textnormal=w.textrm=w.textup=w.textmd=X,w.em=w.italic=w.italics=w.emph=w.textit=w.textsl=$("\\textit","i",'class="mq-text-mode"'),w.strong=w.bold=w.textbf=$("\\textbf","b",'class="mq-text-mode"'),w.sf=w.textsf=$("\\textsf","span",'class="mq-sans-serif mq-text-mode"'),w.tt=w.texttt=$("\\texttt","span",'class="mq-monospace mq-text-mode"'),w.textsc=$("\\textsc","span",'style="font-variant:small-caps" class="mq-text-mode"'),w.uppercase=$("\\uppercase","span",'style="text-transform:uppercase" class="mq-text-mode"'),w.lowercase=$("\\lowercase","span",'style="text-transform:lowercase" class="mq-text-mode"');var ee=h(W,(function(e,t){e.init=function(e){t.init.call(this,"$"),this.cursor=e},e.htmlTemplate='<span class="mq-math-mode">&0</span>',e.createBlocks=function(){t.createBlocks.call(this),this.ends[g].cursor=this.cursor,this.ends[g].write=function(e,t){"$"!==t?Q.prototype.write.call(this,e,t):this.isEmpty()?(e.insRightOf(this.parent),this.parent.deleteTowards(dir,e),V("\\$","$").createLeftOf(e.show())):e[m]?e[g]?Q.prototype.write.call(this,e,t):e.insLeftOf(this.parent):e.insRightOf(this.parent)}},e.latex=function(){return"$"+this.ends[g].latex()+"$"}})),te=h(J,(function(e,t){e.keystroke=function(e){if("Spacebar"!==e&&"Shift-Spacebar"!==e)return t.keystroke.apply(this,arguments)},e.write=function(e,t){var n;e.show().deleteSelection(),"$"===t?ee(e).createLeftOf(e):("<"===t?n="<":">"===t&&(n=">"),V(t,n).createLeftOf(e))}}));E.TextField=function(e){return h(e.EditableField,(function(e,t){this.RootBlock=te,e.__mathquillify=function(){return t.__mathquillify.call(this,"mq-editable-field mq-text-mode")},e.latex=function(e){return arguments.length>0?(this.__controller.renderLatexText(e),this.__controller.blurred&&this.__controller.cursor.hide().parent.blur(),this):this.__controller.exportLatex()}}))};var ne=h(V,(function(e,t){e.createLeftOf=function(e){e.options.autoSubscriptNumerals&&e.parent!==e.parent.parent.sub&&(e[g]instanceof re&&!1!==e[g].isItalic||e[g]instanceof Ne&&e[g][g]instanceof re&&!1!==e[g][g].isItalic)?(w._().createLeftOf(e),t.createLeftOf.call(this,e),e.insRightOf(e.parent.parent)):t.createLeftOf.call(this,e)}})),re=h(H,(function(e,t){e.init=function(e,n){t.init.call(this,e,"<var>"+(n||e)+"</var>")},e.text=function(){var e=this.ctrlSeq;return this.isPartOfOperator?"\\"==e[0]?e=e.slice(1,e.length):" "==e[e.length-1]&&(e=e.slice(0,-1)):(!this[g]||this[g]instanceof re||this[g]instanceof q||"\\ "===this[g].ctrlSeq||(e="*"+e),!this[m]||this[m]instanceof q||this[m]instanceof Ne||(e+="*")),e}}));S.p.autoCommands={_maxLength:0},j.autoCommands=function(e){if(!/^[a-z]+(?: [a-z]+)*$/i.test(e))throw'"'+e+'" not a space-delimited list of only letters';for(var t=e.split(" "),n={},r=0,i=0;i<t.length;i+=1){var o=t[i];if(o.length<2)throw'autocommand "'+o+'" not minimum length of 2';if(w[o]===le)throw'"'+o+'" is a built-in operator name';n[o]=1,r=a(r,o.length)}return n._maxLength=r,n};var ie=h(re,(function(e,t){function n(e){return!e||e instanceof q||e instanceof Se}e.init=function(e){return t.init.call(this,this.letter=e)},e.createLeftOf=function(e){t.createLeftOf.apply(this,arguments);var n=e.options.autoCommands,r=n._maxLength;if(r>0){for(var i="",o=this,a=0;o instanceof ie&&o.ctrlSeq===o.letter&&a<r;)i=o.letter+i,o=o[g],a+=1;for(;i.length;){if(n.hasOwnProperty(i)){for(a=1,o=this;a<i.length;a+=1,o=o[g]);return M(o,this).remove(),e[g]=o[g],w[i](i).createLeftOf(e)}i=i.slice(1)}}},e.italicize=function(e){return this.isItalic=e,this.isPartOfOperator=!e,this.jQ.toggleClass("mq-operator-name",!e),this},e.finalizeTree=e.siblingDeleted=e.siblingCreated=function(e,t){t!==g&&this[m]instanceof ie||this.autoUnItalicize(e)},e.autoUnItalicize=function(e){var t=e.autoOperatorNames;if(0!==t._maxLength){for(var r=this.letter,i=this[g];i instanceof ie;i=i[g])r=i.letter+r;for(var a=this[m];a instanceof ie;a=a[m])r+=a.letter;M(i[m]||this.parent.ends[g],a[g]||this.parent.ends[m]).each((function(e){e.italicize(!0).jQ.removeClass("mq-first mq-last mq-followed-by-supsub"),e.ctrlSeq=e.letter}));e:for(var s=0,l=i[m]||this.parent.ends[g];s<r.length;s+=1,l=l[m])for(var c=o(t._maxLength,r.length-s);c>0;c-=1){var u=r.slice(s,s+c);if(t.hasOwnProperty(u)){for(var d=0,f=l;d<c;d+=1,f=f[m]){f.italicize(!1);var p=f}var h=oe.hasOwnProperty(u);if(l.ctrlSeq=(h?"\\":"\\operatorname{")+l.ctrlSeq,p.ctrlSeq+=h?" ":"}",se.hasOwnProperty(u)&&p[g][g][g].jQ.addClass("mq-last"),n(l[g])||l.jQ.addClass("mq-first"),!n(p[m]))if(p[m]instanceof Ne){var y=p[m];(y.siblingCreated=y.siblingDeleted=function(){y.jQ.toggleClass("mq-after-operator-name",!(y[m]instanceof Pe))})()}else p.jQ.toggleClass("mq-last",!(p[m]instanceof Pe));s+=c-1,l=p;continue e}}}}})),oe={},ae=S.p.autoOperatorNames={_maxLength:9},se={limsup:1,liminf:1,projlim:1,injlim:1};!function(){for(var e="arg deg det dim exp gcd hom inf ker lg lim ln log max min sup limsup liminf injlim projlim Pr".split(" "),t=0;t<e.length;t+=1)oe[e[t]]=ae[e[t]]=1;var n="sin cos tan arcsin arccos arctan sinh cosh tanh sec csc cot coth".split(" ");for(t=0;t<n.length;t+=1)oe[n[t]]=1;var r="sin cos tan sec cosec csc cotan cot ctg".split(" ");for(t=0;t<r.length;t+=1)ae[r[t]]=ae["arc"+r[t]]=ae[r[t]+"h"]=ae["ar"+r[t]+"h"]=ae["arc"+r[t]+"h"]=1;var i="gcf hcf lcm proj span".split(" ");for(t=0;t<i.length;t+=1)ae[i[t]]=1}(),j.autoOperatorNames=function(e){if(!/^[a-z]+(?: [a-z]+)*$/i.test(e))throw'"'+e+'" not a space-delimited list of only letters';for(var t=e.split(" "),n={},r=0,i=0;i<t.length;i+=1){var o=t[i];if(o.length<2)throw'"'+o+'" not minimum length of 2';n[o]=1,r=a(r,o.length)}return n._maxLength=r,n};var le=h(H,(function(e,t){e.init=function(e){this.ctrlSeq=e},e.createLeftOf=function(e){for(var t=this.ctrlSeq,n=0;n<t.length;n+=1)ie(t.charAt(n)).createLeftOf(e)},e.parser=function(){for(var e=this.ctrlSeq,t=Q(),n=0;n<e.length;n+=1)ie(e.charAt(n)).adopt(t,t.ends[m],0);return G.succeed(t.children())}}));for(var ce in ae)ae.hasOwnProperty(ce)&&(w[ce]=le);w.operatorname=h(W,(function(e){e.createLeftOf=s,e.numBlocks=function(){return 1},e.parser=function(){return F.block.map((function(e){return e.children()}))}})),w.f=h(ie,(function(e,t){e.init=function(){H.p.init.call(this,this.letter="f",'<var class="mq-f">f</var>')},e.italicize=function(e){return this.jQ.html("f").toggleClass("mq-f",e),t.italicize.apply(this,arguments)}})),w[" "]=w.space=f(V,"\\ "," "),w[","]=f(V,"{,}",","),w["'"]=w.prime=f(V,"'","′"),w["″"]=w.dprime=f(V,"″","″"),w.backslash=f(V,"\\backslash ","\\"),T["\\"]||(T["\\"]=w.backslash),w.$=f(V,"\\$","$");var ue=h(H,(function(e,t){e.init=function(e,n){t.init.call(this,e,'<span class="mq-nonSymbola">'+(n||e)+"</span>")}}));w["@"]=ue,w["#"]=f(ue,"\\#","#"),w["&"]=f(ue,"\\&","&"),w["%"]=f(ue,"\\%","%"),w.alpha=w.beta=w.gamma=w.delta=w.zeta=w.eta=w.theta=w.iota=w.kappa=w.mu=w.nu=w.xi=w.rho=w.sigma=w.tau=w.chi=w.psi=w.omega=h(re,(function(e,t){e.init=function(e){t.init.call(this,"\\"+e+" ","&"+e+";")}})),w.phi=f(re,"\\phi ","ϕ"),w.phiv=w.varphi=f(re,"\\varphi ","φ"),w.epsilon=f(re,"\\epsilon ","ϵ"),w.epsiv=w.varepsilon=f(re,"\\varepsilon ","ε"),w.piv=w.varpi=f(re,"\\varpi ","ϖ"),w.sigmaf=w.sigmav=w.varsigma=f(re,"\\varsigma ","ς"),w.thetav=w.vartheta=w.thetasym=f(re,"\\vartheta ","ϑ"),w.upsilon=w.upsi=f(re,"\\upsilon ","υ"),w.gammad=w.Gammad=w.digamma=f(re,"\\digamma ","ϝ"),w.kappav=w.varkappa=f(re,"\\varkappa ","ϰ"),w.rhov=w.varrho=f(re,"\\varrho ","ϱ"),w.pi=w["π"]=f(ue,"\\pi ","π"),w.lambda=f(ue,"\\lambda ","λ"),w.Upsilon=w.Upsi=w.upsih=w.Upsih=f(H,"\\Upsilon ",'<var style="font-family: serif">ϒ</var>'),w.Gamma=w.Delta=w.Theta=w.Lambda=w.Xi=w.Pi=w.Sigma=w.Phi=w.Psi=w.Omega=w.forall=h(V,(function(e,t){e.init=function(e){t.init.call(this,"\\"+e+" ","&"+e+";")}}));var de=h(W,(function(e){e.init=function(e){this.latex=e},e.createLeftOf=function(e){var t=F.parse(this.latex);t.children().adopt(e.parent,e[g],e[m]),e[g]=t.ends[m],t.jQize().insertBefore(e.jQ),t.finalizeInsert(e.options,e),t.ends[m][m].siblingCreated&&t.ends[m][m].siblingCreated(e.options,g),t.ends[g][g].siblingCreated&&t.ends[g][g].siblingCreated(e.options,m),e.parent.bubble("reflow")},e.parser=function(){var e=F.parse(this.latex).children();return G.succeed(e)}}));w["⁰"]=f(de,"^0"),w["¹"]=f(de,"^1"),w["²"]=f(de,"^2"),w["³"]=f(de,"^3"),w["⁴"]=f(de,"^4"),w["⁵"]=f(de,"^5"),w["⁶"]=f(de,"^6"),w["⁷"]=f(de,"^7"),w["⁸"]=f(de,"^8"),w["⁹"]=f(de,"^9"),w["₀"]=f(de,"_0"),w["₁"]=f(de,"_1"),w["₂"]=f(de,"_2"),w["₃"]=f(de,"_3"),w["₄"]=f(de,"_4"),w["₅"]=f(de,"_5"),w["₆"]=f(de,"_6"),w["₇"]=f(de,"_7"),w["₈"]=f(de,"_8"),w["₉"]=f(de,"_9"),w["¼"]=f(de,"\\frac14"),w["½"]=f(de,"\\frac12"),w["¾"]=f(de,"\\frac34");var fe=h(q,(function(e){e.init=V.prototype.init,e.contactWeld=e.siblingCreated=e.siblingDeleted=function(e,t){if(t!==m)return this.jQ[0].className=function e(t){return t[g]?t[g]instanceof q||/^[,;:\(\[]$/.test(t[g].ctrlSeq)?"":"mq-binary-operator":t.parent&&t.parent.parent&&t.parent.parent.isStyleBlock()?e(t.parent.parent):""}(this),this}}));w["+"]=f(fe,"+","+"),w["–"]=w["-"]=f(fe,"-","−"),w["±"]=w.pm=w.plusmn=w.plusminus=f(fe,"\\pm ","±"),w.mp=w.mnplus=w.minusplus=f(fe,"\\mp ","∓"),T["*"]=w.sdot=w.cdot=f(q,"\\cdot ","·","*");var pe=h(q,(function(e,t){e.init=function(e,n){this.data=e,this.strict=n;var r=n?"Strict":"";t.init.call(this,e["ctrlSeq"+r],e["html"+r],e["text"+r])},e.swap=function(e){this.strict=e;var t=e?"Strict":"";this.ctrlSeq=this.data["ctrlSeq"+t],this.jQ.html(this.data["html"+t]),this.textTemplate=[this.data["text"+t]]},e.deleteTowards=function(e,n){if(e===g&&!this.strict)return this.swap(!0),void this.bubble("reflow");t.deleteTowards.apply(this,arguments)}})),he={ctrlSeq:"\\le ",html:"≤",text:"≤",ctrlSeqStrict:"<",htmlStrict:"<",textStrict:"<"},ge={ctrlSeq:"\\ge ",html:"≥",text:"≥",ctrlSeqStrict:">",htmlStrict:">",textStrict:">"};w["<"]=w.lt=f(pe,he,!0),w[">"]=w.gt=f(pe,ge,!0),w["≤"]=w.le=w.leq=f(pe,he,!1),w["≥"]=w.ge=w.geq=f(pe,ge,!1);var me=h(q,(function(e,t){e.init=function(){t.init.call(this,"=","=")},e.createLeftOf=function(e){if(e[g]instanceof pe&&e[g].strict)return e[g].swap(!1),void e[g].bubble("reflow");t.createLeftOf.apply(this,arguments)}}));w["="]=me,w["×"]=w.times=f(q,"\\times ","×","[x]"),w["÷"]=w.div=w.divide=w.divides=f(q,"\\div ","÷","[/]"),T["~"]=w.sim=f(q,"\\sim ","~","~"),w.notin=w.cong=w.equiv=w.oplus=w.otimes=h(q,(function(e,t){e.init=function(e){t.init.call(this,"\\"+e+" ","&"+e+";")}})),w["≠"]=w.ne=w.neq=f(q,"\\ne ","≠"),w["∗"]=w.ast=w.star=w.loast=w.lowast=f(q,"\\ast ","∗"),w.therefor=w.therefore=f(q,"\\therefore ","∴"),w.cuz=w.because=f(q,"\\because ","∵"),w.prop=w.propto=f(q,"\\propto ","∝"),w["≈"]=w.asymp=w.approx=f(q,"\\approx ","≈"),w["≢"]=w.notequiv=w.nequiv=f(q,"\\not\\equiv ","≢"),w.isin=w.in=f(q,"\\in ","∈"),w.ni=w.contains=f(q,"\\ni ","∋"),w.notni=w.niton=w.notcontains=w.doesnotcontain=f(q,"\\not\\ni ","∌"),w.sub=w.subset=f(q,"\\subset ","⊂"),w.sup=w.supset=w.superset=f(q,"\\supset ","⊃"),w.nsub=w.notsub=w.nsubset=w.notsubset=f(q,"\\not\\subset ","⊄"),w.nsup=w.notsup=w.nsupset=w.notsupset=w.nsuperset=w.notsuperset=f(q,"\\not\\supset ","⊅"),w.sube=w.subeq=w.subsete=w.subseteq=f(q,"\\subseteq ","⊆"),w.supe=w.supeq=w.supsete=w.supseteq=w.supersete=w.superseteq=f(q,"\\supseteq ","⊇"),w.nsube=w.nsubeq=w.notsube=w.notsubeq=w.nsubsete=w.nsubseteq=w.notsubsete=w.notsubseteq=f(q,"\\not\\subseteq ","⊈"),w.nsupe=w.nsupeq=w.notsupe=w.notsupeq=w.nsupsete=w.nsupseteq=w.notsupsete=w.notsupseteq=w.nsupersete=w.nsuperseteq=w.notsupersete=w.notsuperseteq=f(q,"\\not\\supseteq ","⊉"),w.mathbb=h(W,(function(e){e.createLeftOf=s,e.numBlocks=function(){return 1},e.parser=function(){var e=G.string,t=G.regex,n=G.optWhitespace;return n.then(e("{")).then(n).then(t(/^[NPZQRCH]/)).skip(n).skip(e("}")).map((function(e){return w[e]()}))}})),w.N=w.naturals=w.Naturals=f(V,"\\mathbb{N}","ℕ"),w.P=w.primes=w.Primes=w.projective=w.Projective=w.probability=w.Probability=f(V,"\\mathbb{P}","ℙ"),w.Z=w.integers=w.Integers=f(V,"\\mathbb{Z}","ℤ"),w.Q=w.rationals=w.Rationals=f(V,"\\mathbb{Q}","ℚ"),w.R=w.reals=w.Reals=f(V,"\\mathbb{R}","ℝ"),w.C=w.complex=w.Complex=w.complexes=w.Complexes=w.complexplane=w.Complexplane=w.ComplexPlane=f(V,"\\mathbb{C}","ℂ"),w.H=w.Hamiltonian=w.quaternions=w.Quaternions=f(V,"\\mathbb{H}","ℍ"),w.quad=w.emsp=f(V,"\\quad "," "),w.qquad=f(V,"\\qquad "," "),w.diamond=f(V,"\\diamond ","◇"),w.bigtriangleup=f(V,"\\bigtriangleup ","△"),w.ominus=f(V,"\\ominus ","⊖"),w.uplus=f(V,"\\uplus ","⊎"),w.bigtriangledown=f(V,"\\bigtriangledown ","▽"),w.sqcap=f(V,"\\sqcap ","⊓"),w.triangleleft=f(V,"\\triangleleft ","⊲"),w.sqcup=f(V,"\\sqcup ","⊔"),w.triangleright=f(V,"\\triangleright ","⊳"),w.odot=w.circledot=f(V,"\\odot ","⊙"),w.bigcirc=f(V,"\\bigcirc ","◯"),w.dagger=f(V,"\\dagger ","†"),w.ddagger=f(V,"\\ddagger ","‡"),w.wr=f(V,"\\wr ","≀"),w.amalg=f(V,"\\amalg ","∐"),w.models=f(V,"\\models ","⊨"),w.prec=f(V,"\\prec ","≺"),w.succ=f(V,"\\succ ","≻"),w.preceq=f(V,"\\preceq ","≼"),w.succeq=f(V,"\\succeq ","≽"),w.simeq=f(V,"\\simeq ","≃"),w.mid=f(V,"\\mid ","∣"),w.nmid=f(V,"\\nmid","∤"),w.ll=f(V,"\\ll ","≪"),w.gg=f(V,"\\gg ","≫"),w.parallel=f(V,"\\parallel ","∥"),w.nparallel=f(V,"\\nparallel ","∦"),w.bowtie=f(V,"\\bowtie ","⋈"),w.sqsubset=f(V,"\\sqsubset ","⊏"),w.sqsupset=f(V,"\\sqsupset ","⊐"),w.smile=f(V,"\\smile ","⌣"),w.sqsubseteq=f(V,"\\sqsubseteq ","⊑"),w.sqsupseteq=f(V,"\\sqsupseteq ","⊒"),w.doteq=f(V,"\\doteq ","≐"),w.frown=f(V,"\\frown ","⌢"),w.vdash=f(V,"\\vdash ","⊦"),w.dashv=f(V,"\\dashv ","⊣"),w.nless=f(V,"\\nless ","≮"),w.ngtr=f(V,"\\ngtr ","≯"),w.longleftarrow=f(V,"\\longleftarrow ","←"),w.longrightarrow=f(V,"\\longrightarrow ","→"),w.Longleftarrow=f(V,"\\Longleftarrow ","⇐"),w.Longrightarrow=f(V,"\\Longrightarrow ","⇒"),w.longleftrightarrow=f(V,"\\longleftrightarrow ","↔"),w.updownarrow=f(V,"\\updownarrow ","↕"),w.Longleftrightarrow=f(V,"\\Longleftrightarrow ","⇔"),w.Updownarrow=f(V,"\\Updownarrow ","⇕"),w.mapsto=f(V,"\\mapsto ","↦"),w.nearrow=f(V,"\\nearrow ","↗"),w.hookleftarrow=f(V,"\\hookleftarrow ","↩"),w.hookrightarrow=f(V,"\\hookrightarrow ","↪"),w.searrow=f(V,"\\searrow ","↘"),w.leftharpoonup=f(V,"\\leftharpoonup ","↼"),w.rightharpoonup=f(V,"\\rightharpoonup ","⇀"),w.swarrow=f(V,"\\swarrow ","↙"),w.leftharpoondown=f(V,"\\leftharpoondown ","↽"),w.rightharpoondown=f(V,"\\rightharpoondown ","⇁"),w.nwarrow=f(V,"\\nwarrow ","↖"),w.ldots=f(V,"\\ldots ","…"),w.cdots=f(V,"\\cdots ","⋯"),w.vdots=f(V,"\\vdots ","⋮"),w.ddots=f(V,"\\ddots ","⋱"),w.surd=f(V,"\\surd ","√"),w.triangle=f(V,"\\triangle ","△"),w.ell=f(V,"\\ell ","ℓ"),w.top=f(V,"\\top ","⊤"),w.flat=f(V,"\\flat ","♭"),w.natural=f(V,"\\natural ","♮"),w.sharp=f(V,"\\sharp ","♯"),w.wp=f(V,"\\wp ","℘"),w.bot=f(V,"\\bot ","⊥"),w.clubsuit=f(V,"\\clubsuit ","♣"),w.diamondsuit=f(V,"\\diamondsuit ","♢"),w.heartsuit=f(V,"\\heartsuit ","♡"),w.spadesuit=f(V,"\\spadesuit ","♠"),w.parallelogram=f(V,"\\parallelogram ","▱"),w.square=f(V,"\\square ","⬜"),w.oint=f(V,"\\oint ","∮"),w.bigcap=f(V,"\\bigcap ","∩"),w.bigcup=f(V,"\\bigcup ","∪"),w.bigsqcup=f(V,"\\bigsqcup ","⊔"),w.bigvee=f(V,"\\bigvee ","∨"),w.bigwedge=f(V,"\\bigwedge ","∧"),w.bigodot=f(V,"\\bigodot ","⊙"),w.bigotimes=f(V,"\\bigotimes ","⊗"),w.bigoplus=f(V,"\\bigoplus ","⊕"),w.biguplus=f(V,"\\biguplus ","⊎"),w.lfloor=f(V,"\\lfloor ","⌊"),w.rfloor=f(V,"\\rfloor ","⌋"),w.lceil=f(V,"\\lceil ","⌈"),w.rceil=f(V,"\\rceil ","⌉"),w.opencurlybrace=w.lbrace=f(V,"\\lbrace ","{"),w.closecurlybrace=w.rbrace=f(V,"\\rbrace ","}"),w.lbrack=f(V,"["),w.rbrack=f(V,"]"),w.slash=f(V,"/"),w.vert=f(V,"|"),w.perp=w.perpendicular=f(V,"\\perp ","⊥"),w.nabla=w.del=f(V,"\\nabla ","∇"),w.hbar=f(V,"\\hbar ","ℏ"),w.AA=w.Angstrom=w.angstrom=f(V,"\\text\\AA ","Å"),w.ring=w.circ=w.circle=f(V,"\\circ ","∘"),w.bull=w.bullet=f(V,"\\bullet ","•"),w.setminus=w.smallsetminus=f(V,"\\setminus ","∖"),w["¬"]=w.neg=f(V,"\\neg ","¬"),w.not=h(V,(function(e,t){e.suffixes={"\\equiv":"notequiv","\\ni":"notni","\\subset":"notsubset","\\subseteq":"notsubseteq","\\supset":"notsupset","\\supseteq":"notsupseteq"},e.init=function(){return t.init.call(this,"\\neg ","¬")},e.parser=function(){var t=G.succeed,n=G.optWhitespace;return function e(t){var n=G.string(t.shift());return t.length?n.or(e(t)):n}(Object.keys(e.suffixes).sort((function(e,t){return t.length-e.length}))).then((function(r){return n.then(t(w[e.suffixes[r]]()))})).or(n.then(t(this)))}})),w["…"]=w.dots=w.ellip=w.hellip=w.ellipsis=w.hellipsis=f(V,"\\dots ","…"),w.converges=w.darr=w.dnarr=w.dnarrow=w.downarrow=f(V,"\\downarrow ","↓"),w.dArr=w.dnArr=w.dnArrow=w.Downarrow=f(V,"\\Downarrow ","⇓"),w.diverges=w.uarr=w.uparrow=f(V,"\\uparrow ","↑"),w.uArr=w.Uparrow=f(V,"\\Uparrow ","⇑"),w.to=f(q,"\\to ","→"),w.rarr=w.rightarrow=f(V,"\\rightarrow ","→"),w.implies=f(q,"\\Rightarrow ","⇒"),w.rArr=w.Rightarrow=f(V,"\\Rightarrow ","⇒"),w.gets=f(q,"\\gets ","←"),w.larr=w.leftarrow=f(V,"\\leftarrow ","←"),w.impliedby=f(q,"\\Leftarrow ","⇐"),w.lArr=w.Leftarrow=f(V,"\\Leftarrow ","⇐"),w.harr=w.lrarr=w.leftrightarrow=f(V,"\\leftrightarrow ","↔"),w.iff=f(q,"\\Leftrightarrow ","⇔"),w.hArr=w.lrArr=w.Leftrightarrow=f(V,"\\Leftrightarrow ","⇔"),w.Re=w.Real=w.real=f(V,"\\Re ","ℜ"),w.Im=w.imag=w.image=w.imagin=w.imaginary=w.Imaginary=f(V,"\\Im ","ℑ"),w.part=w.partial=f(V,"\\partial ","∂"),w.infty=w.infin=w.infinity=f(V,"\\infty ","∞"),w.pounds=f(V,"\\pounds ","£"),w.alef=w.alefsym=w.aleph=w.alephsym=f(V,"\\aleph ","ℵ"),w.xist=w.xists=w.exist=w.exists=f(V,"\\exists ","∃"),w.nexists=w.nexist=f(V,"\\nexists ","∄"),w.and=w.land=w.wedge=f(q,"\\wedge ","∧"),w.or=w.lor=w.vee=f(q,"\\vee ","∨"),w.o=w.O=w.empty=w.emptyset=w.oslash=w.Oslash=w.nothing=w.varnothing=f(q,"\\varnothing ","∅"),w.cup=w.union=f(q,"\\cup ","∪"),w.cap=w.intersect=w.intersection=f(q,"\\cap ","∩"),w.deg=w.degree=f(V,"°","°"),w.ang=w.angle=f(V,"\\angle ","∠"),w.measuredangle=f(V,"\\measuredangle ","∡"),w.sphericalangle=f(V,"\\sphericalangle ","∢");var ye,ve,be=s,Ie=document.createElement("div").style;for(var xe in{transform:1,WebkitTransform:1,MozTransform:1,OTransform:1,msTransform:1})if(xe in Ie){ve=xe;break}ve?ye=function(e,t,n){e.css(ve,"scale("+t+","+n+")")}:"filter"in Ie?(be=function(e){e.className=e.className},ye=function(e,t,n){t/=1+(n-1)/2,e.css("fontSize",n+"em"),e.hasClass("mq-matrixed-container")||e.addClass("mq-matrixed-container").wrapInner('<span class="mq-matrixed"></span>');var r=e.children().css("filter","progid:DXImageTransform.Microsoft.Matrix(M11="+t+",SizingMethod='auto expand')");function i(){e.css("marginRight",(r.width()-1)*(t-1)/t+"px")}i();var o=setInterval(i);v(window).load((function(){clearTimeout(o),i()}))}):ye=function(e,t,n){e.css("fontSize",n+"em")};var Me=h(W,(function(e,t){e.init=function(e,n,r){t.init.call(this,e,"<"+n+" "+r+">&0</"+n+">")}})),we=h(re,(function(e,t){e.symbols={C:"ℂ",H:"ℍ",N:"ℕ",P:"ℙ",Q:"ℚ",R:"ℝ",Z:"ℤ"},e.init=function(e){var n=e;this.symbols[e]&&(n='<span class="mq-original">'+e+"</span>"+this.symbols[e]),t.init.call(this,e,n)}}));w.mathrm=f(Me,"\\mathrm","span",'class="mq-roman mq-font"'),w.mathit=f(Me,"\\mathit","i",'class="mq-font"'),w.mathbf=f(Me,"\\mathbf","b",'class="mq-font"'),w.mathsf=f(Me,"\\mathsf","span",'class="mq-sans-serif mq-font"'),w.mathtt=f(Me,"\\mathtt","span",'class="mq-monospace mq-font"'),w.mathbb=h(W,(function(e,t){e.init=function(){t.init.call(this,"\\mathbb",'<span class="mq-mathbb mq-font">&0</span>')},e.adopt=function(){return this.eachChild((function(e){if(!e.writeOverride){var t=e.write,n=e.deleteOutOf;e.write=e.writeOverride=function(n,r,i){var o;if(!we.prototype.symbols[r])return t.apply(e,arguments);o=we(r),i&&o.replaces(i),o.createLeftOf(n)},e.deleteOutOf=function(t,r){var i=[];return e.eachChild((function(t){var n=t.ctrlSeq;i.push(re(n).adopt(e,e.ends[m],0)),t.remove()})),i.length&&(r[m]=i[0]),e.jQize().appendTo(e.jQ),n.apply(e,arguments)}}})),t.adopt.apply(this,arguments)},e.finalizeTree=function(){this.eachChild((function(e){e.eachChild((function(t){var n=t.ctrlSeq,r=re;we.prototype.symbols[n]&&(r=we),r(n).adopt(e,e.ends[m],0),t.remove()})),e.jQize().appendTo(e.jQ)}))}})),w.underline=f(Me,"\\underline","span",'class="mq-non-leaf mq-underline"'),w.bar=f(Me,"\\bar","span",'class="mq-non-leaf mq-overline"'),w.overline=f(Me,"\\overline","span",'class="mq-non-leaf mq-overline"');var Te=h(W,(function(e,t){e.init=function(e,n){t.init.call(this,e,"<span "+n+'><span class="mq-arrow-inner">&0</span></span>')}}));w.overrightarrow=f(Te,"\\overrightarrow",'class="mq-non-leaf mq-overarrow mq-arrow-right"'),w.overleftarrow=f(Te,"\\overleftarrow",'class="mq-non-leaf mq-overarrow mq-arrow-left"'),w.overleftrightarrow=f(Te,"\\overleftrightarrow",'class="mq-non-leaf mq-overarrow mq-arrow-leftright"'),w.underrightarrow=f(Te,"\\underrightarrow",'class="mq-non-leaf mq-underarrow mq-arrow-right"'),w.underleftarrow=f(Te,"\\underleftarrow",'class="mq-non-leaf mq-underarrow mq-arrow-left"'),w.underleftrightarrow=f(Te,"\\underleftrightarrow",'class="mq-non-leaf mq-underarrow mq-arrow-leftright"');var Ae=h(W,(function(e,t){e.ctrlSeq="\\xrightleftharpoons",e.htmlTemplate='<span class="mq-harpoons mq-harpoons-rightleft mq-non-leaf"><span class="mq-harpoons-numerator">&0</span><span class="mq-harpoons-harpoons">⇌</span></span>'})),Ce=w.xrightleftharpoons=h(Ae,(function(e,t){e.ctrlSeq="\\xrightleftharpoons",e.htmlTemplate='<span class="mq-harpoons mq-harpoons-rightleft mq-non-leaf"><span class="mq-harpoons-numerator">&1</span><span class="mq-harpoons-harpoons">⇌</span><span class="mq-harpoons-denominator">&0</span></span>',e.parser=function(){return F.optBlock.then((function(e){return F.block.map((function(t){var n=Ce();return n.blocks=[e,t],e.adopt(n,0,0),t.adopt(n,e,0),n}))})).or(F.block.map((function(e){var t=Ae();return t.blocks=[e],e.adopt(t,0,0),t})))},e.latex=function(){return this.ctrlSeq+"["+this.ends[g].latex()+"]{"+this.ends[m].latex()+"}"}}));w.overarc=f(Me,"\\overarc","span",'class="mq-non-leaf mq-overarc"'),w.dot=h(W,(function(e,t){e.init=function(){t.init.call(this,"\\dot",'<span class="mq-non-leaf"><span class="mq-dot-recurring-inner"><span class="mq-dot-recurring">˙</span><span class="mq-empty-box">&0</span></span></span>')}})),w.textcolor=h(W,(function(e,t){e.setColor=function(e){this.color=e,this.htmlTemplate='<span class="mq-textcolor" style="color:'+e+'">&0</span>'},e.latex=function(){return"\\textcolor{"+this.color+"}{"+this.blocks[0].latex()+"}"},e.parser=function(){var e=this,n=G.optWhitespace,r=G.string,i=G.regex;return n.then(r("{")).then(i(/^[#\w\s.,()%-]*/)).skip(r("}")).then((function(n){return e.setColor(n),t.parser.call(e)}))},e.isStyleBlock=function(){return!0}})),w.class=h(W,(function(e,t){e.parser=function(){var e=this,n=G.string,r=G.regex;return G.optWhitespace.then(n("{")).then(r(/^[-\w\s\\\xA0-\xFF]*/)).skip(n("}")).then((function(n){return e.cls=n||"",e.htmlTemplate='<span class="mq-class '+n+'">&0</span>',t.parser.call(e)}))},e.latex=function(){return"\\class{"+this.cls+"}{"+this.blocks[0].latex()+"}"},e.isStyleBlock=function(){return!0}}));var Ne=h(W,(function(e,t){e.ctrlSeq="_{...}^{...}",e.createLeftOf=function(e){if(this.replacedFragment||e[g]||!e.options.supSubsRequireOperand)return t.createLeftOf.apply(this,arguments)},e.contactWeld=function(e){for(var t=g;t;t=t===g&&m)if(this[t]instanceof Ne){for(var n="sub";n;n="sub"===n&&"sup"){var r=this[n],i=this[t][n];if(r){if(i)if(r.isEmpty())a=b(i,0,i.ends[g]);else{r.jQ.children().insAtDirEnd(-t,i.jQ);var o=r.children().disown(),a=b(i,o.ends[m],i.ends[g]);t===g?o.adopt(i,i.ends[m],0):o.adopt(i,0,i.ends[g])}else this[t].addBlock(r.disown());this.placeCursor=function(e,n){return function(r){r.insAtDirEnd(-t,e||n)}}(i,r)}}this.remove(),e&&e[g]===this&&(t===m&&a?a[g]?e.insRightOf(a[g]):e.insAtLeftEnd(a.parent):e.insRightOf(this[t]));break}},S.p.charsThatBreakOutOfSupSub="",e.finalizeTree=function(){this.ends[g].write=function(e,t){if(e.options.autoSubscriptNumerals&&this===this.parent.sub){if("_"===t)return;var n=this.chToCmd(t,e.options);return n instanceof H?e.deleteSelection():e.clearSelection().insRightOf(this.parent),n.createLeftOf(e.show())}e[g]&&!e[m]&&!e.selection&&e.options.charsThatBreakOutOfSupSub.indexOf(t)>-1&&e.insRightOf(this.parent),Q.p.write.apply(this,arguments)}},e.moveTowards=function(e,n,r){n.options.autoSubscriptNumerals&&!this.sup?n.insDirOf(e,this):t.moveTowards.apply(this,arguments)},e.deleteTowards=function(e,n){if(n.options.autoSubscriptNumerals&&this.sub){var r=this.sub.ends[-e];r instanceof H?r.remove():r&&r.deleteTowards(e,n.insAtDirEnd(-e,this.sub)),this.sub.isEmpty()&&(this.sub.deleteOutOf(g,n.insAtLeftEnd(this.sub)),this.sup&&n.insDirOf(-e,this))}else t.deleteTowards.apply(this,arguments)},e.latex=function(){function e(e,t){var n=t&&t.latex();return t?e+(1===n.length?n:"{"+(n||" ")+"}"):""}return e("_",this.sub)+e("^",this.sup)},e.text=function(){function e(e,t){var n=t&&t.text();return t?e+(1===n.length?n:"("+(n||" ")+")"):""}return e("_",this.sub)+e("^",this.sup)},e.addBlock=function(e){"sub"===this.supsub?(this.sup=this.upInto=this.sub.upOutOf=e,e.adopt(this,this.sub,0).downOutOf=this.sub,e.jQ=v('<span class="mq-sup"/>').append(e.jQ.children()).attr(i,e.id).prependTo(this.jQ)):(this.sub=this.downInto=this.sup.downOutOf=e,e.adopt(this,0,this.sup).upOutOf=this.sup,e.jQ=v('<span class="mq-sub"></span>').append(e.jQ.children()).attr(i,e.id).appendTo(this.jQ.removeClass("mq-sup-only")),this.jQ.append('<span style="display:inline-block;width:0">​</span>'));for(var t=0;t<2;t+=1)!function(e,t,n,r){e[t].deleteOutOf=function(i,o){if(o.insDirOf(this[i]?-i:i,this.parent),!this.isEmpty()){var a=this.ends[i];this.children().disown().withDirAdopt(i,o.parent,o[i],o[-i]).jQ.insDirOf(-i,o.jQ),o[-i]=a}e.supsub=n,delete e[t],delete e[r+"Into"],e[n][r+"OutOf"]=Ee,delete e[n].deleteOutOf,"sub"===t&&v(e.jQ.addClass("mq-sup-only")[0].lastChild).remove(),this.remove()}}(this,"sub sup".split(" ")[t],"sup sub".split(" ")[t],"down up".split(" ")[t])},e.reflow=function(){var e=this.jQ,t=e.prev();if(t.length){var n=e.children(".mq-sup");if(n.length){var r=parseInt(n.css("font-size")),i=n.offset().top+n.height()-t.offset().top-.7*r,o=parseInt(n.css("margin-bottom"));n.css("margin-bottom",o+i)}}}}));function Ee(e){var t=this.parent,n=e;do{if(n[m])return e.insLeftOf(t);n=n.parent.parent}while(n!==t);e.insRightOf(t)}w.subscript=w._=h(Ne,(function(e,t){e.supsub="sub",e.htmlTemplate='<span class="mq-supsub mq-non-leaf"><span class="mq-sub">&0</span><span style="display:inline-block;width:0">​</span></span>',e.textTemplate=["_"],e.finalizeTree=function(){this.downInto=this.sub=this.ends[g],this.sub.upOutOf=Ee,t.finalizeTree.call(this)}})),w.superscript=w.supscript=w["^"]=h(Ne,(function(e,t){e.supsub="sup",e.htmlTemplate='<span class="mq-supsub mq-non-leaf mq-sup-only"><span class="mq-sup">&0</span></span>',e.textTemplate=["^(",")"],e.finalizeTree=function(){this.upInto=this.sup=this.ends[m],this.sup.downOutOf=Ee,t.finalizeTree.call(this)}}));var Se=h(W,(function(e,t){e.init=function(e,t){var n='<span class="mq-large-operator mq-non-leaf"><span class="mq-to"><span>&1</span></span><big>'+t+'</big><span class="mq-from"><span>&0</span></span></span>';H.prototype.init.call(this,e,n)},e.createLeftOf=function(e){t.createLeftOf.apply(this,arguments),e.options.sumStartsWithNEquals&&(ie("n").createLeftOf(e),me().createLeftOf(e))},e.latex=function(){function e(e){return 1===e.length?e:"{"+(e||" ")+"}"}return this.ctrlSeq+"_"+e(this.ends[g].latex())+"^"+e(this.ends[m].latex())},e.parser=function(){for(var e=G.string,t=G.optWhitespace,n=G.succeed,r=F.block,i=this,o=i.blocks=[Q(),Q()],a=0;a<o.length;a+=1)o[a].adopt(i,i.ends[m],0);return t.then(e("_").or(e("^"))).then((function(e){var t=o["_"===e?0:1];return r.then((function(e){return e.children().adopt(t,t.ends[m],0),n(i)}))})).many().result(i)},e.finalizeTree=function(){this.downInto=this.ends[g],this.upInto=this.ends[m],this.ends[g].upOutOf=this.ends[m],this.ends[m].downOutOf=this.ends[g]}}));w["∑"]=w.sum=w.summation=f(Se,"\\sum ","∑"),w["∏"]=w.prod=w.product=f(Se,"\\prod ","∏"),w.coprod=w.coproduct=f(Se,"\\coprod ","∐"),w["∫"]=w.int=w.integral=h(Se,(function(e,t){e.init=function(){H.prototype.init.call(this,"\\int ",'<span class="mq-int mq-non-leaf"><big>∫</big><span class="mq-supsub mq-non-leaf"><span class="mq-sup"><span class="mq-sup-inner">&1</span></span><span class="mq-sub">&0</span><span style="display:inline-block;width:0">​</span></span></span>')},e.createLeftOf=W.p.createLeftOf})),w.bigg=w.intsub=w.integralsubstitution=h(Se,(function(e,t){e.init=function(){H.prototype.init.call(this,"\\bigg",'<span class="mq-intsub mq-non-leaf"><big>/</big><span class="mq-supsub mq-non-leaf"><span class="mq-sup"><span class="mq-sup-inner">&1</span></span><span class="mq-sub">&0</span><span style="display:inline-block;width:0">​</span></span></span>')},e.createLeftOf=W.p.createLeftOf,e.parser=function(){var e=this,t=G.string,n=G.optWhitespace,r=G.succeed;e.blocks=[Q(),Q()];for(var i=0;i<e.blocks.length;i+=1)e.blocks[i].adopt(e,e.ends[m],0);return t("/_{").then(t("\\!").many()).then(F).then((function(t){return t.children().adopt(e.blocks[0],e.blocks[0].ends[m],0),r(e)})).then(n).then(t("}")).then(n).then(t("^")).then(F.block).then((function(t){return t.children().adopt(e.blocks[1],e.blocks[1].ends[m],0),r(e)}))},e.latex=function(){function e(e){return 1===e.length?e:"{"+(e||" ")+"}"}return"\\bigg/_{\\!\\!\\!\\!\\!"+e(this.blocks[0].latex())+"}^"+e(this.blocks[1].latex())}}));var je=w.frac=w.dfrac=w.cfrac=w.fraction=h(W,(function(e,t){e.ctrlSeq="\\frac",e.htmlTemplate='<span class="mq-fraction mq-non-leaf"><span class="mq-numerator">&0</span><span class="mq-denominator">&1</span><span style="display:inline-block;width:0">​</span></span>',e.textTemplate=["(",")/(",")"],e.finalizeTree=function(){this.upInto=this.ends[m].upOutOf=this.ends[g],this.downInto=this.ends[g].downOutOf=this.ends[m]}})),ke=w.over=T["/"]=h(je,(function(e,t){e.createLeftOf=function(e){if(!this.replacedFragment){for(var n=e[g];n&&!(n instanceof q||n instanceof(w.text||s)||n instanceof Se||"\\ "===n.ctrlSeq||/^[,;:]$/.test(n.ctrlSeq));)n=n[g];n instanceof Se&&n[m]instanceof Ne&&(n=n[m])[m]instanceof Ne&&n[m].ctrlSeq!=n.ctrlSeq&&(n=n[m]),n===e[g]||e.isTooDeep(1)||(this.replaces(M(n[m]||e.parent.ends[g],e[g])),e[g]=n)}t.createLeftOf.call(this,e)}})),De=w.sqrt=w["√"]=h(W,(function(e,t){e.ctrlSeq="\\sqrt",e.htmlTemplate='<span class="mq-non-leaf"><span class="mq-scaled mq-sqrt-prefix">√</span><span class="mq-non-leaf mq-sqrt-stem">&0</span></span>',e.textTemplate=["sqrt(",")"],e.parser=function(){return F.optBlock.then((function(e){return F.block.map((function(t){var n=Le();return n.blocks=[e,t],e.adopt(n,0,0),t.adopt(n,e,0),n}))})).or(t.parser.call(this))},e.reflow=function(){var e=this.ends[m].jQ;ye(e.prev(),1,e.innerHeight()/+e.css("fontSize").slice(0,-2)-.1)}})),Le=(w.hat=h(W,(function(e,t){e.ctrlSeq="\\hat",e.htmlTemplate='<span class="mq-non-leaf"><span class="mq-hat-prefix">^</span><span class="mq-hat-stem">&0</span></span>',e.textTemplate=["hat(",")"]})),w.nthroot=h(De,(function(e,t){e.htmlTemplate='<span class="mq-nthroot mq-non-leaf">&0</span><span class="mq-scaled"><span class="mq-sqrt-prefix mq-scaled">√</span><span class="mq-sqrt-stem mq-non-leaf">&1</span></span>',e.textTemplate=["sqrt[","](",")"],e.latex=function(){return"\\sqrt["+this.ends[g].latex()+"]{"+this.ends[m].latex()+"}"}}))),Oe=h(W,(function(e,t){e.init=function(e,n,r){var i='<span class="mq-non-leaf"><span class="mq-diacritic-above">'+n+'</span><span class="mq-diacritic-stem">&0</span></span>';t.init.call(this,e,i,r)}}));function Re(e,t){e.jQadd=function(){t.jQadd.apply(this,arguments),this.delimjQs=this.jQ.children(":first").add(this.jQ.children(":last")),this.contentjQ=this.jQ.children(":eq(1)")},e.reflow=function(){var e=this.contentjQ.outerHeight()/parseFloat(this.contentjQ.css("fontSize"));ye(this.delimjQs,o(1+.2*(e-1),1.2),1.2*e)}}w.vec=f(Oe,"\\vec","→",["vec(",")"]),w.tilde=f(Oe,"\\tilde","~",["tilde(",")"]);var Pe=h(h(W,Re),(function(e,t){e.init=function(e,n,r,i,o){t.init.call(this,"\\left"+i,void 0,[n,r]),this.side=e,this.sides={},this.sides[g]={ch:n,ctrlSeq:i},this.sides[m]={ch:r,ctrlSeq:o}},e.numBlocks=function(){return 1},e.html=function(){return this.htmlTemplate='<span class="mq-non-leaf"><span class="mq-scaled mq-paren'+(this.side===m?" mq-ghost":"")+'">'+this.sides[g].ch+'</span><span class="mq-non-leaf">&0</span><span class="mq-scaled mq-paren'+(this.side===g?" mq-ghost":"")+'">'+this.sides[m].ch+"</span></span>",t.html.call(this)},e.latex=function(){return"\\left"+this.sides[g].ctrlSeq+this.ends[g].latex()+"\\right"+this.sides[m].ctrlSeq},e.matchBrack=function(e,t,n){return n instanceof Pe&&n.side&&n.side!==-t&&(!e.restrictMismatchedBrackets||ze[this.sides[this.side].ch]===n.sides[n.side].ch||{"(":"]","[":")"}[this.sides[g].ch]===n.sides[m].ch)&&n},e.closeOpposing=function(e){e.side=0,e.sides[this.side]=this.sides[this.side],e.delimjQs.eq(this.side===g?0:1).removeClass("mq-ghost").html(this.sides[this.side].ch)},e.createLeftOf=function(e){if(!this.replacedFragment){var n=e.options;if("|"===this.sides[g].ch)var r=this.matchBrack(n,m,e[m])||this.matchBrack(n,g,e[g])||this.matchBrack(n,0,e.parent.parent);else r=this.matchBrack(n,-this.side,e[-this.side])||this.matchBrack(n,-this.side,e.parent.parent)}if(r){var i=this.side=-r.side;this.closeOpposing(r),r===e.parent.parent&&e[i]&&M(e[i],e.parent.ends[i],-i).disown().withDirAdopt(-i,r.parent,r,r[i]).jQ.insDirOf(i,r.jQ),r.bubble("reflow")}else i=(r=this).side,r.replacedFragment?r.side=0:e[-i]&&(r.replaces(M(e[-i],e.parent.ends[-i],i)),e[-i]=0),t.createLeftOf.call(r,e);i===g?e.insAtLeftEnd(r.ends[g]):e.insRightOf(r)},e.placeCursor=s,e.unwrap=function(){this.ends[g].children().disown().adopt(this.parent,this,this[m]).jQ.insertAfter(this.jQ),this.remove()},e.deleteSide=function(e,t,n){var r=this.parent,i=this[e],o=r.ends[e];if(e===this.side)return this.unwrap(),void(i?n.insDirOf(-e,i):n.insAtDirEnd(e,r));var a=n.options,s=!this.side;if(this.side=-e,this.matchBrack(a,e,this.ends[g].ends[this.side])){this.closeOpposing(this.ends[g].ends[this.side]);var l=this.ends[g].ends[e];this.unwrap(),l.siblingCreated&&l.siblingCreated(n.options,e),i?n.insDirOf(-e,i):n.insAtDirEnd(e,r)}else{if(this.matchBrack(a,e,this.parent.parent))this.parent.parent.closeOpposing(this),this.parent.parent.unwrap();else{if(t&&s)return this.unwrap(),void(i?n.insDirOf(-e,i):n.insAtDirEnd(e,r));this.sides[e]={ch:ze[this.sides[this.side].ch],ctrlSeq:ze[this.sides[this.side].ctrlSeq]},this.delimjQs.removeClass("mq-ghost").eq(e===g?0:1).addClass("mq-ghost").html(this.sides[e].ch)}i?(l=this.ends[g].ends[e],M(i,o,-e).disown().withDirAdopt(-e,this.ends[g],l,0).jQ.insAtDirEnd(e,this.ends[g].jQ.removeClass("mq-empty")),l.siblingCreated&&l.siblingCreated(n.options,e),n.insDirOf(-e,i)):t?n.insDirOf(e,this):n.insAtDirEnd(e,this.ends[g])}},e.deleteTowards=function(e,t){this.deleteSide(-e,!1,t)},e.finalizeTree=function(){this.ends[g].deleteOutOf=function(e,t){this.parent.deleteSide(e,!0,t)},this.finalizeTree=this.intentionalBlur=function(){this.delimjQs.eq(this.side===g?1:0).removeClass("mq-ghost"),this.side=0}},e.siblingCreated=function(e,t){t===-this.side&&this.finalizeTree()}})),ze={"(":")",")":"(","[":"]","]":"[","{":"}","}":"{","\\{":"\\}","\\}":"\\{","⟨":"⟩","⟩":"⟨","\\langle ":"\\rangle ","\\rangle ":"\\langle ","|":"|","\\lVert ":"\\rVert ","\\rVert ":"\\lVert "};function Ue(e,t){t=t||e;var n=ze[e],r=ze[t];T[e]=f(Pe,g,e,n,t,r),T[n]=f(Pe,m,e,n,t,r)}Ue("("),Ue("["),Ue("{","\\{"),w.langle=f(Pe,g,"⟨","⟩","\\langle ","\\rangle "),w.rangle=f(Pe,m,"⟨","⟩","\\langle ","\\rangle "),T["|"]=f(Pe,g,"|","|","|","|"),w.lVert=f(Pe,g,"∥","∥","\\lVert ","\\rVert "),w.rVert=f(Pe,m,"∥","∥","\\lVert ","\\rVert "),w.left=h(W,(function(e){e.parser=function(){var e=G.regex,t=G.string,n=(G.succeed,G.optWhitespace);return n.then(e(/^(?:[([|]|\\\{|\\langle(?![a-zA-Z])|\\lVert(?![a-zA-Z]))/)).then((function(r){var i="\\"===r.charAt(0)?r.slice(1):r;return"\\langle"==r&&(i="⟨",r+=" "),"\\lVert"==r&&(i="∥",r+=" "),F.then((function(o){return t("\\right").skip(n).then(e(/^(?:[\])|]|\\\}|\\rangle(?![a-zA-Z])|\\rVert(?![a-zA-Z]))/)).map((function(e){var t="\\"===e.charAt(0)?e.slice(1):e;"\\rangle"==e&&(t="⟩",e+=" "),"\\rVert"==e&&(t="∥",e+=" ");var n=Pe(0,i,t,r,e);return n.blocks=[o],o.adopt(n,0,0),n}))}))}))}})),w.right=h(W,(function(e){e.parser=function(){return G.fail("unmatched \\right")}}));var _e=w.binom=w.binomial=h(h(W,Re),(function(e,t){e.ctrlSeq="\\binom",e.htmlTemplate='<span class="mq-non-leaf"><span class="mq-paren mq-scaled">(</span><span class="mq-non-leaf"><span class="mq-array mq-non-leaf"><span>&0</span><span>&1</span></span></span><span class="mq-paren mq-scaled">)</span></span>',e.textTemplate=["choose(",",",")"]}));w.choose=h(_e,(function(e){e.createLeftOf=ke.prototype.createLeftOf})),w.editable=w.MathQuillMathField=h(W,(function(e,t){e.ctrlSeq="\\MathQuillMathField",e.htmlTemplate='<span class="mq-editable-field"><span class="mq-root-block">&0</span></span>',e.parser=function(){var e=this,n=G.string,r=G.regex,i=G.succeed;return n("[").then(r(/^[a-z][a-z0-9]*/i)).skip(n("]")).map((function(t){e.name=t})).or(i()).then(t.parser.call(e))},e.finalizeTree=function(e){var t=N(this.ends[g],this.jQ,e);t.KIND_OF_MQ="MathField",t.editable=!0,t.createTextarea(),t.editablesTextareaEvents(),t.cursor.insAtRightEnd(t.root),_(t.root)},e.registerInnerField=function(e,t){e.push(e[this.name]=t(this.ends[g].controller))},e.latex=function(){return this.ends[g].latex()},e.text=function(){return this.ends[g].text()}}));var Ze=w.embed=h(H,(function(e,t){e.setOptions=function(e){function t(){return""}return this.text=e.text||t,this.htmlTemplate=e.htmlString||"",this.latex=e.latex||t,this},e.parser=function(){var e=this,t=G.string,n=G.regex,r=G.succeed;return t("{").then(n(/^[a-z][a-z0-9]*/i)).skip(t("}")).then((function(i){return t("[").then(n(/^[-\w\s]*/)).skip(t("]")).or(r()).map((function(t){return e.setOptions(D[i](t))}))}))}})),Ge={};w.begin=h(W,(function(e,t){e.parser=function(){var e=G.string,t=G.regex;return e("{").then(t(/^[a-z]+/i)).skip(e("}")).then((function(t){return(Ge[t]?Ge[t]().parser():G.fail("unknown environment type: "+t)).skip(e("\\end{"+t+"}"))}))}}));var Be=h(W,(function(e,t){e.template=[["\\begin{","}"],["\\end{","}"]],e.wrappers=function(){return[e.template[0].join(this.environment),e.template[1].join(this.environment)]}})),Fe=Ge.matrix=h(Be,(function(e,t){var n="\\\\";e.parentheses={left:null,right:null},e.environment="matrix",e.reflow=function(){var e=this.jQ.children("table"),t=e.outerHeight()/+e.css("fontSize").slice(0,-2),n=this.jQ.children(".mq-paren");n.length&&ye(n,o(1+.2*(t-1),1.2),1.05*t)},e.latex=function(){var e,t=this.hline,n="";this.eachChild((function(r){void 0!==e&&(e!==r.row?(n+="\\\\\n",t&&(n+="\\hline\n",t=!1)):n+="&"),e=r.row,n+=r.latex()}));var r=this.options?"{"+this.options+"}":"";return this.wrappers().join(r+"\n"+n+"\n")},e.html=function(){var e,n=[],r="",i=0;function o(e){return e?'<span class="mq-scaled mq-paren">'+e+"</span>":""}return this.eachChild((function(t){e!==t.row&&(e=t.row,r+="<tr>$tds</tr>",n[e]=[]),n[e].push("<td>&"+i+++"</td>")})),this.htmlTemplate='<span class="mq-matrix mq-matrix-'+this.environment+' mq-non-leaf">'+o(this.parentheses.left)+'<table class="mq-non-leaf">'+r.replace(/\$tds/g,(function(){return n.shift().join("")}))+"</table>"+o(this.parentheses.right)+"</span>",t.html.call(this)},e.createBlocks=function(){this.blocks=[Ye(0,this),Ye(0,this),Ye(1,this),Ye(1,this)]},e.parser=function(){var e=this,t=G.optWhitespace,r=G.string;return(0,G.regex)(/^({[clr](\|?[clr])*})?/).then((function(t){return t&&!e.options&&(e.options=t.slice(1,-1)),G.succeed(e)})).then(t.then(r("&").or(r(n)).or(r("\\hline")).or(F.block)).many()).skip(t).then((function(t){var r=[],i=0;function o(){e.blocks.push(Ye(i,e,r)),r=[]}e.blocks=[];for(var a=0;a<t.length;a+=1)t[a]instanceof Q?r.push(t[a]):"\\hline"===t[a]?e.hline=!0:(o(),t[a]===n&&(i+=1));return o(),e.autocorrect(),G.succeed(e)}))},e.finalizeTree=function(){var e=this.jQ.find("table");e.toggleClass("mq-rows-1",1===e.find("tr").length),this.relink()},e.relink=function(){for(var e,t,n,r=this.blocks,i=[],o=0;o<r.length;o+=1)e!==(n=r[o]).row&&(i[e=n.row]=[],t=0),i[e][t]=n,n[m]=r[o+1],n[g]=r[o-1],i[e-1]&&i[e-1][t]&&(n.upOutOf=i[e-1][t],i[e-1][t].downOutOf=n),t+=1;this.ends[g]=r[0],this.ends[m]=r[r.length-1]},e.autocorrect=function(e){var t,n,r,i,o,a=[],s=(e=[],this.blocks);for(o=0;o<s.length;o+=1)e[i=s[o].row]=e[i]||[],e[i].push(s[o]),a[i]=e[i].length;if((t=Math.max.apply(null,a))!==Math.min.apply(null,a)){for(o=0;o<e.length;o+=1)for(n=t-e[o].length;n;)r=t*o+e[o].length,s.splice(r,0,Ye(o,this)),n-=1;this.relink()}},e.deleteCell=function(e){var t,n,r=[],i=[],o=[],a=[],s=this.blocks;function l(e){for(var t=[],n=0;n<e.length;n+=1)e[n].isEmpty()&&t.push(e[n]);return t.length===e.length}function c(e){for(var t=0;t<e.length;t+=1)s.indexOf(e[t])>-1&&(e[t].remove(),s.splice(s.indexOf(e[t]),1))}this.eachChild((function(s){t!==s.row&&(t=s.row,r[t]=[],n=0),i[n]=i[n]||[],i[n].push(s),r[t].push(s),s===e&&(o=r[t],a=i[n]),n+=1})),l(o)&&a.length>1&&(t=r.indexOf(o),this.eachChild((function(e){e.row>t&&(e.row-=1)})),c(o),this.jQ.find("tr").eq(t).remove()),l(a)&&o.length>1&&c(a),this.finalizeTree()},e.addRow=function(e){var t,n=[],r=[],o=[],a=v("<tr></tr>"),s=e.row,l=0;this.eachChild((function(e){e.row<=s&&n.push(e),e.row===s&&(l+=1),e.row>s&&(e.row+=1,o.push(e))}));for(var c=0;c<l;c+=1)(t=Ye(s+1)).parent=this,r.push(t),t.jQ=v('<td class="mq-empty">').attr(i,t.id).appendTo(a);return this.jQ.find("tr").eq(s).after(a),this.blocks=n.concat(r,o),r[0]},e.addColumn=function(e){var t,n,r=[],o=[];this.eachChild((function(n){r[n.row]=r[n.row]||[],r[n.row].push(n),n===e&&(t=r[n.row].length)}));for(var a=0;a<r.length;a+=1)(n=Ye(a)).parent=this,o.push(n),r[a].splice(t,0,n),n.jQ=v('<td class="mq-empty">').attr(i,n.id);return this.jQ.find("tr").each((function(e){v(this).find("td").eq(t-1).after(r[e][t].jQ)})),this.blocks=[].concat.apply([],r),o[e.row]},e.insert=function(e,t){var n=this[e](t);this.cursor=this.cursor||this.parent.cursor,this.finalizeTree(),this.bubble("reflow").cursor.insAtRightEnd(n)},e.backspace=function(e,t,n,r){var i=e[t];if(e.isEmpty()){for(this.deleteCell(e);i&&i[t]&&-1===this.blocks.indexOf(i);)i=i[t];i&&n.insAtDirEnd(-t,i),1===this.blocks.length&&this.blocks[0].isEmpty()&&(r(),this.finalizeTree()),this.bubble("edited")}}}));Ge.pmatrix=h(Fe,(function(e,t){e.environment="pmatrix",e.parentheses={left:"(",right:")"}})),Ge.bmatrix=h(Fe,(function(e,t){e.environment="bmatrix",e.parentheses={left:"[",right:"]"}})),Ge.Bmatrix=h(Fe,(function(e,t){e.environment="Bmatrix",e.parentheses={left:"{",right:"}"}})),Ge.vmatrix=h(Fe,(function(e,t){e.environment="vmatrix",e.parentheses={left:"|",right:"|"}})),Ge.Vmatrix=h(Fe,(function(e,t){e.environment="Vmatrix",e.parentheses={left:"‖",right:"‖"}})),Ge.cases=h(Fe,(function(e,t){e.environment="cases",e.parentheses={left:"{",right:null}})),Ge.array=h(Fe,(function(e,t){e.environment="array",e.parentheses={left:null,right:null},e.hline=!0,e.options="l|l"}));var Ye=h(Q,(function(e,t){e.init=function(e,n,r){if(t.init.call(this),this.row=e,n&&this.adopt(n,n.ends[m],0),r)for(var i=0;i<r.length;i++)r[i].children().adopt(this,this.ends[m],0)},e.keystroke=function(e,n,r){switch(e){case"Tab":var i,o=this,a=0;if(this.parent.eachChild((function(e){e.row===o.row&&(e===o&&(i=a),a+=1)})),i===a-1)return n.preventDefault(),this.parent.insert("addColumn",this);break;case"Enter":var s,l=this.row+1,c=!0;if(this.parent.eachChild((function(e){e.row===l&&(s||(s=e),e.isEmpty()||(c=!1))})),n.preventDefault(),s&&c){r.cursor.insAtDirEnd(g,s);break}return this.parent.insert("addRow",this)}return t.keystroke.apply(this,arguments)},e.deleteOutOf=function(e,n){var r=this,i=arguments;this.parent.backspace(this,e,n,(function(){return t.deleteOutOf.apply(r,i)}))}})),We=(T["\\"]=h(W,(function(e,t){e.ctrlSeq="\\",e.replaces=function(e){this._replacedFragment=e.disown(),this.isEmpty=function(){return!1}},e.htmlTemplate='<span class="mq-latex-command-input mq-non-leaf">\\<span>&0</span></span>',e.textTemplate=["\\"],e.createBlocks=function(){t.createBlocks.call(this),this.ends[g].focus=function(){return this.parent.jQ.addClass("mq-hasCursor"),this.isEmpty()&&this.parent.jQ.removeClass("mq-empty"),this},this.ends[g].blur=function(){return this.parent.jQ.removeClass("mq-hasCursor"),this.isEmpty()&&this.parent.jQ.addClass("mq-empty"),this},this.ends[g].write=function(e,t){e.show().deleteSelection(),t.match(/[a-z]/i)?V(t).createLeftOf(e):(this.parent.renderCommand(e),"\\"===t&&this.isEmpty()||e.parent.write(e,t))},this.ends[g].keystroke=function(e,n,r){return"Tab"===e||"Enter"===e||"Spacebar"===e?(this.parent.renderCommand(r.cursor),void n.preventDefault()):t.keystroke.apply(this,arguments)}},e.createLeftOf=function(e){if(t.createLeftOf.call(this,e),this._replacedFragment){var n=this.jQ[0];this.jQ=this._replacedFragment.jQ.addClass("mq-blur").bind("mousedown mousemove",(function(e){return v(e.target=n).trigger(e),!1})).insertBefore(this.jQ).add(this.jQ)}},e.latex=function(){return"\\"+this.ends[g].latex()+" "},e.renderCommand=function(e){this.jQ=this.jQ.last(),this.remove(),this[m]?e.insLeftOf(this[m]):e.insAtRightEnd(this.parent);var t=this.ends[g].latex();t||(t=" ");var n=w[t]||Ge[t];n?(n=n(t),this._replacedFragment&&n.replaces(this._replacedFragment),n.createLeftOf(e)):((n=X()).replaces(t),n.createLeftOf(e),e.insRightOf(n),this._replacedFragment&&this._replacedFragment.remove())}})),z(1));for(var He in We)!function(e,t){"function"==typeof t?(O[e]=function(){return L(),t.apply(this,arguments)},O[e].prototype=t.prototype):O[e]=t}(He,We[He]);"object"==typeof e.exports&&(e.exports=O)}()},2779:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var a=i.apply(null,n);a&&e.push(a)}}else if("object"===o){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var s in n)r.call(n,s)&&n[s]&&e.push(s)}}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},9714:e=>{"use strict";var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===n}(e)}(e)},n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?s((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function i(e,t,n){return e.concat(t).map((function(e){return r(e,n)}))}function o(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function a(e,t){try{return t in e}catch(e){return!1}}function s(e,n,l){(l=l||{}).arrayMerge=l.arrayMerge||i,l.isMergeableObject=l.isMergeableObject||t,l.cloneUnlessOtherwiseSpecified=r;var c=Array.isArray(n);return c===Array.isArray(e)?c?l.arrayMerge(e,n,l):function(e,t,n){var i={};return n.isMergeableObject(e)&&o(e).forEach((function(t){i[t]=r(e[t],n)})),o(t).forEach((function(o){(function(e,t){return a(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,o)||(a(e,o)&&n.isMergeableObject(t[o])?i[o]=function(e,t){if(!t.customMerge)return s;var n=t.customMerge(e);return"function"==typeof n?n:s}(o,n)(e[o],t[o],n):i[o]=r(t[o],n))})),i}(e,n,l):r(n,l)}s.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return s(e,n,t)}),{})};var l=s;e.exports=l},6594:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attributeNames=t.elementNames=void 0,t.elementNames=new Map([["altglyph","altGlyph"],["altglyphdef","altGlyphDef"],["altglyphitem","altGlyphItem"],["animatecolor","animateColor"],["animatemotion","animateMotion"],["animatetransform","animateTransform"],["clippath","clipPath"],["feblend","feBlend"],["fecolormatrix","feColorMatrix"],["fecomponenttransfer","feComponentTransfer"],["fecomposite","feComposite"],["feconvolvematrix","feConvolveMatrix"],["fediffuselighting","feDiffuseLighting"],["fedisplacementmap","feDisplacementMap"],["fedistantlight","feDistantLight"],["fedropshadow","feDropShadow"],["feflood","feFlood"],["fefunca","feFuncA"],["fefuncb","feFuncB"],["fefuncg","feFuncG"],["fefuncr","feFuncR"],["fegaussianblur","feGaussianBlur"],["feimage","feImage"],["femerge","feMerge"],["femergenode","feMergeNode"],["femorphology","feMorphology"],["feoffset","feOffset"],["fepointlight","fePointLight"],["fespecularlighting","feSpecularLighting"],["fespotlight","feSpotLight"],["fetile","feTile"],["feturbulence","feTurbulence"],["foreignobject","foreignObject"],["glyphref","glyphRef"],["lineargradient","linearGradient"],["radialgradient","radialGradient"],["textpath","textPath"]]),t.attributeNames=new Map([["definitionurl","definitionURL"],["attributename","attributeName"],["attributetype","attributeType"],["basefrequency","baseFrequency"],["baseprofile","baseProfile"],["calcmode","calcMode"],["clippathunits","clipPathUnits"],["diffuseconstant","diffuseConstant"],["edgemode","edgeMode"],["filterunits","filterUnits"],["glyphref","glyphRef"],["gradienttransform","gradientTransform"],["gradientunits","gradientUnits"],["kernelmatrix","kernelMatrix"],["kernelunitlength","kernelUnitLength"],["keypoints","keyPoints"],["keysplines","keySplines"],["keytimes","keyTimes"],["lengthadjust","lengthAdjust"],["limitingconeangle","limitingConeAngle"],["markerheight","markerHeight"],["markerunits","markerUnits"],["markerwidth","markerWidth"],["maskcontentunits","maskContentUnits"],["maskunits","maskUnits"],["numoctaves","numOctaves"],["pathlength","pathLength"],["patterncontentunits","patternContentUnits"],["patterntransform","patternTransform"],["patternunits","patternUnits"],["pointsatx","pointsAtX"],["pointsaty","pointsAtY"],["pointsatz","pointsAtZ"],["preservealpha","preserveAlpha"],["preserveaspectratio","preserveAspectRatio"],["primitiveunits","primitiveUnits"],["refx","refX"],["refy","refY"],["repeatcount","repeatCount"],["repeatdur","repeatDur"],["requiredextensions","requiredExtensions"],["requiredfeatures","requiredFeatures"],["specularconstant","specularConstant"],["specularexponent","specularExponent"],["spreadmethod","spreadMethod"],["startoffset","startOffset"],["stddeviation","stdDeviation"],["stitchtiles","stitchTiles"],["surfacescale","surfaceScale"],["systemlanguage","systemLanguage"],["tablevalues","tableValues"],["targetx","targetX"],["targety","targetY"],["textlength","textLength"],["viewbox","viewBox"],["viewtarget","viewTarget"],["xchannelselector","xChannelSelector"],["ychannelselector","yChannelSelector"],["zoomandpan","zoomAndPan"]])},606:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=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}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&i(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});var s=a(n(4821)),l=n(5924),c=n(6594),u=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]),d=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function f(e,t){void 0===t&&(t={});for(var n=Array.isArray(e)||e.cheerio?e:[e],r="",i=0;i<n.length;i++)r+=p(n[i],t);return r}function p(e,t){switch(e.type){case s.Root:return f(e.children,t);case s.Directive:case s.Doctype:return"<"+e.data+">";case s.Comment:return"\x3c!--"+e.data+"--\x3e";case s.CDATA:return function(e){return"<![CDATA["+e.children[0].data+"]]>"}(e);case s.Script:case s.Style:case s.Tag:return function(e,t){var n;"foreign"===t.xmlMode&&(e.name=null!==(n=c.elementNames.get(e.name))&&void 0!==n?n:e.name,e.parent&&h.has(e.parent.name)&&(t=r(r({},t),{xmlMode:!1}))),!t.xmlMode&&g.has(e.name)&&(t=r(r({},t),{xmlMode:"foreign"}));var i="<"+e.name,o=function(e,t){if(e)return Object.keys(e).map((function(n){var r,i,o=null!==(r=e[n])&&void 0!==r?r:"";return"foreign"===t.xmlMode&&(n=null!==(i=c.attributeNames.get(n))&&void 0!==i?i:n),t.emptyAttrs||t.xmlMode||""!==o?n+'="'+(t.decodeEntities?l.encodeXML(o):o.replace(/"/g,"""))+'"':n})).join(" ")}(e.attribs,t);return o&&(i+=" "+o),0===e.children.length&&(t.xmlMode?!1!==t.selfClosingTags:t.selfClosingTags&&d.has(e.name))?(t.xmlMode||(i+=" "),i+="/>"):(i+=">",e.children.length>0&&(i+=f(e.children,t)),!t.xmlMode&&d.has(e.name)||(i+="</"+e.name+">")),i}(e,t);case s.Text:return function(e,t){var n=e.data||"";return!t.decodeEntities||e.parent&&u.has(e.parent.name)||(n=l.encodeXML(n)),n}(e,t)}}t.default=f;var h=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),g=new Set(["svg","math"])},4821:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isTag=function(e){return"tag"===e.type||"script"===e.type||"style"===e.type},t.Text="text",t.Directive="directive",t.Comment="comment",t.Script="script",t.Style="style",t.Tag="tag",t.CDATA="cdata",t.Doctype="doctype"},9959: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]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var o=n(5538);i(n(5538),t);var a=/\s+/g,s={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1},l=function(){function e(e,t,n){this.dom=[],this.root=new o.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=s),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:s,this.elementCB=null!=n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){var e;this.dom=[],this.root=new o.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null!==(e=this.parser)&&void 0!==e?e:null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=new o.Element(e,t);this.addNode(n),this.tagStack.push(n)},e.prototype.ontext=function(e){var t=this.options.normalizeWhitespace,n=this.lastNode;if(n&&"text"===n.type)t?n.data=(n.data+e).replace(a," "):n.data+=e;else{t&&(e=e.replace(a," "));var r=new o.Text(e);this.addNode(r),this.lastNode=r}},e.prototype.oncomment=function(e){if(this.lastNode&&"comment"===this.lastNode.type)this.lastNode.data+=e;else{var t=new o.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new o.Text(""),t=new o.NodeWithChildren("cdata",[e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new o.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e.prototype.addDataNode=function(e){this.addNode(e),this.lastNode=e},e}();t.DomHandler=l,t.default=l},5538:function(e,t){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.Element=t.Document=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var o=new Map([["tag",1],["script",1],["style",1],["directive",1],["text",3],["cdata",4],["comment",8],["root",9]]),a=function(){function e(e){this.type=e,this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"nodeType",{get:function(){var e;return null!==(e=o.get(this.type))&&void 0!==e?e:1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),h(this,e)},e}();t.Node=a;var s=function(e){function t(t,n){var r=e.call(this,t)||this;return r.data=n,r}return r(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(a);t.DataNode=s;var l=function(e){function t(t){return e.call(this,"text",t)||this}return r(t,e),t}(s);t.Text=l;var c=function(e){function t(t){return e.call(this,"comment",t)||this}return r(t,e),t}(s);t.Comment=c;var u=function(e){function t(t,n){var r=e.call(this,"directive",n)||this;return r.name=t,r}return r(t,e),t}(s);t.ProcessingInstruction=u;var d=function(e){function t(t,n){var r=e.call(this,t)||this;return r.children=n,r}return r(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(a);t.NodeWithChildren=d;var f=function(e){function t(t){return e.call(this,"root",t)||this}return r(t,e),t}(d);t.Document=f;var p=function(e){function t(t,n,r){void 0===r&&(r=[]);var i=e.call(this,"script"===t?"script":"style"===t?"style":"tag",r)||this;return i.name=t,i.attribs=n,i.attribs=n,i}return r(t,e),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),t}(d);function h(e,t){var n;switch(void 0===t&&(t=!1),e.type){case"text":n=new l(e.data);break;case"directive":var r=e;n=new u(r.name,r.data),null!=r["x-name"]&&(n["x-name"]=r["x-name"],n["x-publicId"]=r["x-publicId"],n["x-systemId"]=r["x-systemId"]);break;case"comment":n=new c(e.data);break;case"tag":case"script":case"style":var o=e,a=t?g(o.children):[],s=new p(o.name,i({},o.attribs),a);a.forEach((function(e){return e.parent=s})),o["x-attribsNamespace"]&&(s["x-attribsNamespace"]=i({},o["x-attribsNamespace"])),o["x-attribsPrefix"]&&(s["x-attribsPrefix"]=i({},o["x-attribsPrefix"])),n=s;break;case"cdata":a=t?g(e.children):[];var h=new d(e.type,a);a.forEach((function(e){return e.parent=h})),n=h;break;case"root":var m=e,y=(a=t?g(m.children):[],new f(a));a.forEach((function(e){return e.parent=y})),m["x-mode"]&&(y["x-mode"]=m["x-mode"]),n=y;break;case"doctype":throw new Error("Not implemented yet: ElementType.Doctype case")}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,n}function g(e){for(var t=e.map((function(e){return h(e,!0)})),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}t.Element=p,t.cloneNode=h},7065:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFeed=void 0;var r=n(7559),i=n(5310);t.getFeed=function(e){var t=l(d,e);return t?"feed"===t.name?function(e){var t,n=e.children,r={type:"atom",items:(0,i.getElementsByTagName)("entry",n).map((function(e){var t,n=e.children,r={media:s(n)};u(r,"id","id",n),u(r,"title","title",n);var i=null===(t=l("link",n))||void 0===t?void 0:t.attribs.href;i&&(r.link=i);var o=c("summary",n)||c("content",n);o&&(r.description=o);var a=c("updated",n);return a&&(r.pubDate=new Date(a)),r}))};u(r,"id","id",n),u(r,"title","title",n);var o=null===(t=l("link",n))||void 0===t?void 0:t.attribs.href;o&&(r.link=o),u(r,"description","subtitle",n);var a=c("updated",n);return a&&(r.updated=new Date(a)),u(r,"author","email",n,!0),r}(t):function(e){var t,n,r=null!==(n=null===(t=l("channel",e.children))||void 0===t?void 0:t.children)&&void 0!==n?n:[],o={type:e.name.substr(0,3),id:"",items:(0,i.getElementsByTagName)("item",e.children).map((function(e){var t=e.children,n={media:s(t)};u(n,"id","guid",t),u(n,"title","title",t),u(n,"link","link",t),u(n,"description","description",t);var r=c("pubDate",t);return r&&(n.pubDate=new Date(r)),n}))};u(o,"title","title",r),u(o,"link","link",r),u(o,"description","description",r);var a=c("lastBuildDate",r);return a&&(o.updated=new Date(a)),u(o,"author","managingEditor",r,!0),o}(t):null};var o=["url","type","lang"],a=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function s(e){return(0,i.getElementsByTagName)("media:content",e).map((function(e){for(var t=e.attribs,n={medium:t.medium,isDefault:!!t.isDefault},r=0,i=o;r<i.length;r++)t[c=i[r]]&&(n[c]=t[c]);for(var s=0,l=a;s<l.length;s++){var c;t[c=l[s]]&&(n[c]=parseInt(t[c],10))}return t.expression&&(n.expression=t.expression),n}))}function l(e,t){return(0,i.getElementsByTagName)(e,t,!0,1)[0]}function c(e,t,n){return void 0===n&&(n=!1),(0,r.textContent)((0,i.getElementsByTagName)(e,t,n,1)).trim()}function u(e,t,n,r,i){void 0===i&&(i=!1);var o=c(n,r,i);o&&(e[t]=o)}function d(e){return"rss"===e||"feed"===e||"rdf:RDF"===e}},2880:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uniqueSort=t.compareDocumentPosition=t.removeSubsets=void 0;var r=n(1622);function i(e,t){var n=[],i=[];if(e===t)return 0;for(var o=(0,r.hasChildren)(e)?e:e.parent;o;)n.unshift(o),o=o.parent;for(o=(0,r.hasChildren)(t)?t:t.parent;o;)i.unshift(o),o=o.parent;for(var a=Math.min(n.length,i.length),s=0;s<a&&n[s]===i[s];)s++;if(0===s)return 1;var l=n[s-1],c=l.children,u=n[s],d=i[s];return c.indexOf(u)>c.indexOf(d)?l===t?20:4:l===e?10:2}t.removeSubsets=function(e){for(var t=e.length;--t>=0;){var n=e[t];if(t>0&&e.lastIndexOf(n,t-1)>=0)e.splice(t,1);else for(var r=n.parent;r;r=r.parent)if(e.includes(r)){e.splice(t,1);break}}return e},t.compareDocumentPosition=i,t.uniqueSort=function(e){return(e=e.filter((function(e,t,n){return!n.includes(e,t+1)}))).sort((function(e,t){var n=i(e,t);return 2&n?-1:4&n?1:0})),e}},4622: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]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.hasChildren=t.isDocument=t.isComment=t.isText=t.isCDATA=t.isTag=void 0,i(n(7559),t),i(n(6304),t),i(n(7427),t),i(n(7853),t),i(n(5310),t),i(n(2880),t),i(n(7065),t);var o=n(1622);Object.defineProperty(t,"isTag",{enumerable:!0,get:function(){return o.isTag}}),Object.defineProperty(t,"isCDATA",{enumerable:!0,get:function(){return o.isCDATA}}),Object.defineProperty(t,"isText",{enumerable:!0,get:function(){return o.isText}}),Object.defineProperty(t,"isComment",{enumerable:!0,get:function(){return o.isComment}}),Object.defineProperty(t,"isDocument",{enumerable:!0,get:function(){return o.isDocument}}),Object.defineProperty(t,"hasChildren",{enumerable:!0,get:function(){return o.hasChildren}})},5310:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getElementsByTagType=t.getElementsByTagName=t.getElementById=t.getElements=t.testElement=void 0;var r=n(1622),i=n(7853),o={tag_name:function(e){return"function"==typeof e?function(t){return(0,r.isTag)(t)&&e(t.name)}:"*"===e?r.isTag:function(t){return(0,r.isTag)(t)&&t.name===e}},tag_type:function(e){return"function"==typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return"function"==typeof e?function(t){return(0,r.isText)(t)&&e(t.data)}:function(t){return(0,r.isText)(t)&&t.data===e}}};function a(e,t){return"function"==typeof t?function(n){return(0,r.isTag)(n)&&t(n.attribs[e])}:function(n){return(0,r.isTag)(n)&&n.attribs[e]===t}}function s(e,t){return function(n){return e(n)||t(n)}}function l(e){var t=Object.keys(e).map((function(t){var n=e[t];return Object.prototype.hasOwnProperty.call(o,t)?o[t](n):a(t,n)}));return 0===t.length?null:t.reduce(s)}t.testElement=function(e,t){var n=l(e);return!n||n(t)},t.getElements=function(e,t,n,r){void 0===r&&(r=1/0);var o=l(e);return o?(0,i.filter)(o,t,n,r):[]},t.getElementById=function(e,t,n){return void 0===n&&(n=!0),Array.isArray(t)||(t=[t]),(0,i.findOne)(a("id",e),t,n)},t.getElementsByTagName=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=1/0),(0,i.filter)(o.tag_name(e),t,n,r)},t.getElementsByTagType=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=1/0),(0,i.filter)(o.tag_type(e),t,n,r)}},7427:(e,t)=>{"use strict";function n(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children;t.splice(t.lastIndexOf(e),1)}}Object.defineProperty(t,"__esModule",{value:!0}),t.prepend=t.prependChild=t.append=t.appendChild=t.replaceElement=t.removeElement=void 0,t.removeElement=n,t.replaceElement=function(e,t){var n=t.prev=e.prev;n&&(n.next=t);var r=t.next=e.next;r&&(r.prev=t);var i=t.parent=e.parent;if(i){var o=i.children;o[o.lastIndexOf(e)]=t}},t.appendChild=function(e,t){if(n(t),t.next=null,t.parent=e,e.children.push(t)>1){var r=e.children[e.children.length-2];r.next=t,t.prev=r}else t.prev=null},t.append=function(e,t){n(t);var r=e.parent,i=e.next;if(t.next=i,t.prev=e,e.next=t,t.parent=r,i){if(i.prev=t,r){var o=r.children;o.splice(o.lastIndexOf(i),0,t)}}else r&&r.children.push(t)},t.prependChild=function(e,t){if(n(t),t.parent=e,t.prev=null,1!==e.children.unshift(t)){var r=e.children[1];r.prev=t,t.next=r}else t.next=null},t.prepend=function(e,t){n(t);var r=e.parent;if(r){var i=r.children;i.splice(i.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=r,t.prev=e.prev,t.next=e,e.prev=t}},7853:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findAll=t.existsOne=t.findOne=t.findOneChild=t.find=t.filter=void 0;var r=n(1622);function i(e,t,n,o){for(var a=[],s=0,l=t;s<l.length;s++){var c=l[s];if(e(c)&&(a.push(c),--o<=0))break;if(n&&(0,r.hasChildren)(c)&&c.children.length>0){var u=i(e,c.children,n,o);if(a.push.apply(a,u),(o-=u.length)<=0)break}}return a}t.filter=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=1/0),Array.isArray(t)||(t=[t]),i(e,t,n,r)},t.find=i,t.findOneChild=function(e,t){return t.find(e)},t.findOne=function e(t,n,i){void 0===i&&(i=!0);for(var o=null,a=0;a<n.length&&!o;a++){var s=n[a];(0,r.isTag)(s)&&(t(s)?o=s:i&&s.children.length>0&&(o=e(t,s.children)))}return o},t.existsOne=function e(t,n){return n.some((function(n){return(0,r.isTag)(n)&&(t(n)||n.children.length>0&&e(t,n.children))}))},t.findAll=function(e,t){for(var n,i,o=[],a=t.filter(r.isTag);i=a.shift();){var s=null===(n=i.children)||void 0===n?void 0:n.filter(r.isTag);s&&s.length>0&&a.unshift.apply(a,s),e(i)&&o.push(i)}return o}},7559: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}),t.innerText=t.textContent=t.getText=t.getInnerHTML=t.getOuterHTML=void 0;var i=n(1622),o=r(n(606)),a=n(2030);function s(e,t){return(0,o.default)(e,t)}t.getOuterHTML=s,t.getInnerHTML=function(e,t){return(0,i.hasChildren)(e)?e.children.map((function(e){return s(e,t)})).join(""):""},t.getText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.isTag)(t)?"br"===t.name?"\n":e(t.children):(0,i.isCDATA)(t)?e(t.children):(0,i.isText)(t)?t.data:""},t.textContent=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.hasChildren)(t)&&!(0,i.isComment)(t)?e(t.children):(0,i.isText)(t)?t.data:""},t.innerText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.hasChildren)(t)&&(t.type===a.ElementType.Tag||(0,i.isCDATA)(t))?e(t.children):(0,i.isText)(t)?t.data:""}},6304:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.prevElementSibling=t.nextElementSibling=t.getName=t.hasAttrib=t.getAttributeValue=t.getSiblings=t.getParent=t.getChildren=void 0;var r=n(1622),i=[];function o(e){var t;return null!==(t=e.children)&&void 0!==t?t:i}function a(e){return e.parent||null}t.getChildren=o,t.getParent=a,t.getSiblings=function(e){var t=a(e);if(null!=t)return o(t);for(var n=[e],r=e.prev,i=e.next;null!=r;)n.unshift(r),r=r.prev;for(;null!=i;)n.push(i),i=i.next;return n},t.getAttributeValue=function(e,t){var n;return null===(n=e.attribs)||void 0===n?void 0:n[t]},t.hasAttrib=function(e,t){return null!=e.attribs&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&null!=e.attribs[t]},t.getName=function(e){return e.name},t.nextElementSibling=function(e){for(var t=e.next;null!==t&&!(0,r.isTag)(t);)t=t.next;return t},t.prevElementSibling=function(e){for(var t=e.prev;null!==t&&!(0,r.isTag)(t);)t=t.prev;return t}},2030:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(n=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},1622: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]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var o=n(2030),a=n(9219);i(n(9219),t);var s=/\s+/g,l={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1},c=function(){function e(e,t,n){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=l),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:l,this.elementCB=null!=n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){var e;this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null!==(e=this.parser)&&void 0!==e?e:null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?o.ElementType.Tag:void 0,r=new a.Element(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)},e.prototype.ontext=function(e){var t=this.options.normalizeWhitespace,n=this.lastNode;if(n&&n.type===o.ElementType.Text)t?n.data=(n.data+e).replace(s," "):n.data+=e;else{t&&(e=e.replace(s," "));var r=new a.Text(e);this.addNode(r),this.lastNode=r}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===o.ElementType.Comment)this.lastNode.data+=e;else{var t=new a.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new a.Text(""),t=new a.NodeWithChildren(o.ElementType.CDATA,[e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new a.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=c,t.default=c},9219:function(e,t,n){"use strict";var r,i=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)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var a=n(2030),s=new Map([[a.ElementType.Tag,1],[a.ElementType.Script,1],[a.ElementType.Style,1],[a.ElementType.Directive,1],[a.ElementType.Text,3],[a.ElementType.CDATA,4],[a.ElementType.Comment,8],[a.ElementType.Root,9]]),l=function(){function e(e){this.type=e,this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"nodeType",{get:function(){var e;return null!==(e=s.get(this.type))&&void 0!==e?e:1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),M(this,e)},e}();t.Node=l;var c=function(e){function t(t,n){var r=e.call(this,t)||this;return r.data=n,r}return i(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(l);t.DataNode=c;var u=function(e){function t(t){return e.call(this,a.ElementType.Text,t)||this}return i(t,e),t}(c);t.Text=u;var d=function(e){function t(t){return e.call(this,a.ElementType.Comment,t)||this}return i(t,e),t}(c);t.Comment=d;var f=function(e){function t(t,n){var r=e.call(this,a.ElementType.Directive,n)||this;return r.name=t,r}return i(t,e),t}(c);t.ProcessingInstruction=f;var p=function(e){function t(t,n){var r=e.call(this,t)||this;return r.children=n,r}return i(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(l);t.NodeWithChildren=p;var h=function(e){function t(t){return e.call(this,a.ElementType.Root,t)||this}return i(t,e),t}(p);t.Document=h;var g=function(e){function t(t,n,r,i){void 0===r&&(r=[]),void 0===i&&(i="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var o=e.call(this,i,r)||this;return o.name=t,o.attribs=n,o}return i(t,e),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),t}(p);function m(e){return a.isTag(e)}function y(e){return e.type===a.ElementType.CDATA}function v(e){return e.type===a.ElementType.Text}function b(e){return e.type===a.ElementType.Comment}function I(e){return e.type===a.ElementType.Directive}function x(e){return e.type===a.ElementType.Root}function M(e,t){var n;if(void 0===t&&(t=!1),v(e))n=new u(e.data);else if(b(e))n=new d(e.data);else if(m(e)){var r=t?w(e.children):[],i=new g(e.name,o({},e.attribs),r);r.forEach((function(e){return e.parent=i})),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=o({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=o({},e["x-attribsPrefix"])),n=i}else if(y(e)){r=t?w(e.children):[];var s=new p(a.ElementType.CDATA,r);r.forEach((function(e){return e.parent=s})),n=s}else if(x(e)){r=t?w(e.children):[];var l=new h(r);r.forEach((function(e){return e.parent=l})),e["x-mode"]&&(l["x-mode"]=e["x-mode"]),n=l}else{if(!I(e))throw new Error("Not implemented yet: "+e.type);var c=new f(e.name,e.data);null!=e["x-name"]&&(c["x-name"]=e["x-name"],c["x-publicId"]=e["x-publicId"],c["x-systemId"]=e["x-systemId"]),n=c}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,n}function w(e){for(var t=e.map((function(e){return M(e,!0)})),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}t.Element=g,t.isTag=m,t.isCDATA=y,t.isText=v,t.isComment=b,t.isDirective=I,t.isDocument=x,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=M},4899:(e,t)=>{"use strict";if("function"==typeof Symbol&&Symbol.for){var n=Symbol.for;n("react.element"),n("react.portal"),n("react.fragment"),n("react.strict_mode"),n("react.profiler"),n("react.provider"),n("react.context"),n("react.forward_ref"),n("react.suspense"),n("react.suspense_list"),n("react.memo"),n("react.lazy"),n("react.block"),n("react.server.block"),n("react.fundamental"),n("react.debug_trace_mode"),n("react.legacy_hidden")}},8041:(e,t,n)=>{"use strict";n(4899)},3094: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 i=r(n(2059)),o=r(n(2184)),a=r(n(1542)),s=r(n(105));function l(e){var t=Object.keys(e).join("|"),n=u(e),r=new RegExp("&(?:"+(t+="|#[xX][\\da-fA-F]+|#\\d+")+");","g");return function(e){return String(e).replace(r,n)}}t.decodeXML=l(a.default),t.decodeHTMLStrict=l(i.default);var c=function(e,t){return e<t?1:-1};function u(e){return function(t){return"#"===t.charAt(1)?"X"===t.charAt(2)||"x"===t.charAt(2)?s.default(parseInt(t.substr(3),16)):s.default(parseInt(t.substr(2),10)):e[t.slice(1,-1)]}}t.decodeHTML=function(){for(var e=Object.keys(o.default).sort(c),t=Object.keys(i.default).sort(c),n=0,r=0;n<t.length;n++)e[r]===t[n]?(t[n]+=";?",r++):t[n]+=";";var a=new RegExp("&(?:"+t.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),s=u(i.default);function l(e){return";"!==e.substr(-1)&&(e+=";"),s(e)}return function(e){return String(e).replace(a,l)}}()},105: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 i=r(n(9388));t.default=function(e){if(e>=55296&&e<=57343||e>1114111)return"�";e in i.default&&(e=i.default[e]);var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+String.fromCharCode(e)}},1029: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 i=l(r(n(1542)).default),o=c(i);t.encodeXML=h(i,o);var a=l(r(n(2059)).default),s=c(a);function l(e){return Object.keys(e).sort().reduce((function(t,n){return t[e[n]]="&"+n+";",t}),{})}function c(e){var t=[],n=[];return Object.keys(e).forEach((function(e){return 1===e.length?t.push("\\"+e):n.push(e)})),n.unshift("["+t.join("")+"]"),new RegExp(n.join("|"),"g")}t.encodeHTML=h(a,s);var u=/[^\0-\x7F]/g,d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function f(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}function p(e,t){return"&#x"+(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536).toString(16).toUpperCase()+";"}function h(e,t){return function(n){return n.replace(t,(function(t){return e[t]})).replace(d,p).replace(u,f)}}var g=c(i);t.escape=function(e){return e.replace(g,f).replace(d,p).replace(u,f)}},5924:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3094),i=n(1029);t.decode=function(e,t){return(!t||t<=0?r.decodeXML:r.decodeHTML)(e)},t.decodeStrict=function(e,t){return(!t||t<=0?r.decodeXML:r.decodeHTMLStrict)(e)},t.encode=function(e,t){return(!t||t<=0?i.encodeXML:i.encodeHTML)(e)};var o=n(1029);t.encodeXML=o.encodeXML,t.encodeHTML=o.encodeHTML,t.escape=o.escape,t.encodeHTML4=o.encodeHTML,t.encodeHTML5=o.encodeHTML;var a=n(3094);t.decodeXML=a.decodeXML,t.decodeHTML=a.decodeHTML,t.decodeHTMLStrict=a.decodeHTMLStrict,t.decodeHTML4=a.decodeHTML,t.decodeHTML5=a.decodeHTML,t.decodeHTML4Strict=a.decodeHTMLStrict,t.decodeHTML5Strict=a.decodeHTMLStrict,t.decodeXMLStrict=a.decodeXML},5082:e=>{!function(){function t(e,t){document.addEventListener?e.addEventListener("scroll",t,!1):e.attachEvent("scroll",t)}function n(e){this.g=document.createElement("div"),this.g.setAttribute("aria-hidden","true"),this.g.appendChild(document.createTextNode(e)),this.h=document.createElement("span"),this.i=document.createElement("span"),this.m=document.createElement("span"),this.j=document.createElement("span"),this.l=-1,this.h.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.i.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.j.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.m.style.cssText="display:inline-block;width:200%;height:200%;font-size:16px;max-width:none;",this.h.appendChild(this.m),this.i.appendChild(this.j),this.g.appendChild(this.h),this.g.appendChild(this.i)}function r(e,t){e.g.style.cssText="max-width:none;min-width:20px;min-height:20px;display:inline-block;overflow:hidden;position:absolute;width:auto;margin:0;padding:0;top:-999px;white-space:nowrap;font-synthesis:none;font:"+t+";"}function i(e){var t=e.g.offsetWidth,n=t+100;return e.j.style.width=n+"px",e.i.scrollLeft=n,e.h.scrollLeft=e.h.scrollWidth+100,e.l!==t&&(e.l=t,!0)}function o(e,n){function r(){var e=o;i(e)&&null!==e.g.parentNode&&n(e.l)}var o=e;t(e.h,r),t(e.i,r),i(e)}function a(e,t,n){t=t||{},n=n||window,this.family=e,this.style=t.style||"normal",this.weight=t.weight||"normal",this.stretch=t.stretch||"normal",this.context=n}var s=null,l=null,c=null,u=null;function d(e){return null===u&&(u=!!e.document.fonts),u}function f(e,t){var n=e.style,r=e.weight;if(null===c){var i=document.createElement("div");try{i.style.font="condensed 100px sans-serif"}catch(e){}c=""!==i.style.font}return[n,r,c?e.stretch:"","100px",t].join(" ")}a.prototype.load=function(e,t){var i=this,a=e||"BESbswy",c=0,u=t||3e3,p=(new Date).getTime();return new Promise((function(e,t){if(d(i.context)&&!function(e){return null===l&&(d(e)&&/Apple/.test(window.navigator.vendor)?(e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))(?:\.([0-9]+))/.exec(window.navigator.userAgent),l=!!e&&603>parseInt(e[1],10)):l=!1),l}(i.context)){var h=new Promise((function(e,t){!function n(){(new Date).getTime()-p>=u?t(Error(u+"ms timeout exceeded")):i.context.document.fonts.load(f(i,'"'+i.family+'"'),a).then((function(t){1<=t.length?e():setTimeout(n,25)}),t)}()})),g=new Promise((function(e,t){c=setTimeout((function(){t(Error(u+"ms timeout exceeded"))}),u)}));Promise.race([g,h]).then((function(){clearTimeout(c),e(i)}),t)}else!function(e){document.body?e():document.addEventListener?document.addEventListener("DOMContentLoaded",(function t(){document.removeEventListener("DOMContentLoaded",t),e()})):document.attachEvent("onreadystatechange",(function t(){"interactive"!=document.readyState&&"complete"!=document.readyState||(document.detachEvent("onreadystatechange",t),e())}))}((function(){function l(){var t;(t=-1!=m&&-1!=y||-1!=m&&-1!=v||-1!=y&&-1!=v)&&((t=m!=y&&m!=v&&y!=v)||(null===s&&(t=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent),s=!!t&&(536>parseInt(t[1],10)||536===parseInt(t[1],10)&&11>=parseInt(t[2],10))),t=s&&(m==b&&y==b&&v==b||m==I&&y==I&&v==I||m==x&&y==x&&v==x)),t=!t),t&&(null!==M.parentNode&&M.parentNode.removeChild(M),clearTimeout(c),e(i))}var d=new n(a),h=new n(a),g=new n(a),m=-1,y=-1,v=-1,b=-1,I=-1,x=-1,M=document.createElement("div");M.dir="ltr",r(d,f(i,"sans-serif")),r(h,f(i,"serif")),r(g,f(i,"monospace")),M.appendChild(d.g),M.appendChild(h.g),M.appendChild(g.g),i.context.document.body.appendChild(M),b=d.g.offsetWidth,I=h.g.offsetWidth,x=g.g.offsetWidth,function e(){if((new Date).getTime()-p>=u)null!==M.parentNode&&M.parentNode.removeChild(M),t(Error(u+"ms timeout exceeded"));else{var n=i.context.document.hidden;!0!==n&&void 0!==n||(m=d.g.offsetWidth,y=h.g.offsetWidth,v=g.g.offsetWidth,l()),c=setTimeout(e,50)}}(),o(d,(function(e){m=e,l()})),r(d,f(i,'"'+i.family+'",sans-serif')),o(h,(function(e){y=e,l()})),r(h,f(i,'"'+i.family+'",serif')),o(g,(function(e){v=e,l()})),r(g,f(i,'"'+i.family+'",monospace'))}))}))},e.exports=a}()},3463:(e,t,n)=>{"use strict";var r=n(3887),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var i=p(n);i&&i!==h&&e(t,i,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=l(t),g=l(n),m=0;m<a.length;++m){var y=a[m];if(!(o[y]||r&&r[y]||g&&g[y]||s&&s[y])){var v=f(n,y);try{c(t,y,v)}catch(e){}}}}return t}},3459:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,I=n?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case o:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case c:case f:case m:case g:case l:return e;default:return t}}case i:return t}}}function M(e){return x(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=o,t.Lazy=m,t.Memo=g,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return M(e)||x(e)===u},t.isConcurrentMode=M,t.isContextConsumer=function(e){return x(e)===c},t.isContextProvider=function(e){return x(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return x(e)===f},t.isFragment=function(e){return x(e)===o},t.isLazy=function(e){return x(e)===m},t.isMemo=function(e){return x(e)===g},t.isPortal=function(e){return x(e)===i},t.isProfiler=function(e){return x(e)===s},t.isStrictMode=function(e){return x(e)===a},t.isSuspense=function(e){return x(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===s||e===a||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===g||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===v||e.$$typeof===b||e.$$typeof===I||e.$$typeof===y)},t.typeOf=x},3887:(e,t,n)=>{"use strict";e.exports=n(3459)},4163:function(e,t,n){"use strict";var r,i=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)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=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]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return a(t,e),t},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.parseFeed=t.FeedHandler=void 0;var c,u,d=l(n(9959)),f=s(n(4622)),p=n(5233);!function(e){e[e.image=0]="image",e[e.audio=1]="audio",e[e.video=2]="video",e[e.document=3]="document",e[e.executable=4]="executable"}(c||(c={})),function(e){e[e.sample=0]="sample",e[e.full=1]="full",e[e.nonstop=2]="nonstop"}(u||(u={}));var h=function(e){function t(t,n){return"object"==typeof t&&(n=t=void 0),e.call(this,t,n)||this}return i(t,e),t.prototype.onend=function(){var e,t,n=y(x,this.dom);if(n){var r={};if("feed"===n.name){var i=n.children;r.type="atom",I(r,"id","id",i),I(r,"title","title",i);var o=b("href",y("link",i));o&&(r.link=o),I(r,"description","subtitle",i),(a=v("updated",i))&&(r.updated=new Date(a)),I(r,"author","email",i,!0),r.items=m("entry",i).map((function(e){var t={},n=e.children;I(t,"id","id",n),I(t,"title","title",n);var r=b("href",y("link",n));r&&(t.link=r);var i=v("summary",n)||v("content",n);i&&(t.description=i);var o=v("updated",n);return o&&(t.pubDate=new Date(o)),t.media=g(n),t}))}else{var a;i=null!==(t=null===(e=y("channel",n.children))||void 0===e?void 0:e.children)&&void 0!==t?t:[],r.type=n.name.substr(0,3),r.id="",I(r,"title","title",i),I(r,"link","link",i),I(r,"description","description",i),(a=v("lastBuildDate",i))&&(r.updated=new Date(a)),I(r,"author","managingEditor",i,!0),r.items=m("item",n.children).map((function(e){var t={},n=e.children;I(t,"id","guid",n),I(t,"title","title",n),I(t,"link","link",n),I(t,"description","description",n);var r=v("pubDate",n);return r&&(t.pubDate=new Date(r)),t.media=g(n),t}))}this.feed=r,this.handleCallback(null)}else this.handleCallback(new Error("couldn't find root of feed"))},t}(d.default);function g(e){return m("media:content",e).map((function(e){var t={medium:e.attribs.medium,isDefault:!!e.attribs.isDefault};return e.attribs.url&&(t.url=e.attribs.url),e.attribs.fileSize&&(t.fileSize=parseInt(e.attribs.fileSize,10)),e.attribs.type&&(t.type=e.attribs.type),e.attribs.expression&&(t.expression=e.attribs.expression),e.attribs.bitrate&&(t.bitrate=parseInt(e.attribs.bitrate,10)),e.attribs.framerate&&(t.framerate=parseInt(e.attribs.framerate,10)),e.attribs.samplingrate&&(t.samplingrate=parseInt(e.attribs.samplingrate,10)),e.attribs.channels&&(t.channels=parseInt(e.attribs.channels,10)),e.attribs.duration&&(t.duration=parseInt(e.attribs.duration,10)),e.attribs.height&&(t.height=parseInt(e.attribs.height,10)),e.attribs.width&&(t.width=parseInt(e.attribs.width,10)),e.attribs.lang&&(t.lang=e.attribs.lang),t}))}function m(e,t){return f.getElementsByTagName(e,t,!0)}function y(e,t){return f.getElementsByTagName(e,t,!0,1)[0]}function v(e,t,n){return void 0===n&&(n=!1),f.getText(f.getElementsByTagName(e,t,n,1)).trim()}function b(e,t){return t?t.attribs[e]:null}function I(e,t,n,r,i){void 0===i&&(i=!1);var o=v(n,r,i);o&&(e[t]=o)}function x(e){return"rss"===e||"feed"===e||"rdf:RDF"===e}t.FeedHandler=h,t.parseFeed=function(e,t){void 0===t&&(t={xmlMode:!0});var n=new h(t);return new p.Parser(n,t).end(e),n.feed}},5233: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}),t.Parser=void 0;var i=r(n(9636)),o=new Set(["input","option","optgroup","select","button","datalist","textarea"]),a=new Set(["p"]),s={tr:new Set(["tr","th","td"]),th:new Set(["th"]),td:new Set(["thead","th","td"]),body:new Set(["head","link","script"]),li:new Set(["li"]),p:a,h1:a,h2:a,h3:a,h4:a,h5:a,h6:a,select:o,input:o,output:o,button:o,datalist:o,textarea:o,option:new Set(["option"]),optgroup:new Set(["optgroup","option"]),dd:new Set(["dt","dd"]),dt:new Set(["dt","dd"]),address:a,article:a,aside:a,blockquote:a,details:a,div:a,dl:a,fieldset:a,figcaption:a,figure:a,footer:a,form:a,header:a,hr:a,main:a,nav:a,ol:a,pre:a,section:a,table:a,ul:a,rt:new Set(["rt","rp"]),rp:new Set(["rt","rp"]),tbody:new Set(["thead","tbody"]),tfoot:new Set(["thead","tbody"])},l=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),c=new Set(["math","svg"]),u=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),d=/\s|\//,f=function(){function e(e,t){var n,r,o,a,s;void 0===t&&(t={}),this.startIndex=0,this.endIndex=null,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.options=t,this.cbs=null!=e?e:{},this.lowerCaseTagNames=null!==(n=t.lowerCaseTags)&&void 0!==n?n:!t.xmlMode,this.lowerCaseAttributeNames=null!==(r=t.lowerCaseAttributeNames)&&void 0!==r?r:!t.xmlMode,this.tokenizer=new(null!==(o=t.Tokenizer)&&void 0!==o?o:i.default)(this.options,this),null===(s=(a=this.cbs).onparserinit)||void 0===s||s.call(a,this)}return e.prototype.updatePosition=function(e){null===this.endIndex?this.tokenizer.sectionStart<=e?this.startIndex=0:this.startIndex=this.tokenizer.sectionStart-e:this.startIndex=this.endIndex+1,this.endIndex=this.tokenizer.getAbsoluteIndex()},e.prototype.ontext=function(e){var t,n;this.updatePosition(1),this.endIndex--,null===(n=(t=this.cbs).ontext)||void 0===n||n.call(t,e)},e.prototype.onopentagname=function(e){var t,n;if(this.lowerCaseTagNames&&(e=e.toLowerCase()),this.tagname=e,!this.options.xmlMode&&Object.prototype.hasOwnProperty.call(s,e))for(var r=void 0;this.stack.length>0&&s[e].has(r=this.stack[this.stack.length-1]);)this.onclosetag(r);!this.options.xmlMode&&l.has(e)||(this.stack.push(e),c.has(e)?this.foreignContext.push(!0):u.has(e)&&this.foreignContext.push(!1)),null===(n=(t=this.cbs).onopentagname)||void 0===n||n.call(t,e),this.cbs.onopentag&&(this.attribs={})},e.prototype.onopentagend=function(){var e,t;this.updatePosition(1),this.attribs&&(null===(t=(e=this.cbs).onopentag)||void 0===t||t.call(e,this.tagname,this.attribs),this.attribs=null),!this.options.xmlMode&&this.cbs.onclosetag&&l.has(this.tagname)&&this.cbs.onclosetag(this.tagname),this.tagname=""},e.prototype.onclosetag=function(e){if(this.updatePosition(1),this.lowerCaseTagNames&&(e=e.toLowerCase()),(c.has(e)||u.has(e))&&this.foreignContext.pop(),!this.stack.length||!this.options.xmlMode&&l.has(e))this.options.xmlMode||"br"!==e&&"p"!==e||(this.onopentagname(e),this.closeCurrentTag());else{var t=this.stack.lastIndexOf(e);if(-1!==t)if(this.cbs.onclosetag)for(t=this.stack.length-t;t--;)this.cbs.onclosetag(this.stack.pop());else this.stack.length=t;else"p"!==e||this.options.xmlMode||(this.onopentagname(e),this.closeCurrentTag())}},e.prototype.onselfclosingtag=function(){this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?this.closeCurrentTag():this.onopentagend()},e.prototype.closeCurrentTag=function(){var e,t,n=this.tagname;this.onopentagend(),this.stack[this.stack.length-1]===n&&(null===(t=(e=this.cbs).onclosetag)||void 0===t||t.call(e,n),this.stack.pop())},e.prototype.onattribname=function(e){this.lowerCaseAttributeNames&&(e=e.toLowerCase()),this.attribname=e},e.prototype.onattribdata=function(e){this.attribvalue+=e},e.prototype.onattribend=function(e){var t,n;null===(n=(t=this.cbs).onattribute)||void 0===n||n.call(t,this.attribname,this.attribvalue,e),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribname="",this.attribvalue=""},e.prototype.getInstructionName=function(e){var t=e.search(d),n=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n},e.prototype.ondeclaration=function(e){if(this.cbs.onprocessinginstruction){var t=this.getInstructionName(e);this.cbs.onprocessinginstruction("!"+t,"!"+e)}},e.prototype.onprocessinginstruction=function(e){if(this.cbs.onprocessinginstruction){var t=this.getInstructionName(e);this.cbs.onprocessinginstruction("?"+t,"?"+e)}},e.prototype.oncomment=function(e){var t,n,r,i;this.updatePosition(4),null===(n=(t=this.cbs).oncomment)||void 0===n||n.call(t,e),null===(i=(r=this.cbs).oncommentend)||void 0===i||i.call(r)},e.prototype.oncdata=function(e){var t,n,r,i,o,a;this.updatePosition(1),this.options.xmlMode||this.options.recognizeCDATA?(null===(n=(t=this.cbs).oncdatastart)||void 0===n||n.call(t),null===(i=(r=this.cbs).ontext)||void 0===i||i.call(r,e),null===(a=(o=this.cbs).oncdataend)||void 0===a||a.call(o)):this.oncomment("[CDATA["+e+"]]")},e.prototype.onerror=function(e){var t,n;null===(n=(t=this.cbs).onerror)||void 0===n||n.call(t,e)},e.prototype.onend=function(){var e,t;if(this.cbs.onclosetag)for(var n=this.stack.length;n>0;this.cbs.onclosetag(this.stack[--n]));null===(t=(e=this.cbs).onend)||void 0===t||t.call(e)},e.prototype.reset=function(){var e,t,n,r;null===(t=(e=this.cbs).onreset)||void 0===t||t.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack=[],null===(r=(n=this.cbs).onparserinit)||void 0===r||r.call(n,this)},e.prototype.parseComplete=function(e){this.reset(),this.end(e)},e.prototype.write=function(e){this.tokenizer.write(e)},e.prototype.end=function(e){this.tokenizer.end(e)},e.prototype.pause=function(){this.tokenizer.pause()},e.prototype.resume=function(){this.tokenizer.resume()},e.prototype.parseChunk=function(e){this.write(e)},e.prototype.done=function(e){this.end(e)},e}();t.Parser=f},9636: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 i=r(n(105)),o=r(n(2059)),a=r(n(2184)),s=r(n(1542));function l(e){return" "===e||"\n"===e||"\t"===e||"\f"===e||"\r"===e}function c(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"}function u(e,t,n){var r=e.toLowerCase();return e===r?function(e,i){i===r?e._state=t:(e._state=n,e._index--)}:function(i,o){o===r||o===e?i._state=t:(i._state=n,i._index--)}}function d(e,t){var n=e.toLowerCase();return function(r,i){i===n||i===e?r._state=t:(r._state=3,r._index--)}}var f=u("C",24,16),p=u("D",25,16),h=u("A",26,16),g=u("T",27,16),m=u("A",28,16),y=d("R",35),v=d("I",36),b=d("P",37),I=d("T",38),x=u("R",40,1),M=u("I",41,1),w=u("P",42,1),T=u("T",43,1),A=d("Y",45),C=d("L",46),N=d("E",47),E=u("Y",49,1),S=u("L",50,1),j=u("E",51,1),k=d("I",54),D=d("T",55),L=d("L",56),O=d("E",57),R=u("I",58,1),P=u("T",59,1),z=u("L",60,1),U=u("E",61,1),_=u("#",63,64),Z=u("X",66,65),G=function(){function e(e,t){var n;this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.special=1,this.running=!0,this.ended=!1,this.cbs=t,this.xmlMode=!!(null==e?void 0:e.xmlMode),this.decodeEntities=null===(n=null==e?void 0:e.decodeEntities)||void 0===n||n}return e.prototype.reset=function(){this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.special=1,this.running=!0,this.ended=!1},e.prototype.write=function(e){this.ended&&this.cbs.onerror(Error(".write() after done!")),this.buffer+=e,this.parse()},e.prototype.end=function(e){this.ended&&this.cbs.onerror(Error(".end() after done!")),e&&this.write(e),this.ended=!0,this.running&&this.finish()},e.prototype.pause=function(){this.running=!1},e.prototype.resume=function(){this.running=!0,this._index<this.buffer.length&&this.parse(),this.ended&&this.finish()},e.prototype.getAbsoluteIndex=function(){return this.bufferOffset+this._index},e.prototype.stateText=function(e){"<"===e?(this._index>this.sectionStart&&this.cbs.ontext(this.getSection()),this._state=2,this.sectionStart=this._index):!this.decodeEntities||"&"!==e||1!==this.special&&4!==this.special||(this._index>this.sectionStart&&this.cbs.ontext(this.getSection()),this.baseState=1,this._state=62,this.sectionStart=this._index)},e.prototype.isTagStartChar=function(e){return c(e)||this.xmlMode&&!l(e)&&"/"!==e&&">"!==e},e.prototype.stateBeforeTagName=function(e){"/"===e?this._state=5:"<"===e?(this.cbs.ontext(this.getSection()),this.sectionStart=this._index):">"===e||1!==this.special||l(e)?this._state=1:"!"===e?(this._state=15,this.sectionStart=this._index+1):"?"===e?(this._state=17,this.sectionStart=this._index+1):this.isTagStartChar(e)?(this._state=this.xmlMode||"s"!==e&&"S"!==e?this.xmlMode||"t"!==e&&"T"!==e?3:52:32,this.sectionStart=this._index):this._state=1},e.prototype.stateInTagName=function(e){("/"===e||">"===e||l(e))&&(this.emitToken("onopentagname"),this._state=8,this._index--)},e.prototype.stateBeforeClosingTagName=function(e){l(e)||(">"===e?this._state=1:1!==this.special?4===this.special||"s"!==e&&"S"!==e?4!==this.special||"t"!==e&&"T"!==e?(this._state=1,this._index--):this._state=53:this._state=33:this.isTagStartChar(e)?(this._state=6,this.sectionStart=this._index):(this._state=20,this.sectionStart=this._index))},e.prototype.stateInClosingTagName=function(e){(">"===e||l(e))&&(this.emitToken("onclosetag"),this._state=7,this._index--)},e.prototype.stateAfterClosingTagName=function(e){">"===e&&(this._state=1,this.sectionStart=this._index+1)},e.prototype.stateBeforeAttributeName=function(e){">"===e?(this.cbs.onopentagend(),this._state=1,this.sectionStart=this._index+1):"/"===e?this._state=4:l(e)||(this._state=9,this.sectionStart=this._index)},e.prototype.stateInSelfClosingTag=function(e){">"===e?(this.cbs.onselfclosingtag(),this._state=1,this.sectionStart=this._index+1,this.special=1):l(e)||(this._state=8,this._index--)},e.prototype.stateInAttributeName=function(e){("="===e||"/"===e||">"===e||l(e))&&(this.cbs.onattribname(this.getSection()),this.sectionStart=-1,this._state=10,this._index--)},e.prototype.stateAfterAttributeName=function(e){"="===e?this._state=11:"/"===e||">"===e?(this.cbs.onattribend(void 0),this._state=8,this._index--):l(e)||(this.cbs.onattribend(void 0),this._state=9,this.sectionStart=this._index)},e.prototype.stateBeforeAttributeValue=function(e){'"'===e?(this._state=12,this.sectionStart=this._index+1):"'"===e?(this._state=13,this.sectionStart=this._index+1):l(e)||(this._state=14,this.sectionStart=this._index,this._index--)},e.prototype.handleInAttributeValue=function(e,t){e===t?(this.emitToken("onattribdata"),this.cbs.onattribend(t),this._state=8):this.decodeEntities&&"&"===e&&(this.emitToken("onattribdata"),this.baseState=this._state,this._state=62,this.sectionStart=this._index)},e.prototype.stateInAttributeValueDoubleQuotes=function(e){this.handleInAttributeValue(e,'"')},e.prototype.stateInAttributeValueSingleQuotes=function(e){this.handleInAttributeValue(e,"'")},e.prototype.stateInAttributeValueNoQuotes=function(e){l(e)||">"===e?(this.emitToken("onattribdata"),this.cbs.onattribend(null),this._state=8,this._index--):this.decodeEntities&&"&"===e&&(this.emitToken("onattribdata"),this.baseState=this._state,this._state=62,this.sectionStart=this._index)},e.prototype.stateBeforeDeclaration=function(e){this._state="["===e?23:"-"===e?18:16},e.prototype.stateInDeclaration=function(e){">"===e&&(this.cbs.ondeclaration(this.getSection()),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateInProcessingInstruction=function(e){">"===e&&(this.cbs.onprocessinginstruction(this.getSection()),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateBeforeComment=function(e){"-"===e?(this._state=19,this.sectionStart=this._index+1):this._state=16},e.prototype.stateInComment=function(e){"-"===e&&(this._state=21)},e.prototype.stateInSpecialComment=function(e){">"===e&&(this.cbs.oncomment(this.buffer.substring(this.sectionStart,this._index)),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateAfterComment1=function(e){this._state="-"===e?22:19},e.prototype.stateAfterComment2=function(e){">"===e?(this.cbs.oncomment(this.buffer.substring(this.sectionStart,this._index-2)),this._state=1,this.sectionStart=this._index+1):"-"!==e&&(this._state=19)},e.prototype.stateBeforeCdata6=function(e){"["===e?(this._state=29,this.sectionStart=this._index+1):(this._state=16,this._index--)},e.prototype.stateInCdata=function(e){"]"===e&&(this._state=30)},e.prototype.stateAfterCdata1=function(e){this._state="]"===e?31:29},e.prototype.stateAfterCdata2=function(e){">"===e?(this.cbs.oncdata(this.buffer.substring(this.sectionStart,this._index-2)),this._state=1,this.sectionStart=this._index+1):"]"!==e&&(this._state=29)},e.prototype.stateBeforeSpecialS=function(e){"c"===e||"C"===e?this._state=34:"t"===e||"T"===e?this._state=44:(this._state=3,this._index--)},e.prototype.stateBeforeSpecialSEnd=function(e){2!==this.special||"c"!==e&&"C"!==e?3!==this.special||"t"!==e&&"T"!==e?this._state=1:this._state=48:this._state=39},e.prototype.stateBeforeSpecialLast=function(e,t){("/"===e||">"===e||l(e))&&(this.special=t),this._state=3,this._index--},e.prototype.stateAfterSpecialLast=function(e,t){">"===e||l(e)?(this.special=1,this._state=6,this.sectionStart=this._index-t,this._index--):this._state=1},e.prototype.parseFixedEntity=function(e){if(void 0===e&&(e=this.xmlMode?s.default:o.default),this.sectionStart+1<this._index){var t=this.buffer.substring(this.sectionStart+1,this._index);Object.prototype.hasOwnProperty.call(e,t)&&(this.emitPartial(e[t]),this.sectionStart=this._index+1)}},e.prototype.parseLegacyEntity=function(){for(var e=this.sectionStart+1,t=Math.min(this._index-e,6);t>=2;){var n=this.buffer.substr(e,t);if(Object.prototype.hasOwnProperty.call(a.default,n))return this.emitPartial(a.default[n]),void(this.sectionStart+=t+1);t--}},e.prototype.stateInNamedEntity=function(e){";"===e?(this.parseFixedEntity(),1===this.baseState&&this.sectionStart+1<this._index&&!this.xmlMode&&this.parseLegacyEntity(),this._state=this.baseState):(e<"0"||e>"9")&&!c(e)&&(this.xmlMode||this.sectionStart+1===this._index||(1!==this.baseState?"="!==e&&this.parseFixedEntity(a.default):this.parseLegacyEntity()),this._state=this.baseState,this._index--)},e.prototype.decodeNumericEntity=function(e,t,n){var r=this.sectionStart+e;if(r!==this._index){var o=this.buffer.substring(r,this._index),a=parseInt(o,t);this.emitPartial(i.default(a)),this.sectionStart=n?this._index+1:this._index}this._state=this.baseState},e.prototype.stateInNumericEntity=function(e){";"===e?this.decodeNumericEntity(2,10,!0):(e<"0"||e>"9")&&(this.xmlMode?this._state=this.baseState:this.decodeNumericEntity(2,10,!1),this._index--)},e.prototype.stateInHexEntity=function(e){";"===e?this.decodeNumericEntity(3,16,!0):(e<"a"||e>"f")&&(e<"A"||e>"F")&&(e<"0"||e>"9")&&(this.xmlMode?this._state=this.baseState:this.decodeNumericEntity(3,16,!1),this._index--)},e.prototype.cleanup=function(){this.sectionStart<0?(this.buffer="",this.bufferOffset+=this._index,this._index=0):this.running&&(1===this._state?(this.sectionStart!==this._index&&this.cbs.ontext(this.buffer.substr(this.sectionStart)),this.buffer="",this.bufferOffset+=this._index,this._index=0):this.sectionStart===this._index?(this.buffer="",this.bufferOffset+=this._index,this._index=0):(this.buffer=this.buffer.substr(this.sectionStart),this._index-=this.sectionStart,this.bufferOffset+=this.sectionStart),this.sectionStart=0)},e.prototype.parse=function(){for(;this._index<this.buffer.length&&this.running;){var e=this.buffer.charAt(this._index);1===this._state?this.stateText(e):12===this._state?this.stateInAttributeValueDoubleQuotes(e):9===this._state?this.stateInAttributeName(e):19===this._state?this.stateInComment(e):20===this._state?this.stateInSpecialComment(e):8===this._state?this.stateBeforeAttributeName(e):3===this._state?this.stateInTagName(e):6===this._state?this.stateInClosingTagName(e):2===this._state?this.stateBeforeTagName(e):10===this._state?this.stateAfterAttributeName(e):13===this._state?this.stateInAttributeValueSingleQuotes(e):11===this._state?this.stateBeforeAttributeValue(e):5===this._state?this.stateBeforeClosingTagName(e):7===this._state?this.stateAfterClosingTagName(e):32===this._state?this.stateBeforeSpecialS(e):21===this._state?this.stateAfterComment1(e):14===this._state?this.stateInAttributeValueNoQuotes(e):4===this._state?this.stateInSelfClosingTag(e):16===this._state?this.stateInDeclaration(e):15===this._state?this.stateBeforeDeclaration(e):22===this._state?this.stateAfterComment2(e):18===this._state?this.stateBeforeComment(e):33===this._state?this.stateBeforeSpecialSEnd(e):53===this._state?R(this,e):39===this._state?x(this,e):40===this._state?M(this,e):41===this._state?w(this,e):34===this._state?y(this,e):35===this._state?v(this,e):36===this._state?b(this,e):37===this._state?I(this,e):38===this._state?this.stateBeforeSpecialLast(e,2):42===this._state?T(this,e):43===this._state?this.stateAfterSpecialLast(e,6):44===this._state?A(this,e):29===this._state?this.stateInCdata(e):45===this._state?C(this,e):46===this._state?N(this,e):47===this._state?this.stateBeforeSpecialLast(e,3):48===this._state?E(this,e):49===this._state?S(this,e):50===this._state?j(this,e):51===this._state?this.stateAfterSpecialLast(e,5):52===this._state?k(this,e):54===this._state?D(this,e):55===this._state?L(this,e):56===this._state?O(this,e):57===this._state?this.stateBeforeSpecialLast(e,4):58===this._state?P(this,e):59===this._state?z(this,e):60===this._state?U(this,e):61===this._state?this.stateAfterSpecialLast(e,5):17===this._state?this.stateInProcessingInstruction(e):64===this._state?this.stateInNamedEntity(e):23===this._state?f(this,e):62===this._state?_(this,e):24===this._state?p(this,e):25===this._state?h(this,e):30===this._state?this.stateAfterCdata1(e):31===this._state?this.stateAfterCdata2(e):26===this._state?g(this,e):27===this._state?m(this,e):28===this._state?this.stateBeforeCdata6(e):66===this._state?this.stateInHexEntity(e):65===this._state?this.stateInNumericEntity(e):63===this._state?Z(this,e):this.cbs.onerror(Error("unknown _state"),this._state),this._index++}this.cleanup()},e.prototype.finish=function(){this.sectionStart<this._index&&this.handleTrailingData(),this.cbs.onend()},e.prototype.handleTrailingData=function(){var e=this.buffer.substr(this.sectionStart);29===this._state||30===this._state||31===this._state?this.cbs.oncdata(e):19===this._state||21===this._state||22===this._state?this.cbs.oncomment(e):64!==this._state||this.xmlMode?65!==this._state||this.xmlMode?66!==this._state||this.xmlMode?3!==this._state&&8!==this._state&&11!==this._state&&10!==this._state&&9!==this._state&&13!==this._state&&12!==this._state&&14!==this._state&&6!==this._state&&this.cbs.ontext(e):(this.decodeNumericEntity(3,16,!1),this.sectionStart<this._index&&(this._state=this.baseState,this.handleTrailingData())):(this.decodeNumericEntity(2,10,!1),this.sectionStart<this._index&&(this._state=this.baseState,this.handleTrailingData())):(this.parseLegacyEntity(),this.sectionStart<this._index&&(this._state=this.baseState,this.handleTrailingData()))},e.prototype.getSection=function(){return this.buffer.substring(this.sectionStart,this._index)},e.prototype.emitToken=function(e){this.cbs[e](this.getSection()),this.sectionStart=-1},e.prototype.emitPartial=function(e){1!==this.baseState?this.cbs.onattribdata(e):this.cbs.ontext(e)},e}();t.default=G},883: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]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t},a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.RssHandler=t.DefaultHandler=t.DomUtils=t.ElementType=t.Tokenizer=t.createDomStream=t.parseDOM=t.parseDocument=t.DomHandler=t.Parser=void 0;var l=n(5233);Object.defineProperty(t,"Parser",{enumerable:!0,get:function(){return l.Parser}});var c=n(9959);function u(e,t){var n=new c.DomHandler(void 0,t);return new l.Parser(n,t).end(e),n.root}Object.defineProperty(t,"DomHandler",{enumerable:!0,get:function(){return c.DomHandler}}),Object.defineProperty(t,"DefaultHandler",{enumerable:!0,get:function(){return c.DomHandler}}),t.parseDocument=u,t.parseDOM=function(e,t){return u(e,t).children},t.createDomStream=function(e,t,n){var r=new c.DomHandler(e,t,n);return new l.Parser(r,t)};var d=n(9636);Object.defineProperty(t,"Tokenizer",{enumerable:!0,get:function(){return s(d).default}});var f=o(n(4821));t.ElementType=f,a(n(4163),t),t.DomUtils=o(n(4622));var p=n(4163);Object.defineProperty(t,"RssHandler",{enumerable:!0,get:function(){return p.FeedHandler}})},303:(e,t)=>{"use strict";function n(e){return"[object Object]"===Object.prototype.toString.call(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.isPlainObject=function(e){var t,r;return!1!==n(e)&&(void 0===(t=e.constructor)||!1!==n(r=t.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf"))}},8291:function(e,t){var n;!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(function(r,i){"use strict";var o=[],a=Object.getPrototypeOf,s=o.slice,l=o.flat?function(e){return o.flat.call(e)}:function(e){return o.concat.apply([],e)},c=o.push,u=o.indexOf,d={},f=d.toString,p=d.hasOwnProperty,h=p.toString,g=h.call(Object),m={},y=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},v=function(e){return null!=e&&e===e.window},b=r.document,I={type:!0,src:!0,nonce:!0,noModule:!0};function x(e,t,n){var r,i,o=(n=n||b).createElement("script");if(o.text=e,t)for(r in I)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function M(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[f.call(e)]||"object":typeof e}var w="3.7.0",T=/HTML$/i,A=function(e,t){return new A.fn.init(e,t)};function C(e){var t=!!e&&"length"in e&&e.length,n=M(e);return!y(e)&&!v(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function N(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}A.fn=A.prototype={jquery:w,constructor:A,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=A.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return A.each(this,e)},map:function(e){return this.pushStack(A.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(A.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(A.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:o.sort,splice:o.splice},A.extend=A.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,l=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[s]||{},s++),"object"==typeof a||y(a)||(a={}),s===l&&(a=this,s--);s<l;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(c&&r&&(A.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||A.isPlainObject(n)?n:{},i=!1,a[t]=A.extend(c,o,r)):void 0!==r&&(a[t]=r));return a},A.extend({expando:"jQuery"+(w+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==f.call(e)||(t=a(e))&&("function"!=typeof(n=p.call(t,"constructor")&&t.constructor)||h.call(n)!==g))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){x(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(C(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},text:function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i)return e.textContent;if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=A.text(t);return n},makeArray:function(e,t){var n=t||[];return null!=e&&(C(Object(e))?A.merge(n,"string"==typeof e?[e]:e):c.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:u.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!T.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(C(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return l(a)},guid:1,support:m}),"function"==typeof Symbol&&(A.fn[Symbol.iterator]=o[Symbol.iterator]),A.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){d["[object "+t+"]"]=t.toLowerCase()}));var E=o.pop,S=o.sort,j=o.splice,k="[\\x20\\t\\r\\n\\f]",D=new RegExp("^"+k+"+|((?:^|[^\\\\])(?:\\\\.)*)"+k+"+$","g");A.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var L=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function O(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}A.escapeSelector=function(e){return(e+"").replace(L,O)};var R=b,P=c;!function(){var e,t,n,i,a,l,c,d,f,h,g=P,y=A.expando,v=0,b=0,I=ee(),x=ee(),M=ee(),w=ee(),T=function(e,t){return e===t&&(a=!0),0},C="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",L="(?:\\\\[\\da-fA-F]{1,6}"+k+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",O="\\["+k+"*("+L+")(?:"+k+"*([*^$|!~]?=)"+k+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+L+"))|)"+k+"*\\]",z=":("+L+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+O+")*)|.*)\\)|)",U=new RegExp(k+"+","g"),_=new RegExp("^"+k+"*,"+k+"*"),Z=new RegExp("^"+k+"*([>+~]|"+k+")"+k+"*"),G=new RegExp(k+"|>"),B=new RegExp(z),F=new RegExp("^"+L+"$"),Y={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\.("+L+")"),TAG:new RegExp("^("+L+"|[*])"),ATTR:new RegExp("^"+O),PSEUDO:new RegExp("^"+z),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+k+"*(even|odd|(([+-]|)(\\d*)n|)"+k+"*(?:([+-]|)"+k+"*(\\d+)|))"+k+"*\\)|)","i"),bool:new RegExp("^(?:"+C+")$","i"),needsContext:new RegExp("^"+k+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+k+"*((?:-\\d)?\\d*)"+k+"*\\)|)(?=[^-]|$)","i")},W=/^(?:input|select|textarea|button)$/i,H=/^h\d$/i,V=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,q=/[+~]/,Q=new RegExp("\\\\[\\da-fA-F]{1,6}"+k+"?|\\\\([^\\r\\n\\f])","g"),J=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},X=function(){le()},K=fe((function(e){return!0===e.disabled&&N(e,"fieldset")}),{dir:"parentNode",next:"legend"});try{g.apply(o=s.call(R.childNodes),R.childNodes),o[R.childNodes.length].nodeType}catch(e){g={apply:function(e,t){P.apply(e,s.call(t))},call:function(e){P.apply(e,s.call(arguments,1))}}}function $(e,t,n,r){var i,o,a,s,c,u,p,h=t&&t.ownerDocument,v=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==v&&9!==v&&11!==v)return n;if(!r&&(le(t),t=t||l,d)){if(11!==v&&(c=V.exec(e)))if(i=c[1]){if(9===v){if(!(a=t.getElementById(i)))return n;if(a.id===i)return g.call(n,a),n}else if(h&&(a=h.getElementById(i))&&$.contains(t,a)&&a.id===i)return g.call(n,a),n}else{if(c[2])return g.apply(n,t.getElementsByTagName(e)),n;if((i=c[3])&&t.getElementsByClassName)return g.apply(n,t.getElementsByClassName(i)),n}if(!(w[e+" "]||f&&f.test(e))){if(p=e,h=t,1===v&&(G.test(e)||Z.test(e))){for((h=q.test(e)&&se(t.parentNode)||t)==t&&m.scope||((s=t.getAttribute("id"))?s=A.escapeSelector(s):t.setAttribute("id",s=y)),o=(u=ue(e)).length;o--;)u[o]=(s?"#"+s:":scope")+" "+de(u[o]);p=u.join(",")}try{return g.apply(n,h.querySelectorAll(p)),n}catch(t){w(e,!0)}finally{s===y&&t.removeAttribute("id")}}}return ve(e.replace(D,"$1"),t,n,r)}function ee(){var e=[];return function n(r,i){return e.push(r+" ")>t.cacheLength&&delete n[e.shift()],n[r+" "]=i}}function te(e){return e[y]=!0,e}function ne(e){var t=l.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function re(e){return function(t){return N(t,"input")&&t.type===e}}function ie(e){return function(t){return(N(t,"input")||N(t,"button"))&&t.type===e}}function oe(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&K(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ae(e){return te((function(t){return t=+t,te((function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))}))}))}function se(e){return e&&void 0!==e.getElementsByTagName&&e}function le(e){var n,r=e?e.ownerDocument||e:R;return r!=l&&9===r.nodeType&&r.documentElement?(c=(l=r).documentElement,d=!A.isXMLDoc(l),h=c.matches||c.webkitMatchesSelector||c.msMatchesSelector,R!=l&&(n=l.defaultView)&&n.top!==n&&n.addEventListener("unload",X),m.getById=ne((function(e){return c.appendChild(e).id=A.expando,!l.getElementsByName||!l.getElementsByName(A.expando).length})),m.disconnectedMatch=ne((function(e){return h.call(e,"*")})),m.scope=ne((function(){return l.querySelectorAll(":scope")})),m.cssHas=ne((function(){try{return l.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}})),m.getById?(t.filter.ID=function(e){var t=e.replace(Q,J);return function(e){return e.getAttribute("id")===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&d){var n=t.getElementById(e);return n?[n]:[]}}):(t.filter.ID=function(e){var t=e.replace(Q,J);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&d){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),t.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},t.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&d)return t.getElementsByClassName(e)},f=[],ne((function(e){var t;c.appendChild(e).innerHTML="<a id='"+y+"' href='' disabled='disabled'></a><select id='"+y+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||f.push("\\["+k+"*(?:value|"+C+")"),e.querySelectorAll("[id~="+y+"-]").length||f.push("~="),e.querySelectorAll("a#"+y+"+*").length||f.push(".#.+[+~]"),e.querySelectorAll(":checked").length||f.push(":checked"),(t=l.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),c.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&f.push(":enabled",":disabled"),(t=l.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||f.push("\\["+k+"*name"+k+"*="+k+"*(?:''|\"\")")})),m.cssHas||f.push(":has"),f=f.length&&new RegExp(f.join("|")),T=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!m.sortDetached&&t.compareDocumentPosition(e)===n?e===l||e.ownerDocument==R&&$.contains(R,e)?-1:t===l||t.ownerDocument==R&&$.contains(R,t)?1:i?u.call(i,e)-u.call(i,t):0:4&n?-1:1)},l):l}for(e in $.matches=function(e,t){return $(e,null,null,t)},$.matchesSelector=function(e,t){if(le(e),d&&!w[t+" "]&&(!f||!f.test(t)))try{var n=h.call(e,t);if(n||m.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){w(t,!0)}return $(t,l,null,[e]).length>0},$.contains=function(e,t){return(e.ownerDocument||e)!=l&&le(e),A.contains(e,t)},$.attr=function(e,n){(e.ownerDocument||e)!=l&&le(e);var r=t.attrHandle[n.toLowerCase()],i=r&&p.call(t.attrHandle,n.toLowerCase())?r(e,n,!d):void 0;return void 0!==i?i:e.getAttribute(n)},$.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},A.uniqueSort=function(e){var t,n=[],r=0,o=0;if(a=!m.sortStable,i=!m.sortStable&&s.call(e,0),S.call(e,T),a){for(;t=e[o++];)t===e[o]&&(r=n.push(o));for(;r--;)j.call(e,n[r],1)}return i=null,e},A.fn.uniqueSort=function(){return this.pushStack(A.uniqueSort(s.apply(this)))},t=A.expr={cacheLength:50,createPseudo:te,match:Y,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Q,J),e[3]=(e[3]||e[4]||e[5]||"").replace(Q,J),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||$.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&$.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return Y.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&B.test(n)&&(t=ue(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(Q,J).toLowerCase();return"*"===e?function(){return!0}:function(e){return N(e,t)}},CLASS:function(e){var t=I[e+" "];return t||(t=new RegExp("(^|"+k+")"+e+"("+k+"|$)"))&&I(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var i=$.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(U," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,l){var c,u,d,f,p,h=o!==a?"nextSibling":"previousSibling",g=t.parentNode,m=s&&t.nodeName.toLowerCase(),b=!l&&!s,I=!1;if(g){if(o){for(;h;){for(d=t;d=d[h];)if(s?N(d,m):1===d.nodeType)return!1;p=h="only"===e&&!p&&"nextSibling"}return!0}if(p=[a?g.firstChild:g.lastChild],a&&b){for(I=(f=(c=(u=g[y]||(g[y]={}))[e]||[])[0]===v&&c[1])&&c[2],d=f&&g.childNodes[f];d=++f&&d&&d[h]||(I=f=0)||p.pop();)if(1===d.nodeType&&++I&&d===t){u[e]=[v,f,I];break}}else if(b&&(I=f=(c=(u=t[y]||(t[y]={}))[e]||[])[0]===v&&c[1]),!1===I)for(;(d=++f&&d&&d[h]||(I=f=0)||p.pop())&&(!(s?N(d,m):1===d.nodeType)||!++I||(b&&((u=d[y]||(d[y]={}))[e]=[v,I]),d!==t)););return(I-=i)===r||I%r==0&&I/r>=0}}},PSEUDO:function(e,n){var r,i=t.pseudos[e]||t.setFilters[e.toLowerCase()]||$.error("unsupported pseudo: "+e);return i[y]?i(n):i.length>1?(r=[e,e,"",n],t.setFilters.hasOwnProperty(e.toLowerCase())?te((function(e,t){for(var r,o=i(e,n),a=o.length;a--;)e[r=u.call(e,o[a])]=!(t[r]=o[a])})):function(e){return i(e,0,r)}):i}},pseudos:{not:te((function(e){var t=[],n=[],r=ye(e.replace(D,"$1"));return r[y]?te((function(e,t,n,i){for(var o,a=r(e,null,i,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))})):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}})),has:te((function(e){return function(t){return $(e,t).length>0}})),contains:te((function(e){return e=e.replace(Q,J),function(t){return(t.textContent||A.text(t)).indexOf(e)>-1}})),lang:te((function(e){return F.test(e||"")||$.error("unsupported lang: "+e),e=e.replace(Q,J).toLowerCase(),function(t){var n;do{if(n=d?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(e){var t=r.location&&r.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===c},focus:function(e){return e===function(){try{return l.activeElement}catch(e){}}()&&l.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:oe(!1),disabled:oe(!0),checked:function(e){return N(e,"input")&&!!e.checked||N(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!t.pseudos.empty(e)},header:function(e){return H.test(e.nodeName)},input:function(e){return W.test(e.nodeName)},button:function(e){return N(e,"input")&&"button"===e.type||N(e,"button")},text:function(e){var t;return N(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ae((function(){return[0]})),last:ae((function(e,t){return[t-1]})),eq:ae((function(e,t,n){return[n<0?n+t:n]})),even:ae((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:ae((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:ae((function(e,t,n){var r;for(r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e})),gt:ae((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}},t.pseudos.nth=t.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[e]=re(e);for(e in{submit:!0,reset:!0})t.pseudos[e]=ie(e);function ce(){}function ue(e,n){var r,i,o,a,s,l,c,u=x[e+" "];if(u)return n?0:u.slice(0);for(s=e,l=[],c=t.preFilter;s;){for(a in r&&!(i=_.exec(s))||(i&&(s=s.slice(i[0].length)||s),l.push(o=[])),r=!1,(i=Z.exec(s))&&(r=i.shift(),o.push({value:r,type:i[0].replace(D," ")}),s=s.slice(r.length)),t.filter)!(i=Y[a].exec(s))||c[a]&&!(i=c[a](i))||(r=i.shift(),o.push({value:r,type:a,matches:i}),s=s.slice(r.length));if(!r)break}return n?s.length:s?$.error(e):x(e,l).slice(0)}function de(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function fe(e,t,n){var r=t.dir,i=t.next,o=i||r,a=n&&"parentNode"===o,s=b++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,i);return!1}:function(t,n,l){var c,u,d=[v,s];if(l){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,l))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(u=t[y]||(t[y]={}),i&&N(t,i))t=t[r]||t;else{if((c=u[o])&&c[0]===v&&c[1]===s)return d[2]=c[2];if(u[o]=d,d[2]=e(t,n,l))return!0}return!1}}function pe(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function he(e,t,n,r,i){for(var o,a=[],s=0,l=e.length,c=null!=t;s<l;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),c&&t.push(s)));return a}function ge(e,t,n,r,i,o){return r&&!r[y]&&(r=ge(r)),i&&!i[y]&&(i=ge(i,o)),te((function(o,a,s,l){var c,d,f,p,h=[],m=[],y=a.length,v=o||function(e,t,n){for(var r=0,i=t.length;r<i;r++)$(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),b=!e||!o&&t?v:he(v,h,e,s,l);if(n?n(b,p=i||(o?e:y||r)?[]:a,s,l):p=b,r)for(c=he(p,m),r(c,[],s,l),d=c.length;d--;)(f=c[d])&&(p[m[d]]=!(b[m[d]]=f));if(o){if(i||e){if(i){for(c=[],d=p.length;d--;)(f=p[d])&&c.push(b[d]=f);i(null,p=[],c,l)}for(d=p.length;d--;)(f=p[d])&&(c=i?u.call(o,f):h[d])>-1&&(o[c]=!(a[c]=f))}}else p=he(p===a?p.splice(y,p.length):p),i?i(null,a,p,l):g.apply(a,p)}))}function me(e){for(var r,i,o,a=e.length,s=t.relative[e[0].type],l=s||t.relative[" "],c=s?1:0,d=fe((function(e){return e===r}),l,!0),f=fe((function(e){return u.call(r,e)>-1}),l,!0),p=[function(e,t,i){var o=!s&&(i||t!=n)||((r=t).nodeType?d(e,t,i):f(e,t,i));return r=null,o}];c<a;c++)if(i=t.relative[e[c].type])p=[fe(pe(p),i)];else{if((i=t.filter[e[c].type].apply(null,e[c].matches))[y]){for(o=++c;o<a&&!t.relative[e[o].type];o++);return ge(c>1&&pe(p),c>1&&de(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(D,"$1"),i,c<o&&me(e.slice(c,o)),o<a&&me(e=e.slice(o)),o<a&&de(e))}p.push(i)}return pe(p)}function ye(e,r){var i,o=[],a=[],s=M[e+" "];if(!s){for(r||(r=ue(e)),i=r.length;i--;)(s=me(r[i]))[y]?o.push(s):a.push(s);s=M(e,function(e,r){var i=r.length>0,o=e.length>0,a=function(a,s,c,u,f){var p,h,m,y=0,b="0",I=a&&[],x=[],M=n,w=a||o&&t.find.TAG("*",f),T=v+=null==M?1:Math.random()||.1,C=w.length;for(f&&(n=s==l||s||f);b!==C&&null!=(p=w[b]);b++){if(o&&p){for(h=0,s||p.ownerDocument==l||(le(p),c=!d);m=e[h++];)if(m(p,s||l,c)){g.call(u,p);break}f&&(v=T)}i&&((p=!m&&p)&&y--,a&&I.push(p))}if(y+=b,i&&b!==y){for(h=0;m=r[h++];)m(I,x,s,c);if(a){if(y>0)for(;b--;)I[b]||x[b]||(x[b]=E.call(u));x=he(x)}g.apply(u,x),f&&!a&&x.length>0&&y+r.length>1&&A.uniqueSort(u)}return f&&(v=T,n=M),I};return i?te(a):a}(a,o)),s.selector=e}return s}function ve(e,n,r,i){var o,a,s,l,c,u="function"==typeof e&&e,f=!i&&ue(e=u.selector||e);if(r=r||[],1===f.length){if((a=f[0]=f[0].slice(0)).length>2&&"ID"===(s=a[0]).type&&9===n.nodeType&&d&&t.relative[a[1].type]){if(!(n=(t.find.ID(s.matches[0].replace(Q,J),n)||[])[0]))return r;u&&(n=n.parentNode),e=e.slice(a.shift().value.length)}for(o=Y.needsContext.test(e)?0:a.length;o--&&(s=a[o],!t.relative[l=s.type]);)if((c=t.find[l])&&(i=c(s.matches[0].replace(Q,J),q.test(a[0].type)&&se(n.parentNode)||n))){if(a.splice(o,1),!(e=i.length&&de(a)))return g.apply(r,i),r;break}}return(u||ye(e,f))(i,n,!d,r,!n||q.test(e)&&se(n.parentNode)||n),r}ce.prototype=t.filters=t.pseudos,t.setFilters=new ce,m.sortStable=y.split("").sort(T).join("")===y,le(),m.sortDetached=ne((function(e){return 1&e.compareDocumentPosition(l.createElement("fieldset"))})),A.find=$,A.expr[":"]=A.expr.pseudos,A.unique=A.uniqueSort,$.compile=ye,$.select=ve,$.setDocument=le,$.escape=A.escapeSelector,$.getText=A.text,$.isXML=A.isXMLDoc,$.selectors=A.expr,$.support=A.support,$.uniqueSort=A.uniqueSort}();var z=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&A(e).is(n))break;r.push(e)}return r},U=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},_=A.expr.match.needsContext,Z=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function G(e,t,n){return y(t)?A.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?A.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?A.grep(e,(function(e){return u.call(t,e)>-1!==n})):A.filter(t,e,n)}A.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?A.find.matchesSelector(r,e)?[r]:[]:A.find.matches(e,A.grep(t,(function(e){return 1===e.nodeType})))},A.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(A(e).filter((function(){for(t=0;t<r;t++)if(A.contains(i[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)A.find(e,i[t],n);return r>1?A.uniqueSort(n):n},filter:function(e){return this.pushStack(G(this,e||[],!1))},not:function(e){return this.pushStack(G(this,e||[],!0))},is:function(e){return!!G(this,"string"==typeof e&&_.test(e)?A(e):e||[],!1).length}});var B,F=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(A.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||B,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:F.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof A?t[0]:t,A.merge(this,A.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),Z.test(r[1])&&A.isPlainObject(t))for(r in t)y(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=b.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):y(e)?void 0!==n.ready?n.ready(e):e(A):A.makeArray(e,this)}).prototype=A.fn,B=A(b);var Y=/^(?:parents|prev(?:Until|All))/,W={children:!0,contents:!0,next:!0,prev:!0};function H(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}A.fn.extend({has:function(e){var t=A(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(A.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&A(e);if(!_.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&A.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?A.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?u.call(A(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(A.uniqueSort(A.merge(this.get(),A(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),A.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return z(e,"parentNode")},parentsUntil:function(e,t,n){return z(e,"parentNode",n)},next:function(e){return H(e,"nextSibling")},prev:function(e){return H(e,"previousSibling")},nextAll:function(e){return z(e,"nextSibling")},prevAll:function(e){return z(e,"previousSibling")},nextUntil:function(e,t,n){return z(e,"nextSibling",n)},prevUntil:function(e,t,n){return z(e,"previousSibling",n)},siblings:function(e){return U((e.parentNode||{}).firstChild,e)},children:function(e){return U(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(N(e,"template")&&(e=e.content||e),A.merge([],e.childNodes))}},(function(e,t){A.fn[e]=function(n,r){var i=A.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=A.filter(r,i)),this.length>1&&(W[e]||A.uniqueSort(i),Y.test(e)&&i.reverse()),this.pushStack(i)}}));var V=/[^\x20\t\r\n\f]+/g;function q(e){return e}function Q(e){throw e}function J(e,t,n,r){var i;try{e&&y(i=e.promise)?i.call(e).done(t).fail(n):e&&y(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}A.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return A.each(e.match(V)||[],(function(e,n){t[n]=!0})),t}(e):A.extend({},e);var t,n,r,i,o=[],a=[],s=-1,l=function(){for(i=i||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<o.length;)!1===o[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=o.length,n=!1);e.memory||(n=!1),t=!1,i&&(o=n?[]:"")},c={add:function(){return o&&(n&&!t&&(s=o.length-1,a.push(n)),function t(n){A.each(n,(function(n,r){y(r)?e.unique&&c.has(r)||o.push(r):r&&r.length&&"string"!==M(r)&&t(r)}))}(arguments),n&&!t&&l()),this},remove:function(){return A.each(arguments,(function(e,t){for(var n;(n=A.inArray(t,o,n))>-1;)o.splice(n,1),n<=s&&s--})),this},has:function(e){return e?A.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},A.extend({Deferred:function(e){var t=[["notify","progress",A.Callbacks("memory"),A.Callbacks("memory"),2],["resolve","done",A.Callbacks("once memory"),A.Callbacks("once memory"),0,"resolved"],["reject","fail",A.Callbacks("once memory"),A.Callbacks("once memory"),1,"rejected"]],n="pending",i={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return A.Deferred((function(n){A.each(t,(function(t,r){var i=y(e[r[4]])&&e[r[4]];o[r[1]]((function(){var e=i&&i.apply(this,arguments);e&&y(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,i){var o=0;function a(e,t,n,i){return function(){var s=this,l=arguments,c=function(){var r,c;if(!(e<o)){if((r=n.apply(s,l))===t.promise())throw new TypeError("Thenable self-resolution");c=r&&("object"==typeof r||"function"==typeof r)&&r.then,y(c)?i?c.call(r,a(o,t,q,i),a(o,t,Q,i)):(o++,c.call(r,a(o,t,q,i),a(o,t,Q,i),a(o,t,q,t.notifyWith))):(n!==q&&(s=void 0,l=[r]),(i||t.resolveWith)(s,l))}},u=i?c:function(){try{c()}catch(r){A.Deferred.exceptionHook&&A.Deferred.exceptionHook(r,u.error),e+1>=o&&(n!==Q&&(s=void 0,l=[r]),t.rejectWith(s,l))}};e?u():(A.Deferred.getErrorHook?u.error=A.Deferred.getErrorHook():A.Deferred.getStackHook&&(u.error=A.Deferred.getStackHook()),r.setTimeout(u))}}return A.Deferred((function(r){t[0][3].add(a(0,r,y(i)?i:q,r.notifyWith)),t[1][3].add(a(0,r,y(e)?e:q)),t[2][3].add(a(0,r,y(n)?n:Q))})).promise()},promise:function(e){return null!=e?A.extend(e,i):i}},o={};return A.each(t,(function(e,r){var a=r[2],s=r[5];i[r[1]]=a.add,s&&a.add((function(){n=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(r[3].fire),o[r[0]]=function(){return o[r[0]+"With"](this===o?void 0:this,arguments),this},o[r[0]+"With"]=a.fireWith})),i.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=s.call(arguments),o=A.Deferred(),a=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?s.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&(J(e,o.done(a(n)).resolve,o.reject,!t),"pending"===o.state()||y(i[n]&&i[n].then)))return o.then();for(;n--;)J(i[n],a(n),o.reject);return o.promise()}});var X=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;A.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&X.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},A.readyException=function(e){r.setTimeout((function(){throw e}))};var K=A.Deferred();function $(){b.removeEventListener("DOMContentLoaded",$),r.removeEventListener("load",$),A.ready()}A.fn.ready=function(e){return K.then(e).catch((function(e){A.readyException(e)})),this},A.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--A.readyWait:A.isReady)||(A.isReady=!0,!0!==e&&--A.readyWait>0||K.resolveWith(b,[A]))}}),A.ready.then=K.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?r.setTimeout(A.ready):(b.addEventListener("DOMContentLoaded",$),r.addEventListener("load",$));var ee=function(e,t,n,r,i,o,a){var s=0,l=e.length,c=null==n;if("object"===M(n))for(s in i=!0,n)ee(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,y(r)||(a=!0),c&&(a?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(A(e),n)})),t))for(;s<l;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:c?t.call(e):l?t(e[0],n):o},te=/^-ms-/,ne=/-([a-z])/g;function re(e,t){return t.toUpperCase()}function ie(e){return e.replace(te,"ms-").replace(ne,re)}var oe=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function ae(){this.expando=A.expando+ae.uid++}ae.uid=1,ae.prototype={cache:function(e){var t=e[this.expando];return t||(t={},oe(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[ie(t)]=n;else for(r in t)i[ie(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][ie(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(ie):(t=ie(t))in r?[t]:t.match(V)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||A.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!A.isEmptyObject(t)}};var se=new ae,le=new ae,ce=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ue=/[A-Z]/g;function de(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(ue,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ce.test(e)?JSON.parse(e):e)}(n)}catch(e){}le.set(e,t,n)}else n=void 0;return n}A.extend({hasData:function(e){return le.hasData(e)||se.hasData(e)},data:function(e,t,n){return le.access(e,t,n)},removeData:function(e,t){le.remove(e,t)},_data:function(e,t,n){return se.access(e,t,n)},_removeData:function(e,t){se.remove(e,t)}}),A.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=le.get(o),1===o.nodeType&&!se.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=ie(r.slice(5)),de(o,r,i[r]));se.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each((function(){le.set(this,e)})):ee(this,(function(t){var n;if(o&&void 0===t)return void 0!==(n=le.get(o,e))||void 0!==(n=de(o,e))?n:void 0;this.each((function(){le.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){le.remove(this,e)}))}}),A.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=se.get(e,t),n&&(!r||Array.isArray(n)?r=se.access(e,t,A.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=A.queue(e,t),r=n.length,i=n.shift(),o=A._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,(function(){A.dequeue(e,t)}),o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return se.get(e,n)||se.access(e,n,{empty:A.Callbacks("once memory").add((function(){se.remove(e,[t+"queue",n])}))})}}),A.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?A.queue(this[0],e):void 0===t?this:this.each((function(){var n=A.queue(this,e,t);A._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&A.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){A.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=A.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=se.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var fe=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,pe=new RegExp("^(?:([+-])=|)("+fe+")([a-z%]*)$","i"),he=["Top","Right","Bottom","Left"],ge=b.documentElement,me=function(e){return A.contains(e.ownerDocument,e)},ye={composed:!0};ge.getRootNode&&(me=function(e){return A.contains(e.ownerDocument,e)||e.getRootNode(ye)===e.ownerDocument});var ve=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&me(e)&&"none"===A.css(e,"display")};function be(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return A.css(e,t,"")},l=s(),c=n&&n[3]||(A.cssNumber[t]?"":"px"),u=e.nodeType&&(A.cssNumber[t]||"px"!==c&&+l)&&pe.exec(A.css(e,t));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;a--;)A.style(e,t,u+c),(1-o)*(1-(o=s()/l||.5))<=0&&(a=0),u/=o;u*=2,A.style(e,t,u+c),n=n||[]}return n&&(u=+u||+l||0,i=n[1]?u+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=u,r.end=i)),i}var Ie={};function xe(e){var t,n=e.ownerDocument,r=e.nodeName,i=Ie[r];return i||(t=n.body.appendChild(n.createElement(r)),i=A.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),Ie[r]=i,i)}function Me(e,t){for(var n,r,i=[],o=0,a=e.length;o<a;o++)(r=e[o]).style&&(n=r.style.display,t?("none"===n&&(i[o]=se.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&ve(r)&&(i[o]=xe(r))):"none"!==n&&(i[o]="none",se.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}A.fn.extend({show:function(){return Me(this,!0)},hide:function(){return Me(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){ve(this)?A(this).show():A(this).hide()}))}});var we,Te,Ae=/^(?:checkbox|radio)$/i,Ce=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ne=/^$|^module$|\/(?:java|ecma)script/i;we=b.createDocumentFragment().appendChild(b.createElement("div")),(Te=b.createElement("input")).setAttribute("type","radio"),Te.setAttribute("checked","checked"),Te.setAttribute("name","t"),we.appendChild(Te),m.checkClone=we.cloneNode(!0).cloneNode(!0).lastChild.checked,we.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!we.cloneNode(!0).lastChild.defaultValue,we.innerHTML="<option></option>",m.option=!!we.lastChild;var Ee={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function Se(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&N(e,t)?A.merge([e],n):n}function je(e,t){for(var n=0,r=e.length;n<r;n++)se.set(e[n],"globalEval",!t||se.get(t[n],"globalEval"))}Ee.tbody=Ee.tfoot=Ee.colgroup=Ee.caption=Ee.thead,Ee.th=Ee.td,m.option||(Ee.optgroup=Ee.option=[1,"<select multiple='multiple'>","</select>"]);var ke=/<|&#?\w+;/;function De(e,t,n,r,i){for(var o,a,s,l,c,u,d=t.createDocumentFragment(),f=[],p=0,h=e.length;p<h;p++)if((o=e[p])||0===o)if("object"===M(o))A.merge(f,o.nodeType?[o]:o);else if(ke.test(o)){for(a=a||d.appendChild(t.createElement("div")),s=(Ce.exec(o)||["",""])[1].toLowerCase(),l=Ee[s]||Ee._default,a.innerHTML=l[1]+A.htmlPrefilter(o)+l[2],u=l[0];u--;)a=a.lastChild;A.merge(f,a.childNodes),(a=d.firstChild).textContent=""}else f.push(t.createTextNode(o));for(d.textContent="",p=0;o=f[p++];)if(r&&A.inArray(o,r)>-1)i&&i.push(o);else if(c=me(o),a=Se(d.appendChild(o),"script"),c&&je(a),n)for(u=0;o=a[u++];)Ne.test(o.type||"")&&n.push(o);return d}var Le=/^([^.]*)(?:\.(.+)|)/;function Oe(){return!0}function Re(){return!1}function Pe(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Pe(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Re;else if(!i)return e;return 1===o&&(a=i,i=function(e){return A().off(e),a.apply(this,arguments)},i.guid=a.guid||(a.guid=A.guid++)),e.each((function(){A.event.add(this,t,i,r,n)}))}function ze(e,t,n){n?(se.set(e,t,!1),A.event.add(e,t,{namespace:!1,handler:function(e){var n,r=se.get(this,t);if(1&e.isTrigger&&this[t]){if(r)(A.event.special[t]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),se.set(this,t,r),this[t](),n=se.get(this,t),se.set(this,t,!1),r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n}else r&&(se.set(this,t,A.event.trigger(r[0],r.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Oe)}})):void 0===se.get(e,t)&&A.event.add(e,t,Oe)}A.event={global:{},add:function(e,t,n,r,i){var o,a,s,l,c,u,d,f,p,h,g,m=se.get(e);if(oe(e))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&A.find.matchesSelector(ge,i),n.guid||(n.guid=A.guid++),(l=m.events)||(l=m.events=Object.create(null)),(a=m.handle)||(a=m.handle=function(t){return void 0!==A&&A.event.triggered!==t.type?A.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(V)||[""]).length;c--;)p=g=(s=Le.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p&&(d=A.event.special[p]||{},p=(i?d.delegateType:d.bindType)||p,d=A.event.special[p]||{},u=A.extend({type:p,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&A.expr.match.needsContext.test(i),namespace:h.join(".")},o),(f=l[p])||((f=l[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(p,a)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),i?f.splice(f.delegateCount++,0,u):f.push(u),A.event.global[p]=!0)},remove:function(e,t,n,r,i){var o,a,s,l,c,u,d,f,p,h,g,m=se.hasData(e)&&se.get(e);if(m&&(l=m.events)){for(c=(t=(t||"").match(V)||[""]).length;c--;)if(p=g=(s=Le.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p){for(d=A.event.special[p]||{},f=l[p=(r?d.delegateType:d.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=f.length;o--;)u=f[o],!i&&g!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(f.splice(o,1),u.selector&&f.delegateCount--,d.remove&&d.remove.call(e,u));a&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,h,m.handle)||A.removeEvent(e,p,m.handle),delete l[p])}else for(p in l)A.event.remove(e,p+t[c],n,r,!0);A.isEmptyObject(l)&&se.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),l=A.event.fix(e),c=(se.get(this,"events")||Object.create(null))[l.type]||[],u=A.event.special[l.type]||{};for(s[0]=l,t=1;t<arguments.length;t++)s[t]=arguments[t];if(l.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,l)){for(a=A.event.handlers.call(this,l,c),t=0;(i=a[t++])&&!l.isPropagationStopped();)for(l.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==o.namespace&&!l.rnamespace.test(o.namespace)||(l.handleObj=o,l.data=o.data,void 0!==(r=((A.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(l.result=r)&&(l.preventDefault(),l.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,r,i,o,a,s=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(o=[],a={},n=0;n<l;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?A(i,this).index(c)>-1:A.find(i,this,null,[c]).length),a[i]&&o.push(r);o.length&&s.push({elem:c,handlers:o})}return c=this,l<t.length&&s.push({elem:c,handlers:t.slice(l)}),s},addProp:function(e,t){Object.defineProperty(A.Event.prototype,e,{enumerable:!0,configurable:!0,get:y(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[A.expando]?e:new A.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return Ae.test(t.type)&&t.click&&N(t,"input")&&ze(t,"click",!0),!1},trigger:function(e){var t=this||e;return Ae.test(t.type)&&t.click&&N(t,"input")&&ze(t,"click"),!0},_default:function(e){var t=e.target;return Ae.test(t.type)&&t.click&&N(t,"input")&&se.get(t,"click")||N(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},A.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},A.Event=function(e,t){if(!(this instanceof A.Event))return new A.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Oe:Re,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&A.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[A.expando]=!0},A.Event.prototype={constructor:A.Event,isDefaultPrevented:Re,isPropagationStopped:Re,isImmediatePropagationStopped:Re,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Oe,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Oe,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Oe,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},A.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},A.event.addProp),A.each({focus:"focusin",blur:"focusout"},(function(e,t){function n(e){if(b.documentMode){var n=se.get(this,"handle"),r=A.event.fix(e);r.type="focusin"===e.type?"focus":"blur",r.isSimulated=!0,n(e),r.target===r.currentTarget&&n(r)}else A.event.simulate(t,e.target,A.event.fix(e))}A.event.special[e]={setup:function(){var r;if(ze(this,e,!0),!b.documentMode)return!1;(r=se.get(this,t))||this.addEventListener(t,n),se.set(this,t,(r||0)+1)},trigger:function(){return ze(this,e),!0},teardown:function(){var e;if(!b.documentMode)return!1;(e=se.get(this,t)-1)?se.set(this,t,e):(this.removeEventListener(t,n),se.remove(this,t))},_default:function(t){return se.get(t.target,e)},delegateType:t},A.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,i=b.documentMode?this:r,o=se.get(i,t);o||(b.documentMode?this.addEventListener(t,n):r.addEventListener(e,n,!0)),se.set(i,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=b.documentMode?this:r,o=se.get(i,t)-1;o?se.set(i,t,o):(b.documentMode?this.removeEventListener(t,n):r.removeEventListener(e,n,!0),se.remove(i,t))}}})),A.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){A.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=e.relatedTarget,i=e.handleObj;return r&&(r===this||A.contains(this,r))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}})),A.fn.extend({on:function(e,t,n,r){return Pe(this,e,t,n,r)},one:function(e,t,n,r){return Pe(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,A(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Re),this.each((function(){A.event.remove(this,e,n,t)}))}});var Ue=/<script|<style|<link/i,_e=/checked\s*(?:[^=]|=\s*.checked.)/i,Ze=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Ge(e,t){return N(e,"table")&&N(11!==t.nodeType?t:t.firstChild,"tr")&&A(e).children("tbody")[0]||e}function Be(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Fe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Ye(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(se.hasData(e)&&(s=se.get(e).events))for(i in se.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)A.event.add(t,i,s[i][n]);le.hasData(e)&&(o=le.access(e),a=A.extend({},o),le.set(t,a))}}function We(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Ae.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function He(e,t,n,r){t=l(t);var i,o,a,s,c,u,d=0,f=e.length,p=f-1,h=t[0],g=y(h);if(g||f>1&&"string"==typeof h&&!m.checkClone&&_e.test(h))return e.each((function(i){var o=e.eq(i);g&&(t[0]=h.call(this,i,o.html())),He(o,t,n,r)}));if(f&&(o=(i=De(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(s=(a=A.map(Se(i,"script"),Be)).length;d<f;d++)c=i,d!==p&&(c=A.clone(c,!0,!0),s&&A.merge(a,Se(c,"script"))),n.call(e[d],c,d);if(s)for(u=a[a.length-1].ownerDocument,A.map(a,Fe),d=0;d<s;d++)c=a[d],Ne.test(c.type||"")&&!se.access(c,"globalEval")&&A.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?A._evalUrl&&!c.noModule&&A._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},u):x(c.textContent.replace(Ze,""),c,u))}return e}function Ve(e,t,n){for(var r,i=t?A.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||A.cleanData(Se(r)),r.parentNode&&(n&&me(r)&&je(Se(r,"script")),r.parentNode.removeChild(r));return e}A.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),l=me(e);if(!(m.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||A.isXMLDoc(e)))for(a=Se(s),r=0,i=(o=Se(e)).length;r<i;r++)We(o[r],a[r]);if(t)if(n)for(o=o||Se(e),a=a||Se(s),r=0,i=o.length;r<i;r++)Ye(o[r],a[r]);else Ye(e,s);return(a=Se(s,"script")).length>0&&je(a,!l&&Se(e,"script")),s},cleanData:function(e){for(var t,n,r,i=A.event.special,o=0;void 0!==(n=e[o]);o++)if(oe(n)){if(t=n[se.expando]){if(t.events)for(r in t.events)i[r]?A.event.remove(n,r):A.removeEvent(n,r,t.handle);n[se.expando]=void 0}n[le.expando]&&(n[le.expando]=void 0)}}}),A.fn.extend({detach:function(e){return Ve(this,e,!0)},remove:function(e){return Ve(this,e)},text:function(e){return ee(this,(function(e){return void 0===e?A.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return He(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ge(this,e).appendChild(e)}))},prepend:function(){return He(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ge(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return He(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return He(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(A.cleanData(Se(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return A.clone(this,e,t)}))},html:function(e){return ee(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ue.test(e)&&!Ee[(Ce.exec(e)||["",""])[1].toLowerCase()]){e=A.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(A.cleanData(Se(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return He(this,arguments,(function(t){var n=this.parentNode;A.inArray(this,e)<0&&(A.cleanData(Se(this)),n&&n.replaceChild(t,this))}),e)}}),A.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){A.fn[e]=function(e){for(var n,r=[],i=A(e),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),A(i[a])[t](n),c.apply(r,n.get());return this.pushStack(r)}}));var qe=new RegExp("^("+fe+")(?!px)[a-z%]+$","i"),Qe=/^--/,Je=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=r),t.getComputedStyle(e)},Xe=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},Ke=new RegExp(he.join("|"),"i");function $e(e,t,n){var r,i,o,a,s=Qe.test(t),l=e.style;return(n=n||Je(e))&&(a=n.getPropertyValue(t)||n[t],s&&a&&(a=a.replace(D,"$1")||void 0),""!==a||me(e)||(a=A.style(e,t)),!m.pixelBoxStyles()&&qe.test(a)&&Ke.test(t)&&(r=l.width,i=l.minWidth,o=l.maxWidth,l.minWidth=l.maxWidth=l.width=a,a=n.width,l.width=r,l.minWidth=i,l.maxWidth=o)),void 0!==a?a+"":a}function et(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(u){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ge.appendChild(c).appendChild(u);var e=r.getComputedStyle(u);n="1%"!==e.top,l=12===t(e.marginLeft),u.style.right="60%",a=36===t(e.right),i=36===t(e.width),u.style.position="absolute",o=12===t(u.offsetWidth/3),ge.removeChild(c),u=null}}function t(e){return Math.round(parseFloat(e))}var n,i,o,a,s,l,c=b.createElement("div"),u=b.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle="content-box"===u.style.backgroundClip,A.extend(m,{boxSizingReliable:function(){return e(),i},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),o},reliableTrDimensions:function(){var e,t,n,i;return null==s&&(e=b.createElement("table"),t=b.createElement("tr"),n=b.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",ge.appendChild(e).appendChild(t).appendChild(n),i=r.getComputedStyle(t),s=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===t.offsetHeight,ge.removeChild(e)),s}}))}();var tt=["Webkit","Moz","ms"],nt=b.createElement("div").style,rt={};function it(e){return A.cssProps[e]||rt[e]||(e in nt?e:rt[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=tt.length;n--;)if((e=tt[n]+t)in nt)return e}(e)||e)}var ot=/^(none|table(?!-c[ea]).+)/,at={position:"absolute",visibility:"hidden",display:"block"},st={letterSpacing:"0",fontWeight:"400"};function lt(e,t,n){var r=pe.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function ct(e,t,n,r,i,o){var a="width"===t?1:0,s=0,l=0,c=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(c+=A.css(e,n+he[a],!0,i)),r?("content"===n&&(l-=A.css(e,"padding"+he[a],!0,i)),"margin"!==n&&(l-=A.css(e,"border"+he[a]+"Width",!0,i))):(l+=A.css(e,"padding"+he[a],!0,i),"padding"!==n?l+=A.css(e,"border"+he[a]+"Width",!0,i):s+=A.css(e,"border"+he[a]+"Width",!0,i));return!r&&o>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-l-s-.5))||0),l+c}function ut(e,t,n){var r=Je(e),i=(!m.boxSizingReliable()||n)&&"border-box"===A.css(e,"boxSizing",!1,r),o=i,a=$e(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(qe.test(a)){if(!n)return a;a="auto"}return(!m.boxSizingReliable()&&i||!m.reliableTrDimensions()&&N(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===A.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===A.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+ct(e,t,n||(i?"border":"content"),o,r,a)+"px"}function dt(e,t,n,r,i){return new dt.prototype.init(e,t,n,r,i)}A.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=$e(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=ie(t),l=Qe.test(t),c=e.style;if(l||(t=it(s)),a=A.cssHooks[t]||A.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:c[t];"string"==(o=typeof n)&&(i=pe.exec(n))&&i[1]&&(n=be(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||l||(n+=i&&i[3]||(A.cssNumber[s]?"":"px")),m.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var i,o,a,s=ie(t);return Qe.test(t)||(t=it(s)),(a=A.cssHooks[t]||A.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=$e(e,t,r)),"normal"===i&&t in st&&(i=st[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),A.each(["height","width"],(function(e,t){A.cssHooks[t]={get:function(e,n,r){if(n)return!ot.test(A.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ut(e,t,r):Xe(e,at,(function(){return ut(e,t,r)}))},set:function(e,n,r){var i,o=Je(e),a=!m.scrollboxSize()&&"absolute"===o.position,s=(a||r)&&"border-box"===A.css(e,"boxSizing",!1,o),l=r?ct(e,t,r,s,o):0;return s&&a&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-ct(e,t,"border",!1,o)-.5)),l&&(i=pe.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=A.css(e,t)),lt(0,n,l)}}})),A.cssHooks.marginLeft=et(m.reliableMarginLeft,(function(e,t){if(t)return(parseFloat($e(e,"marginLeft"))||e.getBoundingClientRect().left-Xe(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),A.each({margin:"",padding:"",border:"Width"},(function(e,t){A.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+he[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(A.cssHooks[e+t].set=lt)})),A.fn.extend({css:function(e,t){return ee(this,(function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=Je(e),i=t.length;a<i;a++)o[t[a]]=A.css(e,t[a],!1,r);return o}return void 0!==n?A.style(e,t,n):A.css(e,t)}),e,t,arguments.length>1)}}),A.Tween=dt,dt.prototype={constructor:dt,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||A.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(A.cssNumber[n]?"":"px")},cur:function(){var e=dt.propHooks[this.prop];return e&&e.get?e.get(this):dt.propHooks._default.get(this)},run:function(e){var t,n=dt.propHooks[this.prop];return this.options.duration?this.pos=t=A.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):dt.propHooks._default.set(this),this}},dt.prototype.init.prototype=dt.prototype,dt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=A.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){A.fx.step[e.prop]?A.fx.step[e.prop](e):1!==e.elem.nodeType||!A.cssHooks[e.prop]&&null==e.elem.style[it(e.prop)]?e.elem[e.prop]=e.now:A.style(e.elem,e.prop,e.now+e.unit)}}},dt.propHooks.scrollTop=dt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},A.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},A.fx=dt.prototype.init,A.fx.step={};var ft,pt,ht=/^(?:toggle|show|hide)$/,gt=/queueHooks$/;function mt(){pt&&(!1===b.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(mt):r.setTimeout(mt,A.fx.interval),A.fx.tick())}function yt(){return r.setTimeout((function(){ft=void 0})),ft=Date.now()}function vt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=he[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function bt(e,t,n){for(var r,i=(It.tweeners[t]||[]).concat(It.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function It(e,t,n){var r,i,o=0,a=It.prefilters.length,s=A.Deferred().always((function(){delete l.elem})),l=function(){if(i)return!1;for(var t=ft||yt(),n=Math.max(0,c.startTime+c.duration-t),r=1-(n/c.duration||0),o=0,a=c.tweens.length;o<a;o++)c.tweens[o].run(r);return s.notifyWith(e,[c,r,n]),r<1&&a?n:(a||s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:A.extend({},t),opts:A.extend(!0,{specialEasing:{},easing:A.easing._default},n),originalProperties:t,originalOptions:n,startTime:ft||yt(),duration:n.duration,tweens:[],createTween:function(t,n){var r=A.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(r),r},stop:function(t){var n=0,r=t?c.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)c.tweens[n].run(1);return t?(s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c,t])):s.rejectWith(e,[c,t]),this}}),u=c.props;for(function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=ie(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=A.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(u,c.opts.specialEasing);o<a;o++)if(r=It.prefilters[o].call(c,e,u,c.opts))return y(r.stop)&&(A._queueHooks(c.elem,c.opts.queue).stop=r.stop.bind(r)),r;return A.map(u,bt,c),y(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),A.fx.timer(A.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}A.Animation=A.extend(It,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return be(n.elem,e,pe.exec(t),n),n}]},tweener:function(e,t){y(e)?(t=e,e=["*"]):e=e.match(V);for(var n,r=0,i=e.length;r<i;r++)n=e[r],It.tweeners[n]=It.tweeners[n]||[],It.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,l,c,u,d="width"in t||"height"in t,f=this,p={},h=e.style,g=e.nodeType&&ve(e),m=se.get(e,"fxshow");for(r in n.queue||(null==(a=A._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,f.always((function(){f.always((function(){a.unqueued--,A.queue(e,"fx").length||a.empty.fire()}))}))),t)if(i=t[r],ht.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!m||void 0===m[r])continue;g=!0}p[r]=m&&m[r]||A.style(e,r)}if((l=!A.isEmptyObject(t))||!A.isEmptyObject(p))for(r in d&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(c=m&&m.display)&&(c=se.get(e,"display")),"none"===(u=A.css(e,"display"))&&(c?u=c:(Me([e],!0),c=e.style.display||c,u=A.css(e,"display"),Me([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===A.css(e,"float")&&(l||(f.done((function(){h.display=c})),null==c&&(u=h.display,c="none"===u?"":u)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",f.always((function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]}))),l=!1,p)l||(m?"hidden"in m&&(g=m.hidden):m=se.access(e,"fxshow",{display:c}),o&&(m.hidden=!g),g&&Me([e],!0),f.done((function(){for(r in g||Me([e]),se.remove(e,"fxshow"),p)A.style(e,r,p[r])}))),l=bt(g?m[r]:0,r,f),r in m||(m[r]=l.start,g&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?It.prefilters.unshift(e):It.prefilters.push(e)}}),A.speed=function(e,t,n){var r=e&&"object"==typeof e?A.extend({},e):{complete:n||!n&&t||y(e)&&e,duration:e,easing:n&&t||t&&!y(t)&&t};return A.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in A.fx.speeds?r.duration=A.fx.speeds[r.duration]:r.duration=A.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){y(r.old)&&r.old.call(this),r.queue&&A.dequeue(this,r.queue)},r},A.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ve).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=A.isEmptyObject(e),o=A.speed(t,n,r),a=function(){var t=It(this,A.extend({},e),o);(i||se.get(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,i=null!=e&&e+"queueHooks",o=A.timers,a=se.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&>.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||A.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=se.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=A.timers,a=r?r.length:0;for(n.finish=!0,A.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),A.each(["toggle","show","hide"],(function(e,t){var n=A.fn[t];A.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(vt(t,!0),e,r,i)}})),A.each({slideDown:vt("show"),slideUp:vt("hide"),slideToggle:vt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){A.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),A.timers=[],A.fx.tick=function(){var e,t=0,n=A.timers;for(ft=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||A.fx.stop(),ft=void 0},A.fx.timer=function(e){A.timers.push(e),A.fx.start()},A.fx.interval=13,A.fx.start=function(){pt||(pt=!0,mt())},A.fx.stop=function(){pt=null},A.fx.speeds={slow:600,fast:200,_default:400},A.fn.delay=function(e,t){return e=A.fx&&A.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,n){var i=r.setTimeout(t,e);n.stop=function(){r.clearTimeout(i)}}))},function(){var e=b.createElement("input"),t=b.createElement("select").appendChild(b.createElement("option"));e.type="checkbox",m.checkOn=""!==e.value,m.optSelected=t.selected,(e=b.createElement("input")).value="t",e.type="radio",m.radioValue="t"===e.value}();var xt,Mt=A.expr.attrHandle;A.fn.extend({attr:function(e,t){return ee(this,A.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){A.removeAttr(this,e)}))}}),A.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?A.prop(e,t,n):(1===o&&A.isXMLDoc(e)||(i=A.attrHooks[t.toLowerCase()]||(A.expr.match.bool.test(t)?xt:void 0)),void 0!==n?null===n?void A.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=A.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!m.radioValue&&"radio"===t&&N(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(V);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),xt={set:function(e,t,n){return!1===t?A.removeAttr(e,n):e.setAttribute(n,n),n}},A.each(A.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=Mt[t]||A.find.attr;Mt[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=Mt[a],Mt[a]=i,i=null!=n(e,t,r)?a:null,Mt[a]=o),i}}));var wt=/^(?:input|select|textarea|button)$/i,Tt=/^(?:a|area)$/i;function At(e){return(e.match(V)||[]).join(" ")}function Ct(e){return e.getAttribute&&e.getAttribute("class")||""}function Nt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(V)||[]}A.fn.extend({prop:function(e,t){return ee(this,A.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[A.propFix[e]||e]}))}}),A.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&A.isXMLDoc(e)||(t=A.propFix[t]||t,i=A.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=A.find.attr(e,"tabindex");return t?parseInt(t,10):wt.test(e.nodeName)||Tt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(A.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),A.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){A.propFix[this.toLowerCase()]=this})),A.fn.extend({addClass:function(e){var t,n,r,i,o,a;return y(e)?this.each((function(t){A(this).addClass(e.call(this,t,Ct(this)))})):(t=Nt(e)).length?this.each((function(){if(r=Ct(this),n=1===this.nodeType&&" "+At(r)+" "){for(o=0;o<t.length;o++)i=t[o],n.indexOf(" "+i+" ")<0&&(n+=i+" ");a=At(n),r!==a&&this.setAttribute("class",a)}})):this},removeClass:function(e){var t,n,r,i,o,a;return y(e)?this.each((function(t){A(this).removeClass(e.call(this,t,Ct(this)))})):arguments.length?(t=Nt(e)).length?this.each((function(){if(r=Ct(this),n=1===this.nodeType&&" "+At(r)+" "){for(o=0;o<t.length;o++)for(i=t[o];n.indexOf(" "+i+" ")>-1;)n=n.replace(" "+i+" "," ");a=At(n),r!==a&&this.setAttribute("class",a)}})):this:this.attr("class","")},toggleClass:function(e,t){var n,r,i,o,a=typeof e,s="string"===a||Array.isArray(e);return y(e)?this.each((function(n){A(this).toggleClass(e.call(this,n,Ct(this),t),t)})):"boolean"==typeof t&&s?t?this.addClass(e):this.removeClass(e):(n=Nt(e),this.each((function(){if(s)for(o=A(this),i=0;i<n.length;i++)r=n[i],o.hasClass(r)?o.removeClass(r):o.addClass(r);else void 0!==e&&"boolean"!==a||((r=Ct(this))&&se.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===e?"":se.get(this,"__className__")||""))})))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+At(Ct(n))+" ").indexOf(t)>-1)return!0;return!1}});var Et=/\r/g;A.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=y(e),this.each((function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,A(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=A.map(i,(function(e){return null==e?"":e+""}))),(t=A.valHooks[this.type]||A.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=A.valHooks[i.type]||A.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(Et,""):null==n?"":n:void 0}}),A.extend({valHooks:{option:{get:function(e){var t=A.find.attr(e,"value");return null!=t?t:At(A.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],l=a?o+1:i.length;for(r=o<0?l:a?o:0;r<l;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!N(n.parentNode,"optgroup"))){if(t=A(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,i=e.options,o=A.makeArray(t),a=i.length;a--;)((r=i[a]).selected=A.inArray(A.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),A.each(["radio","checkbox"],(function(){A.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=A.inArray(A(e).val(),t)>-1}},m.checkOn||(A.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var St=r.location,jt={guid:Date.now()},kt=/\?/;A.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||A.error("Invalid XML: "+(n?A.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var Dt=/^(?:focusinfocus|focusoutblur)$/,Lt=function(e){e.stopPropagation()};A.extend(A.event,{trigger:function(e,t,n,i){var o,a,s,l,c,u,d,f,h=[n||b],g=p.call(e,"type")?e.type:e,m=p.call(e,"namespace")?e.namespace.split("."):[];if(a=f=s=n=n||b,3!==n.nodeType&&8!==n.nodeType&&!Dt.test(g+A.event.triggered)&&(g.indexOf(".")>-1&&(m=g.split("."),g=m.shift(),m.sort()),c=g.indexOf(":")<0&&"on"+g,(e=e[A.expando]?e:new A.Event(g,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=m.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:A.makeArray(t,[e]),d=A.event.special[g]||{},i||!d.trigger||!1!==d.trigger.apply(n,t))){if(!i&&!d.noBubble&&!v(n)){for(l=d.delegateType||g,Dt.test(l+g)||(a=a.parentNode);a;a=a.parentNode)h.push(a),s=a;s===(n.ownerDocument||b)&&h.push(s.defaultView||s.parentWindow||r)}for(o=0;(a=h[o++])&&!e.isPropagationStopped();)f=a,e.type=o>1?l:d.bindType||g,(u=(se.get(a,"events")||Object.create(null))[e.type]&&se.get(a,"handle"))&&u.apply(a,t),(u=c&&a[c])&&u.apply&&oe(a)&&(e.result=u.apply(a,t),!1===e.result&&e.preventDefault());return e.type=g,i||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(h.pop(),t)||!oe(n)||c&&y(n[g])&&!v(n)&&((s=n[c])&&(n[c]=null),A.event.triggered=g,e.isPropagationStopped()&&f.addEventListener(g,Lt),n[g](),e.isPropagationStopped()&&f.removeEventListener(g,Lt),A.event.triggered=void 0,s&&(n[c]=s)),e.result}},simulate:function(e,t,n){var r=A.extend(new A.Event,n,{type:e,isSimulated:!0});A.event.trigger(r,null,t)}}),A.fn.extend({trigger:function(e,t){return this.each((function(){A.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return A.event.trigger(e,t,n,!0)}});var Ot=/\[\]$/,Rt=/\r?\n/g,Pt=/^(?:submit|button|image|reset|file)$/i,zt=/^(?:input|select|textarea|keygen)/i;function Ut(e,t,n,r){var i;if(Array.isArray(t))A.each(t,(function(t,i){n||Ot.test(e)?r(e,i):Ut(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)}));else if(n||"object"!==M(t))r(e,t);else for(i in t)Ut(e+"["+i+"]",t[i],n,r)}A.param=function(e,t){var n,r=[],i=function(e,t){var n=y(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!A.isPlainObject(e))A.each(e,(function(){i(this.name,this.value)}));else for(n in e)Ut(n,e[n],t,i);return r.join("&")},A.fn.extend({serialize:function(){return A.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=A.prop(this,"elements");return e?A.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!A(this).is(":disabled")&&zt.test(this.nodeName)&&!Pt.test(e)&&(this.checked||!Ae.test(e))})).map((function(e,t){var n=A(this).val();return null==n?null:Array.isArray(n)?A.map(n,(function(e){return{name:t.name,value:e.replace(Rt,"\r\n")}})):{name:t.name,value:n.replace(Rt,"\r\n")}})).get()}});var _t=/%20/g,Zt=/#.*$/,Gt=/([?&])_=[^&]*/,Bt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ft=/^(?:GET|HEAD)$/,Yt=/^\/\//,Wt={},Ht={},Vt="*/".concat("*"),qt=b.createElement("a");function Qt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(V)||[];if(y(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Jt(e,t,n,r){var i={},o=e===Ht;function a(s){var l;return i[s]=!0,A.each(e[s]||[],(function(e,s){var c=s(t,n,r);return"string"!=typeof c||o||i[c]?o?!(l=c):void 0:(t.dataTypes.unshift(c),a(c),!1)})),l}return a(t.dataTypes[0])||!i["*"]&&a("*")}function Xt(e,t){var n,r,i=A.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&A.extend(!0,e,r),e}qt.href=St.href,A.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:St.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(St.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Vt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":A.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Xt(Xt(e,A.ajaxSettings),t):Xt(A.ajaxSettings,e)},ajaxPrefilter:Qt(Wt),ajaxTransport:Qt(Ht),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,i,o,a,s,l,c,u,d,f,p=A.ajaxSetup({},t),h=p.context||p,g=p.context&&(h.nodeType||h.jquery)?A(h):A.event,m=A.Deferred(),y=A.Callbacks("once memory"),v=p.statusCode||{},I={},x={},M="canceled",w={readyState:0,getResponseHeader:function(e){var t;if(c){if(!a)for(a={};t=Bt.exec(o);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?o:null},setRequestHeader:function(e,t){return null==c&&(e=x[e.toLowerCase()]=x[e.toLowerCase()]||e,I[e]=t),this},overrideMimeType:function(e){return null==c&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)w.always(e[w.status]);else for(t in e)v[t]=[v[t],e[t]];return this},abort:function(e){var t=e||M;return n&&n.abort(t),T(0,t),this}};if(m.promise(w),p.url=((e||p.url||St.href)+"").replace(Yt,St.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(V)||[""],null==p.crossDomain){l=b.createElement("a");try{l.href=p.url,l.href=l.href,p.crossDomain=qt.protocol+"//"+qt.host!=l.protocol+"//"+l.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=A.param(p.data,p.traditional)),Jt(Wt,p,t,w),c)return w;for(d in(u=A.event&&p.global)&&0==A.active++&&A.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Ft.test(p.type),i=p.url.replace(Zt,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(_t,"+")):(f=p.url.slice(i.length),p.data&&(p.processData||"string"==typeof p.data)&&(i+=(kt.test(i)?"&":"?")+p.data,delete p.data),!1===p.cache&&(i=i.replace(Gt,"$1"),f=(kt.test(i)?"&":"?")+"_="+jt.guid+++f),p.url=i+f),p.ifModified&&(A.lastModified[i]&&w.setRequestHeader("If-Modified-Since",A.lastModified[i]),A.etag[i]&&w.setRequestHeader("If-None-Match",A.etag[i])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&w.setRequestHeader("Content-Type",p.contentType),w.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Vt+"; q=0.01":""):p.accepts["*"]),p.headers)w.setRequestHeader(d,p.headers[d]);if(p.beforeSend&&(!1===p.beforeSend.call(h,w,p)||c))return w.abort();if(M="abort",y.add(p.complete),w.done(p.success),w.fail(p.error),n=Jt(Ht,p,t,w)){if(w.readyState=1,u&&g.trigger("ajaxSend",[w,p]),c)return w;p.async&&p.timeout>0&&(s=r.setTimeout((function(){w.abort("timeout")}),p.timeout));try{c=!1,n.send(I,T)}catch(e){if(c)throw e;T(-1,e)}}else T(-1,"No Transport");function T(e,t,a,l){var d,f,b,I,x,M=t;c||(c=!0,s&&r.clearTimeout(s),n=void 0,o=l||"",w.readyState=e>0?4:0,d=e>=200&&e<300||304===e,a&&(I=function(e,t,n){for(var r,i,o,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){l.unshift(i);break}if(l[0]in n)o=l[0];else{for(i in n){if(!l[0]||e.converters[i+" "+l[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==l[0]&&l.unshift(o),n[o]}(p,w,a)),!d&&A.inArray("script",p.dataTypes)>-1&&A.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),I=function(e,t,n,r){var i,o,a,s,l,c={},u=e.dataTypes.slice();if(u[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(o=u.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=u.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=c[l+" "+o]||c["* "+o]))for(i in c)if((s=i.split(" "))[1]===o&&(a=c[l+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[i]:!0!==c[i]&&(o=s[0],u.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}(p,I,w,d),d?(p.ifModified&&((x=w.getResponseHeader("Last-Modified"))&&(A.lastModified[i]=x),(x=w.getResponseHeader("etag"))&&(A.etag[i]=x)),204===e||"HEAD"===p.type?M="nocontent":304===e?M="notmodified":(M=I.state,f=I.data,d=!(b=I.error))):(b=M,!e&&M||(M="error",e<0&&(e=0))),w.status=e,w.statusText=(t||M)+"",d?m.resolveWith(h,[f,M,w]):m.rejectWith(h,[w,M,b]),w.statusCode(v),v=void 0,u&&g.trigger(d?"ajaxSuccess":"ajaxError",[w,p,d?f:b]),y.fireWith(h,[w,M]),u&&(g.trigger("ajaxComplete",[w,p]),--A.active||A.event.trigger("ajaxStop")))}return w},getJSON:function(e,t,n){return A.get(e,t,n,"json")},getScript:function(e,t){return A.get(e,void 0,t,"script")}}),A.each(["get","post"],(function(e,t){A[t]=function(e,n,r,i){return y(n)&&(i=i||r,r=n,n=void 0),A.ajax(A.extend({url:e,type:t,dataType:i,data:n,success:r},A.isPlainObject(e)&&e))}})),A.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),A._evalUrl=function(e,t,n){return A.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){A.globalEval(e,t,n)}})},A.fn.extend({wrapAll:function(e){var t;return this[0]&&(y(e)&&(e=e.call(this[0])),t=A(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return y(e)?this.each((function(t){A(this).wrapInner(e.call(this,t))})):this.each((function(){var t=A(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=y(e);return this.each((function(n){A(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){A(this).replaceWith(this.childNodes)})),this}}),A.expr.pseudos.hidden=function(e){return!A.expr.pseudos.visible(e)},A.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},A.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var Kt={0:200,1223:204},$t=A.ajaxSettings.xhr();m.cors=!!$t&&"withCredentials"in $t,m.ajax=$t=!!$t,A.ajaxTransport((function(e){var t,n;if(m.cors||$t&&!e.crossDomain)return{send:function(i,o){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(a,i[a]);t=function(e){return function(){t&&(t=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Kt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),n=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&r.setTimeout((function(){t&&n()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),A.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),A.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return A.globalEval(e),e}}}),A.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),A.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,i){t=A("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),b.head.appendChild(t[0])},abort:function(){n&&n()}}}));var en,tn=[],nn=/(=)\?(?=&|$)|\?\?/;A.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=tn.pop()||A.expando+"_"+jt.guid++;return this[e]=!0,e}}),A.ajaxPrefilter("json jsonp",(function(e,t,n){var i,o,a,s=!1!==e.jsonp&&(nn.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&nn.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=y(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(nn,"$1"+i):!1!==e.jsonp&&(e.url+=(kt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return a||A.error(i+" was not called"),a[0]},e.dataTypes[0]="json",o=r[i],r[i]=function(){a=arguments},n.always((function(){void 0===o?A(r).removeProp(i):r[i]=o,e[i]&&(e.jsonpCallback=t.jsonpCallback,tn.push(i)),a&&y(o)&&o(a[0]),a=o=void 0})),"script"})),m.createHTMLDocument=((en=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===en.childNodes.length),A.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(m.createHTMLDocument?((r=(t=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,t.head.appendChild(r)):t=b),o=!n&&[],(i=Z.exec(e))?[t.createElement(i[1])]:(i=De([e],t,o),o&&o.length&&A(o).remove(),A.merge([],i.childNodes)));var r,i,o},A.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return s>-1&&(r=At(e.slice(s)),e=e.slice(0,s)),y(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&A.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done((function(e){o=arguments,a.html(r?A("<div>").append(A.parseHTML(e)).find(r):e)})).always(n&&function(e,t){a.each((function(){n.apply(this,o||[e.responseText,t,e])}))}),this},A.expr.pseudos.animated=function(e){return A.grep(A.timers,(function(t){return e===t.elem})).length},A.offset={setOffset:function(e,t,n){var r,i,o,a,s,l,c=A.css(e,"position"),u=A(e),d={};"static"===c&&(e.style.position="relative"),s=u.offset(),o=A.css(e,"top"),l=A.css(e,"left"),("absolute"===c||"fixed"===c)&&(o+l).indexOf("auto")>-1?(a=(r=u.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(l)||0),y(t)&&(t=t.call(e,n,A.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+i),"using"in t?t.using.call(e,d):u.css(d)}},A.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){A.offset.setOffset(this,e,t)}));var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===A.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===A.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=A(e).offset()).top+=A.css(e,"borderTopWidth",!0),i.left+=A.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-A.css(r,"marginTop",!0),left:t.left-i.left-A.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===A.css(e,"position");)e=e.offsetParent;return e||ge}))}}),A.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;A.fn[e]=function(r){return ee(this,(function(e,r,i){var o;if(v(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===i)return o?o[t]:e[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):e[r]=i}),e,r,arguments.length)}})),A.each(["top","left"],(function(e,t){A.cssHooks[t]=et(m.pixelPosition,(function(e,n){if(n)return n=$e(e,t),qe.test(n)?A(e).position()[t]+"px":n}))})),A.each({Height:"height",Width:"width"},(function(e,t){A.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){A.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===o?"margin":"border");return ee(this,(function(t,n,i){var o;return v(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?A.css(t,n,s):A.style(t,n,i,s)}),t,a?i:void 0,a)}}))})),A.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){A.fn[t]=function(e){return this.on(t,e)}})),A.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),A.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){A.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var rn=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;A.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),y(e))return r=s.call(arguments,2),i=function(){return e.apply(t||this,r.concat(s.call(arguments)))},i.guid=e.guid=e.guid||A.guid++,i},A.holdReady=function(e){e?A.readyWait++:A.ready(!0)},A.isArray=Array.isArray,A.parseJSON=JSON.parse,A.nodeName=N,A.isFunction=y,A.isWindow=v,A.camelCase=ie,A.type=M,A.now=Date.now,A.isNumeric=function(e){var t=A.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},A.trim=function(e){return null==e?"":(e+"").replace(rn,"$1")},void 0===(n=function(){return A}.apply(t,[]))||(e.exports=n);var on=r.jQuery,an=r.$;return A.noConflict=function(e){return r.$===A&&(r.$=an),e&&r.jQuery===A&&(r.jQuery=on),A},void 0===i&&(r.jQuery=r.$=A),A}))},8915:function(e,t){var n,r;void 0===(r="function"==typeof(n=function(){return function(e){function t(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function n(t){var n,r=t.exec(e.substring(g));if(r)return n=r[0],g+=n.length,n}for(var r,i,o,a,s,l=e.length,c=/^[ \t\n\r\u000c]+/,u=/^[, \t\n\r\u000c]+/,d=/^[^ \t\n\r\u000c]+/,f=/[,]+$/,p=/^\d+$/,h=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,g=0,m=[];;){if(n(u),g>=l)return m;r=n(d),i=[],","===r.slice(-1)?(r=r.replace(f,""),v()):y()}function y(){for(n(c),o="",a="in descriptor";;){if(s=e.charAt(g),"in descriptor"===a)if(t(s))o&&(i.push(o),o="",a="after descriptor");else{if(","===s)return g+=1,o&&i.push(o),void v();if("("===s)o+=s,a="in parens";else{if(""===s)return o&&i.push(o),void v();o+=s}}else if("in parens"===a)if(")"===s)o+=s,a="in descriptor";else{if(""===s)return i.push(o),void v();o+=s}else if("after descriptor"===a)if(t(s));else{if(""===s)return void v();a="in descriptor",g-=1}g+=1}}function v(){var t,n,o,a,s,l,c,u,d,f=!1,g={};for(a=0;a<i.length;a++)l=(s=i[a])[s.length-1],c=s.substring(0,s.length-1),u=parseInt(c,10),d=parseFloat(c),p.test(c)&&"w"===l?((t||n)&&(f=!0),0===u?f=!0:t=u):h.test(c)&&"x"===l?((t||n||o)&&(f=!0),d<0?f=!0:n=d):p.test(c)&&"h"===l?((o||n)&&(f=!0),0===u?f=!0:o=u):f=!0;f?console&&console.log&&console.log("Invalid srcset descriptor found in '"+e+"' at '"+s+"'."):(g.url=r,t&&(g.w=t),n&&(g.d=n),o&&(g.h=o),m.push(g))}}})?n.apply(t,[]):n)||(e.exports=r)},4470:e=>{var t=String,n=function(){return{isColorSupported:!1,reset:t,bold:t,dim:t,italic:t,underline:t,inverse:t,hidden:t,strikethrough:t,black:t,red:t,green:t,yellow:t,blue:t,magenta:t,cyan:t,white:t,gray:t,bgBlack:t,bgRed:t,bgGreen:t,bgYellow:t,bgBlue:t,bgMagenta:t,bgCyan:t,bgWhite:t}};e.exports=n(),e.exports.createColors=n},4938:(e,t,n)=>{"use strict";let r=n(4228);class i extends r{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}}e.exports=i,i.default=i,r.registerAtRule(i)},3285:(e,t,n)=>{"use strict";let r=n(8102);class i extends r{constructor(e){super(e),this.type="comment"}}e.exports=i,i.default=i},4228:(e,t,n)=>{"use strict";let r,i,o,a,{isClean:s,my:l}=n(9181),c=n(2973),u=n(3285),d=n(8102);function f(e){return e.map((e=>(e.nodes&&(e.nodes=f(e.nodes)),delete e.source,e)))}function p(e){if(e[s]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)p(t)}class h extends d{push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}each(e){if(!this.proxyOf.nodes)return;let t,n,r=this.getIterator();for(;this.indexes[r]<this.proxyOf.nodes.length&&(t=this.indexes[r],n=e(this.proxyOf.nodes[t],t),!1!==n);)this.indexes[r]+=1;return delete this.indexes[r],n}walk(e){return this.each(((t,n)=>{let r;try{r=e(t,n)}catch(e){throw t.addToError(e)}return!1!==r&&t.walk&&(r=t.walk(e)),r}))}walkDecls(e,t){return t?e instanceof RegExp?this.walk(((n,r)=>{if("decl"===n.type&&e.test(n.prop))return t(n,r)})):this.walk(((n,r)=>{if("decl"===n.type&&n.prop===e)return t(n,r)})):(t=e,this.walk(((e,n)=>{if("decl"===e.type)return t(e,n)})))}walkRules(e,t){return t?e instanceof RegExp?this.walk(((n,r)=>{if("rule"===n.type&&e.test(n.selector))return t(n,r)})):this.walk(((n,r)=>{if("rule"===n.type&&n.selector===e)return t(n,r)})):(t=e,this.walk(((e,n)=>{if("rule"===e.type)return t(e,n)})))}walkAtRules(e,t){return t?e instanceof RegExp?this.walk(((n,r)=>{if("atrule"===n.type&&e.test(n.name))return t(n,r)})):this.walk(((n,r)=>{if("atrule"===n.type&&n.name===e)return t(n,r)})):(t=e,this.walk(((e,n)=>{if("atrule"===e.type)return t(e,n)})))}walkComments(e){return this.walk(((t,n)=>{if("comment"===t.type)return e(t,n)}))}append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}return this.markDirty(),this}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes)this.indexes[t]=this.indexes[t]+e.length}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}insertBefore(e,t){let n,r=this.index(e),i=0===r&&"prepend",o=this.normalize(t,this.proxyOf.nodes[r],i).reverse();r=this.index(e);for(let e of o)this.proxyOf.nodes.splice(r,0,e);for(let e in this.indexes)n=this.indexes[e],r<=n&&(this.indexes[e]=n+o.length);return this.markDirty(),this}insertAfter(e,t){let n,r=this.index(e),i=this.normalize(t,this.proxyOf.nodes[r]).reverse();r=this.index(e);for(let e of i)this.proxyOf.nodes.splice(r+1,0,e);for(let e in this.indexes)n=this.indexes[e],r<n&&(this.indexes[e]=n+i.length);return this.markDirty(),this}removeChild(e){let t;e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);for(let n in this.indexes)t=this.indexes[n],t>=e&&(this.indexes[n]=t-1);return this.markDirty(),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}replaceValues(e,t,n){return n||(n=t,t={}),this.walkDecls((r=>{t.props&&!t.props.includes(r.prop)||t.fast&&!r.value.includes(t.fast)||(r.value=r.value.replace(e,n))})),this.markDirty(),this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}normalize(e,t){if("string"==typeof e)e=f(r(e).nodes);else if(Array.isArray(e)){e=e.slice(0);for(let t of e)t.parent&&t.parent.removeChild(t,"ignore")}else if("root"===e.type&&"document"!==this.type){e=e.nodes.slice(0);for(let t of e)t.parent&&t.parent.removeChild(t,"ignore")}else if(e.type)e=[e];else if(e.prop){if(void 0===e.value)throw new Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new c(e)]}else if(e.selector)e=[new i(e)];else if(e.name)e=[new o(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new u(e)]}return e.map((e=>(e[l]||h.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[s]&&p(e),void 0===e.raws.before&&t&&void 0!==t.raws.before&&(e.raws.before=t.raws.before.replace(/\S/g,"")),e.parent=this.proxyOf,e)))}getProxyProcessor(){return{set:(e,t,n)=>(e[t]===n||(e[t]=n,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0),get:(e,t)=>"proxyOf"===t?e:e[t]?"each"===t||"string"==typeof t&&t.startsWith("walk")?(...n)=>e[t](...n.map((e=>"function"==typeof e?(t,n)=>e(t.toProxy(),n):e))):"every"===t||"some"===t?n=>e[t](((e,...t)=>n(e.toProxy(),...t))):"root"===t?()=>e.root().toProxy():"nodes"===t?e.nodes.map((e=>e.toProxy())):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t]}}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}}h.registerParse=e=>{r=e},h.registerRule=e=>{i=e},h.registerAtRule=e=>{o=e},h.registerRoot=e=>{a=e},e.exports=h,h.default=h,h.rebuild=e=>{"atrule"===e.type?Object.setPrototypeOf(e,o.prototype):"rule"===e.type?Object.setPrototypeOf(e,i.prototype):"decl"===e.type?Object.setPrototypeOf(e,c.prototype):"comment"===e.type?Object.setPrototypeOf(e,u.prototype):"root"===e.type&&Object.setPrototypeOf(e,a.prototype),e[l]=!0,e.nodes&&e.nodes.forEach((e=>{h.rebuild(e)}))}},9452:(e,t,n)=>{"use strict";let r=n(4470),i=n(764);class o extends Error{constructor(e,t,n,r,i,a){super(e),this.name="CssSyntaxError",this.reason=e,i&&(this.file=i),r&&(this.source=r),a&&(this.plugin=a),void 0!==t&&void 0!==n&&("number"==typeof t?(this.line=t,this.column=n):(this.line=t.line,this.column=t.column,this.endLine=n.line,this.endColumn=n.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,o)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;null==e&&(e=r.isColorSupported),i&&e&&(t=i(t));let n,o,a=t.split(/\r?\n/),s=Math.max(this.line-3,0),l=Math.min(this.line+2,a.length),c=String(l).length;if(e){let{bold:e,red:t,gray:i}=r.createColors(!0);n=n=>e(t(n)),o=e=>i(e)}else n=o=e=>e;return a.slice(s,l).map(((e,t)=>{let r=s+1+t,i=" "+(" "+r).slice(-c)+" | ";if(r===this.line){let t=o(i.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return n(">")+o(i)+e+"\n "+t+n("^")}return" "+o(i)+e})).join("\n")}toString(){let e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}}e.exports=o,o.default=o},2973:(e,t,n)=>{"use strict";let r=n(8102);class i extends r{constructor(e){e&&void 0!==e.value&&"string"!=typeof e.value&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||"$"===this.prop[0]}}e.exports=i,i.default=i},4096:(e,t,n)=>{"use strict";let r,i,o=n(4228);class a extends o{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new r(new i,this,e).stringify()}}a.registerLazyResult=e=>{r=e},a.registerProcessor=e=>{i=e},e.exports=a,a.default=a},1693:(e,t,n)=>{"use strict";let r=n(2973),i=n(5098),o=n(3285),a=n(4938),s=n(1271),l=n(7399),c=n(4013);function u(e,t){if(Array.isArray(e))return e.map((e=>u(e)));let{inputs:n,...d}=e;if(n){t=[];for(let e of n){let n={...e,__proto__:s.prototype};n.map&&(n.map={...n.map,__proto__:i.prototype}),t.push(n)}}if(d.nodes&&(d.nodes=e.nodes.map((e=>u(e,t)))),d.source){let{inputId:e,...n}=d.source;d.source=n,null!=e&&(d.source.input=t[e])}if("root"===d.type)return new l(d);if("decl"===d.type)return new r(d);if("rule"===d.type)return new c(d);if("comment"===d.type)return new o(d);if("atrule"===d.type)return new a(d);throw new Error("Unknown node type: "+e.type)}e.exports=u,u.default=u},1271:(e,t,n)=>{"use strict";let{SourceMapConsumer:r,SourceMapGenerator:i}=n(139),{fileURLToPath:o,pathToFileURL:a}=n(3653),{resolve:s,isAbsolute:l}=n(8635),{nanoid:c}=n(8864),u=n(764),d=n(9452),f=n(5098),p=Symbol("fromOffsetCache"),h=Boolean(r&&i),g=Boolean(s&&l);class m{constructor(e,t={}){if(null==e||"object"==typeof e&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),"\ufeff"===this.css[0]||""===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!g||/^\w+:\/\//.test(t.from)||l(t.from)?this.file=t.from:this.file=s(t.from)),g&&h){let e=new f(this.css,t);if(e.text){this.map=e;let t=e.consumer().file;!this.file&&t&&(this.file=this.mapResolve(t))}}this.file||(this.id="<input css "+c(6)+">"),this.map&&(this.map.file=this.from)}fromOffset(e){let t,n;if(this[p])n=this[p];else{let e=this.css.split("\n");n=new Array(e.length);let t=0;for(let r=0,i=e.length;r<i;r++)n[r]=t,t+=e[r].length+1;this[p]=n}t=n[n.length-1];let r=0;if(e>=t)r=n.length-1;else{let t,i=n.length-2;for(;r<i;)if(t=r+(i-r>>1),e<n[t])i=t-1;else{if(!(e>=n[t+1])){r=t;break}r=t+1}}return{line:r+1,col:e-n[r]+1}}error(e,t,n,r={}){let i,o,s;if(t&&"object"==typeof t){let e=t,r=n;if("number"==typeof e.offset){let r=this.fromOffset(e.offset);t=r.line,n=r.col}else t=e.line,n=e.column;if("number"==typeof r.offset){let e=this.fromOffset(r.offset);o=e.line,s=e.col}else o=r.line,s=r.column}else if(!n){let e=this.fromOffset(t);t=e.line,n=e.col}let l=this.origin(t,n,o,s);return i=l?new d(e,void 0===l.endLine?l.line:{line:l.line,column:l.column},void 0===l.endLine?l.column:{line:l.endLine,column:l.endColumn},l.source,l.file,r.plugin):new d(e,void 0===o?t:{line:t,column:n},void 0===o?n:{line:o,column:s},this.css,this.file,r.plugin),i.input={line:t,column:n,endLine:o,endColumn:s,source:this.css},this.file&&(a&&(i.input.url=a(this.file).toString()),i.input.file=this.file),i}origin(e,t,n,r){if(!this.map)return!1;let i,s,c=this.map.consumer(),u=c.originalPositionFor({line:e,column:t});if(!u.source)return!1;"number"==typeof n&&(i=c.originalPositionFor({line:n,column:r})),s=l(u.source)?a(u.source):new URL(u.source,this.map.consumer().sourceRoot||a(this.map.mapFile));let d={url:s.toString(),line:u.line,column:u.column,endLine:i&&i.line,endColumn:i&&i.column};if("file:"===s.protocol){if(!o)throw new Error("file: protocol is not available in this PostCSS build");d.file=o(s)}let f=c.sourceContentFor(u.source);return f&&(d.source=f),d}mapResolve(e){return/^\w+:\/\//.test(e)?e:s(this.map.consumer().sourceRoot||this.map.root||".",e)}get from(){return this.file||this.id}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])null!=this[t]&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}}e.exports=m,m.default=m,u&&u.registerInput&&u.registerInput(m)},7229:(e,t,n)=>{"use strict";let{isClean:r,my:i}=n(9181),o=n(3e3),a=n(7434),s=n(4228),l=n(4096),c=(n(7570),n(2575)),u=n(8501),d=n(7399);const f={document:"Document",root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"},p={postcssPlugin:!0,prepare:!0,Once:!0,Document:!0,Root:!0,Declaration:!0,Rule:!0,AtRule:!0,Comment:!0,DeclarationExit:!0,RuleExit:!0,AtRuleExit:!0,CommentExit:!0,RootExit:!0,DocumentExit:!0,OnceExit:!0},h={postcssPlugin:!0,prepare:!0,Once:!0},g=0;function m(e){return"object"==typeof e&&"function"==typeof e.then}function y(e){let t=!1,n=f[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[n,n+"-"+t,g,n+"Exit",n+"Exit-"+t]:t?[n,n+"-"+t,n+"Exit",n+"Exit-"+t]:e.append?[n,g,n+"Exit"]:[n,n+"Exit"]}function v(e){let t;return t="document"===e.type?["Document",g,"DocumentExit"]:"root"===e.type?["Root",g,"RootExit"]:y(e),{node:e,events:t,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function b(e){return e[r]=!1,e.nodes&&e.nodes.forEach((e=>b(e))),e}let I={};class x{constructor(e,t,n){let r;if(this.stringified=!1,this.processed=!1,"object"!=typeof t||null===t||"root"!==t.type&&"document"!==t.type)if(t instanceof x||t instanceof c)r=b(t.root),t.map&&(void 0===n.map&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=t.map);else{let e=u;n.syntax&&(e=n.syntax.parse),n.parser&&(e=n.parser),e.parse&&(e=e.parse);try{r=e(t,n)}catch(e){this.processed=!0,this.error=e}r&&!r[i]&&s.rebuild(r)}else r=b(t);this.result=new c(e,r,n),this.helpers={...I,result:this.result,postcss:I},this.plugins=this.processor.plugins.map((e=>"object"==typeof e&&e.prepare?{...e,...e.prepare(this.result)}:e))}get[Symbol.toStringTag](){return"LazyResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.stringify().css}get content(){return this.stringify().content}get map(){return this.stringify().map}get root(){return this.sync().root}get messages(){return this.sync().messages}warnings(){return this.sync().warnings()}toString(){return this.css}then(e,t){return this.async().then(e,t)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins)if(m(this.runOnRoot(e)))throw this.getAsyncError();if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[r];)e[r]=!0,this.walkSync(e);if(this.listeners.OnceExit)if("document"===e.type)for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=a;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let n=new o(t,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[1],this.result}walkSync(e){e[r]=!0;let t=y(e);for(let n of t)if(n===g)e.nodes&&e.each((e=>{e[r]||this.walkSync(e)}));else{let t=this.listeners[n];if(t&&this.visitSync(t,e.toProxy()))return}}visitSync(e,t){for(let[n,r]of e){let e;this.result.lastPlugin=n;try{e=r(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(m(e))throw this.getAsyncError()}}runOnRoot(e){this.result.lastPlugin=e;try{if("object"==typeof e&&e.Once){if("document"===this.result.root.type){let t=this.result.root.nodes.map((t=>e.Once(t,this.helpers)));return m(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let n=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin?n.postcssVersion:(e.plugin=n.postcssPlugin,e.setMessage())}catch(e){console&&console.error&&console.error(e)}return e}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],n=this.runOnRoot(t);if(m(n))try{await n}catch(e){throw this.handleError(e)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[r];){e[r]=!0;let t=[v(e)];for(;t.length>0;){let e=this.visitTick(t);if(m(e))try{await e}catch(e){let n=t[t.length-1].node;throw this.handleError(e,n)}}}if(this.listeners.OnceExit)for(let[t,n]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if("document"===e.type){let t=e.nodes.map((e=>n(e,this.helpers)));await Promise.all(t)}else await n(e,this.helpers)}catch(e){throw this.handleError(e)}}}return this.processed=!0,this.stringify()}prepareVisitors(){this.listeners={};let e=(e,t,n)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,n])};for(let t of this.plugins)if("object"==typeof t)for(let n in t){if(!p[n]&&/^[A-Z]/.test(n))throw new Error(`Unknown event ${n} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!h[n])if("object"==typeof t[n])for(let r in t[n])e(t,"*"===r?n:n+"-"+r.toLowerCase(),t[n][r]);else"function"==typeof t[n]&&e(t,n,t[n])}this.hasListener=Object.keys(this.listeners).length>0}visitTick(e){let t=e[e.length-1],{node:n,visitors:i}=t;if("root"!==n.type&&"document"!==n.type&&!n.parent)return void e.pop();if(i.length>0&&t.visitorIndex<i.length){let[e,r]=i[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===i.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=e;try{return r(n.toProxy(),this.helpers)}catch(e){throw this.handleError(e,n)}}if(0!==t.iterator){let i,o=t.iterator;for(;i=n.nodes[n.indexes[o]];)if(n.indexes[o]+=1,!i[r])return i[r]=!0,void e.push(v(i));t.iterator=0,delete n.indexes[o]}let o=t.events;for(;t.eventIndex<o.length;){let e=o[t.eventIndex];if(t.eventIndex+=1,e===g)return void(n.nodes&&n.nodes.length&&(n[r]=!0,t.iterator=n.getIterator()));if(this.listeners[e])return void(t.visitors=this.listeners[e])}e.pop()}}x.registerPostcss=e=>{I=e},e.exports=x,x.default=x,d.registerLazyResult(x),l.registerLazyResult(x)},9401:e=>{"use strict";let t={split(e,t,n){let r=[],i="",o=!1,a=0,s=!1,l="",c=!1;for(let n of e)c?c=!1:"\\"===n?c=!0:s?n===l&&(s=!1):'"'===n||"'"===n?(s=!0,l=n):"("===n?a+=1:")"===n?a>0&&(a-=1):0===a&&t.includes(n)&&(o=!0),o?(""!==i&&r.push(i.trim()),i="",o=!1):i+=n;return(n||""!==i)&&r.push(i.trim()),r},space:e=>t.split(e,[" ","\n","\t"]),comma:e=>t.split(e,[","],!0)};e.exports=t,t.default=t},3e3:(e,t,n)=>{"use strict";let{SourceMapConsumer:r,SourceMapGenerator:i}=n(139),{dirname:o,resolve:a,relative:s,sep:l}=n(8635),{pathToFileURL:c}=n(3653),u=n(1271),d=Boolean(r&&i),f=Boolean(o&&a&&s&&l);e.exports=class{constructor(e,t,n,r){this.stringify=e,this.mapOpts=n.map||{},this.root=t,this.opts=n,this.css=r,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk((e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}}));else{let e=new u(this.css,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}isInline(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;let e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some((e=>e.inline)))}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some((e=>e.withContent()))}clearAnnotation(){if(!1!==this.mapOpts.annotation)if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--)e=this.root.nodes[t],"comment"===e.type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t)}else this.css&&(this.css=this.css.replace(/(\n)?\/\*#[\S\s]*?\*\/$/gm,""))}setSourcesContent(){let e={};if(this.root)this.root.walk((t=>{if(t.source){let n=t.source.input.from;if(n&&!e[n]){e[n]=!0;let r=this.usesFileUrls?this.toFileUrl(n):this.toUrl(this.path(n));this.map.setSourceContent(r,t.source.input.css)}}}));else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(e,this.css)}}applyPrevMaps(){for(let e of this.previous()){let t,n=this.toUrl(this.path(e.file)),i=e.root||o(e.file);!1===this.mapOpts.sourcesContent?(t=new r(e.text),t.sourcesContent&&(t.sourcesContent=t.sourcesContent.map((()=>null)))):t=e.consumer(),this.map.applySourceMap(t,n,this.toUrl(this.path(i)))}}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some((e=>e.annotation)))}toBase64(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}addAnnotation(){let e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";let t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}generateMap(){if(this.root)this.generateString();else if(1===this.previous().length){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=i.fromSourceMap(e)}else this.map=new i({file:this.outputFile()}),this.map.addMapping({source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>",generated:{line:1,column:0},original:{line:1,column:0}});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}path(e){if(0===e.indexOf("<"))return e;if(/^\w+:\/\//.test(e))return e;if(this.mapOpts.absolute)return e;let t=this.opts.to?o(this.opts.to):".";return"string"==typeof this.mapOpts.annotation&&(t=o(a(t,this.mapOpts.annotation))),s(t,e)}toUrl(e){return"\\"===l&&(e=e.replace(/\\/g,"/")),encodeURI(e).replace(/[#?]/g,encodeURIComponent)}toFileUrl(e){if(c)return c(e).toString();throw new Error("`map.absolute` option is not available in this PostCSS build")}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}generateString(){this.css="",this.map=new i({file:this.outputFile()});let e,t,n=1,r=1,o="<no source>",a={source:"",generated:{line:0,column:0},original:{line:0,column:0}};this.stringify(this.root,((i,s,l)=>{if(this.css+=i,s&&"end"!==l&&(a.generated.line=n,a.generated.column=r-1,s.source&&s.source.start?(a.source=this.sourcePath(s),a.original.line=s.source.start.line,a.original.column=s.source.start.column-1,this.map.addMapping(a)):(a.source=o,a.original.line=1,a.original.column=0,this.map.addMapping(a))),e=i.match(/\n/g),e?(n+=e.length,t=i.lastIndexOf("\n"),r=i.length-t):r+=i.length,s&&"start"!==l){let e=s.parent||{raws:{}};("decl"===s.type||"atrule"===s.type&&!s.nodes)&&s===e.last&&!e.raws.semicolon||(s.source&&s.source.end?(a.source=this.sourcePath(s),a.original.line=s.source.end.line,a.original.column=s.source.end.column-1,a.generated.line=n,a.generated.column=r-2,this.map.addMapping(a)):(a.source=o,a.original.line=1,a.original.column=0,a.generated.line=n,a.generated.column=r-1,this.map.addMapping(a)))}}))}generate(){if(this.clearAnnotation(),f&&d&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,(t=>{e+=t})),[e]}}}},1878:(e,t,n)=>{"use strict";let r=n(3e3),i=n(7434),o=(n(7570),n(8501));const a=n(2575);class s{constructor(e,t,n){let o;t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=n,this._map=void 0;let s=i;this.result=new a(this._processor,o,this._opts),this.result.css=t;let l=this;Object.defineProperty(this.result,"root",{get:()=>l.root});let c=new r(s,o,this._opts,t);if(c.isMap()){let[e,t]=c.generate();e&&(this.result.css=e),t&&(this.result.map=t)}}get[Symbol.toStringTag](){return"NoWorkResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.result.css}get content(){return this.result.css}get map(){return this.result.map}get root(){if(this._root)return this._root;let e,t=o;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=e,e}get messages(){return[]}warnings(){return[]}toString(){return this._css}then(e,t){return this.async().then(e,t)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}sync(){if(this.error)throw this.error;return this.result}}e.exports=s,s.default=s},8102:(e,t,n)=>{"use strict";let{isClean:r,my:i}=n(9181),o=n(9452),a=n(6573),s=n(7434);function l(e,t){let n=new e.constructor;for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;if("proxyCache"===r)continue;let i=e[r],o=typeof i;"parent"===r&&"object"===o?t&&(n[r]=t):"source"===r?n[r]=i:Array.isArray(i)?n[r]=i.map((e=>l(e,n))):("object"===o&&null!==i&&(i=l(i)),n[r]=i)}return n}class c{constructor(e={}){this.raws={},this[r]=!1,this[i]=!0;for(let t in e)if("nodes"===t){this.nodes=[];for(let n of e[t])"function"==typeof n.clone?this.append(n.clone()):this.append(n)}else this[t]=e[t]}error(e,t={}){if(this.source){let{start:n,end:r}=this.rangeBy(t);return this.source.input.error(e,{line:n.line,column:n.column},{line:r.line,column:r.column},t)}return new o(e)}warn(e,t,n){let r={node:this};for(let e in n)r[e]=n[e];return e.warn(t,r)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(e=s){e.stringify&&(e=e.stringify);let t="";return e(this,(e=>{t+=e})),t}assign(e={}){for(let t in e)this[t]=e[t];return this}clone(e={}){let t=l(this);for(let n in e)t[n]=e[n];return t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}replaceWith(...e){if(this.parent){let t=this,n=!1;for(let r of e)r===this?n=!0:n?(this.parent.insertAfter(t,r),t=r):this.parent.insertBefore(t,r);n||this.remove()}return this}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}before(e){return this.parent.insertBefore(this,e),this}after(e){return this.parent.insertAfter(this,e),this}root(){let e=this;for(;e.parent&&"document"!==e.parent.type;)e=e.parent;return e}raw(e,t){return(new a).raw(this,e,t)}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}toJSON(e,t){let n={},r=null==t;t=t||new Map;let i=0;for(let e in this){if(!Object.prototype.hasOwnProperty.call(this,e))continue;if("parent"===e||"proxyCache"===e)continue;let r=this[e];if(Array.isArray(r))n[e]=r.map((e=>"object"==typeof e&&e.toJSON?e.toJSON(null,t):e));else if("object"==typeof r&&r.toJSON)n[e]=r.toJSON(null,t);else if("source"===e){let o=t.get(r.input);null==o&&(o=i,t.set(r.input,i),i++),n[e]={inputId:o,start:r.start,end:r.end}}else n[e]=r}return r&&(n.inputs=[...t.keys()].map((e=>e.toJSON()))),n}positionInside(e){let t=this.toString(),n=this.source.start.column,r=this.source.start.line;for(let i=0;i<e;i++)"\n"===t[i]?(n=1,r+=1):n+=1;return{line:r,column:n}}positionBy(e){let t=this.source.start;if(e.index)t=this.positionInside(e.index);else if(e.word){let n=this.toString().indexOf(e.word);-1!==n&&(t=this.positionInside(n))}return t}rangeBy(e){let t={line:this.source.start.line,column:this.source.start.column},n=this.source.end?{line:this.source.end.line,column:this.source.end.column+1}:{line:t.line,column:t.column+1};if(e.word){let r=this.toString().indexOf(e.word);-1!==r&&(t=this.positionInside(r),n=this.positionInside(r+e.word.length))}else e.start?t={line:e.start.line,column:e.start.column}:e.index&&(t=this.positionInside(e.index)),e.end?n={line:e.end.line,column:e.end.column}:e.endIndex?n=this.positionInside(e.endIndex):e.index&&(n=this.positionInside(e.index+1));return(n.line<t.line||n.line===t.line&&n.column<=t.column)&&(n={line:t.line,column:t.column+1}),{start:t,end:n}}getProxyProcessor(){return{set:(e,t,n)=>(e[t]===n||(e[t]=n,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0),get:(e,t)=>"proxyOf"===t?e:"root"===t?()=>e.root().toProxy():e[t]}}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}markDirty(){if(this[r]){this[r]=!1;let e=this;for(;e=e.parent;)e[r]=!1}}get proxyOf(){return this}}e.exports=c,c.default=c},8501:(e,t,n)=>{"use strict";let r=n(4228),i=n(6237),o=n(1271);function a(e,t){let n=new o(e,t),r=new i(n);try{r.parse()}catch(e){throw e}return r.root}e.exports=a,a.default=a,r.registerParse(a)},6237:(e,t,n)=>{"use strict";let r=n(2973),i=n(1171),o=n(3285),a=n(4938),s=n(7399),l=n(4013);const c={empty:!0,space:!0};e.exports=class{constructor(e){this.input=e,this.root=new s,this.current=this.root,this.spaces="",this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:e,start:{offset:0,line:1,column:1}}}createTokenizer(){this.tokenizer=i(this.input)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()}comment(e){let t=new o;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]);let n=e[1].slice(2,-2);if(/^\s*$/.test(n))t.text="",t.raws.left=n,t.raws.right="";else{let e=n.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}}emptyRule(e){let t=new l;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}other(e){let t=!1,n=null,r=!1,i=null,o=[],a=e[1].startsWith("--"),s=[],l=e;for(;l;){if(n=l[0],s.push(l),"("===n||"["===n)i||(i=l),o.push("("===n?")":"]");else if(a&&r&&"{"===n)i||(i=l),o.push("}");else if(0===o.length){if(";"===n){if(r)return void this.decl(s,a);break}if("{"===n)return void this.rule(s);if("}"===n){this.tokenizer.back(s.pop()),t=!0;break}":"===n&&(r=!0)}else n===o[o.length-1]&&(o.pop(),0===o.length&&(i=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),o.length>0&&this.unclosedBracket(i),t&&r){if(!a)for(;s.length&&(l=s[s.length-1][0],"space"===l||"comment"===l);)this.tokenizer.back(s.pop());this.decl(s,a)}else this.unknownWord(s)}rule(e){e.pop();let t=new l;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}decl(e,t){let n=new r;this.init(n,e[0][2]);let i,o=e[e.length-1];for(";"===o[0]&&(this.semicolon=!0,e.pop()),n.source.end=this.getPosition(o[3]||o[2]||function(e){for(let t=e.length-1;t>=0;t--){let n=e[t],r=n[3]||n[2];if(r)return r}}(e));"word"!==e[0][0];)1===e.length&&this.unknownWord(e),n.raws.before+=e.shift()[1];for(n.source.start=this.getPosition(e[0][2]),n.prop="";e.length;){let t=e[0][0];if(":"===t||"space"===t||"comment"===t)break;n.prop+=e.shift()[1]}for(n.raws.between="";e.length;){if(i=e.shift(),":"===i[0]){n.raws.between+=i[1];break}"word"===i[0]&&/\w/.test(i[1])&&this.unknownWord([i]),n.raws.between+=i[1]}"_"!==n.prop[0]&&"*"!==n.prop[0]||(n.raws.before+=n.prop[0],n.prop=n.prop.slice(1));let a,s=[];for(;e.length&&(a=e[0][0],"space"===a||"comment"===a);)s.push(e.shift());this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){if(i=e[t],"!important"===i[1].toLowerCase()){n.important=!0;let r=this.stringFrom(e,t);r=this.spacesFromEnd(e)+r," !important"!==r&&(n.raws.important=r);break}if("important"===i[1].toLowerCase()){let r=e.slice(0),i="";for(let e=t;e>0;e--){let t=r[e][0];if(0===i.trim().indexOf("!")&&"space"!==t)break;i=r.pop()[1]+i}0===i.trim().indexOf("!")&&(n.important=!0,n.raws.important=i,e=r)}if("space"!==i[0]&&"comment"!==i[0])break}e.some((e=>"space"!==e[0]&&"comment"!==e[0]))&&(n.raws.between+=s.map((e=>e[1])).join(""),s=[]),this.raw(n,"value",s.concat(e),t),n.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}atrule(e){let t,n,r,i=new a;i.name=e[1].slice(1),""===i.name&&this.unnamedAtrule(i,e),this.init(i,e[2]);let o=!1,s=!1,l=[],c=[];for(;!this.tokenizer.endOfFile();){if(t=(e=this.tokenizer.nextToken())[0],"("===t||"["===t?c.push("("===t?")":"]"):"{"===t&&c.length>0?c.push("}"):t===c[c.length-1]&&c.pop(),0===c.length){if(";"===t){i.source.end=this.getPosition(e[2]),this.semicolon=!0;break}if("{"===t){s=!0;break}if("}"===t){if(l.length>0){for(r=l.length-1,n=l[r];n&&"space"===n[0];)n=l[--r];n&&(i.source.end=this.getPosition(n[3]||n[2]))}this.end(e);break}l.push(e)}else l.push(e);if(this.tokenizer.endOfFile()){o=!0;break}}i.raws.between=this.spacesAndCommentsFromEnd(l),l.length?(i.raws.afterName=this.spacesAndCommentsFromStart(l),this.raw(i,"params",l),o&&(e=l[l.length-1],i.source.end=this.getPosition(e[3]||e[2]),this.spaces=i.raws.between,i.raws.between="")):(i.raws.afterName="",i.params=""),s&&(i.nodes=[],this.current=i)}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let e=this.current.nodes[this.current.nodes.length-1];e&&"rule"===e.type&&!e.raws.ownSemicolon&&(e.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let t=this.input.fromOffset(e);return{offset:e,line:t.line,column:t.col}}init(e,t){this.current.push(e),e.source={start:this.getPosition(t),input:this.input},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)}raw(e,t,n,r){let i,o,a,s,l=n.length,u="",d=!0;for(let e=0;e<l;e+=1)i=n[e],o=i[0],"space"!==o||e!==l-1||r?"comment"===o?(s=n[e-1]?n[e-1][0]:"empty",a=n[e+1]?n[e+1][0]:"empty",c[s]||c[a]||","===u.slice(-1)?d=!1:u+=i[1]):u+=i[1]:d=!1;if(!d){let r=n.reduce(((e,t)=>e+t[1]),"");e.raws[t]={value:u,raw:r}}e[t]=u}spacesAndCommentsFromEnd(e){let t,n="";for(;e.length&&(t=e[e.length-1][0],"space"===t||"comment"===t);)n=e.pop()[1]+n;return n}spacesAndCommentsFromStart(e){let t,n="";for(;e.length&&(t=e[0][0],"space"===t||"comment"===t);)n+=e.shift()[1];return n}spacesFromEnd(e){let t,n="";for(;e.length&&(t=e[e.length-1][0],"space"===t);)n=e.pop()[1]+n;return n}stringFrom(e,t){let n="";for(let r=t;r<e.length;r++)n+=e[r][1];return e.splice(t,e.length-t),n}colon(e){let t,n,r,i=0;for(let[o,a]of e.entries()){if(t=a,n=t[0],"("===n&&(i+=1),")"===n&&(i-=1),0===i&&":"===n){if(r){if("word"===r[0]&&"progid"===r[1])continue;return o}this.doubleColon(t)}r=t}return!1}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}precheckMissedSemicolon(){}checkMissedSemicolon(e){let t=this.colon(e);if(!1===t)return;let n,r=0;for(let i=t-1;i>=0&&(n=e[i],"space"===n[0]||(r+=1,2!==r));i--);throw this.input.error("Missed semicolon","word"===n[0]?n[3]+1:n[2])}}},5489:(e,t,n)=>{"use strict";let r=n(9452),i=n(2973),o=n(7229),a=n(4228),s=n(8420),l=n(7434),c=n(1693),u=n(4096),d=n(3641),f=n(3285),p=n(4938),h=n(2575),g=n(1271),m=n(8501),y=n(9401),v=n(4013),b=n(7399),I=n(8102);function x(...e){return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new s(e)}x.plugin=function(e,t){let n,r=!1;function i(...n){console&&console.warn&&!r&&(r=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(e+": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226"));let i=t(...n);return i.postcssPlugin=e,i.postcssVersion=(new s).version,i}return Object.defineProperty(i,"postcss",{get:()=>(n||(n=i()),n)}),i.process=function(e,t,n){return x([i(n)]).process(e,t)},i},x.stringify=l,x.parse=m,x.fromJSON=c,x.list=y,x.comment=e=>new f(e),x.atRule=e=>new p(e),x.decl=e=>new i(e),x.rule=e=>new v(e),x.root=e=>new b(e),x.document=e=>new u(e),x.CssSyntaxError=r,x.Declaration=i,x.Container=a,x.Processor=s,x.Document=u,x.Comment=f,x.Warning=d,x.AtRule=p,x.Result=h,x.Input=g,x.Rule=v,x.Root=b,x.Node=I,o.registerPostcss(x),e.exports=x,x.default=x},5098:(e,t,n)=>{"use strict";let{SourceMapConsumer:r,SourceMapGenerator:i}=n(139),{existsSync:o,readFileSync:a}=n(5158),{dirname:s,join:l}=n(8635);class c{constructor(e,t){if(!1===t.map)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let n=t.map?t.map.prev:void 0,r=this.loadMap(t.from,n);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=s(this.mapFile)),r&&(this.text=r)}consumer(){return this.consumerCache||(this.consumerCache=new r(this.text)),this.consumerCache}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}startWith(e,t){return!!e&&e.substr(0,t.length)===t}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/gm);if(!t)return;let n=e.lastIndexOf(t.pop()),r=e.indexOf("*/",n);n>-1&&r>-1&&(this.annotation=this.getAnnotationURL(e.substring(n,r)))}decodeInline(e){if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(e)||/^data:application\/json;base64,/.test(e))return t=e.substr(RegExp.lastMatch.length),Buffer?Buffer.from(t,"base64").toString():window.atob(t);var t;let n=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+n)}loadFile(e){if(this.root=s(e),o(e))return this.mapFile=e,a(e,"utf-8").toString().trim()}loadMap(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"!=typeof t){if(t instanceof r)return i.fromSourceMap(t).toString();if(t instanceof i)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}{let n=t(e);if(n){let e=this.loadFile(n);if(!e)throw new Error("Unable to load previous source map: "+n.toString());return e}}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let t=this.annotation;return e&&(t=l(s(e),t)),this.loadFile(t)}}}isMap(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))}}e.exports=c,c.default=c},8420:(e,t,n)=>{"use strict";let r=n(1878),i=n(7229),o=n(4096),a=n(7399);class s{constructor(e=[]){this.version="8.4.23",this.plugins=this.normalize(e)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}process(e,t={}){return 0===this.plugins.length&&void 0===t.parser&&void 0===t.stringifier&&void 0===t.syntax?new r(this,e,t):new i(this,e,t)}normalize(e){let t=[];for(let n of e)if(!0===n.postcss?n=n():n.postcss&&(n=n.postcss),"object"==typeof n&&Array.isArray(n.plugins))t=t.concat(n.plugins);else if("object"==typeof n&&n.postcssPlugin)t.push(n);else if("function"==typeof n)t.push(n);else if("object"!=typeof n||!n.parse&&!n.stringify)throw new Error(n+" is not a PostCSS plugin");return t}}e.exports=s,s.default=s,a.registerProcessor(s),o.registerProcessor(s)},2575:(e,t,n)=>{"use strict";let r=n(3641);class i{constructor(e,t,n){this.processor=e,this.messages=[],this.root=t,this.opts=n,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let n=new r(e,t);return this.messages.push(n),n}warnings(){return this.messages.filter((e=>"warning"===e.type))}get content(){return this.css}}e.exports=i,i.default=i},7399:(e,t,n)=>{"use strict";let r,i,o=n(4228);class a extends o{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}removeChild(e,t){let n=this.index(e);return!t&&0===n&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),super.removeChild(e)}normalize(e,t,n){let r=super.normalize(e);if(t)if("prepend"===n)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let e of r)e.raws.before=t.raws.before;return r}toResult(e={}){return new r(new i,this,e).stringify()}}a.registerLazyResult=e=>{r=e},a.registerProcessor=e=>{i=e},e.exports=a,a.default=a,o.registerRoot(a)},4013:(e,t,n)=>{"use strict";let r=n(4228),i=n(9401);class o extends r{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return i.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,n=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(n)}}e.exports=o,o.default=o,r.registerRule(o)},6573:e=>{"use strict";const t={colon:": ",indent:" ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};class n{constructor(e){this.builder=e}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}document(e){this.body(e)}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}comment(e){let t=this.raw(e,"left","commentLeft"),n=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+n+"*/",e)}decl(e,t){let n=this.raw(e,"between","colon"),r=e.prop+n+this.rawValue(e,"value");e.important&&(r+=e.raws.important||" !important"),t&&(r+=";"),this.builder(r,e)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}atrule(e,t){let n="@"+e.name,r=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?n+=e.raws.afterName:r&&(n+=" "),e.nodes)this.block(e,n+r);else{let i=(e.raws.between||"")+(t?";":"");this.builder(n+r+i,e)}}body(e){let t=e.nodes.length-1;for(;t>0&&"comment"===e.nodes[t].type;)t-=1;let n=this.raw(e,"semicolon");for(let r=0;r<e.nodes.length;r++){let i=e.nodes[r],o=this.raw(i,"before");o&&this.builder(o),this.stringify(i,t!==r||n)}}block(e,t){let n,r=this.raw(e,"between","beforeOpen");this.builder(t+r+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),n=this.raw(e,"after")):n=this.raw(e,"after","emptyBody"),n&&this.builder(n),this.builder("}",e,"end")}raw(e,n,r){let i;if(r||(r=n),n&&(i=e.raws[n],void 0!==i))return i;let o=e.parent;if("before"===r){if(!o||"root"===o.type&&o.first===e)return"";if(o&&"document"===o.type)return""}if(!o)return t[r];let a=e.root();if(a.rawCache||(a.rawCache={}),void 0!==a.rawCache[r])return a.rawCache[r];if("before"===r||"after"===r)return this.beforeAfter(e,r);{let t="raw"+((s=r)[0].toUpperCase()+s.slice(1));this[t]?i=this[t](a,e):a.walk((e=>{if(i=e.raws[n],void 0!==i)return!1}))}var s;return void 0===i&&(i=t[r]),a.rawCache[r]=i,i}rawSemicolon(e){let t;return e.walk((e=>{if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&(t=e.raws.semicolon,void 0!==t))return!1})),t}rawEmptyBody(e){let t;return e.walk((e=>{if(e.nodes&&0===e.nodes.length&&(t=e.raws.after,void 0!==t))return!1})),t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk((n=>{let r=n.parent;if(r&&r!==e&&r.parent&&r.parent===e&&void 0!==n.raws.before){let e=n.raws.before.split("\n");return t=e[e.length-1],t=t.replace(/\S/g,""),!1}})),t}rawBeforeComment(e,t){let n;return e.walkComments((e=>{if(void 0!==e.raws.before)return n=e.raws.before,n.includes("\n")&&(n=n.replace(/[^\n]+$/,"")),!1})),void 0===n?n=this.raw(t,null,"beforeDecl"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeDecl(e,t){let n;return e.walkDecls((e=>{if(void 0!==e.raws.before)return n=e.raws.before,n.includes("\n")&&(n=n.replace(/[^\n]+$/,"")),!1})),void 0===n?n=this.raw(t,null,"beforeRule"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeRule(e){let t;return e.walk((n=>{if(n.nodes&&(n.parent!==e||e.first!==n)&&void 0!==n.raws.before)return t=n.raws.before,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawBeforeClose(e){let t;return e.walk((e=>{if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return t=e.raws.after,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawBeforeOpen(e){let t;return e.walk((e=>{if("decl"!==e.type&&(t=e.raws.between,void 0!==t))return!1})),t}rawColon(e){let t;return e.walkDecls((e=>{if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1})),t}beforeAfter(e,t){let n;n="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");let r=e.parent,i=0;for(;r&&"root"!==r.type;)i+=1,r=r.parent;if(n.includes("\n")){let t=this.raw(e,null,"indent");if(t.length)for(let e=0;e<i;e++)n+=t}return n}rawValue(e,t){let n=e[t],r=e.raws[t];return r&&r.value===n?r.raw:n}}e.exports=n,n.default=n},7434:(e,t,n)=>{"use strict";let r=n(6573);function i(e,t){new r(t).stringify(e)}e.exports=i,i.default=i},9181:e=>{"use strict";e.exports.isClean=Symbol("isClean"),e.exports.my=Symbol("my")},1171:e=>{"use strict";const t="'".charCodeAt(0),n='"'.charCodeAt(0),r="\\".charCodeAt(0),i="/".charCodeAt(0),o="\n".charCodeAt(0),a=" ".charCodeAt(0),s="\f".charCodeAt(0),l="\t".charCodeAt(0),c="\r".charCodeAt(0),u="[".charCodeAt(0),d="]".charCodeAt(0),f="(".charCodeAt(0),p=")".charCodeAt(0),h="{".charCodeAt(0),g="}".charCodeAt(0),m=";".charCodeAt(0),y="*".charCodeAt(0),v=":".charCodeAt(0),b="@".charCodeAt(0),I=/[\t\n\f\r "#'()/;[\\\]{}]/g,x=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,M=/.[\n"'(/\\]/,w=/[\da-f]/i;e.exports=function(e,T={}){let A,C,N,E,S,j,k,D,L,O,R=e.css.valueOf(),P=T.ignoreErrors,z=R.length,U=0,_=[],Z=[];function G(t){throw e.error("Unclosed "+t,U)}return{back:function(e){Z.push(e)},nextToken:function(e){if(Z.length)return Z.pop();if(U>=z)return;let T=!!e&&e.ignoreUnclosed;switch(A=R.charCodeAt(U),A){case o:case a:case l:case c:case s:C=U;do{C+=1,A=R.charCodeAt(C)}while(A===a||A===o||A===l||A===c||A===s);O=["space",R.slice(U,C)],U=C-1;break;case u:case d:case h:case g:case v:case m:case p:{let e=String.fromCharCode(A);O=[e,e,U];break}case f:if(D=_.length?_.pop()[1]:"",L=R.charCodeAt(U+1),"url"===D&&L!==t&&L!==n&&L!==a&&L!==o&&L!==l&&L!==s&&L!==c){C=U;do{if(j=!1,C=R.indexOf(")",C+1),-1===C){if(P||T){C=U;break}G("bracket")}for(k=C;R.charCodeAt(k-1)===r;)k-=1,j=!j}while(j);O=["brackets",R.slice(U,C+1),U,C],U=C}else C=R.indexOf(")",U+1),E=R.slice(U,C+1),-1===C||M.test(E)?O=["(","(",U]:(O=["brackets",E,U,C],U=C);break;case t:case n:N=A===t?"'":'"',C=U;do{if(j=!1,C=R.indexOf(N,C+1),-1===C){if(P||T){C=U+1;break}G("string")}for(k=C;R.charCodeAt(k-1)===r;)k-=1,j=!j}while(j);O=["string",R.slice(U,C+1),U,C],U=C;break;case b:I.lastIndex=U+1,I.test(R),C=0===I.lastIndex?R.length-1:I.lastIndex-2,O=["at-word",R.slice(U,C+1),U,C],U=C;break;case r:for(C=U,S=!0;R.charCodeAt(C+1)===r;)C+=1,S=!S;if(A=R.charCodeAt(C+1),S&&A!==i&&A!==a&&A!==o&&A!==l&&A!==c&&A!==s&&(C+=1,w.test(R.charAt(C)))){for(;w.test(R.charAt(C+1));)C+=1;R.charCodeAt(C+1)===a&&(C+=1)}O=["word",R.slice(U,C+1),U,C],U=C;break;default:A===i&&R.charCodeAt(U+1)===y?(C=R.indexOf("*/",U+2)+1,0===C&&(P||T?C=R.length:G("comment")),O=["comment",R.slice(U,C+1),U,C],U=C):(x.lastIndex=U+1,x.test(R),C=0===x.lastIndex?R.length-1:x.lastIndex-2,O=["word",R.slice(U,C+1),U,C],_.push(O),U=C)}return U++,O},endOfFile:function(){return 0===Z.length&&U>=z},position:function(){return U}}}},7570:e=>{"use strict";let t={};e.exports=function(e){t[e]||(t[e]=!0,"undefined"!=typeof console&&console.warn&&console.warn(e))}},3641:e=>{"use strict";class t{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let e=t.node.rangeBy(t);this.line=e.start.line,this.column=e.start.column,this.endLine=e.end.line,this.endColumn=e.end.column}for(let e in t)this[e]=t[e]}toString(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}e.exports=t,t.default=t},8262:(e,t,n)=>{"use strict";var r=n(3586);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,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:o,resetWarningCache:i};return n.PropTypes=n,n}},3980:(e,t,n)=>{e.exports=n(8262)()},3586:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6866:(e,t)=>{"use strict";Symbol.for("react.element"),Symbol.for("react.portal"),Symbol.for("react.fragment"),Symbol.for("react.strict_mode"),Symbol.for("react.profiler"),Symbol.for("react.provider"),Symbol.for("react.context"),Symbol.for("react.server_context"),Symbol.for("react.forward_ref"),Symbol.for("react.suspense"),Symbol.for("react.suspense_list"),Symbol.for("react.memo"),Symbol.for("react.lazy"),Symbol.for("react.offscreen"),Symbol.for("react.module.reference")},8570:(e,t,n)=>{"use strict";n(6866)},4330:(e,t,n)=>{const r=n(883),i=n(5555),{isPlainObject:o}=n(303),a=n(9714),s=n(8915),{parse:l}=n(5489),c=["img","audio","video","picture","svg","object","map","iframe","embed"],u=["script","style"];function d(e,t){e&&Object.keys(e).forEach((function(n){t(e[n],n)}))}function f(e,t){return{}.hasOwnProperty.call(e,t)}function p(e,t){const n=[];return d(e,(function(e){t(e)&&n.push(e)})),n}e.exports=g;const h=/^[^\0\t\n\f\r /<=>]+$/;function g(e,t,n){if(null==e)return"";let y="",v="";function b(e,t){const n=this;this.tag=e,this.attribs=t||{},this.tagPosition=y.length,this.text="",this.mediaChildren=[],this.updateParentNodeText=function(){S.length&&(S[S.length-1].text+=n.text)},this.updateParentNodeMediaChildren=function(){S.length&&c.includes(this.tag)&&S[S.length-1].mediaChildren.push(this.tag)}}(t=Object.assign({},g.defaults,t)).parser=Object.assign({},m,t.parser),u.forEach((function(e){!1!==t.allowedTags&&(t.allowedTags||[]).indexOf(e)>-1&&!t.allowVulnerableTags&&console.warn(`\n\n⚠️ Your \`allowedTags\` option includes, \`${e}\`, which is inherently\nvulnerable to XSS attacks. Please remove it from \`allowedTags\`.\nOr, to disable this warning, add the \`allowVulnerableTags\` option\nand ensure you are accounting for this risk.\n\n`)}));const I=t.nonTextTags||["script","style","textarea","option"];let x,M;t.allowedAttributes&&(x={},M={},d(t.allowedAttributes,(function(e,t){x[t]=[];const n=[];e.forEach((function(e){"string"==typeof e&&e.indexOf("*")>=0?n.push(i(e).replace(/\\\*/g,".*")):x[t].push(e)})),n.length&&(M[t]=new RegExp("^("+n.join("|")+")$"))})));const w={},T={},A={};d(t.allowedClasses,(function(e,t){x&&(f(x,t)||(x[t]=[]),x[t].push("class")),w[t]=[],A[t]=[];const n=[];e.forEach((function(e){"string"==typeof e&&e.indexOf("*")>=0?n.push(i(e).replace(/\\\*/g,".*")):e instanceof RegExp?A[t].push(e):w[t].push(e)})),n.length&&(T[t]=new RegExp("^("+n.join("|")+")$"))}));const C={};let N,E,S,j,k,D,L;d(t.transformTags,(function(e,t){let n;"function"==typeof e?n=e:"string"==typeof e&&(n=g.simpleTransform(e)),"*"===t?N=n:C[t]=n}));let O=!1;P();const R=new r.Parser({onopentag:function(e,n){if(t.enforceHtmlBoundary&&"html"===e&&P(),D)return void L++;const r=new b(e,n);S.push(r);let i=!1;const c=!!r.text;let u;if(f(C,e)&&(u=C[e](e,n),r.attribs=n=u.attribs,void 0!==u.text&&(r.innerText=u.text),e!==u.tagName&&(r.name=e=u.tagName,k[E]=u.tagName)),N&&(u=N(e,n),r.attribs=n=u.attribs,e!==u.tagName&&(r.name=e=u.tagName,k[E]=u.tagName)),(!1!==t.allowedTags&&-1===(t.allowedTags||[]).indexOf(e)||"recursiveEscape"===t.disallowedTagsMode&&!function(e){for(const t in e)if(f(e,t))return!1;return!0}(j)||null!=t.nestingLimit&&E>=t.nestingLimit)&&(i=!0,j[E]=!0,"discard"===t.disallowedTagsMode&&-1!==I.indexOf(e)&&(D=!0,L=1),j[E]=!0),E++,i){if("discard"===t.disallowedTagsMode)return;v=y,y=""}y+="<"+e,"script"===e&&(t.allowedScriptHostnames||t.allowedScriptDomains)&&(r.innerText=""),(!x||f(x,e)||x["*"])&&d(n,(function(n,i){if(!h.test(i))return void delete r.attribs[i];let c=!1;if(!x||f(x,e)&&-1!==x[e].indexOf(i)||x["*"]&&-1!==x["*"].indexOf(i)||f(M,e)&&M[e].test(i)||M["*"]&&M["*"].test(i))c=!0;else if(x&&x[e])for(const t of x[e])if(o(t)&&t.name&&t.name===i){c=!0;let e="";if(!0===t.multiple){const r=n.split(" ");for(const n of r)-1!==t.values.indexOf(n)&&(""===e?e=n:e+=" "+n)}else t.values.indexOf(n)>=0&&(e=n);n=e}if(c){if(-1!==t.allowedSchemesAppliedToAttributes.indexOf(i)&&U(e,n))return void delete r.attribs[i];if("script"===e&&"src"===i){let e=!0;try{const r=_(n);if(t.allowedScriptHostnames||t.allowedScriptDomains){const n=(t.allowedScriptHostnames||[]).find((function(e){return e===r.url.hostname})),i=(t.allowedScriptDomains||[]).find((function(e){return r.url.hostname===e||r.url.hostname.endsWith(`.${e}`)}));e=n||i}}catch(t){e=!1}if(!e)return void delete r.attribs[i]}if("iframe"===e&&"src"===i){let e=!0;try{const r=_(n);if(r.isRelativeUrl)e=f(t,"allowIframeRelativeUrls")?t.allowIframeRelativeUrls:!t.allowedIframeHostnames&&!t.allowedIframeDomains;else if(t.allowedIframeHostnames||t.allowedIframeDomains){const n=(t.allowedIframeHostnames||[]).find((function(e){return e===r.url.hostname})),i=(t.allowedIframeDomains||[]).find((function(e){return r.url.hostname===e||r.url.hostname.endsWith(`.${e}`)}));e=n||i}}catch(t){e=!1}if(!e)return void delete r.attribs[i]}if("srcset"===i)try{let e=s(n);if(e.forEach((function(e){U("srcset",e.url)&&(e.evil=!0)})),e=p(e,(function(e){return!e.evil})),!e.length)return void delete r.attribs[i];n=p(e,(function(e){return!e.evil})).map((function(e){if(!e.url)throw new Error("URL missing");return e.url+(e.w?` ${e.w}w`:"")+(e.h?` ${e.h}h`:"")+(e.d?` ${e.d}x`:"")})).join(", "),r.attribs[i]=n}catch(e){return void delete r.attribs[i]}if("class"===i){const t=w[e],o=w["*"],s=T[e],l=A[e],c=[s,T["*"]].concat(l).filter((function(e){return e}));if(!(u=n,d=t&&o?a(t,o):t||o,g=c,n=d?(u=u.split(/\s+/)).filter((function(e){return-1!==d.indexOf(e)||g.some((function(t){return t.test(e)}))})).join(" "):u).length)return void delete r.attribs[i]}if("style"===i)try{if(n=function(e){return e.nodes[0].nodes.reduce((function(e,t){return e.push(`${t.prop}:${t.value}${t.important?" !important":""}`),e}),[]).join(";")}(function(e,t){if(!t)return e;const n=e.nodes[0];let r;return r=t[n.selector]&&t["*"]?a(t[n.selector],t["*"]):t[n.selector]||t["*"],r&&(e.nodes[0].nodes=n.nodes.reduce(function(e){return function(t,n){return f(e,n.prop)&&e[n.prop].some((function(e){return e.test(n.value)}))&&t.push(n),t}}(r),[])),e}(l(e+" {"+n+"}"),t.allowedStyles)),0===n.length)return void delete r.attribs[i]}catch(e){return void delete r.attribs[i]}y+=" "+i,n&&n.length&&(y+='="'+z(n,!0)+'"')}else delete r.attribs[i];var u,d,g})),-1!==t.selfClosing.indexOf(e)?y+=" />":(y+=">",!r.innerText||c||t.textFilter||(y+=z(r.innerText),O=!0)),i&&(y=v+z(y),v="")},ontext:function(e){if(D)return;const n=S[S.length-1];let r;if(n&&(r=n.tag,e=void 0!==n.innerText?n.innerText:e),"discard"!==t.disallowedTagsMode||"script"!==r&&"style"!==r){const n=z(e,!1);t.textFilter&&!O?y+=t.textFilter(n,r):O||(y+=n)}else y+=e;S.length&&(S[S.length-1].text+=e)},onclosetag:function(e){if(D){if(L--,L)return;D=!1}const n=S.pop();if(!n)return;if(n.tag!==e)return void S.push(n);D=!!t.enforceHtmlBoundary&&"html"===e,E--;const r=j[E];if(r){if(delete j[E],"discard"===t.disallowedTagsMode)return void n.updateParentNodeText();v=y,y=""}k[E]&&(e=k[E],delete k[E]),t.exclusiveFilter&&t.exclusiveFilter(n)?y=y.substr(0,n.tagPosition):(n.updateParentNodeMediaChildren(),n.updateParentNodeText(),-1===t.selfClosing.indexOf(e)?(y+="</"+e+">",r&&(y=v+z(y),v=""),O=!1):r&&(y=v,v=""))}},t.parser);return R.write(e),R.end(),y;function P(){y="",E=0,S=[],j={},k={},D=!1,L=0}function z(e,n){return"string"!=typeof e&&(e+=""),t.parser.decodeEntities&&(e=e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),n&&(e=e.replace(/"/g,"""))),e=e.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&").replace(/</g,"<").replace(/>/g,">"),n&&(e=e.replace(/"/g,""")),e}function U(e,n){for(n=n.replace(/[\x00-\x20]+/g,"");;){const e=n.indexOf("\x3c!--");if(-1===e)break;const t=n.indexOf("--\x3e",e+4);if(-1===t)break;n=n.substring(0,e)+n.substring(t+3)}const r=n.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!r)return!!n.match(/^[/\\]{2}/)&&!t.allowProtocolRelative;const i=r[1].toLowerCase();return f(t.allowedSchemesByTag,e)?-1===t.allowedSchemesByTag[e].indexOf(i):!t.allowedSchemes||-1===t.allowedSchemes.indexOf(i)}function _(e){if((e=e.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//")).startsWith("relative:"))throw new Error("relative: exploit attempt");let t="relative://relative-site";for(let e=0;e<100;e++)t+=`/${e}`;const n=new URL(e,t);return{isRelativeUrl:n&&"relative-site"===n.hostname&&"relative:"===n.protocol,url:n}}}const m={decodeEntities:!0};g.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","main","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:!0,enforceHtmlBoundary:!1},g.simpleTransform=function(e,t,n){return n=void 0===n||n,t=t||{},function(r,i){let o;if(n)for(o in t)i[o]=t[o];else i=t;return{tagName:e,attribs:i}}}},5555:e=>{"use strict";e.exports=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},2145:function(e,t){!function(e){"use strict";function t(e){return null==e}function n(e){throw new Error("Argument "+e+" is empty.")}function r(e){return"function"==typeof e&&"getType"in e}function i(e){throw new Error("Argument "+e+' is invalid, it should be an action-creator instance from "typesafe-actions"')}function o(e,t){if(null==e)throw new Error("Argument contains array with empty element at index "+t);if(null==e.getType)throw new Error("Argument contains array with invalid element at index "+t+', it should be an action-creator instance from "typesafe-actions"')}function a(e){return"string"==typeof e||"symbol"==typeof e}function s(e){return!a(e)}function l(e){throw new Error("Argument "+e+" is invalid, it should be an action type of type: string | symbol")}function c(e,t){if(null==e)throw new Error("Argument contains array with empty element at index "+t);if("string"!=typeof e&&"symbol"!=typeof e)throw new Error("Argument contains array with invalid element at index "+t+", it should be of type: string | symbol")}function u(e,r,o,a){return t(e)&&n(1),s(e)&&i(1),{type:e,payload:r,meta:o,error:a}}function d(e,r){return t(e)&&n(1),s(e)&&l(1),Object.assign((function(){var t=null!=r?r.apply(void 0,arguments):void 0;return Object.assign({type:e},t)}),{getType:function(){return e},toString:function(){return e}})}function f(e,r,i){return t(e)&&n(1),s(e)&&l(1),function(){return d(e,(function(){var e=arguments.length<=0?void 0:arguments[0],t=arguments.length<=1?void 0:arguments[1];return null==r&&null==i||(e=null!=r?r.apply(void 0,arguments):void 0,t=null!=i?i.apply(void 0,arguments):void 0),Object.assign({},void 0!==e&&{payload:e},{},void 0!==t&&{meta:t})}))}}function p(e){return t(e)&&n(1),r(e)||i(1),e.getType()}function h(e,r){t(e)&&n(1),s(e)&&l(1);var i=null!=r?r(e):function(){return{type:e}};return Object.assign(i,{getType:function(){return e},toString:function(){return e}})}var g={createAction:function(e,t){var n=null==t?function(){return u(e)}:t(u.bind(null,e));return Object.assign(n,{getType:function(){return e},toString:function(){return e}})},createCustomAction:h,createStandardAction:function(e){return t(e)&&n(1),s(e)&&l(1),Object.assign((function(){return h(e,(function(e){return function(t,n){return{type:e,payload:t,meta:n}}}))}),{map:function(t){return h(e,(function(e){return function(n,r){return Object.assign(t(n,r),{type:e})}}))}})}};e.action=u,e.createAction=f,e.createAsyncAction=function(e,t,n,r){return function(){var i=[e,t,n,r].map((function(e,t){return Array.isArray(e)?f(e[0],e[1],e[2])():"string"==typeof e||"symbol"==typeof e?f(e)():void(t<3&&function(e){throw new Error("Argument "+e+' is invalid, it should be an action type of "string | symbol" or a tuple of "[string | symbol, Function, Function?]"')}(t))}));return{request:i[0],success:i[1],failure:i[2],cancel:i[3]}}},e.createCustomAction=d,e.createReducer=function e(t,n){void 0===n&&(n={});var i=Object.assign({},n),o=function(n,o){var s=Array.isArray(n)?n:[n],l={};return s.map((function(e,t){return r(e)?p(e):a(e)?e:function(e){throw new Error("Argument "+e+' is invalid, it should be an action-creator instance from "typesafe-actions" or action type of type: string | symbol')}(t+1)})).forEach((function(e){return l[e]=o})),e(t,Object.assign({},i,{},l))};return Object.assign((function(e,n){if(void 0===e&&(e=t),i.hasOwnProperty(n.type)){var r=i[n.type];if("function"!=typeof r)throw Error('Reducer under "'+n.type+'" key is not a valid reducer');return r(e,n)}return e}),{handlers:Object.assign({},i),handleAction:o,handleType:o})},e.deprecated=g,e.getType=p,e.isActionOf=function(e,r){t(e)&&n(1);var i=Array.isArray(e)?e:[e];i.forEach(o);var a=function(e){return i.some((function(t){return e.type===t.getType()}))};return void 0===r?a:a(r)},e.isOfType=function(e,r){t(e)&&n(1);var i=Array.isArray(e)?e:[e];i.forEach(c);var o=function(e){return i.includes(e.type)};return void 0===r?o:o(r)}}(t)},452:(e,t,n)=>{"use strict";var r=n(9787),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useState,a=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}var u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=o({inst:{value:n,getSnapshot:t}}),i=r[0].inst,u=r[1];return s((function(){i.value=n,i.getSnapshot=t,c(i)&&u({inst:i})}),[e,n,t]),a((function(){return c(i)&&u({inst:i}),e((function(){c(i)&&u({inst:i})}))}),[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:u},402:(e,t,n)=>{"use strict";var r=n(9787),i=n(3100),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=i.useSyncExternalStore,s=r.useRef,l=r.useEffect,c=r.useMemo,u=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var d=s(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=c((function(){function e(e){if(!l){if(l=!0,a=e,e=r(e),void 0!==i&&f.hasValue){var t=f.value;if(i(t,e))return s=t}return s=e}if(t=s,o(a,e))return t;var n=r(e);return void 0!==i&&i(t,n)?t:(a=e,s=n)}var a,s,l=!1,c=void 0===n?null:n;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]}),[t,n,r,i]);var p=a(e,d[0],d[1]);return l((function(){f.hasValue=!0,f.value=p}),[p]),u(p),p}},3100:(e,t,n)=>{"use strict";e.exports=n(452)},1110:(e,t,n)=>{"use strict";e.exports=n(402)},9787:t=>{"use strict";t.exports=e},5156:e=>{"use strict";e.exports=t},764:()=>{},5158:()=>{},8635:()=>{},139:()=>{},3653:()=>{},8864:e=>{e.exports={nanoid:(e=21)=>{let t="",n=e;for(;n--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},customAlphabet:(e,t=21)=>(n=t)=>{let r="",i=n;for(;i--;)r+=e[Math.random()*e.length|0];return r}}},9388:e=>{"use strict";e.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},2059: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":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"","InvisibleTimes":"","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"","NegativeThickSpace":"","NegativeThinSpace":"","NegativeVeryThinSpace":"","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":" ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"","zwnj":""}')},2184:e=>{"use strict";e.exports=JSON.parse('{"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":"ÿ"}')},1542:e=>{"use strict";e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var o=r[e]={exports:{}};return n[e].call(o.exports,o,o.exports,i),o.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return(()=>{"use strict";i.r(o),i.d(o,{Attachments:()=>dl,Exam:()=>pg,GradingInstructions:()=>Cg,Results:()=>sm,parseExam:()=>Om});var e=i(9787),t=i.n(e);function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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},r(e)}function a(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,"string");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===r(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,a(r.key),r)}}function l(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function c(e,t,n){return(t=a(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u,d=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,f={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},p=function(e){return f[e]},h={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:function(e){return e.replace(d,p)}},g=(0,e.createContext)(),m=function(){function e(){n(this,e),this.usedNamespaces={}}return l(e,[{key:"addUsedNamespaces",value:function(e){var t=this;e.forEach((function(e){t.usedNamespaces[e]||(t.usedNamespaces[e]=!0)}))}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}]),e}();function y(t){var n=t.i18n,r=t.defaultNS,i=t.children,o=(0,e.useMemo)((function(){return{i18n:n,defaultNS:r}}),[n,r]);return(0,e.createElement)(g.Provider,{value:o},i)}const v=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e},b=function(e,t,n){for(var r=-1,i=Object(e),o=n(e),a=o.length;a--;){var s=o[I?a:++r];if(!1===t(i[s],s,i))break}return e};var I;const x=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r},M="object"==typeof global&&global&&global.Object===Object&&global;var w="object"==typeof self&&self&&self.Object===Object&&self;const T=M||w||Function("return this")(),A=T.Symbol;var C=Object.prototype,N=C.hasOwnProperty,E=C.toString,S=A?A.toStringTag:void 0;var j=Object.prototype.toString;var k=A?A.toStringTag:void 0;const D=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":k&&k in Object(e)?function(e){var t=N.call(e,S),n=e[S];try{e[S]=void 0;var r=!0}catch(e){}var i=E.call(e);return r&&(t?e[S]=n:delete e[S]),i}(e):function(e){return j.call(e)}(e)},L=function(e){return null!=e&&"object"==typeof e},O=function(e){return L(e)&&"[object Arguments]"==D(e)};var R=Object.prototype,P=R.hasOwnProperty,z=R.propertyIsEnumerable;const U=O(function(){return arguments}())?O:function(e){return L(e)&&P.call(e,"callee")&&!z.call(e,"callee")},_=Array.isArray;var Z="object"==typeof exports&&exports&&!exports.nodeType&&exports,G=Z&&"object"==typeof module&&module&&!module.nodeType&&module,B=G&&G.exports===Z?T.Buffer:void 0;const F=(B?B.isBuffer:void 0)||function(){return!1};var Y=/^(?:0|[1-9]\d*)$/;const W=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&Y.test(e))&&e>-1&&e%1==0&&e<t},H=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991};var V={};V["[object Float32Array]"]=V["[object Float64Array]"]=V["[object Int8Array]"]=V["[object Int16Array]"]=V["[object Int32Array]"]=V["[object Uint8Array]"]=V["[object Uint8ClampedArray]"]=V["[object Uint16Array]"]=V["[object Uint32Array]"]=!0,V["[object Arguments]"]=V["[object Array]"]=V["[object ArrayBuffer]"]=V["[object Boolean]"]=V["[object DataView]"]=V["[object Date]"]=V["[object Error]"]=V["[object Function]"]=V["[object Map]"]=V["[object Number]"]=V["[object Object]"]=V["[object RegExp]"]=V["[object Set]"]=V["[object String]"]=V["[object WeakMap]"]=!1;const q=function(e){return function(t){return e(t)}};var Q="object"==typeof exports&&exports&&!exports.nodeType&&exports,J=Q&&"object"==typeof module&&module&&!module.nodeType&&module,X=J&&J.exports===Q&&M.process;const K=function(){try{return J&&J.require&&J.require("util").types||X&&X.binding&&X.binding("util")}catch(e){}}();var $=K&&K.isTypedArray;const ee=$?q($):function(e){return L(e)&&H(e.length)&&!!V[D(e)]};var te=Object.prototype.hasOwnProperty;const ne=function(e,t){var n=_(e),r=!n&&U(e),i=!n&&!r&&F(e),o=!n&&!r&&!i&&ee(e),a=n||r||i||o,s=a?x(e.length,String):[],l=s.length;for(var c in e)!t&&!te.call(e,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||W(c,l))||s.push(c);return s};var re=Object.prototype;const ie=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||re)},oe=function(e,t){return function(n){return e(t(n))}},ae=oe(Object.keys,Object);var se=Object.prototype.hasOwnProperty;const le=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},ce=function(e){if(!le(e))return!1;var t=D(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},ue=function(e){return null!=e&&H(e.length)&&!ce(e)},de=function(e){return ue(e)?ne(e):function(e){if(!ie(e))return ae(e);var t=[];for(var n in Object(e))se.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)},fe=function(e,t){return e&&b(e,t,de)},pe=function(e,t){return function(n,r){if(null==n)return n;if(!ue(n))return e(n,r);for(var i=n.length,o=t?i:-1,a=Object(n);(t?o--:++o<i)&&!1!==r(a[o],o,a););return n}}(fe),he=function(e){return e},ge=function(e){return"function"==typeof e?e:he},me=function(e,t){return(_(e)?v:pe)(e,ge(t))},ye=" ";function ve(e,t){const n=null!=t?be(t):void 0,r=[];for(;null!=e.parentElement;)e=e.parentElement,(null==n||n(e))&&r.push(e);return r}function be(e){return"function"==typeof e?t=>t.namespaceURI===je&&e(t):Array.isArray(e)?t=>t.namespaceURI===je&&e.includes(t.localName):t=>t.namespaceURI===je&&t.localName===e}function Ie(e,t){const n=be(t);return function e(t){for(let r=0,i=t.children.length;r<i;r++){const i=t.children[r];if(n(i))return i;const o=e(i);if(null!=o)return o}}(e)}function xe(e,t,n=!0){const r=be(t),i=[];return function e(t){for(let o=0,a=t.children.length;o<a;o++){const a=t.children[o];r(a)?(i.push(a),n&&e(a)):e(a)}}(e),i}function Me(e,t){const n=be(t);for(;null!=e.parentElement;)if(n(e=e.parentElement))return e}function we(e,t){const n=be(t);for(let t=0,r=e.children.length;t<r;t++){const r=e.children[t];if(n(r))return r}}function Te(e,t){var n;return null!==(n=e.getAttribute(t))&&void 0!==n?n:void 0}function Ae(e,t){const n=e.getAttribute(t);return null!=n?Number(n):void 0}function Ce(e,t){return"true"===Te(e,t)}function Ne(e,t){const n=[];for(let r=0,i=e.children.length;r<i;r++){const i=e.children[r];n.push(t(i,r))}return n}function Ee(e){return xe(e,["choice-answer","dropdown-answer","text-answer","scored-text-answer"],!0)}function Se(e,t,...n){const r=document.createElement(e);return function(e,t){me(t,((t,n)=>{"css"===n?e.style.cssText=t:n.startsWith("data-")?e.setAttribute(n,t):e[n]=t}))}(r,t),n.forEach((e=>r.appendChild("string"==typeof e?new Text(e):e))),r}const je="http://ylioppilastutkinto.fi/exam.xsd";function ke(e){function n(r,i=0){return function(e,t){const n=e.childNodes.length,r=new Array(n);for(let i=0;i<n;i++)r[i]=t(e.childNodes[i],i);return r}(r,((r,o)=>function(r,i,o){switch(r.nodeType){case Node.TEXT_NODE:case Node.CDATA_SECTION_NODE:return 0===o?function(e){return e.textContent}(r):null;case Node.ELEMENT_NODE:return function(r,i,o){switch(r.namespaceURI){case"http://www.w3.org/1999/xhtml":return function(e,r,i){const o=e.hasChildNodes()?n(e,i):null;if(0===i){const n=e.localName,i=function(e,t){const n={key:De(e,t)};for(const t of e.attributes)n["class"===t.localName?"className":t.localName]=t.value;return n}(e,r);return t().createElement(n,{...i},o)}return o}(r,i,o);case je:return function(r,i){const o=e[r.localName],a=r.getAttribute("class")||void 0;return o?t().createElement(o,{element:r,className:a,renderChildNodes:n,key:De(r,i)}):null}(r,i);default:throw new Error(`Unrecognized element: ${r.localName}`)}}(r,i,o);default:return null}}(r,o,i)))}return n}function De(e,t){return`${e.localName}-${t}`}function Le(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oe(e,t){return Oe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Oe(e,t)}function Re(e,t){if("function"!=typeof t&&null!==t)throw new 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&&Oe(e,t)}function Pe(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 Le(e)}function ze(e){return ze=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ze(e)}function Ue(e){if(Array.isArray(e))return e}function _e(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 Ze(e,t){if(e){if("string"==typeof e)return _e(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)?_e(e,t):void 0}}function Ge(){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 Be(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 Fe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Be(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Be(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ye={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){console&&console[e]&&console[e].apply(console,t)}},We=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n(this,e),this.init(t,r)}return l(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||Ye,this.options=t,this.debug=t.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}},{key:"warn",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}},{key:"error",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}},{key:"deprecate",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(e,t,n,r){return r&&!this.debug?null:("string"==typeof e[0]&&(e[0]="".concat(n).concat(this.prefix," ").concat(e[0])),this.logger[t](e))}},{key:"create",value:function(t){return new e(this.logger,Fe(Fe({},{prefix:"".concat(this.prefix,":").concat(t,":")}),this.options))}},{key:"clone",value:function(t){return(t=t||this.options).prefix=t.prefix||this.prefix,new e(this.logger,t)}}]),e}(),He=new We,Ve=function(){function e(){n(this,e),this.observers={}}return l(e,[{key:"on",value:function(e,t){var n=this;return e.split(" ").forEach((function(e){n.observers[e]=n.observers[e]||[],n.observers[e].push(t)})),this}},{key:"off",value:function(e,t){this.observers[e]&&(t?this.observers[e]=this.observers[e].filter((function(e){return e!==t})):delete this.observers[e])}},{key:"emit",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.observers[e]&&[].concat(this.observers[e]).forEach((function(e){e.apply(void 0,n)})),this.observers["*"]&&[].concat(this.observers["*"]).forEach((function(t){t.apply(t,[e].concat(n))}))}}]),e}();function qe(){var e,t,n=new Promise((function(n,r){e=n,t=r}));return n.resolve=e,n.reject=t,n}function Qe(e){return null==e?"":""+e}function Je(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function i(){return!e||"string"==typeof e}for(var o="string"!=typeof t?[].concat(t):t.split(".");o.length>1;){if(i())return{};var a=r(o.shift());!e[a]&&n&&(e[a]=new n),e=Object.prototype.hasOwnProperty.call(e,a)?e[a]:{}}return i()?{}:{obj:e,k:r(o.shift())}}function Xe(e,t,n){var r=Je(e,t,Object);r.obj[r.k]=n}function Ke(e,t){var n=Je(e,t),r=n.obj,i=n.k;if(r)return r[i]}function $e(e,t,n){var r=Ke(e,n);return void 0!==r?r:Ke(t,n)}function et(e,t,n){for(var r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?"string"==typeof e[r]||e[r]instanceof String||"string"==typeof t[r]||t[r]instanceof String?n&&(e[r]=t[r]):et(e[r],t[r],n):e[r]=t[r]);return e}function tt(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var nt={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function rt(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(function(e){return nt[e]})):e}var it="undefined"!=typeof window&&window.navigator&&void 0===window.navigator.userAgentData&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,ot=[" ",",","?","!",";"];function at(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 st(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?at(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):at(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function lt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),i=e,o=0;o<r.length;++o){if(!i)return;if("string"==typeof i[r[o]]&&o+1<r.length)return;if(void 0===i[r[o]]){for(var a=2,s=r.slice(o,o+a).join(n),l=i[s];void 0===l&&r.length>o+a;)a++,l=i[s=r.slice(o,o+a).join(n)];if(void 0===l)return;if(null===l)return null;if(t.endsWith(s)){if("string"==typeof l)return l;if(s&&"string"==typeof l[s])return l[s]}var c=r.slice(o+a).join(n);return c?lt(l,c,n):void 0}i=i[r[o]]}return i}}var ct=function(e){Re(o,e);var t,r,i=(t=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.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(){var e,n=ze(t);if(r){var i=ze(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return Pe(this,e)});function o(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return n(this,o),t=i.call(this),it&&Ve.call(Le(t)),t.data=e||{},t.options=r,void 0===t.options.keySeparator&&(t.options.keySeparator="."),void 0===t.options.ignoreJSONStructure&&(t.options.ignoreJSONStructure=!0),t}return l(o,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,o=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure,a=[e,t];n&&"string"!=typeof n&&(a=a.concat(n)),n&&"string"==typeof n&&(a=a.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(a=e.split("."));var s=Ke(this.data,a);return s||!o||"string"!=typeof n?s:lt(this.data&&this.data[e]&&this.data[e][t],n,i)}},{key:"addResource",value:function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},o=this.options.keySeparator;void 0===o&&(o=".");var a=[e,t];n&&(a=a.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(r=t,t=(a=e.split("."))[1]),this.addNamespaces(t),Xe(this.data,a,r),i.silent||this.emit("added",e,t,n,r)}},{key:"addResources",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var i in n)"string"!=typeof n[i]&&"[object Array]"!==Object.prototype.toString.apply(n[i])||this.addResource(e,t,i,n[i],{silent:!0});r.silent||this.emit("added",e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},a=[e,t];e.indexOf(".")>-1&&(r=n,n=t,t=(a=e.split("."))[1]),this.addNamespaces(t);var s=Ke(this.data,a)||{};r?et(s,n,i):s=st(st({},s),n),Xe(this.data,a,s),o.silent||this.emit("added",e,t,n)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?st(st({},{}),this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"hasLanguageSomeTranslations",value:function(e){var t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((function(e){return t[e]&&Object.keys(t[e]).length>0}))}},{key:"toJSON",value:function(){return this.data}}]),o}(Ve),ut={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,i){var o=this;return e.forEach((function(e){o.processors[e]&&(t=o.processors[e].process(t,n,r,i))})),t}};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 ft(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){c(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}var pt={},ht=function(e){Re(a,e);var t,i,o=(t=a,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.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(){var e,n=ze(t);if(i){var r=ze(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Pe(this,e)});function a(e){var t,r,i,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n(this,a),t=o.call(this),it&&Ve.call(Le(t)),r=e,i=Le(t),["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"].forEach((function(e){r[e]&&(i[e]=r[e])})),t.options=s,void 0===t.options.keySeparator&&(t.options.keySeparator="."),t.logger=He.create("translator"),t}return l(a,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;var n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,i=t.ns||this.options.defaultNS||[],o=n&&e.indexOf(n)>-1,a=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||function(e,t,n){t=t||"",n=n||"";var r=ot.filter((function(e){return t.indexOf(e)<0&&n.indexOf(e)<0}));if(0===r.length)return!0;var i=new RegExp("(".concat(r.map((function(e){return"?"===e?"\\?":e})).join("|"),")")),o=!i.test(e);if(!o){var a=e.indexOf(n);a>0&&!i.test(e.substring(0,a))&&(o=!0)}return o}(e,n,r));if(o&&!a){var s=e.match(this.interpolator.nestingRegexp);if(s&&s.length>0)return{key:e,namespaces:i};var l=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(l[0])>-1)&&(i=l.shift()),e=l.join(r)}return"string"==typeof i&&(i=[i]),{key:e,namespaces:i}}},{key:"translate",value:function(e,t,n){var i=this;if("object"!==r(t)&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);var o=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,s=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,l=this.extractFromKey(e[e.length-1],t),c=l.key,u=l.namespaces,d=u[u.length-1],f=t.lng||this.language,p=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(f&&"cimode"===f.toLowerCase()){if(p){var h=t.nsSeparator||this.options.nsSeparator;return o?(g.res="".concat(d).concat(h).concat(c),g):"".concat(d).concat(h).concat(c)}return o?(g.res=c,g):c}var g=this.resolve(e,t),m=g&&g.res,y=g&&g.usedKey||c,v=g&&g.exactUsedKey||c,b=Object.prototype.toString.apply(m),I=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,x=!this.i18nFormat||this.i18nFormat.handleAsObject;if(x&&m&&"string"!=typeof m&&"boolean"!=typeof m&&"number"!=typeof m&&["[object Number]","[object Function]","[object RegExp]"].indexOf(b)<0&&("string"!=typeof I||"[object Array]"!==b)){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var M=this.options.returnedObjectHandler?this.options.returnedObjectHandler(y,m,ft(ft({},t),{},{ns:u})):"key '".concat(c," (").concat(this.language,")' returned an object instead of string.");return o?(g.res=M,g):M}if(s){var w="[object Array]"===b,T=w?[]:{},A=w?v:y;for(var C in m)if(Object.prototype.hasOwnProperty.call(m,C)){var N="".concat(A).concat(s).concat(C);T[C]=this.translate(N,ft(ft({},t),{joinArrays:!1,ns:u})),T[C]===N&&(T[C]=m[C])}m=T}}else if(x&&"string"==typeof I&&"[object Array]"===b)(m=m.join(I))&&(m=this.extendTranslation(m,e,t,n));else{var E=!1,S=!1,j=void 0!==t.count&&"string"!=typeof t.count,k=a.hasDefaultValue(t),D=j?this.pluralResolver.getSuffix(f,t.count,t):"",L=t["defaultValue".concat(D)]||t.defaultValue;!this.isValidLookup(m)&&k&&(E=!0,m=L),this.isValidLookup(m)||(S=!0,m=c);var O=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&S?void 0:m,R=k&&L!==m&&this.options.updateMissing;if(S||E||R){if(this.logger.log(R?"updateKey":"missingKey",f,d,c,R?L:m),s){var P=this.resolve(c,ft(ft({},t),{},{keySeparator:!1}));P&&P.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var z=[],U=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&U&&U[0])for(var _=0;_<U.length;_++)z.push(U[_]);else"all"===this.options.saveMissingTo?z=this.languageUtils.toResolveHierarchy(t.lng||this.language):z.push(t.lng||this.language);var Z=function(e,n,r){var o=k&&r!==m?r:O;i.options.missingKeyHandler?i.options.missingKeyHandler(e,d,n,o,R,t):i.backendConnector&&i.backendConnector.saveMissing&&i.backendConnector.saveMissing(e,d,n,o,R,t),i.emit("missingKey",e,d,n,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&j?z.forEach((function(e){i.pluralResolver.getSuffixes(e,t).forEach((function(n){Z([e],c+n,t["defaultValue".concat(n)]||L)}))})):Z(z,c,L))}m=this.extendTranslation(m,e,t,g,n),S&&m===c&&this.options.appendNamespaceToMissingKey&&(m="".concat(d,":").concat(c)),(S||E)&&this.options.parseMissingKeyHandler&&(m="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?"".concat(d,":").concat(c):c,E?m:void 0):this.options.parseMissingKeyHandler(m))}return o?(g.res=m,g):m}},{key:"extendTranslation",value:function(e,t,n,r,i){var o=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,ft(ft({},this.options.interpolation.defaultVariables),n),r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(ft(ft({},n),{interpolation:ft(ft({},this.options.interpolation),n.interpolation)}));var a,s="string"==typeof e&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(s){var l=e.match(this.interpolator.nestingRegexp);a=l&&l.length}var c=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(c=ft(ft({},this.options.interpolation.defaultVariables),c)),e=this.interpolator.interpolate(e,c,n.lng||this.language,n),s){var u=e.match(this.interpolator.nestingRegexp);a<(u&&u.length)&&(n.nest=!1)}!1!==n.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];return i&&i[0]===r[0]&&!n.context?(o.logger.warn("It seems you are nesting recursively key: ".concat(r[0]," in key: ").concat(t[0])),null):o.translate.apply(o,r.concat([t]))}),n)),n.interpolation&&this.interpolator.reset()}var d=n.postProcess||this.options.postProcess,f="string"==typeof d?[d]:d;return null!=e&&f&&f.length&&!1!==n.applyPostProcessor&&(e=ut.handle(f,e,t,this.options&&this.options.postProcessPassResolved?ft({i18nResolved:r},n):n,this)),e}},{key:"resolve",value:function(e){var t,n,r,i,o,a=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach((function(e){if(!a.isValidLookup(t)){var l=a.extractFromKey(e,s),c=l.key;n=c;var u=l.namespaces;a.options.fallbackNS&&(u=u.concat(a.options.fallbackNS));var d=void 0!==s.count&&"string"!=typeof s.count,f=d&&!s.ordinal&&0===s.count&&a.pluralResolver.shouldUseIntlApi(),p=void 0!==s.context&&("string"==typeof s.context||"number"==typeof s.context)&&""!==s.context,h=s.lngs?s.lngs:a.languageUtils.toResolveHierarchy(s.lng||a.language,s.fallbackLng);u.forEach((function(e){a.isValidLookup(t)||(o=e,!pt["".concat(h[0],"-").concat(e)]&&a.utils&&a.utils.hasLoadedNamespace&&!a.utils.hasLoadedNamespace(o)&&(pt["".concat(h[0],"-").concat(e)]=!0,a.logger.warn('key "'.concat(n,'" for languages "').concat(h.join(", "),'" won\'t get resolved as namespace "').concat(o,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),h.forEach((function(n){if(!a.isValidLookup(t)){i=n;var o,l=[c];if(a.i18nFormat&&a.i18nFormat.addLookupKeys)a.i18nFormat.addLookupKeys(l,c,n,e,s);else{var u;d&&(u=a.pluralResolver.getSuffix(n,s.count,s));var h="".concat(a.options.pluralSeparator,"zero");if(d&&(l.push(c+u),f&&l.push(c+h)),p){var g="".concat(c).concat(a.options.contextSeparator).concat(s.context);l.push(g),d&&(l.push(g+u),f&&l.push(g+h))}}for(;o=l.pop();)a.isValidLookup(t)||(r=o,t=a.getResource(n,e,o,s))}})))}))}})),{res:t,usedKey:n,exactUsedKey:r,usedLng:i,usedNS:o}}},{key:"isValidLookup",value:function(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}}],[{key:"hasDefaultValue",value:function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&"defaultValue"===t.substring(0,12)&&void 0!==e[t])return!0;return!1}}]),a}(Ve);function gt(e){return e.charAt(0).toUpperCase()+e.slice(1)}var mt=function(){function e(t){n(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=He.create("languageUtils")}return l(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map((function(e){return e.toLowerCase()})):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=gt(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=gt(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=gt(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach((function(e){if(!t){var r=n.formatLanguageCode(e);n.options.supportedLngs&&!n.isSupportedCode(r)||(t=r)}})),!t&&this.options.supportedLngs&&e.forEach((function(e){if(!t){var r=n.getLanguagePartFromCode(e);if(n.isSupportedCode(r))return t=r;t=n.options.supportedLngs.find((function(e){if(0===e.indexOf(r))return e}))}})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),i=[],o=function(e){e&&(n.isSupportedCode(e)?i.push(e):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(e))):"string"==typeof e&&o(this.formatLanguageCode(e)),r.forEach((function(e){i.indexOf(e)<0&&o(n.formatLanguageCode(e))})),i}}]),e}(),yt=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],vt={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}},bt=["v1","v2","v3"],It={zero:0,one:1,two:2,few:3,many:4,other:5},xt=function(){function e(t){var r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n(this,e),this.languageUtils=t,this.options=i,this.logger=He.create("pluralResolver"),this.options.compatibilityJSON&&"v4"!==this.options.compatibilityJSON||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=(r={},yt.forEach((function(e){e.lngs.forEach((function(t){r[t]={numbers:e.nr,plurals:vt[e.fc]}}))})),r)}return l(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(e,{type:t.ordinal?"ordinal":"cardinal"})}catch(e){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map((function(e){return"".concat(t).concat(e)}))}},{key:"getSuffixes",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((function(e,t){return It[e]-It[t]})).map((function(e){return"".concat(t.options.prepend).concat(e)})):r.numbers.map((function(r){return t.getSuffix(e,r,n)})):[]}},{key:"getSuffix",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(r.select(t)):this.getSuffixRetroCompatible(r,t):(this.logger.warn("no plural rule found for: ".concat(e)),"")}},{key:"getSuffixRetroCompatible",value:function(e,t){var n=this,r=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),i=e.numbers[r];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===i?i="plural":1===i&&(i=""));var o=function(){return n.options.prepend&&i.toString()?n.options.prepend+i.toString():i.toString()};return"v1"===this.options.compatibilityJSON?1===i?"":"number"==typeof i?"_plural_".concat(i.toString()):o():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?o():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}},{key:"shouldUseIntlApi",value:function(){return!bt.includes(this.options.compatibilityJSON)}}]),e}();function Mt(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 wt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mt(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Tt=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};n(this,e),this.logger=He.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t)}return l(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:rt,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?tt(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?tt(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?tt(t.nestingPrefix):t.nestingPrefixEscaped||tt("$t("),this.nestingSuffix=t.nestingSuffix?tt(t.nestingSuffix):t.nestingSuffixEscaped||tt(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(n,"g")}},{key:"interpolate",value:function(e,t,n,r){var i,o,a,s=this,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function c(e){return e.replace(/\$/g,"$$$$")}var u=function(e){if(e.indexOf(s.formatSeparator)<0){var i=$e(t,l,e);return s.alwaysFormat?s.format(i,void 0,n,wt(wt(wt({},r),t),{},{interpolationkey:e})):i}var o=e.split(s.formatSeparator),a=o.shift().trim(),c=o.join(s.formatSeparator).trim();return s.format($e(t,l,a),c,n,wt(wt(wt({},r),t),{},{interpolationkey:a}))};this.resetRegExp();var d=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,f=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(e){return c(e)}},{regex:this.regexp,safeValue:function(e){return s.escapeValue?c(s.escape(e)):c(e)}}].forEach((function(t){for(a=0;i=t.regex.exec(e);){var n=i[1].trim();if(void 0===(o=u(n)))if("function"==typeof d){var l=d(e,i,r);o="string"==typeof l?l:""}else if(r&&r.hasOwnProperty(n))o="";else{if(f){o=i[0];continue}s.logger.warn("missed to pass in variable ".concat(n," for interpolating ").concat(e)),o=""}else"string"==typeof o||s.useRawValueToEscape||(o=Qe(o));var c=t.safeValue(o);if(e=e.replace(i[0],c),f?(t.regex.lastIndex+=o.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,++a>=s.maxReplaces)break}})),e}},{key:"nest",value:function(e,t){var n,r,i=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=wt({},o);function s(e,t){var n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;var r=e.split(new RegExp("".concat(n,"[ ]*{"))),i="{".concat(r[1]);e=r[0];var o=(i=this.interpolate(i,a)).match(/'/g),s=i.match(/"/g);(o&&o.length%2==0&&!s||s.length%2!=0)&&(i=i.replace(/'/g,'"'));try{a=JSON.parse(i),t&&(a=wt(wt({},t),a))}catch(t){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),t),"".concat(e).concat(n).concat(i)}return delete a.defaultValue,e}for(a.applyPostProcessor=!1,delete a.defaultValue;n=this.nestingRegexp.exec(e);){var l=[],c=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var u=n[1].split(this.formatSeparator).map((function(e){return e.trim()}));n[1]=u.shift(),l=u,c=!0}if((r=t(s.call(this,n[1].trim(),a),a))&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=Qe(r)),r||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),r=""),c&&(r=l.reduce((function(e,t){return i.format(e,t,o.lng,wt(wt({},o),{},{interpolationkey:n[1].trim()}))}),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}]),e}();function At(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?At(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):At(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Nt(e){var t={};return function(n,r,i){var o=r+JSON.stringify(i),a=t[o];return a||(a=e(r,i),t[o]=a),a(n)}}var Et=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};n(this,e),this.logger=He.create("formatter"),this.options=t,this.formats={number:Nt((function(e,t){var n=new Intl.NumberFormat(e,t);return function(e){return n.format(e)}})),currency:Nt((function(e,t){var n=new Intl.NumberFormat(e,Ct(Ct({},t),{},{style:"currency"}));return function(e){return n.format(e)}})),datetime:Nt((function(e,t){var n=new Intl.DateTimeFormat(e,Ct({},t));return function(e){return n.format(e)}})),relativetime:Nt((function(e,t){var n=new Intl.RelativeTimeFormat(e,Ct({},t));return function(e){return n.format(e,t.range||"day")}})),list:Nt((function(e,t){var n=new Intl.ListFormat(e,Ct({},t));return function(e){return n.format(e)}}))},this.init(t)}return l(e,[{key:"init",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||","}},{key:"add",value:function(e,t){this.formats[e.toLowerCase().trim()]=t}},{key:"addCached",value:function(e,t){this.formats[e.toLowerCase().trim()]=Nt(t)}},{key:"format",value:function(e,t,n,r){var i=this,o=t.split(this.formatSeparator).reduce((function(e,t){var o=function(e){var t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){var r=e.split("(");t=r[0].toLowerCase().trim();var i=r[1].substring(0,r[1].length-1);"currency"===t&&i.indexOf(":")<0?n.currency||(n.currency=i.trim()):"relativetime"===t&&i.indexOf(":")<0?n.range||(n.range=i.trim()):i.split(";").forEach((function(e){if(e){var t=Ue(o=e.split(":"))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(o)||Ze(o)||Ge(),r=t[0],i=t.slice(1).join(":").trim().replace(/^'+|'+$/g,"");n[r.trim()]||(n[r.trim()]=i),"false"===i&&(n[r.trim()]=!1),"true"===i&&(n[r.trim()]=!0),isNaN(i)||(n[r.trim()]=parseInt(i,10))}var o}))}return{formatName:t,formatOptions:n}}(t),a=o.formatName,s=o.formatOptions;if(i.formats[a]){var l=e;try{var c=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},u=c.locale||c.lng||r.locale||r.lng||n;l=i.formats[a](e,u,Ct(Ct(Ct({},s),r),c))}catch(e){i.logger.warn(e)}return l}return i.logger.warn("there was no format function for ".concat(a)),e}),e);return o}}]),e}();function St(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?St(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):St(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var kt=function(e){Re(o,e);var t,r,i=(t=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.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(){var e,n=ze(t);if(r){var i=ze(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return Pe(this,e)});function o(e,t,r){var a,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return n(this,o),a=i.call(this),it&&Ve.call(Le(a)),a.backend=e,a.store=t,a.services=r,a.languageUtils=r.languageUtils,a.options=s,a.logger=He.create("backendConnector"),a.waitingReads=[],a.maxParallelReads=s.maxParallelReads||10,a.readingCalls=0,a.maxRetries=s.maxRetries>=0?s.maxRetries:5,a.retryTimeout=s.retryTimeout>=1?s.retryTimeout:350,a.state={},a.queue=[],a.backend&&a.backend.init&&a.backend.init(r,s.backend,s),a}return l(o,[{key:"queueLoad",value:function(e,t,n,r){var i=this,o={},a={},s={},l={};return e.forEach((function(e){var r=!0;t.forEach((function(t){var s="".concat(e,"|").concat(t);!n.reload&&i.store.hasResourceBundle(e,t)?i.state[s]=2:i.state[s]<0||(1===i.state[s]?void 0===a[s]&&(a[s]=!0):(i.state[s]=1,r=!1,void 0===a[s]&&(a[s]=!0),void 0===o[s]&&(o[s]=!0),void 0===l[t]&&(l[t]=!0)))})),r||(s[e]=!0)})),(Object.keys(o).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(o),pending:Object.keys(a),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(l)}}},{key:"loaded",value:function(e,t,n){var r=e.split("|"),i=r[0],o=r[1];t&&this.emit("failedLoading",i,o,t),n&&this.store.addResourceBundle(i,o,n),this.state[e]=t?-1:2;var a={};this.queue.forEach((function(n){var r,s,l,c,u;r=n.loaded,s=o,l=Je(r,[i],Object),c=l.obj,u=l.k,c[u]=c[u]||[],c[u].push(s),function(e,t){void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)}(n,e),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach((function(e){a[e]||(a[e]={});var t=n.loaded[e];t.length&&t.forEach((function(t){void 0===a[e][t]&&(a[e][t]=!0)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit("loaded",a),this.queue=this.queue.filter((function(e){return!e.done}))}},{key:"read",value:function(e,t,n){var r=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,a=arguments.length>5?arguments[5]:void 0;return e.length?this.readingCalls>=this.maxParallelReads?void this.waitingReads.push({lng:e,ns:t,fcName:n,tried:i,wait:o,callback:a}):(this.readingCalls++,this.backend[n](e,t,(function(s,l){if(r.readingCalls--,r.waitingReads.length>0){var c=r.waitingReads.shift();r.read(c.lng,c.ns,c.fcName,c.tried,c.wait,c.callback)}s&&l&&i<r.maxRetries?setTimeout((function(){r.read.call(r,e,t,n,i+1,2*o,a)}),o):a(s,l)}))):a(null,{})}},{key:"prepareLoading",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var o=this.queueLoad(e,t,r,i);if(!o.toLoad.length)return o.pending.length||i(),null;o.toLoad.forEach((function(e){n.loadOne(e)}))}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),i=r[0],o=r[1];this.read(i,o,"read",void 0,void 0,(function(r,a){r&&t.logger.warn("".concat(n,"loading namespace ").concat(o," for language ").concat(i," failed"),r),!r&&a&&t.logger.log("".concat(n,"loaded namespace ").concat(o," for language ").concat(i),a),t.loaded(e,r,a)}))}},{key:"saveMissing",value:function(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)?this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"):null!=n&&""!==n&&(this.backend&&this.backend.create&&this.backend.create(e,t,n,r,null,jt(jt({},o),{},{isUpdate:i})),e&&e[0]&&this.store.addResource(e[0],t,n,r))}}]),o}(Ve);function Dt(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function Lt(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 Ot(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lt(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Rt(){}var Pt=function(e){Re(a,e);var t,i,o=(t=a,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.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(){var e,n=ze(t);if(i){var r=ze(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Pe(this,e)});function a(){var e,t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;if(n(this,a),e=o.call(this),it&&Ve.call(Le(e)),e.options=Dt(r),e.services={},e.logger=He,e.modules={external:[]},t=Le(e),Object.getOwnPropertyNames(Object.getPrototypeOf(t)).forEach((function(e){"function"==typeof t[e]&&(t[e]=t[e].bind(t))})),i&&!e.isInitialized&&!r.isClone){if(!e.options.initImmediate)return e.init(r,i),Pe(e,Le(e));setTimeout((function(){e.init(r,i)}),0)}return e}return l(a,[{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;"function"==typeof t&&(n=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&("string"==typeof t.ns?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));var i={debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if("object"===r(e[1])&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"===r(e[2])||"object"===r(e[3])){var n=e[3]||e[2];Object.keys(n).forEach((function(e){t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}};function o(e){return e?"function"==typeof e?new e:e:null}if(this.options=Ot(Ot(Ot({},i),this.options),Dt(t)),"v1"!==this.options.compatibilityAPI&&(this.options.interpolation=Ot(Ot({},i.interpolation),this.options.interpolation)),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator),!this.options.isClone){var a;this.modules.logger?He.init(o(this.modules.logger),this.options):He.init(null,this.options),this.modules.formatter?a=this.modules.formatter:"undefined"!=typeof Intl&&(a=Et);var s=new mt(this.options);this.store=new ct(this.options.resources,this.options);var l=this.services;l.logger=He,l.resourceStore=this.store,l.languageUtils=s,l.pluralResolver=new xt(s,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!a||this.options.interpolation.format&&this.options.interpolation.format!==i.interpolation.format||(l.formatter=o(a),l.formatter.init(l,this.options),this.options.interpolation.format=l.formatter.format.bind(l.formatter)),l.interpolator=new Tt(this.options),l.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},l.backendConnector=new kt(o(this.modules.backend),l.resourceStore,l,this.options),l.backendConnector.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e.emit.apply(e,[t].concat(r))})),this.modules.languageDetector&&(l.languageDetector=o(this.modules.languageDetector),l.languageDetector.init(l,this.options.detection,this.options)),this.modules.i18nFormat&&(l.i18nFormat=o(this.modules.i18nFormat),l.i18nFormat.init&&l.i18nFormat.init(this)),this.translator=new ht(this.services,this.options),this.translator.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e.emit.apply(e,[t].concat(r))})),this.modules.external.forEach((function(t){t.init&&t.init(e)}))}if(this.format=this.options.interpolation.format,n||(n=Rt),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var c=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);c.length>0&&"dev"!==c[0]&&(this.options.lng=c[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments)}})),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments),e}}));var u=qe(),d=function(){var t=function(t,r){e.isInitialized&&!e.initializedStoreOnce&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),u.resolve(r),n(t,r)};if(e.languages&&"v1"!==e.options.compatibilityAPI&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t)};return this.options.resources||!this.options.initImmediate?d():setTimeout(d,0),u}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Rt,r="string"==typeof e?e:this.language;if("function"==typeof e&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(r&&"cimode"===r.toLowerCase())return n();var i=[],o=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach((function(e){i.indexOf(e)<0&&i.push(e)}))};r?o(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((function(e){return o(e)})),this.options.preload&&this.options.preload.forEach((function(e){return o(e)})),this.services.backendConnector.load(i,this.options.ns,(function(e){e||t.resolvedLanguage||!t.language||t.setResolvedLanguage(t.language),n(e)}))}else n(null)}},{key:"reloadResources",value:function(e,t,n){var r=qe();return e||(e=this.languages),t||(t=this.options.ns),n||(n=Rt),this.services.backendConnector.reload(e,t,(function(e){r.resolve(),n(e)})),r}},{key:"use",value:function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&ut.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"setResolvedLanguage",value:function(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(var t=0;t<this.languages.length;t++){var n=this.languages[t];if(!(["cimode","dev"].indexOf(n)>-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}},{key:"changeLanguage",value:function(e,t){var n=this;this.isLanguageChangingTo=e;var r=qe();this.emit("languageChanging",e);var i=function(e){n.language=e,n.languages=n.services.languageUtils.toResolveHierarchy(e),n.resolvedLanguage=void 0,n.setResolvedLanguage(e)},o=function(o){e||o||!n.services.languageDetector||(o=[]);var a="string"==typeof o?o:n.services.languageUtils.getBestMatchFromCodes(o);a&&(n.language||i(a),n.translator.language||n.translator.changeLanguage(a),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage(a)),n.loadResources(a,(function(e){!function(e,o){o?(i(o),n.translator.changeLanguage(o),n.isLanguageChangingTo=void 0,n.emit("languageChanged",o),n.logger.log("languageChanged",o)):n.isLanguageChangingTo=void 0,r.resolve((function(){return n.t.apply(n,arguments)})),t&&t(e,(function(){return n.t.apply(n,arguments)}))}(e,a)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(o):o(e):o(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(e,t,n){var i=this,o=function e(t,o){var a;if("object"!==r(o)){for(var s=arguments.length,l=new Array(s>2?s-2:0),c=2;c<s;c++)l[c-2]=arguments[c];a=i.options.overloadTranslationOptionHandler([t,o].concat(l))}else a=Ot({},o);a.lng=a.lng||e.lng,a.lngs=a.lngs||e.lngs,a.ns=a.ns||e.ns,a.keyPrefix=a.keyPrefix||n||e.keyPrefix;var u=i.options.keySeparator||".",d=a.keyPrefix?"".concat(a.keyPrefix).concat(u).concat(t):t;return i.t(d,a)};return"string"==typeof e?o.lng=e:o.lngs=e,o.ns=t,o.keyPrefix=n,o}},{key:"t",value:function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments)}},{key:"exists",value:function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments)}},{key:"setDefaultNamespace",value:function(e){this.options.defaultNS=e}},{key:"hasLoadedNamespace",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var r=this.resolvedLanguage||this.languages[0],i=!!this.options&&this.options.fallbackLng,o=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;var a=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};if(n.precheck){var s=n.precheck(this,a);if(void 0!==s)return s}return!(!this.hasResourceBundle(r,e)&&this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages)&&(!a(r,e)||i&&!a(o,e)))}},{key:"loadNamespaces",value:function(e,t){var n=this,r=qe();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach((function(e){n.options.ns.indexOf(e)<0&&n.options.ns.push(e)})),this.loadResources((function(e){r.resolve(),t&&t(e)})),r):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=qe();"string"==typeof e&&(e=[e]);var r=this.options.preload||[],i=e.filter((function(e){return r.indexOf(e)<0}));return i.length?(this.options.preload=r.concat(i),this.loadResources((function(e){n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){return e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),e?["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr":"rtl"}},{key:"cloneInstance",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]:Rt,r=Ot(Ot(Ot({},this.options),t),{isClone:!0}),i=new a(r);return void 0===t.debug&&void 0===t.prefix||(i.logger=i.logger.clone(t)),["store","services","language"].forEach((function(t){i[t]=e[t]})),i.services=Ot({},this.services),i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i.translator=new ht(i.services,i.options),i.translator.on("*",(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];i.emit.apply(i,[e].concat(n))})),i.init(r,n),i.translator.options=i.options,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}]),a}(Ve);c(Pt,"createInstance",(function(){return new Pt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}));var zt=Pt.createInstance();zt.createInstance=Pt.createInstance,zt.createInstance,zt.init,zt.loadResources,zt.reloadResources,zt.use,zt.changeLanguage,zt.getFixedT,zt.t,zt.exists,zt.setDefaultNamespace,zt.hasLoadedNamespace,zt.loadNamespaces,zt.loadLanguages;const Ut=zt,_t=function(e){return e&&e.length?e[0]:void 0},Zt=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0},Gt=function(){};function Bt(){if(console&&console.warn){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];"string"==typeof n[0]&&(n[0]="react-i18next:: ".concat(n[0])),(e=console).warn.apply(e,n)}}var Ft={};function Yt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];"string"==typeof t[0]&&Ft[t[0]]||("string"==typeof t[0]&&(Ft[t[0]]=new Date),Bt.apply(void 0,t))}function Wt(e,t,n){e.loadNamespaces(t,(function(){e.isInitialized?n():e.on("initialized",(function t(){setTimeout((function(){e.off("initialized",t)}),0),n()}))}))}function Ht(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 Vt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ht(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ht(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var qt=function(t,n){var r=(0,e.useRef)();return(0,e.useEffect)((function(){r.current=n?r.current:t}),[t,n]),r.current};function Qt(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.i18n,i=(0,e.useContext)(g)||{},o=i.i18n,a=i.defaultNS,s=r||o||u;if(s&&!s.reportNamespaces&&(s.reportNamespaces=new m),!s){Yt("You will need to pass in an i18next instance by using initReactI18next");var l=function(e){return Array.isArray(e)?e[e.length-1]:e},c=[l,{},!1];return c.t=l,c.i18n={},c.ready=!1,c}s.options.react&&void 0!==s.options.react.wait&&Yt("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var d=Vt(Vt(Vt({},h),s.options.react),n),f=d.useSuspense,p=d.keyPrefix,y=t||a||s.options&&s.options.defaultNS;y="string"==typeof y?[y]:y||["translation"],s.reportNamespaces.addUsedNamespaces&&s.reportNamespaces.addUsedNamespaces(y);var v=(s.isInitialized||s.initializedStoreOnce)&&y.every((function(e){return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.languages&&t.languages.length?void 0!==t.options.ignoreJSONStructure?t.hasLoadedNamespace(e,{precheck:function(t,r){if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!r(t.isLanguageChangingTo,e))return!1}}):function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.languages[0],i=!!t.options&&t.options.fallbackLng,o=t.languages[t.languages.length-1];if("cimode"===r.toLowerCase())return!0;var a=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};return!(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!a(t.isLanguageChangingTo,e)||!t.hasResourceBundle(r,e)&&t.services.backendConnector.backend&&(!t.options.resources||t.options.partialBundledLanguages)&&(!a(r,e)||i&&!a(o,e)))}(e,t,n):(Yt("i18n.languages were undefined or empty",t.languages),!0)}(e,s,d)}));function b(){return s.getFixedT(null,"fallback"===d.nsMode?y:y[0],p)}var I,x,M=(I=(0,e.useState)(b),x=2,Ue(I)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(I,x)||Ze(I,x)||Ge()),w=M[0],T=M[1],A=y.join(),C=qt(A),N=(0,e.useRef)(!0);(0,e.useEffect)((function(){var e=d.bindI18n,t=d.bindI18nStore;function n(){N.current&&T(b)}return N.current=!0,v||f||Wt(s,y,(function(){N.current&&T(b)})),v&&C&&C!==A&&N.current&&T(b),e&&s&&s.on(e,n),t&&s&&s.store.on(t,n),function(){N.current=!1,e&&s&&e.split(" ").forEach((function(e){return s.off(e,n)})),t&&s&&t.split(" ").forEach((function(e){return s.store.off(e,n)}))}}),[s,A]);var E=(0,e.useRef)(!0);(0,e.useEffect)((function(){N.current&&!E.current&&T(b),E.current=!1}),[s,p]);var S=[w,s,v];if(S.t=w,S.i18n=s,S.ready=v,v)return S;if(!v&&!f)return S;throw new Promise((function(e){Wt(s,y,(function(){e()}))}))}const Jt=function(e){return"symbol"==typeof e||L(e)&&"[object Symbol]"==D(e)};var Xt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Kt=/^\w*$/;const $t=function(e,t){if(_(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Jt(e))||Kt.test(e)||!Xt.test(e)||null!=t&&e in Object(t)},en=T["__core-js_shared__"];var tn,nn=(tn=/[^.]+$/.exec(en&&en.keys&&en.keys.IE_PROTO||""))?"Symbol(src)_1."+tn:"";var rn=Function.prototype.toString;const on=function(e){if(null!=e){try{return rn.call(e)}catch(e){}try{return e+""}catch(e){}}return""};var an=/^\[object .+?Constructor\]$/,sn=Function.prototype,ln=Object.prototype,cn=sn.toString,un=ln.hasOwnProperty,dn=RegExp("^"+cn.call(un).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const fn=function(e){return!(!le(e)||(t=e,nn&&nn in t))&&(ce(e)?dn:an).test(on(e));var t},pn=function(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return fn(n)?n:void 0},hn=pn(Object,"create");var gn=Object.prototype.hasOwnProperty;var mn=Object.prototype.hasOwnProperty;function yn(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])}}yn.prototype.clear=function(){this.__data__=hn?hn(null):{},this.size=0},yn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},yn.prototype.get=function(e){var t=this.__data__;if(hn){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return gn.call(t,e)?t[e]:void 0},yn.prototype.has=function(e){var t=this.__data__;return hn?void 0!==t[e]:mn.call(t,e)},yn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=hn&&void 0===t?"__lodash_hash_undefined__":t,this};const vn=yn,bn=function(e,t){return e===t||e!=e&&t!=t},In=function(e,t){for(var n=e.length;n--;)if(bn(e[n][0],t))return n;return-1};var xn=Array.prototype.splice;function Mn(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])}}Mn.prototype.clear=function(){this.__data__=[],this.size=0},Mn.prototype.delete=function(e){var t=this.__data__,n=In(t,e);return!(n<0||(n==t.length-1?t.pop():xn.call(t,n,1),--this.size,0))},Mn.prototype.get=function(e){var t=this.__data__,n=In(t,e);return n<0?void 0:t[n][1]},Mn.prototype.has=function(e){return In(this.__data__,e)>-1},Mn.prototype.set=function(e,t){var n=this.__data__,r=In(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};const wn=Mn,Tn=pn(T,"Map"),An=function(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map};function Cn(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])}}Cn.prototype.clear=function(){this.size=0,this.__data__={hash:new vn,map:new(Tn||wn),string:new vn}},Cn.prototype.delete=function(e){var t=An(this,e).delete(e);return this.size-=t?1:0,t},Cn.prototype.get=function(e){return An(this,e).get(e)},Cn.prototype.has=function(e){return An(this,e).has(e)},Cn.prototype.set=function(e,t){var n=An(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};const Nn=Cn;function En(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(En.Cache||Nn),n}En.Cache=Nn;var Sn,jn,kn,Dn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ln=/\\(\\)?/g,On=(Sn=function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Dn,(function(e,n,r,i){t.push(r?i.replace(Ln,"$1"):n||e)})),t},jn=En(Sn,(function(e){return 500===kn.size&&kn.clear(),e})),kn=jn.cache,jn);const Rn=On,Pn=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i};var zn=A?A.prototype:void 0,Un=zn?zn.toString:void 0;const _n=function e(t){if("string"==typeof t)return t;if(_(t))return Pn(t,e)+"";if(Jt(t))return Un?Un.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n},Zn=function(e){return null==e?"":_n(e)},Gn=function(e,t){return _(e)?e:$t(e,t)?[e]:Rn(Zn(e))},Bn=function(e){if("string"==typeof e||Jt(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t},Fn=function(e,t){for(var n=0,r=(t=Gn(t,e)).length;null!=e&&n<r;)e=e[Bn(t[n++])];return n&&n==r?e:void 0},Yn=function(){try{var e=pn(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),Wn=function(e,t,n){"__proto__"==t&&Yn?Yn(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n};var Hn=Object.prototype.hasOwnProperty;const Vn=function(e,t,n){var r=e[t];Hn.call(e,t)&&bn(r,n)&&(void 0!==n||t in e)||Wn(e,t,n)},qn=function(e,t,n,r){if(!le(e))return e;for(var i=-1,o=(t=Gn(t,e)).length,a=o-1,s=e;null!=s&&++i<o;){var l=Bn(t[i]),c=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(i!=a){var u=s[l];void 0===(c=r?r(u,l,s):void 0)&&(c=le(u)?u:W(t[i+1])?[]:{})}Vn(s,l,c),s=s[l]}return e},Qn=function(e,t){return null!=e&&t in Object(e)},Jn=function(e,t){return null!=e&&function(e,t,n){for(var r=-1,i=(t=Gn(t,e)).length,o=!1;++r<i;){var a=Bn(t[r]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&H(i)&&W(a,i)&&(_(e)||U(e))}(e,t,Qn)},Xn=function(e,t){return function(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var a=t[r],s=Fn(e,a);n(s,a)&&qn(o,Gn(a,e),s)}return o}(e,t,(function(t,n){return Jn(e,n)}))},Kn=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e};var $n=A?A.isConcatSpreadable:void 0;const er=function(e){return _(e)||U(e)||!!($n&&e&&e[$n])},tr=function e(t,n,r,i,o){var a=-1,s=t.length;for(r||(r=er),o||(o=[]);++a<s;){var l=t[a];n>0&&r(l)?n>1?e(l,n-1,r,i,o):Kn(o,l):i||(o[o.length]=l)}return o},nr=function(e){return null!=e&&e.length?tr(e,1):[]};var rr=Math.max;const ir=Yn?function(e,t){return Yn(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:he;var or=Date.now;const ar=function(e){var t=0,n=0;return function(){var r=or(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(ir),sr=function(e){return ar(function(e,t,n){return t=rr(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=rr(r.length-t,0),a=Array(o);++i<o;)a[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(a),function(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)}(e,this,s)}}(e,void 0,nr),e+"")},lr=sr((function(e,t){return null==e?{}:Xn(e,t)})),cr={"exam-total":"Provet sammanlagt","grading-total":"Sammanlagt",material:"Material","attachments-page-title":"Material:","external-material-title":"Material","grading-instructions-page-title":"Beskrivningar av goda svar:",section:"Del {{displayNumber}}:",question:"Uppgift {{displayNumber}}:",grade:"Vitsord",comment:"Kommentar",points:"{{count}} p.",recording:"Inspelningen","audio-errors":{"already-accessed":"Du har redan spelat denna inspelning. Uppdatera sidan","already-playing":"Lyssna först inspelningen till slut.","other-error":"Uppspelning misslyckades, be övervakaren om hjälp."},"audio-test":{instructions:"Provet omfattar uppgifter i hörförståelse.",play:"Testa hörbarheten",volume:"Du kan justera ljudvolymen uppe i högra hörnet av rutan."},"dropdown-answer":{label:"Välj det alternativ som passar bäst.",clear:"Avmarkera alternativet."},grading:{"pregrading-annotations":"Preliminära bedömningens anteckningar (lärare)","censor-annotations":"Censorns anteckningar","pregrading-abbrev":"prel.","inspection-grading-abbrev":"ompr.","round.1":"1.c","round.2":"2.c","round.3":"3.c",annotate:"Markera"},references:{heading:"Källor",source:"Källa:",date:"Publicerad:","reference-date":"Hämtad:",translator:"Översättning:","modified-by":"Bearbetning:"},cas:{forbidden:{infoText:"Du får tillgång till de blockerade räknarprogrammen efter att du returnerat del A.",buttonText:"Returnera del A"},allowing:{infoText:"Svaren i A-delen låses. Du får tillgång till de blockerade räknarprogrammen om en stund.",cancel:"Avbryt ({{count}} s)"},allowed:{infoText:"Del A returnerad"}},"toc-heading":"Innehåll","answer-saved":"Sparad","too-many-answers":"TODO","listen-times-remaining":"{{count}} lyssningsgång kvar.","listen-times-remaining_plural":"{{count}} lyssningsgånger kvar.","answer-length":"Svarets längd: {{count}} tecken.","answer-length-with-max-length":"Svarets längd: {{count}} / {{maxLength}} tecken.","max-length-surplus":"Svaret överskrider maximallängden på {{maxLength}} märken med {{percentage}} %.","max-length-info":"Svaret får inte överskrida {{count}} tecken. Om det givna antalet tecken överskrids leder det till poängavdrag.","previous-answer-versions":"Tidigare utkast till svar","zoom-in":"Förstora bilden","end-of-exam":"Uppgifterna i provet slutar här.","answering-instructions":{"exam_*_1_1":"Besvara högst en uppgift i provet.","exam_*_2_2":"Besvara högst två uppgifter i provet.","exam_*_3_3":"Besvara högst tre uppgifter i provet.","exam_*_4_4":"Besvara högst fyra uppgifter i provet.","exam_*_5_5":"Besvara högst fem uppgifter i provet.","exam_*_6_6":"Besvara högst sex uppgifter i provet.","exam_*_7_7":"Besvara högst sju uppgifter i provet.","exam_*_8_8":"Besvara högst åtta uppgifter i provet.","exam_*_9_9":"Besvara högst nio uppgifter i provet.","exam_*_10_10":"Besvara högst tio uppgifter i provet.","exam_*_*_*":"Besvara högst {{answerCount, range}} uppgifter i provet.","question_*_1_1":"Besvara en av punkterna {{questions, range}}.","question_*_2_2":"Besvara två av punkterna {{questions, range}}.","question_*_3_3":"Besvara tre av punkterna {{questions, range}}.","question_*_4_4":"Besvara fyra av punkterna {{questions, range}}.","question_*_5_5":"Besvara fem av punkterna {{questions, range}}.","question_*_6_6":"Besvara sex av punkterna {{questions, range}}.","question_*_7_7":"Besvara sju av punkterna {{questions, range}}.","question_*_8_8":"Besvara åtta av punkterna {{questions, range}}.","question_*_9_9":"Besvara nio av punkterna {{questions, range}}.","question_*_10_10":"Besvara tio av punkterna {{questions, range}}.","question_2_*_1":"Besvara antingen punkt {{questions, first}} eller {{questions, last}}.","question_*_*_*":"Besvara {{answerCount, range}} av punkterna {{questions, range}}.","section_*_1_1":"Besvara en uppgift.","section_*_2_2":"Besvara två uppgifter.","section_*_3_3":"Besvara tre uppgifter.","section_*_4_4":"Besvara fyra uppgifter.","section_*_5_5":"Besvara fem uppgifter.","section_*_6_6":"Besvara sex uppgifter.","section_*_7_7":"Besvara sju uppgifter.","section_*_8_8":"Besvara åtta uppgifter.","section_*_9_9":"Besvara nio uppgifter.","section_*_10_10":"Besvara tio uppgifter.","section_1_*_1":"Besvara uppgift {{questions, range}}.","section_2_*_1":"Besvara antingen uppgift {{questions, first}} eller {{questions, last}}.","section_*_*_*":"Besvara {{answerCount, range}} uppgifter.","toc-section_*_1_1":"Besvara en uppgift.","toc-section_*_2_2":"Besvara två uppgifter.","toc-section_*_3_3":"Besvara tre uppgifter.","toc-section_*_4_4":"Besvara fyra uppgifter.","toc-section_*_5_5":"Besvara fem uppgifter.","toc-section_*_6_6":"Besvara sex uppgifter.","toc-section_*_7_7":"Besvara sju uppgifter.","toc-section_*_8_8":"Besvara åtta uppgifter.","toc-section_*_9_9":"Besvara nio uppgifter.","toc-section_*_10_10":"Besvara tio uppgifter.","toc-section_1_*_1":"Besvara uppgift {{questions, range}}.","toc-section_2_*_1":"Besvara antingen uppgift {{questions, first}} eller {{questions, last}}.","toc-section_*_*_*":"Besvara {{answerCount, range}} uppgifter."},"answer-errors":{"screenshot-too-big":"Den skärmdump du tagit är för stor. Ta en ny skärmdump av en mindre del av skärmen och försök på nytt.","screenshot-byte-limit-reached":"Minnesutrymmet för skärmdumpar är fullt. (Du kan referera till bilder i materialet direkt utan skärmdumpar.)","screenshot-upload-failed":"Bifogandet av skärmdumpen misslyckades. Försök på nytt.","answer-too-long":"Svaret är för långt."},"screen-reader":{"answer-begin":"[Svaret börjar]","answer-end":"[Svaret avslutar]","correct-answer":"[Accepterat svar]"}},ur=lr(cr,["exam-total","material","external-material-title","section","references","toc-heading"]),dr={"exam-total":"Koe yhteensä","grading-total":"Yhteensä",material:"Aineisto",material_plural:"Aineistot","attachments-page-title":"Aineisto:","external-material-title":"Aineisto","grading-instructions-page-title":"Hyvän vastauksen piirteet:",section:"Osa {{displayNumber}}:",question:"Tehtävä {{displayNumber}}:",grade:"Arvosana",comment:"Kommentti",points:"{{count}} p.",recording:"Tallenne","audio-errors":{"already-accessed":"Olet jo toistanut tämän äänitteen. Päivitä sivu.","already-playing":"Kuuntele äänite ensin loppuun.","other-error":"Äänitteen toistaminen epäonnistui, pyydä apua valvojalta."},"audio-test":{instructions:"Koe sisältää kuullunymmärtämisen tehtäviä.",play:"Testaa äänitteiden kuuluvuus",volume:"Äänen voimakkuutta voit säätää ruudun oikeasta yläkulmasta."},"dropdown-answer":{label:"Valitse parhaiten sopiva vaihtoehto.",clear:"Poista valinta."},grading:{"pregrading-annotations":"Alustavan arvostelun merkinnät (opettaja)","censor-annotations":"Sensorin merkinnät","pregrading-abbrev":"alust.","inspection-grading-abbrev":"ov","round.1":"1.s","round.2":"2.s","round.3":"3.s",annotate:"Merkitse"},references:{heading:"Lähteet",source:"Lähde:",date:"Julkaistu:","reference-date":"Viitattu:",translator:"Käännös:","modified-by":"Muokkaus:"},cas:{forbidden:{infoText:"Saat estetyt laskinohjelmat käyttöön palautettuasi A-osan.",buttonText:"Palauta A-osa"},allowing:{infoText:"A-osan vastaukset lukitaan. Saat estetyt laskinohjelmat käyttöösi hetken kuluttua.",cancel:"Peruuta ({{count}} s)"},allowed:{infoText:"A-osa palautettu"}},"toc-heading":"Sisällys","answer-saved":"Tallennettu","too-many-answers":"Vastattu liiaan moneen tehtävään:","listen-times-remaining":"{{count}} kuuntelukerta jäljellä.","listen-times-remaining_plural":"{{count}} kuuntelukertaa jäljellä.","answer-length":"Vastauksen pituus: {{count}} merkki.","answer-length_plural":"Vastauksen pituus: {{count}} merkkiä.","answer-length-with-max-length":"Vastauksen pituus: {{count}} / {{maxLength}} merkkiä.","max-length-surplus":"Vastauksen enimmäispituus {{maxLength}} merkkiä ylittyy {{percentage}} %.","max-length-info":"Vastauksen pituus on enintään {{count}} merkkiä. Ylityksestä seuraa pistevähennys.","previous-answer-versions":"Aiemmat vastausluonnokset","zoom-in":"Suurenna kuva","end-of-exam":"Kokeen tehtävät loppuvat tähän.","answering-instructions":{"exam_*_1_1":"Vastaa kokeessa enintään yhteen tehtävään.","exam_*_2_2":"Vastaa kokeessa enintään kahteen tehtävään.","exam_*_3_3":"Vastaa kokeessa enintään kolmeen tehtävään.","exam_*_4_4":"Vastaa kokeessa enintään neljään tehtävään.","exam_*_5_5":"Vastaa kokeessa enintään viiteen tehtävään.","exam_*_6_6":"Vastaa kokeessa enintään kuuteen tehtävään.","exam_*_7_7":"Vastaa kokeessa enintään seitsemään tehtävään.","exam_*_8_8":"Vastaa kokeessa enintään kahdeksaan tehtävään.","exam_*_9_9":"Vastaa kokeessa enintään yhdeksään tehtävään.","exam_*_10_10":"Vastaa kokeessa enintään kymmeneen tehtävään.","exam_*_*_*":"Vastaa kokeessa enintään {{answerCount, range}} tehtävään.","question_*_1_1":"Vastaa yhteen kohdista {{questions, range}}.","question_*_2_2":"Vastaa kahteen kohdista {{questions, range}}.","question_*_3_3":"Vastaa kolmeen kohdista {{questions, range}}.","question_*_4_4":"Vastaa neljään kohdista {{questions, range}}.","question_*_5_5":"Vastaa viiteen kohdista {{questions, range}}.","question_*_6_6":"Vastaa kuuteen kohdista {{questions, range}}.","question_*_7_7":"Vastaa seitsemään kohdista {{questions, range}}.","question_*_8_8":"Vastaa kahdeksaan kohdista {{questions, range}}.","question_*_9_9":"Vastaa yhdeksään kohdista {{questions, range}}.","question_*_10_10":"Vastaa kymmeneen kohdista {{questions, range}}.","question_2_*_1":"Vastaa joko kohtaan {{questions, first}} tai {{questions, last}}.","question_*_*_*":"Vastaa {{answerCount, range}} kohdista {{questions, range}}.","section_*_1_1":"Vastaa yhteen tehtävään.","section_*_2_2":"Vastaa kahteen tehtävään.","section_*_3_3":"Vastaa kolmeen tehtävään.","section_*_4_4":"Vastaa neljään tehtävään.","section_*_5_5":"Vastaa viiteen tehtävään.","section_*_6_6":"Vastaa kuuteen tehtävään.","section_*_7_7":"Vastaa seitsemään tehtävään.","section_*_8_8":"Vastaa kahdeksaan tehtävään.","section_*_9_9":"Vastaa yhdeksään tehtävään.","section_*_10_10":"Vastaa kymmeneen tehtävään.","section_1_*_1":"Vastaa tehtävään {{questions, range}}.","section_2_*_1":"Vastaa joko tehtävään {{questions, first}} tai {{questions, last}}.","section_*_*_*":"Vastaa {{answerCount, range}} tehtävään.","toc-section_*_1_1":"Vastaa yhteen tehtävään.","toc-section_*_2_2":"Vastaa kahteen tehtävään.","toc-section_*_3_3":"Vastaa kolmeen tehtävään.","toc-section_*_4_4":"Vastaa neljään tehtävään.","toc-section_*_5_5":"Vastaa viiteen tehtävään.","toc-section_*_6_6":"Vastaa kuuteen tehtävään.","toc-section_*_7_7":"Vastaa seitsemään tehtävään.","toc-section_*_8_8":"Vastaa kahdeksaan tehtävään.","toc-section_*_9_9":"Vastaa yhdeksään tehtävään.","toc-section_*_10_10":"Vastaa kymmeneen tehtävään.","toc-section_1_*_1":"Vastaa tehtävään {{questions, range}}.","toc-section_2_*_1":"Vastaa joko tehtävään {{questions, first}} tai {{questions, last}}.","toc-section_*_*_*":"Vastaa {{answerCount, range}} tehtävään."},"answer-errors":{"screenshot-too-big":"Ottamasi kuvakaappaus on liian iso. Ota uusi kuvakaappaus pienemmästä osasta näyttöä ja yritä uudelleen.","screenshot-byte-limit-reached":"Kokeesi kuvakaappauksille varattu tila on täyttynyt. (Voit viitata aineistokuviin suoraan ilman kuvakaappausta.)","screenshot-upload-failed":"Kuvan liittäminen ei onnistunut. Kokeile uudestaan.","answer-too-long":"Vastaus on liian pitkä."},"screen-reader":{"answer-begin":"[Vastaus alkaa]","answer-end":"[Vastaus päättyy]","correct-answer":"[Hyväksytty vastaus]"}},fr=lr(dr,["exam-total","material","external-material-title","section","references","toc-heading"]),pr={"exam-total":"Total points for the exam",material:"Material","external-material-title":"Material",section:"Part {{displayNumber}}:",references:{heading:"Sources",source:"Source:",date:"Published:","reference-date":"Accessed:",translator:"Translation:","modified-by":"Adaptation:"},"toc-heading":"Contents"},hr={"exam-total":"Total des points",material:"Document",material_plural:"Documents","external-material-title":"Document",section:"Partie {{displayNumber}} :",references:{heading:"Sources",source:"Source :",date:"Publication le","reference-date":"Téléchargement le",translator:"Traduction :","modified-by":"Modifications :"},"toc-heading":"Sommaire"},gr={section:""},mr={"exam-total":"Puntuación total",material:"Material","external-material-title":"Material",section:"Parte {{displayNumber}}:",references:{heading:"Fuentes",source:"Fuente:",date:"Publicado:","reference-date":"Consultado:",translator:"Traducción:","modified-by":"Adaptado:"},"toc-heading":"Contenido"},yr={"exam-total":"Die Prüfung insgesamt",material:"Materialien","external-material-title":"Materialien",section:"Teil {{displayNumber}}:",references:{heading:"Quellen",source:"Quelle:",date:"Veröffentlicht:","reference-date":"Zugriff:",translator:"Übersetzung:","modified-by":"Bearbeitung:"},"toc-heading":"Inhalt"},vr={"exam-total":"Весь экзамен",material:"Материал","external-material-title":"Материал",section:"Часть {{displayNumber}}:",references:{heading:"Источники",source:"Источник",date:"Опубликовано","reference-date":"Дата обращения",translator:"Перевод","modified-by":"Адаптировано"},"toc-heading":"Содержание"},br={A_E:{"external-material-title":"Aineistot","answering-instructions":{"toc-section_*_1_1":"Valitse yksi aihe.","section_*_1_1":"Valitse yksi aihe."}},BA:ur,BB:ur,CA:fr,CB:fr,EA:pr,EC:pr,FA:hr,FC:hr,GC:{"exam-total":"Totalidade da pontuação",material:"Material","external-material-title":"Material",section:"Parte {{displayNumber}}:",references:{heading:"Fontes",source:"Fonte:",date:"Publicado:","reference-date":"Acedido:",translator:"Tradução:","modified-by":"Adaptação:"},"toc-heading":"Conteúdo"},I:{"exam-total":"Iskos ohtsis",material:"Amnâstuvah","external-material-title":"Amnâstuvah","attachments-page-title":"Amnâstuvah:",section:"Uási {{displayNumber}}:",points:"{{count}} č.",references:{source:"Käldee:",date:"Almostittum:","reference-date":"Čujottum:",translator:"Jurgâlus:","modified-by":"Heiviittâs:"},"answering-instructions":{"toc-section_*_1_1":"Fáádáh","section_*_1_1":"Valjii oovtâ fáádá."},"toc-heading":"Siskáldâs"},M:gr,N:gr,O_E:{"answering-instructions":{"toc-section_*_1_1":"Välj ett ämne.","section_*_1_1":"Välj ett ämne."}},SA:yr,SC:yr,PA:mr,PC:mr,TC:{"exam-total":"Punteggio complessivo",material:"Materiale","external-material-title":"Materiale",section:"Parte {{displayNumber}}:",references:{heading:"Fonti",source:"Fonte:",date:"Pubblicato:","reference-date":"Consultato:",translator:"Traduzione:","modified-by":"Adattamento:"},"toc-heading":"Contenuto"},VA:vr,VC:vr,Z:{"exam-total":"Iskkus oktiibuot",material:"Ávdnasat","external-material-title":"Ávdnasat","attachments-page-title":"Ávdnasat:",section:"Oassi {{displayNumber}}:",points:"{{count}} č.",references:{heading:"Gáldut",source:"Gáldu:",date:"Almmuhuvvon:","reference-date":"Vižžojuvvon:",translator:"Jorgalus","modified-by":"Heivehus:"},"answering-instructions":{"toc-section_*_1_1":"Fáttát","section_*_1_1":"Vállje ovtta fáttá."},"toc-heading":"Sisdoallu"}},Ir={"fi-FI":{translation:dr,...br},"sv-FI":{translation:cr,...br}};function xr(e,t,n){const r=t?t+(n?`_${n}`:""):"translation";return Ut.use({type:"postProcessor",name:"lowercase",process:(e,t,n)=>e.toLocaleLowerCase(n.lng)}).createInstance({compatibilityJSON:"v3",resources:Ir,lng:e,fallbackLng:"fi-FI",debug:!1,defaultNS:r,fallbackNS:"translation",interpolation:{escapeValue:!1,format:(e,t)=>{const n=e;switch(t){case"range":{const[e,t]=n;return null==e?t:null==t||e===t?e:`${e}–${t}`}case"first":return _t(n);case"last":return Zt(n);default:return e}}}},Gt)}function Mr(){const{i18n:e,t:n}=Qt(),r=(n,r)=>function(e,n,r){const i=e.t(n,r),o=e.options.defaultNS.toString(),a="translation"!==o&&o in br,s=a&&function(e,t,n){return Array.isArray(n)?n.some((n=>null!=e.getResource(e.language,t,n))):null!=e.getResource(e.language,t,n)}(e,o,n);return s||!a?i:t().createElement("span",{lang:e.language},i)}(e,n,r);return r.raw=n,{i18n:e,t:r}}const wr=(e,t)=>()=>{e.language!==t&&e.changeLanguage(t).then(Gt).catch(Gt)},Tr=new WeakMap;let Ar=0;const Cr=e=>t=>`${e}-${(e=>{const t=Tr.get(e);if(null!=t)return t;const n=++Ar;return Tr.set(e,n),n})(t)}`,Nr=e=>t=>`${e}-${t}`,Er="title",Sr="references-title",jr=Nr("section-title"),kr=Nr("question-title"),Dr=Cr("question-instruction"),Lr=Cr("answer-length-info"),Or=Cr("external-material-list-title"),Rr=Nr("toc-section-title"),Pr=Cr("answer-score"),zr=Cr("image-caption"),Ur=Cr("video-caption"),_r=Cr("audio-label"),Zr="toc-title";function Gr(){const e=decodeURIComponent(window.location.hash).slice(1);if(e){const n=document.getElementById(e);n&&((t=n).setAttribute("tabindex","-1"),t.style.outline="none",t.addEventListener("blur",(()=>{t.removeAttribute("tabindex"),t.style.outline=""}),{once:!0}),t.focus(),t.scrollIntoView())}var t;return window.addEventListener("hashchange",Gr),()=>window.removeEventListener("hashchange",Gr)}function Br(t){return(0,e.useState)(t)[0]}function Fr(e,t){const n=new URL(e,"http://example.com");me(t,((e,t)=>n[t]=e));const r=n.pathname+n.search+n.hash;return e.startsWith("/")?r:r.substr(1)}const Yr=({children:e,href:n,type:r})=>"link"===r?t().createElement("a",{href:n,className:"attachment-link e-nowrap",target:"attachments"},e):t().createElement("span",{className:"attachment-link e-nowrap"},e);function Wr(e){return e.displayName||e.name||"Component"}const Hr=(e,n)=>r=>{const i=i=>{const o=n(i);return t().createElement(e.Provider,{value:o},t().createElement(r,{...i}))};return i.displayName=`WithContext(${Wr(r)})`,i},Vr=t().createContext({});function qr(e){return Hr(Vr,(({attachmentsURL:e,resolveAttachment:t,doc:n})=>{const r=n.documentElement,i=Te(r,"date"),o=Te(r,"exam-lang"),a=Te(r,"lang")||o;return{attachmentsURL:e,date:i?new Date(i):void 0,dateTimeFormatter:new Intl.DateTimeFormat("fi-FI",{timeZone:"UTC"}),dayCode:Te(r,"day-code"),examCode:Te(r,"exam-code"),language:o,subjectLanguage:a,maxAnswers:Ae(r,"max-answers"),maxScore:Ae(r,"max-score"),sections:xe(r,"section"),resolveAttachment:t,root:r}}))(e)}const Qr=n=>t().memo((({element:r})=>{const i=r.getAttribute("ref"),{root:o}=(0,e.useContext)(Vr),{attachmentsURL:a}=(0,e.useContext)(Vr),{t:s}=Mr(),l=Ie(o,(e=>"attachment"===e.localName&&e.getAttribute("name")===i)).getAttribute("display-number"),c="short"===r.getAttribute("type"),u=Fr(a,{hash:l});return c?t().createElement(Yr,{href:u,type:n},l):t().createElement(t().Fragment,null,"(",t().createElement(Yr,{href:u,type:n},s("material",{postProcess:"lowercase"})," ",l),")")})),Jr=n=>t().memo((({element:r})=>{const{root:i,attachmentsURL:o}=(0,e.useContext)(Vr),{t:a}=Mr(),s=Ne(r,(e=>{const t=e.getAttribute("ref");return Ie(i,(e=>"attachment"===e.localName&&e.getAttribute("name")===t)).getAttribute("display-number")})),l=function(e,t){const n=[[]];let r;for(let i=0;i<e.length;i++){const o=e[i];if(r&&t(o,i)){const e=[o];n.push(e)}else n[n.length-1].push(o);r=o}return n}(s,((e,t)=>t>0&&!function(e,t){const n=e.length;return n===t.length&&(e.startsWith(t.slice(0,n-1))&&t.charCodeAt(n-1)-e.charCodeAt(n-1)==1)}(s[t-1],e))),c="short"===r.getAttribute("type"),u=Fr(o,{hash:s[0]}),d=l.map((e=>e.length>1?`${e[0]}–${e[e.length-1]}`:e[0])).join(", "),f=l[0].length;return c?t().createElement(Yr,{href:u,type:n},d):t().createElement(t().Fragment,null,"(",t().createElement(Yr,{href:u,type:n},a("material",{count:f,postProcess:"lowercase"})," ",d),")")})),Xr=t().createContext({}),Kr=Hr(Xr,(({element:e})=>{const t=null!=Me(e,"external-material"),n=e.getAttribute("name");return t?{displayNumber:e.getAttribute("display-number"),isExternal:t,name:n}:{displayNumber:null,isExternal:t,name:n}})),$r=t().memo(Kr((function({element:n,renderChildNodes:r}){const{displayNumber:i,isExternal:o}=(0,e.useContext)(Xr);return o?t().createElement("div",{id:i,className:"attachments-attachment e-mrg-0 e-mrg-t-8"},r(n)):null}))),ei=t().memo((function({element:n,renderChildNodes:r}){const{displayNumber:i}=(0,e.useContext)(Xr);return t().createElement("h3",null,i,ye,r(n))}));var ti=i(2779),ni=i.n(ti),ri=i(3100),ii=i(1110),oi=i(5156);let ai=function(e){e()};const si=()=>ai,li=(0,e.createContext)(null);function ci(){return(0,e.useContext)(li)}let ui=()=>{throw new Error("uSES not initialized!")};const di=(e,t)=>e===t;function fi(t=li){const n=t===li?ci:()=>(0,e.useContext)(t);return function(t,r=di){const{store:i,subscription:o,getServerState:a}=n(),s=ui(o.addNestedSub,i.getState,a||i.getState,t,r);return(0,e.useDebugValue)(s),s}}const pi=fi();i(3463),i(8570);const hi={notify(){},get:()=>[]};const gi="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?e.useLayoutEffect:e.useEffect;let mi=null;const yi=function({store:n,context:r,children:i,serverState:o}){const a=(0,e.useMemo)((()=>{const e=function(e,t){let n,r=hi;function i(){a.onStateChange&&a.onStateChange()}function o(){n||(n=t?t.addNestedSub(i):e.subscribe(i),r=function(){const e=si();let t=null,n=null;return{clear(){t=null,n=null},notify(){e((()=>{let e=t;for(;e;)e.callback(),e=e.next}))},get(){let e=[],n=t;for(;n;)e.push(n),n=n.next;return e},subscribe(e){let r=!0,i=n={callback:e,next:null,prev:n};return i.prev?i.prev.next=i:t=i,function(){r&&null!==t&&(r=!1,i.next?i.next.prev=i.prev:n=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}())}const a={addNestedSub:function(e){return o(),r.subscribe(e)},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:i,isSubscribed:function(){return Boolean(n)},trySubscribe:o,tryUnsubscribe:function(){n&&(n(),n=void 0,r.clear(),r=hi)},getListeners:()=>r};return a}(n);return{store:n,subscription:e,getServerState:o?()=>o:void 0}}),[n,o]),s=(0,e.useMemo)((()=>n.getState()),[n]);gi((()=>{const{subscription:e}=a;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),s!==n.getState()&&e.notifyNestedSubs(),()=>{e.tryUnsubscribe(),e.onStateChange=void 0}}),[a,s]);const l=r||li;return t().createElement(l.Provider,{value:a},i)};function vi(t=li){const n=t===li?ci:()=>(0,e.useContext)(t);return function(){const{store:e}=n();return e}}const bi=vi();function Ii(e=li){const t=e===li?bi:vi(e);return function(){return t().dispatch}}const xi=Ii();function Mi(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function wi(e,t){if(Mi(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r=0;r<n.length;r++)if(!Object.prototype.hasOwnProperty.call(t,n[r])||!Mi(e[n[r]],t[n[r]]))return!1;return!0}var Ti,Ai;Ti=ii.useSyncExternalStoreWithSelector,ui=Ti,(e=>{mi=e})(ri.useSyncExternalStore),Ai=oi.unstable_batchedUpdates,ai=Ai;const Ci=function(e,t,n){var r=null==e?void 0:Fn(e,t);return void 0===r?n:r},Ni=(e,t)=>n=>{const{nowPlaying:r}=n.audio;return null==r?"stopped":r.audio.restrictedAudioId===t&&r.audio.src===e?"playing":"other-playing"},Ei=(e,t)=>n=>n.audio.errors[null!=t?t:e],Si=e=>t=>Ci(t.audio.playbackTimes,e,0),ji=(e,t)=>n=>t-Si(e)(n),ki=e=>{const{serverQuestionIds:t,savedQuestionIds:n,answersById:r}=e.answers;return 0===t.size?"initial":t.size!==n.size||function(e,t){for(const n in t)if(!e.has(Number(n)))return!0;return!1}(t,r)?"saving":"saved"};var Di={prefix:"fas",iconName:"chevron-down",icon:[448,512,[],"f078","M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z"]},Li={prefix:"fas",iconName:"chevron-up",icon:[448,512,[],"f077","M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z"]},Oi={prefix:"fas",iconName:"exclamation-triangle",icon:[576,512,[],"f071","M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"]},Ri={prefix:"fas",iconName:"eye",icon:[576,512,[],"f06e","M572.52 241.4C518.29 135.59 410.93 64 288 64S57.68 135.64 3.48 241.41a32.35 32.35 0 0 0 0 29.19C57.71 376.41 165.07 448 288 448s230.32-71.64 284.52-177.41a32.35 32.35 0 0 0 0-29.19zM288 400a144 144 0 1 1 144-144 143.93 143.93 0 0 1-144 144zm0-240a95.31 95.31 0 0 0-25.31 3.79 47.85 47.85 0 0 1-66.9 66.9A95.78 95.78 0 1 0 288 160z"]},Pi={prefix:"fas",iconName:"eye-slash",icon:[640,512,[],"f070","M320 400c-75.85 0-137.25-58.71-142.9-133.11L72.2 185.82c-13.79 17.3-26.48 35.59-36.72 55.59a32.35 32.35 0 0 0 0 29.19C89.71 376.41 197.07 448 320 448c26.91 0 52.87-4 77.89-10.46L346 397.39a144.13 144.13 0 0 1-26 2.61zm313.82 58.1l-110.55-85.44a331.25 331.25 0 0 0 81.25-102.07 32.35 32.35 0 0 0 0-29.19C550.29 135.59 442.93 64 320 64a308.15 308.15 0 0 0-147.32 37.7L45.46 3.37A16 16 0 0 0 23 6.18L3.37 31.45A16 16 0 0 0 6.18 53.9l588.36 454.73a16 16 0 0 0 22.46-2.81l19.64-25.27a16 16 0 0 0-2.82-22.45zm-183.72-142l-39.3-30.38A94.75 94.75 0 0 0 416 256a94.76 94.76 0 0 0-121.31-92.21A47.65 47.65 0 0 1 304 192a46.64 46.64 0 0 1-1.54 10l-73.61-56.89A142.31 142.31 0 0 1 320 112a143.92 143.92 0 0 1 144 144c0 21.63-5.29 41.79-13.9 60.11z"]},zi={prefix:"fas",iconName:"info-circle",icon:[512,512,[],"f05a","M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"]},Ui={prefix:"fas",iconName:"play",icon:[448,512,[],"f04b","M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z"]};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},_i(e)}function Zi(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Gi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Gi(e,t,n[t])}))}return e}function Fi(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Yi=function(){},Wi={},Hi={},Vi={mark:Yi,measure:Yi};try{"undefined"!=typeof window&&(Wi=window),"undefined"!=typeof document&&(Hi=document),"undefined"!=typeof MutationObserver&&MutationObserver,"undefined"!=typeof performance&&(Vi=performance)}catch(Hf){}var qi=(Wi.navigator||{}).userAgent,Qi=void 0===qi?"":qi,Ji=Wi,Xi=Hi,Ki=Vi,$i=(Ji.document,!!Xi.documentElement&&!!Xi.head&&"function"==typeof Xi.addEventListener&&"function"==typeof Xi.createElement),eo=(~Qi.indexOf("MSIE")||Qi.indexOf("Trident/"),"___FONT_AWESOME___"),to="fa",no="svg-inline--fa",ro=(function(){try{return!0}catch(e){return!1}}(),[1,2,3,4,5,6,7,8,9,10]),io=ro.concat([11,12,13,14,15,16,17,18,19,20]),oo={GROUP:"group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},ao=(["xs","sm","lg","fw","ul","li","border","pull-left","pull-right","spin","pulse","rotate-90","rotate-180","rotate-270","flip-horizontal","flip-vertical","flip-both","stack","stack-1x","stack-2x","inverse","layers","layers-text","layers-counter",oo.GROUP,oo.SWAP_OPACITY,oo.PRIMARY,oo.SECONDARY].concat(ro.map((function(e){return"".concat(e,"x")}))).concat(io.map((function(e){return"w-".concat(e)}))),Ji.FontAwesomeConfig||{});Xi&&"function"==typeof Xi.querySelector&&[["data-family-prefix","familyPrefix"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(e){var t=Fi(e,2),n=t[0],r=t[1],i=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=Xi.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=i&&(ao[r]=i)}));var so=Bi({},{familyPrefix:to,replacementClass:no,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},ao);so.autoReplaceSvg||(so.observeMutations=!1);var lo=Bi({},so);Ji.FontAwesomeConfig=lo;var co=Ji||{};co[eo]||(co[eo]={}),co[eo].styles||(co[eo].styles={}),co[eo].hooks||(co[eo].hooks={}),co[eo].shims||(co[eo].shims=[]);var uo=co[eo],fo=[];$i&&((Xi.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Xi.readyState)||Xi.addEventListener("DOMContentLoaded",(function e(){Xi.removeEventListener("DOMContentLoaded",e),fo.map((function(e){return e()}))})));var po,ho="pending",go="settled",mo="fulfilled",yo="rejected",vo=function(){},bo=void 0!==i.g&&void 0!==i.g.process&&"function"==typeof i.g.process.emit,Io="undefined"==typeof setImmediate?setTimeout:setImmediate,xo=[];function Mo(){for(var e=0;e<xo.length;e++)xo[e][0](xo[e][1]);xo=[],po=!1}function wo(e,t){xo.push([e,t]),po||(po=!0,Io(Mo,0))}function To(e){var t=e.owner,n=t._state,r=t._data,i=e[n],o=e.then;if("function"==typeof i){n=mo;try{r=i(r)}catch(e){Eo(o,e)}}Ao(o,r)||(n===mo&&Co(o,r),n===yo&&Eo(o,r))}function Ao(e,t){var n;try{if(e===t)throw new TypeError("A promises callback cannot return that same promise.");if(t&&("function"==typeof t||"object"===_i(t))){var r=t.then;if("function"==typeof r)return r.call(t,(function(r){n||(n=!0,t===r?No(e,r):Co(e,r))}),(function(t){n||(n=!0,Eo(e,t))})),!0}}catch(t){return n||Eo(e,t),!0}return!1}function Co(e,t){e!==t&&Ao(e,t)||No(e,t)}function No(e,t){e._state===ho&&(e._state=go,e._data=t,wo(jo,e))}function Eo(e,t){e._state===ho&&(e._state=go,e._data=t,wo(ko,e))}function So(e){e._then=e._then.forEach(To)}function jo(e){e._state=mo,So(e)}function ko(e){e._state=yo,So(e),!e._handled&&bo&&i.g.process.emit("unhandledRejection",e._data,e)}function Do(e){i.g.process.emit("rejectionHandled",e)}function Lo(e){if("function"!=typeof e)throw new TypeError("Promise resolver "+e+" is not a function");if(this instanceof Lo==0)throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this._then=[],function(e,t){function n(e){Eo(t,e)}try{e((function(e){Co(t,e)}),n)}catch(e){n(e)}}(e,this)}Lo.prototype={constructor:Lo,_state:ho,_then:null,_data:void 0,_handled:!1,then:function(e,t){var n={owner:this,then:new this.constructor(vo),fulfilled:e,rejected:t};return!t&&!e||this._handled||(this._handled=!0,this._state===yo&&bo&&wo(Do,this)),this._state===mo||this._state===yo?wo(To,n):this._then.push(n),n.then},catch:function(e){return this.then(null,e)}},Lo.all=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.all().");return new Lo((function(t,n){var r=[],i=0;function o(e){return i++,function(n){r[e]=n,--i||t(r)}}for(var a,s=0;s<e.length;s++)(a=e[s])&&"function"==typeof a.then?a.then(o(s),n):r[s]=a;i||t(r)}))},Lo.race=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.race().");return new Lo((function(t,n){for(var r,i=0;i<e.length;i++)(r=e[i])&&"function"==typeof r.then?r.then(t,n):t(r)}))},Lo.resolve=function(e){return e&&"object"===_i(e)&&e.constructor===Lo?e:new Lo((function(t){t(e)}))},Lo.reject=function(e){return new Lo((function(t,n){n(e)}))};var Oo={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};var Ro="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Po(){for(var e=12,t="";e-- >0;)t+=Ro[62*Math.random()|0];return t}function zo(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Uo(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n],";")}),"")}function _o(e){return e.size!==Oo.size||e.x!==Oo.x||e.y!==Oo.y||e.rotate!==Oo.rotate||e.flipX||e.flipY}function Zo(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,i={transform:"translate(".concat(n/2," 256)")},o="translate(".concat(32*t.x,", ").concat(32*t.y,") "),a="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),s="rotate(".concat(t.rotate," 0 0)");return{outer:i,inner:{transform:"".concat(o," ").concat(a," ").concat(s)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}var Go={x:0,y:0,width:"100%",height:"100%"};function Bo(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}var Fo=(lo.measurePerformance&&Ki&&Ki.mark&&Ki.measure,function(e,t,n,r){var i,o,a,s=Object.keys(e),l=s.length,c=void 0!==r?function(e,t){return function(n,r,i,o){return e.call(t,n,r,i,o)}}(t,r):t;for(void 0===n?(i=1,a=e[s[0]]):(i=0,a=n);i<l;i++)a=c(a,e[o=s[i]],o,e);return a});function Yo(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,r=void 0!==n&&n,i=Object.keys(t).reduce((function(e,n){var r=t[n];return r.icon?e[r.iconName]=r.icon:e[n]=r,e}),{});"function"!=typeof uo.hooks.addPack||r?uo.styles[e]=Bi({},uo.styles[e]||{},i):uo.hooks.addPack(e,i),"fas"===e&&Yo("fa",t)}var Wo=uo.styles,Ho=uo.shims,Vo=function(){var e=function(e){return Fo(Wo,(function(t,n,r){return t[r]=Fo(n,e,{}),t}),{})};e((function(e,t,n){return t[3]&&(e[t[3]]=n),e})),e((function(e,t,n){var r=t[2];return e[n]=n,r.forEach((function(t){e[t]=n})),e}));var t="far"in Wo;Fo(Ho,(function(e,n){var r=n[0],i=n[1],o=n[2];return"far"!==i||t||(i="fas"),e[r]={prefix:i,iconName:o},e}),{})};function qo(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}function Qo(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,i=e.children,o=void 0===i?[]:i;return"string"==typeof e?zo(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(zo(e[n]),'" ')}),"").trim()}(r),">").concat(o.map(Qo).join(""),"</").concat(t,">")}Vo(),uo.styles;function Jo(e){this.name="MissingIcon",this.message=e||"Icon unavailable",this.stack=(new Error).stack}Jo.prototype=Object.create(Error.prototype),Jo.prototype.constructor=Jo;var Xo={fill:"currentColor"},Ko={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},$o=(Bi({},Xo,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"}),Bi({},Ko,{attributeName:"opacity"}));function ea(e){var t=e[0],n=e[1],r=Fi(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(lo.familyPrefix,"-").concat(oo.GROUP)},children:[{tag:"path",attributes:{class:"".concat(lo.familyPrefix,"-").concat(oo.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(lo.familyPrefix,"-").concat(oo.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}Bi({},Xo,{cx:"256",cy:"364",r:"28"}),Bi({},Ko,{attributeName:"r",values:"28;14;28;28;14;28;"}),Bi({},$o,{values:"1;0;1;1;0;1;"}),Bi({},Xo,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),Bi({},$o,{values:"1;0;0;0;0;1;"}),Bi({},Xo,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),Bi({},$o,{values:"0;0;1;1;0;0;"}),uo.styles,uo.styles;var ta='svg:not(:root).svg-inline--fa {\n overflow: visible;\n}\n\n.svg-inline--fa {\n display: inline-block;\n font-size: inherit;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-border {\n height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n width: 2em;\n}\n.svg-inline--fa.fa-fw {\n width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: #ff253a;\n border-radius: 1em;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #fff;\n height: 1.5em;\n line-height: 1;\n max-width: 5em;\n min-width: 1.5em;\n overflow: hidden;\n padding: 0.25em;\n right: 0;\n text-overflow: ellipsis;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: 0;\n right: 0;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: 0;\n left: 0;\n right: auto;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n right: 0;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: 0;\n right: auto;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-lg {\n font-size: 1.3333333333em;\n line-height: 0.75em;\n vertical-align: -0.0667em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: 2.5em;\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: -2em;\n position: absolute;\n text-align: center;\n width: 2em;\n line-height: inherit;\n}\n\n.fa-border {\n border: solid 0.08em #eee;\n border-radius: 0.1em;\n padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n float: left;\n}\n\n.fa-pull-right {\n float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n margin-left: 0.3em;\n}\n\n.fa-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n -webkit-animation: fa-spin 1s infinite steps(8);\n animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n -webkit-filter: none;\n filter: none;\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: #fff;\n}\n\n.sr-only {\n border: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n clip: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n position: static;\n width: auto;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse {\n color: #fff;\n}';var na=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var t,n;return t=e,n=[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n.reduce(this._pullDefinitions,{});Object.keys(i).forEach((function(t){e.definitions[t]=Bi({},e.definitions[t]||{},i[t]),Yo(t,i[t]),Vo()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map((function(t){var r=n[t],i=r.prefix,o=r.iconName,a=r.icon;e[i]||(e[i]={}),e[i][o]=a})),e}}],n&&Zi(t.prototype,n),e}();function ra(){lo.autoAddCss&&!sa&&(function(e){if(e&&$i){var t=Xi.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=Xi.head.childNodes,r=null,i=n.length-1;i>-1;i--){var o=n[i],a=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(r=o)}Xi.head.insertBefore(t,r)}}(function(){var e=to,t=no,n=lo.familyPrefix,r=lo.replacementClass,i=ta;if(n!==e||r!==t){var o=new RegExp("\\.".concat(e,"\\-"),"g"),a=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(t),"g");i=i.replace(o,".".concat(n,"-")).replace(a,"--".concat(n,"-")).replace(s,".".concat(r))}return i}()),sa=!0)}function ia(e){var t=e.prefix,n=void 0===t?"fa":t,r=e.iconName;if(r)return qo(aa.definitions,n,r)||qo(uo.styles,n,r)}var oa,aa=new na,sa=!1,la={transform:function(e){return function(e){var t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e?e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),r=n[0],i=n.slice(1).join("-");if(r&&"h"===i)return e.flipX=!0,e;if(r&&"v"===i)return e.flipY=!0,e;if(i=parseFloat(i),isNaN(i))return e;switch(r){case"grow":e.size=e.size+i;break;case"shrink":e.size=e.size-i;break;case"left":e.x=e.x-i;break;case"right":e.x=e.x+i;break;case"up":e.y=e.y-i;break;case"down":e.y=e.y+i;break;case"rotate":e.rotate=e.rotate+i}return e}),t):t}(e)}},ca=(oa=function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.transform,o=void 0===i?Oo:i,a=r.symbol,s=void 0!==a&&a,l=r.mask,c=void 0===l?null:l,u=r.maskId,d=void 0===u?null:u,f=r.title,p=void 0===f?null:f,h=r.titleId,g=void 0===h?null:h,m=r.classes,y=void 0===m?[]:m,v=r.attributes,b=void 0===v?{}:v,I=r.styles,x=void 0===I?{}:I;if(e){var M=e.prefix,w=e.iconName,T=e.icon;return t=Bi({type:"icon"},e),n=function(){return ra(),lo.autoA11y&&(p?b["aria-labelledby"]="".concat(lo.replacementClass,"-title-").concat(g||Po()):(b["aria-hidden"]="true",b.focusable="false")),function(e){var t=e.icons,n=t.main,r=t.mask,i=e.prefix,o=e.iconName,a=e.transform,s=e.symbol,l=e.title,c=e.maskId,u=e.titleId,d=e.extra,f=e.watchable,p=void 0!==f&&f,h=r.found?r:n,g=h.width,m=h.height,y="fak"===i,v=y?"":"fa-w-".concat(Math.ceil(g/m*16)),b=[lo.replacementClass,o?"".concat(lo.familyPrefix,"-").concat(o):"",v].filter((function(e){return-1===d.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(d.classes).join(" "),I={children:[],attributes:Bi({},d.attributes,{"data-prefix":i,"data-icon":o,class:b,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(g," ").concat(m)})},x=y&&!~d.classes.indexOf("fa-fw")?{width:"".concat(g/m*16*.0625,"em")}:{};p&&(I.attributes["data-fa-i2svg"]=""),l&&I.children.push({tag:"title",attributes:{id:I.attributes["aria-labelledby"]||"title-".concat(u||Po())},children:[l]});var M=Bi({},I,{prefix:i,iconName:o,main:n,mask:r,maskId:c,transform:a,symbol:s,styles:Bi({},x,d.styles)}),w=r.found&&n.found?function(e){var t,n=e.children,r=e.attributes,i=e.main,o=e.mask,a=e.maskId,s=e.transform,l=i.width,c=i.icon,u=o.width,d=o.icon,f=Zo({transform:s,containerWidth:u,iconWidth:l}),p={tag:"rect",attributes:Bi({},Go,{fill:"white"})},h=c.children?{children:c.children.map(Bo)}:{},g={tag:"g",attributes:Bi({},f.inner),children:[Bo(Bi({tag:c.tag,attributes:Bi({},c.attributes,f.path)},h))]},m={tag:"g",attributes:Bi({},f.outer),children:[g]},y="mask-".concat(a||Po()),v="clip-".concat(a||Po()),b={tag:"mask",attributes:Bi({},Go,{id:y,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[p,m]},I={tag:"defs",children:[{tag:"clipPath",attributes:{id:v},children:(t=d,"g"===t.tag?t.children:[t])},b]};return n.push(I,{tag:"rect",attributes:Bi({fill:"currentColor","clip-path":"url(#".concat(v,")"),mask:"url(#".concat(y,")")},Go)}),{children:n,attributes:r}}(M):function(e){var t=e.children,n=e.attributes,r=e.main,i=e.transform,o=Uo(e.styles);if(o.length>0&&(n.style=o),_o(i)){var a=Zo({transform:i,containerWidth:r.width,iconWidth:r.width});t.push({tag:"g",attributes:Bi({},a.outer),children:[{tag:"g",attributes:Bi({},a.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:Bi({},r.icon.attributes,a.path)}]}]})}else t.push(r.icon);return{children:t,attributes:n}}(M),T=w.children,A=w.attributes;return M.children=T,M.attributes=A,s?function(e){var t=e.prefix,n=e.iconName,r=e.children,i=e.attributes,o=e.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Bi({},i,{id:!0===o?"".concat(t,"-").concat(lo.familyPrefix,"-").concat(n):o}),children:r}]}]}(M):function(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,o=e.styles,a=e.transform;if(_o(a)&&n.found&&!r.found){var s={x:n.width/n.height/2,y:.5};i.style=Uo(Bi({},o,{"transform-origin":"".concat(s.x+a.x/16,"em ").concat(s.y+a.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}(M)}({icons:{main:ea(T),mask:c?ea(c.icon):{found:!1,width:null,height:null,icon:{}}},prefix:M,iconName:w,transform:Bi({},Oo,o),symbol:s,title:p,maskId:d,titleId:g,extra:{attributes:b,styles:x,classes:y}})},Object.defineProperty(t,"abstract",{get:n}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map((function(e){return Qo(e)}))}}),Object.defineProperty(t,"node",{get:function(){if($i){var e=Xi.createElement("div");return e.innerHTML=t.html,e.children}}}),t}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(e||{}).icon?e:ia(e||{}),r=t.mask;return r&&(r=(r||{}).icon?r:ia(r||{})),oa(n,Bi({},t,{mask:r}))}),ua=i(3980),da=i.n(ua);function fa(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 pa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fa(Object(n),!0).forEach((function(t){ga(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fa(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ha(e){return ha="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ha(e)}function ga(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ma(e){return function(e){if(Array.isArray(e))return ya(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 ya(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)?ya(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 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){return t=e,(t-=0)==t?e:(e=e.replace(/[\-_\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""}))).substr(0,1).toLowerCase()+e.substr(1);var t}var ba=["style"],Ia=!1;try{Ia=!0}catch(Hf){}function xa(e){return e&&"object"===ha(e)&&e.prefix&&e.iconName&&e.icon?e:la.icon?la.icon(e):null===e?null:e&&"object"===ha(e)&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:"fas",iconName:e}:void 0}function Ma(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?ga({},e,t):{}}var wa=t().forwardRef((function(e,t){var n=e.icon,r=e.mask,i=e.symbol,o=e.className,a=e.title,s=e.titleId,l=e.maskId,c=xa(n),u=Ma("classes",[].concat(ma(function(e){var t,n=e.beat,r=e.fade,i=e.beatFade,o=e.bounce,a=e.shake,s=e.flash,l=e.spin,c=e.spinPulse,u=e.spinReverse,d=e.pulse,f=e.fixedWidth,p=e.inverse,h=e.border,g=e.listItem,m=e.flip,y=e.size,v=e.rotation,b=e.pull,I=(ga(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":i,"fa-bounce":o,"fa-shake":a,"fa-flash":s,"fa-spin":l,"fa-spin-reverse":u,"fa-spin-pulse":c,"fa-pulse":d,"fa-fw":f,"fa-inverse":p,"fa-border":h,"fa-li":g,"fa-flip":!0===m,"fa-flip-horizontal":"horizontal"===m||"both"===m,"fa-flip-vertical":"vertical"===m||"both"===m},"fa-".concat(y),null!=y),ga(t,"fa-rotate-".concat(v),null!=v&&0!==v),ga(t,"fa-pull-".concat(b),null!=b),ga(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(I).map((function(e){return I[e]?e:null})).filter((function(e){return e}))}(e)),ma(o.split(" ")))),d=Ma("transform","string"==typeof e.transform?la.transform(e.transform):e.transform),f=Ma("mask",xa(r)),p=ca(c,pa(pa(pa(pa({},u),d),f),{},{symbol:i,title:a,titleId:s,maskId:l}));if(!p)return function(){var e;!Ia&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",c),null;var h=p.abstract,g={ref:t};return Object.keys(e).forEach((function(t){wa.defaultProps.hasOwnProperty(t)||(g[t]=e[t])})),Ta(h[0],g)}));wa.displayName="FontAwesomeIcon",wa.propTypes={beat:da().bool,border:da().bool,beatFade:da().bool,bounce:da().bool,className:da().string,fade:da().bool,flash:da().bool,mask:da().oneOfType([da().object,da().array,da().string]),maskId:da().string,fixedWidth:da().bool,inverse:da().bool,flip:da().oneOf([!0,!1,"horizontal","vertical","both"]),icon:da().oneOfType([da().object,da().array,da().string]),listItem:da().bool,pull:da().oneOf(["right","left"]),pulse:da().bool,rotation:da().oneOf([0,90,180,270]),shake:da().bool,size:da().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:da().bool,spinPulse:da().bool,spinReverse:da().bool,symbol:da().oneOfType([da().bool,da().string]),title:da().string,titleId:da().string,transform:da().oneOfType([da().string,da().object]),swapOpacity:da().bool},wa.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var Ta=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var i=(n.children||[]).map((function(n){return e(t,n)})),o=Object.keys(n.attributes||{}).reduce((function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=r.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),i=va(t.slice(0,r)),o=t.slice(r+1).trim();return i.startsWith("webkit")?e[(n=i,n.charAt(0).toUpperCase()+n.slice(1))]=o:e[i]=o,e}),{});break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[va(t)]=r}return e}),{attrs:{}}),a=r.style,s=void 0===a?{}:a,l=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(r,ba);return o.attrs.style=pa(pa({},o.attrs.style),s),t.apply(void 0,[n.tag,pa(pa({},o.attrs),l)].concat(ma(i)))}.bind(null,t().createElement);const Aa=!("undefined"==typeof window||!window.document||!window.document.createElement);var Ca=(new Date).getTime(),Na=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-Ca)),r=setTimeout(e,n);return Ca=t,r},Ea=function(e,t){return e+(e?t[0].toUpperCase()+t.substr(1):t)+"AnimationFrame"};Aa&&["","webkit","moz","o","ms"].some((function(e){var t=Ea(e,"request");return t in window&&(Ea(e,"cancel"),Na=function(e){return window[t](e)}),!!Na}));var Sa=Na;function ja(e,t){e.classList?e.classList.add(t):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(e,t)||("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function ka(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function Da(e,t){e.classList?e.classList.remove(t):"string"==typeof e.className?e.className=ka(e.className,t):e.setAttribute("class",ka(e.className&&e.className.baseVal||"",t))}var La=/([A-Z])/g,Oa=/^ms-/;function Ra(e){return function(e){return e.replace(La,"-$1").toLowerCase()}(e).replace(Oa,"-ms-")}var Pa=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;const za=function(e,t){var n="",r="";if("string"==typeof t)return e.style.getPropertyValue(Ra(t))||function(e,t){return function(e){var t=function(e){return e&&e.ownerDocument||document}(e);return t&&t.defaultView||window}(e).getComputedStyle(e,void 0)}(e).getPropertyValue(Ra(t));Object.keys(t).forEach((function(i){var o=t[i];o||0===o?function(e){return!(!e||!Pa.test(e))}(i)?r+=i+"("+o+") ":n+=Ra(i)+": "+o+";":e.style.removeProperty(Ra(i))})),r&&(n+="transform: "+r+";"),e.style.cssText+=";"+n};var Ua=!1,_a=!1;try{var Za={get passive(){return Ua=!0},get once(){return _a=Ua=!0}};Aa&&(window.addEventListener("test",Za,Za),window.removeEventListener("test",Za,!0))}catch(Hf){}const Ga=function(e,t,n,r){return function(e,t,n,r){if(r&&"boolean"!=typeof r&&!_a){var i=r.once,o=r.capture,a=n;!_a&&i&&(a=n.__once||function e(r){this.removeEventListener(t,e,o),n.call(this,r)},n.__once=a),e.addEventListener(t,a,Ua?r:o)}e.addEventListener(t,n,r)}(e,t,n,r),function(){!function(e,t,n,r){var i=r&&"boolean"!=typeof r?r.capture:r;e.removeEventListener(t,n,i),n.__once&&e.removeEventListener(t,n.__once,i)}(e,t,n,r)}};function Ba(e,t,n,r){var i,o;null==n&&(o=-1===(i=za(e,"transitionDuration")||"").indexOf("ms")?1e3:1,n=parseFloat(i)*o||0);var a=function(e,t,n){void 0===n&&(n=5);var r=!1,i=setTimeout((function(){r||function(e){var t=document.createEvent("HTMLEvents");t.initEvent("transitionend",!0,!0),e.dispatchEvent(t)}(e)}),t+n),o=Ga(e,"transitionend",(function(){r=!0}),{once:!0});return function(){clearTimeout(i),o()}}(e,n,r),s=Ga(e,"transitionend",t);return function(){a(),s()}}function Fa(e){var t="transition"+e+"Timeout",n="transition"+e;return function(e){if(e[n]){if(!e[t])return new Error(t+" wasn't supplied to CSSTransitionGroup: this can cause unreliable animations and won't be supported in a future version of React. See https://fb.me/react-animation-transition-group-timeout for more information.");if("number"!=typeof e[t])return new Error(t+" must be a number (in milliseconds)")}return null}}var Ya=da().oneOfType([da().string,da().shape({enter:da().string,leave:da().string,active:da().string,height:da().string}),da().shape({enter:da().string,enterActive:da().string,leave:da().string,leaveActive:da().string,appear:da().string,appearActive:da().string,height:da().string,heightActive:da().string})]);function Wa(e){return Wa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Wa(e)}function Ha(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 Va(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function qa(e,t){return qa=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},qa(e,t)}function Qa(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ja(e){return Ja=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Ja(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}var Ka=[];Ba&&Ka.push(Ba);var $a={children:da().node,name:Ya.isRequired,appear:da().bool,enter:da().bool,leave:da().bool,appearTimeout:da().number,enterTimeout:da().number,leaveTimeout:da().number},es=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qa(e,t)}(s,e);var n,r,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Ja(i);if(o){var n=Ja(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){return!t||"object"!==Wa(t)&&"function"!=typeof t?Qa(e):t}(this,e)});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),Xa(Qa(t=a.call(this,e)),"componentWillAppear",(function(e){t.props.appear?t.transition("appear",e,t.props.appearTimeout):e()})),Xa(Qa(t),"componentWillEnter",(function(e){t.props.enter?t.transition("enter",e,t.props.enterTimeout):e()})),Xa(Qa(t),"componentWillLeave",(function(e){t.props.leave?t.transition("leave",e,t.props.leaveTimeout):e()})),t.classNameAndNodeQueue=[],t.transitionTimeouts=[],t}return n=s,r=[{key:"componentWillUnmount",value:function(){this.unmounted=!0,this.timeout&&clearTimeout(this.timeout),this.transitionTimeouts.forEach((function(e){clearTimeout(e)})),this.classNameAndNodeQueue.length=0}},{key:"transition",value:function(e,t,n){var r=(0,oi.findDOMNode)(this);if(r){var i,o=this.props.name[e]||this.props.name+"-"+e,a=this.props.name[e+"Active"]||o+"-active",s=null;ja(r,o),this.queueClassAndNode(a,r);var l=function(e){e&&e.target!==r||(clearTimeout(s),i&&i(),Da(r,o),Da(r,a),i&&i(),t&&t())};n?(s=setTimeout(l,n),this.transitionTimeouts.push(s)):Ba&&(i=function(e,t){return Ka.length?Ka.forEach((function(n){return e.addEventListener(n,t,!1)})):setTimeout(t,0),function(){Ka.length&&Ka.forEach((function(n){return e.removeEventListener(n,t,!1)}))}}(r,l))}else t&&t()}},{key:"queueClassAndNode",value:function(e,t){var n=this;this.classNameAndNodeQueue.push({className:e,node:t}),this.rafHandle||(this.rafHandle=Sa((function(){return n.flushClassNameAndNodeQueueOnNextFrame()})))}},{key:"flushClassNameAndNodeQueueOnNextFrame",value:function(){var e=this;this.rafHandle=Sa((function(){return e.flushClassNameAndNodeQueue()}))}},{key:"flushClassNameAndNodeQueue",value:function(){this.unmounted||this.classNameAndNodeQueue.forEach((function(e){e.node.scrollTop,ja(e.node,e.className)})),this.classNameAndNodeQueue.length=0,this.rafHandle=null}},{key:"render",value:function(){var e=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ha(Object(n),!0).forEach((function(t){Xa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ha(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},this.props);return delete e.name,delete e.appear,delete e.enter,delete e.leave,delete e.appearTimeout,delete e.enterTimeout,delete e.leaveTimeout,delete e.children,t().cloneElement(t().Children.only(this.props.children),e)}}],r&&Va(n.prototype,r),s}(t().Component);Xa(es,"displayName","CSSTransitionGroupChild"),es.propTypes=$a;const ts=es;function ns(e){return ns="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ns(e)}function rs(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 is(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rs(Object(n),!0).forEach((function(t){cs(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rs(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function os(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function as(e,t){return as=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},as(e,t)}function ss(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ls(e){return ls=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ls(e)}function cs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var us=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&as(e,t)}(s,e);var n,r,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=ls(i);if(o){var n=ls(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){return!t||"object"!==ns(t)&&"function"!=typeof t?ss(e):t}(this,e)});function s(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),cs(ss(n=a.call(this,e)),"handleDoneAppearing",(function(e){delete n.transitioningKeys[e],e!==n.state.currentKey&&n.performLeave(e)})),cs(ss(n),"performLeave",(function(e){n.transitioningKeys[e]=!0,n.childRefs[e].componentWillLeave(n.handleDoneLeaving.bind(ss(n),e)),n.state.currentChild&&(0,oi.findDOMNode)(n.childRefs[n.state.currentKey])||n.enqueueHeightTransition()})),cs(ss(n),"performHeightTransition",(function(){if(!n.unmounted){var e=ss(n).state,t=e.currentChild?(0,oi.findDOMNode)(n.childRefs[e.currentKey]):null;n.setState({height:t?t.offsetHeight:0,width:n.props.changeWidth?t?t.offsetWidth:0:null})}n.rafHandle=null})),n.childRefs=Object.create(null),n.state={currentKey:"1",currentChild:n.props.children?t().Children.only(n.props.children):void 0,prevChildren:{},height:null,width:null},n.shouldEnterCurrent=!1,n.keysToLeave=[],n.transitioningKeys={},n}return n=s,r=[{key:"componentDidMount",value:function(){this.props.transitionAppear&&this.state.currentChild&&this.performAppear(this.state.currentKey)}},{key:"componentWillUnmount",value:function(){this.unmounted=!0}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var n=e.children?t().Children.only(e.children):void 0,r=this.state.currentChild;if(r&&n&&n.key===r.key&&!this.state.nextChild)return this.setState({currentChild:n});var i=this.state,o=i.currentKey,a=i.prevChildren,s={currentKey:String(Number(o)+1),currentChild:n,height:0,width:this.props.changeWidth?0:null};if(n&&(this.shouldEnterCurrent=!0),r){var l=(0,oi.findDOMNode)(this.childRefs[o]);s.height=l?l.offsetHeight:0,s.width=this.props.changeWidth?l?l.offsetWidth:0:null,s.prevChildren=is(is({},a),{},cs({},o,r)),this.transitioningKeys[o]||this.keysToLeave.push(o)}this.setState(s)}},{key:"componentDidUpdate",value:function(){this.shouldEnterCurrent&&(this.shouldEnterCurrent=!1,(0,oi.findDOMNode)(this.childRefs[this.state.currentKey])&&this.performEnter(this.state.currentKey));var e=this.keysToLeave;this.keysToLeave=[],e.forEach(this.performLeave)}},{key:"performAppear",value:function(e){this.transitioningKeys[e]=!0,this.childRefs[e].componentWillAppear(this.handleDoneAppearing.bind(this,e))}},{key:"performEnter",value:function(e){this.transitioningKeys[e]=!0,this.childRefs[e].componentWillEnter(this.handleDoneEntering.bind(this,e)),this.enqueueHeightTransition()}},{key:"handleDoneEntering",value:function(e){delete this.transitioningKeys[e],e===this.state.currentKey?this.setState({height:null}):this.performLeave(e)}},{key:"handleDoneLeaving",value:function(e){delete this.transitioningKeys[e];var t={prevChildren:is({},this.state.prevChildren)};delete t.prevChildren[e],delete this.childRefs[e],this.state.currentChild&&(0,oi.findDOMNode)(this.childRefs[this.state.currentKey])||(t.height=null),this.setState(t)}},{key:"enqueueHeightTransition",value:function(){this.rafHandle||(this.rafHandle=Sa(this.performHeightTransition))}},{key:"wrapChild",value:function(e,n){var r=this.props.transitionName;return"object"===ns(r)&&null!==r&&delete(r=is({},r)).height,t().createElement(ts,is({name:r,appear:this.props.transitionAppear,enter:this.props.transitionEnter,leave:this.props.transitionLeave,appearTimeout:this.props.transitionAppearTimeout,enterTimeout:this.props.transitionEnterTimeout,leaveTimeout:this.props.transitionLeaveTimeout},n),e)}},{key:"render",value:function(){var e=this,n=this.state,r=n.currentKey,i=n.currentChild,o=n.prevChildren,a=n.height,s=n.width,l=[],c=this.props,u=c.overflowHidden,d=c.transitionName,f=c.component,p=c.childComponent,h=c.notifyLeaving,g=(c.transitionAppear,c.transitionEnter,c.transitionLeave,c.changeWidth,c.transitionAppearTimeout,c.transitionEnterTimeout,c.transitionLeaveTimeout,function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(c,["overflowHidden","transitionName","component","childComponent","notifyLeaving","transitionAppear","transitionEnter","transitionLeave","changeWidth","transitionAppearTimeout","transitionEnterTimeout","transitionLeaveTimeout"])),m=this.shouldEnterCurrent||this.keysToLeave.length||Object.keys(this.transitioningKeys).length;if(g.style=is({},g.style),m&&(g.style.position="relative",u&&(g.style.overflow="hidden")),null!==a){var y="string"==typeof d?"".concat(d,"-height"):d&&d.height||"";g.className="".concat(g.className||""," ").concat(y),g.style.height=a}null!==s&&(g.style.width=s);var v={position:"absolute",top:0,left:0,right:0,bottom:0,userSelect:"none"};return Object.keys(o).forEach((function(n){var r=o[n];l.push(t().createElement(p,{key:n,style:v},e.wrapChild(h&&"string"!=typeof r.type?t().cloneElement(r,{isLeaving:!0}):r,{ref:function(t){return e.childRefs[n]=t}})))})),i&&l.push(t().createElement(p,{key:r,style:this.transitioningKeys[r]?v:m?{position:"relative"}:null},this.wrapChild(i,{ref:function(t){return e.childRefs[r]=t}}))),t().createElement(f,g,l)}}],r&&os(n.prototype,r),s}(t().Component);cs(us,"displayName","ReactCSSTransitionReplace"),cs(us,"propTypes",{transitionName:Ya.isRequired,transitionAppear:da().bool,transitionEnter:da().bool,transitionLeave:da().bool,transitionAppearTimeout:Fa("Appear"),transitionEnterTimeout:Fa("Enter"),transitionLeaveTimeout:Fa("Leave"),overflowHidden:da().bool,changeWidth:da().bool,notifyLeaving:da().bool}),cs(us,"defaultProps",{transitionAppear:!1,transitionEnter:!0,transitionLeave:!0,overflowHidden:!0,changeWidth:!1,notifyLeaving:!1,component:"div",childComponent:"span"});const ds=({error:e,children:n})=>{const{t:r}=Mr();return t().createElement(us,{transitionName:"e-crossfade",transitionEnterTimeout:500,transitionLeaveTimeout:500},null!=e?t().createElement("div",{className:"e-color-error",role:"alert"},t().createElement(wa,{icon:Oi,className:"e-mrg-r-1"}),r(`audio-errors.${e}`)):t().createElement("div",{key:"no-error"},n))};var fs=i(2145);const ps=e=>(0,fs.action)("PLAY_AUDIO",e),hs=e=>(0,fs.action)("PLAY_AUDIO_STARTED",e),gs=()=>(0,fs.action)("PLAY_AUDIO_FINISHED"),ms=(e,t)=>(0,fs.action)("SHOW_AUDIO_ERROR",{audio:e,error:t}),ys=e=>(0,fs.action)("HIDE_AUDIO_ERROR",e),vs=e=>(0,fs.action)("UPDATE_REMAINING",e),bs=t().memo((function({src:e,restrictedAudioId:n,duration:r,times:i,labelId:o}){const a=pi(Ni(e,n)),s=pi(((e,t)=>n=>"playing"===Ni(e,t)(n)?n.audio.nowPlaying.durationRemaining:void 0)(e,n)),l=pi(ji(n,i)),{i18n:c}=Mr(),u=xi(),d="playing"===a,f="stopped"===a,p=!f||0===l,h=`audio-remaining-${n}`,g=d?[]:[h,o];return t().createElement("div",{className:ni()("restricted-audio-player e-column e-column--narrow e-columns e-columns--inline e-columns--center-v e-pad-1",{"restricted-audio-player--disabled":p}),lang:c.language},t().createElement("button",{className:ni()("restricted-audio-player__play e-column e-column--narrow",{"restricted-audio-player__play--playing":d}),disabled:p,onClick:()=>f&&u(ps({src:e,restrictedAudioId:n,duration:r})),"aria-labelledby":g.join(" ")},!d&&t().createElement(wa,{icon:Ui,fixedWidth:!0})),t().createElement("span",{className:"restricted-audio-player__duration e-column e-text-right",id:h},function(e){const t=e%60;return`${Is(Math.floor(e/60))}:${Is(t)}`}(null!=s?s:r)))}));function Is(e){return e.toString().padStart(2,"0")}const xs=t().memo((function({element:n,className:r,renderChildNodes:i}){const o=n.getAttribute("src"),a=Ae(n,"restricted-audio-id"),s=Ae(n,"times"),l=Ae(n,"duration"),{t:c}=Mr(),u=null!=s&&null!=a?pi(Ei(o,a)):void 0,d=null!=s&&null!=a?pi(ji(a,s)):void 0,{resolveAttachment:f}=(0,e.useContext)(Vr),p=_r(n);return t().createElement("div",{className:ni()("audio e-columns e-columns--center-v e-mrg-b-2",r)},null!=a&&null!=s?t().createElement(bs,{src:o,restrictedAudioId:a,duration:l,times:s,labelId:p}):t().createElement("audio",{className:"e-column e-column--narrow","aria-describedby":p,preload:"metadata",controls:!0,controlsList:"nodownload"},t().createElement("source",{src:f(o)})),t().createElement("div",{className:"e-column",id:p},t().createElement(ds,{error:u},i(n)),null!=d&&t().createElement("em",null,c("listen-times-remaining",{count:d}))))})),Ms=ke({attachment:Kr((function({element:n}){const{displayNumber:r}=(0,e.useContext)(Xr);return t().createElement("li",{"data-list-number":r,"aria-label":r},Ms(n,1))})),"attachment-title":function({element:n}){const{attachmentsURL:r}=(0,e.useContext)(Vr),{displayNumber:i}=(0,e.useContext)(Xr);return t().createElement("a",{href:Fr(r,{hash:i}),className:"exam-attachment-title",target:"attachments"},Ms(n))}}),ws=t().memo((function({element:e,showTitle:n=!0,forceRender:r=!1}){if(null==Me(e,"question")&&!r)return null;const{t:i}=Mr(),o=Or(e);return t().createElement("div",{className:"external-material-list e-mrg-b-4"},n&&t().createElement("h4",{className:"external-material-title",id:o},i("external-material-title")),t().createElement("ol",{className:"e-list-data e-pad-l-0 e-mrg-0","aria-labelledby":o},Ms(e)))})),Ts=t().memo((function({element:n,className:r,renderChildNodes:i}){const o=n.getAttribute("src"),a=n.hasChildNodes(),{resolveAttachment:s}=(0,e.useContext)(Vr);return t().createElement("a",{className:ni()("file e-nowrap",r),href:s(o),download:!0},a?t().createElement(t().Fragment,null,i(n)," (",o,")"):o)})),As=t().memo((function({element:e,className:n}){const r=Te(e,"svg"),i=Te(e,"assistive-title"),o="display"===Te(e,"mode");return t().createElement(t().Fragment,null,t().createElement("span",{className:ni()("e-formula",{"e-block e-text-center":o},n),dangerouslySetInnerHTML:{__html:r},"aria-hidden":"true"}),t().createElement("span",{className:"e-screen-reader-only"},i||e.textContent))})),Cs=({bordered:e=!1,className:n,children:r,height:i,width:o,caption:a,captionId:s})=>{const l=i/o*100+"%",c=o+(e?18:0);return t().createElement("span",{className:ni()("responsive-media-container",{"responsive-media-container--bordered":e},n),style:{maxWidth:c}},t().createElement("span",{className:"responsive-media-container__inner",style:{paddingBottom:l}},r),a&&t().createElement("span",{className:"e-block e-mrg-t-1 e-font-size-s e-light",id:s},a))};function Ns(e){return"string"==typeof e&&0===e.trim().length}const Es=t().memo((function({element:n,className:r,renderChildNodes:i}){const{resolveAttachment:o}=(0,e.useContext)(Vr),{t:a}=Mr(),s=Te(n,"src"),l=Ae(n,"width"),c=Ae(n,"height"),u=we(n,"image-title"),d=u&&i(u),f=null!=d&&!d.every(Ns),p=f?d:void 0,h=f?zr(n):void 0,g=o(s),m=t().createElement("img",{className:"e-image",src:g,alt:"","aria-labelledby":h});return t().createElement(t().Fragment,null,t().createElement(Cs,{className:r,width:l,height:c,caption:p,captionId:h,bordered:f||null!=Me(n,"choice-answer")},null!=Me(n,["choice-answer","hint"])?m:t().createElement("a",{title:a.raw("zoom-in"),href:g,target:"original-picture",className:"e-zoomable","aria-hidden":!f,tabIndex:-1},m)))})),Ss=function({element:e,renderChildNodes:n}){const r=n(e);return 0===r.length?null:t().createElement(t().Fragment,null,r)};function js({element:e,renderChildNodes:n}){return t().createElement("em",null,n(e))}function ks({element:e,renderChildNodes:n}){return t().createElement("a",{href:e.textContent,target:"_blank",rel:"noreferrer"},n(e))}function Ds({element:n}){const r=n.textContent;if(/^[0-9]{4}$/.test(r))return t().createElement(t().Fragment,null,r);{const n=new Date(r.trim()),{dateTimeFormatter:i}=(0,e.useContext)(Vr);return t().createElement(t().Fragment,null,i.format(n))}}const Ls=t().memo((function({element:e,renderChildNodes:n}){const{t:r}=Mr();function i(r,i){const o=we(e,r);if(o){const e=o.localName,r=t().createElement(i,{element:o,renderChildNodes:n,key:e});if(r)return Ce(o,"hidden")?t().createElement("del",{key:e},r):r}}function o(i,o,a){const s=we(e,i);return s&&t().createElement(t().Fragment,{key:s.localName},r(o)," ",t().createElement(a,{element:s,renderChildNodes:n,key:s.localName}))}return t().createElement("span",{className:ni()("e-break-word",{"e-line-through":Ce(e,"hidden")})},r("references.source"),ye,(". ",(a=[i("author",Ss),i("title",js),i("publisher",Ss),i("publication",Ss),i("howpublished",Ss),i("url",ks),o("publication-date","references.date",Ds),o("reference-date","references.reference-date",Ds),o("translator","references.translator",Ss),o("modified-by","references.modified-by",Ss),i("note",Ss)]).filter(Boolean).reduce(((e,t,n)=>(e.push(t),n!==a.length-1&&e.push(". "),e)),[])));var a})),Os=t().memo((function({element:n,renderChildNodes:r,className:i}){const{resolveAttachment:o}=(0,e.useContext)(Vr),a=Te(n,"src"),s=Ae(n,"width"),l=Ae(n,"height"),c=we(n,"video-title"),u=c&&r(c),d=null!=u&&!u.every(Ns),f=d?u:void 0,p=d?Ur(n):void 0;return t().createElement(Cs,{caption:f,captionId:p,className:i,width:s,height:l},t().createElement("video",{className:"video",preload:"metadata",controls:!0,controlsList:"nodownload",disablePictureInPicture:!0,"aria-describedby":p},t().createElement("source",{src:o(a)})))}));var Rs=/\s/;const Ps=function(e){for(var t=e.length;t--&&Rs.test(e.charAt(t)););return t};var zs=/^\s+/;var Us=/^[-+]0x[0-9a-f]+$/i,_s=/^0b[01]+$/i,Zs=/^0o[0-7]+$/i,Gs=parseInt;const Bs=function(e){if("number"==typeof e)return e;if(Jt(e))return NaN;if(le(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=le(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;var n;e=(n=e)?n.slice(0,Ps(n)+1).replace(zs,""):n;var r=_s.test(e);return r||Zs.test(e)?Gs(e.slice(2),r?2:8):Us.test(e)?NaN:+e};const Fs=function(e){var t=function(e){return e?1/0===(e=Bs(e))||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}(e),n=t%1;return t==t?n?t-n:t:0};var Ys=4294967295,Ws=Math.min;function Hs({opacity:e,setOpacity:n,element:r,renderChildNodes:i}){const o=we(r,"image-title");return t().createElement("div",{className:"e-columns e-columns--center-v e-mrg-b-1"},t().createElement("div",{className:"e-column e-text-right e-mrg-r-1"},o&&i(o)),t().createElement(wa,{icon:Pi,className:"e-mrg-r-1 e-pointer",onClick:()=>n(0)}),t().createElement("input",{type:"range",min:0,max:1,step:.01,value:e,onChange:e=>n(Number(e.target.value))}),t().createElement(wa,{icon:Ri,className:"e-mrg-l-1 e-pointer",onClick:()=>n(1)}))}function Vs({element:n,absolute:r,opacity:i}){const o=n.getAttribute("src"),a=Ae(n,"width"),s=Ae(n,"height"),l=(0,e.useContext)(Vr).resolveAttachment(o);return t().createElement("div",{className:ni()("e-columns e-columns--center-h",{"e-image-overlay__image-absolute":r}),style:{opacity:i}},t().createElement(Cs,{width:a,height:s},t().createElement("img",{className:"e-image",src:l})))}const qs=t().memo((function({element:n,renderChildNodes:r}){const[i,o]=(0,e.useState)((()=>function(e,t){if((e=Fs(e))<1||e>9007199254740991)return[];var n=Ys,r=Ws(e,Ys);t=ge(t),e-=Ys;for(var i=x(r,t);++n<e;)t(n);return i}(n.children.length,(e=>0===e?1:0)))),a=e=>t=>{const n=[...i];n[e]=t,o(n)};return t().createElement("div",{className:"e-image-overlay e-mrg-b-1"},t().createElement("div",{className:"e-columns e-columns--center-h"},t().createElement("div",null,Ne(n,((e,n)=>t().createElement(Hs,{key:n,opacity:i[n],element:e,setOpacity:a(n),renderChildNodes:r}))))),t().createElement("div",null,t().createElement("div",{className:"e-image-overlay__images-wrapper"},Ne(n,((e,n)=>t().createElement(Vs,{key:n,element:e,renderChildNodes:r,opacity:i[n],absolute:n>0}))))))})),Qs=ke({"attachment-link":Qr("link"),"attachment-links":Jr("link"),"attachment-title":ei,attachment:$r,audio:xs,"audio-title":Ss,file:Ts,image:Es,video:Os,formula:As,reference:function(e,n,r){const i=n=>t().createElement("div",{...r},t().createElement(e,{...n}));return i.displayName=`Surround(${Wr(e)})`,i}(Ls,0,{className:"e-mrg-y-2 e-font-size-s"}),"image-overlay":qs}),Js=t().memo((function({element:e,forceRender:n=!1}){if(null==Me(e,"question")&&!n)return null;const r=e.children.length;return t().createElement(t().Fragment,null,r>1&&t().createElement(ws,{element:e,renderChildNodes:Qs,showTitle:!1,forceRender:n}),Qs(e))})),Xs=t().createContext({}),Ks=Hr(Xs,(({element:e})=>{const t=xe(e,"question",!1),n=t.length?[]:xe(e,["text-answer","scored-text-answer","dropdown-answer","choice-answer"],!1),r=xe(e,"question-instruction",!1),i=e.getAttribute("display-number"),o=r.length>0?r.map(Dr).join(" "):kr(i);return{answers:n,displayNumber:i,hasExternalMaterial:null!=we(e,"external-material"),maxAnswers:Ae(e,"max-answers"),maxScore:Ae(e,"max-score"),level:ve(e,"question").length,childQuestions:t,questionLabelIds:o}})),$s=e=>{const n=ni()("e-section e-bg-color-off-white e-pad-6",e.className);return t().createElement("section",{...e,className:n},e.children)},el=t().memo(Ks((function({element:n,renderChildNodes:r}){const{displayNumber:i,hasExternalMaterial:o,level:a}=(0,e.useContext)(Xs);return function(e,t,n){return t&&(0===n||ve(e).every((e=>"question"!==e.localName||!we(e,"external-material"))))}(n,o,a)?t().createElement($s,{id:i,"aria-labelledby":kr(i)},r(n,1)):t().createElement(t().Fragment,null,r(n,1))})));function tl(e){return e.includes(".")?e:`${e}.`}const nl=t().memo((function({element:n,renderChildNodes:r}){const{displayNumber:i,hasExternalMaterial:o}=(0,e.useContext)(Xs);return o?t().createElement("h2",{id:kr(i)},tl(i)," ",r(n)):null})),rl=t().memo((n=>{const r=(0,e.useRef)(null);return(0,e.useLayoutEffect)((()=>{r.current&&(document.title=r.current.textContent)})),t().createElement("h1",{...n,ref:r})})),il=t().createContext({}),ol=Hr(il,(e=>{const{casCountdownDuration:t,examServerApi:n}=e;return{casCountdownDuration:t||60,examServerApi:n}})),al=t().memo((function({element:e,renderChildNodes:n}){return t().createElement(t().Fragment,null,n(e,1))})),sl=t().createContext({}),ll=Hr(sl,(({element:e})=>({casForbidden:Ce(e,"cas-forbidden"),displayNumber:e.getAttribute("display-number"),maxAnswers:Ae(e,"max-answers"),minAnswers:Ae(e,"min-answers"),maxScore:Ae(e,"max-score"),childQuestions:Ne(e,(e=>e)).filter((e=>"question"===e.localName))}))),cl=ke({"audio-group":al,"external-material":Js,"question-title":nl,question:el,section:ll(Ss)}),ul=()=>{const{t:e}=Mr();return t().createElement(t().Fragment,null,e("attachments-page-title"))},dl=t().memo(ol(qr((()=>{const{root:n,language:r,date:i,dateTimeFormatter:o,dayCode:a,examCode:s,resolveAttachment:l,subjectLanguage:c}=(0,e.useContext)(Vr),u=we(n,"exam-title"),d=n.getAttribute("exam-stylesheet"),f=we(n,"external-material"),p=Br((()=>xr(r,s,a)));return(0,e.useEffect)(wr(p,r)),(0,e.useEffect)(Gr,[]),t().createElement(y,{i18n:p},t().createElement("main",{className:"e-exam attachments",lang:c,"aria-labelledby":Er},t().createElement(t().StrictMode,null),d&&t().createElement("link",{rel:"stylesheet",href:l(d)}),t().createElement($s,{"aria-labelledby":Er},u&&t().createElement(rl,{id:Er},t().createElement(ul,null),ye,cl(u)),t().createElement("div",{className:"e-semibold e-mrg-b-6"},o.format(i)),f&&t().createElement(Js,{element:f,renderChildNodes:cl,forceRender:!0})),cl(n)))}))));function fl(e){const t=e.documentElement;return ml(t,xe(t,"section",!1).map(pl),{maxAnswers:Ae(t,"max-answers")})}function pl(e){return ml(e,xe(e,"question",!1).map(hl),{displayNumber:Te(e,"display-number"),minAnswers:Ae(e,"min-answers"),maxAnswers:Ae(e,"max-answers")})}function hl(e){const t=xe(e,"question",!1);return ml(e,t.length?t.map(hl):xe(e,["text-answer","scored-text-answer","choice-answer","dropdown-answer"],!1).map(gl),{displayNumber:Te(e,"display-number"),maxAnswers:Ae(e,"max-answers")})}function gl(e){return ml(e,[],{displayNumber:Te(e,"display-number"),questionId:Ae(e,"question-id"),maxLength:Ae(e,"max-length")})}function ml(e,t,n){return{name:e.localName,attributes:n,childNodes:t}}function yl(e){var t=this.__data__=new wn(e);this.size=t.size}yl.prototype.clear=function(){this.__data__=new wn,this.size=0},yl.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},yl.prototype.get=function(e){return this.__data__.get(e)},yl.prototype.has=function(e){return this.__data__.has(e)},yl.prototype.set=function(e,t){var n=this.__data__;if(n instanceof wn){var r=n.__data__;if(!Tn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Nn(r)}return n.set(e,t),this.size=n.size,this};const vl=yl;function bl(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Nn;++t<n;)this.add(e[t])}bl.prototype.add=bl.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},bl.prototype.has=function(e){return this.__data__.has(e)};const Il=bl,xl=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},Ml=function(e,t){return e.has(t)},wl=function(e,t,n,r,i,o){var a=1&n,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var c=o.get(e),u=o.get(t);if(c&&u)return c==t&&u==e;var d=-1,f=!0,p=2&n?new Il:void 0;for(o.set(e,t),o.set(t,e);++d<s;){var h=e[d],g=t[d];if(r)var m=a?r(g,h,d,t,e,o):r(h,g,d,e,t,o);if(void 0!==m){if(m)continue;f=!1;break}if(p){if(!xl(t,(function(e,t){if(!Ml(p,t)&&(h===e||i(h,e,n,r,o)))return p.push(t)}))){f=!1;break}}else if(h!==g&&!i(h,g,n,r,o)){f=!1;break}}return o.delete(e),o.delete(t),f},Tl=T.Uint8Array,Al=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n},Cl=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n};var Nl=A?A.prototype:void 0,El=Nl?Nl.valueOf:void 0;const Sl=function(e,t,n){var r=t(e);return _(e)?r:Kn(r,n(e))},jl=function(){return[]};var kl=Object.prototype.propertyIsEnumerable,Dl=Object.getOwnPropertySymbols,Ll=Dl?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}(Dl(e),(function(t){return kl.call(e,t)})))}:jl;const Ol=Ll,Rl=function(e){return Sl(e,de,Ol)};var Pl=Object.prototype.hasOwnProperty;const zl=pn(T,"DataView"),Ul=pn(T,"Promise"),_l=pn(T,"Set"),Zl=pn(T,"WeakMap");var Gl="[object Map]",Bl="[object Promise]",Fl="[object Set]",Yl="[object WeakMap]",Wl="[object DataView]",Hl=on(zl),Vl=on(Tn),ql=on(Ul),Ql=on(_l),Jl=on(Zl),Xl=D;(zl&&Xl(new zl(new ArrayBuffer(1)))!=Wl||Tn&&Xl(new Tn)!=Gl||Ul&&Xl(Ul.resolve())!=Bl||_l&&Xl(new _l)!=Fl||Zl&&Xl(new Zl)!=Yl)&&(Xl=function(e){var t=D(e),n="[object Object]"==t?e.constructor:void 0,r=n?on(n):"";if(r)switch(r){case Hl:return Wl;case Vl:return Gl;case ql:return Bl;case Ql:return Fl;case Jl:return Yl}return t});const Kl=Xl;var $l="[object Arguments]",ec="[object Array]",tc="[object Object]",nc=Object.prototype.hasOwnProperty;const rc=function(e,t,n,r,i,o){var a=_(e),s=_(t),l=a?ec:Kl(e),c=s?ec:Kl(t),u=(l=l==$l?tc:l)==tc,d=(c=c==$l?tc:c)==tc,f=l==c;if(f&&F(e)){if(!F(t))return!1;a=!0,u=!1}if(f&&!u)return o||(o=new vl),a||ee(e)?wl(e,t,n,r,i,o):function(e,t,n,r,i,o,a){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||!o(new Tl(e),new Tl(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return bn(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var s=Al;case"[object Set]":var l=1&r;if(s||(s=Cl),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;r|=2,a.set(e,t);var u=wl(s(e),s(t),r,i,o,a);return a.delete(e),u;case"[object Symbol]":if(El)return El.call(e)==El.call(t)}return!1}(e,t,l,n,r,i,o);if(!(1&n)){var p=u&&nc.call(e,"__wrapped__"),h=d&&nc.call(t,"__wrapped__");if(p||h){var g=p?e.value():e,m=h?t.value():t;return o||(o=new vl),i(g,m,n,r,o)}}return!!f&&(o||(o=new vl),function(e,t,n,r,i,o){var a=1&n,s=Rl(e),l=s.length;if(l!=Rl(t).length&&!a)return!1;for(var c=l;c--;){var u=s[c];if(!(a?u in t:Pl.call(t,u)))return!1}var d=o.get(e),f=o.get(t);if(d&&f)return d==t&&f==e;var p=!0;o.set(e,t),o.set(t,e);for(var h=a;++c<l;){var g=e[u=s[c]],m=t[u];if(r)var y=a?r(m,g,u,t,e,o):r(g,m,u,e,t,o);if(!(void 0===y?g===m||i(g,m,n,r,o):y)){p=!1;break}h||(h="constructor"==u)}if(p&&!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||(p=!1)}return o.delete(e),o.delete(t),p}(e,t,n,r,i,o))},ic=function e(t,n,r,i,o){return t===n||(null==t||null==n||!L(t)&&!L(n)?t!=t&&n!=n:rc(t,n,r,i,e,o))},oc=function(e){return e==e&&!le(e)},ac=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}},sc=function(e){var t=function(e){for(var t=de(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,oc(i)]}return t}(e);return 1==t.length&&t[0][2]?ac(t[0][0],t[0][1]):function(n){return n===e||function(e,t,n,r){var i=n.length,o=i,a=!r;if(null==e)return!o;for(e=Object(e);i--;){var s=n[i];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<o;){var l=(s=n[i])[0],c=e[l],u=s[1];if(a&&s[2]){if(void 0===c&&!(l in e))return!1}else{var d=new vl;if(r)var f=r(c,u,l,e,t,d);if(!(void 0===f?ic(u,c,3,r,d):f))return!1}}return!0}(n,e,t)}},lc=function(e){return $t(e)?function(e){return function(t){return null==t?void 0:t[e]}}(Bn(e)):function(e){return function(t){return Fn(t,e)}}(e)},cc=function(e){return"function"==typeof e?e:null==e?he:"object"==typeof e?_(e)?(t=e[0],n=e[1],$t(t)&&oc(n)?ac(Bn(t),n):function(e){var r=Ci(e,t);return void 0===r&&r===n?Jn(e,t):ic(n,r,3)}):sc(e):lc(e);var t,n},uc=function(e,t){var n=-1,r=ue(e)?Array(e.length):[];return pe(e,(function(e,i,o){r[++n]=t(e,i,o)})),r},dc=function(e,t){return(_(e)?Pn:uc)(e,cc(t))},fc=function(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i<o;){var a=e[i];t(r,a,n(a),e)}return r},pc=function(e,t,n,r){return pe(e,(function(e,i,o){t(r,e,n(e),o)})),r};var hc,gc=(hc=function(e,t,n){Wn(e,n,t)},function(e,t){var n={};return(_(e)?fc:pc)(e,hc,cc(t),n)});const mc=gc;function yc(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 vc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yc(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function bc(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var Ic="function"==typeof Symbol&&Symbol.observable||"@@observable",xc=function(){return Math.random().toString(36).substring(7).split("").join(".")},Mc={INIT:"@@redux/INIT"+xc(),REPLACE:"@@redux/REPLACE"+xc(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+xc()}};function wc(e,t,n){var r;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(bc(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(bc(1));return n(wc)(e,t)}if("function"!=typeof e)throw new Error(bc(2));var i=e,o=t,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function u(){if(l)throw new Error(bc(3));return o}function d(e){if("function"!=typeof e)throw new Error(bc(4));if(l)throw new Error(bc(5));var t=!0;return c(),s.push(e),function(){if(t){if(l)throw new Error(bc(6));t=!1,c();var n=s.indexOf(e);s.splice(n,1),a=null}}}function f(e){if(!function(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(e))throw new Error(bc(7));if(void 0===e.type)throw new Error(bc(8));if(l)throw new Error(bc(9));try{l=!0,o=i(o,e)}finally{l=!1}for(var t=a=s,n=0;n<t.length;n++)(0,t[n])();return e}return f({type:Mc.INIT}),(r={dispatch:f,subscribe:d,getState:u,replaceReducer:function(e){if("function"!=typeof e)throw new Error(bc(10));i=e,f({type:Mc.REPLACE})}})[Ic]=function(){var e,t=d;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(bc(11));function n(){e.next&&e.next(u())}return n(),{unsubscribe:t(n)}}})[Ic]=function(){return this},e},r}function Tc(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}var Ac=function(e){return"@@redux-saga/"+e},Cc=Ac("CANCEL_PROMISE"),Nc=Ac("CHANNEL_END"),Ec=Ac("IO"),Sc=Ac("MATCH"),jc=Ac("MULTICAST"),kc=Ac("SAGA_ACTION"),Dc=Ac("SELF_CANCELLATION"),Lc=Ac("TASK"),Oc=Ac("TASK_CANCEL"),Rc=Ac("TERMINATE"),Pc=Ac("LOCATION");function zc(){return zc=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},zc.apply(this,arguments)}var Uc=function(e){return null==e},_c=function(e){return null!=e},Zc=function(e){return"function"==typeof e},Gc=function(e){return"string"==typeof e},Bc=Array.isArray,Fc=function(e){return e&&Zc(e.then)},Yc=function(e){return e&&Zc(e.next)&&Zc(e.throw)},Wc=function e(t){return t&&(Gc(t)||qc(t)||Zc(t)||Bc(t)&&t.every(e))},Hc=function(e){return e&&Zc(e.take)&&Zc(e.close)},Vc=function(e){return Zc(e)&&e.hasOwnProperty("toString")},qc=function(e){return Boolean(e)&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype},Qc=function(e){return Hc(e)&&e[jc]};const Jc=function(e,t){var n;void 0===t&&(t=!0);var r=new Promise((function(r){n=setTimeout(r,Math.min(2147483647,e),t)}));return r[Cc]=function(){clearTimeout(n)},r};var Xc=function(e){return function(){return true}}(),Kc=function(){},$c=function(e){return e};"function"==typeof Symbol&&Symbol.asyncIterator&&Symbol.asyncIterator;var eu=function(e,t){zc(e,t),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach((function(n){e[n]=t[n]}))};function tu(e,t){var n=e.indexOf(t);n>=0&&e.splice(n,1)}function nu(e){var t=!1;return function(){t||(t=!0,e())}}var ru=function(e){throw e},iu=function(e){return{value:e,done:!0}};function ou(e,t,n){void 0===t&&(t=ru),void 0===n&&(n="iterator");var r={meta:{name:n},next:e,throw:t,return:iu,isSagaIterator:!0};return"undefined"!=typeof Symbol&&(r[Symbol.iterator]=function(){return r}),r}function au(e,t){var n=t.sagaStack;console.error(e),console.error(n)}var su=function(e){return Array.apply(null,new Array(e))},lu=function(e){return function(t){return e(Object.defineProperty(t,kc,{value:!0}))}},cu=function(e){return e===Rc},uu=function(e){return e===Oc},du=function(e){return cu(e)||uu(e)};function fu(e,t){var n,r=Object.keys(e),i=r.length,o=0,a=Bc(e)?su(i):{},s={};return r.forEach((function(e){var r=function(r,s){n||(s||du(r)?(t.cancel(),t(r,s)):(a[e]=r,++o===i&&(n=!0,t(a))))};r.cancel=Kc,s[e]=r})),t.cancel=function(){n||(n=!0,r.forEach((function(e){return s[e].cancel()})))},s}function pu(e){return{name:e.name||"anonymous",location:hu(e)}}function hu(e){return e[Pc]}var gu=4,mu={isEmpty:Xc,put:Kc,take:Kc};var yu=function(e){return function(e,t){void 0===e&&(e=10);var n=new Array(e),r=0,i=0,o=0,a=function(t){n[i]=t,i=(i+1)%e,r++},s=function(){if(0!=r){var t=n[o];return n[o]=null,r--,o=(o+1)%e,t}},l=function(){for(var e=[];r;)e.push(s());return e};return{isEmpty:function(){return 0==r},put:function(s){var c;if(r<e)a(s);else switch(t){case 1:throw new Error("Channel's Buffer overflow!");case 3:n[i]=s,o=i=(i+1)%e;break;case gu:c=2*e,n=l(),r=n.length,i=n.length,o=0,n.length=c,e=c,a(s)}},take:s,flush:l}}(e,gu)},vu="TAKE",bu="PUT",Iu="RACE",xu="CALL",Mu="FORK",wu="CANCEL",Tu="SELECT",Au="CANCELLED",Cu=function(e,t){var n;return(n={})[Ec]=!0,n.combinator=!1,n.type=e,n.payload=t,n};function Nu(e,t){return void 0===e&&(e="*"),Wc(e)?(_c(t)&&console.warn("take(pattern) takes one argument but two were provided. Consider passing an array for listening to several action types"),Cu(vu,{pattern:e})):Qc(e)&&_c(t)&&Wc(t)?Cu(vu,{channel:e,pattern:t}):Hc(e)?(_c(t)&&console.warn("take(channel) takes one argument but two were provided. Second argument is ignored."),Cu(vu,{channel:e})):void 0}function Eu(e,t){return Uc(t)&&(t=e,e=void 0),Cu(bu,{channel:e,action:t})}function Su(e,t){var n,r=null;return Zc(e)?n=e:(Bc(e)?(r=e[0],n=e[1]):(r=e.context,n=e.fn),r&&Gc(n)&&Zc(r[n])&&(n=r[n])),{context:r,fn:n,args:t}}function ju(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 Cu(xu,Su(e,n))}function ku(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 Cu(Mu,Su(e,n))}function Du(e){return void 0===e&&(e=Dc),Cu(wu,e)}var Lu=ju.bind(null,Jc);const Ou=function(){var e={};return e.promise=new Promise((function(t,n){e.resolve=t,e.reject=n})),e};var Ru=[],Pu=0;function zu(e){try{Zu(),e()}finally{Gu()}}function Uu(e){Ru.push(e),Pu||(Zu(),Bu())}function _u(e){try{return Zu(),e()}finally{Bu()}}function Zu(){Pu++}function Gu(){Pu--}function Bu(){var e;for(Gu();!Pu&&void 0!==(e=Ru.shift());)zu(e)}var Fu=function(e){return function(t){return e.some((function(e){return qu(e)(t)}))}},Yu=function(e){return function(t){return e(t)}},Wu=function(e){return function(t){return t.type===String(e)}},Hu=function(e){return function(t){return t.type===e}},Vu=function(){return Xc};function qu(e){var t="*"===e?Vu:Gc(e)?Wu:Bc(e)?Fu:Vc(e)?Wu:Zc(e)?Yu:qc(e)?Hu:null;if(null===t)throw new Error("invalid pattern: "+e);return t(e)}var Qu={type:Nc},Ju=function(e){return e&&e.type===Nc};function Xu(e){void 0===e&&(e=yu());var t=!1,n=[];return{take:function(r){t&&e.isEmpty()?r(Qu):e.isEmpty()?(n.push(r),r.cancel=function(){tu(n,r)}):r(e.take())},put:function(r){if(!t){if(0===n.length)return e.put(r);n.shift()(r)}},flush:function(n){t&&e.isEmpty()?n(Qu):n(e.flush())},close:function(){if(!t){t=!0;var e=n;n=[];for(var r=0,i=e.length;r<i;r++)(0,e[r])(Qu)}}}}function Ku(){var e,t,n,r,i,o,a=(t=!1,r=n=[],i=function(){r===n&&(r=n.slice())},o=function(){t=!0;var e=n=r;r=[],e.forEach((function(e){e(Qu)}))},(e={})[jc]=!0,e.put=function(e){if(!t)if(Ju(e))o();else for(var i=n=r,a=0,s=i.length;a<s;a++){var l=i[a];l[Sc](e)&&(l.cancel(),l(e))}},e.take=function(e,n){void 0===n&&(n=Vu),t?e(Qu):(e[Sc]=n,i(),r.push(e),e.cancel=nu((function(){i(),tu(r,e)})))},e.close=o,e),s=a.put;return a.put=function(e){e[kc]?s(e):Uu((function(){s(e)}))},a}var $u=0,ed=1,td=2,nd=3;function rd(e,t){var n=e[Cc];Zc(n)&&(t.cancel=n),e.then(t,(function(e){t(e,!0)}))}var id,od=0,ad=function(){return++od};function sd(e){e.isRunning()&&e.cancel()}var ld=((id={})[vu]=function(e,t,n){var r=t.channel,i=void 0===r?e.channel:r,o=t.pattern,a=t.maybe,s=function(e){e instanceof Error?n(e,!0):!Ju(e)||a?n(e):n(Rc)};try{i.take(s,_c(o)?qu(o):null)}catch(e){return void n(e,!0)}n.cancel=s.cancel},id[bu]=function(e,t,n){var r=t.channel,i=t.action,o=t.resolve;Uu((function(){var t;try{t=(r?r.put:e.dispatch)(i)}catch(e){return void n(e,!0)}o&&Fc(t)?rd(t,n):n(t)}))},id.ALL=function(e,t,n,r){var i=r.digestEffect,o=od,a=Object.keys(t);if(0!==a.length){var s=fu(t,n);a.forEach((function(e){i(t[e],o,s[e],e)}))}else n(Bc(t)?[]:{})},id[Iu]=function(e,t,n,r){var i=r.digestEffect,o=od,a=Object.keys(t),s=Bc(t)?su(a.length):{},l={},c=!1;a.forEach((function(e){var t=function(t,r){c||(r||du(t)?(n.cancel(),n(t,r)):(n.cancel(),c=!0,s[e]=t,n(s)))};t.cancel=Kc,l[e]=t})),n.cancel=function(){c||(c=!0,a.forEach((function(e){return l[e].cancel()})))},a.forEach((function(e){c||i(t[e],o,l[e],e)}))},id[xu]=function(e,t,n,r){var i=t.context,o=t.fn,a=t.args,s=r.task;try{var l=o.apply(i,a);if(Fc(l))return void rd(l,n);if(Yc(l))return void vd(e,l,s.context,od,pu(o),!1,n);n(l)}catch(e){n(e,!0)}},id.CPS=function(e,t,n){var r=t.context,i=t.fn,o=t.args;try{var a=function(e,t){Uc(e)?n(t):n(e,!0)};i.apply(r,o.concat(a)),a.cancel&&(n.cancel=a.cancel)}catch(e){n(e,!0)}},id[Mu]=function(e,t,n,r){var i=t.context,o=t.fn,a=t.args,s=t.detached,l=r.task,c=function(e){var t=e.context,n=e.fn,r=e.args;try{var i=n.apply(t,r);if(Yc(i))return i;var o=!1;return ou((function(e){return o?{value:e,done:!0}:(o=!0,{value:i,done:!Fc(i)})}))}catch(e){return ou((function(){throw e}))}}({context:i,fn:o,args:a}),u=function(e,t){return e.isSagaIterator?{name:e.meta.name}:pu(t)}(c,o);_u((function(){var t=vd(e,c,l.context,od,u,s,void 0);s?n(t):t.isRunning()?(l.queue.addTask(t),n(t)):t.isAborted()?l.queue.abort(t.error()):n(t)}))},id.JOIN=function(e,t,n,r){var i=r.task,o=function(e,t){if(e.isRunning()){var n={task:i,cb:t};t.cancel=function(){e.isRunning()&&tu(e.joiners,n)},e.joiners.push(n)}else e.isAborted()?t(e.error(),!0):t(e.result())};if(Bc(t)){if(0===t.length)return void n([]);var a=fu(t,n);t.forEach((function(e,t){o(e,a[t])}))}else o(t,n)},id[wu]=function(e,t,n,r){var i=r.task;t===Dc?sd(i):Bc(t)?t.forEach(sd):sd(t),n()},id[Tu]=function(e,t,n){var r=t.selector,i=t.args;try{n(r.apply(void 0,[e.getState()].concat(i)))}catch(e){n(e,!0)}},id.ACTION_CHANNEL=function(e,t,n){var r=t.pattern,i=Xu(t.buffer),o=qu(r),a=function t(n){Ju(n)||e.channel.take(t,o),i.put(n)},s=i.close;i.close=function(){a.cancel(),s()},e.channel.take(a,o),n(i)},id[Au]=function(e,t,n,r){n(r.task.isCancelled())},id.FLUSH=function(e,t,n){t.flush(n)},id.GET_CONTEXT=function(e,t,n,r){n(r.task.context[t])},id.SET_CONTEXT=function(e,t,n,r){var i=r.task;eu(i.context,t),n()},id);function cd(e,t){return e+"?"+t}function ud(e){var t=e.name,n=e.location;return n?t+" "+cd(n.fileName,n.lineNumber):t}function dd(e){var t,n,r=(t=e,(n=[]).concat.apply(n,t.map((function(e){return e.cancelledTasks}))));return r.length?["Tasks cancelled due to error:"].concat(r).join("\n"):""}var fd=null,pd=[],hd=function(e){e.crashedEffect=fd,pd.push(e)},gd=function(){fd=null,pd.length=0},md=function(e){fd=e},yd=function(){var e,t,n=pd[0],r=pd.slice(1),i=n.crashedEffect?(e=n.crashedEffect,(t=hu(e))?t.code+" "+cd(t.fileName,t.lineNumber):""):null;return["The above error occurred in task "+ud(n.meta)+(i?" \n when executing effect "+i:"")].concat(r.map((function(e){return" created by "+ud(e.meta)})),[dd(pd)]).join("\n")};function vd(e,t,n,r,i,o,a){var s=e.finalizeRunEffect((function(t,n,r){Fc(t)?rd(t,r):Yc(t)?vd(e,t,c.context,n,i,!1,r):t&&t[Ec]?(0,ld[t.type])(e,t.payload,r,u):r(t)}));d.cancel=Kc;var l={meta:i,cancel:function(){l.status===$u&&(l.status=ed,d(Oc))},status:$u},c=function(e,t,n,r,i,o,a){var s;void 0===a&&(a=Kc);var l,c,u=$u,d=null,f=[],p=Object.create(n),h=function(e,t,n){var r,i=[],o=!1;function a(e){t(),l(),n(e,!0)}function s(t){i.push(t),t.cont=function(s,l){o||(tu(i,t),t.cont=Kc,l?a(s):(t===e&&(r=s),i.length||(o=!0,n(r))))}}function l(){o||(o=!0,i.forEach((function(e){e.cont=Kc,e.cancel()})),i=[])}return s(e),{addTask:s,cancelAll:l,abort:a,getTasks:function(){return i}}}(t,(function(){f.push.apply(f,h.getTasks().map((function(e){return e.meta.name})))}),g);function g(t,n){if(n){if(u=td,hd({meta:i,cancelledTasks:f}),m.isRoot){var r=yd();gd(),e.onError(t,{sagaStack:r})}c=t,d&&d.reject(t)}else t===Oc?u=ed:u!==ed&&(u=nd),l=t,d&&d.resolve(t);m.cont(t,n),m.joiners.forEach((function(e){e.cb(t,n)})),m.joiners=null}var m=((s={})[Lc]=!0,s.id=r,s.meta=i,s.isRoot=o,s.context=p,s.joiners=[],s.queue=h,s.cancel=function(){u===$u&&(u=ed,h.cancelAll(),g(Oc,!1))},s.cont=a,s.end=g,s.setContext=function(e){eu(p,e)},s.toPromise=function(){return d||(d=Ou(),u===td?d.reject(c):u!==$u&&d.resolve(l)),d.promise},s.isRunning=function(){return u===$u},s.isCancelled=function(){return u===ed||u===$u&&t.status===ed},s.isAborted=function(){return u===td},s.result=function(){return l},s.error=function(){return c},s);return m}(e,l,n,r,i,o,a),u={task:c,digestEffect:f};return a&&(a.cancel=c.cancel),d(),c;function d(e,n){try{var i;n?(i=t.throw(e),gd()):uu(e)?(l.status=ed,d.cancel(),i=Zc(t.return)?t.return(Oc):{done:!0,value:Oc}):i=cu(e)?Zc(t.return)?t.return():{done:!0}:t.next(e),i.done?(l.status!==ed&&(l.status=nd),l.cont(i.value)):f(i.value,r,d)}catch(e){if(l.status===ed)throw e;l.status=td,l.cont(e,!0)}}function f(t,n,r,i){void 0===i&&(i="");var o,a=ad();function l(n,i){o||(o=!0,r.cancel=Kc,e.sagaMonitor&&(i?e.sagaMonitor.effectRejected(a,n):e.sagaMonitor.effectResolved(a,n)),i&&md(t),r(n,i))}e.sagaMonitor&&e.sagaMonitor.effectTriggered({effectId:a,parentEffectId:n,label:i,effect:t}),l.cancel=Kc,r.cancel=function(){o||(o=!0,l.cancel(),l.cancel=Kc,e.sagaMonitor&&e.sagaMonitor.effectCancelled(a))},s(t,a,l)}}function bd(e,t){for(var n=e.channel,r=void 0===n?Ku():n,i=e.dispatch,o=e.getState,a=e.context,s=void 0===a?{}:a,l=e.sagaMonitor,c=e.effectMiddlewares,u=e.onError,d=void 0===u?au:u,f=arguments.length,p=new Array(f>2?f-2:0),h=2;h<f;h++)p[h-2]=arguments[h];var g,m=t.apply(void 0,p),y=ad();if(l&&(l.rootSagaStarted=l.rootSagaStarted||Kc,l.effectTriggered=l.effectTriggered||Kc,l.effectResolved=l.effectResolved||Kc,l.effectRejected=l.effectRejected||Kc,l.effectCancelled=l.effectCancelled||Kc,l.actionDispatched=l.actionDispatched||Kc,l.rootSagaStarted({effectId:y,saga:t,args:p})),c){var v=Tc.apply(void 0,c);g=function(e){return function(t,n,r){return v((function(t){return e(t,n,r)}))(t)}}}else g=$c;var b={channel:r,dispatch:lu(i),getState:o,sagaMonitor:l,onError:d,finalizeRunEffect:g};return _u((function(){var e=vd(b,m,s,y,pu(t),!0,void 0);return l&&l.effectResolved(y,e),e}))}const Id=function(e){var t,n=void 0===e?{}:e,r=n.context,i=void 0===r?{}:r,o=n.channel,a=void 0===o?Ku():o,s=n.sagaMonitor,l=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(n,["context","channel","sagaMonitor"]);function c(e){var n=e.getState,r=e.dispatch;return t=bd.bind(null,zc({},l,{context:i,channel:a,dispatch:r,getState:n,sagaMonitor:s})),function(e){return function(t){s&&s.actionDispatched&&s.actionDispatched(t);var n=e(t);return a.put(t),n}}}return c.run=function(){return t.apply(void 0,arguments)},c.setContext=function(e){eu(i,e)},c};var xd=function(e){return{done:!0,value:e}},Md={};function wd(e){return Hc(e)?"channel":Vc(e)?String(e):Zc(e)?e.name:String(e)}function Td(e,t,n){var r,i,o,a=t;function s(t,n){if(a===Md)return xd(t);if(n&&!i)throw a=Md,n;r&&r(t);var s=n?e[i](n):e[a]();return a=s.nextState,o=s.effect,r=s.stateUpdater,i=s.errorState,a===Md?xd(t):o}return ou(s,(function(e){return s(null,e)}),n)}function Ad(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o,a={done:!1,value:Nu(e)},s=function(e){return o=e};return Td({q1:function(){return{nextState:"q2",effect:a,stateUpdater:s}},q2:function(){return{nextState:"q1",effect:(e=o,{done:!1,value:ku.apply(void 0,[t].concat(r,[e]))})};var e}},"q1","takeEvery("+wd(e)+", "+t.name+")")}function Cd(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o,a,s={done:!1,value:Nu(e)},l=function(e){return{done:!1,value:ku.apply(void 0,[t].concat(r,[e]))}},c=function(e){return{done:!1,value:Du(e)}},u=function(e){return o=e},d=function(e){return a=e};return Td({q1:function(){return{nextState:"q2",effect:s,stateUpdater:d}},q2:function(){return o?{nextState:"q3",effect:c(o)}:{nextState:"q1",effect:l(a),stateUpdater:u}},q3:function(){return{nextState:"q1",effect:l(a),stateUpdater:u}}},"q1","takeLatest("+wd(e)+", "+t.name+")")}const Nd=function(e,t){return tr(dc(e,t),1)};function Ed(e,t){return function(e,n,r){return function e(n,r){return r.childNodes.reduce(e,((e,n)=>{if("text-answer"===n.name&&null!=n.attributes.maxLength){const r=t[n.attributes.questionId];return("richText"===(null==r?void 0:r.type)||"text"===(null==r?void 0:r.type))&&r.characterCount>n.attributes.maxLength?[...e,{type:"AnswerTooLong",displayNumber:n.attributes.displayNumber,characterCount:r.characterCount}]:e}return e})(n,r))}([],e)}(e)}function Sd(e,t){return function e(n){var r;const i="exam"===n.name?"":n.attributes.displayNumber;switch(n.name){case"exam":case"section":case"question":{const t=n.childNodes.map(e),o=t.filter((e=>e.answerCount>0)),a=null!==(r=n.attributes.maxAnswers)&&void 0!==r?r:1/0,s="section"===n.name?n.attributes.minAnswers:void 0,l="exam"===n.name?o.reduce(((e,t)=>e+t.answerCount),0):o.length,c=Nd(t,(e=>e.extraAnswers));return{answerCount:l,displayNumber:i,extraAnswers:l>a?[{type:"ExtraAnswer",elementType:n.name,displayNumber:i,childQuestions:t.map((e=>e.displayNumber)),maxAnswers:a,minAnswers:s},...c]:c}}case"text-answer":case"scored-text-answer":case"choice-answer":case"dropdown-answer":{const e=t[n.attributes.questionId];return{answerCount:(null==e?void 0:e.value.length)>0?1:0,displayNumber:i,extraAnswers:[]}}}}(e).extraAnswers}function jd(e,t){return Nd([Ed,Sd],(n=>n(e,t)))}const kd={answersById:{},examStructure:{name:"exam",attributes:{},childNodes:[]},focusedQuestionId:null,supportsAnswerHistory:!1,serverQuestionIds:new Set,savedQuestionIds:new Set,validationErrors:[]};function Dd(e,t){const n=new Set(e);return n.add(t),n}const Ld=e=>(0,fs.action)("SAVE_ANSWER",e),Od=e=>(0,fs.action)("SAVE_ANSWER_SUCCEEDED",e),Rd=(e,t)=>(0,fs.action)("SAVE_ANSWER_FAILED",{answer:e,error:t},void 0,!0),Pd=new Map;function*zd(e,t){const n=e.payload;try{yield Lu(1e3),yield ju(t.saveAnswer,n),yield Eu(Od(n))}catch(e){yield Eu(Rd(n,e))}Pd.delete(n.questionId)}function*Ud(e){for(;;){const t=yield Nu("SAVE_ANSWER"),n=Pd.get(t.payload.questionId);n&&(yield Du(n));const r=yield ku(zd,t,e);Pd.set(t.payload.questionId,r)}}function*_d(e){for(;e.selectAnswerVersion;){const t=yield Nu("SELECT_ANSWER_VERSION"),{questionId:n,questionText:r}=t.payload;try{const t=yield ju(e.selectAnswerVersion,n,r);t&&(yield Eu(Ld(t)))}catch(e){console.error(e)}}}function*Zd(e){yield ku(Ud,e),yield ku(_d,e)}const Gd=function(e,t,n,r){var i=!n;n||(n={});for(var o=-1,a=t.length;++o<a;){var s=t[o],l=r?r(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),i?Wn(n,s,l):Vn(n,s,l)}return n};var Bd=Object.prototype.hasOwnProperty;const Fd=function(e){if(!le(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=ie(e),n=[];for(var r in e)("constructor"!=r||!t&&Bd.call(e,r))&&n.push(r);return n},Yd=function(e){return ue(e)?ne(e,!0):Fd(e)};var Wd="object"==typeof exports&&exports&&!exports.nodeType&&exports,Hd=Wd&&"object"==typeof module&&module&&!module.nodeType&&module,Vd=Hd&&Hd.exports===Wd?T.Buffer:void 0,qd=Vd?Vd.allocUnsafe:void 0;const Qd=oe(Object.getPrototypeOf,Object),Jd=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)Kn(t,Ol(e)),e=Qd(e);return t}:jl,Xd=function(e){return Sl(e,Yd,Jd)};var Kd=Object.prototype.hasOwnProperty;const $d=function(e){var t=new e.constructor(e.byteLength);return new Tl(t).set(new Tl(e)),t};var ef=/\w*$/;var tf=A?A.prototype:void 0,nf=tf?tf.valueOf:void 0;const rf=function(e,t,n){var r=e.constructor;switch(t){case"[object ArrayBuffer]":return $d(e);case"[object Boolean]":case"[object Date]":return new r(+e);case"[object DataView]":return function(e,t){var n=t?$d(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);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?$d(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}(e,n);case"[object Map]":case"[object Set]":return new r;case"[object Number]":case"[object String]":return new r(e);case"[object RegExp]":return function(e){var t=new e.constructor(e.source,ef.exec(e));return t.lastIndex=e.lastIndex,t}(e);case"[object Symbol]":return function(e){return nf?Object(nf.call(e)):{}}(e)}};var of=Object.create;const af=function(){function e(){}return function(t){if(!le(t))return{};if(of)return of(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();var sf=K&&K.isMap;const lf=sf?q(sf):function(e){return L(e)&&"[object Map]"==Kl(e)};var cf=K&&K.isSet;const uf=cf?q(cf):function(e){return L(e)&&"[object Set]"==Kl(e)};var df="[object Arguments]",ff="[object Function]",pf="[object Object]",hf={};hf[df]=hf["[object Array]"]=hf["[object ArrayBuffer]"]=hf["[object DataView]"]=hf["[object Boolean]"]=hf["[object Date]"]=hf["[object Float32Array]"]=hf["[object Float64Array]"]=hf["[object Int8Array]"]=hf["[object Int16Array]"]=hf["[object Int32Array]"]=hf["[object Map]"]=hf["[object Number]"]=hf[pf]=hf["[object RegExp]"]=hf["[object Set]"]=hf["[object String]"]=hf["[object Symbol]"]=hf["[object Uint8Array]"]=hf["[object Uint8ClampedArray]"]=hf["[object Uint16Array]"]=hf["[object Uint32Array]"]=!0,hf["[object Error]"]=hf[ff]=hf["[object WeakMap]"]=!1;const gf=function e(t,n,r,i,o,a){var s,l=1&n,c=2&n,u=4&n;if(r&&(s=o?r(t,i,o,a):r(t)),void 0!==s)return s;if(!le(t))return t;var d=_(t);if(d){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Kd.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(t),!l)return function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(t,s)}else{var f=Kl(t),p=f==ff||"[object GeneratorFunction]"==f;if(F(t))return function(e,t){if(t)return e.slice();var n=e.length,r=qd?qd(n):new e.constructor(n);return e.copy(r),r}(t,l);if(f==pf||f==df||p&&!o){if(s=c||p?{}:function(e){return"function"!=typeof e.constructor||ie(e)?{}:af(Qd(e))}(t),!l)return c?function(e,t){return Gd(e,Jd(e),t)}(t,function(e,t){return e&&Gd(t,Yd(t),e)}(s,t)):function(e,t){return Gd(e,Ol(e),t)}(t,function(e,t){return e&&Gd(t,de(t),e)}(s,t))}else{if(!hf[f])return o?t:{};s=rf(t,f,l)}}a||(a=new vl);var h=a.get(t);if(h)return h;a.set(t,s),uf(t)?t.forEach((function(i){s.add(e(i,n,r,i,t,a))})):lf(t)&&t.forEach((function(i,o){s.set(o,e(i,n,r,o,t,a))}));var g=d?void 0:(u?c?Xd:Rl:c?Yd:de)(t);return v(g||t,(function(i,o){g&&(i=t[o=i]),Vn(s,o,e(i,n,r,o,t,a))})),s},mf=function(e,t,n){var r=-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 o=Array(i);++r<i;)o[r]=e[r+t];return o},yf=function(e,t){return null==(e=function(e,t){return t.length<2?e:Fn(e,mf(t,0,-1))}(e,t=Gn(t,e)))||delete e[Bn(Zt(t))]};var vf=Function.prototype,bf=Object.prototype,If=vf.toString,xf=bf.hasOwnProperty,Mf=If.call(Object);const wf=function(e){return function(e){if(!L(e)||"[object Object]"!=D(e))return!1;var t=Qd(e);if(null===t)return!0;var n=xf.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&If.call(n)==Mf}(e)?void 0:e},Tf=sr((function(e,t){var n={};if(null==e)return n;var r=!1;t=Pn(t,(function(t){return t=Gn(t,e),r||(r=t.length>1),t})),Gd(e,Xd(e),n),r&&(n=gf(n,7,wf));for(var i=t.length;i--;)yf(n,t[i]);return n})),Af={errors:{},nowPlaying:null,playbackTimes:{}},Cf=e=>function(t,n){void 0===n&&(n=mu);var r,i=!1,o=Xu(n),a=function(){i||(i=!0,Zc(r)&&r(),o.close())};return r=nu(r=(t=>{const n=setInterval((()=>{--e>0?t(e):(t(Qu),clearInterval(n))}),1e3);return()=>clearInterval(n)})((function(e){Ju(e)?a():o.put(e)}))),i&&r(),{take:o.take,flush:o.flush,close:a}}();function*Nf(e,t){const n=yield ju(Cf,e);try{for(;;){const e=yield Nu(n);yield Eu(t(e))}}finally{(yield Cu(Au,{}))&&n.close()}}function*Ef(e,t){const n=t.payload;try{const t=null!=n.restrictedAudioId?yield function(e){void 0===e&&(e=$c);for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Cu(Tu,{selector:e,args:n})}(Si(n.restrictedAudioId)):void 0,r=null!=t&&null!=n.restrictedAudioId?yield ju(e.playRestrictedAudio,n.src,n.restrictedAudioId,t):yield ju(e.playAudio,n.src);"ok"===r?(yield Eu(hs(n)),yield ju(Nf,n.duration,vs),yield Eu(gs())):(yield Eu(ms(n,r)),yield Lu(5e3),yield Eu(ys(n)))}catch(e){console.error(e)}}function*Sf(e){yield function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return ku.apply(void 0,[Ad,e,t].concat(r))}("PLAY_AUDIO",Ef,e)}const jf={casStatus:"forbidden"},{createAction:kf}=fs.deprecated,Df=e=>(0,fs.action)("ALLOW_CAS_COUNTDOWN",e),Lf=kf("ALLOW_CAS_SUCCEEDED"),Of=kf("ALLOW_CAS_CANCELLED"),Rf=e=>(0,fs.action)("UPDATE_CAS_REMAINING",e);function*Pf(e,{payload:t}){try{if("allowed"===(yield ju(e.setCasStatus,"allowing")))return void(yield Eu(Lf()));yield Eu(Df(t));const{cancelled:i}=yield(n={finished:ju(Nf,t,Rf),cancelled:Nu("ALLOW_CAS_CANCELLED")},r=Cu(Iu,n),r.combinator=!0,r);"allowed"===(yield ju(e.setCasStatus,i?"forbidden":"allowed"))?yield Eu(Lf()):i||(yield Eu(Of()))}catch(e){console.error(e)}var n,r}function*zf(e){yield function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return ku.apply(void 0,[Cd,e,t].concat(r))}("ALLOW_CAS",Pf,e)}const Uf=function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var i=t[r];"function"==typeof e[i]&&(n[i]=e[i])}var o,a=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:Mc.INIT}))throw new Error(bc(12));if(void 0===n(void 0,{type:Mc.PROBE_UNKNOWN_ACTION()}))throw new Error(bc(13))}))}(n)}catch(e){o=e}return function(e,t){if(void 0===e&&(e={}),o)throw o;for(var r=!1,i={},s=0;s<a.length;s++){var l=a[s],c=n[l],u=e[l],d=c(u,t);if(void 0===d)throw t&&t.type,new Error(bc(14));i[l]=d,r=r||d!==u}return(r=r||a.length!==Object.keys(e).length)?i:e}}({answers:function(e=kd,t){switch(t.type){case"SAVE_ANSWER":{const{questionId:n}=t.payload,r=function(e,t){const n=new Set(e);return n.delete(t),n}(e.savedQuestionIds,n),i={...e.answersById,[n]:t.payload};return{...e,savedQuestionIds:r,answersById:i}}case"SAVE_ANSWER_FAILED":default:return e;case"SAVE_ANSWER_SUCCEEDED":{const{questionId:n}=t.payload,r=Dd(e.savedQuestionIds,n),i=Dd(e.serverQuestionIds,n),o=jd(e.examStructure,e.answersById);return{...e,serverQuestionIds:i,savedQuestionIds:r,validationErrors:o}}case"ANSWER_FOCUSED":{const n=t.payload;return{...e,focusedQuestionId:n}}case"ANSWER_BLURRED":{const n=t.payload;return{...e,focusedQuestionId:e.focusedQuestionId===n?null:e.focusedQuestionId}}}},audio:function(e=Af,t){switch(t.type){case"PLAY_AUDIO":{const n=t.payload,r={audio:n,durationRemaining:n.duration};return{...e,nowPlaying:r}}case"PLAY_AUDIO_STARTED":{const n=t.payload;if(null!=n.restrictedAudioId){const t=e.playbackTimes[n.restrictedAudioId],r={...e.playbackTimes,[n.restrictedAudioId]:t?t+1:1},i=Tf(e.errors,[n.src]);return{...e,playbackTimes:r,errors:i}}return e}case"SHOW_AUDIO_ERROR":{const{audio:n,error:r}=t.payload,i=Ci(n,"restrictedAudioId",n.src),o={...e.errors,[i]:r};return{...e,errors:o,nowPlaying:null}}case"HIDE_AUDIO_ERROR":{const n=t.payload,r=Ci(n,"restrictedAudioId",n.src),i=Tf(e.errors,[r]);return{...e,errors:i}}case"PLAY_AUDIO_FINISHED":return{...e,nowPlaying:null};case"UPDATE_REMAINING":{const n=t.payload,r={...e.nowPlaying,durationRemaining:n};return{...e,nowPlaying:r}}default:return e}},cas:function(e=jf,t){switch(t.type){case"ALLOW_CAS":default:return e;case"ALLOW_CAS_COUNTDOWN":case"UPDATE_CAS_REMAINING":return{casStatus:"allowing",durationRemaining:t.payload};case"ALLOW_CAS_SUCCEEDED":return{casStatus:"allowed"};case"ALLOW_CAS_CANCELLED":return{casStatus:"forbidden"}}}});function*_f(e){yield ku(Zd,e),yield ku(Sf,e),yield ku(zf,e)}function Zf(e,t,n,r,i){const o=new Set(dc(n,"questionId")),a=function(e,t){var n={};return t=cc(t),fe(e,(function(e,r,i){Wn(n,r,t(e,r,i))})),n}(mc(r,"restrictedAudioId"),"times"),s=mc(n,"questionId"),l={answers:{answersById:s,focusedQuestionId:null,serverQuestionIds:o,supportsAnswerHistory:"function"==typeof i.selectAnswerVersion,savedQuestionIds:o,examStructure:e,validationErrors:jd(e,s)},audio:{errors:{},nowPlaying:null,playbackTimes:a},cas:{casStatus:t}},c=Id(),u=(window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__||Tc)(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error(bc(15))},i={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},o=t.map((function(e){return e(i)}));return r=Tc.apply(void 0,o)(n.dispatch),vc(vc({},n),{},{dispatch:r})}}}(c)),d=wc(Uf,l,u);return c.run(_f,i),d}const Gf=t().memo((function({element:e,className:n,renderChildNodes:r}){return t().createElement("div",{className:ni()("e-audio-group",n)},t().createElement("div",{className:"e-audio-group--separator e-font-size-xl e-mrg-y-4 e-color-link",role:"separator"},"✲✲✲"),r(e))})),Bf=t().memo((function({element:e}){const n=e.getAttribute("src"),r=Ae(e,"duration"),{t:i}=Mr(),o=pi(Ni(n)),a=pi(Ei(n)),s=xi();return t().createElement("div",{className:"e-audio-test notification e-pad-2 e-mrg-b-4"},t().createElement("p",null,i("audio-test.instructions")),t().createElement("div",{className:"e-columns e-columns--center-v e-mrg-b-2"},t().createElement("div",{className:"e-column e-column--narrow"},t().createElement("button",{className:"e-button",disabled:"stopped"!==o,onClick:()=>"stopped"===o&&s(ps({src:n,duration:r}))},t().createElement(wa,{className:"e-mrg-r-1",icon:Ui,fixedWidth:!0}),i("audio-test.play"))),t().createElement("div",{className:"e-column"},t().createElement(ds,{error:a},ye))),t().createElement("div",null,i("audio-test.volume")))})),Ff=({selected:e,element:n,renderChildNodes:r,questionId:i,onSelect:o,direction:a,value:s})=>{const l=n.getAttribute("class"),c=t().createElement("div",{className:ni()("e-choice-answer-option e-column",l,{"e-choice-answer-option--selected":e})},r(n));return"vertical"===a?t().createElement("div",{className:"e-mrg-b-1"},t().createElement("label",{className:ni()("e-columns",{"e-columns--inline":null==Ie(n,["image","video"])})},t().createElement("input",{type:"radio",className:"e-radio-button e-column e-column--narrow",name:String(i),onChange:o,value:s,checked:e}),c)):t().createElement("div",{className:"e-column e-mrg-b-1"},t().createElement("label",{className:"e-block e-text-center"},t().createElement("input",{type:"radio",className:"e-radio-button",name:String(i),onChange:o,value:s,checked:e}),c))},Yf=t().memo((({element:n,renderChildNodes:r})=>{const i=Ae(n,"question-id"),o=n.getAttribute("display-number"),a=n.getAttribute("direction")||"vertical",s=n.getAttribute("class"),{questionLabelIds:l}=(0,e.useContext)(Xs),c=pi((e=>e.answers.answersById[i])),u=xi(),d=(0,e.useCallback)((e=>{u(Ld({type:"choice",questionId:i,value:e.currentTarget.value,displayNumber:o}))}),[i,o]);return t().createElement("div",{className:ni()("e-choice-answer e-mrg-b-4",s,{"e-columns":"horizontal"===a}),"data-question-id":i,role:"radiogroup","aria-labelledby":l},Ne(n,(e=>{const n=e.getAttribute("option-id"),o="no-answer"===e.getAttribute("type")?"":n,s=null!=c&&c.value===o;return t().createElement(Ff,{element:e,onSelect:d,renderChildNodes:r,questionId:i,key:n,direction:a,selected:s,value:o})})))}));function Wf(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function Hf(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function Vf(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return Hf(n.overflowY,t)||Hf(n.overflowX,t)||function(e){var t=function(e){if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}}(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)}(e)}return!1}function qf(e,t,n,r,i,o,a,s){return o<e&&a>t||o>e&&a<t?0:o<=e&&s<=n||a>=t&&s>=n?o-e-r:a>t&&s<n||o<e&&s>n?a-t+i:0}i(8041);var Qf=function(){return Qf=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Qf.apply(this,arguments)};Object.create,Object.create;let Jf=0;function Xf(){}function Kf(e,t,n){return e===t||t instanceof n.Node&&e.contains&&e.contains(t)}function $f(e,t){let n;function r(){n&&clearTimeout(n)}function i(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];r(),n=setTimeout((()=>{n=null,e(...o)}),t)}return i.cancel=r,i}function ep(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return t.some((t=>(t&&t(e,...r),e.preventDownshiftDefault||e.hasOwnProperty("nativeEvent")&&e.nativeEvent.preventDownshiftDefault)))}}function tp(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return e=>{t.forEach((t=>{"function"==typeof t?t(e):t&&(t.current=e)}))}}function np(){return String(Jf++)}function rp(e,t){return Object.keys(e).reduce(((n,r)=>(n[r]=function(e,t){return void 0!==e[t]}(t,r)?t[r]:e[r],n)),{})}function ip(e){const{key:t,keyCode:n}=e;return n>=37&&n<=40&&0!==t.indexOf("Arrow")?`Arrow${t}`:t}function op(e,t,n,r,i){if(void 0===i&&(i=!0),0===n)return-1;const o=n-1;("number"!=typeof t||t<0||t>=n)&&(t=e>0?-1:o+1);let a=t+e;a<0?a=i?o:0:a>o&&(a=i?0:o);const s=ap(e,a,n,r,i);return-1===s?t>=n?-1:t:s}function ap(e,t,n,r,i){const o=r(t);if(!o||!o.hasAttribute("disabled"))return t;if(e>0){for(let e=t+1;e<n;e++)if(!r(e).hasAttribute("disabled"))return e}else for(let e=t-1;e>=0;e--)if(!r(e).hasAttribute("disabled"))return e;return i?e>0?ap(1,0,n,r,!1):ap(-1,n-1,n,r,!1):-1}function sp(e,t,n,r){return void 0===r&&(r=!0),t.some((t=>t&&(Kf(t,e,n)||r&&Kf(t,n.document.activeElement,n))))}const lp=$f((e=>{cp(e).textContent=""}),500);function cp(e){void 0===e&&(e=document);let t=e.getElementById("a11y-status-message");return t||(t=e.createElement("div"),t.setAttribute("id","a11y-status-message"),t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-relevant","additions text"),Object.assign(t.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),e.body.appendChild(t),t)}const up={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""};const dp=$f(((e,t)=>{!function(e,t){const n=cp(t);e&&(n.textContent=e,lp(t))}(e(),t)}),200),fp="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?e.useLayoutEffect:e.useEffect;function pp(e){return/^\S{1}$/.test(e)}function hp(e){return`${e.slice(0,1).toUpperCase()}${e.slice(1)}`}function gp(t){const n=(0,e.useRef)(t);return n.current=t,n}function mp(t,n,r){const i=(0,e.useRef)(),o=(0,e.useRef)(),a=(0,e.useCallback)(((e,n)=>{o.current=n,e=rp(e,n.props);const r=t(e,n);return n.props.stateReducer(e,{...n,changes:r})}),[t]),[s,l]=(0,e.useReducer)(a,n),c=gp(r),u=(0,e.useCallback)((e=>l({props:c.current,...e})),[c]),d=o.current;return(0,e.useEffect)((()=>{d&&i.current&&i.current!==s&&function(e,t,n){const{props:r,type:i}=e,o={};Object.keys(t).forEach((r=>{!function(e,t,n,r){const{props:i,type:o}=t,a=`on${hp(e)}Change`;i[a]&&void 0!==r[e]&&r[e]!==n[e]&&i[a]({type:o,...r})}(r,e,t,n),n[r]!==t[r]&&(o[r]=n[r])})),r.onStateChange&&Object.keys(o).length&&r.onStateChange({type:i,...o})}(d,rp(i.current,d.props),s),i.current=s}),[s,r,d]),[s,u]}const yp={itemToString:function(e){return e?String(e):""},stateReducer:function(e,t){return t.changes},getA11ySelectionMessage:function(e){const{selectedItem:t,itemToString:n}=e;return t?`${n(t)} has been selected.`:""},scrollIntoView:function(e,t){if(!e)return;const n=function(e,t){var n=window,r=t.scrollMode,i=t.block,o=t.inline,a=t.boundary,s=t.skipOverflowHiddenElements,l="function"==typeof a?a:function(e){return e!==a};if(!Wf(e))throw new TypeError("Invalid target");for(var c=document.scrollingElement||document.documentElement,u=[],d=e;Wf(d)&&l(d);){if((d=d.parentElement)===c){u.push(d);break}null!=d&&d===document.body&&Vf(d)&&!Vf(document.documentElement)||null!=d&&Vf(d,s)&&u.push(d)}for(var f=n.visualViewport?n.visualViewport.width:innerWidth,p=n.visualViewport?n.visualViewport.height:innerHeight,h=window.scrollX||pageXOffset,g=window.scrollY||pageYOffset,m=e.getBoundingClientRect(),y=m.height,v=m.width,b=m.top,I=m.right,x=m.bottom,M=m.left,w="start"===i||"nearest"===i?b:"end"===i?x:b+y/2,T="center"===o?M+v/2:"end"===o?I:M,A=[],C=0;C<u.length;C++){var N=u[C],E=N.getBoundingClientRect(),S=E.height,j=E.width,k=E.top,D=E.right,L=E.bottom,O=E.left;if("if-needed"===r&&b>=0&&M>=0&&x<=p&&I<=f&&b>=k&&x<=L&&M>=O&&I<=D)return A;var R=getComputedStyle(N),P=parseInt(R.borderLeftWidth,10),z=parseInt(R.borderTopWidth,10),U=parseInt(R.borderRightWidth,10),_=parseInt(R.borderBottomWidth,10),Z=0,G=0,B="offsetWidth"in N?N.offsetWidth-N.clientWidth-P-U:0,F="offsetHeight"in N?N.offsetHeight-N.clientHeight-z-_:0;if(c===N)Z="start"===i?w:"end"===i?w-p:"nearest"===i?qf(g,g+p,p,z,_,g+w,g+w+y,y):w-p/2,G="start"===o?T:"center"===o?T-f/2:"end"===o?T-f:qf(h,h+f,f,P,U,h+T,h+T+v,v),Z=Math.max(0,Z+g),G=Math.max(0,G+h);else{Z="start"===i?w-k-z:"end"===i?w-L+_+F:"nearest"===i?qf(k,L,S,z,_+F,w,w+y,y):w-(k+S/2)+F/2,G="start"===o?T-O-P:"center"===o?T-(O+j/2)+B/2:"end"===o?T-D+U+B:qf(O,D,j,P,U+B,T,T+v,v);var Y=N.scrollLeft,W=N.scrollTop;w+=W-(Z=Math.max(0,Math.min(W+Z,N.scrollHeight-S+F))),T+=Y-(G=Math.max(0,Math.min(Y+G,N.scrollWidth-j+B)))}A.push({el:N,top:Z,left:G})}return A}(e,{boundary:t,block:"nearest",scrollMode:"if-needed"});n.forEach((e=>{let{el:t,top:n,left:r}=e;t.scrollTop=n,t.scrollLeft=r}))},circularNavigation:!1,environment:"undefined"==typeof window?{}:window};function vp(e,t,n){void 0===n&&(n=up);const r=e[`default${hp(t)}`];return void 0!==r?r:n[t]}function bp(e,t,n){void 0===n&&(n=up);const r=e[t];if(void 0!==r)return r;const i=e[`initial${hp(t)}`];return void 0!==i?i:vp(e,t,n)}function Ip(e,t,n,r){const{items:i,initialHighlightedIndex:o,defaultHighlightedIndex:a}=e,{selectedItem:s,highlightedIndex:l}=t;return 0===i.length?-1:void 0!==o&&l===o?o:void 0!==a?a:s?0===n?i.indexOf(s):op(n,i.indexOf(s),i.length,r,!1):0===n?-1:n<0?i.length-1:0}function xp(t,n,r){let{isInitialMount:i,highlightedIndex:o,items:a,environment:s,...l}=r;(0,e.useEffect)((()=>{i||dp((()=>t({highlightedIndex:o,highlightedItem:a[o],resultCount:a.length,...l})),s.document)}),n)}let Mp=Xf;function wp(e){for(var t=e.keysSoFar,n=e.highlightedIndex,r=e.items,i=e.itemToString,o=e.getItemNodeFromIndex,a=t.toLowerCase(),s=0;s<r.length;s++){var l=(s+n+1)%r.length,c=r[l];if(void 0!==c&&i(c).toLowerCase().startsWith(a)){var u=o(l);if(!(null==u?void 0:u.hasAttribute("disabled")))return l}}return n}da().array.isRequired,da().func,da().func,da().func,da().bool,da().number,da().number,da().number,da().bool,da().bool,da().bool,da().any,da().any,da().any,da().string,da().string,da().string,da().func,da().string,da().func,da().func,da().func,da().func,da().func,da().shape({addEventListener:da().func,removeEventListener:da().func,document:da().shape({getElementById:da().func,activeElement:da().any,body:da().any})});var Tp=Qf(Qf({},yp),{getA11yStatusMessage:function(e){var t=e.isOpen,n=e.resultCount,r=e.previousResultCount;return t?n?n!==r?"".concat(n," result").concat(1===n?" is":"s are"," available, use up and down arrow keys to navigate. Press Enter or Space Bar keys to select."):"":"No results are available.":""}}),Ap=Xf;const Cp=0,Np=1,Ep=2,Sp=3,jp=4,kp=5,Dp=6,Lp=7,Op=8,Rp=11,Pp=13,zp=14,Up=15,_p=20;var Zp=Object.freeze({__proto__:null,MenuKeyDownArrowDown:Cp,MenuKeyDownArrowUp:Np,MenuKeyDownEscape:Ep,MenuKeyDownHome:Sp,MenuKeyDownEnd:jp,MenuKeyDownEnter:kp,MenuKeyDownSpaceButton:Dp,MenuKeyDownCharacter:Lp,MenuBlur:Op,MenuMouseLeave:9,ItemMouseMove:10,ItemClick:Rp,ToggleButtonClick:12,ToggleButtonKeyDownArrowDown:Pp,ToggleButtonKeyDownArrowUp:zp,ToggleButtonKeyDownCharacter:Up,FunctionToggleMenu:16,FunctionOpenMenu:17,FunctionCloseMenu:18,FunctionSetHighlightedIndex:19,FunctionSelectItem:_p,FunctionSetInputValue:21,FunctionReset:22});function Gp(e,t){const{type:n,props:r,shiftKey:i}=t;let o;switch(n){case Rp:o={isOpen:vp(r,"isOpen"),highlightedIndex:vp(r,"highlightedIndex"),selectedItem:r.items[t.index]};break;case Up:{const n=t.key,i=`${e.inputValue}${n}`,a=wp({keysSoFar:i,highlightedIndex:e.selectedItem?r.items.indexOf(e.selectedItem):-1,items:r.items,itemToString:r.itemToString,getItemNodeFromIndex:t.getItemNodeFromIndex});o={inputValue:i,...a>=0&&{selectedItem:r.items[a]}}}break;case Pp:o={highlightedIndex:Ip(r,e,1,t.getItemNodeFromIndex),isOpen:!0};break;case zp:o={highlightedIndex:Ip(r,e,-1,t.getItemNodeFromIndex),isOpen:!0};break;case kp:case Dp:o={isOpen:vp(r,"isOpen"),highlightedIndex:vp(r,"highlightedIndex"),...e.highlightedIndex>=0&&{selectedItem:r.items[e.highlightedIndex]}};break;case Sp:o={highlightedIndex:ap(1,0,r.items.length,t.getItemNodeFromIndex,!1)};break;case jp:o={highlightedIndex:ap(-1,r.items.length-1,r.items.length,t.getItemNodeFromIndex,!1)};break;case Ep:case Op:o={isOpen:!1,highlightedIndex:-1};break;case Lp:{const n=t.key,i=`${e.inputValue}${n}`,a=wp({keysSoFar:i,highlightedIndex:e.highlightedIndex,items:r.items,itemToString:r.itemToString,getItemNodeFromIndex:t.getItemNodeFromIndex});o={inputValue:i,...a>=0&&{highlightedIndex:a}}}break;case Cp:o={highlightedIndex:op(i?5:1,e.highlightedIndex,r.items.length,t.getItemNodeFromIndex,r.circularNavigation)};break;case Np:o={highlightedIndex:op(i?-5:-1,e.highlightedIndex,r.items.length,t.getItemNodeFromIndex,r.circularNavigation)};break;case _p:o={selectedItem:t.selectedItem};break;default:return function(e,t,n){const{type:r,props:i}=t;let o;switch(r){case n.ItemMouseMove:o={highlightedIndex:t.disabled?-1:t.index};break;case n.MenuMouseLeave:o={highlightedIndex:-1};break;case n.ToggleButtonClick:case n.FunctionToggleMenu:o={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:Ip(i,e,0)};break;case n.FunctionOpenMenu:o={isOpen:!0,highlightedIndex:Ip(i,e,0)};break;case n.FunctionCloseMenu:o={isOpen:!1};break;case n.FunctionSetHighlightedIndex:o={highlightedIndex:t.highlightedIndex};break;case n.FunctionSetInputValue:o={inputValue:t.inputValue};break;case n.FunctionReset:o={highlightedIndex:vp(i,"highlightedIndex"),isOpen:vp(i,"isOpen"),selectedItem:vp(i,"selectedItem"),inputValue:vp(i,"inputValue")};break;default:throw new Error("Reducer called without proper action type.")}return{...e,...o}}(e,t,Zp)}return{...e,...o}}function Bp(t){void 0===t&&(t={}),Ap(t,Bp);const n={...Tp,...t},{items:r,scrollIntoView:i,environment:o,initialIsOpen:a,defaultIsOpen:s,itemToString:l,getA11ySelectionMessage:c,getA11yStatusMessage:u}=n,d=function(e){const t=bp(e,"selectedItem"),n=bp(e,"isOpen"),r=bp(e,"highlightedIndex"),i=bp(e,"inputValue");return{highlightedIndex:r<0&&t&&n?e.items.indexOf(t):r,isOpen:n,selectedItem:t,inputValue:i}}(n),[f,p]=function(e,t,n){const[r,i]=mp(e,t,n);return[rp(r,n),i]}(Gp,d,n),{isOpen:h,highlightedIndex:g,selectedItem:m,inputValue:y}=f,v=(0,e.useRef)(null),b=(0,e.useRef)(null),I=(0,e.useRef)({}),x=(0,e.useRef)(!0),M=(0,e.useRef)(null),w=function(t){let{id:n=`downshift-${np()}`,labelId:r,menuId:i,getItemId:o,toggleButtonId:a,inputId:s}=t;return(0,e.useRef)({labelId:r||`${n}-label`,menuId:i||`${n}-menu`,getItemId:o||(e=>`${n}-item-${e}`),toggleButtonId:a||`${n}-toggle-button`,inputId:s||`${n}-input`}).current}(n),T=(0,e.useRef)(),A=(0,e.useRef)(!0),C=gp({state:f,props:n}),N=(0,e.useCallback)((e=>I.current[w.getItemId(e)]),[w]);xp(u,[h,g,y,r],{isInitialMount:A.current,previousResultCount:T.current,items:r,environment:o,itemToString:l,...f}),xp(c,[m],{isInitialMount:A.current,previousResultCount:T.current,items:r,environment:o,itemToString:l,...f});const E=function(t){let{highlightedIndex:n,isOpen:r,itemRefs:i,getItemNodeFromIndex:o,menuElement:a,scrollIntoView:s}=t;const l=(0,e.useRef)(!0);return fp((()=>{n<0||!r||!Object.keys(i.current).length||(!1===l.current?l.current=!0:s(o(n),a))}),[n]),l}({menuElement:b.current,highlightedIndex:g,isOpen:h,itemRefs:I,scrollIntoView:i,getItemNodeFromIndex:N});(0,e.useEffect)((()=>(M.current=$f((e=>{e({type:21,inputValue:""})}),500),()=>{M.current.cancel()})),[]),(0,e.useEffect)((()=>{y&&M.current(p)}),[p,y]),Mp({isInitialMount:A.current,props:n,state:f}),(0,e.useEffect)((()=>{A.current?(a||s||h)&&b.current&&b.current.focus():h?b.current&&b.current.focus():o.document.activeElement===b.current&&v.current&&(x.current=!1,v.current.focus())}),[h]),(0,e.useEffect)((()=>{A.current||(T.current=r.length)}));const S=function(t,n,r,i){const o=(0,e.useRef)({isMouseDown:!1,isTouchMove:!1});return(0,e.useEffect)((()=>{const e=()=>{o.current.isMouseDown=!0},a=e=>{o.current.isMouseDown=!1,t&&!sp(e.target,n.map((e=>e.current)),r)&&i()},s=()=>{o.current.isTouchMove=!1},l=()=>{o.current.isTouchMove=!0},c=e=>{!t||o.current.isTouchMove||sp(e.target,n.map((e=>e.current)),r,!1)||i()};return r.addEventListener("mousedown",e),r.addEventListener("mouseup",a),r.addEventListener("touchstart",s),r.addEventListener("touchmove",l),r.addEventListener("touchend",c),function(){r.removeEventListener("mousedown",e),r.removeEventListener("mouseup",a),r.removeEventListener("touchstart",s),r.removeEventListener("touchmove",l),r.removeEventListener("touchend",c)}}),[t,r]),o}(h,[b,v],o,(()=>{p({type:Op})})),j=Xf;(0,e.useEffect)((()=>{A.current=!1}),[]),(0,e.useEffect)((()=>{h||(I.current={})}),[h]);const k=(0,e.useMemo)((()=>({ArrowDown(e){e.preventDefault(),p({type:Pp,getItemNodeFromIndex:N,shiftKey:e.shiftKey})},ArrowUp(e){e.preventDefault(),p({type:zp,getItemNodeFromIndex:N,shiftKey:e.shiftKey})}})),[p,N]),D=(0,e.useMemo)((()=>({ArrowDown(e){e.preventDefault(),p({type:Cp,getItemNodeFromIndex:N,shiftKey:e.shiftKey})},ArrowUp(e){e.preventDefault(),p({type:Np,getItemNodeFromIndex:N,shiftKey:e.shiftKey})},Home(e){e.preventDefault(),p({type:Sp,getItemNodeFromIndex:N})},End(e){e.preventDefault(),p({type:jp,getItemNodeFromIndex:N})},Escape(){p({type:Ep})},Enter(e){e.preventDefault(),p({type:kp})}," "(e){e.preventDefault(),p({type:Dp})}})),[p,N]),L=(0,e.useCallback)((()=>{p({type:16})}),[p]),O=(0,e.useCallback)((()=>{p({type:18})}),[p]),R=(0,e.useCallback)((()=>{p({type:17})}),[p]),P=(0,e.useCallback)((e=>{p({type:19,highlightedIndex:e})}),[p]),z=(0,e.useCallback)((e=>{p({type:_p,selectedItem:e})}),[p]),U=(0,e.useCallback)((()=>{p({type:22})}),[p]),_=(0,e.useCallback)((e=>{p({type:21,inputValue:e})}),[p]),Z=(0,e.useCallback)((e=>({id:w.labelId,htmlFor:w.toggleButtonId,...e})),[w]),G=(0,e.useCallback)((function(e,t){let{onMouseLeave:n,refKey:r="ref",onKeyDown:i,onBlur:o,ref:a,...s}=void 0===e?{}:e,{suppressRefError:l=!1}=void 0===t?{}:t;const c=C.current.state;return j("getMenuProps",l,r,b),{[r]:tp(a,(e=>{b.current=e})),id:w.menuId,role:"listbox","aria-labelledby":w.labelId,tabIndex:-1,...c.isOpen&&c.highlightedIndex>-1&&{"aria-activedescendant":w.getItemId(c.highlightedIndex)},onMouseLeave:ep(n,(()=>{p({type:9})})),onKeyDown:ep(i,(e=>{const t=ip(e);t&&D[t]?D[t](e):pp(t)&&p({type:Lp,key:t,getItemNodeFromIndex:N})})),onBlur:ep(o,(()=>{!1!==x.current?!S.current.isMouseDown&&p({type:Op}):x.current=!0})),...s}}),[p,C,D,S,j,w,N]),B=(0,e.useCallback)((function(e,t){let{onClick:n,onKeyDown:r,refKey:i="ref",ref:o,...a}=void 0===e?{}:e,{suppressRefError:s=!1}=void 0===t?{}:t;const l={[i]:tp(o,(e=>{v.current=e})),id:w.toggleButtonId,"aria-haspopup":"listbox","aria-expanded":C.current.state.isOpen,"aria-labelledby":`${w.labelId} ${w.toggleButtonId}`,...a};return a.disabled||(l.onClick=ep(n,(()=>{p({type:12})})),l.onKeyDown=ep(r,(e=>{const t=ip(e);t&&k[t]?k[t](e):pp(t)&&p({type:Up,key:t,getItemNodeFromIndex:N})}))),j("getToggleButtonProps",s,i,v),l}),[p,C,k,j,w,N]),F=(0,e.useCallback)((function(e){let{item:t,index:n,onMouseMove:r,onClick:i,refKey:o="ref",ref:a,disabled:s,...l}=void 0===e?{}:e;const{state:c,props:u}=C.current,d=function(e,t,n){return void 0!==e?e:0===n.length?-1:n.indexOf(t)}(n,t,u.items);if(d<0)throw new Error("Pass either item or item index in getItemProps!");const f={disabled:s,role:"option","aria-selected":`${d===c.highlightedIndex}`,id:w.getItemId(d),[o]:tp(a,(e=>{e&&(I.current[w.getItemId(d)]=e)})),...l};return s||(f.onClick=ep(i,(()=>{p({type:Rp,index:n})}))),f.onMouseMove=ep(r,(()=>{n!==c.highlightedIndex&&(E.current=!1,p({type:10,index:n,disabled:s}))})),f}),[p,C,E,w]);return{getToggleButtonProps:B,getLabelProps:Z,getMenuProps:G,getItemProps:F,toggleMenu:L,openMenu:R,closeMenu:O,setHighlightedIndex:P,selectItem:z,reset:U,setInputValue:_,highlightedIndex:g,isOpen:h,selectedItem:m,inputValue:y}}Bp.stateChangeTypes=Zp,da().array.isRequired,da().func,da().func,da().func,da().bool,da().number,da().number,da().number,da().bool,da().bool,da().bool,da().any,da().any,da().any,da().string,da().string,da().string,da().string,da().string,da().string,da().func,da().string,da().string,da().func,da().func,da().func,da().func,da().func,da().func,da().shape({addEventListener:da().func,removeEventListener:da().func,document:da().shape({getElementById:da().func,activeElement:da().any,body:da().any})}),da().array,da().array,da().array,da().func,da().func,da().func,da().number,da().number,da().number,da().func,da().func,da().string,da().string,da().shape({addEventListener:da().func,removeEventListener:da().func,document:da().shape({getElementById:da().func,activeElement:da().any,body:da().any})});const Fp=function(e,t){return e>t},Yp=function(e){return e&&e.length?function(e,t,n){for(var r=-1,i=e.length;++r<i;){var o=e[r],a=t(o);if(null!=a&&(void 0===s?a==a&&!Jt(a):n(a,s)))var s=a,l=o}return l}(e,he,Fp):void 0};var Wp=i(5082),Hp=i.n(Wp);const Vp=Promise.all([new(Hp())("Noto Sans",{weight:300}).load(),new(Hp())("Noto Sans",{weight:400}).load(),new(Hp())("Noto Sans",{weight:600}).load()]).then((()=>{qp=!0})).catch(Gt);let qp=!1;const Qp=({id:e,size:n="small",score:r})=>{const{t:i}=Mr(),o="inline"===n?"sup":"span";return t().createElement(o,{className:ni()("e-score e-nowrap",{"e-score--small e-font-size-m e-semibold":"small"===n,"e-score--large e-font-size-l e-semibold":"large"===n,"e-score--inline e-font-size-xs":"inline"===n}),id:e},i("points",{count:r}))},Jp=!navigator.userAgent.includes("jsdom/"),Xp=t().memo((({element:n,renderChildNodes:r})=>{const i=Ae(n,"question-id"),o=Ae(n,"max-score"),a=pi((e=>e.answers.answersById[i])),s=xi(),l=n.getAttribute("display-number"),c=a&&a.value&&we(n,(e=>a.value===e.getAttribute("option-id"))),u=(0,e.useRef)(null),d=t().useRef(null),[f,p]=(0,e.useState)(!0);if(Jp){const[,t]=(0,e.useState)(qp);Vp.then((()=>t(!0))).catch((e=>console.error(e))),(0,e.useEffect)((()=>p(!0)),[n]),(0,e.useEffect)((()=>{if(f&&d.current&&u.current){const e=d.current,t=u.current,n=Yp(Ne(e,(e=>e.firstElementChild.scrollWidth))),r=requestAnimationFrame((()=>{t.style.width=`${n+2+1}px`,p(!1)}));return()=>cancelAnimationFrame(r)}}))}const h=["",...n.children],{answers:g,questionLabelIds:m}=(0,e.useContext)(Xs),{getItemProps:y,getMenuProps:v,getToggleButtonProps:b,highlightedIndex:I,isOpen:x,selectedItem:M}=Bp({items:h,itemToString:e=>e?e.textContent:"",onSelectedItemChange:({selectedItem:e})=>{const t=e?e.getAttribute("option-id"):"";s(Ld({type:"choice",questionId:i,value:t,displayNumber:l}))},initialSelectedItem:c}),{t:w}=Mr(),T=Pr(n);return t().createElement("span",{className:"e-nowrap"},t().createElement("span",{className:ni()("e-dropdown-answer e-normal"),"data-question-id":i},t().createElement("button",{className:ni()("e-dropdown-answer__toggle-button e-button-plain e-columns",{"e-dropdown-answer__toggle-button--open":x}),...b({"aria-describedby":T,"aria-labelledby":m},{suppressRefError:!Jp})},t().createElement("span",{className:"e-dropdown-answer__label e-column e-pad-l-1 e-pad-r-4"},t().createElement("span",{className:"e-ellipsis e-block",ref:u},M?r(M):t().createElement("span",{"aria-label":w.raw("dropdown-answer.label")},ye))),t().createElement("span",{className:ni()("e-dropdown-answer__toggle-icon e-text-center e-column e-column--narrow e-column--gapless e-color-link")},t().createElement(wa,{icon:x?Li:Di}))),t().createElement("span",{...v({className:ni()("e-dropdown-answer__menu",{"e-dropdown-answer__menu--open":x}),"aria-labelledby":void 0,ref:d},{suppressRefError:!Jp})},h.map(((e,n)=>t().createElement("span",{className:ni()("e-dropdown-answer__menu-item e-block e-pad-l-1 e-pad-r-4",{"e-dropdown-answer__menu-item--selected":e===M,"e-bg-color-off-white":I!==n,"e-bg-color-link e-color-off-white":I===n}),key:n,...y({item:e,index:n})},t().createElement("span",{className:ni()("e-dropdown-answer__menu-item-inner e-block",{"e-nowrap":f})},e?r(e):t().createElement("span",{"aria-label":w.raw("dropdown-answer.clear")},ye))))))),g.length>1&&t().createElement(Qp,{score:o,size:"inline",id:T}))})),Kp=t().memo((function({maxAnswers:e,minAnswers:n,elementType:r,childQuestions:i}){const o=i.map((e=>{return"string"==typeof(t=e)||!_(t)&&L(t)&&"[object String]"==D(t)?e:e.getAttribute("display-number");var t})),{t:a}=Mr(),s=function(e,t,n){const r=[];for(const i of e)for(const e of t)for(const t of n)r.push([i,e,t]);return r}([o.length,"*"],[e,"*"],[null!=n?n:e,"*"]).map((([e,t,n])=>`answering-instructions.${r}_${e}_${n}_${t}`)),l=[n,e],c=[_t(o),Zt(o)];return t().createElement(t().Fragment,null,a(s,{answerCount:l,questions:c}))})),$p=e=>{const{t:n}=Mr(),{displayNumber:r,elementType:i}=e;return t().createElement("div",null,"exam"!==i&&"toc-section"!==i?n(i,{displayNumber:r})||t().createElement(nh,{...e}):""," ",t().createElement(Kp,{...e}))},eh=({displayNumber:e,characterCount:n})=>{const{t:r}=Mr();return t().createElement("div",null,r("question",{displayNumber:e})," ",r("answer-errors.answer-too-long",{count:n}))};function th({validationErrors:e,inExam:n}){return e.length>0?t().createElement("div",{className:ni()({"error-indicator e-bg-color-error e-color-off-white":n},"e-columns e-columns--inline e-font-size-xs e-pad-1 e-mrg-r-1"),role:"alert"},t().createElement("div",{className:"e-column e-column--narrow"},t().createElement(wa,{size:"lg",icon:Oi,fixedWidth:!0,className:"e-mrg-r-1"})),t().createElement("div",{className:"e-column e-column--gapless"},e.map((e=>{const n=e.type+e.displayNumber;return"ExtraAnswer"===e.type?t().createElement($p,{...e,key:n}):t().createElement(eh,{...e,key:n})})))):null}const nh=({elementType:n,displayNumber:r})=>{if("section"===n){const{root:n}=(0,e.useContext)(Vr),i=we(n,(e=>"section"===e.localName&&e.getAttribute("display-number")===r));if(i){const e=we(i,"section-title");if(e)return t().createElement(t().Fragment,null,`${e.textContent.trim()}:`)}}return null},rh=t().memo((()=>{const e=pi((e=>e.answers.validationErrors));return t().createElement(th,{validationErrors:e,inExam:!0})})),ih=t().memo(Kr((function({element:n,renderChildNodes:r}){const{isExternal:i}=(0,e.useContext)(Xr);return i?null:t().createElement("span",{className:"exam-attachment e-mrg-b-2"},r(n))}))),oh=t().memo((function({element:e,renderChildNodes:n}){return t().createElement($s,null,n(e))})),ah=t().memo((function({element:e,renderChildNodes:n}){return t().createElement("div",{className:"exam-instruction notification e-pad-4"},n(e))})),sh=t().memo(Ks((function({element:n,renderChildNodes:r}){const i=pi((e=>e.cas.casStatus)),{casForbidden:o}=(0,e.useContext)(sl),{displayNumber:a,level:s}=(0,e.useContext)(Xs);return o&&"forbidden"!==i?null:t().createElement("div",{className:ni()("exam-question",{"e-mrg-b-8 e-clearfix":0===s,"e-mrg-l-8 e-mrg-y-4":s>0}),id:a},r(n))}))),lh=t().memo((function({element:e,renderChildNodes:n}){const r=Dr(e);return t().createElement("div",{className:"exam-question-instruction e-mrg-b-2",id:r},n(e))})),ch=()=>t().createElement(wa,{size:"lg",icon:zi,fixedWidth:!0,className:"e-color-link e-mrg-r-1"}),uh=t().memo((({element:n,renderChildNodes:r})=>{const{displayNumber:i,maxScore:o,level:a,maxAnswers:s,childQuestions:l}=(0,e.useContext)(Xs),c=`h${Math.min(3+a,6)}`,u=kr(i);return t().createElement(t().Fragment,null,t().createElement(c,{id:u,className:ni()("exam-question-title",{"e-normal e-font-size-m":a>0})},t().createElement("strong",{className:ni()("exam-question-title__display-number",{"exam-question-title__display-number--indented":a>0})},`${tl(i)} `),r(n)," ",t().createElement(Qp,{score:o,size:0===a?"large":"small"})),null!=s&&l.length>0&&t().createElement("p",{className:"e-italic"},t().createElement(ch,null),t().createElement(Kp,{maxAnswers:s,childQuestions:l,elementType:"question"})))})),dh=({duration:n,durationRemaining:r,className:i})=>{const o=(0,e.useRef)(null),[a,s]=(0,e.useState)(!1);return(0,e.useEffect)((()=>{o.current.clientTop,s(!0)}),[]),t().createElement("div",{className:ni()("e-progress-bar",i),ref:o},t().createElement("div",{className:ni()("e-progress-bar__fill",{"e-progress-bar__fill--animating":a}),style:{transitionDuration:`${n}s`},role:"progressbar","aria-valuemax":n,"aria-valuemin":0,"aria-valuenow":n-r}))};function fh(){const{t:e}=Mr();return t().createElement("p",null,t().createElement("em",null,e("end-of-exam")))}function ph(n){const r=xi(),{t:i}=Mr(),{casCountdownDuration:o}=(0,e.useContext)(il);return t().createElement("div",{className:"e-cas-controls"},"forbidden"===n.casStatus?t().createElement("div",{className:"e-text-center"},t().createElement("hr",{className:"e-exam-separator"}),t().createElement("p",{id:"e-cas-controls-forbidden-description"},i("cas.forbidden.infoText")),t().createElement("button",{className:"e-button",id:"allow-cas",onClick:()=>{return r((e=o,(0,fs.action)("ALLOW_CAS",e)));var e},"aria-describedby":"e-cas-controls-forbidden-description"},i("cas.forbidden.buttonText"))):"allowing"===n.casStatus?t().createElement("div",{className:"e-text-center",ref:e=>null!=e&&o===n.durationRemaining&&e.scrollIntoView()},t().createElement("hr",{className:"e-exam-separator"}),t().createElement("p",{id:"e-cas-controls-allowing-description"},i("cas.allowing.infoText")),t().createElement(dh,{className:"e-mrg-b-2",duration:o,durationRemaining:n.durationRemaining}),t().createElement("button",{className:"e-button",id:"allow-cas-cancelled",onClick:()=>r(Of()),ref:e=>null!=e&&o===n.durationRemaining&&e.focus(),"aria-describedby":"e-cas-controls-allowing-description"},i("cas.allowing.cancel",{count:n.durationRemaining}))):t().createElement("div",{className:"notification e-text-left e-mrg-b-0"},i("cas.allowed.infoText")))}const hh=t().memo(ll((function({element:n,renderChildNodes:r}){const i=pi((e=>e.cas),wi),{casForbidden:o,displayNumber:a}=(0,e.useContext)(sl),{sections:s}=(0,e.useContext)(Vr),l=n===Zt(s);return t().createElement($s,{className:"exam-section","aria-labelledby":jr(a)},r(n),o&&t().createElement(ph,{...i}),l&&t().createElement(fh,null))}))),gh=t().memo((function({element:n,renderChildNodes:r}){const{sections:i}=(0,e.useContext)(Vr),{displayNumber:o,minAnswers:a,maxAnswers:s,childQuestions:l}=(0,e.useContext)(sl),{t:c}=Mr();return t().createElement(t().Fragment,null,n.hasChildNodes()&&t().createElement("h2",{className:"exam-section-title",id:jr(o)},i.length>1&&c("section",{displayNumber:o})," ",r(n)),null!=s&&t().createElement("span",{className:"notification notification--inline"},t().createElement(ch,null),t().createElement(Kp,{maxAnswers:s,minAnswers:a,childQuestions:l,elementType:"section"})))}));function mh(e){return`${Zt(e.split("."))}.`}function yh({answer:e,focusedQuestionId:n,renderChildNodes:r}){const i=Ae(e,"question-id"),o=e.getAttribute("display-number"),a=we(e,"hint");return t().createElement("p",{className:ni()("e-hints__hint",{"e-hints__hint--focused":n===i}),onClick:()=>{const e=document.querySelector(`.text-answer[data-question-id="${i}"]`);e&&e.focus()},"data-question-id":i},mh(o)," ",r(a))}const vh=({element:e,renderChildNodes:n})=>{const r=pi((e=>e.answers.focusedQuestionId)),i=xe(e,["text-answer","scored-text-answer"]).filter((e=>null!=we(e,"hint")));return i.length>0?t().createElement("div",{className:"e-columns"},t().createElement("div",{className:"e-column e-column--8"},n(e)),t().createElement("div",{className:"e-hints e-column e-column--4","aria-hidden":"true"},i.map(((e,i)=>t().createElement(yh,{answer:e,focusedQuestionId:r,renderChildNodes:n,key:i}))))):t().createElement(t().Fragment,null,n(e))},bh=ke({}),Ih=t().memo((function(n){const{root:r}=(0,e.useContext)(Vr),{t:i}=Mr(),o=xe(r,"reference").filter((e=>null==Me(e,"external-material")));return o.length>0?t().createElement($s,{"aria-labelledby":Sr},t().createElement("h2",{id:Sr},i("references.heading")),t().createElement("ol",{className:"e-list-data"},o.map(((e,n)=>{const r=Me(e,"question").getAttribute("display-number");return t().createElement("li",{"data-list-number":tl(r),key:`${r}${n}`},t().createElement(Ls,{element:e,renderChildNodes:bh}))})))):null})),xh=t().memo((function(){const e=pi(ki),{t:n}=Mr();return"initial"===e?null:t().createElement("div",{className:"save-indicator e-pad-1 e-font-size-xs"},t().createElement("span",{className:ni()("save-indicator-text",`save-indicator-text--${e}`)},n("answer-saved")))})),Mh=t().memo((function({element:e,renderChildNodes:n}){return t().createElement("div",{className:"e-mrg-b-2"},n(e))})),wh=n=>{const{showAttachmentLinks:r,showAnsweringInstructions:i}=n,o=({element:n})=>{const{sections:r}=(0,e.useContext)(Vr),{childQuestions:o,displayNumber:s,minAnswers:l,maxAnswers:c}=(0,e.useContext)(sl),{t:u}=Mr();return t().createElement(t().Fragment,null,n.hasChildNodes()&&t().createElement("h4",{className:"toc-section-header",id:Rr(s)},r.length>1&&u("section",{displayNumber:s})," ",a(n)),i&&null!=c&&t().createElement("div",null,t().createElement(Kp,{maxAnswers:c,minAnswers:l,childQuestions:o,elementType:"toc-section"})))},a=ke({section:ll((({element:n,renderChildNodes:r})=>{const{displayNumber:i}=(0,e.useContext)(sl),a=we(n,"section-title");return t().createElement("li",null,a&&t().createElement(o,{element:a,renderChildNodes:r}),t().createElement("ol",{className:"e-list-data e-pad-l-0","aria-labelledby":a&&Rr(i)},r(n,1)))})),question:Ks((({element:n})=>{const{attachmentsURL:i}=(0,e.useContext)(Vr),{displayNumber:o,maxScore:s}=(0,e.useContext)(Xs),{t:l}=Mr(),c=we(n,"question-title"),u=r&&null!=o&&Ie(n,"external-material");return t().createElement("li",{"data-list-number":`${o}.`},t().createElement("div",{className:"e-columns"},t().createElement("span",{className:"e-column"},t().createElement("a",{href:Fr("",{hash:o})},a(c))),u&&t().createElement("span",{className:"e-column e-column--narrow"},t().createElement("a",{href:Fr(i,{hash:Te(Me(u,"question"),"display-number")}),target:"attachments"},l("material"))),t().createElement("span",{className:"e-column e-column--narrow table-of-contents--score-column"},l("points",{count:s}))))}))});return t().memo((()=>{const{root:n,maxScore:r}=(0,e.useContext)(Vr),{t:i}=Mr();return t().createElement("nav",{className:"table-of-contents e-mrg-b-6","aria-labelledby":Zr},t().createElement("h2",{id:Zr},i("toc-heading")),t().createElement("ol",{className:"e-list-plain e-pad-l-0"},a(n)),t().createElement("div",{className:"e-columns"},t().createElement("strong",{className:"e-column"},i("exam-total")),t().createElement("strong",{className:"e-column e-column--narrow table-of-contents--score-column"},i("points",{count:r}))))}))},Th=t().memo((function({answer:e,element:n,screenshotError:r,validationError:i,selectAnswerVersion:o,showAnswerHistory:a=!1,supportsAnswerHistory:s=!1}){const{t:l}=Mr(),c=null==e?void 0:e.characterCount,u=Ae(n,"max-length");return t().createElement("div",{className:"answer-toolbar e-font-size-xs e-columns e-mrg-b-2"},t().createElement("div",{className:ni()("answer-toolbar__answer-length e-column",{"e-color-error":null!=i})},null!=e?l(null!=u?"answer-length-with-max-length":"answer-length",{count:c,maxLength:u}):ye,r?t().createElement("span",{className:"e-color-error",role:"alert"}," ",l(`answer-errors.${r.key}`,r.options)):i?t().createElement("span",null," ",l("answer-errors.answer-too-long",{count:i.characterCount})):null),t().createElement("div",{className:"answer-toolbar__history e-column e-column--narrow e-text-right"},s&&t().createElement("div",{className:"answer-toolbar__select-previous-version"},a&&null!=e?t().createElement("button",{className:"answer-toolbar__previous-versions e-link-button e-font-size-xs",onClick:()=>{if(o){const t=we(Me(n,"question"),"question-title");o(e.questionId,t.textContent)}}},l("previous-answer-versions")):ye)))}));var Ah=i(8291),Ch=i.n(Ah),Nh=i(4330),Eh=i.n(Nh);const Sh={allowedTags:["img","br"],allowedAttributes:{img:["src","alt"]},allowedSchemes:["data"],exclusiveFilter:e=>"mathEditor"===e.attribs["data-js"]},jh={locale:"FI",screenshotSaver:()=>Promise.resolve(""),baseUrl:"",ignoreSaveObject:!1,screenshotImageSelector:'img[src^="/screenshot/"], img[src^="data:image/png"], img[src^="data:image/gif"], img[src^="data:image/jpeg"]',invalidImageSelector:'img:not(img[src^="data"], img[src^="/math.svg?latex="], img[src^="/screenshot/"])',fileTypes:["image/png","image/jpeg"],sanitize:function(e){return Eh()(function(e){const t=document.createElement("div");t.innerHTML=e;do{let e;for(let n=0;n<t.childNodes.length;n++){const r=t.childNodes[n];if(Dh(r)){for(e&&e.nodeType===Node.TEXT_NODE&&/\S/.test(e.textContent)&&t.insertBefore(document.createElement("br"),r),r.lastChild&&"BR"!==r.lastChild.nodeName&&r.insertBefore(document.createElement("br"),null);r.childNodes.length;)t.insertBefore(r.firstChild,r);t.removeChild(r)}e=r}}while(Array.prototype.some.call(t.childNodes,(e=>Dh(e))));return t.innerHTML}(Eh()(function(e){return e.replace(new RegExp(document.location.origin,"g"),"")}(e),Object.assign(Object.assign({},Sh),{allowedTags:["div","p","img","br"]}))),Sh)},updateMathImg:void 0},kh='img[src^="/math.svg?latex="]:not(img[src="/math.svg?latex="]), img[src^="data:image/svg+xml"]';function Dh(e){return"DIV"===e.nodeName||"P"===e.nodeName}function Lh(e,t){const n=e.selectionStart,r=e.selectionEnd;let i=e.value;e.value=i.substring(0,n)+t+i.substring(r,i.length),e.selectionStart=e.selectionEnd=n+t.length}function Oh(e,t){return Ph(e,!e.altKey&&!e.shiftKey&&e.ctrlKey&&Rh(e,t))}function Rh(e,t){return"string"==typeof t?e.key===t:e.keyCode===t}function Ph(e,t){return t&&e.preventDefault(),t}function zh(e){return e.replace(/^(\n)*/g,"").replace(/(\s)*$/g,"")}function Uh(e){return 0===e.length?null:e[e.length-1]}const _h=[{label:"Perusmerit ja kreikkalaiset aakkoset",characters:[{character:"°",popular:!0},{character:"·",latexCommand:"\\cdot",popular:!0},{character:"×",latexCommand:"\\times",popular:!0},{character:"±",latexCommand:"\\pm",popular:!0},{character:"∞",latexCommand:"\\infty",popular:!0},{character:"²",latexCommand:"^2",popular:!0},{character:"³",latexCommand:"^3",popular:!0},{character:"½",latexCommand:"\\frac{1}{2}",popular:!0},{character:"⅓",latexCommand:"\\frac{1}{3}",popular:!0},{character:"π",latexCommand:"\\pi",popular:!0},{character:"‰",latexCommand:"‰",popular:!0},{character:"α",latexCommand:"\\alpha",popular:!0},{character:"β",latexCommand:"\\beta",popular:!0},{character:"Γ",latexCommand:"\\Gamma"},{character:"γ",latexCommand:"\\gamma"},{character:"Δ",latexCommand:"\\Delta"},{character:"δ",latexCommand:"\\delta"},{character:"ε",latexCommand:"\\varepsilon"},{character:"ζ",latexCommand:"\\zeta"},{character:"η",latexCommand:"\\eta"},{character:"θ",latexCommand:"\\theta"},{character:"ϑ",latexCommand:"\\vartheta"},{character:"ι",latexCommand:"\\iota"},{character:"κ",latexCommand:"\\kappa"},{character:"Λ",latexCommand:"\\Lambda"},{character:"λ",latexCommand:"\\lambda"},{character:"µ",latexCommand:"\\mu"},{character:"ν",latexCommand:"\\nu"},{character:"Ξ",latexCommand:"\\Xi"},{character:"ξ",latexCommand:"\\xi"},{character:"∏",latexCommand:"\\Pi"},{character:"ρ",latexCommand:"\\rho"},{character:"∑",latexCommand:"\\Sigma"},{character:"σ",latexCommand:"\\sigma"},{character:"τ",latexCommand:"\\tau"},{character:"Υ",latexCommand:"\\Upsilon"},{character:"υ",latexCommand:"\\upsilon"},{character:"Φ",latexCommand:"\\Phi"},{character:"Ф",latexCommand:"\\phi"},{character:"χ",latexCommand:"\\chi"},{character:"Ψ",latexCommand:"\\Psi"},{character:"ψ",latexCommand:"\\psi"},{character:"Ω",latexCommand:"\\Omega"},{character:"ω",latexCommand:"\\omega"},{character:"∂",latexCommand:"\\partial"},{character:"φ",latexCommand:"\\varphi"}]},{label:"Algebra",characters:[{character:"≠",latexCommand:"\\neq",popular:!0},{character:"≈",latexCommand:"\\approx",popular:!0},{character:"≤",latexCommand:"\\leq",popular:!0},{character:"≥",latexCommand:"\\geq"},{character:"<"},{character:">"},{character:"∼",latexCommand:"\\sim"},{character:"≡",latexCommand:"\\equiv"},{character:"≢",latexCommand:"\\not\\equiv"},{character:"∘",latexCommand:"\\circ"},{character:"…",latexCommand:"\\ldots"},{character:"∝",latexCommand:"\\propto"}]},{label:"Geometria ja vektorioppi",characters:[{character:"∢",latexCommand:"\\sphericalangle",popular:!0},{character:"|",latexCommand:"\\mid",popular:!0},{character:"‖",latexCommand:"\\parallel",popular:!0},{character:"⇌",latexCommand:"\\xrightleftharpoons",noWrite:!0},{character:"⇅"},{character:"∠",latexCommand:"\\angle"},{character:"↑",latexCommand:"\\uparrow"},{character:"↗",latexCommand:"\\nearrow"},{character:"↘",latexCommand:"\\searrow"},{character:"↓",latexCommand:"\\downarrow"},{character:"↔",latexCommand:"\\leftrightarrow"},{character:"⊥",latexCommand:"\\perp"}]},{label:"Logiikka ja joukko-oppi",characters:[{character:"→",latexCommand:"\\rightarrow",popular:!0},{character:"⇒",latexCommand:"\\Rightarrow",popular:!0},{character:"⇔",latexCommand:"\\Leftrightarrow",popular:!0},{character:"∈",latexCommand:"\\in",popular:!0},{character:"ℤ",latexCommand:"\\mathbb{Z}",popular:!0},{character:"ℝ",latexCommand:"\\mathbb{R}",popular:!0},{character:"∃",latexCommand:"\\exists"},{character:"∀",latexCommand:"\\forall"},{character:"ℕ",latexCommand:"\\mathbb{N}"},{character:"ℚ",latexCommand:"\\mathbb{Q}"},{character:"∩",latexCommand:"\\cap"},{character:"∪",latexCommand:"\\cup"},{character:"∖",latexCommand:"\\setminus"},{character:"⊂",latexCommand:"\\subset"},{character:"⊄",latexCommand:"\\notsubset"},{character:"∉",latexCommand:"\\notin"},{character:"∅",latexCommand:"\\empty"},{character:"∧",latexCommand:"\\and"},{character:"∨",latexCommand:"\\or"},{character:"¬"},{character:"∇",latexCommand:"\\nabla"}]}],Zh=[{action:"\\sqrt",label:"\\sqrt{X}",svg:"data:image/svg+xml;base64,PHN2ZyB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgd2lkdGg9IjMuNzQ0ZXgiIGhlaWdodD0iMi44NDNleCIgc3R5bGU9InZlcnRpY2FsLWFsaWduOiAtMC44MzhleDsiIHZpZXdCb3g9IjAgLTg2My4xIDE2MTIgMTIyMy45IiByb2xlPSJpbWciIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgYXJpYS1sYWJlbGxlZGJ5PSJNYXRoSmF4LVNWRy0xLVRpdGxlIj4KPHRpdGxlIGlkPSJNYXRoSmF4LVNWRy0x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ryb2tlPSJjdXJyZW50Q29sb3IiIGZpbGw9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIwIiB0cmFuc2Zvcm09Im1hdHJpeCgxIDAgMCAtMSAwIDApIiBhcmlhLWhpZGRlbj0idHJ1ZSI+CiA8dXNlIHhsaW5rOmhyZWY9IiNFMS1MQVRJTk1PREVSTk1BSU4tNTQiIHg9IjAiIHk9IjAiPjwvdXNlPgo8L2c+Cjwvc3ZnPg=="}];const Gh=e=>`<button class="rich-text-editor-button rich-text-editor-button-grid${e.popular?" rich-text-editor-characters-popular":""}" ${e.latexCommand?`data-command="${e.latexCommand}"`:""} data-usewrite="${!e.noWrite}">${e.character}</button>`,Bh=e=>e.characters.filter((e=>e.popular)).length,Fh="data:image/gif;base64,R0lGODlhEAAQAPQAAP///wAAAPDw8IqKiuDg4EZGRnp6egAAAFhYWCQkJKysrL6+vhQUFJycnAQEBDY2NmhoaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH+GkNyZWF0ZWQgd2l0aCBhamF4bG9hZC5pbmZvACH5BAAKAAAAIf8LTkVUU0NBUEUyLjADAQAAACwAAAAAEAAQAAAFdyAgAgIJIeWoAkRCCMdBkKtIHIngyMKsErPBYbADpkSCwhDmQCBethRB6Vj4kFCkQPG4IlWDgrNRIwnO4UKBXDufzQvDMaoSDBgFb886MiQadgNABAokfCwzBA8LCg0Egl8jAggGAA1kBIA1BAYzlyILczULC2UhACH5BAAKAAEALAAAAAAQABAAAAV2ICACAmlAZTmOREEIyUEQjLKKxPHADhEvqxlgcGgkGI1DYSVAIAWMx+lwSKkICJ0QsHi9RgKBwnVTiRQQgwF4I4UFDQQEwi6/3YSGWRRmjhEETAJfIgMFCnAKM0KDV4EEEAQLiF18TAYNXDaSe3x6mjidN1s3IQAh+QQACgACACwAAAAAEAAQAAAFeCAgAgLZDGU5jgRECEUiCI+yioSDwDJyLKsXoHFQxBSHAoAAFBhq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k8L2E+XTogQ2FuJ3QgY29ubmVjdCB0byBsb2NhbCBNeVNRTCBzZXJ2ZXIgdGhyb3VnaCBzb2NrZXQgJy92YXIvcnVuL215c3FsZC9teXNxbGQuc29jaycgKDIpIGluIDxiPi9ob21lL2FqYXhsb2FkL3d3dy9saWJyYWlyaWVzL2NsYXNzLm15c3FsLnBocDwvYj4gb24gbGluZSA8Yj42ODwvYj48YnIgLz4KPGJyIC8+CjxiPldhcm5pbmc8L2I+OiAgbXlzcWxfcXVlcnkoKSBbPGEgaHJlZj0nZnVuY3Rpb24ubXlzcWwtcXVlcnknPmZ1bmN0aW9uLm15c3FsLXF1ZXJ5PC9hPl06IEEgbGluayB0byB0aGUgc2VydmVyIGNvdWxkIG5vdCBiZSBlc3RhYmxpc2hlZCBpbiA8Yj4vaG9tZS9hamF4bG9hZC93d3cvbGlicmFpcmllcy9jbGFzcy5teXNxbC5waHA8L2I+IG9uIGxpbmUgPGI+Njg8L2I+PGJyIC8+Cg==";function Yh(e,t,n,r){setTimeout((()=>Promise.all(function(e,t,n){e.find(t).remove();const r=e.find('img[src^="data:image/"]').toArray().map((e=>Object.assign(Object.assign({},function(e){if(!e)return null;const t=e.match(/^data:([A-Za-z-+/]+);base64,(.+)$/);if(3!==t.length)return null;const n=atob(t[2]),r=new Array(n.length);for(let e=0;e<n.length;e++)r[e]=n.charCodeAt(e);return{type:t[1],data:new Uint8Array(r)}}(e.getAttribute("src"))),{el:e})));r.filter((function({type:e,el:t}){return!("image/svg+xml"===e&&t.alt||n.includes(e))})).forEach((({el:e})=>e.remove()));const i=r.filter((({type:e})=>n.includes(e)));return i.forEach((({el:e})=>e.setAttribute("src",Fh))),i}(e,n,r).map((e=>t(e).then((t=>e.el.setAttribute("src",t))).catch((t=>{throw e.el.remove(),t}))))).then((()=>e.trigger("input")))),0)}var Wh=i(9449);if(!Wh)throw new Error("MathQuill is required but has not been loaded");window.mathEditorState=window.mathEditorState||{firstTime:!0,MQ:void 0};const Hh=window.mathEditorState,Vh=function(e){const t=e.trim(),n=""===t.replace(/(\\|\s)*/g,"")?"":t;return n+(n.endsWith("\\")?" ":"")};const qh={FI:{editor:{mathEditor:"Matikkaeditori",title:"Kaavaeditorin kehitysversio",description:"\n<ul>\n<li>“Lisää kaava” -napin alta löydät yleisimpiä matematiikassa, fysiikassa ja\nkemiassa käytettäviä merkintöjä. Lisäksi erikoismerkkejä voi käyttää kaavan kirjoittamiseen.</li>\n <li>Kaavoja voi rakentaa\nnapsauttamalla valikon merkintöjä ja/tai kirjoittamalla LaTeXia.</li>\n <li>Editorin vastauskenttään voi kirjoittaa tekstiä ja kaavoja sekä\nlisätä kuvia.</li></ul>",shortcutTitle:"Pikanäppäinvinkkejä",shortcuts:'<table><tbody>\n<tr><th>Liitä kuva leikepöydältä</th><td>Ctrl-V</td></tr>\n<tr><th>Kirjoita kaava</th><td>Ctrl-E</td></tr>\n<tr><th colspan="2">Kaavassa</th></tr>\n<tr><th>Jakoviiva</th><td>/</td></tr>\n<tr><th>Kertomerkki</th><td>*</td></tr>\n<tr><th>Eksponentti</th><td>^</td></tr>\n<tr><th>Sulje kaava</th><td>Esc</td></tr>\n<tr><th>Lisää kaava seuraavalle riville</th><td>Enter</td></tr>\n</tbody>\n</table>',formatting:"Muotoilu",specialCharacters:"Erikoismerkit",insertEquation:"Lisää kaava",close:"sulje",save:"Tallenna",updated:"Päivitetty",sendFeedback:"Lähetä palautetta",langLink:"/sv",langLabel:"På svenska",answerTitle:"Vastaus",toggleInstructions:"Näytä ohjeet",help_overlay:{screenshot:'<h3>Kuvakaappaukset</h3><p>Tee kuva haluamallasi ohjelmalla. Napsauta yläpalkista kuvakaappauskuvaketta <span class="screen-shot-image"></span> ja rajaa haluamasi kuva-alue näytöltä. <span class="rich-text-editor-help-key">CTRL</span>-<span class="rich-text-editor-help-key">V</span> liittää kuvan vastauskenttään kursorin kohdalle. Voit vaihtaa kuvan paikkaa raahaamalla tai leikkaamalla kuvan komennolla <span class="rich-text-editor-help-key">CTRL</span>-<span class="rich-text-editor-help-key">X</span> ja liittämällä sen komennolla <span class="rich-text-editor-help-key">CTRL</span>-<span class="rich-text-editor-help-key">V</span> haluamaasi paikkaan.</p>',equation:'<h3>Kaavat</h3><p>Kaava lisätään komennolla <span class="rich-text-editor-help-key">CTRL</span>-<span class="rich-text-editor-help-key">E</span><br>Pikakomennot kaavassa:</p><table class="rich-text-editor-help-shortcuts"><tbody><tr><th>Jakoviiva</th><td><span class="rich-text-editor-help-key">/</span></td></tr><tr><th>Kertomerkki</th><td><span class="rich-text-editor-help-key">*</span></td></tr><tr><th>Yläindeksi</th><td><span class="rich-text-editor-help-key">^</span></td></tr><tr><th>Alaindeksi</th><td><span class="rich-text-editor-help-key">_</span></td></tr><tr><th>Lisää kaava seuraavalle riville</th><td><span class="rich-text-editor-help-key">↵</span></td></tr><tr><th>Sulje kaava</th><td><span class="rich-text-editor-help-key">esc</span></td></tr></tbody></table>'},render_error:"Virhe LaTeX-koodissa"},annotating:{sendFeedback:"Lähetä palautetta",updated:"Päivitetty",mathEditor:"Matikkaeditori",title:"Arvostelu",backLink:"/",backLinkLabel:"Palaa kaavaeditoriin",save:"Tallenna merkinnät",langLink:"/sv/bedomning",langLabel:"På svenska"}},SV:{editor:{mathEditor:"Matematikeditor",title:"Formeleditorns utvecklingsversion",description:"\n<ul>\n <li>Under knappen “Lägg till formel” hittar du de vanligaste beteckningarna som används i matematik, fysik och kemi. Dessutom kan du använda specialtecken för att skriva formler.</li>\n<li>Det går att konstruera formler genom att klicka på beteckningarna i menyerna och/eller genom att skriva LaTeX.</li>\n<li>Det går förutom att skriva text och formler, att också att lägga till bilder i svarsfältet.</li></ul>",shortcutTitle:"Tips på tangentkombinationer",shortcuts:'<table><tbody>\n<tr><th>Lägg till en bild från urklippet</th><td>Ctrl-V</td></tr>\n<tr><th>Skriv en formel</th><td>Ctrl-E</td></tr>\n<tr><th colspan="2">I formeln </th></tr>\n<tr><th>Bråkstreck</th><td>/</td></tr>\n<tr><th>Multiplikationstecken</th><td>*</td></tr>\n<tr><th>Exponent</th><td>^</td></tr>\n<tr><th>Stäng formeln</th><td>Esc</td></tr>\n<tr><th>Lägg till en formel på följande rad</th><td>Enter</td></tr>\n</tbody>\n</table>',formatting:"Formatering",specialCharacters:"Specialtecken",insertEquation:"Lägg till formel",close:"stäng",save:"Spara",updated:"Uppdaterad",sendFeedback:"Skicka feedback",langLink:"/",langLabel:"Suomeksi",answerTitle:"Svar",toggleInstructions:"Visa intruktioner",help_overlay:{screenshot:'<h3>Skärmdumpar</h3><p>Skapa bilden med valbart program. Klicka på skärmdumpsikonen i övre balken<span class="screen-shot-image"></span> och avgränsa den delen av skärmen du vill använda.<span class="rich-text-editor-help-key">CTRL</span>-<span class="rich-text-editor-help-key">V</span>bifogar bilden i svarsfältet där kursorn ligger. Du kan ändra på bildens position genom att släpa bilden eller genom att klippa den med kommandot<span class="rich-text-editor-help-key">CTRL</span>-<span class="rich-text-editor-help-key">X</span>och klistra in den med kommandot<span class="rich-text-editor-help-key">CTRL</span>-<span class="rich-text-editor-help-key">V</span>på valbart ställe.</p>',equation:'<h3>Formler</h3><p>Formeln läggs till med kommandot<span class="rich-text-editor-help-key">CTRL</span>-<spanclass="rich-text-editor-help-key">E</span><br />Snabbkommandon med formler:</p><table class="rich-text-editor-help-shortcuts"><tbody><tr><th>Divisionsstreck</th><td><span class="rich-text-editor-help-key">/</span></td></tr><tr><th>Multiplikationstecken</th><td><span class="rich-text-editor-help-key">*</span></td></tr><tr><th>Upphöjt index</th><td><span class="rich-text-editor-help-key">^</span></td></tr><tr><th>Nedsänkt index</th><td><span class="rich-text-editor-help-key">_</span></td></tr><tr><th>Lägg till formel på nästa rad</th><td><span class="rich-text-editor-help-key">↵</span></td></tr><tr><th>Stäng formeln</th><td><span class="rich-text-editor-help-key">esc</span></td></tr></tbody></table>'},render_error:"Fel i LaTeX-koden"},annotating:{sendFeedback:"Skicka respons",updated:"Uppdaterad",mathEditor:"Matematikeditor",title:"Bedömning",backLink:"/sv",backLinkLabel:"Matematikeditor",save:"Spara anteckningar",langLink:"/tarkistus",langLabel:"Suomeksi"}}},Qh=Ch()('<div class="rich-text-editor-hidden" style="display: none;" data-js="outerPlaceholder">');window.richTextEditorState=window.richTextEditorState||{focus:{richText:!1,latexField:!1,equationField:!1},$currentEditor:void 0,firstCall:!0,math:void 0,$toolbar:void 0};const Jh=window.richTextEditorState,Xh=Jh.focus,Kh=(e,t,n=(()=>{}))=>{const{baseUrl:r,fileTypes:i,sanitize:o,screenshotSaver:a,ignoreSaveObject:s,screenshotImageSelector:l,invalidImageSelector:c,locale:u,updateMathImg:d}=Object.assign(Object.assign({},jh),t),f=qh[u].editor;if(Jh.firstCall){Jh.firstCall=!1,Jh.math=function(e,t,n,r=((e,t)=>{const r=Vh(t),i=r.replace(/</g,"\\lt ").replace(/>/g,"\\gt ");e.prop({src:`${n}/math.svg?latex=${encodeURIComponent(r)}`,alt:i}),e.closest('[data-js="answer"]').trigger("input")}),i){let o;Hh.firstTime&&(Hh.MQ=Wh.getInterface(2),Hh.firstTime=!1);const a=Ch()('\n <div>\n <div class="math-editor" data-js="mathEditor">\n <div class="math-editor-equation-field" data-js="equationField"></div>\n <textarea rows="1" class="math-editor-latex-field" data-js="latexField" placeholder="LaTeΧ"></textarea>\n <span class="render-error"></span>\n </div>\n </div>');e.append(a);const s=a.find('[data-js="latexField"]'),l=a.find('[data-js="equationField"]');let c,u=!1,d=null,f=[],p=[],h=0;const g=Hh.MQ.MathField(l.get(0),{handlers:{edit:v,enter:()=>{C(!0),setTimeout((()=>w("<br>")),2)}}});function m(e){Ch()(".rich-text-editor-overlay").is(":visible")||(function(e){return Ph(e,!e.altKey&&!e.shiftKey&&e.ctrlKey&&Rh(e,90)||!e.altKey&&!e.shiftKey&&e.metaKey&&Rh(e,90))}(e)?E():function(e){return Ph(e,!e.altKey&&!e.shiftKey&&e.ctrlKey&&Rh(e,89)||!e.altKey&&e.shiftKey&&e.metaKey&&Rh(e,90))}(e)?S():(Oh(e,13)||function(e,t){return Ph(e,!e.altKey&&!e.shiftKey&&!e.ctrlKey&&Rh(e,27))}(e))&&C(!0))}return l.on("input",".mq-textarea textarea",v).on("focus blur",".mq-textarea textarea",(e=>{t.equationField="blur"!==e.type&&"focusout"!==e.type,M()})).on("keydown",m).on("paste",(e=>e.stopPropagation())),s.on("keypress",(function(e){","===e.originalEvent.key&&(e.preventDefault(),Lh(s.get(0),"{,}"),I(e))})).on("input paste",I).on("focus blur",(e=>{t.latexField="blur"!==e.type,M()})).on("keydown",m).on("paste",(e=>e.stopPropagation())),{insertNewEquation:w,insertMath:function(e,n,r){t.latexField?(Lh(s.get(0),n||e),I()):t.equationField&&(r?g.write(e):g.typedText(e),~e.indexOf("\\")&&g.keystroke("Spacebar"),setTimeout((()=>g.focus()),0))},openMathEditor:function(e){u&&C(),function(e){const t=document.createRange(),n=e.get(0);t.setStartAfter(n);const r=window.getSelection();r.removeAllRanges(),r.addRange(t)}(e),T(e)},closeMathEditor:C,undoMath:E,redoMath:S};function y(){const e=s.val().trim();h>=0&&Uh(f)!==e&&(0===h&&(p=[]),f.push(e)),Ch()('[data-js="mathUndo"]').prop("disabled",f.length<=1),Ch()('[data-js="mathRedo"]').prop("disabled",0===p.length),0!==h&&0===g.latex().length&&e.length>0&&s.focus(),setTimeout((()=>h=0),2)}function v(e){e&&e.originalEvent&&e.originalEvent.stopPropagation(),clearTimeout(c),c=setTimeout((()=>{if(t.latexField||0!==h)return;const e=g.latex();s.val(e),b(),A(a.prev(),e),x(),y()}),0)}function b(){const e=Ch()(".render-error");e.empty(),j()&&e.text(i.render_error)}function I(e){e&&e.originalEvent&&e.originalEvent.stopPropagation();const t=s.val();A(a.prev(),t),setTimeout((()=>{g.latex(t),y(),b()}),1),x()}function x(){s.get(0).style.height="auto",s.get(0).style.height=`${s.get(0).scrollHeight}px`}function M(){clearTimeout(d),d=setTimeout((()=>{a.trigger({type:"mathfocus",hasFocus:t.latexField||t.equationField}),t.latexField||t.equationField||C()}),0)}function w(e=""){window.document.execCommand("insertHTML",!1,`${e}<img data-js="new" alt="" src="" style="display: none"/>`),T(Ch()('[data-js="new"]').removeAttr("data-js"))}function T(e){e.hide(),e.after(a),u=!0,t.equationField=!0,p=[],f=[],N(!0),setTimeout((()=>g.focus()),0),s.val(e.prop("alt")),setTimeout((()=>{j()&&s.focus()}),2),I(),function(e){const t=Ch()(window),n=t.height()-40,r=n+t.scrollTop(),i=e.offset().top+e.height();r<i&&t.scrollTop(i-n)}(a)}function A(e,t){clearTimeout(o),o=setTimeout((()=>{r(e,t)}),500)}function C(n=!1){const i=a.closest('[data-js="answer"]'),o=a.prev();""===Vh(s.val())?o.remove():(o.show(),r(o,s.val())),N(!1),u=!1,t.latexField=!1,t.equationField=!1,a.trigger({type:"mathfocus",hasFocus:t.latexField||t.equationField}),e.append(a),n&&i.focus()}function N(e){Ch()("body").toggleClass("math-editor-focus",e)}function E(){1!==f.length&&(h=-1,p.push(f.pop()),g.latex(Uh(f)),A(a.prev(),g.latex()),s.val(Uh(f)),y(),x(),b())}function S(){0!==p.length&&(h=1,g.latex(Uh(p)),s.val(p.pop()),A(a.prev(),g.latex()),y(),x(),b())}function j(){return 0===g.latex().length&&s.val().length>0}}(Qh,Xh,r,d,f);const e=function(e,t,n){let r;const i=Ch()(`<div class="rich-text-editor-overlay rich-text-editor-hidden">\n <div class="rich-text-editor-overlay-modal" aria-modal="true" tabindex="0" data-js="overlayModal" >\n <div class="rich-text-editor-modal-columns">\n <div class="rich-text-editor-modal-column rich-text-editor-modal-column-2" data-i18n="[html]rich_text_editor.help_overlay.screenshot">\n ${n.help_overlay.screenshot}\n </div>\n <div class="rich-text-editor-modal-column rich-text-editor-modal-column-1" data-i18n="[html]rich_text_editor.help_overlay.equation">\n ${n.help_overlay.equation}\n </div>\n </div>\n <button data-js="closeOverlayButton" class="rich-text-editor-close-overlay-button"></button>\n </div>\n</div>`).on("mousedown",'[data-js="closeOverlayButton"]',(e=>{e.preventDefault(),Ch()("body").removeClass("rich-text-editor-overlay-open"),i.addClass("rich-text-editor-hidden"),r.focus()})).on("mousedown",(e=>{e.target.classList.contains("rich-text-editor-overlay")&&(e.preventDefault(),e.stopPropagation(),Ch()("body").removeClass("rich-text-editor-overlay-open"),i.addClass("rich-text-editor-hidden"),r.focus())})),o=Ch()(`\n <div class="rich-text-editor-tools" data-js="tools">\n\n <div class="rich-text-editor-tools-button-wrapper">\n <div class="rich-text-editor-toolbar-wrapper">\n <button class="rich-text-editor-characters-expand-collapse" data-js="expandCollapseCharacters" style="z-index: 100"></button>\n </div>\n <div class="rich-text-editor-toolbar-wrapper">\n <button class="rich-text-editor-help-button" data-js="richTextEditorHelp" style="z-index: 100"></button>\n </div>\n </div>\n <div class="rich-text-editor-tools-row">\n <div class="rich-text-editor-toolbar-wrapper">\n <div class="rich-text-editor-toolbar-characters rich-text-editor-toolbar rich-text-editor-toolbar-button-list" data-js="charactersList"></div>\n </div>\n </div>\n <div class="rich-text-editor-tools-row">\n <div class="rich-text-editor-toolbar-wrapper rich-text-editor-equation-wrapper">\n <div class="rich-text-editor-toolbar-equation rich-text-editor-toolbar rich-text-editor-toolbar-button-list" data-js="mathToolbar"></div>\n </div>\n </div>\n <div class="rich-text-editor-tools-button-wrapper">\n <div class="rich-text-editor-toolbar-wrapper">\n <button class="rich-text-editor-new-equation rich-text-editor-button rich-text-editor-button-action" data-js="newEquation" data-command="Ctrl + E" data-i18n="rich_text_editor.insert_equation">Σ ${n.insertEquation}</button>\n </div>\n </div>\n </div>\n `).on("mousedown",(e=>{e.preventDefault()})).on("mousedown",'[data-js="expandCollapseCharacters"]',(e=>{e.preventDefault(),o.toggleClass("rich-text-editor-show-all-characters")})).on("mousedown",'[data-js="richTextEditorHelp"]',(e=>{e.preventDefault(),r=document.activeElement,Ch()("body").addClass("rich-text-editor-overlay-open"),i.removeClass("rich-text-editor-hidden"),i.find('[data-js="overlayModal"]').focus(),Ch()(window).on("keydown.help",(e=>{27===e.keyCode&&(e.stopPropagation(),e.preventDefault(),Ch()("body").removeClass("rich-text-editor-overlay-open"),i.addClass("rich-text-editor-hidden"),Ch()(window).off("keydown.help"))}))})),a=o.find('[data-js="newEquation"]'),s=o.find('[data-js="mathToolbar"]');return function(e,t,n){e.find('[data-js="charactersList"]').append(_h.map((e=>`<div class="rich-text-editor-toolbar-characters-group"\n style="width: ${35*Bh(e)}px">\n ${e.characters.map(Gh).join("")}\n </div>`))).on("mousedown","button",(e=>{e.preventDefault();const r=e.currentTarget.innerText,i=e.currentTarget.dataset.command,o="true"===e.currentTarget.dataset.usewrite;n()?window.document.execCommand("insertText",!1,r):t.insertMath(i||r,void 0,o)}))}(o,e,t),function(e,t){e.append(Zh.map((e=>"string"==typeof e?e:`<button class="rich-text-editor-button rich-text-editor-button-grid" data-command="${e.action}" data-latexcommand="${e.label||""}" data-usewrite="${e.useWrite||!1}">\n<img src="${e.svg}"/>\n</button>`)).join("")).on("mousedown",".rich-text-editor-button-grid",(e=>{e.preventDefault();const n=e.currentTarget.dataset;t.insertMath(n.command,n.latexcommand,"true"===n.usewrite)})),e.append('<div class="rich-text-editor-undo-redo-wrapper">\n <button class="rich-text-editor-button rich-text-editor-undo-redo rich-text-editor-undo-button" disabled="true" data-command="Ctrl + Z" data-js="mathUndo"></button>\n <button class="rich-text-editor-button rich-text-editor-undo-redo rich-text-editor-redo-button" disabled="true" data-command="Ctrl + Y" data-js="mathRedo"></button>\n </div>').on("mousedown",'[data-js="mathUndo"]',(e=>{e.preventDefault(),t.undoMath()})).on("mousedown",'[data-js="mathRedo"]',(e=>{e.preventDefault(),t.redoMath()}))}(s,e),function(e,t,n){e.mousedown((e=>{e.preventDefault(),n()&&t.insertNewEquation()}).bind(this))}(a,e,t),Ch().fn.i18n?o.i18n():Ch().fn.localize&&o.localize(),{toolbar:o,helpOverlay:i}}(Jh.math,(()=>Xh.richText),f);Jh.$toolbar=e.toolbar;const t=e.helpOverlay;Ch()("body").append(Qh,Jh.$toolbar,t)}let p=!1;Ch()(e).attr({contenteditable:!0,spellcheck:!1,"data-js":"answer"}).addClass("rich-text-editor").on("click",kh,(e=>{1===e.which&&(eg(Ch()(e.target).closest('[data-js="answer"]')),Jh.math.openMathEditor(Ch()(e.target)))})).on("keydown",(e=>{!Oh(e,69)||Xh.equationField||Xh.latexField||(e.preventDefault(),Jh.math.insertNewEquation())})).on("mathfocus",(e=>{Ch()(e.currentTarget).toggleClass("rich-text-focused",e.hasFocus),ig()&&tg(Jh.$currentEditor)})).on("focus blur",(e=>{"focus"===e.type&&Jh.math.closeMathEditor(),function(e){Xh.richText="focus"===e.type,Ch()(e.currentTarget).toggleClass("rich-text-focused",Xh.richText),clearTimeout(rg),rg=setTimeout((()=>{!Ch()("body").hasClass("rich-text-editor-overlay-open")&&ig()?tg(Ch()(e.target)):eg(Ch()(e.target))}),0)}(e)})).on("input",(e=>{p||n(s||function(e,t,n){const r=Ch()(e),i=r.find('[data-js="mathEditor"]'),o=r.find(".render-error");i.hide(),o.hide();const a=r.get(0).innerText;i.show(),o.show();const s=n(r.html());return{answerHTML:a.trim().length+r.find(kh).length+r.find(t).length===0?"":(l=s,l.replace(/^(\n|<br ?\/?>)*/g,"").replace(/(\s|<br ?\/?>)*$/g,"")),answerText:zh(a),imageCount:Ch()(`<div>${s}</div>`).find(t).length};var l}(e.currentTarget,l,o))})).on("drop",(e=>{p=!0,setTimeout((()=>{Ch()(e.currentTarget).html(o(e.currentTarget.innerHTML)),Yh(Ch()(e.currentTarget),a,c,i),p=!1}),100)})).on("paste",(e=>{p=!0,setTimeout((()=>p=!1),0),function(e,t,n,r,i){const o=e.originalEvent.clipboardData,a=o.items&&o.items.length>0&&o.items[o.items.length-1].getAsFile();if(a)!function(e,t,n,r){e.preventDefault(),r.indexOf(t.type)>=0&&n({data:t,type:t.type}).then((e=>{const t=`<img src="${e}"/>`;window.document.execCommand("insertHTML",!1,t)})).catch((e=>{console.error(e)}))}(e,a,t,r);else{const a=o.getData("text/html");a?function(e,t,n,r,i,o,a){e.preventDefault(),window.document.execCommand("insertHTML",!1,a(n)),Yh(t,r,i,o)}(e,Ch()(e.currentTarget),a,t,n,r,i):function(e,t,n,r){Yh(e,t,n,r)}(Ch()(e.currentTarget),t,n,r)}}(e,a,c,i,o)})),setTimeout((()=>document.execCommand("enableObjectResizing",!1,!1)),0)};function $h(e,t){Ch()("body").toggleClass("rich-text-editor-focus",e),t.toggleClass("rich-text-focused",e)}function eg(e){Jh.$currentEditor=e,ng(),$h(!0,Jh.$currentEditor)}function tg(e){$h(!1,e),ng(),Xh.richText=!1}function ng(){const e="rich-text-editor-tools--animating";Jh.$toolbar.addClass(e).one("transitionend transitioncancel",(()=>Jh.$toolbar.removeClass(e)))}let rg;function ig(){return!Xh.richText&&!Xh.latexField&&!Xh.equationField}class og extends t().PureComponent{constructor(e){super(e),this.handleSaveError=e=>{const t=(()=>{switch(Ci(e,"response.status")){case 409:return"screenshot-byte-limit-reached";case 413:return"screenshot-too-big";default:return"screenshot-upload-failed"}})();this.props.onError({key:t})},this.handleChange=e=>{const{onChange:t}=this.props;this.lastHTML=e.answerHTML,t(e.answerHTML,e.answerText)},this.ref=t().createRef(),this.lastHTML=this.props.answer?this.props.answer.value:""}componentDidMount(){const{current:e}=this.ref,{answer:t,saveScreenshot:n}=this.props;e&&(t&&(e.innerHTML=t.value),Kh(e,{locale:this.context.language.slice(0,2).toUpperCase(),screenshotSaver:({data:e,type:t})=>n(e instanceof Blob?e:new Blob([e],{type:t})).catch((e=>{throw this.handleSaveError(e),e}))},this.handleChange))}componentDidUpdate(){const{current:e}=this.ref;e&&this.props.answer&&this.props.answer.value!==this.lastHTML&&(e.innerHTML=this.lastHTML=this.props.answer.value)}render(){const{className:e,questionId:n,invalid:r,lang:i,labelledBy:o}=this.props;return t().createElement("div",{ref:this.ref,className:e,"data-question-id":n,role:"textbox","aria-multiline":"true","aria-invalid":r,tabIndex:0,lang:i,"aria-labelledby":o})}}og.contextType=Vr;const ag=og,sg=t().memo((({maxLength:e,id:n})=>{const{t:r}=Mr();return t().createElement("p",{id:n,className:"e-answer-length-info"},t().createElement(ch,null),t().createElement("em",null,r("max-length-info",{count:e})))}));function lg(e){return e.replace(/\s/g,"").length}const cg=t().memo((({element:n,className:r})=>{const i=Te(n,"type"),o=Ae(n,"question-id"),a=Te(n,"display-number"),s=Ae(n,"max-score"),l=Ce(n,"use-language-of-instruction"),c=Ae(n,"max-length"),{language:u}=(0,e.useContext)(Vr),{questionLabelIds:d,answers:f}=(0,e.useContext)(Xs),{examServerApi:p}=(0,e.useContext)(il),[h,g]=(0,e.useState)(),{answer:m,supportsAnswerHistory:y,showAnswerHistory:v,validationError:b}=pi((e=>({answer:e.answers.answersById[o],supportsAnswerHistory:e.answers.supportsAnswerHistory,showAnswerHistory:e.answers.supportsAnswerHistory&&e.answers.serverQuestionIds.has(o),validationError:e.answers.validationErrors.find((e=>"AnswerTooLong"===e.type&&e.displayNumber===a))}))),I=xi(),x=(0,e.useRef)(null),M=m&&m.value,w=Pr(n),T=null!=b,A=l?u:void 0,C=n.hasAttribute("max-length")?`${d} ${Lr(n)}`:d;(0,e.useEffect)((()=>{const{current:e}=x;e&&("single-line"!==i&&"integer"!==i||(e.style.width="0",e.style.width=`${e.scrollWidth+2}px`))}));const N=(0,e.useCallback)((e=>{const t=e.currentTarget.value.trim(),n={type:"text",questionId:o,value:t,characterCount:lg(t),displayNumber:a};I(Ld(n)),g(void 0)}),[o,a]),[E,S]=(0,e.useState)(""),j=(0,e.useCallback)((e=>{e.preventDefault(),e.currentTarget.classList.remove("text-answer--integer--input-error");const t=e.currentTarget.value.trim();if(/^-?\d*$/.test(t)){S(t);const e={type:"text",questionId:o,value:t,characterCount:lg(t),displayNumber:a};I(Ld(e)),g(void 0)}else e.currentTarget.classList.add("text-answer--integer--input-error"),setTimeout((e=>{e.classList.remove("text-answer--integer--input-error")}),200,e.currentTarget)}),[o,a]),k=(0,e.useCallback)(((e,t)=>{const n={type:"richText",questionId:o,value:e,characterCount:lg(t),displayNumber:a};I(Ld(n)),g(void 0)}),[o,a]),D=(0,e.useCallback)((()=>e=>g(e)),[]),L=(0,e.useCallback)((()=>I((e=>(0,fs.action)("ANSWER_FOCUSED",e))(o))),[o]),O=(0,e.useCallback)((()=>I((e=>(0,fs.action)("ANSWER_BLURRED",e))(o))),[o]),R=(0,e.useCallback)(((e,t)=>I(((e,t)=>(0,fs.action)("SELECT_ANSWER_VERSION",{questionId:e,questionText:t}))(e,t))),[]);switch(i){case"rich-text":return t().createElement(t().Fragment,null,null!=c&&t().createElement(sg,{maxLength:c,id:Lr(n)}),t().createElement(ag,{answer:m,className:ni()("text-answer text-answer--rich-text",r),saveScreenshot:e=>p.saveScreenshot(o,e),onChange:k,onError:D,questionId:o,lang:A,invalid:T,labelledBy:C}),t().createElement(Th,{answer:m,element:n,selectAnswerVersion:R,showAnswerHistory:v,supportsAnswerHistory:y,screenshotError:h,validationError:b}));case"integer":return t().createElement("span",{className:"e-nowrap"},t().createElement("input",{type:"text",className:ni()("text-answer text-answer--single-line text-answer--integer",r),value:E,onChange:j,onFocus:L,onBlur:O,ref:x,"data-question-id":o,lang:A,"aria-describedby":w,"aria-labelledby":C}),f.length>1&&t().createElement(Qp,{score:s,size:"inline",id:w}));default:return t().createElement("span",{className:"e-nowrap"},t().createElement("input",{type:"text",className:ni()("text-answer text-answer--single-line",r),defaultValue:M,onChange:N,onFocus:L,onBlur:O,ref:x,"data-question-id":o,lang:A,"aria-describedby":w,"aria-labelledby":C}),f.length>1&&t().createElement(Qp,{score:s,size:"inline",id:w}))}})),ug=({children:e})=>t().createElement("span",{className:"e-screen-reader-only"},e),dg=t().memo((function(e){const{element:n,renderChildNodes:r}=e,i=n.getAttribute("display-number"),o=we(n,"hint"),a=t().createElement(cg,{...e});return o?t().createElement("label",{className:"e-nowrap"},t().createElement("sup",{className:"e-text-answer-display-number e-color-darkgrey"},mh(i)),t().createElement(ug,null,r(o)),a):a})),fg=ke({attachment:ih,"attachment-link":Qr("link"),"attachment-links":Jr("link"),audio:xs,"audio-title":Ss,"audio-group":Gf,"audio-test":Bf,"choice-answer":Yf,"dropdown-answer":Xp,"exam-footer":oh,"external-material":ws,file:Ts,formula:As,image:Es,question:sh,"question-instruction":lh,"question-title":uh,hints:vh,references:Ih,"scored-text-answer":dg,"scored-text-answers":vh,"section-instruction":Mh,section:hh,"section-title":gh,"text-answer":dg,video:Os,"image-overlay":qs}),pg=t().memo(ol(qr((({doc:n,casStatus:r,answers:i,restrictedAudioPlaybackStats:o,examServerApi:a})=>{const{date:s,dateTimeFormatter:l,dayCode:c,examCode:u,language:d,resolveAttachment:f,root:p,subjectLanguage:h}=(0,e.useContext)(Vr),g=we(p,"exam-title"),m=we(p,"exam-instruction"),v=we(p,"table-of-contents"),b=we(p,"external-material"),I=p.getAttribute("exam-stylesheet"),x=Br((()=>Zf(fl(n),r,i,o,a))),M=Br((()=>wh({showAttachmentLinks:!0,showAnsweringInstructions:!0}))),w=Br((()=>xr(d,u,c)));return(0,e.useEffect)(wr(w,d)),(0,e.useEffect)(Gr,[]),t().createElement(yi,{store:x},t().createElement(y,{i18n:w},t().createElement("main",{className:"e-exam",lang:h,"aria-labelledby":Er},t().createElement(t().StrictMode,null),I&&t().createElement("link",{rel:"stylesheet",href:f(I)}),t().createElement($s,{"aria-labelledby":Er},g&&t().createElement(rl,{id:Er},fg(g)),s&&t().createElement("p",null,t().createElement("strong",null,l.format(s))),m&&t().createElement(ah,{element:m,renderChildNodes:fg}),v&&t().createElement(M,{element:v,renderChildNodes:fg}),b&&t().createElement(ws,{element:b,renderChildNodes:fg,forceRender:!0})),fg(p),t().createElement("div",{className:"e-footer"},t().createElement(rh,null),t().createElement(xh,null)))))})))),hg=ll((({element:n,renderChildNodes:r})=>{const{displayNumber:i}=(0,e.useContext)(sl);return t().createElement($s,{className:"e-grading-instruction-section","aria-labelledby":jr(i)},r(n))})),gg=Ks((function({element:n,renderChildNodes:r}){const{displayNumber:i,level:o}=(0,e.useContext)(Xs);return t().createElement("div",{className:ni()("e-grading-instructions-question",{"e-mrg-b-8 e-clearfix":0===o,"e-mrg-l-8 e-mrg-y-4":o>0}),id:i},r(n,1))})),mg=({element:e,renderChildNodes:n})=>t().createElement("div",{className:"e-exam-grading-instruction notification e-pad-4"},n(e)),yg=({element:e,renderChildNodes:n})=>t().createElement("div",{className:"e-answer-grading-instruction e-multiline-results-text-answer e-mrg-b-2 e-pad-l-2"},n(e)),vg=({element:n,renderChildNodes:r})=>{const{answers:i}=(0,e.useContext)(Xs),o=we(n,"answer-grading-instruction"),a=Ae(n,"max-length"),s=t().createElement(t().Fragment,null,null!=a&&t().createElement(sg,{maxLength:a}),t().createElement("ul",null,r(n)),o&&t().createElement(yg,{element:o,renderChildNodes:r}));if(1===i.length)return s;{const e=Te(n,"display-number"),i=Ae(n,"max-score"),o=we(n,"hint");return t().createElement("div",{className:"e-mrg-l-8"},t().createElement("p",{className:"exam-question-title"},t().createElement("span",{className:"exam-question-title__display-number--indented e-semibold"},e," "),o&&r(o)," ",t().createElement(Qp,{score:i})),s)}},bg=({element:e,renderChildNodes:n})=>{const r=Ae(e,"score");if(!r)return null;const{t:i}=Mr();return t().createElement("li",null,n(e),ye,"(",i("points",{count:r}),")")},Ig=e=>n=>{const r=r=>e(r)?t().createElement(n,{...r}):null;return r.displayName=`RenderIf(${Wr(n)})`,r},xg=({element:e,renderChildNodes:n})=>{const r=we(e,["audio-transcription","video-transcription"]);if(r){const{t:i}=Mr(),o=we(e,["audio-title","video-title"]);return t().createElement("details",{className:"e-grading-instruction-recording e-pad-1 e-mrg-b-2"},t().createElement("summary",null,t().createElement("strong",null,i("recording"))," ",o&&t().createElement("em",null,n(o))),n(r))}return null},Mg=Ig((({element:e})=>null!=Me(e,["answer-grading-instruction","choice-answer-option","dropdown-answer-option","exam-grading-instruction","question-grading-instruction","hint","question-title","question-instruction"]))),wg=Ig((({element:e})=>null==Me(e,["external-material"]))),Tg=ke({"accepted-answer":bg,attachment:al,"attachment-link":wg(Qr("plain")),"attachment-links":wg(Jr("plain")),audio:xg,"audio-group":al,"choice-answer":vg,"choice-answer-option":bg,"dropdown-answer":vg,"dropdown-answer-option":bg,"external-material":al,file:Mg(Ts),formula:Mg(As),hints:al,image:Mg(Es),question:gg,"question-title":({element:n,renderChildNodes:r})=>{const{displayNumber:i,maxScore:o,level:a}=(0,e.useContext)(Xs),s=`h${Math.min(3+a,6)}`;return t().createElement(t().Fragment,null,t().createElement(s,{className:ni()("exam-question-title",{"e-normal e-font-size-m":a>0})},t().createElement("strong",{className:ni()("exam-question-title__display-number",{"exam-question-title__display-number--indented":a>0})},`${tl(i)} `),r(n)," ",t().createElement(Qp,{score:o,size:0===a?"large":"small"})))},"question-instruction":lh,"question-grading-instruction":yg,"scored-text-answer":vg,"text-answer":vg,section:hg,"section-title":({element:n,renderChildNodes:r})=>{const{sections:i}=(0,e.useContext)(Vr),{displayNumber:o}=(0,e.useContext)(sl),{t:a}=Mr();return t().createElement(t().Fragment,null,n.hasChildNodes()&&t().createElement("h2",{className:"e-grading-instructions-section-title",id:jr(o)},i.length>1&&a("section",{displayNumber:o})," ",r(n)))},video:xg}),Ag=()=>{const{t:e}=Mr();return t().createElement(t().Fragment,null,e("grading-instructions-page-title"))},Cg=t().memo(qr((({doc:n})=>{const r=n.documentElement,{date:i,dateTimeFormatter:o,dayCode:a,examCode:s,language:l,subjectLanguage:c}=(0,e.useContext)(Vr),u=we(r,"exam-title"),d=we(r,"exam-grading-instruction"),f=we(r,"table-of-contents"),p=wh({showAnsweringInstructions:!1,showAttachmentLinks:!1}),h=Br((()=>xr(l,s,a)));return(0,e.useEffect)(wr(h,l)),(0,e.useEffect)(Gr,[]),t().createElement(y,{i18n:h},t().createElement("main",{className:"e-exam e-grading-instructions",lang:c},t().createElement(t().StrictMode,null),t().createElement($s,{"aria-labelledby":Er},t().createElement(rl,{id:Er},t().createElement(Ag,null)," ",u&&Tg(u)),i&&t().createElement("p",null,t().createElement("strong",null,o.format(i))),d&&t().createElement(mg,{element:d,renderChildNodes:Tg}),f&&t().createElement(p,{element:f,renderChildNodes:Tg})),Tg(r)))}))),Ng=function(e){return e&&e.length?function(e,t){for(var n,r=-1,i=e.length;++r<i;){var o=t(e[r]);void 0!==o&&(n=void 0===n?o:n+o)}return n}(e,he):0},Eg=t().createContext({}),Sg=Hr(Eg,(({scores:e,doc:t,gradingStructure:n,gradingText:r,answers:i,singleGrading:o})=>{const a=mc(i,"questionId"),s=function(e,t,n,r){return Ng(e.map((e=>function(e,t,n,r){const i=Ng(Ee(e).map((e=>{const i=Ae(e,"question-id"),o=r[i];return o?"choice"===o.type?((e,n)=>{const r=jg(t,e);return r?r.options.find((e=>e.id===Number(n.value))).score:0})(i,o):(e=>{var t,r;const i=kg(n,e);return i&&(null===(r=[i.inspection,null===(t=i.censoring)||void 0===t?void 0:t.scores[0],i.autograding,i.pregrading].find(Boolean))||void 0===r?void 0:r.score)||0})(i):0})));return 0===ve(e,"question").length&&i<0?0:i}(e,t,n,r))))}(xe(t.documentElement,"question",!1),n,e,a);return{answersByQuestionId:a,gradingStructure:n,scores:e,totalScore:s,gradingText:r,singleGrading:o}}));function jg(e,t){const n=e.questions.filter((e=>"choicegroup"===e.type));for(let e=0,r=n.length;e<r;e++){const r=n[e];for(let e=0,n=r.choices.length;e<n;e++)if(r.choices[e].id===t)return r.choices[e]}}function kg(e,t){return e.find((e=>e.questionId===t))}const Dg=t().memo((function({answers:n,displayNumber:r,children:i,multilineAnswer:o}){const{displayNumber:a}=(0,e.useContext)(Xs),s=r?`${a}.${null==r?void 0:r.replace(".","")}`:void 0;return t().createElement("span",{className:ni()("e-result-scorecount","e-float-right",{"e-result-scorecount-multiline-answer":o}),id:s},t().createElement("span",{className:"e-result-scorecount-border-wrap"},n.length>1&&r&&t().createElement("sup",{className:"e-result-scorecount-sup e-mrg-r-1","aria-hidden":"true"},r),i))})),Lg=t().memo((function({score:n,maxScore:r,displayNumber:i}){const{answers:o}=(0,e.useContext)(Xs),{t:a}=Mr(),s={answers:o,displayNumber:i};return t().createElement(Dg,{...s},"number"==typeof n?t().createElement("b",null,n):t().createElement("span",{className:"e-result-scorecount-empty"})," ",r?`/ ${r} `:null," ",a("points",{count:""}))}));function Og({renderChildNodes:e,selected:n,element:r,questionId:i,direction:o,isCorrect:a}){const{t:s}=Mr(),l=r.getAttribute("class"),c=r.getAttribute("option-id"),u=t().createElement("div",{className:ni()("e-choice-answer-option e-column",l,{"e-choice-answer-option--selected":n})},e(r)),d=({narrow:e=!1})=>t().createElement(t().Fragment,null,t().createElement("input",{type:"radio",className:ni()("e-radio-button",{"e-column e-column--narrow":e}),name:String(i),value:c,checked:n,readOnly:!0}),u,a&&t().createElement(ug,null,s("screen-reader.correct-answer")));return"vertical"===o?t().createElement("div",{className:"e-mrg-b-1"},t().createElement("label",{className:ni()("e-columns",{"e-correct-answer-left":a,"e-columns--inline":null==Ie(r,["image","video"])})},t().createElement(d,{narrow:!0}))):t().createElement("div",{className:"e-column e-mrg-b-1"},t().createElement("label",{className:ni()("e-block e-text-center",{"e-correct-answer-bottom":a})},t().createElement(d,null)))}const Rg=t().memo((function({element:n,renderChildNodes:r}){const{answersByQuestionId:i,gradingStructure:o}=(0,e.useContext)(Eg),a=Ae(n,"question-id"),s=i[a],l=n.getAttribute("direction")||"vertical",c=n.getAttribute("class"),u=jg(o,a),d=s&&u.options.find((e=>e.id===Number(s.value))).score,f=Ae(n,"max-score");return t().createElement(t().Fragment,null,void 0!==d&&t().createElement(Lg,{score:d,maxScore:f}),t().createElement("div",{className:ni()("e-choice-answer",c,{"e-columns":"horizontal"===l})},Ne(n,(e=>{const n=Ae(e,"option-id"),i=null!=s&&Number(s.value)===n,o=u.options.find((e=>e.id===n));return t().createElement(Og,{element:e,renderChildNodes:r,questionId:a,key:n,direction:l,selected:i,isCorrect:o.correct})}))))})),Pg=t().memo((function({element:n,renderChildNodes:r}){const{t:i}=Mr(),{answersByQuestionId:o,gradingStructure:a}=(0,e.useContext)(Eg),{answers:s}=(0,e.useContext)(Xs),l=Ae(n,"question-id"),c=o[l],u=we(n,(e=>(null==c?void 0:c.value)===e.getAttribute("option-id"))),d=jg(a,l);if(u){const e=d.options.filter((e=>e.correct)).map((e=>e.id)),o=Array.from(n.children).filter((t=>e.includes(Ae(t,"option-id")))),a=e.includes(Ae(u,"option-id")),l=mh(n.getAttribute("display-number")),f=c&&d.options.find((e=>e.id===Number(c.value))).score,p=Ae(n,"max-score");return t().createElement(t().Fragment,null,s.length>1&&t().createElement("sup",null,l),t().createElement("span",{className:ni()("e-dropdown-answer__answered",{"e-dropdown-answer__answered--correct":a,"e-dropdown-answer__answered--wrong":!a})},t().createElement(ug,null,i("screen-reader.answer-begin")),r(u),t().createElement(ug,null,i("screen-reader.answer-end")),a&&t().createElement(ug,null,i("screen-reader.correct-answer"))),!a&&t().createElement("span",{className:"e-dropdown-answer__correct","aria-hidden":!0},o.map(((e,n)=>t().createElement(t().Fragment,{key:n},r(e),n<o.length-1&&", ")))),null!=f&&t().createElement(Lg,{score:f,maxScore:p,displayNumber:l}))}return null}));function zg({pregradingAnnotations:e,censoringAnnotations:n,singleGrading:r}){return e.length||n.length?t().createElement("div",{className:"e-annotation-list e-columns e-mrg-t-2"},r?t().createElement("div",{className:"e-column e-column--10"},t().createElement(Ug,{annotations:e})):t().createElement(t().Fragment,null,t().createElement("div",{className:"e-column e-column--6"},t().createElement(Ug,{i18nTitleKey:"grading.pregrading-annotations",annotations:e})),t().createElement("div",{className:"e-column e-column--6"},t().createElement(Ug,{i18nTitleKey:"grading.censor-annotations",annotations:n})))):null}const Ug=({i18nTitleKey:e,annotations:n})=>{const{t:r}=Mr();return n?t().createElement(t().Fragment,null,e&&t().createElement("h5",null,r(e)),t().createElement("ol",{className:"e-list-data e-pad-l-0 e-font-size-s"},n.map((({numbering:e,message:n})=>t().createElement("li",{"data-list-number":e,key:e},n))))):null},_g=t().memo((function(){const{answers:n}=(0,e.useContext)(Xs),{scores:r,singleGrading:i}=(0,e.useContext)(Eg),o=function(e,t){const n=[];for(let r=0;r<e.length;r++){const i=t(e[r]);void 0!==i&&n.push(i)}return n}(n||[],(e=>{const t=Ae(e,"question-id"),n=kg(r,t);return n&&e&&(e=>{var t,n,r,i;return Boolean((null===(n=null===(t=null==e?void 0:e.pregrading)||void 0===t?void 0:t.annotations)||void 0===n?void 0:n.length)||(null===(i=null===(r=null==e?void 0:e.censoring)||void 0===r?void 0:r.annotations)||void 0===i?void 0:i.length))})(n)?[e,n]:void 0})),a=(e,t,r=0)=>Nd(e,(([e,i])=>{var o,a,s;return null!==(s=null===(a=null===(o=i[t])||void 0===o?void 0:o.annotations)||void 0===a?void 0:a.filter((e=>e.message.length)).map(((t,i)=>{const o=`${((e,t)=>e.length>1?mh(t.getAttribute("display-number")):"")(n,e)+String(r+i+1)})`;return{numbering:o,message:t.message}})))&&void 0!==s?s:[]})),s=a(o,"pregrading"),l=a(o,"censoring",s.length);return t().createElement(zg,{pregradingAnnotations:s,censoringAnnotations:l,singleGrading:!!i})})),Zg=t().memo(Ks((function({element:n,renderChildNodes:r}){const{answersByQuestionId:i}=(0,e.useContext)(Eg),{displayNumber:o,level:a}=(0,e.useContext)(Xs),s=function(e,t){return Ee(e).some((e=>t[Ae(e,"question-id")]))}(n,i);return s?t().createElement("div",{className:ni()("exam-question",{"e-mrg-b-8 e-clearfix":0===a,"e-mrg-l-8 e-mrg-y-4":a>0}),id:o},r(n),t().createElement(_g,null)):null}))),Gg=t().memo((function({element:n,renderChildNodes:r}){const{displayNumber:i,level:o,maxAnswers:a,childQuestions:s}=(0,e.useContext)(Xs),l=`h${Math.min(3+o,6)}`;return t().createElement(t().Fragment,null,t().createElement(l,{className:ni()("exam-question-title",{"e-normal e-font-size-m":o>0})},t().createElement("strong",{className:ni()("exam-question-title__display-number",{"exam-question-title__display-number--indented":o>0})},`${tl(i)} `),r(n)),null!=a&&s.length>0&&t().createElement("p",{className:"e-italic"},t().createElement(ch,null),t().createElement(Kp,{maxAnswers:a,childQuestions:s,elementType:"question"})))})),Bg=t().memo(ll((function({element:n,renderChildNodes:r}){const{displayNumber:i}=(0,e.useContext)(sl),{answersByQuestionId:o}=(0,e.useContext)(Eg),a=Ie(n,(e=>{const t=e.getAttribute("question-id");return null!=t&&Object.prototype.hasOwnProperty.call(o,t)}));return a?t().createElement($s,{"aria-labelledby":jr(i)},t().createElement("div",{className:"e-results-section-wrapper"},r(n))):null}))),Fg=5;function Yg(e,t,n,r=!0){const i=[...t,...n],o=i.filter((e=>e.message));for(const[n,a]of i.entries()){const i=t.includes(a)?"pregrading":"censoring",s=o.indexOf(a)+1||void 0,l="pregrading"===i?n:n-t.length;switch(a.type){case"line":case"rect":Wg(e,a,i,l,s,r);break;default:Hg(e,a,i,l,s,r)}}}function Wg(e,t,n,r,i,o){const{attachmentIndex:a}=t;return function(e,t,n,r,i,o){const a=function(e){const t=e.parentElement;if(t instanceof HTMLSpanElement)return t;const n=Se("span",{className:"e-annotation-wrapper"});return t.insertBefore(n,e),n.appendChild(e),n}(e),s=function(){const e=Se("mark",{className:ni()("e-annotation e-annotation--shape",{"e-annotation--pregrading":"pregrading"===r,"e-annotation--censoring":"censoring"===r}),title:t,"data-list-index":String(i),"data-type":r,...o&&{"data-index":String(o)},...n.message&&{"data-message":n.message}});return function(e,t){const n=e.style,r=e=>100*e+"%";"rect"===t.type?(n.left=r(t.x),n.top=r(t.y),n.right=r(1-(t.x+t.width)),n.bottom=r(1-(t.y+t.height))):(n.left=r(t.x1),n.top=r(t.y1),n.right=r(1-t.x2),n.bottom=r(1-t.y2))}(e,n),o&&e.appendChild(Vg(o,"shape",n.message)),e}();return a.appendChild(s),s}(e.querySelectorAll("img")[a],o?t.message:"",t,n,r,i)}function Hg(e,t,n,r,i,o){const{startIndex:a,length:s}=t;return function e(f,p,h){var g;if(!l(f)&&!function(e){return"SUP"===e.nodeName}(f)&&!function(e){return"BR"===e.nodeName}(f)&&p>=a){const a=Se("mark",{className:ni()("e-annotation",{"e-annotation--pregrading":"pregrading"===n,"e-annotation--censoring":"censoring"===n}),title:o?t.message:"","data-list-index":String(r),"data-type":n,...i&&{"data-index":String(i)},...t.message&&{"data-message":t.message}});null===(g=f.parentElement)||void 0===g||g.insertBefore(a,f);const l=d(a,f,h);l>0?e(c(a),p+s-l,l):i&&a.appendChild(Vg(i,"text",t.message))}else f instanceof Text&&p+u(f)>a&&f.splitText(a-p),e(function(e){return l(e)?e.childNodes[0]:c(e)}(f),p+u(f),h)}(e.childNodes[0],0,s);function l(e){return"MARK"===e.nodeName}function c(t){const n=t.nextSibling;if(n)return n;const r=t.parentElement;if(null===r||r===e)throw new Error("Bug: the answer seems to be too short for the current set of annotations.");return c(r)}function u(e){return e instanceof Text?e.length:function(e){return"IMG"===e.nodeName||"SPAN"===e.nodeName}(e)?1:0}function d(e,t,n){if(!t||l(t)||0===n)return n;t instanceof Text&&u(t)>0&&u(t)>n&&t.splitText(n);const r=t.nextSibling;return e.appendChild(t),d(e,r,n-u(t))}}function Vg(e,t,n){return Se("sup",{className:`e-annotation__index e-annotation__index--${t}`,"data-content":n.length>Fg?`${e})`:n,"data-message":n})}const qg=t().memo((function({displayNumber:n,score:r,value:i,children:o}){const{t:a}=Mr(),s=(0,e.useRef)(null);return(0,e.useLayoutEffect)((()=>{var e,t,n,i;s.current&&Yg(s.current,null!==(t=null===(e=null==r?void 0:r.pregrading)||void 0===e?void 0:e.annotations)&&void 0!==t?t:[],null!==(i=null===(n=null==r?void 0:r.censoring)||void 0===n?void 0:n.annotations)&&void 0!==i?i:[])})),t().createElement(t().Fragment,null,n&&t().createElement("sup",null,n),t().createElement("span",{className:"text-answer text-answer--single-line"},t().createElement(ug,null,a("screen-reader.answer-begin")),t().createElement("span",{className:"e-inline-block",ref:s},i),t().createElement(ug,null,a("screen-reader.answer-end"))),o)})),Qg=t().memo((function({element:n}){const{answers:r}=(0,e.useContext)(Xs),{answersByQuestionId:i,scores:o}=(0,e.useContext)(Eg),a=Ae(n,"question-id"),s=Ae(n,"max-score"),l=i[a],c=l&&l.value,u=mh(n.getAttribute("display-number")),d=kg(o,a),f=null==d?void 0:d.autograding;return t().createElement(qg,{answers:r,displayNumber:u,value:c,score:d},t().createElement(Lg,{score:null==f?void 0:f.score,maxScore:s,displayNumber:r.length>1?u:void 0}))}));function Jg({maxScore:e}){const{t:n}=Mr();return t().createElement(t().Fragment,null,t().createElement("span",{className:"e-result-scorecount-empty"}),e&&` / ${e} `,n("points",{count:""}))}function Xg({shortCode:e}){return t().createElement("div",{className:"e-color-darkgrey e-columns e-columns--center-v"},t().createElement("span",{className:"e-font-size-xxxl e-light e-mrg-r-1"},"×"),t().createElement("span",null,e))}function Kg({score:e,shortCode:n,type:r,maxScore:i,latest:o}){const{t:a}=Mr();return t().createElement("div",{className:o?"e-color-black":"e-color-darkgrey e-font-size-xs"},t().createElement($g,{className:ni()("e-nowrap",{"e-font-size-m":o})},o?t().createElement("b",null,e):e,o&&i?` / ${i}`:""," p."),t().createElement($g,{className:"e-result-scorecount-shortcode"},n),t().createElement($g,{className:"e-mrg-r-0"},a(r)))}function $g({className:e,children:n}){return t().createElement("span",{className:ni()("e-mrg-r-1 e-nowrap",e)},n)}function em({score:e}){return void 0!==e?{score:e,shortCode:"",type:"grading.pregrading-abbrev"}:null}function tm(e){return e.scores.map(((t,n)=>({score:t.score,shortCode:t.shortCode||"",type:"grading.round."+(e.scores.length-n)})))}const nm=t().memo((function({scores:n,maxScore:r,displayNumber:i,multilineAnswer:o}){var a,s,l,c,u;const{answers:d}=(0,e.useContext)(Xs),f={answers:d,displayNumber:i,multilineAnswer:o},p=null===(s=null===(a=null==n?void 0:n.censoring)||void 0===a?void 0:a.nonAnswerDetails)||void 0===s?void 0:s.shortCode;return t().createElement(Dg,{...f},null!=(null===(l=null==n?void 0:n.pregrading)||void 0===l?void 0:l.score)||(null===(u=null===(c=null==n?void 0:n.censoring)||void 0===c?void 0:c.scores)||void 0===u?void 0:u.length)?t().createElement(t().Fragment,null,function(e,n){var r;return[e.inspection&&(r=e.inspection,{score:r.score,shortCode:r.shortCodes?r.shortCodes.join(", "):"",type:"grading.inspection-grading-abbrev"}),...e.censoring?tm(e.censoring):[],e.pregrading&&em(e.pregrading)].filter(Boolean).map(((e,r)=>t().createElement(Kg,{key:r,...e,latest:0===r,maxScore:n})))}(n,r),p&&t().createElement(Xg,{shortCode:p})):t().createElement(Jg,{maxScore:r}))})),rm=({type:n,score:r,value:i})=>{const{t:o}=Mr(),a=(0,e.useRef)(null);return(0,e.useLayoutEffect)((()=>{var e,t,n,i;a.current&&Yg(a.current,null!==(t=null===(e=null==r?void 0:r.pregrading)||void 0===e?void 0:e.annotations)&&void 0!==t?t:[],null!==(i=null===(n=null==r?void 0:r.censoring)||void 0===n?void 0:n.annotations)&&void 0!==i?i:[])})),t().createElement("div",{className:"e-multiline-results-text-answer e-line-height-l e-pad-l-2 e-mrg-b-1"},t().createElement(ug,null,o("screen-reader.answer-begin")),"rich-text"===n?t().createElement("div",{dangerouslySetInnerHTML:{__html:i||""},ref:a}):t().createElement("div",{className:"e-pre-wrap",ref:a},i),t().createElement(ug,null,o("screen-reader.answer-end")))},im=t().memo((function({element:n}){var r;const{answers:i}=(0,e.useContext)(Xs),{answersByQuestionId:o,scores:a}=(0,e.useContext)(Eg),{t:s}=Mr(),l=Ae(n,"question-id"),c=Ae(n,"max-score"),u=o[l],d=u&&u.value,f=i.length>1?mh(n.getAttribute("display-number")):void 0,p=kg(a,l),h=null===(r=null==p?void 0:p.pregrading)||void 0===r?void 0:r.comment,g=n.getAttribute("type")||"single-line",m=Ae(n,"max-length");return"rich-text"===g?t().createElement(t().Fragment,null,null!=m&&t().createElement(sg,{maxLength:m}),t().createElement(nm,{multilineAnswer:!0,scores:p,maxScore:c}),t().createElement(rm,{type:g,value:d,score:p}),t().createElement(Th,{answer:u,element:n}),h&&t().createElement(t().Fragment,null,t().createElement("h5",null,s("comment")),t().createElement("p",{className:"e-italic"},h))):t().createElement(qg,{answers:i,score:p,displayNumber:f,value:d},t().createElement(nm,{scores:p,maxScore:c,displayNumber:f}))})),om=ke({attachment:Ss,"attachment-link":Qr("plain"),"attachment-links":Jr("plain"),"audio-group":Ss,"choice-answer":Rg,"dropdown-answer":Pg,formula:As,question:Zg,hints:Ss,image:Ig((({element:e})=>null!=Me(e,"choice-answer")))(Es),"question-instruction":lh,"question-title":Gg,section:Bg,"section-title":gh,"text-answer":im,"scored-text-answer":Qg,"scored-text-answers":Ss});function am(){const{gradingText:n,totalScore:r}=(0,e.useContext)(Eg),{t:i}=Mr();return t().createElement("div",{className:"e-column--narrow"},t().createElement("table",{className:"e-table e-table--borderless e-mrg-b-0"},t().createElement("tbody",null,t().createElement("tr",null,t().createElement("th",{className:"e-pad-y-0 e-normal"},i("grading-total")),t().createElement("td",{className:"e-pad-y-0 e-semibold e-text-right"},i("points",{count:r}))),n&&t().createElement("tr",null,t().createElement("th",{className:"e-pad-y-0 e-normal"},i("grade")),t().createElement("td",{className:"e-pad-y-0 e-semibold e-text-right"},n)))))}const sm=t().memo(Sg(qr((({doc:n})=>{const{date:r,dateTimeFormatter:i,dayCode:o,examCode:a,language:s,resolveAttachment:l,root:c,subjectLanguage:u}=(0,e.useContext)(Vr),{answersByQuestionId:d}=(0,e.useContext)(Eg),f=we(c,"exam-title"),p=c.getAttribute("exam-stylesheet"),h=Br((()=>xr(s,a,o)));return(0,e.useEffect)(wr(h,s)),(0,e.useEffect)(Gr,[]),t().createElement(y,{i18n:h},t().createElement("main",{className:"e-exam",lang:u},t().createElement(t().StrictMode,null),p&&t().createElement("link",{rel:"stylesheet",href:l(p)}),t().createElement("div",{className:"e-columns e-columns--bottom-v e-mrg-b-4"},f&&t().createElement(rl,{id:"title",className:"e-column e-mrg-b-0"},om(f),r&&`, ${i.format(r)}`),t().createElement(am,null)),t().createElement(th,{validationErrors:jd(fl(n),d),inExam:!1}),om(c)))})))),lm=function(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1};var cm=Math.max;const um=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:Fs(n);return i<0&&(i=cm(r+i,0)),lm(e,cc(t),i)};var dm=Math.max,fm=Math.min;const pm=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return void 0!==n&&(i=Fs(n),i=n<0?dm(r+i,0):fm(i,r-1)),lm(e,cc(t),i,!0)},hm=function(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:mf(e,t,n)},gm=function(e){return e!=e},mm=function(e,t,n){return t==t?function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}(e,t,n):lm(e,gm,n)};var ym=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var vm="\\ud800-\\udfff",bm="["+vm+"]",Im="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",xm="\\ud83c[\\udffb-\\udfff]",Mm="[^"+vm+"]",wm="(?:\\ud83c[\\udde6-\\uddff]){2}",Tm="[\\ud800-\\udbff][\\udc00-\\udfff]",Am="(?:"+Im+"|"+xm+")?",Cm="[\\ufe0e\\ufe0f]?",Nm=Cm+Am+"(?:\\u200d(?:"+[Mm,wm,Tm].join("|")+")"+Cm+Am+")*",Em="(?:"+[Mm+Im+"?",Im,wm,Tm,bm].join("|")+")",Sm=RegExp(xm+"(?="+xm+")|"+Em+Nm,"g");const jm=function(e){return function(e){return ym.test(e)}(e)?function(e){return e.match(Sm)||[]}(e):function(e){return e.split("")}(e)};var km=/^\s+/;const Dm=function(e,t,n){if((e=Zn(e))&&(n||void 0===t))return e.replace(km,"");if(!e||!(t=_n(t)))return e;var r=jm(e),i=function(e,t){for(var n=-1,r=e.length;++n<r&&mm(t,e[n],0)>-1;);return n}(r,jm(t));return hm(r,i).join("")},Lm=function(e,t,n){if((e=Zn(e))&&(n||void 0===t))return e.slice(0,Ps(e)+1);if(!e||!(t=_n(t)))return e;var r=jm(e),i=function(e,t){for(var n=e.length;n--&&mm(t,e[n],0)>-1;);return n}(r,jm(t))+1;return hm(r,0,i).join("")};function Om(e,t=!1){const n=(new DOMParser).parseFromString(e,"application/xml");return t||xe(n.documentElement,["choice-answer","dropdown-answer"]).filter((e=>"fixed"!==Te(e,"ordering"))).forEach(Rm),xe(n.documentElement,"reference").forEach((e=>{xe(e,(()=>!0),!1).forEach(Pm)})),n}function Rm(e){for(let t=e.children.length;t>0;t--){const n=Math.floor(Math.random()*t);e.appendChild(e.children[n])}const t=we(e,(e=>"no-answer"===Te(e,"type")));t&&e.appendChild(t)}function Pm(e){const t=e=>/\S/.test(e.textContent),n=(()=>{const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_TEXT);for(;n.nextNode();)t.push(n.currentNode);return t})(),r=um(n,t),i=pm(n,t);-1!==r&&(n.slice(0,r).forEach((e=>e.remove())),n[r].textContent=Dm(n[r].textContent)),-1!==i&&(n.slice(i+1).forEach((e=>e.remove())),n[i].textContent=Lm(n[i].textContent))}})(),o})()));
|