-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvendors-15.ef5f4c5f.bundle.js
1 lines (1 loc) · 73.2 KB
/
vendors-15.ef5f4c5f.bundle.js
1
(self.webpackChunktypescript_tutorial_exercises=self.webpackChunktypescript_tutorial_exercises||[]).push([["484"],{30664:function(e,t,n){"use strict";e.exports=n.p+"40227d4e7743acf79a71.woff2"},65285:function(e,t,n){"use strict";e.exports=n.p+"989bd76b2bad2c9738a9.woff"},1511:function(e,t,n){"use strict";e.exports=n.p+"f331e319e632ff939bb3.ttf"},53785:function(e,t,n){"use strict";e.exports=n.p+"3b43f4dec6925acd91bc.woff"},57633:function(e,t,n){"use strict";e.exports=n.p+"9fe46fd03b95b706c16a.woff"},62290:function(e){"use strict";e.exports=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}},84118:function(e,t,n){var r=n("20934")(n("25058"),"Map");e.exports=r},21010:function(e,t,n){var r=n("13882"),a=n("23036"),o=n("57340"),s=n("22888"),i=n("95728");function c(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])}}c.prototype.clear=r,c.prototype.delete=a,c.prototype.get=o,c.prototype.has=s,c.prototype.set=i,e.exports=c},36412:function(e,t,n){var r=n("67358"),a=n("60769"),o=n("97121"),s=n("36540"),i=n("14423"),c=n("84648"),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),u=!n&&a(e),p=!n&&!u&&s(e),E=!n&&!u&&!p&&c(e),L=n||u||p||E,T=L?r(e.length,String):[],f=T.length;for(var m in e)(t||l.call(e,m))&&!(L&&("length"==m||p&&("offset"==m||"parent"==m)||E&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||i(m,f)))&&T.push(m);return T}},28733:function(e,t,n){var r=n("9070"),a=n("45084");e.exports=function(e){return a(e)&&"[object Arguments]"==r(e)}},30696:function(e,t,n){var r=n("30993"),a=n("26881"),o=n("71129"),s=n("91900"),i=n("26255"),c=n("97121"),l=n("36540"),u=n("84648"),p="[object Arguments]",E="[object Array]",L="[object Object]",T=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,f,m,B){var d=c(e),h=c(t),I=d?E:i(e),_=h?E:i(t);I=I==p?L:I,_=_==p?L:_;var A=I==L,g=_==L,N=I==_;if(N&&l(e)){if(!l(t))return!1;d=!0,A=!1}if(N&&!A)return B||(B=new r),d||u(e)?a(e,t,n,f,m,B):o(e,t,I,n,f,m,B);if(!(1&n)){var k=A&&T.call(e,"__wrapped__"),O=g&&T.call(t,"__wrapped__");if(k||O){var b=k?e.value():e,M=O?t.value():t;return B||(B=new r),m(b,M,n,f,B)}}return!!N&&(B||(B=new r),s(e,t,n,f,m,B))}},20934:function(e,t,n){var r=n("95226"),a=n("73974");e.exports=function(e,t){var n=a(e,t);return r(n)?n:void 0}},19090:function(e,t,n){var r=n("98751");e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},60762:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},17972:function(e,t,n){"use strict";var r=n("23871");function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,s){if(s!==r){var i=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 i.name="Invariant Violation",i}}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:a};return n.PropTypes=n,n}},25821:function(e,t,n){"use strict";n.d(t,{DA:function(){return o},qy:function(){return a},sH:function(){return i},zC:function(){return s}});var r=n("35543"),a=(0,r.s)({},function(e){return{target:e.target,currentTarget:e.currentTarget}}),o=(0,r.s)(),s=(0,r.s)(),i=(0,r._)({async:!0,ssr:"undefined"!=typeof document})},17206:function(e){"use strict";e.exports=n;var t=n.prototype;function n(e,t){this.property=e,this.attribute=t}t.space=null,t.attribute=null,t.property=null,t.boolean=!1,t.booleanish=!1,t.overloadedBoolean=!1,t.number=!1,t.commaSeparated=!1,t.spaceSeparated=!1,t.commaOrSpaceSeparated=!1,t.mustUseProperty=!1,t.defined=!1},52561:function(e,t,n){"use strict";var r=n("83281"),a=n("14327");e.exports=r({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:a,properties:{xmlns:null,xmlnsXLink:null}})},19157:function(e,t,n){"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:function(){return r}})},86471:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}n.d(t,{Z:function(){return r}})},19156:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n("16756");function a(e,t){if("object"!=(0,r.Z)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=(0,r.Z)(a))return a;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}},68662:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n("67118");function a(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=({}).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)?(0,r.Z)(e,t):void 0}}},57278:function(e,t,n){"use strict";n.d(t,{Y:function(){return s}});var r=n("34231"),a=n("39822"),o=n("44098");function s(e,t){return(e?i(e,t||{}):void 0)||{type:"root",children:[]}}function i(e,t){var n=function(e,t){switch(e.nodeType){case 1:return function(e,t){for(var n=e.namespaceURI,s=n===r.t.svg?a.s:o.h,i=n===r.t.html?e.tagName.toLowerCase():e.tagName,c=n===r.t.html&&"template"===i?e.content:e,u=e.getAttributeNames(),p={},E=-1;++E<u.length;)p[u[E]]=e.getAttribute(u[E])||"";return s(i,p,l(c,t))}(e,t);case 3:return function(e){return{type:"text",value:e.nodeValue||""}}(e);case 8:return function(e){return{type:"comment",value:e.nodeValue||""}}(e);case 9:case 11:return c(e,t);case 10:return function(){return{type:"doctype"}}();default:return}}(e,t);return n&&t.afterTransform&&t.afterTransform(e,n),n}function c(e,t){return{type:"root",children:l(e,t)}}function l(e,t){for(var n=e.childNodes,r=[],a=-1;++a<n.length;){var o=i(n[a],t);void 0!==o&&r.push(o)}return r}},33271:function(e,t,n){"use strict";n.d(t,{h:function(){return s},s:function(){return i}});var r=n("94850"),a=n("3491"),o=n("50686"),s=(0,a.A)(r.dy,"div"),i=(0,a.A)(r.YP,"g",o._)},73809:function(e,t,n){"use strict";n.d(t,{_:function(){return r}});var r=["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","solidColor","textArea","textPath"]},73600:function(e,t,n){"use strict";n.d(t,{l:function(){return a}});var r=n("26140");function a(e,t){return[e(t,"br"),(0,r.u)("text","\n")]}},61703:function(e,t,n){"use strict";n.d(t,{Y:function(){return a}});var r=n("26140");function a(e,t){return e(t,"code",[(0,r.u)("text",t.value.replace(/\r?\n|\r/g," "))])}},44807:function(e,t,n){"use strict";n.d(t,{Pk:function(){return r},rb:function(){return a}});var r=o("start"),a=o("end");function o(e){return function(t){var n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:n.offset>-1?n.offset:null}}}},31517:function(e,t,n){"use strict";function r(e){var t=e||{},n=t.now||{},r=t.lineShift||0,a=n.line||1,o=n.column||1;return{move:function(e){var t=e||"",n=t.split(/\r?\n|\r/g),s=n[n.length-1];return a+=n.length-1,o=1===n.length?o+s.length:1+s.length+r,t},current:function(){return{now:{line:a,column:o},lineShift:r}},shift:function(e){r+=e}}}n.d(t,{j:function(){return r}})},81352:function(e,t,n){"use strict";n.d(t,{m:function(){return o}});var r=n("36768"),a=n("38619"),o={name:"blockQuote",tokenize:function(e,t,n){var r=this;return function(t){if(62===t){var a=r.containerState;return!a.open&&(e.enter("blockQuote",{_container:!0}),a.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),o}return n(t)};function o(n){return(0,a.xz)(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){var s=this;return function(t){return(0,a.xz)(t)?(0,r.f)(e,i,"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt(o,t,n)(r)}}},exit:function(e){e.exit("blockQuote")}}},30135:function(e,t,n){"use strict";n.d(t,{u:function(){return o}});var r=n("43999"),a=n("38619"),o={name:"characterReference",tokenize:function(e,t,n){var o,s,i=this,c=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),l};function l(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),o=31,s=a.H$,p(t))}function u(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,s=a.AF,p):(e.enter("characterReferenceValue"),o=7,s=a.pY,p(t))}function p(l){if(59===l&&c){var u=e.exit("characterReferenceValue");return s!==a.H$||(0,r.T)(i.sliceSerialize(u))?(e.enter("characterReferenceMarker"),e.consume(l),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(l)}return s(l)&&c++<o?(e.consume(l),p):n(l)}}}},46616:function(e,t,n){"use strict";n.d(t,{K:function(){return u}});var r=n("5392"),a=n("36768"),o=n("38619"),s=n("74457");function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l={tokenize:function(e,t,n){var r=this;return(0,a.f)(e,function(e){var a=r.events[r.events.length-1];return a&&"gfmFootnoteDefinitionIndent"===a[1].type&&4===a[2].sliceSerialize(a[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function u(){var e;return{document:c({},91,{tokenize:T,continuation:{tokenize:f},exit:m}),text:(c(e={},91,{tokenize:L}),c(e,93,{add:"after",tokenize:p,resolveTo:E}),e)}}function p(e,t,n){for(var r,a=this,o=a.events.length,i=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);o--;){var c=a.events[o][1];if("labelImage"===c.type){r=c;break}if("gfmFootnoteCall"===c.type||"labelLink"===c.type||"label"===c.type||"image"===c.type||"link"===c.type)break}return function(o){if(!r||!r._balanced)return n(o);var c=(0,s.d)(a.sliceSerialize({start:r.end,end:a.now()}));return 94===c.codePointAt(0)&&i.includes(c.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o)):n(o)}}function E(e,t){for(var n,r,a=e.length;a--;)if("labelImage"===e[a][1].type&&"enter"===e[a][0]){e[a][1];break}e[a+1][1].type="data",e[a+3][1].type="gfmFootnoteCallLabelMarker";var o={type:"gfmFootnoteCall",start:Object.assign({},e[a+3][1].start),end:Object.assign({},e[e.length-1][1].end)},s={type:"gfmFootnoteCallMarker",start:Object.assign({},e[a+3][1].end),end:Object.assign({},e[a+3][1].end)};s.end.column++,s.end.offset++,s.end._bufferIndex++;var c={type:"gfmFootnoteCallString",start:Object.assign({},s.end),end:Object.assign({},e[e.length-1][1].start)},l={type:"chunkString",contentType:"string",start:Object.assign({},c.start),end:Object.assign({},c.end)},u=[e[a+1],e[a+2],["enter",o,t],e[a+3],e[a+4],["enter",s,t],["exit",s,t],["enter",c,t],["enter",l,t],["exit",l,t],["exit",c,t],e[e.length-2],e[e.length-1],["exit",o,t]];return e.splice.apply(e,[a,e.length-a+1].concat(function(e){if(Array.isArray(e))return i(e)}(n=u)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}}(n)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())),e}function L(e,t,n){var r,a=this,i=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),c=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),l};function l(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",u)}function u(l){if(c>999||93===l&&!r||null===l||91===l||(0,o.z3)(l))return n(l);if(93===l){e.exit("chunkString");var E=e.exit("gfmFootnoteCallString");return i.includes((0,s.d)(a.sliceSerialize(E)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(l)}return!(0,o.z3)(l)&&(r=!0),c++,e.consume(l),92===l?p:u}function p(t){return 91===t||92===t||93===t?(e.consume(t),c++,u):u(t)}}function T(e,t,n){var r,i,c=this,l=c.parser.gfmFootnotes||(c.parser.gfmFootnotes=[]),u=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),p};function p(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",E):n(t)}function E(t){if(u>999||93===t&&!i||null===t||91===t||(0,o.z3)(t))return n(t);if(93===t){e.exit("chunkString");var a=e.exit("gfmFootnoteDefinitionLabelString");return r=(0,s.d)(c.sliceSerialize(a)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),T}return!(0,o.z3)(t)&&(i=!0),u++,e.consume(t),92===t?L:E}function L(t){return 91===t||92===t||93===t?(e.consume(t),u++,E):E(t)}function T(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),!l.includes(r)&&l.push(r),(0,a.f)(e,f,"gfmFootnoteDefinitionWhitespace")):n(t)}function f(e){return t(e)}}function f(e,t,n){return e.check(r.w,t,e.attempt(l,t,n))}function m(e){e.exit("gfmFootnoteDefinition")}},38619:function(e,t,n){"use strict";n.d(t,{AF:function(){return l},Av:function(){return i},B8:function(){return f},Ch:function(){return p},H$:function(){return o},Xh:function(){return T},jv:function(){return a},n9:function(){return s},pY:function(){return c},sR:function(){return u},xz:function(){return L},z3:function(){return E}});var r=n("22522"),a=m(/[A-Za-z]/),o=m(/[\dA-Za-z]/),s=m(/[#-'*+\--9=?A-Z^-~]/);function i(e){return null!==e&&(e<32||127===e)}var c=m(/\d/),l=m(/[\dA-Fa-f]/),u=m(/[!-/:-@[-`{-~]/);function p(e){return null!==e&&e<-2}function E(e){return null!==e&&(e<0||32===e)}function L(e){return -2===e||-1===e||32===e}var T=m(r.N),f=m(/\s/);function m(e){return function(t){return null!==t&&e.test(String.fromCharCode(t))}}},28331:function(e,t,n){"use strict";n.d(t,{e:function(){return a}});var r=n("7147");function a(e){for(;!(0,r._)(e););return e}},92366:function(e,t,n){"use strict";n.d(t,{GT:function(){return l},NV:function(){return p},TZ:function(){return L},cS:function(){return E},ii:function(){return u},xM:function(){return T}});var r=n("24307"),a={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},o=new Map(["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]})),s=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:r.NS.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:r.NS.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:r.NS.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:r.NS.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:r.NS.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:r.NS.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:r.NS.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:r.NS.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:r.NS.XML}],["xml:space",{prefix:"xml",name:"space",namespace:r.NS.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:r.NS.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:r.NS.XMLNS}]]),i=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","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]})),c=new Set([r.LB.B,r.LB.BIG,r.LB.BLOCKQUOTE,r.LB.BODY,r.LB.BR,r.LB.CENTER,r.LB.CODE,r.LB.DD,r.LB.DIV,r.LB.DL,r.LB.DT,r.LB.EM,r.LB.EMBED,r.LB.H1,r.LB.H2,r.LB.H3,r.LB.H4,r.LB.H5,r.LB.H6,r.LB.HEAD,r.LB.HR,r.LB.I,r.LB.IMG,r.LB.LI,r.LB.LISTING,r.LB.MENU,r.LB.META,r.LB.NOBR,r.LB.OL,r.LB.P,r.LB.PRE,r.LB.RUBY,r.LB.S,r.LB.SMALL,r.LB.SPAN,r.LB.STRONG,r.LB.STRIKE,r.LB.SUB,r.LB.SUP,r.LB.TABLE,r.LB.TT,r.LB.U,r.LB.UL,r.LB.VAR]);function l(e){var t=e.tagID;return t===r.LB.FONT&&e.attrs.some(function(e){var t=e.name;return t===r.Ze.COLOR||t===r.Ze.SIZE||t===r.Ze.FACE})||c.has(t)}function u(e){for(var t=0;t<e.attrs.length;t++)if("definitionurl"===e.attrs[t].name){e.attrs[t].name="definitionURL";break}}function p(e){for(var t=0;t<e.attrs.length;t++){var n=o.get(e.attrs[t].name);null!=n&&(e.attrs[t].name=n)}}function E(e){for(var t=0;t<e.attrs.length;t++){var n=s.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}function L(e){var t=i.get(e.tagName);null!=t&&(e.tagName=t,e.tagID=(0,r.OL)(e.tagName))}function T(e,t,n,o){var s;return(!o||o===r.NS.HTML)&&function(e,t,n){if(t===r.NS.MATHML&&e===r.LB.ANNOTATION_XML){for(var o=0;o<n.length;o++)if(n[o].name===r.Ze.ENCODING){var s=n[o].value.toLowerCase();return s===a.TEXT_HTML||s===a.APPLICATION_XML}}return t===r.NS.SVG&&(e===r.LB.FOREIGN_OBJECT||e===r.LB.DESC||e===r.LB.TITLE)}(e,t,n)||(!o||o===r.NS.MATHML)&&(s=e,t===r.NS.MATHML&&(s===r.LB.MI||s===r.LB.MO||s===r.LB.MN||s===r.LB.MS||s===r.LB.MTEXT))}},3e4:function(e,t,n){"use strict";n.d(t,{_:function(){return I}});var r,a,o=n("94923"),s=n("98852"),i=n("37328"),c=n("90762"),l=n("47808"),u=n("92366"),p=n("15989"),E=n("14712"),L=n("24307"),T=n("53061");function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,a,o;r=e,a=t,o=n[t],a in r?Object.defineProperty(r,a,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[a]=o})}return e}(r=a||(a={}))[r.INITIAL=0]="INITIAL",r[r.BEFORE_HTML=1]="BEFORE_HTML",r[r.BEFORE_HEAD=2]="BEFORE_HEAD",r[r.IN_HEAD=3]="IN_HEAD",r[r.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",r[r.AFTER_HEAD=5]="AFTER_HEAD",r[r.IN_BODY=6]="IN_BODY",r[r.TEXT=7]="TEXT",r[r.IN_TABLE=8]="IN_TABLE",r[r.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",r[r.IN_CAPTION=10]="IN_CAPTION",r[r.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",r[r.IN_TABLE_BODY=12]="IN_TABLE_BODY",r[r.IN_ROW=13]="IN_ROW",r[r.IN_CELL=14]="IN_CELL",r[r.IN_SELECT=15]="IN_SELECT",r[r.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",r[r.IN_TEMPLATE=17]="IN_TEMPLATE",r[r.AFTER_BODY=18]="AFTER_BODY",r[r.IN_FRAMESET=19]="IN_FRAMESET",r[r.AFTER_FRAMESET=20]="AFTER_FRAMESET",r[r.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",r[r.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET";var B={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},d=new Set([L.LB.TABLE,L.LB.TBODY,L.LB.TFOOT,L.LB.THEAD,L.LB.TR]),h={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:c.g,onParseError:null},I=function(){var e,t,n;function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,r),this.fragmentContext=n,this.scriptHandler=c,this.currentToken=null,this.stopped=!1,this.insertionMode=a.INITIAL,this.originalInsertionMode=a.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options=m({},h,e),this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=null!=t?t:this.treeAdapter.createDocument(),this.tokenizer=new o.d(this.options,this),this.activeFormattingElements=new i.T(this.treeAdapter),this.fragmentContextID=n?(0,L.OL)(this.treeAdapter.getTagName(n)):L.LB.UNKNOWN,this._setContextModes(null!=n?n:this.document,this.fragmentContextID),this.openElements=new s.X(this.document,this.treeAdapter,this)}return e=r,t=[{key:"getFragment",value:function(){var e=this.treeAdapter.getFirstChild(this.document),t=this.treeAdapter.createDocumentFragment();return this._adoptNodes(e,t),t}},{key:"_err",value:function(e,t,n){if(this.onParseError){var r,a=null!==(r=e.location)&&void 0!==r?r:B,o={code:t,startLine:a.startLine,startCol:a.startCol,startOffset:a.startOffset,endLine:n?a.startLine:a.endLine,endCol:n?a.startCol:a.endCol,endOffset:n?a.startOffset:a.endOffset};this.onParseError(o)}}},{key:"onItemPush",value:function(e,t,n){var r,a;null===(a=(r=this.treeAdapter).onItemPush)||void 0===a||a.call(r,e),n&&this.openElements.stackTop>0&&this._setContextModes(e,t)}},{key:"onItemPop",value:function(e,t){var n,r,a,o,s;this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null===(r=(n=this.treeAdapter).onItemPop)||void 0===r||r.call(n,e,this.openElements.current),t&&(0===this.openElements.stackTop&&this.fragmentContext?(a=this.fragmentContext,o=this.fragmentContextID):(a=(s=this.openElements).current,o=s.currentTagId),this._setContextModes(a,o))}},{key:"_setContextModes",value:function(e,t){var n=e===this.document||this.treeAdapter.getNamespaceURI(e)===L.NS.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&!this._isIntegrationPoint(t,e)}},{key:"_switchToTextParsing",value:function(e,t){this._insertElement(e,L.NS.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=a.TEXT}},{key:"switchToPlaintextParsing",value:function(){this.insertionMode=a.TEXT,this.originalInsertionMode=a.IN_BODY,this.tokenizer.state=o.P.PLAINTEXT}},{key:"_getAdjustedCurrentElement",value:function(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}},{key:"_findFormInFragmentContext",value:function(){for(var e=this.fragmentContext;e;){if(this.treeAdapter.getTagName(e)===L.ab.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}},{key:"_initTokenizerForFragmentParsing",value:function(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===L.NS.HTML)switch(this.fragmentContextID){case L.LB.TITLE:case L.LB.TEXTAREA:this.tokenizer.state=o.P.RCDATA;break;case L.LB.STYLE:case L.LB.XMP:case L.LB.IFRAME:case L.LB.NOEMBED:case L.LB.NOFRAMES:case L.LB.NOSCRIPT:this.tokenizer.state=o.P.RAWTEXT;break;case L.LB.SCRIPT:this.tokenizer.state=o.P.SCRIPT_DATA;break;case L.LB.PLAINTEXT:this.tokenizer.state=o.P.PLAINTEXT}}},{key:"_setDocumentType",value:function(e){var t=this,n=e.name||"",r=e.publicId||"",a=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,r,a),e.location){var o=this.treeAdapter.getChildNodes(this.document).find(function(e){return t.treeAdapter.isDocumentTypeNode(e)});o&&this.treeAdapter.setNodeSourceCodeLocation(o,e.location)}}},{key:"_attachElementToTree",value:function(e,t){if(this.options.sourceCodeLocationInfo){var n,r,a=t&&(n=m({},t),r=(r={startTag:t},r),Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(r)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}),n);this.treeAdapter.setNodeSourceCodeLocation(e,a)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{var o=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(o,e)}}},{key:"_appendElement",value:function(e,t){var n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}},{key:"_insertElement",value:function(e,t){var n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}},{key:"_insertFakeElement",value:function(e,t){var n=this.treeAdapter.createElement(e,L.NS.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}},{key:"_insertTemplate",value:function(e){var t=this.treeAdapter.createElement(e.tagName,L.NS.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}},{key:"_insertFakeRootElement",value:function(){var e=this.treeAdapter.createElement(L.ab.HTML,L.NS.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,L.LB.HTML)}},{key:"_appendCommentNode",value:function(e,t){var n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}},{key:"_insertCharacters",value:function(e){if(this._shouldFosterParentOnInsertion()?(t=(r=this._findFosterParentingLocation()).parent,(n=r.beforeElement)?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),e.location){var t,n,r,a=this.treeAdapter.getChildNodes(t),o=n?a.lastIndexOf(n):a.length,s=a[o-1];if(this.treeAdapter.getNodeSourceCodeLocation(s)){var i=e.location,c=i.endLine,l=i.endCol,u=i.endOffset;this.treeAdapter.updateNodeSourceCodeLocation(s,{endLine:c,endCol:l,endOffset:u})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(s,e.location)}}},{key:"_adoptNodes",value:function(e,t){for(var n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}},{key:"_setEndLocation",value:function(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){var n=t.location,r=this.treeAdapter.getTagName(e),a=t.type===T.i.END_TAG&&r===t.tagName?{endTag:m({},n),endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,a)}}},{key:"shouldProcessStartTagTokenInForeignContent",value:function(e){var t,n,r;return!!this.currentNotInHTML&&(0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):(t=(r=this.openElements).current,n=r.currentTagId),(e.tagID!==L.LB.SVG||this.treeAdapter.getTagName(t)!==L.ab.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==L.NS.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===L.LB.MGLYPH||e.tagID===L.LB.MALIGNMARK)&&!this._isIntegrationPoint(n,t,L.NS.HTML)))}},{key:"_processToken",value:function(e){switch(e.type){case T.i.CHARACTER:this.onCharacter(e);break;case T.i.NULL_CHARACTER:this.onNullCharacter(e);break;case T.i.COMMENT:this.onComment(e);break;case T.i.DOCTYPE:this.onDoctype(e);break;case T.i.START_TAG:this._processStartTag(e);break;case T.i.END_TAG:this.onEndTag(e);break;case T.i.EOF:this.onEof(e);break;case T.i.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}},{key:"_isIntegrationPoint",value:function(e,t,n){var r=this.treeAdapter.getNamespaceURI(t),a=this.treeAdapter.getAttrList(t);return u.xM(e,r,a,n)}},{key:"_reconstructActiveFormattingElements",value:function(){var e=this,t=this.activeFormattingElements.entries.length;if(t){for(var n=this.activeFormattingElements.entries.findIndex(function(t){return t.type===i.U.Marker||e.openElements.contains(t.element)}),r=n<0?t-1:n-1,a=r;a>=0;a--){var o=this.activeFormattingElements.entries[a];this._insertElement(o.token,this.treeAdapter.getNamespaceURI(o.element)),o.element=this.openElements.current}}}},{key:"_closeTableCell",value:function(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=a.IN_ROW}},{key:"_closePElement",value:function(){this.openElements.generateImpliedEndTagsWithExclusion(L.LB.P),this.openElements.popUntilTagNamePopped(L.LB.P)}},{key:"_resetInsertionMode",value:function(){for(var e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case L.LB.TR:this.insertionMode=a.IN_ROW;return;case L.LB.TBODY:case L.LB.THEAD:case L.LB.TFOOT:this.insertionMode=a.IN_TABLE_BODY;return;case L.LB.CAPTION:this.insertionMode=a.IN_CAPTION;return;case L.LB.COLGROUP:this.insertionMode=a.IN_COLUMN_GROUP;return;case L.LB.TABLE:this.insertionMode=a.IN_TABLE;return;case L.LB.BODY:this.insertionMode=a.IN_BODY;return;case L.LB.FRAMESET:this.insertionMode=a.IN_FRAMESET;return;case L.LB.SELECT:this._resetInsertionModeForSelect(e);return;case L.LB.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case L.LB.HTML:this.insertionMode=this.headElement?a.AFTER_HEAD:a.BEFORE_HEAD;return;case L.LB.TD:case L.LB.TH:if(e>0){this.insertionMode=a.IN_CELL;return}break;case L.LB.HEAD:if(e>0){this.insertionMode=a.IN_HEAD;return}}this.insertionMode=a.IN_BODY}},{key:"_resetInsertionModeForSelect",value:function(e){if(e>0)for(var t=e-1;t>0;t--){var n=this.openElements.tagIDs[t];if(n===L.LB.TEMPLATE)break;if(n===L.LB.TABLE){this.insertionMode=a.IN_SELECT_IN_TABLE;return}}this.insertionMode=a.IN_SELECT}},{key:"_isElementCausesFosterParenting",value:function(e){return d.has(e)}},{key:"_shouldFosterParentOnInsertion",value:function(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}},{key:"_findFosterParentingLocation",value:function(){for(var e=this.openElements.stackTop;e>=0;e--){var t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case L.LB.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===L.NS.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case L.LB.TABLE:var n=this.treeAdapter.getParentNode(t);if(n)return{parent:n,beforeElement:t};return{parent:this.openElements.items[e-1],beforeElement:null}}}return{parent:this.openElements.items[0],beforeElement:null}}},{key:"_fosterParentElement",value:function(e){var t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}},{key:"_isSpecialElement",value:function(e,t){var n=this.treeAdapter.getNamespaceURI(e);return(0,L.up)[n].has(t)}},{key:"onCharacter",value:function(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){(function(e,t){e._insertCharacters(t),e.framesetOk=!1})(this,e);return}switch(this.insertionMode){case a.INITIAL:N(this,e);break;case a.BEFORE_HTML:k(this,e);break;case a.BEFORE_HEAD:O(this,e);break;case a.IN_HEAD:C(this,e);break;case a.IN_HEAD_NO_SCRIPT:S(this,e);break;case a.AFTER_HEAD:R(this,e);break;case a.IN_BODY:case a.IN_CAPTION:case a.IN_CELL:case a.IN_TEMPLATE:P(this,e);break;case a.TEXT:case a.IN_SELECT:case a.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case a.IN_TABLE:case a.IN_TABLE_BODY:case a.IN_ROW:j(this,e);break;case a.IN_TABLE_TEXT:V(this,e);break;case a.IN_COLUMN_GROUP:q(this,e);break;case a.AFTER_BODY:ei(this,e);break;case a.AFTER_AFTER_BODY:ec(this,e)}}},{key:"onNullCharacter",value:function(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){(function(e,t){t.chars=E.wV,e._insertCharacters(t)})(this,e);return}switch(this.insertionMode){case a.INITIAL:N(this,e);break;case a.BEFORE_HTML:k(this,e);break;case a.BEFORE_HEAD:O(this,e);break;case a.IN_HEAD:C(this,e);break;case a.IN_HEAD_NO_SCRIPT:S(this,e);break;case a.AFTER_HEAD:R(this,e);break;case a.TEXT:this._insertCharacters(e);break;case a.IN_TABLE:case a.IN_TABLE_BODY:case a.IN_ROW:j(this,e);break;case a.IN_COLUMN_GROUP:q(this,e);break;case a.AFTER_BODY:ei(this,e);break;case a.AFTER_AFTER_BODY:ec(this,e)}}},{key:"onComment",value:function(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){A(this,e);return}switch(this.insertionMode){case a.INITIAL:case a.BEFORE_HTML:case a.BEFORE_HEAD:case a.IN_HEAD:case a.IN_HEAD_NO_SCRIPT:case a.AFTER_HEAD:case a.IN_BODY:case a.IN_TABLE:case a.IN_CAPTION:case a.IN_COLUMN_GROUP:case a.IN_TABLE_BODY:case a.IN_ROW:case a.IN_CELL:case a.IN_SELECT:case a.IN_SELECT_IN_TABLE:case a.IN_TEMPLATE:case a.IN_FRAMESET:case a.AFTER_FRAMESET:A(this,e);break;case a.IN_TABLE_TEXT:Z(this,e);break;case a.AFTER_BODY:(function(e,t){e._appendCommentNode(t,e.openElements.items[0])})(this,e);break;case a.AFTER_AFTER_BODY:case a.AFTER_AFTER_FRAMESET:(function(e,t){e._appendCommentNode(t,e.document)})(this,e)}}},{key:"onDoctype",value:function(e){switch(this.skipNextNewLine=!1,this.insertionMode){case a.INITIAL:(function(e,t){e._setDocumentType(t);var n=t.forceQuirks?L.Bj.QUIRKS:l.M(t);!l.f(t)&&e._err(t,p.w.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=a.BEFORE_HTML})(this,e);break;case a.BEFORE_HEAD:case a.IN_HEAD:case a.IN_HEAD_NO_SCRIPT:case a.AFTER_HEAD:this._err(e,p.w.misplacedDoctype);break;case a.IN_TABLE_TEXT:Z(this,e)}}},{key:"onStartTag",value:function(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,p.w.nonVoidHtmlElementStartTagWithTrailingSolidus)}},{key:"_processStartTag",value:function(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(u.GT(t))el(e),e._startTagOutsideForeignContent(t);else{var n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===L.NS.MATHML?u.ii(t):r===L.NS.SVG&&(u.TZ(t),u.NV(t)),u.cS(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}},{key:"_startTagOutsideForeignContent",value:function(e){switch(this.insertionMode){case a.INITIAL:N(this,e);break;case a.BEFORE_HTML:(function(e,t){t.tagID===L.LB.HTML?(e._insertElement(t,L.NS.HTML),e.insertionMode=a.BEFORE_HEAD):k(e,t)})(this,e);break;case a.BEFORE_HEAD:(function(e,t){switch(t.tagID){case L.LB.HTML:w(e,t);break;case L.LB.HEAD:e._insertElement(t,L.NS.HTML),e.headElement=e.openElements.current,e.insertionMode=a.IN_HEAD;break;default:O(e,t)}})(this,e);break;case a.IN_HEAD:b(this,e);break;case a.IN_HEAD_NO_SCRIPT:(function(e,t){switch(t.tagID){case L.LB.HTML:w(e,t);break;case L.LB.BASEFONT:case L.LB.BGSOUND:case L.LB.HEAD:case L.LB.LINK:case L.LB.META:case L.LB.NOFRAMES:case L.LB.STYLE:b(e,t);break;case L.LB.NOSCRIPT:e._err(t,p.w.nestedNoscriptInHead);break;default:S(e,t)}})(this,e);break;case a.AFTER_HEAD:(function(e,t){switch(t.tagID){case L.LB.HTML:w(e,t);break;case L.LB.BODY:e._insertElement(t,L.NS.HTML),e.framesetOk=!1,e.insertionMode=a.IN_BODY;break;case L.LB.FRAMESET:e._insertElement(t,L.NS.HTML),e.insertionMode=a.IN_FRAMESET;break;case L.LB.BASE:case L.LB.BASEFONT:case L.LB.BGSOUND:case L.LB.LINK:case L.LB.META:case L.LB.NOFRAMES:case L.LB.SCRIPT:case L.LB.STYLE:case L.LB.TEMPLATE:case L.LB.TITLE:e._err(t,p.w.abandonedHeadElementChild),e.openElements.push(e.headElement,L.LB.HEAD),b(e,t),e.openElements.remove(e.headElement);break;case L.LB.HEAD:e._err(t,p.w.misplacedStartTagForHeadElement);break;default:R(e,t)}})(this,e);break;case a.IN_BODY:w(this,e);break;case a.IN_TABLE:X(this,e);break;case a.IN_TABLE_TEXT:Z(this,e);break;case a.IN_CAPTION:(function(e,t){var n=t.tagID;Q.has(n)?e.openElements.hasInTableScope(L.LB.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(L.LB.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=a.IN_TABLE,X(e,t)):w(e,t)})(this,e);break;case a.IN_COLUMN_GROUP:$(this,e);break;case a.IN_TABLE_BODY:J(this,e);break;case a.IN_ROW:et(this,e);break;case a.IN_CELL:(function(e,t){var n=t.tagID;Q.has(n)?(e.openElements.hasInTableScope(L.LB.TD)||e.openElements.hasInTableScope(L.LB.TH))&&(e._closeTableCell(),et(e,t)):w(e,t)})(this,e);break;case a.IN_SELECT:er(this,e);break;case a.IN_SELECT_IN_TABLE:(function(e,t){var n=t.tagID;n===L.LB.CAPTION||n===L.LB.TABLE||n===L.LB.TBODY||n===L.LB.TFOOT||n===L.LB.THEAD||n===L.LB.TR||n===L.LB.TD||n===L.LB.TH?(e.openElements.popUntilTagNamePopped(L.LB.SELECT),e._resetInsertionMode(),e._processStartTag(t)):er(e,t)})(this,e);break;case a.IN_TEMPLATE:(function(e,t){switch(t.tagID){case L.LB.BASE:case L.LB.BASEFONT:case L.LB.BGSOUND:case L.LB.LINK:case L.LB.META:case L.LB.NOFRAMES:case L.LB.SCRIPT:case L.LB.STYLE:case L.LB.TEMPLATE:case L.LB.TITLE:b(e,t);break;case L.LB.CAPTION:case L.LB.COLGROUP:case L.LB.TBODY:case L.LB.TFOOT:case L.LB.THEAD:e.tmplInsertionModeStack[0]=a.IN_TABLE,e.insertionMode=a.IN_TABLE,X(e,t);break;case L.LB.COL:e.tmplInsertionModeStack[0]=a.IN_COLUMN_GROUP,e.insertionMode=a.IN_COLUMN_GROUP,$(e,t);break;case L.LB.TR:e.tmplInsertionModeStack[0]=a.IN_TABLE_BODY,e.insertionMode=a.IN_TABLE_BODY,J(e,t);break;case L.LB.TD:case L.LB.TH:e.tmplInsertionModeStack[0]=a.IN_ROW,e.insertionMode=a.IN_ROW,et(e,t);break;default:e.tmplInsertionModeStack[0]=a.IN_BODY,e.insertionMode=a.IN_BODY,w(e,t)}})(this,e);break;case a.AFTER_BODY:(function(e,t){t.tagID===L.LB.HTML?w(e,t):ei(e,t)})(this,e);break;case a.IN_FRAMESET:(function(e,t){switch(t.tagID){case L.LB.HTML:w(e,t);break;case L.LB.FRAMESET:e._insertElement(t,L.NS.HTML);break;case L.LB.FRAME:e._appendElement(t,L.NS.HTML),t.ackSelfClosing=!0;break;case L.LB.NOFRAMES:b(e,t)}})(this,e);break;case a.AFTER_FRAMESET:(function(e,t){switch(t.tagID){case L.LB.HTML:w(e,t);break;case L.LB.NOFRAMES:b(e,t)}})(this,e);break;case a.AFTER_AFTER_BODY:(function(e,t){t.tagID===L.LB.HTML?w(e,t):ec(e,t)})(this,e);break;case a.AFTER_AFTER_FRAMESET:(function(e,t){switch(t.tagID){case L.LB.HTML:w(e,t);break;case L.LB.NOFRAMES:b(e,t)}})(this,e)}}},{key:"onEndTag",value:function(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===L.LB.P||t.tagID===L.LB.BR){el(e),e._endTagOutsideForeignContent(t);return}for(var n=e.openElements.stackTop;n>0;n--){var r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===L.NS.HTML){e._endTagOutsideForeignContent(t);break}var a=e.treeAdapter.getTagName(r);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}},{key:"_endTagOutsideForeignContent",value:function(e){switch(this.insertionMode){case a.INITIAL:N(this,e);break;case a.BEFORE_HTML:(function(e,t){var n=t.tagID;(n===L.LB.HTML||n===L.LB.HEAD||n===L.LB.BODY||n===L.LB.BR)&&k(e,t)})(this,e);break;case a.BEFORE_HEAD:(function(e,t){var n=t.tagID;n===L.LB.HEAD||n===L.LB.BODY||n===L.LB.HTML||n===L.LB.BR?O(e,t):e._err(t,p.w.endTagWithoutMatchingOpenElement)})(this,e);break;case a.IN_HEAD:(function(e,t){switch(t.tagID){case L.LB.HEAD:e.openElements.pop(),e.insertionMode=a.AFTER_HEAD;break;case L.LB.BODY:case L.LB.BR:case L.LB.HTML:C(e,t);break;case L.LB.TEMPLATE:M(e,t);break;default:e._err(t,p.w.endTagWithoutMatchingOpenElement)}})(this,e);break;case a.IN_HEAD_NO_SCRIPT:(function(e,t){switch(t.tagID){case L.LB.NOSCRIPT:e.openElements.pop(),e.insertionMode=a.IN_HEAD;break;case L.LB.BR:S(e,t);break;default:e._err(t,p.w.endTagWithoutMatchingOpenElement)}})(this,e);break;case a.AFTER_HEAD:(function(e,t){switch(t.tagID){case L.LB.BODY:case L.LB.HTML:case L.LB.BR:R(e,t);break;case L.LB.TEMPLATE:M(e,t);break;default:e._err(t,p.w.endTagWithoutMatchingOpenElement)}})(this,e);break;case a.IN_BODY:Y(this,e);break;case a.TEXT:(function(e,t){var n;t.tagID===L.LB.SCRIPT&&(null===(n=e.scriptHandler)||void 0===n||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode})(this,e);break;case a.IN_TABLE:W(this,e);break;case a.IN_TABLE_TEXT:Z(this,e);break;case a.IN_CAPTION:(function(e,t){var n=t.tagID;switch(n){case L.LB.CAPTION:case L.LB.TABLE:e.openElements.hasInTableScope(L.LB.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(L.LB.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=a.IN_TABLE,n===L.LB.TABLE&&W(e,t));break;case L.LB.BODY:case L.LB.COL:case L.LB.COLGROUP:case L.LB.HTML:case L.LB.TBODY:case L.LB.TD:case L.LB.TFOOT:case L.LB.TH:case L.LB.THEAD:case L.LB.TR:break;default:Y(e,t)}})(this,e);break;case a.IN_COLUMN_GROUP:(function(e,t){switch(t.tagID){case L.LB.COLGROUP:e.openElements.currentTagId===L.LB.COLGROUP&&(e.openElements.pop(),e.insertionMode=a.IN_TABLE);break;case L.LB.TEMPLATE:M(e,t);break;case L.LB.COL:break;default:q(e,t)}})(this,e);break;case a.IN_TABLE_BODY:ee(this,e);break;case a.IN_ROW:en(this,e);break;case a.IN_CELL:(function(e,t){var n=t.tagID;switch(n){case L.LB.TD:case L.LB.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=a.IN_ROW);break;case L.LB.TABLE:case L.LB.TBODY:case L.LB.TFOOT:case L.LB.THEAD:case L.LB.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),en(e,t));break;case L.LB.BODY:case L.LB.CAPTION:case L.LB.COL:case L.LB.COLGROUP:case L.LB.HTML:break;default:Y(e,t)}})(this,e);break;case a.IN_SELECT:ea(this,e);break;case a.IN_SELECT_IN_TABLE:(function(e,t){var n=t.tagID;n===L.LB.CAPTION||n===L.LB.TABLE||n===L.LB.TBODY||n===L.LB.TFOOT||n===L.LB.THEAD||n===L.LB.TR||n===L.LB.TD||n===L.LB.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(L.LB.SELECT),e._resetInsertionMode(),e.onEndTag(t)):ea(e,t)})(this,e);break;case a.IN_TEMPLATE:(function(e,t){t.tagID===L.LB.TEMPLATE&&M(e,t)})(this,e);break;case a.AFTER_BODY:es(this,e);break;case a.IN_FRAMESET:(function(e,t){t.tagID===L.LB.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==L.LB.FRAMESET&&(e.insertionMode=a.AFTER_FRAMESET))})(this,e);break;case a.AFTER_FRAMESET:(function(e,t){t.tagID===L.LB.HTML&&(e.insertionMode=a.AFTER_AFTER_FRAMESET)})(this,e);break;case a.AFTER_AFTER_BODY:ec(this,e)}}},{key:"onEof",value:function(e){switch(this.insertionMode){case a.INITIAL:N(this,e);break;case a.BEFORE_HTML:k(this,e);break;case a.BEFORE_HEAD:O(this,e);break;case a.IN_HEAD:C(this,e);break;case a.IN_HEAD_NO_SCRIPT:S(this,e);break;case a.AFTER_HEAD:R(this,e);break;case a.IN_BODY:case a.IN_TABLE:case a.IN_CAPTION:case a.IN_COLUMN_GROUP:case a.IN_TABLE_BODY:case a.IN_ROW:case a.IN_CELL:case a.IN_SELECT:case a.IN_SELECT_IN_TABLE:G(this,e);break;case a.TEXT:(function(e,t){e._err(t,p.w.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)})(this,e);break;case a.IN_TABLE_TEXT:Z(this,e);break;case a.IN_TEMPLATE:eo(this,e);break;case a.AFTER_BODY:case a.IN_FRAMESET:case a.AFTER_FRAMESET:case a.AFTER_AFTER_BODY:case a.AFTER_AFTER_FRAMESET:g(this,e)}}},{key:"onWhitespaceCharacter",value:function(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===E.gH.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case a.IN_HEAD:case a.IN_HEAD_NO_SCRIPT:case a.AFTER_HEAD:case a.TEXT:case a.IN_COLUMN_GROUP:case a.IN_SELECT:case a.IN_SELECT_IN_TABLE:case a.IN_FRAMESET:case a.AFTER_FRAMESET:this._insertCharacters(e);break;case a.IN_BODY:case a.IN_CAPTION:case a.IN_CELL:case a.IN_TEMPLATE:case a.AFTER_BODY:case a.AFTER_AFTER_BODY:case a.AFTER_AFTER_FRAMESET:v(this,e);break;case a.IN_TABLE:case a.IN_TABLE_BODY:case a.IN_ROW:j(this,e);break;case a.IN_TABLE_TEXT:K(this,e)}}}],n=[{key:"parse",value:function(e,t){var n=new this(t);return n.tokenizer.write(e,!0),n.document}},{key:"getFragmentParser",value:function(e,t){var n=m({},h,t);null!=e||(e=n.treeAdapter.createElement(L.ab.TEMPLATE,L.NS.HTML,[]));var r=n.treeAdapter.createElement("documentmock",L.NS.HTML,[]),o=new this(n,r,e);return o.fragmentContextID===L.LB.TEMPLATE&&o.tmplInsertionModeStack.unshift(a.IN_TEMPLATE),o._initTokenizerForFragmentParsing(),o._insertFakeRootElement(),o._resetInsertionMode(),o._findFormInFragmentContext(),o}}],t&&f(e.prototype,t),n&&f(e,n),r}();function _(e,t){for(var n=0;n<8;n++){var r=function(e,t){var n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?!e.openElements.hasInScope(t.tagID)&&(n=null):(e.activeFormattingElements.removeEntry(n),n=null):U(e,t),n}(e,t);if(!r)break;var a=function(e,t){for(var n=null,r=e.openElements.stackTop;r>=0;r--){var a=e.openElements.items[r];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[r])&&(n=a)}return!n&&(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}(e,r);if(!a)break;e.activeFormattingElements.bookmark=r;var o=function(e,t,n){for(var r=t,a=e.openElements.getCommonAncestor(t),o=0,s=a;s!==n;o++,s=a){a=e.openElements.getCommonAncestor(s);var i=e.activeFormattingElements.getElementEntry(s),c=i&&o>=3;!i||c?(c&&e.activeFormattingElements.removeEntry(i),e.openElements.remove(s)):(s=function(e,t){var n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}(e,i),r===t&&(e.activeFormattingElements.bookmark=i),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(s,r),r=s)}return r}(e,a,r.element),s=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(o),s&&!function(e,t,n){var r=e.treeAdapter.getTagName(t),a=(0,L.OL)(r);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(n);else{var o=e.treeAdapter.getNamespaceURI(t);a===L.LB.TEMPLATE&&o===L.NS.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}(e,s,o),!function(e,t,n){var r=e.treeAdapter.getNamespaceURI(n.element),a=n.token,o=e.treeAdapter.createElement(a.tagName,r,a.attrs);e._adoptNodes(t,o),e.treeAdapter.appendChild(t,o),e.activeFormattingElements.insertElementAfterBookmark(o,a),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,o,a.tagID)}(e,a,r)}}function A(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function g(e,t){if(e.stopped=!0,t.location){for(var n=e.fragmentContext?0:2,r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){var a=e.openElements.items[0],o=e.treeAdapter.getNodeSourceCodeLocation(a);if(o&&!o.endTag&&(e._setEndLocation(a,t),e.openElements.stackTop>=1)){var s=e.openElements.items[1],i=e.treeAdapter.getNodeSourceCodeLocation(s);i&&!i.endTag&&e._setEndLocation(s,t)}}}}function N(e,t){e._err(t,p.w.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,L.Bj.QUIRKS),e.insertionMode=a.BEFORE_HTML,e._processToken(t)}function k(e,t){e._insertFakeRootElement(),e.insertionMode=a.BEFORE_HEAD,e._processToken(t)}function O(e,t){e._insertFakeElement(L.ab.HEAD,L.LB.HEAD),e.headElement=e.openElements.current,e.insertionMode=a.IN_HEAD,e._processToken(t)}function b(e,t){switch(t.tagID){case L.LB.HTML:w(e,t);break;case L.LB.BASE:case L.LB.BASEFONT:case L.LB.BGSOUND:case L.LB.LINK:case L.LB.META:e._appendElement(t,L.NS.HTML),t.ackSelfClosing=!0;break;case L.LB.TITLE:e._switchToTextParsing(t,o.P.RCDATA);break;case L.LB.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,o.P.RAWTEXT):(e._insertElement(t,L.NS.HTML),e.insertionMode=a.IN_HEAD_NO_SCRIPT);break;case L.LB.NOFRAMES:case L.LB.STYLE:e._switchToTextParsing(t,o.P.RAWTEXT);break;case L.LB.SCRIPT:e._switchToTextParsing(t,o.P.SCRIPT_DATA);break;case L.LB.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=a.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(a.IN_TEMPLATE);break;case L.LB.HEAD:e._err(t,p.w.misplacedStartTagForHeadElement);break;default:C(e,t)}}function M(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==L.LB.TEMPLATE&&e._err(t,p.w.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(L.LB.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,p.w.endTagWithoutMatchingOpenElement)}function C(e,t){e.openElements.pop(),e.insertionMode=a.AFTER_HEAD,e._processToken(t)}function S(e,t){var n=t.type===T.i.EOF?p.w.openElementsLeftAfterEof:p.w.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=a.IN_HEAD,e._processToken(t)}function R(e,t){e._insertFakeElement(L.ab.BODY,L.LB.BODY),e.insertionMode=a.IN_BODY,D(e,t)}function D(e,t){switch(t.type){case T.i.CHARACTER:P(e,t);break;case T.i.WHITESPACE_CHARACTER:v(e,t);break;case T.i.COMMENT:A(e,t);break;case T.i.START_TAG:w(e,t);break;case T.i.END_TAG:Y(e,t);break;case T.i.EOF:G(e,t)}}function v(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function P(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function F(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,L.NS.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function y(e){var t=(0,T.F)(e,L.Ze.TYPE);return null!=t&&"hidden"===t.toLowerCase()}function H(e,t){e._switchToTextParsing(t,o.P.RAWTEXT)}function x(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,L.NS.HTML)}function w(e,t){var n,r,s,i,c,l,p,E,T,f,m,B,d,h,I,A,g,N,k,O,M,C,S,R,D,v,P,w,U,Y,G,j,X,W,z,K,V,Z,Q,$,q,J,ee,et,en,er,ea,eo,es,ei,ec,el,eu,ep,eE,eL,eT,ef;switch(t.tagID){case L.LB.I:case L.LB.S:case L.LB.B:case L.LB.U:case L.LB.EM:case L.LB.TT:case L.LB.BIG:case L.LB.CODE:case L.LB.FONT:case L.LB.SMALL:case L.LB.STRIKE:case L.LB.STRONG:;n=e,r=t,n._reconstructActiveFormattingElements(),n._insertElement(r,L.NS.HTML),n.activeFormattingElements.pushElement(n.openElements.current,r);break;case L.LB.A:;s=e,i=t,(c=s.activeFormattingElements.getElementEntryInScopeWithTagName(L.ab.A))&&(_(s,i),s.openElements.remove(c.element),s.activeFormattingElements.removeEntry(c)),s._reconstructActiveFormattingElements(),s._insertElement(i,L.NS.HTML),s.activeFormattingElements.pushElement(s.openElements.current,i);break;case L.LB.H1:case L.LB.H2:case L.LB.H3:case L.LB.H4:case L.LB.H5:case L.LB.H6:;l=e,p=t,l.openElements.hasInButtonScope(L.LB.P)&&l._closePElement(),(0,L.Nc)(l.openElements.currentTagId)&&l.openElements.pop(),l._insertElement(p,L.NS.HTML);break;case L.LB.P:case L.LB.DL:case L.LB.OL:case L.LB.UL:case L.LB.DIV:case L.LB.DIR:case L.LB.NAV:case L.LB.MAIN:case L.LB.MENU:case L.LB.ASIDE:case L.LB.CENTER:case L.LB.FIGURE:case L.LB.FOOTER:case L.LB.HEADER:case L.LB.HGROUP:case L.LB.DIALOG:case L.LB.DETAILS:case L.LB.ADDRESS:case L.LB.ARTICLE:case L.LB.SECTION:case L.LB.SUMMARY:case L.LB.FIELDSET:case L.LB.BLOCKQUOTE:case L.LB.FIGCAPTION:;E=e,T=t,E.openElements.hasInButtonScope(L.LB.P)&&E._closePElement(),E._insertElement(T,L.NS.HTML);break;case L.LB.LI:case L.LB.DD:case L.LB.DT:!function(e,t){e.framesetOk=!1;for(var n=t.tagID,r=e.openElements.stackTop;r>=0;r--){var a=e.openElements.tagIDs[r];if(n===L.LB.LI&&a===L.LB.LI||(n===L.LB.DD||n===L.LB.DT)&&(a===L.LB.DD||a===L.LB.DT)){e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a);break}if(a!==L.LB.ADDRESS&&a!==L.LB.DIV&&a!==L.LB.P&&e._isSpecialElement(e.openElements.items[r],a))break}e.openElements.hasInButtonScope(L.LB.P)&&e._closePElement(),e._insertElement(t,L.NS.HTML)}(e,t);break;case L.LB.BR:case L.LB.IMG:case L.LB.WBR:case L.LB.AREA:case L.LB.EMBED:case L.LB.KEYGEN:F(e,t);break;case L.LB.HR:;f=e,m=t,f.openElements.hasInButtonScope(L.LB.P)&&f._closePElement(),f._appendElement(m,L.NS.HTML),f.framesetOk=!1,m.ackSelfClosing=!0;break;case L.LB.RB:case L.LB.RTC:;B=e,d=t,B.openElements.hasInScope(L.LB.RUBY)&&B.openElements.generateImpliedEndTags(),B._insertElement(d,L.NS.HTML);break;case L.LB.RT:case L.LB.RP:;h=e,I=t,h.openElements.hasInScope(L.LB.RUBY)&&h.openElements.generateImpliedEndTagsWithExclusion(L.LB.RTC),h._insertElement(I,L.NS.HTML);break;case L.LB.PRE:case L.LB.LISTING:;A=e,g=t,A.openElements.hasInButtonScope(L.LB.P)&&A._closePElement(),A._insertElement(g,L.NS.HTML),A.skipNextNewLine=!0,A.framesetOk=!1;break;case L.LB.XMP:;N=e,k=t,N.openElements.hasInButtonScope(L.LB.P)&&N._closePElement(),N._reconstructActiveFormattingElements(),N.framesetOk=!1,N._switchToTextParsing(k,o.P.RAWTEXT);break;case L.LB.SVG:;O=e,M=t,O._reconstructActiveFormattingElements(),u.NV(M),u.cS(M),M.selfClosing?O._appendElement(M,L.NS.SVG):O._insertElement(M,L.NS.SVG),M.ackSelfClosing=!0;break;case L.LB.HTML:;C=e,S=t,0===C.openElements.tmplCount&&C.treeAdapter.adoptAttributes(C.openElements.items[0],S.attrs);break;case L.LB.BASE:case L.LB.LINK:case L.LB.META:case L.LB.STYLE:case L.LB.TITLE:case L.LB.SCRIPT:case L.LB.BGSOUND:case L.LB.BASEFONT:case L.LB.TEMPLATE:b(e,t);break;case L.LB.BODY:;R=e,D=t,(v=R.openElements.tryPeekProperlyNestedBodyElement())&&0===R.openElements.tmplCount&&(R.framesetOk=!1,R.treeAdapter.adoptAttributes(v,D.attrs));break;case L.LB.FORM:;P=e,w=t,U=P.openElements.tmplCount>0,P.formElement&&!U||(P.openElements.hasInButtonScope(L.LB.P)&&P._closePElement(),P._insertElement(w,L.NS.HTML),U||(P.formElement=P.openElements.current));break;case L.LB.NOBR:;Y=e,G=t,Y._reconstructActiveFormattingElements(),Y.openElements.hasInScope(L.LB.NOBR)&&(_(Y,G),Y._reconstructActiveFormattingElements()),Y._insertElement(G,L.NS.HTML),Y.activeFormattingElements.pushElement(Y.openElements.current,G);break;case L.LB.MATH:;j=e,X=t,j._reconstructActiveFormattingElements(),u.ii(X),u.cS(X),X.selfClosing?j._appendElement(X,L.NS.MATHML):j._insertElement(X,L.NS.MATHML),X.ackSelfClosing=!0;break;case L.LB.TABLE:;W=e,z=t,W.treeAdapter.getDocumentMode(W.document)!==L.Bj.QUIRKS&&W.openElements.hasInButtonScope(L.LB.P)&&W._closePElement(),W._insertElement(z,L.NS.HTML),W.framesetOk=!1,W.insertionMode=a.IN_TABLE;break;case L.LB.INPUT:;K=e,V=t,K._reconstructActiveFormattingElements(),K._appendElement(V,L.NS.HTML),y(V)||(K.framesetOk=!1),V.ackSelfClosing=!0;break;case L.LB.PARAM:case L.LB.TRACK:case L.LB.SOURCE:;Z=e,Q=t,Z._appendElement(Q,L.NS.HTML),Q.ackSelfClosing=!0;break;case L.LB.IMAGE:;$=e,(q=t).tagName=L.ab.IMG,q.tagID=L.LB.IMG,F($,q);break;case L.LB.BUTTON:;J=e,ee=t,J.openElements.hasInScope(L.LB.BUTTON)&&(J.openElements.generateImpliedEndTags(),J.openElements.popUntilTagNamePopped(L.LB.BUTTON)),J._reconstructActiveFormattingElements(),J._insertElement(ee,L.NS.HTML),J.framesetOk=!1;break;case L.LB.APPLET:case L.LB.OBJECT:case L.LB.MARQUEE:;et=e,en=t,et._reconstructActiveFormattingElements(),et._insertElement(en,L.NS.HTML),et.activeFormattingElements.insertMarker(),et.framesetOk=!1;break;case L.LB.IFRAME:;er=e,ea=t,er.framesetOk=!1,er._switchToTextParsing(ea,o.P.RAWTEXT);break;case L.LB.SELECT:;eo=e,es=t,eo._reconstructActiveFormattingElements(),eo._insertElement(es,L.NS.HTML),eo.framesetOk=!1,eo.insertionMode=eo.insertionMode===a.IN_TABLE||eo.insertionMode===a.IN_CAPTION||eo.insertionMode===a.IN_TABLE_BODY||eo.insertionMode===a.IN_ROW||eo.insertionMode===a.IN_CELL?a.IN_SELECT_IN_TABLE:a.IN_SELECT;break;case L.LB.OPTION:case L.LB.OPTGROUP:;ei=e,ec=t,ei.openElements.currentTagId===L.LB.OPTION&&ei.openElements.pop(),ei._reconstructActiveFormattingElements(),ei._insertElement(ec,L.NS.HTML);break;case L.LB.NOEMBED:H(e,t);break;case L.LB.FRAMESET:;el=e,eu=t,ep=el.openElements.tryPeekProperlyNestedBodyElement(),el.framesetOk&&ep&&(el.treeAdapter.detachNode(ep),el.openElements.popAllUpToHtmlElement(),el._insertElement(eu,L.NS.HTML),el.insertionMode=a.IN_FRAMESET);break;case L.LB.TEXTAREA:;eE=e,eL=t,eE._insertElement(eL,L.NS.HTML),eE.skipNextNewLine=!0,eE.tokenizer.state=o.P.RCDATA,eE.originalInsertionMode=eE.insertionMode,eE.framesetOk=!1,eE.insertionMode=a.TEXT;break;case L.LB.NOSCRIPT:e.options.scriptingEnabled?H(e,t):x(e,t);break;case L.LB.PLAINTEXT:;eT=e,ef=t,eT.openElements.hasInButtonScope(L.LB.P)&&eT._closePElement(),eT._insertElement(ef,L.NS.HTML),eT.tokenizer.state=o.P.PLAINTEXT;break;case L.LB.COL:case L.LB.TH:case L.LB.TD:case L.LB.TR:case L.LB.HEAD:case L.LB.FRAME:case L.LB.TBODY:case L.LB.TFOOT:case L.LB.THEAD:case L.LB.CAPTION:case L.LB.COLGROUP:break;default:x(e,t)}}function U(e,t){for(var n=t.tagName,r=t.tagID,a=e.openElements.stackTop;a>0;a--){var o=e.openElements.items[a],s=e.openElements.tagIDs[a];if(r===s&&(r!==L.LB.UNKNOWN||e.treeAdapter.getTagName(o)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=a&&e.openElements.shortenToLength(a);break}if(e._isSpecialElement(o,s))break}}function Y(e,t){var n,r,o,s,i,c,l,u,p,E,T,f,m,B,d;switch(t.tagID){case L.LB.A:case L.LB.B:case L.LB.I:case L.LB.S:case L.LB.U:case L.LB.EM:case L.LB.TT:case L.LB.BIG:case L.LB.CODE:case L.LB.FONT:case L.LB.NOBR:case L.LB.SMALL:case L.LB.STRIKE:case L.LB.STRONG:_(e,t);break;case L.LB.P:;(n=e).openElements.hasInButtonScope(L.LB.P)||n._insertFakeElement(L.ab.P,L.LB.P),n._closePElement();break;case L.LB.DL:case L.LB.UL:case L.LB.OL:case L.LB.DIR:case L.LB.DIV:case L.LB.NAV:case L.LB.PRE:case L.LB.MAIN:case L.LB.MENU:case L.LB.ASIDE:case L.LB.BUTTON:case L.LB.CENTER:case L.LB.FIGURE:case L.LB.FOOTER:case L.LB.HEADER:case L.LB.HGROUP:case L.LB.DIALOG:case L.LB.ADDRESS:case L.LB.ARTICLE:case L.LB.DETAILS:case L.LB.SECTION:case L.LB.SUMMARY:case L.LB.LISTING:case L.LB.FIELDSET:case L.LB.BLOCKQUOTE:case L.LB.FIGCAPTION:;r=e,o=t.tagID,r.openElements.hasInScope(o)&&(r.openElements.generateImpliedEndTags(),r.openElements.popUntilTagNamePopped(o));break;case L.LB.LI:;(s=e).openElements.hasInListItemScope(L.LB.LI)&&(s.openElements.generateImpliedEndTagsWithExclusion(L.LB.LI),s.openElements.popUntilTagNamePopped(L.LB.LI));break;case L.LB.DD:case L.LB.DT:;i=e,c=t.tagID,i.openElements.hasInScope(c)&&(i.openElements.generateImpliedEndTagsWithExclusion(c),i.openElements.popUntilTagNamePopped(c));break;case L.LB.H1:case L.LB.H2:case L.LB.H3:case L.LB.H4:case L.LB.H5:case L.LB.H6:;(l=e).openElements.hasNumberedHeaderInScope()&&(l.openElements.generateImpliedEndTags(),l.openElements.popUntilNumberedHeaderPopped());break;case L.LB.BR:;(u=e)._reconstructActiveFormattingElements(),u._insertFakeElement(L.ab.BR,L.LB.BR),u.openElements.pop(),u.framesetOk=!1;break;case L.LB.BODY:!function(e,t){if(e.openElements.hasInScope(L.LB.BODY)&&(e.insertionMode=a.AFTER_BODY,e.options.sourceCodeLocationInfo)){var n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}(e,t);break;case L.LB.HTML:;p=e,E=t,p.openElements.hasInScope(L.LB.BODY)&&(p.insertionMode=a.AFTER_BODY,es(p,E));break;case L.LB.FORM:;f=(T=e).openElements.tmplCount>0,m=T.formElement,f||(T.formElement=null),(m||f)&&T.openElements.hasInScope(L.LB.FORM)&&(T.openElements.generateImpliedEndTags(),f?T.openElements.popUntilTagNamePopped(L.LB.FORM):m&&T.openElements.remove(m));break;case L.LB.APPLET:case L.LB.OBJECT:case L.LB.MARQUEE:;B=e,d=t.tagID,B.openElements.hasInScope(d)&&(B.openElements.generateImpliedEndTags(),B.openElements.popUntilTagNamePopped(d),B.activeFormattingElements.clearToLastMarker());break;case L.LB.TEMPLATE:M(e,t);break;default:U(e,t)}}function G(e,t){e.tmplInsertionModeStack.length>0?eo(e,t):g(e,t)}function j(e,t){if(d.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=a.IN_TABLE_TEXT,t.type){case T.i.CHARACTER:V(e,t);break;case T.i.WHITESPACE_CHARACTER:K(e,t)}else z(e,t)}function X(e,t){var n,r,o,s,i,c,l,u,p,E,T,f,m,B,d,h;switch(t.tagID){case L.LB.TD:case L.LB.TH:case L.LB.TR:;n=e,r=t,n.openElements.clearBackToTableContext(),n._insertFakeElement(L.ab.TBODY,L.LB.TBODY),n.insertionMode=a.IN_TABLE_BODY,J(n,r);break;case L.LB.STYLE:case L.LB.SCRIPT:case L.LB.TEMPLATE:b(e,t);break;case L.LB.COL:;o=e,s=t,o.openElements.clearBackToTableContext(),o._insertFakeElement(L.ab.COLGROUP,L.LB.COLGROUP),o.insertionMode=a.IN_COLUMN_GROUP,$(o,s);break;case L.LB.FORM:;i=e,c=t,i.formElement||0!==i.openElements.tmplCount||(i._insertElement(c,L.NS.HTML),i.formElement=i.openElements.current,i.openElements.pop());break;case L.LB.TABLE:;l=e,u=t,l.openElements.hasInTableScope(L.LB.TABLE)&&(l.openElements.popUntilTagNamePopped(L.LB.TABLE),l._resetInsertionMode(),l._processStartTag(u));break;case L.LB.TBODY:case L.LB.TFOOT:case L.LB.THEAD:;p=e,E=t,p.openElements.clearBackToTableContext(),p._insertElement(E,L.NS.HTML),p.insertionMode=a.IN_TABLE_BODY;break;case L.LB.INPUT:;T=e,y(f=t)?T._appendElement(f,L.NS.HTML):z(T,f),f.ackSelfClosing=!0;break;case L.LB.CAPTION:;m=e,B=t,m.openElements.clearBackToTableContext(),m.activeFormattingElements.insertMarker(),m._insertElement(B,L.NS.HTML),m.insertionMode=a.IN_CAPTION;break;case L.LB.COLGROUP:;d=e,h=t,d.openElements.clearBackToTableContext(),d._insertElement(h,L.NS.HTML),d.insertionMode=a.IN_COLUMN_GROUP;break;default:z(e,t)}}function W(e,t){switch(t.tagID){case L.LB.TABLE:e.openElements.hasInTableScope(L.LB.TABLE)&&(e.openElements.popUntilTagNamePopped(L.LB.TABLE),e._resetInsertionMode());break;case L.LB.TEMPLATE:M(e,t);break;case L.LB.BODY:case L.LB.CAPTION:case L.LB.COL:case L.LB.COLGROUP:case L.LB.HTML:case L.LB.TBODY:case L.LB.TD:case L.LB.TFOOT:case L.LB.TH:case L.LB.THEAD:case L.LB.TR:break;default:z(e,t)}}function z(e,t){var n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,D(e,t),e.fosterParentingEnabled=n}function K(e,t){e.pendingCharacterTokens.push(t)}function V(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Z(e,t){var n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)z(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}var Q=new Set([L.LB.CAPTION,L.LB.COL,L.LB.COLGROUP,L.LB.TBODY,L.LB.TD,L.LB.TFOOT,L.LB.TH,L.LB.THEAD,L.LB.TR]);function $(e,t){switch(t.tagID){case L.LB.HTML:w(e,t);break;case L.LB.COL:e._appendElement(t,L.NS.HTML),t.ackSelfClosing=!0;break;case L.LB.TEMPLATE:b(e,t);break;default:q(e,t)}}function q(e,t){e.openElements.currentTagId===L.LB.COLGROUP&&(e.openElements.pop(),e.insertionMode=a.IN_TABLE,e._processToken(t))}function J(e,t){switch(t.tagID){case L.LB.TR:e.openElements.clearBackToTableBodyContext(),e._insertElement(t,L.NS.HTML),e.insertionMode=a.IN_ROW;break;case L.LB.TH:case L.LB.TD:e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(L.ab.TR,L.LB.TR),e.insertionMode=a.IN_ROW,et(e,t);break;case L.LB.CAPTION:case L.LB.COL:case L.LB.COLGROUP:case L.LB.TBODY:case L.LB.TFOOT:case L.LB.THEAD:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=a.IN_TABLE,X(e,t));break;default:X(e,t)}}function ee(e,t){var n=t.tagID;switch(t.tagID){case L.LB.TBODY:case L.LB.TFOOT:case L.LB.THEAD:e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=a.IN_TABLE);break;case L.LB.TABLE:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=a.IN_TABLE,W(e,t));break;case L.LB.BODY:case L.LB.CAPTION:case L.LB.COL:case L.LB.COLGROUP:case L.LB.HTML:case L.LB.TD:case L.LB.TH:case L.LB.TR:break;default:W(e,t)}}function et(e,t){switch(t.tagID){case L.LB.TH:case L.LB.TD:e.openElements.clearBackToTableRowContext(),e._insertElement(t,L.NS.HTML),e.insertionMode=a.IN_CELL,e.activeFormattingElements.insertMarker();break;case L.LB.CAPTION:case L.LB.COL:case L.LB.COLGROUP:case L.LB.TBODY:case L.LB.TFOOT:case L.LB.THEAD:case L.LB.TR:e.openElements.hasInTableScope(L.LB.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=a.IN_TABLE_BODY,J(e,t));break;default:X(e,t)}}function en(e,t){switch(t.tagID){case L.LB.TR:e.openElements.hasInTableScope(L.LB.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=a.IN_TABLE_BODY);break;case L.LB.TABLE:e.openElements.hasInTableScope(L.LB.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=a.IN_TABLE_BODY,ee(e,t));break;case L.LB.TBODY:case L.LB.TFOOT:case L.LB.THEAD:(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(L.LB.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=a.IN_TABLE_BODY,ee(e,t));break;case L.LB.BODY:case L.LB.CAPTION:case L.LB.COL:case L.LB.COLGROUP:case L.LB.HTML:case L.LB.TD:case L.LB.TH:break;default:W(e,t)}}function er(e,t){switch(t.tagID){case L.LB.HTML:w(e,t);break;case L.LB.OPTION:e.openElements.currentTagId===L.LB.OPTION&&e.openElements.pop(),e._insertElement(t,L.NS.HTML);break;case L.LB.OPTGROUP:e.openElements.currentTagId===L.LB.OPTION&&e.openElements.pop(),e.openElements.currentTagId===L.LB.OPTGROUP&&e.openElements.pop(),e._insertElement(t,L.NS.HTML);break;case L.LB.INPUT:case L.LB.KEYGEN:case L.LB.TEXTAREA:case L.LB.SELECT:e.openElements.hasInSelectScope(L.LB.SELECT)&&(e.openElements.popUntilTagNamePopped(L.LB.SELECT),e._resetInsertionMode(),t.tagID!==L.LB.SELECT&&e._processStartTag(t));break;case L.LB.SCRIPT:case L.LB.TEMPLATE:b(e,t)}}function ea(e,t){switch(t.tagID){case L.LB.OPTGROUP:e.openElements.stackTop>0&&e.openElements.currentTagId===L.LB.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===L.LB.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===L.LB.OPTGROUP&&e.openElements.pop();break;case L.LB.OPTION:e.openElements.currentTagId===L.LB.OPTION&&e.openElements.pop();break;case L.LB.SELECT:e.openElements.hasInSelectScope(L.LB.SELECT)&&(e.openElements.popUntilTagNamePopped(L.LB.SELECT),e._resetInsertionMode());break;case L.LB.TEMPLATE:M(e,t)}}function eo(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(L.LB.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):g(e,t)}function es(e,t){var n;if(t.tagID===L.LB.HTML){if(!e.fragmentContext&&(e.insertionMode=a.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===L.LB.HTML){e._setEndLocation(e.openElements.items[0],t);var r=e.openElements.items[1];r&&!(null===(n=e.treeAdapter.getNodeSourceCodeLocation(r))||void 0===n?void 0:n.endTag)&&e._setEndLocation(r,t)}}else ei(e,t)}function ei(e,t){e.insertionMode=a.IN_BODY,D(e,t)}function ec(e,t){e.insertionMode=a.IN_BODY,D(e,t)}function el(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==L.NS.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}},94850:function(e,t,n){"use strict";n.d(t,{YP:function(){return p},dy:function(){return u}});var r=n("1661"),a=n("5263"),o=n("51979"),s=n("1424"),i=n("60765"),c=n("60934"),l=n("38459"),u=(0,r.T)([o.L,a.H,s.w,i.P,c.d],"html"),p=(0,r.T)([o.L,a.H,s.w,i.P,l.Y],"svg")},19211:function(e,t,n){"use strict";n.d(t,{I:function(){return l}});var r=n("65610"),a=n("67787");function o(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var c=Object.keys(a),l=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i(e,t)}(l,e);var t,n,r=(t=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.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,r,a,i=s(t);return a=n?Reflect.construct(i,arguments,s(this).constructor):i.apply(this,arguments),e=this,(r=a)&&("object"===function(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}(r)||"function"==typeof r)?r:o(e)});function l(e,t,n,s){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,l);var i,u=-1;if(function(e,t,n){n&&(e[t]=n)}(o(i=r.call(this,e,t)),"space",s),"number"==typeof n)for(;++u<c.length;){var p=c[u];(function(e,t,n){n&&(e[t]=n)})(o(i),c[u],(n&a[p])===a[p])}return i}return l}(r.k);function u(e,t,n){n&&(e[t]=n)}l.prototype.defined=!0},84232:function(e,t,n){"use strict";n.d(t,{V:function(){return r}});var r=function e(t,n,r){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,e),this.property=t,this.normal=n,r&&(this.space=r)};r.prototype.property={},r.prototype.normal={},r.prototype.space=null},67787:function(e,t,n){"use strict";n.r(t),n.d(t,{boolean:function(){return a},booleanish:function(){return o},commaOrSpaceSeparated:function(){return u},commaSeparated:function(){return l},number:function(){return i},overloadedBoolean:function(){return s},spaceSeparated:function(){return c}});var r=0,a=p(),o=p(),s=p(),i=p(),c=p(),l=p(),u=p();function p(){return Math.pow(2,++r)}},51979:function(e,t,n){"use strict";n.d(t,{L:function(){return r}});var r=(0,n("215").U)({space:"xml",transform:function(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}})},47561:function(e,t,n){"use strict";function r(e){return e}n.d(t,{$:function(){return r}})},82958:function(e,t,n){"use strict";n.d(t,{$:function(){return l}});var r=n("36590");function a(e,t,n){return(a=c()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var a=new(Function.bind.apply(e,r));return n&&s(a,n.prototype),a}).apply(null,arguments)}function o(e){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function i(e){var t="function"==typeof Map?new Map:void 0;return(i=function(e){var n;if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return a(e,arguments,o(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),s(r,e)})(e)}function c(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var l=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(i,e);var t,n,a=(t=i,n=c(),function(){var e,r,a,s=o(t);return a=n?Reflect.construct(s,arguments,o(this).constructor):s.apply(this,arguments),e=this,(r=a)&&("object"===function(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}(r)||"function"==typeof r)?r:function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)});function i(e,t,n){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,i);var o,s=[null,null],c={start:{line:null,column:null},end:{line:null,column:null}};if(o=a.call(this),"string"==typeof t&&(n=t,t=void 0),"string"==typeof n){var l=n.indexOf(":");-1===l?s[1]=n:(s[0]=n.slice(0,l),s[1]=n.slice(l+1))}return t&&("type"in t||"position"in t?t.position&&(c=t.position):"start"in t||"end"in t?c=t:("line"in t||"column"in t)&&(c.start=t)),o.name=(0,r.y)(t)||"1:1",o.message="object"==typeof e?e.message:e,o.stack="","object"==typeof e&&e.stack&&(o.stack=e.stack),o.reason=o.message,o.fatal,o.line=c.start.line,o.column=c.start.column,o.position=c,o.source=s[0],o.ruleId=s[1],o.file,o.actual,o.expected,o.url,o.note,o}return i}(i(Error));l.prototype.file="",l.prototype.name="",l.prototype.reason="",l.prototype.message="",l.prototype.stack="",l.prototype.fatal=null,l.prototype.column=null,l.prototype.line=null,l.prototype.source=null,l.prototype.ruleId=null,l.prototype.position=null}}]);