pdf-to-markdown/docs/bundle.js
Johannes Zillmann ed59a3f24a Release 0.1.3
2021-07-12 06:48:57 -06:00

2 lines
823 KiB
JavaScript
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*! For license information please see bundle.js.LICENSE.txt */
(()=>{var __webpack_modules__={3595:function(e,t){var n,r;r=this,void 0===(n=function(){return r.Autolinker=((c=function(e){c.Util.assign(this,e)}).prototype={constructor:c,urls:!0,email:!0,twitter:!0,newWindow:!0,stripPrefix:!0,truncate:void 0,className:"",htmlParser:void 0,matchParser:void 0,tagBuilder:void 0,link:function(e){for(var t=this.getHtmlParser().parse(e),n=0,r=[],o=0,a=t.length;o<a;o++){var i=t[o],s=i.getType(),l=i.getText();if("element"===s)"a"===i.getTagName()&&(i.isClosing()?n=Math.max(n-1,0):n++),r.push(l);else if("entity"===s)r.push(l);else if(0===n){var c=this.linkifyStr(l);r.push(c)}else r.push(l)}return r.join("")},linkifyStr:function(e){return this.getMatchParser().replace(e,this.createMatchReturnVal,this)},createMatchReturnVal:function(e){var t;return this.replaceFn&&(t=this.replaceFn.call(this,this,e)),"string"==typeof t?t:!1===t?e.getMatchedText():t instanceof c.HtmlTag?t.toString():this.getTagBuilder().build(e).toString()},getHtmlParser:function(){var e=this.htmlParser;return e||(e=this.htmlParser=new c.htmlParser.HtmlParser),e},getMatchParser:function(){var e=this.matchParser;return e||(e=this.matchParser=new c.matchParser.MatchParser({urls:this.urls,email:this.email,twitter:this.twitter,stripPrefix:this.stripPrefix})),e},getTagBuilder:function(){var e=this.tagBuilder;return e||(e=this.tagBuilder=new c.AnchorTagBuilder({newWindow:this.newWindow,truncate:this.truncate,className:this.className})),e}},c.link=function(e,t){return new c(t).link(e)},c.match={},c.htmlParser={},c.matchParser={},c.Util={abstractMethod:function(){throw"abstract"},assign:function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},extend:function(e,t){var n,r=e.prototype,o=function(){};o.prototype=r;var a=(n=t.hasOwnProperty("constructor")?t.constructor:function(){r.constructor.apply(this,arguments)}).prototype=new o;return a.constructor=n,a.superclass=r,delete t.constructor,c.Util.assign(a,t),n},ellipsis:function(e,t,n){return e.length>t&&(n=null==n?"..":n,e=e.substring(0,t-n.length)+n),e},indexOf:function(e,t){if(Array.prototype.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},splitAndCapture:function(e,t){if(!t.global)throw new Error("`splitRegex` must have the 'g' flag set");for(var n,r=[],o=0;n=t.exec(e);)r.push(e.substring(o,n.index)),r.push(n[0]),o=n.index+n[0].length;return r.push(e.substring(o)),r}},c.HtmlTag=c.Util.extend(Object,{whitespaceRegex:/\s+/,constructor:function(e){c.Util.assign(this,e),this.innerHtml=this.innerHtml||this.innerHTML},setTagName:function(e){return this.tagName=e,this},getTagName:function(){return this.tagName||""},setAttr:function(e,t){return this.getAttrs()[e]=t,this},getAttr:function(e){return this.getAttrs()[e]},setAttrs:function(e){var t=this.getAttrs();return c.Util.assign(t,e),this},getAttrs:function(){return this.attrs||(this.attrs={})},setClass:function(e){return this.setAttr("class",e)},addClass:function(e){for(var t,n=this.getClass(),r=this.whitespaceRegex,o=c.Util.indexOf,a=n?n.split(r):[],i=e.split(r);t=i.shift();)-1===o(a,t)&&a.push(t);return this.getAttrs().class=a.join(" "),this},removeClass:function(e){for(var t,n=this.getClass(),r=this.whitespaceRegex,o=c.Util.indexOf,a=n?n.split(r):[],i=e.split(r);a.length&&(t=i.shift());){var s=o(a,t);-1!==s&&a.splice(s,1)}return this.getAttrs().class=a.join(" "),this},getClass:function(){return this.getAttrs().class||""},hasClass:function(e){return-1!==(" "+this.getClass()+" ").indexOf(" "+e+" ")},setInnerHtml:function(e){return this.innerHtml=e,this},getInnerHtml:function(){return this.innerHtml||""},toString:function(){var e=this.getTagName(),t=this.buildAttrsStr();return["<",e,t=t?" "+t:"",">",this.getInnerHtml(),"</",e,">"].join("")},buildAttrsStr:function(){if(!this.attrs)return"";var e=this.getAttrs(),t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n+'="'+e[n]+'"');return t.join(" ")}}),c.AnchorTagBuilder=c.Util.extend(Object,{constructor:function(e){c.Util.assign(this,e)},build:function(e){return new c.HtmlTag({tagName:"a",attrs:this.createAttrs(e.getType(),e.getAnchorHref()),innerHtml:this.processAnchorText(e.getAnchorText())})},createAttrs:function(e,t){var n={href:t},r=this.createCssClass(e);return r&&(n.class=r),this.newWindow&&(n.target="_blank"),n},createCssClass:function(e){var t=this.className;return t?t+" "+t+"-"+e:""},processAnchorText:function(e){return this.doTruncate(e)},doTruncate:function(e){return c.Util.ellipsis(e,this.truncate||Number.POSITIVE_INFINITY)}}),c.htmlParser.HtmlParser=c.Util.extend(Object,{htmlRegex:(i=/[0-9a-zA-Z][0-9a-zA-Z:]*/,s=/(?:"[^"]*?"|'[^']*?'|[^'"=<>`\s]+)/,l=/[^\s\0"'>\/=\x01-\x1F\x7F]+/.source+"(?:\\s*=\\s*"+s.source+")?",new RegExp(["(?:","<(!DOCTYPE)","(?:","\\s+","(?:",l,"|",s.source+")",")*",">",")","|","(?:","<(/)?","("+i.source+")","(?:","\\s+",l,")*","\\s*/?",">",")"].join(""),"gi")),htmlCharacterEntitiesRegex:/(&nbsp;|&#160;|&lt;|&#60;|&gt;|&#62;|&quot;|&#34;|&#39;)/gi,parse:function(e){for(var t,n,r=this.htmlRegex,o=0,a=[];null!==(t=r.exec(e));){var i=t[0],s=t[1]||t[3],l=!!t[2],c=e.substring(o,t.index);c&&(n=this.parseTextAndEntityNodes(c),a.push.apply(a,n)),a.push(this.createElementNode(i,s,l)),o=t.index+i.length}if(o<e.length){var u=e.substring(o);u&&(n=this.parseTextAndEntityNodes(u),a.push.apply(a,n))}return a},parseTextAndEntityNodes:function(e){for(var t=[],n=c.Util.splitAndCapture(e,this.htmlCharacterEntitiesRegex),r=0,o=n.length;r<o;r+=2){var a=n[r],i=n[r+1];a&&t.push(this.createTextNode(a)),i&&t.push(this.createEntityNode(i))}return t},createElementNode:function(e,t,n){return new c.htmlParser.ElementNode({text:e,tagName:t.toLowerCase(),closing:n})},createEntityNode:function(e){return new c.htmlParser.EntityNode({text:e})},createTextNode:function(e){return new c.htmlParser.TextNode({text:e})}}),c.htmlParser.HtmlNode=c.Util.extend(Object,{text:"",constructor:function(e){c.Util.assign(this,e)},getType:c.Util.abstractMethod,getText:function(){return this.text}}),c.htmlParser.ElementNode=c.Util.extend(c.htmlParser.HtmlNode,{tagName:"",closing:!1,getType:function(){return"element"},getTagName:function(){return this.tagName},isClosing:function(){return this.closing}}),c.htmlParser.EntityNode=c.Util.extend(c.htmlParser.HtmlNode,{getType:function(){return"entity"}}),c.htmlParser.TextNode=c.Util.extend(c.htmlParser.HtmlNode,{getType:function(){return"text"}}),c.matchParser.MatchParser=c.Util.extend(Object,{urls:!0,email:!0,twitter:!0,stripPrefix:!0,matcherRegex:(e=/(?:[A-Za-z][-.+A-Za-z0-9]+:(?![A-Za-z][-.+A-Za-z0-9]+:\/\/)(?!\d+\/?)(?:\/\/)?)/,t=/(?:www\.)/,n=/[A-Za-z0-9\.\-]*[A-Za-z0-9\-]/,o=/\.(?:international|construction|contractors|enterprises|photography|productions|foundation|immobilien|industries|management|properties|technology|christmas|community|directory|education|equipment|institute|marketing|solutions|vacations|bargains|boutique|builders|catering|cleaning|clothing|computer|democrat|diamonds|graphics|holdings|lighting|partners|plumbing|supplies|training|ventures|academy|careers|company|cruises|domains|exposed|flights|florist|gallery|guitars|holiday|kitchen|neustar|okinawa|recipes|rentals|reviews|shiksha|singles|support|systems|agency|berlin|camera|center|coffee|condos|dating|estate|events|expert|futbol|kaufen|luxury|maison|monash|museum|nagoya|photos|repair|report|social|supply|tattoo|tienda|travel|viajes|villas|vision|voting|voyage|actor|build|cards|cheap|codes|dance|email|glass|house|mango|ninja|parts|photo|shoes|solar|today|tokyo|tools|watch|works|aero|arpa|asia|best|bike|blue|buzz|camp|club|cool|coop|farm|fish|gift|guru|info|jobs|kiwi|kred|land|limo|link|menu|mobi|moda|name|pics|pink|post|qpon|rich|ruhr|sexy|tips|vote|voto|wang|wien|wiki|zone|bar|bid|biz|cab|cat|ceo|com|edu|gov|int|kim|mil|net|onl|org|pro|pub|red|tel|uno|wed|xxx|xyz|ac|ad|ae|af|ag|ai|al|am|an|ao|aq|ar|as|at|au|aw|ax|az|ba|bb|bd|be|bf|bg|bh|bi|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|cr|cu|cv|cw|cx|cy|cz|de|dj|dk|dm|do|dz|ec|ee|eg|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gg|gh|gi|gl|gm|gn|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|in|io|iq|ir|is|it|je|jm|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|me|mg|mh|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|mv|mw|mx|my|mz|na|nc|ne|nf|ng|ni|nl|no|np|nr|nu|nz|om|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|ps|pt|pw|py|qa|re|ro|rs|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|st|su|sv|sx|sy|sz|tc|td|tf|tg|th|tj|tk|tl|tm|tn|to|tp|tr|tt|tv|tw|tz|ua|ug|uk|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|za|zm|zw)\b/,a=/[\-A-Za-z0-9+&@#\/%=~_()|'$*\[\]?!:,.;]*[\-A-Za-z0-9+&@#\/%=~_()|'$*\[\]]/,new RegExp(["(",/(^|[^\w])@(\w{1,15})/.source,")","|","(",/(?:[\-;:&=\+\$,\w\.]+@)/.source,n.source,o.source,")","|","(","(?:","(",e.source,n.source,")","|","(?:","(.?//)?",t.source,n.source,")","|","(?:","(.?//)?",n.source,o.source,")",")","(?:"+a.source+")?",")"].join(""),"gi")),charBeforeProtocolRelMatchRegex:/^(.)?\/\//,constructor:function(e){c.Util.assign(this,e),this.matchValidator=new c.MatchValidator},replace:function(e,t,n){var r=this;return e.replace(this.matcherRegex,(function(e,o,a,i,s,l,c,u,p){var d=r.processCandidateMatch(e,o,a,i,s,l,c,u,p);if(d){var f=t.call(n,d.match);return d.prefixStr+f+d.suffixStr}return e}))},processCandidateMatch:function(e,t,n,r,o,a,i,s,l){var u,p=s||l,d="",f="";if(t&&!this.twitter||o&&!this.email||a&&!this.urls||!this.matchValidator.isValidMatch(a,i,p))return null;if(this.matchHasUnbalancedClosingParen(e)&&(e=e.substr(0,e.length-1),f=")"),o)u=new c.match.Email({matchedText:e,email:o});else if(t)n&&(d=n,e=e.slice(1)),u=new c.match.Twitter({matchedText:e,twitterHandle:r});else{if(p){var h=p.match(this.charBeforeProtocolRelMatchRegex)[1]||"";h&&(d=h,e=e.slice(1))}u=new c.match.Url({matchedText:e,url:e,protocolUrlMatch:!!i,protocolRelativeMatch:!!p,stripPrefix:this.stripPrefix})}return{prefixStr:d,suffixStr:f,match:u}},matchHasUnbalancedClosingParen:function(e){if(")"===e.charAt(e.length-1)){var t=e.match(/\(/g),n=e.match(/\)/g);if((t&&t.length||0)<(n&&n.length||0))return!0}return!1}}),c.MatchValidator=c.Util.extend(Object,{invalidProtocolRelMatchRegex:/^[\w]\/\//,hasFullProtocolRegex:/^[A-Za-z][-.+A-Za-z0-9]+:\/\//,uriSchemeRegex:/^[A-Za-z][-.+A-Za-z0-9]+:/,hasWordCharAfterProtocolRegex:/:[^\s]*?[A-Za-z]/,isValidMatch:function(e,t,n){return!(t&&!this.isValidUriScheme(t)||this.urlMatchDoesNotHaveProtocolOrDot(e,t)||this.urlMatchDoesNotHaveAtLeastOneWordChar(e,t)||this.isInvalidProtocolRelativeMatch(n))},isValidUriScheme:function(e){var t=e.match(this.uriSchemeRegex)[0].toLowerCase();return"javascript:"!==t&&"vbscript:"!==t},urlMatchDoesNotHaveProtocolOrDot:function(e,t){return!(!e||t&&this.hasFullProtocolRegex.test(t)||-1!==e.indexOf("."))},urlMatchDoesNotHaveAtLeastOneWordChar:function(e,t){return!(!e||!t||this.hasWordCharAfterProtocolRegex.test(e))},isInvalidProtocolRelativeMatch:function(e){return!!e&&this.invalidProtocolRelMatchRegex.test(e)}}),c.match.Match=c.Util.extend(Object,{constructor:function(e){c.Util.assign(this,e)},getType:c.Util.abstractMethod,getMatchedText:function(){return this.matchedText},getAnchorHref:c.Util.abstractMethod,getAnchorText:c.Util.abstractMethod}),c.match.Email=c.Util.extend(c.match.Match,{getType:function(){return"email"},getEmail:function(){return this.email},getAnchorHref:function(){return"mailto:"+this.email},getAnchorText:function(){return this.email}}),c.match.Twitter=c.Util.extend(c.match.Match,{getType:function(){return"twitter"},getTwitterHandle:function(){return this.twitterHandle},getAnchorHref:function(){return"https://twitter.com/"+this.twitterHandle},getAnchorText:function(){return"@"+this.twitterHandle}}),c.match.Url=c.Util.extend(c.match.Match,{urlPrefixRegex:/^(https?:\/\/)?(www\.)?/i,protocolRelativeRegex:/^\/\//,protocolPrepended:!1,getType:function(){return"url"},getUrl:function(){var e=this.url;return this.protocolRelativeMatch||this.protocolUrlMatch||this.protocolPrepended||(e=this.url="http://"+e,this.protocolPrepended=!0),e},getAnchorHref:function(){return this.getUrl().replace(/&amp;/g,"&")},getAnchorText:function(){var e=this.getUrl();return this.protocolRelativeMatch&&(e=this.stripProtocolRelativePrefix(e)),this.stripPrefix&&(e=this.stripUrlPrefix(e)),this.removeTrailingSlash(e)},stripUrlPrefix:function(e){return e.replace(this.urlPrefixRegex,"")},stripProtocolRelativePrefix:function(e){return e.replace(this.protocolRelativeRegex,"")},removeTrailingSlash:function(e){return"/"===e.charAt(e.length-1)&&(e=e.slice(0,-1)),e}}),c);var e,t,n,o,a,i,s,l,c}.apply(t,[]))||(e.exports=n)},9474:(e,t,n)=>{e.exports={default:n(7421),__esModule:!0}},6476:(e,t,n)=>{e.exports={default:n(6458),__esModule:!0}},8427:(e,t,n)=>{e.exports={default:n(4710),__esModule:!0}},5510:(e,t,n)=>{e.exports={default:n(8531),__esModule:!0}},8629:(e,t,n)=>{e.exports={default:n(5135),__esModule:!0}},4898:(e,t,n)=>{e.exports={default:n(9591),__esModule:!0}},9512:(e,t,n)=>{e.exports={default:n(9103),__esModule:!0}},4918:(e,t,n)=>{e.exports={default:n(9871),__esModule:!0}},9343:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},241:(e,t,n)=>{"use strict";t.__esModule=!0;var r,o=(r=n(6476))&&r.__esModule?r:{default:r};t.default=o.default||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},6653:(e,t,n)=>{"use strict";t.__esModule=!0;var r=i(n(8629)),o=i(n(8427)),a=i(n(4448));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,a.default)(t)));e.prototype=(0,o.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(r.default?(0,r.default)(e,t):e.__proto__=t)}},749:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},7306:(e,t,n)=>{"use strict";t.__esModule=!0;var r,o=(r=n(4448))&&r.__esModule?r:{default:r};t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":(0,o.default)(t))&&"function"!=typeof t?e:t}},4448:(e,t,n)=>{"use strict";t.__esModule=!0;var r=i(n(4918)),o=i(n(9512)),a="function"==typeof o.default&&"symbol"==typeof r.default?function(e){return typeof e}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":typeof e};function i(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof o.default&&"symbol"===a(r.default)?function(e){return void 0===e?"undefined":a(e)}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":void 0===e?"undefined":a(e)}},42:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var a=typeof n;if("string"===a||"number"===a)e.push(n);else if(Array.isArray(n))e.push(o.apply(null,n));else if("object"===a)for(var i in n)r.call(n,i)&&n[i]&&e.push(i)}}return e.join(" ")}e.exports?e.exports=o:void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},7421:(e,t,n)=>{n(9572),n(7627),e.exports=n(7208).Array.from},6458:(e,t,n)=>{n(9954),e.exports=n(7208).Object.assign},4710:(e,t,n)=>{n(785);var r=n(7208).Object;e.exports=function(e,t){return r.create(e,t)}},8531:(e,t,n)=>{n(5260),e.exports=n(7208).Object.entries},5135:(e,t,n)=>{n(3890),e.exports=n(7208).Object.setPrototypeOf},9591:(e,t,n)=>{n(7188),e.exports=n(7208).Object.values},9103:(e,t,n)=>{n(4370),n(285),n(7573),n(7224),e.exports=n(7208).Symbol},9871:(e,t,n)=>{n(9572),n(4114),e.exports=n(7273).f("iterator")},6610:e=>{e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},9697:e=>{e.exports=function(){}},498:(e,t,n)=>{var r=n(9632);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},9191:(e,t,n)=>{var r=n(1504),o=n(7154),a=n(665);e.exports=function(e){return function(t,n,i){var s,l=r(t),c=o(l.length),u=a(i,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},8312:(e,t,n)=>{var r=n(1352),o=n(4300)("toStringTag"),a="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:a?r(t):"Object"==(i=r(t))&&"function"==typeof t.callee?"Arguments":i}},1352:e=>{var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},7208:e=>{var t=e.exports={version:"2.4.0"};"number"==typeof __e&&(__e=t)},7352:(e,t,n)=>{"use strict";var r=n(510),o=n(8439);e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},1725:(e,t,n)=>{var r=n(6610);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},8239:e=>{e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},5179:(e,t,n)=>{e.exports=!n(472)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},8765:(e,t,n)=>{var r=n(9632),o=n(3280).document,a=r(o)&&r(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},1986:e=>{e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},2266:(e,t,n)=>{var r=n(6425),o=n(7739),a=n(7410);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var i,s=n(e),l=a.f,c=0;s.length>c;)l.call(e,i=s[c++])&&t.push(i);return t}},8310:(e,t,n)=>{var r=n(3280),o=n(7208),a=n(1725),i=n(2292),s=function(e,t,n){var l,c,u,p=e&s.F,d=e&s.G,f=e&s.S,h=e&s.P,g=e&s.B,b=e&s.W,m=d?o:o[t]||(o[t]={}),v=m.prototype,y=d?r:f?r[t]:(r[t]||{}).prototype;for(l in d&&(n=t),n)(c=!p&&y&&void 0!==y[l])&&l in m||(u=c?y[l]:n[l],m[l]=d&&"function"!=typeof y[l]?n[l]:g&&c?a(u,r):b&&y[l]==u?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(u):h&&"function"==typeof u?a(Function.call,u):u,h&&((m.virtual||(m.virtual={}))[l]=u,e&s.R&&v&&!v[l]&&i(v,l,u)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},472:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},3280:e=>{var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},657:e=>{var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},2292:(e,t,n)=>{var r=n(510),o=n(8439);e.exports=n(5179)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},2477:(e,t,n)=>{e.exports=n(3280).document&&document.documentElement},4457:(e,t,n)=>{e.exports=!n(5179)&&!n(472)((function(){return 7!=Object.defineProperty(n(8765)("div"),"a",{get:function(){return 7}}).a}))},3115:(e,t,n)=>{var r=n(1352);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},1827:(e,t,n)=>{var r=n(9105),o=n(4300)("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||a[o]===e)}},7359:(e,t,n)=>{var r=n(1352);e.exports=Array.isArray||function(e){return"Array"==r(e)}},9632:e=>{e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},3086:(e,t,n)=>{var r=n(498);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var a=e.return;throw void 0!==a&&r(a.call(e)),t}}},9802:(e,t,n)=>{"use strict";var r=n(2488),o=n(8439),a=n(2413),i={};n(2292)(i,n(4300)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(i,{next:o(1,n)}),a(e,t+" Iterator")}},6125:(e,t,n)=>{"use strict";var r=n(6794),o=n(8310),a=n(9312),i=n(2292),s=n(657),l=n(9105),c=n(9802),u=n(2413),p=n(999),d=n(4300)("iterator"),f=!([].keys&&"next"in[].keys()),h="keys",g="values",b=function(){return this};e.exports=function(e,t,n,m,v,y,_){c(n,t,m);var x,w,k,E=function(e){if(!f&&e in T)return T[e];switch(e){case h:case g:return function(){return new n(this,e)}}return function(){return new n(this,e)}},C=t+" Iterator",A=v==g,P=!1,T=e.prototype,S=T[d]||T["@@iterator"]||v&&T[v],O=S||E(v),M=v?A?E("entries"):O:void 0,R="Array"==t&&T.entries||S;if(R&&(k=p(R.call(new e)))!==Object.prototype&&(u(k,C,!0),r||s(k,d)||i(k,d,b)),A&&S&&S.name!==g&&(P=!0,O=function(){return S.call(this)}),r&&!_||!f&&!P&&T[d]||i(T,d,O),l[t]=O,l[C]=b,v)if(x={values:A?O:E(g),keys:y?O:E(h),entries:M},_)for(w in x)w in T||a(T,w,x[w]);else o(o.P+o.F*(f||P),t,x);return x}},6797:(e,t,n)=>{var r=n(4300)("iterator"),o=!1;try{var a=[7][r]();a.return=function(){o=!0},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var a=[7],i=a[r]();i.next=function(){return{done:n=!0}},a[r]=function(){return i},e(a)}catch(e){}return n}},9329:e=>{e.exports=function(e,t){return{value:t,done:!!e}}},9105:e=>{e.exports={}},8106:(e,t,n)=>{var r=n(6425),o=n(1504);e.exports=function(e,t){for(var n,a=o(e),i=r(a),s=i.length,l=0;s>l;)if(a[n=i[l++]]===t)return n}},6794:e=>{e.exports=!0},6758:(e,t,n)=>{var r=n(4251)("meta"),o=n(9632),a=n(657),i=n(510).f,s=0,l=Object.isExtensible||function(){return!0},c=!n(472)((function(){return l(Object.preventExtensions({}))})),u=function(e){i(e,r,{value:{i:"O"+ ++s,w:{}}})},p=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,r)){if(!l(e))return"F";if(!t)return"E";u(e)}return e[r].i},getWeak:function(e,t){if(!a(e,r)){if(!l(e))return!0;if(!t)return!1;u(e)}return e[r].w},onFreeze:function(e){return c&&p.NEED&&l(e)&&!a(e,r)&&u(e),e}}},7995:(e,t,n)=>{"use strict";var r=n(6425),o=n(7739),a=n(7410),i=n(61),s=n(3115),l=Object.assign;e.exports=!l||n(472)((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=r}))?function(e,t){for(var n=i(e),l=arguments.length,c=1,u=o.f,p=a.f;l>c;)for(var d,f=s(arguments[c++]),h=u?r(f).concat(u(f)):r(f),g=h.length,b=0;g>b;)p.call(f,d=h[b++])&&(n[d]=f[d]);return n}:l},2488:(e,t,n)=>{var r=n(498),o=n(6607),a=n(1986),i=n(8478)("IE_PROTO"),s=function(){},l=function(){var e,t=n(8765)("iframe"),r=a.length;for(t.style.display="none",n(2477).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l.prototype[a[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[i]=e):n=l(),void 0===t?n:o(n,t)}},510:(e,t,n)=>{var r=n(498),o=n(4457),a=n(2737),i=Object.defineProperty;t.f=n(5179)?Object.defineProperty:function(e,t,n){if(r(e),t=a(t,!0),r(n),o)try{return i(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},6607:(e,t,n)=>{var r=n(510),o=n(498),a=n(6425);e.exports=n(5179)?Object.defineProperties:function(e,t){o(e);for(var n,i=a(t),s=i.length,l=0;s>l;)r.f(e,n=i[l++],t[n]);return e}},3264:(e,t,n)=>{var r=n(7410),o=n(8439),a=n(1504),i=n(2737),s=n(657),l=n(4457),c=Object.getOwnPropertyDescriptor;t.f=n(5179)?c:function(e,t){if(e=a(e),t=i(t,!0),l)try{return c(e,t)}catch(e){}if(s(e,t))return o(!r.f.call(e,t),e[t])}},6084:(e,t,n)=>{var r=n(1504),o=n(8772).f,a={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return i&&"[object Window]"==a.call(e)?function(e){try{return o(e)}catch(e){return i.slice()}}(e):o(r(e))}},8772:(e,t,n)=>{var r=n(5326),o=n(1986).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},7739:(e,t)=>{t.f=Object.getOwnPropertySymbols},999:(e,t,n)=>{var r=n(657),o=n(61),a=n(8478)("IE_PROTO"),i=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?i:null}},5326:(e,t,n)=>{var r=n(657),o=n(1504),a=n(9191)(!1),i=n(8478)("IE_PROTO");e.exports=function(e,t){var n,s=o(e),l=0,c=[];for(n in s)n!=i&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~a(c,n)||c.push(n));return c}},6425:(e,t,n)=>{var r=n(5326),o=n(1986);e.exports=Object.keys||function(e){return r(e,o)}},7410:(e,t)=>{t.f={}.propertyIsEnumerable},9480:(e,t,n)=>{var r=n(6425),o=n(1504),a=n(7410).f;e.exports=function(e){return function(t){for(var n,i=o(t),s=r(i),l=s.length,c=0,u=[];l>c;)a.call(i,n=s[c++])&&u.push(e?[n,i[n]]:i[n]);return u}}},8439:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},9312:(e,t,n)=>{e.exports=n(2292)},5574:(e,t,n)=>{var r=n(9632),o=n(498),a=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(1725)(Function.call,n(3264).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return a(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:a}},2413:(e,t,n)=>{var r=n(510).f,o=n(657),a=n(4300)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,a)&&r(e,a,{configurable:!0,value:t})}},8478:(e,t,n)=>{var r=n(9990)("keys"),o=n(4251);e.exports=function(e){return r[e]||(r[e]=o(e))}},9990:(e,t,n)=>{var r=n(3280),o="__core-js_shared__",a=r[o]||(r[o]={});e.exports=function(e){return a[e]||(a[e]={})}},8502:(e,t,n)=>{var r=n(8290),o=n(8239);e.exports=function(e){return function(t,n){var a,i,s=String(o(t)),l=r(n),c=s.length;return l<0||l>=c?e?"":void 0:(a=s.charCodeAt(l))<55296||a>56319||l+1===c||(i=s.charCodeAt(l+1))<56320||i>57343?e?s.charAt(l):a:e?s.slice(l,l+2):i-56320+(a-55296<<10)+65536}}},665:(e,t,n)=>{var r=n(8290),o=Math.max,a=Math.min;e.exports=function(e,t){return(e=r(e))<0?o(e+t,0):a(e,t)}},8290:e=>{var t=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:t)(e)}},1504:(e,t,n)=>{var r=n(3115),o=n(8239);e.exports=function(e){return r(o(e))}},7154:(e,t,n)=>{var r=n(8290),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},61:(e,t,n)=>{var r=n(8239);e.exports=function(e){return Object(r(e))}},2737:(e,t,n)=>{var r=n(9632);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},4251:e=>{var t=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++t+n).toString(36))}},1164:(e,t,n)=>{var r=n(3280),o=n(7208),a=n(6794),i=n(7273),s=n(510).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=a?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:i.f(e)})}},7273:(e,t,n)=>{t.f=n(4300)},4300:(e,t,n)=>{var r=n(9990)("wks"),o=n(4251),a=n(3280).Symbol,i="function"==typeof a;(e.exports=function(e){return r[e]||(r[e]=i&&a[e]||(i?a:o)("Symbol."+e))}).store=r},6116:(e,t,n)=>{var r=n(8312),o=n(4300)("iterator"),a=n(9105);e.exports=n(7208).getIteratorMethod=function(e){if(null!=e)return e[o]||e["@@iterator"]||a[r(e)]}},7627:(e,t,n)=>{"use strict";var r=n(1725),o=n(8310),a=n(61),i=n(3086),s=n(1827),l=n(7154),c=n(7352),u=n(6116);o(o.S+o.F*!n(6797)((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,o,p,d=a(e),f="function"==typeof this?this:Array,h=arguments.length,g=h>1?arguments[1]:void 0,b=void 0!==g,m=0,v=u(d);if(b&&(g=r(g,h>2?arguments[2]:void 0,2)),null==v||f==Array&&s(v))for(n=new f(t=l(d.length));t>m;m++)c(n,m,b?g(d[m],m):d[m]);else for(p=v.call(d),n=new f;!(o=p.next()).done;m++)c(n,m,b?i(p,g,[o.value,m],!0):o.value);return n.length=m,n}})},4411:(e,t,n)=>{"use strict";var r=n(9697),o=n(9329),a=n(9105),i=n(1504);e.exports=n(6125)(Array,"Array",(function(e,t){this._t=i(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},9954:(e,t,n)=>{var r=n(8310);r(r.S+r.F,"Object",{assign:n(7995)})},785:(e,t,n)=>{var r=n(8310);r(r.S,"Object",{create:n(2488)})},3890:(e,t,n)=>{var r=n(8310);r(r.S,"Object",{setPrototypeOf:n(5574).set})},285:()=>{},9572:(e,t,n)=>{"use strict";var r=n(8502)(!0);n(6125)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},4370:(e,t,n)=>{"use strict";var r=n(3280),o=n(657),a=n(5179),i=n(8310),s=n(9312),l=n(6758).KEY,c=n(472),u=n(9990),p=n(2413),d=n(4251),f=n(4300),h=n(7273),g=n(1164),b=n(8106),m=n(2266),v=n(7359),y=n(498),_=n(1504),x=n(2737),w=n(8439),k=n(2488),E=n(6084),C=n(3264),A=n(510),P=n(6425),T=C.f,S=A.f,O=E.f,M=r.Symbol,R=r.JSON,N=R&&R.stringify,D=f("_hidden"),L=f("toPrimitive"),I={}.propertyIsEnumerable,j=u("symbol-registry"),F=u("symbols"),U=u("op-symbols"),q=Object.prototype,B="function"==typeof M,z=r.QObject,W=!z||!z.prototype||!z.prototype.findChild,H=a&&c((function(){return 7!=k(S({},"a",{get:function(){return S(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=T(q,t);r&&delete q[t],S(e,t,n),r&&e!==q&&S(q,t,r)}:S,V=function(e){var t=F[e]=k(M.prototype);return t._k=e,t},G=B&&"symbol"==typeof M.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof M},K=function(e,t,n){return e===q&&K(U,t,n),y(e),t=x(t,!0),y(n),o(F,t)?(n.enumerable?(o(e,D)&&e[D][t]&&(e[D][t]=!1),n=k(n,{enumerable:w(0,!1)})):(o(e,D)||S(e,D,w(1,{})),e[D][t]=!0),H(e,t,n)):S(e,t,n)},Y=function(e,t){y(e);for(var n,r=m(t=_(t)),o=0,a=r.length;a>o;)K(e,n=r[o++],t[n]);return e},$=function(e){var t=I.call(this,e=x(e,!0));return!(this===q&&o(F,e)&&!o(U,e))&&(!(t||!o(this,e)||!o(F,e)||o(this,D)&&this[D][e])||t)},X=function(e,t){if(e=_(e),t=x(t,!0),e!==q||!o(F,t)||o(U,t)){var n=T(e,t);return!n||!o(F,t)||o(e,D)&&e[D][t]||(n.enumerable=!0),n}},Q=function(e){for(var t,n=O(_(e)),r=[],a=0;n.length>a;)o(F,t=n[a++])||t==D||t==l||r.push(t);return r},J=function(e){for(var t,n=e===q,r=O(n?U:_(e)),a=[],i=0;r.length>i;)!o(F,t=r[i++])||n&&!o(q,t)||a.push(F[t]);return a};B||(s((M=function(){if(this instanceof M)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(n){this===q&&t.call(U,n),o(this,D)&&o(this[D],e)&&(this[D][e]=!1),H(this,e,w(1,n))};return a&&W&&H(q,e,{configurable:!0,set:t}),V(e)}).prototype,"toString",(function(){return this._k})),C.f=X,A.f=K,n(8772).f=E.f=Q,n(7410).f=$,n(7739).f=J,a&&!n(6794)&&s(q,"propertyIsEnumerable",$,!0),h.f=function(e){return V(f(e))}),i(i.G+i.W+i.F*!B,{Symbol:M});for(var Z="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;Z.length>ee;)f(Z[ee++]);for(Z=P(f.store),ee=0;Z.length>ee;)g(Z[ee++]);i(i.S+i.F*!B,"Symbol",{for:function(e){return o(j,e+="")?j[e]:j[e]=M(e)},keyFor:function(e){if(G(e))return b(j,e);throw TypeError(e+" is not a symbol!")},useSetter:function(){W=!0},useSimple:function(){W=!1}}),i(i.S+i.F*!B,"Object",{create:function(e,t){return void 0===t?k(e):Y(k(e),t)},defineProperty:K,defineProperties:Y,getOwnPropertyDescriptor:X,getOwnPropertyNames:Q,getOwnPropertySymbols:J}),R&&i(i.S+i.F*(!B||c((function(){var e=M();return"[null]"!=N([e])||"{}"!=N({a:e})||"{}"!=N(Object(e))}))),"JSON",{stringify:function(e){if(void 0!==e&&!G(e)){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);return"function"==typeof(t=r[1])&&(n=t),!n&&v(t)||(t=function(e,t){if(n&&(t=n.call(this,e,t)),!G(t))return t}),r[1]=t,N.apply(R,r)}}}),M.prototype[L]||n(2292)(M.prototype,L,M.prototype.valueOf),p(M,"Symbol"),p(Math,"Math",!0),p(r.JSON,"JSON",!0)},5260:(e,t,n)=>{var r=n(8310),o=n(9480)(!0);r(r.S,"Object",{entries:function(e){return o(e)}})},7188:(e,t,n)=>{var r=n(8310),o=n(9480)(!1);r(r.S,"Object",{values:function(e){return o(e)}})},7573:(e,t,n)=>{n(1164)("asyncIterator")},7224:(e,t,n)=>{n(1164)("observable")},4114:(e,t,n)=>{n(4411);for(var r=n(3280),o=n(2292),a=n(9105),i=n(4300)("toStringTag"),s=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],l=0;l<5;l++){var c=s[l],u=r[c],p=u&&u.prototype;p&&!p[i]&&o(p,i,c),a[c]=a.Array}},1141:(e,t,n)=>{(e.exports=n(1506)()).push([e.id,'/*!\n * Bootstrap v3.3.7 (http://getbootstrap.com)\n * Copyright 2011-2016 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n */\n/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */\nhtml {\n font-family: sans-serif;\n -webkit-text-size-adjust: 100%;\n -ms-text-size-adjust: 100%;\n}\nbody {\n margin: 0;\n}\narticle,\naside,\ndetails,\nfigcaption,\nfigure,\nfooter,\nheader,\nhgroup,\nmain,\nmenu,\nnav,\nsection,\nsummary {\n display: block;\n}\naudio,\ncanvas,\nprogress,\nvideo {\n display: inline-block;\n vertical-align: baseline;\n}\naudio:not([controls]) {\n display: none;\n height: 0;\n}\n[hidden],\ntemplate {\n display: none;\n}\na {\n background-color: transparent;\n}\na:active,\na:hover {\n outline: 0;\n}\nabbr[title] {\n border-bottom: 1px dotted;\n}\nb,\nstrong {\n font-weight: bold;\n}\ndfn {\n font-style: italic;\n}\nh1 {\n margin: .67em 0;\n font-size: 2em;\n}\nmark {\n color: #000;\n background: #ff0;\n}\nsmall {\n font-size: 80%;\n}\nsub,\nsup {\n position: relative;\n font-size: 75%;\n line-height: 0;\n vertical-align: baseline;\n}\nsup {\n top: -.5em;\n}\nsub {\n bottom: -.25em;\n}\nimg {\n border: 0;\n}\nsvg:not(:root) {\n overflow: hidden;\n}\nfigure {\n margin: 1em 40px;\n}\nhr {\n height: 0;\n -webkit-box-sizing: content-box;\n -moz-box-sizing: content-box;\n box-sizing: content-box;\n}\npre {\n overflow: auto;\n}\ncode,\nkbd,\npre,\nsamp {\n font-family: monospace, monospace;\n font-size: 1em;\n}\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n margin: 0;\n font: inherit;\n color: inherit;\n}\nbutton {\n overflow: visible;\n}\nbutton,\nselect {\n text-transform: none;\n}\nbutton,\nhtml input[type="button"],\ninput[type="reset"],\ninput[type="submit"] {\n -webkit-appearance: button;\n cursor: pointer;\n}\nbutton[disabled],\nhtml input[disabled] {\n cursor: default;\n}\nbutton::-moz-focus-inner,\ninput::-moz-focus-inner {\n padding: 0;\n border: 0;\n}\ninput {\n line-height: normal;\n}\ninput[type="checkbox"],\ninput[type="radio"] {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n padding: 0;\n}\ninput[type="number"]::-webkit-inner-spin-button,\ninput[type="number"]::-webkit-outer-spin-button {\n height: auto;\n}\ninput[type="search"] {\n -webkit-box-sizing: content-box;\n -moz-box-sizing: content-box;\n box-sizing: content-box;\n -webkit-appearance: textfield;\n}\ninput[type="search"]::-webkit-search-cancel-button,\ninput[type="search"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\nfieldset {\n padding: .35em .625em .75em;\n margin: 0 2px;\n border: 1px solid #c0c0c0;\n}\nlegend {\n padding: 0;\n border: 0;\n}\ntextarea {\n overflow: auto;\n}\noptgroup {\n font-weight: bold;\n}\ntable {\n border-spacing: 0;\n border-collapse: collapse;\n}\ntd,\nth {\n padding: 0;\n}\n/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */\n@media print {\n *,\n *:before,\n *:after {\n color: #000 !important;\n text-shadow: none !important;\n background: transparent !important;\n -webkit-box-shadow: none !important;\n box-shadow: none !important;\n }\n a,\n a:visited {\n text-decoration: underline;\n }\n a[href]:after {\n content: " (" attr(href) ")";\n }\n abbr[title]:after {\n content: " (" attr(title) ")";\n }\n a[href^="#"]:after,\n a[href^="javascript:"]:after {\n content: "";\n }\n pre,\n blockquote {\n border: 1px solid #999;\n\n page-break-inside: avoid;\n }\n thead {\n display: table-header-group;\n }\n tr,\n img {\n page-break-inside: avoid;\n }\n img {\n max-width: 100% !important;\n }\n p,\n h2,\n h3 {\n orphans: 3;\n widows: 3;\n }\n h2,\n h3 {\n page-break-after: avoid;\n }\n .navbar {\n display: none;\n }\n .btn > .caret,\n .dropup > .btn > .caret {\n border-top-color: #000 !important;\n }\n .label {\n border: 1px solid #000;\n }\n .table {\n border-collapse: collapse !important;\n }\n .table td,\n .table th {\n background-color: #fff !important;\n }\n .table-bordered th,\n .table-bordered td {\n border: 1px solid #ddd !important;\n }\n}\n@font-face {\n font-family: \'Glyphicons Halflings\';\n\n src: url('+n(6629)+");\n src: url("+n(6629)+"?#iefix) format('embedded-opentype'), url("+n(1733)+") format('woff2'), url("+n(771)+") format('woff'), url("+n(5404)+") format('truetype'), url("+n(2492)+'#glyphicons_halflingsregular) format(\'svg\');\n}\n.glyphicon {\n position: relative;\n top: 1px;\n display: inline-block;\n font-family: \'Glyphicons Halflings\';\n font-style: normal;\n font-weight: normal;\n line-height: 1;\n\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n.glyphicon-asterisk:before {\n content: "*";\n}\n.glyphicon-plus:before {\n content: "+";\n}\n.glyphicon-euro:before,\n.glyphicon-eur:before {\n content: "\\20AC";\n}\n.glyphicon-minus:before {\n content: "\\2212";\n}\n.glyphicon-cloud:before {\n content: "\\2601";\n}\n.glyphicon-envelope:before {\n content: "\\2709";\n}\n.glyphicon-pencil:before {\n content: "\\270F";\n}\n.glyphicon-glass:before {\n content: "\\E001";\n}\n.glyphicon-music:before {\n content: "\\E002";\n}\n.glyphicon-search:before {\n content: "\\E003";\n}\n.glyphicon-heart:before {\n content: "\\E005";\n}\n.glyphicon-star:before {\n content: "\\E006";\n}\n.glyphicon-star-empty:before {\n content: "\\E007";\n}\n.glyphicon-user:before {\n content: "\\E008";\n}\n.glyphicon-film:before {\n content: "\\E009";\n}\n.glyphicon-th-large:before {\n content: "\\E010";\n}\n.glyphicon-th:before {\n content: "\\E011";\n}\n.glyphicon-th-list:before {\n content: "\\E012";\n}\n.glyphicon-ok:before {\n content: "\\E013";\n}\n.glyphicon-remove:before {\n content: "\\E014";\n}\n.glyphicon-zoom-in:before {\n content: "\\E015";\n}\n.glyphicon-zoom-out:before {\n content: "\\E016";\n}\n.glyphicon-off:before {\n content: "\\E017";\n}\n.glyphicon-signal:before {\n content: "\\E018";\n}\n.glyphicon-cog:before {\n content: "\\E019";\n}\n.glyphicon-trash:before {\n content: "\\E020";\n}\n.glyphicon-home:before {\n content: "\\E021";\n}\n.glyphicon-file:before {\n content: "\\E022";\n}\n.glyphicon-time:before {\n content: "\\E023";\n}\n.glyphicon-road:before {\n content: "\\E024";\n}\n.glyphicon-download-alt:before {\n content: "\\E025";\n}\n.glyphicon-download:before {\n content: "\\E026";\n}\n.glyphicon-upload:before {\n content: "\\E027";\n}\n.glyphicon-inbox:before {\n content: "\\E028";\n}\n.glyphicon-play-circle:before {\n content: "\\E029";\n}\n.glyphicon-repeat:before {\n content: "\\E030";\n}\n.glyphicon-refresh:before {\n content: "\\E031";\n}\n.glyphicon-list-alt:before {\n content: "\\E032";\n}\n.glyphicon-lock:before {\n content: "\\E033";\n}\n.glyphicon-flag:before {\n content: "\\E034";\n}\n.glyphicon-headphones:before {\n content: "\\E035";\n}\n.glyphicon-volume-off:before {\n content: "\\E036";\n}\n.glyphicon-volume-down:before {\n content: "\\E037";\n}\n.glyphicon-volume-up:before {\n content: "\\E038";\n}\n.glyphicon-qrcode:before {\n content: "\\E039";\n}\n.glyphicon-barcode:before {\n content: "\\E040";\n}\n.glyphicon-tag:before {\n content: "\\E041";\n}\n.glyphicon-tags:before {\n content: "\\E042";\n}\n.glyphicon-book:before {\n content: "\\E043";\n}\n.glyphicon-bookmark:before {\n content: "\\E044";\n}\n.glyphicon-print:before {\n content: "\\E045";\n}\n.glyphicon-camera:before {\n content: "\\E046";\n}\n.glyphicon-font:before {\n content: "\\E047";\n}\n.glyphicon-bold:before {\n content: "\\E048";\n}\n.glyphicon-italic:before {\n content: "\\E049";\n}\n.glyphicon-text-height:before {\n content: "\\E050";\n}\n.glyphicon-text-width:before {\n content: "\\E051";\n}\n.glyphicon-align-left:before {\n content: "\\E052";\n}\n.glyphicon-align-center:before {\n content: "\\E053";\n}\n.glyphicon-align-right:before {\n content: "\\E054";\n}\n.glyphicon-align-justify:before {\n content: "\\E055";\n}\n.glyphicon-list:before {\n content: "\\E056";\n}\n.glyphicon-indent-left:before {\n content: "\\E057";\n}\n.glyphicon-indent-right:before {\n content: "\\E058";\n}\n.glyphicon-facetime-video:before {\n content: "\\E059";\n}\n.glyphicon-picture:before {\n content: "\\E060";\n}\n.glyphicon-map-marker:before {\n content: "\\E062";\n}\n.glyphicon-adjust:before {\n content: "\\E063";\n}\n.glyphicon-tint:before {\n content: "\\E064";\n}\n.glyphicon-edit:before {\n content: "\\E065";\n}\n.glyphicon-share:before {\n content: "\\E066";\n}\n.glyphicon-check:before {\n content: "\\E067";\n}\n.glyphicon-move:before {\n content: "\\E068";\n}\n.glyphicon-step-backward:before {\n content: "\\E069";\n}\n.glyphicon-fast-backward:before {\n content: "\\E070";\n}\n.glyphicon-backward:before {\n content: "\\E071";\n}\n.glyphicon-play:before {\n content: "\\E072";\n}\n.glyphicon-pause:before {\n content: "\\E073";\n}\n.glyphicon-stop:before {\n content: "\\E074";\n}\n.glyphicon-forward:before {\n content: "\\E075";\n}\n.glyphicon-fast-forward:before {\n content: "\\E076";\n}\n.glyphicon-step-forward:before {\n content: "\\E077";\n}\n.glyphicon-eject:before {\n content: "\\E078";\n}\n.glyphicon-chevron-left:before {\n content: "\\E079";\n}\n.glyphicon-chevron-right:before {\n content: "\\E080";\n}\n.glyphicon-plus-sign:before {\n content: "\\E081";\n}\n.glyphicon-minus-sign:before {\n content: "\\E082";\n}\n.glyphicon-remove-sign:before {\n content: "\\E083";\n}\n.glyphicon-ok-sign:before {\n content: "\\E084";\n}\n.glyphicon-question-sign:before {\n content: "\\E085";\n}\n.glyphicon-info-sign:before {\n content: "\\E086";\n}\n.glyphicon-screenshot:before {\n content: "\\E087";\n}\n.glyphicon-remove-circle:before {\n content: "\\E088";\n}\n.glyphicon-ok-circle:before {\n content: "\\E089";\n}\n.glyphicon-ban-circle:before {\n content: "\\E090";\n}\n.glyphicon-arrow-left:before {\n content: "\\E091";\n}\n.glyphicon-arrow-right:before {\n content: "\\E092";\n}\n.glyphicon-arrow-up:before {\n content: "\\E093";\n}\n.glyphicon-arrow-down:before {\n content: "\\E094";\n}\n.glyphicon-share-alt:before {\n content: "\\E095";\n}\n.glyphicon-resize-full:before {\n content: "\\E096";\n}\n.glyphicon-resize-small:before {\n content: "\\E097";\n}\n.glyphicon-exclamation-sign:before {\n content: "\\E101";\n}\n.glyphicon-gift:before {\n content: "\\E102";\n}\n.glyphicon-leaf:before {\n content: "\\E103";\n}\n.glyphicon-fire:before {\n content: "\\E104";\n}\n.glyphicon-eye-open:before {\n content: "\\E105";\n}\n.glyphicon-eye-close:before {\n content: "\\E106";\n}\n.glyphicon-warning-sign:before {\n content: "\\E107";\n}\n.glyphicon-plane:before {\n content: "\\E108";\n}\n.glyphicon-calendar:before {\n content: "\\E109";\n}\n.glyphicon-random:before {\n content: "\\E110";\n}\n.glyphicon-comment:before {\n content: "\\E111";\n}\n.glyphicon-magnet:before {\n content: "\\E112";\n}\n.glyphicon-chevron-up:before {\n content: "\\E113";\n}\n.glyphicon-chevron-down:before {\n content: "\\E114";\n}\n.glyphicon-retweet:before {\n content: "\\E115";\n}\n.glyphicon-shopping-cart:before {\n content: "\\E116";\n}\n.glyphicon-folder-close:before {\n content: "\\E117";\n}\n.glyphicon-folder-open:before {\n content: "\\E118";\n}\n.glyphicon-resize-vertical:before {\n content: "\\E119";\n}\n.glyphicon-resize-horizontal:before {\n content: "\\E120";\n}\n.glyphicon-hdd:before {\n content: "\\E121";\n}\n.glyphicon-bullhorn:before {\n content: "\\E122";\n}\n.glyphicon-bell:before {\n content: "\\E123";\n}\n.glyphicon-certificate:before {\n content: "\\E124";\n}\n.glyphicon-thumbs-up:before {\n content: "\\E125";\n}\n.glyphicon-thumbs-down:before {\n content: "\\E126";\n}\n.glyphicon-hand-right:before {\n content: "\\E127";\n}\n.glyphicon-hand-left:before {\n content: "\\E128";\n}\n.glyphicon-hand-up:before {\n content: "\\E129";\n}\n.glyphicon-hand-down:before {\n content: "\\E130";\n}\n.glyphicon-circle-arrow-right:before {\n content: "\\E131";\n}\n.glyphicon-circle-arrow-left:before {\n content: "\\E132";\n}\n.glyphicon-circle-arrow-up:before {\n content: "\\E133";\n}\n.glyphicon-circle-arrow-down:before {\n content: "\\E134";\n}\n.glyphicon-globe:before {\n content: "\\E135";\n}\n.glyphicon-wrench:before {\n content: "\\E136";\n}\n.glyphicon-tasks:before {\n content: "\\E137";\n}\n.glyphicon-filter:before {\n content: "\\E138";\n}\n.glyphicon-briefcase:before {\n content: "\\E139";\n}\n.glyphicon-fullscreen:before {\n content: "\\E140";\n}\n.glyphicon-dashboard:before {\n content: "\\E141";\n}\n.glyphicon-paperclip:before {\n content: "\\E142";\n}\n.glyphicon-heart-empty:before {\n content: "\\E143";\n}\n.glyphicon-link:before {\n content: "\\E144";\n}\n.glyphicon-phone:before {\n content: "\\E145";\n}\n.glyphicon-pushpin:before {\n content: "\\E146";\n}\n.glyphicon-usd:before {\n content: "\\E148";\n}\n.glyphicon-gbp:before {\n content: "\\E149";\n}\n.glyphicon-sort:before {\n content: "\\E150";\n}\n.glyphicon-sort-by-alphabet:before {\n content: "\\E151";\n}\n.glyphicon-sort-by-alphabet-alt:before {\n content: "\\E152";\n}\n.glyphicon-sort-by-order:before {\n content: "\\E153";\n}\n.glyphicon-sort-by-order-alt:before {\n content: "\\E154";\n}\n.glyphicon-sort-by-attributes:before {\n content: "\\E155";\n}\n.glyphicon-sort-by-attributes-alt:before {\n content: "\\E156";\n}\n.glyphicon-unchecked:before {\n content: "\\E157";\n}\n.glyphicon-expand:before {\n content: "\\E158";\n}\n.glyphicon-collapse-down:before {\n content: "\\E159";\n}\n.glyphicon-collapse-up:before {\n content: "\\E160";\n}\n.glyphicon-log-in:before {\n content: "\\E161";\n}\n.glyphicon-flash:before {\n content: "\\E162";\n}\n.glyphicon-log-out:before {\n content: "\\E163";\n}\n.glyphicon-new-window:before {\n content: "\\E164";\n}\n.glyphicon-record:before {\n content: "\\E165";\n}\n.glyphicon-save:before {\n content: "\\E166";\n}\n.glyphicon-open:before {\n content: "\\E167";\n}\n.glyphicon-saved:before {\n content: "\\E168";\n}\n.glyphicon-import:before {\n content: "\\E169";\n}\n.glyphicon-export:before {\n content: "\\E170";\n}\n.glyphicon-send:before {\n content: "\\E171";\n}\n.glyphicon-floppy-disk:before {\n content: "\\E172";\n}\n.glyphicon-floppy-saved:before {\n content: "\\E173";\n}\n.glyphicon-floppy-remove:before {\n content: "\\E174";\n}\n.glyphicon-floppy-save:before {\n content: "\\E175";\n}\n.glyphicon-floppy-open:before {\n content: "\\E176";\n}\n.glyphicon-credit-card:before {\n content: "\\E177";\n}\n.glyphicon-transfer:before {\n content: "\\E178";\n}\n.glyphicon-cutlery:before {\n content: "\\E179";\n}\n.glyphicon-header:before {\n content: "\\E180";\n}\n.glyphicon-compressed:before {\n content: "\\E181";\n}\n.glyphicon-earphone:before {\n content: "\\E182";\n}\n.glyphicon-phone-alt:before {\n content: "\\E183";\n}\n.glyphicon-tower:before {\n content: "\\E184";\n}\n.glyphicon-stats:before {\n content: "\\E185";\n}\n.glyphicon-sd-video:before {\n content: "\\E186";\n}\n.glyphicon-hd-video:before {\n content: "\\E187";\n}\n.glyphicon-subtitles:before {\n content: "\\E188";\n}\n.glyphicon-sound-stereo:before {\n content: "\\E189";\n}\n.glyphicon-sound-dolby:before {\n content: "\\E190";\n}\n.glyphicon-sound-5-1:before {\n content: "\\E191";\n}\n.glyphicon-sound-6-1:before {\n content: "\\E192";\n}\n.glyphicon-sound-7-1:before {\n content: "\\E193";\n}\n.glyphicon-copyright-mark:before {\n content: "\\E194";\n}\n.glyphicon-registration-mark:before {\n content: "\\E195";\n}\n.glyphicon-cloud-download:before {\n content: "\\E197";\n}\n.glyphicon-cloud-upload:before {\n content: "\\E198";\n}\n.glyphicon-tree-conifer:before {\n content: "\\E199";\n}\n.glyphicon-tree-deciduous:before {\n content: "\\E200";\n}\n.glyphicon-cd:before {\n content: "\\E201";\n}\n.glyphicon-save-file:before {\n content: "\\E202";\n}\n.glyphicon-open-file:before {\n content: "\\E203";\n}\n.glyphicon-level-up:before {\n content: "\\E204";\n}\n.glyphicon-copy:before {\n content: "\\E205";\n}\n.glyphicon-paste:before {\n content: "\\E206";\n}\n.glyphicon-alert:before {\n content: "\\E209";\n}\n.glyphicon-equalizer:before {\n content: "\\E210";\n}\n.glyphicon-king:before {\n content: "\\E211";\n}\n.glyphicon-queen:before {\n content: "\\E212";\n}\n.glyphicon-pawn:before {\n content: "\\E213";\n}\n.glyphicon-bishop:before {\n content: "\\E214";\n}\n.glyphicon-knight:before {\n content: "\\E215";\n}\n.glyphicon-baby-formula:before {\n content: "\\E216";\n}\n.glyphicon-tent:before {\n content: "\\26FA";\n}\n.glyphicon-blackboard:before {\n content: "\\E218";\n}\n.glyphicon-bed:before {\n content: "\\E219";\n}\n.glyphicon-apple:before {\n content: "\\F8FF";\n}\n.glyphicon-erase:before {\n content: "\\E221";\n}\n.glyphicon-hourglass:before {\n content: "\\231B";\n}\n.glyphicon-lamp:before {\n content: "\\E223";\n}\n.glyphicon-duplicate:before {\n content: "\\E224";\n}\n.glyphicon-piggy-bank:before {\n content: "\\E225";\n}\n.glyphicon-scissors:before {\n content: "\\E226";\n}\n.glyphicon-bitcoin:before {\n content: "\\E227";\n}\n.glyphicon-btc:before {\n content: "\\E227";\n}\n.glyphicon-xbt:before {\n content: "\\E227";\n}\n.glyphicon-yen:before {\n content: "\\A5";\n}\n.glyphicon-jpy:before {\n content: "\\A5";\n}\n.glyphicon-ruble:before {\n content: "\\20BD";\n}\n.glyphicon-rub:before {\n content: "\\20BD";\n}\n.glyphicon-scale:before {\n content: "\\E230";\n}\n.glyphicon-ice-lolly:before {\n content: "\\E231";\n}\n.glyphicon-ice-lolly-tasted:before {\n content: "\\E232";\n}\n.glyphicon-education:before {\n content: "\\E233";\n}\n.glyphicon-option-horizontal:before {\n content: "\\E234";\n}\n.glyphicon-option-vertical:before {\n content: "\\E235";\n}\n.glyphicon-menu-hamburger:before {\n content: "\\E236";\n}\n.glyphicon-modal-window:before {\n content: "\\E237";\n}\n.glyphicon-oil:before {\n content: "\\E238";\n}\n.glyphicon-grain:before {\n content: "\\E239";\n}\n.glyphicon-sunglasses:before {\n content: "\\E240";\n}\n.glyphicon-text-size:before {\n content: "\\E241";\n}\n.glyphicon-text-color:before {\n content: "\\E242";\n}\n.glyphicon-text-background:before {\n content: "\\E243";\n}\n.glyphicon-object-align-top:before {\n content: "\\E244";\n}\n.glyphicon-object-align-bottom:before {\n content: "\\E245";\n}\n.glyphicon-object-align-horizontal:before {\n content: "\\E246";\n}\n.glyphicon-object-align-left:before {\n content: "\\E247";\n}\n.glyphicon-object-align-vertical:before {\n content: "\\E248";\n}\n.glyphicon-object-align-right:before {\n content: "\\E249";\n}\n.glyphicon-triangle-right:before {\n content: "\\E250";\n}\n.glyphicon-triangle-left:before {\n content: "\\E251";\n}\n.glyphicon-triangle-bottom:before {\n content: "\\E252";\n}\n.glyphicon-triangle-top:before {\n content: "\\E253";\n}\n.glyphicon-console:before {\n content: "\\E254";\n}\n.glyphicon-superscript:before {\n content: "\\E255";\n}\n.glyphicon-subscript:before {\n content: "\\E256";\n}\n.glyphicon-menu-left:before {\n content: "\\E257";\n}\n.glyphicon-menu-right:before {\n content: "\\E258";\n}\n.glyphicon-menu-down:before {\n content: "\\E259";\n}\n.glyphicon-menu-up:before {\n content: "\\E260";\n}\n* {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n}\n*:before,\n*:after {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n}\nhtml {\n font-size: 10px;\n\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\nbody {\n font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;\n font-size: 14px;\n line-height: 1.42857143;\n color: #333;\n background-color: #fff;\n}\ninput,\nbutton,\nselect,\ntextarea {\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n}\na {\n color: #337ab7;\n text-decoration: none;\n}\na:hover,\na:focus {\n color: #23527c;\n text-decoration: underline;\n}\na:focus {\n outline: 5px auto -webkit-focus-ring-color;\n outline-offset: -2px;\n}\nfigure {\n margin: 0;\n}\nimg {\n vertical-align: middle;\n}\n.img-responsive,\n.thumbnail > img,\n.thumbnail a > img,\n.carousel-inner > .item > img,\n.carousel-inner > .item > a > img {\n display: block;\n max-width: 100%;\n height: auto;\n}\n.img-rounded {\n border-radius: 6px;\n}\n.img-thumbnail {\n display: inline-block;\n max-width: 100%;\n height: auto;\n padding: 4px;\n line-height: 1.42857143;\n background-color: #fff;\n border: 1px solid #ddd;\n border-radius: 4px;\n -webkit-transition: all .2s ease-in-out;\n -o-transition: all .2s ease-in-out;\n transition: all .2s ease-in-out;\n}\n.img-circle {\n border-radius: 50%;\n}\nhr {\n margin-top: 20px;\n margin-bottom: 20px;\n border: 0;\n border-top: 1px solid #eee;\n}\n.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 border: 0;\n}\n.sr-only-focusable:active,\n.sr-only-focusable:focus {\n position: static;\n width: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n clip: auto;\n}\n[role="button"] {\n cursor: pointer;\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\n.h1,\n.h2,\n.h3,\n.h4,\n.h5,\n.h6 {\n font-family: inherit;\n font-weight: 500;\n line-height: 1.1;\n color: inherit;\n}\nh1 small,\nh2 small,\nh3 small,\nh4 small,\nh5 small,\nh6 small,\n.h1 small,\n.h2 small,\n.h3 small,\n.h4 small,\n.h5 small,\n.h6 small,\nh1 .small,\nh2 .small,\nh3 .small,\nh4 .small,\nh5 .small,\nh6 .small,\n.h1 .small,\n.h2 .small,\n.h3 .small,\n.h4 .small,\n.h5 .small,\n.h6 .small {\n font-weight: normal;\n line-height: 1;\n color: #777;\n}\nh1,\n.h1,\nh2,\n.h2,\nh3,\n.h3 {\n margin-top: 20px;\n margin-bottom: 10px;\n}\nh1 small,\n.h1 small,\nh2 small,\n.h2 small,\nh3 small,\n.h3 small,\nh1 .small,\n.h1 .small,\nh2 .small,\n.h2 .small,\nh3 .small,\n.h3 .small {\n font-size: 65%;\n}\nh4,\n.h4,\nh5,\n.h5,\nh6,\n.h6 {\n margin-top: 10px;\n margin-bottom: 10px;\n}\nh4 small,\n.h4 small,\nh5 small,\n.h5 small,\nh6 small,\n.h6 small,\nh4 .small,\n.h4 .small,\nh5 .small,\n.h5 .small,\nh6 .small,\n.h6 .small {\n font-size: 75%;\n}\nh1,\n.h1 {\n font-size: 36px;\n}\nh2,\n.h2 {\n font-size: 30px;\n}\nh3,\n.h3 {\n font-size: 24px;\n}\nh4,\n.h4 {\n font-size: 18px;\n}\nh5,\n.h5 {\n font-size: 14px;\n}\nh6,\n.h6 {\n font-size: 12px;\n}\np {\n margin: 0 0 10px;\n}\n.lead {\n margin-bottom: 20px;\n font-size: 16px;\n font-weight: 300;\n line-height: 1.4;\n}\n@media (min-width: 768px) {\n .lead {\n font-size: 21px;\n }\n}\nsmall,\n.small {\n font-size: 85%;\n}\nmark,\n.mark {\n padding: .2em;\n background-color: #fcf8e3;\n}\n.text-left {\n text-align: left;\n}\n.text-right {\n text-align: right;\n}\n.text-center {\n text-align: center;\n}\n.text-justify {\n text-align: justify;\n}\n.text-nowrap {\n white-space: nowrap;\n}\n.text-lowercase {\n text-transform: lowercase;\n}\n.text-uppercase {\n text-transform: uppercase;\n}\n.text-capitalize {\n text-transform: capitalize;\n}\n.text-muted {\n color: #777;\n}\n.text-primary {\n color: #337ab7;\n}\na.text-primary:hover,\na.text-primary:focus {\n color: #286090;\n}\n.text-success {\n color: #3c763d;\n}\na.text-success:hover,\na.text-success:focus {\n color: #2b542c;\n}\n.text-info {\n color: #31708f;\n}\na.text-info:hover,\na.text-info:focus {\n color: #245269;\n}\n.text-warning {\n color: #8a6d3b;\n}\na.text-warning:hover,\na.text-warning:focus {\n color: #66512c;\n}\n.text-danger {\n color: #a94442;\n}\na.text-danger:hover,\na.text-danger:focus {\n color: #843534;\n}\n.bg-primary {\n color: #fff;\n background-color: #337ab7;\n}\na.bg-primary:hover,\na.bg-primary:focus {\n background-color: #286090;\n}\n.bg-success {\n background-color: #dff0d8;\n}\na.bg-success:hover,\na.bg-success:focus {\n background-color: #c1e2b3;\n}\n.bg-info {\n background-color: #d9edf7;\n}\na.bg-info:hover,\na.bg-info:focus {\n background-color: #afd9ee;\n}\n.bg-warning {\n background-color: #fcf8e3;\n}\na.bg-warning:hover,\na.bg-warning:focus {\n background-color: #f7ecb5;\n}\n.bg-danger {\n background-color: #f2dede;\n}\na.bg-danger:hover,\na.bg-danger:focus {\n background-color: #e4b9b9;\n}\n.page-header {\n padding-bottom: 9px;\n margin: 40px 0 20px;\n border-bottom: 1px solid #eee;\n}\nul,\nol {\n margin-top: 0;\n margin-bottom: 10px;\n}\nul ul,\nol ul,\nul ol,\nol ol {\n margin-bottom: 0;\n}\n.list-unstyled {\n padding-left: 0;\n list-style: none;\n}\n.list-inline {\n padding-left: 0;\n margin-left: -5px;\n list-style: none;\n}\n.list-inline > li {\n display: inline-block;\n padding-right: 5px;\n padding-left: 5px;\n}\ndl {\n margin-top: 0;\n margin-bottom: 20px;\n}\ndt,\ndd {\n line-height: 1.42857143;\n}\ndt {\n font-weight: bold;\n}\ndd {\n margin-left: 0;\n}\n@media (min-width: 768px) {\n .dl-horizontal dt {\n float: left;\n width: 160px;\n overflow: hidden;\n clear: left;\n text-align: right;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .dl-horizontal dd {\n margin-left: 180px;\n }\n}\nabbr[title],\nabbr[data-original-title] {\n cursor: help;\n border-bottom: 1px dotted #777;\n}\n.initialism {\n font-size: 90%;\n text-transform: uppercase;\n}\nblockquote {\n padding: 10px 20px;\n margin: 0 0 20px;\n font-size: 17.5px;\n border-left: 5px solid #eee;\n}\nblockquote p:last-child,\nblockquote ul:last-child,\nblockquote ol:last-child {\n margin-bottom: 0;\n}\nblockquote footer,\nblockquote small,\nblockquote .small {\n display: block;\n font-size: 80%;\n line-height: 1.42857143;\n color: #777;\n}\nblockquote footer:before,\nblockquote small:before,\nblockquote .small:before {\n content: \'\\2014 \\A0\';\n}\n.blockquote-reverse,\nblockquote.pull-right {\n padding-right: 15px;\n padding-left: 0;\n text-align: right;\n border-right: 5px solid #eee;\n border-left: 0;\n}\n.blockquote-reverse footer:before,\nblockquote.pull-right footer:before,\n.blockquote-reverse small:before,\nblockquote.pull-right small:before,\n.blockquote-reverse .small:before,\nblockquote.pull-right .small:before {\n content: \'\';\n}\n.blockquote-reverse footer:after,\nblockquote.pull-right footer:after,\n.blockquote-reverse small:after,\nblockquote.pull-right small:after,\n.blockquote-reverse .small:after,\nblockquote.pull-right .small:after {\n content: \'\\A0 \\2014\';\n}\naddress {\n margin-bottom: 20px;\n font-style: normal;\n line-height: 1.42857143;\n}\ncode,\nkbd,\npre,\nsamp {\n font-family: Menlo, Monaco, Consolas, "Courier New", monospace;\n}\ncode {\n padding: 2px 4px;\n font-size: 90%;\n color: #c7254e;\n background-color: #f9f2f4;\n border-radius: 4px;\n}\nkbd {\n padding: 2px 4px;\n font-size: 90%;\n color: #fff;\n background-color: #333;\n border-radius: 3px;\n -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25);\n box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25);\n}\nkbd kbd {\n padding: 0;\n font-size: 100%;\n font-weight: bold;\n -webkit-box-shadow: none;\n box-shadow: none;\n}\npre {\n display: block;\n padding: 9.5px;\n margin: 0 0 10px;\n font-size: 13px;\n line-height: 1.42857143;\n color: #333;\n word-break: break-all;\n word-wrap: break-word;\n background-color: #f5f5f5;\n border: 1px solid #ccc;\n border-radius: 4px;\n}\npre code {\n padding: 0;\n font-size: inherit;\n color: inherit;\n white-space: pre-wrap;\n background-color: transparent;\n border-radius: 0;\n}\n.pre-scrollable {\n max-height: 340px;\n overflow-y: scroll;\n}\n.container {\n padding-right: 15px;\n padding-left: 15px;\n margin-right: auto;\n margin-left: auto;\n}\n@media (min-width: 768px) {\n .container {\n width: 750px;\n }\n}\n@media (min-width: 992px) {\n .container {\n width: 970px;\n }\n}\n@media (min-width: 1200px) {\n .container {\n width: 1170px;\n }\n}\n.container-fluid {\n padding-right: 15px;\n padding-left: 15px;\n margin-right: auto;\n margin-left: auto;\n}\n.row {\n margin-right: -15px;\n margin-left: -15px;\n}\n.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {\n position: relative;\n min-height: 1px;\n padding-right: 15px;\n padding-left: 15px;\n}\n.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {\n float: left;\n}\n.col-xs-12 {\n width: 100%;\n}\n.col-xs-11 {\n width: 91.66666667%;\n}\n.col-xs-10 {\n width: 83.33333333%;\n}\n.col-xs-9 {\n width: 75%;\n}\n.col-xs-8 {\n width: 66.66666667%;\n}\n.col-xs-7 {\n width: 58.33333333%;\n}\n.col-xs-6 {\n width: 50%;\n}\n.col-xs-5 {\n width: 41.66666667%;\n}\n.col-xs-4 {\n width: 33.33333333%;\n}\n.col-xs-3 {\n width: 25%;\n}\n.col-xs-2 {\n width: 16.66666667%;\n}\n.col-xs-1 {\n width: 8.33333333%;\n}\n.col-xs-pull-12 {\n right: 100%;\n}\n.col-xs-pull-11 {\n right: 91.66666667%;\n}\n.col-xs-pull-10 {\n right: 83.33333333%;\n}\n.col-xs-pull-9 {\n right: 75%;\n}\n.col-xs-pull-8 {\n right: 66.66666667%;\n}\n.col-xs-pull-7 {\n right: 58.33333333%;\n}\n.col-xs-pull-6 {\n right: 50%;\n}\n.col-xs-pull-5 {\n right: 41.66666667%;\n}\n.col-xs-pull-4 {\n right: 33.33333333%;\n}\n.col-xs-pull-3 {\n right: 25%;\n}\n.col-xs-pull-2 {\n right: 16.66666667%;\n}\n.col-xs-pull-1 {\n right: 8.33333333%;\n}\n.col-xs-pull-0 {\n right: auto;\n}\n.col-xs-push-12 {\n left: 100%;\n}\n.col-xs-push-11 {\n left: 91.66666667%;\n}\n.col-xs-push-10 {\n left: 83.33333333%;\n}\n.col-xs-push-9 {\n left: 75%;\n}\n.col-xs-push-8 {\n left: 66.66666667%;\n}\n.col-xs-push-7 {\n left: 58.33333333%;\n}\n.col-xs-push-6 {\n left: 50%;\n}\n.col-xs-push-5 {\n left: 41.66666667%;\n}\n.col-xs-push-4 {\n left: 33.33333333%;\n}\n.col-xs-push-3 {\n left: 25%;\n}\n.col-xs-push-2 {\n left: 16.66666667%;\n}\n.col-xs-push-1 {\n left: 8.33333333%;\n}\n.col-xs-push-0 {\n left: auto;\n}\n.col-xs-offset-12 {\n margin-left: 100%;\n}\n.col-xs-offset-11 {\n margin-left: 91.66666667%;\n}\n.col-xs-offset-10 {\n margin-left: 83.33333333%;\n}\n.col-xs-offset-9 {\n margin-left: 75%;\n}\n.col-xs-offset-8 {\n margin-left: 66.66666667%;\n}\n.col-xs-offset-7 {\n margin-left: 58.33333333%;\n}\n.col-xs-offset-6 {\n margin-left: 50%;\n}\n.col-xs-offset-5 {\n margin-left: 41.66666667%;\n}\n.col-xs-offset-4 {\n margin-left: 33.33333333%;\n}\n.col-xs-offset-3 {\n margin-left: 25%;\n}\n.col-xs-offset-2 {\n margin-left: 16.66666667%;\n}\n.col-xs-offset-1 {\n margin-left: 8.33333333%;\n}\n.col-xs-offset-0 {\n margin-left: 0;\n}\n@media (min-width: 768px) {\n .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {\n float: left;\n }\n .col-sm-12 {\n width: 100%;\n }\n .col-sm-11 {\n width: 91.66666667%;\n }\n .col-sm-10 {\n width: 83.33333333%;\n }\n .col-sm-9 {\n width: 75%;\n }\n .col-sm-8 {\n width: 66.66666667%;\n }\n .col-sm-7 {\n width: 58.33333333%;\n }\n .col-sm-6 {\n width: 50%;\n }\n .col-sm-5 {\n width: 41.66666667%;\n }\n .col-sm-4 {\n width: 33.33333333%;\n }\n .col-sm-3 {\n width: 25%;\n }\n .col-sm-2 {\n width: 16.66666667%;\n }\n .col-sm-1 {\n width: 8.33333333%;\n }\n .col-sm-pull-12 {\n right: 100%;\n }\n .col-sm-pull-11 {\n right: 91.66666667%;\n }\n .col-sm-pull-10 {\n right: 83.33333333%;\n }\n .col-sm-pull-9 {\n right: 75%;\n }\n .col-sm-pull-8 {\n right: 66.66666667%;\n }\n .col-sm-pull-7 {\n right: 58.33333333%;\n }\n .col-sm-pull-6 {\n right: 50%;\n }\n .col-sm-pull-5 {\n right: 41.66666667%;\n }\n .col-sm-pull-4 {\n right: 33.33333333%;\n }\n .col-sm-pull-3 {\n right: 25%;\n }\n .col-sm-pull-2 {\n right: 16.66666667%;\n }\n .col-sm-pull-1 {\n right: 8.33333333%;\n }\n .col-sm-pull-0 {\n right: auto;\n }\n .col-sm-push-12 {\n left: 100%;\n }\n .col-sm-push-11 {\n left: 91.66666667%;\n }\n .col-sm-push-10 {\n left: 83.33333333%;\n }\n .col-sm-push-9 {\n left: 75%;\n }\n .col-sm-push-8 {\n left: 66.66666667%;\n }\n .col-sm-push-7 {\n left: 58.33333333%;\n }\n .col-sm-push-6 {\n left: 50%;\n }\n .col-sm-push-5 {\n left: 41.66666667%;\n }\n .col-sm-push-4 {\n left: 33.33333333%;\n }\n .col-sm-push-3 {\n left: 25%;\n }\n .col-sm-push-2 {\n left: 16.66666667%;\n }\n .col-sm-push-1 {\n left: 8.33333333%;\n }\n .col-sm-push-0 {\n left: auto;\n }\n .col-sm-offset-12 {\n margin-left: 100%;\n }\n .col-sm-offset-11 {\n margin-left: 91.66666667%;\n }\n .col-sm-offset-10 {\n margin-left: 83.33333333%;\n }\n .col-sm-offset-9 {\n margin-left: 75%;\n }\n .col-sm-offset-8 {\n margin-left: 66.66666667%;\n }\n .col-sm-offset-7 {\n margin-left: 58.33333333%;\n }\n .col-sm-offset-6 {\n margin-left: 50%;\n }\n .col-sm-offset-5 {\n margin-left: 41.66666667%;\n }\n .col-sm-offset-4 {\n margin-left: 33.33333333%;\n }\n .col-sm-offset-3 {\n margin-left: 25%;\n }\n .col-sm-offset-2 {\n margin-left: 16.66666667%;\n }\n .col-sm-offset-1 {\n margin-left: 8.33333333%;\n }\n .col-sm-offset-0 {\n margin-left: 0;\n }\n}\n@media (min-width: 992px) {\n .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {\n float: left;\n }\n .col-md-12 {\n width: 100%;\n }\n .col-md-11 {\n width: 91.66666667%;\n }\n .col-md-10 {\n width: 83.33333333%;\n }\n .col-md-9 {\n width: 75%;\n }\n .col-md-8 {\n width: 66.66666667%;\n }\n .col-md-7 {\n width: 58.33333333%;\n }\n .col-md-6 {\n width: 50%;\n }\n .col-md-5 {\n width: 41.66666667%;\n }\n .col-md-4 {\n width: 33.33333333%;\n }\n .col-md-3 {\n width: 25%;\n }\n .col-md-2 {\n width: 16.66666667%;\n }\n .col-md-1 {\n width: 8.33333333%;\n }\n .col-md-pull-12 {\n right: 100%;\n }\n .col-md-pull-11 {\n right: 91.66666667%;\n }\n .col-md-pull-10 {\n right: 83.33333333%;\n }\n .col-md-pull-9 {\n right: 75%;\n }\n .col-md-pull-8 {\n right: 66.66666667%;\n }\n .col-md-pull-7 {\n right: 58.33333333%;\n }\n .col-md-pull-6 {\n right: 50%;\n }\n .col-md-pull-5 {\n right: 41.66666667%;\n }\n .col-md-pull-4 {\n right: 33.33333333%;\n }\n .col-md-pull-3 {\n right: 25%;\n }\n .col-md-pull-2 {\n right: 16.66666667%;\n }\n .col-md-pull-1 {\n right: 8.33333333%;\n }\n .col-md-pull-0 {\n right: auto;\n }\n .col-md-push-12 {\n left: 100%;\n }\n .col-md-push-11 {\n left: 91.66666667%;\n }\n .col-md-push-10 {\n left: 83.33333333%;\n }\n .col-md-push-9 {\n left: 75%;\n }\n .col-md-push-8 {\n left: 66.66666667%;\n }\n .col-md-push-7 {\n left: 58.33333333%;\n }\n .col-md-push-6 {\n left: 50%;\n }\n .col-md-push-5 {\n left: 41.66666667%;\n }\n .col-md-push-4 {\n left: 33.33333333%;\n }\n .col-md-push-3 {\n left: 25%;\n }\n .col-md-push-2 {\n left: 16.66666667%;\n }\n .col-md-push-1 {\n left: 8.33333333%;\n }\n .col-md-push-0 {\n left: auto;\n }\n .col-md-offset-12 {\n margin-left: 100%;\n }\n .col-md-offset-11 {\n margin-left: 91.66666667%;\n }\n .col-md-offset-10 {\n margin-left: 83.33333333%;\n }\n .col-md-offset-9 {\n margin-left: 75%;\n }\n .col-md-offset-8 {\n margin-left: 66.66666667%;\n }\n .col-md-offset-7 {\n margin-left: 58.33333333%;\n }\n .col-md-offset-6 {\n margin-left: 50%;\n }\n .col-md-offset-5 {\n margin-left: 41.66666667%;\n }\n .col-md-offset-4 {\n margin-left: 33.33333333%;\n }\n .col-md-offset-3 {\n margin-left: 25%;\n }\n .col-md-offset-2 {\n margin-left: 16.66666667%;\n }\n .col-md-offset-1 {\n margin-left: 8.33333333%;\n }\n .col-md-offset-0 {\n margin-left: 0;\n }\n}\n@media (min-width: 1200px) {\n .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {\n float: left;\n }\n .col-lg-12 {\n width: 100%;\n }\n .col-lg-11 {\n width: 91.66666667%;\n }\n .col-lg-10 {\n width: 83.33333333%;\n }\n .col-lg-9 {\n width: 75%;\n }\n .col-lg-8 {\n width: 66.66666667%;\n }\n .col-lg-7 {\n width: 58.33333333%;\n }\n .col-lg-6 {\n width: 50%;\n }\n .col-lg-5 {\n width: 41.66666667%;\n }\n .col-lg-4 {\n width: 33.33333333%;\n }\n .col-lg-3 {\n width: 25%;\n }\n .col-lg-2 {\n width: 16.66666667%;\n }\n .col-lg-1 {\n width: 8.33333333%;\n }\n .col-lg-pull-12 {\n right: 100%;\n }\n .col-lg-pull-11 {\n right: 91.66666667%;\n }\n .col-lg-pull-10 {\n right: 83.33333333%;\n }\n .col-lg-pull-9 {\n right: 75%;\n }\n .col-lg-pull-8 {\n right: 66.66666667%;\n }\n .col-lg-pull-7 {\n right: 58.33333333%;\n }\n .col-lg-pull-6 {\n right: 50%;\n }\n .col-lg-pull-5 {\n right: 41.66666667%;\n }\n .col-lg-pull-4 {\n right: 33.33333333%;\n }\n .col-lg-pull-3 {\n right: 25%;\n }\n .col-lg-pull-2 {\n right: 16.66666667%;\n }\n .col-lg-pull-1 {\n right: 8.33333333%;\n }\n .col-lg-pull-0 {\n right: auto;\n }\n .col-lg-push-12 {\n left: 100%;\n }\n .col-lg-push-11 {\n left: 91.66666667%;\n }\n .col-lg-push-10 {\n left: 83.33333333%;\n }\n .col-lg-push-9 {\n left: 75%;\n }\n .col-lg-push-8 {\n left: 66.66666667%;\n }\n .col-lg-push-7 {\n left: 58.33333333%;\n }\n .col-lg-push-6 {\n left: 50%;\n }\n .col-lg-push-5 {\n left: 41.66666667%;\n }\n .col-lg-push-4 {\n left: 33.33333333%;\n }\n .col-lg-push-3 {\n left: 25%;\n }\n .col-lg-push-2 {\n left: 16.66666667%;\n }\n .col-lg-push-1 {\n left: 8.33333333%;\n }\n .col-lg-push-0 {\n left: auto;\n }\n .col-lg-offset-12 {\n margin-left: 100%;\n }\n .col-lg-offset-11 {\n margin-left: 91.66666667%;\n }\n .col-lg-offset-10 {\n margin-left: 83.33333333%;\n }\n .col-lg-offset-9 {\n margin-left: 75%;\n }\n .col-lg-offset-8 {\n margin-left: 66.66666667%;\n }\n .col-lg-offset-7 {\n margin-left: 58.33333333%;\n }\n .col-lg-offset-6 {\n margin-left: 50%;\n }\n .col-lg-offset-5 {\n margin-left: 41.66666667%;\n }\n .col-lg-offset-4 {\n margin-left: 33.33333333%;\n }\n .col-lg-offset-3 {\n margin-left: 25%;\n }\n .col-lg-offset-2 {\n margin-left: 16.66666667%;\n }\n .col-lg-offset-1 {\n margin-left: 8.33333333%;\n }\n .col-lg-offset-0 {\n margin-left: 0;\n }\n}\ntable {\n background-color: transparent;\n}\ncaption {\n padding-top: 8px;\n padding-bottom: 8px;\n color: #777;\n text-align: left;\n}\nth {\n text-align: left;\n}\n.table {\n width: 100%;\n max-width: 100%;\n margin-bottom: 20px;\n}\n.table > thead > tr > th,\n.table > tbody > tr > th,\n.table > tfoot > tr > th,\n.table > thead > tr > td,\n.table > tbody > tr > td,\n.table > tfoot > tr > td {\n padding: 8px;\n line-height: 1.42857143;\n vertical-align: top;\n border-top: 1px solid #ddd;\n}\n.table > thead > tr > th {\n vertical-align: bottom;\n border-bottom: 2px solid #ddd;\n}\n.table > caption + thead > tr:first-child > th,\n.table > colgroup + thead > tr:first-child > th,\n.table > thead:first-child > tr:first-child > th,\n.table > caption + thead > tr:first-child > td,\n.table > colgroup + thead > tr:first-child > td,\n.table > thead:first-child > tr:first-child > td {\n border-top: 0;\n}\n.table > tbody + tbody {\n border-top: 2px solid #ddd;\n}\n.table .table {\n background-color: #fff;\n}\n.table-condensed > thead > tr > th,\n.table-condensed > tbody > tr > th,\n.table-condensed > tfoot > tr > th,\n.table-condensed > thead > tr > td,\n.table-condensed > tbody > tr > td,\n.table-condensed > tfoot > tr > td {\n padding: 5px;\n}\n.table-bordered {\n border: 1px solid #ddd;\n}\n.table-bordered > thead > tr > th,\n.table-bordered > tbody > tr > th,\n.table-bordered > tfoot > tr > th,\n.table-bordered > thead > tr > td,\n.table-bordered > tbody > tr > td,\n.table-bordered > tfoot > tr > td {\n border: 1px solid #ddd;\n}\n.table-bordered > thead > tr > th,\n.table-bordered > thead > tr > td {\n border-bottom-width: 2px;\n}\n.table-striped > tbody > tr:nth-of-type(odd) {\n background-color: #f9f9f9;\n}\n.table-hover > tbody > tr:hover {\n background-color: #f5f5f5;\n}\ntable col[class*="col-"] {\n position: static;\n display: table-column;\n float: none;\n}\ntable td[class*="col-"],\ntable th[class*="col-"] {\n position: static;\n display: table-cell;\n float: none;\n}\n.table > thead > tr > td.active,\n.table > tbody > tr > td.active,\n.table > tfoot > tr > td.active,\n.table > thead > tr > th.active,\n.table > tbody > tr > th.active,\n.table > tfoot > tr > th.active,\n.table > thead > tr.active > td,\n.table > tbody > tr.active > td,\n.table > tfoot > tr.active > td,\n.table > thead > tr.active > th,\n.table > tbody > tr.active > th,\n.table > tfoot > tr.active > th {\n background-color: #f5f5f5;\n}\n.table-hover > tbody > tr > td.active:hover,\n.table-hover > tbody > tr > th.active:hover,\n.table-hover > tbody > tr.active:hover > td,\n.table-hover > tbody > tr:hover > .active,\n.table-hover > tbody > tr.active:hover > th {\n background-color: #e8e8e8;\n}\n.table > thead > tr > td.success,\n.table > tbody > tr > td.success,\n.table > tfoot > tr > td.success,\n.table > thead > tr > th.success,\n.table > tbody > tr > th.success,\n.table > tfoot > tr > th.success,\n.table > thead > tr.success > td,\n.table > tbody > tr.success > td,\n.table > tfoot > tr.success > td,\n.table > thead > tr.success > th,\n.table > tbody > tr.success > th,\n.table > tfoot > tr.success > th {\n background-color: #dff0d8;\n}\n.table-hover > tbody > tr > td.success:hover,\n.table-hover > tbody > tr > th.success:hover,\n.table-hover > tbody > tr.success:hover > td,\n.table-hover > tbody > tr:hover > .success,\n.table-hover > tbody > tr.success:hover > th {\n background-color: #d0e9c6;\n}\n.table > thead > tr > td.info,\n.table > tbody > tr > td.info,\n.table > tfoot > tr > td.info,\n.table > thead > tr > th.info,\n.table > tbody > tr > th.info,\n.table > tfoot > tr > th.info,\n.table > thead > tr.info > td,\n.table > tbody > tr.info > td,\n.table > tfoot > tr.info > td,\n.table > thead > tr.info > th,\n.table > tbody > tr.info > th,\n.table > tfoot > tr.info > th {\n background-color: #d9edf7;\n}\n.table-hover > tbody > tr > td.info:hover,\n.table-hover > tbody > tr > th.info:hover,\n.table-hover > tbody > tr.info:hover > td,\n.table-hover > tbody > tr:hover > .info,\n.table-hover > tbody > tr.info:hover > th {\n background-color: #c4e3f3;\n}\n.table > thead > tr > td.warning,\n.table > tbody > tr > td.warning,\n.table > tfoot > tr > td.warning,\n.table > thead > tr > th.warning,\n.table > tbody > tr > th.warning,\n.table > tfoot > tr > th.warning,\n.table > thead > tr.warning > td,\n.table > tbody > tr.warning > td,\n.table > tfoot > tr.warning > td,\n.table > thead > tr.warning > th,\n.table > tbody > tr.warning > th,\n.table > tfoot > tr.warning > th {\n background-color: #fcf8e3;\n}\n.table-hover > tbody > tr > td.warning:hover,\n.table-hover > tbody > tr > th.warning:hover,\n.table-hover > tbody > tr.warning:hover > td,\n.table-hover > tbody > tr:hover > .warning,\n.table-hover > tbody > tr.warning:hover > th {\n background-color: #faf2cc;\n}\n.table > thead > tr > td.danger,\n.table > tbody > tr > td.danger,\n.table > tfoot > tr > td.danger,\n.table > thead > tr > th.danger,\n.table > tbody > tr > th.danger,\n.table > tfoot > tr > th.danger,\n.table > thead > tr.danger > td,\n.table > tbody > tr.danger > td,\n.table > tfoot > tr.danger > td,\n.table > thead > tr.danger > th,\n.table > tbody > tr.danger > th,\n.table > tfoot > tr.danger > th {\n background-color: #f2dede;\n}\n.table-hover > tbody > tr > td.danger:hover,\n.table-hover > tbody > tr > th.danger:hover,\n.table-hover > tbody > tr.danger:hover > td,\n.table-hover > tbody > tr:hover > .danger,\n.table-hover > tbody > tr.danger:hover > th {\n background-color: #ebcccc;\n}\n.table-responsive {\n min-height: .01%;\n overflow-x: auto;\n}\n@media screen and (max-width: 767px) {\n .table-responsive {\n width: 100%;\n margin-bottom: 15px;\n overflow-y: hidden;\n -ms-overflow-style: -ms-autohiding-scrollbar;\n border: 1px solid #ddd;\n }\n .table-responsive > .table {\n margin-bottom: 0;\n }\n .table-responsive > .table > thead > tr > th,\n .table-responsive > .table > tbody > tr > th,\n .table-responsive > .table > tfoot > tr > th,\n .table-responsive > .table > thead > tr > td,\n .table-responsive > .table > tbody > tr > td,\n .table-responsive > .table > tfoot > tr > td {\n white-space: nowrap;\n }\n .table-responsive > .table-bordered {\n border: 0;\n }\n .table-responsive > .table-bordered > thead > tr > th:first-child,\n .table-responsive > .table-bordered > tbody > tr > th:first-child,\n .table-responsive > .table-bordered > tfoot > tr > th:first-child,\n .table-responsive > .table-bordered > thead > tr > td:first-child,\n .table-responsive > .table-bordered > tbody > tr > td:first-child,\n .table-responsive > .table-bordered > tfoot > tr > td:first-child {\n border-left: 0;\n }\n .table-responsive > .table-bordered > thead > tr > th:last-child,\n .table-responsive > .table-bordered > tbody > tr > th:last-child,\n .table-responsive > .table-bordered > tfoot > tr > th:last-child,\n .table-responsive > .table-bordered > thead > tr > td:last-child,\n .table-responsive > .table-bordered > tbody > tr > td:last-child,\n .table-responsive > .table-bordered > tfoot > tr > td:last-child {\n border-right: 0;\n }\n .table-responsive > .table-bordered > tbody > tr:last-child > th,\n .table-responsive > .table-bordered > tfoot > tr:last-child > th,\n .table-responsive > .table-bordered > tbody > tr:last-child > td,\n .table-responsive > .table-bordered > tfoot > tr:last-child > td {\n border-bottom: 0;\n }\n}\nfieldset {\n min-width: 0;\n padding: 0;\n margin: 0;\n border: 0;\n}\nlegend {\n display: block;\n width: 100%;\n padding: 0;\n margin-bottom: 20px;\n font-size: 21px;\n line-height: inherit;\n color: #333;\n border: 0;\n border-bottom: 1px solid #e5e5e5;\n}\nlabel {\n display: inline-block;\n max-width: 100%;\n margin-bottom: 5px;\n font-weight: bold;\n}\ninput[type="search"] {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n}\ninput[type="radio"],\ninput[type="checkbox"] {\n margin: 4px 0 0;\n margin-top: 1px \\9;\n line-height: normal;\n}\ninput[type="file"] {\n display: block;\n}\ninput[type="range"] {\n display: block;\n width: 100%;\n}\nselect[multiple],\nselect[size] {\n height: auto;\n}\ninput[type="file"]:focus,\ninput[type="radio"]:focus,\ninput[type="checkbox"]:focus {\n outline: 5px auto -webkit-focus-ring-color;\n outline-offset: -2px;\n}\noutput {\n display: block;\n padding-top: 7px;\n font-size: 14px;\n line-height: 1.42857143;\n color: #555;\n}\n.form-control {\n display: block;\n width: 100%;\n height: 34px;\n padding: 6px 12px;\n font-size: 14px;\n line-height: 1.42857143;\n color: #555;\n background-color: #fff;\n background-image: none;\n border: 1px solid #ccc;\n border-radius: 4px;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;\n -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;\n transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;\n}\n.form-control:focus {\n border-color: #66afe9;\n outline: 0;\n -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);\n box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);\n}\n.form-control::-moz-placeholder {\n color: #999;\n opacity: 1;\n}\n.form-control:-ms-input-placeholder {\n color: #999;\n}\n.form-control::-webkit-input-placeholder {\n color: #999;\n}\n.form-control::-ms-expand {\n background-color: transparent;\n border: 0;\n}\n.form-control[disabled],\n.form-control[readonly],\nfieldset[disabled] .form-control {\n background-color: #eee;\n opacity: 1;\n}\n.form-control[disabled],\nfieldset[disabled] .form-control {\n cursor: not-allowed;\n}\ntextarea.form-control {\n height: auto;\n}\ninput[type="search"] {\n -webkit-appearance: none;\n}\n@media screen and (-webkit-min-device-pixel-ratio: 0) {\n input[type="date"].form-control,\n input[type="time"].form-control,\n input[type="datetime-local"].form-control,\n input[type="month"].form-control {\n line-height: 34px;\n }\n input[type="date"].input-sm,\n input[type="time"].input-sm,\n input[type="datetime-local"].input-sm,\n input[type="month"].input-sm,\n .input-group-sm input[type="date"],\n .input-group-sm input[type="time"],\n .input-group-sm input[type="datetime-local"],\n .input-group-sm input[type="month"] {\n line-height: 30px;\n }\n input[type="date"].input-lg,\n input[type="time"].input-lg,\n input[type="datetime-local"].input-lg,\n input[type="month"].input-lg,\n .input-group-lg input[type="date"],\n .input-group-lg input[type="time"],\n .input-group-lg input[type="datetime-local"],\n .input-group-lg input[type="month"] {\n line-height: 46px;\n }\n}\n.form-group {\n margin-bottom: 15px;\n}\n.radio,\n.checkbox {\n position: relative;\n display: block;\n margin-top: 10px;\n margin-bottom: 10px;\n}\n.radio label,\n.checkbox label {\n min-height: 20px;\n padding-left: 20px;\n margin-bottom: 0;\n font-weight: normal;\n cursor: pointer;\n}\n.radio input[type="radio"],\n.radio-inline input[type="radio"],\n.checkbox input[type="checkbox"],\n.checkbox-inline input[type="checkbox"] {\n position: absolute;\n margin-top: 4px \\9;\n margin-left: -20px;\n}\n.radio + .radio,\n.checkbox + .checkbox {\n margin-top: -5px;\n}\n.radio-inline,\n.checkbox-inline {\n position: relative;\n display: inline-block;\n padding-left: 20px;\n margin-bottom: 0;\n font-weight: normal;\n vertical-align: middle;\n cursor: pointer;\n}\n.radio-inline + .radio-inline,\n.checkbox-inline + .checkbox-inline {\n margin-top: 0;\n margin-left: 10px;\n}\ninput[type="radio"][disabled],\ninput[type="checkbox"][disabled],\ninput[type="radio"].disabled,\ninput[type="checkbox"].disabled,\nfieldset[disabled] input[type="radio"],\nfieldset[disabled] input[type="checkbox"] {\n cursor: not-allowed;\n}\n.radio-inline.disabled,\n.checkbox-inline.disabled,\nfieldset[disabled] .radio-inline,\nfieldset[disabled] .checkbox-inline {\n cursor: not-allowed;\n}\n.radio.disabled label,\n.checkbox.disabled label,\nfieldset[disabled] .radio label,\nfieldset[disabled] .checkbox label {\n cursor: not-allowed;\n}\n.form-control-static {\n min-height: 34px;\n padding-top: 7px;\n padding-bottom: 7px;\n margin-bottom: 0;\n}\n.form-control-static.input-lg,\n.form-control-static.input-sm {\n padding-right: 0;\n padding-left: 0;\n}\n.input-sm {\n height: 30px;\n padding: 5px 10px;\n font-size: 12px;\n line-height: 1.5;\n border-radius: 3px;\n}\nselect.input-sm {\n height: 30px;\n line-height: 30px;\n}\ntextarea.input-sm,\nselect[multiple].input-sm {\n height: auto;\n}\n.form-group-sm .form-control {\n height: 30px;\n padding: 5px 10px;\n font-size: 12px;\n line-height: 1.5;\n border-radius: 3px;\n}\n.form-group-sm select.form-control {\n height: 30px;\n line-height: 30px;\n}\n.form-group-sm textarea.form-control,\n.form-group-sm select[multiple].form-control {\n height: auto;\n}\n.form-group-sm .form-control-static {\n height: 30px;\n min-height: 32px;\n padding: 6px 10px;\n font-size: 12px;\n line-height: 1.5;\n}\n.input-lg {\n height: 46px;\n padding: 10px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n border-radius: 6px;\n}\nselect.input-lg {\n height: 46px;\n line-height: 46px;\n}\ntextarea.input-lg,\nselect[multiple].input-lg {\n height: auto;\n}\n.form-group-lg .form-control {\n height: 46px;\n padding: 10px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n border-radius: 6px;\n}\n.form-group-lg select.form-control {\n height: 46px;\n line-height: 46px;\n}\n.form-group-lg textarea.form-control,\n.form-group-lg select[multiple].form-control {\n height: auto;\n}\n.form-group-lg .form-control-static {\n height: 46px;\n min-height: 38px;\n padding: 11px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n}\n.has-feedback {\n position: relative;\n}\n.has-feedback .form-control {\n padding-right: 42.5px;\n}\n.form-control-feedback {\n position: absolute;\n top: 0;\n right: 0;\n z-index: 2;\n display: block;\n width: 34px;\n height: 34px;\n line-height: 34px;\n text-align: center;\n pointer-events: none;\n}\n.input-lg + .form-control-feedback,\n.input-group-lg + .form-control-feedback,\n.form-group-lg .form-control + .form-control-feedback {\n width: 46px;\n height: 46px;\n line-height: 46px;\n}\n.input-sm + .form-control-feedback,\n.input-group-sm + .form-control-feedback,\n.form-group-sm .form-control + .form-control-feedback {\n width: 30px;\n height: 30px;\n line-height: 30px;\n}\n.has-success .help-block,\n.has-success .control-label,\n.has-success .radio,\n.has-success .checkbox,\n.has-success .radio-inline,\n.has-success .checkbox-inline,\n.has-success.radio label,\n.has-success.checkbox label,\n.has-success.radio-inline label,\n.has-success.checkbox-inline label {\n color: #3c763d;\n}\n.has-success .form-control {\n border-color: #3c763d;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n}\n.has-success .form-control:focus {\n border-color: #2b542c;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168;\n}\n.has-success .input-group-addon {\n color: #3c763d;\n background-color: #dff0d8;\n border-color: #3c763d;\n}\n.has-success .form-control-feedback {\n color: #3c763d;\n}\n.has-warning .help-block,\n.has-warning .control-label,\n.has-warning .radio,\n.has-warning .checkbox,\n.has-warning .radio-inline,\n.has-warning .checkbox-inline,\n.has-warning.radio label,\n.has-warning.checkbox label,\n.has-warning.radio-inline label,\n.has-warning.checkbox-inline label {\n color: #8a6d3b;\n}\n.has-warning .form-control {\n border-color: #8a6d3b;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n}\n.has-warning .form-control:focus {\n border-color: #66512c;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b;\n}\n.has-warning .input-group-addon {\n color: #8a6d3b;\n background-color: #fcf8e3;\n border-color: #8a6d3b;\n}\n.has-warning .form-control-feedback {\n color: #8a6d3b;\n}\n.has-error .help-block,\n.has-error .control-label,\n.has-error .radio,\n.has-error .checkbox,\n.has-error .radio-inline,\n.has-error .checkbox-inline,\n.has-error.radio label,\n.has-error.checkbox label,\n.has-error.radio-inline label,\n.has-error.checkbox-inline label {\n color: #a94442;\n}\n.has-error .form-control {\n border-color: #a94442;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n}\n.has-error .form-control:focus {\n border-color: #843534;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;\n}\n.has-error .input-group-addon {\n color: #a94442;\n background-color: #f2dede;\n border-color: #a94442;\n}\n.has-error .form-control-feedback {\n color: #a94442;\n}\n.has-feedback label ~ .form-control-feedback {\n top: 25px;\n}\n.has-feedback label.sr-only ~ .form-control-feedback {\n top: 0;\n}\n.help-block {\n display: block;\n margin-top: 5px;\n margin-bottom: 10px;\n color: #737373;\n}\n@media (min-width: 768px) {\n .form-inline .form-group {\n display: inline-block;\n margin-bottom: 0;\n vertical-align: middle;\n }\n .form-inline .form-control {\n display: inline-block;\n width: auto;\n vertical-align: middle;\n }\n .form-inline .form-control-static {\n display: inline-block;\n }\n .form-inline .input-group {\n display: inline-table;\n vertical-align: middle;\n }\n .form-inline .input-group .input-group-addon,\n .form-inline .input-group .input-group-btn,\n .form-inline .input-group .form-control {\n width: auto;\n }\n .form-inline .input-group > .form-control {\n width: 100%;\n }\n .form-inline .control-label {\n margin-bottom: 0;\n vertical-align: middle;\n }\n .form-inline .radio,\n .form-inline .checkbox {\n display: inline-block;\n margin-top: 0;\n margin-bottom: 0;\n vertical-align: middle;\n }\n .form-inline .radio label,\n .form-inline .checkbox label {\n padding-left: 0;\n }\n .form-inline .radio input[type="radio"],\n .form-inline .checkbox input[type="checkbox"] {\n position: relative;\n margin-left: 0;\n }\n .form-inline .has-feedback .form-control-feedback {\n top: 0;\n }\n}\n.form-horizontal .radio,\n.form-horizontal .checkbox,\n.form-horizontal .radio-inline,\n.form-horizontal .checkbox-inline {\n padding-top: 7px;\n margin-top: 0;\n margin-bottom: 0;\n}\n.form-horizontal .radio,\n.form-horizontal .checkbox {\n min-height: 27px;\n}\n.form-horizontal .form-group {\n margin-right: -15px;\n margin-left: -15px;\n}\n@media (min-width: 768px) {\n .form-horizontal .control-label {\n padding-top: 7px;\n margin-bottom: 0;\n text-align: right;\n }\n}\n.form-horizontal .has-feedback .form-control-feedback {\n right: 15px;\n}\n@media (min-width: 768px) {\n .form-horizontal .form-group-lg .control-label {\n padding-top: 11px;\n font-size: 18px;\n }\n}\n@media (min-width: 768px) {\n .form-horizontal .form-group-sm .control-label {\n padding-top: 6px;\n font-size: 12px;\n }\n}\n.btn {\n display: inline-block;\n padding: 6px 12px;\n margin-bottom: 0;\n font-size: 14px;\n font-weight: normal;\n line-height: 1.42857143;\n text-align: center;\n white-space: nowrap;\n vertical-align: middle;\n -ms-touch-action: manipulation;\n touch-action: manipulation;\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n background-image: none;\n border: 1px solid transparent;\n border-radius: 4px;\n}\n.btn:focus,\n.btn:active:focus,\n.btn.active:focus,\n.btn.focus,\n.btn:active.focus,\n.btn.active.focus {\n outline: 5px auto -webkit-focus-ring-color;\n outline-offset: -2px;\n}\n.btn:hover,\n.btn:focus,\n.btn.focus {\n color: #333;\n text-decoration: none;\n}\n.btn:active,\n.btn.active {\n background-image: none;\n outline: 0;\n -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);\n box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);\n}\n.btn.disabled,\n.btn[disabled],\nfieldset[disabled] .btn {\n cursor: not-allowed;\n filter: alpha(opacity=65);\n -webkit-box-shadow: none;\n box-shadow: none;\n opacity: .65;\n}\na.btn.disabled,\nfieldset[disabled] a.btn {\n pointer-events: none;\n}\n.btn-default {\n color: #333;\n background-color: #fff;\n border-color: #ccc;\n}\n.btn-default:focus,\n.btn-default.focus {\n color: #333;\n background-color: #e6e6e6;\n border-color: #8c8c8c;\n}\n.btn-default:hover {\n color: #333;\n background-color: #e6e6e6;\n border-color: #adadad;\n}\n.btn-default:active,\n.btn-default.active,\n.open > .dropdown-toggle.btn-default {\n color: #333;\n background-color: #e6e6e6;\n border-color: #adadad;\n}\n.btn-default:active:hover,\n.btn-default.active:hover,\n.open > .dropdown-toggle.btn-default:hover,\n.btn-default:active:focus,\n.btn-default.active:focus,\n.open > .dropdown-toggle.btn-default:focus,\n.btn-default:active.focus,\n.btn-default.active.focus,\n.open > .dropdown-toggle.btn-default.focus {\n color: #333;\n background-color: #d4d4d4;\n border-color: #8c8c8c;\n}\n.btn-default:active,\n.btn-default.active,\n.open > .dropdown-toggle.btn-default {\n background-image: none;\n}\n.btn-default.disabled:hover,\n.btn-default[disabled]:hover,\nfieldset[disabled] .btn-default:hover,\n.btn-default.disabled:focus,\n.btn-default[disabled]:focus,\nfieldset[disabled] .btn-default:focus,\n.btn-default.disabled.focus,\n.btn-default[disabled].focus,\nfieldset[disabled] .btn-default.focus {\n background-color: #fff;\n border-color: #ccc;\n}\n.btn-default .badge {\n color: #fff;\n background-color: #333;\n}\n.btn-primary {\n color: #fff;\n background-color: #337ab7;\n border-color: #2e6da4;\n}\n.btn-primary:focus,\n.btn-primary.focus {\n color: #fff;\n background-color: #286090;\n border-color: #122b40;\n}\n.btn-primary:hover {\n color: #fff;\n background-color: #286090;\n border-color: #204d74;\n}\n.btn-primary:active,\n.btn-primary.active,\n.open > .dropdown-toggle.btn-primary {\n color: #fff;\n background-color: #286090;\n border-color: #204d74;\n}\n.btn-primary:active:hover,\n.btn-primary.active:hover,\n.open > .dropdown-toggle.btn-primary:hover,\n.btn-primary:active:focus,\n.btn-primary.active:focus,\n.open > .dropdown-toggle.btn-primary:focus,\n.btn-primary:active.focus,\n.btn-primary.active.focus,\n.open > .dropdown-toggle.btn-primary.focus {\n color: #fff;\n background-color: #204d74;\n border-color: #122b40;\n}\n.btn-primary:active,\n.btn-primary.active,\n.open > .dropdown-toggle.btn-primary {\n background-image: none;\n}\n.btn-primary.disabled:hover,\n.btn-primary[disabled]:hover,\nfieldset[disabled] .btn-primary:hover,\n.btn-primary.disabled:focus,\n.btn-primary[disabled]:focus,\nfieldset[disabled] .btn-primary:focus,\n.btn-primary.disabled.focus,\n.btn-primary[disabled].focus,\nfieldset[disabled] .btn-primary.focus {\n background-color: #337ab7;\n border-color: #2e6da4;\n}\n.btn-primary .badge {\n color: #337ab7;\n background-color: #fff;\n}\n.btn-success {\n color: #fff;\n background-color: #5cb85c;\n border-color: #4cae4c;\n}\n.btn-success:focus,\n.btn-success.focus {\n color: #fff;\n background-color: #449d44;\n border-color: #255625;\n}\n.btn-success:hover {\n color: #fff;\n background-color: #449d44;\n border-color: #398439;\n}\n.btn-success:active,\n.btn-success.active,\n.open > .dropdown-toggle.btn-success {\n color: #fff;\n background-color: #449d44;\n border-color: #398439;\n}\n.btn-success:active:hover,\n.btn-success.active:hover,\n.open > .dropdown-toggle.btn-success:hover,\n.btn-success:active:focus,\n.btn-success.active:focus,\n.open > .dropdown-toggle.btn-success:focus,\n.btn-success:active.focus,\n.btn-success.active.focus,\n.open > .dropdown-toggle.btn-success.focus {\n color: #fff;\n background-color: #398439;\n border-color: #255625;\n}\n.btn-success:active,\n.btn-success.active,\n.open > .dropdown-toggle.btn-success {\n background-image: none;\n}\n.btn-success.disabled:hover,\n.btn-success[disabled]:hover,\nfieldset[disabled] .btn-success:hover,\n.btn-success.disabled:focus,\n.btn-success[disabled]:focus,\nfieldset[disabled] .btn-success:focus,\n.btn-success.disabled.focus,\n.btn-success[disabled].focus,\nfieldset[disabled] .btn-success.focus {\n background-color: #5cb85c;\n border-color: #4cae4c;\n}\n.btn-success .badge {\n color: #5cb85c;\n background-color: #fff;\n}\n.btn-info {\n color: #fff;\n background-color: #5bc0de;\n border-color: #46b8da;\n}\n.btn-info:focus,\n.btn-info.focus {\n color: #fff;\n background-color: #31b0d5;\n border-color: #1b6d85;\n}\n.btn-info:hover {\n color: #fff;\n background-color: #31b0d5;\n border-color: #269abc;\n}\n.btn-info:active,\n.btn-info.active,\n.open > .dropdown-toggle.btn-info {\n color: #fff;\n background-color: #31b0d5;\n border-color: #269abc;\n}\n.btn-info:active:hover,\n.btn-info.active:hover,\n.open > .dropdown-toggle.btn-info:hover,\n.btn-info:active:focus,\n.btn-info.active:focus,\n.open > .dropdown-toggle.btn-info:focus,\n.btn-info:active.focus,\n.btn-info.active.focus,\n.open > .dropdown-toggle.btn-info.focus {\n color: #fff;\n background-color: #269abc;\n border-color: #1b6d85;\n}\n.btn-info:active,\n.btn-info.active,\n.open > .dropdown-toggle.btn-info {\n background-image: none;\n}\n.btn-info.disabled:hover,\n.btn-info[disabled]:hover,\nfieldset[disabled] .btn-info:hover,\n.btn-info.disabled:focus,\n.btn-info[disabled]:focus,\nfieldset[disabled] .btn-info:focus,\n.btn-info.disabled.focus,\n.btn-info[disabled].focus,\nfieldset[disabled] .btn-info.focus {\n background-color: #5bc0de;\n border-color: #46b8da;\n}\n.btn-info .badge {\n color: #5bc0de;\n background-color: #fff;\n}\n.btn-warning {\n color: #fff;\n background-color: #f0ad4e;\n border-color: #eea236;\n}\n.btn-warning:focus,\n.btn-warning.focus {\n color: #fff;\n background-color: #ec971f;\n border-color: #985f0d;\n}\n.btn-warning:hover {\n color: #fff;\n background-color: #ec971f;\n border-color: #d58512;\n}\n.btn-warning:active,\n.btn-warning.active,\n.open > .dropdown-toggle.btn-warning {\n color: #fff;\n background-color: #ec971f;\n border-color: #d58512;\n}\n.btn-warning:active:hover,\n.btn-warning.active:hover,\n.open > .dropdown-toggle.btn-warning:hover,\n.btn-warning:active:focus,\n.btn-warning.active:focus,\n.open > .dropdown-toggle.btn-warning:focus,\n.btn-warning:active.focus,\n.btn-warning.active.focus,\n.open > .dropdown-toggle.btn-warning.focus {\n color: #fff;\n background-color: #d58512;\n border-color: #985f0d;\n}\n.btn-warning:active,\n.btn-warning.active,\n.open > .dropdown-toggle.btn-warning {\n background-image: none;\n}\n.btn-warning.disabled:hover,\n.btn-warning[disabled]:hover,\nfieldset[disabled] .btn-warning:hover,\n.btn-warning.disabled:focus,\n.btn-warning[disabled]:focus,\nfieldset[disabled] .btn-warning:focus,\n.btn-warning.disabled.focus,\n.btn-warning[disabled].focus,\nfieldset[disabled] .btn-warning.focus {\n background-color: #f0ad4e;\n border-color: #eea236;\n}\n.btn-warning .badge {\n color: #f0ad4e;\n background-color: #fff;\n}\n.btn-danger {\n color: #fff;\n background-color: #d9534f;\n border-color: #d43f3a;\n}\n.btn-danger:focus,\n.btn-danger.focus {\n color: #fff;\n background-color: #c9302c;\n border-color: #761c19;\n}\n.btn-danger:hover {\n color: #fff;\n background-color: #c9302c;\n border-color: #ac2925;\n}\n.btn-danger:active,\n.btn-danger.active,\n.open > .dropdown-toggle.btn-danger {\n color: #fff;\n background-color: #c9302c;\n border-color: #ac2925;\n}\n.btn-danger:active:hover,\n.btn-danger.active:hover,\n.open > .dropdown-toggle.btn-danger:hover,\n.btn-danger:active:focus,\n.btn-danger.active:focus,\n.open > .dropdown-toggle.btn-danger:focus,\n.btn-danger:active.focus,\n.btn-danger.active.focus,\n.open > .dropdown-toggle.btn-danger.focus {\n color: #fff;\n background-color: #ac2925;\n border-color: #761c19;\n}\n.btn-danger:active,\n.btn-danger.active,\n.open > .dropdown-toggle.btn-danger {\n background-image: none;\n}\n.btn-danger.disabled:hover,\n.btn-danger[disabled]:hover,\nfieldset[disabled] .btn-danger:hover,\n.btn-danger.disabled:focus,\n.btn-danger[disabled]:focus,\nfieldset[disabled] .btn-danger:focus,\n.btn-danger.disabled.focus,\n.btn-danger[disabled].focus,\nfieldset[disabled] .btn-danger.focus {\n background-color: #d9534f;\n border-color: #d43f3a;\n}\n.btn-danger .badge {\n color: #d9534f;\n background-color: #fff;\n}\n.btn-link {\n font-weight: normal;\n color: #337ab7;\n border-radius: 0;\n}\n.btn-link,\n.btn-link:active,\n.btn-link.active,\n.btn-link[disabled],\nfieldset[disabled] .btn-link {\n background-color: transparent;\n -webkit-box-shadow: none;\n box-shadow: none;\n}\n.btn-link,\n.btn-link:hover,\n.btn-link:focus,\n.btn-link:active {\n border-color: transparent;\n}\n.btn-link:hover,\n.btn-link:focus {\n color: #23527c;\n text-decoration: underline;\n background-color: transparent;\n}\n.btn-link[disabled]:hover,\nfieldset[disabled] .btn-link:hover,\n.btn-link[disabled]:focus,\nfieldset[disabled] .btn-link:focus {\n color: #777;\n text-decoration: none;\n}\n.btn-lg,\n.btn-group-lg > .btn {\n padding: 10px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n border-radius: 6px;\n}\n.btn-sm,\n.btn-group-sm > .btn {\n padding: 5px 10px;\n font-size: 12px;\n line-height: 1.5;\n border-radius: 3px;\n}\n.btn-xs,\n.btn-group-xs > .btn {\n padding: 1px 5px;\n font-size: 12px;\n line-height: 1.5;\n border-radius: 3px;\n}\n.btn-block {\n display: block;\n width: 100%;\n}\n.btn-block + .btn-block {\n margin-top: 5px;\n}\ninput[type="submit"].btn-block,\ninput[type="reset"].btn-block,\ninput[type="button"].btn-block {\n width: 100%;\n}\n.fade {\n opacity: 0;\n -webkit-transition: opacity .15s linear;\n -o-transition: opacity .15s linear;\n transition: opacity .15s linear;\n}\n.fade.in {\n opacity: 1;\n}\n.collapse {\n display: none;\n}\n.collapse.in {\n display: block;\n}\ntr.collapse.in {\n display: table-row;\n}\ntbody.collapse.in {\n display: table-row-group;\n}\n.collapsing {\n position: relative;\n height: 0;\n overflow: hidden;\n -webkit-transition-timing-function: ease;\n -o-transition-timing-function: ease;\n transition-timing-function: ease;\n -webkit-transition-duration: .35s;\n -o-transition-duration: .35s;\n transition-duration: .35s;\n -webkit-transition-property: height, visibility;\n -o-transition-property: height, visibility;\n transition-property: height, visibility;\n}\n.caret {\n display: inline-block;\n width: 0;\n height: 0;\n margin-left: 2px;\n vertical-align: middle;\n border-top: 4px dashed;\n border-top: 4px solid \\9;\n border-right: 4px solid transparent;\n border-left: 4px solid transparent;\n}\n.dropup,\n.dropdown {\n position: relative;\n}\n.dropdown-toggle:focus {\n outline: 0;\n}\n.dropdown-menu {\n position: absolute;\n top: 100%;\n left: 0;\n z-index: 1000;\n display: none;\n float: left;\n min-width: 160px;\n padding: 5px 0;\n margin: 2px 0 0;\n font-size: 14px;\n text-align: left;\n list-style: none;\n background-color: #fff;\n -webkit-background-clip: padding-box;\n background-clip: padding-box;\n border: 1px solid #ccc;\n border: 1px solid rgba(0, 0, 0, .15);\n border-radius: 4px;\n -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);\n box-shadow: 0 6px 12px rgba(0, 0, 0, .175);\n}\n.dropdown-menu.pull-right {\n right: 0;\n left: auto;\n}\n.dropdown-menu .divider {\n height: 1px;\n margin: 9px 0;\n overflow: hidden;\n background-color: #e5e5e5;\n}\n.dropdown-menu > li > a {\n display: block;\n padding: 3px 20px;\n clear: both;\n font-weight: normal;\n line-height: 1.42857143;\n color: #333;\n white-space: nowrap;\n}\n.dropdown-menu > li > a:hover,\n.dropdown-menu > li > a:focus {\n color: #262626;\n text-decoration: none;\n background-color: #f5f5f5;\n}\n.dropdown-menu > .active > a,\n.dropdown-menu > .active > a:hover,\n.dropdown-menu > .active > a:focus {\n color: #fff;\n text-decoration: none;\n background-color: #337ab7;\n outline: 0;\n}\n.dropdown-menu > .disabled > a,\n.dropdown-menu > .disabled > a:hover,\n.dropdown-menu > .disabled > a:focus {\n color: #777;\n}\n.dropdown-menu > .disabled > a:hover,\n.dropdown-menu > .disabled > a:focus {\n text-decoration: none;\n cursor: not-allowed;\n background-color: transparent;\n background-image: none;\n filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);\n}\n.open > .dropdown-menu {\n display: block;\n}\n.open > a {\n outline: 0;\n}\n.dropdown-menu-right {\n right: 0;\n left: auto;\n}\n.dropdown-menu-left {\n right: auto;\n left: 0;\n}\n.dropdown-header {\n display: block;\n padding: 3px 20px;\n font-size: 12px;\n line-height: 1.42857143;\n color: #777;\n white-space: nowrap;\n}\n.dropdown-backdrop {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 990;\n}\n.pull-right > .dropdown-menu {\n right: 0;\n left: auto;\n}\n.dropup .caret,\n.navbar-fixed-bottom .dropdown .caret {\n content: "";\n border-top: 0;\n border-bottom: 4px dashed;\n border-bottom: 4px solid \\9;\n}\n.dropup .dropdown-menu,\n.navbar-fixed-bottom .dropdown .dropdown-menu {\n top: auto;\n bottom: 100%;\n margin-bottom: 2px;\n}\n@media (min-width: 768px) {\n .navbar-right .dropdown-menu {\n right: 0;\n left: auto;\n }\n .navbar-right .dropdown-menu-left {\n right: auto;\n left: 0;\n }\n}\n.btn-group,\n.btn-group-vertical {\n position: relative;\n display: inline-block;\n vertical-align: middle;\n}\n.btn-group > .btn,\n.btn-group-vertical > .btn {\n position: relative;\n float: left;\n}\n.btn-group > .btn:hover,\n.btn-group-vertical > .btn:hover,\n.btn-group > .btn:focus,\n.btn-group-vertical > .btn:focus,\n.btn-group > .btn:active,\n.btn-group-vertical > .btn:active,\n.btn-group > .btn.active,\n.btn-group-vertical > .btn.active {\n z-index: 2;\n}\n.btn-group .btn + .btn,\n.btn-group .btn + .btn-group,\n.btn-group .btn-group + .btn,\n.btn-group .btn-group + .btn-group {\n margin-left: -1px;\n}\n.btn-toolbar {\n margin-left: -5px;\n}\n.btn-toolbar .btn,\n.btn-toolbar .btn-group,\n.btn-toolbar .input-group {\n float: left;\n}\n.btn-toolbar > .btn,\n.btn-toolbar > .btn-group,\n.btn-toolbar > .input-group {\n margin-left: 5px;\n}\n.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {\n border-radius: 0;\n}\n.btn-group > .btn:first-child {\n margin-left: 0;\n}\n.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n.btn-group > .btn:last-child:not(:first-child),\n.btn-group > .dropdown-toggle:not(:first-child) {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n.btn-group > .btn-group {\n float: left;\n}\n.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {\n border-radius: 0;\n}\n.btn-group > .btn-group:first-child:not(:last-child) > .btn:last-child,\n.btn-group > .btn-group:first-child:not(:last-child) > .dropdown-toggle {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n.btn-group .dropdown-toggle:active,\n.btn-group.open .dropdown-toggle {\n outline: 0;\n}\n.btn-group > .btn + .dropdown-toggle {\n padding-right: 8px;\n padding-left: 8px;\n}\n.btn-group > .btn-lg + .dropdown-toggle {\n padding-right: 12px;\n padding-left: 12px;\n}\n.btn-group.open .dropdown-toggle {\n -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);\n box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);\n}\n.btn-group.open .dropdown-toggle.btn-link {\n -webkit-box-shadow: none;\n box-shadow: none;\n}\n.btn .caret {\n margin-left: 0;\n}\n.btn-lg .caret {\n border-width: 5px 5px 0;\n border-bottom-width: 0;\n}\n.dropup .btn-lg .caret {\n border-width: 0 5px 5px;\n}\n.btn-group-vertical > .btn,\n.btn-group-vertical > .btn-group,\n.btn-group-vertical > .btn-group > .btn {\n display: block;\n float: none;\n width: 100%;\n max-width: 100%;\n}\n.btn-group-vertical > .btn-group > .btn {\n float: none;\n}\n.btn-group-vertical > .btn + .btn,\n.btn-group-vertical > .btn + .btn-group,\n.btn-group-vertical > .btn-group + .btn,\n.btn-group-vertical > .btn-group + .btn-group {\n margin-top: -1px;\n margin-left: 0;\n}\n.btn-group-vertical > .btn:not(:first-child):not(:last-child) {\n border-radius: 0;\n}\n.btn-group-vertical > .btn:first-child:not(:last-child) {\n border-top-left-radius: 4px;\n border-top-right-radius: 4px;\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n}\n.btn-group-vertical > .btn:last-child:not(:first-child) {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n border-bottom-right-radius: 4px;\n border-bottom-left-radius: 4px;\n}\n.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {\n border-radius: 0;\n}\n.btn-group-vertical > .btn-group:first-child:not(:last-child) > .btn:last-child,\n.btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle {\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n}\n.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n.btn-group-justified {\n display: table;\n width: 100%;\n table-layout: fixed;\n border-collapse: separate;\n}\n.btn-group-justified > .btn,\n.btn-group-justified > .btn-group {\n display: table-cell;\n float: none;\n width: 1%;\n}\n.btn-group-justified > .btn-group .btn {\n width: 100%;\n}\n.btn-group-justified > .btn-group .dropdown-menu {\n left: auto;\n}\n[data-toggle="buttons"] > .btn input[type="radio"],\n[data-toggle="buttons"] > .btn-group > .btn input[type="radio"],\n[data-toggle="buttons"] > .btn input[type="checkbox"],\n[data-toggle="buttons"] > .btn-group > .btn input[type="checkbox"] {\n position: absolute;\n clip: rect(0, 0, 0, 0);\n pointer-events: none;\n}\n.input-group {\n position: relative;\n display: table;\n border-collapse: separate;\n}\n.input-group[class*="col-"] {\n float: none;\n padding-right: 0;\n padding-left: 0;\n}\n.input-group .form-control {\n position: relative;\n z-index: 2;\n float: left;\n width: 100%;\n margin-bottom: 0;\n}\n.input-group .form-control:focus {\n z-index: 3;\n}\n.input-group-lg > .form-control,\n.input-group-lg > .input-group-addon,\n.input-group-lg > .input-group-btn > .btn {\n height: 46px;\n padding: 10px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n border-radius: 6px;\n}\nselect.input-group-lg > .form-control,\nselect.input-group-lg > .input-group-addon,\nselect.input-group-lg > .input-group-btn > .btn {\n height: 46px;\n line-height: 46px;\n}\ntextarea.input-group-lg > .form-control,\ntextarea.input-group-lg > .input-group-addon,\ntextarea.input-group-lg > .input-group-btn > .btn,\nselect[multiple].input-group-lg > .form-control,\nselect[multiple].input-group-lg > .input-group-addon,\nselect[multiple].input-group-lg > .input-group-btn > .btn {\n height: auto;\n}\n.input-group-sm > .form-control,\n.input-group-sm > .input-group-addon,\n.input-group-sm > .input-group-btn > .btn {\n height: 30px;\n padding: 5px 10px;\n font-size: 12px;\n line-height: 1.5;\n border-radius: 3px;\n}\nselect.input-group-sm > .form-control,\nselect.input-group-sm > .input-group-addon,\nselect.input-group-sm > .input-group-btn > .btn {\n height: 30px;\n line-height: 30px;\n}\ntextarea.input-group-sm > .form-control,\ntextarea.input-group-sm > .input-group-addon,\ntextarea.input-group-sm > .input-group-btn > .btn,\nselect[multiple].input-group-sm > .form-control,\nselect[multiple].input-group-sm > .input-group-addon,\nselect[multiple].input-group-sm > .input-group-btn > .btn {\n height: auto;\n}\n.input-group-addon,\n.input-group-btn,\n.input-group .form-control {\n display: table-cell;\n}\n.input-group-addon:not(:first-child):not(:last-child),\n.input-group-btn:not(:first-child):not(:last-child),\n.input-group .form-control:not(:first-child):not(:last-child) {\n border-radius: 0;\n}\n.input-group-addon,\n.input-group-btn {\n width: 1%;\n white-space: nowrap;\n vertical-align: middle;\n}\n.input-group-addon {\n padding: 6px 12px;\n font-size: 14px;\n font-weight: normal;\n line-height: 1;\n color: #555;\n text-align: center;\n background-color: #eee;\n border: 1px solid #ccc;\n border-radius: 4px;\n}\n.input-group-addon.input-sm {\n padding: 5px 10px;\n font-size: 12px;\n border-radius: 3px;\n}\n.input-group-addon.input-lg {\n padding: 10px 16px;\n font-size: 18px;\n border-radius: 6px;\n}\n.input-group-addon input[type="radio"],\n.input-group-addon input[type="checkbox"] {\n margin-top: 0;\n}\n.input-group .form-control:first-child,\n.input-group-addon:first-child,\n.input-group-btn:first-child > .btn,\n.input-group-btn:first-child > .btn-group > .btn,\n.input-group-btn:first-child > .dropdown-toggle,\n.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),\n.input-group-btn:last-child > .btn-group:not(:last-child) > .btn {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n.input-group-addon:first-child {\n border-right: 0;\n}\n.input-group .form-control:last-child,\n.input-group-addon:last-child,\n.input-group-btn:last-child > .btn,\n.input-group-btn:last-child > .btn-group > .btn,\n.input-group-btn:last-child > .dropdown-toggle,\n.input-group-btn:first-child > .btn:not(:first-child),\n.input-group-btn:first-child > .btn-group:not(:first-child) > .btn {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n.input-group-addon:last-child {\n border-left: 0;\n}\n.input-group-btn {\n position: relative;\n font-size: 0;\n white-space: nowrap;\n}\n.input-group-btn > .btn {\n position: relative;\n}\n.input-group-btn > .btn + .btn {\n margin-left: -1px;\n}\n.input-group-btn > .btn:hover,\n.input-group-btn > .btn:focus,\n.input-group-btn > .btn:active {\n z-index: 2;\n}\n.input-group-btn:first-child > .btn,\n.input-group-btn:first-child > .btn-group {\n margin-right: -1px;\n}\n.input-group-btn:last-child > .btn,\n.input-group-btn:last-child > .btn-group {\n z-index: 2;\n margin-left: -1px;\n}\n.nav {\n padding-left: 0;\n margin-bottom: 0;\n list-style: none;\n}\n.nav > li {\n position: relative;\n display: block;\n}\n.nav > li > a {\n position: relative;\n display: block;\n padding: 10px 15px;\n}\n.nav > li > a:hover,\n.nav > li > a:focus {\n text-decoration: none;\n background-color: #eee;\n}\n.nav > li.disabled > a {\n color: #777;\n}\n.nav > li.disabled > a:hover,\n.nav > li.disabled > a:focus {\n color: #777;\n text-decoration: none;\n cursor: not-allowed;\n background-color: transparent;\n}\n.nav .open > a,\n.nav .open > a:hover,\n.nav .open > a:focus {\n background-color: #eee;\n border-color: #337ab7;\n}\n.nav .nav-divider {\n height: 1px;\n margin: 9px 0;\n overflow: hidden;\n background-color: #e5e5e5;\n}\n.nav > li > a > img {\n max-width: none;\n}\n.nav-tabs {\n border-bottom: 1px solid #ddd;\n}\n.nav-tabs > li {\n float: left;\n margin-bottom: -1px;\n}\n.nav-tabs > li > a {\n margin-right: 2px;\n line-height: 1.42857143;\n border: 1px solid transparent;\n border-radius: 4px 4px 0 0;\n}\n.nav-tabs > li > a:hover {\n border-color: #eee #eee #ddd;\n}\n.nav-tabs > li.active > a,\n.nav-tabs > li.active > a:hover,\n.nav-tabs > li.active > a:focus {\n color: #555;\n cursor: default;\n background-color: #fff;\n border: 1px solid #ddd;\n border-bottom-color: transparent;\n}\n.nav-tabs.nav-justified {\n width: 100%;\n border-bottom: 0;\n}\n.nav-tabs.nav-justified > li {\n float: none;\n}\n.nav-tabs.nav-justified > li > a {\n margin-bottom: 5px;\n text-align: center;\n}\n.nav-tabs.nav-justified > .dropdown .dropdown-menu {\n top: auto;\n left: auto;\n}\n@media (min-width: 768px) {\n .nav-tabs.nav-justified > li {\n display: table-cell;\n width: 1%;\n }\n .nav-tabs.nav-justified > li > a {\n margin-bottom: 0;\n }\n}\n.nav-tabs.nav-justified > li > a {\n margin-right: 0;\n border-radius: 4px;\n}\n.nav-tabs.nav-justified > .active > a,\n.nav-tabs.nav-justified > .active > a:hover,\n.nav-tabs.nav-justified > .active > a:focus {\n border: 1px solid #ddd;\n}\n@media (min-width: 768px) {\n .nav-tabs.nav-justified > li > a {\n border-bottom: 1px solid #ddd;\n border-radius: 4px 4px 0 0;\n }\n .nav-tabs.nav-justified > .active > a,\n .nav-tabs.nav-justified > .active > a:hover,\n .nav-tabs.nav-justified > .active > a:focus {\n border-bottom-color: #fff;\n }\n}\n.nav-pills > li {\n float: left;\n}\n.nav-pills > li > a {\n border-radius: 4px;\n}\n.nav-pills > li + li {\n margin-left: 2px;\n}\n.nav-pills > li.active > a,\n.nav-pills > li.active > a:hover,\n.nav-pills > li.active > a:focus {\n color: #fff;\n background-color: #337ab7;\n}\n.nav-stacked > li {\n float: none;\n}\n.nav-stacked > li + li {\n margin-top: 2px;\n margin-left: 0;\n}\n.nav-justified {\n width: 100%;\n}\n.nav-justified > li {\n float: none;\n}\n.nav-justified > li > a {\n margin-bottom: 5px;\n text-align: center;\n}\n.nav-justified > .dropdown .dropdown-menu {\n top: auto;\n left: auto;\n}\n@media (min-width: 768px) {\n .nav-justified > li {\n display: table-cell;\n width: 1%;\n }\n .nav-justified > li > a {\n margin-bottom: 0;\n }\n}\n.nav-tabs-justified {\n border-bottom: 0;\n}\n.nav-tabs-justified > li > a {\n margin-right: 0;\n border-radius: 4px;\n}\n.nav-tabs-justified > .active > a,\n.nav-tabs-justified > .active > a:hover,\n.nav-tabs-justified > .active > a:focus {\n border: 1px solid #ddd;\n}\n@media (min-width: 768px) {\n .nav-tabs-justified > li > a {\n border-bottom: 1px solid #ddd;\n border-radius: 4px 4px 0 0;\n }\n .nav-tabs-justified > .active > a,\n .nav-tabs-justified > .active > a:hover,\n .nav-tabs-justified > .active > a:focus {\n border-bottom-color: #fff;\n }\n}\n.tab-content > .tab-pane {\n display: none;\n}\n.tab-content > .active {\n display: block;\n}\n.nav-tabs .dropdown-menu {\n margin-top: -1px;\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n.navbar {\n position: relative;\n min-height: 50px;\n margin-bottom: 20px;\n border: 1px solid transparent;\n}\n@media (min-width: 768px) {\n .navbar {\n border-radius: 4px;\n }\n}\n@media (min-width: 768px) {\n .navbar-header {\n float: left;\n }\n}\n.navbar-collapse {\n padding-right: 15px;\n padding-left: 15px;\n overflow-x: visible;\n -webkit-overflow-scrolling: touch;\n border-top: 1px solid transparent;\n -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);\n box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);\n}\n.navbar-collapse.in {\n overflow-y: auto;\n}\n@media (min-width: 768px) {\n .navbar-collapse {\n width: auto;\n border-top: 0;\n -webkit-box-shadow: none;\n box-shadow: none;\n }\n .navbar-collapse.collapse {\n display: block !important;\n height: auto !important;\n padding-bottom: 0;\n overflow: visible !important;\n }\n .navbar-collapse.in {\n overflow-y: visible;\n }\n .navbar-fixed-top .navbar-collapse,\n .navbar-static-top .navbar-collapse,\n .navbar-fixed-bottom .navbar-collapse {\n padding-right: 0;\n padding-left: 0;\n }\n}\n.navbar-fixed-top .navbar-collapse,\n.navbar-fixed-bottom .navbar-collapse {\n max-height: 340px;\n}\n@media (max-device-width: 480px) and (orientation: landscape) {\n .navbar-fixed-top .navbar-collapse,\n .navbar-fixed-bottom .navbar-collapse {\n max-height: 200px;\n }\n}\n.container > .navbar-header,\n.container-fluid > .navbar-header,\n.container > .navbar-collapse,\n.container-fluid > .navbar-collapse {\n margin-right: -15px;\n margin-left: -15px;\n}\n@media (min-width: 768px) {\n .container > .navbar-header,\n .container-fluid > .navbar-header,\n .container > .navbar-collapse,\n .container-fluid > .navbar-collapse {\n margin-right: 0;\n margin-left: 0;\n }\n}\n.navbar-static-top {\n z-index: 1000;\n border-width: 0 0 1px;\n}\n@media (min-width: 768px) {\n .navbar-static-top {\n border-radius: 0;\n }\n}\n.navbar-fixed-top,\n.navbar-fixed-bottom {\n position: fixed;\n right: 0;\n left: 0;\n z-index: 1030;\n}\n@media (min-width: 768px) {\n .navbar-fixed-top,\n .navbar-fixed-bottom {\n border-radius: 0;\n }\n}\n.navbar-fixed-top {\n top: 0;\n border-width: 0 0 1px;\n}\n.navbar-fixed-bottom {\n bottom: 0;\n margin-bottom: 0;\n border-width: 1px 0 0;\n}\n.navbar-brand {\n float: left;\n height: 50px;\n padding: 15px 15px;\n font-size: 18px;\n line-height: 20px;\n}\n.navbar-brand:hover,\n.navbar-brand:focus {\n text-decoration: none;\n}\n.navbar-brand > img {\n display: block;\n}\n@media (min-width: 768px) {\n .navbar > .container .navbar-brand,\n .navbar > .container-fluid .navbar-brand {\n margin-left: -15px;\n }\n}\n.navbar-toggle {\n position: relative;\n float: right;\n padding: 9px 10px;\n margin-top: 8px;\n margin-right: 15px;\n margin-bottom: 8px;\n background-color: transparent;\n background-image: none;\n border: 1px solid transparent;\n border-radius: 4px;\n}\n.navbar-toggle:focus {\n outline: 0;\n}\n.navbar-toggle .icon-bar {\n display: block;\n width: 22px;\n height: 2px;\n border-radius: 1px;\n}\n.navbar-toggle .icon-bar + .icon-bar {\n margin-top: 4px;\n}\n@media (min-width: 768px) {\n .navbar-toggle {\n display: none;\n }\n}\n.navbar-nav {\n margin: 7.5px -15px;\n}\n.navbar-nav > li > a {\n padding-top: 10px;\n padding-bottom: 10px;\n line-height: 20px;\n}\n@media (max-width: 767px) {\n .navbar-nav .open .dropdown-menu {\n position: static;\n float: none;\n width: auto;\n margin-top: 0;\n background-color: transparent;\n border: 0;\n -webkit-box-shadow: none;\n box-shadow: none;\n }\n .navbar-nav .open .dropdown-menu > li > a,\n .navbar-nav .open .dropdown-menu .dropdown-header {\n padding: 5px 15px 5px 25px;\n }\n .navbar-nav .open .dropdown-menu > li > a {\n line-height: 20px;\n }\n .navbar-nav .open .dropdown-menu > li > a:hover,\n .navbar-nav .open .dropdown-menu > li > a:focus {\n background-image: none;\n }\n}\n@media (min-width: 768px) {\n .navbar-nav {\n float: left;\n margin: 0;\n }\n .navbar-nav > li {\n float: left;\n }\n .navbar-nav > li > a {\n padding-top: 15px;\n padding-bottom: 15px;\n }\n}\n.navbar-form {\n padding: 10px 15px;\n margin-top: 8px;\n margin-right: -15px;\n margin-bottom: 8px;\n margin-left: -15px;\n border-top: 1px solid transparent;\n border-bottom: 1px solid transparent;\n -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1);\n box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1);\n}\n@media (min-width: 768px) {\n .navbar-form .form-group {\n display: inline-block;\n margin-bottom: 0;\n vertical-align: middle;\n }\n .navbar-form .form-control {\n display: inline-block;\n width: auto;\n vertical-align: middle;\n }\n .navbar-form .form-control-static {\n display: inline-block;\n }\n .navbar-form .input-group {\n display: inline-table;\n vertical-align: middle;\n }\n .navbar-form .input-group .input-group-addon,\n .navbar-form .input-group .input-group-btn,\n .navbar-form .input-group .form-control {\n width: auto;\n }\n .navbar-form .input-group > .form-control {\n width: 100%;\n }\n .navbar-form .control-label {\n margin-bottom: 0;\n vertical-align: middle;\n }\n .navbar-form .radio,\n .navbar-form .checkbox {\n display: inline-block;\n margin-top: 0;\n margin-bottom: 0;\n vertical-align: middle;\n }\n .navbar-form .radio label,\n .navbar-form .checkbox label {\n padding-left: 0;\n }\n .navbar-form .radio input[type="radio"],\n .navbar-form .checkbox input[type="checkbox"] {\n position: relative;\n margin-left: 0;\n }\n .navbar-form .has-feedback .form-control-feedback {\n top: 0;\n }\n}\n@media (max-width: 767px) {\n .navbar-form .form-group {\n margin-bottom: 5px;\n }\n .navbar-form .form-group:last-child {\n margin-bottom: 0;\n }\n}\n@media (min-width: 768px) {\n .navbar-form {\n width: auto;\n padding-top: 0;\n padding-bottom: 0;\n margin-right: 0;\n margin-left: 0;\n border: 0;\n -webkit-box-shadow: none;\n box-shadow: none;\n }\n}\n.navbar-nav > li > .dropdown-menu {\n margin-top: 0;\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {\n margin-bottom: 0;\n border-top-left-radius: 4px;\n border-top-right-radius: 4px;\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n}\n.navbar-btn {\n margin-top: 8px;\n margin-bottom: 8px;\n}\n.navbar-btn.btn-sm {\n margin-top: 10px;\n margin-bottom: 10px;\n}\n.navbar-btn.btn-xs {\n margin-top: 14px;\n margin-bottom: 14px;\n}\n.navbar-text {\n margin-top: 15px;\n margin-bottom: 15px;\n}\n@media (min-width: 768px) {\n .navbar-text {\n float: left;\n margin-right: 15px;\n margin-left: 15px;\n }\n}\n@media (min-width: 768px) {\n .navbar-left {\n float: left !important;\n }\n .navbar-right {\n float: right !important;\n margin-right: -15px;\n }\n .navbar-right ~ .navbar-right {\n margin-right: 0;\n }\n}\n.navbar-default {\n background-color: #f8f8f8;\n border-color: #e7e7e7;\n}\n.navbar-default .navbar-brand {\n color: #777;\n}\n.navbar-default .navbar-brand:hover,\n.navbar-default .navbar-brand:focus {\n color: #5e5e5e;\n background-color: transparent;\n}\n.navbar-default .navbar-text {\n color: #777;\n}\n.navbar-default .navbar-nav > li > a {\n color: #777;\n}\n.navbar-default .navbar-nav > li > a:hover,\n.navbar-default .navbar-nav > li > a:focus {\n color: #333;\n background-color: transparent;\n}\n.navbar-default .navbar-nav > .active > a,\n.navbar-default .navbar-nav > .active > a:hover,\n.navbar-default .navbar-nav > .active > a:focus {\n color: #555;\n background-color: #e7e7e7;\n}\n.navbar-default .navbar-nav > .disabled > a,\n.navbar-default .navbar-nav > .disabled > a:hover,\n.navbar-default .navbar-nav > .disabled > a:focus {\n color: #ccc;\n background-color: transparent;\n}\n.navbar-default .navbar-toggle {\n border-color: #ddd;\n}\n.navbar-default .navbar-toggle:hover,\n.navbar-default .navbar-toggle:focus {\n background-color: #ddd;\n}\n.navbar-default .navbar-toggle .icon-bar {\n background-color: #888;\n}\n.navbar-default .navbar-collapse,\n.navbar-default .navbar-form {\n border-color: #e7e7e7;\n}\n.navbar-default .navbar-nav > .open > a,\n.navbar-default .navbar-nav > .open > a:hover,\n.navbar-default .navbar-nav > .open > a:focus {\n color: #555;\n background-color: #e7e7e7;\n}\n@media (max-width: 767px) {\n .navbar-default .navbar-nav .open .dropdown-menu > li > a {\n color: #777;\n }\n .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,\n .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {\n color: #333;\n background-color: transparent;\n }\n .navbar-default .navbar-nav .open .dropdown-menu > .active > a,\n .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,\n .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {\n color: #555;\n background-color: #e7e7e7;\n }\n .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a,\n .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover,\n .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus {\n color: #ccc;\n background-color: transparent;\n }\n}\n.navbar-default .navbar-link {\n color: #777;\n}\n.navbar-default .navbar-link:hover {\n color: #333;\n}\n.navbar-default .btn-link {\n color: #777;\n}\n.navbar-default .btn-link:hover,\n.navbar-default .btn-link:focus {\n color: #333;\n}\n.navbar-default .btn-link[disabled]:hover,\nfieldset[disabled] .navbar-default .btn-link:hover,\n.navbar-default .btn-link[disabled]:focus,\nfieldset[disabled] .navbar-default .btn-link:focus {\n color: #ccc;\n}\n.navbar-inverse {\n background-color: #222;\n border-color: #080808;\n}\n.navbar-inverse .navbar-brand {\n color: #9d9d9d;\n}\n.navbar-inverse .navbar-brand:hover,\n.navbar-inverse .navbar-brand:focus {\n color: #fff;\n background-color: transparent;\n}\n.navbar-inverse .navbar-text {\n color: #9d9d9d;\n}\n.navbar-inverse .navbar-nav > li > a {\n color: #9d9d9d;\n}\n.navbar-inverse .navbar-nav > li > a:hover,\n.navbar-inverse .navbar-nav > li > a:focus {\n color: #fff;\n background-color: transparent;\n}\n.navbar-inverse .navbar-nav > .active > a,\n.navbar-inverse .navbar-nav > .active > a:hover,\n.navbar-inverse .navbar-nav > .active > a:focus {\n color: #fff;\n background-color: #080808;\n}\n.navbar-inverse .navbar-nav > .disabled > a,\n.navbar-inverse .navbar-nav > .disabled > a:hover,\n.navbar-inverse .navbar-nav > .disabled > a:focus {\n color: #444;\n background-color: transparent;\n}\n.navbar-inverse .navbar-toggle {\n border-color: #333;\n}\n.navbar-inverse .navbar-toggle:hover,\n.navbar-inverse .navbar-toggle:focus {\n background-color: #333;\n}\n.navbar-inverse .navbar-toggle .icon-bar {\n background-color: #fff;\n}\n.navbar-inverse .navbar-collapse,\n.navbar-inverse .navbar-form {\n border-color: #101010;\n}\n.navbar-inverse .navbar-nav > .open > a,\n.navbar-inverse .navbar-nav > .open > a:hover,\n.navbar-inverse .navbar-nav > .open > a:focus {\n color: #fff;\n background-color: #080808;\n}\n@media (max-width: 767px) {\n .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header {\n border-color: #080808;\n }\n .navbar-inverse .navbar-nav .open .dropdown-menu .divider {\n background-color: #080808;\n }\n .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {\n color: #9d9d9d;\n }\n .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover,\n .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {\n color: #fff;\n background-color: transparent;\n }\n .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a,\n .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover,\n .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus {\n color: #fff;\n background-color: #080808;\n }\n .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a,\n .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover,\n .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus {\n color: #444;\n background-color: transparent;\n }\n}\n.navbar-inverse .navbar-link {\n color: #9d9d9d;\n}\n.navbar-inverse .navbar-link:hover {\n color: #fff;\n}\n.navbar-inverse .btn-link {\n color: #9d9d9d;\n}\n.navbar-inverse .btn-link:hover,\n.navbar-inverse .btn-link:focus {\n color: #fff;\n}\n.navbar-inverse .btn-link[disabled]:hover,\nfieldset[disabled] .navbar-inverse .btn-link:hover,\n.navbar-inverse .btn-link[disabled]:focus,\nfieldset[disabled] .navbar-inverse .btn-link:focus {\n color: #444;\n}\n.breadcrumb {\n padding: 8px 15px;\n margin-bottom: 20px;\n list-style: none;\n background-color: #f5f5f5;\n border-radius: 4px;\n}\n.breadcrumb > li {\n display: inline-block;\n}\n.breadcrumb > li + li:before {\n padding: 0 5px;\n color: #ccc;\n content: "/\\A0";\n}\n.breadcrumb > .active {\n color: #777;\n}\n.pagination {\n display: inline-block;\n padding-left: 0;\n margin: 20px 0;\n border-radius: 4px;\n}\n.pagination > li {\n display: inline;\n}\n.pagination > li > a,\n.pagination > li > span {\n position: relative;\n float: left;\n padding: 6px 12px;\n margin-left: -1px;\n line-height: 1.42857143;\n color: #337ab7;\n text-decoration: none;\n background-color: #fff;\n border: 1px solid #ddd;\n}\n.pagination > li:first-child > a,\n.pagination > li:first-child > span {\n margin-left: 0;\n border-top-left-radius: 4px;\n border-bottom-left-radius: 4px;\n}\n.pagination > li:last-child > a,\n.pagination > li:last-child > span {\n border-top-right-radius: 4px;\n border-bottom-right-radius: 4px;\n}\n.pagination > li > a:hover,\n.pagination > li > span:hover,\n.pagination > li > a:focus,\n.pagination > li > span:focus {\n z-index: 2;\n color: #23527c;\n background-color: #eee;\n border-color: #ddd;\n}\n.pagination > .active > a,\n.pagination > .active > span,\n.pagination > .active > a:hover,\n.pagination > .active > span:hover,\n.pagination > .active > a:focus,\n.pagination > .active > span:focus {\n z-index: 3;\n color: #fff;\n cursor: default;\n background-color: #337ab7;\n border-color: #337ab7;\n}\n.pagination > .disabled > span,\n.pagination > .disabled > span:hover,\n.pagination > .disabled > span:focus,\n.pagination > .disabled > a,\n.pagination > .disabled > a:hover,\n.pagination > .disabled > a:focus {\n color: #777;\n cursor: not-allowed;\n background-color: #fff;\n border-color: #ddd;\n}\n.pagination-lg > li > a,\n.pagination-lg > li > span {\n padding: 10px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n}\n.pagination-lg > li:first-child > a,\n.pagination-lg > li:first-child > span {\n border-top-left-radius: 6px;\n border-bottom-left-radius: 6px;\n}\n.pagination-lg > li:last-child > a,\n.pagination-lg > li:last-child > span {\n border-top-right-radius: 6px;\n border-bottom-right-radius: 6px;\n}\n.pagination-sm > li > a,\n.pagination-sm > li > span {\n padding: 5px 10px;\n font-size: 12px;\n line-height: 1.5;\n}\n.pagination-sm > li:first-child > a,\n.pagination-sm > li:first-child > span {\n border-top-left-radius: 3px;\n border-bottom-left-radius: 3px;\n}\n.pagination-sm > li:last-child > a,\n.pagination-sm > li:last-child > span {\n border-top-right-radius: 3px;\n border-bottom-right-radius: 3px;\n}\n.pager {\n padding-left: 0;\n margin: 20px 0;\n text-align: center;\n list-style: none;\n}\n.pager li {\n display: inline;\n}\n.pager li > a,\n.pager li > span {\n display: inline-block;\n padding: 5px 14px;\n background-color: #fff;\n border: 1px solid #ddd;\n border-radius: 15px;\n}\n.pager li > a:hover,\n.pager li > a:focus {\n text-decoration: none;\n background-color: #eee;\n}\n.pager .next > a,\n.pager .next > span {\n float: right;\n}\n.pager .previous > a,\n.pager .previous > span {\n float: left;\n}\n.pager .disabled > a,\n.pager .disabled > a:hover,\n.pager .disabled > a:focus,\n.pager .disabled > span {\n color: #777;\n cursor: not-allowed;\n background-color: #fff;\n}\n.label {\n display: inline;\n padding: .2em .6em .3em;\n font-size: 75%;\n font-weight: bold;\n line-height: 1;\n color: #fff;\n text-align: center;\n white-space: nowrap;\n vertical-align: baseline;\n border-radius: .25em;\n}\na.label:hover,\na.label:focus {\n color: #fff;\n text-decoration: none;\n cursor: pointer;\n}\n.label:empty {\n display: none;\n}\n.btn .label {\n position: relative;\n top: -1px;\n}\n.label-default {\n background-color: #777;\n}\n.label-default[href]:hover,\n.label-default[href]:focus {\n background-color: #5e5e5e;\n}\n.label-primary {\n background-color: #337ab7;\n}\n.label-primary[href]:hover,\n.label-primary[href]:focus {\n background-color: #286090;\n}\n.label-success {\n background-color: #5cb85c;\n}\n.label-success[href]:hover,\n.label-success[href]:focus {\n background-color: #449d44;\n}\n.label-info {\n background-color: #5bc0de;\n}\n.label-info[href]:hover,\n.label-info[href]:focus {\n background-color: #31b0d5;\n}\n.label-warning {\n background-color: #f0ad4e;\n}\n.label-warning[href]:hover,\n.label-warning[href]:focus {\n background-color: #ec971f;\n}\n.label-danger {\n background-color: #d9534f;\n}\n.label-danger[href]:hover,\n.label-danger[href]:focus {\n background-color: #c9302c;\n}\n.badge {\n display: inline-block;\n min-width: 10px;\n padding: 3px 7px;\n font-size: 12px;\n font-weight: bold;\n line-height: 1;\n color: #fff;\n text-align: center;\n white-space: nowrap;\n vertical-align: middle;\n background-color: #777;\n border-radius: 10px;\n}\n.badge:empty {\n display: none;\n}\n.btn .badge {\n position: relative;\n top: -1px;\n}\n.btn-xs .badge,\n.btn-group-xs > .btn .badge {\n top: 0;\n padding: 1px 5px;\n}\na.badge:hover,\na.badge:focus {\n color: #fff;\n text-decoration: none;\n cursor: pointer;\n}\n.list-group-item.active > .badge,\n.nav-pills > .active > a > .badge {\n color: #337ab7;\n background-color: #fff;\n}\n.list-group-item > .badge {\n float: right;\n}\n.list-group-item > .badge + .badge {\n margin-right: 5px;\n}\n.nav-pills > li > a > .badge {\n margin-left: 3px;\n}\n.jumbotron {\n padding-top: 30px;\n padding-bottom: 30px;\n margin-bottom: 30px;\n color: inherit;\n background-color: #eee;\n}\n.jumbotron h1,\n.jumbotron .h1 {\n color: inherit;\n}\n.jumbotron p {\n margin-bottom: 15px;\n font-size: 21px;\n font-weight: 200;\n}\n.jumbotron > hr {\n border-top-color: #d5d5d5;\n}\n.container .jumbotron,\n.container-fluid .jumbotron {\n padding-right: 15px;\n padding-left: 15px;\n border-radius: 6px;\n}\n.jumbotron .container {\n max-width: 100%;\n}\n@media screen and (min-width: 768px) {\n .jumbotron {\n padding-top: 48px;\n padding-bottom: 48px;\n }\n .container .jumbotron,\n .container-fluid .jumbotron {\n padding-right: 60px;\n padding-left: 60px;\n }\n .jumbotron h1,\n .jumbotron .h1 {\n font-size: 63px;\n }\n}\n.thumbnail {\n display: block;\n padding: 4px;\n margin-bottom: 20px;\n line-height: 1.42857143;\n background-color: #fff;\n border: 1px solid #ddd;\n border-radius: 4px;\n -webkit-transition: border .2s ease-in-out;\n -o-transition: border .2s ease-in-out;\n transition: border .2s ease-in-out;\n}\n.thumbnail > img,\n.thumbnail a > img {\n margin-right: auto;\n margin-left: auto;\n}\na.thumbnail:hover,\na.thumbnail:focus,\na.thumbnail.active {\n border-color: #337ab7;\n}\n.thumbnail .caption {\n padding: 9px;\n color: #333;\n}\n.alert {\n padding: 15px;\n margin-bottom: 20px;\n border: 1px solid transparent;\n border-radius: 4px;\n}\n.alert h4 {\n margin-top: 0;\n color: inherit;\n}\n.alert .alert-link {\n font-weight: bold;\n}\n.alert > p,\n.alert > ul {\n margin-bottom: 0;\n}\n.alert > p + p {\n margin-top: 5px;\n}\n.alert-dismissable,\n.alert-dismissible {\n padding-right: 35px;\n}\n.alert-dismissable .close,\n.alert-dismissible .close {\n position: relative;\n top: -2px;\n right: -21px;\n color: inherit;\n}\n.alert-success {\n color: #3c763d;\n background-color: #dff0d8;\n border-color: #d6e9c6;\n}\n.alert-success hr {\n border-top-color: #c9e2b3;\n}\n.alert-success .alert-link {\n color: #2b542c;\n}\n.alert-info {\n color: #31708f;\n background-color: #d9edf7;\n border-color: #bce8f1;\n}\n.alert-info hr {\n border-top-color: #a6e1ec;\n}\n.alert-info .alert-link {\n color: #245269;\n}\n.alert-warning {\n color: #8a6d3b;\n background-color: #fcf8e3;\n border-color: #faebcc;\n}\n.alert-warning hr {\n border-top-color: #f7e1b5;\n}\n.alert-warning .alert-link {\n color: #66512c;\n}\n.alert-danger {\n color: #a94442;\n background-color: #f2dede;\n border-color: #ebccd1;\n}\n.alert-danger hr {\n border-top-color: #e4b9c0;\n}\n.alert-danger .alert-link {\n color: #843534;\n}\n@-webkit-keyframes progress-bar-stripes {\n from {\n background-position: 40px 0;\n }\n to {\n background-position: 0 0;\n }\n}\n@-o-keyframes progress-bar-stripes {\n from {\n background-position: 40px 0;\n }\n to {\n background-position: 0 0;\n }\n}\n@keyframes progress-bar-stripes {\n from {\n background-position: 40px 0;\n }\n to {\n background-position: 0 0;\n }\n}\n.progress {\n height: 20px;\n margin-bottom: 20px;\n overflow: hidden;\n background-color: #f5f5f5;\n border-radius: 4px;\n -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);\n box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);\n}\n.progress-bar {\n float: left;\n width: 0;\n height: 100%;\n font-size: 12px;\n line-height: 20px;\n color: #fff;\n text-align: center;\n background-color: #337ab7;\n -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);\n box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);\n -webkit-transition: width .6s ease;\n -o-transition: width .6s ease;\n transition: width .6s ease;\n}\n.progress-striped .progress-bar,\n.progress-bar-striped {\n background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n -webkit-background-size: 40px 40px;\n background-size: 40px 40px;\n}\n.progress.active .progress-bar,\n.progress-bar.active {\n -webkit-animation: progress-bar-stripes 2s linear infinite;\n -o-animation: progress-bar-stripes 2s linear infinite;\n animation: progress-bar-stripes 2s linear infinite;\n}\n.progress-bar-success {\n background-color: #5cb85c;\n}\n.progress-striped .progress-bar-success {\n background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n}\n.progress-bar-info {\n background-color: #5bc0de;\n}\n.progress-striped .progress-bar-info {\n background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n}\n.progress-bar-warning {\n background-color: #f0ad4e;\n}\n.progress-striped .progress-bar-warning {\n background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n}\n.progress-bar-danger {\n background-color: #d9534f;\n}\n.progress-striped .progress-bar-danger {\n background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n}\n.media {\n margin-top: 15px;\n}\n.media:first-child {\n margin-top: 0;\n}\n.media,\n.media-body {\n overflow: hidden;\n zoom: 1;\n}\n.media-body {\n width: 10000px;\n}\n.media-object {\n display: block;\n}\n.media-object.img-thumbnail {\n max-width: none;\n}\n.media-right,\n.media > .pull-right {\n padding-left: 10px;\n}\n.media-left,\n.media > .pull-left {\n padding-right: 10px;\n}\n.media-left,\n.media-right,\n.media-body {\n display: table-cell;\n vertical-align: top;\n}\n.media-middle {\n vertical-align: middle;\n}\n.media-bottom {\n vertical-align: bottom;\n}\n.media-heading {\n margin-top: 0;\n margin-bottom: 5px;\n}\n.media-list {\n padding-left: 0;\n list-style: none;\n}\n.list-group {\n padding-left: 0;\n margin-bottom: 20px;\n}\n.list-group-item {\n position: relative;\n display: block;\n padding: 10px 15px;\n margin-bottom: -1px;\n background-color: #fff;\n border: 1px solid #ddd;\n}\n.list-group-item:first-child {\n border-top-left-radius: 4px;\n border-top-right-radius: 4px;\n}\n.list-group-item:last-child {\n margin-bottom: 0;\n border-bottom-right-radius: 4px;\n border-bottom-left-radius: 4px;\n}\na.list-group-item,\nbutton.list-group-item {\n color: #555;\n}\na.list-group-item .list-group-item-heading,\nbutton.list-group-item .list-group-item-heading {\n color: #333;\n}\na.list-group-item:hover,\nbutton.list-group-item:hover,\na.list-group-item:focus,\nbutton.list-group-item:focus {\n color: #555;\n text-decoration: none;\n background-color: #f5f5f5;\n}\nbutton.list-group-item {\n width: 100%;\n text-align: left;\n}\n.list-group-item.disabled,\n.list-group-item.disabled:hover,\n.list-group-item.disabled:focus {\n color: #777;\n cursor: not-allowed;\n background-color: #eee;\n}\n.list-group-item.disabled .list-group-item-heading,\n.list-group-item.disabled:hover .list-group-item-heading,\n.list-group-item.disabled:focus .list-group-item-heading {\n color: inherit;\n}\n.list-group-item.disabled .list-group-item-text,\n.list-group-item.disabled:hover .list-group-item-text,\n.list-group-item.disabled:focus .list-group-item-text {\n color: #777;\n}\n.list-group-item.active,\n.list-group-item.active:hover,\n.list-group-item.active:focus {\n z-index: 2;\n color: #fff;\n background-color: #337ab7;\n border-color: #337ab7;\n}\n.list-group-item.active .list-group-item-heading,\n.list-group-item.active:hover .list-group-item-heading,\n.list-group-item.active:focus .list-group-item-heading,\n.list-group-item.active .list-group-item-heading > small,\n.list-group-item.active:hover .list-group-item-heading > small,\n.list-group-item.active:focus .list-group-item-heading > small,\n.list-group-item.active .list-group-item-heading > .small,\n.list-group-item.active:hover .list-group-item-heading > .small,\n.list-group-item.active:focus .list-group-item-heading > .small {\n color: inherit;\n}\n.list-group-item.active .list-group-item-text,\n.list-group-item.active:hover .list-group-item-text,\n.list-group-item.active:focus .list-group-item-text {\n color: #c7ddef;\n}\n.list-group-item-success {\n color: #3c763d;\n background-color: #dff0d8;\n}\na.list-group-item-success,\nbutton.list-group-item-success {\n color: #3c763d;\n}\na.list-group-item-success .list-group-item-heading,\nbutton.list-group-item-success .list-group-item-heading {\n color: inherit;\n}\na.list-group-item-success:hover,\nbutton.list-group-item-success:hover,\na.list-group-item-success:focus,\nbutton.list-group-item-success:focus {\n color: #3c763d;\n background-color: #d0e9c6;\n}\na.list-group-item-success.active,\nbutton.list-group-item-success.active,\na.list-group-item-success.active:hover,\nbutton.list-group-item-success.active:hover,\na.list-group-item-success.active:focus,\nbutton.list-group-item-success.active:focus {\n color: #fff;\n background-color: #3c763d;\n border-color: #3c763d;\n}\n.list-group-item-info {\n color: #31708f;\n background-color: #d9edf7;\n}\na.list-group-item-info,\nbutton.list-group-item-info {\n color: #31708f;\n}\na.list-group-item-info .list-group-item-heading,\nbutton.list-group-item-info .list-group-item-heading {\n color: inherit;\n}\na.list-group-item-info:hover,\nbutton.list-group-item-info:hover,\na.list-group-item-info:focus,\nbutton.list-group-item-info:focus {\n color: #31708f;\n background-color: #c4e3f3;\n}\na.list-group-item-info.active,\nbutton.list-group-item-info.active,\na.list-group-item-info.active:hover,\nbutton.list-group-item-info.active:hover,\na.list-group-item-info.active:focus,\nbutton.list-group-item-info.active:focus {\n color: #fff;\n background-color: #31708f;\n border-color: #31708f;\n}\n.list-group-item-warning {\n color: #8a6d3b;\n background-color: #fcf8e3;\n}\na.list-group-item-warning,\nbutton.list-group-item-warning {\n color: #8a6d3b;\n}\na.list-group-item-warning .list-group-item-heading,\nbutton.list-group-item-warning .list-group-item-heading {\n color: inherit;\n}\na.list-group-item-warning:hover,\nbutton.list-group-item-warning:hover,\na.list-group-item-warning:focus,\nbutton.list-group-item-warning:focus {\n color: #8a6d3b;\n background-color: #faf2cc;\n}\na.list-group-item-warning.active,\nbutton.list-group-item-warning.active,\na.list-group-item-warning.active:hover,\nbutton.list-group-item-warning.active:hover,\na.list-group-item-warning.active:focus,\nbutton.list-group-item-warning.active:focus {\n color: #fff;\n background-color: #8a6d3b;\n border-color: #8a6d3b;\n}\n.list-group-item-danger {\n color: #a94442;\n background-color: #f2dede;\n}\na.list-group-item-danger,\nbutton.list-group-item-danger {\n color: #a94442;\n}\na.list-group-item-danger .list-group-item-heading,\nbutton.list-group-item-danger .list-group-item-heading {\n color: inherit;\n}\na.list-group-item-danger:hover,\nbutton.list-group-item-danger:hover,\na.list-group-item-danger:focus,\nbutton.list-group-item-danger:focus {\n color: #a94442;\n background-color: #ebcccc;\n}\na.list-group-item-danger.active,\nbutton.list-group-item-danger.active,\na.list-group-item-danger.active:hover,\nbutton.list-group-item-danger.active:hover,\na.list-group-item-danger.active:focus,\nbutton.list-group-item-danger.active:focus {\n color: #fff;\n background-color: #a94442;\n border-color: #a94442;\n}\n.list-group-item-heading {\n margin-top: 0;\n margin-bottom: 5px;\n}\n.list-group-item-text {\n margin-bottom: 0;\n line-height: 1.3;\n}\n.panel {\n margin-bottom: 20px;\n background-color: #fff;\n border: 1px solid transparent;\n border-radius: 4px;\n -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);\n box-shadow: 0 1px 1px rgba(0, 0, 0, .05);\n}\n.panel-body {\n padding: 15px;\n}\n.panel-heading {\n padding: 10px 15px;\n border-bottom: 1px solid transparent;\n border-top-left-radius: 3px;\n border-top-right-radius: 3px;\n}\n.panel-heading > .dropdown .dropdown-toggle {\n color: inherit;\n}\n.panel-title {\n margin-top: 0;\n margin-bottom: 0;\n font-size: 16px;\n color: inherit;\n}\n.panel-title > a,\n.panel-title > small,\n.panel-title > .small,\n.panel-title > small > a,\n.panel-title > .small > a {\n color: inherit;\n}\n.panel-footer {\n padding: 10px 15px;\n background-color: #f5f5f5;\n border-top: 1px solid #ddd;\n border-bottom-right-radius: 3px;\n border-bottom-left-radius: 3px;\n}\n.panel > .list-group,\n.panel > .panel-collapse > .list-group {\n margin-bottom: 0;\n}\n.panel > .list-group .list-group-item,\n.panel > .panel-collapse > .list-group .list-group-item {\n border-width: 1px 0;\n border-radius: 0;\n}\n.panel > .list-group:first-child .list-group-item:first-child,\n.panel > .panel-collapse > .list-group:first-child .list-group-item:first-child {\n border-top: 0;\n border-top-left-radius: 3px;\n border-top-right-radius: 3px;\n}\n.panel > .list-group:last-child .list-group-item:last-child,\n.panel > .panel-collapse > .list-group:last-child .list-group-item:last-child {\n border-bottom: 0;\n border-bottom-right-radius: 3px;\n border-bottom-left-radius: 3px;\n}\n.panel > .panel-heading + .panel-collapse > .list-group .list-group-item:first-child {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n.panel-heading + .list-group .list-group-item:first-child {\n border-top-width: 0;\n}\n.list-group + .panel-footer {\n border-top-width: 0;\n}\n.panel > .table,\n.panel > .table-responsive > .table,\n.panel > .panel-collapse > .table {\n margin-bottom: 0;\n}\n.panel > .table caption,\n.panel > .table-responsive > .table caption,\n.panel > .panel-collapse > .table caption {\n padding-right: 15px;\n padding-left: 15px;\n}\n.panel > .table:first-child,\n.panel > .table-responsive:first-child > .table:first-child {\n border-top-left-radius: 3px;\n border-top-right-radius: 3px;\n}\n.panel > .table:first-child > thead:first-child > tr:first-child,\n.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child,\n.panel > .table:first-child > tbody:first-child > tr:first-child,\n.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child {\n border-top-left-radius: 3px;\n border-top-right-radius: 3px;\n}\n.panel > .table:first-child > thead:first-child > tr:first-child td:first-child,\n.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child,\n.panel > .table:first-child > tbody:first-child > tr:first-child td:first-child,\n.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child,\n.panel > .table:first-child > thead:first-child > tr:first-child th:first-child,\n.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child,\n.panel > .table:first-child > tbody:first-child > tr:first-child th:first-child,\n.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child {\n border-top-left-radius: 3px;\n}\n.panel > .table:first-child > thead:first-child > tr:first-child td:last-child,\n.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child,\n.panel > .table:first-child > tbody:first-child > tr:first-child td:last-child,\n.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child,\n.panel > .table:first-child > thead:first-child > tr:first-child th:last-child,\n.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child,\n.panel > .table:first-child > tbody:first-child > tr:first-child th:last-child,\n.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child {\n border-top-right-radius: 3px;\n}\n.panel > .table:last-child,\n.panel > .table-responsive:last-child > .table:last-child {\n border-bottom-right-radius: 3px;\n border-bottom-left-radius: 3px;\n}\n.panel > .table:last-child > tbody:last-child > tr:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child,\n.panel > .table:last-child > tfoot:last-child > tr:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child {\n border-bottom-right-radius: 3px;\n border-bottom-left-radius: 3px;\n}\n.panel > .table:last-child > tbody:last-child > tr:last-child td:first-child,\n.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child,\n.panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child,\n.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child,\n.panel > .table:last-child > tbody:last-child > tr:last-child th:first-child,\n.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child,\n.panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child,\n.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child {\n border-bottom-left-radius: 3px;\n}\n.panel > .table:last-child > tbody:last-child > tr:last-child td:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child,\n.panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child,\n.panel > .table:last-child > tbody:last-child > tr:last-child th:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child,\n.panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child {\n border-bottom-right-radius: 3px;\n}\n.panel > .panel-body + .table,\n.panel > .panel-body + .table-responsive,\n.panel > .table + .panel-body,\n.panel > .table-responsive + .panel-body {\n border-top: 1px solid #ddd;\n}\n.panel > .table > tbody:first-child > tr:first-child th,\n.panel > .table > tbody:first-child > tr:first-child td {\n border-top: 0;\n}\n.panel > .table-bordered,\n.panel > .table-responsive > .table-bordered {\n border: 0;\n}\n.panel > .table-bordered > thead > tr > th:first-child,\n.panel > .table-responsive > .table-bordered > thead > tr > th:first-child,\n.panel > .table-bordered > tbody > tr > th:first-child,\n.panel > .table-responsive > .table-bordered > tbody > tr > th:first-child,\n.panel > .table-bordered > tfoot > tr > th:first-child,\n.panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child,\n.panel > .table-bordered > thead > tr > td:first-child,\n.panel > .table-responsive > .table-bordered > thead > tr > td:first-child,\n.panel > .table-bordered > tbody > tr > td:first-child,\n.panel > .table-responsive > .table-bordered > tbody > tr > td:first-child,\n.panel > .table-bordered > tfoot > tr > td:first-child,\n.panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child {\n border-left: 0;\n}\n.panel > .table-bordered > thead > tr > th:last-child,\n.panel > .table-responsive > .table-bordered > thead > tr > th:last-child,\n.panel > .table-bordered > tbody > tr > th:last-child,\n.panel > .table-responsive > .table-bordered > tbody > tr > th:last-child,\n.panel > .table-bordered > tfoot > tr > th:last-child,\n.panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child,\n.panel > .table-bordered > thead > tr > td:last-child,\n.panel > .table-responsive > .table-bordered > thead > tr > td:last-child,\n.panel > .table-bordered > tbody > tr > td:last-child,\n.panel > .table-responsive > .table-bordered > tbody > tr > td:last-child,\n.panel > .table-bordered > tfoot > tr > td:last-child,\n.panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child {\n border-right: 0;\n}\n.panel > .table-bordered > thead > tr:first-child > td,\n.panel > .table-responsive > .table-bordered > thead > tr:first-child > td,\n.panel > .table-bordered > tbody > tr:first-child > td,\n.panel > .table-responsive > .table-bordered > tbody > tr:first-child > td,\n.panel > .table-bordered > thead > tr:first-child > th,\n.panel > .table-responsive > .table-bordered > thead > tr:first-child > th,\n.panel > .table-bordered > tbody > tr:first-child > th,\n.panel > .table-responsive > .table-bordered > tbody > tr:first-child > th {\n border-bottom: 0;\n}\n.panel > .table-bordered > tbody > tr:last-child > td,\n.panel > .table-responsive > .table-bordered > tbody > tr:last-child > td,\n.panel > .table-bordered > tfoot > tr:last-child > td,\n.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td,\n.panel > .table-bordered > tbody > tr:last-child > th,\n.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th,\n.panel > .table-bordered > tfoot > tr:last-child > th,\n.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th {\n border-bottom: 0;\n}\n.panel > .table-responsive {\n margin-bottom: 0;\n border: 0;\n}\n.panel-group {\n margin-bottom: 20px;\n}\n.panel-group .panel {\n margin-bottom: 0;\n border-radius: 4px;\n}\n.panel-group .panel + .panel {\n margin-top: 5px;\n}\n.panel-group .panel-heading {\n border-bottom: 0;\n}\n.panel-group .panel-heading + .panel-collapse > .panel-body,\n.panel-group .panel-heading + .panel-collapse > .list-group {\n border-top: 1px solid #ddd;\n}\n.panel-group .panel-footer {\n border-top: 0;\n}\n.panel-group .panel-footer + .panel-collapse .panel-body {\n border-bottom: 1px solid #ddd;\n}\n.panel-default {\n border-color: #ddd;\n}\n.panel-default > .panel-heading {\n color: #333;\n background-color: #f5f5f5;\n border-color: #ddd;\n}\n.panel-default > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #ddd;\n}\n.panel-default > .panel-heading .badge {\n color: #f5f5f5;\n background-color: #333;\n}\n.panel-default > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #ddd;\n}\n.panel-primary {\n border-color: #337ab7;\n}\n.panel-primary > .panel-heading {\n color: #fff;\n background-color: #337ab7;\n border-color: #337ab7;\n}\n.panel-primary > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #337ab7;\n}\n.panel-primary > .panel-heading .badge {\n color: #337ab7;\n background-color: #fff;\n}\n.panel-primary > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #337ab7;\n}\n.panel-success {\n border-color: #d6e9c6;\n}\n.panel-success > .panel-heading {\n color: #3c763d;\n background-color: #dff0d8;\n border-color: #d6e9c6;\n}\n.panel-success > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #d6e9c6;\n}\n.panel-success > .panel-heading .badge {\n color: #dff0d8;\n background-color: #3c763d;\n}\n.panel-success > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #d6e9c6;\n}\n.panel-info {\n border-color: #bce8f1;\n}\n.panel-info > .panel-heading {\n color: #31708f;\n background-color: #d9edf7;\n border-color: #bce8f1;\n}\n.panel-info > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #bce8f1;\n}\n.panel-info > .panel-heading .badge {\n color: #d9edf7;\n background-color: #31708f;\n}\n.panel-info > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #bce8f1;\n}\n.panel-warning {\n border-color: #faebcc;\n}\n.panel-warning > .panel-heading {\n color: #8a6d3b;\n background-color: #fcf8e3;\n border-color: #faebcc;\n}\n.panel-warning > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #faebcc;\n}\n.panel-warning > .panel-heading .badge {\n color: #fcf8e3;\n background-color: #8a6d3b;\n}\n.panel-warning > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #faebcc;\n}\n.panel-danger {\n border-color: #ebccd1;\n}\n.panel-danger > .panel-heading {\n color: #a94442;\n background-color: #f2dede;\n border-color: #ebccd1;\n}\n.panel-danger > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #ebccd1;\n}\n.panel-danger > .panel-heading .badge {\n color: #f2dede;\n background-color: #a94442;\n}\n.panel-danger > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #ebccd1;\n}\n.embed-responsive {\n position: relative;\n display: block;\n height: 0;\n padding: 0;\n overflow: hidden;\n}\n.embed-responsive .embed-responsive-item,\n.embed-responsive iframe,\n.embed-responsive embed,\n.embed-responsive object,\n.embed-responsive video {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border: 0;\n}\n.embed-responsive-16by9 {\n padding-bottom: 56.25%;\n}\n.embed-responsive-4by3 {\n padding-bottom: 75%;\n}\n.well {\n min-height: 20px;\n padding: 19px;\n margin-bottom: 20px;\n background-color: #f5f5f5;\n border: 1px solid #e3e3e3;\n border-radius: 4px;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);\n}\n.well blockquote {\n border-color: #ddd;\n border-color: rgba(0, 0, 0, .15);\n}\n.well-lg {\n padding: 24px;\n border-radius: 6px;\n}\n.well-sm {\n padding: 9px;\n border-radius: 3px;\n}\n.close {\n float: right;\n font-size: 21px;\n font-weight: bold;\n line-height: 1;\n color: #000;\n text-shadow: 0 1px 0 #fff;\n filter: alpha(opacity=20);\n opacity: .2;\n}\n.close:hover,\n.close:focus {\n color: #000;\n text-decoration: none;\n cursor: pointer;\n filter: alpha(opacity=50);\n opacity: .5;\n}\nbutton.close {\n -webkit-appearance: none;\n padding: 0;\n cursor: pointer;\n background: transparent;\n border: 0;\n}\n.modal-open {\n overflow: hidden;\n}\n.modal {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 1050;\n display: none;\n overflow: hidden;\n -webkit-overflow-scrolling: touch;\n outline: 0;\n}\n.modal.fade .modal-dialog {\n -webkit-transition: -webkit-transform .3s ease-out;\n -o-transition: -o-transform .3s ease-out;\n transition: transform .3s ease-out;\n -webkit-transform: translate(0, -25%);\n -ms-transform: translate(0, -25%);\n -o-transform: translate(0, -25%);\n transform: translate(0, -25%);\n}\n.modal.in .modal-dialog {\n -webkit-transform: translate(0, 0);\n -ms-transform: translate(0, 0);\n -o-transform: translate(0, 0);\n transform: translate(0, 0);\n}\n.modal-open .modal {\n overflow-x: hidden;\n overflow-y: auto;\n}\n.modal-dialog {\n position: relative;\n width: auto;\n margin: 10px;\n}\n.modal-content {\n position: relative;\n background-color: #fff;\n -webkit-background-clip: padding-box;\n background-clip: padding-box;\n border: 1px solid #999;\n border: 1px solid rgba(0, 0, 0, .2);\n border-radius: 6px;\n outline: 0;\n -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);\n box-shadow: 0 3px 9px rgba(0, 0, 0, .5);\n}\n.modal-backdrop {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 1040;\n background-color: #000;\n}\n.modal-backdrop.fade {\n filter: alpha(opacity=0);\n opacity: 0;\n}\n.modal-backdrop.in {\n filter: alpha(opacity=50);\n opacity: .5;\n}\n.modal-header {\n padding: 15px;\n border-bottom: 1px solid #e5e5e5;\n}\n.modal-header .close {\n margin-top: -2px;\n}\n.modal-title {\n margin: 0;\n line-height: 1.42857143;\n}\n.modal-body {\n position: relative;\n padding: 15px;\n}\n.modal-footer {\n padding: 15px;\n text-align: right;\n border-top: 1px solid #e5e5e5;\n}\n.modal-footer .btn + .btn {\n margin-bottom: 0;\n margin-left: 5px;\n}\n.modal-footer .btn-group .btn + .btn {\n margin-left: -1px;\n}\n.modal-footer .btn-block + .btn-block {\n margin-left: 0;\n}\n.modal-scrollbar-measure {\n position: absolute;\n top: -9999px;\n width: 50px;\n height: 50px;\n overflow: scroll;\n}\n@media (min-width: 768px) {\n .modal-dialog {\n width: 600px;\n margin: 30px auto;\n }\n .modal-content {\n -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);\n box-shadow: 0 5px 15px rgba(0, 0, 0, .5);\n }\n .modal-sm {\n width: 300px;\n }\n}\n@media (min-width: 992px) {\n .modal-lg {\n width: 900px;\n }\n}\n.tooltip {\n position: absolute;\n z-index: 1070;\n display: block;\n font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;\n font-size: 12px;\n font-style: normal;\n font-weight: normal;\n line-height: 1.42857143;\n text-align: left;\n text-align: start;\n text-decoration: none;\n text-shadow: none;\n text-transform: none;\n letter-spacing: normal;\n word-break: normal;\n word-spacing: normal;\n word-wrap: normal;\n white-space: normal;\n filter: alpha(opacity=0);\n opacity: 0;\n\n line-break: auto;\n}\n.tooltip.in {\n filter: alpha(opacity=90);\n opacity: .9;\n}\n.tooltip.top {\n padding: 5px 0;\n margin-top: -3px;\n}\n.tooltip.right {\n padding: 0 5px;\n margin-left: 3px;\n}\n.tooltip.bottom {\n padding: 5px 0;\n margin-top: 3px;\n}\n.tooltip.left {\n padding: 0 5px;\n margin-left: -3px;\n}\n.tooltip-inner {\n max-width: 200px;\n padding: 3px 8px;\n color: #fff;\n text-align: center;\n background-color: #000;\n border-radius: 4px;\n}\n.tooltip-arrow {\n position: absolute;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n}\n.tooltip.top .tooltip-arrow {\n bottom: 0;\n left: 50%;\n margin-left: -5px;\n border-width: 5px 5px 0;\n border-top-color: #000;\n}\n.tooltip.top-left .tooltip-arrow {\n right: 5px;\n bottom: 0;\n margin-bottom: -5px;\n border-width: 5px 5px 0;\n border-top-color: #000;\n}\n.tooltip.top-right .tooltip-arrow {\n bottom: 0;\n left: 5px;\n margin-bottom: -5px;\n border-width: 5px 5px 0;\n border-top-color: #000;\n}\n.tooltip.right .tooltip-arrow {\n top: 50%;\n left: 0;\n margin-top: -5px;\n border-width: 5px 5px 5px 0;\n border-right-color: #000;\n}\n.tooltip.left .tooltip-arrow {\n top: 50%;\n right: 0;\n margin-top: -5px;\n border-width: 5px 0 5px 5px;\n border-left-color: #000;\n}\n.tooltip.bottom .tooltip-arrow {\n top: 0;\n left: 50%;\n margin-left: -5px;\n border-width: 0 5px 5px;\n border-bottom-color: #000;\n}\n.tooltip.bottom-left .tooltip-arrow {\n top: 0;\n right: 5px;\n margin-top: -5px;\n border-width: 0 5px 5px;\n border-bottom-color: #000;\n}\n.tooltip.bottom-right .tooltip-arrow {\n top: 0;\n left: 5px;\n margin-top: -5px;\n border-width: 0 5px 5px;\n border-bottom-color: #000;\n}\n.popover {\n position: absolute;\n top: 0;\n left: 0;\n z-index: 1060;\n display: none;\n max-width: 276px;\n padding: 1px;\n font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;\n font-size: 14px;\n font-style: normal;\n font-weight: normal;\n line-height: 1.42857143;\n text-align: left;\n text-align: start;\n text-decoration: none;\n text-shadow: none;\n text-transform: none;\n letter-spacing: normal;\n word-break: normal;\n word-spacing: normal;\n word-wrap: normal;\n white-space: normal;\n background-color: #fff;\n -webkit-background-clip: padding-box;\n background-clip: padding-box;\n border: 1px solid #ccc;\n border: 1px solid rgba(0, 0, 0, .2);\n border-radius: 6px;\n -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);\n box-shadow: 0 5px 10px rgba(0, 0, 0, .2);\n\n line-break: auto;\n}\n.popover.top {\n margin-top: -10px;\n}\n.popover.right {\n margin-left: 10px;\n}\n.popover.bottom {\n margin-top: 10px;\n}\n.popover.left {\n margin-left: -10px;\n}\n.popover-title {\n padding: 8px 14px;\n margin: 0;\n font-size: 14px;\n background-color: #f7f7f7;\n border-bottom: 1px solid #ebebeb;\n border-radius: 5px 5px 0 0;\n}\n.popover-content {\n padding: 9px 14px;\n}\n.popover > .arrow,\n.popover > .arrow:after {\n position: absolute;\n display: block;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n}\n.popover > .arrow {\n border-width: 11px;\n}\n.popover > .arrow:after {\n content: "";\n border-width: 10px;\n}\n.popover.top > .arrow {\n bottom: -11px;\n left: 50%;\n margin-left: -11px;\n border-top-color: #999;\n border-top-color: rgba(0, 0, 0, .25);\n border-bottom-width: 0;\n}\n.popover.top > .arrow:after {\n bottom: 1px;\n margin-left: -10px;\n content: " ";\n border-top-color: #fff;\n border-bottom-width: 0;\n}\n.popover.right > .arrow {\n top: 50%;\n left: -11px;\n margin-top: -11px;\n border-right-color: #999;\n border-right-color: rgba(0, 0, 0, .25);\n border-left-width: 0;\n}\n.popover.right > .arrow:after {\n bottom: -10px;\n left: 1px;\n content: " ";\n border-right-color: #fff;\n border-left-width: 0;\n}\n.popover.bottom > .arrow {\n top: -11px;\n left: 50%;\n margin-left: -11px;\n border-top-width: 0;\n border-bottom-color: #999;\n border-bottom-color: rgba(0, 0, 0, .25);\n}\n.popover.bottom > .arrow:after {\n top: 1px;\n margin-left: -10px;\n content: " ";\n border-top-width: 0;\n border-bottom-color: #fff;\n}\n.popover.left > .arrow {\n top: 50%;\n right: -11px;\n margin-top: -11px;\n border-right-width: 0;\n border-left-color: #999;\n border-left-color: rgba(0, 0, 0, .25);\n}\n.popover.left > .arrow:after {\n right: 1px;\n bottom: -10px;\n content: " ";\n border-right-width: 0;\n border-left-color: #fff;\n}\n.carousel {\n position: relative;\n}\n.carousel-inner {\n position: relative;\n width: 100%;\n overflow: hidden;\n}\n.carousel-inner > .item {\n position: relative;\n display: none;\n -webkit-transition: .6s ease-in-out left;\n -o-transition: .6s ease-in-out left;\n transition: .6s ease-in-out left;\n}\n.carousel-inner > .item > img,\n.carousel-inner > .item > a > img {\n line-height: 1;\n}\n@media all and (transform-3d), (-webkit-transform-3d) {\n .carousel-inner > .item {\n -webkit-transition: -webkit-transform .6s ease-in-out;\n -o-transition: -o-transform .6s ease-in-out;\n transition: transform .6s ease-in-out;\n\n -webkit-backface-visibility: hidden;\n backface-visibility: hidden;\n -webkit-perspective: 1000px;\n perspective: 1000px;\n }\n .carousel-inner > .item.next,\n .carousel-inner > .item.active.right {\n left: 0;\n -webkit-transform: translate3d(100%, 0, 0);\n transform: translate3d(100%, 0, 0);\n }\n .carousel-inner > .item.prev,\n .carousel-inner > .item.active.left {\n left: 0;\n -webkit-transform: translate3d(-100%, 0, 0);\n transform: translate3d(-100%, 0, 0);\n }\n .carousel-inner > .item.next.left,\n .carousel-inner > .item.prev.right,\n .carousel-inner > .item.active {\n left: 0;\n -webkit-transform: translate3d(0, 0, 0);\n transform: translate3d(0, 0, 0);\n }\n}\n.carousel-inner > .active,\n.carousel-inner > .next,\n.carousel-inner > .prev {\n display: block;\n}\n.carousel-inner > .active {\n left: 0;\n}\n.carousel-inner > .next,\n.carousel-inner > .prev {\n position: absolute;\n top: 0;\n width: 100%;\n}\n.carousel-inner > .next {\n left: 100%;\n}\n.carousel-inner > .prev {\n left: -100%;\n}\n.carousel-inner > .next.left,\n.carousel-inner > .prev.right {\n left: 0;\n}\n.carousel-inner > .active.left {\n left: -100%;\n}\n.carousel-inner > .active.right {\n left: 100%;\n}\n.carousel-control {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n width: 15%;\n font-size: 20px;\n color: #fff;\n text-align: center;\n text-shadow: 0 1px 2px rgba(0, 0, 0, .6);\n background-color: rgba(0, 0, 0, 0);\n filter: alpha(opacity=50);\n opacity: .5;\n}\n.carousel-control.left {\n background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%);\n background-image: -o-linear-gradient(left, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%);\n background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .5)), to(rgba(0, 0, 0, .0001)));\n background-image: linear-gradient(to right, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%);\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=\'#80000000\', endColorstr=\'#00000000\', GradientType=1);\n background-repeat: repeat-x;\n}\n.carousel-control.right {\n right: 0;\n left: auto;\n background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%);\n background-image: -o-linear-gradient(left, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%);\n background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .0001)), to(rgba(0, 0, 0, .5)));\n background-image: linear-gradient(to right, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%);\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=\'#00000000\', endColorstr=\'#80000000\', GradientType=1);\n background-repeat: repeat-x;\n}\n.carousel-control:hover,\n.carousel-control:focus {\n color: #fff;\n text-decoration: none;\n filter: alpha(opacity=90);\n outline: 0;\n opacity: .9;\n}\n.carousel-control .icon-prev,\n.carousel-control .icon-next,\n.carousel-control .glyphicon-chevron-left,\n.carousel-control .glyphicon-chevron-right {\n position: absolute;\n top: 50%;\n z-index: 5;\n display: inline-block;\n margin-top: -10px;\n}\n.carousel-control .icon-prev,\n.carousel-control .glyphicon-chevron-left {\n left: 50%;\n margin-left: -10px;\n}\n.carousel-control .icon-next,\n.carousel-control .glyphicon-chevron-right {\n right: 50%;\n margin-right: -10px;\n}\n.carousel-control .icon-prev,\n.carousel-control .icon-next {\n width: 20px;\n height: 20px;\n font-family: serif;\n line-height: 1;\n}\n.carousel-control .icon-prev:before {\n content: \'\\2039\';\n}\n.carousel-control .icon-next:before {\n content: \'\\203A\';\n}\n.carousel-indicators {\n position: absolute;\n bottom: 10px;\n left: 50%;\n z-index: 15;\n width: 60%;\n padding-left: 0;\n margin-left: -30%;\n text-align: center;\n list-style: none;\n}\n.carousel-indicators li {\n display: inline-block;\n width: 10px;\n height: 10px;\n margin: 1px;\n text-indent: -999px;\n cursor: pointer;\n background-color: #000 \\9;\n background-color: rgba(0, 0, 0, 0);\n border: 1px solid #fff;\n border-radius: 10px;\n}\n.carousel-indicators .active {\n width: 12px;\n height: 12px;\n margin: 0;\n background-color: #fff;\n}\n.carousel-caption {\n position: absolute;\n right: 15%;\n bottom: 20px;\n left: 15%;\n z-index: 10;\n padding-top: 20px;\n padding-bottom: 20px;\n color: #fff;\n text-align: center;\n text-shadow: 0 1px 2px rgba(0, 0, 0, .6);\n}\n.carousel-caption .btn {\n text-shadow: none;\n}\n@media screen and (min-width: 768px) {\n .carousel-control .glyphicon-chevron-left,\n .carousel-control .glyphicon-chevron-right,\n .carousel-control .icon-prev,\n .carousel-control .icon-next {\n width: 30px;\n height: 30px;\n margin-top: -10px;\n font-size: 30px;\n }\n .carousel-control .glyphicon-chevron-left,\n .carousel-control .icon-prev {\n margin-left: -10px;\n }\n .carousel-control .glyphicon-chevron-right,\n .carousel-control .icon-next {\n margin-right: -10px;\n }\n .carousel-caption {\n right: 20%;\n left: 20%;\n padding-bottom: 30px;\n }\n .carousel-indicators {\n bottom: 20px;\n }\n}\n.clearfix:before,\n.clearfix:after,\n.dl-horizontal dd:before,\n.dl-horizontal dd:after,\n.container:before,\n.container:after,\n.container-fluid:before,\n.container-fluid:after,\n.row:before,\n.row:after,\n.form-horizontal .form-group:before,\n.form-horizontal .form-group:after,\n.btn-toolbar:before,\n.btn-toolbar:after,\n.btn-group-vertical > .btn-group:before,\n.btn-group-vertical > .btn-group:after,\n.nav:before,\n.nav:after,\n.navbar:before,\n.navbar:after,\n.navbar-header:before,\n.navbar-header:after,\n.navbar-collapse:before,\n.navbar-collapse:after,\n.pager:before,\n.pager:after,\n.panel-body:before,\n.panel-body:after,\n.modal-header:before,\n.modal-header:after,\n.modal-footer:before,\n.modal-footer:after {\n display: table;\n content: " ";\n}\n.clearfix:after,\n.dl-horizontal dd:after,\n.container:after,\n.container-fluid:after,\n.row:after,\n.form-horizontal .form-group:after,\n.btn-toolbar:after,\n.btn-group-vertical > .btn-group:after,\n.nav:after,\n.navbar:after,\n.navbar-header:after,\n.navbar-collapse:after,\n.pager:after,\n.panel-body:after,\n.modal-header:after,\n.modal-footer:after {\n clear: both;\n}\n.center-block {\n display: block;\n margin-right: auto;\n margin-left: auto;\n}\n.pull-right {\n float: right !important;\n}\n.pull-left {\n float: left !important;\n}\n.hide {\n display: none !important;\n}\n.show {\n display: block !important;\n}\n.invisible {\n visibility: hidden;\n}\n.text-hide {\n font: 0/0 a;\n color: transparent;\n text-shadow: none;\n background-color: transparent;\n border: 0;\n}\n.hidden {\n display: none !important;\n}\n.affix {\n position: fixed;\n}\n@-ms-viewport {\n width: device-width;\n}\n.visible-xs,\n.visible-sm,\n.visible-md,\n.visible-lg {\n display: none !important;\n}\n.visible-xs-block,\n.visible-xs-inline,\n.visible-xs-inline-block,\n.visible-sm-block,\n.visible-sm-inline,\n.visible-sm-inline-block,\n.visible-md-block,\n.visible-md-inline,\n.visible-md-inline-block,\n.visible-lg-block,\n.visible-lg-inline,\n.visible-lg-inline-block {\n display: none !important;\n}\n@media (max-width: 767px) {\n .visible-xs {\n display: block !important;\n }\n table.visible-xs {\n display: table !important;\n }\n tr.visible-xs {\n display: table-row !important;\n }\n th.visible-xs,\n td.visible-xs {\n display: table-cell !important;\n }\n}\n@media (max-width: 767px) {\n .visible-xs-block {\n display: block !important;\n }\n}\n@media (max-width: 767px) {\n .visible-xs-inline {\n display: inline !important;\n }\n}\n@media (max-width: 767px) {\n .visible-xs-inline-block {\n display: inline-block !important;\n }\n}\n@media (min-width: 768px) and (max-width: 991px) {\n .visible-sm {\n display: block !important;\n }\n table.visible-sm {\n display: table !important;\n }\n tr.visible-sm {\n display: table-row !important;\n }\n th.visible-sm,\n td.visible-sm {\n display: table-cell !important;\n }\n}\n@media (min-width: 768px) and (max-width: 991px) {\n .visible-sm-block {\n display: block !important;\n }\n}\n@media (min-width: 768px) and (max-width: 991px) {\n .visible-sm-inline {\n display: inline !important;\n }\n}\n@media (min-width: 768px) and (max-width: 991px) {\n .visible-sm-inline-block {\n display: inline-block !important;\n }\n}\n@media (min-width: 992px) and (max-width: 1199px) {\n .visible-md {\n display: block !important;\n }\n table.visible-md {\n display: table !important;\n }\n tr.visible-md {\n display: table-row !important;\n }\n th.visible-md,\n td.visible-md {\n display: table-cell !important;\n }\n}\n@media (min-width: 992px) and (max-width: 1199px) {\n .visible-md-block {\n display: block !important;\n }\n}\n@media (min-width: 992px) and (max-width: 1199px) {\n .visible-md-inline {\n display: inline !important;\n }\n}\n@media (min-width: 992px) and (max-width: 1199px) {\n .visible-md-inline-block {\n display: inline-block !important;\n }\n}\n@media (min-width: 1200px) {\n .visible-lg {\n display: block !important;\n }\n table.visible-lg {\n display: table !important;\n }\n tr.visible-lg {\n display: table-row !important;\n }\n th.visible-lg,\n td.visible-lg {\n display: table-cell !important;\n }\n}\n@media (min-width: 1200px) {\n .visible-lg-block {\n display: block !important;\n }\n}\n@media (min-width: 1200px) {\n .visible-lg-inline {\n display: inline !important;\n }\n}\n@media (min-width: 1200px) {\n .visible-lg-inline-block {\n display: inline-block !important;\n }\n}\n@media (max-width: 767px) {\n .hidden-xs {\n display: none !important;\n }\n}\n@media (min-width: 768px) and (max-width: 991px) {\n .hidden-sm {\n display: none !important;\n }\n}\n@media (min-width: 992px) and (max-width: 1199px) {\n .hidden-md {\n display: none !important;\n }\n}\n@media (min-width: 1200px) {\n .hidden-lg {\n display: none !important;\n }\n}\n.visible-print {\n display: none !important;\n}\n@media print {\n .visible-print {\n display: block !important;\n }\n table.visible-print {\n display: table !important;\n }\n tr.visible-print {\n display: table-row !important;\n }\n th.visible-print,\n td.visible-print {\n display: table-cell !important;\n }\n}\n.visible-print-block {\n display: none !important;\n}\n@media print {\n .visible-print-block {\n display: block !important;\n }\n}\n.visible-print-inline {\n display: none !important;\n}\n@media print {\n .visible-print-inline {\n display: inline !important;\n }\n}\n.visible-print-inline-block {\n display: none !important;\n}\n@media print {\n .visible-print-inline-block {\n display: inline-block !important;\n }\n}\n@media print {\n .hidden-print {\n display: none !important;\n }\n}\n/*# sourceMappingURL=bootstrap.css.map */\n',""])},8307:(e,t,n)=>{(e.exports=n(1506)()).push([e.id,'a {\n cursor: pointer;\n}\n\n.disabled {\n pointer-events: none;\n cursor: default;\n opacity: 0.6;\n}\n\n.btn-round {\n border-radius: 24px;\n}\n\nbody {\n color: #212121;\n font-family: "Helvetica Neue", "Calibri Light", Roboto, sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n letter-spacing: 0.02em;\n}',""])},1506:e=>{e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t];n[2]?e.push("@media "+n[2]+"{"+n[1]+"}"):e.push(n[1])}return e.join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},o=0;o<this.length;o++){var a=this[o][0];"number"==typeof a&&(r[a]=!0)}for(o=0;o<t.length;o++){var i=t[o];"number"==typeof i[0]&&r[i[0]]||(n&&!i[2]?i[2]=n:n&&(i[2]="("+i[2]+") and ("+n+")"),e.push(i))}},e}},9709:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,o.default)();try{return e.activeElement}catch(e){}};var r,o=(r=n(144))&&r.__esModule?r:{default:r};e.exports=t.default},2281:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){};((r=n(2810))&&r.__esModule?r:{default:r}).default&&(o=document.addEventListener?function(e,t,n,r){return e.removeEventListener(t,n,r||!1)}:document.attachEvent?function(e,t,n){return e.detachEvent("on"+t,n)}:void 0),t.default=o,e.exports=t.default},6061:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){};((r=n(2810))&&r.__esModule?r:{default:r}).default&&(o=document.addEventListener?function(e,t,n,r){return e.addEventListener(t,n,r||!1)}:document.attachEvent?function(e,t,n){return e.attachEvent("on"+t,(function(t){(t=t||window.event).target=t.target||t.srcElement,t.currentTarget=e,n.call(e,t)}))}:void 0),t.default=o,e.exports=t.default},144:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e&&e.ownerDocument||document},e.exports=t.default},1390:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,o.default)(e);return t&&t.defaultView||t.parentWindow};var r,o=(r=n(144))&&r.__esModule?r:{default:r};e.exports=t.default},4702:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=(r=n(2810))&&r.__esModule?r:{default:r};function a(e,t){if(t)do{if(t===e)return!0}while(t=t.parentNode);return!1}t.default=o.default?function(e,t){return e.contains?e.contains(t):e.compareDocumentPosition?e===t||!!(16&e.compareDocumentPosition(t)):a(e,t)}:a,e.exports=t.default},4540:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,o.default)(e);return n?n.innerHeight:t?e.clientHeight:(0,r.default)(e).height};var r=a(n(246)),o=a(n(7633));function a(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},7633:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e===e.window?e:9===e.nodeType&&(e.defaultView||e.parentWindow)},e.exports=t.default},246:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,a.default)(e),n=(0,o.default)(t),i=t&&t.documentElement,s={top:0,left:0,height:0,width:0};if(t)return(0,r.default)(i,e)?(void 0!==e.getBoundingClientRect&&(s=e.getBoundingClientRect()),{top:s.top+(n.pageYOffset||i.scrollTop)-(i.clientTop||0),left:s.left+(n.pageXOffset||i.scrollLeft)-(i.clientLeft||0),width:(null==s.width?e.offsetWidth:s.width)||0,height:(null==s.height?e.offsetHeight:s.height)||0}):s};var r=i(n(4702)),o=i(n(7633)),a=i(n(144));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},186:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=(0,r.default)(e),n=e&&e.offsetParent;n&&"html"!==i(e)&&"static"===(0,o.default)(n,"position");)n=n.offsetParent;return n||t.documentElement};var r=a(n(144)),o=a(n(7164));function a(e){return e&&e.__esModule?e:{default:e}}function i(e){return e.nodeName&&e.nodeName.toLowerCase()}e.exports=t.default},2510:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=function(e,t){var n,c={top:0,left:0};return"fixed"===(0,l.default)(e,"position")?n=e.getBoundingClientRect():(t=t||(0,a.default)(e),n=(0,o.default)(e),"html"!==function(e){return e.nodeName&&e.nodeName.toLowerCase()}(t)&&(c=(0,o.default)(t)),c.top+=parseInt((0,l.default)(t,"borderTopWidth"),10)-(0,i.default)(t)||0,c.left+=parseInt((0,l.default)(t,"borderLeftWidth"),10)-(0,s.default)(t)||0),r({},n,{top:n.top-c.top-(parseInt((0,l.default)(e,"marginTop"),10)||0),left:n.left-c.left-(parseInt((0,l.default)(e,"marginLeft"),10)||0)})};var o=c(n(246)),a=c(n(186)),i=c(n(2491)),s=c(n(1006)),l=c(n(7164));function c(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},1006:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,o.default)(e);if(void 0===t)return n?"pageXOffset"in n?n.pageXOffset:n.document.documentElement.scrollLeft:e.scrollLeft;n?n.scrollTo(t,"pageYOffset"in n?n.pageYOffset:n.document.documentElement.scrollTop):e.scrollLeft=t};var r,o=(r=n(7633))&&r.__esModule?r:{default:r};e.exports=t.default},2491:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,o.default)(e);if(void 0===t)return n?"pageYOffset"in n?n.pageYOffset:n.document.documentElement.scrollTop:e.scrollTop;n?n.scrollTo("pageXOffset"in n?n.pageXOffset:n.document.documentElement.scrollLeft,t):e.scrollTop=t};var r,o=(r=n(7633))&&r.__esModule?r:{default:r};e.exports=t.default},7058:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!e)throw new TypeError("No Element passed to `getComputedStyle()`");var t=e.ownerDocument;return"defaultView"in t?t.defaultView.opener?e.ownerDocument.defaultView.getComputedStyle(e,null):window.getComputedStyle(e,null):{getPropertyValue:function(t){var n=e.style;"float"==(t=(0,o.default)(t))&&(t="styleFloat");var r=e.currentStyle[t]||null;if(null==r&&n&&n[t]&&(r=n[t]),i.test(r)&&!a.test(t)){var s=n.left,l=e.runtimeStyle,c=l&&l.left;c&&(l.left=e.currentStyle.left),n.left="fontSize"===t?"1em":r,r=n.pixelLeft+"px",n.left=s,c&&(l.left=c)}return r}}};var r,o=(r=n(3236))&&r.__esModule?r:{default:r},a=/^(top|right|bottom|left)$/,i=/^([+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|))(?!px)[a-z%]+$/i;e.exports=t.default},7164:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var c="",u="",p=t;if("string"==typeof t){if(void 0===n)return e.style[(0,r.default)(t)]||(0,a.default)(e).getPropertyValue((0,o.default)(t));(p={})[t]=n}Object.keys(p).forEach((function(t){var n=p[t];n||0===n?(0,l.default)(t)?u+=t+"("+n+") ":c+=(0,o.default)(t)+": "+n+";":(0,i.default)(e,(0,o.default)(t))})),u&&(c+=s.transform+": "+u+";"),e.style.cssText+=";"+c};var r=c(n(3236)),o=c(n(4858)),a=c(n(7058)),i=c(n(3023)),s=n(132),l=c(n(611));function c(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},3023:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return"removeProperty"in e.style?e.style.removeProperty(t):e.style.removeAttribute(t)},e.exports=t.default},611:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return!(!e||!n.test(e))};var n=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;e.exports=t.default},132:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.animationEnd=t.animationDelay=t.animationTiming=t.animationDuration=t.animationName=t.transitionEnd=t.transitionDuration=t.transitionDelay=t.transitionTiming=t.transitionProperty=t.transform=void 0;var r,o="transform",a=void 0,i=void 0,s=void 0,l=void 0,c=void 0,u=void 0,p=void 0,d=void 0,f=void 0,h=void 0,g=void 0;if(((r=n(2810))&&r.__esModule?r:{default:r}).default){var b=function(){for(var e=document.createElement("div").style,t={O:function(e){return"o"+e.toLowerCase()},Moz:function(e){return e.toLowerCase()},Webkit:function(e){return"webkit"+e},ms:function(e){return"MS"+e}},n=Object.keys(t),r=void 0,o=void 0,a="",i=0;i<n.length;i++){var s=n[i];if(s+"TransitionProperty"in e){a="-"+s.toLowerCase(),r=t[s]("TransitionEnd"),o=t[s]("AnimationEnd");break}}return!r&&"transitionProperty"in e&&(r="transitionend"),!o&&"animationName"in e&&(o="animationend"),e=null,{animationEnd:o,transitionEnd:r,prefix:a}}();a=b.prefix,t.transitionEnd=i=b.transitionEnd,t.animationEnd=s=b.animationEnd,t.transform=o=a+"-"+o,t.transitionProperty=l=a+"-transition-property",t.transitionDuration=c=a+"-transition-duration",t.transitionDelay=p=a+"-transition-delay",t.transitionTiming=u=a+"-transition-timing-function",t.animationName=d=a+"-animation-name",t.animationDuration=f=a+"-animation-duration",t.animationTiming=h=a+"-animation-delay",t.animationDelay=g=a+"-animation-timing-function"}t.transform=o,t.transitionProperty=l,t.transitionTiming=u,t.transitionDelay=p,t.transitionDuration=c,t.transitionEnd=i,t.animationName=d,t.animationDuration=f,t.animationTiming=h,t.animationDelay=g,t.animationEnd=s,t.default={transform:o,end:i,property:l,timing:u,delay:p,duration:c}},1878:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(n,(function(e,t){return t.toUpperCase()}))};var n=/-(.)/g;e.exports=t.default},3236:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e.replace(a,"ms-"))};var r,o=(r=n(1878))&&r.__esModule?r:{default:r},a=/^-ms-/;e.exports=t.default},8218:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(n,"-$1").toLowerCase()};var n=/([A-Z])/g;e.exports=t.default},4858:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e).replace(a,"-ms-")};var r,o=(r=n(8218))&&r.__esModule?r:{default:r},a=/^ms-/;e.exports=t.default},2810:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=!("undefined"==typeof window||!window.document||!window.document.createElement),e.exports=t.default},9268:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o,a=(r=n(2810))&&r.__esModule?r:{default:r},i="clearTimeout",s=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-c)),r=setTimeout(e,n);return c=t,r},l=function(e,t){return e+(e?t[0].toUpperCase()+t.substr(1):t)+"AnimationFrame"};a.default&&["","webkit","moz","o","ms"].some((function(e){var t=l(e,"request");if(t in window)return i=l(e,"cancel"),s=function(e){return window[t](e)}}));var c=(new Date).getTime();(o=function(e){return s(e)}).cancel=function(e){window[i]&&"function"==typeof window[i]&&window[i](e)},t.default=o,e.exports=t.default},9974:(e,t)=>{"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=Symbol();function i(e,t){var n=!0,r=!1,o=void 0;try{for(var a,i=Object.getOwnPropertyNames(t)[Symbol.iterator]();!(n=(a=i.next()).done);n=!0){var s=a.value,l=Object.getOwnPropertyDescriptor(t,s);Object.defineProperty(e,s,l)}}catch(e){r=!0,o=e}finally{try{!n&&i.return&&i.return()}finally{if(r)throw o}}return e}t.xs=function(){function e(){var t=arguments.length<=0||void 0===arguments[0]?void 0:arguments[0];if(o(this,e),{}.hasOwnProperty.call(this.constructor,a))throw new Error("Enum classes cant be instantiated");"object"===(void 0===t?"undefined":n(t))&&null!==t&&i(this,t)}return r(e,[{key:"toString",value:function(){return this.constructor.name+"."+this.name}}],[{key:"initEnum",value:function(e){return Object.defineProperty(this,"enumValues",{value:[],configurable:!1,writable:!1,enumerable:!0}),Array.isArray(e)?this._enumValuesFromArray(e):this._enumValuesFromObject(e),Object.freeze(this.enumValues),this[a]=!0,this}},{key:"_enumValuesFromArray",value:function(e){var t=!0,n=!1,r=void 0;try{for(var o,a=e[Symbol.iterator]();!(t=(o=a.next()).done);t=!0){var i=o.value;this._pushEnumValue(new this,i)}}catch(e){n=!0,r=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw r}}}},{key:"_enumValuesFromObject",value:function(e){var t=!0,n=!1,r=void 0;try{for(var o,a=Object.keys(e)[Symbol.iterator]();!(t=(o=a.next()).done);t=!0){var i=o.value,s=new this(e[i]);this._pushEnumValue(s,i)}}catch(e){n=!0,r=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw r}}}},{key:"_pushEnumValue",value:function(e,t){e.name=t,e.ordinal=this.enumValues.length,Object.defineProperty(this,t,{value:e,configurable:!1,writable:!1,enumerable:!0}),this.enumValues.push(e)}},{key:"enumValueOf",value:function(e){return this.enumValues.find((function(t){return t.name===e}))}},{key:Symbol.iterator,value:function(){return this.enumValues[Symbol.iterator]()}}]),e}()},7759:(e,t,n)=>{"use strict";var r=n(3743),o={listen:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!1),{remove:function(){e.removeEventListener(t,n,!1)}}):e.attachEvent?(e.attachEvent("on"+t,n),{remove:function(){e.detachEvent("on"+t,n)}}):void 0},capture:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!0),{remove:function(){e.removeEventListener(t,n,!0)}}):{remove:r}},registerDefault:function(){}};e.exports=o},4579:e=>{"use strict";var t=!("undefined"==typeof window||!window.document||!window.document.createElement),n={canUseDOM:t,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:t&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:t&&!!window.screen,isInWorker:!t};e.exports=n},1515:e=>{"use strict";var t=/-(.)/g;e.exports=function(e){return e.replace(t,(function(e,t){return t.toUpperCase()}))}},3040:(e,t,n)=>{"use strict";var r=n(1515),o=/^-ms-/;e.exports=function(e){return r(e.replace(o,"ms-"))}},1089:(e,t,n)=>{"use strict";var r=n(4707);e.exports=function e(t,n){return!(!t||!n)&&(t===n||!r(t)&&(r(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}},3682:(e,t,n)=>{"use strict";var r=n(7081);e.exports=function(e){return function(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"length"in e&&!("setInterval"in e)&&"number"!=typeof e.nodeType&&(Array.isArray(e)||"callee"in e||"item"in e)}(e)?Array.isArray(e)?e.slice():function(e){var t=e.length;if((Array.isArray(e)||"object"!=typeof e&&"function"!=typeof e)&&r(!1),"number"!=typeof t&&r(!1),0===t||t-1 in e||r(!1),"function"==typeof e.callee&&r(!1),e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),o=0;o<t;o++)n[o]=e[o];return n}(e):[e]}},7293:(e,t,n)=>{"use strict";var r=n(4579),o=n(3682),a=n(1610),i=n(7081),s=r.canUseDOM?document.createElement("div"):null,l=/^\s*<(\w+)/;e.exports=function(e,t){var n=s;s||i(!1);var r=function(e){var t=e.match(l);return t&&t[1].toLowerCase()}(e),c=r&&a(r);if(c){n.innerHTML=c[1]+e+c[2];for(var u=c[0];u--;)n=n.lastChild}else n.innerHTML=e;var p=n.getElementsByTagName("script");p.length&&(t||i(!1),o(p).forEach(t));for(var d=Array.from(n.childNodes);n.lastChild;)n.removeChild(n.lastChild);return d}},3743:e=>{"use strict";function t(e){return function(){return e}}var n=function(){};n.thatReturns=t,n.thatReturnsFalse=t(!1),n.thatReturnsTrue=t(!0),n.thatReturnsNull=t(null),n.thatReturnsThis=function(){return this},n.thatReturnsArgument=function(e){return e},e.exports=n},5117:e=>{"use strict";e.exports={}},4831:e=>{"use strict";e.exports=function(e){try{e.focus()}catch(e){}}},2402:e=>{"use strict";e.exports=function(){if("undefined"==typeof document)return null;try{return document.activeElement||document.body}catch(e){return document.body}}},1610:(e,t,n)=>{"use strict";var r=n(4579),o=n(7081),a=r.canUseDOM?document.createElement("div"):null,i={},s=[1,'<select multiple="true">',"</select>"],l=[1,"<table>","</table>"],c=[3,"<table><tbody><tr>","</tr></tbody></table>"],u=[1,'<svg xmlns="http://www.w3.org/2000/svg">',"</svg>"],p={"*":[1,"?<div>","</div>"],area:[1,"<map>","</map>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],legend:[1,"<fieldset>","</fieldset>"],param:[1,"<object>","</object>"],tr:[2,"<table><tbody>","</tbody></table>"],optgroup:s,option:s,caption:l,colgroup:l,tbody:l,tfoot:l,thead:l,td:c,th:c};["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"].forEach((function(e){p[e]=u,i[e]=!0})),e.exports=function(e){return a||o(!1),p.hasOwnProperty(e)||(e="*"),i.hasOwnProperty(e)||(a.innerHTML="*"===e?"<link />":"<"+e+"></"+e+">",i[e]=!a.firstChild),i[e]?p[e]:null}},3338:e=>{"use strict";e.exports=function(e){return e===window?{x:window.pageXOffset||document.documentElement.scrollLeft,y:window.pageYOffset||document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}}},8722:e=>{"use strict";var t=/([A-Z])/g;e.exports=function(e){return e.replace(t,"-$1").toLowerCase()}},2016:(e,t,n)=>{"use strict";var r=n(8722),o=/^ms-/;e.exports=function(e){return r(e).replace(o,"-ms-")}},7081:e=>{"use strict";e.exports=function(e,t,n,r,o,a,i,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,a,i,s],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},6447:e=>{"use strict";e.exports=function(e){return!(!e||!("function"==typeof Node?e instanceof Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}},4707:(e,t,n)=>{"use strict";var r=n(6447);e.exports=function(e){return r(e)&&3==e.nodeType}},9951:e=>{"use strict";e.exports=function(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}}},4366:e=>{"use strict";var t=Object.prototype.hasOwnProperty;function n(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}e.exports=function(e,r){if(n(e,r))return!0;if("object"!=typeof e||null===e||"object"!=typeof r||null===r)return!1;var o=Object.keys(e),a=Object.keys(r);if(o.length!==a.length)return!1;for(var i=0;i<o.length;i++)if(!t.call(r,o[i])||!n(e[o[i]],r[o[i]]))return!1;return!0}},2264:(e,t,n)=>{"use strict";var r=n(3743);e.exports=r},6629:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=n.p+"5be1347c682810f199c7f486f40c5974.eot"},3996:e=>{"use strict";e.exports=function(e,t,n,r,o,a,i,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,a,i,s],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},9e3:(e,t)=>{var n=(t=e.exports=function(e){if(e&&"object"==typeof e){var t=e.which||e.keyCode||e.charCode;t&&(e=t)}if("number"==typeof e)return a[e];var o,i=String(e);return(o=n[i.toLowerCase()])?o:(o=r[i.toLowerCase()])||(1===i.length?i.charCodeAt(0):void 0)}).code=t.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},r=t.aliases={windows:91,"⇧":16,"⌥":18,"⌃":17,"⌘":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};for(o=97;o<123;o++)n[String.fromCharCode(o)]=o-32;for(var o=48;o<58;o++)n[o-48]=o;for(o=1;o<13;o++)n["f"+o]=o+111;for(o=0;o<10;o++)n["numpad "+o]=o+96;var a=t.names=t.title={};for(o in n)a[n[o]]=o;for(var i in r)n[i]=r[i]},2525:e=>{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,a){for(var i,s,l=o(e),c=1;c<arguments.length;c++){for(var u in i=Object(arguments[c]))n.call(i,u)&&(l[u]=i[u]);if(t){s=t(i);for(var p=0;p<s.length;p++)r.call(i,s[p])&&(l[s[p]]=i[s[p]])}}return l}},7803:function(module,__unused_webpack_exports,__webpack_require__){var factory;factory=function(){return(()=>{"use strict";var __webpack_modules__=[,(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.addLinkAttributes=function(e,{url:t,target:n,rel:a,enabled:i=!0}={}){(0,r.assert)(t&&"string"==typeof t,'addLinkAttributes: A valid "url" parameter must provided.');const s=(0,r.removeNullCharacters)(t);i?e.href=e.title=s:(e.href="",e.title=`Disabled: ${s}`,e.onclick=()=>!1);let l="";switch(n){case u.NONE:break;case u.SELF:l="_self";break;case u.BLANK:l="_blank";break;case u.PARENT:l="_parent";break;case u.TOP:l="_top"}e.target=l,e.rel="string"==typeof a?a:o},t.deprecated=function(e){console.log("Deprecated API usage: "+e)},t.getFilenameFromUrl=function(e){const t=e.indexOf("#"),n=e.indexOf("?"),r=Math.min(t>0?t:e.length,n>0?n:e.length);return e.substring(e.lastIndexOf("/",r)+1,r)},t.getPdfFilenameFromUrl=function(e,t="document.pdf"){if("string"!=typeof e)return t;if(p(e))return(0,r.warn)('getPdfFilenameFromUrl: ignore "data:"-URL for performance reasons.'),t;const n=/[^/?#=]+\.pdf\b(?!.*\.pdf\b)/i,o=/^(?:(?:[^:]+:)?\/\/[^/]+)?([^?#]*)(\?[^#]*)?(#.*)?$/.exec(e);let a=n.exec(o[1])||n.exec(o[2])||n.exec(o[3]);if(a&&(a=a[0],a.includes("%")))try{a=n.exec(decodeURIComponent(a))[0]}catch(e){}return a||t},t.isDataScheme=p,t.isFetchSupported=d,t.isPdfFile=function(e){return"string"==typeof e&&/\.pdf$/i.test(e)},t.isValidFetchUrl=f,t.loadScript=function(e,t=!1){return new Promise(((n,r)=>{const o=document.createElement("script");o.src=e,o.onload=function(e){t&&o.remove(),n(e)},o.onerror=function(){r(new Error(`Cannot load script at: ${o.src}`))},(document.head||document.documentElement).appendChild(o)}))},t.StatTimer=t.RenderingCancelledException=t.PDFDateString=t.PageViewport=t.LinkTarget=t.DOMSVGFactory=t.DOMCMapReaderFactory=t.DOMCanvasFactory=t.DEFAULT_LINK_REL=t.BaseCMapReaderFactory=t.BaseCanvasFactory=void 0;var r=n(2);const o="noopener noreferrer nofollow";t.DEFAULT_LINK_REL=o;const a="http://www.w3.org/2000/svg";class i{constructor(){this.constructor===i&&(0,r.unreachable)("Cannot initialize BaseCanvasFactory.")}create(e,t){(0,r.unreachable)("Abstract method `create` called.")}reset(e,t,n){if(!e.canvas)throw new Error("Canvas is not specified");if(t<=0||n<=0)throw new Error("Invalid canvas size");e.canvas.width=t,e.canvas.height=n}destroy(e){if(!e.canvas)throw new Error("Canvas is not specified");e.canvas.width=0,e.canvas.height=0,e.canvas=null,e.context=null}}t.BaseCanvasFactory=i,t.DOMCanvasFactory=class extends i{constructor({ownerDocument:e=globalThis.document}={}){super(),this._document=e}create(e,t){if(e<=0||t<=0)throw new Error("Invalid canvas size");const n=this._document.createElement("canvas"),r=n.getContext("2d");return n.width=e,n.height=t,{canvas:n,context:r}}};class s{constructor({baseUrl:e=null,isCompressed:t=!1}){this.constructor===s&&(0,r.unreachable)("Cannot initialize BaseCMapReaderFactory."),this.baseUrl=e,this.isCompressed=t}async fetch({name:e}){if(!this.baseUrl)throw new Error('The CMap "baseUrl" parameter must be specified, ensure that the "cMapUrl" and "cMapPacked" API parameters are provided.');if(!e)throw new Error("CMap name must be specified.");const t=this.baseUrl+e+(this.isCompressed?".bcmap":""),n=this.isCompressed?r.CMapCompressionType.BINARY:r.CMapCompressionType.NONE;return this._fetchData(t,n).catch((e=>{throw new Error(`Unable to load ${this.isCompressed?"binary ":""}CMap at: ${t}`)}))}_fetchData(e,t){(0,r.unreachable)("Abstract method `_fetchData` called.")}}t.BaseCMapReaderFactory=s,t.DOMCMapReaderFactory=class extends s{_fetchData(e,t){return d()&&f(e,document.baseURI)?fetch(e).then((async e=>{if(!e.ok)throw new Error(e.statusText);let n;return n=this.isCompressed?new Uint8Array(await e.arrayBuffer()):(0,r.stringToBytes)(await e.text()),{cMapData:n,compressionType:t}})):new Promise(((n,o)=>{const a=new XMLHttpRequest;a.open("GET",e,!0),this.isCompressed&&(a.responseType="arraybuffer"),a.onreadystatechange=()=>{if(a.readyState===XMLHttpRequest.DONE){if(200===a.status||0===a.status){let e;if(this.isCompressed&&a.response?e=new Uint8Array(a.response):!this.isCompressed&&a.responseText&&(e=(0,r.stringToBytes)(a.responseText)),e)return void n({cMapData:e,compressionType:t})}o(new Error(a.statusText))}},a.send(null)}))}},t.DOMSVGFactory=class{create(e,t){(0,r.assert)(e>0&&t>0,"Invalid SVG dimensions");const n=document.createElementNS(a,"svg:svg");return n.setAttribute("version","1.1"),n.setAttribute("width",e+"px"),n.setAttribute("height",t+"px"),n.setAttribute("preserveAspectRatio","none"),n.setAttribute("viewBox","0 0 "+e+" "+t),n}createElement(e){return(0,r.assert)("string"==typeof e,"Invalid SVG element type"),document.createElementNS(a,e)}};class l{constructor({viewBox:e,scale:t,rotation:n,offsetX:r=0,offsetY:o=0,dontFlip:a=!1}){this.viewBox=e,this.scale=t,this.rotation=n,this.offsetX=r,this.offsetY=o;const i=(e[2]+e[0])/2,s=(e[3]+e[1])/2;let l,c,u,p,d,f,h,g;switch((n%=360)<0&&(n+=360),n){case 180:l=-1,c=0,u=0,p=1;break;case 90:l=0,c=1,u=1,p=0;break;case 270:l=0,c=-1,u=-1,p=0;break;case 0:l=1,c=0,u=0,p=-1;break;default:throw new Error("PageViewport: Invalid rotation, must be a multiple of 90 degrees.")}a&&(u=-u,p=-p),0===l?(d=Math.abs(s-e[1])*t+r,f=Math.abs(i-e[0])*t+o,h=Math.abs(e[3]-e[1])*t,g=Math.abs(e[2]-e[0])*t):(d=Math.abs(i-e[0])*t+r,f=Math.abs(s-e[1])*t+o,h=Math.abs(e[2]-e[0])*t,g=Math.abs(e[3]-e[1])*t),this.transform=[l*t,c*t,u*t,p*t,d-l*t*i-u*t*s,f-c*t*i-p*t*s],this.width=h,this.height=g}clone({scale:e=this.scale,rotation:t=this.rotation,offsetX:n=this.offsetX,offsetY:r=this.offsetY,dontFlip:o=!1}={}){return new l({viewBox:this.viewBox.slice(),scale:e,rotation:t,offsetX:n,offsetY:r,dontFlip:o})}convertToViewportPoint(e,t){return r.Util.applyTransform([e,t],this.transform)}convertToViewportRectangle(e){const t=r.Util.applyTransform([e[0],e[1]],this.transform),n=r.Util.applyTransform([e[2],e[3]],this.transform);return[t[0],t[1],n[0],n[1]]}convertToPdfPoint(e,t){return r.Util.applyInverseTransform([e,t],this.transform)}}t.PageViewport=l;class c extends r.BaseException{constructor(e,t){super(e),this.type=t}}t.RenderingCancelledException=c;const u={NONE:0,SELF:1,BLANK:2,PARENT:3,TOP:4};function p(e){const t=e.length;let n=0;for(;n<t&&""===e[n].trim();)n++;return"data:"===e.substring(n,n+5).toLowerCase()}function d(){return"undefined"!=typeof fetch&&"undefined"!=typeof Response&&"body"in Response.prototype&&"undefined"!=typeof ReadableStream}function f(e,t){try{const{protocol:n}=t?new URL(e,t):new URL(e);return"http:"===n||"https:"===n}catch(e){return!1}}let h;t.LinkTarget=u,t.StatTimer=class{constructor(){this.started=Object.create(null),this.times=[]}time(e){e in this.started&&(0,r.warn)(`Timer is already running for ${e}`),this.started[e]=Date.now()}timeEnd(e){e in this.started||(0,r.warn)(`Timer has not been started for ${e}`),this.times.push({name:e,start:this.started[e],end:Date.now()}),delete this.started[e]}toString(){const e=[];let t=0;for(const e of this.times){const n=e.name;n.length>t&&(t=n.length)}for(const n of this.times){const r=n.end-n.start;e.push(`${n.name.padEnd(t)} ${r}ms\n`)}return e.join("")}},t.PDFDateString=class{static toDateObject(e){if(!e||!(0,r.isString)(e))return null;h||(h=new RegExp("^D:(\\d{4})(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?([Z|+|-])?(\\d{2})?'?(\\d{2})?'?"));const t=h.exec(e);if(!t)return null;const n=parseInt(t[1],10);let o=parseInt(t[2],10);o=o>=1&&o<=12?o-1:0;let a=parseInt(t[3],10);a=a>=1&&a<=31?a:1;let i=parseInt(t[4],10);i=i>=0&&i<=23?i:0;let s=parseInt(t[5],10);s=s>=0&&s<=59?s:0;let l=parseInt(t[6],10);l=l>=0&&l<=59?l:0;const c=t[7]||"Z";let u=parseInt(t[8],10);u=u>=0&&u<=23?u:0;let p=parseInt(t[9],10)||0;return p=p>=0&&p<=59?p:0,"-"===c?(i+=u,s+=p):"+"===c&&(i-=u,s-=p),new Date(Date.UTC(n,o,a,i,s,l))}}},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.arrayByteLength=d,t.arraysToBytes=function(e){const t=e.length;if(1===t&&e[0]instanceof Uint8Array)return e[0];let n=0;for(let r=0;r<t;r++)n+=d(e[r]);let r=0;const o=new Uint8Array(n);for(let n=0;n<t;n++){let t=e[n];t instanceof Uint8Array||(t="string"==typeof t?p(t):new Uint8Array(t));const a=t.byteLength;o.set(t,r),r+=a}return o},t.assert=s,t.bytesToString=function(e){s(null!==e&&"object"==typeof e&&void 0!==e.length,"Invalid argument for bytesToString");const t=e.length,n=8192;if(t<n)return String.fromCharCode.apply(null,e);const r=[];for(let o=0;o<t;o+=n){const a=Math.min(o+n,t),i=e.subarray(o,a);r.push(String.fromCharCode.apply(null,i))}return r.join("")},t.createObjectURL=function(e,t="",n=!1){if(URL.createObjectURL&&!n)return URL.createObjectURL(new Blob([e],{type:t}));const r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";let o=`data:${t};base64,`;for(let t=0,n=e.length;t<n;t+=3){const a=255&e[t],i=255&e[t+1],s=255&e[t+2];o+=r[a>>2]+r[(3&a)<<4|i>>4]+r[t+1<n?(15&i)<<2|s>>6:64]+r[t+2<n?63&s:64]}return o},t.createPromiseCapability=function(){const e=Object.create(null);let t=!1;return Object.defineProperty(e,"settled",{get:()=>t}),e.promise=new Promise((function(n,r){e.resolve=function(e){t=!0,n(e)},e.reject=function(e){t=!0,r(e)}})),e},t.createValidAbsoluteUrl=function(e,t){if(!e)return null;try{const n=t?new URL(e,t):new URL(e);if(function(e){if(!e)return!1;switch(e.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}(n))return n}catch(e){}return null},t.escapeString=function(e){return e.replace(/([()\\\n\r])/g,(e=>"\n"===e?"\\n":"\r"===e?"\\r":`\\${e}`))},t.getModificationDate=function(e=new Date){return[e.getUTCFullYear().toString(),(e.getUTCMonth()+1).toString().padStart(2,"0"),e.getUTCDate().toString().padStart(2,"0"),e.getUTCHours().toString().padStart(2,"0"),e.getUTCMinutes().toString().padStart(2,"0"),e.getUTCSeconds().toString().padStart(2,"0")].join("")},t.getVerbosityLevel=function(){return o},t.info=function(e){o>=r.INFOS&&console.log(`Info: ${e}`)},t.isArrayBuffer=function(e){return"object"==typeof e&&null!==e&&void 0!==e.byteLength},t.isArrayEqual=function(e,t){if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n++)if(e[n]!==t[n])return!1;return!0},t.isAscii=function(e){return/^[\x00-\x7F]*$/.test(e)},t.isBool=function(e){return"boolean"==typeof e},t.isNum=function(e){return"number"==typeof e},t.isSameOrigin=function(e,t){let n;try{if(n=new URL(e),!n.origin||"null"===n.origin)return!1}catch(e){return!1}const r=new URL(t,n);return n.origin===r.origin},t.isString=function(e){return"string"==typeof e},t.objectFromMap=function(e){const t=Object.create(null);for(const[n,r]of e)t[n]=r;return t},t.objectSize=function(e){return Object.keys(e).length},t.removeNullCharacters=function(e){return"string"!=typeof e?(a("The argument for removeNullCharacters must be a string."),e):e.replace(u,"")},t.setVerbosityLevel=function(e){Number.isInteger(e)&&(o=e)},t.shadow=l,t.string32=function(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)},t.stringToBytes=p,t.stringToPDFString=function(e){const t=e.length,n=[];if("þ"===e[0]&&"ÿ"===e[1])for(let r=2;r<t;r+=2)n.push(String.fromCharCode(e.charCodeAt(r)<<8|e.charCodeAt(r+1)));else if("ÿ"===e[0]&&"þ"===e[1])for(let r=2;r<t;r+=2)n.push(String.fromCharCode(e.charCodeAt(r+1)<<8|e.charCodeAt(r)));else for(let r=0;r<t;++r){const t=m[e.charCodeAt(r)];n.push(t?String.fromCharCode(t):e.charAt(r))}return n.join("")},t.stringToUTF16BEString=function(e){const t=["þÿ"];for(let n=0,r=e.length;n<r;n++){const r=e.charCodeAt(n);t.push(String.fromCharCode(r>>8&255)),t.push(String.fromCharCode(255&r))}return t.join("")},t.stringToUTF8String=function(e){return decodeURIComponent(escape(e))},t.unreachable=i,t.utf8StringToString=function(e){return unescape(encodeURIComponent(e))},t.warn=a,t.VerbosityLevel=t.Util=t.UNSUPPORTED_FEATURES=t.UnknownErrorException=t.UnexpectedResponseException=t.TextRenderingMode=t.StreamType=t.PermissionFlag=t.PasswordResponses=t.PasswordException=t.PageActionEventType=t.OPS=t.MissingPDFException=t.IsLittleEndianCached=t.IsEvalSupportedCached=t.InvalidPDFException=t.ImageKind=t.IDENTITY_MATRIX=t.FormatError=t.FontType=t.FONT_IDENTITY_MATRIX=t.DocumentActionEventType=t.CMapCompressionType=t.BaseException=t.AnnotationType=t.AnnotationStateModelType=t.AnnotationReviewState=t.AnnotationReplyType=t.AnnotationMarkedState=t.AnnotationFlag=t.AnnotationFieldFlag=t.AnnotationBorderStyleType=t.AnnotationActionEventType=t.AbortException=void 0,n(3),t.IDENTITY_MATRIX=[1,0,0,1,0,0],t.FONT_IDENTITY_MATRIX=[.001,0,0,.001,0,0],t.PermissionFlag={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},t.TextRenderingMode={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4},t.ImageKind={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},t.AnnotationType={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26},t.AnnotationStateModelType={MARKED:"Marked",REVIEW:"Review"},t.AnnotationMarkedState={MARKED:"Marked",UNMARKED:"Unmarked"},t.AnnotationReviewState={ACCEPTED:"Accepted",REJECTED:"Rejected",CANCELLED:"Cancelled",COMPLETED:"Completed",NONE:"None"},t.AnnotationReplyType={GROUP:"Group",REPLY:"R"},t.AnnotationFlag={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512},t.AnnotationFieldFlag={READONLY:1,REQUIRED:2,NOEXPORT:4,MULTILINE:4096,PASSWORD:8192,NOTOGGLETOOFF:16384,RADIO:32768,PUSHBUTTON:65536,COMBO:131072,EDIT:262144,SORT:524288,FILESELECT:1048576,MULTISELECT:2097152,DONOTSPELLCHECK:4194304,DONOTSCROLL:8388608,COMB:16777216,RICHTEXT:33554432,RADIOSINUNISON:33554432,COMMITONSELCHANGE:67108864},t.AnnotationBorderStyleType={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5},t.AnnotationActionEventType={E:"Mouse Enter",X:"Mouse Exit",D:"Mouse Down",U:"Mouse Up",Fo:"Focus",Bl:"Blur",PO:"PageOpen",PC:"PageClose",PV:"PageVisible",PI:"PageInvisible",K:"Keystroke",F:"Format",V:"Validate",C:"Calculate"},t.DocumentActionEventType={WC:"WillClose",WS:"WillSave",DS:"DidSave",WP:"WillPrint",DP:"DidPrint"},t.PageActionEventType={O:"PageOpen",C:"PageClose"},t.StreamType={UNKNOWN:"UNKNOWN",FLATE:"FLATE",LZW:"LZW",DCT:"DCT",JPX:"JPX",JBIG:"JBIG",A85:"A85",AHX:"AHX",CCF:"CCF",RLX:"RLX"},t.FontType={UNKNOWN:"UNKNOWN",TYPE1:"TYPE1",TYPE1C:"TYPE1C",CIDFONTTYPE0:"CIDFONTTYPE0",CIDFONTTYPE0C:"CIDFONTTYPE0C",TRUETYPE:"TRUETYPE",CIDFONTTYPE2:"CIDFONTTYPE2",TYPE3:"TYPE3",OPENTYPE:"OPENTYPE",TYPE0:"TYPE0",MMTYPE1:"MMTYPE1"};const r={ERRORS:0,WARNINGS:1,INFOS:5};t.VerbosityLevel=r,t.CMapCompressionType={NONE:0,BINARY:1,STREAM:2},t.OPS={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotations:78,endAnnotations:79,beginAnnotation:80,endAnnotation:81,paintJpegXObject:82,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91},t.UNSUPPORTED_FEATURES={unknown:"unknown",forms:"forms",javaScript:"javaScript",smask:"smask",shadingPattern:"shadingPattern",font:"font",errorTilingPattern:"errorTilingPattern",errorExtGState:"errorExtGState",errorXObject:"errorXObject",errorFontLoadType3:"errorFontLoadType3",errorFontState:"errorFontState",errorFontMissing:"errorFontMissing",errorFontTranslate:"errorFontTranslate",errorColorSpace:"errorColorSpace",errorOperatorList:"errorOperatorList",errorFontToUnicode:"errorFontToUnicode",errorFontLoadNative:"errorFontLoadNative",errorFontGetPath:"errorFontGetPath",errorMarkedContent:"errorMarkedContent"},t.PasswordResponses={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};let o=r.WARNINGS;function a(e){o>=r.WARNINGS&&console.log(`Warning: ${e}`)}function i(e){throw new Error(e)}function s(e,t){e||i(t)}function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!1}),n}const c=function(){function e(t){this.constructor===e&&i("Cannot initialize BaseException."),this.message=t,this.name=this.constructor.name}return e.prototype=new Error,e.constructor=e,e}();t.BaseException=c,t.PasswordException=class extends c{constructor(e,t){super(e),this.code=t}},t.UnknownErrorException=class extends c{constructor(e,t){super(e),this.details=t}},t.InvalidPDFException=class extends c{},t.MissingPDFException=class extends c{},t.UnexpectedResponseException=class extends c{constructor(e,t){super(e),this.status=t}},t.FormatError=class extends c{},t.AbortException=class extends c{};const u=/\x00/g;function p(e){s("string"==typeof e,"Invalid argument for stringToBytes");const t=e.length,n=new Uint8Array(t);for(let r=0;r<t;++r)n[r]=255&e.charCodeAt(r);return n}function d(e){return void 0!==e.length?e.length:(s(void 0!==e.byteLength,"arrayByteLength - invalid argument."),e.byteLength)}const f={get value(){return l(this,"value",function(){const e=new Uint8Array(4);return e[0]=1,1===new Uint32Array(e.buffer,0,1)[0]}())}};t.IsLittleEndianCached=f;const h={get value(){return l(this,"value",function(){try{return new Function(""),!0}catch(e){return!1}}())}};t.IsEvalSupportedCached=h;const g=[...Array(256).keys()].map((e=>e.toString(16).padStart(2,"0")));class b{static makeHexColor(e,t,n){return`#${g[e]}${g[t]}${g[n]}`}static transform(e,t){return[e[0]*t[0]+e[2]*t[1],e[1]*t[0]+e[3]*t[1],e[0]*t[2]+e[2]*t[3],e[1]*t[2]+e[3]*t[3],e[0]*t[4]+e[2]*t[5]+e[4],e[1]*t[4]+e[3]*t[5]+e[5]]}static applyTransform(e,t){return[e[0]*t[0]+e[1]*t[2]+t[4],e[0]*t[1]+e[1]*t[3]+t[5]]}static applyInverseTransform(e,t){const n=t[0]*t[3]-t[1]*t[2];return[(e[0]*t[3]-e[1]*t[2]+t[2]*t[5]-t[4]*t[3])/n,(-e[0]*t[1]+e[1]*t[0]+t[4]*t[1]-t[5]*t[0])/n]}static getAxialAlignedBoundingBox(e,t){const n=b.applyTransform(e,t),r=b.applyTransform(e.slice(2,4),t),o=b.applyTransform([e[0],e[3]],t),a=b.applyTransform([e[2],e[1]],t);return[Math.min(n[0],r[0],o[0],a[0]),Math.min(n[1],r[1],o[1],a[1]),Math.max(n[0],r[0],o[0],a[0]),Math.max(n[1],r[1],o[1],a[1])]}static inverseTransform(e){const t=e[0]*e[3]-e[1]*e[2];return[e[3]/t,-e[1]/t,-e[2]/t,e[0]/t,(e[2]*e[5]-e[4]*e[3])/t,(e[4]*e[1]-e[5]*e[0])/t]}static apply3dTransform(e,t){return[e[0]*t[0]+e[1]*t[1]+e[2]*t[2],e[3]*t[0]+e[4]*t[1]+e[5]*t[2],e[6]*t[0]+e[7]*t[1]+e[8]*t[2]]}static singularValueDecompose2dScale(e){const t=[e[0],e[2],e[1],e[3]],n=e[0]*t[0]+e[1]*t[2],r=e[0]*t[1]+e[1]*t[3],o=e[2]*t[0]+e[3]*t[2],a=e[2]*t[1]+e[3]*t[3],i=(n+a)/2,s=Math.sqrt((n+a)**2-4*(n*a-o*r))/2,l=i+s||1,c=i-s||1;return[Math.sqrt(l),Math.sqrt(c)]}static normalizeRect(e){const t=e.slice(0);return e[0]>e[2]&&(t[0]=e[2],t[2]=e[0]),e[1]>e[3]&&(t[1]=e[3],t[3]=e[1]),t}static intersect(e,t){function n(e,t){return e-t}const r=[e[0],e[2],t[0],t[2]].sort(n),o=[e[1],e[3],t[1],t[3]].sort(n),a=[];return e=b.normalizeRect(e),t=b.normalizeRect(t),r[0]===e[0]&&r[1]===t[0]||r[0]===t[0]&&r[1]===e[0]?(a[0]=r[1],a[2]=r[2],o[0]===e[1]&&o[1]===t[1]||o[0]===t[1]&&o[1]===e[1]?(a[1]=o[1],a[3]=o[2],a):null):null}}t.Util=b;const m=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,728,711,710,729,733,731,730,732,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8226,8224,8225,8230,8212,8211,402,8260,8249,8250,8722,8240,8222,8220,8221,8216,8217,8218,8482,64257,64258,321,338,352,376,381,305,322,339,353,382,0,8364]},(e,t,n)=>{n(4)},(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isNodeJS=void 0;const n=!("object"!=typeof process||process+""!="[object process]"||process.versions.nw||process.versions.electron&&process.type&&"browser"!==process.type);t.isNodeJS=n},(__unused_webpack_module,exports,__w_pdfjs_require__)=>{Object.defineProperty(exports,"__esModule",{value:!0}),exports.getDocument=getDocument,exports.setPDFNetworkStreamFactory=setPDFNetworkStreamFactory,exports.version=exports.PDFWorker=exports.PDFPageProxy=exports.PDFDocumentProxy=exports.PDFDataRangeTransport=exports.LoopbackPort=exports.DefaultCMapReaderFactory=exports.DefaultCanvasFactory=exports.build=void 0;var _util=__w_pdfjs_require__(2),_display_utils=__w_pdfjs_require__(1),_font_loader=__w_pdfjs_require__(6),_node_utils=__w_pdfjs_require__(7),_annotation_storage=__w_pdfjs_require__(8),_api_compatibility=__w_pdfjs_require__(9),_canvas=__w_pdfjs_require__(10),_worker_options=__w_pdfjs_require__(12),_is_node=__w_pdfjs_require__(4),_message_handler=__w_pdfjs_require__(13),_metadata=__w_pdfjs_require__(14),_optional_content_config=__w_pdfjs_require__(15),_transport_stream=__w_pdfjs_require__(16),_webgl=__w_pdfjs_require__(17);const DEFAULT_RANGE_CHUNK_SIZE=65536,RENDERING_CANCELLED_TIMEOUT=100,DefaultCanvasFactory=_is_node.isNodeJS?_node_utils.NodeCanvasFactory:_display_utils.DOMCanvasFactory;exports.DefaultCanvasFactory=DefaultCanvasFactory;const DefaultCMapReaderFactory=_is_node.isNodeJS?_node_utils.NodeCMapReaderFactory:_display_utils.DOMCMapReaderFactory;let createPDFNetworkStream;function setPDFNetworkStreamFactory(e){createPDFNetworkStream=e}function getDocument(e){const t=new PDFDocumentLoadingTask;let n;if("string"==typeof e||e instanceof URL)n={url:e};else if((0,_util.isArrayBuffer)(e))n={data:e};else if(e instanceof PDFDataRangeTransport)n={range:e};else{if("object"!=typeof e)throw new Error("Invalid parameter in getDocument, need either string, URL, Uint8Array, or parameter object.");if(!e.url&&!e.data&&!e.range)throw new Error("Invalid parameter object: need either .data, .range or .url");n=e}const r=Object.create(null);let o=null,a=null;for(const e in n){const t=n[e];switch(e){case"url":if("undefined"!=typeof window)try{r[e]=new URL(t,window.location).href;continue}catch(e){(0,_util.warn)(`Cannot create valid URL: "${e}".`)}else if("string"==typeof t||t instanceof URL){r[e]=t.toString();continue}throw new Error("Invalid PDF url data: either string or URL-object is expected in the url property.");case"range":o=t;continue;case"worker":a=t;continue;case"data":if(_is_node.isNodeJS&&"undefined"!=typeof Buffer&&t instanceof Buffer)r[e]=new Uint8Array(t);else{if(t instanceof Uint8Array)break;if("string"==typeof t)r[e]=(0,_util.stringToBytes)(t);else if("object"!=typeof t||null===t||isNaN(t.length)){if(!(0,_util.isArrayBuffer)(t))throw new Error("Invalid PDF binary data: either typed array, string, or array-like object is expected in the data property.");r[e]=new Uint8Array(t)}else r[e]=new Uint8Array(t)}continue}r[e]=t}if(r.rangeChunkSize=r.rangeChunkSize||DEFAULT_RANGE_CHUNK_SIZE,r.CMapReaderFactory=r.CMapReaderFactory||DefaultCMapReaderFactory,r.ignoreErrors=!0!==r.stopAtErrors,r.fontExtraProperties=!0===r.fontExtraProperties,r.pdfBug=!0===r.pdfBug,r.enableXfa=!0===r.enableXfa,("string"!=typeof r.docBaseUrl||(0,_display_utils.isDataScheme)(r.docBaseUrl))&&(r.docBaseUrl=null),Number.isInteger(r.maxImageSize)||(r.maxImageSize=-1),"boolean"!=typeof r.isEvalSupported&&(r.isEvalSupported=!0),"boolean"!=typeof r.disableFontFace&&(r.disableFontFace=_api_compatibility.apiCompatibilityParams.disableFontFace||!1),void 0===r.ownerDocument&&(r.ownerDocument=globalThis.document),"boolean"!=typeof r.disableRange&&(r.disableRange=!1),"boolean"!=typeof r.disableStream&&(r.disableStream=!1),"boolean"!=typeof r.disableAutoFetch&&(r.disableAutoFetch=!1),(0,_util.setVerbosityLevel)(r.verbosity),!a){const e={verbosity:r.verbosity,port:_worker_options.GlobalWorkerOptions.workerPort};a=e.port?PDFWorker.fromPort(e):new PDFWorker(e),t._worker=a}const i=t.docId;return a.promise.then((function(){if(t.destroyed)throw new Error("Loading aborted");const e=_fetchDocument(a,r,o,i),n=new Promise((function(e){let t;o?t=new _transport_stream.PDFDataTransportStream({length:r.length,initialData:r.initialData,progressiveDone:r.progressiveDone,contentDispositionFilename:r.contentDispositionFilename,disableRange:r.disableRange,disableStream:r.disableStream},o):r.data||(t=createPDFNetworkStream({url:r.url,length:r.length,httpHeaders:r.httpHeaders,withCredentials:r.withCredentials,rangeChunkSize:r.rangeChunkSize,disableRange:r.disableRange,disableStream:r.disableStream})),e(t)}));return Promise.all([e,n]).then((function([e,n]){if(t.destroyed)throw new Error("Loading aborted");const o=new _message_handler.MessageHandler(i,e,a.port);o.postMessageTransfers=a.postMessageTransfers;const s=new WorkerTransport(o,t,n,r);t._transport=s,o.send("Ready",null)}))})).catch(t._capability.reject),t}function _fetchDocument(e,t,n,r){return e.destroyed?Promise.reject(new Error("Worker was destroyed")):(n&&(t.length=n.length,t.initialData=n.initialData,t.progressiveDone=n.progressiveDone,t.contentDispositionFilename=n.contentDispositionFilename),e.messageHandler.sendWithPromise("GetDocRequest",{docId:r,apiVersion:"2.8.335",source:{data:t.data,url:t.url,password:t.password,disableAutoFetch:t.disableAutoFetch,rangeChunkSize:t.rangeChunkSize,length:t.length},maxImageSize:t.maxImageSize,disableFontFace:t.disableFontFace,postMessageTransfers:e.postMessageTransfers,docBaseUrl:t.docBaseUrl,ignoreErrors:t.ignoreErrors,isEvalSupported:t.isEvalSupported,fontExtraProperties:t.fontExtraProperties,enableXfa:t.enableXfa}).then((function(t){if(e.destroyed)throw new Error("Worker was destroyed");return t})))}exports.DefaultCMapReaderFactory=DefaultCMapReaderFactory;const PDFDocumentLoadingTask=function(){let e=0;return class{constructor(){this._capability=(0,_util.createPromiseCapability)(),this._transport=null,this._worker=null,this.docId="d"+e++,this.destroyed=!1,this.onPassword=null,this.onProgress=null,this.onUnsupportedFeature=null}get promise(){return this._capability.promise}destroy(){return this.destroyed=!0,(this._transport?this._transport.destroy():Promise.resolve()).then((()=>{this._transport=null,this._worker&&(this._worker.destroy(),this._worker=null)}))}}}();class PDFDataRangeTransport{constructor(e,t,n=!1,r=null){this.length=e,this.initialData=t,this.progressiveDone=n,this.contentDispositionFilename=r,this._rangeListeners=[],this._progressListeners=[],this._progressiveReadListeners=[],this._progressiveDoneListeners=[],this._readyCapability=(0,_util.createPromiseCapability)()}addRangeListener(e){this._rangeListeners.push(e)}addProgressListener(e){this._progressListeners.push(e)}addProgressiveReadListener(e){this._progressiveReadListeners.push(e)}addProgressiveDoneListener(e){this._progressiveDoneListeners.push(e)}onDataRange(e,t){for(const n of this._rangeListeners)n(e,t)}onDataProgress(e,t){this._readyCapability.promise.then((()=>{for(const n of this._progressListeners)n(e,t)}))}onDataProgressiveRead(e){this._readyCapability.promise.then((()=>{for(const t of this._progressiveReadListeners)t(e)}))}onDataProgressiveDone(){this._readyCapability.promise.then((()=>{for(const e of this._progressiveDoneListeners)e()}))}transportReady(){this._readyCapability.resolve()}requestDataRange(e,t){(0,_util.unreachable)("Abstract method PDFDataRangeTransport.requestDataRange")}abort(){}}exports.PDFDataRangeTransport=PDFDataRangeTransport;class PDFDocumentProxy{constructor(e,t){this._pdfInfo=e,this._transport=t}get annotationStorage(){return(0,_util.shadow)(this,"annotationStorage",new _annotation_storage.AnnotationStorage)}get numPages(){return this._pdfInfo.numPages}get fingerprint(){return this._pdfInfo.fingerprint}get isPureXfa(){return this._pdfInfo.isPureXfa}getPage(e){return this._transport.getPage(e)}getPageIndex(e){return this._transport.getPageIndex(e)}getDestinations(){return this._transport.getDestinations()}getDestination(e){return this._transport.getDestination(e)}getPageLabels(){return this._transport.getPageLabels()}getPageLayout(){return this._transport.getPageLayout()}getPageMode(){return this._transport.getPageMode()}getViewerPreferences(){return this._transport.getViewerPreferences()}getOpenAction(){return this._transport.getOpenAction()}getAttachments(){return this._transport.getAttachments()}getJavaScript(){return this._transport.getJavaScript()}getJSActions(){return this._transport.getDocJSActions()}getOutline(){return this._transport.getOutline()}getOptionalContentConfig(){return this._transport.getOptionalContentConfig()}getPermissions(){return this._transport.getPermissions()}getMetadata(){return this._transport.getMetadata()}getMarkInfo(){return this._transport.getMarkInfo()}getData(){return this._transport.getData()}getDownloadInfo(){return this._transport.downloadInfoCapability.promise}getStats(){return this._transport.getStats()}cleanup(e=!1){return this._transport.startCleanup(e||this.isPureXfa)}destroy(){return this.loadingTask.destroy()}get loadingParams(){return this._transport.loadingParams}get loadingTask(){return this._transport.loadingTask}saveDocument(e){return this._transport.saveDocument(e)}getFieldObjects(){return this._transport.getFieldObjects()}hasJSActions(){return this._transport.hasJSActions()}getCalculationOrderIds(){return this._transport.getCalculationOrderIds()}}exports.PDFDocumentProxy=PDFDocumentProxy;class PDFPageProxy{constructor(e,t,n,r,o=!1){this._pageIndex=e,this._pageInfo=t,this._ownerDocument=r,this._transport=n,this._stats=o?new _display_utils.StatTimer:null,this._pdfBug=o,this.commonObjs=n.commonObjs,this.objs=new PDFObjects,this.cleanupAfterRender=!1,this.pendingCleanup=!1,this._intentStates=new Map,this.destroyed=!1}get pageNumber(){return this._pageIndex+1}get rotate(){return this._pageInfo.rotate}get ref(){return this._pageInfo.ref}get userUnit(){return this._pageInfo.userUnit}get view(){return this._pageInfo.view}getViewport({scale:e,rotation:t=this.rotate,offsetX:n=0,offsetY:r=0,dontFlip:o=!1}={}){return new _display_utils.PageViewport({viewBox:this.view,scale:e,rotation:t,offsetX:n,offsetY:r,dontFlip:o})}getAnnotations({intent:e=null}={}){return this._annotationsPromise&&this._annotationsIntent===e||(this._annotationsPromise=this._transport.getAnnotations(this._pageIndex,e),this._annotationsIntent=e),this._annotationsPromise}getJSActions(){return this._jsActionsPromise||(this._jsActionsPromise=this._transport.getPageJSActions(this._pageIndex))}getXfa(){return this._xfaPromise||(this._xfaPromise=this._transport.getPageXfa(this._pageIndex))}render({canvasContext:e,viewport:t,intent:n="display",enableWebGL:r=!1,renderInteractiveForms:o=!1,transform:a=null,imageLayer:i=null,canvasFactory:s=null,background:l=null,annotationStorage:c=null,optionalContentConfigPromise:u=null}){var p;this._stats&&this._stats.time("Overall");const d="print"===n?"print":"display";this.pendingCleanup=!1,u||(u=this._transport.getOptionalContentConfig());let f=this._intentStates.get(d);f||(f=Object.create(null),this._intentStates.set(d,f)),f.streamReaderCancelTimeout&&(clearTimeout(f.streamReaderCancelTimeout),f.streamReaderCancelTimeout=null);const h=s||new DefaultCanvasFactory({ownerDocument:this._ownerDocument}),g=new _webgl.WebGLContext({enable:r});f.displayReadyCapability||(f.displayReadyCapability=(0,_util.createPromiseCapability)(),f.operatorList={fnArray:[],argsArray:[],lastChunk:!1},this._stats&&this._stats.time("Page Request"),this._pumpOperatorList({pageIndex:this._pageIndex,intent:d,renderInteractiveForms:!0===o,annotationStorage:c?.serializable||null}));const b=e=>{f.renderTasks.delete(m),(this.cleanupAfterRender||"print"===d)&&(this.pendingCleanup=!0),this._tryCleanup(),e?(m.capability.reject(e),this._abortOperatorList({intentState:f,reason:e})):m.capability.resolve(),this._stats&&(this._stats.timeEnd("Rendering"),this._stats.timeEnd("Overall"))},m=new InternalRenderTask({callback:b,params:{canvasContext:e,viewport:t,transform:a,imageLayer:i,background:l},objs:this.objs,commonObjs:this.commonObjs,operatorList:f.operatorList,pageIndex:this._pageIndex,canvasFactory:h,webGLContext:g,useRequestAnimationFrame:"print"!==d,pdfBug:this._pdfBug});((p=f).renderTasks||(p.renderTasks=new Set)).add(m);const v=m.task;return Promise.all([f.displayReadyCapability.promise,u]).then((([e,t])=>{this.pendingCleanup?b():(this._stats&&this._stats.time("Rendering"),m.initializeGraphics({transparency:e,optionalContentConfig:t}),m.operatorListChanged())})).catch(b),v}getOperatorList(){const e="oplist";let t,n=this._intentStates.get(e);var r;return n||(n=Object.create(null),this._intentStates.set(e,n)),n.opListReadCapability||(t=Object.create(null),t.operatorListChanged=function(){n.operatorList.lastChunk&&(n.opListReadCapability.resolve(n.operatorList),n.renderTasks.delete(t))},n.opListReadCapability=(0,_util.createPromiseCapability)(),((r=n).renderTasks||(r.renderTasks=new Set)).add(t),n.operatorList={fnArray:[],argsArray:[],lastChunk:!1},this._stats&&this._stats.time("Page Request"),this._pumpOperatorList({pageIndex:this._pageIndex,intent:e})),n.opListReadCapability.promise}streamTextContent({normalizeWhitespace:e=!1,disableCombineTextItems:t=!1}={}){return this._transport.messageHandler.sendWithStream("GetTextContent",{pageIndex:this._pageIndex,normalizeWhitespace:!0===e,combineTextItems:!0!==t},{highWaterMark:100,size:e=>e.items.length})}getTextContent(e={}){const t=this.streamTextContent(e);return new Promise((function(e,n){const r=t.getReader(),o={items:[],styles:Object.create(null)};!function t(){r.read().then((function({value:n,done:r}){r?e(o):(Object.assign(o.styles,n.styles),o.items.push(...n.items),t())}),n)}()}))}_destroy(){this.destroyed=!0,this._transport.pageCache[this._pageIndex]=null;const e=[];for(const[t,n]of this._intentStates)if(this._abortOperatorList({intentState:n,reason:new Error("Page was destroyed."),force:!0}),"oplist"!==t)for(const t of n.renderTasks)e.push(t.completed),t.cancel();return this.objs.clear(),this._annotationsPromise=null,this._jsActionsPromise=null,this._xfaPromise=null,this.pendingCleanup=!1,Promise.all(e)}cleanup(e=!1){return this.pendingCleanup=!0,this._tryCleanup(e)}_tryCleanup(e=!1){if(!this.pendingCleanup)return!1;for(const{renderTasks:e,operatorList:t}of this._intentStates.values())if(e.size>0||!t.lastChunk)return!1;return this._intentStates.clear(),this.objs.clear(),this._annotationsPromise=null,this._jsActionsPromise=null,this._xfaPromise=null,e&&this._stats&&(this._stats=new _display_utils.StatTimer),this.pendingCleanup=!1,!0}_startRenderPage(e,t){const n=this._intentStates.get(t);n&&(this._stats&&this._stats.timeEnd("Page Request"),n.displayReadyCapability&&n.displayReadyCapability.resolve(e))}_renderPageChunk(e,t){for(let n=0,r=e.length;n<r;n++)t.operatorList.fnArray.push(e.fnArray[n]),t.operatorList.argsArray.push(e.argsArray[n]);t.operatorList.lastChunk=e.lastChunk;for(const e of t.renderTasks)e.operatorListChanged();e.lastChunk&&this._tryCleanup()}_pumpOperatorList(e){(0,_util.assert)(e.intent,'PDFPageProxy._pumpOperatorList: Expected "intent" argument.');const t=this._transport.messageHandler.sendWithStream("GetOperatorList",e).getReader(),n=this._intentStates.get(e.intent);n.streamReader=t;const r=()=>{t.read().then((({value:e,done:t})=>{t?n.streamReader=null:this._transport.destroyed||(this._renderPageChunk(e,n),r())}),(e=>{if(n.streamReader=null,!this._transport.destroyed){if(n.operatorList){n.operatorList.lastChunk=!0;for(const e of n.renderTasks)e.operatorListChanged();this._tryCleanup()}if(n.displayReadyCapability)n.displayReadyCapability.reject(e);else{if(!n.opListReadCapability)throw e;n.opListReadCapability.reject(e)}}}))};r()}_abortOperatorList({intentState:e,reason:t,force:n=!1}){if((0,_util.assert)(t instanceof Error||"object"==typeof t&&null!==t,'PDFPageProxy._abortOperatorList: Expected "reason" argument.'),e.streamReader){if(!n){if(e.renderTasks.size>0)return;if(t instanceof _display_utils.RenderingCancelledException)return void(e.streamReaderCancelTimeout=setTimeout((()=>{this._abortOperatorList({intentState:e,reason:t,force:!0}),e.streamReaderCancelTimeout=null}),RENDERING_CANCELLED_TIMEOUT))}if(e.streamReader.cancel(new _util.AbortException(t?.message)),e.streamReader=null,!this._transport.destroyed){for(const[t,n]of this._intentStates)if(n===e){this._intentStates.delete(t);break}this.cleanup()}}}get stats(){return this._stats}}exports.PDFPageProxy=PDFPageProxy;class LoopbackPort{constructor(){this._listeners=[],this._deferred=Promise.resolve(void 0)}postMessage(e,t){const n=new WeakMap,r={data:function e(r){if("object"!=typeof r||null===r)return r;if(n.has(r))return n.get(r);let o,a;if((o=r.buffer)&&(0,_util.isArrayBuffer)(o))return a=t?.includes(o)?new r.constructor(o,r.byteOffset,r.byteLength):new r.constructor(r),n.set(r,a),a;if(r instanceof Map){a=new Map,n.set(r,a);for(const[t,n]of r)a.set(t,e(n));return a}if(r instanceof Set){a=new Set,n.set(r,a);for(const t of r)a.add(e(t));return a}a=Array.isArray(r)?[]:{},n.set(r,a);for(const t in r){let n,o=r;for(;!(n=Object.getOwnPropertyDescriptor(o,t));)o=Object.getPrototypeOf(o);if(void 0!==n.value)if("function"!=typeof n.value)a[t]=e(n.value);else if(r.hasOwnProperty?.(t))throw new Error(`LoopbackPort.postMessage - cannot clone: ${r[t]}`)}return a}(e)};this._deferred.then((()=>{for(const e of this._listeners)e.call(this,r)}))}addEventListener(e,t){this._listeners.push(t)}removeEventListener(e,t){const n=this._listeners.indexOf(t);this._listeners.splice(n,1)}terminate(){this._listeners.length=0}}exports.LoopbackPort=LoopbackPort;const PDFWorker=function PDFWorkerClosure(){const pdfWorkerPorts=new WeakMap;let isWorkerDisabled=!1,fallbackWorkerSrc,nextFakeWorkerId=0,fakeWorkerCapability;if(_is_node.isNodeJS)isWorkerDisabled=!0,fallbackWorkerSrc="./pdf.worker.js";else if("object"==typeof document&&"currentScript"in document){const e=document.currentScript?.src;e&&(fallbackWorkerSrc=e.replace(/(\.(?:min\.)?js)(\?.*)?$/i,".worker$1$2"))}function getWorkerSrc(){if(_worker_options.GlobalWorkerOptions.workerSrc)return _worker_options.GlobalWorkerOptions.workerSrc;if(void 0!==fallbackWorkerSrc)return _is_node.isNodeJS||(0,_display_utils.deprecated)('No "GlobalWorkerOptions.workerSrc" specified.'),fallbackWorkerSrc;throw new Error('No "GlobalWorkerOptions.workerSrc" specified.')}function getMainThreadWorkerMessageHandler(){let e;try{e=globalThis.pdfjsWorker?.WorkerMessageHandler}catch(e){}return e||null}function setupFakeWorkerGlobal(){if(fakeWorkerCapability)return fakeWorkerCapability.promise;fakeWorkerCapability=(0,_util.createPromiseCapability)();const loader=async function(){const mainWorkerMessageHandler=getMainThreadWorkerMessageHandler();if(mainWorkerMessageHandler)return mainWorkerMessageHandler;if(_is_node.isNodeJS){const worker=eval("require")(getWorkerSrc());return worker.WorkerMessageHandler}return await(0,_display_utils.loadScript)(getWorkerSrc()),window.pdfjsWorker.WorkerMessageHandler};return loader().then(fakeWorkerCapability.resolve,fakeWorkerCapability.reject),fakeWorkerCapability.promise}function createCDNWrapper(e){const t="importScripts('"+e+"');";return URL.createObjectURL(new Blob([t]))}class PDFWorker{constructor({name:e=null,port:t=null,verbosity:n=(0,_util.getVerbosityLevel)()}={}){if(t&&pdfWorkerPorts.has(t))throw new Error("Cannot use more than one PDFWorker per port");if(this.name=e,this.destroyed=!1,this.postMessageTransfers=!0,this.verbosity=n,this._readyCapability=(0,_util.createPromiseCapability)(),this._port=null,this._webWorker=null,this._messageHandler=null,t)return pdfWorkerPorts.set(t,this),void this._initializeFromPort(t);this._initialize()}get promise(){return this._readyCapability.promise}get port(){return this._port}get messageHandler(){return this._messageHandler}_initializeFromPort(e){this._port=e,this._messageHandler=new _message_handler.MessageHandler("main","worker",e),this._messageHandler.on("ready",(function(){})),this._readyCapability.resolve()}_initialize(){if("undefined"!=typeof Worker&&!isWorkerDisabled&&!getMainThreadWorkerMessageHandler()){let e=getWorkerSrc();try{(0,_util.isSameOrigin)(window.location.href,e)||(e=createCDNWrapper(new URL(e,window.location).href));const t=new Worker(e),n=new _message_handler.MessageHandler("main","worker",t),r=()=>{t.removeEventListener("error",o),n.destroy(),t.terminate(),this.destroyed?this._readyCapability.reject(new Error("Worker was destroyed")):this._setupFakeWorker()},o=()=>{this._webWorker||r()};t.addEventListener("error",o),n.on("test",(e=>{t.removeEventListener("error",o),this.destroyed?r():e?(this._messageHandler=n,this._port=t,this._webWorker=t,e.supportTransfers||(this.postMessageTransfers=!1),this._readyCapability.resolve(),n.send("configure",{verbosity:this.verbosity})):(this._setupFakeWorker(),n.destroy(),t.terminate())})),n.on("ready",(e=>{if(t.removeEventListener("error",o),this.destroyed)r();else try{a()}catch(e){this._setupFakeWorker()}}));const a=()=>{const e=new Uint8Array([this.postMessageTransfers?255:0]);try{n.send("test",e,[e.buffer])}catch(t){(0,_util.warn)("Cannot use postMessage transfers."),e[0]=0,n.send("test",e)}};return void a()}catch(e){(0,_util.info)("The worker has been disabled.")}}this._setupFakeWorker()}_setupFakeWorker(){isWorkerDisabled||((0,_util.warn)("Setting up fake worker."),isWorkerDisabled=!0),setupFakeWorkerGlobal().then((e=>{if(this.destroyed)return void this._readyCapability.reject(new Error("Worker was destroyed"));const t=new LoopbackPort;this._port=t;const n="fake"+nextFakeWorkerId++,r=new _message_handler.MessageHandler(n+"_worker",n,t);e.setup(r,t);const o=new _message_handler.MessageHandler(n,n+"_worker",t);this._messageHandler=o,this._readyCapability.resolve(),o.send("configure",{verbosity:this.verbosity})})).catch((e=>{this._readyCapability.reject(new Error(`Setting up fake worker failed: "${e.message}".`))}))}destroy(){this.destroyed=!0,this._webWorker&&(this._webWorker.terminate(),this._webWorker=null),pdfWorkerPorts.delete(this._port),this._port=null,this._messageHandler&&(this._messageHandler.destroy(),this._messageHandler=null)}static fromPort(e){if(!e||!e.port)throw new Error("PDFWorker.fromPort - invalid method signature.");return pdfWorkerPorts.has(e.port)?pdfWorkerPorts.get(e.port):new PDFWorker(e)}static getWorkerSrc(){return getWorkerSrc()}}return PDFWorker}();exports.PDFWorker=PDFWorker;class WorkerTransport{constructor(e,t,n,r){this.messageHandler=e,this.loadingTask=t,this.commonObjs=new PDFObjects,this.fontLoader=new _font_loader.FontLoader({docId:t.docId,onUnsupportedFeature:this._onUnsupportedFeature.bind(this),ownerDocument:r.ownerDocument}),this._params=r,this.CMapReaderFactory=new r.CMapReaderFactory({baseUrl:r.cMapUrl,isCompressed:r.cMapPacked}),this.destroyed=!1,this.destroyCapability=null,this._passwordCapability=null,this._networkStream=n,this._fullReader=null,this._lastProgress=null,this.pageCache=[],this.pagePromises=[],this.downloadInfoCapability=(0,_util.createPromiseCapability)(),this.setupMessageHandler()}get loadingTaskSettled(){return this.loadingTask._capability.settled}destroy(){if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=(0,_util.createPromiseCapability)(),this._passwordCapability&&this._passwordCapability.reject(new Error("Worker was destroyed during onPassword callback"));const e=[];this.pageCache.forEach((function(t){t&&e.push(t._destroy())})),this.pageCache.length=0,this.pagePromises.length=0;const t=this.messageHandler.sendWithPromise("Terminate",null);if(e.push(t),this.loadingTaskSettled){const t=this.loadingTask.promise.then((e=>{e.hasOwnProperty("annotationStorage")&&e.annotationStorage.resetModified()})).catch((()=>{}));e.push(t)}return Promise.all(e).then((()=>{this.commonObjs.clear(),this.fontLoader.clear(),this._hasJSActionsPromise=null,this._networkStream&&this._networkStream.cancelAllRequests(new _util.AbortException("Worker was terminated.")),this.messageHandler&&(this.messageHandler.destroy(),this.messageHandler=null),this.destroyCapability.resolve()}),this.destroyCapability.reject),this.destroyCapability.promise}setupMessageHandler(){const{messageHandler:e,loadingTask:t}=this;e.on("GetReader",((e,t)=>{(0,_util.assert)(this._networkStream,"GetReader - no `IPDFStream` instance available."),this._fullReader=this._networkStream.getFullReader(),this._fullReader.onProgress=e=>{this._lastProgress={loaded:e.loaded,total:e.total}},t.onPull=()=>{this._fullReader.read().then((function({value:e,done:n}){n?t.close():((0,_util.assert)((0,_util.isArrayBuffer)(e),"GetReader - expected an ArrayBuffer."),t.enqueue(new Uint8Array(e),1,[e]))})).catch((e=>{t.error(e)}))},t.onCancel=e=>{this._fullReader.cancel(e),t.ready.catch((e=>{if(!this.destroyed)throw e}))}})),e.on("ReaderHeadersReady",(e=>{const n=(0,_util.createPromiseCapability)(),r=this._fullReader;return r.headersReady.then((()=>{r.isStreamingSupported&&r.isRangeSupported||(this._lastProgress&&t.onProgress&&t.onProgress(this._lastProgress),r.onProgress=e=>{t.onProgress&&t.onProgress({loaded:e.loaded,total:e.total})}),n.resolve({isStreamingSupported:r.isStreamingSupported,isRangeSupported:r.isRangeSupported,contentLength:r.contentLength})}),n.reject),n.promise})),e.on("GetRangeReader",((e,t)=>{(0,_util.assert)(this._networkStream,"GetRangeReader - no `IPDFStream` instance available.");const n=this._networkStream.getRangeReader(e.begin,e.end);n?(t.onPull=()=>{n.read().then((function({value:e,done:n}){n?t.close():((0,_util.assert)((0,_util.isArrayBuffer)(e),"GetRangeReader - expected an ArrayBuffer."),t.enqueue(new Uint8Array(e),1,[e]))})).catch((e=>{t.error(e)}))},t.onCancel=e=>{n.cancel(e),t.ready.catch((e=>{if(!this.destroyed)throw e}))}):t.close()})),e.on("GetDoc",(({pdfInfo:e})=>{this._numPages=e.numPages,t._capability.resolve(new PDFDocumentProxy(e,this))})),e.on("DocException",(function(e){let n;switch(e.name){case"PasswordException":n=new _util.PasswordException(e.message,e.code);break;case"InvalidPDFException":n=new _util.InvalidPDFException(e.message);break;case"MissingPDFException":n=new _util.MissingPDFException(e.message);break;case"UnexpectedResponseException":n=new _util.UnexpectedResponseException(e.message,e.status);break;case"UnknownErrorException":n=new _util.UnknownErrorException(e.message,e.details)}if(!(n instanceof Error)){const e="DocException - expected a valid Error.";(0,_util.warn)(e)}t._capability.reject(n)})),e.on("PasswordRequest",(e=>{if(this._passwordCapability=(0,_util.createPromiseCapability)(),t.onPassword){const n=e=>{this._passwordCapability.resolve({password:e})};try{t.onPassword(n,e.code)}catch(e){this._passwordCapability.reject(e)}}else this._passwordCapability.reject(new _util.PasswordException(e.message,e.code));return this._passwordCapability.promise})),e.on("DataLoaded",(e=>{t.onProgress&&t.onProgress({loaded:e.length,total:e.length}),this.downloadInfoCapability.resolve(e)})),e.on("StartRenderPage",(e=>{this.destroyed||this.pageCache[e.pageIndex]._startRenderPage(e.transparency,e.intent)})),e.on("commonobj",(t=>{if(this.destroyed)return;const[n,r,o]=t;if(!this.commonObjs.has(n))switch(r){case"Font":const t=this._params;if("error"in o){const e=o.error;(0,_util.warn)(`Error during font loading: ${e}`),this.commonObjs.resolve(n,e);break}let a=null;t.pdfBug&&globalThis.FontInspector?.enabled&&(a={registerFont(e,t){globalThis.FontInspector.fontAdded(e,t)}});const i=new _font_loader.FontFaceObject(o,{isEvalSupported:t.isEvalSupported,disableFontFace:t.disableFontFace,ignoreErrors:t.ignoreErrors,onUnsupportedFeature:this._onUnsupportedFeature.bind(this),fontRegistry:a});this.fontLoader.bind(i).catch((t=>e.sendWithPromise("FontFallback",{id:n}))).finally((()=>{!t.fontExtraProperties&&i.data&&(i.data=null),this.commonObjs.resolve(n,i)}));break;case"FontPath":case"Image":this.commonObjs.resolve(n,o);break;default:throw new Error(`Got unknown common object type ${r}`)}})),e.on("obj",(e=>{if(this.destroyed)return;const[t,n,r,o]=e,a=this.pageCache[n];if(!a.objs.has(t))switch(r){case"Image":a.objs.resolve(t,o);const e=8e6;o?.data?.length>e&&(a.cleanupAfterRender=!0);break;default:throw new Error(`Got unknown object type ${r}`)}})),e.on("DocProgress",(e=>{this.destroyed||t.onProgress&&t.onProgress({loaded:e.loaded,total:e.total})})),e.on("UnsupportedFeature",this._onUnsupportedFeature.bind(this)),e.on("FetchBuiltInCMap",((e,t)=>{if(this.destroyed)return void t.error(new Error("Worker was destroyed"));let n=!1;t.onPull=()=>{n?t.close():(n=!0,this.CMapReaderFactory.fetch(e).then((function(e){t.enqueue(e,1,[e.cMapData.buffer])})).catch((function(e){t.error(e)})))}}))}_onUnsupportedFeature({featureId:e}){this.destroyed||this.loadingTask.onUnsupportedFeature&&this.loadingTask.onUnsupportedFeature(e)}getData(){return this.messageHandler.sendWithPromise("GetData",null)}getPage(e){if(!Number.isInteger(e)||e<=0||e>this._numPages)return Promise.reject(new Error("Invalid page request"));const t=e-1;if(t in this.pagePromises)return this.pagePromises[t];const n=this.messageHandler.sendWithPromise("GetPage",{pageIndex:t}).then((e=>{if(this.destroyed)throw new Error("Transport destroyed");const n=new PDFPageProxy(t,e,this,this._params.ownerDocument,this._params.pdfBug);return this.pageCache[t]=n,n}));return this.pagePromises[t]=n,n}getPageIndex(e){return this.messageHandler.sendWithPromise("GetPageIndex",{ref:e}).catch((function(e){return Promise.reject(new Error(e))}))}getAnnotations(e,t){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:e,intent:t})}saveDocument(e){return this.messageHandler.sendWithPromise("SaveDocument",{numPages:this._numPages,annotationStorage:e?.serializable||null,filename:this._fullReader?.filename??null}).finally((()=>{e&&e.resetModified()}))}getFieldObjects(){return this.messageHandler.sendWithPromise("GetFieldObjects",null)}hasJSActions(){return this._hasJSActionsPromise||(this._hasJSActionsPromise=this.messageHandler.sendWithPromise("HasJSActions",null))}getCalculationOrderIds(){return this.messageHandler.sendWithPromise("GetCalculationOrderIds",null)}getDestinations(){return this.messageHandler.sendWithPromise("GetDestinations",null)}getDestination(e){return"string"!=typeof e?Promise.reject(new Error("Invalid destination request.")):this.messageHandler.sendWithPromise("GetDestination",{id:e})}getPageLabels(){return this.messageHandler.sendWithPromise("GetPageLabels",null)}getPageLayout(){return this.messageHandler.sendWithPromise("GetPageLayout",null)}getPageMode(){return this.messageHandler.sendWithPromise("GetPageMode",null)}getViewerPreferences(){return this.messageHandler.sendWithPromise("GetViewerPreferences",null)}getOpenAction(){return this.messageHandler.sendWithPromise("GetOpenAction",null)}getAttachments(){return this.messageHandler.sendWithPromise("GetAttachments",null)}getJavaScript(){return this.messageHandler.sendWithPromise("GetJavaScript",null)}getDocJSActions(){return this.messageHandler.sendWithPromise("GetDocJSActions",null)}getPageJSActions(e){return this.messageHandler.sendWithPromise("GetPageJSActions",{pageIndex:e})}getPageXfa(e){return this.messageHandler.sendWithPromise("GetPageXfa",{pageIndex:e})}getOutline(){return this.messageHandler.sendWithPromise("GetOutline",null)}getOptionalContentConfig(){return this.messageHandler.sendWithPromise("GetOptionalContentConfig",null).then((e=>new _optional_content_config.OptionalContentConfig(e)))}getPermissions(){return this.messageHandler.sendWithPromise("GetPermissions",null)}getMetadata(){return this.messageHandler.sendWithPromise("GetMetadata",null).then((e=>({info:e[0],metadata:e[1]?new _metadata.Metadata(e[1]):null,contentDispositionFilename:this._fullReader?.filename??null,contentLength:this._fullReader?.contentLength??null})))}getMarkInfo(){return this.messageHandler.sendWithPromise("GetMarkInfo",null)}getStats(){return this.messageHandler.sendWithPromise("GetStats",null)}async startCleanup(e=!1){if(await this.messageHandler.sendWithPromise("Cleanup",null),!this.destroyed){for(let e=0,t=this.pageCache.length;e<t;e++){const t=this.pageCache[e];if(t&&!t.cleanup())throw new Error(`startCleanup: Page ${e+1} is currently rendering.`)}this.commonObjs.clear(),e||this.fontLoader.clear(),this._hasJSActionsPromise=null}}get loadingParams(){const e=this._params;return(0,_util.shadow)(this,"loadingParams",{disableAutoFetch:e.disableAutoFetch,disableFontFace:e.disableFontFace})}}class PDFObjects{constructor(){this._objs=Object.create(null)}_ensureObj(e){return this._objs[e]?this._objs[e]:this._objs[e]={capability:(0,_util.createPromiseCapability)(),data:null,resolved:!1}}get(e,t=null){if(t)return this._ensureObj(e).capability.promise.then(t),null;const n=this._objs[e];if(!n||!n.resolved)throw new Error(`Requesting object that isn't resolved yet ${e}.`);return n.data}has(e){return this._objs[e]?.resolved||!1}resolve(e,t){const n=this._ensureObj(e);n.resolved=!0,n.data=t,n.capability.resolve(t)}clear(){this._objs=Object.create(null)}}class RenderTask{constructor(e){this._internalRenderTask=e,this.onContinue=null}get promise(){return this._internalRenderTask.capability.promise}cancel(){this._internalRenderTask.cancel()}}const InternalRenderTask=function(){const e=new WeakSet;return class{constructor({callback:e,params:t,objs:n,commonObjs:r,operatorList:o,pageIndex:a,canvasFactory:i,webGLContext:s,useRequestAnimationFrame:l=!1,pdfBug:c=!1}){this.callback=e,this.params=t,this.objs=n,this.commonObjs=r,this.operatorListIdx=null,this.operatorList=o,this._pageIndex=a,this.canvasFactory=i,this.webGLContext=s,this._pdfBug=c,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this._useRequestAnimationFrame=!0===l&&"undefined"!=typeof window,this.cancelled=!1,this.capability=(0,_util.createPromiseCapability)(),this.task=new RenderTask(this),this._cancelBound=this.cancel.bind(this),this._continueBound=this._continue.bind(this),this._scheduleNextBound=this._scheduleNext.bind(this),this._nextBound=this._next.bind(this),this._canvas=t.canvasContext.canvas}get completed(){return this.capability.promise.catch((function(){}))}initializeGraphics({transparency:t=!1,optionalContentConfig:n}){if(this.cancelled)return;if(this._canvas){if(e.has(this._canvas))throw new Error("Cannot use the same canvas during multiple render() operations. Use different canvas or ensure previous operations were cancelled or completed.");e.add(this._canvas)}this._pdfBug&&globalThis.StepperManager?.enabled&&(this.stepper=globalThis.StepperManager.create(this._pageIndex),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());const{canvasContext:r,viewport:o,transform:a,imageLayer:i,background:s}=this.params;this.gfx=new _canvas.CanvasGraphics(r,this.commonObjs,this.objs,this.canvasFactory,this.webGLContext,i,n),this.gfx.beginDrawing({transform:a,viewport:o,transparency:t,background:s}),this.operatorListIdx=0,this.graphicsReady=!0,this.graphicsReadyCallback&&this.graphicsReadyCallback()}cancel(t=null){this.running=!1,this.cancelled=!0,this.gfx&&this.gfx.endDrawing(),this._canvas&&e.delete(this._canvas),this.callback(t||new _display_utils.RenderingCancelledException(`Rendering cancelled, page ${this._pageIndex+1}`,"canvas"))}operatorListChanged(){this.graphicsReady?(this.stepper&&this.stepper.updateOperatorList(this.operatorList),this.running||this._continue()):this.graphicsReadyCallback||(this.graphicsReadyCallback=this._continueBound)}_continue(){this.running=!0,this.cancelled||(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())}_scheduleNext(){this._useRequestAnimationFrame?window.requestAnimationFrame((()=>{this._nextBound().catch(this._cancelBound)})):Promise.resolve().then(this._nextBound).catch(this._cancelBound)}async _next(){this.cancelled||(this.operatorListIdx=this.gfx.executeOperatorList(this.operatorList,this.operatorListIdx,this._continueBound,this.stepper),this.operatorListIdx===this.operatorList.argsArray.length&&(this.running=!1,this.operatorList.lastChunk&&(this.gfx.endDrawing(),this._canvas&&e.delete(this._canvas),this.callback())))}}}(),version="2.8.335";exports.version=version;const build="228adbf67";exports.build=build},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FontLoader=t.FontFaceObject=void 0;var r=n(2);class o{constructor({docId:e,onUnsupportedFeature:t,ownerDocument:n=globalThis.document}){this.constructor===o&&(0,r.unreachable)("Cannot initialize BaseFontLoader."),this.docId=e,this._onUnsupportedFeature=t,this._document=n,this.nativeFontFaces=[],this.styleElement=null}addNativeFontFace(e){this.nativeFontFaces.push(e),this._document.fonts.add(e)}insertRule(e){let t=this.styleElement;t||(t=this.styleElement=this._document.createElement("style"),t.id=`PDFJS_FONT_STYLE_TAG_${this.docId}`,this._document.documentElement.getElementsByTagName("head")[0].appendChild(t));const n=t.sheet;n.insertRule(e,n.cssRules.length)}clear(){this.nativeFontFaces.forEach((e=>{this._document.fonts.delete(e)})),this.nativeFontFaces.length=0,this.styleElement&&(this.styleElement.remove(),this.styleElement=null)}async bind(e){if(e.attached||e.missingFile)return;if(e.attached=!0,this.isFontLoadingAPISupported){const t=e.createNativeFontFace();if(t){this.addNativeFontFace(t);try{await t.loaded}catch(n){throw this._onUnsupportedFeature({featureId:r.UNSUPPORTED_FEATURES.errorFontLoadNative}),(0,r.warn)(`Failed to load font '${t.family}': '${n}'.`),e.disableFontFace=!0,n}}return}const t=e.createFontFaceRule();if(t){if(this.insertRule(t),this.isSyncFontLoadingSupported)return;await new Promise((n=>{const r=this._queueLoadingCallback(n);this._prepareFontLoadEvent([t],[e],r)}))}}_queueLoadingCallback(e){(0,r.unreachable)("Abstract method `_queueLoadingCallback`.")}get isFontLoadingAPISupported(){return(0,r.shadow)(this,"isFontLoadingAPISupported",!!this._document?.fonts)}get isSyncFontLoadingSupported(){(0,r.unreachable)("Abstract method `isSyncFontLoadingSupported`.")}get _loadTestFont(){(0,r.unreachable)("Abstract method `_loadTestFont`.")}_prepareFontLoadEvent(e,t,n){(0,r.unreachable)("Abstract method `_prepareFontLoadEvent`.")}}let a;t.FontLoader=a,t.FontLoader=a=class extends o{constructor(e){super(e),this.loadingContext={requests:[],nextRequestId:0},this.loadTestFontId=0}get isSyncFontLoadingSupported(){let e=!1;return("undefined"==typeof navigator||/Mozilla\/5.0.*?rv:(\d+).*? Gecko/.exec(navigator.userAgent)?.[1]>=14)&&(e=!0),(0,r.shadow)(this,"isSyncFontLoadingSupported",e)}_queueLoadingCallback(e){const t=this.loadingContext,n={id:"pdfjs-font-loading-"+t.nextRequestId++,done:!1,complete:function(){for((0,r.assert)(!n.done,"completeRequest() cannot be called twice."),n.done=!0;t.requests.length>0&&t.requests[0].done;){const e=t.requests.shift();setTimeout(e.callback,0)}},callback:e};return t.requests.push(n),n}get _loadTestFont(){return(0,r.shadow)(this,"_loadTestFont",atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA=="))}_prepareFontLoadEvent(e,t,n){function o(e,t){return e.charCodeAt(t)<<24|e.charCodeAt(t+1)<<16|e.charCodeAt(t+2)<<8|255&e.charCodeAt(t+3)}function a(e,t,n,r){return e.substring(0,t)+r+e.substring(t+n)}let i,s;const l=this._document.createElement("canvas");l.width=1,l.height=1;const c=l.getContext("2d");let u=0;const p=`lt${Date.now()}${this.loadTestFontId++}`;let d=this._loadTestFont;d=a(d,976,p.length,p);const f=1482184792;let h=o(d,16);for(i=0,s=p.length-3;i<s;i+=4)h=h-f+o(p,i)|0;i<p.length&&(h=h-f+o(p+"XXX",i)|0),d=a(d,16,4,(0,r.string32)(h));const g=`@font-face {font-family:"${p}";src:url(data:font/opentype;base64,${btoa(d)});}`;this.insertRule(g);const b=[];for(i=0,s=t.length;i<s;i++)b.push(t[i].loadedName);b.push(p);const m=this._document.createElement("div");for(m.style.visibility="hidden",m.style.width=m.style.height="10px",m.style.position="absolute",m.style.top=m.style.left="0px",i=0,s=b.length;i<s;++i){const e=this._document.createElement("span");e.textContent="Hi",e.style.fontFamily=b[i],m.appendChild(e)}this._document.body.appendChild(m),function e(t,n){if(u++,u>30)return(0,r.warn)("Load test font never loaded."),void n();c.font="30px "+t,c.fillText(".",0,20),c.getImageData(0,0,1,1).data[3]>0?n():setTimeout(e.bind(null,t,n))}(p,(()=>{this._document.body.removeChild(m),n.complete()}))}},t.FontFaceObject=class{constructor(e,{isEvalSupported:t=!0,disableFontFace:n=!1,ignoreErrors:r=!1,onUnsupportedFeature:o,fontRegistry:a=null}){this.compiledGlyphs=Object.create(null);for(const t in e)this[t]=e[t];this.isEvalSupported=!1!==t,this.disableFontFace=!0===n,this.ignoreErrors=!0===r,this._onUnsupportedFeature=o,this.fontRegistry=a}createNativeFontFace(){if(!this.data||this.disableFontFace)return null;const e=new FontFace(this.loadedName,this.data,{});return this.fontRegistry&&this.fontRegistry.registerFont(this),e}createFontFaceRule(){if(!this.data||this.disableFontFace)return null;const e=(0,r.bytesToString)(new Uint8Array(this.data)),t=`url(data:${this.mimetype};base64,${btoa(e)});`,n=`@font-face {font-family:"${this.loadedName}";src:${t}}`;return this.fontRegistry&&this.fontRegistry.registerFont(this,t),n}getPathGenerator(e,t){if(void 0!==this.compiledGlyphs[t])return this.compiledGlyphs[t];let n,o;try{n=e.get(this.loadedName+"_path_"+t)}catch(e){if(!this.ignoreErrors)throw e;return this._onUnsupportedFeature({featureId:r.UNSUPPORTED_FEATURES.errorFontGetPath}),(0,r.warn)(`getPathGenerator - ignoring character: "${e}".`),this.compiledGlyphs[t]=function(e,t){}}if(this.isEvalSupported&&r.IsEvalSupportedCached.value){let e,r="";for(let t=0,a=n.length;t<a;t++)o=n[t],e=void 0!==o.args?o.args.join(","):"",r+="c."+o.cmd+"("+e+");\n";return this.compiledGlyphs[t]=new Function("c","size",r)}return this.compiledGlyphs[t]=function(e,t){for(let r=0,a=n.length;r<a;r++)o=n[r],"scale"===o.cmd&&(o.args=[t,-t]),e[o.cmd].apply(e,o.args)}}}},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NodeCMapReaderFactory=t.NodeCanvasFactory=void 0;var r=n(1),o=n(4),a=n(2);let i=class{constructor(){(0,a.unreachable)("Not implemented: NodeCanvasFactory")}};t.NodeCanvasFactory=i;let s=class{constructor(){(0,a.unreachable)("Not implemented: NodeCMapReaderFactory")}};t.NodeCMapReaderFactory=s,o.isNodeJS&&(t.NodeCanvasFactory=i=class extends r.BaseCanvasFactory{create(e,t){if(e<=0||t<=0)throw new Error("Invalid canvas size");const n=__webpack_require__(9035).createCanvas(e,t);return{canvas:n,context:n.getContext("2d")}}},t.NodeCMapReaderFactory=s=class extends r.BaseCMapReaderFactory{_fetchData(e,t){return new Promise(((n,r)=>{__webpack_require__(2754).readFile(e,((e,o)=>{!e&&o?n({cMapData:new Uint8Array(o),compressionType:t}):r(new Error(e))}))}))}})},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AnnotationStorage=void 0;var r=n(1),o=n(2);t.AnnotationStorage=class{constructor(){this._storage=new Map,this._modified=!1,this.onSetModified=null,this.onResetModified=null}getValue(e,t){const n=this._storage.get(e);return void 0!==n?n:t}getOrCreateValue(e,t){return(0,r.deprecated)("Use getValue instead."),this._storage.has(e)?this._storage.get(e):(this._storage.set(e,t),t)}setValue(e,t){const n=this._storage.get(e);let r=!1;if(void 0!==n)for(const[e,o]of Object.entries(t))n[e]!==o&&(r=!0,n[e]=o);else this._storage.set(e,t),r=!0;r&&this._setModified()}getAll(){return this._storage.size>0?(0,o.objectFromMap)(this._storage):null}get size(){return this._storage.size}_setModified(){this._modified||(this._modified=!0,"function"==typeof this.onSetModified&&this.onSetModified())}resetModified(){this._modified&&(this._modified=!1,"function"==typeof this.onResetModified&&this.onResetModified())}get serializable(){return this._storage.size>0?this._storage:null}}},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.apiCompatibilityParams=void 0;var r=n(4);const o=Object.create(null);r.isNodeJS&&(o.disableFontFace=!0);const a=Object.freeze(o);t.apiCompatibilityParams=a},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CanvasGraphics=void 0;var r=n(2),o=n(11);const a=4096,i=16;function s(e){if(!e.mozCurrentTransform){e._originalSave=e.save,e._originalRestore=e.restore,e._originalRotate=e.rotate,e._originalScale=e.scale,e._originalTranslate=e.translate,e._originalTransform=e.transform,e._originalSetTransform=e.setTransform,e._originalResetTransform=e.resetTransform,e._transformMatrix=e._transformMatrix||[1,0,0,1,0,0],e._transformStack=[];try{const t=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e),"lineWidth");e._setLineWidth=t.set,e._getLineWidth=t.get,Object.defineProperty(e,"lineWidth",{set:function(e){this._setLineWidth(1.000001*e)},get:function(){return this._getLineWidth()}})}catch(e){}Object.defineProperty(e,"mozCurrentTransform",{get:function(){return this._transformMatrix}}),Object.defineProperty(e,"mozCurrentTransformInverse",{get:function(){const e=this._transformMatrix,t=e[0],n=e[1],r=e[2],o=e[3],a=e[4],i=e[5],s=t*o-n*r,l=n*r-t*o;return[o/s,n/l,r/l,t/s,(o*a-r*i)/l,(n*a-t*i)/s]}}),e.save=function(){const e=this._transformMatrix;this._transformStack.push(e),this._transformMatrix=e.slice(0,6),this._originalSave()},e.restore=function(){const e=this._transformStack.pop();e&&(this._transformMatrix=e,this._originalRestore())},e.translate=function(e,t){const n=this._transformMatrix;n[4]=n[0]*e+n[2]*t+n[4],n[5]=n[1]*e+n[3]*t+n[5],this._originalTranslate(e,t)},e.scale=function(e,t){const n=this._transformMatrix;n[0]=n[0]*e,n[1]=n[1]*e,n[2]=n[2]*t,n[3]=n[3]*t,this._originalScale(e,t)},e.transform=function(t,n,r,o,a,i){const s=this._transformMatrix;this._transformMatrix=[s[0]*t+s[2]*n,s[1]*t+s[3]*n,s[0]*r+s[2]*o,s[1]*r+s[3]*o,s[0]*a+s[2]*i+s[4],s[1]*a+s[3]*i+s[5]],e._originalTransform(t,n,r,o,a,i)},e.setTransform=function(t,n,r,o,a,i){this._transformMatrix=[t,n,r,o,a,i],e._originalSetTransform(t,n,r,o,a,i)},e.resetTransform=function(){this._transformMatrix=[1,0,0,1,0,0],e._originalResetTransform()},e.rotate=function(e){const t=Math.cos(e),n=Math.sin(e),r=this._transformMatrix;this._transformMatrix=[r[0]*t+r[2]*n,r[1]*t+r[3]*n,r[0]*-n+r[2]*t,r[1]*-n+r[3]*t,r[4],r[5]],this._originalRotate(e)}}}const l=function(){function e(e){this.canvasFactory=e,this.cache=Object.create(null)}return e.prototype={getCanvas:function(e,t,n,r){let o;return void 0!==this.cache[e]?(o=this.cache[e],this.canvasFactory.reset(o,t,n),o.context.setTransform(1,0,0,1,0,0)):(o=this.canvasFactory.create(t,n),this.cache[e]=o),r&&s(o.context),o},clear(){for(const e in this.cache){const t=this.cache[e];this.canvasFactory.destroy(t),delete this.cache[e]}}},e}(),c=function(){function e(){this.alphaIsShape=!1,this.fontSize=0,this.fontSizeScale=1,this.textMatrix=r.IDENTITY_MATRIX,this.textMatrixScale=1,this.fontMatrix=r.FONT_IDENTITY_MATRIX,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRenderingMode=r.TextRenderingMode.FILL,this.textRise=0,this.fillColor="#000000",this.strokeColor="#000000",this.patternFill=!1,this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.activeSMask=null,this.resumeSMaskCtx=null,this.transferMaps=null}return e.prototype={clone:function(){return Object.create(this)},setCurrentPoint:function(e,t){this.x=e,this.y=t}},e}(),u=function(){function e(e,t,n,r,o,a,i){this.ctx=e,this.current=new c,this.stateStack=[],this.pendingClip=null,this.pendingEOFill=!1,this.res=null,this.xobjs=null,this.commonObjs=t,this.objs=n,this.canvasFactory=r,this.webGLContext=o,this.imageLayer=a,this.groupStack=[],this.processingType3=null,this.baseTransform=null,this.baseTransformStack=[],this.groupLevel=0,this.smaskStack=[],this.smaskCounter=0,this.tempSMask=null,this.contentVisible=!0,this.markedContentStack=[],this.optionalContentConfig=i,this.cachedCanvases=new l(this.canvasFactory),e&&s(e),this._cachedGetSinglePixelWidth=null}function t(e,t,n=null){if("undefined"!=typeof ImageData&&t instanceof ImageData)return void e.putImageData(t,0,0);const o=t.height,a=t.width,s=o%i,l=(o-s)/i,c=0===s?l:l+1,u=e.createImageData(a,i);let p,d=0;const f=t.data,h=u.data;let g,b,m,v,y,_,x,w;if(n)switch(n.length){case 1:y=n[0],_=n[0],x=n[0],w=n[0];break;case 4:y=n[0],_=n[1],x=n[2],w=n[3]}if(t.kind===r.ImageKind.GRAYSCALE_1BPP){const t=f.byteLength,n=new Uint32Array(h.buffer,0,h.byteLength>>2),o=n.length,v=a+7>>3;let y=4294967295,_=r.IsLittleEndianCached.value?4278190080:255;for(w&&255===w[0]&&0===w[255]&&([y,_]=[_,y]),g=0;g<c;g++){for(m=g<l?i:s,p=0,b=0;b<m;b++){const e=t-d;let r=0;const o=e>v?a:8*e-7,i=-8&o;let s=0,l=0;for(;r<i;r+=8)l=f[d++],n[p++]=128&l?y:_,n[p++]=64&l?y:_,n[p++]=32&l?y:_,n[p++]=16&l?y:_,n[p++]=8&l?y:_,n[p++]=4&l?y:_,n[p++]=2&l?y:_,n[p++]=1&l?y:_;for(;r<o;r++)0===s&&(l=f[d++],s=128),n[p++]=l&s?y:_,s>>=1}for(;p<o;)n[p++]=0;e.putImageData(u,0,g*i)}}else if(t.kind===r.ImageKind.RGBA_32BPP){const t=!!(y||_||x);for(b=0,v=a*i*4,g=0;g<l;g++){if(h.set(f.subarray(d,d+v)),d+=v,t)for(let e=0;e<v;e+=4)y&&(h[e+0]=y[h[e+0]]),_&&(h[e+1]=_[h[e+1]]),x&&(h[e+2]=x[h[e+2]]);e.putImageData(u,0,b),b+=i}if(g<c){if(v=a*s*4,h.set(f.subarray(d,d+v)),t)for(let e=0;e<v;e+=4)y&&(h[e+0]=y[h[e+0]]),_&&(h[e+1]=_[h[e+1]]),x&&(h[e+2]=x[h[e+2]]);e.putImageData(u,0,b)}}else{if(t.kind!==r.ImageKind.RGB_24BPP)throw new Error(`bad image kind: ${t.kind}`);{const t=!!(y||_||x);for(m=i,v=a*m,g=0;g<c;g++){for(g>=l&&(m=s,v=a*m),p=0,b=v;b--;)h[p++]=f[d++],h[p++]=f[d++],h[p++]=f[d++],h[p++]=255;if(t)for(let e=0;e<p;e+=4)y&&(h[e+0]=y[h[e+0]]),_&&(h[e+1]=_[h[e+1]]),x&&(h[e+2]=x[h[e+2]]);e.putImageData(u,0,g*i)}}}}function n(e,t){const n=t.height,r=t.width,o=n%i,a=(n-o)/i,s=0===o?a:a+1,l=e.createImageData(r,i);let c=0;const u=t.data,p=l.data;for(let t=0;t<s;t++){const n=t<a?i:o;let s=3;for(let e=0;e<n;e++){let e,t=0;for(let n=0;n<r;n++)t||(e=u[c++],t=128),p[s]=e&t?0:255,s+=4,t>>=1}e.putImageData(l,0,t*i)}}function u(e,t){const n=["strokeStyle","fillStyle","fillRule","globalAlpha","lineWidth","lineCap","lineJoin","miterLimit","globalCompositeOperation","font"];for(let r=0,o=n.length;r<o;r++){const o=n[r];void 0!==e[o]&&(t[o]=e[o])}void 0!==e.setLineDash&&(t.setLineDash(e.getLineDash()),t.lineDashOffset=e.lineDashOffset)}function p(e){e.strokeStyle="#000000",e.fillStyle="#000000",e.fillRule="nonzero",e.globalAlpha=1,e.lineWidth=1,e.lineCap="butt",e.lineJoin="miter",e.miterLimit=10,e.globalCompositeOperation="source-over",e.font="10px sans-serif",void 0!==e.setLineDash&&(e.setLineDash([]),e.lineDashOffset=0)}function d(e,t,n,r){const o=e.length;for(let a=3;a<o;a+=4){const o=e[a];if(0===o)e[a-3]=t,e[a-2]=n,e[a-1]=r;else if(o<255){const i=255-o;e[a-3]=e[a-3]*o+t*i>>8,e[a-2]=e[a-2]*o+n*i>>8,e[a-1]=e[a-1]*o+r*i>>8}}}function f(e,t,n){const r=e.length;for(let o=3;o<r;o+=4){const r=n?n[e[o]]:e[o];t[o]=t[o]*r*.00392156862745098|0}}function h(e,t,n){const r=e.length;for(let o=3;o<r;o+=4){const r=77*e[o-3]+152*e[o-2]+28*e[o-1];t[o]=n?t[o]*n[r>>8]>>8:t[o]*r>>16}}function g(e,t,n,r){const o=t.canvas,a=t.context;e.setTransform(t.scaleX,0,0,t.scaleY,t.offsetX,t.offsetY);const i=t.backdrop||null;if(!t.transferMap&&r.isEnabled){const a=r.composeSMask({layer:n.canvas,mask:o,properties:{subtype:t.subtype,backdrop:i}});return e.setTransform(1,0,0,1,0,0),void e.drawImage(a,t.offsetX,t.offsetY)}!function(e,t,n,r,o,a,i){const s=!!a,l=s?a[0]:0,c=s?a[1]:0,u=s?a[2]:0;let p;p="Luminosity"===o?h:f;const g=Math.min(r,Math.ceil(1048576/n));for(let o=0;o<r;o+=g){const a=Math.min(g,r-o),f=e.getImageData(0,o,n,a),h=t.getImageData(0,o,n,a);s&&d(f.data,l,c,u),p(f.data,h.data,i),e.putImageData(h,0,o)}}(a,n,o.width,o.height,t.subtype,i,t.transferMap),e.drawImage(o,0,0)}const b=["butt","round","square"],m=["miter","round","bevel"],v={},y={};e.prototype={beginDrawing({transform:e,viewport:t,transparency:n=!1,background:r=null}){const o=this.ctx.canvas.width,a=this.ctx.canvas.height;if(this.ctx.save(),this.ctx.fillStyle=r||"rgb(255, 255, 255)",this.ctx.fillRect(0,0,o,a),this.ctx.restore(),n){const e=this.cachedCanvases.getCanvas("transparent",o,a,!0);this.compositeCtx=this.ctx,this.transparentCanvas=e.canvas,this.ctx=e.context,this.ctx.save(),this.ctx.transform.apply(this.ctx,this.compositeCtx.mozCurrentTransform)}this.ctx.save(),p(this.ctx),e&&this.ctx.transform.apply(this.ctx,e),this.ctx.transform.apply(this.ctx,t.transform),this.baseTransform=this.ctx.mozCurrentTransform.slice(),this._combinedScaleFactor=Math.hypot(this.baseTransform[0],this.baseTransform[2]),this.imageLayer&&this.imageLayer.beginLayout()},executeOperatorList:function(e,t,n,o){const a=e.argsArray,i=e.fnArray;let s=t||0;const l=a.length;if(l===s)return s;const c=l-s>10&&"function"==typeof n,u=c?Date.now()+15:0;let p=0;const d=this.commonObjs,f=this.objs;let h;for(;;){if(void 0!==o&&s===o.nextBreakPoint)return o.breakIt(s,n),s;if(h=i[s],h!==r.OPS.dependency)this[h].apply(this,a[s]);else for(const e of a[s]){const t=e.startsWith("g_")?d:f;if(!t.has(e))return t.get(e,n),s}if(s++,s===l)return s;if(c&&++p>10){if(Date.now()>u)return n(),s;p=0}}},endDrawing:function(){for(;this.stateStack.length||null!==this.current.activeSMask;)this.restore();this.ctx.restore(),this.transparentCanvas&&(this.ctx=this.compositeCtx,this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.drawImage(this.transparentCanvas,0,0),this.ctx.restore(),this.transparentCanvas=null),this.cachedCanvases.clear(),this.webGLContext.clear(),this.imageLayer&&this.imageLayer.endLayout()},setLineWidth:function(e){this.current.lineWidth=e,this.ctx.lineWidth=e},setLineCap:function(e){this.ctx.lineCap=b[e]},setLineJoin:function(e){this.ctx.lineJoin=m[e]},setMiterLimit:function(e){this.ctx.miterLimit=e},setDash:function(e,t){const n=this.ctx;void 0!==n.setLineDash&&(n.setLineDash(e),n.lineDashOffset=t)},setRenderingIntent(e){},setFlatness(e){},setGState:function(e){for(let t=0,n=e.length;t<n;t++){const n=e[t],r=n[0],o=n[1];switch(r){case"LW":this.setLineWidth(o);break;case"LC":this.setLineCap(o);break;case"LJ":this.setLineJoin(o);break;case"ML":this.setMiterLimit(o);break;case"D":this.setDash(o[0],o[1]);break;case"RI":this.setRenderingIntent(o);break;case"FL":this.setFlatness(o);break;case"Font":this.setFont(o[0],o[1]);break;case"CA":this.current.strokeAlpha=n[1];break;case"ca":this.current.fillAlpha=n[1],this.ctx.globalAlpha=n[1];break;case"BM":this.ctx.globalCompositeOperation=o;break;case"SMask":this.current.activeSMask&&(this.stateStack.length>0&&this.stateStack[this.stateStack.length-1].activeSMask===this.current.activeSMask?this.suspendSMaskGroup():this.endSMaskGroup()),this.current.activeSMask=o?this.tempSMask:null,this.current.activeSMask&&this.beginSMaskGroup(),this.tempSMask=null;break;case"TR":this.current.transferMaps=o}}},beginSMaskGroup:function(){const e=this.current.activeSMask,t=e.canvas.width,n=e.canvas.height,r="smaskGroupAt"+this.groupLevel,o=this.cachedCanvases.getCanvas(r,t,n,!0),a=this.ctx,i=a.mozCurrentTransform;this.ctx.save();const s=o.context;s.scale(1/e.scaleX,1/e.scaleY),s.translate(-e.offsetX,-e.offsetY),s.transform.apply(s,i),e.startTransformInverse=s.mozCurrentTransformInverse,u(a,s),this.ctx=s,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(a),this.groupLevel++},suspendSMaskGroup:function(){const e=this.ctx;this.groupLevel--,this.ctx=this.groupStack.pop(),g(this.ctx,this.current.activeSMask,e,this.webGLContext),this.ctx.restore(),this.ctx.save(),u(e,this.ctx),this.current.resumeSMaskCtx=e;const t=r.Util.transform(this.current.activeSMask.startTransformInverse,e.mozCurrentTransform);this.ctx.transform.apply(this.ctx,t),e.save(),e.setTransform(1,0,0,1,0,0),e.clearRect(0,0,e.canvas.width,e.canvas.height),e.restore()},resumeSMaskGroup:function(){const e=this.current.resumeSMaskCtx,t=this.ctx;this.ctx=e,this.groupStack.push(t),this.groupLevel++},endSMaskGroup:function(){const e=this.ctx;this.groupLevel--,this.ctx=this.groupStack.pop(),g(this.ctx,this.current.activeSMask,e,this.webGLContext),this.ctx.restore(),u(e,this.ctx);const t=r.Util.transform(this.current.activeSMask.startTransformInverse,e.mozCurrentTransform);this.ctx.transform.apply(this.ctx,t)},save:function(){this.ctx.save();const e=this.current;this.stateStack.push(e),this.current=e.clone(),this.current.resumeSMaskCtx=null},restore:function(){this.current.resumeSMaskCtx&&this.resumeSMaskGroup(),null===this.current.activeSMask||0!==this.stateStack.length&&this.stateStack[this.stateStack.length-1].activeSMask===this.current.activeSMask||this.endSMaskGroup(),0!==this.stateStack.length?(this.current=this.stateStack.pop(),this.ctx.restore(),this.pendingClip=null,this._cachedGetSinglePixelWidth=null):this.current.activeSMask=null},transform:function(e,t,n,r,o,a){this.ctx.transform(e,t,n,r,o,a),this._cachedGetSinglePixelWidth=null},constructPath:function(e,t){const n=this.ctx,o=this.current;let a=o.x,i=o.y;for(let o=0,s=0,l=e.length;o<l;o++)switch(0|e[o]){case r.OPS.rectangle:a=t[s++],i=t[s++];const e=t[s++],o=t[s++],l=a+e,c=i+o;n.moveTo(a,i),0===e||0===o?n.lineTo(l,c):(n.lineTo(l,i),n.lineTo(l,c),n.lineTo(a,c)),n.closePath();break;case r.OPS.moveTo:a=t[s++],i=t[s++],n.moveTo(a,i);break;case r.OPS.lineTo:a=t[s++],i=t[s++],n.lineTo(a,i);break;case r.OPS.curveTo:a=t[s+4],i=t[s+5],n.bezierCurveTo(t[s],t[s+1],t[s+2],t[s+3],a,i),s+=6;break;case r.OPS.curveTo2:n.bezierCurveTo(a,i,t[s],t[s+1],t[s+2],t[s+3]),a=t[s+2],i=t[s+3],s+=4;break;case r.OPS.curveTo3:a=t[s+2],i=t[s+3],n.bezierCurveTo(t[s],t[s+1],a,i,a,i),s+=4;break;case r.OPS.closePath:n.closePath()}o.setCurrentPoint(a,i)},closePath:function(){this.ctx.closePath()},stroke:function(e){e=void 0===e||e;const t=this.ctx,n=this.current.strokeColor;if(t.globalAlpha=this.current.strokeAlpha,this.contentVisible)if("object"==typeof n&&n?.getPattern){t.save();const e=t.mozCurrentTransform,o=r.Util.singularValueDecompose2dScale(e)[0];t.strokeStyle=n.getPattern(t,this);const a=this.getSinglePixelWidth(),i=this.current.lineWidth*o;a<0&&-a>=i?(t.resetTransform(),t.lineWidth=Math.round(this._combinedScaleFactor)):t.lineWidth=Math.max(a,i),t.stroke(),t.restore()}else{const e=this.getSinglePixelWidth();e<0&&-e>=this.current.lineWidth?(t.save(),t.resetTransform(),t.lineWidth=Math.round(this._combinedScaleFactor),t.stroke(),t.restore()):(t.lineWidth=Math.max(e,this.current.lineWidth),t.stroke())}e&&this.consumePath(),t.globalAlpha=this.current.fillAlpha},closeStroke:function(){this.closePath(),this.stroke()},fill:function(e){e=void 0===e||e;const t=this.ctx,n=this.current.fillColor;let r=!1;this.current.patternFill&&(t.save(),this.baseTransform&&t.setTransform.apply(t,this.baseTransform),t.fillStyle=n.getPattern(t,this),r=!0),this.contentVisible&&(this.pendingEOFill?(t.fill("evenodd"),this.pendingEOFill=!1):t.fill()),r&&t.restore(),e&&this.consumePath()},eoFill:function(){this.pendingEOFill=!0,this.fill()},fillStroke:function(){this.fill(!1),this.stroke(!1),this.consumePath()},eoFillStroke:function(){this.pendingEOFill=!0,this.fillStroke()},closeFillStroke:function(){this.closePath(),this.fillStroke()},closeEOFillStroke:function(){this.pendingEOFill=!0,this.closePath(),this.fillStroke()},endPath:function(){this.consumePath()},clip:function(){this.pendingClip=v},eoClip:function(){this.pendingClip=y},beginText:function(){this.current.textMatrix=r.IDENTITY_MATRIX,this.current.textMatrixScale=1,this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0},endText:function(){const e=this.pendingTextPaths,t=this.ctx;if(void 0!==e){t.save(),t.beginPath();for(let n=0;n<e.length;n++){const r=e[n];t.setTransform.apply(t,r.transform),t.translate(r.x,r.y),r.addToPath(t,r.fontSize)}t.restore(),t.clip(),t.beginPath(),delete this.pendingTextPaths}else t.beginPath()},setCharSpacing:function(e){this.current.charSpacing=e},setWordSpacing:function(e){this.current.wordSpacing=e},setHScale:function(e){this.current.textHScale=e/100},setLeading:function(e){this.current.leading=-e},setFont:function(e,t){const n=this.commonObjs.get(e),o=this.current;if(!n)throw new Error(`Can't find font for ${e}`);if(o.fontMatrix=n.fontMatrix||r.FONT_IDENTITY_MATRIX,0!==o.fontMatrix[0]&&0!==o.fontMatrix[3]||(0,r.warn)("Invalid font matrix for font "+e),t<0?(t=-t,o.fontDirection=-1):o.fontDirection=1,this.current.font=n,this.current.fontSize=t,n.isType3Font)return;const a=n.loadedName||"sans-serif";let i="normal";n.black?i="900":n.bold&&(i="bold");const s=n.italic?"italic":"normal",l=`"${a}", ${n.fallbackName}`;let c=t;t<16?c=16:t>100&&(c=100),this.current.fontSizeScale=t/c,this.ctx.font=`${s} ${i} ${c}px ${l}`},setTextRenderingMode:function(e){this.current.textRenderingMode=e},setTextRise:function(e){this.current.textRise=e},moveText:function(e,t){this.current.x=this.current.lineX+=e,this.current.y=this.current.lineY+=t},setLeadingMoveText:function(e,t){this.setLeading(-t),this.moveText(e,t)},setTextMatrix:function(e,t,n,r,o,a){this.current.textMatrix=[e,t,n,r,o,a],this.current.textMatrixScale=Math.hypot(e,t),this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0},nextLine:function(){this.moveText(0,this.current.leading)},paintChar(e,t,n,o,a){const i=this.ctx,s=this.current,l=s.font,c=s.textRenderingMode,u=s.fontSize/s.fontSizeScale,p=c&r.TextRenderingMode.FILL_STROKE_MASK,d=!!(c&r.TextRenderingMode.ADD_TO_PATH_FLAG),f=s.patternFill&&!l.missingFile;let h;(l.disableFontFace||d||f)&&(h=l.getPathGenerator(this.commonObjs,e)),l.disableFontFace||f?(i.save(),i.translate(t,n),i.beginPath(),h(i,u),o&&i.setTransform.apply(i,o),p!==r.TextRenderingMode.FILL&&p!==r.TextRenderingMode.FILL_STROKE||i.fill(),p!==r.TextRenderingMode.STROKE&&p!==r.TextRenderingMode.FILL_STROKE||(a&&(i.resetTransform(),i.lineWidth=Math.round(this._combinedScaleFactor)),i.stroke()),i.restore()):(p!==r.TextRenderingMode.FILL&&p!==r.TextRenderingMode.FILL_STROKE||i.fillText(e,t,n),p!==r.TextRenderingMode.STROKE&&p!==r.TextRenderingMode.FILL_STROKE||(a?(i.save(),i.moveTo(t,n),i.resetTransform(),i.lineWidth=Math.round(this._combinedScaleFactor),i.strokeText(e,0,0),i.restore()):i.strokeText(e,t,n))),d&&(this.pendingTextPaths||(this.pendingTextPaths=[])).push({transform:i.mozCurrentTransform,x:t,y:n,fontSize:u,addToPath:h})},get isFontSubpixelAAEnabled(){const{context:e}=this.cachedCanvases.getCanvas("isFontSubpixelAAEnabled",10,10);e.scale(1.5,1),e.fillText("I",0,10);const t=e.getImageData(0,0,10,10).data;let n=!1;for(let e=3;e<t.length;e+=4)if(t[e]>0&&t[e]<255){n=!0;break}return(0,r.shadow)(this,"isFontSubpixelAAEnabled",n)},showText:function(e){const t=this.current,n=t.font;if(n.isType3Font)return this.showType3Text(e);const o=t.fontSize;if(0===o)return;const a=this.ctx,i=t.fontSizeScale,s=t.charSpacing,l=t.wordSpacing,c=t.fontDirection,u=t.textHScale*c,p=e.length,d=n.vertical,f=d?1:-1,h=n.defaultVMetrics,g=o*t.fontMatrix[0],b=t.textRenderingMode===r.TextRenderingMode.FILL&&!n.disableFontFace&&!t.patternFill;let m;if(a.save(),t.patternFill){a.save();const e=t.fillColor.getPattern(a,this);m=a.mozCurrentTransform,a.restore(),a.fillStyle=e}a.transform.apply(a,t.textMatrix),a.translate(t.x,t.y+t.textRise),c>0?a.scale(u,-1):a.scale(u,1);let v=t.lineWidth,y=!1;const _=t.textMatrixScale;if(0===_||0===v){const e=t.textRenderingMode&r.TextRenderingMode.FILL_STROKE_MASK;e!==r.TextRenderingMode.STROKE&&e!==r.TextRenderingMode.FILL_STROKE||(this._cachedGetSinglePixelWidth=null,v=this.getSinglePixelWidth(),y=v<0)}else v/=_;1!==i&&(a.scale(i,i),v/=i),a.lineWidth=v;let x,w=0;for(x=0;x<p;++x){const t=e[x];if((0,r.isNum)(t)){w+=f*t*o/1e3;continue}let u=!1;const p=(t.isSpace?l:0)+s,v=t.fontChar,_=t.accent;let k,E,C,A=t.width;if(d){const e=t.vmetric||h,n=-(t.vmetric?e[1]:.5*A)*g,r=e[2]*g;A=e?-e[0]:A,k=n/i,E=(w+r)/i}else k=w/i,E=0;if(n.remeasure&&A>0){const e=1e3*a.measureText(v).width/o*i;if(A<e&&this.isFontSubpixelAAEnabled){const t=A/e;u=!0,a.save(),a.scale(t,1),k/=t}else A!==e&&(k+=(A-e)/2e3*o/i)}if(this.contentVisible&&(t.isInFont||n.missingFile))if(b&&!_)a.fillText(v,k,E);else if(this.paintChar(v,k,E,m,y),_){const e=k+o*_.offset.x/i,t=E-o*_.offset.y/i;this.paintChar(_.fontChar,e,t,m,y)}C=d?A*g-p*c:A*g+p*c,w+=C,u&&a.restore()}d?t.y-=w:t.x+=w*u,a.restore()},showType3Text:function(e){const t=this.ctx,n=this.current,o=n.font,a=n.fontSize,i=n.fontDirection,s=o.vertical?1:-1,l=n.charSpacing,c=n.wordSpacing,u=n.textHScale*i,p=n.fontMatrix||r.FONT_IDENTITY_MATRIX,d=e.length;let f,h,g,b;if(n.textRenderingMode!==r.TextRenderingMode.INVISIBLE&&0!==a){for(this._cachedGetSinglePixelWidth=null,t.save(),t.transform.apply(t,n.textMatrix),t.translate(n.x,n.y),t.scale(u,i),f=0;f<d;++f){if(h=e[f],(0,r.isNum)(h)){b=s*h*a/1e3,this.ctx.translate(b,0),n.x+=b*u;continue}const i=(h.isSpace?c:0)+l,d=o.charProcOperatorList[h.operatorListId];d?(this.contentVisible&&(this.processingType3=h,this.save(),t.scale(a,a),t.transform.apply(t,p),this.executeOperatorList(d),this.restore()),g=r.Util.applyTransform([h.width,0],p)[0]*a+i,t.translate(g,0),n.x+=g*u):(0,r.warn)(`Type3 character "${h.operatorListId}" is not available.`)}t.restore(),this.processingType3=null}},setCharWidth:function(e,t){},setCharWidthAndBounds:function(e,t,n,r,o,a){this.ctx.rect(n,r,o-n,a-r),this.clip(),this.endPath()},getColorN_Pattern:function(t){let n;if("TilingPattern"===t[0]){const r=t[1],a=this.baseTransform||this.ctx.mozCurrentTransform.slice(),i={createCanvasGraphics:t=>new e(t,this.commonObjs,this.objs,this.canvasFactory,this.webGLContext)};n=new o.TilingPattern(t,r,this.ctx,i,a)}else n=(0,o.getShadingPatternFromIR)(t);return n},setStrokeColorN:function(){this.current.strokeColor=this.getColorN_Pattern(arguments)},setFillColorN:function(){this.current.fillColor=this.getColorN_Pattern(arguments),this.current.patternFill=!0},setStrokeRGBColor:function(e,t,n){const o=r.Util.makeHexColor(e,t,n);this.ctx.strokeStyle=o,this.current.strokeColor=o},setFillRGBColor:function(e,t,n){const o=r.Util.makeHexColor(e,t,n);this.ctx.fillStyle=o,this.current.fillColor=o,this.current.patternFill=!1},shadingFill:function(e){if(!this.contentVisible)return;const t=this.ctx;this.save();const n=(0,o.getShadingPatternFromIR)(e);t.fillStyle=n.getPattern(t,this,!0);const a=t.mozCurrentTransformInverse;if(a){const e=t.canvas,n=e.width,o=e.height,i=r.Util.applyTransform([0,0],a),s=r.Util.applyTransform([0,o],a),l=r.Util.applyTransform([n,0],a),c=r.Util.applyTransform([n,o],a),u=Math.min(i[0],s[0],l[0],c[0]),p=Math.min(i[1],s[1],l[1],c[1]),d=Math.max(i[0],s[0],l[0],c[0]),f=Math.max(i[1],s[1],l[1],c[1]);this.ctx.fillRect(u,p,d-u,f-p)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);this.restore()},beginInlineImage:function(){(0,r.unreachable)("Should not call beginInlineImage")},beginImageData:function(){(0,r.unreachable)("Should not call beginImageData")},paintFormXObjectBegin:function(e,t){if(this.contentVisible&&(this.save(),this.baseTransformStack.push(this.baseTransform),Array.isArray(e)&&6===e.length&&this.transform.apply(this,e),this.baseTransform=this.ctx.mozCurrentTransform,t)){const e=t[2]-t[0],n=t[3]-t[1];this.ctx.rect(t[0],t[1],e,n),this.clip(),this.endPath()}},paintFormXObjectEnd:function(){this.contentVisible&&(this.restore(),this.baseTransform=this.baseTransformStack.pop())},beginGroup:function(e){if(!this.contentVisible)return;this.save();const t=this.ctx;e.isolated||(0,r.info)("TODO: Support non-isolated groups."),e.knockout&&(0,r.warn)("Knockout groups not supported.");const n=t.mozCurrentTransform;if(e.matrix&&t.transform.apply(t,e.matrix),!e.bbox)throw new Error("Bounding box is required.");let o=r.Util.getAxialAlignedBoundingBox(e.bbox,t.mozCurrentTransform);const i=[0,0,t.canvas.width,t.canvas.height];o=r.Util.intersect(o,i)||[0,0,0,0];const s=Math.floor(o[0]),l=Math.floor(o[1]);let c=Math.max(Math.ceil(o[2])-s,1),p=Math.max(Math.ceil(o[3])-l,1),d=1,f=1;c>a&&(d=c/a,c=a),p>a&&(f=p/a,p=a);let h="groupAt"+this.groupLevel;e.smask&&(h+="_smask_"+this.smaskCounter++%2);const g=this.cachedCanvases.getCanvas(h,c,p,!0),b=g.context;b.scale(1/d,1/f),b.translate(-s,-l),b.transform.apply(b,n),e.smask?this.smaskStack.push({canvas:g.canvas,context:b,offsetX:s,offsetY:l,scaleX:d,scaleY:f,subtype:e.smask.subtype,backdrop:e.smask.backdrop,transferMap:e.smask.transferMap||null,startTransformInverse:null}):(t.setTransform(1,0,0,1,0,0),t.translate(s,l),t.scale(d,f)),u(t,b),this.ctx=b,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(t),this.groupLevel++,this.current.activeSMask=null},endGroup:function(e){if(!this.contentVisible)return;this.groupLevel--;const t=this.ctx;this.ctx=this.groupStack.pop(),void 0!==this.ctx.imageSmoothingEnabled?this.ctx.imageSmoothingEnabled=!1:this.ctx.mozImageSmoothingEnabled=!1,e.smask?this.tempSMask=this.smaskStack.pop():this.ctx.drawImage(t.canvas,0,0),this.restore()},beginAnnotations:function(){this.save(),this.baseTransform&&this.ctx.setTransform.apply(this.ctx,this.baseTransform)},endAnnotations:function(){this.restore()},beginAnnotation:function(e,t,n){if(this.save(),p(this.ctx),this.current=new c,Array.isArray(e)&&4===e.length){const t=e[2]-e[0],n=e[3]-e[1];this.ctx.rect(e[0],e[1],t,n),this.clip(),this.endPath()}this.transform.apply(this,t),this.transform.apply(this,n)},endAnnotation:function(){this.restore()},paintImageMaskXObject:function(e){if(!this.contentVisible)return;const t=this.ctx,r=e.width,o=e.height,a=this.current.fillColor,i=this.current.patternFill,s=this.processingType3;if(s&&void 0===s.compiled&&(s.compiled=r<=1e3&&o<=1e3?function(e){const t=e.width,n=e.height,r=t+1;let o,a,i,s;const l=new Uint8Array(r*(n+1)),c=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),u=t+7&-8,p=e.data,d=new Uint8Array(u*n);let f=0;for(o=0,a=p.length;o<a;o++){const e=p[o];let t=128;for(;t>0;)d[f++]=e&t?0:255,t>>=1}let h=0;for(f=0,0!==d[f]&&(l[0]=1,++h),i=1;i<t;i++)d[f]!==d[f+1]&&(l[i]=d[f]?2:1,++h),f++;for(0!==d[f]&&(l[i]=2,++h),o=1;o<n;o++){f=o*u,s=o*r,d[f-u]!==d[f]&&(l[s]=d[f]?1:8,++h);let e=(d[f]?4:0)+(d[f-u]?8:0);for(i=1;i<t;i++)e=(e>>2)+(d[f+1]?4:0)+(d[f-u+1]?8:0),c[e]&&(l[s+i]=c[e],++h),f++;if(d[f-u]!==d[f]&&(l[s+i]=d[f]?2:4,++h),h>1e3)return null}for(f=u*(n-1),s=o*r,0!==d[f]&&(l[s]=8,++h),i=1;i<t;i++)d[f]!==d[f+1]&&(l[s+i]=d[f]?4:8,++h),f++;if(0!==d[f]&&(l[s+i]=4,++h),h>1e3)return null;const g=new Int32Array([0,r,-1,0,-r,0,0,0,1]),b=[];for(o=0;h&&o<=n;o++){let e=o*r;const n=e+t;for(;e<n&&!l[e];)e++;if(e===n)continue;const a=[e%r,o],i=e;let s=l[e];do{const t=g[s];do{e+=t}while(!l[e]);const n=l[e];5!==n&&10!==n?(s=n,l[e]=0):(s=n&51*s>>4,l[e]&=s>>2|s<<2),a.push(e%r),a.push(e/r|0),l[e]||--h}while(i!==e);b.push(a),--o}return function(e){e.save(),e.scale(1/t,-1/n),e.translate(0,-n),e.beginPath();for(let t=0,n=b.length;t<n;t++){const n=b[t];e.moveTo(n[0],n[1]);for(let t=2,r=n.length;t<r;t+=2)e.lineTo(n[t],n[t+1])}e.fill(),e.beginPath(),e.restore()}}({data:e.data,width:r,height:o}):null),s?.compiled)return void s.compiled(t);const l=this.cachedCanvases.getCanvas("maskCanvas",r,o),c=l.context;c.save(),n(c,e),c.globalCompositeOperation="source-in",c.fillStyle=i?a.getPattern(c,this):a,c.fillRect(0,0,r,o),c.restore(),this.paintInlineImageXObject(l.canvas)},paintImageMaskXObjectRepeat(e,t,r=0,o=0,a,i){if(!this.contentVisible)return;const s=e.width,l=e.height,c=this.current.fillColor,u=this.current.patternFill,p=this.cachedCanvases.getCanvas("maskCanvas",s,l),d=p.context;d.save(),n(d,e),d.globalCompositeOperation="source-in",d.fillStyle=u?c.getPattern(d,this):c,d.fillRect(0,0,s,l),d.restore();const f=this.ctx;for(let e=0,n=i.length;e<n;e+=2)f.save(),f.transform(t,r,o,a,i[e],i[e+1]),f.scale(1,-1),f.drawImage(p.canvas,0,0,s,l,0,-1,1,1),f.restore()},paintImageMaskXObjectGroup:function(e){if(!this.contentVisible)return;const t=this.ctx,r=this.current.fillColor,o=this.current.patternFill;for(let a=0,i=e.length;a<i;a++){const i=e[a],s=i.width,l=i.height,c=this.cachedCanvases.getCanvas("maskCanvas",s,l),u=c.context;u.save(),n(u,i),u.globalCompositeOperation="source-in",u.fillStyle=o?r.getPattern(u,this):r,u.fillRect(0,0,s,l),u.restore(),t.save(),t.transform.apply(t,i.transform),t.scale(1,-1),t.drawImage(c.canvas,0,0,s,l,0,-1,1,1),t.restore()}},paintImageXObject:function(e){if(!this.contentVisible)return;const t=e.startsWith("g_")?this.commonObjs.get(e):this.objs.get(e);t?this.paintInlineImageXObject(t):(0,r.warn)("Dependent image isn't ready yet")},paintImageXObjectRepeat:function(e,t,n,o){if(!this.contentVisible)return;const a=e.startsWith("g_")?this.commonObjs.get(e):this.objs.get(e);if(!a)return void(0,r.warn)("Dependent image isn't ready yet");const i=a.width,s=a.height,l=[];for(let e=0,r=o.length;e<r;e+=2)l.push({transform:[t,0,0,n,o[e],o[e+1]],x:0,y:0,w:i,h:s});this.paintInlineImageXObjectGroup(a,l)},paintInlineImageXObject:function(e){if(!this.contentVisible)return;const n=e.width,r=e.height,o=this.ctx;this.save(),o.scale(1/n,-1/r);const a=o.mozCurrentTransformInverse;let i,s,l,c=Math.max(Math.hypot(a[0],a[1]),1),u=Math.max(Math.hypot(a[2],a[3]),1);"function"==typeof HTMLElement&&e instanceof HTMLElement||!e.data?i=e:(s=this.cachedCanvases.getCanvas("inlineImage",n,r),l=s.context,t(l,e,this.current.transferMaps),i=s.canvas);let p=n,d=r,f="prescale1";for(;c>2&&p>1||u>2&&d>1;){let e=p,t=d;c>2&&p>1&&(e=Math.ceil(p/2),c/=p/e),u>2&&d>1&&(t=Math.ceil(d/2),u/=d/t),s=this.cachedCanvases.getCanvas(f,e,t),l=s.context,l.clearRect(0,0,e,t),l.drawImage(i,0,0,p,d,0,0,e,t),i=s.canvas,p=e,d=t,f="prescale1"===f?"prescale2":"prescale1"}if(o.drawImage(i,0,0,p,d,0,-r,n,r),this.imageLayer){const t=this.getCanvasPosition(0,-r);this.imageLayer.appendImage({imgData:e,left:t[0],top:t[1],width:n/a[0],height:r/a[3]})}this.restore()},paintInlineImageXObjectGroup:function(e,n){if(!this.contentVisible)return;const r=this.ctx,o=e.width,a=e.height,i=this.cachedCanvases.getCanvas("inlineImage",o,a);t(i.context,e,this.current.transferMaps);for(let t=0,s=n.length;t<s;t++){const s=n[t];if(r.save(),r.transform.apply(r,s.transform),r.scale(1,-1),r.drawImage(i.canvas,s.x,s.y,s.w,s.h,0,-1,1,1),this.imageLayer){const t=this.getCanvasPosition(s.x,s.y);this.imageLayer.appendImage({imgData:e,left:t[0],top:t[1],width:o,height:a})}r.restore()}},paintSolidColorImageMask:function(){this.contentVisible&&this.ctx.fillRect(0,0,1,1)},markPoint:function(e){},markPointProps:function(e,t){},beginMarkedContent:function(e){this.markedContentStack.push({visible:!0})},beginMarkedContentProps:function(e,t){"OC"===e?this.markedContentStack.push({visible:this.optionalContentConfig.isVisible(t)}):this.markedContentStack.push({visible:!0}),this.contentVisible=this.isContentVisible()},endMarkedContent:function(){this.markedContentStack.pop(),this.contentVisible=this.isContentVisible()},beginCompat:function(){},endCompat:function(){},consumePath:function(){const e=this.ctx;this.pendingClip&&(this.pendingClip===y?e.clip("evenodd"):e.clip(),this.pendingClip=null),e.beginPath()},getSinglePixelWidth(){if(null===this._cachedGetSinglePixelWidth){const e=this.ctx.mozCurrentTransform,t=Math.abs(e[0]*e[3]-e[2]*e[1]),n=e[0]**2+e[2]**2,r=e[1]**2+e[3]**2,o=Math.sqrt(Math.max(n,r))/t;n!==r&&this._combinedScaleFactor*o>1?this._cachedGetSinglePixelWidth=-this._combinedScaleFactor*o:t>Number.EPSILON?this._cachedGetSinglePixelWidth=o:this._cachedGetSinglePixelWidth=1}return this._cachedGetSinglePixelWidth},getCanvasPosition:function(e,t){const n=this.ctx.mozCurrentTransform;return[n[0]*e+n[2]*t+n[4],n[1]*e+n[3]*t+n[5]]},isContentVisible:function(){for(let e=this.markedContentStack.length-1;e>=0;e--)if(!this.markedContentStack[e].visible)return!1;return!0}};for(const t in r.OPS)e.prototype[r.OPS[t]]=e.prototype[t];return e}();t.CanvasGraphics=u},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getShadingPatternFromIR=function(e){const t=o[e[0]];if(!t)throw new Error(`Unknown IR type: ${e[0]}`);return t.fromIR(e)},t.TilingPattern=void 0;var r=n(2);const o={};function a(e,t){if(!t||"undefined"==typeof Path2D)return;const n=t[2]-t[0],r=t[3]-t[1],o=new Path2D;o.rect(t[0],t[1],n,r),e.clip(o)}o.RadialAxial={fromIR:function(e){const t=e[1],n=e[2],r=e[3],o=e[4],i=e[5],s=e[6],l=e[7];return{getPattern:function(e){let c;a(e,n),"axial"===t?c=e.createLinearGradient(o[0],o[1],i[0],i[1]):"radial"===t&&(c=e.createRadialGradient(o[0],o[1],s,i[0],i[1],l));for(let e=0,t=r.length;e<t;++e){const t=r[e];c.addColorStop(t[0],t[1])}return c}}}};const i=function(){function e(e,t,n,r,o,a,i,s){const l=t.coords,c=t.colors,u=e.data,p=4*e.width;let d;l[n+1]>l[r+1]&&(d=n,n=r,r=d,d=a,a=i,i=d),l[r+1]>l[o+1]&&(d=r,r=o,o=d,d=i,i=s,s=d),l[n+1]>l[r+1]&&(d=n,n=r,r=d,d=a,a=i,i=d);const f=(l[n]+t.offsetX)*t.scaleX,h=(l[n+1]+t.offsetY)*t.scaleY,g=(l[r]+t.offsetX)*t.scaleX,b=(l[r+1]+t.offsetY)*t.scaleY,m=(l[o]+t.offsetX)*t.scaleX,v=(l[o+1]+t.offsetY)*t.scaleY;if(h>=v)return;const y=c[a],_=c[a+1],x=c[a+2],w=c[i],k=c[i+1],E=c[i+2],C=c[s],A=c[s+1],P=c[s+2],T=Math.round(h),S=Math.round(v);let O,M,R,N,D,L,I,j;for(let e=T;e<=S;e++){if(e<b){let t;t=e<h?0:h===b?1:(h-e)/(h-b),O=f-(f-g)*t,M=y-(y-w)*t,R=_-(_-k)*t,N=x-(x-E)*t}else{let t;t=e>v?1:b===v?0:(b-e)/(b-v),O=g-(g-m)*t,M=w-(w-C)*t,R=k-(k-A)*t,N=E-(E-P)*t}let t;t=e<h?0:e>v?1:(h-e)/(h-v),D=f-(f-m)*t,L=y-(y-C)*t,I=_-(_-A)*t,j=x-(x-P)*t;const n=Math.round(Math.min(O,D)),r=Math.round(Math.max(O,D));let o=p*e+4*n;for(let e=n;e<=r;e++)t=(O-e)/(O-D),t<0?t=0:t>1&&(t=1),u[o++]=M-(M-L)*t|0,u[o++]=R-(R-I)*t|0,u[o++]=N-(N-j)*t|0,u[o++]=255}}function t(t,n,r){const o=n.coords,a=n.colors;let i,s;switch(n.type){case"lattice":const l=n.verticesPerRow,c=Math.floor(o.length/l)-1,u=l-1;for(i=0;i<c;i++){let n=i*l;for(let i=0;i<u;i++,n++)e(t,r,o[n],o[n+1],o[n+l],a[n],a[n+1],a[n+l]),e(t,r,o[n+l+1],o[n+1],o[n+l],a[n+l+1],a[n+1],a[n+l])}break;case"triangles":for(i=0,s=o.length;i<s;i+=3)e(t,r,o[i],o[i+1],o[i+2],a[i],a[i+1],a[i+2]);break;default:throw new Error("illegal figure")}}return function(e,n,r,o,a,i,s,l){const c=Math.floor(e[0]),u=Math.floor(e[1]),p=Math.ceil(e[2])-c,d=Math.ceil(e[3])-u,f=Math.min(Math.ceil(Math.abs(p*n[0]*1.1)),3e3),h=Math.min(Math.ceil(Math.abs(d*n[1]*1.1)),3e3),g=p/f,b=d/h,m={coords:r,colors:o,offsetX:-c,offsetY:-u,scaleX:1/g,scaleY:1/b},v=f+4,y=h+4;let _,x,w,k;if(l.isEnabled)_=l.drawFigures({width:f,height:h,backgroundColor:i,figures:a,context:m}),x=s.getCanvas("mesh",v,y,!1),x.context.drawImage(_,2,2),_=x.canvas;else{x=s.getCanvas("mesh",v,y,!1);const e=x.context,n=e.createImageData(f,h);if(i){const e=n.data;for(w=0,k=e.length;w<k;w+=4)e[w]=i[0],e[w+1]=i[1],e[w+2]=i[2],e[w+3]=255}for(w=0;w<a.length;w++)t(n,a[w],m);e.putImageData(n,2,2),_=x.canvas}return{canvas:_,offsetX:c-2*g,offsetY:u-2*b,scaleX:g,scaleY:b}}}();o.Mesh={fromIR:function(e){const t=e[2],n=e[3],o=e[4],s=e[5],l=e[6],c=e[7],u=e[8];return{getPattern:function(e,p,d){let f;if(a(e,c),d)f=r.Util.singularValueDecompose2dScale(e.mozCurrentTransform);else if(f=r.Util.singularValueDecompose2dScale(p.baseTransform),l){const e=r.Util.singularValueDecompose2dScale(l);f=[f[0]*e[0],f[1]*e[1]]}const h=i(s,f,t,n,o,d?null:u,p.cachedCanvases,p.webGLContext);return d||(e.setTransform.apply(e,p.baseTransform),l&&e.transform.apply(e,l)),e.translate(h.offsetX,h.offsetY),e.scale(h.scaleX,h.scaleY),e.createPattern(h.canvas,"no-repeat")}}}},o.Dummy={fromIR:function(){return{getPattern:function(){return"hotpink"}}}};const s=function(){function e(e,t,n,r,o){this.operatorList=e[2],this.matrix=e[3]||[1,0,0,1,0,0],this.bbox=e[4],this.xstep=e[5],this.ystep=e[6],this.paintType=e[7],this.tilingType=e[8],this.color=t,this.canvasGraphicsFactory=r,this.baseTransform=o,this.ctx=n}return e.prototype={createPatternCanvas:function(e){const t=this.operatorList,n=this.bbox,o=this.xstep,a=this.ystep,i=this.paintType,s=this.tilingType,l=this.color,c=this.canvasGraphicsFactory;(0,r.info)("TilingType: "+s);const u=n[0],p=n[1],d=n[2],f=n[3],h=r.Util.singularValueDecompose2dScale(this.matrix),g=r.Util.singularValueDecompose2dScale(this.baseTransform),b=[h[0]*g[0],h[1]*g[1]],m=this.getSizeAndScale(o,this.ctx.canvas.width,b[0]),v=this.getSizeAndScale(a,this.ctx.canvas.height,b[1]),y=e.cachedCanvases.getCanvas("pattern",m.size,v.size,!0),_=y.context,x=c.createCanvasGraphics(_);return x.groupLevel=e.groupLevel,this.setFillAndStrokeStyleToContext(x,i,l),x.transform(m.scale,0,0,v.scale,0,0),x.transform(1,0,0,1,-u,-p),this.clipBbox(x,n,u,p,d,f),x.executeOperatorList(t),this.ctx.transform(1,0,0,1,u,p),this.ctx.scale(1/m.scale,1/v.scale),y.canvas},getSizeAndScale:function(e,t,n){e=Math.abs(e);const r=Math.max(3e3,t);let o=Math.ceil(e*n);return o>=r?o=r:n=o/e,{scale:n,size:o}},clipBbox:function(e,t,n,r,o,a){if(Array.isArray(t)&&4===t.length){const t=o-n,i=a-r;e.ctx.rect(n,r,t,i),e.clip(),e.endPath()}},setFillAndStrokeStyleToContext:function(e,t,n){const o=e.ctx,a=e.current;switch(t){case 1:const e=this.ctx;o.fillStyle=e.fillStyle,o.strokeStyle=e.strokeStyle,a.fillColor=e.fillStyle,a.strokeColor=e.strokeStyle;break;case 2:const i=r.Util.makeHexColor(n[0],n[1],n[2]);o.fillStyle=i,o.strokeStyle=i,a.fillColor=i,a.strokeColor=i;break;default:throw new r.FormatError(`Unsupported paint type: ${t}`)}},getPattern:function(e,t){(e=this.ctx).setTransform.apply(e,this.baseTransform),e.transform.apply(e,this.matrix);const n=this.createPatternCanvas(t);return e.createPattern(n,"repeat")}},e}();t.TilingPattern=s},(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GlobalWorkerOptions=void 0;const n=Object.create(null);t.GlobalWorkerOptions=n,n.workerPort=void 0===n.workerPort?null:n.workerPort,n.workerSrc=void 0===n.workerSrc?"":n.workerSrc},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MessageHandler=void 0;var r=n(2);function o(e){if("object"!=typeof e||null===e)return e;switch(e.name){case"AbortException":return new r.AbortException(e.message);case"MissingPDFException":return new r.MissingPDFException(e.message);case"UnexpectedResponseException":return new r.UnexpectedResponseException(e.message,e.status);case"UnknownErrorException":return new r.UnknownErrorException(e.message,e.details);default:return new r.UnknownErrorException(e.message,e.toString())}}t.MessageHandler=class{constructor(e,t,n){this.sourceName=e,this.targetName=t,this.comObj=n,this.callbackId=1,this.streamId=1,this.postMessageTransfers=!0,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null),this.callbackCapabilities=Object.create(null),this.actionHandler=Object.create(null),this._onComObjOnMessage=e=>{const t=e.data;if(t.targetName!==this.sourceName)return;if(t.stream)return void this._processStreamMessage(t);if(t.callback){const e=t.callbackId,n=this.callbackCapabilities[e];if(!n)throw new Error(`Cannot resolve callback ${e}`);if(delete this.callbackCapabilities[e],1===t.callback)n.resolve(t.data);else{if(2!==t.callback)throw new Error("Unexpected callback case");n.reject(o(t.reason))}return}const r=this.actionHandler[t.action];if(!r)throw new Error(`Unknown action from worker: ${t.action}`);if(t.callbackId){const e=this.sourceName,a=t.sourceName;new Promise((function(e){e(r(t.data))})).then((function(r){n.postMessage({sourceName:e,targetName:a,callback:1,callbackId:t.callbackId,data:r})}),(function(r){n.postMessage({sourceName:e,targetName:a,callback:2,callbackId:t.callbackId,reason:o(r)})}))}else t.streamId?this._createStreamSink(t):r(t.data)},n.addEventListener("message",this._onComObjOnMessage)}on(e,t){const n=this.actionHandler;if(n[e])throw new Error(`There is already an actionName called "${e}"`);n[e]=t}send(e,t,n){this._postMessage({sourceName:this.sourceName,targetName:this.targetName,action:e,data:t},n)}sendWithPromise(e,t,n){const o=this.callbackId++,a=(0,r.createPromiseCapability)();this.callbackCapabilities[o]=a;try{this._postMessage({sourceName:this.sourceName,targetName:this.targetName,action:e,callbackId:o,data:t},n)}catch(e){a.reject(e)}return a.promise}sendWithStream(e,t,n,a){const i=this.streamId++,s=this.sourceName,l=this.targetName,c=this.comObj;return new ReadableStream({start:n=>{const o=(0,r.createPromiseCapability)();return this.streamControllers[i]={controller:n,startCall:o,pullCall:null,cancelCall:null,isClosed:!1},this._postMessage({sourceName:s,targetName:l,action:e,streamId:i,data:t,desiredSize:n.desiredSize},a),o.promise},pull:e=>{const t=(0,r.createPromiseCapability)();return this.streamControllers[i].pullCall=t,c.postMessage({sourceName:s,targetName:l,stream:6,streamId:i,desiredSize:e.desiredSize}),t.promise},cancel:e=>{(0,r.assert)(e instanceof Error,"cancel must have a valid reason");const t=(0,r.createPromiseCapability)();return this.streamControllers[i].cancelCall=t,this.streamControllers[i].isClosed=!0,c.postMessage({sourceName:s,targetName:l,stream:1,streamId:i,reason:o(e)}),t.promise}},n)}_createStreamSink(e){const t=this,n=this.actionHandler[e.action],a=e.streamId,i=this.sourceName,s=e.sourceName,l=this.comObj,c={enqueue(e,n=1,o){if(this.isCancelled)return;const l=this.desiredSize;this.desiredSize-=n,l>0&&this.desiredSize<=0&&(this.sinkCapability=(0,r.createPromiseCapability)(),this.ready=this.sinkCapability.promise),t._postMessage({sourceName:i,targetName:s,stream:4,streamId:a,chunk:e},o)},close(){this.isCancelled||(this.isCancelled=!0,l.postMessage({sourceName:i,targetName:s,stream:3,streamId:a}),delete t.streamSinks[a])},error(e){(0,r.assert)(e instanceof Error,"error must have a valid reason"),this.isCancelled||(this.isCancelled=!0,l.postMessage({sourceName:i,targetName:s,stream:5,streamId:a,reason:o(e)}))},sinkCapability:(0,r.createPromiseCapability)(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:e.desiredSize,ready:null};c.sinkCapability.resolve(),c.ready=c.sinkCapability.promise,this.streamSinks[a]=c,new Promise((function(t){t(n(e.data,c))})).then((function(){l.postMessage({sourceName:i,targetName:s,stream:8,streamId:a,success:!0})}),(function(e){l.postMessage({sourceName:i,targetName:s,stream:8,streamId:a,reason:o(e)})}))}_processStreamMessage(e){const t=e.streamId,n=this.sourceName,a=e.sourceName,i=this.comObj;switch(e.stream){case 8:e.success?this.streamControllers[t].startCall.resolve():this.streamControllers[t].startCall.reject(o(e.reason));break;case 7:e.success?this.streamControllers[t].pullCall.resolve():this.streamControllers[t].pullCall.reject(o(e.reason));break;case 6:if(!this.streamSinks[t]){i.postMessage({sourceName:n,targetName:a,stream:7,streamId:t,success:!0});break}this.streamSinks[t].desiredSize<=0&&e.desiredSize>0&&this.streamSinks[t].sinkCapability.resolve(),this.streamSinks[t].desiredSize=e.desiredSize;const{onPull:s}=this.streamSinks[e.streamId];new Promise((function(e){e(s&&s())})).then((function(){i.postMessage({sourceName:n,targetName:a,stream:7,streamId:t,success:!0})}),(function(e){i.postMessage({sourceName:n,targetName:a,stream:7,streamId:t,reason:o(e)})}));break;case 4:if((0,r.assert)(this.streamControllers[t],"enqueue should have stream controller"),this.streamControllers[t].isClosed)break;this.streamControllers[t].controller.enqueue(e.chunk);break;case 3:if((0,r.assert)(this.streamControllers[t],"close should have stream controller"),this.streamControllers[t].isClosed)break;this.streamControllers[t].isClosed=!0,this.streamControllers[t].controller.close(),this._deleteStreamController(t);break;case 5:(0,r.assert)(this.streamControllers[t],"error should have stream controller"),this.streamControllers[t].controller.error(o(e.reason)),this._deleteStreamController(t);break;case 2:e.success?this.streamControllers[t].cancelCall.resolve():this.streamControllers[t].cancelCall.reject(o(e.reason)),this._deleteStreamController(t);break;case 1:if(!this.streamSinks[t])break;const{onCancel:l}=this.streamSinks[e.streamId];new Promise((function(t){t(l&&l(o(e.reason)))})).then((function(){i.postMessage({sourceName:n,targetName:a,stream:2,streamId:t,success:!0})}),(function(e){i.postMessage({sourceName:n,targetName:a,stream:2,streamId:t,reason:o(e)})})),this.streamSinks[t].sinkCapability.reject(o(e.reason)),this.streamSinks[t].isCancelled=!0,delete this.streamSinks[t];break;default:throw new Error("Unexpected stream case")}}async _deleteStreamController(e){await Promise.allSettled([this.streamControllers[e].startCall,this.streamControllers[e].pullCall,this.streamControllers[e].cancelCall].map((function(e){return e&&e.promise}))),delete this.streamControllers[e]}_postMessage(e,t){t&&this.postMessageTransfers?this.comObj.postMessage(e,t):this.comObj.postMessage(e)}destroy(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}}},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Metadata=void 0;var r=n(2);t.Metadata=class{constructor({parsedData:e,rawData:t}){this._metadataMap=e,this._data=t}getRaw(){return this._data}get(e){return this._metadataMap.get(e)??null}getAll(){return(0,r.objectFromMap)(this._metadataMap)}has(e){return this._metadataMap.has(e)}}},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.OptionalContentConfig=void 0;var r=n(2);class o{constructor(e,t){this.visible=!0,this.name=e,this.intent=t}}t.OptionalContentConfig=class{constructor(e){if(this.name=null,this.creator=null,this._order=null,this._groups=new Map,null!==e){this.name=e.name,this.creator=e.creator,this._order=e.order;for(const t of e.groups)this._groups.set(t.id,new o(t.name,t.intent));if("OFF"===e.baseState)for(const e of this._groups)e.visible=!1;for(const t of e.on)this._groups.get(t).visible=!0;for(const t of e.off)this._groups.get(t).visible=!1}}isVisible(e){if("OCG"===e.type)return this._groups.has(e.id)?this._groups.get(e.id).visible:((0,r.warn)(`Optional content group not found: ${e.id}`),!0);if("OCMD"===e.type){if(e.expression&&(0,r.warn)("Visibility expression not supported yet."),!e.policy||"AnyOn"===e.policy){for(const t of e.ids){if(!this._groups.has(t))return(0,r.warn)(`Optional content group not found: ${t}`),!0;if(this._groups.get(t).visible)return!0}return!1}if("AllOn"===e.policy){for(const t of e.ids){if(!this._groups.has(t))return(0,r.warn)(`Optional content group not found: ${t}`),!0;if(!this._groups.get(t).visible)return!1}return!0}if("AnyOff"===e.policy){for(const t of e.ids){if(!this._groups.has(t))return(0,r.warn)(`Optional content group not found: ${t}`),!0;if(!this._groups.get(t).visible)return!0}return!1}if("AllOff"===e.policy){for(const t of e.ids){if(!this._groups.has(t))return(0,r.warn)(`Optional content group not found: ${t}`),!0;if(this._groups.get(t).visible)return!1}return!0}return(0,r.warn)(`Unknown optional content policy ${e.policy}.`),!0}return(0,r.warn)(`Unknown group type ${e.type}.`),!0}setVisibility(e,t=!0){this._groups.has(e)?this._groups.get(e).visible=!!t:(0,r.warn)(`Optional content group not found: ${e}`)}getOrder(){return this._groups.size?this._order?this._order.slice():Array.from(this._groups.keys()):null}getGroups(){return this._groups.size>0?(0,r.objectFromMap)(this._groups):null}getGroup(e){return this._groups.get(e)||null}}},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PDFDataTransportStream=void 0;var r=n(2),o=n(1);t.PDFDataTransportStream=class{constructor(e,t){(0,r.assert)(t,'PDFDataTransportStream - missing required "pdfDataRangeTransport" argument.'),this._queuedChunks=[],this._progressiveDone=e.progressiveDone||!1,this._contentDispositionFilename=e.contentDispositionFilename||null;const n=e.initialData;if(n?.length>0){const e=new Uint8Array(n).buffer;this._queuedChunks.push(e)}this._pdfDataRangeTransport=t,this._isStreamingSupported=!e.disableStream,this._isRangeSupported=!e.disableRange,this._contentLength=e.length,this._fullRequestReader=null,this._rangeReaders=[],this._pdfDataRangeTransport.addRangeListener(((e,t)=>{this._onReceiveData({begin:e,chunk:t})})),this._pdfDataRangeTransport.addProgressListener(((e,t)=>{this._onProgress({loaded:e,total:t})})),this._pdfDataRangeTransport.addProgressiveReadListener((e=>{this._onReceiveData({chunk:e})})),this._pdfDataRangeTransport.addProgressiveDoneListener((()=>{this._onProgressiveDone()})),this._pdfDataRangeTransport.transportReady()}_onReceiveData(e){const t=new Uint8Array(e.chunk).buffer;if(void 0===e.begin)this._fullRequestReader?this._fullRequestReader._enqueue(t):this._queuedChunks.push(t);else{const n=this._rangeReaders.some((function(n){return n._begin===e.begin&&(n._enqueue(t),!0)}));(0,r.assert)(n,"_onReceiveData - no `PDFDataTransportStreamRangeReader` instance found.")}}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}_onProgress(e){if(void 0===e.total){const t=this._rangeReaders[0];t?.onProgress&&t.onProgress({loaded:e.loaded})}else{const t=this._fullRequestReader;t?.onProgress&&t.onProgress({loaded:e.loaded,total:e.total})}}_onProgressiveDone(){this._fullRequestReader&&this._fullRequestReader.progressiveDone(),this._progressiveDone=!0}_removeRangeReader(e){const t=this._rangeReaders.indexOf(e);t>=0&&this._rangeReaders.splice(t,1)}getFullReader(){(0,r.assert)(!this._fullRequestReader,"PDFDataTransportStream.getFullReader can only be called once.");const e=this._queuedChunks;return this._queuedChunks=null,new a(this,e,this._progressiveDone,this._contentDispositionFilename)}getRangeReader(e,t){if(t<=this._progressiveDataLength)return null;const n=new i(this,e,t);return this._pdfDataRangeTransport.requestDataRange(e,t),this._rangeReaders.push(n),n}cancelAllRequests(e){this._fullRequestReader&&this._fullRequestReader.cancel(e),this._rangeReaders.slice(0).forEach((function(t){t.cancel(e)})),this._pdfDataRangeTransport.abort()}};class a{constructor(e,t,n=!1,r=null){this._stream=e,this._done=n||!1,this._filename=(0,o.isPdfFile)(r)?r:null,this._queuedChunks=t||[],this._loaded=0;for(const e of this._queuedChunks)this._loaded+=e.byteLength;this._requests=[],this._headersReady=Promise.resolve(),e._fullRequestReader=this,this.onProgress=null}_enqueue(e){this._done||(this._requests.length>0?this._requests.shift().resolve({value:e,done:!1}):this._queuedChunks.push(e),this._loaded+=e.byteLength)}get headersReady(){return this._headersReady}get filename(){return this._filename}get isRangeSupported(){return this._stream._isRangeSupported}get isStreamingSupported(){return this._stream._isStreamingSupported}get contentLength(){return this._stream._contentLength}async read(){if(this._queuedChunks.length>0)return{value:this._queuedChunks.shift(),done:!1};if(this._done)return{value:void 0,done:!0};const e=(0,r.createPromiseCapability)();return this._requests.push(e),e.promise}cancel(e){this._done=!0,this._requests.forEach((function(e){e.resolve({value:void 0,done:!0})})),this._requests=[]}progressiveDone(){this._done||(this._done=!0)}}class i{constructor(e,t,n){this._stream=e,this._begin=t,this._end=n,this._queuedChunk=null,this._requests=[],this._done=!1,this.onProgress=null}_enqueue(e){this._done||(0===this._requests.length?this._queuedChunk=e:(this._requests.shift().resolve({value:e,done:!1}),this._requests.forEach((function(e){e.resolve({value:void 0,done:!0})})),this._requests=[]),this._done=!0,this._stream._removeRangeReader(this))}get isStreamingSupported(){return!1}async read(){if(this._queuedChunk){const e=this._queuedChunk;return this._queuedChunk=null,{value:e,done:!1}}if(this._done)return{value:void 0,done:!0};const e=(0,r.createPromiseCapability)();return this._requests.push(e),e.promise}cancel(e){this._done=!0,this._requests.forEach((function(e){e.resolve({value:void 0,done:!0})})),this._requests=[],this._stream._removeRangeReader(this)}}},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WebGLContext=void 0;var r=n(2);t.WebGLContext=class{constructor({enable:e=!1}){this._enabled=!0===e}get isEnabled(){let e=this._enabled;return e&&(e=o.tryInitGL()),(0,r.shadow)(this,"isEnabled",e)}composeSMask({layer:e,mask:t,properties:n}){return o.composeSMask(e,t,n)}drawFigures({width:e,height:t,backgroundColor:n,figures:r,context:a}){return o.drawFigures(e,t,n,r,a)}clear(){o.cleanup()}};const o=function(){function e(e,t,n){const r=e.createShader(n);if(e.shaderSource(r,t),e.compileShader(r),!e.getShaderParameter(r,e.COMPILE_STATUS)){const t=e.getShaderInfoLog(r);throw new Error("Error during shader compilation: "+t)}return r}function t(t,n){return e(t,n,t.VERTEX_SHADER)}function n(t,n){return e(t,n,t.FRAGMENT_SHADER)}function r(e,t){const n=e.createProgram();for(let r=0,o=t.length;r<o;++r)e.attachShader(n,t[r]);if(e.linkProgram(n),!e.getProgramParameter(n,e.LINK_STATUS)){const t=e.getProgramInfoLog(n);throw new Error("Error during program linking: "+t)}return n}function o(e,t,n){e.activeTexture(n);const r=e.createTexture();return e.bindTexture(e.TEXTURE_2D,r),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.NEAREST),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MAG_FILTER,e.NEAREST),e.texImage2D(e.TEXTURE_2D,0,e.RGBA,e.RGBA,e.UNSIGNED_BYTE,t),r}let a,i;function s(){a||(i=document.createElement("canvas"),a=i.getContext("webgl",{premultipliedalpha:!1}))}let l=null,c=null;return{tryInitGL(){try{return s(),!!a}catch(e){}return!1},composeSMask:function(e,c,u){const p=e.width,d=e.height;l||function(){s();const e=i;i=null;const o=a;a=null;const c=r(o,[t(o," attribute vec2 a_position; attribute vec2 a_texCoord; uniform vec2 u_resolution; varying vec2 v_texCoord; void main() { vec2 clipSpace = (a_position / u_resolution) * 2.0 - 1.0; gl_Position = vec4(clipSpace * vec2(1, -1), 0, 1); v_texCoord = a_texCoord; } "),n(o," precision mediump float; uniform vec4 u_backdrop; uniform int u_subtype; uniform sampler2D u_image; uniform sampler2D u_mask; varying vec2 v_texCoord; void main() { vec4 imageColor = texture2D(u_image, v_texCoord); vec4 maskColor = texture2D(u_mask, v_texCoord); if (u_backdrop.a > 0.0) { maskColor.rgb = maskColor.rgb * maskColor.a + u_backdrop.rgb * (1.0 - maskColor.a); } float lum; if (u_subtype == 0) { lum = maskColor.a; } else { lum = maskColor.r * 0.3 + maskColor.g * 0.59 + maskColor.b * 0.11; } imageColor.a *= lum; imageColor.rgb *= imageColor.a; gl_FragColor = imageColor; } ")]);o.useProgram(c);const u={};u.gl=o,u.canvas=e,u.resolutionLocation=o.getUniformLocation(c,"u_resolution"),u.positionLocation=o.getAttribLocation(c,"a_position"),u.backdropLocation=o.getUniformLocation(c,"u_backdrop"),u.subtypeLocation=o.getUniformLocation(c,"u_subtype");const p=o.getAttribLocation(c,"a_texCoord"),d=o.getUniformLocation(c,"u_image"),f=o.getUniformLocation(c,"u_mask"),h=o.createBuffer();o.bindBuffer(o.ARRAY_BUFFER,h),o.bufferData(o.ARRAY_BUFFER,new Float32Array([0,0,1,0,0,1,0,1,1,0,1,1]),o.STATIC_DRAW),o.enableVertexAttribArray(p),o.vertexAttribPointer(p,2,o.FLOAT,!1,0,0),o.uniform1i(d,0),o.uniform1i(f,1),l=u}();const f=l,h=f.canvas,g=f.gl;h.width=p,h.height=d,g.viewport(0,0,g.drawingBufferWidth,g.drawingBufferHeight),g.uniform2f(f.resolutionLocation,p,d),u.backdrop?g.uniform4f(f.resolutionLocation,u.backdrop[0],u.backdrop[1],u.backdrop[2],1):g.uniform4f(f.resolutionLocation,0,0,0,0),g.uniform1i(f.subtypeLocation,"Luminosity"===u.subtype?1:0);const b=o(g,e,g.TEXTURE0),m=o(g,c,g.TEXTURE1),v=g.createBuffer();return g.bindBuffer(g.ARRAY_BUFFER,v),g.bufferData(g.ARRAY_BUFFER,new Float32Array([0,0,p,0,0,d,0,d,p,0,p,d]),g.STATIC_DRAW),g.enableVertexAttribArray(f.positionLocation),g.vertexAttribPointer(f.positionLocation,2,g.FLOAT,!1,0,0),g.clearColor(0,0,0,0),g.enable(g.BLEND),g.blendFunc(g.ONE,g.ONE_MINUS_SRC_ALPHA),g.clear(g.COLOR_BUFFER_BIT),g.drawArrays(g.TRIANGLES,0,6),g.flush(),g.deleteTexture(b),g.deleteTexture(m),g.deleteBuffer(v),h},drawFigures:function(e,o,l,u,p){c||function(){s();const e=i;i=null;const o=a;a=null;const l=r(o,[t(o," attribute vec2 a_position; attribute vec3 a_color; uniform vec2 u_resolution; uniform vec2 u_scale; uniform vec2 u_offset; varying vec4 v_color; void main() { vec2 position = (a_position + u_offset) * u_scale; vec2 clipSpace = (position / u_resolution) * 2.0 - 1.0; gl_Position = vec4(clipSpace * vec2(1, -1), 0, 1); v_color = vec4(a_color / 255.0, 1.0); } "),n(o," precision mediump float; varying vec4 v_color; void main() { gl_FragColor = v_color; } ")]);o.useProgram(l);const u={};u.gl=o,u.canvas=e,u.resolutionLocation=o.getUniformLocation(l,"u_resolution"),u.scaleLocation=o.getUniformLocation(l,"u_scale"),u.offsetLocation=o.getUniformLocation(l,"u_offset"),u.positionLocation=o.getAttribLocation(l,"a_position"),u.colorLocation=o.getAttribLocation(l,"a_color"),c=u}();const d=c,f=d.canvas,h=d.gl;f.width=e,f.height=o,h.viewport(0,0,h.drawingBufferWidth,h.drawingBufferHeight),h.uniform2f(d.resolutionLocation,e,o);let g=0;for(let e=0,t=u.length;e<t;e++)switch(u[e].type){case"lattice":g+=((u[e].coords.length/u[e].verticesPerRow|0)-1)*(u[e].verticesPerRow-1)*6;break;case"triangles":g+=u[e].coords.length}const b=new Float32Array(2*g),m=new Uint8Array(3*g),v=p.coords,y=p.colors;let _=0,x=0;for(let e=0,t=u.length;e<t;e++){const t=u[e],n=t.coords,r=t.colors;switch(t.type){case"lattice":const e=t.verticesPerRow,o=n.length/e|0;for(let t=1;t<o;t++){let o=t*e+1;for(let t=1;t<e;t++,o++)b[_]=v[n[o-e-1]],b[_+1]=v[n[o-e-1]+1],b[_+2]=v[n[o-e]],b[_+3]=v[n[o-e]+1],b[_+4]=v[n[o-1]],b[_+5]=v[n[o-1]+1],m[x]=y[r[o-e-1]],m[x+1]=y[r[o-e-1]+1],m[x+2]=y[r[o-e-1]+2],m[x+3]=y[r[o-e]],m[x+4]=y[r[o-e]+1],m[x+5]=y[r[o-e]+2],m[x+6]=y[r[o-1]],m[x+7]=y[r[o-1]+1],m[x+8]=y[r[o-1]+2],b[_+6]=b[_+2],b[_+7]=b[_+3],b[_+8]=b[_+4],b[_+9]=b[_+5],b[_+10]=v[n[o]],b[_+11]=v[n[o]+1],m[x+9]=m[x+3],m[x+10]=m[x+4],m[x+11]=m[x+5],m[x+12]=m[x+6],m[x+13]=m[x+7],m[x+14]=m[x+8],m[x+15]=y[r[o]],m[x+16]=y[r[o]+1],m[x+17]=y[r[o]+2],_+=12,x+=18}break;case"triangles":for(let e=0,t=n.length;e<t;e++)b[_]=v[n[e]],b[_+1]=v[n[e]+1],m[x]=y[r[e]],m[x+1]=y[r[e]+1],m[x+2]=y[r[e]+2],_+=2,x+=3}}l?h.clearColor(l[0]/255,l[1]/255,l[2]/255,1):h.clearColor(0,0,0,0),h.clear(h.COLOR_BUFFER_BIT);const w=h.createBuffer();h.bindBuffer(h.ARRAY_BUFFER,w),h.bufferData(h.ARRAY_BUFFER,b,h.STATIC_DRAW),h.enableVertexAttribArray(d.positionLocation),h.vertexAttribPointer(d.positionLocation,2,h.FLOAT,!1,0,0);const k=h.createBuffer();return h.bindBuffer(h.ARRAY_BUFFER,k),h.bufferData(h.ARRAY_BUFFER,m,h.STATIC_DRAW),h.enableVertexAttribArray(d.colorLocation),h.vertexAttribPointer(d.colorLocation,3,h.UNSIGNED_BYTE,!1,0,0),h.uniform2f(d.scaleLocation,p.scaleX,p.scaleY),h.uniform2f(d.offsetLocation,p.offsetX,p.offsetY),h.drawArrays(h.TRIANGLES,0,g),h.flush(),h.deleteBuffer(w),h.deleteBuffer(k),f},cleanup(){l?.canvas&&(l.canvas.width=0,l.canvas.height=0),c?.canvas&&(c.canvas.width=0,c.canvas.height=0),l=null,c=null}}}()},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AnnotationLayer=void 0;var r=n(1),o=n(2),a=n(8),i=n(19);class s{static create(e){switch(e.data.annotationType){case o.AnnotationType.LINK:return new c(e);case o.AnnotationType.TEXT:return new u(e);case o.AnnotationType.WIDGET:switch(e.data.fieldType){case"Tx":return new d(e);case"Btn":return e.data.radioButton?new h(e):e.data.checkBox?new f(e):new g(e);case"Ch":return new b(e)}return new p(e);case o.AnnotationType.POPUP:return new m(e);case o.AnnotationType.FREETEXT:return new y(e);case o.AnnotationType.LINE:return new _(e);case o.AnnotationType.SQUARE:return new x(e);case o.AnnotationType.CIRCLE:return new w(e);case o.AnnotationType.POLYLINE:return new k(e);case o.AnnotationType.CARET:return new C(e);case o.AnnotationType.INK:return new A(e);case o.AnnotationType.POLYGON:return new E(e);case o.AnnotationType.HIGHLIGHT:return new P(e);case o.AnnotationType.UNDERLINE:return new T(e);case o.AnnotationType.SQUIGGLY:return new S(e);case o.AnnotationType.STRIKEOUT:return new O(e);case o.AnnotationType.STAMP:return new M(e);case o.AnnotationType.FILEATTACHMENT:return new R(e);default:return new l(e)}}}class l{constructor(e,{isRenderable:t=!1,ignoreBorder:n=!1,createQuadrilaterals:r=!1}={}){this.isRenderable=t,this.data=e.data,this.layer=e.layer,this.page=e.page,this.viewport=e.viewport,this.linkService=e.linkService,this.downloadManager=e.downloadManager,this.imageResourcesPath=e.imageResourcesPath,this.renderInteractiveForms=e.renderInteractiveForms,this.svgFactory=e.svgFactory,this.annotationStorage=e.annotationStorage,this.enableScripting=e.enableScripting,this.hasJSActions=e.hasJSActions,this._mouseState=e.mouseState,t&&(this.container=this._createContainer(n)),r&&(this.quadrilaterals=this._createQuadrilaterals(n))}_createContainer(e=!1){const t=this.data,n=this.page,r=this.viewport,a=document.createElement("section");let i=t.rect[2]-t.rect[0],s=t.rect[3]-t.rect[1];a.setAttribute("data-annotation-id",t.id);const l=o.Util.normalizeRect([t.rect[0],n.view[3]-t.rect[1]+n.view[1],t.rect[2],n.view[3]-t.rect[3]+n.view[1]]);if(a.style.transform=`matrix(${r.transform.join(",")})`,a.style.transformOrigin=`${-l[0]}px ${-l[1]}px`,!e&&t.borderStyle.width>0){a.style.borderWidth=`${t.borderStyle.width}px`,t.borderStyle.style!==o.AnnotationBorderStyleType.UNDERLINE&&(i-=2*t.borderStyle.width,s-=2*t.borderStyle.width);const e=t.borderStyle.horizontalCornerRadius,n=t.borderStyle.verticalCornerRadius;if(e>0||n>0){const t=`${e}px / ${n}px`;a.style.borderRadius=t}switch(t.borderStyle.style){case o.AnnotationBorderStyleType.SOLID:a.style.borderStyle="solid";break;case o.AnnotationBorderStyleType.DASHED:a.style.borderStyle="dashed";break;case o.AnnotationBorderStyleType.BEVELED:(0,o.warn)("Unimplemented border style: beveled");break;case o.AnnotationBorderStyleType.INSET:(0,o.warn)("Unimplemented border style: inset");break;case o.AnnotationBorderStyleType.UNDERLINE:a.style.borderBottomStyle="solid"}t.color?a.style.borderColor=o.Util.makeHexColor(0|t.color[0],0|t.color[1],0|t.color[2]):a.style.borderWidth=0}return a.style.left=`${l[0]}px`,a.style.top=`${l[1]}px`,a.style.width=`${i}px`,a.style.height=`${s}px`,a}_createQuadrilaterals(e=!1){if(!this.data.quadPoints)return null;const t=[],n=this.data.rect;for(const n of this.data.quadPoints)this.data.rect=[n[2].x,n[2].y,n[1].x,n[1].y],t.push(this._createContainer(e));return this.data.rect=n,t}_createPopup(e,t){let n=this.container;this.quadrilaterals&&(e=e||this.quadrilaterals,n=this.quadrilaterals[0]),e||((e=document.createElement("div")).style.height=n.style.height,e.style.width=n.style.width,n.appendChild(e));const r=new v({container:n,trigger:e,color:t.color,title:t.title,modificationDate:t.modificationDate,contents:t.contents,hideWrapper:!0}).render();r.style.left=n.style.width,n.appendChild(r)}_renderQuadrilaterals(e){return this.quadrilaterals.forEach((t=>{t.className=e})),this.quadrilaterals}render(){(0,o.unreachable)("Abstract method `AnnotationElement.render` called")}}class c extends l{constructor(e){super(e,{isRenderable:!!(e.data.url||e.data.dest||e.data.action||e.data.isTooltipOnly||e.data.actions&&(e.data.actions.Action||e.data.actions["Mouse Up"]||e.data.actions["Mouse Down"])),createQuadrilaterals:!0})}render(){const{data:e,linkService:t}=this,n=document.createElement("a");return e.url?(0,r.addLinkAttributes)(n,{url:e.url,target:e.newWindow?r.LinkTarget.BLANK:t.externalLinkTarget,rel:t.externalLinkRel,enabled:t.externalLinkEnabled}):e.action?this._bindNamedAction(n,e.action):e.dest?this._bindLink(n,e.dest):e.actions&&(e.actions.Action||e.actions["Mouse Up"]||e.actions["Mouse Down"])&&this.enableScripting&&this.hasJSActions?this._bindJSAction(n,e):this._bindLink(n,""),this.quadrilaterals?this._renderQuadrilaterals("linkAnnotation").map(((e,t)=>{const r=0===t?n:n.cloneNode();return e.appendChild(r),e})):(this.container.className="linkAnnotation",this.container.appendChild(n),this.container)}_bindLink(e,t){e.href=this.linkService.getDestinationHash(t),e.onclick=()=>(t&&this.linkService.goToDestination(t),!1),(t||""===t)&&(e.className="internalLink")}_bindNamedAction(e,t){e.href=this.linkService.getAnchorUrl(""),e.onclick=()=>(this.linkService.executeNamedAction(t),!1),e.className="internalLink"}_bindJSAction(e,t){e.href=this.linkService.getAnchorUrl("");const n=new Map([["Action","onclick"],["Mouse Up","onmouseup"],["Mouse Down","onmousedown"]]);for(const r of Object.keys(t.actions)){const o=n.get(r);o&&(e[o]=()=>(this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:t.id,name:r}}),!1))}e.className="internalLink"}}class u extends l{constructor(e){super(e,{isRenderable:!!(e.data.hasPopup||e.data.title||e.data.contents)})}render(){this.container.className="textAnnotation";const e=document.createElement("img");return e.style.height=this.container.style.height,e.style.width=this.container.style.width,e.src=this.imageResourcesPath+"annotation-"+this.data.name.toLowerCase()+".svg",e.alt="[{{type}} Annotation]",e.dataset.l10nId="text_annotation_type",e.dataset.l10nArgs=JSON.stringify({type:this.data.name}),this.data.hasPopup||this._createPopup(e,this.data),this.container.appendChild(e),this.container}}class p extends l{render(){return this.data.alternativeText&&(this.container.title=this.data.alternativeText),this.container}_getKeyModifier(e){return navigator.platform.includes("Win")&&e.ctrlKey||navigator.platform.includes("Mac")&&e.metaKey}_setEventListener(e,t,n,r){t.includes("mouse")?e.addEventListener(t,(e=>{this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:n,value:r(e),shift:e.shiftKey,modifier:this._getKeyModifier(e)}})})):e.addEventListener(t,(e=>{this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:n,value:e.target.checked}})}))}_setEventListeners(e,t,n){for(const[r,o]of t)("Action"===o||this.data.actions?.[o])&&this._setEventListener(e,r,o,n)}_setColor(e){const{detail:t,target:n}=e,{style:r}=n;for(const e of["bgColor","fillColor","fgColor","textColor","borderColor","strokeColor"]){let n=t[e];if(n)switch(n=i.ColorConverters[`${n[0]}_HTML`](n.slice(1)),e){case"bgColor":case"fillColor":r.backgroundColor=n;break;case"fgColor":case"textColor":r.color=n;break;case"borderColor":case"strokeColor":r.borderColor=n}}}}class d extends p{constructor(e){super(e,{isRenderable:e.renderInteractiveForms||!e.data.hasAppearance&&!!e.data.fieldValue})}render(){const e=this.annotationStorage,t=this.data.id;this.container.className="textWidgetAnnotation";let n=null;if(this.renderInteractiveForms){const r=e.getValue(t,{value:this.data.fieldValue,valueAsString:this.data.fieldValue}),o=r.valueAsString||r.value||"",a={userValue:null,formattedValue:null,beforeInputSelectionRange:null,beforeInputValue:null};this.data.multiLine?(n=document.createElement("textarea"),n.textContent=o):(n=document.createElement("input"),n.type="text",n.setAttribute("value",o)),a.userValue=o,n.setAttribute("id",t),n.addEventListener("input",(function(n){e.setValue(t,{value:n.target.value})}));let i=e=>{a.formattedValue&&(e.target.value=a.formattedValue),e.target.setSelectionRange(0,0),a.beforeInputSelectionRange=null};if(this.enableScripting&&this.hasJSActions){n.addEventListener("focus",(e=>{a.userValue&&(e.target.value=a.userValue)})),n.addEventListener("updatefromsandbox",(n=>{const{detail:r}=n,o={value(){a.userValue=r.value||"",e.setValue(t,{value:a.userValue.toString()}),a.formattedValue||(n.target.value=a.userValue)},valueAsString(){a.formattedValue=r.valueAsString||"",n.target!==document.activeElement&&(n.target.value=a.formattedValue),e.setValue(t,{formattedValue:a.formattedValue})},focus(){setTimeout((()=>n.target.focus({preventScroll:!1})),0)},userName(){n.target.title=r.userName},hidden(){n.target.style.visibility=r.hidden?"hidden":"visible",e.setValue(t,{hidden:r.hidden})},editable(){n.target.disabled=!r.editable},selRange(){const[e,t]=r.selRange;e>=0&&t<n.target.value.length&&n.target.setSelectionRange(e,t)}};Object.keys(r).filter((e=>e in o)).forEach((e=>o[e]())),this._setColor(n)})),n.addEventListener("keydown",(e=>{a.beforeInputValue=e.target.value;let n=-1;"Escape"===e.key?n=0:"Enter"===e.key?n=2:"Tab"===e.key&&(n=3),-1!==n&&(a.userValue=e.target.value,this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:t,name:"Keystroke",value:e.target.value,willCommit:!0,commitKey:n,selStart:e.target.selectionStart,selEnd:e.target.selectionEnd}}))}));const r=i;i=null,n.addEventListener("blur",(e=>{this._mouseState.isDown&&(a.userValue=e.target.value,this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:t,name:"Keystroke",value:e.target.value,willCommit:!0,commitKey:1,selStart:e.target.selectionStart,selEnd:e.target.selectionEnd}})),r(e)})),n.addEventListener("mousedown",(e=>{a.beforeInputValue=e.target.value,a.beforeInputSelectionRange=null})),n.addEventListener("keyup",(e=>{e.target.selectionStart===e.target.selectionEnd&&(a.beforeInputSelectionRange=null)})),n.addEventListener("select",(e=>{a.beforeInputSelectionRange=[e.target.selectionStart,e.target.selectionEnd]})),this.data.actions?.Keystroke&&n.addEventListener("input",(e=>{let n=-1,r=-1;a.beforeInputSelectionRange&&([n,r]=a.beforeInputSelectionRange),this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:t,name:"Keystroke",value:a.beforeInputValue,change:e.data,willCommit:!1,selStart:n,selEnd:r}})})),this._setEventListeners(n,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],(e=>e.target.value))}if(i&&n.addEventListener("blur",i),n.disabled=this.data.readOnly,n.name=this.data.fieldName,null!==this.data.maxLen&&(n.maxLength=this.data.maxLen),this.data.comb){const e=(this.data.rect[2]-this.data.rect[0])/this.data.maxLen;n.classList.add("comb"),n.style.letterSpacing=`calc(${e}px - 1ch)`}}else n=document.createElement("div"),n.textContent=this.data.fieldValue,n.style.verticalAlign="middle",n.style.display="table-cell";return this._setTextStyle(n),this.container.appendChild(n),this.container}_setTextStyle(e){const{fontSize:t,fontColor:n}=this.data.defaultAppearanceData,r=e.style;t&&(r.fontSize=`${t}px`),r.color=o.Util.makeHexColor(n[0],n[1],n[2]),null!==this.data.textAlignment&&(r.textAlign=["left","center","right"][this.data.textAlignment])}}class f extends p{constructor(e){super(e,{isRenderable:e.renderInteractiveForms})}render(){const e=this.annotationStorage,t=this.data,n=t.id,r=e.getValue(n,{value:t.fieldValue&&(t.exportValue&&t.exportValue===t.fieldValue||!t.exportValue&&"Off"!==t.fieldValue)}).value;this.container.className="buttonWidgetAnnotation checkBox";const o=document.createElement("input");return o.disabled=t.readOnly,o.type="checkbox",o.name=this.data.fieldName,r&&o.setAttribute("checked",!0),o.setAttribute("id",n),o.addEventListener("change",(function(t){const r=t.target.name;for(const n of document.getElementsByName(r))n!==t.target&&(n.checked=!1,e.setValue(n.parentNode.getAttribute("data-annotation-id"),{value:!1}));e.setValue(n,{value:t.target.checked})})),this.enableScripting&&this.hasJSActions&&(o.addEventListener("updatefromsandbox",(t=>{const{detail:r}=t,o={value(){t.target.checked="Off"!==r.value,e.setValue(n,{value:t.target.checked})},focus(){setTimeout((()=>t.target.focus({preventScroll:!1})),0)},hidden(){t.target.style.visibility=r.hidden?"hidden":"visible",e.setValue(n,{hidden:r.hidden})},editable(){t.target.disabled=!r.editable}};Object.keys(r).filter((e=>e in o)).forEach((e=>o[e]())),this._setColor(t)})),this._setEventListeners(o,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],(e=>e.target.checked))),this.container.appendChild(o),this.container}}class h extends p{constructor(e){super(e,{isRenderable:e.renderInteractiveForms})}render(){this.container.className="buttonWidgetAnnotation radioButton";const e=this.annotationStorage,t=this.data,n=t.id,r=e.getValue(n,{value:t.fieldValue===t.buttonValue}).value,o=document.createElement("input");if(o.disabled=t.readOnly,o.type="radio",o.name=t.fieldName,r&&o.setAttribute("checked",!0),o.setAttribute("id",n),o.addEventListener("change",(function(t){const{target:r}=t;for(const t of document.getElementsByName(r.name))t!==r&&e.setValue(t.getAttribute("id"),{value:!1});e.setValue(n,{value:r.checked})})),this.enableScripting&&this.hasJSActions){const r=t.buttonValue;o.addEventListener("updatefromsandbox",(t=>{const{detail:o}=t,a={value(){const a=r===o.value;for(const r of document.getElementsByName(t.target.name)){const t=r.getAttribute("id");r.checked=t===n&&a,e.setValue(t,{value:r.checked})}},focus(){setTimeout((()=>t.target.focus({preventScroll:!1})),0)},hidden(){t.target.style.visibility=o.hidden?"hidden":"visible",e.setValue(n,{hidden:o.hidden})},editable(){t.target.disabled=!o.editable}};Object.keys(o).filter((e=>e in a)).forEach((e=>a[e]())),this._setColor(t)})),this._setEventListeners(o,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],(e=>e.target.checked))}return this.container.appendChild(o),this.container}}class g extends c{render(){const e=super.render();return e.className="buttonWidgetAnnotation pushButton",this.data.alternativeText&&(e.title=this.data.alternativeText),e}}class b extends p{constructor(e){super(e,{isRenderable:e.renderInteractiveForms})}render(){this.container.className="choiceWidgetAnnotation";const e=this.annotationStorage,t=this.data.id;e.getValue(t,{value:this.data.fieldValue.length>0?this.data.fieldValue[0]:void 0});const n=document.createElement("select");n.disabled=this.data.readOnly,n.name=this.data.fieldName,n.setAttribute("id",t),this.data.combo||(n.size=this.data.options.length,this.data.multiSelect&&(n.multiple=!0));for(const e of this.data.options){const t=document.createElement("option");t.textContent=e.displayValue,t.value=e.exportValue,this.data.fieldValue.includes(e.exportValue)&&t.setAttribute("selected",!0),n.appendChild(t)}const r=(e,t)=>{const n=t?"value":"textContent",r=e.target.options;return e.target.multiple?Array.prototype.filter.call(r,(e=>e.selected)).map((e=>e[n])):-1===r.selectedIndex?null:r[r.selectedIndex][n]},o=e=>{const t=e.target.options;return Array.prototype.map.call(t,(e=>({displayValue:e.textContent,exportValue:e.value})))};return this.enableScripting&&this.hasJSActions?(n.addEventListener("updatefromsandbox",(a=>{const{detail:i}=a,s={value(){const o=n.options,s=i.value,l=new Set(Array.isArray(s)?s:[s]);Array.prototype.forEach.call(o,(e=>{e.selected=l.has(e.value)})),e.setValue(t,{value:r(a,!0)})},multipleSelection(){n.multiple=!0},remove(){const s=n.options,l=i.remove;s[l].selected=!1,n.remove(l),s.length>0&&-1===Array.prototype.findIndex.call(s,(e=>e.selected))&&(s[0].selected=!0),e.setValue(t,{value:r(a,!0),items:o(a)})},clear(){for(;0!==n.length;)n.remove(0);e.setValue(t,{value:null,items:[]})},insert(){const{index:s,displayValue:l,exportValue:c}=i.insert,u=document.createElement("option");u.textContent=l,u.value=c,n.insertBefore(u,n.children[s]),e.setValue(t,{value:r(a,!0),items:o(a)})},items(){const{items:s}=i;for(;0!==n.length;)n.remove(0);for(const e of s){const{displayValue:t,exportValue:r}=e,o=document.createElement("option");o.textContent=t,o.value=r,n.appendChild(o)}n.options.length>0&&(n.options[0].selected=!0),e.setValue(t,{value:r(a,!0),items:o(a)})},indices(){const n=new Set(i.indices),o=a.target.options;Array.prototype.forEach.call(o,((e,t)=>{e.selected=n.has(t)})),e.setValue(t,{value:r(a,!0)})},focus(){setTimeout((()=>a.target.focus({preventScroll:!1})),0)},hidden(){a.target.style.visibility=i.hidden?"hidden":"visible",e.setValue(t,{hidden:i.hidden})},editable(){a.target.disabled=!i.editable}};Object.keys(i).filter((e=>e in s)).forEach((e=>s[e]())),this._setColor(a)})),n.addEventListener("input",(n=>{const o=r(n,!0),a=r(n,!1);e.setValue(t,{value:o}),this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:t,name:"Keystroke",value:a,changeEx:o,willCommit:!0,commitKey:1,keyDown:!1}})})),this._setEventListeners(n,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"],["input","Action"]],(e=>e.target.checked))):n.addEventListener("input",(function(n){e.setValue(t,{value:r(n)})})),this.container.appendChild(n),this.container}}class m extends l{constructor(e){super(e,{isRenderable:!(!e.data.title&&!e.data.contents)})}render(){if(this.container.className="popupAnnotation",["Line","Square","Circle","PolyLine","Polygon","Ink"].includes(this.data.parentType))return this.container;const e=`[data-annotation-id="${this.data.parentId}"]`,t=this.layer.querySelectorAll(e);if(0===t.length)return this.container;const n=new v({container:this.container,trigger:Array.from(t),color:this.data.color,title:this.data.title,modificationDate:this.data.modificationDate,contents:this.data.contents}),r=this.page,a=o.Util.normalizeRect([this.data.parentRect[0],r.view[3]-this.data.parentRect[1]+r.view[1],this.data.parentRect[2],r.view[3]-this.data.parentRect[3]+r.view[1]]),i=a[0]+this.data.parentRect[2]-this.data.parentRect[0],s=a[1];return this.container.style.transformOrigin=`${-i}px ${-s}px`,this.container.style.left=`${i}px`,this.container.style.top=`${s}px`,this.container.appendChild(n.render()),this.container}}class v{constructor(e){this.container=e.container,this.trigger=e.trigger,this.color=e.color,this.title=e.title,this.modificationDate=e.modificationDate,this.contents=e.contents,this.hideWrapper=e.hideWrapper||!1,this.pinned=!1}render(){const e=document.createElement("div");e.className="popupWrapper",this.hideElement=this.hideWrapper?e:this.container,this.hideElement.hidden=!0;const t=document.createElement("div");t.className="popup";const n=this.color;if(n){const e=.7*(255-n[0])+n[0],r=.7*(255-n[1])+n[1],a=.7*(255-n[2])+n[2];t.style.backgroundColor=o.Util.makeHexColor(0|e,0|r,0|a)}const a=document.createElement("h1");a.textContent=this.title,t.appendChild(a);const i=r.PDFDateString.toDateObject(this.modificationDate);if(i){const e=document.createElement("span");e.textContent="{{date}}, {{time}}",e.dataset.l10nId="annotation_date_string",e.dataset.l10nArgs=JSON.stringify({date:i.toLocaleDateString(),time:i.toLocaleTimeString()}),t.appendChild(e)}const s=this._formatContents(this.contents);return t.appendChild(s),Array.isArray(this.trigger)||(this.trigger=[this.trigger]),this.trigger.forEach((e=>{e.addEventListener("click",this._toggle.bind(this)),e.addEventListener("mouseover",this._show.bind(this,!1)),e.addEventListener("mouseout",this._hide.bind(this,!1))})),t.addEventListener("click",this._hide.bind(this,!0)),e.appendChild(t),e}_formatContents(e){const t=document.createElement("p"),n=e.split(/(?:\r\n?|\n)/);for(let e=0,r=n.length;e<r;++e){const o=n[e];t.appendChild(document.createTextNode(o)),e<r-1&&t.appendChild(document.createElement("br"))}return t}_toggle(){this.pinned?this._hide(!0):this._show(!0)}_show(e=!1){e&&(this.pinned=!0),this.hideElement.hidden&&(this.hideElement.hidden=!1,this.container.style.zIndex+=1)}_hide(e=!0){e&&(this.pinned=!1),this.hideElement.hidden||this.pinned||(this.hideElement.hidden=!0,this.container.style.zIndex-=1)}}class y extends l{constructor(e){super(e,{isRenderable:!!(e.data.hasPopup||e.data.title||e.data.contents),ignoreBorder:!0})}render(){return this.container.className="freeTextAnnotation",this.data.hasPopup||this._createPopup(null,this.data),this.container}}class _ extends l{constructor(e){super(e,{isRenderable:!!(e.data.hasPopup||e.data.title||e.data.contents),ignoreBorder:!0})}render(){this.container.className="lineAnnotation";const e=this.data,t=e.rect[2]-e.rect[0],n=e.rect[3]-e.rect[1],r=this.svgFactory.create(t,n),o=this.svgFactory.createElement("svg:line");return o.setAttribute("x1",e.rect[2]-e.lineCoordinates[0]),o.setAttribute("y1",e.rect[3]-e.lineCoordinates[1]),o.setAttribute("x2",e.rect[2]-e.lineCoordinates[2]),o.setAttribute("y2",e.rect[3]-e.lineCoordinates[3]),o.setAttribute("stroke-width",e.borderStyle.width||1),o.setAttribute("stroke","transparent"),r.appendChild(o),this.container.append(r),this._createPopup(o,e),this.container}}class x extends l{constructor(e){super(e,{isRenderable:!!(e.data.hasPopup||e.data.title||e.data.contents),ignoreBorder:!0})}render(){this.container.className="squareAnnotation";const e=this.data,t=e.rect[2]-e.rect[0],n=e.rect[3]-e.rect[1],r=this.svgFactory.create(t,n),o=e.borderStyle.width,a=this.svgFactory.createElement("svg:rect");return a.setAttribute("x",o/2),a.setAttribute("y",o/2),a.setAttribute("width",t-o),a.setAttribute("height",n-o),a.setAttribute("stroke-width",o||1),a.setAttribute("stroke","transparent"),a.setAttribute("fill","none"),r.appendChild(a),this.container.append(r),this._createPopup(a,e),this.container}}class w extends l{constructor(e){super(e,{isRenderable:!!(e.data.hasPopup||e.data.title||e.data.contents),ignoreBorder:!0})}render(){this.container.className="circleAnnotation";const e=this.data,t=e.rect[2]-e.rect[0],n=e.rect[3]-e.rect[1],r=this.svgFactory.create(t,n),o=e.borderStyle.width,a=this.svgFactory.createElement("svg:ellipse");return a.setAttribute("cx",t/2),a.setAttribute("cy",n/2),a.setAttribute("rx",t/2-o/2),a.setAttribute("ry",n/2-o/2),a.setAttribute("stroke-width",o||1),a.setAttribute("stroke","transparent"),a.setAttribute("fill","none"),r.appendChild(a),this.container.append(r),this._createPopup(a,e),this.container}}class k extends l{constructor(e){super(e,{isRenderable:!!(e.data.hasPopup||e.data.title||e.data.contents),ignoreBorder:!0}),this.containerClassName="polylineAnnotation",this.svgElementName="svg:polyline"}render(){this.container.className=this.containerClassName;const e=this.data,t=e.rect[2]-e.rect[0],n=e.rect[3]-e.rect[1],r=this.svgFactory.create(t,n);let o=[];for(const t of e.vertices){const n=t.x-e.rect[0],r=e.rect[3]-t.y;o.push(n+","+r)}o=o.join(" ");const a=this.svgFactory.createElement(this.svgElementName);return a.setAttribute("points",o),a.setAttribute("stroke-width",e.borderStyle.width||1),a.setAttribute("stroke","transparent"),a.setAttribute("fill","none"),r.appendChild(a),this.container.append(r),this._createPopup(a,e),this.container}}class E extends k{constructor(e){super(e),this.containerClassName="polygonAnnotation",this.svgElementName="svg:polygon"}}class C extends l{constructor(e){super(e,{isRenderable:!!(e.data.hasPopup||e.data.title||e.data.contents),ignoreBorder:!0})}render(){return this.container.className="caretAnnotation",this.data.hasPopup||this._createPopup(null,this.data),this.container}}class A extends l{constructor(e){super(e,{isRenderable:!!(e.data.hasPopup||e.data.title||e.data.contents),ignoreBorder:!0}),this.containerClassName="inkAnnotation",this.svgElementName="svg:polyline"}render(){this.container.className=this.containerClassName;const e=this.data,t=e.rect[2]-e.rect[0],n=e.rect[3]-e.rect[1],r=this.svgFactory.create(t,n);for(const t of e.inkLists){let n=[];for(const r of t){const t=r.x-e.rect[0],o=e.rect[3]-r.y;n.push(`${t},${o}`)}n=n.join(" ");const o=this.svgFactory.createElement(this.svgElementName);o.setAttribute("points",n),o.setAttribute("stroke-width",e.borderStyle.width||1),o.setAttribute("stroke","transparent"),o.setAttribute("fill","none"),this._createPopup(o,e),r.appendChild(o)}return this.container.append(r),this.container}}class P extends l{constructor(e){super(e,{isRenderable:!!(e.data.hasPopup||e.data.title||e.data.contents),ignoreBorder:!0,createQuadrilaterals:!0})}render(){return this.data.hasPopup||this._createPopup(null,this.data),this.quadrilaterals?this._renderQuadrilaterals("highlightAnnotation"):(this.container.className="highlightAnnotation",this.container)}}class T extends l{constructor(e){super(e,{isRenderable:!!(e.data.hasPopup||e.data.title||e.data.contents),ignoreBorder:!0,createQuadrilaterals:!0})}render(){return this.data.hasPopup||this._createPopup(null,this.data),this.quadrilaterals?this._renderQuadrilaterals("underlineAnnotation"):(this.container.className="underlineAnnotation",this.container)}}class S extends l{constructor(e){super(e,{isRenderable:!!(e.data.hasPopup||e.data.title||e.data.contents),ignoreBorder:!0,createQuadrilaterals:!0})}render(){return this.data.hasPopup||this._createPopup(null,this.data),this.quadrilaterals?this._renderQuadrilaterals("squigglyAnnotation"):(this.container.className="squigglyAnnotation",this.container)}}class O extends l{constructor(e){super(e,{isRenderable:!!(e.data.hasPopup||e.data.title||e.data.contents),ignoreBorder:!0,createQuadrilaterals:!0})}render(){return this.data.hasPopup||this._createPopup(null,this.data),this.quadrilaterals?this._renderQuadrilaterals("strikeoutAnnotation"):(this.container.className="strikeoutAnnotation",this.container)}}class M extends l{constructor(e){super(e,{isRenderable:!!(e.data.hasPopup||e.data.title||e.data.contents),ignoreBorder:!0})}render(){return this.container.className="stampAnnotation",this.data.hasPopup||this._createPopup(null,this.data),this.container}}class R extends l{constructor(e){super(e,{isRenderable:!0});const{filename:t,content:n}=this.data.file;this.filename=(0,r.getFilenameFromUrl)(t),this.content=n,this.linkService.eventBus?.dispatch("fileattachmentannotation",{source:this,id:(0,o.stringToPDFString)(t),filename:t,content:n})}render(){this.container.className="fileAttachmentAnnotation";const e=document.createElement("div");return e.style.height=this.container.style.height,e.style.width=this.container.style.width,e.addEventListener("dblclick",this._download.bind(this)),this.data.hasPopup||!this.data.title&&!this.data.contents||this._createPopup(e,this.data),this.container.appendChild(e),this.container}_download(){this.downloadManager?.openOrDownloadData(this.container,this.content,this.filename)}}t.AnnotationLayer=class{static render(e){const t=[],n=[];for(const r of e.annotations)r&&(r.annotationType!==o.AnnotationType.POPUP?t.push(r):n.push(r));n.length&&t.push(...n);for(const n of t){const t=s.create({data:n,layer:e.div,page:e.page,viewport:e.viewport,linkService:e.linkService,downloadManager:e.downloadManager,imageResourcesPath:e.imageResourcesPath||"",renderInteractiveForms:!1!==e.renderInteractiveForms,svgFactory:new r.DOMSVGFactory,annotationStorage:e.annotationStorage||new a.AnnotationStorage,enableScripting:e.enableScripting,hasJSActions:e.hasJSActions,mouseState:e.mouseState||{isDown:!1}});if(t.isRenderable){const r=t.render();if(n.hidden&&(r.style.visibility="hidden"),Array.isArray(r))for(const t of r)e.div.appendChild(t);else t instanceof m?e.div.prepend(r):e.div.appendChild(r)}}}static update(e){const t=`matrix(${e.viewport.transform.join(",")})`;for(const n of e.annotations){const r=e.div.querySelectorAll(`[data-annotation-id="${n.id}"]`);r&&r.forEach((e=>{e.style.transform=t}))}e.div.hidden=!1}}},(e,t)=>{function n(e){return Math.floor(255*Math.max(0,Math.min(1,e))).toString(16).padStart(2,"0")}Object.defineProperty(t,"__esModule",{value:!0}),t.ColorConverters=void 0,t.ColorConverters=class{static CMYK_G([e,t,n,r]){return["G",1-Math.min(1,.3*e+.59*n+.11*t+r)]}static G_CMYK([e]){return["CMYK",0,0,0,1-e]}static G_RGB([e]){return["RGB",e,e,e]}static G_HTML([e]){const t=n(e);return`#${t}${t}${t}`}static RGB_G([e,t,n]){return["G",.3*e+.59*t+.11*n]}static RGB_HTML([e,t,r]){return`#${n(e)}${n(t)}${n(r)}`}static T_HTML(){return"#00000000"}static CMYK_RGB([e,t,n,r]){return["RGB",1-Math.min(1,e+r),1-Math.min(1,n+r),1-Math.min(1,t+r)]}static CMYK_HTML(e){return this.RGB_HTML(this.CMYK_RGB(e))}static RGB_CMYK([e,t,n]){const r=1-e,o=1-t,a=1-n;return["CMYK",r,o,a,Math.min(r,o,a)]}}},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.renderTextLayer=void 0;var r=n(2);const o=function(){const e=30,t=new Map,n=/\S/;function o(o,a,i,s){const l=document.createElement("span"),c={angle:0,canvasWidth:0,isWhitespace:!1,originalTransform:null,paddingBottom:0,paddingLeft:0,paddingRight:0,paddingTop:0,scale:1};if(o._textDivs.push(l),u=a.str,!n.test(u))return c.isWhitespace=!0,void o._textDivProperties.set(l,c);var u;const p=r.Util.transform(o._viewport.transform,a.transform);let d=Math.atan2(p[1],p[0]);const f=i[a.fontName];f.vertical&&(d+=Math.PI/2);const h=Math.hypot(p[2],p[3]),g=h*function(n,r){const o=t.get(n);if(o)return o;r.save(),r.font=`30px ${n}`;const a=r.measureText("");let i=a.fontBoundingBoxAscent,s=Math.abs(a.fontBoundingBoxDescent);if(i){r.restore();const e=i/(i+s);return t.set(n,e),e}r.strokeStyle="red",r.clearRect(0,0,e,e),r.strokeText("g",0,0);let l=r.getImageData(0,0,e,e).data;s=0;for(let t=l.length-1-3;t>=0;t-=4)if(l[t]>0){s=Math.ceil(t/4/e);break}r.clearRect(0,0,e,e),r.strokeText("A",0,e),l=r.getImageData(0,0,e,e).data,i=0;for(let t=0,n=l.length;t<n;t+=4)if(l[t]>0){i=e-Math.floor(t/4/e);break}if(r.restore(),i){const e=i/(i+s);return t.set(n,e),e}return t.set(n,.8),.8}(f.fontFamily,s);let b,m;0===d?(b=p[4],m=p[5]-g):(b=p[4]+g*Math.sin(d),m=p[5]-g*Math.cos(d)),l.style.left=`${b}px`,l.style.top=`${m}px`,l.style.fontSize=`${h}px`,l.style.fontFamily=f.fontFamily,l.textContent=a.str,l.dir=a.dir,o._fontInspectorEnabled&&(l.dataset.fontName=a.fontName),0!==d&&(c.angle=d*(180/Math.PI));let v=!1;if(a.str.length>1)v=!0;else if(a.transform[0]!==a.transform[3]){const e=Math.abs(a.transform[0]),t=Math.abs(a.transform[3]);e!==t&&Math.max(e,t)/Math.min(e,t)>1.5&&(v=!0)}if(v&&(f.vertical?c.canvasWidth=a.height*o._viewport.scale:c.canvasWidth=a.width*o._viewport.scale),o._textDivProperties.set(l,c),o._textContentStream&&o._layoutText(l),o._enhanceTextSelection){let e=1,t=0;0!==d&&(e=Math.cos(d),t=Math.sin(d));const n=(f.vertical?a.height:a.width)*o._viewport.scale,i=h;let s,c;0!==d?(s=[e,t,-t,e,b,m],c=r.Util.getAxialAlignedBoundingBox([0,0,n,i],s)):c=[b,m,b+n,m+i],o._bounds.push({left:c[0],top:c[1],right:c[2],bottom:c[3],div:l,size:[n,i],m:s})}}function a(e){if(e._canceled)return;const t=e._textDivs,n=e._capability,r=t.length;if(r>1e5)return e._renderingDone=!0,void n.resolve();if(!e._textContentStream)for(let n=0;n<r;n++)e._layoutText(t[n]);e._renderingDone=!0,n.resolve()}function i(e,t,n){let r=0;for(let o=0;o<n;o++){const n=e[t++];n>0&&(r=r?Math.min(n,r):n)}return r}function s(e,t){t.sort((function(e,t){return e.x1-t.x1||e.index-t.index}));const n=[{start:-1/0,end:1/0,boundary:{x1:-1/0,y1:-1/0,x2:0,y2:1/0,index:-1,x1New:0,x2New:0}}];t.forEach((function(e){let t=0;for(;t<n.length&&n[t].end<=e.y1;)t++;let r,o,a=n.length-1;for(;a>=0&&n[a].start>=e.y2;)a--;let i,s,l=-1/0;for(i=t;i<=a;i++){let t;r=n[i],o=r.boundary,t=o.x2>e.x1?o.index>e.index?o.x1New:e.x1:void 0===o.x2New?(o.x2+e.x1)/2:o.x2New,t>l&&(l=t)}for(e.x1New=l,i=t;i<=a;i++)r=n[i],o=r.boundary,void 0===o.x2New?o.x2>e.x1?o.index>e.index&&(o.x2New=o.x2):o.x2New=l:o.x2New>l&&(o.x2New=Math.max(l,o.x2));const c=[];let u=null;for(i=t;i<=a;i++){r=n[i],o=r.boundary;const t=o.x2>e.x2?o:e;u===t?c[c.length-1].end=r.end:(c.push({start:r.start,end:r.end,boundary:t}),u=t)}for(n[t].start<e.y1&&(c[0].start=e.y1,c.unshift({start:n[t].start,end:e.y1,boundary:n[t].boundary})),e.y2<n[a].end&&(c[c.length-1].end=e.y2,c.push({start:e.y2,end:n[a].end,boundary:n[a].boundary})),i=t;i<=a;i++){if(r=n[i],o=r.boundary,void 0!==o.x2New)continue;let e=!1;for(s=t-1;!e&&s>=0&&n[s].start>=o.y1;s--)e=n[s].boundary===o;for(s=a+1;!e&&s<n.length&&n[s].end<=o.y2;s++)e=n[s].boundary===o;for(s=0;!e&&s<c.length;s++)e=c[s].boundary===o;e||(o.x2New=l)}Array.prototype.splice.apply(n,[t,a-t+1].concat(c))})),n.forEach((function(t){const n=t.boundary;void 0===n.x2New&&(n.x2New=Math.max(e,n.x2))}))}function l({textContent:e,textContentStream:t,container:n,viewport:o,textDivs:a,textContentItemsStr:i,enhanceTextSelection:s}){this._textContent=e,this._textContentStream=t,this._container=n,this._document=n.ownerDocument,this._viewport=o,this._textDivs=a||[],this._textContentItemsStr=i||[],this._enhanceTextSelection=!!s,this._fontInspectorEnabled=!!globalThis.FontInspector?.enabled,this._reader=null,this._layoutTextLastFontSize=null,this._layoutTextLastFontFamily=null,this._layoutTextCtx=null,this._textDivProperties=new WeakMap,this._renderingDone=!1,this._canceled=!1,this._capability=(0,r.createPromiseCapability)(),this._renderTimer=null,this._bounds=[],this._capability.promise.finally((()=>{this._layoutTextCtx&&(this._layoutTextCtx.canvas.width=0,this._layoutTextCtx.canvas.height=0,this._layoutTextCtx=null)})).catch((()=>{}))}return l.prototype={get promise(){return this._capability.promise},cancel:function(){this._canceled=!0,this._reader&&(this._reader.cancel(new r.AbortException("TextLayer task cancelled.")),this._reader=null),null!==this._renderTimer&&(clearTimeout(this._renderTimer),this._renderTimer=null),this._capability.reject(new Error("TextLayer task cancelled."))},_processItems(e,t){for(let n=0,r=e.length;n<r;n++)this._textContentItemsStr.push(e[n].str),o(this,e[n],t,this._layoutTextCtx)},_layoutText(e){const t=this._textDivProperties.get(e);if(t.isWhitespace)return;let n="";if(0!==t.canvasWidth){const{fontSize:r,fontFamily:o}=e.style;r===this._layoutTextLastFontSize&&o===this._layoutTextLastFontFamily||(this._layoutTextCtx.font=`${r} ${o}`,this._layoutTextLastFontSize=r,this._layoutTextLastFontFamily=o);const{width:a}=this._layoutTextCtx.measureText(e.textContent);a>0&&(t.scale=t.canvasWidth/a,n=`scaleX(${t.scale})`)}0!==t.angle&&(n=`rotate(${t.angle}deg) ${n}`),n.length>0&&(this._enhanceTextSelection&&(t.originalTransform=n),e.style.transform=n),this._textDivProperties.set(e,t),this._container.appendChild(e)},_render:function(t){const n=(0,r.createPromiseCapability)();let o=Object.create(null);const i=this._document.createElement("canvas");if(i.height=i.width=e,i.mozOpaque=!0,this._layoutTextCtx=i.getContext("2d",{alpha:!1}),this._textContent){const e=this._textContent.items,t=this._textContent.styles;this._processItems(e,t),n.resolve()}else{if(!this._textContentStream)throw new Error('Neither "textContent" nor "textContentStream" parameters specified.');{const e=()=>{this._reader.read().then((({value:t,done:r})=>{r?n.resolve():(Object.assign(o,t.styles),this._processItems(t.items,o),e())}),n.reject)};this._reader=this._textContentStream.getReader(),e()}}n.promise.then((()=>{o=null,t?this._renderTimer=setTimeout((()=>{a(this),this._renderTimer=null}),t):a(this)}),this._capability.reject)},expandTextDivs:function(e){if(!this._enhanceTextSelection||!this._renderingDone)return;null!==this._bounds&&(function(e){const t=e._bounds,n=e._viewport,o=function(e,t,n){const r=n.map((function(e,t){return{x1:e.left,y1:e.top,x2:e.right,y2:e.bottom,index:t,x1New:void 0,x2New:void 0}}));s(e,r);const o=new Array(n.length);return r.forEach((function(e){const t=e.index;o[t]={left:e.x1New,top:0,right:e.x2New,bottom:0}})),n.map((function(t,n){const a=o[n],i=r[n];i.x1=t.top,i.y1=e-a.right,i.x2=t.bottom,i.y2=e-a.left,i.index=n,i.x1New=void 0,i.x2New=void 0})),s(t,r),r.forEach((function(e){const t=e.index;o[t].top=e.x1New,o[t].bottom=e.x2New})),o}(n.width,n.height,t);for(let n=0;n<o.length;n++){const a=t[n].div,s=e._textDivProperties.get(a);if(0===s.angle){s.paddingLeft=t[n].left-o[n].left,s.paddingTop=t[n].top-o[n].top,s.paddingRight=o[n].right-t[n].right,s.paddingBottom=o[n].bottom-t[n].bottom,e._textDivProperties.set(a,s);continue}const l=o[n],c=t[n],u=c.m,p=u[0],d=u[1],f=[[0,0],[0,c.size[1]],[c.size[0],0],c.size],h=new Float64Array(64);f.forEach((function(e,t){const n=r.Util.applyTransform(e,u);h[t+0]=p&&(l.left-n[0])/p,h[t+4]=d&&(l.top-n[1])/d,h[t+8]=p&&(l.right-n[0])/p,h[t+12]=d&&(l.bottom-n[1])/d,h[t+16]=d&&(l.left-n[0])/-d,h[t+20]=p&&(l.top-n[1])/p,h[t+24]=d&&(l.right-n[0])/-d,h[t+28]=p&&(l.bottom-n[1])/p,h[t+32]=p&&(l.left-n[0])/-p,h[t+36]=d&&(l.top-n[1])/-d,h[t+40]=p&&(l.right-n[0])/-p,h[t+44]=d&&(l.bottom-n[1])/-d,h[t+48]=d&&(l.left-n[0])/d,h[t+52]=p&&(l.top-n[1])/-p,h[t+56]=d&&(l.right-n[0])/d,h[t+60]=p&&(l.bottom-n[1])/-p}));const g=1+Math.min(Math.abs(p),Math.abs(d));s.paddingLeft=i(h,32,16)/g,s.paddingTop=i(h,48,16)/g,s.paddingRight=i(h,0,16)/g,s.paddingBottom=i(h,16,16)/g,e._textDivProperties.set(a,s)}}(this),this._bounds=null);const t=[],n=[];for(let r=0,o=this._textDivs.length;r<o;r++){const o=this._textDivs[r],a=this._textDivProperties.get(o);a.isWhitespace||(e?(t.length=0,n.length=0,a.originalTransform&&t.push(a.originalTransform),a.paddingTop>0?(n.push(`${a.paddingTop}px`),t.push(`translateY(${-a.paddingTop}px)`)):n.push(0),a.paddingRight>0?n.push(a.paddingRight/a.scale+"px"):n.push(0),a.paddingBottom>0?n.push(`${a.paddingBottom}px`):n.push(0),a.paddingLeft>0?(n.push(a.paddingLeft/a.scale+"px"),t.push(`translateX(${-a.paddingLeft/a.scale}px)`)):n.push(0),o.style.padding=n.join(" "),t.length&&(o.style.transform=t.join(" "))):(o.style.padding=null,o.style.transform=a.originalTransform))}}},function(e){const t=new l({textContent:e.textContent,textContentStream:e.textContentStream,container:e.container,viewport:e.viewport,textDivs:e.textDivs,textContentItemsStr:e.textContentItemsStr,enhanceTextSelection:e.enhanceTextSelection});return t._render(e.timeout),t}}();t.renderTextLayer=o},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SVGGraphics=void 0;var r=n(2),o=n(1),a=n(4);let i=function(){throw new Error("Not implemented: SVGGraphics")};t.SVGGraphics=i;{const e={fontStyle:"normal",fontWeight:"normal",fillColor:"#000000"},n="http://www.w3.org/XML/1998/namespace",s="http://www.w3.org/1999/xlink",l=["butt","round","square"],c=["miter","round","bevel"],u=function(){const e=new Uint8Array([137,80,78,71,13,10,26,10]),t=new Int32Array(256);for(let e=0;e<256;e++){let n=e;for(let e=0;e<8;e++)n=1&n?3988292384^n>>1&2147483647:n>>1&2147483647;t[e]=n}function n(e,n,r,o){let a=o;const i=n.length;r[a]=i>>24&255,r[a+1]=i>>16&255,r[a+2]=i>>8&255,r[a+3]=255&i,a+=4,r[a]=255&e.charCodeAt(0),r[a+1]=255&e.charCodeAt(1),r[a+2]=255&e.charCodeAt(2),r[a+3]=255&e.charCodeAt(3),a+=4,r.set(n,a),a+=n.length;const s=function(e,n,r){let o=-1;for(let a=n;a<r;a++){const n=255&(o^e[a]);o=o>>>8^t[n]}return-1^o}(r,o+4,a);r[a]=s>>24&255,r[a+1]=s>>16&255,r[a+2]=s>>8&255,r[a+3]=255&s}function o(e){let t=e.length;const n=65535,r=Math.ceil(t/n),o=new Uint8Array(2+t+5*r+4);let a=0;o[a++]=120,o[a++]=156;let i=0;for(;t>n;)o[a++]=0,o[a++]=255,o[a++]=255,o[a++]=0,o[a++]=0,o.set(e.subarray(i,i+n),a),a+=n,i+=n,t-=n;o[a++]=1,o[a++]=255&t,o[a++]=t>>8&255,o[a++]=255&~t,o[a++]=(65535&~t)>>8&255,o.set(e.subarray(i),a),a+=e.length-i;const s=function(e,t,n){let r=1,o=0;for(let t=0;t<n;++t)r=(r+(255&e[t]))%65521,o=(o+r)%65521;return o<<16|r}(e,0,e.length);return o[a++]=s>>24&255,o[a++]=s>>16&255,o[a++]=s>>8&255,o[a++]=255&s,o}return function(t,i,s){return function(t,i,s,l){const c=t.width,u=t.height;let p,d,f;const h=t.data;switch(i){case r.ImageKind.GRAYSCALE_1BPP:d=0,p=1,f=c+7>>3;break;case r.ImageKind.RGB_24BPP:d=2,p=8,f=3*c;break;case r.ImageKind.RGBA_32BPP:d=6,p=8,f=4*c;break;default:throw new Error("invalid format")}const g=new Uint8Array((1+f)*u);let b=0,m=0;for(let e=0;e<u;++e)g[b++]=0,g.set(h.subarray(m,m+f),b),m+=f,b+=f;if(i===r.ImageKind.GRAYSCALE_1BPP&&l){b=0;for(let e=0;e<u;e++){b++;for(let e=0;e<f;e++)g[b++]^=255}}const v=new Uint8Array([c>>24&255,c>>16&255,c>>8&255,255&c,u>>24&255,u>>16&255,u>>8&255,255&u,p,d,0,0,0]),y=function(e){if(!a.isNodeJS)return o(e);try{let t;t=parseInt(process.versions.node)>=8?e:Buffer.from(e);const n=__webpack_require__(1566).deflateSync(t,{level:9});return n instanceof Uint8Array?n:new Uint8Array(n)}catch(e){(0,r.warn)("Not compressing PNG because zlib.deflateSync is unavailable: "+e)}return o(e)}(g),_=e.length+36+v.length+y.length,x=new Uint8Array(_);let w=0;return x.set(e,w),w+=e.length,n("IHDR",v,x,w),w+=12+v.length,n("IDATA",y,x,w),w+=12+y.length,n("IEND",new Uint8Array(0),x,w),(0,r.createObjectURL)(x,"image/png",s)}(t,void 0===t.kind?r.ImageKind.GRAYSCALE_1BPP:t.kind,i,s)}}();class p{constructor(){this.fontSizeScale=1,this.fontWeight=e.fontWeight,this.fontSize=0,this.textMatrix=r.IDENTITY_MATRIX,this.fontMatrix=r.FONT_IDENTITY_MATRIX,this.leading=0,this.textRenderingMode=r.TextRenderingMode.FILL,this.textMatrixScale=1,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRise=0,this.fillColor=e.fillColor,this.strokeColor="#000000",this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.lineJoin="",this.lineCap="",this.miterLimit=0,this.dashArray=[],this.dashPhase=0,this.dependencies=[],this.activeClipUrl=null,this.clipGroup=null,this.maskId=""}clone(){return Object.create(this)}setCurrentPoint(e,t){this.x=e,this.y=t}}function d(e){let t=[];const n=[];for(const r of e)"save"!==r.fn?"restore"===r.fn?t=n.pop():t.push(r):(t.push({fnId:92,fn:"group",items:[]}),n.push(t),t=t[t.length-1].items);return t}function f(e){if(Number.isInteger(e))return e.toString();const t=e.toFixed(10);let n=t.length-1;if("0"!==t[n])return t;do{n--}while("0"===t[n]);return t.substring(0,"."===t[n]?n:n+1)}function h(e){if(0===e[4]&&0===e[5]){if(0===e[1]&&0===e[2])return 1===e[0]&&1===e[3]?"":`scale(${f(e[0])} ${f(e[3])})`;if(e[0]===e[3]&&e[1]===-e[2])return`rotate(${f(180*Math.acos(e[0])/Math.PI)})`}else if(1===e[0]&&0===e[1]&&0===e[2]&&1===e[3])return`translate(${f(e[4])} ${f(e[5])})`;return`matrix(${f(e[0])} ${f(e[1])} ${f(e[2])} ${f(e[3])} ${f(e[4])} ${f(e[5])})`}let g=0,b=0,m=0;t.SVGGraphics=i=class{constructor(e,t,n=!1){this.svgFactory=new o.DOMSVGFactory,this.current=new p,this.transformMatrix=r.IDENTITY_MATRIX,this.transformStack=[],this.extraStack=[],this.commonObjs=e,this.objs=t,this.pendingClip=null,this.pendingEOFill=!1,this.embedFonts=!1,this.embeddedFonts=Object.create(null),this.cssStyle=null,this.forceDataSchema=!!n,this._operatorIdMapping=[];for(const e in r.OPS)this._operatorIdMapping[r.OPS[e]]=e}save(){this.transformStack.push(this.transformMatrix);const e=this.current;this.extraStack.push(e),this.current=e.clone()}restore(){this.transformMatrix=this.transformStack.pop(),this.current=this.extraStack.pop(),this.pendingClip=null,this.tgrp=null}group(e){this.save(),this.executeOpTree(e),this.restore()}loadDependencies(e){const t=e.fnArray,n=e.argsArray;for(let e=0,o=t.length;e<o;e++)if(t[e]===r.OPS.dependency)for(const t of n[e]){const e=t.startsWith("g_")?this.commonObjs:this.objs,n=new Promise((n=>{e.get(t,n)}));this.current.dependencies.push(n)}return Promise.all(this.current.dependencies)}transform(e,t,n,o,a,i){const s=[e,t,n,o,a,i];this.transformMatrix=r.Util.transform(this.transformMatrix,s),this.tgrp=null}getSVG(e,t){this.viewport=t;const n=this._initialize(t);return this.loadDependencies(e).then((()=>(this.transformMatrix=r.IDENTITY_MATRIX,this.executeOpTree(this.convertOpList(e)),n)))}convertOpList(e){const t=this._operatorIdMapping,n=e.argsArray,r=e.fnArray,o=[];for(let e=0,a=r.length;e<a;e++){const a=r[e];o.push({fnId:a,fn:t[a],args:n[e]})}return d(o)}executeOpTree(e){for(const t of e){const e=t.fn,n=t.fnId,o=t.args;switch(0|n){case r.OPS.beginText:this.beginText();break;case r.OPS.dependency:break;case r.OPS.setLeading:this.setLeading(o);break;case r.OPS.setLeadingMoveText:this.setLeadingMoveText(o[0],o[1]);break;case r.OPS.setFont:this.setFont(o);break;case r.OPS.showText:case r.OPS.showSpacedText:this.showText(o[0]);break;case r.OPS.endText:this.endText();break;case r.OPS.moveText:this.moveText(o[0],o[1]);break;case r.OPS.setCharSpacing:this.setCharSpacing(o[0]);break;case r.OPS.setWordSpacing:this.setWordSpacing(o[0]);break;case r.OPS.setHScale:this.setHScale(o[0]);break;case r.OPS.setTextMatrix:this.setTextMatrix(o[0],o[1],o[2],o[3],o[4],o[5]);break;case r.OPS.setTextRise:this.setTextRise(o[0]);break;case r.OPS.setTextRenderingMode:this.setTextRenderingMode(o[0]);break;case r.OPS.setLineWidth:this.setLineWidth(o[0]);break;case r.OPS.setLineJoin:this.setLineJoin(o[0]);break;case r.OPS.setLineCap:this.setLineCap(o[0]);break;case r.OPS.setMiterLimit:this.setMiterLimit(o[0]);break;case r.OPS.setFillRGBColor:this.setFillRGBColor(o[0],o[1],o[2]);break;case r.OPS.setStrokeRGBColor:this.setStrokeRGBColor(o[0],o[1],o[2]);break;case r.OPS.setStrokeColorN:this.setStrokeColorN(o);break;case r.OPS.setFillColorN:this.setFillColorN(o);break;case r.OPS.shadingFill:this.shadingFill(o[0]);break;case r.OPS.setDash:this.setDash(o[0],o[1]);break;case r.OPS.setRenderingIntent:this.setRenderingIntent(o[0]);break;case r.OPS.setFlatness:this.setFlatness(o[0]);break;case r.OPS.setGState:this.setGState(o[0]);break;case r.OPS.fill:this.fill();break;case r.OPS.eoFill:this.eoFill();break;case r.OPS.stroke:this.stroke();break;case r.OPS.fillStroke:this.fillStroke();break;case r.OPS.eoFillStroke:this.eoFillStroke();break;case r.OPS.clip:this.clip("nonzero");break;case r.OPS.eoClip:this.clip("evenodd");break;case r.OPS.paintSolidColorImageMask:this.paintSolidColorImageMask();break;case r.OPS.paintImageXObject:this.paintImageXObject(o[0]);break;case r.OPS.paintInlineImageXObject:this.paintInlineImageXObject(o[0]);break;case r.OPS.paintImageMaskXObject:this.paintImageMaskXObject(o[0]);break;case r.OPS.paintFormXObjectBegin:this.paintFormXObjectBegin(o[0],o[1]);break;case r.OPS.paintFormXObjectEnd:this.paintFormXObjectEnd();break;case r.OPS.closePath:this.closePath();break;case r.OPS.closeStroke:this.closeStroke();break;case r.OPS.closeFillStroke:this.closeFillStroke();break;case r.OPS.closeEOFillStroke:this.closeEOFillStroke();break;case r.OPS.nextLine:this.nextLine();break;case r.OPS.transform:this.transform(o[0],o[1],o[2],o[3],o[4],o[5]);break;case r.OPS.constructPath:this.constructPath(o[0],o[1]);break;case r.OPS.endPath:this.endPath();break;case 92:this.group(t.items);break;default:(0,r.warn)(`Unimplemented operator ${e}`)}}}setWordSpacing(e){this.current.wordSpacing=e}setCharSpacing(e){this.current.charSpacing=e}nextLine(){this.moveText(0,this.current.leading)}setTextMatrix(e,t,n,r,o,a){const i=this.current;i.textMatrix=i.lineMatrix=[e,t,n,r,o,a],i.textMatrixScale=Math.hypot(e,t),i.x=i.lineX=0,i.y=i.lineY=0,i.xcoords=[],i.ycoords=[],i.tspan=this.svgFactory.createElement("svg:tspan"),i.tspan.setAttributeNS(null,"font-family",i.fontFamily),i.tspan.setAttributeNS(null,"font-size",`${f(i.fontSize)}px`),i.tspan.setAttributeNS(null,"y",f(-i.y)),i.txtElement=this.svgFactory.createElement("svg:text"),i.txtElement.appendChild(i.tspan)}beginText(){const e=this.current;e.x=e.lineX=0,e.y=e.lineY=0,e.textMatrix=r.IDENTITY_MATRIX,e.lineMatrix=r.IDENTITY_MATRIX,e.textMatrixScale=1,e.tspan=this.svgFactory.createElement("svg:tspan"),e.txtElement=this.svgFactory.createElement("svg:text"),e.txtgrp=this.svgFactory.createElement("svg:g"),e.xcoords=[],e.ycoords=[]}moveText(e,t){const n=this.current;n.x=n.lineX+=e,n.y=n.lineY+=t,n.xcoords=[],n.ycoords=[],n.tspan=this.svgFactory.createElement("svg:tspan"),n.tspan.setAttributeNS(null,"font-family",n.fontFamily),n.tspan.setAttributeNS(null,"font-size",`${f(n.fontSize)}px`),n.tspan.setAttributeNS(null,"y",f(-n.y))}showText(t){const o=this.current,a=o.font,i=o.fontSize;if(0===i)return;const s=o.fontSizeScale,l=o.charSpacing,c=o.wordSpacing,u=o.fontDirection,p=o.textHScale*u,d=a.vertical,g=d?1:-1,b=a.defaultVMetrics,m=i*o.fontMatrix[0];let v=0;for(const e of t){if(null===e){v+=u*c;continue}if((0,r.isNum)(e)){v+=g*e*i/1e3;continue}const t=(e.isSpace?c:0)+l,n=e.fontChar;let p,f,h,y=e.width;if(d){let t;const n=e.vmetric||b;t=e.vmetric?n[1]:.5*y,t=-t*m;const r=n[2]*m;y=n?-n[0]:y,p=t/s,f=(v+r)/s}else p=v/s,f=0;(e.isInFont||a.missingFile)&&(o.xcoords.push(o.x+p),d&&o.ycoords.push(-o.y+f),o.tspan.textContent+=n),h=d?y*m-t*u:y*m+t*u,v+=h}o.tspan.setAttributeNS(null,"x",o.xcoords.map(f).join(" ")),d?o.tspan.setAttributeNS(null,"y",o.ycoords.map(f).join(" ")):o.tspan.setAttributeNS(null,"y",f(-o.y)),d?o.y-=v:o.x+=v*p,o.tspan.setAttributeNS(null,"font-family",o.fontFamily),o.tspan.setAttributeNS(null,"font-size",`${f(o.fontSize)}px`),o.fontStyle!==e.fontStyle&&o.tspan.setAttributeNS(null,"font-style",o.fontStyle),o.fontWeight!==e.fontWeight&&o.tspan.setAttributeNS(null,"font-weight",o.fontWeight);const y=o.textRenderingMode&r.TextRenderingMode.FILL_STROKE_MASK;if(y===r.TextRenderingMode.FILL||y===r.TextRenderingMode.FILL_STROKE?(o.fillColor!==e.fillColor&&o.tspan.setAttributeNS(null,"fill",o.fillColor),o.fillAlpha<1&&o.tspan.setAttributeNS(null,"fill-opacity",o.fillAlpha)):o.textRenderingMode===r.TextRenderingMode.ADD_TO_PATH?o.tspan.setAttributeNS(null,"fill","transparent"):o.tspan.setAttributeNS(null,"fill","none"),y===r.TextRenderingMode.STROKE||y===r.TextRenderingMode.FILL_STROKE){const e=1/(o.textMatrixScale||1);this._setStrokeAttributes(o.tspan,e)}let _=o.textMatrix;0!==o.textRise&&(_=_.slice(),_[5]+=o.textRise),o.txtElement.setAttributeNS(null,"transform",`${h(_)} scale(${f(p)}, -1)`),o.txtElement.setAttributeNS(n,"xml:space","preserve"),o.txtElement.appendChild(o.tspan),o.txtgrp.appendChild(o.txtElement),this._ensureTransformGroup().appendChild(o.txtElement)}setLeadingMoveText(e,t){this.setLeading(-t),this.moveText(e,t)}addFontStyle(e){if(!e.data)throw new Error('addFontStyle: No font data available, ensure that the "fontExtraProperties" API parameter is set.');this.cssStyle||(this.cssStyle=this.svgFactory.createElement("svg:style"),this.cssStyle.setAttributeNS(null,"type","text/css"),this.defs.appendChild(this.cssStyle));const t=(0,r.createObjectURL)(e.data,e.mimetype,this.forceDataSchema);this.cssStyle.textContent+=`@font-face { font-family: "${e.loadedName}"; src: url(${t}); }\n`}setFont(e){const t=this.current,n=this.commonObjs.get(e[0]);let o=e[1];t.font=n,!this.embedFonts||n.missingFile||this.embeddedFonts[n.loadedName]||(this.addFontStyle(n),this.embeddedFonts[n.loadedName]=n),t.fontMatrix=n.fontMatrix||r.FONT_IDENTITY_MATRIX;let a="normal";n.black?a="900":n.bold&&(a="bold");const i=n.italic?"italic":"normal";o<0?(o=-o,t.fontDirection=-1):t.fontDirection=1,t.fontSize=o,t.fontFamily=n.loadedName,t.fontWeight=a,t.fontStyle=i,t.tspan=this.svgFactory.createElement("svg:tspan"),t.tspan.setAttributeNS(null,"y",f(-t.y)),t.xcoords=[],t.ycoords=[]}endText(){const e=this.current;e.textRenderingMode&r.TextRenderingMode.ADD_TO_PATH_FLAG&&e.txtElement?.hasChildNodes()&&(e.element=e.txtElement,this.clip("nonzero"),this.endPath())}setLineWidth(e){e>0&&(this.current.lineWidth=e)}setLineCap(e){this.current.lineCap=l[e]}setLineJoin(e){this.current.lineJoin=c[e]}setMiterLimit(e){this.current.miterLimit=e}setStrokeAlpha(e){this.current.strokeAlpha=e}setStrokeRGBColor(e,t,n){this.current.strokeColor=r.Util.makeHexColor(e,t,n)}setFillAlpha(e){this.current.fillAlpha=e}setFillRGBColor(e,t,n){this.current.fillColor=r.Util.makeHexColor(e,t,n),this.current.tspan=this.svgFactory.createElement("svg:tspan"),this.current.xcoords=[],this.current.ycoords=[]}setStrokeColorN(e){this.current.strokeColor=this._makeColorN_Pattern(e)}setFillColorN(e){this.current.fillColor=this._makeColorN_Pattern(e)}shadingFill(e){const t=this.viewport.width,n=this.viewport.height,o=r.Util.inverseTransform(this.transformMatrix),a=r.Util.applyTransform([0,0],o),i=r.Util.applyTransform([0,n],o),s=r.Util.applyTransform([t,0],o),l=r.Util.applyTransform([t,n],o),c=Math.min(a[0],i[0],s[0],l[0]),u=Math.min(a[1],i[1],s[1],l[1]),p=Math.max(a[0],i[0],s[0],l[0]),d=Math.max(a[1],i[1],s[1],l[1]),f=this.svgFactory.createElement("svg:rect");f.setAttributeNS(null,"x",c),f.setAttributeNS(null,"y",u),f.setAttributeNS(null,"width",p-c),f.setAttributeNS(null,"height",d-u),f.setAttributeNS(null,"fill",this._makeShadingPattern(e)),this.current.fillAlpha<1&&f.setAttributeNS(null,"fill-opacity",this.current.fillAlpha),this._ensureTransformGroup().appendChild(f)}_makeColorN_Pattern(e){return"TilingPattern"===e[0]?this._makeTilingPattern(e):this._makeShadingPattern(e)}_makeTilingPattern(e){const t=e[1],n=e[2],o=e[3]||r.IDENTITY_MATRIX,[a,i,s,l]=e[4],c=e[5],u=e[6],p=e[7],d="shading"+m++,[f,h]=r.Util.applyTransform([a,i],o),[g,b]=r.Util.applyTransform([s,l],o),[v,y]=r.Util.singularValueDecompose2dScale(o),_=c*v,x=u*y,w=this.svgFactory.createElement("svg:pattern");w.setAttributeNS(null,"id",d),w.setAttributeNS(null,"patternUnits","userSpaceOnUse"),w.setAttributeNS(null,"width",_),w.setAttributeNS(null,"height",x),w.setAttributeNS(null,"x",`${f}`),w.setAttributeNS(null,"y",`${h}`);const k=this.svg,E=this.transformMatrix,C=this.current.fillColor,A=this.current.strokeColor,P=this.svgFactory.create(g-f,b-h);if(this.svg=P,this.transformMatrix=o,2===p){const e=r.Util.makeHexColor(...t);this.current.fillColor=e,this.current.strokeColor=e}return this.executeOpTree(this.convertOpList(n)),this.svg=k,this.transformMatrix=E,this.current.fillColor=C,this.current.strokeColor=A,w.appendChild(P.childNodes[0]),this.defs.appendChild(w),`url(#${d})`}_makeShadingPattern(e){switch(e[0]){case"RadialAxial":const t="shading"+m++,n=e[3];let o;switch(e[1]){case"axial":const n=e[4],r=e[5];o=this.svgFactory.createElement("svg:linearGradient"),o.setAttributeNS(null,"id",t),o.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),o.setAttributeNS(null,"x1",n[0]),o.setAttributeNS(null,"y1",n[1]),o.setAttributeNS(null,"x2",r[0]),o.setAttributeNS(null,"y2",r[1]);break;case"radial":const a=e[4],i=e[5],s=e[6],l=e[7];o=this.svgFactory.createElement("svg:radialGradient"),o.setAttributeNS(null,"id",t),o.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),o.setAttributeNS(null,"cx",i[0]),o.setAttributeNS(null,"cy",i[1]),o.setAttributeNS(null,"r",l),o.setAttributeNS(null,"fx",a[0]),o.setAttributeNS(null,"fy",a[1]),o.setAttributeNS(null,"fr",s);break;default:throw new Error(`Unknown RadialAxial type: ${e[1]}`)}for(const e of n){const t=this.svgFactory.createElement("svg:stop");t.setAttributeNS(null,"offset",e[0]),t.setAttributeNS(null,"stop-color",e[1]),o.appendChild(t)}return this.defs.appendChild(o),`url(#${t})`;case"Mesh":return(0,r.warn)("Unimplemented pattern Mesh"),null;case"Dummy":return"hotpink";default:throw new Error(`Unknown IR type: ${e[0]}`)}}setDash(e,t){this.current.dashArray=e,this.current.dashPhase=t}constructPath(e,t){const n=this.current;let o=n.x,a=n.y,i=[],s=0;for(const n of e)switch(0|n){case r.OPS.rectangle:o=t[s++],a=t[s++];const e=o+t[s++],n=a+t[s++];i.push("M",f(o),f(a),"L",f(e),f(a),"L",f(e),f(n),"L",f(o),f(n),"Z");break;case r.OPS.moveTo:o=t[s++],a=t[s++],i.push("M",f(o),f(a));break;case r.OPS.lineTo:o=t[s++],a=t[s++],i.push("L",f(o),f(a));break;case r.OPS.curveTo:o=t[s+4],a=t[s+5],i.push("C",f(t[s]),f(t[s+1]),f(t[s+2]),f(t[s+3]),f(o),f(a)),s+=6;break;case r.OPS.curveTo2:i.push("C",f(o),f(a),f(t[s]),f(t[s+1]),f(t[s+2]),f(t[s+3])),o=t[s+2],a=t[s+3],s+=4;break;case r.OPS.curveTo3:o=t[s+2],a=t[s+3],i.push("C",f(t[s]),f(t[s+1]),f(o),f(a),f(o),f(a)),s+=4;break;case r.OPS.closePath:i.push("Z")}i=i.join(" "),n.path&&e.length>0&&e[0]!==r.OPS.rectangle&&e[0]!==r.OPS.moveTo?i=n.path.getAttributeNS(null,"d")+i:(n.path=this.svgFactory.createElement("svg:path"),this._ensureTransformGroup().appendChild(n.path)),n.path.setAttributeNS(null,"d",i),n.path.setAttributeNS(null,"fill","none"),n.element=n.path,n.setCurrentPoint(o,a)}endPath(){const e=this.current;if(e.path=null,!this.pendingClip)return;if(!e.element)return void(this.pendingClip=null);const t="clippath"+g++,n=this.svgFactory.createElement("svg:clipPath");n.setAttributeNS(null,"id",t),n.setAttributeNS(null,"transform",h(this.transformMatrix));const r=e.element.cloneNode(!0);"evenodd"===this.pendingClip?r.setAttributeNS(null,"clip-rule","evenodd"):r.setAttributeNS(null,"clip-rule","nonzero"),this.pendingClip=null,n.appendChild(r),this.defs.appendChild(n),e.activeClipUrl&&(e.clipGroup=null,this.extraStack.forEach((function(e){e.clipGroup=null})),n.setAttributeNS(null,"clip-path",e.activeClipUrl)),e.activeClipUrl=`url(#${t})`,this.tgrp=null}clip(e){this.pendingClip=e}closePath(){const e=this.current;if(e.path){const t=`${e.path.getAttributeNS(null,"d")}Z`;e.path.setAttributeNS(null,"d",t)}}setLeading(e){this.current.leading=-e}setTextRise(e){this.current.textRise=e}setTextRenderingMode(e){this.current.textRenderingMode=e}setHScale(e){this.current.textHScale=e/100}setRenderingIntent(e){}setFlatness(e){}setGState(e){for(const[t,n]of e)switch(t){case"LW":this.setLineWidth(n);break;case"LC":this.setLineCap(n);break;case"LJ":this.setLineJoin(n);break;case"ML":this.setMiterLimit(n);break;case"D":this.setDash(n[0],n[1]);break;case"RI":this.setRenderingIntent(n);break;case"FL":this.setFlatness(n);break;case"Font":this.setFont(n);break;case"CA":this.setStrokeAlpha(n);break;case"ca":this.setFillAlpha(n);break;default:(0,r.warn)(`Unimplemented graphic state operator ${t}`)}}fill(){const e=this.current;e.element&&(e.element.setAttributeNS(null,"fill",e.fillColor),e.element.setAttributeNS(null,"fill-opacity",e.fillAlpha),this.endPath())}stroke(){const e=this.current;e.element&&(this._setStrokeAttributes(e.element),e.element.setAttributeNS(null,"fill","none"),this.endPath())}_setStrokeAttributes(e,t=1){const n=this.current;let r=n.dashArray;1!==t&&r.length>0&&(r=r.map((function(e){return t*e}))),e.setAttributeNS(null,"stroke",n.strokeColor),e.setAttributeNS(null,"stroke-opacity",n.strokeAlpha),e.setAttributeNS(null,"stroke-miterlimit",f(n.miterLimit)),e.setAttributeNS(null,"stroke-linecap",n.lineCap),e.setAttributeNS(null,"stroke-linejoin",n.lineJoin),e.setAttributeNS(null,"stroke-width",f(t*n.lineWidth)+"px"),e.setAttributeNS(null,"stroke-dasharray",r.map(f).join(" ")),e.setAttributeNS(null,"stroke-dashoffset",f(t*n.dashPhase)+"px")}eoFill(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fill()}fillStroke(){this.stroke(),this.fill()}eoFillStroke(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fillStroke()}closeStroke(){this.closePath(),this.stroke()}closeFillStroke(){this.closePath(),this.fillStroke()}closeEOFillStroke(){this.closePath(),this.eoFillStroke()}paintSolidColorImageMask(){const e=this.svgFactory.createElement("svg:rect");e.setAttributeNS(null,"x","0"),e.setAttributeNS(null,"y","0"),e.setAttributeNS(null,"width","1px"),e.setAttributeNS(null,"height","1px"),e.setAttributeNS(null,"fill",this.current.fillColor),this._ensureTransformGroup().appendChild(e)}paintImageXObject(e){const t=e.startsWith("g_")?this.commonObjs.get(e):this.objs.get(e);t?this.paintInlineImageXObject(t):(0,r.warn)(`Dependent image with object ID ${e} is not ready yet`)}paintInlineImageXObject(e,t){const n=e.width,r=e.height,o=u(e,this.forceDataSchema,!!t),a=this.svgFactory.createElement("svg:rect");a.setAttributeNS(null,"x","0"),a.setAttributeNS(null,"y","0"),a.setAttributeNS(null,"width",f(n)),a.setAttributeNS(null,"height",f(r)),this.current.element=a,this.clip("nonzero");const i=this.svgFactory.createElement("svg:image");i.setAttributeNS(s,"xlink:href",o),i.setAttributeNS(null,"x","0"),i.setAttributeNS(null,"y",f(-r)),i.setAttributeNS(null,"width",f(n)+"px"),i.setAttributeNS(null,"height",f(r)+"px"),i.setAttributeNS(null,"transform",`scale(${f(1/n)} ${f(-1/r)})`),t?t.appendChild(i):this._ensureTransformGroup().appendChild(i)}paintImageMaskXObject(e){const t=this.current,n=e.width,r=e.height,o=t.fillColor;t.maskId="mask"+b++;const a=this.svgFactory.createElement("svg:mask");a.setAttributeNS(null,"id",t.maskId);const i=this.svgFactory.createElement("svg:rect");i.setAttributeNS(null,"x","0"),i.setAttributeNS(null,"y","0"),i.setAttributeNS(null,"width",f(n)),i.setAttributeNS(null,"height",f(r)),i.setAttributeNS(null,"fill",o),i.setAttributeNS(null,"mask",`url(#${t.maskId})`),this.defs.appendChild(a),this._ensureTransformGroup().appendChild(i),this.paintInlineImageXObject(e,a)}paintFormXObjectBegin(e,t){if(Array.isArray(e)&&6===e.length&&this.transform(e[0],e[1],e[2],e[3],e[4],e[5]),t){const e=t[2]-t[0],n=t[3]-t[1],r=this.svgFactory.createElement("svg:rect");r.setAttributeNS(null,"x",t[0]),r.setAttributeNS(null,"y",t[1]),r.setAttributeNS(null,"width",f(e)),r.setAttributeNS(null,"height",f(n)),this.current.element=r,this.clip("nonzero"),this.endPath()}}paintFormXObjectEnd(){}_initialize(e){const t=this.svgFactory.create(e.width,e.height),n=this.svgFactory.createElement("svg:defs");t.appendChild(n),this.defs=n;const r=this.svgFactory.createElement("svg:g");return r.setAttributeNS(null,"transform",h(e.transform)),t.appendChild(r),this.svg=r,t}_ensureClipGroup(){if(!this.current.clipGroup){const e=this.svgFactory.createElement("svg:g");e.setAttributeNS(null,"clip-path",this.current.activeClipUrl),this.svg.appendChild(e),this.current.clipGroup=e}return this.current.clipGroup}_ensureTransformGroup(){return this.tgrp||(this.tgrp=this.svgFactory.createElement("svg:g"),this.tgrp.setAttributeNS(null,"transform",h(this.transformMatrix)),this.current.activeClipUrl?this._ensureClipGroup().appendChild(this.tgrp):this.svg.appendChild(this.tgrp)),this.tgrp}}}},(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XfaLayer=void 0;class n{static setAttributes(e,t){for(const[n,r]of Object.entries(t))null!=r&&("style"!==n?e.setAttribute(n,r):Object.assign(e.style,r))}static render(e){const t=e.xfa,r=document.createElement(t.name);t.attributes&&n.setAttributes(r,t.attributes);const o=[[t,-1,r]],a=e.div;a.appendChild(r);const i=e.viewport.transform.join(",");for(a.style.transform=`matrix(${i})`,a.setAttribute("class","xfaLayer xfaFont");o.length>0;){const[e,t,r]=o[o.length-1];if(t+1===e.children.length){o.pop();continue}const a=e.children[++o[o.length-1][1]];if(null===a)continue;const{name:i}=a;if("#text"===i){r.appendChild(document.createTextNode(a.value));continue}const s=document.createElement(i);r.appendChild(s),a.attributes&&n.setAttributes(s,a.attributes),a.children&&a.children.length>0?o.push([a,-1,s]):a.value&&s.appendChild(document.createTextNode(a.value))}}static update(e){const t=`matrix(${e.viewport.transform.join(",")})`;e.div.style.transform=t,e.div.hidden=!1}}t.XfaLayer=n},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PDFNodeStream=void 0;var r=n(2),o=n(24);const a=__webpack_require__(2754),i=__webpack_require__(6391),s=__webpack_require__(5001),l=__webpack_require__(5496),c=/^file:\/\/\/[a-zA-Z]:\//;t.PDFNodeStream=class{constructor(e){this.source=e,this.url=function(e){const t=l.parse(e);return"file:"===t.protocol||t.host?t:/^[a-z]:[/\\]/i.test(e)?l.parse(`file:///${e}`):(t.host||(t.protocol="file:"),t)}(e.url),this.isHttp="http:"===this.url.protocol||"https:"===this.url.protocol,this.isFsUrl="file:"===this.url.protocol,this.httpHeaders=this.isHttp&&e.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}getFullReader(){return(0,r.assert)(!this._fullRequestReader,"PDFNodeStream.getFullReader can only be called once."),this._fullRequestReader=this.isFsUrl?new g(this):new f(this),this._fullRequestReader}getRangeReader(e,t){if(t<=this._progressiveDataLength)return null;const n=this.isFsUrl?new b(this,e,t):new h(this,e,t);return this._rangeRequestReaders.push(n),n}cancelAllRequests(e){this._fullRequestReader&&this._fullRequestReader.cancel(e),this._rangeRequestReaders.slice(0).forEach((function(t){t.cancel(e)}))}};class u{constructor(e){this._url=e.url,this._done=!1,this._storedError=null,this.onProgress=null;const t=e.source;this._contentLength=t.length,this._loaded=0,this._filename=null,this._disableRange=t.disableRange||!1,this._rangeChunkSize=t.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!t.disableStream,this._isRangeSupported=!t.disableRange,this._readableStream=null,this._readCapability=(0,r.createPromiseCapability)(),this._headersCapability=(0,r.createPromiseCapability)()}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}async read(){if(await this._readCapability.promise,this._done)return{value:void 0,done:!0};if(this._storedError)throw this._storedError;const e=this._readableStream.read();return null===e?(this._readCapability=(0,r.createPromiseCapability)(),this.read()):(this._loaded+=e.length,this.onProgress&&this.onProgress({loaded:this._loaded,total:this._contentLength}),{value:new Uint8Array(e).buffer,done:!1})}cancel(e){this._readableStream?this._readableStream.destroy(e):this._error(e)}_error(e){this._storedError=e,this._readCapability.resolve()}_setReadableStream(e){this._readableStream=e,e.on("readable",(()=>{this._readCapability.resolve()})),e.on("end",(()=>{e.destroy(),this._done=!0,this._readCapability.resolve()})),e.on("error",(e=>{this._error(e)})),!this._isStreamingSupported&&this._isRangeSupported&&this._error(new r.AbortException("streaming is disabled")),this._storedError&&this._readableStream.destroy(this._storedError)}}class p{constructor(e){this._url=e.url,this._done=!1,this._storedError=null,this.onProgress=null,this._loaded=0,this._readableStream=null,this._readCapability=(0,r.createPromiseCapability)();const t=e.source;this._isStreamingSupported=!t.disableStream}get isStreamingSupported(){return this._isStreamingSupported}async read(){if(await this._readCapability.promise,this._done)return{value:void 0,done:!0};if(this._storedError)throw this._storedError;const e=this._readableStream.read();return null===e?(this._readCapability=(0,r.createPromiseCapability)(),this.read()):(this._loaded+=e.length,this.onProgress&&this.onProgress({loaded:this._loaded}),{value:new Uint8Array(e).buffer,done:!1})}cancel(e){this._readableStream?this._readableStream.destroy(e):this._error(e)}_error(e){this._storedError=e,this._readCapability.resolve()}_setReadableStream(e){this._readableStream=e,e.on("readable",(()=>{this._readCapability.resolve()})),e.on("end",(()=>{e.destroy(),this._done=!0,this._readCapability.resolve()})),e.on("error",(e=>{this._error(e)})),this._storedError&&this._readableStream.destroy(this._storedError)}}function d(e,t){return{protocol:e.protocol,auth:e.auth,host:e.hostname,port:e.port,path:e.path,method:"GET",headers:t}}class f extends u{constructor(e){super(e);const t=t=>{if(404===t.statusCode){const e=new r.MissingPDFException(`Missing PDF "${this._url}".`);return this._storedError=e,void this._headersCapability.reject(e)}this._headersCapability.resolve(),this._setReadableStream(t);const n=e=>this._readableStream.headers[e.toLowerCase()],{allowRangeRequests:a,suggestedLength:i}=(0,o.validateRangeRequestCapabilities)({getResponseHeader:n,isHttp:e.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});this._isRangeSupported=a,this._contentLength=i||this._contentLength,this._filename=(0,o.extractFilenameFromHeader)(n)};this._request=null,"http:"===this._url.protocol?this._request=i.request(d(this._url,e.httpHeaders),t):this._request=s.request(d(this._url,e.httpHeaders),t),this._request.on("error",(e=>{this._storedError=e,this._headersCapability.reject(e)})),this._request.end()}}class h extends p{constructor(e,t,n){super(e),this._httpHeaders={};for(const t in e.httpHeaders){const n=e.httpHeaders[t];void 0!==n&&(this._httpHeaders[t]=n)}this._httpHeaders.Range=`bytes=${t}-${n-1}`;const o=e=>{if(404!==e.statusCode)this._setReadableStream(e);else{const e=new r.MissingPDFException(`Missing PDF "${this._url}".`);this._storedError=e}};this._request=null,"http:"===this._url.protocol?this._request=i.request(d(this._url,this._httpHeaders),o):this._request=s.request(d(this._url,this._httpHeaders),o),this._request.on("error",(e=>{this._storedError=e})),this._request.end()}}class g extends u{constructor(e){super(e);let t=decodeURIComponent(this._url.path);c.test(this._url.href)&&(t=t.replace(/^\//,"")),a.lstat(t,((e,n)=>{if(e)return"ENOENT"===e.code&&(e=new r.MissingPDFException(`Missing PDF "${t}".`)),this._storedError=e,void this._headersCapability.reject(e);this._contentLength=n.size,this._setReadableStream(a.createReadStream(t)),this._headersCapability.resolve()}))}}class b extends p{constructor(e,t,n){super(e);let r=decodeURIComponent(this._url.path);c.test(this._url.href)&&(r=r.replace(/^\//,"")),this._setReadableStream(a.createReadStream(r,{start:t,end:n-1}))}}},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.createResponseStatusError=function(e,t){return 404===e||0===e&&t.startsWith("file:")?new r.MissingPDFException('Missing PDF "'+t+'".'):new r.UnexpectedResponseException(`Unexpected server response (${e}) while retrieving PDF "${t}".`,e)},t.extractFilenameFromHeader=function(e){const t=e("Content-Disposition");if(t){let e=(0,o.getFilenameFromContentDispositionHeader)(t);if(e.includes("%"))try{e=decodeURIComponent(e)}catch(e){}if((0,a.isPdfFile)(e))return e}return null},t.validateRangeRequestCapabilities=function({getResponseHeader:e,isHttp:t,rangeChunkSize:n,disableRange:o}){(0,r.assert)(n>0,"Range chunk size must be larger than zero");const a={allowRangeRequests:!1,suggestedLength:void 0},i=parseInt(e("Content-Length"),10);return Number.isInteger(i)?(a.suggestedLength=i,i<=2*n||o||!t||"bytes"!==e("Accept-Ranges")||"identity"!==(e("Content-Encoding")||"identity")||(a.allowRangeRequests=!0),a):a},t.validateResponseStatus=function(e){return 200===e||206===e};var r=n(2),o=n(25),a=n(1)},(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getFilenameFromContentDispositionHeader=function(e){let t=!0,n=r("filename\\*","i").exec(e);if(n){n=n[1];let e=i(n);return e=unescape(e),e=s(e),e=l(e),a(e)}if(n=function(e){const t=[];let n;const o=r("filename\\*((?!0\\d)\\d+)(\\*?)","ig");for(;null!==(n=o.exec(e));){let[,e,r,o]=n;if(e=parseInt(e,10),e in t){if(0===e)break}else t[e]=[r,o]}const a=[];for(let e=0;e<t.length&&e in t;++e){let[n,r]=t[e];r=i(r),n&&(r=unescape(r),0===e&&(r=s(r))),a.push(r)}return a.join("")}(e),n)return a(l(n));if(n=r("filename","i").exec(e),n){n=n[1];let e=i(n);return e=l(e),a(e)}function r(e,t){return new RegExp("(?:^|;)\\s*"+e+'\\s*=\\s*([^";\\s][^;\\s]*|"(?:[^"\\\\]|\\\\"?)+"?)',t)}function o(e,n){if(e){if(!/^[\x00-\xFF]+$/.test(n))return n;try{const r=new TextDecoder(e,{fatal:!0}),o=Array.from(n,(function(e){return 255&e.charCodeAt(0)}));n=r.decode(new Uint8Array(o)),t=!1}catch(r){if(/^utf-?8$/i.test(e))try{n=decodeURIComponent(escape(n)),t=!1}catch(e){}}}return n}function a(e){return t&&/[\x80-\xff]/.test(e)&&(e=o("utf-8",e),t&&(e=o("iso-8859-1",e))),e}function i(e){if(e.startsWith('"')){const t=e.slice(1).split('\\"');for(let e=0;e<t.length;++e){const n=t[e].indexOf('"');-1!==n&&(t[e]=t[e].slice(0,n),t.length=e+1),t[e]=t[e].replace(/\\(.)/g,"$1")}e=t.join('"')}return e}function s(e){const t=e.indexOf("'");return-1===t?e:o(e.slice(0,t),e.slice(t+1).replace(/^[^']*'/,""))}function l(e){return!e.startsWith("=?")||/[\x00-\x19\x80-\xff]/.test(e)?e:e.replace(/=\?([\w-]*)\?([QqBb])\?((?:[^?]|\?(?!=))*)\?=/g,(function(e,t,n,r){if("q"===n||"Q"===n)return o(t,r=(r=r.replace(/_/g," ")).replace(/=([0-9a-fA-F]{2})/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})));try{r=atob(r)}catch(e){}return o(t,r)}))}return""}},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PDFNetworkStream=void 0;var r=n(2),o=n(24);class a{constructor(e,t){this.url=e,t=t||{},this.isHttp=/^https?:/i.test(e),this.httpHeaders=this.isHttp&&t.httpHeaders||{},this.withCredentials=t.withCredentials||!1,this.getXhr=t.getXhr||function(){return new XMLHttpRequest},this.currXhrId=0,this.pendingRequests=Object.create(null)}requestRange(e,t,n){const r={begin:e,end:t};for(const e in n)r[e]=n[e];return this.request(r)}requestFull(e){return this.request(e)}request(e){const t=this.getXhr(),n=this.currXhrId++,r=this.pendingRequests[n]={xhr:t};t.open("GET",this.url),t.withCredentials=this.withCredentials;for(const e in this.httpHeaders){const n=this.httpHeaders[e];void 0!==n&&t.setRequestHeader(e,n)}return this.isHttp&&"begin"in e&&"end"in e?(t.setRequestHeader("Range",`bytes=${e.begin}-${e.end-1}`),r.expectedStatus=206):r.expectedStatus=200,t.responseType="arraybuffer",e.onError&&(t.onerror=function(n){e.onError(t.status)}),t.onreadystatechange=this.onStateChange.bind(this,n),t.onprogress=this.onProgress.bind(this,n),r.onHeadersReceived=e.onHeadersReceived,r.onDone=e.onDone,r.onError=e.onError,r.onProgress=e.onProgress,t.send(null),n}onProgress(e,t){const n=this.pendingRequests[e];n&&n.onProgress&&n.onProgress(t)}onStateChange(e,t){const n=this.pendingRequests[e];if(!n)return;const o=n.xhr;if(o.readyState>=2&&n.onHeadersReceived&&(n.onHeadersReceived(),delete n.onHeadersReceived),4!==o.readyState)return;if(!(e in this.pendingRequests))return;if(delete this.pendingRequests[e],0===o.status&&this.isHttp)return void(n.onError&&n.onError(o.status));const a=o.status||200;if((200!==a||206!==n.expectedStatus)&&a!==n.expectedStatus)return void(n.onError&&n.onError(o.status));const i=function(e){const t=e.response;return"string"!=typeof t?t:(0,r.stringToBytes)(t).buffer}(o);if(206===a){const e=o.getResponseHeader("Content-Range"),t=/bytes (\d+)-(\d+)\/(\d+)/.exec(e);n.onDone({begin:parseInt(t[1],10),chunk:i})}else i?n.onDone({begin:0,chunk:i}):n.onError&&n.onError(o.status)}getRequestXhr(e){return this.pendingRequests[e].xhr}isPendingRequest(e){return e in this.pendingRequests}abortRequest(e){const t=this.pendingRequests[e].xhr;delete this.pendingRequests[e],t.abort()}}t.PDFNetworkStream=class{constructor(e){this._source=e,this._manager=new a(e.url,{httpHeaders:e.httpHeaders,withCredentials:e.withCredentials}),this._rangeChunkSize=e.rangeChunkSize,this._fullRequestReader=null,this._rangeRequestReaders=[]}_onRangeRequestReaderClosed(e){const t=this._rangeRequestReaders.indexOf(e);t>=0&&this._rangeRequestReaders.splice(t,1)}getFullReader(){return(0,r.assert)(!this._fullRequestReader,"PDFNetworkStream.getFullReader can only be called once."),this._fullRequestReader=new i(this._manager,this._source),this._fullRequestReader}getRangeReader(e,t){const n=new s(this._manager,e,t);return n.onClosed=this._onRangeRequestReaderClosed.bind(this),this._rangeRequestReaders.push(n),n}cancelAllRequests(e){this._fullRequestReader&&this._fullRequestReader.cancel(e),this._rangeRequestReaders.slice(0).forEach((function(t){t.cancel(e)}))}};class i{constructor(e,t){this._manager=e;const n={onHeadersReceived:this._onHeadersReceived.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=t.url,this._fullRequestId=e.requestFull(n),this._headersReceivedCapability=(0,r.createPromiseCapability)(),this._disableRange=t.disableRange||!1,this._contentLength=t.length,this._rangeChunkSize=t.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!1,this._isRangeSupported=!1,this._cachedChunks=[],this._requests=[],this._done=!1,this._storedError=void 0,this._filename=null,this.onProgress=null}_onHeadersReceived(){const e=this._fullRequestId,t=this._manager.getRequestXhr(e),n=e=>t.getResponseHeader(e),{allowRangeRequests:r,suggestedLength:a}=(0,o.validateRangeRequestCapabilities)({getResponseHeader:n,isHttp:this._manager.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});r&&(this._isRangeSupported=!0),this._contentLength=a||this._contentLength,this._filename=(0,o.extractFilenameFromHeader)(n),this._isRangeSupported&&this._manager.abortRequest(e),this._headersReceivedCapability.resolve()}_onDone(e){e&&(this._requests.length>0?this._requests.shift().resolve({value:e.chunk,done:!1}):this._cachedChunks.push(e.chunk)),this._done=!0,this._cachedChunks.length>0||(this._requests.forEach((function(e){e.resolve({value:void 0,done:!0})})),this._requests=[])}_onError(e){const t=this._url,n=(0,o.createResponseStatusError)(e,t);this._storedError=n,this._headersReceivedCapability.reject(n),this._requests.forEach((function(e){e.reject(n)})),this._requests=[],this._cachedChunks=[]}_onProgress(e){this.onProgress&&this.onProgress({loaded:e.loaded,total:e.lengthComputable?e.total:this._contentLength})}get filename(){return this._filename}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}get contentLength(){return this._contentLength}get headersReady(){return this._headersReceivedCapability.promise}async read(){if(this._storedError)throw this._storedError;if(this._cachedChunks.length>0)return{value:this._cachedChunks.shift(),done:!1};if(this._done)return{value:void 0,done:!0};const e=(0,r.createPromiseCapability)();return this._requests.push(e),e.promise}cancel(e){this._done=!0,this._headersReceivedCapability.reject(e),this._requests.forEach((function(e){e.resolve({value:void 0,done:!0})})),this._requests=[],this._manager.isPendingRequest(this._fullRequestId)&&this._manager.abortRequest(this._fullRequestId),this._fullRequestReader=null}}class s{constructor(e,t,n){this._manager=e;const r={onDone:this._onDone.bind(this),onProgress:this._onProgress.bind(this)};this._requestId=e.requestRange(t,n,r),this._requests=[],this._queuedChunk=null,this._done=!1,this.onProgress=null,this.onClosed=null}_close(){this.onClosed&&this.onClosed(this)}_onDone(e){const t=e.chunk;this._requests.length>0?this._requests.shift().resolve({value:t,done:!1}):this._queuedChunk=t,this._done=!0,this._requests.forEach((function(e){e.resolve({value:void 0,done:!0})})),this._requests=[],this._close()}_onProgress(e){!this.isStreamingSupported&&this.onProgress&&this.onProgress({loaded:e.loaded})}get isStreamingSupported(){return!1}async read(){if(null!==this._queuedChunk){const e=this._queuedChunk;return this._queuedChunk=null,{value:e,done:!1}}if(this._done)return{value:void 0,done:!0};const e=(0,r.createPromiseCapability)();return this._requests.push(e),e.promise}cancel(e){this._done=!0,this._requests.forEach((function(e){e.resolve({value:void 0,done:!0})})),this._requests=[],this._manager.isPendingRequest(this._requestId)&&this._manager.abortRequest(this._requestId),this._close()}}},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PDFFetchStream=void 0;var r=n(2),o=n(24);function a(e,t,n){return{method:"GET",headers:e,signal:n?.signal,mode:"cors",credentials:t?"include":"same-origin",redirect:"follow"}}function i(e){const t=new Headers;for(const n in e){const r=e[n];void 0!==r&&t.append(n,r)}return t}t.PDFFetchStream=class{constructor(e){this.source=e,this.isHttp=/^https?:/i.test(e.url),this.httpHeaders=this.isHttp&&e.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}getFullReader(){return(0,r.assert)(!this._fullRequestReader,"PDFFetchStream.getFullReader can only be called once."),this._fullRequestReader=new s(this),this._fullRequestReader}getRangeReader(e,t){if(t<=this._progressiveDataLength)return null;const n=new l(this,e,t);return this._rangeRequestReaders.push(n),n}cancelAllRequests(e){this._fullRequestReader&&this._fullRequestReader.cancel(e),this._rangeRequestReaders.slice(0).forEach((function(t){t.cancel(e)}))}};class s{constructor(e){this._stream=e,this._reader=null,this._loaded=0,this._filename=null;const t=e.source;this._withCredentials=t.withCredentials||!1,this._contentLength=t.length,this._headersCapability=(0,r.createPromiseCapability)(),this._disableRange=t.disableRange||!1,this._rangeChunkSize=t.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),"undefined"!=typeof AbortController&&(this._abortController=new AbortController),this._isStreamingSupported=!t.disableStream,this._isRangeSupported=!t.disableRange,this._headers=i(this._stream.httpHeaders);const n=t.url;fetch(n,a(this._headers,this._withCredentials,this._abortController)).then((e=>{if(!(0,o.validateResponseStatus)(e.status))throw(0,o.createResponseStatusError)(e.status,n);this._reader=e.body.getReader(),this._headersCapability.resolve();const t=t=>e.headers.get(t),{allowRangeRequests:a,suggestedLength:i}=(0,o.validateRangeRequestCapabilities)({getResponseHeader:t,isHttp:this._stream.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});this._isRangeSupported=a,this._contentLength=i||this._contentLength,this._filename=(0,o.extractFilenameFromHeader)(t),!this._isStreamingSupported&&this._isRangeSupported&&this.cancel(new r.AbortException("Streaming is disabled."))})).catch(this._headersCapability.reject),this.onProgress=null}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}async read(){await this._headersCapability.promise;const{value:e,done:t}=await this._reader.read();return t?{value:e,done:t}:(this._loaded+=e.byteLength,this.onProgress&&this.onProgress({loaded:this._loaded,total:this._contentLength}),{value:new Uint8Array(e).buffer,done:!1})}cancel(e){this._reader&&this._reader.cancel(e),this._abortController&&this._abortController.abort()}}class l{constructor(e,t,n){this._stream=e,this._reader=null,this._loaded=0;const s=e.source;this._withCredentials=s.withCredentials||!1,this._readCapability=(0,r.createPromiseCapability)(),this._isStreamingSupported=!s.disableStream,"undefined"!=typeof AbortController&&(this._abortController=new AbortController),this._headers=i(this._stream.httpHeaders),this._headers.append("Range",`bytes=${t}-${n-1}`);const l=s.url;fetch(l,a(this._headers,this._withCredentials,this._abortController)).then((e=>{if(!(0,o.validateResponseStatus)(e.status))throw(0,o.createResponseStatusError)(e.status,l);this._readCapability.resolve(),this._reader=e.body.getReader()})).catch((e=>{if("AbortError"!==e?.name)throw e})),this.onProgress=null}get isStreamingSupported(){return this._isStreamingSupported}async read(){await this._readCapability.promise;const{value:e,done:t}=await this._reader.read();return t?{value:e,done:t}:(this._loaded+=e.byteLength,this.onProgress&&this.onProgress({loaded:this._loaded}),{value:new Uint8Array(e).buffer,done:!1})}cancel(e){this._reader&&this._reader.cancel(e),this._abortController&&this._abortController.abort()}}}],__webpack_module_cache__={};function __w_pdfjs_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e](n,n.exports,__w_pdfjs_require__),n.exports}var __webpack_exports__={};return(()=>{var e=__webpack_exports__;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"addLinkAttributes",{enumerable:!0,get:function(){return t.addLinkAttributes}}),Object.defineProperty(e,"getFilenameFromUrl",{enumerable:!0,get:function(){return t.getFilenameFromUrl}}),Object.defineProperty(e,"getPdfFilenameFromUrl",{enumerable:!0,get:function(){return t.getPdfFilenameFromUrl}}),Object.defineProperty(e,"isPdfFile",{enumerable:!0,get:function(){return t.isPdfFile}}),Object.defineProperty(e,"LinkTarget",{enumerable:!0,get:function(){return t.LinkTarget}}),Object.defineProperty(e,"loadScript",{enumerable:!0,get:function(){return t.loadScript}}),Object.defineProperty(e,"PDFDateString",{enumerable:!0,get:function(){return t.PDFDateString}}),Object.defineProperty(e,"RenderingCancelledException",{enumerable:!0,get:function(){return t.RenderingCancelledException}}),Object.defineProperty(e,"build",{enumerable:!0,get:function(){return n.build}}),Object.defineProperty(e,"getDocument",{enumerable:!0,get:function(){return n.getDocument}}),Object.defineProperty(e,"LoopbackPort",{enumerable:!0,get:function(){return n.LoopbackPort}}),Object.defineProperty(e,"PDFDataRangeTransport",{enumerable:!0,get:function(){return n.PDFDataRangeTransport}}),Object.defineProperty(e,"PDFWorker",{enumerable:!0,get:function(){return n.PDFWorker}}),Object.defineProperty(e,"version",{enumerable:!0,get:function(){return n.version}}),Object.defineProperty(e,"CMapCompressionType",{enumerable:!0,get:function(){return r.CMapCompressionType}}),Object.defineProperty(e,"createObjectURL",{enumerable:!0,get:function(){return r.createObjectURL}}),Object.defineProperty(e,"createPromiseCapability",{enumerable:!0,get:function(){return r.createPromiseCapability}}),Object.defineProperty(e,"createValidAbsoluteUrl",{enumerable:!0,get:function(){return r.createValidAbsoluteUrl}}),Object.defineProperty(e,"InvalidPDFException",{enumerable:!0,get:function(){return r.InvalidPDFException}}),Object.defineProperty(e,"MissingPDFException",{enumerable:!0,get:function(){return r.MissingPDFException}}),Object.defineProperty(e,"OPS",{enumerable:!0,get:function(){return r.OPS}}),Object.defineProperty(e,"PasswordResponses",{enumerable:!0,get:function(){return r.PasswordResponses}}),Object.defineProperty(e,"PermissionFlag",{enumerable:!0,get:function(){return r.PermissionFlag}}),Object.defineProperty(e,"removeNullCharacters",{enumerable:!0,get:function(){return r.removeNullCharacters}}),Object.defineProperty(e,"shadow",{enumerable:!0,get:function(){return r.shadow}}),Object.defineProperty(e,"UnexpectedResponseException",{enumerable:!0,get:function(){return r.UnexpectedResponseException}}),Object.defineProperty(e,"UNSUPPORTED_FEATURES",{enumerable:!0,get:function(){return r.UNSUPPORTED_FEATURES}}),Object.defineProperty(e,"Util",{enumerable:!0,get:function(){return r.Util}}),Object.defineProperty(e,"VerbosityLevel",{enumerable:!0,get:function(){return r.VerbosityLevel}}),Object.defineProperty(e,"AnnotationLayer",{enumerable:!0,get:function(){return o.AnnotationLayer}}),Object.defineProperty(e,"apiCompatibilityParams",{enumerable:!0,get:function(){return a.apiCompatibilityParams}}),Object.defineProperty(e,"GlobalWorkerOptions",{enumerable:!0,get:function(){return i.GlobalWorkerOptions}}),Object.defineProperty(e,"renderTextLayer",{enumerable:!0,get:function(){return s.renderTextLayer}}),Object.defineProperty(e,"SVGGraphics",{enumerable:!0,get:function(){return l.SVGGraphics}}),Object.defineProperty(e,"XfaLayer",{enumerable:!0,get:function(){return c.XfaLayer}});var t=__w_pdfjs_require__(1),n=__w_pdfjs_require__(5),r=__w_pdfjs_require__(2),o=__w_pdfjs_require__(18),a=__w_pdfjs_require__(9),i=__w_pdfjs_require__(12),s=__w_pdfjs_require__(20),l=__w_pdfjs_require__(21),c=__w_pdfjs_require__(22);{const{isNodeJS:e}=__w_pdfjs_require__(4);if(e){const e=__w_pdfjs_require__(23).PDFNodeStream;(0,n.setPDFNetworkStreamFactory)((t=>new e(t)))}else{const e=__w_pdfjs_require__(26).PDFNetworkStream;let r;(0,t.isFetchSupported)()&&(r=__w_pdfjs_require__(27).PDFFetchStream),(0,n.setPDFNetworkStreamFactory)((n=>r&&(0,t.isValidFetchUrl)(n.url)?new r(n):new e(n)))}}})(),__webpack_exports__})()},module.exports=factory()},1927:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=i(n(8771)),a=i(n(6955));function i(e){return e&&e.__esModule?e:{default:e}}t.default=o.default.createClass({displayName:"Circle",mixins:[a.default],render:function(){var e=this,t=this.props,n=t.prefixCls,a=t.strokeWidth,i=t.trailWidth,s=t.strokeColor,l=t.trailColor,c=t.strokeLinecap,u=t.percent,p=t.style,d=t.className,f=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["prefixCls","strokeWidth","trailWidth","strokeColor","trailColor","strokeLinecap","percent","style","className"]),h=50-a/2,g="M 50,50 m 0,-"+h+"\n a "+h+","+h+" 0 1 1 0,"+2*h+"\n a "+h+","+h+" 0 1 1 0,-"+2*h,b=2*Math.PI*h,m={strokeDasharray:b+"px "+b+"px",strokeDashoffset:(100-u)/100*b+"px",transition:"stroke-dashoffset 0.3s ease 0s, stroke 0.3s ease"};return o.default.createElement("svg",r({className:n+"-circle "+d,viewBox:"0 0 100 100",style:p},f),o.default.createElement("path",{className:n+"-circle-trail",d:g,stroke:l,strokeWidth:i||a,fillOpacity:"0"}),o.default.createElement("path",{className:n+"-circle-path",d:g,strokeLinecap:c,stroke:s,strokeWidth:a,fillOpacity:"0",ref:function(t){e.path=t},style:m}))}}),e.exports=t.default},8348:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=i(n(8771)),a=i(n(6955));function i(e){return e&&e.__esModule?e:{default:e}}t.default=o.default.createClass({displayName:"Line",mixins:[a.default],render:function(){var e=this,t=this.props,n=t.prefixCls,a=t.strokeWidth,i=t.trailWidth,s=t.strokeColor,l=t.trailColor,c=t.strokeLinecap,u=t.percent,p=t.style,d=t.className,f=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["prefixCls","strokeWidth","trailWidth","strokeColor","trailColor","strokeLinecap","percent","style","className"]),h={strokeDasharray:"100px, 100px",strokeDashoffset:100-u+"px",transition:"stroke-dashoffset 0.3s ease 0s, stroke 0.3s linear"},g=a/2,b="M "+g+","+g+" L "+(100-a/2)+","+g,m="0 0 100 "+a;return o.default.createElement("svg",r({className:n+"-line "+d,viewBox:m,preserveAspectRatio:"none",style:p},f),o.default.createElement("path",{className:n+"-line-trail",d:b,strokeLinecap:c,stroke:l,strokeWidth:i||a,fillOpacity:"0"}),o.default.createElement("path",{className:n+"-line-path",d:b,strokeLinecap:c,stroke:s,strokeWidth:a,fillOpacity:"0",ref:function(t){e.path=t},style:h}))}}),e.exports=t.default},4869:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(8348)),o=a(n(1927));function a(e){return e&&e.__esModule?e:{default:e}}t.default={Line:r.default,Circle:o.default},e.exports=t.default},6955:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(8771);t.default={propTypes:{prefixCls:r.PropTypes.string,strokeWidth:r.PropTypes.oneOfType([r.PropTypes.number,r.PropTypes.string]),strokeColor:r.PropTypes.string,trailWidth:r.PropTypes.oneOfType([r.PropTypes.number,r.PropTypes.string]),trailColor:r.PropTypes.string,strokeLinecap:r.PropTypes.oneOf(["round","square"]),style:r.PropTypes.object,className:r.PropTypes.string},getDefaultProps:function(){return{prefixCls:"rc-progress",strokeWidth:1,strokeColor:"#2db7f5",trailWidth:1,trailColor:"#D9D9D9",strokeLinecap:"round",className:""}},componentDidUpdate:function(){var e=Date.now();this.path.style.transitionDuration="0.3s, 0.3s",this.prevTimeStamp&&e-this.prevTimeStamp<100&&(this.path.style.transitionDuration="0s, 0s"),this.prevTimeStamp=Date.now()}},e.exports=t.default},2628:(e,t,n)=>{"use strict";t.__esModule=!0;var r=f(n(4898)),o=f(n(241)),a=f(n(749)),i=f(n(9343)),s=f(n(7306)),l=f(n(6653)),c=f(n(42)),u=f(n(8771)),p=n(3666),d=n(3565);function f(e){return e&&e.__esModule?e:{default:e}}var h={onDismiss:u.default.PropTypes.func,closeLabel:u.default.PropTypes.string},g=function(e){function t(){return(0,i.default)(this,t),(0,s.default)(this,e.apply(this,arguments))}return(0,l.default)(t,e),t.prototype.renderDismissButton=function(e){return u.default.createElement("button",{type:"button",className:"close",onClick:e,"aria-hidden":"true",tabIndex:"-1"},u.default.createElement("span",null,"×"))},t.prototype.renderSrOnlyDismissButton=function(e,t){return u.default.createElement("button",{type:"button",className:"close sr-only",onClick:e},t)},t.prototype.render=function(){var e,t=this.props,n=t.onDismiss,r=t.closeLabel,i=t.className,s=t.children,l=(0,a.default)(t,["onDismiss","closeLabel","className","children"]),d=(0,p.splitBsProps)(l),f=d[0],h=d[1],g=!!n,b=(0,o.default)({},(0,p.getClassSet)(f),((e={})[(0,p.prefix)(f,"dismissable")]=g,e));return u.default.createElement("div",(0,o.default)({},h,{role:"alert",className:(0,c.default)(i,b)}),g&&this.renderDismissButton(n),s,g&&this.renderSrOnlyDismissButton(n,r))},t}(u.default.Component);g.propTypes=h,g.defaultProps={closeLabel:"Close alert"},t.default=(0,p.bsStyles)((0,r.default)(d.State),d.State.INFO,(0,p.bsClass)("alert",g)),e.exports=t.default},2773:(e,t,n)=>{"use strict";t.__esModule=!0;var r=g(n(4898)),o=g(n(749)),a=g(n(241)),i=g(n(9343)),s=g(n(7306)),l=g(n(6653)),c=g(n(42)),u=g(n(8771)),p=g(n(8492)),d=n(3666),f=n(3565),h=g(n(2323));function g(e){return e&&e.__esModule?e:{default:e}}var b={active:u.default.PropTypes.bool,disabled:u.default.PropTypes.bool,block:u.default.PropTypes.bool,onClick:u.default.PropTypes.func,componentClass:p.default,href:u.default.PropTypes.string,type:u.default.PropTypes.oneOf(["button","reset","submit"])},m=function(e){function t(){return(0,i.default)(this,t),(0,s.default)(this,e.apply(this,arguments))}return(0,l.default)(t,e),t.prototype.renderAnchor=function(e,t){return u.default.createElement(h.default,(0,a.default)({},e,{className:(0,c.default)(t,e.disabled&&"disabled")}))},t.prototype.renderButton=function(e,t){var n=e.componentClass,r=(0,o.default)(e,["componentClass"]),i=n||"button";return u.default.createElement(i,(0,a.default)({},r,{type:r.type||"button",className:t}))},t.prototype.render=function(){var e,t=this.props,n=t.active,r=t.block,i=t.className,s=(0,o.default)(t,["active","block","className"]),l=(0,d.splitBsProps)(s),u=l[0],p=l[1],f=(0,a.default)({},(0,d.getClassSet)(u),((e={active:n})[(0,d.prefix)(u,"block")]=r,e)),h=(0,c.default)(i,f);return p.href?this.renderAnchor(p,h):this.renderButton(p,h)},t}(u.default.Component);m.propTypes=b,m.defaultProps={active:!1,block:!1,disabled:!1},t.default=(0,d.bsClass)("btn",(0,d.bsSizes)([f.Size.LARGE,f.Size.SMALL,f.Size.XSMALL],(0,d.bsStyles)([].concat((0,r.default)(f.State),[f.Style.DEFAULT,f.Style.PRIMARY,f.Style.LINK]),f.Style.DEFAULT,m))),e.exports=t.default},8705:(e,t,n)=>{"use strict";t.__esModule=!0;var r=f(n(241)),o=f(n(749)),a=f(n(9343)),i=f(n(7306)),s=f(n(6653)),l=f(n(42)),c=f(n(8771)),u=f(n(9130)),p=f(n(2773)),d=n(3666);function f(e){return e&&e.__esModule?e:{default:e}}var h={vertical:c.default.PropTypes.bool,justified:c.default.PropTypes.bool,block:(0,u.default)(c.default.PropTypes.bool,(function(e){var t=e.block,n=e.vertical;return t&&!n?new Error("`block` requires `vertical` to be set to have any effect"):null}))},g=function(e){function t(){return(0,a.default)(this,t),(0,i.default)(this,e.apply(this,arguments))}return(0,s.default)(t,e),t.prototype.render=function(){var e,t=this.props,n=t.block,a=t.justified,i=t.vertical,s=t.className,u=(0,o.default)(t,["block","justified","vertical","className"]),f=(0,d.splitBsProps)(u),h=f[0],g=f[1],b=(0,r.default)({},(0,d.getClassSet)(h),((e={})[(0,d.prefix)(h)]=!i,e[(0,d.prefix)(h,"vertical")]=i,e[(0,d.prefix)(h,"justified")]=a,e[(0,d.prefix)(p.default.defaultProps,"block")]=n,e));return c.default.createElement("div",(0,r.default)({},g,{className:(0,l.default)(s,b)}))},t}(c.default.Component);g.propTypes=h,g.defaultProps={block:!1,justified:!1,vertical:!1},t.default=(0,d.bsClass)("btn-group",g),e.exports=t.default},682:(e,t,n)=>{"use strict";t.__esModule=!0;var r=d(n(241)),o=d(n(749)),a=d(n(9343)),i=d(n(7306)),s=d(n(6653)),l=d(n(42)),c=d(n(8771)),u=d(n(2773)),p=n(3666);function d(e){return e&&e.__esModule?e:{default:e}}var f=function(e){function t(){return(0,a.default)(this,t),(0,i.default)(this,e.apply(this,arguments))}return(0,s.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=(0,o.default)(e,["className"]),a=(0,p.splitBsProps)(n),i=a[0],s=a[1],u=(0,p.getClassSet)(i);return c.default.createElement("div",(0,r.default)({},s,{role:"toolbar",className:(0,l.default)(t,u)}))},t}(c.default.Component);t.default=(0,p.bsClass)("btn-toolbar",(0,p.bsSizes)(u.default.SIZES,f)),e.exports=t.default},9029:(e,t,n)=>{"use strict";t.__esModule=!0;var r=p(n(241)),o=p(n(749)),a=p(n(9343)),i=p(n(7306)),s=p(n(6653)),l=p(n(42)),c=p(n(8771)),u=(p(n(1810)),n(3666));function p(e){return e&&e.__esModule?e:{default:e}}var d={inline:c.default.PropTypes.bool,disabled:c.default.PropTypes.bool,validationState:c.default.PropTypes.oneOf(["success","warning","error",null]),inputRef:c.default.PropTypes.func},f=function(e){function t(){return(0,a.default)(this,t),(0,i.default)(this,e.apply(this,arguments))}return(0,s.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.inline,n=e.disabled,a=e.validationState,i=e.inputRef,s=e.className,p=e.style,d=e.children,f=(0,o.default)(e,["inline","disabled","validationState","inputRef","className","style","children"]),h=(0,u.splitBsProps)(f),g=h[0],b=h[1],m=c.default.createElement("input",(0,r.default)({},b,{ref:i,type:"checkbox",disabled:n}));if(t){var v,y=((v={})[(0,u.prefix)(g,"inline")]=!0,v.disabled=n,v);return c.default.createElement("label",{className:(0,l.default)(s,y),style:p},m,d)}var _=(0,r.default)({},(0,u.getClassSet)(g),{disabled:n});return a&&(_["has-"+a]=!0),c.default.createElement("div",{className:(0,l.default)(s,_),style:p},c.default.createElement("label",null,m,d))},t}(c.default.Component);f.propTypes=d,f.defaultProps={inline:!1,disabled:!1},t.default=(0,u.bsClass)("checkbox",f),e.exports=t.default},8024:(e,t,n)=>{"use strict";t.__esModule=!0;var r=h(n(241)),o=h(n(749)),a=h(n(9343)),i=h(n(7306)),s=h(n(6653)),l=h(n(42)),c=h(n(7164)),u=h(n(8771)),p=h(n(4228)),d=h(n(4495)),f=h(n(6270));function h(e){return e&&e.__esModule?e:{default:e}}var g={height:["marginTop","marginBottom"],width:["marginLeft","marginRight"]},b={in:u.default.PropTypes.bool,unmountOnExit:u.default.PropTypes.bool,transitionAppear:u.default.PropTypes.bool,timeout:u.default.PropTypes.number,onEnter:u.default.PropTypes.func,onEntering:u.default.PropTypes.func,onEntered:u.default.PropTypes.func,onExit:u.default.PropTypes.func,onExiting:u.default.PropTypes.func,onExited:u.default.PropTypes.func,dimension:u.default.PropTypes.oneOfType([u.default.PropTypes.oneOf(["height","width"]),u.default.PropTypes.func]),getDimensionValue:u.default.PropTypes.func,role:u.default.PropTypes.string},m={in:!1,timeout:300,unmountOnExit:!1,transitionAppear:!1,dimension:"height",getDimensionValue:function(e,t){var n=t["offset"+(0,d.default)(e)],r=g[e];return n+parseInt((0,c.default)(t,r[0]),10)+parseInt((0,c.default)(t,r[1]),10)}},v=function(e){function t(n,r){(0,a.default)(this,t);var o=(0,i.default)(this,e.call(this,n,r));return o.handleEnter=o.handleEnter.bind(o),o.handleEntering=o.handleEntering.bind(o),o.handleEntered=o.handleEntered.bind(o),o.handleExit=o.handleExit.bind(o),o.handleExiting=o.handleExiting.bind(o),o}return(0,s.default)(t,e),t.prototype.handleEnter=function(e){var t=this._dimension();e.style[t]="0"},t.prototype.handleEntering=function(e){var t=this._dimension();e.style[t]=this._getScrollDimensionValue(e,t)},t.prototype.handleEntered=function(e){var t=this._dimension();e.style[t]=null},t.prototype.handleExit=function(e){var t=this._dimension();e.style[t]=this.props.getDimensionValue(t,e)+"px",e.offsetHeight},t.prototype.handleExiting=function(e){var t=this._dimension();e.style[t]="0"},t.prototype._dimension=function(){return"function"==typeof this.props.dimension?this.props.dimension():this.props.dimension},t.prototype._getScrollDimensionValue=function(e,t){return e["scroll"+(0,d.default)(t)]+"px"},t.prototype.render=function(){var e=this.props,t=e.onEnter,n=e.onEntering,a=e.onEntered,i=e.onExit,s=e.onExiting,c=e.className,d=(0,o.default)(e,["onEnter","onEntering","onEntered","onExit","onExiting","className"]);delete d.dimension,delete d.getDimensionValue;var h=(0,f.default)(this.handleEnter,t),g=(0,f.default)(this.handleEntering,n),b=(0,f.default)(this.handleEntered,a),m=(0,f.default)(this.handleExit,i),v=(0,f.default)(this.handleExiting,s),y={width:"width"===this._dimension()};return u.default.createElement(p.default,(0,r.default)({},d,{"aria-expanded":d.role?d.in:null,className:(0,l.default)(c,y),exitedClassName:"collapse",exitingClassName:"collapsing",enteredClassName:"collapse in",enteringClassName:"collapsing",onEnter:h,onEntering:g,onEntered:b,onExit:m,onExiting:v}))},t}(u.default.Component);v.propTypes=b,v.defaultProps=m,t.default=v,e.exports=t.default},6055:(e,t,n)=>{"use strict";t.__esModule=!0;var r=A(n(749)),o=A(n(241)),a=A(n(9343)),i=A(n(7306)),s=A(n(6653)),l=A(n(42)),c=A(n(9709)),u=A(n(4702)),p=A(n(9e3)),d=n(8771),f=A(d),h=A(n(1542)),g=A(n(9130)),b=A(n(8492)),m=A(n(5246)),v=A(n(8321)),y=(A(n(1810)),A(n(8705))),_=A(n(1220)),x=A(n(684)),w=n(3666),k=A(n(6270)),E=n(8634),C=A(n(3433));function A(e){return e&&e.__esModule?e:{default:e}}var P=x.default.defaultProps.bsRole,T=_.default.defaultProps.bsRole,S={dropup:f.default.PropTypes.bool,id:(0,m.default)(f.default.PropTypes.oneOfType([f.default.PropTypes.string,f.default.PropTypes.number])),componentClass:b.default,children:(0,g.default)((0,E.requiredRoles)(P,T),(0,E.exclusiveRoles)(T)),disabled:f.default.PropTypes.bool,pullRight:f.default.PropTypes.bool,open:f.default.PropTypes.bool,onClose:f.default.PropTypes.func,onToggle:f.default.PropTypes.func,onSelect:f.default.PropTypes.func,role:f.default.PropTypes.string,rootCloseEvent:f.default.PropTypes.oneOf(["click","mousedown"]),onMouseEnter:f.default.PropTypes.func,onMouseLeave:f.default.PropTypes.func},O={componentClass:y.default},M=function(e){function t(n,r){(0,a.default)(this,t);var o=(0,i.default)(this,e.call(this,n,r));return o.handleClick=o.handleClick.bind(o),o.handleKeyDown=o.handleKeyDown.bind(o),o.handleClose=o.handleClose.bind(o),o._focusInDropdown=!1,o.lastOpenEventType=null,o}return(0,s.default)(t,e),t.prototype.componentDidMount=function(){this.focusNextOnOpen()},t.prototype.componentWillUpdate=function(e){!e.open&&this.props.open&&(this._focusInDropdown=(0,u.default)(h.default.findDOMNode(this.menu),(0,c.default)(document)))},t.prototype.componentDidUpdate=function(e){var t=this.props.open,n=e.open;t&&!n&&this.focusNextOnOpen(),!t&&n&&this._focusInDropdown&&(this._focusInDropdown=!1,this.focus())},t.prototype.handleClick=function(){this.props.disabled||this.toggleOpen("click")},t.prototype.handleKeyDown=function(e){if(!this.props.disabled)switch(e.keyCode){case p.default.codes.down:this.props.open?this.menu.focusNext&&this.menu.focusNext():this.toggleOpen("keydown"),e.preventDefault();break;case p.default.codes.esc:case p.default.codes.tab:this.handleClose(e)}},t.prototype.toggleOpen=function(e){var t=!this.props.open;t&&(this.lastOpenEventType=e),this.props.onToggle&&this.props.onToggle(t)},t.prototype.handleClose=function(){this.props.open&&this.toggleOpen(null)},t.prototype.focusNextOnOpen=function(){var e=this.menu;e.focusNext&&("keydown"!==this.lastOpenEventType&&"menuitem"!==this.props.role||e.focusNext())},t.prototype.focus=function(){var e=h.default.findDOMNode(this.toggle);e&&e.focus&&e.focus()},t.prototype.renderToggle=function(e,t){var n=this,r=function(e){n.toggle=e};return"string"==typeof e.ref||(r=(0,k.default)(e.ref,r)),(0,d.cloneElement)(e,(0,o.default)({},t,{ref:r,bsClass:(0,w.prefix)(t,"toggle"),onClick:(0,k.default)(e.props.onClick,this.handleClick),onKeyDown:(0,k.default)(e.props.onKeyDown,this.handleKeyDown)}))},t.prototype.renderMenu=function(e,t){var n=this,a=t.id,i=t.onClose,s=t.onSelect,l=t.rootCloseEvent,c=(0,r.default)(t,["id","onClose","onSelect","rootCloseEvent"]),u=function(e){n.menu=e};return"string"==typeof e.ref||(u=(0,k.default)(e.ref,u)),(0,d.cloneElement)(e,(0,o.default)({},c,{ref:u,labelledBy:a,bsClass:(0,w.prefix)(c,"menu"),onClose:(0,k.default)(e.props.onClose,i,this.handleClose),onSelect:(0,k.default)(e.props.onSelect,s,this.handleClose),rootCloseEvent:l}))},t.prototype.render=function(){var e,t=this,n=this.props,a=n.componentClass,i=n.id,s=n.dropup,c=n.disabled,u=n.pullRight,p=n.open,d=n.onClose,h=n.onSelect,g=n.role,b=n.bsClass,m=n.className,v=n.rootCloseEvent,y=n.children,_=(0,r.default)(n,["componentClass","id","dropup","disabled","pullRight","open","onClose","onSelect","role","bsClass","className","rootCloseEvent","children"]);delete _.onToggle;var x=((e={})[b]=!0,e.open=p,e.disabled=c,e);return s&&(x[b]=!1,x.dropup=!0),f.default.createElement(a,(0,o.default)({},_,{className:(0,l.default)(m,x)}),C.default.map(y,(function(e){switch(e.props.bsRole){case P:return t.renderToggle(e,{id:i,disabled:c,open:p,role:g,bsClass:b});case T:return t.renderMenu(e,{id:i,open:p,pullRight:u,bsClass:b,onClose:d,onSelect:h,rootCloseEvent:v});default:return e}})))},t}(f.default.Component);M.propTypes=S,M.defaultProps=O,(0,w.bsClass)("dropdown",M);var R=(0,v.default)(M,{open:"onToggle"});R.Toggle=x.default,R.Menu=_.default,t.default=R,e.exports=t.default},1187:(e,t,n)=>{"use strict";t.__esModule=!0;var r=p(n(749)),o=p(n(9343)),a=p(n(7306)),i=p(n(6653)),s=p(n(241)),l=p(n(8771)),c=p(n(6055)),u=p(n(4781));function p(e){return e&&e.__esModule?e:{default:e}}var d=(0,s.default)({},c.default.propTypes,{bsStyle:l.default.PropTypes.string,bsSize:l.default.PropTypes.string,title:l.default.PropTypes.node.isRequired,noCaret:l.default.PropTypes.bool,children:l.default.PropTypes.node}),f=function(e){function t(){return(0,o.default)(this,t),(0,a.default)(this,e.apply(this,arguments))}return(0,i.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.bsSize,n=e.bsStyle,o=e.title,a=e.children,i=(0,r.default)(e,["bsSize","bsStyle","title","children"]),p=(0,u.default)(i,c.default.ControlledComponent),d=p[0],f=p[1];return l.default.createElement(c.default,(0,s.default)({},d,{bsSize:t,bsStyle:n}),l.default.createElement(c.default.Toggle,(0,s.default)({},f,{bsSize:t,bsStyle:n}),o),l.default.createElement(c.default.Menu,null,a))},t}(l.default.Component);f.propTypes=d,t.default=f,e.exports=t.default},1220:(e,t,n)=>{"use strict";t.__esModule=!0;var r=m(n(241)),o=m(n(749)),a=m(n(9474)),i=m(n(9343)),s=m(n(7306)),l=m(n(6653)),c=m(n(42)),u=m(n(9e3)),p=m(n(8771)),d=m(n(1542)),f=m(n(7576)),h=n(3666),g=m(n(6270)),b=m(n(3433));function m(e){return e&&e.__esModule?e:{default:e}}var v={open:p.default.PropTypes.bool,pullRight:p.default.PropTypes.bool,onClose:p.default.PropTypes.func,labelledBy:p.default.PropTypes.oneOfType([p.default.PropTypes.string,p.default.PropTypes.number]),onSelect:p.default.PropTypes.func,rootCloseEvent:p.default.PropTypes.oneOf(["click","mousedown"])},y=function(e){function t(n){(0,i.default)(this,t);var r=(0,s.default)(this,e.call(this,n));return r.handleKeyDown=r.handleKeyDown.bind(r),r}return(0,l.default)(t,e),t.prototype.handleKeyDown=function(e){switch(e.keyCode){case u.default.codes.down:this.focusNext(),e.preventDefault();break;case u.default.codes.up:this.focusPrevious(),e.preventDefault();break;case u.default.codes.esc:case u.default.codes.tab:this.props.onClose(e)}},t.prototype.getItemsAndActiveIndex=function(){var e=this.getFocusableMenuItems(),t=e.indexOf(document.activeElement);return{items:e,activeIndex:t}},t.prototype.getFocusableMenuItems=function(){var e=d.default.findDOMNode(this);return e?(0,a.default)(e.querySelectorAll('[tabIndex="-1"]')):[]},t.prototype.focusNext=function(){var e=this.getItemsAndActiveIndex(),t=e.items,n=e.activeIndex;0!==t.length&&t[n===t.length-1?0:n+1].focus()},t.prototype.focusPrevious=function(){var e=this.getItemsAndActiveIndex(),t=e.items,n=e.activeIndex;0!==t.length&&t[0===n?t.length-1:n-1].focus()},t.prototype.render=function(){var e,t=this,n=this.props,a=n.open,i=n.pullRight,s=n.onClose,l=n.labelledBy,u=n.onSelect,d=n.className,m=n.rootCloseEvent,v=n.children,y=(0,o.default)(n,["open","pullRight","onClose","labelledBy","onSelect","className","rootCloseEvent","children"]),_=(0,h.splitBsProps)(y),x=_[0],w=_[1],k=(0,r.default)({},(0,h.getClassSet)(x),((e={})[(0,h.prefix)(x,"right")]=i,e));return p.default.createElement(f.default,{disabled:!a,onRootClose:s,event:m},p.default.createElement("ul",(0,r.default)({},w,{role:"menu",className:(0,c.default)(d,k),"aria-labelledby":l}),b.default.map(v,(function(e){return p.default.cloneElement(e,{onKeyDown:(0,g.default)(e.props.onKeyDown,t.handleKeyDown),onSelect:(0,g.default)(e.props.onSelect,u)})}))))},t}(p.default.Component);y.propTypes=v,y.defaultProps={bsRole:"menu",pullRight:!1},t.default=(0,h.bsClass)("dropdown-menu",y),e.exports=t.default},684:(e,t,n)=>{"use strict";t.__esModule=!0;var r=f(n(241)),o=f(n(749)),a=f(n(9343)),i=f(n(7306)),s=f(n(6653)),l=f(n(8771)),c=f(n(42)),u=f(n(2773)),p=f(n(2323)),d=n(3666);function f(e){return e&&e.__esModule?e:{default:e}}var h={noCaret:l.default.PropTypes.bool,open:l.default.PropTypes.bool,title:l.default.PropTypes.string,useAnchor:l.default.PropTypes.bool},g=function(e){function t(){return(0,a.default)(this,t),(0,i.default)(this,e.apply(this,arguments))}return(0,s.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.noCaret,n=e.open,a=e.useAnchor,i=e.bsClass,s=e.className,d=e.children,f=(0,o.default)(e,["noCaret","open","useAnchor","bsClass","className","children"]);delete f.bsRole;var h=a?p.default:u.default,g=!t;return l.default.createElement(h,(0,r.default)({},f,{role:"button",className:(0,c.default)(s,i),"aria-haspopup":!0,"aria-expanded":n}),d||f.title,g&&" ",g&&l.default.createElement("span",{className:"caret"}))},t}(l.default.Component);g.propTypes=h,g.defaultProps={open:!1,useAnchor:!1,bsRole:"toggle"},t.default=(0,d.bsClass)("dropdown-toggle",g),e.exports=t.default},8137:(e,t,n)=>{"use strict";t.__esModule=!0;var r=u(n(241)),o=u(n(9343)),a=u(n(7306)),i=u(n(6653)),s=u(n(42)),l=u(n(8771)),c=u(n(4228));function u(e){return e&&e.__esModule?e:{default:e}}var p={in:l.default.PropTypes.bool,unmountOnExit:l.default.PropTypes.bool,transitionAppear:l.default.PropTypes.bool,timeout:l.default.PropTypes.number,onEnter:l.default.PropTypes.func,onEntering:l.default.PropTypes.func,onEntered:l.default.PropTypes.func,onExit:l.default.PropTypes.func,onExiting:l.default.PropTypes.func,onExited:l.default.PropTypes.func},d=function(e){function t(){return(0,o.default)(this,t),(0,a.default)(this,e.apply(this,arguments))}return(0,i.default)(t,e),t.prototype.render=function(){return l.default.createElement(c.default,(0,r.default)({},this.props,{className:(0,s.default)(this.props.className,"fade"),enteredClassName:"in",enteringClassName:"in"}))},t}(l.default.Component);d.propTypes=p,d.defaultProps={in:!1,timeout:300,unmountOnExit:!1,transitionAppear:!1},t.default=d,e.exports=t.default},3958:(e,t,n)=>{"use strict";t.__esModule=!0;var r=d(n(241)),o=d(n(749)),a=d(n(9343)),i=d(n(7306)),s=d(n(6653)),l=d(n(42)),c=d(n(8771)),u=d(n(8492)),p=n(3666);function d(e){return e&&e.__esModule?e:{default:e}}var f={fluid:c.default.PropTypes.bool,componentClass:u.default},h=function(e){function t(){return(0,a.default)(this,t),(0,i.default)(this,e.apply(this,arguments))}return(0,s.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.fluid,n=e.componentClass,a=e.className,i=(0,o.default)(e,["fluid","componentClass","className"]),s=(0,p.splitBsProps)(i),u=s[0],d=s[1],f=(0,p.prefix)(u,t&&"fluid");return c.default.createElement(n,(0,r.default)({},d,{className:(0,l.default)(a,f)}))},t}(c.default.Component);h.propTypes=f,h.defaultProps={componentClass:"div",fluid:!1},t.default=(0,p.bsClass)("container",h),e.exports=t.default},3250:(e,t,n)=>{"use strict";t.__esModule=!0;var r=f(n(4898)),o=f(n(241)),a=f(n(749)),i=f(n(9343)),s=f(n(7306)),l=f(n(6653)),c=f(n(42)),u=f(n(8771)),p=n(3666),d=n(3565);function f(e){return e&&e.__esModule?e:{default:e}}var h=function(e){function t(){return(0,i.default)(this,t),(0,s.default)(this,e.apply(this,arguments))}return(0,l.default)(t,e),t.prototype.hasContent=function(e){var t=!1;return u.default.Children.forEach(e,(function(e){t||(e||0===e)&&(t=!0)})),t},t.prototype.render=function(){var e=this.props,t=e.className,n=e.children,r=(0,a.default)(e,["className","children"]),i=(0,p.splitBsProps)(r),s=i[0],l=i[1],d=(0,o.default)({},(0,p.getClassSet)(s),{hidden:!this.hasContent(n)});return u.default.createElement("span",(0,o.default)({},l,{className:(0,c.default)(t,d)}),n)},t}(u.default.Component);t.default=(0,p.bsClass)("label",(0,p.bsStyles)([].concat((0,r.default)(d.State),[d.Style.DEFAULT,d.Style.PRIMARY]),d.Style.DEFAULT,h)),e.exports=t.default},2881:(e,t,n)=>{"use strict";t.__esModule=!0;var r=h(n(241)),o=h(n(749)),a=h(n(9343)),i=h(n(7306)),s=h(n(6653)),l=h(n(42)),c=h(n(8771)),u=h(n(9130)),p=h(n(2323)),d=n(3666),f=h(n(6270));function h(e){return e&&e.__esModule?e:{default:e}}var g={active:c.default.PropTypes.bool,disabled:c.default.PropTypes.bool,divider:(0,u.default)(c.default.PropTypes.bool,(function(e){var t=e.divider,n=e.children;return t&&n?new Error("Children will not be rendered for dividers"):null})),eventKey:c.default.PropTypes.any,header:c.default.PropTypes.bool,href:c.default.PropTypes.string,onClick:c.default.PropTypes.func,onSelect:c.default.PropTypes.func},b=function(e){function t(n,r){(0,a.default)(this,t);var o=(0,i.default)(this,e.call(this,n,r));return o.handleClick=o.handleClick.bind(o),o}return(0,s.default)(t,e),t.prototype.handleClick=function(e){var t=this.props,n=t.href,r=t.disabled,o=t.onSelect,a=t.eventKey;n&&!r||e.preventDefault(),r||o&&o(a,e)},t.prototype.render=function(){var e=this.props,t=e.active,n=e.disabled,a=e.divider,i=e.header,s=e.onClick,u=e.className,h=e.style,g=(0,o.default)(e,["active","disabled","divider","header","onClick","className","style"]),b=(0,d.splitBsPropsAndOmit)(g,["eventKey","onSelect"]),m=b[0],v=b[1];return a?(v.children=void 0,c.default.createElement("li",(0,r.default)({},v,{role:"separator",className:(0,l.default)(u,"divider"),style:h}))):i?c.default.createElement("li",(0,r.default)({},v,{role:"heading",className:(0,l.default)(u,(0,d.prefix)(m,"header")),style:h})):c.default.createElement("li",{role:"presentation",className:(0,l.default)(u,{active:t,disabled:n}),style:h},c.default.createElement(p.default,(0,r.default)({},v,{role:"menuitem",tabIndex:"-1",onClick:(0,f.default)(s,this.handleClick)})))},t}(c.default.Component);b.propTypes=g,b.defaultProps={divider:!1,disabled:!1,header:!1},t.default=(0,d.bsClass)("dropdown",b),e.exports=t.default},1507:(e,t,n)=>{"use strict";t.__esModule=!0;var r=m(n(241)),o=m(n(749)),a=m(n(9343)),i=m(n(7306)),s=m(n(6653)),l=m(n(42)),c=m(n(9e3)),u=n(8771),p=m(u),d=m(n(1542)),f=m(n(9130)),h=(m(n(1810)),n(3666)),g=m(n(6270)),b=m(n(3433));function m(e){return e&&e.__esModule?e:{default:e}}var v={activeKey:p.default.PropTypes.any,activeHref:p.default.PropTypes.string,stacked:p.default.PropTypes.bool,justified:(0,f.default)(p.default.PropTypes.bool,(function(e){var t=e.justified,n=e.navbar;return t&&n?Error("justified navbar `Nav`s are not supported"):null})),onSelect:p.default.PropTypes.func,role:p.default.PropTypes.string,navbar:p.default.PropTypes.bool,pullRight:p.default.PropTypes.bool,pullLeft:p.default.PropTypes.bool},y={$bs_navbar:p.default.PropTypes.shape({bsClass:p.default.PropTypes.string,onSelect:p.default.PropTypes.func}),$bs_tabContainer:p.default.PropTypes.shape({activeKey:p.default.PropTypes.any,onSelect:p.default.PropTypes.func.isRequired,getTabId:p.default.PropTypes.func.isRequired,getPaneId:p.default.PropTypes.func.isRequired})},_=function(e){function t(){return(0,a.default)(this,t),(0,i.default)(this,e.apply(this,arguments))}return(0,s.default)(t,e),t.prototype.componentDidUpdate=function(){var e=this;if(this._needsRefocus){this._needsRefocus=!1;var t=this.props.children,n=this.getActiveProps(),r=n.activeKey,o=n.activeHref,a=b.default.find(t,(function(t){return e.isActive(t,r,o)})),i=b.default.toArray(t).indexOf(a),s=d.default.findDOMNode(this).children,l=s&&s[i];l&&l.firstChild&&l.firstChild.focus()}},t.prototype.handleTabKeyDown=function(e,t){var n=void 0;switch(t.keyCode){case c.default.codes.left:case c.default.codes.up:n=this.getNextActiveChild(-1);break;case c.default.codes.right:case c.default.codes.down:n=this.getNextActiveChild(1);break;default:return}t.preventDefault(),e&&n&&n.props.eventKey&&e(n.props.eventKey),this._needsRefocus=!0},t.prototype.getNextActiveChild=function(e){var t=this,n=this.props.children,r=n.filter((function(e){return e.props.eventKey&&!e.props.disabled})),o=this.getActiveProps(),a=o.activeKey,i=o.activeHref,s=b.default.find(n,(function(e){return t.isActive(e,a,i)})),l=r.indexOf(s);if(-1===l)return r[0];var c=l+e,u=r.length;return c>=u?c=0:c<0&&(c=u-1),r[c]},t.prototype.getActiveProps=function(){return this.context.$bs_tabContainer||this.props},t.prototype.isActive=function(e,t,n){var r=e.props;return!!(r.active||null!=t&&r.eventKey===t||n&&r.href===n)||r.active},t.prototype.getTabProps=function(e,t,n,r,o){var a=this;if(!t&&"tablist"!==n)return null;var i=e.props,s=i.id,l=i["aria-controls"],c=i.eventKey,u=i.role,p=i.onKeyDown,d=i.tabIndex;return t&&(s=t.getTabId(c),l=t.getPaneId(c)),"tablist"===n&&(u=u||"tab",p=(0,g.default)((function(e){return a.handleTabKeyDown(o,e)}),p),d=r?d:-1),{id:s,role:u,onKeyDown:p,"aria-controls":l,tabIndex:d}},t.prototype.render=function(){var e,t=this,n=this.props,a=n.stacked,i=n.justified,s=n.onSelect,c=n.role,d=n.navbar,f=n.pullRight,m=n.pullLeft,v=n.className,y=n.children,_=(0,o.default)(n,["stacked","justified","onSelect","role","navbar","pullRight","pullLeft","className","children"]),x=this.context.$bs_tabContainer,w=c||(x?"tablist":null),k=this.getActiveProps(),E=k.activeKey,C=k.activeHref;delete _.activeKey,delete _.activeHref;var A=(0,h.splitBsProps)(_),P=A[0],T=A[1],S=(0,r.default)({},(0,h.getClassSet)(P),((e={})[(0,h.prefix)(P,"stacked")]=a,e[(0,h.prefix)(P,"justified")]=i,e)),O=null!=d?d:this.context.$bs_navbar,M=void 0,R=void 0;if(O){var N=this.context.$bs_navbar||{bsClass:"navbar"};S[(0,h.prefix)(N,"nav")]=!0,R=(0,h.prefix)(N,"right"),M=(0,h.prefix)(N,"left")}else R="pull-right",M="pull-left";return S[R]=f,S[M]=m,p.default.createElement("ul",(0,r.default)({},T,{role:w,className:(0,l.default)(v,S)}),b.default.map(y,(function(e){var n=t.isActive(e,E,C),o=(0,g.default)(e.props.onSelect,s,O&&O.onSelect,x&&x.onSelect);return(0,u.cloneElement)(e,(0,r.default)({},t.getTabProps(e,x,w,n,o),{active:n,activeKey:E,activeHref:C,onSelect:o}))})))},t}(p.default.Component);_.propTypes=v,_.defaultProps={justified:!1,pullRight:!1,pullLeft:!1,stacked:!1},_.contextTypes=y,t.default=(0,h.bsClass)("nav",(0,h.bsStyles)(["tabs","pills"],_)),e.exports=t.default},4406:(e,t,n)=>{"use strict";t.__esModule=!0;var r=d(n(241)),o=d(n(749)),a=d(n(9343)),i=d(n(7306)),s=d(n(6653)),l=d(n(42)),c=d(n(8771)),u=d(n(2323)),p=d(n(6270));function d(e){return e&&e.__esModule?e:{default:e}}var f={active:c.default.PropTypes.bool,disabled:c.default.PropTypes.bool,role:c.default.PropTypes.string,href:c.default.PropTypes.string,onClick:c.default.PropTypes.func,onSelect:c.default.PropTypes.func,eventKey:c.default.PropTypes.any},h=function(e){function t(n,r){(0,a.default)(this,t);var o=(0,i.default)(this,e.call(this,n,r));return o.handleClick=o.handleClick.bind(o),o}return(0,s.default)(t,e),t.prototype.handleClick=function(e){this.props.onSelect&&(e.preventDefault(),this.props.disabled||this.props.onSelect(this.props.eventKey,e))},t.prototype.render=function(){var e=this.props,t=e.active,n=e.disabled,a=e.onClick,i=e.className,s=e.style,d=(0,o.default)(e,["active","disabled","onClick","className","style"]);return delete d.onSelect,delete d.eventKey,delete d.activeKey,delete d.activeHref,d.role?"tab"===d.role&&(d["aria-selected"]=t):"#"===d.href&&(d.role="button"),c.default.createElement("li",{role:"presentation",className:(0,l.default)(i,{active:t,disabled:n}),style:s},c.default.createElement(u.default,(0,r.default)({},d,{disabled:n,onClick:(0,p.default)(a,this.handleClick)})))},t}(c.default.Component);h.propTypes=f,h.defaultProps={active:!1,disabled:!1},t.default=h,e.exports=t.default},2827:(e,t,n)=>{"use strict";t.__esModule=!0;var r=x(n(241)),o=x(n(749)),a=x(n(9343)),i=x(n(7306)),s=x(n(6653)),l=x(n(42)),c=n(8771),u=x(c),p=x(n(8492)),d=x(n(8321)),f=x(n(3958)),h=x(n(9173)),g=x(n(2019)),b=x(n(8598)),m=x(n(7851)),v=n(3666),y=n(3565),_=x(n(6270));function x(e){return e&&e.__esModule?e:{default:e}}var w={fixedTop:u.default.PropTypes.bool,fixedBottom:u.default.PropTypes.bool,staticTop:u.default.PropTypes.bool,inverse:u.default.PropTypes.bool,fluid:u.default.PropTypes.bool,componentClass:p.default,onToggle:u.default.PropTypes.func,onSelect:u.default.PropTypes.func,collapseOnSelect:u.default.PropTypes.bool,expanded:u.default.PropTypes.bool,role:u.default.PropTypes.string},k={$bs_navbar:c.PropTypes.shape({bsClass:c.PropTypes.string,expanded:c.PropTypes.bool,onToggle:c.PropTypes.func.isRequired,onSelect:c.PropTypes.func})},E=function(e){function t(n,r){(0,a.default)(this,t);var o=(0,i.default)(this,e.call(this,n,r));return o.handleToggle=o.handleToggle.bind(o),o.handleCollapse=o.handleCollapse.bind(o),o}return(0,s.default)(t,e),t.prototype.getChildContext=function(){var e=this.props,t=e.bsClass,n=e.expanded,r=e.onSelect,o=e.collapseOnSelect;return{$bs_navbar:{bsClass:t,expanded:n,onToggle:this.handleToggle,onSelect:(0,_.default)(r,o?this.handleCollapse:null)}}},t.prototype.handleCollapse=function(){var e=this.props,t=e.onToggle;e.expanded&&t(!1)},t.prototype.handleToggle=function(){var e=this.props;(0,e.onToggle)(!e.expanded)},t.prototype.render=function(){var e,t=this.props,n=t.componentClass,a=t.fixedTop,i=t.fixedBottom,s=t.staticTop,c=t.inverse,p=t.fluid,d=t.className,h=t.children,g=(0,o.default)(t,["componentClass","fixedTop","fixedBottom","staticTop","inverse","fluid","className","children"]),b=(0,v.splitBsPropsAndOmit)(g,["expanded","onToggle","onSelect","collapseOnSelect"]),m=b[0],_=b[1];void 0===_.role&&"nav"!==n&&(_.role="navigation"),c&&(m.bsStyle=y.Style.INVERSE);var x=(0,r.default)({},(0,v.getClassSet)(m),((e={})[(0,v.prefix)(m,"fixed-top")]=a,e[(0,v.prefix)(m,"fixed-bottom")]=i,e[(0,v.prefix)(m,"static-top")]=s,e));return u.default.createElement(n,(0,r.default)({},_,{className:(0,l.default)(d,x)}),u.default.createElement(f.default,{fluid:p},h))},t}(u.default.Component);E.propTypes=w,E.defaultProps={componentClass:"nav",fixedTop:!1,fixedBottom:!1,staticTop:!1,inverse:!1,fluid:!1,collapseOnSelect:!1},E.childContextTypes=k,(0,v.bsClass)("navbar",E);var C=(0,d.default)(E,{expanded:"onToggle"});function A(e,t,n){var a=function(e,n){var a=n.$bs_navbar,i=void 0===a?{bsClass:"navbar"}:a,s=e.componentClass,c=e.className,p=e.pullRight,d=e.pullLeft,f=(0,o.default)(e,["componentClass","className","pullRight","pullLeft"]);return u.default.createElement(s,(0,r.default)({},f,{className:(0,l.default)(c,(0,v.prefix)(i,t),p&&(0,v.prefix)(i,"right"),d&&(0,v.prefix)(i,"left"))}))};return a.displayName=n,a.propTypes={componentClass:p.default,pullRight:u.default.PropTypes.bool,pullLeft:u.default.PropTypes.bool},a.defaultProps={componentClass:e,pullRight:!1,pullLeft:!1},a.contextTypes={$bs_navbar:c.PropTypes.shape({bsClass:c.PropTypes.string})},a}C.Brand=h.default,C.Header=b.default,C.Toggle=m.default,C.Collapse=g.default,C.Form=A("div","form","NavbarForm"),C.Text=A("p","text","NavbarText"),C.Link=A("a","link","NavbarLink"),t.default=(0,v.bsStyles)([y.Style.DEFAULT,y.Style.INVERSE],y.Style.DEFAULT,C),e.exports=t.default},9173:(e,t,n)=>{"use strict";t.__esModule=!0;var r=p(n(241)),o=p(n(749)),a=p(n(9343)),i=p(n(7306)),s=p(n(6653)),l=p(n(42)),c=p(n(8771)),u=n(3666);function p(e){return e&&e.__esModule?e:{default:e}}var d={$bs_navbar:c.default.PropTypes.shape({bsClass:c.default.PropTypes.string})},f=function(e){function t(){return(0,a.default)(this,t),(0,i.default)(this,e.apply(this,arguments))}return(0,s.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.children,a=(0,o.default)(e,["className","children"]),i=this.context.$bs_navbar||{bsClass:"navbar"},s=(0,u.prefix)(i,"brand");return c.default.isValidElement(n)?c.default.cloneElement(n,{className:(0,l.default)(n.props.className,t,s)}):c.default.createElement("span",(0,r.default)({},a,{className:(0,l.default)(t,s)}),n)},t}(c.default.Component);f.contextTypes=d,t.default=f,e.exports=t.default},2019:(e,t,n)=>{"use strict";t.__esModule=!0;var r=d(n(241)),o=d(n(749)),a=d(n(9343)),i=d(n(7306)),s=d(n(6653)),l=n(8771),c=d(l),u=d(n(8024)),p=n(3666);function d(e){return e&&e.__esModule?e:{default:e}}var f={$bs_navbar:l.PropTypes.shape({bsClass:l.PropTypes.string,expanded:l.PropTypes.bool})},h=function(e){function t(){return(0,a.default)(this,t),(0,i.default)(this,e.apply(this,arguments))}return(0,s.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=(0,o.default)(e,["children"]),a=this.context.$bs_navbar||{bsClass:"navbar"},i=(0,p.prefix)(a,"collapse");return c.default.createElement(u.default,(0,r.default)({in:a.expanded},n),c.default.createElement("div",{className:i},t))},t}(c.default.Component);h.contextTypes=f,t.default=h,e.exports=t.default},8598:(e,t,n)=>{"use strict";t.__esModule=!0;var r=p(n(241)),o=p(n(749)),a=p(n(9343)),i=p(n(7306)),s=p(n(6653)),l=p(n(42)),c=p(n(8771)),u=n(3666);function p(e){return e&&e.__esModule?e:{default:e}}var d={$bs_navbar:c.default.PropTypes.shape({bsClass:c.default.PropTypes.string})},f=function(e){function t(){return(0,a.default)(this,t),(0,i.default)(this,e.apply(this,arguments))}return(0,s.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=(0,o.default)(e,["className"]),a=this.context.$bs_navbar||{bsClass:"navbar"},i=(0,u.prefix)(a,"header");return c.default.createElement("div",(0,r.default)({},n,{className:(0,l.default)(t,i)}))},t}(c.default.Component);f.contextTypes=d,t.default=f,e.exports=t.default},7851:(e,t,n)=>{"use strict";t.__esModule=!0;var r=f(n(241)),o=f(n(749)),a=f(n(9343)),i=f(n(7306)),s=f(n(6653)),l=f(n(42)),c=n(8771),u=f(c),p=n(3666),d=f(n(6270));function f(e){return e&&e.__esModule?e:{default:e}}var h={onClick:c.PropTypes.func,children:c.PropTypes.node},g={$bs_navbar:c.PropTypes.shape({bsClass:c.PropTypes.string,expanded:c.PropTypes.bool,onToggle:c.PropTypes.func.isRequired})},b=function(e){function t(){return(0,a.default)(this,t),(0,i.default)(this,e.apply(this,arguments))}return(0,s.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.onClick,n=e.className,a=e.children,i=(0,o.default)(e,["onClick","className","children"]),s=this.context.$bs_navbar||{bsClass:"navbar"},c=(0,r.default)({type:"button"},i,{onClick:(0,d.default)(t,s.onToggle),className:(0,l.default)(n,(0,p.prefix)(s,"toggle"),!s.expanded&&"collapsed")});return a?u.default.createElement("button",c,a):u.default.createElement("button",c,u.default.createElement("span",{className:"sr-only"},"Toggle navigation"),u.default.createElement("span",{className:"icon-bar"}),u.default.createElement("span",{className:"icon-bar"}),u.default.createElement("span",{className:"icon-bar"}))},t}(u.default.Component);b.propTypes=h,b.contextTypes=g,t.default=b,e.exports=t.default},7560:(e,t,n)=>{"use strict";t.__esModule=!0;var r=h(n(749)),o=h(n(9343)),a=h(n(7306)),i=h(n(6653)),s=h(n(241)),l=h(n(42)),c=n(8771),u=h(c),p=h(n(1368)),d=h(n(8492)),f=h(n(8137));function h(e){return e&&e.__esModule?e:{default:e}}var g=(0,s.default)({},p.default.propTypes,{show:u.default.PropTypes.bool,rootClose:u.default.PropTypes.bool,onHide:u.default.PropTypes.func,animation:u.default.PropTypes.oneOfType([u.default.PropTypes.bool,d.default]),onEnter:u.default.PropTypes.func,onEntering:u.default.PropTypes.func,onEntered:u.default.PropTypes.func,onExit:u.default.PropTypes.func,onExiting:u.default.PropTypes.func,onExited:u.default.PropTypes.func,placement:u.default.PropTypes.oneOf(["top","right","bottom","left"])}),b={animation:f.default,rootClose:!1,show:!1,placement:"right"},m=function(e){function t(){return(0,o.default)(this,t),(0,a.default)(this,e.apply(this,arguments))}return(0,i.default)(t,e),t.prototype.render=function(){var e,t=this.props,n=t.animation,o=t.children,a=(0,r.default)(t,["animation","children"]),i=!0===n?f.default:n||null;return e=i?o:(0,c.cloneElement)(o,{className:(0,l.default)(o.props.className,"in")}),u.default.createElement(p.default,(0,s.default)({},a,{transition:i}),e)},t}(u.default.Component);m.propTypes=g,m.defaultProps=b,t.default=m,e.exports=t.default},6461:(e,t,n)=>{"use strict";t.__esModule=!0;var r=h(n(749)),o=h(n(9343)),a=h(n(7306)),i=h(n(6653)),s=h(n(241)),l=h(n(4702)),c=n(8771),u=h(c),p=h(n(1542)),d=(h(n(1810)),h(n(7560))),f=h(n(6270));function h(e){return e&&e.__esModule?e:{default:e}}function g(e,t){return Array.isArray(t)?t.indexOf(e)>=0:e===t}var b=u.default.PropTypes.oneOf(["click","hover","focus"]),m=(0,s.default)({},d.default.propTypes,{trigger:u.default.PropTypes.oneOfType([b,u.default.PropTypes.arrayOf(b)]),delay:u.default.PropTypes.number,delayShow:u.default.PropTypes.number,delayHide:u.default.PropTypes.number,defaultOverlayShown:u.default.PropTypes.bool,overlay:u.default.PropTypes.node.isRequired,onBlur:u.default.PropTypes.func,onClick:u.default.PropTypes.func,onFocus:u.default.PropTypes.func,onMouseOut:u.default.PropTypes.func,onMouseOver:u.default.PropTypes.func,target:u.default.PropTypes.oneOf([null]),onHide:u.default.PropTypes.oneOf([null]),show:u.default.PropTypes.oneOf([null])}),v=function(e){function t(n,r){(0,o.default)(this,t);var i=(0,a.default)(this,e.call(this,n,r));return i.handleToggle=i.handleToggle.bind(i),i.handleDelayedShow=i.handleDelayedShow.bind(i),i.handleDelayedHide=i.handleDelayedHide.bind(i),i.handleHide=i.handleHide.bind(i),i.handleMouseOver=function(e){return i.handleMouseOverOut(i.handleDelayedShow,e)},i.handleMouseOut=function(e){return i.handleMouseOverOut(i.handleDelayedHide,e)},i._mountNode=null,i.state={show:n.defaultOverlayShown},i}return(0,i.default)(t,e),t.prototype.componentDidMount=function(){this._mountNode=document.createElement("div"),this.renderOverlay()},t.prototype.componentDidUpdate=function(){this.renderOverlay()},t.prototype.componentWillUnmount=function(){p.default.unmountComponentAtNode(this._mountNode),this._mountNode=null,clearTimeout(this._hoverShowDelay),clearTimeout(this._hoverHideDelay)},t.prototype.handleToggle=function(){this.state.show?this.hide():this.show()},t.prototype.handleDelayedShow=function(){var e=this;if(null!=this._hoverHideDelay)return clearTimeout(this._hoverHideDelay),void(this._hoverHideDelay=null);if(!this.state.show&&null==this._hoverShowDelay){var t=null!=this.props.delayShow?this.props.delayShow:this.props.delay;t?this._hoverShowDelay=setTimeout((function(){e._hoverShowDelay=null,e.show()}),t):this.show()}},t.prototype.handleDelayedHide=function(){var e=this;if(null!=this._hoverShowDelay)return clearTimeout(this._hoverShowDelay),void(this._hoverShowDelay=null);if(this.state.show&&null==this._hoverHideDelay){var t=null!=this.props.delayHide?this.props.delayHide:this.props.delay;t?this._hoverHideDelay=setTimeout((function(){e._hoverHideDelay=null,e.hide()}),t):this.hide()}},t.prototype.handleMouseOverOut=function(e,t){var n=t.currentTarget,r=t.relatedTarget||t.nativeEvent.toElement;r&&(r===n||(0,l.default)(n,r))||e(t)},t.prototype.handleHide=function(){this.hide()},t.prototype.show=function(){this.setState({show:!0})},t.prototype.hide=function(){this.setState({show:!1})},t.prototype.makeOverlay=function(e,t){return u.default.createElement(d.default,(0,s.default)({},t,{show:this.state.show,onHide:this.handleHide,target:this}),e)},t.prototype.renderOverlay=function(){p.default.unstable_renderSubtreeIntoContainer(this,this._overlay,this._mountNode)},t.prototype.render=function(){var e=this.props,t=e.trigger,n=e.overlay,o=e.children,a=e.onBlur,i=e.onClick,s=e.onFocus,l=e.onMouseOut,p=e.onMouseOver,d=(0,r.default)(e,["trigger","overlay","children","onBlur","onClick","onFocus","onMouseOut","onMouseOver"]);delete d.delay,delete d.delayShow,delete d.delayHide,delete d.defaultOverlayShown;var h=u.default.Children.only(o),b=h.props,m={"aria-describedby":n.props.id};return m.onClick=(0,f.default)(b.onClick,i),g("click",t)&&(m.onClick=(0,f.default)(m.onClick,this.handleToggle)),g("hover",t)&&(m.onMouseOver=(0,f.default)(b.onMouseOver,p,this.handleMouseOver),m.onMouseOut=(0,f.default)(b.onMouseOut,l,this.handleMouseOut)),g("focus",t)&&(m.onFocus=(0,f.default)(b.onFocus,s,this.handleDelayedShow),m.onBlur=(0,f.default)(b.onBlur,a,this.handleDelayedHide)),this._overlay=this.makeOverlay(n,d),(0,c.cloneElement)(h,m)},t}(u.default.Component);v.propTypes=m,v.defaultProps={defaultOverlayShown:!1,trigger:["hover","focus"]},t.default=v,e.exports=t.default},618:(e,t,n)=>{"use strict";t.__esModule=!0;var r=f(n(749)),o=f(n(241)),a=f(n(9343)),i=f(n(7306)),s=f(n(6653)),l=f(n(42)),c=f(n(8771)),u=f(n(8492)),p=f(n(7379)),d=n(3666);function f(e){return e&&e.__esModule?e:{default:e}}var h={activePage:c.default.PropTypes.number,items:c.default.PropTypes.number,maxButtons:c.default.PropTypes.number,boundaryLinks:c.default.PropTypes.bool,ellipsis:c.default.PropTypes.oneOfType([c.default.PropTypes.bool,c.default.PropTypes.node]),first:c.default.PropTypes.oneOfType([c.default.PropTypes.bool,c.default.PropTypes.node]),last:c.default.PropTypes.oneOfType([c.default.PropTypes.bool,c.default.PropTypes.node]),prev:c.default.PropTypes.oneOfType([c.default.PropTypes.bool,c.default.PropTypes.node]),next:c.default.PropTypes.oneOfType([c.default.PropTypes.bool,c.default.PropTypes.node]),onSelect:c.default.PropTypes.func,buttonComponentClass:u.default},g=function(e){function t(){return(0,a.default)(this,t),(0,i.default)(this,e.apply(this,arguments))}return(0,s.default)(t,e),t.prototype.renderPageButtons=function(e,t,n,r,a,i){var s=[],l=void 0,u=void 0,d=void 0;if(n){var f=e-parseInt(n/2,10);(d=t>=(l=Math.max(f,1))+n)?u=l+n-1:(u=t,(l=t-n+1)<1&&(l=1))}else l=1,u=t;for(var h=l;h<=u;h++)s.push(c.default.createElement(p.default,(0,o.default)({},i,{key:h,eventKey:h,active:h===e}),h));return r&&a&&1!==l&&(s.unshift(c.default.createElement(p.default,{key:"ellipsisFirst",disabled:!0,componentClass:i.componentClass},c.default.createElement("span",{"aria-label":"More"},!0===a?"…":a))),s.unshift(c.default.createElement(p.default,(0,o.default)({},i,{key:1,eventKey:1,active:!1}),"1"))),n&&d&&a&&(s.push(c.default.createElement(p.default,{key:"ellipsis",disabled:!0,componentClass:i.componentClass},c.default.createElement("span",{"aria-label":"More"},!0===a?"…":a))),r&&u!==t&&s.push(c.default.createElement(p.default,(0,o.default)({},i,{key:t,eventKey:t,active:!1}),t))),s},t.prototype.render=function(){var e=this.props,t=e.activePage,n=e.items,a=e.maxButtons,i=e.boundaryLinks,s=e.ellipsis,u=e.first,f=e.last,h=e.prev,g=e.next,b=e.onSelect,m=e.buttonComponentClass,v=e.className,y=(0,r.default)(e,["activePage","items","maxButtons","boundaryLinks","ellipsis","first","last","prev","next","onSelect","buttonComponentClass","className"]),_=(0,d.splitBsProps)(y),x=_[0],w=_[1],k=(0,d.getClassSet)(x),E={onSelect:b,componentClass:m};return c.default.createElement("ul",(0,o.default)({},w,{className:(0,l.default)(v,k)}),u&&c.default.createElement(p.default,(0,o.default)({},E,{eventKey:1,disabled:1===t}),c.default.createElement("span",{"aria-label":"First"},!0===u?"«":u)),h&&c.default.createElement(p.default,(0,o.default)({},E,{eventKey:t-1,disabled:1===t}),c.default.createElement("span",{"aria-label":"Previous"},!0===h?"":h)),this.renderPageButtons(t,n,a,i,s,E),g&&c.default.createElement(p.default,(0,o.default)({},E,{eventKey:t+1,disabled:t>=n}),c.default.createElement("span",{"aria-label":"Next"},!0===g?"":g)),f&&c.default.createElement(p.default,(0,o.default)({},E,{eventKey:n,disabled:t>=n}),c.default.createElement("span",{"aria-label":"Last"},!0===f?"»":f)))},t}(c.default.Component);g.propTypes=h,g.defaultProps={activePage:1,items:1,maxButtons:0,first:!1,last:!1,prev:!1,next:!1,ellipsis:!0,boundaryLinks:!1},t.default=(0,d.bsClass)("pagination",g),e.exports=t.default},7379:(e,t,n)=>{"use strict";t.__esModule=!0;var r=f(n(241)),o=f(n(749)),a=f(n(9343)),i=f(n(7306)),s=f(n(6653)),l=f(n(42)),c=f(n(8771)),u=f(n(8492)),p=f(n(2323)),d=f(n(6270));function f(e){return e&&e.__esModule?e:{default:e}}var h={componentClass:u.default,className:c.default.PropTypes.string,eventKey:c.default.PropTypes.any,onSelect:c.default.PropTypes.func,disabled:c.default.PropTypes.bool,active:c.default.PropTypes.bool,onClick:c.default.PropTypes.func},g={componentClass:p.default,active:!1,disabled:!1},b=function(e){function t(n,r){(0,a.default)(this,t);var o=(0,i.default)(this,e.call(this,n,r));return o.handleClick=o.handleClick.bind(o),o}return(0,s.default)(t,e),t.prototype.handleClick=function(e){var t=this.props,n=t.disabled,r=t.onSelect,o=t.eventKey;n||r&&r(o,e)},t.prototype.render=function(){var e=this.props,t=e.componentClass,n=e.active,a=e.disabled,i=e.onClick,s=e.className,u=e.style,f=(0,o.default)(e,["componentClass","active","disabled","onClick","className","style"]);return t===p.default&&delete f.eventKey,delete f.onSelect,c.default.createElement("li",{className:(0,l.default)(s,{active:n,disabled:a}),style:u},c.default.createElement(t,(0,r.default)({},f,{disabled:a,onClick:(0,d.default)(i,this.handleClick)})))},t}(c.default.Component);b.propTypes=h,b.defaultProps=g,t.default=b,e.exports=t.default},7515:(e,t,n)=>{"use strict";t.__esModule=!0;var r=g(n(4898)),o=g(n(749)),a=g(n(241)),i=g(n(9343)),s=g(n(7306)),l=g(n(6653)),c=g(n(42)),u=n(8771),p=g(u),d=g(n(8024)),f=n(3666),h=n(3565);function g(e){return e&&e.__esModule?e:{default:e}}var b={collapsible:p.default.PropTypes.bool,onSelect:p.default.PropTypes.func,header:p.default.PropTypes.node,id:p.default.PropTypes.oneOfType([p.default.PropTypes.string,p.default.PropTypes.number]),footer:p.default.PropTypes.node,defaultExpanded:p.default.PropTypes.bool,expanded:p.default.PropTypes.bool,eventKey:p.default.PropTypes.any,headerRole:p.default.PropTypes.string,panelRole:p.default.PropTypes.string,onEnter:p.default.PropTypes.func,onEntering:p.default.PropTypes.func,onEntered:p.default.PropTypes.func,onExit:p.default.PropTypes.func,onExiting:p.default.PropTypes.func,onExited:p.default.PropTypes.func},m=function(e){function t(n,r){(0,i.default)(this,t);var o=(0,s.default)(this,e.call(this,n,r));return o.handleClickTitle=o.handleClickTitle.bind(o),o.state={expanded:o.props.defaultExpanded},o}return(0,l.default)(t,e),t.prototype.handleClickTitle=function(e){e.persist(),e.selected=!0,this.props.onSelect?this.props.onSelect(this.props.eventKey,e):e.preventDefault(),e.selected&&this.setState({expanded:!this.state.expanded})},t.prototype.renderHeader=function(e,t,n,r,o,a){var i=(0,f.prefix)(a,"title");return e?p.default.isValidElement(t)?(0,u.cloneElement)(t,{className:(0,c.default)(t.props.className,i),children:this.renderAnchor(t.props.children,n,r,o)}):p.default.createElement("h4",{role:"presentation",className:i},this.renderAnchor(t,n,r,o)):p.default.isValidElement(t)?(0,u.cloneElement)(t,{className:(0,c.default)(t.props.className,i)}):t},t.prototype.renderAnchor=function(e,t,n,r){return p.default.createElement("a",{role:n,href:t&&"#"+t,onClick:this.handleClickTitle,"aria-controls":t,"aria-expanded":r,"aria-selected":r,className:r?null:"collapsed"},e)},t.prototype.renderCollapsibleBody=function(e,t,n,r,o,i){return p.default.createElement(d.default,(0,a.default)({in:t},i),p.default.createElement("div",{id:e,role:n,className:(0,f.prefix)(o,"collapse"),"aria-hidden":!t},this.renderBody(r,o)))},t.prototype.renderBody=function(e,t){var n=[],r=[],o=(0,f.prefix)(t,"body");function a(){r.length&&(n.push(p.default.createElement("div",{key:n.length,className:o},r)),r=[])}return p.default.Children.toArray(e).forEach((function(e){if(p.default.isValidElement(e)&&e.props.fill)return a(),void n.push((0,u.cloneElement)(e,{fill:void 0}));r.push(e)})),a(),n},t.prototype.render=function(){var e=this.props,t=e.collapsible,n=e.header,r=e.id,i=e.footer,s=e.expanded,l=e.headerRole,u=e.panelRole,d=e.className,h=e.children,g=e.onEnter,b=e.onEntering,m=e.onEntered,v=e.onExit,y=e.onExiting,_=e.onExited,x=(0,o.default)(e,["collapsible","header","id","footer","expanded","headerRole","panelRole","className","children","onEnter","onEntering","onEntered","onExit","onExiting","onExited"]),w=(0,f.splitBsPropsAndOmit)(x,["defaultExpanded","eventKey","onSelect"]),k=w[0],E=w[1],C=null!=s?s:this.state.expanded,A=(0,f.getClassSet)(k);return p.default.createElement("div",(0,a.default)({},E,{className:(0,c.default)(d,A),id:t?null:r}),n&&p.default.createElement("div",{className:(0,f.prefix)(k,"heading")},this.renderHeader(t,n,r,l,C,k)),t?this.renderCollapsibleBody(r,C,u,h,k,{onEnter:g,onEntering:b,onEntered:m,onExit:v,onExiting:y,onExited:_}):this.renderBody(h,k),i&&p.default.createElement("div",{className:(0,f.prefix)(k,"footer")},i))},t}(p.default.Component);m.propTypes=b,m.defaultProps={defaultExpanded:!1},t.default=(0,f.bsClass)("panel",(0,f.bsStyles)([].concat((0,r.default)(h.State),[h.Style.DEFAULT,h.Style.PRIMARY]),h.Style.DEFAULT,m)),e.exports=t.default},5289:(e,t,n)=>{"use strict";t.__esModule=!0;var r=d(n(241)),o=d(n(749)),a=d(n(9343)),i=d(n(7306)),s=d(n(6653)),l=d(n(42)),c=d(n(8771)),u=d(n(5246)),p=n(3666);function d(e){return e&&e.__esModule?e:{default:e}}var f={id:(0,u.default)(c.default.PropTypes.oneOfType([c.default.PropTypes.string,c.default.PropTypes.number])),placement:c.default.PropTypes.oneOf(["top","right","bottom","left"]),positionTop:c.default.PropTypes.oneOfType([c.default.PropTypes.number,c.default.PropTypes.string]),positionLeft:c.default.PropTypes.oneOfType([c.default.PropTypes.number,c.default.PropTypes.string]),arrowOffsetTop:c.default.PropTypes.oneOfType([c.default.PropTypes.number,c.default.PropTypes.string]),arrowOffsetLeft:c.default.PropTypes.oneOfType([c.default.PropTypes.number,c.default.PropTypes.string]),title:c.default.PropTypes.node},h=function(e){function t(){return(0,a.default)(this,t),(0,i.default)(this,e.apply(this,arguments))}return(0,s.default)(t,e),t.prototype.render=function(){var e,t=this.props,n=t.placement,a=t.positionTop,i=t.positionLeft,s=t.arrowOffsetTop,u=t.arrowOffsetLeft,d=t.title,f=t.className,h=t.style,g=t.children,b=(0,o.default)(t,["placement","positionTop","positionLeft","arrowOffsetTop","arrowOffsetLeft","title","className","style","children"]),m=(0,p.splitBsProps)(b),v=m[0],y=m[1],_=(0,r.default)({},(0,p.getClassSet)(v),((e={})[n]=!0,e)),x=(0,r.default)({display:"block",top:a,left:i},h),w={top:s,left:u};return c.default.createElement("div",(0,r.default)({},y,{role:"tooltip",className:(0,l.default)(f,_),style:x}),c.default.createElement("div",{className:"arrow",style:w}),d&&c.default.createElement("h3",{className:(0,p.prefix)(v,"title")},d),c.default.createElement("div",{className:(0,p.prefix)(v,"content")},g))},t}(c.default.Component);h.propTypes=f,h.defaultProps={placement:"right"},t.default=(0,p.bsClass)("popover",h),e.exports=t.default},2323:(e,t,n)=>{"use strict";t.__esModule=!0;var r=u(n(241)),o=u(n(749)),a=u(n(9343)),i=u(n(7306)),s=u(n(6653)),l=u(n(8771)),c=u(n(8492));function u(e){return e&&e.__esModule?e:{default:e}}var p={href:l.default.PropTypes.string,onClick:l.default.PropTypes.func,disabled:l.default.PropTypes.bool,role:l.default.PropTypes.string,tabIndex:l.default.PropTypes.oneOfType([l.default.PropTypes.number,l.default.PropTypes.string]),componentClass:c.default};function d(e){return!e||"#"===e.trim()}var f=function(e){function t(n,r){(0,a.default)(this,t);var o=(0,i.default)(this,e.call(this,n,r));return o.handleClick=o.handleClick.bind(o),o}return(0,s.default)(t,e),t.prototype.handleClick=function(e){var t=this.props,n=t.disabled,r=t.href,o=t.onClick;(n||d(r))&&e.preventDefault(),n?e.stopPropagation():o&&o(e)},t.prototype.render=function(){var e=this.props,t=e.componentClass,n=e.disabled,a=(0,o.default)(e,["componentClass","disabled"]);return d(a.href)&&(a.role=a.role||"button",a.href=a.href||"#"),n&&(a.tabIndex=-1,a.style=(0,r.default)({pointerEvents:"none"},a.style)),l.default.createElement(t,(0,r.default)({},a,{onClick:this.handleClick}))},t}(l.default.Component);f.propTypes=p,f.defaultProps={componentClass:"a"},t.default=f,e.exports=t.default},2806:(e,t,n)=>{"use strict";t.__esModule=!0;var r=p(n(241)),o=p(n(749)),a=p(n(9343)),i=p(n(7306)),s=p(n(6653)),l=p(n(42)),c=p(n(8771)),u=n(3666);function p(e){return e&&e.__esModule?e:{default:e}}var d={striped:c.default.PropTypes.bool,bordered:c.default.PropTypes.bool,condensed:c.default.PropTypes.bool,hover:c.default.PropTypes.bool,responsive:c.default.PropTypes.bool},f=function(e){function t(){return(0,a.default)(this,t),(0,i.default)(this,e.apply(this,arguments))}return(0,s.default)(t,e),t.prototype.render=function(){var e,t=this.props,n=t.striped,a=t.bordered,i=t.condensed,s=t.hover,p=t.responsive,d=t.className,f=(0,o.default)(t,["striped","bordered","condensed","hover","responsive","className"]),h=(0,u.splitBsProps)(f),g=h[0],b=h[1],m=(0,r.default)({},(0,u.getClassSet)(g),((e={})[(0,u.prefix)(g,"striped")]=n,e[(0,u.prefix)(g,"bordered")]=a,e[(0,u.prefix)(g,"condensed")]=i,e[(0,u.prefix)(g,"hover")]=s,e)),v=c.default.createElement("table",(0,r.default)({},b,{className:(0,l.default)(d,m)}));return p?c.default.createElement("div",{className:(0,u.prefix)(g,"responsive")},v):v},t}(c.default.Component);f.propTypes=d,f.defaultProps={bordered:!1,condensed:!1,hover:!1,responsive:!1,striped:!1},t.default=(0,u.bsClass)("table",f),e.exports=t.default},8634:(e,t,n)=>{"use strict";t.__esModule=!0,t.requiredRoles=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.default)((function(e,n,r){var a=void 0;return t.every((function(t){return!!o.default.some(e.children,(function(e){return e.props.bsRole===t}))||(a=t,!1)})),a?new Error("(children) "+r+" - Missing a required child with bsRole: "+a+". "+r+" must have at least one child of each of the following bsRoles: "+t.join(", ")):null}))},t.exclusiveRoles=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.default)((function(e,n,r){var a=void 0;return t.every((function(t){return!(o.default.filter(e.children,(function(e){return e.props.bsRole===t})).length>1&&(a=t,1))})),a?new Error("(children) "+r+" - Duplicate children detected of bsRole: "+a+". Only one child each allowed with the following bsRoles: "+t.join(", ")):null}))};var r=a(n(6257)),o=a(n(3433));function a(e){return e&&e.__esModule?e:{default:e}}},3565:(e,t)=>{"use strict";t.__esModule=!0,t.Size={LARGE:"large",SMALL:"small",XSMALL:"xsmall"},t.SIZE_MAP={large:"lg",medium:"md",small:"sm",xsmall:"xs",lg:"lg",md:"md",sm:"sm",xs:"xs"},t.DEVICE_SIZES=["lg","md","sm","xs"],t.State={SUCCESS:"success",WARNING:"warning",DANGER:"danger",INFO:"info"},t.Style={DEFAULT:"default",PRIMARY:"primary",LINK:"link",INVERSE:"inverse"}},3433:(e,t,n)=>{"use strict";t.__esModule=!0;var r,o=(r=n(8771))&&r.__esModule?r:{default:r};t.default={map:function(e,t,n){var r=0;return o.default.Children.map(e,(function(e){return o.default.isValidElement(e)?t.call(n,e,r++):e}))},forEach:function(e,t,n){var r=0;o.default.Children.forEach(e,(function(e){o.default.isValidElement(e)&&t.call(n,e,r++)}))},count:function(e){var t=0;return o.default.Children.forEach(e,(function(e){o.default.isValidElement(e)&&++t})),t},find:function(e,t,n){var r=0,a=void 0;return o.default.Children.forEach(e,(function(e){a||o.default.isValidElement(e)&&t.call(n,e,r++)&&(a=e)})),a},filter:function(e,t,n){var r=0,a=[];return o.default.Children.forEach(e,(function(e){o.default.isValidElement(e)&&t.call(n,e,r++)&&a.push(e)})),a},every:function(e,t,n){var r=0,a=!0;return o.default.Children.forEach(e,(function(e){a&&o.default.isValidElement(e)&&(t.call(n,e,r++)||(a=!1))})),a},some:function(e,t,n){var r=0,a=!1;return o.default.Children.forEach(e,(function(e){a||o.default.isValidElement(e)&&t.call(n,e,r++)&&(a=!0)})),a},toArray:function(e){var t=[];return o.default.Children.forEach(e,(function(e){o.default.isValidElement(e)&&t.push(e)})),t}},e.exports=t.default},3666:(e,t,n)=>{"use strict";t.__esModule=!0,t._curry=t.bsSizes=t.bsStyles=t.bsClass=void 0;var r=l(n(5510)),o=l(n(241));t.prefix=u,t.getClassSet=function(e){var t,n=((t={})[u(e)]=!0,t);e.bsSize&&(n[u(e,s.SIZE_MAP[e.bsSize]||e.bsSize)]=!0);return e.bsStyle&&(n[u(e,e.bsStyle)]=!0),n},t.splitBsProps=function(e){var t={};return(0,r.default)(e).forEach((function(e){var n=e[0],r=e[1];f(n)||(t[n]=r)})),[d(e),t]},t.splitBsPropsAndOmit=function(e,t){var n={};t.forEach((function(e){n[e]=!0}));var o={};return(0,r.default)(e).forEach((function(e){var t=e[0],r=e[1];f(t)||n[t]||(o[t]=r)})),[d(e),o]},t.addStyle=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];p(n,e)};var a=l(n(3996)),i=n(8771),s=n(3565);function l(e){return e&&e.__esModule?e:{default:e}}function c(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=n[n.length-1];return"function"==typeof o?e.apply(void 0,n):function(t){return e.apply(void 0,n.concat([t]))}}}function u(e,t){return null==e.bsClass&&(0,a.default)(!1),e.bsClass+(t?"-"+t:"")}t.bsClass=c((function(e,t){var n=t.propTypes||(t.propTypes={}),r=t.defaultProps||(t.defaultProps={});return n.bsClass=i.PropTypes.string,r.bsClass=e,t}));var p=t.bsStyles=c((function(e,t,n){"string"!=typeof t&&(n=t,t=void 0);var r=n.STYLES||[],a=n.propTypes||{};e.forEach((function(e){-1===r.indexOf(e)&&r.push(e)}));var s=i.PropTypes.oneOf(r);return n.STYLES=s._values=r,n.propTypes=(0,o.default)({},a,{bsStyle:s}),void 0!==t&&((n.defaultProps||(n.defaultProps={})).bsStyle=t),n}));function d(e){return{bsClass:e.bsClass,bsSize:e.bsSize,bsStyle:e.bsStyle,bsRole:e.bsRole}}function f(e){return"bsClass"===e||"bsSize"===e||"bsStyle"===e||"bsRole"===e}t.bsSizes=c((function(e,t,n){"string"!=typeof t&&(n=t,t=void 0);var r=n.SIZES||[],a=n.propTypes||{};e.forEach((function(e){-1===r.indexOf(e)&&r.push(e)}));var l=[];r.forEach((function(e){var t=s.SIZE_MAP[e];t&&t!==e&&l.push(t),l.push(e)}));var c=i.PropTypes.oneOf(l);return c._values=l,n.SIZES=r,n.propTypes=(0,o.default)({},a,{bsSize:c}),void 0!==t&&(n.defaultProps||(n.defaultProps={}),n.defaultProps.bsSize=t),n})),t._curry=c},4495:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e){return""+e.charAt(0).toUpperCase()+e.slice(1)},e.exports=t.default},6270:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return null!=e})).reduce((function(e,t){if("function"!=typeof t)throw new Error("Invalid Argument Type, must only provide functions, undefined, or null.");return null===e?t:function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];e.apply(this,r),t.apply(this,r)}}),null)},e.exports=t.default},4781:(e,t,n)=>{"use strict";t.__esModule=!0;var r,o=(r=n(5510))&&r.__esModule?r:{default:r};t.default=function(e,t){var n=t.propTypes,r={},a={};return(0,o.default)(e).forEach((function(e){var t=e[0],o=e[1];n[t]?r[t]=o:a[t]=o})),[r,a]},e.exports=t.default},1542:(e,t,n)=>{"use strict";e.exports=n(4295)},9071:e=>{"use strict";e.exports={Properties:{"aria-current":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},DOMAttributeNames:{},DOMPropertyNames:{}}},9527:(e,t,n)=>{"use strict";var r=n(5372),o=n(4831),a={focusDOMComponent:function(){o(r.getNodeFromInstance(this))}};e.exports=a},2419:(e,t,n)=>{"use strict";var r=n(5236),o=n(4579),a=n(6936),i=n(3177),s=n(3184),l=[9,13,27,32],c=o.canUseDOM&&"CompositionEvent"in window,u=null;o.canUseDOM&&"documentMode"in document&&(u=document.documentMode);var p,d=o.canUseDOM&&"TextEvent"in window&&!u&&!("object"==typeof(p=window.opera)&&"function"==typeof p.version&&parseInt(p.version(),10)<=12),f=o.canUseDOM&&(!c||u&&u>8&&u<=11),h=String.fromCharCode(32),g={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["topCompositionEnd","topKeyPress","topTextInput","topPaste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:["topBlur","topCompositionEnd","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:["topBlur","topCompositionStart","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:["topBlur","topCompositionUpdate","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]}},b=!1;function m(e,t){switch(e){case"topKeyUp":return-1!==l.indexOf(t.keyCode);case"topKeyDown":return 229!==t.keyCode;case"topKeyPress":case"topMouseDown":case"topBlur":return!0;default:return!1}}function v(e){var t=e.detail;return"object"==typeof t&&"data"in t?t.data:null}var y=null;function _(e,t,n,o){var s,l;if(c?s=function(e){switch(e){case"topCompositionStart":return g.compositionStart;case"topCompositionEnd":return g.compositionEnd;case"topCompositionUpdate":return g.compositionUpdate}}(e):y?m(e,n)&&(s=g.compositionEnd):function(e,t){return"topKeyDown"===e&&229===t.keyCode}(e,n)&&(s=g.compositionStart),!s)return null;f&&(y||s!==g.compositionStart?s===g.compositionEnd&&y&&(l=y.getData()):y=a.getPooled(o));var u=i.getPooled(s,t,n,o);if(l)u.data=l;else{var p=v(n);null!==p&&(u.data=p)}return r.accumulateTwoPhaseDispatches(u),u}function x(e,t,n,o){var i;if(!(i=d?function(e,t){switch(e){case"topCompositionEnd":return v(t);case"topKeyPress":return 32!==t.which?null:(b=!0,h);case"topTextInput":var n=t.data;return n===h&&b?null:n;default:return null}}(e,n):function(e,t){if(y){if("topCompositionEnd"===e||!c&&m(e,t)){var n=y.getData();return a.release(y),y=null,n}return null}switch(e){case"topPaste":return null;case"topKeyPress":return t.which&&!function(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}(t)?String.fromCharCode(t.which):null;case"topCompositionEnd":return f?null:t.data;default:return null}}(e,n)))return null;var l=s.getPooled(g.beforeInput,t,n,o);return l.data=i,r.accumulateTwoPhaseDispatches(l),l}var w={eventTypes:g,extractEvents:function(e,t,n,r){return[_(e,t,n,r),x(e,t,n,r)]}};e.exports=w},6935:e=>{"use strict";var t={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},n=["Webkit","ms","Moz","O"];Object.keys(t).forEach((function(e){n.forEach((function(n){t[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(n,e)]=t[e]}))}));var r={isUnitlessNumber:t,shorthandPropertyExpansions:{background:{backgroundAttachment:!0,backgroundColor:!0,backgroundImage:!0,backgroundPositionX:!0,backgroundPositionY:!0,backgroundRepeat:!0},backgroundPosition:{backgroundPositionX:!0,backgroundPositionY:!0},border:{borderWidth:!0,borderStyle:!0,borderColor:!0},borderBottom:{borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0},borderLeft:{borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0},borderRight:{borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0},borderTop:{borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0},font:{fontStyle:!0,fontVariant:!0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0},outline:{outlineWidth:!0,outlineStyle:!0,outlineColor:!0}}};e.exports=r},3189:(e,t,n)=>{"use strict";var r=n(6935),o=n(4579),a=(n(3734),n(3040),n(5814)),i=n(2016),s=n(9951),l=(n(2264),s((function(e){return i(e)}))),c=!1,u="cssFloat";if(o.canUseDOM){var p=document.createElement("div").style;try{p.font=""}catch(e){c=!0}void 0===document.documentElement.style.cssFloat&&(u="styleFloat")}var d={createMarkupForStyles:function(e,t){var n="";for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];null!=o&&(n+=l(r)+":",n+=a(r,o,t)+";")}return n||null},setValueForStyles:function(e,t,n){var o=e.style;for(var i in t)if(t.hasOwnProperty(i)){var s=a(i,t[i],n);if("float"!==i&&"cssFloat"!==i||(i=u),s)o[i]=s;else{var l=c&&r.shorthandPropertyExpansions[i];if(l)for(var p in l)o[p]="";else o[i]=""}}}};e.exports=d},8186:(e,t,n)=>{"use strict";var r=n(3349),o=n(261),a=(n(7081),function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._callbacks=null,this._contexts=null,this._arg=t}return e.prototype.enqueue=function(e,t){this._callbacks=this._callbacks||[],this._callbacks.push(e),this._contexts=this._contexts||[],this._contexts.push(t)},e.prototype.notifyAll=function(){var e=this._callbacks,t=this._contexts,n=this._arg;if(e&&t){e.length!==t.length&&r("24"),this._callbacks=null,this._contexts=null;for(var o=0;o<e.length;o++)e[o].call(t[o],n);e.length=0,t.length=0}},e.prototype.checkpoint=function(){return this._callbacks?this._callbacks.length:0},e.prototype.rollback=function(e){this._callbacks&&this._contexts&&(this._callbacks.length=e,this._contexts.length=e)},e.prototype.reset=function(){this._callbacks=null,this._contexts=null},e.prototype.destructor=function(){this.reset()},e}());e.exports=o.addPoolingTo(a)},6356:(e,t,n)=>{"use strict";var r=n(458),o=n(5236),a=n(4579),i=n(5372),s=n(3335),l=n(9887),c=n(6056),u=n(7371),p=n(1550),d={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:["topBlur","topChange","topClick","topFocus","topInput","topKeyDown","topKeyUp","topSelectionChange"]}},f=null,h=null,g=null,b=null,m=!1;function v(e){var t=l.getPooled(d.change,h,e,c(e));o.accumulateTwoPhaseDispatches(t),s.batchedUpdates(y,t)}function y(e){r.enqueueEvents(e),r.processEventQueue(!1)}function _(){f&&(f.detachEvent("onchange",v),f=null,h=null)}function x(e,t){if("topChange"===e)return t}function w(e,t,n){"topFocus"===e?(_(),function(e,t){h=t,(f=e).attachEvent("onchange",v)}(t,n)):"topBlur"===e&&_()}a.canUseDOM&&(m=u("change")&&(!document.documentMode||document.documentMode>8));var k=!1;a.canUseDOM&&(k=u("input")&&(!document.documentMode||document.documentMode>11));var E={get:function(){return b.get.call(this)},set:function(e){g=""+e,b.set.call(this,e)}};function C(){f&&(delete f.value,f.detachEvent?f.detachEvent("onpropertychange",A):f.removeEventListener("propertychange",A,!1),f=null,h=null,g=null,b=null)}function A(e){if("value"===e.propertyName){var t=e.srcElement.value;t!==g&&(g=t,v(e))}}function P(e,t){if("topInput"===e)return t}function T(e,t,n){"topFocus"===e?(C(),function(e,t){f=e,h=t,g=e.value,b=Object.getOwnPropertyDescriptor(e.constructor.prototype,"value"),Object.defineProperty(f,"value",E),f.attachEvent?f.attachEvent("onpropertychange",A):f.addEventListener("propertychange",A,!1)}(t,n)):"topBlur"===e&&C()}function S(e,t){if(("topSelectionChange"===e||"topKeyUp"===e||"topKeyDown"===e)&&f&&f.value!==g)return g=f.value,h}function O(e,t){if("topClick"===e)return t}var M={eventTypes:d,extractEvents:function(e,t,n,r){var a,s,c,u,f=t?i.getNodeFromInstance(t):window;if("select"===(u=(c=f).nodeName&&c.nodeName.toLowerCase())||"input"===u&&"file"===c.type?m?a=x:s=w:p(f)?k?a=P:(a=S,s=T):function(e){return e.nodeName&&"input"===e.nodeName.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)}(f)&&(a=O),a){var h=a(e,t);if(h){var g=l.getPooled(d.change,h,n,r);return g.type="change",o.accumulateTwoPhaseDispatches(g),g}}s&&s(e,f,t)}};e.exports=M},4021:(e,t,n)=>{"use strict";var r=n(9079),o=n(3942),a=(n(5372),n(3734),n(8543)),i=n(1421),s=n(8272);function l(e,t){return Array.isArray(t)&&(t=t[1]),t?t.nextSibling:e.firstChild}var c=a((function(e,t,n){e.insertBefore(t,n)}));function u(e,t,n){r.insertTreeBefore(e,t,n)}function p(e,t,n){Array.isArray(t)?function(e,t,n,r){for(var o=t;;){var a=o.nextSibling;if(c(e,o,r),o===n)break;o=a}}(e,t[0],t[1],n):c(e,t,n)}function d(e,t){if(Array.isArray(t)){var n=t[1];f(e,t=t[0],n),e.removeChild(n)}e.removeChild(t)}function f(e,t,n){for(;;){var r=t.nextSibling;if(r===n)break;e.removeChild(r)}}var h={dangerouslyReplaceNodeWithMarkup:o.dangerouslyReplaceNodeWithMarkup,replaceDelimitedText:function(e,t,n){var r=e.parentNode,o=e.nextSibling;o===t?n&&c(r,document.createTextNode(n),o):n?(s(o,n),f(r,o,t)):f(r,e,t)},processUpdates:function(e,t){for(var n=0;n<t.length;n++){var r=t[n];switch(r.type){case"INSERT_MARKUP":u(e,r.content,l(e,r.afterNode));break;case"MOVE_EXISTING":p(e,r.fromNode,l(e,r.afterNode));break;case"SET_MARKUP":i(e,r.content);break;case"TEXT_CONTENT":s(e,r.content);break;case"REMOVE_NODE":d(e,r.fromNode)}}}};e.exports=h},9079:(e,t,n)=>{"use strict";var r=n(8806),o=n(1421),a=n(8543),i=n(8272),s="undefined"!=typeof document&&"number"==typeof document.documentMode||"undefined"!=typeof navigator&&"string"==typeof navigator.userAgent&&/\bEdge\/\d/.test(navigator.userAgent);function l(e){if(s){var t=e.node,n=e.children;if(n.length)for(var r=0;r<n.length;r++)c(t,n[r],null);else null!=e.html?o(t,e.html):null!=e.text&&i(t,e.text)}}var c=a((function(e,t,n){11===t.node.nodeType||1===t.node.nodeType&&"object"===t.node.nodeName.toLowerCase()&&(null==t.node.namespaceURI||t.node.namespaceURI===r.html)?(l(t),e.insertBefore(t.node,n)):(e.insertBefore(t.node,n),l(t))}));function u(){return this.node.nodeName}function p(e){return{node:e,children:[],html:null,text:null,toString:u}}p.insertTreeBefore=c,p.replaceChildWithTree=function(e,t){e.parentNode.replaceChild(t.node,e),l(t)},p.queueChild=function(e,t){s?e.children.push(t):e.node.appendChild(t.node)},p.queueHTML=function(e,t){s?e.html=t:o(e.node,t)},p.queueText=function(e,t){s?e.text=t:i(e.node,t)},e.exports=p},8806:e=>{"use strict";e.exports={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"}},2101:(e,t,n)=>{"use strict";var r=n(3349);function o(e,t){return(e&t)===t}n(7081);var a={MUST_USE_PROPERTY:1,HAS_BOOLEAN_VALUE:4,HAS_NUMERIC_VALUE:8,HAS_POSITIVE_NUMERIC_VALUE:24,HAS_OVERLOADED_BOOLEAN_VALUE:32,injectDOMPropertyConfig:function(e){var t=a,n=e.Properties||{},i=e.DOMAttributeNamespaces||{},l=e.DOMAttributeNames||{},c=e.DOMPropertyNames||{},u=e.DOMMutationMethods||{};for(var p in e.isCustomAttribute&&s._isCustomAttributeFunctions.push(e.isCustomAttribute),n){s.properties.hasOwnProperty(p)&&r("48",p);var d=p.toLowerCase(),f=n[p],h={attributeName:d,attributeNamespace:null,propertyName:p,mutationMethod:null,mustUseProperty:o(f,t.MUST_USE_PROPERTY),hasBooleanValue:o(f,t.HAS_BOOLEAN_VALUE),hasNumericValue:o(f,t.HAS_NUMERIC_VALUE),hasPositiveNumericValue:o(f,t.HAS_POSITIVE_NUMERIC_VALUE),hasOverloadedBooleanValue:o(f,t.HAS_OVERLOADED_BOOLEAN_VALUE)};if(h.hasBooleanValue+h.hasNumericValue+h.hasOverloadedBooleanValue<=1||r("50",p),l.hasOwnProperty(p)){var g=l[p];h.attributeName=g}i.hasOwnProperty(p)&&(h.attributeNamespace=i[p]),c.hasOwnProperty(p)&&(h.propertyName=c[p]),u.hasOwnProperty(p)&&(h.mutationMethod=u[p]),s.properties[p]=h}}},i=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",s={ID_ATTRIBUTE_NAME:"data-reactid",ROOT_ATTRIBUTE_NAME:"data-reactroot",ATTRIBUTE_NAME_START_CHAR:i,ATTRIBUTE_NAME_CHAR:i+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",properties:{},getPossibleStandardName:null,_isCustomAttributeFunctions:[],isCustomAttribute:function(e){for(var t=0;t<s._isCustomAttributeFunctions.length;t++)if((0,s._isCustomAttributeFunctions[t])(e))return!0;return!1},injection:a};e.exports=s},5386:(e,t,n)=>{"use strict";var r=n(2101),o=(n(5372),n(3734),n(1215)),a=(n(2264),new RegExp("^["+r.ATTRIBUTE_NAME_START_CHAR+"]["+r.ATTRIBUTE_NAME_CHAR+"]*$")),i={},s={};function l(e){return!!s.hasOwnProperty(e)||!i.hasOwnProperty(e)&&(a.test(e)?(s[e]=!0,!0):(i[e]=!0,!1))}function c(e,t){return null==t||e.hasBooleanValue&&!t||e.hasNumericValue&&isNaN(t)||e.hasPositiveNumericValue&&t<1||e.hasOverloadedBooleanValue&&!1===t}var u={createMarkupForID:function(e){return r.ID_ATTRIBUTE_NAME+"="+o(e)},setAttributeForID:function(e,t){e.setAttribute(r.ID_ATTRIBUTE_NAME,t)},createMarkupForRoot:function(){return r.ROOT_ATTRIBUTE_NAME+'=""'},setAttributeForRoot:function(e){e.setAttribute(r.ROOT_ATTRIBUTE_NAME,"")},createMarkupForProperty:function(e,t){var n=r.properties.hasOwnProperty(e)?r.properties[e]:null;if(n){if(c(n,t))return"";var a=n.attributeName;return n.hasBooleanValue||n.hasOverloadedBooleanValue&&!0===t?a+'=""':a+"="+o(t)}return r.isCustomAttribute(e)?null==t?"":e+"="+o(t):null},createMarkupForCustomAttribute:function(e,t){return l(e)&&null!=t?e+"="+o(t):""},setValueForProperty:function(e,t,n){var o=r.properties.hasOwnProperty(t)?r.properties[t]:null;if(o){var a=o.mutationMethod;if(a)a(e,n);else{if(c(o,n))return void this.deleteValueForProperty(e,t);if(o.mustUseProperty)e[o.propertyName]=n;else{var i=o.attributeName,s=o.attributeNamespace;s?e.setAttributeNS(s,i,""+n):o.hasBooleanValue||o.hasOverloadedBooleanValue&&!0===n?e.setAttribute(i,""):e.setAttribute(i,""+n)}}}else if(r.isCustomAttribute(t))return void u.setValueForAttribute(e,t,n)},setValueForAttribute:function(e,t,n){l(t)&&(null==n?e.removeAttribute(t):e.setAttribute(t,""+n))},deleteValueForAttribute:function(e,t){e.removeAttribute(t)},deleteValueForProperty:function(e,t){var n=r.properties.hasOwnProperty(t)?r.properties[t]:null;if(n){var o=n.mutationMethod;if(o)o(e,void 0);else if(n.mustUseProperty){var a=n.propertyName;n.hasBooleanValue?e[a]=!1:e[a]=""}else e.removeAttribute(n.attributeName)}else r.isCustomAttribute(t)&&e.removeAttribute(t)}};e.exports=u},3942:(e,t,n)=>{"use strict";var r=n(3349),o=n(9079),a=n(4579),i=n(7293),s=n(3743),l=(n(7081),{dangerouslyReplaceNodeWithMarkup:function(e,t){if(a.canUseDOM||r("56"),t||r("57"),"HTML"===e.nodeName&&r("58"),"string"==typeof t){var n=i(t,s)[0];e.parentNode.replaceChild(n,e)}else o.replaceChildWithTree(e,t)}});e.exports=l},6788:e=>{"use strict";e.exports=["ResponderEventPlugin","SimpleEventPlugin","TapEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin"]},4225:(e,t,n)=>{"use strict";var r=n(5236),o=n(5372),a=n(8091),i={mouseEnter:{registrationName:"onMouseEnter",dependencies:["topMouseOut","topMouseOver"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["topMouseOut","topMouseOver"]}},s={eventTypes:i,extractEvents:function(e,t,n,s){if("topMouseOver"===e&&(n.relatedTarget||n.fromElement))return null;if("topMouseOut"!==e&&"topMouseOver"!==e)return null;var l,c,u;if(s.window===s)l=s;else{var p=s.ownerDocument;l=p?p.defaultView||p.parentWindow:window}if("topMouseOut"===e){c=t;var d=n.relatedTarget||n.toElement;u=d?o.getClosestInstanceFromNode(d):null}else c=null,u=t;if(c===u)return null;var f=null==c?l:o.getNodeFromInstance(c),h=null==u?l:o.getNodeFromInstance(u),g=a.getPooled(i.mouseLeave,c,n,s);g.type="mouseleave",g.target=f,g.relatedTarget=h;var b=a.getPooled(i.mouseEnter,u,n,s);return b.type="mouseenter",b.target=h,b.relatedTarget=f,r.accumulateEnterLeaveDispatches(g,b,c,u),[g,b]}};e.exports=s},458:(e,t,n)=>{"use strict";var r=n(3349),o=n(8593),a=n(2964),i=n(2875),s=n(744),l=n(2900),c=(n(7081),{}),u=null,p=function(e,t){e&&(a.executeDispatchesInOrder(e,t),e.isPersistent()||e.constructor.release(e))},d=function(e){return p(e,!0)},f=function(e){return p(e,!1)},h=function(e){return"."+e._rootNodeID},g={injection:{injectEventPluginOrder:o.injectEventPluginOrder,injectEventPluginsByName:o.injectEventPluginsByName},putListener:function(e,t,n){"function"!=typeof n&&r("94",t,typeof n);var a=h(e);(c[t]||(c[t]={}))[a]=n;var i=o.registrationNameModules[t];i&&i.didPutListener&&i.didPutListener(e,t,n)},getListener:function(e,t){var n=c[t];if(function(e,t,n){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":return!(!n.disabled||(r=t,"button"!==r&&"input"!==r&&"select"!==r&&"textarea"!==r));default:return!1}var r}(t,e._currentElement.type,e._currentElement.props))return null;var r=h(e);return n&&n[r]},deleteListener:function(e,t){var n=o.registrationNameModules[t];n&&n.willDeleteListener&&n.willDeleteListener(e,t);var r=c[t];r&&delete r[h(e)]},deleteAllListeners:function(e){var t=h(e);for(var n in c)if(c.hasOwnProperty(n)&&c[n][t]){var r=o.registrationNameModules[n];r&&r.willDeleteListener&&r.willDeleteListener(e,n),delete c[n][t]}},extractEvents:function(e,t,n,r){for(var a,i=o.plugins,l=0;l<i.length;l++){var c=i[l];if(c){var u=c.extractEvents(e,t,n,r);u&&(a=s(a,u))}}return a},enqueueEvents:function(e){e&&(u=s(u,e))},processEventQueue:function(e){var t=u;u=null,l(t,e?d:f),u&&r("95"),i.rethrowCaughtError()},__purge:function(){c={}},__getListenerBank:function(){return c}};e.exports=g},8593:(e,t,n)=>{"use strict";var r=n(3349),o=(n(7081),null),a={};function i(){if(o)for(var e in a){var t=a[e],n=o.indexOf(e);if(n>-1||r("96",e),!c.plugins[n]){t.extractEvents||r("97",e),c.plugins[n]=t;var i=t.eventTypes;for(var l in i)s(i[l],t,l)||r("98",l,e)}}}function s(e,t,n){c.eventNameDispatchConfigs.hasOwnProperty(n)&&r("99",n),c.eventNameDispatchConfigs[n]=e;var o=e.phasedRegistrationNames;if(o){for(var a in o)o.hasOwnProperty(a)&&l(o[a],t,n);return!0}return!!e.registrationName&&(l(e.registrationName,t,n),!0)}function l(e,t,n){c.registrationNameModules[e]&&r("100",e),c.registrationNameModules[e]=t,c.registrationNameDependencies[e]=t.eventTypes[n].dependencies}var c={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},possibleRegistrationNames:null,injectEventPluginOrder:function(e){o&&r("101"),o=Array.prototype.slice.call(e),i()},injectEventPluginsByName:function(e){var t=!1;for(var n in e)if(e.hasOwnProperty(n)){var o=e[n];a.hasOwnProperty(n)&&a[n]===o||(a[n]&&r("102",n),a[n]=o,t=!0)}t&&i()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return c.registrationNameModules[t.registrationName]||null;if(void 0!==t.phasedRegistrationNames){var n=t.phasedRegistrationNames;for(var r in n)if(n.hasOwnProperty(r)){var o=c.registrationNameModules[n[r]];if(o)return o}}return null},_resetEventPlugins:function(){for(var e in o=null,a)a.hasOwnProperty(e)&&delete a[e];c.plugins.length=0;var t=c.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var r=c.registrationNameModules;for(var i in r)r.hasOwnProperty(i)&&delete r[i]}};e.exports=c},2964:(e,t,n)=>{"use strict";var r,o,a=n(3349),i=n(2875);function s(e,t,n,r){var o=e.type||"unknown-event";e.currentTarget=l.getNodeFromInstance(r),t?i.invokeGuardedCallbackWithCatch(o,n,e):i.invokeGuardedCallback(o,n,e),e.currentTarget=null}n(7081),n(2264);var l={isEndish:function(e){return"topMouseUp"===e||"topTouchEnd"===e||"topTouchCancel"===e},isMoveish:function(e){return"topMouseMove"===e||"topTouchMove"===e},isStartish:function(e){return"topMouseDown"===e||"topTouchStart"===e},executeDirectDispatch:function(e){var t=e._dispatchListeners,n=e._dispatchInstances;Array.isArray(t)&&a("103"),e.currentTarget=t?l.getNodeFromInstance(n):null;var r=t?t(e):null;return e.currentTarget=null,e._dispatchListeners=null,e._dispatchInstances=null,r},executeDispatchesInOrder:function(e,t){var n=e._dispatchListeners,r=e._dispatchInstances;if(Array.isArray(n))for(var o=0;o<n.length&&!e.isPropagationStopped();o++)s(e,t,n[o],r[o]);else n&&s(e,t,n,r);e._dispatchListeners=null,e._dispatchInstances=null},executeDispatchesInOrderStopAtTrue:function(e){var t=function(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t)){for(var r=0;r<t.length&&!e.isPropagationStopped();r++)if(t[r](e,n[r]))return n[r]}else if(t&&t(e,n))return n;return null}(e);return e._dispatchInstances=null,e._dispatchListeners=null,t},hasDispatches:function(e){return!!e._dispatchListeners},getInstanceFromNode:function(e){return r.getInstanceFromNode(e)},getNodeFromInstance:function(e){return r.getNodeFromInstance(e)},isAncestor:function(e,t){return o.isAncestor(e,t)},getLowestCommonAncestor:function(e,t){return o.getLowestCommonAncestor(e,t)},getParentInstance:function(e){return o.getParentInstance(e)},traverseTwoPhase:function(e,t,n){return o.traverseTwoPhase(e,t,n)},traverseEnterLeave:function(e,t,n,r,a){return o.traverseEnterLeave(e,t,n,r,a)},injection:{injectComponentTree:function(e){r=e},injectTreeTraversal:function(e){o=e}}};e.exports=l},5236:(e,t,n)=>{"use strict";var r=n(458),o=n(2964),a=n(744),i=n(2900),s=(n(2264),r.getListener);function l(e,t,n){var r=function(e,t,n){var r=t.dispatchConfig.phasedRegistrationNames[n];return s(e,r)}(e,n,t);r&&(n._dispatchListeners=a(n._dispatchListeners,r),n._dispatchInstances=a(n._dispatchInstances,e))}function c(e){e&&e.dispatchConfig.phasedRegistrationNames&&o.traverseTwoPhase(e._targetInst,l,e)}function u(e){if(e&&e.dispatchConfig.phasedRegistrationNames){var t=e._targetInst,n=t?o.getParentInstance(t):null;o.traverseTwoPhase(n,l,e)}}function p(e,t,n){if(n&&n.dispatchConfig.registrationName){var r=n.dispatchConfig.registrationName,o=s(e,r);o&&(n._dispatchListeners=a(n._dispatchListeners,o),n._dispatchInstances=a(n._dispatchInstances,e))}}function d(e){e&&e.dispatchConfig.registrationName&&p(e._targetInst,0,e)}var f={accumulateTwoPhaseDispatches:function(e){i(e,c)},accumulateTwoPhaseDispatchesSkipTarget:function(e){i(e,u)},accumulateDirectDispatches:function(e){i(e,d)},accumulateEnterLeaveDispatches:function(e,t,n,r){o.traverseEnterLeave(n,r,p,e,t)}};e.exports=f},6936:(e,t,n)=>{"use strict";var r=n(2525),o=n(261),a=n(5228);function i(e){this._root=e,this._startText=this.getText(),this._fallbackText=null}r(i.prototype,{destructor:function(){this._root=null,this._startText=null,this._fallbackText=null},getText:function(){return"value"in this._root?this._root.value:this._root[a()]},getData:function(){if(this._fallbackText)return this._fallbackText;var e,t,n=this._startText,r=n.length,o=this.getText(),a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);var s=t>1?1-t:void 0;return this._fallbackText=o.slice(e,s),this._fallbackText}}),o.addPoolingTo(i),e.exports=i},8098:(e,t,n)=>{"use strict";var r=n(2101),o=r.injection.MUST_USE_PROPERTY,a=r.injection.HAS_BOOLEAN_VALUE,i=r.injection.HAS_NUMERIC_VALUE,s=r.injection.HAS_POSITIVE_NUMERIC_VALUE,l=r.injection.HAS_OVERLOADED_BOOLEAN_VALUE,c={isCustomAttribute:RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+r.ATTRIBUTE_NAME_CHAR+"]*$")),Properties:{accept:0,acceptCharset:0,accessKey:0,action:0,allowFullScreen:a,allowTransparency:0,alt:0,as:0,async:a,autoComplete:0,autoPlay:a,capture:a,cellPadding:0,cellSpacing:0,charSet:0,challenge:0,checked:o|a,cite:0,classID:0,className:0,cols:s,colSpan:0,content:0,contentEditable:0,contextMenu:0,controls:a,coords:0,crossOrigin:0,data:0,dateTime:0,default:a,defer:a,dir:0,disabled:a,download:l,draggable:0,encType:0,form:0,formAction:0,formEncType:0,formMethod:0,formNoValidate:a,formTarget:0,frameBorder:0,headers:0,height:0,hidden:a,high:0,href:0,hrefLang:0,htmlFor:0,httpEquiv:0,icon:0,id:0,inputMode:0,integrity:0,is:0,keyParams:0,keyType:0,kind:0,label:0,lang:0,list:0,loop:a,low:0,manifest:0,marginHeight:0,marginWidth:0,max:0,maxLength:0,media:0,mediaGroup:0,method:0,min:0,minLength:0,multiple:o|a,muted:o|a,name:0,nonce:0,noValidate:a,open:a,optimum:0,pattern:0,placeholder:0,playsInline:a,poster:0,preload:0,profile:0,radioGroup:0,readOnly:a,referrerPolicy:0,rel:0,required:a,reversed:a,role:0,rows:s,rowSpan:i,sandbox:0,scope:0,scoped:a,scrolling:0,seamless:a,selected:o|a,shape:0,size:s,sizes:0,span:s,spellCheck:0,src:0,srcDoc:0,srcLang:0,srcSet:0,start:i,step:0,style:0,summary:0,tabIndex:0,target:0,title:0,type:0,useMap:0,value:0,width:0,wmode:0,wrap:0,about:0,datatype:0,inlist:0,prefix:0,property:0,resource:0,typeof:0,vocab:0,autoCapitalize:0,autoCorrect:0,autoSave:0,color:0,itemProp:0,itemScope:a,itemType:0,itemID:0,itemRef:0,results:0,security:0,unselectable:0},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{}};e.exports=c},4993:e=>{"use strict";e.exports={escape:function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))},unescape:function(e){var t={"=0":"=","=2":":"};return(""+("."===e[0]&&"$"===e[1]?e.substring(2):e.substring(1))).replace(/(=0|=2)/g,(function(e){return t[e]}))}}},9430:(e,t,n)=>{"use strict";var r=n(3349),o=n(3467),a=n(6681),i=(n(7081),n(2264),{button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0});function s(e){null!=e.checkedLink&&null!=e.valueLink&&r("87")}function l(e){s(e),(null!=e.value||null!=e.onChange)&&r("88")}function c(e){s(e),(null!=e.checked||null!=e.onChange)&&r("89")}var u={value:function(e,t,n){return!e[t]||i[e.type]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")},checked:function(e,t,n){return!e[t]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")},onChange:o.PropTypes.func},p={};function d(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}var f={checkPropTypes:function(e,t,n){for(var r in u){if(u.hasOwnProperty(r))var o=u[r](t,r,e,"prop",null,a);o instanceof Error&&!(o.message in p)&&(p[o.message]=!0,d(n))}},getValue:function(e){return e.valueLink?(l(e),e.valueLink.value):e.value},getChecked:function(e){return e.checkedLink?(c(e),e.checkedLink.value):e.checked},executeOnChange:function(e,t){return e.valueLink?(l(e),e.valueLink.requestChange(t.target.value)):e.checkedLink?(c(e),e.checkedLink.requestChange(t.target.checked)):e.onChange?e.onChange.call(void 0,t):void 0}};e.exports=f},261:(e,t,n)=>{"use strict";var r=n(3349),o=(n(7081),function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)}),a=function(e){var t=this;e instanceof t||r("25"),e.destructor(),t.instancePool.length<t.poolSize&&t.instancePool.push(e)},i=o,s={addPoolingTo:function(e,t){var n=e;return n.instancePool=[],n.getPooled=t||i,n.poolSize||(n.poolSize=10),n.release=a,n},oneArgumentPooler:o,twoArgumentPooler:function(e,t){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,e,t),r}return new n(e,t)},threeArgumentPooler:function(e,t,n){var r=this;if(r.instancePool.length){var o=r.instancePool.pop();return r.call(o,e,t,n),o}return new r(e,t,n)},fourArgumentPooler:function(e,t,n,r){var o=this;if(o.instancePool.length){var a=o.instancePool.pop();return o.call(a,e,t,n,r),a}return new o(e,t,n,r)}};e.exports=s},9800:(e,t,n)=>{"use strict";var r,o=n(2525),a=n(8593),i=n(5499),s=n(5059),l=n(5079),c=n(7371),u={},p=!1,d=0,f={topAbort:"abort",topAnimationEnd:l("animationend")||"animationend",topAnimationIteration:l("animationiteration")||"animationiteration",topAnimationStart:l("animationstart")||"animationstart",topBlur:"blur",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topChange:"change",topClick:"click",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seeking",topSelectionChange:"selectionchange",topStalled:"stalled",topSuspend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topTransitionEnd:l("transitionend")||"transitionend",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},h="_reactListenersID"+String(Math.random()).slice(2),g=o({},i,{ReactEventListener:null,injection:{injectReactEventListener:function(e){e.setHandleTopLevel(g.handleTopLevel),g.ReactEventListener=e}},setEnabled:function(e){g.ReactEventListener&&g.ReactEventListener.setEnabled(e)},isEnabled:function(){return!(!g.ReactEventListener||!g.ReactEventListener.isEnabled())},listenTo:function(e,t){for(var n=t,r=function(e){return Object.prototype.hasOwnProperty.call(e,h)||(e[h]=d++,u[e[h]]={}),u[e[h]]}(n),o=a.registrationNameDependencies[e],i=0;i<o.length;i++){var s=o[i];r.hasOwnProperty(s)&&r[s]||("topWheel"===s?c("wheel")?g.ReactEventListener.trapBubbledEvent("topWheel","wheel",n):c("mousewheel")?g.ReactEventListener.trapBubbledEvent("topWheel","mousewheel",n):g.ReactEventListener.trapBubbledEvent("topWheel","DOMMouseScroll",n):"topScroll"===s?c("scroll",!0)?g.ReactEventListener.trapCapturedEvent("topScroll","scroll",n):g.ReactEventListener.trapBubbledEvent("topScroll","scroll",g.ReactEventListener.WINDOW_HANDLE):"topFocus"===s||"topBlur"===s?(c("focus",!0)?(g.ReactEventListener.trapCapturedEvent("topFocus","focus",n),g.ReactEventListener.trapCapturedEvent("topBlur","blur",n)):c("focusin")&&(g.ReactEventListener.trapBubbledEvent("topFocus","focusin",n),g.ReactEventListener.trapBubbledEvent("topBlur","focusout",n)),r.topBlur=!0,r.topFocus=!0):f.hasOwnProperty(s)&&g.ReactEventListener.trapBubbledEvent(s,f[s],n),r[s]=!0)}},trapBubbledEvent:function(e,t,n){return g.ReactEventListener.trapBubbledEvent(e,t,n)},trapCapturedEvent:function(e,t,n){return g.ReactEventListener.trapCapturedEvent(e,t,n)},supportsEventPageXY:function(){if(!document.createEvent)return!1;var e=document.createEvent("MouseEvent");return null!=e&&"pageX"in e},ensureScrollValueMonitoring:function(){if(void 0===r&&(r=g.supportsEventPageXY()),!r&&!p){var e=s.refreshScrollValues;g.ReactEventListener.monitorScrollValue(e),p=!0}}});e.exports=g},7133:(e,t,n)=>{"use strict";var r=n(6627),o=n(427),a=(n(4993),n(4016)),i=n(578);function s(e,t,n,r){var a=void 0===e[n];null!=t&&a&&(e[n]=o(t,!0))}n(2264);var l={instantiateChildren:function(e,t,n,r){if(null==e)return null;var o={};return i(e,s,o),o},updateChildren:function(e,t,n,i,s,l,c,u,p){if(t||e){var d,f;for(d in t)if(t.hasOwnProperty(d)){var h=(f=e&&e[d])&&f._currentElement,g=t[d];if(null!=f&&a(h,g))r.receiveComponent(f,g,s,u),t[d]=f;else{f&&(i[d]=r.getHostNode(f),r.unmountComponent(f,!1));var b=o(g,!0);t[d]=b;var m=r.mountComponent(b,s,l,c,u,p);n.push(m)}}for(d in e)!e.hasOwnProperty(d)||t&&t.hasOwnProperty(d)||(f=e[d],i[d]=r.getHostNode(f),r.unmountComponent(f,!1))}},unmountChildren:function(e,t){for(var n in e)if(e.hasOwnProperty(n)){var o=e[n];r.unmountComponent(o,t)}}};e.exports=l},6097:(e,t,n)=>{"use strict";var r=n(4021),o={processChildrenUpdates:n(7204).dangerouslyProcessChildrenUpdates,replaceNodeWithMarkup:r.dangerouslyReplaceNodeWithMarkup};e.exports=o},59:(e,t,n)=>{"use strict";var r=n(3349),o=(n(7081),!1),a={replaceNodeWithMarkup:null,processChildrenUpdates:null,injection:{injectEnvironment:function(e){o&&r("104"),a.replaceNodeWithMarkup=e.replaceNodeWithMarkup,a.processChildrenUpdates=e.processChildrenUpdates,o=!0}}};e.exports=a},8097:(e,t,n)=>{"use strict";var r=n(3349),o=n(2525),a=n(3467),i=n(59),s=n(3787),l=n(2875),c=n(5994),u=(n(3734),n(5174)),p=n(6627),d=n(5117),f=(n(7081),n(4366)),h=n(4016),g=(n(2264),0);function b(e){}b.prototype.render=function(){var e=c.get(this)._currentElement.type,t=e(this.props,this.context,this.updater);return t};var m=1,v={construct:function(e){this._currentElement=e,this._rootNodeID=0,this._compositeType=null,this._instance=null,this._hostParent=null,this._hostContainerInfo=null,this._updateBatchNumber=null,this._pendingElement=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._renderedNodeType=null,this._renderedComponent=null,this._context=null,this._mountOrder=0,this._topLevelWrapper=null,this._pendingCallbacks=null,this._calledComponentWillUnmount=!1},mountComponent:function(e,t,n,o){this._context=o,this._mountOrder=m++,this._hostParent=t,this._hostContainerInfo=n;var i,s=this._currentElement.props,l=this._processContext(o),u=this._currentElement.type,p=e.getUpdateQueue(),f=function(e){return!(!e.prototype||!e.prototype.isReactComponent)}(u),h=this._constructComponent(f,s,l,p);f||null!=h&&null!=h.render?function(e){return!(!e.prototype||!e.prototype.isPureReactComponent)}(u)?this._compositeType=1:this._compositeType=g:(i=h,null===h||!1===h||a.isValidElement(h)||r("105",u.displayName||u.name||"Component"),h=new b(u),this._compositeType=2),h.props=s,h.context=l,h.refs=d,h.updater=p,this._instance=h,c.set(h,this);var v,y=h.state;return void 0===y&&(h.state=y=null),("object"!=typeof y||Array.isArray(y))&&r("106",this.getName()||"ReactCompositeComponent"),this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,v=h.unstable_handleError?this.performInitialMountWithErrorHandling(i,t,n,e,o):this.performInitialMount(i,t,n,e,o),h.componentDidMount&&e.getReactMountReady().enqueue(h.componentDidMount,h),v},_constructComponent:function(e,t,n,r){return this._constructComponentWithoutOwner(e,t,n,r)},_constructComponentWithoutOwner:function(e,t,n,r){var o=this._currentElement.type;return e?new o(t,n,r):o(t,n,r)},performInitialMountWithErrorHandling:function(e,t,n,r,o){var a,i=r.checkpoint();try{a=this.performInitialMount(e,t,n,r,o)}catch(s){r.rollback(i),this._instance.unstable_handleError(s),this._pendingStateQueue&&(this._instance.state=this._processPendingState(this._instance.props,this._instance.context)),i=r.checkpoint(),this._renderedComponent.unmountComponent(!0),r.rollback(i),a=this.performInitialMount(e,t,n,r,o)}return a},performInitialMount:function(e,t,n,r,o){var a=this._instance;a.componentWillMount&&(a.componentWillMount(),this._pendingStateQueue&&(a.state=this._processPendingState(a.props,a.context))),void 0===e&&(e=this._renderValidatedComponent());var i=u.getType(e);this._renderedNodeType=i;var s=this._instantiateReactComponent(e,i!==u.EMPTY);return this._renderedComponent=s,p.mountComponent(s,r,t,n,this._processChildContext(o),0)},getHostNode:function(){return p.getHostNode(this._renderedComponent)},unmountComponent:function(e){if(this._renderedComponent){var t=this._instance;if(t.componentWillUnmount&&!t._calledComponentWillUnmount)if(t._calledComponentWillUnmount=!0,e){var n=this.getName()+".componentWillUnmount()";l.invokeGuardedCallback(n,t.componentWillUnmount.bind(t))}else t.componentWillUnmount();this._renderedComponent&&(p.unmountComponent(this._renderedComponent,e),this._renderedNodeType=null,this._renderedComponent=null,this._instance=null),this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._pendingCallbacks=null,this._pendingElement=null,this._context=null,this._rootNodeID=0,this._topLevelWrapper=null,c.remove(t)}},_maskContext:function(e){var t=this._currentElement.type.contextTypes;if(!t)return d;var n={};for(var r in t)n[r]=e[r];return n},_processContext:function(e){return this._maskContext(e)},_processChildContext:function(e){var t,n=this._currentElement.type,a=this._instance;if(a.getChildContext&&(t=a.getChildContext()),t){for(var i in"object"!=typeof n.childContextTypes&&r("107",this.getName()||"ReactCompositeComponent"),t)i in n.childContextTypes||r("108",this.getName()||"ReactCompositeComponent",i);return o({},e,t)}return e},_checkContextTypes:function(e,t,n){},receiveComponent:function(e,t,n){var r=this._currentElement,o=this._context;this._pendingElement=null,this.updateComponent(t,r,e,o,n)},performUpdateIfNecessary:function(e){null!=this._pendingElement?p.receiveComponent(this,this._pendingElement,e,this._context):null!==this._pendingStateQueue||this._pendingForceUpdate?this.updateComponent(e,this._currentElement,this._currentElement,this._context,this._context):this._updateBatchNumber=null},updateComponent:function(e,t,n,o,a){var i=this._instance;null==i&&r("136",this.getName()||"ReactCompositeComponent");var s,l=!1;this._context===a?s=i.context:(s=this._processContext(a),l=!0);var c=t.props,u=n.props;t!==n&&(l=!0),l&&i.componentWillReceiveProps&&i.componentWillReceiveProps(u,s);var p=this._processPendingState(u,s),d=!0;this._pendingForceUpdate||(i.shouldComponentUpdate?d=i.shouldComponentUpdate(u,p,s):1===this._compositeType&&(d=!f(c,u)||!f(i.state,p))),this._updateBatchNumber=null,d?(this._pendingForceUpdate=!1,this._performComponentUpdate(n,u,p,s,e,a)):(this._currentElement=n,this._context=a,i.props=u,i.state=p,i.context=s)},_processPendingState:function(e,t){var n=this._instance,r=this._pendingStateQueue,a=this._pendingReplaceState;if(this._pendingReplaceState=!1,this._pendingStateQueue=null,!r)return n.state;if(a&&1===r.length)return r[0];for(var i=o({},a?r[0]:n.state),s=a?1:0;s<r.length;s++){var l=r[s];o(i,"function"==typeof l?l.call(n,i,e,t):l)}return i},_performComponentUpdate:function(e,t,n,r,o,a){var i,s,l,c=this._instance,u=Boolean(c.componentDidUpdate);u&&(i=c.props,s=c.state,l=c.context),c.componentWillUpdate&&c.componentWillUpdate(t,n,r),this._currentElement=e,this._context=a,c.props=t,c.state=n,c.context=r,this._updateRenderedComponent(o,a),u&&o.getReactMountReady().enqueue(c.componentDidUpdate.bind(c,i,s,l),c)},_updateRenderedComponent:function(e,t){var n=this._renderedComponent,r=n._currentElement,o=this._renderValidatedComponent();if(h(r,o))p.receiveComponent(n,o,e,this._processChildContext(t));else{var a=p.getHostNode(n);p.unmountComponent(n,!1);var i=u.getType(o);this._renderedNodeType=i;var s=this._instantiateReactComponent(o,i!==u.EMPTY);this._renderedComponent=s;var l=p.mountComponent(s,e,this._hostParent,this._hostContainerInfo,this._processChildContext(t),0);this._replaceNodeWithMarkup(a,l,n)}},_replaceNodeWithMarkup:function(e,t,n){i.replaceNodeWithMarkup(e,t,n)},_renderValidatedComponentWithoutOwnerOrContext:function(){return this._instance.render()},_renderValidatedComponent:function(){var e;if(2!==this._compositeType){s.current=this;try{e=this._renderValidatedComponentWithoutOwnerOrContext()}finally{s.current=null}}else e=this._renderValidatedComponentWithoutOwnerOrContext();return null===e||!1===e||a.isValidElement(e)||r("109",this.getName()||"ReactCompositeComponent"),e},attachRef:function(e,t){var n=this.getPublicInstance();null==n&&r("110");var o=t.getPublicInstance();(n.refs===d?n.refs={}:n.refs)[e]=o},detachRef:function(e){delete this.getPublicInstance().refs[e]},getName:function(){var e=this._currentElement.type,t=this._instance&&this._instance.constructor;return e.displayName||t&&t.displayName||e.name||t&&t.name||null},getPublicInstance:function(){var e=this._instance;return 2===this._compositeType?null:e},_instantiateReactComponent:null};e.exports=v},4295:(e,t,n)=>{"use strict";var r=n(5372),o=n(2099),a=n(423),i=n(6627),s=n(3335),l=n(2154),c=n(7152),u=n(7218),p=n(7660);n(2264),o.inject();var d={findDOMNode:c,render:a.render,unmountComponentAtNode:a.unmountComponentAtNode,version:l,unstable_batchedUpdates:s.batchedUpdates,unstable_renderSubtreeIntoContainer:p};"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject&&__REACT_DEVTOOLS_GLOBAL_HOOK__.inject({ComponentTree:{getClosestInstanceFromNode:r.getClosestInstanceFromNode,getNodeFromInstance:function(e){return e._renderedComponent&&(e=u(e)),e?r.getNodeFromInstance(e):null}},Mount:a,Reconciler:i}),e.exports=d},800:(e,t,n)=>{"use strict";var r=n(3349),o=n(2525),a=n(9527),i=n(3189),s=n(9079),l=n(8806),c=n(2101),u=n(5386),p=n(458),d=n(8593),f=n(9800),h=n(8868),g=n(5372),b=n(5558),m=n(1845),v=n(8802),y=n(3681),_=(n(3734),n(8484)),x=n(8630),w=(n(3743),n(356)),k=(n(7081),n(7371),n(4366),n(4496),n(2264),h),E=p.deleteListener,C=g.getNodeFromInstance,A=f.listenTo,P=d.registrationNameModules,T={string:!0,number:!0},S="style",O={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null};function M(e,t){t&&(z[e._tag]&&(null!=t.children||null!=t.dangerouslySetInnerHTML)&&r("137",e._tag,e._currentElement._owner?" Check the render method of "+e._currentElement._owner.getName()+".":""),null!=t.dangerouslySetInnerHTML&&(null!=t.children&&r("60"),"object"==typeof t.dangerouslySetInnerHTML&&"__html"in t.dangerouslySetInnerHTML||r("61")),null!=t.style&&"object"!=typeof t.style&&r("62",function(e){if(e){var t=e._currentElement._owner||null;if(t){var n=t.getName();if(n)return" This DOM node was rendered by `"+n+"`."}}return""}(e)))}function R(e,t,n,r){if(!(r instanceof x)){var o=e._hostContainerInfo,a=o._node&&11===o._node.nodeType?o._node:o._ownerDocument;A(t,a),r.getReactMountReady().enqueue(N,{inst:e,registrationName:t,listener:n})}}function N(){var e=this;p.putListener(e.inst,e.registrationName,e.listener)}function D(){b.postMountWrapper(this)}function L(){y.postMountWrapper(this)}function I(){m.postMountWrapper(this)}var j={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"};function F(){var e=this;e._rootNodeID||r("63");var t=C(e);switch(t||r("64"),e._tag){case"iframe":case"object":e._wrapperState.listeners=[f.trapBubbledEvent("topLoad","load",t)];break;case"video":case"audio":for(var n in e._wrapperState.listeners=[],j)j.hasOwnProperty(n)&&e._wrapperState.listeners.push(f.trapBubbledEvent(n,j[n],t));break;case"source":e._wrapperState.listeners=[f.trapBubbledEvent("topError","error",t)];break;case"img":e._wrapperState.listeners=[f.trapBubbledEvent("topError","error",t),f.trapBubbledEvent("topLoad","load",t)];break;case"form":e._wrapperState.listeners=[f.trapBubbledEvent("topReset","reset",t),f.trapBubbledEvent("topSubmit","submit",t)];break;case"input":case"select":case"textarea":e._wrapperState.listeners=[f.trapBubbledEvent("topInvalid","invalid",t)]}}function U(){v.postUpdateWrapper(this)}var q={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},B={listing:!0,pre:!0,textarea:!0},z=o({menuitem:!0},q),W=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,H={},V={}.hasOwnProperty;function G(e,t){return e.indexOf("-")>=0||null!=t.is}var K=1;function Y(e){var t=e.type;!function(e){V.call(H,e)||(W.test(e)||r("65",e),H[e]=!0)}(t),this._currentElement=e,this._tag=t.toLowerCase(),this._namespaceURI=null,this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._hostNode=null,this._hostParent=null,this._rootNodeID=0,this._domID=0,this._hostContainerInfo=null,this._wrapperState=null,this._topLevelWrapper=null,this._flags=0}Y.displayName="ReactDOMComponent",Y.Mixin={mountComponent:function(e,t,n,r){this._rootNodeID=K++,this._domID=n._idCounter++,this._hostParent=t,this._hostContainerInfo=n;var o,i,c,p=this._currentElement.props;switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":this._wrapperState={listeners:null},e.getReactMountReady().enqueue(F,this);break;case"input":b.mountWrapper(this,p,t),p=b.getHostProps(this,p),e.getReactMountReady().enqueue(F,this);break;case"option":m.mountWrapper(this,p,t),p=m.getHostProps(this,p);break;case"select":v.mountWrapper(this,p,t),p=v.getHostProps(this,p),e.getReactMountReady().enqueue(F,this);break;case"textarea":y.mountWrapper(this,p,t),p=y.getHostProps(this,p),e.getReactMountReady().enqueue(F,this)}if(M(this,p),null!=t?(o=t._namespaceURI,i=t._tag):n._tag&&(o=n._namespaceURI,i=n._tag),(null==o||o===l.svg&&"foreignobject"===i)&&(o=l.html),o===l.html&&("svg"===this._tag?o=l.svg:"math"===this._tag&&(o=l.mathml)),this._namespaceURI=o,e.useCreateElement){var d,f=n._ownerDocument;if(o===l.html)if("script"===this._tag){var h=f.createElement("div"),_=this._currentElement.type;h.innerHTML="<"+_+"></"+_+">",d=h.removeChild(h.firstChild)}else d=p.is?f.createElement(this._currentElement.type,p.is):f.createElement(this._currentElement.type);else d=f.createElementNS(o,this._currentElement.type);g.precacheNode(this,d),this._flags|=k.hasCachedChildNodes,this._hostParent||u.setAttributeForRoot(d),this._updateDOMProperties(null,p,e);var x=s(d);this._createInitialChildren(e,p,r,x),c=x}else{var w=this._createOpenTagMarkupAndPutListeners(e,p),E=this._createContentMarkup(e,p,r);c=!E&&q[this._tag]?w+"/>":w+">"+E+"</"+this._currentElement.type+">"}switch(this._tag){case"input":e.getReactMountReady().enqueue(D,this),p.autoFocus&&e.getReactMountReady().enqueue(a.focusDOMComponent,this);break;case"textarea":e.getReactMountReady().enqueue(L,this),p.autoFocus&&e.getReactMountReady().enqueue(a.focusDOMComponent,this);break;case"select":case"button":p.autoFocus&&e.getReactMountReady().enqueue(a.focusDOMComponent,this);break;case"option":e.getReactMountReady().enqueue(I,this)}return c},_createOpenTagMarkupAndPutListeners:function(e,t){var n="<"+this._currentElement.type;for(var r in t)if(t.hasOwnProperty(r)){var a=t[r];if(null!=a)if(P.hasOwnProperty(r))a&&R(this,r,a,e);else{r===S&&(a&&(a=this._previousStyleCopy=o({},t.style)),a=i.createMarkupForStyles(a,this));var s=null;null!=this._tag&&G(this._tag,t)?O.hasOwnProperty(r)||(s=u.createMarkupForCustomAttribute(r,a)):s=u.createMarkupForProperty(r,a),s&&(n+=" "+s)}}return e.renderToStaticMarkup?n:(this._hostParent||(n+=" "+u.createMarkupForRoot()),n+=" "+u.createMarkupForID(this._domID))},_createContentMarkup:function(e,t,n){var r="",o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&(r=o.__html);else{var a=T[typeof t.children]?t.children:null,i=null!=a?null:t.children;null!=a?r=w(a):null!=i&&(r=this.mountChildren(i,e,n).join(""))}return B[this._tag]&&"\n"===r.charAt(0)?"\n"+r:r},_createInitialChildren:function(e,t,n,r){var o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&s.queueHTML(r,o.__html);else{var a=T[typeof t.children]?t.children:null,i=null!=a?null:t.children;if(null!=a)""!==a&&s.queueText(r,a);else if(null!=i)for(var l=this.mountChildren(i,e,n),c=0;c<l.length;c++)s.queueChild(r,l[c])}},receiveComponent:function(e,t,n){var r=this._currentElement;this._currentElement=e,this.updateComponent(t,r,e,n)},updateComponent:function(e,t,n,r){var o=t.props,a=this._currentElement.props;switch(this._tag){case"input":o=b.getHostProps(this,o),a=b.getHostProps(this,a);break;case"option":o=m.getHostProps(this,o),a=m.getHostProps(this,a);break;case"select":o=v.getHostProps(this,o),a=v.getHostProps(this,a);break;case"textarea":o=y.getHostProps(this,o),a=y.getHostProps(this,a)}switch(M(this,a),this._updateDOMProperties(o,a,e),this._updateDOMChildren(o,a,e,r),this._tag){case"input":b.updateWrapper(this);break;case"textarea":y.updateWrapper(this);break;case"select":e.getReactMountReady().enqueue(U,this)}},_updateDOMProperties:function(e,t,n){var r,a,s;for(r in e)if(!t.hasOwnProperty(r)&&e.hasOwnProperty(r)&&null!=e[r])if(r===S){var l=this._previousStyleCopy;for(a in l)l.hasOwnProperty(a)&&((s=s||{})[a]="");this._previousStyleCopy=null}else P.hasOwnProperty(r)?e[r]&&E(this,r):G(this._tag,e)?O.hasOwnProperty(r)||u.deleteValueForAttribute(C(this),r):(c.properties[r]||c.isCustomAttribute(r))&&u.deleteValueForProperty(C(this),r);for(r in t){var p=t[r],d=r===S?this._previousStyleCopy:null!=e?e[r]:void 0;if(t.hasOwnProperty(r)&&p!==d&&(null!=p||null!=d))if(r===S)if(p?p=this._previousStyleCopy=o({},p):this._previousStyleCopy=null,d){for(a in d)!d.hasOwnProperty(a)||p&&p.hasOwnProperty(a)||((s=s||{})[a]="");for(a in p)p.hasOwnProperty(a)&&d[a]!==p[a]&&((s=s||{})[a]=p[a])}else s=p;else if(P.hasOwnProperty(r))p?R(this,r,p,n):d&&E(this,r);else if(G(this._tag,t))O.hasOwnProperty(r)||u.setValueForAttribute(C(this),r,p);else if(c.properties[r]||c.isCustomAttribute(r)){var f=C(this);null!=p?u.setValueForProperty(f,r,p):u.deleteValueForProperty(f,r)}}s&&i.setValueForStyles(C(this),s,this)},_updateDOMChildren:function(e,t,n,r){var o=T[typeof e.children]?e.children:null,a=T[typeof t.children]?t.children:null,i=e.dangerouslySetInnerHTML&&e.dangerouslySetInnerHTML.__html,s=t.dangerouslySetInnerHTML&&t.dangerouslySetInnerHTML.__html,l=null!=o?null:e.children,c=null!=a?null:t.children,u=null!=o||null!=i,p=null!=a||null!=s;null!=l&&null==c?this.updateChildren(null,n,r):u&&!p&&this.updateTextContent(""),null!=a?o!==a&&this.updateTextContent(""+a):null!=s?i!==s&&this.updateMarkup(""+s):null!=c&&this.updateChildren(c,n,r)},getHostNode:function(){return C(this)},unmountComponent:function(e){switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":var t=this._wrapperState.listeners;if(t)for(var n=0;n<t.length;n++)t[n].remove();break;case"html":case"head":case"body":r("66",this._tag)}this.unmountChildren(e),g.uncacheNode(this),p.deleteAllListeners(this),this._rootNodeID=0,this._domID=0,this._wrapperState=null},getPublicInstance:function(){return C(this)}},o(Y.prototype,Y.Mixin,_.Mixin),e.exports=Y},8868:e=>{"use strict";e.exports={hasCachedChildNodes:1}},5372:(e,t,n)=>{"use strict";var r=n(3349),o=n(2101),a=n(8868),i=(n(7081),o.ID_ATTRIBUTE_NAME),s=a,l="__reactInternalInstance$"+Math.random().toString(36).slice(2);function c(e,t){return 1===e.nodeType&&e.getAttribute(i)===String(t)||8===e.nodeType&&e.nodeValue===" react-text: "+t+" "||8===e.nodeType&&e.nodeValue===" react-empty: "+t+" "}function u(e){for(var t;t=e._renderedComponent;)e=t;return e}function p(e,t){var n=u(e);n._hostNode=t,t[l]=n}function d(e,t){if(!(e._flags&s.hasCachedChildNodes)){var n=e._renderedChildren,o=t.firstChild;e:for(var a in n)if(n.hasOwnProperty(a)){var i=n[a],l=u(i)._domID;if(0!==l){for(;null!==o;o=o.nextSibling)if(c(o,l)){p(i,o);continue e}r("32",l)}}e._flags|=s.hasCachedChildNodes}}function f(e){if(e[l])return e[l];for(var t,n,r=[];!e[l];){if(r.push(e),!e.parentNode)return null;e=e.parentNode}for(;e&&(n=e[l]);e=r.pop())t=n,r.length&&d(n,e);return t}var h={getClosestInstanceFromNode:f,getInstanceFromNode:function(e){var t=f(e);return null!=t&&t._hostNode===e?t:null},getNodeFromInstance:function(e){if(void 0===e._hostNode&&r("33"),e._hostNode)return e._hostNode;for(var t=[];!e._hostNode;)t.push(e),e._hostParent||r("34"),e=e._hostParent;for(;t.length;e=t.pop())d(e,e._hostNode);return e._hostNode},precacheChildNodes:d,precacheNode:p,uncacheNode:function(e){var t=e._hostNode;t&&(delete t[l],e._hostNode=null)}};e.exports=h},6650:(e,t,n)=>{"use strict";n(4496),e.exports=function(e,t){return{_topLevelWrapper:e,_idCounter:1,_ownerDocument:t?9===t.nodeType?t:t.ownerDocument:null,_node:t,_tag:t?t.nodeName.toLowerCase():null,_namespaceURI:t?t.namespaceURI:null}}},3697:(e,t,n)=>{"use strict";var r=n(2525),o=n(9079),a=n(5372),i=function(e){this._currentElement=null,this._hostNode=null,this._hostParent=null,this._hostContainerInfo=null,this._domID=0};r(i.prototype,{mountComponent:function(e,t,n,r){var i=n._idCounter++;this._domID=i,this._hostParent=t,this._hostContainerInfo=n;var s=" react-empty: "+this._domID+" ";if(e.useCreateElement){var l=n._ownerDocument.createComment(s);return a.precacheNode(this,l),o(l)}return e.renderToStaticMarkup?"":"\x3c!--"+s+"--\x3e"},receiveComponent:function(){},getHostNode:function(){return a.getNodeFromInstance(this)},unmountComponent:function(){a.uncacheNode(this)}}),e.exports=i},722:e=>{"use strict";e.exports={useCreateElement:!0,useFiber:!1}},7204:(e,t,n)=>{"use strict";var r=n(4021),o=n(5372),a={dangerouslyProcessChildrenUpdates:function(e,t){var n=o.getNodeFromInstance(e);r.processUpdates(n,t)}};e.exports=a},5558:(e,t,n)=>{"use strict";var r=n(3349),o=n(2525),a=n(5386),i=n(9430),s=n(5372),l=n(3335);function c(){this._rootNodeID&&u.updateWrapper(this)}n(7081),n(2264);var u={getHostProps:function(e,t){var n=i.getValue(t),r=i.getChecked(t);return o({type:void 0,step:void 0,min:void 0,max:void 0},t,{defaultChecked:void 0,defaultValue:void 0,value:null!=n?n:e._wrapperState.initialValue,checked:null!=r?r:e._wrapperState.initialChecked,onChange:e._wrapperState.onChange})},mountWrapper:function(e,t){var n=t.defaultValue;e._wrapperState={initialChecked:null!=t.checked?t.checked:t.defaultChecked,initialValue:null!=t.value?t.value:n,listeners:null,onChange:p.bind(e)}},updateWrapper:function(e){var t=e._currentElement.props,n=t.checked;null!=n&&a.setValueForProperty(s.getNodeFromInstance(e),"checked",n||!1);var r=s.getNodeFromInstance(e),o=i.getValue(t);if(null!=o){var l=""+o;l!==r.value&&(r.value=l)}else null==t.value&&null!=t.defaultValue&&r.defaultValue!==""+t.defaultValue&&(r.defaultValue=""+t.defaultValue),null==t.checked&&null!=t.defaultChecked&&(r.defaultChecked=!!t.defaultChecked)},postMountWrapper:function(e){var t=e._currentElement.props,n=s.getNodeFromInstance(e);switch(t.type){case"submit":case"reset":break;case"color":case"date":case"datetime":case"datetime-local":case"month":case"time":case"week":n.value="",n.value=n.defaultValue;break;default:n.value=n.value}var r=n.name;""!==r&&(n.name=""),n.defaultChecked=!n.defaultChecked,n.defaultChecked=!n.defaultChecked,""!==r&&(n.name=r)}};function p(e){var t=this._currentElement.props,n=i.executeOnChange(t,e);l.asap(c,this);var o=t.name;if("radio"===t.type&&null!=o){for(var a=s.getNodeFromInstance(this),u=a;u.parentNode;)u=u.parentNode;for(var p=u.querySelectorAll("input[name="+JSON.stringify(""+o)+'][type="radio"]'),d=0;d<p.length;d++){var f=p[d];if(f!==a&&f.form===a.form){var h=s.getInstanceFromNode(f);h||r("90"),l.asap(c,h)}}}return n}e.exports=u},1845:(e,t,n)=>{"use strict";var r=n(2525),o=n(3467),a=n(5372),i=n(8802),s=(n(2264),!1);function l(e){var t="";return o.Children.forEach(e,(function(e){null!=e&&("string"==typeof e||"number"==typeof e?t+=e:s||(s=!0))})),t}var c={mountWrapper:function(e,t,n){var r=null;if(null!=n){var o=n;"optgroup"===o._tag&&(o=o._hostParent),null!=o&&"select"===o._tag&&(r=i.getSelectValueContext(o))}var a,s=null;if(null!=r)if(a=null!=t.value?t.value+"":l(t.children),s=!1,Array.isArray(r)){for(var c=0;c<r.length;c++)if(""+r[c]===a){s=!0;break}}else s=""+r===a;e._wrapperState={selected:s}},postMountWrapper:function(e){var t=e._currentElement.props;null!=t.value&&a.getNodeFromInstance(e).setAttribute("value",t.value)},getHostProps:function(e,t){var n=r({selected:void 0,children:void 0},t);null!=e._wrapperState.selected&&(n.selected=e._wrapperState.selected);var o=l(t.children);return o&&(n.children=o),n}};e.exports=c},8802:(e,t,n)=>{"use strict";var r=n(2525),o=n(9430),a=n(5372),i=n(3335),s=(n(2264),!1);function l(){if(this._rootNodeID&&this._wrapperState.pendingUpdate){this._wrapperState.pendingUpdate=!1;var e=this._currentElement.props,t=o.getValue(e);null!=t&&c(this,Boolean(e.multiple),t)}}function c(e,t,n){var r,o,i=a.getNodeFromInstance(e).options;if(t){for(r={},o=0;o<n.length;o++)r[""+n[o]]=!0;for(o=0;o<i.length;o++){var s=r.hasOwnProperty(i[o].value);i[o].selected!==s&&(i[o].selected=s)}}else{for(r=""+n,o=0;o<i.length;o++)if(i[o].value===r)return void(i[o].selected=!0);i.length&&(i[0].selected=!0)}}var u={getHostProps:function(e,t){return r({},t,{onChange:e._wrapperState.onChange,value:void 0})},mountWrapper:function(e,t){var n=o.getValue(t);e._wrapperState={pendingUpdate:!1,initialValue:null!=n?n:t.defaultValue,listeners:null,onChange:p.bind(e),wasMultiple:Boolean(t.multiple)},void 0===t.value||void 0===t.defaultValue||s||(s=!0)},getSelectValueContext:function(e){return e._wrapperState.initialValue},postUpdateWrapper:function(e){var t=e._currentElement.props;e._wrapperState.initialValue=void 0;var n=e._wrapperState.wasMultiple;e._wrapperState.wasMultiple=Boolean(t.multiple);var r=o.getValue(t);null!=r?(e._wrapperState.pendingUpdate=!1,c(e,Boolean(t.multiple),r)):n!==Boolean(t.multiple)&&(null!=t.defaultValue?c(e,Boolean(t.multiple),t.defaultValue):c(e,Boolean(t.multiple),t.multiple?[]:""))}};function p(e){var t=this._currentElement.props,n=o.executeOnChange(t,e);return this._rootNodeID&&(this._wrapperState.pendingUpdate=!0),i.asap(l,this),n}e.exports=u},5149:(e,t,n)=>{"use strict";var r=n(4579),o=n(401),a=n(5228);function i(e,t,n,r){return e===n&&t===r}var s=r.canUseDOM&&"selection"in document&&!("getSelection"in window),l={getOffsets:s?function(e){var t=document.selection.createRange(),n=t.text.length,r=t.duplicate();r.moveToElementText(e),r.setEndPoint("EndToStart",t);var o=r.text.length;return{start:o,end:o+n}}:function(e){var t=window.getSelection&&window.getSelection();if(!t||0===t.rangeCount)return null;var n=t.anchorNode,r=t.anchorOffset,o=t.focusNode,a=t.focusOffset,s=t.getRangeAt(0);try{s.startContainer.nodeType,s.endContainer.nodeType}catch(e){return null}var l=i(t.anchorNode,t.anchorOffset,t.focusNode,t.focusOffset)?0:s.toString().length,c=s.cloneRange();c.selectNodeContents(e),c.setEnd(s.startContainer,s.startOffset);var u=i(c.startContainer,c.startOffset,c.endContainer,c.endOffset)?0:c.toString().length,p=u+l,d=document.createRange();d.setStart(n,r),d.setEnd(o,a);var f=d.collapsed;return{start:f?p:u,end:f?u:p}},setOffsets:s?function(e,t){var n,r,o=document.selection.createRange().duplicate();void 0===t.end?r=n=t.start:t.start>t.end?(n=t.end,r=t.start):(n=t.start,r=t.end),o.moveToElementText(e),o.moveStart("character",n),o.setEndPoint("EndToStart",o),o.moveEnd("character",r-n),o.select()}:function(e,t){if(window.getSelection){var n=window.getSelection(),r=e[a()].length,i=Math.min(t.start,r),s=void 0===t.end?i:Math.min(t.end,r);if(!n.extend&&i>s){var l=s;s=i,i=l}var c=o(e,i),u=o(e,s);if(c&&u){var p=document.createRange();p.setStart(c.node,c.offset),n.removeAllRanges(),i>s?(n.addRange(p),n.extend(u.node,u.offset)):(p.setEnd(u.node,u.offset),n.addRange(p))}}}};e.exports=l},9959:(e,t,n)=>{"use strict";var r=n(3349),o=n(2525),a=n(4021),i=n(9079),s=n(5372),l=n(356),c=(n(7081),n(4496),function(e){this._currentElement=e,this._stringText=""+e,this._hostNode=null,this._hostParent=null,this._domID=0,this._mountIndex=0,this._closingComment=null,this._commentNodes=null});o(c.prototype,{mountComponent:function(e,t,n,r){var o=n._idCounter++,a=" react-text: "+o+" ";if(this._domID=o,this._hostParent=t,e.useCreateElement){var c=n._ownerDocument,u=c.createComment(a),p=c.createComment(" /react-text "),d=i(c.createDocumentFragment());return i.queueChild(d,i(u)),this._stringText&&i.queueChild(d,i(c.createTextNode(this._stringText))),i.queueChild(d,i(p)),s.precacheNode(this,u),this._closingComment=p,d}var f=l(this._stringText);return e.renderToStaticMarkup?f:"\x3c!--"+a+"--\x3e"+f+"\x3c!-- /react-text --\x3e"},receiveComponent:function(e,t){if(e!==this._currentElement){this._currentElement=e;var n=""+e;if(n!==this._stringText){this._stringText=n;var r=this.getHostNode();a.replaceDelimitedText(r[0],r[1],n)}}},getHostNode:function(){var e=this._commentNodes;if(e)return e;if(!this._closingComment)for(var t=s.getNodeFromInstance(this).nextSibling;;){if(null==t&&r("67",this._domID),8===t.nodeType&&" /react-text "===t.nodeValue){this._closingComment=t;break}t=t.nextSibling}return e=[this._hostNode,this._closingComment],this._commentNodes=e,e},unmountComponent:function(){this._closingComment=null,this._commentNodes=null,s.uncacheNode(this)}}),e.exports=c},3681:(e,t,n)=>{"use strict";var r=n(3349),o=n(2525),a=n(9430),i=n(5372),s=n(3335);function l(){this._rootNodeID&&c.updateWrapper(this)}n(7081),n(2264);var c={getHostProps:function(e,t){return null!=t.dangerouslySetInnerHTML&&r("91"),o({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue,onChange:e._wrapperState.onChange})},mountWrapper:function(e,t){var n=a.getValue(t),o=n;if(null==n){var i=t.defaultValue,s=t.children;null!=s&&(null!=i&&r("92"),Array.isArray(s)&&(s.length<=1||r("93"),s=s[0]),i=""+s),null==i&&(i=""),o=i}e._wrapperState={initialValue:""+o,listeners:null,onChange:u.bind(e)}},updateWrapper:function(e){var t=e._currentElement.props,n=i.getNodeFromInstance(e),r=a.getValue(t);if(null!=r){var o=""+r;o!==n.value&&(n.value=o),null==t.defaultValue&&(n.defaultValue=o)}null!=t.defaultValue&&(n.defaultValue=t.defaultValue)},postMountWrapper:function(e){var t=i.getNodeFromInstance(e),n=t.textContent;n===e._wrapperState.initialValue&&(t.value=n)}};function u(e){var t=this._currentElement.props,n=a.executeOnChange(t,e);return s.asap(l,this),n}e.exports=c},2561:(e,t,n)=>{"use strict";var r=n(3349);function o(e,t){"_hostNode"in e||r("33"),"_hostNode"in t||r("33");for(var n=0,o=e;o;o=o._hostParent)n++;for(var a=0,i=t;i;i=i._hostParent)a++;for(;n-a>0;)e=e._hostParent,n--;for(;a-n>0;)t=t._hostParent,a--;for(var s=n;s--;){if(e===t)return e;e=e._hostParent,t=t._hostParent}return null}n(7081),e.exports={isAncestor:function(e,t){"_hostNode"in e||r("35"),"_hostNode"in t||r("35");for(;t;){if(t===e)return!0;t=t._hostParent}return!1},getLowestCommonAncestor:o,getParentInstance:function(e){return"_hostNode"in e||r("36"),e._hostParent},traverseTwoPhase:function(e,t,n){for(var r,o=[];e;)o.push(e),e=e._hostParent;for(r=o.length;r-- >0;)t(o[r],"captured",n);for(r=0;r<o.length;r++)t(o[r],"bubbled",n)},traverseEnterLeave:function(e,t,n,r,a){for(var i=e&&t?o(e,t):null,s=[];e&&e!==i;)s.push(e),e=e._hostParent;for(var l,c=[];t&&t!==i;)c.push(t),t=t._hostParent;for(l=0;l<s.length;l++)n(s[l],"bubbled",r);for(l=c.length;l-- >0;)n(c[l],"captured",a)}}},4892:(e,t,n)=>{"use strict";var r=n(2525),o=n(3335),a=n(8913),i=n(3743),s={initialize:i,close:function(){p.isBatchingUpdates=!1}},l=[{initialize:i,close:o.flushBatchedUpdates.bind(o)},s];function c(){this.reinitializeTransaction()}r(c.prototype,a,{getTransactionWrappers:function(){return l}});var u=new c,p={isBatchingUpdates:!1,batchedUpdates:function(e,t,n,r,o,a){var i=p.isBatchingUpdates;return p.isBatchingUpdates=!0,i?e(t,n,r,o,a):u.perform(e,null,t,n,r,o,a)}};e.exports=p},2099:(e,t,n)=>{"use strict";var r=n(9071),o=n(2419),a=n(6356),i=n(6788),s=n(4225),l=n(8098),c=n(6097),u=n(800),p=n(5372),d=n(3697),f=n(2561),h=n(9959),g=n(4892),b=n(3877),m=n(2390),v=n(4236),y=n(7538),_=n(7928),x=n(2371),w=!1;e.exports={inject:function(){w||(w=!0,m.EventEmitter.injectReactEventListener(b),m.EventPluginHub.injectEventPluginOrder(i),m.EventPluginUtils.injectComponentTree(p),m.EventPluginUtils.injectTreeTraversal(f),m.EventPluginHub.injectEventPluginsByName({SimpleEventPlugin:x,EnterLeaveEventPlugin:s,ChangeEventPlugin:a,SelectEventPlugin:_,BeforeInputEventPlugin:o}),m.HostComponent.injectGenericComponentClass(u),m.HostComponent.injectTextComponentClass(h),m.DOMProperty.injectDOMPropertyConfig(r),m.DOMProperty.injectDOMPropertyConfig(l),m.DOMProperty.injectDOMPropertyConfig(y),m.EmptyComponent.injectEmptyComponentFactory((function(e){return new d(e)})),m.Updates.injectReconcileTransaction(v),m.Updates.injectBatchingStrategy(g),m.Component.injectEnvironment(c))}}},8257:e=>{"use strict";var t="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;e.exports=t},3171:e=>{"use strict";var t,n={injectEmptyComponentFactory:function(e){t=e}},r={create:function(e){return t(e)}};r.injection=n,e.exports=r},2875:e=>{"use strict";var t=null;function n(e,n,r){try{n(r)}catch(e){null===t&&(t=e)}}var r={invokeGuardedCallback:n,invokeGuardedCallbackWithCatch:n,rethrowCaughtError:function(){if(t){var e=t;throw t=null,e}}};e.exports=r},5499:(e,t,n)=>{"use strict";var r=n(458),o={handleTopLevel:function(e,t,n,o){var a;a=r.extractEvents(e,t,n,o),r.enqueueEvents(a),r.processEventQueue(!1)}};e.exports=o},3877:(e,t,n)=>{"use strict";var r=n(2525),o=n(7759),a=n(4579),i=n(261),s=n(5372),l=n(3335),c=n(6056),u=n(3338);function p(e){for(;e._hostParent;)e=e._hostParent;var t=s.getNodeFromInstance(e).parentNode;return s.getClosestInstanceFromNode(t)}function d(e,t){this.topLevelType=e,this.nativeEvent=t,this.ancestors=[]}function f(e){var t=c(e.nativeEvent),n=s.getClosestInstanceFromNode(t),r=n;do{e.ancestors.push(r),r=r&&p(r)}while(r);for(var o=0;o<e.ancestors.length;o++)n=e.ancestors[o],g._handleTopLevel(e.topLevelType,n,e.nativeEvent,c(e.nativeEvent))}function h(e){e(u(window))}r(d.prototype,{destructor:function(){this.topLevelType=null,this.nativeEvent=null,this.ancestors.length=0}}),i.addPoolingTo(d,i.twoArgumentPooler);var g={_enabled:!0,_handleTopLevel:null,WINDOW_HANDLE:a.canUseDOM?window:null,setHandleTopLevel:function(e){g._handleTopLevel=e},setEnabled:function(e){g._enabled=!!e},isEnabled:function(){return g._enabled},trapBubbledEvent:function(e,t,n){return n?o.listen(n,t,g.dispatchEvent.bind(null,e)):null},trapCapturedEvent:function(e,t,n){return n?o.capture(n,t,g.dispatchEvent.bind(null,e)):null},monitorScrollValue:function(e){var t=h.bind(null,e);o.listen(window,"scroll",t)},dispatchEvent:function(e,t){if(g._enabled){var n=d.getPooled(e,t);try{l.batchedUpdates(f,n)}finally{d.release(n)}}}};e.exports=g},7450:e=>{"use strict";e.exports={logTopLevelRenders:!1}},1886:(e,t,n)=>{"use strict";var r=n(3349),o=(n(7081),null),a=null,i={createInternalComponent:function(e){return o||r("111",e.type),new o(e)},createInstanceForText:function(e){return new a(e)},isTextComponent:function(e){return e instanceof a},injection:{injectGenericComponentClass:function(e){o=e},injectTextComponentClass:function(e){a=e}}};e.exports=i},2390:(e,t,n)=>{"use strict";var r=n(2101),o=n(458),a=n(2964),i=n(59),s=n(3171),l=n(9800),c=n(1886),u=n(3335),p={Component:i.injection,DOMProperty:r.injection,EmptyComponent:s.injection,EventPluginHub:o.injection,EventPluginUtils:a.injection,EventEmitter:l.injection,HostComponent:c.injection,Updates:u.injection};e.exports=p},8299:(e,t,n)=>{"use strict";var r=n(5149),o=n(1089),a=n(4831),i=n(2402),s={hasSelectionCapabilities:function(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&"text"===e.type||"textarea"===t||"true"===e.contentEditable)},getSelectionInformation:function(){var e=i();return{focusedElem:e,selectionRange:s.hasSelectionCapabilities(e)?s.getSelection(e):null}},restoreSelection:function(e){var t,n=i(),r=e.focusedElem,l=e.selectionRange;n!==r&&(t=r,o(document.documentElement,t))&&(s.hasSelectionCapabilities(r)&&s.setSelection(r,l),a(r))},getSelection:function(e){var t;if("selectionStart"in e)t={start:e.selectionStart,end:e.selectionEnd};else if(document.selection&&e.nodeName&&"input"===e.nodeName.toLowerCase()){var n=document.selection.createRange();n.parentElement()===e&&(t={start:-n.moveStart("character",-e.value.length),end:-n.moveEnd("character",-e.value.length)})}else t=r.getOffsets(e);return t||{start:0,end:0}},setSelection:function(e,t){var n=t.start,o=t.end;if(void 0===o&&(o=n),"selectionStart"in e)e.selectionStart=n,e.selectionEnd=Math.min(o,e.value.length);else if(document.selection&&e.nodeName&&"input"===e.nodeName.toLowerCase()){var a=e.createTextRange();a.collapse(!0),a.moveStart("character",n),a.moveEnd("character",o-n),a.select()}else r.setOffsets(e,t)}};e.exports=s},5994:e=>{"use strict";e.exports={remove:function(e){e._reactInternalInstance=void 0},get:function(e){return e._reactInternalInstance},has:function(e){return void 0!==e._reactInternalInstance},set:function(e,t){e._reactInternalInstance=t}}},3734:e=>{"use strict";e.exports={debugTool:null}},8858:(e,t,n)=>{"use strict";var r=n(9679),o=/\/?>/,a=/^<\!\-\-/,i={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=r(e);return a.test(e)?e:e.replace(o," "+i.CHECKSUM_ATTR_NAME+'="'+t+'"$&')},canReuseMarkup:function(e,t){var n=t.getAttribute(i.CHECKSUM_ATTR_NAME);return n=n&&parseInt(n,10),r(e)===n}};e.exports=i},423:(e,t,n)=>{"use strict";var r=n(3349),o=n(9079),a=n(2101),i=n(3467),s=n(9800),l=(n(3787),n(5372)),c=n(6650),u=n(722),p=n(7450),d=n(5994),f=(n(3734),n(8858)),h=n(6627),g=n(5542),b=n(3335),m=n(5117),v=n(427),y=(n(7081),n(1421)),_=n(4016),x=(n(2264),a.ID_ATTRIBUTE_NAME),w=a.ROOT_ATTRIBUTE_NAME,k={};function E(e){return e?9===e.nodeType?e.documentElement:e.firstChild:null}function C(e,t,n,r,o){var a;if(p.logTopLevelRenders){var i=e._currentElement.props.child.type;a="React mount: "+("string"==typeof i?i:i.displayName||i.name),console.time(a)}var s=h.mountComponent(e,n,null,c(e,t),o,0);a&&console.timeEnd(a),e._renderedComponent._topLevelWrapper=e,N._mountImageIntoNode(s,t,e,r,n)}function A(e,t,n,r){var o=b.ReactReconcileTransaction.getPooled(!n&&u.useCreateElement);o.perform(C,null,e,t,o,n,r),b.ReactReconcileTransaction.release(o)}function P(e,t,n){for(h.unmountComponent(e,n),9===t.nodeType&&(t=t.documentElement);t.lastChild;)t.removeChild(t.lastChild)}function T(e){var t=E(e);if(t){var n=l.getInstanceFromNode(t);return!(!n||!n._hostParent)}}function S(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function O(e){var t=function(e){var t=E(e),n=t&&l.getInstanceFromNode(t);return n&&!n._hostParent?n:null}(e);return t?t._hostContainerInfo._topLevelWrapper:null}var M=1,R=function(){this.rootID=M++};R.prototype.isReactComponent={},R.prototype.render=function(){return this.props.child},R.isReactTopLevelWrapper=!0;var N={TopLevelWrapper:R,_instancesByReactRootID:k,scrollMonitor:function(e,t){t()},_updateRootComponent:function(e,t,n,r,o){return N.scrollMonitor(r,(function(){g.enqueueElementInternal(e,t,n),o&&g.enqueueCallbackInternal(e,o)})),e},_renderNewRootComponent:function(e,t,n,o){S(t)||r("37"),s.ensureScrollValueMonitoring();var a=v(e,!1);b.batchedUpdates(A,a,t,n,o);var i=a._instance.rootID;return k[i]=a,a},renderSubtreeIntoContainer:function(e,t,n,o){return null!=e&&d.has(e)||r("38"),N._renderSubtreeIntoContainer(e,t,n,o)},_renderSubtreeIntoContainer:function(e,t,n,o){g.validateCallback(o,"ReactDOM.render"),i.isValidElement(t)||r("39","string"==typeof t?" Instead of passing a string like 'div', pass React.createElement('div') or <div />.":"function"==typeof t?" Instead of passing a class like Foo, pass React.createElement(Foo) or <Foo />.":null!=t&&void 0!==t.props?" This may be caused by unintentionally loading two independent copies of React.":"");var a,s=i.createElement(R,{child:t});if(e){var l=d.get(e);a=l._processChildContext(l._context)}else a=m;var c=O(n);if(c){var u=c._currentElement.props.child;if(_(u,t)){var p=c._renderedComponent.getPublicInstance(),f=o&&function(){o.call(p)};return N._updateRootComponent(c,s,a,n,f),p}N.unmountComponentAtNode(n)}var h,b=E(n),v=b&&!(!(h=b).getAttribute||!h.getAttribute(x)),y=T(n),w=v&&!c&&!y,k=N._renderNewRootComponent(s,n,w,a)._renderedComponent.getPublicInstance();return o&&o.call(k),k},render:function(e,t,n){return N._renderSubtreeIntoContainer(null,e,t,n)},unmountComponentAtNode:function(e){S(e)||r("40");var t=O(e);return t?(delete k[t._instance.rootID],b.batchedUpdates(P,t,e,!1),!0):(T(e),1===e.nodeType&&e.hasAttribute(w),!1)},_mountImageIntoNode:function(e,t,n,a,i){if(S(t)||r("41"),a){var s=E(t);if(f.canReuseMarkup(e,s))return void l.precacheNode(n,s);var c=s.getAttribute(f.CHECKSUM_ATTR_NAME);s.removeAttribute(f.CHECKSUM_ATTR_NAME);var u=s.outerHTML;s.setAttribute(f.CHECKSUM_ATTR_NAME,c);var p=e,d=function(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r++)if(e.charAt(r)!==t.charAt(r))return r;return e.length===t.length?-1:n}(p,u),h=" (client) "+p.substring(d-20,d+20)+"\n (server) "+u.substring(d-20,d+20);9===t.nodeType&&r("42",h)}if(9===t.nodeType&&r("43"),i.useCreateElement){for(;t.lastChild;)t.removeChild(t.lastChild);o.insertTreeBefore(t,e,null)}else y(t,e),l.precacheNode(n,t.firstChild)}};e.exports=N},8484:(e,t,n)=>{"use strict";var r=n(3349),o=n(59),a=(n(5994),n(3734),n(3787),n(6627)),i=n(7133),s=(n(3743),n(2555));function l(e,t){return t&&(e=e||[]).push(t),e}function c(e,t){o.processChildrenUpdates(e,t)}n(7081);var u={Mixin:{_reconcilerInstantiateChildren:function(e,t,n){return i.instantiateChildren(e,t,n)},_reconcilerUpdateChildren:function(e,t,n,r,o,a){var l;return l=s(t,0),i.updateChildren(e,l,n,r,o,this,this._hostContainerInfo,a,0),l},mountChildren:function(e,t,n){var r=this._reconcilerInstantiateChildren(e,t,n);this._renderedChildren=r;var o=[],i=0;for(var s in r)if(r.hasOwnProperty(s)){var l=r[s],c=a.mountComponent(l,t,this,this._hostContainerInfo,n,0);l._mountIndex=i++,o.push(c)}return o},updateTextContent:function(e){var t,n=this._renderedChildren;for(var o in i.unmountChildren(n,!1),n)n.hasOwnProperty(o)&&r("118");c(this,[(t=e,{type:"TEXT_CONTENT",content:t,fromIndex:null,fromNode:null,toIndex:null,afterNode:null})])},updateMarkup:function(e){var t,n=this._renderedChildren;for(var o in i.unmountChildren(n,!1),n)n.hasOwnProperty(o)&&r("118");c(this,[(t=e,{type:"SET_MARKUP",content:t,fromIndex:null,fromNode:null,toIndex:null,afterNode:null})])},updateChildren:function(e,t,n){this._updateChildren(e,t,n)},_updateChildren:function(e,t,n){var r=this._renderedChildren,o={},i=[],s=this._reconcilerUpdateChildren(r,e,i,o,t,n);if(s||r){var u,p=null,d=0,f=0,h=0,g=null;for(u in s)if(s.hasOwnProperty(u)){var b=r&&r[u],m=s[u];b===m?(p=l(p,this.moveChild(b,g,d,f)),f=Math.max(b._mountIndex,f),b._mountIndex=d):(b&&(f=Math.max(b._mountIndex,f)),p=l(p,this._mountChildAtIndex(m,i[h],g,d,t,n)),h++),d++,g=a.getHostNode(m)}for(u in o)o.hasOwnProperty(u)&&(p=l(p,this._unmountChild(r[u],o[u])));p&&c(this,p),this._renderedChildren=s}},unmountChildren:function(e){var t=this._renderedChildren;i.unmountChildren(t,e),this._renderedChildren=null},moveChild:function(e,t,n,r){if(e._mountIndex<r)return function(e,t,n){return{type:"MOVE_EXISTING",content:null,fromIndex:e._mountIndex,fromNode:a.getHostNode(e),toIndex:n,afterNode:t}}(e,t,n)},createChild:function(e,t,n){return function(e,t,n){return{type:"INSERT_MARKUP",content:e,fromIndex:null,fromNode:null,toIndex:n,afterNode:t}}(n,t,e._mountIndex)},removeChild:function(e,t){return function(e,t){return{type:"REMOVE_NODE",content:null,fromIndex:e._mountIndex,fromNode:t,toIndex:null,afterNode:null}}(e,t)},_mountChildAtIndex:function(e,t,n,r,o,a){return e._mountIndex=r,this.createChild(e,n,t)},_unmountChild:function(e,t){var n=this.removeChild(e,t);return e._mountIndex=null,n}}};e.exports=u},5174:(e,t,n)=>{"use strict";var r=n(3349),o=n(3467),a=(n(7081),{HOST:0,COMPOSITE:1,EMPTY:2,getType:function(e){return null===e||!1===e?a.EMPTY:o.isValidElement(e)?"function"==typeof e.type?a.COMPOSITE:a.HOST:void r("26",e)}});e.exports=a},14:(e,t,n)=>{"use strict";var r=n(3349);function o(e){return!(!e||"function"!=typeof e.attachRef||"function"!=typeof e.detachRef)}n(7081);var a={addComponentAsRefTo:function(e,t,n){o(n)||r("119"),n.attachRef(t,e)},removeComponentAsRefFrom:function(e,t,n){o(n)||r("120");var a=n.getPublicInstance();a&&a.refs[t]===e.getPublicInstance()&&n.detachRef(t)}};e.exports=a},6681:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4236:(e,t,n)=>{"use strict";var r=n(2525),o=n(8186),a=n(261),i=n(9800),s=n(8299),l=(n(3734),n(8913)),c=n(5542),u=[{initialize:s.getSelectionInformation,close:s.restoreSelection},{initialize:function(){var e=i.isEnabled();return i.setEnabled(!1),e},close:function(e){i.setEnabled(e)}},{initialize:function(){this.reactMountReady.reset()},close:function(){this.reactMountReady.notifyAll()}}];function p(e){this.reinitializeTransaction(),this.renderToStaticMarkup=!1,this.reactMountReady=o.getPooled(null),this.useCreateElement=e}var d={getTransactionWrappers:function(){return u},getReactMountReady:function(){return this.reactMountReady},getUpdateQueue:function(){return c},checkpoint:function(){return this.reactMountReady.checkpoint()},rollback:function(e){this.reactMountReady.rollback(e)},destructor:function(){o.release(this.reactMountReady),this.reactMountReady=null}};r(p.prototype,l,d),a.addPoolingTo(p),e.exports=p},6627:(e,t,n)=>{"use strict";var r=n(95);function o(){r.attachRefs(this,this._currentElement)}n(3734),n(2264);var a={mountComponent:function(e,t,n,r,a,i){var s=e.mountComponent(t,n,r,a,i);return e._currentElement&&null!=e._currentElement.ref&&t.getReactMountReady().enqueue(o,e),s},getHostNode:function(e){return e.getHostNode()},unmountComponent:function(e,t){r.detachRefs(e,e._currentElement),e.unmountComponent(t)},receiveComponent:function(e,t,n,a){var i=e._currentElement;if(t!==i||a!==e._context){var s=r.shouldUpdateRefs(i,t);s&&r.detachRefs(e,i),e.receiveComponent(t,n,a),s&&e._currentElement&&null!=e._currentElement.ref&&n.getReactMountReady().enqueue(o,e)}},performUpdateIfNecessary:function(e,t,n){e._updateBatchNumber===n&&e.performUpdateIfNecessary(t)}};e.exports=a},95:(e,t,n)=>{"use strict";var r=n(14),o={attachRefs:function(e,t){if(null!==t&&"object"==typeof t){var n=t.ref;null!=n&&function(e,t,n){"function"==typeof e?e(t.getPublicInstance()):r.addComponentAsRefTo(t,e,n)}(n,e,t._owner)}},shouldUpdateRefs:function(e,t){var n=null,r=null;null!==e&&"object"==typeof e&&(n=e.ref,r=e._owner);var o=null,a=null;return null!==t&&"object"==typeof t&&(o=t.ref,a=t._owner),n!==o||"string"==typeof o&&a!==r},detachRefs:function(e,t){if(null!==t&&"object"==typeof t){var n=t.ref;null!=n&&function(e,t,n){"function"==typeof e?e(null):r.removeComponentAsRefFrom(t,e,n)}(n,e,t._owner)}}};e.exports=o},8630:(e,t,n)=>{"use strict";var r=n(2525),o=n(261),a=n(8913),i=(n(3734),n(6649)),s=[],l={enqueue:function(){}};function c(e){this.reinitializeTransaction(),this.renderToStaticMarkup=e,this.useCreateElement=!1,this.updateQueue=new i(this)}var u={getTransactionWrappers:function(){return s},getReactMountReady:function(){return l},getUpdateQueue:function(){return this.updateQueue},destructor:function(){},checkpoint:function(){},rollback:function(){}};r(c.prototype,a,u),o.addPoolingTo(c),e.exports=c},6649:(e,t,n)=>{"use strict";var r=n(5542);n(2264);var o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.transaction=t}return e.prototype.isMounted=function(e){return!1},e.prototype.enqueueCallback=function(e,t,n){this.transaction.isInTransaction()&&r.enqueueCallback(e,t,n)},e.prototype.enqueueForceUpdate=function(e){this.transaction.isInTransaction()&&r.enqueueForceUpdate(e)},e.prototype.enqueueReplaceState=function(e,t){this.transaction.isInTransaction()&&r.enqueueReplaceState(e,t)},e.prototype.enqueueSetState=function(e,t){this.transaction.isInTransaction()&&r.enqueueSetState(e,t)},e}();e.exports=o},5542:(e,t,n)=>{"use strict";var r=n(3349),o=(n(3787),n(5994)),a=(n(3734),n(3335));function i(e){a.enqueueUpdate(e)}function s(e,t){return o.get(e)||null}n(7081),n(2264);var l={isMounted:function(e){var t=o.get(e);return!!t&&!!t._renderedComponent},enqueueCallback:function(e,t,n){l.validateCallback(t,n);var r=s(e);if(!r)return null;r._pendingCallbacks?r._pendingCallbacks.push(t):r._pendingCallbacks=[t],i(r)},enqueueCallbackInternal:function(e,t){e._pendingCallbacks?e._pendingCallbacks.push(t):e._pendingCallbacks=[t],i(e)},enqueueForceUpdate:function(e){var t=s(e);t&&(t._pendingForceUpdate=!0,i(t))},enqueueReplaceState:function(e,t){var n=s(e);n&&(n._pendingStateQueue=[t],n._pendingReplaceState=!0,i(n))},enqueueSetState:function(e,t){var n=s(e);n&&((n._pendingStateQueue||(n._pendingStateQueue=[])).push(t),i(n))},enqueueElementInternal:function(e,t,n){e._pendingElement=t,e._context=n,i(e)},validateCallback:function(e,t){e&&"function"!=typeof e&&r("122",t,function(e){var t=typeof e;if("object"!==t)return t;var n=e.constructor&&e.constructor.name||t,r=Object.keys(e);return r.length>0&&r.length<20?n+" (keys: "+r.join(", ")+")":n}(e))}};e.exports=l},3335:(e,t,n)=>{"use strict";var r=n(3349),o=n(2525),a=n(8186),i=n(261),s=n(7450),l=n(6627),c=n(8913),u=(n(7081),[]),p=0,d=a.getPooled(),f=!1,h=null;function g(){x.ReactReconcileTransaction&&h||r("123")}var b=[{initialize:function(){this.dirtyComponentsLength=u.length},close:function(){this.dirtyComponentsLength!==u.length?(u.splice(0,this.dirtyComponentsLength),_()):u.length=0}},{initialize:function(){this.callbackQueue.reset()},close:function(){this.callbackQueue.notifyAll()}}];function m(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=a.getPooled(),this.reconcileTransaction=x.ReactReconcileTransaction.getPooled(!0)}function v(e,t){return e._mountOrder-t._mountOrder}function y(e){var t=e.dirtyComponentsLength;t!==u.length&&r("124",t,u.length),u.sort(v),p++;for(var n=0;n<t;n++){var o,a=u[n],i=a._pendingCallbacks;if(a._pendingCallbacks=null,s.logTopLevelRenders){var c=a;a._currentElement.type.isReactTopLevelWrapper&&(c=a._renderedComponent),o="React update: "+c.getName(),console.time(o)}if(l.performUpdateIfNecessary(a,e.reconcileTransaction,p),o&&console.timeEnd(o),i)for(var d=0;d<i.length;d++)e.callbackQueue.enqueue(i[d],a.getPublicInstance())}}o(m.prototype,c,{getTransactionWrappers:function(){return b},destructor:function(){this.dirtyComponentsLength=null,a.release(this.callbackQueue),this.callbackQueue=null,x.ReactReconcileTransaction.release(this.reconcileTransaction),this.reconcileTransaction=null},perform:function(e,t,n){return c.perform.call(this,this.reconcileTransaction.perform,this.reconcileTransaction,e,t,n)}}),i.addPoolingTo(m);var _=function(){for(;u.length||f;){if(u.length){var e=m.getPooled();e.perform(y,null,e),m.release(e)}if(f){f=!1;var t=d;d=a.getPooled(),t.notifyAll(),a.release(t)}}},x={ReactReconcileTransaction:null,batchedUpdates:function(e,t,n,r,o,a){return g(),h.batchedUpdates(e,t,n,r,o,a)},enqueueUpdate:function e(t){g(),h.isBatchingUpdates?(u.push(t),null==t._updateBatchNumber&&(t._updateBatchNumber=p+1)):h.batchedUpdates(e,t)},flushBatchedUpdates:_,injection:{injectReconcileTransaction:function(e){e||r("126"),x.ReactReconcileTransaction=e},injectBatchingStrategy:function(e){e||r("127"),"function"!=typeof e.batchedUpdates&&r("128"),"boolean"!=typeof e.isBatchingUpdates&&r("129"),h=e}},asap:function(e,t){h.isBatchingUpdates||r("125"),d.enqueue(e,t),f=!0}};e.exports=x},2154:e=>{"use strict";e.exports="15.4.2"},7538:e=>{"use strict";var t="http://www.w3.org/1999/xlink",n="http://www.w3.org/XML/1998/namespace",r={accentHeight:"accent-height",accumulate:0,additive:0,alignmentBaseline:"alignment-baseline",allowReorder:"allowReorder",alphabetic:0,amplitude:0,arabicForm:"arabic-form",ascent:0,attributeName:"attributeName",attributeType:"attributeType",autoReverse:"autoReverse",azimuth:0,baseFrequency:"baseFrequency",baseProfile:"baseProfile",baselineShift:"baseline-shift",bbox:0,begin:0,bias:0,by:0,calcMode:"calcMode",capHeight:"cap-height",clip:0,clipPath:"clip-path",clipRule:"clip-rule",clipPathUnits:"clipPathUnits",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",contentScriptType:"contentScriptType",contentStyleType:"contentStyleType",cursor:0,cx:0,cy:0,d:0,decelerate:0,descent:0,diffuseConstant:"diffuseConstant",direction:0,display:0,divisor:0,dominantBaseline:"dominant-baseline",dur:0,dx:0,dy:0,edgeMode:"edgeMode",elevation:0,enableBackground:"enable-background",end:0,exponent:0,externalResourcesRequired:"externalResourcesRequired",fill:0,fillOpacity:"fill-opacity",fillRule:"fill-rule",filter:0,filterRes:"filterRes",filterUnits:"filterUnits",floodColor:"flood-color",floodOpacity:"flood-opacity",focusable:0,fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",glyphRef:"glyphRef",gradientTransform:"gradientTransform",gradientUnits:"gradientUnits",hanging:0,horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",ideographic:0,imageRendering:"image-rendering",in:0,in2:0,intercept:0,k:0,k1:0,k2:0,k3:0,k4:0,kernelMatrix:"kernelMatrix",kernelUnitLength:"kernelUnitLength",kerning:0,keyPoints:"keyPoints",keySplines:"keySplines",keyTimes:"keyTimes",lengthAdjust:"lengthAdjust",letterSpacing:"letter-spacing",lightingColor:"lighting-color",limitingConeAngle:"limitingConeAngle",local:0,markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",markerHeight:"markerHeight",markerUnits:"markerUnits",markerWidth:"markerWidth",mask:0,maskContentUnits:"maskContentUnits",maskUnits:"maskUnits",mathematical:0,mode:0,numOctaves:"numOctaves",offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pathLength:"pathLength",patternContentUnits:"patternContentUnits",patternTransform:"patternTransform",patternUnits:"patternUnits",pointerEvents:"pointer-events",points:0,pointsAtX:"pointsAtX",pointsAtY:"pointsAtY",pointsAtZ:"pointsAtZ",preserveAlpha:"preserveAlpha",preserveAspectRatio:"preserveAspectRatio",primitiveUnits:"primitiveUnits",r:0,radius:0,refX:"refX",refY:"refY",renderingIntent:"rendering-intent",repeatCount:"repeatCount",repeatDur:"repeatDur",requiredExtensions:"requiredExtensions",requiredFeatures:"requiredFeatures",restart:0,result:0,rotate:0,rx:0,ry:0,scale:0,seed:0,shapeRendering:"shape-rendering",slope:0,spacing:0,specularConstant:"specularConstant",specularExponent:"specularExponent",speed:0,spreadMethod:"spreadMethod",startOffset:"startOffset",stdDeviation:"stdDeviation",stemh:0,stemv:0,stitchTiles:"stitchTiles",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",string:0,stroke:0,strokeDasharray:"stroke-dasharray",strokeDashoffset:"stroke-dashoffset",strokeLinecap:"stroke-linecap",strokeLinejoin:"stroke-linejoin",strokeMiterlimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",surfaceScale:"surfaceScale",systemLanguage:"systemLanguage",tableValues:"tableValues",targetX:"targetX",targetY:"targetY",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",textLength:"textLength",to:0,transform:0,u1:0,u2:0,underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicode:0,unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",values:0,vectorEffect:"vector-effect",version:0,vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",viewBox:"viewBox",viewTarget:"viewTarget",visibility:0,widths:0,wordSpacing:"word-spacing",writingMode:"writing-mode",x:0,xHeight:"x-height",x1:0,x2:0,xChannelSelector:"xChannelSelector",xlinkActuate:"xlink:actuate",xlinkArcrole:"xlink:arcrole",xlinkHref:"xlink:href",xlinkRole:"xlink:role",xlinkShow:"xlink:show",xlinkTitle:"xlink:title",xlinkType:"xlink:type",xmlBase:"xml:base",xmlns:0,xmlnsXlink:"xmlns:xlink",xmlLang:"xml:lang",xmlSpace:"xml:space",y:0,y1:0,y2:0,yChannelSelector:"yChannelSelector",z:0,zoomAndPan:"zoomAndPan"},o={Properties:{},DOMAttributeNamespaces:{xlinkActuate:t,xlinkArcrole:t,xlinkHref:t,xlinkRole:t,xlinkShow:t,xlinkTitle:t,xlinkType:t,xmlBase:n,xmlLang:n,xmlSpace:n},DOMAttributeNames:{}};Object.keys(r).forEach((function(e){o.Properties[e]=0,r[e]&&(o.DOMAttributeNames[e]=r[e])})),e.exports=o},7928:(e,t,n)=>{"use strict";var r=n(5236),o=n(4579),a=n(5372),i=n(8299),s=n(9887),l=n(2402),c=n(1550),u=n(4366),p=o.canUseDOM&&"documentMode"in document&&document.documentMode<=11,d={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:["topBlur","topContextMenu","topFocus","topKeyDown","topKeyUp","topMouseDown","topMouseUp","topSelectionChange"]}},f=null,h=null,g=null,b=!1,m=!1;function v(e,t){if(b||null==f||f!==l())return null;var n=function(e){if("selectionStart"in e&&i.hasSelectionCapabilities(e))return{start:e.selectionStart,end:e.selectionEnd};if(window.getSelection){var t=window.getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}}if(document.selection){var n=document.selection.createRange();return{parentElement:n.parentElement(),text:n.text,top:n.boundingTop,left:n.boundingLeft}}}(f);if(!g||!u(g,n)){g=n;var o=s.getPooled(d.select,h,e,t);return o.type="select",o.target=f,r.accumulateTwoPhaseDispatches(o),o}return null}var y={eventTypes:d,extractEvents:function(e,t,n,r){if(!m)return null;var o=t?a.getNodeFromInstance(t):window;switch(e){case"topFocus":(c(o)||"true"===o.contentEditable)&&(f=o,h=t,g=null);break;case"topBlur":f=null,h=null,g=null;break;case"topMouseDown":b=!0;break;case"topContextMenu":case"topMouseUp":return b=!1,v(n,r);case"topSelectionChange":if(p)break;case"topKeyDown":case"topKeyUp":return v(n,r)}return null},didPutListener:function(e,t,n){"onSelect"===t&&(m=!0)}};e.exports=y},2371:(e,t,n)=>{"use strict";var r=n(3349),o=n(7759),a=n(5236),i=n(5372),s=n(6317),l=n(6997),c=n(9887),u=n(5983),p=n(9830),d=n(8091),f=n(9111),h=n(1690),g=n(7397),b=n(3418),m=n(6992),v=n(3743),y=n(161),_=(n(7081),{}),x={};["abort","animationEnd","animationIteration","animationStart","blur","canPlay","canPlayThrough","click","contextMenu","copy","cut","doubleClick","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","focus","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","progress","rateChange","reset","scroll","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchMove","touchStart","transitionEnd","volumeChange","waiting","wheel"].forEach((function(e){var t=e[0].toUpperCase()+e.slice(1),n="on"+t,r="top"+t,o={phasedRegistrationNames:{bubbled:n,captured:n+"Capture"},dependencies:[r]};_[e]=o,x[r]=o}));var w={};function k(e){return"."+e._rootNodeID}function E(e){return"button"===e||"input"===e||"select"===e||"textarea"===e}var C={eventTypes:_,extractEvents:function(e,t,n,o){var i,v=x[e];if(!v)return null;switch(e){case"topAbort":case"topCanPlay":case"topCanPlayThrough":case"topDurationChange":case"topEmptied":case"topEncrypted":case"topEnded":case"topError":case"topInput":case"topInvalid":case"topLoad":case"topLoadedData":case"topLoadedMetadata":case"topLoadStart":case"topPause":case"topPlay":case"topPlaying":case"topProgress":case"topRateChange":case"topReset":case"topSeeked":case"topSeeking":case"topStalled":case"topSubmit":case"topSuspend":case"topTimeUpdate":case"topVolumeChange":case"topWaiting":i=c;break;case"topKeyPress":if(0===y(n))return null;case"topKeyDown":case"topKeyUp":i=p;break;case"topBlur":case"topFocus":i=u;break;case"topClick":if(2===n.button)return null;case"topDoubleClick":case"topMouseDown":case"topMouseMove":case"topMouseUp":case"topMouseOut":case"topMouseOver":case"topContextMenu":i=d;break;case"topDrag":case"topDragEnd":case"topDragEnter":case"topDragExit":case"topDragLeave":case"topDragOver":case"topDragStart":case"topDrop":i=f;break;case"topTouchCancel":case"topTouchEnd":case"topTouchMove":case"topTouchStart":i=h;break;case"topAnimationEnd":case"topAnimationIteration":case"topAnimationStart":i=s;break;case"topTransitionEnd":i=g;break;case"topScroll":i=b;break;case"topWheel":i=m;break;case"topCopy":case"topCut":case"topPaste":i=l}i||r("86",e);var _=i.getPooled(v,t,n,o);return a.accumulateTwoPhaseDispatches(_),_},didPutListener:function(e,t,n){if("onClick"===t&&!E(e._tag)){var r=k(e),a=i.getNodeFromInstance(e);w[r]||(w[r]=o.listen(a,"click",v))}},willDeleteListener:function(e,t){if("onClick"===t&&!E(e._tag)){var n=k(e);w[n].remove(),delete w[n]}}};e.exports=C},6317:(e,t,n)=>{"use strict";var r=n(9887);function o(e,t,n,o){return r.call(this,e,t,n,o)}r.augmentClass(o,{animationName:null,elapsedTime:null,pseudoElement:null}),e.exports=o},6997:(e,t,n)=>{"use strict";var r=n(9887),o={clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}};function a(e,t,n,o){return r.call(this,e,t,n,o)}r.augmentClass(a,o),e.exports=a},3177:(e,t,n)=>{"use strict";var r=n(9887);function o(e,t,n,o){return r.call(this,e,t,n,o)}r.augmentClass(o,{data:null}),e.exports=o},9111:(e,t,n)=>{"use strict";var r=n(8091);function o(e,t,n,o){return r.call(this,e,t,n,o)}r.augmentClass(o,{dataTransfer:null}),e.exports=o},9887:(e,t,n)=>{"use strict";var r=n(2525),o=n(261),a=n(3743),i=(n(2264),["dispatchConfig","_targetInst","nativeEvent","isDefaultPrevented","isPropagationStopped","_dispatchListeners","_dispatchInstances"]),s={type:null,target:null,currentTarget:a.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};function l(e,t,n,r){this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n;var o=this.constructor.Interface;for(var i in o)if(o.hasOwnProperty(i)){var s=o[i];s?this[i]=s(n):"target"===i?this.target=r:this[i]=n[i]}var l=null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue;return this.isDefaultPrevented=l?a.thatReturnsTrue:a.thatReturnsFalse,this.isPropagationStopped=a.thatReturnsFalse,this}r(l.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=a.thatReturnsTrue)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=a.thatReturnsTrue)},persist:function(){this.isPersistent=a.thatReturnsTrue},isPersistent:a.thatReturnsFalse,destructor:function(){var e=this.constructor.Interface;for(var t in e)this[t]=null;for(var n=0;n<i.length;n++)this[i[n]]=null}}),l.Interface=s,l.augmentClass=function(e,t){var n=this,a=function(){};a.prototype=n.prototype;var i=new a;r(i,e.prototype),e.prototype=i,e.prototype.constructor=e,e.Interface=r({},n.Interface,t),e.augmentClass=n.augmentClass,o.addPoolingTo(e,o.fourArgumentPooler)},o.addPoolingTo(l,o.fourArgumentPooler),e.exports=l},5983:(e,t,n)=>{"use strict";var r=n(3418);function o(e,t,n,o){return r.call(this,e,t,n,o)}r.augmentClass(o,{relatedTarget:null}),e.exports=o},3184:(e,t,n)=>{"use strict";var r=n(9887);function o(e,t,n,o){return r.call(this,e,t,n,o)}r.augmentClass(o,{data:null}),e.exports=o},9830:(e,t,n)=>{"use strict";var r=n(3418),o=n(161),a={key:n(1789),location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:n(7332),charCode:function(e){return"keypress"===e.type?o(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?o(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}};function i(e,t,n,o){return r.call(this,e,t,n,o)}r.augmentClass(i,a),e.exports=i},8091:(e,t,n)=>{"use strict";var r=n(3418),o=n(5059),a={screenX:null,screenY:null,clientX:null,clientY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:n(7332),button:function(e){var t=e.button;return"which"in e?t:2===t?2:4===t?1:0},buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},pageX:function(e){return"pageX"in e?e.pageX:e.clientX+o.currentScrollLeft},pageY:function(e){return"pageY"in e?e.pageY:e.clientY+o.currentScrollTop}};function i(e,t,n,o){return r.call(this,e,t,n,o)}r.augmentClass(i,a),e.exports=i},1690:(e,t,n)=>{"use strict";var r=n(3418),o={touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:n(7332)};function a(e,t,n,o){return r.call(this,e,t,n,o)}r.augmentClass(a,o),e.exports=a},7397:(e,t,n)=>{"use strict";var r=n(9887);function o(e,t,n,o){return r.call(this,e,t,n,o)}r.augmentClass(o,{propertyName:null,elapsedTime:null,pseudoElement:null}),e.exports=o},3418:(e,t,n)=>{"use strict";var r=n(9887),o=n(6056),a={view:function(e){if(e.view)return e.view;var t=o(e);if(t.window===t)return t;var n=t.ownerDocument;return n?n.defaultView||n.parentWindow:window},detail:function(e){return e.detail||0}};function i(e,t,n,o){return r.call(this,e,t,n,o)}r.augmentClass(i,a),e.exports=i},6992:(e,t,n)=>{"use strict";var r=n(8091);function o(e,t,n,o){return r.call(this,e,t,n,o)}r.augmentClass(o,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),e.exports=o},8913:(e,t,n)=>{"use strict";var r=n(3349),o=(n(7081),{}),a={reinitializeTransaction:function(){this.transactionWrappers=this.getTransactionWrappers(),this.wrapperInitData?this.wrapperInitData.length=0:this.wrapperInitData=[],this._isInTransaction=!1},_isInTransaction:!1,getTransactionWrappers:null,isInTransaction:function(){return!!this._isInTransaction},perform:function(e,t,n,o,a,i,s,l){var c,u;this.isInTransaction()&&r("27");try{this._isInTransaction=!0,c=!0,this.initializeAll(0),u=e.call(t,n,o,a,i,s,l),c=!1}finally{try{if(c)try{this.closeAll(0)}catch(e){}else this.closeAll(0)}finally{this._isInTransaction=!1}}return u},initializeAll:function(e){for(var t=this.transactionWrappers,n=e;n<t.length;n++){var r=t[n];try{this.wrapperInitData[n]=o,this.wrapperInitData[n]=r.initialize?r.initialize.call(this):null}finally{if(this.wrapperInitData[n]===o)try{this.initializeAll(n+1)}catch(e){}}}},closeAll:function(e){this.isInTransaction()||r("28");for(var t=this.transactionWrappers,n=e;n<t.length;n++){var a,i=t[n],s=this.wrapperInitData[n];try{a=!0,s!==o&&i.close&&i.close.call(this,s),a=!1}finally{if(a)try{this.closeAll(n+1)}catch(e){}}}this.wrapperInitData.length=0}};e.exports=a},5059:e=>{"use strict";var t={currentScrollLeft:0,currentScrollTop:0,refreshScrollValues:function(e){t.currentScrollLeft=e.x,t.currentScrollTop=e.y}};e.exports=t},744:(e,t,n)=>{"use strict";var r=n(3349);n(7081),e.exports=function(e,t){return null==t&&r("30"),null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}},9679:e=>{"use strict";var t=65521;e.exports=function(e){for(var n=1,r=0,o=0,a=e.length,i=-4&a;o<i;){for(var s=Math.min(o+4096,i);o<s;o+=4)r+=(n+=e.charCodeAt(o))+(n+=e.charCodeAt(o+1))+(n+=e.charCodeAt(o+2))+(n+=e.charCodeAt(o+3));n%=t,r%=t}for(;o<a;o++)r+=n+=e.charCodeAt(o);return(n%=t)|(r%=t)<<16}},8543:e=>{"use strict";e.exports=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction((function(){return e(t,n,r,o)}))}:e}},5814:(e,t,n)=>{"use strict";var r=n(6935),o=(n(2264),r.isUnitlessNumber);e.exports=function(e,t,n){return null==t||"boolean"==typeof t||""===t?"":isNaN(t)||0===t||o.hasOwnProperty(e)&&o[e]?""+t:("string"==typeof t&&(t=t.trim()),t+"px")}},356:e=>{"use strict";var t=/["'&<>]/;e.exports=function(e){return"boolean"==typeof e||"number"==typeof e?""+e:function(e){var n,r=""+e,o=t.exec(r);if(!o)return r;var a="",i=0,s=0;for(i=o.index;i<r.length;i++){switch(r.charCodeAt(i)){case 34:n="&quot;";break;case 38:n="&amp;";break;case 39:n="&#x27;";break;case 60:n="&lt;";break;case 62:n="&gt;";break;default:continue}s!==i&&(a+=r.substring(s,i)),s=i+1,a+=n}return s!==i?a+r.substring(s,i):a}(e)}},7152:(e,t,n)=>{"use strict";var r=n(3349),o=(n(3787),n(5372)),a=n(5994),i=n(7218);n(7081),n(2264),e.exports=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=a.get(e);if(t)return(t=i(t))?o.getNodeFromInstance(t):null;"function"==typeof e.render?r("44"):r("45",Object.keys(e))}},2555:(e,t,n)=>{"use strict";n(4993);var r=n(578);function o(e,t,n,r){if(e&&"object"==typeof e){var o=e;void 0===o[n]&&null!=t&&(o[n]=t)}}n(2264),e.exports=function(e,t){if(null==e)return e;var n={};return r(e,o,n),n}},2900:e=>{"use strict";e.exports=function(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}},161:e=>{"use strict";e.exports=function(e){var t,n=e.keyCode;return"charCode"in e?0===(t=e.charCode)&&13===n&&(t=13):t=n,t>=32||13===t?t:0}},1789:(e,t,n)=>{"use strict";var r=n(161),o={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},a={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};e.exports=function(e){if(e.key){var t=o[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=r(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?a[e.keyCode]||"Unidentified":""}},7332:e=>{"use strict";var t={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function n(e){var n=this.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var r=t[e];return!!r&&!!n[r]}e.exports=function(e){return n}},6056:e=>{"use strict";e.exports=function(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t}},7218:(e,t,n)=>{"use strict";var r=n(5174);e.exports=function(e){for(var t;(t=e._renderedNodeType)===r.COMPOSITE;)e=e._renderedComponent;return t===r.HOST?e._renderedComponent:t===r.EMPTY?null:void 0}},783:e=>{"use strict";var t="function"==typeof Symbol&&Symbol.iterator;e.exports=function(e){var n=e&&(t&&e[t]||e["@@iterator"]);if("function"==typeof n)return n}},6443:e=>{"use strict";var t=1;e.exports=function(){return t++}},401:e=>{"use strict";function t(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function n(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}e.exports=function(e,r){for(var o=t(e),a=0,i=0;o;){if(3===o.nodeType){if(i=a+o.textContent.length,a<=r&&i>=r)return{node:o,offset:r-a};a=i}o=t(n(o))}}},5228:(e,t,n)=>{"use strict";var r=n(4579),o=null;e.exports=function(){return!o&&r.canUseDOM&&(o="textContent"in document.documentElement?"textContent":"innerText"),o}},5079:(e,t,n)=>{"use strict";var r=n(4579);function o(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n["ms"+e]="MS"+t,n["O"+e]="o"+t.toLowerCase(),n}var a={animationend:o("Animation","AnimationEnd"),animationiteration:o("Animation","AnimationIteration"),animationstart:o("Animation","AnimationStart"),transitionend:o("Transition","TransitionEnd")},i={},s={};r.canUseDOM&&(s=document.createElement("div").style,"AnimationEvent"in window||(delete a.animationend.animation,delete a.animationiteration.animation,delete a.animationstart.animation),"TransitionEvent"in window||delete a.transitionend.transition),e.exports=function(e){if(i[e])return i[e];if(!a[e])return e;var t=a[e];for(var n in t)if(t.hasOwnProperty(n)&&n in s)return i[e]=t[n];return""}},427:(e,t,n)=>{"use strict";var r=n(3349),o=n(2525),a=n(8097),i=n(3171),s=n(1886),l=(n(6443),n(7081),n(2264),function(e){this.construct(e)});function c(e,t){var n;if(null===e||!1===e)n=i.create(c);else if("object"==typeof e){var o=e,a=o.type;if("function"!=typeof a&&"string"!=typeof a){var u="";u+=function(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}(o._owner),r("130",null==a?a:typeof a,u)}"string"==typeof o.type?n=s.createInternalComponent(o):function(e){return"function"==typeof e&&void 0!==e.prototype&&"function"==typeof e.prototype.mountComponent&&"function"==typeof e.prototype.receiveComponent}(o.type)?(n=new o.type(o)).getHostNode||(n.getHostNode=n.getNativeNode):n=new l(o)}else"string"==typeof e||"number"==typeof e?n=s.createInstanceForText(e):r("131",typeof e);return n._mountIndex=0,n._mountImage=null,n}o(l.prototype,a,{_instantiateReactComponent:c}),e.exports=c},7371:(e,t,n)=>{"use strict";var r,o=n(4579);o.canUseDOM&&(r=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),e.exports=function(e,t){if(!o.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,a=n in document;if(!a){var i=document.createElement("div");i.setAttribute(n,"return;"),a="function"==typeof i[n]}return!a&&r&&"wheel"===e&&(a=document.implementation.hasFeature("Events.wheel","3.0")),a}},1550:e=>{"use strict";var t={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};e.exports=function(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===n?!!t[e.type]:"textarea"===n}},1215:(e,t,n)=>{"use strict";var r=n(356);e.exports=function(e){return'"'+r(e)+'"'}},3349:e=>{"use strict";e.exports=function(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);n+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var o=new Error(n);throw o.name="Invariant Violation",o.framesToPop=1,o}},7660:(e,t,n)=>{"use strict";var r=n(423);e.exports=r.renderSubtreeIntoContainer},1421:(e,t,n)=>{"use strict";var r,o=n(4579),a=n(8806),i=/^[ \r\n\t\f]/,s=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,l=n(8543)((function(e,t){if(e.namespaceURI!==a.svg||"innerHTML"in e)e.innerHTML=t;else{(r=r||document.createElement("div")).innerHTML="<svg>"+t+"</svg>";for(var n=r.firstChild;n.firstChild;)e.appendChild(n.firstChild)}}));if(o.canUseDOM){var c=document.createElement("div");c.innerHTML=" ",""===c.innerHTML&&(l=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),i.test(t)||"<"===t[0]&&s.test(t)){e.innerHTML=String.fromCharCode(65279)+t;var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t}),c=null}e.exports=l},8272:(e,t,n)=>{"use strict";var r=n(4579),o=n(356),a=n(1421),i=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t};r.canUseDOM&&("textContent"in document.documentElement||(i=function(e,t){3!==e.nodeType?a(e,o(t)):e.nodeValue=t})),e.exports=i},4016:e=>{"use strict";e.exports=function(e,t){var n=null===e||!1===e,r=null===t||!1===t;if(n||r)return n===r;var o=typeof e,a=typeof t;return"string"===o||"number"===o?"string"===a||"number"===a:"object"===a&&e.type===t.type&&e.key===t.key}},578:(e,t,n)=>{"use strict";var r=n(3349),o=(n(3787),n(8257)),a=n(783),i=(n(7081),n(4993));function s(e,t){return e&&"object"==typeof e&&null!=e.key?i.escape(e.key):t.toString(36)}function l(e,t,n,c){var u,p=typeof e;if("undefined"!==p&&"boolean"!==p||(e=null),null===e||"string"===p||"number"===p||"object"===p&&e.$$typeof===o)return n(c,e,""===t?"."+s(e,0):t),1;var d=0,f=""===t?".":t+":";if(Array.isArray(e))for(var h=0;h<e.length;h++)d+=l(u=e[h],f+s(u,h),n,c);else{var g=a(e);if(g){var b,m=g.call(e);if(g!==e.entries)for(var v=0;!(b=m.next()).done;)d+=l(u=b.value,f+s(u,v++),n,c);else for(;!(b=m.next()).done;){var y=b.value;y&&(d+=l(u=y[1],f+i.escape(y[0])+":"+s(u,0),n,c))}}else if("object"===p){var _=String(e);r("31","[object Object]"===_?"object with keys {"+Object.keys(e).join(", ")+"}":_,"")}}return d}n(2264),e.exports=function(e,t,n){return null==e?0:l(e,"",t,n)}},4496:(e,t,n)=>{"use strict";n(2525);var r=n(3743),o=(n(2264),r);e.exports=o},8182:function(e,t,n){var r;r=function(e){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=l(n(1)),i=l(n(2)),s=l(n(3));function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var u="undefined"==typeof document||!document||!document.createElement||"multiple"in document.createElement("input"),p=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.onClick=r.onClick.bind(r),r.onDragStart=r.onDragStart.bind(r),r.onDragEnter=r.onDragEnter.bind(r),r.onDragLeave=r.onDragLeave.bind(r),r.onDragOver=r.onDragOver.bind(r),r.onDrop=r.onDrop.bind(r),r.onFileDialogCancel=r.onFileDialogCancel.bind(r),r.fileAccepted=r.fileAccepted.bind(r),r.isFileDialogActive=!1,r.state={isDragActive:!1},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){this.enterCounter=0,document.body.onfocus=this.onFileDialogCancel}},{key:"componentWillUnmount",value:function(){document.body.onfocus=null}},{key:"onDragStart",value:function(e){this.props.onDragStart&&this.props.onDragStart.call(this,e)}},{key:"onDragEnter",value:function(e){e.preventDefault(),++this.enterCounter;var t=this.allFilesAccepted((0,s.default)(e,this.props.multiple));this.setState({isDragActive:t,isDragReject:!t}),this.props.onDragEnter&&this.props.onDragEnter.call(this,e)}},{key:"onDragOver",value:function(e){e.preventDefault(),e.stopPropagation();try{e.dataTransfer.dropEffect="copy"}catch(e){}return this.props.onDragOver&&this.props.onDragOver.call(this,e),!1}},{key:"onDragLeave",value:function(e){e.preventDefault(),--this.enterCounter>0||(this.setState({isDragActive:!1,isDragReject:!1}),this.props.onDragLeave&&this.props.onDragLeave.call(this,e))}},{key:"onDrop",value:function(e){var t=this,n=this.props,r=n.onDrop,o=n.onDropAccepted,a=n.onDropRejected,i=n.multiple,l=n.disablePreview,c=(0,s.default)(e,i),u=[],p=[];e.preventDefault(),this.enterCounter=0,this.isFileDialogActive=!1,c.forEach((function(e){l||(e.preview=window.URL.createObjectURL(e)),t.fileAccepted(e)&&t.fileMatchSize(e)?u.push(e):p.push(e)})),r&&r.call(this,u,p,e),p.length>0&&a&&a.call(this,p,e),u.length>0&&o&&o.call(this,u,e),this.setState({isDragActive:!1,isDragReject:!1})}},{key:"onClick",value:function(e){var t=this.props,n=t.onClick;t.disableClick||(e.stopPropagation(),this.open(),n&&n.call(this,e))}},{key:"onFileDialogCancel",value:function(){var e=this.props.onFileDialogCancel,t=this.fileInputEl,n=this.isFileDialogActive;e&&n&&setTimeout((function(){t.files.length||(n=!1,e())}),300)}},{key:"fileAccepted",value:function(e){return(0,i.default)(e,this.props.accept)}},{key:"fileMatchSize",value:function(e){return e.size<=this.props.maxSize&&e.size>=this.props.minSize}},{key:"allFilesAccepted",value:function(e){return e.every(this.fileAccepted)}},{key:"open",value:function(){this.isFileDialogActive=!0,this.fileInputEl.value=null,this.fileInputEl.click()}},{key:"render",value:function(){var e=this,t=this.props,n=t.accept,o=t.activeClassName,i=t.inputProps,s=t.multiple,l=t.name,p=t.rejectClassName,d=c(t,["accept","activeClassName","inputProps","multiple","name","rejectClassName"]),f=d.activeStyle,h=d.className,g=d.rejectStyle,b=d.style,m=c(d,["activeStyle","className","rejectStyle","style"]),v=this.state,y=v.isDragActive,_=v.isDragReject;h=h||"",y&&o&&(h+=" "+o),_&&p&&(h+=" "+p),h||b||f||g||(b={width:200,height:200,borderWidth:2,borderColor:"#666",borderStyle:"dashed",borderRadius:5},f={borderStyle:"solid",backgroundColor:"#eee"},g={borderStyle:"solid",backgroundColor:"#ffdddd"});var x;x=f&&y?r({},b,f):g&&_?r({},b,g):r({},b);var w={accept:n,type:"file",style:{display:"none"},multiple:u&&s,ref:function(t){return e.fileInputEl=t},onChange:this.onDrop};l&&l.length&&(w.name=l);var k=r({},m);return["acceptedFiles","disablePreview","disableClick","onDropAccepted","onDropRejected","onFileDialogCancel","maxSize","minSize"].forEach((function(e){return delete k[e]})),a.default.createElement("div",r({className:h,style:x},k,{onClick:this.onClick,onDragStart:this.onDragStart,onDragEnter:this.onDragEnter,onDragOver:this.onDragOver,onDragLeave:this.onDragLeave,onDrop:this.onDrop}),this.props.children,a.default.createElement("input",r({},i,w)))}}]),t}(a.default.Component);p.defaultProps={disablePreview:!1,disableClick:!1,multiple:!0,maxSize:1/0,minSize:0},p.propTypes={onClick:a.default.PropTypes.func,onDrop:a.default.PropTypes.func,onDropAccepted:a.default.PropTypes.func,onDropRejected:a.default.PropTypes.func,onDragStart:a.default.PropTypes.func,onDragEnter:a.default.PropTypes.func,onDragOver:a.default.PropTypes.func,onDragLeave:a.default.PropTypes.func,children:a.default.PropTypes.node,style:a.default.PropTypes.object,activeStyle:a.default.PropTypes.object,rejectStyle:a.default.PropTypes.object,className:a.default.PropTypes.string,activeClassName:a.default.PropTypes.string,rejectClassName:a.default.PropTypes.string,disablePreview:a.default.PropTypes.bool,disableClick:a.default.PropTypes.bool,onFileDialogCancel:a.default.PropTypes.func,inputProps:a.default.PropTypes.object,multiple:a.default.PropTypes.bool,accept:a.default.PropTypes.string,name:a.default.PropTypes.string,maxSize:a.default.PropTypes.number,minSize:a.default.PropTypes.number},t.default=p,e.exports=t.default},function(t,n){t.exports=e},function(e,t){e.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";t.__esModule=!0,n(8),n(9),t.default=function(e,t){if(e&&t){var n=function(){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=e.type||"",a=o.replace(/\/.*$/,"");return{v:n.some((function(e){var t=e.trim();return"."===t.charAt(0)?r.toLowerCase().endsWith(t.toLowerCase()):/\/\*$/.test(t)?a===t.replace(/\/.*$/,""):o===t}))}}();if("object"==typeof n)return n.v}return!0},e.exports=t.default},function(e,t){var n=e.exports={version:"1.2.2"};"number"==typeof __e&&(__e=n)},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){var r=n(2),o=n(1),a=n(4),i=n(19),s="prototype",l=function(e,t){return function(){return e.apply(t,arguments)}},c=function(e,t,n){var u,p,d,f,h=e&c.G,g=e&c.P,b=h?r:e&c.S?r[t]||(r[t]={}):(r[t]||{})[s],m=h?o:o[t]||(o[t]={});for(u in h&&(n=t),n)d=((p=!(e&c.F)&&b&&u in b)?b:n)[u],f=e&c.B&&p?l(d,r):g&&"function"==typeof d?l(Function.call,d):d,b&&!p&&i(b,u,d),m[u]!=d&&a(m,u,f),g&&((m[s]||(m[s]={}))[u]=d)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,e.exports=c},function(e,t,n){var r=n(5),o=n(18);e.exports=n(22)?function(e,t,n){return r.setDesc(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n=Object;e.exports={create:n.create,getProto:n.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:n.getOwnPropertyDescriptor,setDesc:n.defineProperty,setDescs:n.defineProperties,getKeys:n.keys,getNames:n.getOwnPropertyNames,getSymbols:n.getOwnPropertySymbols,each:[].forEach}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){var r=n(20)("wks"),o=n(2).Symbol;e.exports=function(e){return r[e]||(r[e]=o&&o[e]||(o||n(6))("Symbol."+e))}},function(e,t,n){n(26),e.exports=n(1).Array.some},function(e,t,n){n(25),e.exports=n(1).String.endsWith},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(10);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[n(7)("match")]=!1,!"/./"[e](t)}catch(e){}}return!0}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(16),o=n(11),a=n(7)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==o(e))}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(2),o=n(4),a=n(6)("src"),i="toString",s=Function[i],l=(""+s).split(i);n(1).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,i){"function"==typeof n&&(o(n,a,e[t]?""+e[t]:l.join(String(t))),"name"in n||(n.name=t)),e===r?e[t]=n:(i||delete e[t],o(e,t,n))})(Function.prototype,i,(function(){return"function"==typeof this&&this[a]||s.call(this)}))},function(e,t,n){var r=n(2),o="__core-js_shared__",a=r[o]||(r[o]={});e.exports=function(e){return a[e]||(a[e]={})}},function(e,t,n){var r=n(17),o=n(13);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(e))}},function(e,t,n){e.exports=!n(15)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(23),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){"use strict";var r=n(3),o=n(24),a=n(21),i="endsWith",s=""[i];r(r.P+r.F*n(14)(i),"String",{endsWith:function(e){var t=a(this,e,i),n=arguments,r=n.length>1?n[1]:void 0,l=o(t.length),c=void 0===r?l:Math.min(o(r),l),u=String(e);return s?s.call(t,u,c):t.slice(c-u.length,c)===u}})},function(e,t,n){var r=n(5),o=n(3),a=n(1).Array||Array,i={},s=function(e,t){r.each.call(e.split(","),(function(e){null==t&&e in a?i[e]=a[e]:e in[]&&(i[e]=n(12)(Function.call,[][e],t))}))};s("pop,reverse,shift,keys,values,entries",1),s("indexOf,every,some,forEach,map,filter,find,findIndex,includes",3),s("join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill"),o(o.S,"Array",i)}])},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=[];if(e.dataTransfer){var r=e.dataTransfer;r.files&&r.files.length?n=r.files:r.items&&r.items.length&&(n=r.items)}else e.target&&e.target.files&&(n=e.target.files);return n.length>0&&(n=t?n:[n[0]]),Array.prototype.slice.call(n)},e.exports=t.default}])},e.exports=r(n(8771))},1846:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(8771),i=(r=a)&&r.__esModule?r:{default:r},s=function(e,t){var n=e.children,r=e.color,a=e.size,s=e.style,l=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","color","size","style"]),c=t.reactIconBase,u=void 0===c?{}:c,p=a||u.size||"1em";return i.default.createElement("svg",o({children:n,fill:"currentColor",preserveAspectRatio:"xMidYMid meet",height:p,width:p},u,l,{style:o({verticalAlign:"middle",color:r||u.color},u.style||{},s)}))};s.propTypes={color:a.PropTypes.string,size:a.PropTypes.oneOfType([a.PropTypes.string,a.PropTypes.number]),style:a.PropTypes.object},s.contextTypes={reactIconBase:a.PropTypes.shape(s.propTypes)},t.default=s,e.exports=t.default},2136:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=i(n(8771)),a=i(n(1846));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){return o.default.createElement(a.default,r({viewBox:"0 0 40 40"},e),o.default.createElement("g",null,o.default.createElement("path",{d:"m37.3 12.6q0 0.9-0.6 1.6l-19.2 19.1q-0.6 0.7-1.5 0.7t-1.6-0.7l-11.1-11.1q-0.6-0.6-0.6-1.5t0.6-1.5l3.1-3q0.6-0.7 1.5-0.7t1.5 0.7l6.6 6.5 14.6-14.6q0.6-0.6 1.5-0.6t1.5 0.6l3.1 3q0.6 0.6 0.6 1.5z"})))},e.exports=t.default},944:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=i(n(8771)),a=i(n(1846));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){return o.default.createElement(a.default,r({viewBox:"0 0 40 40"},e),o.default.createElement("g",null,o.default.createElement("path",{d:"m26.6 19.3q0-0.3-0.2-0.4l-7.3-7.4q-0.2-0.1-0.5-0.1t-0.5 0.1l-7.3 7.3q-0.2 0.3-0.2 0.5 0 0.3 0.2 0.5t0.5 0.2h4.6v7.3q0 0.3 0.2 0.5t0.5 0.2h4q0.3 0 0.5-0.2t0.2-0.5v-7.3h4.6q0.3 0 0.5-0.2t0.2-0.5z m13.3 6q0 3.3-2.4 5.7t-5.6 2.3h-22.6q-3.8 0-6.6-2.7t-2.7-6.6q0-2.7 1.5-5t3.9-3.4q-0.1-0.6-0.1-0.9 0-4.4 3.1-7.5t7.5-3.1q3.3 0 6 1.8t3.9 4.8q1.5-1.3 3.4-1.3 2.2 0 3.8 1.5t1.5 3.8q0 1.6-0.8 2.8 2.7 0.7 4.4 2.9t1.8 4.9z"})))},e.exports=t.default},2965:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=i(n(8771)),a=i(n(1846));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){return o.default.createElement(a.default,r({viewBox:"0 0 40 40"},e),o.default.createElement("g",null,o.default.createElement("path",{d:"m35.8 8.5q0.6 0.6 1 1.7t0.5 1.9v25.8q0 0.8-0.6 1.5t-1.6 0.6h-30q-0.9 0-1.5-0.6t-0.6-1.5v-35.8q0-0.8 0.6-1.5t1.5-0.6h20q0.9 0 2 0.4t1.7 1.1z m-9.9-5.5v8.4h8.4q-0.3-0.6-0.5-0.9l-7-7q-0.3-0.2-0.9-0.5z m8.5 34.1v-22.8h-9.3q-0.9 0-1.5-0.6t-0.6-1.6v-9.2h-17.1v34.2h28.5z m-11.4-13.2q0.7 0.6 1.8 1.3 1.3-0.2 2.6-0.2 3.3 0 4 1.1 0.4 0.5 0 1.2 0 0 0 0l0 0v0.1q-0.2 0.8-1.6 0.8-1.1 0-2.6-0.4t-2.9-1.2q-4.9 0.5-8.7 1.8-3.4 5.9-5.4 5.9-0.4 0-0.7-0.2l-0.5-0.2q0-0.1-0.1-0.2-0.3-0.2-0.2-0.8 0.2-0.8 1.3-2t2.9-2.1q0.3-0.2 0.5 0.1 0.1 0 0.1 0.1 1.1-1.9 2.4-4.4 1.5-3.1 2.3-5.9-0.5-1.8-0.7-3.5t0.2-2.9q0.2-0.9 0.9-0.9h0.5q0.5 0 0.8 0.4 0.4 0.4 0.2 1.5-0.1 0.1-0.1 0.2 0 0 0 0.1v0.7q0 2.8-0.3 4.3 1.2 3.7 3.3 5.3z m-12.9 9.2q1.2-0.6 3.1-3.5-1.2 0.8-2 1.8t-1.1 1.7z m8.9-20.6q-0.4 1-0.1 3 0.1-0.2 0.2-1 0-0.1 0.1-0.9 0.1-0.1 0.1-0.2 0-0.1 0-0.1t0 0 0 0q0-0.5-0.3-0.8 0 0 0 0v0z m-2.8 14.8q3-1.2 6.4-1.8-0.1 0-0.3-0.2t-0.4-0.3q-1.7-1.5-2.8-4-0.6 2-1.9 4.4-0.7 1.3-1 1.9z m14.4-0.4q-0.5-0.5-3.1-0.5 1.7 0.6 2.8 0.6 0.3 0 0.4 0 0 0-0.1-0.1z"})))},e.exports=t.default},2920:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=m(n(42)),i=m(n(4540)),s=m(n(246)),l=m(n(186)),c=m(n(2491)),u=m(n(9268)),p=m(n(8771)),d=m(n(1542)),f=m(n(9485)),h=m(n(3445)),g=m(n(6158)),b=m(n(461));function m(e){return e&&e.__esModule?e:{default:e}}var v=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.state={affixed:"top",position:null,top:null},r._needPositionUpdate=!1,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){var e=this;this._isMounted=!0,this._windowScrollListener=(0,f.default)((0,b.default)(this),"scroll",(function(){return e.onWindowScroll()})),this._documentClickListener=(0,f.default)((0,g.default)(this),"click",(function(){return e.onDocumentClick()})),this.onUpdate()}},{key:"componentWillReceiveProps",value:function(){this._needPositionUpdate=!0}},{key:"componentDidUpdate",value:function(){this._needPositionUpdate&&(this._needPositionUpdate=!1,this.onUpdate())}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this._windowScrollListener&&this._windowScrollListener.remove(),this._documentClickListener&&this._documentClickListener.remove()}},{key:"onWindowScroll",value:function(){this.onUpdate()}},{key:"onDocumentClick",value:function(){var e=this;(0,u.default)((function(){return e.onUpdate()}))}},{key:"onUpdate",value:function(){var e=this;if(this._isMounted){var t=this.props,n=t.offsetTop,r=t.viewportOffsetTop,o=(0,c.default)((0,b.default)(this))+(r||0);o<=n?this.updateState("top",null,null):o>this.getPositionTopMax()?"bottom"===this.state.affixed?this.updateStateAtBottom():this.setState({affixed:"bottom",position:"absolute",top:null},(function(){e._isMounted&&e.updateStateAtBottom()})):this.updateState("affix","fixed",r)}}},{key:"getPositionTopMax",value:function(){return(0,h.default)((0,g.default)(this))-(0,i.default)(d.default.findDOMNode(this))-this.props.offsetBottom}},{key:"updateState",value:function(e,t,n){var r=this;if(e!==this.state.affixed||t!==this.state.position||n!==this.state.top){var o="affix"===e?"":e.charAt(0).toUpperCase()+e.substr(1);this.props["onAffix"+o]&&this.props["onAffix"+o](),this.setState({affixed:e,position:t,top:n},(function(){r.props["onAffixed"+o]&&r.props["onAffixed"+o]()}))}}},{key:"updateStateAtBottom",value:function(){var e=this.getPositionTopMax(),t=(0,l.default)(d.default.findDOMNode(this)),n=(0,s.default)(t).top;this.updateState("bottom","absolute",e-n)}},{key:"render",value:function(){var e=p.default.Children.only(this.props.children),t=e.props,n=t.className,o=t.style,i=this.state,s=i.affixed,l={position:i.position,top:i.top},c=void 0,u=void 0;return"top"===s?(c=this.props.topClassName,u=this.props.topStyle):"bottom"===s?(c=this.props.bottomClassName,u=this.props.bottomStyle):(c=this.props.affixClassName,u=this.props.affixStyle),p.default.cloneElement(e,{className:(0,a.default)(c,n),style:r({},l,u,o)})}}]),t}(p.default.Component);v.propTypes={offsetTop:p.default.PropTypes.number,viewportOffsetTop:p.default.PropTypes.number,offsetBottom:p.default.PropTypes.number,topClassName:p.default.PropTypes.string,topStyle:p.default.PropTypes.object,affixClassName:p.default.PropTypes.string,affixStyle:p.default.PropTypes.object,bottomClassName:p.default.PropTypes.string,bottomStyle:p.default.PropTypes.object,onAffix:p.default.PropTypes.func,onAffixed:p.default.PropTypes.func,onAffixTop:p.default.PropTypes.func,onAffixedTop:p.default.PropTypes.func,onAffixBottom:p.default.PropTypes.func,onAffixedBottom:p.default.PropTypes.func},v.defaultProps={offsetTop:0,viewportOffsetTop:null,offsetBottom:0},t.default=v,e.exports=t.default},5265:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=g(n(246)),i=g(n(9268)),s=g(n(8771)),l=g(n(7927)),c=g(n(2920)),u=g(n(9485)),p=g(n(7221)),d=g(n(3445)),f=g(n(6158)),h=g(n(461));function g(e){return e&&e.__esModule?e:{default:e}}var b=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.state={offsetTop:null,offsetBottom:null,width:null},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){var e=this;this._isMounted=!0,this._windowScrollListener=(0,u.default)((0,h.default)(this),"scroll",(function(){return e.onWindowScroll()})),this._windowResizeListener=(0,u.default)((0,h.default)(this),"resize",(function(){return e.onWindowResize()})),this._documentClickListener=(0,u.default)((0,f.default)(this),"click",(function(){return e.onDocumentClick()})),this.onUpdate()}},{key:"componentWillReceiveProps",value:function(){this._needPositionUpdate=!0}},{key:"componentDidUpdate",value:function(){this._needPositionUpdate&&(this._needPositionUpdate=!1,this.onUpdate())}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this._windowScrollListener&&this._windowScrollListener.remove(),this._documentClickListener&&this._documentClickListener.remove(),this._windowResizeListener&&this._windowResizeListener.remove()}},{key:"onWindowScroll",value:function(){this.onUpdate()}},{key:"onWindowResize",value:function(){var e=this;this.props.autoWidth&&(0,i.default)((function(){return e.onUpdate()}))}},{key:"onDocumentClick",value:function(){var e=this;(0,i.default)((function(){return e.onUpdate()}))}},{key:"onUpdate",value:function(){if(this._isMounted){var e=(0,a.default)(this.refs.positioner),t=e.top,n=e.width,r=(0,p.default)(this.props.container),o=void 0;if(r){var i=(0,d.default)((0,f.default)(this)),s=(0,a.default)(r);o=i-s.top-s.height}else o=null;this.updateState(t,o,n)}}},{key:"updateState",value:function(e,t,n){e===this.state.offsetTop&&t===this.state.offsetBottom&&n===this.state.width||this.setState({offsetTop:e,offsetBottom:t,width:n})}},{key:"render",value:function(){var e=this.props,t=e.autoWidth,n=e.viewportOffsetTop,o=e.children,a=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["autoWidth","viewportOffsetTop","children"]),i=this.state,l=i.offsetTop,u=i.offsetBottom,p=i.width;delete a.container;var d=Math.max(l,n||0),f=this.props,h=f.affixStyle,g=f.bottomStyle;return t&&(h=r({width:p},h),g=r({width:p},g)),s.default.createElement("div",null,s.default.createElement("div",{ref:"positioner"}),s.default.createElement(c.default,r({},a,{offsetTop:d,viewportOffsetTop:n,offsetBottom:u,affixStyle:h,bottomStyle:g}),o))}}]),t}(s.default.Component);b.propTypes=r({},c.default.propTypes,{container:s.default.PropTypes.oneOfType([l.default,s.default.PropTypes.func]),autoWidth:s.default.PropTypes.bool}),b.defaultProps={viewportOffsetTop:0,autoWidth:!0},t.default=b,e.exports=t.default},1368:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=u(n(8771)),i=u(n(9440)),s=u(n(859)),l=u(n(7576)),c=u(n(8492));function u(e){return e&&e.__esModule?e:{default:e}}var p=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.state={exited:!e.show},r.onHiddenListener=r.handleHidden.bind(r),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentWillReceiveProps",value:function(e){e.show?this.setState({exited:!1}):e.transition||this.setState({exited:!0})}},{key:"render",value:function(){var e=this.props,t=e.container,n=e.containerPadding,r=e.target,o=e.placement,c=e.shouldUpdatePosition,u=e.rootClose,p=e.children,d=e.transition,f=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["container","containerPadding","target","placement","shouldUpdatePosition","rootClose","children","transition"]);if(!(f.show||d&&!this.state.exited))return null;var h=p;if(h=a.default.createElement(s.default,{container:t,containerPadding:n,target:r,placement:o,shouldUpdatePosition:c},h),d){var g=f.onExit,b=f.onExiting,m=f.onEnter,v=f.onEntering,y=f.onEntered;h=a.default.createElement(d,{in:f.show,transitionAppear:!0,onExit:g,onExiting:b,onExited:this.onHiddenListener,onEnter:m,onEntering:v,onEntered:y},h)}return u&&(h=a.default.createElement(l.default,{onRootClose:f.onHide},h)),a.default.createElement(i.default,{container:t},h)}},{key:"handleHidden",value:function(){var e;this.setState({exited:!0}),this.props.onExited&&(e=this.props).onExited.apply(e,arguments)}}]),t}(a.default.Component);p.propTypes=r({},i.default.propTypes,s.default.propTypes,{show:a.default.PropTypes.bool,rootClose:a.default.PropTypes.bool,onHide:function(e){var t=a.default.PropTypes.func;e.rootClose&&(t=t.isRequired);for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t.apply(void 0,[e].concat(r))},transition:c.default,onEnter:a.default.PropTypes.func,onEntering:a.default.PropTypes.func,onEntered:a.default.PropTypes.func,onExit:a.default.PropTypes.func,onExiting:a.default.PropTypes.func,onExited:a.default.PropTypes.func}),t.default=p,e.exports=t.default},9440:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=l(n(8771)),o=l(n(1542)),a=l(n(7927)),i=l(n(6158)),s=l(n(7221));function l(e){return e&&e.__esModule?e:{default:e}}var c=r.default.createClass({displayName:"Portal",propTypes:{container:r.default.PropTypes.oneOfType([a.default,r.default.PropTypes.func])},componentDidMount:function(){this._renderOverlay()},componentDidUpdate:function(){this._renderOverlay()},componentWillReceiveProps:function(e){this._overlayTarget&&e.container!==this.props.container&&(this._portalContainerNode.removeChild(this._overlayTarget),this._portalContainerNode=(0,s.default)(e.container,(0,i.default)(this).body),this._portalContainerNode.appendChild(this._overlayTarget))},componentWillUnmount:function(){this._unrenderOverlay(),this._unmountOverlayTarget()},_mountOverlayTarget:function(){this._overlayTarget||(this._overlayTarget=document.createElement("div"),this._portalContainerNode=(0,s.default)(this.props.container,(0,i.default)(this).body),this._portalContainerNode.appendChild(this._overlayTarget))},_unmountOverlayTarget:function(){this._overlayTarget&&(this._portalContainerNode.removeChild(this._overlayTarget),this._overlayTarget=null),this._portalContainerNode=null},_renderOverlay:function(){var e=this.props.children?r.default.Children.only(this.props.children):null;null!==e?(this._mountOverlayTarget(),this._overlayInstance=o.default.unstable_renderSubtreeIntoContainer(this,e,this._overlayTarget)):(this._unrenderOverlay(),this._unmountOverlayTarget())},_unrenderOverlay:function(){this._overlayTarget&&(o.default.unmountComponentAtNode(this._overlayTarget),this._overlayInstance=null)},render:function(){return null},getMountNode:function(){return this._overlayTarget},getOverlayDOMNode:function(){if(!this.isMounted())throw new Error("getOverlayDOMNode(): A component must be mounted to have a DOM node.");return this._overlayInstance?o.default.findDOMNode(this._overlayInstance):null}});t.default=c,e.exports=t.default},859:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=f(n(42)),i=n(8771),s=f(i),l=f(n(1542)),c=f(n(7927)),u=f(n(3135)),p=f(n(7221)),d=f(n(6158));function f(e){return e&&e.__esModule?e:{default:e}}function h(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var g=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.state={positionLeft:0,positionTop:0,arrowOffsetLeft:null,arrowOffsetTop:null},r._needsFlush=!1,r._lastTarget=null,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){this.updatePosition(this.getTarget())}},{key:"componentWillReceiveProps",value:function(){this._needsFlush=!0}},{key:"componentDidUpdate",value:function(e){this._needsFlush&&(this._needsFlush=!1,this.maybeUpdatePosition(this.props.placement!==e.placement))}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,o=h(e,["children","className"]),l=this.state,c=l.positionLeft,u=l.positionTop,p=h(l,["positionLeft","positionTop"]);delete o.target,delete o.container,delete o.containerPadding,delete o.shouldUpdatePosition;var d=s.default.Children.only(t);return(0,i.cloneElement)(d,r({},o,p,{positionLeft:c,positionTop:u,className:(0,a.default)(n,d.props.className),style:r({},d.props.style,{left:c,top:u})}))}},{key:"getTarget",value:function(){var e=this.props.target,t="function"==typeof e?e():e;return t&&l.default.findDOMNode(t)||null}},{key:"maybeUpdatePosition",value:function(e){var t=this.getTarget();(this.props.shouldUpdatePosition||t!==this._lastTarget||e)&&this.updatePosition(t)}},{key:"updatePosition",value:function(e){if(this._lastTarget=e,e){var t=l.default.findDOMNode(this),n=(0,p.default)(this.props.container,(0,d.default)(this).body);this.setState((0,u.default)(this.props.placement,t,e,n,this.props.containerPadding))}else this.setState({positionLeft:0,positionTop:0,arrowOffsetLeft:null,arrowOffsetTop:null})}}]),t}(s.default.Component);g.propTypes={target:s.default.PropTypes.oneOfType([c.default,s.default.PropTypes.func]),container:s.default.PropTypes.oneOfType([c.default,s.default.PropTypes.func]),containerPadding:s.default.PropTypes.number,placement:s.default.PropTypes.oneOf(["top","right","bottom","left"]),shouldUpdatePosition:s.default.PropTypes.bool},g.displayName="Position",g.defaultProps={containerPadding:0,placement:"right",shouldUpdatePosition:!1},t.default=g,e.exports=t.default},7576:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=c(n(4702)),a=c(n(8771)),i=c(n(1542)),s=c(n(9485)),l=c(n(6158));function c(e){return e&&e.__esModule?e:{default:e}}var u=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.handleMouseCapture=function(e){var t;r.preventMouseRootClose=!!((t=e).metaKey||t.altKey||t.ctrlKey||t.shiftKey)||!function(e){return 0===e.button}(e)||(0,o.default)(i.default.findDOMNode(r),e.target)},r.handleMouse=function(e){!r.preventMouseRootClose&&r.props.onRootClose&&r.props.onRootClose(e)},r.handleKeyUp=function(e){27===e.keyCode&&r.props.onRootClose&&r.props.onRootClose(e)},r.preventMouseRootClose=!1,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"componentDidMount",value:function(){this.props.disabled||this.addEventListeners()}},{key:"componentDidUpdate",value:function(e){!this.props.disabled&&e.disabled?this.addEventListeners():this.props.disabled&&!e.disabled&&this.removeEventListeners()}},{key:"componentWillUnmount",value:function(){this.props.disabled||this.removeEventListeners()}},{key:"addEventListeners",value:function(){var e=this.props.event,t=(0,l.default)(this);this.documentMouseCaptureListener=(0,s.default)(t,e,this.handleMouseCapture,!0),this.documentMouseListener=(0,s.default)(t,e,this.handleMouse),this.documentKeyupListener=(0,s.default)(t,"keyup",this.handleKeyUp)}},{key:"removeEventListeners",value:function(){this.documentMouseCaptureListener&&this.documentMouseCaptureListener.remove(),this.documentMouseListener&&this.documentMouseListener.remove(),this.documentKeyupListener&&this.documentKeyupListener.remove()}},{key:"render",value:function(){return this.props.children}}]),t}(a.default.Component);u.displayName="RootCloseWrapper",u.propTypes={onRootClose:a.default.PropTypes.func,children:a.default.PropTypes.element,disabled:a.default.PropTypes.bool,event:a.default.PropTypes.oneOf(["click","mousedown"])},u.defaultProps={event:"click"},t.default=u,e.exports=t.default},4228:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EXITING=t.ENTERED=t.ENTERING=t.EXITED=t.UNMOUNTED=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=u(n(42)),i=u(n(6061)),s=u(n(132)),l=u(n(8771)),c=u(n(1542));function u(e){return e&&e.__esModule?e:{default:e}}var p=s.default.end,d=t.UNMOUNTED=0,f=t.EXITED=1,h=t.ENTERING=2,g=t.ENTERED=3,b=t.EXITING=4,m=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n)),o=void 0;return r.nextStatus=null,e.in?e.transitionAppear?(o=f,r.nextStatus=h):o=g:o=e.unmountOnExit||e.mountOnEnter?d:f,r.state={status:o},r.nextCallback=null,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){this.updateStatus()}},{key:"componentWillReceiveProps",value:function(e){var t=this.state.status;e.in?(t===d&&this.setState({status:f}),t!==h&&t!==g&&(this.nextStatus=h)):t!==h&&t!==g||(this.nextStatus=b)}},{key:"componentDidUpdate",value:function(){this.updateStatus()}},{key:"componentWillUnmount",value:function(){this.cancelNextCallback()}},{key:"updateStatus",value:function(){var e=this;if(null!==this.nextStatus){this.cancelNextCallback();var t=c.default.findDOMNode(this);this.nextStatus===h?(this.props.onEnter(t),this.safeSetState({status:h},(function(){e.props.onEntering(t),e.onTransitionEnd(t,(function(){e.safeSetState({status:g},(function(){e.props.onEntered(t)}))}))}))):(this.props.onExit(t),this.safeSetState({status:b},(function(){e.props.onExiting(t),e.onTransitionEnd(t,(function(){e.safeSetState({status:f},(function(){e.props.onExited(t)}))}))}))),this.nextStatus=null}else this.props.unmountOnExit&&this.state.status===f&&this.setState({status:d})}},{key:"cancelNextCallback",value:function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)}},{key:"safeSetState",value:function(e,t){this.setState(e,this.setNextCallback(t))}},{key:"setNextCallback",value:function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback}},{key:"onTransitionEnd",value:function(e,t){this.setNextCallback(t),e?((0,i.default)(e,p,this.nextCallback),setTimeout(this.nextCallback,this.props.timeout)):setTimeout(this.nextCallback,0)}},{key:"render",value:function(){var e=this.state.status;if(e===d)return null;var n=this.props,o=n.children,i=n.className,s=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(n,["children","className"]);Object.keys(t.propTypes).forEach((function(e){return delete s[e]}));var c=void 0;e===f?c=this.props.exitedClassName:e===h?c=this.props.enteringClassName:e===g?c=this.props.enteredClassName:e===b&&(c=this.props.exitingClassName);var u=l.default.Children.only(o);return l.default.cloneElement(u,r({},s,{className:(0,a.default)(u.props.className,i,c)}))}}]),t}(l.default.Component);function v(){}m.propTypes={in:l.default.PropTypes.bool,mountOnEnter:l.default.PropTypes.bool,unmountOnExit:l.default.PropTypes.bool,transitionAppear:l.default.PropTypes.bool,timeout:l.default.PropTypes.number,exitedClassName:l.default.PropTypes.string,exitingClassName:l.default.PropTypes.string,enteredClassName:l.default.PropTypes.string,enteringClassName:l.default.PropTypes.string,onEnter:l.default.PropTypes.func,onEntering:l.default.PropTypes.func,onEntered:l.default.PropTypes.func,onExit:l.default.PropTypes.func,onExiting:l.default.PropTypes.func,onExited:l.default.PropTypes.func},m.displayName="Transition",m.defaultProps={in:!1,unmountOnExit:!1,transitionAppear:!1,timeout:5e3,onEnter:v,onEntering:v,onEntered:v,onExit:v,onExiting:v,onExited:v},t.default=m},9485:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,a){return(0,r.default)(e,t,n,a),{remove:function(){(0,o.default)(e,t,n,a)}}};var r=a(n(6061)),o=a(n(2281));function a(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},3135:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,a,i){var s="BODY"===a.tagName?(0,r.default)(n):(0,o.default)(n,a),c=(0,r.default)(t),u=c.height,p=c.width,d=void 0,f=void 0,h=void 0,g=void 0;if("left"===e||"right"===e){f=s.top+(s.height-u)/2,d="left"===e?s.left-p:s.left+s.width;var b=function(e,t,n,r){var o=l(n),a=o.scroll,i=o.height,s=e-r-a,c=e+r-a+t;return s<0?-s:c>i?i-c:0}(f,u,a,i);f+=b,g=50*(1-2*b/u)+"%",h=void 0}else{if("top"!==e&&"bottom"!==e)throw new Error('calcOverlayPosition(): No such placement of "'+e+'" found.');d=s.left+(s.width-p)/2,f="top"===e?s.top-u:s.top+s.height;var m=function(e,t,n,r){var o=l(n).width,a=e-r,i=e+r+t;return a<0?-a:i>o?o-i:0}(d,p,a,i);d+=m,h=50*(1-2*m/p)+"%",g=void 0}return{positionLeft:d,positionTop:f,arrowOffsetLeft:h,arrowOffsetTop:g}};var r=s(n(246)),o=s(n(2510)),a=s(n(2491)),i=s(n(6158));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){var t=void 0,n=void 0,o=void 0;if("BODY"===e.tagName)t=window.innerWidth,n=window.innerHeight,o=(0,a.default)((0,i.default)(e).documentElement)||(0,a.default)(e);else{var s=(0,r.default)(e);t=s.width,n=s.height,o=(0,a.default)(e)}return{width:t,height:n,scroll:o}}e.exports=t.default},7221:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return e="function"==typeof e?e():e,o.default.findDOMNode(e)||t};var r,o=(r=n(1542))&&r.__esModule?r:{default:r};e.exports=t.default},3445:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Math.max(e.documentElement.offsetHeight||0,e.height||0,e.body.scrollHeight||0,e.body.offsetHeight||0)},e.exports=t.default},6158:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(r.default.findDOMNode(e))};var r=a(n(1542)),o=a(n(144));function a(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},461:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(r.default.findDOMNode(e))};var r=a(n(1542)),o=a(n(1390));function a(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},9130:(e,t,n)=>{"use strict";t.__esModule=!0,t.default=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];function r(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=null;return t.forEach((function(e){if(null==o){var t=e.apply(void 0,n);null!=t&&(o=t)}})),o}return(0,o.default)(r)};var r,o=(r=n(6257))&&r.__esModule?r:{default:r}},7927:(e,t,n)=>{"use strict";t.__esModule=!0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},o=i(n(8771)),a=i(n(6257));function i(e){return e&&e.__esModule?e:{default:e}}t.default=(0,a.default)((function(e,t,n,a,i){var s=e[t],l=void 0===s?"undefined":r(s);return o.default.isValidElement(s)?new Error("Invalid "+a+" `"+i+"` of type ReactElement supplied to `"+n+"`, expected a ReactComponent or a DOMElement. You can usually obtain a ReactComponent or DOMElement from a ReactElement by attaching a ref to it."):"object"===l&&"function"==typeof s.render||1===s.nodeType?null:new Error("Invalid "+a+" `"+i+"` of value `"+s+"` supplied to `"+n+"`, expected a ReactComponent or a DOMElement.")}))},8492:(e,t,n)=>{"use strict";t.__esModule=!0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},o=i(n(8771)),a=i(n(6257));function i(e){return e&&e.__esModule?e:{default:e}}t.default=(0,a.default)((function(e,t,n,a,i){var s=e[t],l=void 0===s?"undefined":r(s);return o.default.isValidElement(s)?new Error("Invalid "+a+" `"+i+"` of type ReactElement supplied to `"+n+"`, expected an element type (a string or a ReactClass)."):"function"!==l&&"string"!==l?new Error("Invalid "+a+" `"+i+"` of value `"+s+"` supplied to `"+n+"`, expected an element type (a string or a ReactClass)."):null}))},5246:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e){return function(t,n,r,o,a){var i=r||"<<anonymous>>",s=a||n;if(null==t[n])return new Error("The "+o+" `"+s+"` is required to make `"+i+"` accessible for users of assistive technologies such as screen readers.");for(var l=arguments.length,c=Array(l>5?l-5:0),u=5;u<l;u++)c[u-5]=arguments[u];return e.apply(void 0,[t,n,r,o,a].concat(c))}}},6257:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e){function t(t,n,r,o,a,i){var s=o||"<<anonymous>>",l=i||r;if(null==n[r])return t?new Error("Required "+a+" `"+l+"` was not specified in `"+s+"`."):null;for(var c=arguments.length,u=Array(c>6?c-6:0),p=6;p<c;p++)u[p-6]=arguments[p];return e.apply(void 0,[n,r,s,a,l].concat(u))}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}},2456:e=>{"use strict";e.exports={escape:function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))},unescape:function(e){var t={"=0":"=","=2":":"};return(""+("."===e[0]&&"$"===e[1]?e.substring(2):e.substring(1))).replace(/(=0|=2)/g,(function(e){return t[e]}))}}},1533:(e,t,n)=>{"use strict";var r=n(977),o=(n(7081),function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)}),a=function(e){var t=this;e instanceof t||r("25"),e.destructor(),t.instancePool.length<t.poolSize&&t.instancePool.push(e)},i=o,s={addPoolingTo:function(e,t){var n=e;return n.instancePool=[],n.getPooled=t||i,n.poolSize||(n.poolSize=10),n.release=a,n},oneArgumentPooler:o,twoArgumentPooler:function(e,t){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,e,t),r}return new n(e,t)},threeArgumentPooler:function(e,t,n){var r=this;if(r.instancePool.length){var o=r.instancePool.pop();return r.call(o,e,t,n),o}return new r(e,t,n)},fourArgumentPooler:function(e,t,n,r){var o=this;if(o.instancePool.length){var a=o.instancePool.pop();return o.call(a,e,t,n,r),a}return new o(e,t,n,r)}};e.exports=s},3467:(e,t,n)=>{"use strict";var r=n(2525),o=n(8237),a=n(4273),i=n(9086),s=n(629),l=n(9334),c=n(8340),u=n(6949),p=n(1891),d=n(1477),f=(n(2264),c.createElement),h=c.createFactory,g=c.cloneElement,b=r,m={Children:{map:o.map,forEach:o.forEach,count:o.count,toArray:o.toArray,only:d},Component:a,PureComponent:i,createElement:f,cloneElement:g,isValidElement:c.isValidElement,PropTypes:u,createClass:s.createClass,createFactory:h,createMixin:function(e){return e},DOM:l,version:p,__spread:b};e.exports=m},8237:(e,t,n)=>{"use strict";var r=n(1533),o=n(8340),a=n(3743),i=n(143),s=r.twoArgumentPooler,l=r.fourArgumentPooler,c=/\/+/g;function u(e){return(""+e).replace(c,"$&/")}function p(e,t){this.func=e,this.context=t,this.count=0}function d(e,t,n){var r=e.func,o=e.context;r.call(o,t,e.count++)}function f(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function h(e,t,n){var r=e.result,i=e.keyPrefix,s=e.func,l=e.context,c=s.call(l,t,e.count++);Array.isArray(c)?g(c,r,n,a.thatReturnsArgument):null!=c&&(o.isValidElement(c)&&(c=o.cloneAndReplaceKey(c,i+(!c.key||t&&t.key===c.key?"":u(c.key)+"/")+n)),r.push(c))}function g(e,t,n,r,o){var a="";null!=n&&(a=u(n)+"/");var s=f.getPooled(t,a,r,o);i(e,h,s),f.release(s)}function b(e,t,n){return null}p.prototype.destructor=function(){this.func=null,this.context=null,this.count=0},r.addPoolingTo(p,s),f.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},r.addPoolingTo(f,l);var m={forEach:function(e,t,n){if(null==e)return e;var r=p.getPooled(t,n);i(e,d,r),p.release(r)},map:function(e,t,n){if(null==e)return e;var r=[];return g(e,r,null,t,n),r},mapIntoWithKeyPrefixInternal:g,count:function(e,t){return i(e,b,null)},toArray:function(e){var t=[];return g(e,t,null,a.thatReturnsArgument),t}};e.exports=m},629:(e,t,n)=>{"use strict";var r=n(977),o=n(2525),a=n(4273),i=n(8340),s=(n(6343),n(2753)),l=n(5117),c=(n(7081),n(2264),"mixins"),u=[],p={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},d={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)h(e,t[n])},childContextTypes:function(e,t){e.childContextTypes=o({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=o({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=b(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){e.propTypes=o({},e.propTypes,t)},statics:function(e,t){!function(e,t){if(t)for(var n in t){var o=t[n];t.hasOwnProperty(n)&&(n in d&&r("78",n),n in e&&r("79",n),e[n]=o)}}(e,t)},autobind:function(){}};function f(e,t){var n=p.hasOwnProperty(t)?p[t]:null;y.hasOwnProperty(t)&&"OVERRIDE_BASE"!==n&&r("73",t),e&&"DEFINE_MANY"!==n&&"DEFINE_MANY_MERGED"!==n&&r("74",t)}function h(e,t){if(t){"function"==typeof t&&r("75"),i.isValidElement(t)&&r("76");var n=e.prototype,o=n.__reactAutoBindPairs;for(var a in t.hasOwnProperty(c)&&d.mixins(e,t.mixins),t)if(t.hasOwnProperty(a)&&a!==c){var s=t[a],l=n.hasOwnProperty(a);if(f(l,a),d.hasOwnProperty(a))d[a](e,s);else{var u=p.hasOwnProperty(a);if("function"!=typeof s||u||l||!1===t.autobind)if(l){var h=p[a];(!u||"DEFINE_MANY_MERGED"!==h&&"DEFINE_MANY"!==h)&&r("77",h,a),"DEFINE_MANY_MERGED"===h?n[a]=b(n[a],s):"DEFINE_MANY"===h&&(n[a]=m(n[a],s))}else n[a]=s;else o.push(a,s),n[a]=s}}}}function g(e,t){for(var n in e&&t&&"object"==typeof e&&"object"==typeof t||r("80"),t)t.hasOwnProperty(n)&&(void 0!==e[n]&&r("81",n),e[n]=t[n]);return e}function b(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return r;if(null==r)return n;var o={};return g(o,n),g(o,r),o}}function m(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function v(e,t){return t.bind(e)}var y={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e),t&&this.updater.enqueueCallback(this,t,"replaceState")},isMounted:function(){return this.updater.isMounted(this)}},_=function(){};o(_.prototype,a.prototype,y);var x={createClass:function(e){var t=function(e,n,o){this.__reactAutoBindPairs.length&&function(e){for(var t=e.__reactAutoBindPairs,n=0;n<t.length;n+=2){var r=t[n],o=t[n+1];e[r]=v(e,o)}}(this),this.props=e,this.context=n,this.refs=l,this.updater=o||s,this.state=null;var a=this.getInitialState?this.getInitialState():null;("object"!=typeof a||Array.isArray(a))&&r("82",t.displayName||"ReactCompositeComponent"),this.state=a};for(var n in t.prototype=new _,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],u.forEach(h.bind(null,t)),h(t,e),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),t.prototype.render||r("83"),p)t.prototype[n]||(t.prototype[n]=null);return t},injection:{injectMixin:function(e){u.push(e)}}};e.exports=x},4273:(e,t,n)=>{"use strict";var r=n(977),o=n(2753),a=(n(4164),n(5117));function i(e,t,n){this.props=e,this.context=t,this.refs=a,this.updater=n||o}n(7081),n(2264),i.prototype.isReactComponent={},i.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&r("85"),this.updater.enqueueSetState(this,e),t&&this.updater.enqueueCallback(this,t,"setState")},i.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this),e&&this.updater.enqueueCallback(this,e,"forceUpdate")},e.exports=i},8504:(e,t,n)=>{"use strict";var r,o,a,i,s,l,c,u=n(977),p=n(3787);function d(e){var t=Function.prototype.toString,n=Object.prototype.hasOwnProperty,r=RegExp("^"+t.call(n).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");try{var o=t.call(e);return r.test(o)}catch(e){return!1}}if(n(7081),n(2264),"function"==typeof Array.from&&"function"==typeof Map&&d(Map)&&null!=Map.prototype&&"function"==typeof Map.prototype.keys&&d(Map.prototype.keys)&&"function"==typeof Set&&d(Set)&&null!=Set.prototype&&"function"==typeof Set.prototype.keys&&d(Set.prototype.keys)){var f=new Map,h=new Set;r=function(e,t){f.set(e,t)},o=function(e){return f.get(e)},a=function(e){f.delete(e)},i=function(){return Array.from(f.keys())},s=function(e){h.add(e)},l=function(e){h.delete(e)},c=function(){return Array.from(h.keys())}}else{var g={},b={},m=function(e){return"."+e},v=function(e){return parseInt(e.substr(1),10)};r=function(e,t){var n=m(e);g[n]=t},o=function(e){var t=m(e);return g[t]},a=function(e){var t=m(e);delete g[t]},i=function(){return Object.keys(g).map(v)},s=function(e){var t=m(e);b[t]=!0},l=function(e){var t=m(e);delete b[t]},c=function(){return Object.keys(b).map(v)}}var y=[];function _(e){var t=o(e);if(t){var n=t.childIDs;a(e),n.forEach(_)}}function x(e,t,n){return"\n in "+(e||"Unknown")+(t?" (at "+t.fileName.replace(/^.*[\\\/]/,"")+":"+t.lineNumber+")":n?" (created by "+n+")":"")}function w(e){return null==e?"#empty":"string"==typeof e||"number"==typeof e?"#text":"string"==typeof e.type?e.type:e.type.displayName||e.type.name||"Unknown"}function k(e){var t,n=E.getDisplayName(e),r=E.getElement(e),o=E.getOwnerID(e);return o&&(t=E.getDisplayName(o)),x(n,r&&r._source,t)}var E={onSetChildren:function(e,t){var n=o(e);n||u("144"),n.childIDs=t;for(var r=0;r<t.length;r++){var a=t[r],i=o(a);i||u("140"),null==i.childIDs&&"object"==typeof i.element&&null!=i.element&&u("141"),i.isMounted||u("71"),null==i.parentID&&(i.parentID=e),i.parentID!==e&&u("142",a,i.parentID,e)}},onBeforeMountComponent:function(e,t,n){r(e,{element:t,parentID:n,text:null,childIDs:[],isMounted:!1,updateCount:0})},onBeforeUpdateComponent:function(e,t){var n=o(e);n&&n.isMounted&&(n.element=t)},onMountComponent:function(e){var t=o(e);t||u("144"),t.isMounted=!0,0===t.parentID&&s(e)},onUpdateComponent:function(e){var t=o(e);t&&t.isMounted&&t.updateCount++},onUnmountComponent:function(e){var t=o(e);t&&(t.isMounted=!1,0===t.parentID&&l(e)),y.push(e)},purgeUnmountedComponents:function(){if(!E._preventPurging){for(var e=0;e<y.length;e++)_(y[e]);y.length=0}},isMounted:function(e){var t=o(e);return!!t&&t.isMounted},getCurrentStackAddendum:function(e){var t="";if(e){var n=w(e),r=e._owner;t+=x(n,e._source,r&&r.getName())}var o=p.current,a=o&&o._debugID;return t+E.getStackAddendumByID(a)},getStackAddendumByID:function(e){for(var t="";e;)t+=k(e),e=E.getParentID(e);return t},getChildIDs:function(e){var t=o(e);return t?t.childIDs:[]},getDisplayName:function(e){var t=E.getElement(e);return t?w(t):null},getElement:function(e){var t=o(e);return t?t.element:null},getOwnerID:function(e){var t=E.getElement(e);return t&&t._owner?t._owner._debugID:null},getParentID:function(e){var t=o(e);return t?t.parentID:null},getSource:function(e){var t=o(e),n=t?t.element:null;return null!=n?n._source:null},getText:function(e){var t=E.getElement(e);return"string"==typeof t?t:"number"==typeof t?""+t:null},getUpdateCount:function(e){var t=o(e);return t?t.updateCount:0},getRootIDs:c,getRegisteredIDs:i};e.exports=E},3787:e=>{"use strict";e.exports={current:null}},9334:(e,t,n)=>{"use strict";var r=n(8340).createFactory,o={a:r("a"),abbr:r("abbr"),address:r("address"),area:r("area"),article:r("article"),aside:r("aside"),audio:r("audio"),b:r("b"),base:r("base"),bdi:r("bdi"),bdo:r("bdo"),big:r("big"),blockquote:r("blockquote"),body:r("body"),br:r("br"),button:r("button"),canvas:r("canvas"),caption:r("caption"),cite:r("cite"),code:r("code"),col:r("col"),colgroup:r("colgroup"),data:r("data"),datalist:r("datalist"),dd:r("dd"),del:r("del"),details:r("details"),dfn:r("dfn"),dialog:r("dialog"),div:r("div"),dl:r("dl"),dt:r("dt"),em:r("em"),embed:r("embed"),fieldset:r("fieldset"),figcaption:r("figcaption"),figure:r("figure"),footer:r("footer"),form:r("form"),h1:r("h1"),h2:r("h2"),h3:r("h3"),h4:r("h4"),h5:r("h5"),h6:r("h6"),head:r("head"),header:r("header"),hgroup:r("hgroup"),hr:r("hr"),html:r("html"),i:r("i"),iframe:r("iframe"),img:r("img"),input:r("input"),ins:r("ins"),kbd:r("kbd"),keygen:r("keygen"),label:r("label"),legend:r("legend"),li:r("li"),link:r("link"),main:r("main"),map:r("map"),mark:r("mark"),menu:r("menu"),menuitem:r("menuitem"),meta:r("meta"),meter:r("meter"),nav:r("nav"),noscript:r("noscript"),object:r("object"),ol:r("ol"),optgroup:r("optgroup"),option:r("option"),output:r("output"),p:r("p"),param:r("param"),picture:r("picture"),pre:r("pre"),progress:r("progress"),q:r("q"),rp:r("rp"),rt:r("rt"),ruby:r("ruby"),s:r("s"),samp:r("samp"),script:r("script"),section:r("section"),select:r("select"),small:r("small"),source:r("source"),span:r("span"),strong:r("strong"),style:r("style"),sub:r("sub"),summary:r("summary"),sup:r("sup"),table:r("table"),tbody:r("tbody"),td:r("td"),textarea:r("textarea"),tfoot:r("tfoot"),th:r("th"),thead:r("thead"),time:r("time"),title:r("title"),tr:r("tr"),track:r("track"),u:r("u"),ul:r("ul"),var:r("var"),video:r("video"),wbr:r("wbr"),circle:r("circle"),clipPath:r("clipPath"),defs:r("defs"),ellipse:r("ellipse"),g:r("g"),image:r("image"),line:r("line"),linearGradient:r("linearGradient"),mask:r("mask"),path:r("path"),pattern:r("pattern"),polygon:r("polygon"),polyline:r("polyline"),radialGradient:r("radialGradient"),rect:r("rect"),stop:r("stop"),svg:r("svg"),text:r("text"),tspan:r("tspan")};e.exports=o},8340:(e,t,n)=>{"use strict";var r=n(2525),o=n(3787),a=(n(2264),n(4164),Object.prototype.hasOwnProperty),i=n(4459),s={key:!0,ref:!0,__self:!0,__source:!0};function l(e){return void 0!==e.ref}function c(e){return void 0!==e.key}var u=function(e,t,n,r,o,a,s){return{$$typeof:i,type:e,key:t,ref:n,props:s,_owner:a}};u.createElement=function(e,t,n){var r,i={},p=null,d=null;if(null!=t)for(r in l(t)&&(d=t.ref),c(t)&&(p=""+t.key),void 0===t.__self||t.__self,void 0===t.__source||t.__source,t)a.call(t,r)&&!s.hasOwnProperty(r)&&(i[r]=t[r]);var f=arguments.length-2;if(1===f)i.children=n;else if(f>1){for(var h=Array(f),g=0;g<f;g++)h[g]=arguments[g+2];i.children=h}if(e&&e.defaultProps){var b=e.defaultProps;for(r in b)void 0===i[r]&&(i[r]=b[r])}return u(e,p,d,0,0,o.current,i)},u.createFactory=function(e){var t=u.createElement.bind(null,e);return t.type=e,t},u.cloneAndReplaceKey=function(e,t){return u(e.type,t,e.ref,e._self,e._source,e._owner,e.props)},u.cloneElement=function(e,t,n){var i,p,d=r({},e.props),f=e.key,h=e.ref,g=(e._self,e._source,e._owner);if(null!=t)for(i in l(t)&&(h=t.ref,g=o.current),c(t)&&(f=""+t.key),e.type&&e.type.defaultProps&&(p=e.type.defaultProps),t)a.call(t,i)&&!s.hasOwnProperty(i)&&(void 0===t[i]&&void 0!==p?d[i]=p[i]:d[i]=t[i]);var b=arguments.length-2;if(1===b)d.children=n;else if(b>1){for(var m=Array(b),v=0;v<b;v++)m[v]=arguments[v+2];d.children=m}return u(e.type,f,h,0,0,g,d)},u.isValidElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===i},e.exports=u},4459:e=>{"use strict";var t="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;e.exports=t},2753:(e,t,n)=>{"use strict";n(2264);e.exports={isMounted:function(e){return!1},enqueueCallback:function(e,t){},enqueueForceUpdate:function(e){},enqueueReplaceState:function(e,t){},enqueueSetState:function(e,t){}}},6343:e=>{"use strict";e.exports={}},6949:(e,t,n)=>{"use strict";var r=n(8340),o=n(6343),a=n(6185),i=n(3743),s=n(205),l=(n(2264),"<<anonymous>>"),c={array:d("array"),bool:d("boolean"),func:d("function"),number:d("number"),object:d("object"),string:d("string"),symbol:d("symbol"),any:p(i.thatReturns(null)),arrayOf:function(e){return p((function(t,n,r,i,s){if("function"!=typeof e)return new u("Property `"+s+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var l=t[n];if(!Array.isArray(l))return new u("Invalid "+o[i]+" `"+s+"` of type `"+h(l)+"` supplied to `"+r+"`, expected an array.");for(var c=0;c<l.length;c++){var p=e(l,c,r,i,s+"["+c+"]",a);if(p instanceof Error)return p}return null}))},element:p((function(e,t,n,a,i){var s=e[t];return r.isValidElement(s)?null:new u("Invalid "+o[a]+" `"+i+"` of type `"+h(s)+"` supplied to `"+n+"`, expected a single ReactElement.")})),instanceOf:function(e){return p((function(t,n,r,a,i){if(!(t[n]instanceof e)){var s=o[a],c=e.name||l;return new u("Invalid "+s+" `"+i+"` of type `"+((p=t[n]).constructor&&p.constructor.name?p.constructor.name:l)+"` supplied to `"+r+"`, expected instance of `"+c+"`.")}var p;return null}))},node:p((function(e,t,n,r,a){return f(e[t])?null:new u("Invalid "+o[r]+" `"+a+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return p((function(t,n,r,i,s){if("function"!=typeof e)return new u("Property `"+s+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var l=t[n],c=h(l);if("object"!==c)return new u("Invalid "+o[i]+" `"+s+"` of type `"+c+"` supplied to `"+r+"`, expected an object.");for(var p in l)if(l.hasOwnProperty(p)){var d=e(l,p,r,i,s+"."+p,a);if(d instanceof Error)return d}return null}))},oneOf:function(e){return Array.isArray(e)?p((function(t,n,r,a,i){for(var s=t[n],l=0;l<e.length;l++)if(c=s,p=e[l],c===p?0!==c||1/c==1/p:c!=c&&p!=p)return null;var c,p;return new u("Invalid "+o[a]+" `"+i+"` of value `"+s+"` supplied to `"+r+"`, expected one of "+JSON.stringify(e)+".")})):i.thatReturnsNull},oneOfType:function(e){return Array.isArray(e)?p((function(t,n,r,i,s){for(var l=0;l<e.length;l++)if(null==(0,e[l])(t,n,r,i,s,a))return null;return new u("Invalid "+o[i]+" `"+s+"` supplied to `"+r+"`.")})):i.thatReturnsNull},shape:function(e){return p((function(t,n,r,i,s){var l=t[n],c=h(l);if("object"!==c)return new u("Invalid "+o[i]+" `"+s+"` of type `"+c+"` supplied to `"+r+"`, expected `object`.");for(var p in e){var d=e[p];if(d){var f=d(l,p,r,i,s+"."+p,a);if(f)return f}}return null}))}};function u(e){this.message=e,this.stack=""}function p(e){function t(t,n,r,a,i,s,c){if(a=a||l,s=s||r,null==n[r]){var p=o[i];return t?null===n[r]?new u("The "+p+" `"+s+"` is marked as required in `"+a+"`, but its value is `null`."):new u("The "+p+" `"+s+"` is marked as required in `"+a+"`, but its value is `undefined`."):null}return e(n,r,a,i,s)}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}function d(e){return p((function(t,n,r,a,i,s){var l=t[n];return h(l)!==e?new u("Invalid "+o[a]+" `"+i+"` of type `"+function(e){var t=h(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}(l)+"` supplied to `"+r+"`, expected `"+e+"`."):null}))}function f(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(f);if(null===e||r.isValidElement(e))return!0;var t=s(e);if(!t)return!1;var n,o=t.call(e);if(t!==e.entries){for(;!(n=o.next()).done;)if(!f(n.value))return!1}else for(;!(n=o.next()).done;){var a=n.value;if(a&&!f(a[1]))return!1}return!0;default:return!1}}function h(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||"Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol}(t,e)?"symbol":t}u.prototype=Error.prototype,e.exports=c},6185:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9086:(e,t,n)=>{"use strict";var r=n(2525),o=n(4273),a=n(2753),i=n(5117);function s(e,t,n){this.props=e,this.context=t,this.refs=i,this.updater=n||a}function l(){}l.prototype=o.prototype,s.prototype=new l,s.prototype.constructor=s,r(s.prototype,o.prototype),s.prototype.isPureReactComponent=!0,e.exports=s},1891:e=>{"use strict";e.exports="15.4.2"},4164:e=>{"use strict";e.exports=!1},205:e=>{"use strict";var t="function"==typeof Symbol&&Symbol.iterator;e.exports=function(e){var n=e&&(t&&e[t]||e["@@iterator"]);if("function"==typeof n)return n}},1477:(e,t,n)=>{"use strict";var r=n(977),o=n(8340);n(7081),e.exports=function(e){return o.isValidElement(e)||r("143"),e}},977:e=>{"use strict";e.exports=function(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);n+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var o=new Error(n);throw o.name="Invariant Violation",o.framesToPop=1,o}},143:(e,t,n)=>{"use strict";var r=n(977),o=(n(3787),n(4459)),a=n(205),i=(n(7081),n(2456));function s(e,t){return e&&"object"==typeof e&&null!=e.key?i.escape(e.key):t.toString(36)}function l(e,t,n,c){var u,p=typeof e;if("undefined"!==p&&"boolean"!==p||(e=null),null===e||"string"===p||"number"===p||"object"===p&&e.$$typeof===o)return n(c,e,""===t?"."+s(e,0):t),1;var d=0,f=""===t?".":t+":";if(Array.isArray(e))for(var h=0;h<e.length;h++)d+=l(u=e[h],f+s(u,h),n,c);else{var g=a(e);if(g){var b,m=g.call(e);if(g!==e.entries)for(var v=0;!(b=m.next()).done;)d+=l(u=b.value,f+s(u,v++),n,c);else for(;!(b=m.next()).done;){var y=b.value;y&&(d+=l(u=y[1],f+i.escape(y[0])+":"+s(u,0),n,c))}}else if("object"===p){var _=String(e);r("31","[object Object]"===_?"object with keys {"+Object.keys(e).join(", ")+"}":_,"")}}return d}n(2264),e.exports=function(e,t,n){return null==e?0:l(e,"",t,n)}},8771:(e,t,n)=>{"use strict";e.exports=n(3467)},1637:(e,t,n)=>{"use strict";e.exports=n(4481)},9542:e=>{"use strict";e.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"",backsim:"∽",backsimeq:"⋍",Backslash:"",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"",Bernoullis:"",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"",caps:"∩︀",caret:"",caron:"ˇ",Cayleys:"",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"",dd:"",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:"",emsp13:"",emsp14:"",ENG:"Ŋ",eng:"ŋ",ensp:"",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"",escr:"",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"",ExponentialE:"",exponentiale:"",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"",frown:"⌢",Fscr:"",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"",gsim:"≳",gsime:"⪎",gsiml:"⪐",GT:">",Gt:"≫",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:"",half:"½",hamilt:"",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"",hfr:"𝔥",HilbertSpace:"",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"",hyphen:"",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"",Imacr:"Ī",imacr:"ī",image:"",ImaginaryI:"",imagline:"",imagpart:"",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"",Lscr:"",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"",lsquor:"",Lstrok:"Ł",lstrok:"ł",LT:"<",Lt:"≪",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:"",Mellintrf:"",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"",midast:"*",midcir:"⫰",middot:"·",minus:"",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",Nopf:"",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:"",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"",operp:"⦹",oplus:"⊕",Or:"⩔",or:"",orarr:"↻",ord:"⩝",order:"",orderof:"",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"",pointint:"⨕",Popf:"",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"",primes:"",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:"",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"",rationals:"",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"",real:"",realine:"",realpart:"",reals:"",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"",Rscr:"",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"",rsquor:"",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"",setmn:"",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"",smashp:"⨳",smeparsl:"⧤",smid:"",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"",ThickSpace:"",thinsp:"",ThinSpace:"",thkap:"≈",thksim:"",THORN:"Þ",thorn:"þ",Tilde:"",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"",vee:"",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:"",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",Zfr:"",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""}},4023:e=>{"use strict";var t={};["article","aside","button","blockquote","body","canvas","caption","col","colgroup","dd","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","iframe","li","map","object","ol","output","p","pre","progress","script","section","style","table","tbody","td","textarea","tfoot","th","tr","thead","ul","video"].forEach((function(e){t[e]=!0})),e.exports=t},6535:e=>{"use strict";function t(e,t){return e=e.source,t=t||"",function n(r,o){return r?(o=o.source||o,e=e.replace(r,o),n):new RegExp(e,t)}}var n=t(/(?:unquoted|single_quoted|double_quoted)/)("unquoted",/[^"'=<>`\x00-\x20]+/)("single_quoted",/'[^']*'/)("double_quoted",/"[^"]*"/)(),r=t(/(?:\s+attr_name(?:\s*=\s*attr_value)?)/)("attr_name",/[a-zA-Z_:][a-zA-Z0-9:._-]*/)("attr_value",n)(),o=t(/<[A-Za-z][A-Za-z0-9]*attribute*\s*\/?>/)("attribute",r)(),a=t(/^(?:open_tag|close_tag|comment|processing|declaration|cdata)/)("open_tag",o)("close_tag",/<\/[A-Za-z][A-Za-z0-9]*\s*>/)("comment",/<!--([^-]+|[-][^-]+)*-->/)("processing",/<[?].*?[?]>/)("declaration",/<![A-Z]+\s+[^>]*>/)("cdata",/<!\[CDATA\[([^\]]+|\][^\]]|\]\][^>])*\]\]>/)();e.exports.n=a},4146:e=>{"use strict";e.exports=["coap","doi","javascript","aaa","aaas","about","acap","cap","cid","crid","data","dav","dict","dns","file","ftp","geo","go","gopher","h323","http","https","iax","icap","im","imap","info","ipp","iris","iris.beep","iris.xpc","iris.xpcs","iris.lwz","ldap","mailto","mid","msrp","msrps","mtqp","mupdate","news","nfs","ni","nih","nntp","opaquelocktoken","pop","pres","rtsp","service","session","shttp","sieve","sip","sips","sms","snmp","soap.beep","soap.beeps","tag","tel","telnet","tftp","thismessage","tn3270","tip","tv","urn","vemmi","ws","wss","xcon","xcon-userid","xmlrpc.beep","xmlrpc.beeps","xmpp","z39.50r","z39.50s","adiumxtra","afp","afs","aim","apt","attachment","aw","beshare","bitcoin","bolo","callto","chrome","chrome-extension","com-eventbrite-attendee","content","cvs","dlna-playsingle","dlna-playcontainer","dtn","dvb","ed2k","facetime","feed","finger","fish","gg","git","gizmoproject","gtalk","hcp","icon","ipn","irc","irc6","ircs","itms","jar","jms","keyparc","lastfm","ldaps","magnet","maps","market","message","mms","ms-help","msnim","mumble","mvn","notes","oid","palm","paparazzi","platform","proxy","psyc","query","res","resource","rmi","rsync","rtmp","secondlife","sftp","sgn","skype","smb","soldat","spotify","ssh","steam","svn","teamspeak","things","udp","unreal","ut2004","ventrilo","view-source","webcal","wtai","wyciwyg","xfire","xri","ymsgr"]},6986:(e,t,n)=>{"use strict";var r=Object.prototype.hasOwnProperty;function o(e,t){return!!e&&r.call(e,t)}var a=/\\([\\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;function i(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||65535==(65535&e)||65534==(65535&e)||e>=0&&e<=8||11===e||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function s(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var l=/&([a-z#][a-z0-9]{1,31});/gi,c=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,u=n(9542);function p(e,t){var n=0;return o(u,t)?u[t]:35===t.charCodeAt(0)&&c.test(t)&&i(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?s(n):e}var d=/[&<>"]/,f=/[&<>"]/g,h={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function g(e){return h[e]}t.assign=function(e){var t=[].slice.call(arguments,1);return t.forEach((function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(n){e[n]=t[n]}))}})),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=o,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(a,"$1")},t.isValidEntityCode=i,t.fromCodePoint=s,t.replaceEntities=function(e){return e.indexOf("&")<0?e:e.replace(l,p)},t.escapeHtml=function(e){return d.test(e)?e.replace(f,g):e}},3243:e=>{"use strict";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,linkTarget:"",typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["block","inline","references","abbr2"]},block:{rules:["blockquote","code","fences","heading","hr","htmlblock","lheading","list","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","htmltag","links","newline","text"]}}}},8990:e=>{"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,linkTarget:"",typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["block","inline","references","replacements","linkify","smartquotes","references","abbr2","footnote_tail"]},block:{rules:["blockquote","code","fences","footnote","heading","hr","htmlblock","lheading","list","paragraph","table"]},inline:{rules:["autolink","backticks","del","emphasis","entity","escape","footnote_ref","htmltag","links","newline","text"]}}}},5966:e=>{"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,linkTarget:"",typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{},block:{},inline:{}}}},940:(e,t,n)=>{"use strict";var r=n(6986).replaceEntities;e.exports=function(e){var t=r(e);try{t=decodeURI(t)}catch(e){}return encodeURI(t)}},9193:e=>{"use strict";e.exports=function(e){return e.trim().replace(/\s+/g," ").toUpperCase()}},8749:(e,t,n)=>{"use strict";var r=n(940),o=n(6986).unescapeMd;e.exports=function(e,t){var n,a,i,s=t,l=e.posMax;if(60===e.src.charCodeAt(t)){for(t++;t<l;){if(10===(n=e.src.charCodeAt(t)))return!1;if(62===n)return i=r(o(e.src.slice(s+1,t))),!!e.parser.validateLink(i)&&(e.pos=t+1,e.linkContent=i,!0);92===n&&t+1<l?t+=2:t++}return!1}for(a=0;t<l&&32!==(n=e.src.charCodeAt(t))&&!(n>8&&n<14);)if(92===n&&t+1<l)t+=2;else{if(40===n&&++a>1)break;if(41===n&&--a<0)break;t++}return s!==t&&(i=o(e.src.slice(s,t)),!!e.parser.validateLink(i)&&(e.linkContent=i,e.pos=t,!0))}},3114:e=>{"use strict";e.exports=function(e,t){var n,r,o,a=-1,i=e.posMax,s=e.pos,l=e.isInLabel;if(e.isInLabel)return-1;if(e.labelUnmatchedScopes)return e.labelUnmatchedScopes--,-1;for(e.pos=t+1,e.isInLabel=!0,n=1;e.pos<i;){if(91===(o=e.src.charCodeAt(e.pos)))n++;else if(93===o&&0==--n){r=!0;break}e.parser.skipToken(e)}return r?(a=e.pos,e.labelUnmatchedScopes=0):e.labelUnmatchedScopes=n-1,e.pos=s,e.isInLabel=l,a}},385:(e,t,n)=>{"use strict";var r=n(6986).unescapeMd;e.exports=function(e,t){var n,o=t,a=e.posMax,i=e.src.charCodeAt(t);if(34!==i&&39!==i&&40!==i)return!1;for(t++,40===i&&(i=41);t<a;){if((n=e.src.charCodeAt(t))===i)return e.pos=t+1,e.linkContent=r(e.src.slice(o+1,t)),!0;92===n&&t+1<a?t+=2:t++}return!1}},4481:(e,t,n)=>{"use strict";var r=n(6986).assign,o=n(5109),a=n(1363),i=n(9533),s=n(4508),l=n(764),c={default:n(8990),full:n(5966),commonmark:n(3243)};function u(e,t,n){this.src=t,this.env=n,this.options=e.options,this.tokens=[],this.inlineMode=!1,this.inline=e.inline,this.block=e.block,this.renderer=e.renderer,this.typographer=e.typographer}function p(e,t){"string"!=typeof e&&(t=e,e="default"),this.inline=new s,this.block=new i,this.core=new a,this.renderer=new o,this.ruler=new l,this.options={},this.configure(c[e]),this.set(t||{})}p.prototype.set=function(e){r(this.options,e)},p.prototype.configure=function(e){var t=this;if(!e)throw new Error("Wrong `remarkable` preset, check name/content");e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach((function(n){e.components[n].rules&&t[n].ruler.enable(e.components[n].rules,!0)}))},p.prototype.use=function(e,t){return e(this,t),this},p.prototype.parse=function(e,t){var n=new u(this,e,t);return this.core.process(n),n.tokens},p.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},p.prototype.parseInline=function(e,t){var n=new u(this,e,t);return n.inlineMode=!0,this.core.process(n),n.tokens},p.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=p,e.exports.utils=n(6986)},9533:(e,t,n)=>{"use strict";var r=n(764),o=n(5992),a=[["code",n(6789)],["fences",n(8924),["paragraph","blockquote","list"]],["blockquote",n(3246),["paragraph","blockquote","list"]],["hr",n(8698),["paragraph","blockquote","list"]],["list",n(3085),["paragraph","blockquote"]],["footnote",n(5763),["paragraph"]],["heading",n(7171),["paragraph","blockquote"]],["lheading",n(4278)],["htmlblock",n(2803),["paragraph","blockquote"]],["table",n(8350),["paragraph"]],["deflist",n(7110),["paragraph"]],["paragraph",n(6338)]];function i(){this.ruler=new r;for(var e=0;e<a.length;e++)this.ruler.push(a[e][0],a[e][1],{alt:(a[e][2]||[]).slice()})}i.prototype.tokenize=function(e,t,n){for(var r,o=this.ruler.getRules(""),a=o.length,i=t,s=!1;i<n&&(e.line=i=e.skipEmptyLines(i),!(i>=n))&&!(e.tShift[i]<e.blkIndent);){for(r=0;r<a&&!o[r](e,i,n,!1);r++);if(e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),(i=e.line)<n&&e.isEmpty(i)){if(s=!0,++i<n&&"list"===e.parentType&&e.isEmpty(i))break;e.line=i}}};var s=/[\n\t]/g,l=/\r[\n\u0085]|[\u2424\u2028\u0085]/g,c=/\u00a0/g;i.prototype.parse=function(e,t,n,r){var a,i=0,u=0;if(!e)return[];(e=(e=e.replace(c," ")).replace(l,"\n")).indexOf("\t")>=0&&(e=e.replace(s,(function(t,n){var r;return 10===e.charCodeAt(n)?(i=n+1,u=0,t):(r=" ".slice((n-i-u)%4),u=n-i+1,r)}))),a=new o(e,this,t,n,r),this.tokenize(a,a.line,a.lineMax)},e.exports=i},1363:(e,t,n)=>{"use strict";var r=n(764),o=[["block",n(3778)],["abbr",n(6194)],["references",n(9377)],["inline",n(7069)],["footnote_tail",n(1151)],["abbr2",n(3122)],["replacements",n(3052)],["smartquotes",n(8021)],["linkify",n(1297)]];function a(){this.options={},this.ruler=new r;for(var e=0;e<o.length;e++)this.ruler.push(o[e][0],o[e][1])}a.prototype.process=function(e){var t,n,r;for(t=0,n=(r=this.ruler.getRules("")).length;t<n;t++)r[t](e)},e.exports=a},4508:(e,t,n)=>{"use strict";var r=n(764),o=n(3842),a=n(6986),i=[["text",n(9414)],["newline",n(2299)],["escape",n(1209)],["backticks",n(4594)],["del",n(9847)],["ins",n(1926)],["mark",n(2542)],["emphasis",n(9919)],["sub",n(5036)],["sup",n(6155)],["links",n(1706)],["footnote_inline",n(3815)],["footnote_ref",n(7392)],["autolink",n(2185)],["htmltag",n(3443)],["entity",n(7542)]];function s(){this.ruler=new r;for(var e=0;e<i.length;e++)this.ruler.push(i[e][0],i[e][1]);this.validateLink=l}function l(e){var t=e.trim().toLowerCase();return-1===(t=a.replaceEntities(t)).indexOf(":")||-1===["vbscript","javascript","file","data"].indexOf(t.split(":")[0])}s.prototype.skipToken=function(e){var t,n,r=this.ruler.getRules(""),o=r.length,a=e.pos;if((n=e.cacheGet(a))>0)e.pos=n;else{for(t=0;t<o;t++)if(r[t](e,!0))return void e.cacheSet(a,e.pos);e.pos++,e.cacheSet(a,e.pos)}},s.prototype.tokenize=function(e){for(var t,n,r=this.ruler.getRules(""),o=r.length,a=e.posMax;e.pos<a;){for(n=0;n<o&&!(t=r[n](e,!1));n++);if(t){if(e.pos>=a)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},s.prototype.parse=function(e,t,n,r){var a=new o(e,this,t,n,r);this.tokenize(a)},e.exports=s},5109:(e,t,n)=>{"use strict";var r=n(6986),o=n(6039);function a(){this.rules=r.assign({},o),this.getBreak=o.getBreak}e.exports=a,a.prototype.renderInline=function(e,t,n){for(var r=this.rules,o=e.length,a=0,i="";o--;)i+=r[e[a].type](e,a++,t,n,this);return i},a.prototype.render=function(e,t,n){for(var r=this.rules,o=e.length,a=-1,i="";++a<o;)"inline"===e[a].type?i+=this.renderInline(e[a].children,t,n):i+=r[e[a].type](e,a,t,n,this);return i}},764:e=>{"use strict";function t(){this.__rules__=[],this.__cache__=null}t.prototype.__find__=function(e){for(var t=this.__rules__.length,n=-1;t--;)if(this.__rules__[++n].name===e)return n;return-1},t.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach((function(e){e.enabled&&e.alt.forEach((function(e){t.indexOf(e)<0&&t.push(e)}))})),e.__cache__={},t.forEach((function(t){e.__cache__[t]=[],e.__rules__.forEach((function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))}))}))},t.prototype.at=function(e,t,n){var r=this.__find__(e),o=n||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=o.alt||[],this.__cache__=null},t.prototype.before=function(e,t,n,r){var o=this.__find__(e),a=r||{};if(-1===o)throw new Error("Parser rule not found: "+e);this.__rules__.splice(o,0,{name:t,enabled:!0,fn:n,alt:a.alt||[]}),this.__cache__=null},t.prototype.after=function(e,t,n,r){var o=this.__find__(e),a=r||{};if(-1===o)throw new Error("Parser rule not found: "+e);this.__rules__.splice(o+1,0,{name:t,enabled:!0,fn:n,alt:a.alt||[]}),this.__cache__=null},t.prototype.push=function(e,t,n){var r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},t.prototype.enable=function(e,t){e=Array.isArray(e)?e:[e],t&&this.__rules__.forEach((function(e){e.enabled=!1})),e.forEach((function(e){var t=this.__find__(e);if(t<0)throw new Error("Rules manager: invalid rule name "+e);this.__rules__[t].enabled=!0}),this),this.__cache__=null},t.prototype.disable=function(e){(e=Array.isArray(e)?e:[e]).forEach((function(e){var t=this.__find__(e);if(t<0)throw new Error("Rules manager: invalid rule name "+e);this.__rules__[t].enabled=!1}),this),this.__cache__=null},t.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},e.exports=t},6039:(e,t,n)=>{"use strict";var r=n(6986).has,o=n(6986).unescapeMd,a=n(6986).replaceEntities,i=n(6986).escapeHtml,s={};function l(e,t){return++t>=e.length-2?t:"paragraph_open"===e[t].type&&e[t].tight&&"inline"===e[t+1].type&&0===e[t+1].content.length&&"paragraph_close"===e[t+2].type&&e[t+2].tight?l(e,t+2):t}s.blockquote_open=function(){return"<blockquote>\n"},s.blockquote_close=function(e,t){return"</blockquote>"+c(e,t)},s.code=function(e,t){return e[t].block?"<pre><code>"+i(e[t].content)+"</code></pre>"+c(e,t):"<code>"+i(e[t].content)+"</code>"},s.fence=function(e,t,n,s,l){var u,p,d=e[t],f="",h=n.langPrefix;if(d.params){if(p=(u=d.params.split(/\s+/g)).join(" "),r(l.rules.fence_custom,u[0]))return l.rules.fence_custom[u[0]](e,t,n,s,l);f=' class="'+h+i(a(o(p)))+'"'}return"<pre><code"+f+">"+(n.highlight&&n.highlight.apply(n.highlight,[d.content].concat(u))||i(d.content))+"</code></pre>"+c(e,t)},s.fence_custom={},s.heading_open=function(e,t){return"<h"+e[t].hLevel+">"},s.heading_close=function(e,t){return"</h"+e[t].hLevel+">\n"},s.hr=function(e,t,n){return(n.xhtmlOut?"<hr />":"<hr>")+c(e,t)},s.bullet_list_open=function(){return"<ul>\n"},s.bullet_list_close=function(e,t){return"</ul>"+c(e,t)},s.list_item_open=function(){return"<li>"},s.list_item_close=function(){return"</li>\n"},s.ordered_list_open=function(e,t){var n=e[t];return"<ol"+(n.order>1?' start="'+n.order+'"':"")+">\n"},s.ordered_list_close=function(e,t){return"</ol>"+c(e,t)},s.paragraph_open=function(e,t){return e[t].tight?"":"<p>"},s.paragraph_close=function(e,t){var n=!(e[t].tight&&t&&"inline"===e[t-1].type&&!e[t-1].content);return(e[t].tight?"":"</p>")+(n?c(e,t):"")},s.link_open=function(e,t,n){var r=e[t].title?' title="'+i(a(e[t].title))+'"':"",o=n.linkTarget?' target="'+n.linkTarget+'"':"";return'<a href="'+i(e[t].href)+'"'+r+o+">"},s.link_close=function(){return"</a>"},s.image=function(e,t,n){var r=' src="'+i(e[t].src)+'"',s=e[t].title?' title="'+i(a(e[t].title))+'"':"";return"<img"+r+' alt="'+(e[t].alt?i(a(o(e[t].alt))):"")+'"'+s+(n.xhtmlOut?" /":"")+">"},s.table_open=function(){return"<table>\n"},s.table_close=function(){return"</table>\n"},s.thead_open=function(){return"<thead>\n"},s.thead_close=function(){return"</thead>\n"},s.tbody_open=function(){return"<tbody>\n"},s.tbody_close=function(){return"</tbody>\n"},s.tr_open=function(){return"<tr>"},s.tr_close=function(){return"</tr>\n"},s.th_open=function(e,t){var n=e[t];return"<th"+(n.align?' style="text-align:'+n.align+'"':"")+">"},s.th_close=function(){return"</th>"},s.td_open=function(e,t){var n=e[t];return"<td"+(n.align?' style="text-align:'+n.align+'"':"")+">"},s.td_close=function(){return"</td>"},s.strong_open=function(){return"<strong>"},s.strong_close=function(){return"</strong>"},s.em_open=function(){return"<em>"},s.em_close=function(){return"</em>"},s.del_open=function(){return"<del>"},s.del_close=function(){return"</del>"},s.ins_open=function(){return"<ins>"},s.ins_close=function(){return"</ins>"},s.mark_open=function(){return"<mark>"},s.mark_close=function(){return"</mark>"},s.sub=function(e,t){return"<sub>"+i(e[t].content)+"</sub>"},s.sup=function(e,t){return"<sup>"+i(e[t].content)+"</sup>"},s.hardbreak=function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},s.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},s.text=function(e,t){return i(e[t].content)},s.htmlblock=function(e,t){return e[t].content},s.htmltag=function(e,t){return e[t].content},s.abbr_open=function(e,t){return'<abbr title="'+i(a(e[t].title))+'">'},s.abbr_close=function(){return"</abbr>"},s.footnote_ref=function(e,t){var n=Number(e[t].id+1).toString(),r="fnref"+n;return e[t].subId>0&&(r+=":"+e[t].subId),'<sup class="footnote-ref"><a href="#fn'+n+'" id="'+r+'">['+n+"]</a></sup>"},s.footnote_block_open=function(e,t,n){return(n.xhtmlOut?'<hr class="footnotes-sep" />\n':'<hr class="footnotes-sep">\n')+'<section class="footnotes">\n<ol class="footnotes-list">\n'},s.footnote_block_close=function(){return"</ol>\n</section>\n"},s.footnote_open=function(e,t){return'<li id="fn'+Number(e[t].id+1).toString()+'" class="footnote-item">'},s.footnote_close=function(){return"</li>\n"},s.footnote_anchor=function(e,t){var n="fnref"+Number(e[t].id+1).toString();return e[t].subId>0&&(n+=":"+e[t].subId),' <a href="#'+n+'" class="footnote-backref">↩</a>'},s.dl_open=function(){return"<dl>\n"},s.dt_open=function(){return"<dt>"},s.dd_open=function(){return"<dd>"},s.dl_close=function(){return"</dl>\n"},s.dt_close=function(){return"</dt>\n"},s.dd_close=function(){return"</dd>\n"};var c=s.getBreak=function(e,t){return(t=l(e,t))<e.length&&"list_item_close"===e[t].type?"":"\n"};e.exports=s},3246:e=>{"use strict";e.exports=function(e,t,n,r){var o,a,i,s,l,c,u,p,d,f,h,g=e.bMarks[t]+e.tShift[t],b=e.eMarks[t];if(g>b)return!1;if(62!==e.src.charCodeAt(g++))return!1;if(e.level>=e.options.maxNesting)return!1;if(r)return!0;for(32===e.src.charCodeAt(g)&&g++,l=e.blkIndent,e.blkIndent=0,s=[e.bMarks[t]],e.bMarks[t]=g,a=(g=g<b?e.skipSpaces(g):g)>=b,i=[e.tShift[t]],e.tShift[t]=g-e.bMarks[t],p=e.parser.ruler.getRules("blockquote"),o=t+1;o<n&&!((g=e.bMarks[o]+e.tShift[o])>=(b=e.eMarks[o]));o++)if(62!==e.src.charCodeAt(g++)){if(a)break;for(h=!1,d=0,f=p.length;d<f;d++)if(p[d](e,o,n,!0)){h=!0;break}if(h)break;s.push(e.bMarks[o]),i.push(e.tShift[o]),e.tShift[o]=-1337}else 32===e.src.charCodeAt(g)&&g++,s.push(e.bMarks[o]),e.bMarks[o]=g,a=(g=g<b?e.skipSpaces(g):g)>=b,i.push(e.tShift[o]),e.tShift[o]=g-e.bMarks[o];for(c=e.parentType,e.parentType="blockquote",e.tokens.push({type:"blockquote_open",lines:u=[t,0],level:e.level++}),e.parser.tokenize(e,t,o),e.tokens.push({type:"blockquote_close",level:--e.level}),e.parentType=c,u[1]=e.line,d=0;d<i.length;d++)e.bMarks[d+t]=s[d],e.tShift[d+t]=i[d];return e.blkIndent=l,!0}},6789:e=>{"use strict";e.exports=function(e,t,n){var r,o;if(e.tShift[t]-e.blkIndent<4)return!1;for(o=r=t+1;r<n;)if(e.isEmpty(r))r++;else{if(!(e.tShift[r]-e.blkIndent>=4))break;o=++r}return e.line=r,e.tokens.push({type:"code",content:e.getLines(t,o,4+e.blkIndent,!0),block:!0,lines:[t,e.line],level:e.level}),!0}},7110:e=>{"use strict";function t(e,t){var n,r,o=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];return o>=a||126!==(r=e.src.charCodeAt(o++))&&58!==r||o===(n=e.skipSpaces(o))||n>=a?-1:n}e.exports=function(e,n,r,o){var a,i,s,l,c,u,p,d,f,h,g,b,m,v;if(o)return!(e.ddIndent<0)&&t(e,n)>=0;if(p=n+1,e.isEmpty(p)&&++p>r)return!1;if(e.tShift[p]<e.blkIndent)return!1;if((a=t(e,p))<0)return!1;if(e.level>=e.options.maxNesting)return!1;u=e.tokens.length,e.tokens.push({type:"dl_open",lines:c=[n,0],level:e.level++}),s=n,i=p;e:for(;;){for(v=!0,m=!1,e.tokens.push({type:"dt_open",lines:[s,s],level:e.level++}),e.tokens.push({type:"inline",content:e.getLines(s,s+1,e.blkIndent,!1).trim(),level:e.level+1,lines:[s,s],children:[]}),e.tokens.push({type:"dt_close",level:--e.level});;){if(e.tokens.push({type:"dd_open",lines:l=[p,0],level:e.level++}),b=e.tight,f=e.ddIndent,d=e.blkIndent,g=e.tShift[i],h=e.parentType,e.blkIndent=e.ddIndent=e.tShift[i]+2,e.tShift[i]=a-e.bMarks[i],e.tight=!0,e.parentType="deflist",e.parser.tokenize(e,i,r,!0),e.tight&&!m||(v=!1),m=e.line-i>1&&e.isEmpty(e.line-1),e.tShift[i]=g,e.tight=b,e.parentType=h,e.blkIndent=d,e.ddIndent=f,e.tokens.push({type:"dd_close",level:--e.level}),l[1]=p=e.line,p>=r)break e;if(e.tShift[p]<e.blkIndent)break e;if((a=t(e,p))<0)break;i=p}if(p>=r)break;if(s=p,e.isEmpty(s))break;if(e.tShift[s]<e.blkIndent)break;if((i=s+1)>=r)break;if(e.isEmpty(i)&&i++,i>=r)break;if(e.tShift[i]<e.blkIndent)break;if((a=t(e,i))<0)break}return e.tokens.push({type:"dl_close",level:--e.level}),c[1]=p,e.line=p,v&&function(e,t){var n,r,o=e.level+2;for(n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===o&&"paragraph_open"===e.tokens[n].type&&(e.tokens[n+2].tight=!0,e.tokens[n].tight=!0,n+=2)}(e,u),!0}},8924:e=>{"use strict";e.exports=function(e,t,n,r){var o,a,i,s,l,c=!1,u=e.bMarks[t]+e.tShift[t],p=e.eMarks[t];if(u+3>p)return!1;if(126!==(o=e.src.charCodeAt(u))&&96!==o)return!1;if(l=u,(a=(u=e.skipChars(u,o))-l)<3)return!1;if((i=e.src.slice(u,p).trim()).indexOf("`")>=0)return!1;if(r)return!0;for(s=t;!(++s>=n||(u=l=e.bMarks[s]+e.tShift[s])<(p=e.eMarks[s])&&e.tShift[s]<e.blkIndent);)if(e.src.charCodeAt(u)===o&&!(e.tShift[s]-e.blkIndent>=4||(u=e.skipChars(u,o))-l<a||(u=e.skipSpaces(u))<p)){c=!0;break}return a=e.tShift[t],e.line=s+(c?1:0),e.tokens.push({type:"fence",params:i,content:e.getLines(t+1,s,a,!0),lines:[t,e.line],level:e.level}),!0}},5763:e=>{"use strict";e.exports=function(e,t,n,r){var o,a,i,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(c+4>u)return!1;if(91!==e.src.charCodeAt(c))return!1;if(94!==e.src.charCodeAt(c+1))return!1;if(e.level>=e.options.maxNesting)return!1;for(s=c+2;s<u;s++){if(32===e.src.charCodeAt(s))return!1;if(93===e.src.charCodeAt(s))break}return!(s===c+2||s+1>=u||58!==e.src.charCodeAt(++s)||(r||(s++,e.env.footnotes||(e.env.footnotes={}),e.env.footnotes.refs||(e.env.footnotes.refs={}),l=e.src.slice(c+2,s-2),e.env.footnotes.refs[":"+l]=-1,e.tokens.push({type:"footnote_reference_open",label:l,level:e.level++}),o=e.bMarks[t],a=e.tShift[t],i=e.parentType,e.tShift[t]=e.skipSpaces(s)-s,e.bMarks[t]=s,e.blkIndent+=4,e.parentType="footnote",e.tShift[t]<e.blkIndent&&(e.tShift[t]+=e.blkIndent,e.bMarks[t]-=e.blkIndent),e.parser.tokenize(e,t,n,!0),e.parentType=i,e.blkIndent-=4,e.tShift[t]=a,e.bMarks[t]=o,e.tokens.push({type:"footnote_reference_close",level:--e.level})),0))}},7171:e=>{"use strict";e.exports=function(e,t,n,r){var o,a,i,s=e.bMarks[t]+e.tShift[t],l=e.eMarks[t];if(s>=l)return!1;if(35!==(o=e.src.charCodeAt(s))||s>=l)return!1;for(a=1,o=e.src.charCodeAt(++s);35===o&&s<l&&a<=6;)a++,o=e.src.charCodeAt(++s);return!(a>6||s<l&&32!==o||(r||(l=e.skipCharsBack(l,32,s),(i=e.skipCharsBack(l,35,s))>s&&32===e.src.charCodeAt(i-1)&&(l=i),e.line=t+1,e.tokens.push({type:"heading_open",hLevel:a,lines:[t,e.line],level:e.level}),s<l&&e.tokens.push({type:"inline",content:e.src.slice(s,l).trim(),level:e.level+1,lines:[t,e.line],children:[]}),e.tokens.push({type:"heading_close",hLevel:a,level:e.level})),0))}},8698:e=>{"use strict";e.exports=function(e,t,n,r){var o,a,i,s=e.bMarks[t],l=e.eMarks[t];if((s+=e.tShift[t])>l)return!1;if(42!==(o=e.src.charCodeAt(s++))&&45!==o&&95!==o)return!1;for(a=1;s<l;){if((i=e.src.charCodeAt(s++))!==o&&32!==i)return!1;i===o&&a++}return!(a<3||(r||(e.line=t+1,e.tokens.push({type:"hr",lines:[t,e.line],level:e.level})),0))}},2803:(e,t,n)=>{"use strict";var r=n(4023),o=/^<([a-zA-Z]{1,15})[\s\/>]/,a=/^<\/([a-zA-Z]{1,15})[\s>]/;e.exports=function(e,t,n,i){var s,l,c,u=e.bMarks[t],p=e.eMarks[t],d=e.tShift[t];if(u+=d,!e.options.html)return!1;if(d>3||u+2>=p)return!1;if(60!==e.src.charCodeAt(u))return!1;if(33===(s=e.src.charCodeAt(u+1))||63===s){if(i)return!0}else{if(47!==s&&!function(e){var t=32|e;return t>=97&&t<=122}(s))return!1;if(47===s){if(!(l=e.src.slice(u,p).match(a)))return!1}else if(!(l=e.src.slice(u,p).match(o)))return!1;if(!0!==r[l[1].toLowerCase()])return!1;if(i)return!0}for(c=t+1;c<e.lineMax&&!e.isEmpty(c);)c++;return e.line=c,e.tokens.push({type:"htmlblock",level:e.level,lines:[t,e.line],content:e.getLines(t,c,0,!0)}),!0}},4278:e=>{"use strict";e.exports=function(e,t,n){var r,o,a,i=t+1;return!(i>=n||e.tShift[i]<e.blkIndent||e.tShift[i]-e.blkIndent>3||(o=e.bMarks[i]+e.tShift[i])>=(a=e.eMarks[i])||45!==(r=e.src.charCodeAt(o))&&61!==r||(o=e.skipChars(o,r),(o=e.skipSpaces(o))<a||(o=e.bMarks[t]+e.tShift[t],e.line=i+1,e.tokens.push({type:"heading_open",hLevel:61===r?1:2,lines:[t,e.line],level:e.level}),e.tokens.push({type:"inline",content:e.src.slice(o,e.eMarks[t]).trim(),level:e.level+1,lines:[t,e.line-1],children:[]}),e.tokens.push({type:"heading_close",hLevel:61===r?1:2,level:e.level}),0)))}},3085:e=>{"use strict";function t(e,t){var n,r,o;return(r=e.bMarks[t]+e.tShift[t])>=(o=e.eMarks[t])||42!==(n=e.src.charCodeAt(r++))&&45!==n&&43!==n||r<o&&32!==e.src.charCodeAt(r)?-1:r}function n(e,t){var n,r=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(r+1>=o)return-1;if((n=e.src.charCodeAt(r++))<48||n>57)return-1;for(;;){if(r>=o)return-1;if(!((n=e.src.charCodeAt(r++))>=48&&n<=57)){if(41===n||46===n)break;return-1}}return r<o&&32!==e.src.charCodeAt(r)?-1:r}e.exports=function(e,r,o,a){var i,s,l,c,u,p,d,f,h,g,b,m,v,y,_,x,w,k,E,C,A,P=!0;if((f=n(e,r))>=0)m=!0;else{if(!((f=t(e,r))>=0))return!1;m=!1}if(e.level>=e.options.maxNesting)return!1;if(b=e.src.charCodeAt(f-1),a)return!0;for(y=e.tokens.length,m?(d=e.bMarks[r]+e.tShift[r],g=Number(e.src.substr(d,f-d-1)),e.tokens.push({type:"ordered_list_open",order:g,lines:x=[r,0],level:e.level++})):e.tokens.push({type:"bullet_list_open",lines:x=[r,0],level:e.level++}),i=r,_=!1,k=e.parser.ruler.getRules("list");!(!(i<o)||((h=(v=e.skipSpaces(f))>=e.eMarks[i]?1:v-f)>4&&(h=1),h<1&&(h=1),s=f-e.bMarks[i]+h,e.tokens.push({type:"list_item_open",lines:w=[r,0],level:e.level++}),c=e.blkIndent,u=e.tight,l=e.tShift[r],p=e.parentType,e.tShift[r]=v-e.bMarks[r],e.blkIndent=s,e.tight=!0,e.parentType="list",e.parser.tokenize(e,r,o,!0),e.tight&&!_||(P=!1),_=e.line-r>1&&e.isEmpty(e.line-1),e.blkIndent=c,e.tShift[r]=l,e.tight=u,e.parentType=p,e.tokens.push({type:"list_item_close",level:--e.level}),i=r=e.line,w[1]=i,v=e.bMarks[r],i>=o)||e.isEmpty(i)||e.tShift[i]<e.blkIndent);){for(A=!1,E=0,C=k.length;E<C;E++)if(k[E](e,i,o,!0)){A=!0;break}if(A)break;if(m){if((f=n(e,i))<0)break}else if((f=t(e,i))<0)break;if(b!==e.src.charCodeAt(f-1))break}return e.tokens.push({type:m?"ordered_list_close":"bullet_list_close",level:--e.level}),x[1]=i,e.line=i,P&&function(e,t){var n,r,o=e.level+2;for(n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===o&&"paragraph_open"===e.tokens[n].type&&(e.tokens[n+2].tight=!0,e.tokens[n].tight=!0,n+=2)}(e,y),!0}},6338:e=>{"use strict";e.exports=function(e,t){var n,r,o,a,i,s,l=t+1;if(l<(n=e.lineMax)&&!e.isEmpty(l))for(s=e.parser.ruler.getRules("paragraph");l<n&&!e.isEmpty(l);l++)if(!(e.tShift[l]-e.blkIndent>3)){for(o=!1,a=0,i=s.length;a<i;a++)if(s[a](e,l,n,!0)){o=!0;break}if(o)break}return r=e.getLines(t,l,e.blkIndent,!1).trim(),e.line=l,r.length&&(e.tokens.push({type:"paragraph_open",tight:!1,lines:[t,e.line],level:e.level}),e.tokens.push({type:"inline",content:r,level:e.level+1,lines:[t,e.line],children:[]}),e.tokens.push({type:"paragraph_close",tight:!1,level:e.level})),!0}},5992:e=>{"use strict";function t(e,t,n,r,o){var a,i,s,l,c,u,p;for(this.src=e,this.parser=t,this.options=n,this.env=r,this.tokens=o,this.bMarks=[],this.eMarks=[],this.tShift=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.parentType="root",this.ddIndent=-1,this.level=0,this.result="",u=0,p=!1,s=l=u=0,c=(i=this.src).length;l<c;l++){if(a=i.charCodeAt(l),!p){if(32===a){u++;continue}p=!0}10!==a&&l!==c-1||(10!==a&&l++,this.bMarks.push(s),this.eMarks.push(l),this.tShift.push(u),p=!1,u=0,s=l+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.lineMax=this.bMarks.length-1}t.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},t.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},t.prototype.skipSpaces=function(e){for(var t=this.src.length;e<t&&32===this.src.charCodeAt(e);e++);return e},t.prototype.skipChars=function(e,t){for(var n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},t.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},t.prototype.getLines=function(e,t,n,r){var o,a,i,s,l,c=e;if(e>=t)return"";if(c+1===t)return a=this.bMarks[c]+Math.min(this.tShift[c],n),i=r?this.eMarks[c]+1:this.eMarks[c],this.src.slice(a,i);for(s=new Array(t-e),o=0;c<t;c++,o++)(l=this.tShift[c])>n&&(l=n),l<0&&(l=0),a=this.bMarks[c]+l,i=c+1<t||r?this.eMarks[c]+1:this.eMarks[c],s[o]=this.src.slice(a,i);return s.join("")},e.exports=t},8350:e=>{"use strict";function t(e,t){var n=e.bMarks[t]+e.blkIndent,r=e.eMarks[t];return e.src.substr(n,r-n)}e.exports=function(e,n,r,o){var a,i,s,l,c,u,p,d,f,h,g;if(n+2>r)return!1;if(c=n+1,e.tShift[c]<e.blkIndent)return!1;if((s=e.bMarks[c]+e.tShift[c])>=e.eMarks[c])return!1;if(124!==(a=e.src.charCodeAt(s))&&45!==a&&58!==a)return!1;if(i=t(e,n+1),!/^[-:| ]+$/.test(i))return!1;if((u=i.split("|"))<=2)return!1;for(d=[],l=0;l<u.length;l++){if(!(f=u[l].trim())){if(0===l||l===u.length-1)continue;return!1}if(!/^:?-+:?$/.test(f))return!1;58===f.charCodeAt(f.length-1)?d.push(58===f.charCodeAt(0)?"center":"right"):58===f.charCodeAt(0)?d.push("left"):d.push("")}if(-1===(i=t(e,n).trim()).indexOf("|"))return!1;if(u=i.replace(/^\||\|$/g,"").split("|"),d.length!==u.length)return!1;if(o)return!0;for(e.tokens.push({type:"table_open",lines:h=[n,0],level:e.level++}),e.tokens.push({type:"thead_open",lines:[n,n+1],level:e.level++}),e.tokens.push({type:"tr_open",lines:[n,n+1],level:e.level++}),l=0;l<u.length;l++)e.tokens.push({type:"th_open",align:d[l],lines:[n,n+1],level:e.level++}),e.tokens.push({type:"inline",content:u[l].trim(),lines:[n,n+1],level:e.level,children:[]}),e.tokens.push({type:"th_close",level:--e.level});for(e.tokens.push({type:"tr_close",level:--e.level}),e.tokens.push({type:"thead_close",level:--e.level}),e.tokens.push({type:"tbody_open",lines:g=[n+2,0],level:e.level++}),c=n+2;c<r&&!(e.tShift[c]<e.blkIndent)&&-1!==(i=t(e,c).trim()).indexOf("|");c++){for(u=i.replace(/^\||\|$/g,"").split("|"),e.tokens.push({type:"tr_open",level:e.level++}),l=0;l<u.length;l++)e.tokens.push({type:"td_open",align:d[l],level:e.level++}),p=u[l].substring(124===u[l].charCodeAt(0)?1:0,124===u[l].charCodeAt(u[l].length-1)?u[l].length-1:u[l].length).trim(),e.tokens.push({type:"inline",content:p,level:e.level,children:[]}),e.tokens.push({type:"td_close",level:--e.level});e.tokens.push({type:"tr_close",level:--e.level})}return e.tokens.push({type:"tbody_close",level:--e.level}),e.tokens.push({type:"table_close",level:--e.level}),h[1]=g[1]=c,e.line=c,!0}},6194:(e,t,n)=>{"use strict";var r=n(3842),o=n(3114);function a(e,t,n,a){var i,s,l,c,u,p;if(42!==e.charCodeAt(0))return-1;if(91!==e.charCodeAt(1))return-1;if(-1===e.indexOf("]:"))return-1;if(i=new r(e,t,n,a,[]),(s=o(i,1))<0||58!==e.charCodeAt(s+1))return-1;for(c=i.posMax,l=s+2;l<c&&10!==i.src.charCodeAt(l);l++);return u=e.slice(2,s),0===(p=e.slice(s+2,l).trim()).length?-1:(a.abbreviations||(a.abbreviations={}),void 0===a.abbreviations[":"+u]&&(a.abbreviations[":"+u]=p),l)}e.exports=function(e){var t,n,r,o,i=e.tokens;if(!e.inlineMode)for(t=1,n=i.length-1;t<n;t++)if("paragraph_open"===i[t-1].type&&"inline"===i[t].type&&"paragraph_close"===i[t+1].type){for(r=i[t].content;r.length&&!((o=a(r,e.inline,e.options,e.env))<0);)r=r.slice(o).trim();i[t].content=r,r.length||(i[t-1].tight=!0,i[t+1].tight=!0)}}},3122:e=>{"use strict";var t=" \n()[]'\".,!?-";function n(e){return e.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1")}e.exports=function(e){var r,o,a,i,s,l,c,u,p,d,f,h,g=e.tokens;if(e.env.abbreviations)for(e.env.abbrRegExp||(h="(^|["+t.split("").map(n).join("")+"])("+Object.keys(e.env.abbreviations).map((function(e){return e.substr(1)})).sort((function(e,t){return t.length-e.length})).map(n).join("|")+")($|["+t.split("").map(n).join("")+"])",e.env.abbrRegExp=new RegExp(h,"g")),d=e.env.abbrRegExp,o=0,a=g.length;o<a;o++)if("inline"===g[o].type)for(r=(i=g[o].children).length-1;r>=0;r--)if("text"===(s=i[r]).type){for(u=0,l=s.content,d.lastIndex=0,p=s.level,c=[];f=d.exec(l);)d.lastIndex>u&&c.push({type:"text",content:l.slice(u,f.index+f[1].length),level:p}),c.push({type:"abbr_open",title:e.env.abbreviations[":"+f[2]],level:p++}),c.push({type:"text",content:f[2],level:p}),c.push({type:"abbr_close",level:--p}),u=d.lastIndex-f[3].length;c.length&&(u<l.length&&c.push({type:"text",content:l.slice(u),level:p}),g[o].children=i=[].concat(i.slice(0,r),c,i.slice(r+1)))}}},3778:e=>{"use strict";e.exports=function(e){e.inlineMode?e.tokens.push({type:"inline",content:e.src.replace(/\n/g," ").trim(),level:0,lines:[0,1],children:[]}):e.block.parse(e.src,e.options,e.env,e.tokens)}},1151:e=>{"use strict";e.exports=function(e){var t,n,r,o,a,i,s,l,c,u=0,p=!1,d={};if(e.env.footnotes&&(e.tokens=e.tokens.filter((function(e){return"footnote_reference_open"===e.type?(p=!0,l=[],c=e.label,!1):"footnote_reference_close"===e.type?(p=!1,d[":"+c]=l,!1):(p&&l.push(e),!p)})),e.env.footnotes.list)){for(i=e.env.footnotes.list,e.tokens.push({type:"footnote_block_open",level:u++}),t=0,n=i.length;t<n;t++){for(e.tokens.push({type:"footnote_open",id:t,level:u++}),i[t].tokens?((s=[]).push({type:"paragraph_open",tight:!1,level:u++}),s.push({type:"inline",content:"",level:u,children:i[t].tokens}),s.push({type:"paragraph_close",tight:!1,level:--u})):i[t].label&&(s=d[":"+i[t].label]),e.tokens=e.tokens.concat(s),a="paragraph_close"===e.tokens[e.tokens.length-1].type?e.tokens.pop():null,o=i[t].count>0?i[t].count:1,r=0;r<o;r++)e.tokens.push({type:"footnote_anchor",id:t,subId:r,level:u});a&&e.tokens.push(a),e.tokens.push({type:"footnote_close",level:--u})}e.tokens.push({type:"footnote_block_close",level:--u})}}},7069:e=>{"use strict";e.exports=function(e){var t,n,r,o=e.tokens;for(n=0,r=o.length;n<r;n++)"inline"===(t=o[n]).type&&e.inline.parse(t.content,e.options,e.env,t.children)}},1297:(e,t,n)=>{"use strict";var r=n(3595),o=/www|@|\:\/\//;function a(e){return/^<\/a\s*>/i.test(e)}function i(){var e=[],t=new r({stripPrefix:!1,url:!0,email:!0,twitter:!1,replaceFn:function(t,n){switch(n.getType()){case"url":e.push({text:n.matchedText,url:n.getUrl()});break;case"email":e.push({text:n.matchedText,url:"mailto:"+n.getEmail().replace(/^mailto:/i,"")})}return!1}});return{links:e,autolinker:t}}e.exports=function(e){var t,n,r,s,l,c,u,p,d,f,h,g,b,m,v=e.tokens,y=null;if(e.options.linkify)for(n=0,r=v.length;n<r;n++)if("inline"===v[n].type)for(h=0,t=(s=v[n].children).length-1;t>=0;t--)if("link_close"!==(l=s[t]).type){if("htmltag"===l.type&&(m=l.content,/^<a[>\s]/i.test(m)&&h>0&&h--,a(l.content)&&h++),!(h>0)&&"text"===l.type&&o.test(l.content)){if(y||(g=(y=i()).links,b=y.autolinker),c=l.content,g.length=0,b.link(c),!g.length)continue;for(u=[],f=l.level,p=0;p<g.length;p++)e.inline.validateLink(g[p].url)&&((d=c.indexOf(g[p].text))&&(f=f,u.push({type:"text",content:c.slice(0,d),level:f})),u.push({type:"link_open",href:g[p].url,title:"",level:f++}),u.push({type:"text",content:g[p].text,level:f}),u.push({type:"link_close",level:--f}),c=c.slice(d+g[p].text.length));c.length&&u.push({type:"text",content:c,level:f}),v[n].children=s=[].concat(s.slice(0,t),u,s.slice(t+1))}}else for(t--;s[t].level!==l.level&&"link_open"!==s[t].type;)t--}},9377:(e,t,n)=>{"use strict";var r=n(3842),o=n(3114),a=n(8749),i=n(385),s=n(9193);function l(e,t,n,l){var c,u,p,d,f,h,g,b,m;if(91!==e.charCodeAt(0))return-1;if(-1===e.indexOf("]:"))return-1;if(c=new r(e,t,n,l,[]),(u=o(c,0))<0||58!==e.charCodeAt(u+1))return-1;for(d=c.posMax,p=u+2;p<d&&(32===(f=c.src.charCodeAt(p))||10===f);p++);if(!a(c,p))return-1;for(g=c.linkContent,h=p=c.pos,p+=1;p<d&&(32===(f=c.src.charCodeAt(p))||10===f);p++);for(p<d&&h!==p&&i(c,p)?(b=c.linkContent,p=c.pos):(b="",p=h);p<d&&32===c.src.charCodeAt(p);)p++;return p<d&&10!==c.src.charCodeAt(p)?-1:(m=s(e.slice(1,u)),void 0===l.references[m]&&(l.references[m]={title:b,href:g}),p)}e.exports=function(e){var t,n,r,o,a=e.tokens;if(e.env.references=e.env.references||{},!e.inlineMode)for(t=1,n=a.length-1;t<n;t++)if("inline"===a[t].type&&"paragraph_open"===a[t-1].type&&"paragraph_close"===a[t+1].type){for(r=a[t].content;r.length&&!((o=l(r,e.inline,e.options,e.env))<0);)r=r.slice(o).trim();a[t].content=r,r.length||(a[t-1].tight=!0,a[t+1].tight=!0)}}},3052:e=>{"use strict";var t=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,n=/\((c|tm|r|p)\)/gi,r={c:"©",r:"®",p:"§",tm:"™"};e.exports=function(e){var o,a,i,s,l,c;if(e.options.typographer)for(l=e.tokens.length-1;l>=0;l--)if("inline"===e.tokens[l].type)for(o=(s=e.tokens[l].children).length-1;o>=0;o--)"text"===(a=s[o]).type&&(i=(c=i=a.content).indexOf("(")<0?c:c.replace(n,(function(e,t){return r[t.toLowerCase()]})),t.test(i)&&(i=i.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1$2")),a.content=i)}},8021:e=>{"use strict";var t=/['"]/,n=/['"]/g,r=/[-\s()\[\]]/;function o(e,t){return!(t<0||t>=e.length||r.test(e[t]))}function a(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}e.exports=function(e){var r,i,s,l,c,u,p,d,f,h,g,b,m,v,y,_,x;if(e.options.typographer)for(x=[],y=e.tokens.length-1;y>=0;y--)if("inline"===e.tokens[y].type)for(_=e.tokens[y].children,x.length=0,r=0;r<_.length;r++)if("text"===(i=_[r]).type&&!t.test(i.text)){for(p=_[r].level,m=x.length-1;m>=0&&!(x[m].level<=p);m--);x.length=m+1,c=0,u=(s=i.content).length;e:for(;c<u&&(n.lastIndex=c,l=n.exec(s));)if(d=!o(s,l.index-1),c=l.index+1,v="'"===l[0],(f=!o(s,c))||d){if(g=!f,b=!d)for(m=x.length-1;m>=0&&(h=x[m],!(x[m].level<p));m--)if(h.single===v&&x[m].level===p){h=x[m],v?(_[h.token].content=a(_[h.token].content,h.pos,e.options.quotes[2]),i.content=a(i.content,l.index,e.options.quotes[3])):(_[h.token].content=a(_[h.token].content,h.pos,e.options.quotes[0]),i.content=a(i.content,l.index,e.options.quotes[1])),x.length=m;continue e}g?x.push({token:r,pos:l.index,single:v,level:p}):b&&v&&(i.content=a(i.content,l.index,""))}else v&&(i.content=a(i.content,l.index,""))}}},2185:(e,t,n)=>{"use strict";var r=n(4146),o=n(940),a=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,i=/^<([a-zA-Z.\-]{1,25}):([^<>\x00-\x20]*)>/;e.exports=function(e,t){var n,s,l,c,u,p=e.pos;return!(60!==e.src.charCodeAt(p)||(n=e.src.slice(p)).indexOf(">")<0||((s=n.match(i))?r.indexOf(s[1].toLowerCase())<0||(c=s[0].slice(1,-1),u=o(c),!e.parser.validateLink(c)||(t||(e.push({type:"link_open",href:u,level:e.level}),e.push({type:"text",content:c,level:e.level+1}),e.push({type:"link_close",level:e.level})),e.pos+=s[0].length,0)):!(l=n.match(a))||(c=l[0].slice(1,-1),u=o("mailto:"+c),!e.parser.validateLink(u)||(t||(e.push({type:"link_open",href:u,level:e.level}),e.push({type:"text",content:c,level:e.level+1}),e.push({type:"link_close",level:e.level})),e.pos+=l[0].length,0))))}},4594:e=>{"use strict";e.exports=function(e,t){var n,r,o,a,i,s=e.pos;if(96!==e.src.charCodeAt(s))return!1;for(n=s,s++,r=e.posMax;s<r&&96===e.src.charCodeAt(s);)s++;for(o=e.src.slice(n,s),a=i=s;-1!==(a=e.src.indexOf("`",i));){for(i=a+1;i<r&&96===e.src.charCodeAt(i);)i++;if(i-a===o.length)return t||e.push({type:"code",content:e.src.slice(s,a).replace(/[ \n]+/g," ").trim(),block:!1,level:e.level}),e.pos=i,!0}return t||(e.pending+=o),e.pos+=o.length,!0}},9847:e=>{"use strict";e.exports=function(e,t){var n,r,o,a,i,s=e.posMax,l=e.pos;if(126!==e.src.charCodeAt(l))return!1;if(t)return!1;if(l+4>=s)return!1;if(126!==e.src.charCodeAt(l+1))return!1;if(e.level>=e.options.maxNesting)return!1;if(a=l>0?e.src.charCodeAt(l-1):-1,i=e.src.charCodeAt(l+2),126===a)return!1;if(126===i)return!1;if(32===i||10===i)return!1;for(r=l+2;r<s&&126===e.src.charCodeAt(r);)r++;if(r>l+3)return e.pos+=r-l,t||(e.pending+=e.src.slice(l,r)),!0;for(e.pos=l+2,o=1;e.pos+1<s;){if(126===e.src.charCodeAt(e.pos)&&126===e.src.charCodeAt(e.pos+1)&&(a=e.src.charCodeAt(e.pos-1),126!==(i=e.pos+2<s?e.src.charCodeAt(e.pos+2):-1)&&126!==a&&(32!==a&&10!==a?o--:32!==i&&10!==i&&o++,o<=0))){n=!0;break}e.parser.skipToken(e)}return n?(e.posMax=e.pos,e.pos=l+2,t||(e.push({type:"del_open",level:e.level++}),e.parser.tokenize(e),e.push({type:"del_close",level:--e.level})),e.pos=e.posMax+2,e.posMax=s,!0):(e.pos=l,!1)}},9919:e=>{"use strict";function t(e){return e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122}function n(e,n){var r,o,a,i=n,s=!0,l=!0,c=e.posMax,u=e.src.charCodeAt(n);for(r=n>0?e.src.charCodeAt(n-1):-1;i<c&&e.src.charCodeAt(i)===u;)i++;return i>=c&&(s=!1),(a=i-n)>=4?s=l=!1:(32!==(o=i<c?e.src.charCodeAt(i):-1)&&10!==o||(s=!1),32!==r&&10!==r||(l=!1),95===u&&(t(r)&&(s=!1),t(o)&&(l=!1))),{can_open:s,can_close:l,delims:a}}e.exports=function(e,t){var r,o,a,i,s,l,c,u=e.posMax,p=e.pos,d=e.src.charCodeAt(p);if(95!==d&&42!==d)return!1;if(t)return!1;if(r=(c=n(e,p)).delims,!c.can_open)return e.pos+=r,t||(e.pending+=e.src.slice(p,e.pos)),!0;if(e.level>=e.options.maxNesting)return!1;for(e.pos=p+r,l=[r];e.pos<u;)if(e.src.charCodeAt(e.pos)!==d)e.parser.skipToken(e);else{if(o=(c=n(e,e.pos)).delims,c.can_close){for(i=l.pop(),s=o;i!==s;){if(s<i){l.push(i-s);break}if(s-=i,0===l.length)break;e.pos+=i,i=l.pop()}if(0===l.length){r=i,a=!0;break}e.pos+=o;continue}c.can_open&&l.push(o),e.pos+=o}return a?(e.posMax=e.pos,e.pos=p+r,t||(2!==r&&3!==r||e.push({type:"strong_open",level:e.level++}),1!==r&&3!==r||e.push({type:"em_open",level:e.level++}),e.parser.tokenize(e),1!==r&&3!==r||e.push({type:"em_close",level:--e.level}),2!==r&&3!==r||e.push({type:"strong_close",level:--e.level})),e.pos=e.posMax+r,e.posMax=u,!0):(e.pos=p,!1)}},7542:(e,t,n)=>{"use strict";var r=n(9542),o=n(6986).has,a=n(6986).isValidEntityCode,i=n(6986).fromCodePoint,s=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,l=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var n,c,u=e.pos,p=e.posMax;if(38!==e.src.charCodeAt(u))return!1;if(u+1<p)if(35===e.src.charCodeAt(u+1)){if(c=e.src.slice(u).match(s))return t||(n="x"===c[1][0].toLowerCase()?parseInt(c[1].slice(1),16):parseInt(c[1],10),e.pending+=a(n)?i(n):i(65533)),e.pos+=c[0].length,!0}else if((c=e.src.slice(u).match(l))&&o(r,c[1]))return t||(e.pending+=r[c[1]]),e.pos+=c[0].length,!0;return t||(e.pending+="&"),e.pos++,!0}},1209:e=>{"use strict";for(var t=[],n=0;n<256;n++)t.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){t[e.charCodeAt(0)]=1})),e.exports=function(e,n){var r,o=e.pos,a=e.posMax;if(92!==e.src.charCodeAt(o))return!1;if(++o<a){if((r=e.src.charCodeAt(o))<256&&0!==t[r])return n||(e.pending+=e.src[o]),e.pos+=2,!0;if(10===r){for(n||e.push({type:"hardbreak",level:e.level}),o++;o<a&&32===e.src.charCodeAt(o);)o++;return e.pos=o,!0}}return n||(e.pending+="\\"),e.pos++,!0}},3815:(e,t,n)=>{"use strict";var r=n(3114);e.exports=function(e,t){var n,o,a,i,s=e.posMax,l=e.pos;return!(l+2>=s||94!==e.src.charCodeAt(l)||91!==e.src.charCodeAt(l+1)||e.level>=e.options.maxNesting||(n=l+2,(o=r(e,l+1))<0||(t||(e.env.footnotes||(e.env.footnotes={}),e.env.footnotes.list||(e.env.footnotes.list=[]),a=e.env.footnotes.list.length,e.pos=n,e.posMax=o,e.push({type:"footnote_ref",id:a,level:e.level}),e.linkLevel++,i=e.tokens.length,e.parser.tokenize(e),e.env.footnotes.list[a]={tokens:e.tokens.splice(i)},e.linkLevel--),e.pos=o+1,e.posMax=s,0)))}},7392:e=>{"use strict";e.exports=function(e,t){var n,r,o,a,i=e.posMax,s=e.pos;if(s+3>i)return!1;if(!e.env.footnotes||!e.env.footnotes.refs)return!1;if(91!==e.src.charCodeAt(s))return!1;if(94!==e.src.charCodeAt(s+1))return!1;if(e.level>=e.options.maxNesting)return!1;for(r=s+2;r<i;r++){if(32===e.src.charCodeAt(r))return!1;if(10===e.src.charCodeAt(r))return!1;if(93===e.src.charCodeAt(r))break}return!(r===s+2||r>=i||(r++,n=e.src.slice(s+2,r-1),void 0===e.env.footnotes.refs[":"+n]||(t||(e.env.footnotes.list||(e.env.footnotes.list=[]),e.env.footnotes.refs[":"+n]<0?(o=e.env.footnotes.list.length,e.env.footnotes.list[o]={label:n,count:0},e.env.footnotes.refs[":"+n]=o):o=e.env.footnotes.refs[":"+n],a=e.env.footnotes.list[o].count,e.env.footnotes.list[o].count++,e.push({type:"footnote_ref",id:o,subId:a,level:e.level})),e.pos=r,e.posMax=i,0)))}},3443:(e,t,n)=>{"use strict";var r=n(6535).n;e.exports=function(e,t){var n,o,a,i=e.pos;return!(!e.options.html||(a=e.posMax,60!==e.src.charCodeAt(i)||i+2>=a||33!==(n=e.src.charCodeAt(i+1))&&63!==n&&47!==n&&!function(e){var t=32|e;return t>=97&&t<=122}(n)||!(o=e.src.slice(i).match(r))||(t||e.push({type:"htmltag",content:e.src.slice(i,i+o[0].length),level:e.level}),e.pos+=o[0].length,0)))}},1926:e=>{"use strict";e.exports=function(e,t){var n,r,o,a,i,s=e.posMax,l=e.pos;if(43!==e.src.charCodeAt(l))return!1;if(t)return!1;if(l+4>=s)return!1;if(43!==e.src.charCodeAt(l+1))return!1;if(e.level>=e.options.maxNesting)return!1;if(a=l>0?e.src.charCodeAt(l-1):-1,i=e.src.charCodeAt(l+2),43===a)return!1;if(43===i)return!1;if(32===i||10===i)return!1;for(r=l+2;r<s&&43===e.src.charCodeAt(r);)r++;if(r!==l+2)return e.pos+=r-l,t||(e.pending+=e.src.slice(l,r)),!0;for(e.pos=l+2,o=1;e.pos+1<s;){if(43===e.src.charCodeAt(e.pos)&&43===e.src.charCodeAt(e.pos+1)&&(a=e.src.charCodeAt(e.pos-1),43!==(i=e.pos+2<s?e.src.charCodeAt(e.pos+2):-1)&&43!==a&&(32!==a&&10!==a?o--:32!==i&&10!==i&&o++,o<=0))){n=!0;break}e.parser.skipToken(e)}return n?(e.posMax=e.pos,e.pos=l+2,t||(e.push({type:"ins_open",level:e.level++}),e.parser.tokenize(e),e.push({type:"ins_close",level:--e.level})),e.pos=e.posMax+2,e.posMax=s,!0):(e.pos=l,!1)}},1706:(e,t,n)=>{"use strict";var r=n(3114),o=n(8749),a=n(385),i=n(9193);e.exports=function(e,t){var n,s,l,c,u,p,d,f,h=!1,g=e.pos,b=e.posMax,m=e.pos,v=e.src.charCodeAt(m);if(33===v&&(h=!0,v=e.src.charCodeAt(++m)),91!==v)return!1;if(e.level>=e.options.maxNesting)return!1;if(n=m+1,(s=r(e,m))<0)return!1;if((p=s+1)<b&&40===e.src.charCodeAt(p)){for(p++;p<b&&(32===(f=e.src.charCodeAt(p))||10===f);p++);if(p>=b)return!1;for(m=p,o(e,p)?(c=e.linkContent,p=e.pos):c="",m=p;p<b&&(32===(f=e.src.charCodeAt(p))||10===f);p++);if(p<b&&m!==p&&a(e,p))for(u=e.linkContent,p=e.pos;p<b&&(32===(f=e.src.charCodeAt(p))||10===f);p++);else u="";if(p>=b||41!==e.src.charCodeAt(p))return e.pos=g,!1;p++}else{if(e.linkLevel>0)return!1;for(;p<b&&(32===(f=e.src.charCodeAt(p))||10===f);p++);if(p<b&&91===e.src.charCodeAt(p)&&(m=p+1,(p=r(e,p))>=0?l=e.src.slice(m,p++):p=m-1),l||(void 0===l&&(p=s+1),l=e.src.slice(n,s)),!(d=e.env.references[i(l)]))return e.pos=g,!1;c=d.href,u=d.title}return t||(e.pos=n,e.posMax=s,h?e.push({type:"image",src:c,title:u,alt:e.src.substr(n,s-n),level:e.level}):(e.push({type:"link_open",href:c,title:u,level:e.level++}),e.linkLevel++,e.parser.tokenize(e),e.linkLevel--,e.push({type:"link_close",level:--e.level}))),e.pos=p,e.posMax=b,!0}},2542:e=>{"use strict";e.exports=function(e,t){var n,r,o,a,i,s=e.posMax,l=e.pos;if(61!==e.src.charCodeAt(l))return!1;if(t)return!1;if(l+4>=s)return!1;if(61!==e.src.charCodeAt(l+1))return!1;if(e.level>=e.options.maxNesting)return!1;if(a=l>0?e.src.charCodeAt(l-1):-1,i=e.src.charCodeAt(l+2),61===a)return!1;if(61===i)return!1;if(32===i||10===i)return!1;for(r=l+2;r<s&&61===e.src.charCodeAt(r);)r++;if(r!==l+2)return e.pos+=r-l,t||(e.pending+=e.src.slice(l,r)),!0;for(e.pos=l+2,o=1;e.pos+1<s;){if(61===e.src.charCodeAt(e.pos)&&61===e.src.charCodeAt(e.pos+1)&&(a=e.src.charCodeAt(e.pos-1),61!==(i=e.pos+2<s?e.src.charCodeAt(e.pos+2):-1)&&61!==a&&(32!==a&&10!==a?o--:32!==i&&10!==i&&o++,o<=0))){n=!0;break}e.parser.skipToken(e)}return n?(e.posMax=e.pos,e.pos=l+2,t||(e.push({type:"mark_open",level:e.level++}),e.parser.tokenize(e),e.push({type:"mark_close",level:--e.level})),e.pos=e.posMax+2,e.posMax=s,!0):(e.pos=l,!1)}},2299:e=>{"use strict";e.exports=function(e,t){var n,r,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;if(n=e.pending.length-1,r=e.posMax,!t)if(n>=0&&32===e.pending.charCodeAt(n))if(n>=1&&32===e.pending.charCodeAt(n-1)){for(var a=n-2;a>=0;a--)if(32!==e.pending.charCodeAt(a)){e.pending=e.pending.substring(0,a+1);break}e.push({type:"hardbreak",level:e.level})}else e.pending=e.pending.slice(0,-1),e.push({type:"softbreak",level:e.level});else e.push({type:"softbreak",level:e.level});for(o++;o<r&&32===e.src.charCodeAt(o);)o++;return e.pos=o,!0}},3842:e=>{"use strict";function t(e,t,n,r,o){this.src=e,this.env=r,this.options=n,this.parser=t,this.tokens=o,this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache=[],this.isInLabel=!1,this.linkLevel=0,this.linkContent="",this.labelUnmatchedScopes=0}t.prototype.pushPending=function(){this.tokens.push({type:"text",content:this.pending,level:this.pendingLevel}),this.pending=""},t.prototype.push=function(e){this.pending&&this.pushPending(),this.tokens.push(e),this.pendingLevel=this.level},t.prototype.cacheSet=function(e,t){for(var n=this.cache.length;n<=e;n++)this.cache.push(0);this.cache[e]=t},t.prototype.cacheGet=function(e){return e<this.cache.length?this.cache[e]:0},e.exports=t},5036:e=>{"use strict";var t=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;e.exports=function(e,n){var r,o,a=e.posMax,i=e.pos;if(126!==e.src.charCodeAt(i))return!1;if(n)return!1;if(i+2>=a)return!1;if(e.level>=e.options.maxNesting)return!1;for(e.pos=i+1;e.pos<a;){if(126===e.src.charCodeAt(e.pos)){r=!0;break}e.parser.skipToken(e)}return r&&i+1!==e.pos?(o=e.src.slice(i+1,e.pos)).match(/(^|[^\\])(\\\\)*\s/)?(e.pos=i,!1):(e.posMax=e.pos,e.pos=i+1,n||e.push({type:"sub",level:e.level,content:o.replace(t,"$1")}),e.pos=e.posMax+1,e.posMax=a,!0):(e.pos=i,!1)}},6155:e=>{"use strict";var t=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;e.exports=function(e,n){var r,o,a=e.posMax,i=e.pos;if(94!==e.src.charCodeAt(i))return!1;if(n)return!1;if(i+2>=a)return!1;if(e.level>=e.options.maxNesting)return!1;for(e.pos=i+1;e.pos<a;){if(94===e.src.charCodeAt(e.pos)){r=!0;break}e.parser.skipToken(e)}return r&&i+1!==e.pos?(o=e.src.slice(i+1,e.pos)).match(/(^|[^\\])(\\\\)*\s/)?(e.pos=i,!1):(e.posMax=e.pos,e.pos=i+1,n||e.push({type:"sup",level:e.level,content:o.replace(t,"$1")}),e.pos=e.posMax+1,e.posMax=a,!0):(e.pos=i,!1)}},9414:e=>{"use strict";function t(e){switch(e){case 10:case 92:case 96:case 42:case 95:case 94:case 91:case 93:case 33:case 38:case 60:case 62:case 123:case 125:case 36:case 37:case 64:case 126:case 43:case 61:case 58:return!0;default:return!1}}e.exports=function(e,n){for(var r=e.pos;r<e.posMax&&!t(e.src.charCodeAt(r));)r++;return r!==e.pos&&(n||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)}},5122:e=>{var t={},n=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}},r=n((function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())})),o=n((function(){return document.head||document.getElementsByTagName("head")[0]})),a=null,i=0,s=[];function l(e,n){for(var r=0;r<e.length;r++){var o=e[r],a=t[o.id];if(a){a.refs++;for(var i=0;i<a.parts.length;i++)a.parts[i](o.parts[i]);for(;i<o.parts.length;i++)a.parts.push(f(o.parts[i],n))}else{var s=[];for(i=0;i<o.parts.length;i++)s.push(f(o.parts[i],n));t[o.id]={id:o.id,refs:1,parts:s}}}}function c(e){for(var t=[],n={},r=0;r<e.length;r++){var o=e[r],a=o[0],i={css:o[1],media:o[2],sourceMap:o[3]};n[a]?n[a].parts.push(i):t.push(n[a]={id:a,parts:[i]})}return t}function u(e,t){var n=o(),r=s[s.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),s.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(t)}}function p(e){e.parentNode.removeChild(e);var t=s.indexOf(e);t>=0&&s.splice(t,1)}function d(e){var t=document.createElement("style");return t.type="text/css",u(e,t),t}function f(e,t){var n,r,o;if(t.singleton){var s=i++;n=a||(a=d(t)),r=b.bind(null,n,s,!1),o=b.bind(null,n,s,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return t.rel="stylesheet",u(e,t),t}(t),r=v.bind(null,n),o=function(){p(n),n.href&&URL.revokeObjectURL(n.href)}):(n=d(t),r=m.bind(null,n),o=function(){p(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,n){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");void 0===(n=n||{}).singleton&&(n.singleton=r()),void 0===n.insertAt&&(n.insertAt="bottom");var o=c(e);return l(o,n),function(e){for(var r=[],a=0;a<o.length;a++){var i=o[a];(s=t[i.id]).refs--,r.push(s)}for(e&&l(c(e),n),a=0;a<r.length;a++){var s;if(0===(s=r[a]).refs){for(var u=0;u<s.parts.length;u++)s.parts[u]();delete t[s.id]}}}};var h,g=(h=[],function(e,t){return h[e]=t,h.filter(Boolean).join("\n")});function b(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=g(t,o);else{var a=document.createTextNode(o),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(a,i[t]):e.appendChild(a)}}function m(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function v(e,t){var n=t.css,r=t.sourceMap;r&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var o=new Blob([n],{type:"text/css"}),a=e.href;e.href=URL.createObjectURL(o),a&&URL.revokeObjectURL(a)}},2694:(e,t,n)=>{var r=n(1141);"string"==typeof r&&(r=[[e.id,r,""]]),n(5122)(r,{}),r.locals&&(e.exports=r.locals)},3295:(e,t,n)=>{var r=n(8307);"string"==typeof r&&(r=[[e.id,r,""]]),n(5122)(r,{}),r.locals&&(e.exports=r.locals)},6255:(e,t,n)=>{"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=function(e,t){return function n(s,l){var c,u=arguments.length<=2||void 0===arguments[2]?[]:arguments[2],p=s.displayName||s.name||"Component",d=i.getType(s).propTypes,f=i.isReactComponent(s),h=Object.keys(l),g=["valueLink","checkedLink"].concat(h.map(i.defaultKey));c=i.uncontrolledPropTypes(l,d,p),(0,a.default)(f||!u.length,"[uncontrollable] stateless function components cannot pass through methods because they have no associated instances. Check component: "+p+", attempting to pass through methods: "+u.join(", ")),u=i.transform(u,(function(e,t){e[t]=function(){var e;return(e=this.refs.inner)[t].apply(e,arguments)}}),{});var b=o.default.createClass(r({displayName:"Uncontrolled("+p+")",mixins:e,propTypes:c},u,{componentWillMount:function(){var e=this,t=this.props;this._values={},h.forEach((function(n){e._values[n]=t[i.defaultKey(n)]}))},componentWillReceiveProps:function(e){var t=this,n=this.props;h.forEach((function(r){void 0===i.getValue(e,r)&&void 0!==i.getValue(n,r)&&(t._values[r]=e[i.defaultKey(r)])}))},getControlledInstance:function(){return this.refs.inner},render:function(){var e=this,t={},n=y(this.props);return i.each(l,(function(n,r){var o=i.getLinkName(r),a=e.props[r];o&&!v(e.props,r)&&v(e.props,o)&&(a=e.props[o].value),t[r]=void 0!==a?a:e._values[r],t[n]=m.bind(e,r)})),t=r({},n,t,{ref:f?"inner":null}),o.default.createElement(s,t)}}));return b.ControlledComponent=s,b.deferControlTo=function(e){var t=arguments[2];return n(e,r({},l,arguments.length<=1||void 0===arguments[1]?{}:arguments[1]),t)},b;function m(e,n){var r=i.getLinkName(e),o=this.props[l[e]];r&&v(this.props,r)&&!o&&(o=this.props[r].requestChange);for(var a=arguments.length,s=Array(a>2?a-2:0),c=2;c<a;c++)s[c-2]=arguments[c];t(this,e,o,n,s)}function v(e,t){return void 0!==e[t]}function y(e){var t={};return i.each(e,(function(e,n){-1===g.indexOf(n)&&(t[n]=e)})),t}}};var o=s(n(8771)),a=s(n(3996)),i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(2312));function s(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},8321:(e,t,n)=>{"use strict";t.__esModule=!0;var r,o=(r=n(6255))&&r.__esModule?r:{default:r};t.default=(0,o.default)([{shouldComponentUpdate:function(){return!this._notifying}}],(function(e,t,n,r,o){n&&(e._notifying=!0,n.call.apply(n,[e,r].concat(o)),e._notifying=!1),e._values[t]=r,e.isMounted()&&e.forceUpdate()})),e.exports=t.default},2312:(e,t,n)=>{"use strict";t.__esModule=!0,t.version=void 0,t.uncontrolledPropTypes=function(e,t,n){return{}},t.getType=function(e){return a[0]>=15||0===a[0]&&a[1]>=13?e:e.type},t.getValue=function(e,t){var n=s(t);return n&&!i(e,t)&&i(e,n)?e[n].value:e[t]},t.getLinkName=s,t.defaultKey=function(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)},t.chain=function(e,t,n){return function(){for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];t&&t.call.apply(t,[e].concat(o)),n&&n.call.apply(n,[e].concat(o))}},t.transform=function(e,t,n){return l(e,t.bind(null,n=n||(Array.isArray(e)?[]:{}))),n},t.each=l,t.has=c,t.isReactComponent=function(e){return!!(e&&e.prototype&&e.prototype.isReactComponent)};var r=o(n(8771));function o(e){return e&&e.__esModule?e:{default:e}}o(n(3996));var a=t.version=r.default.version.split(".").map(parseFloat);function i(e,t){return void 0!==e[t]}function s(e){return"value"===e?"valueLink":"checked"===e?"checkedLink":null}function l(e,t,n){if(Array.isArray(e))return e.forEach(t,n);for(var r in e)c(e,r)&&t.call(n,e[r],r,e)}function c(e,t){return!!e&&Object.prototype.hasOwnProperty.call(e,t)}},771:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=n.p+"82b1212e45a2bc35dd731913b27ad813.woff"},1733:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=n.p+"be810be3a3e14c682a257d6eff341fe4.woff2"},5404:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=n.p+"4692b9ec53fd5972caa2f2372ae20d16.ttf"},2492:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=n.p+"060b2710bdbbe3dfe48b58d59bd5f1fb.svg"},1810:e=>{"use strict";e.exports=function(){}},9035:()=>{},2754:()=>{},6391:()=>{},5001:()=>{},5496:()=>{},1566:()=>{}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={id:e,exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__webpack_require__),n.exports}__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=(e,t)=>{for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;__webpack_require__.g.importScripts&&(e=__webpack_require__.g.location+"");var t=__webpack_require__.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");n.length&&(e=n[n.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),__webpack_require__.p=e})();var __webpack_exports__={};(()=>{"use strict";var e=__webpack_require__(8771),t=__webpack_require__.n(e),n=__webpack_require__(1542),r=__webpack_require__.n(n),o=(__webpack_require__(2694),__webpack_require__(3295),__webpack_require__(3958)),a=__webpack_require__.n(o),i=__webpack_require__(2827),s=__webpack_require__.n(i),l=__webpack_require__(1507),c=__webpack_require__.n(l),u=__webpack_require__(4406),p=__webpack_require__.n(u),d=__webpack_require__(2881),f=__webpack_require__.n(d),h=__webpack_require__(6055),g=__webpack_require__.n(h),b=__webpack_require__(5289),m=__webpack_require__.n(b),v=__webpack_require__(6461),y=__webpack_require__.n(v),_=__webpack_require__(2965),x=__webpack_require__.n(_),w=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),k=function(e){function n(e,t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e,t));return r.handleClick=r.handleClick.bind(r),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,e),w(n,[{key:"handleClick",value:function(e){e.preventDefault(),this.props.onClick(e)}},{key:"render",value:function(){return t().createElement("a",{href:"",onClick:this.handleClick},t().createElement(x(),null)," PDF To Markdown Converter")}}]),n}(t().Component);k.propTypes={onClick:t().PropTypes.func};const E=k;var C=__webpack_require__(9974),A=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();const P=function(){function e(t,n){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.constructor===e)throw new TypeError("Can not construct abstract class.");if(this.transform===e.prototype.transform)throw new TypeError("Please implement abstract method 'transform()'.");this.name=t,this.itemType=n}return A(e,[{key:"showModificationCheckbox",value:function(){return!1}},{key:"createPageView",value:function(e,t){throw new TypeError("Do not call abstract method foo from child.")}},{key:"transform",value:function(e){throw new TypeError("Do not call abstract method foo from child.")}},{key:"completeTransform",value:function(e){return e.messages=[],e}}]),e}();var T=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function S(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}const O=function e(t){if(S(this,e),this.constructor===e)throw new TypeError("Can not construct abstract class.");this.type=t.type,this.annotation=t.annotation,this.parsedElements=t.parsedElements};var M=function(){function e(t){S(this,e),this.footnoteLinks=t.footnoteLinks||[],this.footnotes=t.footnotes||[],this.containLinks=t.containLinks,this.formattedWords=t.formattedWords}return T(e,[{key:"add",value:function(e){this.footnoteLinks=this.footnoteLinks.concat(e.footnoteLinks),this.footnotes=this.footnotes.concat(e.footnotes),this.containLinks=this.containLinks||e.containLinks,this.formattedWords+=e.formattedWords}}]),e}();const R=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.x=e.x,n.y=e.y,n.width=e.width,n.height=e.height,n.text=e.text,n.font=e.font,n.lineFormat=e.lineFormat,n.unopenedFormat=e.unopenedFormat,n.unclosedFormat=e.unclosedFormat,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(O);var N=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function D(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var I=function(e){function n(){return D(this,n),L(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,e),N(n,[{key:"createItemViews",value:function(e,t){throw new TypeError("Do not call abstract method foo from child.")}},{key:"render",value:function(){var e,n=this.props,r=n.page,o=n.modificationsOnly,a=n.showWhitespaces,i=r.items;if(o&&(i=i.filter((function(e){return e.annotation}))),0==i.length&&o)e=t().createElement("div",null);else{var s=this.createItemViews(i,a),l="Page "+(r.index+1);e=t().createElement("div",null,t().createElement("h2",{id:l},l),t().createElement("hr",null),s)}return e}}]),n}(t().Component);I.propTypes={page:t().PropTypes.object.isRequired,modificationsOnly:t().PropTypes.bool,showWhitespaces:t().PropTypes.bool};const j=I;var F=__webpack_require__(2806),U=__webpack_require__.n(F),q=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function B(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function z(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var W=function(e){function n(){return B(this,n),z(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,e),q(n,[{key:"render",value:function(){var e=this.props,n=e.showWhitespaces,r=e.textItems,o=t().createElement("thead",null,t().createElement("tr",null,t().createElement("th",null,"#"),t().createElement("th",null,"Text"),t().createElement("th",null,"X"),t().createElement("th",null,"Y"),t().createElement("th",null,"Width"),t().createElement("th",null,"Height"),t().createElement("th",null,"Font"))),a=r.map((function(e,r){return t().createElement("tr",{key:r,style:e.annotation?{color:e.annotation.color}:null},t().createElement("td",null,t().createElement("div",{style:{textAlign:"center"}},r),t().createElement("div",{style:{textAlign:"center"}},e.annotation?e.annotation.category:""),t().createElement("div",{style:{textAlign:"center",color:"brown"}},e.type?e.type.name:""),t().createElement("div",{style:{textAlign:"center",color:"orange"}},e.parsedElements&&e.parsedElements.footnoteLinks.length>0?t().createElement("div",null,"Footnote-Link"):"",e.parsedElements&&e.parsedElements.containLinks?t().createElement("div",null,"Link"):"",e.lineFormat?t().createElement("div",null,e.lineFormat.name):"",e.unopenedFormat?t().createElement("div",null,"Unopened"," "+e.unopenedFormat.name):"",e.parsedElements&&e.parsedElements.inlineFormats>0?t().createElement("div",null,e.parsedElements.inlineFormats+"x Bold/Italic"):"",e.unclosedFormat?t().createElement("div",null,"Unclosed"," "+e.unclosedFormat.name):"")),t().createElement("td",null,n?t().createElement("pre",{style:e.annotation?{color:e.annotation.color,display:"inline-block"}:{display:"inline-block"}},e.text):e.text),t().createElement("td",null,e.x),t().createElement("td",null,e.y),t().createElement("td",null,e.width),t().createElement("td",null,e.height),t().createElement("td",null,e.font))}));return t().createElement(U(),{responsive:!0,condensed:!0,bordered:!0},o,t().createElement("tbody",null,a))}}]),n}(t().Component);W.propTypes={textItems:t().PropTypes.array.isRequired,showWhitespaces:t().PropTypes.bool};const H=W;var V=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function G(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function K(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}const Y=function(e){function n(){return G(this,n),K(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,e),V(n,[{key:"createItemViews",value:function(e,n){return t().createElement(H,{textItems:e,showWhitespaces:n})}}]),n}(j);var $=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.category=t.category,this.color=t.color},X=new $({category:"Added",color:"green"}),Q=new $({category:"Removed",color:"red"}),J=new $({category:"Unchanged",color:"brown"}),Z=new $({category:"Detected",color:"green"}),ee=new $({category:"Modified",color:"green"}),te=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();const ne=function(e){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e,R.name));if(t.constructor===n)throw new TypeError("Can not construct abstract class.");return t.showWhitespaces=!1,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,e),te(n,[{key:"showModificationCheckbox",value:function(){return!0}},{key:"createPageView",value:function(e,n){return t().createElement(Y,{key:e.index,page:e,modificationsOnly:n,showWhitespaces:this.showWhitespaces})}},{key:"completeTransform",value:function(e){return e.messages=[],e.pages.forEach((function(e){e.items=e.items.filter((function(e){return!e.annotation||e.annotation!==Q})),e.items.forEach((function(e){return e.annotation=null}))})),e}}]),n}(P),re=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.pages=t.pages,this.globals=t.globals,this.messages=t.messages};function oe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ae(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var ie=function(e){function t(){return oe(this,t),ae(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(C.xs);const se=ie;ie.initEnum({BOLD:{startSymbol:"**",endSymbol:"**"},OBLIQUE:{startSymbol:"_",endSymbol:"_"},BOLD_OBLIQUE:{startSymbol:"**_",endSymbol:"_**"}});var le=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ce=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();const ue=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,"Calculate Statistics"));return n.fontMap=e,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),ce(t,[{key:"transform",value:function(e){var t,n={},r={},o=0;e.pages.forEach((function(e){e.items.forEach((function(e){n[e.height]=n[e.height]?n[e.height]+1:1,r[e.font]=r[e.font]?r[e.font]+1:1,e.height>o&&(o=e.height,t=e.font)}))}));var a=parseInt(pe(n)),i=pe(r),s={};e.pages.forEach((function(e){var t;e.items.forEach((function(e){if(e.height==a&&e.text.trim().length>0){if(t&&e.y!=t.y){var n=t.y-e.y;n>0&&(s[n]=s[n]?s[n]+1:1)}t=e}else t=null}))}));var l=parseInt(pe(s)),c=[],u=new Map;this.fontMap.forEach((function(e,n){c.push(n+" = "+e.name);var r,o=e.name.toLowerCase();n==i?r=null:o.includes("bold")&&(o.includes("oblique")||o.includes("italic"))?r=se.BOLD_OBLIQUE:o.includes("bold")?r=se.BOLD:o.includes("oblique")||o.includes("italic")?r=se.OBLIQUE:o===t&&(r=se.BOLD),r&&u.set(n,r.name)})),c.sort();var p=e.pages.map((function(e){return le({},e,{items:e.items.map((function(e){return le({},e)}))})}));return new re(le({},e,{pages:p,globals:{mostUsedHeight:a,mostUsedFont:i,mostUsedDistance:l,maxHeight:o,maxHeightFont:t,fontToFormats:u},messages:["Items per height: "+JSON.stringify(n),"Items per font: "+JSON.stringify(r),"Items per distance: "+JSON.stringify(s),"Fonts:"+JSON.stringify(c)]}))}}]),t}(ne);function pe(e){var t,n=0;return Object.keys(e).map((function(r){(!t||e[r]>n)&&(n=e[r],t=r)})),t}const de=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.string=t.string,this.type=t.type,this.format=t.format};var fe=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();const he=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.x=e.x,n.y=e.y,n.width=e.width,n.height=e.height,n.words=e.words||[],e.text&&!e.words&&(n.words=e.text.split(" ").filter((function(e){return e.trim().length>0})).map((function(e){return new de({string:e})}))),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),fe(t,[{key:"text",value:function(){return this.wordStrings().join(" ")}},{key:"wordStrings",value:function(){return this.words.map((function(e){return e.string}))}}]),t}(O);var ge=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function be(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function me(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var ve=function(e){function n(){return be(this,n),me(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,e),ge(n,[{key:"render",value:function(){var e=this.props,n=e.showWhitespaces,r=e.items,o=t().createElement("thead",null,t().createElement("tr",null,t().createElement("th",null,"#"),t().createElement("th",null,"Text"),t().createElement("th",null,"X"),t().createElement("th",null,"Y"),t().createElement("th",null,"Width"),t().createElement("th",null,"Height"))),a=r.map((function(e,r){return t().createElement("tr",{key:r,style:e.annotation?{color:e.annotation.color}:null},t().createElement("td",null,t().createElement("div",{style:{textAlign:"center"}},r),t().createElement("div",{style:{textAlign:"center"}},e.annotation?e.annotation.category:""),t().createElement("div",{style:{textAlign:"center",color:"brown"}},e.type?e.type.name:""),t().createElement("div",{style:{textAlign:"center",color:"orange"}},e.parsedElements&&e.parsedElements.footnoteLinks.length>0?t().createElement("div",null,"Footnote-Link"):"",e.parsedElements&&e.parsedElements.containLinks?t().createElement("div",null,"Link"):"",e.lineFormat?t().createElement("div",null,e.lineFormat.name):"",e.unopenedFormat?t().createElement("div",null,"Unopened"," "+e.unopenedFormat.name):"",e.parsedElements&&e.parsedElements.inlineFormats>0?t().createElement("div",null,e.parsedElements.inlineFormats+"x Bold/Italic"):"",e.unclosedFormat?t().createElement("div",null,"Unclosed"," "+e.unclosedFormat.name):"")),t().createElement("td",null,n?t().createElement("pre",{style:e.annotation?{color:e.annotation.color,display:"inline-block"}:{display:"inline-block"}},e.text()):e.text()),t().createElement("td",null,e.x),t().createElement("td",null,e.y),t().createElement("td",null,e.width),t().createElement("td",null,e.height))}));return t().createElement(U(),{responsive:!0,condensed:!0,bordered:!0},o,t().createElement("tbody",null,a))}}]),n}(t().Component);ve.propTypes={items:t().PropTypes.array.isRequired,showWhitespaces:t().PropTypes.bool};const ye=ve;var _e=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function xe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function we(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}const ke=function(e){function n(){return xe(this,n),we(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,e),_e(n,[{key:"createItemViews",value:function(e,n){return t().createElement(ye,{items:e,showWhitespaces:n})}}]),n}(j);var Ee=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();const Ce=function(e){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e,he.name));if(t.constructor===n)throw new TypeError("Can not construct abstract class.");return t.showWhitespaces=!1,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,e),Ee(n,[{key:"showModificationCheckbox",value:function(){return!0}},{key:"createPageView",value:function(e,n){return t().createElement(ke,{key:e.index,page:e,modificationsOnly:n,showWhitespaces:this.showWhitespaces})}},{key:"completeTransform",value:function(e){return e.messages=[],e.pages.forEach((function(e){e.items=e.items.filter((function(e){return!e.annotation||e.annotation!==Q})),e.items.forEach((function(e){return e.annotation=null}))})),e}}]),n}(P);var Ae=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Pe=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();const Te=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.items=[],e.items&&e.items.forEach((function(e){return n.addItem(e)})),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Pe(t,[{key:"addItem",value:function(e){if(this.type&&e.type&&this.type!==e.type)throw"Adding item of type "+e.type+" to block of type "+this.type;this.type||(this.type=e.type),e.parsedElements&&(this.parsedElements?this.parsedElements.add(e.parsedElements):this.parsedElements=e.parsedElements);var t=new he(Ae({},e));t.type=null,this.items.push(t)}}]),t}(O);function Se(e){e.sort((function(e,t){return e.x-t.x}))}var Oe=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();const Me=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.mostUsedDistance=t.mostUsedDistance||12}return Oe(e,[{key:"group",value:function(e){return this.groupItemsByLine(e)}},{key:"groupItemsByLine",value:function(e){var t=this,n=[],r=[];return e.forEach((function(e){r.length>0&&Math.abs(r[0].y-e.y)>=t.mostUsedDistance/2&&(n.push(r),r=[]),r.push(e)})),n.push(r),n.forEach((function(e){Se(e)})),n}}]),e}();function Re(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ne(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var De=function(e){function t(){return Re(this,t),Ne(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(C.xs);const Le=De;function Ie(e,t){var n,r="",o=function(){r+=n.endSymbol,n=null};return e.forEach((function(a,i){var s;a.words.forEach((function(e,a){var i,s=e.type,l=e.format;!n||l&&l===n||o(),!(a>0)||s&&s.attachWithoutWhitespace||1==(i=e.string).length&&("."===i[0]||"!"===i[0]||"?"===i[0])||(r+=" "),!l||n||t||(r+=(n=l).startSymbol),!s||t&&!s.plainTextFormat?r+=e.string:r+=s.toText(e.string)})),!n||i!=e.length-1&&(0==(s=e[i+1]).words.length?null:s.words[0].format)===n||o(),r+="\n"})),r}De.initEnum({LINK:{toText:function(e){return"["+e+"]("+e+")"}},FOOTNOTE_LINK:{attachWithoutWhitespace:!0,plainTextFormat:!0,toText:function(e){return"^"+e}},FOOTNOTE:{toText:function(e){return"(^"+e+")"}}});var je=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();const Fe=function(){function e(){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.constructor===e)throw new TypeError("Can not construct abstract class.");this.results=[],this.stash=[]}return je(e,[{key:"consumeAll",value:function(e){var t=this;e.forEach((function(e){return t.consume(e)}))}},{key:"consume",value:function(e){this.shouldStash(e)?(this.matchesStash(e)||this.flushStash(),this.pushOnStash(e)):(this.stash.length>0&&this.flushStash(),this.results.push(e))}},{key:"pushOnStash",value:function(e){this.onPushOnStash(e),this.stash.push(e)}},{key:"complete",value:function(){return this.stash.length>0&&this.flushStash(),this.results}},{key:"matchesStash",value:function(e){if(0==this.stash.length)return!0;var t=this.stash[this.stash.length-1];return this.doMatchesStash(t,e)}},{key:"flushStash",value:function(){this.stash.length>0&&(this.doFlushStash(this.stash,this.results),this.stash=[])}},{key:"onPushOnStash",value:function(e){}},{key:"shouldStash",value:function(e){throw new TypeError("Do not call abstract method foo from child."+e)}},{key:"doMatchesStash",value:function(e,t){throw new TypeError("Do not call abstract method foo from child."+e+t)}},{key:"doFlushStash",value:function(e,t){throw new TypeError("Do not call abstract method foo from child."+e+t)}}]),e}();function Ue(e){return e>=48&&e<=57}function qe(e){for(var t=0;t<e.length;t++)if(!Ue(e.charCodeAt(t)))return!1;return!0}function Be(e){return function(e){for(var t=[],n=0;n<e.length;n++)t.push(e.charCodeAt(n));return t}(e=e.toUpperCase()).filter((function(e){return 32!=e&&9!=e&&46!=e}))}function ze(e){if(e.length>1)return!1;var t=e.charAt(0);return"-"===t||"•"===t||""===t}function We(e){return/^[\s]*[-•–][\s].*$/g.test(e)}var He=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ve=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function Ge(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}const Ke=function(){function e(t){Ge(this,e),this.fontToFormats=t}return Ve(e,[{key:"compact",value:function(e){Se(e);var t=new Ye(this.fontToFormats);t.consumeAll(e.map((function(e){return new R(He({},e))})));var n=t.complete(),r=0,o=0;return e.forEach((function(e){r=Math.max(r,e.height),o+=e.width})),new he({x:e[0].x,y:e[0].y,height:r,width:o,words:n,parsedElements:new M({footnoteLinks:t.footnoteLinks,footnotes:t.footnotes,containLinks:t.containLinks,formattedWords:t.formattedWords})})}}]),e}();var Ye=function(e){function t(e){Ge(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.fontToFormats=e,n.footnoteLinks=[],n.footnotes=[],n.formattedWords=0,n.containLinks=!1,n.firstY,n.stashedNumber=!1,n.currentItem,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Ve(t,[{key:"shouldStash",value:function(e){return this.firstY||(this.firstY=e.y),this.currentItem=e,!0}},{key:"onPushOnStash",value:function(e){this.stashedNumber=qe(e.text.trim())}},{key:"doMatchesStash",value:function(e,t){if(this.fontToFormats.get(e.font)!==this.fontToFormats.get(t.font))return!1;var n=qe(t.text.trim());return this.stashedNumber==n}},{key:"doFlushStash",value:function(e,t){if(this.stashedNumber){var n=e.map((function(e){return e.text})).join("").trim();e[0].y>this.firstY?(t.push(new de({string:""+n,type:Le.FOOTNOTE_LINK})),this.footnoteLinks.push(parseInt(n))):this.currentItem&&this.currentItem.y<e[0].y?(t.push(new de({string:""+n,type:Le.FOOTNOTE})),this.footnotes.push(n)):this.copyStashItemsAsText(e,t)}else this.copyStashItemsAsText(e,t)}},{key:"copyStashItemsAsText",value:function(e,t){var n=this.fontToFormats.get(e[0].font);t.push.apply(t,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(this.itemsToWords(e,n)))}},{key:"itemsToWords",value:function(e,t){var n,r,o=this,a=(r="",e.forEach((function(e){var t=e.text;r.endsWith(" ")||t.startsWith(" ")||(n?e.x-n.x-n.width>5&&(r+=" "):ze(e.text)&&(t+=" ")),r+=t,n=e})),r).split(" "),i=t?se.enumValueOf(t):null;return a.filter((function(e){return e.trim().length>0})).map((function(e){var t=null;return e.startsWith("http:")?(o.containLinks=!0,t=Le.LINK):e.startsWith("www.")&&(o.containLinks=!0,e="http://"+e,t=Le.LINK),i&&o.formattedWords++,new de({string:e,type:t,format:i})}))}}]),t}(Fe);function $e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xe(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var Qe=function(e){function t(){return $e(this,t),Xe(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(C.xs);const Je=Qe;function Ze(e){return e.type?e.type.toText(e):Ie(e.items,!1)}function et(e){if(1==e)return Qe.H1;if(2==e)return Qe.H2;if(3==e)return Qe.H3;if(4==e)return Qe.H4;if(5==e)return Qe.H5;if(6==e)return Qe.H6;throw"Unsupported headline level: "+e+" (supported are 1-6)"}Qe.initEnum({H1:{headline:!0,headlineLevel:1,toText:function(e){return"# "+Ie(e.items,!0)}},H2:{headline:!0,headlineLevel:2,toText:function(e){return"## "+Ie(e.items,!0)}},H3:{headline:!0,headlineLevel:3,toText:function(e){return"### "+Ie(e.items,!0)}},H4:{headline:!0,headlineLevel:4,toText:function(e){return"#### "+Ie(e.items,!0)}},H5:{headline:!0,headlineLevel:5,toText:function(e){return"##### "+Ie(e.items,!0)}},H6:{headline:!0,headlineLevel:6,toText:function(e){return"###### "+Ie(e.items,!0)}},TOC:{mergeToBlock:!0,toText:function(e){return Ie(e.items,!0)}},FOOTNOTES:{mergeToBlock:!0,mergeFollowingNonTypedItems:!0,toText:function(e){return Ie(e.items,!1)}},CODE:{mergeToBlock:!0,toText:function(e){return"```\n"+Ie(e.items,!0)+"```"}},LIST:{mergeToBlock:!0,mergeFollowingNonTypedItemsWithSmallDistance:!0,toText:function(e){return Ie(e.items,!1)}},PARAGRAPH:{toText:function(e){return Ie(e.items,!1)}}});var tt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},nt=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();const rt=function(e){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,"Compact To Lines"))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,e),nt(n,[{key:"transform",value:function(e){var n=e.globals,r=n.mostUsedDistance,o=n.fontToFormats,a=[],i=[],s=0,l=0,c=new Me({mostUsedDistance:r}),u=new Ke(o);return e.pages.forEach((function(e){var n;e.items.length>0&&(n=[],c.group(e.items).forEach((function(r){var o=u.compact(r);if(r.length>1&&(o.annotation=X,r.forEach((function(e){e.annotation=Q,n.push(new he(tt({},e)))}))),0==o.words.length&&(o.annotation=Q),n.push(o),o.parsedElements.formattedWords&&(l+=o.parsedElements.formattedWords),o.parsedElements.containLinks>0&&s++,o.parsedElements.footnoteLinks.length>0){var c=o.parsedElements.footnoteLinks.map((function(n){return t().createElement("span",{key:n},t().createElement("a",{href:"#Page "+(e.index+1)},n),",")}));i.push.apply(i,c)}if(o.parsedElements.footnotes.length>0){o.type=Je.FOOTNOTES;var p=o.parsedElements.footnotes.map((function(n){return t().createElement("span",{key:n},t().createElement("a",{href:"#Page "+(e.index+1)},n),",")}));a.push.apply(a,p)}})),e.items=n)})),new re(tt({},e,{messages:["Detected "+l+" formatted words","Found "+s+" links",t().createElement("span",null,"Detected ",i.length," footnotes links: [",i,"]"),t().createElement("span",null,"Detected ",a.length," footnotes: [",a,"]")]}))}}]),n}(Ce);var ot=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},at=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function it(e){var t=0;if(0===e.trim().length)return t;for(var n=0;n<e.length;n++){var r=e.charCodeAt(n);Ue(r)||32==r||160==r||(t=(t<<5)-t+r,t|=0)}return t}const st=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,"Remove Repetitive Elements"))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),at(t,[{key:"transform",value:function(e){var t=[],n={},r={};e.pages.forEach((function(e){var o=e.items.reduce((function(e,t){return t.y<e.minY?(e.minElements=[t],e.minY=t.y):t.y==e.minY&&e.minElements.push(t),t.y>e.maxY?(e.maxElements=[t],e.maxY=t.y):t.y==e.maxY&&e.maxElements.push(t),e}),{minY:999,maxY:0,minElements:[],maxElements:[]}),a=it(o.minElements.reduce((function(e,t){return e+t.text().toUpperCase()}),"")),i=it(o.maxElements.reduce((function(e,t){return e+t.text().toUpperCase()}),""));t.push({minElements:o.minElements,maxElements:o.maxElements,minLineHash:a,maxLineHash:i}),n[a]=n[a]?n[a]+1:1,r[i]=r[i]?r[i]+1:1}));var o=0,a=0;return e.pages.forEach((function(i,s){n[t[s].minLineHash]>=Math.max(3,2*e.pages.length/3)&&(t[s].minElements.forEach((function(e){e.annotation=Q})),a++),r[t[s].maxLineHash]>=Math.max(3,2*e.pages.length/3)&&(t[s].maxElements.forEach((function(e){e.annotation=Q})),o++)})),new re(ot({},e,{messages:["Removed Header: "+o,"Removed Footers: "+a]}))}}]),t}(Ce);var lt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ct=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function ut(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pt(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function dt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}const ft=function(e){function t(){return ut(this,t),pt(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,"Vertical to Horizontal Text"))}return dt(t,e),ct(t,[{key:"transform",value:function(e){var t=0;return e.pages.forEach((function(e){var n=new ht;n.consumeAll(e.items),e.items=n.complete(),t+=n.foundVerticals})),new re(lt({},e,{messages:["Converted "+t+" verticals"]}))}}]),t}(Ce);var ht=function(e){function t(){ut(this,t);var e=pt(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.foundVerticals=0,e}return dt(t,e),ct(t,[{key:"shouldStash",value:function(e){return 1==e.words.length&&1==e.words[0].string.length}},{key:"doMatchesStash",value:function(e,t){return e.y-t.y>5&&e.words[0].type===t.words[0].type}},{key:"doFlushStash",value:function(e,t){if(e.length>5){var n=[],r=999,o=0,a=0,i=0;e.forEach((function(e){e.annotation=Q,t.push(e),n.push(e.words[0]),r=Math.min(r,e.x),o=Math.max(o,e.y),a+=e.width,i=Math.max(i,e.height)})),t.push(new he(lt({},e[0],{x:r,y:o,width:a,height:i,words:n,annotation:X}))),this.foundVerticals++}else t.push.apply(t,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(e))}}]),t}(Fe),gt=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();const bt=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.headlineCharCodes=Be(t.headline),this.stackedLineItems=[],this.stackedChars=0}return gt(e,[{key:"consume",value:function(e){var t=Be(e.text());if(this.matchAll(t)){if(this.stackedLineItems.push(e),this.stackedChars+=t.length,this.stackedChars==this.headlineCharCodes.length)return this.stackedLineItems}else this.stackedChars>0&&(this.stackedChars=0,this.stackedLineItems=[],this.consume(e));return null}},{key:"matchAll",value:function(e){for(var t=0;t<e.length;t++){var n=this.headlineCharCodes[this.stackedChars+t];if(e[t]!=n)return!1}return!0}}]),e}();var mt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vt=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function yt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}const _t=function(e){function t(){return yt(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,"Detect TOC"))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),vt(t,[{key:"transform",value:function(e){var t,n,r=[],o=Math.min(20,e.pages.length),a=new kt,i=[];e.pages.slice(0,o).forEach((function(e){var o,s,l=0,c=new Set,u=[];e.items.forEach((function(e){for(var t=e.words.filter((function(e){return!function(e,t){for(var n=".".charCodeAt(0),r=0;r<e.length;r++)if(e.charCodeAt(r)!=n)return!1;return!0}(e.string)})),r=[];t.length>0&&qe(t[t.length-1].string);){var a=t.pop();r.unshift(a.string)}if(0==r.length&&t.length>0)for(var i=t[t.length-1];Ue(i.string.charCodeAt(i.string.length-1));)r.unshift(i.string.charAt(i.string.length-1)),i.string=i.string.substring(0,i.string.length-1);var p=r.length>0;p?(p=!0,o&&(t.push.apply(t,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(o)),o=null),u.push(new Et({pageNumber:parseInt(r.join("")),lineItem:new he(mt({},e,{words:t}))})),l++):n?(o&&c.add(s),o=t,s=e):n=e})),100*l/e.items.length>75?function(){r.push(e.index+1),t=e,a.levelPageItems(u),i.push.apply(i,u);var o=[];e.items.forEach((function(e){c.has(e)||(e.annotation=Q),o.push(e),e===n&&o.push(new he(mt({},e,{type:Je.H2,annotation:X})))})),e.items=o}():n=null}));var s,l,c=i.length,u=[],p=[],d={};r.length>0&&function(){i.forEach((function(e){t.items.push(new he({words:[new de({string:" ".repeat(3*e.level)+"-"})].concat(e.lineItem.words),type:Je.TOC,annotation:X}))}));var n=function(e,t){var n=!0,r=!1,o=void 0;try{for(var a,i=t[Symbol.iterator]();!(n=(a=i.next()).done);n=!0){var s=a.value,l=xt(e,s.lineItem.text());if(l)return l.index-s.pageNumber}}catch(e){r=!0,o=e}finally{try{!n&&i.return&&i.return()}finally{if(r)throw o}}return null}(e.pages.filter((function(e){return e.index>t.index})),i);i.forEach((function(t){var r,o=e.pages[t.pageNumber+n];o&&((r=wt(o,t.lineItem.text()))||(o=e.pages[t.pageNumber+n+1])&&(r=wt(o,t.lineItem.text()))),r?function(e,t,n,r){n.headlineItems.forEach((function(e){return e.annotation=Q}));var o=et(t.level+2),a=n.headlineItems.reduce((function(e,t){return Math.max(e,t.height)}),0);e.items.splice(n.lineIndex+1,0,new he(mt({},n.headlineItems[0],{words:t.lineItem.words,height:a,type:o,annotation:X})));var i=r[o.name];i?(i.min=Math.min(i.min,a),i.max=Math.max(i.max,a)):(i={min:a,max:a},r[o.name]=i)}(o,t,r,d):u.push(t)})),s=t.index+2,l=[];var r=function(t){l.length>0&&(l.forEach((function(n){var r=et(Math.min(n.level+2,6)),o=d[r.name];if(o){var a=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(function(e,t,n,r,o){for(var a=t.lineItem.text().toUpperCase(),i=r;i<=o;i++){var s=e[i-1].items.findIndex((function(e){return!e.type&&!e.annotation&&e.height>=n.min&&e.height<=n.max&&(t=a,r=e.text(),o=new Set(t.toUpperCase().split(" ")),i=new Set(r.toUpperCase().split(" ")),new Set([].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(o)).filter((function(e){return i.has(e)}))).size/Math.max(o.size,i.size)>=.5);var t,r,o,i}));if(s>-1)return[i-1,s]}return[-1,-1]}(e.pages,n,o,s,t),2),i=a[0],l=a[1];if(l>-1){var c=e.pages[i];c.items[l].annotation=Q,c.items.splice(l+1,0,new he(mt({},n.lineItem,{type:r,annotation:X}))),p.push(n)}}})),l=[])};u.length>0&&(i.forEach((function(e){u.includes(e)?l.push(e):(r(e.pageNumber),s=e.pageNumber)})),l.length>0&&r(e.pages.length))}();var f=[];return f.push("Detected "+r.length+" table of content pages"),r.length>0&&(f.push("TOC headline heights: "+JSON.stringify(d)),f.push("Found TOC headlines: "+(c-u.length+p.length)+"/"+c)),u.length>0&&(f.push("Found TOC headlines (by size): "+p.map((function(e){return e.lineItem.text()}))),f.push("Missing TOC headlines: "+u.filter((function(e){return!p.includes(e)})).map((function(e){return e.lineItem.text()+"=>"+e.pageNumber})))),new re(mt({},e,{globals:mt({},e.globals,{tocPages:r,headlineTypeToHeightRange:d}),messages:f}))}}]),t}(Ce);function xt(e,t){var n=!0,r=!1,o=void 0;try{for(var a,i=e[Symbol.iterator]();!(n=(a=i.next()).done);n=!0){var s=a.value;if(wt(s,t))return s}}catch(e){r=!0,o=e}finally{try{!n&&i.return&&i.return()}finally{if(r)throw o}}return null}function wt(e,t){var n=new bt({headline:t}),r=0,o=!0,a=!1,i=void 0;try{for(var s,l=e.items[Symbol.iterator]();!(o=(s=l.next()).done);o=!0){var c=s.value,u=n.consume(c);if(u)return{lineIndex:r,headlineItems:u};r++}}catch(e){a=!0,i=e}finally{try{!o&&l.return&&l.return()}finally{if(a)throw i}}return null}var kt=function(){function e(){yt(this,e),this.levelByMethod=null,this.uniqueFonts=[]}return vt(e,[{key:"levelPageItems",value:function(e){if(!this.levelByMethod)if(this.calculateUniqueX(e).length>1)this.levelByMethod=this.levelByXDiff;else{var t=this.calculateUniqueFonts(e);t.length>1?(this.uniqueFonts=t,this.levelByMethod=this.levelByFont):this.levelByMethod=this.levelToZero}this.levelByMethod(e)}},{key:"levelByXDiff",value:function(e){var t=this.calculateUniqueX(e);e.forEach((function(e){e.level=t.indexOf(e.lineItem.x)}))}},{key:"levelByFont",value:function(e){var t=this;e.forEach((function(e){e.level=t.uniqueFonts.indexOf(e.lineItem.font)}))}},{key:"levelToZero",value:function(e){e.forEach((function(e){e.level=0}))}},{key:"calculateUniqueX",value:function(e){var t=e.reduce((function(e,t){return e.indexOf(t.lineItem.x)<0&&e.push(t.lineItem.x),e}),[]);return t.sort((function(e,t){return e-t})),t}},{key:"calculateUniqueFonts",value:function(e){return e.reduce((function(e,t){return e.indexOf(t.lineItem.font)<0&&e.push(t.lineItem.font),e}),[])}}]),e}(),Et=function e(t){yt(this,e),this.lineItem=t.lineItem,this.pageNumber=t.pageNumber,this.level=0},Ct=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},At=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();const Pt=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,"Detect List Items"))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),At(t,[{key:"transform",value:function(e){var t=0,n=0;return e.pages.forEach((function(e){var r=[];e.items.forEach((function(e){if(r.push(e),!e.type){var o=e.text();if(ze(e.words[0].string))if(t++,"-"===e.words[0].string)e.annotation=Z,e.type=Je.LIST;else{e.annotation=Q;var a=e.words.map((function(e){return new de(Ct({},e))}));a[0].string="-",r.push(new he(Ct({},e,{words:a,annotation:X,type:Je.LIST})))}else/^[\s]*[\d]*[.][\s].*$/g.test(o)&&(n++,e.annotation=Z,e.type=Je.LIST)}})),e.items=r})),new re(Ct({},e,{messages:["Detected "+t+" plain list items.","Detected "+n+" numbered list items."]}))}}]),t}(Ce);var Tt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},St=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();const Ot=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,"Detect Headers"))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),St(t,[{key:"transform",value:function(e){var t,n=e.globals,r=n.tocPages,o=n.headlineTypeToHeightRange,a=n.mostUsedHeight,i=n.mostUsedDistance,s=n.mostUsedFont,l=n.maxHeight,c=r.length>0,u=0,p=function(e,t){var n=new Set;return e.forEach((function(e){e.items.forEach((function(r){r.type||r.height!=t||n.add(e)}))})),n}(e.pages,l),d=a+(l-a)/4;p.forEach((function(e){e.items.forEach((function(e){var t=e.height;!e.type&&t>d&&(e.type=t==l?Je.H1:Je.H2,e.annotation=Z,u++)}))})),c?Object.keys(o).forEach((function(t){var n=o[t];n.max>a&&e.pages.forEach((function(e){e.items.forEach((function(e){e.type||e.height!=n.max||(e.annotation=Z,e.type=Je.enumValueOf(t),u++)}))}))})):(t=[],e.pages.forEach((function(e){e.items.forEach((function(e){!e.type&&e.height>a&&!We(e.text())&&(t.includes(e.height)||t.push(e.height))}))})),t.sort((function(e,t){return t-e})),t.forEach((function(t,n){var r;n+2<=6&&(r=et(2+n),e.pages.forEach((function(e){e.items.forEach((function(e){e.type||e.height!=t||We(e.text())||(u++,e.annotation=Z,e.type=r)}))})))})));var f,h=1;return e.pages.forEach((function(e){e.items.forEach((function(e){e.type&&e.type.headline&&(h=Math.max(h,e.type.headlineLevel))}))})),h<6&&(f=et(h+1),e.pages.forEach((function(e){var t;e.items.forEach((function(e){!e.type&&e.height==a&&e.font!==s&&(!t||t.y<e.y||t.type&&t.type.headline||t.y-e.y>2*i)&&e.text()===e.text().toUpperCase()&&(u++,e.annotation=Z,e.type=f),t=e}))}))),new re(Tt({},e,{messages:["Detected "+u+" headlines."]}))}}]),t}(Ce);var Mt=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function Rt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nt(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}const Dt=function(e){function n(){return Rt(this,n),Nt(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,e),Mt(n,[{key:"createItemViews",value:function(e,n){return e.map((function(e,r){var o,a,i=e.type?" - "+e.type.name:null,s=e.annotation?t().createElement("span",null," - "+e.annotation.category):null,l=e.annotation?{marginBottom:"20px",border:"solid thin "+e.annotation.color}:null,c=e.annotation?{color:e.annotation.color}:null;return e.parsedElements&&(e.parsedElements.footnoteLinks.length>0&&(o=t().createElement("div",null,"Footnote-Links: "+e.parsedElements.footnoteLinks)),e.parsedElements.footnotes.length>0&&(a=t().createElement("div",null,"Footnotes: "+e.parsedElements.footnotes))),t().createElement("div",{key:r},t().createElement("div",{style:c},t().createElement("b",null,"Block ",r+1),t().createElement("i",null,i," ",s)),t().createElement("div",{style:l},t().createElement(ye,{items:e.items,showWhitespaces:n}),o,a))}))}}]),n}(j);var Lt=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();const It=function(e){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e,Te.name));if(t.constructor===n)throw new TypeError("Can not construct abstract class.");return t.showWhitespaces=!1,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,e),Lt(n,[{key:"showModificationCheckbox",value:function(){return!0}},{key:"createPageView",value:function(e,n){return t().createElement(Dt,{key:e.index,page:e,modificationsOnly:n,showWhitespaces:this.showWhitespaces})}},{key:"completeTransform",value:function(e){return e.messages=[],e.pages.forEach((function(e){e.items=e.items.filter((function(e){return!e.annotation||e.annotation!==Q})),e.items.forEach((function(e){return e.annotation=null}))})),e}}]),n}(P);var jt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ft=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();const Ut=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,"Gather Blocks"))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Ft(t,[{key:"transform",value:function(e){var t=e.globals.mostUsedDistance,n=0,r=0;return e.pages.map((function(e){r+=e.items.length;var o=[],a=new Te({}),i=function(){a.items.length>1&&(a.annotation=Z),o.push(a),a=new Te({}),n++},s=function(e){var t=999;return e.forEach((function(e){t=Math.min(t,e.x)})),999==t?null:t}(e.items);e.items.forEach((function(e){a.items.length>0&&function(e,t,n,r){if(e.type&&e.type.mergeFollowingNonTypedItems&&!t.type)return!1;var o=function(e,t,n,r){var o=e.y-t.y;if(o<0-r/2)return!0;var a=r+1;return e.x>n&&t.x>n&&(a=r+r/2),o>a}(e.items[e.items.length-1],t,n,r);return!(e.type&&e.type.mergeFollowingNonTypedItemsWithSmallDistance&&!t.type&&!o)&&(t.type!==e.type||(t.type?!t.type.mergeToBlock:o))}(a,e,s,t)&&i(),a.addItem(e)})),a.items.length>0&&i(),e.items=o})),new re(jt({},e,{messages:["Gathered "+n+" blocks out of "+r+" line items"]}))}}]),t}(It);var qt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Bt=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();const zt=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,"Detect Code/Quote Blocks"))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Bt(t,[{key:"transform",value:function(e){var t=e.globals.mostUsedHeight,n=0;return e.pages.forEach((function(e){var r=function(e){var t=999;return e.forEach((function(e){e.items.forEach((function(e){t=Math.min(t,e.x)}))})),999==t?null:t}(e.items);e.items.forEach((function(e){!e.type&&function(e,t,n){if(0==t.length)return!1;if(1==t.length)return t[0].x>e&&t[0].height<=n+1;var r=!0,o=!1,a=void 0;try{for(var i,s=t[Symbol.iterator]();!(r=(i=s.next()).done);r=!0)if(i.value.x==e)return!1}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return!0}(r,e.items,t)&&(e.annotation=Z,e.type=Je.CODE,n++)}))})),new re(qt({},e,{messages:["Detected "+n+" code/quote items."]}))}}]),t}(It);var Wt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ht=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();const Vt=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var e=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,"Level Lists"));return e.showWhitespaces=!0,e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Ht(t,[{key:"transform",value:function(e){var t=0,n=0;return e.pages.forEach((function(e){e.items.filter((function(e){return e.type===Je.LIST})).forEach((function(e){var r,o=0,a={},i=!1;e.items.forEach((function(e){r?e.x>r?(o++,a[e.x]=o):e.x<r&&(o=a[e.x]):a[e.x]=0,o>0&&(e.words=[new de({string:" ".repeat(3*o)})].concat(e.words),i=!0),r=e.x})),t++,i?(n++,e.annotation=ee):e.annotation=J}))})),new re(Wt({},e,{messages:["Modified "+n+" / "+t+" list blocks."]}))}}]),t}(It);var Gt=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function Kt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yt(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}const $t=function(e){function n(){return Kt(this,n),Yt(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,e),Gt(n,[{key:"createItemViews",value:function(e,n){return t().createElement("div",null,t().createElement(U(),{responsive:!0},t().createElement("thead",null,t().createElement("tr",null,t().createElement("th",null,"#"),t().createElement("th",null,"Category"),t().createElement("th",null,"Text"))),t().createElement("tbody",null,e.map((function(e,n){return t().createElement("tr",{key:n},t().createElement("td",null,n),t().createElement("td",null,e.category),t().createElement("td",null,t().createElement("pre",{style:{display:"inline-block"}},e.text)))})))))}}]),n}(j);var Xt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Qt=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();const Jt=function(e){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,"To Text Blocks","TextBlock"))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,e),Qt(n,[{key:"createPageView",value:function(e,n){return t().createElement($t,{key:e.index,page:e})}},{key:"transform",value:function(e){return e.pages.forEach((function(e){var t=[];e.items.forEach((function(e){var n=e.type?e.type.name:"Unknown";t.push({category:n,text:Ze(e)})})),e.items=t})),new re(Xt({},e))}}]),n}(P);var Zt=__webpack_require__(1637),en=__webpack_require__.n(Zt),tn=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function nn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rn(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}const on=function(e){function n(){return nn(this,n),rn(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,e),tn(n,[{key:"createItemViews",value:function(e,n){var r=new(en())({breaks:!0}).render(e[0]);return t().createElement("div",null,t().createElement("div",{dangerouslySetInnerHTML:{__html:r}}))}}]),n}(j);var an=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},sn=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();const ln=function(e){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,"To Markdown","String"))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,e),sn(n,[{key:"createPageView",value:function(e,n){return t().createElement(on,{key:e.index,page:e})}},{key:"transform",value:function(e){return e.pages.forEach((function(e){var t="";e.items.forEach((function(e){t+=e.text+"\n"})),e.items=[t]})),new re(an({},e))}}]),n}(P);var cn=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function un(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function pn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}const dn=function(){function e(t){pn(this,e),this.renderFunction=t.renderFunction,this.mainView=fn.UPLOAD,this.fileBuffer,this.metadata,this.pages=[],this.transformations,this.render=this.render.bind(this),this.storeFileBuffer=this.storeFileBuffer.bind(this),this.storePdfPages=this.storePdfPages.bind(this),this.switchMainView=this.switchMainView.bind(this)}return cn(e,[{key:"render",value:function(){this.renderFunction(this)}},{key:"storeFileBuffer",value:function(e){this.fileBuffer=e,this.mainView=fn.LOADING,this.render()}},{key:"storePdfPages",value:function(e,t,n){this.metadata=e,this.pages=n,this.fileBuffer=null,this.mainView=fn.RESULT,this.transformations=[new ue(t),new rt,new st,new ft,new _t,new Ot,new Pt,new Ut,new zt,new Vt,new Jt,new ln],this.render()}},{key:"switchMainView",value:function(e){this.mainView=e,this.render()}}]),e}();var fn=function(e){function t(){return pn(this,t),un(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(C.xs);fn.initEnum(["UPLOAD","LOADING","RESULT","DEBUG"]);var hn=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function gn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bn(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var mn=function(e){function n(){return gn(this,n),bn(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,e),hn(n,[{key:"render",value:function(){var e=this.props,n=e.mainView,r=e.switchMainViewFunction,o=e.title,a=t().createElement(m(),{id:"popover-trigger-click-root-close",title:"About PDF to Markdown Converter - 0.1.3"},t().createElement("p",null,t().createElement("i",null,"PDF to Markdown Converter")," will convert your uploaded PDF to Markdown format.")),i=n==fn.RESULT||n==fn.DEBUG;return t().createElement(s(),{inverse:!0},t().createElement(s().Header,null,t().createElement(s().Brand,null,t().createElement(g(),{id:"logo-dropdown"},t().createElement(E,{bsRole:"toggle"}),t().createElement(g().Menu,null,t().createElement(f(),{divider:!0}),t().createElement(f(),{href:"https://github.com/jzillmann/pdf-to-markdown/issues",target:"_blank"}," Feedback & Bug Reports"),t().createElement(f(),{href:"http://github.com/jzillmann/pdf-to-markdown",target:"_blank"}," Code @Github"),t().createElement(f(),{divider:!0}),t().createElement(y(),{trigger:"click",rootClose:!0,placement:"bottom",overlay:a},t().createElement(f(),{eventKey:"3"}," About"))))),i&&t().createElement(c(),{bsStyle:"tabs",activeKey:n,pullRight:!0},t().createElement(p(),{eventKey:fn.DEBUG,activeKey:n,onSelect:r},"Debug View"),t().createElement(p(),{eventKey:fn.RESULT,activeKey:n,onSelect:r},"Result View"))),t().createElement(s().Collapse,null,t().createElement(s().Text,{pullRight:!0},o)))}}]),n}(t().Component);mn.propTypes={mainView:t().PropTypes.object.isRequired,switchMainViewFunction:t().PropTypes.func.isRequired,title:t().PropTypes.string.isRequired};const vn=mn;var yn=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function _n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xn(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}const wn=function(e){function n(){return _n(this,n),xn(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,e),yn(n,[{key:"render",value:function(){return t().createElement(s(),null,t().createElement(s().Header,null,t().createElement(s().Text,null,"This is a offline tool, your data stays locally and is not send to any server!")),t().createElement(s().Collapse,null,t().createElement(s().Text,{pullRight:!0},t().createElement("a",{href:"https://github.com/jzillmann/pdf-to-markdown/issues",target:"_blank"},"Feedback & Bug Reports"))))}}]),n}(t().Component);var kn=__webpack_require__(2628),En=__webpack_require__.n(kn),Cn=__webpack_require__(8182),An=__webpack_require__.n(Cn),Pn=__webpack_require__(944),Tn=__webpack_require__.n(Pn),Sn=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),On=function(e){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.state={uploadPdfFunction:e.uploadPdfFunction},t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,e),Sn(n,[{key:"onDrop",value:function(e){if(e.length>1)alert("Maximum one file allowed to upload, but not "+e.length+"!");else{var t=new FileReader,n=this.state.uploadPdfFunction;t.onload=function(e){var t=e.target.result;n(new Uint8Array(t))},t.readAsArrayBuffer(e[0])}}},{key:"render",value:function(){return t().createElement("div",null,t().createElement(An(),{onDrop:this.onDrop.bind(this),multiple:!1,style:{width:400,height:500,borderWidth:2,borderColor:"#666",borderStyle:"dashed",borderRadius:5,display:"table-cell",textAlign:"center",verticalAlign:"middle"}},t().createElement("div",{className:"container"},t().createElement("h2",null,"Drop your PDF file here!")),t().createElement("h1",null,t().createElement(Tn(),{width:100,height:100})),t().createElement("br",null),t().createElement(En(),{bsStyle:"warning"},t().createElement("i",null,"This tool converts a PDF file into a Markdown text format! Simply drag & drop your PDF file on the upload area and go from there. Don't expect wonders, there are a lot of variances in generated PDF's from different tools and different ages. No matter how good the parser works for your PDF, you will have to invest a good amount of manuell work to complete it. Though this tool aims to be general purpose, it has been tested on a certain set of PDF's only."))),t().createElement("br",null),t().createElement("br",null),t().createElement("br",null),t().createElement("br",null),t().createElement("br",null),t().createElement("br",null))}}]),n}(t().Component);On.propTypes={uploadPdfFunction:t().PropTypes.func.isRequired};const Mn=On;var Rn=__webpack_require__(2136),Nn=__webpack_require__.n(Rn),Dn=__webpack_require__(4869);const Ln=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t.metadata?(this.title=t.metadata.get("dc:title"),this.creator=t.metadata.get("xap:creatortool"),this.producer=t.metadata.get("pdf:producer")):(this.title=t.info.Title,this.author=t.info.Author,this.creator=t.info.Creator,this.producer=t.info.Producer)},In=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.index=t.index,this.items=t.items||[]};var jn=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function Fn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Un=__webpack_require__(7803);Un.GlobalWorkerOptions.workerSrc="bundle.worker.js";var qn=function(e){function n(e){Fn(this,n);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e)),r=new Wn({stages:[new Hn("Parsing Metadata",2),new Hn("Parsing Pages"),new Hn("Parsing Fonts",0)]});return Wn.prototype.metadataStage=function(){return r.stages[0]},Wn.prototype.pageStage=function(){return r.stages[1]},Wn.prototype.fontStage=function(){return r.stages[2]},t.state={document:null,metadata:null,pages:[],fontIds:new Set,fontMap:new Map,progress:r},t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,e),jn(n,[{key:"documentParsed",value:function(e){var t=this.state.progress.metadataStage(),n=this.state.progress.pageStage();t.stepsDone++;var r=e.numPages;n.steps=r,n.stepsDone;for(var o=[],a=0;a<r;a++)o.push(new In({index:a}));this.setState({document:e,pages:o})}},{key:"metadataParsed",value:function(e){this.state.progress.metadataStage().stepsDone++,this.setState({metadata:new Ln(e)})}},{key:"pageParsed",value:function(e,t){var n=this.state.progress.pageStage();n.stepsDone=n.stepsDone+1,this.state.pages[e].items=t,this.setState({progress:this.state.progress})}},{key:"fontParsed",value:function(e,t){var n=this.state.progress.fontStage();this.state.fontMap.set(e,t),n.stepsDone++,this.state.progress.activeStage()===n&&this.setState({fontMap:this.state.fontMap})}},{key:"componentWillMount",value:function(){var e=this,t=this.state.progress.fontStage();Un.getDocument({data:this.props.fileBuffer,cMapUrl:"cmaps/",cMapPacked:!0}).promise.then((function(n){n.getMetadata().then((function(t){e.metadataParsed(t)})),e.documentParsed(n);for(var r=1;r<=n.numPages;r++)n.getPage(r).then((function(n){var r=n.getViewport({scale:1});n.getTextContent().then((function(o){var a=o.items.map((function(n){var o=n.fontName;!e.state.fontIds.has(o)&&o.startsWith("g_d0")&&(e.state.document._transport.commonObjs.get(o,(function(t){e.fontParsed(o,t)})),e.state.fontIds.add(o),t.steps=e.state.fontIds.size);var a=Un.Util.transform(r.transform,n.transform),i=Math.sqrt(a[2]*a[2]+a[3]*a[3]),s=n.height/i;return new R({x:Math.round(n.transform[4]),y:Math.round(n.transform[5]),width:Math.round(n.width),height:Math.round(s<=1?n.height:s),text:n.str,font:n.fontName})}));e.pageParsed(n._pageIndex,a)})),n.getOperatorList().then((function(){}))}))}))}},{key:"render",value:function(){var e=this.state,n=e.pages,r=e.fontMap,o=e.metadata,a=e.progress,i=zn(a);100==i&&this.props.storePdfPagesFunction(o,r,n);var s=a.stages.filter((function(e,t){return t<=a.currentStage})).map((function(e,n){var r=e.steps?e.stepsDone+" / "+e.steps:"",o=e.isComplete()?t().createElement(Nn(),{color:"green"}):"";return t().createElement("div",{key:n},e.name," "+r+" ",o)}));return t().createElement("div",{style:{textAlign:"center"}},t().createElement("br",null),t().createElement("br",null),t().createElement("br",null),t().createElement(Dn.Line,{percent:i,strokeWidth:"2",strokeColor:"#D3D3D3"}),t().createElement("br",null),t().createElement("br",null),t().createElement("div",null,s),t().createElement("br",null),t().createElement("br",null),t().createElement("br",null),t().createElement("br",null),t().createElement("br",null),t().createElement("br",null))}}]),n}(t().Component);qn.propTypes={fileBuffer:t().PropTypes.object.isRequired,storePdfPagesFunction:t().PropTypes.func.isRequired};const Bn=qn;function zn(e){var t=e.activeStage().percentDone();return 100!=t||(e.completeStage(),e.isComplete())?t:zn(e)}var Wn=function(){function e(t){Fn(this,e),this.stages=t.stages,this.currentStage=0}return jn(e,[{key:"completeStage",value:function(){this.currentStage++}},{key:"isComplete",value:function(){return this.currentStage==this.stages.length}},{key:"activeStage",value:function(){return this.stages[this.currentStage]}}]),e}(),Hn=function(){function e(t,n){Fn(this,e),this.name=t,this.steps=n,this.stepsDone=0}return jn(e,[{key:"isComplete",value:function(){return this.stepsDone==this.steps}},{key:"percentDone",value:function(){return void 0===this.steps?0:0==this.steps?100:this.stepsDone/this.steps*100}}]),e}(),Vn=__webpack_require__(682),Gn=__webpack_require__.n(Vn),Kn=__webpack_require__(8705),Yn=__webpack_require__.n(Kn),$n=__webpack_require__(2773),Xn=__webpack_require__.n($n),Qn=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),Jn=function(e){function n(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,e),Qn(n,[{key:"componentWillMount",value:function(){var e,t=this.props,n=t.pages,r=t.transformations,o=new re({pages:n});r.forEach((function(t){e&&(o=e.completeTransform(o)),o=t.transform(o),e=t}));var a="";o.pages.forEach((function(e){e.items.forEach((function(e){a+=e+"\n"}))})),this.state={preview:!0,text:a}}},{key:"switchToPreview",value:function(){this.setState({preview:!0})}},{key:"switchToEdit",value:function(){this.setState({preview:!1})}},{key:"handleChange",value:function(e){this.setState({text:e.target.value})}},{key:"render",value:function(){var e,n=new(en())({breaks:!0,html:!0}),r=this.state,o=r.preview,a=r.text;if(o){var i=n.render(a);e=t().createElement("div",{dangerouslySetInnerHTML:{__html:i}})}else e=t().createElement("textarea",{rows:"45",cols:"150",value:a,onChange:this.handleChange.bind(this)});return t().createElement("div",null,t().createElement(Gn(),null,t().createElement(Yn(),{bsSize:"medium"},t().createElement(Xn(),{onClick:this.switchToEdit.bind(this),className:o?"":"active"},"Edit"),t().createElement(Xn(),{onClick:this.switchToPreview.bind(this),className:o?"active":""},"Preview"))),t().createElement("hr",null),e)}}]),n}(t().Component);Jn.propTypes={pages:t().PropTypes.array.isRequired,transformations:t().PropTypes.array.isRequired};const Zn=Jn;var er=__webpack_require__(1187),tr=__webpack_require__.n(er),nr=__webpack_require__(618),rr=__webpack_require__.n(nr),or=__webpack_require__(3250),ar=__webpack_require__.n(or),ir=__webpack_require__(9029),sr=__webpack_require__.n(ir),lr=__webpack_require__(8024),cr=__webpack_require__.n(lr),ur=__webpack_require__(7515),pr=__webpack_require__.n(ur),dr=__webpack_require__(5265),fr=__webpack_require__.n(dr),hr=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),gr=function(e){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.state={currentTransformation:0,pageNr:-1,modificationsOnly:!1,showStatistics:!1},t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,e),hr(n,[{key:"selectPage",value:function(e){this.setState({pageNr:e-1})}},{key:"selectTransformation",value:function(e){this.setState({currentTransformation:e})}},{key:"nextTransformation",value:function(){this.setState({currentTransformation:this.state.currentTransformation+1})}},{key:"prevTransformation",value:function(){this.setState({currentTransformation:this.state.currentTransformation-1})}},{key:"showModifications",value:function(){this.setState({modificationsOnly:!this.state.modificationsOnly})}},{key:"showStatistics",value:function(){this.setState({showStatistics:!this.state.showStatistics})}},{key:"render",value:function(){for(var e,n=this,r=this.state,o=r.currentTransformation,a=r.pageNr,i=this.props,s=i.pages,l=i.transformations,c=l[o].name,u=new re({pages:s}),p=0;p<=o;p++)e&&(u=e.completeTransform(u)),u=l[p].transform(u),e=l[p];u.pages=u.pages.filter((function(e,t){return-1==a||t==a}));var d,h=u.pages.map((function(t){return e.createPageView(t,n.state.modificationsOnly)})),g=e.showModificationCheckbox(),b=Object.keys(u.globals).map((function(e,n){return t().createElement("li",{key:n},e+": "+JSON.stringify(u.globals[e]))})),m=u.messages.map((function(e,n){return t().createElement("li",{key:n},e)})),v=[];return l.forEach((function(e,r){d&&e.itemType!==d&&v.push(t().createElement(f(),{key:r+"-divider",divider:!0})),v.push(t().createElement(f(),{key:r,eventKey:r,onSelect:n.selectTransformation.bind(n,r)},e.name)),d=e.itemType})),t().createElement("div",null,t().createElement(fr(),{viewportOffsetTop:0,offsetTop:0,container:this},t().createElement("table",null,t().createElement("tbody",null,t().createElement("tr",null,t().createElement("td",null,t().createElement("div",null,t().createElement("ul",{className:"pagination"},t().createElement("li",{className:-1==a?"active":""},t().createElement("a",{role:"button",onClick:this.selectPage.bind(this,0)},"ALL"))),t().createElement(rr(),{prev:!0,next:!0,first:!0,last:!0,ellipsis:!0,boundaryLinks:!0,items:s.length,maxButtons:17,activePage:this.state.pageNr+1,onSelect:this.selectPage.bind(this)}))),t().createElement("td",{style:{padding:"5px",textAlign:"left"}},t().createElement(ar(),{bsStyle:"info"},"Pages"))),t().createElement("tr",null,t().createElement("td",null,t().createElement(Gn(),null,t().createElement(Yn(),null,t().createElement(Xn(),{className:o>0?"btn-round":"btn-round disabled",onClick:this.prevTransformation.bind(this)},"← Previous")),t().createElement(Yn(),null," ",t().createElement(Xn(),{className:o<l.length-1?"btn-round":"btn-round disabled",onClick:this.nextTransformation.bind(this)},"Next →")),t().createElement(Yn(),null,t().createElement(tr(),{title:c,id:"dropdown-size-medium"},v)),t().createElement(Yn(),null,g&&t().createElement(sr(),{onClick:this.showModifications.bind(this)},"Show only modifications")),t().createElement(Yn(),null,t().createElement(sr(),{onClick:this.showStatistics.bind(this)},"Show Statistics")))),t().createElement("td",{style:{padding:"5px"}},t().createElement(ar(),{bsStyle:"info"},"Transformations"," - "+o+" / "+(l.length-1)))),t().createElement("tr",null,t().createElement("td",null,t().createElement(cr(),{in:this.state.showStatistics},t().createElement(pr(),{bsStyle:"default"},t().createElement("ul",null,b)))))))),!this.state.showStatistics&&t().createElement("hr",{style:{marginTop:"5px"}}),t().createElement("ul",null,m),h)}}]),n}(t().Component);gr.propTypes={pages:t().PropTypes.array.isRequired,transformations:t().PropTypes.array.isRequired};const br=gr;var mr=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function vr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yr(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var _r=function(e){function n(){return vr(this,n),yr(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,e),mr(n,[{key:"render",value:function(){var e,n=this.props.appState;switch(this.props.appState.mainView){case fn.UPLOAD:e=t().createElement(Mn,{uploadPdfFunction:n.storeFileBuffer});break;case fn.LOADING:e=t().createElement(Bn,{fileBuffer:n.fileBuffer,storePdfPagesFunction:n.storePdfPages});break;case fn.RESULT:e=t().createElement(Zn,{pages:n.pages,transformations:n.transformations});break;case fn.DEBUG:e=t().createElement(br,{pages:n.pages,transformations:n.transformations});break;default:throw"View "+this.props.appState.mainView+" not supported!"}var r=n.metadata&&n.metadata.title?n.metadata.title:"";return t().createElement("div",null,t().createElement(vn,{mainView:n.mainView,switchMainViewFunction:n.switchMainView,title:r}),t().createElement(a(),null,t().createElement("div",null,e)),t().createElement(wn,null))}}]),n}(t().Component);_r.propTypes={appState:t().PropTypes.object.isRequired};const xr=_r;new dn({renderFunction:function(e){r().render(t().createElement(xr,{appState:e}),document.getElementById("main"))}}).render()})()})();