@digabi/exam-engine-core 20.3.2-annoteta-react.0 → 20.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. package/dist/__tests__/annotations.test.js +12 -1
  2. package/dist/__tests__/annotations.test.js.map +1 -1
  3. package/dist/__tests__/tsconfig.tsbuildinfo +1 -1
  4. package/dist/components/attachments/QuestionTitle.d.ts.map +1 -1
  5. package/dist/components/attachments/QuestionTitle.js +6 -4
  6. package/dist/components/attachments/QuestionTitle.js.map +1 -1
  7. package/dist/components/context/AnnotationContext.d.ts +4 -5
  8. package/dist/components/context/AnnotationContext.d.ts.map +1 -1
  9. package/dist/components/context/AnnotationContext.js.map +1 -1
  10. package/dist/components/context/AnnotationProvider.d.ts +4 -7
  11. package/dist/components/context/AnnotationProvider.d.ts.map +1 -1
  12. package/dist/components/context/AnnotationProvider.js.map +1 -1
  13. package/dist/components/exam/Exam.d.ts +3 -3
  14. package/dist/components/exam/Exam.d.ts.map +1 -1
  15. package/dist/components/exam/Exam.js.map +1 -1
  16. package/dist/components/grading/editAnnotations.d.ts.map +1 -1
  17. package/dist/components/grading/editAnnotations.js +0 -1
  18. package/dist/components/grading/editAnnotations.js.map +1 -1
  19. package/dist/components/grading/examAnnotationUtils.d.ts.map +1 -1
  20. package/dist/components/grading/examAnnotationUtils.js +1 -6
  21. package/dist/components/grading/examAnnotationUtils.js.map +1 -1
  22. package/dist/components/shared/AnnotatableText.d.ts +7 -0
  23. package/dist/components/shared/AnnotatableText.d.ts.map +1 -0
  24. package/dist/components/shared/AnnotatableText.js +63 -0
  25. package/dist/components/shared/AnnotatableText.js.map +1 -0
  26. package/dist/components/shared/AnnotationPopup.d.ts.map +1 -1
  27. package/dist/components/shared/AnnotationPopup.js +16 -3
  28. package/dist/components/shared/AnnotationPopup.js.map +1 -1
  29. package/dist/createRenderChildNodes.d.ts.map +1 -1
  30. package/dist/createRenderChildNodes.js +6 -73
  31. package/dist/createRenderChildNodes.js.map +1 -1
  32. package/dist/dom-utils.d.ts +1 -0
  33. package/dist/dom-utils.d.ts.map +1 -1
  34. package/dist/dom-utils.js +16 -0
  35. package/dist/dom-utils.js.map +1 -1
  36. package/dist/main-bundle.js +1 -1
  37. package/dist/main.css +1 -1
  38. package/dist/types/Score.d.ts +4 -2
  39. package/dist/types/Score.d.ts.map +1 -1
  40. package/package.json +2 -2
@@ -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")):"function"==typeof define?define(["react"],t):"object"==typeof exports?exports.ExamBundle=t(require("react")):e.ExamBundle=t(e.React)}(this,(e=>(()=>{var t,n,r={5968:(e,t,n)=>{!function(){var t=n(4651),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),m=-1;function g(e){p("a direction was passed",e===m||1===e)}var y=h(t,(function(e){e.insDirOf=function(e,t){return e===m?this.insertBefore(t.first()):this.insertAfter(t.last())},e.insAtDirEnd=function(e,t){return e===m?this.prependTo(t):this.appendTo(t)}})),v=h((function(e){e.parent=0,e[m]=0,e[1]=0,e.init=function(e,t,n){this.parent=e,this[m]=t,this[1]=n},this.copy=function(e){return v(e.parent,e[m],e[1])}})),b=h((function(e){e[m]=0,e[1]=0,e.parent=0;var t=0;this.byId={},e.init=function(){this.id=t+=1,b.byId[this.id]=this,this.ends={},this.ends[m]=0,this.ends[1]=0},e.dispose=function(){delete b.byId[this.id]},e.toString=function(){return"{{ MathQuill Node #"+this.id+" }}"},e.jQ=y(),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&&b.byId[n].jQadd(e),r&&b.byId[r].jQadd(e)}for(e=e.firstChild;e;e=e.nextSibling)t(e)}e=y(e||this.html());for(var n=0;n<e.length;n+=1)t(e[n]);return e},e.createDir=function(e,t){g(e);var n=this;return n.jQize(),n.jQ.insDirOf(e,t.jQ),t[e]=n.adopt(t.parent,t[m],t[1]),n},e.createLeftOf=function(e){return this.createDir(m,e)},e.selectChildren=function(e,t){return M(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[m]&&0===this.ends[1]},e.isStyleBlock=function(){return!1},e.children=function(){return x(this.ends[m],this.ends[1])},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 x(this,this).withDirAdopt(e,t,n,r),this},e.adopt=function(e,t,n){return x(this,this).adopt(e,t,n),this},e.disown=function(){return x(this,this).disown(),this},e.remove=function(){return this.jQ.remove(),this.postOrder("dispose"),this.disown()}}));function I(e,t,n){p("a parent is always present",e),p("leftward is properly set up",t?t[1]===n&&t.parent===e:e.ends[m]===n),p("rightward is properly set up",n?n[m]===t&&n.parent===e:e.ends[1]===t)}var x=h((function(e){e.init=function(e,t,n){if(void 0===n&&(n=m),g(n),p("no half-empty fragments",!e==!t),this.ends={},e){p("withDir is passed to Fragment",e instanceof b),p("oppDir is passed to Fragment",t instanceof b),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=y(),e.withDirAdopt=function(e,t,n,r){return e===m?this.adopt(t,n,r):this.adopt(t,r,n)},e.adopt=function(e,t,n){I(e,t,n);var r=this;r.disowned=!1;var i=r.ends[m];if(!i)return this;var o=r.ends[1];return t||(e.ends[m]=i),n?n[m]=o:e.ends[1]=o,r.ends[1][1]=n,r.each((function(n){n[m]=t,n.parent=e,t&&(t[1]=n),t=n})),r},e.disown=function(){var e=this,t=e.ends[m];if(!t||e.disowned)return e;e.disowned=!0;var n=e.ends[1],r=t.parent;return I(r,t[m],t),I(r,n,n[1]),t[m]?t[m][1]=n[1]:r.ends[m]=n[1],n[1]?n[1][m]=t[m]:r.ends[1]=t[m],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[m];if(!n)return t;for(;n!==t.ends[1][1]&&!1!==e(n);n=n[1]);return t})),e.fold=function(e,t){return this.each((function(n){e=t.call(this,e,n)})),e}})),w={},A={},T=h(v,(function(e){e.init=function(e,t){this.parent=e,this.options=t;var n=this.jQ=this._jQ=y('<span class="mq-cursor">&#8203;</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[1]?this.selection&&this.selection.ends[m][m]===this[m]?this.jQ.insertBefore(this.selection.jQ):this.jQ.insertBefore(this[1].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=y(),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 g(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(m,e)},e.insRightOf=function(e){return this.insDirOf(1,e)},e.insAtDirEnd=function(e,t){return g(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(m,e)},e.insAtRightEnd=function(e){return this.insAtDirEnd(1,e)},e.jumpUpDown=function(e,t){var n=this;n.upDownCache[e.id]=v.copy(n);var r=n.upDownCache[t.id];if(r)r[1]?n.insLeftOf(r[1]):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[1],r=e[m];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[1])})),!this[1])if(this[m])this[1]=this[m][1];else for(;!this[1];){if(this.parent=this.parent[1],!this.parent){this[1]=e[1],this.parent=t;break}this[1]=this.parent.ends[m]}this[1]?this.insLeftOf(this[1]):this.insAtRightEnd(t),e.jQ.remove(),e[m].siblingDeleted&&e[m].siblingDeleted(this.options,1),e[1].siblingDeleted&&e[1].siblingDeleted(this.options,m)},e.startSelection=function(){for(var e=this.anticursor=v.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[m]===e[m]&&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=1;if(t[m]!==o)for(var s=t;s;s=s[1])if(s[1]===o[1]){a=m,r=t,i=o;break}return 1===a&&(r=o,i=t),r instanceof v&&(r=r[1]),i instanceof v&&(i=i[m]),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[m]=this.selection.ends[m][m],this[1]=this.selection.ends[1][1],this.selection.remove(),this.selectionChanged(),delete this.selection)},e.replaceSelection=function(){var e=this.selection;return e&&(this[m]=e.ends[m][m],this[1]=e.ends[1][1],delete this.selection),e},e.depth=function(){for(var e=this,t=0;e=e.parent;)t+=e instanceof W?1:0;return t},e.isTooDeep=function(e){if(void 0!==this.options.maxDepth)return this.depth()+(e||0)>this.options.maxDepth}})),M=h(x,(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]()}))}})),C=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=T(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===m||1===t?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}})),N={},E=h(),S={},k=h(),j={};function D(){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 L(e){return D(),_e(e)}L.prototype=k.p,L.VERSION="v0.10.11",L.interfaceVersion=function(e){if(1!==e)throw"Only interface version 1 supported. You specified: "+e;return(D=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')})(),L},L.getInterface=P;var O=P.MIN=1,R=P.MAX=2;function P(e){if(!(O<=e&&e<=R))throw"Only interface versions between "+O+" and "+R+" supported. You specified: "+e;function n(e){if(!e||!e.nodeType)return null;var t=y(e).children(".mq-root-block").attr(i),n=t&&b.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=S[n];e[n]=o?o(i):i}}n.L=m,n.R=1,n.saneKeyboardEvents=Z,n.config=function(e){return o(E.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";j[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=y('<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[m]=e.ends[1]=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[m];)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(m)},e.moveToRightEnd=function(){return this.moveToDirEnd(1)},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-y(window).scrollLeft(),i=t-y(window).scrollTop(),o=document.elementFromPoint(r,i);this.__controller.seek(y(o),e,t),Be().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(y(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,N)!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=C(o.RootBlock(),y(r),E());return s.KIND_OF_MQ=t,o(s).__mathquillify(i,e)},n[t].prototype=o.prototype}(l,N[l]);return n}L.noConflict=function(){return window.MathQuill=z,L};var z=window.MathQuill;function U(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=L;var B,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)})))})),Z=(B={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=B[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 m(){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(m))}}),{select:function(e){c(),c=s,clearTimeout(r),a.val(e),e&&a[0].select&&a[0].select(),f=!!e}}});C.open((function(e,t){e.exportText=function(){return this.root.foldChildren("",(function(e,t){return e+t.text()}))}})),C.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"),y(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()})),y(window).bind("blur",i)})),t.blurred=!0,r.hide().parent.blur()},e.unbindFocusBlurEvents=function(){this.textarea.unbind("focus blur")}})),C.open((function(e){e.keystroke=function(e,t){this.cursor.parent.keystroke(e,t,this)}})),b.open((function(e){e.keystroke=function(e,t,n){var r=n.cursor;switch(e){case"Ctrl-Shift-Backspace":case"Ctrl-Backspace":n.ctrlDeleteDir(m);break;case"Shift-Backspace":case"Backspace":n.backspace();break;case"Esc":case"Tab":return void n.escapeDir(1,e,t);case"Shift-Tab":case"Shift-Esc":return void n.escapeDir(m,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[1];)n.selectRight();break;case"Ctrl-Shift-End":for(;r[1]||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[m];)n.selectLeft();break;case"Ctrl-Shift-Home":for(;r[m]||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[m])for(;r[m];)n.selectLeft();else n.selectLeft();case"Shift-Down":if(r[1])for(;r[1];)n.selectRight();else n.selectRight();case"Ctrl-Up":case"Ctrl-Down":break;case"Ctrl-Shift-Del":case"Ctrl-Del":n.ctrlDeleteDir(1);break;case"Shift-Del":case"Del":n.deleteForward();break;case"Meta-A":case"Ctrl-A":for(n.notify("move").cursor.insAtRightEnd(n.root);r[m];)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")}})),C.open((function(e){function t(e,t){var n=e.notify("upDown").cursor,r=t+"Into",i=t+"OutOf";return n[1][r]?n.insAtLeftEnd(n[1][r]):n[m][r]?n.insAtRightEnd(n[m][r]):n.parent.bubble((function(e){var t=e[i];if(t&&("function"==typeof t&&(t=e[i](n)),t instanceof b&&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){g(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")},S.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){g(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(m)},e.moveRight=function(){return this.moveDir(1)},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){g(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[m].siblingDeleted&&t[m].siblingDeleted(t.options,1),t[1].siblingDeleted&&t[1].siblingDeleted(t.options,m),t.parent.bubble("reflow"),this},e.ctrlDeleteDir=function(e){g(e);var t=this.cursor;return!t[e]||t.selection?this.deleteDir(e):(this.notify("edit"),e===m?x(t.parent.ends[m],t[m]).remove():x(t[1],t.parent.ends[1]).remove(),t.insAtDirEnd(e,t.parent),t[m].siblingDeleted&&t[m].siblingDeleted(t.options,1),t[1].siblingDeleted&&t[1].siblingDeleted(t.options,m),t.parent.bubble("reflow"),this)},e.backspace=function(){return this.deleteDir(m)},e.deleteForward=function(){return this.deleteDir(1)},this.onNotify((function(e){"select"!==e&&this.endSelection()})),e.selectDir=function(e){var t=this.notify("select").cursor,n=t.selection;g(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(m)},e.selectRight=function(){return this.selectDir(1)}}));var F=function(){function e(e){for(var t=e[0]||W(),n=1;n<e.length;n+=1)e[n].children().adopt(t,t.ends[1],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 re(e)})),c=n(/^[^${}\\_^]/).map((function(e){return q(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=W();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("]")),m=p;return m.block=f,m.optBlock=h,m}();C.open((function(e,t){e.exportLatex=function(){return this.root.latex().replace(/(\\[a-z]+) (?![a-z])/gi,"$1")},S.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[m]=t.ends[1]=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[m]=t.ends[1]=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=$(n);t.createBlocks();var r=t.ends[m];return e.children().adopt(r,0,0),t})),l=i("\\$").result("$").or(r(/^[^$]/)).map(q),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[1],0);t.jQize().appendTo(t.jQ),t.finalizeInsert(n.options)}}})),C.open((function(e){E.p.ignoreNextMousedown=s,e.delegateMouseEvents=function(){var e=this.root.jQ;this.container.bind("mousedown.mathquill",(function(t){var n,r=y(t.target).closest(".mq-root-block"),o=b.byId[r.attr(i)||e.attr(i)].controller,a=o.cursor,l=a.blink,c=o.textareaSpan,u=o.textarea;function d(e){n=y(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(y(t.target),t.pageX,t.pageY).cursor.startSelection(),r.mousemove(d),y(t.target.ownerDocument).mousemove(f).mouseup((function e(t){a.blink=l,a.selection||(o.editable?a.show():c.detach()),r.unbind("mousemove",d),y(t.target.ownerDocument).unbind("mousemove",f).unbind("mouseup",e)})))}))}})),C.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?b.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}})),C.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[m]===e[1])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)}})),C.open((function(e){E.p.substituteTextarea=function(){return y("<textarea autocapitalize=off autocomplete=off autocorrect=off spellcheck=false x-palm-disable-ste-all=true />")[0]},e.createTextarea=function(){var e=this.textareaSpan=y('<span class="mq-textarea"></span>'),t=this.options.substituteTextarea();if(!t.nodeType)throw"substituteTextarea() must return a DOM element, got "+t;t=this.textarea=y(t).appendTo(e);var n=this;n.cursor.selectionChanged=function(){n.selectionChanged()}},e.selectionChanged=function(){var e=this;ve(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()}},E.p.substituteKeyboardEvents=Z,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 H=h(b,(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[1].siblingCreated&&n[1].siblingCreated(e,m),n[m].siblingCreated&&n[m].siblingCreated(e,1),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 W?1:0;(n=t[1]+o)<=e?r.push([i,n]):(o?i.children():i).remove()}))}})),_=h(H,(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[1],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[m],0,0),r.jQ.appendTo(n.ends[m].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]=W()).adopt(e,e.ends[1],0)},e.placeCursor=function(e){e.insAtRightEnd(this.foldChildren(this.ends[m],(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 M(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[m]=e.jQ.offset().left,t[1]=t[m]+e.jQ.outerWidth(),t}var r=this,i=n(r);if(e<i[m])return t.insLeftOf(r);if(e>i[1])return t.insRightOf(r);var o=i[m];r.eachChild((function(a){var s=n(a);return e<s[m]?(e-o<s[m]-e?a[m]?t.insAtRightEnd(a[m]):t.insLeftOf(r):t.insAtLeftEnd(a),!1):e>s[1]?void(a[1]?o=s[1]:i[1]-e<e-s[1]?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]||"")}))}})),Y=h(_,(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}})),q=h(Y,(function(e,t){e.init=function(e,n){t.init.call(this,e,"<span>"+(n||e)+"</span>")}})),V=h(Y,(function(e,t){e.init=function(e,n,r){t.init.call(this,e,'<span class="mq-binary-operator">'+n+"</span>",r)}})),W=h(H,(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[m]===this.ends[1]&&0!==this.ends[m]?this.ends[m].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?m:1,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[1];if(!n||n.jQ.offset().left+n.jQ.outerWidth()<e)return t.insAtRightEnd(this);if(e<this.ends[m].jQ.offset().left)return t.insAtLeftEnd(this);for(;e<n.jQ.offset().left;)n=n[m];return n.seek(e,t)},e.chToCmd=function(e,t){var n;return e.match(/^[a-eg-zA-Z]$/)?re(e):/^\d$/.test(e)?te(e):t&&t.typingSlashWritesDivisionSymbol&&"/"===e?w["÷"](e):t&&t.typingAsteriskWritesTimesSymbol&&"*"===e?w["×"](e):(n=A[e]||w[e])?n(e):q(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[m],e[1]),i.jQize().insertBefore(e.jQ),e[m]=i.ends[1],i.finalizeInsert(e.options,e),i.ends[1][1].siblingCreated&&i.ends[1][1].siblingCreated(e.options,m),i.ends[m][m].siblingCreated&&i.ends[m][m].siblingCreated(e.options,1),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}}));E.p.mouseEvents=!0,N.StaticMath=function(e){return h(e.AbstractMathQuill,(function(t,n){this.RootBlock=W,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 Q=h(W,U);N.MathField=function(e){return h(e.EditableField,(function(e,t){this.RootBlock=Q,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}}))},N.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 J=h(b,(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=X(t.data);return n.jQadd(t),e.children().disown(),n.adopt(e,0,0)}}e.ctrlSeq="\\text",e.replaces=function(e){e instanceof x?this.replacedText=e.remove().jQ.text():"string"==typeof e&&(this.replacedText=e)},e.jQadd=function(e){t.jQadd.call(this,e),this.ends[m]&&this.ends[m].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[1].siblingCreated&&n[1].siblingCreated(e.options,m),n[m].siblingCreated&&n[m].siblingCreated(e.options,1),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?x():(X(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=_.prototype.selectTowards,e.deleteTowards=_.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[m]?e[m].appendText(n):X(n).createLeftOf(e);else if(this.isEmpty())e.insRightOf(this),q("\\$","$").createLeftOf(e);else if(e[1])if(e[m]){var r=J(),i=this.ends[m];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[m]?e[m].appendText(t):X(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?m:1,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[m]&&t[m].text.length;if(this.anticursorPosition===c)t.anticursor=v.copy(t);else{if(this.anticursorPosition<c){var u=t[m].splitRight(this.anticursorPosition);t[m]=u}else u=t[1].splitRight(this.anticursorPosition-c);t.anticursor=v(this,u[m],u)}}}else this.anticursorPosition=t[m]&&t[m].text.length},e.blur=function(e){W.prototype.blur.call(this),e&&(""===this.textContents()?(this.remove(),e[m]===this?e[m]=this[m]:e[1]===this&&(e[1]=this[1])):n(this))},e.focus=W.prototype.focus})),X=h(b,(function(e,t){function n(e,t){return t.charAt(e===m?0:-1+t.length)}e.init=function(e){t.init.call(this),this.text=e},e.jQadd=function(e){this.dom=e,this.jQ=y(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){g(t),1===t?this.appendText(e):this.prependText(e)},e.splitRight=function(e){var t=X(this.text.slice(e)).adopt(this.parent,this,this[1]);return t.jQadd(this.dom.splitText(e)),this.text=this.text.slice(0,e),t},e.moveTowards=function(e,t){g(e);var r=n(-e,this.text),i=this[-e];return i?i.insTextAtDirEnd(r,e):X(r).createDir(-e,t),this.deleteTowards(e,t)},e.latex=function(){return this.text},e.deleteTowards=function(e,t){this.text.length>1?1===e?(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){g(e);var r=t.anticursor,i=n(-e,this.text);if(r[e]===this){var o=X(i).createDir(e,t);r[e]=o,t.insDirOf(e,o)}else{var a=this[-e];a?a.insTextAtDirEnd(i,e):(o=X(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 K(e,t,n){return h(J,{ctrlSeq:e,htmlTemplate:"<"+t+" "+n+">&0</"+t+">"})}w.text=w.textnormal=w.textrm=w.textup=w.textmd=J,w.em=w.italic=w.italics=w.emph=w.textit=w.textsl=K("\\textit","i",'class="mq-text-mode"'),w.strong=w.bold=w.textbf=K("\\textbf","b",'class="mq-text-mode"'),w.sf=w.textsf=K("\\textsf","span",'class="mq-sans-serif mq-text-mode"'),w.tt=w.texttt=K("\\texttt","span",'class="mq-monospace mq-text-mode"'),w.textsc=K("\\textsc","span",'style="font-variant:small-caps" class="mq-text-mode"'),w.uppercase=K("\\uppercase","span",'style="text-transform:uppercase" class="mq-text-mode"'),w.lowercase=K("\\lowercase","span",'style="text-transform:lowercase" class="mq-text-mode"');var $=h(_,(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[m].cursor=this.cursor,this.ends[m].write=function(e,t){"$"!==t?W.prototype.write.call(this,e,t):this.isEmpty()?(e.insRightOf(this.parent),this.parent.deleteTowards(dir,e),q("\\$","$").createLeftOf(e.show())):e[1]?e[m]?W.prototype.write.call(this,e,t):e.insLeftOf(this.parent):e.insRightOf(this.parent)}},e.latex=function(){return"$"+this.ends[m].latex()+"$"}})),ee=h(Q,(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?$(e).createLeftOf(e):("<"===t?n="&lt;":">"===t&&(n="&gt;"),q(t,n).createLeftOf(e))}}));N.TextField=function(e){return h(e.EditableField,(function(e,t){this.RootBlock=ee,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 te=h(q,(function(e,t){e.createLeftOf=function(e){e.options.autoSubscriptNumerals&&e.parent!==e.parent.parent.sub&&(e[m]instanceof ne&&!1!==e[m].isItalic||e[m]instanceof Ce&&e[m][m]instanceof ne&&!1!==e[m][m].isItalic)?(w._().createLeftOf(e),t.createLeftOf.call(this,e),e.insRightOf(e.parent.parent)):t.createLeftOf.call(this,e)}})),ne=h(Y,(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[m]||this[m]instanceof ne||this[m]instanceof V||"\\ "===this[m].ctrlSeq||(e="*"+e),!this[1]||this[1]instanceof V||this[1]instanceof Ce||(e+="*")),e}}));E.p.autoCommands={_maxLength:0},S.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]===se)throw'"'+o+'" is a built-in operator name';n[o]=1,r=a(r,o.length)}return n._maxLength=r,n};var re=h(ne,(function(e,t){function n(e){return!e||e instanceof V||e instanceof Ee}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 re&&o.ctrlSeq===o.letter&&a<r;)i=o.letter+i,o=o[m],a+=1;for(;i.length;){if(n.hasOwnProperty(i)){for(a=1,o=this;a<i.length;a+=1,o=o[m]);return x(o,this).remove(),e[m]=o[m],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!==m&&this[1]instanceof re||this.autoUnItalicize(e)},e.autoUnItalicize=function(e){var t=e.autoOperatorNames;if(0!==t._maxLength){for(var r=this.letter,i=this[m];i instanceof re;i=i[m])r=i.letter+r;for(var a=this[1];a instanceof re;a=a[1])r+=a.letter;x(i[1]||this.parent.ends[m],a[m]||this.parent.ends[1]).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[1]||this.parent.ends[m];s<r.length;s+=1,l=l[1])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[1]){f.italicize(!1);var p=f}var h=ie.hasOwnProperty(u);if(l.ctrlSeq=(h?"\\":"\\operatorname{")+l.ctrlSeq,p.ctrlSeq+=h?" ":"}",ae.hasOwnProperty(u)&&p[m][m][m].jQ.addClass("mq-last"),n(l[m])||l.jQ.addClass("mq-first"),!n(p[1]))if(p[1]instanceof Ce){var g=p[1];(g.siblingCreated=g.siblingDeleted=function(){g.jQ.toggleClass("mq-after-operator-name",!(g[1]instanceof Re))})()}else p.jQ.toggleClass("mq-last",!(p[1]instanceof Re));s+=c-1,l=p;continue e}}}}})),ie={},oe=E.p.autoOperatorNames={_maxLength:9},ae={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)ie[e[t]]=oe[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)ie[n[t]]=1;var r="sin cos tan sec cosec csc cotan cot ctg".split(" ");for(t=0;t<r.length;t+=1)oe[r[t]]=oe["arc"+r[t]]=oe[r[t]+"h"]=oe["ar"+r[t]+"h"]=oe["arc"+r[t]+"h"]=1;var i="gcf hcf lcm proj span".split(" ");for(t=0;t<i.length;t+=1)oe[i[t]]=1}(),S.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 se=h(Y,(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)re(t.charAt(n)).createLeftOf(e)},e.parser=function(){for(var e=this.ctrlSeq,t=W(),n=0;n<e.length;n+=1)re(e.charAt(n)).adopt(t,t.ends[1],0);return G.succeed(t.children())}}));for(var le in oe)oe.hasOwnProperty(le)&&(w[le]=se);w.operatorname=h(_,(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(re,(function(e,t){e.init=function(){Y.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(q,"\\ ","&nbsp;"),w[","]=f(q,"{,}",","),w["'"]=w.prime=f(q,"'","&prime;"),w["″"]=w.dprime=f(q,"″","&Prime;"),w.backslash=f(q,"\\backslash ","\\"),A["\\"]||(A["\\"]=w.backslash),w.$=f(q,"\\$","$");var ce=h(Y,(function(e,t){e.init=function(e,n){t.init.call(this,e,'<span class="mq-nonSymbola">'+(n||e)+"</span>")}}));w["@"]=ce,w["#"]=f(ce,"\\#","#"),w["&"]=f(ce,"\\&","&amp;"),w["%"]=f(ce,"\\%","%"),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(ne,(function(e,t){e.init=function(e){t.init.call(this,"\\"+e+" ","&"+e+";")}})),w.phi=f(ne,"\\phi ","&#981;"),w.phiv=w.varphi=f(ne,"\\varphi ","&phi;"),w.epsilon=f(ne,"\\epsilon ","&#1013;"),w.epsiv=w.varepsilon=f(ne,"\\varepsilon ","&epsilon;"),w.piv=w.varpi=f(ne,"\\varpi ","&piv;"),w.sigmaf=w.sigmav=w.varsigma=f(ne,"\\varsigma ","&sigmaf;"),w.thetav=w.vartheta=w.thetasym=f(ne,"\\vartheta ","&thetasym;"),w.upsilon=w.upsi=f(ne,"\\upsilon ","&upsilon;"),w.gammad=w.Gammad=w.digamma=f(ne,"\\digamma ","&#989;"),w.kappav=w.varkappa=f(ne,"\\varkappa ","&#1008;"),w.rhov=w.varrho=f(ne,"\\varrho ","&#1009;"),w.pi=w["π"]=f(ce,"\\pi ","&pi;"),w.lambda=f(ce,"\\lambda ","&lambda;"),w.Upsilon=w.Upsi=w.upsih=w.Upsih=f(Y,"\\Upsilon ",'<var style="font-family: serif">&upsih;</var>'),w.Gamma=w.Delta=w.Theta=w.Lambda=w.Xi=w.Pi=w.Sigma=w.Phi=w.Psi=w.Omega=w.forall=h(q,(function(e,t){e.init=function(e){t.init.call(this,"\\"+e+" ","&"+e+";")}}));var ue=h(_,(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[m],e[1]),e[m]=t.ends[1],t.jQize().insertBefore(e.jQ),t.finalizeInsert(e.options,e),t.ends[1][1].siblingCreated&&t.ends[1][1].siblingCreated(e.options,m),t.ends[m][m].siblingCreated&&t.ends[m][m].siblingCreated(e.options,1),e.parent.bubble("reflow")},e.parser=function(){var e=F.parse(this.latex).children();return G.succeed(e)}}));w["⁰"]=f(ue,"^0"),w["¹"]=f(ue,"^1"),w["²"]=f(ue,"^2"),w["³"]=f(ue,"^3"),w["⁴"]=f(ue,"^4"),w["⁵"]=f(ue,"^5"),w["⁶"]=f(ue,"^6"),w["⁷"]=f(ue,"^7"),w["⁸"]=f(ue,"^8"),w["⁹"]=f(ue,"^9"),w["₀"]=f(ue,"_0"),w["₁"]=f(ue,"_1"),w["₂"]=f(ue,"_2"),w["₃"]=f(ue,"_3"),w["₄"]=f(ue,"_4"),w["₅"]=f(ue,"_5"),w["₆"]=f(ue,"_6"),w["₇"]=f(ue,"_7"),w["₈"]=f(ue,"_8"),w["₉"]=f(ue,"_9"),w["¼"]=f(ue,"\\frac14"),w["½"]=f(ue,"\\frac12"),w["¾"]=f(ue,"\\frac34");var de=h(V,(function(e){e.init=q.prototype.init,e.contactWeld=e.siblingCreated=e.siblingDeleted=function(e,t){if(1!==t)return this.jQ[0].className=function e(t){return t[m]?t[m]instanceof V||/^[,;:\(\[]$/.test(t[m].ctrlSeq)?"":"mq-binary-operator":t.parent&&t.parent.parent&&t.parent.parent.isStyleBlock()?e(t.parent.parent):""}(this),this}}));w["+"]=f(de,"+","+"),w["–"]=w["-"]=f(de,"-","&minus;"),w["±"]=w.pm=w.plusmn=w.plusminus=f(de,"\\pm ","&plusmn;"),w.mp=w.mnplus=w.minusplus=f(de,"\\mp ","&#8723;"),A["*"]=w.sdot=w.cdot=f(V,"\\cdot ","&middot;","*");var fe=h(V,(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===m&&!this.strict)return this.swap(!0),void this.bubble("reflow");t.deleteTowards.apply(this,arguments)}})),pe={ctrlSeq:"\\le ",html:"&le;",text:"≤",ctrlSeqStrict:"<",htmlStrict:"&lt;",textStrict:"<"},he={ctrlSeq:"\\ge ",html:"&ge;",text:"≥",ctrlSeqStrict:">",htmlStrict:"&gt;",textStrict:">"};w["<"]=w.lt=f(fe,pe,!0),w[">"]=w.gt=f(fe,he,!0),w["≤"]=w.le=w.leq=f(fe,pe,!1),w["≥"]=w.ge=w.geq=f(fe,he,!1);var me=h(V,(function(e,t){e.init=function(){t.init.call(this,"=","=")},e.createLeftOf=function(e){if(e[m]instanceof fe&&e[m].strict)return e[m].swap(!1),void e[m].bubble("reflow");t.createLeftOf.apply(this,arguments)}}));w["="]=me,w["×"]=w.times=f(V,"\\times ","&times;","[x]"),w["÷"]=w.div=w.divide=w.divides=f(V,"\\div ","&divide;","[/]"),A["~"]=w.sim=f(V,"\\sim ","~","~"),w.notin=w.cong=w.equiv=w.oplus=w.otimes=h(V,(function(e,t){e.init=function(e){t.init.call(this,"\\"+e+" ","&"+e+";")}})),w["≠"]=w.ne=w.neq=f(V,"\\ne ","&ne;"),w["∗"]=w.ast=w.star=w.loast=w.lowast=f(V,"\\ast ","&lowast;"),w.therefor=w.therefore=f(V,"\\therefore ","&there4;"),w.cuz=w.because=f(V,"\\because ","&#8757;"),w.prop=w.propto=f(V,"\\propto ","&prop;"),w["≈"]=w.asymp=w.approx=f(V,"\\approx ","&asymp;"),w["≢"]=w.notequiv=w.nequiv=f(V,"\\not\\equiv ","&#8802;"),w.isin=w.in=f(V,"\\in ","&isin;"),w.ni=w.contains=f(V,"\\ni ","&ni;"),w.notni=w.niton=w.notcontains=w.doesnotcontain=f(V,"\\not\\ni ","&#8716;"),w.sub=w.subset=f(V,"\\subset ","&sub;"),w.sup=w.supset=w.superset=f(V,"\\supset ","&sup;"),w.nsub=w.notsub=w.nsubset=w.notsubset=f(V,"\\not\\subset ","&#8836;"),w.nsup=w.notsup=w.nsupset=w.notsupset=w.nsuperset=w.notsuperset=f(V,"\\not\\supset ","&#8837;"),w.sube=w.subeq=w.subsete=w.subseteq=f(V,"\\subseteq ","&sube;"),w.supe=w.supeq=w.supsete=w.supseteq=w.supersete=w.superseteq=f(V,"\\supseteq ","&supe;"),w.nsube=w.nsubeq=w.notsube=w.notsubeq=w.nsubsete=w.nsubseteq=w.notsubsete=w.notsubseteq=f(V,"\\not\\subseteq ","&#8840;"),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(V,"\\not\\supseteq ","&#8841;"),w.mathbb=h(_,(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(q,"\\mathbb{N}","&#8469;"),w.P=w.primes=w.Primes=w.projective=w.Projective=w.probability=w.Probability=f(q,"\\mathbb{P}","&#8473;"),w.Z=w.integers=w.Integers=f(q,"\\mathbb{Z}","&#8484;"),w.Q=w.rationals=w.Rationals=f(q,"\\mathbb{Q}","&#8474;"),w.R=w.reals=w.Reals=f(q,"\\mathbb{R}","&#8477;"),w.C=w.complex=w.Complex=w.complexes=w.Complexes=w.complexplane=w.Complexplane=w.ComplexPlane=f(q,"\\mathbb{C}","&#8450;"),w.H=w.Hamiltonian=w.quaternions=w.Quaternions=f(q,"\\mathbb{H}","&#8461;"),w.quad=w.emsp=f(q,"\\quad "," "),w.qquad=f(q,"\\qquad "," "),w.diamond=f(q,"\\diamond ","&#9671;"),w.bigtriangleup=f(q,"\\bigtriangleup ","&#9651;"),w.ominus=f(q,"\\ominus ","&#8854;"),w.uplus=f(q,"\\uplus ","&#8846;"),w.bigtriangledown=f(q,"\\bigtriangledown ","&#9661;"),w.sqcap=f(q,"\\sqcap ","&#8851;"),w.triangleleft=f(q,"\\triangleleft ","&#8882;"),w.sqcup=f(q,"\\sqcup ","&#8852;"),w.triangleright=f(q,"\\triangleright ","&#8883;"),w.odot=w.circledot=f(q,"\\odot ","&#8857;"),w.bigcirc=f(q,"\\bigcirc ","&#9711;"),w.dagger=f(q,"\\dagger ","&#0134;"),w.ddagger=f(q,"\\ddagger ","&#135;"),w.wr=f(q,"\\wr ","&#8768;"),w.amalg=f(q,"\\amalg ","&#8720;"),w.models=f(q,"\\models ","&#8872;"),w.prec=f(q,"\\prec ","&#8826;"),w.succ=f(q,"\\succ ","&#8827;"),w.preceq=f(q,"\\preceq ","&#8828;"),w.succeq=f(q,"\\succeq ","&#8829;"),w.simeq=f(q,"\\simeq ","&#8771;"),w.mid=f(q,"\\mid ","&#8739;"),w.nmid=f(q,"\\nmid","&#8740;"),w.ll=f(q,"\\ll ","&#8810;"),w.gg=f(q,"\\gg ","&#8811;"),w.parallel=f(q,"\\parallel ","&#8741;"),w.nparallel=f(q,"\\nparallel ","&#8742;"),w.bowtie=f(q,"\\bowtie ","&#8904;"),w.sqsubset=f(q,"\\sqsubset ","&#8847;"),w.sqsupset=f(q,"\\sqsupset ","&#8848;"),w.smile=f(q,"\\smile ","&#8995;"),w.sqsubseteq=f(q,"\\sqsubseteq ","&#8849;"),w.sqsupseteq=f(q,"\\sqsupseteq ","&#8850;"),w.doteq=f(q,"\\doteq ","&#8784;"),w.frown=f(q,"\\frown ","&#8994;"),w.vdash=f(q,"\\vdash ","&#8870;"),w.dashv=f(q,"\\dashv ","&#8867;"),w.nless=f(q,"\\nless ","&#8814;"),w.ngtr=f(q,"\\ngtr ","&#8815;"),w.longleftarrow=f(q,"\\longleftarrow ","&#8592;"),w.longrightarrow=f(q,"\\longrightarrow ","&#8594;"),w.Longleftarrow=f(q,"\\Longleftarrow ","&#8656;"),w.Longrightarrow=f(q,"\\Longrightarrow ","&#8658;"),w.longleftrightarrow=f(q,"\\longleftrightarrow ","&#8596;"),w.updownarrow=f(q,"\\updownarrow ","&#8597;"),w.Longleftrightarrow=f(q,"\\Longleftrightarrow ","&#8660;"),w.Updownarrow=f(q,"\\Updownarrow ","&#8661;"),w.mapsto=f(q,"\\mapsto ","&#8614;"),w.nearrow=f(q,"\\nearrow ","&#8599;"),w.hookleftarrow=f(q,"\\hookleftarrow ","&#8617;"),w.hookrightarrow=f(q,"\\hookrightarrow ","&#8618;"),w.searrow=f(q,"\\searrow ","&#8600;"),w.leftharpoonup=f(q,"\\leftharpoonup ","&#8636;"),w.rightharpoonup=f(q,"\\rightharpoonup ","&#8640;"),w.swarrow=f(q,"\\swarrow ","&#8601;"),w.leftharpoondown=f(q,"\\leftharpoondown ","&#8637;"),w.rightharpoondown=f(q,"\\rightharpoondown ","&#8641;"),w.nwarrow=f(q,"\\nwarrow ","&#8598;"),w.ldots=f(q,"\\ldots ","&#8230;"),w.cdots=f(q,"\\cdots ","&#8943;"),w.vdots=f(q,"\\vdots ","&#8942;"),w.ddots=f(q,"\\ddots ","&#8945;"),w.surd=f(q,"\\surd ","&#8730;"),w.triangle=f(q,"\\triangle ","&#9651;"),w.ell=f(q,"\\ell ","&#8467;"),w.top=f(q,"\\top ","&#8868;"),w.flat=f(q,"\\flat ","&#9837;"),w.natural=f(q,"\\natural ","&#9838;"),w.sharp=f(q,"\\sharp ","&#9839;"),w.wp=f(q,"\\wp ","&#8472;"),w.bot=f(q,"\\bot ","&#8869;"),w.clubsuit=f(q,"\\clubsuit ","&#9827;"),w.diamondsuit=f(q,"\\diamondsuit ","&#9826;"),w.heartsuit=f(q,"\\heartsuit ","&#9825;"),w.spadesuit=f(q,"\\spadesuit ","&#9824;"),w.parallelogram=f(q,"\\parallelogram ","&#9649;"),w.square=f(q,"\\square ","&#11036;"),w.oint=f(q,"\\oint ","&#8750;"),w.bigcap=f(q,"\\bigcap ","&#8745;"),w.bigcup=f(q,"\\bigcup ","&#8746;"),w.bigsqcup=f(q,"\\bigsqcup ","&#8852;"),w.bigvee=f(q,"\\bigvee ","&#8744;"),w.bigwedge=f(q,"\\bigwedge ","&#8743;"),w.bigodot=f(q,"\\bigodot ","&#8857;"),w.bigotimes=f(q,"\\bigotimes ","&#8855;"),w.bigoplus=f(q,"\\bigoplus ","&#8853;"),w.biguplus=f(q,"\\biguplus ","&#8846;"),w.lfloor=f(q,"\\lfloor ","&#8970;"),w.rfloor=f(q,"\\rfloor ","&#8971;"),w.lceil=f(q,"\\lceil ","&#8968;"),w.rceil=f(q,"\\rceil ","&#8969;"),w.opencurlybrace=w.lbrace=f(q,"\\lbrace ","{"),w.closecurlybrace=w.rbrace=f(q,"\\rbrace ","}"),w.lbrack=f(q,"["),w.rbrack=f(q,"]"),w.slash=f(q,"/"),w.vert=f(q,"|"),w.perp=w.perpendicular=f(q,"\\perp ","&perp;"),w.nabla=w.del=f(q,"\\nabla ","&nabla;"),w.hbar=f(q,"\\hbar ","&#8463;"),w.AA=w.Angstrom=w.angstrom=f(q,"\\text\\AA ","&#8491;"),w.ring=w.circ=w.circle=f(q,"\\circ ","&#8728;"),w.bull=w.bullet=f(q,"\\bullet ","&bull;"),w.setminus=w.smallsetminus=f(q,"\\setminus ","&#8726;"),w["¬"]=w.neg=f(q,"\\neg ","&not;"),w.not=h(q,(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 ","&not;")},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(q,"\\dots ","&hellip;"),w.converges=w.darr=w.dnarr=w.dnarrow=w.downarrow=f(q,"\\downarrow ","&darr;"),w.dArr=w.dnArr=w.dnArrow=w.Downarrow=f(q,"\\Downarrow ","&dArr;"),w.diverges=w.uarr=w.uparrow=f(q,"\\uparrow ","&uarr;"),w.uArr=w.Uparrow=f(q,"\\Uparrow ","&uArr;"),w.to=f(V,"\\to ","&rarr;"),w.rarr=w.rightarrow=f(q,"\\rightarrow ","&rarr;"),w.implies=f(V,"\\Rightarrow ","&rArr;"),w.rArr=w.Rightarrow=f(q,"\\Rightarrow ","&rArr;"),w.gets=f(V,"\\gets ","&larr;"),w.larr=w.leftarrow=f(q,"\\leftarrow ","&larr;"),w.impliedby=f(V,"\\Leftarrow ","&lArr;"),w.lArr=w.Leftarrow=f(q,"\\Leftarrow ","&lArr;"),w.harr=w.lrarr=w.leftrightarrow=f(q,"\\leftrightarrow ","&harr;"),w.iff=f(V,"\\Leftrightarrow ","&hArr;"),w.hArr=w.lrArr=w.Leftrightarrow=f(q,"\\Leftrightarrow ","&hArr;"),w.Re=w.Real=w.real=f(q,"\\Re ","&real;"),w.Im=w.imag=w.image=w.imagin=w.imaginary=w.Imaginary=f(q,"\\Im ","&image;"),w.part=w.partial=f(q,"\\partial ","&part;"),w.infty=w.infin=w.infinity=f(q,"\\infty ","&infin;"),w.pounds=f(q,"\\pounds ","&pound;"),w.alef=w.alefsym=w.aleph=w.alephsym=f(q,"\\aleph ","&alefsym;"),w.xist=w.xists=w.exist=w.exists=f(q,"\\exists ","&exist;"),w.nexists=w.nexist=f(q,"\\nexists ","&#8708;"),w.and=w.land=w.wedge=f(V,"\\wedge ","&and;"),w.or=w.lor=w.vee=f(V,"\\vee ","&or;"),w.o=w.O=w.empty=w.emptyset=w.oslash=w.Oslash=w.nothing=w.varnothing=f(V,"\\varnothing ","&empty;"),w.cup=w.union=f(V,"\\cup ","&cup;"),w.cap=w.intersect=w.intersection=f(V,"\\cap ","&cap;"),w.deg=w.degree=f(q,"°","&deg;"),w.ang=w.angle=f(q,"\\angle ","&ang;"),w.measuredangle=f(q,"\\measuredangle ","&#8737;"),w.sphericalangle=f(q,"\\sphericalangle ","&#8738;");var ge,ye,ve=s,be=document.createElement("div").style;for(var Ie in{transform:1,WebkitTransform:1,MozTransform:1,OTransform:1,msTransform:1})if(Ie in be){ye=Ie;break}ye?ge=function(e,t,n){e.css(ye,"scale("+t+","+n+")")}:"filter"in be?(ve=function(e){e.className=e.className},ge=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);y(window).load((function(){clearTimeout(o),i()}))}):ge=function(e,t,n){e.css("fontSize",n+"em")};var xe=h(_,(function(e,t){e.init=function(e,n,r){t.init.call(this,e,"<"+n+" "+r+">&0</"+n+">")}})),we=h(ne,(function(e,t){e.symbols={C:"&#8450;",H:"&#8461;",N:"&#8469;",P:"&#8473;",Q:"&#8474;",R:"&#8477;",Z:"&#8484;"},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(xe,"\\mathrm","span",'class="mq-roman mq-font"'),w.mathit=f(xe,"\\mathit","i",'class="mq-font"'),w.mathbf=f(xe,"\\mathbf","b",'class="mq-font"'),w.mathsf=f(xe,"\\mathsf","span",'class="mq-sans-serif mq-font"'),w.mathtt=f(xe,"\\mathtt","span",'class="mq-monospace mq-font"'),w.mathbb=h(_,(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(ne(n).adopt(e,e.ends[1],0)),t.remove()})),i.length&&(r[1]=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=ne;we.prototype.symbols[n]&&(r=we),r(n).adopt(e,e.ends[1],0),t.remove()})),e.jQize().appendTo(e.jQ)}))}})),w.underline=f(xe,"\\underline","span",'class="mq-non-leaf mq-underline"'),w.bar=f(xe,"\\bar","span",'class="mq-non-leaf mq-overline"'),w.overline=f(xe,"\\overline","span",'class="mq-non-leaf mq-overline"');var Ae=h(_,(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(Ae,"\\overrightarrow",'class="mq-non-leaf mq-overarrow mq-arrow-right"'),w.overleftarrow=f(Ae,"\\overleftarrow",'class="mq-non-leaf mq-overarrow mq-arrow-left"'),w.overleftrightarrow=f(Ae,"\\overleftrightarrow",'class="mq-non-leaf mq-overarrow mq-arrow-leftright"'),w.underrightarrow=f(Ae,"\\underrightarrow",'class="mq-non-leaf mq-underarrow mq-arrow-right"'),w.underleftarrow=f(Ae,"\\underleftarrow",'class="mq-non-leaf mq-underarrow mq-arrow-left"'),w.underleftrightarrow=f(Ae,"\\underleftrightarrow",'class="mq-non-leaf mq-underarrow mq-arrow-leftright"');var Te=h(_,(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">&#x21cc;</span></span>'})),Me=w.xrightleftharpoons=h(Te,(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">&#x21cc;</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=Me();return n.blocks=[e,t],e.adopt(n,0,0),t.adopt(n,e,0),n}))})).or(F.block.map((function(e){var t=Te();return t.blocks=[e],e.adopt(t,0,0),t})))},e.latex=function(){return this.ctrlSeq+"["+this.ends[m].latex()+"]{"+this.ends[1].latex()+"}"}}));w.overarc=f(xe,"\\overarc","span",'class="mq-non-leaf mq-overarc"'),w.dot=h(_,(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">&#x2d9;</span><span class="mq-empty-box">&0</span></span></span>')}})),w.textcolor=h(_,(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(_,(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 Ce=h(_,(function(e,t){e.ctrlSeq="_{...}^{...}",e.createLeftOf=function(e){if(this.replacedFragment||e[m]||!e.options.supSubsRequireOperand)return t.createLeftOf.apply(this,arguments)},e.contactWeld=function(e){for(var t=m;t;t=t===m&&1)if(this[t]instanceof Ce){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=v(i,0,i.ends[m]);else{r.jQ.children().insAtDirEnd(-t,i.jQ);var o=r.children().disown(),a=v(i,o.ends[1],i.ends[m]);t===m?o.adopt(i,i.ends[1],0):o.adopt(i,0,i.ends[m])}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[m]===this&&(1===t&&a?a[m]?e.insRightOf(a[m]):e.insAtLeftEnd(a.parent):e.insRightOf(this[t]));break}},E.p.charsThatBreakOutOfSupSub="",e.finalizeTree=function(){this.ends[m].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 Y?e.deleteSelection():e.clearSelection().insRightOf(this.parent),n.createLeftOf(e.show())}e[m]&&!e[1]&&!e.selection&&e.options.charsThatBreakOutOfSupSub.indexOf(t)>-1&&e.insRightOf(this.parent),W.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 Y?r.remove():r&&r.deleteTowards(e,n.insAtDirEnd(-e,this.sub)),this.sub.isEmpty()&&(this.sub.deleteOutOf(m,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=y('<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=y('<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">&#8203;</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"]=Ne,delete e[n].deleteOutOf,"sub"===t&&y(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 Ne(e){var t=this.parent,n=e;do{if(n[1])return e.insLeftOf(t);n=n.parent.parent}while(n!==t);e.insRightOf(t)}w.subscript=w._=h(Ce,(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">&#8203;</span></span>',e.textTemplate=["_"],e.finalizeTree=function(){this.downInto=this.sub=this.ends[m],this.sub.upOutOf=Ne,t.finalizeTree.call(this)}})),w.superscript=w.supscript=w["^"]=h(Ce,(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[1],this.sup.downOutOf=Ne,t.finalizeTree.call(this)}}));var Ee=h(_,(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>';Y.prototype.init.call(this,e,n)},e.createLeftOf=function(e){t.createLeftOf.apply(this,arguments),e.options.sumStartsWithNEquals&&(re("n").createLeftOf(e),me().createLeftOf(e))},e.latex=function(){function e(e){return 1===e.length?e:"{"+(e||" ")+"}"}return this.ctrlSeq+"_"+e(this.ends[m].latex())+"^"+e(this.ends[1].latex())},e.parser=function(){for(var e=G.string,t=G.optWhitespace,n=G.succeed,r=F.block,i=this,o=i.blocks=[W(),W()],a=0;a<o.length;a+=1)o[a].adopt(i,i.ends[1],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[1],0),n(i)}))})).many().result(i)},e.finalizeTree=function(){this.downInto=this.ends[m],this.upInto=this.ends[1],this.ends[m].upOutOf=this.ends[1],this.ends[1].downOutOf=this.ends[m]}}));w["∑"]=w.sum=w.summation=f(Ee,"\\sum ","&sum;"),w["∏"]=w.prod=w.product=f(Ee,"\\prod ","&prod;"),w.coprod=w.coproduct=f(Ee,"\\coprod ","&#8720;"),w["∫"]=w.int=w.integral=h(Ee,(function(e,t){e.init=function(){Y.prototype.init.call(this,"\\int ",'<span class="mq-int mq-non-leaf"><big>&int;</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">&#8203</span></span></span>')},e.createLeftOf=_.p.createLeftOf})),w.bigg=w.intsub=w.integralsubstitution=h(Ee,(function(e,t){e.init=function(){Y.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">&#8203</span></span></span>')},e.createLeftOf=_.p.createLeftOf,e.parser=function(){var e=this,t=G.string,n=G.optWhitespace,r=G.succeed;e.blocks=[W(),W()];for(var i=0;i<e.blocks.length;i+=1)e.blocks[i].adopt(e,e.ends[1],0);return t("/_{").then(t("\\!").many()).then(F).then((function(t){return t.children().adopt(e.blocks[0],e.blocks[0].ends[1],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[1],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 Se=w.frac=w.dfrac=w.cfrac=w.fraction=h(_,(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">&#8203;</span></span>',e.textTemplate=["(",")/(",")"],e.finalizeTree=function(){this.upInto=this.ends[1].upOutOf=this.ends[m],this.downInto=this.ends[m].downOutOf=this.ends[1]}})),ke=w.over=A["/"]=h(Se,(function(e,t){e.createLeftOf=function(e){if(!this.replacedFragment){for(var n=e[m];n&&!(n instanceof V||n instanceof(w.text||s)||n instanceof Ee||"\\ "===n.ctrlSeq||/^[,;:]$/.test(n.ctrlSeq));)n=n[m];n instanceof Ee&&n[1]instanceof Ce&&(n=n[1])[1]instanceof Ce&&n[1].ctrlSeq!=n.ctrlSeq&&(n=n[1]),n===e[m]||e.isTooDeep(1)||(this.replaces(x(n[1]||e.parent.ends[m],e[m])),e[m]=n)}t.createLeftOf.call(this,e)}})),je=w.sqrt=w["√"]=h(_,(function(e,t){e.ctrlSeq="\\sqrt",e.htmlTemplate='<span class="mq-non-leaf"><span class="mq-scaled mq-sqrt-prefix">&radic;</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=De();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[1].jQ;ge(e.prev(),1,e.innerHeight()/+e.css("fontSize").slice(0,-2)-.1)}})),De=(w.hat=h(_,(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(je,(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">&radic;</span><span class="mq-sqrt-stem mq-non-leaf">&1</span></span>',e.textTemplate=["sqrt[","](",")"],e.latex=function(){return"\\sqrt["+this.ends[m].latex()+"]{"+this.ends[1].latex()+"}"}}))),Le=h(_,(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 Oe(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"));ge(this.delimjQs,o(1+.2*(e-1),1.2),1.2*e)}}w.vec=f(Le,"\\vec","&rarr;",["vec(",")"]),w.tilde=f(Le,"\\tilde","~",["tilde(",")"]);var Re=h(h(_,Oe),(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[m]={ch:n,ctrlSeq:i},this.sides[1]={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'+(1===this.side?" mq-ghost":"")+'">'+this.sides[m].ch+'</span><span class="mq-non-leaf">&0</span><span class="mq-scaled mq-paren'+(this.side===m?" mq-ghost":"")+'">'+this.sides[1].ch+"</span></span>",t.html.call(this)},e.latex=function(){return"\\left"+this.sides[m].ctrlSeq+this.ends[m].latex()+"\\right"+this.sides[1].ctrlSeq},e.matchBrack=function(e,t,n){return n instanceof Re&&n.side&&n.side!==-t&&(!e.restrictMismatchedBrackets||Pe[this.sides[this.side].ch]===n.sides[n.side].ch||{"(":"]","[":")"}[this.sides[m].ch]===n.sides[1].ch)&&n},e.closeOpposing=function(e){e.side=0,e.sides[this.side]=this.sides[this.side],e.delimjQs.eq(this.side===m?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[m].ch)var r=this.matchBrack(n,1,e[1])||this.matchBrack(n,m,e[m])||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]&&x(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(x(e[-i],e.parent.ends[-i],i)),e[-i]=0),t.createLeftOf.call(r,e);i===m?e.insAtLeftEnd(r.ends[m]):e.insRightOf(r)},e.placeCursor=s,e.unwrap=function(){this.ends[m].children().disown().adopt(this.parent,this,this[1]).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[m].ends[this.side])){this.closeOpposing(this.ends[m].ends[this.side]);var l=this.ends[m].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:Pe[this.sides[this.side].ch],ctrlSeq:Pe[this.sides[this.side].ctrlSeq]},this.delimjQs.removeClass("mq-ghost").eq(e===m?0:1).addClass("mq-ghost").html(this.sides[e].ch)}i?(l=this.ends[m].ends[e],x(i,o,-e).disown().withDirAdopt(-e,this.ends[m],l,0).jQ.insAtDirEnd(e,this.ends[m].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[m])}},e.deleteTowards=function(e,t){this.deleteSide(-e,!1,t)},e.finalizeTree=function(){this.ends[m].deleteOutOf=function(e,t){this.parent.deleteSide(e,!0,t)},this.finalizeTree=this.intentionalBlur=function(){this.delimjQs.eq(this.side===m?1:0).removeClass("mq-ghost"),this.side=0}},e.siblingCreated=function(e,t){t===-this.side&&this.finalizeTree()}})),Pe={"(":")",")":"(","[":"]","]":"[","{":"}","}":"{","\\{":"\\}","\\}":"\\{","&lang;":"&rang;","&rang;":"&lang;","\\langle ":"\\rangle ","\\rangle ":"\\langle ","|":"|","\\lVert ":"\\rVert ","\\rVert ":"\\lVert "};function ze(e,t){t=t||e;var n=Pe[e],r=Pe[t];A[e]=f(Re,m,e,n,t,r),A[n]=f(Re,1,e,n,t,r)}ze("("),ze("["),ze("{","\\{"),w.langle=f(Re,m,"&lang;","&rang;","\\langle ","\\rangle "),w.rangle=f(Re,1,"&lang;","&rang;","\\langle ","\\rangle "),A["|"]=f(Re,m,"|","|","|","|"),w.lVert=f(Re,m,"&#8741;","&#8741;","\\lVert ","\\rVert "),w.rVert=f(Re,1,"&#8741;","&#8741;","\\lVert ","\\rVert "),w.left=h(_,(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="&lang;",r+=" "),"\\lVert"==r&&(i="&#8741;",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="&rang;",e+=" "),"\\rVert"==e&&(t="&#8741;",e+=" ");var n=Re(0,i,t,r,e);return n.blocks=[o],o.adopt(n,0,0),n}))}))}))}})),w.right=h(_,(function(e){e.parser=function(){return G.fail("unmatched \\right")}}));var Ue=w.binom=w.binomial=h(h(_,Oe),(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(Ue,(function(e){e.createLeftOf=ke.prototype.createLeftOf})),w.editable=w.MathQuillMathField=h(_,(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=C(this.ends[m],this.jQ,e);t.KIND_OF_MQ="MathField",t.editable=!0,t.createTextarea(),t.editablesTextareaEvents(),t.cursor.insAtRightEnd(t.root),U(t.root)},e.registerInnerField=function(e,t){e.push(e[this.name]=t(this.ends[m].controller))},e.latex=function(){return this.ends[m].latex()},e.text=function(){return this.ends[m].text()}}));var Be=w.embed=h(Y,(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(j[i](t))}))}))}})),Ge={};w.begin=h(_,(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 Ze=h(_,(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(Ze,(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&&ge(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=[He(0,this),He(0,this),He(1,this),He(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(He(i,e,r)),r=[]}e.blocks=[];for(var a=0;a<t.length;a+=1)t[a]instanceof W?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[1]=r[o+1],n[m]=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[m]=r[0],this.ends[1]=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,He(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=y("<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=He(s+1)).parent=this,r.push(t),t.jQ=y('<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=He(a)).parent=this,o.push(n),r[a].splice(t,0,n),n.jQ=y('<td class="mq-empty">').attr(i,n.id);return this.jQ.find("tr").each((function(e){y(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:"&#8214;",right:"&#8214;"}})),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 He=h(W,(function(e,t){e.init=function(e,n,r){if(t.init.call(this),this.row=e,n&&this.adopt(n,n.ends[1],0),r)for(var i=0;i<r.length;i++)r[i].children().adopt(this,this.ends[1],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(m,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)}))}})),_e=(A["\\"]=h(_,(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[m].focus=function(){return this.parent.jQ.addClass("mq-hasCursor"),this.isEmpty()&&this.parent.jQ.removeClass("mq-empty"),this},this.ends[m].blur=function(){return this.parent.jQ.removeClass("mq-hasCursor"),this.isEmpty()&&this.parent.jQ.addClass("mq-empty"),this},this.ends[m].write=function(e,t){e.show().deleteSelection(),t.match(/[a-z]/i)?q(t).createLeftOf(e):(this.parent.renderCommand(e),"\\"===t&&this.isEmpty()||e.parent.write(e,t))},this.ends[m].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 y(e.target=n).trigger(e),!1})).insertBefore(this.jQ).add(this.jQ)}},e.latex=function(){return"\\"+this.ends[m].latex()+" "},e.renderCommand=function(e){this.jQ=this.jQ.last(),this.remove(),this[1]?e.insLeftOf(this[1]):e.insAtRightEnd(this.parent);var t=this.ends[m].latex();t||(t=" ");var n=w[t]||Ge[t];n?(n=n(t),this._replacedFragment&&n.replaces(this._replacedFragment),n.createLeftOf(e)):((n=J()).replaces(t),n.createLeftOf(e),e.insRightOf(n),this._replacedFragment&&this._replacedFragment.remove())}})),P(1));for(var Ye in _e)!function(e,t){"function"==typeof t?(L[e]=function(){return D(),t.apply(this,arguments)},L[e].prototype=t.prototype):L[e]=t}(Ye,_e[Ye]);"object"==typeof e.exports&&(e.exports=L)}()},6660:(e,t,n)=>{e.exports=n(8226)},8427:(e,t,n)=>{"use strict";var r=n(4345),i=n(6435),o=n(5905),a=n(3025),s=n(3916),l=n(6135),c=n(6923),u=n(1792),d=n(292),f=n(9945);e.exports=function(e){return new Promise((function(t,n){var p,h=e.data,m=e.headers,g=e.responseType;function y(){e.cancelToken&&e.cancelToken.unsubscribe(p),e.signal&&e.signal.removeEventListener("abort",p)}r.isFormData(h)&&delete m["Content-Type"];var v=new XMLHttpRequest;if(e.auth){var b=e.auth.username||"",I=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";m.Authorization="Basic "+btoa(b+":"+I)}var x=s(e.baseURL,e.url);function w(){if(v){var r="getAllResponseHeaders"in v?l(v.getAllResponseHeaders()):null,o={data:g&&"text"!==g&&"json"!==g?v.response:v.responseText,status:v.status,statusText:v.statusText,headers:r,config:e,request:v};i((function(e){t(e),y()}),(function(e){n(e),y()}),o),v=null}}if(v.open(e.method.toUpperCase(),a(x,e.params,e.paramsSerializer),!0),v.timeout=e.timeout,"onloadend"in v?v.onloadend=w:v.onreadystatechange=function(){v&&4===v.readyState&&(0!==v.status||v.responseURL&&0===v.responseURL.indexOf("file:"))&&setTimeout(w)},v.onabort=function(){v&&(n(u("Request aborted",e,"ECONNABORTED",v)),v=null)},v.onerror=function(){n(u("Network Error",e,null,v)),v=null},v.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||d.transitional;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(u(t,e,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",v)),v=null},r.isStandardBrowserEnv()){var A=(e.withCredentials||c(x))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;A&&(m[e.xsrfHeaderName]=A)}"setRequestHeader"in v&&r.forEach(m,(function(e,t){void 0===h&&"content-type"===t.toLowerCase()?delete m[t]:v.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(v.withCredentials=!!e.withCredentials),g&&"json"!==g&&(v.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&v.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&v.upload&&v.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(p=function(e){v&&(n(!e||e&&e.type?new f("canceled"):e),v.abort(),v=null)},e.cancelToken&&e.cancelToken.subscribe(p),e.signal&&(e.signal.aborted?p():e.signal.addEventListener("abort",p))),h||(h=null),v.send(h)}))}},8226:(e,t,n)=>{"use strict";var r=n(4345),i=n(5063),o=n(9560),a=n(4816),s=function e(t){var n=new o(t),s=i(o.prototype.request,n);return r.extend(s,o.prototype,n),r.extend(s,n),s.create=function(n){return e(a(t,n))},s}(n(292));s.Axios=o,s.Cancel=n(9945),s.CancelToken=n(5912),s.isCancel=n(6945),s.VERSION=n(9978).version,s.all=function(e){return Promise.all(e)},s.spread=n(8127),s.isAxiosError=n(8568),e.exports=s,e.exports.default=s},9945:e=>{"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},5912:(e,t,n)=>{"use strict";var r=n(9945);function i(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;this.promise.then((function(e){if(n._listeners){var t,r=n._listeners.length;for(t=0;t<r;t++)n._listeners[t](e);n._listeners=null}})),this.promise.then=function(e){var t,r=new Promise((function(e){n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},i.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},i.source=function(){var e;return{token:new i((function(t){e=t})),cancel:e}},e.exports=i},6945:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},9560:(e,t,n)=>{"use strict";var r=n(4345),i=n(3025),o=n(546),a=n(1617),s=n(4816),l=n(6552),c=l.validators;function u(e){this.defaults=e,this.interceptors={request:new o,response:new o}}u.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&l.assertOptions(t,{silentJSONParsing:c.transitional(c.boolean),forcedJSONParsing:c.transitional(c.boolean),clarifyTimeoutError:c.transitional(c.boolean)},!1);var n=[],r=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(r=r&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var i,o=[];if(this.interceptors.response.forEach((function(e){o.push(e.fulfilled,e.rejected)})),!r){var u=[a,void 0];for(Array.prototype.unshift.apply(u,n),u=u.concat(o),i=Promise.resolve(e);u.length;)i=i.then(u.shift(),u.shift());return i}for(var d=e;n.length;){var f=n.shift(),p=n.shift();try{d=f(d)}catch(e){p(e);break}}try{i=a(d)}catch(e){return Promise.reject(e)}for(;o.length;)i=i.then(o.shift(),o.shift());return i},u.prototype.getUri=function(e){return e=s(this.defaults,e),i(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,n,r){return this.request(s(r||{},{method:e,url:t,data:n}))}})),e.exports=u},546:(e,t,n)=>{"use strict";var r=n(4345);function i(){this.handlers=[]}i.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=i},3916:(e,t,n)=>{"use strict";var r=n(4860),i=n(7825);e.exports=function(e,t){return e&&!r(t)?i(e,t):t}},1792:(e,t,n)=>{"use strict";var r=n(7148);e.exports=function(e,t,n,i,o){var a=new Error(e);return r(a,t,n,i,o)}},1617:(e,t,n)=>{"use strict";var r=n(4345),i=n(7638),o=n(6945),a=n(292),s=n(9945);function l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s("canceled")}e.exports=function(e){return l(e),e.headers=e.headers||{},e.data=i.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return l(e),t.data=i.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(l(e),t&&t.response&&(t.response.data=i.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},7148:e=>{"use strict";e.exports=function(e,t,n,r,i){return e.config=t,n&&(e.code=n),e.request=r,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},4816:(e,t,n)=>{"use strict";var r=n(4345);e.exports=function(e,t){t=t||{};var n={};function i(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function o(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:i(void 0,e[n]):i(e[n],t[n])}function a(e){if(!r.isUndefined(t[e]))return i(void 0,t[e])}function s(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:i(void 0,e[n]):i(void 0,t[n])}function l(n){return n in t?i(e[n],t[n]):n in e?i(void 0,e[n]):void 0}var c={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l};return r.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||o,i=t(e);r.isUndefined(i)&&t!==l||(n[e]=i)})),n}},6435:(e,t,n)=>{"use strict";var r=n(1792);e.exports=function(e,t,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},7638:(e,t,n)=>{"use strict";var r=n(4345),i=n(292);e.exports=function(e,t,n){var o=this||i;return r.forEach(n,(function(n){e=n.call(o,e,t)})),e}},292:(e,t,n)=>{"use strict";var r=n(4345),i=n(2327),o=n(7148),a={"Content-Type":"application/x-www-form-urlencoded"};function s(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var l,c={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(l=n(8427)),l),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(s(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)||t&&"application/json"===t["Content-Type"]?(s(t,"application/json"),function(e,t,n){if(r.isString(e))try{return(0,JSON.parse)(e),r.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||c.transitional,n=t&&t.silentJSONParsing,i=t&&t.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||i&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(a){if("SyntaxError"===e.name)throw o(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){c.headers[e]=r.merge(a)})),e.exports=c},9978:e=>{e.exports={version:"0.24.0"}},5063:e=>{"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},3025:(e,t,n)=>{"use strict";var r=n(4345);function i(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(r.isURLSearchParams(t))o=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!=e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(i(t)+"="+i(e))})))})),o=a.join("&")}if(o){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},7825:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},5905:(e,t,n)=>{"use strict";var r=n(4345);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,i,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},4860:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},8568:e=>{"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},6923:(e,t,n)=>{"use strict";var r=n(4345);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){var n=r.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},2327:(e,t,n)=>{"use strict";var r=n(4345);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},6135:(e,t,n)=>{"use strict";var r=n(4345),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,o,a={};return e?(r.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=r.trim(e.substr(0,o)).toLowerCase(),n=r.trim(e.substr(o+1)),t){if(a[t]&&i.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},8127:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},6552:(e,t,n)=>{"use strict";var r=n(9978).version,i={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){i[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var o={};i.transitional=function(e,t,n){function i(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,a){if(!1===e)throw new Error(i(r," has been removed"+(t?" in "+t:"")));return t&&!o[r]&&(o[r]=!0,console.warn(i(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,a)}},e.exports={assertOptions:function(e,t,n){if("object"!=typeof e)throw new TypeError("options must be an object");for(var r=Object.keys(e),i=r.length;i-- >0;){var o=r[i],a=t[o];if(a){var s=e[o],l=void 0===s||a(s,o,e);if(!0!==l)throw new TypeError("option "+o+" must be "+l)}else if(!0!==n)throw Error("Unknown option "+o)}},validators:i}},4345:(e,t,n)=>{"use strict";var r=n(5063),i=Object.prototype.toString;function o(e){return"[object Array]"===i.call(e)}function a(e){return void 0===e}function s(e){return null!==e&&"object"==typeof e}function l(e){if("[object Object]"!==i.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function c(e){return"[object Function]"===i.call(e)}function u(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),o(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}e.exports={isArray:o,isArrayBuffer:function(e){return"[object ArrayBuffer]"===i.call(e)},isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:s,isPlainObject:l,isUndefined:a,isDate:function(e){return"[object Date]"===i.call(e)},isFile:function(e){return"[object File]"===i.call(e)},isBlob:function(e){return"[object Blob]"===i.call(e)},isFunction:c,isStream:function(e){return s(e)&&c(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:u,merge:function e(){var t={};function n(n,r){l(t[r])&&l(n)?t[r]=e(t[r],n):l(n)?t[r]=e({},n):o(n)?t[r]=n.slice():t[r]=n}for(var r=0,i=arguments.length;r<i;r++)u(arguments[r],n);return t},extend:function(e,t,n){return u(t,(function(t,i){e[i]=n&&"function"==typeof t?r(t,n):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},2743: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 Object.propertyIsEnumerable.call(e,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},6593:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attributeNames=t.elementNames=void 0,t.elementNames=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map((function(e){return[e.toLowerCase(),e]}))),t.attributeNames=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map((function(e){return[e.toLowerCase(),e]})))},5193: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);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}: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}),t.render=void 0;var s=a(n(3338)),l=n(2305),c=n(6593),u=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function d(e){return e.replace(/"/g,"&quot;")}var f=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function p(e,t){void 0===t&&(t={});for(var n=("length"in e?e:[e]),r="",i=0;i<n.length;i++)r+=h(n[i],t);return r}function h(e,t){switch(e.type){case s.Root:return p(e.children,t);case s.Doctype:case s.Directive:return"<".concat(e.data,">");case s.Comment:return"\x3c!--".concat(e.data,"--\x3e");case s.CDATA:return function(e){return"<![CDATA[".concat(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&&m.has(e.parent.name)&&(t=r(r({},t),{xmlMode:!1}))),!t.xmlMode&&g.has(e.name)&&(t=r(r({},t),{xmlMode:"foreign"}));var i="<".concat(e.name),o=function(e,t){var n;if(e){var r=!1===(null!==(n=t.encodeEntities)&&void 0!==n?n:t.decodeEntities)?d:t.xmlMode||"utf8"!==t.encodeEntities?l.encodeXML:l.escapeAttribute;return Object.keys(e).map((function(n){var i,o,a=null!==(i=e[n])&&void 0!==i?i:"";return"foreign"===t.xmlMode&&(n=null!==(o=c.attributeNames.get(n))&&void 0!==o?o:n),t.emptyAttrs||t.xmlMode||""!==a?"".concat(n,'="').concat(r(a),'"'):n})).join(" ")}}(e.attribs,t);return o&&(i+=" ".concat(o)),0===e.children.length&&(t.xmlMode?!1!==t.selfClosingTags:t.selfClosingTags&&f.has(e.name))?(t.xmlMode||(i+=" "),i+="/>"):(i+=">",e.children.length>0&&(i+=p(e.children,t)),!t.xmlMode&&f.has(e.name)||(i+="</".concat(e.name,">"))),i}(e,t);case s.Text:return function(e,t){var n,r=e.data||"";return!1===(null!==(n=t.encodeEntities)&&void 0!==n?n:t.decodeEntities)||!t.xmlMode&&e.parent&&u.has(e.parent.name)||(r=t.xmlMode||"utf8"!==t.encodeEntities?(0,l.encodeXML)(r):(0,l.escapeText)(r)),r}(e,t)}}t.render=p,t.default=p;var m=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),g=new Set(["svg","math"])},3338:(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},1138:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}: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(3338),a=n(2888);i(n(2888),t);var s={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=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=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(){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=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.lastNode;if(t&&t.type===o.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var n=new a.Text(e);this.addNode(n),this.lastNode=n}},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.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=l,t.default=l},2888: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.CDATA=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var a=n(3338),s=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return 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),w(this,e)},e}();t.Node=s;var l=function(e){function t(t){var n=e.call(this)||this;return n.data=t,n}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}(s);t.DataNode=l;var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Text,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(l);t.Text=c;var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Comment,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(l);t.Comment=u;var d=function(e){function t(t,n){var r=e.call(this,n)||this;return r.name=t,r.type=a.ElementType.Directive,r}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(l);t.ProcessingInstruction=d;var f=function(e){function t(t){var n=e.call(this)||this;return n.children=t,n}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}(s);t.NodeWithChildren=f;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.CDATA,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(f);t.CDATA=p;var h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Root,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(f);t.Document=h;var m=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,r)||this;return o.name=t,o.attribs=n,o.type=i,o}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),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}(f);function g(e){return(0,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 w(e,t){var n;if(void 0===t&&(t=!1),v(e))n=new c(e.data);else if(b(e))n=new u(e.data);else if(g(e)){var r=t?A(e.children):[],i=new m(e.name,o({},e.attribs),r);r.forEach((function(e){return e.parent=i})),null!=e.namespace&&(i.namespace=e.namespace),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?A(e.children):[];var a=new p(r);r.forEach((function(e){return e.parent=a})),n=a}else if(x(e)){r=t?A(e.children):[];var s=new h(r);r.forEach((function(e){return e.parent=s})),e["x-mode"]&&(s["x-mode"]=e["x-mode"]),n=s}else{if(!I(e))throw new Error("Not implemented yet: ".concat(e.type));var l=new d(e.name,e.data);null!=e["x-name"]&&(l["x-name"]=e["x-name"],l["x-publicId"]=e["x-publicId"],l["x-systemId"]=e["x-systemId"]),n=l}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function A(e){for(var t=e.map((function(e){return w(e,!0)})),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}t.Element=m,t.isTag=g,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=w},1206:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFeed=void 0;var r=n(8642),i=n(8052);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)||c("dc:date",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}},3698:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uniqueSort=t.compareDocumentPosition=t.DocumentPosition=t.removeSubsets=void 0;var r,i=n(1138);function o(e,t){var n=[],o=[];if(e===t)return 0;for(var a=(0,i.hasChildren)(e)?e:e.parent;a;)n.unshift(a),a=a.parent;for(a=(0,i.hasChildren)(t)?t:t.parent;a;)o.unshift(a),a=a.parent;for(var s=Math.min(n.length,o.length),l=0;l<s&&n[l]===o[l];)l++;if(0===l)return r.DISCONNECTED;var c=n[l-1],u=c.children,d=n[l],f=o[l];return u.indexOf(d)>u.indexOf(f)?c===t?r.FOLLOWING|r.CONTAINED_BY:r.FOLLOWING:c===e?r.PRECEDING|r.CONTAINS:r.PRECEDING}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},function(e){e[e.DISCONNECTED=1]="DISCONNECTED",e[e.PRECEDING=2]="PRECEDING",e[e.FOLLOWING=4]="FOLLOWING",e[e.CONTAINS=8]="CONTAINS",e[e.CONTAINED_BY=16]="CONTAINED_BY"}(r=t.DocumentPosition||(t.DocumentPosition={})),t.compareDocumentPosition=o,t.uniqueSort=function(e){return(e=e.filter((function(e,t,n){return!n.includes(e,t+1)}))).sort((function(e,t){var n=o(e,t);return n&r.PRECEDING?-1:n&r.FOLLOWING?1:0})),e}},6403:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}: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(8642),t),i(n(5517),t),i(n(6178),t),i(n(1467),t),i(n(8052),t),i(n(3698),t),i(n(1206),t);var o=n(1138);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}})},8052:(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(1138),i=n(1467),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)}},6178:(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,n=t.lastIndexOf(e);n>=0&&t.splice(n,1)}e.next=null,e.prev=null,e.parent=null}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,e.parent=null}},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}},1467:(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(1138);function i(e,t,n,i){for(var o=[],a=[t],s=[0];;)if(s[0]>=a[0].length){if(1===s.length)return o;a.shift(),s.shift()}else{var l=a[0][s[0]++];if(e(l)&&(o.push(l),--i<=0))return o;n&&(0,r.hasChildren)(l)&&l.children.length>0&&(s.unshift(0),a.unshift(l.children))}}t.filter=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=1/0),i(e,Array.isArray(t)?t:[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,!0)))}return o},t.existsOne=function e(t,n){return n.some((function(n){return(0,r.isTag)(n)&&(t(n)||e(t,n.children))}))},t.findAll=function(e,t){for(var n=[],i=[t],o=[0];;)if(o[0]>=i[0].length){if(1===i.length)return n;i.shift(),o.shift()}else{var a=i[0][o[0]++];(0,r.isTag)(a)&&(e(a)&&n.push(a),a.children.length>0&&(o.unshift(0),i.unshift(a.children)))}}},8642: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(1138),o=r(n(5193)),a=n(3338);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:""}},5517:(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(1138);function i(e){return(0,r.hasChildren)(e)?e.children:[]}function o(e){return e.parent||null}t.getChildren=i,t.getParent=o,t.getSiblings=function(e){var t=o(e);if(null!=t)return i(t);for(var n=[e],r=e.prev,a=e.next;null!=r;)n.unshift(r),r=r.prev;for(;null!=a;)n.push(a),a=a.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}},7120:(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")},4828:(e,t,n)=>{"use strict";n(7120)},3379:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}: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.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXML=t.decodeHTMLStrict=t.decodeHTMLAttribute=t.decodeHTML=t.determineBranch=t.EntityDecoder=t.DecodingMode=t.BinTrieFlags=t.fromCodePoint=t.replaceCodePoint=t.decodeCodePoint=t.xmlDecodeTree=t.htmlDecodeTree=void 0;var s=a(n(7346));t.htmlDecodeTree=s.default;var l=a(n(8622));t.xmlDecodeTree=l.default;var c=o(n(2809));t.decodeCodePoint=c.default;var u,d,f,p,h=n(2809);function m(e){return e>=u.ZERO&&e<=u.NINE}Object.defineProperty(t,"replaceCodePoint",{enumerable:!0,get:function(){return h.replaceCodePoint}}),Object.defineProperty(t,"fromCodePoint",{enumerable:!0,get:function(){return h.fromCodePoint}}),function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(u||(u={})),function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(d=t.BinTrieFlags||(t.BinTrieFlags={})),function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(f||(f={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(p=t.DecodingMode||(t.DecodingMode={}));var g=function(){function e(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=f.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=p.Strict}return e.prototype.startEntity=function(e){this.decodeMode=e,this.state=f.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1},e.prototype.write=function(e,t){switch(this.state){case f.EntityStart:return e.charCodeAt(t)===u.NUM?(this.state=f.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=f.NamedEntity,this.stateNamedEntity(e,t));case f.NumericStart:return this.stateNumericStart(e,t);case f.NumericDecimal:return this.stateNumericDecimal(e,t);case f.NumericHex:return this.stateNumericHex(e,t);case f.NamedEntity:return this.stateNamedEntity(e,t)}},e.prototype.stateNumericStart=function(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===u.LOWER_X?(this.state=f.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=f.NumericDecimal,this.stateNumericDecimal(e,t))},e.prototype.addToNumericResult=function(e,t,n,r){if(t!==n){var i=n-t;this.result=this.result*Math.pow(r,i)+parseInt(e.substr(t,i),r),this.consumed+=i}},e.prototype.stateNumericHex=function(e,t){for(var n,r=t;t<e.length;){var i=e.charCodeAt(t);if(!(m(i)||(n=i,n>=u.UPPER_A&&n<=u.UPPER_F||n>=u.LOWER_A&&n<=u.LOWER_F)))return this.addToNumericResult(e,r,t,16),this.emitNumericEntity(i,3);t+=1}return this.addToNumericResult(e,r,t,16),-1},e.prototype.stateNumericDecimal=function(e,t){for(var n=t;t<e.length;){var r=e.charCodeAt(t);if(!m(r))return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2);t+=1}return this.addToNumericResult(e,n,t,10),-1},e.prototype.emitNumericEntity=function(e,t){var n;if(this.consumed<=t)return null===(n=this.errors)||void 0===n||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===u.SEMI)this.consumed+=1;else if(this.decodeMode===p.Strict)return 0;return this.emitCodePoint((0,c.replaceCodePoint)(this.result),this.consumed),this.errors&&(e!==u.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed},e.prototype.stateNamedEntity=function(e,t){for(var n=this.decodeTree,r=n[this.treeIndex],i=(r&d.VALUE_LENGTH)>>14;t<e.length;t++,this.excess++){var o=e.charCodeAt(t);if(this.treeIndex=v(n,r,this.treeIndex+Math.max(1,i),o),this.treeIndex<0)return 0===this.result||this.decodeMode===p.Attribute&&(0===i||((a=o)===u.EQUALS||function(e){return e>=u.UPPER_A&&e<=u.UPPER_Z||e>=u.LOWER_A&&e<=u.LOWER_Z||m(e)}(a)))?0:this.emitNotTerminatedNamedEntity();if(0!=(i=((r=n[this.treeIndex])&d.VALUE_LENGTH)>>14)){if(o===u.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==p.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}var a;return-1},e.prototype.emitNotTerminatedNamedEntity=function(){var e,t=this.result,n=(this.decodeTree[t]&d.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,n,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed},e.prototype.emitNamedEntityData=function(e,t,n){var r=this.decodeTree;return this.emitCodePoint(1===t?r[e]&~d.VALUE_LENGTH:r[e+1],n),3===t&&this.emitCodePoint(r[e+2],n),n},e.prototype.end=function(){var e;switch(this.state){case f.NamedEntity:return 0===this.result||this.decodeMode===p.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case f.NumericDecimal:return this.emitNumericEntity(0,2);case f.NumericHex:return this.emitNumericEntity(0,3);case f.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case f.EntityStart:return 0}},e}();function y(e){var t="",n=new g(e,(function(e){return t+=(0,c.fromCodePoint)(e)}));return function(e,r){for(var i=0,o=0;(o=e.indexOf("&",o))>=0;){t+=e.slice(i,o),n.startEntity(r);var a=n.write(e,o+1);if(a<0){i=o+n.end();break}i=o+a,o=0===a?i+1:i}var s=t+e.slice(i);return t="",s}}function v(e,t,n,r){var i=(t&d.BRANCH_LENGTH)>>7,o=t&d.JUMP_TABLE;if(0===i)return 0!==o&&r===o?n:-1;if(o){var a=r-o;return a<0||a>=i?-1:e[n+a]-1}for(var s=n,l=s+i-1;s<=l;){var c=s+l>>>1,u=e[c];if(u<r)s=c+1;else{if(!(u>r))return e[c+i];l=c-1}}return-1}t.EntityDecoder=g,t.determineBranch=v;var b=y(s.default),I=y(l.default);t.decodeHTML=function(e,t){return void 0===t&&(t=p.Legacy),b(e,t)},t.decodeHTMLAttribute=function(e){return b(e,p.Attribute)},t.decodeHTMLStrict=function(e){return b(e,p.Strict)},t.decodeXML=function(e){return I(e,p.Strict)}},2809:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.replaceCodePoint=t.fromCodePoint=void 0;var r=new Map([[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]]);function i(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=r.get(e))&&void 0!==t?t:e}t.fromCodePoint=null!==(n=String.fromCodePoint)&&void 0!==n?n:function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+String.fromCharCode(e)},t.replaceCodePoint=i,t.default=function(e){return(0,t.fromCodePoint)(i(e))}},3231: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.encodeNonAsciiHTML=t.encodeHTML=void 0;var i=r(n(8635)),o=n(7078),a=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function s(e,t){for(var n,r="",a=0;null!==(n=e.exec(t));){var s=n.index;r+=t.substring(a,s);var l=t.charCodeAt(s),c=i.default.get(l);if("object"==typeof c){if(s+1<t.length){var u=t.charCodeAt(s+1),d="number"==typeof c.n?c.n===u?c.o:void 0:c.n.get(u);if(void 0!==d){r+=d,a=e.lastIndex+=1;continue}}c=c.v}if(void 0!==c)r+=c,a=s+1;else{var f=(0,o.getCodePoint)(t,s);r+="&#x".concat(f.toString(16),";"),a=e.lastIndex+=Number(f!==l)}}return r+t.substr(a)}t.encodeHTML=function(e){return s(a,e)},t.encodeNonAsciiHTML=function(e){return s(o.xmlReplacer,e)}},7078:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.escapeText=t.escapeAttribute=t.escapeUTF8=t.escape=t.encodeXML=t.getCodePoint=t.xmlReplacer=void 0,t.xmlReplacer=/["&'<>$\x80-\uFFFF]/g;var n=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]);function r(e){for(var r,i="",o=0;null!==(r=t.xmlReplacer.exec(e));){var a=r.index,s=e.charCodeAt(a),l=n.get(s);void 0!==l?(i+=e.substring(o,a)+l,o=a+1):(i+="".concat(e.substring(o,a),"&#x").concat((0,t.getCodePoint)(e,a).toString(16),";"),o=t.xmlReplacer.lastIndex+=Number(55296==(64512&s)))}return i+e.substr(o)}function i(e,t){return function(n){for(var r,i=0,o="";r=e.exec(n);)i!==r.index&&(o+=n.substring(i,r.index)),o+=t.get(r[0].charCodeAt(0)),i=r.index+1;return o+n.substring(i)}}t.getCodePoint=null!=String.prototype.codePointAt?function(e,t){return e.codePointAt(t)}:function(e,t){return 55296==(64512&e.charCodeAt(t))?1024*(e.charCodeAt(t)-55296)+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t)},t.encodeXML=r,t.escape=r,t.escapeUTF8=i(/[&<>'"]/g,n),t.escapeAttribute=i(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),t.escapeText=i(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]]))},7346:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((function(e){return e.charCodeAt(0)})))},8622:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((function(e){return e.charCodeAt(0)})))},8635:(e,t)=>{"use strict";function n(e){for(var t=1;t<e.length;t++)e[t][0]+=e[t-1][0]+1;return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Map(n([[9,"&Tab;"],[0,"&NewLine;"],[22,"&excl;"],[0,"&quot;"],[0,"&num;"],[0,"&dollar;"],[0,"&percnt;"],[0,"&amp;"],[0,"&apos;"],[0,"&lpar;"],[0,"&rpar;"],[0,"&ast;"],[0,"&plus;"],[0,"&comma;"],[1,"&period;"],[0,"&sol;"],[10,"&colon;"],[0,"&semi;"],[0,{v:"&lt;",n:8402,o:"&nvlt;"}],[0,{v:"&equals;",n:8421,o:"&bne;"}],[0,{v:"&gt;",n:8402,o:"&nvgt;"}],[0,"&quest;"],[0,"&commat;"],[26,"&lbrack;"],[0,"&bsol;"],[0,"&rbrack;"],[0,"&Hat;"],[0,"&lowbar;"],[0,"&DiacriticalGrave;"],[5,{n:106,o:"&fjlig;"}],[20,"&lbrace;"],[0,"&verbar;"],[0,"&rbrace;"],[34,"&nbsp;"],[0,"&iexcl;"],[0,"&cent;"],[0,"&pound;"],[0,"&curren;"],[0,"&yen;"],[0,"&brvbar;"],[0,"&sect;"],[0,"&die;"],[0,"&copy;"],[0,"&ordf;"],[0,"&laquo;"],[0,"&not;"],[0,"&shy;"],[0,"&circledR;"],[0,"&macr;"],[0,"&deg;"],[0,"&PlusMinus;"],[0,"&sup2;"],[0,"&sup3;"],[0,"&acute;"],[0,"&micro;"],[0,"&para;"],[0,"&centerdot;"],[0,"&cedil;"],[0,"&sup1;"],[0,"&ordm;"],[0,"&raquo;"],[0,"&frac14;"],[0,"&frac12;"],[0,"&frac34;"],[0,"&iquest;"],[0,"&Agrave;"],[0,"&Aacute;"],[0,"&Acirc;"],[0,"&Atilde;"],[0,"&Auml;"],[0,"&angst;"],[0,"&AElig;"],[0,"&Ccedil;"],[0,"&Egrave;"],[0,"&Eacute;"],[0,"&Ecirc;"],[0,"&Euml;"],[0,"&Igrave;"],[0,"&Iacute;"],[0,"&Icirc;"],[0,"&Iuml;"],[0,"&ETH;"],[0,"&Ntilde;"],[0,"&Ograve;"],[0,"&Oacute;"],[0,"&Ocirc;"],[0,"&Otilde;"],[0,"&Ouml;"],[0,"&times;"],[0,"&Oslash;"],[0,"&Ugrave;"],[0,"&Uacute;"],[0,"&Ucirc;"],[0,"&Uuml;"],[0,"&Yacute;"],[0,"&THORN;"],[0,"&szlig;"],[0,"&agrave;"],[0,"&aacute;"],[0,"&acirc;"],[0,"&atilde;"],[0,"&auml;"],[0,"&aring;"],[0,"&aelig;"],[0,"&ccedil;"],[0,"&egrave;"],[0,"&eacute;"],[0,"&ecirc;"],[0,"&euml;"],[0,"&igrave;"],[0,"&iacute;"],[0,"&icirc;"],[0,"&iuml;"],[0,"&eth;"],[0,"&ntilde;"],[0,"&ograve;"],[0,"&oacute;"],[0,"&ocirc;"],[0,"&otilde;"],[0,"&ouml;"],[0,"&div;"],[0,"&oslash;"],[0,"&ugrave;"],[0,"&uacute;"],[0,"&ucirc;"],[0,"&uuml;"],[0,"&yacute;"],[0,"&thorn;"],[0,"&yuml;"],[0,"&Amacr;"],[0,"&amacr;"],[0,"&Abreve;"],[0,"&abreve;"],[0,"&Aogon;"],[0,"&aogon;"],[0,"&Cacute;"],[0,"&cacute;"],[0,"&Ccirc;"],[0,"&ccirc;"],[0,"&Cdot;"],[0,"&cdot;"],[0,"&Ccaron;"],[0,"&ccaron;"],[0,"&Dcaron;"],[0,"&dcaron;"],[0,"&Dstrok;"],[0,"&dstrok;"],[0,"&Emacr;"],[0,"&emacr;"],[2,"&Edot;"],[0,"&edot;"],[0,"&Eogon;"],[0,"&eogon;"],[0,"&Ecaron;"],[0,"&ecaron;"],[0,"&Gcirc;"],[0,"&gcirc;"],[0,"&Gbreve;"],[0,"&gbreve;"],[0,"&Gdot;"],[0,"&gdot;"],[0,"&Gcedil;"],[1,"&Hcirc;"],[0,"&hcirc;"],[0,"&Hstrok;"],[0,"&hstrok;"],[0,"&Itilde;"],[0,"&itilde;"],[0,"&Imacr;"],[0,"&imacr;"],[2,"&Iogon;"],[0,"&iogon;"],[0,"&Idot;"],[0,"&imath;"],[0,"&IJlig;"],[0,"&ijlig;"],[0,"&Jcirc;"],[0,"&jcirc;"],[0,"&Kcedil;"],[0,"&kcedil;"],[0,"&kgreen;"],[0,"&Lacute;"],[0,"&lacute;"],[0,"&Lcedil;"],[0,"&lcedil;"],[0,"&Lcaron;"],[0,"&lcaron;"],[0,"&Lmidot;"],[0,"&lmidot;"],[0,"&Lstrok;"],[0,"&lstrok;"],[0,"&Nacute;"],[0,"&nacute;"],[0,"&Ncedil;"],[0,"&ncedil;"],[0,"&Ncaron;"],[0,"&ncaron;"],[0,"&napos;"],[0,"&ENG;"],[0,"&eng;"],[0,"&Omacr;"],[0,"&omacr;"],[2,"&Odblac;"],[0,"&odblac;"],[0,"&OElig;"],[0,"&oelig;"],[0,"&Racute;"],[0,"&racute;"],[0,"&Rcedil;"],[0,"&rcedil;"],[0,"&Rcaron;"],[0,"&rcaron;"],[0,"&Sacute;"],[0,"&sacute;"],[0,"&Scirc;"],[0,"&scirc;"],[0,"&Scedil;"],[0,"&scedil;"],[0,"&Scaron;"],[0,"&scaron;"],[0,"&Tcedil;"],[0,"&tcedil;"],[0,"&Tcaron;"],[0,"&tcaron;"],[0,"&Tstrok;"],[0,"&tstrok;"],[0,"&Utilde;"],[0,"&utilde;"],[0,"&Umacr;"],[0,"&umacr;"],[0,"&Ubreve;"],[0,"&ubreve;"],[0,"&Uring;"],[0,"&uring;"],[0,"&Udblac;"],[0,"&udblac;"],[0,"&Uogon;"],[0,"&uogon;"],[0,"&Wcirc;"],[0,"&wcirc;"],[0,"&Ycirc;"],[0,"&ycirc;"],[0,"&Yuml;"],[0,"&Zacute;"],[0,"&zacute;"],[0,"&Zdot;"],[0,"&zdot;"],[0,"&Zcaron;"],[0,"&zcaron;"],[19,"&fnof;"],[34,"&imped;"],[63,"&gacute;"],[65,"&jmath;"],[142,"&circ;"],[0,"&caron;"],[16,"&breve;"],[0,"&DiacriticalDot;"],[0,"&ring;"],[0,"&ogon;"],[0,"&DiacriticalTilde;"],[0,"&dblac;"],[51,"&DownBreve;"],[127,"&Alpha;"],[0,"&Beta;"],[0,"&Gamma;"],[0,"&Delta;"],[0,"&Epsilon;"],[0,"&Zeta;"],[0,"&Eta;"],[0,"&Theta;"],[0,"&Iota;"],[0,"&Kappa;"],[0,"&Lambda;"],[0,"&Mu;"],[0,"&Nu;"],[0,"&Xi;"],[0,"&Omicron;"],[0,"&Pi;"],[0,"&Rho;"],[1,"&Sigma;"],[0,"&Tau;"],[0,"&Upsilon;"],[0,"&Phi;"],[0,"&Chi;"],[0,"&Psi;"],[0,"&ohm;"],[7,"&alpha;"],[0,"&beta;"],[0,"&gamma;"],[0,"&delta;"],[0,"&epsi;"],[0,"&zeta;"],[0,"&eta;"],[0,"&theta;"],[0,"&iota;"],[0,"&kappa;"],[0,"&lambda;"],[0,"&mu;"],[0,"&nu;"],[0,"&xi;"],[0,"&omicron;"],[0,"&pi;"],[0,"&rho;"],[0,"&sigmaf;"],[0,"&sigma;"],[0,"&tau;"],[0,"&upsi;"],[0,"&phi;"],[0,"&chi;"],[0,"&psi;"],[0,"&omega;"],[7,"&thetasym;"],[0,"&Upsi;"],[2,"&phiv;"],[0,"&piv;"],[5,"&Gammad;"],[0,"&digamma;"],[18,"&kappav;"],[0,"&rhov;"],[3,"&epsiv;"],[0,"&backepsilon;"],[10,"&IOcy;"],[0,"&DJcy;"],[0,"&GJcy;"],[0,"&Jukcy;"],[0,"&DScy;"],[0,"&Iukcy;"],[0,"&YIcy;"],[0,"&Jsercy;"],[0,"&LJcy;"],[0,"&NJcy;"],[0,"&TSHcy;"],[0,"&KJcy;"],[1,"&Ubrcy;"],[0,"&DZcy;"],[0,"&Acy;"],[0,"&Bcy;"],[0,"&Vcy;"],[0,"&Gcy;"],[0,"&Dcy;"],[0,"&IEcy;"],[0,"&ZHcy;"],[0,"&Zcy;"],[0,"&Icy;"],[0,"&Jcy;"],[0,"&Kcy;"],[0,"&Lcy;"],[0,"&Mcy;"],[0,"&Ncy;"],[0,"&Ocy;"],[0,"&Pcy;"],[0,"&Rcy;"],[0,"&Scy;"],[0,"&Tcy;"],[0,"&Ucy;"],[0,"&Fcy;"],[0,"&KHcy;"],[0,"&TScy;"],[0,"&CHcy;"],[0,"&SHcy;"],[0,"&SHCHcy;"],[0,"&HARDcy;"],[0,"&Ycy;"],[0,"&SOFTcy;"],[0,"&Ecy;"],[0,"&YUcy;"],[0,"&YAcy;"],[0,"&acy;"],[0,"&bcy;"],[0,"&vcy;"],[0,"&gcy;"],[0,"&dcy;"],[0,"&iecy;"],[0,"&zhcy;"],[0,"&zcy;"],[0,"&icy;"],[0,"&jcy;"],[0,"&kcy;"],[0,"&lcy;"],[0,"&mcy;"],[0,"&ncy;"],[0,"&ocy;"],[0,"&pcy;"],[0,"&rcy;"],[0,"&scy;"],[0,"&tcy;"],[0,"&ucy;"],[0,"&fcy;"],[0,"&khcy;"],[0,"&tscy;"],[0,"&chcy;"],[0,"&shcy;"],[0,"&shchcy;"],[0,"&hardcy;"],[0,"&ycy;"],[0,"&softcy;"],[0,"&ecy;"],[0,"&yucy;"],[0,"&yacy;"],[1,"&iocy;"],[0,"&djcy;"],[0,"&gjcy;"],[0,"&jukcy;"],[0,"&dscy;"],[0,"&iukcy;"],[0,"&yicy;"],[0,"&jsercy;"],[0,"&ljcy;"],[0,"&njcy;"],[0,"&tshcy;"],[0,"&kjcy;"],[1,"&ubrcy;"],[0,"&dzcy;"],[7074,"&ensp;"],[0,"&emsp;"],[0,"&emsp13;"],[0,"&emsp14;"],[1,"&numsp;"],[0,"&puncsp;"],[0,"&ThinSpace;"],[0,"&hairsp;"],[0,"&NegativeMediumSpace;"],[0,"&zwnj;"],[0,"&zwj;"],[0,"&lrm;"],[0,"&rlm;"],[0,"&dash;"],[2,"&ndash;"],[0,"&mdash;"],[0,"&horbar;"],[0,"&Verbar;"],[1,"&lsquo;"],[0,"&CloseCurlyQuote;"],[0,"&lsquor;"],[1,"&ldquo;"],[0,"&CloseCurlyDoubleQuote;"],[0,"&bdquo;"],[1,"&dagger;"],[0,"&Dagger;"],[0,"&bull;"],[2,"&nldr;"],[0,"&hellip;"],[9,"&permil;"],[0,"&pertenk;"],[0,"&prime;"],[0,"&Prime;"],[0,"&tprime;"],[0,"&backprime;"],[3,"&lsaquo;"],[0,"&rsaquo;"],[3,"&oline;"],[2,"&caret;"],[1,"&hybull;"],[0,"&frasl;"],[10,"&bsemi;"],[7,"&qprime;"],[7,{v:"&MediumSpace;",n:8202,o:"&ThickSpace;"}],[0,"&NoBreak;"],[0,"&af;"],[0,"&InvisibleTimes;"],[0,"&ic;"],[72,"&euro;"],[46,"&tdot;"],[0,"&DotDot;"],[37,"&complexes;"],[2,"&incare;"],[4,"&gscr;"],[0,"&hamilt;"],[0,"&Hfr;"],[0,"&Hopf;"],[0,"&planckh;"],[0,"&hbar;"],[0,"&imagline;"],[0,"&Ifr;"],[0,"&lagran;"],[0,"&ell;"],[1,"&naturals;"],[0,"&numero;"],[0,"&copysr;"],[0,"&weierp;"],[0,"&Popf;"],[0,"&Qopf;"],[0,"&realine;"],[0,"&real;"],[0,"&reals;"],[0,"&rx;"],[3,"&trade;"],[1,"&integers;"],[2,"&mho;"],[0,"&zeetrf;"],[0,"&iiota;"],[2,"&bernou;"],[0,"&Cayleys;"],[1,"&escr;"],[0,"&Escr;"],[0,"&Fouriertrf;"],[1,"&Mellintrf;"],[0,"&order;"],[0,"&alefsym;"],[0,"&beth;"],[0,"&gimel;"],[0,"&daleth;"],[12,"&CapitalDifferentialD;"],[0,"&dd;"],[0,"&ee;"],[0,"&ii;"],[10,"&frac13;"],[0,"&frac23;"],[0,"&frac15;"],[0,"&frac25;"],[0,"&frac35;"],[0,"&frac45;"],[0,"&frac16;"],[0,"&frac56;"],[0,"&frac18;"],[0,"&frac38;"],[0,"&frac58;"],[0,"&frac78;"],[49,"&larr;"],[0,"&ShortUpArrow;"],[0,"&rarr;"],[0,"&darr;"],[0,"&harr;"],[0,"&updownarrow;"],[0,"&nwarr;"],[0,"&nearr;"],[0,"&LowerRightArrow;"],[0,"&LowerLeftArrow;"],[0,"&nlarr;"],[0,"&nrarr;"],[1,{v:"&rarrw;",n:824,o:"&nrarrw;"}],[0,"&Larr;"],[0,"&Uarr;"],[0,"&Rarr;"],[0,"&Darr;"],[0,"&larrtl;"],[0,"&rarrtl;"],[0,"&LeftTeeArrow;"],[0,"&mapstoup;"],[0,"&map;"],[0,"&DownTeeArrow;"],[1,"&hookleftarrow;"],[0,"&hookrightarrow;"],[0,"&larrlp;"],[0,"&looparrowright;"],[0,"&harrw;"],[0,"&nharr;"],[1,"&lsh;"],[0,"&rsh;"],[0,"&ldsh;"],[0,"&rdsh;"],[1,"&crarr;"],[0,"&cularr;"],[0,"&curarr;"],[2,"&circlearrowleft;"],[0,"&circlearrowright;"],[0,"&leftharpoonup;"],[0,"&DownLeftVector;"],[0,"&RightUpVector;"],[0,"&LeftUpVector;"],[0,"&rharu;"],[0,"&DownRightVector;"],[0,"&dharr;"],[0,"&dharl;"],[0,"&RightArrowLeftArrow;"],[0,"&udarr;"],[0,"&LeftArrowRightArrow;"],[0,"&leftleftarrows;"],[0,"&upuparrows;"],[0,"&rightrightarrows;"],[0,"&ddarr;"],[0,"&leftrightharpoons;"],[0,"&Equilibrium;"],[0,"&nlArr;"],[0,"&nhArr;"],[0,"&nrArr;"],[0,"&DoubleLeftArrow;"],[0,"&DoubleUpArrow;"],[0,"&DoubleRightArrow;"],[0,"&dArr;"],[0,"&DoubleLeftRightArrow;"],[0,"&DoubleUpDownArrow;"],[0,"&nwArr;"],[0,"&neArr;"],[0,"&seArr;"],[0,"&swArr;"],[0,"&lAarr;"],[0,"&rAarr;"],[1,"&zigrarr;"],[6,"&larrb;"],[0,"&rarrb;"],[15,"&DownArrowUpArrow;"],[7,"&loarr;"],[0,"&roarr;"],[0,"&hoarr;"],[0,"&forall;"],[0,"&comp;"],[0,{v:"&part;",n:824,o:"&npart;"}],[0,"&exist;"],[0,"&nexist;"],[0,"&empty;"],[1,"&Del;"],[0,"&Element;"],[0,"&NotElement;"],[1,"&ni;"],[0,"&notni;"],[2,"&prod;"],[0,"&coprod;"],[0,"&sum;"],[0,"&minus;"],[0,"&MinusPlus;"],[0,"&dotplus;"],[1,"&Backslash;"],[0,"&lowast;"],[0,"&compfn;"],[1,"&radic;"],[2,"&prop;"],[0,"&infin;"],[0,"&angrt;"],[0,{v:"&ang;",n:8402,o:"&nang;"}],[0,"&angmsd;"],[0,"&angsph;"],[0,"&mid;"],[0,"&nmid;"],[0,"&DoubleVerticalBar;"],[0,"&NotDoubleVerticalBar;"],[0,"&and;"],[0,"&or;"],[0,{v:"&cap;",n:65024,o:"&caps;"}],[0,{v:"&cup;",n:65024,o:"&cups;"}],[0,"&int;"],[0,"&Int;"],[0,"&iiint;"],[0,"&conint;"],[0,"&Conint;"],[0,"&Cconint;"],[0,"&cwint;"],[0,"&ClockwiseContourIntegral;"],[0,"&awconint;"],[0,"&there4;"],[0,"&becaus;"],[0,"&ratio;"],[0,"&Colon;"],[0,"&dotminus;"],[1,"&mDDot;"],[0,"&homtht;"],[0,{v:"&sim;",n:8402,o:"&nvsim;"}],[0,{v:"&backsim;",n:817,o:"&race;"}],[0,{v:"&ac;",n:819,o:"&acE;"}],[0,"&acd;"],[0,"&VerticalTilde;"],[0,"&NotTilde;"],[0,{v:"&eqsim;",n:824,o:"&nesim;"}],[0,"&sime;"],[0,"&NotTildeEqual;"],[0,"&cong;"],[0,"&simne;"],[0,"&ncong;"],[0,"&ap;"],[0,"&nap;"],[0,"&ape;"],[0,{v:"&apid;",n:824,o:"&napid;"}],[0,"&backcong;"],[0,{v:"&asympeq;",n:8402,o:"&nvap;"}],[0,{v:"&bump;",n:824,o:"&nbump;"}],[0,{v:"&bumpe;",n:824,o:"&nbumpe;"}],[0,{v:"&doteq;",n:824,o:"&nedot;"}],[0,"&doteqdot;"],[0,"&efDot;"],[0,"&erDot;"],[0,"&Assign;"],[0,"&ecolon;"],[0,"&ecir;"],[0,"&circeq;"],[1,"&wedgeq;"],[0,"&veeeq;"],[1,"&triangleq;"],[2,"&equest;"],[0,"&ne;"],[0,{v:"&Congruent;",n:8421,o:"&bnequiv;"}],[0,"&nequiv;"],[1,{v:"&le;",n:8402,o:"&nvle;"}],[0,{v:"&ge;",n:8402,o:"&nvge;"}],[0,{v:"&lE;",n:824,o:"&nlE;"}],[0,{v:"&gE;",n:824,o:"&ngE;"}],[0,{v:"&lnE;",n:65024,o:"&lvertneqq;"}],[0,{v:"&gnE;",n:65024,o:"&gvertneqq;"}],[0,{v:"&ll;",n:new Map(n([[824,"&nLtv;"],[7577,"&nLt;"]]))}],[0,{v:"&gg;",n:new Map(n([[824,"&nGtv;"],[7577,"&nGt;"]]))}],[0,"&between;"],[0,"&NotCupCap;"],[0,"&nless;"],[0,"&ngt;"],[0,"&nle;"],[0,"&nge;"],[0,"&lesssim;"],[0,"&GreaterTilde;"],[0,"&nlsim;"],[0,"&ngsim;"],[0,"&LessGreater;"],[0,"&gl;"],[0,"&NotLessGreater;"],[0,"&NotGreaterLess;"],[0,"&pr;"],[0,"&sc;"],[0,"&prcue;"],[0,"&sccue;"],[0,"&PrecedesTilde;"],[0,{v:"&scsim;",n:824,o:"&NotSucceedsTilde;"}],[0,"&NotPrecedes;"],[0,"&NotSucceeds;"],[0,{v:"&sub;",n:8402,o:"&NotSubset;"}],[0,{v:"&sup;",n:8402,o:"&NotSuperset;"}],[0,"&nsub;"],[0,"&nsup;"],[0,"&sube;"],[0,"&supe;"],[0,"&NotSubsetEqual;"],[0,"&NotSupersetEqual;"],[0,{v:"&subne;",n:65024,o:"&varsubsetneq;"}],[0,{v:"&supne;",n:65024,o:"&varsupsetneq;"}],[1,"&cupdot;"],[0,"&UnionPlus;"],[0,{v:"&sqsub;",n:824,o:"&NotSquareSubset;"}],[0,{v:"&sqsup;",n:824,o:"&NotSquareSuperset;"}],[0,"&sqsube;"],[0,"&sqsupe;"],[0,{v:"&sqcap;",n:65024,o:"&sqcaps;"}],[0,{v:"&sqcup;",n:65024,o:"&sqcups;"}],[0,"&CirclePlus;"],[0,"&CircleMinus;"],[0,"&CircleTimes;"],[0,"&osol;"],[0,"&CircleDot;"],[0,"&circledcirc;"],[0,"&circledast;"],[1,"&circleddash;"],[0,"&boxplus;"],[0,"&boxminus;"],[0,"&boxtimes;"],[0,"&dotsquare;"],[0,"&RightTee;"],[0,"&dashv;"],[0,"&DownTee;"],[0,"&bot;"],[1,"&models;"],[0,"&DoubleRightTee;"],[0,"&Vdash;"],[0,"&Vvdash;"],[0,"&VDash;"],[0,"&nvdash;"],[0,"&nvDash;"],[0,"&nVdash;"],[0,"&nVDash;"],[0,"&prurel;"],[1,"&LeftTriangle;"],[0,"&RightTriangle;"],[0,{v:"&LeftTriangleEqual;",n:8402,o:"&nvltrie;"}],[0,{v:"&RightTriangleEqual;",n:8402,o:"&nvrtrie;"}],[0,"&origof;"],[0,"&imof;"],[0,"&multimap;"],[0,"&hercon;"],[0,"&intcal;"],[0,"&veebar;"],[1,"&barvee;"],[0,"&angrtvb;"],[0,"&lrtri;"],[0,"&bigwedge;"],[0,"&bigvee;"],[0,"&bigcap;"],[0,"&bigcup;"],[0,"&diam;"],[0,"&sdot;"],[0,"&sstarf;"],[0,"&divideontimes;"],[0,"&bowtie;"],[0,"&ltimes;"],[0,"&rtimes;"],[0,"&leftthreetimes;"],[0,"&rightthreetimes;"],[0,"&backsimeq;"],[0,"&curlyvee;"],[0,"&curlywedge;"],[0,"&Sub;"],[0,"&Sup;"],[0,"&Cap;"],[0,"&Cup;"],[0,"&fork;"],[0,"&epar;"],[0,"&lessdot;"],[0,"&gtdot;"],[0,{v:"&Ll;",n:824,o:"&nLl;"}],[0,{v:"&Gg;",n:824,o:"&nGg;"}],[0,{v:"&leg;",n:65024,o:"&lesg;"}],[0,{v:"&gel;",n:65024,o:"&gesl;"}],[2,"&cuepr;"],[0,"&cuesc;"],[0,"&NotPrecedesSlantEqual;"],[0,"&NotSucceedsSlantEqual;"],[0,"&NotSquareSubsetEqual;"],[0,"&NotSquareSupersetEqual;"],[2,"&lnsim;"],[0,"&gnsim;"],[0,"&precnsim;"],[0,"&scnsim;"],[0,"&nltri;"],[0,"&NotRightTriangle;"],[0,"&nltrie;"],[0,"&NotRightTriangleEqual;"],[0,"&vellip;"],[0,"&ctdot;"],[0,"&utdot;"],[0,"&dtdot;"],[0,"&disin;"],[0,"&isinsv;"],[0,"&isins;"],[0,{v:"&isindot;",n:824,o:"&notindot;"}],[0,"&notinvc;"],[0,"&notinvb;"],[1,{v:"&isinE;",n:824,o:"&notinE;"}],[0,"&nisd;"],[0,"&xnis;"],[0,"&nis;"],[0,"&notnivc;"],[0,"&notnivb;"],[6,"&barwed;"],[0,"&Barwed;"],[1,"&lceil;"],[0,"&rceil;"],[0,"&LeftFloor;"],[0,"&rfloor;"],[0,"&drcrop;"],[0,"&dlcrop;"],[0,"&urcrop;"],[0,"&ulcrop;"],[0,"&bnot;"],[1,"&profline;"],[0,"&profsurf;"],[1,"&telrec;"],[0,"&target;"],[5,"&ulcorn;"],[0,"&urcorn;"],[0,"&dlcorn;"],[0,"&drcorn;"],[2,"&frown;"],[0,"&smile;"],[9,"&cylcty;"],[0,"&profalar;"],[7,"&topbot;"],[6,"&ovbar;"],[1,"&solbar;"],[60,"&angzarr;"],[51,"&lmoustache;"],[0,"&rmoustache;"],[2,"&OverBracket;"],[0,"&bbrk;"],[0,"&bbrktbrk;"],[37,"&OverParenthesis;"],[0,"&UnderParenthesis;"],[0,"&OverBrace;"],[0,"&UnderBrace;"],[2,"&trpezium;"],[4,"&elinters;"],[59,"&blank;"],[164,"&circledS;"],[55,"&boxh;"],[1,"&boxv;"],[9,"&boxdr;"],[3,"&boxdl;"],[3,"&boxur;"],[3,"&boxul;"],[3,"&boxvr;"],[7,"&boxvl;"],[7,"&boxhd;"],[7,"&boxhu;"],[7,"&boxvh;"],[19,"&boxH;"],[0,"&boxV;"],[0,"&boxdR;"],[0,"&boxDr;"],[0,"&boxDR;"],[0,"&boxdL;"],[0,"&boxDl;"],[0,"&boxDL;"],[0,"&boxuR;"],[0,"&boxUr;"],[0,"&boxUR;"],[0,"&boxuL;"],[0,"&boxUl;"],[0,"&boxUL;"],[0,"&boxvR;"],[0,"&boxVr;"],[0,"&boxVR;"],[0,"&boxvL;"],[0,"&boxVl;"],[0,"&boxVL;"],[0,"&boxHd;"],[0,"&boxhD;"],[0,"&boxHD;"],[0,"&boxHu;"],[0,"&boxhU;"],[0,"&boxHU;"],[0,"&boxvH;"],[0,"&boxVh;"],[0,"&boxVH;"],[19,"&uhblk;"],[3,"&lhblk;"],[3,"&block;"],[8,"&blk14;"],[0,"&blk12;"],[0,"&blk34;"],[13,"&square;"],[8,"&blacksquare;"],[0,"&EmptyVerySmallSquare;"],[1,"&rect;"],[0,"&marker;"],[2,"&fltns;"],[1,"&bigtriangleup;"],[0,"&blacktriangle;"],[0,"&triangle;"],[2,"&blacktriangleright;"],[0,"&rtri;"],[3,"&bigtriangledown;"],[0,"&blacktriangledown;"],[0,"&dtri;"],[2,"&blacktriangleleft;"],[0,"&ltri;"],[6,"&loz;"],[0,"&cir;"],[32,"&tridot;"],[2,"&bigcirc;"],[8,"&ultri;"],[0,"&urtri;"],[0,"&lltri;"],[0,"&EmptySmallSquare;"],[0,"&FilledSmallSquare;"],[8,"&bigstar;"],[0,"&star;"],[7,"&phone;"],[49,"&female;"],[1,"&male;"],[29,"&spades;"],[2,"&clubs;"],[1,"&hearts;"],[0,"&diamondsuit;"],[3,"&sung;"],[2,"&flat;"],[0,"&natural;"],[0,"&sharp;"],[163,"&check;"],[3,"&cross;"],[8,"&malt;"],[21,"&sext;"],[33,"&VerticalSeparator;"],[25,"&lbbrk;"],[0,"&rbbrk;"],[84,"&bsolhsub;"],[0,"&suphsol;"],[28,"&LeftDoubleBracket;"],[0,"&RightDoubleBracket;"],[0,"&lang;"],[0,"&rang;"],[0,"&Lang;"],[0,"&Rang;"],[0,"&loang;"],[0,"&roang;"],[7,"&longleftarrow;"],[0,"&longrightarrow;"],[0,"&longleftrightarrow;"],[0,"&DoubleLongLeftArrow;"],[0,"&DoubleLongRightArrow;"],[0,"&DoubleLongLeftRightArrow;"],[1,"&longmapsto;"],[2,"&dzigrarr;"],[258,"&nvlArr;"],[0,"&nvrArr;"],[0,"&nvHarr;"],[0,"&Map;"],[6,"&lbarr;"],[0,"&bkarow;"],[0,"&lBarr;"],[0,"&dbkarow;"],[0,"&drbkarow;"],[0,"&DDotrahd;"],[0,"&UpArrowBar;"],[0,"&DownArrowBar;"],[2,"&Rarrtl;"],[2,"&latail;"],[0,"&ratail;"],[0,"&lAtail;"],[0,"&rAtail;"],[0,"&larrfs;"],[0,"&rarrfs;"],[0,"&larrbfs;"],[0,"&rarrbfs;"],[2,"&nwarhk;"],[0,"&nearhk;"],[0,"&hksearow;"],[0,"&hkswarow;"],[0,"&nwnear;"],[0,"&nesear;"],[0,"&seswar;"],[0,"&swnwar;"],[8,{v:"&rarrc;",n:824,o:"&nrarrc;"}],[1,"&cudarrr;"],[0,"&ldca;"],[0,"&rdca;"],[0,"&cudarrl;"],[0,"&larrpl;"],[2,"&curarrm;"],[0,"&cularrp;"],[7,"&rarrpl;"],[2,"&harrcir;"],[0,"&Uarrocir;"],[0,"&lurdshar;"],[0,"&ldrushar;"],[2,"&LeftRightVector;"],[0,"&RightUpDownVector;"],[0,"&DownLeftRightVector;"],[0,"&LeftUpDownVector;"],[0,"&LeftVectorBar;"],[0,"&RightVectorBar;"],[0,"&RightUpVectorBar;"],[0,"&RightDownVectorBar;"],[0,"&DownLeftVectorBar;"],[0,"&DownRightVectorBar;"],[0,"&LeftUpVectorBar;"],[0,"&LeftDownVectorBar;"],[0,"&LeftTeeVector;"],[0,"&RightTeeVector;"],[0,"&RightUpTeeVector;"],[0,"&RightDownTeeVector;"],[0,"&DownLeftTeeVector;"],[0,"&DownRightTeeVector;"],[0,"&LeftUpTeeVector;"],[0,"&LeftDownTeeVector;"],[0,"&lHar;"],[0,"&uHar;"],[0,"&rHar;"],[0,"&dHar;"],[0,"&luruhar;"],[0,"&ldrdhar;"],[0,"&ruluhar;"],[0,"&rdldhar;"],[0,"&lharul;"],[0,"&llhard;"],[0,"&rharul;"],[0,"&lrhard;"],[0,"&udhar;"],[0,"&duhar;"],[0,"&RoundImplies;"],[0,"&erarr;"],[0,"&simrarr;"],[0,"&larrsim;"],[0,"&rarrsim;"],[0,"&rarrap;"],[0,"&ltlarr;"],[1,"&gtrarr;"],[0,"&subrarr;"],[1,"&suplarr;"],[0,"&lfisht;"],[0,"&rfisht;"],[0,"&ufisht;"],[0,"&dfisht;"],[5,"&lopar;"],[0,"&ropar;"],[4,"&lbrke;"],[0,"&rbrke;"],[0,"&lbrkslu;"],[0,"&rbrksld;"],[0,"&lbrksld;"],[0,"&rbrkslu;"],[0,"&langd;"],[0,"&rangd;"],[0,"&lparlt;"],[0,"&rpargt;"],[0,"&gtlPar;"],[0,"&ltrPar;"],[3,"&vzigzag;"],[1,"&vangrt;"],[0,"&angrtvbd;"],[6,"&ange;"],[0,"&range;"],[0,"&dwangle;"],[0,"&uwangle;"],[0,"&angmsdaa;"],[0,"&angmsdab;"],[0,"&angmsdac;"],[0,"&angmsdad;"],[0,"&angmsdae;"],[0,"&angmsdaf;"],[0,"&angmsdag;"],[0,"&angmsdah;"],[0,"&bemptyv;"],[0,"&demptyv;"],[0,"&cemptyv;"],[0,"&raemptyv;"],[0,"&laemptyv;"],[0,"&ohbar;"],[0,"&omid;"],[0,"&opar;"],[1,"&operp;"],[1,"&olcross;"],[0,"&odsold;"],[1,"&olcir;"],[0,"&ofcir;"],[0,"&olt;"],[0,"&ogt;"],[0,"&cirscir;"],[0,"&cirE;"],[0,"&solb;"],[0,"&bsolb;"],[3,"&boxbox;"],[3,"&trisb;"],[0,"&rtriltri;"],[0,{v:"&LeftTriangleBar;",n:824,o:"&NotLeftTriangleBar;"}],[0,{v:"&RightTriangleBar;",n:824,o:"&NotRightTriangleBar;"}],[11,"&iinfin;"],[0,"&infintie;"],[0,"&nvinfin;"],[4,"&eparsl;"],[0,"&smeparsl;"],[0,"&eqvparsl;"],[5,"&blacklozenge;"],[8,"&RuleDelayed;"],[1,"&dsol;"],[9,"&bigodot;"],[0,"&bigoplus;"],[0,"&bigotimes;"],[1,"&biguplus;"],[1,"&bigsqcup;"],[5,"&iiiint;"],[0,"&fpartint;"],[2,"&cirfnint;"],[0,"&awint;"],[0,"&rppolint;"],[0,"&scpolint;"],[0,"&npolint;"],[0,"&pointint;"],[0,"&quatint;"],[0,"&intlarhk;"],[10,"&pluscir;"],[0,"&plusacir;"],[0,"&simplus;"],[0,"&plusdu;"],[0,"&plussim;"],[0,"&plustwo;"],[1,"&mcomma;"],[0,"&minusdu;"],[2,"&loplus;"],[0,"&roplus;"],[0,"&Cross;"],[0,"&timesd;"],[0,"&timesbar;"],[1,"&smashp;"],[0,"&lotimes;"],[0,"&rotimes;"],[0,"&otimesas;"],[0,"&Otimes;"],[0,"&odiv;"],[0,"&triplus;"],[0,"&triminus;"],[0,"&tritime;"],[0,"&intprod;"],[2,"&amalg;"],[0,"&capdot;"],[1,"&ncup;"],[0,"&ncap;"],[0,"&capand;"],[0,"&cupor;"],[0,"&cupcap;"],[0,"&capcup;"],[0,"&cupbrcap;"],[0,"&capbrcup;"],[0,"&cupcup;"],[0,"&capcap;"],[0,"&ccups;"],[0,"&ccaps;"],[2,"&ccupssm;"],[2,"&And;"],[0,"&Or;"],[0,"&andand;"],[0,"&oror;"],[0,"&orslope;"],[0,"&andslope;"],[1,"&andv;"],[0,"&orv;"],[0,"&andd;"],[0,"&ord;"],[1,"&wedbar;"],[6,"&sdote;"],[3,"&simdot;"],[2,{v:"&congdot;",n:824,o:"&ncongdot;"}],[0,"&easter;"],[0,"&apacir;"],[0,{v:"&apE;",n:824,o:"&napE;"}],[0,"&eplus;"],[0,"&pluse;"],[0,"&Esim;"],[0,"&Colone;"],[0,"&Equal;"],[1,"&ddotseq;"],[0,"&equivDD;"],[0,"&ltcir;"],[0,"&gtcir;"],[0,"&ltquest;"],[0,"&gtquest;"],[0,{v:"&leqslant;",n:824,o:"&nleqslant;"}],[0,{v:"&geqslant;",n:824,o:"&ngeqslant;"}],[0,"&lesdot;"],[0,"&gesdot;"],[0,"&lesdoto;"],[0,"&gesdoto;"],[0,"&lesdotor;"],[0,"&gesdotol;"],[0,"&lap;"],[0,"&gap;"],[0,"&lne;"],[0,"&gne;"],[0,"&lnap;"],[0,"&gnap;"],[0,"&lEg;"],[0,"&gEl;"],[0,"&lsime;"],[0,"&gsime;"],[0,"&lsimg;"],[0,"&gsiml;"],[0,"&lgE;"],[0,"&glE;"],[0,"&lesges;"],[0,"&gesles;"],[0,"&els;"],[0,"&egs;"],[0,"&elsdot;"],[0,"&egsdot;"],[0,"&el;"],[0,"&eg;"],[2,"&siml;"],[0,"&simg;"],[0,"&simlE;"],[0,"&simgE;"],[0,{v:"&LessLess;",n:824,o:"&NotNestedLessLess;"}],[0,{v:"&GreaterGreater;",n:824,o:"&NotNestedGreaterGreater;"}],[1,"&glj;"],[0,"&gla;"],[0,"&ltcc;"],[0,"&gtcc;"],[0,"&lescc;"],[0,"&gescc;"],[0,"&smt;"],[0,"&lat;"],[0,{v:"&smte;",n:65024,o:"&smtes;"}],[0,{v:"&late;",n:65024,o:"&lates;"}],[0,"&bumpE;"],[0,{v:"&PrecedesEqual;",n:824,o:"&NotPrecedesEqual;"}],[0,{v:"&sce;",n:824,o:"&NotSucceedsEqual;"}],[2,"&prE;"],[0,"&scE;"],[0,"&precneqq;"],[0,"&scnE;"],[0,"&prap;"],[0,"&scap;"],[0,"&precnapprox;"],[0,"&scnap;"],[0,"&Pr;"],[0,"&Sc;"],[0,"&subdot;"],[0,"&supdot;"],[0,"&subplus;"],[0,"&supplus;"],[0,"&submult;"],[0,"&supmult;"],[0,"&subedot;"],[0,"&supedot;"],[0,{v:"&subE;",n:824,o:"&nsubE;"}],[0,{v:"&supE;",n:824,o:"&nsupE;"}],[0,"&subsim;"],[0,"&supsim;"],[2,{v:"&subnE;",n:65024,o:"&varsubsetneqq;"}],[0,{v:"&supnE;",n:65024,o:"&varsupsetneqq;"}],[2,"&csub;"],[0,"&csup;"],[0,"&csube;"],[0,"&csupe;"],[0,"&subsup;"],[0,"&supsub;"],[0,"&subsub;"],[0,"&supsup;"],[0,"&suphsub;"],[0,"&supdsub;"],[0,"&forkv;"],[0,"&topfork;"],[0,"&mlcp;"],[8,"&Dashv;"],[1,"&Vdashl;"],[0,"&Barv;"],[0,"&vBar;"],[0,"&vBarv;"],[1,"&Vbar;"],[0,"&Not;"],[0,"&bNot;"],[0,"&rnmid;"],[0,"&cirmid;"],[0,"&midcir;"],[0,"&topcir;"],[0,"&nhpar;"],[0,"&parsim;"],[9,{v:"&parsl;",n:8421,o:"&nparsl;"}],[44343,{n:new Map(n([[56476,"&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,"&Dopf;"],[0,"&Eopf;"],[0,"&Fopf;"],[0,"&Gopf;"],[1,"&Iopf;"],[0,"&Jopf;"],[0,"&Kopf;"],[0,"&Lopf;"],[0,"&Mopf;"],[1,"&Oopf;"],[3,"&Sopf;"],[0,"&Topf;"],[0,"&Uopf;"],[0,"&Vopf;"],[0,"&Wopf;"],[0,"&Xopf;"],[0,"&Yopf;"],[1,"&aopf;"],[0,"&bopf;"],[0,"&copf;"],[0,"&dopf;"],[0,"&eopf;"],[0,"&fopf;"],[0,"&gopf;"],[0,"&hopf;"],[0,"&iopf;"],[0,"&jopf;"],[0,"&kopf;"],[0,"&lopf;"],[0,"&mopf;"],[0,"&nopf;"],[0,"&oopf;"],[0,"&popf;"],[0,"&qopf;"],[0,"&ropf;"],[0,"&sopf;"],[0,"&topf;"],[0,"&uopf;"],[0,"&vopf;"],[0,"&wopf;"],[0,"&xopf;"],[0,"&yopf;"],[0,"&zopf;"]]))}],[8906,"&fflig;"],[0,"&filig;"],[0,"&fllig;"],[0,"&ffilig;"],[0,"&ffllig;"]]))},2305:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLAttribute=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.DecodingMode=t.EntityDecoder=t.encodeHTML5=t.encodeHTML4=t.encodeNonAsciiHTML=t.encodeHTML=t.escapeText=t.escapeAttribute=t.escapeUTF8=t.escape=t.encodeXML=t.encode=t.decodeStrict=t.decode=t.EncodingMode=t.EntityLevel=void 0;var r,i,o=n(3379),a=n(3231),s=n(7078);function l(e,t){if(void 0===t&&(t=r.XML),("number"==typeof t?t:t.level)===r.HTML){var n="object"==typeof t?t.mode:void 0;return(0,o.decodeHTML)(e,n)}return(0,o.decodeXML)(e)}!function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"}(r=t.EntityLevel||(t.EntityLevel={})),function(e){e[e.UTF8=0]="UTF8",e[e.ASCII=1]="ASCII",e[e.Extensive=2]="Extensive",e[e.Attribute=3]="Attribute",e[e.Text=4]="Text"}(i=t.EncodingMode||(t.EncodingMode={})),t.decode=l,t.decodeStrict=function(e,t){var n;void 0===t&&(t=r.XML);var i="number"==typeof t?{level:t}:t;return null!==(n=i.mode)&&void 0!==n||(i.mode=o.DecodingMode.Strict),l(e,i)},t.encode=function(e,t){void 0===t&&(t=r.XML);var n="number"==typeof t?{level:t}:t;return n.mode===i.UTF8?(0,s.escapeUTF8)(e):n.mode===i.Attribute?(0,s.escapeAttribute)(e):n.mode===i.Text?(0,s.escapeText)(e):n.level===r.HTML?n.mode===i.ASCII?(0,a.encodeNonAsciiHTML)(e):(0,a.encodeHTML)(e):(0,s.encodeXML)(e)};var c=n(7078);Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return c.encodeXML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return c.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return c.escapeUTF8}}),Object.defineProperty(t,"escapeAttribute",{enumerable:!0,get:function(){return c.escapeAttribute}}),Object.defineProperty(t,"escapeText",{enumerable:!0,get:function(){return c.escapeText}});var u=n(3231);Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return u.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return u.encodeNonAsciiHTML}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return u.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return u.encodeHTML}});var d=n(3379);Object.defineProperty(t,"EntityDecoder",{enumerable:!0,get:function(){return d.EntityDecoder}}),Object.defineProperty(t,"DecodingMode",{enumerable:!0,get:function(){return d.DecodingMode}}),Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return d.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return d.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return d.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTMLAttribute",{enumerable:!0,get:function(){return d.decodeHTMLAttribute}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return d.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return d.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return d.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return d.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return d.decodeXML}})},2189:e=>{"use strict";e.exports=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},4867:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,l(r.key),r)}}function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(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)}var c=n(5442),u=n(9067),d=n(8654).createFocusTrap,f=n(679).isFocusable,p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o(e,t)}(h,e);var t,n,u,d,p=(u=h,d=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.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,t=s(u);if(d){var n=s(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return a(e)}(this,e)});function h(e){var t,n,r,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,h),n=a(t=p.call(this,e)),i=function(e){var t,n=null!==(t=this.internalOptions[e])&&void 0!==t?t:this.originalOptions[e];if("function"==typeof n){for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];n=n.apply(void 0,i)}if(!0===n&&(n=void 0),!n){if(void 0===n||!1===n)return n;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var a,s=n;if("string"==typeof n&&!(s=null===(a=this.getDocument())||void 0===a?void 0:a.querySelector(n)))throw new Error("`".concat(e,"` as selector refers to no known node"));return s},(r=l(r="getNodeForOption"))in n?Object.defineProperty(n,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[r]=i,t.handleDeactivate=t.handleDeactivate.bind(a(t)),t.handlePostDeactivate=t.handlePostDeactivate.bind(a(t)),t.handleClickOutsideDeactivates=t.handleClickOutsideDeactivates.bind(a(t)),t.internalOptions={returnFocusOnDeactivate:!1,checkCanReturnFocus:null,onDeactivate:t.handleDeactivate,onPostDeactivate:t.handlePostDeactivate,clickOutsideDeactivates:t.handleClickOutsideDeactivates},t.originalOptions={returnFocusOnDeactivate:!0,onDeactivate:null,onPostDeactivate:null,checkCanReturnFocus:null,clickOutsideDeactivates:!1};var o=e.focusTrapOptions;for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&("returnFocusOnDeactivate"!==s&&"onDeactivate"!==s&&"onPostDeactivate"!==s&&"checkCanReturnFocus"!==s&&"clickOutsideDeactivates"!==s?t.internalOptions[s]=o[s]:t.originalOptions[s]=o[s]);return t.outsideClick=null,t.focusTrapElements=e.containerElements||[],t.updatePreviousElement(),t}return t=h,(n=[{key:"getDocument",value:function(){return this.props.focusTrapOptions.document||("undefined"!=typeof document?document:void 0)}},{key:"getReturnFocusNode",value:function(){var e=this.getNodeForOption("setReturnFocus",this.previouslyFocusedElement);return e||!1!==e&&this.previouslyFocusedElement}},{key:"updatePreviousElement",value:function(){var e=this.getDocument();e&&(this.previouslyFocusedElement=e.activeElement)}},{key:"deactivateTrap",value:function(){this.focusTrap&&this.focusTrap.active&&this.focusTrap.deactivate({returnFocus:!1,checkCanReturnFocus:null,onDeactivate:this.originalOptions.onDeactivate})}},{key:"handleClickOutsideDeactivates",value:function(e){var t="function"==typeof this.originalOptions.clickOutsideDeactivates?this.originalOptions.clickOutsideDeactivates.call(null,e):this.originalOptions.clickOutsideDeactivates;return t&&(this.outsideClick={target:e.target,allowDeactivation:t}),t}},{key:"handleDeactivate",value:function(){this.originalOptions.onDeactivate&&this.originalOptions.onDeactivate.call(null),this.deactivateTrap()}},{key:"handlePostDeactivate",value:function(){var e=this,t=function(){var t=e.getReturnFocusNode(),n=!(!e.originalOptions.returnFocusOnDeactivate||null==t||!t.focus||e.outsideClick&&(!e.outsideClick.allowDeactivation||f(e.outsideClick.target,e.internalOptions.tabbableOptions))),r=e.internalOptions.preventScroll,i=void 0!==r&&r;n&&t.focus({preventScroll:i}),e.originalOptions.onPostDeactivate&&e.originalOptions.onPostDeactivate.call(null),e.outsideClick=null};this.originalOptions.checkCanReturnFocus?this.originalOptions.checkCanReturnFocus.call(null,this.getReturnFocusNode()).then(t,t):t()}},{key:"setupFocusTrap",value:function(){this.focusTrap?this.props.active&&!this.focusTrap.active&&(this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause()):this.focusTrapElements.some(Boolean)&&(this.focusTrap=this.props._createFocusTrap(this.focusTrapElements,this.internalOptions),this.props.active&&this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause())}},{key:"componentDidMount",value:function(){this.props.active&&this.setupFocusTrap()}},{key:"componentDidUpdate",value:function(e){if(this.focusTrap){e.containerElements!==this.props.containerElements&&this.focusTrap.updateContainerElements(this.props.containerElements);var t=!e.active&&this.props.active,n=e.active&&!this.props.active,r=!e.paused&&this.props.paused,i=e.paused&&!this.props.paused;if(t&&(this.updatePreviousElement(),this.focusTrap.activate()),n)return void this.deactivateTrap();r&&this.focusTrap.pause(),i&&this.focusTrap.unpause()}else e.containerElements!==this.props.containerElements&&(this.focusTrapElements=this.props.containerElements),this.props.active&&(this.updatePreviousElement(),this.setupFocusTrap())}},{key:"componentWillUnmount",value:function(){this.deactivateTrap()}},{key:"render",value:function(){var e=this,t=this.props.children?c.Children.only(this.props.children):void 0;if(t){if(t.type&&t.type===c.Fragment)throw new Error("A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> element.");return c.cloneElement(t,{ref:function(n){var r=e.props.containerElements;t&&("function"==typeof t.ref?t.ref(n):t.ref&&(t.ref.current=n)),e.focusTrapElements=r||[n]}})}return null}}])&&i(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),h}(c.Component),h="undefined"==typeof Element?Function:Element;p.propTypes={active:u.bool,paused:u.bool,focusTrapOptions:u.shape({document:u.object,onActivate:u.func,onPostActivate:u.func,checkCanFocusTrap:u.func,onPause:u.func,onPostPause:u.func,onUnpause:u.func,onPostUnpause:u.func,onDeactivate:u.func,onPostDeactivate:u.func,checkCanReturnFocus:u.func,initialFocus:u.oneOfType([u.instanceOf(h),u.string,u.bool,u.func]),fallbackFocus:u.oneOfType([u.instanceOf(h),u.string,u.func]),escapeDeactivates:u.oneOfType([u.bool,u.func]),clickOutsideDeactivates:u.oneOfType([u.bool,u.func]),returnFocusOnDeactivate:u.bool,setReturnFocus:u.oneOfType([u.instanceOf(h),u.string,u.bool,u.func]),allowOutsideClick:u.oneOfType([u.bool,u.func]),preventScroll:u.bool,tabbableOptions:u.shape({displayCheck:u.oneOf(["full","legacy-full","non-zero-area","none"]),getShadowRoot:u.oneOfType([u.bool,u.func])}),trapStack:u.array,isKeyForward:u.func,isKeyBackward:u.func}),containerElements:u.arrayOf(u.instanceOf(h)),children:u.oneOfType([u.element,u.instanceOf(h)])},p.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:d},e.exports=p},8654:(e,t,n)=>{"use strict";n.r(t),n.d(t,{createFocusTrap:()=>h});var r=n(679);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){var r,i,o;r=e,i=t,o=n[t],(i=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}(i))in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var a=function(e){return"Tab"===(null==e?void 0:e.key)||9===(null==e?void 0:e.keyCode)},s=function(e){return a(e)&&!e.shiftKey},l=function(e){return a(e)&&e.shiftKey},c=function(e){return setTimeout(e,0)},u=function(e,t){var n=-1;return e.every((function(e,r){return!t(e)||(n=r,!1)})),n},d=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return"function"==typeof e?e.apply(void 0,n):e},f=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},p=[],h=function(e,t){var n,i=(null==t?void 0:t.document)||document,h=(null==t?void 0:t.trapStack)||p,m=o({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:s,isKeyBackward:l},t),g={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},y=function(e,t,n){return e&&void 0!==e[t]?e[t]:m[n||t]},v=function(e,t){var n="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return g.containerGroups.findIndex((function(t){var r=t.container,i=t.tabbableNodes;return r.contains(e)||(null==n?void 0:n.includes(r))||i.find((function(t){return t===e}))}))},b=function(e){var t=m[e];if("function"==typeof t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];t=t.apply(void 0,r)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var a=t;if("string"==typeof t&&!(a=i.querySelector(t)))throw new Error("`".concat(e,"` as selector refers to no known node"));return a},I=function(){var e=b("initialFocus");if(!1===e)return!1;if(void 0===e||!(0,r.isFocusable)(e,m.tabbableOptions))if(v(i.activeElement)>=0)e=i.activeElement;else{var t=g.tabbableGroups[0];e=t&&t.firstTabbableNode||b("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},x=function(){if(g.containerGroups=g.containers.map((function(e){var t=(0,r.tabbable)(e,m.tabbableOptions),n=(0,r.focusable)(e,m.tabbableOptions),i=t.length>0?t[0]:void 0,o=t.length>0?t[t.length-1]:void 0,a=n.find((function(e){return(0,r.isTabbable)(e)})),s=n.slice().reverse().find((function(e){return(0,r.isTabbable)(e)})),l=!!t.find((function(e){return(0,r.getTabIndex)(e)>0}));return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:l,firstTabbableNode:i,lastTabbableNode:o,firstDomTabbableNode:a,lastDomTabbableNode:s,nextTabbableNode:function(e){var i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=t.indexOf(e);return o<0?i?n.slice(n.indexOf(e)+1).find((function(e){return(0,r.isTabbable)(e)})):n.slice(0,n.indexOf(e)).reverse().find((function(e){return(0,r.isTabbable)(e)})):t[o+(i?1:-1)]}}})),g.tabbableGroups=g.containerGroups.filter((function(e){return e.tabbableNodes.length>0})),g.tabbableGroups.length<=0&&!b("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(g.containerGroups.find((function(e){return e.posTabIndexesFound}))&&g.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},w=function e(t){var n=t.activeElement;if(n)return n.shadowRoot&&null!==n.shadowRoot.activeElement?e(n.shadowRoot):n},A=function e(t){!1!==t&&t!==w(document)&&(t&&t.focus?(t.focus({preventScroll:!!m.preventScroll}),g.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(I()))},T=function(e){var t=b("setReturnFocus",e);return t||!1!==t&&e},M=function(e){var t=e.target,n=e.event,i=e.isBackward,o=void 0!==i&&i;t=t||f(n),x();var s=null;if(g.tabbableGroups.length>0){var l=v(t,n),c=l>=0?g.containerGroups[l]:void 0;if(l<0)s=o?g.tabbableGroups[g.tabbableGroups.length-1].lastTabbableNode:g.tabbableGroups[0].firstTabbableNode;else if(o){var d=u(g.tabbableGroups,(function(e){var n=e.firstTabbableNode;return t===n}));if(d<0&&(c.container===t||(0,r.isFocusable)(t,m.tabbableOptions)&&!(0,r.isTabbable)(t,m.tabbableOptions)&&!c.nextTabbableNode(t,!1))&&(d=l),d>=0){var p=0===d?g.tabbableGroups.length-1:d-1,h=g.tabbableGroups[p];s=(0,r.getTabIndex)(t)>=0?h.lastTabbableNode:h.lastDomTabbableNode}else a(n)||(s=c.nextTabbableNode(t,!1))}else{var y=u(g.tabbableGroups,(function(e){var n=e.lastTabbableNode;return t===n}));if(y<0&&(c.container===t||(0,r.isFocusable)(t,m.tabbableOptions)&&!(0,r.isTabbable)(t,m.tabbableOptions)&&!c.nextTabbableNode(t))&&(y=l),y>=0){var I=y===g.tabbableGroups.length-1?0:y+1,w=g.tabbableGroups[I];s=(0,r.getTabIndex)(t)>=0?w.firstTabbableNode:w.firstDomTabbableNode}else a(n)||(s=c.nextTabbableNode(t))}}else s=b("fallbackFocus");return s},C=function(e){var t=f(e);v(t,e)>=0||(d(m.clickOutsideDeactivates,e)?n.deactivate({returnFocus:m.returnFocusOnDeactivate}):d(m.allowOutsideClick,e)||e.preventDefault())},N=function(e){var t=f(e),n=v(t,e)>=0;if(n||t instanceof Document)n&&(g.mostRecentlyFocusedNode=t);else{var i;e.stopImmediatePropagation();var o=!0;if(g.mostRecentlyFocusedNode)if((0,r.getTabIndex)(g.mostRecentlyFocusedNode)>0){var a=v(g.mostRecentlyFocusedNode),s=g.containerGroups[a].tabbableNodes;if(s.length>0){var l=s.findIndex((function(e){return e===g.mostRecentlyFocusedNode}));l>=0&&(m.isKeyForward(g.recentNavEvent)?l+1<s.length&&(i=s[l+1],o=!1):l-1>=0&&(i=s[l-1],o=!1))}}else g.containerGroups.some((function(e){return e.tabbableNodes.some((function(e){return(0,r.getTabIndex)(e)>0}))}))||(o=!1);else o=!1;o&&(i=M({target:g.mostRecentlyFocusedNode,isBackward:m.isKeyBackward(g.recentNavEvent)})),A(i||g.mostRecentlyFocusedNode||I())}g.recentNavEvent=void 0},E=function(e){if(("Escape"===(null==(t=e)?void 0:t.key)||"Esc"===(null==t?void 0:t.key)||27===(null==t?void 0:t.keyCode))&&!1!==d(m.escapeDeactivates,e))return e.preventDefault(),void n.deactivate();var t;(m.isKeyForward(e)||m.isKeyBackward(e))&&function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];g.recentNavEvent=e;var n=M({event:e,isBackward:t});n&&(a(e)&&e.preventDefault(),A(n))}(e,m.isKeyBackward(e))},S=function(e){var t=f(e);v(t,e)>=0||d(m.clickOutsideDeactivates,e)||d(m.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},k=function(){if(g.active)return function(e,t){if(e.length>0){var n=e[e.length-1];n!==t&&n.pause()}var r=e.indexOf(t);-1===r||e.splice(r,1),e.push(t)}(h,n),g.delayInitialFocusTimer=m.delayInitialFocus?c((function(){A(I())})):A(I()),i.addEventListener("focusin",N,!0),i.addEventListener("mousedown",C,{capture:!0,passive:!1}),i.addEventListener("touchstart",C,{capture:!0,passive:!1}),i.addEventListener("click",S,{capture:!0,passive:!1}),i.addEventListener("keydown",E,{capture:!0,passive:!1}),n},j=function(){if(g.active)return i.removeEventListener("focusin",N,!0),i.removeEventListener("mousedown",C,!0),i.removeEventListener("touchstart",C,!0),i.removeEventListener("click",S,!0),i.removeEventListener("keydown",E,!0),n},D="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver((function(e){e.some((function(e){return Array.from(e.removedNodes).some((function(e){return e===g.mostRecentlyFocusedNode}))}))&&A(I())})):void 0,L=function(){D&&(D.disconnect(),g.active&&!g.paused&&g.containers.map((function(e){D.observe(e,{subtree:!0,childList:!0})})))};return(n={get active(){return g.active},get paused(){return g.paused},activate:function(e){if(g.active)return this;var t=y(e,"onActivate"),n=y(e,"onPostActivate"),r=y(e,"checkCanFocusTrap");r||x(),g.active=!0,g.paused=!1,g.nodeFocusedBeforeActivation=i.activeElement,null==t||t();var o=function(){r&&x(),k(),L(),null==n||n()};return r?(r(g.containers.concat()).then(o,o),this):(o(),this)},deactivate:function(e){if(!g.active)return this;var t=o({onDeactivate:m.onDeactivate,onPostDeactivate:m.onPostDeactivate,checkCanReturnFocus:m.checkCanReturnFocus},e);clearTimeout(g.delayInitialFocusTimer),g.delayInitialFocusTimer=void 0,j(),g.active=!1,g.paused=!1,L(),function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),e.length>0&&e[e.length-1].unpause()}(h,n);var r=y(t,"onDeactivate"),i=y(t,"onPostDeactivate"),a=y(t,"checkCanReturnFocus"),s=y(t,"returnFocus","returnFocusOnDeactivate");null==r||r();var l=function(){c((function(){s&&A(T(g.nodeFocusedBeforeActivation)),null==i||i()}))};return s&&a?(a(T(g.nodeFocusedBeforeActivation)).then(l,l),this):(l(),this)},pause:function(e){if(g.paused||!g.active)return this;var t=y(e,"onPause"),n=y(e,"onPostPause");return g.paused=!0,null==t||t(),j(),L(),null==n||n(),this},unpause:function(e){if(!g.paused||!g.active)return this;var t=y(e,"onUnpause"),n=y(e,"onPostUnpause");return g.paused=!1,null==t||t(),x(),k(),L(),null==n||n(),this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return g.containers=t.map((function(e){return"string"==typeof e?i.querySelector(e):e})),g.active&&x(),L(),this}}).updateContainerElements(e),n}},7767: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)}()})),m=new Promise((function(e,t){c=setTimeout((function(){t(Error(u+"ms timeout exceeded"))}),u)}));Promise.race([m,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!=g&&-1!=y||-1!=g&&-1!=v||-1!=y&&-1!=v)&&((t=g!=y&&g!=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&&(g==b&&y==b&&v==b||g==I&&y==I&&v==I||g==x&&y==x&&v==x)),t=!t),t&&(null!==w.parentNode&&w.parentNode.removeChild(w),clearTimeout(c),e(i))}var d=new n(a),h=new n(a),m=new n(a),g=-1,y=-1,v=-1,b=-1,I=-1,x=-1,w=document.createElement("div");w.dir="ltr",r(d,f(i,"sans-serif")),r(h,f(i,"serif")),r(m,f(i,"monospace")),w.appendChild(d.g),w.appendChild(h.g),w.appendChild(m.g),i.context.document.body.appendChild(w),b=d.g.offsetWidth,I=h.g.offsetWidth,x=m.g.offsetWidth,function e(){if((new Date).getTime()-p>=u)null!==w.parentNode&&w.parentNode.removeChild(w),t(Error(u+"ms timeout exceeded"));else{var n=i.context.document.hidden;!0!==n&&void 0!==n||(g=d.g.offsetWidth,y=h.g.offsetWidth,v=m.g.offsetWidth,l()),c=setTimeout(e,50)}}(),o(d,(function(e){g=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(m,(function(e){v=e,l()})),r(m,f(i,'"'+i.family+'",monospace'))}))}))},e.exports=a}()},4291:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}: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};Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=void 0;var a=o(n(6439)),s=n(3379),l=new Set(["input","option","optgroup","select","button","datalist","textarea"]),c=new Set(["p"]),u=new Set(["thead","tbody"]),d=new Set(["dd","dt"]),f=new Set(["rt","rp"]),p=new Map([["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",c],["h1",c],["h2",c],["h3",c],["h4",c],["h5",c],["h6",c],["select",l],["input",l],["output",l],["button",l],["datalist",l],["textarea",l],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",d],["dt",d],["address",c],["article",c],["aside",c],["blockquote",c],["details",c],["div",c],["dl",c],["fieldset",c],["figcaption",c],["figure",c],["footer",c],["form",c],["header",c],["hr",c],["main",c],["nav",c],["ol",c],["pre",c],["section",c],["table",c],["ul",c],["rt",f],["rp",f],["tbody",u],["tfoot",u]]),h=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),m=new Set(["math","svg"]),g=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),y=/\s|\//,v=function(){function e(e,t){var n,r,i,o,s;void 0===t&&(t={}),this.options=t,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,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!==(i=t.Tokenizer)&&void 0!==i?i:a.default)(this.options,this),null===(s=(o=this.cbs).onparserinit)||void 0===s||s.call(o,this)}return e.prototype.ontext=function(e,t){var n,r,i=this.getSlice(e,t);this.endIndex=t-1,null===(r=(n=this.cbs).ontext)||void 0===r||r.call(n,i),this.startIndex=t},e.prototype.ontextentity=function(e){var t,n,r=this.tokenizer.getSectionStart();this.endIndex=r-1,null===(n=(t=this.cbs).ontext)||void 0===n||n.call(t,(0,s.fromCodePoint)(e)),this.startIndex=r},e.prototype.isVoidElement=function(e){return!this.options.xmlMode&&h.has(e)},e.prototype.onopentagname=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);this.lowerCaseTagNames&&(n=n.toLowerCase()),this.emitOpenTag(n)},e.prototype.emitOpenTag=function(e){var t,n,r,i;this.openTagStart=this.startIndex,this.tagname=e;var o=!this.options.xmlMode&&p.get(e);if(o)for(;this.stack.length>0&&o.has(this.stack[this.stack.length-1]);){var a=this.stack.pop();null===(n=(t=this.cbs).onclosetag)||void 0===n||n.call(t,a,!0)}this.isVoidElement(e)||(this.stack.push(e),m.has(e)?this.foreignContext.push(!0):g.has(e)&&this.foreignContext.push(!1)),null===(i=(r=this.cbs).onopentagname)||void 0===i||i.call(r,e),this.cbs.onopentag&&(this.attribs={})},e.prototype.endOpenTag=function(e){var t,n;this.startIndex=this.openTagStart,this.attribs&&(null===(n=(t=this.cbs).onopentag)||void 0===n||n.call(t,this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},e.prototype.onopentagend=function(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1},e.prototype.onclosetag=function(e,t){var n,r,i,o,a,s;this.endIndex=t;var l=this.getSlice(e,t);if(this.lowerCaseTagNames&&(l=l.toLowerCase()),(m.has(l)||g.has(l))&&this.foreignContext.pop(),this.isVoidElement(l))this.options.xmlMode||"br"!==l||(null===(r=(n=this.cbs).onopentagname)||void 0===r||r.call(n,"br"),null===(o=(i=this.cbs).onopentag)||void 0===o||o.call(i,"br",{},!0),null===(s=(a=this.cbs).onclosetag)||void 0===s||s.call(a,"br",!1));else{var c=this.stack.lastIndexOf(l);if(-1!==c)if(this.cbs.onclosetag)for(var u=this.stack.length-c;u--;)this.cbs.onclosetag(this.stack.pop(),0!==u);else this.stack.length=c;else this.options.xmlMode||"p"!==l||(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=t+1},e.prototype.onselfclosingtag=function(e){this.endIndex=e,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)},e.prototype.closeCurrentTag=function(e){var t,n,r=this.tagname;this.endOpenTag(e),this.stack[this.stack.length-1]===r&&(null===(n=(t=this.cbs).onclosetag)||void 0===n||n.call(t,r,!e),this.stack.pop())},e.prototype.onattribname=function(e,t){this.startIndex=e;var n=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?n.toLowerCase():n},e.prototype.onattribdata=function(e,t){this.attribvalue+=this.getSlice(e,t)},e.prototype.onattribentity=function(e){this.attribvalue+=(0,s.fromCodePoint)(e)},e.prototype.onattribend=function(e,t){var n,r;this.endIndex=t,null===(r=(n=this.cbs).onattribute)||void 0===r||r.call(n,this.attribname,this.attribvalue,e===a.QuoteType.Double?'"':e===a.QuoteType.Single?"'":e===a.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""},e.prototype.getInstructionName=function(e){var t=e.search(y),n=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n},e.prototype.ondeclaration=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var r=this.getInstructionName(n);this.cbs.onprocessinginstruction("!".concat(r),"!".concat(n))}this.startIndex=t+1},e.prototype.onprocessinginstruction=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var r=this.getInstructionName(n);this.cbs.onprocessinginstruction("?".concat(r),"?".concat(n))}this.startIndex=t+1},e.prototype.oncomment=function(e,t,n){var r,i,o,a;this.endIndex=t,null===(i=(r=this.cbs).oncomment)||void 0===i||i.call(r,this.getSlice(e,t-n)),null===(a=(o=this.cbs).oncommentend)||void 0===a||a.call(o),this.startIndex=t+1},e.prototype.oncdata=function(e,t,n){var r,i,o,a,s,l,c,u,d,f;this.endIndex=t;var p=this.getSlice(e,t-n);this.options.xmlMode||this.options.recognizeCDATA?(null===(i=(r=this.cbs).oncdatastart)||void 0===i||i.call(r),null===(a=(o=this.cbs).ontext)||void 0===a||a.call(o,p),null===(l=(s=this.cbs).oncdataend)||void 0===l||l.call(s)):(null===(u=(c=this.cbs).oncomment)||void 0===u||u.call(c,"[CDATA[".concat(p,"]]")),null===(f=(d=this.cbs).oncommentend)||void 0===f||f.call(d)),this.startIndex=t+1},e.prototype.onend=function(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var n=this.stack.length;n>0;this.cbs.onclosetag(this.stack[--n],!0));}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.length=0,this.startIndex=0,this.endIndex=0,null===(r=(n=this.cbs).onparserinit)||void 0===r||r.call(n,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},e.prototype.parseComplete=function(e){this.reset(),this.end(e)},e.prototype.getSlice=function(e,t){for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var n=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),n+=this.buffers[0].slice(0,t-this.bufferOffset);return n},e.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},e.prototype.write=function(e){var t,n;this.ended?null===(n=(t=this.cbs).onerror)||void 0===n||n.call(t,new Error(".write() after done!")):(this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++))},e.prototype.end=function(e){var t,n;this.ended?null===(n=(t=this.cbs).onerror)||void 0===n||n.call(t,new Error(".end() after done!")):(e&&this.write(e),this.ended=!0,this.tokenizer.end())},e.prototype.pause=function(){this.tokenizer.pause()},e.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()},e.prototype.parseChunk=function(e){this.write(e)},e.prototype.done=function(e){this.end(e)},e}();t.Parser=v},6439:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.QuoteType=void 0;var r,i,o,a=n(3379);function s(e){return e===r.Space||e===r.NewLine||e===r.Tab||e===r.FormFeed||e===r.CarriageReturn}function l(e){return e===r.Slash||e===r.Gt||s(e)}function c(e){return e>=r.Zero&&e<=r.Nine}!function(e){e[e.Tab=9]="Tab",e[e.NewLine=10]="NewLine",e[e.FormFeed=12]="FormFeed",e[e.CarriageReturn=13]="CarriageReturn",e[e.Space=32]="Space",e[e.ExclamationMark=33]="ExclamationMark",e[e.Number=35]="Number",e[e.Amp=38]="Amp",e[e.SingleQuote=39]="SingleQuote",e[e.DoubleQuote=34]="DoubleQuote",e[e.Dash=45]="Dash",e[e.Slash=47]="Slash",e[e.Zero=48]="Zero",e[e.Nine=57]="Nine",e[e.Semi=59]="Semi",e[e.Lt=60]="Lt",e[e.Eq=61]="Eq",e[e.Gt=62]="Gt",e[e.Questionmark=63]="Questionmark",e[e.UpperA=65]="UpperA",e[e.LowerA=97]="LowerA",e[e.UpperF=70]="UpperF",e[e.LowerF=102]="LowerF",e[e.UpperZ=90]="UpperZ",e[e.LowerZ=122]="LowerZ",e[e.LowerX=120]="LowerX",e[e.OpeningSquareBracket=91]="OpeningSquareBracket"}(r||(r={})),function(e){e[e.Text=1]="Text",e[e.BeforeTagName=2]="BeforeTagName",e[e.InTagName=3]="InTagName",e[e.InSelfClosingTag=4]="InSelfClosingTag",e[e.BeforeClosingTagName=5]="BeforeClosingTagName",e[e.InClosingTagName=6]="InClosingTagName",e[e.AfterClosingTagName=7]="AfterClosingTagName",e[e.BeforeAttributeName=8]="BeforeAttributeName",e[e.InAttributeName=9]="InAttributeName",e[e.AfterAttributeName=10]="AfterAttributeName",e[e.BeforeAttributeValue=11]="BeforeAttributeValue",e[e.InAttributeValueDq=12]="InAttributeValueDq",e[e.InAttributeValueSq=13]="InAttributeValueSq",e[e.InAttributeValueNq=14]="InAttributeValueNq",e[e.BeforeDeclaration=15]="BeforeDeclaration",e[e.InDeclaration=16]="InDeclaration",e[e.InProcessingInstruction=17]="InProcessingInstruction",e[e.BeforeComment=18]="BeforeComment",e[e.CDATASequence=19]="CDATASequence",e[e.InSpecialComment=20]="InSpecialComment",e[e.InCommentLike=21]="InCommentLike",e[e.BeforeSpecialS=22]="BeforeSpecialS",e[e.SpecialStartSequence=23]="SpecialStartSequence",e[e.InSpecialTag=24]="InSpecialTag",e[e.BeforeEntity=25]="BeforeEntity",e[e.BeforeNumericEntity=26]="BeforeNumericEntity",e[e.InNamedEntity=27]="InNamedEntity",e[e.InNumericEntity=28]="InNumericEntity",e[e.InHexEntity=29]="InHexEntity"}(i||(i={})),function(e){e[e.NoValue=0]="NoValue",e[e.Unquoted=1]="Unquoted",e[e.Single=2]="Single",e[e.Double=3]="Double"}(o=t.QuoteType||(t.QuoteType={}));var u={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])},d=function(){function e(e,t){var n=e.xmlMode,r=void 0!==n&&n,o=e.decodeEntities,s=void 0===o||o;this.cbs=t,this.state=i.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=i.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=r,this.decodeEntities=s,this.entityTrie=r?a.xmlDecodeTree:a.htmlDecodeTree}return e.prototype.reset=function(){this.state=i.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=i.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},e.prototype.write=function(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()},e.prototype.end=function(){this.running&&this.finish()},e.prototype.pause=function(){this.running=!1},e.prototype.resume=function(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()},e.prototype.getIndex=function(){return this.index},e.prototype.getSectionStart=function(){return this.sectionStart},e.prototype.stateText=function(e){e===r.Lt||!this.decodeEntities&&this.fastForwardTo(r.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=i.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===r.Amp&&(this.state=i.BeforeEntity)},e.prototype.stateSpecialStartSequence=function(e){var t=this.sequenceIndex===this.currentSequence.length;if(t?l(e):(32|e)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this.state=i.InTagName,this.stateInTagName(e)},e.prototype.stateInSpecialTag=function(e){if(this.sequenceIndex===this.currentSequence.length){if(e===r.Gt||s(e)){var t=this.index-this.currentSequence.length;if(this.sectionStart<t){var n=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=n}return this.isSpecial=!1,this.sectionStart=t+2,void this.stateInClosingTagName(e)}this.sequenceIndex=0}(32|e)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===u.TitleEnd?this.decodeEntities&&e===r.Amp&&(this.state=i.BeforeEntity):this.fastForwardTo(r.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=Number(e===r.Lt)},e.prototype.stateCDATASequence=function(e){e===u.Cdata[this.sequenceIndex]?++this.sequenceIndex===u.Cdata.length&&(this.state=i.InCommentLike,this.currentSequence=u.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=i.InDeclaration,this.stateInDeclaration(e))},e.prototype.fastForwardTo=function(e){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===e)return!0;return this.index=this.buffer.length+this.offset-1,!1},e.prototype.stateInCommentLike=function(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===u.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=i.Text):0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)},e.prototype.isTagStartChar=function(e){return this.xmlMode?!l(e):function(e){return e>=r.LowerA&&e<=r.LowerZ||e>=r.UpperA&&e<=r.UpperZ}(e)},e.prototype.startSpecial=function(e,t){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=t,this.state=i.SpecialStartSequence},e.prototype.stateBeforeTagName=function(e){if(e===r.ExclamationMark)this.state=i.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===r.Questionmark)this.state=i.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(e)){var t=32|e;this.sectionStart=this.index,this.xmlMode||t!==u.TitleEnd[2]?this.state=this.xmlMode||t!==u.ScriptEnd[2]?i.InTagName:i.BeforeSpecialS:this.startSpecial(u.TitleEnd,3)}else e===r.Slash?this.state=i.BeforeClosingTagName:(this.state=i.Text,this.stateText(e))},e.prototype.stateInTagName=function(e){l(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e))},e.prototype.stateBeforeClosingTagName=function(e){s(e)||(e===r.Gt?this.state=i.Text:(this.state=this.isTagStartChar(e)?i.InClosingTagName:i.InSpecialComment,this.sectionStart=this.index))},e.prototype.stateInClosingTagName=function(e){(e===r.Gt||s(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.AfterClosingTagName,this.stateAfterClosingTagName(e))},e.prototype.stateAfterClosingTagName=function(e){(e===r.Gt||this.fastForwardTo(r.Gt))&&(this.state=i.Text,this.baseState=i.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeAttributeName=function(e){e===r.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=i.InSpecialTag,this.sequenceIndex=0):this.state=i.Text,this.baseState=this.state,this.sectionStart=this.index+1):e===r.Slash?this.state=i.InSelfClosingTag:s(e)||(this.state=i.InAttributeName,this.sectionStart=this.index)},e.prototype.stateInSelfClosingTag=function(e){e===r.Gt?(this.cbs.onselfclosingtag(this.index),this.state=i.Text,this.baseState=i.Text,this.sectionStart=this.index+1,this.isSpecial=!1):s(e)||(this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e))},e.prototype.stateInAttributeName=function(e){(e===r.Eq||l(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.AfterAttributeName,this.stateAfterAttributeName(e))},e.prototype.stateAfterAttributeName=function(e){e===r.Eq?this.state=i.BeforeAttributeValue:e===r.Slash||e===r.Gt?(this.cbs.onattribend(o.NoValue,this.index),this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e)):s(e)||(this.cbs.onattribend(o.NoValue,this.index),this.state=i.InAttributeName,this.sectionStart=this.index)},e.prototype.stateBeforeAttributeValue=function(e){e===r.DoubleQuote?(this.state=i.InAttributeValueDq,this.sectionStart=this.index+1):e===r.SingleQuote?(this.state=i.InAttributeValueSq,this.sectionStart=this.index+1):s(e)||(this.sectionStart=this.index,this.state=i.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))},e.prototype.handleInAttributeValue=function(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===r.DoubleQuote?o.Double:o.Single,this.index),this.state=i.BeforeAttributeName):this.decodeEntities&&e===r.Amp&&(this.baseState=this.state,this.state=i.BeforeEntity)},e.prototype.stateInAttributeValueDoubleQuotes=function(e){this.handleInAttributeValue(e,r.DoubleQuote)},e.prototype.stateInAttributeValueSingleQuotes=function(e){this.handleInAttributeValue(e,r.SingleQuote)},e.prototype.stateInAttributeValueNoQuotes=function(e){s(e)||e===r.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(o.Unquoted,this.index),this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===r.Amp&&(this.baseState=this.state,this.state=i.BeforeEntity)},e.prototype.stateBeforeDeclaration=function(e){e===r.OpeningSquareBracket?(this.state=i.CDATASequence,this.sequenceIndex=0):this.state=e===r.Dash?i.BeforeComment:i.InDeclaration},e.prototype.stateInDeclaration=function(e){(e===r.Gt||this.fastForwardTo(r.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=i.Text,this.sectionStart=this.index+1)},e.prototype.stateInProcessingInstruction=function(e){(e===r.Gt||this.fastForwardTo(r.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=i.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeComment=function(e){e===r.Dash?(this.state=i.InCommentLike,this.currentSequence=u.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=i.InDeclaration},e.prototype.stateInSpecialComment=function(e){(e===r.Gt||this.fastForwardTo(r.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=i.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeSpecialS=function(e){var t=32|e;t===u.ScriptEnd[3]?this.startSpecial(u.ScriptEnd,4):t===u.StyleEnd[3]?this.startSpecial(u.StyleEnd,4):(this.state=i.InTagName,this.stateInTagName(e))},e.prototype.stateBeforeEntity=function(e){this.entityExcess=1,this.entityResult=0,e===r.Number?this.state=i.BeforeNumericEntity:e===r.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=i.InNamedEntity,this.stateInNamedEntity(e))},e.prototype.stateInNamedEntity=function(e){if(this.entityExcess+=1,this.trieIndex=(0,a.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,e),this.trieIndex<0)return this.emitNamedEntity(),void this.index--;this.trieCurrent=this.entityTrie[this.trieIndex];var t=this.trieCurrent&a.BinTrieFlags.VALUE_LENGTH;if(t){var n=(t>>14)-1;if(this.allowLegacyEntity()||e===r.Semi){var i=this.index-this.entityExcess+1;i>this.sectionStart&&this.emitPartial(this.sectionStart,i),this.entityResult=this.trieIndex,this.trieIndex+=n,this.entityExcess=0,this.sectionStart=this.index+1,0===n&&this.emitNamedEntity()}else this.trieIndex+=n}},e.prototype.emitNamedEntity=function(){if(this.state=this.baseState,0!==this.entityResult)switch((this.entityTrie[this.entityResult]&a.BinTrieFlags.VALUE_LENGTH)>>14){case 1:this.emitCodePoint(this.entityTrie[this.entityResult]&~a.BinTrieFlags.VALUE_LENGTH);break;case 2:this.emitCodePoint(this.entityTrie[this.entityResult+1]);break;case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}},e.prototype.stateBeforeNumericEntity=function(e){(32|e)===r.LowerX?(this.entityExcess++,this.state=i.InHexEntity):(this.state=i.InNumericEntity,this.stateInNumericEntity(e))},e.prototype.emitNumericEntity=function(e){var t=this.index-this.entityExcess-1;t+2+Number(this.state===i.InHexEntity)!==this.index&&(t>this.sectionStart&&this.emitPartial(this.sectionStart,t),this.sectionStart=this.index+Number(e),this.emitCodePoint((0,a.replaceCodePoint)(this.entityResult))),this.state=this.baseState},e.prototype.stateInNumericEntity=function(e){e===r.Semi?this.emitNumericEntity(!0):c(e)?(this.entityResult=10*this.entityResult+(e-r.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},e.prototype.stateInHexEntity=function(e){e===r.Semi?this.emitNumericEntity(!0):c(e)?(this.entityResult=16*this.entityResult+(e-r.Zero),this.entityExcess++):function(e){return e>=r.UpperA&&e<=r.UpperF||e>=r.LowerA&&e<=r.LowerF}(e)?(this.entityResult=16*this.entityResult+((32|e)-r.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},e.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===i.Text||this.baseState===i.InSpecialTag)},e.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===i.Text||this.state===i.InSpecialTag&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):this.state!==i.InAttributeValueDq&&this.state!==i.InAttributeValueSq&&this.state!==i.InAttributeValueNq||(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},e.prototype.shouldContinue=function(){return this.index<this.buffer.length+this.offset&&this.running},e.prototype.parse=function(){for(;this.shouldContinue();){var e=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case i.Text:this.stateText(e);break;case i.SpecialStartSequence:this.stateSpecialStartSequence(e);break;case i.InSpecialTag:this.stateInSpecialTag(e);break;case i.CDATASequence:this.stateCDATASequence(e);break;case i.InAttributeValueDq:this.stateInAttributeValueDoubleQuotes(e);break;case i.InAttributeName:this.stateInAttributeName(e);break;case i.InCommentLike:this.stateInCommentLike(e);break;case i.InSpecialComment:this.stateInSpecialComment(e);break;case i.BeforeAttributeName:this.stateBeforeAttributeName(e);break;case i.InTagName:this.stateInTagName(e);break;case i.InClosingTagName:this.stateInClosingTagName(e);break;case i.BeforeTagName:this.stateBeforeTagName(e);break;case i.AfterAttributeName:this.stateAfterAttributeName(e);break;case i.InAttributeValueSq:this.stateInAttributeValueSingleQuotes(e);break;case i.BeforeAttributeValue:this.stateBeforeAttributeValue(e);break;case i.BeforeClosingTagName:this.stateBeforeClosingTagName(e);break;case i.AfterClosingTagName:this.stateAfterClosingTagName(e);break;case i.BeforeSpecialS:this.stateBeforeSpecialS(e);break;case i.InAttributeValueNq:this.stateInAttributeValueNoQuotes(e);break;case i.InSelfClosingTag:this.stateInSelfClosingTag(e);break;case i.InDeclaration:this.stateInDeclaration(e);break;case i.BeforeDeclaration:this.stateBeforeDeclaration(e);break;case i.BeforeComment:this.stateBeforeComment(e);break;case i.InProcessingInstruction:this.stateInProcessingInstruction(e);break;case i.InNamedEntity:this.stateInNamedEntity(e);break;case i.BeforeEntity:this.stateBeforeEntity(e);break;case i.InHexEntity:this.stateInHexEntity(e);break;case i.InNumericEntity:this.stateInNumericEntity(e);break;default:this.stateBeforeNumericEntity(e)}this.index++}this.cleanup()},e.prototype.finish=function(){this.state===i.InNamedEntity&&this.emitNamedEntity(),this.sectionStart<this.index&&this.handleTrailingData(),this.cbs.onend()},e.prototype.handleTrailingData=function(){var e=this.buffer.length+this.offset;this.state===i.InCommentLike?this.currentSequence===u.CdataEnd?this.cbs.oncdata(this.sectionStart,e,0):this.cbs.oncomment(this.sectionStart,e,0):this.state===i.InNumericEntity&&this.allowLegacyEntity()||this.state===i.InHexEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===i.InTagName||this.state===i.BeforeAttributeName||this.state===i.BeforeAttributeValue||this.state===i.AfterAttributeName||this.state===i.InAttributeName||this.state===i.InAttributeValueSq||this.state===i.InAttributeValueDq||this.state===i.InAttributeValueNq||this.state===i.InClosingTagName||this.cbs.ontext(this.sectionStart,e)},e.prototype.emitPartial=function(e,t){this.baseState!==i.Text&&this.baseState!==i.InSpecialTag?this.cbs.onattribdata(e,t):this.cbs.ontext(e,t)},e.prototype.emitCodePoint=function(e){this.baseState!==i.Text&&this.baseState!==i.InSpecialTag?this.cbs.onattribentity(e):this.cbs.ontextentity(e)},e}();t.default=d},5482:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}: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.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DomUtils=t.parseFeed=t.getFeed=t.ElementType=t.Tokenizer=t.createDomStream=t.parseDOM=t.parseDocument=t.DefaultHandler=t.DomHandler=t.Parser=void 0;var s=n(4291),l=n(4291);Object.defineProperty(t,"Parser",{enumerable:!0,get:function(){return l.Parser}});var c=n(1138),u=n(1138);function d(e,t){var n=new c.DomHandler(void 0,t);return new s.Parser(n,t).end(e),n.root}function f(e,t){return d(e,t).children}Object.defineProperty(t,"DomHandler",{enumerable:!0,get:function(){return u.DomHandler}}),Object.defineProperty(t,"DefaultHandler",{enumerable:!0,get:function(){return u.DomHandler}}),t.parseDocument=d,t.parseDOM=f,t.createDomStream=function(e,t,n){var r=new c.DomHandler(e,t,n);return new s.Parser(r,t)};var p=n(6439);Object.defineProperty(t,"Tokenizer",{enumerable:!0,get:function(){return a(p).default}}),t.ElementType=o(n(3338));var h=n(6403),m=n(6403);Object.defineProperty(t,"getFeed",{enumerable:!0,get:function(){return m.getFeed}});var g={xmlMode:!0};t.parseFeed=function(e,t){return void 0===t&&(t=g),(0,h.getFeed)(f(e,t))},t.DomUtils=o(n(6403))},993:(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"))}},4651: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,m=h.call(Object),g={},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 w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[f.call(e)]||"object":typeof e}var A="3.7.1",T=/HTML$/i,M=function(e,t){return new M.fn.init(e,t)};function C(e){var t=!!e&&"length"in e&&e.length,n=w(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()}M.fn=M.prototype={jquery:A,constructor:M,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=M.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return M.each(this,e)},map:function(e){return this.pushStack(M.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(M.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(M.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},M.extend=M.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&&(M.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||M.isPlainObject(n)?n:{},i=!1,a[t]=M.extend(c,o,r)):void 0!==r&&(a[t]=r));return a},M.extend({expando:"jQuery"+(A+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)!==m))},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)for(;t=e[r++];)n+=M.text(t);return 1===i||11===i?e.textContent:9===i?e.documentElement.textContent:3===i||4===i?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(C(Object(e))?M.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:g}),"function"==typeof Symbol&&(M.fn[Symbol.iterator]=o[Symbol.iterator]),M.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,k=o.splice,j="[\\x20\\t\\r\\n\\f]",D=new RegExp("^"+j+"+|((?:^|[^\\\\])(?:\\\\.)*)"+j+"+$","g");M.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}M.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,m=P,y=M.expando,v=0,b=0,I=ee(),x=ee(),w=ee(),A=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}"+j+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",O="\\["+j+"*("+L+")(?:"+j+"*([*^$|!~]?=)"+j+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+L+"))|)"+j+"*\\]",z=":("+L+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+O+")*)|.*)\\)|)",U=new RegExp(j+"+","g"),B=new RegExp("^"+j+"*,"+j+"*"),G=new RegExp("^"+j+"*([>+~]|"+j+")"+j+"*"),Z=new RegExp(j+"|>"),F=new RegExp(z),H=new RegExp("^"+L+"$"),_={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)(?:\\("+j+"*(even|odd|(([+-]|)(\\d*)n|)"+j+"*(?:([+-]|)"+j+"*(\\d+)|))"+j+"*\\)|)","i"),bool:new RegExp("^(?:"+C+")$","i"),needsContext:new RegExp("^"+j+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+j+"*((?:-\\d)?\\d*)"+j+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,V=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,W=/[+~]/,Q=new RegExp("\\\\[\\da-fA-F]{1,6}"+j+"?|\\\\([^\\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{m.apply(o=s.call(R.childNodes),R.childNodes),o[R.childNodes.length].nodeType}catch(e){m={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 m.call(n,a),n}else if(h&&(a=h.getElementById(i))&&$.contains(t,a)&&a.id===i)return m.call(n,a),n}else{if(c[2])return m.apply(n,t.getElementsByTagName(e)),n;if((i=c[3])&&t.getElementsByClassName)return m.apply(n,t.getElementsByClassName(i)),n}if(!(A[e+" "]||f&&f.test(e))){if(p=e,h=t,1===v&&(Z.test(e)||G.test(e))){for((h=W.test(e)&&se(t.parentNode)||t)==t&&g.scope||((s=t.getAttribute("id"))?s=M.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 m.apply(n,h.querySelectorAll(p)),n}catch(t){A(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=!M.isXMLDoc(l),h=c.matches||c.webkitMatchesSelector||c.msMatchesSelector,c.msMatchesSelector&&R!=l&&(n=l.defaultView)&&n.top!==n&&n.addEventListener("unload",X),g.getById=ne((function(e){return c.appendChild(e).id=M.expando,!l.getElementsByName||!l.getElementsByName(M.expando).length})),g.disconnectedMatch=ne((function(e){return h.call(e,"*")})),g.scope=ne((function(){return l.querySelectorAll(":scope")})),g.cssHas=ne((function(){try{return l.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}})),g.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("\\["+j+"*(?: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("\\["+j+"*name"+j+"*="+j+"*(?:''|\"\")")})),g.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)||!g.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&&!A[t+" "]&&(!f||!f.test(t)))try{var n=h.call(e,t);if(n||g.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){A(t,!0)}return $(t,l,null,[e]).length>0},$.contains=function(e,t){return(e.ownerDocument||e)!=l&&le(e),M.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)},M.uniqueSort=function(e){var t,n=[],r=0,o=0;if(a=!g.sortStable,i=!g.sortStable&&s.call(e,0),S.call(e,T),a){for(;t=e[o++];)t===e[o]&&(r=n.push(o));for(;r--;)k.call(e,n[r],1)}return i=null,e},M.fn.uniqueSort=function(){return this.pushStack(M.uniqueSort(s.apply(this)))},t=M.expr={cacheLength:50,createPseudo:te,match:_,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 _.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&F.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("(^|"+j+")"+e+"("+j+"|$)"))&&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",m=t.parentNode,g=s&&t.nodeName.toLowerCase(),b=!l&&!s,I=!1;if(m){if(o){for(;h;){for(d=t;d=d[h];)if(s?N(d,g):1===d.nodeType)return!1;p=h="only"===e&&!p&&"nextSibling"}return!0}if(p=[a?m.firstChild:m.lastChild],a&&b){for(I=(f=(c=(u=m[y]||(m[y]={}))[e]||[])[0]===v&&c[1])&&c[2],d=f&&m.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,g):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||M.text(t)).indexOf(e)>-1}})),lang:te((function(e){return H.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 q.test(e.nodeName)},input:function(e){return Y.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=B.exec(s))||(i&&(s=s.slice(i[0].length)||s),l.push(o=[])),r=!1,(i=G.exec(s))&&(r=i.shift(),o.push({value:r,type:i[0].replace(D," ")}),s=s.slice(r.length)),t.filter)!(i=_[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 me(e,t,n,r,i,o){return r&&!r[y]&&(r=me(r)),i&&!i[y]&&(i=me(i,o)),te((function(o,a,s,l){var c,d,f,p,h=[],g=[],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,g),r(c,[],s,l),d=c.length;d--;)(f=c[d])&&(p[g[d]]=!(b[g[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):m.apply(a,p)}))}function ge(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 me(c>1&&pe(p),c>1&&de(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(D,"$1"),i,c<o&&ge(e.slice(c,o)),o<a&&ge(e=e.slice(o)),o<a&&de(e))}p.push(i)}return pe(p)}function ye(e,r){var i,o=[],a=[],s=w[e+" "];if(!s){for(r||(r=ue(e)),i=r.length;i--;)(s=ge(r[i]))[y]?o.push(s):a.push(s);s=w(e,function(e,r){var i=r.length>0,o=e.length>0,a=function(a,s,c,u,f){var p,h,g,y=0,b="0",I=a&&[],x=[],w=n,A=a||o&&t.find.TAG("*",f),T=v+=null==w?1:Math.random()||.1,C=A.length;for(f&&(n=s==l||s||f);b!==C&&null!=(p=A[b]);b++){if(o&&p){for(h=0,s||p.ownerDocument==l||(le(p),c=!d);g=e[h++];)if(g(p,s||l,c)){m.call(u,p);break}f&&(v=T)}i&&((p=!g&&p)&&y--,a&&I.push(p))}if(y+=b,i&&b!==y){for(h=0;g=r[h++];)g(I,x,s,c);if(a){if(y>0)for(;b--;)I[b]||x[b]||(x[b]=E.call(u));x=he(x)}m.apply(u,x),f&&!a&&x.length>0&&y+r.length>1&&M.uniqueSort(u)}return f&&(v=T,n=w),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=_.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),W.test(a[0].type)&&se(n.parentNode)||n))){if(a.splice(o,1),!(e=i.length&&de(a)))return m.apply(r,i),r;break}}return(u||ye(e,f))(i,n,!d,r,!n||W.test(e)&&se(n.parentNode)||n),r}ce.prototype=t.filters=t.pseudos,t.setFilters=new ce,g.sortStable=y.split("").sort(T).join("")===y,le(),g.sortDetached=ne((function(e){return 1&e.compareDocumentPosition(l.createElement("fieldset"))})),M.find=$,M.expr[":"]=M.expr.pseudos,M.unique=M.uniqueSort,$.compile=ye,$.select=ve,$.setDocument=le,$.tokenize=ue,$.escape=M.escapeSelector,$.getText=M.text,$.isXML=M.isXMLDoc,$.selectors=M.expr,$.support=M.support,$.uniqueSort=M.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&&M(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},B=M.expr.match.needsContext,G=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function Z(e,t,n){return y(t)?M.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?M.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?M.grep(e,(function(e){return u.call(t,e)>-1!==n})):M.filter(t,e,n)}M.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?M.find.matchesSelector(r,e)?[r]:[]:M.find.matches(e,M.grep(t,(function(e){return 1===e.nodeType})))},M.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(M(e).filter((function(){for(t=0;t<r;t++)if(M.contains(i[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)M.find(e,i[t],n);return r>1?M.uniqueSort(n):n},filter:function(e){return this.pushStack(Z(this,e||[],!1))},not:function(e){return this.pushStack(Z(this,e||[],!0))},is:function(e){return!!Z(this,"string"==typeof e&&B.test(e)?M(e):e||[],!1).length}});var F,H=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(M.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||F,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:H.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 M?t[0]:t,M.merge(this,M.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),G.test(r[1])&&M.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(M):M.makeArray(e,this)}).prototype=M.fn,F=M(b);var _=/^(?:parents|prev(?:Until|All))/,Y={children:!0,contents:!0,next:!0,prev:!0};function q(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}M.fn.extend({has:function(e){var t=M(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(M.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&M(e);if(!B.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&&M.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?M.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?u.call(M(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(M.uniqueSort(M.merge(this.get(),M(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),M.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 q(e,"nextSibling")},prev:function(e){return q(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),M.merge([],e.childNodes))}},(function(e,t){M.fn[e]=function(n,r){var i=M.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=M.filter(r,i)),this.length>1&&(Y[e]||M.uniqueSort(i),_.test(e)&&i.reverse()),this.pushStack(i)}}));var V=/[^\x20\t\r\n\f]+/g;function W(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])}}M.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return M.each(e.match(V)||[],(function(e,n){t[n]=!0})),t}(e):M.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){M.each(n,(function(n,r){y(r)?e.unique&&c.has(r)||o.push(r):r&&r.length&&"string"!==w(r)&&t(r)}))}(arguments),n&&!t&&l()),this},remove:function(){return M.each(arguments,(function(e,t){for(var n;(n=M.inArray(t,o,n))>-1;)o.splice(n,1),n<=s&&s--})),this},has:function(e){return e?M.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},M.extend({Deferred:function(e){var t=[["notify","progress",M.Callbacks("memory"),M.Callbacks("memory"),2],["resolve","done",M.Callbacks("once memory"),M.Callbacks("once memory"),0,"resolved"],["reject","fail",M.Callbacks("once memory"),M.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 M.Deferred((function(n){M.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,W,i),a(o,t,Q,i)):(o++,c.call(r,a(o,t,W,i),a(o,t,Q,i),a(o,t,W,t.notifyWith))):(n!==W&&(s=void 0,l=[r]),(i||t.resolveWith)(s,l))}},u=i?c:function(){try{c()}catch(r){M.Deferred.exceptionHook&&M.Deferred.exceptionHook(r,u.error),e+1>=o&&(n!==Q&&(s=void 0,l=[r]),t.rejectWith(s,l))}};e?u():(M.Deferred.getErrorHook?u.error=M.Deferred.getErrorHook():M.Deferred.getStackHook&&(u.error=M.Deferred.getStackHook()),r.setTimeout(u))}}return M.Deferred((function(r){t[0][3].add(a(0,r,y(i)?i:W,r.notifyWith)),t[1][3].add(a(0,r,y(e)?e:W)),t[2][3].add(a(0,r,y(n)?n:Q))})).promise()},promise:function(e){return null!=e?M.extend(e,i):i}},o={};return M.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=M.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$/;M.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)},M.readyException=function(e){r.setTimeout((function(){throw e}))};var K=M.Deferred();function $(){b.removeEventListener("DOMContentLoaded",$),r.removeEventListener("load",$),M.ready()}M.fn.ready=function(e){return K.then(e).catch((function(e){M.readyException(e)})),this},M.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--M.readyWait:M.isReady)||(M.isReady=!0,!0!==e&&--M.readyWait>0||K.resolveWith(b,[M]))}}),M.ready.then=K.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?r.setTimeout(M.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"===w(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(M(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=M.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||M.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&&!M.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}M.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)}}),M.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)}))}}),M.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,M.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=M.queue(e,t),r=n.length,i=n.shift(),o=M._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,(function(){M.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:M.Callbacks("once memory").add((function(){se.remove(e,[t+"queue",n])}))})}}),M.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?M.queue(this[0],e):void 0===t?this:this.each((function(){var n=M.queue(this,e,t);M._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&M.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){M.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=M.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"],me=b.documentElement,ge=function(e){return M.contains(e.ownerDocument,e)},ye={composed:!0};me.getRootNode&&(ge=function(e){return M.contains(e.ownerDocument,e)||e.getRootNode(ye)===e.ownerDocument});var ve=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ge(e)&&"none"===M.css(e,"display")};function be(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return M.css(e,t,"")},l=s(),c=n&&n[3]||(M.cssNumber[t]?"":"px"),u=e.nodeType&&(M.cssNumber[t]||"px"!==c&&+l)&&pe.exec(M.css(e,t));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;a--;)M.style(e,t,u+c),(1-o)*(1-(o=s()/l||.5))<=0&&(a=0),u/=o;u*=2,M.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=M.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),Ie[r]=i,i)}function we(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}M.fn.extend({show:function(){return we(this,!0)},hide:function(){return we(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){ve(this)?M(this).show():M(this).hide()}))}});var Ae,Te,Me=/^(?:checkbox|radio)$/i,Ce=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ne=/^$|^module$|\/(?:java|ecma)script/i;Ae=b.createDocumentFragment().appendChild(b.createElement("div")),(Te=b.createElement("input")).setAttribute("type","radio"),Te.setAttribute("checked","checked"),Te.setAttribute("name","t"),Ae.appendChild(Te),g.checkClone=Ae.cloneNode(!0).cloneNode(!0).lastChild.checked,Ae.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!Ae.cloneNode(!0).lastChild.defaultValue,Ae.innerHTML="<option></option>",g.option=!!Ae.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)?M.merge([e],n):n}function ke(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,g.option||(Ee.optgroup=Ee.option=[1,"<select multiple='multiple'>","</select>"]);var je=/<|&#?\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"===w(o))M.merge(f,o.nodeType?[o]:o);else if(je.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]+M.htmlPrefilter(o)+l[2],u=l[0];u--;)a=a.lastChild;M.merge(f,a.childNodes),(a=d.firstChild).textContent=""}else f.push(t.createTextNode(o));for(d.textContent="",p=0;o=f[p++];)if(r&&M.inArray(o,r)>-1)i&&i.push(o);else if(c=ge(o),a=Se(d.appendChild(o),"script"),c&&ke(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 M().off(e),a.apply(this,arguments)},i.guid=a.guid||(a.guid=M.guid++)),e.each((function(){M.event.add(this,t,i,r,n)}))}function ze(e,t,n){n?(se.set(e,t,!1),M.event.add(e,t,{namespace:!1,handler:function(e){var n,r=se.get(this,t);if(1&e.isTrigger&&this[t]){if(r)(M.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,M.event.trigger(r[0],r.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Oe)}})):void 0===se.get(e,t)&&M.event.add(e,t,Oe)}M.event={global:{},add:function(e,t,n,r,i){var o,a,s,l,c,u,d,f,p,h,m,g=se.get(e);if(oe(e))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&M.find.matchesSelector(me,i),n.guid||(n.guid=M.guid++),(l=g.events)||(l=g.events=Object.create(null)),(a=g.handle)||(a=g.handle=function(t){return void 0!==M&&M.event.triggered!==t.type?M.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(V)||[""]).length;c--;)p=m=(s=Le.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p&&(d=M.event.special[p]||{},p=(i?d.delegateType:d.bindType)||p,d=M.event.special[p]||{},u=M.extend({type:p,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&M.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),M.event.global[p]=!0)},remove:function(e,t,n,r,i){var o,a,s,l,c,u,d,f,p,h,m,g=se.hasData(e)&&se.get(e);if(g&&(l=g.events)){for(c=(t=(t||"").match(V)||[""]).length;c--;)if(p=m=(s=Le.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p){for(d=M.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&&m!==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,g.handle)||M.removeEvent(e,p,g.handle),delete l[p])}else for(p in l)M.event.remove(e,p+t[c],n,r,!0);M.isEmptyObject(l)&&se.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),l=M.event.fix(e),c=(se.get(this,"events")||Object.create(null))[l.type]||[],u=M.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=M.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=((M.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?M(i,this).index(c)>-1:M.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(M.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[M.expando]?e:new M.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return Me.test(t.type)&&t.click&&N(t,"input")&&ze(t,"click",!0),!1},trigger:function(e){var t=this||e;return Me.test(t.type)&&t.click&&N(t,"input")&&ze(t,"click"),!0},_default:function(e){var t=e.target;return Me.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)}}}},M.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},M.Event=function(e,t){if(!(this instanceof M.Event))return new M.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&&M.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[M.expando]=!0},M.Event.prototype={constructor:M.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()}},M.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},M.event.addProp),M.each({focus:"focusin",blur:"focusout"},(function(e,t){function n(e){if(b.documentMode){var n=se.get(this,"handle"),r=M.event.fix(e);r.type="focusin"===e.type?"focus":"blur",r.isSimulated=!0,n(e),r.target===r.currentTarget&&n(r)}else M.event.simulate(t,e.target,M.event.fix(e))}M.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},M.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))}}})),M.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){M.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=e.relatedTarget,i=e.handleObj;return r&&(r===this||M.contains(this,r))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}})),M.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,M(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(){M.event.remove(this,e,n,t)}))}});var Ue=/<script|<style|<link/i,Be=/checked\s*(?:[^=]|=\s*.checked.)/i,Ge=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Ze(e,t){return N(e,"table")&&N(11!==t.nodeType?t:t.firstChild,"tr")&&M(e).children("tbody")[0]||e}function Fe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function He(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function _e(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++)M.event.add(t,i,s[i][n]);le.hasData(e)&&(o=le.access(e),a=M.extend({},o),le.set(t,a))}}function Ye(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Me.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function qe(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],m=y(h);if(m||f>1&&"string"==typeof h&&!g.checkClone&&Be.test(h))return e.each((function(i){var o=e.eq(i);m&&(t[0]=h.call(this,i,o.html())),qe(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=M.map(Se(i,"script"),Fe)).length;d<f;d++)c=i,d!==p&&(c=M.clone(c,!0,!0),s&&M.merge(a,Se(c,"script"))),n.call(e[d],c,d);if(s)for(u=a[a.length-1].ownerDocument,M.map(a,He),d=0;d<s;d++)c=a[d],Ne.test(c.type||"")&&!se.access(c,"globalEval")&&M.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?M._evalUrl&&!c.noModule&&M._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},u):x(c.textContent.replace(Ge,""),c,u))}return e}function Ve(e,t,n){for(var r,i=t?M.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||M.cleanData(Se(r)),r.parentNode&&(n&&ge(r)&&ke(Se(r,"script")),r.parentNode.removeChild(r));return e}M.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),l=ge(e);if(!(g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||M.isXMLDoc(e)))for(a=Se(s),r=0,i=(o=Se(e)).length;r<i;r++)Ye(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++)_e(o[r],a[r]);else _e(e,s);return(a=Se(s,"script")).length>0&&ke(a,!l&&Se(e,"script")),s},cleanData:function(e){for(var t,n,r,i=M.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]?M.event.remove(n,r):M.removeEvent(n,r,t.handle);n[se.expando]=void 0}n[le.expando]&&(n[le.expando]=void 0)}}}),M.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?M.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 qe(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ze(this,e).appendChild(e)}))},prepend:function(){return qe(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ze(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return qe(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return qe(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&&(M.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 M.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=M.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(M.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 qe(this,arguments,(function(t){var n=this.parentNode;M.inArray(this,e)<0&&(M.cleanData(Se(this)),n&&n.replaceChild(t,this))}),e)}}),M.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){M.fn[e]=function(e){for(var n,r=[],i=M(e),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),M(i[a])[t](n),c.apply(r,n.get());return this.pushStack(r)}}));var We=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||ge(e)||(a=M.style(e,t)),!g.pixelBoxStyles()&&We.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%",me.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),me.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="",g.clearCloneStyle="content-box"===u.style.backgroundClip,M.extend(g,{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="box-sizing:content-box;border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",me.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,me.removeChild(e)),s}}))}();var tt=["Webkit","Moz","ms"],nt=b.createElement("div").style,rt={};function it(e){return M.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+=M.css(e,n+he[a],!0,i)),r?("content"===n&&(l-=M.css(e,"padding"+he[a],!0,i)),"margin"!==n&&(l-=M.css(e,"border"+he[a]+"Width",!0,i))):(l+=M.css(e,"padding"+he[a],!0,i),"padding"!==n?l+=M.css(e,"border"+he[a]+"Width",!0,i):s+=M.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=(!g.boxSizingReliable()||n)&&"border-box"===M.css(e,"boxSizing",!1,r),o=i,a=$e(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(We.test(a)){if(!n)return a;a="auto"}return(!g.boxSizingReliable()&&i||!g.reliableTrDimensions()&&N(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===M.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===M.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)}M.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=M.cssHooks[t]||M.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]||(M.cssNumber[s]?"":"px")),g.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=M.cssHooks[t]||M.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}}),M.each(["height","width"],(function(e,t){M.cssHooks[t]={get:function(e,n,r){if(n)return!ot.test(M.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=!g.scrollboxSize()&&"absolute"===o.position,s=(a||r)&&"border-box"===M.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=M.css(e,t)),lt(0,n,l)}}})),M.cssHooks.marginLeft=et(g.reliableMarginLeft,(function(e,t){if(t)return(parseFloat($e(e,"marginLeft"))||e.getBoundingClientRect().left-Xe(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),M.each({margin:"",padding:"",border:"Width"},(function(e,t){M.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&&(M.cssHooks[e+t].set=lt)})),M.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]]=M.css(e,t[a],!1,r);return o}return void 0!==n?M.style(e,t,n):M.css(e,t)}),e,t,arguments.length>1)}}),M.Tween=dt,dt.prototype={constructor:dt,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||M.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(M.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=M.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=M.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){M.fx.step[e.prop]?M.fx.step[e.prop](e):1!==e.elem.nodeType||!M.cssHooks[e.prop]&&null==e.elem.style[it(e.prop)]?e.elem[e.prop]=e.now:M.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)}},M.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},M.fx=dt.prototype.init,M.fx.step={};var ft,pt,ht=/^(?:toggle|show|hide)$/,mt=/queueHooks$/;function gt(){pt&&(!1===b.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(gt):r.setTimeout(gt,M.fx.interval),M.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=M.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:M.extend({},t),opts:M.extend(!0,{specialEasing:{},easing:M.easing._default},n),originalProperties:t,originalOptions:n,startTime:ft||yt(),duration:n.duration,tweens:[],createTween:function(t,n){var r=M.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=M.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)&&(M._queueHooks(c.elem,c.opts.queue).stop=r.stop.bind(r)),r;return M.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),M.fx.timer(M.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}M.Animation=M.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,m=e.nodeType&&ve(e),g=se.get(e,"fxshow");for(r in n.queue||(null==(a=M._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--,M.queue(e,"fx").length||a.empty.fire()}))}))),t)if(i=t[r],ht.test(i)){if(delete t[r],o=o||"toggle"===i,i===(m?"hide":"show")){if("show"!==i||!g||void 0===g[r])continue;m=!0}p[r]=g&&g[r]||M.style(e,r)}if((l=!M.isEmptyObject(t))||!M.isEmptyObject(p))for(r in d&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(c=g&&g.display)&&(c=se.get(e,"display")),"none"===(u=M.css(e,"display"))&&(c?u=c:(we([e],!0),c=e.style.display||c,u=M.css(e,"display"),we([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===M.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||(g?"hidden"in g&&(m=g.hidden):g=se.access(e,"fxshow",{display:c}),o&&(g.hidden=!m),m&&we([e],!0),f.done((function(){for(r in m||we([e]),se.remove(e,"fxshow"),p)M.style(e,r,p[r])}))),l=bt(m?g[r]:0,r,f),r in g||(g[r]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?It.prefilters.unshift(e):It.prefilters.push(e)}}),M.speed=function(e,t,n){var r=e&&"object"==typeof e?M.extend({},e):{complete:n||!n&&t||y(e)&&e,duration:e,easing:n&&t||t&&!y(t)&&t};return M.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in M.fx.speeds?r.duration=M.fx.speeds[r.duration]:r.duration=M.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&&M.dequeue(this,r.queue)},r},M.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=M.isEmptyObject(e),o=M.speed(t,n,r),a=function(){var t=It(this,M.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=M.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&&mt.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||M.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=M.timers,a=r?r.length:0;for(n.finish=!0,M.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}))}}),M.each(["toggle","show","hide"],(function(e,t){var n=M.fn[t];M.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(vt(t,!0),e,r,i)}})),M.each({slideDown:vt("show"),slideUp:vt("hide"),slideToggle:vt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){M.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),M.timers=[],M.fx.tick=function(){var e,t=0,n=M.timers;for(ft=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||M.fx.stop(),ft=void 0},M.fx.timer=function(e){M.timers.push(e),M.fx.start()},M.fx.interval=13,M.fx.start=function(){pt||(pt=!0,gt())},M.fx.stop=function(){pt=null},M.fx.speeds={slow:600,fast:200,_default:400},M.fn.delay=function(e,t){return e=M.fx&&M.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",g.checkOn=""!==e.value,g.optSelected=t.selected,(e=b.createElement("input")).value="t",e.type="radio",g.radioValue="t"===e.value}();var xt,wt=M.expr.attrHandle;M.fn.extend({attr:function(e,t){return ee(this,M.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){M.removeAttr(this,e)}))}}),M.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?M.prop(e,t,n):(1===o&&M.isXMLDoc(e)||(i=M.attrHooks[t.toLowerCase()]||(M.expr.match.bool.test(t)?xt:void 0)),void 0!==n?null===n?void M.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=M.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!g.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?M.removeAttr(e,n):e.setAttribute(n,n),n}},M.each(M.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=wt[t]||M.find.attr;wt[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=wt[a],wt[a]=i,i=null!=n(e,t,r)?a:null,wt[a]=o),i}}));var At=/^(?:input|select|textarea|button)$/i,Tt=/^(?:a|area)$/i;function Mt(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)||[]}M.fn.extend({prop:function(e,t){return ee(this,M.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[M.propFix[e]||e]}))}}),M.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&M.isXMLDoc(e)||(t=M.propFix[t]||t,i=M.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=M.find.attr(e,"tabindex");return t?parseInt(t,10):At.test(e.nodeName)||Tt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(M.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)}}),M.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){M.propFix[this.toLowerCase()]=this})),M.fn.extend({addClass:function(e){var t,n,r,i,o,a;return y(e)?this.each((function(t){M(this).addClass(e.call(this,t,Ct(this)))})):(t=Nt(e)).length?this.each((function(){if(r=Ct(this),n=1===this.nodeType&&" "+Mt(r)+" "){for(o=0;o<t.length;o++)i=t[o],n.indexOf(" "+i+" ")<0&&(n+=i+" ");a=Mt(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){M(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&&" "+Mt(r)+" "){for(o=0;o<t.length;o++)for(i=t[o];n.indexOf(" "+i+" ")>-1;)n=n.replace(" "+i+" "," ");a=Mt(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){M(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=M(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&&(" "+Mt(Ct(n))+" ").indexOf(t)>-1)return!0;return!1}});var Et=/\r/g;M.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,M(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=M.map(i,(function(e){return null==e?"":e+""}))),(t=M.valHooks[this.type]||M.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=M.valHooks[i.type]||M.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}}),M.extend({valHooks:{option:{get:function(e){var t=M.find.attr(e,"value");return null!=t?t:Mt(M.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=M(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,i=e.options,o=M.makeArray(t),a=i.length;a--;)((r=i[a]).selected=M.inArray(M.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),M.each(["radio","checkbox"],(function(){M.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=M.inArray(M(e).val(),t)>-1}},g.checkOn||(M.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var St=r.location,kt={guid:Date.now()},jt=/\?/;M.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||M.error("Invalid XML: "+(n?M.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var Dt=/^(?:focusinfocus|focusoutblur)$/,Lt=function(e){e.stopPropagation()};M.extend(M.event,{trigger:function(e,t,n,i){var o,a,s,l,c,u,d,f,h=[n||b],m=p.call(e,"type")?e.type:e,g=p.call(e,"namespace")?e.namespace.split("."):[];if(a=f=s=n=n||b,3!==n.nodeType&&8!==n.nodeType&&!Dt.test(m+M.event.triggered)&&(m.indexOf(".")>-1&&(g=m.split("."),m=g.shift(),g.sort()),c=m.indexOf(":")<0&&"on"+m,(e=e[M.expando]?e:new M.Event(m,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:M.makeArray(t,[e]),d=M.event.special[m]||{},i||!d.trigger||!1!==d.trigger.apply(n,t))){if(!i&&!d.noBubble&&!v(n)){for(l=d.delegateType||m,Dt.test(l+m)||(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||m,(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=m,i||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(h.pop(),t)||!oe(n)||c&&y(n[m])&&!v(n)&&((s=n[c])&&(n[c]=null),M.event.triggered=m,e.isPropagationStopped()&&f.addEventListener(m,Lt),n[m](),e.isPropagationStopped()&&f.removeEventListener(m,Lt),M.event.triggered=void 0,s&&(n[c]=s)),e.result}},simulate:function(e,t,n){var r=M.extend(new M.Event,n,{type:e,isSimulated:!0});M.event.trigger(r,null,t)}}),M.fn.extend({trigger:function(e,t){return this.each((function(){M.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return M.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))M.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"!==w(t))r(e,t);else for(i in t)Ut(e+"["+i+"]",t[i],n,r)}M.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&&!M.isPlainObject(e))M.each(e,(function(){i(this.name,this.value)}));else for(n in e)Ut(n,e[n],t,i);return r.join("&")},M.fn.extend({serialize:function(){return M.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=M.prop(this,"elements");return e?M.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!M(this).is(":disabled")&&zt.test(this.nodeName)&&!Pt.test(e)&&(this.checked||!Me.test(e))})).map((function(e,t){var n=M(this).val();return null==n?null:Array.isArray(n)?M.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 Bt=/%20/g,Gt=/#.*$/,Zt=/([?&])_=[^&]*/,Ft=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ht=/^(?:GET|HEAD)$/,_t=/^\/\//,Yt={},qt={},Vt="*/".concat("*"),Wt=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===qt;function a(s){var l;return i[s]=!0,M.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=M.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&M.extend(!0,e,r),e}Wt.href=St.href,M.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":M.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Xt(Xt(e,M.ajaxSettings),t):Xt(M.ajaxSettings,e)},ajaxPrefilter:Qt(Yt),ajaxTransport:Qt(qt),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=M.ajaxSetup({},t),h=p.context||p,m=p.context&&(h.nodeType||h.jquery)?M(h):M.event,g=M.Deferred(),y=M.Callbacks("once memory"),v=p.statusCode||{},I={},x={},w="canceled",A={readyState:0,getResponseHeader:function(e){var t;if(c){if(!a)for(a={};t=Ft.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)A.always(e[A.status]);else for(t in e)v[t]=[v[t],e[t]];return this},abort:function(e){var t=e||w;return n&&n.abort(t),T(0,t),this}};if(g.promise(A),p.url=((e||p.url||St.href)+"").replace(_t,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=Wt.protocol+"//"+Wt.host!=l.protocol+"//"+l.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=M.param(p.data,p.traditional)),Jt(Yt,p,t,A),c)return A;for(d in(u=M.event&&p.global)&&0==M.active++&&M.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Ht.test(p.type),i=p.url.replace(Gt,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Bt,"+")):(f=p.url.slice(i.length),p.data&&(p.processData||"string"==typeof p.data)&&(i+=(jt.test(i)?"&":"?")+p.data,delete p.data),!1===p.cache&&(i=i.replace(Zt,"$1"),f=(jt.test(i)?"&":"?")+"_="+kt.guid+++f),p.url=i+f),p.ifModified&&(M.lastModified[i]&&A.setRequestHeader("If-Modified-Since",M.lastModified[i]),M.etag[i]&&A.setRequestHeader("If-None-Match",M.etag[i])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&A.setRequestHeader("Content-Type",p.contentType),A.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)A.setRequestHeader(d,p.headers[d]);if(p.beforeSend&&(!1===p.beforeSend.call(h,A,p)||c))return A.abort();if(w="abort",y.add(p.complete),A.done(p.success),A.fail(p.error),n=Jt(qt,p,t,A)){if(A.readyState=1,u&&m.trigger("ajaxSend",[A,p]),c)return A;p.async&&p.timeout>0&&(s=r.setTimeout((function(){A.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,w=t;c||(c=!0,s&&r.clearTimeout(s),n=void 0,o=l||"",A.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,A,a)),!d&&M.inArray("script",p.dataTypes)>-1&&M.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,A,d),d?(p.ifModified&&((x=A.getResponseHeader("Last-Modified"))&&(M.lastModified[i]=x),(x=A.getResponseHeader("etag"))&&(M.etag[i]=x)),204===e||"HEAD"===p.type?w="nocontent":304===e?w="notmodified":(w=I.state,f=I.data,d=!(b=I.error))):(b=w,!e&&w||(w="error",e<0&&(e=0))),A.status=e,A.statusText=(t||w)+"",d?g.resolveWith(h,[f,w,A]):g.rejectWith(h,[A,w,b]),A.statusCode(v),v=void 0,u&&m.trigger(d?"ajaxSuccess":"ajaxError",[A,p,d?f:b]),y.fireWith(h,[A,w]),u&&(m.trigger("ajaxComplete",[A,p]),--M.active||M.event.trigger("ajaxStop")))}return A},getJSON:function(e,t,n){return M.get(e,t,n,"json")},getScript:function(e,t){return M.get(e,void 0,t,"script")}}),M.each(["get","post"],(function(e,t){M[t]=function(e,n,r,i){return y(n)&&(i=i||r,r=n,n=void 0),M.ajax(M.extend({url:e,type:t,dataType:i,data:n,success:r},M.isPlainObject(e)&&e))}})),M.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),M._evalUrl=function(e,t,n){return M.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){M.globalEval(e,t,n)}})},M.fn.extend({wrapAll:function(e){var t;return this[0]&&(y(e)&&(e=e.call(this[0])),t=M(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){M(this).wrapInner(e.call(this,t))})):this.each((function(){var t=M(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=y(e);return this.each((function(n){M(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){M(this).replaceWith(this.childNodes)})),this}}),M.expr.pseudos.hidden=function(e){return!M.expr.pseudos.visible(e)},M.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},M.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var Kt={0:200,1223:204},$t=M.ajaxSettings.xhr();g.cors=!!$t&&"withCredentials"in $t,g.ajax=$t=!!$t,M.ajaxTransport((function(e){var t,n;if(g.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()}}})),M.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),M.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 M.globalEval(e),e}}}),M.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),M.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,i){t=M("<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=/(=)\?(?=&|$)|\?\?/;M.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=tn.pop()||M.expando+"_"+kt.guid++;return this[e]=!0,e}}),M.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+=(jt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return a||M.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?M(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"})),g.createHTMLDocument=((en=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===en.childNodes.length),M.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(g.createHTMLDocument?((r=(t=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,t.head.appendChild(r)):t=b),o=!n&&[],(i=G.exec(e))?[t.createElement(i[1])]:(i=De([e],t,o),o&&o.length&&M(o).remove(),M.merge([],i.childNodes)));var r,i,o},M.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return s>-1&&(r=Mt(e.slice(s)),e=e.slice(0,s)),y(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&M.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done((function(e){o=arguments,a.html(r?M("<div>").append(M.parseHTML(e)).find(r):e)})).always(n&&function(e,t){a.each((function(){n.apply(this,o||[e.responseText,t,e])}))}),this},M.expr.pseudos.animated=function(e){return M.grep(M.timers,(function(t){return e===t.elem})).length},M.offset={setOffset:function(e,t,n){var r,i,o,a,s,l,c=M.css(e,"position"),u=M(e),d={};"static"===c&&(e.style.position="relative"),s=u.offset(),o=M.css(e,"top"),l=M.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,M.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)}},M.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){M.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"===M.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"===M.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=M(e).offset()).top+=M.css(e,"borderTopWidth",!0),i.left+=M.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-M.css(r,"marginTop",!0),left:t.left-i.left-M.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===M.css(e,"position");)e=e.offsetParent;return e||me}))}}),M.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;M.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)}})),M.each(["top","left"],(function(e,t){M.cssHooks[t]=et(g.pixelPosition,(function(e,n){if(n)return n=$e(e,t),We.test(n)?M(e).position()[t]+"px":n}))})),M.each({Height:"height",Width:"width"},(function(e,t){M.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){M.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?M.css(t,n,s):M.style(t,n,i,s)}),t,a?i:void 0,a)}}))})),M.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){M.fn[t]=function(e){return this.on(t,e)}})),M.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.on("mouseenter",e).on("mouseleave",t||e)}}),M.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){M.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;M.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||M.guid++,i},M.holdReady=function(e){e?M.readyWait++:M.ready(!0)},M.isArray=Array.isArray,M.parseJSON=JSON.parse,M.nodeName=N,M.isFunction=y,M.isWindow=v,M.camelCase=ie,M.type=w,M.now=Date.now,M.isNumeric=function(e){var t=M.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},M.trim=function(e){return null==e?"":(e+"").replace(rn,"$1")},void 0===(n=function(){return M}.apply(t,[]))||(e.exports=n);var on=r.jQuery,an=r.$;return M.noConflict=function(e){return r.$===M&&(r.$=an),e&&r.jQuery===M&&(r.jQuery=on),M},void 0===i&&(r.jQuery=r.$=M),M}))},8287: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(m));if(r)return n=r[0],m+=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]+)?$/,m=0,g=[];;){if(n(u),m>=l)return g;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(m),"in descriptor"===a)if(t(s))o&&(i.push(o),o="",a="after descriptor");else{if(","===s)return m+=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",m-=1}m+=1}}function v(){var t,n,o,a,s,l,c,u,d,f=!1,m={};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+"'."):(m.url=r,t&&(m.w=t),n&&(m.d=n),o&&(m.h=o),g.push(m))}}})?n.apply(t,[]):n)||(e.exports=r)},8952: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},697:(e,t,n)=>{"use strict";let r=n(2780);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)},7910:(e,t,n)=>{"use strict";let r=n(1051);class i extends r{constructor(e){super(e),this.type="comment"}}e.exports=i,i.default=i},2780:(e,t,n)=>{"use strict";let r,i,o,a,{isClean:s,my:l}=n(2990),c=n(3531),u=n(7910),d=n(1051);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{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}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}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}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return{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],set:(e,t,n)=>(e[t]===n||(e[t]=n,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0)}}index(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}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}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}normalize(e,t){if("string"==typeof e)e=f(r(e).nodes);else if(void 0===e)e=[];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)))}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}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],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}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}some(e){return this.nodes.some(e)}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}))}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)}))}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)})))}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]}}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)}))}},6069:(e,t,n)=>{"use strict";let r=n(8952),i=n(3215);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,gray:t,red:i}=r.createColors(!0);n=t=>e(i(t)),o=e=>t(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},3531:(e,t,n)=>{"use strict";let r=n(1051);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},7890:(e,t,n)=>{"use strict";let r,i,o=n(2780);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},2357:(e,t,n)=>{"use strict";let r=n(3531),i=n(833),o=n(7910),a=n(697),s=n(611),l=n(199),c=n(6825);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},611:(e,t,n)=>{"use strict";let{SourceMapConsumer:r,SourceMapGenerator:i}=n(8645),{fileURLToPath:o,pathToFileURL:a}=n(588),{isAbsolute:s,resolve:l}=n(5324),{nanoid:c}=n(945),u=n(3215),d=n(6069),f=n(833),p=Symbol("fromOffsetCache"),h=Boolean(r&&i),m=Boolean(l&&s);class g{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&&(!m||/^\w+:\/\//.test(t.from)||s(t.from)?this.file=t.from:this.file=l(t.from)),m&&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)}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:{column:l.column,line:l.line},void 0===l.endLine?l.column:{column:l.endColumn,line:l.endLine},l.source,l.file,r.plugin):new d(e,void 0===o?t:{column:n,line:t},void 0===o?n:{column:s,line:o},this.css,this.file,r.plugin),i.input={column:n,endColumn:s,endLine:o,line:t,source:this.css},this.file&&(a&&(i.input.url=a(this.file).toString()),i.input.file=this.file),i}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{col:e-n[r]+1,line:r+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:l(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,t,n,r){if(!this.map)return!1;let i,l,c=this.map.consumer(),u=c.originalPositionFor({column:t,line:e});if(!u.source)return!1;"number"==typeof n&&(i=c.originalPositionFor({column:r,line:n})),l=s(u.source)?a(u.source):new URL(u.source,this.map.consumer().sourceRoot||a(this.map.mapFile));let d={column:u.column,endColumn:i&&i.column,endLine:i&&i.line,line:u.line,url:l.toString()};if("file:"===l.protocol){if(!o)throw new Error("file: protocol is not available in this PostCSS build");d.file=o(l)}let f=c.sourceContentFor(u.source);return f&&(d.source=f),d}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}get from(){return this.file||this.id}}e.exports=g,g.default=g,u&&u.registerInput&&u.registerInput(g)},3907:(e,t,n)=>{"use strict";let{isClean:r,my:i}=n(2990),o=n(609),a=n(5930),s=n(2780),l=n(7890),c=(n(1393),n(8298)),u=n(3300),d=n(199);const f={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},p={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},h={Once:!0,postcssPlugin:!0,prepare:!0},m=0;function g(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,m,n+"Exit",n+"Exit-"+t]:t?[n,n+"-"+t,n+"Exit",n+"Exit-"+t]:e.append?[n,m,n+"Exit"]:[n,n+"Exit"]}function v(e){let t;return t="document"===e.type?["Document",m,"DocumentExit"]:"root"===e.type?["Root",m,"RootExit"]:y(e),{eventIndex:0,events:t,iterator:0,node:e,visitorIndex:0,visitors:[]}}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,postcss:I,result:this.result},this.plugins=this.processor.plugins.map((e=>"object"==typeof e&&e.prepare?{...e,...e.prepare(this.result)}:e))}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,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}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}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],n=this.runOnRoot(t);if(g(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(g(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()}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 g(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)}}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}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(g(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}then(e,t){return this.async().then(e,t)}toString(){return this.css}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(g(e))throw this.getAsyncError()}}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===m)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()}walkSync(e){e[r]=!0;let t=y(e);for(let n of t)if(n===m)e.nodes&&e.each((e=>{e[r]||this.walkSync(e)}));else{let t=this.listeners[n];if(t&&this.visitSync(t,e.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}}x.registerPostcss=e=>{I=e},e.exports=x,x.default=x,d.registerLazyResult(x),l.registerLazyResult(x)},2767:e=>{"use strict";let t={comma:e=>t.split(e,[","],!0),space:e=>t.split(e,[" ","\n","\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}};e.exports=t,t.default=t},609:(e,t,n)=>{"use strict";let{SourceMapConsumer:r,SourceMapGenerator:i}=n(8645),{dirname:o,relative:a,resolve:s,sep:l}=n(5324),{pathToFileURL:c}=n(588),u=n(611),d=Boolean(r&&i),f=Boolean(o&&s&&a&&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.originalCSS=r,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}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+" */"}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=null)):t=e.consumer(),this.map.applySourceMap(t,n,this.toUrl(this.path(i)))}}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,""))}generate(){if(this.clearAnnotation(),f&&d&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,(t=>{e+=t})),[e]}}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,{ignoreInvalidMapping:!0})}else this.map=new i({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});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]}generateString(){this.css="",this.map=new i({file:this.outputFile(),ignoreInvalidMapping:!0});let e,t,n=1,r=1,o="<no source>",a={generated:{column:0,line:0},original:{column:0,line:0},source:""};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)))}}))}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some((e=>e.annotation)))}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)))}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some((e=>e.withContent()))}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(e){if(this.mapOpts.absolute)return e;if(60===e.charCodeAt(0))return e;if(/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let n=this.opts.to?o(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(n=o(s(n,this.mapOpts.annotation)));let r=a(n,e);return this.memoizedPaths.set(e,r),r}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.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}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)}}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))}toBase64(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(c){let t=c(e).toString();return this.memoizedFileURLs.set(e,t),t}throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;"\\"===l&&(e=e.replace(/\\/g,"/"));let n=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,n),n}}},8424:(e,t,n)=>{"use strict";let r=n(609),i=n(5930),o=(n(1393),n(3300));const a=n(8298);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)}else c.clearAnnotation(),this.result.css=c.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return this.async().then(e,t)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}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[Symbol.toStringTag](){return"NoWorkResult"}}e.exports=s,s.default=s},1051:(e,t,n)=>{"use strict";let{isClean:r,my:i}=n(2990),o=n(6069),a=n(9845),s=n(5930);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]}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}after(e){return this.parent.insertAfter(this,e),this}assign(e={}){for(let t in e)this[t]=e[t];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e={}){let t=l(this);for(let n in e)t[n]=e[n];return t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}error(e,t={}){if(this.source){let{end:n,start:r}=this.rangeBy(t);return this.source.input.error(e,{column:r.column,line:r.line},{column:n.column,line:n.line},t)}return new o(e)}getProxyProcessor(){return{get:(e,t)=>"proxyOf"===t?e:"root"===t?()=>e.root().toProxy():e[t],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)}}markDirty(){if(this[r]){this[r]=!1;let e=this;for(;e=e.parent;)e[r]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e,t){let n=this.source.start;if(e.index)n=this.positionInside(e.index,t);else if(e.word){let r=(t=this.toString()).indexOf(e.word);-1!==r&&(n=this.positionInside(r,t))}return n}positionInside(e,t){let n=t||this.toString(),r=this.source.start.column,i=this.source.start.line;for(let t=0;t<e;t++)"\n"===n[t]?(r=1,i+=1):r+=1;return{column:r,line:i}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e){let t={column:this.source.start.column,line:this.source.start.line},n=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){let r=this.toString(),i=r.indexOf(e.word);-1!==i&&(t=this.positionInside(i,r),n=this.positionInside(i+e.word.length,r))}else e.start?t={column:e.start.column,line:e.start.line}:e.index&&(t=this.positionInside(e.index)),e.end?n={column:e.end.column,line:e.end.line}:"number"==typeof 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={column:t.column+1,line:t.line}),{end:n,start:t}}raw(e,t){return(new a).raw(this,e,t)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}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}root(){let e=this;for(;e.parent&&"document"!==e.parent.type;)e=e.parent;return e}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]={end:r.end,inputId:o,start:r.start}}else n[e]=r}return r&&(n.inputs=[...t.keys()].map((e=>e.toJSON()))),n}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=s){e.stringify&&(e=e.stringify);let t="";return e(this,(e=>{t+=e})),t}warn(e,t,n){let r={node:this};for(let e in n)r[e]=n[e];return e.warn(t,r)}get proxyOf(){return this}}e.exports=c,c.default=c},3300:(e,t,n)=>{"use strict";let r=n(2780),i=n(612),o=n(611);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)},612:(e,t,n)=>{"use strict";let r=n(3531),i=n(1374),o=n(7910),a=n(697),s=n(199),l=n(6825);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.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}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]),i.source.end.offset++,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]),i.source.end.offset++)}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]),i.source.end.offset++,this.spaces=i.raws.between,i.raws.between="")):(i.raws.afterName="",i.params=""),s&&(i.nodes=[],this.current=i)}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])}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}comment(e){let t=new o;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;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]}}createTokenizer(){this.tokenizer=i(this.input)}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)),n.source.end.offset++;"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)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new l;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}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.source.end.offset++,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,this.root.source.end=this.getPosition(this.tokenizer.position())}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{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)}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)}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()}precheckMissedSemicolon(){}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]={raw:r,value:u}}e[t]=u}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}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}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{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})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}}},9274:(e,t,n)=>{"use strict";let r=n(6069),i=n(3531),o=n(3907),a=n(2780),s=n(2315),l=n(5930),c=n(2357),u=n(7890),d=n(7107),f=n(7910),p=n(697),h=n(8298),m=n(611),g=n(3300),y=n(2767),v=n(6825),b=n(199),I=n(1051);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=g,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=m,x.Rule=v,x.Root=b,x.Node=I,o.registerPostcss(x),e.exports=x,x.default=x},833:(e,t,n)=>{"use strict";let{SourceMapConsumer:r,SourceMapGenerator:i}=n(8645),{existsSync:o,readFileSync:a}=n(8892),{dirname:s,join:l}=n(5324);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}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)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))}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)))}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)}}}startWith(e,t){return!!e&&e.substr(0,t.length)===t}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}e.exports=c,c.default=c},2315:(e,t,n)=>{"use strict";let r=n(8424),i=n(3907),o=n(7890),a=n(199);class s{constructor(e=[]){this.version="8.4.38",this.plugins=this.normalize(e)}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}process(e,t={}){return this.plugins.length||t.parser||t.stringifier||t.syntax?new i(this,e,t):new r(this,e,t)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}}e.exports=s,s.default=s,a.registerProcessor(s),o.registerProcessor(s)},8298:(e,t,n)=>{"use strict";let r=n(7107);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},199:(e,t,n)=>{"use strict";let r,i,o=n(2780);class a extends o{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}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}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)}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)},6825:(e,t,n)=>{"use strict";let r=n(2780),i=n(2767);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)},9845:e=>{"use strict";const t={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};class n{constructor(e){this.builder=e}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)}}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}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")}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)}}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)}document(e){this.body(e)}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}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}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}rawBeforeOpen(e){let t;return e.walk((e=>{if("decl"!==e.type&&(t=e.raws.between,void 0!==t))return!1})),t}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}rawColon(e){let t;return e.walkDecls((e=>{if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!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}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}rawValue(e,t){let n=e[t],r=e.raws[t];return r&&r.value===n?r.raw:n}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}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)}}e.exports=n,n.default=n},5930:(e,t,n)=>{"use strict";let r=n(9845);function i(e,t){new r(t).stringify(e)}e.exports=i,i.default=i},2990:e=>{"use strict";e.exports.isClean=Symbol("isClean"),e.exports.my=Symbol("my")},1374: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),m="}".charCodeAt(0),g=";".charCodeAt(0),y="*".charCodeAt(0),v=":".charCodeAt(0),b="@".charCodeAt(0),I=/[\t\n\f\r "#'()/;[\\\]{}]/g,x=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,w=/.[\r\n"'(/\\]/,A=/[\da-f]/i;e.exports=function(e,T={}){let M,C,N,E,S,k,j,D,L,O,R=e.css.valueOf(),P=T.ignoreErrors,z=R.length,U=0,B=[],G=[];function Z(t){throw e.error("Unclosed "+t,U)}return{back:function(e){G.push(e)},endOfFile:function(){return 0===G.length&&U>=z},nextToken:function(e){if(G.length)return G.pop();if(U>=z)return;let T=!!e&&e.ignoreUnclosed;switch(M=R.charCodeAt(U),M){case o:case a:case l:case c:case s:C=U;do{C+=1,M=R.charCodeAt(C)}while(M===a||M===o||M===l||M===c||M===s);O=["space",R.slice(U,C)],U=C-1;break;case u:case d:case h:case m:case v:case g:case p:{let e=String.fromCharCode(M);O=[e,e,U];break}case f:if(D=B.length?B.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(k=!1,C=R.indexOf(")",C+1),-1===C){if(P||T){C=U;break}Z("bracket")}for(j=C;R.charCodeAt(j-1)===r;)j-=1,k=!k}while(k);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||w.test(E)?O=["(","(",U]:(O=["brackets",E,U,C],U=C);break;case t:case n:N=M===t?"'":'"',C=U;do{if(k=!1,C=R.indexOf(N,C+1),-1===C){if(P||T){C=U+1;break}Z("string")}for(j=C;R.charCodeAt(j-1)===r;)j-=1,k=!k}while(k);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(M=R.charCodeAt(C+1),S&&M!==i&&M!==a&&M!==o&&M!==l&&M!==c&&M!==s&&(C+=1,A.test(R.charAt(C)))){for(;A.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:M===i&&R.charCodeAt(U+1)===y?(C=R.indexOf("*/",U+2)+1,0===C&&(P||T?C=R.length:Z("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],B.push(O),U=C)}return U++,O},position:function(){return U}}}},1393:e=>{"use strict";let t={};e.exports=function(e){t[e]||(t[e]=!0,"undefined"!=typeof console&&console.warn&&console.warn(e))}},7107: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,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}e.exports=t,t.default=t},6999:(e,t,n)=>{"use strict";var r=n(6848);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}},9067:(e,t,n)=>{e.exports=n(6999)()},6848:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},7521:(e,t,n)=>{const r=n(5482),i=n(2189),{isPlainObject:o}=n(993),a=n(2743),s=n(8287),{parse:l}=n(9274),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=m;const h=/^[^\0\t\n\f\r /<=>]+$/;function m(e,t,n){if(null==e)return"";"number"==typeof e&&(e=e.toString());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(){k.length&&(k[k.length-1].text+=n.text)},this.updateParentNodeMediaChildren=function(){k.length&&c.includes(this.tag)&&k[k.length-1].mediaChildren.push(this.tag)}}(t=Object.assign({},m.defaults,t)).parser=Object.assign({},g,t.parser);const I=function(e){return!1===t.allowedTags||(t.allowedTags||[]).indexOf(e)>-1};u.forEach((function(e){I(e)&&!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 x=t.nonTextTags||["script","style","textarea","option"];let w,A;t.allowedAttributes&&(w={},A={},d(t.allowedAttributes,(function(e,t){w[t]=[];const n=[];e.forEach((function(e){"string"==typeof e&&e.indexOf("*")>=0?n.push(i(e).replace(/\\\*/g,".*")):w[t].push(e)})),n.length&&(A[t]=new RegExp("^("+n.join("|")+")$"))})));const T={},M={},C={};d(t.allowedClasses,(function(e,t){if(w&&(f(w,t)||(w[t]=[]),w[t].push("class")),T[t]=e,Array.isArray(e)){const n=[];T[t]=[],C[t]=[],e.forEach((function(e){"string"==typeof e&&e.indexOf("*")>=0?n.push(i(e).replace(/\\\*/g,".*")):e instanceof RegExp?C[t].push(e):T[t].push(e)})),n.length&&(M[t]=new RegExp("^("+n.join("|")+")$"))}}));const N={};let E,S,k,j,D,L,O;d(t.transformTags,(function(e,t){let n;"function"==typeof e?n=e:"string"==typeof e&&(n=m.simpleTransform(e)),"*"===t?E=n:N[t]=n}));let R=!1;z();const P=new r.Parser({onopentag:function(e,n){if(t.enforceHtmlBoundary&&"html"===e&&z(),L)return void O++;const r=new b(e,n);k.push(r);let i=!1;const c=!!r.text;let u;if(f(N,e)&&(u=N[e](e,n),r.attribs=n=u.attribs,void 0!==u.text&&(r.innerText=u.text),e!==u.tagName&&(r.name=e=u.tagName,D[S]=u.tagName)),E&&(u=E(e,n),r.attribs=n=u.attribs,e!==u.tagName&&(r.name=e=u.tagName,D[S]=u.tagName)),(!I(e)||"recursiveEscape"===t.disallowedTagsMode&&!function(e){for(const t in e)if(f(e,t))return!1;return!0}(j)||null!=t.nestingLimit&&S>=t.nestingLimit)&&(i=!0,j[S]=!0,"discard"!==t.disallowedTagsMode&&"completelyDiscard"!==t.disallowedTagsMode||-1!==x.indexOf(e)&&(L=!0,O=1),j[S]=!0),S++,i){if("discard"===t.disallowedTagsMode||"completelyDiscard"===t.disallowedTagsMode)return;v=y,y=""}y+="<"+e,"script"===e&&(t.allowedScriptHostnames||t.allowedScriptDomains)&&(r.innerText=""),(!w||f(w,e)||w["*"])&&d(n,(function(n,i){if(!h.test(i))return void delete r.attribs[i];if(""===n&&!t.allowedEmptyAttributes.includes(i)&&(t.nonBooleanAttributes.includes(i)||t.nonBooleanAttributes.includes("*")))return void delete r.attribs[i];let c=!1;if(!w||f(w,e)&&-1!==w[e].indexOf(i)||w["*"]&&-1!==w["*"].indexOf(i)||f(A,e)&&A[e].test(i)||A["*"]&&A["*"].test(i))c=!0;else if(w&&w[e])for(const t of w[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)&&B(e,n))return void delete r.attribs[i];if("script"===e&&"src"===i){let e=!0;try{const r=G(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=G(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){B("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=T[e],o=T["*"],s=M[e],l=C[e],c=[s,M["*"]].concat(l).filter((function(e){return e}));if(!(u=n,d=t&&o?a(t,o):t||o,m=c,n=d?(u=u.split(/\s+/)).filter((function(e){return-1!==d.indexOf(e)||m.some((function(t){return t.test(e)}))})).join(" "):u).length)return void delete r.attribs[i]}if("style"===i)if(t.parseStyleAttributes)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+"}",{map:!1}),t.allowedStyles)),0===n.length)return void delete r.attribs[i]}catch(t){return"undefined"!=typeof window&&console.warn('Failed to parse "'+e+" {"+n+"}\", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547"),void delete r.attribs[i]}else if(t.allowedStyles)throw new Error("allowedStyles option cannot be used together with parseStyleAttributes: false.");y+=" "+i,n&&n.length?y+='="'+U(n,!0)+'"':t.allowedEmptyAttributes.includes(i)&&(y+='=""')}else delete r.attribs[i];var u,d,m})),-1!==t.selfClosing.indexOf(e)?y+=" />":(y+=">",!r.innerText||c||t.textFilter||(y+=U(r.innerText),R=!0)),i&&(y=v+U(y),v="")},ontext:function(e){if(L)return;const n=k[k.length-1];let r;if(n&&(r=n.tag,e=void 0!==n.innerText?n.innerText:e),"completelyDiscard"!==t.disallowedTagsMode||I(r))if("discard"!==t.disallowedTagsMode&&"completelyDiscard"!==t.disallowedTagsMode||"script"!==r&&"style"!==r){const n=U(e,!1);t.textFilter&&!R?y+=t.textFilter(n,r):R||(y+=n)}else y+=e;else e="";k.length&&(k[k.length-1].text+=e)},onclosetag:function(e,n){if(L){if(O--,O)return;L=!1}const r=k.pop();if(!r)return;if(r.tag!==e)return void k.push(r);L=!!t.enforceHtmlBoundary&&"html"===e,S--;const i=j[S];if(i){if(delete j[S],"discard"===t.disallowedTagsMode||"completelyDiscard"===t.disallowedTagsMode)return void r.updateParentNodeText();v=y,y=""}D[S]&&(e=D[S],delete D[S]),t.exclusiveFilter&&t.exclusiveFilter(r)?y=y.substr(0,r.tagPosition):(r.updateParentNodeMediaChildren(),r.updateParentNodeText(),-1!==t.selfClosing.indexOf(e)||n&&!I(e)&&["escape","recursiveEscape"].indexOf(t.disallowedTagsMode)>=0?i&&(y=v,v=""):(y+="</"+e+">",i&&(y=v+U(y),v=""),R=!1))}},t.parser);return P.write(e),P.end(),y;function z(){y="",S=0,k=[],j={},D={},L=!1,O=0}function U(e,n){return"string"!=typeof e&&(e+=""),t.parser.decodeEntities&&(e=e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),n&&(e=e.replace(/"/g,"&quot;"))),e=e.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),n&&(e=e.replace(/"/g,"&quot;")),e}function B(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 G(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 g={decodeEntities:!0};m.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"],nonBooleanAttributes:["abbr","accept","accept-charset","accesskey","action","allow","alt","as","autocapitalize","autocomplete","blocking","charset","cite","class","color","cols","colspan","content","contenteditable","coords","crossorigin","data","datetime","decoding","dir","dirname","download","draggable","enctype","enterkeyhint","fetchpriority","for","form","formaction","formenctype","formmethod","formtarget","headers","height","hidden","high","href","hreflang","http-equiv","id","imagesizes","imagesrcset","inputmode","integrity","is","itemid","itemprop","itemref","itemtype","kind","label","lang","list","loading","low","max","maxlength","media","method","min","minlength","name","nonce","optimum","pattern","ping","placeholder","popover","popovertarget","popovertargetaction","poster","preload","referrerpolicy","rel","rows","rowspan","sandbox","scope","shape","size","sizes","slot","span","spellcheck","src","srcdoc","srclang","srcset","start","step","style","tabindex","target","title","translate","type","usemap","value","width","wrap","onauxclick","onafterprint","onbeforematch","onbeforeprint","onbeforeunload","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpageshow","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onreset","onresize","onrejectionhandled","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},allowedEmptyAttributes:["alt"],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,parseStyleAttributes:!0},m.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}}}},679:(e,t,n)=>{"use strict";n.r(t),n.d(t,{focusable:()=>x,getTabIndex:()=>f,isFocusable:()=>T,isTabbable:()=>w,tabbable:()=>I});var r=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],i=r.join(","),o="undefined"==typeof Element,a=o?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,s=!o&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},l=function e(t,n){var r;void 0===n&&(n=!0);var i=null==t||null===(r=t.getAttribute)||void 0===r?void 0:r.call(t,"inert");return""===i||"true"===i||n&&t&&e(t.parentNode)},c=function(e,t,n){if(l(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(i));return t&&a.call(e,i)&&r.unshift(e),r.filter(n)},u=function e(t,n,r){for(var o=[],s=Array.from(t);s.length;){var c=s.shift();if(!l(c,!1))if("SLOT"===c.tagName){var u=c.assignedElements(),d=e(u.length?u:c.children,!0,r);r.flatten?o.push.apply(o,d):o.push({scopeParent:c,candidates:d})}else{a.call(c,i)&&r.filter(c)&&(n||!t.includes(c))&&o.push(c);var f=c.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(c),p=!l(f,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(c));if(f&&p){var h=e(!0===f?c.children:f.children,!0,r);r.flatten?o.push.apply(o,h):o.push({scopeParent:c,candidates:h})}else s.unshift.apply(s,c.children)}}return o},d=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},f=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,n=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n}(e))&&!d(e)?0:e.tabIndex},p=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},h=function(e){return"INPUT"===e.tagName},m=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r},g=function(e,t){return!(t.disabled||l(t)||function(e){return h(e)&&"hidden"===e.type}(t)||function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var i=a.call(e,"details>summary:first-of-type")?e.parentElement:e;if(a.call(i,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return m(e)}else{if("function"==typeof r){for(var o=e;e;){var l=e.parentElement,c=s(e);if(l&&!l.shadowRoot&&!0===r(l))return m(e);e=e.assignedSlot?e.assignedSlot:l||c===e.ownerDocument?l:c.host}e=o}if(function(e){var t,n,r,i,o=e&&s(e),a=null===(t=o)||void 0===t?void 0:t.host,l=!1;if(o&&o!==e)for(l=!!(null!==(n=a)&&void 0!==n&&null!==(r=n.ownerDocument)&&void 0!==r&&r.contains(a)||null!=e&&null!==(i=e.ownerDocument)&&void 0!==i&&i.contains(e));!l&&a;){var c,u,d;l=!(null===(u=a=null===(c=o=s(a))||void 0===c?void 0:c.host)||void 0===u||null===(d=u.ownerDocument)||void 0===d||!d.contains(a))}return l}(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1}(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if("LEGEND"===r.tagName)return!!a.call(t,"fieldset[disabled] *")||!r.contains(e)}return!0}t=t.parentElement}return!1}(t))},y=function(e,t){return!(function(e){return function(e){return h(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||s(e),r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var i=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!i||i===e}(e)}(t)||f(t)<0||!g(e,t))},v=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},b=function e(t){var n=[],r=[];return t.forEach((function(t,i){var o=!!t.scopeParent,a=o?t.scopeParent:t,s=function(e,t){var n=f(e);return n<0&&t&&!d(e)?0:n}(a,o),l=o?e(t.candidates):a;0===s?o?n.push.apply(n,l):n.push(a):r.push({documentOrder:i,tabIndex:s,item:t,isScope:o,content:l})})),r.sort(p).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(n)},I=function(e,t){var n;return n=(t=t||{}).getShadowRoot?u([e],t.includeContainer,{filter:y.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:v}):c(e,t.includeContainer,y.bind(null,t)),b(n)},x=function(e,t){return(t=t||{}).getShadowRoot?u([e],t.includeContainer,{filter:g.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):c(e,t.includeContainer,g.bind(null,t))},w=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==a.call(e,i)&&y(t,e)},A=r.concat("iframe").join(","),T=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==a.call(e,A)&&g(t,e)}},758: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 m={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=m,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)},5969:(e,t,n)=>{"use strict";var r=n(5442),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.useSyncExternalStore,a=r.useRef,s=r.useEffect,l=r.useMemo,c=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,u){var d=a(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=l((function(){function e(e){if(!s){if(s=!0,o=e,e=r(e),void 0!==u&&f.hasValue){var t=f.value;if(u(t,e))return a=t}return a=e}if(t=a,i(o,e))return t;var n=r(e);return void 0!==u&&u(t,n)?t:(o=e,a=n)}var o,a,s=!1,l=void 0===n?null:n;return[function(){return e(t())},null===l?void 0:function(){return e(l())}]}),[t,n,r,u]);var p=o(e,d[0],d[1]);return s((function(){f.hasValue=!0,f.value=p}),[p]),c(p),p}},5919:(e,t,n)=>{"use strict";e.exports=n(5969)},9002:e=>{e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},5442:t=>{"use strict";t.exports=e},3215:()=>{},8892:()=>{},5324:()=>{},8645:()=>{},588:()=>{},3373:(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];n&&(e=a(e,o(n)))}return e}function o(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},945: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}}}},i={};function o(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={exports:{}};return r[e].call(n.exports,n,n.exports,o),n.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var i=Object.create(null);o.r(i);var a={};t=t||[null,n({}),n([]),n(n)];for(var s=2&r&&e;"object"==typeof s&&!~t.indexOf(s);s=n(s))Object.getOwnPropertyNames(s).forEach((t=>a[t]=()=>e[t]));return a.default=()=>e,o.d(i,a),i},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{"use strict";o.r(a),o.d(a,{Attachments:()=>wd,Exam:()=>jy,GradingInstructions:()=>_y,Results:()=>Ev,parseExam:()=>tb});var e=o(5442),t=o.n(e);o(9002),Object.create(null);const n={};function r(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];"string"==typeof t[0]&&n[t[0]]||("string"==typeof t[0]&&(n[t[0]]=new Date),function(){if(console&&console.warn){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];"string"==typeof t[0]&&(t[0]=`react-i18next:: ${t[0]}`),console.warn(...t)}}(...t))}const i=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout((()=>{e.off("initialized",n)}),0),t()};e.on("initialized",n)}};function s(e,t,n){e.loadNamespaces(t,i(e,n))}function l(e,t,n,r){"string"==typeof n&&(n=[n]),n.forEach((t=>{e.options.ns.indexOf(t)<0&&e.options.ns.push(t)})),e.loadLanguages(t,i(e,r))}const c=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,u={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},d=e=>u[e];let f,p={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(c,d)};const h=(0,e.createContext)();class m{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach((e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)}))}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const g=(t,n)=>{const r=(0,e.useRef)();return(0,e.useEffect)((()=>{r.current=n?r.current:t}),[t,n]),r.current};function y(e,t,n,r){return e.getFixedT(t,n,r)}function v(t){let{i18n:n,defaultNS:r,children:i}=t;const o=(0,e.useMemo)((()=>({i18n:n,defaultNS:r})),[n,r]);return(0,e.createElement)(h.Provider,{value:o},i)}const b=t().createContext({}),I=({children:e,annotations:n,onClickAnnotation:r,onSaveAnnotation:i})=>{const[o,a]=t().useState(null),[s,l]=t().useState();return r||i?t().createElement(b.Provider,{value:{annotations:n,onClickAnnotation:r,onSaveAnnotation:i,setNewAnnotation:a,newAnnotation:o,newAnnotationRef:s,setNewAnnotationRef:l}},e):e},x=function(e,t){return e===t||e!=e&&t!=t},w=function(e,t){for(var n=e.length;n--;)if(x(e[n][0],t))return n;return-1};var A=Array.prototype.splice;function T(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])}}T.prototype.clear=function(){this.__data__=[],this.size=0},T.prototype.delete=function(e){var t=this.__data__,n=w(t,e);return!(n<0||(n==t.length-1?t.pop():A.call(t,n,1),--this.size,0))},T.prototype.get=function(e){var t=this.__data__,n=w(t,e);return n<0?void 0:t[n][1]},T.prototype.has=function(e){return w(this.__data__,e)>-1},T.prototype.set=function(e,t){var n=this.__data__,r=w(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};const M=T,C="object"==typeof global&&global&&global.Object===Object&&global;var N="object"==typeof self&&self&&self.Object===Object&&self;const E=C||N||Function("return this")(),S=E.Symbol;var k=Object.prototype,j=k.hasOwnProperty,D=k.toString,L=S?S.toStringTag:void 0;var O=Object.prototype.toString;var R=S?S.toStringTag:void 0;const P=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":R&&R in Object(e)?function(e){var t=j.call(e,L),n=e[L];try{e[L]=void 0;var r=!0}catch(e){}var i=D.call(e);return r&&(t?e[L]=n:delete e[L]),i}(e):function(e){return O.call(e)}(e)},z=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},U=function(e){if(!z(e))return!1;var t=P(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},B=E["__core-js_shared__"];var G,Z=(G=/[^.]+$/.exec(B&&B.keys&&B.keys.IE_PROTO||""))?"Symbol(src)_1."+G:"";var F=Function.prototype.toString;const H=function(e){if(null!=e){try{return F.call(e)}catch(e){}try{return e+""}catch(e){}}return""};var _=/^\[object .+?Constructor\]$/,Y=Function.prototype,q=Object.prototype,V=Y.toString,W=q.hasOwnProperty,Q=RegExp("^"+V.call(W).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const J=function(e){return!(!z(e)||(t=e,Z&&Z in t))&&(U(e)?Q:_).test(H(e));var t},X=function(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return J(n)?n:void 0},K=X(E,"Map"),$=X(Object,"create");var ee=Object.prototype.hasOwnProperty;var te=Object.prototype.hasOwnProperty;function ne(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}ne.prototype.clear=function(){this.__data__=$?$(null):{},this.size=0},ne.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ne.prototype.get=function(e){var t=this.__data__;if($){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return ee.call(t,e)?t[e]:void 0},ne.prototype.has=function(e){var t=this.__data__;return $?void 0!==t[e]:te.call(t,e)},ne.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=$&&void 0===t?"__lodash_hash_undefined__":t,this};const re=ne,ie=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 oe(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])}}oe.prototype.clear=function(){this.size=0,this.__data__={hash:new re,map:new(K||M),string:new re}},oe.prototype.delete=function(e){var t=ie(this,e).delete(e);return this.size-=t?1:0,t},oe.prototype.get=function(e){return ie(this,e).get(e)},oe.prototype.has=function(e){return ie(this,e).has(e)},oe.prototype.set=function(e,t){var n=ie(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};const ae=oe;function se(e){var t=this.__data__=new M(e);this.size=t.size}se.prototype.clear=function(){this.__data__=new M,this.size=0},se.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},se.prototype.get=function(e){return this.__data__.get(e)},se.prototype.has=function(e){return this.__data__.has(e)},se.prototype.set=function(e,t){var n=this.__data__;if(n instanceof M){var r=n.__data__;if(!K||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new ae(r)}return n.set(e,t),this.size=n.size,this};const le=se;function ce(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new ae;++t<n;)this.add(e[t])}ce.prototype.add=ce.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},ce.prototype.has=function(e){return this.__data__.has(e)};const ue=ce,de=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},fe=function(e,t){return e.has(t)},pe=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 ue:void 0;for(o.set(e,t),o.set(t,e);++d<s;){var h=e[d],m=t[d];if(r)var g=a?r(m,h,d,t,e,o):r(h,m,d,e,t,o);if(void 0!==g){if(g)continue;f=!1;break}if(p){if(!de(t,(function(e,t){if(!fe(p,t)&&(h===e||i(h,e,n,r,o)))return p.push(t)}))){f=!1;break}}else if(h!==m&&!i(h,m,n,r,o)){f=!1;break}}return o.delete(e),o.delete(t),f},he=E.Uint8Array,me=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n},ge=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n};var ye=S?S.prototype:void 0,ve=ye?ye.valueOf:void 0;const be=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e},Ie=Array.isArray,xe=function(e,t,n){var r=t(e);return Ie(e)?r:be(r,n(e))},we=function(){return[]};var Ae=Object.prototype.propertyIsEnumerable,Te=Object.getOwnPropertySymbols,Me=Te?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}(Te(e),(function(t){return Ae.call(e,t)})))}:we;const Ce=Me,Ne=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r},Ee=function(e){return null!=e&&"object"==typeof e},Se=function(e){return Ee(e)&&"[object Arguments]"==P(e)};var ke=Object.prototype,je=ke.hasOwnProperty,De=ke.propertyIsEnumerable;const Le=Se(function(){return arguments}())?Se:function(e){return Ee(e)&&je.call(e,"callee")&&!De.call(e,"callee")};var Oe="object"==typeof exports&&exports&&!exports.nodeType&&exports,Re=Oe&&"object"==typeof module&&module&&!module.nodeType&&module,Pe=Re&&Re.exports===Oe?E.Buffer:void 0;const ze=(Pe?Pe.isBuffer:void 0)||function(){return!1};var Ue=/^(?:0|[1-9]\d*)$/;const Be=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&Ue.test(e))&&e>-1&&e%1==0&&e<t},Ge=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991};var Ze={};Ze["[object Float32Array]"]=Ze["[object Float64Array]"]=Ze["[object Int8Array]"]=Ze["[object Int16Array]"]=Ze["[object Int32Array]"]=Ze["[object Uint8Array]"]=Ze["[object Uint8ClampedArray]"]=Ze["[object Uint16Array]"]=Ze["[object Uint32Array]"]=!0,Ze["[object Arguments]"]=Ze["[object Array]"]=Ze["[object ArrayBuffer]"]=Ze["[object Boolean]"]=Ze["[object DataView]"]=Ze["[object Date]"]=Ze["[object Error]"]=Ze["[object Function]"]=Ze["[object Map]"]=Ze["[object Number]"]=Ze["[object Object]"]=Ze["[object RegExp]"]=Ze["[object Set]"]=Ze["[object String]"]=Ze["[object WeakMap]"]=!1;const Fe=function(e){return function(t){return e(t)}};var He="object"==typeof exports&&exports&&!exports.nodeType&&exports,_e=He&&"object"==typeof module&&module&&!module.nodeType&&module,Ye=_e&&_e.exports===He&&C.process;const qe=function(){try{return _e&&_e.require&&_e.require("util").types||Ye&&Ye.binding&&Ye.binding("util")}catch(e){}}();var Ve=qe&&qe.isTypedArray;const We=Ve?Fe(Ve):function(e){return Ee(e)&&Ge(e.length)&&!!Ze[P(e)]};var Qe=Object.prototype.hasOwnProperty;const Je=function(e,t){var n=Ie(e),r=!n&&Le(e),i=!n&&!r&&ze(e),o=!n&&!r&&!i&&We(e),a=n||r||i||o,s=a?Ne(e.length,String):[],l=s.length;for(var c in e)!t&&!Qe.call(e,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Be(c,l))||s.push(c);return s};var Xe=Object.prototype;const Ke=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Xe)},$e=function(e,t){return function(n){return e(t(n))}},et=$e(Object.keys,Object);var tt=Object.prototype.hasOwnProperty;const nt=function(e){return null!=e&&Ge(e.length)&&!U(e)},rt=function(e){return nt(e)?Je(e):function(e){if(!Ke(e))return et(e);var t=[];for(var n in Object(e))tt.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)},it=function(e){return xe(e,rt,Ce)};var ot=Object.prototype.hasOwnProperty;const at=X(E,"DataView"),st=X(E,"Promise"),lt=X(E,"Set"),ct=X(E,"WeakMap");var ut="[object Map]",dt="[object Promise]",ft="[object Set]",pt="[object WeakMap]",ht="[object DataView]",mt=H(at),gt=H(K),yt=H(st),vt=H(lt),bt=H(ct),It=P;(at&&It(new at(new ArrayBuffer(1)))!=ht||K&&It(new K)!=ut||st&&It(st.resolve())!=dt||lt&&It(new lt)!=ft||ct&&It(new ct)!=pt)&&(It=function(e){var t=P(e),n="[object Object]"==t?e.constructor:void 0,r=n?H(n):"";if(r)switch(r){case mt:return ht;case gt:return ut;case yt:return dt;case vt:return ft;case bt:return pt}return t});const xt=It;var wt="[object Arguments]",At="[object Array]",Tt="[object Object]",Mt=Object.prototype.hasOwnProperty;const Ct=function(e,t,n,r,i,o){var a=Ie(e),s=Ie(t),l=a?At:xt(e),c=s?At:xt(t),u=(l=l==wt?Tt:l)==Tt,d=(c=c==wt?Tt:c)==Tt,f=l==c;if(f&&ze(e)){if(!ze(t))return!1;a=!0,u=!1}if(f&&!u)return o||(o=new le),a||We(e)?pe(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 he(e),new he(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return x(+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=me;case"[object Set]":var l=1&r;if(s||(s=ge),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=pe(s(e),s(t),r,i,o,a);return a.delete(e),u;case"[object Symbol]":if(ve)return ve.call(e)==ve.call(t)}return!1}(e,t,l,n,r,i,o);if(!(1&n)){var p=u&&Mt.call(e,"__wrapped__"),h=d&&Mt.call(t,"__wrapped__");if(p||h){var m=p?e.value():e,g=h?t.value():t;return o||(o=new le),i(m,g,n,r,o)}}return!!f&&(o||(o=new le),function(e,t,n,r,i,o){var a=1&n,s=it(e),l=s.length;if(l!=it(t).length&&!a)return!1;for(var c=l;c--;){var u=s[c];if(!(a?u in t:ot.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 m=e[u=s[c]],g=t[u];if(r)var y=a?r(g,m,u,t,e,o):r(m,g,u,e,t,o);if(!(void 0===y?m===g||i(m,g,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))},Nt=function e(t,n,r,i,o){return t===n||(null==t||null==n||!Ee(t)&&!Ee(n)?t!=t&&n!=n:Ct(t,n,r,i,e,o))},Et=function(e){return e==e&&!z(e)},St=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}},kt=function(e){var t=function(e){for(var t=rt(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,Et(i)]}return t}(e);return 1==t.length&&t[0][2]?St(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 le;if(r)var f=r(c,u,l,e,t,d);if(!(void 0===f?Nt(u,c,3,r,d):f))return!1}}return!0}(n,e,t)}},jt=function(e){return"symbol"==typeof e||Ee(e)&&"[object Symbol]"==P(e)};var Dt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Lt=/^\w*$/;const Ot=function(e,t){if(Ie(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!jt(e))||Lt.test(e)||!Dt.test(e)||null!=t&&e in Object(t)};function Rt(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(Rt.Cache||ae),n}Rt.Cache=ae;var Pt,zt,Ut,Bt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Gt=/\\(\\)?/g,Zt=(Pt=function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Bt,(function(e,n,r,i){t.push(r?i.replace(Gt,"$1"):n||e)})),t},zt=Rt(Pt,(function(e){return 500===Ut.size&&Ut.clear(),e})),Ut=zt.cache,zt);const Ft=Zt,Ht=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 _t=S?S.prototype:void 0,Yt=_t?_t.toString:void 0;const qt=function e(t){if("string"==typeof t)return t;if(Ie(t))return Ht(t,e)+"";if(jt(t))return Yt?Yt.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n},Vt=function(e){return null==e?"":qt(e)},Wt=function(e,t){return Ie(e)?e:Ot(e,t)?[e]:Ft(Vt(e))},Qt=function(e){if("string"==typeof e||jt(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t},Jt=function(e,t){for(var n=0,r=(t=Wt(t,e)).length;null!=e&&n<r;)e=e[Qt(t[n++])];return n&&n==r?e:void 0},Xt=function(e,t,n){var r=null==e?void 0:Jt(e,t);return void 0===r?n:r},Kt=function(e,t){return null!=e&&t in Object(e)},$t=function(e,t){return null!=e&&function(e,t,n){for(var r=-1,i=(t=Wt(t,e)).length,o=!1;++r<i;){var a=Qt(t[r]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&Ge(i)&&Be(a,i)&&(Ie(e)||Le(e))}(e,t,Kt)},en=function(e){return e},tn=function(e){return Ot(e)?function(e){return function(t){return null==t?void 0:t[e]}}(Qt(e)):function(e){return function(t){return Jt(t,e)}}(e)},nn=function(e){return"function"==typeof e?e:null==e?en:"object"==typeof e?Ie(e)?(t=e[0],n=e[1],Ot(t)&&Et(n)?St(Qt(t),n):function(e){var r=Xt(e,t);return void 0===r&&r===n?$t(e,t):Nt(n,r,3)}):kt(e):tn(e);var t,n},rn=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},on=function(e,t){return e&&e.length?function(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?rn(e,r?0:o,r?o+1:i):rn(e,r?o+1:0,r?i:o)}(e,nn(t)):[]},an=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,en):0};function sn(e){var t;return e.nodeType===Node.TEXT_NODE?null===(t=e.textContent)||void 0===t?void 0:t.length:"IMG"===e.nodeName?1:0}function ln(e,t){0===e.button&&window.addEventListener("mouseup",(function e(n){const r=n.target;window.removeEventListener("mouseup",e);const i=window.getSelection();if(i&&function(){const e=window.getSelection();return null!==e&&function(e){if("None"===e.type||"Caret"===e.type||0===e.rangeCount)return!1;const t=e.getRangeAt(0).startContainer,n=e.getRangeAt(0).endContainer,r=t.parentElement,i=n.parentElement,o=Array.from(e.getRangeAt(0).cloneContents().children).some((e=>"MARK"===e.tagName&&e.getAttribute("data-annotation-id")));return e.rangeCount>0&&r===i&&"MARK"!==(null==r?void 0:r.tagName)&&!o}(e)&&("Range"===(null==(t=e)?void 0:t.type)||function(e){const t=null==e?void 0:e.getRangeAt(0);return!!e.rangeCount&&t.toString().length>0||n(t.startContainer)||n(t.endContainer)}(e));var t;function n(e){return e.classList.contains("answer")}}()){const e=function(e,t){if(function(e){var t;const n=e.cloneContents(),r=Array.from(n.childNodes).some((e=>e instanceof Element&&(e.classList.contains("e-annotation-wrapper")||"IMG"===e.tagName)));return 0===(null===(t=n.textContent)||void 0===t?void 0:t.length)&&!r}(t))return;const n=function(e,t=document){let n=null;const r=[],i=t.createTreeWalker(e,NodeFilter.SHOW_TEXT+NodeFilter.SHOW_ELEMENT,null);for(;n=i.nextNode();)r.push(n);return r}(e),r=o(t.startContainer,t.startOffset,e),i=o(t.endContainer,t.endOffset,e)-r;if(!(i<=0))return{startIndex:r,length:i};function o(e,t,r){const i=e===r,o=i?e.childNodes[t]:e,a=i?0:t,s=on(n,(e=>e!==o));return a+an(s.map(sn))}}(r,i.getRangeAt(0));if(!e)return;const n=i.toString();t({...e,selectedText:n})}}))}const cn=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e},un=function(e,t,n){for(var r=-1,i=Object(e),o=n(e),a=o.length;a--;){var s=o[dn?a:++r];if(!1===t(i[s],s,i))break}return e};var dn;const fn=function(e,t){return e&&un(e,t,rt)},pn=function(e,t){return function(n,r){if(null==n)return n;if(!nt(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}}(fn),hn=function(e){return"function"==typeof e?e:en},mn=function(e,t){return(Ie(e)?cn:pn)(e,hn(t))},gn=(0,e.createContext)({}),yn=" ";function vn(e,t){const n=null!=t?bn(t):void 0,r=[];for(;null!=e.parentElement;)e=e.parentElement,(null==n||n(e))&&r.push(e);return r}function bn(e){return"function"==typeof e?t=>t.namespaceURI===Ln&&e(t):Array.isArray(e)?t=>t.namespaceURI===Ln&&e.includes(t.localName):t=>t.namespaceURI===Ln&&t.localName===e}function In(e,t){const n=bn(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 xn(e,t,n=!0){const r=bn(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 wn(e,t){const n=bn(t);for(;null!=e.parentElement;)if(n(e=e.parentElement))return e}function An(e,t){const n=bn(t);for(let t=0,r=e.children.length;t<r;t++){const r=e.children[t];if(n(r))return r}}function Tn(e,t){var n;return null!==(n=e.getAttribute(t))&&void 0!==n?n:void 0}function Mn(e,t){const n=e.getAttribute(t);return null!=n?Number(n):void 0}function Cn(e,t){return"true"===Tn(e,t)}function Nn(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 En(e){return xn(e,["choice-answer","dropdown-answer","text-answer","scored-text-answer"],!0)}function Sn(e){const t=wn(e,"question"),n=null==t?void 0:t.querySelectorAll("[question-id]");return n&&(null==n?void 0:n.length)>1}function kn(e,t,...n){const r=document.createElement(e);return function(e,t){mn(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}function jn(t,n){const{visibleTOCElements:r}=(0,e.useContext)(gn),[i,o]=(0,e.useState)(!1),a=`${t}-${n}`;return(0,e.useEffect)((()=>{(null==r?void 0:r.includes(a))&&!i?o(!0):!(null==r?void 0:r.includes(a))&&i&&o(!1)}),[r]),i}const Dn=(0,e.createContext)({}),Ln="http://ylioppilastutkinto.fi/exam.xsd";function On(n){function r(i,o=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}(i,((i,a)=>function(i,o,a){switch(i.nodeType){case Node.TEXT_NODE:case Node.CDATA_SECTION_NODE:{const n=function(e){var t,n,r;const i=!e.tagName&&Array.from((null===(t=e.parentNode)||void 0===t?void 0:t.childNodes)||[]).indexOf(e),o=Array.from((null===(n=e.parentElement)||void 0===n?void 0:n.children)||[]).indexOf(e);let a=`${e.nodeName}:${o>0?o:i}`,s=e;for(;s.parentElement;){s=s.parentElement;const e=s.getAttribute("display-number"),t=Number(e)||Array.from((null===(r=s.parentElement)||void 0===r?void 0:r.children)||[]).indexOf(s);a=`${s.getAttribute("id")||s.nodeName}:${t} > ${a}`}return a}(i);return 0===a?function(n,r){var i;const o=(0,e.useContext)(b),{isInSidebar:a}=(0,e.useContext)(Dn);if(void 0===(null==o?void 0:o.annotations)||0===(null===(i=n.textContent)||void 0===i?void 0:i.trim().length)||void 0!==a)return n.textContent;const{annotations:s,onClickAnnotation:l,setNewAnnotation:c,setNewAnnotationRef:u,newAnnotation:d}=o,f=(null==d?void 0:d.annotationAnchor)===r?d:null,p=((null==s?void 0:s[r])||[]).concat(f||[]),h=e=>{var t;const i=(null===(t=wn(n.parentElement,"question"))||void 0===t?void 0:t.getAttribute("display-number"))||"";c({...e,annotationAnchor:r,displayNumber:i})};return t().createElement("span",{onMouseDown:function(e){e.target.closest(".annotation-popup")||c(null),ln(e,h)},className:"e-annotatable",key:r},(null==p?void 0:p.length)>0?function(e,n){if(0===n.length)return[e];const r=[];let i=0;n.sort(((e,t)=>e.startIndex-t.startIndex));for(const o of n){if(o.startIndex<0||o.length<=0)return[e];o.startIndex>i&&r.push(e.substring(i,o.startIndex));const n=e.substring(o.startIndex,o.startIndex+o.length);r.push(o.hidden?t().createElement("mark",{key:o.startIndex,className:"e-annotation","data-annotation-id":o.annotationId,"data-hidden":"true"}):t().createElement(Rn,{key:o.startIndex,annotation:o,markedText:n,onClickAnnotation:l,setNewAnnotationRef:u})),i=o.startIndex+o.length}return r.push(e.substring(i)),r}(n.textContent,p):n.textContent)}(i,n):null}case Node.ELEMENT_NODE:return function(e,i,o){switch(e.namespaceURI){case"http://www.w3.org/1999/xhtml":return function(e,n,i){const o=e.hasChildNodes()?r(e,i):null;if(0===i){const r=e.localName,i=function(e,t){const n={key:Pn(e,t)};for(const t of e.attributes)n["class"===t.localName?"className":t.localName]=t.value;return n}(e,n);return t().createElement(r,{...i},o)}return o}(e,i,o);case Ln:return function(e,i){const o=n[e.localName],a=e.getAttribute("class")||void 0;return o?t().createElement(o,{element:e,className:a,renderChildNodes:r,key:Pn(e,i)}):null}(e,i);default:throw new Error(`Unrecognized element: ${e.localName}`)}}(i,o,a);default:return null}}(i,a,o)))}return r}const Rn=({annotation:n,markedText:r,onClickAnnotation:i,setNewAnnotationRef:o})=>{const a=(0,e.useRef)(null);return(0,e.useEffect)((()=>{a.current&&!n.annotationId&&o(a.current)}),[]),t().createElement("mark",{key:n.startIndex,ref:a,className:"e-annotation","data-annotation-id":n.annotationId||"","data-hidden":"false",onClick:e=>i(e,n)},r,(null==n?void 0:n.markNumber)&&t().createElement("sup",{className:"e-annotation","data-content":null==n?void 0:n.markNumber}))};function Pn(e,t){return`${e.localName}-${t}`}const zn={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class Un{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(e,t)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||zn,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}warn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}error(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}deprecate(){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)}forward(e,t,n,r){return r&&!this.debug?null:("string"==typeof e[0]&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new Un(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new Un(this.logger,e)}}var Bn=new Un;class Gn{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach((e=>{this.observers[e]||(this.observers[e]=new Map);const n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)})),this}off(e,t){this.observers[e]&&(t?this.observers[e].delete(t):delete this.observers[e])}emit(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]&&Array.from(this.observers[e].entries()).forEach((e=>{let[t,r]=e;for(let e=0;e<r;e++)t(...n)})),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach((t=>{let[r,i]=t;for(let t=0;t<i;t++)r.apply(r,[e,...n])}))}}function Zn(){let e,t;const n=new Promise(((n,r)=>{e=n,t=r}));return n.resolve=e,n.reject=t,n}function Fn(e){return null==e?"":""+e}const Hn=/###/g;function _n(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(Hn,"."):e}function i(){return!e||"string"==typeof e}const o="string"!=typeof t?t:t.split(".");let a=0;for(;a<o.length-1;){if(i())return{};const t=r(o[a]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++a}return i()?{}:{obj:e,k:r(o[a])}}function Yn(e,t,n){const{obj:r,k:i}=_n(e,t,Object);if(void 0!==r||1===t.length)return void(r[i]=n);let o=t[t.length-1],a=t.slice(0,t.length-1),s=_n(e,a,Object);for(;void 0===s.obj&&a.length;)o=`${a[a.length-1]}.${o}`,a=a.slice(0,a.length-1),s=_n(e,a,Object),s&&s.obj&&void 0!==s.obj[`${s.k}.${o}`]&&(s.obj=void 0);s.obj[`${s.k}.${o}`]=n}function qn(e,t){const{obj:n,k:r}=_n(e,t);if(n)return n[r]}function Vn(e,t,n){for(const 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]):Vn(e[r],t[r],n):e[r]=t[r]);return e}function Wn(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var Qn={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function Jn(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(e=>Qn[e])):e}const Xn=[" ",",","?","!",";"],Kn=new class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const t=this.regExpMap.get(e);if(void 0!==t)return t;const n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}}(20);function $n(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!e)return;if(e[t])return e[t];const r=t.split(n);let i=e;for(let e=0;e<r.length;){if(!i||"object"!=typeof i)return;let t,o="";for(let a=e;a<r.length;++a)if(a!==e&&(o+=n),o+=r[a],t=i[o],void 0!==t){if(["string","number","boolean"].indexOf(typeof t)>-1&&a<r.length-1)continue;e+=a-e+1;break}i=t}return i}function er(e){return e&&e.indexOf("_")>0?e.replace("_","-"):e}class tr extends Gn{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const i=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,o=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure;let a;e.indexOf(".")>-1?a=e.split("."):(a=[e,t],n&&(Array.isArray(n)?a.push(...n):"string"==typeof n&&i?a.push(...n.split(i)):a.push(n)));const s=qn(this.data,a);return!s&&!t&&!n&&e.indexOf(".")>-1&&(e=a[0],t=a[1],n=a.slice(2).join(".")),s||!o||"string"!=typeof n?s:$n(this.data&&this.data[e]&&this.data[e][t],n,i)}addResource(e,t,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1};const o=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator;let a=[e,t];n&&(a=a.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(a=e.split("."),r=t,t=a[1]),this.addNamespaces(t),Yn(this.data,a,r),i.silent||this.emit("added",e,t,n,r)}addResources(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(const r in n)("string"==typeof n[r]||Array.isArray(n[r]))&&this.addResource(e,t,r,n[r],{silent:!0});r.silent||this.emit("added",e,t,n)}addResourceBundle(e,t,n,r,i){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1,skipCopy:!1},a=[e,t];e.indexOf(".")>-1&&(a=e.split("."),r=n,n=t,t=a[1]),this.addNamespaces(t);let s=qn(this.data,a)||{};o.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?Vn(s,n,i):s={...s,...n},Yn(this.data,a,s),o.silent||this.emit("added",e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?{...this.getResource(e,t)}:this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((e=>t[e]&&Object.keys(t[e]).length>0))}toJSON(){return this.data}}var nr={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,i){return e.forEach((e=>{this.processors[e]&&(t=this.processors[e].process(t,n,r,i))})),t}};const rr={};class ir extends Gn{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var n,r;super(),n=e,r=this,["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"].forEach((e=>{n[e]&&(r[e]=n[e])})),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=Bn.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;const n=this.resolve(e,t);return n&&void 0!==n.res}extractFromKey(e,t){let n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");const r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator;let i=t.ns||this.options.defaultNS||[];const 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||"";const r=Xn.filter((e=>t.indexOf(e)<0&&n.indexOf(e)<0));if(0===r.length)return!0;const i=Kn.getRegExp(`(${r.map((e=>"?"===e?"\\?":e)).join("|")})`);let o=!i.test(e);if(!o){const t=e.indexOf(n);t>0&&!i.test(e.substring(0,t))&&(o=!0)}return o}(e,n,r));if(o&&!a){const t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:i};const o=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(o[0])>-1)&&(i=o.shift()),e=o.join(r)}return"string"==typeof i&&(i=[i]),{key:e,namespaces:i}}translate(e,t,n){if("object"!=typeof t&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof t&&(t={...t}),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);const r=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,i=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,{key:o,namespaces:a}=this.extractFromKey(e[e.length-1],t),s=a[a.length-1],l=t.lng||this.language,c=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(l&&"cimode"===l.toLowerCase()){if(c){const e=t.nsSeparator||this.options.nsSeparator;return r?{res:`${s}${e}${o}`,usedKey:o,exactUsedKey:o,usedLng:l,usedNS:s,usedParams:this.getUsedParamsDetails(t)}:`${s}${e}${o}`}return r?{res:o,usedKey:o,exactUsedKey:o,usedLng:l,usedNS:s,usedParams:this.getUsedParamsDetails(t)}:o}const u=this.resolve(e,t);let d=u&&u.res;const f=u&&u.usedKey||o,p=u&&u.exactUsedKey||o,h=Object.prototype.toString.apply(d),m=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,g=!this.i18nFormat||this.i18nFormat.handleAsObject;if(g&&d&&"string"!=typeof d&&"boolean"!=typeof d&&"number"!=typeof d&&["[object Number]","[object Function]","[object RegExp]"].indexOf(h)<0&&("string"!=typeof m||!Array.isArray(d))){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(f,d,{...t,ns:a}):`key '${o} (${this.language})' returned an object instead of string.`;return r?(u.res=e,u.usedParams=this.getUsedParamsDetails(t),u):e}if(i){const e=Array.isArray(d),n=e?[]:{},r=e?p:f;for(const e in d)if(Object.prototype.hasOwnProperty.call(d,e)){const o=`${r}${i}${e}`;n[e]=this.translate(o,{...t,joinArrays:!1,ns:a}),n[e]===o&&(n[e]=d[e])}d=n}}else if(g&&"string"==typeof m&&Array.isArray(d))d=d.join(m),d&&(d=this.extendTranslation(d,e,t,n));else{let r=!1,a=!1;const c=void 0!==t.count&&"string"!=typeof t.count,f=ir.hasDefaultValue(t),p=c?this.pluralResolver.getSuffix(l,t.count,t):"",h=t.ordinal&&c?this.pluralResolver.getSuffix(l,t.count,{ordinal:!1}):"",m=c&&!t.ordinal&&0===t.count&&this.pluralResolver.shouldUseIntlApi(),g=m&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${p}`]||t[`defaultValue${h}`]||t.defaultValue;!this.isValidLookup(d)&&f&&(r=!0,d=g),this.isValidLookup(d)||(a=!0,d=o);const y=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&a?void 0:d,v=f&&g!==d&&this.options.updateMissing;if(a||r||v){if(this.logger.log(v?"updateKey":"missingKey",l,s,o,v?g:d),i){const e=this.resolve(o,{...t,keySeparator:!1});e&&e.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.")}let e=[];const n=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&n&&n[0])for(let t=0;t<n.length;t++)e.push(n[t]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(t.lng||this.language):e.push(t.lng||this.language);const r=(e,n,r)=>{const i=f&&r!==d?r:y;this.options.missingKeyHandler?this.options.missingKeyHandler(e,s,n,i,v,t):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(e,s,n,i,v,t),this.emit("missingKey",e,s,n,d)};this.options.saveMissing&&(this.options.saveMissingPlurals&&c?e.forEach((e=>{const n=this.pluralResolver.getSuffixes(e,t);m&&t[`defaultValue${this.options.pluralSeparator}zero`]&&n.indexOf(`${this.options.pluralSeparator}zero`)<0&&n.push(`${this.options.pluralSeparator}zero`),n.forEach((n=>{r([e],o+n,t[`defaultValue${n}`]||g)}))})):r(e,o,g))}d=this.extendTranslation(d,e,t,u,n),a&&d===o&&this.options.appendNamespaceToMissingKey&&(d=`${s}:${o}`),(a||r)&&this.options.parseMissingKeyHandler&&(d="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${s}:${o}`:o,r?d:void 0):this.options.parseMissingKeyHandler(d))}return r?(u.res=d,u.usedParams=this.getUsedParamsDetails(t),u):d}extendTranslation(e,t,n,r,i){var o=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});const a="string"==typeof e&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let s;if(a){const t=e.match(this.interpolator.nestingRegexp);s=t&&t.length}let l=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(l={...this.options.interpolation.defaultVariables,...l}),e=this.interpolator.interpolate(e,l,n.lng||this.language,n),a){const t=e.match(this.interpolator.nestingRegexp);s<(t&&t.length)&&(n.nest=!1)}!n.lng&&"v1"!==this.options.compatibilityAPI&&r&&r.res&&(n.lng=r.usedLng),!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: ${r[0]} in key: ${t[0]}`),null):o.translate(...r,t)}),n)),n.interpolation&&this.interpolator.reset()}const a=n.postProcess||this.options.postProcess,s="string"==typeof a?[a]:a;return null!=e&&s&&s.length&&!1!==n.applyPostProcessor&&(e=nr.handle(s,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),e}resolve(e){let t,n,r,i,o,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach((e=>{if(this.isValidLookup(t))return;const s=this.extractFromKey(e,a),l=s.key;n=l;let c=s.namespaces;this.options.fallbackNS&&(c=c.concat(this.options.fallbackNS));const u=void 0!==a.count&&"string"!=typeof a.count,d=u&&!a.ordinal&&0===a.count&&this.pluralResolver.shouldUseIntlApi(),f=void 0!==a.context&&("string"==typeof a.context||"number"==typeof a.context)&&""!==a.context,p=a.lngs?a.lngs:this.languageUtils.toResolveHierarchy(a.lng||this.language,a.fallbackLng);c.forEach((e=>{this.isValidLookup(t)||(o=e,!rr[`${p[0]}-${e}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(o)&&(rr[`${p[0]}-${e}`]=!0,this.logger.warn(`key "${n}" for languages "${p.join(", ")}" won't get resolved as namespace "${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!!!")),p.forEach((n=>{if(this.isValidLookup(t))return;i=n;const o=[l];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(o,l,n,e,a);else{let e;u&&(e=this.pluralResolver.getSuffix(n,a.count,a));const t=`${this.options.pluralSeparator}zero`,r=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(o.push(l+e),a.ordinal&&0===e.indexOf(r)&&o.push(l+e.replace(r,this.options.pluralSeparator)),d&&o.push(l+t)),f){const n=`${l}${this.options.contextSeparator}${a.context}`;o.push(n),u&&(o.push(n+e),a.ordinal&&0===e.indexOf(r)&&o.push(n+e.replace(r,this.options.pluralSeparator)),d&&o.push(n+t))}}let s;for(;s=o.pop();)this.isValidLookup(t)||(r=s,t=this.getResource(n,e,s,a))})))}))})),{res:t,usedKey:n,exactUsedKey:r,usedLng:i,usedNS:o}}isValidLookup(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}getResource(e,t,n){let 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)}getUsedParamsDetails(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],n=e.replace&&"string"!=typeof e.replace;let r=n?e.replace:e;if(n&&void 0!==e.count&&(r.count=e.count),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!n){r={...r};for(const e of t)delete r[e]}return r}static hasDefaultValue(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&"defaultValue"===t.substring(0,12)&&void 0!==e[t])return!0;return!1}}function or(e){return e.charAt(0).toUpperCase()+e.slice(1)}class ar{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Bn.create("languageUtils")}getScriptPartFromCode(e){if(!(e=er(e))||e.indexOf("-")<0)return null;const t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}getLanguagePartFromCode(e){if(!(e=er(e))||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if("string"==typeof e&&e.indexOf("-")>-1){const t=["hans","hant","latn","cyrl","cans","mong","arab"];let n=e.split("-");return this.options.lowerCaseLng?n=n.map((e=>e.toLowerCase())):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=or(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]=or(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=or(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach((e=>{if(t)return;const n=this.formatLanguageCode(e);this.options.supportedLngs&&!this.isSupportedCode(n)||(t=n)})),!t&&this.options.supportedLngs&&e.forEach((e=>{if(t)return;const n=this.getLanguagePartFromCode(e);if(this.isSupportedCode(n))return t=n;t=this.options.supportedLngs.find((e=>e===n?e:e.indexOf("-")<0&&n.indexOf("-")<0?void 0:e.indexOf("-")>0&&n.indexOf("-")<0&&e.substring(0,e.indexOf("-"))===n||0===e.indexOf(n)&&n.length>1?e:void 0))})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let 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||[]}toResolveHierarchy(e,t){const n=this.getFallbackCodes(t||this.options.fallbackLng||[],e),r=[],i=e=>{e&&(this.isSupportedCode(e)?r.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return"string"==typeof e&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):"string"==typeof e&&i(this.formatLanguageCode(e)),n.forEach((e=>{r.indexOf(e)<0&&i(this.formatLanguageCode(e))})),r}}let sr=[{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}],lr={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)}};const cr=["v1","v2","v3"],ur=["v4"],dr={zero:0,one:1,two:2,few:3,many:4,other:5};class fr{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=Bn.create("pluralResolver"),this.options.compatibilityJSON&&!ur.includes(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=function(){const e={};return sr.forEach((t=>{t.lngs.forEach((n=>{e[n]={numbers:t.nr,plurals:lr[t.fc]}}))})),e}()}addRule(e,t){this.rules[e]=t}getRule(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(er("dev"===e?"en":e),{type:t.ordinal?"ordinal":"cardinal"})}catch(e){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}getPluralFormsOfKey(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map((e=>`${t}${e}`))}getSuffixes(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=this.getRule(e,t);return n?this.shouldUseIntlApi()?n.resolvedOptions().pluralCategories.sort(((e,t)=>dr[e]-dr[t])).map((e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`)):n.numbers.map((n=>this.getSuffix(e,n,t))):[]}getSuffix(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=this.getRule(e,n);return r?this.shouldUseIntlApi()?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${r.select(t)}`:this.getSuffixRetroCompatible(r,t):(this.logger.warn(`no plural rule found for: ${e}`),"")}getSuffixRetroCompatible(e,t){const n=e.noAbs?e.plurals(t):e.plurals(Math.abs(t));let r=e.numbers[n];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===r?r="plural":1===r&&(r=""));const i=()=>this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString();return"v1"===this.options.compatibilityJSON?1===r?"":"number"==typeof r?`_plural_${r.toString()}`:i():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?i():this.options.prepend&&n.toString()?this.options.prepend+n.toString():n.toString()}shouldUseIntlApi(){return!cr.includes(this.options.compatibilityJSON)}}function pr(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],o=function(e,t,n){const r=qn(e,n);return void 0!==r?r:qn(t,n)}(e,t,n);return!o&&i&&"string"==typeof n&&(o=$n(e,n,r),void 0===o&&(o=$n(t,n,r))),o}class hr{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=Bn.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||(e=>e),this.init(e)}init(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});const{escape:t,escapeValue:n,useRawValueToEscape:r,prefix:i,prefixEscaped:o,suffix:a,suffixEscaped:s,formatSeparator:l,unescapeSuffix:c,unescapePrefix:u,nestingPrefix:d,nestingPrefixEscaped:f,nestingSuffix:p,nestingSuffixEscaped:h,nestingOptionsSeparator:m,maxReplaces:g,alwaysFormat:y}=e.interpolation;this.escape=void 0!==t?t:Jn,this.escapeValue=void 0===n||n,this.useRawValueToEscape=void 0!==r&&r,this.prefix=i?Wn(i):o||"{{",this.suffix=a?Wn(a):s||"}}",this.formatSeparator=l||",",this.unescapePrefix=c?"":u||"-",this.unescapeSuffix=this.unescapePrefix?"":c||"",this.nestingPrefix=d?Wn(d):f||Wn("$t("),this.nestingSuffix=p?Wn(p):h||Wn(")"),this.nestingOptionsSeparator=m||",",this.maxReplaces=g||1e3,this.alwaysFormat=void 0!==y&&y,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(e,t)=>e&&e.source===t?(e.lastIndex=0,e):new RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,t,n,r){let i,o,a;const s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function l(e){return e.replace(/\$/g,"$$$$")}const c=e=>{if(e.indexOf(this.formatSeparator)<0){const i=pr(t,s,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,n,{...r,...t,interpolationkey:e}):i}const i=e.split(this.formatSeparator),o=i.shift().trim(),a=i.join(this.formatSeparator).trim();return this.format(pr(t,s,o,this.options.keySeparator,this.options.ignoreJSONStructure),a,n,{...r,...t,interpolationkey:o})};this.resetRegExp();const u=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,d=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>l(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?l(this.escape(e)):l(e)}].forEach((t=>{for(a=0;i=t.regex.exec(e);){const n=i[1].trim();if(o=c(n),void 0===o)if("function"==typeof u){const t=u(e,i,r);o="string"==typeof t?t:""}else if(r&&Object.prototype.hasOwnProperty.call(r,n))o="";else{if(d){o=i[0];continue}this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),o=""}else"string"==typeof o||this.useRawValueToEscape||(o=Fn(o));const s=t.safeValue(o);if(e=e.replace(i[0],s),d?(t.regex.lastIndex+=o.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,a++,a>=this.maxReplaces)break}})),e}nest(e,t){let n,r,i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};function a(e,t){const n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;const r=e.split(new RegExp(`${n}[ ]*{`));let o=`{${r[1]}`;e=r[0],o=this.interpolate(o,i);const a=o.match(/'/g),s=o.match(/"/g);(a&&a.length%2==0&&!s||s.length%2!=0)&&(o=o.replace(/'/g,'"'));try{i=JSON.parse(o),t&&(i={...t,...i})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${o}`}return i.defaultValue&&i.defaultValue.indexOf(this.prefix)>-1&&delete i.defaultValue,e}for(;n=this.nestingRegexp.exec(e);){let s=[];i={...o},i=i.replace&&"string"!=typeof i.replace?i.replace:i,i.applyPostProcessor=!1,delete i.defaultValue;let l=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){const e=n[1].split(this.formatSeparator).map((e=>e.trim()));n[1]=e.shift(),s=e,l=!0}if(r=t(a.call(this,n[1].trim(),i),i),r&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=Fn(r)),r||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`),r=""),l&&(r=s.reduce(((e,t)=>this.format(e,t,o.lng,{...o,interpolationkey:n[1].trim()})),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}function mr(e){const t={};return function(n,r,i){const o=r+JSON.stringify(i);let a=t[o];return a||(a=e(er(r),i),t[o]=a),a(n)}}class gr{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=Bn.create("formatter"),this.options=e,this.formats={number:mr(((e,t)=>{const n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)})),currency:mr(((e,t)=>{const n=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>n.format(e)})),datetime:mr(((e,t)=>{const n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)})),relativetime:mr(((e,t)=>{const n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||"day")})),list:mr(((e,t)=>{const n=new Intl.ListFormat(e,{...t});return e=>n.format(e)}))},this.init(e)}init(e){const t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=mr(t)}format(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const i=t.split(this.formatSeparator).reduce(((e,t)=>{const{formatName:i,formatOptions:o}=function(e){let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const 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((e=>{if(e){const[t,...r]=e.split(":"),i=r.join(":").trim().replace(/^'+|'+$/g,""),o=t.trim();n[o]||(n[o]=i),"false"===i&&(n[o]=!1),"true"===i&&(n[o]=!0),isNaN(i)||(n[o]=parseInt(i,10))}}))}return{formatName:t,formatOptions:n}}(t);if(this.formats[i]){let t=e;try{const a=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},s=a.locale||a.lng||r.locale||r.lng||n;t=this.formats[i](e,s,{...o,...r,...a})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${i}`),e}),e);return i}}class yr extends Gn{constructor(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=Bn.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(n,r.backend,r)}queueLoad(e,t,n,r){const i={},o={},a={},s={};return e.forEach((e=>{let r=!0;t.forEach((t=>{const a=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[a]=2:this.state[a]<0||(1===this.state[a]?void 0===o[a]&&(o[a]=!0):(this.state[a]=1,r=!1,void 0===o[a]&&(o[a]=!0),void 0===i[a]&&(i[a]=!0),void 0===s[t]&&(s[t]=!0)))})),r||(a[e]=!0)})),(Object.keys(i).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(o),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(s)}}loaded(e,t,n){const r=e.split("|"),i=r[0],o=r[1];t&&this.emit("failedLoading",i,o,t),n&&this.store.addResourceBundle(i,o,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2;const a={};this.queue.forEach((n=>{!function(e,t,n,r){const{obj:i,k:o}=_n(e,t,Object);i[o]=i[o]||[],i[o].push(n)}(n.loaded,[i],o),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((e=>{a[e]||(a[e]={});const t=n.loaded[e];t.length&&t.forEach((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((e=>!e.done))}read(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,o=arguments.length>5?arguments[5]:void 0;if(!e.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:i,callback:o});this.readingCalls++;const a=(a,s)=>{if(this.readingCalls--,this.waitingReads.length>0){const e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}a&&s&&r<this.maxRetries?setTimeout((()=>{this.read.call(this,e,t,n,r+1,2*i,o)}),i):o(a,s)},s=this.backend[n].bind(this.backend);if(2!==s.length)return s(e,t,a);try{const n=s(e,t);n&&"function"==typeof n.then?n.then((e=>a(null,e))).catch(a):a(null,n)}catch(e){a(e)}}prepareLoading(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=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."),r&&r();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);const i=this.queueLoad(e,t,n,r);if(!i.toLoad.length)return i.pending.length||r(),null;i.toLoad.forEach((e=>{this.loadOne(e)}))}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=e.split("|"),r=n[0],i=n[1];this.read(r,i,"read",void 0,void 0,((n,o)=>{n&&this.logger.warn(`${t}loading namespace ${i} for language ${r} failed`,n),!n&&o&&this.logger.log(`${t}loaded namespace ${i} for language ${r}`,o),this.loaded(e,n,o)}))}saveMissing(e,t,n,r,i){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t))this.logger.warn(`did not save key "${n}" as the namespace "${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!!!");else if(null!=n&&""!==n){if(this.backend&&this.backend.create){const s={...o,isUpdate:i},l=this.backend.create.bind(this.backend);if(l.length<6)try{let i;i=5===l.length?l(e,t,n,r,s):l(e,t,n,r),i&&"function"==typeof i.then?i.then((e=>a(null,e))).catch(a):a(null,i)}catch(e){a(e)}else l(e,t,n,r,a,s)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}}function vr(){return{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:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){let t={};if("object"==typeof e[1]&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){const n=e[3]||e[2];Object.keys(n).forEach((e=>{t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function br(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 Ir(){}class xr extends Gn{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;var n;if(super(),this.options=br(e),this.services={},this.logger=Bn,this.modules={external:[]},n=this,Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach((e=>{"function"==typeof n[e]&&(n[e]=n[e].bind(n))})),t&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)return this.init(e,t),this;setTimeout((()=>{this.init(e,t)}),0)}}init(){var e=this;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;this.isInitializing=!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]));const r=vr();function i(e){return e?"function"==typeof e?new e:e:null}if(this.options={...r,...this.options,...br(t)},"v1"!==this.options.compatibilityAPI&&(this.options.interpolation={...r.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){let t;this.modules.logger?Bn.init(i(this.modules.logger),this.options):Bn.init(null,this.options),this.modules.formatter?t=this.modules.formatter:"undefined"!=typeof Intl&&(t=gr);const n=new ar(this.options);this.store=new tr(this.options.resources,this.options);const o=this.services;o.logger=Bn,o.resourceStore=this.store,o.languageUtils=n,o.pluralResolver=new fr(n,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!t||this.options.interpolation.format&&this.options.interpolation.format!==r.interpolation.format||(o.formatter=i(t),o.formatter.init(o,this.options),this.options.interpolation.format=o.formatter.format.bind(o.formatter)),o.interpolator=new hr(this.options),o.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},o.backendConnector=new yr(i(this.modules.backend),o.resourceStore,o,this.options),o.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(t,...r)})),this.modules.languageDetector&&(o.languageDetector=i(this.modules.languageDetector),o.languageDetector.init&&o.languageDetector.init(o,this.options.detection,this.options)),this.modules.i18nFormat&&(o.i18nFormat=i(this.modules.i18nFormat),o.i18nFormat.init&&o.i18nFormat.init(this)),this.translator=new ir(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(t,...r)})),this.modules.external.forEach((e=>{e.init&&e.init(this)}))}if(this.format=this.options.interpolation.format,n||(n=Ir),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[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((t=>{this[t]=function(){return e.store[t](...arguments)}})),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach((t=>{this[t]=function(){return e.store[t](...arguments),e}}));const o=Zn(),a=()=>{const e=(e,t)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),o.resolve(t),n(e,t)};if(this.languages&&"v1"!==this.options.compatibilityAPI&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initImmediate?a():setTimeout(a,0),o}loadResources(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ir;const n="string"==typeof e?e:this.language;if("function"==typeof e&&(t=e),!this.options.resources||this.options.partialBundledLanguages){if(n&&"cimode"===n.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return t();const e=[],r=t=>{t&&"cimode"!==t&&this.services.languageUtils.toResolveHierarchy(t).forEach((t=>{"cimode"!==t&&e.indexOf(t)<0&&e.push(t)}))};n?r(n):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((e=>r(e))),this.options.preload&&this.options.preload.forEach((e=>r(e))),this.services.backendConnector.load(e,this.options.ns,(e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),t(e)}))}else t(null)}reloadResources(e,t,n){const r=Zn();return e||(e=this.languages),t||(t=this.options.ns),n||(n=Ir),this.services.backendConnector.reload(e,t,(e=>{r.resolve(),n(e)})),r}use(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&&nr.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(let e=0;e<this.languages.length;e++){const t=this.languages[e];if(!(["cimode","dev"].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}}changeLanguage(e,t){var n=this;this.isLanguageChangingTo=e;const r=Zn();this.emit("languageChanging",e);const i=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},o=(e,o)=>{o?(i(o),this.translator.changeLanguage(o),this.isLanguageChangingTo=void 0,this.emit("languageChanged",o),this.logger.log("languageChanged",o)):this.isLanguageChangingTo=void 0,r.resolve((function(){return n.t(...arguments)})),t&&t(e,(function(){return n.t(...arguments)}))},a=t=>{e||t||!this.services.languageDetector||(t=[]);const n="string"==typeof t?t:this.services.languageUtils.getBestMatchFromCodes(t);n&&(this.language||i(n),this.translator.language||this.translator.changeLanguage(n),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(n)),this.loadResources(n,(e=>{o(e,n)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e):a(this.services.languageDetector.detect()),r}getFixedT(e,t,n){var r=this;const i=function(e,t){let o;if("object"!=typeof t){for(var a=arguments.length,s=new Array(a>2?a-2:0),l=2;l<a;l++)s[l-2]=arguments[l];o=r.options.overloadTranslationOptionHandler([e,t].concat(s))}else o={...t};o.lng=o.lng||i.lng,o.lngs=o.lngs||i.lngs,o.ns=o.ns||i.ns,o.keyPrefix=o.keyPrefix||n||i.keyPrefix;const c=r.options.keySeparator||".";let u;return u=o.keyPrefix&&Array.isArray(e)?e.map((e=>`${o.keyPrefix}${c}${e}`)):o.keyPrefix?`${o.keyPrefix}${c}${e}`:e,r.t(u,o)};return"string"==typeof e?i.lng=e:i.lngs=e,i.ns=t,i.keyPrefix=n,i}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let t=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;const n=t.lng||this.resolvedLanguage||this.languages[0],r=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===n.toLowerCase())return!0;const o=(e,t)=>{const n=this.services.backendConnector.state[`${e}|${t}`];return-1===n||2===n};if(t.precheck){const e=t.precheck(this,o);if(void 0!==e)return e}return!(!this.hasResourceBundle(n,e)&&this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages)&&(!o(n,e)||r&&!o(i,e)))}loadNamespaces(e,t){const n=Zn();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach((e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)})),this.loadResources((e=>{n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){const n=Zn();"string"==typeof e&&(e=[e]);const r=this.options.preload||[],i=e.filter((e=>r.indexOf(e)<0&&this.services.languageUtils.isSupportedCode(e)));return i.length?(this.options.preload=r.concat(i),this.loadResources((e=>{n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";const t=this.services&&this.services.languageUtils||new ar(vr());return["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(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){return new xr(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}cloneInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ir;const n=e.forkResourceStore;n&&delete e.forkResourceStore;const r={...this.options,...e,isClone:!0},i=new xr(r);return void 0===e.debug&&void 0===e.prefix||(i.logger=i.logger.clone(e)),["store","services","language"].forEach((e=>{i[e]=this[e]})),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},n&&(i.store=new tr(this.store.data,r),i.services.resourceStore=i.store),i.translator=new ir(i.services,r),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(e,...n)})),i.init(r,t),i.translator.options=r,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const wr=xr.createInstance();wr.createInstance=xr.createInstance,wr.createInstance,wr.dir,wr.init,wr.loadResources,wr.reloadResources,wr.use,wr.changeLanguage,wr.getFixedT,wr.t,wr.exists,wr.setDefaultNamespace,wr.hasLoadedNamespace,wr.loadNamespaces,wr.loadLanguages;const Ar=function(e){return e&&e.length?e[0]:void 0},Tr=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0},Mr=function(){},Cr=function(){try{var e=X(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),Nr=function(e,t,n){"__proto__"==t&&Cr?Cr(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n};var Er=Object.prototype.hasOwnProperty;const Sr=function(e,t,n){var r=e[t];Er.call(e,t)&&x(r,n)&&(void 0!==n||t in e)||Nr(e,t,n)},kr=function(e,t,n,r){if(!z(e))return e;for(var i=-1,o=(t=Wt(t,e)).length,a=o-1,s=e;null!=s&&++i<o;){var l=Qt(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=z(u)?u:Be(t[i+1])?[]:{})}Sr(s,l,c),s=s[l]}return e},jr=function(e,t){return function(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var a=t[r],s=Jt(e,a);n(s,a)&&kr(o,Wt(a,e),s)}return o}(e,t,(function(t,n){return $t(e,n)}))};var Dr=S?S.isConcatSpreadable:void 0;const Lr=function(e){return Ie(e)||Le(e)||!!(Dr&&e&&e[Dr])},Or=function e(t,n,r,i,o){var a=-1,s=t.length;for(r||(r=Lr),o||(o=[]);++a<s;){var l=t[a];n>0&&r(l)?n>1?e(l,n-1,r,i,o):be(o,l):i||(o[o.length]=l)}return o},Rr=function(e){return null!=e&&e.length?Or(e,1):[]};var Pr=Math.max;const zr=Cr?function(e,t){return Cr(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:en;var Ur=Date.now;const Br=function(e){var t=0,n=0;return function(){var r=Ur(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(zr),Gr=function(e){return Br(function(e,t,n){return t=Pr(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=Pr(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,Rr),e+"")},Zr=Gr((function(e,t){return null==e?{}:jr(e,t)})),Fr={"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","non-answer-not-graded":"Lämnats utan bedömning","loading-images":"Vänta, bilder laddas..."},references:{heading:"Källor",source:"Källa:",date:"Publicerad:","reference-date":"Hämtad:",translator:"Översättning:","modified-by":"Bearbetning:"},cas:{examineSectionA:"Du kan nu granska dina svar för del A.",cannotEditLater:"När du har returnerat del A kan du inte längre redigera svaren för del A.",youCanReturn:"Efter att du granskat dina svar kan du gå tillbaka till provet för att fortsätta svara på uppgifterna.",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"}},"examine-exam":{examine:"Kontrollera dina svar",instructions:"Efter att du granskat dina svar kan du ännu gå tillbaka och redigera svaren eller avsluta provet."},undo:{loading:"Laddar...",close:"Stäng",restoreAnswer:"Återställ",answerNoText:"ingen text",answerWordCount:"{{count}} ord",answerWordCount_plural:"{{count}} ord",answerCharacterCount:"{{count}} tecken",answerCharacterCount_plural:"{{count}} tecken",answerImageCount:"{{count}} bild",answerImageCount_plural:"{{count}} bilder",minutesSinceAnswer:"{{ minutes }} min sedan",latestVersion:"Den senaste versionen"},examineExam:{returnToExam:"Återvänd till provutförandet",checkYourAnswersTitle:"Kontrollera dina svar",hereAreYourAnswers:"Du ser här dina svar på samma sätt som de som bedömer proven kommer att se dem.",checkYourAnswers:"Kontrollera att du kan se alla de svar som du vill lämna in till bedömning.",removeExcessAnswers:"Om du ser svar som du inte vill lämna in till bedömning bör du gå tillbaka till provet och avlägsna dem.",emptyAnswersAreHighlighted:"Tomma svarsfält har markerats.",thereMayBeOptionalQuestions:"Det kan finnas valbara uppgifter i provet, och därmed innebär ett tomt svarsfält inte alltid att något är fel.",questionHasNoAnswer:"Denna fråga har inte besvarats",endExamTitle:"Avsluta provet",afterInspectingYourAnswers:"När du har kontrollerat dina svar kan du avsluta provet genom att klicka på knappen nedan.",youCanNotReturnToExam:"Efter att du klickat på knappen kan du inte längre gå tillbaka till provet.",thankYouTitle:"Tack!",shutdownComputer:"Stäng nu av datorn.",returnUsbStick:"När datorn har är avstängd, ta bort USB-minnet och ge det till provets övervakare."},"toc-heading":"Innehåll","answer-saved":"Sparad","too-many-answers":"Svar på för många uppgifter:","max-answers-warning":"Besvara högst {{count}} uppgift.","max-answers-warning_plural":"Besvara högst {{count}} uppgifter.","open-writing-mode":"Öppna skrivvyn","close-writing-mode":"Minska vyn","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]"}},Hr=Zr(Fr,["exam-total","material","external-material-title","section","references","toc-heading"]),_r={"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","non-answer-not-graded":"Jätetty arvostelematta","loading-images":"Odota, kuvia ladataan..."},references:{heading:"Lähteet",source:"Lähde:",date:"Julkaistu:","reference-date":"Viitattu:",translator:"Käännös:","modified-by":"Muokkaus:"},cas:{examineSectionA:"Voit käydä tarkastelemassa A-osan vastauksiasi nyt.",cannotEditLater:"Palautettuasi A-osan et voi enää muokata A-osan vastauksia.",youCanReturn:"Tarkastelun jälkeen voit palata kokeeseen jatkamaan tehtäviin vastaamista.",forbidden:{infoText:"Saat estetyt laskinohjelmat käyttöösi 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"}},"examine-exam":{examine:"Siirry tarkastelemaan vastauksiasi",instructions:"Tarkastelun jälkeen voit vielä palata muokkaamaan vastauksia, tai päättää kokeen."},undo:{loading:"Ladataan...",close:"Sulje",restoreAnswer:"Palauta",answerNoText:"ei tekstiä",answerWordCount:"{{count}} sana",answerWordCount_plural:"{{count}} sanaa",answerCharacterCount:"{{count}} merkki",answerCharacterCount_plural:"{{count}} merkkiä",answerImageCount:"{{count}} kuva",answerImageCount_plural:"{{count}} kuvaa",minutesSinceAnswer:"{{ minutes }} min sitten",latestVersion:"Viimeisin versio"},examineExam:{returnToExam:"Palaa suorittamaan koetta",checkYourAnswersTitle:"Tarkista vastauksesi",hereAreYourAnswers:"Näet tässä vastauksesi samanlaisina kuin kokeen arvostelijat tulevat ne näkemään.",checkYourAnswers:"Tarkista, että näet alla kaikki vastaukset, jotka haluat jättää arvosteltavaksi.",removeExcessAnswers:"Jos näet vastauksia, joita et halua jättää arvosteltavaksi, palaa kokeeseen ja poista ne.",emptyAnswersAreHighlighted:"Tyhjät vastaukset on korostettu.",thereMayBeOptionalQuestions:"Kokeessa voi olla valinnaisia tehtäviä, joten tyhjä vastaus ei välttämättä tarkoita virhettä.",questionHasNoAnswer:"Tähän kysymykseen ei ole vastattu",endExamTitle:"Päätä koe",afterInspectingYourAnswers:"Kun olet tarkistanut vastauksesi, päätä koe klikkaamalla alla olevaa nappia.",youCanNotReturnToExam:"Napin klikkaamisen jälkeen et voi enää palata kokeeseen.",thankYouTitle:"Kiitos!",shutdownComputer:"Sammuta vielä tietokoneesi.",returnUsbStick:"Kun kone on sammunut, irrota USB-muisti ja palauta se kokeen valvojalle."},"toc-heading":"Sisällys","answer-saved":"Tallennettu","too-many-answers":"Vastattu liian moneen tehtävään:","max-answers-warning":"Vastaa enintään {{count}} tehtävään.","open-writing-mode":"Avaa kirjoitusnäkymä","close-writing-mode":"Pienennä näkymä","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]"}},Yr=Zr(_r,["exam-total","material","external-material-title","section","references","toc-heading"]),qr={"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"},Vr={"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"},Wr={section:""},Qr={"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"},Jr={"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"},Xr={"exam-total":"Весь экзамен",material:"Материал","external-material-title":"Материал",section:"Часть {{displayNumber}}:",references:{heading:"Источники",source:"Источник",date:"Опубликовано","reference-date":"Дата обращения",translator:"Перевод","modified-by":"Адаптировано"},"toc-heading":"Содержание"},Kr={A_E:{"external-material-title":"Aineistot","answering-instructions":{"toc-section_*_1_1":"Valitse yksi aihe.","section_*_1_1":"Valitse yksi aihe."}},BA:Hr,BB:Hr,CA:Yr,CB:Yr,EA:qr,EC:qr,FA:Vr,FC:Vr,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:Wr,N:Wr,O_E:{"answering-instructions":{"toc-section_*_1_1":"Välj ett ämne.","section_*_1_1":"Välj ett ämne."}},SA:Jr,SC:Jr,PA:Qr,PC:Qr,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:Xr,VC:Xr,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"}},$r={"fi-FI":{translation:_r,...Kr},"sv-FI":{translation:Fr,...Kr}};function ei(e,t,n){const r=t?t+(n?`_${n}`:""):"translation";return wr.use({type:"postProcessor",name:"lowercase",process:(e,t,n)=>e.toLocaleLowerCase(n.lng)}).createInstance({compatibilityJSON:"v3",resources:$r,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 Ar(n);case"last":return Tr(n);default:return e}}}},Mr)}function ti(){const{i18n:n,t:i}=function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{i18n:i}=n,{i18n:o,defaultNS:a}=(0,e.useContext)(h)||{},c=i||o||f;if(c&&!c.reportNamespaces&&(c.reportNamespaces=new m),!c){r("You will need to pass in an i18next instance by using initReactI18next");const e=(e,t)=>"string"==typeof t?t:t&&"object"==typeof t&&"string"==typeof t.defaultValue?t.defaultValue:Array.isArray(e)?e[e.length-1]:e,t=[e,{},!1];return t.t=e,t.i18n={},t.ready=!1,t}c.options.react&&void 0!==c.options.react.wait&&r("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const u={...p,...c.options.react,...n},{useSuspense:d,keyPrefix:v}=u;let b=t||a||c.options&&c.options.defaultNS;b="string"==typeof b?[b]:b||["translation"],c.reportNamespaces.addUsedNamespaces&&c.reportNamespaces.addUsedNamespaces(b);const I=(c.isInitialized||c.initializedStoreOnce)&&b.every((e=>function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.languages&&t.languages.length?void 0!==t.options.ignoreJSONStructure?t.hasLoadedNamespace(e,{lng:n.lng,precheck:(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){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=t.languages[0],i=!!t.options&&t.options.fallbackLng,o=t.languages[t.languages.length-1];if("cimode"===r.toLowerCase())return!0;const a=(e,n)=>{const r=t.services.backendConnector.state[`${e}|${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):(r("i18n.languages were undefined or empty",t.languages),!0)}(e,c,u))),x=function(t,n,r,i){return(0,e.useCallback)(y(t,n,r,i),[t,n,r,i])}(c,n.lng||null,"fallback"===u.nsMode?b:b[0],v),w=()=>x,A=()=>y(c,n.lng||null,"fallback"===u.nsMode?b:b[0],v),[T,M]=(0,e.useState)(w);let C=b.join();n.lng&&(C=`${n.lng}${C}`);const N=g(C),E=(0,e.useRef)(!0);(0,e.useEffect)((()=>{const{bindI18n:e,bindI18nStore:t}=u;function r(){E.current&&M(A)}return E.current=!0,I||d||(n.lng?l(c,n.lng,b,(()=>{E.current&&M(A)})):s(c,b,(()=>{E.current&&M(A)}))),I&&N&&N!==C&&E.current&&M(A),e&&c&&c.on(e,r),t&&c&&c.store.on(t,r),()=>{E.current=!1,e&&c&&e.split(" ").forEach((e=>c.off(e,r))),t&&c&&t.split(" ").forEach((e=>c.store.off(e,r)))}}),[c,C]),(0,e.useEffect)((()=>{E.current&&I&&M(w)}),[c,v,I]);const S=[T,c,I];if(S.t=T,S.i18n=c,S.ready=I,I)return S;if(!I&&!d)return S;throw new Promise((e=>{n.lng?l(c,n.lng,b,(()=>e())):s(c,b,(()=>e()))}))}(),o=(e,r)=>function(e,n,r){const i=e.t(n,r),o=e.options.defaultNS.toString(),a="translation"!==o&&o in Kr,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)}(n,e,r);return o.raw=i,{i18n:n,t:o}}const ni=(e,t)=>()=>{e.language!==t&&e.changeLanguage(t).then(Mr).catch(Mr)},ri=new WeakMap;let ii=0;const oi=e=>t=>`${e}-${(e=>{const t=ri.get(e);if(null!=t)return t;const n=++ii;return ri.set(e,n),n})(t)}`,ai=e=>t=>`${e}-${t}`,si="title",li="references-title",ci=ai("section-title"),ui=ai("question-title"),di=oi("question-instruction"),fi=oi("answer-length-info"),pi=oi("external-material-list-title"),hi=ai("toc-section-title"),mi=oi("answer-score"),gi=oi("image-caption"),yi=oi("video-caption"),vi=oi("audio-label"),bi="toc-title";function Ii(){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",Ii),()=>window.removeEventListener("hashchange",Ii)}function xi(t){return(0,e.useState)(t)[0]}function wi(e,t){const n=new URL(e,"http://example.com");mn(t,((e,t)=>n[t]=e));const r=n.pathname+n.search+n.hash;return e.startsWith("/")?r:r.substr(1)}const Ai=({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 Ti(e){return e.displayName||e.name||"Component"}const Mi=(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(${Ti(r)})`,i},Ci=t().createContext({});function Ni(e){return Mi(Ci,(({attachmentsURL:e,resolveAttachment:t,doc:n,abitti2:r})=>{const i=n.documentElement,o=Tn(i,"date"),a=Tn(i,"exam-lang"),s=Tn(i,"lang")||a;return{attachmentsURL:e,date:o?new Date(o):void 0,dateTimeFormatter:new Intl.DateTimeFormat("fi-FI",{timeZone:"UTC"}),dayCode:Tn(i,"day-code"),examCode:Tn(i,"exam-code"),language:a,subjectLanguage:s,maxAnswers:Mn(i,"max-answers"),maxScore:Mn(i,"max-score"),sections:xn(i,"section"),resolveAttachment:t,abitti2:r||!1,root:i}}))(e)}const Ei=n=>t().memo((({element:r})=>{const i=r.getAttribute("ref"),{root:o}=(0,e.useContext)(Ci),{attachmentsURL:a}=(0,e.useContext)(Ci),{t:s}=ti(),l=In(o,(e=>"attachment"===e.localName&&e.getAttribute("name")===i)).getAttribute("display-number"),c="short"===r.getAttribute("type"),u=wi(a,{hash:l});return c?t().createElement(Ai,{href:u,type:n},l):t().createElement(t().Fragment,null,"(",t().createElement(Ai,{href:u,type:n},s("material",{postProcess:"lowercase"})," ",l),")")})),Si=n=>t().memo((({element:r})=>{const{root:i,attachmentsURL:o}=(0,e.useContext)(Ci),{t:a}=ti(),s=Nn(r,(e=>{const t=e.getAttribute("ref");return In(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=wi(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(Ai,{href:u,type:n},d):t().createElement(t().Fragment,null,"(",t().createElement(Ai,{href:u,type:n},a("material",{count:f,postProcess:"lowercase"})," ",d),")")})),ki=t().createContext({}),ji=Mi(ki,(({element:e})=>{const t=null!=wn(e,"external-material"),n=e.getAttribute("name");return t?{displayNumber:e.getAttribute("display-number"),isExternal:t,name:n}:{displayNumber:null,isExternal:t,name:n}})),Di=t().memo(ji((function({element:n,renderChildNodes:r}){const{displayNumber:i,isExternal:o}=(0,e.useContext)(ki);return o?t().createElement("div",{id:i,className:"attachments-attachment e-mrg-0 e-mrg-t-8","data-annotation-anchor":i},r(n)):null}))),Li=t().memo((function({element:n,renderChildNodes:r}){const{displayNumber:i}=(0,e.useContext)(ki);return t().createElement("h3",null,i,yn,r(n))}));var Oi=o(3373),Ri=o.n(Oi),Pi=o(5919),zi=e,Ui=Symbol.for("react-redux-context"),Bi="undefined"!=typeof globalThis?globalThis:{};function Gi(){if(!zi.createContext)return{};const e=Bi[Ui]??(Bi[Ui]=new Map);let t=e.get(zi.createContext);return t||(t=zi.createContext(null),e.set(zi.createContext,t)),t}var Zi=Gi();function Fi(e=Zi){return function(){return zi.useContext(e)}}var Hi=Fi(),_i=()=>{throw new Error("uSES not initialized!")},Yi=(e,t)=>e===t;function qi(e=Zi){const t=e===Zi?Hi:Fi(e),n=(e,n={})=>{const{equalityFn:r=Yi,devModeChecks:i={}}="function"==typeof n?{equalityFn:n}:n,{store:o,subscription:a,getServerState:s,stabilityCheck:l,identityFunctionCheck:c}=t(),u=(zi.useRef(!0),zi.useCallback({[e.name]:t=>e(t)}[e.name],[e,l,i.stabilityCheck])),d=_i(a.addNestedSub,o.getState,s||o.getState,u,r);return zi.useDebugValue(d),d};return Object.assign(n,{withTypes:()=>n}),n}var Vi=qi();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.client.reference");var Wi={notify(){},get:()=>[]};var Qi=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),Ji="undefined"!=typeof navigator&&"ReactNative"===navigator.product,Xi=Qi||Ji?zi.useLayoutEffect:zi.useEffect;function Ki(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function $i(e,t){if(Ki(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])||!Ki(e[n[r]],t[n[r]]))return!1;return!0}Object.defineProperty,Object.getOwnPropertyNames,Object.getOwnPropertySymbols,Object.getOwnPropertyDescriptor,Object.getPrototypeOf,Object.prototype;var eo=function({store:e,context:t,children:n,serverState:r,stabilityCheck:i="once",identityFunctionCheck:o="once"}){const a=zi.useMemo((()=>{const t=function(e,t){let n,r=Wi,i=0,o=!1;function a(){c.onStateChange&&c.onStateChange()}function s(){i++,n||(n=t?t.addNestedSub(a):e.subscribe(a),r=function(){let e=null,t=null;return{clear(){e=null,t=null},notify(){(()=>{let t=e;for(;t;)t.callback(),t=t.next})()},get(){const t=[];let n=e;for(;n;)t.push(n),n=n.next;return t},subscribe(n){let r=!0;const i=t={callback:n,next:null,prev:t};return i.prev?i.prev.next=i:e=i,function(){r&&null!==e&&(r=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}())}function l(){i--,n&&0===i&&(n(),n=void 0,r.clear(),r=Wi)}const c={addNestedSub:function(e){s();const t=r.subscribe(e);let n=!1;return()=>{n||(n=!0,t(),l())}},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:a,isSubscribed:function(){return o},trySubscribe:function(){o||(o=!0,s())},tryUnsubscribe:function(){o&&(o=!1,l())},getListeners:()=>r};return c}(e);return{store:e,subscription:t,getServerState:r?()=>r:void 0,stabilityCheck:i,identityFunctionCheck:o}}),[e,r,i,o]),s=zi.useMemo((()=>e.getState()),[e]);Xi((()=>{const{subscription:t}=a;return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),s!==e.getState()&&t.notifyNestedSubs(),()=>{t.tryUnsubscribe(),t.onStateChange=void 0}}),[a,s]);const l=t||Zi;return zi.createElement(l.Provider,{value:a},n)};function to(e=Zi){const t=e===Zi?Hi:Fi(e),n=()=>{const{store:e}=t();return e};return Object.assign(n,{withTypes:()=>n}),n}var no=to();function ro(e=Zi){const t=e===Zi?no:to(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var io,oo=ro();io=Pi.useSyncExternalStoreWithSelector,_i=io,e.useSyncExternalStore;const ao=(e,t)=>n=>{const{nowPlaying:r}=n.audio;return null==r?"stopped":r.audio.restrictedAudioId===t&&r.audio.src===e?"playing":"other-playing"},so=(e,t)=>n=>n.audio.errors[null!=t?t:e],lo=e=>t=>Xt(t.audio.playbackTimes,e,0),co=(e,t)=>n=>t-lo(e)(n),uo=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 fo={prefix:"fas",iconName:"down-left-and-up-right-to-center",icon:[512,512,["compress-alt"],"f422","M439 7c9.4-9.4 24.6-9.4 33.9 0l32 32c9.4 9.4 9.4 24.6 0 33.9l-87 87 39 39c6.9 6.9 8.9 17.2 5.2 26.2s-12.5 14.8-22.2 14.8H296c-13.3 0-24-10.7-24-24V72c0-9.7 5.8-18.5 14.8-22.2s19.3-1.7 26.2 5.2l39 39L439 7zM72 272H216c13.3 0 24 10.7 24 24V440c0 9.7-5.8 18.5-14.8 22.2s-19.3 1.7-26.2-5.2l-39-39L73 505c-9.4 9.4-24.6 9.4-33.9 0L7 473c-9.4-9.4-9.4-24.6 0-33.9l87-87L55 313c-6.9-6.9-8.9-17.2-5.2-26.2s12.5-14.8 22.2-14.8z"]},po={prefix:"fas",iconName:"eye-slash",icon:[640,512,[],"f070","M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zM223.1 149.5C248.6 126.2 282.7 112 320 112c79.5 0 144 64.5 144 144c0 24.9-6.3 48.3-17.4 68.7L408 294.5c8.4-19.3 10.6-41.4 4.8-63.3c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zM373 389.9c-16.4 6.5-34.3 10.1-53 10.1c-79.5 0-144-64.5-144-144c0-6.9 .5-13.6 1.4-20.2L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5L373 389.9z"]},ho={prefix:"fas",iconName:"chevron-up",icon:[512,512,[],"f077","M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z"]},mo={prefix:"fas",iconName:"image",icon:[512,512,[],"f03e","M0 96C0 60.7 28.7 32 64 32H448c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zM323.8 202.5c-4.5-6.6-11.9-10.5-19.8-10.5s-15.4 3.9-19.8 10.5l-87 127.6L170.7 297c-4.6-5.7-11.5-9-18.7-9s-14.2 3.3-18.7 9l-64 80c-5.8 7.2-6.9 17.1-2.9 25.4s12.4 13.6 21.6 13.6h96 32H424c8.9 0 17.1-4.9 21.2-12.8s3.6-17.4-1.4-24.7l-120-176zM112 192a48 48 0 1 0 0-96 48 48 0 1 0 0 96z"]},go={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z"]},yo={prefix:"fas",iconName:"paperclip",icon:[448,512,[128206],"f0c6","M364.2 83.8c-24.4-24.4-64-24.4-88.4 0l-184 184c-42.1 42.1-42.1 110.3 0 152.4s110.3 42.1 152.4 0l152-152c10.9-10.9 28.7-10.9 39.6 0s10.9 28.7 0 39.6l-152 152c-64 64-167.6 64-231.6 0s-64-167.6 0-231.6l184-184c46.3-46.3 121.3-46.3 167.6 0s46.3 121.3 0 167.6l-176 176c-28.6 28.6-75 28.6-103.6 0s-28.6-75 0-103.6l144-144c10.9-10.9 28.7-10.9 39.6 0s10.9 28.7 0 39.6l-144 144c-6.7 6.7-6.7 17.7 0 24.4s17.7 6.7 24.4 0l176-176c24.4-24.4 24.4-64 0-88.4z"]},vo={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},bo={prefix:"fas",iconName:"play",icon:[384,512,[9654],"f04b","M73 39c-14.8-9.1-33.4-9.4-48.5-.9S0 62.6 0 80V432c0 17.4 9.4 33.4 24.5 41.9s33.7 8.1 48.5-.9L361 297c14.3-8.7 23-24.2 23-41s-8.7-32.2-23-41L73 39z"]},Io={prefix:"fas",iconName:"chevron-down",icon:[512,512,[],"f078","M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]},xo={prefix:"fas",iconName:"up-right-and-down-left-from-center",icon:[512,512,["expand-alt"],"f424","M344 0H488c13.3 0 24 10.7 24 24V168c0 9.7-5.8 18.5-14.8 22.2s-19.3 1.7-26.2-5.2l-39-39-87 87c-9.4 9.4-24.6 9.4-33.9 0l-32-32c-9.4-9.4-9.4-24.6 0-33.9l87-87L327 41c-6.9-6.9-8.9-17.2-5.2-26.2S334.3 0 344 0zM168 512H24c-13.3 0-24-10.7-24-24V344c0-9.7 5.8-18.5 14.8-22.2s19.3-1.7 26.2 5.2l39 39 87-87c9.4-9.4 24.6-9.4 33.9 0l32 32c9.4 9.4 9.4 24.6 0 33.9l-87 87 39 39c6.9 6.9 8.9 17.2 5.2 26.2s-12.5 14.8-22.2 14.8z"]},wo={prefix:"fas",iconName:"triangle-exclamation",icon:[512,512,[9888,"exclamation-triangle","warning"],"f071","M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480H40c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24V296c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]};function Ao(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 To(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ao(Object(n),!0).forEach((function(t){No(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ao(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Mo(e){return Mo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Mo(e)}function Co(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function No(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Eo(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||ko(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function So(e){return function(e){if(Array.isArray(e))return jo(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ko(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 ko(e,t){if(e){if("string"==typeof e)return jo(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)?jo(e,t):void 0}}function jo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Do=function(){},Lo={},Oo={},Ro=null,Po={mark:Do,measure:Do};try{"undefined"!=typeof window&&(Lo=window),"undefined"!=typeof document&&(Oo=document),"undefined"!=typeof MutationObserver&&(Ro=MutationObserver),"undefined"!=typeof performance&&(Po=performance)}catch(Im){}var zo,Uo,Bo,Go,Zo,Fo=(Lo.navigator||{}).userAgent,Ho=void 0===Fo?"":Fo,_o=Lo,Yo=Oo,qo=Ro,Vo=Po,Wo=(_o.document,!!Yo.documentElement&&!!Yo.head&&"function"==typeof Yo.addEventListener&&"function"==typeof Yo.createElement),Qo=~Ho.indexOf("MSIE")||~Ho.indexOf("Trident/"),Jo="___FONT_AWESOME___",Xo="fa",Ko="svg-inline--fa",$o="data-fa-i2svg",ea="data-fa-pseudo-element",ta="data-fa-pseudo-element-pending",na="data-prefix",ra="data-icon",ia="fontawesome-i2svg",oa="async",aa=["HTML","HEAD","STYLE","SCRIPT"],sa=function(){try{return!0}catch(e){return!1}}(),la="classic",ca="sharp",ua=[la,ca];function da(e){return new Proxy(e,{get:function(e,t){return t in e?e[t]:e[la]}})}var fa=da((No(zo={},la,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit",fakd:"kit","fa-kit":"kit","fa-kit-duotone":"kit"}),No(zo,ca,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"}),zo)),pa=da((No(Uo={},la,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),No(Uo,ca,{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"}),Uo)),ha=da((No(Bo={},la,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),No(Bo,ca,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"}),Bo)),ma=da((No(Go={},la,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),No(Go,ca,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"}),Go)),ga=/fa(s|r|l|t|d|b|k|ss|sr|sl|st)?[\-\ ]/,ya="fa-layers-text",va=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,ba=da((No(Zo={},la,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),No(Zo,ca,{900:"fass",400:"fasr",300:"fasl",100:"fast"}),Zo)),Ia=[1,2,3,4,5,6,7,8,9,10],xa=Ia.concat([11,12,13,14,15,16,17,18,19,20]),wa=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Aa={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Ta=new Set;Object.keys(pa[la]).map(Ta.add.bind(Ta)),Object.keys(pa[ca]).map(Ta.add.bind(Ta));var Ma=[].concat(ua,So(Ta),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",Aa.GROUP,Aa.SWAP_OPACITY,Aa.PRIMARY,Aa.SECONDARY]).concat(Ia.map((function(e){return"".concat(e,"x")}))).concat(xa.map((function(e){return"w-".concat(e)}))),Ca=_o.FontAwesomeConfig||{};Yo&&"function"==typeof Yo.querySelector&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["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=Eo(e,2),n=t[0],r=t[1],i=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=Yo.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=i&&(Ca[r]=i)}));var Na={styleDefault:"solid",familyDefault:"classic",cssPrefix:Xo,replacementClass:Ko,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Ca.familyPrefix&&(Ca.cssPrefix=Ca.familyPrefix);var Ea=To(To({},Na),Ca);Ea.autoReplaceSvg||(Ea.observeMutations=!1);var Sa={};Object.keys(Na).forEach((function(e){Object.defineProperty(Sa,e,{enumerable:!0,set:function(t){Ea[e]=t,ka.forEach((function(e){return e(Sa)}))},get:function(){return Ea[e]}})})),Object.defineProperty(Sa,"familyPrefix",{enumerable:!0,set:function(e){Ea.cssPrefix=e,ka.forEach((function(e){return e(Sa)}))},get:function(){return Ea.cssPrefix}}),_o.FontAwesomeConfig=Sa;var ka=[],ja=16,Da={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1},La="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Oa(){for(var e=12,t="";e-- >0;)t+=La[62*Math.random()|0];return t}function Ra(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function Pa(e){return e.classList?Ra(e.classList):(e.getAttribute("class")||"").split(" ").filter((function(e){return e}))}function za(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Ua(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")}),"")}function Ba(e){return e.size!==Da.size||e.x!==Da.x||e.y!==Da.y||e.rotate!==Da.rotate||e.flipX||e.flipY}var Ga=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-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-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\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-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: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\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-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\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: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\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@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 -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, 0));\n transform: rotate(var(--fa-rotate-angle, 0));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\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 z-index: var(--fa-stack-z-index, auto);\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: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\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.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';function Za(){var e=Xo,t=Ko,n=Sa.cssPrefix,r=Sa.replacementClass,i=Ga;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}var Fa=!1;function Ha(){Sa.autoAddCss&&!Fa&&(function(e){if(e&&Wo){var t=Yo.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=Yo.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)}Yo.head.insertBefore(t,r)}}(Za()),Fa=!0)}var _a={mixout:function(){return{dom:{css:Za,insertCss:Ha}}},hooks:function(){return{beforeDOMElementCreation:function(){Ha()},beforeI2svg:function(){Ha()}}}},Ya=_o||{};Ya[Jo]||(Ya[Jo]={}),Ya[Jo].styles||(Ya[Jo].styles={}),Ya[Jo].hooks||(Ya[Jo].hooks={}),Ya[Jo].shims||(Ya[Jo].shims=[]);var qa=Ya[Jo],Va=[],Wa=!1;function Qa(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?za(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(za(e[n]),'" ')}),"").trim()}(r),">").concat(o.map(Qa).join(""),"</").concat(t,">")}function Ja(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}Wo&&((Wa=(Yo.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Yo.readyState))||Yo.addEventListener("DOMContentLoaded",(function e(){Yo.removeEventListener("DOMContentLoaded",e),Wa=1,Va.map((function(e){return e()}))})));var Xa=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 Ka(e){var t=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var o=e.charCodeAt(n++);56320==(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),n--)}else t.push(i)}return t}(e);return 1===t.length?t[0].toString(16):null}function $a(e){return Object.keys(e).reduce((function(t,n){var r=e[n];return r.icon?t[r.iconName]=r.icon:t[n]=r,t}),{})}function es(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,r=void 0!==n&&n,i=$a(t);"function"!=typeof qa.hooks.addPack||r?qa.styles[e]=To(To({},qa.styles[e]||{}),i):qa.hooks.addPack(e,$a(t)),"fas"===e&&es("fa",t)}var ts,ns,rs,is=qa.styles,os=qa.shims,as=(No(ts={},la,Object.values(ha[la])),No(ts,ca,Object.values(ha[ca])),ts),ss=null,ls={},cs={},us={},ds={},fs={},ps=(No(ns={},la,Object.keys(fa[la])),No(ns,ca,Object.keys(fa[ca])),ns);var hs,ms=function(){var e=function(e){return Xa(is,(function(t,n,r){return t[r]=Xa(n,e,{}),t}),{})};ls=e((function(e,t,n){(t[3]&&(e[t[3]]=n),t[2])&&t[2].filter((function(e){return"number"==typeof e})).forEach((function(t){e[t.toString(16)]=n}));return e})),cs=e((function(e,t,n){(e[n]=n,t[2])&&t[2].filter((function(e){return"string"==typeof e})).forEach((function(t){e[t]=n}));return e})),fs=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 is||Sa.autoFetchSvg,n=Xa(os,(function(e,n){var r=n[0],i=n[1],o=n[2];return"far"!==i||t||(i="fas"),"string"==typeof r&&(e.names[r]={prefix:i,iconName:o}),"number"==typeof r&&(e.unicodes[r.toString(16)]={prefix:i,iconName:o}),e}),{names:{},unicodes:{}});us=n.names,ds=n.unicodes,ss=xs(Sa.styleDefault,{family:Sa.familyDefault})};function gs(e,t){return(ls[e]||{})[t]}function ys(e,t){return(fs[e]||{})[t]}function vs(e){return us[e]||{prefix:null,iconName:null}}function bs(){return ss}hs=function(e){ss=xs(e.styleDefault,{family:Sa.familyDefault})},ka.push(hs),ms();var Is=function(){return{prefix:null,iconName:null,rest:[]}};function xs(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,n=void 0===t?la:t,r=fa[n][e],i=pa[n][e]||pa[n][r],o=e in qa.styles?e:null;return i||o||null}var ws=(No(rs={},la,Object.keys(ha[la])),No(rs,ca,Object.keys(ha[ca])),rs);function As(e){var t,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,r=void 0!==n&&n,i=(No(t={},la,"".concat(Sa.cssPrefix,"-").concat(la)),No(t,ca,"".concat(Sa.cssPrefix,"-").concat(ca)),t),o=null,a=la;(e.includes(i[la])||e.some((function(e){return ws[la].includes(e)})))&&(a=la),(e.includes(i[ca])||e.some((function(e){return ws[ca].includes(e)})))&&(a=ca);var s=e.reduce((function(e,t){var n=function(e,t){var n,r=t.split("-"),i=r[0],o=r.slice(1).join("-");return i!==e||""===o||(n=o,~Ma.indexOf(n))?null:o}(Sa.cssPrefix,t);if(is[t]?(t=as[a].includes(t)?ma[a][t]:t,o=t,e.prefix=t):ps[a].indexOf(t)>-1?(o=t,e.prefix=xs(t,{family:a})):n?e.iconName=n:t!==Sa.replacementClass&&t!==i[la]&&t!==i[ca]&&e.rest.push(t),!r&&e.prefix&&e.iconName){var s="fa"===o?vs(e.iconName):{},l=ys(e.prefix,e.iconName);s.prefix&&(o=null),e.iconName=s.iconName||l||e.iconName,e.prefix=s.prefix||e.prefix,"far"!==e.prefix||is.far||!is.fas||Sa.autoFetchSvg||(e.prefix="fas")}return e}),Is());return(e.includes("fa-brands")||e.includes("fab"))&&(s.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(s.prefix="fad"),s.prefix||a!==ca||!is.fass&&!Sa.autoFetchSvg||(s.prefix="fass",s.iconName=ys(s.prefix,s.iconName)||s.iconName),"fa"!==s.prefix&&"fa"!==o||(s.prefix=bs()||"fas"),s}var Ts=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]=To(To({},e.definitions[t]||{}),i[t]),es(t,i[t]);var n=ha[la][t];n&&es(n,i[t]),ms()}))}},{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,s=a[2];e[i]||(e[i]={}),s.length>0&&s.forEach((function(t){"string"==typeof t&&(e[i][t]=a)})),e[i][o]=a})),e}}],n&&Co(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),Ms=[],Cs={},Ns={},Es=Object.keys(Ns);function Ss(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(Cs[e]||[]).forEach((function(e){t=e.apply(null,[t].concat(r))})),t}function ks(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];(Cs[e]||[]).forEach((function(e){e.apply(null,n)}))}function js(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Ns[e]?Ns[e].apply(null,t):void 0}function Ds(e){"fa"===e.prefix&&(e.prefix="fas");var t=e.iconName,n=e.prefix||bs();if(t)return t=ys(n,t)||t,Ja(Ls.definitions,n,t)||Ja(qa.styles,n,t)}var Ls=new Ts,Os={i2svg:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Wo?(ks("beforeI2svg",e),js("pseudoElements2svg",e),js("i2svg",e)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.autoReplaceSvgRoot;!1===Sa.autoReplaceSvg&&(Sa.autoReplaceSvg=!0),Sa.observeMutations=!0,function(e){Wo&&(Wa?setTimeout(e,0):Va.push(e))}((function(){Ps({autoReplaceSvgRoot:t}),ks("watch",e)}))}},Rs={noAuto:function(){Sa.autoReplaceSvg=!1,Sa.observeMutations=!1,ks("noAuto")},config:Sa,dom:Os,parse:{icon:function(e){if(null===e)return null;if("object"===Mo(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:ys(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){var t=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],n=xs(e[0]);return{prefix:n,iconName:ys(n,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(Sa.cssPrefix,"-"))>-1||e.match(ga))){var r=As(e.split(" "),{skipLookups:!0});return{prefix:r.prefix||bs(),iconName:ys(r.prefix,r.iconName)||r.iconName}}if("string"==typeof e){var i=bs();return{prefix:i,iconName:ys(i,e)||e}}}},library:Ls,findIconDefinition:Ds,toHtml:Qa},Ps=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,t=void 0===e?Yo:e;(Object.keys(qa.styles).length>0||Sa.autoFetchSvg)&&Wo&&Sa.autoReplaceSvg&&Rs.dom.i2svg({node:t})};function zs(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return Qa(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(Wo){var t=Yo.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function Us(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,m=h.width,g=h.height,y="fak"===i,v=[Sa.replacementClass,o?"".concat(Sa.cssPrefix,"-").concat(o):""].filter((function(e){return-1===d.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(d.classes).join(" "),b={children:[],attributes:To(To({},d.attributes),{},{"data-prefix":i,"data-icon":o,class:v,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(m," ").concat(g)})},I=y&&!~d.classes.indexOf("fa-fw")?{width:"".concat(m/g*16*.0625,"em")}:{};p&&(b.attributes[$o]=""),l&&(b.children.push({tag:"title",attributes:{id:b.attributes["aria-labelledby"]||"title-".concat(u||Oa())},children:[l]}),delete b.attributes.title);var x=To(To({},b),{},{prefix:i,iconName:o,main:n,mask:r,maskId:c,transform:a,symbol:s,styles:To(To({},I),d.styles)}),w=r.found&&n.found?js("generateAbstractMask",x)||{children:[],attributes:{}}:js("generateAbstractIcon",x)||{children:[],attributes:{}},A=w.children,T=w.attributes;return x.children=A,x.attributes=T,s?function(e){var t=e.prefix,n=e.iconName,r=e.children,i=e.attributes,o=e.symbol,a=!0===o?"".concat(t,"-").concat(Sa.cssPrefix,"-").concat(n):o;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:To(To({},i),{},{id:a}),children:r}]}]}(x):function(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,o=e.styles,a=e.transform;if(Ba(a)&&n.found&&!r.found){var s={x:n.width/n.height/2,y:.5};i.style=Ua(To(To({},o),{},{"transform-origin":"".concat(s.x+a.x/16,"em ").concat(s.y+a.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}(x)}function Bs(e){var t=e.content,n=e.width,r=e.height,i=e.transform,o=e.title,a=e.extra,s=e.watchable,l=void 0!==s&&s,c=To(To(To({},a.attributes),o?{title:o}:{}),{},{class:a.classes.join(" ")});l&&(c[$o]="");var u=To({},a.styles);Ba(i)&&(u.transform=function(e){var t=e.transform,n=e.width,r=void 0===n?16:n,i=e.height,o=void 0===i?16:i,a=e.startCentered,s=void 0!==a&&a,l="";return l+=s&&Qo?"translate(".concat(t.x/ja-r/2,"em, ").concat(t.y/ja-o/2,"em) "):s?"translate(calc(-50% + ".concat(t.x/ja,"em), calc(-50% + ").concat(t.y/ja,"em)) "):"translate(".concat(t.x/ja,"em, ").concat(t.y/ja,"em) "),(l+="scale(".concat(t.size/ja*(t.flipX?-1:1),", ").concat(t.size/ja*(t.flipY?-1:1),") "))+"rotate(".concat(t.rotate,"deg) ")}({transform:i,startCentered:!0,width:n,height:r}),u["-webkit-transform"]=u.transform);var d=Ua(u);d.length>0&&(c.style=d);var f=[];return f.push({tag:"span",attributes:c,children:[t]}),o&&f.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),f}var Gs=qa.styles;function Zs(e){var t=e[0],n=e[1],r=Eo(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(Sa.cssPrefix,"-").concat(Aa.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Sa.cssPrefix,"-").concat(Aa.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(Sa.cssPrefix,"-").concat(Aa.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}var Fs={found:!1,width:512,height:512};function Hs(e,t){var n=t;return"fa"===t&&null!==Sa.styleDefault&&(t=bs()),new Promise((function(r,i){if(js("missingIconAbstract"),"fa"===n){var o=vs(e)||{};e=o.iconName||e,t=o.prefix||t}if(e&&t&&Gs[t]&&Gs[t][e])return r(Zs(Gs[t][e]));!function(e,t){sa||Sa.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),r(To(To({},Fs),{},{icon:Sa.showMissingIcons&&e&&js("missingIconAbstract")||{}}))}))}var _s=function(){},Ys=Sa.measurePerformance&&Vo&&Vo.mark&&Vo.measure?Vo:{mark:_s,measure:_s},qs='FA "6.5.2"',Vs=function(e){Ys.mark("".concat(qs," ").concat(e," ends")),Ys.measure("".concat(qs," ").concat(e),"".concat(qs," ").concat(e," begins"),"".concat(qs," ").concat(e," ends"))},Ws={begin:function(e){return Ys.mark("".concat(qs," ").concat(e," begins")),function(){return Vs(e)}},end:Vs},Qs=function(){};function Js(e){return"string"==typeof(e.getAttribute?e.getAttribute($o):null)}function Xs(e){return Yo.createElementNS("http://www.w3.org/2000/svg",e)}function Ks(e){return Yo.createElement(e)}function $s(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,n=void 0===t?"svg"===e.tag?Xs:Ks:t;if("string"==typeof e)return Yo.createTextNode(e);var r=n(e.tag);return Object.keys(e.attributes||[]).forEach((function(t){r.setAttribute(t,e.attributes[t])})),(e.children||[]).forEach((function(e){r.appendChild($s(e,{ceFn:n}))})),r}var el={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach((function(e){t.parentNode.insertBefore($s(e),t)})),null===t.getAttribute($o)&&Sa.keepOriginalSource){var n=Yo.createComment(function(e){var t=" ".concat(e.outerHTML," ");return"".concat(t,"Font Awesome fontawesome.com ")}(t));t.parentNode.replaceChild(n,t)}else t.remove()},nest:function(e){var t=e[0],n=e[1];if(~Pa(t).indexOf(Sa.replacementClass))return el.replace(e);var r=new RegExp("".concat(Sa.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var i=n[0].attributes.class.split(" ").reduce((function(e,t){return t===Sa.replacementClass||t.match(r)?e.toSvg.push(t):e.toNode.push(t),e}),{toNode:[],toSvg:[]});n[0].attributes.class=i.toSvg.join(" "),0===i.toNode.length?t.removeAttribute("class"):t.setAttribute("class",i.toNode.join(" "))}var o=n.map((function(e){return Qa(e)})).join("\n");t.setAttribute($o,""),t.innerHTML=o}};function tl(e){e()}function nl(e,t){var n="function"==typeof t?t:Qs;if(0===e.length)n();else{var r=tl;Sa.mutateApproach===oa&&(r=_o.requestAnimationFrame||tl),r((function(){var t=!0===Sa.autoReplaceSvg?el.replace:el[Sa.autoReplaceSvg]||el.replace,r=Ws.begin("mutate");e.map(t),r(),n()}))}}var rl=!1;function il(){rl=!0}function ol(){rl=!1}var al=null;function sl(e){if(qo&&Sa.observeMutations){var t=e.treeCallback,n=void 0===t?Qs:t,r=e.nodeCallback,i=void 0===r?Qs:r,o=e.pseudoElementsCallback,a=void 0===o?Qs:o,s=e.observeMutationsRoot,l=void 0===s?Yo:s;al=new qo((function(e){if(!rl){var t=bs();Ra(e).forEach((function(e){if("childList"===e.type&&e.addedNodes.length>0&&!Js(e.addedNodes[0])&&(Sa.searchPseudoElements&&a(e.target),n(e.target)),"attributes"===e.type&&e.target.parentNode&&Sa.searchPseudoElements&&a(e.target.parentNode),"attributes"===e.type&&Js(e.target)&&~wa.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var t=e.getAttribute?e.getAttribute(na):null,n=e.getAttribute?e.getAttribute(ra):null;return t&&n}(e.target)){var r=As(Pa(e.target)),o=r.prefix,s=r.iconName;e.target.setAttribute(na,o||t),s&&e.target.setAttribute(ra,s)}else(l=e.target)&&l.classList&&l.classList.contains&&l.classList.contains(Sa.replacementClass)&&i(e.target);var l}))}})),Wo&&al.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function ll(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=function(e){var t,n,r=e.getAttribute("data-prefix"),i=e.getAttribute("data-icon"),o=void 0!==e.innerText?e.innerText.trim():"",a=As(Pa(e));return a.prefix||(a.prefix=bs()),r&&i&&(a.prefix=r,a.iconName=i),a.iconName&&a.prefix||(a.prefix&&o.length>0&&(a.iconName=(t=a.prefix,n=e.innerText,(cs[t]||{})[n]||gs(a.prefix,Ka(e.innerText)))),!a.iconName&&Sa.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(a.iconName=e.firstChild.data)),a}(e),r=n.iconName,i=n.prefix,o=n.rest,a=function(e){var t=Ra(e.attributes).reduce((function(e,t){return"class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e}),{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return Sa.autoA11y&&(n?t["aria-labelledby"]="".concat(Sa.replacementClass,"-title-").concat(r||Oa()):(t["aria-hidden"]="true",t.focusable="false")),t}(e),s=Ss("parseNodeAttributes",{},e),l=t.styleParser?function(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce((function(e,t){var n=t.split(":"),r=n[0],i=n.slice(1);return r&&i.length>0&&(e[r]=i.join(":").trim()),e}),{})),n}(e):[];return To({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:i,transform:Da,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:o,styles:l,attributes:a}},s)}var cl=qa.styles;function ul(e){var t="nest"===Sa.autoReplaceSvg?ll(e,{styleParser:!1}):ll(e);return~t.extra.classes.indexOf(ya)?js("generateLayersText",e,t):js("generateSvgReplacementMutation",e,t)}var dl=new Set;function fl(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!Wo)return Promise.resolve();var n=Yo.documentElement.classList,r=function(e){return n.add("".concat(ia,"-").concat(e))},i=function(e){return n.remove("".concat(ia,"-").concat(e))},o=Sa.autoFetchSvg?dl:ua.map((function(e){return"fa-".concat(e)})).concat(Object.keys(cl));o.includes("fa")||o.push("fa");var a=[".".concat(ya,":not([").concat($o,"])")].concat(o.map((function(e){return".".concat(e,":not([").concat($o,"])")}))).join(", ");if(0===a.length)return Promise.resolve();var s=[];try{s=Ra(e.querySelectorAll(a))}catch(e){}if(!(s.length>0))return Promise.resolve();r("pending"),i("complete");var l=Ws.begin("onTree"),c=s.reduce((function(e,t){try{var n=ul(t);n&&e.push(n)}catch(e){sa||"MissingIcon"===e.name&&console.error(e)}return e}),[]);return new Promise((function(e,n){Promise.all(c).then((function(n){nl(n,(function(){r("active"),r("complete"),i("pending"),"function"==typeof t&&t(),l(),e()}))})).catch((function(e){l(),n(e)}))}))}function pl(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;ul(e).then((function(e){e&&nl([e],t)}))}ua.map((function(e){dl.add("fa-".concat(e))})),Object.keys(fa[la]).map(dl.add.bind(dl)),Object.keys(fa[ca]).map(dl.add.bind(dl)),dl=So(dl);var hl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?Da:n,i=t.symbol,o=void 0!==i&&i,a=t.mask,s=void 0===a?null:a,l=t.maskId,c=void 0===l?null:l,u=t.title,d=void 0===u?null:u,f=t.titleId,p=void 0===f?null:f,h=t.classes,m=void 0===h?[]:h,g=t.attributes,y=void 0===g?{}:g,v=t.styles,b=void 0===v?{}:v;if(e){var I=e.prefix,x=e.iconName,w=e.icon;return zs(To({type:"icon"},e),(function(){return ks("beforeDOMElementCreation",{iconDefinition:e,params:t}),Sa.autoA11y&&(d?y["aria-labelledby"]="".concat(Sa.replacementClass,"-title-").concat(p||Oa()):(y["aria-hidden"]="true",y.focusable="false")),Us({icons:{main:Zs(w),mask:s?Zs(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:I,iconName:x,transform:To(To({},Da),r),symbol:o,title:d,maskId:c,titleId:p,extra:{attributes:y,styles:b,classes:m}})}))}},ml={mixout:function(){return{icon:(e=hl,function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(t||{}).icon?t:Ds(t||{}),i=n.mask;return i&&(i=(i||{}).icon?i:Ds(i||{})),e(r,To(To({},n),{},{mask:i}))})};var e},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=fl,e.nodeCallback=pl,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,n=void 0===t?Yo:t,r=e.callback;return fl(n,void 0===r?function(){}:r)},e.generateSvgReplacementMutation=function(e,t){var n=t.iconName,r=t.title,i=t.titleId,o=t.prefix,a=t.transform,s=t.symbol,l=t.mask,c=t.maskId,u=t.extra;return new Promise((function(t,d){Promise.all([Hs(n,o),l.iconName?Hs(l.iconName,l.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((function(l){var d=Eo(l,2),f=d[0],p=d[1];t([e,Us({icons:{main:f,mask:p},prefix:o,iconName:n,transform:a,symbol:s,maskId:c,title:r,titleId:i,extra:u,watchable:!0})])})).catch(d)}))},e.generateAbstractIcon=function(e){var t,n=e.children,r=e.attributes,i=e.main,o=e.transform,a=Ua(e.styles);return a.length>0&&(r.style=a),Ba(o)&&(t=js("generateAbstractTransformGrouping",{main:i,transform:o,containerWidth:i.width,iconWidth:i.width})),n.push(t||i.icon),{children:n,attributes:r}}}},gl={mixout:function(){return{layer:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.classes,r=void 0===n?[]:n;return zs({type:"layer"},(function(){ks("beforeDOMElementCreation",{assembler:e,params:t});var n=[];return e((function(e){Array.isArray(e)?e.map((function(e){n=n.concat(e.abstract)})):n=n.concat(e.abstract)})),[{tag:"span",attributes:{class:["".concat(Sa.cssPrefix,"-layers")].concat(So(r)).join(" ")},children:n}]}))}}}},yl={mixout:function(){return{counter:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.title,r=void 0===n?null:n,i=t.classes,o=void 0===i?[]:i,a=t.attributes,s=void 0===a?{}:a,l=t.styles,c=void 0===l?{}:l;return zs({type:"counter",content:e},(function(){return ks("beforeDOMElementCreation",{content:e,params:t}),function(e){var t=e.content,n=e.title,r=e.extra,i=To(To(To({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),o=Ua(r.styles);o.length>0&&(i.style=o);var a=[];return a.push({tag:"span",attributes:i,children:[t]}),n&&a.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),a}({content:e.toString(),title:r,extra:{attributes:s,styles:c,classes:["".concat(Sa.cssPrefix,"-layers-counter")].concat(So(o))}})}))}}}},vl={mixout:function(){return{text:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?Da:n,i=t.title,o=void 0===i?null:i,a=t.classes,s=void 0===a?[]:a,l=t.attributes,c=void 0===l?{}:l,u=t.styles,d=void 0===u?{}:u;return zs({type:"text",content:e},(function(){return ks("beforeDOMElementCreation",{content:e,params:t}),Bs({content:e,transform:To(To({},Da),r),title:o,extra:{attributes:c,styles:d,classes:["".concat(Sa.cssPrefix,"-layers-text")].concat(So(s))}})}))}}},provides:function(e){e.generateLayersText=function(e,t){var n=t.title,r=t.transform,i=t.extra,o=null,a=null;if(Qo){var s=parseInt(getComputedStyle(e).fontSize,10),l=e.getBoundingClientRect();o=l.width/s,a=l.height/s}return Sa.autoA11y&&!n&&(i.attributes["aria-hidden"]="true"),Promise.resolve([e,Bs({content:e.innerHTML,width:o,height:a,transform:r,title:n,extra:i,watchable:!0})])}}},bl=new RegExp('"',"ug"),Il=[1105920,1112319];function xl(e,t){var n="".concat(ta).concat(t.replace(":","-"));return new Promise((function(r,i){if(null!==e.getAttribute(n))return r();var o,a,s,l=Ra(e.children).filter((function(e){return e.getAttribute(ea)===t}))[0],c=_o.getComputedStyle(e,t),u=c.getPropertyValue("font-family").match(va),d=c.getPropertyValue("font-weight"),f=c.getPropertyValue("content");if(l&&!u)return e.removeChild(l),r();if(u&&"none"!==f&&""!==f){var p=c.getPropertyValue("content"),h=~["Sharp"].indexOf(u[2])?ca:la,m=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(u[2])?pa[h][u[2].toLowerCase()]:ba[h][d],g=function(e){var t,n,r,i,o=e.replace(bl,""),a=(r=(t=o).length,(i=t.charCodeAt(0))>=55296&&i<=56319&&r>1&&(n=t.charCodeAt(1))>=56320&&n<=57343?1024*(i-55296)+n-56320+65536:i),s=a>=Il[0]&&a<=Il[1],l=2===o.length&&o[0]===o[1];return{value:Ka(l?o[0]:o),isSecondary:s||l}}(p),y=g.value,v=g.isSecondary,b=u[0].startsWith("FontAwesome"),I=gs(m,y),x=I;if(b){var w=(a=ds[o=y],s=gs("fas",o),a||(s?{prefix:"fas",iconName:s}:null)||{prefix:null,iconName:null});w.iconName&&w.prefix&&(I=w.iconName,m=w.prefix)}if(!I||v||l&&l.getAttribute(na)===m&&l.getAttribute(ra)===x)r();else{e.setAttribute(n,x),l&&e.removeChild(l);var A={iconName:null,title:null,titleId:null,prefix:null,transform:Da,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},T=A.extra;T.attributes[ea]=t,Hs(I,m).then((function(i){var o=Us(To(To({},A),{},{icons:{main:i,mask:Is()},prefix:m,iconName:x,extra:T,watchable:!0})),a=Yo.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===t?e.insertBefore(a,e.firstChild):e.appendChild(a),a.outerHTML=o.map((function(e){return Qa(e)})).join("\n"),e.removeAttribute(n),r()})).catch(i)}}else r()}))}function wl(e){return Promise.all([xl(e,"::before"),xl(e,"::after")])}function Al(e){return!(e.parentNode===document.head||~aa.indexOf(e.tagName.toUpperCase())||e.getAttribute(ea)||e.parentNode&&"svg"===e.parentNode.tagName)}function Tl(e){if(Wo)return new Promise((function(t,n){var r=Ra(e.querySelectorAll("*")).filter(Al).map(wl),i=Ws.begin("searchPseudoElements");il(),Promise.all(r).then((function(){i(),ol(),t()})).catch((function(){i(),ol(),n()}))}))}var Ml=!1,Cl=function(e){return 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}),{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},Nl={mixout:function(){return{parse:{transform:function(e){return Cl(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-transform");return n&&(e.transform=Cl(n)),e}}},provides:function(e){e.generateAbstractTransformGrouping=function(e){var t=e.main,n=e.transform,r=e.containerWidth,i=e.iconWidth,o={transform:"translate(".concat(r/2," 256)")},a="translate(".concat(32*n.x,", ").concat(32*n.y,") "),s="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),l="rotate(".concat(n.rotate," 0 0)"),c={outer:o,inner:{transform:"".concat(a," ").concat(s," ").concat(l)},path:{transform:"translate(".concat(i/2*-1," -256)")}};return{tag:"g",attributes:To({},c.outer),children:[{tag:"g",attributes:To({},c.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:To(To({},t.icon.attributes),c.path)}]}]}}}},El={x:0,y:0,width:"100%",height:"100%"};function Sl(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 kl,jl={hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-mask"),r=n?As(n.split(" ").map((function(e){return e.trim()}))):Is();return r.prefix||(r.prefix=bs()),e.mask=r,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides:function(e){e.generateAbstractMask=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=function(e){var t=e.transform,n=e.iconWidth,r={transform:"translate(".concat(e.containerWidth/2," 256)")},i="translate(".concat(32*t.x,", ").concat(32*t.y,") "),o="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),a="rotate(".concat(t.rotate," 0 0)");return{outer:r,inner:{transform:"".concat(i," ").concat(o," ").concat(a)},path:{transform:"translate(".concat(n/2*-1," -256)")}}}({transform:s,containerWidth:u,iconWidth:l}),p={tag:"rect",attributes:To(To({},El),{},{fill:"white"})},h=c.children?{children:c.children.map(Sl)}:{},m={tag:"g",attributes:To({},f.inner),children:[Sl(To({tag:c.tag,attributes:To(To({},c.attributes),f.path)},h))]},g={tag:"g",attributes:To({},f.outer),children:[m]},y="mask-".concat(a||Oa()),v="clip-".concat(a||Oa()),b={tag:"mask",attributes:To(To({},El),{},{id:y,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[p,g]},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:To({fill:"currentColor","clip-path":"url(#".concat(v,")"),mask:"url(#".concat(y,")")},El)}),{children:n,attributes:r}}}},Dl={provides:function(e){var t=!1;_o.matchMedia&&(t=_o.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){var e=[],n={fill:"currentColor"},r={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:To(To({},n),{},{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"})});var i=To(To({},r),{},{attributeName:"opacity"}),o={tag:"circle",attributes:To(To({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||o.children.push({tag:"animate",attributes:To(To({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:To(To({},i),{},{values:"1;0;1;1;0;1;"})}),e.push(o),e.push({tag:"path",attributes:To(To({},n),{},{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"}),children:t?[]:[{tag:"animate",attributes:To(To({},i),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:To(To({},n),{},{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"}),children:[{tag:"animate",attributes:To(To({},i),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}},Ll=[_a,ml,gl,yl,vl,{hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=Tl,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node,n=void 0===t?Yo:t;Sa.searchPseudoElements&&Tl(n)}}},{mixout:function(){return{dom:{unwatch:function(){il(),Ml=!0}}}},hooks:function(){return{bootstrap:function(){sl(Ss("mutationObserverCallbacks",{}))},noAuto:function(){al&&al.disconnect()},watch:function(e){var t=e.observeMutationsRoot;Ml?ol():sl(Ss("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},Nl,jl,Dl,{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-symbol"),r=null!==n&&(""===n||n);return e.symbol=r,e}}}}];kl={mixoutsTo:Rs}.mixoutsTo,Ms=Ll,Cs={},Object.keys(Ns).forEach((function(e){-1===Es.indexOf(e)&&delete Ns[e]})),Ms.forEach((function(e){var t=e.mixout?e.mixout():{};if(Object.keys(t).forEach((function(e){"function"==typeof t[e]&&(kl[e]=t[e]),"object"===Mo(t[e])&&Object.keys(t[e]).forEach((function(n){kl[e]||(kl[e]={}),kl[e][n]=t[e][n]}))})),e.hooks){var n=e.hooks();Object.keys(n).forEach((function(e){Cs[e]||(Cs[e]=[]),Cs[e].push(n[e])}))}e.provides&&e.provides(Ns)}));var Ol=Rs.parse,Rl=Rs.icon,Pl=o(9067),zl=o.n(Pl);function Ul(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 Bl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ul(Object(n),!0).forEach((function(t){Zl(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ul(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Gl(e){return Gl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Gl(e)}function Zl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fl(e){return function(e){if(Array.isArray(e))return Hl(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 Hl(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)?Hl(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 Hl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _l(e){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 Yl=["style"],ql=!1;try{ql=!0}catch(Im){}function Vl(e){return e&&"object"===Gl(e)&&e.prefix&&e.iconName&&e.icon?e:Ol.icon?Ol.icon(e):null===e?null:e&&"object"===Gl(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 Wl(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Zl({},e,t):{}}var Ql={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},Jl=t().forwardRef((function(e,t){var n=Bl(Bl({},Ql),e),r=n.icon,i=n.mask,o=n.symbol,a=n.className,s=n.title,l=n.titleId,c=n.maskId,u=Vl(r),d=Wl("classes",[].concat(Fl(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,m=e.listItem,g=e.flip,y=e.size,v=e.rotation,b=e.pull,I=(Zl(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":m,"fa-flip":!0===g,"fa-flip-horizontal":"horizontal"===g||"both"===g,"fa-flip-vertical":"vertical"===g||"both"===g},"fa-".concat(y),null!=y),Zl(t,"fa-rotate-".concat(v),null!=v&&0!==v),Zl(t,"fa-pull-".concat(b),null!=b),Zl(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(I).map((function(e){return I[e]?e:null})).filter((function(e){return e}))}(n)),Fl((a||"").split(" ")))),f=Wl("transform","string"==typeof n.transform?Ol.transform(n.transform):n.transform),p=Wl("mask",Vl(i)),h=Rl(u,Bl(Bl(Bl(Bl({},d),f),p),{},{symbol:o,title:s,titleId:l,maskId:c}));if(!h)return function(){var e;!ql&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",u),null;var m=h.abstract,g={ref:t};return Object.keys(n).forEach((function(e){Ql.hasOwnProperty(e)||(g[e]=n[e])})),Xl(m[0],g)}));Jl.displayName="FontAwesomeIcon",Jl.propTypes={beat:zl().bool,border:zl().bool,beatFade:zl().bool,bounce:zl().bool,className:zl().string,fade:zl().bool,flash:zl().bool,mask:zl().oneOfType([zl().object,zl().array,zl().string]),maskId:zl().string,fixedWidth:zl().bool,inverse:zl().bool,flip:zl().oneOf([!0,!1,"horizontal","vertical","both"]),icon:zl().oneOfType([zl().object,zl().array,zl().string]),listItem:zl().bool,pull:zl().oneOf(["right","left"]),pulse:zl().bool,rotation:zl().oneOf([0,90,180,270]),shake:zl().bool,size:zl().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:zl().bool,spinPulse:zl().bool,spinReverse:zl().bool,symbol:zl().oneOfType([zl().bool,zl().string]),title:zl().string,titleId:zl().string,transform:zl().oneOfType([zl().string,zl().object]),swapOpacity:zl().bool};var Xl=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=_l(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[_l(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,Yl);return o.attrs.style=Bl(Bl({},o.attrs.style),s),t.apply(void 0,[n.tag,Bl(Bl({},o.attrs),l)].concat(Fl(i)))}.bind(null,t().createElement);const Kl=!("undefined"==typeof window||!window.document||!window.document.createElement);var $l=(new Date).getTime(),ec=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-$l)),r=setTimeout(e,n);return $l=t,r},tc=function(e,t){return e+(e?t[0].toUpperCase()+t.substr(1):t)+"AnimationFrame"};Kl&&["","webkit","moz","o","ms"].some((function(e){var t=tc(e,"request");return t in window&&(tc(e,"cancel"),ec=function(e){return window[t](e)}),!!ec}));var nc=ec;function rc(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 ic(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function oc(e,t){e.classList?e.classList.remove(t):"string"==typeof e.className?e.className=ic(e.className,t):e.setAttribute("class",ic(e.className&&e.className.baseVal||"",t))}var ac=/([A-Z])/g,sc=/^ms-/;function lc(e){return function(e){return e.replace(ac,"-$1").toLowerCase()}(e).replace(sc,"-ms-")}var cc=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;const uc=function(e,t){var n="",r="";if("string"==typeof t)return e.style.getPropertyValue(lc(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(lc(t));Object.keys(t).forEach((function(i){var o=t[i];o||0===o?function(e){return!(!e||!cc.test(e))}(i)?r+=i+"("+o+") ":n+=lc(i)+": "+o+";":e.style.removeProperty(lc(i))})),r&&(n+="transform: "+r+";"),e.style.cssText+=";"+n};var dc=!1,fc=!1;try{var pc={get passive(){return dc=!0},get once(){return fc=dc=!0}};Kl&&(window.addEventListener("test",pc,pc),window.removeEventListener("test",pc,!0))}catch(Im){}const hc=function(e,t,n,r){return function(e,t,n,r){if(r&&"boolean"!=typeof r&&!fc){var i=r.once,o=r.capture,a=n;!fc&&i&&(a=n.__once||function e(r){this.removeEventListener(t,e,o),n.call(this,r)},n.__once=a),e.addEventListener(t,a,dc?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 mc(e,t,n,r){var i,o;null==n&&(o=-1===(i=uc(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,t,n,r){if(void 0===n&&(n=!1),void 0===r&&(r=!0),e){var i=document.createEvent("HTMLEvents");i.initEvent("transitionend",n,r),e.dispatchEvent(i)}}(e,0,!0)}),t+n),o=hc(e,"transitionend",(function(){r=!0}),{once:!0});return function(){clearTimeout(i),o()}}(e,n,r),s=hc(e,"transitionend",t);return function(){a(),s()}}function gc(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 yc=zl().oneOfType([zl().string,zl().shape({enter:zl().string,leave:zl().string,active:zl().string,height:zl().string}),zl().shape({enter:zl().string,enterActive:zl().string,leave:zl().string,leaveActive:zl().string,appear:zl().string,appearActive:zl().string,height:zl().string,heightActive:zl().string})]);function vc(e){return vc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vc(e)}function bc(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 Ic(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bc(Object(n),!0).forEach((function(t){Mc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function xc(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function wc(e,t){return wc=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},wc(e,t)}function Ac(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tc(e){return Tc=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Tc(e)}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}var Cc=[];mc&&Cc.push(mc);var Nc={children:zl().node,name:yc.isRequired,appear:zl().bool,enter:zl().bool,leave:zl().bool,appearTimeout:zl().number,enterTimeout:zl().number,leaveTimeout:zl().number},Ec=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wc(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=Tc(i);if(o){var n=Tc(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){return!t||"object"!==vc(t)&&"function"!=typeof t?Ac(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),Mc(Ac(n=a.call(this,e)),"refNode",t().createRef()),Mc(Ac(n),"componentWillAppear",(function(e){n.props.appear?n.transition("appear",e,n.props.appearTimeout):e()})),Mc(Ac(n),"componentWillEnter",(function(e){n.props.enter?n.transition("enter",e,n.props.enterTimeout):e()})),Mc(Ac(n),"componentWillLeave",(function(e){n.props.leave?n.transition("leave",e,n.props.leaveTimeout):e()})),n.classNameAndNodeQueue=[],n.transitionTimeouts=[],n}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:"getNode",value:function(){return this.refNode.current}},{key:"transition",value:function(e,t,n){var r=this.getNode();if(r){var i,o=this.props.name[e]||this.props.name+"-"+e,a=this.props.name[e+"Active"]||o+"-active",s=null;rc(r,o),this.queueClassAndNode(a,r);var l=function(n){n&&n.target!==r||(clearTimeout(s),i&&i(),"leave"!==e&&(oc(r,o),oc(r,a)),i&&i(),t&&t())};n?(s=setTimeout(l,n),this.transitionTimeouts.push(s)):mc&&(i=function(e,t){return Cc.length?Cc.forEach((function(n){return e.addEventListener(n,t,!1)})):setTimeout(t,0),function(){Cc.length&&Cc.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=nc((function(){return n.flushClassNameAndNodeQueueOnNextFrame()})))}},{key:"flushClassNameAndNodeQueueOnNextFrame",value:function(){var e=this;this.rafHandle=nc((function(){return e.flushClassNameAndNodeQueue()}))}},{key:"flushClassNameAndNodeQueue",value:function(){this.unmounted||this.classNameAndNodeQueue.forEach((function(e){e.node.scrollTop,rc(e.node,e.className)})),this.classNameAndNodeQueue.length=0,this.rafHandle=null}},{key:"render",value:function(){var e=Ic(Ic({},this.props),{},{ref:this.refNode});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&&xc(n.prototype,r),s}(t().Component);Mc(Ec,"displayName","CSSTransitionGroupChild"),Ec.propTypes=Nc;const Sc=Ec;function kc(e){return kc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},kc(e)}function jc(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 Dc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jc(Object(n),!0).forEach((function(t){zc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Lc(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Oc(e,t){return Oc=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Oc(e,t)}function Rc(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pc(e){return Pc=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Pc(e)}function zc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Uc=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Oc(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=Pc(i);if(o){var n=Pc(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){return!t||"object"!==kc(t)&&"function"!=typeof t?Rc(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),zc(Rc(n=a.call(this,e)),"handleDoneAppearing",(function(e){delete n.transitioningKeys[e],e!==n.state.currentKey&&n.performLeave(e)})),zc(Rc(n),"performLeave",(function(e){var t,r;n.transitioningKeys[e]=!0,null===(t=n.childRefs[e].current)||void 0===t||t.componentWillLeave(n.handleDoneLeaving.bind(Rc(n),e)),n.state.currentChild&&null!==(r=n.childRefs[n.state.currentKey].current)&&void 0!==r&&r.getNode()||n.enqueueHeightTransition()})),zc(Rc(n),"performHeightTransition",(function(){if(!n.unmounted){var e,t=Rc(n).state,r=t.currentChild?null===(e=n.childRefs[t.currentKey].current)||void 0===e?void 0:e.getNode():null;n.setState({height:r?r.offsetHeight:0,width:n.props.changeWidth?r?r.offsetWidth:0:null})}n.rafHandle=null})),zc(Rc(n),"setChildRef",(function(e,r){if(r){var i=t().createRef();i.current=r,n.childRefs[e]=i}else delete n.childRefs[e]})),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,c=null===(l=this.childRefs[o].current)||void 0===l?void 0:l.getNode();s.height=c?c.offsetHeight:0,s.width=this.props.changeWidth?c?c.offsetWidth:0:null,s.prevChildren=Dc(Dc({},a),{},zc({},o,r)),this.transitioningKeys[o]||this.keysToLeave.push(o)}this.setState(s)}},{key:"componentDidUpdate",value:function(){var e;this.shouldEnterCurrent&&(this.shouldEnterCurrent=!1,null!==(e=this.childRefs[this.state.currentKey].current)&&void 0!==e&&e.getNode()&&this.performEnter(this.state.currentKey));var t=this.keysToLeave;this.keysToLeave=[],t.forEach(this.performLeave)}},{key:"performAppear",value:function(e){var t;this.transitioningKeys[e]=!0,null===(t=this.childRefs[e].current)||void 0===t||t.componentWillAppear(this.handleDoneAppearing.bind(this,e))}},{key:"performEnter",value:function(e){var t;this.transitioningKeys[e]=!0,null===(t=this.childRefs[e].current)||void 0===t||t.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){var t;delete this.transitioningKeys[e];var n={prevChildren:Dc({},this.state.prevChildren)};delete n.prevChildren[e],delete this.childRefs[e],this.state.currentChild&&null!==(t=this.childRefs[this.state.currentKey].current)&&void 0!==t&&t.getNode()||(n.height=null),this.setState(n)}},{key:"enqueueHeightTransition",value:function(){this.rafHandle||(this.rafHandle=nc(this.performHeightTransition))}},{key:"wrapChild",value:function(e,n){var r=this.props.transitionName;return"object"===kc(r)&&null!==r&&delete(r=Dc({},r)).height,t().createElement(Sc,Dc({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,m=(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"])),g=this.shouldEnterCurrent||this.keysToLeave.length||Object.keys(this.transitioningKeys).length;if(m.style=Dc({},m.style),g&&(m.style.position="relative",u&&(m.style.overflow="hidden")),null!==a){var y="string"==typeof d?"".concat(d,"-height"):d&&d.height||"";m.className="".concat(m.className||""," ").concat(y),m.style.height=a}null!==s&&(m.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.setChildRef(n,t)}})))})),i&&l.push(t().createElement(p,{key:r,style:this.transitioningKeys[r]?v:g?{position:"relative"}:null},this.wrapChild(i,{ref:function(t){return e.setChildRef(r,t)}}))),t().createElement(f,m,l)}}],r&&Lc(n.prototype,r),s}(t().Component);zc(Uc,"displayName","ReactCSSTransitionReplace"),zc(Uc,"propTypes",{transitionName:yc.isRequired,transitionAppear:zl().bool,transitionEnter:zl().bool,transitionLeave:zl().bool,transitionAppearTimeout:gc("Appear"),transitionEnterTimeout:gc("Enter"),transitionLeaveTimeout:gc("Leave"),overflowHidden:zl().bool,changeWidth:zl().bool,notifyLeaving:zl().bool}),zc(Uc,"defaultProps",{transitionAppear:!1,transitionEnter:!0,transitionLeave:!0,overflowHidden:!0,changeWidth:!1,notifyLeaving:!1,component:"div",childComponent:"span"});const Bc=({error:e,children:n})=>{const{t:r}=ti();return t().createElement(Uc,{transitionName:"e-crossfade",transitionEnterTimeout:500,transitionLeaveTimeout:500},null!=e?t().createElement("div",{className:"e-color-error",role:"alert"},t().createElement(Jl,{icon:wo,className:"e-mrg-r-1"}),r(`audio-errors.${e}`)):t().createElement("div",{key:"no-error"},n))};var Gc=o(758);const Zc=e=>(0,Gc.action)("PLAY_AUDIO",e),Fc=e=>(0,Gc.action)("PLAY_AUDIO_STARTED",e),Hc=()=>(0,Gc.action)("PLAY_AUDIO_FINISHED"),_c=(e,t)=>(0,Gc.action)("SHOW_AUDIO_ERROR",{audio:e,error:t}),Yc=e=>(0,Gc.action)("HIDE_AUDIO_ERROR",e),qc=e=>(0,Gc.action)("UPDATE_REMAINING",e),Vc=t().memo((function({src:n,restrictedAudioId:r,duration:i,times:o,labelId:a}){const s=Vi(ao(n,r)),l=Vi(((e,t)=>n=>"playing"===ao(e,t)(n)?n.audio.nowPlaying.durationRemaining:void 0)(n,r)),c=Vi(co(r,o)),{i18n:u}=ti(),d=oo(),f="playing"===s,p="stopped"===s,h=!p||0===c,m=`audio-remaining-${r}`,g=f?[]:[m,a],{abitti2:y}=(0,e.useContext)(Ci),v=(0,e.useRef)(null);return t().createElement("div",{className:Ri()("restricted-audio-player e-column e-column--narrow e-columns e-columns--inline e-columns--center-v e-pad-1",{"restricted-audio-player--disabled":h}),lang:u.language},y&&t().createElement("audio",{ref:v,preload:"none"},t().createElement("source",null)),t().createElement("button",{className:Ri()("restricted-audio-player__play e-column e-column--narrow",{"restricted-audio-player__play--playing":f}),disabled:h,onClick:()=>p&&d(Zc({src:n,restrictedAudioId:r,duration:i,audioRef:v})),"aria-labelledby":g.join(" ")},!f&&t().createElement(Jl,{icon:bo,fixedWidth:!0})),t().createElement("span",{className:"restricted-audio-player__duration e-column e-text-right",id:m},function(e){const t=e%60;return`${Wc(Math.floor(e/60))}:${Wc(t)}`}(null!=l?l:i)))}));function Wc(e){return e.toString().padStart(2,"0")}const Qc=t().memo((function({element:n,className:r,renderChildNodes:i}){const o=n.getAttribute("src"),a=Mn(n,"restricted-audio-id"),s=Mn(n,"times"),l=Mn(n,"duration"),{t:c}=ti(),u=null!=s&&null!=a?Vi(so(o,a)):void 0,d=null!=s&&null!=a?Vi(co(a,s)):void 0,{resolveAttachment:f}=(0,e.useContext)(Ci),p=vi(n);return t().createElement("div",{className:Ri()("audio e-columns e-columns--center-v e-mrg-b-2",r)},null!=a&&null!=s?t().createElement(Vc,{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(Bc,{error:u},i(n)),null!=d&&t().createElement("em",null,c("listen-times-remaining",{count:d}))))})),Jc=On({attachment:ji((function({element:n}){const{displayNumber:r}=(0,e.useContext)(ki);return t().createElement("li",{"data-list-number":r,"aria-label":r},Jc(n,1))})),"attachment-title":function({element:n}){const{attachmentsURL:r}=(0,e.useContext)(Ci),{displayNumber:i}=(0,e.useContext)(ki);return t().createElement("a",{href:wi(r,{hash:i}),className:"exam-attachment-title",target:"attachments"},Jc(n))}}),Xc=t().memo((function({element:e,showTitle:n=!0,forceRender:r=!1}){if(null==wn(e,"question")&&!r)return null;const{t:i}=ti(),o=pi(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},Jc(e)))})),Kc=t().memo((function({element:n,className:r,renderChildNodes:i}){const o=n.getAttribute("src"),a=n.hasChildNodes(),{resolveAttachment:s}=(0,e.useContext)(Ci);return t().createElement("a",{className:Ri()("file e-nowrap",r),href:s(o),download:!0},a?t().createElement(t().Fragment,null,i(n)," (",o,")"):o)})),$c=t().memo((function({element:e,className:n}){const r=Tn(e,"svg"),i=Tn(e,"assistive-title"),o="display"===Tn(e,"mode");return t().createElement(t().Fragment,null,t().createElement("span",{className:Ri()("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))})),eu=({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:Ri()("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 tu(e){return"string"==typeof e&&0===e.trim().length}const nu=t().memo((function({element:n,className:r,renderChildNodes:i}){const{resolveAttachment:o}=(0,e.useContext)(Ci),{t:a}=ti(),s=Tn(n,"src"),l=Mn(n,"width"),c=Mn(n,"height"),u=An(n,"image-title"),d=u&&i(u),f=null!=d&&!d.every(tu),p=f?d:void 0,h=f?gi(n):void 0,m=o(s),g=t().createElement("img",{className:"e-image",src:m,alt:"","aria-labelledby":h});return t().createElement(t().Fragment,null,t().createElement(eu,{className:r,width:l,height:c,caption:p,captionId:h,bordered:f||null!=wn(n,"choice-answer")},null!=wn(n,["choice-answer","hint"])?g:t().createElement("a",{title:a.raw("zoom-in"),href:m,target:"original-picture",className:"e-zoomable","aria-hidden":!f,tabIndex:-1},g)))})),ru=function({element:e,renderChildNodes:n}){const r=n(e);return 0===r.length?null:t().createElement(t().Fragment,null,r)};function iu({element:e,renderChildNodes:n}){return t().createElement("em",null,n(e))}function ou({element:e,renderChildNodes:n}){return t().createElement("i",null,n(e))}function au({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)(Ci);return t().createElement(t().Fragment,null,i.format(n))}}const su=t().memo((function({element:e,renderChildNodes:n}){const{t:r}=ti();function i(r,i){const o=An(e,r);if(o){const e=o.localName,r=t().createElement(i,{element:o,renderChildNodes:n,key:e});if(r)return Cn(o,"hidden")?t().createElement("del",{key:e},r):r}}function o(i,o,a){const s=An(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:Ri()("e-break-word",{"e-line-through":Cn(e,"hidden")})},r("references.source"),yn,(". ",(a=[i("author",ru),i("title",iu),i("publisher",ru),i("publication",ru),i("howpublished",ru),i("url",ou),o("publication-date","references.date",au),o("reference-date","references.reference-date",au),o("translator","references.translator",ru),o("modified-by","references.modified-by",ru),i("note",ru)]).filter(Boolean).reduce(((e,t,n)=>(e.push(t),n!==a.length-1&&e.push(". "),e)),[])));var a})),lu=t().memo((function({element:n,renderChildNodes:r,className:i}){const{resolveAttachment:o}=(0,e.useContext)(Ci),a=Tn(n,"src"),s=Mn(n,"width"),l=Mn(n,"height"),c=An(n,"video-title"),u=c&&r(c),d=null!=u&&!u.every(tu),f=d?u:void 0,p=d?yi(n):void 0;return t().createElement(eu,{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 cu=/\s/;const uu=function(e){for(var t=e.length;t--&&cu.test(e.charAt(t)););return t};var du=/^\s+/;var fu=/^[-+]0x[0-9a-f]+$/i,pu=/^0b[01]+$/i,hu=/^0o[0-7]+$/i,mu=parseInt;const gu=function(e){if("number"==typeof e)return e;if(jt(e))return NaN;if(z(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=z(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;var n;e=(n=e)?n.slice(0,uu(n)+1).replace(du,""):n;var r=pu.test(e);return r||hu.test(e)?mu(e.slice(2),r?2:8):fu.test(e)?NaN:+e};const yu=function(e){var t=function(e){return e?1/0===(e=gu(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 vu=4294967295,bu=Math.min;function Iu({opacity:e,setOpacity:n,element:r,renderChildNodes:i}){const o=An(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(Jl,{icon:po,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(Jl,{icon:go,className:"e-mrg-l-1 e-pointer",onClick:()=>n(1)}))}function xu({element:n,absolute:r,opacity:i}){const o=n.getAttribute("src"),a=Mn(n,"width"),s=Mn(n,"height"),l=(0,e.useContext)(Ci).resolveAttachment(o);return t().createElement("div",{className:Ri()("e-columns e-columns--center-h",{"e-image-overlay__image-absolute":r}),style:{opacity:i}},t().createElement(eu,{width:a,height:s},t().createElement("img",{className:"e-image",src:l})))}const wu=t().memo((function({element:n,renderChildNodes:r}){const[i,o]=(0,e.useState)((()=>function(e,t){if((e=yu(e))<1||e>9007199254740991)return[];var n=vu,r=bu(e,vu);t=hn(t),e-=vu;for(var i=Ne(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,Nn(n,((e,n)=>t().createElement(Iu,{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"},Nn(n,((e,n)=>t().createElement(xu,{key:n,element:e,renderChildNodes:r,opacity:i[n],absolute:n>0}))))))})),Au=t().createContext({}),Tu=Mi(Au,(({element:e})=>{const t=xn(e,"question",!1),n=t.length?[]:xn(e,["text-answer","scored-text-answer","dropdown-answer","choice-answer"],!1),r=xn(e,"question-instruction",!1),i=e.getAttribute("display-number"),o=r.length>0?r.map(di).join(" "):ui(i);return{answers:n,displayNumber:i,hasExternalMaterial:null!=An(e,"external-material"),maxAnswers:Mn(e,"max-answers"),maxScore:Mn(e,"max-score"),level:vn(e,"question").length,childQuestions:t,questionLabelIds:o}}));function Mu({element:n}){const r=n.getAttribute("suffix"),{displayNumber:i}=(0,e.useContext)(Au);return t().createElement(t().Fragment,null,Ar(i.split(".")),".",r)}const Cu=t().memo((function({element:e}){const{t:n}=ti(),r=e.getAttribute("key");return t().createElement(t().Fragment,null,n(r))})),Nu=On({"attachment-link":Ei("link"),"attachment-links":Si("link"),"attachment-title":Li,attachment:Di,audio:Qc,"audio-title":ru,file:Kc,image:nu,video:lu,formula:$c,"question-number":Mu,translation:Cu,reference:function(e,n,r){const i=n=>t().createElement("div",{...r},t().createElement(e,{...n}));return i.displayName=`Surround(${Ti(e)})`,i}(su,0,{className:"e-mrg-y-2 e-font-size-s"}),"image-overlay":wu}),Eu=t().memo((function({element:e,forceRender:n=!1}){if(null==wn(e,"question")&&!n)return null;const r=e.children.length;return t().createElement(t().Fragment,null,r>1&&t().createElement(Xc,{element:e,renderChildNodes:Nu,showTitle:!1,forceRender:n}),Nu(e))})),Su=e=>{const n=Ri()("e-section e-bg-color-off-white e-pad-6",e.className);return t().createElement("section",{...e,className:n},e.children)},ku=t().memo(Tu((function({element:n,renderChildNodes:r}){const{displayNumber:i,hasExternalMaterial:o,level:a}=(0,e.useContext)(Au);return function(e,t,n){return t&&(0===n||vn(e).every((e=>"question"!==e.localName||!An(e,"external-material"))))}(n,o,a)?t().createElement(Su,{id:i,"aria-labelledby":ui(i)},r(n,1)):t().createElement(t().Fragment,null,r(n,1))})));function ju(e){return e.includes(".")?e:`${e}.`}const Du=t().memo((function({element:n,renderChildNodes:r}){const{displayNumber:i,hasExternalMaterial:o}=(0,e.useContext)(Au);return o?t().createElement("h2",{id:ui(i)},ju(i)," ",r(n)):null})),Lu=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})})),Ou=t().createContext({}),Ru=Mi(Ou,(e=>{const{casCountdownDuration:t,examServerApi:n}=e;return{casCountdownDuration:t||60,examServerApi:n}})),Pu=t().memo((function({element:e,renderChildNodes:n}){return t().createElement(t().Fragment,null,n(e,1))})),zu=t().createContext({}),Uu=Mi(zu,(({element:e})=>({casForbidden:Cn(e,"cas-forbidden"),displayNumber:e.getAttribute("display-number"),maxAnswers:Mn(e,"max-answers"),minAnswers:Mn(e,"min-answers"),maxScore:Mn(e,"max-score"),childQuestions:Nn(e,(e=>e)).filter((e=>"question"===e.localName))})));var Bu=o(4651),Gu=o.n(Bu),Zu=o(7521),Fu=o.n(Zu);const Hu={allowedTags:["img","br"],allowedAttributes:{img:["src","alt"]},allowedSchemes:["data"],exclusiveFilter:e=>"mathEditor"===e.attribs["data-js"]},_u={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 Fu()(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(qu(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=>qu(e))));return t.innerHTML}(Fu()(function(e){return e.replace(new RegExp(document.location.origin,"g"),"")}(e),Object.assign(Object.assign({},Hu),{allowedTags:["div","p","img","br"]}))),Hu)},updateMathImg:void 0,forceInit:!1},Yu='img[src^="/math.svg?latex="]:not(img[src="/math.svg?latex="]), img[src^="data:image/svg+xml"]';function qu(e){return"DIV"===e.nodeName||"P"===e.nodeName}function Vu(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 Wu(e,t){return Ju(e,!e.altKey&&!e.shiftKey&&e.ctrlKey&&Qu(e,t))}function Qu(e,t){return"string"==typeof t?e.key===t:e.keyCode===t}function Ju(e,t){return t&&e.preventDefault(),t}function Xu(e){return e.replace(/^(\n)*/g,"").replace(/(\s)*$/g,"")}function Ku(e){return 0===e.length?null:e[e.length-1]}const $u=[{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:"&iota;",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:"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IjEiIGlkPSJFMS1MQVRJTk1PREVSTk1BSU4tNTQiIGQ9Ik02ODUgNDUyaC0yNWMtMTQgMTYxIC0yOSAxOTQgLTE4MCAxOTRjLTE5IDAgLTQ2IDAgLTU3IC0yYy0xOCAtNCAtMTggLTE4IC0xOCAtMzh2LTUyN2MwIC0zNCAwIC00OCAxMDUgLTQ4aDQwdi0zMWMtNDEgMyAtMTQ0IDMgLTE5MCAzcy0xNDggMCAtMTg5IC0zdjMxaDQwYzEwNSAwIDEwNSAxNCAxMDUgNDh2NTI3YzAgMjMgMCAzNCAtMjEgMzhjLTEwIDIgLTM2IDIgLTU0IDJjLTE1MSAwIC0xNjYgLTMzIC0xODAgLTE5NGgtMjVsMTkgMjI1IGg2MTFaIj48L3BhdGg+CjwvZGVmcz4KPGcgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIGZpbGw9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIwIiB0cmFuc2Zvcm09Im1hdHJpeCgxIDAgMCAtMSAwIDApIiBhcmlhLWhpZGRlbj0idHJ1ZSI+CiA8dXNlIHhsaW5rOmhyZWY9IiNFMS1MQVRJTk1PREVSTk1BSU4tNTQiIHg9IjAiIHk9IjAiPjwvdXNlPgo8L2c+Cjwvc3ZnPg=="}];const td=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>`,nd=e=>e.characters.filter((e=>e.popular)).length,rd="data:image/gif;base64,R0lGODlhEAAQAPQAAP///wAAAPDw8IqKiuDg4EZGRnp6egAAAFhYWCQkJKysrL6+vhQUFJycnAQEBDY2NmhoaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH+GkNyZWF0ZWQgd2l0aCBhamF4bG9hZC5pbmZvACH5BAAKAAAAIf8LTkVUU0NBUEUyLjADAQAAACw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CjxiciAvPgo8Yj5XYXJuaW5nPC9iPjogIG15c3FsX3F1ZXJ5KCkgWzxhIGhyZWY9J2Z1bmN0aW9uLm15c3FsLXF1ZXJ5Jz5mdW5jdGlvbi5teXNxbC1xdWVyeTwvYT5dOiBBIGxpbmsgdG8gdGhlIHNlcnZlciBjb3VsZCBub3QgYmUgZXN0YWJsaXNoZWQgaW4gPGI+L2hvbWUvYWpheGxvYWQvd3d3L2xpYnJhaXJpZXMvY2xhc3MubXlzcWwucGhwPC9iPiBvbiBsaW5lIDxiPjY4PC9iPjxiciAvPgo8YnIgLz4KPGI+V2FybmluZzwvYj46ICBteXNxbF9xdWVyeSgpIFs8YSBocmVmPSdmdW5jdGlvbi5teXNxbC1xdWVyeSc+ZnVuY3Rpb24ubXlzcWwtcXVlcnk8L2E+XTogQ2FuJ3QgY29ubmVjdCB0byBsb2NhbCBNeVNRTCBzZXJ2ZXIgdGhyb3VnaCBzb2NrZXQgJy92YXIvcnVuL215c3FsZC9teXNxbGQuc29jaycgKDIpIGluIDxiPi9ob21lL2FqYXhsb2FkL3d3dy9saWJyYWlyaWVzL2NsYXNzLm15c3FsLnBocDwvYj4gb24gbGluZSA8Yj42ODwvYj48YnIgLz4KPGJyIC8+CjxiPldhcm5pbmc8L2I+OiAgbXlzcWxfcXVlcnkoKSBbPGEgaHJlZj0nZnVuY3Rpb24ubXlzcWwtcXVlcnknPmZ1bmN0aW9uLm15c3FsLXF1ZXJ5PC9hPl06IEEgbGluayB0byB0aGUgc2VydmVyIGNvdWxkIG5vdCBiZSBlc3RhYmxpc2hlZCBpbiA8Yj4vaG9tZS9hamF4bG9hZC93d3cvbGlicmFpcmllcy9jbGFzcy5teXNxbC5waHA8L2I+IG9uIGxpbmUgPGI+Njg8L2I+PGJyIC8+Cg==";function id(e,t,n,r,i=0){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",rd))),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")))),i)}var od=o(5968);if(!od)throw new Error("MathQuill is required but has not been loaded");window.mathEditorState=window.mathEditorState||{firstTime:!0,MQ:void 0};const ad=window.mathEditorState,sd=function(e){const t=e.trim(),n=""===t.replace(/(\\|\s)*/g,"")?"":t;return n+(n.endsWith("\\")?" ":"")};const ld={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"}}},cd=Gu()('<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 ud=window.richTextEditorState,dd=ud.focus,fd=(e,t,n=(()=>{}))=>{const{baseUrl:r,fileTypes:i,sanitize:o,screenshotSaver:a,ignoreSaveObject:s,screenshotImageSelector:l,invalidImageSelector:c,locale:u,updateMathImg:d,forceInit:f}=Object.assign(Object.assign({},_u),t),p=ld[u].editor;if(ud.firstCall||f){ud.firstCall=!1,ud.math=function(e,t,n,r=((e,t)=>{const r=sd(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;ad.firstTime&&(ad.MQ=od.getInterface(2),ad.firstTime=!1);const a=Gu()('\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 m=ad.MQ.MathField(l.get(0),{handlers:{edit:v,enter:()=>{C(!0),setTimeout((()=>A("<br>")),2)}}});function g(e){Gu()(".rich-text-editor-overlay").is(":visible")||(function(e){return Ju(e,!e.altKey&&!e.shiftKey&&e.ctrlKey&&Qu(e,90)||!e.altKey&&!e.shiftKey&&e.metaKey&&Qu(e,90))}(e)?E():function(e){return Ju(e,!e.altKey&&!e.shiftKey&&e.ctrlKey&&Qu(e,89)||!e.altKey&&e.shiftKey&&e.metaKey&&Qu(e,90))}(e)?S():(Wu(e,13)||function(e,t){return Ju(e,!e.altKey&&!e.shiftKey&&!e.ctrlKey&&Qu(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,w()})).on("keydown",g).on("paste",(e=>e.stopPropagation())),s.on("keypress",(function(e){","===e.originalEvent.key&&(e.preventDefault(),Vu(s.get(0),"{,}"),I(e))})).on("input paste",I).on("focus blur",(e=>{t.latexField="blur"!==e.type,w()})).on("keydown",g).on("paste",(e=>e.stopPropagation())),{insertNewEquation:A,insertMath:function(e,n,r){t.latexField?(Vu(s.get(0),n||e),I()):t.equationField&&(r?m.write(e):m.typedText(e),~e.indexOf("\\")&&m.keystroke("Spacebar"),setTimeout((()=>m.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&&Ku(f)!==e&&(0===h&&(p=[]),f.push(e)),Gu()('[data-js="mathUndo"]').prop("disabled",f.length<=1),Gu()('[data-js="mathRedo"]').prop("disabled",0===p.length),0!==h&&0===m.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=m.latex();s.val(e),b(),M(a.prev(),e),x(),y()}),0)}function b(){const e=Gu()(".render-error");e.empty(),k()&&e.text(i.render_error)}function I(e){e&&e.originalEvent&&e.originalEvent.stopPropagation();const t=s.val();M(a.prev(),t),setTimeout((()=>{m.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 w(){clearTimeout(d),d=setTimeout((()=>{a.trigger({type:"mathfocus",hasFocus:t.latexField||t.equationField}),t.latexField||t.equationField||C()}),0)}function A(e=""){window.document.execCommand("insertHTML",!1,`${e}<img data-js="new" alt="" src="" style="display: none"/>`),T(Gu()('[data-js="new"]').removeAttr("data-js"))}function T(e){e.hide(),e.after(a),u=!0,t.equationField=!0,p=[],f=[],N(!0),setTimeout((()=>m.focus()),0),s.val(e.prop("alt")),setTimeout((()=>{k()&&s.focus()}),2),I(),function(e){const t=Gu()(window),n=t.height()-40,r=n+t.scrollTop(),i=e.offset().top+e.height();r<i&&t.scrollTop(i-n)}(a)}function M(e,t){clearTimeout(o),o=setTimeout((()=>{r(e,t)}),500)}function C(n=!1){const i=a.closest('[data-js="answer"]'),o=a.prev();""===sd(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){Gu()("body").toggleClass("math-editor-focus",e)}function E(){1!==f.length&&(h=-1,p.push(f.pop()),m.latex(Ku(f)),M(a.prev(),m.latex()),s.val(Ku(f)),y(),x(),b())}function S(){0!==p.length&&(h=1,m.latex(Ku(p)),s.val(p.pop()),M(a.prev(),m.latex()),y(),x(),b())}function k(){return 0===m.latex().length&&s.val().length>0}}(cd,dd,r,d,p);const e=function(e,t,n){let r;const i=Gu()(`<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(),Gu()("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(),Gu()("body").removeClass("rich-text-editor-overlay-open"),i.addClass("rich-text-editor-hidden"),r.focus())})),o=Gu()(`\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,Gu()("body").addClass("rich-text-editor-overlay-open"),i.removeClass("rich-text-editor-hidden"),i.find('[data-js="overlayModal"]').focus(),Gu()(window).on("keydown.help",(e=>{27===e.keyCode&&(e.stopPropagation(),e.preventDefault(),Gu()("body").removeClass("rich-text-editor-overlay-open"),i.addClass("rich-text-editor-hidden"),Gu()(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($u.map((e=>`<div class="rich-text-editor-toolbar-characters-group"\n style="width: ${35*nd(e)}px">\n ${e.characters.map(td).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(ed.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),Gu().fn.i18n?o.i18n():Gu().fn.localize&&o.localize(),{toolbar:o,helpOverlay:i}}(ud.math,(()=>dd.richText),p);ud.$toolbar=e.toolbar;const t=e.helpOverlay;f&&(Gu()(".rich-text-editor-overlay").remove(),Gu()(".rich-text-editor-tools").remove(),Gu()(".rich-text-editor-hidden").remove()),Gu()("body").append(cd,ud.$toolbar,t)}let h=!1;Gu()(e).attr({contenteditable:!0,spellcheck:!1,"data-js":"answer"}).addClass("rich-text-editor").on("click",Yu,(e=>{1===e.which&&(hd(Gu()(e.target).closest('[data-js="answer"]')),ud.math.openMathEditor(Gu()(e.target)))})).on("keydown",(e=>{!Wu(e,69)||dd.equationField||dd.latexField||(e.preventDefault(),ud.math.insertNewEquation())})).on("mathfocus",(e=>{Gu()(e.currentTarget).toggleClass("rich-text-focused",e.hasFocus),vd()&&md(ud.$currentEditor)})).on("focus blur",(e=>{"focus"===e.type&&ud.math.closeMathEditor(),function(e){dd.richText="focus"===e.type,Gu()(e.currentTarget).toggleClass("rich-text-focused",dd.richText),clearTimeout(yd),yd=setTimeout((()=>{!Gu()("body").hasClass("rich-text-editor-overlay-open")&&vd()?md(Gu()(e.target)):hd(Gu()(e.target))}),0)}(e)})).on("input",(e=>{h||n(s||function(e,t,n){const r=Gu()(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 console.log("dsa",a,r.html(),s),{answerHTML:a.trim().length+r.find(Yu).length+r.find(t).length===0?"":(l=s,l.replace(/^(\n|<br ?\/?>)*/g,"").replace(/(\s|<br ?\/?>)*$/g,"")),answerText:Xu(a),imageCount:Gu()(`<div>${s}</div>`).find(t).length};var l}(e.currentTarget,l,o))})).on("drop",(e=>{h=!0,setTimeout((()=>{Gu()(e.currentTarget).html(o(e.currentTarget.innerHTML)),id(Gu()(e.currentTarget),a,c,i),h=!1}),100)})).on("paste",(e=>{h=!0,setTimeout((()=>h=!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)),id(t,r,i,o)}(e,Gu()(e.currentTarget),a,t,n,r,i):function(e,t,n,r){id(e,t,n,r,100)}(Gu()(e.currentTarget),t,n,r)}}(e,a,c,i,o)})),setTimeout((()=>document.execCommand("enableObjectResizing",!1,!1)),0)};function pd(e,t){Gu()("body").toggleClass("rich-text-editor-focus",e),t.toggleClass("rich-text-focused",e)}function hd(e){ud.$currentEditor=e,gd(),pd(!0,ud.$currentEditor)}function md(e){pd(!1,e),gd(),dd.richText=!1}function gd(){const e="rich-text-editor-tools--animating";ud.$toolbar.addClass(e).one("transitionend transitioncancel",(()=>ud.$toolbar.removeClass(e)))}let yd;function vd(){return!dd.richText&&!dd.latexField&&!dd.equationField}function bd(){const n=t().createRef(),r=t().createRef(),{newAnnotation:i,setNewAnnotation:o,newAnnotationRef:a,onSaveAnnotation:s}=(0,e.useContext)(b),[l,c]=(0,e.useState)(""),[u,d]=(0,e.useState)(!1);if((0,e.useEffect)((()=>{a&&r.current&&(function(e,t){const n=t.current;if(e&&n){const t=n.style,r=null==e?void 0:e.getBoundingClientRect(),i=n.getBoundingClientRect(),o=r.height+r.top+window.scrollY,a=window.innerWidth;t.top=`${String(o)}px`,t.opacity="1";const s=r.left+i.width>a;t.left=s?r.right-i.width+"px":`${r.left}px`}}(a,n),r.current.innerHTML=l,fd(r.current,{locale:"FI",screenshotSaver:()=>Promise.resolve("")},(e=>{c(e.answerHTML),d(e.answerHTML.trim().length>0)})),r.current.focus())}),[a]),!i)return null;const f=()=>o(null);return t().createElement("div",{className:"annotation-popup",style:{position:"absolute",opacity:0},ref:n,"data-testid":"annotation-popup"},t().createElement("div",{className:"comment-content","data-testid":"edit-comment",role:"textbox","aria-multiline":"true",ref:r}),t().createElement("span",{className:"comment-button-area"},t().createElement("span",null,t().createElement("button",{className:"button",onClick:e=>{e.stopPropagation(),function(e,t){s({...e,message:t,annotationId:e.annotationId}),f()}(i,l)},"data-testid":"save-comment",disabled:!u},"Vastaa"),t().createElement("button",{className:"button text-button",onClick:f},"Peru"))))}const Id=On({"audio-group":Pu,"external-material":Eu,"question-title":Du,question:ku,section:Uu(ru)}),xd=()=>{const{t:e}=ti();return t().createElement(t().Fragment,null,e("attachments-page-title"))},wd=t().memo(Ru(Ni((({annotations:n,onClickAnnotation:r,onSaveAnnotation:i})=>{const{root:o,language:a,date:s,dateTimeFormatter:l,dayCode:c,examCode:u,resolveAttachment:d,subjectLanguage:f}=(0,e.useContext)(Ci),p=An(o,"exam-title"),h=o.getAttribute("exam-stylesheet"),m=An(o,"external-material"),g=xi((()=>ei(a,u,c)));return(0,e.useEffect)(ni(g,a)),(0,e.useEffect)(Ii,[]),t().createElement(I,{annotations:n,onClickAnnotation:r,onSaveAnnotation:i},t().createElement(v,{i18n:g},t().createElement("main",{className:"e-exam attachments",lang:f,"aria-labelledby":si},t().createElement(bd,null),t().createElement(t().StrictMode,null),h&&t().createElement("link",{rel:"stylesheet",href:d(h)}),t().createElement(Su,{"aria-labelledby":si},p&&t().createElement(Lu,{id:si},t().createElement(xd,null),yn,Id(p)),t().createElement("div",{className:"e-semibold e-mrg-b-6"},l.format(s)),m&&t().createElement(Eu,{element:m,renderChildNodes:Id,forceRender:!0})),Id(o))))}))));function Ad(e){const t=e.documentElement;return Nd(t,xn(t,"section",!1).map(Td),{maxAnswers:Mn(t,"max-answers")})}function Td(e){return Nd(e,xn(e,"question",!1).map(Md),{displayNumber:Tn(e,"display-number"),minAnswers:Mn(e,"min-answers"),maxAnswers:Mn(e,"max-answers")})}function Md(e){const t=xn(e,"question",!1);return Nd(e,t.length?t.map(Md):xn(e,["text-answer","scored-text-answer","choice-answer","dropdown-answer"],!1).map(Cd),{displayNumber:Tn(e,"display-number"),maxAnswers:Mn(e,"max-answers")})}function Cd(e){return Nd(e,[],{displayNumber:Tn(e,"display-number"),questionId:Mn(e,"question-id"),maxLength:Mn(e,"max-length")})}function Nd(e,t,n){return{name:e.localName,attributes:n,childNodes:t}}const Ed=function(e,t){var n=-1,r=nt(e)?Array(e.length):[];return pn(e,(function(e,i,o){r[++n]=t(e,i,o)})),r},Sd=function(e,t){return(Ie(e)?Ht:Ed)(e,nn(t))},kd=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},jd=function(e,t,n,r){return pn(e,(function(e,i,o){t(r,e,n(e),o)})),r};var Dd,Ld=(Dd=function(e,t,n){Nr(e,n,t)},function(e,t){var n={};return(Ie(e)?kd:jd)(e,Dd,nn(t),n)});const Od=Ld;function Rd(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 Pd=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")(),zd=()=>Math.random().toString(36).substring(7).split("").join("."),Ud={INIT:`@@redux/INIT${zd()}`,REPLACE:`@@redux/REPLACE${zd()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${zd()}`};function Bd(e,t,n){if("function"!=typeof e)throw new Error(Rd(2));if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(Rd(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(Rd(1));return n(Bd)(e,t)}let r=e,i=t,o=new Map,a=o,s=0,l=!1;function c(){a===o&&(a=new Map,o.forEach(((e,t)=>{a.set(t,e)})))}function u(){if(l)throw new Error(Rd(3));return i}function d(e){if("function"!=typeof e)throw new Error(Rd(4));if(l)throw new Error(Rd(5));let t=!0;c();const n=s++;return a.set(n,e),function(){if(t){if(l)throw new Error(Rd(6));t=!1,c(),a.delete(n),o=null}}}function f(e){if(!function(e){if("object"!=typeof e||null===e)return!1;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}(e))throw new Error(Rd(7));if(void 0===e.type)throw new Error(Rd(8));if("string"!=typeof e.type)throw new Error(Rd(17));if(l)throw new Error(Rd(9));try{l=!0,i=r(i,e)}finally{l=!1}return(o=a).forEach((e=>{e()})),e}return f({type:Ud.INIT}),{dispatch:f,subscribe:d,getState:u,replaceReducer:function(e){if("function"!=typeof e)throw new Error(Rd(10));r=e,f({type:Ud.REPLACE})},[Pd]:function(){const e=d;return{subscribe(t){if("object"!=typeof t||null===t)throw new Error(Rd(11));function n(){const e=t;e.next&&e.next(u())}return n(),{unsubscribe:e(n)}},[Pd](){return this}}}}}function Gd(...e){return 0===e.length?e=>e:1===e.length?e[0]:e.reduce(((e,t)=>(...n)=>e(t(...n))))}var Zd=function(e){return"@@redux-saga/"+e},Fd=Zd("CANCEL_PROMISE"),Hd=Zd("CHANNEL_END"),_d=Zd("IO"),Yd=Zd("MATCH"),qd=Zd("MULTICAST"),Vd=Zd("SAGA_ACTION"),Wd=Zd("SELF_CANCELLATION"),Qd=Zd("TASK"),Jd=Zd("TASK_CANCEL"),Xd=Zd("TERMINATE"),Kd=Zd("LOCATION");function $d(){return $d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$d.apply(null,arguments)}function ef(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}var tf=function(e){return null==e},nf=function(e){return null!=e},rf=function(e){return"function"==typeof e},of=function(e){return"string"==typeof e},af=Array.isArray,sf=function(e){return e&&rf(e.then)},lf=function(e){return e&&rf(e.next)&&rf(e.throw)},cf=function e(t){return t&&(of(t)||ff(t)||rf(t)||af(t)&&t.every(e))},uf=function(e){return e&&rf(e.take)&&rf(e.close)},df=function(e){return rf(e)&&e.hasOwnProperty("toString")},ff=function(e){return Boolean(e)&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype},pf=function(e){return uf(e)&&e[qd]};const hf=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[Fd]=function(){clearTimeout(n)},r};var mf=function(e){return function(){return true}}(),gf=function(){},yf=function(e){return e};"function"==typeof Symbol&&Symbol.asyncIterator&&Symbol.asyncIterator;var vf=function(e,t){$d(e,t),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach((function(n){e[n]=t[n]}))};function bf(e,t){var n=e.indexOf(t);n>=0&&e.splice(n,1)}function If(e){var t=!1;return function(){t||(t=!0,e())}}var xf=function(e){throw e},wf=function(e){return{value:e,done:!0}};function Af(e,t,n){void 0===t&&(t=xf),void 0===n&&(n="iterator");var r={meta:{name:n},next:e,throw:t,return:wf,isSagaIterator:!0};return"undefined"!=typeof Symbol&&(r[Symbol.iterator]=function(){return r}),r}function Tf(e,t){var n=t.sagaStack;console.error(e),console.error(n)}var Mf=function(e){return Array.apply(null,new Array(e))},Cf=function(e){return function(t){return e(Object.defineProperty(t,Vd,{value:!0}))}},Nf=function(e){return e===Xd},Ef=function(e){return e===Jd},Sf=function(e){return Nf(e)||Ef(e)};function kf(e,t){var n,r=Object.keys(e),i=r.length,o=0,a=af(e)?Mf(i):{},s={};return r.forEach((function(e){var r=function(r,s){n||(s||Sf(r)?(t.cancel(),t(r,s)):(a[e]=r,++o===i&&(n=!0,t(a))))};r.cancel=gf,s[e]=r})),t.cancel=function(){n||(n=!0,r.forEach((function(e){return s[e].cancel()})))},s}function jf(e){return{name:e.name||"anonymous",location:Df(e)}}function Df(e){return e[Kd]}function Lf(){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 Of={isEmpty:mf,put:gf,take:gf};var Rf=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 4: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,4)},Pf="TAKE",zf="PUT",Uf="RACE",Bf="CALL",Gf="FORK",Zf="CANCEL",Ff="SELECT",Hf="CANCELLED",_f=function(e,t){var n;return(n={})[_d]=!0,n.combinator=!1,n.type=e,n.payload=t,n};function Yf(e,t){return void 0===e&&(e="*"),cf(e)?(nf(t)&&console.warn("take(pattern) takes one argument but two were provided. Consider passing an array for listening to several action types"),_f(Pf,{pattern:e})):pf(e)&&nf(t)&&cf(t)?_f(Pf,{channel:e,pattern:t}):uf(e)?(nf(t)&&console.warn("take(channel) takes one argument but two were provided. Second argument is ignored."),_f(Pf,{channel:e})):void 0}function qf(e,t){return tf(t)&&(t=e,e=void 0),_f(zf,{channel:e,action:t})}function Vf(e,t){var n,r=null;return rf(e)?n=e:(af(e)?(r=e[0],n=e[1]):(r=e.context,n=e.fn),r&&of(n)&&rf(r[n])&&(n=r[n])),{context:r,fn:n,args:t}}function Wf(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 _f(Bf,Vf(e,n))}function Qf(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 _f(Gf,Vf(e,n))}function Jf(e){return void 0===e&&(e=Wd),_f(Zf,e)}var Xf=Wf.bind(null,hf);const Kf=function(){var e={};return e.promise=new Promise((function(t,n){e.resolve=t,e.reject=n})),e};var $f=[],ep=0;function tp(e){try{ip(),e()}finally{op()}}function np(e){$f.push(e),ep||(ip(),ap())}function rp(e){try{return ip(),e()}finally{ap()}}function ip(){ep++}function op(){ep--}function ap(){var e;for(op();!ep&&void 0!==(e=$f.shift());)tp(e)}var sp=function(e){return function(t){return e.some((function(e){return fp(e)(t)}))}},lp=function(e){return function(t){return e(t)}},cp=function(e){return function(t){return t.type===String(e)}},up=function(e){return function(t){return t.type===e}},dp=function(){return mf};function fp(e){var t="*"===e?dp:of(e)?cp:af(e)?sp:df(e)?cp:rf(e)?lp:ff(e)?up:null;if(null===t)throw new Error("invalid pattern: "+e);return t(e)}var pp={type:Hd},hp=function(e){return e&&e.type===Hd};function mp(e){void 0===e&&(e=Rf());var t=!1,n=[];return{take:function(r){t&&e.isEmpty()?r(pp):e.isEmpty()?(n.push(r),r.cancel=function(){bf(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(pp):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])(pp)}}}}function gp(){var e=function(){var e,t=!1,n=[],r=n,i=function(){r===n&&(r=n.slice())},o=function(){t=!0;var e=n=r;r=[],e.forEach((function(e){e(pp)}))};return(e={})[qd]=!0,e.put=function(e){if(!t)if(hp(e))o();else for(var i=n=r,a=0,s=i.length;a<s;a++){var l=i[a];l[Yd](e)&&(l.cancel(),l(e))}},e.take=function(e,n){void 0===n&&(n=dp),t?e(pp):(e[Yd]=n,i(),r.push(e),e.cancel=If((function(){i(),bf(r,e)})))},e.close=o,e}(),t=e.put;return e.put=function(e){e[Vd]?t(e):np((function(){t(e)}))},e}var yp=0,vp=1,bp=2,Ip=3;function xp(e,t){var n=e[Fd];rf(n)&&(t.cancel=n),e.then(t,(function(e){t(e,!0)}))}var wp,Ap=0,Tp=function(){return++Ap};function Mp(e){e.isRunning()&&e.cancel()}var Cp=((wp={})[Pf]=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):!hp(e)||a?n(e):n(Xd)};try{i.take(s,nf(o)?fp(o):null)}catch(e){return void n(e,!0)}n.cancel=s.cancel},wp[zf]=function(e,t,n){var r=t.channel,i=t.action,o=t.resolve;np((function(){var t;try{t=(r?r.put:e.dispatch)(i)}catch(e){return void n(e,!0)}o&&sf(t)?xp(t,n):n(t)}))},wp.ALL=function(e,t,n,r){var i=r.digestEffect,o=Ap,a=Object.keys(t);if(0!==a.length){var s=kf(t,n);a.forEach((function(e){i(t[e],o,s[e],e)}))}else n(af(t)?[]:{})},wp[Uf]=function(e,t,n,r){var i=r.digestEffect,o=Ap,a=Object.keys(t),s=af(t)?Mf(a.length):{},l={},c=!1;a.forEach((function(e){var t=function(t,r){c||(r||Sf(t)?(n.cancel(),n(t,r)):(n.cancel(),c=!0,s[e]=t,n(s)))};t.cancel=gf,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)}))},wp[Bf]=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(sf(l))return void xp(l,n);if(lf(l))return void Pp(e,l,s.context,Ap,jf(o),!1,n);n(l)}catch(e){n(e,!0)}},wp.CPS=function(e,t,n){var r=t.context,i=t.fn,o=t.args;try{var a=function(e,t){tf(e)?n(t):n(e,!0)};i.apply(r,o.concat(a)),a.cancel&&(n.cancel=a.cancel)}catch(e){n(e,!0)}},wp[Gf]=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(lf(i))return i;var o=!1;return Af((function(e){return o?{value:e,done:!0}:(o=!0,{value:i,done:!sf(i)})}))}catch(e){return Af((function(){throw e}))}}({context:i,fn:o,args:a}),u=function(e,t){return e.isSagaIterator?{name:e.meta.name}:jf(t)}(c,o);rp((function(){var t=Pp(e,c,l.context,Ap,u,s,void 0);s?n(t):t.isRunning()?(l.queue.addTask(t),n(t)):t.isAborted()?l.queue.abort(t.error()):n(t)}))},wp.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()&&bf(e.joiners,n)},e.joiners.push(n)}else e.isAborted()?t(e.error(),!0):t(e.result())};if(af(t)){if(0===t.length)return void n([]);var a=kf(t,n);t.forEach((function(e,t){o(e,a[t])}))}else o(t,n)},wp[Zf]=function(e,t,n,r){var i=r.task;t===Wd?Mp(i):af(t)?t.forEach(Mp):Mp(t),n()},wp[Ff]=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)}},wp.ACTION_CHANNEL=function(e,t,n){var r=t.pattern,i=mp(t.buffer),o=fp(r),a=function t(n){hp(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)},wp[Hf]=function(e,t,n,r){n(r.task.isCancelled())},wp.FLUSH=function(e,t,n){t.flush(n)},wp.GET_CONTEXT=function(e,t,n,r){n(r.task.context[t])},wp.SET_CONTEXT=function(e,t,n,r){var i=r.task;vf(i.context,t),n()},wp);function Np(e,t){return e+"?"+t}function Ep(e){var t=e.name,n=e.location;return n?t+" "+Np(n.fileName,n.lineNumber):t}function Sp(e){var t=function(e,t){var n;return(n=[]).concat.apply(n,t.map((function(e){return e.cancelledTasks})))}(0,e);return t.length?["Tasks cancelled due to error:"].concat(t).join("\n"):""}var kp=null,jp=[],Dp=function(e){e.crashedEffect=kp,jp.push(e)},Lp=function(){kp=null,jp.length=0},Op=function(e){kp=e},Rp=function(){var e,t,n=jp[0],r=jp.slice(1),i=n.crashedEffect?(e=n.crashedEffect,(t=Df(e))?t.code+" "+Np(t.fileName,t.lineNumber):""):null;return["The above error occurred in task "+Ep(n.meta)+(i?" \n when executing effect "+i:"")].concat(r.map((function(e){return" created by "+Ep(e.meta)})),[Sp(jp)]).join("\n")};function Pp(e,t,n,r,i,o,a){var s=e.finalizeRunEffect((function(t,n,r){sf(t)?xp(t,r):lf(t)?Pp(e,t,c.context,n,i,!1,r):t&&t[_d]?(0,Cp[t.type])(e,t.payload,r,u):r(t)}));d.cancel=gf;var l={meta:i,cancel:function(){l.status===yp&&(l.status=vp,d(Jd))},status:yp},c=function(e,t,n,r,i,o,a){var s;void 0===a&&(a=gf);var l,c,u=yp,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||(bf(i,t),t.cont=gf,l?a(s):(t===e&&(r=s),i.length||(o=!0,n(r))))}}function l(){o||(o=!0,i.forEach((function(e){e.cont=gf,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})))}),m);function m(t,n){if(n){if(u=bp,Dp({meta:i,cancelledTasks:f}),g.isRoot){var r=Rp();Lp(),e.onError(t,{sagaStack:r})}c=t,d&&d.reject(t)}else t===Jd?u=vp:u!==vp&&(u=Ip),l=t,d&&d.resolve(t);g.cont(t,n),g.joiners.forEach((function(e){e.cb(t,n)})),g.joiners=null}var g=((s={})[Qd]=!0,s.id=r,s.meta=i,s.isRoot=o,s.context=p,s.joiners=[],s.queue=h,s.cancel=function(){u===yp&&(u=vp,h.cancelAll(),m(Jd,!1))},s.cont=a,s.end=m,s.setContext=function(e){vf(p,e)},s.toPromise=function(){return d||(d=Kf(),u===bp?d.reject(c):u!==yp&&d.resolve(l)),d.promise},s.isRunning=function(){return u===yp},s.isCancelled=function(){return u===vp||u===yp&&t.status===vp},s.isAborted=function(){return u===bp},s.result=function(){return l},s.error=function(){return c},s);return g}(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),Lp()):Ef(e)?(l.status=vp,d.cancel(),i=rf(t.return)?t.return(Jd):{done:!0,value:Jd}):i=Nf(e)?rf(t.return)?t.return():{done:!0}:t.next(e),i.done?(l.status!==vp&&(l.status=Ip),l.cont(i.value)):f(i.value,r,d)}catch(e){if(l.status===vp)throw e;l.status=bp,l.cont(e,!0)}}function f(t,n,r,i){void 0===i&&(i="");var o,a=Tp();function l(n,i){o||(o=!0,r.cancel=gf,e.sagaMonitor&&(i?e.sagaMonitor.effectRejected(a,n):e.sagaMonitor.effectResolved(a,n)),i&&Op(t),r(n,i))}e.sagaMonitor&&e.sagaMonitor.effectTriggered({effectId:a,parentEffectId:n,label:i,effect:t}),l.cancel=gf,r.cancel=function(){o||(o=!0,l.cancel(),l.cancel=gf,e.sagaMonitor&&e.sagaMonitor.effectCancelled(a))},s(t,a,l)}}function zp(e,t){for(var n=e.channel,r=void 0===n?gp():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?Tf:u,f=arguments.length,p=new Array(f>2?f-2:0),h=2;h<f;h++)p[h-2]=arguments[h];var m,g=t.apply(void 0,p),y=Tp();if(l&&(l.rootSagaStarted=l.rootSagaStarted||gf,l.effectTriggered=l.effectTriggered||gf,l.effectResolved=l.effectResolved||gf,l.effectRejected=l.effectRejected||gf,l.effectCancelled=l.effectCancelled||gf,l.actionDispatched=l.actionDispatched||gf,l.rootSagaStarted({effectId:y,saga:t,args:p})),c){var v=Lf.apply(void 0,c);m=function(e){return function(t,n,r){return v((function(t){return e(t,n,r)}))(t)}}}else m=yf;var b={channel:r,dispatch:Cf(i),getState:o,sagaMonitor:l,onError:d,finalizeRunEffect:m};return rp((function(){var e=Pp(b,g,s,y,jf(t),!0,void 0);return l&&l.effectResolved(y,e),e}))}const Up=function(e){var t,n=void 0===e?{}:e,r=n.context,i=void 0===r?{}:r,o=n.channel,a=void 0===o?gp():o,s=n.sagaMonitor,l=ef(n,["context","channel","sagaMonitor"]);function c(e){var n=e.getState,r=e.dispatch;return t=zp.bind(null,$d({},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){vf(i,e)},c};var Bp=function(e){return{done:!0,value:e}},Gp={};function Zp(e){return uf(e)?"channel":df(e)?String(e):rf(e)?e.name:String(e)}function Fp(e,t,n){var r,i,o,a=t;function s(t,n){if(a===Gp)return Bp(t);if(n&&!i)throw a=Gp,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===Gp?Bp(t):o}return Af(s,(function(e){return s(null,e)}),n)}function Hp(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:Yf(e)},s=function(e){return o=e};return Fp({q1:function(){return{nextState:"q2",effect:a,stateUpdater:s}},q2:function(){return{nextState:"q1",effect:(e=o,{done:!1,value:Qf.apply(void 0,[t].concat(r,[e]))})};var e}},"q1","takeEvery("+Zp(e)+", "+t.name+")")}function _p(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:Yf(e)},l=function(e){return{done:!1,value:Qf.apply(void 0,[t].concat(r,[e]))}},c=function(e){return{done:!1,value:Jf(e)}},u=function(e){return o=e},d=function(e){return a=e};return Fp({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("+Zp(e)+", "+t.name+")")}const Yp=function(e,t){return Or(Sd(e,t),1)};function qp(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,elementType:"question"}]:e}return e})(n,r))}([],e)}(e)}function Vp(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=Yp(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 Wp(e,t){return Yp([qp,Vp],(n=>n(e,t)))}const Qp={answersById:{},examStructure:{name:"exam",attributes:{},childNodes:[]},focusedQuestionId:null,supportsAnswerHistory:!1,serverQuestionIds:new Set,savedQuestionIds:new Set,validationErrors:[]};function Jp(e,t){const n=new Set(e);return n.add(t),n}const Xp=e=>(0,Gc.action)("SAVE_ANSWER",e),Kp=e=>(0,Gc.action)("SAVE_ANSWER_SUCCEEDED",e),$p=(e,t)=>(0,Gc.action)("SAVE_ANSWER_FAILED",{answer:e,error:t},void 0,!0),eh=new Map;function*th(e,t){const n=e.payload;try{yield Xf(1e3),yield Wf(t.saveAnswer,n),yield qf(Kp(n))}catch(e){yield qf($p(n,e))}eh.delete(n.questionId)}function*nh(e){for(;;){const t=yield Yf("SAVE_ANSWER"),n=eh.get(t.payload.questionId);n&&(yield Jf(n));const r=yield Qf(th,t,e);eh.set(t.payload.questionId,r)}}function*rh(e){for(;e.selectAnswerVersion;){const t=yield Yf("SELECT_ANSWER_VERSION"),{questionId:n,questionText:r}=t.payload;e.logActivity&&(yield Wf(e.logActivity,`Opened answer version history for question ${n}, ${r}`));try{const t=yield Wf(e.selectAnswerVersion,n,r);t&&(yield qf(Xp(t)),e.logActivity&&(yield Wf(e.logActivity,`Restored answer version for question ${n}, ${r}`)))}catch(e){console.error(e)}}}function*ih(e){yield Qf(nh,e),yield Qf(rh,e)}const oh=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?Nr(n,s,l):Sr(n,s,l)}return n};var ah=Object.prototype.hasOwnProperty;const sh=function(e){if(!z(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=Ke(e),n=[];for(var r in e)("constructor"!=r||!t&&ah.call(e,r))&&n.push(r);return n},lh=function(e){return nt(e)?Je(e,!0):sh(e)};var ch="object"==typeof exports&&exports&&!exports.nodeType&&exports,uh=ch&&"object"==typeof module&&module&&!module.nodeType&&module,dh=uh&&uh.exports===ch?E.Buffer:void 0,fh=dh?dh.allocUnsafe:void 0;const ph=$e(Object.getPrototypeOf,Object),hh=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)be(t,Ce(e)),e=ph(e);return t}:we,mh=function(e){return xe(e,lh,hh)};var gh=Object.prototype.hasOwnProperty;const yh=function(e){var t=new e.constructor(e.byteLength);return new he(t).set(new he(e)),t};var vh=/\w*$/;var bh=S?S.prototype:void 0,Ih=bh?bh.valueOf:void 0;const xh=function(e,t,n){var r=e.constructor;switch(t){case"[object ArrayBuffer]":return yh(e);case"[object Boolean]":case"[object Date]":return new r(+e);case"[object DataView]":return function(e,t){var n=t?yh(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?yh(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,vh.exec(e));return t.lastIndex=e.lastIndex,t}(e);case"[object Symbol]":return function(e){return Ih?Object(Ih.call(e)):{}}(e)}};var wh=Object.create;const Ah=function(){function e(){}return function(t){if(!z(t))return{};if(wh)return wh(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();var Th=qe&&qe.isMap;const Mh=Th?Fe(Th):function(e){return Ee(e)&&"[object Map]"==xt(e)};var Ch=qe&&qe.isSet;const Nh=Ch?Fe(Ch):function(e){return Ee(e)&&"[object Set]"==xt(e)};var Eh="[object Arguments]",Sh="[object Function]",kh="[object Object]",jh={};jh[Eh]=jh["[object Array]"]=jh["[object ArrayBuffer]"]=jh["[object DataView]"]=jh["[object Boolean]"]=jh["[object Date]"]=jh["[object Float32Array]"]=jh["[object Float64Array]"]=jh["[object Int8Array]"]=jh["[object Int16Array]"]=jh["[object Int32Array]"]=jh["[object Map]"]=jh["[object Number]"]=jh[kh]=jh["[object RegExp]"]=jh["[object Set]"]=jh["[object String]"]=jh["[object Symbol]"]=jh["[object Uint8Array]"]=jh["[object Uint8ClampedArray]"]=jh["[object Uint16Array]"]=jh["[object Uint32Array]"]=!0,jh["[object Error]"]=jh[Sh]=jh["[object WeakMap]"]=!1;const Dh=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(!z(t))return t;var d=Ie(t);if(d){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&gh.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=xt(t),p=f==Sh||"[object GeneratorFunction]"==f;if(ze(t))return function(e,t){if(t)return e.slice();var n=e.length,r=fh?fh(n):new e.constructor(n);return e.copy(r),r}(t,l);if(f==kh||f==Eh||p&&!o){if(s=c||p?{}:function(e){return"function"!=typeof e.constructor||Ke(e)?{}:Ah(ph(e))}(t),!l)return c?function(e,t){return oh(e,hh(e),t)}(t,function(e,t){return e&&oh(t,lh(t),e)}(s,t)):function(e,t){return oh(e,Ce(e),t)}(t,function(e,t){return e&&oh(t,rt(t),e)}(s,t))}else{if(!jh[f])return o?t:{};s=xh(t,f,l)}}a||(a=new le);var h=a.get(t);if(h)return h;a.set(t,s),Nh(t)?t.forEach((function(i){s.add(e(i,n,r,i,t,a))})):Mh(t)&&t.forEach((function(i,o){s.set(o,e(i,n,r,o,t,a))}));var m=d?void 0:(u?c?mh:it:c?lh:rt)(t);return cn(m||t,(function(i,o){m&&(i=t[o=i]),Sr(s,o,e(i,n,r,o,t,a))})),s},Lh=function(e,t){return null==(e=function(e,t){return t.length<2?e:Jt(e,rn(t,0,-1))}(e,t=Wt(t,e)))||delete e[Qt(Tr(t))]};var Oh=Function.prototype,Rh=Object.prototype,Ph=Oh.toString,zh=Rh.hasOwnProperty,Uh=Ph.call(Object);const Bh=function(e){return function(e){if(!Ee(e)||"[object Object]"!=P(e))return!1;var t=ph(e);if(null===t)return!0;var n=zh.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Ph.call(n)==Uh}(e)?void 0:e},Gh=Gr((function(e,t){var n={};if(null==e)return n;var r=!1;t=Ht(t,(function(t){return t=Wt(t,e),r||(r=t.length>1),t})),oh(e,mh(e),n),r&&(n=Dh(n,7,Bh));for(var i=t.length;i--;)Lh(n,t[i]);return n})),Zh={errors:{},nowPlaying:null,playbackTimes:{}},Fh=e=>function(t,n){void 0===n&&(n=Of);var r,i=!1,o=mp(n),a=function(){i||(i=!0,rf(r)&&r(),o.close())};return r=If(r=(t=>{const n=setInterval((()=>{--e>0?t(e):(t(pp),clearInterval(n))}),1e3);return()=>clearInterval(n)})((function(e){hp(e)?a():o.put(e)}))),i&&r(),{take:o.take,flush:o.flush,close:a}}();function*Hh(e,t){const n=yield Wf(Fh,e);try{for(;;){const e=yield Yf(n);yield qf(t(e))}}finally{(yield _f(Hf,{}))&&n.close()}}function*_h(e,t){const n=t.payload;try{const t=null!=n.restrictedAudioId?yield function(e){void 0===e&&(e=yf);for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return _f(Ff,{selector:e,args:n})}(lo(n.restrictedAudioId)):void 0,r=n.audioRef&&n.audioRef.current?yield function(e,t,n){return null!=n&&null!=t.restrictedAudioId?async function(e,t,n,r){try{const i=await e.getRestrictedAudio("",t,r),o=n.querySelector("source");return o.src=URL.createObjectURL(i),n.load(),n.play(),{response:"ok",cleanup:()=>{URL.revokeObjectURL(o.src)}}}catch(e){return{response:"other-error",cleanup:()=>{}}}}(e,t.restrictedAudioId,t.audioRef.current,n):(t.audioRef.current.play(),{response:"ok"})}(e,n,t):yield function*(e,t,n){return{response:null!=n&&null!=t.restrictedAudioId?yield Wf(e.playRestrictedAudio,t.src,t.restrictedAudioId,n):yield Wf(e.playAudio,t.src)}}(e,n,t);"ok"===r.response?(yield qf(Fc(n)),yield Wf(Hh,n.duration,qc),yield qf(Hc())):(yield qf(_c(n,r.response)),yield Xf(5e3),yield qf(Yc(n))),r.cleanup&&r.cleanup()}catch(e){console.error(e)}}function*Yh(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 Qf.apply(void 0,[Hp,e,t].concat(r))}("PLAY_AUDIO",_h,e)}const qh={casStatus:"forbidden"},{createAction:Vh}=Gc.deprecated,Wh=e=>(0,Gc.action)("ALLOW_CAS_COUNTDOWN",e),Qh=Vh("ALLOW_CAS_SUCCEEDED"),Jh=Vh("ALLOW_CAS_CANCELLED"),Xh=e=>(0,Gc.action)("UPDATE_CAS_REMAINING",e);function*Kh(e,{payload:t}){try{if("allowed"===(yield Wf(e.setCasStatus,"allowing")))return void(yield qf(Qh()));yield qf(Wh(t));const{cancelled:i}=yield(n={finished:Wf(Hh,t,Xh),cancelled:Yf("ALLOW_CAS_CANCELLED")},r=_f(Uf,n),r.combinator=!0,r);"allowed"===(yield Wf(e.setCasStatus,i?"forbidden":"allowed"))?yield qf(Qh()):i||(yield qf(Jh()))}catch(e){console.error(e)}var n,r}function*$h(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 Qf.apply(void 0,[_p,e,t].concat(r))}("ALLOW_CAS",Kh,e)}const em=function(e){const t=Object.keys(e),n={};for(let r=0;r<t.length;r++){const i=t[r];"function"==typeof e[i]&&(n[i]=e[i])}const r=Object.keys(n);let i;try{!function(e){Object.keys(e).forEach((t=>{const n=e[t];if(void 0===n(void 0,{type:Ud.INIT}))throw new Error(Rd(12));if(void 0===n(void 0,{type:Ud.PROBE_UNKNOWN_ACTION()}))throw new Error(Rd(13))}))}(n)}catch(e){i=e}return function(e={},t){if(i)throw i;let o=!1;const a={};for(let i=0;i<r.length;i++){const s=r[i],l=n[s],c=e[s],u=l(c,t);if(void 0===u)throw t&&t.type,new Error(Rd(14));a[s]=u,o=o||u!==c}return o=o||r.length!==Object.keys(e).length,o?a:e}}({answers:function(e=Qp,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=Jp(e.savedQuestionIds,n),i=Jp(e.serverQuestionIds,n),o=Wp(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=Zh,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=Gh(e.errors,[n.src]);return{...e,playbackTimes:r,errors:i}}return e}case"SHOW_AUDIO_ERROR":{const{audio:n,error:r}=t.payload,i=Xt(n,"restrictedAudioId",n.src),o={...e.errors,[i]:r};return{...e,errors:o,nowPlaying:null}}case"HIDE_AUDIO_ERROR":{const n=t.payload,r=Xt(n,"restrictedAudioId",n.src),i=Gh(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=qh,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*tm(e){yield Qf(ih,e),yield Qf(Yh,e),yield Qf($h,e)}function nm(e,t,n,r,i){const o=new Set(Sd(n,"questionId")),a=function(e,t){var n={};return t=nn(t),fn(e,(function(e,r,i){Nr(n,r,t(e,r,i))})),n}(Od(r,"restrictedAudioId"),"times"),s=Od(n,"questionId"),l={answers:{answersById:s,focusedQuestionId:null,serverQuestionIds:o,supportsAnswerHistory:"function"==typeof i.selectAnswerVersion,savedQuestionIds:o,examStructure:e,validationErrors:Wp(e,s)},audio:{errors:{},nowPlaying:null,playbackTimes:a},cas:{casStatus:t}},c=Up(),u=(window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__||Gd)(function(...e){return t=>(n,r)=>{const i=t(n,r);let o=()=>{throw new Error(Rd(15))};const a={getState:i.getState,dispatch:(e,...t)=>o(e,...t)},s=e.map((e=>e(a)));return o=Gd(...s)(i.dispatch),{...i,dispatch:o}}}(c)),d=Bd(em,l,u);return c.run(tm,i),d}const rm=t().memo((function({element:e,className:n,renderChildNodes:r}){return t().createElement("div",{className:Ri()("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))})),im=t().memo((function({element:n}){const r=n.getAttribute("src"),i=Mn(n,"duration"),{t:o}=ti(),a=Vi(ao(r)),s=Vi(so(r)),l=oo(),{abitti2:c,resolveAttachment:u}=(0,e.useContext)(Ci),d=(0,e.useRef)(null);return t().createElement("div",{className:"e-audio-test notification e-pad-2 e-mrg-b-4"},t().createElement("p",null,o("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"},c&&t().createElement("audio",{ref:d,preload:"none"},t().createElement("source",{src:u(r)})),t().createElement("button",{className:"e-button",disabled:"stopped"!==a,onClick:()=>"stopped"===a&&l(Zc({src:r,duration:i,audioRef:d}))},t().createElement(Jl,{className:"e-mrg-r-1",icon:bo,fixedWidth:!0}),o("audio-test.play"))),t().createElement("div",{className:"e-column"},t().createElement(Bc,{error:s},yn))),t().createElement("div",null,o("audio-test.volume")))})),om=({children:e})=>t().createElement("footer",{className:"e-footer"},e),am=On({}),sm=t().memo((function(n){const{root:r}=(0,e.useContext)(Ci),{t:i}=ti(),o=xn(r,"reference").filter((e=>null==wn(e,"external-material")));return o.length>0?t().createElement(Su,{"aria-labelledby":li},t().createElement("h2",{id:li},i("references.heading")),t().createElement("ol",{className:"e-list-data","data-annotation-anchor":li},o.map(((e,n)=>{const r=wn(e,"question").getAttribute("display-number");return t().createElement("li",{"data-list-number":ju(r),key:`${r}${n}`},t().createElement(su,{element:e,renderChildNodes:am}))})))):null})),lm=(0,e.memo)((e=>{const{id:n,type:r,answer:i,error:o,displayNumber:a}=e,s=null==i?void 0:i.value,l="richText"===(null==i?void 0:i.type),c=l&&(null==s?void 0:s.includes('src="/math.svg?latex=')),u=l&&((null==s?void 0:s.includes('<img src="/screenshot/'))||(null==s?void 0:s.includes('<img src="data:image/png;')));return t().createElement("div",{key:n,className:Ri()("answer-indicator",{ok:s,error:o,big:"rich-text"===r}),"data-indicator-id":n,onClick:e=>{e.stopPropagation(),window.location.href=`#question-nr-${a}`}},"richText"===(null==i?void 0:i.type)&&t().createElement(t().Fragment,null,l&&(null==i?void 0:i.characterCount)&&t().createElement("span",null,i.characterCount)||"",c&&t().createElement("span",{className:"formula"},"∑"),u&&t().createElement("span",{className:"img"},t().createElement(Jl,{icon:mo,size:"lg"}))))})),cm=({element:n,renderChildNodes:r})=>{var i;const{attachmentsURL:o}=(0,e.useContext)(Ci),{displayNumber:a,maxScore:s,level:l}=(0,e.useContext)(Au),{t:c}=ti(),{isInSidebar:u}=(0,e.useContext)(Dn),d=An(n,"question-title"),f=null!=a&&In(n,"external-material"),p=[];let h={},m=!1;if(u){const e=Vi((e=>e.answers));h=(null==e?void 0:e.answersById)||{};const t=n.querySelectorAll("[question-id]"),r=null===(i=e.validationErrors)||void 0===i?void 0:i.filter((e=>"question"===(null==e?void 0:e.elementType)));m=!!(null==r?void 0:r.find((e=>e.displayNumber===a))),t.forEach((e=>{var t;const n=Number(e.getAttribute("question-id")),i=e.getAttribute("type")||"",o=e.getAttribute("display-number")||"",a=!!(null==r?void 0:r.find((e=>e.displayNumber===o))),s=r.flatMap((e=>"childQuestions"in e?e.childQuestions:[])).includes(o),l=!!(null===(t=h[n])||void 0===t?void 0:t.value);n&&p.push({id:n,type:i,error:a||s&&l,displayNumber:Number(o)})}))}const g=!!p.find((e=>e.error)),y=null==p?void 0:p.filter((e=>{var t;return null===(t=h[e.id])||void 0===t?void 0:t.value})).length,v=Number(n.getAttribute("max-answers"))||p.length,b=jn("question",a);return t().createElement("li",{"data-list-number":`${a}.`,onClick:()=>u?window.location.href=`#question-nr-${a}`:void 0,className:Ri()(`level-${l}`,{error:m,current:b})},t().createElement("span",{className:"e-column e-question-title"},t().createElement("a",{href:wi("",{hash:`question-nr-${a}`}),tabIndex:u?-1:void 0},t().createElement("span",null,r(d)))),u&&t().createElement("div",{className:Ri()("numeric-answer-indicator",{error:g,ok:y===v})},y,"/",v),!u&&f&&t().createElement("span",{className:"e-column e-column--narrow e-external-material"},t().createElement("a",{href:wi(o,{hash:Tn(wn(f,"question"),"display-number")}),target:"attachments"},c("material"))),t().createElement("span",{className:"e-column e-column--narrow table-of-contents--score-column"},c("points",{count:s})),u&&t().createElement("span",{className:"e-column e-column--narrow e-external-material"},f&&t().createElement(Jl,{size:"sm",icon:yo,fixedWidth:!0})),t().createElement("div",{className:"answers"},p.map((e=>t().createElement(lm,{key:e.id,type:e.type,id:e.id,answer:h[e.id],error:e.error,displayNumber:e.displayNumber})))," "))},um=t().memo((function({maxAnswers:e,minAnswers:n,elementType:r,childQuestions:i}){const o=i.map((e=>{return"string"==typeof(t=e)||!Ie(t)&&Ee(t)&&"[object String]"==P(t)?e:e.getAttribute("display-number");var t})),{t:a}=ti(),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=[Ar(o),Tr(o)];return t().createElement(t().Fragment,null,a(s,{answerCount:l,questions:c}))})),dm=({element:n,renderChildNodes:r})=>{const{sections:i}=(0,e.useContext)(Ci),{childQuestions:o,displayNumber:a,minAnswers:s,maxAnswers:l}=(0,e.useContext)(zu),{t:c}=ti(),{isInSidebar:u}=(0,e.useContext)(Dn),d=u&&!!Vi((e=>{var t,n;return null===(n=null===(t=e.answers)||void 0===t?void 0:t.validationErrors)||void 0===n?void 0:n.find((e=>e.displayNumber===a&&"section"===(null==e?void 0:e.elementType)))})),f=jn("section",a);return t().createElement("div",{className:f?"current":""},n.hasChildNodes()&&t().createElement("div",{className:"toc-section-header-container"},t().createElement("h4",{className:"toc-section-header",id:hi(a)},i.length>1&&c("section",{displayNumber:a})," ",r(n))),l&&t().createElement("div",{style:{display:"grid"},className:`answer-instructions-container section-${a}`},t().createElement("div",{className:Ri()("answer-instructions",{error:d})},d&&t().createElement("div",{className:"error-mark"},"!"),t().createElement("span",{className:"error-reason"},t().createElement(um,{maxAnswers:l,minAnswers:s,childQuestions:o,elementType:"toc-section"})))))},fm=({element:n,answers:r,renderChildNodes:i})=>{const{displayNumber:o}=(0,e.useContext)(zu),a=An(n,"section-title");return t().createElement("li",{"data-section-id":o},a&&t().createElement(dm,{element:a,renderChildNodes:i,answers:r}),t().createElement("ol",{className:"e-list-data e-pad-l-0","aria-labelledby":a&&hi(o)},i(n,1)))},pm=n=>{const{showAnsweringInstructions:r,isInSidebar:i}=n,o=On({section:Uu(fm),question:Tu(cm)});return t().memo((()=>{const{root:n,maxScore:a}=(0,e.useContext)(Ci),{t:s}=ti(),l=Mn(n,"max-answers"),c=i&&!!Vi((e=>{var t;return null===(t=e.answers.validationErrors)||void 0===t?void 0:t.find((e=>"exam"===(null==e?void 0:e.elementType)))})),u=t().createRef();return(0,e.useEffect)((()=>{var e;const t=e=>{const t=e.currentTarget;if(t.scrollHeight<=t.clientHeight)return;const n=e.deltaY,r=n<0&&0===t.scrollTop,i=n>0&&t.scrollTop>=t.scrollHeight-t.clientHeight;(r||i)&&e.preventDefault()};return null===(e=null==u?void 0:u.current)||void 0===e||e.addEventListener("wheel",t,{passive:!1}),()=>{var e;return null===(e=null==u?void 0:u.current)||void 0===e?void 0:e.removeEventListener("wheel",t)}}),[]),t().createElement("nav",{className:"table-of-contents","aria-labelledby":bi,ref:u},!i&&t().createElement("h2",{id:bi},t().createElement("span",{className:"e-toc-heading"},s("toc-heading"))),r&&l&&t().createElement("div",{style:{display:"grid"}},t().createElement("div",{className:Ri()("answer-instructions",{error:c})},c&&t().createElement("div",{className:"error-mark exam"},"!"),t().createElement("span",{className:"error-reason"},s("max-answers-warning",{count:l})))),t().createElement(Dn.Provider,{value:{isInSidebar:i}},t().createElement("ol",{className:"e-list-plain e-pad-l-0"},o(n))),t().createElement("div",{className:"e-columns"},t().createElement("strong",{className:"e-column e-total"},s("exam-total")),t().createElement("strong",{className:"e-column e-column--narrow table-of-contents--score-column"},s("points",{count:a})),i&&t().createElement("span",{className:"e-column e-column--narrow e-external-material"})))}))},hm=JSON.parse('{"rE":"20.3.2-annoteta-react.0"}'),mm=()=>{const e=Xt(window,"TEST_VERSION_NUMBER");return t().createElement("span",null,"EE v.",e||hm.rE)},gm=t().memo(ji((function({element:n,renderChildNodes:r}){const{isExternal:i}=(0,e.useContext)(ki);return i?null:t().createElement("span",{className:"exam-attachment e-mrg-b-2"},r(n))}))),ym=({selected:e,element:n,renderChildNodes:r,questionId:i,onSelect:o,direction:a,value:s})=>{const l=n.getAttribute("class"),c=t().createElement("div",{className:Ri()("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:Ri()("e-columns",{"e-columns--inline":null==In(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))},vm=t().memo((({element:n,renderChildNodes:r})=>{const i=Mn(n,"question-id"),o=n.getAttribute("display-number"),a=n.getAttribute("direction")||"vertical",s=n.getAttribute("class"),{questionLabelIds:l}=(0,e.useContext)(Au),c=Vi((e=>e.answers.answersById[i])),u=oo(),d=(0,e.useCallback)((e=>{u(Xp({type:"choice",questionId:i,value:e.currentTarget.value,displayNumber:o}))}),[i,o]);return t().createElement("div",{className:Ri()("e-choice-answer e-mrg-b-4",s,{"e-columns":"horizontal"===a}),"data-question-id":i,role:"radiogroup","aria-labelledby":l},Nn(n,(e=>{const n=e.getAttribute("option-id"),o="no-answer"===e.getAttribute("type")?"":n,s=null!=c&&c.value===o;return t().createElement(ym,{element:e,onSelect:d,renderChildNodes:r,questionId:i,key:n,direction:a,selected:s,value:o})})))}));o(4828);const bm=e=>"object"==typeof e&&null!=e&&1===e.nodeType,Im=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,xm=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){const n=getComputedStyle(e,null);return Im(n.overflowY,t)||Im(n.overflowX,t)||(e=>{const t=(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},wm=(e,t,n,r,i,o,a,s)=>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,Am=e=>{const t=e.parentElement;return null==t?e.getRootNode().host||null:t};var Tm=function(){return Tm=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},Tm.apply(this,arguments)};Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var Mm=0;function Cm(){}function Nm(e,t,n){return e===t||t instanceof n.Node&&e.contains&&e.contains(t)}function Em(e,t){var 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((function(){n=null,e.apply(void 0,o)}),t)}return i.cancel=r,i}function Sm(){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((function(t){return t&&t.apply(void 0,[e].concat(r)),e.preventDownshiftDefault||e.hasOwnProperty("nativeEvent")&&e.nativeEvent.preventDownshiftDefault}))}}function km(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){t.forEach((function(t){"function"==typeof t?t(e):t&&(t.current=e)}))}}function jm(e,t){return e&&t?Object.keys(e).reduce((function(n,r){return n[r]=function(e,t){return void 0!==e[t]}(t,r)?t[r]:e[r],n}),{}):e}function Dm(e,t,n,r,i){void 0===i&&(i=!1);var o=n.length;if(0===o)return-1;var a=o-1;("number"!=typeof e||e<0||e>a)&&(e=t>0?-1:a+1);var s=e+t;s<0?s=i?a:0:s>a&&(s=i?0:a);var l=Lm(s,t<0,n,r,i);return-1===l?e>=o?-1:e:l}function Lm(e,t,n,r,i){void 0===i&&(i=!1);var o=n.length;if(t){for(var a=e;a>=0;a--)if(!r(n[a],a))return a}else for(var s=e;s<o;s++)if(!r(n[s],s))return s;return i?Lm(t?o-1:0,t,n,r):-1}function Om(e,t,n,r){return void 0===r&&(r=!0),n&&t.some((function(t){return t&&(Nm(t,e,n)||r&&Nm(t,n.document.activeElement,n))}))}var Rm=Em((function(e){Pm(e).textContent=""}),500);function Pm(e){var t=e.getElementById("a11y-status-message");return t||((t=e.createElement("div")).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)}var zm={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""};var Um=Em((function(e,t){!function(e,t){e&&t&&(Pm(t).textContent=e,Rm(t))}(e,t)}),200),Bm="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?e.useLayoutEffect:e.useEffect,Gm="useId"in t()?function(n){var r=n.id,i=n.labelId,o=n.menuId,a=n.getItemId,s=n.toggleButtonId,l=n.inputId,c="downshift-"+t().useId();return r||(r=c),(0,e.useRef)({labelId:i||r+"-label",menuId:o||r+"-menu",getItemId:a||function(e){return r+"-item-"+e},toggleButtonId:s||r+"-toggle-button",inputId:l||r+"-input"}).current}:function(t){var n=t.id,r=void 0===n?"downshift-"+String(Mm++):n,i=t.labelId,o=t.menuId,a=t.getItemId,s=t.toggleButtonId,l=t.inputId;return(0,e.useRef)({labelId:i||r+"-label",menuId:o||r+"-menu",getItemId:a||function(e){return r+"-item-"+e},toggleButtonId:s||r+"-toggle-button",inputId:l||r+"-input"}).current};function Zm(e){return""+e.slice(0,1).toUpperCase()+e.slice(1)}function Fm(t){var n=(0,e.useRef)(t);return n.current=t,n}function Hm(t,n,r,i){var o=(0,e.useRef)(),a=(0,e.useRef)(),s=(0,e.useCallback)((function(e,n){a.current=n,e=jm(e,n.props);var r=t(e,n);return n.props.stateReducer(e,$d({},n,{changes:r}))}),[t]),l=(0,e.useReducer)(s,n,r),c=l[0],u=l[1],d=Fm(n),f=(0,e.useCallback)((function(e){return u($d({props:d.current},e))}),[d]),p=a.current;return(0,e.useEffect)((function(){var e=jm(o.current,null==p?void 0:p.props);p&&o.current&&!i(e,c)&&function(e,t,n){var r=e.props,i=e.type,o={};Object.keys(t).forEach((function(r){!function(e,t,n,r){var i=t.props,o=t.type,a="on"+Zm(e)+"Change";i[a]&&void 0!==r[e]&&r[e]!==n[e]&&i[a]($d({type:o},r))}(r,e,t,n),n[r]!==t[r]&&(o[r]=n[r])})),r.onStateChange&&Object.keys(o).length&&r.onStateChange($d({type:i},o))}(p,e,c),o.current=c}),[c,p,i]),[c,f]}var _m={itemToString:function(e){return e?String(e):""},itemToKey:function(e){return e},stateReducer:function(e,t){return t.changes},scrollIntoView:function(e,t){if(e){var n=((e,t)=>{var n,r,i,o;if("undefined"==typeof document)return[];const{scrollMode:a,block:s,inline:l,boundary:c,skipOverflowHiddenElements:u}=t,d="function"==typeof c?c:e=>e!==c;if(!bm(e))throw new TypeError("Invalid target");const f=document.scrollingElement||document.documentElement,p=[];let h=e;for(;bm(h)&&d(h);){if(h=Am(h),h===f){p.push(h);break}null!=h&&h===document.body&&xm(h)&&!xm(document.documentElement)||null!=h&&xm(h,u)&&p.push(h)}const m=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,g=null!=(o=null==(i=window.visualViewport)?void 0:i.height)?o:innerHeight,{scrollX:y,scrollY:v}=window,{height:b,width:I,top:x,right:w,bottom:A,left:T}=e.getBoundingClientRect(),{top:M,right:C,bottom:N,left:E}=(e=>{const t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e);let S="start"===s||"nearest"===s?x-M:"end"===s?A+N:x+b/2-M+N,k="center"===l?T+I/2-E+C:"end"===l?w+C:T-E;const j=[];for(let e=0;e<p.length;e++){const t=p[e],{height:n,width:r,top:i,right:o,bottom:c,left:u}=t.getBoundingClientRect();if("if-needed"===a&&x>=0&&T>=0&&A<=g&&w<=m&&x>=i&&A<=c&&T>=u&&w<=o)return j;const d=getComputedStyle(t),h=parseInt(d.borderLeftWidth,10),M=parseInt(d.borderTopWidth,10),C=parseInt(d.borderRightWidth,10),N=parseInt(d.borderBottomWidth,10);let E=0,D=0;const L="offsetWidth"in t?t.offsetWidth-t.clientWidth-h-C:0,O="offsetHeight"in t?t.offsetHeight-t.clientHeight-M-N:0,R="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,P="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(f===t)E="start"===s?S:"end"===s?S-g:"nearest"===s?wm(v,v+g,g,M,N,v+S,v+S+b,b):S-g/2,D="start"===l?k:"center"===l?k-m/2:"end"===l?k-m:wm(y,y+m,m,h,C,y+k,y+k+I,I),E=Math.max(0,E+v),D=Math.max(0,D+y);else{E="start"===s?S-i-M:"end"===s?S-c+N+O:"nearest"===s?wm(i,c,n,M,N+O,S,S+b,b):S-(i+n/2)+O/2,D="start"===l?k-u-h:"center"===l?k-(u+r/2)+L/2:"end"===l?k-o+C+L:wm(u,o,r,h,C+L,k,k+I,I);const{scrollLeft:e,scrollTop:a}=t;E=0===P?0:Math.max(0,Math.min(a+E/P,t.scrollHeight-n/P+O)),D=0===R?0:Math.max(0,Math.min(e+D/R,t.scrollWidth-r/R+L)),S+=a-E,k+=e-D}j.push({el:t,top:E,left:D})}return j})(e,{boundary:t,block:"nearest",scrollMode:"if-needed"});n.forEach((function(e){var t=e.el,n=e.top,r=e.left;t.scrollTop=n,t.scrollLeft=r}))}},environment:"undefined"==typeof window?void 0:window};function Ym(e,t,n){void 0===n&&(n=zm);var r=e["default"+Zm(t)];return void 0!==r?r:n[t]}function qm(e,t,n){void 0===n&&(n=zm);var r=e[t];if(void 0!==r)return r;var i=e["initial"+Zm(t)];return void 0!==i?i:Ym(e,t,n)}function Vm(e){var t=qm(e,"selectedItem"),n=qm(e,"isOpen"),r=function(e){var t=qm(e,"highlightedIndex");return t>-1&&e.isItemDisabled(e.items[t],t)?-1:t}(e),i=qm(e,"inputValue");return{highlightedIndex:r<0&&t&&n?e.items.findIndex((function(n){return e.itemToKey(n)===e.itemToKey(t)})):r,isOpen:n,selectedItem:t,inputValue:i}}function Wm(e,t,n){var r=e.items,i=e.initialHighlightedIndex,o=e.defaultHighlightedIndex,a=e.isItemDisabled,s=e.itemToKey,l=t.selectedItem,c=t.highlightedIndex;return 0===r.length?-1:void 0===i||c!==i||a(r[i],i)?void 0===o||a(r[o],o)?l?r.findIndex((function(e){return s(l)===s(e)})):n<0&&!a(r[r.length-1],r.length-1)?r.length-1:n>0&&!a(r[0],0)?0:-1:o:i}function Qm(n,r,i,o){void 0===o&&(o={});var a,s=o.document,l=(a=t().useRef(!0),t().useEffect((function(){return a.current=!1,function(){a.current=!0}}),[]),a.current);(0,e.useEffect)((function(){if(n&&!l&&s){var e=n(r);Um(e,s)}}),i),(0,e.useEffect)((function(){return function(){var e,t;Um.cancel(),(t=null==(e=s)?void 0:e.getElementById("a11y-status-message"))&&t.remove()}}),[s])}var Jm=Cm;function Xm(e,t,n){var r;return void 0===n&&(n=!0),$d({isOpen:!1,highlightedIndex:-1},(null==(r=e.items)?void 0:r.length)&&t>=0&&$d({selectedItem:e.items[t],isOpen:Ym(e,"isOpen"),highlightedIndex:Ym(e,"highlightedIndex")},n&&{inputValue:e.itemToString(e.items[t])}))}function Km(e,t){return e.isOpen===t.isOpen&&e.inputValue===t.inputValue&&e.highlightedIndex===t.highlightedIndex&&e.selectedItem===t.selectedItem}function $m(e){var t=Ym(e,"highlightedIndex");return t>-1&&e.isItemDisabled(e.items[t],t)?-1:t}var eg=$d({},{environment:zl().shape({addEventListener:zl().func.isRequired,removeEventListener:zl().func.isRequired,document:zl().shape({createElement:zl().func.isRequired,getElementById:zl().func.isRequired,activeElement:zl().any.isRequired,body:zl().any.isRequired}).isRequired,Node:zl().func.isRequired}),itemToString:zl().func,itemToKey:zl().func,stateReducer:zl().func},{getA11yStatusMessage:zl().func,highlightedIndex:zl().number,defaultHighlightedIndex:zl().number,initialHighlightedIndex:zl().number,isOpen:zl().bool,defaultIsOpen:zl().bool,initialIsOpen:zl().bool,selectedItem:zl().any,initialSelectedItem:zl().any,defaultSelectedItem:zl().any,id:zl().string,labelId:zl().string,menuId:zl().string,getItemId:zl().func,toggleButtonId:zl().string,onSelectedItemChange:zl().func,onHighlightedIndexChange:zl().func,onStateChange:zl().func,onIsOpenChange:zl().func,scrollIntoView:zl().func});Tm(Tm({},eg),{items:zl().array.isRequired,isItemDisabled:zl().func});var tg=Tm(Tm({},_m),{isItemDisabled:function(){return!1}}),ng=Cm,rg=1,ig=2,og=3,ag=4,sg=5,lg=6,cg=7,ug=8,dg=9,fg=10,pg=11,hg=14,mg=19,gg=Object.freeze({__proto__:null,FunctionCloseMenu:17,FunctionOpenMenu:16,FunctionReset:21,FunctionSelectItem:mg,FunctionSetHighlightedIndex:18,FunctionSetInputValue:20,FunctionToggleMenu:15,ItemClick:hg,ItemMouseMove:13,MenuMouseLeave:12,ToggleButtonBlur:pg,ToggleButtonClick:0,ToggleButtonKeyDownArrowDown:rg,ToggleButtonKeyDownArrowUp:ig,ToggleButtonKeyDownCharacter:og,ToggleButtonKeyDownEnd:lg,ToggleButtonKeyDownEnter:cg,ToggleButtonKeyDownEscape:ag,ToggleButtonKeyDownHome:sg,ToggleButtonKeyDownPageDown:fg,ToggleButtonKeyDownPageUp:dg,ToggleButtonKeyDownSpaceButton:ug});function yg(e,t){var n,r,i=t.type,o=t.props,a=t.altKey;switch(i){case hg:r={isOpen:Ym(o,"isOpen"),highlightedIndex:$m(o),selectedItem:o.items[t.index]};break;case og:var s=t.key,l=""+e.inputValue+s;r={inputValue:l,highlightedIndex:function(e){for(var t=e.keysSoFar,n=e.highlightedIndex,r=e.items,i=e.itemToString,o=e.isItemDisabled,a=t.toLowerCase(),s=0;s<r.length;s++){var l=(s+n+(t.length<2?1:0))%r.length,c=r[l];if(void 0!==c&&i(c).toLowerCase().startsWith(a)&&!o(c,l))return l}return n}({keysSoFar:l,highlightedIndex:!e.isOpen&&e.selectedItem?o.items.findIndex((function(t){return o.itemToKey(t)===o.itemToKey(e.selectedItem)})):e.highlightedIndex,items:o.items,itemToString:o.itemToString,isItemDisabled:o.isItemDisabled}),isOpen:!0};break;case rg:r={highlightedIndex:e.isOpen?Dm(e.highlightedIndex,1,o.items,o.isItemDisabled):a&&null==e.selectedItem?-1:Wm(o,e,1),isOpen:!0};break;case ig:r=e.isOpen&&a?Xm(o,e.highlightedIndex,!1):{highlightedIndex:e.isOpen?Dm(e.highlightedIndex,-1,o.items,o.isItemDisabled):Wm(o,e,-1),isOpen:!0};break;case cg:case ug:r=Xm(o,e.highlightedIndex,!1);break;case sg:r={highlightedIndex:Lm(0,!1,o.items,o.isItemDisabled),isOpen:!0};break;case lg:r={highlightedIndex:Lm(o.items.length-1,!0,o.items,o.isItemDisabled),isOpen:!0};break;case dg:r={highlightedIndex:Dm(e.highlightedIndex,-10,o.items,o.isItemDisabled)};break;case fg:r={highlightedIndex:Dm(e.highlightedIndex,10,o.items,o.isItemDisabled)};break;case ag:r={isOpen:!1,highlightedIndex:-1};break;case pg:r=$d({isOpen:!1,highlightedIndex:-1},e.highlightedIndex>=0&&(null==(n=o.items)?void 0:n.length)&&{selectedItem:o.items[e.highlightedIndex]});break;case mg:r={selectedItem:t.selectedItem};break;default:return function(e,t,n){var r,i=t.type,o=t.props;switch(i){case n.ItemMouseMove:r={highlightedIndex:t.disabled?-1:t.index};break;case n.MenuMouseLeave:r={highlightedIndex:-1};break;case n.ToggleButtonClick:case n.FunctionToggleMenu:r={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:Wm(o,e,0)};break;case n.FunctionOpenMenu:r={isOpen:!0,highlightedIndex:Wm(o,e,0)};break;case n.FunctionCloseMenu:r={isOpen:!1};break;case n.FunctionSetHighlightedIndex:r={highlightedIndex:o.isItemDisabled(o.items[t.highlightedIndex],t.highlightedIndex)?-1:t.highlightedIndex};break;case n.FunctionSetInputValue:r={inputValue:t.inputValue};break;case n.FunctionReset:r={highlightedIndex:$m(o),isOpen:Ym(o,"isOpen"),selectedItem:Ym(o,"selectedItem"),inputValue:Ym(o,"inputValue")};break;default:throw new Error("Reducer called without proper action type.")}return $d({},e,r)}(e,t,gg)}return $d({},e,r)}var vg=["onClick"],bg=["onMouseLeave","refKey","ref"],Ig=["onBlur","onClick","onPress","onKeyDown","refKey","ref"],xg=["item","index","onMouseMove","onClick","onMouseDown","onPress","refKey","disabled","ref"];function wg(t){void 0===t&&(t={}),ng(t,wg);var n=$d({},tg,t),r=n.scrollIntoView,i=n.environment,o=n.getA11yStatusMessage,a=function(e,t,n,r){var i=Hm(e,t,n,r),o=i[0],a=i[1];return[jm(o,t),a]}(yg,n,Vm,Km),s=a[0],l=a[1],c=s.isOpen,u=s.highlightedIndex,d=s.selectedItem,f=s.inputValue,p=(0,e.useRef)(null),h=(0,e.useRef)(null),m=(0,e.useRef)({}),g=(0,e.useRef)(null),y=Gm(n),v=Fm({state:s,props:n}),b=(0,e.useCallback)((function(e){return m.current[y.getItemId(e)]}),[y]);Qm(o,s,[c,u,d,f],i);var I=function(t){var n=t.highlightedIndex,r=t.isOpen,i=t.itemRefs,o=t.getItemNodeFromIndex,a=t.menuElement,s=t.scrollIntoView,l=(0,e.useRef)(!0);return Bm((function(){n<0||!r||!Object.keys(i.current).length||(!1===l.current?l.current=!0:s(o(n),a))}),[n]),l}({menuElement:h.current,highlightedIndex:u,isOpen:c,itemRefs:m,scrollIntoView:r,getItemNodeFromIndex:b});(0,e.useEffect)((function(){return g.current=Em((function(e){e({type:20,inputValue:""})}),500),function(){g.current.cancel()}}),[]),(0,e.useEffect)((function(){f&&g.current(l)}),[l,f]),Jm({props:n,state:s}),(0,e.useEffect)((function(){qm(n,"isOpen")&&p.current&&p.current.focus()}),[]);var x=function(t,n,r){var i=(0,e.useRef)({isMouseDown:!1,isTouchMove:!1,isTouchEnd:!1});return(0,e.useEffect)((function(){if(!t)return Cm;var e=n.map((function(e){return e.current}));function o(){i.current.isTouchEnd=!1,i.current.isMouseDown=!0}function a(n){i.current.isMouseDown=!1,Om(n.target,e,t)||r()}function s(){i.current.isTouchEnd=!1,i.current.isTouchMove=!1}function l(){i.current.isTouchMove=!0}function c(n){i.current.isTouchEnd=!0,i.current.isTouchMove||Om(n.target,e,t,!1)||r()}return t.addEventListener("mousedown",o),t.addEventListener("mouseup",a),t.addEventListener("touchstart",s),t.addEventListener("touchmove",l),t.addEventListener("touchend",c),function(){t.removeEventListener("mousedown",o),t.removeEventListener("mouseup",a),t.removeEventListener("touchstart",s),t.removeEventListener("touchmove",l),t.removeEventListener("touchend",c)}}),[t,r]),i.current}(i,[p,h],(0,e.useCallback)((function(){v.current.state.isOpen&&l({type:pg})}),[l,v])),w=Cm;(0,e.useEffect)((function(){c||(m.current={})}),[c]);var A=(0,e.useMemo)((function(){return{ArrowDown:function(e){e.preventDefault(),l({type:rg,altKey:e.altKey})},ArrowUp:function(e){e.preventDefault(),l({type:ig,altKey:e.altKey})},Home:function(e){e.preventDefault(),l({type:sg})},End:function(e){e.preventDefault(),l({type:lg})},Escape:function(){v.current.state.isOpen&&l({type:ag})},Enter:function(e){e.preventDefault(),l({type:v.current.state.isOpen?cg:0})},PageUp:function(e){v.current.state.isOpen&&(e.preventDefault(),l({type:dg}))},PageDown:function(e){v.current.state.isOpen&&(e.preventDefault(),l({type:fg}))}," ":function(e){e.preventDefault();var t=v.current.state;t.isOpen?t.inputValue?l({type:og,key:" "}):l({type:ug}):l({type:0})}}}),[l,v]),T=(0,e.useCallback)((function(){l({type:15})}),[l]),M=(0,e.useCallback)((function(){l({type:17})}),[l]),C=(0,e.useCallback)((function(){l({type:16})}),[l]),N=(0,e.useCallback)((function(e){l({type:18,highlightedIndex:e})}),[l]),E=(0,e.useCallback)((function(e){l({type:mg,selectedItem:e})}),[l]),S=(0,e.useCallback)((function(){l({type:21})}),[l]),k=(0,e.useCallback)((function(e){l({type:20,inputValue:e})}),[l]),j=(0,e.useCallback)((function(e){var t=void 0===e?{}:e,n=t.onClick,r=ef(t,vg);return $d({id:y.labelId,htmlFor:y.toggleButtonId,onClick:Sm(n,(function(){var e;null==(e=p.current)||e.focus()}))},r)}),[y]),D=(0,e.useCallback)((function(e,t){var n,r=void 0===e?{}:e,i=r.onMouseLeave,o=r.refKey,a=void 0===o?"ref":o,s=r.ref,c=ef(r,bg),u=(void 0===t?{}:t).suppressRefError;return w("getMenuProps",void 0!==u&&u,a,h),$d(((n={})[a]=km(s,(function(e){h.current=e})),n.id=y.menuId,n.role="listbox",n["aria-labelledby"]=c&&c["aria-label"]?void 0:""+y.labelId,n.onMouseLeave=Sm(i,(function(){l({type:12})})),n),c)}),[l,w,y]),L=(0,e.useCallback)((function(e,t){var n,r=void 0===e?{}:e,i=r.onBlur,o=r.onClick;r.onPress;var a=r.onKeyDown,s=r.refKey,c=void 0===s?"ref":s,u=r.ref,d=ef(r,Ig),f=(void 0===t?{}:t).suppressRefError,h=void 0!==f&&f,m=v.current.state,g=$d(((n={})[c]=km(u,(function(e){p.current=e})),n["aria-activedescendant"]=m.isOpen&&m.highlightedIndex>-1?y.getItemId(m.highlightedIndex):"",n["aria-controls"]=y.menuId,n["aria-expanded"]=v.current.state.isOpen,n["aria-haspopup"]="listbox",n["aria-labelledby"]=d&&d["aria-label"]?void 0:""+y.labelId,n.id=y.toggleButtonId,n.role="combobox",n.tabIndex=0,n.onBlur=Sm(i,(function(){m.isOpen&&!x.isMouseDown&&l({type:pg})})),n),d);return d.disabled||(g.onClick=Sm(o,(function(){l({type:0})})),g.onKeyDown=Sm(a,(function(e){var t=function(e){var t=e.key,n=e.keyCode;return n>=37&&n<=40&&0!==t.indexOf("Arrow")?"Arrow"+t:t}(e);t&&A[t]?A[t](e):function(e){return/^\S{1}$/.test(e)}(t)&&l({type:og,key:t})}))),w("getToggleButtonProps",h,c,p),g}),[l,y,v,x,w,A]),O=(0,e.useCallback)((function(e){var t,n=void 0===e?{}:e,r=n.item,i=n.index,o=n.onMouseMove,a=n.onClick,s=n.onMouseDown;n.onPress;var c=n.refKey,u=void 0===c?"ref":c,d=n.disabled,f=n.ref,p=ef(n,xg);void 0!==d&&console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useSelect.');var h=v.current,g=h.state,b=h.props,w=function(e,t,n,r){var i,o;if(void 0===e){if(void 0===t)throw new Error(r);i=n[t],o=t}else o=void 0===t?n.indexOf(e):t,i=e;return[i,o]}(r,i,b.items,"Pass either item or index to getItemProps!"),A=w[0],T=w[1],M=b.isItemDisabled(A,T),C=$d(((t={})[u]=km(f,(function(e){e&&(m.current[y.getItemId(T)]=e)})),t["aria-disabled"]=M,t["aria-selected"]=A===g.selectedItem,t.id=y.getItemId(T),t.role="option",t),p);return M||(C.onClick=Sm(a,(function(){l({type:hg,index:T})}))),C.onMouseMove=Sm(o,(function(){x.isTouchEnd||T===g.highlightedIndex||(I.current=!1,l({type:13,index:T,disabled:M}))})),C.onMouseDown=Sm(s,(function(e){return e.preventDefault()})),C}),[v,y,x,I,l]);return{getToggleButtonProps:L,getLabelProps:j,getMenuProps:D,getItemProps:O,toggleMenu:T,openMenu:C,closeMenu:M,setHighlightedIndex:N,selectItem:E,reset:S,setInputValue:k,highlightedIndex:u,isOpen:c,selectedItem:d,inputValue:f}}wg.stateChangeTypes=gg,$d({},eg,{items:zl().array.isRequired,isItemDisabled:zl().func,inputValue:zl().string,defaultInputValue:zl().string,initialInputValue:zl().string,inputId:zl().string,onInputValueChange:zl().func}),$d({},_m,{isItemDisabled:function(){return!1}}),zl().array,zl().array,zl().array,zl().func,zl().number,zl().number,zl().number,zl().func,zl().func,zl().string,zl().string;const Ag=function(e,t){return e>t},Tg=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,en,Ag):void 0};var Mg=o(7767),Cg=o.n(Mg);const Ng=Promise.all([new(Cg())("Noto Sans",{weight:300}).load(),new(Cg())("Noto Sans",{weight:400}).load(),new(Cg())("Noto Sans",{weight:600}).load()]).then((()=>{Eg=!0})).catch(Mr);let Eg=!1;const Sg=({id:e,size:n="small",score:r})=>{const{t:i}=ti(),o="inline"===n?"sup":"span";return t().createElement(o,{className:Ri()("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}))},kg=!navigator.userAgent.includes("jsdom/"),jg=t().memo((({element:n,renderChildNodes:r})=>{const i=Mn(n,"question-id"),o=Mn(n,"max-score"),a=Vi((e=>e.answers.answersById[i])),s=oo(),l=n.getAttribute("display-number"),c=a&&a.value&&An(n,(e=>a.value===e.getAttribute("option-id"))),u=(0,e.useRef)(null),d=t().useRef(null),[f,p]=(0,e.useState)(!0),[h,m]=(0,e.useState)(Eg);kg&&(Ng.then((()=>!h&&m(!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=Tg(Nn(e,(e=>e.firstElementChild.scrollWidth))),r=requestAnimationFrame((()=>{t.style.width=`${n+2+1}px`,p(!1)}));return()=>cancelAnimationFrame(r)}})));const g=["",...n.children],{answers:y,questionLabelIds:v}=(0,e.useContext)(Au),{getItemProps:I,getMenuProps:x,getToggleButtonProps:w,highlightedIndex:A,isOpen:T,selectedItem:M}=wg({items:g,itemToString:e=>e?e.textContent:"",onSelectedItemChange:({selectedItem:e})=>{const t=e?e.getAttribute("option-id"):"";s(Xp({type:"choice",questionId:i,value:t,displayNumber:l}))},initialSelectedItem:c}),{t:C}=ti(),N=mi(n),E=(0,e.useContext)(b),S=0!==Object.keys(E).length,k={onClick:()=>{},onMouseDown:()=>{},onMouseMove:()=>{}};return t().createElement("span",{className:"e-nowrap"},t().createElement("span",{className:"anchor",id:`question-nr-${l}`}),t().createElement("span",{className:Ri()("e-dropdown-answer e-normal"),"data-question-id":i},t().createElement("button",{className:Ri()("e-dropdown-answer__toggle-button e-button-plain e-columns",{"e-dropdown-answer__toggle-button--open":T}),...w({"aria-describedby":N,"aria-labelledby":v},{suppressRefError:!kg})},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":C.raw("dropdown-answer.label")},yn))),t().createElement("span",{className:Ri()("e-dropdown-answer__toggle-icon e-text-center e-column e-column--narrow e-column--gapless e-color-link")},t().createElement(Jl,{icon:T?ho:Io}))),t().createElement("span",{...x({className:Ri()("e-dropdown-answer__menu",{"e-dropdown-answer__menu--open":T}),"aria-labelledby":void 0,ref:d},{suppressRefError:!kg})},g.map(((e,n)=>t().createElement("span",{className:Ri()("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":A!==n,"e-bg-color-link e-color-off-white":A===n}),key:n,...I({item:e,index:n}),...S?k:{}},t().createElement("span",{className:Ri()("e-dropdown-answer__menu-item-inner e-block",{"e-nowrap":f})},e?r(e):t().createElement("span",{"aria-label":C.raw("dropdown-answer.clear")},yn))))))),y.length>1&&t().createElement(Sg,{score:o,size:"inline",id:N}))})),Dg=t().memo((function({element:e,renderChildNodes:n}){return t().createElement("div",{className:"e-exam-footer"},n(e))})),Lg=t().memo((function({element:e,renderChildNodes:n}){return t().createElement("div",{className:"exam-instruction notification e-pad-4","data-annotation-anchor":"exam-instruction"},n(e))})),Og=t().memo((function(){const{examServerApi:n}=(0,e.useContext)(Ou),{examineExam:r}=n,{t:i}=ti();return t().createElement("button",{className:"e-button goto-examine-answers",onClick:()=>{r&&(r(),window.scrollTo(0,0))},"aria-describedby":"examineExamInstructions"},i("examine-exam.examine"))}));function Rg(e){return`${Tr(e.split("."))}.`}function Pg({answer:e,focusedQuestionId:n,renderChildNodes:r}){const i=Mn(e,"question-id"),o=e.getAttribute("display-number"),a=An(e,"hint"),s=Sn(e);return t().createElement("p",{className:Ri()("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},s&&Rg(o)," ",r(a))}const zg=({element:e,renderChildNodes:n})=>{const r=Vi((e=>e.answers.focusedQuestionId)),i=xn(e,["text-answer","scored-text-answer"]).filter((e=>null!=An(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(Pg,{answer:e,focusedQuestionId:r,renderChildNodes:n,key:i}))))):t().createElement(t().Fragment,null,n(e))},Ug=(0,e.createContext)({expanded:!1,toggleWriterMode:()=>{}}),Bg=t().memo(Tu((function({element:n,renderChildNodes:r}){const i=Vi((e=>e.cas.casStatus)),{casForbidden:o}=(0,e.useContext)(zu),{displayNumber:a,level:s}=(0,e.useContext)(Au),{examServerApi:l}=(0,e.useContext)(Ou),[c,u]=(0,e.useState)(!1),{t:d}=ti(),f=e=>{u(e),l.logActivity&&l.logActivity(e?`Writer mode opened for display number ${a}`:`Writer mode closed for display number ${a}`);const t=document.querySelector("body");e?null==t||t.classList.add("writer-mode"):(null==t||t.classList.remove("writer-mode"),null==t||t.classList.remove("rich-text-editor-focus"),setTimeout((()=>{var e;return null===(e=document.getElementById(`question-nr-${a}`))||void 0===e?void 0:e.scrollIntoView()}),10))},p=e=>{"Tab"===e.code&&e.preventDefault()},h=In(n,"text-answer"),m=h?Mn(h,"question-id"):null;(0,e.useEffect)((()=>{if(c){window.addEventListener("keydown",p);const e=m?document.querySelector(`[data-question-id="${m}"]`):void 0;null==e||e.focus()}return()=>window.removeEventListener("keydown",p)}),[c]);const g=t().createRef(),{addRef:y}=(0,e.useContext)(gn);return(0,e.useEffect)((()=>{(null==g?void 0:g.current)&&0===s&&y&&y(g.current)}),[]),o&&"forbidden"!==i?null:t().createElement(Ug.Provider,{value:{expanded:c,toggleWriterMode:f}},t().createElement("div",{className:Ri()("e-exam-question",{"e-level-0 e-pad-b-8 e-clearfix":0===s,"e-mrg-l-8 e-mrg-y-4":s>0,"e-expanded":c}),"data-annotation-anchor":a,"data-toc-id":`question-${a}`,ref:g},t().createElement("div",{className:"anchor",id:`question-nr-${a}`}),c?t().createElement("div",{className:"full-screen","data-full-screen-id":a},t().createElement("button",{className:"expand close",onClick:()=>f(!1)},t().createElement(Jl,{icon:fo}),d("close-writing-mode")),r(n)):r(n)))}))),Gg=t().memo((function({element:e,renderChildNodes:n}){const r=di(e);return t().createElement("div",{className:"exam-question-instruction e-mrg-b-2",id:r},n(e))})),Zg=()=>t().createElement(Jl,{size:"lg",icon:vo,fixedWidth:!0,className:"e-color-link e-mrg-r-1"}),Fg=t().memo((({element:n,renderChildNodes:r})=>{const{displayNumber:i,maxScore:o,level:a,maxAnswers:s,childQuestions:l}=(0,e.useContext)(Au),c=`h${Math.min(3+a,6)}`,u=ui(i);return t().createElement(t().Fragment,null,t().createElement(c,{id:u,className:Ri()("exam-question-title",{"e-normal e-font-size-m":a>0})},t().createElement("strong",{className:Ri()("exam-question-title__display-number",{"exam-question-title__display-number--indented":a>0})},`${ju(i)} `),r(n)," ",t().createElement(Sg,{score:o,size:0===a?"large":"small"})),null!=s&&l.length>0&&t().createElement("p",{className:"e-italic"},t().createElement(Zg,null),t().createElement(um,{maxAnswers:s,childQuestions:l,elementType:"question"})))})),Hg=({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:Ri()("e-progress-bar",i),ref:o},t().createElement("div",{className:Ri()("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 _g(){const{t:e}=ti();return t().createElement("p",null,t().createElement("em",null,e("end-of-exam")))}function Yg(n){const r=oo(),{t:i}=ti(),{casCountdownDuration:o}=(0,e.useContext)(Ou);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",null,i("cas.examineSectionA"),t().createElement("br",null),i("cas.cannotEditLater")),t().createElement(Og,null),t().createElement("p",null,i("cas.youCanReturn")),t().createElement("p",{className:"dots-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,Gc.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(Hg,{className:"e-mrg-b-2",duration:o,durationRemaining:n.durationRemaining}),t().createElement("button",{className:"e-button",id:"allow-cas-cancelled",onClick:()=>r(Jh()),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 qg=t().memo(Uu((function({element:n,renderChildNodes:r}){const i=Vi((e=>e.cas),$i),{casForbidden:o,displayNumber:a}=(0,e.useContext)(zu),{sections:s}=(0,e.useContext)(Ci),l=n===Tr(s);return t().createElement(Su,{className:"exam-section","aria-labelledby":ci(a)},r(n),o&&t().createElement(Yg,{...i}),l&&t().createElement(_g,null))}))),Vg=t().memo((function({element:e,renderChildNodes:n}){return t().createElement("div",{className:"e-mrg-b-2"},n(e))})),Wg=t().memo((function({element:n,renderChildNodes:r}){const{sections:i}=(0,e.useContext)(Ci),{displayNumber:o,minAnswers:a,maxAnswers:s,childQuestions:l}=(0,e.useContext)(zu),{t:c}=ti(),u=t().createRef(),{addRef:d}=(0,e.useContext)(gn);return(0,e.useEffect)((()=>{(null==u?void 0:u.current)&&d&&d(u.current)}),[]),t().createElement(t().Fragment,null,n.hasChildNodes()&&t().createElement("h2",{className:"exam-section-title",id:ci(o),"data-toc-id":`section-${o}`,ref:u},i.length>1&&c("section",{displayNumber:o})," ",r(n)),null!=s&&t().createElement("span",{className:"notification notification--inline"},t().createElement(Zg,null),t().createElement(um,{maxAnswers:s,minAnswers:a,childQuestions:l,elementType:"section"})))})),Qg=e=>t().createElement("div",{className:"e-student-name-container"},e.studentName),Jg=({children:e})=>t().createElement("span",{className:"e-screen-reader-only"},e),Xg=t().memo((function({answer:e,element:n,screenshotError:r,validationError:i,selectAnswerVersion:o,showAnswerHistory:a=!1,supportsAnswerHistory:s=!1}){const{t:l}=ti(),c=null==e?void 0:e.characterCount,u=Mn(n,"max-length");return t().createElement("div",{className:"answer-toolbar e-font-size-xs e-columns e-mrg-b-2"},t().createElement("div",{className:Ri()("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}):yn,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=An(wn(n,"question"),"question-title");o(e.questionId,t.textContent)}}},l("previous-answer-versions")):yn)))}));class Kg extends t().PureComponent{constructor(e){super(e),this.handleSaveError=e=>{const t=(()=>{switch(Xt(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),fd(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(Ug.Consumer,null,(({expanded:a,toggleWriterMode:s})=>t().createElement(t().Fragment,null,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,id:String(n)}),!a&&t().createElement("button",{className:"expand open",onClick:()=>s(!0),"aria-labelledby":"expand-label","aria-owns":String(n)},t().createElement(ey,null),t().createElement(Jl,{icon:xo})))))}}Kg.contextType=Ci;const $g=Kg,ey=()=>{const{t:e}=ti();return t().createElement("div",{className:"label",id:"expand-label"},e("open-writing-mode"))},ty=t().memo((({maxLength:e,id:n})=>{const{t:r}=ti();return t().createElement("p",{id:n,className:"e-answer-length-info"},t().createElement(Zg,null),t().createElement("em",null,r("max-length-info",{count:e})))}));function ny(e){return e.replace(/\s/g,"").length}const ry=t().memo((({element:n,className:r})=>{const i=Tn(n,"type"),o=Mn(n,"question-id"),a=Tn(n,"display-number"),s=Mn(n,"max-score"),l=Cn(n,"use-language-of-instruction"),c=Mn(n,"max-length"),{language:u}=(0,e.useContext)(Ci),{questionLabelIds:d,answers:f}=(0,e.useContext)(Au),{examServerApi:p}=(0,e.useContext)(Ou),[h,m]=(0,e.useState)(),g=Vi((e=>e.answers.answersById[o])),y=Vi((e=>e.answers.supportsAnswerHistory)),v=Vi((e=>e.answers.supportsAnswerHistory&&e.answers.serverQuestionIds.has(o))),b=Vi((e=>e.answers.validationErrors.find((e=>"AnswerTooLong"===e.type&&e.displayNumber===a)))),I=oo(),x=(0,e.useRef)(null),w=g&&g.value,A=mi(n),T=null!=b,M=l?u:void 0,C=n.hasAttribute("max-length")?`${d} ${fi(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:ny(t),displayNumber:a};I(Xp(n)),m(void 0)}),[o,a]),[E,S]=(0,e.useState)((null==g?void 0:g.value)||""),k=(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:ny(t),displayNumber:a};I(Xp(e)),m(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]),j=(0,e.useCallback)(((e,t)=>{const n={type:"richText",questionId:o,value:e,characterCount:ny(t),displayNumber:a};I(Xp(n)),m(void 0)}),[o,a]),D=(0,e.useCallback)((e=>m(e)),[h]),L=(0,e.useCallback)((()=>I((e=>(0,Gc.action)("ANSWER_FOCUSED",e))(o))),[o]),O=(0,e.useCallback)((()=>I((e=>(0,Gc.action)("ANSWER_BLURRED",e))(o))),[o]),R=(0,e.useCallback)(((e,t)=>I(((e,t)=>(0,Gc.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(ty,{maxLength:c,id:fi(n)}),t().createElement("div",{className:"text-answer-container"},t().createElement($g,{answer:g,className:Ri()("text-answer text-answer--rich-text",r),saveScreenshot:e=>p.saveScreenshot(o,e),onChange:j,onError:D,questionId:o,lang:M,invalid:T,labelledBy:C}),t().createElement(Xg,{answer:g,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:Ri()("text-answer text-answer--single-line text-answer--integer",r),value:E,onChange:k,onFocus:L,onBlur:O,ref:x,"data-question-id":o,lang:M,"aria-describedby":A,"aria-labelledby":C}),f.length>1&&t().createElement(Sg,{score:s,size:"inline",id:A}));default:return t().createElement("span",{className:"e-nowrap"},t().createElement("input",{type:"text",className:Ri()("text-answer text-answer--single-line",r),defaultValue:w,onChange:N,onFocus:L,onBlur:O,ref:x,"data-question-id":o,lang:M,"aria-describedby":A,"aria-labelledby":C}),f.length>1&&t().createElement(Sg,{score:s,size:"inline",id:A}))}})),iy=t().memo((function(e){const{element:n,renderChildNodes:r}=e,i=n.getAttribute("display-number"),o=An(n,"hint"),a=t().createElement(ry,{...e}),s=Sn(n);return o?t().createElement("label",{className:"e-nowrap"},s&&t().createElement("sup",{className:"e-text-answer-display-number e-color-darkgrey"},Rg(i)),t().createElement(Jg,null,r(o)),a):a}));var oy=o(6660),ay=o.n(oy);class sy extends t().PureComponent{constructor(e){super(e),this.inputValueChanged=()=>{this.props.onChange(this.props.answerIndex),this.labelInputRef&&this.labelInputRef.current&&this.labelInputRef.current.scrollIntoView({block:"center"})},this.entryInputRef=t().createRef(),this.labelInputRef=t().createRef()}componentDidMount(){this.entryInputRef.current&&0===this.props.answerIndex&&this.entryInputRef.current.focus()}render(){const{selected:e,croppedAnswer:n,characterCount:r,screenshotCount:i,answerIndex:o,minutesSinceAnswer:a}=this.props;return t().createElement("label",{ref:this.labelInputRef,className:"js-undo-history-entry"},t().createElement("input",{type:"radio",className:"e-undo-view-entry-tab",name:"undoHistory",value:o,checked:e,onChange:this.inputValueChanged,ref:this.entryInputRef}),t().createElement(ly,{croppedAnswer:n,characterCount:r,screenshotCount:i,answerIndex:o,minutesSinceAnswer:a}))}}const ly=({croppedAnswer:e,characterCount:n,screenshotCount:r,answerIndex:i,minutesSinceAnswer:o})=>{const{t:a}=ti(),s=[n>0?a("undo.answerCharacterCount",{count:n}):null,r>0?a("undo.answerImageCount",{count:r}):null].filter((e=>null!==e));return t().createElement("div",{className:"e-undo-view-entry js-undo-entry-content"},t().createElement("div",{className:"js-undo-history-entry-time"},0===i?a("undo.latestVersion"):a("undo.minutesSinceAnswer",{minutes:o})),t().createElement("div",{className:"e-undo-view-answer-cropped js-undo-history-entry-answer"},e||a("undo.answerNoText")),t().createElement("div",{className:"e-undo-view-answer-length js-undo-history-entry-stats"},s.map(((e,n)=>t().createElement(t().Fragment,{key:n},e,n<s.length-1&&t().createElement("span",null,", "))))))};var cy=o(4867),uy=o.n(cy);const dy=ay().CancelToken;function fy(e){return{type:e.type,value:e.value,answerTime:e.answer_time,characterCount:e.character_count}}function py(e){const{selectedAnswer:n}=e;return n?"richText"===n.type?t().createElement("div",{className:"e-undo-view-answer-content js-undo-answer-detail",dangerouslySetInnerHTML:{__html:n.value}}):t().createElement("div",{className:"e-undo-view-answer-content js-undo-answer-detail plainText"},n.value):null}function hy(e){const{selectedAnswer:n,selectedAnswerIndex:r,restoreAnswer:i,questionId:o}=e,a=!n||0===r;return t().createElement("div",{className:"e-undo-view-bottom-bar"},t().createElement("button",{className:"e-button-default e-button js-restore-answer-button",disabled:a,onClick:()=>n&&i({...n,questionId:o})},t().createElement(wy,null)))}function my(e){return("text"===e.type?e.value:function(e){const t=document.createElement("div");return t.innerHTML=e,t.innerText}(e.value)).replace(/\s+/g," ").trim()}function gy(e,t=50){const n=my(e);if(n.length<=t)return n;const r=t-1,i=Math.ceil(r/2),o=r-i;return n.substr(0,i)+"…"+n.substr(n.length-o)}function yy(e){return my(e).replace(/\s/g,"").length}function vy(e){const t=document.createElement("div");t.innerHTML=e.value;const n=t.querySelectorAll("img").length,r=t.querySelectorAll('img[src=""]').length;return n-t.querySelectorAll('img[src^="/math.svg"], img[src^="data:image/svg+xml"]').length-r}class by extends t().PureComponent{constructor(e){super(e),this.source=dy.source(),this.toggleBodyScroll=e=>document.documentElement.classList.toggle("e-exam-body-no-scroll",!e),this.keydownListener=e=>{if(13===e.keyCode){const e=this.state.answers[this.state.selectedAnswerIndex];this.props.restoreAnswer({...e,questionId:this.props.questionId}),this.close()}else 27===e.keyCode&&this.close()},this.state={answers:[],selectedAnswerIndex:0,loading:!0,loadRetryTimeout:null}}componentDidMount(){this.toggleBodyScroll(!1),document.addEventListener("keydown",this.keydownListener,!1),this.fetchAnswerHistory(this.props.questionId)}componentWillUnmount(){this.source.cancel(),document.removeEventListener("keydown",this.keydownListener,!1),this.toggleBodyScroll(!0)}componentDidUpdate(e){this.props.questionId!==e.questionId&&this.fetchAnswerHistory(this.props.questionId)}overlayClicked(e){e.target.className.includes("js-undo-overlay")&&this.close()}async fetchAnswerHistory(e){try{const t=(await ay().get(`/rest/answer-history/${e}`,{cancelToken:this.source.token})).data.map(fy);this.setState({answers:t,selectedAnswerIndex:0,loading:!1,loadRetryTimeout:null})}catch(t){ay().isCancel(t)||this.setState({loadRetryTimeout:window.setTimeout((()=>{this.fetchAnswerHistory(e)}),4e3)})}}close(){const e=this.state.loadRetryTimeout;e&&clearTimeout(e),this.source.cancel(),this.props.close()}render(){const e=this.state.answers[this.state.selectedAnswerIndex],n=(new Date).getTime();return t().createElement(uy(),null,t().createElement("div",{onClick:this.overlayClicked.bind(this),className:"e-overlay js-undo-overlay","aria-modal":"true"},t().createElement("div",{id:"undo",className:"e-undo-view"},t().createElement(xy,{close:this.close.bind(this)}),this.state.loading?t().createElement(Iy,null):t().createElement("div",{className:"e-undo-view-content"},t().createElement("div",{className:"e-undo-view-answer-index js-undo-answer-index"},this.state.answers.map(((e,r)=>{const i=n-new Date(e.answerTime).getTime(),o=Math.round(i/1e3/60);return t().createElement(sy,{key:new Date(e.answerTime).getTime(),answerIndex:r,selected:r===this.state.selectedAnswerIndex,onChange:e=>this.setState({selectedAnswerIndex:e}),croppedAnswer:gy(e),minutesSinceAnswer:o,characterCount:yy(e),screenshotCount:vy(e)})}))),t().createElement("div",{className:"e-undo-view-right-panel"},t().createElement("div",{className:"e-undo-view-header js-undo-view-header"},t().createElement("h3",{className:"e-undo-view-title js-undo-view-title"},this.props.title)),t().createElement(py,{selectedAnswer:e}),t().createElement(hy,{selectedAnswer:e,selectedAnswerIndex:this.state.selectedAnswerIndex,restoreAnswer:this.props.restoreAnswer,questionId:this.props.questionId}))))))}}const Iy=()=>{const{t:e}=ti();return t().createElement("div",{style:{padding:"10px"}},e("undo.loading"))},xy=({close:e})=>{const{t:n}=ti();return t().createElement("div",null,t().createElement("img",{src:"img/closeButton.svg",id:"closeUndoDialogButton",className:"e-undo-view-close-overlay-button js-close-undo-dialog-button",onClick:e,tabIndex:0,role:"button","aria-label":n("undo.close")}))},wy=()=>{const{t:e}=ti();return t().createElement("div",null,e("undo.restoreAnswer"))},Ay=e=>{const{t:n}=ti(),{displayNumber:r,elementType:i}=e;return t().createElement("div",null,"exam"!==i&&"toc-section"!==i?n(i,{displayNumber:r})||t().createElement(Cy,{...e}):""," ",t().createElement(um,{...e}))},Ty=({displayNumber:e,characterCount:n})=>{const{t:r}=ti();return t().createElement("div",null,r("question",{displayNumber:e})," ",r("answer-errors.answer-too-long",{count:n}))};function My({validationErrors:e,inExam:n}){return e.length>0?t().createElement("div",{className:Ri()({"error-indicator e-bg-color-error e-color-off-white":n,"e-font-size-xs":n},"e-columns e-columns--inline e-pad-1 e-mrg-r-1"),role:"alert"},t().createElement("div",{className:"e-column e-column--narrow",style:{color:"#f90"}},t().createElement(Jl,{size:"lg",icon:wo,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(Ay,{...e,key:n}):t().createElement(Ty,{...e,key:n})})))):null}const Cy=({elementType:n,displayNumber:r})=>{if("section"===n){const{root:n}=(0,e.useContext)(Ci),i=An(n,(e=>"section"===e.localName&&e.getAttribute("display-number")===r));if(i){const e=An(i,"section-title");if(e)return t().createElement(t().Fragment,null,`${e.textContent.trim()}:`)}}return null},Ny=t().memo((()=>{const e=Vi((e=>e.answers.validationErrors));return t().createElement(My,{validationErrors:e,inExam:!0})})),Ey=t().memo((function(){const e=Vi(uo),{t:n}=ti();return"initial"===e?null:t().createElement("div",{className:"save-indicator e-pad-1 e-font-size-xs"},t().createElement("span",{className:Ri()("save-indicator-text",`save-indicator-text--${e}`)},n("answer-saved")))})),Sy=On({attachment:gm,"attachment-link":Ei("link"),"attachment-links":Si("link"),audio:Qc,"audio-title":ru,"audio-group":rm,"audio-test":im,"choice-answer":vm,"dropdown-answer":jg,"exam-footer":Dg,"external-material":Xc,file:Kc,formula:$c,image:nu,question:Bg,"question-number":Mu,translation:Cu,"question-instruction":Gg,"question-title":Fg,hints:zg,references:sm,"scored-text-answer":iy,"scored-text-answers":zg,"section-instruction":Vg,section:qg,"section-title":Wg,"text-answer":iy,video:lu,"image-overlay":wu}),ky=()=>{const{t:e}=ti();return t().createElement("div",{className:"e-examine-exam-instructions",id:"examineExamInstructions"},e("examine-exam.instructions"))},jy=t().memo(Ru(Ni((({doc:n,casStatus:r,answers:i,restrictedAudioPlaybackStats:o,examServerApi:a,studentName:s,showUndoView:l,undoViewProps:c,annotations:u,onClickAnnotation:d,onSaveAnnotation:f})=>{const{date:p,dateTimeFormatter:h,dayCode:m,examCode:g,language:y,resolveAttachment:b,root:x,subjectLanguage:w}=(0,e.useContext)(Ci),A=An(x,"exam-title"),T=An(x,"exam-instruction"),M=An(x,"table-of-contents"),C=An(x,"external-material"),N=x.getAttribute("exam-stylesheet"),E=(0,e.createRef)(),S=xi((()=>nm(Ad(n),r,i,o,a))),k=xi((()=>pm({showAttachmentLinks:!0,showAnsweringInstructions:!0,isInSidebar:!0}))),j=xi((()=>pm({showAttachmentLinks:!0,showAnsweringInstructions:!0,isInSidebar:!1}))),D=xi((()=>ei(y,g,m)));(0,e.useEffect)(ni(D,y)),(0,e.useEffect)(Ii,[]);const[L,O]=(0,e.useState)([]);(0,e.useEffect)((()=>{const e=new IntersectionObserver(R),t=L;return t.forEach((t=>e.observe(t))),()=>{t.forEach((t=>e.unobserve(t)))}}),[L]);const R=e=>e.forEach((e=>{const t=e.target.getAttribute("data-toc-id");z((n=>e.isIntersecting?[...n,t]:n.filter((e=>e!==t))))})),[P,z]=(0,e.useState)([]);(0,e.useEffect)((()=>{P.forEach((e=>{const t=e.replace("question-",""),n=document.querySelector(`.table-of-contents li[data-list-number="${t}."]`);if(n){const e=(e=>{const t=e.getBoundingClientRect();return t.top>=100&&t.bottom<=window.innerHeight-100})(n),t=document.querySelector(".sidebar-toc-container .table-of-contents");if(!e&&t){const e=t.getBoundingClientRect().height,r=n.offsetTop-e/2;t.scrollTo({behavior:"smooth",top:r})}}}))}),[P]);const U=void 0!==a.examineExam,B="[Kokelaan Nimi]"===s;return t().createElement(eo,{store:S},t().createElement(I,{annotations:u,onClickAnnotation:d,onSaveAnnotation:f},t().createElement(gn.Provider,{value:{visibleTOCElements:P,addRef:e=>{L.includes(e)||O((t=>[...t,e]))}}},t().createElement(v,{i18n:D},t().createElement("main",{className:"e-exam",lang:w,"aria-labelledby":si,ref:E},t().createElement(bd,null),t().createElement(t().StrictMode,null),N&&t().createElement("link",{rel:"stylesheet",href:b(N)}),t().createElement("div",{className:"e-toc-and-exam"},M&&t().createElement("div",{className:"sidebar-toc-container","aria-hidden":"true"},t().createElement(k,{element:M,renderChildNodes:Sy})),t().createElement("div",{className:"main-exam-container"},t().createElement("div",{className:"main-exam"},t().createElement(Qg,{studentName:s}),t().createElement(Su,{"aria-labelledby":si},A&&t().createElement(Lu,{id:si},Sy(A)),p&&t().createElement("p",null,t().createElement("strong",null,h.format(p))),T&&t().createElement(Lg,{element:T,renderChildNodes:Sy}),M&&t().createElement("div",{className:"main-toc-container"},t().createElement(j,{element:M,renderChildNodes:Sy})),C&&t().createElement(Xc,{element:C,renderChildNodes:Sy,forceRender:!0})),Sy(x),(B||U)&&t().createElement("div",{className:"e-examine-exam"},t().createElement(Og,null),t().createElement(ky,null))))),(B||U)&&t().createElement(om,null,t().createElement("div",{className:"e-footer-version-number-container"},t().createElement(mm,null))),t().createElement("div",{className:"e-indicators-container"},t().createElement(Ny,null),t().createElement(Ey,null)),l&&U&&t().createElement(by,{...c}))))))})))),Dy=Uu((({element:n,renderChildNodes:r})=>{const{displayNumber:i}=(0,e.useContext)(zu);return t().createElement(Su,{className:"e-grading-instruction-section","aria-labelledby":ci(i)},r(n))})),Ly=Tu((function({element:n,renderChildNodes:r}){const{displayNumber:i,level:o}=(0,e.useContext)(Au);return t().createElement("div",{className:Ri()("e-grading-instructions-question",{"e-mrg-b-8 e-clearfix":0===o,"e-mrg-l-8 e-mrg-y-4":o>0}),id:i,"data-annotation-anchor":i},t().createElement("div",{className:"anchor",id:`question-nr-${i}`}),r(n,1))})),Oy=({element:e,renderChildNodes:n})=>t().createElement("div",{className:"e-exam-grading-instruction notification e-pad-4","data-annotation-anchor":"exam-grading-instruction"},n(e)),Ry=({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)),Py=({element:n,renderChildNodes:r})=>{const{answers:i}=(0,e.useContext)(Au),o=An(n,"answer-grading-instruction"),a=Mn(n,"max-length"),s=t().createElement(t().Fragment,null,null!=a&&t().createElement(ty,{maxLength:a}),t().createElement("ul",null,r(n)),o&&t().createElement(Ry,{element:o,renderChildNodes:r}));if(1===i.length)return s;{const e=Tn(n,"display-number"),i=Mn(n,"max-score"),o=An(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(Sg,{score:i})),s)}},zy=({element:e,renderChildNodes:n})=>{const r=Mn(e,"score");if(!r)return null;const{t:i}=ti();return t().createElement("li",null,n(e),yn,"(",i("points",{count:r}),")")},Uy=e=>n=>{const r=r=>e(r)?t().createElement(n,{...r}):null;return r.displayName=`RenderIf(${Ti(n)})`,r},By=({element:e,renderChildNodes:n})=>{const r=An(e,["audio-transcription","video-transcription"]);if(r){const{t:i}=ti(),o=An(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},Gy=Uy((({element:e})=>null!=wn(e,["answer-grading-instruction","choice-answer-option","dropdown-answer-option","exam-grading-instruction","question-grading-instruction","hint","question-title","question-instruction"]))),Zy=Uy((({element:e})=>null==wn(e,["external-material"]))),Fy=On({"accepted-answer":zy,attachment:Pu,"attachment-link":Zy(Ei("plain")),"attachment-links":Zy(Si("plain")),audio:By,"audio-group":Pu,"choice-answer":Py,"choice-answer-option":zy,"dropdown-answer":Py,"dropdown-answer-option":zy,"external-material":Pu,file:Gy(Kc),formula:Gy($c),hints:Pu,image:Gy(nu),question:Ly,"question-title":({element:n,renderChildNodes:r})=>{const{displayNumber:i,maxScore:o,level:a}=(0,e.useContext)(Au),s=`h${Math.min(3+a,6)}`;return t().createElement(t().Fragment,null,t().createElement(s,{className:Ri()("exam-question-title",{"e-normal e-font-size-m":a>0})},t().createElement("strong",{className:Ri()("exam-question-title__display-number",{"exam-question-title__display-number--indented":a>0})},`${ju(i)} `),r(n)," ",t().createElement(Sg,{score:o,size:0===a?"large":"small"})))},"question-instruction":Gg,"question-grading-instruction":Ry,"question-number":Mu,translation:Cu,"scored-text-answer":Py,"text-answer":Py,section:Dy,"section-title":({element:n,renderChildNodes:r})=>{const{sections:i}=(0,e.useContext)(Ci),{displayNumber:o}=(0,e.useContext)(zu),{t:a}=ti();return t().createElement(t().Fragment,null,n.hasChildNodes()&&t().createElement("h2",{className:"e-grading-instructions-section-title",id:ci(o)},i.length>1&&a("section",{displayNumber:o})," ",r(n)))},video:By}),Hy=()=>{const{t:e}=ti();return t().createElement(t().Fragment,null,e("grading-instructions-page-title"))},_y=t().memo(Ni((({doc:n,annotations:r,onClickAnnotation:i,onSaveAnnotation:o})=>{const a=n.documentElement,{date:s,dateTimeFormatter:l,dayCode:c,examCode:u,language:d,subjectLanguage:f}=(0,e.useContext)(Ci),p=An(a,"exam-title"),h=An(a,"exam-grading-instruction"),m=An(a,"table-of-contents"),g=pm({showAnsweringInstructions:!1,showAttachmentLinks:!1,isInSidebar:!1}),y=xi((()=>ei(d,u,c)));return(0,e.useEffect)(ni(y,d)),(0,e.useEffect)(Ii,[]),t().createElement(I,{annotations:r,onClickAnnotation:i,onSaveAnnotation:o},t().createElement(v,{i18n:y},t().createElement("main",{className:"e-exam e-grading-instructions",lang:f},t().createElement(bd,null),t().createElement(t().StrictMode,null),t().createElement(Su,{"aria-labelledby":si},t().createElement(Lu,{id:si},t().createElement(Hy,null)," ",p&&Fy(p)),s&&t().createElement("p",null,t().createElement("strong",null,l.format(s))),h&&t().createElement(Oy,{element:h,renderChildNodes:Fy}),m&&t().createElement("div",{className:"main-toc-container"},t().createElement(g,{element:m,renderChildNodes:Fy}))),Fy(a))))}))),Yy=t().createContext({}),qy=Mi(Yy,(({scores:e,doc:t,gradingStructure:n,gradingText:r,answers:i,singleGrading:o})=>{const a=Od(i,"questionId"),s=function(e,t,n,r){return an(e.map((e=>function(e,t,n,r){const i=an(En(e).map((e=>{const i=Mn(e,"question-id"),o=r[i];return o?"choice"===o.type?((e,n)=>{var r;const i=Vy(t,e);return i?null===(r=i.options.find((e=>e.id===Number(n.value))))||void 0===r?void 0:r.score:0})(i,o):(e=>{var t,r;const i=Wy(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===vn(e,"question").length&&i<0?0:i}(e,t,n,r))))}(xn(t.documentElement,"question",!1),n,e,a);return{answersByQuestionId:a,gradingStructure:n,scores:e,totalScore:s,gradingText:r,singleGrading:o}}));function Vy(e,t){const n=(null==e?void 0: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 Wy(e,t){return e.find((e=>e.questionId===t))}const Qy=()=>{const{gradingStructure:t}=(0,e.useContext)(Yy);return void 0===t},Jy=t().memo((function({answers:n,displayNumber:r,children:i,multilineAnswer:o,questionId:a}){var s;const{displayNumber:l}=(0,e.useContext)(Au),c=Qy(),u=r?`${l}.${null==r?void 0:r.replace(".","")}`:void 0,{answersByQuestionId:d}=(0,e.useContext)(Yy),f=!(!a||!d)&&(null===(s=d[a])||void 0===s?void 0:s.answerNonAnswer),{t:p}=ti();return c?null:t().createElement("span",{className:Ri()("e-result-scorecount","e-float-right",{"e-result-scorecount-multiline-answer":o}),id:u},f&&t().createElement("div",{className:"non-answer"},p("grading.non-answer-not-graded")),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))})),Xy=t().memo((function({score:n,maxScore:r,displayNumber:i,questionId:o}){const{answers:a}=(0,e.useContext)(Au),{t:s}=ti(),l={answers:a,displayNumber:i,questionId:o};return t().createElement(Jy,{...l},"number"==typeof n?t().createElement("b",null,n):t().createElement("span",{className:"e-result-scorecount-empty"})," ",r?`/ ${r} `:null," ",s("points",{count:""}))}));function Ky({renderChildNodes:e,selected:n,element:r,questionId:i,direction:o,isCorrect:a}){const{t:s}=ti(),l=r.getAttribute("class"),c=r.getAttribute("option-id"),u=t().createElement("div",{className:Ri()("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:Ri()("e-radio-button",{"e-column e-column--narrow":e}),name:String(i),value:c,checked:n,readOnly:!0}),u,a&&t().createElement(Jg,null,s("screen-reader.correct-answer")));return"vertical"===o?t().createElement("div",{className:"e-mrg-b-1"},t().createElement("label",{className:Ri()("e-columns",{"e-correct-answer-left":a,"e-columns--inline":null==In(r,["image","video"])})},t().createElement(d,{narrow:!0}))):t().createElement("div",{className:"e-column e-mrg-b-1"},t().createElement("label",{className:Ri()("e-block e-text-center",{"e-correct-answer-bottom":a})},t().createElement(d,null)))}const $y=t().memo((function({element:n,renderChildNodes:r}){var i,o;const{answersByQuestionId:a,gradingStructure:s}=(0,e.useContext)(Yy),l=Mn(n,"question-id"),c=a[l],u=n.getAttribute("direction")||"vertical",d=n.getAttribute("class"),f=Vy(s,l),p=c&&(null===(o=null===(i=null==f?void 0:f.options)||void 0===i?void 0:i.find((e=>e.id===Number(c.value))))||void 0===o?void 0:o.score),h=Mn(n,"max-score");return t().createElement(t().Fragment,null,t().createElement(Xy,{score:p,maxScore:h,questionId:l}),t().createElement("div",{className:Ri()("e-choice-answer",d,{"e-columns":"horizontal"===u})},Nn(n,(e=>{var n;const i=Mn(e,"option-id"),o=null!=c&&Number(c.value)===i,a=null===(n=null==f?void 0:f.options)||void 0===n?void 0:n.find((e=>e.id===i));return t().createElement(Ky,{element:e,renderChildNodes:r,questionId:l,key:i,direction:u,selected:o,isCorrect:(null==a?void 0:a.correct)||!1})}))))})),ev=t().memo((function({element:n,renderChildNodes:r}){var i;const{t:o,i18n:a}=ti(),{answersByQuestionId:s,gradingStructure:l}=(0,e.useContext)(Yy),{answers:c}=(0,e.useContext)(Au),u=Mn(n,"question-id"),d=s[u],f=An(n,(e=>(null==d?void 0:d.value)===e.getAttribute("option-id"))),p=Qy(),h=Vy(l,u),m=(null==h?void 0:h.options.filter((e=>e.correct)).map((e=>e.id)))||[],g=Array.from(n.children).filter((e=>m.includes(Mn(e,"option-id")))),y=f&&m.includes(Mn(f,"option-id")),v=Rg(n.getAttribute("display-number")),b=d&&(null===(i=null==h?void 0:h.options.find((e=>e.id===Number(d.value))))||void 0===i?void 0:i.score)||0,I=Mn(n,"max-score");return t().createElement(t().Fragment,null,c.length>1&&t().createElement("sup",null,v),t().createElement("span",{className:Ri()("e-dropdown-answer__answered",!f&&"e-dropdown-answer__no-answer",!p&&{"e-dropdown-answer__answered--correct":y,"e-dropdown-answer__answered--wrong":!y}),"data-question-id":u,"aria-description":f?void 0:a.t("examineExam.questionHasNoAnswer")},t().createElement(Jg,null,o("screen-reader.answer-begin")),f&&r(f),t().createElement(Jg,null,o("screen-reader.answer-end")),y&&t().createElement(Jg,null,o("screen-reader.correct-answer"))),!p&&!y&&t().createElement("span",{className:"e-dropdown-answer__correct","aria-hidden":!0},g.map(((e,n)=>t().createElement(t().Fragment,{key:n},r(e),n<g.length-1&&", ")))),null!=b&&t().createElement(Xy,{score:b,maxScore:I,displayNumber:v,questionId:u}))}));function tv({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(nv,{annotations:e})):t().createElement(t().Fragment,null,t().createElement("div",{className:"e-column e-column--6"},t().createElement(nv,{i18nTitleKey:"grading.pregrading-annotations",annotations:e})),t().createElement("div",{className:"e-column e-column--6"},t().createElement(nv,{i18nTitleKey:"grading.censor-annotations",annotations:n})))):null}const nv=({i18nTitleKey:e,annotations:n})=>{const{t:r}=ti();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},rv=t().memo((function(){const{answers:n}=(0,e.useContext)(Au),{scores:r,singleGrading:i}=(0,e.useContext)(Yy),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=Mn(e,"question-id"),n=Wy(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)=>Yp(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?Rg(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(tv,{pregradingAnnotations:s,censoringAnnotations:l,singleGrading:!!i})})),iv=t().memo(Tu((function({element:n,renderChildNodes:r}){var i,o;const{answersByQuestionId:a,gradingStructure:s}=(0,e.useContext)(Yy),{displayNumber:l,level:c}=(0,e.useContext)(Au),u=function(e,t){return En(e).some((e=>{var n;return null===(n=t[Mn(e,"question-id")])||void 0===n?void 0:n.value}))}(n,a),{i18n:d}=ti(),f=null===(i=null==s?void 0:s.questions)||void 0===i?void 0:i.find((e=>e.displayNumber===l)),p=f&&("choices"in f?f.choices[0].id:f.id),h=!!p&&(null===(o=a[p])||void 0===o?void 0:o.answerNonAnswer);return t().createElement("div",{className:Ri()("e-exam-question",`e-level-${c}`,{"e-mrg-b-8 e-clearfix":0===c,"e-mrg-l-8 e-mrg-y-4":c>0,"no-answer":!u,"non-answer":h}),id:l,"aria-description":u?void 0:d.t("examineExam.questionHasNoAnswer")},r(n),t().createElement(rv,null))}))),ov=t().memo((function({element:n,renderChildNodes:r}){const{displayNumber:i,level:o,maxAnswers:a,maxScore:s,childQuestions:l}=(0,e.useContext)(Au),c=`h${Math.min(3+o,6)}`,u=Qy();return t().createElement(t().Fragment,null,t().createElement(c,{className:Ri()("exam-question-title",{"e-normal e-font-size-m":o>0})},t().createElement("strong",{className:Ri()("exam-question-title__display-number",{"exam-question-title__display-number--indented":o>0})},`${ju(i)} `),r(n)," ",u&&t().createElement(Sg,{score:s,size:0===o?"large":"small"})),null!=a&&l.length>0&&t().createElement("p",{className:"e-italic"},t().createElement(Zg,null),t().createElement(um,{maxAnswers:a,childQuestions:l,elementType:"question"})))})),av=t().memo(Uu((function({element:n,renderChildNodes:r}){const{displayNumber:i}=(0,e.useContext)(zu);return t().createElement(Su,{"aria-labelledby":ci(i)},t().createElement("div",{className:"e-results-section-wrapper"},r(n)))}))),sv=5;function lv(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":cv(e,a,i,l,s,r);break;default:uv(e,a,i,l,s,r)}}}function cv(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=kn("span",{className:"e-annotation-wrapper"});return t.insertBefore(n,e),n.appendChild(e),n}(e),s=function(){const e=kn("mark",{className:Ri()("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(dv(o,"shape",n.message)),e}();return a.appendChild(s),s}(e.querySelectorAll("img")[a],o?t.message:"",t,n,r,i)}function uv(e,t,n,r,i,o){const{startIndex:a,length:s}=t;return function e(f,p,h){var m;if(!l(f)&&!function(e){return"SUP"===e.nodeName}(f)&&!function(e){return"BR"===e.nodeName}(f)&&p>=a){const a=kn("mark",{className:Ri()("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===(m=f.parentElement)||void 0===m||m.insertBefore(a,f);const l=d(a,f,h);l>0?e(c(a),p+s-l,l):i&&a.appendChild(dv(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 dv(e,t,n){return kn("sup",{className:`e-annotation__index e-annotation__index--${t}`,"data-content":n.length>sv?`${e})`:n,"data-message":n})}const fv=t().memo((function({displayNumber:n,score:r,value:i,answers:o,children:a}){const{t:s,i18n:l}=ti(),c=(0,e.useRef)(null);return(0,e.useLayoutEffect)((()=>{var e,t,n,i;c.current&&lv(c.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&&o.length>1&&t().createElement("sup",null,n),t().createElement("span",{className:Ri()("text-answer text-answer--single-line",{"no-answer":!i}),"aria-description":i?void 0:l.t("examineExam.questionHasNoAnswer")},t().createElement(Jg,null,s("screen-reader.answer-begin")),t().createElement("span",{className:"e-inline-block",ref:c},i),t().createElement(Jg,null,s("screen-reader.answer-end"))),a)})),pv=t().memo((function({element:n}){const{answers:r}=(0,e.useContext)(Au),{answersByQuestionId:i,scores:o}=(0,e.useContext)(Yy),a=Mn(n,"question-id"),s=Mn(n,"max-score"),l=i[a],c=l&&l.value,u=Rg(n.getAttribute("display-number")),d=Wy(o,a),f=null==d?void 0:d.autograding;return t().createElement(fv,{answers:r,displayNumber:u,value:c,score:d},t().createElement(Xy,{score:null==f?void 0:f.score,maxScore:s,displayNumber:r.length>1?u:void 0,questionId:a}))}));function hv({maxScore:e}){const{t:n}=ti();return t().createElement(t().Fragment,null,t().createElement("span",{className:"e-result-scorecount-empty"}),e&&` / ${e} `,n("points",{count:""}))}function mv({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 gv({score:e,shortCode:n,type:r,maxScore:i,latest:o}){const{t:a}=ti();return t().createElement("div",{className:o?"e-color-black":"e-color-darkgrey e-font-size-xs"},t().createElement(yv,{className:Ri()("e-nowrap",{"e-font-size-m":o})},o?t().createElement("b",null,e):e,o&&i?` / ${i}`:""," p."),t().createElement(yv,{className:"e-result-scorecount-shortcode"},n),t().createElement(yv,{className:"e-mrg-r-0"},a(r)))}function yv({className:e,children:n}){return t().createElement("span",{className:Ri()("e-mrg-r-1 e-nowrap",e)},n)}function vv({score:e}){return void 0!==e?{score:e,shortCode:"",type:"grading.pregrading-abbrev"}:null}function bv(e){return e.scores.map(((t,n)=>({score:t.score,shortCode:t.shortCode||"",type:"grading.round."+(e.scores.length-n)})))}const Iv=t().memo((function({scores:n,maxScore:r,displayNumber:i,multilineAnswer:o,questionId:a}){var s,l,c,u,d;const{answers:f}=(0,e.useContext)(Au),p={answers:f,displayNumber:i,multilineAnswer:o,questionId:a},h=null===(l=null===(s=null==n?void 0:n.censoring)||void 0===s?void 0:s.nonAnswerDetails)||void 0===l?void 0:l.shortCode;return t().createElement(Jy,{...p},null!=(null===(c=null==n?void 0:n.pregrading)||void 0===c?void 0:c.score)||(null===(d=null===(u=null==n?void 0:n.censoring)||void 0===u?void 0:u.scores)||void 0===d?void 0:d.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?bv(e.censoring):[],e.pregrading&&vv(e.pregrading)].filter(Boolean).map(((e,r)=>t().createElement(gv,{key:r,...e,latest:0===r,maxScore:n})))}(n,r),h&&t().createElement(mv,{shortCode:h})):t().createElement(hv,{maxScore:r}))})),xv=({type:n,score:r,value:i})=>{const{t:o,i18n:a}=ti(),s=(0,e.useRef)(null);return(0,e.useLayoutEffect)((()=>{var e,t,n,i;s.current&&lv(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("div",{className:Ri()("e-multiline-results-text-answer e-line-height-l e-pad-x-2 e-mrg-b-1",{"no-answer":!i}),"aria-description":i?void 0:a.t("examineExam.questionHasNoAnswer")},t().createElement(Jg,null,o("screen-reader.answer-begin")),"rich-text"===n?t().createElement("div",{dangerouslySetInnerHTML:{__html:i||""},ref:s}):t().createElement("div",{className:"e-pre-wrap",ref:s},i),t().createElement(Jg,null,o("screen-reader.answer-end")))},wv=t().memo((function({element:n}){var r;const{answers:i}=(0,e.useContext)(Au),{answersByQuestionId:o,scores:a}=(0,e.useContext)(Yy),{t:s}=ti(),l=Mn(n,"question-id"),c=Mn(n,"max-score"),u=o[l],d=u&&u.value,f=i.length>1?Rg(n.getAttribute("display-number")):void 0,p=Wy(a,l),h=null===(r=null==p?void 0:p.pregrading)||void 0===r?void 0:r.comment,m=n.getAttribute("type")||"single-line",g=Mn(n,"max-length");return"rich-text"===m?t().createElement(t().Fragment,null,null!=g&&t().createElement(ty,{maxLength:g}),t().createElement(Iv,{multilineAnswer:!0,scores:p,maxScore:c,questionId:l}),t().createElement(xv,{type:m,value:d,score:p}),t().createElement(Xg,{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(fv,{answers:i,score:p,displayNumber:f,value:d},t().createElement(Iv,{scores:p,maxScore:c,displayNumber:f,questionId:l}))})),Av=({onEndSession:e,sessionEnded:n})=>{const{t:r}=ti();return t().createElement("div",{className:"e-logout-container"},t().createElement("div",{className:"e-bg-color-off-white e-pad-6 shadow-box"},n?t().createElement(t().Fragment,null,t().createElement("h3",null,r("examineExam.thankYouTitle")),t().createElement("p",null,r("examineExam.shutdownComputer"),t().createElement("br",null),r("examineExam.returnUsbStick"))):t().createElement(t().Fragment,null,t().createElement("h3",null,r("examineExam.endExamTitle")),t().createElement("p",null,r("examineExam.afterInspectingYourAnswers"),t().createElement("br",null),r("examineExam.youCanNotReturnToExam"))),!n&&t().createElement("button",{id:"endSession",className:"e-button",onClick:()=>{e()}},r("examineExam.endExamTitle"))))},Tv=On({attachment:ru,"attachment-link":Ei("plain"),"attachment-links":Si("plain"),"audio-group":ru,"choice-answer":$y,"dropdown-answer":ev,formula:$c,question:iv,hints:ru,image:Uy((({element:e})=>null!=wn(e,"choice-answer")))(nu),"question-instruction":Gg,"question-number":Mu,translation:Cu,"question-title":ov,section:av,"section-title":Wg,"text-answer":wv,"scored-text-answer":pv,"scored-text-answers":ru}),Mv=()=>{const{t:e}=ti();return e("examineExam.returnToExam")},Cv=()=>{const{t:e}=ti();return t().createElement("div",{className:"e-section examine-exam-page-instructions shadow-box"},t().createElement("h3",null,e("examineExam.checkYourAnswersTitle")),t().createElement("ul",null,t().createElement("li",null,e("examineExam.hereAreYourAnswers")),t().createElement("li",null,e("examineExam.checkYourAnswers")),t().createElement("li",null,e("examineExam.removeExcessAnswers")),t().createElement("li",null,t().createElement("span",{className:"no-answer-example"},e("examineExam.emptyAnswersAreHighlighted")),e("examineExam.thereMayBeOptionalQuestions"))))};function Nv(){const{gradingText:n,totalScore:r}=(0,e.useContext)(Yy),{t:i}=ti();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 Ev=t().memo(qy(Ni((({doc:n,returnToExam:r,endSession:i,studentSessionEnded:o=!1,isPreviewPage:a})=>{const{date:s,dateTimeFormatter:l,dayCode:c,examCode:u,language:d,resolveAttachment:f,root:p,subjectLanguage:h}=(0,e.useContext)(Ci),{answersByQuestionId:m}=(0,e.useContext)(Yy),g=An(p,"exam-title"),y=p.getAttribute("exam-stylesheet"),b=xi((()=>ei(d,u,c)));(0,e.useEffect)(ni(b,d)),(0,e.useEffect)(Ii,[]);const I=Qy(),x=void 0!==i,w=!I&&!a;return(0,e.useEffect)((()=>{window.location.hash=""}),[]),t().createElement(v,{i18n:b},t().createElement("main",{className:Ri()("e-exam e-results",{"examine-exam-page":I,"session-ended":o}),lang:h},t().createElement(t().StrictMode,null),y&&t().createElement("link",{rel:"stylesheet",href:f(y)}),!w&&t().createElement("button",{className:"e-exam-done-return js-exam-done-return e-button",onClick:r},"« ",t().createElement(Mv,null)),t().createElement("div",{className:"e-columns e-columns--bottom-v e-mrg-b-4"},g&&t().createElement(Lu,{id:"title",className:"e-column e-mrg-b-0"},Tv(g),s&&`, ${l.format(s)}`),!I&&t().createElement(Nv,null)),!w&&t().createElement(Cv,null),t().createElement(My,{validationErrors:Wp(Ad(n),m),inExam:!1}),Tv(p),(x||a)&&t().createElement(Av,{onEndSession:I?()=>{try{document.querySelectorAll("main > *:not(.e-logout-container)").forEach((e=>{const t=e;t.style.height=`${t.clientHeight}px`})),setTimeout((()=>{i()}),50)}catch(e){console.error(e)}}:()=>Promise.resolve(),sessionEnded:o})),t().createElement(om,null))})))),Sv=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 kv=Math.max;const jv=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:yu(n);return i<0&&(i=kv(r+i,0)),Sv(e,nn(t),i)};var Dv=Math.max,Lv=Math.min;const Ov=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return void 0!==n&&(i=yu(n),i=n<0?Dv(r+i,0):Lv(i,r-1)),Sv(e,nn(t),i,!0)},Rv=function(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:rn(e,t,n)},Pv=function(e){return e!=e},zv=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):Sv(e,Pv,n)};var Uv=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var Bv="\\ud800-\\udfff",Gv="["+Bv+"]",Zv="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Fv="\\ud83c[\\udffb-\\udfff]",Hv="[^"+Bv+"]",_v="(?:\\ud83c[\\udde6-\\uddff]){2}",Yv="[\\ud800-\\udbff][\\udc00-\\udfff]",qv="(?:"+Zv+"|"+Fv+")?",Vv="[\\ufe0e\\ufe0f]?",Wv=Vv+qv+"(?:\\u200d(?:"+[Hv,_v,Yv].join("|")+")"+Vv+qv+")*",Qv="(?:"+[Hv+Zv+"?",Zv,_v,Yv,Gv].join("|")+")",Jv=RegExp(Fv+"(?="+Fv+")|"+Qv+Wv,"g");const Xv=function(e){return function(e){return Uv.test(e)}(e)?function(e){return e.match(Jv)||[]}(e):function(e){return e.split("")}(e)};var Kv=/^\s+/;const $v=function(e,t,n){if((e=Vt(e))&&(n||void 0===t))return e.replace(Kv,"");if(!e||!(t=qt(t)))return e;var r=Xv(e),i=function(e,t){for(var n=-1,r=e.length;++n<r&&zv(t,e[n],0)>-1;);return n}(r,Xv(t));return Rv(r,i).join("")},eb=function(e,t,n){if((e=Vt(e))&&(n||void 0===t))return e.slice(0,uu(e)+1);if(!e||!(t=qt(t)))return e;var r=Xv(e),i=function(e,t){for(var n=e.length;n--&&zv(t,e[n],0)>-1;);return n}(r,Xv(t))+1;return Rv(r,0,i).join("")};function tb(e,t=!1){const n=(new DOMParser).parseFromString(e,"application/xml");return t||xn(n.documentElement,["choice-answer","dropdown-answer"]).filter((e=>"fixed"!==Tn(e,"ordering"))).forEach(nb),xn(n.documentElement,"reference").forEach((e=>{xn(e,(()=>!0),!1).forEach(rb)})),n}function nb(e){for(let t=e.children.length;t>0;t--){const n=Math.floor(Math.random()*t);e.appendChild(e.children[n])}const t=An(e,(e=>"no-answer"===Tn(e,"type")));t&&e.appendChild(t)}function rb(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=jv(n,t),i=Ov(n,t);-1!==r&&(n.slice(0,r).forEach((e=>e.remove())),n[r].textContent=$v(n[r].textContent)),-1!==i&&(n.slice(i+1).forEach((e=>e.remove())),n[i].textContent=eb(n[i].textContent))}})(),a})()));
2
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define?define(["react"],t):"object"==typeof exports?exports.ExamBundle=t(require("react")):e.ExamBundle=t(e.React)}(this,(e=>(()=>{var t,n,r={5968:(e,t,n)=>{!function(){var t=n(4651),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),m=-1;function g(e){p("a direction was passed",e===m||1===e)}var y=h(t,(function(e){e.insDirOf=function(e,t){return e===m?this.insertBefore(t.first()):this.insertAfter(t.last())},e.insAtDirEnd=function(e,t){return e===m?this.prependTo(t):this.appendTo(t)}})),v=h((function(e){e.parent=0,e[m]=0,e[1]=0,e.init=function(e,t,n){this.parent=e,this[m]=t,this[1]=n},this.copy=function(e){return v(e.parent,e[m],e[1])}})),b=h((function(e){e[m]=0,e[1]=0,e.parent=0;var t=0;this.byId={},e.init=function(){this.id=t+=1,b.byId[this.id]=this,this.ends={},this.ends[m]=0,this.ends[1]=0},e.dispose=function(){delete b.byId[this.id]},e.toString=function(){return"{{ MathQuill Node #"+this.id+" }}"},e.jQ=y(),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&&b.byId[n].jQadd(e),r&&b.byId[r].jQadd(e)}for(e=e.firstChild;e;e=e.nextSibling)t(e)}e=y(e||this.html());for(var n=0;n<e.length;n+=1)t(e[n]);return e},e.createDir=function(e,t){g(e);var n=this;return n.jQize(),n.jQ.insDirOf(e,t.jQ),t[e]=n.adopt(t.parent,t[m],t[1]),n},e.createLeftOf=function(e){return this.createDir(m,e)},e.selectChildren=function(e,t){return M(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[m]&&0===this.ends[1]},e.isStyleBlock=function(){return!1},e.children=function(){return x(this.ends[m],this.ends[1])},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 x(this,this).withDirAdopt(e,t,n,r),this},e.adopt=function(e,t,n){return x(this,this).adopt(e,t,n),this},e.disown=function(){return x(this,this).disown(),this},e.remove=function(){return this.jQ.remove(),this.postOrder("dispose"),this.disown()}}));function I(e,t,n){p("a parent is always present",e),p("leftward is properly set up",t?t[1]===n&&t.parent===e:e.ends[m]===n),p("rightward is properly set up",n?n[m]===t&&n.parent===e:e.ends[1]===t)}var x=h((function(e){e.init=function(e,t,n){if(void 0===n&&(n=m),g(n),p("no half-empty fragments",!e==!t),this.ends={},e){p("withDir is passed to Fragment",e instanceof b),p("oppDir is passed to Fragment",t instanceof b),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=y(),e.withDirAdopt=function(e,t,n,r){return e===m?this.adopt(t,n,r):this.adopt(t,r,n)},e.adopt=function(e,t,n){I(e,t,n);var r=this;r.disowned=!1;var i=r.ends[m];if(!i)return this;var o=r.ends[1];return t||(e.ends[m]=i),n?n[m]=o:e.ends[1]=o,r.ends[1][1]=n,r.each((function(n){n[m]=t,n.parent=e,t&&(t[1]=n),t=n})),r},e.disown=function(){var e=this,t=e.ends[m];if(!t||e.disowned)return e;e.disowned=!0;var n=e.ends[1],r=t.parent;return I(r,t[m],t),I(r,n,n[1]),t[m]?t[m][1]=n[1]:r.ends[m]=n[1],n[1]?n[1][m]=t[m]:r.ends[1]=t[m],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[m];if(!n)return t;for(;n!==t.ends[1][1]&&!1!==e(n);n=n[1]);return t})),e.fold=function(e,t){return this.each((function(n){e=t.call(this,e,n)})),e}})),w={},A={},T=h(v,(function(e){e.init=function(e,t){this.parent=e,this.options=t;var n=this.jQ=this._jQ=y('<span class="mq-cursor">&#8203;</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[1]?this.selection&&this.selection.ends[m][m]===this[m]?this.jQ.insertBefore(this.selection.jQ):this.jQ.insertBefore(this[1].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=y(),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 g(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(m,e)},e.insRightOf=function(e){return this.insDirOf(1,e)},e.insAtDirEnd=function(e,t){return g(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(m,e)},e.insAtRightEnd=function(e){return this.insAtDirEnd(1,e)},e.jumpUpDown=function(e,t){var n=this;n.upDownCache[e.id]=v.copy(n);var r=n.upDownCache[t.id];if(r)r[1]?n.insLeftOf(r[1]):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[1],r=e[m];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[1])})),!this[1])if(this[m])this[1]=this[m][1];else for(;!this[1];){if(this.parent=this.parent[1],!this.parent){this[1]=e[1],this.parent=t;break}this[1]=this.parent.ends[m]}this[1]?this.insLeftOf(this[1]):this.insAtRightEnd(t),e.jQ.remove(),e[m].siblingDeleted&&e[m].siblingDeleted(this.options,1),e[1].siblingDeleted&&e[1].siblingDeleted(this.options,m)},e.startSelection=function(){for(var e=this.anticursor=v.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[m]===e[m]&&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=1;if(t[m]!==o)for(var s=t;s;s=s[1])if(s[1]===o[1]){a=m,r=t,i=o;break}return 1===a&&(r=o,i=t),r instanceof v&&(r=r[1]),i instanceof v&&(i=i[m]),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[m]=this.selection.ends[m][m],this[1]=this.selection.ends[1][1],this.selection.remove(),this.selectionChanged(),delete this.selection)},e.replaceSelection=function(){var e=this.selection;return e&&(this[m]=e.ends[m][m],this[1]=e.ends[1][1],delete this.selection),e},e.depth=function(){for(var e=this,t=0;e=e.parent;)t+=e instanceof W?1:0;return t},e.isTooDeep=function(e){if(void 0!==this.options.maxDepth)return this.depth()+(e||0)>this.options.maxDepth}})),M=h(x,(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]()}))}})),C=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=T(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===m||1===t?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={},N=h(),S={},k=h(),j={};function D(){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 L(e){return D(),_e(e)}L.prototype=k.p,L.VERSION="v0.10.11",L.interfaceVersion=function(e){if(1!==e)throw"Only interface version 1 supported. You specified: "+e;return(D=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')})(),L},L.getInterface=P;var O=P.MIN=1,R=P.MAX=2;function P(e){if(!(O<=e&&e<=R))throw"Only interface versions between "+O+" and "+R+" supported. You specified: "+e;function n(e){if(!e||!e.nodeType)return null;var t=y(e).children(".mq-root-block").attr(i),n=t&&b.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=S[n];e[n]=o?o(i):i}}n.L=m,n.R=1,n.saneKeyboardEvents=Z,n.config=function(e){return o(N.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";j[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=y('<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[m]=e.ends[1]=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[m];)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(m)},e.moveToRightEnd=function(){return this.moveToDirEnd(1)},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-y(window).scrollLeft(),i=t-y(window).scrollTop(),o=document.elementFromPoint(r,i);this.__controller.seek(y(o),e,t),Be().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(y(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=C(o.RootBlock(),y(r),N());return s.KIND_OF_MQ=t,o(s).__mathquillify(i,e)},n[t].prototype=o.prototype}(l,E[l]);return n}L.noConflict=function(){return window.MathQuill=z,L};var z=window.MathQuill;function U(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=L;var B,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)})))})),Z=(B={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=B[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 m(){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(m))}}),{select:function(e){c(),c=s,clearTimeout(r),a.val(e),e&&a[0].select&&a[0].select(),f=!!e}}});C.open((function(e,t){e.exportText=function(){return this.root.foldChildren("",(function(e,t){return e+t.text()}))}})),C.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"),y(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()})),y(window).bind("blur",i)})),t.blurred=!0,r.hide().parent.blur()},e.unbindFocusBlurEvents=function(){this.textarea.unbind("focus blur")}})),C.open((function(e){e.keystroke=function(e,t){this.cursor.parent.keystroke(e,t,this)}})),b.open((function(e){e.keystroke=function(e,t,n){var r=n.cursor;switch(e){case"Ctrl-Shift-Backspace":case"Ctrl-Backspace":n.ctrlDeleteDir(m);break;case"Shift-Backspace":case"Backspace":n.backspace();break;case"Esc":case"Tab":return void n.escapeDir(1,e,t);case"Shift-Tab":case"Shift-Esc":return void n.escapeDir(m,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[1];)n.selectRight();break;case"Ctrl-Shift-End":for(;r[1]||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[m];)n.selectLeft();break;case"Ctrl-Shift-Home":for(;r[m]||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[m])for(;r[m];)n.selectLeft();else n.selectLeft();case"Shift-Down":if(r[1])for(;r[1];)n.selectRight();else n.selectRight();case"Ctrl-Up":case"Ctrl-Down":break;case"Ctrl-Shift-Del":case"Ctrl-Del":n.ctrlDeleteDir(1);break;case"Shift-Del":case"Del":n.deleteForward();break;case"Meta-A":case"Ctrl-A":for(n.notify("move").cursor.insAtRightEnd(n.root);r[m];)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")}})),C.open((function(e){function t(e,t){var n=e.notify("upDown").cursor,r=t+"Into",i=t+"OutOf";return n[1][r]?n.insAtLeftEnd(n[1][r]):n[m][r]?n.insAtRightEnd(n[m][r]):n.parent.bubble((function(e){var t=e[i];if(t&&("function"==typeof t&&(t=e[i](n)),t instanceof b&&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){g(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")},S.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){g(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(m)},e.moveRight=function(){return this.moveDir(1)},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){g(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[m].siblingDeleted&&t[m].siblingDeleted(t.options,1),t[1].siblingDeleted&&t[1].siblingDeleted(t.options,m),t.parent.bubble("reflow"),this},e.ctrlDeleteDir=function(e){g(e);var t=this.cursor;return!t[e]||t.selection?this.deleteDir(e):(this.notify("edit"),e===m?x(t.parent.ends[m],t[m]).remove():x(t[1],t.parent.ends[1]).remove(),t.insAtDirEnd(e,t.parent),t[m].siblingDeleted&&t[m].siblingDeleted(t.options,1),t[1].siblingDeleted&&t[1].siblingDeleted(t.options,m),t.parent.bubble("reflow"),this)},e.backspace=function(){return this.deleteDir(m)},e.deleteForward=function(){return this.deleteDir(1)},this.onNotify((function(e){"select"!==e&&this.endSelection()})),e.selectDir=function(e){var t=this.notify("select").cursor,n=t.selection;g(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(m)},e.selectRight=function(){return this.selectDir(1)}}));var F=function(){function e(e){for(var t=e[0]||W(),n=1;n<e.length;n+=1)e[n].children().adopt(t,t.ends[1],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 re(e)})),c=n(/^[^${}\\_^]/).map((function(e){return q(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=W();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("]")),m=p;return m.block=f,m.optBlock=h,m}();C.open((function(e,t){e.exportLatex=function(){return this.root.latex().replace(/(\\[a-z]+) (?![a-z])/gi,"$1")},S.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[m]=t.ends[1]=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[m]=t.ends[1]=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=$(n);t.createBlocks();var r=t.ends[m];return e.children().adopt(r,0,0),t})),l=i("\\$").result("$").or(r(/^[^$]/)).map(q),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[1],0);t.jQize().appendTo(t.jQ),t.finalizeInsert(n.options)}}})),C.open((function(e){N.p.ignoreNextMousedown=s,e.delegateMouseEvents=function(){var e=this.root.jQ;this.container.bind("mousedown.mathquill",(function(t){var n,r=y(t.target).closest(".mq-root-block"),o=b.byId[r.attr(i)||e.attr(i)].controller,a=o.cursor,l=a.blink,c=o.textareaSpan,u=o.textarea;function d(e){n=y(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(y(t.target),t.pageX,t.pageY).cursor.startSelection(),r.mousemove(d),y(t.target.ownerDocument).mousemove(f).mouseup((function e(t){a.blink=l,a.selection||(o.editable?a.show():c.detach()),r.unbind("mousemove",d),y(t.target.ownerDocument).unbind("mousemove",f).unbind("mouseup",e)})))}))}})),C.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?b.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}})),C.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[m]===e[1])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)}})),C.open((function(e){N.p.substituteTextarea=function(){return y("<textarea autocapitalize=off autocomplete=off autocorrect=off spellcheck=false x-palm-disable-ste-all=true />")[0]},e.createTextarea=function(){var e=this.textareaSpan=y('<span class="mq-textarea"></span>'),t=this.options.substituteTextarea();if(!t.nodeType)throw"substituteTextarea() must return a DOM element, got "+t;t=this.textarea=y(t).appendTo(e);var n=this;n.cursor.selectionChanged=function(){n.selectionChanged()}},e.selectionChanged=function(){var e=this;ve(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()}},N.p.substituteKeyboardEvents=Z,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 H=h(b,(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[1].siblingCreated&&n[1].siblingCreated(e,m),n[m].siblingCreated&&n[m].siblingCreated(e,1),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 W?1:0;(n=t[1]+o)<=e?r.push([i,n]):(o?i.children():i).remove()}))}})),_=h(H,(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[1],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[m],0,0),r.jQ.appendTo(n.ends[m].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]=W()).adopt(e,e.ends[1],0)},e.placeCursor=function(e){e.insAtRightEnd(this.foldChildren(this.ends[m],(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 M(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[m]=e.jQ.offset().left,t[1]=t[m]+e.jQ.outerWidth(),t}var r=this,i=n(r);if(e<i[m])return t.insLeftOf(r);if(e>i[1])return t.insRightOf(r);var o=i[m];r.eachChild((function(a){var s=n(a);return e<s[m]?(e-o<s[m]-e?a[m]?t.insAtRightEnd(a[m]):t.insLeftOf(r):t.insAtLeftEnd(a),!1):e>s[1]?void(a[1]?o=s[1]:i[1]-e<e-s[1]?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]||"")}))}})),Y=h(_,(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}})),q=h(Y,(function(e,t){e.init=function(e,n){t.init.call(this,e,"<span>"+(n||e)+"</span>")}})),V=h(Y,(function(e,t){e.init=function(e,n,r){t.init.call(this,e,'<span class="mq-binary-operator">'+n+"</span>",r)}})),W=h(H,(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[m]===this.ends[1]&&0!==this.ends[m]?this.ends[m].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?m:1,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[1];if(!n||n.jQ.offset().left+n.jQ.outerWidth()<e)return t.insAtRightEnd(this);if(e<this.ends[m].jQ.offset().left)return t.insAtLeftEnd(this);for(;e<n.jQ.offset().left;)n=n[m];return n.seek(e,t)},e.chToCmd=function(e,t){var n;return e.match(/^[a-eg-zA-Z]$/)?re(e):/^\d$/.test(e)?te(e):t&&t.typingSlashWritesDivisionSymbol&&"/"===e?w["÷"](e):t&&t.typingAsteriskWritesTimesSymbol&&"*"===e?w["×"](e):(n=A[e]||w[e])?n(e):q(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[m],e[1]),i.jQize().insertBefore(e.jQ),e[m]=i.ends[1],i.finalizeInsert(e.options,e),i.ends[1][1].siblingCreated&&i.ends[1][1].siblingCreated(e.options,m),i.ends[m][m].siblingCreated&&i.ends[m][m].siblingCreated(e.options,1),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}}));N.p.mouseEvents=!0,E.StaticMath=function(e){return h(e.AbstractMathQuill,(function(t,n){this.RootBlock=W,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 Q=h(W,U);E.MathField=function(e){return h(e.EditableField,(function(e,t){this.RootBlock=Q,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 J=h(b,(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=X(t.data);return n.jQadd(t),e.children().disown(),n.adopt(e,0,0)}}e.ctrlSeq="\\text",e.replaces=function(e){e instanceof x?this.replacedText=e.remove().jQ.text():"string"==typeof e&&(this.replacedText=e)},e.jQadd=function(e){t.jQadd.call(this,e),this.ends[m]&&this.ends[m].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[1].siblingCreated&&n[1].siblingCreated(e.options,m),n[m].siblingCreated&&n[m].siblingCreated(e.options,1),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?x():(X(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=_.prototype.selectTowards,e.deleteTowards=_.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[m]?e[m].appendText(n):X(n).createLeftOf(e);else if(this.isEmpty())e.insRightOf(this),q("\\$","$").createLeftOf(e);else if(e[1])if(e[m]){var r=J(),i=this.ends[m];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[m]?e[m].appendText(t):X(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?m:1,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[m]&&t[m].text.length;if(this.anticursorPosition===c)t.anticursor=v.copy(t);else{if(this.anticursorPosition<c){var u=t[m].splitRight(this.anticursorPosition);t[m]=u}else u=t[1].splitRight(this.anticursorPosition-c);t.anticursor=v(this,u[m],u)}}}else this.anticursorPosition=t[m]&&t[m].text.length},e.blur=function(e){W.prototype.blur.call(this),e&&(""===this.textContents()?(this.remove(),e[m]===this?e[m]=this[m]:e[1]===this&&(e[1]=this[1])):n(this))},e.focus=W.prototype.focus})),X=h(b,(function(e,t){function n(e,t){return t.charAt(e===m?0:-1+t.length)}e.init=function(e){t.init.call(this),this.text=e},e.jQadd=function(e){this.dom=e,this.jQ=y(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){g(t),1===t?this.appendText(e):this.prependText(e)},e.splitRight=function(e){var t=X(this.text.slice(e)).adopt(this.parent,this,this[1]);return t.jQadd(this.dom.splitText(e)),this.text=this.text.slice(0,e),t},e.moveTowards=function(e,t){g(e);var r=n(-e,this.text),i=this[-e];return i?i.insTextAtDirEnd(r,e):X(r).createDir(-e,t),this.deleteTowards(e,t)},e.latex=function(){return this.text},e.deleteTowards=function(e,t){this.text.length>1?1===e?(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){g(e);var r=t.anticursor,i=n(-e,this.text);if(r[e]===this){var o=X(i).createDir(e,t);r[e]=o,t.insDirOf(e,o)}else{var a=this[-e];a?a.insTextAtDirEnd(i,e):(o=X(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 K(e,t,n){return h(J,{ctrlSeq:e,htmlTemplate:"<"+t+" "+n+">&0</"+t+">"})}w.text=w.textnormal=w.textrm=w.textup=w.textmd=J,w.em=w.italic=w.italics=w.emph=w.textit=w.textsl=K("\\textit","i",'class="mq-text-mode"'),w.strong=w.bold=w.textbf=K("\\textbf","b",'class="mq-text-mode"'),w.sf=w.textsf=K("\\textsf","span",'class="mq-sans-serif mq-text-mode"'),w.tt=w.texttt=K("\\texttt","span",'class="mq-monospace mq-text-mode"'),w.textsc=K("\\textsc","span",'style="font-variant:small-caps" class="mq-text-mode"'),w.uppercase=K("\\uppercase","span",'style="text-transform:uppercase" class="mq-text-mode"'),w.lowercase=K("\\lowercase","span",'style="text-transform:lowercase" class="mq-text-mode"');var $=h(_,(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[m].cursor=this.cursor,this.ends[m].write=function(e,t){"$"!==t?W.prototype.write.call(this,e,t):this.isEmpty()?(e.insRightOf(this.parent),this.parent.deleteTowards(dir,e),q("\\$","$").createLeftOf(e.show())):e[1]?e[m]?W.prototype.write.call(this,e,t):e.insLeftOf(this.parent):e.insRightOf(this.parent)}},e.latex=function(){return"$"+this.ends[m].latex()+"$"}})),ee=h(Q,(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?$(e).createLeftOf(e):("<"===t?n="&lt;":">"===t&&(n="&gt;"),q(t,n).createLeftOf(e))}}));E.TextField=function(e){return h(e.EditableField,(function(e,t){this.RootBlock=ee,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 te=h(q,(function(e,t){e.createLeftOf=function(e){e.options.autoSubscriptNumerals&&e.parent!==e.parent.parent.sub&&(e[m]instanceof ne&&!1!==e[m].isItalic||e[m]instanceof Ce&&e[m][m]instanceof ne&&!1!==e[m][m].isItalic)?(w._().createLeftOf(e),t.createLeftOf.call(this,e),e.insRightOf(e.parent.parent)):t.createLeftOf.call(this,e)}})),ne=h(Y,(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[m]||this[m]instanceof ne||this[m]instanceof V||"\\ "===this[m].ctrlSeq||(e="*"+e),!this[1]||this[1]instanceof V||this[1]instanceof Ce||(e+="*")),e}}));N.p.autoCommands={_maxLength:0},S.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]===se)throw'"'+o+'" is a built-in operator name';n[o]=1,r=a(r,o.length)}return n._maxLength=r,n};var re=h(ne,(function(e,t){function n(e){return!e||e instanceof V||e instanceof Ne}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 re&&o.ctrlSeq===o.letter&&a<r;)i=o.letter+i,o=o[m],a+=1;for(;i.length;){if(n.hasOwnProperty(i)){for(a=1,o=this;a<i.length;a+=1,o=o[m]);return x(o,this).remove(),e[m]=o[m],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!==m&&this[1]instanceof re||this.autoUnItalicize(e)},e.autoUnItalicize=function(e){var t=e.autoOperatorNames;if(0!==t._maxLength){for(var r=this.letter,i=this[m];i instanceof re;i=i[m])r=i.letter+r;for(var a=this[1];a instanceof re;a=a[1])r+=a.letter;x(i[1]||this.parent.ends[m],a[m]||this.parent.ends[1]).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[1]||this.parent.ends[m];s<r.length;s+=1,l=l[1])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[1]){f.italicize(!1);var p=f}var h=ie.hasOwnProperty(u);if(l.ctrlSeq=(h?"\\":"\\operatorname{")+l.ctrlSeq,p.ctrlSeq+=h?" ":"}",ae.hasOwnProperty(u)&&p[m][m][m].jQ.addClass("mq-last"),n(l[m])||l.jQ.addClass("mq-first"),!n(p[1]))if(p[1]instanceof Ce){var g=p[1];(g.siblingCreated=g.siblingDeleted=function(){g.jQ.toggleClass("mq-after-operator-name",!(g[1]instanceof Re))})()}else p.jQ.toggleClass("mq-last",!(p[1]instanceof Re));s+=c-1,l=p;continue e}}}}})),ie={},oe=N.p.autoOperatorNames={_maxLength:9},ae={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)ie[e[t]]=oe[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)ie[n[t]]=1;var r="sin cos tan sec cosec csc cotan cot ctg".split(" ");for(t=0;t<r.length;t+=1)oe[r[t]]=oe["arc"+r[t]]=oe[r[t]+"h"]=oe["ar"+r[t]+"h"]=oe["arc"+r[t]+"h"]=1;var i="gcf hcf lcm proj span".split(" ");for(t=0;t<i.length;t+=1)oe[i[t]]=1}(),S.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 se=h(Y,(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)re(t.charAt(n)).createLeftOf(e)},e.parser=function(){for(var e=this.ctrlSeq,t=W(),n=0;n<e.length;n+=1)re(e.charAt(n)).adopt(t,t.ends[1],0);return G.succeed(t.children())}}));for(var le in oe)oe.hasOwnProperty(le)&&(w[le]=se);w.operatorname=h(_,(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(re,(function(e,t){e.init=function(){Y.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(q,"\\ ","&nbsp;"),w[","]=f(q,"{,}",","),w["'"]=w.prime=f(q,"'","&prime;"),w["″"]=w.dprime=f(q,"″","&Prime;"),w.backslash=f(q,"\\backslash ","\\"),A["\\"]||(A["\\"]=w.backslash),w.$=f(q,"\\$","$");var ce=h(Y,(function(e,t){e.init=function(e,n){t.init.call(this,e,'<span class="mq-nonSymbola">'+(n||e)+"</span>")}}));w["@"]=ce,w["#"]=f(ce,"\\#","#"),w["&"]=f(ce,"\\&","&amp;"),w["%"]=f(ce,"\\%","%"),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(ne,(function(e,t){e.init=function(e){t.init.call(this,"\\"+e+" ","&"+e+";")}})),w.phi=f(ne,"\\phi ","&#981;"),w.phiv=w.varphi=f(ne,"\\varphi ","&phi;"),w.epsilon=f(ne,"\\epsilon ","&#1013;"),w.epsiv=w.varepsilon=f(ne,"\\varepsilon ","&epsilon;"),w.piv=w.varpi=f(ne,"\\varpi ","&piv;"),w.sigmaf=w.sigmav=w.varsigma=f(ne,"\\varsigma ","&sigmaf;"),w.thetav=w.vartheta=w.thetasym=f(ne,"\\vartheta ","&thetasym;"),w.upsilon=w.upsi=f(ne,"\\upsilon ","&upsilon;"),w.gammad=w.Gammad=w.digamma=f(ne,"\\digamma ","&#989;"),w.kappav=w.varkappa=f(ne,"\\varkappa ","&#1008;"),w.rhov=w.varrho=f(ne,"\\varrho ","&#1009;"),w.pi=w["π"]=f(ce,"\\pi ","&pi;"),w.lambda=f(ce,"\\lambda ","&lambda;"),w.Upsilon=w.Upsi=w.upsih=w.Upsih=f(Y,"\\Upsilon ",'<var style="font-family: serif">&upsih;</var>'),w.Gamma=w.Delta=w.Theta=w.Lambda=w.Xi=w.Pi=w.Sigma=w.Phi=w.Psi=w.Omega=w.forall=h(q,(function(e,t){e.init=function(e){t.init.call(this,"\\"+e+" ","&"+e+";")}}));var ue=h(_,(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[m],e[1]),e[m]=t.ends[1],t.jQize().insertBefore(e.jQ),t.finalizeInsert(e.options,e),t.ends[1][1].siblingCreated&&t.ends[1][1].siblingCreated(e.options,m),t.ends[m][m].siblingCreated&&t.ends[m][m].siblingCreated(e.options,1),e.parent.bubble("reflow")},e.parser=function(){var e=F.parse(this.latex).children();return G.succeed(e)}}));w["⁰"]=f(ue,"^0"),w["¹"]=f(ue,"^1"),w["²"]=f(ue,"^2"),w["³"]=f(ue,"^3"),w["⁴"]=f(ue,"^4"),w["⁵"]=f(ue,"^5"),w["⁶"]=f(ue,"^6"),w["⁷"]=f(ue,"^7"),w["⁸"]=f(ue,"^8"),w["⁹"]=f(ue,"^9"),w["₀"]=f(ue,"_0"),w["₁"]=f(ue,"_1"),w["₂"]=f(ue,"_2"),w["₃"]=f(ue,"_3"),w["₄"]=f(ue,"_4"),w["₅"]=f(ue,"_5"),w["₆"]=f(ue,"_6"),w["₇"]=f(ue,"_7"),w["₈"]=f(ue,"_8"),w["₉"]=f(ue,"_9"),w["¼"]=f(ue,"\\frac14"),w["½"]=f(ue,"\\frac12"),w["¾"]=f(ue,"\\frac34");var de=h(V,(function(e){e.init=q.prototype.init,e.contactWeld=e.siblingCreated=e.siblingDeleted=function(e,t){if(1!==t)return this.jQ[0].className=function e(t){return t[m]?t[m]instanceof V||/^[,;:\(\[]$/.test(t[m].ctrlSeq)?"":"mq-binary-operator":t.parent&&t.parent.parent&&t.parent.parent.isStyleBlock()?e(t.parent.parent):""}(this),this}}));w["+"]=f(de,"+","+"),w["–"]=w["-"]=f(de,"-","&minus;"),w["±"]=w.pm=w.plusmn=w.plusminus=f(de,"\\pm ","&plusmn;"),w.mp=w.mnplus=w.minusplus=f(de,"\\mp ","&#8723;"),A["*"]=w.sdot=w.cdot=f(V,"\\cdot ","&middot;","*");var fe=h(V,(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===m&&!this.strict)return this.swap(!0),void this.bubble("reflow");t.deleteTowards.apply(this,arguments)}})),pe={ctrlSeq:"\\le ",html:"&le;",text:"≤",ctrlSeqStrict:"<",htmlStrict:"&lt;",textStrict:"<"},he={ctrlSeq:"\\ge ",html:"&ge;",text:"≥",ctrlSeqStrict:">",htmlStrict:"&gt;",textStrict:">"};w["<"]=w.lt=f(fe,pe,!0),w[">"]=w.gt=f(fe,he,!0),w["≤"]=w.le=w.leq=f(fe,pe,!1),w["≥"]=w.ge=w.geq=f(fe,he,!1);var me=h(V,(function(e,t){e.init=function(){t.init.call(this,"=","=")},e.createLeftOf=function(e){if(e[m]instanceof fe&&e[m].strict)return e[m].swap(!1),void e[m].bubble("reflow");t.createLeftOf.apply(this,arguments)}}));w["="]=me,w["×"]=w.times=f(V,"\\times ","&times;","[x]"),w["÷"]=w.div=w.divide=w.divides=f(V,"\\div ","&divide;","[/]"),A["~"]=w.sim=f(V,"\\sim ","~","~"),w.notin=w.cong=w.equiv=w.oplus=w.otimes=h(V,(function(e,t){e.init=function(e){t.init.call(this,"\\"+e+" ","&"+e+";")}})),w["≠"]=w.ne=w.neq=f(V,"\\ne ","&ne;"),w["∗"]=w.ast=w.star=w.loast=w.lowast=f(V,"\\ast ","&lowast;"),w.therefor=w.therefore=f(V,"\\therefore ","&there4;"),w.cuz=w.because=f(V,"\\because ","&#8757;"),w.prop=w.propto=f(V,"\\propto ","&prop;"),w["≈"]=w.asymp=w.approx=f(V,"\\approx ","&asymp;"),w["≢"]=w.notequiv=w.nequiv=f(V,"\\not\\equiv ","&#8802;"),w.isin=w.in=f(V,"\\in ","&isin;"),w.ni=w.contains=f(V,"\\ni ","&ni;"),w.notni=w.niton=w.notcontains=w.doesnotcontain=f(V,"\\not\\ni ","&#8716;"),w.sub=w.subset=f(V,"\\subset ","&sub;"),w.sup=w.supset=w.superset=f(V,"\\supset ","&sup;"),w.nsub=w.notsub=w.nsubset=w.notsubset=f(V,"\\not\\subset ","&#8836;"),w.nsup=w.notsup=w.nsupset=w.notsupset=w.nsuperset=w.notsuperset=f(V,"\\not\\supset ","&#8837;"),w.sube=w.subeq=w.subsete=w.subseteq=f(V,"\\subseteq ","&sube;"),w.supe=w.supeq=w.supsete=w.supseteq=w.supersete=w.superseteq=f(V,"\\supseteq ","&supe;"),w.nsube=w.nsubeq=w.notsube=w.notsubeq=w.nsubsete=w.nsubseteq=w.notsubsete=w.notsubseteq=f(V,"\\not\\subseteq ","&#8840;"),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(V,"\\not\\supseteq ","&#8841;"),w.mathbb=h(_,(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(q,"\\mathbb{N}","&#8469;"),w.P=w.primes=w.Primes=w.projective=w.Projective=w.probability=w.Probability=f(q,"\\mathbb{P}","&#8473;"),w.Z=w.integers=w.Integers=f(q,"\\mathbb{Z}","&#8484;"),w.Q=w.rationals=w.Rationals=f(q,"\\mathbb{Q}","&#8474;"),w.R=w.reals=w.Reals=f(q,"\\mathbb{R}","&#8477;"),w.C=w.complex=w.Complex=w.complexes=w.Complexes=w.complexplane=w.Complexplane=w.ComplexPlane=f(q,"\\mathbb{C}","&#8450;"),w.H=w.Hamiltonian=w.quaternions=w.Quaternions=f(q,"\\mathbb{H}","&#8461;"),w.quad=w.emsp=f(q,"\\quad "," "),w.qquad=f(q,"\\qquad "," "),w.diamond=f(q,"\\diamond ","&#9671;"),w.bigtriangleup=f(q,"\\bigtriangleup ","&#9651;"),w.ominus=f(q,"\\ominus ","&#8854;"),w.uplus=f(q,"\\uplus ","&#8846;"),w.bigtriangledown=f(q,"\\bigtriangledown ","&#9661;"),w.sqcap=f(q,"\\sqcap ","&#8851;"),w.triangleleft=f(q,"\\triangleleft ","&#8882;"),w.sqcup=f(q,"\\sqcup ","&#8852;"),w.triangleright=f(q,"\\triangleright ","&#8883;"),w.odot=w.circledot=f(q,"\\odot ","&#8857;"),w.bigcirc=f(q,"\\bigcirc ","&#9711;"),w.dagger=f(q,"\\dagger ","&#0134;"),w.ddagger=f(q,"\\ddagger ","&#135;"),w.wr=f(q,"\\wr ","&#8768;"),w.amalg=f(q,"\\amalg ","&#8720;"),w.models=f(q,"\\models ","&#8872;"),w.prec=f(q,"\\prec ","&#8826;"),w.succ=f(q,"\\succ ","&#8827;"),w.preceq=f(q,"\\preceq ","&#8828;"),w.succeq=f(q,"\\succeq ","&#8829;"),w.simeq=f(q,"\\simeq ","&#8771;"),w.mid=f(q,"\\mid ","&#8739;"),w.nmid=f(q,"\\nmid","&#8740;"),w.ll=f(q,"\\ll ","&#8810;"),w.gg=f(q,"\\gg ","&#8811;"),w.parallel=f(q,"\\parallel ","&#8741;"),w.nparallel=f(q,"\\nparallel ","&#8742;"),w.bowtie=f(q,"\\bowtie ","&#8904;"),w.sqsubset=f(q,"\\sqsubset ","&#8847;"),w.sqsupset=f(q,"\\sqsupset ","&#8848;"),w.smile=f(q,"\\smile ","&#8995;"),w.sqsubseteq=f(q,"\\sqsubseteq ","&#8849;"),w.sqsupseteq=f(q,"\\sqsupseteq ","&#8850;"),w.doteq=f(q,"\\doteq ","&#8784;"),w.frown=f(q,"\\frown ","&#8994;"),w.vdash=f(q,"\\vdash ","&#8870;"),w.dashv=f(q,"\\dashv ","&#8867;"),w.nless=f(q,"\\nless ","&#8814;"),w.ngtr=f(q,"\\ngtr ","&#8815;"),w.longleftarrow=f(q,"\\longleftarrow ","&#8592;"),w.longrightarrow=f(q,"\\longrightarrow ","&#8594;"),w.Longleftarrow=f(q,"\\Longleftarrow ","&#8656;"),w.Longrightarrow=f(q,"\\Longrightarrow ","&#8658;"),w.longleftrightarrow=f(q,"\\longleftrightarrow ","&#8596;"),w.updownarrow=f(q,"\\updownarrow ","&#8597;"),w.Longleftrightarrow=f(q,"\\Longleftrightarrow ","&#8660;"),w.Updownarrow=f(q,"\\Updownarrow ","&#8661;"),w.mapsto=f(q,"\\mapsto ","&#8614;"),w.nearrow=f(q,"\\nearrow ","&#8599;"),w.hookleftarrow=f(q,"\\hookleftarrow ","&#8617;"),w.hookrightarrow=f(q,"\\hookrightarrow ","&#8618;"),w.searrow=f(q,"\\searrow ","&#8600;"),w.leftharpoonup=f(q,"\\leftharpoonup ","&#8636;"),w.rightharpoonup=f(q,"\\rightharpoonup ","&#8640;"),w.swarrow=f(q,"\\swarrow ","&#8601;"),w.leftharpoondown=f(q,"\\leftharpoondown ","&#8637;"),w.rightharpoondown=f(q,"\\rightharpoondown ","&#8641;"),w.nwarrow=f(q,"\\nwarrow ","&#8598;"),w.ldots=f(q,"\\ldots ","&#8230;"),w.cdots=f(q,"\\cdots ","&#8943;"),w.vdots=f(q,"\\vdots ","&#8942;"),w.ddots=f(q,"\\ddots ","&#8945;"),w.surd=f(q,"\\surd ","&#8730;"),w.triangle=f(q,"\\triangle ","&#9651;"),w.ell=f(q,"\\ell ","&#8467;"),w.top=f(q,"\\top ","&#8868;"),w.flat=f(q,"\\flat ","&#9837;"),w.natural=f(q,"\\natural ","&#9838;"),w.sharp=f(q,"\\sharp ","&#9839;"),w.wp=f(q,"\\wp ","&#8472;"),w.bot=f(q,"\\bot ","&#8869;"),w.clubsuit=f(q,"\\clubsuit ","&#9827;"),w.diamondsuit=f(q,"\\diamondsuit ","&#9826;"),w.heartsuit=f(q,"\\heartsuit ","&#9825;"),w.spadesuit=f(q,"\\spadesuit ","&#9824;"),w.parallelogram=f(q,"\\parallelogram ","&#9649;"),w.square=f(q,"\\square ","&#11036;"),w.oint=f(q,"\\oint ","&#8750;"),w.bigcap=f(q,"\\bigcap ","&#8745;"),w.bigcup=f(q,"\\bigcup ","&#8746;"),w.bigsqcup=f(q,"\\bigsqcup ","&#8852;"),w.bigvee=f(q,"\\bigvee ","&#8744;"),w.bigwedge=f(q,"\\bigwedge ","&#8743;"),w.bigodot=f(q,"\\bigodot ","&#8857;"),w.bigotimes=f(q,"\\bigotimes ","&#8855;"),w.bigoplus=f(q,"\\bigoplus ","&#8853;"),w.biguplus=f(q,"\\biguplus ","&#8846;"),w.lfloor=f(q,"\\lfloor ","&#8970;"),w.rfloor=f(q,"\\rfloor ","&#8971;"),w.lceil=f(q,"\\lceil ","&#8968;"),w.rceil=f(q,"\\rceil ","&#8969;"),w.opencurlybrace=w.lbrace=f(q,"\\lbrace ","{"),w.closecurlybrace=w.rbrace=f(q,"\\rbrace ","}"),w.lbrack=f(q,"["),w.rbrack=f(q,"]"),w.slash=f(q,"/"),w.vert=f(q,"|"),w.perp=w.perpendicular=f(q,"\\perp ","&perp;"),w.nabla=w.del=f(q,"\\nabla ","&nabla;"),w.hbar=f(q,"\\hbar ","&#8463;"),w.AA=w.Angstrom=w.angstrom=f(q,"\\text\\AA ","&#8491;"),w.ring=w.circ=w.circle=f(q,"\\circ ","&#8728;"),w.bull=w.bullet=f(q,"\\bullet ","&bull;"),w.setminus=w.smallsetminus=f(q,"\\setminus ","&#8726;"),w["¬"]=w.neg=f(q,"\\neg ","&not;"),w.not=h(q,(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 ","&not;")},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(q,"\\dots ","&hellip;"),w.converges=w.darr=w.dnarr=w.dnarrow=w.downarrow=f(q,"\\downarrow ","&darr;"),w.dArr=w.dnArr=w.dnArrow=w.Downarrow=f(q,"\\Downarrow ","&dArr;"),w.diverges=w.uarr=w.uparrow=f(q,"\\uparrow ","&uarr;"),w.uArr=w.Uparrow=f(q,"\\Uparrow ","&uArr;"),w.to=f(V,"\\to ","&rarr;"),w.rarr=w.rightarrow=f(q,"\\rightarrow ","&rarr;"),w.implies=f(V,"\\Rightarrow ","&rArr;"),w.rArr=w.Rightarrow=f(q,"\\Rightarrow ","&rArr;"),w.gets=f(V,"\\gets ","&larr;"),w.larr=w.leftarrow=f(q,"\\leftarrow ","&larr;"),w.impliedby=f(V,"\\Leftarrow ","&lArr;"),w.lArr=w.Leftarrow=f(q,"\\Leftarrow ","&lArr;"),w.harr=w.lrarr=w.leftrightarrow=f(q,"\\leftrightarrow ","&harr;"),w.iff=f(V,"\\Leftrightarrow ","&hArr;"),w.hArr=w.lrArr=w.Leftrightarrow=f(q,"\\Leftrightarrow ","&hArr;"),w.Re=w.Real=w.real=f(q,"\\Re ","&real;"),w.Im=w.imag=w.image=w.imagin=w.imaginary=w.Imaginary=f(q,"\\Im ","&image;"),w.part=w.partial=f(q,"\\partial ","&part;"),w.infty=w.infin=w.infinity=f(q,"\\infty ","&infin;"),w.pounds=f(q,"\\pounds ","&pound;"),w.alef=w.alefsym=w.aleph=w.alephsym=f(q,"\\aleph ","&alefsym;"),w.xist=w.xists=w.exist=w.exists=f(q,"\\exists ","&exist;"),w.nexists=w.nexist=f(q,"\\nexists ","&#8708;"),w.and=w.land=w.wedge=f(V,"\\wedge ","&and;"),w.or=w.lor=w.vee=f(V,"\\vee ","&or;"),w.o=w.O=w.empty=w.emptyset=w.oslash=w.Oslash=w.nothing=w.varnothing=f(V,"\\varnothing ","&empty;"),w.cup=w.union=f(V,"\\cup ","&cup;"),w.cap=w.intersect=w.intersection=f(V,"\\cap ","&cap;"),w.deg=w.degree=f(q,"°","&deg;"),w.ang=w.angle=f(q,"\\angle ","&ang;"),w.measuredangle=f(q,"\\measuredangle ","&#8737;"),w.sphericalangle=f(q,"\\sphericalangle ","&#8738;");var ge,ye,ve=s,be=document.createElement("div").style;for(var Ie in{transform:1,WebkitTransform:1,MozTransform:1,OTransform:1,msTransform:1})if(Ie in be){ye=Ie;break}ye?ge=function(e,t,n){e.css(ye,"scale("+t+","+n+")")}:"filter"in be?(ve=function(e){e.className=e.className},ge=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);y(window).load((function(){clearTimeout(o),i()}))}):ge=function(e,t,n){e.css("fontSize",n+"em")};var xe=h(_,(function(e,t){e.init=function(e,n,r){t.init.call(this,e,"<"+n+" "+r+">&0</"+n+">")}})),we=h(ne,(function(e,t){e.symbols={C:"&#8450;",H:"&#8461;",N:"&#8469;",P:"&#8473;",Q:"&#8474;",R:"&#8477;",Z:"&#8484;"},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(xe,"\\mathrm","span",'class="mq-roman mq-font"'),w.mathit=f(xe,"\\mathit","i",'class="mq-font"'),w.mathbf=f(xe,"\\mathbf","b",'class="mq-font"'),w.mathsf=f(xe,"\\mathsf","span",'class="mq-sans-serif mq-font"'),w.mathtt=f(xe,"\\mathtt","span",'class="mq-monospace mq-font"'),w.mathbb=h(_,(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(ne(n).adopt(e,e.ends[1],0)),t.remove()})),i.length&&(r[1]=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=ne;we.prototype.symbols[n]&&(r=we),r(n).adopt(e,e.ends[1],0),t.remove()})),e.jQize().appendTo(e.jQ)}))}})),w.underline=f(xe,"\\underline","span",'class="mq-non-leaf mq-underline"'),w.bar=f(xe,"\\bar","span",'class="mq-non-leaf mq-overline"'),w.overline=f(xe,"\\overline","span",'class="mq-non-leaf mq-overline"');var Ae=h(_,(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(Ae,"\\overrightarrow",'class="mq-non-leaf mq-overarrow mq-arrow-right"'),w.overleftarrow=f(Ae,"\\overleftarrow",'class="mq-non-leaf mq-overarrow mq-arrow-left"'),w.overleftrightarrow=f(Ae,"\\overleftrightarrow",'class="mq-non-leaf mq-overarrow mq-arrow-leftright"'),w.underrightarrow=f(Ae,"\\underrightarrow",'class="mq-non-leaf mq-underarrow mq-arrow-right"'),w.underleftarrow=f(Ae,"\\underleftarrow",'class="mq-non-leaf mq-underarrow mq-arrow-left"'),w.underleftrightarrow=f(Ae,"\\underleftrightarrow",'class="mq-non-leaf mq-underarrow mq-arrow-leftright"');var Te=h(_,(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">&#x21cc;</span></span>'})),Me=w.xrightleftharpoons=h(Te,(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">&#x21cc;</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=Me();return n.blocks=[e,t],e.adopt(n,0,0),t.adopt(n,e,0),n}))})).or(F.block.map((function(e){var t=Te();return t.blocks=[e],e.adopt(t,0,0),t})))},e.latex=function(){return this.ctrlSeq+"["+this.ends[m].latex()+"]{"+this.ends[1].latex()+"}"}}));w.overarc=f(xe,"\\overarc","span",'class="mq-non-leaf mq-overarc"'),w.dot=h(_,(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">&#x2d9;</span><span class="mq-empty-box">&0</span></span></span>')}})),w.textcolor=h(_,(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(_,(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 Ce=h(_,(function(e,t){e.ctrlSeq="_{...}^{...}",e.createLeftOf=function(e){if(this.replacedFragment||e[m]||!e.options.supSubsRequireOperand)return t.createLeftOf.apply(this,arguments)},e.contactWeld=function(e){for(var t=m;t;t=t===m&&1)if(this[t]instanceof Ce){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=v(i,0,i.ends[m]);else{r.jQ.children().insAtDirEnd(-t,i.jQ);var o=r.children().disown(),a=v(i,o.ends[1],i.ends[m]);t===m?o.adopt(i,i.ends[1],0):o.adopt(i,0,i.ends[m])}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[m]===this&&(1===t&&a?a[m]?e.insRightOf(a[m]):e.insAtLeftEnd(a.parent):e.insRightOf(this[t]));break}},N.p.charsThatBreakOutOfSupSub="",e.finalizeTree=function(){this.ends[m].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 Y?e.deleteSelection():e.clearSelection().insRightOf(this.parent),n.createLeftOf(e.show())}e[m]&&!e[1]&&!e.selection&&e.options.charsThatBreakOutOfSupSub.indexOf(t)>-1&&e.insRightOf(this.parent),W.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 Y?r.remove():r&&r.deleteTowards(e,n.insAtDirEnd(-e,this.sub)),this.sub.isEmpty()&&(this.sub.deleteOutOf(m,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=y('<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=y('<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">&#8203;</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&&y(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[1])return e.insLeftOf(t);n=n.parent.parent}while(n!==t);e.insRightOf(t)}w.subscript=w._=h(Ce,(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">&#8203;</span></span>',e.textTemplate=["_"],e.finalizeTree=function(){this.downInto=this.sub=this.ends[m],this.sub.upOutOf=Ee,t.finalizeTree.call(this)}})),w.superscript=w.supscript=w["^"]=h(Ce,(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[1],this.sup.downOutOf=Ee,t.finalizeTree.call(this)}}));var Ne=h(_,(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>';Y.prototype.init.call(this,e,n)},e.createLeftOf=function(e){t.createLeftOf.apply(this,arguments),e.options.sumStartsWithNEquals&&(re("n").createLeftOf(e),me().createLeftOf(e))},e.latex=function(){function e(e){return 1===e.length?e:"{"+(e||" ")+"}"}return this.ctrlSeq+"_"+e(this.ends[m].latex())+"^"+e(this.ends[1].latex())},e.parser=function(){for(var e=G.string,t=G.optWhitespace,n=G.succeed,r=F.block,i=this,o=i.blocks=[W(),W()],a=0;a<o.length;a+=1)o[a].adopt(i,i.ends[1],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[1],0),n(i)}))})).many().result(i)},e.finalizeTree=function(){this.downInto=this.ends[m],this.upInto=this.ends[1],this.ends[m].upOutOf=this.ends[1],this.ends[1].downOutOf=this.ends[m]}}));w["∑"]=w.sum=w.summation=f(Ne,"\\sum ","&sum;"),w["∏"]=w.prod=w.product=f(Ne,"\\prod ","&prod;"),w.coprod=w.coproduct=f(Ne,"\\coprod ","&#8720;"),w["∫"]=w.int=w.integral=h(Ne,(function(e,t){e.init=function(){Y.prototype.init.call(this,"\\int ",'<span class="mq-int mq-non-leaf"><big>&int;</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">&#8203</span></span></span>')},e.createLeftOf=_.p.createLeftOf})),w.bigg=w.intsub=w.integralsubstitution=h(Ne,(function(e,t){e.init=function(){Y.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">&#8203</span></span></span>')},e.createLeftOf=_.p.createLeftOf,e.parser=function(){var e=this,t=G.string,n=G.optWhitespace,r=G.succeed;e.blocks=[W(),W()];for(var i=0;i<e.blocks.length;i+=1)e.blocks[i].adopt(e,e.ends[1],0);return t("/_{").then(t("\\!").many()).then(F).then((function(t){return t.children().adopt(e.blocks[0],e.blocks[0].ends[1],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[1],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 Se=w.frac=w.dfrac=w.cfrac=w.fraction=h(_,(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">&#8203;</span></span>',e.textTemplate=["(",")/(",")"],e.finalizeTree=function(){this.upInto=this.ends[1].upOutOf=this.ends[m],this.downInto=this.ends[m].downOutOf=this.ends[1]}})),ke=w.over=A["/"]=h(Se,(function(e,t){e.createLeftOf=function(e){if(!this.replacedFragment){for(var n=e[m];n&&!(n instanceof V||n instanceof(w.text||s)||n instanceof Ne||"\\ "===n.ctrlSeq||/^[,;:]$/.test(n.ctrlSeq));)n=n[m];n instanceof Ne&&n[1]instanceof Ce&&(n=n[1])[1]instanceof Ce&&n[1].ctrlSeq!=n.ctrlSeq&&(n=n[1]),n===e[m]||e.isTooDeep(1)||(this.replaces(x(n[1]||e.parent.ends[m],e[m])),e[m]=n)}t.createLeftOf.call(this,e)}})),je=w.sqrt=w["√"]=h(_,(function(e,t){e.ctrlSeq="\\sqrt",e.htmlTemplate='<span class="mq-non-leaf"><span class="mq-scaled mq-sqrt-prefix">&radic;</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=De();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[1].jQ;ge(e.prev(),1,e.innerHeight()/+e.css("fontSize").slice(0,-2)-.1)}})),De=(w.hat=h(_,(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(je,(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">&radic;</span><span class="mq-sqrt-stem mq-non-leaf">&1</span></span>',e.textTemplate=["sqrt[","](",")"],e.latex=function(){return"\\sqrt["+this.ends[m].latex()+"]{"+this.ends[1].latex()+"}"}}))),Le=h(_,(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 Oe(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"));ge(this.delimjQs,o(1+.2*(e-1),1.2),1.2*e)}}w.vec=f(Le,"\\vec","&rarr;",["vec(",")"]),w.tilde=f(Le,"\\tilde","~",["tilde(",")"]);var Re=h(h(_,Oe),(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[m]={ch:n,ctrlSeq:i},this.sides[1]={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'+(1===this.side?" mq-ghost":"")+'">'+this.sides[m].ch+'</span><span class="mq-non-leaf">&0</span><span class="mq-scaled mq-paren'+(this.side===m?" mq-ghost":"")+'">'+this.sides[1].ch+"</span></span>",t.html.call(this)},e.latex=function(){return"\\left"+this.sides[m].ctrlSeq+this.ends[m].latex()+"\\right"+this.sides[1].ctrlSeq},e.matchBrack=function(e,t,n){return n instanceof Re&&n.side&&n.side!==-t&&(!e.restrictMismatchedBrackets||Pe[this.sides[this.side].ch]===n.sides[n.side].ch||{"(":"]","[":")"}[this.sides[m].ch]===n.sides[1].ch)&&n},e.closeOpposing=function(e){e.side=0,e.sides[this.side]=this.sides[this.side],e.delimjQs.eq(this.side===m?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[m].ch)var r=this.matchBrack(n,1,e[1])||this.matchBrack(n,m,e[m])||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]&&x(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(x(e[-i],e.parent.ends[-i],i)),e[-i]=0),t.createLeftOf.call(r,e);i===m?e.insAtLeftEnd(r.ends[m]):e.insRightOf(r)},e.placeCursor=s,e.unwrap=function(){this.ends[m].children().disown().adopt(this.parent,this,this[1]).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[m].ends[this.side])){this.closeOpposing(this.ends[m].ends[this.side]);var l=this.ends[m].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:Pe[this.sides[this.side].ch],ctrlSeq:Pe[this.sides[this.side].ctrlSeq]},this.delimjQs.removeClass("mq-ghost").eq(e===m?0:1).addClass("mq-ghost").html(this.sides[e].ch)}i?(l=this.ends[m].ends[e],x(i,o,-e).disown().withDirAdopt(-e,this.ends[m],l,0).jQ.insAtDirEnd(e,this.ends[m].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[m])}},e.deleteTowards=function(e,t){this.deleteSide(-e,!1,t)},e.finalizeTree=function(){this.ends[m].deleteOutOf=function(e,t){this.parent.deleteSide(e,!0,t)},this.finalizeTree=this.intentionalBlur=function(){this.delimjQs.eq(this.side===m?1:0).removeClass("mq-ghost"),this.side=0}},e.siblingCreated=function(e,t){t===-this.side&&this.finalizeTree()}})),Pe={"(":")",")":"(","[":"]","]":"[","{":"}","}":"{","\\{":"\\}","\\}":"\\{","&lang;":"&rang;","&rang;":"&lang;","\\langle ":"\\rangle ","\\rangle ":"\\langle ","|":"|","\\lVert ":"\\rVert ","\\rVert ":"\\lVert "};function ze(e,t){t=t||e;var n=Pe[e],r=Pe[t];A[e]=f(Re,m,e,n,t,r),A[n]=f(Re,1,e,n,t,r)}ze("("),ze("["),ze("{","\\{"),w.langle=f(Re,m,"&lang;","&rang;","\\langle ","\\rangle "),w.rangle=f(Re,1,"&lang;","&rang;","\\langle ","\\rangle "),A["|"]=f(Re,m,"|","|","|","|"),w.lVert=f(Re,m,"&#8741;","&#8741;","\\lVert ","\\rVert "),w.rVert=f(Re,1,"&#8741;","&#8741;","\\lVert ","\\rVert "),w.left=h(_,(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="&lang;",r+=" "),"\\lVert"==r&&(i="&#8741;",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="&rang;",e+=" "),"\\rVert"==e&&(t="&#8741;",e+=" ");var n=Re(0,i,t,r,e);return n.blocks=[o],o.adopt(n,0,0),n}))}))}))}})),w.right=h(_,(function(e){e.parser=function(){return G.fail("unmatched \\right")}}));var Ue=w.binom=w.binomial=h(h(_,Oe),(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(Ue,(function(e){e.createLeftOf=ke.prototype.createLeftOf})),w.editable=w.MathQuillMathField=h(_,(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=C(this.ends[m],this.jQ,e);t.KIND_OF_MQ="MathField",t.editable=!0,t.createTextarea(),t.editablesTextareaEvents(),t.cursor.insAtRightEnd(t.root),U(t.root)},e.registerInnerField=function(e,t){e.push(e[this.name]=t(this.ends[m].controller))},e.latex=function(){return this.ends[m].latex()},e.text=function(){return this.ends[m].text()}}));var Be=w.embed=h(Y,(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(j[i](t))}))}))}})),Ge={};w.begin=h(_,(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 Ze=h(_,(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(Ze,(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&&ge(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=[He(0,this),He(0,this),He(1,this),He(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(He(i,e,r)),r=[]}e.blocks=[];for(var a=0;a<t.length;a+=1)t[a]instanceof W?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[1]=r[o+1],n[m]=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[m]=r[0],this.ends[1]=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,He(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=y("<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=He(s+1)).parent=this,r.push(t),t.jQ=y('<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=He(a)).parent=this,o.push(n),r[a].splice(t,0,n),n.jQ=y('<td class="mq-empty">').attr(i,n.id);return this.jQ.find("tr").each((function(e){y(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:"&#8214;",right:"&#8214;"}})),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 He=h(W,(function(e,t){e.init=function(e,n,r){if(t.init.call(this),this.row=e,n&&this.adopt(n,n.ends[1],0),r)for(var i=0;i<r.length;i++)r[i].children().adopt(this,this.ends[1],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(m,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)}))}})),_e=(A["\\"]=h(_,(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[m].focus=function(){return this.parent.jQ.addClass("mq-hasCursor"),this.isEmpty()&&this.parent.jQ.removeClass("mq-empty"),this},this.ends[m].blur=function(){return this.parent.jQ.removeClass("mq-hasCursor"),this.isEmpty()&&this.parent.jQ.addClass("mq-empty"),this},this.ends[m].write=function(e,t){e.show().deleteSelection(),t.match(/[a-z]/i)?q(t).createLeftOf(e):(this.parent.renderCommand(e),"\\"===t&&this.isEmpty()||e.parent.write(e,t))},this.ends[m].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 y(e.target=n).trigger(e),!1})).insertBefore(this.jQ).add(this.jQ)}},e.latex=function(){return"\\"+this.ends[m].latex()+" "},e.renderCommand=function(e){this.jQ=this.jQ.last(),this.remove(),this[1]?e.insLeftOf(this[1]):e.insAtRightEnd(this.parent);var t=this.ends[m].latex();t||(t=" ");var n=w[t]||Ge[t];n?(n=n(t),this._replacedFragment&&n.replaces(this._replacedFragment),n.createLeftOf(e)):((n=J()).replaces(t),n.createLeftOf(e),e.insRightOf(n),this._replacedFragment&&this._replacedFragment.remove())}})),P(1));for(var Ye in _e)!function(e,t){"function"==typeof t?(L[e]=function(){return D(),t.apply(this,arguments)},L[e].prototype=t.prototype):L[e]=t}(Ye,_e[Ye]);"object"==typeof e.exports&&(e.exports=L)}()},6660:(e,t,n)=>{e.exports=n(8226)},8427:(e,t,n)=>{"use strict";var r=n(4345),i=n(6435),o=n(5905),a=n(3025),s=n(3916),l=n(6135),c=n(6923),u=n(1792),d=n(292),f=n(9945);e.exports=function(e){return new Promise((function(t,n){var p,h=e.data,m=e.headers,g=e.responseType;function y(){e.cancelToken&&e.cancelToken.unsubscribe(p),e.signal&&e.signal.removeEventListener("abort",p)}r.isFormData(h)&&delete m["Content-Type"];var v=new XMLHttpRequest;if(e.auth){var b=e.auth.username||"",I=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";m.Authorization="Basic "+btoa(b+":"+I)}var x=s(e.baseURL,e.url);function w(){if(v){var r="getAllResponseHeaders"in v?l(v.getAllResponseHeaders()):null,o={data:g&&"text"!==g&&"json"!==g?v.response:v.responseText,status:v.status,statusText:v.statusText,headers:r,config:e,request:v};i((function(e){t(e),y()}),(function(e){n(e),y()}),o),v=null}}if(v.open(e.method.toUpperCase(),a(x,e.params,e.paramsSerializer),!0),v.timeout=e.timeout,"onloadend"in v?v.onloadend=w:v.onreadystatechange=function(){v&&4===v.readyState&&(0!==v.status||v.responseURL&&0===v.responseURL.indexOf("file:"))&&setTimeout(w)},v.onabort=function(){v&&(n(u("Request aborted",e,"ECONNABORTED",v)),v=null)},v.onerror=function(){n(u("Network Error",e,null,v)),v=null},v.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||d.transitional;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(u(t,e,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",v)),v=null},r.isStandardBrowserEnv()){var A=(e.withCredentials||c(x))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;A&&(m[e.xsrfHeaderName]=A)}"setRequestHeader"in v&&r.forEach(m,(function(e,t){void 0===h&&"content-type"===t.toLowerCase()?delete m[t]:v.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(v.withCredentials=!!e.withCredentials),g&&"json"!==g&&(v.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&v.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&v.upload&&v.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(p=function(e){v&&(n(!e||e&&e.type?new f("canceled"):e),v.abort(),v=null)},e.cancelToken&&e.cancelToken.subscribe(p),e.signal&&(e.signal.aborted?p():e.signal.addEventListener("abort",p))),h||(h=null),v.send(h)}))}},8226:(e,t,n)=>{"use strict";var r=n(4345),i=n(5063),o=n(9560),a=n(4816),s=function e(t){var n=new o(t),s=i(o.prototype.request,n);return r.extend(s,o.prototype,n),r.extend(s,n),s.create=function(n){return e(a(t,n))},s}(n(292));s.Axios=o,s.Cancel=n(9945),s.CancelToken=n(5912),s.isCancel=n(6945),s.VERSION=n(9978).version,s.all=function(e){return Promise.all(e)},s.spread=n(8127),s.isAxiosError=n(8568),e.exports=s,e.exports.default=s},9945:e=>{"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},5912:(e,t,n)=>{"use strict";var r=n(9945);function i(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;this.promise.then((function(e){if(n._listeners){var t,r=n._listeners.length;for(t=0;t<r;t++)n._listeners[t](e);n._listeners=null}})),this.promise.then=function(e){var t,r=new Promise((function(e){n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},i.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},i.source=function(){var e;return{token:new i((function(t){e=t})),cancel:e}},e.exports=i},6945:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},9560:(e,t,n)=>{"use strict";var r=n(4345),i=n(3025),o=n(546),a=n(1617),s=n(4816),l=n(6552),c=l.validators;function u(e){this.defaults=e,this.interceptors={request:new o,response:new o}}u.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&l.assertOptions(t,{silentJSONParsing:c.transitional(c.boolean),forcedJSONParsing:c.transitional(c.boolean),clarifyTimeoutError:c.transitional(c.boolean)},!1);var n=[],r=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(r=r&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var i,o=[];if(this.interceptors.response.forEach((function(e){o.push(e.fulfilled,e.rejected)})),!r){var u=[a,void 0];for(Array.prototype.unshift.apply(u,n),u=u.concat(o),i=Promise.resolve(e);u.length;)i=i.then(u.shift(),u.shift());return i}for(var d=e;n.length;){var f=n.shift(),p=n.shift();try{d=f(d)}catch(e){p(e);break}}try{i=a(d)}catch(e){return Promise.reject(e)}for(;o.length;)i=i.then(o.shift(),o.shift());return i},u.prototype.getUri=function(e){return e=s(this.defaults,e),i(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,n,r){return this.request(s(r||{},{method:e,url:t,data:n}))}})),e.exports=u},546:(e,t,n)=>{"use strict";var r=n(4345);function i(){this.handlers=[]}i.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=i},3916:(e,t,n)=>{"use strict";var r=n(4860),i=n(7825);e.exports=function(e,t){return e&&!r(t)?i(e,t):t}},1792:(e,t,n)=>{"use strict";var r=n(7148);e.exports=function(e,t,n,i,o){var a=new Error(e);return r(a,t,n,i,o)}},1617:(e,t,n)=>{"use strict";var r=n(4345),i=n(7638),o=n(6945),a=n(292),s=n(9945);function l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s("canceled")}e.exports=function(e){return l(e),e.headers=e.headers||{},e.data=i.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return l(e),t.data=i.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(l(e),t&&t.response&&(t.response.data=i.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},7148:e=>{"use strict";e.exports=function(e,t,n,r,i){return e.config=t,n&&(e.code=n),e.request=r,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},4816:(e,t,n)=>{"use strict";var r=n(4345);e.exports=function(e,t){t=t||{};var n={};function i(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function o(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:i(void 0,e[n]):i(e[n],t[n])}function a(e){if(!r.isUndefined(t[e]))return i(void 0,t[e])}function s(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:i(void 0,e[n]):i(void 0,t[n])}function l(n){return n in t?i(e[n],t[n]):n in e?i(void 0,e[n]):void 0}var c={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l};return r.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||o,i=t(e);r.isUndefined(i)&&t!==l||(n[e]=i)})),n}},6435:(e,t,n)=>{"use strict";var r=n(1792);e.exports=function(e,t,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},7638:(e,t,n)=>{"use strict";var r=n(4345),i=n(292);e.exports=function(e,t,n){var o=this||i;return r.forEach(n,(function(n){e=n.call(o,e,t)})),e}},292:(e,t,n)=>{"use strict";var r=n(4345),i=n(2327),o=n(7148),a={"Content-Type":"application/x-www-form-urlencoded"};function s(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var l,c={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(l=n(8427)),l),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(s(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)||t&&"application/json"===t["Content-Type"]?(s(t,"application/json"),function(e,t,n){if(r.isString(e))try{return(0,JSON.parse)(e),r.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||c.transitional,n=t&&t.silentJSONParsing,i=t&&t.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||i&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(a){if("SyntaxError"===e.name)throw o(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){c.headers[e]=r.merge(a)})),e.exports=c},9978:e=>{e.exports={version:"0.24.0"}},5063:e=>{"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},3025:(e,t,n)=>{"use strict";var r=n(4345);function i(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(r.isURLSearchParams(t))o=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!=e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(i(t)+"="+i(e))})))})),o=a.join("&")}if(o){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},7825:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},5905:(e,t,n)=>{"use strict";var r=n(4345);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,i,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},4860:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},8568:e=>{"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},6923:(e,t,n)=>{"use strict";var r=n(4345);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){var n=r.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},2327:(e,t,n)=>{"use strict";var r=n(4345);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},6135:(e,t,n)=>{"use strict";var r=n(4345),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,o,a={};return e?(r.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=r.trim(e.substr(0,o)).toLowerCase(),n=r.trim(e.substr(o+1)),t){if(a[t]&&i.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},8127:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},6552:(e,t,n)=>{"use strict";var r=n(9978).version,i={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){i[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var o={};i.transitional=function(e,t,n){function i(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,a){if(!1===e)throw new Error(i(r," has been removed"+(t?" in "+t:"")));return t&&!o[r]&&(o[r]=!0,console.warn(i(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,a)}},e.exports={assertOptions:function(e,t,n){if("object"!=typeof e)throw new TypeError("options must be an object");for(var r=Object.keys(e),i=r.length;i-- >0;){var o=r[i],a=t[o];if(a){var s=e[o],l=void 0===s||a(s,o,e);if(!0!==l)throw new TypeError("option "+o+" must be "+l)}else if(!0!==n)throw Error("Unknown option "+o)}},validators:i}},4345:(e,t,n)=>{"use strict";var r=n(5063),i=Object.prototype.toString;function o(e){return"[object Array]"===i.call(e)}function a(e){return void 0===e}function s(e){return null!==e&&"object"==typeof e}function l(e){if("[object Object]"!==i.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function c(e){return"[object Function]"===i.call(e)}function u(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),o(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}e.exports={isArray:o,isArrayBuffer:function(e){return"[object ArrayBuffer]"===i.call(e)},isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:s,isPlainObject:l,isUndefined:a,isDate:function(e){return"[object Date]"===i.call(e)},isFile:function(e){return"[object File]"===i.call(e)},isBlob:function(e){return"[object Blob]"===i.call(e)},isFunction:c,isStream:function(e){return s(e)&&c(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:u,merge:function e(){var t={};function n(n,r){l(t[r])&&l(n)?t[r]=e(t[r],n):l(n)?t[r]=e({},n):o(n)?t[r]=n.slice():t[r]=n}for(var r=0,i=arguments.length;r<i;r++)u(arguments[r],n);return t},extend:function(e,t,n){return u(t,(function(t,i){e[i]=n&&"function"==typeof t?r(t,n):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},2743: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 Object.propertyIsEnumerable.call(e,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},6593:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attributeNames=t.elementNames=void 0,t.elementNames=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map((function(e){return[e.toLowerCase(),e]}))),t.attributeNames=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map((function(e){return[e.toLowerCase(),e]})))},5193: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);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}: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}),t.render=void 0;var s=a(n(3338)),l=n(2305),c=n(6593),u=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function d(e){return e.replace(/"/g,"&quot;")}var f=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function p(e,t){void 0===t&&(t={});for(var n=("length"in e?e:[e]),r="",i=0;i<n.length;i++)r+=h(n[i],t);return r}function h(e,t){switch(e.type){case s.Root:return p(e.children,t);case s.Doctype:case s.Directive:return"<".concat(e.data,">");case s.Comment:return"\x3c!--".concat(e.data,"--\x3e");case s.CDATA:return function(e){return"<![CDATA[".concat(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&&m.has(e.parent.name)&&(t=r(r({},t),{xmlMode:!1}))),!t.xmlMode&&g.has(e.name)&&(t=r(r({},t),{xmlMode:"foreign"}));var i="<".concat(e.name),o=function(e,t){var n;if(e){var r=!1===(null!==(n=t.encodeEntities)&&void 0!==n?n:t.decodeEntities)?d:t.xmlMode||"utf8"!==t.encodeEntities?l.encodeXML:l.escapeAttribute;return Object.keys(e).map((function(n){var i,o,a=null!==(i=e[n])&&void 0!==i?i:"";return"foreign"===t.xmlMode&&(n=null!==(o=c.attributeNames.get(n))&&void 0!==o?o:n),t.emptyAttrs||t.xmlMode||""!==a?"".concat(n,'="').concat(r(a),'"'):n})).join(" ")}}(e.attribs,t);return o&&(i+=" ".concat(o)),0===e.children.length&&(t.xmlMode?!1!==t.selfClosingTags:t.selfClosingTags&&f.has(e.name))?(t.xmlMode||(i+=" "),i+="/>"):(i+=">",e.children.length>0&&(i+=p(e.children,t)),!t.xmlMode&&f.has(e.name)||(i+="</".concat(e.name,">"))),i}(e,t);case s.Text:return function(e,t){var n,r=e.data||"";return!1===(null!==(n=t.encodeEntities)&&void 0!==n?n:t.decodeEntities)||!t.xmlMode&&e.parent&&u.has(e.parent.name)||(r=t.xmlMode||"utf8"!==t.encodeEntities?(0,l.encodeXML)(r):(0,l.escapeText)(r)),r}(e,t)}}t.render=p,t.default=p;var m=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),g=new Set(["svg","math"])},3338:(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},1138:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}: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(3338),a=n(2888);i(n(2888),t);var s={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=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=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(){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=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.lastNode;if(t&&t.type===o.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var n=new a.Text(e);this.addNode(n),this.lastNode=n}},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.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=l,t.default=l},2888: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.CDATA=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var a=n(3338),s=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return 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),w(this,e)},e}();t.Node=s;var l=function(e){function t(t){var n=e.call(this)||this;return n.data=t,n}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}(s);t.DataNode=l;var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Text,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(l);t.Text=c;var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Comment,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(l);t.Comment=u;var d=function(e){function t(t,n){var r=e.call(this,n)||this;return r.name=t,r.type=a.ElementType.Directive,r}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(l);t.ProcessingInstruction=d;var f=function(e){function t(t){var n=e.call(this)||this;return n.children=t,n}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}(s);t.NodeWithChildren=f;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.CDATA,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(f);t.CDATA=p;var h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Root,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(f);t.Document=h;var m=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,r)||this;return o.name=t,o.attribs=n,o.type=i,o}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),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}(f);function g(e){return(0,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 w(e,t){var n;if(void 0===t&&(t=!1),v(e))n=new c(e.data);else if(b(e))n=new u(e.data);else if(g(e)){var r=t?A(e.children):[],i=new m(e.name,o({},e.attribs),r);r.forEach((function(e){return e.parent=i})),null!=e.namespace&&(i.namespace=e.namespace),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?A(e.children):[];var a=new p(r);r.forEach((function(e){return e.parent=a})),n=a}else if(x(e)){r=t?A(e.children):[];var s=new h(r);r.forEach((function(e){return e.parent=s})),e["x-mode"]&&(s["x-mode"]=e["x-mode"]),n=s}else{if(!I(e))throw new Error("Not implemented yet: ".concat(e.type));var l=new d(e.name,e.data);null!=e["x-name"]&&(l["x-name"]=e["x-name"],l["x-publicId"]=e["x-publicId"],l["x-systemId"]=e["x-systemId"]),n=l}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function A(e){for(var t=e.map((function(e){return w(e,!0)})),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}t.Element=m,t.isTag=g,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=w},1206:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFeed=void 0;var r=n(8642),i=n(8052);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)||c("dc:date",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}},3698:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uniqueSort=t.compareDocumentPosition=t.DocumentPosition=t.removeSubsets=void 0;var r,i=n(1138);function o(e,t){var n=[],o=[];if(e===t)return 0;for(var a=(0,i.hasChildren)(e)?e:e.parent;a;)n.unshift(a),a=a.parent;for(a=(0,i.hasChildren)(t)?t:t.parent;a;)o.unshift(a),a=a.parent;for(var s=Math.min(n.length,o.length),l=0;l<s&&n[l]===o[l];)l++;if(0===l)return r.DISCONNECTED;var c=n[l-1],u=c.children,d=n[l],f=o[l];return u.indexOf(d)>u.indexOf(f)?c===t?r.FOLLOWING|r.CONTAINED_BY:r.FOLLOWING:c===e?r.PRECEDING|r.CONTAINS:r.PRECEDING}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},function(e){e[e.DISCONNECTED=1]="DISCONNECTED",e[e.PRECEDING=2]="PRECEDING",e[e.FOLLOWING=4]="FOLLOWING",e[e.CONTAINS=8]="CONTAINS",e[e.CONTAINED_BY=16]="CONTAINED_BY"}(r=t.DocumentPosition||(t.DocumentPosition={})),t.compareDocumentPosition=o,t.uniqueSort=function(e){return(e=e.filter((function(e,t,n){return!n.includes(e,t+1)}))).sort((function(e,t){var n=o(e,t);return n&r.PRECEDING?-1:n&r.FOLLOWING?1:0})),e}},6403:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}: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(8642),t),i(n(5517),t),i(n(6178),t),i(n(1467),t),i(n(8052),t),i(n(3698),t),i(n(1206),t);var o=n(1138);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}})},8052:(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(1138),i=n(1467),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)}},6178:(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,n=t.lastIndexOf(e);n>=0&&t.splice(n,1)}e.next=null,e.prev=null,e.parent=null}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,e.parent=null}},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}},1467:(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(1138);function i(e,t,n,i){for(var o=[],a=[t],s=[0];;)if(s[0]>=a[0].length){if(1===s.length)return o;a.shift(),s.shift()}else{var l=a[0][s[0]++];if(e(l)&&(o.push(l),--i<=0))return o;n&&(0,r.hasChildren)(l)&&l.children.length>0&&(s.unshift(0),a.unshift(l.children))}}t.filter=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=1/0),i(e,Array.isArray(t)?t:[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,!0)))}return o},t.existsOne=function e(t,n){return n.some((function(n){return(0,r.isTag)(n)&&(t(n)||e(t,n.children))}))},t.findAll=function(e,t){for(var n=[],i=[t],o=[0];;)if(o[0]>=i[0].length){if(1===i.length)return n;i.shift(),o.shift()}else{var a=i[0][o[0]++];(0,r.isTag)(a)&&(e(a)&&n.push(a),a.children.length>0&&(o.unshift(0),i.unshift(a.children)))}}},8642: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(1138),o=r(n(5193)),a=n(3338);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:""}},5517:(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(1138);function i(e){return(0,r.hasChildren)(e)?e.children:[]}function o(e){return e.parent||null}t.getChildren=i,t.getParent=o,t.getSiblings=function(e){var t=o(e);if(null!=t)return i(t);for(var n=[e],r=e.prev,a=e.next;null!=r;)n.unshift(r),r=r.prev;for(;null!=a;)n.push(a),a=a.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}},7120:(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")},4828:(e,t,n)=>{"use strict";n(7120)},3379:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}: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.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXML=t.decodeHTMLStrict=t.decodeHTMLAttribute=t.decodeHTML=t.determineBranch=t.EntityDecoder=t.DecodingMode=t.BinTrieFlags=t.fromCodePoint=t.replaceCodePoint=t.decodeCodePoint=t.xmlDecodeTree=t.htmlDecodeTree=void 0;var s=a(n(7346));t.htmlDecodeTree=s.default;var l=a(n(8622));t.xmlDecodeTree=l.default;var c=o(n(2809));t.decodeCodePoint=c.default;var u,d,f,p,h=n(2809);function m(e){return e>=u.ZERO&&e<=u.NINE}Object.defineProperty(t,"replaceCodePoint",{enumerable:!0,get:function(){return h.replaceCodePoint}}),Object.defineProperty(t,"fromCodePoint",{enumerable:!0,get:function(){return h.fromCodePoint}}),function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(u||(u={})),function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(d=t.BinTrieFlags||(t.BinTrieFlags={})),function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(f||(f={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(p=t.DecodingMode||(t.DecodingMode={}));var g=function(){function e(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=f.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=p.Strict}return e.prototype.startEntity=function(e){this.decodeMode=e,this.state=f.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1},e.prototype.write=function(e,t){switch(this.state){case f.EntityStart:return e.charCodeAt(t)===u.NUM?(this.state=f.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=f.NamedEntity,this.stateNamedEntity(e,t));case f.NumericStart:return this.stateNumericStart(e,t);case f.NumericDecimal:return this.stateNumericDecimal(e,t);case f.NumericHex:return this.stateNumericHex(e,t);case f.NamedEntity:return this.stateNamedEntity(e,t)}},e.prototype.stateNumericStart=function(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===u.LOWER_X?(this.state=f.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=f.NumericDecimal,this.stateNumericDecimal(e,t))},e.prototype.addToNumericResult=function(e,t,n,r){if(t!==n){var i=n-t;this.result=this.result*Math.pow(r,i)+parseInt(e.substr(t,i),r),this.consumed+=i}},e.prototype.stateNumericHex=function(e,t){for(var n,r=t;t<e.length;){var i=e.charCodeAt(t);if(!(m(i)||(n=i,n>=u.UPPER_A&&n<=u.UPPER_F||n>=u.LOWER_A&&n<=u.LOWER_F)))return this.addToNumericResult(e,r,t,16),this.emitNumericEntity(i,3);t+=1}return this.addToNumericResult(e,r,t,16),-1},e.prototype.stateNumericDecimal=function(e,t){for(var n=t;t<e.length;){var r=e.charCodeAt(t);if(!m(r))return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2);t+=1}return this.addToNumericResult(e,n,t,10),-1},e.prototype.emitNumericEntity=function(e,t){var n;if(this.consumed<=t)return null===(n=this.errors)||void 0===n||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===u.SEMI)this.consumed+=1;else if(this.decodeMode===p.Strict)return 0;return this.emitCodePoint((0,c.replaceCodePoint)(this.result),this.consumed),this.errors&&(e!==u.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed},e.prototype.stateNamedEntity=function(e,t){for(var n=this.decodeTree,r=n[this.treeIndex],i=(r&d.VALUE_LENGTH)>>14;t<e.length;t++,this.excess++){var o=e.charCodeAt(t);if(this.treeIndex=v(n,r,this.treeIndex+Math.max(1,i),o),this.treeIndex<0)return 0===this.result||this.decodeMode===p.Attribute&&(0===i||((a=o)===u.EQUALS||function(e){return e>=u.UPPER_A&&e<=u.UPPER_Z||e>=u.LOWER_A&&e<=u.LOWER_Z||m(e)}(a)))?0:this.emitNotTerminatedNamedEntity();if(0!=(i=((r=n[this.treeIndex])&d.VALUE_LENGTH)>>14)){if(o===u.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==p.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}var a;return-1},e.prototype.emitNotTerminatedNamedEntity=function(){var e,t=this.result,n=(this.decodeTree[t]&d.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,n,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed},e.prototype.emitNamedEntityData=function(e,t,n){var r=this.decodeTree;return this.emitCodePoint(1===t?r[e]&~d.VALUE_LENGTH:r[e+1],n),3===t&&this.emitCodePoint(r[e+2],n),n},e.prototype.end=function(){var e;switch(this.state){case f.NamedEntity:return 0===this.result||this.decodeMode===p.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case f.NumericDecimal:return this.emitNumericEntity(0,2);case f.NumericHex:return this.emitNumericEntity(0,3);case f.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case f.EntityStart:return 0}},e}();function y(e){var t="",n=new g(e,(function(e){return t+=(0,c.fromCodePoint)(e)}));return function(e,r){for(var i=0,o=0;(o=e.indexOf("&",o))>=0;){t+=e.slice(i,o),n.startEntity(r);var a=n.write(e,o+1);if(a<0){i=o+n.end();break}i=o+a,o=0===a?i+1:i}var s=t+e.slice(i);return t="",s}}function v(e,t,n,r){var i=(t&d.BRANCH_LENGTH)>>7,o=t&d.JUMP_TABLE;if(0===i)return 0!==o&&r===o?n:-1;if(o){var a=r-o;return a<0||a>=i?-1:e[n+a]-1}for(var s=n,l=s+i-1;s<=l;){var c=s+l>>>1,u=e[c];if(u<r)s=c+1;else{if(!(u>r))return e[c+i];l=c-1}}return-1}t.EntityDecoder=g,t.determineBranch=v;var b=y(s.default),I=y(l.default);t.decodeHTML=function(e,t){return void 0===t&&(t=p.Legacy),b(e,t)},t.decodeHTMLAttribute=function(e){return b(e,p.Attribute)},t.decodeHTMLStrict=function(e){return b(e,p.Strict)},t.decodeXML=function(e){return I(e,p.Strict)}},2809:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.replaceCodePoint=t.fromCodePoint=void 0;var r=new Map([[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]]);function i(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=r.get(e))&&void 0!==t?t:e}t.fromCodePoint=null!==(n=String.fromCodePoint)&&void 0!==n?n:function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+String.fromCharCode(e)},t.replaceCodePoint=i,t.default=function(e){return(0,t.fromCodePoint)(i(e))}},3231: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.encodeNonAsciiHTML=t.encodeHTML=void 0;var i=r(n(8635)),o=n(7078),a=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function s(e,t){for(var n,r="",a=0;null!==(n=e.exec(t));){var s=n.index;r+=t.substring(a,s);var l=t.charCodeAt(s),c=i.default.get(l);if("object"==typeof c){if(s+1<t.length){var u=t.charCodeAt(s+1),d="number"==typeof c.n?c.n===u?c.o:void 0:c.n.get(u);if(void 0!==d){r+=d,a=e.lastIndex+=1;continue}}c=c.v}if(void 0!==c)r+=c,a=s+1;else{var f=(0,o.getCodePoint)(t,s);r+="&#x".concat(f.toString(16),";"),a=e.lastIndex+=Number(f!==l)}}return r+t.substr(a)}t.encodeHTML=function(e){return s(a,e)},t.encodeNonAsciiHTML=function(e){return s(o.xmlReplacer,e)}},7078:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.escapeText=t.escapeAttribute=t.escapeUTF8=t.escape=t.encodeXML=t.getCodePoint=t.xmlReplacer=void 0,t.xmlReplacer=/["&'<>$\x80-\uFFFF]/g;var n=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]);function r(e){for(var r,i="",o=0;null!==(r=t.xmlReplacer.exec(e));){var a=r.index,s=e.charCodeAt(a),l=n.get(s);void 0!==l?(i+=e.substring(o,a)+l,o=a+1):(i+="".concat(e.substring(o,a),"&#x").concat((0,t.getCodePoint)(e,a).toString(16),";"),o=t.xmlReplacer.lastIndex+=Number(55296==(64512&s)))}return i+e.substr(o)}function i(e,t){return function(n){for(var r,i=0,o="";r=e.exec(n);)i!==r.index&&(o+=n.substring(i,r.index)),o+=t.get(r[0].charCodeAt(0)),i=r.index+1;return o+n.substring(i)}}t.getCodePoint=null!=String.prototype.codePointAt?function(e,t){return e.codePointAt(t)}:function(e,t){return 55296==(64512&e.charCodeAt(t))?1024*(e.charCodeAt(t)-55296)+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t)},t.encodeXML=r,t.escape=r,t.escapeUTF8=i(/[&<>'"]/g,n),t.escapeAttribute=i(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),t.escapeText=i(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]]))},7346:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((function(e){return e.charCodeAt(0)})))},8622:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((function(e){return e.charCodeAt(0)})))},8635:(e,t)=>{"use strict";function n(e){for(var t=1;t<e.length;t++)e[t][0]+=e[t-1][0]+1;return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Map(n([[9,"&Tab;"],[0,"&NewLine;"],[22,"&excl;"],[0,"&quot;"],[0,"&num;"],[0,"&dollar;"],[0,"&percnt;"],[0,"&amp;"],[0,"&apos;"],[0,"&lpar;"],[0,"&rpar;"],[0,"&ast;"],[0,"&plus;"],[0,"&comma;"],[1,"&period;"],[0,"&sol;"],[10,"&colon;"],[0,"&semi;"],[0,{v:"&lt;",n:8402,o:"&nvlt;"}],[0,{v:"&equals;",n:8421,o:"&bne;"}],[0,{v:"&gt;",n:8402,o:"&nvgt;"}],[0,"&quest;"],[0,"&commat;"],[26,"&lbrack;"],[0,"&bsol;"],[0,"&rbrack;"],[0,"&Hat;"],[0,"&lowbar;"],[0,"&DiacriticalGrave;"],[5,{n:106,o:"&fjlig;"}],[20,"&lbrace;"],[0,"&verbar;"],[0,"&rbrace;"],[34,"&nbsp;"],[0,"&iexcl;"],[0,"&cent;"],[0,"&pound;"],[0,"&curren;"],[0,"&yen;"],[0,"&brvbar;"],[0,"&sect;"],[0,"&die;"],[0,"&copy;"],[0,"&ordf;"],[0,"&laquo;"],[0,"&not;"],[0,"&shy;"],[0,"&circledR;"],[0,"&macr;"],[0,"&deg;"],[0,"&PlusMinus;"],[0,"&sup2;"],[0,"&sup3;"],[0,"&acute;"],[0,"&micro;"],[0,"&para;"],[0,"&centerdot;"],[0,"&cedil;"],[0,"&sup1;"],[0,"&ordm;"],[0,"&raquo;"],[0,"&frac14;"],[0,"&frac12;"],[0,"&frac34;"],[0,"&iquest;"],[0,"&Agrave;"],[0,"&Aacute;"],[0,"&Acirc;"],[0,"&Atilde;"],[0,"&Auml;"],[0,"&angst;"],[0,"&AElig;"],[0,"&Ccedil;"],[0,"&Egrave;"],[0,"&Eacute;"],[0,"&Ecirc;"],[0,"&Euml;"],[0,"&Igrave;"],[0,"&Iacute;"],[0,"&Icirc;"],[0,"&Iuml;"],[0,"&ETH;"],[0,"&Ntilde;"],[0,"&Ograve;"],[0,"&Oacute;"],[0,"&Ocirc;"],[0,"&Otilde;"],[0,"&Ouml;"],[0,"&times;"],[0,"&Oslash;"],[0,"&Ugrave;"],[0,"&Uacute;"],[0,"&Ucirc;"],[0,"&Uuml;"],[0,"&Yacute;"],[0,"&THORN;"],[0,"&szlig;"],[0,"&agrave;"],[0,"&aacute;"],[0,"&acirc;"],[0,"&atilde;"],[0,"&auml;"],[0,"&aring;"],[0,"&aelig;"],[0,"&ccedil;"],[0,"&egrave;"],[0,"&eacute;"],[0,"&ecirc;"],[0,"&euml;"],[0,"&igrave;"],[0,"&iacute;"],[0,"&icirc;"],[0,"&iuml;"],[0,"&eth;"],[0,"&ntilde;"],[0,"&ograve;"],[0,"&oacute;"],[0,"&ocirc;"],[0,"&otilde;"],[0,"&ouml;"],[0,"&div;"],[0,"&oslash;"],[0,"&ugrave;"],[0,"&uacute;"],[0,"&ucirc;"],[0,"&uuml;"],[0,"&yacute;"],[0,"&thorn;"],[0,"&yuml;"],[0,"&Amacr;"],[0,"&amacr;"],[0,"&Abreve;"],[0,"&abreve;"],[0,"&Aogon;"],[0,"&aogon;"],[0,"&Cacute;"],[0,"&cacute;"],[0,"&Ccirc;"],[0,"&ccirc;"],[0,"&Cdot;"],[0,"&cdot;"],[0,"&Ccaron;"],[0,"&ccaron;"],[0,"&Dcaron;"],[0,"&dcaron;"],[0,"&Dstrok;"],[0,"&dstrok;"],[0,"&Emacr;"],[0,"&emacr;"],[2,"&Edot;"],[0,"&edot;"],[0,"&Eogon;"],[0,"&eogon;"],[0,"&Ecaron;"],[0,"&ecaron;"],[0,"&Gcirc;"],[0,"&gcirc;"],[0,"&Gbreve;"],[0,"&gbreve;"],[0,"&Gdot;"],[0,"&gdot;"],[0,"&Gcedil;"],[1,"&Hcirc;"],[0,"&hcirc;"],[0,"&Hstrok;"],[0,"&hstrok;"],[0,"&Itilde;"],[0,"&itilde;"],[0,"&Imacr;"],[0,"&imacr;"],[2,"&Iogon;"],[0,"&iogon;"],[0,"&Idot;"],[0,"&imath;"],[0,"&IJlig;"],[0,"&ijlig;"],[0,"&Jcirc;"],[0,"&jcirc;"],[0,"&Kcedil;"],[0,"&kcedil;"],[0,"&kgreen;"],[0,"&Lacute;"],[0,"&lacute;"],[0,"&Lcedil;"],[0,"&lcedil;"],[0,"&Lcaron;"],[0,"&lcaron;"],[0,"&Lmidot;"],[0,"&lmidot;"],[0,"&Lstrok;"],[0,"&lstrok;"],[0,"&Nacute;"],[0,"&nacute;"],[0,"&Ncedil;"],[0,"&ncedil;"],[0,"&Ncaron;"],[0,"&ncaron;"],[0,"&napos;"],[0,"&ENG;"],[0,"&eng;"],[0,"&Omacr;"],[0,"&omacr;"],[2,"&Odblac;"],[0,"&odblac;"],[0,"&OElig;"],[0,"&oelig;"],[0,"&Racute;"],[0,"&racute;"],[0,"&Rcedil;"],[0,"&rcedil;"],[0,"&Rcaron;"],[0,"&rcaron;"],[0,"&Sacute;"],[0,"&sacute;"],[0,"&Scirc;"],[0,"&scirc;"],[0,"&Scedil;"],[0,"&scedil;"],[0,"&Scaron;"],[0,"&scaron;"],[0,"&Tcedil;"],[0,"&tcedil;"],[0,"&Tcaron;"],[0,"&tcaron;"],[0,"&Tstrok;"],[0,"&tstrok;"],[0,"&Utilde;"],[0,"&utilde;"],[0,"&Umacr;"],[0,"&umacr;"],[0,"&Ubreve;"],[0,"&ubreve;"],[0,"&Uring;"],[0,"&uring;"],[0,"&Udblac;"],[0,"&udblac;"],[0,"&Uogon;"],[0,"&uogon;"],[0,"&Wcirc;"],[0,"&wcirc;"],[0,"&Ycirc;"],[0,"&ycirc;"],[0,"&Yuml;"],[0,"&Zacute;"],[0,"&zacute;"],[0,"&Zdot;"],[0,"&zdot;"],[0,"&Zcaron;"],[0,"&zcaron;"],[19,"&fnof;"],[34,"&imped;"],[63,"&gacute;"],[65,"&jmath;"],[142,"&circ;"],[0,"&caron;"],[16,"&breve;"],[0,"&DiacriticalDot;"],[0,"&ring;"],[0,"&ogon;"],[0,"&DiacriticalTilde;"],[0,"&dblac;"],[51,"&DownBreve;"],[127,"&Alpha;"],[0,"&Beta;"],[0,"&Gamma;"],[0,"&Delta;"],[0,"&Epsilon;"],[0,"&Zeta;"],[0,"&Eta;"],[0,"&Theta;"],[0,"&Iota;"],[0,"&Kappa;"],[0,"&Lambda;"],[0,"&Mu;"],[0,"&Nu;"],[0,"&Xi;"],[0,"&Omicron;"],[0,"&Pi;"],[0,"&Rho;"],[1,"&Sigma;"],[0,"&Tau;"],[0,"&Upsilon;"],[0,"&Phi;"],[0,"&Chi;"],[0,"&Psi;"],[0,"&ohm;"],[7,"&alpha;"],[0,"&beta;"],[0,"&gamma;"],[0,"&delta;"],[0,"&epsi;"],[0,"&zeta;"],[0,"&eta;"],[0,"&theta;"],[0,"&iota;"],[0,"&kappa;"],[0,"&lambda;"],[0,"&mu;"],[0,"&nu;"],[0,"&xi;"],[0,"&omicron;"],[0,"&pi;"],[0,"&rho;"],[0,"&sigmaf;"],[0,"&sigma;"],[0,"&tau;"],[0,"&upsi;"],[0,"&phi;"],[0,"&chi;"],[0,"&psi;"],[0,"&omega;"],[7,"&thetasym;"],[0,"&Upsi;"],[2,"&phiv;"],[0,"&piv;"],[5,"&Gammad;"],[0,"&digamma;"],[18,"&kappav;"],[0,"&rhov;"],[3,"&epsiv;"],[0,"&backepsilon;"],[10,"&IOcy;"],[0,"&DJcy;"],[0,"&GJcy;"],[0,"&Jukcy;"],[0,"&DScy;"],[0,"&Iukcy;"],[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[0,"&emsp13;"],[0,"&emsp14;"],[1,"&numsp;"],[0,"&puncsp;"],[0,"&ThinSpace;"],[0,"&hairsp;"],[0,"&NegativeMediumSpace;"],[0,"&zwnj;"],[0,"&zwj;"],[0,"&lrm;"],[0,"&rlm;"],[0,"&dash;"],[2,"&ndash;"],[0,"&mdash;"],[0,"&horbar;"],[0,"&Verbar;"],[1,"&lsquo;"],[0,"&CloseCurlyQuote;"],[0,"&lsquor;"],[1,"&ldquo;"],[0,"&CloseCurlyDoubleQuote;"],[0,"&bdquo;"],[1,"&dagger;"],[0,"&Dagger;"],[0,"&bull;"],[2,"&nldr;"],[0,"&hellip;"],[9,"&permil;"],[0,"&pertenk;"],[0,"&prime;"],[0,"&Prime;"],[0,"&tprime;"],[0,"&backprime;"],[3,"&lsaquo;"],[0,"&rsaquo;"],[3,"&oline;"],[2,"&caret;"],[1,"&hybull;"],[0,"&frasl;"],[10,"&bsemi;"],[7,"&qprime;"],[7,{v:"&MediumSpace;",n:8202,o:"&ThickSpace;"}],[0,"&NoBreak;"],[0,"&af;"],[0,"&InvisibleTimes;"],[0,"&ic;"],[72,"&euro;"],[46,"&tdot;"],[0,"&DotDot;"],[37,"&complexes;"],[2,"&incare;"],[4,"&gscr;"],[0,"&hamilt;"],[0,"&Hfr;"],[0,"&Hopf;"],[0,"&planckh;"],[0,"&hbar;"],[0,"&imagline;"],[0,"&Ifr;"],[0,"&lagran;"],[0,"&ell;"],[1,"&naturals;"],[0,"&numero;"],[0,"&copysr;"],[0,"&weierp;"],[0,"&Popf;"],[0,"&Qopf;"],[0,"&realine;"],[0,"&real;"],[0,"&reals;"],[0,"&rx;"],[3,"&trade;"],[1,"&integers;"],[2,"&mho;"],[0,"&zeetrf;"],[0,"&iiota;"],[2,"&bernou;"],[0,"&Cayleys;"],[1,"&escr;"],[0,"&Escr;"],[0,"&Fouriertrf;"],[1,"&Mellintrf;"],[0,"&order;"],[0,"&alefsym;"],[0,"&beth;"],[0,"&gimel;"],[0,"&daleth;"],[12,"&CapitalDifferentialD;"],[0,"&dd;"],[0,"&ee;"],[0,"&ii;"],[10,"&frac13;"],[0,"&frac23;"],[0,"&frac15;"],[0,"&frac25;"],[0,"&frac35;"],[0,"&frac45;"],[0,"&frac16;"],[0,"&frac56;"],[0,"&frac18;"],[0,"&frac38;"],[0,"&frac58;"],[0,"&frac78;"],[49,"&larr;"],[0,"&ShortUpArrow;"],[0,"&rarr;"],[0,"&darr;"],[0,"&harr;"],[0,"&updownarrow;"],[0,"&nwarr;"],[0,"&nearr;"],[0,"&LowerRightArrow;"],[0,"&LowerLeftArrow;"],[0,"&nlarr;"],[0,"&nrarr;"],[1,{v:"&rarrw;",n:824,o:"&nrarrw;"}],[0,"&Larr;"],[0,"&Uarr;"],[0,"&Rarr;"],[0,"&Darr;"],[0,"&larrtl;"],[0,"&rarrtl;"],[0,"&LeftTeeArrow;"],[0,"&mapstoup;"],[0,"&map;"],[0,"&DownTeeArrow;"],[1,"&hookleftarrow;"],[0,"&hookrightarrow;"],[0,"&larrlp;"],[0,"&looparrowright;"],[0,"&harrw;"],[0,"&nharr;"],[1,"&lsh;"],[0,"&rsh;"],[0,"&ldsh;"],[0,"&rdsh;"],[1,"&crarr;"],[0,"&cularr;"],[0,"&curarr;"],[2,"&circlearrowleft;"],[0,"&circlearrowright;"],[0,"&leftharpoonup;"],[0,"&DownLeftVector;"],[0,"&RightUpVector;"],[0,"&LeftUpVector;"],[0,"&rharu;"],[0,"&DownRightVector;"],[0,"&dharr;"],[0,"&dharl;"],[0,"&RightArrowLeftArrow;"],[0,"&udarr;"],[0,"&LeftArrowRightArrow;"],[0,"&leftleftarrows;"],[0,"&upuparrows;"],[0,"&rightrightarrows;"],[0,"&ddarr;"],[0,"&leftrightharpoons;"],[0,"&Equilibrium;"],[0,"&nlArr;"],[0,"&nhArr;"],[0,"&nrArr;"],[0,"&DoubleLeftArrow;"],[0,"&DoubleUpArrow;"],[0,"&DoubleRightArrow;"],[0,"&dArr;"],[0,"&DoubleLeftRightArrow;"],[0,"&DoubleUpDownArrow;"],[0,"&nwArr;"],[0,"&neArr;"],[0,"&seArr;"],[0,"&swArr;"],[0,"&lAarr;"],[0,"&rAarr;"],[1,"&zigrarr;"],[6,"&larrb;"],[0,"&rarrb;"],[15,"&DownArrowUpArrow;"],[7,"&loarr;"],[0,"&roarr;"],[0,"&hoarr;"],[0,"&forall;"],[0,"&comp;"],[0,{v:"&part;",n:824,o:"&npart;"}],[0,"&exist;"],[0,"&nexist;"],[0,"&empty;"],[1,"&Del;"],[0,"&Element;"],[0,"&NotElement;"],[1,"&ni;"],[0,"&notni;"],[2,"&prod;"],[0,"&coprod;"],[0,"&sum;"],[0,"&minus;"],[0,"&MinusPlus;"],[0,"&dotplus;"],[1,"&Backslash;"],[0,"&lowast;"],[0,"&compfn;"],[1,"&radic;"],[2,"&prop;"],[0,"&infin;"],[0,"&angrt;"],[0,{v:"&ang;",n:8402,o:"&nang;"}],[0,"&angmsd;"],[0,"&angsph;"],[0,"&mid;"],[0,"&nmid;"],[0,"&DoubleVerticalBar;"],[0,"&NotDoubleVerticalBar;"],[0,"&and;"],[0,"&or;"],[0,{v:"&cap;",n:65024,o:"&caps;"}],[0,{v:"&cup;",n:65024,o:"&cups;"}],[0,"&int;"],[0,"&Int;"],[0,"&iiint;"],[0,"&conint;"],[0,"&Conint;"],[0,"&Cconint;"],[0,"&cwint;"],[0,"&ClockwiseContourIntegral;"],[0,"&awconint;"],[0,"&there4;"],[0,"&becaus;"],[0,"&ratio;"],[0,"&Colon;"],[0,"&dotminus;"],[1,"&mDDot;"],[0,"&homtht;"],[0,{v:"&sim;",n:8402,o:"&nvsim;"}],[0,{v:"&backsim;",n:817,o:"&race;"}],[0,{v:"&ac;",n:819,o:"&acE;"}],[0,"&acd;"],[0,"&VerticalTilde;"],[0,"&NotTilde;"],[0,{v:"&eqsim;",n:824,o:"&nesim;"}],[0,"&sime;"],[0,"&NotTildeEqual;"],[0,"&cong;"],[0,"&simne;"],[0,"&ncong;"],[0,"&ap;"],[0,"&nap;"],[0,"&ape;"],[0,{v:"&apid;",n:824,o:"&napid;"}],[0,"&backcong;"],[0,{v:"&asympeq;",n:8402,o:"&nvap;"}],[0,{v:"&bump;",n:824,o:"&nbump;"}],[0,{v:"&bumpe;",n:824,o:"&nbumpe;"}],[0,{v:"&doteq;",n:824,o:"&nedot;"}],[0,"&doteqdot;"],[0,"&efDot;"],[0,"&erDot;"],[0,"&Assign;"],[0,"&ecolon;"],[0,"&ecir;"],[0,"&circeq;"],[1,"&wedgeq;"],[0,"&veeeq;"],[1,"&triangleq;"],[2,"&equest;"],[0,"&ne;"],[0,{v:"&Congruent;",n:8421,o:"&bnequiv;"}],[0,"&nequiv;"],[1,{v:"&le;",n:8402,o:"&nvle;"}],[0,{v:"&ge;",n:8402,o:"&nvge;"}],[0,{v:"&lE;",n:824,o:"&nlE;"}],[0,{v:"&gE;",n:824,o:"&ngE;"}],[0,{v:"&lnE;",n:65024,o:"&lvertneqq;"}],[0,{v:"&gnE;",n:65024,o:"&gvertneqq;"}],[0,{v:"&ll;",n:new Map(n([[824,"&nLtv;"],[7577,"&nLt;"]]))}],[0,{v:"&gg;",n:new Map(n([[824,"&nGtv;"],[7577,"&nGt;"]]))}],[0,"&between;"],[0,"&NotCupCap;"],[0,"&nless;"],[0,"&ngt;"],[0,"&nle;"],[0,"&nge;"],[0,"&lesssim;"],[0,"&GreaterTilde;"],[0,"&nlsim;"],[0,"&ngsim;"],[0,"&LessGreater;"],[0,"&gl;"],[0,"&NotLessGreater;"],[0,"&NotGreaterLess;"],[0,"&pr;"],[0,"&sc;"],[0,"&prcue;"],[0,"&sccue;"],[0,"&PrecedesTilde;"],[0,{v:"&scsim;",n:824,o:"&NotSucceedsTilde;"}],[0,"&NotPrecedes;"],[0,"&NotSucceeds;"],[0,{v:"&sub;",n:8402,o:"&NotSubset;"}],[0,{v:"&sup;",n:8402,o:"&NotSuperset;"}],[0,"&nsub;"],[0,"&nsup;"],[0,"&sube;"],[0,"&supe;"],[0,"&NotSubsetEqual;"],[0,"&NotSupersetEqual;"],[0,{v:"&subne;",n:65024,o:"&varsubsetneq;"}],[0,{v:"&supne;",n:65024,o:"&varsupsetneq;"}],[1,"&cupdot;"],[0,"&UnionPlus;"],[0,{v:"&sqsub;",n:824,o:"&NotSquareSubset;"}],[0,{v:"&sqsup;",n:824,o:"&NotSquareSuperset;"}],[0,"&sqsube;"],[0,"&sqsupe;"],[0,{v:"&sqcap;",n:65024,o:"&sqcaps;"}],[0,{v:"&sqcup;",n:65024,o:"&sqcups;"}],[0,"&CirclePlus;"],[0,"&CircleMinus;"],[0,"&CircleTimes;"],[0,"&osol;"],[0,"&CircleDot;"],[0,"&circledcirc;"],[0,"&circledast;"],[1,"&circleddash;"],[0,"&boxplus;"],[0,"&boxminus;"],[0,"&boxtimes;"],[0,"&dotsquare;"],[0,"&RightTee;"],[0,"&dashv;"],[0,"&DownTee;"],[0,"&bot;"],[1,"&models;"],[0,"&DoubleRightTee;"],[0,"&Vdash;"],[0,"&Vvdash;"],[0,"&VDash;"],[0,"&nvdash;"],[0,"&nvDash;"],[0,"&nVdash;"],[0,"&nVDash;"],[0,"&prurel;"],[1,"&LeftTriangle;"],[0,"&RightTriangle;"],[0,{v:"&LeftTriangleEqual;",n:8402,o:"&nvltrie;"}],[0,{v:"&RightTriangleEqual;",n:8402,o:"&nvrtrie;"}],[0,"&origof;"],[0,"&imof;"],[0,"&multimap;"],[0,"&hercon;"],[0,"&intcal;"],[0,"&veebar;"],[1,"&barvee;"],[0,"&angrtvb;"],[0,"&lrtri;"],[0,"&bigwedge;"],[0,"&bigvee;"],[0,"&bigcap;"],[0,"&bigcup;"],[0,"&diam;"],[0,"&sdot;"],[0,"&sstarf;"],[0,"&divideontimes;"],[0,"&bowtie;"],[0,"&ltimes;"],[0,"&rtimes;"],[0,"&leftthreetimes;"],[0,"&rightthreetimes;"],[0,"&backsimeq;"],[0,"&curlyvee;"],[0,"&curlywedge;"],[0,"&Sub;"],[0,"&Sup;"],[0,"&Cap;"],[0,"&Cup;"],[0,"&fork;"],[0,"&epar;"],[0,"&lessdot;"],[0,"&gtdot;"],[0,{v:"&Ll;",n:824,o:"&nLl;"}],[0,{v:"&Gg;",n:824,o:"&nGg;"}],[0,{v:"&leg;",n:65024,o:"&lesg;"}],[0,{v:"&gel;",n:65024,o:"&gesl;"}],[2,"&cuepr;"],[0,"&cuesc;"],[0,"&NotPrecedesSlantEqual;"],[0,"&NotSucceedsSlantEqual;"],[0,"&NotSquareSubsetEqual;"],[0,"&NotSquareSupersetEqual;"],[2,"&lnsim;"],[0,"&gnsim;"],[0,"&precnsim;"],[0,"&scnsim;"],[0,"&nltri;"],[0,"&NotRightTriangle;"],[0,"&nltrie;"],[0,"&NotRightTriangleEqual;"],[0,"&vellip;"],[0,"&ctdot;"],[0,"&utdot;"],[0,"&dtdot;"],[0,"&disin;"],[0,"&isinsv;"],[0,"&isins;"],[0,{v:"&isindot;",n:824,o:"&notindot;"}],[0,"&notinvc;"],[0,"&notinvb;"],[1,{v:"&isinE;",n:824,o:"&notinE;"}],[0,"&nisd;"],[0,"&xnis;"],[0,"&nis;"],[0,"&notnivc;"],[0,"&notnivb;"],[6,"&barwed;"],[0,"&Barwed;"],[1,"&lceil;"],[0,"&rceil;"],[0,"&LeftFloor;"],[0,"&rfloor;"],[0,"&drcrop;"],[0,"&dlcrop;"],[0,"&urcrop;"],[0,"&ulcrop;"],[0,"&bnot;"],[1,"&profline;"],[0,"&profsurf;"],[1,"&telrec;"],[0,"&target;"],[5,"&ulcorn;"],[0,"&urcorn;"],[0,"&dlcorn;"],[0,"&drcorn;"],[2,"&frown;"],[0,"&smile;"],[9,"&cylcty;"],[0,"&profalar;"],[7,"&topbot;"],[6,"&ovbar;"],[1,"&solbar;"],[60,"&angzarr;"],[51,"&lmoustache;"],[0,"&rmoustache;"],[2,"&OverBracket;"],[0,"&bbrk;"],[0,"&bbrktbrk;"],[37,"&OverParenthesis;"],[0,"&UnderParenthesis;"],[0,"&OverBrace;"],[0,"&UnderBrace;"],[2,"&trpezium;"],[4,"&elinters;"],[59,"&blank;"],[164,"&circledS;"],[55,"&boxh;"],[1,"&boxv;"],[9,"&boxdr;"],[3,"&boxdl;"],[3,"&boxur;"],[3,"&boxul;"],[3,"&boxvr;"],[7,"&boxvl;"],[7,"&boxhd;"],[7,"&boxhu;"],[7,"&boxvh;"],[19,"&boxH;"],[0,"&boxV;"],[0,"&boxdR;"],[0,"&boxDr;"],[0,"&boxDR;"],[0,"&boxdL;"],[0,"&boxDl;"],[0,"&boxDL;"],[0,"&boxuR;"],[0,"&boxUr;"],[0,"&boxUR;"],[0,"&boxuL;"],[0,"&boxUl;"],[0,"&boxUL;"],[0,"&boxvR;"],[0,"&boxVr;"],[0,"&boxVR;"],[0,"&boxvL;"],[0,"&boxVl;"],[0,"&boxVL;"],[0,"&boxHd;"],[0,"&boxhD;"],[0,"&boxHD;"],[0,"&boxHu;"],[0,"&boxhU;"],[0,"&boxHU;"],[0,"&boxvH;"],[0,"&boxVh;"],[0,"&boxVH;"],[19,"&uhblk;"],[3,"&lhblk;"],[3,"&block;"],[8,"&blk14;"],[0,"&blk12;"],[0,"&blk34;"],[13,"&square;"],[8,"&blacksquare;"],[0,"&EmptyVerySmallSquare;"],[1,"&rect;"],[0,"&marker;"],[2,"&fltns;"],[1,"&bigtriangleup;"],[0,"&blacktriangle;"],[0,"&triangle;"],[2,"&blacktriangleright;"],[0,"&rtri;"],[3,"&bigtriangledown;"],[0,"&blacktriangledown;"],[0,"&dtri;"],[2,"&blacktriangleleft;"],[0,"&ltri;"],[6,"&loz;"],[0,"&cir;"],[32,"&tridot;"],[2,"&bigcirc;"],[8,"&ultri;"],[0,"&urtri;"],[0,"&lltri;"],[0,"&EmptySmallSquare;"],[0,"&FilledSmallSquare;"],[8,"&bigstar;"],[0,"&star;"],[7,"&phone;"],[49,"&female;"],[1,"&male;"],[29,"&spades;"],[2,"&clubs;"],[1,"&hearts;"],[0,"&diamondsuit;"],[3,"&sung;"],[2,"&flat;"],[0,"&natural;"],[0,"&sharp;"],[163,"&check;"],[3,"&cross;"],[8,"&malt;"],[21,"&sext;"],[33,"&VerticalSeparator;"],[25,"&lbbrk;"],[0,"&rbbrk;"],[84,"&bsolhsub;"],[0,"&suphsol;"],[28,"&LeftDoubleBracket;"],[0,"&RightDoubleBracket;"],[0,"&lang;"],[0,"&rang;"],[0,"&Lang;"],[0,"&Rang;"],[0,"&loang;"],[0,"&roang;"],[7,"&longleftarrow;"],[0,"&longrightarrow;"],[0,"&longleftrightarrow;"],[0,"&DoubleLongLeftArrow;"],[0,"&DoubleLongRightArrow;"],[0,"&DoubleLongLeftRightArrow;"],[1,"&longmapsto;"],[2,"&dzigrarr;"],[258,"&nvlArr;"],[0,"&nvrArr;"],[0,"&nvHarr;"],[0,"&Map;"],[6,"&lbarr;"],[0,"&bkarow;"],[0,"&lBarr;"],[0,"&dbkarow;"],[0,"&drbkarow;"],[0,"&DDotrahd;"],[0,"&UpArrowBar;"],[0,"&DownArrowBar;"],[2,"&Rarrtl;"],[2,"&latail;"],[0,"&ratail;"],[0,"&lAtail;"],[0,"&rAtail;"],[0,"&larrfs;"],[0,"&rarrfs;"],[0,"&larrbfs;"],[0,"&rarrbfs;"],[2,"&nwarhk;"],[0,"&nearhk;"],[0,"&hksearow;"],[0,"&hkswarow;"],[0,"&nwnear;"],[0,"&nesear;"],[0,"&seswar;"],[0,"&swnwar;"],[8,{v:"&rarrc;",n:824,o:"&nrarrc;"}],[1,"&cudarrr;"],[0,"&ldca;"],[0,"&rdca;"],[0,"&cudarrl;"],[0,"&larrpl;"],[2,"&curarrm;"],[0,"&cularrp;"],[7,"&rarrpl;"],[2,"&harrcir;"],[0,"&Uarrocir;"],[0,"&lurdshar;"],[0,"&ldrushar;"],[2,"&LeftRightVector;"],[0,"&RightUpDownVector;"],[0,"&DownLeftRightVector;"],[0,"&LeftUpDownVector;"],[0,"&LeftVectorBar;"],[0,"&RightVectorBar;"],[0,"&RightUpVectorBar;"],[0,"&RightDownVectorBar;"],[0,"&DownLeftVectorBar;"],[0,"&DownRightVectorBar;"],[0,"&LeftUpVectorBar;"],[0,"&LeftDownVectorBar;"],[0,"&LeftTeeVector;"],[0,"&RightTeeVector;"],[0,"&RightUpTeeVector;"],[0,"&RightDownTeeVector;"],[0,"&DownLeftTeeVector;"],[0,"&DownRightTeeVector;"],[0,"&LeftUpTeeVector;"],[0,"&LeftDownTeeVector;"],[0,"&lHar;"],[0,"&uHar;"],[0,"&rHar;"],[0,"&dHar;"],[0,"&luruhar;"],[0,"&ldrdhar;"],[0,"&ruluhar;"],[0,"&rdldhar;"],[0,"&lharul;"],[0,"&llhard;"],[0,"&rharul;"],[0,"&lrhard;"],[0,"&udhar;"],[0,"&duhar;"],[0,"&RoundImplies;"],[0,"&erarr;"],[0,"&simrarr;"],[0,"&larrsim;"],[0,"&rarrsim;"],[0,"&rarrap;"],[0,"&ltlarr;"],[1,"&gtrarr;"],[0,"&subrarr;"],[1,"&suplarr;"],[0,"&lfisht;"],[0,"&rfisht;"],[0,"&ufisht;"],[0,"&dfisht;"],[5,"&lopar;"],[0,"&ropar;"],[4,"&lbrke;"],[0,"&rbrke;"],[0,"&lbrkslu;"],[0,"&rbrksld;"],[0,"&lbrksld;"],[0,"&rbrkslu;"],[0,"&langd;"],[0,"&rangd;"],[0,"&lparlt;"],[0,"&rpargt;"],[0,"&gtlPar;"],[0,"&ltrPar;"],[3,"&vzigzag;"],[1,"&vangrt;"],[0,"&angrtvbd;"],[6,"&ange;"],[0,"&range;"],[0,"&dwangle;"],[0,"&uwangle;"],[0,"&angmsdaa;"],[0,"&angmsdab;"],[0,"&angmsdac;"],[0,"&angmsdad;"],[0,"&angmsdae;"],[0,"&angmsdaf;"],[0,"&angmsdag;"],[0,"&angmsdah;"],[0,"&bemptyv;"],[0,"&demptyv;"],[0,"&cemptyv;"],[0,"&raemptyv;"],[0,"&laemptyv;"],[0,"&ohbar;"],[0,"&omid;"],[0,"&opar;"],[1,"&operp;"],[1,"&olcross;"],[0,"&odsold;"],[1,"&olcir;"],[0,"&ofcir;"],[0,"&olt;"],[0,"&ogt;"],[0,"&cirscir;"],[0,"&cirE;"],[0,"&solb;"],[0,"&bsolb;"],[3,"&boxbox;"],[3,"&trisb;"],[0,"&rtriltri;"],[0,{v:"&LeftTriangleBar;",n:824,o:"&NotLeftTriangleBar;"}],[0,{v:"&RightTriangleBar;",n:824,o:"&NotRightTriangleBar;"}],[11,"&iinfin;"],[0,"&infintie;"],[0,"&nvinfin;"],[4,"&eparsl;"],[0,"&smeparsl;"],[0,"&eqvparsl;"],[5,"&blacklozenge;"],[8,"&RuleDelayed;"],[1,"&dsol;"],[9,"&bigodot;"],[0,"&bigoplus;"],[0,"&bigotimes;"],[1,"&biguplus;"],[1,"&bigsqcup;"],[5,"&iiiint;"],[0,"&fpartint;"],[2,"&cirfnint;"],[0,"&awint;"],[0,"&rppolint;"],[0,"&scpolint;"],[0,"&npolint;"],[0,"&pointint;"],[0,"&quatint;"],[0,"&intlarhk;"],[10,"&pluscir;"],[0,"&plusacir;"],[0,"&simplus;"],[0,"&plusdu;"],[0,"&plussim;"],[0,"&plustwo;"],[1,"&mcomma;"],[0,"&minusdu;"],[2,"&loplus;"],[0,"&roplus;"],[0,"&Cross;"],[0,"&timesd;"],[0,"&timesbar;"],[1,"&smashp;"],[0,"&lotimes;"],[0,"&rotimes;"],[0,"&otimesas;"],[0,"&Otimes;"],[0,"&odiv;"],[0,"&triplus;"],[0,"&triminus;"],[0,"&tritime;"],[0,"&intprod;"],[2,"&amalg;"],[0,"&capdot;"],[1,"&ncup;"],[0,"&ncap;"],[0,"&capand;"],[0,"&cupor;"],[0,"&cupcap;"],[0,"&capcup;"],[0,"&cupbrcap;"],[0,"&capbrcup;"],[0,"&cupcup;"],[0,"&capcap;"],[0,"&ccups;"],[0,"&ccaps;"],[2,"&ccupssm;"],[2,"&And;"],[0,"&Or;"],[0,"&andand;"],[0,"&oror;"],[0,"&orslope;"],[0,"&andslope;"],[1,"&andv;"],[0,"&orv;"],[0,"&andd;"],[0,"&ord;"],[1,"&wedbar;"],[6,"&sdote;"],[3,"&simdot;"],[2,{v:"&congdot;",n:824,o:"&ncongdot;"}],[0,"&easter;"],[0,"&apacir;"],[0,{v:"&apE;",n:824,o:"&napE;"}],[0,"&eplus;"],[0,"&pluse;"],[0,"&Esim;"],[0,"&Colone;"],[0,"&Equal;"],[1,"&ddotseq;"],[0,"&equivDD;"],[0,"&ltcir;"],[0,"&gtcir;"],[0,"&ltquest;"],[0,"&gtquest;"],[0,{v:"&leqslant;",n:824,o:"&nleqslant;"}],[0,{v:"&geqslant;",n:824,o:"&ngeqslant;"}],[0,"&lesdot;"],[0,"&gesdot;"],[0,"&lesdoto;"],[0,"&gesdoto;"],[0,"&lesdotor;"],[0,"&gesdotol;"],[0,"&lap;"],[0,"&gap;"],[0,"&lne;"],[0,"&gne;"],[0,"&lnap;"],[0,"&gnap;"],[0,"&lEg;"],[0,"&gEl;"],[0,"&lsime;"],[0,"&gsime;"],[0,"&lsimg;"],[0,"&gsiml;"],[0,"&lgE;"],[0,"&glE;"],[0,"&lesges;"],[0,"&gesles;"],[0,"&els;"],[0,"&egs;"],[0,"&elsdot;"],[0,"&egsdot;"],[0,"&el;"],[0,"&eg;"],[2,"&siml;"],[0,"&simg;"],[0,"&simlE;"],[0,"&simgE;"],[0,{v:"&LessLess;",n:824,o:"&NotNestedLessLess;"}],[0,{v:"&GreaterGreater;",n:824,o:"&NotNestedGreaterGreater;"}],[1,"&glj;"],[0,"&gla;"],[0,"&ltcc;"],[0,"&gtcc;"],[0,"&lescc;"],[0,"&gescc;"],[0,"&smt;"],[0,"&lat;"],[0,{v:"&smte;",n:65024,o:"&smtes;"}],[0,{v:"&late;",n:65024,o:"&lates;"}],[0,"&bumpE;"],[0,{v:"&PrecedesEqual;",n:824,o:"&NotPrecedesEqual;"}],[0,{v:"&sce;",n:824,o:"&NotSucceedsEqual;"}],[2,"&prE;"],[0,"&scE;"],[0,"&precneqq;"],[0,"&scnE;"],[0,"&prap;"],[0,"&scap;"],[0,"&precnapprox;"],[0,"&scnap;"],[0,"&Pr;"],[0,"&Sc;"],[0,"&subdot;"],[0,"&supdot;"],[0,"&subplus;"],[0,"&supplus;"],[0,"&submult;"],[0,"&supmult;"],[0,"&subedot;"],[0,"&supedot;"],[0,{v:"&subE;",n:824,o:"&nsubE;"}],[0,{v:"&supE;",n:824,o:"&nsupE;"}],[0,"&subsim;"],[0,"&supsim;"],[2,{v:"&subnE;",n:65024,o:"&varsubsetneqq;"}],[0,{v:"&supnE;",n:65024,o:"&varsupsetneqq;"}],[2,"&csub;"],[0,"&csup;"],[0,"&csube;"],[0,"&csupe;"],[0,"&subsup;"],[0,"&supsub;"],[0,"&subsub;"],[0,"&supsup;"],[0,"&suphsub;"],[0,"&supdsub;"],[0,"&forkv;"],[0,"&topfork;"],[0,"&mlcp;"],[8,"&Dashv;"],[1,"&Vdashl;"],[0,"&Barv;"],[0,"&vBar;"],[0,"&vBarv;"],[1,"&Vbar;"],[0,"&Not;"],[0,"&bNot;"],[0,"&rnmid;"],[0,"&cirmid;"],[0,"&midcir;"],[0,"&topcir;"],[0,"&nhpar;"],[0,"&parsim;"],[9,{v:"&parsl;",n:8421,o:"&nparsl;"}],[44343,{n:new Map(n([[56476,"&Ascr;"],[1,"&Cscr;"],[0,"&Dscr;"],[2,"&Gscr;"],[2,"&Jscr;"],[0,"&Kscr;"],[2,"&Nscr;"],[0,"&Oscr;"],[0,"&Pscr;"],[0,"&Qscr;"],[1,"&Sscr;"],[0,"&Tscr;"],[0,"&Uscr;"],[0,"&Vscr;"],[0,"&Wscr;"],[0,"&Xscr;"],[0,"&Yscr;"],[0,"&Zscr;"],[0,"&ascr;"],[0,"&bscr;"],[0,"&cscr;"],[0,"&dscr;"],[1,"&fscr;"],[1,"&hscr;"],[0,"&iscr;"],[0,"&jscr;"],[0,"&kscr;"],[0,"&lscr;"],[0,"&mscr;"],[0,"&nscr;"],[1,"&pscr;"],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[0,"&oopf;"],[0,"&popf;"],[0,"&qopf;"],[0,"&ropf;"],[0,"&sopf;"],[0,"&topf;"],[0,"&uopf;"],[0,"&vopf;"],[0,"&wopf;"],[0,"&xopf;"],[0,"&yopf;"],[0,"&zopf;"]]))}],[8906,"&fflig;"],[0,"&filig;"],[0,"&fllig;"],[0,"&ffilig;"],[0,"&ffllig;"]]))},2305:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLAttribute=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.DecodingMode=t.EntityDecoder=t.encodeHTML5=t.encodeHTML4=t.encodeNonAsciiHTML=t.encodeHTML=t.escapeText=t.escapeAttribute=t.escapeUTF8=t.escape=t.encodeXML=t.encode=t.decodeStrict=t.decode=t.EncodingMode=t.EntityLevel=void 0;var r,i,o=n(3379),a=n(3231),s=n(7078);function l(e,t){if(void 0===t&&(t=r.XML),("number"==typeof t?t:t.level)===r.HTML){var n="object"==typeof t?t.mode:void 0;return(0,o.decodeHTML)(e,n)}return(0,o.decodeXML)(e)}!function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"}(r=t.EntityLevel||(t.EntityLevel={})),function(e){e[e.UTF8=0]="UTF8",e[e.ASCII=1]="ASCII",e[e.Extensive=2]="Extensive",e[e.Attribute=3]="Attribute",e[e.Text=4]="Text"}(i=t.EncodingMode||(t.EncodingMode={})),t.decode=l,t.decodeStrict=function(e,t){var n;void 0===t&&(t=r.XML);var i="number"==typeof t?{level:t}:t;return null!==(n=i.mode)&&void 0!==n||(i.mode=o.DecodingMode.Strict),l(e,i)},t.encode=function(e,t){void 0===t&&(t=r.XML);var n="number"==typeof t?{level:t}:t;return n.mode===i.UTF8?(0,s.escapeUTF8)(e):n.mode===i.Attribute?(0,s.escapeAttribute)(e):n.mode===i.Text?(0,s.escapeText)(e):n.level===r.HTML?n.mode===i.ASCII?(0,a.encodeNonAsciiHTML)(e):(0,a.encodeHTML)(e):(0,s.encodeXML)(e)};var c=n(7078);Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return c.encodeXML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return c.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return c.escapeUTF8}}),Object.defineProperty(t,"escapeAttribute",{enumerable:!0,get:function(){return c.escapeAttribute}}),Object.defineProperty(t,"escapeText",{enumerable:!0,get:function(){return c.escapeText}});var u=n(3231);Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return u.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return u.encodeNonAsciiHTML}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return u.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return u.encodeHTML}});var d=n(3379);Object.defineProperty(t,"EntityDecoder",{enumerable:!0,get:function(){return d.EntityDecoder}}),Object.defineProperty(t,"DecodingMode",{enumerable:!0,get:function(){return d.DecodingMode}}),Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return d.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return d.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return d.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTMLAttribute",{enumerable:!0,get:function(){return d.decodeHTMLAttribute}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return d.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return d.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return d.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return d.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return d.decodeXML}})},2189:e=>{"use strict";e.exports=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},4867:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,l(r.key),r)}}function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(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)}var c=n(5442),u=n(9067),d=n(8654).createFocusTrap,f=n(679).isFocusable,p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o(e,t)}(h,e);var t,n,u,d,p=(u=h,d=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.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,t=s(u);if(d){var n=s(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return a(e)}(this,e)});function h(e){var t,n,r,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,h),n=a(t=p.call(this,e)),i=function(e){var t,n=null!==(t=this.internalOptions[e])&&void 0!==t?t:this.originalOptions[e];if("function"==typeof n){for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];n=n.apply(void 0,i)}if(!0===n&&(n=void 0),!n){if(void 0===n||!1===n)return n;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var a,s=n;if("string"==typeof n&&!(s=null===(a=this.getDocument())||void 0===a?void 0:a.querySelector(n)))throw new Error("`".concat(e,"` as selector refers to no known node"));return s},(r=l(r="getNodeForOption"))in n?Object.defineProperty(n,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[r]=i,t.handleDeactivate=t.handleDeactivate.bind(a(t)),t.handlePostDeactivate=t.handlePostDeactivate.bind(a(t)),t.handleClickOutsideDeactivates=t.handleClickOutsideDeactivates.bind(a(t)),t.internalOptions={returnFocusOnDeactivate:!1,checkCanReturnFocus:null,onDeactivate:t.handleDeactivate,onPostDeactivate:t.handlePostDeactivate,clickOutsideDeactivates:t.handleClickOutsideDeactivates},t.originalOptions={returnFocusOnDeactivate:!0,onDeactivate:null,onPostDeactivate:null,checkCanReturnFocus:null,clickOutsideDeactivates:!1};var o=e.focusTrapOptions;for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&("returnFocusOnDeactivate"!==s&&"onDeactivate"!==s&&"onPostDeactivate"!==s&&"checkCanReturnFocus"!==s&&"clickOutsideDeactivates"!==s?t.internalOptions[s]=o[s]:t.originalOptions[s]=o[s]);return t.outsideClick=null,t.focusTrapElements=e.containerElements||[],t.updatePreviousElement(),t}return t=h,(n=[{key:"getDocument",value:function(){return this.props.focusTrapOptions.document||("undefined"!=typeof document?document:void 0)}},{key:"getReturnFocusNode",value:function(){var e=this.getNodeForOption("setReturnFocus",this.previouslyFocusedElement);return e||!1!==e&&this.previouslyFocusedElement}},{key:"updatePreviousElement",value:function(){var e=this.getDocument();e&&(this.previouslyFocusedElement=e.activeElement)}},{key:"deactivateTrap",value:function(){this.focusTrap&&this.focusTrap.active&&this.focusTrap.deactivate({returnFocus:!1,checkCanReturnFocus:null,onDeactivate:this.originalOptions.onDeactivate})}},{key:"handleClickOutsideDeactivates",value:function(e){var t="function"==typeof this.originalOptions.clickOutsideDeactivates?this.originalOptions.clickOutsideDeactivates.call(null,e):this.originalOptions.clickOutsideDeactivates;return t&&(this.outsideClick={target:e.target,allowDeactivation:t}),t}},{key:"handleDeactivate",value:function(){this.originalOptions.onDeactivate&&this.originalOptions.onDeactivate.call(null),this.deactivateTrap()}},{key:"handlePostDeactivate",value:function(){var e=this,t=function(){var t=e.getReturnFocusNode(),n=!(!e.originalOptions.returnFocusOnDeactivate||null==t||!t.focus||e.outsideClick&&(!e.outsideClick.allowDeactivation||f(e.outsideClick.target,e.internalOptions.tabbableOptions))),r=e.internalOptions.preventScroll,i=void 0!==r&&r;n&&t.focus({preventScroll:i}),e.originalOptions.onPostDeactivate&&e.originalOptions.onPostDeactivate.call(null),e.outsideClick=null};this.originalOptions.checkCanReturnFocus?this.originalOptions.checkCanReturnFocus.call(null,this.getReturnFocusNode()).then(t,t):t()}},{key:"setupFocusTrap",value:function(){this.focusTrap?this.props.active&&!this.focusTrap.active&&(this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause()):this.focusTrapElements.some(Boolean)&&(this.focusTrap=this.props._createFocusTrap(this.focusTrapElements,this.internalOptions),this.props.active&&this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause())}},{key:"componentDidMount",value:function(){this.props.active&&this.setupFocusTrap()}},{key:"componentDidUpdate",value:function(e){if(this.focusTrap){e.containerElements!==this.props.containerElements&&this.focusTrap.updateContainerElements(this.props.containerElements);var t=!e.active&&this.props.active,n=e.active&&!this.props.active,r=!e.paused&&this.props.paused,i=e.paused&&!this.props.paused;if(t&&(this.updatePreviousElement(),this.focusTrap.activate()),n)return void this.deactivateTrap();r&&this.focusTrap.pause(),i&&this.focusTrap.unpause()}else e.containerElements!==this.props.containerElements&&(this.focusTrapElements=this.props.containerElements),this.props.active&&(this.updatePreviousElement(),this.setupFocusTrap())}},{key:"componentWillUnmount",value:function(){this.deactivateTrap()}},{key:"render",value:function(){var e=this,t=this.props.children?c.Children.only(this.props.children):void 0;if(t){if(t.type&&t.type===c.Fragment)throw new Error("A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> element.");return c.cloneElement(t,{ref:function(n){var r=e.props.containerElements;t&&("function"==typeof t.ref?t.ref(n):t.ref&&(t.ref.current=n)),e.focusTrapElements=r||[n]}})}return null}}])&&i(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),h}(c.Component),h="undefined"==typeof Element?Function:Element;p.propTypes={active:u.bool,paused:u.bool,focusTrapOptions:u.shape({document:u.object,onActivate:u.func,onPostActivate:u.func,checkCanFocusTrap:u.func,onPause:u.func,onPostPause:u.func,onUnpause:u.func,onPostUnpause:u.func,onDeactivate:u.func,onPostDeactivate:u.func,checkCanReturnFocus:u.func,initialFocus:u.oneOfType([u.instanceOf(h),u.string,u.bool,u.func]),fallbackFocus:u.oneOfType([u.instanceOf(h),u.string,u.func]),escapeDeactivates:u.oneOfType([u.bool,u.func]),clickOutsideDeactivates:u.oneOfType([u.bool,u.func]),returnFocusOnDeactivate:u.bool,setReturnFocus:u.oneOfType([u.instanceOf(h),u.string,u.bool,u.func]),allowOutsideClick:u.oneOfType([u.bool,u.func]),preventScroll:u.bool,tabbableOptions:u.shape({displayCheck:u.oneOf(["full","legacy-full","non-zero-area","none"]),getShadowRoot:u.oneOfType([u.bool,u.func])}),trapStack:u.array,isKeyForward:u.func,isKeyBackward:u.func}),containerElements:u.arrayOf(u.instanceOf(h)),children:u.oneOfType([u.element,u.instanceOf(h)])},p.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:d},e.exports=p},8654:(e,t,n)=>{"use strict";n.r(t),n.d(t,{createFocusTrap:()=>h});var r=n(679);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){var r,i,o;r=e,i=t,o=n[t],(i=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}(i))in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var a=function(e){return"Tab"===(null==e?void 0:e.key)||9===(null==e?void 0:e.keyCode)},s=function(e){return a(e)&&!e.shiftKey},l=function(e){return a(e)&&e.shiftKey},c=function(e){return setTimeout(e,0)},u=function(e,t){var n=-1;return e.every((function(e,r){return!t(e)||(n=r,!1)})),n},d=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return"function"==typeof e?e.apply(void 0,n):e},f=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},p=[],h=function(e,t){var n,i=(null==t?void 0:t.document)||document,h=(null==t?void 0:t.trapStack)||p,m=o({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:s,isKeyBackward:l},t),g={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},y=function(e,t,n){return e&&void 0!==e[t]?e[t]:m[n||t]},v=function(e,t){var n="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return g.containerGroups.findIndex((function(t){var r=t.container,i=t.tabbableNodes;return r.contains(e)||(null==n?void 0:n.includes(r))||i.find((function(t){return t===e}))}))},b=function(e){var t=m[e];if("function"==typeof t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];t=t.apply(void 0,r)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var a=t;if("string"==typeof t&&!(a=i.querySelector(t)))throw new Error("`".concat(e,"` as selector refers to no known node"));return a},I=function(){var e=b("initialFocus");if(!1===e)return!1;if(void 0===e||!(0,r.isFocusable)(e,m.tabbableOptions))if(v(i.activeElement)>=0)e=i.activeElement;else{var t=g.tabbableGroups[0];e=t&&t.firstTabbableNode||b("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},x=function(){if(g.containerGroups=g.containers.map((function(e){var t=(0,r.tabbable)(e,m.tabbableOptions),n=(0,r.focusable)(e,m.tabbableOptions),i=t.length>0?t[0]:void 0,o=t.length>0?t[t.length-1]:void 0,a=n.find((function(e){return(0,r.isTabbable)(e)})),s=n.slice().reverse().find((function(e){return(0,r.isTabbable)(e)})),l=!!t.find((function(e){return(0,r.getTabIndex)(e)>0}));return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:l,firstTabbableNode:i,lastTabbableNode:o,firstDomTabbableNode:a,lastDomTabbableNode:s,nextTabbableNode:function(e){var i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=t.indexOf(e);return o<0?i?n.slice(n.indexOf(e)+1).find((function(e){return(0,r.isTabbable)(e)})):n.slice(0,n.indexOf(e)).reverse().find((function(e){return(0,r.isTabbable)(e)})):t[o+(i?1:-1)]}}})),g.tabbableGroups=g.containerGroups.filter((function(e){return e.tabbableNodes.length>0})),g.tabbableGroups.length<=0&&!b("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(g.containerGroups.find((function(e){return e.posTabIndexesFound}))&&g.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},w=function e(t){var n=t.activeElement;if(n)return n.shadowRoot&&null!==n.shadowRoot.activeElement?e(n.shadowRoot):n},A=function e(t){!1!==t&&t!==w(document)&&(t&&t.focus?(t.focus({preventScroll:!!m.preventScroll}),g.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(I()))},T=function(e){var t=b("setReturnFocus",e);return t||!1!==t&&e},M=function(e){var t=e.target,n=e.event,i=e.isBackward,o=void 0!==i&&i;t=t||f(n),x();var s=null;if(g.tabbableGroups.length>0){var l=v(t,n),c=l>=0?g.containerGroups[l]:void 0;if(l<0)s=o?g.tabbableGroups[g.tabbableGroups.length-1].lastTabbableNode:g.tabbableGroups[0].firstTabbableNode;else if(o){var d=u(g.tabbableGroups,(function(e){var n=e.firstTabbableNode;return t===n}));if(d<0&&(c.container===t||(0,r.isFocusable)(t,m.tabbableOptions)&&!(0,r.isTabbable)(t,m.tabbableOptions)&&!c.nextTabbableNode(t,!1))&&(d=l),d>=0){var p=0===d?g.tabbableGroups.length-1:d-1,h=g.tabbableGroups[p];s=(0,r.getTabIndex)(t)>=0?h.lastTabbableNode:h.lastDomTabbableNode}else a(n)||(s=c.nextTabbableNode(t,!1))}else{var y=u(g.tabbableGroups,(function(e){var n=e.lastTabbableNode;return t===n}));if(y<0&&(c.container===t||(0,r.isFocusable)(t,m.tabbableOptions)&&!(0,r.isTabbable)(t,m.tabbableOptions)&&!c.nextTabbableNode(t))&&(y=l),y>=0){var I=y===g.tabbableGroups.length-1?0:y+1,w=g.tabbableGroups[I];s=(0,r.getTabIndex)(t)>=0?w.firstTabbableNode:w.firstDomTabbableNode}else a(n)||(s=c.nextTabbableNode(t))}}else s=b("fallbackFocus");return s},C=function(e){var t=f(e);v(t,e)>=0||(d(m.clickOutsideDeactivates,e)?n.deactivate({returnFocus:m.returnFocusOnDeactivate}):d(m.allowOutsideClick,e)||e.preventDefault())},E=function(e){var t=f(e),n=v(t,e)>=0;if(n||t instanceof Document)n&&(g.mostRecentlyFocusedNode=t);else{var i;e.stopImmediatePropagation();var o=!0;if(g.mostRecentlyFocusedNode)if((0,r.getTabIndex)(g.mostRecentlyFocusedNode)>0){var a=v(g.mostRecentlyFocusedNode),s=g.containerGroups[a].tabbableNodes;if(s.length>0){var l=s.findIndex((function(e){return e===g.mostRecentlyFocusedNode}));l>=0&&(m.isKeyForward(g.recentNavEvent)?l+1<s.length&&(i=s[l+1],o=!1):l-1>=0&&(i=s[l-1],o=!1))}}else g.containerGroups.some((function(e){return e.tabbableNodes.some((function(e){return(0,r.getTabIndex)(e)>0}))}))||(o=!1);else o=!1;o&&(i=M({target:g.mostRecentlyFocusedNode,isBackward:m.isKeyBackward(g.recentNavEvent)})),A(i||g.mostRecentlyFocusedNode||I())}g.recentNavEvent=void 0},N=function(e){if(("Escape"===(null==(t=e)?void 0:t.key)||"Esc"===(null==t?void 0:t.key)||27===(null==t?void 0:t.keyCode))&&!1!==d(m.escapeDeactivates,e))return e.preventDefault(),void n.deactivate();var t;(m.isKeyForward(e)||m.isKeyBackward(e))&&function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];g.recentNavEvent=e;var n=M({event:e,isBackward:t});n&&(a(e)&&e.preventDefault(),A(n))}(e,m.isKeyBackward(e))},S=function(e){var t=f(e);v(t,e)>=0||d(m.clickOutsideDeactivates,e)||d(m.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},k=function(){if(g.active)return function(e,t){if(e.length>0){var n=e[e.length-1];n!==t&&n.pause()}var r=e.indexOf(t);-1===r||e.splice(r,1),e.push(t)}(h,n),g.delayInitialFocusTimer=m.delayInitialFocus?c((function(){A(I())})):A(I()),i.addEventListener("focusin",E,!0),i.addEventListener("mousedown",C,{capture:!0,passive:!1}),i.addEventListener("touchstart",C,{capture:!0,passive:!1}),i.addEventListener("click",S,{capture:!0,passive:!1}),i.addEventListener("keydown",N,{capture:!0,passive:!1}),n},j=function(){if(g.active)return i.removeEventListener("focusin",E,!0),i.removeEventListener("mousedown",C,!0),i.removeEventListener("touchstart",C,!0),i.removeEventListener("click",S,!0),i.removeEventListener("keydown",N,!0),n},D="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver((function(e){e.some((function(e){return Array.from(e.removedNodes).some((function(e){return e===g.mostRecentlyFocusedNode}))}))&&A(I())})):void 0,L=function(){D&&(D.disconnect(),g.active&&!g.paused&&g.containers.map((function(e){D.observe(e,{subtree:!0,childList:!0})})))};return(n={get active(){return g.active},get paused(){return g.paused},activate:function(e){if(g.active)return this;var t=y(e,"onActivate"),n=y(e,"onPostActivate"),r=y(e,"checkCanFocusTrap");r||x(),g.active=!0,g.paused=!1,g.nodeFocusedBeforeActivation=i.activeElement,null==t||t();var o=function(){r&&x(),k(),L(),null==n||n()};return r?(r(g.containers.concat()).then(o,o),this):(o(),this)},deactivate:function(e){if(!g.active)return this;var t=o({onDeactivate:m.onDeactivate,onPostDeactivate:m.onPostDeactivate,checkCanReturnFocus:m.checkCanReturnFocus},e);clearTimeout(g.delayInitialFocusTimer),g.delayInitialFocusTimer=void 0,j(),g.active=!1,g.paused=!1,L(),function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),e.length>0&&e[e.length-1].unpause()}(h,n);var r=y(t,"onDeactivate"),i=y(t,"onPostDeactivate"),a=y(t,"checkCanReturnFocus"),s=y(t,"returnFocus","returnFocusOnDeactivate");null==r||r();var l=function(){c((function(){s&&A(T(g.nodeFocusedBeforeActivation)),null==i||i()}))};return s&&a?(a(T(g.nodeFocusedBeforeActivation)).then(l,l),this):(l(),this)},pause:function(e){if(g.paused||!g.active)return this;var t=y(e,"onPause"),n=y(e,"onPostPause");return g.paused=!0,null==t||t(),j(),L(),null==n||n(),this},unpause:function(e){if(!g.paused||!g.active)return this;var t=y(e,"onUnpause"),n=y(e,"onPostUnpause");return g.paused=!1,null==t||t(),x(),k(),L(),null==n||n(),this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return g.containers=t.map((function(e){return"string"==typeof e?i.querySelector(e):e})),g.active&&x(),L(),this}}).updateContainerElements(e),n}},7767: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)}()})),m=new Promise((function(e,t){c=setTimeout((function(){t(Error(u+"ms timeout exceeded"))}),u)}));Promise.race([m,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!=g&&-1!=y||-1!=g&&-1!=v||-1!=y&&-1!=v)&&((t=g!=y&&g!=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&&(g==b&&y==b&&v==b||g==I&&y==I&&v==I||g==x&&y==x&&v==x)),t=!t),t&&(null!==w.parentNode&&w.parentNode.removeChild(w),clearTimeout(c),e(i))}var d=new n(a),h=new n(a),m=new n(a),g=-1,y=-1,v=-1,b=-1,I=-1,x=-1,w=document.createElement("div");w.dir="ltr",r(d,f(i,"sans-serif")),r(h,f(i,"serif")),r(m,f(i,"monospace")),w.appendChild(d.g),w.appendChild(h.g),w.appendChild(m.g),i.context.document.body.appendChild(w),b=d.g.offsetWidth,I=h.g.offsetWidth,x=m.g.offsetWidth,function e(){if((new Date).getTime()-p>=u)null!==w.parentNode&&w.parentNode.removeChild(w),t(Error(u+"ms timeout exceeded"));else{var n=i.context.document.hidden;!0!==n&&void 0!==n||(g=d.g.offsetWidth,y=h.g.offsetWidth,v=m.g.offsetWidth,l()),c=setTimeout(e,50)}}(),o(d,(function(e){g=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(m,(function(e){v=e,l()})),r(m,f(i,'"'+i.family+'",monospace'))}))}))},e.exports=a}()},4291:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}: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};Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=void 0;var a=o(n(6439)),s=n(3379),l=new Set(["input","option","optgroup","select","button","datalist","textarea"]),c=new Set(["p"]),u=new Set(["thead","tbody"]),d=new Set(["dd","dt"]),f=new Set(["rt","rp"]),p=new Map([["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",c],["h1",c],["h2",c],["h3",c],["h4",c],["h5",c],["h6",c],["select",l],["input",l],["output",l],["button",l],["datalist",l],["textarea",l],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",d],["dt",d],["address",c],["article",c],["aside",c],["blockquote",c],["details",c],["div",c],["dl",c],["fieldset",c],["figcaption",c],["figure",c],["footer",c],["form",c],["header",c],["hr",c],["main",c],["nav",c],["ol",c],["pre",c],["section",c],["table",c],["ul",c],["rt",f],["rp",f],["tbody",u],["tfoot",u]]),h=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),m=new Set(["math","svg"]),g=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),y=/\s|\//,v=function(){function e(e,t){var n,r,i,o,s;void 0===t&&(t={}),this.options=t,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,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!==(i=t.Tokenizer)&&void 0!==i?i:a.default)(this.options,this),null===(s=(o=this.cbs).onparserinit)||void 0===s||s.call(o,this)}return e.prototype.ontext=function(e,t){var n,r,i=this.getSlice(e,t);this.endIndex=t-1,null===(r=(n=this.cbs).ontext)||void 0===r||r.call(n,i),this.startIndex=t},e.prototype.ontextentity=function(e){var t,n,r=this.tokenizer.getSectionStart();this.endIndex=r-1,null===(n=(t=this.cbs).ontext)||void 0===n||n.call(t,(0,s.fromCodePoint)(e)),this.startIndex=r},e.prototype.isVoidElement=function(e){return!this.options.xmlMode&&h.has(e)},e.prototype.onopentagname=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);this.lowerCaseTagNames&&(n=n.toLowerCase()),this.emitOpenTag(n)},e.prototype.emitOpenTag=function(e){var t,n,r,i;this.openTagStart=this.startIndex,this.tagname=e;var o=!this.options.xmlMode&&p.get(e);if(o)for(;this.stack.length>0&&o.has(this.stack[this.stack.length-1]);){var a=this.stack.pop();null===(n=(t=this.cbs).onclosetag)||void 0===n||n.call(t,a,!0)}this.isVoidElement(e)||(this.stack.push(e),m.has(e)?this.foreignContext.push(!0):g.has(e)&&this.foreignContext.push(!1)),null===(i=(r=this.cbs).onopentagname)||void 0===i||i.call(r,e),this.cbs.onopentag&&(this.attribs={})},e.prototype.endOpenTag=function(e){var t,n;this.startIndex=this.openTagStart,this.attribs&&(null===(n=(t=this.cbs).onopentag)||void 0===n||n.call(t,this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},e.prototype.onopentagend=function(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1},e.prototype.onclosetag=function(e,t){var n,r,i,o,a,s;this.endIndex=t;var l=this.getSlice(e,t);if(this.lowerCaseTagNames&&(l=l.toLowerCase()),(m.has(l)||g.has(l))&&this.foreignContext.pop(),this.isVoidElement(l))this.options.xmlMode||"br"!==l||(null===(r=(n=this.cbs).onopentagname)||void 0===r||r.call(n,"br"),null===(o=(i=this.cbs).onopentag)||void 0===o||o.call(i,"br",{},!0),null===(s=(a=this.cbs).onclosetag)||void 0===s||s.call(a,"br",!1));else{var c=this.stack.lastIndexOf(l);if(-1!==c)if(this.cbs.onclosetag)for(var u=this.stack.length-c;u--;)this.cbs.onclosetag(this.stack.pop(),0!==u);else this.stack.length=c;else this.options.xmlMode||"p"!==l||(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=t+1},e.prototype.onselfclosingtag=function(e){this.endIndex=e,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)},e.prototype.closeCurrentTag=function(e){var t,n,r=this.tagname;this.endOpenTag(e),this.stack[this.stack.length-1]===r&&(null===(n=(t=this.cbs).onclosetag)||void 0===n||n.call(t,r,!e),this.stack.pop())},e.prototype.onattribname=function(e,t){this.startIndex=e;var n=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?n.toLowerCase():n},e.prototype.onattribdata=function(e,t){this.attribvalue+=this.getSlice(e,t)},e.prototype.onattribentity=function(e){this.attribvalue+=(0,s.fromCodePoint)(e)},e.prototype.onattribend=function(e,t){var n,r;this.endIndex=t,null===(r=(n=this.cbs).onattribute)||void 0===r||r.call(n,this.attribname,this.attribvalue,e===a.QuoteType.Double?'"':e===a.QuoteType.Single?"'":e===a.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""},e.prototype.getInstructionName=function(e){var t=e.search(y),n=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n},e.prototype.ondeclaration=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var r=this.getInstructionName(n);this.cbs.onprocessinginstruction("!".concat(r),"!".concat(n))}this.startIndex=t+1},e.prototype.onprocessinginstruction=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var r=this.getInstructionName(n);this.cbs.onprocessinginstruction("?".concat(r),"?".concat(n))}this.startIndex=t+1},e.prototype.oncomment=function(e,t,n){var r,i,o,a;this.endIndex=t,null===(i=(r=this.cbs).oncomment)||void 0===i||i.call(r,this.getSlice(e,t-n)),null===(a=(o=this.cbs).oncommentend)||void 0===a||a.call(o),this.startIndex=t+1},e.prototype.oncdata=function(e,t,n){var r,i,o,a,s,l,c,u,d,f;this.endIndex=t;var p=this.getSlice(e,t-n);this.options.xmlMode||this.options.recognizeCDATA?(null===(i=(r=this.cbs).oncdatastart)||void 0===i||i.call(r),null===(a=(o=this.cbs).ontext)||void 0===a||a.call(o,p),null===(l=(s=this.cbs).oncdataend)||void 0===l||l.call(s)):(null===(u=(c=this.cbs).oncomment)||void 0===u||u.call(c,"[CDATA[".concat(p,"]]")),null===(f=(d=this.cbs).oncommentend)||void 0===f||f.call(d)),this.startIndex=t+1},e.prototype.onend=function(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var n=this.stack.length;n>0;this.cbs.onclosetag(this.stack[--n],!0));}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.length=0,this.startIndex=0,this.endIndex=0,null===(r=(n=this.cbs).onparserinit)||void 0===r||r.call(n,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},e.prototype.parseComplete=function(e){this.reset(),this.end(e)},e.prototype.getSlice=function(e,t){for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var n=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),n+=this.buffers[0].slice(0,t-this.bufferOffset);return n},e.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},e.prototype.write=function(e){var t,n;this.ended?null===(n=(t=this.cbs).onerror)||void 0===n||n.call(t,new Error(".write() after done!")):(this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++))},e.prototype.end=function(e){var t,n;this.ended?null===(n=(t=this.cbs).onerror)||void 0===n||n.call(t,new Error(".end() after done!")):(e&&this.write(e),this.ended=!0,this.tokenizer.end())},e.prototype.pause=function(){this.tokenizer.pause()},e.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()},e.prototype.parseChunk=function(e){this.write(e)},e.prototype.done=function(e){this.end(e)},e}();t.Parser=v},6439:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.QuoteType=void 0;var r,i,o,a=n(3379);function s(e){return e===r.Space||e===r.NewLine||e===r.Tab||e===r.FormFeed||e===r.CarriageReturn}function l(e){return e===r.Slash||e===r.Gt||s(e)}function c(e){return e>=r.Zero&&e<=r.Nine}!function(e){e[e.Tab=9]="Tab",e[e.NewLine=10]="NewLine",e[e.FormFeed=12]="FormFeed",e[e.CarriageReturn=13]="CarriageReturn",e[e.Space=32]="Space",e[e.ExclamationMark=33]="ExclamationMark",e[e.Number=35]="Number",e[e.Amp=38]="Amp",e[e.SingleQuote=39]="SingleQuote",e[e.DoubleQuote=34]="DoubleQuote",e[e.Dash=45]="Dash",e[e.Slash=47]="Slash",e[e.Zero=48]="Zero",e[e.Nine=57]="Nine",e[e.Semi=59]="Semi",e[e.Lt=60]="Lt",e[e.Eq=61]="Eq",e[e.Gt=62]="Gt",e[e.Questionmark=63]="Questionmark",e[e.UpperA=65]="UpperA",e[e.LowerA=97]="LowerA",e[e.UpperF=70]="UpperF",e[e.LowerF=102]="LowerF",e[e.UpperZ=90]="UpperZ",e[e.LowerZ=122]="LowerZ",e[e.LowerX=120]="LowerX",e[e.OpeningSquareBracket=91]="OpeningSquareBracket"}(r||(r={})),function(e){e[e.Text=1]="Text",e[e.BeforeTagName=2]="BeforeTagName",e[e.InTagName=3]="InTagName",e[e.InSelfClosingTag=4]="InSelfClosingTag",e[e.BeforeClosingTagName=5]="BeforeClosingTagName",e[e.InClosingTagName=6]="InClosingTagName",e[e.AfterClosingTagName=7]="AfterClosingTagName",e[e.BeforeAttributeName=8]="BeforeAttributeName",e[e.InAttributeName=9]="InAttributeName",e[e.AfterAttributeName=10]="AfterAttributeName",e[e.BeforeAttributeValue=11]="BeforeAttributeValue",e[e.InAttributeValueDq=12]="InAttributeValueDq",e[e.InAttributeValueSq=13]="InAttributeValueSq",e[e.InAttributeValueNq=14]="InAttributeValueNq",e[e.BeforeDeclaration=15]="BeforeDeclaration",e[e.InDeclaration=16]="InDeclaration",e[e.InProcessingInstruction=17]="InProcessingInstruction",e[e.BeforeComment=18]="BeforeComment",e[e.CDATASequence=19]="CDATASequence",e[e.InSpecialComment=20]="InSpecialComment",e[e.InCommentLike=21]="InCommentLike",e[e.BeforeSpecialS=22]="BeforeSpecialS",e[e.SpecialStartSequence=23]="SpecialStartSequence",e[e.InSpecialTag=24]="InSpecialTag",e[e.BeforeEntity=25]="BeforeEntity",e[e.BeforeNumericEntity=26]="BeforeNumericEntity",e[e.InNamedEntity=27]="InNamedEntity",e[e.InNumericEntity=28]="InNumericEntity",e[e.InHexEntity=29]="InHexEntity"}(i||(i={})),function(e){e[e.NoValue=0]="NoValue",e[e.Unquoted=1]="Unquoted",e[e.Single=2]="Single",e[e.Double=3]="Double"}(o=t.QuoteType||(t.QuoteType={}));var u={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])},d=function(){function e(e,t){var n=e.xmlMode,r=void 0!==n&&n,o=e.decodeEntities,s=void 0===o||o;this.cbs=t,this.state=i.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=i.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=r,this.decodeEntities=s,this.entityTrie=r?a.xmlDecodeTree:a.htmlDecodeTree}return e.prototype.reset=function(){this.state=i.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=i.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},e.prototype.write=function(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()},e.prototype.end=function(){this.running&&this.finish()},e.prototype.pause=function(){this.running=!1},e.prototype.resume=function(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()},e.prototype.getIndex=function(){return this.index},e.prototype.getSectionStart=function(){return this.sectionStart},e.prototype.stateText=function(e){e===r.Lt||!this.decodeEntities&&this.fastForwardTo(r.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=i.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===r.Amp&&(this.state=i.BeforeEntity)},e.prototype.stateSpecialStartSequence=function(e){var t=this.sequenceIndex===this.currentSequence.length;if(t?l(e):(32|e)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this.state=i.InTagName,this.stateInTagName(e)},e.prototype.stateInSpecialTag=function(e){if(this.sequenceIndex===this.currentSequence.length){if(e===r.Gt||s(e)){var t=this.index-this.currentSequence.length;if(this.sectionStart<t){var n=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=n}return this.isSpecial=!1,this.sectionStart=t+2,void this.stateInClosingTagName(e)}this.sequenceIndex=0}(32|e)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===u.TitleEnd?this.decodeEntities&&e===r.Amp&&(this.state=i.BeforeEntity):this.fastForwardTo(r.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=Number(e===r.Lt)},e.prototype.stateCDATASequence=function(e){e===u.Cdata[this.sequenceIndex]?++this.sequenceIndex===u.Cdata.length&&(this.state=i.InCommentLike,this.currentSequence=u.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=i.InDeclaration,this.stateInDeclaration(e))},e.prototype.fastForwardTo=function(e){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===e)return!0;return this.index=this.buffer.length+this.offset-1,!1},e.prototype.stateInCommentLike=function(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===u.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=i.Text):0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)},e.prototype.isTagStartChar=function(e){return this.xmlMode?!l(e):function(e){return e>=r.LowerA&&e<=r.LowerZ||e>=r.UpperA&&e<=r.UpperZ}(e)},e.prototype.startSpecial=function(e,t){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=t,this.state=i.SpecialStartSequence},e.prototype.stateBeforeTagName=function(e){if(e===r.ExclamationMark)this.state=i.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===r.Questionmark)this.state=i.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(e)){var t=32|e;this.sectionStart=this.index,this.xmlMode||t!==u.TitleEnd[2]?this.state=this.xmlMode||t!==u.ScriptEnd[2]?i.InTagName:i.BeforeSpecialS:this.startSpecial(u.TitleEnd,3)}else e===r.Slash?this.state=i.BeforeClosingTagName:(this.state=i.Text,this.stateText(e))},e.prototype.stateInTagName=function(e){l(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e))},e.prototype.stateBeforeClosingTagName=function(e){s(e)||(e===r.Gt?this.state=i.Text:(this.state=this.isTagStartChar(e)?i.InClosingTagName:i.InSpecialComment,this.sectionStart=this.index))},e.prototype.stateInClosingTagName=function(e){(e===r.Gt||s(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.AfterClosingTagName,this.stateAfterClosingTagName(e))},e.prototype.stateAfterClosingTagName=function(e){(e===r.Gt||this.fastForwardTo(r.Gt))&&(this.state=i.Text,this.baseState=i.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeAttributeName=function(e){e===r.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=i.InSpecialTag,this.sequenceIndex=0):this.state=i.Text,this.baseState=this.state,this.sectionStart=this.index+1):e===r.Slash?this.state=i.InSelfClosingTag:s(e)||(this.state=i.InAttributeName,this.sectionStart=this.index)},e.prototype.stateInSelfClosingTag=function(e){e===r.Gt?(this.cbs.onselfclosingtag(this.index),this.state=i.Text,this.baseState=i.Text,this.sectionStart=this.index+1,this.isSpecial=!1):s(e)||(this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e))},e.prototype.stateInAttributeName=function(e){(e===r.Eq||l(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.AfterAttributeName,this.stateAfterAttributeName(e))},e.prototype.stateAfterAttributeName=function(e){e===r.Eq?this.state=i.BeforeAttributeValue:e===r.Slash||e===r.Gt?(this.cbs.onattribend(o.NoValue,this.index),this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e)):s(e)||(this.cbs.onattribend(o.NoValue,this.index),this.state=i.InAttributeName,this.sectionStart=this.index)},e.prototype.stateBeforeAttributeValue=function(e){e===r.DoubleQuote?(this.state=i.InAttributeValueDq,this.sectionStart=this.index+1):e===r.SingleQuote?(this.state=i.InAttributeValueSq,this.sectionStart=this.index+1):s(e)||(this.sectionStart=this.index,this.state=i.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))},e.prototype.handleInAttributeValue=function(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===r.DoubleQuote?o.Double:o.Single,this.index),this.state=i.BeforeAttributeName):this.decodeEntities&&e===r.Amp&&(this.baseState=this.state,this.state=i.BeforeEntity)},e.prototype.stateInAttributeValueDoubleQuotes=function(e){this.handleInAttributeValue(e,r.DoubleQuote)},e.prototype.stateInAttributeValueSingleQuotes=function(e){this.handleInAttributeValue(e,r.SingleQuote)},e.prototype.stateInAttributeValueNoQuotes=function(e){s(e)||e===r.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(o.Unquoted,this.index),this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===r.Amp&&(this.baseState=this.state,this.state=i.BeforeEntity)},e.prototype.stateBeforeDeclaration=function(e){e===r.OpeningSquareBracket?(this.state=i.CDATASequence,this.sequenceIndex=0):this.state=e===r.Dash?i.BeforeComment:i.InDeclaration},e.prototype.stateInDeclaration=function(e){(e===r.Gt||this.fastForwardTo(r.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=i.Text,this.sectionStart=this.index+1)},e.prototype.stateInProcessingInstruction=function(e){(e===r.Gt||this.fastForwardTo(r.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=i.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeComment=function(e){e===r.Dash?(this.state=i.InCommentLike,this.currentSequence=u.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=i.InDeclaration},e.prototype.stateInSpecialComment=function(e){(e===r.Gt||this.fastForwardTo(r.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=i.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeSpecialS=function(e){var t=32|e;t===u.ScriptEnd[3]?this.startSpecial(u.ScriptEnd,4):t===u.StyleEnd[3]?this.startSpecial(u.StyleEnd,4):(this.state=i.InTagName,this.stateInTagName(e))},e.prototype.stateBeforeEntity=function(e){this.entityExcess=1,this.entityResult=0,e===r.Number?this.state=i.BeforeNumericEntity:e===r.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=i.InNamedEntity,this.stateInNamedEntity(e))},e.prototype.stateInNamedEntity=function(e){if(this.entityExcess+=1,this.trieIndex=(0,a.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,e),this.trieIndex<0)return this.emitNamedEntity(),void this.index--;this.trieCurrent=this.entityTrie[this.trieIndex];var t=this.trieCurrent&a.BinTrieFlags.VALUE_LENGTH;if(t){var n=(t>>14)-1;if(this.allowLegacyEntity()||e===r.Semi){var i=this.index-this.entityExcess+1;i>this.sectionStart&&this.emitPartial(this.sectionStart,i),this.entityResult=this.trieIndex,this.trieIndex+=n,this.entityExcess=0,this.sectionStart=this.index+1,0===n&&this.emitNamedEntity()}else this.trieIndex+=n}},e.prototype.emitNamedEntity=function(){if(this.state=this.baseState,0!==this.entityResult)switch((this.entityTrie[this.entityResult]&a.BinTrieFlags.VALUE_LENGTH)>>14){case 1:this.emitCodePoint(this.entityTrie[this.entityResult]&~a.BinTrieFlags.VALUE_LENGTH);break;case 2:this.emitCodePoint(this.entityTrie[this.entityResult+1]);break;case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}},e.prototype.stateBeforeNumericEntity=function(e){(32|e)===r.LowerX?(this.entityExcess++,this.state=i.InHexEntity):(this.state=i.InNumericEntity,this.stateInNumericEntity(e))},e.prototype.emitNumericEntity=function(e){var t=this.index-this.entityExcess-1;t+2+Number(this.state===i.InHexEntity)!==this.index&&(t>this.sectionStart&&this.emitPartial(this.sectionStart,t),this.sectionStart=this.index+Number(e),this.emitCodePoint((0,a.replaceCodePoint)(this.entityResult))),this.state=this.baseState},e.prototype.stateInNumericEntity=function(e){e===r.Semi?this.emitNumericEntity(!0):c(e)?(this.entityResult=10*this.entityResult+(e-r.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},e.prototype.stateInHexEntity=function(e){e===r.Semi?this.emitNumericEntity(!0):c(e)?(this.entityResult=16*this.entityResult+(e-r.Zero),this.entityExcess++):function(e){return e>=r.UpperA&&e<=r.UpperF||e>=r.LowerA&&e<=r.LowerF}(e)?(this.entityResult=16*this.entityResult+((32|e)-r.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},e.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===i.Text||this.baseState===i.InSpecialTag)},e.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===i.Text||this.state===i.InSpecialTag&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):this.state!==i.InAttributeValueDq&&this.state!==i.InAttributeValueSq&&this.state!==i.InAttributeValueNq||(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},e.prototype.shouldContinue=function(){return this.index<this.buffer.length+this.offset&&this.running},e.prototype.parse=function(){for(;this.shouldContinue();){var e=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case i.Text:this.stateText(e);break;case i.SpecialStartSequence:this.stateSpecialStartSequence(e);break;case i.InSpecialTag:this.stateInSpecialTag(e);break;case i.CDATASequence:this.stateCDATASequence(e);break;case i.InAttributeValueDq:this.stateInAttributeValueDoubleQuotes(e);break;case i.InAttributeName:this.stateInAttributeName(e);break;case i.InCommentLike:this.stateInCommentLike(e);break;case i.InSpecialComment:this.stateInSpecialComment(e);break;case i.BeforeAttributeName:this.stateBeforeAttributeName(e);break;case i.InTagName:this.stateInTagName(e);break;case i.InClosingTagName:this.stateInClosingTagName(e);break;case i.BeforeTagName:this.stateBeforeTagName(e);break;case i.AfterAttributeName:this.stateAfterAttributeName(e);break;case i.InAttributeValueSq:this.stateInAttributeValueSingleQuotes(e);break;case i.BeforeAttributeValue:this.stateBeforeAttributeValue(e);break;case i.BeforeClosingTagName:this.stateBeforeClosingTagName(e);break;case i.AfterClosingTagName:this.stateAfterClosingTagName(e);break;case i.BeforeSpecialS:this.stateBeforeSpecialS(e);break;case i.InAttributeValueNq:this.stateInAttributeValueNoQuotes(e);break;case i.InSelfClosingTag:this.stateInSelfClosingTag(e);break;case i.InDeclaration:this.stateInDeclaration(e);break;case i.BeforeDeclaration:this.stateBeforeDeclaration(e);break;case i.BeforeComment:this.stateBeforeComment(e);break;case i.InProcessingInstruction:this.stateInProcessingInstruction(e);break;case i.InNamedEntity:this.stateInNamedEntity(e);break;case i.BeforeEntity:this.stateBeforeEntity(e);break;case i.InHexEntity:this.stateInHexEntity(e);break;case i.InNumericEntity:this.stateInNumericEntity(e);break;default:this.stateBeforeNumericEntity(e)}this.index++}this.cleanup()},e.prototype.finish=function(){this.state===i.InNamedEntity&&this.emitNamedEntity(),this.sectionStart<this.index&&this.handleTrailingData(),this.cbs.onend()},e.prototype.handleTrailingData=function(){var e=this.buffer.length+this.offset;this.state===i.InCommentLike?this.currentSequence===u.CdataEnd?this.cbs.oncdata(this.sectionStart,e,0):this.cbs.oncomment(this.sectionStart,e,0):this.state===i.InNumericEntity&&this.allowLegacyEntity()||this.state===i.InHexEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===i.InTagName||this.state===i.BeforeAttributeName||this.state===i.BeforeAttributeValue||this.state===i.AfterAttributeName||this.state===i.InAttributeName||this.state===i.InAttributeValueSq||this.state===i.InAttributeValueDq||this.state===i.InAttributeValueNq||this.state===i.InClosingTagName||this.cbs.ontext(this.sectionStart,e)},e.prototype.emitPartial=function(e,t){this.baseState!==i.Text&&this.baseState!==i.InSpecialTag?this.cbs.onattribdata(e,t):this.cbs.ontext(e,t)},e.prototype.emitCodePoint=function(e){this.baseState!==i.Text&&this.baseState!==i.InSpecialTag?this.cbs.onattribentity(e):this.cbs.ontextentity(e)},e}();t.default=d},5482:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}: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.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DomUtils=t.parseFeed=t.getFeed=t.ElementType=t.Tokenizer=t.createDomStream=t.parseDOM=t.parseDocument=t.DefaultHandler=t.DomHandler=t.Parser=void 0;var s=n(4291),l=n(4291);Object.defineProperty(t,"Parser",{enumerable:!0,get:function(){return l.Parser}});var c=n(1138),u=n(1138);function d(e,t){var n=new c.DomHandler(void 0,t);return new s.Parser(n,t).end(e),n.root}function f(e,t){return d(e,t).children}Object.defineProperty(t,"DomHandler",{enumerable:!0,get:function(){return u.DomHandler}}),Object.defineProperty(t,"DefaultHandler",{enumerable:!0,get:function(){return u.DomHandler}}),t.parseDocument=d,t.parseDOM=f,t.createDomStream=function(e,t,n){var r=new c.DomHandler(e,t,n);return new s.Parser(r,t)};var p=n(6439);Object.defineProperty(t,"Tokenizer",{enumerable:!0,get:function(){return a(p).default}}),t.ElementType=o(n(3338));var h=n(6403),m=n(6403);Object.defineProperty(t,"getFeed",{enumerable:!0,get:function(){return m.getFeed}});var g={xmlMode:!0};t.parseFeed=function(e,t){return void 0===t&&(t=g),(0,h.getFeed)(f(e,t))},t.DomUtils=o(n(6403))},993:(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"))}},4651: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,m=h.call(Object),g={},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 w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[f.call(e)]||"object":typeof e}var A="3.7.1",T=/HTML$/i,M=function(e,t){return new M.fn.init(e,t)};function C(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!y(e)&&!v(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function E(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}M.fn=M.prototype={jquery:A,constructor:M,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=M.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return M.each(this,e)},map:function(e){return this.pushStack(M.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(M.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(M.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},M.extend=M.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&&(M.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||M.isPlainObject(n)?n:{},i=!1,a[t]=M.extend(c,o,r)):void 0!==r&&(a[t]=r));return a},M.extend({expando:"jQuery"+(A+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)!==m))},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)for(;t=e[r++];)n+=M.text(t);return 1===i||11===i?e.textContent:9===i?e.documentElement.textContent:3===i||4===i?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(C(Object(e))?M.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:g}),"function"==typeof Symbol&&(M.fn[Symbol.iterator]=o[Symbol.iterator]),M.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){d["[object "+t+"]"]=t.toLowerCase()}));var N=o.pop,S=o.sort,k=o.splice,j="[\\x20\\t\\r\\n\\f]",D=new RegExp("^"+j+"+|((?:^|[^\\\\])(?:\\\\.)*)"+j+"+$","g");M.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}M.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,m=P,y=M.expando,v=0,b=0,I=ee(),x=ee(),w=ee(),A=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}"+j+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",O="\\["+j+"*("+L+")(?:"+j+"*([*^$|!~]?=)"+j+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+L+"))|)"+j+"*\\]",z=":("+L+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+O+")*)|.*)\\)|)",U=new RegExp(j+"+","g"),B=new RegExp("^"+j+"*,"+j+"*"),G=new RegExp("^"+j+"*([>+~]|"+j+")"+j+"*"),Z=new RegExp(j+"|>"),F=new RegExp(z),H=new RegExp("^"+L+"$"),_={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)(?:\\("+j+"*(even|odd|(([+-]|)(\\d*)n|)"+j+"*(?:([+-]|)"+j+"*(\\d+)|))"+j+"*\\)|)","i"),bool:new RegExp("^(?:"+C+")$","i"),needsContext:new RegExp("^"+j+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+j+"*((?:-\\d)?\\d*)"+j+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,V=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,W=/[+~]/,Q=new RegExp("\\\\[\\da-fA-F]{1,6}"+j+"?|\\\\([^\\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&&E(e,"fieldset")}),{dir:"parentNode",next:"legend"});try{m.apply(o=s.call(R.childNodes),R.childNodes),o[R.childNodes.length].nodeType}catch(e){m={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 m.call(n,a),n}else if(h&&(a=h.getElementById(i))&&$.contains(t,a)&&a.id===i)return m.call(n,a),n}else{if(c[2])return m.apply(n,t.getElementsByTagName(e)),n;if((i=c[3])&&t.getElementsByClassName)return m.apply(n,t.getElementsByClassName(i)),n}if(!(A[e+" "]||f&&f.test(e))){if(p=e,h=t,1===v&&(Z.test(e)||G.test(e))){for((h=W.test(e)&&se(t.parentNode)||t)==t&&g.scope||((s=t.getAttribute("id"))?s=M.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 m.apply(n,h.querySelectorAll(p)),n}catch(t){A(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 E(t,"input")&&t.type===e}}function ie(e){return function(t){return(E(t,"input")||E(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=!M.isXMLDoc(l),h=c.matches||c.webkitMatchesSelector||c.msMatchesSelector,c.msMatchesSelector&&R!=l&&(n=l.defaultView)&&n.top!==n&&n.addEventListener("unload",X),g.getById=ne((function(e){return c.appendChild(e).id=M.expando,!l.getElementsByName||!l.getElementsByName(M.expando).length})),g.disconnectedMatch=ne((function(e){return h.call(e,"*")})),g.scope=ne((function(){return l.querySelectorAll(":scope")})),g.cssHas=ne((function(){try{return l.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}})),g.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("\\["+j+"*(?: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("\\["+j+"*name"+j+"*="+j+"*(?:''|\"\")")})),g.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)||!g.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&&!A[t+" "]&&(!f||!f.test(t)))try{var n=h.call(e,t);if(n||g.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){A(t,!0)}return $(t,l,null,[e]).length>0},$.contains=function(e,t){return(e.ownerDocument||e)!=l&&le(e),M.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)},M.uniqueSort=function(e){var t,n=[],r=0,o=0;if(a=!g.sortStable,i=!g.sortStable&&s.call(e,0),S.call(e,T),a){for(;t=e[o++];)t===e[o]&&(r=n.push(o));for(;r--;)k.call(e,n[r],1)}return i=null,e},M.fn.uniqueSort=function(){return this.pushStack(M.uniqueSort(s.apply(this)))},t=M.expr={cacheLength:50,createPseudo:te,match:_,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 _.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&F.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 E(e,t)}},CLASS:function(e){var t=I[e+" "];return t||(t=new RegExp("(^|"+j+")"+e+"("+j+"|$)"))&&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",m=t.parentNode,g=s&&t.nodeName.toLowerCase(),b=!l&&!s,I=!1;if(m){if(o){for(;h;){for(d=t;d=d[h];)if(s?E(d,g):1===d.nodeType)return!1;p=h="only"===e&&!p&&"nextSibling"}return!0}if(p=[a?m.firstChild:m.lastChild],a&&b){for(I=(f=(c=(u=m[y]||(m[y]={}))[e]||[])[0]===v&&c[1])&&c[2],d=f&&m.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?E(d,g):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||M.text(t)).indexOf(e)>-1}})),lang:te((function(e){return H.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 E(e,"input")&&!!e.checked||E(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 q.test(e.nodeName)},input:function(e){return Y.test(e.nodeName)},button:function(e){return E(e,"input")&&"button"===e.type||E(e,"button")},text:function(e){var t;return E(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=B.exec(s))||(i&&(s=s.slice(i[0].length)||s),l.push(o=[])),r=!1,(i=G.exec(s))&&(r=i.shift(),o.push({value:r,type:i[0].replace(D," ")}),s=s.slice(r.length)),t.filter)!(i=_[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&&E(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 me(e,t,n,r,i,o){return r&&!r[y]&&(r=me(r)),i&&!i[y]&&(i=me(i,o)),te((function(o,a,s,l){var c,d,f,p,h=[],g=[],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,g),r(c,[],s,l),d=c.length;d--;)(f=c[d])&&(p[g[d]]=!(b[g[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):m.apply(a,p)}))}function ge(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 me(c>1&&pe(p),c>1&&de(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(D,"$1"),i,c<o&&ge(e.slice(c,o)),o<a&&ge(e=e.slice(o)),o<a&&de(e))}p.push(i)}return pe(p)}function ye(e,r){var i,o=[],a=[],s=w[e+" "];if(!s){for(r||(r=ue(e)),i=r.length;i--;)(s=ge(r[i]))[y]?o.push(s):a.push(s);s=w(e,function(e,r){var i=r.length>0,o=e.length>0,a=function(a,s,c,u,f){var p,h,g,y=0,b="0",I=a&&[],x=[],w=n,A=a||o&&t.find.TAG("*",f),T=v+=null==w?1:Math.random()||.1,C=A.length;for(f&&(n=s==l||s||f);b!==C&&null!=(p=A[b]);b++){if(o&&p){for(h=0,s||p.ownerDocument==l||(le(p),c=!d);g=e[h++];)if(g(p,s||l,c)){m.call(u,p);break}f&&(v=T)}i&&((p=!g&&p)&&y--,a&&I.push(p))}if(y+=b,i&&b!==y){for(h=0;g=r[h++];)g(I,x,s,c);if(a){if(y>0)for(;b--;)I[b]||x[b]||(x[b]=N.call(u));x=he(x)}m.apply(u,x),f&&!a&&x.length>0&&y+r.length>1&&M.uniqueSort(u)}return f&&(v=T,n=w),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=_.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),W.test(a[0].type)&&se(n.parentNode)||n))){if(a.splice(o,1),!(e=i.length&&de(a)))return m.apply(r,i),r;break}}return(u||ye(e,f))(i,n,!d,r,!n||W.test(e)&&se(n.parentNode)||n),r}ce.prototype=t.filters=t.pseudos,t.setFilters=new ce,g.sortStable=y.split("").sort(T).join("")===y,le(),g.sortDetached=ne((function(e){return 1&e.compareDocumentPosition(l.createElement("fieldset"))})),M.find=$,M.expr[":"]=M.expr.pseudos,M.unique=M.uniqueSort,$.compile=ye,$.select=ve,$.setDocument=le,$.tokenize=ue,$.escape=M.escapeSelector,$.getText=M.text,$.isXML=M.isXMLDoc,$.selectors=M.expr,$.support=M.support,$.uniqueSort=M.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&&M(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},B=M.expr.match.needsContext,G=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function Z(e,t,n){return y(t)?M.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?M.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?M.grep(e,(function(e){return u.call(t,e)>-1!==n})):M.filter(t,e,n)}M.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?M.find.matchesSelector(r,e)?[r]:[]:M.find.matches(e,M.grep(t,(function(e){return 1===e.nodeType})))},M.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(M(e).filter((function(){for(t=0;t<r;t++)if(M.contains(i[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)M.find(e,i[t],n);return r>1?M.uniqueSort(n):n},filter:function(e){return this.pushStack(Z(this,e||[],!1))},not:function(e){return this.pushStack(Z(this,e||[],!0))},is:function(e){return!!Z(this,"string"==typeof e&&B.test(e)?M(e):e||[],!1).length}});var F,H=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(M.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||F,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:H.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 M?t[0]:t,M.merge(this,M.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),G.test(r[1])&&M.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(M):M.makeArray(e,this)}).prototype=M.fn,F=M(b);var _=/^(?:parents|prev(?:Until|All))/,Y={children:!0,contents:!0,next:!0,prev:!0};function q(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}M.fn.extend({has:function(e){var t=M(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(M.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&M(e);if(!B.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&&M.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?M.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?u.call(M(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(M.uniqueSort(M.merge(this.get(),M(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),M.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 q(e,"nextSibling")},prev:function(e){return q(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:(E(e,"template")&&(e=e.content||e),M.merge([],e.childNodes))}},(function(e,t){M.fn[e]=function(n,r){var i=M.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=M.filter(r,i)),this.length>1&&(Y[e]||M.uniqueSort(i),_.test(e)&&i.reverse()),this.pushStack(i)}}));var V=/[^\x20\t\r\n\f]+/g;function W(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])}}M.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return M.each(e.match(V)||[],(function(e,n){t[n]=!0})),t}(e):M.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){M.each(n,(function(n,r){y(r)?e.unique&&c.has(r)||o.push(r):r&&r.length&&"string"!==w(r)&&t(r)}))}(arguments),n&&!t&&l()),this},remove:function(){return M.each(arguments,(function(e,t){for(var n;(n=M.inArray(t,o,n))>-1;)o.splice(n,1),n<=s&&s--})),this},has:function(e){return e?M.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},M.extend({Deferred:function(e){var t=[["notify","progress",M.Callbacks("memory"),M.Callbacks("memory"),2],["resolve","done",M.Callbacks("once memory"),M.Callbacks("once memory"),0,"resolved"],["reject","fail",M.Callbacks("once memory"),M.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 M.Deferred((function(n){M.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,W,i),a(o,t,Q,i)):(o++,c.call(r,a(o,t,W,i),a(o,t,Q,i),a(o,t,W,t.notifyWith))):(n!==W&&(s=void 0,l=[r]),(i||t.resolveWith)(s,l))}},u=i?c:function(){try{c()}catch(r){M.Deferred.exceptionHook&&M.Deferred.exceptionHook(r,u.error),e+1>=o&&(n!==Q&&(s=void 0,l=[r]),t.rejectWith(s,l))}};e?u():(M.Deferred.getErrorHook?u.error=M.Deferred.getErrorHook():M.Deferred.getStackHook&&(u.error=M.Deferred.getStackHook()),r.setTimeout(u))}}return M.Deferred((function(r){t[0][3].add(a(0,r,y(i)?i:W,r.notifyWith)),t[1][3].add(a(0,r,y(e)?e:W)),t[2][3].add(a(0,r,y(n)?n:Q))})).promise()},promise:function(e){return null!=e?M.extend(e,i):i}},o={};return M.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=M.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$/;M.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)},M.readyException=function(e){r.setTimeout((function(){throw e}))};var K=M.Deferred();function $(){b.removeEventListener("DOMContentLoaded",$),r.removeEventListener("load",$),M.ready()}M.fn.ready=function(e){return K.then(e).catch((function(e){M.readyException(e)})),this},M.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--M.readyWait:M.isReady)||(M.isReady=!0,!0!==e&&--M.readyWait>0||K.resolveWith(b,[M]))}}),M.ready.then=K.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?r.setTimeout(M.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"===w(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(M(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=M.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||M.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&&!M.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}M.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)}}),M.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)}))}}),M.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,M.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=M.queue(e,t),r=n.length,i=n.shift(),o=M._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,(function(){M.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:M.Callbacks("once memory").add((function(){se.remove(e,[t+"queue",n])}))})}}),M.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?M.queue(this[0],e):void 0===t?this:this.each((function(){var n=M.queue(this,e,t);M._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&M.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){M.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=M.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"],me=b.documentElement,ge=function(e){return M.contains(e.ownerDocument,e)},ye={composed:!0};me.getRootNode&&(ge=function(e){return M.contains(e.ownerDocument,e)||e.getRootNode(ye)===e.ownerDocument});var ve=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ge(e)&&"none"===M.css(e,"display")};function be(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return M.css(e,t,"")},l=s(),c=n&&n[3]||(M.cssNumber[t]?"":"px"),u=e.nodeType&&(M.cssNumber[t]||"px"!==c&&+l)&&pe.exec(M.css(e,t));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;a--;)M.style(e,t,u+c),(1-o)*(1-(o=s()/l||.5))<=0&&(a=0),u/=o;u*=2,M.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=M.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),Ie[r]=i,i)}function we(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}M.fn.extend({show:function(){return we(this,!0)},hide:function(){return we(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){ve(this)?M(this).show():M(this).hide()}))}});var Ae,Te,Me=/^(?:checkbox|radio)$/i,Ce=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ee=/^$|^module$|\/(?:java|ecma)script/i;Ae=b.createDocumentFragment().appendChild(b.createElement("div")),(Te=b.createElement("input")).setAttribute("type","radio"),Te.setAttribute("checked","checked"),Te.setAttribute("name","t"),Ae.appendChild(Te),g.checkClone=Ae.cloneNode(!0).cloneNode(!0).lastChild.checked,Ae.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!Ae.cloneNode(!0).lastChild.defaultValue,Ae.innerHTML="<option></option>",g.option=!!Ae.lastChild;var Ne={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&&E(e,t)?M.merge([e],n):n}function ke(e,t){for(var n=0,r=e.length;n<r;n++)se.set(e[n],"globalEval",!t||se.get(t[n],"globalEval"))}Ne.tbody=Ne.tfoot=Ne.colgroup=Ne.caption=Ne.thead,Ne.th=Ne.td,g.option||(Ne.optgroup=Ne.option=[1,"<select multiple='multiple'>","</select>"]);var je=/<|&#?\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"===w(o))M.merge(f,o.nodeType?[o]:o);else if(je.test(o)){for(a=a||d.appendChild(t.createElement("div")),s=(Ce.exec(o)||["",""])[1].toLowerCase(),l=Ne[s]||Ne._default,a.innerHTML=l[1]+M.htmlPrefilter(o)+l[2],u=l[0];u--;)a=a.lastChild;M.merge(f,a.childNodes),(a=d.firstChild).textContent=""}else f.push(t.createTextNode(o));for(d.textContent="",p=0;o=f[p++];)if(r&&M.inArray(o,r)>-1)i&&i.push(o);else if(c=ge(o),a=Se(d.appendChild(o),"script"),c&&ke(a),n)for(u=0;o=a[u++];)Ee.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 M().off(e),a.apply(this,arguments)},i.guid=a.guid||(a.guid=M.guid++)),e.each((function(){M.event.add(this,t,i,r,n)}))}function ze(e,t,n){n?(se.set(e,t,!1),M.event.add(e,t,{namespace:!1,handler:function(e){var n,r=se.get(this,t);if(1&e.isTrigger&&this[t]){if(r)(M.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,M.event.trigger(r[0],r.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Oe)}})):void 0===se.get(e,t)&&M.event.add(e,t,Oe)}M.event={global:{},add:function(e,t,n,r,i){var o,a,s,l,c,u,d,f,p,h,m,g=se.get(e);if(oe(e))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&M.find.matchesSelector(me,i),n.guid||(n.guid=M.guid++),(l=g.events)||(l=g.events=Object.create(null)),(a=g.handle)||(a=g.handle=function(t){return void 0!==M&&M.event.triggered!==t.type?M.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(V)||[""]).length;c--;)p=m=(s=Le.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p&&(d=M.event.special[p]||{},p=(i?d.delegateType:d.bindType)||p,d=M.event.special[p]||{},u=M.extend({type:p,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&M.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),M.event.global[p]=!0)},remove:function(e,t,n,r,i){var o,a,s,l,c,u,d,f,p,h,m,g=se.hasData(e)&&se.get(e);if(g&&(l=g.events)){for(c=(t=(t||"").match(V)||[""]).length;c--;)if(p=m=(s=Le.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p){for(d=M.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&&m!==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,g.handle)||M.removeEvent(e,p,g.handle),delete l[p])}else for(p in l)M.event.remove(e,p+t[c],n,r,!0);M.isEmptyObject(l)&&se.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),l=M.event.fix(e),c=(se.get(this,"events")||Object.create(null))[l.type]||[],u=M.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=M.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=((M.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?M(i,this).index(c)>-1:M.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(M.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[M.expando]?e:new M.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return Me.test(t.type)&&t.click&&E(t,"input")&&ze(t,"click",!0),!1},trigger:function(e){var t=this||e;return Me.test(t.type)&&t.click&&E(t,"input")&&ze(t,"click"),!0},_default:function(e){var t=e.target;return Me.test(t.type)&&t.click&&E(t,"input")&&se.get(t,"click")||E(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},M.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},M.Event=function(e,t){if(!(this instanceof M.Event))return new M.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&&M.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[M.expando]=!0},M.Event.prototype={constructor:M.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()}},M.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},M.event.addProp),M.each({focus:"focusin",blur:"focusout"},(function(e,t){function n(e){if(b.documentMode){var n=se.get(this,"handle"),r=M.event.fix(e);r.type="focusin"===e.type?"focus":"blur",r.isSimulated=!0,n(e),r.target===r.currentTarget&&n(r)}else M.event.simulate(t,e.target,M.event.fix(e))}M.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},M.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))}}})),M.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){M.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=e.relatedTarget,i=e.handleObj;return r&&(r===this||M.contains(this,r))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}})),M.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,M(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(){M.event.remove(this,e,n,t)}))}});var Ue=/<script|<style|<link/i,Be=/checked\s*(?:[^=]|=\s*.checked.)/i,Ge=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Ze(e,t){return E(e,"table")&&E(11!==t.nodeType?t:t.firstChild,"tr")&&M(e).children("tbody")[0]||e}function Fe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function He(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function _e(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++)M.event.add(t,i,s[i][n]);le.hasData(e)&&(o=le.access(e),a=M.extend({},o),le.set(t,a))}}function Ye(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Me.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function qe(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],m=y(h);if(m||f>1&&"string"==typeof h&&!g.checkClone&&Be.test(h))return e.each((function(i){var o=e.eq(i);m&&(t[0]=h.call(this,i,o.html())),qe(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=M.map(Se(i,"script"),Fe)).length;d<f;d++)c=i,d!==p&&(c=M.clone(c,!0,!0),s&&M.merge(a,Se(c,"script"))),n.call(e[d],c,d);if(s)for(u=a[a.length-1].ownerDocument,M.map(a,He),d=0;d<s;d++)c=a[d],Ee.test(c.type||"")&&!se.access(c,"globalEval")&&M.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?M._evalUrl&&!c.noModule&&M._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},u):x(c.textContent.replace(Ge,""),c,u))}return e}function Ve(e,t,n){for(var r,i=t?M.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||M.cleanData(Se(r)),r.parentNode&&(n&&ge(r)&&ke(Se(r,"script")),r.parentNode.removeChild(r));return e}M.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),l=ge(e);if(!(g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||M.isXMLDoc(e)))for(a=Se(s),r=0,i=(o=Se(e)).length;r<i;r++)Ye(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++)_e(o[r],a[r]);else _e(e,s);return(a=Se(s,"script")).length>0&&ke(a,!l&&Se(e,"script")),s},cleanData:function(e){for(var t,n,r,i=M.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]?M.event.remove(n,r):M.removeEvent(n,r,t.handle);n[se.expando]=void 0}n[le.expando]&&(n[le.expando]=void 0)}}}),M.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?M.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 qe(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ze(this,e).appendChild(e)}))},prepend:function(){return qe(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ze(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return qe(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return qe(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&&(M.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 M.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)&&!Ne[(Ce.exec(e)||["",""])[1].toLowerCase()]){e=M.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(M.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 qe(this,arguments,(function(t){var n=this.parentNode;M.inArray(this,e)<0&&(M.cleanData(Se(this)),n&&n.replaceChild(t,this))}),e)}}),M.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){M.fn[e]=function(e){for(var n,r=[],i=M(e),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),M(i[a])[t](n),c.apply(r,n.get());return this.pushStack(r)}}));var We=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||ge(e)||(a=M.style(e,t)),!g.pixelBoxStyles()&&We.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%",me.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),me.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="",g.clearCloneStyle="content-box"===u.style.backgroundClip,M.extend(g,{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="box-sizing:content-box;border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",me.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,me.removeChild(e)),s}}))}();var tt=["Webkit","Moz","ms"],nt=b.createElement("div").style,rt={};function it(e){return M.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+=M.css(e,n+he[a],!0,i)),r?("content"===n&&(l-=M.css(e,"padding"+he[a],!0,i)),"margin"!==n&&(l-=M.css(e,"border"+he[a]+"Width",!0,i))):(l+=M.css(e,"padding"+he[a],!0,i),"padding"!==n?l+=M.css(e,"border"+he[a]+"Width",!0,i):s+=M.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=(!g.boxSizingReliable()||n)&&"border-box"===M.css(e,"boxSizing",!1,r),o=i,a=$e(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(We.test(a)){if(!n)return a;a="auto"}return(!g.boxSizingReliable()&&i||!g.reliableTrDimensions()&&E(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===M.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===M.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)}M.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=M.cssHooks[t]||M.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]||(M.cssNumber[s]?"":"px")),g.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=M.cssHooks[t]||M.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}}),M.each(["height","width"],(function(e,t){M.cssHooks[t]={get:function(e,n,r){if(n)return!ot.test(M.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=!g.scrollboxSize()&&"absolute"===o.position,s=(a||r)&&"border-box"===M.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=M.css(e,t)),lt(0,n,l)}}})),M.cssHooks.marginLeft=et(g.reliableMarginLeft,(function(e,t){if(t)return(parseFloat($e(e,"marginLeft"))||e.getBoundingClientRect().left-Xe(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),M.each({margin:"",padding:"",border:"Width"},(function(e,t){M.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&&(M.cssHooks[e+t].set=lt)})),M.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]]=M.css(e,t[a],!1,r);return o}return void 0!==n?M.style(e,t,n):M.css(e,t)}),e,t,arguments.length>1)}}),M.Tween=dt,dt.prototype={constructor:dt,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||M.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(M.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=M.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=M.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){M.fx.step[e.prop]?M.fx.step[e.prop](e):1!==e.elem.nodeType||!M.cssHooks[e.prop]&&null==e.elem.style[it(e.prop)]?e.elem[e.prop]=e.now:M.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)}},M.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},M.fx=dt.prototype.init,M.fx.step={};var ft,pt,ht=/^(?:toggle|show|hide)$/,mt=/queueHooks$/;function gt(){pt&&(!1===b.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(gt):r.setTimeout(gt,M.fx.interval),M.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=M.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:M.extend({},t),opts:M.extend(!0,{specialEasing:{},easing:M.easing._default},n),originalProperties:t,originalOptions:n,startTime:ft||yt(),duration:n.duration,tweens:[],createTween:function(t,n){var r=M.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=M.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)&&(M._queueHooks(c.elem,c.opts.queue).stop=r.stop.bind(r)),r;return M.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),M.fx.timer(M.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}M.Animation=M.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,m=e.nodeType&&ve(e),g=se.get(e,"fxshow");for(r in n.queue||(null==(a=M._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--,M.queue(e,"fx").length||a.empty.fire()}))}))),t)if(i=t[r],ht.test(i)){if(delete t[r],o=o||"toggle"===i,i===(m?"hide":"show")){if("show"!==i||!g||void 0===g[r])continue;m=!0}p[r]=g&&g[r]||M.style(e,r)}if((l=!M.isEmptyObject(t))||!M.isEmptyObject(p))for(r in d&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(c=g&&g.display)&&(c=se.get(e,"display")),"none"===(u=M.css(e,"display"))&&(c?u=c:(we([e],!0),c=e.style.display||c,u=M.css(e,"display"),we([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===M.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||(g?"hidden"in g&&(m=g.hidden):g=se.access(e,"fxshow",{display:c}),o&&(g.hidden=!m),m&&we([e],!0),f.done((function(){for(r in m||we([e]),se.remove(e,"fxshow"),p)M.style(e,r,p[r])}))),l=bt(m?g[r]:0,r,f),r in g||(g[r]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?It.prefilters.unshift(e):It.prefilters.push(e)}}),M.speed=function(e,t,n){var r=e&&"object"==typeof e?M.extend({},e):{complete:n||!n&&t||y(e)&&e,duration:e,easing:n&&t||t&&!y(t)&&t};return M.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in M.fx.speeds?r.duration=M.fx.speeds[r.duration]:r.duration=M.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&&M.dequeue(this,r.queue)},r},M.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=M.isEmptyObject(e),o=M.speed(t,n,r),a=function(){var t=It(this,M.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=M.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&&mt.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||M.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=M.timers,a=r?r.length:0;for(n.finish=!0,M.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}))}}),M.each(["toggle","show","hide"],(function(e,t){var n=M.fn[t];M.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(vt(t,!0),e,r,i)}})),M.each({slideDown:vt("show"),slideUp:vt("hide"),slideToggle:vt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){M.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),M.timers=[],M.fx.tick=function(){var e,t=0,n=M.timers;for(ft=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||M.fx.stop(),ft=void 0},M.fx.timer=function(e){M.timers.push(e),M.fx.start()},M.fx.interval=13,M.fx.start=function(){pt||(pt=!0,gt())},M.fx.stop=function(){pt=null},M.fx.speeds={slow:600,fast:200,_default:400},M.fn.delay=function(e,t){return e=M.fx&&M.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",g.checkOn=""!==e.value,g.optSelected=t.selected,(e=b.createElement("input")).value="t",e.type="radio",g.radioValue="t"===e.value}();var xt,wt=M.expr.attrHandle;M.fn.extend({attr:function(e,t){return ee(this,M.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){M.removeAttr(this,e)}))}}),M.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?M.prop(e,t,n):(1===o&&M.isXMLDoc(e)||(i=M.attrHooks[t.toLowerCase()]||(M.expr.match.bool.test(t)?xt:void 0)),void 0!==n?null===n?void M.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=M.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&E(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?M.removeAttr(e,n):e.setAttribute(n,n),n}},M.each(M.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=wt[t]||M.find.attr;wt[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=wt[a],wt[a]=i,i=null!=n(e,t,r)?a:null,wt[a]=o),i}}));var At=/^(?:input|select|textarea|button)$/i,Tt=/^(?:a|area)$/i;function Mt(e){return(e.match(V)||[]).join(" ")}function Ct(e){return e.getAttribute&&e.getAttribute("class")||""}function Et(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(V)||[]}M.fn.extend({prop:function(e,t){return ee(this,M.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[M.propFix[e]||e]}))}}),M.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&M.isXMLDoc(e)||(t=M.propFix[t]||t,i=M.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=M.find.attr(e,"tabindex");return t?parseInt(t,10):At.test(e.nodeName)||Tt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(M.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)}}),M.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){M.propFix[this.toLowerCase()]=this})),M.fn.extend({addClass:function(e){var t,n,r,i,o,a;return y(e)?this.each((function(t){M(this).addClass(e.call(this,t,Ct(this)))})):(t=Et(e)).length?this.each((function(){if(r=Ct(this),n=1===this.nodeType&&" "+Mt(r)+" "){for(o=0;o<t.length;o++)i=t[o],n.indexOf(" "+i+" ")<0&&(n+=i+" ");a=Mt(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){M(this).removeClass(e.call(this,t,Ct(this)))})):arguments.length?(t=Et(e)).length?this.each((function(){if(r=Ct(this),n=1===this.nodeType&&" "+Mt(r)+" "){for(o=0;o<t.length;o++)for(i=t[o];n.indexOf(" "+i+" ")>-1;)n=n.replace(" "+i+" "," ");a=Mt(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){M(this).toggleClass(e.call(this,n,Ct(this),t),t)})):"boolean"==typeof t&&s?t?this.addClass(e):this.removeClass(e):(n=Et(e),this.each((function(){if(s)for(o=M(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&&(" "+Mt(Ct(n))+" ").indexOf(t)>-1)return!0;return!1}});var Nt=/\r/g;M.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,M(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=M.map(i,(function(e){return null==e?"":e+""}))),(t=M.valHooks[this.type]||M.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=M.valHooks[i.type]||M.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(Nt,""):null==n?"":n:void 0}}),M.extend({valHooks:{option:{get:function(e){var t=M.find.attr(e,"value");return null!=t?t:Mt(M.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||!E(n.parentNode,"optgroup"))){if(t=M(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,i=e.options,o=M.makeArray(t),a=i.length;a--;)((r=i[a]).selected=M.inArray(M.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),M.each(["radio","checkbox"],(function(){M.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=M.inArray(M(e).val(),t)>-1}},g.checkOn||(M.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var St=r.location,kt={guid:Date.now()},jt=/\?/;M.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||M.error("Invalid XML: "+(n?M.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var Dt=/^(?:focusinfocus|focusoutblur)$/,Lt=function(e){e.stopPropagation()};M.extend(M.event,{trigger:function(e,t,n,i){var o,a,s,l,c,u,d,f,h=[n||b],m=p.call(e,"type")?e.type:e,g=p.call(e,"namespace")?e.namespace.split("."):[];if(a=f=s=n=n||b,3!==n.nodeType&&8!==n.nodeType&&!Dt.test(m+M.event.triggered)&&(m.indexOf(".")>-1&&(g=m.split("."),m=g.shift(),g.sort()),c=m.indexOf(":")<0&&"on"+m,(e=e[M.expando]?e:new M.Event(m,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:M.makeArray(t,[e]),d=M.event.special[m]||{},i||!d.trigger||!1!==d.trigger.apply(n,t))){if(!i&&!d.noBubble&&!v(n)){for(l=d.delegateType||m,Dt.test(l+m)||(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||m,(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=m,i||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(h.pop(),t)||!oe(n)||c&&y(n[m])&&!v(n)&&((s=n[c])&&(n[c]=null),M.event.triggered=m,e.isPropagationStopped()&&f.addEventListener(m,Lt),n[m](),e.isPropagationStopped()&&f.removeEventListener(m,Lt),M.event.triggered=void 0,s&&(n[c]=s)),e.result}},simulate:function(e,t,n){var r=M.extend(new M.Event,n,{type:e,isSimulated:!0});M.event.trigger(r,null,t)}}),M.fn.extend({trigger:function(e,t){return this.each((function(){M.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return M.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))M.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"!==w(t))r(e,t);else for(i in t)Ut(e+"["+i+"]",t[i],n,r)}M.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&&!M.isPlainObject(e))M.each(e,(function(){i(this.name,this.value)}));else for(n in e)Ut(n,e[n],t,i);return r.join("&")},M.fn.extend({serialize:function(){return M.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=M.prop(this,"elements");return e?M.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!M(this).is(":disabled")&&zt.test(this.nodeName)&&!Pt.test(e)&&(this.checked||!Me.test(e))})).map((function(e,t){var n=M(this).val();return null==n?null:Array.isArray(n)?M.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 Bt=/%20/g,Gt=/#.*$/,Zt=/([?&])_=[^&]*/,Ft=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ht=/^(?:GET|HEAD)$/,_t=/^\/\//,Yt={},qt={},Vt="*/".concat("*"),Wt=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===qt;function a(s){var l;return i[s]=!0,M.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=M.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&M.extend(!0,e,r),e}Wt.href=St.href,M.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":M.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Xt(Xt(e,M.ajaxSettings),t):Xt(M.ajaxSettings,e)},ajaxPrefilter:Qt(Yt),ajaxTransport:Qt(qt),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=M.ajaxSetup({},t),h=p.context||p,m=p.context&&(h.nodeType||h.jquery)?M(h):M.event,g=M.Deferred(),y=M.Callbacks("once memory"),v=p.statusCode||{},I={},x={},w="canceled",A={readyState:0,getResponseHeader:function(e){var t;if(c){if(!a)for(a={};t=Ft.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)A.always(e[A.status]);else for(t in e)v[t]=[v[t],e[t]];return this},abort:function(e){var t=e||w;return n&&n.abort(t),T(0,t),this}};if(g.promise(A),p.url=((e||p.url||St.href)+"").replace(_t,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=Wt.protocol+"//"+Wt.host!=l.protocol+"//"+l.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=M.param(p.data,p.traditional)),Jt(Yt,p,t,A),c)return A;for(d in(u=M.event&&p.global)&&0==M.active++&&M.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Ht.test(p.type),i=p.url.replace(Gt,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Bt,"+")):(f=p.url.slice(i.length),p.data&&(p.processData||"string"==typeof p.data)&&(i+=(jt.test(i)?"&":"?")+p.data,delete p.data),!1===p.cache&&(i=i.replace(Zt,"$1"),f=(jt.test(i)?"&":"?")+"_="+kt.guid+++f),p.url=i+f),p.ifModified&&(M.lastModified[i]&&A.setRequestHeader("If-Modified-Since",M.lastModified[i]),M.etag[i]&&A.setRequestHeader("If-None-Match",M.etag[i])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&A.setRequestHeader("Content-Type",p.contentType),A.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)A.setRequestHeader(d,p.headers[d]);if(p.beforeSend&&(!1===p.beforeSend.call(h,A,p)||c))return A.abort();if(w="abort",y.add(p.complete),A.done(p.success),A.fail(p.error),n=Jt(qt,p,t,A)){if(A.readyState=1,u&&m.trigger("ajaxSend",[A,p]),c)return A;p.async&&p.timeout>0&&(s=r.setTimeout((function(){A.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,w=t;c||(c=!0,s&&r.clearTimeout(s),n=void 0,o=l||"",A.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,A,a)),!d&&M.inArray("script",p.dataTypes)>-1&&M.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,A,d),d?(p.ifModified&&((x=A.getResponseHeader("Last-Modified"))&&(M.lastModified[i]=x),(x=A.getResponseHeader("etag"))&&(M.etag[i]=x)),204===e||"HEAD"===p.type?w="nocontent":304===e?w="notmodified":(w=I.state,f=I.data,d=!(b=I.error))):(b=w,!e&&w||(w="error",e<0&&(e=0))),A.status=e,A.statusText=(t||w)+"",d?g.resolveWith(h,[f,w,A]):g.rejectWith(h,[A,w,b]),A.statusCode(v),v=void 0,u&&m.trigger(d?"ajaxSuccess":"ajaxError",[A,p,d?f:b]),y.fireWith(h,[A,w]),u&&(m.trigger("ajaxComplete",[A,p]),--M.active||M.event.trigger("ajaxStop")))}return A},getJSON:function(e,t,n){return M.get(e,t,n,"json")},getScript:function(e,t){return M.get(e,void 0,t,"script")}}),M.each(["get","post"],(function(e,t){M[t]=function(e,n,r,i){return y(n)&&(i=i||r,r=n,n=void 0),M.ajax(M.extend({url:e,type:t,dataType:i,data:n,success:r},M.isPlainObject(e)&&e))}})),M.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),M._evalUrl=function(e,t,n){return M.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){M.globalEval(e,t,n)}})},M.fn.extend({wrapAll:function(e){var t;return this[0]&&(y(e)&&(e=e.call(this[0])),t=M(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){M(this).wrapInner(e.call(this,t))})):this.each((function(){var t=M(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=y(e);return this.each((function(n){M(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){M(this).replaceWith(this.childNodes)})),this}}),M.expr.pseudos.hidden=function(e){return!M.expr.pseudos.visible(e)},M.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},M.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var Kt={0:200,1223:204},$t=M.ajaxSettings.xhr();g.cors=!!$t&&"withCredentials"in $t,g.ajax=$t=!!$t,M.ajaxTransport((function(e){var t,n;if(g.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()}}})),M.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),M.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 M.globalEval(e),e}}}),M.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),M.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,i){t=M("<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=/(=)\?(?=&|$)|\?\?/;M.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=tn.pop()||M.expando+"_"+kt.guid++;return this[e]=!0,e}}),M.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+=(jt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return a||M.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?M(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"})),g.createHTMLDocument=((en=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===en.childNodes.length),M.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(g.createHTMLDocument?((r=(t=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,t.head.appendChild(r)):t=b),o=!n&&[],(i=G.exec(e))?[t.createElement(i[1])]:(i=De([e],t,o),o&&o.length&&M(o).remove(),M.merge([],i.childNodes)));var r,i,o},M.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return s>-1&&(r=Mt(e.slice(s)),e=e.slice(0,s)),y(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&M.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done((function(e){o=arguments,a.html(r?M("<div>").append(M.parseHTML(e)).find(r):e)})).always(n&&function(e,t){a.each((function(){n.apply(this,o||[e.responseText,t,e])}))}),this},M.expr.pseudos.animated=function(e){return M.grep(M.timers,(function(t){return e===t.elem})).length},M.offset={setOffset:function(e,t,n){var r,i,o,a,s,l,c=M.css(e,"position"),u=M(e),d={};"static"===c&&(e.style.position="relative"),s=u.offset(),o=M.css(e,"top"),l=M.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,M.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)}},M.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){M.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"===M.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"===M.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=M(e).offset()).top+=M.css(e,"borderTopWidth",!0),i.left+=M.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-M.css(r,"marginTop",!0),left:t.left-i.left-M.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===M.css(e,"position");)e=e.offsetParent;return e||me}))}}),M.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;M.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)}})),M.each(["top","left"],(function(e,t){M.cssHooks[t]=et(g.pixelPosition,(function(e,n){if(n)return n=$e(e,t),We.test(n)?M(e).position()[t]+"px":n}))})),M.each({Height:"height",Width:"width"},(function(e,t){M.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){M.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?M.css(t,n,s):M.style(t,n,i,s)}),t,a?i:void 0,a)}}))})),M.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){M.fn[t]=function(e){return this.on(t,e)}})),M.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.on("mouseenter",e).on("mouseleave",t||e)}}),M.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){M.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;M.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||M.guid++,i},M.holdReady=function(e){e?M.readyWait++:M.ready(!0)},M.isArray=Array.isArray,M.parseJSON=JSON.parse,M.nodeName=E,M.isFunction=y,M.isWindow=v,M.camelCase=ie,M.type=w,M.now=Date.now,M.isNumeric=function(e){var t=M.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},M.trim=function(e){return null==e?"":(e+"").replace(rn,"$1")},void 0===(n=function(){return M}.apply(t,[]))||(e.exports=n);var on=r.jQuery,an=r.$;return M.noConflict=function(e){return r.$===M&&(r.$=an),e&&r.jQuery===M&&(r.jQuery=on),M},void 0===i&&(r.jQuery=r.$=M),M}))},8287: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(m));if(r)return n=r[0],m+=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]+)?$/,m=0,g=[];;){if(n(u),m>=l)return g;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(m),"in descriptor"===a)if(t(s))o&&(i.push(o),o="",a="after descriptor");else{if(","===s)return m+=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",m-=1}m+=1}}function v(){var t,n,o,a,s,l,c,u,d,f=!1,m={};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+"'."):(m.url=r,t&&(m.w=t),n&&(m.d=n),o&&(m.h=o),g.push(m))}}})?n.apply(t,[]):n)||(e.exports=r)},8952: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},697:(e,t,n)=>{"use strict";let r=n(2780);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)},7910:(e,t,n)=>{"use strict";let r=n(1051);class i extends r{constructor(e){super(e),this.type="comment"}}e.exports=i,i.default=i},2780:(e,t,n)=>{"use strict";let r,i,o,a,{isClean:s,my:l}=n(2990),c=n(3531),u=n(7910),d=n(1051);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{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}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}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}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return{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],set:(e,t,n)=>(e[t]===n||(e[t]=n,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0)}}index(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}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}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}normalize(e,t){if("string"==typeof e)e=f(r(e).nodes);else if(void 0===e)e=[];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)))}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}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],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}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}some(e){return this.nodes.some(e)}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}))}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)}))}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)})))}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]}}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)}))}},6069:(e,t,n)=>{"use strict";let r=n(8952),i=n(3215);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,gray:t,red:i}=r.createColors(!0);n=t=>e(i(t)),o=e=>t(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},3531:(e,t,n)=>{"use strict";let r=n(1051);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},7890:(e,t,n)=>{"use strict";let r,i,o=n(2780);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},2357:(e,t,n)=>{"use strict";let r=n(3531),i=n(833),o=n(7910),a=n(697),s=n(611),l=n(199),c=n(6825);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},611:(e,t,n)=>{"use strict";let{SourceMapConsumer:r,SourceMapGenerator:i}=n(8645),{fileURLToPath:o,pathToFileURL:a}=n(588),{isAbsolute:s,resolve:l}=n(5324),{nanoid:c}=n(945),u=n(3215),d=n(6069),f=n(833),p=Symbol("fromOffsetCache"),h=Boolean(r&&i),m=Boolean(l&&s);class g{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&&(!m||/^\w+:\/\//.test(t.from)||s(t.from)?this.file=t.from:this.file=l(t.from)),m&&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)}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:{column:l.column,line:l.line},void 0===l.endLine?l.column:{column:l.endColumn,line:l.endLine},l.source,l.file,r.plugin):new d(e,void 0===o?t:{column:n,line:t},void 0===o?n:{column:s,line:o},this.css,this.file,r.plugin),i.input={column:n,endColumn:s,endLine:o,line:t,source:this.css},this.file&&(a&&(i.input.url=a(this.file).toString()),i.input.file=this.file),i}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{col:e-n[r]+1,line:r+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:l(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,t,n,r){if(!this.map)return!1;let i,l,c=this.map.consumer(),u=c.originalPositionFor({column:t,line:e});if(!u.source)return!1;"number"==typeof n&&(i=c.originalPositionFor({column:r,line:n})),l=s(u.source)?a(u.source):new URL(u.source,this.map.consumer().sourceRoot||a(this.map.mapFile));let d={column:u.column,endColumn:i&&i.column,endLine:i&&i.line,line:u.line,url:l.toString()};if("file:"===l.protocol){if(!o)throw new Error("file: protocol is not available in this PostCSS build");d.file=o(l)}let f=c.sourceContentFor(u.source);return f&&(d.source=f),d}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}get from(){return this.file||this.id}}e.exports=g,g.default=g,u&&u.registerInput&&u.registerInput(g)},3907:(e,t,n)=>{"use strict";let{isClean:r,my:i}=n(2990),o=n(609),a=n(5930),s=n(2780),l=n(7890),c=(n(1393),n(8298)),u=n(3300),d=n(199);const f={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},p={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},h={Once:!0,postcssPlugin:!0,prepare:!0},m=0;function g(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,m,n+"Exit",n+"Exit-"+t]:t?[n,n+"-"+t,n+"Exit",n+"Exit-"+t]:e.append?[n,m,n+"Exit"]:[n,n+"Exit"]}function v(e){let t;return t="document"===e.type?["Document",m,"DocumentExit"]:"root"===e.type?["Root",m,"RootExit"]:y(e),{eventIndex:0,events:t,iterator:0,node:e,visitorIndex:0,visitors:[]}}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,postcss:I,result:this.result},this.plugins=this.processor.plugins.map((e=>"object"==typeof e&&e.prepare?{...e,...e.prepare(this.result)}:e))}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,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}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}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],n=this.runOnRoot(t);if(g(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(g(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()}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 g(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)}}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}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(g(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}then(e,t){return this.async().then(e,t)}toString(){return this.css}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(g(e))throw this.getAsyncError()}}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===m)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()}walkSync(e){e[r]=!0;let t=y(e);for(let n of t)if(n===m)e.nodes&&e.each((e=>{e[r]||this.walkSync(e)}));else{let t=this.listeners[n];if(t&&this.visitSync(t,e.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}}x.registerPostcss=e=>{I=e},e.exports=x,x.default=x,d.registerLazyResult(x),l.registerLazyResult(x)},2767:e=>{"use strict";let t={comma:e=>t.split(e,[","],!0),space:e=>t.split(e,[" ","\n","\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}};e.exports=t,t.default=t},609:(e,t,n)=>{"use strict";let{SourceMapConsumer:r,SourceMapGenerator:i}=n(8645),{dirname:o,relative:a,resolve:s,sep:l}=n(5324),{pathToFileURL:c}=n(588),u=n(611),d=Boolean(r&&i),f=Boolean(o&&s&&a&&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.originalCSS=r,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}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+" */"}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=null)):t=e.consumer(),this.map.applySourceMap(t,n,this.toUrl(this.path(i)))}}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,""))}generate(){if(this.clearAnnotation(),f&&d&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,(t=>{e+=t})),[e]}}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,{ignoreInvalidMapping:!0})}else this.map=new i({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});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]}generateString(){this.css="",this.map=new i({file:this.outputFile(),ignoreInvalidMapping:!0});let e,t,n=1,r=1,o="<no source>",a={generated:{column:0,line:0},original:{column:0,line:0},source:""};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)))}}))}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some((e=>e.annotation)))}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)))}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some((e=>e.withContent()))}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(e){if(this.mapOpts.absolute)return e;if(60===e.charCodeAt(0))return e;if(/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let n=this.opts.to?o(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(n=o(s(n,this.mapOpts.annotation)));let r=a(n,e);return this.memoizedPaths.set(e,r),r}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.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}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)}}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))}toBase64(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(c){let t=c(e).toString();return this.memoizedFileURLs.set(e,t),t}throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;"\\"===l&&(e=e.replace(/\\/g,"/"));let n=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,n),n}}},8424:(e,t,n)=>{"use strict";let r=n(609),i=n(5930),o=(n(1393),n(3300));const a=n(8298);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)}else c.clearAnnotation(),this.result.css=c.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return this.async().then(e,t)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}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[Symbol.toStringTag](){return"NoWorkResult"}}e.exports=s,s.default=s},1051:(e,t,n)=>{"use strict";let{isClean:r,my:i}=n(2990),o=n(6069),a=n(9845),s=n(5930);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]}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}after(e){return this.parent.insertAfter(this,e),this}assign(e={}){for(let t in e)this[t]=e[t];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e={}){let t=l(this);for(let n in e)t[n]=e[n];return t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}error(e,t={}){if(this.source){let{end:n,start:r}=this.rangeBy(t);return this.source.input.error(e,{column:r.column,line:r.line},{column:n.column,line:n.line},t)}return new o(e)}getProxyProcessor(){return{get:(e,t)=>"proxyOf"===t?e:"root"===t?()=>e.root().toProxy():e[t],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)}}markDirty(){if(this[r]){this[r]=!1;let e=this;for(;e=e.parent;)e[r]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e,t){let n=this.source.start;if(e.index)n=this.positionInside(e.index,t);else if(e.word){let r=(t=this.toString()).indexOf(e.word);-1!==r&&(n=this.positionInside(r,t))}return n}positionInside(e,t){let n=t||this.toString(),r=this.source.start.column,i=this.source.start.line;for(let t=0;t<e;t++)"\n"===n[t]?(r=1,i+=1):r+=1;return{column:r,line:i}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e){let t={column:this.source.start.column,line:this.source.start.line},n=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){let r=this.toString(),i=r.indexOf(e.word);-1!==i&&(t=this.positionInside(i,r),n=this.positionInside(i+e.word.length,r))}else e.start?t={column:e.start.column,line:e.start.line}:e.index&&(t=this.positionInside(e.index)),e.end?n={column:e.end.column,line:e.end.line}:"number"==typeof 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={column:t.column+1,line:t.line}),{end:n,start:t}}raw(e,t){return(new a).raw(this,e,t)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}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}root(){let e=this;for(;e.parent&&"document"!==e.parent.type;)e=e.parent;return e}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]={end:r.end,inputId:o,start:r.start}}else n[e]=r}return r&&(n.inputs=[...t.keys()].map((e=>e.toJSON()))),n}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=s){e.stringify&&(e=e.stringify);let t="";return e(this,(e=>{t+=e})),t}warn(e,t,n){let r={node:this};for(let e in n)r[e]=n[e];return e.warn(t,r)}get proxyOf(){return this}}e.exports=c,c.default=c},3300:(e,t,n)=>{"use strict";let r=n(2780),i=n(612),o=n(611);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)},612:(e,t,n)=>{"use strict";let r=n(3531),i=n(1374),o=n(7910),a=n(697),s=n(199),l=n(6825);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.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}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]),i.source.end.offset++,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]),i.source.end.offset++)}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]),i.source.end.offset++,this.spaces=i.raws.between,i.raws.between="")):(i.raws.afterName="",i.params=""),s&&(i.nodes=[],this.current=i)}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])}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}comment(e){let t=new o;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;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]}}createTokenizer(){this.tokenizer=i(this.input)}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)),n.source.end.offset++;"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)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new l;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}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.source.end.offset++,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,this.root.source.end=this.getPosition(this.tokenizer.position())}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{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)}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)}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()}precheckMissedSemicolon(){}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]={raw:r,value:u}}e[t]=u}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}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}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{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})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}}},9274:(e,t,n)=>{"use strict";let r=n(6069),i=n(3531),o=n(3907),a=n(2780),s=n(2315),l=n(5930),c=n(2357),u=n(7890),d=n(7107),f=n(7910),p=n(697),h=n(8298),m=n(611),g=n(3300),y=n(2767),v=n(6825),b=n(199),I=n(1051);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=g,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=m,x.Rule=v,x.Root=b,x.Node=I,o.registerPostcss(x),e.exports=x,x.default=x},833:(e,t,n)=>{"use strict";let{SourceMapConsumer:r,SourceMapGenerator:i}=n(8645),{existsSync:o,readFileSync:a}=n(8892),{dirname:s,join:l}=n(5324);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}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)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))}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)))}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)}}}startWith(e,t){return!!e&&e.substr(0,t.length)===t}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}e.exports=c,c.default=c},2315:(e,t,n)=>{"use strict";let r=n(8424),i=n(3907),o=n(7890),a=n(199);class s{constructor(e=[]){this.version="8.4.38",this.plugins=this.normalize(e)}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}process(e,t={}){return this.plugins.length||t.parser||t.stringifier||t.syntax?new i(this,e,t):new r(this,e,t)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}}e.exports=s,s.default=s,a.registerProcessor(s),o.registerProcessor(s)},8298:(e,t,n)=>{"use strict";let r=n(7107);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},199:(e,t,n)=>{"use strict";let r,i,o=n(2780);class a extends o{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}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}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)}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)},6825:(e,t,n)=>{"use strict";let r=n(2780),i=n(2767);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)},9845:e=>{"use strict";const t={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};class n{constructor(e){this.builder=e}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)}}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}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")}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)}}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)}document(e){this.body(e)}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}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}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}rawBeforeOpen(e){let t;return e.walk((e=>{if("decl"!==e.type&&(t=e.raws.between,void 0!==t))return!1})),t}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}rawColon(e){let t;return e.walkDecls((e=>{if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!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}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}rawValue(e,t){let n=e[t],r=e.raws[t];return r&&r.value===n?r.raw:n}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}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)}}e.exports=n,n.default=n},5930:(e,t,n)=>{"use strict";let r=n(9845);function i(e,t){new r(t).stringify(e)}e.exports=i,i.default=i},2990:e=>{"use strict";e.exports.isClean=Symbol("isClean"),e.exports.my=Symbol("my")},1374: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),m="}".charCodeAt(0),g=";".charCodeAt(0),y="*".charCodeAt(0),v=":".charCodeAt(0),b="@".charCodeAt(0),I=/[\t\n\f\r "#'()/;[\\\]{}]/g,x=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,w=/.[\r\n"'(/\\]/,A=/[\da-f]/i;e.exports=function(e,T={}){let M,C,E,N,S,k,j,D,L,O,R=e.css.valueOf(),P=T.ignoreErrors,z=R.length,U=0,B=[],G=[];function Z(t){throw e.error("Unclosed "+t,U)}return{back:function(e){G.push(e)},endOfFile:function(){return 0===G.length&&U>=z},nextToken:function(e){if(G.length)return G.pop();if(U>=z)return;let T=!!e&&e.ignoreUnclosed;switch(M=R.charCodeAt(U),M){case o:case a:case l:case c:case s:C=U;do{C+=1,M=R.charCodeAt(C)}while(M===a||M===o||M===l||M===c||M===s);O=["space",R.slice(U,C)],U=C-1;break;case u:case d:case h:case m:case v:case g:case p:{let e=String.fromCharCode(M);O=[e,e,U];break}case f:if(D=B.length?B.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(k=!1,C=R.indexOf(")",C+1),-1===C){if(P||T){C=U;break}Z("bracket")}for(j=C;R.charCodeAt(j-1)===r;)j-=1,k=!k}while(k);O=["brackets",R.slice(U,C+1),U,C],U=C}else C=R.indexOf(")",U+1),N=R.slice(U,C+1),-1===C||w.test(N)?O=["(","(",U]:(O=["brackets",N,U,C],U=C);break;case t:case n:E=M===t?"'":'"',C=U;do{if(k=!1,C=R.indexOf(E,C+1),-1===C){if(P||T){C=U+1;break}Z("string")}for(j=C;R.charCodeAt(j-1)===r;)j-=1,k=!k}while(k);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(M=R.charCodeAt(C+1),S&&M!==i&&M!==a&&M!==o&&M!==l&&M!==c&&M!==s&&(C+=1,A.test(R.charAt(C)))){for(;A.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:M===i&&R.charCodeAt(U+1)===y?(C=R.indexOf("*/",U+2)+1,0===C&&(P||T?C=R.length:Z("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],B.push(O),U=C)}return U++,O},position:function(){return U}}}},1393:e=>{"use strict";let t={};e.exports=function(e){t[e]||(t[e]=!0,"undefined"!=typeof console&&console.warn&&console.warn(e))}},7107: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,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}e.exports=t,t.default=t},6999:(e,t,n)=>{"use strict";var r=n(6848);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}},9067:(e,t,n)=>{e.exports=n(6999)()},6848:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},7521:(e,t,n)=>{const r=n(5482),i=n(2189),{isPlainObject:o}=n(993),a=n(2743),s=n(8287),{parse:l}=n(9274),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=m;const h=/^[^\0\t\n\f\r /<=>]+$/;function m(e,t,n){if(null==e)return"";"number"==typeof e&&(e=e.toString());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(){k.length&&(k[k.length-1].text+=n.text)},this.updateParentNodeMediaChildren=function(){k.length&&c.includes(this.tag)&&k[k.length-1].mediaChildren.push(this.tag)}}(t=Object.assign({},m.defaults,t)).parser=Object.assign({},g,t.parser);const I=function(e){return!1===t.allowedTags||(t.allowedTags||[]).indexOf(e)>-1};u.forEach((function(e){I(e)&&!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 x=t.nonTextTags||["script","style","textarea","option"];let w,A;t.allowedAttributes&&(w={},A={},d(t.allowedAttributes,(function(e,t){w[t]=[];const n=[];e.forEach((function(e){"string"==typeof e&&e.indexOf("*")>=0?n.push(i(e).replace(/\\\*/g,".*")):w[t].push(e)})),n.length&&(A[t]=new RegExp("^("+n.join("|")+")$"))})));const T={},M={},C={};d(t.allowedClasses,(function(e,t){if(w&&(f(w,t)||(w[t]=[]),w[t].push("class")),T[t]=e,Array.isArray(e)){const n=[];T[t]=[],C[t]=[],e.forEach((function(e){"string"==typeof e&&e.indexOf("*")>=0?n.push(i(e).replace(/\\\*/g,".*")):e instanceof RegExp?C[t].push(e):T[t].push(e)})),n.length&&(M[t]=new RegExp("^("+n.join("|")+")$"))}}));const E={};let N,S,k,j,D,L,O;d(t.transformTags,(function(e,t){let n;"function"==typeof e?n=e:"string"==typeof e&&(n=m.simpleTransform(e)),"*"===t?N=n:E[t]=n}));let R=!1;z();const P=new r.Parser({onopentag:function(e,n){if(t.enforceHtmlBoundary&&"html"===e&&z(),L)return void O++;const r=new b(e,n);k.push(r);let i=!1;const c=!!r.text;let u;if(f(E,e)&&(u=E[e](e,n),r.attribs=n=u.attribs,void 0!==u.text&&(r.innerText=u.text),e!==u.tagName&&(r.name=e=u.tagName,D[S]=u.tagName)),N&&(u=N(e,n),r.attribs=n=u.attribs,e!==u.tagName&&(r.name=e=u.tagName,D[S]=u.tagName)),(!I(e)||"recursiveEscape"===t.disallowedTagsMode&&!function(e){for(const t in e)if(f(e,t))return!1;return!0}(j)||null!=t.nestingLimit&&S>=t.nestingLimit)&&(i=!0,j[S]=!0,"discard"!==t.disallowedTagsMode&&"completelyDiscard"!==t.disallowedTagsMode||-1!==x.indexOf(e)&&(L=!0,O=1),j[S]=!0),S++,i){if("discard"===t.disallowedTagsMode||"completelyDiscard"===t.disallowedTagsMode)return;v=y,y=""}y+="<"+e,"script"===e&&(t.allowedScriptHostnames||t.allowedScriptDomains)&&(r.innerText=""),(!w||f(w,e)||w["*"])&&d(n,(function(n,i){if(!h.test(i))return void delete r.attribs[i];if(""===n&&!t.allowedEmptyAttributes.includes(i)&&(t.nonBooleanAttributes.includes(i)||t.nonBooleanAttributes.includes("*")))return void delete r.attribs[i];let c=!1;if(!w||f(w,e)&&-1!==w[e].indexOf(i)||w["*"]&&-1!==w["*"].indexOf(i)||f(A,e)&&A[e].test(i)||A["*"]&&A["*"].test(i))c=!0;else if(w&&w[e])for(const t of w[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)&&B(e,n))return void delete r.attribs[i];if("script"===e&&"src"===i){let e=!0;try{const r=G(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=G(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){B("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=T[e],o=T["*"],s=M[e],l=C[e],c=[s,M["*"]].concat(l).filter((function(e){return e}));if(!(u=n,d=t&&o?a(t,o):t||o,m=c,n=d?(u=u.split(/\s+/)).filter((function(e){return-1!==d.indexOf(e)||m.some((function(t){return t.test(e)}))})).join(" "):u).length)return void delete r.attribs[i]}if("style"===i)if(t.parseStyleAttributes)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+"}",{map:!1}),t.allowedStyles)),0===n.length)return void delete r.attribs[i]}catch(t){return"undefined"!=typeof window&&console.warn('Failed to parse "'+e+" {"+n+"}\", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547"),void delete r.attribs[i]}else if(t.allowedStyles)throw new Error("allowedStyles option cannot be used together with parseStyleAttributes: false.");y+=" "+i,n&&n.length?y+='="'+U(n,!0)+'"':t.allowedEmptyAttributes.includes(i)&&(y+='=""')}else delete r.attribs[i];var u,d,m})),-1!==t.selfClosing.indexOf(e)?y+=" />":(y+=">",!r.innerText||c||t.textFilter||(y+=U(r.innerText),R=!0)),i&&(y=v+U(y),v="")},ontext:function(e){if(L)return;const n=k[k.length-1];let r;if(n&&(r=n.tag,e=void 0!==n.innerText?n.innerText:e),"completelyDiscard"!==t.disallowedTagsMode||I(r))if("discard"!==t.disallowedTagsMode&&"completelyDiscard"!==t.disallowedTagsMode||"script"!==r&&"style"!==r){const n=U(e,!1);t.textFilter&&!R?y+=t.textFilter(n,r):R||(y+=n)}else y+=e;else e="";k.length&&(k[k.length-1].text+=e)},onclosetag:function(e,n){if(L){if(O--,O)return;L=!1}const r=k.pop();if(!r)return;if(r.tag!==e)return void k.push(r);L=!!t.enforceHtmlBoundary&&"html"===e,S--;const i=j[S];if(i){if(delete j[S],"discard"===t.disallowedTagsMode||"completelyDiscard"===t.disallowedTagsMode)return void r.updateParentNodeText();v=y,y=""}D[S]&&(e=D[S],delete D[S]),t.exclusiveFilter&&t.exclusiveFilter(r)?y=y.substr(0,r.tagPosition):(r.updateParentNodeMediaChildren(),r.updateParentNodeText(),-1!==t.selfClosing.indexOf(e)||n&&!I(e)&&["escape","recursiveEscape"].indexOf(t.disallowedTagsMode)>=0?i&&(y=v,v=""):(y+="</"+e+">",i&&(y=v+U(y),v=""),R=!1))}},t.parser);return P.write(e),P.end(),y;function z(){y="",S=0,k=[],j={},D={},L=!1,O=0}function U(e,n){return"string"!=typeof e&&(e+=""),t.parser.decodeEntities&&(e=e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),n&&(e=e.replace(/"/g,"&quot;"))),e=e.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),n&&(e=e.replace(/"/g,"&quot;")),e}function B(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 G(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 g={decodeEntities:!0};m.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"],nonBooleanAttributes:["abbr","accept","accept-charset","accesskey","action","allow","alt","as","autocapitalize","autocomplete","blocking","charset","cite","class","color","cols","colspan","content","contenteditable","coords","crossorigin","data","datetime","decoding","dir","dirname","download","draggable","enctype","enterkeyhint","fetchpriority","for","form","formaction","formenctype","formmethod","formtarget","headers","height","hidden","high","href","hreflang","http-equiv","id","imagesizes","imagesrcset","inputmode","integrity","is","itemid","itemprop","itemref","itemtype","kind","label","lang","list","loading","low","max","maxlength","media","method","min","minlength","name","nonce","optimum","pattern","ping","placeholder","popover","popovertarget","popovertargetaction","poster","preload","referrerpolicy","rel","rows","rowspan","sandbox","scope","shape","size","sizes","slot","span","spellcheck","src","srcdoc","srclang","srcset","start","step","style","tabindex","target","title","translate","type","usemap","value","width","wrap","onauxclick","onafterprint","onbeforematch","onbeforeprint","onbeforeunload","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpageshow","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onreset","onresize","onrejectionhandled","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},allowedEmptyAttributes:["alt"],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,parseStyleAttributes:!0},m.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}}}},679:(e,t,n)=>{"use strict";n.r(t),n.d(t,{focusable:()=>x,getTabIndex:()=>f,isFocusable:()=>T,isTabbable:()=>w,tabbable:()=>I});var r=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],i=r.join(","),o="undefined"==typeof Element,a=o?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,s=!o&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},l=function e(t,n){var r;void 0===n&&(n=!0);var i=null==t||null===(r=t.getAttribute)||void 0===r?void 0:r.call(t,"inert");return""===i||"true"===i||n&&t&&e(t.parentNode)},c=function(e,t,n){if(l(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(i));return t&&a.call(e,i)&&r.unshift(e),r.filter(n)},u=function e(t,n,r){for(var o=[],s=Array.from(t);s.length;){var c=s.shift();if(!l(c,!1))if("SLOT"===c.tagName){var u=c.assignedElements(),d=e(u.length?u:c.children,!0,r);r.flatten?o.push.apply(o,d):o.push({scopeParent:c,candidates:d})}else{a.call(c,i)&&r.filter(c)&&(n||!t.includes(c))&&o.push(c);var f=c.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(c),p=!l(f,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(c));if(f&&p){var h=e(!0===f?c.children:f.children,!0,r);r.flatten?o.push.apply(o,h):o.push({scopeParent:c,candidates:h})}else s.unshift.apply(s,c.children)}}return o},d=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},f=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,n=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n}(e))&&!d(e)?0:e.tabIndex},p=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},h=function(e){return"INPUT"===e.tagName},m=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r},g=function(e,t){return!(t.disabled||l(t)||function(e){return h(e)&&"hidden"===e.type}(t)||function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var i=a.call(e,"details>summary:first-of-type")?e.parentElement:e;if(a.call(i,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return m(e)}else{if("function"==typeof r){for(var o=e;e;){var l=e.parentElement,c=s(e);if(l&&!l.shadowRoot&&!0===r(l))return m(e);e=e.assignedSlot?e.assignedSlot:l||c===e.ownerDocument?l:c.host}e=o}if(function(e){var t,n,r,i,o=e&&s(e),a=null===(t=o)||void 0===t?void 0:t.host,l=!1;if(o&&o!==e)for(l=!!(null!==(n=a)&&void 0!==n&&null!==(r=n.ownerDocument)&&void 0!==r&&r.contains(a)||null!=e&&null!==(i=e.ownerDocument)&&void 0!==i&&i.contains(e));!l&&a;){var c,u,d;l=!(null===(u=a=null===(c=o=s(a))||void 0===c?void 0:c.host)||void 0===u||null===(d=u.ownerDocument)||void 0===d||!d.contains(a))}return l}(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1}(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if("LEGEND"===r.tagName)return!!a.call(t,"fieldset[disabled] *")||!r.contains(e)}return!0}t=t.parentElement}return!1}(t))},y=function(e,t){return!(function(e){return function(e){return h(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||s(e),r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var i=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!i||i===e}(e)}(t)||f(t)<0||!g(e,t))},v=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},b=function e(t){var n=[],r=[];return t.forEach((function(t,i){var o=!!t.scopeParent,a=o?t.scopeParent:t,s=function(e,t){var n=f(e);return n<0&&t&&!d(e)?0:n}(a,o),l=o?e(t.candidates):a;0===s?o?n.push.apply(n,l):n.push(a):r.push({documentOrder:i,tabIndex:s,item:t,isScope:o,content:l})})),r.sort(p).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(n)},I=function(e,t){var n;return n=(t=t||{}).getShadowRoot?u([e],t.includeContainer,{filter:y.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:v}):c(e,t.includeContainer,y.bind(null,t)),b(n)},x=function(e,t){return(t=t||{}).getShadowRoot?u([e],t.includeContainer,{filter:g.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):c(e,t.includeContainer,g.bind(null,t))},w=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==a.call(e,i)&&y(t,e)},A=r.concat("iframe").join(","),T=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==a.call(e,A)&&g(t,e)}},758: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 m={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=m,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)},5969:(e,t,n)=>{"use strict";var r=n(5442),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.useSyncExternalStore,a=r.useRef,s=r.useEffect,l=r.useMemo,c=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,u){var d=a(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=l((function(){function e(e){if(!s){if(s=!0,o=e,e=r(e),void 0!==u&&f.hasValue){var t=f.value;if(u(t,e))return a=t}return a=e}if(t=a,i(o,e))return t;var n=r(e);return void 0!==u&&u(t,n)?t:(o=e,a=n)}var o,a,s=!1,l=void 0===n?null:n;return[function(){return e(t())},null===l?void 0:function(){return e(l())}]}),[t,n,r,u]);var p=o(e,d[0],d[1]);return s((function(){f.hasValue=!0,f.value=p}),[p]),c(p),p}},5919:(e,t,n)=>{"use strict";e.exports=n(5969)},9002:e=>{e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},5442:t=>{"use strict";t.exports=e},3215:()=>{},8892:()=>{},5324:()=>{},8645:()=>{},588:()=>{},3373:(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];n&&(e=a(e,o(n)))}return e}function o(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},945: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}}}},i={};function o(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={exports:{}};return r[e].call(n.exports,n,n.exports,o),n.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var i=Object.create(null);o.r(i);var a={};t=t||[null,n({}),n([]),n(n)];for(var s=2&r&&e;"object"==typeof s&&!~t.indexOf(s);s=n(s))Object.getOwnPropertyNames(s).forEach((t=>a[t]=()=>e[t]));return a.default=()=>e,o.d(i,a),i},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{"use strict";o.r(a),o.d(a,{Attachments:()=>Cd,Exam:()=>Oy,GradingInstructions:()=>Vy,Results:()=>jv,parseExam:()=>ib});var e=o(5442),t=o.n(e);o(9002),Object.create(null);const n={};function r(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];"string"==typeof t[0]&&n[t[0]]||("string"==typeof t[0]&&(n[t[0]]=new Date),function(){if(console&&console.warn){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];"string"==typeof t[0]&&(t[0]=`react-i18next:: ${t[0]}`),console.warn(...t)}}(...t))}const i=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout((()=>{e.off("initialized",n)}),0),t()};e.on("initialized",n)}};function s(e,t,n){e.loadNamespaces(t,i(e,n))}function l(e,t,n,r){"string"==typeof n&&(n=[n]),n.forEach((t=>{e.options.ns.indexOf(t)<0&&e.options.ns.push(t)})),e.loadLanguages(t,i(e,r))}const c=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,u={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},d=e=>u[e];let f,p={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(c,d)};const h=(0,e.createContext)();class m{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach((e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)}))}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const g=(t,n)=>{const r=(0,e.useRef)();return(0,e.useEffect)((()=>{r.current=n?r.current:t}),[t,n]),r.current};function y(e,t,n,r){return e.getFixedT(t,n,r)}function v(t){let{i18n:n,defaultNS:r,children:i}=t;const o=(0,e.useMemo)((()=>({i18n:n,defaultNS:r})),[n,r]);return(0,e.createElement)(h.Provider,{value:o},i)}const b=t().createContext({}),I=({children:e,annotations:n,onClickAnnotation:r,onSaveAnnotation:i})=>{const[o,a]=t().useState(null),[s,l]=t().useState();return r||i?t().createElement(b.Provider,{value:{annotations:n,onClickAnnotation:r,onSaveAnnotation:i,setNewAnnotation:a,newAnnotation:o,newAnnotationRef:s,setNewAnnotationRef:l}},e):e},x=(0,e.createContext)({}),w=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e},A=function(e,t,n){for(var r=-1,i=Object(e),o=n(e),a=o.length;a--;){var s=o[T?a:++r];if(!1===t(i[s],s,i))break}return e};var T;const M=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r},C="object"==typeof global&&global&&global.Object===Object&&global;var E="object"==typeof self&&self&&self.Object===Object&&self;const N=C||E||Function("return this")(),S=N.Symbol;var k=Object.prototype,j=k.hasOwnProperty,D=k.toString,L=S?S.toStringTag:void 0;var O=Object.prototype.toString;var R=S?S.toStringTag:void 0;const P=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":R&&R in Object(e)?function(e){var t=j.call(e,L),n=e[L];try{e[L]=void 0;var r=!0}catch(e){}var i=D.call(e);return r&&(t?e[L]=n:delete e[L]),i}(e):function(e){return O.call(e)}(e)},z=function(e){return null!=e&&"object"==typeof e},U=function(e){return z(e)&&"[object Arguments]"==P(e)};var B=Object.prototype,G=B.hasOwnProperty,Z=B.propertyIsEnumerable;const F=U(function(){return arguments}())?U:function(e){return z(e)&&G.call(e,"callee")&&!Z.call(e,"callee")},H=Array.isArray;var _="object"==typeof exports&&exports&&!exports.nodeType&&exports,Y=_&&"object"==typeof module&&module&&!module.nodeType&&module,q=Y&&Y.exports===_?N.Buffer:void 0;const V=(q?q.isBuffer:void 0)||function(){return!1};var W=/^(?:0|[1-9]\d*)$/;const Q=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&W.test(e))&&e>-1&&e%1==0&&e<t},J=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991};var X={};X["[object Float32Array]"]=X["[object Float64Array]"]=X["[object Int8Array]"]=X["[object Int16Array]"]=X["[object Int32Array]"]=X["[object Uint8Array]"]=X["[object Uint8ClampedArray]"]=X["[object Uint16Array]"]=X["[object Uint32Array]"]=!0,X["[object Arguments]"]=X["[object Array]"]=X["[object ArrayBuffer]"]=X["[object Boolean]"]=X["[object DataView]"]=X["[object Date]"]=X["[object Error]"]=X["[object Function]"]=X["[object Map]"]=X["[object Number]"]=X["[object Object]"]=X["[object RegExp]"]=X["[object Set]"]=X["[object String]"]=X["[object WeakMap]"]=!1;const K=function(e){return function(t){return e(t)}};var $="object"==typeof exports&&exports&&!exports.nodeType&&exports,ee=$&&"object"==typeof module&&module&&!module.nodeType&&module,te=ee&&ee.exports===$&&C.process;const ne=function(){try{return ee&&ee.require&&ee.require("util").types||te&&te.binding&&te.binding("util")}catch(e){}}();var re=ne&&ne.isTypedArray;const ie=re?K(re):function(e){return z(e)&&J(e.length)&&!!X[P(e)]};var oe=Object.prototype.hasOwnProperty;const ae=function(e,t){var n=H(e),r=!n&&F(e),i=!n&&!r&&V(e),o=!n&&!r&&!i&&ie(e),a=n||r||i||o,s=a?M(e.length,String):[],l=s.length;for(var c in e)!t&&!oe.call(e,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Q(c,l))||s.push(c);return s};var se=Object.prototype;const le=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||se)},ce=function(e,t){return function(n){return e(t(n))}},ue=ce(Object.keys,Object);var de=Object.prototype.hasOwnProperty;const fe=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},pe=function(e){if(!fe(e))return!1;var t=P(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},he=function(e){return null!=e&&J(e.length)&&!pe(e)},me=function(e){return he(e)?ae(e):function(e){if(!le(e))return ue(e);var t=[];for(var n in Object(e))de.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)},ge=function(e,t){return e&&A(e,t,me)},ye=function(e,t){return function(n,r){if(null==n)return n;if(!he(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}}(ge),ve=function(e){return e},be=function(e){return"function"==typeof e?e:ve},Ie=function(e,t){return(H(e)?w:ye)(e,be(t))},xe=(0,e.createContext)({}),we=" ";function Ae(e,t){const n=null!=t?Te(t):void 0,r=[];for(;null!=e.parentElement;)e=e.parentElement,(null==n||n(e))&&r.push(e);return r}function Te(e){return"function"==typeof e?t=>t.namespaceURI===zn&&e(t):Array.isArray(e)?t=>t.namespaceURI===zn&&e.includes(t.localName):t=>t.namespaceURI===zn&&t.localName===e}function Me(e,t){const n=Te(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 Ce(e,t,n=!0){const r=Te(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 Ee(e,t){const n=Te(t);for(;null!=e.parentElement;)if(n(e=e.parentElement))return e}function Ne(e,t){const n=Te(t);for(let t=0,r=e.children.length;t<r;t++){const r=e.children[t];if(n(r))return r}}function Se(e,t){var n;return null!==(n=e.getAttribute(t))&&void 0!==n?n:void 0}function ke(e,t){const n=e.getAttribute(t);return null!=n?Number(n):void 0}function je(e,t){return"true"===Se(e,t)}function De(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 Le(e){return Ce(e,["choice-answer","dropdown-answer","text-answer","scored-text-answer"],!0)}function Oe(e){const t=Ee(e,"question"),n=null==t?void 0:t.querySelectorAll("[question-id]");return n&&(null==n?void 0:n.length)>1}function Re(e,t,...n){const r=document.createElement(e);return function(e,t){Ie(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}function Pe(t,n){const{visibleTOCElements:r}=(0,e.useContext)(xe),[i,o]=(0,e.useState)(!1),a=`${t}-${n}`;return(0,e.useEffect)((()=>{(null==r?void 0:r.includes(a))&&!i?o(!0):!(null==r?void 0:r.includes(a))&&i&&o(!1)}),[r]),i}function ze(e){var t,n,r;const i=!e.tagName&&Array.from((null===(t=e.parentNode)||void 0===t?void 0:t.childNodes)||[]).indexOf(e),o=Array.from((null===(n=e.parentElement)||void 0===n?void 0:n.children)||[]).indexOf(e);let a=`${e.nodeName}:${o>0?o:i}`,s=e;for(;s.parentElement;){s=s.parentElement;const e=s.getAttribute("display-number"),t=Number(e)||Array.from((null===(r=s.parentElement)||void 0===r?void 0:r.children)||[s]).indexOf(s);a=`${s.getAttribute("id")||s.nodeName}:${t} > ${a}`}return a}const Ue=function(e,t){return e===t||e!=e&&t!=t},Be=function(e,t){for(var n=e.length;n--;)if(Ue(e[n][0],t))return n;return-1};var Ge=Array.prototype.splice;function Ze(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])}}Ze.prototype.clear=function(){this.__data__=[],this.size=0},Ze.prototype.delete=function(e){var t=this.__data__,n=Be(t,e);return!(n<0||(n==t.length-1?t.pop():Ge.call(t,n,1),--this.size,0))},Ze.prototype.get=function(e){var t=this.__data__,n=Be(t,e);return n<0?void 0:t[n][1]},Ze.prototype.has=function(e){return Be(this.__data__,e)>-1},Ze.prototype.set=function(e,t){var n=this.__data__,r=Be(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};const Fe=Ze,He=N["__core-js_shared__"];var _e,Ye=(_e=/[^.]+$/.exec(He&&He.keys&&He.keys.IE_PROTO||""))?"Symbol(src)_1."+_e:"";var qe=Function.prototype.toString;const Ve=function(e){if(null!=e){try{return qe.call(e)}catch(e){}try{return e+""}catch(e){}}return""};var We=/^\[object .+?Constructor\]$/,Qe=Function.prototype,Je=Object.prototype,Xe=Qe.toString,Ke=Je.hasOwnProperty,$e=RegExp("^"+Xe.call(Ke).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const et=function(e){return!(!fe(e)||(t=e,Ye&&Ye in t))&&(pe(e)?$e:We).test(Ve(e));var t},tt=function(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return et(n)?n:void 0},nt=tt(N,"Map"),rt=tt(Object,"create");var it=Object.prototype.hasOwnProperty;var ot=Object.prototype.hasOwnProperty;function at(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])}}at.prototype.clear=function(){this.__data__=rt?rt(null):{},this.size=0},at.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},at.prototype.get=function(e){var t=this.__data__;if(rt){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return it.call(t,e)?t[e]:void 0},at.prototype.has=function(e){var t=this.__data__;return rt?void 0!==t[e]:ot.call(t,e)},at.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=rt&&void 0===t?"__lodash_hash_undefined__":t,this};const st=at,lt=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 ct(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])}}ct.prototype.clear=function(){this.size=0,this.__data__={hash:new st,map:new(nt||Fe),string:new st}},ct.prototype.delete=function(e){var t=lt(this,e).delete(e);return this.size-=t?1:0,t},ct.prototype.get=function(e){return lt(this,e).get(e)},ct.prototype.has=function(e){return lt(this,e).has(e)},ct.prototype.set=function(e,t){var n=lt(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};const ut=ct;function dt(e){var t=this.__data__=new Fe(e);this.size=t.size}dt.prototype.clear=function(){this.__data__=new Fe,this.size=0},dt.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},dt.prototype.get=function(e){return this.__data__.get(e)},dt.prototype.has=function(e){return this.__data__.has(e)},dt.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Fe){var r=n.__data__;if(!nt||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new ut(r)}return n.set(e,t),this.size=n.size,this};const ft=dt;function pt(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new ut;++t<n;)this.add(e[t])}pt.prototype.add=pt.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},pt.prototype.has=function(e){return this.__data__.has(e)};const ht=pt,mt=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},gt=function(e,t){return e.has(t)},yt=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 ht:void 0;for(o.set(e,t),o.set(t,e);++d<s;){var h=e[d],m=t[d];if(r)var g=a?r(m,h,d,t,e,o):r(h,m,d,e,t,o);if(void 0!==g){if(g)continue;f=!1;break}if(p){if(!mt(t,(function(e,t){if(!gt(p,t)&&(h===e||i(h,e,n,r,o)))return p.push(t)}))){f=!1;break}}else if(h!==m&&!i(h,m,n,r,o)){f=!1;break}}return o.delete(e),o.delete(t),f},vt=N.Uint8Array,bt=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n},It=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n};var xt=S?S.prototype:void 0,wt=xt?xt.valueOf:void 0;const At=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e},Tt=function(e,t,n){var r=t(e);return H(e)?r:At(r,n(e))},Mt=function(){return[]};var Ct=Object.prototype.propertyIsEnumerable,Et=Object.getOwnPropertySymbols,Nt=Et?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}(Et(e),(function(t){return Ct.call(e,t)})))}:Mt;const St=Nt,kt=function(e){return Tt(e,me,St)};var jt=Object.prototype.hasOwnProperty;const Dt=tt(N,"DataView"),Lt=tt(N,"Promise"),Ot=tt(N,"Set"),Rt=tt(N,"WeakMap");var Pt="[object Map]",zt="[object Promise]",Ut="[object Set]",Bt="[object WeakMap]",Gt="[object DataView]",Zt=Ve(Dt),Ft=Ve(nt),Ht=Ve(Lt),_t=Ve(Ot),Yt=Ve(Rt),qt=P;(Dt&&qt(new Dt(new ArrayBuffer(1)))!=Gt||nt&&qt(new nt)!=Pt||Lt&&qt(Lt.resolve())!=zt||Ot&&qt(new Ot)!=Ut||Rt&&qt(new Rt)!=Bt)&&(qt=function(e){var t=P(e),n="[object Object]"==t?e.constructor:void 0,r=n?Ve(n):"";if(r)switch(r){case Zt:return Gt;case Ft:return Pt;case Ht:return zt;case _t:return Ut;case Yt:return Bt}return t});const Vt=qt;var Wt="[object Arguments]",Qt="[object Array]",Jt="[object Object]",Xt=Object.prototype.hasOwnProperty;const Kt=function(e,t,n,r,i,o){var a=H(e),s=H(t),l=a?Qt:Vt(e),c=s?Qt:Vt(t),u=(l=l==Wt?Jt:l)==Jt,d=(c=c==Wt?Jt:c)==Jt,f=l==c;if(f&&V(e)){if(!V(t))return!1;a=!0,u=!1}if(f&&!u)return o||(o=new ft),a||ie(e)?yt(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 vt(e),new vt(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Ue(+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=bt;case"[object Set]":var l=1&r;if(s||(s=It),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=yt(s(e),s(t),r,i,o,a);return a.delete(e),u;case"[object Symbol]":if(wt)return wt.call(e)==wt.call(t)}return!1}(e,t,l,n,r,i,o);if(!(1&n)){var p=u&&Xt.call(e,"__wrapped__"),h=d&&Xt.call(t,"__wrapped__");if(p||h){var m=p?e.value():e,g=h?t.value():t;return o||(o=new ft),i(m,g,n,r,o)}}return!!f&&(o||(o=new ft),function(e,t,n,r,i,o){var a=1&n,s=kt(e),l=s.length;if(l!=kt(t).length&&!a)return!1;for(var c=l;c--;){var u=s[c];if(!(a?u in t:jt.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 m=e[u=s[c]],g=t[u];if(r)var y=a?r(g,m,u,t,e,o):r(m,g,u,e,t,o);if(!(void 0===y?m===g||i(m,g,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))},$t=function e(t,n,r,i,o){return t===n||(null==t||null==n||!z(t)&&!z(n)?t!=t&&n!=n:Kt(t,n,r,i,e,o))},en=function(e){return e==e&&!fe(e)},tn=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}},nn=function(e){var t=function(e){for(var t=me(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,en(i)]}return t}(e);return 1==t.length&&t[0][2]?tn(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 ft;if(r)var f=r(c,u,l,e,t,d);if(!(void 0===f?$t(u,c,3,r,d):f))return!1}}return!0}(n,e,t)}},rn=function(e){return"symbol"==typeof e||z(e)&&"[object Symbol]"==P(e)};var on=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,an=/^\w*$/;const sn=function(e,t){if(H(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!rn(e))||an.test(e)||!on.test(e)||null!=t&&e in Object(t)};function ln(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(ln.Cache||ut),n}ln.Cache=ut;var cn,un,dn,fn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,pn=/\\(\\)?/g,hn=(cn=function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(fn,(function(e,n,r,i){t.push(r?i.replace(pn,"$1"):n||e)})),t},un=ln(cn,(function(e){return 500===dn.size&&dn.clear(),e})),dn=un.cache,un);const mn=hn,gn=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 yn=S?S.prototype:void 0,vn=yn?yn.toString:void 0;const bn=function e(t){if("string"==typeof t)return t;if(H(t))return gn(t,e)+"";if(rn(t))return vn?vn.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n},In=function(e){return null==e?"":bn(e)},xn=function(e,t){return H(e)?e:sn(e,t)?[e]:mn(In(e))},wn=function(e){if("string"==typeof e||rn(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t},An=function(e,t){for(var n=0,r=(t=xn(t,e)).length;null!=e&&n<r;)e=e[wn(t[n++])];return n&&n==r?e:void 0},Tn=function(e,t,n){var r=null==e?void 0:An(e,t);return void 0===r?n:r},Mn=function(e,t){return null!=e&&t in Object(e)},Cn=function(e,t){return null!=e&&function(e,t,n){for(var r=-1,i=(t=xn(t,e)).length,o=!1;++r<i;){var a=wn(t[r]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&J(i)&&Q(a,i)&&(H(e)||F(e))}(e,t,Mn)},En=function(e){return sn(e)?function(e){return function(t){return null==t?void 0:t[e]}}(wn(e)):function(e){return function(t){return An(t,e)}}(e)},Nn=function(e){return"function"==typeof e?e:null==e?ve:"object"==typeof e?H(e)?(t=e[0],n=e[1],sn(t)&&en(n)?tn(wn(t),n):function(e){var r=Tn(e,t);return void 0===r&&r===n?Cn(e,t):$t(n,r,3)}):nn(e):En(e);var t,n},Sn=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},kn=function(e,t){return e&&e.length?function(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?Sn(e,r?0:o,r?o+1:i):Sn(e,r?o+1:0,r?i:o)}(e,Nn(t)):[]},jn=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,ve):0};function Dn(e){var t;return e.nodeType===Node.TEXT_NODE?null===(t=e.textContent)||void 0===t?void 0:t.length:"IMG"===e.nodeName?1:0}function Ln(e,t){0===e.button&&window.addEventListener("mouseup",(function e(n){const r=n.target;window.removeEventListener("mouseup",e);const i=window.getSelection();if(i&&function(){const e=window.getSelection();return null!==e&&function(e){if("None"===e.type||"Caret"===e.type||0===e.rangeCount)return!1;const t=e.getRangeAt(0).startContainer,n=e.getRangeAt(0).endContainer,r=t.parentElement,i=n.parentElement,o=Array.from(e.getRangeAt(0).cloneContents().children).some((e=>"MARK"===e.tagName&&e.getAttribute("data-annotation-id")));return e.rangeCount>0&&r===i&&"MARK"!==(null==r?void 0:r.tagName)&&!o}(e)&&("Range"===(null==(t=e)?void 0:t.type)||function(e){const t=null==e?void 0:e.getRangeAt(0);return!!e.rangeCount&&t.toString().length>0}(e));var t}()){const e=function(e,t){if(function(e){var t;const n=e.cloneContents(),r=Array.from(n.childNodes).some((e=>e instanceof Element&&(e.classList.contains("e-annotation-wrapper")||"IMG"===e.tagName)));return 0===(null===(t=n.textContent)||void 0===t?void 0:t.length)&&!r}(t))return;const n=function(e,t=document){let n=null;const r=[],i=t.createTreeWalker(e,NodeFilter.SHOW_TEXT+NodeFilter.SHOW_ELEMENT,null);for(;n=i.nextNode();)r.push(n);return r}(e),r=o(t.startContainer,t.startOffset,e),i=o(t.endContainer,t.endOffset,e)-r;if(!(i<=0))return{startIndex:r,length:i};function o(e,t,r){const i=e===r,o=i?e.childNodes[t]:e,a=i?0:t,s=kn(n,(e=>e!==o));return a+jn(s.map(Dn))}}(r,i.getRangeAt(0));if(!e)return;const n=i.toString();t({...e,selectedText:n})}}))}const On=e=>"annotationId"in e,Rn=({node:e,annotationContextData:n})=>{const{annotations:r,onClickAnnotation:i,setNewAnnotation:o,setNewAnnotationRef:a,newAnnotation:s}=n,l=ze(e),c=(null==s?void 0:s.annotationAnchor)===l?s:null,u=[...(null==r?void 0:r[l])||[],...c?[c]:[]],d=t=>{var n;const r=(null===(n=Ee(e.parentElement,"question"))||void 0===n?void 0:n.getAttribute("display-number"))||"";o({...t,annotationAnchor:l,displayNumber:r})};return t().createElement("span",{onMouseDown:function(e){e.target.closest(".annotation-popup")||o(null),Ln(e,d)},className:"e-annotatable",key:l},(null==u?void 0:u.length)>0?function(e,n){if(0===n.length)return[e];const r=[];let o=0;n.sort(((e,t)=>e.startIndex-t.startIndex));for(const s of n){if(s.startIndex<0||s.length<=0)return[e];s.startIndex>o&&r.push(e.substring(o,s.startIndex));const n=e.substring(s.startIndex,s.startIndex+s.length);r.push(s.hidden?t().createElement("mark",{key:s.startIndex,className:"e-annotation","data-annotation-id":On(s)?s.annotationId:"","data-hidden":"true"}):t().createElement(Pn,{key:s.startIndex,annotation:s,markedText:n,onClickAnnotation:i,setNewAnnotationRef:a})),o=s.startIndex+s.length}return r.push(e.substring(o)),r}(e.textContent,u):e.textContent)},Pn=({annotation:n,markedText:r,onClickAnnotation:i,setNewAnnotationRef:o})=>{const a=(0,e.useRef)(null);return(0,e.useEffect)((()=>{a.current&&!On(n)&&o(a.current)}),[]),t().createElement("mark",{ref:a,className:"e-annotation","data-annotation-id":On(n)?n.annotationId:"","data-hidden":"false",onClick:e=>On(n)?i(e,n):void 0},r,(null==n?void 0:n.markNumber)&&t().createElement("sup",{className:"e-annotation","data-content":null==n?void 0:n.markNumber}))},zn="http://ylioppilastutkinto.fi/exam.xsd";function Un(n){function r(i,o=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}(i,((i,a)=>function(i,o,a){switch(i.nodeType){case Node.TEXT_NODE:case Node.CDATA_SECTION_NODE:return 0===a?function(n){var r;const i=(0,e.useContext)(b),{isInSidebar:o}=(0,e.useContext)(x);return void 0===(null==i?void 0:i.annotations)||0===(null===(r=n.textContent)||void 0===r?void 0:r.trim().length)||void 0!==o?n.textContent:t().createElement(Rn,{node:n,annotationContextData:i,key:ze(n)})}(i):null;case Node.ELEMENT_NODE:return function(e,i,o){switch(e.namespaceURI){case"http://www.w3.org/1999/xhtml":return function(e,n,i){const o=e.hasChildNodes()?r(e,i):null;if(0===i){const r=e.localName,i=function(e,t){const n={key:Bn(e,t)};for(const t of e.attributes)n["class"===t.localName?"className":t.localName]=t.value;return n}(e,n);return t().createElement(r,{...i},o)}return o}(e,i,o);case zn:return function(e,i){const o=n[e.localName],a=e.getAttribute("class")||void 0;return o?t().createElement(o,{element:e,className:a,renderChildNodes:r,key:Bn(e,i)}):null}(e,i);default:throw new Error(`Unrecognized element: ${e.localName}`)}}(i,o,a);default:return null}}(i,a,o)))}return r}function Bn(e,t){return`${e.localName}-${t}`}const Gn={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class Zn{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(e,t)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||Gn,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}warn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}error(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}deprecate(){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)}forward(e,t,n,r){return r&&!this.debug?null:("string"==typeof e[0]&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new Zn(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new Zn(this.logger,e)}}var Fn=new Zn;class Hn{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach((e=>{this.observers[e]||(this.observers[e]=new Map);const n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)})),this}off(e,t){this.observers[e]&&(t?this.observers[e].delete(t):delete this.observers[e])}emit(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]&&Array.from(this.observers[e].entries()).forEach((e=>{let[t,r]=e;for(let e=0;e<r;e++)t(...n)})),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach((t=>{let[r,i]=t;for(let t=0;t<i;t++)r.apply(r,[e,...n])}))}}function _n(){let e,t;const n=new Promise(((n,r)=>{e=n,t=r}));return n.resolve=e,n.reject=t,n}function Yn(e){return null==e?"":""+e}const qn=/###/g;function Vn(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(qn,"."):e}function i(){return!e||"string"==typeof e}const o="string"!=typeof t?t:t.split(".");let a=0;for(;a<o.length-1;){if(i())return{};const t=r(o[a]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++a}return i()?{}:{obj:e,k:r(o[a])}}function Wn(e,t,n){const{obj:r,k:i}=Vn(e,t,Object);if(void 0!==r||1===t.length)return void(r[i]=n);let o=t[t.length-1],a=t.slice(0,t.length-1),s=Vn(e,a,Object);for(;void 0===s.obj&&a.length;)o=`${a[a.length-1]}.${o}`,a=a.slice(0,a.length-1),s=Vn(e,a,Object),s&&s.obj&&void 0!==s.obj[`${s.k}.${o}`]&&(s.obj=void 0);s.obj[`${s.k}.${o}`]=n}function Qn(e,t){const{obj:n,k:r}=Vn(e,t);if(n)return n[r]}function Jn(e,t,n){for(const 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]):Jn(e[r],t[r],n):e[r]=t[r]);return e}function Xn(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var Kn={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function $n(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(e=>Kn[e])):e}const er=[" ",",","?","!",";"],tr=new class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const t=this.regExpMap.get(e);if(void 0!==t)return t;const n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}}(20);function nr(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!e)return;if(e[t])return e[t];const r=t.split(n);let i=e;for(let e=0;e<r.length;){if(!i||"object"!=typeof i)return;let t,o="";for(let a=e;a<r.length;++a)if(a!==e&&(o+=n),o+=r[a],t=i[o],void 0!==t){if(["string","number","boolean"].indexOf(typeof t)>-1&&a<r.length-1)continue;e+=a-e+1;break}i=t}return i}function rr(e){return e&&e.indexOf("_")>0?e.replace("_","-"):e}class ir extends Hn{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const i=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,o=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure;let a;e.indexOf(".")>-1?a=e.split("."):(a=[e,t],n&&(Array.isArray(n)?a.push(...n):"string"==typeof n&&i?a.push(...n.split(i)):a.push(n)));const s=Qn(this.data,a);return!s&&!t&&!n&&e.indexOf(".")>-1&&(e=a[0],t=a[1],n=a.slice(2).join(".")),s||!o||"string"!=typeof n?s:nr(this.data&&this.data[e]&&this.data[e][t],n,i)}addResource(e,t,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1};const o=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator;let a=[e,t];n&&(a=a.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(a=e.split("."),r=t,t=a[1]),this.addNamespaces(t),Wn(this.data,a,r),i.silent||this.emit("added",e,t,n,r)}addResources(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(const r in n)("string"==typeof n[r]||Array.isArray(n[r]))&&this.addResource(e,t,r,n[r],{silent:!0});r.silent||this.emit("added",e,t,n)}addResourceBundle(e,t,n,r,i){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1,skipCopy:!1},a=[e,t];e.indexOf(".")>-1&&(a=e.split("."),r=n,n=t,t=a[1]),this.addNamespaces(t);let s=Qn(this.data,a)||{};o.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?Jn(s,n,i):s={...s,...n},Wn(this.data,a,s),o.silent||this.emit("added",e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?{...this.getResource(e,t)}:this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((e=>t[e]&&Object.keys(t[e]).length>0))}toJSON(){return this.data}}var or={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,i){return e.forEach((e=>{this.processors[e]&&(t=this.processors[e].process(t,n,r,i))})),t}};const ar={};class sr extends Hn{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var n,r;super(),n=e,r=this,["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"].forEach((e=>{n[e]&&(r[e]=n[e])})),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=Fn.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;const n=this.resolve(e,t);return n&&void 0!==n.res}extractFromKey(e,t){let n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");const r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator;let i=t.ns||this.options.defaultNS||[];const 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||"";const r=er.filter((e=>t.indexOf(e)<0&&n.indexOf(e)<0));if(0===r.length)return!0;const i=tr.getRegExp(`(${r.map((e=>"?"===e?"\\?":e)).join("|")})`);let o=!i.test(e);if(!o){const t=e.indexOf(n);t>0&&!i.test(e.substring(0,t))&&(o=!0)}return o}(e,n,r));if(o&&!a){const t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:i};const o=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(o[0])>-1)&&(i=o.shift()),e=o.join(r)}return"string"==typeof i&&(i=[i]),{key:e,namespaces:i}}translate(e,t,n){if("object"!=typeof t&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof t&&(t={...t}),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);const r=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,i=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,{key:o,namespaces:a}=this.extractFromKey(e[e.length-1],t),s=a[a.length-1],l=t.lng||this.language,c=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(l&&"cimode"===l.toLowerCase()){if(c){const e=t.nsSeparator||this.options.nsSeparator;return r?{res:`${s}${e}${o}`,usedKey:o,exactUsedKey:o,usedLng:l,usedNS:s,usedParams:this.getUsedParamsDetails(t)}:`${s}${e}${o}`}return r?{res:o,usedKey:o,exactUsedKey:o,usedLng:l,usedNS:s,usedParams:this.getUsedParamsDetails(t)}:o}const u=this.resolve(e,t);let d=u&&u.res;const f=u&&u.usedKey||o,p=u&&u.exactUsedKey||o,h=Object.prototype.toString.apply(d),m=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,g=!this.i18nFormat||this.i18nFormat.handleAsObject;if(g&&d&&"string"!=typeof d&&"boolean"!=typeof d&&"number"!=typeof d&&["[object Number]","[object Function]","[object RegExp]"].indexOf(h)<0&&("string"!=typeof m||!Array.isArray(d))){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(f,d,{...t,ns:a}):`key '${o} (${this.language})' returned an object instead of string.`;return r?(u.res=e,u.usedParams=this.getUsedParamsDetails(t),u):e}if(i){const e=Array.isArray(d),n=e?[]:{},r=e?p:f;for(const e in d)if(Object.prototype.hasOwnProperty.call(d,e)){const o=`${r}${i}${e}`;n[e]=this.translate(o,{...t,joinArrays:!1,ns:a}),n[e]===o&&(n[e]=d[e])}d=n}}else if(g&&"string"==typeof m&&Array.isArray(d))d=d.join(m),d&&(d=this.extendTranslation(d,e,t,n));else{let r=!1,a=!1;const c=void 0!==t.count&&"string"!=typeof t.count,f=sr.hasDefaultValue(t),p=c?this.pluralResolver.getSuffix(l,t.count,t):"",h=t.ordinal&&c?this.pluralResolver.getSuffix(l,t.count,{ordinal:!1}):"",m=c&&!t.ordinal&&0===t.count&&this.pluralResolver.shouldUseIntlApi(),g=m&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${p}`]||t[`defaultValue${h}`]||t.defaultValue;!this.isValidLookup(d)&&f&&(r=!0,d=g),this.isValidLookup(d)||(a=!0,d=o);const y=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&a?void 0:d,v=f&&g!==d&&this.options.updateMissing;if(a||r||v){if(this.logger.log(v?"updateKey":"missingKey",l,s,o,v?g:d),i){const e=this.resolve(o,{...t,keySeparator:!1});e&&e.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.")}let e=[];const n=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&n&&n[0])for(let t=0;t<n.length;t++)e.push(n[t]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(t.lng||this.language):e.push(t.lng||this.language);const r=(e,n,r)=>{const i=f&&r!==d?r:y;this.options.missingKeyHandler?this.options.missingKeyHandler(e,s,n,i,v,t):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(e,s,n,i,v,t),this.emit("missingKey",e,s,n,d)};this.options.saveMissing&&(this.options.saveMissingPlurals&&c?e.forEach((e=>{const n=this.pluralResolver.getSuffixes(e,t);m&&t[`defaultValue${this.options.pluralSeparator}zero`]&&n.indexOf(`${this.options.pluralSeparator}zero`)<0&&n.push(`${this.options.pluralSeparator}zero`),n.forEach((n=>{r([e],o+n,t[`defaultValue${n}`]||g)}))})):r(e,o,g))}d=this.extendTranslation(d,e,t,u,n),a&&d===o&&this.options.appendNamespaceToMissingKey&&(d=`${s}:${o}`),(a||r)&&this.options.parseMissingKeyHandler&&(d="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${s}:${o}`:o,r?d:void 0):this.options.parseMissingKeyHandler(d))}return r?(u.res=d,u.usedParams=this.getUsedParamsDetails(t),u):d}extendTranslation(e,t,n,r,i){var o=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});const a="string"==typeof e&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let s;if(a){const t=e.match(this.interpolator.nestingRegexp);s=t&&t.length}let l=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(l={...this.options.interpolation.defaultVariables,...l}),e=this.interpolator.interpolate(e,l,n.lng||this.language,n),a){const t=e.match(this.interpolator.nestingRegexp);s<(t&&t.length)&&(n.nest=!1)}!n.lng&&"v1"!==this.options.compatibilityAPI&&r&&r.res&&(n.lng=r.usedLng),!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: ${r[0]} in key: ${t[0]}`),null):o.translate(...r,t)}),n)),n.interpolation&&this.interpolator.reset()}const a=n.postProcess||this.options.postProcess,s="string"==typeof a?[a]:a;return null!=e&&s&&s.length&&!1!==n.applyPostProcessor&&(e=or.handle(s,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),e}resolve(e){let t,n,r,i,o,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach((e=>{if(this.isValidLookup(t))return;const s=this.extractFromKey(e,a),l=s.key;n=l;let c=s.namespaces;this.options.fallbackNS&&(c=c.concat(this.options.fallbackNS));const u=void 0!==a.count&&"string"!=typeof a.count,d=u&&!a.ordinal&&0===a.count&&this.pluralResolver.shouldUseIntlApi(),f=void 0!==a.context&&("string"==typeof a.context||"number"==typeof a.context)&&""!==a.context,p=a.lngs?a.lngs:this.languageUtils.toResolveHierarchy(a.lng||this.language,a.fallbackLng);c.forEach((e=>{this.isValidLookup(t)||(o=e,!ar[`${p[0]}-${e}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(o)&&(ar[`${p[0]}-${e}`]=!0,this.logger.warn(`key "${n}" for languages "${p.join(", ")}" won't get resolved as namespace "${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!!!")),p.forEach((n=>{if(this.isValidLookup(t))return;i=n;const o=[l];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(o,l,n,e,a);else{let e;u&&(e=this.pluralResolver.getSuffix(n,a.count,a));const t=`${this.options.pluralSeparator}zero`,r=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(o.push(l+e),a.ordinal&&0===e.indexOf(r)&&o.push(l+e.replace(r,this.options.pluralSeparator)),d&&o.push(l+t)),f){const n=`${l}${this.options.contextSeparator}${a.context}`;o.push(n),u&&(o.push(n+e),a.ordinal&&0===e.indexOf(r)&&o.push(n+e.replace(r,this.options.pluralSeparator)),d&&o.push(n+t))}}let s;for(;s=o.pop();)this.isValidLookup(t)||(r=s,t=this.getResource(n,e,s,a))})))}))})),{res:t,usedKey:n,exactUsedKey:r,usedLng:i,usedNS:o}}isValidLookup(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}getResource(e,t,n){let 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)}getUsedParamsDetails(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],n=e.replace&&"string"!=typeof e.replace;let r=n?e.replace:e;if(n&&void 0!==e.count&&(r.count=e.count),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!n){r={...r};for(const e of t)delete r[e]}return r}static hasDefaultValue(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&"defaultValue"===t.substring(0,12)&&void 0!==e[t])return!0;return!1}}function lr(e){return e.charAt(0).toUpperCase()+e.slice(1)}class cr{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Fn.create("languageUtils")}getScriptPartFromCode(e){if(!(e=rr(e))||e.indexOf("-")<0)return null;const t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}getLanguagePartFromCode(e){if(!(e=rr(e))||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if("string"==typeof e&&e.indexOf("-")>-1){const t=["hans","hant","latn","cyrl","cans","mong","arab"];let n=e.split("-");return this.options.lowerCaseLng?n=n.map((e=>e.toLowerCase())):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=lr(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]=lr(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=lr(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach((e=>{if(t)return;const n=this.formatLanguageCode(e);this.options.supportedLngs&&!this.isSupportedCode(n)||(t=n)})),!t&&this.options.supportedLngs&&e.forEach((e=>{if(t)return;const n=this.getLanguagePartFromCode(e);if(this.isSupportedCode(n))return t=n;t=this.options.supportedLngs.find((e=>e===n?e:e.indexOf("-")<0&&n.indexOf("-")<0?void 0:e.indexOf("-")>0&&n.indexOf("-")<0&&e.substring(0,e.indexOf("-"))===n||0===e.indexOf(n)&&n.length>1?e:void 0))})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let 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||[]}toResolveHierarchy(e,t){const n=this.getFallbackCodes(t||this.options.fallbackLng||[],e),r=[],i=e=>{e&&(this.isSupportedCode(e)?r.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return"string"==typeof e&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):"string"==typeof e&&i(this.formatLanguageCode(e)),n.forEach((e=>{r.indexOf(e)<0&&i(this.formatLanguageCode(e))})),r}}let ur=[{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}],dr={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)}};const fr=["v1","v2","v3"],pr=["v4"],hr={zero:0,one:1,two:2,few:3,many:4,other:5};class mr{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=Fn.create("pluralResolver"),this.options.compatibilityJSON&&!pr.includes(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=function(){const e={};return ur.forEach((t=>{t.lngs.forEach((n=>{e[n]={numbers:t.nr,plurals:dr[t.fc]}}))})),e}()}addRule(e,t){this.rules[e]=t}getRule(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(rr("dev"===e?"en":e),{type:t.ordinal?"ordinal":"cardinal"})}catch(e){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}getPluralFormsOfKey(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map((e=>`${t}${e}`))}getSuffixes(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=this.getRule(e,t);return n?this.shouldUseIntlApi()?n.resolvedOptions().pluralCategories.sort(((e,t)=>hr[e]-hr[t])).map((e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`)):n.numbers.map((n=>this.getSuffix(e,n,t))):[]}getSuffix(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=this.getRule(e,n);return r?this.shouldUseIntlApi()?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${r.select(t)}`:this.getSuffixRetroCompatible(r,t):(this.logger.warn(`no plural rule found for: ${e}`),"")}getSuffixRetroCompatible(e,t){const n=e.noAbs?e.plurals(t):e.plurals(Math.abs(t));let r=e.numbers[n];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===r?r="plural":1===r&&(r=""));const i=()=>this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString();return"v1"===this.options.compatibilityJSON?1===r?"":"number"==typeof r?`_plural_${r.toString()}`:i():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?i():this.options.prepend&&n.toString()?this.options.prepend+n.toString():n.toString()}shouldUseIntlApi(){return!fr.includes(this.options.compatibilityJSON)}}function gr(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],o=function(e,t,n){const r=Qn(e,n);return void 0!==r?r:Qn(t,n)}(e,t,n);return!o&&i&&"string"==typeof n&&(o=nr(e,n,r),void 0===o&&(o=nr(t,n,r))),o}class yr{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=Fn.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||(e=>e),this.init(e)}init(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});const{escape:t,escapeValue:n,useRawValueToEscape:r,prefix:i,prefixEscaped:o,suffix:a,suffixEscaped:s,formatSeparator:l,unescapeSuffix:c,unescapePrefix:u,nestingPrefix:d,nestingPrefixEscaped:f,nestingSuffix:p,nestingSuffixEscaped:h,nestingOptionsSeparator:m,maxReplaces:g,alwaysFormat:y}=e.interpolation;this.escape=void 0!==t?t:$n,this.escapeValue=void 0===n||n,this.useRawValueToEscape=void 0!==r&&r,this.prefix=i?Xn(i):o||"{{",this.suffix=a?Xn(a):s||"}}",this.formatSeparator=l||",",this.unescapePrefix=c?"":u||"-",this.unescapeSuffix=this.unescapePrefix?"":c||"",this.nestingPrefix=d?Xn(d):f||Xn("$t("),this.nestingSuffix=p?Xn(p):h||Xn(")"),this.nestingOptionsSeparator=m||",",this.maxReplaces=g||1e3,this.alwaysFormat=void 0!==y&&y,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(e,t)=>e&&e.source===t?(e.lastIndex=0,e):new RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,t,n,r){let i,o,a;const s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function l(e){return e.replace(/\$/g,"$$$$")}const c=e=>{if(e.indexOf(this.formatSeparator)<0){const i=gr(t,s,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,n,{...r,...t,interpolationkey:e}):i}const i=e.split(this.formatSeparator),o=i.shift().trim(),a=i.join(this.formatSeparator).trim();return this.format(gr(t,s,o,this.options.keySeparator,this.options.ignoreJSONStructure),a,n,{...r,...t,interpolationkey:o})};this.resetRegExp();const u=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,d=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>l(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?l(this.escape(e)):l(e)}].forEach((t=>{for(a=0;i=t.regex.exec(e);){const n=i[1].trim();if(o=c(n),void 0===o)if("function"==typeof u){const t=u(e,i,r);o="string"==typeof t?t:""}else if(r&&Object.prototype.hasOwnProperty.call(r,n))o="";else{if(d){o=i[0];continue}this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),o=""}else"string"==typeof o||this.useRawValueToEscape||(o=Yn(o));const s=t.safeValue(o);if(e=e.replace(i[0],s),d?(t.regex.lastIndex+=o.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,a++,a>=this.maxReplaces)break}})),e}nest(e,t){let n,r,i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};function a(e,t){const n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;const r=e.split(new RegExp(`${n}[ ]*{`));let o=`{${r[1]}`;e=r[0],o=this.interpolate(o,i);const a=o.match(/'/g),s=o.match(/"/g);(a&&a.length%2==0&&!s||s.length%2!=0)&&(o=o.replace(/'/g,'"'));try{i=JSON.parse(o),t&&(i={...t,...i})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${o}`}return i.defaultValue&&i.defaultValue.indexOf(this.prefix)>-1&&delete i.defaultValue,e}for(;n=this.nestingRegexp.exec(e);){let s=[];i={...o},i=i.replace&&"string"!=typeof i.replace?i.replace:i,i.applyPostProcessor=!1,delete i.defaultValue;let l=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){const e=n[1].split(this.formatSeparator).map((e=>e.trim()));n[1]=e.shift(),s=e,l=!0}if(r=t(a.call(this,n[1].trim(),i),i),r&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=Yn(r)),r||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`),r=""),l&&(r=s.reduce(((e,t)=>this.format(e,t,o.lng,{...o,interpolationkey:n[1].trim()})),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}function vr(e){const t={};return function(n,r,i){const o=r+JSON.stringify(i);let a=t[o];return a||(a=e(rr(r),i),t[o]=a),a(n)}}class br{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=Fn.create("formatter"),this.options=e,this.formats={number:vr(((e,t)=>{const n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)})),currency:vr(((e,t)=>{const n=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>n.format(e)})),datetime:vr(((e,t)=>{const n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)})),relativetime:vr(((e,t)=>{const n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||"day")})),list:vr(((e,t)=>{const n=new Intl.ListFormat(e,{...t});return e=>n.format(e)}))},this.init(e)}init(e){const t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=vr(t)}format(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const i=t.split(this.formatSeparator).reduce(((e,t)=>{const{formatName:i,formatOptions:o}=function(e){let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const 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((e=>{if(e){const[t,...r]=e.split(":"),i=r.join(":").trim().replace(/^'+|'+$/g,""),o=t.trim();n[o]||(n[o]=i),"false"===i&&(n[o]=!1),"true"===i&&(n[o]=!0),isNaN(i)||(n[o]=parseInt(i,10))}}))}return{formatName:t,formatOptions:n}}(t);if(this.formats[i]){let t=e;try{const a=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},s=a.locale||a.lng||r.locale||r.lng||n;t=this.formats[i](e,s,{...o,...r,...a})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${i}`),e}),e);return i}}class Ir extends Hn{constructor(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=Fn.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(n,r.backend,r)}queueLoad(e,t,n,r){const i={},o={},a={},s={};return e.forEach((e=>{let r=!0;t.forEach((t=>{const a=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[a]=2:this.state[a]<0||(1===this.state[a]?void 0===o[a]&&(o[a]=!0):(this.state[a]=1,r=!1,void 0===o[a]&&(o[a]=!0),void 0===i[a]&&(i[a]=!0),void 0===s[t]&&(s[t]=!0)))})),r||(a[e]=!0)})),(Object.keys(i).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(o),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(s)}}loaded(e,t,n){const r=e.split("|"),i=r[0],o=r[1];t&&this.emit("failedLoading",i,o,t),n&&this.store.addResourceBundle(i,o,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2;const a={};this.queue.forEach((n=>{!function(e,t,n,r){const{obj:i,k:o}=Vn(e,t,Object);i[o]=i[o]||[],i[o].push(n)}(n.loaded,[i],o),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((e=>{a[e]||(a[e]={});const t=n.loaded[e];t.length&&t.forEach((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((e=>!e.done))}read(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,o=arguments.length>5?arguments[5]:void 0;if(!e.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:i,callback:o});this.readingCalls++;const a=(a,s)=>{if(this.readingCalls--,this.waitingReads.length>0){const e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}a&&s&&r<this.maxRetries?setTimeout((()=>{this.read.call(this,e,t,n,r+1,2*i,o)}),i):o(a,s)},s=this.backend[n].bind(this.backend);if(2!==s.length)return s(e,t,a);try{const n=s(e,t);n&&"function"==typeof n.then?n.then((e=>a(null,e))).catch(a):a(null,n)}catch(e){a(e)}}prepareLoading(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=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."),r&&r();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);const i=this.queueLoad(e,t,n,r);if(!i.toLoad.length)return i.pending.length||r(),null;i.toLoad.forEach((e=>{this.loadOne(e)}))}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=e.split("|"),r=n[0],i=n[1];this.read(r,i,"read",void 0,void 0,((n,o)=>{n&&this.logger.warn(`${t}loading namespace ${i} for language ${r} failed`,n),!n&&o&&this.logger.log(`${t}loaded namespace ${i} for language ${r}`,o),this.loaded(e,n,o)}))}saveMissing(e,t,n,r,i){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t))this.logger.warn(`did not save key "${n}" as the namespace "${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!!!");else if(null!=n&&""!==n){if(this.backend&&this.backend.create){const s={...o,isUpdate:i},l=this.backend.create.bind(this.backend);if(l.length<6)try{let i;i=5===l.length?l(e,t,n,r,s):l(e,t,n,r),i&&"function"==typeof i.then?i.then((e=>a(null,e))).catch(a):a(null,i)}catch(e){a(e)}else l(e,t,n,r,a,s)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}}function xr(){return{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:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){let t={};if("object"==typeof e[1]&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){const n=e[3]||e[2];Object.keys(n).forEach((e=>{t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function wr(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 Ar(){}class Tr extends Hn{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;var n;if(super(),this.options=wr(e),this.services={},this.logger=Fn,this.modules={external:[]},n=this,Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach((e=>{"function"==typeof n[e]&&(n[e]=n[e].bind(n))})),t&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)return this.init(e,t),this;setTimeout((()=>{this.init(e,t)}),0)}}init(){var e=this;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;this.isInitializing=!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]));const r=xr();function i(e){return e?"function"==typeof e?new e:e:null}if(this.options={...r,...this.options,...wr(t)},"v1"!==this.options.compatibilityAPI&&(this.options.interpolation={...r.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){let t;this.modules.logger?Fn.init(i(this.modules.logger),this.options):Fn.init(null,this.options),this.modules.formatter?t=this.modules.formatter:"undefined"!=typeof Intl&&(t=br);const n=new cr(this.options);this.store=new ir(this.options.resources,this.options);const o=this.services;o.logger=Fn,o.resourceStore=this.store,o.languageUtils=n,o.pluralResolver=new mr(n,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!t||this.options.interpolation.format&&this.options.interpolation.format!==r.interpolation.format||(o.formatter=i(t),o.formatter.init(o,this.options),this.options.interpolation.format=o.formatter.format.bind(o.formatter)),o.interpolator=new yr(this.options),o.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},o.backendConnector=new Ir(i(this.modules.backend),o.resourceStore,o,this.options),o.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(t,...r)})),this.modules.languageDetector&&(o.languageDetector=i(this.modules.languageDetector),o.languageDetector.init&&o.languageDetector.init(o,this.options.detection,this.options)),this.modules.i18nFormat&&(o.i18nFormat=i(this.modules.i18nFormat),o.i18nFormat.init&&o.i18nFormat.init(this)),this.translator=new sr(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(t,...r)})),this.modules.external.forEach((e=>{e.init&&e.init(this)}))}if(this.format=this.options.interpolation.format,n||(n=Ar),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[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((t=>{this[t]=function(){return e.store[t](...arguments)}})),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach((t=>{this[t]=function(){return e.store[t](...arguments),e}}));const o=_n(),a=()=>{const e=(e,t)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),o.resolve(t),n(e,t)};if(this.languages&&"v1"!==this.options.compatibilityAPI&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initImmediate?a():setTimeout(a,0),o}loadResources(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ar;const n="string"==typeof e?e:this.language;if("function"==typeof e&&(t=e),!this.options.resources||this.options.partialBundledLanguages){if(n&&"cimode"===n.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return t();const e=[],r=t=>{t&&"cimode"!==t&&this.services.languageUtils.toResolveHierarchy(t).forEach((t=>{"cimode"!==t&&e.indexOf(t)<0&&e.push(t)}))};n?r(n):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((e=>r(e))),this.options.preload&&this.options.preload.forEach((e=>r(e))),this.services.backendConnector.load(e,this.options.ns,(e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),t(e)}))}else t(null)}reloadResources(e,t,n){const r=_n();return e||(e=this.languages),t||(t=this.options.ns),n||(n=Ar),this.services.backendConnector.reload(e,t,(e=>{r.resolve(),n(e)})),r}use(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&&or.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(let e=0;e<this.languages.length;e++){const t=this.languages[e];if(!(["cimode","dev"].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}}changeLanguage(e,t){var n=this;this.isLanguageChangingTo=e;const r=_n();this.emit("languageChanging",e);const i=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},o=(e,o)=>{o?(i(o),this.translator.changeLanguage(o),this.isLanguageChangingTo=void 0,this.emit("languageChanged",o),this.logger.log("languageChanged",o)):this.isLanguageChangingTo=void 0,r.resolve((function(){return n.t(...arguments)})),t&&t(e,(function(){return n.t(...arguments)}))},a=t=>{e||t||!this.services.languageDetector||(t=[]);const n="string"==typeof t?t:this.services.languageUtils.getBestMatchFromCodes(t);n&&(this.language||i(n),this.translator.language||this.translator.changeLanguage(n),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(n)),this.loadResources(n,(e=>{o(e,n)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e):a(this.services.languageDetector.detect()),r}getFixedT(e,t,n){var r=this;const i=function(e,t){let o;if("object"!=typeof t){for(var a=arguments.length,s=new Array(a>2?a-2:0),l=2;l<a;l++)s[l-2]=arguments[l];o=r.options.overloadTranslationOptionHandler([e,t].concat(s))}else o={...t};o.lng=o.lng||i.lng,o.lngs=o.lngs||i.lngs,o.ns=o.ns||i.ns,o.keyPrefix=o.keyPrefix||n||i.keyPrefix;const c=r.options.keySeparator||".";let u;return u=o.keyPrefix&&Array.isArray(e)?e.map((e=>`${o.keyPrefix}${c}${e}`)):o.keyPrefix?`${o.keyPrefix}${c}${e}`:e,r.t(u,o)};return"string"==typeof e?i.lng=e:i.lngs=e,i.ns=t,i.keyPrefix=n,i}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let t=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;const n=t.lng||this.resolvedLanguage||this.languages[0],r=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===n.toLowerCase())return!0;const o=(e,t)=>{const n=this.services.backendConnector.state[`${e}|${t}`];return-1===n||2===n};if(t.precheck){const e=t.precheck(this,o);if(void 0!==e)return e}return!(!this.hasResourceBundle(n,e)&&this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages)&&(!o(n,e)||r&&!o(i,e)))}loadNamespaces(e,t){const n=_n();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach((e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)})),this.loadResources((e=>{n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){const n=_n();"string"==typeof e&&(e=[e]);const r=this.options.preload||[],i=e.filter((e=>r.indexOf(e)<0&&this.services.languageUtils.isSupportedCode(e)));return i.length?(this.options.preload=r.concat(i),this.loadResources((e=>{n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";const t=this.services&&this.services.languageUtils||new cr(xr());return["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(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){return new Tr(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}cloneInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ar;const n=e.forkResourceStore;n&&delete e.forkResourceStore;const r={...this.options,...e,isClone:!0},i=new Tr(r);return void 0===e.debug&&void 0===e.prefix||(i.logger=i.logger.clone(e)),["store","services","language"].forEach((e=>{i[e]=this[e]})),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},n&&(i.store=new ir(this.store.data,r),i.services.resourceStore=i.store),i.translator=new sr(i.services,r),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(e,...n)})),i.init(r,t),i.translator.options=r,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const Mr=Tr.createInstance();Mr.createInstance=Tr.createInstance,Mr.createInstance,Mr.dir,Mr.init,Mr.loadResources,Mr.reloadResources,Mr.use,Mr.changeLanguage,Mr.getFixedT,Mr.t,Mr.exists,Mr.setDefaultNamespace,Mr.hasLoadedNamespace,Mr.loadNamespaces,Mr.loadLanguages;const Cr=function(e){return e&&e.length?e[0]:void 0},Er=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0},Nr=function(){},Sr=function(){try{var e=tt(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),kr=function(e,t,n){"__proto__"==t&&Sr?Sr(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n};var jr=Object.prototype.hasOwnProperty;const Dr=function(e,t,n){var r=e[t];jr.call(e,t)&&Ue(r,n)&&(void 0!==n||t in e)||kr(e,t,n)},Lr=function(e,t,n,r){if(!fe(e))return e;for(var i=-1,o=(t=xn(t,e)).length,a=o-1,s=e;null!=s&&++i<o;){var l=wn(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=fe(u)?u:Q(t[i+1])?[]:{})}Dr(s,l,c),s=s[l]}return e},Or=function(e,t){return function(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var a=t[r],s=An(e,a);n(s,a)&&Lr(o,xn(a,e),s)}return o}(e,t,(function(t,n){return Cn(e,n)}))};var Rr=S?S.isConcatSpreadable:void 0;const Pr=function(e){return H(e)||F(e)||!!(Rr&&e&&e[Rr])},zr=function e(t,n,r,i,o){var a=-1,s=t.length;for(r||(r=Pr),o||(o=[]);++a<s;){var l=t[a];n>0&&r(l)?n>1?e(l,n-1,r,i,o):At(o,l):i||(o[o.length]=l)}return o},Ur=function(e){return null!=e&&e.length?zr(e,1):[]};var Br=Math.max;const Gr=Sr?function(e,t){return Sr(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:ve;var Zr=Date.now;const Fr=function(e){var t=0,n=0;return function(){var r=Zr(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(Gr),Hr=function(e){return Fr(function(e,t,n){return t=Br(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=Br(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,Ur),e+"")},_r=Hr((function(e,t){return null==e?{}:Or(e,t)})),Yr={"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","non-answer-not-graded":"Lämnats utan bedömning","loading-images":"Vänta, bilder laddas..."},references:{heading:"Källor",source:"Källa:",date:"Publicerad:","reference-date":"Hämtad:",translator:"Översättning:","modified-by":"Bearbetning:"},cas:{examineSectionA:"Du kan nu granska dina svar för del A.",cannotEditLater:"När du har returnerat del A kan du inte längre redigera svaren för del A.",youCanReturn:"Efter att du granskat dina svar kan du gå tillbaka till provet för att fortsätta svara på uppgifterna.",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"}},"examine-exam":{examine:"Kontrollera dina svar",instructions:"Efter att du granskat dina svar kan du ännu gå tillbaka och redigera svaren eller avsluta provet."},undo:{loading:"Laddar...",close:"Stäng",restoreAnswer:"Återställ",answerNoText:"ingen text",answerWordCount:"{{count}} ord",answerWordCount_plural:"{{count}} ord",answerCharacterCount:"{{count}} tecken",answerCharacterCount_plural:"{{count}} tecken",answerImageCount:"{{count}} bild",answerImageCount_plural:"{{count}} bilder",minutesSinceAnswer:"{{ minutes }} min sedan",latestVersion:"Den senaste versionen"},examineExam:{returnToExam:"Återvänd till provutförandet",checkYourAnswersTitle:"Kontrollera dina svar",hereAreYourAnswers:"Du ser här dina svar på samma sätt som de som bedömer proven kommer att se dem.",checkYourAnswers:"Kontrollera att du kan se alla de svar som du vill lämna in till bedömning.",removeExcessAnswers:"Om du ser svar som du inte vill lämna in till bedömning bör du gå tillbaka till provet och avlägsna dem.",emptyAnswersAreHighlighted:"Tomma svarsfält har markerats.",thereMayBeOptionalQuestions:"Det kan finnas valbara uppgifter i provet, och därmed innebär ett tomt svarsfält inte alltid att något är fel.",questionHasNoAnswer:"Denna fråga har inte besvarats",endExamTitle:"Avsluta provet",afterInspectingYourAnswers:"När du har kontrollerat dina svar kan du avsluta provet genom att klicka på knappen nedan.",youCanNotReturnToExam:"Efter att du klickat på knappen kan du inte längre gå tillbaka till provet.",thankYouTitle:"Tack!",shutdownComputer:"Stäng nu av datorn.",returnUsbStick:"När datorn har är avstängd, ta bort USB-minnet och ge det till provets övervakare."},"toc-heading":"Innehåll","answer-saved":"Sparad","too-many-answers":"Svar på för många uppgifter:","max-answers-warning":"Besvara högst {{count}} uppgift.","max-answers-warning_plural":"Besvara högst {{count}} uppgifter.","open-writing-mode":"Öppna skrivvyn","close-writing-mode":"Minska vyn","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]"}},qr=_r(Yr,["exam-total","material","external-material-title","section","references","toc-heading"]),Vr={"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","non-answer-not-graded":"Jätetty arvostelematta","loading-images":"Odota, kuvia ladataan..."},references:{heading:"Lähteet",source:"Lähde:",date:"Julkaistu:","reference-date":"Viitattu:",translator:"Käännös:","modified-by":"Muokkaus:"},cas:{examineSectionA:"Voit käydä tarkastelemassa A-osan vastauksiasi nyt.",cannotEditLater:"Palautettuasi A-osan et voi enää muokata A-osan vastauksia.",youCanReturn:"Tarkastelun jälkeen voit palata kokeeseen jatkamaan tehtäviin vastaamista.",forbidden:{infoText:"Saat estetyt laskinohjelmat käyttöösi 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"}},"examine-exam":{examine:"Siirry tarkastelemaan vastauksiasi",instructions:"Tarkastelun jälkeen voit vielä palata muokkaamaan vastauksia, tai päättää kokeen."},undo:{loading:"Ladataan...",close:"Sulje",restoreAnswer:"Palauta",answerNoText:"ei tekstiä",answerWordCount:"{{count}} sana",answerWordCount_plural:"{{count}} sanaa",answerCharacterCount:"{{count}} merkki",answerCharacterCount_plural:"{{count}} merkkiä",answerImageCount:"{{count}} kuva",answerImageCount_plural:"{{count}} kuvaa",minutesSinceAnswer:"{{ minutes }} min sitten",latestVersion:"Viimeisin versio"},examineExam:{returnToExam:"Palaa suorittamaan koetta",checkYourAnswersTitle:"Tarkista vastauksesi",hereAreYourAnswers:"Näet tässä vastauksesi samanlaisina kuin kokeen arvostelijat tulevat ne näkemään.",checkYourAnswers:"Tarkista, että näet alla kaikki vastaukset, jotka haluat jättää arvosteltavaksi.",removeExcessAnswers:"Jos näet vastauksia, joita et halua jättää arvosteltavaksi, palaa kokeeseen ja poista ne.",emptyAnswersAreHighlighted:"Tyhjät vastaukset on korostettu.",thereMayBeOptionalQuestions:"Kokeessa voi olla valinnaisia tehtäviä, joten tyhjä vastaus ei välttämättä tarkoita virhettä.",questionHasNoAnswer:"Tähän kysymykseen ei ole vastattu",endExamTitle:"Päätä koe",afterInspectingYourAnswers:"Kun olet tarkistanut vastauksesi, päätä koe klikkaamalla alla olevaa nappia.",youCanNotReturnToExam:"Napin klikkaamisen jälkeen et voi enää palata kokeeseen.",thankYouTitle:"Kiitos!",shutdownComputer:"Sammuta vielä tietokoneesi.",returnUsbStick:"Kun kone on sammunut, irrota USB-muisti ja palauta se kokeen valvojalle."},"toc-heading":"Sisällys","answer-saved":"Tallennettu","too-many-answers":"Vastattu liian moneen tehtävään:","max-answers-warning":"Vastaa enintään {{count}} tehtävään.","open-writing-mode":"Avaa kirjoitusnäkymä","close-writing-mode":"Pienennä näkymä","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]"}},Wr=_r(Vr,["exam-total","material","external-material-title","section","references","toc-heading"]),Qr={"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"},Jr={"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"},Xr={section:""},Kr={"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"},$r={"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"},ei={"exam-total":"Весь экзамен",material:"Материал","external-material-title":"Материал",section:"Часть {{displayNumber}}:",references:{heading:"Источники",source:"Источник",date:"Опубликовано","reference-date":"Дата обращения",translator:"Перевод","modified-by":"Адаптировано"},"toc-heading":"Содержание"},ti={A_E:{"external-material-title":"Aineistot","answering-instructions":{"toc-section_*_1_1":"Valitse yksi aihe.","section_*_1_1":"Valitse yksi aihe."}},BA:qr,BB:qr,CA:Wr,CB:Wr,EA:Qr,EC:Qr,FA:Jr,FC:Jr,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:Xr,N:Xr,O_E:{"answering-instructions":{"toc-section_*_1_1":"Välj ett ämne.","section_*_1_1":"Välj ett ämne."}},SA:$r,SC:$r,PA:Kr,PC:Kr,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:ei,VC:ei,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"}},ni={"fi-FI":{translation:Vr,...ti},"sv-FI":{translation:Yr,...ti}};function ri(e,t,n){const r=t?t+(n?`_${n}`:""):"translation";return Mr.use({type:"postProcessor",name:"lowercase",process:(e,t,n)=>e.toLocaleLowerCase(n.lng)}).createInstance({compatibilityJSON:"v3",resources:ni,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 Cr(n);case"last":return Er(n);default:return e}}}},Nr)}function ii(){const{i18n:n,t:i}=function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{i18n:i}=n,{i18n:o,defaultNS:a}=(0,e.useContext)(h)||{},c=i||o||f;if(c&&!c.reportNamespaces&&(c.reportNamespaces=new m),!c){r("You will need to pass in an i18next instance by using initReactI18next");const e=(e,t)=>"string"==typeof t?t:t&&"object"==typeof t&&"string"==typeof t.defaultValue?t.defaultValue:Array.isArray(e)?e[e.length-1]:e,t=[e,{},!1];return t.t=e,t.i18n={},t.ready=!1,t}c.options.react&&void 0!==c.options.react.wait&&r("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const u={...p,...c.options.react,...n},{useSuspense:d,keyPrefix:v}=u;let b=t||a||c.options&&c.options.defaultNS;b="string"==typeof b?[b]:b||["translation"],c.reportNamespaces.addUsedNamespaces&&c.reportNamespaces.addUsedNamespaces(b);const I=(c.isInitialized||c.initializedStoreOnce)&&b.every((e=>function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.languages&&t.languages.length?void 0!==t.options.ignoreJSONStructure?t.hasLoadedNamespace(e,{lng:n.lng,precheck:(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){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=t.languages[0],i=!!t.options&&t.options.fallbackLng,o=t.languages[t.languages.length-1];if("cimode"===r.toLowerCase())return!0;const a=(e,n)=>{const r=t.services.backendConnector.state[`${e}|${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):(r("i18n.languages were undefined or empty",t.languages),!0)}(e,c,u))),x=function(t,n,r,i){return(0,e.useCallback)(y(t,n,r,i),[t,n,r,i])}(c,n.lng||null,"fallback"===u.nsMode?b:b[0],v),w=()=>x,A=()=>y(c,n.lng||null,"fallback"===u.nsMode?b:b[0],v),[T,M]=(0,e.useState)(w);let C=b.join();n.lng&&(C=`${n.lng}${C}`);const E=g(C),N=(0,e.useRef)(!0);(0,e.useEffect)((()=>{const{bindI18n:e,bindI18nStore:t}=u;function r(){N.current&&M(A)}return N.current=!0,I||d||(n.lng?l(c,n.lng,b,(()=>{N.current&&M(A)})):s(c,b,(()=>{N.current&&M(A)}))),I&&E&&E!==C&&N.current&&M(A),e&&c&&c.on(e,r),t&&c&&c.store.on(t,r),()=>{N.current=!1,e&&c&&e.split(" ").forEach((e=>c.off(e,r))),t&&c&&t.split(" ").forEach((e=>c.store.off(e,r)))}}),[c,C]),(0,e.useEffect)((()=>{N.current&&I&&M(w)}),[c,v,I]);const S=[T,c,I];if(S.t=T,S.i18n=c,S.ready=I,I)return S;if(!I&&!d)return S;throw new Promise((e=>{n.lng?l(c,n.lng,b,(()=>e())):s(c,b,(()=>e()))}))}(),o=(e,r)=>function(e,n,r){const i=e.t(n,r),o=e.options.defaultNS.toString(),a="translation"!==o&&o in ti,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)}(n,e,r);return o.raw=i,{i18n:n,t:o}}const oi=(e,t)=>()=>{e.language!==t&&e.changeLanguage(t).then(Nr).catch(Nr)},ai=new WeakMap;let si=0;const li=e=>t=>`${e}-${(e=>{const t=ai.get(e);if(null!=t)return t;const n=++si;return ai.set(e,n),n})(t)}`,ci=e=>t=>`${e}-${t}`,ui="title",di="references-title",fi=ci("section-title"),pi=ci("question-title"),hi=li("question-instruction"),mi=li("answer-length-info"),gi=li("external-material-list-title"),yi=ci("toc-section-title"),vi=li("answer-score"),bi=li("image-caption"),Ii=li("video-caption"),xi=li("audio-label"),wi="toc-title";function Ai(){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",Ai),()=>window.removeEventListener("hashchange",Ai)}function Ti(t){return(0,e.useState)(t)[0]}function Mi(e,t){const n=new URL(e,"http://example.com");Ie(t,((e,t)=>n[t]=e));const r=n.pathname+n.search+n.hash;return e.startsWith("/")?r:r.substr(1)}const Ci=({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 Ei(e){return e.displayName||e.name||"Component"}const Ni=(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(${Ei(r)})`,i},Si=t().createContext({});function ki(e){return Ni(Si,(({attachmentsURL:e,resolveAttachment:t,doc:n,abitti2:r})=>{const i=n.documentElement,o=Se(i,"date"),a=Se(i,"exam-lang"),s=Se(i,"lang")||a;return{attachmentsURL:e,date:o?new Date(o):void 0,dateTimeFormatter:new Intl.DateTimeFormat("fi-FI",{timeZone:"UTC"}),dayCode:Se(i,"day-code"),examCode:Se(i,"exam-code"),language:a,subjectLanguage:s,maxAnswers:ke(i,"max-answers"),maxScore:ke(i,"max-score"),sections:Ce(i,"section"),resolveAttachment:t,abitti2:r||!1,root:i}}))(e)}const ji=n=>t().memo((({element:r})=>{const i=r.getAttribute("ref"),{root:o}=(0,e.useContext)(Si),{attachmentsURL:a}=(0,e.useContext)(Si),{t:s}=ii(),l=Me(o,(e=>"attachment"===e.localName&&e.getAttribute("name")===i)).getAttribute("display-number"),c="short"===r.getAttribute("type"),u=Mi(a,{hash:l});return c?t().createElement(Ci,{href:u,type:n},l):t().createElement(t().Fragment,null,"(",t().createElement(Ci,{href:u,type:n},s("material",{postProcess:"lowercase"})," ",l),")")})),Di=n=>t().memo((({element:r})=>{const{root:i,attachmentsURL:o}=(0,e.useContext)(Si),{t:a}=ii(),s=De(r,(e=>{const t=e.getAttribute("ref");return Me(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=Mi(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(Ci,{href:u,type:n},d):t().createElement(t().Fragment,null,"(",t().createElement(Ci,{href:u,type:n},a("material",{count:f,postProcess:"lowercase"})," ",d),")")})),Li=t().createContext({}),Oi=Ni(Li,(({element:e})=>{const t=null!=Ee(e,"external-material"),n=e.getAttribute("name");return t?{displayNumber:e.getAttribute("display-number"),isExternal:t,name:n}:{displayNumber:null,isExternal:t,name:n}})),Ri=t().memo(Oi((function({element:n,renderChildNodes:r}){const{displayNumber:i,isExternal:o}=(0,e.useContext)(Li);return o?t().createElement("div",{id:i,className:"attachments-attachment e-mrg-0 e-mrg-t-8","data-annotation-anchor":i},r(n)):null}))),Pi=t().memo((function({element:n,renderChildNodes:r}){const{displayNumber:i}=(0,e.useContext)(Li);return t().createElement("h3",null,i,we,r(n))}));var zi=o(3373),Ui=o.n(zi),Bi=o(5919),Gi=e,Zi=Symbol.for("react-redux-context"),Fi="undefined"!=typeof globalThis?globalThis:{};function Hi(){if(!Gi.createContext)return{};const e=Fi[Zi]??(Fi[Zi]=new Map);let t=e.get(Gi.createContext);return t||(t=Gi.createContext(null),e.set(Gi.createContext,t)),t}var _i=Hi();function Yi(e=_i){return function(){return Gi.useContext(e)}}var qi=Yi(),Vi=()=>{throw new Error("uSES not initialized!")},Wi=(e,t)=>e===t;function Qi(e=_i){const t=e===_i?qi:Yi(e),n=(e,n={})=>{const{equalityFn:r=Wi,devModeChecks:i={}}="function"==typeof n?{equalityFn:n}:n,{store:o,subscription:a,getServerState:s,stabilityCheck:l,identityFunctionCheck:c}=t(),u=(Gi.useRef(!0),Gi.useCallback({[e.name]:t=>e(t)}[e.name],[e,l,i.stabilityCheck])),d=Vi(a.addNestedSub,o.getState,s||o.getState,u,r);return Gi.useDebugValue(d),d};return Object.assign(n,{withTypes:()=>n}),n}var Ji=Qi();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.client.reference");var Xi={notify(){},get:()=>[]};var Ki=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),$i="undefined"!=typeof navigator&&"ReactNative"===navigator.product,eo=Ki||$i?Gi.useLayoutEffect:Gi.useEffect;function to(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function no(e,t){if(to(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])||!to(e[n[r]],t[n[r]]))return!1;return!0}Object.defineProperty,Object.getOwnPropertyNames,Object.getOwnPropertySymbols,Object.getOwnPropertyDescriptor,Object.getPrototypeOf,Object.prototype;var ro=function({store:e,context:t,children:n,serverState:r,stabilityCheck:i="once",identityFunctionCheck:o="once"}){const a=Gi.useMemo((()=>{const t=function(e,t){let n,r=Xi,i=0,o=!1;function a(){c.onStateChange&&c.onStateChange()}function s(){i++,n||(n=t?t.addNestedSub(a):e.subscribe(a),r=function(){let e=null,t=null;return{clear(){e=null,t=null},notify(){(()=>{let t=e;for(;t;)t.callback(),t=t.next})()},get(){const t=[];let n=e;for(;n;)t.push(n),n=n.next;return t},subscribe(n){let r=!0;const i=t={callback:n,next:null,prev:t};return i.prev?i.prev.next=i:e=i,function(){r&&null!==e&&(r=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}())}function l(){i--,n&&0===i&&(n(),n=void 0,r.clear(),r=Xi)}const c={addNestedSub:function(e){s();const t=r.subscribe(e);let n=!1;return()=>{n||(n=!0,t(),l())}},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:a,isSubscribed:function(){return o},trySubscribe:function(){o||(o=!0,s())},tryUnsubscribe:function(){o&&(o=!1,l())},getListeners:()=>r};return c}(e);return{store:e,subscription:t,getServerState:r?()=>r:void 0,stabilityCheck:i,identityFunctionCheck:o}}),[e,r,i,o]),s=Gi.useMemo((()=>e.getState()),[e]);eo((()=>{const{subscription:t}=a;return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),s!==e.getState()&&t.notifyNestedSubs(),()=>{t.tryUnsubscribe(),t.onStateChange=void 0}}),[a,s]);const l=t||_i;return Gi.createElement(l.Provider,{value:a},n)};function io(e=_i){const t=e===_i?qi:Yi(e),n=()=>{const{store:e}=t();return e};return Object.assign(n,{withTypes:()=>n}),n}var oo=io();function ao(e=_i){const t=e===_i?oo:io(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var so,lo=ao();so=Bi.useSyncExternalStoreWithSelector,Vi=so,e.useSyncExternalStore;const co=(e,t)=>n=>{const{nowPlaying:r}=n.audio;return null==r?"stopped":r.audio.restrictedAudioId===t&&r.audio.src===e?"playing":"other-playing"},uo=(e,t)=>n=>n.audio.errors[null!=t?t:e],fo=e=>t=>Tn(t.audio.playbackTimes,e,0),po=(e,t)=>n=>t-fo(e)(n),ho=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 mo={prefix:"fas",iconName:"down-left-and-up-right-to-center",icon:[512,512,["compress-alt"],"f422","M439 7c9.4-9.4 24.6-9.4 33.9 0l32 32c9.4 9.4 9.4 24.6 0 33.9l-87 87 39 39c6.9 6.9 8.9 17.2 5.2 26.2s-12.5 14.8-22.2 14.8H296c-13.3 0-24-10.7-24-24V72c0-9.7 5.8-18.5 14.8-22.2s19.3-1.7 26.2 5.2l39 39L439 7zM72 272H216c13.3 0 24 10.7 24 24V440c0 9.7-5.8 18.5-14.8 22.2s-19.3 1.7-26.2-5.2l-39-39L73 505c-9.4 9.4-24.6 9.4-33.9 0L7 473c-9.4-9.4-9.4-24.6 0-33.9l87-87L55 313c-6.9-6.9-8.9-17.2-5.2-26.2s12.5-14.8 22.2-14.8z"]},go={prefix:"fas",iconName:"eye-slash",icon:[640,512,[],"f070","M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zM223.1 149.5C248.6 126.2 282.7 112 320 112c79.5 0 144 64.5 144 144c0 24.9-6.3 48.3-17.4 68.7L408 294.5c8.4-19.3 10.6-41.4 4.8-63.3c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zM373 389.9c-16.4 6.5-34.3 10.1-53 10.1c-79.5 0-144-64.5-144-144c0-6.9 .5-13.6 1.4-20.2L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5L373 389.9z"]},yo={prefix:"fas",iconName:"chevron-up",icon:[512,512,[],"f077","M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z"]},vo={prefix:"fas",iconName:"image",icon:[512,512,[],"f03e","M0 96C0 60.7 28.7 32 64 32H448c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zM323.8 202.5c-4.5-6.6-11.9-10.5-19.8-10.5s-15.4 3.9-19.8 10.5l-87 127.6L170.7 297c-4.6-5.7-11.5-9-18.7-9s-14.2 3.3-18.7 9l-64 80c-5.8 7.2-6.9 17.1-2.9 25.4s12.4 13.6 21.6 13.6h96 32H424c8.9 0 17.1-4.9 21.2-12.8s3.6-17.4-1.4-24.7l-120-176zM112 192a48 48 0 1 0 0-96 48 48 0 1 0 0 96z"]},bo={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z"]},Io={prefix:"fas",iconName:"paperclip",icon:[448,512,[128206],"f0c6","M364.2 83.8c-24.4-24.4-64-24.4-88.4 0l-184 184c-42.1 42.1-42.1 110.3 0 152.4s110.3 42.1 152.4 0l152-152c10.9-10.9 28.7-10.9 39.6 0s10.9 28.7 0 39.6l-152 152c-64 64-167.6 64-231.6 0s-64-167.6 0-231.6l184-184c46.3-46.3 121.3-46.3 167.6 0s46.3 121.3 0 167.6l-176 176c-28.6 28.6-75 28.6-103.6 0s-28.6-75 0-103.6l144-144c10.9-10.9 28.7-10.9 39.6 0s10.9 28.7 0 39.6l-144 144c-6.7 6.7-6.7 17.7 0 24.4s17.7 6.7 24.4 0l176-176c24.4-24.4 24.4-64 0-88.4z"]},xo={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},wo={prefix:"fas",iconName:"play",icon:[384,512,[9654],"f04b","M73 39c-14.8-9.1-33.4-9.4-48.5-.9S0 62.6 0 80V432c0 17.4 9.4 33.4 24.5 41.9s33.7 8.1 48.5-.9L361 297c14.3-8.7 23-24.2 23-41s-8.7-32.2-23-41L73 39z"]},Ao={prefix:"fas",iconName:"chevron-down",icon:[512,512,[],"f078","M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]},To={prefix:"fas",iconName:"up-right-and-down-left-from-center",icon:[512,512,["expand-alt"],"f424","M344 0H488c13.3 0 24 10.7 24 24V168c0 9.7-5.8 18.5-14.8 22.2s-19.3 1.7-26.2-5.2l-39-39-87 87c-9.4 9.4-24.6 9.4-33.9 0l-32-32c-9.4-9.4-9.4-24.6 0-33.9l87-87L327 41c-6.9-6.9-8.9-17.2-5.2-26.2S334.3 0 344 0zM168 512H24c-13.3 0-24-10.7-24-24V344c0-9.7 5.8-18.5 14.8-22.2s19.3-1.7 26.2 5.2l39 39 87-87c9.4-9.4 24.6-9.4 33.9 0l32 32c9.4 9.4 9.4 24.6 0 33.9l-87 87 39 39c6.9 6.9 8.9 17.2 5.2 26.2s-12.5 14.8-22.2 14.8z"]},Mo={prefix:"fas",iconName:"triangle-exclamation",icon:[512,512,[9888,"exclamation-triangle","warning"],"f071","M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480H40c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24V296c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]};function Co(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 Eo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Co(Object(n),!0).forEach((function(t){ko(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Co(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function No(e){return No="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},No(e)}function So(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ko(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jo(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||Lo(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Do(e){return function(e){if(Array.isArray(e))return Oo(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Lo(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 Lo(e,t){if(e){if("string"==typeof e)return Oo(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)?Oo(e,t):void 0}}function Oo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Ro=function(){},Po={},zo={},Uo=null,Bo={mark:Ro,measure:Ro};try{"undefined"!=typeof window&&(Po=window),"undefined"!=typeof document&&(zo=document),"undefined"!=typeof MutationObserver&&(Uo=MutationObserver),"undefined"!=typeof performance&&(Bo=performance)}catch(Am){}var Go,Zo,Fo,Ho,_o,Yo=(Po.navigator||{}).userAgent,qo=void 0===Yo?"":Yo,Vo=Po,Wo=zo,Qo=Uo,Jo=Bo,Xo=(Vo.document,!!Wo.documentElement&&!!Wo.head&&"function"==typeof Wo.addEventListener&&"function"==typeof Wo.createElement),Ko=~qo.indexOf("MSIE")||~qo.indexOf("Trident/"),$o="___FONT_AWESOME___",ea="fa",ta="svg-inline--fa",na="data-fa-i2svg",ra="data-fa-pseudo-element",ia="data-fa-pseudo-element-pending",oa="data-prefix",aa="data-icon",sa="fontawesome-i2svg",la="async",ca=["HTML","HEAD","STYLE","SCRIPT"],ua=function(){try{return!0}catch(e){return!1}}(),da="classic",fa="sharp",pa=[da,fa];function ha(e){return new Proxy(e,{get:function(e,t){return t in e?e[t]:e[da]}})}var ma=ha((ko(Go={},da,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit",fakd:"kit","fa-kit":"kit","fa-kit-duotone":"kit"}),ko(Go,fa,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"}),Go)),ga=ha((ko(Zo={},da,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),ko(Zo,fa,{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"}),Zo)),ya=ha((ko(Fo={},da,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),ko(Fo,fa,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"}),Fo)),va=ha((ko(Ho={},da,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),ko(Ho,fa,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"}),Ho)),ba=/fa(s|r|l|t|d|b|k|ss|sr|sl|st)?[\-\ ]/,Ia="fa-layers-text",xa=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,wa=ha((ko(_o={},da,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),ko(_o,fa,{900:"fass",400:"fasr",300:"fasl",100:"fast"}),_o)),Aa=[1,2,3,4,5,6,7,8,9,10],Ta=Aa.concat([11,12,13,14,15,16,17,18,19,20]),Ma=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Ca={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Ea=new Set;Object.keys(ga[da]).map(Ea.add.bind(Ea)),Object.keys(ga[fa]).map(Ea.add.bind(Ea));var Na=[].concat(pa,Do(Ea),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",Ca.GROUP,Ca.SWAP_OPACITY,Ca.PRIMARY,Ca.SECONDARY]).concat(Aa.map((function(e){return"".concat(e,"x")}))).concat(Ta.map((function(e){return"w-".concat(e)}))),Sa=Vo.FontAwesomeConfig||{};Wo&&"function"==typeof Wo.querySelector&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["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=jo(e,2),n=t[0],r=t[1],i=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=Wo.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=i&&(Sa[r]=i)}));var ka={styleDefault:"solid",familyDefault:"classic",cssPrefix:ea,replacementClass:ta,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Sa.familyPrefix&&(Sa.cssPrefix=Sa.familyPrefix);var ja=Eo(Eo({},ka),Sa);ja.autoReplaceSvg||(ja.observeMutations=!1);var Da={};Object.keys(ka).forEach((function(e){Object.defineProperty(Da,e,{enumerable:!0,set:function(t){ja[e]=t,La.forEach((function(e){return e(Da)}))},get:function(){return ja[e]}})})),Object.defineProperty(Da,"familyPrefix",{enumerable:!0,set:function(e){ja.cssPrefix=e,La.forEach((function(e){return e(Da)}))},get:function(){return ja.cssPrefix}}),Vo.FontAwesomeConfig=Da;var La=[],Oa=16,Ra={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1},Pa="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function za(){for(var e=12,t="";e-- >0;)t+=Pa[62*Math.random()|0];return t}function Ua(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function Ba(e){return e.classList?Ua(e.classList):(e.getAttribute("class")||"").split(" ").filter((function(e){return e}))}function Ga(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Za(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")}),"")}function Fa(e){return e.size!==Ra.size||e.x!==Ra.x||e.y!==Ra.y||e.rotate!==Ra.rotate||e.flipX||e.flipY}var Ha=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-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-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\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-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: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\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-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\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: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\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@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 -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, 0));\n transform: rotate(var(--fa-rotate-angle, 0));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\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 z-index: var(--fa-stack-z-index, auto);\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: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\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.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';function _a(){var e=ea,t=ta,n=Da.cssPrefix,r=Da.replacementClass,i=Ha;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}var Ya=!1;function qa(){Da.autoAddCss&&!Ya&&(function(e){if(e&&Xo){var t=Wo.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=Wo.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)}Wo.head.insertBefore(t,r)}}(_a()),Ya=!0)}var Va={mixout:function(){return{dom:{css:_a,insertCss:qa}}},hooks:function(){return{beforeDOMElementCreation:function(){qa()},beforeI2svg:function(){qa()}}}},Wa=Vo||{};Wa[$o]||(Wa[$o]={}),Wa[$o].styles||(Wa[$o].styles={}),Wa[$o].hooks||(Wa[$o].hooks={}),Wa[$o].shims||(Wa[$o].shims=[]);var Qa=Wa[$o],Ja=[],Xa=!1;function Ka(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?Ga(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(Ga(e[n]),'" ')}),"").trim()}(r),">").concat(o.map(Ka).join(""),"</").concat(t,">")}function $a(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}Xo&&((Xa=(Wo.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Wo.readyState))||Wo.addEventListener("DOMContentLoaded",(function e(){Wo.removeEventListener("DOMContentLoaded",e),Xa=1,Ja.map((function(e){return e()}))})));var es=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 ts(e){var t=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var o=e.charCodeAt(n++);56320==(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),n--)}else t.push(i)}return t}(e);return 1===t.length?t[0].toString(16):null}function ns(e){return Object.keys(e).reduce((function(t,n){var r=e[n];return r.icon?t[r.iconName]=r.icon:t[n]=r,t}),{})}function rs(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,r=void 0!==n&&n,i=ns(t);"function"!=typeof Qa.hooks.addPack||r?Qa.styles[e]=Eo(Eo({},Qa.styles[e]||{}),i):Qa.hooks.addPack(e,ns(t)),"fas"===e&&rs("fa",t)}var is,os,as,ss=Qa.styles,ls=Qa.shims,cs=(ko(is={},da,Object.values(ya[da])),ko(is,fa,Object.values(ya[fa])),is),us=null,ds={},fs={},ps={},hs={},ms={},gs=(ko(os={},da,Object.keys(ma[da])),ko(os,fa,Object.keys(ma[fa])),os);var ys,vs=function(){var e=function(e){return es(ss,(function(t,n,r){return t[r]=es(n,e,{}),t}),{})};ds=e((function(e,t,n){(t[3]&&(e[t[3]]=n),t[2])&&t[2].filter((function(e){return"number"==typeof e})).forEach((function(t){e[t.toString(16)]=n}));return e})),fs=e((function(e,t,n){(e[n]=n,t[2])&&t[2].filter((function(e){return"string"==typeof e})).forEach((function(t){e[t]=n}));return e})),ms=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 ss||Da.autoFetchSvg,n=es(ls,(function(e,n){var r=n[0],i=n[1],o=n[2];return"far"!==i||t||(i="fas"),"string"==typeof r&&(e.names[r]={prefix:i,iconName:o}),"number"==typeof r&&(e.unicodes[r.toString(16)]={prefix:i,iconName:o}),e}),{names:{},unicodes:{}});ps=n.names,hs=n.unicodes,us=Ts(Da.styleDefault,{family:Da.familyDefault})};function bs(e,t){return(ds[e]||{})[t]}function Is(e,t){return(ms[e]||{})[t]}function xs(e){return ps[e]||{prefix:null,iconName:null}}function ws(){return us}ys=function(e){us=Ts(e.styleDefault,{family:Da.familyDefault})},La.push(ys),vs();var As=function(){return{prefix:null,iconName:null,rest:[]}};function Ts(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,n=void 0===t?da:t,r=ma[n][e],i=ga[n][e]||ga[n][r],o=e in Qa.styles?e:null;return i||o||null}var Ms=(ko(as={},da,Object.keys(ya[da])),ko(as,fa,Object.keys(ya[fa])),as);function Cs(e){var t,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,r=void 0!==n&&n,i=(ko(t={},da,"".concat(Da.cssPrefix,"-").concat(da)),ko(t,fa,"".concat(Da.cssPrefix,"-").concat(fa)),t),o=null,a=da;(e.includes(i[da])||e.some((function(e){return Ms[da].includes(e)})))&&(a=da),(e.includes(i[fa])||e.some((function(e){return Ms[fa].includes(e)})))&&(a=fa);var s=e.reduce((function(e,t){var n=function(e,t){var n,r=t.split("-"),i=r[0],o=r.slice(1).join("-");return i!==e||""===o||(n=o,~Na.indexOf(n))?null:o}(Da.cssPrefix,t);if(ss[t]?(t=cs[a].includes(t)?va[a][t]:t,o=t,e.prefix=t):gs[a].indexOf(t)>-1?(o=t,e.prefix=Ts(t,{family:a})):n?e.iconName=n:t!==Da.replacementClass&&t!==i[da]&&t!==i[fa]&&e.rest.push(t),!r&&e.prefix&&e.iconName){var s="fa"===o?xs(e.iconName):{},l=Is(e.prefix,e.iconName);s.prefix&&(o=null),e.iconName=s.iconName||l||e.iconName,e.prefix=s.prefix||e.prefix,"far"!==e.prefix||ss.far||!ss.fas||Da.autoFetchSvg||(e.prefix="fas")}return e}),As());return(e.includes("fa-brands")||e.includes("fab"))&&(s.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(s.prefix="fad"),s.prefix||a!==fa||!ss.fass&&!Da.autoFetchSvg||(s.prefix="fass",s.iconName=Is(s.prefix,s.iconName)||s.iconName),"fa"!==s.prefix&&"fa"!==o||(s.prefix=ws()||"fas"),s}var Es=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]=Eo(Eo({},e.definitions[t]||{}),i[t]),rs(t,i[t]);var n=ya[da][t];n&&rs(n,i[t]),vs()}))}},{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,s=a[2];e[i]||(e[i]={}),s.length>0&&s.forEach((function(t){"string"==typeof t&&(e[i][t]=a)})),e[i][o]=a})),e}}],n&&So(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),Ns=[],Ss={},ks={},js=Object.keys(ks);function Ds(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(Ss[e]||[]).forEach((function(e){t=e.apply(null,[t].concat(r))})),t}function Ls(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];(Ss[e]||[]).forEach((function(e){e.apply(null,n)}))}function Os(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return ks[e]?ks[e].apply(null,t):void 0}function Rs(e){"fa"===e.prefix&&(e.prefix="fas");var t=e.iconName,n=e.prefix||ws();if(t)return t=Is(n,t)||t,$a(Ps.definitions,n,t)||$a(Qa.styles,n,t)}var Ps=new Es,zs={i2svg:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Xo?(Ls("beforeI2svg",e),Os("pseudoElements2svg",e),Os("i2svg",e)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.autoReplaceSvgRoot;!1===Da.autoReplaceSvg&&(Da.autoReplaceSvg=!0),Da.observeMutations=!0,function(e){Xo&&(Xa?setTimeout(e,0):Ja.push(e))}((function(){Bs({autoReplaceSvgRoot:t}),Ls("watch",e)}))}},Us={noAuto:function(){Da.autoReplaceSvg=!1,Da.observeMutations=!1,Ls("noAuto")},config:Da,dom:zs,parse:{icon:function(e){if(null===e)return null;if("object"===No(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:Is(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){var t=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],n=Ts(e[0]);return{prefix:n,iconName:Is(n,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(Da.cssPrefix,"-"))>-1||e.match(ba))){var r=Cs(e.split(" "),{skipLookups:!0});return{prefix:r.prefix||ws(),iconName:Is(r.prefix,r.iconName)||r.iconName}}if("string"==typeof e){var i=ws();return{prefix:i,iconName:Is(i,e)||e}}}},library:Ps,findIconDefinition:Rs,toHtml:Ka},Bs=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,t=void 0===e?Wo:e;(Object.keys(Qa.styles).length>0||Da.autoFetchSvg)&&Xo&&Da.autoReplaceSvg&&Us.dom.i2svg({node:t})};function Gs(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return Ka(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(Xo){var t=Wo.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function Zs(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,m=h.width,g=h.height,y="fak"===i,v=[Da.replacementClass,o?"".concat(Da.cssPrefix,"-").concat(o):""].filter((function(e){return-1===d.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(d.classes).join(" "),b={children:[],attributes:Eo(Eo({},d.attributes),{},{"data-prefix":i,"data-icon":o,class:v,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(m," ").concat(g)})},I=y&&!~d.classes.indexOf("fa-fw")?{width:"".concat(m/g*16*.0625,"em")}:{};p&&(b.attributes[na]=""),l&&(b.children.push({tag:"title",attributes:{id:b.attributes["aria-labelledby"]||"title-".concat(u||za())},children:[l]}),delete b.attributes.title);var x=Eo(Eo({},b),{},{prefix:i,iconName:o,main:n,mask:r,maskId:c,transform:a,symbol:s,styles:Eo(Eo({},I),d.styles)}),w=r.found&&n.found?Os("generateAbstractMask",x)||{children:[],attributes:{}}:Os("generateAbstractIcon",x)||{children:[],attributes:{}},A=w.children,T=w.attributes;return x.children=A,x.attributes=T,s?function(e){var t=e.prefix,n=e.iconName,r=e.children,i=e.attributes,o=e.symbol,a=!0===o?"".concat(t,"-").concat(Da.cssPrefix,"-").concat(n):o;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Eo(Eo({},i),{},{id:a}),children:r}]}]}(x):function(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,o=e.styles,a=e.transform;if(Fa(a)&&n.found&&!r.found){var s={x:n.width/n.height/2,y:.5};i.style=Za(Eo(Eo({},o),{},{"transform-origin":"".concat(s.x+a.x/16,"em ").concat(s.y+a.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}(x)}function Fs(e){var t=e.content,n=e.width,r=e.height,i=e.transform,o=e.title,a=e.extra,s=e.watchable,l=void 0!==s&&s,c=Eo(Eo(Eo({},a.attributes),o?{title:o}:{}),{},{class:a.classes.join(" ")});l&&(c[na]="");var u=Eo({},a.styles);Fa(i)&&(u.transform=function(e){var t=e.transform,n=e.width,r=void 0===n?16:n,i=e.height,o=void 0===i?16:i,a=e.startCentered,s=void 0!==a&&a,l="";return l+=s&&Ko?"translate(".concat(t.x/Oa-r/2,"em, ").concat(t.y/Oa-o/2,"em) "):s?"translate(calc(-50% + ".concat(t.x/Oa,"em), calc(-50% + ").concat(t.y/Oa,"em)) "):"translate(".concat(t.x/Oa,"em, ").concat(t.y/Oa,"em) "),(l+="scale(".concat(t.size/Oa*(t.flipX?-1:1),", ").concat(t.size/Oa*(t.flipY?-1:1),") "))+"rotate(".concat(t.rotate,"deg) ")}({transform:i,startCentered:!0,width:n,height:r}),u["-webkit-transform"]=u.transform);var d=Za(u);d.length>0&&(c.style=d);var f=[];return f.push({tag:"span",attributes:c,children:[t]}),o&&f.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),f}var Hs=Qa.styles;function _s(e){var t=e[0],n=e[1],r=jo(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(Da.cssPrefix,"-").concat(Ca.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Da.cssPrefix,"-").concat(Ca.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(Da.cssPrefix,"-").concat(Ca.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}var Ys={found:!1,width:512,height:512};function qs(e,t){var n=t;return"fa"===t&&null!==Da.styleDefault&&(t=ws()),new Promise((function(r,i){if(Os("missingIconAbstract"),"fa"===n){var o=xs(e)||{};e=o.iconName||e,t=o.prefix||t}if(e&&t&&Hs[t]&&Hs[t][e])return r(_s(Hs[t][e]));!function(e,t){ua||Da.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),r(Eo(Eo({},Ys),{},{icon:Da.showMissingIcons&&e&&Os("missingIconAbstract")||{}}))}))}var Vs=function(){},Ws=Da.measurePerformance&&Jo&&Jo.mark&&Jo.measure?Jo:{mark:Vs,measure:Vs},Qs='FA "6.5.2"',Js=function(e){Ws.mark("".concat(Qs," ").concat(e," ends")),Ws.measure("".concat(Qs," ").concat(e),"".concat(Qs," ").concat(e," begins"),"".concat(Qs," ").concat(e," ends"))},Xs={begin:function(e){return Ws.mark("".concat(Qs," ").concat(e," begins")),function(){return Js(e)}},end:Js},Ks=function(){};function $s(e){return"string"==typeof(e.getAttribute?e.getAttribute(na):null)}function el(e){return Wo.createElementNS("http://www.w3.org/2000/svg",e)}function tl(e){return Wo.createElement(e)}function nl(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,n=void 0===t?"svg"===e.tag?el:tl:t;if("string"==typeof e)return Wo.createTextNode(e);var r=n(e.tag);return Object.keys(e.attributes||[]).forEach((function(t){r.setAttribute(t,e.attributes[t])})),(e.children||[]).forEach((function(e){r.appendChild(nl(e,{ceFn:n}))})),r}var rl={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach((function(e){t.parentNode.insertBefore(nl(e),t)})),null===t.getAttribute(na)&&Da.keepOriginalSource){var n=Wo.createComment(function(e){var t=" ".concat(e.outerHTML," ");return"".concat(t,"Font Awesome fontawesome.com ")}(t));t.parentNode.replaceChild(n,t)}else t.remove()},nest:function(e){var t=e[0],n=e[1];if(~Ba(t).indexOf(Da.replacementClass))return rl.replace(e);var r=new RegExp("".concat(Da.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var i=n[0].attributes.class.split(" ").reduce((function(e,t){return t===Da.replacementClass||t.match(r)?e.toSvg.push(t):e.toNode.push(t),e}),{toNode:[],toSvg:[]});n[0].attributes.class=i.toSvg.join(" "),0===i.toNode.length?t.removeAttribute("class"):t.setAttribute("class",i.toNode.join(" "))}var o=n.map((function(e){return Ka(e)})).join("\n");t.setAttribute(na,""),t.innerHTML=o}};function il(e){e()}function ol(e,t){var n="function"==typeof t?t:Ks;if(0===e.length)n();else{var r=il;Da.mutateApproach===la&&(r=Vo.requestAnimationFrame||il),r((function(){var t=!0===Da.autoReplaceSvg?rl.replace:rl[Da.autoReplaceSvg]||rl.replace,r=Xs.begin("mutate");e.map(t),r(),n()}))}}var al=!1;function sl(){al=!0}function ll(){al=!1}var cl=null;function ul(e){if(Qo&&Da.observeMutations){var t=e.treeCallback,n=void 0===t?Ks:t,r=e.nodeCallback,i=void 0===r?Ks:r,o=e.pseudoElementsCallback,a=void 0===o?Ks:o,s=e.observeMutationsRoot,l=void 0===s?Wo:s;cl=new Qo((function(e){if(!al){var t=ws();Ua(e).forEach((function(e){if("childList"===e.type&&e.addedNodes.length>0&&!$s(e.addedNodes[0])&&(Da.searchPseudoElements&&a(e.target),n(e.target)),"attributes"===e.type&&e.target.parentNode&&Da.searchPseudoElements&&a(e.target.parentNode),"attributes"===e.type&&$s(e.target)&&~Ma.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var t=e.getAttribute?e.getAttribute(oa):null,n=e.getAttribute?e.getAttribute(aa):null;return t&&n}(e.target)){var r=Cs(Ba(e.target)),o=r.prefix,s=r.iconName;e.target.setAttribute(oa,o||t),s&&e.target.setAttribute(aa,s)}else(l=e.target)&&l.classList&&l.classList.contains&&l.classList.contains(Da.replacementClass)&&i(e.target);var l}))}})),Xo&&cl.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function dl(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=function(e){var t,n,r=e.getAttribute("data-prefix"),i=e.getAttribute("data-icon"),o=void 0!==e.innerText?e.innerText.trim():"",a=Cs(Ba(e));return a.prefix||(a.prefix=ws()),r&&i&&(a.prefix=r,a.iconName=i),a.iconName&&a.prefix||(a.prefix&&o.length>0&&(a.iconName=(t=a.prefix,n=e.innerText,(fs[t]||{})[n]||bs(a.prefix,ts(e.innerText)))),!a.iconName&&Da.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(a.iconName=e.firstChild.data)),a}(e),r=n.iconName,i=n.prefix,o=n.rest,a=function(e){var t=Ua(e.attributes).reduce((function(e,t){return"class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e}),{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return Da.autoA11y&&(n?t["aria-labelledby"]="".concat(Da.replacementClass,"-title-").concat(r||za()):(t["aria-hidden"]="true",t.focusable="false")),t}(e),s=Ds("parseNodeAttributes",{},e),l=t.styleParser?function(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce((function(e,t){var n=t.split(":"),r=n[0],i=n.slice(1);return r&&i.length>0&&(e[r]=i.join(":").trim()),e}),{})),n}(e):[];return Eo({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:i,transform:Ra,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:o,styles:l,attributes:a}},s)}var fl=Qa.styles;function pl(e){var t="nest"===Da.autoReplaceSvg?dl(e,{styleParser:!1}):dl(e);return~t.extra.classes.indexOf(Ia)?Os("generateLayersText",e,t):Os("generateSvgReplacementMutation",e,t)}var hl=new Set;function ml(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!Xo)return Promise.resolve();var n=Wo.documentElement.classList,r=function(e){return n.add("".concat(sa,"-").concat(e))},i=function(e){return n.remove("".concat(sa,"-").concat(e))},o=Da.autoFetchSvg?hl:pa.map((function(e){return"fa-".concat(e)})).concat(Object.keys(fl));o.includes("fa")||o.push("fa");var a=[".".concat(Ia,":not([").concat(na,"])")].concat(o.map((function(e){return".".concat(e,":not([").concat(na,"])")}))).join(", ");if(0===a.length)return Promise.resolve();var s=[];try{s=Ua(e.querySelectorAll(a))}catch(e){}if(!(s.length>0))return Promise.resolve();r("pending"),i("complete");var l=Xs.begin("onTree"),c=s.reduce((function(e,t){try{var n=pl(t);n&&e.push(n)}catch(e){ua||"MissingIcon"===e.name&&console.error(e)}return e}),[]);return new Promise((function(e,n){Promise.all(c).then((function(n){ol(n,(function(){r("active"),r("complete"),i("pending"),"function"==typeof t&&t(),l(),e()}))})).catch((function(e){l(),n(e)}))}))}function gl(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;pl(e).then((function(e){e&&ol([e],t)}))}pa.map((function(e){hl.add("fa-".concat(e))})),Object.keys(ma[da]).map(hl.add.bind(hl)),Object.keys(ma[fa]).map(hl.add.bind(hl)),hl=Do(hl);var yl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?Ra:n,i=t.symbol,o=void 0!==i&&i,a=t.mask,s=void 0===a?null:a,l=t.maskId,c=void 0===l?null:l,u=t.title,d=void 0===u?null:u,f=t.titleId,p=void 0===f?null:f,h=t.classes,m=void 0===h?[]:h,g=t.attributes,y=void 0===g?{}:g,v=t.styles,b=void 0===v?{}:v;if(e){var I=e.prefix,x=e.iconName,w=e.icon;return Gs(Eo({type:"icon"},e),(function(){return Ls("beforeDOMElementCreation",{iconDefinition:e,params:t}),Da.autoA11y&&(d?y["aria-labelledby"]="".concat(Da.replacementClass,"-title-").concat(p||za()):(y["aria-hidden"]="true",y.focusable="false")),Zs({icons:{main:_s(w),mask:s?_s(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:I,iconName:x,transform:Eo(Eo({},Ra),r),symbol:o,title:d,maskId:c,titleId:p,extra:{attributes:y,styles:b,classes:m}})}))}},vl={mixout:function(){return{icon:(e=yl,function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(t||{}).icon?t:Rs(t||{}),i=n.mask;return i&&(i=(i||{}).icon?i:Rs(i||{})),e(r,Eo(Eo({},n),{},{mask:i}))})};var e},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=ml,e.nodeCallback=gl,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,n=void 0===t?Wo:t,r=e.callback;return ml(n,void 0===r?function(){}:r)},e.generateSvgReplacementMutation=function(e,t){var n=t.iconName,r=t.title,i=t.titleId,o=t.prefix,a=t.transform,s=t.symbol,l=t.mask,c=t.maskId,u=t.extra;return new Promise((function(t,d){Promise.all([qs(n,o),l.iconName?qs(l.iconName,l.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((function(l){var d=jo(l,2),f=d[0],p=d[1];t([e,Zs({icons:{main:f,mask:p},prefix:o,iconName:n,transform:a,symbol:s,maskId:c,title:r,titleId:i,extra:u,watchable:!0})])})).catch(d)}))},e.generateAbstractIcon=function(e){var t,n=e.children,r=e.attributes,i=e.main,o=e.transform,a=Za(e.styles);return a.length>0&&(r.style=a),Fa(o)&&(t=Os("generateAbstractTransformGrouping",{main:i,transform:o,containerWidth:i.width,iconWidth:i.width})),n.push(t||i.icon),{children:n,attributes:r}}}},bl={mixout:function(){return{layer:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.classes,r=void 0===n?[]:n;return Gs({type:"layer"},(function(){Ls("beforeDOMElementCreation",{assembler:e,params:t});var n=[];return e((function(e){Array.isArray(e)?e.map((function(e){n=n.concat(e.abstract)})):n=n.concat(e.abstract)})),[{tag:"span",attributes:{class:["".concat(Da.cssPrefix,"-layers")].concat(Do(r)).join(" ")},children:n}]}))}}}},Il={mixout:function(){return{counter:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.title,r=void 0===n?null:n,i=t.classes,o=void 0===i?[]:i,a=t.attributes,s=void 0===a?{}:a,l=t.styles,c=void 0===l?{}:l;return Gs({type:"counter",content:e},(function(){return Ls("beforeDOMElementCreation",{content:e,params:t}),function(e){var t=e.content,n=e.title,r=e.extra,i=Eo(Eo(Eo({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),o=Za(r.styles);o.length>0&&(i.style=o);var a=[];return a.push({tag:"span",attributes:i,children:[t]}),n&&a.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),a}({content:e.toString(),title:r,extra:{attributes:s,styles:c,classes:["".concat(Da.cssPrefix,"-layers-counter")].concat(Do(o))}})}))}}}},xl={mixout:function(){return{text:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?Ra:n,i=t.title,o=void 0===i?null:i,a=t.classes,s=void 0===a?[]:a,l=t.attributes,c=void 0===l?{}:l,u=t.styles,d=void 0===u?{}:u;return Gs({type:"text",content:e},(function(){return Ls("beforeDOMElementCreation",{content:e,params:t}),Fs({content:e,transform:Eo(Eo({},Ra),r),title:o,extra:{attributes:c,styles:d,classes:["".concat(Da.cssPrefix,"-layers-text")].concat(Do(s))}})}))}}},provides:function(e){e.generateLayersText=function(e,t){var n=t.title,r=t.transform,i=t.extra,o=null,a=null;if(Ko){var s=parseInt(getComputedStyle(e).fontSize,10),l=e.getBoundingClientRect();o=l.width/s,a=l.height/s}return Da.autoA11y&&!n&&(i.attributes["aria-hidden"]="true"),Promise.resolve([e,Fs({content:e.innerHTML,width:o,height:a,transform:r,title:n,extra:i,watchable:!0})])}}},wl=new RegExp('"',"ug"),Al=[1105920,1112319];function Tl(e,t){var n="".concat(ia).concat(t.replace(":","-"));return new Promise((function(r,i){if(null!==e.getAttribute(n))return r();var o,a,s,l=Ua(e.children).filter((function(e){return e.getAttribute(ra)===t}))[0],c=Vo.getComputedStyle(e,t),u=c.getPropertyValue("font-family").match(xa),d=c.getPropertyValue("font-weight"),f=c.getPropertyValue("content");if(l&&!u)return e.removeChild(l),r();if(u&&"none"!==f&&""!==f){var p=c.getPropertyValue("content"),h=~["Sharp"].indexOf(u[2])?fa:da,m=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(u[2])?ga[h][u[2].toLowerCase()]:wa[h][d],g=function(e){var t,n,r,i,o=e.replace(wl,""),a=(r=(t=o).length,(i=t.charCodeAt(0))>=55296&&i<=56319&&r>1&&(n=t.charCodeAt(1))>=56320&&n<=57343?1024*(i-55296)+n-56320+65536:i),s=a>=Al[0]&&a<=Al[1],l=2===o.length&&o[0]===o[1];return{value:ts(l?o[0]:o),isSecondary:s||l}}(p),y=g.value,v=g.isSecondary,b=u[0].startsWith("FontAwesome"),I=bs(m,y),x=I;if(b){var w=(a=hs[o=y],s=bs("fas",o),a||(s?{prefix:"fas",iconName:s}:null)||{prefix:null,iconName:null});w.iconName&&w.prefix&&(I=w.iconName,m=w.prefix)}if(!I||v||l&&l.getAttribute(oa)===m&&l.getAttribute(aa)===x)r();else{e.setAttribute(n,x),l&&e.removeChild(l);var A={iconName:null,title:null,titleId:null,prefix:null,transform:Ra,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},T=A.extra;T.attributes[ra]=t,qs(I,m).then((function(i){var o=Zs(Eo(Eo({},A),{},{icons:{main:i,mask:As()},prefix:m,iconName:x,extra:T,watchable:!0})),a=Wo.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===t?e.insertBefore(a,e.firstChild):e.appendChild(a),a.outerHTML=o.map((function(e){return Ka(e)})).join("\n"),e.removeAttribute(n),r()})).catch(i)}}else r()}))}function Ml(e){return Promise.all([Tl(e,"::before"),Tl(e,"::after")])}function Cl(e){return!(e.parentNode===document.head||~ca.indexOf(e.tagName.toUpperCase())||e.getAttribute(ra)||e.parentNode&&"svg"===e.parentNode.tagName)}function El(e){if(Xo)return new Promise((function(t,n){var r=Ua(e.querySelectorAll("*")).filter(Cl).map(Ml),i=Xs.begin("searchPseudoElements");sl(),Promise.all(r).then((function(){i(),ll(),t()})).catch((function(){i(),ll(),n()}))}))}var Nl=!1,Sl=function(e){return 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}),{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},kl={mixout:function(){return{parse:{transform:function(e){return Sl(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-transform");return n&&(e.transform=Sl(n)),e}}},provides:function(e){e.generateAbstractTransformGrouping=function(e){var t=e.main,n=e.transform,r=e.containerWidth,i=e.iconWidth,o={transform:"translate(".concat(r/2," 256)")},a="translate(".concat(32*n.x,", ").concat(32*n.y,") "),s="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),l="rotate(".concat(n.rotate," 0 0)"),c={outer:o,inner:{transform:"".concat(a," ").concat(s," ").concat(l)},path:{transform:"translate(".concat(i/2*-1," -256)")}};return{tag:"g",attributes:Eo({},c.outer),children:[{tag:"g",attributes:Eo({},c.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:Eo(Eo({},t.icon.attributes),c.path)}]}]}}}},jl={x:0,y:0,width:"100%",height:"100%"};function Dl(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 Ll,Ol={hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-mask"),r=n?Cs(n.split(" ").map((function(e){return e.trim()}))):As();return r.prefix||(r.prefix=ws()),e.mask=r,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides:function(e){e.generateAbstractMask=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=function(e){var t=e.transform,n=e.iconWidth,r={transform:"translate(".concat(e.containerWidth/2," 256)")},i="translate(".concat(32*t.x,", ").concat(32*t.y,") "),o="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),a="rotate(".concat(t.rotate," 0 0)");return{outer:r,inner:{transform:"".concat(i," ").concat(o," ").concat(a)},path:{transform:"translate(".concat(n/2*-1," -256)")}}}({transform:s,containerWidth:u,iconWidth:l}),p={tag:"rect",attributes:Eo(Eo({},jl),{},{fill:"white"})},h=c.children?{children:c.children.map(Dl)}:{},m={tag:"g",attributes:Eo({},f.inner),children:[Dl(Eo({tag:c.tag,attributes:Eo(Eo({},c.attributes),f.path)},h))]},g={tag:"g",attributes:Eo({},f.outer),children:[m]},y="mask-".concat(a||za()),v="clip-".concat(a||za()),b={tag:"mask",attributes:Eo(Eo({},jl),{},{id:y,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[p,g]},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:Eo({fill:"currentColor","clip-path":"url(#".concat(v,")"),mask:"url(#".concat(y,")")},jl)}),{children:n,attributes:r}}}},Rl={provides:function(e){var t=!1;Vo.matchMedia&&(t=Vo.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){var e=[],n={fill:"currentColor"},r={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:Eo(Eo({},n),{},{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"})});var i=Eo(Eo({},r),{},{attributeName:"opacity"}),o={tag:"circle",attributes:Eo(Eo({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||o.children.push({tag:"animate",attributes:Eo(Eo({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:Eo(Eo({},i),{},{values:"1;0;1;1;0;1;"})}),e.push(o),e.push({tag:"path",attributes:Eo(Eo({},n),{},{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"}),children:t?[]:[{tag:"animate",attributes:Eo(Eo({},i),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:Eo(Eo({},n),{},{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"}),children:[{tag:"animate",attributes:Eo(Eo({},i),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}},Pl=[Va,vl,bl,Il,xl,{hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=El,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node,n=void 0===t?Wo:t;Da.searchPseudoElements&&El(n)}}},{mixout:function(){return{dom:{unwatch:function(){sl(),Nl=!0}}}},hooks:function(){return{bootstrap:function(){ul(Ds("mutationObserverCallbacks",{}))},noAuto:function(){cl&&cl.disconnect()},watch:function(e){var t=e.observeMutationsRoot;Nl?ll():ul(Ds("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},kl,Ol,Rl,{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-symbol"),r=null!==n&&(""===n||n);return e.symbol=r,e}}}}];Ll={mixoutsTo:Us}.mixoutsTo,Ns=Pl,Ss={},Object.keys(ks).forEach((function(e){-1===js.indexOf(e)&&delete ks[e]})),Ns.forEach((function(e){var t=e.mixout?e.mixout():{};if(Object.keys(t).forEach((function(e){"function"==typeof t[e]&&(Ll[e]=t[e]),"object"===No(t[e])&&Object.keys(t[e]).forEach((function(n){Ll[e]||(Ll[e]={}),Ll[e][n]=t[e][n]}))})),e.hooks){var n=e.hooks();Object.keys(n).forEach((function(e){Ss[e]||(Ss[e]=[]),Ss[e].push(n[e])}))}e.provides&&e.provides(ks)}));var zl=Us.parse,Ul=Us.icon,Bl=o(9067),Gl=o.n(Bl);function Zl(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 Fl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zl(Object(n),!0).forEach((function(t){_l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Hl(e){return Hl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Hl(e)}function _l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yl(e){return function(e){if(Array.isArray(e))return ql(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 ql(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)?ql(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 ql(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 Vl(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 Wl=["style"],Ql=!1;try{Ql=!0}catch(Am){}function Jl(e){return e&&"object"===Hl(e)&&e.prefix&&e.iconName&&e.icon?e:zl.icon?zl.icon(e):null===e?null:e&&"object"===Hl(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 Xl(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?_l({},e,t):{}}var Kl={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},$l=t().forwardRef((function(e,t){var n=Fl(Fl({},Kl),e),r=n.icon,i=n.mask,o=n.symbol,a=n.className,s=n.title,l=n.titleId,c=n.maskId,u=Jl(r),d=Xl("classes",[].concat(Yl(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,m=e.listItem,g=e.flip,y=e.size,v=e.rotation,b=e.pull,I=(_l(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":m,"fa-flip":!0===g,"fa-flip-horizontal":"horizontal"===g||"both"===g,"fa-flip-vertical":"vertical"===g||"both"===g},"fa-".concat(y),null!=y),_l(t,"fa-rotate-".concat(v),null!=v&&0!==v),_l(t,"fa-pull-".concat(b),null!=b),_l(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(I).map((function(e){return I[e]?e:null})).filter((function(e){return e}))}(n)),Yl((a||"").split(" ")))),f=Xl("transform","string"==typeof n.transform?zl.transform(n.transform):n.transform),p=Xl("mask",Jl(i)),h=Ul(u,Fl(Fl(Fl(Fl({},d),f),p),{},{symbol:o,title:s,titleId:l,maskId:c}));if(!h)return function(){var e;!Ql&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",u),null;var m=h.abstract,g={ref:t};return Object.keys(n).forEach((function(e){Kl.hasOwnProperty(e)||(g[e]=n[e])})),ec(m[0],g)}));$l.displayName="FontAwesomeIcon",$l.propTypes={beat:Gl().bool,border:Gl().bool,beatFade:Gl().bool,bounce:Gl().bool,className:Gl().string,fade:Gl().bool,flash:Gl().bool,mask:Gl().oneOfType([Gl().object,Gl().array,Gl().string]),maskId:Gl().string,fixedWidth:Gl().bool,inverse:Gl().bool,flip:Gl().oneOf([!0,!1,"horizontal","vertical","both"]),icon:Gl().oneOfType([Gl().object,Gl().array,Gl().string]),listItem:Gl().bool,pull:Gl().oneOf(["right","left"]),pulse:Gl().bool,rotation:Gl().oneOf([0,90,180,270]),shake:Gl().bool,size:Gl().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:Gl().bool,spinPulse:Gl().bool,spinReverse:Gl().bool,symbol:Gl().oneOfType([Gl().bool,Gl().string]),title:Gl().string,titleId:Gl().string,transform:Gl().oneOfType([Gl().string,Gl().object]),swapOpacity:Gl().bool};var ec=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=Vl(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[Vl(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,Wl);return o.attrs.style=Fl(Fl({},o.attrs.style),s),t.apply(void 0,[n.tag,Fl(Fl({},o.attrs),l)].concat(Yl(i)))}.bind(null,t().createElement);const tc=!("undefined"==typeof window||!window.document||!window.document.createElement);var nc=(new Date).getTime(),rc=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-nc)),r=setTimeout(e,n);return nc=t,r},ic=function(e,t){return e+(e?t[0].toUpperCase()+t.substr(1):t)+"AnimationFrame"};tc&&["","webkit","moz","o","ms"].some((function(e){var t=ic(e,"request");return t in window&&(ic(e,"cancel"),rc=function(e){return window[t](e)}),!!rc}));var oc=rc;function ac(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 sc(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function lc(e,t){e.classList?e.classList.remove(t):"string"==typeof e.className?e.className=sc(e.className,t):e.setAttribute("class",sc(e.className&&e.className.baseVal||"",t))}var cc=/([A-Z])/g,uc=/^ms-/;function dc(e){return function(e){return e.replace(cc,"-$1").toLowerCase()}(e).replace(uc,"-ms-")}var fc=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;const pc=function(e,t){var n="",r="";if("string"==typeof t)return e.style.getPropertyValue(dc(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(dc(t));Object.keys(t).forEach((function(i){var o=t[i];o||0===o?function(e){return!(!e||!fc.test(e))}(i)?r+=i+"("+o+") ":n+=dc(i)+": "+o+";":e.style.removeProperty(dc(i))})),r&&(n+="transform: "+r+";"),e.style.cssText+=";"+n};var hc=!1,mc=!1;try{var gc={get passive(){return hc=!0},get once(){return mc=hc=!0}};tc&&(window.addEventListener("test",gc,gc),window.removeEventListener("test",gc,!0))}catch(Am){}const yc=function(e,t,n,r){return function(e,t,n,r){if(r&&"boolean"!=typeof r&&!mc){var i=r.once,o=r.capture,a=n;!mc&&i&&(a=n.__once||function e(r){this.removeEventListener(t,e,o),n.call(this,r)},n.__once=a),e.addEventListener(t,a,hc?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 vc(e,t,n,r){var i,o;null==n&&(o=-1===(i=pc(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,t,n,r){if(void 0===n&&(n=!1),void 0===r&&(r=!0),e){var i=document.createEvent("HTMLEvents");i.initEvent("transitionend",n,r),e.dispatchEvent(i)}}(e,0,!0)}),t+n),o=yc(e,"transitionend",(function(){r=!0}),{once:!0});return function(){clearTimeout(i),o()}}(e,n,r),s=yc(e,"transitionend",t);return function(){a(),s()}}function bc(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 Ic=Gl().oneOfType([Gl().string,Gl().shape({enter:Gl().string,leave:Gl().string,active:Gl().string,height:Gl().string}),Gl().shape({enter:Gl().string,enterActive:Gl().string,leave:Gl().string,leaveActive:Gl().string,appear:Gl().string,appearActive:Gl().string,height:Gl().string,heightActive:Gl().string})]);function xc(e){return xc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xc(e)}function wc(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 Ac(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wc(Object(n),!0).forEach((function(t){Nc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Tc(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Mc(e,t){return Mc=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Mc(e,t)}function Cc(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ec(e){return Ec=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Ec(e)}function Nc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Sc=[];vc&&Sc.push(vc);var kc={children:Gl().node,name:Ic.isRequired,appear:Gl().bool,enter:Gl().bool,leave:Gl().bool,appearTimeout:Gl().number,enterTimeout:Gl().number,leaveTimeout:Gl().number},jc=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mc(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=Ec(i);if(o){var n=Ec(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){return!t||"object"!==xc(t)&&"function"!=typeof t?Cc(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),Nc(Cc(n=a.call(this,e)),"refNode",t().createRef()),Nc(Cc(n),"componentWillAppear",(function(e){n.props.appear?n.transition("appear",e,n.props.appearTimeout):e()})),Nc(Cc(n),"componentWillEnter",(function(e){n.props.enter?n.transition("enter",e,n.props.enterTimeout):e()})),Nc(Cc(n),"componentWillLeave",(function(e){n.props.leave?n.transition("leave",e,n.props.leaveTimeout):e()})),n.classNameAndNodeQueue=[],n.transitionTimeouts=[],n}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:"getNode",value:function(){return this.refNode.current}},{key:"transition",value:function(e,t,n){var r=this.getNode();if(r){var i,o=this.props.name[e]||this.props.name+"-"+e,a=this.props.name[e+"Active"]||o+"-active",s=null;ac(r,o),this.queueClassAndNode(a,r);var l=function(n){n&&n.target!==r||(clearTimeout(s),i&&i(),"leave"!==e&&(lc(r,o),lc(r,a)),i&&i(),t&&t())};n?(s=setTimeout(l,n),this.transitionTimeouts.push(s)):vc&&(i=function(e,t){return Sc.length?Sc.forEach((function(n){return e.addEventListener(n,t,!1)})):setTimeout(t,0),function(){Sc.length&&Sc.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=oc((function(){return n.flushClassNameAndNodeQueueOnNextFrame()})))}},{key:"flushClassNameAndNodeQueueOnNextFrame",value:function(){var e=this;this.rafHandle=oc((function(){return e.flushClassNameAndNodeQueue()}))}},{key:"flushClassNameAndNodeQueue",value:function(){this.unmounted||this.classNameAndNodeQueue.forEach((function(e){e.node.scrollTop,ac(e.node,e.className)})),this.classNameAndNodeQueue.length=0,this.rafHandle=null}},{key:"render",value:function(){var e=Ac(Ac({},this.props),{},{ref:this.refNode});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&&Tc(n.prototype,r),s}(t().Component);Nc(jc,"displayName","CSSTransitionGroupChild"),jc.propTypes=kc;const Dc=jc;function Lc(e){return Lc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Lc(e)}function Oc(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 Rc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Oc(Object(n),!0).forEach((function(t){Gc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Pc(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function zc(e,t){return zc=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},zc(e,t)}function Uc(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bc(e){return Bc=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Bc(e)}function Gc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Zc=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zc(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=Bc(i);if(o){var n=Bc(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){return!t||"object"!==Lc(t)&&"function"!=typeof t?Uc(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),Gc(Uc(n=a.call(this,e)),"handleDoneAppearing",(function(e){delete n.transitioningKeys[e],e!==n.state.currentKey&&n.performLeave(e)})),Gc(Uc(n),"performLeave",(function(e){var t,r;n.transitioningKeys[e]=!0,null===(t=n.childRefs[e].current)||void 0===t||t.componentWillLeave(n.handleDoneLeaving.bind(Uc(n),e)),n.state.currentChild&&null!==(r=n.childRefs[n.state.currentKey].current)&&void 0!==r&&r.getNode()||n.enqueueHeightTransition()})),Gc(Uc(n),"performHeightTransition",(function(){if(!n.unmounted){var e,t=Uc(n).state,r=t.currentChild?null===(e=n.childRefs[t.currentKey].current)||void 0===e?void 0:e.getNode():null;n.setState({height:r?r.offsetHeight:0,width:n.props.changeWidth?r?r.offsetWidth:0:null})}n.rafHandle=null})),Gc(Uc(n),"setChildRef",(function(e,r){if(r){var i=t().createRef();i.current=r,n.childRefs[e]=i}else delete n.childRefs[e]})),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,c=null===(l=this.childRefs[o].current)||void 0===l?void 0:l.getNode();s.height=c?c.offsetHeight:0,s.width=this.props.changeWidth?c?c.offsetWidth:0:null,s.prevChildren=Rc(Rc({},a),{},Gc({},o,r)),this.transitioningKeys[o]||this.keysToLeave.push(o)}this.setState(s)}},{key:"componentDidUpdate",value:function(){var e;this.shouldEnterCurrent&&(this.shouldEnterCurrent=!1,null!==(e=this.childRefs[this.state.currentKey].current)&&void 0!==e&&e.getNode()&&this.performEnter(this.state.currentKey));var t=this.keysToLeave;this.keysToLeave=[],t.forEach(this.performLeave)}},{key:"performAppear",value:function(e){var t;this.transitioningKeys[e]=!0,null===(t=this.childRefs[e].current)||void 0===t||t.componentWillAppear(this.handleDoneAppearing.bind(this,e))}},{key:"performEnter",value:function(e){var t;this.transitioningKeys[e]=!0,null===(t=this.childRefs[e].current)||void 0===t||t.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){var t;delete this.transitioningKeys[e];var n={prevChildren:Rc({},this.state.prevChildren)};delete n.prevChildren[e],delete this.childRefs[e],this.state.currentChild&&null!==(t=this.childRefs[this.state.currentKey].current)&&void 0!==t&&t.getNode()||(n.height=null),this.setState(n)}},{key:"enqueueHeightTransition",value:function(){this.rafHandle||(this.rafHandle=oc(this.performHeightTransition))}},{key:"wrapChild",value:function(e,n){var r=this.props.transitionName;return"object"===Lc(r)&&null!==r&&delete(r=Rc({},r)).height,t().createElement(Dc,Rc({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,m=(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"])),g=this.shouldEnterCurrent||this.keysToLeave.length||Object.keys(this.transitioningKeys).length;if(m.style=Rc({},m.style),g&&(m.style.position="relative",u&&(m.style.overflow="hidden")),null!==a){var y="string"==typeof d?"".concat(d,"-height"):d&&d.height||"";m.className="".concat(m.className||""," ").concat(y),m.style.height=a}null!==s&&(m.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.setChildRef(n,t)}})))})),i&&l.push(t().createElement(p,{key:r,style:this.transitioningKeys[r]?v:g?{position:"relative"}:null},this.wrapChild(i,{ref:function(t){return e.setChildRef(r,t)}}))),t().createElement(f,m,l)}}],r&&Pc(n.prototype,r),s}(t().Component);Gc(Zc,"displayName","ReactCSSTransitionReplace"),Gc(Zc,"propTypes",{transitionName:Ic.isRequired,transitionAppear:Gl().bool,transitionEnter:Gl().bool,transitionLeave:Gl().bool,transitionAppearTimeout:bc("Appear"),transitionEnterTimeout:bc("Enter"),transitionLeaveTimeout:bc("Leave"),overflowHidden:Gl().bool,changeWidth:Gl().bool,notifyLeaving:Gl().bool}),Gc(Zc,"defaultProps",{transitionAppear:!1,transitionEnter:!0,transitionLeave:!0,overflowHidden:!0,changeWidth:!1,notifyLeaving:!1,component:"div",childComponent:"span"});const Fc=({error:e,children:n})=>{const{t:r}=ii();return t().createElement(Zc,{transitionName:"e-crossfade",transitionEnterTimeout:500,transitionLeaveTimeout:500},null!=e?t().createElement("div",{className:"e-color-error",role:"alert"},t().createElement($l,{icon:Mo,className:"e-mrg-r-1"}),r(`audio-errors.${e}`)):t().createElement("div",{key:"no-error"},n))};var Hc=o(758);const _c=e=>(0,Hc.action)("PLAY_AUDIO",e),Yc=e=>(0,Hc.action)("PLAY_AUDIO_STARTED",e),qc=()=>(0,Hc.action)("PLAY_AUDIO_FINISHED"),Vc=(e,t)=>(0,Hc.action)("SHOW_AUDIO_ERROR",{audio:e,error:t}),Wc=e=>(0,Hc.action)("HIDE_AUDIO_ERROR",e),Qc=e=>(0,Hc.action)("UPDATE_REMAINING",e),Jc=t().memo((function({src:n,restrictedAudioId:r,duration:i,times:o,labelId:a}){const s=Ji(co(n,r)),l=Ji(((e,t)=>n=>"playing"===co(e,t)(n)?n.audio.nowPlaying.durationRemaining:void 0)(n,r)),c=Ji(po(r,o)),{i18n:u}=ii(),d=lo(),f="playing"===s,p="stopped"===s,h=!p||0===c,m=`audio-remaining-${r}`,g=f?[]:[m,a],{abitti2:y}=(0,e.useContext)(Si),v=(0,e.useRef)(null);return t().createElement("div",{className:Ui()("restricted-audio-player e-column e-column--narrow e-columns e-columns--inline e-columns--center-v e-pad-1",{"restricted-audio-player--disabled":h}),lang:u.language},y&&t().createElement("audio",{ref:v,preload:"none"},t().createElement("source",null)),t().createElement("button",{className:Ui()("restricted-audio-player__play e-column e-column--narrow",{"restricted-audio-player__play--playing":f}),disabled:h,onClick:()=>p&&d(_c({src:n,restrictedAudioId:r,duration:i,audioRef:v})),"aria-labelledby":g.join(" ")},!f&&t().createElement($l,{icon:wo,fixedWidth:!0})),t().createElement("span",{className:"restricted-audio-player__duration e-column e-text-right",id:m},function(e){const t=e%60;return`${Xc(Math.floor(e/60))}:${Xc(t)}`}(null!=l?l:i)))}));function Xc(e){return e.toString().padStart(2,"0")}const Kc=t().memo((function({element:n,className:r,renderChildNodes:i}){const o=n.getAttribute("src"),a=ke(n,"restricted-audio-id"),s=ke(n,"times"),l=ke(n,"duration"),{t:c}=ii(),u=null!=s&&null!=a?Ji(uo(o,a)):void 0,d=null!=s&&null!=a?Ji(po(a,s)):void 0,{resolveAttachment:f}=(0,e.useContext)(Si),p=xi(n);return t().createElement("div",{className:Ui()("audio e-columns e-columns--center-v e-mrg-b-2",r)},null!=a&&null!=s?t().createElement(Jc,{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(Fc,{error:u},i(n)),null!=d&&t().createElement("em",null,c("listen-times-remaining",{count:d}))))})),$c=Un({attachment:Oi((function({element:n}){const{displayNumber:r}=(0,e.useContext)(Li);return t().createElement("li",{"data-list-number":r,"aria-label":r},$c(n,1))})),"attachment-title":function({element:n}){const{attachmentsURL:r}=(0,e.useContext)(Si),{displayNumber:i}=(0,e.useContext)(Li);return t().createElement("a",{href:Mi(r,{hash:i}),className:"exam-attachment-title",target:"attachments"},$c(n))}}),eu=t().memo((function({element:e,showTitle:n=!0,forceRender:r=!1}){if(null==Ee(e,"question")&&!r)return null;const{t:i}=ii(),o=gi(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},$c(e)))})),tu=t().memo((function({element:n,className:r,renderChildNodes:i}){const o=n.getAttribute("src"),a=n.hasChildNodes(),{resolveAttachment:s}=(0,e.useContext)(Si);return t().createElement("a",{className:Ui()("file e-nowrap",r),href:s(o),download:!0},a?t().createElement(t().Fragment,null,i(n)," (",o,")"):o)})),nu=t().memo((function({element:e,className:n}){const r=Se(e,"svg"),i=Se(e,"assistive-title"),o="display"===Se(e,"mode");return t().createElement(t().Fragment,null,t().createElement("span",{className:Ui()("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))})),ru=({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:Ui()("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 iu(e){return"string"==typeof e&&0===e.trim().length}const ou=t().memo((function({element:n,className:r,renderChildNodes:i}){const{resolveAttachment:o}=(0,e.useContext)(Si),{t:a}=ii(),s=Se(n,"src"),l=ke(n,"width"),c=ke(n,"height"),u=Ne(n,"image-title"),d=u&&i(u),f=null!=d&&!d.every(iu),p=f?d:void 0,h=f?bi(n):void 0,m=o(s),g=t().createElement("img",{className:"e-image",src:m,alt:"","aria-labelledby":h});return t().createElement(t().Fragment,null,t().createElement(ru,{className:r,width:l,height:c,caption:p,captionId:h,bordered:f||null!=Ee(n,"choice-answer")},null!=Ee(n,["choice-answer","hint"])?g:t().createElement("a",{title:a.raw("zoom-in"),href:m,target:"original-picture",className:"e-zoomable","aria-hidden":!f,tabIndex:-1},g)))})),au=function({element:e,renderChildNodes:n}){const r=n(e);return 0===r.length?null:t().createElement(t().Fragment,null,r)};function su({element:e,renderChildNodes:n}){return t().createElement("em",null,n(e))}function lu({element:e,renderChildNodes:n}){return t().createElement("i",null,n(e))}function cu({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)(Si);return t().createElement(t().Fragment,null,i.format(n))}}const uu=t().memo((function({element:e,renderChildNodes:n}){const{t:r}=ii();function i(r,i){const o=Ne(e,r);if(o){const e=o.localName,r=t().createElement(i,{element:o,renderChildNodes:n,key:e});if(r)return je(o,"hidden")?t().createElement("del",{key:e},r):r}}function o(i,o,a){const s=Ne(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:Ui()("e-break-word",{"e-line-through":je(e,"hidden")})},r("references.source"),we,(". ",(a=[i("author",au),i("title",su),i("publisher",au),i("publication",au),i("howpublished",au),i("url",lu),o("publication-date","references.date",cu),o("reference-date","references.reference-date",cu),o("translator","references.translator",au),o("modified-by","references.modified-by",au),i("note",au)]).filter(Boolean).reduce(((e,t,n)=>(e.push(t),n!==a.length-1&&e.push(". "),e)),[])));var a})),du=t().memo((function({element:n,renderChildNodes:r,className:i}){const{resolveAttachment:o}=(0,e.useContext)(Si),a=Se(n,"src"),s=ke(n,"width"),l=ke(n,"height"),c=Ne(n,"video-title"),u=c&&r(c),d=null!=u&&!u.every(iu),f=d?u:void 0,p=d?Ii(n):void 0;return t().createElement(ru,{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 fu=/\s/;const pu=function(e){for(var t=e.length;t--&&fu.test(e.charAt(t)););return t};var hu=/^\s+/;var mu=/^[-+]0x[0-9a-f]+$/i,gu=/^0b[01]+$/i,yu=/^0o[0-7]+$/i,vu=parseInt;const bu=function(e){if("number"==typeof e)return e;if(rn(e))return NaN;if(fe(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=fe(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;var n;e=(n=e)?n.slice(0,pu(n)+1).replace(hu,""):n;var r=gu.test(e);return r||yu.test(e)?vu(e.slice(2),r?2:8):mu.test(e)?NaN:+e};const Iu=function(e){var t=function(e){return e?1/0===(e=bu(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 xu=4294967295,wu=Math.min;function Au({opacity:e,setOpacity:n,element:r,renderChildNodes:i}){const o=Ne(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($l,{icon:go,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($l,{icon:bo,className:"e-mrg-l-1 e-pointer",onClick:()=>n(1)}))}function Tu({element:n,absolute:r,opacity:i}){const o=n.getAttribute("src"),a=ke(n,"width"),s=ke(n,"height"),l=(0,e.useContext)(Si).resolveAttachment(o);return t().createElement("div",{className:Ui()("e-columns e-columns--center-h",{"e-image-overlay__image-absolute":r}),style:{opacity:i}},t().createElement(ru,{width:a,height:s},t().createElement("img",{className:"e-image",src:l})))}const Mu=t().memo((function({element:n,renderChildNodes:r}){const[i,o]=(0,e.useState)((()=>function(e,t){if((e=Iu(e))<1||e>9007199254740991)return[];var n=xu,r=wu(e,xu);t=be(t),e-=xu;for(var i=M(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,De(n,((e,n)=>t().createElement(Au,{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"},De(n,((e,n)=>t().createElement(Tu,{key:n,element:e,renderChildNodes:r,opacity:i[n],absolute:n>0}))))))})),Cu=t().createContext({}),Eu=Ni(Cu,(({element:e})=>{const t=Ce(e,"question",!1),n=t.length?[]:Ce(e,["text-answer","scored-text-answer","dropdown-answer","choice-answer"],!1),r=Ce(e,"question-instruction",!1),i=e.getAttribute("display-number"),o=r.length>0?r.map(hi).join(" "):pi(i);return{answers:n,displayNumber:i,hasExternalMaterial:null!=Ne(e,"external-material"),maxAnswers:ke(e,"max-answers"),maxScore:ke(e,"max-score"),level:Ae(e,"question").length,childQuestions:t,questionLabelIds:o}}));function Nu({element:n}){const r=n.getAttribute("suffix"),{displayNumber:i}=(0,e.useContext)(Cu);return t().createElement(t().Fragment,null,Cr(i.split(".")),".",r)}const Su=t().memo((function({element:e}){const{t:n}=ii(),r=e.getAttribute("key");return t().createElement(t().Fragment,null,n(r))})),ku=Un({"attachment-link":ji("link"),"attachment-links":Di("link"),"attachment-title":Pi,attachment:Ri,audio:Kc,"audio-title":au,file:tu,image:ou,video:du,formula:nu,"question-number":Nu,translation:Su,reference:function(e,n,r){const i=n=>t().createElement("div",{...r},t().createElement(e,{...n}));return i.displayName=`Surround(${Ei(e)})`,i}(uu,0,{className:"e-mrg-y-2 e-font-size-s"}),"image-overlay":Mu}),ju=t().memo((function({element:e,forceRender:n=!1}){if(null==Ee(e,"question")&&!n)return null;const r=e.children.length;return t().createElement(t().Fragment,null,r>1&&t().createElement(eu,{element:e,renderChildNodes:ku,showTitle:!1,forceRender:n}),ku(e))})),Du=e=>{const n=Ui()("e-section e-bg-color-off-white e-pad-6",e.className);return t().createElement("section",{...e,className:n},e.children)},Lu=t().memo(Eu((function({element:n,renderChildNodes:r}){const{displayNumber:i,hasExternalMaterial:o,level:a}=(0,e.useContext)(Cu);return function(e,t,n){return t&&(0===n||Ae(e).every((e=>"question"!==e.localName||!Ne(e,"external-material"))))}(n,o,a)?t().createElement(Du,{id:i,"aria-labelledby":pi(i)},r(n,1)):t().createElement(t().Fragment,null,r(n,1))})));function Ou(e){return e.includes(".")?e:`${e}.`}const Ru=t().memo((function({element:n,renderChildNodes:r}){const{displayNumber:i,hasExternalMaterial:o}=(0,e.useContext)(Cu);return o?t().createElement(t().Fragment,null,t().createElement("div",{className:"anchor",id:`question-nr-${i}`}),t().createElement("h2",{id:pi(i)},Ou(i)," ",r(n))):null})),Pu=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})})),zu=t().createContext({}),Uu=Ni(zu,(e=>{const{casCountdownDuration:t,examServerApi:n}=e;return{casCountdownDuration:t||60,examServerApi:n}})),Bu=t().memo((function({element:e,renderChildNodes:n}){return t().createElement(t().Fragment,null,n(e,1))})),Gu=t().createContext({}),Zu=Ni(Gu,(({element:e})=>({casForbidden:je(e,"cas-forbidden"),displayNumber:e.getAttribute("display-number"),maxAnswers:ke(e,"max-answers"),minAnswers:ke(e,"min-answers"),maxScore:ke(e,"max-score"),childQuestions:De(e,(e=>e)).filter((e=>"question"===e.localName))})));var Fu=o(4651),Hu=o.n(Fu),_u=o(7521),Yu=o.n(_u);const qu={allowedTags:["img","br"],allowedAttributes:{img:["src","alt"]},allowedSchemes:["data"],exclusiveFilter:e=>"mathEditor"===e.attribs["data-js"]},Vu={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 Yu()(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(Qu(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=>Qu(e))));return t.innerHTML}(Yu()(function(e){return e.replace(new RegExp(document.location.origin,"g"),"")}(e),Object.assign(Object.assign({},qu),{allowedTags:["div","p","img","br"]}))),qu)},updateMathImg:void 0,forceInit:!1},Wu='img[src^="/math.svg?latex="]:not(img[src="/math.svg?latex="]), img[src^="data:image/svg+xml"]';function Qu(e){return"DIV"===e.nodeName||"P"===e.nodeName}function Ju(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 Xu(e,t){return $u(e,!e.altKey&&!e.shiftKey&&e.ctrlKey&&Ku(e,t))}function Ku(e,t){return"string"==typeof t?e.key===t:e.keyCode===t}function $u(e,t){return t&&e.preventDefault(),t}function ed(e){return e.replace(/^(\n)*/g,"").replace(/(\s)*$/g,"")}function td(e){return 0===e.length?null:e[e.length-1]}const nd=[{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:"&iota;",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"}]}],rd=[{action:"\\sqrt",label:"\\sqrt{X}",svg:"data:image/svg+xml;base64,PHN2ZyB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgd2lkdGg9Ij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tMTggLTE4IC0xOCAtMzh2LTUyN2MwIC0zNCAwIC00OCAxMDUgLTQ4aDQwdi0zMWMtNDEgMyAtMTQ0IDMgLTE5MCAzcy0xNDggMCAtMTg5IC0zdjMxaDQwYzEwNSAwIDEwNSAxNCAxMDUgNDh2NTI3YzAgMjMgMCAzNCAtMjEgMzhjLTEwIDIgLTM2IDIgLTU0IDJjLTE1MSAwIC0xNjYgLTMzIC0xODAgLTE5NGgtMjVsMTkgMjI1IGg2MTFaIj48L3BhdGg+CjwvZGVmcz4KPGcgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIGZpbGw9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIwIiB0cmFuc2Zvcm09Im1hdHJpeCgxIDAgMCAtMSAwIDApIiBhcmlhLWhpZGRlbj0idHJ1ZSI+CiA8dXNlIHhsaW5rOmhyZWY9IiNFMS1MQVRJTk1PREVSTk1BSU4tNTQiIHg9IjAiIHk9IjAiPjwvdXNlPgo8L2c+Cjwvc3ZnPg=="}];const id=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>`,od=e=>e.characters.filter((e=>e.popular)).length,ad="data:image/gif;base64,R0lGODlhEAAQAPQAAP///wAAAPDw8IqKiuDg4EZGRnp6egAAAFhYWCQkJKysrL6+vhQUFJycnAQEBDY2NmhoaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH+GkNyZWF0ZWQgd2l0aCBhamF4bG9hZC5pbmZvACH5BAAKAAAAIf8LTkVUU0NBUEUyLjADAQAAACwAAAAAEAAQAAAFdyAgAgIJIeWoAkRCCMdBkKtIHIngyMKsErPBYbADpkSCwhDmQCBethRB6Vj4kFCkQPG4IlWDgrNRIwnO4UKBXDufzQvDMaoSDBgFb886MiQadgNABAokfCwzBA8LCg0Egl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BIGxpbmsgdG8gdGhlIHNlcnZlciBjb3VsZCBub3QgYmUgZXN0YWJsaXNoZWQgaW4gPGI+L2hvbWUvYWpheGxvYWQvd3d3L2xpYnJhaXJpZXMvY2xhc3MubXlzcWwucGhwPC9iPiBvbiBsaW5lIDxiPjY4PC9iPjxiciAvPgo8YnIgLz4KPGI+V2FybmluZzwvYj46ICBteXNxbF9xdWVyeSgpIFs8YSBocmVmPSdmdW5jdGlvbi5teXNxbC1xdWVyeSc+ZnVuY3Rpb24ubXlzcWwtcXVlcnk8L2E+XTogQ2FuJ3QgY29ubmVjdCB0byBsb2NhbCBNeVNRTCBzZXJ2ZXIgdGhyb3VnaCBzb2NrZXQgJy92YXIvcnVuL215c3FsZC9teXNxbGQuc29jaycgKDIpIGluIDxiPi9ob21lL2FqYXhsb2FkL3d3dy9saWJyYWlyaWVzL2NsYXNzLm15c3FsLnBocDwvYj4gb24gbGluZSA8Yj42ODwvYj48YnIgLz4KPGJyIC8+CjxiPldhcm5pbmc8L2I+OiAgbXlzcWxfcXVlcnkoKSBbPGEgaHJlZj0nZnVuY3Rpb24ubXlzcWwtcXVlcnknPmZ1bmN0aW9uLm15c3FsLXF1ZXJ5PC9hPl06IEEgbGluayB0byB0aGUgc2VydmVyIGNvdWxkIG5vdCBiZSBlc3RhYmxpc2hlZCBpbiA8Yj4vaG9tZS9hamF4bG9hZC93d3cvbGlicmFpcmllcy9jbGFzcy5teXNxbC5waHA8L2I+IG9uIGxpbmUgPGI+Njg8L2I+PGJyIC8+Cg==";function sd(e,t,n,r,i=0){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",ad))),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")))),i)}var ld=o(5968);if(!ld)throw new Error("MathQuill is required but has not been loaded");window.mathEditorState=window.mathEditorState||{firstTime:!0,MQ:void 0};const cd=window.mathEditorState,ud=function(e){const t=e.trim(),n=""===t.replace(/(\\|\s)*/g,"")?"":t;return n+(n.endsWith("\\")?" ":"")};const dd={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"}}},fd=Hu()('<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 pd=window.richTextEditorState,hd=pd.focus,md=(e,t,n=(()=>{}))=>{const{baseUrl:r,fileTypes:i,sanitize:o,screenshotSaver:a,ignoreSaveObject:s,screenshotImageSelector:l,invalidImageSelector:c,locale:u,updateMathImg:d,forceInit:f}=Object.assign(Object.assign({},Vu),t),p=dd[u].editor;if(pd.firstCall||f){pd.firstCall=!1,pd.math=function(e,t,n,r=((e,t)=>{const r=ud(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;cd.firstTime&&(cd.MQ=ld.getInterface(2),cd.firstTime=!1);const a=Hu()('\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 m=cd.MQ.MathField(l.get(0),{handlers:{edit:v,enter:()=>{C(!0),setTimeout((()=>A("<br>")),2)}}});function g(e){Hu()(".rich-text-editor-overlay").is(":visible")||(function(e){return $u(e,!e.altKey&&!e.shiftKey&&e.ctrlKey&&Ku(e,90)||!e.altKey&&!e.shiftKey&&e.metaKey&&Ku(e,90))}(e)?N():function(e){return $u(e,!e.altKey&&!e.shiftKey&&e.ctrlKey&&Ku(e,89)||!e.altKey&&e.shiftKey&&e.metaKey&&Ku(e,90))}(e)?S():(Xu(e,13)||function(e,t){return $u(e,!e.altKey&&!e.shiftKey&&!e.ctrlKey&&Ku(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,w()})).on("keydown",g).on("paste",(e=>e.stopPropagation())),s.on("keypress",(function(e){","===e.originalEvent.key&&(e.preventDefault(),Ju(s.get(0),"{,}"),I(e))})).on("input paste",I).on("focus blur",(e=>{t.latexField="blur"!==e.type,w()})).on("keydown",g).on("paste",(e=>e.stopPropagation())),{insertNewEquation:A,insertMath:function(e,n,r){t.latexField?(Ju(s.get(0),n||e),I()):t.equationField&&(r?m.write(e):m.typedText(e),~e.indexOf("\\")&&m.keystroke("Spacebar"),setTimeout((()=>m.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:N,redoMath:S};function y(){const e=s.val().trim();h>=0&&td(f)!==e&&(0===h&&(p=[]),f.push(e)),Hu()('[data-js="mathUndo"]').prop("disabled",f.length<=1),Hu()('[data-js="mathRedo"]').prop("disabled",0===p.length),0!==h&&0===m.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=m.latex();s.val(e),b(),M(a.prev(),e),x(),y()}),0)}function b(){const e=Hu()(".render-error");e.empty(),k()&&e.text(i.render_error)}function I(e){e&&e.originalEvent&&e.originalEvent.stopPropagation();const t=s.val();M(a.prev(),t),setTimeout((()=>{m.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 w(){clearTimeout(d),d=setTimeout((()=>{a.trigger({type:"mathfocus",hasFocus:t.latexField||t.equationField}),t.latexField||t.equationField||C()}),0)}function A(e=""){window.document.execCommand("insertHTML",!1,`${e}<img data-js="new" alt="" src="" style="display: none"/>`),T(Hu()('[data-js="new"]').removeAttr("data-js"))}function T(e){e.hide(),e.after(a),u=!0,t.equationField=!0,p=[],f=[],E(!0),setTimeout((()=>m.focus()),0),s.val(e.prop("alt")),setTimeout((()=>{k()&&s.focus()}),2),I(),function(e){const t=Hu()(window),n=t.height()-40,r=n+t.scrollTop(),i=e.offset().top+e.height();r<i&&t.scrollTop(i-n)}(a)}function M(e,t){clearTimeout(o),o=setTimeout((()=>{r(e,t)}),500)}function C(n=!1){const i=a.closest('[data-js="answer"]'),o=a.prev();""===ud(s.val())?o.remove():(o.show(),r(o,s.val())),E(!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 E(e){Hu()("body").toggleClass("math-editor-focus",e)}function N(){1!==f.length&&(h=-1,p.push(f.pop()),m.latex(td(f)),M(a.prev(),m.latex()),s.val(td(f)),y(),x(),b())}function S(){0!==p.length&&(h=1,m.latex(td(p)),s.val(p.pop()),M(a.prev(),m.latex()),y(),x(),b())}function k(){return 0===m.latex().length&&s.val().length>0}}(fd,hd,r,d,p);const e=function(e,t,n){let r;const i=Hu()(`<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(),Hu()("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(),Hu()("body").removeClass("rich-text-editor-overlay-open"),i.addClass("rich-text-editor-hidden"),r.focus())})),o=Hu()(`\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,Hu()("body").addClass("rich-text-editor-overlay-open"),i.removeClass("rich-text-editor-hidden"),i.find('[data-js="overlayModal"]').focus(),Hu()(window).on("keydown.help",(e=>{27===e.keyCode&&(e.stopPropagation(),e.preventDefault(),Hu()("body").removeClass("rich-text-editor-overlay-open"),i.addClass("rich-text-editor-hidden"),Hu()(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(nd.map((e=>`<div class="rich-text-editor-toolbar-characters-group"\n style="width: ${35*od(e)}px">\n ${e.characters.map(id).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(rd.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),Hu().fn.i18n?o.i18n():Hu().fn.localize&&o.localize(),{toolbar:o,helpOverlay:i}}(pd.math,(()=>hd.richText),p);pd.$toolbar=e.toolbar;const t=e.helpOverlay;f&&(Hu()(".rich-text-editor-overlay").remove(),Hu()(".rich-text-editor-tools").remove(),Hu()(".rich-text-editor-hidden").remove()),Hu()("body").append(fd,pd.$toolbar,t)}let h=!1;Hu()(e).attr({contenteditable:!0,spellcheck:!1,"data-js":"answer"}).addClass("rich-text-editor").on("click",Wu,(e=>{1===e.which&&(yd(Hu()(e.target).closest('[data-js="answer"]')),pd.math.openMathEditor(Hu()(e.target)))})).on("keydown",(e=>{!Xu(e,69)||hd.equationField||hd.latexField||(e.preventDefault(),pd.math.insertNewEquation())})).on("mathfocus",(e=>{Hu()(e.currentTarget).toggleClass("rich-text-focused",e.hasFocus),xd()&&vd(pd.$currentEditor)})).on("focus blur",(e=>{"focus"===e.type&&pd.math.closeMathEditor(),function(e){hd.richText="focus"===e.type,Hu()(e.currentTarget).toggleClass("rich-text-focused",hd.richText),clearTimeout(Id),Id=setTimeout((()=>{!Hu()("body").hasClass("rich-text-editor-overlay-open")&&xd()?vd(Hu()(e.target)):yd(Hu()(e.target))}),0)}(e)})).on("input",(e=>{h||n(s||function(e,t,n){const r=Hu()(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 console.log("dsa",a,r.html(),s),{answerHTML:a.trim().length+r.find(Wu).length+r.find(t).length===0?"":(l=s,l.replace(/^(\n|<br ?\/?>)*/g,"").replace(/(\s|<br ?\/?>)*$/g,"")),answerText:ed(a),imageCount:Hu()(`<div>${s}</div>`).find(t).length};var l}(e.currentTarget,l,o))})).on("drop",(e=>{h=!0,setTimeout((()=>{Hu()(e.currentTarget).html(o(e.currentTarget.innerHTML)),sd(Hu()(e.currentTarget),a,c,i),h=!1}),100)})).on("paste",(e=>{h=!0,setTimeout((()=>h=!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)),sd(t,r,i,o)}(e,Hu()(e.currentTarget),a,t,n,r,i):function(e,t,n,r){sd(e,t,n,r,100)}(Hu()(e.currentTarget),t,n,r)}}(e,a,c,i,o)})),setTimeout((()=>document.execCommand("enableObjectResizing",!1,!1)),0)};function gd(e,t){Hu()("body").toggleClass("rich-text-editor-focus",e),t.toggleClass("rich-text-focused",e)}function yd(e){pd.$currentEditor=e,bd(),gd(!0,pd.$currentEditor)}function vd(e){gd(!1,e),bd(),hd.richText=!1}function bd(){const e="rich-text-editor-tools--animating";pd.$toolbar.addClass(e).one("transitionend transitioncancel",(()=>pd.$toolbar.removeClass(e)))}let Id;function xd(){return!hd.richText&&!hd.latexField&&!hd.equationField}function wd(){const n=t().createRef(),r=t().createRef(),{newAnnotation:i,setNewAnnotation:o,newAnnotationRef:a,onSaveAnnotation:s}=(0,e.useContext)(b),[l,c]=(0,e.useState)(""),[u,d]=(0,e.useState)(!1);if((0,e.useEffect)((()=>{a&&r.current&&(function(e,t){const n=t.current;if(e&&n){const t=n.style,r=null==e?void 0:e.getBoundingClientRect(),i=n.getBoundingClientRect(),o=r.height+r.top+window.scrollY,a=window.innerWidth;t.top=`${String(o)}px`,t.opacity="1";const s=r.left+i.width>a;t.left=s?r.right-i.width+"px":`${r.left}px`}}(a,n),r.current.innerHTML=l,md(r.current,{locale:"FI",screenshotSaver:()=>Promise.resolve("")},(e=>{c(e.answerHTML),d(e.answerHTML.trim().length>0)})),r.current.focus())}),[a]),!i)return l&&c(""),null;const f=()=>{o(null),Ad(r.current)};return t().createElement("div",{className:"annotation-popup",style:{position:"absolute",opacity:0},ref:n,"data-testid":"annotation-popup"},t().createElement("div",{className:"comment-content","data-testid":"edit-comment",role:"textbox","aria-multiline":"true",ref:r}),t().createElement("span",{className:"comment-button-area"},t().createElement("span",null,t().createElement("button",{className:"button",onClick:e=>{e.stopPropagation(),Ad(r.current),function(e,t){s({...e,message:t}),f()}(i,l)},"data-testid":"save-comment",disabled:!u},"Vastaa"),t().createElement("button",{className:"button text-button",onClick:f},"Peru"))))}function Ad(e){e.dispatchEvent(new Event("focus",{bubbles:!0,cancelable:!0})),e.dispatchEvent(new Event("blur",{bubbles:!0,cancelable:!0}))}const Td=Un({"audio-group":Bu,"external-material":ju,"question-title":Ru,question:Lu,section:Zu(au)}),Md=()=>{const{t:e}=ii();return t().createElement(t().Fragment,null,e("attachments-page-title"))},Cd=t().memo(Uu(ki((({annotations:n,onClickAnnotation:r,onSaveAnnotation:i})=>{const{root:o,language:a,date:s,dateTimeFormatter:l,dayCode:c,examCode:u,resolveAttachment:d,subjectLanguage:f}=(0,e.useContext)(Si),p=Ne(o,"exam-title"),h=o.getAttribute("exam-stylesheet"),m=Ne(o,"external-material"),g=Ti((()=>ri(a,u,c)));return(0,e.useEffect)(oi(g,a)),(0,e.useEffect)(Ai,[]),t().createElement(I,{annotations:n,onClickAnnotation:r,onSaveAnnotation:i},t().createElement(v,{i18n:g},t().createElement("main",{className:"e-exam attachments",lang:f,"aria-labelledby":ui},t().createElement(wd,null),t().createElement(t().StrictMode,null),h&&t().createElement("link",{rel:"stylesheet",href:d(h)}),t().createElement(Du,{"aria-labelledby":ui},p&&t().createElement(Pu,{id:ui},t().createElement(Md,null),we,Td(p)),t().createElement("div",{className:"e-semibold e-mrg-b-6"},l.format(s)),m&&t().createElement(ju,{element:m,renderChildNodes:Td,forceRender:!0})),Td(o))))}))));function Ed(e){const t=e.documentElement;return jd(t,Ce(t,"section",!1).map(Nd),{maxAnswers:ke(t,"max-answers")})}function Nd(e){return jd(e,Ce(e,"question",!1).map(Sd),{displayNumber:Se(e,"display-number"),minAnswers:ke(e,"min-answers"),maxAnswers:ke(e,"max-answers")})}function Sd(e){const t=Ce(e,"question",!1);return jd(e,t.length?t.map(Sd):Ce(e,["text-answer","scored-text-answer","choice-answer","dropdown-answer"],!1).map(kd),{displayNumber:Se(e,"display-number"),maxAnswers:ke(e,"max-answers")})}function kd(e){return jd(e,[],{displayNumber:Se(e,"display-number"),questionId:ke(e,"question-id"),maxLength:ke(e,"max-length")})}function jd(e,t,n){return{name:e.localName,attributes:n,childNodes:t}}const Dd=function(e,t){var n=-1,r=he(e)?Array(e.length):[];return ye(e,(function(e,i,o){r[++n]=t(e,i,o)})),r},Ld=function(e,t){return(H(e)?gn:Dd)(e,Nn(t))},Od=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},Rd=function(e,t,n,r){return ye(e,(function(e,i,o){t(r,e,n(e),o)})),r};var Pd,zd=(Pd=function(e,t,n){kr(e,n,t)},function(e,t){var n={};return(H(e)?Od:Rd)(e,Pd,Nn(t),n)});const Ud=zd;function Bd(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 Gd=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")(),Zd=()=>Math.random().toString(36).substring(7).split("").join("."),Fd={INIT:`@@redux/INIT${Zd()}`,REPLACE:`@@redux/REPLACE${Zd()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Zd()}`};function Hd(e,t,n){if("function"!=typeof e)throw new Error(Bd(2));if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(Bd(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(Bd(1));return n(Hd)(e,t)}let r=e,i=t,o=new Map,a=o,s=0,l=!1;function c(){a===o&&(a=new Map,o.forEach(((e,t)=>{a.set(t,e)})))}function u(){if(l)throw new Error(Bd(3));return i}function d(e){if("function"!=typeof e)throw new Error(Bd(4));if(l)throw new Error(Bd(5));let t=!0;c();const n=s++;return a.set(n,e),function(){if(t){if(l)throw new Error(Bd(6));t=!1,c(),a.delete(n),o=null}}}function f(e){if(!function(e){if("object"!=typeof e||null===e)return!1;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}(e))throw new Error(Bd(7));if(void 0===e.type)throw new Error(Bd(8));if("string"!=typeof e.type)throw new Error(Bd(17));if(l)throw new Error(Bd(9));try{l=!0,i=r(i,e)}finally{l=!1}return(o=a).forEach((e=>{e()})),e}return f({type:Fd.INIT}),{dispatch:f,subscribe:d,getState:u,replaceReducer:function(e){if("function"!=typeof e)throw new Error(Bd(10));r=e,f({type:Fd.REPLACE})},[Gd]:function(){const e=d;return{subscribe(t){if("object"!=typeof t||null===t)throw new Error(Bd(11));function n(){const e=t;e.next&&e.next(u())}return n(),{unsubscribe:e(n)}},[Gd](){return this}}}}}function _d(...e){return 0===e.length?e=>e:1===e.length?e[0]:e.reduce(((e,t)=>(...n)=>e(t(...n))))}var Yd=function(e){return"@@redux-saga/"+e},qd=Yd("CANCEL_PROMISE"),Vd=Yd("CHANNEL_END"),Wd=Yd("IO"),Qd=Yd("MATCH"),Jd=Yd("MULTICAST"),Xd=Yd("SAGA_ACTION"),Kd=Yd("SELF_CANCELLATION"),$d=Yd("TASK"),ef=Yd("TASK_CANCEL"),tf=Yd("TERMINATE"),nf=Yd("LOCATION");function rf(){return rf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},rf.apply(null,arguments)}function of(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}var af=function(e){return null==e},sf=function(e){return null!=e},lf=function(e){return"function"==typeof e},cf=function(e){return"string"==typeof e},uf=Array.isArray,df=function(e){return e&&lf(e.then)},ff=function(e){return e&&lf(e.next)&&lf(e.throw)},pf=function e(t){return t&&(cf(t)||gf(t)||lf(t)||uf(t)&&t.every(e))},hf=function(e){return e&&lf(e.take)&&lf(e.close)},mf=function(e){return lf(e)&&e.hasOwnProperty("toString")},gf=function(e){return Boolean(e)&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype},yf=function(e){return hf(e)&&e[Jd]};const vf=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[qd]=function(){clearTimeout(n)},r};var bf=function(e){return function(){return true}}(),If=function(){},xf=function(e){return e};"function"==typeof Symbol&&Symbol.asyncIterator&&Symbol.asyncIterator;var wf=function(e,t){rf(e,t),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach((function(n){e[n]=t[n]}))};function Af(e,t){var n=e.indexOf(t);n>=0&&e.splice(n,1)}function Tf(e){var t=!1;return function(){t||(t=!0,e())}}var Mf=function(e){throw e},Cf=function(e){return{value:e,done:!0}};function Ef(e,t,n){void 0===t&&(t=Mf),void 0===n&&(n="iterator");var r={meta:{name:n},next:e,throw:t,return:Cf,isSagaIterator:!0};return"undefined"!=typeof Symbol&&(r[Symbol.iterator]=function(){return r}),r}function Nf(e,t){var n=t.sagaStack;console.error(e),console.error(n)}var Sf=function(e){return Array.apply(null,new Array(e))},kf=function(e){return function(t){return e(Object.defineProperty(t,Xd,{value:!0}))}},jf=function(e){return e===tf},Df=function(e){return e===ef},Lf=function(e){return jf(e)||Df(e)};function Of(e,t){var n,r=Object.keys(e),i=r.length,o=0,a=uf(e)?Sf(i):{},s={};return r.forEach((function(e){var r=function(r,s){n||(s||Lf(r)?(t.cancel(),t(r,s)):(a[e]=r,++o===i&&(n=!0,t(a))))};r.cancel=If,s[e]=r})),t.cancel=function(){n||(n=!0,r.forEach((function(e){return s[e].cancel()})))},s}function Rf(e){return{name:e.name||"anonymous",location:Pf(e)}}function Pf(e){return e[nf]}function zf(){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 Uf={isEmpty:bf,put:If,take:If};var Bf=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 4: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,4)},Gf="TAKE",Zf="PUT",Ff="RACE",Hf="CALL",_f="FORK",Yf="CANCEL",qf="SELECT",Vf="CANCELLED",Wf=function(e,t){var n;return(n={})[Wd]=!0,n.combinator=!1,n.type=e,n.payload=t,n};function Qf(e,t){return void 0===e&&(e="*"),pf(e)?(sf(t)&&console.warn("take(pattern) takes one argument but two were provided. Consider passing an array for listening to several action types"),Wf(Gf,{pattern:e})):yf(e)&&sf(t)&&pf(t)?Wf(Gf,{channel:e,pattern:t}):hf(e)?(sf(t)&&console.warn("take(channel) takes one argument but two were provided. Second argument is ignored."),Wf(Gf,{channel:e})):void 0}function Jf(e,t){return af(t)&&(t=e,e=void 0),Wf(Zf,{channel:e,action:t})}function Xf(e,t){var n,r=null;return lf(e)?n=e:(uf(e)?(r=e[0],n=e[1]):(r=e.context,n=e.fn),r&&cf(n)&&lf(r[n])&&(n=r[n])),{context:r,fn:n,args:t}}function Kf(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 Wf(Hf,Xf(e,n))}function $f(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 Wf(_f,Xf(e,n))}function ep(e){return void 0===e&&(e=Kd),Wf(Yf,e)}var tp=Kf.bind(null,vf);const np=function(){var e={};return e.promise=new Promise((function(t,n){e.resolve=t,e.reject=n})),e};var rp=[],ip=0;function op(e){try{lp(),e()}finally{cp()}}function ap(e){rp.push(e),ip||(lp(),up())}function sp(e){try{return lp(),e()}finally{up()}}function lp(){ip++}function cp(){ip--}function up(){var e;for(cp();!ip&&void 0!==(e=rp.shift());)op(e)}var dp=function(e){return function(t){return e.some((function(e){return gp(e)(t)}))}},fp=function(e){return function(t){return e(t)}},pp=function(e){return function(t){return t.type===String(e)}},hp=function(e){return function(t){return t.type===e}},mp=function(){return bf};function gp(e){var t="*"===e?mp:cf(e)?pp:uf(e)?dp:mf(e)?pp:lf(e)?fp:gf(e)?hp:null;if(null===t)throw new Error("invalid pattern: "+e);return t(e)}var yp={type:Vd},vp=function(e){return e&&e.type===Vd};function bp(e){void 0===e&&(e=Bf());var t=!1,n=[];return{take:function(r){t&&e.isEmpty()?r(yp):e.isEmpty()?(n.push(r),r.cancel=function(){Af(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(yp):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])(yp)}}}}function Ip(){var e=function(){var e,t=!1,n=[],r=n,i=function(){r===n&&(r=n.slice())},o=function(){t=!0;var e=n=r;r=[],e.forEach((function(e){e(yp)}))};return(e={})[Jd]=!0,e.put=function(e){if(!t)if(vp(e))o();else for(var i=n=r,a=0,s=i.length;a<s;a++){var l=i[a];l[Qd](e)&&(l.cancel(),l(e))}},e.take=function(e,n){void 0===n&&(n=mp),t?e(yp):(e[Qd]=n,i(),r.push(e),e.cancel=Tf((function(){i(),Af(r,e)})))},e.close=o,e}(),t=e.put;return e.put=function(e){e[Xd]?t(e):ap((function(){t(e)}))},e}var xp=0,wp=1,Ap=2,Tp=3;function Mp(e,t){var n=e[qd];lf(n)&&(t.cancel=n),e.then(t,(function(e){t(e,!0)}))}var Cp,Ep=0,Np=function(){return++Ep};function Sp(e){e.isRunning()&&e.cancel()}var kp=((Cp={})[Gf]=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):!vp(e)||a?n(e):n(tf)};try{i.take(s,sf(o)?gp(o):null)}catch(e){return void n(e,!0)}n.cancel=s.cancel},Cp[Zf]=function(e,t,n){var r=t.channel,i=t.action,o=t.resolve;ap((function(){var t;try{t=(r?r.put:e.dispatch)(i)}catch(e){return void n(e,!0)}o&&df(t)?Mp(t,n):n(t)}))},Cp.ALL=function(e,t,n,r){var i=r.digestEffect,o=Ep,a=Object.keys(t);if(0!==a.length){var s=Of(t,n);a.forEach((function(e){i(t[e],o,s[e],e)}))}else n(uf(t)?[]:{})},Cp[Ff]=function(e,t,n,r){var i=r.digestEffect,o=Ep,a=Object.keys(t),s=uf(t)?Sf(a.length):{},l={},c=!1;a.forEach((function(e){var t=function(t,r){c||(r||Lf(t)?(n.cancel(),n(t,r)):(n.cancel(),c=!0,s[e]=t,n(s)))};t.cancel=If,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)}))},Cp[Hf]=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(df(l))return void Mp(l,n);if(ff(l))return void Gp(e,l,s.context,Ep,Rf(o),!1,n);n(l)}catch(e){n(e,!0)}},Cp.CPS=function(e,t,n){var r=t.context,i=t.fn,o=t.args;try{var a=function(e,t){af(e)?n(t):n(e,!0)};i.apply(r,o.concat(a)),a.cancel&&(n.cancel=a.cancel)}catch(e){n(e,!0)}},Cp[_f]=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(ff(i))return i;var o=!1;return Ef((function(e){return o?{value:e,done:!0}:(o=!0,{value:i,done:!df(i)})}))}catch(e){return Ef((function(){throw e}))}}({context:i,fn:o,args:a}),u=function(e,t){return e.isSagaIterator?{name:e.meta.name}:Rf(t)}(c,o);sp((function(){var t=Gp(e,c,l.context,Ep,u,s,void 0);s?n(t):t.isRunning()?(l.queue.addTask(t),n(t)):t.isAborted()?l.queue.abort(t.error()):n(t)}))},Cp.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()&&Af(e.joiners,n)},e.joiners.push(n)}else e.isAborted()?t(e.error(),!0):t(e.result())};if(uf(t)){if(0===t.length)return void n([]);var a=Of(t,n);t.forEach((function(e,t){o(e,a[t])}))}else o(t,n)},Cp[Yf]=function(e,t,n,r){var i=r.task;t===Kd?Sp(i):uf(t)?t.forEach(Sp):Sp(t),n()},Cp[qf]=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)}},Cp.ACTION_CHANNEL=function(e,t,n){var r=t.pattern,i=bp(t.buffer),o=gp(r),a=function t(n){vp(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)},Cp[Vf]=function(e,t,n,r){n(r.task.isCancelled())},Cp.FLUSH=function(e,t,n){t.flush(n)},Cp.GET_CONTEXT=function(e,t,n,r){n(r.task.context[t])},Cp.SET_CONTEXT=function(e,t,n,r){var i=r.task;wf(i.context,t),n()},Cp);function jp(e,t){return e+"?"+t}function Dp(e){var t=e.name,n=e.location;return n?t+" "+jp(n.fileName,n.lineNumber):t}function Lp(e){var t=function(e,t){var n;return(n=[]).concat.apply(n,t.map((function(e){return e.cancelledTasks})))}(0,e);return t.length?["Tasks cancelled due to error:"].concat(t).join("\n"):""}var Op=null,Rp=[],Pp=function(e){e.crashedEffect=Op,Rp.push(e)},zp=function(){Op=null,Rp.length=0},Up=function(e){Op=e},Bp=function(){var e,t,n=Rp[0],r=Rp.slice(1),i=n.crashedEffect?(e=n.crashedEffect,(t=Pf(e))?t.code+" "+jp(t.fileName,t.lineNumber):""):null;return["The above error occurred in task "+Dp(n.meta)+(i?" \n when executing effect "+i:"")].concat(r.map((function(e){return" created by "+Dp(e.meta)})),[Lp(Rp)]).join("\n")};function Gp(e,t,n,r,i,o,a){var s=e.finalizeRunEffect((function(t,n,r){df(t)?Mp(t,r):ff(t)?Gp(e,t,c.context,n,i,!1,r):t&&t[Wd]?(0,kp[t.type])(e,t.payload,r,u):r(t)}));d.cancel=If;var l={meta:i,cancel:function(){l.status===xp&&(l.status=wp,d(ef))},status:xp},c=function(e,t,n,r,i,o,a){var s;void 0===a&&(a=If);var l,c,u=xp,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||(Af(i,t),t.cont=If,l?a(s):(t===e&&(r=s),i.length||(o=!0,n(r))))}}function l(){o||(o=!0,i.forEach((function(e){e.cont=If,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})))}),m);function m(t,n){if(n){if(u=Ap,Pp({meta:i,cancelledTasks:f}),g.isRoot){var r=Bp();zp(),e.onError(t,{sagaStack:r})}c=t,d&&d.reject(t)}else t===ef?u=wp:u!==wp&&(u=Tp),l=t,d&&d.resolve(t);g.cont(t,n),g.joiners.forEach((function(e){e.cb(t,n)})),g.joiners=null}var g=((s={})[$d]=!0,s.id=r,s.meta=i,s.isRoot=o,s.context=p,s.joiners=[],s.queue=h,s.cancel=function(){u===xp&&(u=wp,h.cancelAll(),m(ef,!1))},s.cont=a,s.end=m,s.setContext=function(e){wf(p,e)},s.toPromise=function(){return d||(d=np(),u===Ap?d.reject(c):u!==xp&&d.resolve(l)),d.promise},s.isRunning=function(){return u===xp},s.isCancelled=function(){return u===wp||u===xp&&t.status===wp},s.isAborted=function(){return u===Ap},s.result=function(){return l},s.error=function(){return c},s);return g}(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),zp()):Df(e)?(l.status=wp,d.cancel(),i=lf(t.return)?t.return(ef):{done:!0,value:ef}):i=jf(e)?lf(t.return)?t.return():{done:!0}:t.next(e),i.done?(l.status!==wp&&(l.status=Tp),l.cont(i.value)):f(i.value,r,d)}catch(e){if(l.status===wp)throw e;l.status=Ap,l.cont(e,!0)}}function f(t,n,r,i){void 0===i&&(i="");var o,a=Np();function l(n,i){o||(o=!0,r.cancel=If,e.sagaMonitor&&(i?e.sagaMonitor.effectRejected(a,n):e.sagaMonitor.effectResolved(a,n)),i&&Up(t),r(n,i))}e.sagaMonitor&&e.sagaMonitor.effectTriggered({effectId:a,parentEffectId:n,label:i,effect:t}),l.cancel=If,r.cancel=function(){o||(o=!0,l.cancel(),l.cancel=If,e.sagaMonitor&&e.sagaMonitor.effectCancelled(a))},s(t,a,l)}}function Zp(e,t){for(var n=e.channel,r=void 0===n?Ip():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?Nf:u,f=arguments.length,p=new Array(f>2?f-2:0),h=2;h<f;h++)p[h-2]=arguments[h];var m,g=t.apply(void 0,p),y=Np();if(l&&(l.rootSagaStarted=l.rootSagaStarted||If,l.effectTriggered=l.effectTriggered||If,l.effectResolved=l.effectResolved||If,l.effectRejected=l.effectRejected||If,l.effectCancelled=l.effectCancelled||If,l.actionDispatched=l.actionDispatched||If,l.rootSagaStarted({effectId:y,saga:t,args:p})),c){var v=zf.apply(void 0,c);m=function(e){return function(t,n,r){return v((function(t){return e(t,n,r)}))(t)}}}else m=xf;var b={channel:r,dispatch:kf(i),getState:o,sagaMonitor:l,onError:d,finalizeRunEffect:m};return sp((function(){var e=Gp(b,g,s,y,Rf(t),!0,void 0);return l&&l.effectResolved(y,e),e}))}const Fp=function(e){var t,n=void 0===e?{}:e,r=n.context,i=void 0===r?{}:r,o=n.channel,a=void 0===o?Ip():o,s=n.sagaMonitor,l=of(n,["context","channel","sagaMonitor"]);function c(e){var n=e.getState,r=e.dispatch;return t=Zp.bind(null,rf({},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){wf(i,e)},c};var Hp=function(e){return{done:!0,value:e}},_p={};function Yp(e){return hf(e)?"channel":mf(e)?String(e):lf(e)?e.name:String(e)}function qp(e,t,n){var r,i,o,a=t;function s(t,n){if(a===_p)return Hp(t);if(n&&!i)throw a=_p,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===_p?Hp(t):o}return Ef(s,(function(e){return s(null,e)}),n)}function Vp(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:Qf(e)},s=function(e){return o=e};return qp({q1:function(){return{nextState:"q2",effect:a,stateUpdater:s}},q2:function(){return{nextState:"q1",effect:(e=o,{done:!1,value:$f.apply(void 0,[t].concat(r,[e]))})};var e}},"q1","takeEvery("+Yp(e)+", "+t.name+")")}function Wp(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:Qf(e)},l=function(e){return{done:!1,value:$f.apply(void 0,[t].concat(r,[e]))}},c=function(e){return{done:!1,value:ep(e)}},u=function(e){return o=e},d=function(e){return a=e};return qp({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("+Yp(e)+", "+t.name+")")}const Qp=function(e,t){return zr(Ld(e,t),1)};function Jp(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,elementType:"question"}]:e}return e})(n,r))}([],e)}(e)}function Xp(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=Qp(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 Kp(e,t){return Qp([Jp,Xp],(n=>n(e,t)))}const $p={answersById:{},examStructure:{name:"exam",attributes:{},childNodes:[]},focusedQuestionId:null,supportsAnswerHistory:!1,serverQuestionIds:new Set,savedQuestionIds:new Set,validationErrors:[]};function eh(e,t){const n=new Set(e);return n.add(t),n}const th=e=>(0,Hc.action)("SAVE_ANSWER",e),nh=e=>(0,Hc.action)("SAVE_ANSWER_SUCCEEDED",e),rh=(e,t)=>(0,Hc.action)("SAVE_ANSWER_FAILED",{answer:e,error:t},void 0,!0),ih=new Map;function*oh(e,t){const n=e.payload;try{yield tp(1e3),yield Kf(t.saveAnswer,n),yield Jf(nh(n))}catch(e){yield Jf(rh(n,e))}ih.delete(n.questionId)}function*ah(e){for(;;){const t=yield Qf("SAVE_ANSWER"),n=ih.get(t.payload.questionId);n&&(yield ep(n));const r=yield $f(oh,t,e);ih.set(t.payload.questionId,r)}}function*sh(e){for(;e.selectAnswerVersion;){const t=yield Qf("SELECT_ANSWER_VERSION"),{questionId:n,questionText:r}=t.payload;e.logActivity&&(yield Kf(e.logActivity,`Opened answer version history for question ${n}, ${r}`));try{const t=yield Kf(e.selectAnswerVersion,n,r);t&&(yield Jf(th(t)),e.logActivity&&(yield Kf(e.logActivity,`Restored answer version for question ${n}, ${r}`)))}catch(e){console.error(e)}}}function*lh(e){yield $f(ah,e),yield $f(sh,e)}const ch=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?kr(n,s,l):Dr(n,s,l)}return n};var uh=Object.prototype.hasOwnProperty;const dh=function(e){if(!fe(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=le(e),n=[];for(var r in e)("constructor"!=r||!t&&uh.call(e,r))&&n.push(r);return n},fh=function(e){return he(e)?ae(e,!0):dh(e)};var ph="object"==typeof exports&&exports&&!exports.nodeType&&exports,hh=ph&&"object"==typeof module&&module&&!module.nodeType&&module,mh=hh&&hh.exports===ph?N.Buffer:void 0,gh=mh?mh.allocUnsafe:void 0;const yh=ce(Object.getPrototypeOf,Object),vh=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)At(t,St(e)),e=yh(e);return t}:Mt,bh=function(e){return Tt(e,fh,vh)};var Ih=Object.prototype.hasOwnProperty;const xh=function(e){var t=new e.constructor(e.byteLength);return new vt(t).set(new vt(e)),t};var wh=/\w*$/;var Ah=S?S.prototype:void 0,Th=Ah?Ah.valueOf:void 0;const Mh=function(e,t,n){var r=e.constructor;switch(t){case"[object ArrayBuffer]":return xh(e);case"[object Boolean]":case"[object Date]":return new r(+e);case"[object DataView]":return function(e,t){var n=t?xh(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?xh(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,wh.exec(e));return t.lastIndex=e.lastIndex,t}(e);case"[object Symbol]":return function(e){return Th?Object(Th.call(e)):{}}(e)}};var Ch=Object.create;const Eh=function(){function e(){}return function(t){if(!fe(t))return{};if(Ch)return Ch(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();var Nh=ne&&ne.isMap;const Sh=Nh?K(Nh):function(e){return z(e)&&"[object Map]"==Vt(e)};var kh=ne&&ne.isSet;const jh=kh?K(kh):function(e){return z(e)&&"[object Set]"==Vt(e)};var Dh="[object Arguments]",Lh="[object Function]",Oh="[object Object]",Rh={};Rh[Dh]=Rh["[object Array]"]=Rh["[object ArrayBuffer]"]=Rh["[object DataView]"]=Rh["[object Boolean]"]=Rh["[object Date]"]=Rh["[object Float32Array]"]=Rh["[object Float64Array]"]=Rh["[object Int8Array]"]=Rh["[object Int16Array]"]=Rh["[object Int32Array]"]=Rh["[object Map]"]=Rh["[object Number]"]=Rh[Oh]=Rh["[object RegExp]"]=Rh["[object Set]"]=Rh["[object String]"]=Rh["[object Symbol]"]=Rh["[object Uint8Array]"]=Rh["[object Uint8ClampedArray]"]=Rh["[object Uint16Array]"]=Rh["[object Uint32Array]"]=!0,Rh["[object Error]"]=Rh[Lh]=Rh["[object WeakMap]"]=!1;const Ph=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(!fe(t))return t;var d=H(t);if(d){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Ih.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=Vt(t),p=f==Lh||"[object GeneratorFunction]"==f;if(V(t))return function(e,t){if(t)return e.slice();var n=e.length,r=gh?gh(n):new e.constructor(n);return e.copy(r),r}(t,l);if(f==Oh||f==Dh||p&&!o){if(s=c||p?{}:function(e){return"function"!=typeof e.constructor||le(e)?{}:Eh(yh(e))}(t),!l)return c?function(e,t){return ch(e,vh(e),t)}(t,function(e,t){return e&&ch(t,fh(t),e)}(s,t)):function(e,t){return ch(e,St(e),t)}(t,function(e,t){return e&&ch(t,me(t),e)}(s,t))}else{if(!Rh[f])return o?t:{};s=Mh(t,f,l)}}a||(a=new ft);var h=a.get(t);if(h)return h;a.set(t,s),jh(t)?t.forEach((function(i){s.add(e(i,n,r,i,t,a))})):Sh(t)&&t.forEach((function(i,o){s.set(o,e(i,n,r,o,t,a))}));var m=d?void 0:(u?c?bh:kt:c?fh:me)(t);return w(m||t,(function(i,o){m&&(i=t[o=i]),Dr(s,o,e(i,n,r,o,t,a))})),s},zh=function(e,t){return null==(e=function(e,t){return t.length<2?e:An(e,Sn(t,0,-1))}(e,t=xn(t,e)))||delete e[wn(Er(t))]};var Uh=Function.prototype,Bh=Object.prototype,Gh=Uh.toString,Zh=Bh.hasOwnProperty,Fh=Gh.call(Object);const Hh=function(e){return function(e){if(!z(e)||"[object Object]"!=P(e))return!1;var t=yh(e);if(null===t)return!0;var n=Zh.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Gh.call(n)==Fh}(e)?void 0:e},_h=Hr((function(e,t){var n={};if(null==e)return n;var r=!1;t=gn(t,(function(t){return t=xn(t,e),r||(r=t.length>1),t})),ch(e,bh(e),n),r&&(n=Ph(n,7,Hh));for(var i=t.length;i--;)zh(n,t[i]);return n})),Yh={errors:{},nowPlaying:null,playbackTimes:{}},qh=e=>function(t,n){void 0===n&&(n=Uf);var r,i=!1,o=bp(n),a=function(){i||(i=!0,lf(r)&&r(),o.close())};return r=Tf(r=(t=>{const n=setInterval((()=>{--e>0?t(e):(t(yp),clearInterval(n))}),1e3);return()=>clearInterval(n)})((function(e){vp(e)?a():o.put(e)}))),i&&r(),{take:o.take,flush:o.flush,close:a}}();function*Vh(e,t){const n=yield Kf(qh,e);try{for(;;){const e=yield Qf(n);yield Jf(t(e))}}finally{(yield Wf(Vf,{}))&&n.close()}}function*Wh(e,t){const n=t.payload;try{const t=null!=n.restrictedAudioId?yield function(e){void 0===e&&(e=xf);for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Wf(qf,{selector:e,args:n})}(fo(n.restrictedAudioId)):void 0,r=n.audioRef&&n.audioRef.current?yield function(e,t,n){return null!=n&&null!=t.restrictedAudioId?async function(e,t,n,r){try{const i=await e.getRestrictedAudio("",t,r),o=n.querySelector("source");return o.src=URL.createObjectURL(i),n.load(),n.play(),{response:"ok",cleanup:()=>{URL.revokeObjectURL(o.src)}}}catch(e){return{response:"other-error",cleanup:()=>{}}}}(e,t.restrictedAudioId,t.audioRef.current,n):(t.audioRef.current.play(),{response:"ok"})}(e,n,t):yield function*(e,t,n){return{response:null!=n&&null!=t.restrictedAudioId?yield Kf(e.playRestrictedAudio,t.src,t.restrictedAudioId,n):yield Kf(e.playAudio,t.src)}}(e,n,t);"ok"===r.response?(yield Jf(Yc(n)),yield Kf(Vh,n.duration,Qc),yield Jf(qc())):(yield Jf(Vc(n,r.response)),yield tp(5e3),yield Jf(Wc(n))),r.cleanup&&r.cleanup()}catch(e){console.error(e)}}function*Qh(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 $f.apply(void 0,[Vp,e,t].concat(r))}("PLAY_AUDIO",Wh,e)}const Jh={casStatus:"forbidden"},{createAction:Xh}=Hc.deprecated,Kh=e=>(0,Hc.action)("ALLOW_CAS_COUNTDOWN",e),$h=Xh("ALLOW_CAS_SUCCEEDED"),em=Xh("ALLOW_CAS_CANCELLED"),tm=e=>(0,Hc.action)("UPDATE_CAS_REMAINING",e);function*nm(e,{payload:t}){try{if("allowed"===(yield Kf(e.setCasStatus,"allowing")))return void(yield Jf($h()));yield Jf(Kh(t));const{cancelled:i}=yield(n={finished:Kf(Vh,t,tm),cancelled:Qf("ALLOW_CAS_CANCELLED")},r=Wf(Ff,n),r.combinator=!0,r);"allowed"===(yield Kf(e.setCasStatus,i?"forbidden":"allowed"))?yield Jf($h()):i||(yield Jf(em()))}catch(e){console.error(e)}var n,r}function*rm(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 $f.apply(void 0,[Wp,e,t].concat(r))}("ALLOW_CAS",nm,e)}const im=function(e){const t=Object.keys(e),n={};for(let r=0;r<t.length;r++){const i=t[r];"function"==typeof e[i]&&(n[i]=e[i])}const r=Object.keys(n);let i;try{!function(e){Object.keys(e).forEach((t=>{const n=e[t];if(void 0===n(void 0,{type:Fd.INIT}))throw new Error(Bd(12));if(void 0===n(void 0,{type:Fd.PROBE_UNKNOWN_ACTION()}))throw new Error(Bd(13))}))}(n)}catch(e){i=e}return function(e={},t){if(i)throw i;let o=!1;const a={};for(let i=0;i<r.length;i++){const s=r[i],l=n[s],c=e[s],u=l(c,t);if(void 0===u)throw t&&t.type,new Error(Bd(14));a[s]=u,o=o||u!==c}return o=o||r.length!==Object.keys(e).length,o?a:e}}({answers:function(e=$p,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=eh(e.savedQuestionIds,n),i=eh(e.serverQuestionIds,n),o=Kp(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=Yh,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=_h(e.errors,[n.src]);return{...e,playbackTimes:r,errors:i}}return e}case"SHOW_AUDIO_ERROR":{const{audio:n,error:r}=t.payload,i=Tn(n,"restrictedAudioId",n.src),o={...e.errors,[i]:r};return{...e,errors:o,nowPlaying:null}}case"HIDE_AUDIO_ERROR":{const n=t.payload,r=Tn(n,"restrictedAudioId",n.src),i=_h(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=Jh,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*om(e){yield $f(lh,e),yield $f(Qh,e),yield $f(rm,e)}function am(e,t,n,r,i){const o=new Set(Ld(n,"questionId")),a=function(e,t){var n={};return t=Nn(t),ge(e,(function(e,r,i){kr(n,r,t(e,r,i))})),n}(Ud(r,"restrictedAudioId"),"times"),s=Ud(n,"questionId"),l={answers:{answersById:s,focusedQuestionId:null,serverQuestionIds:o,supportsAnswerHistory:"function"==typeof i.selectAnswerVersion,savedQuestionIds:o,examStructure:e,validationErrors:Kp(e,s)},audio:{errors:{},nowPlaying:null,playbackTimes:a},cas:{casStatus:t}},c=Fp(),u=(window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__||_d)(function(...e){return t=>(n,r)=>{const i=t(n,r);let o=()=>{throw new Error(Bd(15))};const a={getState:i.getState,dispatch:(e,...t)=>o(e,...t)},s=e.map((e=>e(a)));return o=_d(...s)(i.dispatch),{...i,dispatch:o}}}(c)),d=Hd(im,l,u);return c.run(om,i),d}const sm=t().memo((function({element:e,className:n,renderChildNodes:r}){return t().createElement("div",{className:Ui()("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))})),lm=t().memo((function({element:n}){const r=n.getAttribute("src"),i=ke(n,"duration"),{t:o}=ii(),a=Ji(co(r)),s=Ji(uo(r)),l=lo(),{abitti2:c,resolveAttachment:u}=(0,e.useContext)(Si),d=(0,e.useRef)(null);return t().createElement("div",{className:"e-audio-test notification e-pad-2 e-mrg-b-4"},t().createElement("p",null,o("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"},c&&t().createElement("audio",{ref:d,preload:"none"},t().createElement("source",{src:u(r)})),t().createElement("button",{className:"e-button",disabled:"stopped"!==a,onClick:()=>"stopped"===a&&l(_c({src:r,duration:i,audioRef:d}))},t().createElement($l,{className:"e-mrg-r-1",icon:wo,fixedWidth:!0}),o("audio-test.play"))),t().createElement("div",{className:"e-column"},t().createElement(Fc,{error:s},we))),t().createElement("div",null,o("audio-test.volume")))})),cm=({children:e})=>t().createElement("footer",{className:"e-footer"},e),um=Un({}),dm=t().memo((function(n){const{root:r}=(0,e.useContext)(Si),{t:i}=ii(),o=Ce(r,"reference").filter((e=>null==Ee(e,"external-material")));return o.length>0?t().createElement(Du,{"aria-labelledby":di},t().createElement("h2",{id:di},i("references.heading")),t().createElement("ol",{className:"e-list-data","data-annotation-anchor":di},o.map(((e,n)=>{const r=Ee(e,"question").getAttribute("display-number");return t().createElement("li",{"data-list-number":Ou(r),key:`${r}${n}`},t().createElement(uu,{element:e,renderChildNodes:um}))})))):null})),fm=(0,e.memo)((e=>{const{id:n,type:r,answer:i,error:o,displayNumber:a}=e,s=null==i?void 0:i.value,l="richText"===(null==i?void 0:i.type),c=l&&(null==s?void 0:s.includes('src="/math.svg?latex=')),u=l&&((null==s?void 0:s.includes('<img src="/screenshot/'))||(null==s?void 0:s.includes('<img src="data:image/png;')));return t().createElement("div",{key:n,className:Ui()("answer-indicator",{ok:s,error:o,big:"rich-text"===r}),"data-indicator-id":n,onClick:e=>{e.stopPropagation(),window.location.href=`#question-nr-${a}`}},"richText"===(null==i?void 0:i.type)&&t().createElement(t().Fragment,null,l&&(null==i?void 0:i.characterCount)&&t().createElement("span",null,i.characterCount)||"",c&&t().createElement("span",{className:"formula"},"∑"),u&&t().createElement("span",{className:"img"},t().createElement($l,{icon:vo,size:"lg"}))))})),pm=({element:n,renderChildNodes:r})=>{var i;const{attachmentsURL:o}=(0,e.useContext)(Si),{displayNumber:a,maxScore:s,level:l}=(0,e.useContext)(Cu),{t:c}=ii(),{isInSidebar:u}=(0,e.useContext)(x),d=Ne(n,"question-title"),f=null!=a&&Me(n,"external-material"),p=[];let h={},m=!1;if(u){const e=Ji((e=>e.answers));h=(null==e?void 0:e.answersById)||{};const t=n.querySelectorAll("[question-id]"),r=null===(i=e.validationErrors)||void 0===i?void 0:i.filter((e=>"question"===(null==e?void 0:e.elementType)));m=!!(null==r?void 0:r.find((e=>e.displayNumber===a))),t.forEach((e=>{var t;const n=Number(e.getAttribute("question-id")),i=e.getAttribute("type")||"",o=e.getAttribute("display-number")||"",a=!!(null==r?void 0:r.find((e=>e.displayNumber===o))),s=r.flatMap((e=>"childQuestions"in e?e.childQuestions:[])).includes(o),l=!!(null===(t=h[n])||void 0===t?void 0:t.value);n&&p.push({id:n,type:i,error:a||s&&l,displayNumber:Number(o)})}))}const g=!!p.find((e=>e.error)),y=null==p?void 0:p.filter((e=>{var t;return null===(t=h[e.id])||void 0===t?void 0:t.value})).length,v=Number(n.getAttribute("max-answers"))||p.length,b=Pe("question",a);return t().createElement("li",{"data-list-number":`${a}.`,onClick:()=>u?window.location.href=`#question-nr-${a}`:void 0,className:Ui()(`level-${l}`,{error:m,current:b})},t().createElement("span",{className:"e-column e-question-title"},t().createElement("a",{href:Mi("",{hash:`question-nr-${a}`}),tabIndex:u?-1:void 0},t().createElement("span",null,r(d)))),u&&t().createElement("div",{className:Ui()("numeric-answer-indicator",{error:g,ok:y===v})},y,"/",v),!u&&f&&t().createElement("span",{className:"e-column e-column--narrow e-external-material"},t().createElement("a",{href:Mi(o,{hash:Se(Ee(f,"question"),"display-number")}),target:"attachments"},c("material"))),t().createElement("span",{className:"e-column e-column--narrow table-of-contents--score-column"},c("points",{count:s})),u&&t().createElement("span",{className:"e-column e-column--narrow e-external-material"},f&&t().createElement($l,{size:"sm",icon:Io,fixedWidth:!0})),t().createElement("div",{className:"answers"},p.map((e=>t().createElement(fm,{key:e.id,type:e.type,id:e.id,answer:h[e.id],error:e.error,displayNumber:e.displayNumber})))," "))},hm=t().memo((function({maxAnswers:e,minAnswers:n,elementType:r,childQuestions:i}){const o=i.map((e=>{return"string"==typeof(t=e)||!H(t)&&z(t)&&"[object String]"==P(t)?e:e.getAttribute("display-number");var t})),{t:a}=ii(),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=[Cr(o),Er(o)];return t().createElement(t().Fragment,null,a(s,{answerCount:l,questions:c}))})),mm=({element:n,renderChildNodes:r})=>{const{sections:i}=(0,e.useContext)(Si),{childQuestions:o,displayNumber:a,minAnswers:s,maxAnswers:l}=(0,e.useContext)(Gu),{t:c}=ii(),{isInSidebar:u}=(0,e.useContext)(x),d=u&&!!Ji((e=>{var t,n;return null===(n=null===(t=e.answers)||void 0===t?void 0:t.validationErrors)||void 0===n?void 0:n.find((e=>e.displayNumber===a&&"section"===(null==e?void 0:e.elementType)))})),f=Pe("section",a);return t().createElement("div",{className:f?"current":""},n.hasChildNodes()&&t().createElement("div",{className:"toc-section-header-container"},t().createElement("h4",{className:"toc-section-header",id:yi(a)},i.length>1&&c("section",{displayNumber:a})," ",r(n))),l&&t().createElement("div",{style:{display:"grid"},className:`answer-instructions-container section-${a}`},t().createElement("div",{className:Ui()("answer-instructions",{error:d})},d&&t().createElement("div",{className:"error-mark"},"!"),t().createElement("span",{className:"error-reason"},t().createElement(hm,{maxAnswers:l,minAnswers:s,childQuestions:o,elementType:"toc-section"})))))},gm=({element:n,answers:r,renderChildNodes:i})=>{const{displayNumber:o}=(0,e.useContext)(Gu),a=Ne(n,"section-title");return t().createElement("li",{"data-section-id":o},a&&t().createElement(mm,{element:a,renderChildNodes:i,answers:r}),t().createElement("ol",{className:"e-list-data e-pad-l-0","aria-labelledby":a&&yi(o)},i(n,1)))},ym=n=>{const{showAnsweringInstructions:r,isInSidebar:i}=n,o=Un({section:Zu(gm),question:Eu(pm)});return t().memo((()=>{const{root:n,maxScore:a}=(0,e.useContext)(Si),{t:s}=ii(),l=ke(n,"max-answers"),c=i&&!!Ji((e=>{var t;return null===(t=e.answers.validationErrors)||void 0===t?void 0:t.find((e=>"exam"===(null==e?void 0:e.elementType)))})),u=t().createRef();return(0,e.useEffect)((()=>{var e;const t=e=>{const t=e.currentTarget;if(t.scrollHeight<=t.clientHeight)return;const n=e.deltaY,r=n<0&&0===t.scrollTop,i=n>0&&t.scrollTop>=t.scrollHeight-t.clientHeight;(r||i)&&e.preventDefault()};return null===(e=null==u?void 0:u.current)||void 0===e||e.addEventListener("wheel",t,{passive:!1}),()=>{var e;return null===(e=null==u?void 0:u.current)||void 0===e?void 0:e.removeEventListener("wheel",t)}}),[]),t().createElement("nav",{className:"table-of-contents","aria-labelledby":wi,ref:u},!i&&t().createElement("h2",{id:wi},t().createElement("span",{className:"e-toc-heading"},s("toc-heading"))),r&&l&&t().createElement("div",{style:{display:"grid"}},t().createElement("div",{className:Ui()("answer-instructions",{error:c})},c&&t().createElement("div",{className:"error-mark exam"},"!"),t().createElement("span",{className:"error-reason"},s("max-answers-warning",{count:l})))),t().createElement(x.Provider,{value:{isInSidebar:i}},t().createElement("ol",{className:"e-list-plain e-pad-l-0"},o(n))),t().createElement("div",{className:"e-columns"},t().createElement("strong",{className:"e-column e-total"},s("exam-total")),t().createElement("strong",{className:"e-column e-column--narrow table-of-contents--score-column"},s("points",{count:a})),i&&t().createElement("span",{className:"e-column e-column--narrow e-external-material"})))}))},vm=()=>{const e=Tn(window,"TEST_VERSION_NUMBER");return t().createElement("span",null,"EE v.",e||"20.4.0")},bm=t().memo(Oi((function({element:n,renderChildNodes:r}){const{isExternal:i}=(0,e.useContext)(Li);return i?null:t().createElement("span",{className:"exam-attachment e-mrg-b-2"},r(n))}))),Im=({selected:e,element:n,renderChildNodes:r,questionId:i,onSelect:o,direction:a,value:s})=>{const l=n.getAttribute("class"),c=t().createElement("div",{className:Ui()("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:Ui()("e-columns",{"e-columns--inline":null==Me(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))},xm=t().memo((({element:n,renderChildNodes:r})=>{const i=ke(n,"question-id"),o=n.getAttribute("display-number"),a=n.getAttribute("direction")||"vertical",s=n.getAttribute("class"),{questionLabelIds:l}=(0,e.useContext)(Cu),c=Ji((e=>e.answers.answersById[i])),u=lo(),d=(0,e.useCallback)((e=>{u(th({type:"choice",questionId:i,value:e.currentTarget.value,displayNumber:o}))}),[i,o]);return t().createElement("div",{className:Ui()("e-choice-answer e-mrg-b-4",s,{"e-columns":"horizontal"===a}),"data-question-id":i,role:"radiogroup","aria-labelledby":l},De(n,(e=>{const n=e.getAttribute("option-id"),o="no-answer"===e.getAttribute("type")?"":n,s=null!=c&&c.value===o;return t().createElement(Im,{element:e,onSelect:d,renderChildNodes:r,questionId:i,key:n,direction:a,selected:s,value:o})})))}));o(4828);const wm=e=>"object"==typeof e&&null!=e&&1===e.nodeType,Am=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,Tm=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){const n=getComputedStyle(e,null);return Am(n.overflowY,t)||Am(n.overflowX,t)||(e=>{const t=(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},Mm=(e,t,n,r,i,o,a,s)=>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,Cm=e=>{const t=e.parentElement;return null==t?e.getRootNode().host||null:t};var Em=function(){return Em=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},Em.apply(this,arguments)};Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var Nm=0;function Sm(){}function km(e,t,n){return e===t||t instanceof n.Node&&e.contains&&e.contains(t)}function jm(e,t){var 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((function(){n=null,e.apply(void 0,o)}),t)}return i.cancel=r,i}function Dm(){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((function(t){return t&&t.apply(void 0,[e].concat(r)),e.preventDownshiftDefault||e.hasOwnProperty("nativeEvent")&&e.nativeEvent.preventDownshiftDefault}))}}function Lm(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){t.forEach((function(t){"function"==typeof t?t(e):t&&(t.current=e)}))}}function Om(e,t){return e&&t?Object.keys(e).reduce((function(n,r){return n[r]=function(e,t){return void 0!==e[t]}(t,r)?t[r]:e[r],n}),{}):e}function Rm(e,t,n,r,i){void 0===i&&(i=!1);var o=n.length;if(0===o)return-1;var a=o-1;("number"!=typeof e||e<0||e>a)&&(e=t>0?-1:a+1);var s=e+t;s<0?s=i?a:0:s>a&&(s=i?0:a);var l=Pm(s,t<0,n,r,i);return-1===l?e>=o?-1:e:l}function Pm(e,t,n,r,i){void 0===i&&(i=!1);var o=n.length;if(t){for(var a=e;a>=0;a--)if(!r(n[a],a))return a}else for(var s=e;s<o;s++)if(!r(n[s],s))return s;return i?Pm(t?o-1:0,t,n,r):-1}function zm(e,t,n,r){return void 0===r&&(r=!0),n&&t.some((function(t){return t&&(km(t,e,n)||r&&km(t,n.document.activeElement,n))}))}var Um=jm((function(e){Bm(e).textContent=""}),500);function Bm(e){var t=e.getElementById("a11y-status-message");return t||((t=e.createElement("div")).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)}var Gm={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""};var Zm=jm((function(e,t){!function(e,t){e&&t&&(Bm(t).textContent=e,Um(t))}(e,t)}),200),Fm="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?e.useLayoutEffect:e.useEffect,Hm="useId"in t()?function(n){var r=n.id,i=n.labelId,o=n.menuId,a=n.getItemId,s=n.toggleButtonId,l=n.inputId,c="downshift-"+t().useId();return r||(r=c),(0,e.useRef)({labelId:i||r+"-label",menuId:o||r+"-menu",getItemId:a||function(e){return r+"-item-"+e},toggleButtonId:s||r+"-toggle-button",inputId:l||r+"-input"}).current}:function(t){var n=t.id,r=void 0===n?"downshift-"+String(Nm++):n,i=t.labelId,o=t.menuId,a=t.getItemId,s=t.toggleButtonId,l=t.inputId;return(0,e.useRef)({labelId:i||r+"-label",menuId:o||r+"-menu",getItemId:a||function(e){return r+"-item-"+e},toggleButtonId:s||r+"-toggle-button",inputId:l||r+"-input"}).current};function _m(e){return""+e.slice(0,1).toUpperCase()+e.slice(1)}function Ym(t){var n=(0,e.useRef)(t);return n.current=t,n}function qm(t,n,r,i){var o=(0,e.useRef)(),a=(0,e.useRef)(),s=(0,e.useCallback)((function(e,n){a.current=n,e=Om(e,n.props);var r=t(e,n);return n.props.stateReducer(e,rf({},n,{changes:r}))}),[t]),l=(0,e.useReducer)(s,n,r),c=l[0],u=l[1],d=Ym(n),f=(0,e.useCallback)((function(e){return u(rf({props:d.current},e))}),[d]),p=a.current;return(0,e.useEffect)((function(){var e=Om(o.current,null==p?void 0:p.props);p&&o.current&&!i(e,c)&&function(e,t,n){var r=e.props,i=e.type,o={};Object.keys(t).forEach((function(r){!function(e,t,n,r){var i=t.props,o=t.type,a="on"+_m(e)+"Change";i[a]&&void 0!==r[e]&&r[e]!==n[e]&&i[a](rf({type:o},r))}(r,e,t,n),n[r]!==t[r]&&(o[r]=n[r])})),r.onStateChange&&Object.keys(o).length&&r.onStateChange(rf({type:i},o))}(p,e,c),o.current=c}),[c,p,i]),[c,f]}var Vm={itemToString:function(e){return e?String(e):""},itemToKey:function(e){return e},stateReducer:function(e,t){return t.changes},scrollIntoView:function(e,t){if(e){var n=((e,t)=>{var n,r,i,o;if("undefined"==typeof document)return[];const{scrollMode:a,block:s,inline:l,boundary:c,skipOverflowHiddenElements:u}=t,d="function"==typeof c?c:e=>e!==c;if(!wm(e))throw new TypeError("Invalid target");const f=document.scrollingElement||document.documentElement,p=[];let h=e;for(;wm(h)&&d(h);){if(h=Cm(h),h===f){p.push(h);break}null!=h&&h===document.body&&Tm(h)&&!Tm(document.documentElement)||null!=h&&Tm(h,u)&&p.push(h)}const m=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,g=null!=(o=null==(i=window.visualViewport)?void 0:i.height)?o:innerHeight,{scrollX:y,scrollY:v}=window,{height:b,width:I,top:x,right:w,bottom:A,left:T}=e.getBoundingClientRect(),{top:M,right:C,bottom:E,left:N}=(e=>{const t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e);let S="start"===s||"nearest"===s?x-M:"end"===s?A+E:x+b/2-M+E,k="center"===l?T+I/2-N+C:"end"===l?w+C:T-N;const j=[];for(let e=0;e<p.length;e++){const t=p[e],{height:n,width:r,top:i,right:o,bottom:c,left:u}=t.getBoundingClientRect();if("if-needed"===a&&x>=0&&T>=0&&A<=g&&w<=m&&x>=i&&A<=c&&T>=u&&w<=o)return j;const d=getComputedStyle(t),h=parseInt(d.borderLeftWidth,10),M=parseInt(d.borderTopWidth,10),C=parseInt(d.borderRightWidth,10),E=parseInt(d.borderBottomWidth,10);let N=0,D=0;const L="offsetWidth"in t?t.offsetWidth-t.clientWidth-h-C:0,O="offsetHeight"in t?t.offsetHeight-t.clientHeight-M-E:0,R="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,P="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(f===t)N="start"===s?S:"end"===s?S-g:"nearest"===s?Mm(v,v+g,g,M,E,v+S,v+S+b,b):S-g/2,D="start"===l?k:"center"===l?k-m/2:"end"===l?k-m:Mm(y,y+m,m,h,C,y+k,y+k+I,I),N=Math.max(0,N+v),D=Math.max(0,D+y);else{N="start"===s?S-i-M:"end"===s?S-c+E+O:"nearest"===s?Mm(i,c,n,M,E+O,S,S+b,b):S-(i+n/2)+O/2,D="start"===l?k-u-h:"center"===l?k-(u+r/2)+L/2:"end"===l?k-o+C+L:Mm(u,o,r,h,C+L,k,k+I,I);const{scrollLeft:e,scrollTop:a}=t;N=0===P?0:Math.max(0,Math.min(a+N/P,t.scrollHeight-n/P+O)),D=0===R?0:Math.max(0,Math.min(e+D/R,t.scrollWidth-r/R+L)),S+=a-N,k+=e-D}j.push({el:t,top:N,left:D})}return j})(e,{boundary:t,block:"nearest",scrollMode:"if-needed"});n.forEach((function(e){var t=e.el,n=e.top,r=e.left;t.scrollTop=n,t.scrollLeft=r}))}},environment:"undefined"==typeof window?void 0:window};function Wm(e,t,n){void 0===n&&(n=Gm);var r=e["default"+_m(t)];return void 0!==r?r:n[t]}function Qm(e,t,n){void 0===n&&(n=Gm);var r=e[t];if(void 0!==r)return r;var i=e["initial"+_m(t)];return void 0!==i?i:Wm(e,t,n)}function Jm(e){var t=Qm(e,"selectedItem"),n=Qm(e,"isOpen"),r=function(e){var t=Qm(e,"highlightedIndex");return t>-1&&e.isItemDisabled(e.items[t],t)?-1:t}(e),i=Qm(e,"inputValue");return{highlightedIndex:r<0&&t&&n?e.items.findIndex((function(n){return e.itemToKey(n)===e.itemToKey(t)})):r,isOpen:n,selectedItem:t,inputValue:i}}function Xm(e,t,n){var r=e.items,i=e.initialHighlightedIndex,o=e.defaultHighlightedIndex,a=e.isItemDisabled,s=e.itemToKey,l=t.selectedItem,c=t.highlightedIndex;return 0===r.length?-1:void 0===i||c!==i||a(r[i],i)?void 0===o||a(r[o],o)?l?r.findIndex((function(e){return s(l)===s(e)})):n<0&&!a(r[r.length-1],r.length-1)?r.length-1:n>0&&!a(r[0],0)?0:-1:o:i}function Km(n,r,i,o){void 0===o&&(o={});var a,s=o.document,l=(a=t().useRef(!0),t().useEffect((function(){return a.current=!1,function(){a.current=!0}}),[]),a.current);(0,e.useEffect)((function(){if(n&&!l&&s){var e=n(r);Zm(e,s)}}),i),(0,e.useEffect)((function(){return function(){var e,t;Zm.cancel(),(t=null==(e=s)?void 0:e.getElementById("a11y-status-message"))&&t.remove()}}),[s])}var $m=Sm;function eg(e,t,n){var r;return void 0===n&&(n=!0),rf({isOpen:!1,highlightedIndex:-1},(null==(r=e.items)?void 0:r.length)&&t>=0&&rf({selectedItem:e.items[t],isOpen:Wm(e,"isOpen"),highlightedIndex:Wm(e,"highlightedIndex")},n&&{inputValue:e.itemToString(e.items[t])}))}function tg(e,t){return e.isOpen===t.isOpen&&e.inputValue===t.inputValue&&e.highlightedIndex===t.highlightedIndex&&e.selectedItem===t.selectedItem}function ng(e){var t=Wm(e,"highlightedIndex");return t>-1&&e.isItemDisabled(e.items[t],t)?-1:t}var rg=rf({},{environment:Gl().shape({addEventListener:Gl().func.isRequired,removeEventListener:Gl().func.isRequired,document:Gl().shape({createElement:Gl().func.isRequired,getElementById:Gl().func.isRequired,activeElement:Gl().any.isRequired,body:Gl().any.isRequired}).isRequired,Node:Gl().func.isRequired}),itemToString:Gl().func,itemToKey:Gl().func,stateReducer:Gl().func},{getA11yStatusMessage:Gl().func,highlightedIndex:Gl().number,defaultHighlightedIndex:Gl().number,initialHighlightedIndex:Gl().number,isOpen:Gl().bool,defaultIsOpen:Gl().bool,initialIsOpen:Gl().bool,selectedItem:Gl().any,initialSelectedItem:Gl().any,defaultSelectedItem:Gl().any,id:Gl().string,labelId:Gl().string,menuId:Gl().string,getItemId:Gl().func,toggleButtonId:Gl().string,onSelectedItemChange:Gl().func,onHighlightedIndexChange:Gl().func,onStateChange:Gl().func,onIsOpenChange:Gl().func,scrollIntoView:Gl().func});Em(Em({},rg),{items:Gl().array.isRequired,isItemDisabled:Gl().func});var ig=Em(Em({},Vm),{isItemDisabled:function(){return!1}}),og=Sm,ag=1,sg=2,lg=3,cg=4,ug=5,dg=6,fg=7,pg=8,hg=9,mg=10,gg=11,yg=14,vg=19,bg=Object.freeze({__proto__:null,FunctionCloseMenu:17,FunctionOpenMenu:16,FunctionReset:21,FunctionSelectItem:vg,FunctionSetHighlightedIndex:18,FunctionSetInputValue:20,FunctionToggleMenu:15,ItemClick:yg,ItemMouseMove:13,MenuMouseLeave:12,ToggleButtonBlur:gg,ToggleButtonClick:0,ToggleButtonKeyDownArrowDown:ag,ToggleButtonKeyDownArrowUp:sg,ToggleButtonKeyDownCharacter:lg,ToggleButtonKeyDownEnd:dg,ToggleButtonKeyDownEnter:fg,ToggleButtonKeyDownEscape:cg,ToggleButtonKeyDownHome:ug,ToggleButtonKeyDownPageDown:mg,ToggleButtonKeyDownPageUp:hg,ToggleButtonKeyDownSpaceButton:pg});function Ig(e,t){var n,r,i=t.type,o=t.props,a=t.altKey;switch(i){case yg:r={isOpen:Wm(o,"isOpen"),highlightedIndex:ng(o),selectedItem:o.items[t.index]};break;case lg:var s=t.key,l=""+e.inputValue+s;r={inputValue:l,highlightedIndex:function(e){for(var t=e.keysSoFar,n=e.highlightedIndex,r=e.items,i=e.itemToString,o=e.isItemDisabled,a=t.toLowerCase(),s=0;s<r.length;s++){var l=(s+n+(t.length<2?1:0))%r.length,c=r[l];if(void 0!==c&&i(c).toLowerCase().startsWith(a)&&!o(c,l))return l}return n}({keysSoFar:l,highlightedIndex:!e.isOpen&&e.selectedItem?o.items.findIndex((function(t){return o.itemToKey(t)===o.itemToKey(e.selectedItem)})):e.highlightedIndex,items:o.items,itemToString:o.itemToString,isItemDisabled:o.isItemDisabled}),isOpen:!0};break;case ag:r={highlightedIndex:e.isOpen?Rm(e.highlightedIndex,1,o.items,o.isItemDisabled):a&&null==e.selectedItem?-1:Xm(o,e,1),isOpen:!0};break;case sg:r=e.isOpen&&a?eg(o,e.highlightedIndex,!1):{highlightedIndex:e.isOpen?Rm(e.highlightedIndex,-1,o.items,o.isItemDisabled):Xm(o,e,-1),isOpen:!0};break;case fg:case pg:r=eg(o,e.highlightedIndex,!1);break;case ug:r={highlightedIndex:Pm(0,!1,o.items,o.isItemDisabled),isOpen:!0};break;case dg:r={highlightedIndex:Pm(o.items.length-1,!0,o.items,o.isItemDisabled),isOpen:!0};break;case hg:r={highlightedIndex:Rm(e.highlightedIndex,-10,o.items,o.isItemDisabled)};break;case mg:r={highlightedIndex:Rm(e.highlightedIndex,10,o.items,o.isItemDisabled)};break;case cg:r={isOpen:!1,highlightedIndex:-1};break;case gg:r=rf({isOpen:!1,highlightedIndex:-1},e.highlightedIndex>=0&&(null==(n=o.items)?void 0:n.length)&&{selectedItem:o.items[e.highlightedIndex]});break;case vg:r={selectedItem:t.selectedItem};break;default:return function(e,t,n){var r,i=t.type,o=t.props;switch(i){case n.ItemMouseMove:r={highlightedIndex:t.disabled?-1:t.index};break;case n.MenuMouseLeave:r={highlightedIndex:-1};break;case n.ToggleButtonClick:case n.FunctionToggleMenu:r={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:Xm(o,e,0)};break;case n.FunctionOpenMenu:r={isOpen:!0,highlightedIndex:Xm(o,e,0)};break;case n.FunctionCloseMenu:r={isOpen:!1};break;case n.FunctionSetHighlightedIndex:r={highlightedIndex:o.isItemDisabled(o.items[t.highlightedIndex],t.highlightedIndex)?-1:t.highlightedIndex};break;case n.FunctionSetInputValue:r={inputValue:t.inputValue};break;case n.FunctionReset:r={highlightedIndex:ng(o),isOpen:Wm(o,"isOpen"),selectedItem:Wm(o,"selectedItem"),inputValue:Wm(o,"inputValue")};break;default:throw new Error("Reducer called without proper action type.")}return rf({},e,r)}(e,t,bg)}return rf({},e,r)}var xg=["onClick"],wg=["onMouseLeave","refKey","ref"],Ag=["onBlur","onClick","onPress","onKeyDown","refKey","ref"],Tg=["item","index","onMouseMove","onClick","onMouseDown","onPress","refKey","disabled","ref"];function Mg(t){void 0===t&&(t={}),og(t,Mg);var n=rf({},ig,t),r=n.scrollIntoView,i=n.environment,o=n.getA11yStatusMessage,a=function(e,t,n,r){var i=qm(e,t,n,r),o=i[0],a=i[1];return[Om(o,t),a]}(Ig,n,Jm,tg),s=a[0],l=a[1],c=s.isOpen,u=s.highlightedIndex,d=s.selectedItem,f=s.inputValue,p=(0,e.useRef)(null),h=(0,e.useRef)(null),m=(0,e.useRef)({}),g=(0,e.useRef)(null),y=Hm(n),v=Ym({state:s,props:n}),b=(0,e.useCallback)((function(e){return m.current[y.getItemId(e)]}),[y]);Km(o,s,[c,u,d,f],i);var I=function(t){var n=t.highlightedIndex,r=t.isOpen,i=t.itemRefs,o=t.getItemNodeFromIndex,a=t.menuElement,s=t.scrollIntoView,l=(0,e.useRef)(!0);return Fm((function(){n<0||!r||!Object.keys(i.current).length||(!1===l.current?l.current=!0:s(o(n),a))}),[n]),l}({menuElement:h.current,highlightedIndex:u,isOpen:c,itemRefs:m,scrollIntoView:r,getItemNodeFromIndex:b});(0,e.useEffect)((function(){return g.current=jm((function(e){e({type:20,inputValue:""})}),500),function(){g.current.cancel()}}),[]),(0,e.useEffect)((function(){f&&g.current(l)}),[l,f]),$m({props:n,state:s}),(0,e.useEffect)((function(){Qm(n,"isOpen")&&p.current&&p.current.focus()}),[]);var x=function(t,n,r){var i=(0,e.useRef)({isMouseDown:!1,isTouchMove:!1,isTouchEnd:!1});return(0,e.useEffect)((function(){if(!t)return Sm;var e=n.map((function(e){return e.current}));function o(){i.current.isTouchEnd=!1,i.current.isMouseDown=!0}function a(n){i.current.isMouseDown=!1,zm(n.target,e,t)||r()}function s(){i.current.isTouchEnd=!1,i.current.isTouchMove=!1}function l(){i.current.isTouchMove=!0}function c(n){i.current.isTouchEnd=!0,i.current.isTouchMove||zm(n.target,e,t,!1)||r()}return t.addEventListener("mousedown",o),t.addEventListener("mouseup",a),t.addEventListener("touchstart",s),t.addEventListener("touchmove",l),t.addEventListener("touchend",c),function(){t.removeEventListener("mousedown",o),t.removeEventListener("mouseup",a),t.removeEventListener("touchstart",s),t.removeEventListener("touchmove",l),t.removeEventListener("touchend",c)}}),[t,r]),i.current}(i,[p,h],(0,e.useCallback)((function(){v.current.state.isOpen&&l({type:gg})}),[l,v])),w=Sm;(0,e.useEffect)((function(){c||(m.current={})}),[c]);var A=(0,e.useMemo)((function(){return{ArrowDown:function(e){e.preventDefault(),l({type:ag,altKey:e.altKey})},ArrowUp:function(e){e.preventDefault(),l({type:sg,altKey:e.altKey})},Home:function(e){e.preventDefault(),l({type:ug})},End:function(e){e.preventDefault(),l({type:dg})},Escape:function(){v.current.state.isOpen&&l({type:cg})},Enter:function(e){e.preventDefault(),l({type:v.current.state.isOpen?fg:0})},PageUp:function(e){v.current.state.isOpen&&(e.preventDefault(),l({type:hg}))},PageDown:function(e){v.current.state.isOpen&&(e.preventDefault(),l({type:mg}))}," ":function(e){e.preventDefault();var t=v.current.state;t.isOpen?t.inputValue?l({type:lg,key:" "}):l({type:pg}):l({type:0})}}}),[l,v]),T=(0,e.useCallback)((function(){l({type:15})}),[l]),M=(0,e.useCallback)((function(){l({type:17})}),[l]),C=(0,e.useCallback)((function(){l({type:16})}),[l]),E=(0,e.useCallback)((function(e){l({type:18,highlightedIndex:e})}),[l]),N=(0,e.useCallback)((function(e){l({type:vg,selectedItem:e})}),[l]),S=(0,e.useCallback)((function(){l({type:21})}),[l]),k=(0,e.useCallback)((function(e){l({type:20,inputValue:e})}),[l]),j=(0,e.useCallback)((function(e){var t=void 0===e?{}:e,n=t.onClick,r=of(t,xg);return rf({id:y.labelId,htmlFor:y.toggleButtonId,onClick:Dm(n,(function(){var e;null==(e=p.current)||e.focus()}))},r)}),[y]),D=(0,e.useCallback)((function(e,t){var n,r=void 0===e?{}:e,i=r.onMouseLeave,o=r.refKey,a=void 0===o?"ref":o,s=r.ref,c=of(r,wg),u=(void 0===t?{}:t).suppressRefError;return w("getMenuProps",void 0!==u&&u,a,h),rf(((n={})[a]=Lm(s,(function(e){h.current=e})),n.id=y.menuId,n.role="listbox",n["aria-labelledby"]=c&&c["aria-label"]?void 0:""+y.labelId,n.onMouseLeave=Dm(i,(function(){l({type:12})})),n),c)}),[l,w,y]),L=(0,e.useCallback)((function(e,t){var n,r=void 0===e?{}:e,i=r.onBlur,o=r.onClick;r.onPress;var a=r.onKeyDown,s=r.refKey,c=void 0===s?"ref":s,u=r.ref,d=of(r,Ag),f=(void 0===t?{}:t).suppressRefError,h=void 0!==f&&f,m=v.current.state,g=rf(((n={})[c]=Lm(u,(function(e){p.current=e})),n["aria-activedescendant"]=m.isOpen&&m.highlightedIndex>-1?y.getItemId(m.highlightedIndex):"",n["aria-controls"]=y.menuId,n["aria-expanded"]=v.current.state.isOpen,n["aria-haspopup"]="listbox",n["aria-labelledby"]=d&&d["aria-label"]?void 0:""+y.labelId,n.id=y.toggleButtonId,n.role="combobox",n.tabIndex=0,n.onBlur=Dm(i,(function(){m.isOpen&&!x.isMouseDown&&l({type:gg})})),n),d);return d.disabled||(g.onClick=Dm(o,(function(){l({type:0})})),g.onKeyDown=Dm(a,(function(e){var t=function(e){var t=e.key,n=e.keyCode;return n>=37&&n<=40&&0!==t.indexOf("Arrow")?"Arrow"+t:t}(e);t&&A[t]?A[t](e):function(e){return/^\S{1}$/.test(e)}(t)&&l({type:lg,key:t})}))),w("getToggleButtonProps",h,c,p),g}),[l,y,v,x,w,A]),O=(0,e.useCallback)((function(e){var t,n=void 0===e?{}:e,r=n.item,i=n.index,o=n.onMouseMove,a=n.onClick,s=n.onMouseDown;n.onPress;var c=n.refKey,u=void 0===c?"ref":c,d=n.disabled,f=n.ref,p=of(n,Tg);void 0!==d&&console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useSelect.');var h=v.current,g=h.state,b=h.props,w=function(e,t,n,r){var i,o;if(void 0===e){if(void 0===t)throw new Error(r);i=n[t],o=t}else o=void 0===t?n.indexOf(e):t,i=e;return[i,o]}(r,i,b.items,"Pass either item or index to getItemProps!"),A=w[0],T=w[1],M=b.isItemDisabled(A,T),C=rf(((t={})[u]=Lm(f,(function(e){e&&(m.current[y.getItemId(T)]=e)})),t["aria-disabled"]=M,t["aria-selected"]=A===g.selectedItem,t.id=y.getItemId(T),t.role="option",t),p);return M||(C.onClick=Dm(a,(function(){l({type:yg,index:T})}))),C.onMouseMove=Dm(o,(function(){x.isTouchEnd||T===g.highlightedIndex||(I.current=!1,l({type:13,index:T,disabled:M}))})),C.onMouseDown=Dm(s,(function(e){return e.preventDefault()})),C}),[v,y,x,I,l]);return{getToggleButtonProps:L,getLabelProps:j,getMenuProps:D,getItemProps:O,toggleMenu:T,openMenu:C,closeMenu:M,setHighlightedIndex:E,selectItem:N,reset:S,setInputValue:k,highlightedIndex:u,isOpen:c,selectedItem:d,inputValue:f}}Mg.stateChangeTypes=bg,rf({},rg,{items:Gl().array.isRequired,isItemDisabled:Gl().func,inputValue:Gl().string,defaultInputValue:Gl().string,initialInputValue:Gl().string,inputId:Gl().string,onInputValueChange:Gl().func}),rf({},Vm,{isItemDisabled:function(){return!1}}),Gl().array,Gl().array,Gl().array,Gl().func,Gl().number,Gl().number,Gl().number,Gl().func,Gl().func,Gl().string,Gl().string;const Cg=function(e,t){return e>t},Eg=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&&!rn(a):n(a,s)))var s=a,l=o}return l}(e,ve,Cg):void 0};var Ng=o(7767),Sg=o.n(Ng);const kg=Promise.all([new(Sg())("Noto Sans",{weight:300}).load(),new(Sg())("Noto Sans",{weight:400}).load(),new(Sg())("Noto Sans",{weight:600}).load()]).then((()=>{jg=!0})).catch(Nr);let jg=!1;const Dg=({id:e,size:n="small",score:r})=>{const{t:i}=ii(),o="inline"===n?"sup":"span";return t().createElement(o,{className:Ui()("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}))},Lg=!navigator.userAgent.includes("jsdom/"),Og=t().memo((({element:n,renderChildNodes:r})=>{const i=ke(n,"question-id"),o=ke(n,"max-score"),a=Ji((e=>e.answers.answersById[i])),s=lo(),l=n.getAttribute("display-number"),c=a&&a.value&&Ne(n,(e=>a.value===e.getAttribute("option-id"))),u=(0,e.useRef)(null),d=t().useRef(null),[f,p]=(0,e.useState)(!0),[h,m]=(0,e.useState)(jg);Lg&&(kg.then((()=>!h&&m(!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=Eg(De(e,(e=>e.firstElementChild.scrollWidth))),r=requestAnimationFrame((()=>{t.style.width=`${n+2+1}px`,p(!1)}));return()=>cancelAnimationFrame(r)}})));const g=["",...n.children],{answers:y,questionLabelIds:v}=(0,e.useContext)(Cu),{getItemProps:I,getMenuProps:x,getToggleButtonProps:w,highlightedIndex:A,isOpen:T,selectedItem:M}=Mg({items:g,itemToString:e=>e?e.textContent:"",onSelectedItemChange:({selectedItem:e})=>{const t=e?e.getAttribute("option-id"):"";s(th({type:"choice",questionId:i,value:t,displayNumber:l}))},initialSelectedItem:c}),{t:C}=ii(),E=vi(n),N=(0,e.useContext)(b),S=0!==Object.keys(N).length,k={onClick:()=>{},onMouseDown:()=>{},onMouseMove:()=>{}};return t().createElement("span",{className:"e-nowrap"},t().createElement("span",{className:"anchor",id:`question-nr-${l}`}),t().createElement("span",{className:Ui()("e-dropdown-answer e-normal"),"data-question-id":i},t().createElement("button",{className:Ui()("e-dropdown-answer__toggle-button e-button-plain e-columns",{"e-dropdown-answer__toggle-button--open":T}),...w({"aria-describedby":E,"aria-labelledby":v},{suppressRefError:!Lg})},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":C.raw("dropdown-answer.label")},we))),t().createElement("span",{className:Ui()("e-dropdown-answer__toggle-icon e-text-center e-column e-column--narrow e-column--gapless e-color-link")},t().createElement($l,{icon:T?yo:Ao}))),t().createElement("span",{...x({className:Ui()("e-dropdown-answer__menu",{"e-dropdown-answer__menu--open":T}),"aria-labelledby":void 0,ref:d},{suppressRefError:!Lg})},g.map(((e,n)=>t().createElement("span",{className:Ui()("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":A!==n,"e-bg-color-link e-color-off-white":A===n}),key:n,...I({item:e,index:n}),...S?k:{}},t().createElement("span",{className:Ui()("e-dropdown-answer__menu-item-inner e-block",{"e-nowrap":f})},e?r(e):t().createElement("span",{"aria-label":C.raw("dropdown-answer.clear")},we))))))),y.length>1&&t().createElement(Dg,{score:o,size:"inline",id:E}))})),Rg=t().memo((function({element:e,renderChildNodes:n}){return t().createElement("div",{className:"e-exam-footer"},n(e))})),Pg=t().memo((function({element:e,renderChildNodes:n}){return t().createElement("div",{className:"exam-instruction notification e-pad-4","data-annotation-anchor":"exam-instruction"},n(e))})),zg=t().memo((function(){const{examServerApi:n}=(0,e.useContext)(zu),{examineExam:r}=n,{t:i}=ii();return t().createElement("button",{className:"e-button goto-examine-answers",onClick:()=>{r&&(r(),window.scrollTo(0,0))},"aria-describedby":"examineExamInstructions"},i("examine-exam.examine"))}));function Ug(e){return`${Er(e.split("."))}.`}function Bg({answer:e,focusedQuestionId:n,renderChildNodes:r}){const i=ke(e,"question-id"),o=e.getAttribute("display-number"),a=Ne(e,"hint"),s=Oe(e);return t().createElement("p",{className:Ui()("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},s&&Ug(o)," ",r(a))}const Gg=({element:e,renderChildNodes:n})=>{const r=Ji((e=>e.answers.focusedQuestionId)),i=Ce(e,["text-answer","scored-text-answer"]).filter((e=>null!=Ne(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(Bg,{answer:e,focusedQuestionId:r,renderChildNodes:n,key:i}))))):t().createElement(t().Fragment,null,n(e))},Zg=(0,e.createContext)({expanded:!1,toggleWriterMode:()=>{}}),Fg=t().memo(Eu((function({element:n,renderChildNodes:r}){const i=Ji((e=>e.cas.casStatus)),{casForbidden:o}=(0,e.useContext)(Gu),{displayNumber:a,level:s}=(0,e.useContext)(Cu),{examServerApi:l}=(0,e.useContext)(zu),[c,u]=(0,e.useState)(!1),{t:d}=ii(),f=e=>{u(e),l.logActivity&&l.logActivity(e?`Writer mode opened for display number ${a}`:`Writer mode closed for display number ${a}`);const t=document.querySelector("body");e?null==t||t.classList.add("writer-mode"):(null==t||t.classList.remove("writer-mode"),null==t||t.classList.remove("rich-text-editor-focus"),setTimeout((()=>{var e;return null===(e=document.getElementById(`question-nr-${a}`))||void 0===e?void 0:e.scrollIntoView()}),10))},p=e=>{"Tab"===e.code&&e.preventDefault()},h=Me(n,"text-answer"),m=h?ke(h,"question-id"):null;(0,e.useEffect)((()=>{if(c){window.addEventListener("keydown",p);const e=m?document.querySelector(`[data-question-id="${m}"]`):void 0;null==e||e.focus()}return()=>window.removeEventListener("keydown",p)}),[c]);const g=t().createRef(),{addRef:y}=(0,e.useContext)(xe);return(0,e.useEffect)((()=>{(null==g?void 0:g.current)&&0===s&&y&&y(g.current)}),[]),o&&"forbidden"!==i?null:t().createElement(Zg.Provider,{value:{expanded:c,toggleWriterMode:f}},t().createElement("div",{className:Ui()("e-exam-question",{"e-level-0 e-pad-b-8 e-clearfix":0===s,"e-mrg-l-8 e-mrg-y-4":s>0,"e-expanded":c}),"data-annotation-anchor":a,"data-toc-id":`question-${a}`,ref:g},t().createElement("div",{className:"anchor",id:`question-nr-${a}`}),c?t().createElement("div",{className:"full-screen","data-full-screen-id":a},t().createElement("button",{className:"expand close",onClick:()=>f(!1)},t().createElement($l,{icon:mo}),d("close-writing-mode")),r(n)):r(n)))}))),Hg=t().memo((function({element:e,renderChildNodes:n}){const r=hi(e);return t().createElement("div",{className:"exam-question-instruction e-mrg-b-2",id:r},n(e))})),_g=()=>t().createElement($l,{size:"lg",icon:xo,fixedWidth:!0,className:"e-color-link e-mrg-r-1"}),Yg=t().memo((({element:n,renderChildNodes:r})=>{const{displayNumber:i,maxScore:o,level:a,maxAnswers:s,childQuestions:l}=(0,e.useContext)(Cu),c=`h${Math.min(3+a,6)}`,u=pi(i);return t().createElement(t().Fragment,null,t().createElement(c,{id:u,className:Ui()("exam-question-title",{"e-normal e-font-size-m":a>0})},t().createElement("strong",{className:Ui()("exam-question-title__display-number",{"exam-question-title__display-number--indented":a>0})},`${Ou(i)} `),r(n)," ",t().createElement(Dg,{score:o,size:0===a?"large":"small"})),null!=s&&l.length>0&&t().createElement("p",{className:"e-italic"},t().createElement(_g,null),t().createElement(hm,{maxAnswers:s,childQuestions:l,elementType:"question"})))})),qg=({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:Ui()("e-progress-bar",i),ref:o},t().createElement("div",{className:Ui()("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 Vg(){const{t:e}=ii();return t().createElement("p",null,t().createElement("em",null,e("end-of-exam")))}function Wg(n){const r=lo(),{t:i}=ii(),{casCountdownDuration:o}=(0,e.useContext)(zu);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",null,i("cas.examineSectionA"),t().createElement("br",null),i("cas.cannotEditLater")),t().createElement(zg,null),t().createElement("p",null,i("cas.youCanReturn")),t().createElement("p",{className:"dots-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,Hc.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(qg,{className:"e-mrg-b-2",duration:o,durationRemaining:n.durationRemaining}),t().createElement("button",{className:"e-button",id:"allow-cas-cancelled",onClick:()=>r(em()),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 Qg=t().memo(Zu((function({element:n,renderChildNodes:r}){const i=Ji((e=>e.cas),no),{casForbidden:o,displayNumber:a}=(0,e.useContext)(Gu),{sections:s}=(0,e.useContext)(Si),l=n===Er(s);return t().createElement(Du,{className:"exam-section","aria-labelledby":fi(a)},r(n),o&&t().createElement(Wg,{...i}),l&&t().createElement(Vg,null))}))),Jg=t().memo((function({element:e,renderChildNodes:n}){return t().createElement("div",{className:"e-mrg-b-2"},n(e))})),Xg=t().memo((function({element:n,renderChildNodes:r}){const{sections:i}=(0,e.useContext)(Si),{displayNumber:o,minAnswers:a,maxAnswers:s,childQuestions:l}=(0,e.useContext)(Gu),{t:c}=ii(),u=t().createRef(),{addRef:d}=(0,e.useContext)(xe);return(0,e.useEffect)((()=>{(null==u?void 0:u.current)&&d&&d(u.current)}),[]),t().createElement(t().Fragment,null,n.hasChildNodes()&&t().createElement("h2",{className:"exam-section-title",id:fi(o),"data-toc-id":`section-${o}`,ref:u},i.length>1&&c("section",{displayNumber:o})," ",r(n)),null!=s&&t().createElement("span",{className:"notification notification--inline"},t().createElement(_g,null),t().createElement(hm,{maxAnswers:s,minAnswers:a,childQuestions:l,elementType:"section"})))})),Kg=e=>t().createElement("div",{className:"e-student-name-container"},e.studentName),$g=({children:e})=>t().createElement("span",{className:"e-screen-reader-only"},e),ey=t().memo((function({answer:e,element:n,screenshotError:r,validationError:i,selectAnswerVersion:o,showAnswerHistory:a=!1,supportsAnswerHistory:s=!1}){const{t:l}=ii(),c=null==e?void 0:e.characterCount,u=ke(n,"max-length");return t().createElement("div",{className:"answer-toolbar e-font-size-xs e-columns e-mrg-b-2"},t().createElement("div",{className:Ui()("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}):we,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=Ne(Ee(n,"question"),"question-title");o(e.questionId,t.textContent)}}},l("previous-answer-versions")):we)))}));class ty extends t().PureComponent{constructor(e){super(e),this.handleSaveError=e=>{const t=(()=>{switch(Tn(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),md(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(Zg.Consumer,null,(({expanded:a,toggleWriterMode:s})=>t().createElement(t().Fragment,null,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,id:String(n)}),!a&&t().createElement("button",{className:"expand open",onClick:()=>s(!0),"aria-labelledby":"expand-label","aria-owns":String(n)},t().createElement(ry,null),t().createElement($l,{icon:To})))))}}ty.contextType=Si;const ny=ty,ry=()=>{const{t:e}=ii();return t().createElement("div",{className:"label",id:"expand-label"},e("open-writing-mode"))},iy=t().memo((({maxLength:e,id:n})=>{const{t:r}=ii();return t().createElement("p",{id:n,className:"e-answer-length-info"},t().createElement(_g,null),t().createElement("em",null,r("max-length-info",{count:e})))}));function oy(e){return e.replace(/\s/g,"").length}const ay=t().memo((({element:n,className:r})=>{const i=Se(n,"type"),o=ke(n,"question-id"),a=Se(n,"display-number"),s=ke(n,"max-score"),l=je(n,"use-language-of-instruction"),c=ke(n,"max-length"),{language:u}=(0,e.useContext)(Si),{questionLabelIds:d,answers:f}=(0,e.useContext)(Cu),{examServerApi:p}=(0,e.useContext)(zu),[h,m]=(0,e.useState)(),g=Ji((e=>e.answers.answersById[o])),y=Ji((e=>e.answers.supportsAnswerHistory)),v=Ji((e=>e.answers.supportsAnswerHistory&&e.answers.serverQuestionIds.has(o))),b=Ji((e=>e.answers.validationErrors.find((e=>"AnswerTooLong"===e.type&&e.displayNumber===a)))),I=lo(),x=(0,e.useRef)(null),w=g&&g.value,A=vi(n),T=null!=b,M=l?u:void 0,C=n.hasAttribute("max-length")?`${d} ${mi(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 E=(0,e.useCallback)((e=>{const t=e.currentTarget.value.trim(),n={type:"text",questionId:o,value:t,characterCount:oy(t),displayNumber:a};I(th(n)),m(void 0)}),[o,a]),[N,S]=(0,e.useState)((null==g?void 0:g.value)||""),k=(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:oy(t),displayNumber:a};I(th(e)),m(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]),j=(0,e.useCallback)(((e,t)=>{const n={type:"richText",questionId:o,value:e,characterCount:oy(t),displayNumber:a};I(th(n)),m(void 0)}),[o,a]),D=(0,e.useCallback)((e=>m(e)),[h]),L=(0,e.useCallback)((()=>I((e=>(0,Hc.action)("ANSWER_FOCUSED",e))(o))),[o]),O=(0,e.useCallback)((()=>I((e=>(0,Hc.action)("ANSWER_BLURRED",e))(o))),[o]),R=(0,e.useCallback)(((e,t)=>I(((e,t)=>(0,Hc.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(iy,{maxLength:c,id:mi(n)}),t().createElement("div",{className:"text-answer-container"},t().createElement(ny,{answer:g,className:Ui()("text-answer text-answer--rich-text",r),saveScreenshot:e=>p.saveScreenshot(o,e),onChange:j,onError:D,questionId:o,lang:M,invalid:T,labelledBy:C}),t().createElement(ey,{answer:g,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:Ui()("text-answer text-answer--single-line text-answer--integer",r),value:N,onChange:k,onFocus:L,onBlur:O,ref:x,"data-question-id":o,lang:M,"aria-describedby":A,"aria-labelledby":C}),f.length>1&&t().createElement(Dg,{score:s,size:"inline",id:A}));default:return t().createElement("span",{className:"e-nowrap"},t().createElement("input",{type:"text",className:Ui()("text-answer text-answer--single-line",r),defaultValue:w,onChange:E,onFocus:L,onBlur:O,ref:x,"data-question-id":o,lang:M,"aria-describedby":A,"aria-labelledby":C}),f.length>1&&t().createElement(Dg,{score:s,size:"inline",id:A}))}})),sy=t().memo((function(e){const{element:n,renderChildNodes:r}=e,i=n.getAttribute("display-number"),o=Ne(n,"hint"),a=t().createElement(ay,{...e}),s=Oe(n);return o?t().createElement("label",{className:"e-nowrap"},s&&t().createElement("sup",{className:"e-text-answer-display-number e-color-darkgrey"},Ug(i)),t().createElement($g,null,r(o)),a):a}));var ly=o(6660),cy=o.n(ly);class uy extends t().PureComponent{constructor(e){super(e),this.inputValueChanged=()=>{this.props.onChange(this.props.answerIndex),this.labelInputRef&&this.labelInputRef.current&&this.labelInputRef.current.scrollIntoView({block:"center"})},this.entryInputRef=t().createRef(),this.labelInputRef=t().createRef()}componentDidMount(){this.entryInputRef.current&&0===this.props.answerIndex&&this.entryInputRef.current.focus()}render(){const{selected:e,croppedAnswer:n,characterCount:r,screenshotCount:i,answerIndex:o,minutesSinceAnswer:a}=this.props;return t().createElement("label",{ref:this.labelInputRef,className:"js-undo-history-entry"},t().createElement("input",{type:"radio",className:"e-undo-view-entry-tab",name:"undoHistory",value:o,checked:e,onChange:this.inputValueChanged,ref:this.entryInputRef}),t().createElement(dy,{croppedAnswer:n,characterCount:r,screenshotCount:i,answerIndex:o,minutesSinceAnswer:a}))}}const dy=({croppedAnswer:e,characterCount:n,screenshotCount:r,answerIndex:i,minutesSinceAnswer:o})=>{const{t:a}=ii(),s=[n>0?a("undo.answerCharacterCount",{count:n}):null,r>0?a("undo.answerImageCount",{count:r}):null].filter((e=>null!==e));return t().createElement("div",{className:"e-undo-view-entry js-undo-entry-content"},t().createElement("div",{className:"js-undo-history-entry-time"},0===i?a("undo.latestVersion"):a("undo.minutesSinceAnswer",{minutes:o})),t().createElement("div",{className:"e-undo-view-answer-cropped js-undo-history-entry-answer"},e||a("undo.answerNoText")),t().createElement("div",{className:"e-undo-view-answer-length js-undo-history-entry-stats"},s.map(((e,n)=>t().createElement(t().Fragment,{key:n},e,n<s.length-1&&t().createElement("span",null,", "))))))};var fy=o(4867),py=o.n(fy);const hy=cy().CancelToken;function my(e){return{type:e.type,value:e.value,answerTime:e.answer_time,characterCount:e.character_count}}function gy(e){const{selectedAnswer:n}=e;return n?"richText"===n.type?t().createElement("div",{className:"e-undo-view-answer-content js-undo-answer-detail",dangerouslySetInnerHTML:{__html:n.value}}):t().createElement("div",{className:"e-undo-view-answer-content js-undo-answer-detail plainText"},n.value):null}function yy(e){const{selectedAnswer:n,selectedAnswerIndex:r,restoreAnswer:i,questionId:o}=e,a=!n||0===r;return t().createElement("div",{className:"e-undo-view-bottom-bar"},t().createElement("button",{className:"e-button-default e-button js-restore-answer-button",disabled:a,onClick:()=>n&&i({...n,questionId:o})},t().createElement(My,null)))}function vy(e){return("text"===e.type?e.value:function(e){const t=document.createElement("div");return t.innerHTML=e,t.innerText}(e.value)).replace(/\s+/g," ").trim()}function by(e,t=50){const n=vy(e);if(n.length<=t)return n;const r=t-1,i=Math.ceil(r/2),o=r-i;return n.substr(0,i)+"…"+n.substr(n.length-o)}function Iy(e){return vy(e).replace(/\s/g,"").length}function xy(e){const t=document.createElement("div");t.innerHTML=e.value;const n=t.querySelectorAll("img").length,r=t.querySelectorAll('img[src=""]').length;return n-t.querySelectorAll('img[src^="/math.svg"], img[src^="data:image/svg+xml"]').length-r}class wy extends t().PureComponent{constructor(e){super(e),this.source=hy.source(),this.toggleBodyScroll=e=>document.documentElement.classList.toggle("e-exam-body-no-scroll",!e),this.keydownListener=e=>{if(13===e.keyCode){const e=this.state.answers[this.state.selectedAnswerIndex];this.props.restoreAnswer({...e,questionId:this.props.questionId}),this.close()}else 27===e.keyCode&&this.close()},this.state={answers:[],selectedAnswerIndex:0,loading:!0,loadRetryTimeout:null}}componentDidMount(){this.toggleBodyScroll(!1),document.addEventListener("keydown",this.keydownListener,!1),this.fetchAnswerHistory(this.props.questionId)}componentWillUnmount(){this.source.cancel(),document.removeEventListener("keydown",this.keydownListener,!1),this.toggleBodyScroll(!0)}componentDidUpdate(e){this.props.questionId!==e.questionId&&this.fetchAnswerHistory(this.props.questionId)}overlayClicked(e){e.target.className.includes("js-undo-overlay")&&this.close()}async fetchAnswerHistory(e){try{const t=(await cy().get(`/rest/answer-history/${e}`,{cancelToken:this.source.token})).data.map(my);this.setState({answers:t,selectedAnswerIndex:0,loading:!1,loadRetryTimeout:null})}catch(t){cy().isCancel(t)||this.setState({loadRetryTimeout:window.setTimeout((()=>{this.fetchAnswerHistory(e)}),4e3)})}}close(){const e=this.state.loadRetryTimeout;e&&clearTimeout(e),this.source.cancel(),this.props.close()}render(){const e=this.state.answers[this.state.selectedAnswerIndex],n=(new Date).getTime();return t().createElement(py(),null,t().createElement("div",{onClick:this.overlayClicked.bind(this),className:"e-overlay js-undo-overlay","aria-modal":"true"},t().createElement("div",{id:"undo",className:"e-undo-view"},t().createElement(Ty,{close:this.close.bind(this)}),this.state.loading?t().createElement(Ay,null):t().createElement("div",{className:"e-undo-view-content"},t().createElement("div",{className:"e-undo-view-answer-index js-undo-answer-index"},this.state.answers.map(((e,r)=>{const i=n-new Date(e.answerTime).getTime(),o=Math.round(i/1e3/60);return t().createElement(uy,{key:new Date(e.answerTime).getTime(),answerIndex:r,selected:r===this.state.selectedAnswerIndex,onChange:e=>this.setState({selectedAnswerIndex:e}),croppedAnswer:by(e),minutesSinceAnswer:o,characterCount:Iy(e),screenshotCount:xy(e)})}))),t().createElement("div",{className:"e-undo-view-right-panel"},t().createElement("div",{className:"e-undo-view-header js-undo-view-header"},t().createElement("h3",{className:"e-undo-view-title js-undo-view-title"},this.props.title)),t().createElement(gy,{selectedAnswer:e}),t().createElement(yy,{selectedAnswer:e,selectedAnswerIndex:this.state.selectedAnswerIndex,restoreAnswer:this.props.restoreAnswer,questionId:this.props.questionId}))))))}}const Ay=()=>{const{t:e}=ii();return t().createElement("div",{style:{padding:"10px"}},e("undo.loading"))},Ty=({close:e})=>{const{t:n}=ii();return t().createElement("div",null,t().createElement("img",{src:"img/closeButton.svg",id:"closeUndoDialogButton",className:"e-undo-view-close-overlay-button js-close-undo-dialog-button",onClick:e,tabIndex:0,role:"button","aria-label":n("undo.close")}))},My=()=>{const{t:e}=ii();return t().createElement("div",null,e("undo.restoreAnswer"))},Cy=e=>{const{t:n}=ii(),{displayNumber:r,elementType:i}=e;return t().createElement("div",null,"exam"!==i&&"toc-section"!==i?n(i,{displayNumber:r})||t().createElement(Sy,{...e}):""," ",t().createElement(hm,{...e}))},Ey=({displayNumber:e,characterCount:n})=>{const{t:r}=ii();return t().createElement("div",null,r("question",{displayNumber:e})," ",r("answer-errors.answer-too-long",{count:n}))};function Ny({validationErrors:e,inExam:n}){return e.length>0?t().createElement("div",{className:Ui()({"error-indicator e-bg-color-error e-color-off-white":n,"e-font-size-xs":n},"e-columns e-columns--inline e-pad-1 e-mrg-r-1"),role:"alert"},t().createElement("div",{className:"e-column e-column--narrow",style:{color:"#f90"}},t().createElement($l,{size:"lg",icon:Mo,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(Cy,{...e,key:n}):t().createElement(Ey,{...e,key:n})})))):null}const Sy=({elementType:n,displayNumber:r})=>{if("section"===n){const{root:n}=(0,e.useContext)(Si),i=Ne(n,(e=>"section"===e.localName&&e.getAttribute("display-number")===r));if(i){const e=Ne(i,"section-title");if(e)return t().createElement(t().Fragment,null,`${e.textContent.trim()}:`)}}return null},ky=t().memo((()=>{const e=Ji((e=>e.answers.validationErrors));return t().createElement(Ny,{validationErrors:e,inExam:!0})})),jy=t().memo((function(){const e=Ji(ho),{t:n}=ii();return"initial"===e?null:t().createElement("div",{className:"save-indicator e-pad-1 e-font-size-xs"},t().createElement("span",{className:Ui()("save-indicator-text",`save-indicator-text--${e}`)},n("answer-saved")))})),Dy=Un({attachment:bm,"attachment-link":ji("link"),"attachment-links":Di("link"),audio:Kc,"audio-title":au,"audio-group":sm,"audio-test":lm,"choice-answer":xm,"dropdown-answer":Og,"exam-footer":Rg,"external-material":eu,file:tu,formula:nu,image:ou,question:Fg,"question-number":Nu,translation:Su,"question-instruction":Hg,"question-title":Yg,hints:Gg,references:dm,"scored-text-answer":sy,"scored-text-answers":Gg,"section-instruction":Jg,section:Qg,"section-title":Xg,"text-answer":sy,video:du,"image-overlay":Mu}),Ly=()=>{const{t:e}=ii();return t().createElement("div",{className:"e-examine-exam-instructions",id:"examineExamInstructions"},e("examine-exam.instructions"))},Oy=t().memo(Uu(ki((({doc:n,casStatus:r,answers:i,restrictedAudioPlaybackStats:o,examServerApi:a,studentName:s,showUndoView:l,undoViewProps:c,annotations:u,onClickAnnotation:d,onSaveAnnotation:f})=>{const{date:p,dateTimeFormatter:h,dayCode:m,examCode:g,language:y,resolveAttachment:b,root:x,subjectLanguage:w}=(0,e.useContext)(Si),A=Ne(x,"exam-title"),T=Ne(x,"exam-instruction"),M=Ne(x,"table-of-contents"),C=Ne(x,"external-material"),E=x.getAttribute("exam-stylesheet"),N=(0,e.createRef)(),S=Ti((()=>am(Ed(n),r,i,o,a))),k=Ti((()=>ym({showAttachmentLinks:!0,showAnsweringInstructions:!0,isInSidebar:!0}))),j=Ti((()=>ym({showAttachmentLinks:!0,showAnsweringInstructions:!0,isInSidebar:!1}))),D=Ti((()=>ri(y,g,m)));(0,e.useEffect)(oi(D,y)),(0,e.useEffect)(Ai,[]);const[L,O]=(0,e.useState)([]);(0,e.useEffect)((()=>{const e=new IntersectionObserver(R),t=L;return t.forEach((t=>e.observe(t))),()=>{t.forEach((t=>e.unobserve(t)))}}),[L]);const R=e=>e.forEach((e=>{const t=e.target.getAttribute("data-toc-id");z((n=>e.isIntersecting?[...n,t]:n.filter((e=>e!==t))))})),[P,z]=(0,e.useState)([]);(0,e.useEffect)((()=>{P.forEach((e=>{const t=e.replace("question-",""),n=document.querySelector(`.table-of-contents li[data-list-number="${t}."]`);if(n){const e=(e=>{const t=e.getBoundingClientRect();return t.top>=100&&t.bottom<=window.innerHeight-100})(n),t=document.querySelector(".sidebar-toc-container .table-of-contents");if(!e&&t){const e=t.getBoundingClientRect().height,r=n.offsetTop-e/2;t.scrollTo({behavior:"smooth",top:r})}}}))}),[P]);const U=void 0!==a.examineExam,B="[Kokelaan Nimi]"===s;return t().createElement(ro,{store:S},t().createElement(I,{annotations:u,onClickAnnotation:d,onSaveAnnotation:f},t().createElement(xe.Provider,{value:{visibleTOCElements:P,addRef:e=>{L.includes(e)||O((t=>[...t,e]))}}},t().createElement(v,{i18n:D},t().createElement("main",{className:"e-exam",lang:w,"aria-labelledby":ui,ref:N},t().createElement(wd,null),t().createElement(t().StrictMode,null),E&&t().createElement("link",{rel:"stylesheet",href:b(E)}),t().createElement("div",{className:"e-toc-and-exam"},M&&t().createElement("div",{className:"sidebar-toc-container","aria-hidden":"true"},t().createElement(k,{element:M,renderChildNodes:Dy})),t().createElement("div",{className:"main-exam-container"},t().createElement("div",{className:"main-exam"},t().createElement(Kg,{studentName:s}),t().createElement(Du,{"aria-labelledby":ui},A&&t().createElement(Pu,{id:ui},Dy(A)),p&&t().createElement("p",null,t().createElement("strong",null,h.format(p))),T&&t().createElement(Pg,{element:T,renderChildNodes:Dy}),M&&t().createElement("div",{className:"main-toc-container"},t().createElement(j,{element:M,renderChildNodes:Dy})),C&&t().createElement(eu,{element:C,renderChildNodes:Dy,forceRender:!0})),Dy(x),(B||U)&&t().createElement("div",{className:"e-examine-exam"},t().createElement(zg,null),t().createElement(Ly,null))))),(B||U)&&t().createElement(cm,null,t().createElement("div",{className:"e-footer-version-number-container"},t().createElement(vm,null))),t().createElement("div",{className:"e-indicators-container"},t().createElement(ky,null),t().createElement(jy,null)),l&&U&&t().createElement(wy,{...c}))))))})))),Ry=Zu((({element:n,renderChildNodes:r})=>{const{displayNumber:i}=(0,e.useContext)(Gu);return t().createElement(Du,{className:"e-grading-instruction-section","aria-labelledby":fi(i)},r(n))})),Py=Eu((function({element:n,renderChildNodes:r}){const{displayNumber:i,level:o}=(0,e.useContext)(Cu);return t().createElement("div",{className:Ui()("e-grading-instructions-question",{"e-mrg-b-8 e-clearfix":0===o,"e-mrg-l-8 e-mrg-y-4":o>0}),id:i,"data-annotation-anchor":i},t().createElement("div",{className:"anchor",id:`question-nr-${i}`}),r(n,1))})),zy=({element:e,renderChildNodes:n})=>t().createElement("div",{className:"e-exam-grading-instruction notification e-pad-4","data-annotation-anchor":"exam-grading-instruction"},n(e)),Uy=({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)),By=({element:n,renderChildNodes:r})=>{const{answers:i}=(0,e.useContext)(Cu),o=Ne(n,"answer-grading-instruction"),a=ke(n,"max-length"),s=t().createElement(t().Fragment,null,null!=a&&t().createElement(iy,{maxLength:a}),t().createElement("ul",null,r(n)),o&&t().createElement(Uy,{element:o,renderChildNodes:r}));if(1===i.length)return s;{const e=Se(n,"display-number"),i=ke(n,"max-score"),o=Ne(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(Dg,{score:i})),s)}},Gy=({element:e,renderChildNodes:n})=>{const r=ke(e,"score");if(!r)return null;const{t:i}=ii();return t().createElement("li",null,n(e),we,"(",i("points",{count:r}),")")},Zy=e=>n=>{const r=r=>e(r)?t().createElement(n,{...r}):null;return r.displayName=`RenderIf(${Ei(n)})`,r},Fy=({element:e,renderChildNodes:n})=>{const r=Ne(e,["audio-transcription","video-transcription"]);if(r){const{t:i}=ii(),o=Ne(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},Hy=Zy((({element:e})=>null!=Ee(e,["answer-grading-instruction","choice-answer-option","dropdown-answer-option","exam-grading-instruction","question-grading-instruction","hint","question-title","question-instruction"]))),_y=Zy((({element:e})=>null==Ee(e,["external-material"]))),Yy=Un({"accepted-answer":Gy,attachment:Bu,"attachment-link":_y(ji("plain")),"attachment-links":_y(Di("plain")),audio:Fy,"audio-group":Bu,"choice-answer":By,"choice-answer-option":Gy,"dropdown-answer":By,"dropdown-answer-option":Gy,"external-material":Bu,file:Hy(tu),formula:Hy(nu),hints:Bu,image:Hy(ou),question:Py,"question-title":({element:n,renderChildNodes:r})=>{const{displayNumber:i,maxScore:o,level:a}=(0,e.useContext)(Cu),s=`h${Math.min(3+a,6)}`;return t().createElement(t().Fragment,null,t().createElement(s,{className:Ui()("exam-question-title",{"e-normal e-font-size-m":a>0})},t().createElement("strong",{className:Ui()("exam-question-title__display-number",{"exam-question-title__display-number--indented":a>0})},`${Ou(i)} `),r(n)," ",t().createElement(Dg,{score:o,size:0===a?"large":"small"})))},"question-instruction":Hg,"question-grading-instruction":Uy,"question-number":Nu,translation:Su,"scored-text-answer":By,"text-answer":By,section:Ry,"section-title":({element:n,renderChildNodes:r})=>{const{sections:i}=(0,e.useContext)(Si),{displayNumber:o}=(0,e.useContext)(Gu),{t:a}=ii();return t().createElement(t().Fragment,null,n.hasChildNodes()&&t().createElement("h2",{className:"e-grading-instructions-section-title",id:fi(o)},i.length>1&&a("section",{displayNumber:o})," ",r(n)))},video:Fy}),qy=()=>{const{t:e}=ii();return t().createElement(t().Fragment,null,e("grading-instructions-page-title"))},Vy=t().memo(ki((({doc:n,annotations:r,onClickAnnotation:i,onSaveAnnotation:o})=>{const a=n.documentElement,{date:s,dateTimeFormatter:l,dayCode:c,examCode:u,language:d,subjectLanguage:f}=(0,e.useContext)(Si),p=Ne(a,"exam-title"),h=Ne(a,"exam-grading-instruction"),m=Ne(a,"table-of-contents"),g=ym({showAnsweringInstructions:!1,showAttachmentLinks:!1,isInSidebar:!1}),y=Ti((()=>ri(d,u,c)));return(0,e.useEffect)(oi(y,d)),(0,e.useEffect)(Ai,[]),t().createElement(I,{annotations:r,onClickAnnotation:i,onSaveAnnotation:o},t().createElement(v,{i18n:y},t().createElement("main",{className:"e-exam e-grading-instructions",lang:f},t().createElement(wd,null),t().createElement(t().StrictMode,null),t().createElement(Du,{"aria-labelledby":ui},t().createElement(Pu,{id:ui},t().createElement(qy,null)," ",p&&Yy(p)),s&&t().createElement("p",null,t().createElement("strong",null,l.format(s))),h&&t().createElement(zy,{element:h,renderChildNodes:Yy}),m&&t().createElement("div",{className:"main-toc-container"},t().createElement(g,{element:m,renderChildNodes:Yy}))),Yy(a))))}))),Wy=t().createContext({}),Qy=Ni(Wy,(({scores:e,doc:t,gradingStructure:n,gradingText:r,answers:i,singleGrading:o})=>{const a=Ud(i,"questionId"),s=function(e,t,n,r){return jn(e.map((e=>function(e,t,n,r){const i=jn(Le(e).map((e=>{const i=ke(e,"question-id"),o=r[i];return o?"choice"===o.type?((e,n)=>{var r;const i=Jy(t,e);return i?null===(r=i.options.find((e=>e.id===Number(n.value))))||void 0===r?void 0:r.score:0})(i,o):(e=>{var t,r;const i=Xy(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===Ae(e,"question").length&&i<0?0:i}(e,t,n,r))))}(Ce(t.documentElement,"question",!1),n,e,a);return{answersByQuestionId:a,gradingStructure:n,scores:e,totalScore:s,gradingText:r,singleGrading:o}}));function Jy(e,t){const n=(null==e?void 0: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 Xy(e,t){return e.find((e=>e.questionId===t))}const Ky=()=>{const{gradingStructure:t}=(0,e.useContext)(Wy);return void 0===t},$y=t().memo((function({answers:n,displayNumber:r,children:i,multilineAnswer:o,questionId:a}){var s;const{displayNumber:l}=(0,e.useContext)(Cu),c=Ky(),u=r?`${l}.${null==r?void 0:r.replace(".","")}`:void 0,{answersByQuestionId:d}=(0,e.useContext)(Wy),f=!(!a||!d)&&(null===(s=d[a])||void 0===s?void 0:s.answerNonAnswer),{t:p}=ii();return c?null:t().createElement("span",{className:Ui()("e-result-scorecount","e-float-right",{"e-result-scorecount-multiline-answer":o}),id:u},f&&t().createElement("div",{className:"non-answer"},p("grading.non-answer-not-graded")),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))})),ev=t().memo((function({score:n,maxScore:r,displayNumber:i,questionId:o}){const{answers:a}=(0,e.useContext)(Cu),{t:s}=ii(),l={answers:a,displayNumber:i,questionId:o};return t().createElement($y,{...l},"number"==typeof n?t().createElement("b",null,n):t().createElement("span",{className:"e-result-scorecount-empty"})," ",r?`/ ${r} `:null," ",s("points",{count:""}))}));function tv({renderChildNodes:e,selected:n,element:r,questionId:i,direction:o,isCorrect:a}){const{t:s}=ii(),l=r.getAttribute("class"),c=r.getAttribute("option-id"),u=t().createElement("div",{className:Ui()("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:Ui()("e-radio-button",{"e-column e-column--narrow":e}),name:String(i),value:c,checked:n,readOnly:!0}),u,a&&t().createElement($g,null,s("screen-reader.correct-answer")));return"vertical"===o?t().createElement("div",{className:"e-mrg-b-1"},t().createElement("label",{className:Ui()("e-columns",{"e-correct-answer-left":a,"e-columns--inline":null==Me(r,["image","video"])})},t().createElement(d,{narrow:!0}))):t().createElement("div",{className:"e-column e-mrg-b-1"},t().createElement("label",{className:Ui()("e-block e-text-center",{"e-correct-answer-bottom":a})},t().createElement(d,null)))}const nv=t().memo((function({element:n,renderChildNodes:r}){var i,o;const{answersByQuestionId:a,gradingStructure:s}=(0,e.useContext)(Wy),l=ke(n,"question-id"),c=a[l],u=n.getAttribute("direction")||"vertical",d=n.getAttribute("class"),f=Jy(s,l),p=c&&(null===(o=null===(i=null==f?void 0:f.options)||void 0===i?void 0:i.find((e=>e.id===Number(c.value))))||void 0===o?void 0:o.score),h=ke(n,"max-score");return t().createElement(t().Fragment,null,t().createElement(ev,{score:p,maxScore:h,questionId:l}),t().createElement("div",{className:Ui()("e-choice-answer",d,{"e-columns":"horizontal"===u})},De(n,(e=>{var n;const i=ke(e,"option-id"),o=null!=c&&Number(c.value)===i,a=null===(n=null==f?void 0:f.options)||void 0===n?void 0:n.find((e=>e.id===i));return t().createElement(tv,{element:e,renderChildNodes:r,questionId:l,key:i,direction:u,selected:o,isCorrect:(null==a?void 0:a.correct)||!1})}))))})),rv=t().memo((function({element:n,renderChildNodes:r}){var i;const{t:o,i18n:a}=ii(),{answersByQuestionId:s,gradingStructure:l}=(0,e.useContext)(Wy),{answers:c}=(0,e.useContext)(Cu),u=ke(n,"question-id"),d=s[u],f=Ne(n,(e=>(null==d?void 0:d.value)===e.getAttribute("option-id"))),p=Ky(),h=Jy(l,u),m=(null==h?void 0:h.options.filter((e=>e.correct)).map((e=>e.id)))||[],g=Array.from(n.children).filter((e=>m.includes(ke(e,"option-id")))),y=f&&m.includes(ke(f,"option-id")),v=Ug(n.getAttribute("display-number")),b=d&&(null===(i=null==h?void 0:h.options.find((e=>e.id===Number(d.value))))||void 0===i?void 0:i.score)||0,I=ke(n,"max-score");return t().createElement(t().Fragment,null,c.length>1&&t().createElement("sup",null,v),t().createElement("span",{className:Ui()("e-dropdown-answer__answered",!f&&"e-dropdown-answer__no-answer",!p&&{"e-dropdown-answer__answered--correct":y,"e-dropdown-answer__answered--wrong":!y}),"data-question-id":u,"aria-description":f?void 0:a.t("examineExam.questionHasNoAnswer")},t().createElement($g,null,o("screen-reader.answer-begin")),f&&r(f),t().createElement($g,null,o("screen-reader.answer-end")),y&&t().createElement($g,null,o("screen-reader.correct-answer"))),!p&&!y&&t().createElement("span",{className:"e-dropdown-answer__correct","aria-hidden":!0},g.map(((e,n)=>t().createElement(t().Fragment,{key:n},r(e),n<g.length-1&&", ")))),null!=b&&t().createElement(ev,{score:b,maxScore:I,displayNumber:v,questionId:u}))}));function iv({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(ov,{annotations:e})):t().createElement(t().Fragment,null,t().createElement("div",{className:"e-column e-column--6"},t().createElement(ov,{i18nTitleKey:"grading.pregrading-annotations",annotations:e})),t().createElement("div",{className:"e-column e-column--6"},t().createElement(ov,{i18nTitleKey:"grading.censor-annotations",annotations:n})))):null}const ov=({i18nTitleKey:e,annotations:n})=>{const{t:r}=ii();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},av=t().memo((function(){const{answers:n}=(0,e.useContext)(Cu),{scores:r,singleGrading:i}=(0,e.useContext)(Wy),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=ke(e,"question-id"),n=Xy(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)=>Qp(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?Ug(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(iv,{pregradingAnnotations:s,censoringAnnotations:l,singleGrading:!!i})})),sv=t().memo(Eu((function({element:n,renderChildNodes:r}){var i,o;const{answersByQuestionId:a,gradingStructure:s}=(0,e.useContext)(Wy),{displayNumber:l,level:c}=(0,e.useContext)(Cu),u=function(e,t){return Le(e).some((e=>{var n;return null===(n=t[ke(e,"question-id")])||void 0===n?void 0:n.value}))}(n,a),{i18n:d}=ii(),f=null===(i=null==s?void 0:s.questions)||void 0===i?void 0:i.find((e=>e.displayNumber===l)),p=f&&("choices"in f?f.choices[0].id:f.id),h=!!p&&(null===(o=a[p])||void 0===o?void 0:o.answerNonAnswer);return t().createElement("div",{className:Ui()("e-exam-question",`e-level-${c}`,{"e-mrg-b-8 e-clearfix":0===c,"e-mrg-l-8 e-mrg-y-4":c>0,"no-answer":!u,"non-answer":h}),id:l,"aria-description":u?void 0:d.t("examineExam.questionHasNoAnswer")},r(n),t().createElement(av,null))}))),lv=t().memo((function({element:n,renderChildNodes:r}){const{displayNumber:i,level:o,maxAnswers:a,maxScore:s,childQuestions:l}=(0,e.useContext)(Cu),c=`h${Math.min(3+o,6)}`,u=Ky();return t().createElement(t().Fragment,null,t().createElement(c,{className:Ui()("exam-question-title",{"e-normal e-font-size-m":o>0})},t().createElement("strong",{className:Ui()("exam-question-title__display-number",{"exam-question-title__display-number--indented":o>0})},`${Ou(i)} `),r(n)," ",u&&t().createElement(Dg,{score:s,size:0===o?"large":"small"})),null!=a&&l.length>0&&t().createElement("p",{className:"e-italic"},t().createElement(_g,null),t().createElement(hm,{maxAnswers:a,childQuestions:l,elementType:"question"})))})),cv=t().memo(Zu((function({element:n,renderChildNodes:r}){const{displayNumber:i}=(0,e.useContext)(Gu);return t().createElement(Du,{"aria-labelledby":fi(i)},t().createElement("div",{className:"e-results-section-wrapper"},r(n)))}))),uv=5;function dv(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":fv(e,a,i,l,s,r);break;default:pv(e,a,i,l,s,r)}}}function fv(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=Re("span",{className:"e-annotation-wrapper"});return t.insertBefore(n,e),n.appendChild(e),n}(e),s=function(){const e=Re("mark",{className:Ui()("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(hv(o,"shape",n.message)),e}();return a.appendChild(s),s}(e.querySelectorAll("img")[a],o?t.message:"",t,n,r,i)}function pv(e,t,n,r,i,o){const{startIndex:a,length:s}=t;return function e(f,p,h){var m;if(!l(f)&&!function(e){return"SUP"===e.nodeName}(f)&&!function(e){return"BR"===e.nodeName}(f)&&p>=a){const a=Re("mark",{className:Ui()("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===(m=f.parentElement)||void 0===m||m.insertBefore(a,f);const l=d(a,f,h);l>0?e(c(a),p+s-l,l):i&&a.appendChild(hv(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 hv(e,t,n){return Re("sup",{className:`e-annotation__index e-annotation__index--${t}`,"data-content":n.length>uv?`${e})`:n,"data-message":n})}const mv=t().memo((function({displayNumber:n,score:r,value:i,answers:o,children:a}){const{t:s,i18n:l}=ii(),c=(0,e.useRef)(null);return(0,e.useLayoutEffect)((()=>{var e,t,n,i;c.current&&dv(c.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&&o.length>1&&t().createElement("sup",null,n),t().createElement("span",{className:Ui()("text-answer text-answer--single-line",{"no-answer":!i}),"aria-description":i?void 0:l.t("examineExam.questionHasNoAnswer")},t().createElement($g,null,s("screen-reader.answer-begin")),t().createElement("span",{className:"e-inline-block",ref:c},i),t().createElement($g,null,s("screen-reader.answer-end"))),a)})),gv=t().memo((function({element:n}){const{answers:r}=(0,e.useContext)(Cu),{answersByQuestionId:i,scores:o}=(0,e.useContext)(Wy),a=ke(n,"question-id"),s=ke(n,"max-score"),l=i[a],c=l&&l.value,u=Ug(n.getAttribute("display-number")),d=Xy(o,a),f=null==d?void 0:d.autograding;return t().createElement(mv,{answers:r,displayNumber:u,value:c,score:d},t().createElement(ev,{score:null==f?void 0:f.score,maxScore:s,displayNumber:r.length>1?u:void 0,questionId:a}))}));function yv({maxScore:e}){const{t:n}=ii();return t().createElement(t().Fragment,null,t().createElement("span",{className:"e-result-scorecount-empty"}),e&&` / ${e} `,n("points",{count:""}))}function vv({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 bv({score:e,shortCode:n,type:r,maxScore:i,latest:o}){const{t:a}=ii();return t().createElement("div",{className:o?"e-color-black":"e-color-darkgrey e-font-size-xs"},t().createElement(Iv,{className:Ui()("e-nowrap",{"e-font-size-m":o})},o?t().createElement("b",null,e):e,o&&i?` / ${i}`:""," p."),t().createElement(Iv,{className:"e-result-scorecount-shortcode"},n),t().createElement(Iv,{className:"e-mrg-r-0"},a(r)))}function Iv({className:e,children:n}){return t().createElement("span",{className:Ui()("e-mrg-r-1 e-nowrap",e)},n)}function xv({score:e}){return void 0!==e?{score:e,shortCode:"",type:"grading.pregrading-abbrev"}:null}function wv(e){return e.scores.map(((t,n)=>({score:t.score,shortCode:t.shortCode||"",type:"grading.round."+(e.scores.length-n)})))}const Av=t().memo((function({scores:n,maxScore:r,displayNumber:i,multilineAnswer:o,questionId:a}){var s,l,c,u,d;const{answers:f}=(0,e.useContext)(Cu),p={answers:f,displayNumber:i,multilineAnswer:o,questionId:a},h=null===(l=null===(s=null==n?void 0:n.censoring)||void 0===s?void 0:s.nonAnswerDetails)||void 0===l?void 0:l.shortCode;return t().createElement($y,{...p},null!=(null===(c=null==n?void 0:n.pregrading)||void 0===c?void 0:c.score)||(null===(d=null===(u=null==n?void 0:n.censoring)||void 0===u?void 0:u.scores)||void 0===d?void 0:d.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?wv(e.censoring):[],e.pregrading&&xv(e.pregrading)].filter(Boolean).map(((e,r)=>t().createElement(bv,{key:r,...e,latest:0===r,maxScore:n})))}(n,r),h&&t().createElement(vv,{shortCode:h})):t().createElement(yv,{maxScore:r}))})),Tv=({type:n,score:r,value:i})=>{const{t:o,i18n:a}=ii(),s=(0,e.useRef)(null);return(0,e.useLayoutEffect)((()=>{var e,t,n,i;s.current&&dv(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("div",{className:Ui()("e-multiline-results-text-answer e-line-height-l e-pad-x-2 e-mrg-b-1",{"no-answer":!i}),"aria-description":i?void 0:a.t("examineExam.questionHasNoAnswer")},t().createElement($g,null,o("screen-reader.answer-begin")),"rich-text"===n?t().createElement("div",{dangerouslySetInnerHTML:{__html:i||""},ref:s}):t().createElement("div",{className:"e-pre-wrap",ref:s},i),t().createElement($g,null,o("screen-reader.answer-end")))},Mv=t().memo((function({element:n}){var r;const{answers:i}=(0,e.useContext)(Cu),{answersByQuestionId:o,scores:a}=(0,e.useContext)(Wy),{t:s}=ii(),l=ke(n,"question-id"),c=ke(n,"max-score"),u=o[l],d=u&&u.value,f=i.length>1?Ug(n.getAttribute("display-number")):void 0,p=Xy(a,l),h=null===(r=null==p?void 0:p.pregrading)||void 0===r?void 0:r.comment,m=n.getAttribute("type")||"single-line",g=ke(n,"max-length");return"rich-text"===m?t().createElement(t().Fragment,null,null!=g&&t().createElement(iy,{maxLength:g}),t().createElement(Av,{multilineAnswer:!0,scores:p,maxScore:c,questionId:l}),t().createElement(Tv,{type:m,value:d,score:p}),t().createElement(ey,{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(mv,{answers:i,score:p,displayNumber:f,value:d},t().createElement(Av,{scores:p,maxScore:c,displayNumber:f,questionId:l}))})),Cv=({onEndSession:e,sessionEnded:n})=>{const{t:r}=ii();return t().createElement("div",{className:"e-logout-container"},t().createElement("div",{className:"e-bg-color-off-white e-pad-6 shadow-box"},n?t().createElement(t().Fragment,null,t().createElement("h3",null,r("examineExam.thankYouTitle")),t().createElement("p",null,r("examineExam.shutdownComputer"),t().createElement("br",null),r("examineExam.returnUsbStick"))):t().createElement(t().Fragment,null,t().createElement("h3",null,r("examineExam.endExamTitle")),t().createElement("p",null,r("examineExam.afterInspectingYourAnswers"),t().createElement("br",null),r("examineExam.youCanNotReturnToExam"))),!n&&t().createElement("button",{id:"endSession",className:"e-button",onClick:()=>{e()}},r("examineExam.endExamTitle"))))},Ev=Un({attachment:au,"attachment-link":ji("plain"),"attachment-links":Di("plain"),"audio-group":au,"choice-answer":nv,"dropdown-answer":rv,formula:nu,question:sv,hints:au,image:Zy((({element:e})=>null!=Ee(e,"choice-answer")))(ou),"question-instruction":Hg,"question-number":Nu,translation:Su,"question-title":lv,section:cv,"section-title":Xg,"text-answer":Mv,"scored-text-answer":gv,"scored-text-answers":au}),Nv=()=>{const{t:e}=ii();return e("examineExam.returnToExam")},Sv=()=>{const{t:e}=ii();return t().createElement("div",{className:"e-section examine-exam-page-instructions shadow-box"},t().createElement("h3",null,e("examineExam.checkYourAnswersTitle")),t().createElement("ul",null,t().createElement("li",null,e("examineExam.hereAreYourAnswers")),t().createElement("li",null,e("examineExam.checkYourAnswers")),t().createElement("li",null,e("examineExam.removeExcessAnswers")),t().createElement("li",null,t().createElement("span",{className:"no-answer-example"},e("examineExam.emptyAnswersAreHighlighted")),e("examineExam.thereMayBeOptionalQuestions"))))};function kv(){const{gradingText:n,totalScore:r}=(0,e.useContext)(Wy),{t:i}=ii();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 jv=t().memo(Qy(ki((({doc:n,returnToExam:r,endSession:i,studentSessionEnded:o=!1,isPreviewPage:a})=>{const{date:s,dateTimeFormatter:l,dayCode:c,examCode:u,language:d,resolveAttachment:f,root:p,subjectLanguage:h}=(0,e.useContext)(Si),{answersByQuestionId:m}=(0,e.useContext)(Wy),g=Ne(p,"exam-title"),y=p.getAttribute("exam-stylesheet"),b=Ti((()=>ri(d,u,c)));(0,e.useEffect)(oi(b,d)),(0,e.useEffect)(Ai,[]);const I=Ky(),x=void 0!==i,w=!I&&!a;return(0,e.useEffect)((()=>{window.location.hash=""}),[]),t().createElement(v,{i18n:b},t().createElement("main",{className:Ui()("e-exam e-results",{"examine-exam-page":I,"session-ended":o}),lang:h},t().createElement(t().StrictMode,null),y&&t().createElement("link",{rel:"stylesheet",href:f(y)}),!w&&t().createElement("button",{className:"e-exam-done-return js-exam-done-return e-button",onClick:r},"« ",t().createElement(Nv,null)),t().createElement("div",{className:"e-columns e-columns--bottom-v e-mrg-b-4"},g&&t().createElement(Pu,{id:"title",className:"e-column e-mrg-b-0"},Ev(g),s&&`, ${l.format(s)}`),!I&&t().createElement(kv,null)),!w&&t().createElement(Sv,null),t().createElement(Ny,{validationErrors:Kp(Ed(n),m),inExam:!1}),Ev(p),(x||a)&&t().createElement(Cv,{onEndSession:I?()=>{try{document.querySelectorAll("main > *:not(.e-logout-container)").forEach((e=>{const t=e;t.style.height=`${t.clientHeight}px`})),setTimeout((()=>{i()}),50)}catch(e){console.error(e)}}:()=>Promise.resolve(),sessionEnded:o})),t().createElement(cm,null))})))),Dv=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 Lv=Math.max;const Ov=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:Iu(n);return i<0&&(i=Lv(r+i,0)),Dv(e,Nn(t),i)};var Rv=Math.max,Pv=Math.min;const zv=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return void 0!==n&&(i=Iu(n),i=n<0?Rv(r+i,0):Pv(i,r-1)),Dv(e,Nn(t),i,!0)},Uv=function(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:Sn(e,t,n)},Bv=function(e){return e!=e},Gv=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):Dv(e,Bv,n)};var Zv=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var Fv="\\ud800-\\udfff",Hv="["+Fv+"]",_v="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Yv="\\ud83c[\\udffb-\\udfff]",qv="[^"+Fv+"]",Vv="(?:\\ud83c[\\udde6-\\uddff]){2}",Wv="[\\ud800-\\udbff][\\udc00-\\udfff]",Qv="(?:"+_v+"|"+Yv+")?",Jv="[\\ufe0e\\ufe0f]?",Xv=Jv+Qv+"(?:\\u200d(?:"+[qv,Vv,Wv].join("|")+")"+Jv+Qv+")*",Kv="(?:"+[qv+_v+"?",_v,Vv,Wv,Hv].join("|")+")",$v=RegExp(Yv+"(?="+Yv+")|"+Kv+Xv,"g");const eb=function(e){return function(e){return Zv.test(e)}(e)?function(e){return e.match($v)||[]}(e):function(e){return e.split("")}(e)};var tb=/^\s+/;const nb=function(e,t,n){if((e=In(e))&&(n||void 0===t))return e.replace(tb,"");if(!e||!(t=bn(t)))return e;var r=eb(e),i=function(e,t){for(var n=-1,r=e.length;++n<r&&Gv(t,e[n],0)>-1;);return n}(r,eb(t));return Uv(r,i).join("")},rb=function(e,t,n){if((e=In(e))&&(n||void 0===t))return e.slice(0,pu(e)+1);if(!e||!(t=bn(t)))return e;var r=eb(e),i=function(e,t){for(var n=e.length;n--&&Gv(t,e[n],0)>-1;);return n}(r,eb(t))+1;return Uv(r,0,i).join("")};function ib(e,t=!1){const n=(new DOMParser).parseFromString(e,"application/xml");return t||Ce(n.documentElement,["choice-answer","dropdown-answer"]).filter((e=>"fixed"!==Se(e,"ordering"))).forEach(ob),Ce(n.documentElement,"reference").forEach((e=>{Ce(e,(()=>!0),!1).forEach(ab)})),n}function ob(e){for(let t=e.children.length;t>0;t--){const n=Math.floor(Math.random()*t);e.appendChild(e.children[n])}const t=Ne(e,(e=>"no-answer"===Se(e,"type")));t&&e.appendChild(t)}function ab(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=Ov(n,t),i=zv(n,t);-1!==r&&(n.slice(0,r).forEach((e=>e.remove())),n[r].textContent=nb(n[r].textContent)),-1!==i&&(n.slice(i+1).forEach((e=>e.remove())),n[i].textContent=rb(n[i].textContent))}})(),a})()));