(self.webpackChunksocialLite_=self.webpackChunksocialLite_||[]).push([[22],{1089:function(e,t,r){"use strict";r.d(t,{A:function(){return a}});var n,o=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,a=(n={},function(e){return void 0===n[e]&&(n[e]=(t=e,o.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91)),n[e];var t})},848:function(e,t,r){"use strict";r.d(t,{A:function(){return Q}});var n=r(1594),o=r.n(n);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){p(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(){s=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function c(e,t,r,o){var a=t&&t.prototype instanceof p?t:p,i=Object.create(a.prototype),s=new C(o||[]);return n(i,"_invoke",{value:A(e,r,s)}),i}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var d={};function p(){}function h(){}function v(){}var m={};l(m,a,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(P([])));y&&y!==t&&r.call(y,a)&&(m=y);var b=v.prototype=p.prototype=Object.create(m);function w(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){function o(n,a,i,s){var u=f(e[n],e,a);if("throw"!==u.type){var l=u.arg,c=l.value;return c&&"object"==typeof c&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){o("next",e,i,s)}),(function(e){o("throw",e,i,s)})):t.resolve(c).then((function(e){l.value=e,i(l)}),(function(e){return o("throw",e,i,s)}))}s(u.arg)}var a;n(this,"_invoke",{value:function(e,r){function n(){return new t((function(t,n){o(e,r,t,n)}))}return a=a?a.then(n,n):n()}})}function A(e,t,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return{value:void 0,done:!0}}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var s=S(i,r);if(s){if(s===d)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=f(e,t,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===d)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),d;var o=f(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,d;var a=o.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function P(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:E}}function E(){return{value:void 0,done:!0}}return h.prototype=v,n(b,"constructor",{value:v,configurable:!0}),n(v,"constructor",{value:h,configurable:!0}),h.displayName=l(v,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,l(e,u,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},w(_.prototype),l(_.prototype,i,(function(){return this})),e.AsyncIterator=_,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new _(c(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},w(b),l(b,u,"Generator"),l(b,a,(function(){return this})),l(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=P,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return i.type="throw",i.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(s&&u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,d):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),x(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:P(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},e}function u(e,t,r,n,o,a,i){try{var s=e[a](i),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}function l(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function i(e){u(a,n,o,i,s,"next",e)}function s(e){u(a,n,o,i,s,"throw",e)}i(void 0)}))}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,w(n.key),n)}}function d(e,t,r){return t&&f(e.prototype,t),r&&f(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function p(e,t,r){return(t=w(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function v(e,t){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},v(e,t)}function m(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function g(e,t,r){return g=m()?Reflect.construct.bind():function(e,t,r){var n=[null];n.push.apply(n,t);var o=new(Function.bind.apply(e,n));return r&&v(o,r.prototype),o},g.apply(null,arguments)}function y(e){var t="function"==typeof Map?new Map:void 0;return y=function(e){if(null===e||(r=e,-1===Function.toString.call(r).indexOf("[native code]")))return e;var r;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return g(e,arguments,h(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),v(n,e)},y(e)}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(e){var t=function(e){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}var _=void 0!==r.g&&"[object global]"==={}.toString.call(r.g);function A(e,t){return 0===e.indexOf(t.toLowerCase())?e:"".concat(t.toLowerCase()).concat(e.substr(0,1).toUpperCase()).concat(e.substr(1))}function S(e){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(e)}function k(e){return/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/.test(e)}function x(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.id,n=t.url,o=r||n;if(!o)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(e=o,!isNaN(parseFloat(e))&&isFinite(e)&&Math.floor(e)==e)return"https://vimeo.com/".concat(o);if(S(o))return o.replace("http:","https:");if(r)throw new TypeError("“".concat(r,"” is not a valid video id."));throw new TypeError("“".concat(o,"” is not a vimeo.com url."))}var C=function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"addEventListener",o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"removeEventListener",a="string"==typeof t?[t]:t;return a.forEach((function(t){e[n](t,r)})),{cancel:function(){return a.forEach((function(t){return e[o](t,r)}))}}},P=void 0!==Array.prototype.indexOf,E="undefined"!=typeof window&&void 0!==window.postMessage;if(!(_||P&&E))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var T="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{};!function(e){if(!e.WeakMap){var t=Object.prototype.hasOwnProperty,r=Object.defineProperty&&function(){try{return 1===Object.defineProperty({},"x",{value:1}).x}catch(e){}}(),n=function(e,t,n){r?Object.defineProperty(e,t,{configurable:!0,writable:!0,value:n}):e[t]=n};e.WeakMap=function(){function e(){if(void 0===this)throw new TypeError("Constructor WeakMap requires 'new'");if(n(this,"_id","_WeakMap_"+a()+"."+a()),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}function r(e,r){if(!o(e)||!t.call(e,"_id"))throw new TypeError(r+" method called on incompatible receiver "+typeof e)}function a(){return Math.random().toString().substring(2)}return n(e.prototype,"delete",(function(e){if(r(this,"delete"),!o(e))return!1;var t=e[this._id];return!(!t||t[0]!==e||(delete e[this._id],0))})),n(e.prototype,"get",(function(e){if(r(this,"get"),o(e)){var t=e[this._id];return t&&t[0]===e?t[1]:void 0}})),n(e.prototype,"has",(function(e){if(r(this,"has"),!o(e))return!1;var t=e[this._id];return!(!t||t[0]!==e)})),n(e.prototype,"set",(function(e,t){if(r(this,"set"),!o(e))throw new TypeError("Invalid value used as weak map key");var a=e[this._id];return a&&a[0]===e?(a[1]=t,this):(n(e,this._id,[e,t]),this)})),n(e,"_polyfill",!0),e}()}function o(e){return Object(e)===e}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:T);var R,O,F=(R=function(e){var t,r,n;n=function(){var e,t,r,n=Object.prototype.toString,o="undefined"!=typeof setImmediate?function(e){return setImmediate(e)}:setTimeout;try{Object.defineProperty({},"x",{}),e=function(e,t,r,n){return Object.defineProperty(e,t,{value:r,writable:!0,configurable:!1!==n})}}catch(t){e=function(e,t,r){return e[t]=r,e}}function a(e,n){r.add(e,n),t||(t=o(r.drain))}function i(e){var t,r=typeof e;return null==e||"object"!=r&&"function"!=r||(t=e.then),"function"==typeof t&&t}function s(){for(var e=0;e<this.chain.length;e++)u(this,1===this.state?this.chain[e].success:this.chain[e].failure,this.chain[e]);this.chain.length=0}function u(e,t,r){var n,o;try{!1===t?r.reject(e.msg):(n=!0===t?e.msg:t.call(void 0,e.msg))===r.promise?r.reject(TypeError("Promise-chain cycle")):(o=i(n))?o.call(n,r.resolve,r.reject):r.resolve(n)}catch(e){r.reject(e)}}function l(e){var t,r=this;if(!r.triggered){r.triggered=!0,r.def&&(r=r.def);try{(t=i(e))?a((function(){var n=new d(r);try{t.call(e,(function(){l.apply(n,arguments)}),(function(){c.apply(n,arguments)}))}catch(e){c.call(n,e)}})):(r.msg=e,r.state=1,r.chain.length>0&&a(s,r))}catch(e){c.call(new d(r),e)}}}function c(e){var t=this;t.triggered||(t.triggered=!0,t.def&&(t=t.def),t.msg=e,t.state=2,t.chain.length>0&&a(s,t))}function f(e,t,r,n){for(var o=0;o<t.length;o++)!function(o){e.resolve(t[o]).then((function(e){r(o,e)}),n)}(o)}function d(e){this.def=e,this.triggered=!1}function p(e){this.promise=e,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function h(e){if("function"!=typeof e)throw TypeError("Not a function");if(0!==this.__NPO__)throw TypeError("Not a promise");this.__NPO__=1;var t=new p(this);this.then=function(e,r){var n={success:"function"!=typeof e||e,failure:"function"==typeof r&&r};return n.promise=new this.constructor((function(e,t){if("function"!=typeof e||"function"!=typeof t)throw TypeError("Not a function");n.resolve=e,n.reject=t})),t.chain.push(n),0!==t.state&&a(s,t),n.promise},this.catch=function(e){return this.then(void 0,e)};try{e.call(void 0,(function(e){l.call(t,e)}),(function(e){c.call(t,e)}))}catch(e){c.call(t,e)}}r=function(){var e,r,n;function o(e,t){this.fn=e,this.self=t,this.next=void 0}return{add:function(t,a){n=new o(t,a),r?r.next=n:e=n,r=n,n=void 0},drain:function(){var n=e;for(e=r=t=void 0;n;)n.fn.call(n.self),n=n.next}}}();var v=e({},"constructor",h,!1);return h.prototype=v,e(v,"__NPO__",0,!1),e(h,"resolve",(function(e){return e&&"object"==typeof e&&1===e.__NPO__?e:new this((function(t,r){if("function"!=typeof t||"function"!=typeof r)throw TypeError("Not a function");t(e)}))})),e(h,"reject",(function(e){return new this((function(t,r){if("function"!=typeof t||"function"!=typeof r)throw TypeError("Not a function");r(e)}))})),e(h,"all",(function(e){var t=this;return"[object Array]"!=n.call(e)?t.reject(TypeError("Not an array")):0===e.length?t.resolve([]):new t((function(r,n){if("function"!=typeof r||"function"!=typeof n)throw TypeError("Not a function");var o=e.length,a=Array(o),i=0;f(t,e,(function(e,t){a[e]=t,++i===o&&r(a)}),n)}))})),e(h,"race",(function(e){var t=this;return"[object Array]"!=n.call(e)?t.reject(TypeError("Not an array")):new t((function(r,n){if("function"!=typeof r||"function"!=typeof n)throw TypeError("Not a function");f(t,e,(function(e,t){r(t)}),n)}))})),h},(r=T)[t="Promise"]=r[t]||n(),e.exports&&(e.exports=r[t])},R(O={exports:{}}),O.exports),L=new WeakMap;function D(e,t,r){var n=L.get(e.element)||{};t in n||(n[t]=[]),n[t].push(r),L.set(e.element,n)}function M(e,t){return(L.get(e.element)||{})[t]||[]}function I(e,t,r){var n=L.get(e.element)||{};if(!n[t])return!0;if(!r)return n[t]=[],L.set(e.element,n),!0;var o=n[t].indexOf(r);return-1!==o&&n[t].splice(o,1),L.set(e.element,n),n[t]&&0===n[t].length}function j(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){return console.warn(e),{}}return e}function N(e,t,r){if(e.element.contentWindow&&e.element.contentWindow.postMessage){var n={method:t};void 0!==r&&(n.value=r);var o=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));o>=8&&o<10&&(n=JSON.stringify(n)),e.element.contentWindow.postMessage(n,e.origin)}}var q=["airplay","audio_tracks","audiotrack","autopause","autoplay","background","byline","cc","chapter_id","chapters","chromecast","color","colors","controls","dnt","end_time","fullscreen","height","id","interactive_params","keyboard","loop","maxheight","maxwidth","muted","play_button_position","playsinline","portrait","progress_bar","quality_selector","responsive","speed","start_time","texttrack","title","transcript","transparent","unmute_button","url","vimeo_logo","volume","watch_full_video","width"];function B(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return q.reduce((function(t,r){var n=e.getAttribute("data-vimeo-".concat(r));return(n||""===n)&&(t[r]=""===n?1:n),t}),t)}function U(e,t){var r=e.html;if(!t)throw new TypeError("An element must be provided");if(null!==t.getAttribute("data-vimeo-initialized"))return t.querySelector("iframe");var n=document.createElement("div");return n.innerHTML=r,t.appendChild(n.firstChild),t.setAttribute("data-vimeo-initialized","true"),t.querySelector("iframe")}function z(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;return new Promise((function(n,o){if(!S(e))throw new TypeError("“".concat(e,"” is not a vimeo.com url."));var a=function(e){for(var t=(e||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),r=(t&&t[1]||"").replace("player.",""),n=0,o=[".videoji.hk",".vimeo.work",".videoji.cn"];n<o.length;n++){var a=o[n];if(r.endsWith(a))return r}return"vimeo.com"}(e),i="https://".concat(a,"/api/oembed.json?url=").concat(encodeURIComponent(e));for(var s in t)t.hasOwnProperty(s)&&(i+="&".concat(s,"=").concat(encodeURIComponent(t[s])));var u="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;u.open("GET",i,!0),u.onload=function(){if(404!==u.status)if(403!==u.status)try{var t=JSON.parse(u.responseText);if(403===t.domain_status_code)return U(t,r),void o(new Error("“".concat(e,"” is not embeddable.")));n(t)}catch(e){o(e)}else o(new Error("“".concat(e,"” is not embeddable.")));else o(new Error("“".concat(e,"” was not found.")))},u.onerror=function(){var e=u.status?" (".concat(u.status,")"):"";o(new Error("There was an error fetching the embed code from Vimeo".concat(e,".")))},u.send()}))}var V={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1},W=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&v(e,t)}(f,e);var t,r,n,o,a,u=(o=f,a=m(),function(){var e,t=h(o);if(a){var r=h(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return b(e)}(this,e)});function f(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;return c(this,f),p(b(r=u.call(this)),"logger",void 0),p(b(r),"speedAdjustment",0),p(b(r),"adjustSpeed",function(){var e=l(s().mark((function e(t,n){var o;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r.speedAdjustment!==n){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,t.getPlaybackRate();case 4:return e.t0=e.sent,e.t1=r.speedAdjustment,e.t2=e.t0-e.t1,e.t3=n,o=e.t2+e.t3,r.log("New playbackRate:  ".concat(o)),e.next=12,t.setPlaybackRate(o);case 12:r.speedAdjustment=n;case 13:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}()),r.logger=o,r.init(t,e,i(i({},V),n)),r}return d(f,[{key:"disconnect",value:function(){this.dispatchEvent(new Event("disconnect"))}},{key:"init",value:(n=l(s().mark((function e(t,r,n){var o,a,i,u=this;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.waitForTOReadyState(t,"open");case 2:if("viewer"!==n.role){e.next=10;break}return e.next=5,this.updatePlayer(t,r,n);case 5:o=C(t,"change",(function(){return u.updatePlayer(t,r,n)})),a=this.maintainPlaybackPosition(t,r,n),this.addEventListener("disconnect",(function(){a.cancel(),o.cancel()})),e.next=14;break;case 10:return e.next=12,this.updateTimingObject(t,r);case 12:i=C(r,["seeked","play","pause","ratechange"],(function(){return u.updateTimingObject(t,r)}),"on","off"),this.addEventListener("disconnect",(function(){return i.cancel()}));case 14:case"end":return e.stop()}}),e,this)}))),function(e,t,r){return n.apply(this,arguments)})},{key:"updateTimingObject",value:(r=l(s().mark((function e(t,r){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=t,e.next=3,r.getCurrentTime();case 3:return e.t1=e.sent,e.next=6,r.getPaused();case 6:if(!e.sent){e.next=10;break}e.t2=0,e.next=13;break;case 10:return e.next=12,r.getPlaybackRate();case 12:e.t2=e.sent;case 13:e.t3=e.t2,e.t4={position:e.t1,velocity:e.t3},e.t0.update.call(e.t0,e.t4);case 16:case"end":return e.stop()}}),e)}))),function(e,t){return r.apply(this,arguments)})},{key:"updatePlayer",value:(t=l(s().mark((function e(t,r,n){var o,a,i;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=t.query(),a=o.position,i=o.velocity,"number"==typeof a&&r.setCurrentTime(a),"number"!=typeof i){e.next=25;break}if(0!==i){e.next=11;break}return e.next=6,r.getPaused();case 6:if(e.t0=e.sent,!1!==e.t0){e.next=9;break}r.pause();case 9:e.next=25;break;case 11:if(!(i>0)){e.next=25;break}return e.next=14,r.getPaused();case 14:if(e.t1=e.sent,!0!==e.t1){e.next=19;break}return e.next=18,r.play().catch(function(){var e=l(s().mark((function e(t){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("NotAllowedError"!==t.name||!n.autoPlayMuted){e.next=5;break}return e.next=3,r.setMuted(!0);case 3:return e.next=5,r.play().catch((function(e){return console.error("Couldn't play the video from TimingSrcConnector. Error:",e)}));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 18:this.updatePlayer(t,r,n);case 19:return e.next=21,r.getPlaybackRate();case 21:if(e.t2=e.sent,e.t3=i,e.t2===e.t3){e.next=25;break}r.setPlaybackRate(i);case 25:case"end":return e.stop()}}),e,this)}))),function(e,r,n){return t.apply(this,arguments)})},{key:"maintainPlaybackPosition",value:function(e,t,r){var n=this,o=r.allowedDrift,a=r.maxAllowedDrift,i=r.minCheckInterval,u=r.maxRateAdjustment,c=r.maxTimeToCatchUp,f=1e3*Math.min(c,Math.max(i,a)),d=function(){var r=l(s().mark((function r(){var i,l,f,d,p;return s().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(r.t0=0===e.query().velocity,r.t0){r.next=6;break}return r.next=4,t.getPaused();case 4:r.t1=r.sent,r.t0=!0===r.t1;case 6:if(!r.t0){r.next=8;break}return r.abrupt("return");case 8:return r.t2=e.query().position,r.next=11,t.getCurrentTime();case 11:if(r.t3=r.sent,i=r.t2-r.t3,l=Math.abs(i),n.log("Drift: ".concat(i)),!(l>a)){r.next=22;break}return r.next=18,n.adjustSpeed(t,0);case 18:t.setCurrentTime(e.query().position),n.log("Resync by currentTime"),r.next=29;break;case 22:if(!(l>o)){r.next=29;break}return p=(f=l/c)<(d=u)?(d-f)/2:d,r.next=28,n.adjustSpeed(t,p*Math.sign(i));case 28:n.log("Resync by playbackRate");case 29:case"end":return r.stop()}}),r)})));return function(){return r.apply(this,arguments)}}(),p=setInterval((function(){return d()}),f);return{cancel:function(){return clearInterval(p)}}}},{key:"log",value:function(e){var t;null===(t=this.logger)||void 0===t||t.call(this,"TimingSrcConnector: ".concat(e))}},{key:"waitForTOReadyState",value:function(e,t){return new Promise((function(r){!function n(){e.readyState===t?r():e.addEventListener("readystatechange",n,{once:!0})}()}))}}]),f}(y(EventTarget)),H=new WeakMap,G=new WeakMap,X={},Y=function(){function e(t){var r=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(c(this,e),window.jQuery&&t instanceof jQuery&&(t.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),t=t[0]),"undefined"!=typeof document&&"string"==typeof t&&(t=document.getElementById(t)),!function(e){return Boolean(e&&1===e.nodeType&&"nodeName"in e&&e.ownerDocument&&e.ownerDocument.defaultView)}(t))throw new TypeError("You must pass either a valid element or a valid id.");if("IFRAME"!==t.nodeName){var o=t.querySelector("iframe");o&&(t=o)}if("IFRAME"===t.nodeName&&!S(t.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(H.has(t))return H.get(t);this._window=t.ownerDocument.defaultView,this.element=t,this.origin="*";var a=new F((function(e,o){if(r._onMessage=function(t){if(S(t.origin)&&r.element.contentWindow===t.source){"*"===r.origin&&(r.origin=t.origin);var n=j(t.data);if(n&&"error"===n.event&&n.data&&"ready"===n.data.method){var a=new Error(n.data.message);return a.name=n.data.name,void o(a)}var i=n&&"ready"===n.event,s=n&&"ping"===n.method;if(i||s)return r.element.setAttribute("data-ready","true"),void e();!function(e,t){var r,n=[];if((t=j(t)).event)"error"===t.event&&M(e,t.data.method).forEach((function(r){var n=new Error(t.data.message);n.name=t.data.name,r.reject(n),I(e,t.data.method,r)})),n=M(e,"event:".concat(t.event)),r=t.data;else if(t.method){var o=function(e,t){var r=M(e,t);if(r.length<1)return!1;var n=r.shift();return I(e,t,n),n}(e,t.method);o&&(n.push(o),r=t.value)}n.forEach((function(t){try{if("function"==typeof t)return void t.call(e,r);t.resolve(r)}catch(e){}}))}(r,n)}},r._window.addEventListener("message",r._onMessage),"IFRAME"!==r.element.nodeName){var a=B(t,n);z(x(a),a,t).then((function(e){var n,o,a,i=U(e,t);return r.element=i,r._originalElement=t,n=t,o=i,a=L.get(n),L.set(o,a),L.delete(n),H.set(r.element,r),e})).catch(o)}}));if(G.set(this,a),H.set(this.element,this),"IFRAME"===this.element.nodeName&&N(this,"ping"),X.isEnabled){var i=function(){return X.exit()};this.fullscreenchangeHandler=function(){X.isFullscreen?D(r,"event:exitFullscreen",i):I(r,"event:exitFullscreen",i),r.ready().then((function(){N(r,"fullscreenchange",X.isFullscreen)}))},X.on("fullscreenchange",this.fullscreenchangeHandler)}return this}var t;return d(e,[{key:"callMethod",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new F((function(n,o){return t.ready().then((function(){D(t,e,{resolve:n,reject:o}),N(t,e,r)})).catch(o)}))}},{key:"get",value:function(e){var t=this;return new F((function(r,n){return e=A(e,"get"),t.ready().then((function(){D(t,e,{resolve:r,reject:n}),N(t,e)})).catch(n)}))}},{key:"set",value:function(e,t){var r=this;return new F((function(n,o){if(e=A(e,"set"),null==t)throw new TypeError("There must be a value to set.");return r.ready().then((function(){D(r,e,{resolve:n,reject:o}),N(r,e,t)})).catch(o)}))}},{key:"on",value:function(e,t){if(!e)throw new TypeError("You must pass an event name.");if(!t)throw new TypeError("You must pass a callback function.");if("function"!=typeof t)throw new TypeError("The callback must be a function.");0===M(this,"event:".concat(e)).length&&this.callMethod("addEventListener",e).catch((function(){})),D(this,"event:".concat(e),t)}},{key:"off",value:function(e,t){if(!e)throw new TypeError("You must pass an event name.");if(t&&"function"!=typeof t)throw new TypeError("The callback must be a function.");I(this,"event:".concat(e),t)&&this.callMethod("removeEventListener",e).catch((function(e){}))}},{key:"loadVideo",value:function(e){return this.callMethod("loadVideo",e)}},{key:"ready",value:function(){var e=G.get(this)||new F((function(e,t){t(new Error("Unknown player. Probably unloaded."))}));return F.resolve(e)}},{key:"addCuePoint",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.callMethod("addCuePoint",{time:e,data:t})}},{key:"removeCuePoint",value:function(e){return this.callMethod("removeCuePoint",e)}},{key:"enableTextTrack",value:function(e,t){if(!e)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:e,kind:t})}},{key:"disableTextTrack",value:function(){return this.callMethod("disableTextTrack")}},{key:"pause",value:function(){return this.callMethod("pause")}},{key:"play",value:function(){return this.callMethod("play")}},{key:"requestFullscreen",value:function(){return X.isEnabled?X.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return X.isEnabled?X.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return X.isEnabled?F.resolve(X.isFullscreen):this.get("fullscreen")}},{key:"requestPictureInPicture",value:function(){return this.callMethod("requestPictureInPicture")}},{key:"exitPictureInPicture",value:function(){return this.callMethod("exitPictureInPicture")}},{key:"getPictureInPicture",value:function(){return this.get("pictureInPicture")}},{key:"remotePlaybackPrompt",value:function(){return this.callMethod("remotePlaybackPrompt")}},{key:"unload",value:function(){return this.callMethod("unload")}},{key:"destroy",value:function(){var e=this;return new F((function(t){if(G.delete(e),H.delete(e.element),e._originalElement&&(H.delete(e._originalElement),e._originalElement.removeAttribute("data-vimeo-initialized")),e.element&&"IFRAME"===e.element.nodeName&&e.element.parentNode&&(e.element.parentNode.parentNode&&e._originalElement&&e._originalElement!==e.element.parentNode?e.element.parentNode.parentNode.removeChild(e.element.parentNode):e.element.parentNode.removeChild(e.element)),e.element&&"DIV"===e.element.nodeName&&e.element.parentNode){e.element.removeAttribute("data-vimeo-initialized");var r=e.element.querySelector("iframe");r&&r.parentNode&&(r.parentNode.parentNode&&e._originalElement&&e._originalElement!==r.parentNode?r.parentNode.parentNode.removeChild(r.parentNode):r.parentNode.removeChild(r))}e._window.removeEventListener("message",e._onMessage),X.isEnabled&&X.off("fullscreenchange",e.fullscreenchangeHandler),t()}))}},{key:"getAutopause",value:function(){return this.get("autopause")}},{key:"setAutopause",value:function(e){return this.set("autopause",e)}},{key:"getBuffered",value:function(){return this.get("buffered")}},{key:"getCameraProps",value:function(){return this.get("cameraProps")}},{key:"setCameraProps",value:function(e){return this.set("cameraProps",e)}},{key:"getChapters",value:function(){return this.get("chapters")}},{key:"getCurrentChapter",value:function(){return this.get("currentChapter")}},{key:"getColor",value:function(){return this.get("color")}},{key:"getColors",value:function(){return F.all([this.get("colorOne"),this.get("colorTwo"),this.get("colorThree"),this.get("colorFour")])}},{key:"setColor",value:function(e){return this.set("color",e)}},{key:"setColors",value:function(e){if(!Array.isArray(e))return new F((function(e,t){return t(new TypeError("Argument must be an array."))}));var t=new F((function(e){return e(null)})),r=[e[0]?this.set("colorOne",e[0]):t,e[1]?this.set("colorTwo",e[1]):t,e[2]?this.set("colorThree",e[2]):t,e[3]?this.set("colorFour",e[3]):t];return F.all(r)}},{key:"getCuePoints",value:function(){return this.get("cuePoints")}},{key:"getCurrentTime",value:function(){return this.get("currentTime")}},{key:"setCurrentTime",value:function(e){return this.set("currentTime",e)}},{key:"getDuration",value:function(){return this.get("duration")}},{key:"getEnded",value:function(){return this.get("ended")}},{key:"getLoop",value:function(){return this.get("loop")}},{key:"setLoop",value:function(e){return this.set("loop",e)}},{key:"setMuted",value:function(e){return this.set("muted",e)}},{key:"getMuted",value:function(){return this.get("muted")}},{key:"getPaused",value:function(){return this.get("paused")}},{key:"getPlaybackRate",value:function(){return this.get("playbackRate")}},{key:"setPlaybackRate",value:function(e){return this.set("playbackRate",e)}},{key:"getPlayed",value:function(){return this.get("played")}},{key:"getQualities",value:function(){return this.get("qualities")}},{key:"getQuality",value:function(){return this.get("quality")}},{key:"setQuality",value:function(e){return this.set("quality",e)}},{key:"getRemotePlaybackAvailability",value:function(){return this.get("remotePlaybackAvailability")}},{key:"getRemotePlaybackState",value:function(){return this.get("remotePlaybackState")}},{key:"getSeekable",value:function(){return this.get("seekable")}},{key:"getSeeking",value:function(){return this.get("seeking")}},{key:"getTextTracks",value:function(){return this.get("textTracks")}},{key:"getVideoEmbedCode",value:function(){return this.get("videoEmbedCode")}},{key:"getVideoId",value:function(){return this.get("videoId")}},{key:"getVideoTitle",value:function(){return this.get("videoTitle")}},{key:"getVideoWidth",value:function(){return this.get("videoWidth")}},{key:"getVideoHeight",value:function(){return this.get("videoHeight")}},{key:"getVideoUrl",value:function(){return this.get("videoUrl")}},{key:"getVolume",value:function(){return this.get("volume")}},{key:"setVolume",value:function(e){return this.set("volume",e)}},{key:"setTimingSrc",value:(t=l(s().mark((function e(t,r){var n,o=this;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}throw new TypeError("A Timing Object must be provided.");case 2:return e.next=4,this.ready();case 4:return n=new W(this,t,r),N(this,"notifyTimingObjectConnect"),n.addEventListener("disconnect",(function(){return N(o,"notifyTimingObjectDisconnect")})),e.abrupt("return",n);case 8:case"end":return e.stop()}}),e,this)}))),function(e,r){return t.apply(this,arguments)})}]),e}();_||(X=function(){var e=function(){for(var e,t=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],r=0,n=t.length,o={};r<n;r++)if((e=t[r])&&e[1]in document){for(r=0;r<e.length;r++)o[t[0][r]]=e[r];return o}return!1}(),t={fullscreenchange:e.fullscreenchange,fullscreenerror:e.fullscreenerror},r={request:function(t){return new Promise((function(n,o){var a=function e(){r.off("fullscreenchange",e),n()};r.on("fullscreenchange",a);var i=(t=t||document.documentElement)[e.requestFullscreen]();i instanceof Promise&&i.then(a).catch(o)}))},exit:function(){return new Promise((function(t,n){if(r.isFullscreen){var o=function e(){r.off("fullscreenchange",e),t()};r.on("fullscreenchange",o);var a=document[e.exitFullscreen]();a instanceof Promise&&a.then(o).catch(n)}else t()}))},on:function(e,r){var n=t[e];n&&document.addEventListener(n,r)},off:function(e,r){var n=t[e];n&&document.removeEventListener(n,r)}};return Object.defineProperties(r,{isFullscreen:{get:function(){return Boolean(document[e.fullscreenElement])}},element:{enumerable:!0,get:function(){return document[e.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return Boolean(document[e.fullscreenEnabled])}}}),r}(),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=[].slice.call(e.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),r=function(e){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(e))};t.forEach((function(e){try{if(null!==e.getAttribute("data-vimeo-defer"))return;var t=B(e);z(x(t),t,e).then((function(t){return U(t,e)})).catch(r)}catch(e){r(e)}}))}(),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;window.VimeoPlayerResizeEmbeds_||(window.VimeoPlayerResizeEmbeds_=!0,window.addEventListener("message",(function(t){if(S(t.origin)&&t.data&&"spacechange"===t.data.event)for(var r=e.querySelectorAll("iframe"),n=0;n<r.length;n++)if(r[n].contentWindow===t.source){r[n].parentElement.style.paddingBottom="".concat(t.data.data[0].bottom,"px");break}})))}(),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;window.VimeoSeoMetadataAppended||(window.VimeoSeoMetadataAppended=!0,window.addEventListener("message",(function(t){if(S(t.origin)){var r=j(t.data);if(r&&"ready"===r.event)for(var n=e.querySelectorAll("iframe"),o=0;o<n.length;o++){var a=n[o],i=a.contentWindow===t.source;k(a.src)&&i&&new Y(a).callMethod("appendVideoMetadata",window.location.href)}}})))}(),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;if(!window.VimeoCheckedUrlTimeParam){window.VimeoCheckedUrlTimeParam=!0;var t=function(e){"console"in window&&console.error&&console.error("There was an error getting video Id: ".concat(e))};window.addEventListener("message",(function(r){if(S(r.origin)){var n=j(r.data);if(n&&"ready"===n.event)for(var o=e.querySelectorAll("iframe"),a=function(){var e=o[i],n=e.contentWindow===r.source;if(k(e.src)&&n){var a=new Y(e);a.getVideoId().then((function(e){var t=new RegExp("[?&]vimeo_t_".concat(e,"=([^&#]*)")).exec(window.location.href);if(t&&t[1]){var r=decodeURI(t[1]);a.setCurrentTime(r)}})).catch(t)}},i=0;i<o.length;i++)a()}}))}}());var K=Y;function $(e,t){return $=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},$(e,t)}var J={play:"onPlay",playing:"onPlaying",pause:"onPause",ended:"onEnd",timeupdate:"onTimeUpdate",progress:"onProgress",seeked:"onSeeked",texttrackchange:"onTextTrackChange",cuechange:"onCueChange",cuepoint:"onCuePoint",volumechange:"onVolumeChange",playbackratechange:"onPlaybackRateChange",error:"onError",loaded:"onLoaded"},Q=function(e){function t(t){var r;return(r=e.call(this,t)||this).refContainer=r.refContainer.bind(r),r}var r,n;n=e,(r=t).prototype=Object.create(n.prototype),r.prototype.constructor=r,$(r,n);var a=t.prototype;return a.componentDidMount=function(){this.createPlayer()},a.componentDidUpdate=function(e){var t=this,r=Object.keys(this.props).filter((function(r){return t.props[r]!==e[r]}));this.updateProps(r)},a.componentWillUnmount=function(){this.player.destroy()},a.getInitialOptions=function(){var e,t=this.props.video;return(e={})[/^https?:/i.test(t)?"url":"id"]=t,e.width=this.props.width,e.height=this.props.height,e.autopause=this.props.autopause,e.autoplay=this.props.autoplay,e.byline=this.props.showByline,e.color=this.props.color,e.controls=this.props.controls,e.loop=this.props.loop,e.portrait=this.props.showPortrait,e.title=this.props.showTitle,e.muted=this.props.muted,e.background=this.props.background,e.responsive=this.props.responsive,e.dnt=this.props.dnt,e.speed=this.props.speed,e.keyboard=this.props.keyboard,e.pip=this.props.pip,e.playsinline=this.props.playsInline,e.quality=this.props.quality,e.texttrack=this.props.textTrack,e.transparent=this.props.transparent,e},a.updateProps=function(e){var t=this,r=this.player;e.forEach((function(e){var n=t.props[e];switch(e){case"autopause":r.setAutopause(n);break;case"color":r.setColor(n);break;case"loop":r.setLoop(n);break;case"volume":r.setVolume(n);break;case"paused":r.getPaused().then((function(e){return n&&!e?r.pause():!n&&e?r.play():null}));break;case"width":case"height":r.element[e]=n;break;case"video":if(n){var o=t.props.start,a=r.loadVideo(n);"number"==typeof o&&a.then((function(){r.setCurrentTime(o)}))}else r.unload();break;case"playbackRate":r.setPlaybackRate(n);break;case"quality":r.setQuality(n)}}))},a.createPlayer=function(){var e=this,t=this.props,r=t.start,n=t.volume,o=t.playbackRate;this.player=new K(this.container,this.getInitialOptions()),Object.keys(J).forEach((function(t){var r=J[t];e.player.on(t,(function(t){var n=e.props[r];n&&n(t)}))}));var a=this.props,i=a.onError,s=a.onReady;this.player.ready().then((function(){s&&s(e.player)}),(function(e){if(!i)throw e;i(e)})),"number"==typeof r&&this.player.setCurrentTime(r),"number"==typeof n&&this.updateProps(["volume"]),"number"==typeof o&&this.updateProps(["playbackRate"])},a.refContainer=function(e){this.container=e},a.render=function(){var e=this.props,t=e.id,r=e.className,n=e.style;return o().createElement("div",{id:t,className:r,style:n,ref:this.refContainer})},t}(o().Component);Q.defaultProps={autopause:!0,autoplay:!1,showByline:!0,controls:!0,loop:!1,showPortrait:!0,showTitle:!0,muted:!1,background:!1,responsive:!1,dnt:!1,speed:!1,keyboard:!0,pip:!1,playsInline:!0,transparent:!0}},3126:function(e,t,r){const n=r(2149);e.exports=function(e){if("string"!=typeof e)return;const t=e.toUpperCase();return Object.prototype.hasOwnProperty.call(n,t)?n[t]:void 0},e.exports.currencySymbolMap=n},2149:function(e){e.exports={AED:"د.إ",AFN:"؋",ALL:"L",AMD:"֏",ANG:"ƒ",AOA:"Kz",ARS:"$",AUD:"$",AWG:"ƒ",AZN:"₼",BAM:"KM",BBD:"$",BDT:"৳",BGN:"лв",BHD:".د.ب",BIF:"FBu",BMD:"$",BND:"$",BOB:"$b",BOV:"BOV",BRL:"R$",BSD:"$",BTC:"₿",BTN:"Nu.",BWP:"P",BYN:"Br",BYR:"Br",BZD:"BZ$",CAD:"$",CDF:"FC",CHE:"CHE",CHF:"CHF",CHW:"CHW",CLF:"CLF",CLP:"$",CNH:"¥",CNY:"¥",COP:"$",COU:"COU",CRC:"₡",CUC:"$",CUP:"₱",CVE:"$",CZK:"Kč",DJF:"Fdj",DKK:"kr",DOP:"RD$",DZD:"دج",EEK:"kr",EGP:"£",ERN:"Nfk",ETB:"Br",ETH:"Ξ",EUR:"€",FJD:"$",FKP:"£",GBP:"£",GEL:"₾",GGP:"£",GHC:"₵",GHS:"GH₵",GIP:"£",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"$",HKD:"$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"₪",IMP:"£",INR:"₹",IQD:"ع.د",IRR:"﷼",ISK:"kr",JEP:"£",JMD:"J$",JOD:"JD",JPY:"¥",KES:"KSh",KGS:"лв",KHR:"៛",KMF:"CF",KPW:"₩",KRW:"₩",KWD:"KD",KYD:"$",KZT:"₸",LAK:"₭",LBP:"£",LKR:"₨",LRD:"$",LSL:"M",LTC:"Ł",LTL:"Lt",LVL:"Ls",LYD:"LD",MAD:"MAD",MDL:"lei",MGA:"Ar",MKD:"ден",MMK:"K",MNT:"₮",MOP:"MOP$",MRO:"UM",MRU:"UM",MUR:"₨",MVR:"Rf",MWK:"MK",MXN:"$",MXV:"MXV",MYR:"RM",MZN:"MT",NAD:"$",NGN:"₦",NIO:"C$",NOK:"kr",NPR:"₨",NZD:"$",OMR:"﷼",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"₱",PKR:"₨",PLN:"zł",PYG:"Gs",QAR:"﷼",RMB:"￥",RON:"lei",RSD:"Дин.",RUB:"₽",RWF:"R₣",SAR:"﷼",SBD:"$",SCR:"₨",SDG:"ج.س.",SEK:"kr",SGD:"S$",SHP:"£",SLL:"Le",SOS:"S",SRD:"$",SSP:"£",STD:"Db",STN:"Db",SVC:"$",SYP:"£",SZL:"E",THB:"฿",TJS:"SM",TMT:"T",TND:"د.ت",TOP:"T$",TRL:"₤",TRY:"₺",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"₴",UGX:"USh",USD:"$",UYI:"UYI",UYU:"$U",UYW:"UYW",UZS:"лв",VEF:"Bs",VES:"Bs.S",VND:"₫",VUV:"VT",WST:"WS$",XAF:"FCFA",XBT:"Ƀ",XCD:"$",XOF:"CFA",XPF:"₣",XSU:"Sucre",XUA:"XUA",YER:"﷼",ZAR:"R",ZMW:"ZK",ZWD:"Z$",ZWL:"$"}},3842:function(e,t,r){var n;!function(){"use strict";var o=!("undefined"==typeof window||!window.document||!window.document.createElement),a={canUseDOM:o,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:o&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:o&&!!window.screen};void 0===(n=function(){return a}.call(t,r,t,e))||(e.exports=n)}()},4870:function(e,t,r){"use strict";r.d(t,{N:function(){return h}});var n=r(5608),o=r(1594),a=r(2898),i=r(2882),s=r(6328),u=0;function l(){var e=u;return u++,e}var c=function(e){var t=e.children,r=e.initial,n=e.isPresent,a=e.onExitComplete,u=e.custom,c=e.presenceAffectsLayout,d=(0,s.M)(f),p=(0,s.M)(l),h=(0,o.useMemo)((function(){return{id:p,initial:r,isPresent:n,custom:u,onExitComplete:function(e){d.set(e,!0);var t=!0;d.forEach((function(e){e||(t=!1)})),t&&(null==a||a())},register:function(e){return d.set(e,!1),function(){return d.delete(e)}}}}),c?void 0:[n]);return(0,o.useMemo)((function(){d.forEach((function(e,t){return d.set(t,!1)}))}),[n]),o.useEffect((function(){!n&&!d.size&&(null==a||a())}),[n]),o.createElement(i.t.Provider,{value:h},t)};function f(){return new Map}var d=r(5954);function p(e){return e.key||""}var h=function(e){var t=e.children,r=e.custom,i=e.initial,s=void 0===i||i,u=e.onExitComplete,l=e.exitBeforeEnter,f=e.presenceAffectsLayout,h=void 0===f||f,v=function(){var e=(0,o.useRef)(!1),t=(0,n.zs)((0,o.useState)(0),2),r=t[0],i=t[1];return(0,a.l)((function(){return e.current=!0})),(0,o.useCallback)((function(){!e.current&&i(r+1)}),[r])}(),m=(0,o.useContext)(d.R2);(0,d.mt)(m)&&(v=m.forceUpdate);var g=(0,o.useRef)(!0),y=function(e){var t=[];return o.Children.forEach(e,(function(e){(0,o.isValidElement)(e)&&t.push(e)})),t}(t),b=(0,o.useRef)(y),w=(0,o.useRef)(new Map).current,_=(0,o.useRef)(new Set).current;if(function(e,t){e.forEach((function(e){var r=p(e);t.set(r,e)}))}(y,w),g.current)return g.current=!1,o.createElement(o.Fragment,null,y.map((function(e){return o.createElement(c,{key:p(e),isPresent:!0,initial:!!s&&void 0,presenceAffectsLayout:h},e)})));for(var A=(0,n.fX)([],(0,n.zs)(y)),S=b.current.map(p),k=y.map(p),x=S.length,C=0;C<x;C++){var P=S[C];-1===k.indexOf(P)?_.add(P):_.delete(P)}return l&&_.size&&(A=[]),_.forEach((function(e){if(-1===k.indexOf(e)){var t=w.get(e);if(t){var n=S.indexOf(e);A.splice(n,0,o.createElement(c,{key:p(t),isPresent:!1,onExitComplete:function(){w.delete(e),_.delete(e);var t=b.current.findIndex((function(t){return t.key===e}));b.current.splice(t,1),_.size||(b.current=y,v(),u&&u())},custom:r,presenceAffectsLayout:h},t))}}})),A=A.map((function(e){var t=e.key;return _.has(t)?e:o.createElement(c,{key:p(e),isPresent:!0,presenceAffectsLayout:h},e)})),b.current=A,o.createElement(o.Fragment,null,_.size?A:A.map((function(e){return(0,o.cloneElement)(e)})))}},861:function(e,t,r){"use strict";var n,o;r.d(t,{C:function(){return n},b:function(){return o}}),function(e){e[e.Entering=0]="Entering",e[e.Present=1]="Present",e[e.Exiting=2]="Exiting"}(n||(n={})),function(e){e[e.Hide=0]="Hide",e[e.Show=1]="Show"}(o||(o={}))},2882:function(e,t,r){"use strict";r.d(t,{t:function(){return n}});var n=(0,r(1594).createContext)(null)},5954:function(e,t,r){"use strict";r.d(t,{vR:function(){return h},R2:function(){return p},mt:function(){return v}});var n=r(1594),o=r(5608),a=r(4181),i=r(2405),s=r(4813),u=r(6014),l=r(861),c={layoutReady:function(e){return e.notifyLayoutReady()}};function f(){var e=new Set;return{add:function(t){return e.add(t)},flush:function(t){var r=void 0===t?c:t,n=r.layoutReady,f=r.parent;(0,s.V)((function(t,r){var s=Array.from(e).sort(u.u),c=f?(0,i.kP)(f):[];r((function(){(0,o.fX)((0,o.fX)([],(0,o.zs)(c)),(0,o.zs)(s)).forEach((function(e){return e.resetTransform()}))})),t((function(){s.forEach(i.QS)})),r((function(){c.forEach((function(e){return e.restoreTransform()})),s.forEach(n)})),t((function(){s.forEach((function(e){e.isPresent&&(e.presence=l.C.Present)}))})),r((function(){a.qX.preRender(),a.qX.render()})),t((function(){a.Ay.postRender((function(){return s.forEach(d)})),e.clear()}))})),(0,s.L)()}}}function d(e){e.prevViewportBox=e.projection.target}var p=(0,n.createContext)(f()),h=(0,n.createContext)(f());function v(e){return!!e.forceUpdate}},4118:function(e,t,r){"use strict";r.d(t,{P:function(){return la}});var n=r(5608),o=r(1594),a=r.n(o),i=function(e){return{isEnabled:function(t){return e.some((function(e){return!!t[e]}))}}},s={measureLayout:i(["layout","layoutId","drag","_layoutResetTransform"]),animation:i(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag"]),exit:i(["exit"]),drag:i(["drag","dragControls"]),focus:i(["whileFocus"]),hover:i(["whileHover","onHoverStart","onHoverEnd"]),tap:i(["whileTap","onTap","onTapStart","onTapCancel"]),pan:i(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),layoutAnimation:i(["layout","layoutId"])},u=(0,o.createContext)({strict:!1}),l=Object.keys(s),c=l.length,f=(0,o.createContext)({transformPagePoint:function(e){return e},isStatic:!1}),d=(0,o.createContext)({}),p=r(2882),h=r(6328);function v(){var e=(0,o.useContext)(p.t);if(null===e)return[!0,null];var t=e.isPresent,r=e.onExitComplete,n=e.register,a=y();return(0,o.useEffect)((function(){return n(a)}),[]),!t&&r?[!1,function(){return null==r?void 0:r(a)}]:[!0]}var m=0,g=function(){return m++},y=function(){return(0,h.M)(g)},b=(0,o.createContext)(null),w="undefined"!=typeof window,_=w?o.useLayoutEffect:o.useEffect;function A(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function S(e){return Array.isArray(e)}function k(e){return"string"==typeof e||S(e)}function x(e,t,r,n,o){var a;return void 0===n&&(n={}),void 0===o&&(o={}),"string"==typeof t&&(t=null===(a=e.variants)||void 0===a?void 0:a[t]),"function"==typeof t?t(null!=r?r:e.custom,n,o):t}function C(e,t,r){var n=e.getProps();return x(n,t,null!=r?r:n.custom,function(e){var t={};return e.forEachValue((function(e,r){return t[r]=e.get()})),t}(e),function(e){var t={};return e.forEachValue((function(e,r){return t[r]=e.getVelocity()})),t}(e))}function P(e){var t;return"function"==typeof(null===(t=e.animate)||void 0===t?void 0:t.start)||k(e.initial)||k(e.animate)||k(e.whileHover)||k(e.whileDrag)||k(e.whileTap)||k(e.whileFocus)||k(e.exit)}function E(e){return Boolean(P(e)||e.variants)}function T(e){return Array.isArray(e)?e.join(" "):e}function R(e){var t=e.preloadedFeatures,r=e.createVisualElement,a=e.useRender,i=e.useVisualState,h=e.Component;return t&&function(e){for(var t in e){var r=e[t];null!==r&&(s[t].Component=r)}}(t),(0,o.forwardRef)((function(e,t){var v=(0,o.useContext)(f).isStatic,m=null,g=function(e,t){var r=function(e,t){if(P(e)){var r=e.initial,n=e.animate;return{initial:!1===r||k(r)?r:void 0,animate:k(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,o.useContext)(d)),n=r.initial,a=r.animate;return(0,o.useMemo)((function(){return{initial:n,animate:a}}),t?[T(n),T(a)]:[])}(e,v),y=i(e,v);return!v&&w&&(g.visualElement=function(e,t,r,a){var i=(0,o.useContext)(f),s=(0,o.useContext)(u),l=(0,o.useContext)(d).visualElement,c=(0,o.useContext)(p.t),h=function(e){var t=e.layoutId,r=(0,o.useContext)(b);return r&&void 0!==t?r+"-"+t:t}(r),v=(0,o.useRef)(void 0);a||(a=s.renderer),!v.current&&a&&(v.current=a(e,{visualState:t,parent:l,props:(0,n.Cl)((0,n.Cl)({},r),{layoutId:h}),presenceId:null==c?void 0:c.id,blockInitialAnimation:!1===(null==c?void 0:c.initial)}));var m=v.current;return _((function(){var e;m&&(m.setProps((0,n.Cl)((0,n.Cl)((0,n.Cl)({},i),r),{layoutId:h})),m.isPresent=null===(e=c)||e.isPresent,m.isPresenceRoot=!l||l.presenceId!==(null==c?void 0:c.id),m.syncRender())})),(0,o.useEffect)((function(){var e;m&&(null===(e=m.animationState)||void 0===e||e.animateChanges())})),_((function(){return function(){return null==m?void 0:m.notifyUnmount()}}),[]),m}(h,y,e,r),m=function(e,t){var r=[];if((0,o.useContext)(u),!t)return null;for(var a=0;a<c;a++){var i=l[a],f=s[i],d=f.isEnabled,p=f.Component;d(e)&&p&&r.push(o.createElement(p,(0,n.Cl)({key:i},e,{visualElement:t})))}return r}(e,g.visualElement)),o.createElement(o.Fragment,null,o.createElement(d.Provider,{value:g},a(h,e,function(e,t,r){return(0,o.useCallback)((function(n){var o;n&&(null===(o=e.mount)||void 0===o||o.call(e,n)),t&&(n?t.mount(n):t.unmount()),r&&("function"==typeof r?r(n):A(r)&&(r.current=n))}),[t])}(y,g.visualElement,t),y,v)),m)}))}function O(e){function t(t,r){return void 0===r&&(r={}),R(e(t,r))}var r=new Map;return new Proxy(t,{get:function(e,n){return r.has(n)||r.set(n,t(n)),r.get(n)}})}var F=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function L(e){return"string"==typeof e&&!e.includes("-")&&!!(F.indexOf(e)>-1||/[A-Z]/.test(e))}var D={},M=["","X","Y","Z"],I=["transformPerspective","x","y","z"];function j(e,t){return I.indexOf(e)-I.indexOf(t)}["translate","scale","rotate","skew"].forEach((function(e){return M.forEach((function(t){return I.push(e+t)}))}));var N=new Set(I);function q(e){return N.has(e)}var B=new Set(["originX","originY","originZ"]);function U(e){return B.has(e)}function z(e,t){var r=t.layout,n=t.layoutId;return q(e)||U(e)||(r||void 0!==n)&&(!!D[e]||"opacity"===e)}var V=function(e){return null!==e&&"object"==typeof e&&e.getVelocity},W={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function H(e){return e.startsWith("--")}var G=function(e,t){return t&&"number"==typeof e?t.transform(e):e},X=function(e,t){return function(r){return Math.max(Math.min(r,t),e)}},Y=function(e){return e%1?Number(e.toFixed(5)):e},K=/(-)?([\d]*\.?[\d])+/g,$=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,J=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function Q(e){return"string"==typeof e}var Z=function(e){return{test:function(t){return Q(t)&&t.endsWith(e)&&1===t.split(" ").length},parse:parseFloat,transform:function(t){return""+t+e}}},ee=Z("deg"),te=Z("%"),re=Z("px"),ne=Z("vh"),oe=Z("vw"),ae=(0,n.Cl)((0,n.Cl)({},te),{parse:function(e){return te.parse(e)/100},transform:function(e){return te.transform(100*e)}}),ie={test:function(e){return"number"==typeof e},parse:parseFloat,transform:function(e){return e}},se=(0,n.Cl)((0,n.Cl)({},ie),{transform:X(0,1)}),ue=(0,n.Cl)((0,n.Cl)({},ie),{default:1}),le=(0,n.Cl)((0,n.Cl)({},ie),{transform:Math.round}),ce={borderWidth:re,borderTopWidth:re,borderRightWidth:re,borderBottomWidth:re,borderLeftWidth:re,borderRadius:re,radius:re,borderTopLeftRadius:re,borderTopRightRadius:re,borderBottomRightRadius:re,borderBottomLeftRadius:re,width:re,maxWidth:re,height:re,maxHeight:re,size:re,top:re,right:re,bottom:re,left:re,padding:re,paddingTop:re,paddingRight:re,paddingBottom:re,paddingLeft:re,margin:re,marginTop:re,marginRight:re,marginBottom:re,marginLeft:re,rotate:ee,rotateX:ee,rotateY:ee,rotateZ:ee,scale:ue,scaleX:ue,scaleY:ue,scaleZ:ue,skew:ee,skewX:ee,skewY:ee,distance:re,translateX:re,translateY:re,translateZ:re,x:re,y:re,z:re,perspective:re,transformPerspective:re,opacity:se,originX:ae,originY:ae,originZ:re,zIndex:le,fillOpacity:se,strokeOpacity:se,numOctaves:le};function fe(e,t,r,n,o,a,i,s){var u,l=e.style,c=e.vars,f=e.transform,d=e.transformKeys,p=e.transformOrigin;d.length=0;var h=!1,v=!1,m=!0;for(var g in t){var y=t[g];if(H(g))c[g]=y;else{var b=ce[g],w=G(y,b);if(q(g)){if(h=!0,f[g]=w,d.push(g),!m)continue;y!==(null!==(u=b.default)&&void 0!==u?u:0)&&(m=!1)}else if(U(g))p[g]=w,v=!0;else if((null==r?void 0:r.isHydrated)&&(null==n?void 0:n.isHydrated)&&D[g]){var _=D[g].process(y,n,r),A=D[g].applyTo;if(A)for(var S=A.length,k=0;k<S;k++)l[A[k]]=_;else l[g]=_}else l[g]=w}}n&&r&&i&&s?(l.transform=i(n.deltaFinal,n.treeScale,h?f:void 0),a&&(l.transform=a(f,l.transform)),l.transformOrigin=s(n)):(h&&(l.transform=function(e,t,r,n){var o=e.transform,a=e.transformKeys,i=t.enableHardwareAcceleration,s=void 0===i||i,u=t.allowTransformNone,l=void 0===u||u,c="";a.sort(j);for(var f=!1,d=a.length,p=0;p<d;p++){var h=a[p];c+=(W[h]||h)+"("+o[h]+") ","z"===h&&(f=!0)}return!f&&s?c+="translateZ(0)":c=c.trim(),n?c=n(o,r?"":c):l&&r&&(c="none"),c}(e,o,m,a)),v&&(l.transformOrigin=function(e){var t=e.originX,r=void 0===t?"50%":t,n=e.originY,o=void 0===n?"50%":n,a=e.originZ;return r+" "+o+" "+(void 0===a?0:a)}(p)))}function de(e,t,r){for(var n in t)V(t[n])||z(n,r)||(e[n]=t[n])}function pe(e,t,r){var a={},i=function(e,t,r){var a={};return de(a,e.style||{},e),Object.assign(a,function(e,t,r){var a=e.transformTemplate;return(0,o.useMemo)((function(){var e={style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}};fe(e,t,void 0,void 0,{enableHardwareAcceleration:!r},a);var o=e.vars,i=e.style;return(0,n.Cl)((0,n.Cl)({},o),i)}),[t])}(e,t,r)),e.transformValues&&(a=e.transformValues(a)),a}(e,t,r);return Boolean(e.drag)&&(a.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),a.style=i,a}var he=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","_layoutResetTransform","onLayoutAnimationComplete","onViewportBoxUpdate","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover"]);function ve(e){return he.has(e)}var me=function(e){return!ve(e)};try{var ge=r(1089).A;me=function(e){return e.startsWith("on")?!ve(e):ge(e)}}catch(e){}function ye(e,t,r){return"string"==typeof e?e:re.transform(t+r*e)}var be=function(e,t){return re.transform(e*t)},we={offset:"stroke-dashoffset",array:"stroke-dasharray"},_e={offset:"strokeDashoffset",array:"strokeDasharray"};function Ae(e,t,r,o,a,i,s,u){var l=t.attrX,c=t.attrY,f=t.originX,d=t.originY,p=t.pathLength,h=t.pathSpacing,v=void 0===h?1:h,m=t.pathOffset,g=void 0===m?0:m;fe(e,(0,n.Tt)(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),r,o,a,i,s,u),e.attrs=e.style,e.style={};var y=e.attrs,b=e.style,w=e.dimensions,_=e.totalPathLength;y.transform&&(w&&(b.transform=y.transform),delete y.transform),w&&(void 0!==f||void 0!==d||b.transform)&&(b.transformOrigin=function(e,t,r){return ye(t,e.x,e.width)+" "+ye(r,e.y,e.height)}(w,void 0!==f?f:.5,void 0!==d?d:.5)),void 0!==l&&(y.x=l),void 0!==c&&(y.y=c),void 0!==_&&void 0!==p&&function(e,t,r,n,o,a){void 0===n&&(n=1),void 0===o&&(o=0),void 0===a&&(a=!0);var i=a?we:_e;e[i.offset]=be(-o,t);var s=be(r,t),u=be(n,t);e[i.array]=s+" "+u}(y,_,p,v,g,!1)}var Se=function(){return(0,n.Cl)((0,n.Cl)({},{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}),{attrs:{}})};function ke(e,t){var r=(0,o.useMemo)((function(){var r=Se();return Ae(r,t,void 0,void 0,{enableHardwareAcceleration:!1},e.transformTemplate),(0,n.Cl)((0,n.Cl)({},r.attrs),{style:(0,n.Cl)({},r.style)})}),[t]);if(e.style){var a={};de(a,e.style,e),r.style=(0,n.Cl)((0,n.Cl)({},a),r.style)}return r}function xe(e){return void 0===e&&(e=!1),function(t,r,a,i,s){var u=i.latestValues,l=(L(t)?ke:pe)(r,u,s),c=function(e,t,r){var n={};for(var o in e)(me(o)||!0===r&&ve(o)||!t&&!ve(o))&&(n[o]=e[o]);return n}(r,"string"==typeof t,e),f=(0,n.Cl)((0,n.Cl)((0,n.Cl)({},c),l),{ref:a});return(0,o.createElement)(t,f)}}var Ce=/([a-z])([A-Z])/g,Pe=function(e){return e.replace(Ce,"$1-$2").toLowerCase()};function Ee(e,t){var r=t.style,n=t.vars;for(var o in Object.assign(e.style,r),n)e.style.setProperty(o,n[o])}var Te=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform"]);function Re(e,t){for(var r in Ee(e,t),t.attrs)e.setAttribute(Te.has(r)?r:Pe(r),t.attrs[r])}function Oe(e){var t=e.style,r={};for(var n in t)(V(t[n])||z(n,e))&&(r[n]=t[n]);return r}function Fe(e){var t=Oe(e);for(var r in e)V(e[r])&&(t["x"===r||"y"===r?"attr"+r.toUpperCase():r]=e[r]);return t}function Le(e){return"object"==typeof e&&"function"==typeof e.start}var De=function(e){return Array.isArray(e)};function Me(e,t,r,n){var o=e.scrapeMotionValuesFromProps,a=e.createRenderState,i=e.onMount,s={latestValues:je(t,r,n,o),renderState:a()};return i&&(s.mount=function(e){return i(t,e,s)}),s}var Ie=function(e){return function(t,r){var n=(0,o.useContext)(d),a=(0,o.useContext)(p.t);return r?Me(e,t,n,a):(0,h.M)((function(){return Me(e,t,n,a)}))}};function je(e,t,r,o){var a,i,s,u={},l=!1===(null==r?void 0:r.initial),c=o(e);for(var f in c)u[f]=(a=c[f],i=void 0,s=void 0,s=V(a)?a.get():a,i=s,Boolean(i&&"object"==typeof i&&i.mix&&i.toValue)?s.toValue():s);var d=e.initial,p=e.animate,h=P(e),v=E(e);t&&v&&!h&&!1!==e.inherit&&(null!=d||(d=t.initial),null!=p||(p=t.animate));var m=l||!1===d?p:d;return m&&"boolean"!=typeof m&&!Le(m)&&(Array.isArray(m)?m:[m]).forEach((function(t){var r=x(e,t);if(r){var o=r.transitionEnd;r.transition;var a=(0,n.Tt)(r,["transitionEnd","transition"]);for(var i in a)u[i]=a[i];for(var i in o)u[i]=o[i]}})),u}var Ne,qe={useVisualState:Ie({scrapeMotionValuesFromProps:Fe,createRenderState:Se,onMount:function(e,t,r){var n=r.renderState,o=r.latestValues;try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}"path"===t.tagName&&(n.totalPathLength=t.getTotalLength()),Ae(n,o,void 0,void 0,{enableHardwareAcceleration:!1},e.transformTemplate),Re(t,n)}})},Be={useVisualState:Ie({scrapeMotionValuesFromProps:Oe,createRenderState:function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}}})};function Ue(e,t,r,n){return e.addEventListener(t,r,n),function(){return e.removeEventListener(t,r,n)}}function ze(e,t,r,n){(0,o.useEffect)((function(){var o=e.current;if(r&&o)return Ue(o,t,r,n)}),[e,t,r,n])}function Ve(e){return"undefined"!=typeof PointerEvent&&e instanceof PointerEvent?!("mouse"!==e.pointerType):e instanceof MouseEvent}function We(e){return!!e.touches}!function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.Exit="exit"}(Ne||(Ne={}));var He={pageX:0,pageY:0};function Ge(e,t){void 0===t&&(t="page");var r=e.touches[0]||e.changedTouches[0]||He;return{x:r[t+"X"],y:r[t+"Y"]}}function Xe(e,t){return void 0===t&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function Ye(e,t){return void 0===t&&(t="page"),{point:We(e)?Ge(e,t):Xe(e,t)}}var Ke=function(e,t){void 0===t&&(t=!1);var r,n=function(t){return e(t,Ye(t))};return t?(r=n,function(e){var t=e instanceof MouseEvent;(!t||t&&0===e.button)&&r(e)}):n},$e={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},Je={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function Qe(e){return w&&null===window.onpointerdown?e:w&&null===window.ontouchstart?Je[e]:w&&null===window.onmousedown?$e[e]:e}function Ze(e,t,r,n){return Ue(e,Qe(t),Ke(r,"pointerdown"===t),n)}function et(e,t,r,n){return ze(e,Qe(t),r&&Ke(r,"pointerdown"===t),n)}function tt(e){var t=null;return function(){return null===t&&(t=e,function(){t=null})}}var rt=tt("dragHorizontal"),nt=tt("dragVertical");function ot(e){var t=!1;if("y"===e)t=nt();else if("x"===e)t=rt();else{var r=rt(),n=nt();r&&n?t=function(){r(),n()}:(r&&r(),n&&n())}return t}function at(){var e=ot(!0);return!e||(e(),!1)}function it(e,t,r){return function(n,o){var a;Ve(n)&&!at()&&(null==r||r(n,o),null===(a=e.animationState)||void 0===a||a.setActive(Ne.Hover,t))}}var st=function(e,t){return!!t&&(e===t||st(e,t.parentElement))},ut=r(2898),lt=function(e,t){return function(r){return t(e(r))}},ct=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.reduce(lt)},ft=function(e){return function(t){return e(t),null}},dt={tap:ft((function(e){var t=e.onTap,r=e.onTapStart,n=e.onTapCancel,a=e.whileTap,i=e.visualElement,s=t||r||n||a,u=(0,o.useRef)(!1),l=(0,o.useRef)(null);function c(){var e;null===(e=l.current)||void 0===e||e.call(l),l.current=null}function f(){var e;return c(),u.current=!1,null===(e=i.animationState)||void 0===e||e.setActive(Ne.Tap,!1),!at()}function d(e,r){f()&&(st(i.getInstance(),e.target)?null==t||t(e,r):null==n||n(e,r))}function p(e,t){f()&&(null==n||n(e,t))}et(i,"pointerdown",s?function(e,t){var n;c(),u.current||(u.current=!0,l.current=ct(Ze(window,"pointerup",d),Ze(window,"pointercancel",p)),null==r||r(e,t),null===(n=i.animationState)||void 0===n||n.setActive(Ne.Tap,!0))}:void 0),(0,ut.l)(c)})),focus:ft((function(e){var t=e.whileFocus,r=e.visualElement;ze(r,"focus",t?function(){var e;null===(e=r.animationState)||void 0===e||e.setActive(Ne.Focus,!0)}:void 0),ze(r,"blur",t?function(){var e;null===(e=r.animationState)||void 0===e||e.setActive(Ne.Focus,!1)}:void 0)})),hover:ft((function(e){var t=e.onHoverStart,r=e.onHoverEnd,n=e.whileHover,o=e.visualElement;et(o,"pointerenter",t||n?it(o,!0,t):void 0),et(o,"pointerleave",r||n?it(o,!1,r):void 0)}))};function pt(e,t){if(!Array.isArray(t))return!1;var r=t.length;if(r!==e.length)return!1;for(var n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}var ht=function(e,t,r){return Math.min(Math.max(r,e),t)};var vt=12;function mt(e,t){return e*Math.sqrt(1-t*t)}var gt=["duration","bounce"],yt=["stiffness","damping","mass"];function bt(e,t){return t.some((function(t){return void 0!==e[t]}))}function wt(e){var t=e.from,r=void 0===t?0:t,o=e.to,a=void 0===o?1:o,i=e.restSpeed,s=void 0===i?2:i,u=e.restDelta,l=(0,n.Tt)(e,["from","to","restSpeed","restDelta"]),c={done:!1,value:r},f=function(e){var t=(0,n.Cl)({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!bt(e,yt)&&bt(e,gt)){var r=function(e){var t,r,n=e.duration,o=void 0===n?800:n,a=e.bounce,i=void 0===a?.25:a,s=e.velocity,u=void 0===s?0:s,l=e.mass,c=void 0===l?1:l,f=1-i;f=ht(.05,1,f),o=ht(.01,10,o/1e3),f<1?(t=function(e){var t=e*f,r=t*o;return.001-(t-u)/mt(e,f)*Math.exp(-r)},r=function(e){var r=e*f*o,n=r*u+u,a=Math.pow(f,2)*Math.pow(e,2)*o,i=Math.exp(-r),s=mt(Math.pow(e,2),f);return(.001-t(e)>0?-1:1)*((n-a)*i)/s}):(t=function(e){return Math.exp(-e*o)*((e-u)*o+1)-.001},r=function(e){return Math.exp(-e*o)*(o*o*(u-e))});var d=function(e,t,r){for(var n=r,o=1;o<vt;o++)n-=e(n)/t(n);return n}(t,r,5/o);if(o*=1e3,isNaN(d))return{stiffness:100,damping:10,duration:o};var p=Math.pow(d,2)*c;return{stiffness:p,damping:2*f*Math.sqrt(c*p),duration:o}}(e);(t=(0,n.Cl)((0,n.Cl)((0,n.Cl)({},t),r),{velocity:0,mass:1})).isResolvedFromDuration=!0}return t}(l),d=f.stiffness,p=f.damping,h=f.mass,v=f.velocity,m=f.duration,g=f.isResolvedFromDuration,y=_t,b=_t;function w(){var e=v?-v/1e3:0,t=a-r,n=p/(2*Math.sqrt(d*h)),o=Math.sqrt(d/h)/1e3;if(null!=u||(u=Math.abs(a-r)<=1?.01:.4),n<1){var i=mt(o,n);y=function(r){var s=Math.exp(-n*o*r);return a-s*((e+n*o*t)/i*Math.sin(i*r)+t*Math.cos(i*r))},b=function(r){var a=Math.exp(-n*o*r);return n*o*a*(Math.sin(i*r)*(e+n*o*t)/i+t*Math.cos(i*r))-a*(Math.cos(i*r)*(e+n*o*t)-i*t*Math.sin(i*r))}}else if(1===n)y=function(r){return a-Math.exp(-o*r)*(t+(e+o*t)*r)};else{var s=o*Math.sqrt(n*n-1);y=function(r){var i=Math.exp(-n*o*r),u=Math.min(s*r,300);return a-i*((e+n*o*t)*Math.sinh(u)+s*t*Math.cosh(u))/s}}}return w(),{next:function(e){var t=y(e);if(g)c.done=e>=m;else{var r=1e3*b(e),n=Math.abs(r)<=s,o=Math.abs(a-t)<=u;c.done=n&&o}return c.value=c.done?a:t,c},flipTarget:function(){var e;v=-v,r=(e=[a,r])[0],a=e[1],w()}}}wt.needsInterpolation=function(e,t){return"string"==typeof e||"string"==typeof t};var _t=function(e){return 0},At=function(e,t,r){var n=t-e;return 0===n?1:(r-e)/n},St=function(e,t,r){return-r*e+r*t+e},kt=function(e,t){return function(r){return Boolean(Q(r)&&J.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t))}},xt=function(e,t,r){return function(n){var o;if(!Q(n))return n;var a=n.match(K),i=a[0],s=a[1],u=a[2],l=a[3];return(o={})[e]=parseFloat(i),o[t]=parseFloat(s),o[r]=parseFloat(u),o.alpha=void 0!==l?parseFloat(l):1,o}},Ct=X(0,255),Pt=(0,n.Cl)((0,n.Cl)({},ie),{transform:function(e){return Math.round(Ct(e))}}),Et={test:kt("rgb","red"),parse:xt("red","green","blue"),transform:function(e){var t=e.red,r=e.green,n=e.blue,o=e.alpha,a=void 0===o?1:o;return"rgba("+Pt.transform(t)+", "+Pt.transform(r)+", "+Pt.transform(n)+", "+Y(se.transform(a))+")"}},Tt={test:kt("#"),parse:function(e){var t="",r="",n="",o="";return e.length>5?(t=e.substr(1,2),r=e.substr(3,2),n=e.substr(5,2),o=e.substr(7,2)):(t=e.substr(1,1),r=e.substr(2,1),n=e.substr(3,1),o=e.substr(4,1),t+=t,r+=r,n+=n,o+=o),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:o?parseInt(o,16)/255:1}},transform:Et.transform},Rt={test:kt("hsl","hue"),parse:xt("hue","saturation","lightness"),transform:function(e){var t=e.hue,r=e.saturation,n=e.lightness,o=e.alpha,a=void 0===o?1:o;return"hsla("+Math.round(t)+", "+te.transform(Y(r))+", "+te.transform(Y(n))+", "+Y(se.transform(a))+")"}},Ot=function(e,t,r){var n=e*e,o=t*t;return Math.sqrt(Math.max(0,r*(o-n)+n))},Ft=[Tt,Et,Rt],Lt=function(e){return Ft.find((function(t){return t.test(e)}))},Dt=function(e){return"'"+e+"' is not an animatable color. Use the equivalent color code instead."},Mt=function(e,t){var r=Lt(e),o=Lt(t);Dt(e),Dt(t),r.transform,o.transform;var a=r.parse(e),i=o.parse(t),s=(0,n.Cl)({},a),u=r===Rt?St:Ot;return function(e){for(var t in s)"alpha"!==t&&(s[t]=u(a[t],i[t],e));return s.alpha=St(a.alpha,i.alpha,e),r.transform(s)}},It={test:function(e){return Et.test(e)||Tt.test(e)||Rt.test(e)},parse:function(e){return Et.test(e)?Et.parse(e):Rt.test(e)?Rt.parse(e):Tt.parse(e)},transform:function(e){return Q(e)?e:e.hasOwnProperty("red")?Et.transform(e):Rt.transform(e)}},jt="${c}",Nt="${n}";function qt(e){var t=[],r=0,n=e.match($);n&&(r=n.length,e=e.replace($,jt),t.push.apply(t,n.map(It.parse)));var o=e.match(K);return o&&(e=e.replace(K,Nt),t.push.apply(t,o.map(ie.parse))),{values:t,numColors:r,tokenised:e}}function Bt(e){return qt(e).values}function Ut(e){var t=qt(e),r=t.values,n=t.numColors,o=t.tokenised,a=r.length;return function(e){for(var t=o,r=0;r<a;r++)t=t.replace(r<n?jt:Nt,r<n?It.transform(e[r]):Y(e[r]));return t}}var zt=function(e){return"number"==typeof e?0:e},Vt={test:function(e){var t,r,n,o;return isNaN(e)&&Q(e)&&(null!==(r=null===(t=e.match(K))||void 0===t?void 0:t.length)&&void 0!==r?r:0)+(null!==(o=null===(n=e.match($))||void 0===n?void 0:n.length)&&void 0!==o?o:0)>0},parse:Bt,createTransformer:Ut,getAnimatableNone:function(e){var t=Bt(e);return Ut(e)(t.map(zt))}},Wt=function(e){return"number"==typeof e};function Ht(e,t){return Wt(e)?function(r){return St(e,t,r)}:It.test(e)?Mt(e,t):Kt(e,t)}var Gt=function(e,t){var r=(0,n.fX)([],e),o=r.length,a=e.map((function(e,r){return Ht(e,t[r])}));return function(e){for(var t=0;t<o;t++)r[t]=a[t](e);return r}},Xt=function(e,t){var r=(0,n.Cl)((0,n.Cl)({},e),t),o={};for(var a in r)void 0!==e[a]&&void 0!==t[a]&&(o[a]=Ht(e[a],t[a]));return function(e){for(var t in o)r[t]=o[t](e);return r}};function Yt(e){for(var t=Vt.parse(e),r=t.length,n=0,o=0,a=0,i=0;i<r;i++)n||"number"==typeof t[i]?n++:void 0!==t[i].hue?a++:o++;return{parsed:t,numNumbers:n,numRGB:o,numHSL:a}}var Kt=function(e,t){var r=Vt.createTransformer(t),n=Yt(e),o=Yt(t);return n.numHSL===o.numHSL&&n.numRGB===o.numRGB&&(n.numNumbers,o.numNumbers),ct(Gt(n.parsed,o.parsed),r)},$t=function(e,t){return function(r){return St(e,t,r)}};function Jt(e,t,r){var n=void 0===r?{}:r,o=n.clamp,a=void 0===o||o,i=n.ease,s=n.mixer,u=e.length;t.length,!i||!Array.isArray(i)||i.length,e[0]>e[u-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());var l=function(e,t,r){for(var n,o=[],a=r||("number"==typeof(n=e[0])?$t:"string"==typeof n?It.test(n)?Mt:Kt:Array.isArray(n)?Gt:"object"==typeof n?Xt:void 0),i=e.length-1,s=0;s<i;s++){var u=a(e[s],e[s+1]);if(t){var l=Array.isArray(t)?t[s]:t;u=ct(l,u)}o.push(u)}return o}(t,i,s),c=2===u?function(e,t){var r=e[0],n=e[1],o=t[0];return function(e){return o(At(r,n,e))}}(e,l):function(e,t){var r=e.length,n=r-1;return function(o){var a=0,i=!1;if(o<=e[0]?i=!0:o>=e[n]&&(a=n-1,i=!0),!i){for(var s=1;s<r&&!(e[s]>o||s===n);s++);a=s-1}var u=At(e[a],e[a+1],o);return t[a](u)}}(e,l);return a?function(t){return c(ht(e[0],e[u-1],t))}:c}var Qt,Zt=function(e){return function(t){return 1-e(1-t)}},er=function(e){return function(t){return t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2}},tr=function(e){return function(t){return t*t*((e+1)*t-e)}},rr=4/11,nr=8/11,or=function(e){return e},ar=function(e){return Math.pow(e,2)},ir=Zt(ar),sr=er(ar),ur=function(e){return 1-Math.sin(Math.acos(e))},lr=Zt(ur),cr=er(lr),fr=tr(1.525),dr=Zt(fr),pr=er(fr),hr=(Qt=tr(1.525),function(e){return(e*=2)<1?.5*Qt(e):.5*(2-Math.pow(2,-10*(e-1)))}),vr=4356/361,mr=35442/1805,gr=16061/1805,yr=function(e){if(1===e||0===e)return e;var t=e*e;return e<rr?7.5625*t:e<nr?9.075*t-9.9*e+3.4:e<.9?vr*t-mr*e+gr:10.8*e*e-20.52*e+10.72},br=Zt(yr);function wr(e,t){return e.map((function(){return t||sr})).splice(0,e.length-1)}function _r(e){var t=e.from,r=void 0===t?0:t,n=e.to,o=void 0===n?1:n,a=e.ease,i=e.offset,s=e.duration,u=void 0===s?300:s,l={done:!1,value:r},c=Array.isArray(o)?o:[r,o],f=function(e,t){return e.map((function(e){return e*t}))}(i&&i.length===c.length?i:function(e){var t=e.length;return e.map((function(e,r){return 0!==r?r/(t-1):0}))}(c),u);function d(){return Jt(f,c,{ease:Array.isArray(a)?a:wr(c,a)})}var p=d();return{next:function(e){return l.value=p(e),l.done=e>=u,l},flipTarget:function(){c.reverse(),p=d()}}}var Ar={keyframes:_r,spring:wt,decay:function(e){var t=e.velocity,r=void 0===t?0:t,n=e.from,o=void 0===n?0:n,a=e.power,i=void 0===a?.8:a,s=e.timeConstant,u=void 0===s?350:s,l=e.restDelta,c=void 0===l?.5:l,f=e.modifyTarget,d={done:!1,value:o},p=i*r,h=o+p,v=void 0===f?h:f(h);return v!==h&&(p=v-o),{next:function(e){var t=-p*Math.exp(-e/u);return d.done=!(t>c||t<-c),d.value=d.done?v:v+t,d},flipTarget:function(){}}}},Sr=r(4181);function kr(e,t,r){return void 0===r&&(r=0),e-t-r}var xr=function(e){var t=function(t){var r=t.delta;return e(r)};return{start:function(){return Sr.Ay.update(t,!0)},stop:function(){return Sr.eO.update(t)}}};function Cr(e){var t,r,o,a,i,s=e.from,u=e.autoplay,l=void 0===u||u,c=e.driver,f=void 0===c?xr:c,d=e.elapsed,p=void 0===d?0:d,h=e.repeat,v=void 0===h?0:h,m=e.repeatType,g=void 0===m?"loop":m,y=e.repeatDelay,b=void 0===y?0:y,w=e.onPlay,_=e.onStop,A=e.onComplete,S=e.onRepeat,k=e.onUpdate,x=(0,n.Tt)(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]),C=x.to,P=0,E=x.duration,T=!1,R=!0,O=function(e){if(Array.isArray(e.to))return _r;if(Ar[e.type])return Ar[e.type];var t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?_r:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?wt:_r}(x);(null===(r=(t=O).needsInterpolation)||void 0===r?void 0:r.call(t,s,C))&&(i=Jt([0,100],[s,C],{clamp:!1}),s=0,C=100);var F=O((0,n.Cl)((0,n.Cl)({},x),{from:s,to:C}));return l&&(null==w||w(),(o=f((function(e){if(R||(e=-e),p+=e,!T){var t=F.next(Math.max(0,p));a=t.value,i&&(a=i(a)),T=R?t.done:p<=0}null==k||k(a),T&&(0===P&&(null!=E||(E=p)),P<v?function(e,t,r,n){return n?e>=t+r:e<=-r}(p,E,b,R)&&(P++,"reverse"===g?p=function(e,t,r,n){return void 0===r&&(r=0),void 0===n&&(n=!0),n?kr(t+-e,t,r):t-(e-t)+r}(p,E,b,R=P%2==0):(p=kr(p,E,b),"mirror"===g&&F.flipTarget()),T=!1,S&&S()):(o.stop(),A&&A()))}))).start()),{stop:function(){null==_||_(),o.stop()}}}function Pr(e,t){return t?e*(1e3/t):0}var Er=function(e){return 1e3*e},Tr=function(e,t){return 1-3*t+3*e},Rr=function(e,t){return 3*t-6*e},Or=function(e){return 3*e},Fr=function(e,t,r){return((Tr(t,r)*e+Rr(t,r))*e+Or(t))*e},Lr=function(e,t,r){return 3*Tr(t,r)*e*e+2*Rr(t,r)*e+Or(t)},Dr=.1;function Mr(e,t,r,n){if(e===t&&r===n)return or;for(var o=new Float32Array(11),a=0;a<11;++a)o[a]=Fr(a*Dr,e,r);return function(a){return 0===a||1===a?a:Fr(function(t){for(var n=0,a=1;10!==a&&o[a]<=t;++a)n+=Dr;--a;var i=n+(t-o[a])/(o[a+1]-o[a])*Dr,s=Lr(i,e,r);return s>=.001?function(e,t,r,n){for(var o=0;o<8;++o){var a=Lr(t,r,n);if(0===a)return t;t-=(Fr(t,r,n)-e)/a}return t}(t,i,e,r):0===s?i:function(e,t,r,n,o){var a,i,s=0;do{(a=Fr(i=t+(r-t)/2,n,o)-e)>0?r=i:t=i}while(Math.abs(a)>1e-7&&++s<10);return i}(t,n,n+Dr,e,r)}(a),t,n)}}var Ir={linear:or,easeIn:ar,easeInOut:sr,easeOut:ir,circIn:ur,circInOut:cr,circOut:lr,backIn:fr,backInOut:pr,backOut:dr,anticipate:hr,bounceIn:br,bounceInOut:function(e){return e<.5?.5*(1-yr(1-2*e)):.5*yr(2*e-1)+.5},bounceOut:yr},jr=function(e){if(Array.isArray(e)){e.length;var t=(0,n.zs)(e,4);return Mr(t[0],t[1],t[2],t[3])}return"string"==typeof e?Ir[e]:e},Nr=function(e,t){return!("zIndex"===e||"number"!=typeof t&&!Array.isArray(t)&&("string"!=typeof t||!Vt.test(t)||t.startsWith("url(")))},qr=function(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}},Br=function(e){return{type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}},Ur=function(){return{type:"keyframes",ease:"linear",duration:.3}},zr=function(e){return{type:"keyframes",duration:.8,values:e}},Vr={x:qr,y:qr,z:qr,rotate:qr,rotateX:qr,rotateY:qr,rotateZ:qr,scaleX:Br,scaleY:Br,scale:Br,opacity:Ur,backgroundColor:Ur,color:Ur,default:Br},Wr=new Set(["brightness","contrast","saturate","opacity"]);function Hr(e){var t=e.slice(0,-1).split("("),r=t[0],n=t[1];if("drop-shadow"===r)return e;var o=(n.match(K)||[])[0];if(!o)return e;var a=n.replace(o,""),i=Wr.has(r)?1:0;return o!==n&&(i*=100),r+"("+i+a+")"}var Gr=/([a-z-]*)\(.*?\)/g,Xr=(0,n.Cl)((0,n.Cl)({},Vt),{getAnimatableNone:function(e){var t=e.match(Gr);return t?t.map(Hr).join(" "):e}}),Yr=(0,n.Cl)((0,n.Cl)({},ce),{color:It,backgroundColor:It,outlineColor:It,fill:It,stroke:It,borderColor:It,borderTopColor:It,borderRightColor:It,borderBottomColor:It,borderLeftColor:It,filter:Xr,WebkitFilter:Xr}),Kr=function(e){return Yr[e]};function $r(e,t){var r,n=Kr(e);return n!==Xr&&(n=Vt),null===(r=n.getAnimatableNone)||void 0===r?void 0:r.call(n,t)}function Jr(e,t,r){var o,a,i,s;return Array.isArray(t.to)&&(null!==(o=e.duration)&&void 0!==o||(e.duration=.8)),function(e){Array.isArray(e.to)&&null===e.to[0]&&(e.to=(0,n.fX)([],(0,n.zs)(e.to)),e.to[0]=e.from)}(t),function(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=(0,n.Tt)(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}(e)||(e=(0,n.Cl)((0,n.Cl)({},e),(a=r,i=t.to,s=De(i)?zr:Vr[a]||Vr.default,(0,n.Cl)({to:i},s(i))))),(0,n.Cl)((0,n.Cl)({},t),function(e){var t=e.ease,r=e.times,o=e.yoyo,a=e.flip,i=e.loop,s=(0,n.Tt)(e,["ease","times","yoyo","flip","loop"]),u=(0,n.Cl)({},s);return r&&(u.offset=r),s.duration&&(u.duration=Er(s.duration)),s.repeatDelay&&(u.repeatDelay=Er(s.repeatDelay)),t&&(u.ease=function(e){return Array.isArray(e)&&"number"!=typeof e[0]}(t)?t.map(jr):jr(t)),"tween"===s.type&&(u.type="keyframes"),(o||i||a)&&(o?u.repeatType="reverse":i?u.repeatType="loop":a&&(u.repeatType="mirror"),u.repeat=i||o||a||s.repeat),"spring"!==s.type&&(u.type="keyframes"),u}(e))}function Qr(e){return 0===e||"string"==typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function Zr(e){return"number"==typeof e?0:$r("",e)}function en(e,t){return e[t]||e.default||e}function tn(e,t,r,o){return void 0===o&&(o={}),t.start((function(a){var i,s,u=function(e,t,r,o,a){var i,s=en(o,e),u=null!==(i=s.from)&&void 0!==i?i:t.get(),l=Nr(e,r);return"none"===u&&l&&"string"==typeof r?u=$r(e,r):Qr(u)&&"string"==typeof r?u=Zr(r):!Array.isArray(r)&&Qr(r)&&"string"==typeof u&&(r=Zr(u)),Nr(e,u)&&l&&!1!==s.type?function(){var o={from:u,to:r,velocity:t.getVelocity(),onComplete:a,onUpdate:function(e){return t.set(e)}};return"inertia"===s.type||"decay"===s.type?function(e){var t,r=e.from,o=void 0===r?0:r,a=e.velocity,i=void 0===a?0:a,s=e.min,u=e.max,l=e.power,c=void 0===l?.8:l,f=e.timeConstant,d=void 0===f?750:f,p=e.bounceStiffness,h=void 0===p?500:p,v=e.bounceDamping,m=void 0===v?10:v,g=e.restDelta,y=void 0===g?1:g,b=e.modifyTarget,w=e.driver,_=e.onUpdate,A=e.onComplete;function S(e){return void 0!==s&&e<s||void 0!==u&&e>u}function k(e){return void 0===s?u:void 0===u||Math.abs(s-e)<Math.abs(u-e)?s:u}function x(e){null==t||t.stop(),t=Cr((0,n.Cl)((0,n.Cl)({},e),{driver:w,onUpdate:function(t){var r;null==_||_(t),null===(r=e.onUpdate)||void 0===r||r.call(e,t)},onComplete:A}))}function C(e){x((0,n.Cl)({type:"spring",stiffness:h,damping:m,restDelta:y},e))}if(S(o))C({from:o,velocity:i,to:k(o)});else{var P=c*i+o;void 0!==b&&(P=b(P));var E,T,R=k(P),O=R===s?-1:1;x({type:"decay",from:o,velocity:i,timeConstant:d,power:c,restDelta:y,modifyTarget:b,onUpdate:S(P)?function(e){E=T,T=e,i=Pr(e-E,(0,Sr.KK)().delta),(1===O&&e>R||-1===O&&e<R)&&C({from:e,to:R,velocity:i})}:void 0})}return{stop:function(){return null==t?void 0:t.stop()}}}((0,n.Cl)((0,n.Cl)({},o),s)):Cr((0,n.Cl)((0,n.Cl)({},Jr(s,o,e)),{onUpdate:function(e){var t;o.onUpdate(e),null===(t=s.onUpdate)||void 0===t||t.call(s,e)},onComplete:function(){var e;o.onComplete(),null===(e=s.onComplete)||void 0===e||e.call(s)}}))}:function(){var e;return t.set(r),a(),null===(e=null==s?void 0:s.onComplete)||void 0===e||e.call(s),{stop:function(){}}}}(e,t,r,o,a),l=function(e,t){var r;return null!==(r=(en(e,t)||{}).delay)&&void 0!==r?r:0}(o,e),c=function(){return s=u()};return l?i=setTimeout(c,Er(l)):c(),function(){clearTimeout(i),null==s||s.stop()}}))}function rn(e,t){-1===e.indexOf(t)&&e.push(t)}function nn(e,t){var r=e.indexOf(t);r>-1&&e.splice(r,1)}var on=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(e){var t=this;return rn(this.subscriptions,e),function(){return nn(t.subscriptions,e)}},e.prototype.notify=function(e,t,r){var n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](e,t,r);else for(var o=0;o<n;o++){var a=this.subscriptions[o];a&&a(e,t,r)}},e.prototype.getSize=function(){return this.subscriptions.length},e.prototype.clear=function(){this.subscriptions.length=0},e}(),an=function(){function e(e){var t,r=this;this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new on,this.velocityUpdateSubscribers=new on,this.renderSubscribers=new on,this.canTrackVelocity=!1,this.updateAndNotify=function(e,t){void 0===t&&(t=!0),r.prev=r.current,r.current=e;var n=(0,Sr.KK)(),o=n.delta,a=n.timestamp;r.lastUpdated!==a&&(r.timeDelta=o,r.lastUpdated=a,Sr.Ay.postRender(r.scheduleVelocityCheck)),r.prev!==r.current&&r.updateSubscribers.notify(r.current),r.velocityUpdateSubscribers.getSize()&&r.velocityUpdateSubscribers.notify(r.getVelocity()),t&&r.renderSubscribers.notify(r.current)},this.scheduleVelocityCheck=function(){return Sr.Ay.postRender(r.velocityCheck)},this.velocityCheck=function(e){e.timestamp!==r.lastUpdated&&(r.prev=r.current,r.velocityUpdateSubscribers.notify(r.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t)))}return e.prototype.onChange=function(e){return this.updateSubscribers.add(e)},e.prototype.clearListeners=function(){this.updateSubscribers.clear()},e.prototype.onRenderRequest=function(e){return e(this.get()),this.renderSubscribers.add(e)},e.prototype.attach=function(e){this.passiveEffect=e},e.prototype.set=function(e,t){void 0===t&&(t=!0),t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)},e.prototype.get=function(){return this.current},e.prototype.getPrevious=function(){return this.prev},e.prototype.getVelocity=function(){return this.canTrackVelocity?Pr(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},e.prototype.start=function(e){var t=this;return this.stop(),new Promise((function(r){t.hasAnimated=!0,t.stopAnimation=e(r)})).then((function(){return t.clearAnimation()}))},e.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},e.prototype.isAnimating=function(){return!!this.stopAnimation},e.prototype.clearAnimation=function(){this.stopAnimation=null},e.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},e}();function sn(e){return new an(e)}var un=function(e){return function(t){return t.test(e)}},ln=[ie,re,te,ee,oe,ne,{test:function(e){return"auto"===e},parse:function(e){return e}}],cn=function(e){return ln.find(un(e))},fn=(0,n.fX)((0,n.fX)([],(0,n.zs)(ln)),[It,Vt]);function dn(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,sn(r))}function pn(e,t){if(t)return(t[e]||t.default||t).from}function hn(e,t,r){var o;void 0===r&&(r={});var a=C(e,t,r.custom),i=(a||{}).transition,s=void 0===i?e.getDefaultTransition()||{}:i;r.transitionOverride&&(s=r.transitionOverride);var u=a?function(){return vn(e,a,r)}:function(){return Promise.resolve()},l=(null===(o=e.variantChildren)||void 0===o?void 0:o.size)?function(o){void 0===o&&(o=0);var a=s.delayChildren,i=void 0===a?0:a,u=s.staggerChildren,l=s.staggerDirection;return function(e,t,r,o,a,i){void 0===r&&(r=0),void 0===o&&(o=0),void 0===a&&(a=1);var s=[],u=(e.variantChildren.size-1)*o,l=1===a?function(e){return void 0===e&&(e=0),e*o}:function(e){return void 0===e&&(e=0),u-e*o};return Array.from(e.variantChildren).sort(mn).forEach((function(e,o){s.push(hn(e,t,(0,n.Cl)((0,n.Cl)({},i),{delay:r+l(o)})).then((function(){return e.notifyAnimationComplete(t)})))})),Promise.all(s)}(e,t,i+o,u,l,r)}:function(){return Promise.resolve()},c=s.when;if(c){var f=(0,n.zs)("beforeChildren"===c?[u,l]:[l,u],2),d=f[0],p=f[1];return d().then(p)}return Promise.all([u(),l(r.delay)])}function vn(e,t,r){var o,a=void 0===r?{}:r,i=a.delay,s=void 0===i?0:i,u=a.transitionOverride,l=a.type,c=e.makeTargetAnimatable(t),f=c.transition,d=void 0===f?e.getDefaultTransition():f,p=c.transitionEnd,h=(0,n.Tt)(c,["transition","transitionEnd"]);u&&(d=u);var v=[],m=l&&(null===(o=e.animationState)||void 0===o?void 0:o.getState()[l]);for(var g in h){var y=e.getValue(g),b=h[g];if(!(!y||void 0===b||m&&gn(m,g))){var w=tn(g,y,b,(0,n.Cl)({delay:s},d));v.push(w)}}return Promise.all(v).then((function(){p&&function(e,t){var r=C(e,t),o=r?e.makeTargetAnimatable(r,!1):{},a=o.transitionEnd,i=void 0===a?{}:a;o.transition;var s,u=(0,n.Tt)(o,["transitionEnd","transition"]);for(var l in u=(0,n.Cl)((0,n.Cl)({},u),i))dn(e,l,(s=u[l],De(s)?s[s.length-1]||0:s))}(e,p)}))}function mn(e,t){return e.sortNodePosition(t)}function gn(e,t){var r=e.protectedKeys,n=e.needsAnimating,o=r.hasOwnProperty(t)&&!0!==n[t];return n[t]=!1,o}var yn=[Ne.Animate,Ne.Hover,Ne.Tap,Ne.Drag,Ne.Focus,Ne.Exit],bn=(0,n.fX)([],(0,n.zs)(yn)).reverse(),wn=yn.length;function _n(e){var t,r=function(e){return function(t){return Promise.all(t.map((function(t){var r=t.animation,n=t.options;return function(e,t,r){var n;if(void 0===r&&(r={}),e.notifyAnimationStart(),Array.isArray(t)){var o=t.map((function(t){return hn(e,t,r)}));n=Promise.all(o)}else if("string"==typeof t)n=hn(e,t,r);else{var a="function"==typeof t?C(e,t,r.custom):t;n=vn(e,a,r)}return n.then((function(){return e.notifyAnimationComplete(t)}))}(e,r,n)})))}}(e),o=((t={})[Ne.Animate]=An(!0),t[Ne.Hover]=An(),t[Ne.Tap]=An(),t[Ne.Drag]=An(),t[Ne.Focus]=An(),t[Ne.Exit]=An(),t),a={},i=!0,s=function(t,r){var o=C(e,r);if(o){o.transition;var a=o.transitionEnd,i=(0,n.Tt)(o,["transition","transitionEnd"]);t=(0,n.Cl)((0,n.Cl)((0,n.Cl)({},t),i),a)}return t};function u(t,u){for(var l,c=e.getProps(),f=e.getVariantContext(!0)||{},d=[],p=new Set,h={},v=1/0,m=function(r){var a=bn[r],m=o[a],g=null!==(l=c[a])&&void 0!==l?l:f[a],y=k(g),b=a===u?m.isActive:null;!1===b&&(v=r);var w=g===f[a]&&g!==c[a]&&y;if(w&&i&&e.manuallyAnimateOnMount&&(w=!1),m.protectedKeys=(0,n.Cl)({},h),!m.isActive&&null===b||!g&&!m.prevProp||Le(g)||"boolean"==typeof g)return"continue";var _=function(e,t){return"string"==typeof t?t!==e:!!S(t)&&!pt(t,e)}(m.prevProp,g)||a===u&&m.isActive&&!w&&y||r>v&&y,A=Array.isArray(g)?g:[g],x=A.reduce(s,{});!1===b&&(x={});var C=m.prevResolvedValues,P=void 0===C?{}:C,E=(0,n.Cl)((0,n.Cl)({},P),x),T=function(e){_=!0,p.delete(e),m.needsAnimating[e]=!0};for(var R in E){var O=x[R],F=P[R];h.hasOwnProperty(R)||(O!==F?De(O)&&De(F)?pt(O,F)?m.protectedKeys[R]=!0:T(R):void 0!==O?T(R):p.add(R):void 0!==O&&p.has(R)?T(R):m.protectedKeys[R]=!0)}m.prevProp=g,m.prevResolvedValues=x,m.isActive&&(h=(0,n.Cl)((0,n.Cl)({},h),x)),i&&e.blockInitialAnimation&&(_=!1),_&&!w&&d.push.apply(d,(0,n.fX)([],(0,n.zs)(A.map((function(e){return{animation:e,options:(0,n.Cl)({type:a},t)}})))))},g=0;g<wn;g++)m(g);if(a=(0,n.Cl)({},h),p.size){var y={};p.forEach((function(t){var r=e.getBaseTarget(t);void 0!==r&&(y[t]=r)})),d.push({animation:y})}var b=Boolean(d.length);return i&&!1===c.initial&&!e.manuallyAnimateOnMount&&(b=!1),i=!1,b?r(d):Promise.resolve()}return{isAnimated:function(e){return void 0!==a[e]},animateChanges:u,setActive:function(t,r,n){var a;return o[t].isActive===r?Promise.resolve():(null===(a=e.variantChildren)||void 0===a||a.forEach((function(e){var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)})),o[t].isActive=r,u(n,t))},setAnimateFunction:function(t){r=t(e)},getState:function(){return o}}}function An(e){return void 0===e&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var Sn={animation:ft((function(e){var t=e.visualElement,r=e.animate;t.animationState||(t.animationState=_n(t)),Le(r)&&(0,o.useEffect)((function(){return r.subscribe(t)}),[r])})),exit:ft((function(e){var t=e.custom,r=e.visualElement,a=(0,n.zs)(v(),2),i=a[0],s=a[1],u=(0,o.useContext)(p.t);(0,o.useEffect)((function(){var e,n,o=null===(e=r.animationState)||void 0===e?void 0:e.setActive(Ne.Exit,!i,{custom:null!==(n=null==u?void 0:u.custom)&&void 0!==n?n:t});!i&&(null==o||o.then(s))}),[i])}))},kn=function(e){return e.hasOwnProperty("x")&&e.hasOwnProperty("y")},xn=function(e){return kn(e)&&e.hasOwnProperty("z")},Cn=function(e,t){return Math.abs(e-t)};function Pn(e,t){if(Wt(e)&&Wt(t))return Cn(e,t);if(kn(e)&&kn(t)){var r=Cn(e.x,t.x),n=Cn(e.y,t.y),o=xn(e)&&xn(t)?Cn(e.z,t.z):0;return Math.sqrt(Math.pow(r,2)+Math.pow(n,2)+Math.pow(o,2))}}var En=function(){function e(e,t,r){var o=this,a=(void 0===r?{}:r).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(o.lastMoveEvent&&o.lastMoveEventInfo){var e=On(o.lastMoveEventInfo,o.history),t=null!==o.startEvent,r=Pn(e.offset,{x:0,y:0})>=3;if(t||r){var a=e.point,i=(0,Sr.KK)().timestamp;o.history.push((0,n.Cl)((0,n.Cl)({},a),{timestamp:i}));var s=o.handlers,u=s.onStart,l=s.onMove;t||(u&&u(o.lastMoveEvent,e),o.startEvent=o.lastMoveEvent),l&&l(o.lastMoveEvent,e)}}},this.handlePointerMove=function(e,t){o.lastMoveEvent=e,o.lastMoveEventInfo=Tn(t,o.transformPagePoint),Ve(e)&&0===e.buttons?o.handlePointerUp(e,t):Sr.Ay.update(o.updatePoint,!0)},this.handlePointerUp=function(e,t){o.end();var r=o.handlers,n=r.onEnd,a=r.onSessionEnd,i=On(Tn(t,o.transformPagePoint),o.history);o.startEvent&&n&&n(e,i),a&&a(e,i)},!(We(e)&&e.touches.length>1)){this.handlers=t,this.transformPagePoint=a;var i=Tn(Ye(e),this.transformPagePoint),s=i.point,u=(0,Sr.KK)().timestamp;this.history=[(0,n.Cl)((0,n.Cl)({},s),{timestamp:u})];var l=t.onSessionStart;l&&l(e,On(i,this.history)),this.removeListeners=ct(Ze(window,"pointermove",this.handlePointerMove),Ze(window,"pointerup",this.handlePointerUp),Ze(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(e){this.handlers=e},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),Sr.eO.update(this.updatePoint)},e}();function Tn(e,t){return t?{point:t(e.point)}:e}function Rn(e,t){return{x:e.x-t.x,y:e.y-t.y}}function On(e,t){var r=e.point;return{point:r,delta:Rn(r,Ln(t)),offset:Rn(r,Fn(t)),velocity:Dn(t,.1)}}function Fn(e){return e[0]}function Ln(e){return e[e.length-1]}function Dn(e,t){if(e.length<2)return{x:0,y:0};for(var r=e.length-1,n=null,o=Ln(e);r>=0&&(n=e[r],!(o.timestamp-n.timestamp>Er(t)));)r--;if(!n)return{x:0,y:0};var a=(o.timestamp-n.timestamp)/1e3;if(0===a)return{x:0,y:0};var i={x:(o.x-n.x)/a,y:(o.y-n.y)/a};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}var Mn=r(6466);function In(e){return[e("x"),e("y")]}function jn(e,t,r){var n=t.min,o=t.max;return void 0!==n&&e<n?e=r?St(n,e,r.min):Math.max(e,n):void 0!==o&&e>o&&(e=r?St(o,e,r.max):Math.min(e,o)),e}function Nn(e,t,r){return{min:void 0!==t?e.min+t:void 0,max:void 0!==r?e.max+r-(e.max-e.min):void 0}}function qn(e,t){var r,o=t.min-e.min,a=t.max-e.max;return t.max-t.min<e.max-e.min&&(o=(r=(0,n.zs)([a,o],2))[0],a=r[1]),{min:e.min+o,max:e.min+a}}function Bn(e,t,r){return{min:Un(e,t),max:Un(e,r)}}function Un(e,t){var r;return"number"==typeof e?e:null!==(r=e[t])&&void 0!==r?r:0}function zn(e,t){var r=e.getBoundingClientRect();return(0,Mn.MM)((0,Mn.YT)(r,t))}function Vn(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=.01),Pn(e,t)<r}function Wn(e){return e.max-e.min}function Hn(e,t,r,n){void 0===n&&(n=.5),e.origin=n,e.originPoint=St(t.min,t.max,e.origin),e.scale=Wn(r)/Wn(t),Vn(e.scale,1,1e-4)&&(e.scale=1),e.translate=St(r.min,r.max,e.origin)-e.originPoint,Vn(e.translate)&&(e.translate=0)}function Gn(e,t,r,n){Hn(e.x,t.x,r.x,Xn(n.originX)),Hn(e.y,t.y,r.y,Xn(n.originY))}function Xn(e){return"number"==typeof e?e:.5}function Yn(e,t,r){e.min=r.min+t.min,e.max=e.min+Wn(t)}var Kn=r(2405);function $n(e,t){return{min:t.min-e.min,max:t.max-e.min}}function Jn(e,t){return{x:$n(e.x,t.x),y:$n(e.y,t.y)}}function Qn(e){var t=e.getProps(),r=t.drag,n=t._dragX;return r&&!n}function Zn(e,t){e.min=t.min,e.max=t.max}function eo(e,t,r){return r+t*(e-r)}function to(e,t,r,n,o){return void 0!==o&&(e=eo(e,o,n)),eo(e,r,n)+t}function ro(e,t,r,n,o){void 0===t&&(t=0),void 0===r&&(r=1),e.min=to(e.min,t,r,n,o),e.max=to(e.max,t,r,n,o)}function no(e,t){var r=t.x,n=t.y;ro(e.x,r.translate,r.scale,r.originPoint),ro(e.y,n.translate,n.scale,n.originPoint)}function oo(e,t,r,o){var a=(0,n.zs)(o,3),i=a[0],s=a[1],u=a[2];e.min=t.min,e.max=t.max;var l=void 0!==r[u]?r[u]:.5,c=St(t.min,t.max,l);ro(e,r[i],r[s],c,r.scale)}var ao=["x","scaleX","originX"],io=["y","scaleY","originY"];function so(e,t,r){oo(e.x,t.x,r,ao),oo(e.y,t.y,r,io)}function uo(e,t,r,n,o){return e=eo(e-=t,1/r,n),void 0!==o&&(e=eo(e,1/o,n)),e}function lo(e,t,r){var o=(0,n.zs)(r,3),a=o[0],i=o[1],s=o[2];!function(e,t,r,n,o){void 0===t&&(t=0),void 0===r&&(r=1),void 0===n&&(n=.5);var a=St(e.min,e.max,n)-t;e.min=uo(e.min,t,r,a,o),e.max=uo(e.max,t,r,a,o)}(e,t[a],t[i],t[s],t.scale)}function co(e,t){lo(e.x,t,ao),lo(e.y,t,io)}var fo,po=r(4813),ho=new WeakMap,vo=function(){function e(e){var t=e.visualElement;this.isDragging=!1,this.currentDirection=null,this.constraints=!1,this.elastic=(0,Mn.$Z)(),this.props={},this.hasMutatedConstraints=!1,this.cursorProgress={x:.5,y:.5},this.originPoint={},this.openGlobalLock=null,this.panSession=null,this.visualElement=t,this.visualElement.enableLayoutProjection(),ho.set(t,this)}return e.prototype.start=function(e,t){var r=this,o=void 0===t?{}:t,a=o.snapToCursor,i=void 0!==a&&a,s=o.cursorProgress,u=this.props.transformPagePoint;this.panSession=new En(e,{onSessionStart:function(e){var t;r.stopMotion();var o=function(e){return Ye(e,"client")}(e).point;null===(t=r.cancelLayout)||void 0===t||t.call(r),r.cancelLayout=(0,po.V)((function(e,t){var a=(0,Kn.kP)(r.visualElement),u=(0,Kn.nP)(r.visualElement),l=(0,n.fX)((0,n.fX)([],(0,n.zs)(a)),(0,n.zs)(u)),c=!1;r.isLayoutDrag()&&r.visualElement.lockProjectionTarget(),t((function(){l.forEach((function(e){return e.resetTransform()}))})),e((function(){(0,Kn.QS)(r.visualElement),u.forEach(Kn.QS)})),t((function(){l.forEach((function(e){return e.restoreTransform()})),i&&(c=r.snapToCursor(o))})),e((function(){Boolean(r.getAxisMotionValue("x")&&!r.isExternalDrag())||r.visualElement.rebaseProjectionTarget(!0,r.visualElement.measureViewportBox(!1)),r.visualElement.scheduleUpdateLayoutProjection();var e=r.visualElement.projection;In((function(t){if(!c){var n=e.target[t],a=n.min,i=n.max;r.cursorProgress[t]=s?s[t]:At(a,i,o[t])}var u=r.getAxisMotionValue(t);u&&(r.originPoint[t]=u.get())}))})),t((function(){Sr.qX.update(),Sr.qX.preRender(),Sr.qX.render(),Sr.qX.postRender()})),e((function(){return r.resolveDragConstraints()}))}))},onStart:function(e,t){var n,o,a,i=r.props,s=i.drag,u=i.dragPropagation;(!s||u||(r.openGlobalLock&&r.openGlobalLock(),r.openGlobalLock=ot(s),r.openGlobalLock))&&((0,po.L)(),r.isDragging=!0,r.currentDirection=null,null===(o=(n=r.props).onDragStart)||void 0===o||o.call(n,e,t),null===(a=r.visualElement.animationState)||void 0===a||a.setActive(Ne.Drag,!0))},onMove:function(e,t){var n,o,a,i,s=r.props,u=s.dragPropagation,l=s.dragDirectionLock;if(u||r.openGlobalLock){var c=t.offset;if(l&&null===r.currentDirection)return r.currentDirection=function(e,t){void 0===t&&(t=10);var r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}(c),void(null!==r.currentDirection&&(null===(o=(n=r.props).onDirectionLock)||void 0===o||o.call(n,r.currentDirection)));r.updateAxis("x",t.point,c),r.updateAxis("y",t.point,c),null===(i=(a=r.props).onDrag)||void 0===i||i.call(a,e,t),fo=e}},onSessionEnd:function(e,t){return r.stop(e,t)}},{transformPagePoint:u})},e.prototype.resolveDragConstraints=function(){var e=this,t=this.props,r=t.dragConstraints,n=t.dragElastic,o=this.visualElement.getLayoutState().layoutCorrected;this.constraints=!!r&&(A(r)?this.resolveRefConstraints(o,r):function(e,t){var r=t.top,n=t.left,o=t.bottom,a=t.right;return{x:Nn(e.x,n,a),y:Nn(e.y,r,o)}}(o,r)),this.elastic=function(e){return!1===e?e=0:!0===e&&(e=.35),{x:Bn(e,"left","right"),y:Bn(e,"top","bottom")}}(n),this.constraints&&!this.hasMutatedConstraints&&In((function(t){e.getAxisMotionValue(t)&&(e.constraints[t]=function(e,t){var r={};return void 0!==t.min&&(r.min=t.min-e.min),void 0!==t.max&&(r.max=t.max-e.min),r}(o[t],e.constraints[t]))}))},e.prototype.resolveRefConstraints=function(e,t){var r=this.props,n=r.onMeasureDragConstraints,o=r.transformPagePoint,a=t.current;this.constraintsBox=zn(a,o);var i=function(e,t){return{x:qn(e.x,t.x),y:qn(e.y,t.y)}}(e,this.constraintsBox);if(n){var s=n((0,Mn.Wy)(i));this.hasMutatedConstraints=!!s,s&&(i=(0,Mn.MM)(s))}return i},e.prototype.cancelDrag=function(){var e,t;this.visualElement.unlockProjectionTarget(),null===(e=this.cancelLayout)||void 0===e||e.call(this),this.isDragging=!1,this.panSession&&this.panSession.end(),this.panSession=null,!this.props.dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(t=this.visualElement.animationState)||void 0===t||t.setActive(Ne.Drag,!1)},e.prototype.stop=function(e,t){var r,n,o;null===(r=this.panSession)||void 0===r||r.end(),this.panSession=null;var a=this.isDragging;if(this.cancelDrag(),a){var i=t.velocity;this.animateDragEnd(i),null===(o=(n=this.props).onDragEnd)||void 0===o||o.call(n,e,t)}},e.prototype.snapToCursor=function(e){var t=this;return In((function(r){if(mo(r,t.props.drag,t.currentDirection)){var n=t.getAxisMotionValue(r);if(!n)return t.cursorProgress[r]=.5,!0;var o=t.visualElement.getLayoutState().layout,a=o[r].max-o[r].min,i=o[r].min+a/2,s=e[r]-i;t.originPoint[r]=e[r],n.set(s)}})).includes(!0)},e.prototype.updateAxis=function(e,t,r){if(mo(e,this.props.drag,this.currentDirection))return this.getAxisMotionValue(e)?this.updateAxisMotionValue(e,r):this.updateVisualElementAxis(e,t)},e.prototype.updateAxisMotionValue=function(e,t){var r=this.getAxisMotionValue(e);if(t&&r){var n=this.originPoint[e]+t[e],o=this.constraints?jn(n,this.constraints[e],this.elastic[e]):n;r.set(o)}},e.prototype.updateVisualElementAxis=function(e,t){var r,n=this.visualElement.getLayoutState().layout[e],o=n.max-n.min,a=this.cursorProgress[e],i=function(e,t,r,n,o){var a=e-t*r;return n?jn(a,n,o):a}(t[e],o,a,null===(r=this.constraints)||void 0===r?void 0:r[e],this.elastic[e]);this.visualElement.setProjectionTargetAxis(e,i,i+o)},e.prototype.setProps=function(e){var t=e.drag,r=void 0!==t&&t,o=e.dragDirectionLock,a=void 0!==o&&o,i=e.dragPropagation,s=void 0!==i&&i,u=e.dragConstraints,l=void 0!==u&&u,c=e.dragElastic,f=void 0===c?.35:c,d=e.dragMomentum,p=void 0===d||d,h=(0,n.Tt)(e,["drag","dragDirectionLock","dragPropagation","dragConstraints","dragElastic","dragMomentum"]);this.props=(0,n.Cl)({drag:r,dragDirectionLock:a,dragPropagation:s,dragConstraints:l,dragElastic:f,dragMomentum:p},h)},e.prototype.getAxisMotionValue=function(e){var t=this.props,r=t.layout,n=t.layoutId,o="_drag"+e.toUpperCase();return this.props[o]?this.props[o]:r||void 0!==n?void 0:this.visualElement.getValue(e,0)},e.prototype.isLayoutDrag=function(){return!this.getAxisMotionValue("x")},e.prototype.isExternalDrag=function(){var e=this.props,t=e._dragX,r=e._dragY;return t||r},e.prototype.animateDragEnd=function(e){var t=this,r=this.props,o=r.drag,a=r.dragMomentum,i=r.dragElastic,s=r.dragTransition,u=function(e,t){void 0===t&&(t=!0);var r,n=e.getProjectionParent();return!!n&&(t?co(r=Jn(n.projection.target,e.projection.target),n.getLatestValues()):r=Jn(n.getLayoutState().layout,e.getLayoutState().layout),In((function(t){return e.setProjectionTargetAxis(t,r[t].min,r[t].max,!0)})),!0)}(this.visualElement,this.isLayoutDrag()&&!this.isExternalDrag()),l=this.constraints||{};if(u&&Object.keys(l).length&&this.isLayoutDrag()){var c=this.visualElement.getProjectionParent();if(c){var f=Jn(c.projection.targetFinal,l);In((function(e){var t=f[e],r=t.min,n=t.max;l[e]={min:isNaN(r)?void 0:r,max:isNaN(n)?void 0:n}}))}}var d=In((function(r){var c;if(mo(r,o,t.currentDirection)){var f=null!==(c=null==l?void 0:l[r])&&void 0!==c?c:{},d=i?200:1e6,p=i?40:1e7,h=(0,n.Cl)((0,n.Cl)({type:"inertia",velocity:a?e[r]:0,bounceStiffness:d,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10},s),f);return t.getAxisMotionValue(r)?t.startAxisValueAnimation(r,h):t.visualElement.startLayoutAnimation(r,h,u)}}));return Promise.all(d).then((function(){var e,r;null===(r=(e=t.props).onDragTransitionEnd)||void 0===r||r.call(e)}))},e.prototype.stopMotion=function(){var e=this;In((function(t){var r=e.getAxisMotionValue(t);r?r.stop():e.visualElement.stopLayoutAnimation()}))},e.prototype.startAxisValueAnimation=function(e,t){var r=this.getAxisMotionValue(e);if(r){var n=r.get();return r.set(n),r.set(n),tn(e,r,0,t)}},e.prototype.scalePoint=function(){var e=this,t=this.props,r=t.drag;if(A(t.dragConstraints)&&this.constraintsBox){this.stopMotion();var n={x:0,y:0};In((function(t){var r,o,a,i,s;n[t]=(r=e.visualElement.projection.target[t],o=e.constraintsBox[t],a=.5,i=Wn(r),(s=Wn(o))>i?a=At(o.min,o.max-i,r.min):i>s&&(a=At(r.min,r.max-s,o.min)),ht(0,1,a))})),this.updateConstraints((function(){In((function(t){if(mo(t,r,null)){var o=function(e,t,r){var n=e.max-e.min,o=St(t.min,t.max-n,r);return{min:o,max:o+n}}(e.visualElement.projection.target[t],e.constraintsBox[t],n[t]),a=o.min,i=o.max;e.visualElement.setProjectionTargetAxis(t,a,i)}}))})),setTimeout(po.L,1)}},e.prototype.updateConstraints=function(e){var t=this;this.cancelLayout=(0,po.V)((function(r,n){var o=(0,Kn.kP)(t.visualElement);n((function(){return o.forEach((function(e){return e.resetTransform()}))})),r((function(){return(0,Kn.QS)(t.visualElement)})),n((function(){return o.forEach((function(e){return e.restoreTransform()}))})),r((function(){t.resolveDragConstraints()})),e&&n(e)}))},e.prototype.mount=function(e){var t=this,r=Ze(e.getInstance(),"pointerdown",(function(e){var r=t.props,n=r.drag,o=r.dragListener;n&&(void 0===o||o)&&t.start(e)})),n=Ue(window,"resize",(function(){t.scalePoint()})),o=e.onLayoutUpdate((function(){t.isDragging&&t.resolveDragConstraints()})),a=e.prevDragCursor;return a&&this.start(fo,{cursorProgress:a}),function(){null==r||r(),null==n||n(),null==o||o(),t.cancelDrag()}},e}();function mo(e,t,r){return!(!0!==t&&t!==e||null!==r&&r!==e)}var go={pan:ft((function(e){var t=e.onPan,r=e.onPanStart,n=e.onPanEnd,a=e.onPanSessionStart,i=e.visualElement,s=t||r||n||a,u=(0,o.useRef)(null),l=(0,o.useContext)(f).transformPagePoint,c={onSessionStart:a,onStart:r,onMove:t,onEnd:function(e,t){u.current=null,n&&n(e,t)}};(0,o.useEffect)((function(){null!==u.current&&u.current.updateHandlers(c)})),et(i,"pointerdown",s&&function(e){u.current=new En(e,c,{transformPagePoint:l})}),(0,ut.l)((function(){return u.current&&u.current.end()}))})),drag:ft((function(e){var t=e.dragControls,r=e.visualElement,a=(0,o.useContext)(f).transformPagePoint,i=(0,h.M)((function(){return new vo({visualElement:r})}));i.setProps((0,n.Cl)((0,n.Cl)({},e),{transformPagePoint:a})),(0,o.useEffect)((function(){return t&&t.subscribe(i)}),[i]),(0,o.useEffect)((function(){return i.mount(r)}),[])}))},yo=r(861);function bo(e){return"string"==typeof e&&e.startsWith("var(--")}var wo=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function _o(e,t,r){void 0===r&&(r=1);var o=(0,n.zs)(function(e){var t=wo.exec(e);if(!t)return[,];var r=(0,n.zs)(t,3);return[r[1],r[2]]}(e),2),a=o[0],i=o[1];if(a){var s=window.getComputedStyle(t).getPropertyValue(a);return s?s.trim():bo(i)?_o(i,t,r+1):i}}function Ao(e,t){return e/(t.max-t.min)*100}var So="_$css",ko={process:function(e,t,r){var n=r.target;if("string"==typeof e){if(!re.test(e))return e;e=parseFloat(e)}return Ao(e,n.x)+"% "+Ao(e,n.y)+"%"}},xo={borderRadius:(0,n.Cl)((0,n.Cl)({},ko),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:ko,borderTopRightRadius:ko,borderBottomLeftRadius:ko,borderBottomRightRadius:ko,boxShadow:{process:function(e,t){var r=t.delta,n=t.treeScale,o=e,a=e.includes("var("),i=[];a&&(e=e.replace(wo,(function(e){return i.push(e),So})));var s=Vt.parse(e);if(s.length>5)return o;var u=Vt.createTransformer(e),l="number"!=typeof s[0]?1:0,c=r.x.scale*n.x,f=r.y.scale*n.y;s[0+l]/=c,s[1+l]/=f;var d=St(c,f,.5);"number"==typeof s[2+l]&&(s[2+l]/=d),"number"==typeof s[3+l]&&(s[3+l]/=d);var p=u(s);if(a){var h=0;p=p.replace(So,(function(){var e=i[h];return h++,e}))}return p}}},Co=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.frameTarget=(0,Mn.$Z)(),t.currentAnimationTarget=(0,Mn.$Z)(),t.isAnimating={x:!1,y:!1},t.stopAxisAnimation={x:void 0,y:void 0},t.isAnimatingTree=!1,t.animate=function(e,r,o){void 0===o&&(o={});var a=o.originBox,i=o.targetBox,s=o.visibilityAction,u=o.shouldStackAnimate,l=o.onComplete,c=o.prevParent,f=(0,n.Tt)(o,["originBox","targetBox","visibilityAction","shouldStackAnimate","onComplete","prevParent"]),d=t.props,p=d.visualElement,h=d.layout;if(!1===u)return t.isAnimatingTree=!1,t.safeToRemove();if(!t.isAnimatingTree||!0===u){u&&(t.isAnimatingTree=!0),r=a||r,e=i||e;var v,m,g,y=!1,b=p.getProjectionParent();if(b){var w=b.prevViewportBox,_=b.getLayoutState().layout;c&&(i&&(_=c.getLayoutState().layout),a&&(m=b,(v=c).getLayoutId()===(g=m.getLayoutId())&&(void 0!==g||v===m))&&c.prevViewportBox&&(w=c.prevViewportBox)),w&&function(e,t,r){return e||!e&&!(t||r)}(c,a,i)&&(y=!0,r=Jn(w,r),e=Jn(_,e))}var A=function(e,t){return!(Eo(e)||Eo(t)||To(e.x,t.x)&&To(e.y,t.y))}(r,e),S=In((function(o){var a,i;if("position"===h){var u=e[o].max-e[o].min;r[o].max=r[o].min+u}if(!p.projection.isTargetLocked)return void 0===s?A?t.animateAxis(o,e[o],r[o],(0,n.Cl)((0,n.Cl)({},f),{isRelative:y})):(null===(i=(a=t.stopAxisAnimation)[o])||void 0===i||i.call(a),p.setProjectionTargetAxis(o,e[o].min,e[o].max,y)):void p.setVisibility(s===yo.b.Show)}));return p.syncRender(),Promise.all(S).then((function(){t.isAnimatingTree=!1,l&&l(),p.notifyLayoutAnimationComplete()}))}},t}return(0,n.C6)(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props.visualElement;t.animateMotionValue=tn,t.enableLayoutProjection(),this.unsubLayoutReady=t.onLayoutUpdate(this.animate),t.layoutSafeToRemove=function(){return e.safeToRemove()},function(e){for(var t in e)D[t]=e[t]}(xo)},t.prototype.componentWillUnmount=function(){var e=this;this.unsubLayoutReady(),In((function(t){var r,n;return null===(n=(r=e.stopAxisAnimation)[t])||void 0===n?void 0:n.call(r)}))},t.prototype.animateAxis=function(e,t,r,n){var o,a,i=this,s=void 0===n?{}:n,u=s.transition,l=s.isRelative;if(!this.isAnimating[e]||!To(t,this.currentAnimationTarget[e])){null===(a=(o=this.stopAxisAnimation)[e])||void 0===a||a.call(o),this.isAnimating[e]=!0;var c=this.props.visualElement,f=this.frameTarget[e],d=c.getProjectionAnimationProgress()[e];d.clearListeners(),d.set(0),d.set(0);var p=function(){var n=d.get()/1e3;!function(e,t,r,n){e.min=St(t.min,r.min,n),e.max=St(t.max,r.max,n)}(f,r,t,n),c.setProjectionTargetAxis(e,f.min,f.max,l)};p();var h=d.onChange(p);this.stopAxisAnimation[e]=function(){i.isAnimating[e]=!1,d.stop(),h()},this.currentAnimationTarget[e]=t;var v=u||c.getDefaultTransition()||Ro;return tn("x"===e?"layoutX":"layoutY",d,1e3,v&&en(v,"layout")).then(this.stopAxisAnimation[e])}},t.prototype.safeToRemove=function(){var e,t;null===(t=(e=this.props).safeToRemove)||void 0===t||t.call(e)},t.prototype.render=function(){return null},t}(o.Component),Po={min:0,max:0};function Eo(e){return To(e.x,Po)&&To(e.y,Po)}function To(e,t){return e.min===t.min&&e.max===t.max}var Ro={duration:.45,ease:[.4,0,.1,1]},Oo=r(5954),Fo=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,n.C6)(t,e),t.prototype.componentDidMount=function(){var e=this.props,t=e.syncLayout,r=e.framerSyncLayout,n=e.visualElement;(0,Oo.mt)(t)&&t.register(n),(0,Oo.mt)(r)&&r.register(n),n.onUnmount((function(){(0,Oo.mt)(t)&&t.remove(n),(0,Oo.mt)(r)&&r.remove(n)}))},t.prototype.getSnapshotBeforeUpdate=function(){var e=this.props,t=e.syncLayout,r=e.visualElement;return(0,Oo.mt)(t)?t.syncUpdate():((0,Kn.AV)(r),t.add(r)),null},t.prototype.componentDidUpdate=function(){var e=this.props.syncLayout;(0,Oo.mt)(e)||e.flush()},t.prototype.render=function(){return null},t}(a().Component),Lo={measureLayout:function(e){var t=(0,o.useContext)(Oo.R2),r=(0,o.useContext)(Oo.vR);return a().createElement(Fo,(0,n.Cl)({},e,{syncLayout:t,framerSyncLayout:r}))},layoutAnimation:function(e){var t=(0,n.zs)(v(),2)[1];return o.createElement(Co,(0,n.Cl)({},e,{safeToRemove:t}))}};function Do(){return{isHydrated:!1,layout:(0,Mn.$Z)(),layoutCorrected:(0,Mn.$Z)(),treeScale:{x:1,y:1},delta:(0,Mn.pU)(),deltaFinal:(0,Mn.pU)(),deltaTransform:""}}var Mo=Do();function Io(e,t,r){var n=e.x,o=e.y,a="translate3d("+n.translate/t.x+"px, "+o.translate/t.y+"px, 0) ";if(r){var i=r.rotate,s=r.rotateX,u=r.rotateY;i&&(a+="rotate("+i+") "),s&&(a+="rotateX("+s+") "),u&&(a+="rotateY("+u+") ")}return a+="scale("+n.scale+", "+o.scale+")",r||a!==No?a:""}function jo(e){var t=e.deltaFinal;return 100*t.x.origin+"% "+100*t.y.origin+"% 0"}var No=Io(Mo.delta,Mo.treeScale,{x:1,y:1}),qo=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","SetAxisTarget","Unmount"];var Bo=r(6014),Uo=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(e){rn(this.children,e),this.isDirty=!0},e.prototype.remove=function(e){nn(this.children,e),this.isDirty=!0},e.prototype.forEach=function(e){this.isDirty&&this.children.sort(Bo.u),this.isDirty=!1,this.children.forEach(e)},e}(),zo=function(e){var t=e.treeType,r=void 0===t?"":t,o=e.build,a=e.getBaseTarget,i=e.makeTargetAnimatable,s=e.measureViewportBox,u=e.render,l=e.readValueFromInstance,c=e.resetTransform,f=e.restoreTransform,d=e.removeValueFromRenderState,p=e.sortNodePosition,h=e.scrapeMotionValuesFromProps;return function(e,t){var v=e.parent,m=e.props,g=e.presenceId,y=e.blockInitialAnimation,b=e.visualState;void 0===t&&(t={});var w,_,A,S,x,C,T=b.latestValues,R=b.renderState,O=function(){var e=qo.map((function(){return new on})),t={},r={clearAllListeners:function(){return e.forEach((function(e){return e.clear()}))},updatePropListeners:function(e){return qo.forEach((function(n){var o;null===(o=t[n])||void 0===o||o.call(t);var a="on"+n,i=e[a];i&&(t[n]=r[a](i))}))}};return e.forEach((function(e,t){r["on"+qo[t]]=function(t){return e.add(t)},r["notify"+qo[t]]=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return e.notify.apply(e,(0,n.fX)([],(0,n.zs)(t)))}})),r}(),F={isEnabled:!1,isHydrated:!1,isTargetLocked:!1,target:(0,Mn.$Z)(),targetFinal:(0,Mn.$Z)()},L=F,D=T,M=Do(),I=!1,j=new Map,N=new Map,q={},B=(0,n.Cl)({},T);function U(){w&&(J.isProjectionReady()&&(so(L.targetFinal,L.target,D),Gn(M.deltaFinal,M.layoutCorrected,L.targetFinal,T)),z(),u(w,R))}function z(){var e=T;if(S&&S.isActive()){var r=S.getCrossfadeState(J);r&&(e=r)}o(J,R,e,L,M,t,m)}function W(){O.notifyUpdate(T)}function H(){J.layoutTree.forEach(Wo)}var G=h(m);for(var X in G){var Y=G[X];void 0!==T[X]&&V(Y)&&Y.set(T[X],!1)}var K=P(m),$=E(m),J=(0,n.Cl)((0,n.Cl)({treeType:r,current:null,depth:v?v.depth+1:0,parent:v,children:new Set,path:v?(0,n.fX)((0,n.fX)([],(0,n.zs)(v.path)),[v]):[],layoutTree:v?v.layoutTree:new Uo,presenceId:g,projection:F,variantChildren:$?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(null==v?void 0:v.isMounted()),blockInitialAnimation:y,isMounted:function(){return Boolean(w)},mount:function(e){w=J.current=e,J.pointTo(J),$&&v&&!K&&(C=null==v?void 0:v.addVariantChild(J)),null==v||v.children.add(J)},unmount:function(){Sr.eO.update(W),Sr.eO.render(U),Sr.eO.preRender(J.updateLayoutProjection),N.forEach((function(e){return e()})),J.stopLayoutAnimation(),J.layoutTree.remove(J),null==C||C(),null==v||v.children.delete(J),null==A||A(),O.clearAllListeners()},addVariantChild:function(e){var t,r=J.getClosestVariantNode();if(r)return null===(t=r.variantChildren)||void 0===t||t.add(e),function(){return r.variantChildren.delete(e)}},sortNodePosition:function(e){return p&&r===e.treeType?p(J.getInstance(),e.getInstance()):0},getClosestVariantNode:function(){return $?J:null==v?void 0:v.getClosestVariantNode()},scheduleUpdateLayoutProjection:v?v.scheduleUpdateLayoutProjection:function(){return Sr.Ay.preRender(J.updateTreeLayoutProjection,!1,!0)},getLayoutId:function(){return m.layoutId},getInstance:function(){return w},getStaticValue:function(e){return T[e]},setStaticValue:function(e,t){return T[e]=t},getLatestValues:function(){return T},setVisibility:function(e){J.isVisible!==e&&(J.isVisible=e,J.scheduleRender())},makeTargetAnimatable:function(e,t){return void 0===t&&(t=!0),i(J,e,m,t)},addValue:function(e,t){J.hasValue(e)&&J.removeValue(e),j.set(e,t),T[e]=t.get(),function(e,t){var r=t.onChange((function(t){T[e]=t,m.onUpdate&&Sr.Ay.update(W,!1,!0)})),n=t.onRenderRequest(J.scheduleRender);N.set(e,(function(){r(),n()}))}(e,t)},removeValue:function(e){var t;j.delete(e),null===(t=N.get(e))||void 0===t||t(),N.delete(e),delete T[e],d(e,R)},hasValue:function(e){return j.has(e)},getValue:function(e,t){var r=j.get(e);return void 0===r&&void 0!==t&&(r=sn(t),J.addValue(e,r)),r},forEachValue:function(e){return j.forEach(e)},readValue:function(e){var r;return null!==(r=T[e])&&void 0!==r?r:l(w,e,t)},setBaseTarget:function(e,t){B[e]=t},getBaseTarget:function(e){if(a){var t=a(m,e);if(void 0!==t&&!V(t))return t}return B[e]}},O),{build:function(){return z(),R},scheduleRender:function(){Sr.Ay.render(U,!1,!0)},syncRender:U,setProps:function(e){m=e,O.updatePropListeners(e),q=function(e,t,r){var n;for(var o in t){var a=t[o],i=r[o];if(V(a))e.addValue(o,a);else if(V(i))e.addValue(o,sn(a));else if(i!==a)if(e.hasValue(o)){var s=e.getValue(o);!s.hasAnimated&&s.set(a)}else e.addValue(o,sn(null!==(n=e.getStaticValue(o))&&void 0!==n?n:a))}for(var o in r)void 0===t[o]&&e.removeValue(o);return t}(J,h(m),q)},getProps:function(){return m},getVariant:function(e){var t;return null===(t=m.variants)||void 0===t?void 0:t[e]},getDefaultTransition:function(){return m.transition},getVariantContext:function(e){if(void 0===e&&(e=!1),e)return null==v?void 0:v.getVariantContext();if(!K){var t=(null==v?void 0:v.getVariantContext())||{};return void 0!==m.initial&&(t.initial=m.initial),t}for(var r={},n=0;n<Xo;n++){var o=Go[n],a=m[o];(k(a)||!1===a)&&(r[o]=a)}return r},enableLayoutProjection:function(){F.isEnabled=!0,J.layoutTree.add(J)},lockProjectionTarget:function(){F.isTargetLocked=!0},unlockProjectionTarget:function(){J.stopLayoutAnimation(),F.isTargetLocked=!1},getLayoutState:function(){return M},setCrossfader:function(e){S=e},isProjectionReady:function(){return F.isEnabled&&F.isHydrated&&M.isHydrated},startLayoutAnimation:function(e,t,r){void 0===r&&(r=!1);var n=J.getProjectionAnimationProgress()[e],o=r?F.relativeTarget[e]:F.target[e],a=o.min,i=o.max-a;return n.clearListeners(),n.set(a),n.set(a),n.onChange((function(t){J.setProjectionTargetAxis(e,t,t+i,r)})),J.animateMotionValue(e,n,0,t)},stopLayoutAnimation:function(){In((function(e){return J.getProjectionAnimationProgress()[e].stop()}))},measureViewportBox:function(e){void 0===e&&(e=!0);var r=s(w,t);return e||co(r,T),r},getProjectionAnimationProgress:function(){return x||(x={x:sn(0),y:sn(0)}),x},setProjectionTargetAxis:function(e,t,r,n){var o;void 0===n&&(n=!1),n?(F.relativeTarget||(F.relativeTarget=(0,Mn.$Z)()),o=F.relativeTarget[e]):(F.relativeTarget=void 0,o=F.target[e]),F.isHydrated=!0,o.min=t,o.max=r,I=!0,O.notifySetAxisTarget()},rebaseProjectionTarget:function(e,t){void 0===t&&(t=M.layout);var r=J.getProjectionAnimationProgress(),n=r.x,o=r.y,a=!(F.relativeTarget||F.isTargetLocked||n.isAnimating()||o.isAnimating());(e||a)&&In((function(e){var r=t[e],n=r.min,o=r.max;J.setProjectionTargetAxis(e,n,o)}))},notifyLayoutReady:function(e){!function(e){var t=e.getProjectionParent();if(t){var r=Jn(t.getLayoutState().layout,e.getLayoutState().layout);In((function(t){e.setProjectionTargetAxis(t,r[t].min,r[t].max,!0)}))}else e.rebaseProjectionTarget()}(J),J.notifyLayoutUpdate(M.layout,J.prevViewportBox||M.layout,e)},resetTransform:function(){return c(J,w,m)},restoreTransform:function(){return f(w,R)},updateLayoutProjection:function(){if(J.isProjectionReady()){var e=M.delta,t=M.treeScale,r=t.x,n=t.y,o=M.deltaTransform;(function(e,t,r,n){var o,a,i=e.delta,s=e.layout,u=e.layoutCorrected,l=e.treeScale,c=t.target;a=s,Zn((o=u).x,a.x),Zn(o.y,a.y),function(e,t,r){var n=r.length;if(n){var o,a;t.x=t.y=1;for(var i=0;i<n;i++)a=(o=r[i]).getLayoutState().delta,t.x*=a.x.scale,t.y*=a.y.scale,no(e,a),Qn(o)&&so(e,e,o.getLatestValues())}}(u,l,r),Gn(i,u,c,n)})(M,L,J.path,T),I&&J.notifyViewportBoxUpdate(L.target,e),I=!1;var a=Io(e,t);a===o&&r===t.x&&n===t.y||J.scheduleRender(),M.deltaTransform=a}},updateTreeLayoutProjection:function(){J.layoutTree.forEach(Vo),Sr.Ay.preRender(H,!1,!0)},getProjectionParent:function(){if(void 0===_){for(var e=!1,t=J.path.length-1;t>=0;t--){var r=J.path[t];if(r.projection.isEnabled){e=r;break}}_=e}return _},resolveRelativeTargetBox:function(){var e=J.getProjectionParent();if(F.relativeTarget&&e&&(function(e,t){Yn(e.target.x,e.relativeTarget.x,t.target.x),Yn(e.target.y,e.relativeTarget.y,t.target.y)}(F,e.projection),Qn(e))){var t=F.target;so(t,t,e.getLatestValues())}},shouldResetTransform:function(){return Boolean(m._layoutResetTransform)},pointTo:function(e){L=e.projection,D=e.getLatestValues(),null==A||A(),A=ct(e.onSetAxisTarget(J.scheduleUpdateLayoutProjection),e.onLayoutAnimationComplete((function(){var e;J.isPresent?J.presence=yo.C.Present:null===(e=J.layoutSafeToRemove)||void 0===e||e.call(J)})))},isPresent:!0,presence:yo.C.Entering});return J}};function Vo(e){e.resolveRelativeTargetBox()}function Wo(e){e.updateLayoutProjection()}var Ho,Go=(0,n.fX)(["initial"],(0,n.zs)(yn)),Xo=Go.length,Yo=new Set(["width","height","top","left","right","bottom","x","y"]),Ko=function(e){return Yo.has(e)},$o=function(e,t){e.set(t,!1),e.set(t)},Jo=function(e){return e===ie||e===re};!function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"}(Ho||(Ho={}));var Qo=function(e,t){return parseFloat(e.split(", ")[t])},Zo=function(e,t){return function(r,n){var o=n.transform;if("none"===o||!o)return 0;var a=o.match(/^matrix3d\((.+)\)$/);if(a)return Qo(a[1],t);var i=o.match(/^matrix\((.+)\)$/);return i?Qo(i[1],e):0}},ea=new Set(["x","y","z"]),ta=I.filter((function(e){return!ea.has(e)})),ra={width:function(e){var t=e.x;return t.max-t.min},height:function(e){var t=e.y;return t.max-t.min},top:function(e,t){var r=t.top;return parseFloat(r)},left:function(e,t){var r=t.left;return parseFloat(r)},bottom:function(e,t){var r=e.y,n=t.top;return parseFloat(n)+(r.max-r.min)},right:function(e,t){var r=e.x,n=t.left;return parseFloat(n)+(r.max-r.min)},x:Zo(4,13),y:Zo(5,14)};function na(e,t,r,o){return function(e){return Object.keys(e).some(Ko)}(t)?function(e,t,r,o){void 0===r&&(r={}),void 0===o&&(o={}),t=(0,n.Cl)({},t),o=(0,n.Cl)({},o);var a=Object.keys(t).filter(Ko),i=[],s=!1,u=[];if(a.forEach((function(n){var a=e.getValue(n);if(e.hasValue(n)){var l,c=r[n],f=t[n],d=cn(c);if(De(f))for(var p=f.length,h=null===f[0]?1:0;h<p;h++)l?cn(f[h]):(l=cn(f[h]))===d||Jo(d)&&Jo(l);else l=cn(f);if(d!==l)if(Jo(d)&&Jo(l)){var v=a.get();"string"==typeof v&&a.set(parseFloat(v)),"string"==typeof f?t[n]=parseFloat(f):Array.isArray(f)&&l===re&&(t[n]=f.map(parseFloat))}else(null==d?void 0:d.transform)&&(null==l?void 0:l.transform)&&(0===c||0===f)?0===c?a.set(l.transform(c)):t[n]=d.transform(f):(s||(i=function(e){var t=[];return ta.forEach((function(r){var n=e.getValue(r);void 0!==n&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))})),t.length&&e.syncRender(),t}(e),s=!0),u.push(n),o[n]=void 0!==o[n]?o[n]:t[n],$o(a,f))}})),u.length){var l=function(e,t,r){var n=t.measureViewportBox(),o=t.getInstance(),a=getComputedStyle(o),i=a.display,s={top:a.top,left:a.left,bottom:a.bottom,right:a.right,transform:a.transform};"none"===i&&t.setStaticValue("display",e.display||"block"),t.syncRender();var u=t.measureViewportBox();return r.forEach((function(r){var o=t.getValue(r);$o(o,ra[r](n,s)),e[r]=ra[r](u,a)})),e}(t,e,u);return i.length&&i.forEach((function(t){var r=(0,n.zs)(t,2),o=r[0],a=r[1];e.getValue(o).set(a)})),e.syncRender(),{target:l,transitionEnd:o}}return{target:t,transitionEnd:o}}(e,t,r,o):{target:t,transitionEnd:o}}var oa={treeType:"dom",readValueFromInstance:function(e,t){if(q(t)){var r=Kr(t);return r&&r.default||0}var n,o=(n=e,window.getComputedStyle(n));return(H(t)?o.getPropertyValue(t):o[t])||0},sortNodePosition:function(e,t){return 2&e.compareDocumentPosition(t)?1:-1},getBaseTarget:function(e,t){var r;return null===(r=e.style)||void 0===r?void 0:r[t]},measureViewportBox:function(e,t){return zn(e,t.transformPagePoint)},resetTransform:function(e,t,r){var n=r.transformTemplate;t.style.transform=n?n({},""):"none",e.scheduleRender()},restoreTransform:function(e,t){e.style.transform=t.style.transform},removeValueFromRenderState:function(e,t){var r=t.vars,n=t.style;delete r[e],delete n[e]},makeTargetAnimatable:function(e,t,r,o){var a=r.transformValues;void 0===o&&(o=!0);var i=t.transition,s=t.transitionEnd,u=(0,n.Tt)(t,["transition","transitionEnd"]),l=function(e,t,r){var n,o,a={};for(var i in e)a[i]=null!==(n=pn(i,t))&&void 0!==n?n:null===(o=r.getValue(i))||void 0===o?void 0:o.get();return a}(u,i||{},e);if(a&&(s&&(s=a(s)),u&&(u=a(u)),l&&(l=a(l))),o){!function(e,t,r){var n,o,a,i,s,u=Object.keys(t).filter((function(t){return!e.hasValue(t)})),l=u.length;if(l)for(var c=0;c<l;c++){var f=u[c],d=t[f],p=null;Array.isArray(d)&&(p=d[0]),null===p&&(p=null!==(o=null!==(n=r[f])&&void 0!==n?n:e.readValue(f))&&void 0!==o?o:t[f]),null!=p&&("string"==typeof p&&/^\-?\d*\.?\d+$/.test(p)?p=parseFloat(p):(s=p,!fn.find(un(s))&&Vt.test(d)&&(p=$r(f,d))),e.addValue(f,sn(p)),null!==(a=(i=r)[f])&&void 0!==a||(i[f]=p),e.setBaseTarget(f,p))}}(e,u,l);var c=function(e,t,r,o){var a=function(e,t,r){var o,a=(0,n.Tt)(t,[]),i=e.getInstance();if(!(i instanceof HTMLElement))return{target:a,transitionEnd:r};for(var s in r&&(r=(0,n.Cl)({},r)),e.forEachValue((function(e){var t=e.get();if(bo(t)){var r=_o(t,i);r&&e.set(r)}})),a){var u=a[s];if(bo(u)){var l=_o(u,i);l&&(a[s]=l,r&&(null!==(o=r[s])&&void 0!==o||(r[s]=u)))}}return{target:a,transitionEnd:r}}(e,t,o);return na(e,t=a.target,r,o=a.transitionEnd)}(e,u,l,s);s=c.transitionEnd,u=c.target}return(0,n.Cl)({transition:i,transitionEnd:s},u)},scrapeMotionValuesFromProps:Oe,build:function(e,t,r,n,o,a,i){void 0!==e.isVisible&&(t.style.visibility=e.isVisible?"visible":"hidden");var s=n.isEnabled&&o.isHydrated;fe(t,r,n,o,a,i.transformTemplate,s?Io:void 0,s?jo:void 0)},render:Ee},aa=zo(oa),ia=zo((0,n.Cl)((0,n.Cl)({},oa),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var r;return q(t)?(null===(r=Kr(t))||void 0===r?void 0:r.default)||0:(t=Te.has(t)?t:Pe(t),e.getAttribute(t))},scrapeMotionValuesFromProps:Fe,build:function(e,t,r,n,o,a,i){var s=n.isEnabled&&o.isHydrated;Ae(t,r,n,o,a,i.transformTemplate,s?Io:void 0,s?jo:void 0)},render:Re})),sa=function(e,t){return L(e)?ia(t,{enableHardwareAcceleration:!1}):aa(t,{enableHardwareAcceleration:!0})},ua=(0,n.Cl)((0,n.Cl)((0,n.Cl)((0,n.Cl)({},Sn),dt),go),Lo),la=O((function(e,t){return function(e,t,r,o){var a=t.forwardMotionProps,i=void 0!==a&&a,s=L(e)?qe:Be;return(0,n.Cl)((0,n.Cl)({},s),{preloadedFeatures:r,useRender:xe(i),createVisualElement:o,Component:e})}(e,t,ua,sa)}))},2405:function(e,t,r){"use strict";r.d(t,{AV:function(){return c},QS:function(){return l},kP:function(){return s},nP:function(){return u}});var n=r(4181),o=r(6466),a=r(6014);function i(e){return e.projection.isEnabled||e.shouldResetTransform()}function s(e,t){void 0===t&&(t=[]);var r=e.parent;return r&&s(r,t),i(e)&&t.push(e),t}function u(e){var t=[],r=function(e){i(e)&&t.push(e),e.children.forEach(r)};return e.children.forEach(r),t.sort(a.u)}function l(e){if(!e.shouldResetTransform()){var t=e.getLayoutState();e.notifyBeforeLayoutMeasure(t.layout),t.isHydrated=!0,t.layout=e.measureViewportBox(),t.layoutCorrected=(0,o.YM)(t.layout),e.notifyLayoutMeasure(t.layout,e.prevViewportBox||t.layout),n.Ay.update((function(){return e.rebaseProjectionTarget()}))}}function c(e){e.shouldResetTransform()||(e.prevViewportBox=e.measureViewportBox(!1),e.rebaseProjectionTarget(!1,e.prevViewportBox))}},4813:function(e,t,r){"use strict";r.d(t,{L:function(){return i},V:function(){return a}});var n=new Set;function o(e,t,r){e[r]||(e[r]=[]),e[r].push(t)}function a(e){return n.add(e),function(){return n.delete(e)}}function i(){if(n.size){var e=0,t=[[]],r=[],a=function(r){return o(t,r,e)},i=function(t){o(r,t,e),e++};n.forEach((function(t){t(a,i),e=0})),n.clear();for(var u=r.length,l=0;l<=u;l++)t[l]&&t[l].forEach(s),r[l]&&r[l].forEach(s)}}var s=function(e){return e()}},6014:function(e,t,r){"use strict";r.d(t,{u:function(){return n}});var n=function(e,t){return e.depth-t.depth}},6466:function(e,t,r){"use strict";r.d(t,{$Z:function(){return u},Wy:function(){return i},MM:function(){return a},YM:function(){return l},pU:function(){return f},YT:function(){return s}});var n=r(5608);function o(e){return e}function a(e){var t=e.top;return{x:{min:e.left,max:e.right},y:{min:t,max:e.bottom}}}function i(e){var t=e.x,r=e.y;return{top:r.min,bottom:r.max,left:t.min,right:t.max}}function s(e,t){var r=e.top,n=e.left,a=e.bottom,i=e.right;void 0===t&&(t=o);var s=t({x:n,y:r}),u=t({x:i,y:a});return{top:s.y,left:s.x,bottom:u.y,right:u.x}}function u(){return{x:{min:0,max:1},y:{min:0,max:1}}}function l(e){return{x:(0,n.Cl)({},e.x),y:(0,n.Cl)({},e.y)}}var c={translate:0,scale:1,origin:0,originPoint:0};function f(){return{x:(0,n.Cl)({},c),y:(0,n.Cl)({},c)}}},6328:function(e,t,r){"use strict";r.d(t,{M:function(){return o}});var n=r(1594);function o(e){var t=(0,n.useRef)(null);return null===t.current&&(t.current=e()),t.current}},2898:function(e,t,r){"use strict";r.d(t,{l:function(){return o}});var n=r(1594);function o(e){return(0,n.useEffect)((function(){return function(){return e()}}),[])}},4181:function(e,t,r){"use strict";r.d(t,{eO:function(){return p},Ay:function(){return b},qX:function(){return h},KK:function(){return y}});var n=1/60*1e3,o="undefined"!=typeof performance?function(){return performance.now()}:function(){return Date.now()},a="undefined"!=typeof window?function(e){return window.requestAnimationFrame(e)}:function(e){return setTimeout((function(){return e(o())}),n)},i=!0,s=!1,u=!1,l={delta:0,timestamp:0},c=["read","update","preRender","render","postRender"],f=c.reduce((function(e,t){return e[t]=function(e){var t=[],r=[],n=0,o=!1,a=new WeakSet,i={schedule:function(e,i,s){void 0===i&&(i=!1),void 0===s&&(s=!1);var u=s&&o,l=u?t:r;return i&&a.add(e),-1===l.indexOf(e)&&(l.push(e),u&&o&&(n=t.length)),e},cancel:function(e){var t=r.indexOf(e);-1!==t&&r.splice(t,1),a.delete(e)},process:function(s){var u;if(o=!0,t=(u=[r,t])[0],(r=u[1]).length=0,n=t.length)for(var l=0;l<n;l++){var c=t[l];c(s),a.has(c)&&(i.schedule(c),e())}o=!1}};return i}((function(){return s=!0})),e}),{}),d=c.reduce((function(e,t){var r=f[t];return e[t]=function(e,t,n){return void 0===t&&(t=!1),void 0===n&&(n=!1),s||g(),r.schedule(e,t,n)},e}),{}),p=c.reduce((function(e,t){return e[t]=f[t].cancel,e}),{}),h=c.reduce((function(e,t){return e[t]=function(){return f[t].process(l)},e}),{}),v=function(e){return f[e].process(l)},m=function(e){s=!1,l.delta=i?n:Math.max(Math.min(e-l.timestamp,40),1),l.timestamp=e,u=!0,c.forEach(v),u=!1,s&&(i=!1,a(m))},g=function(){s=!0,i=!0,u||a(m)},y=function(){return l},b=d},5985:function(e,t,r){"use strict";var n=r(524),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(e){return n.isMemo(e)?i:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=i;var l=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(h){var o=p(r);o&&o!==h&&e(t,o,n)}var i=c(r);f&&(i=i.concat(f(r)));for(var s=u(t),v=u(r),m=0;m<i.length;++m){var g=i[m];if(!(a[g]||n&&n[g]||v&&v[g]||s&&s[g])){var y=d(r,g);try{l(t,g,y)}catch(e){}}}}return t}},1509:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var o=r(8331),a=r(9711),i=r(8531),s=n(n({},o.namedReferences),{all:o.namedReferences.html5});function u(e,t,r){t.lastIndex=0;var n,o=t.exec(e);if(o){n="";var a=0;do{a!==o.index&&(n+=e.substring(a,o.index));var i=o[0];n+=r(i),a=o.index+i.length}while(o=t.exec(e));a!==e.length&&(n+=e.substring(a))}else n=e;return n}var l={specialChars:/[<>'"&]/g,nonAscii:/[<>'"&\u0080-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,nonAsciiPrintable:/[<>'"&\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,nonAsciiPrintableOnly:/[\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,extensive:/[\x01-\x0c\x0e-\x1f\x21-\x2c\x2e-\x2f\x3a-\x40\x5b-\x60\x7b-\x7d\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g},c={mode:"specialChars",level:"all",numeric:"decimal"};t.encode=function(e,t){var r=void 0===t?c:t,n=r.mode,o=void 0===n?"specialChars":n,a=r.numeric,f=void 0===a?"decimal":a,d=r.level;if(!e)return"";var p=l[o],h=s[void 0===d?"all":d].characters,v="hexadecimal"===f;return u(e,p,(function(e){var t=h[e];if(!t){var r=e.length>1?i.getCodePoint(e,0):e.charCodeAt(0);t=(v?"&#x"+r.toString(16):"&#"+r)+";"}return t}))};var f={scope:"body",level:"all"},d=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);/g,p=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+)[;=]?/g,h={xml:{strict:d,attribute:p,body:o.bodyRegExps.xml},html4:{strict:d,attribute:p,body:o.bodyRegExps.html4},html5:{strict:d,attribute:p,body:o.bodyRegExps.html5}},v=n(n({},h),{all:h.html5}),m=String.fromCharCode,g=m(65533),y={level:"all"};function b(e,t,r,n){var o=e,s=e[e.length-1];if(r&&"="===s)o=e;else if(n&&";"!==s)o=e;else{var u=t[e];if(u)o=u;else if("&"===e[0]&&"#"===e[1]){var l=e[2],c="x"==l||"X"==l?parseInt(e.substr(3),16):parseInt(e.substr(2));o=c>=1114111?g:c>65535?i.fromCodePoint(c):m(a.numericUnicodeMap[c]||c)}}return o}t.decodeEntity=function(e,t){var r=(void 0===t?y:t).level;return e?b(e,s[void 0===r?"all":r].entities,!1,!1):""},t.decode=function(e,t){var r=void 0===t?f:t,n=r.level,o=void 0===n?"all":n,a=r.scope,i=void 0===a?"xml"===o?"strict":"body":a;if(!e)return"";var l=v[o][i],c=s[o].entities,d="attribute"===i,p="strict"===i;return u(e,l,(function(e){return b(e,c,d,p)}))}},8331:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bodyRegExps={xml:/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html4:/&notin;|&(?:nbsp|iexcl|cent|pound|curren|yen|brvbar|sect|uml|copy|ordf|laquo|not|shy|reg|macr|deg|plusmn|sup2|sup3|acute|micro|para|middot|cedil|sup1|ordm|raquo|frac14|frac12|frac34|iquest|Agrave|Aacute|Acirc|Atilde|Auml|Aring|AElig|Ccedil|Egrave|Eacute|Ecirc|Euml|Igrave|Iacute|Icirc|Iuml|ETH|Ntilde|Ograve|Oacute|Ocirc|Otilde|Ouml|times|Oslash|Ugrave|Uacute|Ucirc|Uuml|Yacute|THORN|szlig|agrave|aacute|acirc|atilde|auml|aring|aelig|ccedil|egrave|eacute|ecirc|euml|igrave|iacute|icirc|iuml|eth|ntilde|ograve|oacute|ocirc|otilde|ouml|divide|oslash|ugrave|uacute|ucirc|uuml|yacute|thorn|yuml|quot|amp|lt|gt|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html5:/&centerdot;|&copysr;|&divideontimes;|&gtcc;|&gtcir;|&gtdot;|&gtlPar;|&gtquest;|&gtrapprox;|&gtrarr;|&gtrdot;|&gtreqless;|&gtreqqless;|&gtrless;|&gtrsim;|&ltcc;|&ltcir;|&ltdot;|&lthree;|&ltimes;|&ltlarr;|&ltquest;|&ltrPar;|&ltri;|&ltrie;|&ltrif;|&notin;|&notinE;|&notindot;|&notinva;|&notinvb;|&notinvc;|&notni;|&notniva;|&notnivb;|&notnivc;|&parallel;|&timesb;|&timesbar;|&timesd;|&(?:AElig|AMP|Aacute|Acirc|Agrave|Aring|Atilde|Auml|COPY|Ccedil|ETH|Eacute|Ecirc|Egrave|Euml|GT|Iacute|Icirc|Igrave|Iuml|LT|Ntilde|Oacute|Ocirc|Ograve|Oslash|Otilde|Ouml|QUOT|REG|THORN|Uacute|Ucirc|Ugrave|Uuml|Yacute|aacute|acirc|acute|aelig|agrave|amp|aring|atilde|auml|brvbar|ccedil|cedil|cent|copy|curren|deg|divide|eacute|ecirc|egrave|eth|euml|frac12|frac14|frac34|gt|iacute|icirc|iexcl|igrave|iquest|iuml|laquo|lt|macr|micro|middot|nbsp|not|ntilde|oacute|ocirc|ograve|ordf|ordm|oslash|otilde|ouml|para|plusmn|pound|quot|raquo|reg|sect|shy|sup1|sup2|sup3|szlig|thorn|times|uacute|ucirc|ugrave|uml|uuml|yacute|yen|yuml|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g},t.namedReferences={xml:{entities:{"&lt;":"<","&gt;":">","&quot;":'"',"&apos;":"'","&amp;":"&"},characters:{"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;","&":"&amp;"}},html4:{entities:{"&apos;":"'","&nbsp":" ","&nbsp;":" ","&iexcl":"¡","&iexcl;":"¡","&cent":"¢","&cent;":"¢","&pound":"£","&pound;":"£","&curren":"¤","&curren;":"¤","&yen":"¥","&yen;":"¥","&brvbar":"¦","&brvbar;":"¦","&sect":"§","&sect;":"§","&uml":"¨","&uml;":"¨","&copy":"©","&copy;":"©","&ordf":"ª","&ordf;":"ª","&laquo":"«","&laquo;":"«","&not":"¬","&not;":"¬","&shy":"­","&shy;":"­","&reg":"®","&reg;":"®","&macr":"¯","&macr;":"¯","&deg":"°","&deg;":"°","&plusmn":"±","&plusmn;":"±","&sup2":"²","&sup2;":"²","&sup3":"³","&sup3;":"³","&acute":"´","&acute;":"´","&micro":"µ","&micro;":"µ","&para":"¶","&para;":"¶","&middot":"·","&middot;":"·","&cedil":"¸","&cedil;":"¸","&sup1":"¹","&sup1;":"¹","&ordm":"º","&ordm;":"º","&raquo":"»","&raquo;":"»","&frac14":"¼","&frac14;":"¼","&frac12":"½","&frac12;":"½","&frac34":"¾","&frac34;":"¾","&iquest":"¿","&iquest;":"¿","&Agrave":"À","&Agrave;":"À","&Aacute":"Á","&Aacute;":"Á","&Acirc":"Â","&Acirc;":"Â","&Atilde":"Ã","&Atilde;":"Ã","&Auml":"Ä","&Auml;":"Ä","&Aring":"Å","&Aring;":"Å","&AElig":"Æ","&AElig;":"Æ","&Ccedil":"Ç","&Ccedil;":"Ç","&Egrave":"È","&Egrave;":"È","&Eacute":"É","&Eacute;":"É","&Ecirc":"Ê","&Ecirc;":"Ê","&Euml":"Ë","&Euml;":"Ë","&Igrave":"Ì","&Igrave;":"Ì","&Iacute":"Í","&Iacute;":"Í","&Icirc":"Î","&Icirc;":"Î","&Iuml":"Ï","&Iuml;":"Ï","&ETH":"Ð","&ETH;":"Ð","&Ntilde":"Ñ","&Ntilde;":"Ñ","&Ograve":"Ò","&Ograve;":"Ò","&Oacute":"Ó","&Oacute;":"Ó","&Ocirc":"Ô","&Ocirc;":"Ô","&Otilde":"Õ","&Otilde;":"Õ","&Ouml":"Ö","&Ouml;":"Ö","&times":"×","&times;":"×","&Oslash":"Ø","&Oslash;":"Ø","&Ugrave":"Ù","&Ugrave;":"Ù","&Uacute":"Ú","&Uacute;":"Ú","&Ucirc":"Û","&Ucirc;":"Û","&Uuml":"Ü","&Uuml;":"Ü","&Yacute":"Ý","&Yacute;":"Ý","&THORN":"Þ","&THORN;":"Þ","&szlig":"ß","&szlig;":"ß","&agrave":"à","&agrave;":"à","&aacute":"á","&aacute;":"á","&acirc":"â","&acirc;":"â","&atilde":"ã","&atilde;":"ã","&auml":"ä","&auml;":"ä","&aring":"å","&aring;":"å","&aelig":"æ","&aelig;":"æ","&ccedil":"ç","&ccedil;":"ç","&egrave":"è","&egrave;":"è","&eacute":"é","&eacute;":"é","&ecirc":"ê","&ecirc;":"ê","&euml":"ë","&euml;":"ë","&igrave":"ì","&igrave;":"ì","&iacute":"í","&iacute;":"í","&icirc":"î","&icirc;":"î","&iuml":"ï","&iuml;":"ï","&eth":"ð","&eth;":"ð","&ntilde":"ñ","&ntilde;":"ñ","&ograve":"ò","&ograve;":"ò","&oacute":"ó","&oacute;":"ó","&ocirc":"ô","&ocirc;":"ô","&otilde":"õ","&otilde;":"õ","&ouml":"ö","&ouml;":"ö","&divide":"÷","&divide;":"÷","&oslash":"ø","&oslash;":"ø","&ugrave":"ù","&ugrave;":"ù","&uacute":"ú","&uacute;":"ú","&ucirc":"û","&ucirc;":"û","&uuml":"ü","&uuml;":"ü","&yacute":"ý","&yacute;":"ý","&thorn":"þ","&thorn;":"þ","&yuml":"ÿ","&yuml;":"ÿ","&quot":'"',"&quot;":'"',"&amp":"&","&amp;":"&","&lt":"<","&lt;":"<","&gt":">","&gt;":">","&OElig;":"Œ","&oelig;":"œ","&Scaron;":"Š","&scaron;":"š","&Yuml;":"Ÿ","&circ;":"ˆ","&tilde;":"˜","&ensp;":" ","&emsp;":" ","&thinsp;":" ","&zwnj;":"‌","&zwj;":"‍","&lrm;":"‎","&rlm;":"‏","&ndash;":"–","&mdash;":"—","&lsquo;":"‘","&rsquo;":"’","&sbquo;":"‚","&ldquo;":"“","&rdquo;":"”","&bdquo;":"„","&dagger;":"†","&Dagger;":"‡","&permil;":"‰","&lsaquo;":"‹","&rsaquo;":"›","&euro;":"€","&fnof;":"ƒ","&Alpha;":"Α","&Beta;":"Β","&Gamma;":"Γ","&Delta;":"Δ","&Epsilon;":"Ε","&Zeta;":"Ζ","&Eta;":"Η","&Theta;":"Θ","&Iota;":"Ι","&Kappa;":"Κ","&Lambda;":"Λ","&Mu;":"Μ","&Nu;":"Ν","&Xi;":"Ξ","&Omicron;":"Ο","&Pi;":"Π","&Rho;":"Ρ","&Sigma;":"Σ","&Tau;":"Τ","&Upsilon;":"Υ","&Phi;":"Φ","&Chi;":"Χ","&Psi;":"Ψ","&Omega;":"Ω","&alpha;":"α","&beta;":"β","&gamma;":"γ","&delta;":"δ","&epsilon;":"ε","&zeta;":"ζ","&eta;":"η","&theta;":"θ","&iota;":"ι","&kappa;":"κ","&lambda;":"λ","&mu;":"μ","&nu;":"ν","&xi;":"ξ","&omicron;":"ο","&pi;":"π","&rho;":"ρ","&sigmaf;":"ς","&sigma;":"σ","&tau;":"τ","&upsilon;":"υ","&phi;":"φ","&chi;":"χ","&psi;":"ψ","&omega;":"ω","&thetasym;":"ϑ","&upsih;":"ϒ","&piv;":"ϖ","&bull;":"•","&hellip;":"…","&prime;":"′","&Prime;":"″","&oline;":"‾","&frasl;":"⁄","&weierp;":"℘","&image;":"ℑ","&real;":"ℜ","&trade;":"™","&alefsym;":"ℵ","&larr;":"←","&uarr;":"↑","&rarr;":"→","&darr;":"↓","&harr;":"↔","&crarr;":"↵","&lArr;":"⇐","&uArr;":"⇑","&rArr;":"⇒","&dArr;":"⇓","&hArr;":"⇔","&forall;":"∀","&part;":"∂","&exist;":"∃","&empty;":"∅","&nabla;":"∇","&isin;":"∈","&notin;":"∉","&ni;":"∋","&prod;":"∏","&sum;":"∑","&minus;":"−","&lowast;":"∗","&radic;":"√","&prop;":"∝","&infin;":"∞","&ang;":"∠","&and;":"∧","&or;":"∨","&cap;":"∩","&cup;":"∪","&int;":"∫","&there4;":"∴","&sim;":"∼","&cong;":"≅","&asymp;":"≈","&ne;":"≠","&equiv;":"≡","&le;":"≤","&ge;":"≥","&sub;":"⊂","&sup;":"⊃","&nsub;":"⊄","&sube;":"⊆","&supe;":"⊇","&oplus;":"⊕","&otimes;":"⊗","&perp;":"⊥","&sdot;":"⋅","&lceil;":"⌈","&rceil;":"⌉","&lfloor;":"⌊","&rfloor;":"⌋","&lang;":"〈","&rang;":"〉","&loz;":"◊","&spades;":"♠","&clubs;":"♣","&hearts;":"♥","&diams;":"♦"},characters:{"'":"&apos;"," ":"&nbsp;","¡":"&iexcl;","¢":"&cent;","£":"&pound;","¤":"&curren;","¥":"&yen;","¦":"&brvbar;","§":"&sect;","¨":"&uml;","©":"&copy;","ª":"&ordf;","«":"&laquo;","¬":"&not;","­":"&shy;","®":"&reg;","¯":"&macr;","°":"&deg;","±":"&plusmn;","²":"&sup2;","³":"&sup3;","´":"&acute;","µ":"&micro;","¶":"&para;","·":"&middot;","¸":"&cedil;","¹":"&sup1;","º":"&ordm;","»":"&raquo;","¼":"&frac14;","½":"&frac12;","¾":"&frac34;","¿":"&iquest;","À":"&Agrave;","Á":"&Aacute;","Â":"&Acirc;","Ã":"&Atilde;","Ä":"&Auml;","Å":"&Aring;","Æ":"&AElig;","Ç":"&Ccedil;","È":"&Egrave;","É":"&Eacute;","Ê":"&Ecirc;","Ë":"&Euml;","Ì":"&Igrave;","Í":"&Iacute;","Î":"&Icirc;","Ï":"&Iuml;","Ð":"&ETH;","Ñ":"&Ntilde;","Ò":"&Ograve;","Ó":"&Oacute;","Ô":"&Ocirc;","Õ":"&Otilde;","Ö":"&Ouml;","×":"&times;","Ø":"&Oslash;","Ù":"&Ugrave;","Ú":"&Uacute;","Û":"&Ucirc;","Ü":"&Uuml;","Ý":"&Yacute;","Þ":"&THORN;","ß":"&szlig;","à":"&agrave;","á":"&aacute;","â":"&acirc;","ã":"&atilde;","ä":"&auml;","å":"&aring;","æ":"&aelig;","ç":"&ccedil;","è":"&egrave;","é":"&eacute;","ê":"&ecirc;","ë":"&euml;","ì":"&igrave;","í":"&iacute;","î":"&icirc;","ï":"&iuml;","ð":"&eth;","ñ":"&ntilde;","ò":"&ograve;","ó":"&oacute;","ô":"&ocirc;","õ":"&otilde;","ö":"&ouml;","÷":"&divide;","ø":"&oslash;","ù":"&ugrave;","ú":"&uacute;","û":"&ucirc;","ü":"&uuml;","ý":"&yacute;","þ":"&thorn;","ÿ":"&yuml;",'"':"&quot;","&":"&amp;","<":"&lt;",">":"&gt;","Œ":"&OElig;","œ":"&oelig;","Š":"&Scaron;","š":"&scaron;","Ÿ":"&Yuml;","ˆ":"&circ;","˜":"&tilde;"," ":"&ensp;"," ":"&emsp;"," ":"&thinsp;","‌":"&zwnj;","‍":"&zwj;","‎":"&lrm;","‏":"&rlm;","–":"&ndash;","—":"&mdash;","‘":"&lsquo;","’":"&rsquo;","‚":"&sbquo;","“":"&ldquo;","”":"&rdquo;","„":"&bdquo;","†":"&dagger;","‡":"&Dagger;","‰":"&permil;","‹":"&lsaquo;","›":"&rsaquo;","€":"&euro;","ƒ":"&fnof;","Α":"&Alpha;","Β":"&Beta;","Γ":"&Gamma;","Δ":"&Delta;","Ε":"&Epsilon;","Ζ":"&Zeta;","Η":"&Eta;","Θ":"&Theta;","Ι":"&Iota;","Κ":"&Kappa;","Λ":"&Lambda;","Μ":"&Mu;","Ν":"&Nu;","Ξ":"&Xi;","Ο":"&Omicron;","Π":"&Pi;","Ρ":"&Rho;","Σ":"&Sigma;","Τ":"&Tau;","Υ":"&Upsilon;","Φ":"&Phi;","Χ":"&Chi;","Ψ":"&Psi;","Ω":"&Omega;","α":"&alpha;","β":"&beta;","γ":"&gamma;","δ":"&delta;","ε":"&epsilon;","ζ":"&zeta;","η":"&eta;","θ":"&theta;","ι":"&iota;","κ":"&kappa;","λ":"&lambda;","μ":"&mu;","ν":"&nu;","ξ":"&xi;","ο":"&omicron;","π":"&pi;","ρ":"&rho;","ς":"&sigmaf;","σ":"&sigma;","τ":"&tau;","υ":"&upsilon;","φ":"&phi;","χ":"&chi;","ψ":"&psi;","ω":"&omega;","ϑ":"&thetasym;","ϒ":"&upsih;","ϖ":"&piv;","•":"&bull;","…":"&hellip;","′":"&prime;","″":"&Prime;","‾":"&oline;","⁄":"&frasl;","℘":"&weierp;","ℑ":"&image;","ℜ":"&real;","™":"&trade;","ℵ":"&alefsym;","←":"&larr;","↑":"&uarr;","→":"&rarr;","↓":"&darr;","↔":"&harr;","↵":"&crarr;","⇐":"&lArr;","⇑":"&uArr;","⇒":"&rArr;","⇓":"&dArr;","⇔":"&hArr;","∀":"&forall;","∂":"&part;","∃":"&exist;","∅":"&empty;","∇":"&nabla;","∈":"&isin;","∉":"&notin;","∋":"&ni;","∏":"&prod;","∑":"&sum;","−":"&minus;","∗":"&lowast;","√":"&radic;","∝":"&prop;","∞":"&infin;","∠":"&ang;","∧":"&and;","∨":"&or;","∩":"&cap;","∪":"&cup;","∫":"&int;","∴":"&there4;","∼":"&sim;","≅":"&cong;","≈":"&asymp;","≠":"&ne;","≡":"&equiv;","≤":"&le;","≥":"&ge;","⊂":"&sub;","⊃":"&sup;","⊄":"&nsub;","⊆":"&sube;","⊇":"&supe;","⊕":"&oplus;","⊗":"&otimes;","⊥":"&perp;","⋅":"&sdot;","⌈":"&lceil;","⌉":"&rceil;","⌊":"&lfloor;","⌋":"&rfloor;","〈":"&lang;","〉":"&rang;","◊":"&loz;","♠":"&spades;","♣":"&clubs;","♥":"&hearts;","♦":"&diams;"}},html5:{entities:{"&AElig":"Æ","&AElig;":"Æ","&AMP":"&","&AMP;":"&","&Aacute":"Á","&Aacute;":"Á","&Abreve;":"Ă","&Acirc":"Â","&Acirc;":"Â","&Acy;":"А","&Afr;":"𝔄","&Agrave":"À","&Agrave;":"À","&Alpha;":"Α","&Amacr;":"Ā","&And;":"⩓","&Aogon;":"Ą","&Aopf;":"𝔸","&ApplyFunction;":"⁡","&Aring":"Å","&Aring;":"Å","&Ascr;":"𝒜","&Assign;":"≔","&Atilde":"Ã","&Atilde;":"Ã","&Auml":"Ä","&Auml;":"Ä","&Backslash;":"∖","&Barv;":"⫧","&Barwed;":"⌆","&Bcy;":"Б","&Because;":"∵","&Bernoullis;":"ℬ","&Beta;":"Β","&Bfr;":"𝔅","&Bopf;":"𝔹","&Breve;":"˘","&Bscr;":"ℬ","&Bumpeq;":"≎","&CHcy;":"Ч","&COPY":"©","&COPY;":"©","&Cacute;":"Ć","&Cap;":"⋒","&CapitalDifferentialD;":"ⅅ","&Cayleys;":"ℭ","&Ccaron;":"Č","&Ccedil":"Ç","&Ccedil;":"Ç","&Ccirc;":"Ĉ","&Cconint;":"∰","&Cdot;":"Ċ","&Cedilla;":"¸","&CenterDot;":"·","&Cfr;":"ℭ","&Chi;":"Χ","&CircleDot;":"⊙","&CircleMinus;":"⊖","&CirclePlus;":"⊕","&CircleTimes;":"⊗","&ClockwiseContourIntegral;":"∲","&CloseCurlyDoubleQuote;":"”","&CloseCurlyQuote;":"’","&Colon;":"∷","&Colone;":"⩴","&Congruent;":"≡","&Conint;":"∯","&ContourIntegral;":"∮","&Copf;":"ℂ","&Coproduct;":"∐","&CounterClockwiseContourIntegral;":"∳","&Cross;":"⨯","&Cscr;":"𝒞","&Cup;":"⋓","&CupCap;":"≍","&DD;":"ⅅ","&DDotrahd;":"⤑","&DJcy;":"Ђ","&DScy;":"Ѕ","&DZcy;":"Џ","&Dagger;":"‡","&Darr;":"↡","&Dashv;":"⫤","&Dcaron;":"Ď","&Dcy;":"Д","&Del;":"∇","&Delta;":"Δ","&Dfr;":"𝔇","&DiacriticalAcute;":"´","&DiacriticalDot;":"˙","&DiacriticalDoubleAcute;":"˝","&DiacriticalGrave;":"`","&DiacriticalTilde;":"˜","&Diamond;":"⋄","&DifferentialD;":"ⅆ","&Dopf;":"𝔻","&Dot;":"¨","&DotDot;":"⃜","&DotEqual;":"≐","&DoubleContourIntegral;":"∯","&DoubleDot;":"¨","&DoubleDownArrow;":"⇓","&DoubleLeftArrow;":"⇐","&DoubleLeftRightArrow;":"⇔","&DoubleLeftTee;":"⫤","&DoubleLongLeftArrow;":"⟸","&DoubleLongLeftRightArrow;":"⟺","&DoubleLongRightArrow;":"⟹","&DoubleRightArrow;":"⇒","&DoubleRightTee;":"⊨","&DoubleUpArrow;":"⇑","&DoubleUpDownArrow;":"⇕","&DoubleVerticalBar;":"∥","&DownArrow;":"↓","&DownArrowBar;":"⤓","&DownArrowUpArrow;":"⇵","&DownBreve;":"̑","&DownLeftRightVector;":"⥐","&DownLeftTeeVector;":"⥞","&DownLeftVector;":"↽","&DownLeftVectorBar;":"⥖","&DownRightTeeVector;":"⥟","&DownRightVector;":"⇁","&DownRightVectorBar;":"⥗","&DownTee;":"⊤","&DownTeeArrow;":"↧","&Downarrow;":"⇓","&Dscr;":"𝒟","&Dstrok;":"Đ","&ENG;":"Ŋ","&ETH":"Ð","&ETH;":"Ð","&Eacute":"É","&Eacute;":"É","&Ecaron;":"Ě","&Ecirc":"Ê","&Ecirc;":"Ê","&Ecy;":"Э","&Edot;":"Ė","&Efr;":"𝔈","&Egrave":"È","&Egrave;":"È","&Element;":"∈","&Emacr;":"Ē","&EmptySmallSquare;":"◻","&EmptyVerySmallSquare;":"▫","&Eogon;":"Ę","&Eopf;":"𝔼","&Epsilon;":"Ε","&Equal;":"⩵","&EqualTilde;":"≂","&Equilibrium;":"⇌","&Escr;":"ℰ","&Esim;":"⩳","&Eta;":"Η","&Euml":"Ë","&Euml;":"Ë","&Exists;":"∃","&ExponentialE;":"ⅇ","&Fcy;":"Ф","&Ffr;":"𝔉","&FilledSmallSquare;":"◼","&FilledVerySmallSquare;":"▪","&Fopf;":"𝔽","&ForAll;":"∀","&Fouriertrf;":"ℱ","&Fscr;":"ℱ","&GJcy;":"Ѓ","&GT":">","&GT;":">","&Gamma;":"Γ","&Gammad;":"Ϝ","&Gbreve;":"Ğ","&Gcedil;":"Ģ","&Gcirc;":"Ĝ","&Gcy;":"Г","&Gdot;":"Ġ","&Gfr;":"𝔊","&Gg;":"⋙","&Gopf;":"𝔾","&GreaterEqual;":"≥","&GreaterEqualLess;":"⋛","&GreaterFullEqual;":"≧","&GreaterGreater;":"⪢","&GreaterLess;":"≷","&GreaterSlantEqual;":"⩾","&GreaterTilde;":"≳","&Gscr;":"𝒢","&Gt;":"≫","&HARDcy;":"Ъ","&Hacek;":"ˇ","&Hat;":"^","&Hcirc;":"Ĥ","&Hfr;":"ℌ","&HilbertSpace;":"ℋ","&Hopf;":"ℍ","&HorizontalLine;":"─","&Hscr;":"ℋ","&Hstrok;":"Ħ","&HumpDownHump;":"≎","&HumpEqual;":"≏","&IEcy;":"Е","&IJlig;":"Ĳ","&IOcy;":"Ё","&Iacute":"Í","&Iacute;":"Í","&Icirc":"Î","&Icirc;":"Î","&Icy;":"И","&Idot;":"İ","&Ifr;":"ℑ","&Igrave":"Ì","&Igrave;":"Ì","&Im;":"ℑ","&Imacr;":"Ī","&ImaginaryI;":"ⅈ","&Implies;":"⇒","&Int;":"∬","&Integral;":"∫","&Intersection;":"⋂","&InvisibleComma;":"⁣","&InvisibleTimes;":"⁢","&Iogon;":"Į","&Iopf;":"𝕀","&Iota;":"Ι","&Iscr;":"ℐ","&Itilde;":"Ĩ","&Iukcy;":"І","&Iuml":"Ï","&Iuml;":"Ï","&Jcirc;":"Ĵ","&Jcy;":"Й","&Jfr;":"𝔍","&Jopf;":"𝕁","&Jscr;":"𝒥","&Jsercy;":"Ј","&Jukcy;":"Є","&KHcy;":"Х","&KJcy;":"Ќ","&Kappa;":"Κ","&Kcedil;":"Ķ","&Kcy;":"К","&Kfr;":"𝔎","&Kopf;":"𝕂","&Kscr;":"𝒦","&LJcy;":"Љ","&LT":"<","&LT;":"<","&Lacute;":"Ĺ","&Lambda;":"Λ","&Lang;":"⟪","&Laplacetrf;":"ℒ","&Larr;":"↞","&Lcaron;":"Ľ","&Lcedil;":"Ļ","&Lcy;":"Л","&LeftAngleBracket;":"⟨","&LeftArrow;":"←","&LeftArrowBar;":"⇤","&LeftArrowRightArrow;":"⇆","&LeftCeiling;":"⌈","&LeftDoubleBracket;":"⟦","&LeftDownTeeVector;":"⥡","&LeftDownVector;":"⇃","&LeftDownVectorBar;":"⥙","&LeftFloor;":"⌊","&LeftRightArrow;":"↔","&LeftRightVector;":"⥎","&LeftTee;":"⊣","&LeftTeeArrow;":"↤","&LeftTeeVector;":"⥚","&LeftTriangle;":"⊲","&LeftTriangleBar;":"⧏","&LeftTriangleEqual;":"⊴","&LeftUpDownVector;":"⥑","&LeftUpTeeVector;":"⥠","&LeftUpVector;":"↿","&LeftUpVectorBar;":"⥘","&LeftVector;":"↼","&LeftVectorBar;":"⥒","&Leftarrow;":"⇐","&Leftrightarrow;":"⇔","&LessEqualGreater;":"⋚","&LessFullEqual;":"≦","&LessGreater;":"≶","&LessLess;":"⪡","&LessSlantEqual;":"⩽","&LessTilde;":"≲","&Lfr;":"𝔏","&Ll;":"⋘","&Lleftarrow;":"⇚","&Lmidot;":"Ŀ","&LongLeftArrow;":"⟵","&LongLeftRightArrow;":"⟷","&LongRightArrow;":"⟶","&Longleftarrow;":"⟸","&Longleftrightarrow;":"⟺","&Longrightarrow;":"⟹","&Lopf;":"𝕃","&LowerLeftArrow;":"↙","&LowerRightArrow;":"↘","&Lscr;":"ℒ","&Lsh;":"↰","&Lstrok;":"Ł","&Lt;":"≪","&Map;":"⤅","&Mcy;":"М","&MediumSpace;":" ","&Mellintrf;":"ℳ","&Mfr;":"𝔐","&MinusPlus;":"∓","&Mopf;":"𝕄","&Mscr;":"ℳ","&Mu;":"Μ","&NJcy;":"Њ","&Nacute;":"Ń","&Ncaron;":"Ň","&Ncedil;":"Ņ","&Ncy;":"Н","&NegativeMediumSpace;":"​","&NegativeThickSpace;":"​","&NegativeThinSpace;":"​","&NegativeVeryThinSpace;":"​","&NestedGreaterGreater;":"≫","&NestedLessLess;":"≪","&NewLine;":"\n","&Nfr;":"𝔑","&NoBreak;":"⁠","&NonBreakingSpace;":" ","&Nopf;":"ℕ","&Not;":"⫬","&NotCongruent;":"≢","&NotCupCap;":"≭","&NotDoubleVerticalBar;":"∦","&NotElement;":"∉","&NotEqual;":"≠","&NotEqualTilde;":"≂̸","&NotExists;":"∄","&NotGreater;":"≯","&NotGreaterEqual;":"≱","&NotGreaterFullEqual;":"≧̸","&NotGreaterGreater;":"≫̸","&NotGreaterLess;":"≹","&NotGreaterSlantEqual;":"⩾̸","&NotGreaterTilde;":"≵","&NotHumpDownHump;":"≎̸","&NotHumpEqual;":"≏̸","&NotLeftTriangle;":"⋪","&NotLeftTriangleBar;":"⧏̸","&NotLeftTriangleEqual;":"⋬","&NotLess;":"≮","&NotLessEqual;":"≰","&NotLessGreater;":"≸","&NotLessLess;":"≪̸","&NotLessSlantEqual;":"⩽̸","&NotLessTilde;":"≴","&NotNestedGreaterGreater;":"⪢̸","&NotNestedLessLess;":"⪡̸","&NotPrecedes;":"⊀","&NotPrecedesEqual;":"⪯̸","&NotPrecedesSlantEqual;":"⋠","&NotReverseElement;":"∌","&NotRightTriangle;":"⋫","&NotRightTriangleBar;":"⧐̸","&NotRightTriangleEqual;":"⋭","&NotSquareSubset;":"⊏̸","&NotSquareSubsetEqual;":"⋢","&NotSquareSuperset;":"⊐̸","&NotSquareSupersetEqual;":"⋣","&NotSubset;":"⊂⃒","&NotSubsetEqual;":"⊈","&NotSucceeds;":"⊁","&NotSucceedsEqual;":"⪰̸","&NotSucceedsSlantEqual;":"⋡","&NotSucceedsTilde;":"≿̸","&NotSuperset;":"⊃⃒","&NotSupersetEqual;":"⊉","&NotTilde;":"≁","&NotTildeEqual;":"≄","&NotTildeFullEqual;":"≇","&NotTildeTilde;":"≉","&NotVerticalBar;":"∤","&Nscr;":"𝒩","&Ntilde":"Ñ","&Ntilde;":"Ñ","&Nu;":"Ν","&OElig;":"Œ","&Oacute":"Ó","&Oacute;":"Ó","&Ocirc":"Ô","&Ocirc;":"Ô","&Ocy;":"О","&Odblac;":"Ő","&Ofr;":"𝔒","&Ograve":"Ò","&Ograve;":"Ò","&Omacr;":"Ō","&Omega;":"Ω","&Omicron;":"Ο","&Oopf;":"𝕆","&OpenCurlyDoubleQuote;":"“","&OpenCurlyQuote;":"‘","&Or;":"⩔","&Oscr;":"𝒪","&Oslash":"Ø","&Oslash;":"Ø","&Otilde":"Õ","&Otilde;":"Õ","&Otimes;":"⨷","&Ouml":"Ö","&Ouml;":"Ö","&OverBar;":"‾","&OverBrace;":"⏞","&OverBracket;":"⎴","&OverParenthesis;":"⏜","&PartialD;":"∂","&Pcy;":"П","&Pfr;":"𝔓","&Phi;":"Φ","&Pi;":"Π","&PlusMinus;":"±","&Poincareplane;":"ℌ","&Popf;":"ℙ","&Pr;":"⪻","&Precedes;":"≺","&PrecedesEqual;":"⪯","&PrecedesSlantEqual;":"≼","&PrecedesTilde;":"≾","&Prime;":"″","&Product;":"∏","&Proportion;":"∷","&Proportional;":"∝","&Pscr;":"𝒫","&Psi;":"Ψ","&QUOT":'"',"&QUOT;":'"',"&Qfr;":"𝔔","&Qopf;":"ℚ","&Qscr;":"𝒬","&RBarr;":"⤐","&REG":"®","&REG;":"®","&Racute;":"Ŕ","&Rang;":"⟫","&Rarr;":"↠","&Rarrtl;":"⤖","&Rcaron;":"Ř","&Rcedil;":"Ŗ","&Rcy;":"Р","&Re;":"ℜ","&ReverseElement;":"∋","&ReverseEquilibrium;":"⇋","&ReverseUpEquilibrium;":"⥯","&Rfr;":"ℜ","&Rho;":"Ρ","&RightAngleBracket;":"⟩","&RightArrow;":"→","&RightArrowBar;":"⇥","&RightArrowLeftArrow;":"⇄","&RightCeiling;":"⌉","&RightDoubleBracket;":"⟧","&RightDownTeeVector;":"⥝","&RightDownVector;":"⇂","&RightDownVectorBar;":"⥕","&RightFloor;":"⌋","&RightTee;":"⊢","&RightTeeArrow;":"↦","&RightTeeVector;":"⥛","&RightTriangle;":"⊳","&RightTriangleBar;":"⧐","&RightTriangleEqual;":"⊵","&RightUpDownVector;":"⥏","&RightUpTeeVector;":"⥜","&RightUpVector;":"↾","&RightUpVectorBar;":"⥔","&RightVector;":"⇀","&RightVectorBar;":"⥓","&Rightarrow;":"⇒","&Ropf;":"ℝ","&RoundImplies;":"⥰","&Rrightarrow;":"⇛","&Rscr;":"ℛ","&Rsh;":"↱","&RuleDelayed;":"⧴","&SHCHcy;":"Щ","&SHcy;":"Ш","&SOFTcy;":"Ь","&Sacute;":"Ś","&Sc;":"⪼","&Scaron;":"Š","&Scedil;":"Ş","&Scirc;":"Ŝ","&Scy;":"С","&Sfr;":"𝔖","&ShortDownArrow;":"↓","&ShortLeftArrow;":"←","&ShortRightArrow;":"→","&ShortUpArrow;":"↑","&Sigma;":"Σ","&SmallCircle;":"∘","&Sopf;":"𝕊","&Sqrt;":"√","&Square;":"□","&SquareIntersection;":"⊓","&SquareSubset;":"⊏","&SquareSubsetEqual;":"⊑","&SquareSuperset;":"⊐","&SquareSupersetEqual;":"⊒","&SquareUnion;":"⊔","&Sscr;":"𝒮","&Star;":"⋆","&Sub;":"⋐","&Subset;":"⋐","&SubsetEqual;":"⊆","&Succeeds;":"≻","&SucceedsEqual;":"⪰","&SucceedsSlantEqual;":"≽","&SucceedsTilde;":"≿","&SuchThat;":"∋","&Sum;":"∑","&Sup;":"⋑","&Superset;":"⊃","&SupersetEqual;":"⊇","&Supset;":"⋑","&THORN":"Þ","&THORN;":"Þ","&TRADE;":"™","&TSHcy;":"Ћ","&TScy;":"Ц","&Tab;":"\t","&Tau;":"Τ","&Tcaron;":"Ť","&Tcedil;":"Ţ","&Tcy;":"Т","&Tfr;":"𝔗","&Therefore;":"∴","&Theta;":"Θ","&ThickSpace;":"  ","&ThinSpace;":" ","&Tilde;":"∼","&TildeEqual;":"≃","&TildeFullEqual;":"≅","&TildeTilde;":"≈","&Topf;":"𝕋","&TripleDot;":"⃛","&Tscr;":"𝒯","&Tstrok;":"Ŧ","&Uacute":"Ú","&Uacute;":"Ú","&Uarr;":"↟","&Uarrocir;":"⥉","&Ubrcy;":"Ў","&Ubreve;":"Ŭ","&Ucirc":"Û","&Ucirc;":"Û","&Ucy;":"У","&Udblac;":"Ű","&Ufr;":"𝔘","&Ugrave":"Ù","&Ugrave;":"Ù","&Umacr;":"Ū","&UnderBar;":"_","&UnderBrace;":"⏟","&UnderBracket;":"⎵","&UnderParenthesis;":"⏝","&Union;":"⋃","&UnionPlus;":"⊎","&Uogon;":"Ų","&Uopf;":"𝕌","&UpArrow;":"↑","&UpArrowBar;":"⤒","&UpArrowDownArrow;":"⇅","&UpDownArrow;":"↕","&UpEquilibrium;":"⥮","&UpTee;":"⊥","&UpTeeArrow;":"↥","&Uparrow;":"⇑","&Updownarrow;":"⇕","&UpperLeftArrow;":"↖","&UpperRightArrow;":"↗","&Upsi;":"ϒ","&Upsilon;":"Υ","&Uring;":"Ů","&Uscr;":"𝒰","&Utilde;":"Ũ","&Uuml":"Ü","&Uuml;":"Ü","&VDash;":"⊫","&Vbar;":"⫫","&Vcy;":"В","&Vdash;":"⊩","&Vdashl;":"⫦","&Vee;":"⋁","&Verbar;":"‖","&Vert;":"‖","&VerticalBar;":"∣","&VerticalLine;":"|","&VerticalSeparator;":"❘","&VerticalTilde;":"≀","&VeryThinSpace;":" ","&Vfr;":"𝔙","&Vopf;":"𝕍","&Vscr;":"𝒱","&Vvdash;":"⊪","&Wcirc;":"Ŵ","&Wedge;":"⋀","&Wfr;":"𝔚","&Wopf;":"𝕎","&Wscr;":"𝒲","&Xfr;":"𝔛","&Xi;":"Ξ","&Xopf;":"𝕏","&Xscr;":"𝒳","&YAcy;":"Я","&YIcy;":"Ї","&YUcy;":"Ю","&Yacute":"Ý","&Yacute;":"Ý","&Ycirc;":"Ŷ","&Ycy;":"Ы","&Yfr;":"𝔜","&Yopf;":"𝕐","&Yscr;":"𝒴","&Yuml;":"Ÿ","&ZHcy;":"Ж","&Zacute;":"Ź","&Zcaron;":"Ž","&Zcy;":"З","&Zdot;":"Ż","&ZeroWidthSpace;":"​","&Zeta;":"Ζ","&Zfr;":"ℨ","&Zopf;":"ℤ","&Zscr;":"𝒵","&aacute":"á","&aacute;":"á","&abreve;":"ă","&ac;":"∾","&acE;":"∾̳","&acd;":"∿","&acirc":"â","&acirc;":"â","&acute":"´","&acute;":"´","&acy;":"а","&aelig":"æ","&aelig;":"æ","&af;":"⁡","&afr;":"𝔞","&agrave":"à","&agrave;":"à","&alefsym;":"ℵ","&aleph;":"ℵ","&alpha;":"α","&amacr;":"ā","&amalg;":"⨿","&amp":"&","&amp;":"&","&and;":"∧","&andand;":"⩕","&andd;":"⩜","&andslope;":"⩘","&andv;":"⩚","&ang;":"∠","&ange;":"⦤","&angle;":"∠","&angmsd;":"∡","&angmsdaa;":"⦨","&angmsdab;":"⦩","&angmsdac;":"⦪","&angmsdad;":"⦫","&angmsdae;":"⦬","&angmsdaf;":"⦭","&angmsdag;":"⦮","&angmsdah;":"⦯","&angrt;":"∟","&angrtvb;":"⊾","&angrtvbd;":"⦝","&angsph;":"∢","&angst;":"Å","&angzarr;":"⍼","&aogon;":"ą","&aopf;":"𝕒","&ap;":"≈","&apE;":"⩰","&apacir;":"⩯","&ape;":"≊","&apid;":"≋","&apos;":"'","&approx;":"≈","&approxeq;":"≊","&aring":"å","&aring;":"å","&ascr;":"𝒶","&ast;":"*","&asymp;":"≈","&asympeq;":"≍","&atilde":"ã","&atilde;":"ã","&auml":"ä","&auml;":"ä","&awconint;":"∳","&awint;":"⨑","&bNot;":"⫭","&backcong;":"≌","&backepsilon;":"϶","&backprime;":"‵","&backsim;":"∽","&backsimeq;":"⋍","&barvee;":"⊽","&barwed;":"⌅","&barwedge;":"⌅","&bbrk;":"⎵","&bbrktbrk;":"⎶","&bcong;":"≌","&bcy;":"б","&bdquo;":"„","&becaus;":"∵","&because;":"∵","&bemptyv;":"⦰","&bepsi;":"϶","&bernou;":"ℬ","&beta;":"β","&beth;":"ℶ","&between;":"≬","&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;":"⌐","&bopf;":"𝕓","&bot;":"⊥","&bottom;":"⊥","&bowtie;":"⋈","&boxDL;":"╗","&boxDR;":"╔","&boxDl;":"╖","&boxDr;":"╓","&boxH;":"═","&boxHD;":"╦","&boxHU;":"╩","&boxHd;":"╤","&boxHu;":"╧","&boxUL;":"╝","&boxUR;":"╚","&boxUl;":"╜","&boxUr;":"╙","&boxV;":"║","&boxVH;":"╬","&boxVL;":"╣","&boxVR;":"╠","&boxVh;":"╫","&boxVl;":"╢","&boxVr;":"╟","&boxbox;":"⧉","&boxdL;":"╕","&boxdR;":"╒","&boxdl;":"┐","&boxdr;":"┌","&boxh;":"─","&boxhD;":"╥","&boxhU;":"╨","&boxhd;":"┬","&boxhu;":"┴","&boxminus;":"⊟","&boxplus;":"⊞","&boxtimes;":"⊠","&boxuL;":"╛","&boxuR;":"╘","&boxul;":"┘","&boxur;":"└","&boxv;":"│","&boxvH;":"╪","&boxvL;":"╡","&boxvR;":"╞","&boxvh;":"┼","&boxvl;":"┤","&boxvr;":"├","&bprime;":"‵","&breve;":"˘","&brvbar":"¦","&brvbar;":"¦","&bscr;":"𝒷","&bsemi;":"⁏","&bsim;":"∽","&bsime;":"⋍","&bsol;":"\\","&bsolb;":"⧅","&bsolhsub;":"⟈","&bull;":"•","&bullet;":"•","&bump;":"≎","&bumpE;":"⪮","&bumpe;":"≏","&bumpeq;":"≏","&cacute;":"ć","&cap;":"∩","&capand;":"⩄","&capbrcup;":"⩉","&capcap;":"⩋","&capcup;":"⩇","&capdot;":"⩀","&caps;":"∩︀","&caret;":"⁁","&caron;":"ˇ","&ccaps;":"⩍","&ccaron;":"č","&ccedil":"ç","&ccedil;":"ç","&ccirc;":"ĉ","&ccups;":"⩌","&ccupssm;":"⩐","&cdot;":"ċ","&cedil":"¸","&cedil;":"¸","&cemptyv;":"⦲","&cent":"¢","&cent;":"¢","&centerdot;":"·","&cfr;":"𝔠","&chcy;":"ч","&check;":"✓","&checkmark;":"✓","&chi;":"χ","&cir;":"○","&cirE;":"⧃","&circ;":"ˆ","&circeq;":"≗","&circlearrowleft;":"↺","&circlearrowright;":"↻","&circledR;":"®","&circledS;":"Ⓢ","&circledast;":"⊛","&circledcirc;":"⊚","&circleddash;":"⊝","&cire;":"≗","&cirfnint;":"⨐","&cirmid;":"⫯","&cirscir;":"⧂","&clubs;":"♣","&clubsuit;":"♣","&colon;":":","&colone;":"≔","&coloneq;":"≔","&comma;":",","&commat;":"@","&comp;":"∁","&compfn;":"∘","&complement;":"∁","&complexes;":"ℂ","&cong;":"≅","&congdot;":"⩭","&conint;":"∮","&copf;":"𝕔","&coprod;":"∐","&copy":"©","&copy;":"©","&copysr;":"℗","&crarr;":"↵","&cross;":"✗","&cscr;":"𝒸","&csub;":"⫏","&csube;":"⫑","&csup;":"⫐","&csupe;":"⫒","&ctdot;":"⋯","&cudarrl;":"⤸","&cudarrr;":"⤵","&cuepr;":"⋞","&cuesc;":"⋟","&cularr;":"↶","&cularrp;":"⤽","&cup;":"∪","&cupbrcap;":"⩈","&cupcap;":"⩆","&cupcup;":"⩊","&cupdot;":"⊍","&cupor;":"⩅","&cups;":"∪︀","&curarr;":"↷","&curarrm;":"⤼","&curlyeqprec;":"⋞","&curlyeqsucc;":"⋟","&curlyvee;":"⋎","&curlywedge;":"⋏","&curren":"¤","&curren;":"¤","&curvearrowleft;":"↶","&curvearrowright;":"↷","&cuvee;":"⋎","&cuwed;":"⋏","&cwconint;":"∲","&cwint;":"∱","&cylcty;":"⌭","&dArr;":"⇓","&dHar;":"⥥","&dagger;":"†","&daleth;":"ℸ","&darr;":"↓","&dash;":"‐","&dashv;":"⊣","&dbkarow;":"⤏","&dblac;":"˝","&dcaron;":"ď","&dcy;":"д","&dd;":"ⅆ","&ddagger;":"‡","&ddarr;":"⇊","&ddotseq;":"⩷","&deg":"°","&deg;":"°","&delta;":"δ","&demptyv;":"⦱","&dfisht;":"⥿","&dfr;":"𝔡","&dharl;":"⇃","&dharr;":"⇂","&diam;":"⋄","&diamond;":"⋄","&diamondsuit;":"♦","&diams;":"♦","&die;":"¨","&digamma;":"ϝ","&disin;":"⋲","&div;":"÷","&divide":"÷","&divide;":"÷","&divideontimes;":"⋇","&divonx;":"⋇","&djcy;":"ђ","&dlcorn;":"⌞","&dlcrop;":"⌍","&dollar;":"$","&dopf;":"𝕕","&dot;":"˙","&doteq;":"≐","&doteqdot;":"≑","&dotminus;":"∸","&dotplus;":"∔","&dotsquare;":"⊡","&doublebarwedge;":"⌆","&downarrow;":"↓","&downdownarrows;":"⇊","&downharpoonleft;":"⇃","&downharpoonright;":"⇂","&drbkarow;":"⤐","&drcorn;":"⌟","&drcrop;":"⌌","&dscr;":"𝒹","&dscy;":"ѕ","&dsol;":"⧶","&dstrok;":"đ","&dtdot;":"⋱","&dtri;":"▿","&dtrif;":"▾","&duarr;":"⇵","&duhar;":"⥯","&dwangle;":"⦦","&dzcy;":"џ","&dzigrarr;":"⟿","&eDDot;":"⩷","&eDot;":"≑","&eacute":"é","&eacute;":"é","&easter;":"⩮","&ecaron;":"ě","&ecir;":"≖","&ecirc":"ê","&ecirc;":"ê","&ecolon;":"≕","&ecy;":"э","&edot;":"ė","&ee;":"ⅇ","&efDot;":"≒","&efr;":"𝔢","&eg;":"⪚","&egrave":"è","&egrave;":"è","&egs;":"⪖","&egsdot;":"⪘","&el;":"⪙","&elinters;":"⏧","&ell;":"ℓ","&els;":"⪕","&elsdot;":"⪗","&emacr;":"ē","&empty;":"∅","&emptyset;":"∅","&emptyv;":"∅","&emsp13;":" ","&emsp14;":" ","&emsp;":" ","&eng;":"ŋ","&ensp;":" ","&eogon;":"ę","&eopf;":"𝕖","&epar;":"⋕","&eparsl;":"⧣","&eplus;":"⩱","&epsi;":"ε","&epsilon;":"ε","&epsiv;":"ϵ","&eqcirc;":"≖","&eqcolon;":"≕","&eqsim;":"≂","&eqslantgtr;":"⪖","&eqslantless;":"⪕","&equals;":"=","&equest;":"≟","&equiv;":"≡","&equivDD;":"⩸","&eqvparsl;":"⧥","&erDot;":"≓","&erarr;":"⥱","&escr;":"ℯ","&esdot;":"≐","&esim;":"≂","&eta;":"η","&eth":"ð","&eth;":"ð","&euml":"ë","&euml;":"ë","&euro;":"€","&excl;":"!","&exist;":"∃","&expectation;":"ℰ","&exponentiale;":"ⅇ","&fallingdotseq;":"≒","&fcy;":"ф","&female;":"♀","&ffilig;":"ﬃ","&fflig;":"ﬀ","&ffllig;":"ﬄ","&ffr;":"𝔣","&filig;":"ﬁ","&fjlig;":"fj","&flat;":"♭","&fllig;":"ﬂ","&fltns;":"▱","&fnof;":"ƒ","&fopf;":"𝕗","&forall;":"∀","&fork;":"⋔","&forkv;":"⫙","&fpartint;":"⨍","&frac12":"½","&frac12;":"½","&frac13;":"⅓","&frac14":"¼","&frac14;":"¼","&frac15;":"⅕","&frac16;":"⅙","&frac18;":"⅛","&frac23;":"⅔","&frac25;":"⅖","&frac34":"¾","&frac34;":"¾","&frac35;":"⅗","&frac38;":"⅜","&frac45;":"⅘","&frac56;":"⅚","&frac58;":"⅝","&frac78;":"⅞","&frasl;":"⁄","&frown;":"⌢","&fscr;":"𝒻","&gE;":"≧","&gEl;":"⪌","&gacute;":"ǵ","&gamma;":"γ","&gammad;":"ϝ","&gap;":"⪆","&gbreve;":"ğ","&gcirc;":"ĝ","&gcy;":"г","&gdot;":"ġ","&ge;":"≥","&gel;":"⋛","&geq;":"≥","&geqq;":"≧","&geqslant;":"⩾","&ges;":"⩾","&gescc;":"⪩","&gesdot;":"⪀","&gesdoto;":"⪂","&gesdotol;":"⪄","&gesl;":"⋛︀","&gesles;":"⪔","&gfr;":"𝔤","&gg;":"≫","&ggg;":"⋙","&gimel;":"ℷ","&gjcy;":"ѓ","&gl;":"≷","&glE;":"⪒","&gla;":"⪥","&glj;":"⪤","&gnE;":"≩","&gnap;":"⪊","&gnapprox;":"⪊","&gne;":"⪈","&gneq;":"⪈","&gneqq;":"≩","&gnsim;":"⋧","&gopf;":"𝕘","&grave;":"`","&gscr;":"ℊ","&gsim;":"≳","&gsime;":"⪎","&gsiml;":"⪐","&gt":">","&gt;":">","&gtcc;":"⪧","&gtcir;":"⩺","&gtdot;":"⋗","&gtlPar;":"⦕","&gtquest;":"⩼","&gtrapprox;":"⪆","&gtrarr;":"⥸","&gtrdot;":"⋗","&gtreqless;":"⋛","&gtreqqless;":"⪌","&gtrless;":"≷","&gtrsim;":"≳","&gvertneqq;":"≩︀","&gvnE;":"≩︀","&hArr;":"⇔","&hairsp;":" ","&half;":"½","&hamilt;":"ℋ","&hardcy;":"ъ","&harr;":"↔","&harrcir;":"⥈","&harrw;":"↭","&hbar;":"ℏ","&hcirc;":"ĥ","&hearts;":"♥","&heartsuit;":"♥","&hellip;":"…","&hercon;":"⊹","&hfr;":"𝔥","&hksearow;":"⤥","&hkswarow;":"⤦","&hoarr;":"⇿","&homtht;":"∻","&hookleftarrow;":"↩","&hookrightarrow;":"↪","&hopf;":"𝕙","&horbar;":"―","&hscr;":"𝒽","&hslash;":"ℏ","&hstrok;":"ħ","&hybull;":"⁃","&hyphen;":"‐","&iacute":"í","&iacute;":"í","&ic;":"⁣","&icirc":"î","&icirc;":"î","&icy;":"и","&iecy;":"е","&iexcl":"¡","&iexcl;":"¡","&iff;":"⇔","&ifr;":"𝔦","&igrave":"ì","&igrave;":"ì","&ii;":"ⅈ","&iiiint;":"⨌","&iiint;":"∭","&iinfin;":"⧜","&iiota;":"℩","&ijlig;":"ĳ","&imacr;":"ī","&image;":"ℑ","&imagline;":"ℐ","&imagpart;":"ℑ","&imath;":"ı","&imof;":"⊷","&imped;":"Ƶ","&in;":"∈","&incare;":"℅","&infin;":"∞","&infintie;":"⧝","&inodot;":"ı","&int;":"∫","&intcal;":"⊺","&integers;":"ℤ","&intercal;":"⊺","&intlarhk;":"⨗","&intprod;":"⨼","&iocy;":"ё","&iogon;":"į","&iopf;":"𝕚","&iota;":"ι","&iprod;":"⨼","&iquest":"¿","&iquest;":"¿","&iscr;":"𝒾","&isin;":"∈","&isinE;":"⋹","&isindot;":"⋵","&isins;":"⋴","&isinsv;":"⋳","&isinv;":"∈","&it;":"⁢","&itilde;":"ĩ","&iukcy;":"і","&iuml":"ï","&iuml;":"ï","&jcirc;":"ĵ","&jcy;":"й","&jfr;":"𝔧","&jmath;":"ȷ","&jopf;":"𝕛","&jscr;":"𝒿","&jsercy;":"ј","&jukcy;":"є","&kappa;":"κ","&kappav;":"ϰ","&kcedil;":"ķ","&kcy;":"к","&kfr;":"𝔨","&kgreen;":"ĸ","&khcy;":"х","&kjcy;":"ќ","&kopf;":"𝕜","&kscr;":"𝓀","&lAarr;":"⇚","&lArr;":"⇐","&lAtail;":"⤛","&lBarr;":"⤎","&lE;":"≦","&lEg;":"⪋","&lHar;":"⥢","&lacute;":"ĺ","&laemptyv;":"⦴","&lagran;":"ℒ","&lambda;":"λ","&lang;":"⟨","&langd;":"⦑","&langle;":"⟨","&lap;":"⪅","&laquo":"«","&laquo;":"«","&larr;":"←","&larrb;":"⇤","&larrbfs;":"⤟","&larrfs;":"⤝","&larrhk;":"↩","&larrlp;":"↫","&larrpl;":"⤹","&larrsim;":"⥳","&larrtl;":"↢","&lat;":"⪫","&latail;":"⤙","&late;":"⪭","&lates;":"⪭︀","&lbarr;":"⤌","&lbbrk;":"❲","&lbrace;":"{","&lbrack;":"[","&lbrke;":"⦋","&lbrksld;":"⦏","&lbrkslu;":"⦍","&lcaron;":"ľ","&lcedil;":"ļ","&lceil;":"⌈","&lcub;":"{","&lcy;":"л","&ldca;":"⤶","&ldquo;":"“","&ldquor;":"„","&ldrdhar;":"⥧","&ldrushar;":"⥋","&ldsh;":"↲","&le;":"≤","&leftarrow;":"←","&leftarrowtail;":"↢","&leftharpoondown;":"↽","&leftharpoonup;":"↼","&leftleftarrows;":"⇇","&leftrightarrow;":"↔","&leftrightarrows;":"⇆","&leftrightharpoons;":"⇋","&leftrightsquigarrow;":"↭","&leftthreetimes;":"⋋","&leg;":"⋚","&leq;":"≤","&leqq;":"≦","&leqslant;":"⩽","&les;":"⩽","&lescc;":"⪨","&lesdot;":"⩿","&lesdoto;":"⪁","&lesdotor;":"⪃","&lesg;":"⋚︀","&lesges;":"⪓","&lessapprox;":"⪅","&lessdot;":"⋖","&lesseqgtr;":"⋚","&lesseqqgtr;":"⪋","&lessgtr;":"≶","&lesssim;":"≲","&lfisht;":"⥼","&lfloor;":"⌊","&lfr;":"𝔩","&lg;":"≶","&lgE;":"⪑","&lhard;":"↽","&lharu;":"↼","&lharul;":"⥪","&lhblk;":"▄","&ljcy;":"љ","&ll;":"≪","&llarr;":"⇇","&llcorner;":"⌞","&llhard;":"⥫","&lltri;":"◺","&lmidot;":"ŀ","&lmoust;":"⎰","&lmoustache;":"⎰","&lnE;":"≨","&lnap;":"⪉","&lnapprox;":"⪉","&lne;":"⪇","&lneq;":"⪇","&lneqq;":"≨","&lnsim;":"⋦","&loang;":"⟬","&loarr;":"⇽","&lobrk;":"⟦","&longleftarrow;":"⟵","&longleftrightarrow;":"⟷","&longmapsto;":"⟼","&longrightarrow;":"⟶","&looparrowleft;":"↫","&looparrowright;":"↬","&lopar;":"⦅","&lopf;":"𝕝","&loplus;":"⨭","&lotimes;":"⨴","&lowast;":"∗","&lowbar;":"_","&loz;":"◊","&lozenge;":"◊","&lozf;":"⧫","&lpar;":"(","&lparlt;":"⦓","&lrarr;":"⇆","&lrcorner;":"⌟","&lrhar;":"⇋","&lrhard;":"⥭","&lrm;":"‎","&lrtri;":"⊿","&lsaquo;":"‹","&lscr;":"𝓁","&lsh;":"↰","&lsim;":"≲","&lsime;":"⪍","&lsimg;":"⪏","&lsqb;":"[","&lsquo;":"‘","&lsquor;":"‚","&lstrok;":"ł","&lt":"<","&lt;":"<","&ltcc;":"⪦","&ltcir;":"⩹","&ltdot;":"⋖","&lthree;":"⋋","&ltimes;":"⋉","&ltlarr;":"⥶","&ltquest;":"⩻","&ltrPar;":"⦖","&ltri;":"◃","&ltrie;":"⊴","&ltrif;":"◂","&lurdshar;":"⥊","&luruhar;":"⥦","&lvertneqq;":"≨︀","&lvnE;":"≨︀","&mDDot;":"∺","&macr":"¯","&macr;":"¯","&male;":"♂","&malt;":"✠","&maltese;":"✠","&map;":"↦","&mapsto;":"↦","&mapstodown;":"↧","&mapstoleft;":"↤","&mapstoup;":"↥","&marker;":"▮","&mcomma;":"⨩","&mcy;":"м","&mdash;":"—","&measuredangle;":"∡","&mfr;":"𝔪","&mho;":"℧","&micro":"µ","&micro;":"µ","&mid;":"∣","&midast;":"*","&midcir;":"⫰","&middot":"·","&middot;":"·","&minus;":"−","&minusb;":"⊟","&minusd;":"∸","&minusdu;":"⨪","&mlcp;":"⫛","&mldr;":"…","&mnplus;":"∓","&models;":"⊧","&mopf;":"𝕞","&mp;":"∓","&mscr;":"𝓂","&mstpos;":"∾","&mu;":"μ","&multimap;":"⊸","&mumap;":"⊸","&nGg;":"⋙̸","&nGt;":"≫⃒","&nGtv;":"≫̸","&nLeftarrow;":"⇍","&nLeftrightarrow;":"⇎","&nLl;":"⋘̸","&nLt;":"≪⃒","&nLtv;":"≪̸","&nRightarrow;":"⇏","&nVDash;":"⊯","&nVdash;":"⊮","&nabla;":"∇","&nacute;":"ń","&nang;":"∠⃒","&nap;":"≉","&napE;":"⩰̸","&napid;":"≋̸","&napos;":"ŉ","&napprox;":"≉","&natur;":"♮","&natural;":"♮","&naturals;":"ℕ","&nbsp":" ","&nbsp;":" ","&nbump;":"≎̸","&nbumpe;":"≏̸","&ncap;":"⩃","&ncaron;":"ň","&ncedil;":"ņ","&ncong;":"≇","&ncongdot;":"⩭̸","&ncup;":"⩂","&ncy;":"н","&ndash;":"–","&ne;":"≠","&neArr;":"⇗","&nearhk;":"⤤","&nearr;":"↗","&nearrow;":"↗","&nedot;":"≐̸","&nequiv;":"≢","&nesear;":"⤨","&nesim;":"≂̸","&nexist;":"∄","&nexists;":"∄","&nfr;":"𝔫","&ngE;":"≧̸","&nge;":"≱","&ngeq;":"≱","&ngeqq;":"≧̸","&ngeqslant;":"⩾̸","&nges;":"⩾̸","&ngsim;":"≵","&ngt;":"≯","&ngtr;":"≯","&nhArr;":"⇎","&nharr;":"↮","&nhpar;":"⫲","&ni;":"∋","&nis;":"⋼","&nisd;":"⋺","&niv;":"∋","&njcy;":"њ","&nlArr;":"⇍","&nlE;":"≦̸","&nlarr;":"↚","&nldr;":"‥","&nle;":"≰","&nleftarrow;":"↚","&nleftrightarrow;":"↮","&nleq;":"≰","&nleqq;":"≦̸","&nleqslant;":"⩽̸","&nles;":"⩽̸","&nless;":"≮","&nlsim;":"≴","&nlt;":"≮","&nltri;":"⋪","&nltrie;":"⋬","&nmid;":"∤","&nopf;":"𝕟","&not":"¬","&not;":"¬","&notin;":"∉","&notinE;":"⋹̸","&notindot;":"⋵̸","&notinva;":"∉","&notinvb;":"⋷","&notinvc;":"⋶","&notni;":"∌","&notniva;":"∌","&notnivb;":"⋾","&notnivc;":"⋽","&npar;":"∦","&nparallel;":"∦","&nparsl;":"⫽⃥","&npart;":"∂̸","&npolint;":"⨔","&npr;":"⊀","&nprcue;":"⋠","&npre;":"⪯̸","&nprec;":"⊀","&npreceq;":"⪯̸","&nrArr;":"⇏","&nrarr;":"↛","&nrarrc;":"⤳̸","&nrarrw;":"↝̸","&nrightarrow;":"↛","&nrtri;":"⋫","&nrtrie;":"⋭","&nsc;":"⊁","&nsccue;":"⋡","&nsce;":"⪰̸","&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;":"ν","&num;":"#","&numero;":"№","&numsp;":" ","&nvDash;":"⊭","&nvHarr;":"⤄","&nvap;":"≍⃒","&nvdash;":"⊬","&nvge;":"≥⃒","&nvgt;":">⃒","&nvinfin;":"⧞","&nvlArr;":"⤂","&nvle;":"≤⃒","&nvlt;":"<⃒","&nvltrie;":"⊴⃒","&nvrArr;":"⤃","&nvrtrie;":"⊵⃒","&nvsim;":"∼⃒","&nwArr;":"⇖","&nwarhk;":"⤣","&nwarr;":"↖","&nwarrow;":"↖","&nwnear;":"⤧","&oS;":"Ⓢ","&oacute":"ó","&oacute;":"ó","&oast;":"⊛","&ocir;":"⊚","&ocirc":"ô","&ocirc;":"ô","&ocy;":"о","&odash;":"⊝","&odblac;":"ő","&odiv;":"⨸","&odot;":"⊙","&odsold;":"⦼","&oelig;":"œ","&ofcir;":"⦿","&ofr;":"𝔬","&ogon;":"˛","&ograve":"ò","&ograve;":"ò","&ogt;":"⧁","&ohbar;":"⦵","&ohm;":"Ω","&oint;":"∮","&olarr;":"↺","&olcir;":"⦾","&olcross;":"⦻","&oline;":"‾","&olt;":"⧀","&omacr;":"ō","&omega;":"ω","&omicron;":"ο","&omid;":"⦶","&ominus;":"⊖","&oopf;":"𝕠","&opar;":"⦷","&operp;":"⦹","&oplus;":"⊕","&or;":"∨","&orarr;":"↻","&ord;":"⩝","&order;":"ℴ","&orderof;":"ℴ","&ordf":"ª","&ordf;":"ª","&ordm":"º","&ordm;":"º","&origof;":"⊶","&oror;":"⩖","&orslope;":"⩗","&orv;":"⩛","&oscr;":"ℴ","&oslash":"ø","&oslash;":"ø","&osol;":"⊘","&otilde":"õ","&otilde;":"õ","&otimes;":"⊗","&otimesas;":"⨶","&ouml":"ö","&ouml;":"ö","&ovbar;":"⌽","&par;":"∥","&para":"¶","&para;":"¶","&parallel;":"∥","&parsim;":"⫳","&parsl;":"⫽","&part;":"∂","&pcy;":"п","&percnt;":"%","&period;":".","&permil;":"‰","&perp;":"⊥","&pertenk;":"‱","&pfr;":"𝔭","&phi;":"φ","&phiv;":"ϕ","&phmmat;":"ℳ","&phone;":"☎","&pi;":"π","&pitchfork;":"⋔","&piv;":"ϖ","&planck;":"ℏ","&planckh;":"ℎ","&plankv;":"ℏ","&plus;":"+","&plusacir;":"⨣","&plusb;":"⊞","&pluscir;":"⨢","&plusdo;":"∔","&plusdu;":"⨥","&pluse;":"⩲","&plusmn":"±","&plusmn;":"±","&plussim;":"⨦","&plustwo;":"⨧","&pm;":"±","&pointint;":"⨕","&popf;":"𝕡","&pound":"£","&pound;":"£","&pr;":"≺","&prE;":"⪳","&prap;":"⪷","&prcue;":"≼","&pre;":"⪯","&prec;":"≺","&precapprox;":"⪷","&preccurlyeq;":"≼","&preceq;":"⪯","&precnapprox;":"⪹","&precneqq;":"⪵","&precnsim;":"⋨","&precsim;":"≾","&prime;":"′","&primes;":"ℙ","&prnE;":"⪵","&prnap;":"⪹","&prnsim;":"⋨","&prod;":"∏","&profalar;":"⌮","&profline;":"⌒","&profsurf;":"⌓","&prop;":"∝","&propto;":"∝","&prsim;":"≾","&prurel;":"⊰","&pscr;":"𝓅","&psi;":"ψ","&puncsp;":" ","&qfr;":"𝔮","&qint;":"⨌","&qopf;":"𝕢","&qprime;":"⁗","&qscr;":"𝓆","&quaternions;":"ℍ","&quatint;":"⨖","&quest;":"?","&questeq;":"≟","&quot":'"',"&quot;":'"',"&rAarr;":"⇛","&rArr;":"⇒","&rAtail;":"⤜","&rBarr;":"⤏","&rHar;":"⥤","&race;":"∽̱","&racute;":"ŕ","&radic;":"√","&raemptyv;":"⦳","&rang;":"⟩","&rangd;":"⦒","&range;":"⦥","&rangle;":"⟩","&raquo":"»","&raquo;":"»","&rarr;":"→","&rarrap;":"⥵","&rarrb;":"⇥","&rarrbfs;":"⤠","&rarrc;":"⤳","&rarrfs;":"⤞","&rarrhk;":"↪","&rarrlp;":"↬","&rarrpl;":"⥅","&rarrsim;":"⥴","&rarrtl;":"↣","&rarrw;":"↝","&ratail;":"⤚","&ratio;":"∶","&rationals;":"ℚ","&rbarr;":"⤍","&rbbrk;":"❳","&rbrace;":"}","&rbrack;":"]","&rbrke;":"⦌","&rbrksld;":"⦎","&rbrkslu;":"⦐","&rcaron;":"ř","&rcedil;":"ŗ","&rceil;":"⌉","&rcub;":"}","&rcy;":"р","&rdca;":"⤷","&rdldhar;":"⥩","&rdquo;":"”","&rdquor;":"”","&rdsh;":"↳","&real;":"ℜ","&realine;":"ℛ","&realpart;":"ℜ","&reals;":"ℝ","&rect;":"▭","&reg":"®","&reg;":"®","&rfisht;":"⥽","&rfloor;":"⌋","&rfr;":"𝔯","&rhard;":"⇁","&rharu;":"⇀","&rharul;":"⥬","&rho;":"ρ","&rhov;":"ϱ","&rightarrow;":"→","&rightarrowtail;":"↣","&rightharpoondown;":"⇁","&rightharpoonup;":"⇀","&rightleftarrows;":"⇄","&rightleftharpoons;":"⇌","&rightrightarrows;":"⇉","&rightsquigarrow;":"↝","&rightthreetimes;":"⋌","&ring;":"˚","&risingdotseq;":"≓","&rlarr;":"⇄","&rlhar;":"⇌","&rlm;":"‏","&rmoust;":"⎱","&rmoustache;":"⎱","&rnmid;":"⫮","&roang;":"⟭","&roarr;":"⇾","&robrk;":"⟧","&ropar;":"⦆","&ropf;":"𝕣","&roplus;":"⨮","&rotimes;":"⨵","&rpar;":")","&rpargt;":"⦔","&rppolint;":"⨒","&rrarr;":"⇉","&rsaquo;":"›","&rscr;":"𝓇","&rsh;":"↱","&rsqb;":"]","&rsquo;":"’","&rsquor;":"’","&rthree;":"⋌","&rtimes;":"⋊","&rtri;":"▹","&rtrie;":"⊵","&rtrif;":"▸","&rtriltri;":"⧎","&ruluhar;":"⥨","&rx;":"℞","&sacute;":"ś","&sbquo;":"‚","&sc;":"≻","&scE;":"⪴","&scap;":"⪸","&scaron;":"š","&sccue;":"≽","&sce;":"⪰","&scedil;":"ş","&scirc;":"ŝ","&scnE;":"⪶","&scnap;":"⪺","&scnsim;":"⋩","&scpolint;":"⨓","&scsim;":"≿","&scy;":"с","&sdot;":"⋅","&sdotb;":"⊡","&sdote;":"⩦","&seArr;":"⇘","&searhk;":"⤥","&searr;":"↘","&searrow;":"↘","&sect":"§","&sect;":"§","&semi;":";","&seswar;":"⤩","&setminus;":"∖","&setmn;":"∖","&sext;":"✶","&sfr;":"𝔰","&sfrown;":"⌢","&sharp;":"♯","&shchcy;":"щ","&shcy;":"ш","&shortmid;":"∣","&shortparallel;":"∥","&shy":"­","&shy;":"­","&sigma;":"σ","&sigmaf;":"ς","&sigmav;":"ς","&sim;":"∼","&simdot;":"⩪","&sime;":"≃","&simeq;":"≃","&simg;":"⪞","&simgE;":"⪠","&siml;":"⪝","&simlE;":"⪟","&simne;":"≆","&simplus;":"⨤","&simrarr;":"⥲","&slarr;":"←","&smallsetminus;":"∖","&smashp;":"⨳","&smeparsl;":"⧤","&smid;":"∣","&smile;":"⌣","&smt;":"⪪","&smte;":"⪬","&smtes;":"⪬︀","&softcy;":"ь","&sol;":"/","&solb;":"⧄","&solbar;":"⌿","&sopf;":"𝕤","&spades;":"♠","&spadesuit;":"♠","&spar;":"∥","&sqcap;":"⊓","&sqcaps;":"⊓︀","&sqcup;":"⊔","&sqcups;":"⊔︀","&sqsub;":"⊏","&sqsube;":"⊑","&sqsubset;":"⊏","&sqsubseteq;":"⊑","&sqsup;":"⊐","&sqsupe;":"⊒","&sqsupset;":"⊐","&sqsupseteq;":"⊒","&squ;":"□","&square;":"□","&squarf;":"▪","&squf;":"▪","&srarr;":"→","&sscr;":"𝓈","&ssetmn;":"∖","&ssmile;":"⌣","&sstarf;":"⋆","&star;":"☆","&starf;":"★","&straightepsilon;":"ϵ","&straightphi;":"ϕ","&strns;":"¯","&sub;":"⊂","&subE;":"⫅","&subdot;":"⪽","&sube;":"⊆","&subedot;":"⫃","&submult;":"⫁","&subnE;":"⫋","&subne;":"⊊","&subplus;":"⪿","&subrarr;":"⥹","&subset;":"⊂","&subseteq;":"⊆","&subseteqq;":"⫅","&subsetneq;":"⊊","&subsetneqq;":"⫋","&subsim;":"⫇","&subsub;":"⫕","&subsup;":"⫓","&succ;":"≻","&succapprox;":"⪸","&succcurlyeq;":"≽","&succeq;":"⪰","&succnapprox;":"⪺","&succneqq;":"⪶","&succnsim;":"⋩","&succsim;":"≿","&sum;":"∑","&sung;":"♪","&sup1":"¹","&sup1;":"¹","&sup2":"²","&sup2;":"²","&sup3":"³","&sup3;":"³","&sup;":"⊃","&supE;":"⫆","&supdot;":"⪾","&supdsub;":"⫘","&supe;":"⊇","&supedot;":"⫄","&suphsol;":"⟉","&suphsub;":"⫗","&suplarr;":"⥻","&supmult;":"⫂","&supnE;":"⫌","&supne;":"⊋","&supplus;":"⫀","&supset;":"⊃","&supseteq;":"⊇","&supseteqq;":"⫆","&supsetneq;":"⊋","&supsetneqq;":"⫌","&supsim;":"⫈","&supsub;":"⫔","&supsup;":"⫖","&swArr;":"⇙","&swarhk;":"⤦","&swarr;":"↙","&swarrow;":"↙","&swnwar;":"⤪","&szlig":"ß","&szlig;":"ß","&target;":"⌖","&tau;":"τ","&tbrk;":"⎴","&tcaron;":"ť","&tcedil;":"ţ","&tcy;":"т","&tdot;":"⃛","&telrec;":"⌕","&tfr;":"𝔱","&there4;":"∴","&therefore;":"∴","&theta;":"θ","&thetasym;":"ϑ","&thetav;":"ϑ","&thickapprox;":"≈","&thicksim;":"∼","&thinsp;":" ","&thkap;":"≈","&thksim;":"∼","&thorn":"þ","&thorn;":"þ","&tilde;":"˜","&times":"×","&times;":"×","&timesb;":"⊠","&timesbar;":"⨱","&timesd;":"⨰","&tint;":"∭","&toea;":"⤨","&top;":"⊤","&topbot;":"⌶","&topcir;":"⫱","&topf;":"𝕥","&topfork;":"⫚","&tosa;":"⤩","&tprime;":"‴","&trade;":"™","&triangle;":"▵","&triangledown;":"▿","&triangleleft;":"◃","&trianglelefteq;":"⊴","&triangleq;":"≜","&triangleright;":"▹","&trianglerighteq;":"⊵","&tridot;":"◬","&trie;":"≜","&triminus;":"⨺","&triplus;":"⨹","&trisb;":"⧍","&tritime;":"⨻","&trpezium;":"⏢","&tscr;":"𝓉","&tscy;":"ц","&tshcy;":"ћ","&tstrok;":"ŧ","&twixt;":"≬","&twoheadleftarrow;":"↞","&twoheadrightarrow;":"↠","&uArr;":"⇑","&uHar;":"⥣","&uacute":"ú","&uacute;":"ú","&uarr;":"↑","&ubrcy;":"ў","&ubreve;":"ŭ","&ucirc":"û","&ucirc;":"û","&ucy;":"у","&udarr;":"⇅","&udblac;":"ű","&udhar;":"⥮","&ufisht;":"⥾","&ufr;":"𝔲","&ugrave":"ù","&ugrave;":"ù","&uharl;":"↿","&uharr;":"↾","&uhblk;":"▀","&ulcorn;":"⌜","&ulcorner;":"⌜","&ulcrop;":"⌏","&ultri;":"◸","&umacr;":"ū","&uml":"¨","&uml;":"¨","&uogon;":"ų","&uopf;":"𝕦","&uparrow;":"↑","&updownarrow;":"↕","&upharpoonleft;":"↿","&upharpoonright;":"↾","&uplus;":"⊎","&upsi;":"υ","&upsih;":"ϒ","&upsilon;":"υ","&upuparrows;":"⇈","&urcorn;":"⌝","&urcorner;":"⌝","&urcrop;":"⌎","&uring;":"ů","&urtri;":"◹","&uscr;":"𝓊","&utdot;":"⋰","&utilde;":"ũ","&utri;":"▵","&utrif;":"▴","&uuarr;":"⇈","&uuml":"ü","&uuml;":"ü","&uwangle;":"⦧","&vArr;":"⇕","&vBar;":"⫨","&vBarv;":"⫩","&vDash;":"⊨","&vangrt;":"⦜","&varepsilon;":"ϵ","&varkappa;":"ϰ","&varnothing;":"∅","&varphi;":"ϕ","&varpi;":"ϖ","&varpropto;":"∝","&varr;":"↕","&varrho;":"ϱ","&varsigma;":"ς","&varsubsetneq;":"⊊︀","&varsubsetneqq;":"⫋︀","&varsupsetneq;":"⊋︀","&varsupsetneqq;":"⫌︀","&vartheta;":"ϑ","&vartriangleleft;":"⊲","&vartriangleright;":"⊳","&vcy;":"в","&vdash;":"⊢","&vee;":"∨","&veebar;":"⊻","&veeeq;":"≚","&vellip;":"⋮","&verbar;":"|","&vert;":"|","&vfr;":"𝔳","&vltri;":"⊲","&vnsub;":"⊂⃒","&vnsup;":"⊃⃒","&vopf;":"𝕧","&vprop;":"∝","&vrtri;":"⊳","&vscr;":"𝓋","&vsubnE;":"⫋︀","&vsubne;":"⊊︀","&vsupnE;":"⫌︀","&vsupne;":"⊋︀","&vzigzag;":"⦚","&wcirc;":"ŵ","&wedbar;":"⩟","&wedge;":"∧","&wedgeq;":"≙","&weierp;":"℘","&wfr;":"𝔴","&wopf;":"𝕨","&wp;":"℘","&wr;":"≀","&wreath;":"≀","&wscr;":"𝓌","&xcap;":"⋂","&xcirc;":"◯","&xcup;":"⋃","&xdtri;":"▽","&xfr;":"𝔵","&xhArr;":"⟺","&xharr;":"⟷","&xi;":"ξ","&xlArr;":"⟸","&xlarr;":"⟵","&xmap;":"⟼","&xnis;":"⋻","&xodot;":"⨀","&xopf;":"𝕩","&xoplus;":"⨁","&xotime;":"⨂","&xrArr;":"⟹","&xrarr;":"⟶","&xscr;":"𝓍","&xsqcup;":"⨆","&xuplus;":"⨄","&xutri;":"△","&xvee;":"⋁","&xwedge;":"⋀","&yacute":"ý","&yacute;":"ý","&yacy;":"я","&ycirc;":"ŷ","&ycy;":"ы","&yen":"¥","&yen;":"¥","&yfr;":"𝔶","&yicy;":"ї","&yopf;":"𝕪","&yscr;":"𝓎","&yucy;":"ю","&yuml":"ÿ","&yuml;":"ÿ","&zacute;":"ź","&zcaron;":"ž","&zcy;":"з","&zdot;":"ż","&zeetrf;":"ℨ","&zeta;":"ζ","&zfr;":"𝔷","&zhcy;":"ж","&zigrarr;":"⇝","&zopf;":"𝕫","&zscr;":"𝓏","&zwj;":"‍","&zwnj;":"‌"},characters:{"Æ":"&AElig;","&":"&amp;","Á":"&Aacute;","Ă":"&Abreve;","Â":"&Acirc;","А":"&Acy;","𝔄":"&Afr;","À":"&Agrave;","Α":"&Alpha;","Ā":"&Amacr;","⩓":"&And;","Ą":"&Aogon;","𝔸":"&Aopf;","⁡":"&af;","Å":"&angst;","𝒜":"&Ascr;","≔":"&coloneq;","Ã":"&Atilde;","Ä":"&Auml;","∖":"&ssetmn;","⫧":"&Barv;","⌆":"&doublebarwedge;","Б":"&Bcy;","∵":"&because;","ℬ":"&bernou;","Β":"&Beta;","𝔅":"&Bfr;","𝔹":"&Bopf;","˘":"&breve;","≎":"&bump;","Ч":"&CHcy;","©":"&copy;","Ć":"&Cacute;","⋒":"&Cap;","ⅅ":"&DD;","ℭ":"&Cfr;","Č":"&Ccaron;","Ç":"&Ccedil;","Ĉ":"&Ccirc;","∰":"&Cconint;","Ċ":"&Cdot;","¸":"&cedil;","·":"&middot;","Χ":"&Chi;","⊙":"&odot;","⊖":"&ominus;","⊕":"&oplus;","⊗":"&otimes;","∲":"&cwconint;","”":"&rdquor;","’":"&rsquor;","∷":"&Proportion;","⩴":"&Colone;","≡":"&equiv;","∯":"&DoubleContourIntegral;","∮":"&oint;","ℂ":"&complexes;","∐":"&coprod;","∳":"&awconint;","⨯":"&Cross;","𝒞":"&Cscr;","⋓":"&Cup;","≍":"&asympeq;","⤑":"&DDotrahd;","Ђ":"&DJcy;","Ѕ":"&DScy;","Џ":"&DZcy;","‡":"&ddagger;","↡":"&Darr;","⫤":"&DoubleLeftTee;","Ď":"&Dcaron;","Д":"&Dcy;","∇":"&nabla;","Δ":"&Delta;","𝔇":"&Dfr;","´":"&acute;","˙":"&dot;","˝":"&dblac;","`":"&grave;","˜":"&tilde;","⋄":"&diamond;","ⅆ":"&dd;","𝔻":"&Dopf;","¨":"&uml;","⃜":"&DotDot;","≐":"&esdot;","⇓":"&dArr;","⇐":"&lArr;","⇔":"&iff;","⟸":"&xlArr;","⟺":"&xhArr;","⟹":"&xrArr;","⇒":"&rArr;","⊨":"&vDash;","⇑":"&uArr;","⇕":"&vArr;","∥":"&spar;","↓":"&downarrow;","⤓":"&DownArrowBar;","⇵":"&duarr;","̑":"&DownBreve;","⥐":"&DownLeftRightVector;","⥞":"&DownLeftTeeVector;","↽":"&lhard;","⥖":"&DownLeftVectorBar;","⥟":"&DownRightTeeVector;","⇁":"&rightharpoondown;","⥗":"&DownRightVectorBar;","⊤":"&top;","↧":"&mapstodown;","𝒟":"&Dscr;","Đ":"&Dstrok;","Ŋ":"&ENG;","Ð":"&ETH;","É":"&Eacute;","Ě":"&Ecaron;","Ê":"&Ecirc;","Э":"&Ecy;","Ė":"&Edot;","𝔈":"&Efr;","È":"&Egrave;","∈":"&isinv;","Ē":"&Emacr;","◻":"&EmptySmallSquare;","▫":"&EmptyVerySmallSquare;","Ę":"&Eogon;","𝔼":"&Eopf;","Ε":"&Epsilon;","⩵":"&Equal;","≂":"&esim;","⇌":"&rlhar;","ℰ":"&expectation;","⩳":"&Esim;","Η":"&Eta;","Ë":"&Euml;","∃":"&exist;","ⅇ":"&exponentiale;","Ф":"&Fcy;","𝔉":"&Ffr;","◼":"&FilledSmallSquare;","▪":"&squf;","𝔽":"&Fopf;","∀":"&forall;","ℱ":"&Fscr;","Ѓ":"&GJcy;",">":"&gt;","Γ":"&Gamma;","Ϝ":"&Gammad;","Ğ":"&Gbreve;","Ģ":"&Gcedil;","Ĝ":"&Gcirc;","Г":"&Gcy;","Ġ":"&Gdot;","𝔊":"&Gfr;","⋙":"&ggg;","𝔾":"&Gopf;","≥":"&geq;","⋛":"&gtreqless;","≧":"&geqq;","⪢":"&GreaterGreater;","≷":"&gtrless;","⩾":"&ges;","≳":"&gtrsim;","𝒢":"&Gscr;","≫":"&gg;","Ъ":"&HARDcy;","ˇ":"&caron;","^":"&Hat;","Ĥ":"&Hcirc;","ℌ":"&Poincareplane;","ℋ":"&hamilt;","ℍ":"&quaternions;","─":"&boxh;","Ħ":"&Hstrok;","≏":"&bumpeq;","Е":"&IEcy;","Ĳ":"&IJlig;","Ё":"&IOcy;","Í":"&Iacute;","Î":"&Icirc;","И":"&Icy;","İ":"&Idot;","ℑ":"&imagpart;","Ì":"&Igrave;","Ī":"&Imacr;","ⅈ":"&ii;","∬":"&Int;","∫":"&int;","⋂":"&xcap;","⁣":"&ic;","⁢":"&it;","Į":"&Iogon;","𝕀":"&Iopf;","Ι":"&Iota;","ℐ":"&imagline;","Ĩ":"&Itilde;","І":"&Iukcy;","Ï":"&Iuml;","Ĵ":"&Jcirc;","Й":"&Jcy;","𝔍":"&Jfr;","𝕁":"&Jopf;","𝒥":"&Jscr;","Ј":"&Jsercy;","Є":"&Jukcy;","Х":"&KHcy;","Ќ":"&KJcy;","Κ":"&Kappa;","Ķ":"&Kcedil;","К":"&Kcy;","𝔎":"&Kfr;","𝕂":"&Kopf;","𝒦":"&Kscr;","Љ":"&LJcy;","<":"&lt;","Ĺ":"&Lacute;","Λ":"&Lambda;","⟪":"&Lang;","ℒ":"&lagran;","↞":"&twoheadleftarrow;","Ľ":"&Lcaron;","Ļ":"&Lcedil;","Л":"&Lcy;","⟨":"&langle;","←":"&slarr;","⇤":"&larrb;","⇆":"&lrarr;","⌈":"&lceil;","⟦":"&lobrk;","⥡":"&LeftDownTeeVector;","⇃":"&downharpoonleft;","⥙":"&LeftDownVectorBar;","⌊":"&lfloor;","↔":"&leftrightarrow;","⥎":"&LeftRightVector;","⊣":"&dashv;","↤":"&mapstoleft;","⥚":"&LeftTeeVector;","⊲":"&vltri;","⧏":"&LeftTriangleBar;","⊴":"&trianglelefteq;","⥑":"&LeftUpDownVector;","⥠":"&LeftUpTeeVector;","↿":"&upharpoonleft;","⥘":"&LeftUpVectorBar;","↼":"&lharu;","⥒":"&LeftVectorBar;","⋚":"&lesseqgtr;","≦":"&leqq;","≶":"&lg;","⪡":"&LessLess;","⩽":"&les;","≲":"&lsim;","𝔏":"&Lfr;","⋘":"&Ll;","⇚":"&lAarr;","Ŀ":"&Lmidot;","⟵":"&xlarr;","⟷":"&xharr;","⟶":"&xrarr;","𝕃":"&Lopf;","↙":"&swarrow;","↘":"&searrow;","↰":"&lsh;","Ł":"&Lstrok;","≪":"&ll;","⤅":"&Map;","М":"&Mcy;"," ":"&MediumSpace;","ℳ":"&phmmat;","𝔐":"&Mfr;","∓":"&mp;","𝕄":"&Mopf;","Μ":"&Mu;","Њ":"&NJcy;","Ń":"&Nacute;","Ň":"&Ncaron;","Ņ":"&Ncedil;","Н":"&Ncy;","​":"&ZeroWidthSpace;","\n":"&NewLine;","𝔑":"&Nfr;","⁠":"&NoBreak;"," ":"&nbsp;","ℕ":"&naturals;","⫬":"&Not;","≢":"&nequiv;","≭":"&NotCupCap;","∦":"&nspar;","∉":"&notinva;","≠":"&ne;","≂̸":"&nesim;","∄":"&nexists;","≯":"&ngtr;","≱":"&ngeq;","≧̸":"&ngeqq;","≫̸":"&nGtv;","≹":"&ntgl;","⩾̸":"&nges;","≵":"&ngsim;","≎̸":"&nbump;","≏̸":"&nbumpe;","⋪":"&ntriangleleft;","⧏̸":"&NotLeftTriangleBar;","⋬":"&ntrianglelefteq;","≮":"&nlt;","≰":"&nleq;","≸":"&ntlg;","≪̸":"&nLtv;","⩽̸":"&nles;","≴":"&nlsim;","⪢̸":"&NotNestedGreaterGreater;","⪡̸":"&NotNestedLessLess;","⊀":"&nprec;","⪯̸":"&npreceq;","⋠":"&nprcue;","∌":"&notniva;","⋫":"&ntriangleright;","⧐̸":"&NotRightTriangleBar;","⋭":"&ntrianglerighteq;","⊏̸":"&NotSquareSubset;","⋢":"&nsqsube;","⊐̸":"&NotSquareSuperset;","⋣":"&nsqsupe;","⊂⃒":"&vnsub;","⊈":"&nsubseteq;","⊁":"&nsucc;","⪰̸":"&nsucceq;","⋡":"&nsccue;","≿̸":"&NotSucceedsTilde;","⊃⃒":"&vnsup;","⊉":"&nsupseteq;","≁":"&nsim;","≄":"&nsimeq;","≇":"&ncong;","≉":"&napprox;","∤":"&nsmid;","𝒩":"&Nscr;","Ñ":"&Ntilde;","Ν":"&Nu;","Œ":"&OElig;","Ó":"&Oacute;","Ô":"&Ocirc;","О":"&Ocy;","Ő":"&Odblac;","𝔒":"&Ofr;","Ò":"&Ograve;","Ō":"&Omacr;","Ω":"&ohm;","Ο":"&Omicron;","𝕆":"&Oopf;","“":"&ldquo;","‘":"&lsquo;","⩔":"&Or;","𝒪":"&Oscr;","Ø":"&Oslash;","Õ":"&Otilde;","⨷":"&Otimes;","Ö":"&Ouml;","‾":"&oline;","⏞":"&OverBrace;","⎴":"&tbrk;","⏜":"&OverParenthesis;","∂":"&part;","П":"&Pcy;","𝔓":"&Pfr;","Φ":"&Phi;","Π":"&Pi;","±":"&pm;","ℙ":"&primes;","⪻":"&Pr;","≺":"&prec;","⪯":"&preceq;","≼":"&preccurlyeq;","≾":"&prsim;","″":"&Prime;","∏":"&prod;","∝":"&vprop;","𝒫":"&Pscr;","Ψ":"&Psi;",'"':"&quot;","𝔔":"&Qfr;","ℚ":"&rationals;","𝒬":"&Qscr;","⤐":"&drbkarow;","®":"&reg;","Ŕ":"&Racute;","⟫":"&Rang;","↠":"&twoheadrightarrow;","⤖":"&Rarrtl;","Ř":"&Rcaron;","Ŗ":"&Rcedil;","Р":"&Rcy;","ℜ":"&realpart;","∋":"&niv;","⇋":"&lrhar;","⥯":"&duhar;","Ρ":"&Rho;","⟩":"&rangle;","→":"&srarr;","⇥":"&rarrb;","⇄":"&rlarr;","⌉":"&rceil;","⟧":"&robrk;","⥝":"&RightDownTeeVector;","⇂":"&downharpoonright;","⥕":"&RightDownVectorBar;","⌋":"&rfloor;","⊢":"&vdash;","↦":"&mapsto;","⥛":"&RightTeeVector;","⊳":"&vrtri;","⧐":"&RightTriangleBar;","⊵":"&trianglerighteq;","⥏":"&RightUpDownVector;","⥜":"&RightUpTeeVector;","↾":"&upharpoonright;","⥔":"&RightUpVectorBar;","⇀":"&rightharpoonup;","⥓":"&RightVectorBar;","ℝ":"&reals;","⥰":"&RoundImplies;","⇛":"&rAarr;","ℛ":"&realine;","↱":"&rsh;","⧴":"&RuleDelayed;","Щ":"&SHCHcy;","Ш":"&SHcy;","Ь":"&SOFTcy;","Ś":"&Sacute;","⪼":"&Sc;","Š":"&Scaron;","Ş":"&Scedil;","Ŝ":"&Scirc;","С":"&Scy;","𝔖":"&Sfr;","↑":"&uparrow;","Σ":"&Sigma;","∘":"&compfn;","𝕊":"&Sopf;","√":"&radic;","□":"&square;","⊓":"&sqcap;","⊏":"&sqsubset;","⊑":"&sqsubseteq;","⊐":"&sqsupset;","⊒":"&sqsupseteq;","⊔":"&sqcup;","𝒮":"&Sscr;","⋆":"&sstarf;","⋐":"&Subset;","⊆":"&subseteq;","≻":"&succ;","⪰":"&succeq;","≽":"&succcurlyeq;","≿":"&succsim;","∑":"&sum;","⋑":"&Supset;","⊃":"&supset;","⊇":"&supseteq;","Þ":"&THORN;","™":"&trade;","Ћ":"&TSHcy;","Ц":"&TScy;","\t":"&Tab;","Τ":"&Tau;","Ť":"&Tcaron;","Ţ":"&Tcedil;","Т":"&Tcy;","𝔗":"&Tfr;","∴":"&therefore;","Θ":"&Theta;","  ":"&ThickSpace;"," ":"&thinsp;","∼":"&thksim;","≃":"&simeq;","≅":"&cong;","≈":"&thkap;","𝕋":"&Topf;","⃛":"&tdot;","𝒯":"&Tscr;","Ŧ":"&Tstrok;","Ú":"&Uacute;","↟":"&Uarr;","⥉":"&Uarrocir;","Ў":"&Ubrcy;","Ŭ":"&Ubreve;","Û":"&Ucirc;","У":"&Ucy;","Ű":"&Udblac;","𝔘":"&Ufr;","Ù":"&Ugrave;","Ū":"&Umacr;",_:"&lowbar;","⏟":"&UnderBrace;","⎵":"&bbrk;","⏝":"&UnderParenthesis;","⋃":"&xcup;","⊎":"&uplus;","Ų":"&Uogon;","𝕌":"&Uopf;","⤒":"&UpArrowBar;","⇅":"&udarr;","↕":"&varr;","⥮":"&udhar;","⊥":"&perp;","↥":"&mapstoup;","↖":"&nwarrow;","↗":"&nearrow;","ϒ":"&upsih;","Υ":"&Upsilon;","Ů":"&Uring;","𝒰":"&Uscr;","Ũ":"&Utilde;","Ü":"&Uuml;","⊫":"&VDash;","⫫":"&Vbar;","В":"&Vcy;","⊩":"&Vdash;","⫦":"&Vdashl;","⋁":"&xvee;","‖":"&Vert;","∣":"&smid;","|":"&vert;","❘":"&VerticalSeparator;","≀":"&wreath;"," ":"&hairsp;","𝔙":"&Vfr;","𝕍":"&Vopf;","𝒱":"&Vscr;","⊪":"&Vvdash;","Ŵ":"&Wcirc;","⋀":"&xwedge;","𝔚":"&Wfr;","𝕎":"&Wopf;","𝒲":"&Wscr;","𝔛":"&Xfr;","Ξ":"&Xi;","𝕏":"&Xopf;","𝒳":"&Xscr;","Я":"&YAcy;","Ї":"&YIcy;","Ю":"&YUcy;","Ý":"&Yacute;","Ŷ":"&Ycirc;","Ы":"&Ycy;","𝔜":"&Yfr;","𝕐":"&Yopf;","𝒴":"&Yscr;","Ÿ":"&Yuml;","Ж":"&ZHcy;","Ź":"&Zacute;","Ž":"&Zcaron;","З":"&Zcy;","Ż":"&Zdot;","Ζ":"&Zeta;","ℨ":"&zeetrf;","ℤ":"&integers;","𝒵":"&Zscr;","á":"&aacute;","ă":"&abreve;","∾":"&mstpos;","∾̳":"&acE;","∿":"&acd;","â":"&acirc;","а":"&acy;","æ":"&aelig;","𝔞":"&afr;","à":"&agrave;","ℵ":"&aleph;","α":"&alpha;","ā":"&amacr;","⨿":"&amalg;","∧":"&wedge;","⩕":"&andand;","⩜":"&andd;","⩘":"&andslope;","⩚":"&andv;","∠":"&angle;","⦤":"&ange;","∡":"&measuredangle;","⦨":"&angmsdaa;","⦩":"&angmsdab;","⦪":"&angmsdac;","⦫":"&angmsdad;","⦬":"&angmsdae;","⦭":"&angmsdaf;","⦮":"&angmsdag;","⦯":"&angmsdah;","∟":"&angrt;","⊾":"&angrtvb;","⦝":"&angrtvbd;","∢":"&angsph;","⍼":"&angzarr;","ą":"&aogon;","𝕒":"&aopf;","⩰":"&apE;","⩯":"&apacir;","≊":"&approxeq;","≋":"&apid;","'":"&apos;","å":"&aring;","𝒶":"&ascr;","*":"&midast;","ã":"&atilde;","ä":"&auml;","⨑":"&awint;","⫭":"&bNot;","≌":"&bcong;","϶":"&bepsi;","‵":"&bprime;","∽":"&bsim;","⋍":"&bsime;","⊽":"&barvee;","⌅":"&barwedge;","⎶":"&bbrktbrk;","б":"&bcy;","„":"&ldquor;","⦰":"&bemptyv;","β":"&beta;","ℶ":"&beth;","≬":"&twixt;","𝔟":"&bfr;","◯":"&xcirc;","⨀":"&xodot;","⨁":"&xoplus;","⨂":"&xotime;","⨆":"&xsqcup;","★":"&starf;","▽":"&xdtri;","△":"&xutri;","⨄":"&xuplus;","⤍":"&rbarr;","⧫":"&lozf;","▴":"&utrif;","▾":"&dtrif;","◂":"&ltrif;","▸":"&rtrif;","␣":"&blank;","▒":"&blk12;","░":"&blk14;","▓":"&blk34;","█":"&block;","=⃥":"&bne;","≡⃥":"&bnequiv;","⌐":"&bnot;","𝕓":"&bopf;","⋈":"&bowtie;","╗":"&boxDL;","╔":"&boxDR;","╖":"&boxDl;","╓":"&boxDr;","═":"&boxH;","╦":"&boxHD;","╩":"&boxHU;","╤":"&boxHd;","╧":"&boxHu;","╝":"&boxUL;","╚":"&boxUR;","╜":"&boxUl;","╙":"&boxUr;","║":"&boxV;","╬":"&boxVH;","╣":"&boxVL;","╠":"&boxVR;","╫":"&boxVh;","╢":"&boxVl;","╟":"&boxVr;","⧉":"&boxbox;","╕":"&boxdL;","╒":"&boxdR;","┐":"&boxdl;","┌":"&boxdr;","╥":"&boxhD;","╨":"&boxhU;","┬":"&boxhd;","┴":"&boxhu;","⊟":"&minusb;","⊞":"&plusb;","⊠":"&timesb;","╛":"&boxuL;","╘":"&boxuR;","┘":"&boxul;","└":"&boxur;","│":"&boxv;","╪":"&boxvH;","╡":"&boxvL;","╞":"&boxvR;","┼":"&boxvh;","┤":"&boxvl;","├":"&boxvr;","¦":"&brvbar;","𝒷":"&bscr;","⁏":"&bsemi;","\\":"&bsol;","⧅":"&bsolb;","⟈":"&bsolhsub;","•":"&bullet;","⪮":"&bumpE;","ć":"&cacute;","∩":"&cap;","⩄":"&capand;","⩉":"&capbrcup;","⩋":"&capcap;","⩇":"&capcup;","⩀":"&capdot;","∩︀":"&caps;","⁁":"&caret;","⩍":"&ccaps;","č":"&ccaron;","ç":"&ccedil;","ĉ":"&ccirc;","⩌":"&ccups;","⩐":"&ccupssm;","ċ":"&cdot;","⦲":"&cemptyv;","¢":"&cent;","𝔠":"&cfr;","ч":"&chcy;","✓":"&checkmark;","χ":"&chi;","○":"&cir;","⧃":"&cirE;","ˆ":"&circ;","≗":"&cire;","↺":"&olarr;","↻":"&orarr;","Ⓢ":"&oS;","⊛":"&oast;","⊚":"&ocir;","⊝":"&odash;","⨐":"&cirfnint;","⫯":"&cirmid;","⧂":"&cirscir;","♣":"&clubsuit;",":":"&colon;",",":"&comma;","@":"&commat;","∁":"&complement;","⩭":"&congdot;","𝕔":"&copf;","℗":"&copysr;","↵":"&crarr;","✗":"&cross;","𝒸":"&cscr;","⫏":"&csub;","⫑":"&csube;","⫐":"&csup;","⫒":"&csupe;","⋯":"&ctdot;","⤸":"&cudarrl;","⤵":"&cudarrr;","⋞":"&curlyeqprec;","⋟":"&curlyeqsucc;","↶":"&curvearrowleft;","⤽":"&cularrp;","∪":"&cup;","⩈":"&cupbrcap;","⩆":"&cupcap;","⩊":"&cupcup;","⊍":"&cupdot;","⩅":"&cupor;","∪︀":"&cups;","↷":"&curvearrowright;","⤼":"&curarrm;","⋎":"&cuvee;","⋏":"&cuwed;","¤":"&curren;","∱":"&cwint;","⌭":"&cylcty;","⥥":"&dHar;","†":"&dagger;","ℸ":"&daleth;","‐":"&hyphen;","⤏":"&rBarr;","ď":"&dcaron;","д":"&dcy;","⇊":"&downdownarrows;","⩷":"&eDDot;","°":"&deg;","δ":"&delta;","⦱":"&demptyv;","⥿":"&dfisht;","𝔡":"&dfr;","♦":"&diams;","ϝ":"&gammad;","⋲":"&disin;","÷":"&divide;","⋇":"&divonx;","ђ":"&djcy;","⌞":"&llcorner;","⌍":"&dlcrop;",$:"&dollar;","𝕕":"&dopf;","≑":"&eDot;","∸":"&minusd;","∔":"&plusdo;","⊡":"&sdotb;","⌟":"&lrcorner;","⌌":"&drcrop;","𝒹":"&dscr;","ѕ":"&dscy;","⧶":"&dsol;","đ":"&dstrok;","⋱":"&dtdot;","▿":"&triangledown;","⦦":"&dwangle;","џ":"&dzcy;","⟿":"&dzigrarr;","é":"&eacute;","⩮":"&easter;","ě":"&ecaron;","≖":"&eqcirc;","ê":"&ecirc;","≕":"&eqcolon;","э":"&ecy;","ė":"&edot;","≒":"&fallingdotseq;","𝔢":"&efr;","⪚":"&eg;","è":"&egrave;","⪖":"&eqslantgtr;","⪘":"&egsdot;","⪙":"&el;","⏧":"&elinters;","ℓ":"&ell;","⪕":"&eqslantless;","⪗":"&elsdot;","ē":"&emacr;","∅":"&varnothing;"," ":"&emsp13;"," ":"&emsp14;"," ":"&emsp;","ŋ":"&eng;"," ":"&ensp;","ę":"&eogon;","𝕖":"&eopf;","⋕":"&epar;","⧣":"&eparsl;","⩱":"&eplus;","ε":"&epsilon;","ϵ":"&varepsilon;","=":"&equals;","≟":"&questeq;","⩸":"&equivDD;","⧥":"&eqvparsl;","≓":"&risingdotseq;","⥱":"&erarr;","ℯ":"&escr;","η":"&eta;","ð":"&eth;","ë":"&euml;","€":"&euro;","!":"&excl;","ф":"&fcy;","♀":"&female;","ﬃ":"&ffilig;","ﬀ":"&fflig;","ﬄ":"&ffllig;","𝔣":"&ffr;","ﬁ":"&filig;",fj:"&fjlig;","♭":"&flat;","ﬂ":"&fllig;","▱":"&fltns;","ƒ":"&fnof;","𝕗":"&fopf;","⋔":"&pitchfork;","⫙":"&forkv;","⨍":"&fpartint;","½":"&half;","⅓":"&frac13;","¼":"&frac14;","⅕":"&frac15;","⅙":"&frac16;","⅛":"&frac18;","⅔":"&frac23;","⅖":"&frac25;","¾":"&frac34;","⅗":"&frac35;","⅜":"&frac38;","⅘":"&frac45;","⅚":"&frac56;","⅝":"&frac58;","⅞":"&frac78;","⁄":"&frasl;","⌢":"&sfrown;","𝒻":"&fscr;","⪌":"&gtreqqless;","ǵ":"&gacute;","γ":"&gamma;","⪆":"&gtrapprox;","ğ":"&gbreve;","ĝ":"&gcirc;","г":"&gcy;","ġ":"&gdot;","⪩":"&gescc;","⪀":"&gesdot;","⪂":"&gesdoto;","⪄":"&gesdotol;","⋛︀":"&gesl;","⪔":"&gesles;","𝔤":"&gfr;","ℷ":"&gimel;","ѓ":"&gjcy;","⪒":"&glE;","⪥":"&gla;","⪤":"&glj;","≩":"&gneqq;","⪊":"&gnapprox;","⪈":"&gneq;","⋧":"&gnsim;","𝕘":"&gopf;","ℊ":"&gscr;","⪎":"&gsime;","⪐":"&gsiml;","⪧":"&gtcc;","⩺":"&gtcir;","⋗":"&gtrdot;","⦕":"&gtlPar;","⩼":"&gtquest;","⥸":"&gtrarr;","≩︀":"&gvnE;","ъ":"&hardcy;","⥈":"&harrcir;","↭":"&leftrightsquigarrow;","ℏ":"&plankv;","ĥ":"&hcirc;","♥":"&heartsuit;","…":"&mldr;","⊹":"&hercon;","𝔥":"&hfr;","⤥":"&searhk;","⤦":"&swarhk;","⇿":"&hoarr;","∻":"&homtht;","↩":"&larrhk;","↪":"&rarrhk;","𝕙":"&hopf;","―":"&horbar;","𝒽":"&hscr;","ħ":"&hstrok;","⁃":"&hybull;","í":"&iacute;","î":"&icirc;","и":"&icy;","е":"&iecy;","¡":"&iexcl;","𝔦":"&ifr;","ì":"&igrave;","⨌":"&qint;","∭":"&tint;","⧜":"&iinfin;","℩":"&iiota;","ĳ":"&ijlig;","ī":"&imacr;","ı":"&inodot;","⊷":"&imof;","Ƶ":"&imped;","℅":"&incare;","∞":"&infin;","⧝":"&infintie;","⊺":"&intercal;","⨗":"&intlarhk;","⨼":"&iprod;","ё":"&iocy;","į":"&iogon;","𝕚":"&iopf;","ι":"&iota;","¿":"&iquest;","𝒾":"&iscr;","⋹":"&isinE;","⋵":"&isindot;","⋴":"&isins;","⋳":"&isinsv;","ĩ":"&itilde;","і":"&iukcy;","ï":"&iuml;","ĵ":"&jcirc;","й":"&jcy;","𝔧":"&jfr;","ȷ":"&jmath;","𝕛":"&jopf;","𝒿":"&jscr;","ј":"&jsercy;","є":"&jukcy;","κ":"&kappa;","ϰ":"&varkappa;","ķ":"&kcedil;","к":"&kcy;","𝔨":"&kfr;","ĸ":"&kgreen;","х":"&khcy;","ќ":"&kjcy;","𝕜":"&kopf;","𝓀":"&kscr;","⤛":"&lAtail;","⤎":"&lBarr;","⪋":"&lesseqqgtr;","⥢":"&lHar;","ĺ":"&lacute;","⦴":"&laemptyv;","λ":"&lambda;","⦑":"&langd;","⪅":"&lessapprox;","«":"&laquo;","⤟":"&larrbfs;","⤝":"&larrfs;","↫":"&looparrowleft;","⤹":"&larrpl;","⥳":"&larrsim;","↢":"&leftarrowtail;","⪫":"&lat;","⤙":"&latail;","⪭":"&late;","⪭︀":"&lates;","⤌":"&lbarr;","❲":"&lbbrk;","{":"&lcub;","[":"&lsqb;","⦋":"&lbrke;","⦏":"&lbrksld;","⦍":"&lbrkslu;","ľ":"&lcaron;","ļ":"&lcedil;","л":"&lcy;","⤶":"&ldca;","⥧":"&ldrdhar;","⥋":"&ldrushar;","↲":"&ldsh;","≤":"&leq;","⇇":"&llarr;","⋋":"&lthree;","⪨":"&lescc;","⩿":"&lesdot;","⪁":"&lesdoto;","⪃":"&lesdotor;","⋚︀":"&lesg;","⪓":"&lesges;","⋖":"&ltdot;","⥼":"&lfisht;","𝔩":"&lfr;","⪑":"&lgE;","⥪":"&lharul;","▄":"&lhblk;","љ":"&ljcy;","⥫":"&llhard;","◺":"&lltri;","ŀ":"&lmidot;","⎰":"&lmoustache;","≨":"&lneqq;","⪉":"&lnapprox;","⪇":"&lneq;","⋦":"&lnsim;","⟬":"&loang;","⇽":"&loarr;","⟼":"&xmap;","↬":"&rarrlp;","⦅":"&lopar;","𝕝":"&lopf;","⨭":"&loplus;","⨴":"&lotimes;","∗":"&lowast;","◊":"&lozenge;","(":"&lpar;","⦓":"&lparlt;","⥭":"&lrhard;","‎":"&lrm;","⊿":"&lrtri;","‹":"&lsaquo;","𝓁":"&lscr;","⪍":"&lsime;","⪏":"&lsimg;","‚":"&sbquo;","ł":"&lstrok;","⪦":"&ltcc;","⩹":"&ltcir;","⋉":"&ltimes;","⥶":"&ltlarr;","⩻":"&ltquest;","⦖":"&ltrPar;","◃":"&triangleleft;","⥊":"&lurdshar;","⥦":"&luruhar;","≨︀":"&lvnE;","∺":"&mDDot;","¯":"&strns;","♂":"&male;","✠":"&maltese;","▮":"&marker;","⨩":"&mcomma;","м":"&mcy;","—":"&mdash;","𝔪":"&mfr;","℧":"&mho;","µ":"&micro;","⫰":"&midcir;","−":"&minus;","⨪":"&minusdu;","⫛":"&mlcp;","⊧":"&models;","𝕞":"&mopf;","𝓂":"&mscr;","μ":"&mu;","⊸":"&mumap;","⋙̸":"&nGg;","≫⃒":"&nGt;","⇍":"&nlArr;","⇎":"&nhArr;","⋘̸":"&nLl;","≪⃒":"&nLt;","⇏":"&nrArr;","⊯":"&nVDash;","⊮":"&nVdash;","ń":"&nacute;","∠⃒":"&nang;","⩰̸":"&napE;","≋̸":"&napid;","ŉ":"&napos;","♮":"&natural;","⩃":"&ncap;","ň":"&ncaron;","ņ":"&ncedil;","⩭̸":"&ncongdot;","⩂":"&ncup;","н":"&ncy;","–":"&ndash;","⇗":"&neArr;","⤤":"&nearhk;","≐̸":"&nedot;","⤨":"&toea;","𝔫":"&nfr;","↮":"&nleftrightarrow;","⫲":"&nhpar;","⋼":"&nis;","⋺":"&nisd;","њ":"&njcy;","≦̸":"&nleqq;","↚":"&nleftarrow;","‥":"&nldr;","𝕟":"&nopf;","¬":"&not;","⋹̸":"&notinE;","⋵̸":"&notindot;","⋷":"&notinvb;","⋶":"&notinvc;","⋾":"&notnivb;","⋽":"&notnivc;","⫽⃥":"&nparsl;","∂̸":"&npart;","⨔":"&npolint;","↛":"&nrightarrow;","⤳̸":"&nrarrc;","↝̸":"&nrarrw;","𝓃":"&nscr;","⊄":"&nsub;","⫅̸":"&nsubseteqq;","⊅":"&nsup;","⫆̸":"&nsupseteqq;","ñ":"&ntilde;","ν":"&nu;","#":"&num;","№":"&numero;"," ":"&numsp;","⊭":"&nvDash;","⤄":"&nvHarr;","≍⃒":"&nvap;","⊬":"&nvdash;","≥⃒":"&nvge;",">⃒":"&nvgt;","⧞":"&nvinfin;","⤂":"&nvlArr;","≤⃒":"&nvle;","<⃒":"&nvlt;","⊴⃒":"&nvltrie;","⤃":"&nvrArr;","⊵⃒":"&nvrtrie;","∼⃒":"&nvsim;","⇖":"&nwArr;","⤣":"&nwarhk;","⤧":"&nwnear;","ó":"&oacute;","ô":"&ocirc;","о":"&ocy;","ő":"&odblac;","⨸":"&odiv;","⦼":"&odsold;","œ":"&oelig;","⦿":"&ofcir;","𝔬":"&ofr;","˛":"&ogon;","ò":"&ograve;","⧁":"&ogt;","⦵":"&ohbar;","⦾":"&olcir;","⦻":"&olcross;","⧀":"&olt;","ō":"&omacr;","ω":"&omega;","ο":"&omicron;","⦶":"&omid;","𝕠":"&oopf;","⦷":"&opar;","⦹":"&operp;","∨":"&vee;","⩝":"&ord;","ℴ":"&oscr;","ª":"&ordf;","º":"&ordm;","⊶":"&origof;","⩖":"&oror;","⩗":"&orslope;","⩛":"&orv;","ø":"&oslash;","⊘":"&osol;","õ":"&otilde;","⨶":"&otimesas;","ö":"&ouml;","⌽":"&ovbar;","¶":"&para;","⫳":"&parsim;","⫽":"&parsl;","п":"&pcy;","%":"&percnt;",".":"&period;","‰":"&permil;","‱":"&pertenk;","𝔭":"&pfr;","φ":"&phi;","ϕ":"&varphi;","☎":"&phone;","π":"&pi;","ϖ":"&varpi;","ℎ":"&planckh;","+":"&plus;","⨣":"&plusacir;","⨢":"&pluscir;","⨥":"&plusdu;","⩲":"&pluse;","⨦":"&plussim;","⨧":"&plustwo;","⨕":"&pointint;","𝕡":"&popf;","£":"&pound;","⪳":"&prE;","⪷":"&precapprox;","⪹":"&prnap;","⪵":"&prnE;","⋨":"&prnsim;","′":"&prime;","⌮":"&profalar;","⌒":"&profline;","⌓":"&profsurf;","⊰":"&prurel;","𝓅":"&pscr;","ψ":"&psi;"," ":"&puncsp;","𝔮":"&qfr;","𝕢":"&qopf;","⁗":"&qprime;","𝓆":"&qscr;","⨖":"&quatint;","?":"&quest;","⤜":"&rAtail;","⥤":"&rHar;","∽̱":"&race;","ŕ":"&racute;","⦳":"&raemptyv;","⦒":"&rangd;","⦥":"&range;","»":"&raquo;","⥵":"&rarrap;","⤠":"&rarrbfs;","⤳":"&rarrc;","⤞":"&rarrfs;","⥅":"&rarrpl;","⥴":"&rarrsim;","↣":"&rightarrowtail;","↝":"&rightsquigarrow;","⤚":"&ratail;","∶":"&ratio;","❳":"&rbbrk;","}":"&rcub;","]":"&rsqb;","⦌":"&rbrke;","⦎":"&rbrksld;","⦐":"&rbrkslu;","ř":"&rcaron;","ŗ":"&rcedil;","р":"&rcy;","⤷":"&rdca;","⥩":"&rdldhar;","↳":"&rdsh;","▭":"&rect;","⥽":"&rfisht;","𝔯":"&rfr;","⥬":"&rharul;","ρ":"&rho;","ϱ":"&varrho;","⇉":"&rrarr;","⋌":"&rthree;","˚":"&ring;","‏":"&rlm;","⎱":"&rmoustache;","⫮":"&rnmid;","⟭":"&roang;","⇾":"&roarr;","⦆":"&ropar;","𝕣":"&ropf;","⨮":"&roplus;","⨵":"&rotimes;",")":"&rpar;","⦔":"&rpargt;","⨒":"&rppolint;","›":"&rsaquo;","𝓇":"&rscr;","⋊":"&rtimes;","▹":"&triangleright;","⧎":"&rtriltri;","⥨":"&ruluhar;","℞":"&rx;","ś":"&sacute;","⪴":"&scE;","⪸":"&succapprox;","š":"&scaron;","ş":"&scedil;","ŝ":"&scirc;","⪶":"&succneqq;","⪺":"&succnapprox;","⋩":"&succnsim;","⨓":"&scpolint;","с":"&scy;","⋅":"&sdot;","⩦":"&sdote;","⇘":"&seArr;","§":"&sect;",";":"&semi;","⤩":"&tosa;","✶":"&sext;","𝔰":"&sfr;","♯":"&sharp;","щ":"&shchcy;","ш":"&shcy;","­":"&shy;","σ":"&sigma;","ς":"&varsigma;","⩪":"&simdot;","⪞":"&simg;","⪠":"&simgE;","⪝":"&siml;","⪟":"&simlE;","≆":"&simne;","⨤":"&simplus;","⥲":"&simrarr;","⨳":"&smashp;","⧤":"&smeparsl;","⌣":"&ssmile;","⪪":"&smt;","⪬":"&smte;","⪬︀":"&smtes;","ь":"&softcy;","/":"&sol;","⧄":"&solb;","⌿":"&solbar;","𝕤":"&sopf;","♠":"&spadesuit;","⊓︀":"&sqcaps;","⊔︀":"&sqcups;","𝓈":"&sscr;","☆":"&star;","⊂":"&subset;","⫅":"&subseteqq;","⪽":"&subdot;","⫃":"&subedot;","⫁":"&submult;","⫋":"&subsetneqq;","⊊":"&subsetneq;","⪿":"&subplus;","⥹":"&subrarr;","⫇":"&subsim;","⫕":"&subsub;","⫓":"&subsup;","♪":"&sung;","¹":"&sup1;","²":"&sup2;","³":"&sup3;","⫆":"&supseteqq;","⪾":"&supdot;","⫘":"&supdsub;","⫄":"&supedot;","⟉":"&suphsol;","⫗":"&suphsub;","⥻":"&suplarr;","⫂":"&supmult;","⫌":"&supsetneqq;","⊋":"&supsetneq;","⫀":"&supplus;","⫈":"&supsim;","⫔":"&supsub;","⫖":"&supsup;","⇙":"&swArr;","⤪":"&swnwar;","ß":"&szlig;","⌖":"&target;","τ":"&tau;","ť":"&tcaron;","ţ":"&tcedil;","т":"&tcy;","⌕":"&telrec;","𝔱":"&tfr;","θ":"&theta;","ϑ":"&vartheta;","þ":"&thorn;","×":"&times;","⨱":"&timesbar;","⨰":"&timesd;","⌶":"&topbot;","⫱":"&topcir;","𝕥":"&topf;","⫚":"&topfork;","‴":"&tprime;","▵":"&utri;","≜":"&trie;","◬":"&tridot;","⨺":"&triminus;","⨹":"&triplus;","⧍":"&trisb;","⨻":"&tritime;","⏢":"&trpezium;","𝓉":"&tscr;","ц":"&tscy;","ћ":"&tshcy;","ŧ":"&tstrok;","⥣":"&uHar;","ú":"&uacute;","ў":"&ubrcy;","ŭ":"&ubreve;","û":"&ucirc;","у":"&ucy;","ű":"&udblac;","⥾":"&ufisht;","𝔲":"&ufr;","ù":"&ugrave;","▀":"&uhblk;","⌜":"&ulcorner;","⌏":"&ulcrop;","◸":"&ultri;","ū":"&umacr;","ų":"&uogon;","𝕦":"&uopf;","υ":"&upsilon;","⇈":"&uuarr;","⌝":"&urcorner;","⌎":"&urcrop;","ů":"&uring;","◹":"&urtri;","𝓊":"&uscr;","⋰":"&utdot;","ũ":"&utilde;","ü":"&uuml;","⦧":"&uwangle;","⫨":"&vBar;","⫩":"&vBarv;","⦜":"&vangrt;","⊊︀":"&vsubne;","⫋︀":"&vsubnE;","⊋︀":"&vsupne;","⫌︀":"&vsupnE;","в":"&vcy;","⊻":"&veebar;","≚":"&veeeq;","⋮":"&vellip;","𝔳":"&vfr;","𝕧":"&vopf;","𝓋":"&vscr;","⦚":"&vzigzag;","ŵ":"&wcirc;","⩟":"&wedbar;","≙":"&wedgeq;","℘":"&wp;","𝔴":"&wfr;","𝕨":"&wopf;","𝓌":"&wscr;","𝔵":"&xfr;","ξ":"&xi;","⋻":"&xnis;","𝕩":"&xopf;","𝓍":"&xscr;","ý":"&yacute;","я":"&yacy;","ŷ":"&ycirc;","ы":"&ycy;","¥":"&yen;","𝔶":"&yfr;","ї":"&yicy;","𝕪":"&yopf;","𝓎":"&yscr;","ю":"&yucy;","ÿ":"&yuml;","ź":"&zacute;","ž":"&zcaron;","з":"&zcy;","ż":"&zdot;","ζ":"&zeta;","𝔷":"&zfr;","ж":"&zhcy;","⇝":"&zigrarr;","𝕫":"&zopf;","𝓏":"&zscr;","‍":"&zwj;","‌":"&zwnj;"}}}},9711:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.numericUnicodeMap={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}},8531:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromCodePoint=String.fromCodePoint||function(e){return String.fromCharCode(Math.floor((e-65536)/1024)+55296,(e-65536)%1024+56320)},t.getCodePoint=String.prototype.codePointAt?function(e,t){return e.codePointAt(t)}:function(e,t){return 1024*(e.charCodeAt(t)-55296)+e.charCodeAt(t+1)-56320+65536},t.highSurrogateFrom=55296,t.highSurrogateTo=56319},2804:function(e,t,r){"use strict";r.d(t,{A:function(){return v}});var n=r(7231),o=r.n(n),a=r(9067),i=r.n(a),s=r(1594),u=r.n(s),l=r(4674),c=r.n(l);function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},f.apply(this,arguments)}function d(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}var p=["autoResize","bodyBackground","bodyMargin","bodyPadding","checkOrigin","inPageLinks","heightCalculationMethod","interval","log","maxHeight","maxWidth","minHeight","minWidth","resizeFrom","scrolling","sizeHeight","sizeWidth","warningTimeout","tolerance","widthCalculationMethod","onClosed","onInit","onMessage","onResized"],h=["title","forwardRef"],v=function(e){var t=e.title,r=void 0===t?"iframe":t,n=e.forwardRef,a=d(e,h),i=function(e){return e.autoResize,e.bodyBackground,e.bodyMargin,e.bodyPadding,e.checkOrigin,e.inPageLinks,e.heightCalculationMethod,e.interval,e.log,e.maxHeight,e.maxWidth,e.minHeight,e.minWidth,e.resizeFrom,e.scrolling,e.sizeHeight,e.sizeWidth,e.warningTimeout,e.tolerance,e.widthCalculationMethod,e.onClosed,e.onInit,e.onMessage,e.onResized,d(e,p)}(a),l=(0,s.useRef)(null),v=function(){var e;return c()(!(null!=l&&l.current),"[iframeSizerReact]["+(null==l||null==(e=l.current)?void 0:e.id)+"] Close event ignored, to remove the iframe update your React component"),!(null!=l&&l.current)};return(0,s.useEffect)((function(){var e=l.current;return o()(f({},a,{onClose:v}),e),function(){var t;return null==e||null==(t=e.iFrameResizer)?void 0:t.removeListeners()}}),[]),(0,s.useImperativeHandle)(n,(function(){return{getIframeElement:function(){return l.current},resize:function(){return l.current.iFrameResizer.resize()},moveToAnchor:function(e){return l.current.iFrameResizer.moveToAnchor(e)},sendMessage:function(e,t){l.current.iFrameResizer.sendMessage(e,t)}}})),u().createElement("iframe",f({title:r},i,{ref:l}))};v.propTypes={title:i().string}},7231:function(e,t){var r,n,o;console.info("\nIFRAME-RESIZER\n\nIframe-Resizer 5 is now available via the following two packages:\n\n * @iframe-resizer/parent\n * @iframe-resizer/child\n\nAdditionally their are also new versions of iframe-resizer for React, Vue, and jQuery.\n\nVersion 5 of iframe-resizer has been extensively rewritten to use modern browser APIs, which has enabled significantly better performance and greater accuracy in the detection of content resizing events.\n\nPlease see https://iframe-resizer.com/upgrade for more details.\n"),function(a){if("undefined"!=typeof window){var i,s,u=0,l=!1,c=!1,f="[iFrameSizer]",d=null,p=window.requestAnimationFrame,h=Object.freeze({max:1,scroll:1,bodyScroll:1,documentElementScroll:1}),v={},m=null,g=Object.freeze({autoResize:!0,bodyBackground:null,bodyMargin:null,bodyMarginV1:8,bodyPadding:null,checkOrigin:!0,inPageLinks:!1,enablePublicMethods:!0,heightCalculationMethod:"bodyOffset",id:"iFrameResizer",interval:32,license:"1jqr0si6pnt",log:!1,maxHeight:1/0,maxWidth:1/0,minHeight:0,minWidth:0,mouseEvents:!0,resizeFrom:"parent",scrolling:!1,sizeHeight:!0,sizeWidth:!1,warningTimeout:5e3,tolerance:0,widthCalculationMethod:"scroll",onClose:function(){return!0},onClosed:function(){},onInit:function(){},onMessage:function(){x("onMessage function not defined")},onMouseEnter:function(){},onMouseLeave:function(){},onResized:function(){},onScroll:function(){return!0}}),y={};window.jQuery!==a&&((s=window.jQuery).fn?s.fn.iFrameResize||(s.fn.iFrameResize=function(e){return this.filter("iframe").each((function(t,r){q(r,e)})).end()}):k("","Unable to bind to jQuery, it is not fully loaded.")),n=[],(o="function"==typeof(r=V)?r.apply(t,n):r)===a||(e.exports=o),window.iFrameResize=window.iFrameResize||V()}function b(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function w(e,t,r){e.addEventListener(t,r,!1)}function _(e,t,r){e.removeEventListener(t,r,!1)}function A(e){return v[e]?v[e].log:l}function S(e,t){C("log",e,t,A(e))}function k(e,t){C("info",e,t,A(e))}function x(e,t){C("warn",e,t,!0)}function C(e,t,r,n){!0===n&&"object"==typeof window.console&&console[e](function(e){return f+"["+function(e){var t="Host page: "+e;return window.top!==window.self&&(t=window.parentIFrame&&window.parentIFrame.getId?window.parentIFrame.getId()+": "+e:"Nested host page: "+e),t}(e)+"]"}(t),r)}function P(e){function t(){r("Height"),r("Width"),I((function(){M(C),F(P),l("onResized",C)}),C,"init")}function r(e){var t=Number(v[P]["max"+e]),r=Number(v[P]["min"+e]),n=e.toLowerCase(),o=Number(C[n]);S(P,"Checking "+n+" is in range "+r+"-"+t),o<r&&(o=r,S(P,"Set "+n+" to min value")),o>t&&(o=t,S(P,"Set "+n+" to max value")),C[n]=""+o}function n(e){return A.slice(A.indexOf(":")+7+e)}function o(e,t){var r,n;r=function(){var r,n;j("Send Page Info","pageInfo:"+(r=document.body.getBoundingClientRect(),n=C.iframe.getBoundingClientRect(),JSON.stringify({iframeHeight:n.height,iframeWidth:n.width,clientHeight:Math.max(document.documentElement.clientHeight,window.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,window.innerWidth||0),offsetTop:parseInt(n.top-r.top,10),offsetLeft:parseInt(n.left-r.left,10),scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,documentHeight:document.documentElement.clientHeight,documentWidth:document.documentElement.clientWidth,windowHeight:window.innerHeight,windowWidth:window.innerWidth})),e,t)},y[n=t]||(y[n]=setTimeout((function(){y[n]=null,r()}),32))}function a(e){var t=e.getBoundingClientRect();return O(P),{x:Math.floor(Number(t.left)+Number(d.x)),y:Math.floor(Number(t.top)+Number(d.y))}}function i(e){var t=e?a(C.iframe):{x:0,y:0},r={x:Number(C.width)+t.x,y:Number(C.height)+t.y};S(P,"Reposition requested from iFrame (offset x:"+t.x+" y:"+t.y+")"),window.top===window.self?(d=r,s(),S(P,"--")):window.parentIFrame?window.parentIFrame["scrollTo"+(e?"Offset":"")](r.x,r.y):x(P,"Unable to scroll to requested position, window.parentIFrame not found")}function s(){!1===l("onScroll",d)?L():F(P)}function u(e){var t={};if(0===Number(C.width)&&0===Number(C.height)){var r=n(9).split(":");t={x:r[1],y:r[0]}}else t={x:C.width,y:C.height};l(e,{iframe:C.iframe,screenX:Number(t.x),screenY:Number(t.y),type:C.type})}function l(e,t){return E(P,e,t)}var c,p,h,m,g,b,A=e.data,C={},P=null;"[iFrameResizerChild]Ready"===A?function(){for(var e in v)j("iFrame requested init",N(e),v[e].iframe,e)}():f===(""+A).slice(0,13)&&A.slice(13).split(":")[0]in v?(m=(h=A.slice(13).split(":"))[1]?parseInt(h[1],10):0,g=v[h[0]]&&v[h[0]].iframe,b=getComputedStyle(g),C={iframe:g,id:h[0],height:m+function(e){return"border-box"!==e.boxSizing?0:(e.paddingTop?parseInt(e.paddingTop,10):0)+(e.paddingBottom?parseInt(e.paddingBottom,10):0)}(b)+function(e){return"border-box"!==e.boxSizing?0:(e.borderTopWidth?parseInt(e.borderTopWidth,10):0)+(e.borderBottomWidth?parseInt(e.borderBottomWidth,10):0)}(b),width:h[2],type:h[3]},P=C.id,v[P]&&(v[P].loaded=!0),(p=C.type in{true:1,false:1,undefined:1})&&S(P,"Ignoring init message from meta parent page"),!p&&function(e){var t=!0;return v[e]||(t=!1,x(C.type+" No settings for "+e+". Message was: "+A)),t}(P)&&(S(P,"Received: "+A),c=!0,null===C.iframe&&(x(P,"IFrame ("+C.id+") not found"),c=!1),c&&function(){var t,r=e.origin,n=v[P]&&v[P].checkOrigin;if(n&&""+r!="null"&&!(n.constructor===Array?function(){var e=0,t=!1;for(S(P,"Checking connection is from allowed list of origins: "+n);e<n.length;e++)if(n[e]===r){t=!0;break}return t}():(t=v[P]&&v[P].remoteHost,S(P,"Checking connection is from: "+t),r===t)))throw new Error("Unexpected message received from: "+r+" for "+C.iframe.id+". Message was: "+e.data+". This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.");return!0}()&&function(){switch(v[P]&&v[P].firstRun&&v[P]&&(v[P].firstRun=!1),C.type){case"close":R(C.iframe);break;case"message":p=n(6),S(P,"onMessage passed: {iframe: "+C.iframe.id+", message: "+p+"}"),l("onMessage",{iframe:C.iframe,message:JSON.parse(p)}),S(P,"--");break;case"mouseenter":u("onMouseEnter");break;case"mouseleave":u("onMouseLeave");break;case"autoResize":v[P].autoResize=JSON.parse(n(9));break;case"scrollTo":i(!1);break;case"scrollToOffset":i(!0);break;case"pageInfo":o(v[P]&&v[P].iframe,P),function(){function e(e,n){function a(){v[r]?o(v[r].iframe,r):t()}["scroll","resize"].forEach((function(t){S(r,e+t+" listener for sendPageInfo"),n(window,t,a)}))}function t(){e("Remove ",_)}var r=P;e("Add ",w),v[r]&&(v[r].stopPageInfo=t)}();break;case"pageInfoStop":v[P]&&v[P].stopPageInfo&&(v[P].stopPageInfo(),delete v[P].stopPageInfo);break;case"inPageLink":r=n(9).split("#")[1]||"",c=decodeURIComponent(r),(f=document.getElementById(c)||document.getElementsByName(c)[0])?(e=a(f),S(P,"Moving to in page link (#"+r+") at x: "+e.x+" y: "+e.y),d={x:e.x,y:e.y},s(),S(P,"--")):window.top===window.self?S(P,"In page link #"+r+" not found"):window.parentIFrame?window.parentIFrame.moveToAnchor(r):S(P,"In page link #"+r+" not found and window.parentIFrame not found");break;case"reset":D(C);break;case"init":t(),l("onInit",C.iframe);break;default:0===Number(C.width)&&0===Number(C.height)?x("Unsupported message received ("+C.type+"), this is likely due to the iframe containing a later version of iframe-resizer than the parent page"):t()}var e,r,c,f,p}())):k(P,"Ignored: "+A)}function E(e,t,r){var n=null,o=null;if(v[e]){if("function"!=typeof(n=v[e][t]))throw new TypeError(t+" on iFrame["+e+"] is not a function");o=n(r)}return o}function T(e){var t=e.id;delete v[t]}function R(e){var t=e.id;if(!1!==E(t,"onClose",t)){S(t,"Removing iFrame: "+t);try{e.parentNode&&e.parentNode.removeChild(e)}catch(e){x(e)}E(t,"onClosed",t),S(t,"--"),T(e),i&&(i.disconnect(),i=null)}else S(t,"Close iframe cancelled by onClose event")}function O(e){null===d&&S(e,"Get page position: "+(d={x:window.pageXOffset===a?document.documentElement.scrollLeft:window.pageXOffset,y:window.pageYOffset===a?document.documentElement.scrollTop:window.pageYOffset}).x+","+d.y)}function F(e){null!==d&&(window.scrollTo(d.x,d.y),S(e,"Set page position: "+d.x+","+d.y),L())}function L(){d=null}function D(e){S(e.id,"Size reset requested by "+("init"===e.type?"host page":"iFrame")),O(e.id),I((function(){M(e),j("reset","reset",e.iframe,e.id)}),e,"reset")}function M(e){function t(t){c||"0"!==e[t]||(c=!0,S(n,"Hidden iFrame detected, creating visibility listener"),function(){function e(){Object.keys(v).forEach((function(e){!function(e){function t(t){return"0px"===(v[e]&&v[e].iframe.style[t])}v[e]&&null!==v[e].iframe.offsetParent&&(t("height")||t("width"))&&j("Visibility change","resize",v[e].iframe,e)}(e)}))}function t(t){S("window","Mutation observed: "+t[0].target+" "+t[0].type),B(e,16)}var r,n=b();n&&(r=document.querySelector("body"),new n(t).observe(r,{attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0}))}())}function r(r){!function(t){e.id?(e.iframe.style[t]=e[t]+"px",S(e.id,"IFrame ("+n+") "+t+" set to "+e[t]+"px")):S("undefined","messageData id not set")}(r),t(r)}var n=e.iframe.id;v[n]&&(v[n].sizeHeight&&r("height"),v[n].sizeWidth&&r("width"))}function I(e,t,r){r!==t.type&&p&&!window.jasmine?(S(t.id,"Requesting animation frame"),p(e)):e()}function j(e,t,r,n,o){var a,i=!1;n=n||r.id,v[n]&&(r&&"contentWindow"in r&&null!==r.contentWindow?(a=v[n]&&v[n].targetOrigin,S(n,"["+e+"] Sending msg to iframe["+n+"] ("+t+") targetOrigin: "+a),r.contentWindow.postMessage(f+t,a)):x(n,"["+e+"] IFrame("+n+") not found"),o&&v[n]&&v[n].warningTimeout&&(v[n].msgTimeout=setTimeout((function(){!v[n]||v[n].loaded||i||(i=!0,x(n,"IFrame has not responded within "+v[n].warningTimeout/1e3+" seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ignored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning."))}),v[n].warningTimeout)))}function N(e){return e+":"+v[e].bodyMarginV1+":"+v[e].sizeWidth+":"+v[e].log+":"+v[e].interval+":"+v[e].enablePublicMethods+":"+v[e].autoResize+":"+v[e].bodyMargin+":"+v[e].heightCalculationMethod+":"+v[e].bodyBackground+":"+v[e].bodyPadding+":"+v[e].tolerance+":"+v[e].inPageLinks+":"+v[e].resizeFrom+":"+v[e].widthCalculationMethod+":"+v[e].mouseEvents}function q(e,t){function r(e){var t=e.split("Callback");if(2===t.length){var r="on"+t[0].charAt(0).toUpperCase()+t[0].slice(1);this[r]=this[e],delete this[e],x(s,"Deprecated: '"+e+"' has been renamed '"+r+"'. The old method will be removed in the next major version.")}}var n,o,s=function(r){if("string"!=typeof r)throw new TypeError("Invaild id for iFrame. Expected String");var n;return""===r&&(e.id=(n=t&&t.id||g.id+u++,null!==document.getElementById(n)&&(n+=u++),r=n),l=(t||{}).log,S(r,"Added missing iframe ID: "+r+" ("+e.src+")")),r}(e.id);s in v&&"iFrameResizer"in e?x(s,"Ignored iFrame, already setup."):(function(t){var n;t=t||{},v[s]=Object.create(null),v[s].iframe=e,v[s].firstRun=!0,v[s].remoteHost=e.src&&e.src.split("/").slice(0,3).join("/"),function(e){if("object"!=typeof e)throw new TypeError("Options is not an object")}(t),Object.keys(t).forEach(r,t),function(e){for(var t in g)Object.prototype.hasOwnProperty.call(g,t)&&(v[s][t]=Object.prototype.hasOwnProperty.call(e,t)?e[t]:g[t])}(t),v[s]&&(v[s].targetOrigin=!0===v[s].checkOrigin?""===(n=v[s].remoteHost)||null!==n.match(/^(about:blank|javascript:|file:\/\/)/)?"*":n:"*")}(t),function(){switch(S(s,"IFrame scrolling "+(v[s]&&v[s].scrolling?"enabled":"disabled")+" for "+s),e.style.overflow=!1===(v[s]&&v[s].scrolling)?"hidden":"auto",v[s]&&v[s].scrolling){case"omit":break;case!0:e.scrolling="yes";break;case!1:e.scrolling="no";break;default:e.scrolling=v[s]?v[s].scrolling:"no"}}(),function(){function t(t){var r=v[s][t];1/0!==r&&0!==r&&(e.style[t]="number"==typeof r?r+"px":r,S(s,"Set "+t+"="+e.style[t]))}function r(e){if(v[s]["min"+e]>v[s]["max"+e])throw new Error("Value for min"+e+" can not be greater than max"+e)}r("Height"),r("Width"),t("maxHeight"),t("minHeight"),t("maxWidth"),t("minWidth")}(),"number"!=typeof(v[s]&&v[s].bodyMargin)&&"0"!==(v[s]&&v[s].bodyMargin)||(v[s].bodyMarginV1=v[s].bodyMargin,v[s].bodyMargin=v[s].bodyMargin+"px"),n=N(s),(o=b())&&(i=function(t){if(!e.parentNode)return null;var r=new t((function(t){t.forEach((function(t){Array.prototype.slice.call(t.removedNodes).forEach((function(t){t===e&&R(e)}))}))}));return r.observe(e.parentNode,{childList:!0}),r}(o)),w(e,"load",(function(){var t,r;j("iFrame.onload",n,e,a,!0),t=v[s]&&v[s].firstRun,r=v[s]&&v[s].heightCalculationMethod in h,!t&&r&&D({iframe:e,height:0,width:0,type:"init"})})),j("init",n,e,a,!0),v[s]&&(v[s].iframe.iFrameResizer={close:R.bind(null,v[s].iframe),removeListeners:T.bind(null,v[s].iframe),resize:j.bind(null,"Window resize","resize",v[s].iframe),moveToAnchor:function(e){j("Move to anchor","moveToAnchor:"+e,v[s].iframe,s)},sendMessage:function(e){j("Send Message","message:"+(e=JSON.stringify(e)),v[s].iframe,s)}}))}function B(e,t){null===m&&(m=setTimeout((function(){m=null,e()}),t))}function U(){"hidden"!==document.visibilityState&&(S("document","Trigger event: Visibility change"),B((function(){z("Tab Visible","resize")}),16))}function z(e,t){Object.keys(v).forEach((function(r){(function(e){return v[e]&&"parent"===v[e].resizeFrom&&v[e].autoResize&&!v[e].firstRun})(r)&&j(e,t,v[r].iframe,r)}))}function V(){function e(e,r){r&&(function(){if(!r.tagName)throw new TypeError("Object is not a valid DOM element");if("IFRAME"!==r.tagName.toUpperCase())throw new TypeError("Expected <IFRAME> tag, found <"+r.tagName+">")}(),q(r,e),t.push(r))}var t;return function(){var e,t=["moz","webkit","o","ms"];for(e=0;e<t.length&&!p;e+=1)p=window[t[e]+"RequestAnimationFrame"];p?p=p.bind(window):S("setup","RequestAnimationFrame not supported")}(),w(window,"message",P),w(window,"resize",(function(){S("window","Trigger event: resize"),B((function(){z("Window resize","resize")}),16)})),w(document,"visibilitychange",U),w(document,"-webkit-visibilitychange",U),function(r,n){switch(t=[],function(e){e&&e.enablePublicMethods&&x("enablePublicMethods option has been removed, public methods are now always available in the iFrame")}(r),typeof n){case"undefined":case"string":Array.prototype.forEach.call(document.querySelectorAll(n||"iframe"),e.bind(a,r));break;case"object":e(r,n);break;default:throw new TypeError("Unexpected data type ("+typeof n+")")}return t}}}()},6880:function(e){e.exports=function(e,t){const r=void 0===(t=t||{}).offset?0:t.offset;let n=0,o=`${t.element?t.element:":host"} {${t.pretty?"\n":""}`;for(let a in e){if(n>=r){let r=e[a];isNaN(r)||0===r||(r+=void 0===t.unit?"px":t.unit),o+=`${t.pretty?"\t":""}--${a}: ${r};${t.pretty?"\n":""}`}n++}return o+="}",o}},587:function(e,t,r){"use strict";function n(){return Array.prototype.slice.call(arguments).reduce((function(e,t){return e.concat(t)}),[]).filter((function(e){return"string"==typeof e})).join(" ")}r.d(t,{default:function(){return n}})},9265:function(module,__unused_webpack_exports,__webpack_require__){var factory;factory=function(){return(()=>{var __webpack_modules__=[,(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.StatTimer=t.RenderingCancelledException=t.PixelsPerInch=t.PageViewport=t.PDFDateString=t.LinkTarget=t.DOMStandardFontDataFactory=t.DOMSVGFactory=t.DOMCanvasFactory=t.DOMCMapReaderFactory=void 0,t.addLinkAttributes=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.url,n=t.target,o=t.rel,a=t.enabled,s=void 0===a||a;(0,i.assert)(r&&"string"==typeof r,'addLinkAttributes: A valid "url" parameter must provided.');var u=(0,i.removeNullCharacters)(r);s?e.href=e.title=u:(e.href="",e.title="Disabled: ".concat(u),e.onclick=function(){return!1});var l="";switch(n){case E.NONE:break;case E.SELF:l="_self";break;case E.BLANK:l="_blank";break;case E.PARENT:l="_parent";break;case E.TOP:l="_top"}e.target=l,e.rel="string"==typeof o?o:y},t.deprecated=function(e){console.log("Deprecated API usage: "+e)},t.getFilenameFromUrl=function(e){var t=e.indexOf("#"),r=e.indexOf("?"),n=Math.min(t>0?t:e.length,r>0?r:e.length);return e.substring(e.lastIndexOf("/",n)+1,n)},t.getPdfFilenameFromUrl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"document.pdf";if("string"!=typeof e)return t;if(T(e))return(0,i.warn)('getPdfFilenameFromUrl: ignore "data:"-URL for performance reasons.'),t;var r=/[^/?#=]+\.pdf\b(?!.*\.pdf\b)/i,n=/^(?:(?:[^:]+:)?\/\/[^/]+)?([^?#]*)(\?[^#]*)?(#.*)?$/.exec(e),o=r.exec(n[1])||r.exec(n[2])||r.exec(n[3]);if(o&&(o=o[0]).includes("%"))try{o=r.exec(decodeURIComponent(o))[0]}catch(e){}return o||t},t.getXfaPageViewport=function(e,t){var r=t.scale,n=void 0===r?1:r,o=t.rotation,a=void 0===o?0:o,i=e.attributes.style,s=i.width,u=i.height,l=[0,0,parseInt(s),parseInt(u)];return new C({viewBox:l,scale:n,rotation:a})},t.isDataScheme=T,t.isPdfFile=function(e){return"string"==typeof e&&/\.pdf$/i.test(e)},t.isValidFetchUrl=F,t.loadScript=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new Promise((function(r,n){var o=document.createElement("script");o.src=e,o.onload=function(e){t&&o.remove(),r(e)},o.onerror=function(){n(new Error("Cannot load script at: ".concat(o.src)))},(document.head||document.documentElement).appendChild(o)}))};var o,a=(o=r(2))&&o.__esModule?o:{default:o},i=r(4),s=r(135);function u(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){s=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw a}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function c(e,t,r,n,o,a,i){try{var s=e[a](i),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t,r){return t&&d(e.prototype,t),r&&d(e,r),e}function h(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,o=g(e);if(t){var a=g(this).constructor;r=Reflect.construct(o,arguments,a)}else r=o.apply(this,arguments);return function(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,r)}}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}var y="noopener noreferrer nofollow",b={CSS:96,PDF:72,get PDF_TO_CSS_UNITS(){return(0,i.shadow)(this,"PDF_TO_CSS_UNITS",this.CSS/this.PDF)}};t.PixelsPerInch=b;var w=function(e){h(r,e);var t=m(r);function r(){var e,n=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).ownerDocument,o=void 0===n?globalThis.document:n;return f(this,r),(e=t.call(this))._document=o,e}return p(r,[{key:"_createCanvas",value:function(e,t){var r=this._document.createElement("canvas");return r.width=e,r.height=t,r}}]),r}(s.BaseCanvasFactory);function _(e){return A.apply(this,arguments)}function A(){var e;return e=a.default.mark((function e(t){var r,n,o=arguments;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=o.length>1&&void 0!==o[1]&&o[1],!F(t,document.baseURI)){e.next=21;break}return e.next=4,fetch(t);case 4:if((n=e.sent).ok){e.next=7;break}throw new Error(n.statusText);case 7:if(!r){e.next=15;break}return e.t1=Uint8Array,e.next=11,n.arrayBuffer();case 11:e.t2=e.sent,e.t0=new e.t1(e.t2),e.next=20;break;case 15:return e.t3=i.stringToBytes,e.next=18,n.text();case 18:e.t4=e.sent,e.t0=(0,e.t3)(e.t4);case 20:return e.abrupt("return",e.t0);case 21:return e.abrupt("return",new Promise((function(e,n){var o=new XMLHttpRequest;o.open("GET",t,!0),r&&(o.responseType="arraybuffer"),o.onreadystatechange=function(){if(o.readyState===XMLHttpRequest.DONE){var t;if((200===o.status||0===o.status)&&(r&&o.response?t=new Uint8Array(o.response):!r&&o.responseText&&(t=(0,i.stringToBytes)(o.responseText)),t))return void e(t);n(new Error(o.statusText))}},o.send(null)})));case 22:case"end":return e.stop()}}),e)})),A=function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function i(e){c(a,n,o,i,s,"next",e)}function s(e){c(a,n,o,i,s,"throw",e)}i(void 0)}))},A.apply(this,arguments)}t.DOMCanvasFactory=w;var S=function(e){h(r,e);var t=m(r);function r(){return f(this,r),t.apply(this,arguments)}return p(r,[{key:"_fetchData",value:function(e,t){return _(e,this.isCompressed).then((function(e){return{cMapData:e,compressionType:t}}))}}]),r}(s.BaseCMapReaderFactory);t.DOMCMapReaderFactory=S;var k=function(e){h(r,e);var t=m(r);function r(){return f(this,r),t.apply(this,arguments)}return p(r,[{key:"_fetchData",value:function(e){return _(e,!0)}}]),r}(s.BaseStandardFontDataFactory);t.DOMStandardFontDataFactory=k;var x=function(e){h(r,e);var t=m(r);function r(){return f(this,r),t.apply(this,arguments)}return p(r,[{key:"_createSVG",value:function(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}}]),r}(s.BaseSVGFactory);t.DOMSVGFactory=x;var C=function(){function e(t){var r=t.viewBox,n=t.scale,o=t.rotation,a=t.offsetX,i=void 0===a?0:a,s=t.offsetY,u=void 0===s?0:s,l=t.dontFlip,c=void 0!==l&&l;f(this,e),this.viewBox=r,this.scale=n,this.rotation=o,this.offsetX=i,this.offsetY=u;var d,p,h,v,m,g,y,b,w=(r[2]+r[0])/2,_=(r[3]+r[1])/2;switch((o%=360)<0&&(o+=360),o){case 180:d=-1,p=0,h=0,v=1;break;case 90:d=0,p=1,h=1,v=0;break;case 270:d=0,p=-1,h=-1,v=0;break;case 0:d=1,p=0,h=0,v=-1;break;default:throw new Error("PageViewport: Invalid rotation, must be a multiple of 90 degrees.")}c&&(h=-h,v=-v),0===d?(m=Math.abs(_-r[1])*n+i,g=Math.abs(w-r[0])*n+u,y=Math.abs(r[3]-r[1])*n,b=Math.abs(r[2]-r[0])*n):(m=Math.abs(w-r[0])*n+i,g=Math.abs(_-r[1])*n+u,y=Math.abs(r[2]-r[0])*n,b=Math.abs(r[3]-r[1])*n),this.transform=[d*n,p*n,h*n,v*n,m-d*n*w-h*n*_,g-p*n*w-v*n*_],this.width=y,this.height=b}return p(e,[{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.scale,n=void 0===r?this.scale:r,o=t.rotation,a=void 0===o?this.rotation:o,i=t.offsetX,s=void 0===i?this.offsetX:i,u=t.offsetY,l=void 0===u?this.offsetY:u,c=t.dontFlip,f=void 0!==c&&c;return new e({viewBox:this.viewBox.slice(),scale:n,rotation:a,offsetX:s,offsetY:l,dontFlip:f})}},{key:"convertToViewportPoint",value:function(e,t){return i.Util.applyTransform([e,t],this.transform)}},{key:"convertToViewportRectangle",value:function(e){var t=i.Util.applyTransform([e[0],e[1]],this.transform),r=i.Util.applyTransform([e[2],e[3]],this.transform);return[t[0],t[1],r[0],r[1]]}},{key:"convertToPdfPoint",value:function(e,t){return i.Util.applyInverseTransform([e,t],this.transform)}}]),e}();t.PageViewport=C;var P=function(e){h(r,e);var t=m(r);function r(e,n){var o;return f(this,r),(o=t.call(this,e,"RenderingCancelledException")).type=n,o}return r}(i.BaseException);t.RenderingCancelledException=P;var E={NONE:0,SELF:1,BLANK:2,PARENT:3,TOP:4};function T(e){for(var t=e.length,r=0;r<t&&""===e[r].trim();)r++;return"data:"===e.substring(r,r+5).toLowerCase()}t.LinkTarget=E;var R,O=function(){function e(){f(this,e),this.started=Object.create(null),this.times=[]}return p(e,[{key:"time",value:function(e){e in this.started&&(0,i.warn)("Timer is already running for ".concat(e)),this.started[e]=Date.now()}},{key:"timeEnd",value:function(e){e in this.started||(0,i.warn)("Timer has not been started for ".concat(e)),this.times.push({name:e,start:this.started[e],end:Date.now()}),delete this.started[e]}},{key:"toString",value:function(){var e,t=[],r=0,n=u(this.times);try{for(n.s();!(e=n.n()).done;){var o=e.value.name;o.length>r&&(r=o.length)}}catch(e){n.e(e)}finally{n.f()}var a,i=u(this.times);try{for(i.s();!(a=i.n()).done;){var s=a.value,l=s.end-s.start;t.push("".concat(s.name.padEnd(r)," ").concat(l,"ms\n"))}}catch(e){i.e(e)}finally{i.f()}return t.join("")}}]),e}();function F(e,t){try{var r=(t?new URL(e,t):new URL(e)).protocol;return"http:"===r||"https:"===r}catch(e){return!1}}t.StatTimer=O;var L=function(){function e(){f(this,e)}return p(e,null,[{key:"toDateObject",value:function(e){if(!e||!(0,i.isString)(e))return null;R||(R=new RegExp("^D:(\\d{4})(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?([Z|+|-])?(\\d{2})?'?(\\d{2})?'?"));var t=R.exec(e);if(!t)return null;var r=parseInt(t[1],10),n=parseInt(t[2],10);n=n>=1&&n<=12?n-1:0;var o=parseInt(t[3],10);o=o>=1&&o<=31?o:1;var a=parseInt(t[4],10);a=a>=0&&a<=23?a:0;var s=parseInt(t[5],10);s=s>=0&&s<=59?s:0;var u=parseInt(t[6],10);u=u>=0&&u<=59?u:0;var l=t[7]||"Z",c=parseInt(t[8],10);c=c>=0&&c<=23?c:0;var f=parseInt(t[9],10)||0;return f=f>=0&&f<=59?f:0,"-"===l?(a+=c,s+=f):"+"===l&&(a-=c,s-=f),new Date(Date.UTC(r,n,o,a,s,u))}}]),e}();t.PDFDateString=L},(e,t,r)=>{"use strict";e.exports=r(3)},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}var o=function(e){var t,r=Object.prototype,o=r.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,a=Object.create(o.prototype),i=new T(n||[]);return a._invoke=function(e,t,r){var n=d;return function(o,a){if(n===h)throw new Error("Generator is already running");if(n===v){if("throw"===o)throw a;return O()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var s=C(i,r);if(s){if(s===m)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===d)throw n=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=h;var u=f(e,t,r);if("normal"===u.type){if(n=r.done?v:p,u.arg===m)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n=v,r.method="throw",r.arg=u.arg)}}}(e,r,i),a}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var d="suspendedStart",p="suspendedYield",h="executing",v="completed",m={};function g(){}function y(){}function b(){}var w={};l(w,i,(function(){return this}));var _=Object.getPrototypeOf,A=_&&_(_(R([])));A&&A!==r&&o.call(A,i)&&(w=A);var S=b.prototype=g.prototype=Object.create(w);function k(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function r(a,i,s,u){var l=f(e[a],e,i);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"===n(d)&&o.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,s,u)}),(function(e){r("throw",e,s,u)})):t.resolve(d).then((function(e){c.value=e,s(c)}),(function(e){return r("throw",e,s,u)}))}u(l.arg)}var a;this._invoke=function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}}function C(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,C(e,r),"throw"===r.method))return m;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var o=f(n,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,m;var a=o.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function R(e){if(e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,a=function r(){for(;++n<e.length;)if(o.call(e,n))return r.value=e[n],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}return{next:O}}function O(){return{value:t,done:!0}}return y.prototype=b,l(S,"constructor",b),l(b,"constructor",y),y.displayName=l(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,l(e,u,"GeneratorFunction")),e.prototype=Object.create(S),e},e.awrap=function(e){return{__await:e}},k(x.prototype),l(x.prototype,s,(function(){return this})),e.AsyncIterator=x,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new x(c(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},k(S),l(S,u,"Generator"),l(S,i,(function(){return this})),l(S,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=R,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(E),!e)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function n(n,o){return s.type="throw",s.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=o.call(i,"catchLoc"),l=o.call(i,"finallyLoc");if(u&&l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),E(r),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:R(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}("object"===n(e=r.nmd(e))?e.exports:{});try{regeneratorRuntime=o}catch(e){"object"===("undefined"==typeof globalThis?"undefined":n(globalThis))?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime=r")(o)}},(e,t,r)=>{"use strict";function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||a(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){if(e){if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=d(e);if(t){var o=d(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return function(e,t){if(t&&("object"===s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,r)}}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.VerbosityLevel=t.Util=t.UnknownErrorException=t.UnexpectedResponseException=t.UNSUPPORTED_FEATURES=t.TextRenderingMode=t.StreamType=t.RenderingIntentFlag=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.AnnotationMode=t.AnnotationMarkedState=t.AnnotationFlag=t.AnnotationFieldFlag=t.AnnotationBorderStyleType=t.AnnotationActionEventType=t.AbortException=void 0,t.arrayByteLength=R,t.arraysToBytes=function(e){var t=e.length;if(1===t&&e[0]instanceof Uint8Array)return e[0];for(var r=0,n=0;n<t;n++)r+=R(e[n]);for(var o=0,a=new Uint8Array(r),i=0;i<t;i++){var s=e[i];s instanceof Uint8Array||(s="string"==typeof s?T(s):new Uint8Array(s));var u=s.byteLength;a.set(s,o),o+=u}return a},t.assert=g,t.bytesToString=function(e){g(null!==e&&"object"===s(e)&&void 0!==e.length,"Invalid argument for bytesToString");var t=e.length,r=8192;if(t<r)return String.fromCharCode.apply(null,e);for(var n=[],o=0;o<t;o+=r){var a=Math.min(o+r,t),i=e.subarray(o,a);n.push(String.fromCharCode.apply(null,i))}return n.join("")},t.createObjectURL=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(URL.createObjectURL&&"undefined"!=typeof Blob&&!r)return URL.createObjectURL(new Blob([e],{type:t}));for(var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",o="data:".concat(t,";base64,"),a=0,i=e.length;a<i;a+=3){var s=255&e[a],u=255&e[a+1],l=255&e[a+2];o+=n[s>>2]+n[(3&s)<<4|u>>4]+n[a+1<i?(15&u)<<2|l>>6:64]+n[a+2<i?63&l:64]}return o},t.createPromiseCapability=function(){var e=Object.create(null),t=!1;return Object.defineProperty(e,"settled",{get:function(){return t}}),e.promise=new Promise((function(r,n){e.resolve=function(e){t=!0,r(e)},e.reject=function(e){t=!0,n(e)}})),e},t.createValidAbsoluteUrl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!e)return null;try{if(r&&"string"==typeof e){if(r.addDefaultProtocol&&e.startsWith("www.")){var n=e.match(/\./g);n&&n.length>=2&&(e="http://".concat(e))}if(r.tryConvertEncoding)try{e=I(e)}catch(e){}}var o=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}}(o))return o}catch(e){}return null},t.escapeString=function(e){return e.replace(/([()\\\n\r])/g,(function(e){return"\n"===e?"\\n":"\r"===e?"\\r":"\\".concat(e)}))},t.getModificationDate=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]: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 h},t.info=function(e){h>=p.INFOS&&console.log("Info: ".concat(e))},t.isArrayBuffer=function(e){return"object"===s(e)&&null!==e&&void 0!==e.byteLength},t.isArrayEqual=function(e,t){if(e.length!==t.length)return!1;for(var r=0,n=e.length;r<n;r++)if(e[r]!==t[r])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){var r;try{if(!(r=new URL(e)).origin||"null"===r.origin)return!1}catch(e){return!1}var n=new URL(t,r);return r.origin===n.origin},t.isString=function(e){return"string"==typeof e},t.objectFromMap=function(e){var t,r,n,o=Object.create(null),i=function(e){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=a(e))){t&&(e=t);var r=0,n=function(){};return{s:n,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,s=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==t.return||t.return()}finally{if(s)throw o}}}}(e);try{for(i.s();!(t=i.n()).done;){var s=(r=t.value,n=2,function(e){if(Array.isArray(e))return e}(r)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],i=!0,s=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{i||null==r.return||r.return()}finally{if(s)throw o}}return a}}(r,n)||a(r,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=s[0],l=s[1];o[u]=l}}catch(e){i.e(e)}finally{i.f()}return o},t.objectSize=function(e){return Object.keys(e).length},t.removeNullCharacters=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"string"!=typeof e?(v("The argument for removeNullCharacters must be a string."),e):(t&&(e=e.replace(E," ")),e.replace(P,""))},t.setVerbosityLevel=function(e){Number.isInteger(e)&&(h=e)},t.shadow=y,t.string32=function(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)},t.stringToBytes=T,t.stringToPDFString=function(e){var t=e.length,r=[];if("þ"===e[0]&&"ÿ"===e[1])for(var n=2;n<t;n+=2)r.push(String.fromCharCode(e.charCodeAt(n)<<8|e.charCodeAt(n+1)));else if("ÿ"===e[0]&&"þ"===e[1])for(var o=2;o<t;o+=2)r.push(String.fromCharCode(e.charCodeAt(o+1)<<8|e.charCodeAt(o)));else for(var a=0;a<t;++a){var i=M[e.charCodeAt(a)];r.push(i?String.fromCharCode(i):e.charAt(a))}return r.join("")},t.stringToUTF16BEString=function(e){for(var t=["þÿ"],r=0,n=e.length;r<n;r++){var o=e.charCodeAt(r);t.push(String.fromCharCode(o>>8&255),String.fromCharCode(255&o))}return t.join("")},t.stringToUTF8String=I,t.unreachable=m,t.utf8StringToString=function(e){return unescape(encodeURIComponent(e))},t.warn=v,r(5),t.IDENTITY_MATRIX=[1,0,0,1,0,0],t.FONT_IDENTITY_MATRIX=[.001,0,0,.001,0,0],t.RenderingIntentFlag={ANY:1,DISPLAY:2,PRINT:4,ANNOTATIONS_FORMS:16,ANNOTATIONS_STORAGE:32,ANNOTATIONS_DISABLE:64,OPLIST:256},t.AnnotationMode={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3},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",TYPE1STANDARD:"TYPE1STANDARD",TYPE1C:"TYPE1C",CIDFONTTYPE0:"CIDFONTTYPE0",CIDFONTTYPE0C:"CIDFONTTYPE0C",TRUETYPE:"TRUETYPE",CIDFONTTYPE2:"CIDFONTTYPE2",TYPE3:"TYPE3",OPENTYPE:"OPENTYPE",TYPE0:"TYPE0",MMTYPE1:"MMTYPE1"};var p={ERRORS:0,WARNINGS:1,INFOS:5};t.VerbosityLevel=p,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",signatures:"signatures",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",errorFontBuildPath:"errorFontBuildPath",errorFontGetPath:"errorFontGetPath",errorMarkedContent:"errorMarkedContent",errorContentSubStream:"errorContentSubStream"},t.PasswordResponses={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};var h=p.WARNINGS;function v(e){h>=p.WARNINGS&&console.log("Warning: ".concat(e))}function m(e){throw new Error(e)}function g(e,t){e||m(t)}function y(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!1}),r}var b=function(){function e(t,r){this.constructor===e&&m("Cannot initialize BaseException."),this.message=t,this.name=r}return e.prototype=new Error,e.constructor=e,e}();t.BaseException=b;var w=function(e){l(r,e);var t=f(r);function r(e,n){var o;return u(this,r),(o=t.call(this,e,"PasswordException")).code=n,o}return r}(b);t.PasswordException=w;var _=function(e){l(r,e);var t=f(r);function r(e,n){var o;return u(this,r),(o=t.call(this,e,"UnknownErrorException")).details=n,o}return r}(b);t.UnknownErrorException=_;var A=function(e){l(r,e);var t=f(r);function r(e){return u(this,r),t.call(this,e,"InvalidPDFException")}return r}(b);t.InvalidPDFException=A;var S=function(e){l(r,e);var t=f(r);function r(e){return u(this,r),t.call(this,e,"MissingPDFException")}return r}(b);t.MissingPDFException=S;var k=function(e){l(r,e);var t=f(r);function r(e,n){var o;return u(this,r),(o=t.call(this,e,"UnexpectedResponseException")).status=n,o}return r}(b);t.UnexpectedResponseException=k;var x=function(e){l(r,e);var t=f(r);function r(e){return u(this,r),t.call(this,e,"FormatError")}return r}(b);t.FormatError=x;var C=function(e){l(r,e);var t=f(r);function r(e){return u(this,r),t.call(this,e,"AbortException")}return r}(b);t.AbortException=C;var P=/\x00+/g,E=/[\x01-\x1F]/g;function T(e){g("string"==typeof e,"Invalid argument for stringToBytes");for(var t=e.length,r=new Uint8Array(t),n=0;n<t;++n)r[n]=255&e.charCodeAt(n);return r}function R(e){return void 0!==e.length?e.length:(g(void 0!==e.byteLength,"arrayByteLength - invalid argument."),e.byteLength)}var O={get value(){return y(this,"value",((e=new Uint8Array(4))[0]=1,1===new Uint32Array(e.buffer,0,1)[0]));var e}};t.IsLittleEndianCached=O;var F={get value(){return y(this,"value",function(){try{return new Function(""),!0}catch(e){return!1}}())}};t.IsEvalSupportedCached=F;var L=o(Array(256).keys()).map((function(e){return e.toString(16).padStart(2,"0")})),D=function(){function e(){u(this,e)}var t,r;return t=e,r=[{key:"makeHexColor",value:function(e,t,r){return"#".concat(L[e]).concat(L[t]).concat(L[r])}},{key:"transform",value:function(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]]}},{key:"applyTransform",value:function(e,t){return[e[0]*t[0]+e[1]*t[2]+t[4],e[0]*t[1]+e[1]*t[3]+t[5]]}},{key:"applyInverseTransform",value:function(e,t){var r=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])/r,(-e[0]*t[1]+e[1]*t[0]+t[4]*t[1]-t[5]*t[0])/r]}},{key:"getAxialAlignedBoundingBox",value:function(t,r){var n=e.applyTransform(t,r),o=e.applyTransform(t.slice(2,4),r),a=e.applyTransform([t[0],t[3]],r),i=e.applyTransform([t[2],t[1]],r);return[Math.min(n[0],o[0],a[0],i[0]),Math.min(n[1],o[1],a[1],i[1]),Math.max(n[0],o[0],a[0],i[0]),Math.max(n[1],o[1],a[1],i[1])]}},{key:"inverseTransform",value:function(e){var 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]}},{key:"apply3dTransform",value:function(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]]}},{key:"singularValueDecompose2dScale",value:function(e){var t=[e[0],e[2],e[1],e[3]],r=e[0]*t[0]+e[1]*t[2],n=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=(r+a)/2,s=Math.sqrt(Math.pow(r+a,2)-4*(r*a-o*n))/2,u=i+s||1,l=i-s||1;return[Math.sqrt(u),Math.sqrt(l)]}},{key:"normalizeRect",value:function(e){var 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}},{key:"intersect",value:function(t,r){function n(e,t){return e-t}var o=[t[0],t[2],r[0],r[2]].sort(n),a=[t[1],t[3],r[1],r[3]].sort(n),i=[];return t=e.normalizeRect(t),r=e.normalizeRect(r),o[0]===t[0]&&o[1]===r[0]||o[0]===r[0]&&o[1]===t[0]?(i[0]=o[1],i[2]=o[2],a[0]===t[1]&&a[1]===r[1]||a[0]===r[1]&&a[1]===t[1]?(i[1]=a[1],i[3]=a[2],i):null):null}},{key:"bezierBoundingBox",value:function(e,t,r,n,a,i,s,u){for(var l,c,f,d,p,h,v,m,g=[],y=[[],[]],b=0;b<2;++b)if(0===b?(c=6*e-12*r+6*a,l=-3*e+9*r-9*a+3*s,f=3*r-3*e):(c=6*t-12*n+6*i,l=-3*t+9*n-9*i+3*u,f=3*n-3*t),Math.abs(l)<1e-12){if(Math.abs(c)<1e-12)continue;0<(d=-f/c)&&d<1&&g.push(d)}else v=c*c-4*f*l,m=Math.sqrt(v),v<0||(0<(p=(-c+m)/(2*l))&&p<1&&g.push(p),0<(h=(-c-m)/(2*l))&&h<1&&g.push(h));for(var w,_=g.length,A=_;_--;)w=1-(d=g[_]),y[0][_]=w*w*w*e+3*w*w*d*r+3*w*d*d*a+d*d*d*s,y[1][_]=w*w*w*t+3*w*w*d*n+3*w*d*d*i+d*d*d*u;return y[0][A]=e,y[1][A]=t,y[0][A+1]=s,y[1][A+1]=u,y[0].length=y[1].length=A+2,[Math.min.apply(Math,o(y[0])),Math.min.apply(Math,o(y[1])),Math.max.apply(Math,o(y[0])),Math.max.apply(Math,o(y[1]))]}}],null&&n(t.prototype,null),r&&n(t,r),e}();t.Util=D;var 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];function I(e){return decodeURIComponent(escape(e))}},(e,t,r)=>{"use strict";var n=r(6);"undefined"!=typeof globalThis&&globalThis._pdfjsCompatibilityChecked||("undefined"!=typeof globalThis&&globalThis.Math===Math||(globalThis=r(7)),globalThis._pdfjsCompatibilityChecked=!0,!globalThis.btoa&&n.isNodeJS&&(globalThis.btoa=function(e){return Buffer.from(e,"binary").toString("base64")}),!globalThis.atob&&n.isNodeJS&&(globalThis.atob=function(e){return Buffer.from(e,"base64").toString("binary")}),!globalThis.DOMMatrix&&n.isNodeJS&&(globalThis.DOMMatrix=r(69)),Object.fromEntries||r(70),globalThis.Promise.allSettled||(globalThis.Promise=r(97)),!globalThis.ReadableStream&&n.isNodeJS&&(globalThis.ReadableStream=r(134).ReadableStream))},(e,t)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.isNodeJS=void 0;var n=!("object"!==("undefined"==typeof process?"undefined":r(process))||process+""!="[object process]"||process.versions.nw||process.versions.electron&&process.type&&"browser"!==process.type);t.isNodeJS=n},(e,t,r)=>{r(8),e.exports=r(10)},(e,t,r)=>{r(9)({global:!0},{globalThis:r(10)})},(e,t,r)=>{var n=r(10),o=r(11).f,a=r(47),i=r(50),s=r(41),u=r(57),l=r(68);e.exports=function(e,t){var r,c,f,d,p,h=e.target,v=e.global,m=e.stat;if(r=v?n:m?n[h]||s(h,{}):(n[h]||{}).prototype)for(c in t){if(d=t[c],f=e.noTargetGet?(p=o(r,c))&&p.value:r[c],!l(v?c:h+(m?".":"#")+c,e.forced)&&void 0!==f){if(typeof d==typeof f)continue;u(d,f)}(e.sham||f&&f.sham)&&a(d,"sham",!0),i(r,c,d,e)}}},e=>{var t=function(e){return e&&e.Math==Math&&e};e.exports=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof __webpack_require__.g&&__webpack_require__.g)||function(){return this}()||Function("return this")()},(e,t,r)=>{var n=r(12),o=r(14),a=r(15),i=r(16),s=r(17),u=r(22),l=r(42),c=r(45),f=Object.getOwnPropertyDescriptor;t.f=n?f:function(e,t){if(e=s(e),t=u(t),c)try{return f(e,t)}catch(e){}if(l(e,t))return i(!o(a.f,e,t),e[t])}},(e,t,r)=>{var n=r(13);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},e=>{var t=Function.prototype.call;e.exports=t.bind?t.bind(t):function(){return t.apply(t,arguments)}},(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);t.f=o?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},(e,t,r)=>{var n=r(18),o=r(21);e.exports=function(e){return n(o(e))}},(e,t,r)=>{var n=r(10),o=r(19),a=r(13),i=r(20),s=n.Object,u=o("".split);e.exports=a((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?u(e,""):s(e)}:s},e=>{var t=Function.prototype,r=t.bind,n=t.call,o=r&&r.bind(n);e.exports=r?function(e){return e&&o(n,e)}:function(e){return e&&function(){return n.apply(e,arguments)}}},(e,t,r)=>{var n=r(19),o=n({}.toString),a=n("".slice);e.exports=function(e){return a(o(e),8,-1)}},(e,t,r)=>{var n=r(10).TypeError;e.exports=function(e){if(null==e)throw n("Can't call method on "+e);return e}},(e,t,r)=>{var n=r(23),o=r(26);e.exports=function(e){var t=n(e,"string");return o(t)?t:t+""}},(e,t,r)=>{var n=r(10),o=r(14),a=r(24),i=r(26),s=r(33),u=r(36),l=r(37),c=n.TypeError,f=l("toPrimitive");e.exports=function(e,t){if(!a(e)||i(e))return e;var r,n=s(e,f);if(n){if(void 0===t&&(t="default"),r=o(n,e,t),!a(r)||i(r))return r;throw c("Can't convert object to primitive value")}return void 0===t&&(t="number"),u(e,t)}},(e,t,r)=>{var n=r(25);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},e=>{e.exports=function(e){return"function"==typeof e}},(e,t,r)=>{var n=r(10),o=r(27),a=r(25),i=r(28),s=r(29),u=n.Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=o("Symbol");return a(t)&&i(t.prototype,u(e))}},(e,t,r)=>{var n=r(10),o=r(25);e.exports=function(e,t){return arguments.length<2?(r=n[e],o(r)?r:void 0):n[e]&&n[e][t];var r}},(e,t,r)=>{var n=r(19);e.exports=n({}.isPrototypeOf)},(e,t,r)=>{var n=r(30);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},(e,t,r)=>{var n=r(31),o=r(13);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},(e,t,r)=>{var n,o,a=r(10),i=r(32),s=a.process,u=a.Deno,l=s&&s.versions||u&&u.version,c=l&&l.v8;c&&(o=(n=c.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&i&&(!(n=i.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=i.match(/Chrome\/(\d+)/))&&(o=+n[1]),e.exports=o},(e,t,r)=>{var n=r(27);e.exports=n("navigator","userAgent")||""},(e,t,r)=>{var n=r(34);e.exports=function(e,t){var r=e[t];return null==r?void 0:n(r)}},(e,t,r)=>{var n=r(10),o=r(25),a=r(35),i=n.TypeError;e.exports=function(e){if(o(e))return e;throw i(a(e)+" is not a function")}},(e,t,r)=>{var n=r(10).String;e.exports=function(e){try{return n(e)}catch(e){return"Object"}}},(e,t,r)=>{var n=r(10),o=r(14),a=r(25),i=r(24),s=n.TypeError;e.exports=function(e,t){var r,n;if("string"===t&&a(r=e.toString)&&!i(n=o(r,e)))return n;if(a(r=e.valueOf)&&!i(n=o(r,e)))return n;if("string"!==t&&a(r=e.toString)&&!i(n=o(r,e)))return n;throw s("Can't convert object to primitive value")}},(e,t,r)=>{var n=r(10),o=r(38),a=r(42),i=r(44),s=r(30),u=r(29),l=o("wks"),c=n.Symbol,f=c&&c.for,d=u?c:c&&c.withoutSetter||i;e.exports=function(e){if(!a(l,e)||!s&&"string"!=typeof l[e]){var t="Symbol."+e;s&&a(c,e)?l[e]=c[e]:l[e]=u&&f?f(t):d(t)}return l[e]}},(e,t,r)=>{var n=r(39),o=r(40);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},e=>{e.exports=!1},(e,t,r)=>{var n=r(10),o=r(41),a="__core-js_shared__",i=n[a]||o(a,{});e.exports=i},(e,t,r)=>{var n=r(10),o=Object.defineProperty;e.exports=function(e,t){try{o(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},(e,t,r)=>{var n=r(19),o=r(43),a=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return a(o(e),t)}},(e,t,r)=>{var n=r(10),o=r(21),a=n.Object;e.exports=function(e){return a(o(e))}},(e,t,r)=>{var n=r(19),o=0,a=Math.random(),i=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+i(++o+a,36)}},(e,t,r)=>{var n=r(12),o=r(13),a=r(46);e.exports=!n&&!o((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},(e,t,r)=>{var n=r(10),o=r(24),a=n.document,i=o(a)&&o(a.createElement);e.exports=function(e){return i?a.createElement(e):{}}},(e,t,r)=>{var n=r(12),o=r(48),a=r(16);e.exports=n?function(e,t,r){return o.f(e,t,a(1,r))}:function(e,t,r){return e[t]=r,e}},(e,t,r)=>{var n=r(10),o=r(12),a=r(45),i=r(49),s=r(22),u=n.TypeError,l=Object.defineProperty;t.f=o?l:function(e,t,r){if(i(e),t=s(t),i(r),a)try{return l(e,t,r)}catch(e){}if("get"in r||"set"in r)throw u("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},(e,t,r)=>{var n=r(10),o=r(24),a=n.String,i=n.TypeError;e.exports=function(e){if(o(e))return e;throw i(a(e)+" is not an object")}},(e,t,r)=>{var n=r(10),o=r(25),a=r(42),i=r(47),s=r(41),u=r(51),l=r(52),c=r(56).CONFIGURABLE,f=l.get,d=l.enforce,p=String(String).split("String");(e.exports=function(e,t,r,u){var l,f=!!u&&!!u.unsafe,h=!!u&&!!u.enumerable,v=!!u&&!!u.noTargetGet,m=u&&void 0!==u.name?u.name:t;o(r)&&("Symbol("===String(m).slice(0,7)&&(m="["+String(m).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!a(r,"name")||c&&r.name!==m)&&i(r,"name",m),(l=d(r)).source||(l.source=p.join("string"==typeof m?m:""))),e!==n?(f?!v&&e[t]&&(h=!0):delete e[t],h?e[t]=r:i(e,t,r)):h?e[t]=r:s(t,r)})(Function.prototype,"toString",(function(){return o(this)&&f(this).source||u(this)}))},(e,t,r)=>{var n=r(19),o=r(25),a=r(40),i=n(Function.toString);o(a.inspectSource)||(a.inspectSource=function(e){return i(e)}),e.exports=a.inspectSource},(e,t,r)=>{var n,o,a,i=r(53),s=r(10),u=r(19),l=r(24),c=r(47),f=r(42),d=r(40),p=r(54),h=r(55),v="Object already initialized",m=s.TypeError,g=s.WeakMap;if(i||d.state){var y=d.state||(d.state=new g),b=u(y.get),w=u(y.has),_=u(y.set);n=function(e,t){if(w(y,e))throw new m(v);return t.facade=e,_(y,e,t),t},o=function(e){return b(y,e)||{}},a=function(e){return w(y,e)}}else{var A=p("state");h[A]=!0,n=function(e,t){if(f(e,A))throw new m(v);return t.facade=e,c(e,A,t),t},o=function(e){return f(e,A)?e[A]:{}},a=function(e){return f(e,A)}}e.exports={set:n,get:o,has:a,enforce:function(e){return a(e)?o(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!l(t)||(r=o(t)).type!==e)throw m("Incompatible receiver, "+e+" required");return r}}}},(e,t,r)=>{var n=r(10),o=r(25),a=r(51),i=n.WeakMap;e.exports=o(i)&&/native code/.test(a(i))},(e,t,r)=>{var n=r(38),o=r(44),a=n("keys");e.exports=function(e){return a[e]||(a[e]=o(e))}},e=>{e.exports={}},(e,t,r)=>{var n=r(12),o=r(42),a=Function.prototype,i=n&&Object.getOwnPropertyDescriptor,s=o(a,"name"),u=s&&"something"===function(){}.name,l=s&&(!n||n&&i(a,"name").configurable);e.exports={EXISTS:s,PROPER:u,CONFIGURABLE:l}},(e,t,r)=>{var n=r(42),o=r(58),a=r(11),i=r(48);e.exports=function(e,t){for(var r=o(t),s=i.f,u=a.f,l=0;l<r.length;l++){var c=r[l];n(e,c)||s(e,c,u(t,c))}}},(e,t,r)=>{var n=r(27),o=r(19),a=r(59),i=r(67),s=r(49),u=o([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=a.f(s(e)),r=i.f;return r?u(t,r(e)):t}},(e,t,r)=>{var n=r(60),o=r(66).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,o)}},(e,t,r)=>{var n=r(19),o=r(42),a=r(17),i=r(61).indexOf,s=r(55),u=n([].push);e.exports=function(e,t){var r,n=a(e),l=0,c=[];for(r in n)!o(s,r)&&o(n,r)&&u(c,r);for(;t.length>l;)o(n,r=t[l++])&&(~i(c,r)||u(c,r));return c}},(e,t,r)=>{var n=r(17),o=r(62),a=r(64),i=function(e){return function(t,r,i){var s,u=n(t),l=a(u),c=o(i,l);if(e&&r!=r){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===r)return e||c||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},(e,t,r)=>{var n=r(63),o=Math.max,a=Math.min;e.exports=function(e,t){var r=n(e);return r<0?o(r+t,0):a(r,t)}},e=>{var t=Math.ceil,r=Math.floor;e.exports=function(e){var n=+e;return n!=n||0===n?0:(n>0?r:t)(n)}},(e,t,r)=>{var n=r(65);e.exports=function(e){return n(e.length)}},(e,t,r)=>{var n=r(63),o=Math.min;e.exports=function(e){return e>0?o(n(e),9007199254740991):0}},e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},(e,t)=>{t.f=Object.getOwnPropertySymbols},(e,t,r)=>{var n=r(13),o=r(25),a=/#|\.prototype\./,i=function(e,t){var r=u[s(e)];return r==c||r!=l&&(o(t)?n(t):!!t)},s=i.normalize=function(e){return String(e).replace(a,".").toLowerCase()},u=i.data={},l=i.NATIVE="N",c=i.POLYFILL="P";e.exports=i},(e,t,r)=>{"use strict";var n,o,a;function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}a=function(){function e(e){var t=new f,r=Array.from(e);if(!r.every((function(e){return!Number.isNaN(e)})))throw TypeError('CSSMatrix: "'+e+'" must only have numbers.');if(16===r.length){var n=r[0],o=r[1],a=r[2],i=r[3],s=r[4],u=r[5],l=r[6],c=r[7],d=r[8],p=r[9],h=r[10],v=r[11],m=r[12],g=r[13],y=r[14],b=r[15];t.m11=n,t.a=n,t.m21=s,t.c=s,t.m31=d,t.m41=m,t.e=m,t.m12=o,t.b=o,t.m22=u,t.d=u,t.m32=p,t.m42=g,t.f=g,t.m13=a,t.m23=l,t.m33=h,t.m43=y,t.m14=i,t.m24=c,t.m34=v,t.m44=b}else{if(6!==r.length)throw new TypeError("CSSMatrix: expecting an Array of 6/16 values.");var w=r[0],_=r[1],A=r[2],S=r[3],k=r[4],x=r[5];t.m11=w,t.a=w,t.m12=_,t.b=_,t.m21=A,t.c=A,t.m22=S,t.d=S,t.m41=k,t.e=k,t.m42=x,t.f=x}return t}function t(t){var r=Object.keys(new f);if("object"===i(t)&&r.every((function(e){return e in t})))return e([t.m11,t.m12,t.m13,t.m14,t.m21,t.m22,t.m23,t.m24,t.m31,t.m32,t.m33,t.m34,t.m41,t.m42,t.m43,t.m44]);throw TypeError('CSSMatrix: "'+t+'" is not a DOMMatrix / CSSMatrix / JSON compatible object.')}function r(t){if("string"!=typeof t)throw TypeError('CSSMatrix: "'+t+'" is not a string.');var r=String(t).replace(/\s/g,""),n=new f,o='CSSMatrix: invalid transform string "'+t+'"';return r.split(")").filter((function(e){return e})).forEach((function(t){var r=t.split("("),a=r[0],i=r[1];if(!i)throw TypeError(o);var s=i.split(",").map((function(e){return e.includes("rad")?parseFloat(e)*(180/Math.PI):parseFloat(e)})),u=s[0],l=s[1],c=s[2],f=s[3],d=[u,l,c],p=[u,l,c,f];if("perspective"===a&&u&&[l,c].every((function(e){return void 0===e})))n.m34=-1/u;else if(a.includes("matrix")&&[6,16].includes(s.length)&&s.every((function(e){return!Number.isNaN(+e)}))){var h=s.map((function(e){return Math.abs(e)<1e-6?0:e}));n=n.multiply(e(h))}else if("translate3d"===a&&d.every((function(e){return!Number.isNaN(+e)})))n=n.translate(u,l,c);else if("translate"===a&&u&&void 0===c)n=n.translate(u,l||0,0);else if("rotate3d"===a&&p.every((function(e){return!Number.isNaN(+e)}))&&f)n=n.rotateAxisAngle(u,l,c,f);else if("rotate"===a&&u&&[l,c].every((function(e){return void 0===e})))n=n.rotate(0,0,u);else if("scale3d"===a&&d.every((function(e){return!Number.isNaN(+e)}))&&d.some((function(e){return 1!==e})))n=n.scale(u,l,c);else if("scale"!==a||Number.isNaN(u)||1===u||void 0!==c)if("skew"===a&&u&&void 0===c)n=n.skewX(u),n=l?n.skewY(l):n;else{if(!(/[XYZ]/.test(a)&&u&&[l,c].every((function(e){return void 0===e}))&&["translate","rotate","scale","skew"].some((function(e){return a.includes(e)}))))throw TypeError(o);if(["skewX","skewY"].includes(a))n=n[a](u);else{var v=a.replace(/[XYZ]/,""),m=a.replace(v,""),g=["X","Y","Z"].indexOf(m),y=[0===g?u:0,1===g?u:0,2===g?u:0];n=n[v].apply(n,y)}}else{var b=Number.isNaN(+l)?u:l;n=n.scale(u,b,1)}})),n}function n(e,t,r){var n=new f;return n.m41=e,n.e=e,n.m42=t,n.f=t,n.m43=r,n}function o(e,t,r){var n=new f,o=Math.PI/180,a=e*o,i=t*o,s=r*o,u=Math.cos(a),l=-Math.sin(a),c=Math.cos(i),d=-Math.sin(i),p=Math.cos(s),h=-Math.sin(s),v=c*p,m=-c*h;n.m11=v,n.a=v,n.m12=m,n.b=m,n.m13=d;var g=l*d*p+u*h;n.m21=g,n.c=g;var y=u*p-l*d*h;return n.m22=y,n.d=y,n.m23=-l*c,n.m31=l*h-u*d*p,n.m32=l*p+u*d*h,n.m33=u*c,n}function a(e,t,r,n){var o=new f,a=n*(Math.PI/360),i=Math.sin(a),s=Math.cos(a),u=i*i,l=Math.sqrt(e*e+t*t+r*r),c=e,d=t,p=r;0===l?(c=0,d=0,p=1):(c/=l,d/=l,p/=l);var h=c*c,v=d*d,m=p*p,g=1-2*(v+m)*u;o.m11=g,o.a=g;var y=2*(c*d*u+p*i*s);o.m12=y,o.b=y,o.m13=2*(c*p*u-d*i*s);var b=2*(d*c*u-p*i*s);o.m21=b,o.c=b;var w=1-2*(m+h)*u;return o.m22=w,o.d=w,o.m23=2*(d*p*u+c*i*s),o.m31=2*(p*c*u+d*i*s),o.m32=2*(p*d*u-c*i*s),o.m33=1-2*(h+v)*u,o}function s(e,t,r){var n=new f;return n.m11=e,n.a=e,n.m22=t,n.d=t,n.m33=r,n}function u(e){var t=new f,r=e*Math.PI/180,n=Math.tan(r);return t.m21=n,t.c=n,t}function l(e){var t=new f,r=e*Math.PI/180,n=Math.tan(r);return t.m12=n,t.b=n,t}function c(t,r){return e([r.m11*t.m11+r.m12*t.m21+r.m13*t.m31+r.m14*t.m41,r.m11*t.m12+r.m12*t.m22+r.m13*t.m32+r.m14*t.m42,r.m11*t.m13+r.m12*t.m23+r.m13*t.m33+r.m14*t.m43,r.m11*t.m14+r.m12*t.m24+r.m13*t.m34+r.m14*t.m44,r.m21*t.m11+r.m22*t.m21+r.m23*t.m31+r.m24*t.m41,r.m21*t.m12+r.m22*t.m22+r.m23*t.m32+r.m24*t.m42,r.m21*t.m13+r.m22*t.m23+r.m23*t.m33+r.m24*t.m43,r.m21*t.m14+r.m22*t.m24+r.m23*t.m34+r.m24*t.m44,r.m31*t.m11+r.m32*t.m21+r.m33*t.m31+r.m34*t.m41,r.m31*t.m12+r.m32*t.m22+r.m33*t.m32+r.m34*t.m42,r.m31*t.m13+r.m32*t.m23+r.m33*t.m33+r.m34*t.m43,r.m31*t.m14+r.m32*t.m24+r.m33*t.m34+r.m34*t.m44,r.m41*t.m11+r.m42*t.m21+r.m43*t.m31+r.m44*t.m41,r.m41*t.m12+r.m42*t.m22+r.m43*t.m32+r.m44*t.m42,r.m41*t.m13+r.m42*t.m23+r.m43*t.m33+r.m44*t.m43,r.m41*t.m14+r.m42*t.m24+r.m43*t.m34+r.m44*t.m44])}var f=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=this;if(r.a=1,r.b=0,r.c=0,r.d=1,r.e=0,r.f=0,r.m11=1,r.m12=0,r.m13=0,r.m14=0,r.m21=0,r.m22=1,r.m23=0,r.m24=0,r.m31=0,r.m32=0,r.m33=1,r.m34=0,r.m41=0,r.m42=0,r.m43=0,r.m44=1,e&&e.length){var n=[16,6].some((function(t){return t===e.length}))?e:e[0];return r.setMatrixValue(n)}return r},d={isIdentity:{configurable:!0},is2D:{configurable:!0}};return d.isIdentity.set=function(e){this.isIdentity=e},d.isIdentity.get=function(){var e=this;return 1===e.m11&&0===e.m12&&0===e.m13&&0===e.m14&&0===e.m21&&1===e.m22&&0===e.m23&&0===e.m24&&0===e.m31&&0===e.m32&&1===e.m33&&0===e.m34&&0===e.m41&&0===e.m42&&0===e.m43&&1===e.m44},d.is2D.get=function(){var e=this;return 0===e.m31&&0===e.m32&&1===e.m33&&0===e.m34&&0===e.m43&&1===e.m44},d.is2D.set=function(e){this.is2D=e},f.prototype.setMatrixValue=function(n){return[Array,Float64Array,Float32Array].some((function(e){return n instanceof e}))?e(n):"string"==typeof n&&n.length&&"none"!==n?r(n):"object"===i(n)?t(n):this},f.prototype.toArray=function(){var e=this,t=Math.pow(10,6);return(e.is2D?[e.a,e.b,e.c,e.d,e.e,e.f]:[e.m11,e.m12,e.m13,e.m14,e.m21,e.m22,e.m23,e.m24,e.m31,e.m32,e.m33,e.m34,e.m41,e.m42,e.m43,e.m44]).map((function(e){return Math.abs(e)<1e-6?0:(e*t|0)/t}))},f.prototype.toString=function(){var e=this.toArray();return(this.is2D?"matrix":"matrix3d")+"("+e+")"},f.prototype.toJSON=function(){var e=this,t=e.is2D,r=e.isIdentity;return Object.assign({},e,{is2D:t,isIdentity:r})},f.prototype.multiply=function(e){return c(this,e)},f.prototype.translate=function(e,t,r){var o=t,a=r;return void 0===a&&(a=0),void 0===o&&(o=0),c(this,n(e,o,a))},f.prototype.scale=function(e,t,r){var n=t,o=r;return void 0===n&&(n=e),void 0===o&&(o=1),c(this,s(e,n,o))},f.prototype.rotate=function(e,t,r){var n=e,a=t,i=r;return void 0===a&&(a=0),void 0===i&&(i=n,n=0),c(this,o(n,a,i))},f.prototype.rotateAxisAngle=function(e,t,r,n){if([e,t,r,n].some((function(e){return Number.isNaN(e)})))throw new TypeError("CSSMatrix: expecting 4 values");return c(this,a(e,t,r,n))},f.prototype.skewX=function(e){return c(this,u(e))},f.prototype.skewY=function(e){return c(this,l(e))},f.prototype.transformPoint=function(e){var t=n(e.x,e.y,e.z);return t.m44=e.w||1,{x:(t=this.multiply(t)).m41,y:t.m42,z:t.m43,w:t.m44}},f.prototype.transform=function(e){var t=this,r=t.m11*e.x+t.m12*e.y+t.m13*e.z+t.m14*e.w,n=t.m21*e.x+t.m22*e.y+t.m23*e.z+t.m24*e.w,o=t.m31*e.x+t.m32*e.y+t.m33*e.z+t.m34*e.w,a=t.m41*e.x+t.m42*e.y+t.m43*e.z+t.m44*e.w;return{x:r/a,y:n/a,z:o/a,w:a}},Object.defineProperties(f.prototype,d),Object.assign(f,{Translate:n,Rotate:o,RotateAxisAngle:a,Scale:s,SkewX:u,SkewY:l,Multiply:c,fromArray:e,fromMatrix:t,fromString:r}),Object.assign(f,{Version:"0.0.24"}),f},"object"===i(t)?e.exports=a():void 0===(o="function"==typeof(n=a)?n.call(t,r,t,e):n)||(e.exports=o)},(e,t,r)=>{r(71),r(86);var n=r(96);e.exports=n.Object.fromEntries},(e,t,r)=>{"use strict";var n=r(17),o=r(72),a=r(77),i=r(52),s=r(78),u="Array Iterator",l=i.set,c=i.getterFor(u);e.exports=s(Array,"Array",(function(e,t){l(this,{type:u,target:n(e),index:0,kind:t})}),(function(){var e=c(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values"),a.Arguments=a.Array,o("keys"),o("values"),o("entries")},(e,t,r)=>{var n=r(37),o=r(73),a=r(48),i=n("unscopables"),s=Array.prototype;null==s[i]&&a.f(s,i,{configurable:!0,value:o(null)}),e.exports=function(e){s[i][e]=!0}},(e,t,r)=>{var n,o=r(49),a=r(74),i=r(66),s=r(55),u=r(76),l=r(46),c=r(54),f="prototype",d="script",p=c("IE_PROTO"),h=function(){},v=function(e){return"<"+d+">"+e+"</"+d+">"},m=function(e){e.write(v("")),e.close();var t=e.parentWindow.Object;return e=null,t},g=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;g="undefined"!=typeof document?document.domain&&n?m(n):(t=l("iframe"),r="java"+d+":",t.style.display="none",u.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(v("document.F=Object")),e.close(),e.F):m(n);for(var o=i.length;o--;)delete g[f][i[o]];return g()};s[p]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(h[f]=o(e),r=new h,h[f]=null,r[p]=e):r=g(),void 0===t?r:a(r,t)}},(e,t,r)=>{var n=r(12),o=r(48),a=r(49),i=r(17),s=r(75);e.exports=n?Object.defineProperties:function(e,t){a(e);for(var r,n=i(t),u=s(t),l=u.length,c=0;l>c;)o.f(e,r=u[c++],n[r]);return e}},(e,t,r)=>{var n=r(60),o=r(66);e.exports=Object.keys||function(e){return n(e,o)}},(e,t,r)=>{var n=r(27);e.exports=n("document","documentElement")},e=>{e.exports={}},(e,t,r)=>{"use strict";var n=r(9),o=r(14),a=r(39),i=r(56),s=r(25),u=r(79),l=r(81),c=r(84),f=r(83),d=r(47),p=r(50),h=r(37),v=r(77),m=r(80),g=i.PROPER,y=i.CONFIGURABLE,b=m.IteratorPrototype,w=m.BUGGY_SAFARI_ITERATORS,_=h("iterator"),A="keys",S="values",k="entries",x=function(){return this};e.exports=function(e,t,r,i,h,m,C){u(r,t,i);var P,E,T,R=function(e){if(e===h&&M)return M;if(!w&&e in L)return L[e];switch(e){case A:case S:case k:return function(){return new r(this,e)}}return function(){return new r(this)}},O=t+" Iterator",F=!1,L=e.prototype,D=L[_]||L["@@iterator"]||h&&L[h],M=!w&&D||R(h),I="Array"==t&&L.entries||D;if(I&&(P=l(I.call(new e)))!==Object.prototype&&P.next&&(a||l(P)===b||(c?c(P,b):s(P[_])||p(P,_,x)),f(P,O,!0,!0),a&&(v[O]=x)),g&&h==S&&D&&D.name!==S&&(!a&&y?d(L,"name",S):(F=!0,M=function(){return o(D,this)})),h)if(E={values:R(S),keys:m?M:R(A),entries:R(k)},C)for(T in E)(w||F||!(T in L))&&p(L,T,E[T]);else n({target:t,proto:!0,forced:w||F},E);return a&&!C||L[_]===M||p(L,_,M,{name:h}),v[t]=M,E}},(e,t,r)=>{"use strict";var n=r(80).IteratorPrototype,o=r(73),a=r(16),i=r(83),s=r(77),u=function(){return this};e.exports=function(e,t,r,l){var c=t+" Iterator";return e.prototype=o(n,{next:a(+!l,r)}),i(e,c,!1,!0),s[c]=u,e}},(e,t,r)=>{"use strict";var n,o,a,i=r(13),s=r(25),u=r(73),l=r(81),c=r(50),f=r(37),d=r(39),p=f("iterator"),h=!1;[].keys&&("next"in(a=[].keys())?(o=l(l(a)))!==Object.prototype&&(n=o):h=!0),null==n||i((function(){var e={};return n[p].call(e)!==e}))?n={}:d&&(n=u(n)),s(n[p])||c(n,p,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:h}},(e,t,r)=>{var n=r(10),o=r(42),a=r(25),i=r(43),s=r(54),u=r(82),l=s("IE_PROTO"),c=n.Object,f=c.prototype;e.exports=u?c.getPrototypeOf:function(e){var t=i(e);if(o(t,l))return t[l];var r=t.constructor;return a(r)&&t instanceof r?r.prototype:t instanceof c?f:null}},(e,t,r)=>{var n=r(13);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},(e,t,r)=>{var n=r(48).f,o=r(42),a=r(37)("toStringTag");e.exports=function(e,t,r){e&&!o(e=r?e:e.prototype,a)&&n(e,a,{configurable:!0,value:t})}},(e,t,r)=>{var n=r(19),o=r(49),a=r(85);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=n(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return o(r),a(n),t?e(r,n):r.__proto__=n,r}}():void 0)},(e,t,r)=>{var n=r(10),o=r(25),a=n.String,i=n.TypeError;e.exports=function(e){if("object"==typeof e||o(e))return e;throw i("Can't set "+a(e)+" as a prototype")}},(e,t,r)=>{var n=r(9),o=r(87),a=r(95);n({target:"Object",stat:!0},{fromEntries:function(e){var t={};return o(e,(function(e,r){a(t,e,r)}),{AS_ENTRIES:!0}),t}})},(e,t,r)=>{var n=r(10),o=r(88),a=r(14),i=r(49),s=r(35),u=r(89),l=r(64),c=r(28),f=r(90),d=r(91),p=r(94),h=n.TypeError,v=function(e,t){this.stopped=e,this.result=t},m=v.prototype;e.exports=function(e,t,r){var n,g,y,b,w,_,A,S=r&&r.that,k=!(!r||!r.AS_ENTRIES),x=!(!r||!r.IS_ITERATOR),C=!(!r||!r.INTERRUPTED),P=o(t,S),E=function(e){return n&&p(n,"normal",e),new v(!0,e)},T=function(e){return k?(i(e),C?P(e[0],e[1],E):P(e[0],e[1])):C?P(e,E):P(e)};if(x)n=e;else{if(!(g=d(e)))throw h(s(e)+" is not iterable");if(u(g)){for(y=0,b=l(e);b>y;y++)if((w=T(e[y]))&&c(m,w))return w;return new v(!1)}n=f(e,g)}for(_=n.next;!(A=a(_,n)).done;){try{w=T(A.value)}catch(e){p(n,"throw",e)}if("object"==typeof w&&w&&c(m,w))return w}return new v(!1)}},(e,t,r)=>{var n=r(19),o=r(34),a=n(n.bind);e.exports=function(e,t){return o(e),void 0===t?e:a?a(e,t):function(){return e.apply(t,arguments)}}},(e,t,r)=>{var n=r(37),o=r(77),a=n("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||i[a]===e)}},(e,t,r)=>{var n=r(10),o=r(14),a=r(34),i=r(49),s=r(35),u=r(91),l=n.TypeError;e.exports=function(e,t){var r=arguments.length<2?u(e):t;if(a(r))return i(o(r,e));throw l(s(e)+" is not iterable")}},(e,t,r)=>{var n=r(92),o=r(33),a=r(77),i=r(37)("iterator");e.exports=function(e){if(null!=e)return o(e,i)||o(e,"@@iterator")||a[n(e)]}},(e,t,r)=>{var n=r(10),o=r(93),a=r(25),i=r(20),s=r(37)("toStringTag"),u=n.Object,l="Arguments"==i(function(){return arguments}());e.exports=o?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=u(e),s))?r:l?i(t):"Object"==(n=i(t))&&a(t.callee)?"Arguments":n}},(e,t,r)=>{var n={};n[r(37)("toStringTag")]="z",e.exports="[object z]"===String(n)},(e,t,r)=>{var n=r(14),o=r(49),a=r(33);e.exports=function(e,t,r){var i,s;o(e);try{if(!(i=a(e,"return"))){if("throw"===t)throw r;return r}i=n(i,e)}catch(e){s=!0,i=e}if("throw"===t)throw r;if(s)throw i;return o(i),r}},(e,t,r)=>{"use strict";var n=r(22),o=r(48),a=r(16);e.exports=function(e,t,r){var i=n(t);i in e?o.f(e,i,a(0,r)):e[i]=r}},(e,t,r)=>{var n=r(10);e.exports=n},(e,t,r)=>{r(98),r(71),r(105),r(107),r(129),r(130),r(131),r(132);var n=r(96);e.exports=n.Promise},(e,t,r)=>{"use strict";var n=r(9),o=r(10),a=r(28),i=r(81),s=r(84),u=r(57),l=r(73),c=r(47),f=r(16),d=r(99),p=r(101),h=r(87),v=r(102),m=r(37),g=r(104),y=m("toStringTag"),b=o.Error,w=[].push,_=function(e,t){var r,n=arguments.length>2?arguments[2]:void 0,o=a(A,this);s?r=s(new b(void 0),o?i(this):A):(r=o?this:l(A),c(r,y,"Error")),c(r,"message",v(t,"")),g&&c(r,"stack",d(r.stack,1)),p(r,n);var u=[];return h(e,w,{that:u}),c(r,"errors",u),r};s?s(_,b):u(_,b);var A=_.prototype=l(b.prototype,{constructor:f(1,_),message:f(1,""),name:f(1,"AggregateError")});n({global:!0},{AggregateError:_})},(e,t,r)=>{var n=r(19),o=r(100),a=n("".replace),i=n("".split),s=n([].join),u=String(Error("zxcasd").stack),l=/\n\s*at [^:]*:[^\n]*/,c=l.test(u),f=/@[^\n]*\n/.test(u)&&!/zxcasd/.test(u);e.exports=function(e,t){if("string"!=typeof e)return e;if(c)for(;t--;)e=a(e,l,"");else if(f)return s(o(i(e,"\n"),t),"\n");return e}},(e,t,r)=>{var n=r(10),o=r(62),a=r(64),i=r(95),s=n.Array,u=Math.max;e.exports=function(e,t,r){for(var n=a(e),l=o(t,n),c=o(void 0===r?n:r,n),f=s(u(c-l,0)),d=0;l<c;l++,d++)i(f,d,e[l]);return f.length=d,f}},(e,t,r)=>{var n=r(24),o=r(47);e.exports=function(e,t){n(t)&&"cause"in t&&o(e,"cause",t.cause)}},(e,t,r)=>{var n=r(103);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},(e,t,r)=>{var n=r(10),o=r(92),a=n.String;e.exports=function(e){if("Symbol"===o(e))throw TypeError("Cannot convert a Symbol value to a string");return a(e)}},(e,t,r)=>{var n=r(13),o=r(16);e.exports=!n((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",o(1,7)),7!==e.stack)}))},(e,t,r)=>{var n=r(93),o=r(50),a=r(106);n||o(Object.prototype,"toString",a,{unsafe:!0})},(e,t,r)=>{"use strict";var n=r(93),o=r(92);e.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},(e,t,r)=>{"use strict";var n,o,a,i,s=r(9),u=r(39),l=r(10),c=r(27),f=r(14),d=r(108),p=r(50),h=r(109),v=r(84),m=r(83),g=r(110),y=r(34),b=r(25),w=r(24),_=r(111),A=r(51),S=r(87),k=r(112),x=r(113),C=r(116).set,P=r(121),E=r(124),T=r(126),R=r(125),O=r(127),F=r(52),L=r(68),D=r(37),M=r(128),I=r(120),j=r(31),N=D("species"),q="Promise",B=F.getterFor(q),U=F.set,z=F.getterFor(q),V=d&&d.prototype,W=d,H=V,G=l.TypeError,X=l.document,Y=l.process,K=R.f,$=K,J=!!(X&&X.createEvent&&l.dispatchEvent),Q=b(l.PromiseRejectionEvent),Z="unhandledrejection",ee=!1,te=L(q,(function(){var e=A(W),t=e!==String(W);if(!t&&66===j)return!0;if(u&&!H.finally)return!0;if(j>=51&&/native code/.test(e))return!1;var r=new W((function(e){e(1)})),n=function(e){e((function(){}),(function(){}))};return(r.constructor={})[N]=n,!(ee=r.then((function(){}))instanceof n)||!t&&M&&!Q})),re=te||!k((function(e){W.all(e).catch((function(){}))})),ne=function(e){var t;return!(!w(e)||!b(t=e.then))&&t},oe=function(e,t){if(!e.notified){e.notified=!0;var r=e.reactions;P((function(){for(var n=e.value,o=1==e.state,a=0;r.length>a;){var i,s,u,l=r[a++],c=o?l.ok:l.fail,d=l.resolve,p=l.reject,h=l.domain;try{c?(o||(2===e.rejection&&ue(e),e.rejection=1),!0===c?i=n:(h&&h.enter(),i=c(n),h&&(h.exit(),u=!0)),i===l.promise?p(G("Promise-chain cycle")):(s=ne(i))?f(s,i,d,p):d(i)):p(n)}catch(e){h&&!u&&h.exit(),p(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&ie(e)}))}},ae=function(e,t,r){var n,o;J?((n=X.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),l.dispatchEvent(n)):n={promise:t,reason:r},!Q&&(o=l["on"+e])?o(n):e===Z&&T("Unhandled promise rejection",r)},ie=function(e){f(C,l,(function(){var t,r=e.facade,n=e.value;if(se(e)&&(t=O((function(){I?Y.emit("unhandledRejection",n,r):ae(Z,r,n)})),e.rejection=I||se(e)?2:1,t.error))throw t.value}))},se=function(e){return 1!==e.rejection&&!e.parent},ue=function(e){f(C,l,(function(){var t=e.facade;I?Y.emit("rejectionHandled",t):ae("rejectionhandled",t,e.value)}))},le=function(e,t,r){return function(n){e(t,n,r)}},ce=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,oe(e,!0))},fe=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw G("Promise can't be resolved itself");var n=ne(t);n?P((function(){var r={done:!1};try{f(n,t,le(fe,r,e),le(ce,r,e))}catch(t){ce(r,t,e)}})):(e.value=t,e.state=1,oe(e,!1))}catch(t){ce({done:!1},t,e)}}};if(te&&(H=(W=function(e){_(this,H),y(e),f(n,this);var t=B(this);try{e(le(fe,t),le(ce,t))}catch(e){ce(t,e)}}).prototype,(n=function(e){U(this,{type:q,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=h(H,{then:function(e,t){var r=z(this),n=r.reactions,o=K(x(this,W));return o.ok=!b(e)||e,o.fail=b(t)&&t,o.domain=I?Y.domain:void 0,r.parent=!0,n[n.length]=o,0!=r.state&&oe(r,!1),o.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new n,t=B(e);this.promise=e,this.resolve=le(fe,t),this.reject=le(ce,t)},R.f=K=function(e){return e===W||e===a?new o(e):$(e)},!u&&b(d)&&V!==Object.prototype)){i=V.then,ee||(p(V,"then",(function(e,t){var r=this;return new W((function(e,t){f(i,r,e,t)})).then(e,t)}),{unsafe:!0}),p(V,"catch",H.catch,{unsafe:!0}));try{delete V.constructor}catch(e){}v&&v(V,H)}s({global:!0,wrap:!0,forced:te},{Promise:W}),m(W,q,!1,!0),g(q),a=c(q),s({target:q,stat:!0,forced:te},{reject:function(e){var t=K(this);return f(t.reject,void 0,e),t.promise}}),s({target:q,stat:!0,forced:u||te},{resolve:function(e){return E(u&&this===a?W:this,e)}}),s({target:q,stat:!0,forced:re},{all:function(e){var t=this,r=K(t),n=r.resolve,o=r.reject,a=O((function(){var r=y(t.resolve),a=[],i=0,s=1;S(e,(function(e){var u=i++,l=!1;s++,f(r,t,e).then((function(e){l||(l=!0,a[u]=e,--s||n(a))}),o)})),--s||n(a)}));return a.error&&o(a.value),r.promise},race:function(e){var t=this,r=K(t),n=r.reject,o=O((function(){var o=y(t.resolve);S(e,(function(e){f(o,t,e).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}})},(e,t,r)=>{var n=r(10);e.exports=n.Promise},(e,t,r)=>{var n=r(50);e.exports=function(e,t,r){for(var o in t)n(e,o,t[o],r);return e}},(e,t,r)=>{"use strict";var n=r(27),o=r(48),a=r(37),i=r(12),s=a("species");e.exports=function(e){var t=n(e),r=o.f;i&&t&&!t[s]&&r(t,s,{configurable:!0,get:function(){return this}})}},(e,t,r)=>{var n=r(10),o=r(28),a=n.TypeError;e.exports=function(e,t){if(o(t,e))return e;throw a("Incorrect invocation")}},(e,t,r)=>{var n=r(37)("iterator"),o=!1;try{var a=0,i={next:function(){return{done:!!a++}},return:function(){o=!0}};i[n]=function(){return this},Array.from(i,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var r=!1;try{var a={};a[n]=function(){return{next:function(){return{done:r=!0}}}},e(a)}catch(e){}return r}},(e,t,r)=>{var n=r(49),o=r(114),a=r(37)("species");e.exports=function(e,t){var r,i=n(e).constructor;return void 0===i||null==(r=n(i)[a])?t:o(r)}},(e,t,r)=>{var n=r(10),o=r(115),a=r(35),i=n.TypeError;e.exports=function(e){if(o(e))return e;throw i(a(e)+" is not a constructor")}},(e,t,r)=>{var n=r(19),o=r(13),a=r(25),i=r(92),s=r(27),u=r(51),l=function(){},c=[],f=s("Reflect","construct"),d=/^\s*(?:class|function)\b/,p=n(d.exec),h=!d.exec(l),v=function(e){if(!a(e))return!1;try{return f(l,c,e),!0}catch(e){return!1}};e.exports=!f||o((function(){var e;return v(v.call)||!v(Object)||!v((function(){e=!0}))||e}))?function(e){if(!a(e))return!1;switch(i(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return h||!!p(d,u(e))}:v},(e,t,r)=>{var n,o,a,i,s=r(10),u=r(117),l=r(88),c=r(25),f=r(42),d=r(13),p=r(76),h=r(118),v=r(46),m=r(119),g=r(120),y=s.setImmediate,b=s.clearImmediate,w=s.process,_=s.Dispatch,A=s.Function,S=s.MessageChannel,k=s.String,x=0,C={},P="onreadystatechange";try{n=s.location}catch(e){}var E=function(e){if(f(C,e)){var t=C[e];delete C[e],t()}},T=function(e){return function(){E(e)}},R=function(e){E(e.data)},O=function(e){s.postMessage(k(e),n.protocol+"//"+n.host)};y&&b||(y=function(e){var t=h(arguments,1);return C[++x]=function(){u(c(e)?e:A(e),void 0,t)},o(x),x},b=function(e){delete C[e]},g?o=function(e){w.nextTick(T(e))}:_&&_.now?o=function(e){_.now(T(e))}:S&&!m?(i=(a=new S).port2,a.port1.onmessage=R,o=l(i.postMessage,i)):s.addEventListener&&c(s.postMessage)&&!s.importScripts&&n&&"file:"!==n.protocol&&!d(O)?(o=O,s.addEventListener("message",R,!1)):o=P in v("script")?function(e){p.appendChild(v("script"))[P]=function(){p.removeChild(this),E(e)}}:function(e){setTimeout(T(e),0)}),e.exports={set:y,clear:b}},e=>{var t=Function.prototype,r=t.apply,n=t.bind,o=t.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(r):function(){return o.apply(r,arguments)})},(e,t,r)=>{var n=r(19);e.exports=n([].slice)},(e,t,r)=>{var n=r(32);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},(e,t,r)=>{var n=r(20),o=r(10);e.exports="process"==n(o.process)},(e,t,r)=>{var n,o,a,i,s,u,l,c,f=r(10),d=r(88),p=r(11).f,h=r(116).set,v=r(119),m=r(122),g=r(123),y=r(120),b=f.MutationObserver||f.WebKitMutationObserver,w=f.document,_=f.process,A=f.Promise,S=p(f,"queueMicrotask"),k=S&&S.value;k||(n=function(){var e,t;for(y&&(e=_.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?i():a=void 0,e}}a=void 0,e&&e.enter()},v||y||g||!b||!w?!m&&A&&A.resolve?((l=A.resolve(void 0)).constructor=A,c=d(l.then,l),i=function(){c(n)}):y?i=function(){_.nextTick(n)}:(h=d(h,f),i=function(){h(n)}):(s=!0,u=w.createTextNode(""),new b(n).observe(u,{characterData:!0}),i=function(){u.data=s=!s})),e.exports=k||function(e){var t={fn:e,next:void 0};a&&(a.next=t),o||(o=t,i()),a=t}},(e,t,r)=>{var n=r(32),o=r(10);e.exports=/ipad|iphone|ipod/i.test(n)&&void 0!==o.Pebble},(e,t,r)=>{var n=r(32);e.exports=/web0s(?!.*chrome)/i.test(n)},(e,t,r)=>{var n=r(49),o=r(24),a=r(125);e.exports=function(e,t){if(n(e),o(t)&&t.constructor===e)return t;var r=a.f(e);return(0,r.resolve)(t),r.promise}},(e,t,r)=>{"use strict";var n=r(34),o=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new o(e)}},(e,t,r)=>{var n=r(10);e.exports=function(e,t){var r=n.console;r&&r.error&&(1==arguments.length?r.error(e):r.error(e,t))}},e=>{e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},e=>{e.exports="object"==typeof window},(e,t,r)=>{"use strict";var n=r(9),o=r(14),a=r(34),i=r(125),s=r(127),u=r(87);n({target:"Promise",stat:!0},{allSettled:function(e){var t=this,r=i.f(t),n=r.resolve,l=r.reject,c=s((function(){var r=a(t.resolve),i=[],s=0,l=1;u(e,(function(e){var a=s++,u=!1;l++,o(r,t,e).then((function(e){u||(u=!0,i[a]={status:"fulfilled",value:e},--l||n(i))}),(function(e){u||(u=!0,i[a]={status:"rejected",reason:e},--l||n(i))}))})),--l||n(i)}));return c.error&&l(c.value),r.promise}})},(e,t,r)=>{"use strict";var n=r(9),o=r(34),a=r(27),i=r(14),s=r(125),u=r(127),l=r(87),c="No one promise resolved";n({target:"Promise",stat:!0},{any:function(e){var t=this,r=a("AggregateError"),n=s.f(t),f=n.resolve,d=n.reject,p=u((function(){var n=o(t.resolve),a=[],s=0,u=1,p=!1;l(e,(function(e){var o=s++,l=!1;u++,i(n,t,e).then((function(e){l||p||(p=!0,f(e))}),(function(e){l||p||(l=!0,a[o]=e,--u||d(new r(a,c)))}))})),--u||d(new r(a,c))}));return p.error&&d(p.value),n.promise}})},(e,t,r)=>{"use strict";var n=r(9),o=r(39),a=r(108),i=r(13),s=r(27),u=r(25),l=r(113),c=r(124),f=r(50);if(n({target:"Promise",proto:!0,real:!0,forced:!!a&&i((function(){a.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=l(this,s("Promise")),r=u(e);return this.then(r?function(r){return c(t,e()).then((function(){return r}))}:e,r?function(r){return c(t,e()).then((function(){throw r}))}:e)}}),!o&&u(a)){var d=s("Promise").prototype.finally;a.prototype.finally!==d&&f(a.prototype,"finally",d,{unsafe:!0})}},(e,t,r)=>{"use strict";var n=r(133).charAt,o=r(103),a=r(52),i=r(78),s="String Iterator",u=a.set,l=a.getterFor(s);i(String,"String",(function(e){u(this,{type:s,string:o(e),index:0})}),(function(){var e,t=l(this),r=t.string,o=t.index;return o>=r.length?{value:void 0,done:!0}:(e=n(r,o),t.index+=e.length,{value:e,done:!1})}))},(e,t,r)=>{var n=r(19),o=r(63),a=r(103),i=r(21),s=n("".charAt),u=n("".charCodeAt),l=n("".slice),c=function(e){return function(t,r){var n,c,f=a(i(t)),d=o(r),p=f.length;return d<0||d>=p?e?"":void 0:(n=u(f,d))<55296||n>56319||d+1===p||(c=u(f,d+1))<56320||c>57343?e?s(f,d):n:e?l(f,d,d+2):c-56320+(n-55296<<10)+65536}};e.exports={codeAt:c(!1),charAt:c(!0)}},function(e,t){!function(e){"use strict";var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol:function(e){return"Symbol("+e+")"};function r(){}var n="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==__webpack_require__.g?__webpack_require__.g:void 0;function o(e){return"object"==typeof e&&null!==e||"function"==typeof e}var a=r,i=Promise,s=Promise.prototype.then,u=Promise.resolve.bind(i),l=Promise.reject.bind(i);function c(e){return new i(e)}function f(e){return u(e)}function d(e){return l(e)}function p(e,t,r){return s.call(e,t,r)}function h(e,t,r){p(p(e,t,r),void 0,a)}function v(e,t){h(e,t)}function m(e,t){h(e,void 0,t)}function g(e,t,r){return p(e,t,r)}function y(e){p(e,void 0,a)}var b=function(){var e=n&&n.queueMicrotask;if("function"==typeof e)return e;var t=f(void 0);return function(e){return p(t,e)}}();function w(e,t,r){if("function"!=typeof e)throw new TypeError("Argument is not a function");return Function.prototype.apply.call(e,t,r)}function _(e,t,r){try{return f(w(e,t,r))}catch(e){return d(e)}}var A=function(){function e(){this._cursor=0,this._size=0,this._front={_elements:[],_next:void 0},this._back=this._front,this._cursor=0,this._size=0}return Object.defineProperty(e.prototype,"length",{get:function(){return this._size},enumerable:!1,configurable:!0}),e.prototype.push=function(e){var t=this._back,r=t;16383===t._elements.length&&(r={_elements:[],_next:void 0}),t._elements.push(e),r!==t&&(this._back=r,t._next=r),++this._size},e.prototype.shift=function(){var e=this._front,t=e,r=this._cursor,n=r+1,o=e._elements,a=o[r];return 16384===n&&(t=e._next,n=0),--this._size,this._cursor=n,e!==t&&(this._front=t),o[r]=void 0,a},e.prototype.forEach=function(e){for(var t=this._cursor,r=this._front,n=r._elements;!(t===n.length&&void 0===r._next||t===n.length&&(t=0,0===(n=(r=r._next)._elements).length));)e(n[t]),++t},e.prototype.peek=function(){var e=this._front,t=this._cursor;return e._elements[t]},e}();function S(e,t){e._ownerReadableStream=t,t._reader=e,"readable"===t._state?P(e):"closed"===t._state?function(e){P(e),R(e)}(e):E(e,t._storedError)}function k(e,t){return kr(e._ownerReadableStream,t)}function x(e){"readable"===e._ownerReadableStream._state?T(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):function(e,t){E(e,t)}(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")),e._ownerReadableStream._reader=void 0,e._ownerReadableStream=void 0}function C(e){return new TypeError("Cannot "+e+" a stream using a released reader")}function P(e){e._closedPromise=c((function(t,r){e._closedPromise_resolve=t,e._closedPromise_reject=r}))}function E(e,t){P(e),T(e,t)}function T(e,t){void 0!==e._closedPromise_reject&&(y(e._closedPromise),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0)}function R(e){void 0!==e._closedPromise_resolve&&(e._closedPromise_resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0)}var O=t("[[AbortSteps]]"),F=t("[[ErrorSteps]]"),L=t("[[CancelSteps]]"),D=t("[[PullSteps]]"),M=Number.isFinite||function(e){return"number"==typeof e&&isFinite(e)},I=Math.trunc||function(e){return e<0?Math.ceil(e):Math.floor(e)};function j(e,t){if(void 0!==e&&("object"!=typeof(r=e)&&"function"!=typeof r))throw new TypeError(t+" is not an object.");var r}function N(e,t){if("function"!=typeof e)throw new TypeError(t+" is not a function.")}function q(e,t){if(!function(e){return"object"==typeof e&&null!==e||"function"==typeof e}(e))throw new TypeError(t+" is not an object.")}function B(e,t,r){if(void 0===e)throw new TypeError("Parameter "+t+" is required in '"+r+"'.")}function U(e,t,r){if(void 0===e)throw new TypeError(t+" is required in '"+r+"'.")}function z(e){return Number(e)}function V(e){return 0===e?0:e}function W(e,t){var r=Number.MAX_SAFE_INTEGER,n=Number(e);if(n=V(n),!M(n))throw new TypeError(t+" is not a finite number");if((n=function(e){return V(I(e))}(n))<0||n>r)throw new TypeError(t+" is outside the accepted range of 0 to "+r+", inclusive");return M(n)&&0!==n?n:0}function H(e,t){if(!Ar(e))throw new TypeError(t+" is not a ReadableStream.")}function G(e){return new Z(e)}function X(e,t){e._reader._readRequests.push(t)}function Y(e,t,r){var n=e._reader._readRequests.shift();r?n._closeSteps():n._chunkSteps(t)}function K(e){return e._reader._readRequests.length}function $(e){var t=e._reader;return void 0!==t&&!!ee(t)}var J,Q,Z=function(){function e(e){if(B(e,1,"ReadableStreamDefaultReader"),H(e,"First parameter"),Sr(e))throw new TypeError("This stream has already been locked for exclusive reading by another reader");S(this,e),this._readRequests=new A}return Object.defineProperty(e.prototype,"closed",{get:function(){return ee(this)?this._closedPromise:d(re("closed"))},enumerable:!1,configurable:!0}),e.prototype.cancel=function(e){return void 0===e&&(e=void 0),ee(this)?void 0===this._ownerReadableStream?d(C("cancel")):k(this,e):d(re("cancel"))},e.prototype.read=function(){if(!ee(this))return d(re("read"));if(void 0===this._ownerReadableStream)return d(C("read from"));var e,t,r=c((function(r,n){e=r,t=n}));return te(this,{_chunkSteps:function(t){return e({value:t,done:!1})},_closeSteps:function(){return e({value:void 0,done:!0})},_errorSteps:function(e){return t(e)}}),r},e.prototype.releaseLock=function(){if(!ee(this))throw re("releaseLock");if(void 0!==this._ownerReadableStream){if(this._readRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");x(this)}},e}();function ee(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readRequests")&&e instanceof Z}function te(e,t){var r=e._ownerReadableStream;r._disturbed=!0,"closed"===r._state?t._closeSteps():"errored"===r._state?t._errorSteps(r._storedError):r._readableStreamController[D](t)}function re(e){return new TypeError("ReadableStreamDefaultReader.prototype."+e+" can only be used on a ReadableStreamDefaultReader")}Object.defineProperties(Z.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(Z.prototype,t.toStringTag,{value:"ReadableStreamDefaultReader",configurable:!0}),"symbol"==typeof t.asyncIterator&&((J={})[t.asyncIterator]=function(){return this},Q=J,Object.defineProperty(Q,t.asyncIterator,{enumerable:!1}));var ne=function(){function e(e,t){this._ongoingPromise=void 0,this._isFinished=!1,this._reader=e,this._preventCancel=t}return e.prototype.next=function(){var e=this,t=function(){return e._nextSteps()};return this._ongoingPromise=this._ongoingPromise?g(this._ongoingPromise,t,t):t(),this._ongoingPromise},e.prototype.return=function(e){var t=this,r=function(){return t._returnSteps(e)};return this._ongoingPromise?g(this._ongoingPromise,r,r):r()},e.prototype._nextSteps=function(){var e=this;if(this._isFinished)return Promise.resolve({value:void 0,done:!0});var t,r,n=this._reader;if(void 0===n._ownerReadableStream)return d(C("iterate"));var o=c((function(e,n){t=e,r=n}));return te(n,{_chunkSteps:function(r){e._ongoingPromise=void 0,b((function(){return t({value:r,done:!1})}))},_closeSteps:function(){e._ongoingPromise=void 0,e._isFinished=!0,x(n),t({value:void 0,done:!0})},_errorSteps:function(t){e._ongoingPromise=void 0,e._isFinished=!0,x(n),r(t)}}),o},e.prototype._returnSteps=function(e){if(this._isFinished)return Promise.resolve({value:e,done:!0});this._isFinished=!0;var t=this._reader;if(void 0===t._ownerReadableStream)return d(C("finish iterating"));if(!this._preventCancel){var r=k(t,e);return x(t),g(r,(function(){return{value:e,done:!0}}))}return x(t),f({value:e,done:!0})},e}(),oe={next:function(){return ae(this)?this._asyncIteratorImpl.next():d(ie("next"))},return:function(e){return ae(this)?this._asyncIteratorImpl.return(e):d(ie("return"))}};function ae(e){if(!o(e))return!1;if(!Object.prototype.hasOwnProperty.call(e,"_asyncIteratorImpl"))return!1;try{return e._asyncIteratorImpl instanceof ne}catch(e){return!1}}function ie(e){return new TypeError("ReadableStreamAsyncIterator."+e+" can only be used on a ReadableSteamAsyncIterator")}void 0!==Q&&Object.setPrototypeOf(oe,Q);var se=Number.isNaN||function(e){return e!=e};function ue(e){return e.slice()}function le(e,t,r,n,o){new Uint8Array(e).set(new Uint8Array(r,n,o),t)}function ce(e,t,r){if(e.slice)return e.slice(t,r);var n=r-t,o=new ArrayBuffer(n);return le(o,0,e,t,n),o}function fe(e){var t=ce(e.buffer,e.byteOffset,e.byteOffset+e.byteLength);return new Uint8Array(t)}function de(e){var t=e._queue.shift();return e._queueTotalSize-=t.size,e._queueTotalSize<0&&(e._queueTotalSize=0),t.value}function pe(e,t,r){if("number"!=typeof(n=r)||se(n)||n<0||r===1/0)throw new RangeError("Size must be a finite, non-NaN, non-negative number.");var n;e._queue.push({value:t,size:r}),e._queueTotalSize+=r}function he(e){e._queue=new A,e._queueTotalSize=0}var ve=function(){function e(){throw new TypeError("Illegal constructor")}return Object.defineProperty(e.prototype,"view",{get:function(){if(!ye(this))throw Be("view");return this._view},enumerable:!1,configurable:!0}),e.prototype.respond=function(e){if(!ye(this))throw Be("respond");if(B(e,1,"respond"),e=W(e,"First parameter"),void 0===this._associatedReadableByteStreamController)throw new TypeError("This BYOB request has been invalidated");this._view.buffer,je(this._associatedReadableByteStreamController,e)},e.prototype.respondWithNewView=function(e){if(!ye(this))throw Be("respondWithNewView");if(B(e,1,"respondWithNewView"),!ArrayBuffer.isView(e))throw new TypeError("You can only respond with array buffer views");if(void 0===this._associatedReadableByteStreamController)throw new TypeError("This BYOB request has been invalidated");e.buffer,Ne(this._associatedReadableByteStreamController,e)},e}();Object.defineProperties(ve.prototype,{respond:{enumerable:!0},respondWithNewView:{enumerable:!0},view:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(ve.prototype,t.toStringTag,{value:"ReadableStreamBYOBRequest",configurable:!0});var me=function(){function e(){throw new TypeError("Illegal constructor")}return Object.defineProperty(e.prototype,"byobRequest",{get:function(){if(!ge(this))throw Ue("byobRequest");return Me(this)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"desiredSize",{get:function(){if(!ge(this))throw Ue("desiredSize");return Ie(this)},enumerable:!1,configurable:!0}),e.prototype.close=function(){if(!ge(this))throw Ue("close");if(this._closeRequested)throw new TypeError("The stream has already been closed; do not close it again!");var e=this._controlledReadableByteStream._state;if("readable"!==e)throw new TypeError("The stream (in "+e+" state) is not in the readable state and cannot be closed");Fe(this)},e.prototype.enqueue=function(e){if(!ge(this))throw Ue("enqueue");if(B(e,1,"enqueue"),!ArrayBuffer.isView(e))throw new TypeError("chunk must be an array buffer view");if(0===e.byteLength)throw new TypeError("chunk must have non-zero byteLength");if(0===e.buffer.byteLength)throw new TypeError("chunk's buffer must have non-zero byteLength");if(this._closeRequested)throw new TypeError("stream is closed or draining");var t=this._controlledReadableByteStream._state;if("readable"!==t)throw new TypeError("The stream (in "+t+" state) is not in the readable state and cannot be enqueued to");Le(this,e)},e.prototype.error=function(e){if(void 0===e&&(e=void 0),!ge(this))throw Ue("error");De(this,e)},e.prototype[L]=function(e){we(this),he(this);var t=this._cancelAlgorithm(e);return Oe(this),t},e.prototype[D]=function(e){var t=this._controlledReadableByteStream;if(this._queueTotalSize>0){var r=this._queue.shift();this._queueTotalSize-=r.byteLength,Ce(this);var n=new Uint8Array(r.buffer,r.byteOffset,r.byteLength);e._chunkSteps(n)}else{var o=this._autoAllocateChunkSize;if(void 0!==o){var a=void 0;try{a=new ArrayBuffer(o)}catch(t){return void e._errorSteps(t)}var i={buffer:a,bufferByteLength:o,byteOffset:0,byteLength:o,bytesFilled:0,elementSize:1,viewConstructor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(i)}X(t,e),be(this)}},e}();function ge(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledReadableByteStream")&&e instanceof me}function ye(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_associatedReadableByteStreamController")&&e instanceof ve}function be(e){(function(e){var t=e._controlledReadableByteStream;return"readable"===t._state&&!e._closeRequested&&!!e._started&&(!!($(t)&&K(t)>0)||!!(He(t)&&We(t)>0)||Ie(e)>0)})(e)&&(e._pulling?e._pullAgain=!0:(e._pulling=!0,h(e._pullAlgorithm(),(function(){e._pulling=!1,e._pullAgain&&(e._pullAgain=!1,be(e))}),(function(t){De(e,t)}))))}function we(e){Pe(e),e._pendingPullIntos=new A}function _e(e,t){var r=!1;"closed"===e._state&&(r=!0);var n=Ae(t);"default"===t.readerType?Y(e,n,r):function(e,t,r){var n=e._reader._readIntoRequests.shift();r?n._closeSteps(t):n._chunkSteps(t)}(e,n,r)}function Ae(e){var t=e.bytesFilled,r=e.elementSize;return new e.viewConstructor(e.buffer,e.byteOffset,t/r)}function Se(e,t,r,n){e._queue.push({buffer:t,byteOffset:r,byteLength:n}),e._queueTotalSize+=n}function ke(e,t){var r=t.elementSize,n=t.bytesFilled-t.bytesFilled%r,o=Math.min(e._queueTotalSize,t.byteLength-t.bytesFilled),a=t.bytesFilled+o,i=a-a%r,s=o,u=!1;i>n&&(s=i-t.bytesFilled,u=!0);for(var l=e._queue;s>0;){var c=l.peek(),f=Math.min(s,c.byteLength),d=t.byteOffset+t.bytesFilled;le(t.buffer,d,c.buffer,c.byteOffset,f),c.byteLength===f?l.shift():(c.byteOffset+=f,c.byteLength-=f),e._queueTotalSize-=f,xe(0,f,t),s-=f}return u}function xe(e,t,r){r.bytesFilled+=t}function Ce(e){0===e._queueTotalSize&&e._closeRequested?(Oe(e),xr(e._controlledReadableByteStream)):be(e)}function Pe(e){null!==e._byobRequest&&(e._byobRequest._associatedReadableByteStreamController=void 0,e._byobRequest._view=null,e._byobRequest=null)}function Ee(e){for(;e._pendingPullIntos.length>0;){if(0===e._queueTotalSize)return;var t=e._pendingPullIntos.peek();ke(e,t)&&(Re(e),_e(e._controlledReadableByteStream,t))}}function Te(e,t){var r=e._pendingPullIntos.peek();Pe(e),"closed"===e._controlledReadableByteStream._state?function(e){var t=e._controlledReadableByteStream;if(He(t))for(;We(t)>0;)_e(t,Re(e))}(e):function(e,t,r){if(xe(0,t,r),!(r.bytesFilled<r.elementSize)){Re(e);var n=r.bytesFilled%r.elementSize;if(n>0){var o=r.byteOffset+r.bytesFilled,a=ce(r.buffer,o-n,o);Se(e,a,0,a.byteLength)}r.bytesFilled-=n,_e(e._controlledReadableByteStream,r),Ee(e)}}(e,t,r),be(e)}function Re(e){return e._pendingPullIntos.shift()}function Oe(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0}function Fe(e){var t=e._controlledReadableByteStream;if(!e._closeRequested&&"readable"===t._state)if(e._queueTotalSize>0)e._closeRequested=!0;else{if(e._pendingPullIntos.length>0&&e._pendingPullIntos.peek().bytesFilled>0){var r=new TypeError("Insufficient bytes to fill elements in the given buffer");throw De(e,r),r}Oe(e),xr(t)}}function Le(e,t){var r=e._controlledReadableByteStream;if(!e._closeRequested&&"readable"===r._state){var n=t.buffer,o=t.byteOffset,a=t.byteLength,i=n;if(e._pendingPullIntos.length>0){var s=e._pendingPullIntos.peek();s.buffer,s.buffer=s.buffer}Pe(e),$(r)?0===K(r)?Se(e,i,o,a):(e._pendingPullIntos.length>0&&Re(e),Y(r,new Uint8Array(i,o,a),!1)):He(r)?(Se(e,i,o,a),Ee(e)):Se(e,i,o,a),be(e)}}function De(e,t){var r=e._controlledReadableByteStream;"readable"===r._state&&(we(e),he(e),Oe(e),Cr(r,t))}function Me(e){if(null===e._byobRequest&&e._pendingPullIntos.length>0){var t=e._pendingPullIntos.peek(),r=new Uint8Array(t.buffer,t.byteOffset+t.bytesFilled,t.byteLength-t.bytesFilled),n=Object.create(ve.prototype);(function(e,t,r){e._associatedReadableByteStreamController=t,e._view=r})(n,e,r),e._byobRequest=n}return e._byobRequest}function Ie(e){var t=e._controlledReadableByteStream._state;return"errored"===t?null:"closed"===t?0:e._strategyHWM-e._queueTotalSize}function je(e,t){var r=e._pendingPullIntos.peek();if("closed"===e._controlledReadableByteStream._state){if(0!==t)throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream")}else{if(0===t)throw new TypeError("bytesWritten must be greater than 0 when calling respond() on a readable stream");if(r.bytesFilled+t>r.byteLength)throw new RangeError("bytesWritten out of range")}r.buffer=r.buffer,Te(e,t)}function Ne(e,t){var r=e._pendingPullIntos.peek();if("closed"===e._controlledReadableByteStream._state){if(0!==t.byteLength)throw new TypeError("The view's length must be 0 when calling respondWithNewView() on a closed stream")}else if(0===t.byteLength)throw new TypeError("The view's length must be greater than 0 when calling respondWithNewView() on a readable stream");if(r.byteOffset+r.bytesFilled!==t.byteOffset)throw new RangeError("The region specified by view does not match byobRequest");if(r.bufferByteLength!==t.buffer.byteLength)throw new RangeError("The buffer of view has different capacity than byobRequest");if(r.bytesFilled+t.byteLength>r.byteLength)throw new RangeError("The region specified by view is larger than byobRequest");var n=t.byteLength;r.buffer=t.buffer,Te(e,n)}function qe(e,t,r,n,o,a,i){t._controlledReadableByteStream=e,t._pullAgain=!1,t._pulling=!1,t._byobRequest=null,t._queue=t._queueTotalSize=void 0,he(t),t._closeRequested=!1,t._started=!1,t._strategyHWM=a,t._pullAlgorithm=n,t._cancelAlgorithm=o,t._autoAllocateChunkSize=i,t._pendingPullIntos=new A,e._readableStreamController=t,h(f(r()),(function(){t._started=!0,be(t)}),(function(e){De(t,e)}))}function Be(e){return new TypeError("ReadableStreamBYOBRequest.prototype."+e+" can only be used on a ReadableStreamBYOBRequest")}function Ue(e){return new TypeError("ReadableByteStreamController.prototype."+e+" can only be used on a ReadableByteStreamController")}function ze(e){return new Ge(e)}function Ve(e,t){e._reader._readIntoRequests.push(t)}function We(e){return e._reader._readIntoRequests.length}function He(e){var t=e._reader;return void 0!==t&&!!Xe(t)}Object.defineProperties(me.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},byobRequest:{enumerable:!0},desiredSize:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(me.prototype,t.toStringTag,{value:"ReadableByteStreamController",configurable:!0});var Ge=function(){function e(e){if(B(e,1,"ReadableStreamBYOBReader"),H(e,"First parameter"),Sr(e))throw new TypeError("This stream has already been locked for exclusive reading by another reader");if(!ge(e._readableStreamController))throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");S(this,e),this._readIntoRequests=new A}return Object.defineProperty(e.prototype,"closed",{get:function(){return Xe(this)?this._closedPromise:d(Ke("closed"))},enumerable:!1,configurable:!0}),e.prototype.cancel=function(e){return void 0===e&&(e=void 0),Xe(this)?void 0===this._ownerReadableStream?d(C("cancel")):k(this,e):d(Ke("cancel"))},e.prototype.read=function(e){if(!Xe(this))return d(Ke("read"));if(!ArrayBuffer.isView(e))return d(new TypeError("view must be an array buffer view"));if(0===e.byteLength)return d(new TypeError("view must have non-zero byteLength"));if(0===e.buffer.byteLength)return d(new TypeError("view's buffer must have non-zero byteLength"));if(e.buffer,void 0===this._ownerReadableStream)return d(C("read from"));var t,r,n=c((function(e,n){t=e,r=n}));return Ye(this,e,{_chunkSteps:function(e){return t({value:e,done:!1})},_closeSteps:function(e){return t({value:e,done:!0})},_errorSteps:function(e){return r(e)}}),n},e.prototype.releaseLock=function(){if(!Xe(this))throw Ke("releaseLock");if(void 0!==this._ownerReadableStream){if(this._readIntoRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");x(this)}},e}();function Xe(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readIntoRequests")&&e instanceof Ge}function Ye(e,t,r){var n=e._ownerReadableStream;n._disturbed=!0,"errored"===n._state?r._errorSteps(n._storedError):function(e,t,r){var n=e._controlledReadableByteStream,o=1;t.constructor!==DataView&&(o=t.constructor.BYTES_PER_ELEMENT);var a=t.constructor,i=t.buffer,s={buffer:i,bufferByteLength:i.byteLength,byteOffset:t.byteOffset,byteLength:t.byteLength,bytesFilled:0,elementSize:o,viewConstructor:a,readerType:"byob"};if(e._pendingPullIntos.length>0)return e._pendingPullIntos.push(s),void Ve(n,r);if("closed"!==n._state){if(e._queueTotalSize>0){if(ke(e,s)){var u=Ae(s);return Ce(e),void r._chunkSteps(u)}if(e._closeRequested){var l=new TypeError("Insufficient bytes to fill elements in the given buffer");return De(e,l),void r._errorSteps(l)}}e._pendingPullIntos.push(s),Ve(n,r),be(e)}else{var c=new a(s.buffer,s.byteOffset,0);r._closeSteps(c)}}(n._readableStreamController,t,r)}function Ke(e){return new TypeError("ReadableStreamBYOBReader.prototype."+e+" can only be used on a ReadableStreamBYOBReader")}function $e(e,t){var r=e.highWaterMark;if(void 0===r)return t;if(se(r)||r<0)throw new RangeError("Invalid highWaterMark");return r}function Je(e){return e.size||function(){return 1}}function Qe(e,t){j(e,t);var r=null==e?void 0:e.highWaterMark,n=null==e?void 0:e.size;return{highWaterMark:void 0===r?void 0:z(r),size:void 0===n?void 0:Ze(n,t+" has member 'size' that")}}function Ze(e,t){return N(e,t),function(t){return z(e(t))}}function et(e,t,r){return N(e,r),function(r){return _(e,t,[r])}}function tt(e,t,r){return N(e,r),function(){return _(e,t,[])}}function rt(e,t,r){return N(e,r),function(r){return w(e,t,[r])}}function nt(e,t,r){return N(e,r),function(r,n){return _(e,t,[r,n])}}function ot(e,t){if(!lt(e))throw new TypeError(t+" is not a WritableStream.")}Object.defineProperties(Ge.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(Ge.prototype,t.toStringTag,{value:"ReadableStreamBYOBReader",configurable:!0});var at="function"==typeof AbortController;var it=function(){function e(e,t){void 0===e&&(e={}),void 0===t&&(t={}),void 0===e?e=null:q(e,"First parameter");var r=Qe(t,"Second parameter"),n=function(e,t){j(e,t);var r=null==e?void 0:e.abort,n=null==e?void 0:e.close,o=null==e?void 0:e.start,a=null==e?void 0:e.type,i=null==e?void 0:e.write;return{abort:void 0===r?void 0:et(r,e,t+" has member 'abort' that"),close:void 0===n?void 0:tt(n,e,t+" has member 'close' that"),start:void 0===o?void 0:rt(o,e,t+" has member 'start' that"),write:void 0===i?void 0:nt(i,e,t+" has member 'write' that"),type:a}}(e,"First parameter");if(ut(this),void 0!==n.type)throw new RangeError("Invalid type is specified");var o=Je(r);!function(e,t,r,n){var o=Object.create(Pt.prototype),a=function(){},i=function(){return f(void 0)},s=function(){return f(void 0)},u=function(){return f(void 0)};void 0!==t.start&&(a=function(){return t.start(o)}),void 0!==t.write&&(i=function(e){return t.write(e,o)}),void 0!==t.close&&(s=function(){return t.close()}),void 0!==t.abort&&(u=function(e){return t.abort(e)}),Tt(e,o,a,i,s,u,r,n)}(this,n,$e(r,1),o)}return Object.defineProperty(e.prototype,"locked",{get:function(){if(!lt(this))throw It("locked");return ct(this)},enumerable:!1,configurable:!0}),e.prototype.abort=function(e){return void 0===e&&(e=void 0),lt(this)?ct(this)?d(new TypeError("Cannot abort a stream that already has a writer")):ft(this,e):d(It("abort"))},e.prototype.close=function(){return lt(this)?ct(this)?d(new TypeError("Cannot close a stream that already has a writer")):mt(this)?d(new TypeError("Cannot close an already-closing stream")):dt(this):d(It("close"))},e.prototype.getWriter=function(){if(!lt(this))throw It("getWriter");return st(this)},e}();function st(e){return new bt(e)}function ut(e){e._state="writable",e._storedError=void 0,e._writer=void 0,e._writableStreamController=void 0,e._writeRequests=new A,e._inFlightWriteRequest=void 0,e._closeRequest=void 0,e._inFlightCloseRequest=void 0,e._pendingAbortRequest=void 0,e._backpressure=!1}function lt(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_writableStreamController")&&e instanceof it}function ct(e){return void 0!==e._writer}function ft(e,t){var r;if("closed"===e._state||"errored"===e._state)return f(void 0);e._writableStreamController._abortReason=t,null===(r=e._writableStreamController._abortController)||void 0===r||r.abort();var n=e._state;if("closed"===n||"errored"===n)return f(void 0);if(void 0!==e._pendingAbortRequest)return e._pendingAbortRequest._promise;var o=!1;"erroring"===n&&(o=!0,t=void 0);var a=c((function(r,n){e._pendingAbortRequest={_promise:void 0,_resolve:r,_reject:n,_reason:t,_wasAlreadyErroring:o}}));return e._pendingAbortRequest._promise=a,o||ht(e,t),a}function dt(e){var t=e._state;if("closed"===t||"errored"===t)return d(new TypeError("The stream (in "+t+" state) is not in the writable state and cannot be closed"));var r,n=c((function(t,r){var n={_resolve:t,_reject:r};e._closeRequest=n})),o=e._writer;return void 0!==o&&e._backpressure&&"writable"===t&&Yt(o),pe(r=e._writableStreamController,Ct,0),Ft(r),n}function pt(e,t){"writable"!==e._state?vt(e):ht(e,t)}function ht(e,t){var r=e._writableStreamController;e._state="erroring",e._storedError=t;var n=e._writer;void 0!==n&&St(n,t),!function(e){return void 0!==e._inFlightWriteRequest||void 0!==e._inFlightCloseRequest}(e)&&r._started&&vt(e)}function vt(e){e._state="errored",e._writableStreamController[F]();var t=e._storedError;if(e._writeRequests.forEach((function(e){e._reject(t)})),e._writeRequests=new A,void 0!==e._pendingAbortRequest){var r=e._pendingAbortRequest;if(e._pendingAbortRequest=void 0,r._wasAlreadyErroring)return r._reject(t),void gt(e);h(e._writableStreamController[O](r._reason),(function(){r._resolve(),gt(e)}),(function(t){r._reject(t),gt(e)}))}else gt(e)}function mt(e){return void 0!==e._closeRequest||void 0!==e._inFlightCloseRequest}function gt(e){void 0!==e._closeRequest&&(e._closeRequest._reject(e._storedError),e._closeRequest=void 0);var t=e._writer;void 0!==t&&zt(t,e._storedError)}function yt(e,t){var r=e._writer;void 0!==r&&t!==e._backpressure&&(t?function(e){Wt(e)}(r):Yt(r)),e._backpressure=t}Object.defineProperties(it.prototype,{abort:{enumerable:!0},close:{enumerable:!0},getWriter:{enumerable:!0},locked:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(it.prototype,t.toStringTag,{value:"WritableStream",configurable:!0});var bt=function(){function e(e){if(B(e,1,"WritableStreamDefaultWriter"),ot(e,"First parameter"),ct(e))throw new TypeError("This stream has already been locked for exclusive writing by another writer");this._ownerWritableStream=e,e._writer=this;var t,r=e._state;if("writable"===r)!mt(e)&&e._backpressure?Wt(this):Gt(this),Bt(this);else if("erroring"===r)Ht(this,e._storedError),Bt(this);else if("closed"===r)Gt(this),Bt(t=this),Vt(t);else{var n=e._storedError;Ht(this,n),Ut(this,n)}}return Object.defineProperty(e.prototype,"closed",{get:function(){return wt(this)?this._closedPromise:d(Nt("closed"))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"desiredSize",{get:function(){if(!wt(this))throw Nt("desiredSize");if(void 0===this._ownerWritableStream)throw qt("desiredSize");return e=this._ownerWritableStream,"errored"===(t=e._state)||"erroring"===t?null:"closed"===t?0:Ot(e._writableStreamController);var e,t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ready",{get:function(){return wt(this)?this._readyPromise:d(Nt("ready"))},enumerable:!1,configurable:!0}),e.prototype.abort=function(e){return void 0===e&&(e=void 0),wt(this)?void 0===this._ownerWritableStream?d(qt("abort")):function(e,t){return ft(e._ownerWritableStream,t)}(this,e):d(Nt("abort"))},e.prototype.close=function(){if(!wt(this))return d(Nt("close"));var e=this._ownerWritableStream;return void 0===e?d(qt("close")):mt(e)?d(new TypeError("Cannot close an already-closing stream")):_t(this)},e.prototype.releaseLock=function(){if(!wt(this))throw Nt("releaseLock");void 0!==this._ownerWritableStream&&kt(this)},e.prototype.write=function(e){return void 0===e&&(e=void 0),wt(this)?void 0===this._ownerWritableStream?d(qt("write to")):xt(this,e):d(Nt("write"))},e}();function wt(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_ownerWritableStream")&&e instanceof bt}function _t(e){return dt(e._ownerWritableStream)}function At(e,t){"pending"===e._closedPromiseState?zt(e,t):function(e,t){Ut(e,t)}(e,t)}function St(e,t){"pending"===e._readyPromiseState?Xt(e,t):function(e,t){Ht(e,t)}(e,t)}function kt(e){var t=e._ownerWritableStream,r=new TypeError("Writer was released and can no longer be used to monitor the stream's closedness");St(e,r),At(e,r),t._writer=void 0,e._ownerWritableStream=void 0}function xt(e,t){var r=e._ownerWritableStream,n=r._writableStreamController,o=function(e,t){try{return e._strategySizeAlgorithm(t)}catch(t){return Lt(e,t),1}}(n,t);if(r!==e._ownerWritableStream)return d(qt("write to"));var a=r._state;if("errored"===a)return d(r._storedError);if(mt(r)||"closed"===a)return d(new TypeError("The stream is closing or closed and cannot be written to"));if("erroring"===a)return d(r._storedError);var i=function(e){return c((function(t,r){var n={_resolve:t,_reject:r};e._writeRequests.push(n)}))}(r);return function(e,t,r){try{pe(e,t,r)}catch(t){return void Lt(e,t)}var n=e._controlledWritableStream;mt(n)||"writable"!==n._state||yt(n,Dt(e)),Ft(e)}(n,t,o),i}Object.defineProperties(bt.prototype,{abort:{enumerable:!0},close:{enumerable:!0},releaseLock:{enumerable:!0},write:{enumerable:!0},closed:{enumerable:!0},desiredSize:{enumerable:!0},ready:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(bt.prototype,t.toStringTag,{value:"WritableStreamDefaultWriter",configurable:!0});var Ct={},Pt=function(){function e(){throw new TypeError("Illegal constructor")}return Object.defineProperty(e.prototype,"abortReason",{get:function(){if(!Et(this))throw jt("abortReason");return this._abortReason},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"signal",{get:function(){if(!Et(this))throw jt("signal");if(void 0===this._abortController)throw new TypeError("WritableStreamDefaultController.prototype.signal is not supported");return this._abortController.signal},enumerable:!1,configurable:!0}),e.prototype.error=function(e){if(void 0===e&&(e=void 0),!Et(this))throw jt("error");"writable"===this._controlledWritableStream._state&&Mt(this,e)},e.prototype[O]=function(e){var t=this._abortAlgorithm(e);return Rt(this),t},e.prototype[F]=function(){he(this)},e}();function Et(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledWritableStream")&&e instanceof Pt}function Tt(e,t,r,n,o,a,i,s){t._controlledWritableStream=e,e._writableStreamController=t,t._queue=void 0,t._queueTotalSize=void 0,he(t),t._abortReason=void 0,t._abortController=function(){if(at)return new AbortController}(),t._started=!1,t._strategySizeAlgorithm=s,t._strategyHWM=i,t._writeAlgorithm=n,t._closeAlgorithm=o,t._abortAlgorithm=a;var u=Dt(t);yt(e,u),h(f(r()),(function(){t._started=!0,Ft(t)}),(function(r){t._started=!0,pt(e,r)}))}function Rt(e){e._writeAlgorithm=void 0,e._closeAlgorithm=void 0,e._abortAlgorithm=void 0,e._strategySizeAlgorithm=void 0}function Ot(e){return e._strategyHWM-e._queueTotalSize}function Ft(e){var t=e._controlledWritableStream;if(e._started&&void 0===t._inFlightWriteRequest)if("erroring"!==t._state){if(0!==e._queue.length){var r=e._queue.peek().value;r===Ct?function(e){var t=e._controlledWritableStream;(function(e){e._inFlightCloseRequest=e._closeRequest,e._closeRequest=void 0})(t),de(e);var r=e._closeAlgorithm();Rt(e),h(r,(function(){!function(e){e._inFlightCloseRequest._resolve(void 0),e._inFlightCloseRequest=void 0,"erroring"===e._state&&(e._storedError=void 0,void 0!==e._pendingAbortRequest&&(e._pendingAbortRequest._resolve(),e._pendingAbortRequest=void 0)),e._state="closed";var t=e._writer;void 0!==t&&Vt(t)}(t)}),(function(e){!function(e,t){e._inFlightCloseRequest._reject(t),e._inFlightCloseRequest=void 0,void 0!==e._pendingAbortRequest&&(e._pendingAbortRequest._reject(t),e._pendingAbortRequest=void 0),pt(e,t)}(t,e)}))}(e):function(e,t){var r=e._controlledWritableStream;(function(e){e._inFlightWriteRequest=e._writeRequests.shift()})(r),h(e._writeAlgorithm(t),(function(){!function(e){e._inFlightWriteRequest._resolve(void 0),e._inFlightWriteRequest=void 0}(r);var t=r._state;if(de(e),!mt(r)&&"writable"===t){var n=Dt(e);yt(r,n)}Ft(e)}),(function(t){"writable"===r._state&&Rt(e),function(e,t){e._inFlightWriteRequest._reject(t),e._inFlightWriteRequest=void 0,pt(e,t)}(r,t)}))}(e,r)}}else vt(t)}function Lt(e,t){"writable"===e._controlledWritableStream._state&&Mt(e,t)}function Dt(e){return Ot(e)<=0}function Mt(e,t){var r=e._controlledWritableStream;Rt(e),ht(r,t)}function It(e){return new TypeError("WritableStream.prototype."+e+" can only be used on a WritableStream")}function jt(e){return new TypeError("WritableStreamDefaultController.prototype."+e+" can only be used on a WritableStreamDefaultController")}function Nt(e){return new TypeError("WritableStreamDefaultWriter.prototype."+e+" can only be used on a WritableStreamDefaultWriter")}function qt(e){return new TypeError("Cannot "+e+" a stream using a released writer")}function Bt(e){e._closedPromise=c((function(t,r){e._closedPromise_resolve=t,e._closedPromise_reject=r,e._closedPromiseState="pending"}))}function Ut(e,t){Bt(e),zt(e,t)}function zt(e,t){void 0!==e._closedPromise_reject&&(y(e._closedPromise),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState="rejected")}function Vt(e){void 0!==e._closedPromise_resolve&&(e._closedPromise_resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState="resolved")}function Wt(e){e._readyPromise=c((function(t,r){e._readyPromise_resolve=t,e._readyPromise_reject=r})),e._readyPromiseState="pending"}function Ht(e,t){Wt(e),Xt(e,t)}function Gt(e){Wt(e),Yt(e)}function Xt(e,t){void 0!==e._readyPromise_reject&&(y(e._readyPromise),e._readyPromise_reject(t),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="rejected")}function Yt(e){void 0!==e._readyPromise_resolve&&(e._readyPromise_resolve(void 0),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="fulfilled")}Object.defineProperties(Pt.prototype,{abortReason:{enumerable:!0},signal:{enumerable:!0},error:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(Pt.prototype,t.toStringTag,{value:"WritableStreamDefaultController",configurable:!0});var Kt="undefined"!=typeof DOMException?DOMException:void 0;var $t,Jt=function(e){if("function"!=typeof e&&"object"!=typeof e)return!1;try{return new e,!0}catch(e){return!1}}(Kt)?Kt:(($t=function(e,t){this.message=e||"",this.name=t||"Error",Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}).prototype=Object.create(Error.prototype),Object.defineProperty($t.prototype,"constructor",{value:$t,writable:!0,configurable:!0}),$t);function Qt(e,t,n,o,a,i){var s=G(e),u=st(t);e._disturbed=!0;var l=!1,g=f(void 0);return c((function(b,w){var _,A,S,k;if(void 0!==i){if(_=function(){var r=new Jt("Aborted","AbortError"),n=[];o||n.push((function(){return"writable"===t._state?ft(t,r):f(void 0)})),a||n.push((function(){return"readable"===e._state?kr(e,r):f(void 0)})),T((function(){return Promise.all(n.map((function(e){return e()})))}),!0,r)},i.aborted)return void _();i.addEventListener("abort",_)}if(E(e,s._closedPromise,(function(e){o?R(!0,e):T((function(){return ft(t,e)}),!0,e)})),E(t,u._closedPromise,(function(t){a?R(!0,t):T((function(){return kr(e,t)}),!0,t)})),A=e,S=s._closedPromise,k=function(){n?R():T((function(){return function(e){var t=e._ownerWritableStream,r=t._state;return mt(t)||"closed"===r?f(void 0):"errored"===r?d(t._storedError):_t(e)}(u)}))},"closed"===A._state?k():v(S,k),mt(t)||"closed"===t._state){var C=new TypeError("the destination writable stream closed before all data could be piped to it");a?R(!0,C):T((function(){return kr(e,C)}),!0,C)}function P(){var e=g;return p(g,(function(){return e!==g?P():void 0}))}function E(e,t,r){"errored"===e._state?r(e._storedError):m(t,r)}function T(e,r,n){function o(){h(e(),(function(){return O(r,n)}),(function(e){return O(!0,e)}))}l||(l=!0,"writable"!==t._state||mt(t)?o():v(P(),o))}function R(e,r){l||(l=!0,"writable"!==t._state||mt(t)?O(e,r):v(P(),(function(){return O(e,r)})))}function O(e,t){kt(u),x(s),void 0!==i&&i.removeEventListener("abort",_),e?w(t):b(void 0)}y(c((function(e,t){!function n(o){o?e():p(l?f(!0):p(u._readyPromise,(function(){return c((function(e,t){te(s,{_chunkSteps:function(t){g=p(xt(u,t),void 0,r),e(!1)},_closeSteps:function(){return e(!0)},_errorSteps:t})}))})),n,t)}(!1)})))}))}var Zt=function(){function e(){throw new TypeError("Illegal constructor")}return Object.defineProperty(e.prototype,"desiredSize",{get:function(){if(!er(this))throw cr("desiredSize");return sr(this)},enumerable:!1,configurable:!0}),e.prototype.close=function(){if(!er(this))throw cr("close");if(!ur(this))throw new TypeError("The stream is not in a state that permits close");or(this)},e.prototype.enqueue=function(e){if(void 0===e&&(e=void 0),!er(this))throw cr("enqueue");if(!ur(this))throw new TypeError("The stream is not in a state that permits enqueue");return ar(this,e)},e.prototype.error=function(e){if(void 0===e&&(e=void 0),!er(this))throw cr("error");ir(this,e)},e.prototype[L]=function(e){he(this);var t=this._cancelAlgorithm(e);return nr(this),t},e.prototype[D]=function(e){var t=this._controlledReadableStream;if(this._queue.length>0){var r=de(this);this._closeRequested&&0===this._queue.length?(nr(this),xr(t)):tr(this),e._chunkSteps(r)}else X(t,e),tr(this)},e}();function er(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledReadableStream")&&e instanceof Zt}function tr(e){rr(e)&&(e._pulling?e._pullAgain=!0:(e._pulling=!0,h(e._pullAlgorithm(),(function(){e._pulling=!1,e._pullAgain&&(e._pullAgain=!1,tr(e))}),(function(t){ir(e,t)}))))}function rr(e){var t=e._controlledReadableStream;return!!ur(e)&&!!e._started&&(!!(Sr(t)&&K(t)>0)||sr(e)>0)}function nr(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0,e._strategySizeAlgorithm=void 0}function or(e){if(ur(e)){var t=e._controlledReadableStream;e._closeRequested=!0,0===e._queue.length&&(nr(e),xr(t))}}function ar(e,t){if(ur(e)){var r=e._controlledReadableStream;if(Sr(r)&&K(r)>0)Y(r,t,!1);else{var n=void 0;try{n=e._strategySizeAlgorithm(t)}catch(t){throw ir(e,t),t}try{pe(e,t,n)}catch(t){throw ir(e,t),t}}tr(e)}}function ir(e,t){var r=e._controlledReadableStream;"readable"===r._state&&(he(e),nr(e),Cr(r,t))}function sr(e){var t=e._controlledReadableStream._state;return"errored"===t?null:"closed"===t?0:e._strategyHWM-e._queueTotalSize}function ur(e){var t=e._controlledReadableStream._state;return!e._closeRequested&&"readable"===t}function lr(e,t,r,n,o,a,i){t._controlledReadableStream=e,t._queue=void 0,t._queueTotalSize=void 0,he(t),t._started=!1,t._closeRequested=!1,t._pullAgain=!1,t._pulling=!1,t._strategySizeAlgorithm=i,t._strategyHWM=a,t._pullAlgorithm=n,t._cancelAlgorithm=o,e._readableStreamController=t,h(f(r()),(function(){t._started=!0,tr(t)}),(function(e){ir(t,e)}))}function cr(e){return new TypeError("ReadableStreamDefaultController.prototype."+e+" can only be used on a ReadableStreamDefaultController")}function fr(e,t){return ge(e._readableStreamController)?function(e){var t,r,n,o,a,i=G(e),s=!1,u=!1,l=!1,d=!1,p=!1,h=c((function(e){a=e}));function v(e){m(e._closedPromise,(function(t){e===i&&(De(n._readableStreamController,t),De(o._readableStreamController,t),d&&p||a(void 0))}))}function g(){Xe(i)&&(x(i),v(i=G(e))),te(i,{_chunkSteps:function(t){b((function(){u=!1,l=!1;var r=t,i=t;if(!d&&!p)try{i=fe(t)}catch(t){return De(n._readableStreamController,t),De(o._readableStreamController,t),void a(kr(e,t))}d||Le(n._readableStreamController,r),p||Le(o._readableStreamController,i),s=!1,u?w():l&&_()}))},_closeSteps:function(){s=!1,d||Fe(n._readableStreamController),p||Fe(o._readableStreamController),n._readableStreamController._pendingPullIntos.length>0&&je(n._readableStreamController,0),o._readableStreamController._pendingPullIntos.length>0&&je(o._readableStreamController,0),d&&p||a(void 0)},_errorSteps:function(){s=!1}})}function y(t,r){ee(i)&&(x(i),v(i=ze(e)));var c=r?o:n,f=r?n:o;Ye(i,t,{_chunkSteps:function(t){b((function(){u=!1,l=!1;var n=r?p:d;if(r?d:p)n||Ne(c._readableStreamController,t);else{var o=void 0;try{o=fe(t)}catch(t){return De(c._readableStreamController,t),De(f._readableStreamController,t),void a(kr(e,t))}n||Ne(c._readableStreamController,t),Le(f._readableStreamController,o)}s=!1,u?w():l&&_()}))},_closeSteps:function(e){s=!1;var t=r?p:d,n=r?d:p;t||Fe(c._readableStreamController),n||Fe(f._readableStreamController),void 0!==e&&(t||Ne(c._readableStreamController,e),!n&&f._readableStreamController._pendingPullIntos.length>0&&je(f._readableStreamController,0)),t&&n||a(void 0)},_errorSteps:function(){s=!1}})}function w(){if(s)return u=!0,f(void 0);s=!0;var e=Me(n._readableStreamController);return null===e?g():y(e._view,!1),f(void 0)}function _(){if(s)return l=!0,f(void 0);s=!0;var e=Me(o._readableStreamController);return null===e?g():y(e._view,!0),f(void 0)}function A(n){if(d=!0,t=n,p){var o=ue([t,r]),i=kr(e,o);a(i)}return h}function S(n){if(p=!0,r=n,d){var o=ue([t,r]),i=kr(e,o);a(i)}return h}function k(){}return n=wr(k,w,A),o=wr(k,_,S),v(i),[n,o]}(e):function(e){var t,r,n,o,a,i=G(e),s=!1,u=!1,l=!1,d=!1,p=c((function(e){a=e}));function h(){return s?(u=!0,f(void 0)):(s=!0,te(i,{_chunkSteps:function(e){b((function(){u=!1;var t=e,r=e;l||ar(n._readableStreamController,t),d||ar(o._readableStreamController,r),s=!1,u&&h()}))},_closeSteps:function(){s=!1,l||or(n._readableStreamController),d||or(o._readableStreamController),l&&d||a(void 0)},_errorSteps:function(){s=!1}}),f(void 0))}function v(n){if(l=!0,t=n,d){var o=ue([t,r]),i=kr(e,o);a(i)}return p}function g(n){if(d=!0,r=n,l){var o=ue([t,r]),i=kr(e,o);a(i)}return p}function y(){}return n=br(y,h,v),o=br(y,h,g),m(i._closedPromise,(function(e){ir(n._readableStreamController,e),ir(o._readableStreamController,e),l&&d||a(void 0)})),[n,o]}(e)}function dr(e,t,r){return N(e,r),function(r){return _(e,t,[r])}}function pr(e,t,r){return N(e,r),function(r){return _(e,t,[r])}}function hr(e,t,r){return N(e,r),function(r){return w(e,t,[r])}}function vr(e,t){if("bytes"!=(e=""+e))throw new TypeError(t+" '"+e+"' is not a valid enumeration value for ReadableStreamType");return e}function mr(e,t){if("byob"!=(e=""+e))throw new TypeError(t+" '"+e+"' is not a valid enumeration value for ReadableStreamReaderMode");return e}function gr(e,t){j(e,t);var r=null==e?void 0:e.preventAbort,n=null==e?void 0:e.preventCancel,o=null==e?void 0:e.preventClose,a=null==e?void 0:e.signal;return void 0!==a&&function(e,t){if(!function(e){if("object"!=typeof e||null===e)return!1;try{return"boolean"==typeof e.aborted}catch(e){return!1}}(e))throw new TypeError(t+" is not an AbortSignal.")}(a,t+" has member 'signal' that"),{preventAbort:Boolean(r),preventCancel:Boolean(n),preventClose:Boolean(o),signal:a}}Object.defineProperties(Zt.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},desiredSize:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(Zt.prototype,t.toStringTag,{value:"ReadableStreamDefaultController",configurable:!0});var yr=function(){function e(e,t){void 0===e&&(e={}),void 0===t&&(t={}),void 0===e?e=null:q(e,"First parameter");var r=Qe(t,"Second parameter"),n=function(e,t){j(e,t);var r=e,n=null==r?void 0:r.autoAllocateChunkSize,o=null==r?void 0:r.cancel,a=null==r?void 0:r.pull,i=null==r?void 0:r.start,s=null==r?void 0:r.type;return{autoAllocateChunkSize:void 0===n?void 0:W(n,t+" has member 'autoAllocateChunkSize' that"),cancel:void 0===o?void 0:dr(o,r,t+" has member 'cancel' that"),pull:void 0===a?void 0:pr(a,r,t+" has member 'pull' that"),start:void 0===i?void 0:hr(i,r,t+" has member 'start' that"),type:void 0===s?void 0:vr(s,t+" has member 'type' that")}}(e,"First parameter");if(_r(this),"bytes"===n.type){if(void 0!==r.size)throw new RangeError("The strategy for a byte stream cannot have a size function");!function(e,t,r){var n=Object.create(me.prototype),o=function(){},a=function(){return f(void 0)},i=function(){return f(void 0)};void 0!==t.start&&(o=function(){return t.start(n)}),void 0!==t.pull&&(a=function(){return t.pull(n)}),void 0!==t.cancel&&(i=function(e){return t.cancel(e)});var s=t.autoAllocateChunkSize;if(0===s)throw new TypeError("autoAllocateChunkSize must be greater than 0");qe(e,n,o,a,i,r,s)}(this,n,$e(r,0))}else{var o=Je(r);!function(e,t,r,n){var o=Object.create(Zt.prototype),a=function(){},i=function(){return f(void 0)},s=function(){return f(void 0)};void 0!==t.start&&(a=function(){return t.start(o)}),void 0!==t.pull&&(i=function(){return t.pull(o)}),void 0!==t.cancel&&(s=function(e){return t.cancel(e)}),lr(e,o,a,i,s,r,n)}(this,n,$e(r,1),o)}}return Object.defineProperty(e.prototype,"locked",{get:function(){if(!Ar(this))throw Pr("locked");return Sr(this)},enumerable:!1,configurable:!0}),e.prototype.cancel=function(e){return void 0===e&&(e=void 0),Ar(this)?Sr(this)?d(new TypeError("Cannot cancel a stream that already has a reader")):kr(this,e):d(Pr("cancel"))},e.prototype.getReader=function(e){if(void 0===e&&(e=void 0),!Ar(this))throw Pr("getReader");return void 0===function(e,t){j(e,t);var r=null==e?void 0:e.mode;return{mode:void 0===r?void 0:mr(r,t+" has member 'mode' that")}}(e,"First parameter").mode?G(this):ze(this)},e.prototype.pipeThrough=function(e,t){if(void 0===t&&(t={}),!Ar(this))throw Pr("pipeThrough");B(e,1,"pipeThrough");var r=function(e,t){j(e,t);var r=null==e?void 0:e.readable;U(r,"readable","ReadableWritablePair"),H(r,t+" has member 'readable' that");var n=null==e?void 0:e.writable;return U(n,"writable","ReadableWritablePair"),ot(n,t+" has member 'writable' that"),{readable:r,writable:n}}(e,"First parameter"),n=gr(t,"Second parameter");if(Sr(this))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream");if(ct(r.writable))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream");return y(Qt(this,r.writable,n.preventClose,n.preventAbort,n.preventCancel,n.signal)),r.readable},e.prototype.pipeTo=function(e,t){if(void 0===t&&(t={}),!Ar(this))return d(Pr("pipeTo"));if(void 0===e)return d("Parameter 1 is required in 'pipeTo'.");if(!lt(e))return d(new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream"));var r;try{r=gr(t,"Second parameter")}catch(e){return d(e)}return Sr(this)?d(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream")):ct(e)?d(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream")):Qt(this,e,r.preventClose,r.preventAbort,r.preventCancel,r.signal)},e.prototype.tee=function(){if(!Ar(this))throw Pr("tee");return ue(fr(this))},e.prototype.values=function(e){if(void 0===e&&(e=void 0),!Ar(this))throw Pr("values");return t=this,r=function(e,t){j(e,t);var r=null==e?void 0:e.preventCancel;return{preventCancel:Boolean(r)}}(e,"First parameter").preventCancel,n=G(t),o=new ne(n,r),(a=Object.create(oe))._asyncIteratorImpl=o,a;var t,r,n,o,a},e}();function br(e,t,r,n,o){void 0===n&&(n=1),void 0===o&&(o=function(){return 1});var a=Object.create(yr.prototype);return _r(a),lr(a,Object.create(Zt.prototype),e,t,r,n,o),a}function wr(e,t,r){var n=Object.create(yr.prototype);return _r(n),qe(n,Object.create(me.prototype),e,t,r,0,void 0),n}function _r(e){e._state="readable",e._reader=void 0,e._storedError=void 0,e._disturbed=!1}function Ar(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readableStreamController")&&e instanceof yr}function Sr(e){return void 0!==e._reader}function kr(e,t){if(e._disturbed=!0,"closed"===e._state)return f(void 0);if("errored"===e._state)return d(e._storedError);xr(e);var n=e._reader;return void 0!==n&&Xe(n)&&(n._readIntoRequests.forEach((function(e){e._closeSteps(void 0)})),n._readIntoRequests=new A),g(e._readableStreamController[L](t),r)}function xr(e){e._state="closed";var t=e._reader;void 0!==t&&(R(t),ee(t)&&(t._readRequests.forEach((function(e){e._closeSteps()})),t._readRequests=new A))}function Cr(e,t){e._state="errored",e._storedError=t;var r=e._reader;void 0!==r&&(T(r,t),ee(r)?(r._readRequests.forEach((function(e){e._errorSteps(t)})),r._readRequests=new A):(r._readIntoRequests.forEach((function(e){e._errorSteps(t)})),r._readIntoRequests=new A))}function Pr(e){return new TypeError("ReadableStream.prototype."+e+" can only be used on a ReadableStream")}function Er(e,t){j(e,t);var r=null==e?void 0:e.highWaterMark;return U(r,"highWaterMark","QueuingStrategyInit"),{highWaterMark:z(r)}}Object.defineProperties(yr.prototype,{cancel:{enumerable:!0},getReader:{enumerable:!0},pipeThrough:{enumerable:!0},pipeTo:{enumerable:!0},tee:{enumerable:!0},values:{enumerable:!0},locked:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(yr.prototype,t.toStringTag,{value:"ReadableStream",configurable:!0}),"symbol"==typeof t.asyncIterator&&Object.defineProperty(yr.prototype,t.asyncIterator,{value:yr.prototype.values,writable:!0,configurable:!0});var Tr=function(e){return e.byteLength};Object.defineProperty(Tr,"name",{value:"size",configurable:!0});var Rr=function(){function e(e){B(e,1,"ByteLengthQueuingStrategy"),e=Er(e,"First parameter"),this._byteLengthQueuingStrategyHighWaterMark=e.highWaterMark}return Object.defineProperty(e.prototype,"highWaterMark",{get:function(){if(!Fr(this))throw Or("highWaterMark");return this._byteLengthQueuingStrategyHighWaterMark},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){if(!Fr(this))throw Or("size");return Tr},enumerable:!1,configurable:!0}),e}();function Or(e){return new TypeError("ByteLengthQueuingStrategy.prototype."+e+" can only be used on a ByteLengthQueuingStrategy")}function Fr(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_byteLengthQueuingStrategyHighWaterMark")&&e instanceof Rr}Object.defineProperties(Rr.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(Rr.prototype,t.toStringTag,{value:"ByteLengthQueuingStrategy",configurable:!0});var Lr=function(){return 1};Object.defineProperty(Lr,"name",{value:"size",configurable:!0});var Dr=function(){function e(e){B(e,1,"CountQueuingStrategy"),e=Er(e,"First parameter"),this._countQueuingStrategyHighWaterMark=e.highWaterMark}return Object.defineProperty(e.prototype,"highWaterMark",{get:function(){if(!Ir(this))throw Mr("highWaterMark");return this._countQueuingStrategyHighWaterMark},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){if(!Ir(this))throw Mr("size");return Lr},enumerable:!1,configurable:!0}),e}();function Mr(e){return new TypeError("CountQueuingStrategy.prototype."+e+" can only be used on a CountQueuingStrategy")}function Ir(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_countQueuingStrategyHighWaterMark")&&e instanceof Dr}function jr(e,t,r){return N(e,r),function(r){return _(e,t,[r])}}function Nr(e,t,r){return N(e,r),function(r){return w(e,t,[r])}}function qr(e,t,r){return N(e,r),function(r,n){return _(e,t,[r,n])}}Object.defineProperties(Dr.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(Dr.prototype,t.toStringTag,{value:"CountQueuingStrategy",configurable:!0});var Br=function(){function e(e,t,r){void 0===e&&(e={}),void 0===t&&(t={}),void 0===r&&(r={}),void 0===e&&(e=null);var n=Qe(t,"Second parameter"),o=Qe(r,"Third parameter"),a=function(e,t){j(e,t);var r=null==e?void 0:e.flush,n=null==e?void 0:e.readableType,o=null==e?void 0:e.start,a=null==e?void 0:e.transform,i=null==e?void 0:e.writableType;return{flush:void 0===r?void 0:jr(r,e,t+" has member 'flush' that"),readableType:n,start:void 0===o?void 0:Nr(o,e,t+" has member 'start' that"),transform:void 0===a?void 0:qr(a,e,t+" has member 'transform' that"),writableType:i}}(e,"First parameter");if(void 0!==a.readableType)throw new RangeError("Invalid readableType specified");if(void 0!==a.writableType)throw new RangeError("Invalid writableType specified");var i,s=$e(o,0),u=Je(o),l=$e(n,1),p=Je(n);(function(e,t,r,n,o,a){function i(){return t}function s(t){return function(e,t){var r=e._transformStreamController;return e._backpressure?g(e._backpressureChangePromise,(function(){var n=e._writable;if("erroring"===n._state)throw n._storedError;return Kr(r,t)})):Kr(r,t)}(e,t)}function u(t){return function(e,t){return zr(e,t),f(void 0)}(e,t)}function l(){return function(e){var t=e._readable,r=e._transformStreamController,n=r._flushAlgorithm();return Xr(r),g(n,(function(){if("errored"===t._state)throw t._storedError;or(t._readableStreamController)}),(function(r){throw zr(e,r),t._storedError}))}(e)}function c(){return function(e){return Wr(e,!1),e._backpressureChangePromise}(e)}function d(t){return Vr(e,t),f(void 0)}e._writable=function(e,t,r,n,o,a){void 0===o&&(o=1),void 0===a&&(a=function(){return 1});var i=Object.create(it.prototype);return ut(i),Tt(i,Object.create(Pt.prototype),e,t,r,n,o,a),i}(i,s,l,u,r,n),e._readable=br(i,c,d,o,a),e._backpressure=void 0,e._backpressureChangePromise=void 0,e._backpressureChangePromise_resolve=void 0,Wr(e,!0),e._transformStreamController=void 0})(this,c((function(e){i=e})),l,p,s,u),function(e,t){var r=Object.create(Hr.prototype),n=function(e){try{return Yr(r,e),f(void 0)}catch(e){return d(e)}},o=function(){return f(void 0)};void 0!==t.transform&&(n=function(e){return t.transform(e,r)}),void 0!==t.flush&&(o=function(){return t.flush(r)}),function(e,t,r,n){t._controlledTransformStream=e,e._transformStreamController=t,t._transformAlgorithm=r,t._flushAlgorithm=n}(e,r,n,o)}(this,a),void 0!==a.start?i(a.start(this._transformStreamController)):i(void 0)}return Object.defineProperty(e.prototype,"readable",{get:function(){if(!Ur(this))throw Jr("readable");return this._readable},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"writable",{get:function(){if(!Ur(this))throw Jr("writable");return this._writable},enumerable:!1,configurable:!0}),e}();function Ur(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_transformStreamController")&&e instanceof Br}function zr(e,t){ir(e._readable._readableStreamController,t),Vr(e,t)}function Vr(e,t){Xr(e._transformStreamController),Lt(e._writable._writableStreamController,t),e._backpressure&&Wr(e,!1)}function Wr(e,t){void 0!==e._backpressureChangePromise&&e._backpressureChangePromise_resolve(),e._backpressureChangePromise=c((function(t){e._backpressureChangePromise_resolve=t})),e._backpressure=t}Object.defineProperties(Br.prototype,{readable:{enumerable:!0},writable:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(Br.prototype,t.toStringTag,{value:"TransformStream",configurable:!0});var Hr=function(){function e(){throw new TypeError("Illegal constructor")}return Object.defineProperty(e.prototype,"desiredSize",{get:function(){if(!Gr(this))throw $r("desiredSize");return sr(this._controlledTransformStream._readable._readableStreamController)},enumerable:!1,configurable:!0}),e.prototype.enqueue=function(e){if(void 0===e&&(e=void 0),!Gr(this))throw $r("enqueue");Yr(this,e)},e.prototype.error=function(e){if(void 0===e&&(e=void 0),!Gr(this))throw $r("error");var t;t=e,zr(this._controlledTransformStream,t)},e.prototype.terminate=function(){if(!Gr(this))throw $r("terminate");var e;or((e=this._controlledTransformStream)._readable._readableStreamController),Vr(e,new TypeError("TransformStream terminated"))},e}();function Gr(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledTransformStream")&&e instanceof Hr}function Xr(e){e._transformAlgorithm=void 0,e._flushAlgorithm=void 0}function Yr(e,t){var r=e._controlledTransformStream,n=r._readable._readableStreamController;if(!ur(n))throw new TypeError("Readable side is not in a state that permits enqueue");try{ar(n,t)}catch(e){throw Vr(r,e),r._readable._storedError}(function(e){return!rr(e)})(n)!==r._backpressure&&Wr(r,!0)}function Kr(e,t){return g(e._transformAlgorithm(t),void 0,(function(t){throw zr(e._controlledTransformStream,t),t}))}function $r(e){return new TypeError("TransformStreamDefaultController.prototype."+e+" can only be used on a TransformStreamDefaultController")}function Jr(e){return new TypeError("TransformStream.prototype."+e+" can only be used on a TransformStream")}Object.defineProperties(Hr.prototype,{enqueue:{enumerable:!0},error:{enumerable:!0},terminate:{enumerable:!0},desiredSize:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(Hr.prototype,t.toStringTag,{value:"TransformStreamDefaultController",configurable:!0}),e.ByteLengthQueuingStrategy=Rr,e.CountQueuingStrategy=Dr,e.ReadableByteStreamController=me,e.ReadableStream=yr,e.ReadableStreamBYOBReader=Ge,e.ReadableStreamBYOBRequest=ve,e.ReadableStreamDefaultController=Zt,e.ReadableStreamDefaultReader=Z,e.TransformStream=Br,e.TransformStreamDefaultController=Hr,e.WritableStream=it,e.WritableStreamDefaultController=Pt,e.WritableStreamDefaultWriter=bt,Object.defineProperty(e,"__esModule",{value:!0})}(t)},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseStandardFontDataFactory=t.BaseSVGFactory=t.BaseCanvasFactory=t.BaseCMapReaderFactory=void 0;var n,o=(n=r(2))&&n.__esModule?n:{default:n},a=r(4);function i(e,t,r,n,o,a,i){try{var s=e[a](i),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}function s(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function s(e){i(a,n,o,s,u,"next",e)}function u(e){i(a,n,o,s,u,"throw",e)}s(void 0)}))}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c(e,t,r){return t&&l(e.prototype,t),r&&l(e,r),e}var f=function(){function e(){u(this,e),this.constructor===e&&(0,a.unreachable)("Cannot initialize BaseCanvasFactory.")}return c(e,[{key:"create",value:function(e,t){if(e<=0||t<=0)throw new Error("Invalid canvas size");var r=this._createCanvas(e,t);return{canvas:r,context:r.getContext("2d")}}},{key:"reset",value:function(e,t,r){if(!e.canvas)throw new Error("Canvas is not specified");if(t<=0||r<=0)throw new Error("Invalid canvas size");e.canvas.width=t,e.canvas.height=r}},{key:"destroy",value:function(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}},{key:"_createCanvas",value:function(e,t){(0,a.unreachable)("Abstract method `_createCanvas` called.")}}]),e}();t.BaseCanvasFactory=f;var d=function(){function e(t){var r=t.baseUrl,n=void 0===r?null:r,o=t.isCompressed,i=void 0!==o&&o;u(this,e),this.constructor===e&&(0,a.unreachable)("Cannot initialize BaseCMapReaderFactory."),this.baseUrl=n,this.isCompressed=i}var t;return c(e,[{key:"fetch",value:(t=s(o.default.mark((function e(t){var r,n,i,s=this;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.name,this.baseUrl){e.next=3;break}throw new Error('The CMap "baseUrl" parameter must be specified, ensure that the "cMapUrl" and "cMapPacked" API parameters are provided.');case 3:if(r){e.next=5;break}throw new Error("CMap name must be specified.");case 5:return n=this.baseUrl+r+(this.isCompressed?".bcmap":""),i=this.isCompressed?a.CMapCompressionType.BINARY:a.CMapCompressionType.NONE,e.abrupt("return",this._fetchData(n,i).catch((function(e){throw new Error("Unable to load ".concat(s.isCompressed?"binary ":"","CMap at: ").concat(n))})));case 8:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"_fetchData",value:function(e,t){(0,a.unreachable)("Abstract method `_fetchData` called.")}}]),e}();t.BaseCMapReaderFactory=d;var p=function(){function e(t){var r=t.baseUrl,n=void 0===r?null:r;u(this,e),this.constructor===e&&(0,a.unreachable)("Cannot initialize BaseStandardFontDataFactory."),this.baseUrl=n}var t;return c(e,[{key:"fetch",value:(t=s(o.default.mark((function e(t){var r,n;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.filename,this.baseUrl){e.next=3;break}throw new Error('The standard font "baseUrl" parameter must be specified, ensure that the "standardFontDataUrl" API parameter is provided.');case 3:if(r){e.next=5;break}throw new Error("Font filename must be specified.");case 5:return n="".concat(this.baseUrl).concat(r),e.abrupt("return",this._fetchData(n).catch((function(e){throw new Error("Unable to load font data at: ".concat(n))})));case 7:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"_fetchData",value:function(e){(0,a.unreachable)("Abstract method `_fetchData` called.")}}]),e}();t.BaseStandardFontDataFactory=p;var h=function(){function e(){u(this,e),this.constructor===e&&(0,a.unreachable)("Cannot initialize BaseSVGFactory.")}return c(e,[{key:"create",value:function(e,t){if(e<=0||t<=0)throw new Error("Invalid SVG dimensions");var r=this._createSVG("svg:svg");return r.setAttribute("version","1.1"),r.setAttribute("width","".concat(e,"px")),r.setAttribute("height","".concat(t,"px")),r.setAttribute("preserveAspectRatio","none"),r.setAttribute("viewBox","0 0 ".concat(e," ").concat(t)),r}},{key:"createElement",value:function(e){if("string"!=typeof e)throw new Error("Invalid SVG element type");return this._createSVG(e)}},{key:"_createSVG",value:function(e){(0,a.unreachable)("Abstract method `_createSVG` called.")}}]),e}();t.BaseSVGFactory=h},(__unused_webpack_module,exports,__w_pdfjs_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.build=exports.RenderTask=exports.PDFWorker=exports.PDFPageProxy=exports.PDFDocumentProxy=exports.PDFDocumentLoadingTask=exports.PDFDataRangeTransport=exports.LoopbackPort=exports.DefaultStandardFontDataFactory=exports.DefaultCanvasFactory=exports.DefaultCMapReaderFactory=void 0,exports.getDocument=getDocument,exports.setPDFNetworkStreamFactory=setPDFNetworkStreamFactory,exports.version=void 0;var _regenerator=_interopRequireDefault(__w_pdfjs_require__(2)),_util=__w_pdfjs_require__(4),_display_utils=__w_pdfjs_require__(1),_font_loader=__w_pdfjs_require__(137),_node_utils=__w_pdfjs_require__(138),_annotation_storage=__w_pdfjs_require__(139),_canvas=__w_pdfjs_require__(140),_worker_options=__w_pdfjs_require__(142),_is_node=__w_pdfjs_require__(6),_message_handler=__w_pdfjs_require__(143),_metadata=__w_pdfjs_require__(144),_optional_content_config=__w_pdfjs_require__(145),_transport_stream=__w_pdfjs_require__(146),_xfa_text=__w_pdfjs_require__(147);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classPrivateFieldInitSpec(e,t,r){_checkPrivateRedeclaration(e,t),t.set(e,r)}function _checkPrivateRedeclaration(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function _classPrivateFieldSet(e,t,r){return _classApplyDescriptorSet(e,_classExtractFieldDescriptor(e,t,"set"),r),r}function _classApplyDescriptorSet(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=r}}function _classPrivateFieldGet(e,t){return _classApplyDescriptorGet(e,_classExtractFieldDescriptor(e,t,"get"))}function _classExtractFieldDescriptor(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function _classApplyDescriptorGet(e,t){return t.get?t.get.call(e):t.value}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArray(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _createForOfIteratorHelper(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){s=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw a}}}}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _createClass(e,t,r){return t&&_defineProperties(e.prototype,t),r&&_defineProperties(e,r),e}function asyncGeneratorStep(e,t,r,n,o,a,i){try{var s=e[a](i),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}function _asyncToGenerator(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function i(e){asyncGeneratorStep(a,n,o,i,s,"next",e)}function s(e){asyncGeneratorStep(a,n,o,i,s,"throw",e)}i(void 0)}))}}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function _iterableToArrayLimit(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],i=!0,s=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{i||null==r.return||r.return()}finally{if(s)throw o}}return a}}function _arrayWithHoles(e){if(Array.isArray(e))return e}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}var DEFAULT_RANGE_CHUNK_SIZE=65536,RENDERING_CANCELLED_TIMEOUT=100,DefaultCanvasFactory=_is_node.isNodeJS?_node_utils.NodeCanvasFactory:_display_utils.DOMCanvasFactory;exports.DefaultCanvasFactory=DefaultCanvasFactory;var DefaultCMapReaderFactory=_is_node.isNodeJS?_node_utils.NodeCMapReaderFactory:_display_utils.DOMCMapReaderFactory;exports.DefaultCMapReaderFactory=DefaultCMapReaderFactory;var DefaultStandardFontDataFactory=_is_node.isNodeJS?_node_utils.NodeStandardFontDataFactory:_display_utils.DOMStandardFontDataFactory,createPDFNetworkStream;function setPDFNetworkStreamFactory(e){createPDFNetworkStream=e}function getDocument(e){var t,r=new PDFDocumentLoadingTask;if("string"==typeof e||e instanceof URL)t={url:e};else if((0,_util.isArrayBuffer)(e))t={data:e};else if(e instanceof PDFDataRangeTransport)t={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");t=e}var n=Object.create(null),o=null,a=null;for(var i in t){var s=t[i];switch(i){case"url":if("undefined"!=typeof window)try{n[i]=new URL(s,window.location).href;continue}catch(e){(0,_util.warn)('Cannot create valid URL: "'.concat(e,'".'))}else if("string"==typeof s||s instanceof URL){n[i]=s.toString();continue}throw new Error("Invalid PDF url data: either string or URL-object is expected in the url property.");case"range":o=s;continue;case"worker":a=s;continue;case"data":if(_is_node.isNodeJS&&"undefined"!=typeof Buffer&&s instanceof Buffer)n[i]=new Uint8Array(s);else{if(s instanceof Uint8Array)break;if("string"==typeof s)n[i]=(0,_util.stringToBytes)(s);else if("object"!==_typeof(s)||null===s||isNaN(s.length)){if(!(0,_util.isArrayBuffer)(s))throw new Error("Invalid PDF binary data: either typed array, string, or array-like object is expected in the data property.");n[i]=new Uint8Array(s)}else n[i]=new Uint8Array(s)}continue}n[i]=s}if(n.rangeChunkSize=n.rangeChunkSize||DEFAULT_RANGE_CHUNK_SIZE,n.CMapReaderFactory=n.CMapReaderFactory||DefaultCMapReaderFactory,n.StandardFontDataFactory=n.StandardFontDataFactory||DefaultStandardFontDataFactory,n.ignoreErrors=!0!==n.stopAtErrors,n.fontExtraProperties=!0===n.fontExtraProperties,n.pdfBug=!0===n.pdfBug,n.enableXfa=!0===n.enableXfa,("string"!=typeof n.docBaseUrl||(0,_display_utils.isDataScheme)(n.docBaseUrl))&&(n.docBaseUrl=null),Number.isInteger(n.maxImageSize)||(n.maxImageSize=-1),"boolean"!=typeof n.useWorkerFetch&&(n.useWorkerFetch=n.CMapReaderFactory===_display_utils.DOMCMapReaderFactory&&n.StandardFontDataFactory===_display_utils.DOMStandardFontDataFactory),"boolean"!=typeof n.isEvalSupported&&(n.isEvalSupported=!0),"boolean"!=typeof n.disableFontFace&&(n.disableFontFace=_is_node.isNodeJS),"boolean"!=typeof n.useSystemFonts&&(n.useSystemFonts=!_is_node.isNodeJS&&!n.disableFontFace),void 0===n.ownerDocument&&(n.ownerDocument=globalThis.document),"boolean"!=typeof n.disableRange&&(n.disableRange=!1),"boolean"!=typeof n.disableStream&&(n.disableStream=!1),"boolean"!=typeof n.disableAutoFetch&&(n.disableAutoFetch=!1),(0,_util.setVerbosityLevel)(n.verbosity),!a){var u={verbosity:n.verbosity,port:_worker_options.GlobalWorkerOptions.workerPort};a=u.port?PDFWorker.fromPort(u):new PDFWorker(u),r._worker=a}var l=r.docId;return a.promise.then((function(){if(r.destroyed)throw new Error("Loading aborted");var e=_fetchDocument(a,n,o,l),t=new Promise((function(e){var t;o?t=new _transport_stream.PDFDataTransportStream({length:n.length,initialData:n.initialData,progressiveDone:n.progressiveDone,contentDispositionFilename:n.contentDispositionFilename,disableRange:n.disableRange,disableStream:n.disableStream},o):n.data||(t=createPDFNetworkStream({url:n.url,length:n.length,httpHeaders:n.httpHeaders,withCredentials:n.withCredentials,rangeChunkSize:n.rangeChunkSize,disableRange:n.disableRange,disableStream:n.disableStream})),e(t)}));return Promise.all([e,t]).then((function(e){var t=_slicedToArray(e,2),o=t[0],i=t[1];if(r.destroyed)throw new Error("Loading aborted");var s=new _message_handler.MessageHandler(l,o,a.port),u=new WorkerTransport(s,r,i,n);r._transport=u,s.send("Ready",null)}))})).catch(r._capability.reject),r}function _fetchDocument(e,t,r,n){return _fetchDocument2.apply(this,arguments)}function _fetchDocument2(){return(_fetchDocument2=_asyncToGenerator(_regenerator.default.mark((function e(t,r,n,o){var a;return _regenerator.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.destroyed){e.next=2;break}throw new Error("Worker was destroyed");case 2:return n&&(r.length=n.length,r.initialData=n.initialData,r.progressiveDone=n.progressiveDone,r.contentDispositionFilename=n.contentDispositionFilename),e.next=5,t.messageHandler.sendWithPromise("GetDocRequest",{docId:o,apiVersion:"2.12.313",source:{data:r.data,url:r.url,password:r.password,disableAutoFetch:r.disableAutoFetch,rangeChunkSize:r.rangeChunkSize,length:r.length},maxImageSize:r.maxImageSize,disableFontFace:r.disableFontFace,docBaseUrl:r.docBaseUrl,ignoreErrors:r.ignoreErrors,isEvalSupported:r.isEvalSupported,fontExtraProperties:r.fontExtraProperties,enableXfa:r.enableXfa,useSystemFonts:r.useSystemFonts,cMapUrl:r.useWorkerFetch?r.cMapUrl:null,standardFontDataUrl:r.useWorkerFetch?r.standardFontDataUrl:null});case 5:if(a=e.sent,!t.destroyed){e.next=8;break}throw new Error("Worker was destroyed");case 8:return e.abrupt("return",a);case 9:case"end":return e.stop()}}),e)})))).apply(this,arguments)}exports.DefaultStandardFontDataFactory=DefaultStandardFontDataFactory;var PDFDocumentLoadingTask=function(){function e(){_classCallCheck(this,e),this._capability=(0,_util.createPromiseCapability)(),this._transport=null,this._worker=null,this.docId="d".concat(e.idCounters.doc++),this.destroyed=!1,this.onPassword=null,this.onProgress=null,this.onUnsupportedFeature=null}var t;return _createClass(e,[{key:"promise",get:function(){return this._capability.promise}},{key:"destroy",value:(t=_asyncToGenerator(_regenerator.default.mark((function e(){var t;return _regenerator.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.destroyed=!0,e.next=3,null===(t=this._transport)||void 0===t?void 0:t.destroy();case 3:this._transport=null,this._worker&&(this._worker.destroy(),this._worker=null);case 5:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})}],[{key:"idCounters",get:function(){return(0,_util.shadow)(this,"idCounters",{doc:0})}}]),e}();exports.PDFDocumentLoadingTask=PDFDocumentLoadingTask;var PDFDataRangeTransport=function(){function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;_classCallCheck(this,e),this.length=t,this.initialData=r,this.progressiveDone=n,this.contentDispositionFilename=o,this._rangeListeners=[],this._progressListeners=[],this._progressiveReadListeners=[],this._progressiveDoneListeners=[],this._readyCapability=(0,_util.createPromiseCapability)()}return _createClass(e,[{key:"addRangeListener",value:function(e){this._rangeListeners.push(e)}},{key:"addProgressListener",value:function(e){this._progressListeners.push(e)}},{key:"addProgressiveReadListener",value:function(e){this._progressiveReadListeners.push(e)}},{key:"addProgressiveDoneListener",value:function(e){this._progressiveDoneListeners.push(e)}},{key:"onDataRange",value:function(e,t){var r,n=_createForOfIteratorHelper(this._rangeListeners);try{for(n.s();!(r=n.n()).done;)(0,r.value)(e,t)}catch(e){n.e(e)}finally{n.f()}}},{key:"onDataProgress",value:function(e,t){var r=this;this._readyCapability.promise.then((function(){var n,o=_createForOfIteratorHelper(r._progressListeners);try{for(o.s();!(n=o.n()).done;)(0,n.value)(e,t)}catch(e){o.e(e)}finally{o.f()}}))}},{key:"onDataProgressiveRead",value:function(e){var t=this;this._readyCapability.promise.then((function(){var r,n=_createForOfIteratorHelper(t._progressiveReadListeners);try{for(n.s();!(r=n.n()).done;)(0,r.value)(e)}catch(e){n.e(e)}finally{n.f()}}))}},{key:"onDataProgressiveDone",value:function(){var e=this;this._readyCapability.promise.then((function(){var t,r=_createForOfIteratorHelper(e._progressiveDoneListeners);try{for(r.s();!(t=r.n()).done;)(0,t.value)()}catch(e){r.e(e)}finally{r.f()}}))}},{key:"transportReady",value:function(){this._readyCapability.resolve()}},{key:"requestDataRange",value:function(e,t){(0,_util.unreachable)("Abstract method PDFDataRangeTransport.requestDataRange")}},{key:"abort",value:function(){}}]),e}();exports.PDFDataRangeTransport=PDFDataRangeTransport;var PDFDocumentProxy=function(){function e(t,r){var n,o=this;_classCallCheck(this,e),this._pdfInfo=t,this._transport=r,Object.defineProperty(this,"fingerprint",{get:function(){return(0,_display_utils.deprecated)("`PDFDocumentProxy.fingerprint`, please use `PDFDocumentProxy.fingerprints` instead."),this.fingerprints[0]}}),Object.defineProperty(this,"getStats",{value:(n=_asyncToGenerator(_regenerator.default.mark((function e(){return _regenerator.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(0,_display_utils.deprecated)("`PDFDocumentProxy.getStats`, please use the `PDFDocumentProxy.stats`-getter instead."),e.abrupt("return",o.stats||{streamTypes:{},fontTypes:{}});case 2:case"end":return e.stop()}}),e)}))),function(){return n.apply(this,arguments)})})}return _createClass(e,[{key:"annotationStorage",get:function(){return this._transport.annotationStorage}},{key:"numPages",get:function(){return this._pdfInfo.numPages}},{key:"fingerprints",get:function(){return this._pdfInfo.fingerprints}},{key:"stats",get:function(){return this._transport.stats}},{key:"isPureXfa",get:function(){return!!this._transport._htmlForXfa}},{key:"allXfaHtml",get:function(){return this._transport._htmlForXfa}},{key:"getPage",value:function(e){return this._transport.getPage(e)}},{key:"getPageIndex",value:function(e){return this._transport.getPageIndex(e)}},{key:"getDestinations",value:function(){return this._transport.getDestinations()}},{key:"getDestination",value:function(e){return this._transport.getDestination(e)}},{key:"getPageLabels",value:function(){return this._transport.getPageLabels()}},{key:"getPageLayout",value:function(){return this._transport.getPageLayout()}},{key:"getPageMode",value:function(){return this._transport.getPageMode()}},{key:"getViewerPreferences",value:function(){return this._transport.getViewerPreferences()}},{key:"getOpenAction",value:function(){return this._transport.getOpenAction()}},{key:"getAttachments",value:function(){return this._transport.getAttachments()}},{key:"getJavaScript",value:function(){return this._transport.getJavaScript()}},{key:"getJSActions",value:function(){return this._transport.getDocJSActions()}},{key:"getOutline",value:function(){return this._transport.getOutline()}},{key:"getOptionalContentConfig",value:function(){return this._transport.getOptionalContentConfig()}},{key:"getPermissions",value:function(){return this._transport.getPermissions()}},{key:"getMetadata",value:function(){return this._transport.getMetadata()}},{key:"getMarkInfo",value:function(){return this._transport.getMarkInfo()}},{key:"getData",value:function(){return this._transport.getData()}},{key:"getDownloadInfo",value:function(){return this._transport.downloadInfoCapability.promise}},{key:"cleanup",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this._transport.startCleanup(e||this.isPureXfa)}},{key:"destroy",value:function(){return this.loadingTask.destroy()}},{key:"loadingParams",get:function(){return this._transport.loadingParams}},{key:"loadingTask",get:function(){return this._transport.loadingTask}},{key:"saveDocument",value:function(){return this._transport.annotationStorage.size<=0&&(0,_display_utils.deprecated)("saveDocument called while `annotationStorage` is empty, please use the getData-method instead."),this._transport.saveDocument()}},{key:"getFieldObjects",value:function(){return this._transport.getFieldObjects()}},{key:"hasJSActions",value:function(){return this._transport.hasJSActions()}},{key:"getCalculationOrderIds",value:function(){return this._transport.getCalculationOrderIds()}}]),e}();exports.PDFDocumentProxy=PDFDocumentProxy;var PDFPageProxy=function(){function e(t,r,n,o){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];_classCallCheck(this,e),this._pageIndex=t,this._pageInfo=r,this._ownerDocument=o,this._transport=n,this._stats=a?new _display_utils.StatTimer:null,this._pdfBug=a,this.commonObjs=n.commonObjs,this.objs=new PDFObjects,this.cleanupAfterRender=!1,this.pendingCleanup=!1,this._intentStates=new Map,this._annotationPromises=new Map,this.destroyed=!1}var t;return _createClass(e,[{key:"pageNumber",get:function(){return this._pageIndex+1}},{key:"rotate",get:function(){return this._pageInfo.rotate}},{key:"ref",get:function(){return this._pageInfo.ref}},{key:"userUnit",get:function(){return this._pageInfo.userUnit}},{key:"view",get:function(){return this._pageInfo.view}},{key:"getViewport",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.scale,r=e.rotation,n=void 0===r?this.rotate:r,o=e.offsetX,a=void 0===o?0:o,i=e.offsetY,s=void 0===i?0:i,u=e.dontFlip,l=void 0!==u&&u;return new _display_utils.PageViewport({viewBox:this.view,scale:t,rotation:n,offsetX:a,offsetY:s,dontFlip:l})}},{key:"getAnnotations",value:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).intent,t=void 0===e?"display":e,r=this._transport.getRenderingIntent(t),n=this._annotationPromises.get(r.cacheKey);return n||(n=this._transport.getAnnotations(this._pageIndex,r.renderingIntent),this._annotationPromises.set(r.cacheKey,n),n=n.then((function(e){var t,r=_createForOfIteratorHelper(e);try{var n=function(){var e=t.value;void 0!==e.titleObj&&Object.defineProperty(e,"title",{get:function(){return(0,_display_utils.deprecated)("`title`-property on annotation, please use `titleObj` instead."),e.titleObj.str}}),void 0!==e.contentsObj&&Object.defineProperty(e,"contents",{get:function(){return(0,_display_utils.deprecated)("`contents`-property on annotation, please use `contentsObj` instead."),e.contentsObj.str}})};for(r.s();!(t=r.n()).done;)n()}catch(e){r.e(e)}finally{r.f()}return e}))),n}},{key:"getJSActions",value:function(){return this._jsActionsPromise||(this._jsActionsPromise=this._transport.getPageJSActions(this._pageIndex))}},{key:"getXfa",value:(t=_asyncToGenerator(_regenerator.default.mark((function e(){var t;return _regenerator.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(null===(t=this._transport._htmlForXfa)||void 0===t?void 0:t.children[this._pageIndex])||null);case 1:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"render",value:function(e){var t,r,n,o=this,a=e.canvasContext,i=e.viewport,s=e.intent,u=void 0===s?"display":s,l=e.annotationMode,c=void 0===l?_util.AnnotationMode.ENABLE:l,f=e.transform,d=void 0===f?null:f,p=e.imageLayer,h=void 0===p?null:p,v=e.canvasFactory,m=void 0===v?null:v,g=e.background,y=void 0===g?null:g,b=e.optionalContentConfigPromise,w=void 0===b?null:b,_=e.annotationCanvasMap,A=void 0===_?null:_;void 0!==(null===(t=arguments[0])||void 0===t?void 0:t.renderInteractiveForms)&&((0,_display_utils.deprecated)("render no longer accepts the `renderInteractiveForms`-option, please use the `annotationMode`-option instead."),!0===arguments[0].renderInteractiveForms&&c===_util.AnnotationMode.ENABLE&&(c=_util.AnnotationMode.ENABLE_FORMS)),void 0!==(null===(r=arguments[0])||void 0===r?void 0:r.includeAnnotationStorage)&&((0,_display_utils.deprecated)("render no longer accepts the `includeAnnotationStorage`-option, please use the `annotationMode`-option instead."),!0===arguments[0].includeAnnotationStorage&&c===_util.AnnotationMode.ENABLE&&(c=_util.AnnotationMode.ENABLE_STORAGE)),this._stats&&this._stats.time("Overall");var S=this._transport.getRenderingIntent(u,c);this.pendingCleanup=!1,w||(w=this._transport.getOptionalContentConfig());var k=this._intentStates.get(S.cacheKey);k||(k=Object.create(null),this._intentStates.set(S.cacheKey,k)),k.streamReaderCancelTimeout&&(clearTimeout(k.streamReaderCancelTimeout),k.streamReaderCancelTimeout=null);var x=m||new DefaultCanvasFactory({ownerDocument:this._ownerDocument}),C=!!(S.renderingIntent&_util.RenderingIntentFlag.PRINT);k.displayReadyCapability||(k.displayReadyCapability=(0,_util.createPromiseCapability)(),k.operatorList={fnArray:[],argsArray:[],lastChunk:!1},this._stats&&this._stats.time("Page Request"),this._pumpOperatorList(S));var P=function(e){k.renderTasks.delete(E),(o.cleanupAfterRender||C)&&(o.pendingCleanup=!0),o._tryCleanup(),e?(E.capability.reject(e),o._abortOperatorList({intentState:k,reason:e instanceof Error?e:new Error(e)})):E.capability.resolve(),o._stats&&(o._stats.timeEnd("Rendering"),o._stats.timeEnd("Overall"))},E=new InternalRenderTask({callback:P,params:{canvasContext:a,viewport:i,transform:d,imageLayer:h,background:y},objs:this.objs,commonObjs:this.commonObjs,annotationCanvasMap:A,operatorList:k.operatorList,pageIndex:this._pageIndex,canvasFactory:x,useRequestAnimationFrame:!C,pdfBug:this._pdfBug});((n=k).renderTasks||(n.renderTasks=new Set)).add(E);var T=E.task;return Promise.all([k.displayReadyCapability.promise,w]).then((function(e){var t=_slicedToArray(e,2),r=t[0],n=t[1];o.pendingCleanup?P():(o._stats&&o._stats.time("Rendering"),E.initializeGraphics({transparency:r,optionalContentConfig:n}),E.operatorListChanged())})).catch(P),T}},{key:"getOperatorList",value:function(){var e,t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=r.intent,o=void 0===n?"display":n,a=r.annotationMode,i=void 0===a?_util.AnnotationMode.ENABLE:a,s=this._transport.getRenderingIntent(o,i,!0),u=this._intentStates.get(s.cacheKey);return u||(u=Object.create(null),this._intentStates.set(s.cacheKey,u)),u.opListReadCapability||((e=Object.create(null)).operatorListChanged=function(){u.operatorList.lastChunk&&(u.opListReadCapability.resolve(u.operatorList),u.renderTasks.delete(e))},u.opListReadCapability=(0,_util.createPromiseCapability)(),((t=u).renderTasks||(t.renderTasks=new Set)).add(e),u.operatorList={fnArray:[],argsArray:[],lastChunk:!1},this._stats&&this._stats.time("Page Request"),this._pumpOperatorList(s)),u.opListReadCapability.promise}},{key:"streamTextContent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.normalizeWhitespace,r=void 0!==t&&t,n=e.disableCombineTextItems,o=void 0!==n&&n,a=e.includeMarkedContent,i=void 0!==a&&a;return this._transport.messageHandler.sendWithStream("GetTextContent",{pageIndex:this._pageIndex,normalizeWhitespace:!0===r,combineTextItems:!0!==o,includeMarkedContent:!0===i},{highWaterMark:100,size:function(e){return e.items.length}})}},{key:"getTextContent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this._transport._htmlForXfa)return this.getXfa().then((function(e){return _xfa_text.XfaText.textContent(e)}));var t=this.streamTextContent(e);return new Promise((function(e,r){var n=t.getReader(),o={items:[],styles:Object.create(null)};!function t(){n.read().then((function(r){var n,a=r.value;r.done?e(o):(Object.assign(o.styles,a.styles),(n=o.items).push.apply(n,_toConsumableArray(a.items)),t())}),r)}()}))}},{key:"getStructTree",value:function(){return this._structTreePromise||(this._structTreePromise=this._transport.getStructTree(this._pageIndex))}},{key:"_destroy",value:function(){this.destroyed=!0;var e,t=[],r=_createForOfIteratorHelper(this._intentStates.values());try{for(r.s();!(e=r.n()).done;){var n=e.value;if(this._abortOperatorList({intentState:n,reason:new Error("Page was destroyed."),force:!0}),!n.opListReadCapability){var o,a=_createForOfIteratorHelper(n.renderTasks);try{for(a.s();!(o=a.n()).done;){var i=o.value;t.push(i.completed),i.cancel()}}catch(e){a.e(e)}finally{a.f()}}}}catch(e){r.e(e)}finally{r.f()}return this.objs.clear(),this._annotationPromises.clear(),this._jsActionsPromise=null,this._structTreePromise=null,this.pendingCleanup=!1,Promise.all(t)}},{key:"cleanup",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.pendingCleanup=!0,this._tryCleanup(e)}},{key:"_tryCleanup",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.pendingCleanup)return!1;var t,r=_createForOfIteratorHelper(this._intentStates.values());try{for(r.s();!(t=r.n()).done;){var n=t.value,o=n.renderTasks,a=n.operatorList;if(o.size>0||!a.lastChunk)return!1}}catch(e){r.e(e)}finally{r.f()}return this._intentStates.clear(),this.objs.clear(),this._annotationPromises.clear(),this._jsActionsPromise=null,this._structTreePromise=null,e&&this._stats&&(this._stats=new _display_utils.StatTimer),this.pendingCleanup=!1,!0}},{key:"_startRenderPage",value:function(e,t){var r=this._intentStates.get(t);r&&(this._stats&&this._stats.timeEnd("Page Request"),r.displayReadyCapability&&r.displayReadyCapability.resolve(e))}},{key:"_renderPageChunk",value:function(e,t){for(var r=0,n=e.length;r<n;r++)t.operatorList.fnArray.push(e.fnArray[r]),t.operatorList.argsArray.push(e.argsArray[r]);t.operatorList.lastChunk=e.lastChunk;var o,a=_createForOfIteratorHelper(t.renderTasks);try{for(a.s();!(o=a.n()).done;)o.value.operatorListChanged()}catch(e){a.e(e)}finally{a.f()}e.lastChunk&&this._tryCleanup()}},{key:"_pumpOperatorList",value:function(e){var t=this,r=e.renderingIntent,n=e.cacheKey,o=this._transport.messageHandler.sendWithStream("GetOperatorList",{pageIndex:this._pageIndex,intent:r,cacheKey:n,annotationStorage:r&_util.RenderingIntentFlag.ANNOTATIONS_STORAGE?this._transport.annotationStorage.serializable:null}).getReader(),a=this._intentStates.get(n);a.streamReader=o,function e(){o.read().then((function(r){var n=r.value;r.done?a.streamReader=null:t._transport.destroyed||(t._renderPageChunk(n,a),e())}),(function(e){if(a.streamReader=null,!t._transport.destroyed){if(a.operatorList){a.operatorList.lastChunk=!0;var r,n=_createForOfIteratorHelper(a.renderTasks);try{for(n.s();!(r=n.n()).done;)r.value.operatorListChanged()}catch(e){n.e(e)}finally{n.f()}t._tryCleanup()}if(a.displayReadyCapability)a.displayReadyCapability.reject(e);else{if(!a.opListReadCapability)throw e;a.opListReadCapability.reject(e)}}}))}()}},{key:"_abortOperatorList",value:function(e){var t=this,r=e.intentState,n=e.reason,o=e.force,a=void 0!==o&&o;if(r.streamReader){if(!a){if(r.renderTasks.size>0)return;if(n instanceof _display_utils.RenderingCancelledException)return void(r.streamReaderCancelTimeout=setTimeout((function(){t._abortOperatorList({intentState:r,reason:n,force:!0}),r.streamReaderCancelTimeout=null}),RENDERING_CANCELLED_TIMEOUT))}if(r.streamReader.cancel(new _util.AbortException(n.message)).catch((function(){})),r.streamReader=null,!this._transport.destroyed){var i,s=_createForOfIteratorHelper(this._intentStates);try{for(s.s();!(i=s.n()).done;){var u=_slicedToArray(i.value,2),l=u[0];if(u[1]===r){this._intentStates.delete(l);break}}}catch(e){s.e(e)}finally{s.f()}this.cleanup()}}}},{key:"stats",get:function(){return this._stats}}]),e}();exports.PDFPageProxy=PDFPageProxy;var LoopbackPort=function(){function e(){_classCallCheck(this,e),this._listeners=[],this._deferred=Promise.resolve()}return _createClass(e,[{key:"postMessage",value:function(e,t){var r=this,n={data:function(e){if(globalThis.structuredClone)return globalThis.structuredClone(e,t);var r=new WeakMap;return function e(n){if("function"==typeof n||"symbol"===_typeof(n)||n instanceof URL)throw new Error("LoopbackPort.postMessage - cannot clone: ".concat(null==n?void 0:n.toString()));if("object"!==_typeof(n)||null===n)return n;if(r.has(n))return r.get(n);var o,a;if((o=n.buffer)&&(0,_util.isArrayBuffer)(o))return a=null!=t&&t.includes(o)?new n.constructor(o,n.byteOffset,n.byteLength):new n.constructor(n),r.set(n,a),a;if(n instanceof Map){a=new Map,r.set(n,a);var i,s=_createForOfIteratorHelper(n);try{for(s.s();!(i=s.n()).done;){var u=_slicedToArray(i.value,2),l=u[0],c=u[1];a.set(l,e(c))}}catch(e){s.e(e)}finally{s.f()}return a}if(n instanceof Set){a=new Set,r.set(n,a);var f,d=_createForOfIteratorHelper(n);try{for(d.s();!(f=d.n()).done;){var p=f.value;a.add(e(p))}}catch(e){d.e(e)}finally{d.f()}return a}for(var h in a=Array.isArray(n)?[]:Object.create(null),r.set(n,a),n){for(var v,m=void 0,g=n;!(m=Object.getOwnPropertyDescriptor(g,h));)g=Object.getPrototypeOf(g);void 0!==m.value&&("function"!=typeof m.value||null!==(v=n.hasOwnProperty)&&void 0!==v&&v.call(n,h))&&(a[h]=e(m.value))}return a}(e)}(e)};this._deferred.then((function(){var e,t=_createForOfIteratorHelper(r._listeners);try{for(t.s();!(e=t.n()).done;)e.value.call(r,n)}catch(e){t.e(e)}finally{t.f()}}))}},{key:"addEventListener",value:function(e,t){this._listeners.push(t)}},{key:"removeEventListener",value:function(e,t){var r=this._listeners.indexOf(t);this._listeners.splice(r,1)}},{key:"terminate",value:function(){this._listeners.length=0}}]),e}();exports.LoopbackPort=LoopbackPort;var PDFWorkerUtil={isWorkerDisabled:!1,fallbackWorkerSrc:null,fakeWorkerId:0};if(_is_node.isNodeJS)PDFWorkerUtil.isWorkerDisabled=!0,PDFWorkerUtil.fallbackWorkerSrc="./pdf.worker.js";else if("object"===("undefined"==typeof document?"undefined":_typeof(document))){var _document,_document$currentScri,pdfjsFilePath=null===(_document=document)||void 0===_document||null===(_document$currentScri=_document.currentScript)||void 0===_document$currentScri?void 0:_document$currentScri.src;pdfjsFilePath&&(PDFWorkerUtil.fallbackWorkerSrc=pdfjsFilePath.replace(/(\.(?:min\.)?js)(\?.*)?$/i,".worker$1$2"))}PDFWorkerUtil.createCDNWrapper=function(e){var t='importScripts("'.concat(e,'");');return URL.createObjectURL(new Blob([t]))};var PDFWorker=function(){function PDFWorker(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.name,r=void 0===t?null:t,n=e.port,o=void 0===n?null:n,a=e.verbosity,i=void 0===a?(0,_util.getVerbosityLevel)():a;if(_classCallCheck(this,PDFWorker),o&&PDFWorker._workerPorts.has(o))throw new Error("Cannot use more than one PDFWorker per port.");if(this.name=r,this.destroyed=!1,this.verbosity=i,this._readyCapability=(0,_util.createPromiseCapability)(),this._port=null,this._webWorker=null,this._messageHandler=null,o)return PDFWorker._workerPorts.set(o,this),void this._initializeFromPort(o);this._initialize()}return _createClass(PDFWorker,[{key:"promise",get:function(){return this._readyCapability.promise}},{key:"port",get:function(){return this._port}},{key:"messageHandler",get:function(){return this._messageHandler}},{key:"_initializeFromPort",value:function(e){this._port=e,this._messageHandler=new _message_handler.MessageHandler("main","worker",e),this._messageHandler.on("ready",(function(){})),this._readyCapability.resolve()}},{key:"_initialize",value:function(){var e=this;if("undefined"!=typeof Worker&&!PDFWorkerUtil.isWorkerDisabled&&!PDFWorker._mainThreadWorkerMessageHandler){var t=PDFWorker.workerSrc;try{(0,_util.isSameOrigin)(window.location.href,t)||(t=PDFWorkerUtil.createCDNWrapper(new URL(t,window.location).href));var r=new Worker(t),n=new _message_handler.MessageHandler("main","worker",r),o=function(){r.removeEventListener("error",a),n.destroy(),r.terminate(),e.destroyed?e._readyCapability.reject(new Error("Worker was destroyed")):e._setupFakeWorker()},a=function(){e._webWorker||o()};r.addEventListener("error",a),n.on("test",(function(t){r.removeEventListener("error",a),e.destroyed?o():t?(e._messageHandler=n,e._port=r,e._webWorker=r,e._readyCapability.resolve(),n.send("configure",{verbosity:e.verbosity})):(e._setupFakeWorker(),n.destroy(),r.terminate())})),n.on("ready",(function(t){if(r.removeEventListener("error",a),e.destroyed)o();else try{i()}catch(t){e._setupFakeWorker()}}));var i=function(){var e=new Uint8Array([255]);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 i()}catch(e){(0,_util.info)("The worker has been disabled.")}}this._setupFakeWorker()}},{key:"_setupFakeWorker",value:function(){var e=this;PDFWorkerUtil.isWorkerDisabled||((0,_util.warn)("Setting up fake worker."),PDFWorkerUtil.isWorkerDisabled=!0),PDFWorker._setupFakeWorkerGlobal.then((function(t){if(e.destroyed)e._readyCapability.reject(new Error("Worker was destroyed"));else{var r=new LoopbackPort;e._port=r;var n="fake".concat(PDFWorkerUtil.fakeWorkerId++),o=new _message_handler.MessageHandler(n+"_worker",n,r);t.setup(o,r);var a=new _message_handler.MessageHandler(n,n+"_worker",r);e._messageHandler=a,e._readyCapability.resolve(),a.send("configure",{verbosity:e.verbosity})}})).catch((function(t){e._readyCapability.reject(new Error('Setting up fake worker failed: "'.concat(t.message,'".')))}))}},{key:"destroy",value:function(){this.destroyed=!0,this._webWorker&&(this._webWorker.terminate(),this._webWorker=null),PDFWorker._workerPorts.delete(this._port),this._port=null,this._messageHandler&&(this._messageHandler.destroy(),this._messageHandler=null)}}],[{key:"_workerPorts",get:function(){return(0,_util.shadow)(this,"_workerPorts",new WeakMap)}},{key:"fromPort",value:function(e){if(null==e||!e.port)throw new Error("PDFWorker.fromPort - invalid method signature.");return this._workerPorts.has(e.port)?this._workerPorts.get(e.port):new PDFWorker(e)}},{key:"workerSrc",get:function(){if(_worker_options.GlobalWorkerOptions.workerSrc)return _worker_options.GlobalWorkerOptions.workerSrc;if(null!==PDFWorkerUtil.fallbackWorkerSrc)return _is_node.isNodeJS||(0,_display_utils.deprecated)('No "GlobalWorkerOptions.workerSrc" specified.'),PDFWorkerUtil.fallbackWorkerSrc;throw new Error('No "GlobalWorkerOptions.workerSrc" specified.')}},{key:"_mainThreadWorkerMessageHandler",get:function(){try{var e;return(null===(e=globalThis.pdfjsWorker)||void 0===e?void 0:e.WorkerMessageHandler)||null}catch(e){return null}}},{key:"_setupFakeWorkerGlobal",get:function get(){var _this11=this,loader=function(){var _ref15=_asyncToGenerator(_regenerator.default.mark((function _callee4(){var mainWorkerMessageHandler,worker;return _regenerator.default.wrap((function _callee4$(_context4){for(;;)switch(_context4.prev=_context4.next){case 0:if(mainWorkerMessageHandler=_this11._mainThreadWorkerMessageHandler,!mainWorkerMessageHandler){_context4.next=3;break}return _context4.abrupt("return",mainWorkerMessageHandler);case 3:if(!_is_node.isNodeJS){_context4.next=6;break}return worker=eval("require")(_this11.workerSrc),_context4.abrupt("return",worker.WorkerMessageHandler);case 6:return _context4.next=8,(0,_display_utils.loadScript)(_this11.workerSrc);case 8:return _context4.abrupt("return",window.pdfjsWorker.WorkerMessageHandler);case 9:case"end":return _context4.stop()}}),_callee4)})));return function(){return _ref15.apply(this,arguments)}}();return(0,_util.shadow)(this,"_setupFakeWorkerGlobal",loader())}}]),PDFWorker}();exports.PDFWorker=PDFWorker,PDFWorker.getWorkerSrc=function(){return(0,_display_utils.deprecated)("`PDFWorker.getWorkerSrc()`, please use `PDFWorker.workerSrc` instead."),this.workerSrc};var _docStats=new WeakMap,_pageCache=new WeakMap,_pagePromises=new WeakMap,_metadataPromise=new WeakMap,WorkerTransport=function(){function e(t,r,n,o){_classCallCheck(this,e),_classPrivateFieldInitSpec(this,_docStats,{writable:!0,value:null}),_classPrivateFieldInitSpec(this,_pageCache,{writable:!0,value:new Map}),_classPrivateFieldInitSpec(this,_pagePromises,{writable:!0,value:new Map}),_classPrivateFieldInitSpec(this,_metadataPromise,{writable:!0,value:null}),this.messageHandler=t,this.loadingTask=r,this.commonObjs=new PDFObjects,this.fontLoader=new _font_loader.FontLoader({docId:r.docId,onUnsupportedFeature:this._onUnsupportedFeature.bind(this),ownerDocument:o.ownerDocument,styleElement:o.styleElement}),this._params=o,o.useWorkerFetch||(this.CMapReaderFactory=new o.CMapReaderFactory({baseUrl:o.cMapUrl,isCompressed:o.cMapPacked}),this.StandardFontDataFactory=new o.StandardFontDataFactory({baseUrl:o.standardFontDataUrl})),this.destroyed=!1,this.destroyCapability=null,this._passwordCapability=null,this._networkStream=n,this._fullReader=null,this._lastProgress=null,this.downloadInfoCapability=(0,_util.createPromiseCapability)(),this.setupMessageHandler()}var t;return _createClass(e,[{key:"annotationStorage",get:function(){return(0,_util.shadow)(this,"annotationStorage",new _annotation_storage.AnnotationStorage)}},{key:"stats",get:function(){return _classPrivateFieldGet(this,_docStats)}},{key:"getRenderingIntent",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_util.AnnotationMode.ENABLE,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=_util.RenderingIntentFlag.DISPLAY,o="";switch(e){case"any":n=_util.RenderingIntentFlag.ANY;break;case"display":break;case"print":n=_util.RenderingIntentFlag.PRINT;break;default:(0,_util.warn)("getRenderingIntent - invalid intent: ".concat(e))}switch(t){case _util.AnnotationMode.DISABLE:n+=_util.RenderingIntentFlag.ANNOTATIONS_DISABLE;break;case _util.AnnotationMode.ENABLE:break;case _util.AnnotationMode.ENABLE_FORMS:n+=_util.RenderingIntentFlag.ANNOTATIONS_FORMS;break;case _util.AnnotationMode.ENABLE_STORAGE:n+=_util.RenderingIntentFlag.ANNOTATIONS_STORAGE,o=this.annotationStorage.lastModified;break;default:(0,_util.warn)("getRenderingIntent - invalid annotationMode: ".concat(t))}return r&&(n+=_util.RenderingIntentFlag.OPLIST),{renderingIntent:n,cacheKey:"".concat(n,"_").concat(o)}}},{key:"destroy",value:function(){var e=this;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"));var t,r=[],n=_createForOfIteratorHelper(_classPrivateFieldGet(this,_pageCache).values());try{for(n.s();!(t=n.n()).done;){var o=t.value;r.push(o._destroy())}}catch(e){n.e(e)}finally{n.f()}_classPrivateFieldGet(this,_pageCache).clear(),_classPrivateFieldGet(this,_pagePromises).clear(),this.hasOwnProperty("annotationStorage")&&this.annotationStorage.resetModified();var a=this.messageHandler.sendWithPromise("Terminate",null);return r.push(a),Promise.all(r).then((function(){e.commonObjs.clear(),e.fontLoader.clear(),_classPrivateFieldSet(e,_metadataPromise,null),e._getFieldObjectsPromise=null,e._hasJSActionsPromise=null,e._networkStream&&e._networkStream.cancelAllRequests(new _util.AbortException("Worker was terminated.")),e.messageHandler&&(e.messageHandler.destroy(),e.messageHandler=null),e.destroyCapability.resolve()}),this.destroyCapability.reject),this.destroyCapability.promise}},{key:"setupMessageHandler",value:function(){var e=this,t=this.messageHandler,r=this.loadingTask;t.on("GetReader",(function(t,r){(0,_util.assert)(e._networkStream,"GetReader - no `IPDFStream` instance available."),e._fullReader=e._networkStream.getFullReader(),e._fullReader.onProgress=function(t){e._lastProgress={loaded:t.loaded,total:t.total}},r.onPull=function(){e._fullReader.read().then((function(e){var t=e.value;e.done?r.close():((0,_util.assert)((0,_util.isArrayBuffer)(t),"GetReader - expected an ArrayBuffer."),r.enqueue(new Uint8Array(t),1,[t]))})).catch((function(e){r.error(e)}))},r.onCancel=function(t){e._fullReader.cancel(t),r.ready.catch((function(t){if(!e.destroyed)throw t}))}})),t.on("ReaderHeadersReady",(function(t){var n=(0,_util.createPromiseCapability)(),o=e._fullReader;return o.headersReady.then((function(){var t;o.isStreamingSupported&&o.isRangeSupported||(e._lastProgress&&(null===(t=r.onProgress)||void 0===t||t.call(r,e._lastProgress)),o.onProgress=function(e){var t;null===(t=r.onProgress)||void 0===t||t.call(r,{loaded:e.loaded,total:e.total})}),n.resolve({isStreamingSupported:o.isStreamingSupported,isRangeSupported:o.isRangeSupported,contentLength:o.contentLength})}),n.reject),n.promise})),t.on("GetRangeReader",(function(t,r){(0,_util.assert)(e._networkStream,"GetRangeReader - no `IPDFStream` instance available.");var n=e._networkStream.getRangeReader(t.begin,t.end);n?(r.onPull=function(){n.read().then((function(e){var t=e.value;e.done?r.close():((0,_util.assert)((0,_util.isArrayBuffer)(t),"GetRangeReader - expected an ArrayBuffer."),r.enqueue(new Uint8Array(t),1,[t]))})).catch((function(e){r.error(e)}))},r.onCancel=function(t){n.cancel(t),r.ready.catch((function(t){if(!e.destroyed)throw t}))}):r.close()})),t.on("GetDoc",(function(t){var n=t.pdfInfo;e._numPages=n.numPages,e._htmlForXfa=n.htmlForXfa,delete n.htmlForXfa,r._capability.resolve(new PDFDocumentProxy(n,e))})),t.on("DocException",(function(e){var t;switch(e.name){case"PasswordException":t=new _util.PasswordException(e.message,e.code);break;case"InvalidPDFException":t=new _util.InvalidPDFException(e.message);break;case"MissingPDFException":t=new _util.MissingPDFException(e.message);break;case"UnexpectedResponseException":t=new _util.UnexpectedResponseException(e.message,e.status);break;case"UnknownErrorException":t=new _util.UnknownErrorException(e.message,e.details);break;default:(0,_util.unreachable)("DocException - expected a valid Error.")}r._capability.reject(t)})),t.on("PasswordRequest",(function(t){if(e._passwordCapability=(0,_util.createPromiseCapability)(),r.onPassword)try{r.onPassword((function(t){e._passwordCapability.resolve({password:t})}),t.code)}catch(t){e._passwordCapability.reject(t)}else e._passwordCapability.reject(new _util.PasswordException(t.message,t.code));return e._passwordCapability.promise})),t.on("DataLoaded",(function(t){var n;null===(n=r.onProgress)||void 0===n||n.call(r,{loaded:t.length,total:t.length}),e.downloadInfoCapability.resolve(t)})),t.on("StartRenderPage",(function(t){e.destroyed||_classPrivateFieldGet(e,_pageCache).get(t.pageIndex)._startRenderPage(t.transparency,t.cacheKey)})),t.on("commonobj",(function(r){var n,o=_slicedToArray(r,3),a=o[0],i=o[1],s=o[2];if(!e.destroyed&&!e.commonObjs.has(a))switch(i){case"Font":var u=e._params;if("error"in s){var l=s.error;(0,_util.warn)("Error during font loading: ".concat(l)),e.commonObjs.resolve(a,l);break}var c=null;u.pdfBug&&null!==(n=globalThis.FontInspector)&&void 0!==n&&n.enabled&&(c={registerFont:function(e,t){globalThis.FontInspector.fontAdded(e,t)}});var f=new _font_loader.FontFaceObject(s,{isEvalSupported:u.isEvalSupported,disableFontFace:u.disableFontFace,ignoreErrors:u.ignoreErrors,onUnsupportedFeature:e._onUnsupportedFeature.bind(e),fontRegistry:c});e.fontLoader.bind(f).catch((function(e){return t.sendWithPromise("FontFallback",{id:a})})).finally((function(){!u.fontExtraProperties&&f.data&&(f.data=null),e.commonObjs.resolve(a,f)}));break;case"FontPath":case"Image":e.commonObjs.resolve(a,s);break;default:throw new Error("Got unknown common object type ".concat(i))}})),t.on("obj",(function(t){var r,n=_slicedToArray(t,4),o=n[0],a=n[1],i=n[2],s=n[3];if(!e.destroyed){var u=_classPrivateFieldGet(e,_pageCache).get(a);if(!u.objs.has(o))switch(i){case"Image":u.objs.resolve(o,s),(null==s||null===(r=s.data)||void 0===r?void 0:r.length)>8e6&&(u.cleanupAfterRender=!0);break;case"Pattern":u.objs.resolve(o,s);break;default:throw new Error("Got unknown object type ".concat(i))}}})),t.on("DocProgress",(function(t){var n;e.destroyed||null===(n=r.onProgress)||void 0===n||n.call(r,{loaded:t.loaded,total:t.total})})),t.on("DocStats",(function(t){e.destroyed||_classPrivateFieldSet(e,_docStats,Object.freeze({streamTypes:Object.freeze(t.streamTypes),fontTypes:Object.freeze(t.fontTypes)}))})),t.on("UnsupportedFeature",this._onUnsupportedFeature.bind(this)),t.on("FetchBuiltInCMap",(function(t){return e.destroyed?Promise.reject(new Error("Worker was destroyed.")):e.CMapReaderFactory?e.CMapReaderFactory.fetch(t):Promise.reject(new Error("CMapReaderFactory not initialized, see the `useWorkerFetch` parameter."))})),t.on("FetchStandardFontData",(function(t){return e.destroyed?Promise.reject(new Error("Worker was destroyed.")):e.StandardFontDataFactory?e.StandardFontDataFactory.fetch(t):Promise.reject(new Error("StandardFontDataFactory not initialized, see the `useWorkerFetch` parameter."))}))}},{key:"_onUnsupportedFeature",value:function(e){var t,r,n=e.featureId;this.destroyed||null===(t=(r=this.loadingTask).onUnsupportedFeature)||void 0===t||t.call(r,n)}},{key:"getData",value:function(){return this.messageHandler.sendWithPromise("GetData",null)}},{key:"getPage",value:function(e){var t=this;if(!Number.isInteger(e)||e<=0||e>this._numPages)return Promise.reject(new Error("Invalid page request"));var r=e-1,n=_classPrivateFieldGet(this,_pagePromises).get(r);if(n)return n;var o=this.messageHandler.sendWithPromise("GetPage",{pageIndex:r}).then((function(e){if(t.destroyed)throw new Error("Transport destroyed");var n=new PDFPageProxy(r,e,t,t._params.ownerDocument,t._params.pdfBug);return _classPrivateFieldGet(t,_pageCache).set(r,n),n}));return _classPrivateFieldGet(this,_pagePromises).set(r,o),o}},{key:"getPageIndex",value:function(e){return this.messageHandler.sendWithPromise("GetPageIndex",{ref:e})}},{key:"getAnnotations",value:function(e,t){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:e,intent:t})}},{key:"saveDocument",value:function(){var e,t,r=this;return this.messageHandler.sendWithPromise("SaveDocument",{isPureXfa:!!this._htmlForXfa,numPages:this._numPages,annotationStorage:this.annotationStorage.serializable,filename:null!==(e=null===(t=this._fullReader)||void 0===t?void 0:t.filename)&&void 0!==e?e:null}).finally((function(){r.annotationStorage.resetModified()}))}},{key:"getFieldObjects",value:function(){return this._getFieldObjectsPromise||(this._getFieldObjectsPromise=this.messageHandler.sendWithPromise("GetFieldObjects",null))}},{key:"hasJSActions",value:function(){return this._hasJSActionsPromise||(this._hasJSActionsPromise=this.messageHandler.sendWithPromise("HasJSActions",null))}},{key:"getCalculationOrderIds",value:function(){return this.messageHandler.sendWithPromise("GetCalculationOrderIds",null)}},{key:"getDestinations",value:function(){return this.messageHandler.sendWithPromise("GetDestinations",null)}},{key:"getDestination",value:function(e){return"string"!=typeof e?Promise.reject(new Error("Invalid destination request.")):this.messageHandler.sendWithPromise("GetDestination",{id:e})}},{key:"getPageLabels",value:function(){return this.messageHandler.sendWithPromise("GetPageLabels",null)}},{key:"getPageLayout",value:function(){return this.messageHandler.sendWithPromise("GetPageLayout",null)}},{key:"getPageMode",value:function(){return this.messageHandler.sendWithPromise("GetPageMode",null)}},{key:"getViewerPreferences",value:function(){return this.messageHandler.sendWithPromise("GetViewerPreferences",null)}},{key:"getOpenAction",value:function(){return this.messageHandler.sendWithPromise("GetOpenAction",null)}},{key:"getAttachments",value:function(){return this.messageHandler.sendWithPromise("GetAttachments",null)}},{key:"getJavaScript",value:function(){return this.messageHandler.sendWithPromise("GetJavaScript",null)}},{key:"getDocJSActions",value:function(){return this.messageHandler.sendWithPromise("GetDocJSActions",null)}},{key:"getPageJSActions",value:function(e){return this.messageHandler.sendWithPromise("GetPageJSActions",{pageIndex:e})}},{key:"getStructTree",value:function(e){return this.messageHandler.sendWithPromise("GetStructTree",{pageIndex:e})}},{key:"getOutline",value:function(){return this.messageHandler.sendWithPromise("GetOutline",null)}},{key:"getOptionalContentConfig",value:function(){return this.messageHandler.sendWithPromise("GetOptionalContentConfig",null).then((function(e){return new _optional_content_config.OptionalContentConfig(e)}))}},{key:"getPermissions",value:function(){return this.messageHandler.sendWithPromise("GetPermissions",null)}},{key:"getMetadata",value:function(){var e=this;return _classPrivateFieldGet(this,_metadataPromise)||_classPrivateFieldSet(this,_metadataPromise,this.messageHandler.sendWithPromise("GetMetadata",null).then((function(t){var r,n,o,a;return{info:t[0],metadata:t[1]?new _metadata.Metadata(t[1]):null,contentDispositionFilename:null!==(r=null===(n=e._fullReader)||void 0===n?void 0:n.filename)&&void 0!==r?r:null,contentLength:null!==(o=null===(a=e._fullReader)||void 0===a?void 0:a.contentLength)&&void 0!==o?o:null}})))}},{key:"getMarkInfo",value:function(){return this.messageHandler.sendWithPromise("GetMarkInfo",null)}},{key:"startCleanup",value:(t=_asyncToGenerator(_regenerator.default.mark((function e(){var t,r,n,o,a=arguments;return _regenerator.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]&&a[0],e.next=3,this.messageHandler.sendWithPromise("Cleanup",null);case 3:if(!this.destroyed){e.next=5;break}return e.abrupt("return");case 5:r=_createForOfIteratorHelper(_classPrivateFieldGet(this,_pageCache).values()),e.prev=6,r.s();case 8:if((n=r.n()).done){e.next=15;break}if((o=n.value).cleanup()){e.next=13;break}throw new Error("startCleanup: Page ".concat(o.pageNumber," is currently rendering."));case 13:e.next=8;break;case 15:e.next=20;break;case 17:e.prev=17,e.t0=e.catch(6),r.e(e.t0);case 20:return e.prev=20,r.f(),e.finish(20);case 23:this.commonObjs.clear(),t||this.fontLoader.clear(),_classPrivateFieldSet(this,_metadataPromise,null),this._getFieldObjectsPromise=null,this._hasJSActionsPromise=null;case 28:case"end":return e.stop()}}),e,this,[[6,17,20,23]])}))),function(){return t.apply(this,arguments)})},{key:"loadingParams",get:function(){var e=this._params;return(0,_util.shadow)(this,"loadingParams",{disableAutoFetch:e.disableAutoFetch,enableXfa:e.enableXfa})}}]),e}(),PDFObjects=function(){function e(){_classCallCheck(this,e),this._objs=Object.create(null)}return _createClass(e,[{key:"_ensureObj",value:function(e){return this._objs[e]?this._objs[e]:this._objs[e]={capability:(0,_util.createPromiseCapability)(),data:null,resolved:!1}}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(t)return this._ensureObj(e).capability.promise.then(t),null;var r=this._objs[e];if(!r||!r.resolved)throw new Error("Requesting object that isn't resolved yet ".concat(e,"."));return r.data}},{key:"has",value:function(e){var t=this._objs[e];return(null==t?void 0:t.resolved)||!1}},{key:"resolve",value:function(e,t){var r=this._ensureObj(e);r.resolved=!0,r.data=t,r.capability.resolve(t)}},{key:"clear",value:function(){this._objs=Object.create(null)}}]),e}(),RenderTask=function(){function e(t){_classCallCheck(this,e),this._internalRenderTask=t,this.onContinue=null}return _createClass(e,[{key:"promise",get:function(){return this._internalRenderTask.capability.promise}},{key:"cancel",value:function(){this._internalRenderTask.cancel()}}]),e}();exports.RenderTask=RenderTask;var InternalRenderTask=function(){function e(t){var r=t.callback,n=t.params,o=t.objs,a=t.commonObjs,i=t.annotationCanvasMap,s=t.operatorList,u=t.pageIndex,l=t.canvasFactory,c=t.useRequestAnimationFrame,f=void 0!==c&&c,d=t.pdfBug,p=void 0!==d&&d;_classCallCheck(this,e),this.callback=r,this.params=n,this.objs=o,this.commonObjs=a,this.annotationCanvasMap=i,this.operatorListIdx=null,this.operatorList=s,this._pageIndex=u,this.canvasFactory=l,this._pdfBug=p,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this._useRequestAnimationFrame=!0===f&&"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=n.canvasContext.canvas}var t;return _createClass(e,[{key:"completed",get:function(){return this.capability.promise.catch((function(){}))}},{key:"initializeGraphics",value:function(t){var r,n=t.transparency,o=void 0!==n&&n,a=t.optionalContentConfig;if(!this.cancelled){if(this._canvas){if(e.canvasInUse.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.canvasInUse.add(this._canvas)}this._pdfBug&&null!==(r=globalThis.StepperManager)&&void 0!==r&&r.enabled&&(this.stepper=globalThis.StepperManager.create(this._pageIndex),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());var i=this.params,s=i.canvasContext,u=i.viewport,l=i.transform,c=i.imageLayer,f=i.background;this.gfx=new _canvas.CanvasGraphics(s,this.commonObjs,this.objs,this.canvasFactory,c,a,this.annotationCanvasMap),this.gfx.beginDrawing({transform:l,viewport:u,transparency:o,background:f}),this.operatorListIdx=0,this.graphicsReady=!0,this.graphicsReadyCallback&&this.graphicsReadyCallback()}}},{key:"cancel",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.running=!1,this.cancelled=!0,this.gfx&&this.gfx.endDrawing(),this._canvas&&e.canvasInUse.delete(this._canvas),this.callback(t||new _display_utils.RenderingCancelledException("Rendering cancelled, page ".concat(this._pageIndex+1),"canvas"))}},{key:"operatorListChanged",value:function(){this.graphicsReady?(this.stepper&&this.stepper.updateOperatorList(this.operatorList),this.running||this._continue()):this.graphicsReadyCallback||(this.graphicsReadyCallback=this._continueBound)}},{key:"_continue",value:function(){this.running=!0,this.cancelled||(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())}},{key:"_scheduleNext",value:function(){var e=this;this._useRequestAnimationFrame?window.requestAnimationFrame((function(){e._nextBound().catch(e._cancelBound)})):Promise.resolve().then(this._nextBound).catch(this._cancelBound)}},{key:"_next",value:(t=_asyncToGenerator(_regenerator.default.mark((function t(){return _regenerator.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.cancelled){t.next=2;break}return t.abrupt("return");case 2: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.canvasInUse.delete(this._canvas),this.callback()));case 4:case"end":return t.stop()}}),t,this)}))),function(){return t.apply(this,arguments)})}],[{key:"canvasInUse",get:function(){return(0,_util.shadow)(this,"canvasInUse",new WeakSet)}}]),e}(),version="2.12.313";exports.version=version;var build="a2ae56f39";exports.build=build},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.FontLoader=t.FontFaceObject=void 0;var o,a=(o=r(2))&&o.__esModule?o:{default:o},i=r(4);function s(e,t){return s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},s(e,t)}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}function l(e,t,r,n,o,a,i){try{var s=e[a](i),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}function c(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){s=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw a}}}}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h(e,t,r){return t&&p(e.prototype,t),r&&p(e,r),e}var v,m=function(){function e(t){var r=t.docId,n=t.onUnsupportedFeature,o=t.ownerDocument,a=void 0===o?globalThis.document:o;t.styleElement,d(this,e),this.constructor===e&&(0,i.unreachable)("Cannot initialize BaseFontLoader."),this.docId=r,this._onUnsupportedFeature=n,this._document=a,this.nativeFontFaces=[],this.styleElement=null}var t,r;return h(e,[{key:"addNativeFontFace",value:function(e){this.nativeFontFaces.push(e),this._document.fonts.add(e)}},{key:"insertRule",value:function(e){var t=this.styleElement;t||((t=this.styleElement=this._document.createElement("style")).id="PDFJS_FONT_STYLE_TAG_".concat(this.docId),this._document.documentElement.getElementsByTagName("head")[0].appendChild(t));var r=t.sheet;r.insertRule(e,r.cssRules.length)}},{key:"clear",value:function(){var e,t=c(this.nativeFontFaces);try{for(t.s();!(e=t.n()).done;){var r=e.value;this._document.fonts.delete(r)}}catch(e){t.e(e)}finally{t.f()}this.nativeFontFaces.length=0,this.styleElement&&(this.styleElement.remove(),this.styleElement=null)}},{key:"bind",value:(t=a.default.mark((function e(t){var r,n,o=this;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.attached&&!t.missingFile){e.next=2;break}return e.abrupt("return");case 2:if(t.attached=!0,!this.isFontLoadingAPISupported){e.next=19;break}if(!(r=t.createNativeFontFace())){e.next=18;break}return this.addNativeFontFace(r),e.prev=7,e.next=10,r.loaded;case 10:e.next=18;break;case 12:throw e.prev=12,e.t0=e.catch(7),this._onUnsupportedFeature({featureId:i.UNSUPPORTED_FEATURES.errorFontLoadNative}),(0,i.warn)("Failed to load font '".concat(r.family,"': '").concat(e.t0,"'.")),t.disableFontFace=!0,e.t0;case 18:return e.abrupt("return");case 19:if(!(n=t.createFontFaceRule())){e.next=26;break}if(this.insertRule(n),!this.isSyncFontLoadingSupported){e.next=24;break}return e.abrupt("return");case 24:return e.next=26,new Promise((function(e){var r=o._queueLoadingCallback(e);o._prepareFontLoadEvent([n],[t],r)}));case 26:case"end":return e.stop()}}),e,this,[[7,12]])})),r=function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(e){l(a,n,o,i,s,"next",e)}function s(e){l(a,n,o,i,s,"throw",e)}i(void 0)}))},function(e){return r.apply(this,arguments)})},{key:"_queueLoadingCallback",value:function(e){(0,i.unreachable)("Abstract method `_queueLoadingCallback`.")}},{key:"isFontLoadingAPISupported",get:function(){var e,t=!(null===(e=this._document)||void 0===e||!e.fonts);return(0,i.shadow)(this,"isFontLoadingAPISupported",t)}},{key:"isSyncFontLoadingSupported",get:function(){(0,i.unreachable)("Abstract method `isSyncFontLoadingSupported`.")}},{key:"_loadTestFont",get:function(){(0,i.unreachable)("Abstract method `_loadTestFont`.")}},{key:"_prepareFontLoadEvent",value:function(e,t,r){(0,i.unreachable)("Abstract method `_prepareFontLoadEvent`.")}}]),e}();t.FontLoader=v,t.FontLoader=v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(a,e);var t,r,o=(t=a,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=u(t);if(r){var a=u(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return function(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function a(e){var t;return d(this,a),(t=o.call(this,e)).loadingContext={requests:[],nextRequestId:0},t.loadTestFontId=0,t}return h(a,[{key:"isSyncFontLoadingSupported",get:function(){var e=!1;if("undefined"==typeof navigator)e=!0;else{var t=/Mozilla\/5.0.*?rv:(\d+).*? Gecko/.exec(navigator.userAgent);(null==t?void 0:t[1])>=14&&(e=!0)}return(0,i.shadow)(this,"isSyncFontLoadingSupported",e)}},{key:"_queueLoadingCallback",value:function(e){var t=this.loadingContext,r={id:"pdfjs-font-loading-".concat(t.nextRequestId++),done:!1,complete:function(){for((0,i.assert)(!r.done,"completeRequest() cannot be called twice."),r.done=!0;t.requests.length>0&&t.requests[0].done;){var e=t.requests.shift();setTimeout(e.callback,0)}},callback:e};return t.requests.push(r),r}},{key:"_loadTestFont",get:function(){return(0,i.shadow)(this,"_loadTestFont",atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA=="))}},{key:"_prepareFontLoadEvent",value:function(e,t,r){function n(e,t){return e.charCodeAt(t)<<24|e.charCodeAt(t+1)<<16|e.charCodeAt(t+2)<<8|255&e.charCodeAt(t+3)}function o(e,t,r,n){return e.substring(0,t)+n+e.substring(t+r)}var a,s,u=this._document.createElement("canvas");u.width=1,u.height=1;var l=u.getContext("2d"),f=0,d="lt".concat(Date.now()).concat(this.loadTestFontId++),p=this._loadTestFont,h=1482184792,v=n(p=o(p,976,d.length,d),16);for(a=0,s=d.length-3;a<s;a+=4)v=v-h+n(d,a)|0;a<d.length&&(v=v-h+n(d+"XXX",a)|0),p=o(p,16,4,(0,i.string32)(v));var m="url(data:font/opentype;base64,".concat(btoa(p),");"),g='@font-face {font-family:"'.concat(d,'";src:').concat(m,"}");this.insertRule(g);var y,b=[],w=c(t);try{for(w.s();!(y=w.n()).done;){var _=y.value;b.push(_.loadedName)}}catch(e){w.e(e)}finally{w.f()}b.push(d);var A=this._document.createElement("div");A.style.visibility="hidden",A.style.width=A.style.height="10px",A.style.position="absolute",A.style.top=A.style.left="0px";for(var S=0,k=b;S<k.length;S++){var x=k[S],C=this._document.createElement("span");C.textContent="Hi",C.style.fontFamily=x,A.appendChild(C)}this._document.body.appendChild(A),function e(t,r){if(++f>30)return(0,i.warn)("Load test font never loaded."),void r();l.font="30px "+t,l.fillText(".",0,20),l.getImageData(0,0,1,1).data[3]>0?r():setTimeout(e.bind(null,t,r))}(d,(function(){A.remove(),r.complete()}))}}]),a}(m);var g=function(){function e(t,r){var n=r.isEvalSupported,o=void 0===n||n,a=r.disableFontFace,i=void 0!==a&&a,s=r.ignoreErrors,u=void 0!==s&&s,l=r.onUnsupportedFeature,c=r.fontRegistry,f=void 0===c?null:c;for(var p in d(this,e),this.compiledGlyphs=Object.create(null),t)this[p]=t[p];this.isEvalSupported=!1!==o,this.disableFontFace=!0===i,this.ignoreErrors=!0===u,this._onUnsupportedFeature=l,this.fontRegistry=f}return h(e,[{key:"createNativeFontFace",value:function(){if(!this.data||this.disableFontFace)return null;var e;if(this.cssFontInfo){var t={weight:this.cssFontInfo.fontWeight};this.cssFontInfo.italicAngle&&(t.style="oblique ".concat(this.cssFontInfo.italicAngle,"deg")),e=new FontFace(this.cssFontInfo.fontFamily,this.data,t)}else e=new FontFace(this.loadedName,this.data,{});return this.fontRegistry&&this.fontRegistry.registerFont(this),e}},{key:"createFontFaceRule",value:function(){if(!this.data||this.disableFontFace)return null;var e,t=(0,i.bytesToString)(this.data),r="url(data:".concat(this.mimetype,";base64,").concat(btoa(t),");");if(this.cssFontInfo){var n="font-weight: ".concat(this.cssFontInfo.fontWeight,";");this.cssFontInfo.italicAngle&&(n+="font-style: oblique ".concat(this.cssFontInfo.italicAngle,"deg;")),e='@font-face {font-family:"'.concat(this.cssFontInfo.fontFamily,'";').concat(n,"src:").concat(r,"}")}else e='@font-face {font-family:"'.concat(this.loadedName,'";src:').concat(r,"}");return this.fontRegistry&&this.fontRegistry.registerFont(this,r),e}},{key:"getPathGenerator",value:function(e,t){if(void 0!==this.compiledGlyphs[t])return this.compiledGlyphs[t];var r;try{r=e.get(this.loadedName+"_path_"+t)}catch(e){if(!this.ignoreErrors)throw e;return this._onUnsupportedFeature({featureId:i.UNSUPPORTED_FEATURES.errorFontGetPath}),(0,i.warn)('getPathGenerator - ignoring character: "'.concat(e,'".')),this.compiledGlyphs[t]=function(e,t){}}if(this.isEvalSupported&&i.IsEvalSupportedCached.value){var n,o=[],a=c(r);try{for(a.s();!(n=a.n()).done;){var s=n.value,u=void 0!==s.args?s.args.join(","):"";o.push("c.",s.cmd,"(",u,");\n")}}catch(e){a.e(e)}finally{a.f()}return this.compiledGlyphs[t]=new Function("c","size",o.join(""))}return this.compiledGlyphs[t]=function(e,t){var n,o=c(r);try{for(o.s();!(n=o.n()).done;){var a=n.value;"scale"===a.cmd&&(a.args=[t,-t]),e[a.cmd].apply(e,a.args)}}catch(e){o.e(e)}finally{o.f()}}}}]),e}();t.FontFaceObject=g},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.NodeStandardFontDataFactory=t.NodeCanvasFactory=t.NodeCMapReaderFactory=void 0;var o=r(135),a=r(6),i=r(4);function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function u(e,t,r){return t&&s(e.prototype,t),r&&s(e,r),e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,o=d(e);if(t){var a=d(this).constructor;r=Reflect.construct(o,arguments,a)}else r=o.apply(this,arguments);return function(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,r)}}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var h=function e(){p(this,e),(0,i.unreachable)("Not implemented: NodeCanvasFactory")};t.NodeCanvasFactory=h;var v=function e(){p(this,e),(0,i.unreachable)("Not implemented: NodeCMapReaderFactory")};t.NodeCMapReaderFactory=v;var m=function e(){p(this,e),(0,i.unreachable)("Not implemented: NodeStandardFontDataFactory")};if(t.NodeStandardFontDataFactory=m,a.isNodeJS){var g=function(e){return new Promise((function(t,r){__webpack_require__(8348).readFile(e,(function(e,n){!e&&n?t(new Uint8Array(n)):r(new Error(e))}))}))};t.NodeCanvasFactory=h=function(e){l(r,e);var t=f(r);function r(){return p(this,r),t.apply(this,arguments)}return u(r,[{key:"_createCanvas",value:function(e,t){return __webpack_require__(3101).createCanvas(e,t)}}]),r}(o.BaseCanvasFactory),t.NodeCMapReaderFactory=v=function(e){l(r,e);var t=f(r);function r(){return p(this,r),t.apply(this,arguments)}return u(r,[{key:"_fetchData",value:function(e,t){return g(e).then((function(e){return{cMapData:e,compressionType:t}}))}}]),r}(o.BaseCMapReaderFactory),t.NodeStandardFontDataFactory=m=function(e){l(r,e);var t=f(r);function r(){return p(this,r),t.apply(this,arguments)}return u(r,[{key:"_fetchData",value:function(e){return g(e)}}]),r}(o.BaseStandardFontDataFactory)}},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AnnotationStorage=void 0;var n=r(4);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._storage=new Map,this._timeStamp=Date.now(),this._modified=!1,this.onSetModified=null,this.onResetModified=null}var t,r;return t=e,(r=[{key:"getValue",value:function(e,t){var r=this._storage.get(e);return void 0===r?t:Object.assign(t,r)}},{key:"setValue",value:function(e,t){var r,n,a=this._storage.get(e),i=!1;if(void 0!==a)for(var s=0,u=Object.entries(t);s<u.length;s++){var l=(r=u[s],n=2,function(e){if(Array.isArray(e))return e}(r)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],i=!0,s=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{i||null==r.return||r.return()}finally{if(s)throw o}}return a}}(r,n)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0}}(r,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),c=l[0],f=l[1];a[c]!==f&&(i=!0,a[c]=f)}else i=!0,this._storage.set(e,t);i&&(this._timeStamp=Date.now(),this._setModified())}},{key:"getAll",value:function(){return this._storage.size>0?(0,n.objectFromMap)(this._storage):null}},{key:"size",get:function(){return this._storage.size}},{key:"_setModified",value:function(){this._modified||(this._modified=!0,"function"==typeof this.onSetModified&&this.onSetModified())}},{key:"resetModified",value:function(){this._modified&&(this._modified=!1,"function"==typeof this.onResetModified&&this.onResetModified())}},{key:"serializable",get:function(){return this._storage.size>0?this._storage:null}},{key:"lastModified",get:function(){return this._timeStamp.toString()}}])&&a(t.prototype,r),e}();t.AnnotationStorage=i},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CanvasGraphics=void 0;var n=r(4),o=r(141),a=r(1);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function s(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=d(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){s=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw a}}}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c(e,t,r){return t&&l(e.prototype,t),r&&l(e,r),e}function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],i=!0,s=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{i||null==r.return||r.return()}finally{if(s)throw o}}return a}}(e,t)||d(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){if(e){if("string"==typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?p(e,t):void 0}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var h=4096,v=16;function m(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{var 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(){var e=f(this._transformMatrix,6),t=e[0],r=e[1],n=e[2],o=e[3],a=e[4],i=e[5],s=t*o-r*n,u=r*n-t*o;return[o/s,r/u,n/u,t/s,(o*a-n*i)/u,(r*a-t*i)/s]}}),e.save=function(){var e=this._transformMatrix;this._transformStack.push(e),this._transformMatrix=e.slice(0,6),this._originalSave()},e.restore=function(){var e=this._transformStack.pop();e&&(this._transformMatrix=e,this._originalRestore())},e.translate=function(e,t){var r=this._transformMatrix;r[4]=r[0]*e+r[2]*t+r[4],r[5]=r[1]*e+r[3]*t+r[5],this._originalTranslate(e,t)},e.scale=function(e,t){var r=this._transformMatrix;r[0]*=e,r[1]*=e,r[2]*=t,r[3]*=t,this._originalScale(e,t)},e.transform=function(t,r,n,o,a,i){var s=this._transformMatrix;this._transformMatrix=[s[0]*t+s[2]*r,s[1]*t+s[3]*r,s[0]*n+s[2]*o,s[1]*n+s[3]*o,s[0]*a+s[2]*i+s[4],s[1]*a+s[3]*i+s[5]],e._originalTransform(t,r,n,o,a,i)},e.setTransform=function(t,r,n,o,a,i){this._transformMatrix=[t,r,n,o,a,i],e._originalSetTransform(t,r,n,o,a,i)},e.resetTransform=function(){this._transformMatrix=[1,0,0,1,0,0],e._originalResetTransform()},e.rotate=function(e){var t=Math.cos(e),r=Math.sin(e),n=this._transformMatrix;this._transformMatrix=[n[0]*t+n[2]*r,n[1]*t+n[3]*r,n[0]*-r+n[2]*t,n[1]*-r+n[3]*t,n[4],n[5]],this._originalRotate(e)}}}var g=function(){function e(t){u(this,e),this.canvasFactory=t,this.cache=Object.create(null)}return c(e,[{key:"getCanvas",value:function(e,t,r,n){var o;return void 0!==this.cache[e]?(o=this.cache[e],this.canvasFactory.reset(o,t,r),o.context.setTransform(1,0,0,1,0,0)):(o=this.canvasFactory.create(t,r),this.cache[e]=o),n&&m(o.context),o}},{key:"clear",value:function(){for(var e in this.cache){var t=this.cache[e];this.canvasFactory.destroy(t),delete this.cache[e]}}}]),e}(),y=function(){function e(t,r){u(this,e),this.alphaIsShape=!1,this.fontSize=0,this.fontSizeScale=1,this.textMatrix=n.IDENTITY_MATRIX,this.textMatrixScale=1,this.fontMatrix=n.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=n.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.transferMaps=null,this.startNewPathAndClipBox([0,0,t,r])}return c(e,[{key:"clone",value:function(){var e=Object.create(this);return e.clipBox=this.clipBox.slice(),e}},{key:"setCurrentPoint",value:function(e,t){this.x=e,this.y=t}},{key:"updatePathMinMax",value:function(e,t,r){var o=f(n.Util.applyTransform([t,r],e),2);t=o[0],r=o[1],this.minX=Math.min(this.minX,t),this.minY=Math.min(this.minY,r),this.maxX=Math.max(this.maxX,t),this.maxY=Math.max(this.maxY,r)}},{key:"updateCurvePathMinMax",value:function(e,t,r,o,a,i,s,u,l){var c=n.Util.bezierBoundingBox(t,r,o,a,i,s,u,l);this.updatePathMinMax(e,c[0],c[1]),this.updatePathMinMax(e,c[2],c[3])}},{key:"getPathBoundingBox",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.PathType.FILL,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=[this.minX,this.minY,this.maxX,this.maxY];if(e===o.PathType.STROKE){t||(0,n.unreachable)("Stroke bounding box must include transform.");var a=n.Util.singularValueDecompose2dScale(t),i=a[0]*this.lineWidth/2,s=a[1]*this.lineWidth/2;r[0]-=i,r[1]-=s,r[2]+=i,r[3]+=s}return r}},{key:"updateClipFromPath",value:function(){var e=n.Util.intersect(this.clipBox,this.getPathBoundingBox());this.startNewPathAndClipBox(e||[0,0,0,0])}},{key:"startNewPathAndClipBox",value:function(e){this.clipBox=e,this.minX=1/0,this.minY=1/0,this.maxX=0,this.maxY=0}},{key:"getClippedPathBoundingBox",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.PathType.FILL,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return n.Util.intersect(this.clipBox,this.getPathBoundingBox(e,t))}}]),e}();function b(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if("undefined"!=typeof ImageData&&t instanceof ImageData)e.putImageData(t,0,0);else{var o,a,i,s,u,l,c,f,d,p=t.height,h=t.width,m=p%v,g=(p-m)/v,y=0===m?g:g+1,b=e.createImageData(h,v),w=0,_=t.data,A=b.data;if(r)switch(r.length){case 1:l=r[0],c=r[0],f=r[0],d=r[0];break;case 4:l=r[0],c=r[1],f=r[2],d=r[3]}if(t.kind===n.ImageKind.GRAYSCALE_1BPP){var S=_.byteLength,k=new Uint32Array(A.buffer,0,A.byteLength>>2),x=k.length,C=h+7>>3,P=4294967295,E=n.IsLittleEndianCached.value?4278190080:255;if(d&&255===d[0]&&0===d[255]){var T=[E,P];P=T[0],E=T[1]}for(a=0;a<y;a++){for(s=a<g?v:m,o=0,i=0;i<s;i++){for(var R=S-w,O=0,F=R>C?h:8*R-7,L=-8&F,D=0,M=0;O<L;O+=8)M=_[w++],k[o++]=128&M?P:E,k[o++]=64&M?P:E,k[o++]=32&M?P:E,k[o++]=16&M?P:E,k[o++]=8&M?P:E,k[o++]=4&M?P:E,k[o++]=2&M?P:E,k[o++]=1&M?P:E;for(;O<F;O++)0===D&&(M=_[w++],D=128),k[o++]=M&D?P:E,D>>=1}for(;o<x;)k[o++]=0;e.putImageData(b,0,a*v)}}else if(t.kind===n.ImageKind.RGBA_32BPP){var I=!!(l||c||f);for(i=0,u=h*v*4,a=0;a<g;a++){if(A.set(_.subarray(w,w+u)),w+=u,I)for(var j=0;j<u;j+=4)l&&(A[j+0]=l[A[j+0]]),c&&(A[j+1]=c[A[j+1]]),f&&(A[j+2]=f[A[j+2]]);e.putImageData(b,0,i),i+=v}if(a<y){if(u=h*m*4,A.set(_.subarray(w,w+u)),I)for(var N=0;N<u;N+=4)l&&(A[N+0]=l[A[N+0]]),c&&(A[N+1]=c[A[N+1]]),f&&(A[N+2]=f[A[N+2]]);e.putImageData(b,0,i)}}else{if(t.kind!==n.ImageKind.RGB_24BPP)throw new Error("bad image kind: ".concat(t.kind));var q=!!(l||c||f);for(u=h*(s=v),a=0;a<y;a++){for(a>=g&&(u=h*(s=m)),o=0,i=u;i--;)A[o++]=_[w++],A[o++]=_[w++],A[o++]=_[w++],A[o++]=255;if(q)for(var B=0;B<o;B+=4)l&&(A[B+0]=l[A[B+0]]),c&&(A[B+1]=c[A[B+1]]),f&&(A[B+2]=f[A[B+2]]);e.putImageData(b,0,a*v)}}}}function w(e,t){for(var r=t.height,n=t.width,o=r%v,a=(r-o)/v,i=0===o?a:a+1,s=e.createImageData(n,v),u=0,l=t.data,c=s.data,f=0;f<i;f++){for(var d=f<a?v:o,p=3,h=0;h<d;h++)for(var m=void 0,g=0,y=0;y<n;y++)g||(m=l[u++],g=128),c[p]=m&g?0:255,p+=4,g>>=1;e.putImageData(s,0,f*v)}}function _(e,t){for(var r=["strokeStyle","fillStyle","fillRule","globalAlpha","lineWidth","lineCap","lineJoin","miterLimit","globalCompositeOperation","font"],n=0,o=r.length;n<o;n++){var a=r[n];void 0!==e[a]&&(t[a]=e[a])}void 0!==e.setLineDash&&(t.setLineDash(e.getLineDash()),t.lineDashOffset=e.lineDashOffset)}function A(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 S(e,t,r,n){for(var o=e.length,a=3;a<o;a+=4){var i=e[a];if(0===i)e[a-3]=t,e[a-2]=r,e[a-1]=n;else if(i<255){var s=255-i;e[a-3]=e[a-3]*i+t*s>>8,e[a-2]=e[a-2]*i+r*s>>8,e[a-1]=e[a-1]*i+n*s>>8}}}function k(e,t,r){for(var n=e.length,o=1/255,a=3;a<n;a+=4){var i=r?r[e[a]]:e[a];t[a]=t[a]*i*o|0}}function x(e,t,r){for(var n=e.length,o=3;o<n;o+=4){var a=77*e[o-3]+152*e[o-2]+28*e[o-1];t[o]=r?t[o]*r[a>>8]>>8:t[o]*a>>16}}function C(e,t){var r=n.Util.singularValueDecompose2dScale(e);r[0]=Math.fround(r[0]),r[1]=Math.fround(r[1]);var o=Math.fround((globalThis.devicePixelRatio||1)*a.PixelsPerInch.PDF_TO_CSS_UNITS);return void 0!==t?t:r[0]<=o||r[1]<=o}var P=["butt","round","square"],E=["miter","round","bevel"],T={},R={},O=function(){function e(t,r,n,o,a,i,s){u(this,e),this.ctx=t,this.current=new y(this.ctx.canvas.width,this.ctx.canvas.height),this.stateStack=[],this.pendingClip=null,this.pendingEOFill=!1,this.res=null,this.xobjs=null,this.commonObjs=r,this.objs=n,this.canvasFactory=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.suspendedCtx=null,this.contentVisible=!0,this.markedContentStack=[],this.optionalContentConfig=i,this.cachedCanvases=new g(this.canvasFactory),this.cachedPatterns=new Map,this.annotationCanvasMap=s,this.viewportScale=1,this.outputScaleX=1,this.outputScaleY=1,t&&m(t),this._cachedGetSinglePixelWidth=null}return c(e,[{key:"beginDrawing",value:function(e){var t=e.transform,r=e.viewport,n=e.transparency,o=void 0!==n&&n,a=e.background,i=void 0===a?null:a,s=this.ctx.canvas.width,u=this.ctx.canvas.height;if(this.ctx.save(),this.ctx.fillStyle=i||"rgb(255, 255, 255)",this.ctx.fillRect(0,0,s,u),this.ctx.restore(),o){var l=this.cachedCanvases.getCanvas("transparent",s,u,!0);this.compositeCtx=this.ctx,this.transparentCanvas=l.canvas,this.ctx=l.context,this.ctx.save(),this.ctx.transform.apply(this.ctx,this.compositeCtx.mozCurrentTransform)}this.ctx.save(),A(this.ctx),t&&(this.ctx.transform.apply(this.ctx,t),this.outputScaleX=t[0],this.outputScaleY=t[0]),this.ctx.transform.apply(this.ctx,r.transform),this.viewportScale=r.scale,this.baseTransform=this.ctx.mozCurrentTransform.slice(),this._combinedScaleFactor=Math.hypot(this.baseTransform[0],this.baseTransform[2]),this.imageLayer&&this.imageLayer.beginLayout()}},{key:"executeOperatorList",value:function(e,t,r,o){var a=e.argsArray,i=e.fnArray,u=t||0,l=a.length;if(l===u)return u;for(var c,f=l-u>10&&"function"==typeof r,d=f?Date.now()+15:0,p=0,h=this.commonObjs,v=this.objs;;){if(void 0!==o&&u===o.nextBreakPoint)return o.breakIt(u,r),u;if((c=i[u])!==n.OPS.dependency)this[c].apply(this,a[u]);else{var m,g=s(a[u]);try{for(g.s();!(m=g.n()).done;){var y=m.value,b=y.startsWith("g_")?h:v;if(!b.has(y))return b.get(y,r),u}}catch(e){g.e(e)}finally{g.f()}}if(++u===l)return u;if(f&&++p>10){if(Date.now()>d)return r(),u;p=0}}}},{key:"endDrawing",value: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.cachedPatterns.clear(),this.imageLayer&&this.imageLayer.endLayout()}},{key:"_scaleImage",value:function(e,t){for(var r,n,o=e.width,a=e.height,i=Math.max(Math.hypot(t[0],t[1]),1),s=Math.max(Math.hypot(t[2],t[3]),1),u=o,l=a,c="prescale1";i>2&&u>1||s>2&&l>1;){var f=u,d=l;i>2&&u>1&&(i/=u/(f=Math.ceil(u/2))),s>2&&l>1&&(s/=l/(d=Math.ceil(l/2))),(n=(r=this.cachedCanvases.getCanvas(c,f,d)).context).clearRect(0,0,f,d),n.drawImage(e,0,0,u,l,0,0,f,d),e=r.canvas,u=f,l=d,c="prescale1"===c?"prescale2":"prescale1"}return{img:e,paintWidth:u,paintHeight:l}}},{key:"_createMaskCanvas",value:function(e){var t=this.ctx,r=e.width,a=e.height,i=this.current.fillColor,s=this.current.patternFill,u=this.cachedCanvases.getCanvas("maskCanvas",r,a);w(u.context,e);var l=t.mozCurrentTransform,c=n.Util.transform(l,[1/r,0,0,-1/a,0,0]);c=n.Util.transform(c,[1,0,0,1,0,-a]);var f=n.Util.applyTransform([0,0],c),d=n.Util.applyTransform([r,a],c),p=n.Util.normalizeRect([f[0],f[1],d[0],d[1]]),h=Math.ceil(p[2]-p[0]),v=Math.ceil(p[3]-p[1]),m=this.cachedCanvases.getCanvas("fillCanvas",h,v,!0),g=m.context,y=Math.min(f[0],d[0]),b=Math.min(f[1],d[1]);g.translate(-y,-b),g.transform.apply(g,c);var _=this._scaleImage(u.canvas,g.mozCurrentTransformInverse);g.imageSmoothingEnabled=C(g.mozCurrentTransform,e.interpolate),g.drawImage(_.img,0,0,_.img.width,_.img.height,0,0,r,a),g.globalCompositeOperation="source-in";var A=n.Util.transform(g.mozCurrentTransformInverse,[1,0,0,1,-y,-b]);return g.fillStyle=s?i.getPattern(t,this,A,o.PathType.FILL):i,g.fillRect(0,0,r,a),{canvas:m.canvas,offsetX:Math.round(y),offsetY:Math.round(b)}}},{key:"setLineWidth",value:function(e){this.current.lineWidth=e,this.ctx.lineWidth=e}},{key:"setLineCap",value:function(e){this.ctx.lineCap=P[e]}},{key:"setLineJoin",value:function(e){this.ctx.lineJoin=E[e]}},{key:"setMiterLimit",value:function(e){this.ctx.miterLimit=e}},{key:"setDash",value:function(e,t){var r=this.ctx;void 0!==r.setLineDash&&(r.setLineDash(e),r.lineDashOffset=t)}},{key:"setRenderingIntent",value:function(e){}},{key:"setFlatness",value:function(e){}},{key:"setGState",value:function(e){for(var t=0,r=e.length;t<r;t++){var n=e[t],o=n[0],a=n[1];switch(o){case"LW":this.setLineWidth(a);break;case"LC":this.setLineCap(a);break;case"LJ":this.setLineJoin(a);break;case"ML":this.setMiterLimit(a);break;case"D":this.setDash(a[0],a[1]);break;case"RI":this.setRenderingIntent(a);break;case"FL":this.setFlatness(a);break;case"Font":this.setFont(a[0],a[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=a;break;case"SMask":this.current.activeSMask=a?this.tempSMask:null,this.tempSMask=null,this.checkSMaskState();break;case"TR":this.current.transferMaps=a}}}},{key:"checkSMaskState",value:function(){var e=!!this.suspendedCtx;this.current.activeSMask&&!e?this.beginSMaskMode():!this.current.activeSMask&&e&&this.endSMaskMode()}},{key:"beginSMaskMode",value:function(){if(this.suspendedCtx)throw new Error("beginSMaskMode called while already in smask mode");var e=this.ctx.canvas.width,t=this.ctx.canvas.height,r="smaskGroupAt"+this.groupLevel,n=this.cachedCanvases.getCanvas(r,e,t,!0);this.suspendedCtx=this.ctx,this.ctx=n.context;var o=this.ctx;o.setTransform.apply(o,this.suspendedCtx.mozCurrentTransform),_(this.suspendedCtx,o),function(e,t){if(e._removeMirroring)throw new Error("Context is already forwarding operations.");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.__originalClip=e.clip,e.__originalMoveTo=e.moveTo,e.__originalLineTo=e.lineTo,e.__originalBezierCurveTo=e.bezierCurveTo,e.__originalRect=e.rect,e.__originalClosePath=e.closePath,e.__originalBeginPath=e.beginPath,e._removeMirroring=function(){e.save=e.__originalSave,e.restore=e.__originalRestore,e.rotate=e.__originalRotate,e.scale=e.__originalScale,e.translate=e.__originalTranslate,e.transform=e.__originalTransform,e.setTransform=e.__originalSetTransform,e.resetTransform=e.__originalResetTransform,e.clip=e.__originalClip,e.moveTo=e.__originalMoveTo,e.lineTo=e.__originalLineTo,e.bezierCurveTo=e.__originalBezierCurveTo,e.rect=e.__originalRect,e.closePath=e.__originalClosePath,e.beginPath=e.__originalBeginPath,delete e._removeMirroring},e.save=function(){t.save(),this.__originalSave()},e.restore=function(){t.restore(),this.__originalRestore()},e.translate=function(e,r){t.translate(e,r),this.__originalTranslate(e,r)},e.scale=function(e,r){t.scale(e,r),this.__originalScale(e,r)},e.transform=function(e,r,n,o,a,i){t.transform(e,r,n,o,a,i),this.__originalTransform(e,r,n,o,a,i)},e.setTransform=function(e,r,n,o,a,i){t.setTransform(e,r,n,o,a,i),this.__originalSetTransform(e,r,n,o,a,i)},e.resetTransform=function(){t.resetTransform(),this.__originalResetTransform()},e.rotate=function(e){t.rotate(e),this.__originalRotate(e)},e.clip=function(e){t.clip(e),this.__originalClip(e)},e.moveTo=function(e,r){t.moveTo(e,r),this.__originalMoveTo(e,r)},e.lineTo=function(e,r){t.lineTo(e,r),this.__originalLineTo(e,r)},e.bezierCurveTo=function(e,r,n,o,a,i){t.bezierCurveTo(e,r,n,o,a,i),this.__originalBezierCurveTo(e,r,n,o,a,i)},e.rect=function(e,r,n,o){t.rect(e,r,n,o),this.__originalRect(e,r,n,o)},e.closePath=function(){t.closePath(),this.__originalClosePath()},e.beginPath=function(){t.beginPath(),this.__originalBeginPath()}}(o,this.suspendedCtx),this.setGState([["BM","source-over"],["ca",1],["CA",1]])}},{key:"endSMaskMode",value:function(){if(!this.suspendedCtx)throw new Error("endSMaskMode called while not in smask mode");this.ctx._removeMirroring(),_(this.ctx,this.suspendedCtx),this.ctx=this.suspendedCtx,this.current.activeSMask=null,this.suspendedCtx=null}},{key:"compose",value:function(e){if(this.current.activeSMask){e?(e[0]=Math.floor(e[0]),e[1]=Math.floor(e[1]),e[2]=Math.ceil(e[2]),e[3]=Math.ceil(e[3])):e=[0,0,this.ctx.canvas.width,this.ctx.canvas.height];var t=this.current.activeSMask;(function(e,t,r,n){var o=n[0],a=n[1],i=n[2]-o,s=n[3]-a;0!==i&&0!==s&&(function(e,t,r,n,o,a,i,s,u,l,c){var f,d=!!a,p=d?a[0]:0,h=d?a[1]:0,v=d?a[2]:0;f="Luminosity"===o?x:k;for(var m=Math.min(n,Math.ceil(1048576/r)),g=0;g<n;g+=m){var y=Math.min(m,n-g),b=e.getImageData(s-l,g+(u-c),r,y),w=t.getImageData(s,g+u,r,y);d&&S(b.data,p,h,v),f(b.data,w.data,i),t.putImageData(w,s,g+u)}}(t.context,r,i,s,t.subtype,t.backdrop,t.transferMap,o,a,t.offsetX,t.offsetY),e.save(),e.globalAlpha=1,e.globalCompositeOperation="source-over",e.setTransform(1,0,0,1,0,0),e.drawImage(r.canvas,0,0),e.restore())})(this.suspendedCtx,t,this.ctx,e),this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.clearRect(0,0,this.ctx.canvas.width,this.ctx.canvas.height),this.ctx.restore()}}},{key:"save",value:function(){this.ctx.save();var e=this.current;this.stateStack.push(e),this.current=e.clone()}},{key:"restore",value:function(){0===this.stateStack.length&&this.current.activeSMask&&this.endSMaskMode(),0!==this.stateStack.length&&(this.current=this.stateStack.pop(),this.ctx.restore(),this.checkSMaskState(),this.pendingClip=null,this._cachedGetSinglePixelWidth=null)}},{key:"transform",value:function(e,t,r,n,o,a){this.ctx.transform(e,t,r,n,o,a),this._cachedGetSinglePixelWidth=null}},{key:"constructPath",value:function(e,t){for(var r,o,a=this.ctx,i=this.current,s=i.x,u=i.y,l=0,c=0,f=e.length;l<f;l++)switch(0|e[l]){case n.OPS.rectangle:s=t[c++],u=t[c++];var d=t[c++],p=t[c++],h=s+d,v=u+p;a.moveTo(s,u),0===d||0===p?a.lineTo(h,v):(a.lineTo(h,u),a.lineTo(h,v),a.lineTo(s,v)),i.updatePathMinMax(a.mozCurrentTransform,s,u),i.updatePathMinMax(a.mozCurrentTransform,h,v),a.closePath();break;case n.OPS.moveTo:s=t[c++],u=t[c++],a.moveTo(s,u),i.updatePathMinMax(a.mozCurrentTransform,s,u);break;case n.OPS.lineTo:s=t[c++],u=t[c++],a.lineTo(s,u),i.updatePathMinMax(a.mozCurrentTransform,s,u);break;case n.OPS.curveTo:r=s,o=u,s=t[c+4],u=t[c+5],a.bezierCurveTo(t[c],t[c+1],t[c+2],t[c+3],s,u),i.updateCurvePathMinMax(a.mozCurrentTransform,r,o,t[c],t[c+1],t[c+2],t[c+3],s,u),c+=6;break;case n.OPS.curveTo2:r=s,o=u,a.bezierCurveTo(s,u,t[c],t[c+1],t[c+2],t[c+3]),i.updateCurvePathMinMax(a.mozCurrentTransform,r,o,s,u,t[c],t[c+1],t[c+2],t[c+3]),s=t[c+2],u=t[c+3],c+=4;break;case n.OPS.curveTo3:r=s,o=u,s=t[c+2],u=t[c+3],a.bezierCurveTo(t[c],t[c+1],s,u,s,u),i.updateCurvePathMinMax(a.mozCurrentTransform,r,o,t[c],t[c+1],s,u,s,u),c+=4;break;case n.OPS.closePath:a.closePath()}i.setCurrentPoint(s,u)}},{key:"closePath",value:function(){this.ctx.closePath()}},{key:"stroke",value:function(e){e=void 0===e||e;var t=this.ctx,r=this.current.strokeColor;if(t.globalAlpha=this.current.strokeAlpha,this.contentVisible)if("object"===i(r)&&null!=r&&r.getPattern){var n=this.getSinglePixelWidth();t.save(),t.strokeStyle=r.getPattern(t,this,t.mozCurrentTransformInverse,o.PathType.STROKE),t.lineWidth=Math.max(n,this.current.lineWidth),t.stroke(),t.restore()}else{var a=this.getSinglePixelWidth();a<0&&-a>=this.current.lineWidth?(t.save(),t.resetTransform(),t.lineWidth=Math.round(this._combinedScaleFactor),t.stroke(),t.restore()):(t.lineWidth=Math.max(a,this.current.lineWidth),t.stroke())}e&&this.consumePath(this.current.getClippedPathBoundingBox()),t.globalAlpha=this.current.fillAlpha}},{key:"closeStroke",value:function(){this.closePath(),this.stroke()}},{key:"fill",value:function(e){e=void 0===e||e;var t=this.ctx,r=this.current.fillColor,n=!1;this.current.patternFill&&(t.save(),t.fillStyle=r.getPattern(t,this,t.mozCurrentTransformInverse,o.PathType.FILL),n=!0);var a=this.current.getClippedPathBoundingBox();this.contentVisible&&null!==a&&(this.pendingEOFill?(t.fill("evenodd"),this.pendingEOFill=!1):t.fill()),n&&t.restore(),e&&this.consumePath(a)}},{key:"eoFill",value:function(){this.pendingEOFill=!0,this.fill()}},{key:"fillStroke",value:function(){this.fill(!1),this.stroke(!1),this.consumePath()}},{key:"eoFillStroke",value:function(){this.pendingEOFill=!0,this.fillStroke()}},{key:"closeFillStroke",value:function(){this.closePath(),this.fillStroke()}},{key:"closeEOFillStroke",value:function(){this.pendingEOFill=!0,this.closePath(),this.fillStroke()}},{key:"endPath",value:function(){this.consumePath()}},{key:"clip",value:function(){this.pendingClip=T}},{key:"eoClip",value:function(){this.pendingClip=R}},{key:"beginText",value:function(){this.current.textMatrix=n.IDENTITY_MATRIX,this.current.textMatrixScale=1,this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0}},{key:"endText",value:function(){var e=this.pendingTextPaths,t=this.ctx;if(void 0!==e){t.save(),t.beginPath();for(var r=0;r<e.length;r++){var n=e[r];t.setTransform.apply(t,n.transform),t.translate(n.x,n.y),n.addToPath(t,n.fontSize)}t.restore(),t.clip(),t.beginPath(),delete this.pendingTextPaths}else t.beginPath()}},{key:"setCharSpacing",value:function(e){this.current.charSpacing=e}},{key:"setWordSpacing",value:function(e){this.current.wordSpacing=e}},{key:"setHScale",value:function(e){this.current.textHScale=e/100}},{key:"setLeading",value:function(e){this.current.leading=-e}},{key:"setFont",value:function(e,t){var r=this.commonObjs.get(e),o=this.current;if(!r)throw new Error("Can't find font for ".concat(e));if(o.fontMatrix=r.fontMatrix||n.FONT_IDENTITY_MATRIX,0!==o.fontMatrix[0]&&0!==o.fontMatrix[3]||(0,n.warn)("Invalid font matrix for font "+e),t<0?(t=-t,o.fontDirection=-1):o.fontDirection=1,this.current.font=r,this.current.fontSize=t,!r.isType3Font){var a=r.loadedName||"sans-serif",i="normal";r.black?i="900":r.bold&&(i="bold");var s=r.italic?"italic":"normal",u='"'.concat(a,'", ').concat(r.fallbackName),l=t;t<16?l=16:t>100&&(l=100),this.current.fontSizeScale=t/l,this.ctx.font="".concat(s," ").concat(i," ").concat(l,"px ").concat(u)}}},{key:"setTextRenderingMode",value:function(e){this.current.textRenderingMode=e}},{key:"setTextRise",value:function(e){this.current.textRise=e}},{key:"moveText",value:function(e,t){this.current.x=this.current.lineX+=e,this.current.y=this.current.lineY+=t}},{key:"setLeadingMoveText",value:function(e,t){this.setLeading(-t),this.moveText(e,t)}},{key:"setTextMatrix",value:function(e,t,r,n,o,a){this.current.textMatrix=[e,t,r,n,o,a],this.current.textMatrixScale=Math.hypot(e,t),this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0}},{key:"nextLine",value:function(){this.moveText(0,this.current.leading)}},{key:"paintChar",value:function(e,t,r,o,a){var i,s=this.ctx,u=this.current,l=u.font,c=u.textRenderingMode,f=u.fontSize/u.fontSizeScale,d=c&n.TextRenderingMode.FILL_STROKE_MASK,p=!!(c&n.TextRenderingMode.ADD_TO_PATH_FLAG),h=u.patternFill&&!l.missingFile;(l.disableFontFace||p||h)&&(i=l.getPathGenerator(this.commonObjs,e)),l.disableFontFace||h?(s.save(),s.translate(t,r),s.beginPath(),i(s,f),o&&s.setTransform.apply(s,o),d!==n.TextRenderingMode.FILL&&d!==n.TextRenderingMode.FILL_STROKE||s.fill(),d!==n.TextRenderingMode.STROKE&&d!==n.TextRenderingMode.FILL_STROKE||(a&&(s.resetTransform(),s.lineWidth=Math.round(this._combinedScaleFactor)),s.stroke()),s.restore()):(d!==n.TextRenderingMode.FILL&&d!==n.TextRenderingMode.FILL_STROKE||s.fillText(e,t,r),d!==n.TextRenderingMode.STROKE&&d!==n.TextRenderingMode.FILL_STROKE||(a?(s.save(),s.moveTo(t,r),s.resetTransform(),s.lineWidth=Math.round(this._combinedScaleFactor),s.strokeText(e,0,0),s.restore()):s.strokeText(e,t,r))),p&&(this.pendingTextPaths||(this.pendingTextPaths=[])).push({transform:s.mozCurrentTransform,x:t,y:r,fontSize:f,addToPath:i})}},{key:"isFontSubpixelAAEnabled",get:function(){var e=this.cachedCanvases.getCanvas("isFontSubpixelAAEnabled",10,10).context;e.scale(1.5,1),e.fillText("I",0,10);for(var t=e.getImageData(0,0,10,10).data,r=!1,o=3;o<t.length;o+=4)if(t[o]>0&&t[o]<255){r=!0;break}return(0,n.shadow)(this,"isFontSubpixelAAEnabled",r)}},{key:"showText",value:function(e){var t=this.current,r=t.font;if(r.isType3Font)return this.showType3Text(e);var a=t.fontSize;if(0!==a){var i,s=this.ctx,u=t.fontSizeScale,l=t.charSpacing,c=t.wordSpacing,f=t.fontDirection,d=t.textHScale*f,p=e.length,h=r.vertical,v=h?1:-1,m=r.defaultVMetrics,g=a*t.fontMatrix[0],y=t.textRenderingMode===n.TextRenderingMode.FILL&&!r.disableFontFace&&!t.patternFill;if(s.save(),s.transform.apply(s,t.textMatrix),s.translate(t.x,t.y+t.textRise),f>0?s.scale(d,-1):s.scale(d,1),t.patternFill){s.save();var b=t.fillColor.getPattern(s,this,s.mozCurrentTransformInverse,o.PathType.FILL);i=s.mozCurrentTransform,s.restore(),s.fillStyle=b}var w=t.lineWidth,_=!1,A=t.textMatrixScale;if(0===A||0===w){var S=t.textRenderingMode&n.TextRenderingMode.FILL_STROKE_MASK;S!==n.TextRenderingMode.STROKE&&S!==n.TextRenderingMode.FILL_STROKE||(this._cachedGetSinglePixelWidth=null,_=(w=this.getSinglePixelWidth())<0)}else w/=A;1!==u&&(s.scale(u,u),w/=u),s.lineWidth=w;var k,x=0;for(k=0;k<p;++k){var C=e[k];if((0,n.isNum)(C))x+=v*C*a/1e3;else{var P=!1,E=(C.isSpace?c:0)+l,T=C.fontChar,R=C.accent,O=void 0,F=void 0,L=C.width;if(h){var D=C.vmetric||m,M=-(C.vmetric?D[1]:.5*L)*g,I=D[2]*g;L=D?-D[0]:L,O=M/u,F=(x+I)/u}else O=x/u,F=0;if(r.remeasure&&L>0){var j=1e3*s.measureText(T).width/a*u;if(L<j&&this.isFontSubpixelAAEnabled){var N=L/j;P=!0,s.save(),s.scale(N,1),O/=N}else L!==j&&(O+=(L-j)/2e3*a/u)}if(this.contentVisible&&(C.isInFont||r.missingFile))if(y&&!R)s.fillText(T,O,F);else if(this.paintChar(T,O,F,i,_),R){var q=O+a*R.offset.x/u,B=F-a*R.offset.y/u;this.paintChar(R.fontChar,q,B,i,_)}x+=h?L*g-E*f:L*g+E*f,P&&s.restore()}}h?t.y-=x:t.x+=x*d,s.restore(),this.compose()}}},{key:"showType3Text",value:function(e){var t,r,o,a,i=this.ctx,s=this.current,u=s.font,l=s.fontSize,c=s.fontDirection,f=u.vertical?1:-1,d=s.charSpacing,p=s.wordSpacing,h=s.textHScale*c,v=s.fontMatrix||n.FONT_IDENTITY_MATRIX,m=e.length;if(s.textRenderingMode!==n.TextRenderingMode.INVISIBLE&&0!==l){for(this._cachedGetSinglePixelWidth=null,i.save(),i.transform.apply(i,s.textMatrix),i.translate(s.x,s.y),i.scale(h,c),t=0;t<m;++t)if(r=e[t],(0,n.isNum)(r))a=f*r*l/1e3,this.ctx.translate(a,0),s.x+=a*h;else{var g=(r.isSpace?p:0)+d,y=u.charProcOperatorList[r.operatorListId];y?(this.contentVisible&&(this.processingType3=r,this.save(),i.scale(l,l),i.transform.apply(i,v),this.executeOperatorList(y),this.restore()),o=n.Util.applyTransform([r.width,0],v)[0]*l+g,i.translate(o,0),s.x+=o*h):(0,n.warn)('Type3 character "'.concat(r.operatorListId,'" is not available.'))}i.restore(),this.processingType3=null}}},{key:"setCharWidth",value:function(e,t){}},{key:"setCharWidthAndBounds",value:function(e,t,r,n,o,a){this.ctx.rect(r,n,o-r,a-n),this.clip(),this.endPath()}},{key:"getColorN_Pattern",value:function(t){var r,n=this;if("TilingPattern"===t[0]){var a=t[1],i=this.baseTransform||this.ctx.mozCurrentTransform.slice(),s={createCanvasGraphics:function(t){return new e(t,n.commonObjs,n.objs,n.canvasFactory)}};r=new o.TilingPattern(t,a,this.ctx,s,i)}else r=this._getPattern(t[1],t[2]);return r}},{key:"setStrokeColorN",value:function(){this.current.strokeColor=this.getColorN_Pattern(arguments)}},{key:"setFillColorN",value:function(){this.current.fillColor=this.getColorN_Pattern(arguments),this.current.patternFill=!0}},{key:"setStrokeRGBColor",value:function(e,t,r){var o=n.Util.makeHexColor(e,t,r);this.ctx.strokeStyle=o,this.current.strokeColor=o}},{key:"setFillRGBColor",value:function(e,t,r){var o=n.Util.makeHexColor(e,t,r);this.ctx.fillStyle=o,this.current.fillColor=o,this.current.patternFill=!1}},{key:"_getPattern",value:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this.cachedPatterns.has(e)?t=this.cachedPatterns.get(e):(t=(0,o.getShadingPattern)(this.objs.get(e)),this.cachedPatterns.set(e,t)),r&&(t.matrix=r),t}},{key:"shadingFill",value:function(e){if(this.contentVisible){var t=this.ctx;this.save();var r=this._getPattern(e);t.fillStyle=r.getPattern(t,this,t.mozCurrentTransformInverse,o.PathType.SHADING);var a=t.mozCurrentTransformInverse;if(a){var i=t.canvas,s=i.width,u=i.height,l=n.Util.applyTransform([0,0],a),c=n.Util.applyTransform([0,u],a),f=n.Util.applyTransform([s,0],a),d=n.Util.applyTransform([s,u],a),p=Math.min(l[0],c[0],f[0],d[0]),h=Math.min(l[1],c[1],f[1],d[1]),v=Math.max(l[0],c[0],f[0],d[0]),m=Math.max(l[1],c[1],f[1],d[1]);this.ctx.fillRect(p,h,v-p,m-h)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);this.compose(this.current.getClippedPathBoundingBox()),this.restore()}}},{key:"beginInlineImage",value:function(){(0,n.unreachable)("Should not call beginInlineImage")}},{key:"beginImageData",value:function(){(0,n.unreachable)("Should not call beginImageData")}},{key:"paintFormXObjectBegin",value: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)){var r=t[2]-t[0],n=t[3]-t[1];this.ctx.rect(t[0],t[1],r,n),this.current.updatePathMinMax(this.ctx.mozCurrentTransform,t[0],t[1]),this.current.updatePathMinMax(this.ctx.mozCurrentTransform,t[2],t[3]),this.clip(),this.endPath()}}},{key:"paintFormXObjectEnd",value:function(){this.contentVisible&&(this.restore(),this.baseTransform=this.baseTransformStack.pop())}},{key:"beginGroup",value:function(e){if(this.contentVisible){this.save();var t=this.suspendedCtx;this.current.activeSMask&&(this.suspendedCtx=null,this.current.activeSMask=null);var r=this.ctx;e.isolated||(0,n.info)("TODO: Support non-isolated groups."),e.knockout&&(0,n.warn)("Knockout groups not supported.");var o=r.mozCurrentTransform;if(e.matrix&&r.transform.apply(r,e.matrix),!e.bbox)throw new Error("Bounding box is required.");var a=n.Util.getAxialAlignedBoundingBox(e.bbox,r.mozCurrentTransform),i=[0,0,r.canvas.width,r.canvas.height];a=n.Util.intersect(a,i)||[0,0,0,0];var s=Math.floor(a[0]),u=Math.floor(a[1]),l=Math.max(Math.ceil(a[2])-s,1),c=Math.max(Math.ceil(a[3])-u,1),f=1,d=1;l>h&&(f=l/h,l=h),c>h&&(d=c/h,c=h),this.current.startNewPathAndClipBox([0,0,l,c]);var p="groupAt"+this.groupLevel;e.smask&&(p+="_smask_"+this.smaskCounter++%2);var v=this.cachedCanvases.getCanvas(p,l,c,!0),m=v.context;m.scale(1/f,1/d),m.translate(-s,-u),m.transform.apply(m,o),e.smask?this.smaskStack.push({canvas:v.canvas,context:m,offsetX:s,offsetY:u,scaleX:f,scaleY:d,subtype:e.smask.subtype,backdrop:e.smask.backdrop,transferMap:e.smask.transferMap||null,startTransformInverse:null}):(r.setTransform(1,0,0,1,0,0),r.translate(s,u),r.scale(f,d),r.save()),_(r,m),this.ctx=m,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push({ctx:r,suspendedCtx:t}),this.groupLevel++}}},{key:"endGroup",value:function(e){if(this.contentVisible){this.groupLevel--;var t=this.ctx,r=this.groupStack.pop(),o=r.ctx,a=r.suspendedCtx;if(this.ctx=o,this.ctx.imageSmoothingEnabled=!1,a&&(this.suspendedCtx=a),e.smask)this.tempSMask=this.smaskStack.pop(),this.restore();else{this.ctx.restore();var i=this.ctx.mozCurrentTransform;this.restore(),this.ctx.save(),this.ctx.setTransform.apply(this.ctx,i);var s=n.Util.getAxialAlignedBoundingBox([0,0,t.canvas.width,t.canvas.height],i);this.ctx.drawImage(t.canvas,0,0),this.ctx.restore(),this.compose(s)}}}},{key:"beginAnnotations",value:function(){this.save(),this.baseTransform&&this.ctx.setTransform.apply(this.ctx,this.baseTransform)}},{key:"endAnnotations",value:function(){this.restore()}},{key:"beginAnnotation",value:function(e,t,r,o,a){if(this.save(),Array.isArray(t)&&4===t.length){var i=t[2]-t[0],s=t[3]-t[1];if(a&&this.annotationCanvasMap){(r=r.slice())[4]-=t[0],r[5]-=t[1],(t=t.slice())[0]=t[1]=0,t[2]=i,t[3]=s;var u=f(n.Util.singularValueDecompose2dScale(this.ctx.mozCurrentTransform),2),l=u[0],c=u[1],d=this.viewportScale,p=Math.ceil(i*this.outputScaleX*d),h=Math.ceil(s*this.outputScaleY*d);this.annotationCanvas=this.canvasFactory.create(p,h);var v=this.annotationCanvas,g=v.canvas,b=v.context;g.style.width="calc(".concat(i,"px * var(--viewport-scale-factor))"),g.style.height="calc(".concat(s,"px * var(--viewport-scale-factor))"),this.annotationCanvasMap.set(e,g),this.annotationCanvas.savedCtx=this.ctx,this.ctx=b,this.ctx.setTransform(l,0,0,-c,0,s*c),m(this.ctx),A(this.ctx)}else A(this.ctx),this.ctx.rect(t[0],t[1],i,s),this.clip(),this.endPath()}this.current=new y(this.ctx.canvas.width,this.ctx.canvas.height),this.transform.apply(this,r),this.transform.apply(this,o)}},{key:"endAnnotation",value:function(){this.annotationCanvas&&(this.ctx=this.annotationCanvas.savedCtx,delete this.annotationCanvas.savedCtx,delete this.annotationCanvas),this.restore()}},{key:"paintImageMaskXObject",value:function(e){if(this.contentVisible){var t=this.ctx,r=e.width,n=e.height,o=this.processingType3;if(o&&void 0===o.compiled&&(o.compiled=r<=1e3&&n<=1e3?function(e){var t,r,n,o,a=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),i=e.width,s=e.height,u=i+1,l=new Uint8Array(u*(s+1)),c=i+7&-8,f=e.data,d=new Uint8Array(c*s),p=0;for(t=0,r=f.length;t<r;t++)for(var h=f[t],v=128;v>0;)d[p++]=h&v?0:255,v>>=1;var m=0;for(0!==d[p=0]&&(l[0]=1,++m),n=1;n<i;n++)d[p]!==d[p+1]&&(l[n]=d[p]?2:1,++m),p++;for(0!==d[p]&&(l[n]=2,++m),t=1;t<s;t++){o=t*u,d[(p=t*c)-c]!==d[p]&&(l[o]=d[p]?1:8,++m);var g=(d[p]?4:0)+(d[p-c]?8:0);for(n=1;n<i;n++)a[g=(g>>2)+(d[p+1]?4:0)+(d[p-c+1]?8:0)]&&(l[o+n]=a[g],++m),p++;if(d[p-c]!==d[p]&&(l[o+n]=d[p]?2:4,++m),m>1e3)return null}for(o=t*u,0!==d[p=c*(s-1)]&&(l[o]=8,++m),n=1;n<i;n++)d[p]!==d[p+1]&&(l[o+n]=d[p]?4:8,++m),p++;if(0!==d[p]&&(l[o+n]=4,++m),m>1e3)return null;var y=new Int32Array([0,u,-1,0,-u,0,0,0,1]),b=[];for(t=0;m&&t<=s;t++){for(var w=t*u,_=w+i;w<_&&!l[w];)w++;if(w!==_){var A=[w%u,t],S=w,k=l[w];do{var x=y[k];do{w+=x}while(!l[w]);var C=l[w];5!==C&&10!==C?(k=C,l[w]=0):(k=C&51*k>>4,l[w]&=k>>2|k<<2),A.push(w%u,w/u|0),l[w]||--m}while(S!==w);b.push(A),--t}}return function(e){e.save(),e.scale(1/i,-1/s),e.translate(0,-s),e.beginPath();for(var t=0,r=b.length;t<r;t++){var n=b[t];e.moveTo(n[0],n[1]);for(var o=2,a=n.length;o<a;o+=2)e.lineTo(n[o],n[o+1])}e.fill(),e.beginPath(),e.restore()}}({data:e.data,width:r,height:n}):null),null!=o&&o.compiled)o.compiled(t);else{var a=this._createMaskCanvas(e),i=a.canvas;t.save(),t.setTransform(1,0,0,1,0,0),t.drawImage(i,a.offsetX,a.offsetY),t.restore(),this.compose()}}}},{key:"paintImageMaskXObjectRepeat",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a=arguments.length>4?arguments[4]:void 0,i=arguments.length>5?arguments[5]:void 0;if(this.contentVisible){var s=this.ctx;s.save();var u=s.mozCurrentTransform;s.transform(t,r,o,a,0,0);var l=this._createMaskCanvas(e);s.setTransform(1,0,0,1,0,0);for(var c=0,d=i.length;c<d;c+=2){var p=n.Util.transform(u,[t,r,o,a,i[c],i[c+1]]),h=f(n.Util.applyTransform([0,0],p),2),v=h[0],m=h[1];s.drawImage(l.canvas,v,m)}s.restore(),this.compose()}}},{key:"paintImageMaskXObjectGroup",value:function(e){if(this.contentVisible){for(var t=this.ctx,r=this.current.fillColor,n=this.current.patternFill,a=0,i=e.length;a<i;a++){var s=e[a],u=s.width,l=s.height,c=this.cachedCanvases.getCanvas("maskCanvas",u,l),f=c.context;f.save(),w(f,s),f.globalCompositeOperation="source-in",f.fillStyle=n?r.getPattern(f,this,t.mozCurrentTransformInverse,o.PathType.FILL):r,f.fillRect(0,0,u,l),f.restore(),t.save(),t.transform.apply(t,s.transform),t.scale(1,-1),t.drawImage(c.canvas,0,0,u,l,0,-1,1,1),t.restore()}this.compose()}}},{key:"paintImageXObject",value:function(e){if(this.contentVisible){var t=e.startsWith("g_")?this.commonObjs.get(e):this.objs.get(e);t?this.paintInlineImageXObject(t):(0,n.warn)("Dependent image isn't ready yet")}}},{key:"paintImageXObjectRepeat",value:function(e,t,r,o){if(this.contentVisible){var a=e.startsWith("g_")?this.commonObjs.get(e):this.objs.get(e);if(a){for(var i=a.width,s=a.height,u=[],l=0,c=o.length;l<c;l+=2)u.push({transform:[t,0,0,r,o[l],o[l+1]],x:0,y:0,w:i,h:s});this.paintInlineImageXObjectGroup(a,u)}else(0,n.warn)("Dependent image isn't ready yet")}}},{key:"paintInlineImageXObject",value:function(e){if(this.contentVisible){var t,r=e.width,n=e.height,o=this.ctx;if(this.save(),o.scale(1/r,-1/n),"function"==typeof HTMLElement&&e instanceof HTMLElement||!e.data)t=e;else{var a=this.cachedCanvases.getCanvas("inlineImage",r,n);b(a.context,e,this.current.transferMaps),t=a.canvas}var i=this._scaleImage(t,o.mozCurrentTransformInverse);if(o.imageSmoothingEnabled=C(o.mozCurrentTransform,e.interpolate),o.drawImage(i.img,0,0,i.paintWidth,i.paintHeight,0,-n,r,n),this.imageLayer){var s=this.getCanvasPosition(0,-n);this.imageLayer.appendImage({imgData:e,left:s[0],top:s[1],width:r/o.mozCurrentTransformInverse[0],height:n/o.mozCurrentTransformInverse[3]})}this.compose(),this.restore()}}},{key:"paintInlineImageXObjectGroup",value:function(e,t){if(this.contentVisible){var r=this.ctx,n=e.width,o=e.height,a=this.cachedCanvases.getCanvas("inlineImage",n,o);b(a.context,e,this.current.transferMaps);for(var i=0,s=t.length;i<s;i++){var u=t[i];if(r.save(),r.transform.apply(r,u.transform),r.scale(1,-1),r.drawImage(a.canvas,u.x,u.y,u.w,u.h,0,-1,1,1),this.imageLayer){var l=this.getCanvasPosition(u.x,u.y);this.imageLayer.appendImage({imgData:e,left:l[0],top:l[1],width:n,height:o})}r.restore()}this.compose()}}},{key:"paintSolidColorImageMask",value:function(){this.contentVisible&&(this.ctx.fillRect(0,0,1,1),this.compose())}},{key:"markPoint",value:function(e){}},{key:"markPointProps",value:function(e,t){}},{key:"beginMarkedContent",value:function(e){this.markedContentStack.push({visible:!0})}},{key:"beginMarkedContentProps",value:function(e,t){"OC"===e?this.markedContentStack.push({visible:this.optionalContentConfig.isVisible(t)}):this.markedContentStack.push({visible:!0}),this.contentVisible=this.isContentVisible()}},{key:"endMarkedContent",value:function(){this.markedContentStack.pop(),this.contentVisible=this.isContentVisible()}},{key:"beginCompat",value:function(){}},{key:"endCompat",value:function(){}},{key:"consumePath",value:function(e){this.pendingClip&&this.current.updateClipFromPath(),this.pendingClip||this.compose(e);var t=this.ctx;this.pendingClip&&(this.pendingClip===R?t.clip("evenodd"):t.clip(),this.pendingClip=null),this.current.startNewPathAndClipBox(this.current.clipBox),t.beginPath()}},{key:"getSinglePixelWidth",value:function(){if(null===this._cachedGetSinglePixelWidth){var e=this.ctx.mozCurrentTransform,t=Math.abs(e[0]*e[3]-e[2]*e[1]),r=Math.pow(e[0],2)+Math.pow(e[2],2),n=Math.pow(e[1],2)+Math.pow(e[3],2),o=Math.sqrt(Math.max(r,n))/t;r!==n&&this._combinedScaleFactor*o>1?this._cachedGetSinglePixelWidth=-this._combinedScaleFactor*o:t>Number.EPSILON?this._cachedGetSinglePixelWidth=o:this._cachedGetSinglePixelWidth=1}return this._cachedGetSinglePixelWidth}},{key:"getCanvasPosition",value:function(e,t){var r=this.ctx.mozCurrentTransform;return[r[0]*e+r[2]*t+r[4],r[1]*e+r[3]*t+r[5]]}},{key:"isContentVisible",value:function(){for(var e=this.markedContentStack.length-1;e>=0;e--)if(!this.markedContentStack[e].visible)return!1;return!0}}]),e}();for(var F in t.CanvasGraphics=O,n.OPS)void 0!==O.prototype[F]&&(O.prototype[n.OPS[F]]=O.prototype[F])},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.TilingPattern=t.PathType=void 0,t.getShadingPattern=function(e){switch(e[0]){case"RadialAxial":return new g(e);case"Mesh":return new w(e);case"Dummy":return new _}throw new Error("Unknown IR type: ".concat(e[0]))};var o=r(4);function a(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){u=!0,a=e},f:function(){try{s||null==r.return||r.return()}finally{if(u)throw a}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,o=c(e);if(t){var a=c(this).constructor;r=Reflect.construct(o,arguments,a)}else r=o.apply(this,arguments);return function(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,r)}}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t,r){return t&&d(e.prototype,t),r&&d(e,r),e}var h={FILL:"Fill",STROKE:"Stroke",SHADING:"Shading"};function v(e,t){if(t&&"undefined"!=typeof Path2D){var r=t[2]-t[0],n=t[3]-t[1],o=new Path2D;o.rect(t[0],t[1],r,n),e.clip(o)}}t.PathType=h;var m=function(){function e(){f(this,e),this.constructor===e&&(0,o.unreachable)("Cannot initialize BaseShadingPattern.")}return p(e,[{key:"getPattern",value:function(){(0,o.unreachable)("Abstract method `getPattern` called.")}}]),e}(),g=function(e){s(r,e);var t=l(r);function r(e){var n;return f(this,r),(n=t.call(this))._type=e[1],n._bbox=e[2],n._colorStops=e[3],n._p0=e[4],n._p1=e[5],n._r0=e[6],n._r1=e[7],n.matrix=null,n}return p(r,[{key:"_createGradient",value:function(e){var t;"axial"===this._type?t=e.createLinearGradient(this._p0[0],this._p0[1],this._p1[0],this._p1[1]):"radial"===this._type&&(t=e.createRadialGradient(this._p0[0],this._p0[1],this._r0,this._p1[0],this._p1[1],this._r1));var r,n=a(this._colorStops);try{for(n.s();!(r=n.n()).done;){var o=r.value;t.addColorStop(o[0],o[1])}}catch(e){n.e(e)}finally{n.f()}return t}},{key:"getPattern",value:function(e,t,r,n){var a;if(n===h.STROKE||n===h.FILL){var i=t.current.getClippedPathBoundingBox(n,e.mozCurrentTransform)||[0,0,0,0],s=Math.ceil(i[2]-i[0])||1,u=Math.ceil(i[3]-i[1])||1,l=t.cachedCanvases.getCanvas("pattern",s,u,!0),c=l.context;c.clearRect(0,0,c.canvas.width,c.canvas.height),c.beginPath(),c.rect(0,0,c.canvas.width,c.canvas.height),c.translate(-i[0],-i[1]),r=o.Util.transform(r,[1,0,0,1,i[0],i[1]]),c.transform.apply(c,t.baseTransform),this.matrix&&c.transform.apply(c,this.matrix),v(c,this._bbox),c.fillStyle=this._createGradient(c),c.fill(),a=e.createPattern(l.canvas,"no-repeat");var f=new DOMMatrix(r);try{a.setTransform(f)}catch(e){(0,o.warn)('RadialAxialShadingPattern.getPattern: "'.concat(null==e?void 0:e.message,'".'))}}else v(e,this._bbox),a=this._createGradient(e);return a}}]),r}(m);function y(e,t,r,n,o,a,i,s){var u,l=t.coords,c=t.colors,f=e.data,d=4*e.width;l[r+1]>l[n+1]&&(u=r,r=n,n=u,u=a,a=i,i=u),l[n+1]>l[o+1]&&(u=n,n=o,o=u,u=i,i=s,s=u),l[r+1]>l[n+1]&&(u=r,r=n,n=u,u=a,a=i,i=u);var p=(l[r]+t.offsetX)*t.scaleX,h=(l[r+1]+t.offsetY)*t.scaleY,v=(l[n]+t.offsetX)*t.scaleX,m=(l[n+1]+t.offsetY)*t.scaleY,g=(l[o]+t.offsetX)*t.scaleX,y=(l[o+1]+t.offsetY)*t.scaleY;if(!(h>=y))for(var b,w,_,A,S,k,x,C,P=c[a],E=c[a+1],T=c[a+2],R=c[i],O=c[i+1],F=c[i+2],L=c[s],D=c[s+1],M=c[s+2],I=Math.round(h),j=Math.round(y),N=I;N<=j;N++){if(N<m){var q;b=p-(p-v)*(q=N<h?0:(h-N)/(h-m)),w=P-(P-R)*q,_=E-(E-O)*q,A=T-(T-F)*q}else{var B;b=v-(v-g)*(B=N>y?1:m===y?0:(m-N)/(m-y)),w=R-(R-L)*B,_=O-(O-D)*B,A=F-(F-M)*B}var U=void 0;S=p-(p-g)*(U=N<h?0:N>y?1:(h-N)/(h-y)),k=P-(P-L)*U,x=E-(E-D)*U,C=T-(T-M)*U;for(var z=Math.round(Math.min(b,S)),V=Math.round(Math.max(b,S)),W=d*N+4*z,H=z;H<=V;H++)(U=(b-H)/(b-S))<0?U=0:U>1&&(U=1),f[W++]=w-(w-k)*U|0,f[W++]=_-(_-x)*U|0,f[W++]=A-(A-C)*U|0,f[W++]=255}}function b(e,t,r){var n,o,a=t.coords,i=t.colors;switch(t.type){case"lattice":var s=t.verticesPerRow,u=Math.floor(a.length/s)-1,l=s-1;for(n=0;n<u;n++)for(var c=n*s,f=0;f<l;f++,c++)y(e,r,a[c],a[c+1],a[c+s],i[c],i[c+1],i[c+s]),y(e,r,a[c+s+1],a[c+1],a[c+s],i[c+s+1],i[c+1],i[c+s]);break;case"triangles":for(n=0,o=a.length;n<o;n+=3)y(e,r,a[n],a[n+1],a[n+2],i[n],i[n+1],i[n+2]);break;default:throw new Error("illegal figure")}}var w=function(e){s(r,e);var t=l(r);function r(e){var n;return f(this,r),(n=t.call(this))._coords=e[2],n._colors=e[3],n._figures=e[4],n._bounds=e[5],n._bbox=e[7],n._background=e[8],n.matrix=null,n}return p(r,[{key:"_createMeshCanvas",value:function(e,t,r){var n=Math.floor(this._bounds[0]),o=Math.floor(this._bounds[1]),i=Math.ceil(this._bounds[2])-n,s=Math.ceil(this._bounds[3])-o,u=Math.min(Math.ceil(Math.abs(i*e[0]*1.1)),3e3),l=Math.min(Math.ceil(Math.abs(s*e[1]*1.1)),3e3),c=i/u,f=s/l,d={coords:this._coords,colors:this._colors,offsetX:-n,offsetY:-o,scaleX:1/c,scaleY:1/f},p=u+4,h=l+4,v=r.getCanvas("mesh",p,h,!1),m=v.context,g=m.createImageData(u,l);if(t)for(var y=g.data,w=0,_=y.length;w<_;w+=4)y[w]=t[0],y[w+1]=t[1],y[w+2]=t[2],y[w+3]=255;var A,S=a(this._figures);try{for(S.s();!(A=S.n()).done;)b(g,A.value,d)}catch(e){S.e(e)}finally{S.f()}return m.putImageData(g,2,2),{canvas:v.canvas,offsetX:n-2*c,offsetY:o-2*f,scaleX:c,scaleY:f}}},{key:"getPattern",value:function(e,t,r,n){var a;if(v(e,this._bbox),n===h.SHADING)a=o.Util.singularValueDecompose2dScale(e.mozCurrentTransform);else if(a=o.Util.singularValueDecompose2dScale(t.baseTransform),this.matrix){var i=o.Util.singularValueDecompose2dScale(this.matrix);a=[a[0]*i[0],a[1]*i[1]]}var s=this._createMeshCanvas(a,n===h.SHADING?null:this._background,t.cachedCanvases);return n!==h.SHADING&&(e.setTransform.apply(e,t.baseTransform),this.matrix&&e.transform.apply(e,this.matrix)),e.translate(s.offsetX,s.offsetY),e.scale(s.scaleX,s.scaleY),e.createPattern(s.canvas,"no-repeat")}}]),r}(m),_=function(e){s(r,e);var t=l(r);function r(){return f(this,r),t.apply(this,arguments)}return p(r,[{key:"getPattern",value:function(){return"hotpink"}}]),r}(m),A=function(){function e(t,r,n,o,a){f(this,e),this.operatorList=t[2],this.matrix=t[3]||[1,0,0,1,0,0],this.bbox=t[4],this.xstep=t[5],this.ystep=t[6],this.paintType=t[7],this.tilingType=t[8],this.color=r,this.ctx=n,this.canvasGraphicsFactory=o,this.baseTransform=a}return p(e,[{key:"createPatternCanvas",value:function(e){var t=this.operatorList,r=this.bbox,n=this.xstep,a=this.ystep,i=this.paintType,s=this.tilingType,u=this.color,l=this.canvasGraphicsFactory;(0,o.info)("TilingType: "+s);var c=r[0],f=r[1],d=r[2],p=r[3],h=o.Util.singularValueDecompose2dScale(this.matrix),v=o.Util.singularValueDecompose2dScale(this.baseTransform),m=[h[0]*v[0],h[1]*v[1]],g=this.getSizeAndScale(n,this.ctx.canvas.width,m[0]),y=this.getSizeAndScale(a,this.ctx.canvas.height,m[1]),b=e.cachedCanvases.getCanvas("pattern",g.size,y.size,!0),w=b.context,_=l.createCanvasGraphics(w);_.groupLevel=e.groupLevel,this.setFillAndStrokeStyleToContext(_,i,u);var A=c,S=f,k=d,x=p;return c<0&&(A=0,k+=Math.abs(c)),f<0&&(S=0,x+=Math.abs(f)),w.translate(-g.scale*A,-y.scale*S),_.transform(g.scale,0,0,y.scale,0,0),this.clipBbox(_,A,S,k,x),_.baseTransform=_.ctx.mozCurrentTransform.slice(),_.executeOperatorList(t),_.endDrawing(),{canvas:b.canvas,scaleX:g.scale,scaleY:y.scale,offsetX:A,offsetY:S}}},{key:"getSizeAndScale",value:function(t,r,n){t=Math.abs(t);var o=Math.max(e.MAX_PATTERN_SIZE,r),a=Math.ceil(t*n);return a>=o?a=o:n=a/t,{scale:n,size:a}}},{key:"clipBbox",value:function(e,t,r,n,o){var a=n-t,i=o-r;e.ctx.rect(t,r,a,i),e.clip(),e.endPath()}},{key:"setFillAndStrokeStyleToContext",value:function(e,t,r){var n=e.ctx,a=e.current;switch(t){case 1:var i=this.ctx;n.fillStyle=i.fillStyle,n.strokeStyle=i.strokeStyle,a.fillColor=i.fillStyle,a.strokeColor=i.strokeStyle;break;case 2:var s=o.Util.makeHexColor(r[0],r[1],r[2]);n.fillStyle=s,n.strokeStyle=s,a.fillColor=s,a.strokeColor=s;break;default:throw new o.FormatError("Unsupported paint type: ".concat(t))}}},{key:"getPattern",value:function(e,t,r,n){var a=r;n!==h.SHADING&&(a=o.Util.transform(a,t.baseTransform),this.matrix&&(a=o.Util.transform(a,this.matrix)));var i=this.createPatternCanvas(t),s=new DOMMatrix(a);s=(s=s.translate(i.offsetX,i.offsetY)).scale(1/i.scaleX,1/i.scaleY);var u=e.createPattern(i.canvas,"repeat");try{u.setTransform(s)}catch(e){(0,o.warn)('TilingPattern.getPattern: "'.concat(null==e?void 0:e.message,'".'))}return u}}],[{key:"MAX_PATTERN_SIZE",get:function(){return(0,o.shadow)(this,"MAX_PATTERN_SIZE",3e3)}}]),e}();t.TilingPattern=A},(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GlobalWorkerOptions=void 0;var r=Object.create(null);t.GlobalWorkerOptions=r,r.workerPort=void 0===r.workerPort?null:r.workerPort,r.workerSrc=void 0===r.workerSrc?"":r.workerSrc},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MessageHandler=void 0;var n,o=(n=r(2))&&n.__esModule?n:{default:n},a=r(4);function i(e,t,r,n,o,a,i){try{var s=e[a](i),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function l(e){if(!(e instanceof Error||"object"===u(e)&&null!==e))return(0,a.warn)('wrapReason: Expected "reason" to be a (possibly cloned) Error.'),e;switch(e.name){case"AbortException":return new a.AbortException(e.message);case"MissingPDFException":return new a.MissingPDFException(e.message);case"PasswordException":return new a.PasswordException(e.message,e.code);case"UnexpectedResponseException":return new a.UnexpectedResponseException(e.message,e.status);case"UnknownErrorException":return new a.UnknownErrorException(e.message,e.details);default:return new a.UnknownErrorException(e.message,e.toString())}}var c=function(){function e(t,r,n){var o=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.sourceName=t,this.targetName=r,this.comObj=n,this.callbackId=1,this.streamId=1,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null),this.callbackCapabilities=Object.create(null),this.actionHandler=Object.create(null),this._onComObjOnMessage=function(e){var t=e.data;if(t.targetName===o.sourceName)if(t.stream)o._processStreamMessage(t);else if(t.callback){var r=t.callbackId,a=o.callbackCapabilities[r];if(!a)throw new Error("Cannot resolve callback ".concat(r));if(delete o.callbackCapabilities[r],1===t.callback)a.resolve(t.data);else{if(2!==t.callback)throw new Error("Unexpected callback case");a.reject(l(t.reason))}}else{var i=o.actionHandler[t.action];if(!i)throw new Error("Unknown action from worker: ".concat(t.action));if(t.callbackId){var s=o.sourceName,u=t.sourceName;new Promise((function(e){e(i(t.data))})).then((function(e){n.postMessage({sourceName:s,targetName:u,callback:1,callbackId:t.callbackId,data:e})}),(function(e){n.postMessage({sourceName:s,targetName:u,callback:2,callbackId:t.callbackId,reason:l(e)})}))}else t.streamId?o._createStreamSink(t):i(t.data)}},n.addEventListener("message",this._onComObjOnMessage)}var t,r,n,u;return t=e,r=[{key:"on",value:function(e,t){var r=this.actionHandler;if(r[e])throw new Error('There is already an actionName called "'.concat(e,'"'));r[e]=t}},{key:"send",value:function(e,t,r){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:e,data:t},r)}},{key:"sendWithPromise",value:function(e,t,r){var n=this.callbackId++,o=(0,a.createPromiseCapability)();this.callbackCapabilities[n]=o;try{this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:e,callbackId:n,data:t},r)}catch(e){o.reject(e)}return o.promise}},{key:"sendWithStream",value:function(e,t,r,n){var o=this,i=this.streamId++,s=this.sourceName,u=this.targetName,c=this.comObj;return new ReadableStream({start:function(r){var l=(0,a.createPromiseCapability)();return o.streamControllers[i]={controller:r,startCall:l,pullCall:null,cancelCall:null,isClosed:!1},c.postMessage({sourceName:s,targetName:u,action:e,streamId:i,data:t,desiredSize:r.desiredSize},n),l.promise},pull:function(e){var t=(0,a.createPromiseCapability)();return o.streamControllers[i].pullCall=t,c.postMessage({sourceName:s,targetName:u,stream:6,streamId:i,desiredSize:e.desiredSize}),t.promise},cancel:function(e){(0,a.assert)(e instanceof Error,"cancel must have a valid reason");var t=(0,a.createPromiseCapability)();return o.streamControllers[i].cancelCall=t,o.streamControllers[i].isClosed=!0,c.postMessage({sourceName:s,targetName:u,stream:1,streamId:i,reason:l(e)}),t.promise}},r)}},{key:"_createStreamSink",value:function(e){var t=e.streamId,r=this.sourceName,n=e.sourceName,o=this.comObj,i=this,s=this.actionHandler[e.action],u={enqueue:function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,s=arguments.length>2?arguments[2]:void 0;if(!this.isCancelled){var u=this.desiredSize;this.desiredSize-=i,u>0&&this.desiredSize<=0&&(this.sinkCapability=(0,a.createPromiseCapability)(),this.ready=this.sinkCapability.promise),o.postMessage({sourceName:r,targetName:n,stream:4,streamId:t,chunk:e},s)}},close:function(){this.isCancelled||(this.isCancelled=!0,o.postMessage({sourceName:r,targetName:n,stream:3,streamId:t}),delete i.streamSinks[t])},error:function(e){(0,a.assert)(e instanceof Error,"error must have a valid reason"),this.isCancelled||(this.isCancelled=!0,o.postMessage({sourceName:r,targetName:n,stream:5,streamId:t,reason:l(e)}))},sinkCapability:(0,a.createPromiseCapability)(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:e.desiredSize,ready:null};u.sinkCapability.resolve(),u.ready=u.sinkCapability.promise,this.streamSinks[t]=u,new Promise((function(t){t(s(e.data,u))})).then((function(){o.postMessage({sourceName:r,targetName:n,stream:8,streamId:t,success:!0})}),(function(e){o.postMessage({sourceName:r,targetName:n,stream:8,streamId:t,reason:l(e)})}))}},{key:"_processStreamMessage",value:function(e){var t=e.streamId,r=this.sourceName,n=e.sourceName,o=this.comObj,i=this.streamControllers[t],s=this.streamSinks[t];switch(e.stream){case 8:e.success?i.startCall.resolve():i.startCall.reject(l(e.reason));break;case 7:e.success?i.pullCall.resolve():i.pullCall.reject(l(e.reason));break;case 6:if(!s){o.postMessage({sourceName:r,targetName:n,stream:7,streamId:t,success:!0});break}s.desiredSize<=0&&e.desiredSize>0&&s.sinkCapability.resolve(),s.desiredSize=e.desiredSize,new Promise((function(e){e(s.onPull&&s.onPull())})).then((function(){o.postMessage({sourceName:r,targetName:n,stream:7,streamId:t,success:!0})}),(function(e){o.postMessage({sourceName:r,targetName:n,stream:7,streamId:t,reason:l(e)})}));break;case 4:if((0,a.assert)(i,"enqueue should have stream controller"),i.isClosed)break;i.controller.enqueue(e.chunk);break;case 3:if((0,a.assert)(i,"close should have stream controller"),i.isClosed)break;i.isClosed=!0,i.controller.close(),this._deleteStreamController(i,t);break;case 5:(0,a.assert)(i,"error should have stream controller"),i.controller.error(l(e.reason)),this._deleteStreamController(i,t);break;case 2:e.success?i.cancelCall.resolve():i.cancelCall.reject(l(e.reason)),this._deleteStreamController(i,t);break;case 1:if(!s)break;new Promise((function(t){t(s.onCancel&&s.onCancel(l(e.reason)))})).then((function(){o.postMessage({sourceName:r,targetName:n,stream:2,streamId:t,success:!0})}),(function(e){o.postMessage({sourceName:r,targetName:n,stream:2,streamId:t,reason:l(e)})})),s.sinkCapability.reject(l(e.reason)),s.isCancelled=!0,delete this.streamSinks[t];break;default:throw new Error("Unexpected stream case")}}},{key:"_deleteStreamController",value:(n=o.default.mark((function e(t,r){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.allSettled([t.startCall&&t.startCall.promise,t.pullCall&&t.pullCall.promise,t.cancelCall&&t.cancelCall.promise]);case 2:delete this.streamControllers[r];case 3:case"end":return e.stop()}}),e,this)})),u=function(){var e=this,t=arguments;return new Promise((function(r,o){var a=n.apply(e,t);function s(e){i(a,r,o,s,u,"next",e)}function u(e){i(a,r,o,s,u,"throw",e)}s(void 0)}))},function(e,t){return u.apply(this,arguments)})},{key:"destroy",value:function(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}}],r&&s(t.prototype,r),e}();t.MessageHandler=c},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Metadata=void 0;var n=r(4);function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a(e,t,r){!function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.set(e,r)}function i(e,t){return function(e,t){return t.get?t.get.call(e):t.value}(e,u(e,t,"get"))}function s(e,t,r){return function(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=r}}(e,u(e,t,"set"),r),r}function u(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}var l=new WeakMap,c=new WeakMap,f=function(){function e(t){var r=t.parsedData,n=t.rawData;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),a(this,l,{writable:!0,value:void 0}),a(this,c,{writable:!0,value:void 0}),s(this,l,r),s(this,c,n)}var t,r;return t=e,(r=[{key:"getRaw",value:function(){return i(this,c)}},{key:"get",value:function(e){var t;return null!==(t=i(this,l).get(e))&&void 0!==t?t:null}},{key:"getAll",value:function(){return(0,n.objectFromMap)(i(this,l))}},{key:"has",value:function(e){return i(this,l).has(e)}}])&&o(t.prototype,r),e}();t.Metadata=f},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OptionalContentConfig=void 0;var n=r(4);function o(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){u=!0,i=e},f:function(){try{s||null==r.return||r.return()}finally{if(u)throw i}}}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var u=function e(t,r){s(this,e),this.visible=!0,this.name=t,this.intent=r},l=function(){function e(t){if(s(this,e),this.name=null,this.creator=null,this._order=null,this._groups=new Map,null!==t){this.name=t.name,this.creator=t.creator,this._order=t.order;var r,n=o(t.groups);try{for(n.s();!(r=n.n()).done;){var a=r.value;this._groups.set(a.id,new u(a.name,a.intent))}}catch(e){n.e(e)}finally{n.f()}if("OFF"===t.baseState){var i,l=o(this._groups);try{for(l.s();!(i=l.n()).done;)i.value.visible=!1}catch(e){l.e(e)}finally{l.f()}}var c,f=o(t.on);try{for(f.s();!(c=f.n()).done;){var d=c.value;this._groups.get(d).visible=!0}}catch(e){f.e(e)}finally{f.f()}var p,h=o(t.off);try{for(h.s();!(p=h.n()).done;){var v=p.value;this._groups.get(v).visible=!1}}catch(e){h.e(e)}finally{h.f()}}}var t,r;return t=e,r=[{key:"_evaluateVisibilityExpression",value:function(e){var t=e.length;if(t<2)return!0;for(var r=e[0],o=1;o<t;o++){var a=e[o],i=void 0;if(Array.isArray(a))i=this._evaluateVisibilityExpression(a);else{if(!this._groups.has(a))return(0,n.warn)("Optional content group not found: ".concat(a)),!0;i=this._groups.get(a).visible}switch(r){case"And":if(!i)return!1;break;case"Or":if(i)return!0;break;case"Not":return!i;default:return!0}}return"And"===r}},{key:"isVisible",value:function(e){if(0===this._groups.size)return!0;if(!e)return(0,n.warn)("Optional content group not defined."),!0;if("OCG"===e.type)return this._groups.has(e.id)?this._groups.get(e.id).visible:((0,n.warn)("Optional content group not found: ".concat(e.id)),!0);if("OCMD"===e.type){if(e.expression)return this._evaluateVisibilityExpression(e.expression);if(!e.policy||"AnyOn"===e.policy){var t,r=o(e.ids);try{for(r.s();!(t=r.n()).done;){var a=t.value;if(!this._groups.has(a))return(0,n.warn)("Optional content group not found: ".concat(a)),!0;if(this._groups.get(a).visible)return!0}}catch(e){r.e(e)}finally{r.f()}return!1}if("AllOn"===e.policy){var i,s=o(e.ids);try{for(s.s();!(i=s.n()).done;){var u=i.value;if(!this._groups.has(u))return(0,n.warn)("Optional content group not found: ".concat(u)),!0;if(!this._groups.get(u).visible)return!1}}catch(e){s.e(e)}finally{s.f()}return!0}if("AnyOff"===e.policy){var l,c=o(e.ids);try{for(c.s();!(l=c.n()).done;){var f=l.value;if(!this._groups.has(f))return(0,n.warn)("Optional content group not found: ".concat(f)),!0;if(!this._groups.get(f).visible)return!0}}catch(e){c.e(e)}finally{c.f()}return!1}if("AllOff"===e.policy){var d,p=o(e.ids);try{for(p.s();!(d=p.n()).done;){var h=d.value;if(!this._groups.has(h))return(0,n.warn)("Optional content group not found: ".concat(h)),!0;if(this._groups.get(h).visible)return!1}}catch(e){p.e(e)}finally{p.f()}return!0}return(0,n.warn)("Unknown optional content policy ".concat(e.policy,".")),!0}return(0,n.warn)("Unknown group type ".concat(e.type,".")),!0}},{key:"setVisibility",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this._groups.has(e)?this._groups.get(e).visible=!!t:(0,n.warn)("Optional content group not found: ".concat(e))}},{key:"getOrder",value:function(){return this._groups.size?this._order?this._order.slice():Array.from(this._groups.keys()):null}},{key:"getGroups",value:function(){return this._groups.size>0?(0,n.objectFromMap)(this._groups):null}},{key:"getGroup",value:function(e){return this._groups.get(e)||null}}],r&&i(t.prototype,r),e}();t.OptionalContentConfig=l},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFDataTransportStream=void 0;var n,o=(n=r(2))&&n.__esModule?n:{default:n},a=r(4),i=r(1);function s(e,t,r,n,o,a,i){try{var s=e[a](i),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}function u(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function i(e){s(a,n,o,i,u,"next",e)}function u(e){s(a,n,o,i,u,"throw",e)}i(void 0)}))}}function l(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){s=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw a}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t,r){return t&&d(e.prototype,t),r&&d(e,r),e}var h=function(){function e(t,r){var n=this;f(this,e),(0,a.assert)(r,'PDFDataTransportStream - missing required "pdfDataRangeTransport" argument.'),this._queuedChunks=[],this._progressiveDone=t.progressiveDone||!1,this._contentDispositionFilename=t.contentDispositionFilename||null;var o=t.initialData;if((null==o?void 0:o.length)>0){var i=new Uint8Array(o).buffer;this._queuedChunks.push(i)}this._pdfDataRangeTransport=r,this._isStreamingSupported=!t.disableStream,this._isRangeSupported=!t.disableRange,this._contentLength=t.length,this._fullRequestReader=null,this._rangeReaders=[],this._pdfDataRangeTransport.addRangeListener((function(e,t){n._onReceiveData({begin:e,chunk:t})})),this._pdfDataRangeTransport.addProgressListener((function(e,t){n._onProgress({loaded:e,total:t})})),this._pdfDataRangeTransport.addProgressiveReadListener((function(e){n._onReceiveData({chunk:e})})),this._pdfDataRangeTransport.addProgressiveDoneListener((function(){n._onProgressiveDone()})),this._pdfDataRangeTransport.transportReady()}return p(e,[{key:"_onReceiveData",value:function(e){var t=new Uint8Array(e.chunk).buffer;if(void 0===e.begin)this._fullRequestReader?this._fullRequestReader._enqueue(t):this._queuedChunks.push(t);else{var r=this._rangeReaders.some((function(r){return r._begin===e.begin&&(r._enqueue(t),!0)}));(0,a.assert)(r,"_onReceiveData - no `PDFDataTransportStreamRangeReader` instance found.")}}},{key:"_progressiveDataLength",get:function(){var e,t;return null!==(e=null===(t=this._fullRequestReader)||void 0===t?void 0:t._loaded)&&void 0!==e?e:0}},{key:"_onProgress",value:function(e){if(void 0===e.total){var t=this._rangeReaders[0];null!=t&&t.onProgress&&t.onProgress({loaded:e.loaded})}else{var r=this._fullRequestReader;null!=r&&r.onProgress&&r.onProgress({loaded:e.loaded,total:e.total})}}},{key:"_onProgressiveDone",value:function(){this._fullRequestReader&&this._fullRequestReader.progressiveDone(),this._progressiveDone=!0}},{key:"_removeRangeReader",value:function(e){var t=this._rangeReaders.indexOf(e);t>=0&&this._rangeReaders.splice(t,1)}},{key:"getFullReader",value:function(){(0,a.assert)(!this._fullRequestReader,"PDFDataTransportStream.getFullReader can only be called once.");var e=this._queuedChunks;return this._queuedChunks=null,new v(this,e,this._progressiveDone,this._contentDispositionFilename)}},{key:"getRangeReader",value:function(e,t){if(t<=this._progressiveDataLength)return null;var r=new m(this,e,t);return this._pdfDataRangeTransport.requestDataRange(e,t),this._rangeReaders.push(r),r}},{key:"cancelAllRequests",value:function(e){this._fullRequestReader&&this._fullRequestReader.cancel(e);var t,r=l(this._rangeReaders.slice(0));try{for(r.s();!(t=r.n()).done;)t.value.cancel(e)}catch(e){r.e(e)}finally{r.f()}this._pdfDataRangeTransport.abort()}}]),e}();t.PDFDataTransportStream=h;var v=function(){function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;f(this,e),this._stream=t,this._done=n||!1,this._filename=(0,i.isPdfFile)(o)?o:null,this._queuedChunks=r||[],this._loaded=0;var a,s=l(this._queuedChunks);try{for(s.s();!(a=s.n()).done;){var u=a.value;this._loaded+=u.byteLength}}catch(e){s.e(e)}finally{s.f()}this._requests=[],this._headersReady=Promise.resolve(),t._fullRequestReader=this,this.onProgress=null}var t;return p(e,[{key:"_enqueue",value:function(e){this._done||(this._requests.length>0?this._requests.shift().resolve({value:e,done:!1}):this._queuedChunks.push(e),this._loaded+=e.byteLength)}},{key:"headersReady",get:function(){return this._headersReady}},{key:"filename",get:function(){return this._filename}},{key:"isRangeSupported",get:function(){return this._stream._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._stream._isStreamingSupported}},{key:"contentLength",get:function(){return this._stream._contentLength}},{key:"read",value:(t=u(o.default.mark((function e(){var t,r;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(this._queuedChunks.length>0)){e.next=3;break}return t=this._queuedChunks.shift(),e.abrupt("return",{value:t,done:!1});case 3:if(!this._done){e.next=5;break}return e.abrupt("return",{value:void 0,done:!0});case 5:return r=(0,a.createPromiseCapability)(),this._requests.push(r),e.abrupt("return",r.promise);case 8:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(e){this._done=!0;var t,r=l(this._requests);try{for(r.s();!(t=r.n()).done;)t.value.resolve({value:void 0,done:!0})}catch(e){r.e(e)}finally{r.f()}this._requests.length=0}},{key:"progressiveDone",value:function(){this._done||(this._done=!0)}}]),e}(),m=function(){function e(t,r,n){f(this,e),this._stream=t,this._begin=r,this._end=n,this._queuedChunk=null,this._requests=[],this._done=!1,this.onProgress=null}var t;return p(e,[{key:"_enqueue",value:function(e){if(!this._done){if(0===this._requests.length)this._queuedChunk=e;else{this._requests.shift().resolve({value:e,done:!1});var t,r=l(this._requests);try{for(r.s();!(t=r.n()).done;)t.value.resolve({value:void 0,done:!0})}catch(e){r.e(e)}finally{r.f()}this._requests.length=0}this._done=!0,this._stream._removeRangeReader(this)}}},{key:"isStreamingSupported",get:function(){return!1}},{key:"read",value:(t=u(o.default.mark((function e(){var t,r;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this._queuedChunk){e.next=4;break}return t=this._queuedChunk,this._queuedChunk=null,e.abrupt("return",{value:t,done:!1});case 4:if(!this._done){e.next=6;break}return e.abrupt("return",{value:void 0,done:!0});case 6:return r=(0,a.createPromiseCapability)(),this._requests.push(r),e.abrupt("return",r.promise);case 9:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(e){this._done=!0;var t,r=l(this._requests);try{for(r.s();!(t=r.n()).done;)t.value.resolve({value:void 0,done:!0})}catch(e){r.e(e)}finally{r.f()}this._requests.length=0,this._stream._removeRangeReader(this)}}]),e}()},(e,t)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}Object.defineProperty(t,"__esModule",{value:!0}),t.XfaText=void 0;var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,o;return t=e,o=[{key:"textContent",value:function(t){var n=[],o={items:n,styles:Object.create(null)};return function t(o){var a;if(o){var i=null,s=o.name;if("#text"===s)i=o.value;else{if(!e.shouldBuildText(s))return;null!=o&&null!==(a=o.attributes)&&void 0!==a&&a.textContent?i=o.attributes.textContent:o.value&&(i=o.value)}if(null!==i&&n.push({str:i}),o.children){var u,l=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0,a=function(){};return{s:a,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){u=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(u)throw i}}}}(o.children);try{for(l.s();!(u=l.n()).done;)t(u.value)}catch(e){l.e(e)}finally{l.f()}}}}(t),o}},{key:"shouldBuildText",value:function(e){return!("textarea"===e||"input"===e||"option"===e||"select"===e)}}],null&&n(t.prototype,null),o&&n(t,o),e}();t.XfaText=o},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.AnnotationLayer=void 0;var o=r(4),a=r(1),i=r(139),s=r(149),u=r(150);function l(e,t,r){return function(e,t){if(e!==t)throw new TypeError("Private static access of wrong provenance")}(e,t),r}function c(e,t,r){return c="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=m(e)););return e}(e,t);if(n){var o=Object.getOwnPropertyDescriptor(n,t);return o.get?o.get.call(r):o.value}},c(e,t,r||e)}function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}function p(e,t){return p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},p(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,o=m(e);if(t){var a=m(this).constructor;r=Reflect.construct(o,arguments,a)}else r=o.apply(this,arguments);return function(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return v(e)}(this,r)}}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function g(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=b(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){s=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw a}}}}function y(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],i=!0,s=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{i||null==r.return||r.return()}finally{if(s)throw o}}return a}}(e,t)||b(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e,t){if(e){if("string"==typeof e)return w(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?w(e,t):void 0}}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function A(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function S(e,t,r){return t&&A(e.prototype,t),r&&A(e,r),e}var k=1e3,x=new WeakSet,C=function(){function e(){_(this,e)}return S(e,null,[{key:"create",value:function(e){switch(e.data.annotationType){case o.AnnotationType.LINK:return new E(e);case o.AnnotationType.TEXT:return new T(e);case o.AnnotationType.WIDGET:switch(e.data.fieldType){case"Tx":return new O(e);case"Btn":return e.data.radioButton?new L(e):e.data.checkBox?new F(e):new D(e);case"Ch":return new M(e)}return new R(e);case o.AnnotationType.POPUP:return new I(e);case o.AnnotationType.FREETEXT:return new N(e);case o.AnnotationType.LINE:return new q(e);case o.AnnotationType.SQUARE:return new B(e);case o.AnnotationType.CIRCLE:return new U(e);case o.AnnotationType.POLYLINE:return new z(e);case o.AnnotationType.CARET:return new W(e);case o.AnnotationType.INK:return new H(e);case o.AnnotationType.POLYGON:return new V(e);case o.AnnotationType.HIGHLIGHT:return new G(e);case o.AnnotationType.UNDERLINE:return new X(e);case o.AnnotationType.SQUIGGLY:return new Y(e);case o.AnnotationType.STRIKEOUT:return new K(e);case o.AnnotationType.STAMP:return new $(e);case o.AnnotationType.FILEATTACHMENT:return new J(e);default:return new P(e)}}}]),e}(),P=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.isRenderable,o=void 0!==n&&n,a=r.ignoreBorder,i=void 0!==a&&a,s=r.createQuadrilaterals,u=void 0!==s&&s;_(this,e),this.isRenderable=o,this.data=t.data,this.layer=t.layer,this.page=t.page,this.viewport=t.viewport,this.linkService=t.linkService,this.downloadManager=t.downloadManager,this.imageResourcesPath=t.imageResourcesPath,this.renderForms=t.renderForms,this.svgFactory=t.svgFactory,this.annotationStorage=t.annotationStorage,this.enableScripting=t.enableScripting,this.hasJSActions=t.hasJSActions,this._fieldObjects=t.fieldObjects,this._mouseState=t.mouseState,o&&(this.container=this._createContainer(i)),u&&(this.quadrilaterals=this._createQuadrilaterals(i))}return S(e,[{key:"_createContainer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.data,r=this.page,n=this.viewport,a=document.createElement("section"),i=t.rect[2]-t.rect[0],s=t.rect[3]-t.rect[1];a.setAttribute("data-annotation-id",t.id);var u=o.Util.normalizeRect([t.rect[0],r.view[3]-t.rect[1]+r.view[1],t.rect[2],r.view[3]-t.rect[3]+r.view[1]]);if(t.hasOwnCanvas){var l=n.transform.slice(),c=y(o.Util.singularValueDecompose2dScale(l),2),f=c[0],d=c[1];i=Math.ceil(i*f),s=Math.ceil(s*d),u[0]*=f,u[1]*=d;for(var p=0;p<4;p++)l[p]=Math.sign(l[p]);a.style.transform="matrix(".concat(l.join(","),")")}else a.style.transform="matrix(".concat(n.transform.join(","),")");if(a.style.transformOrigin="".concat(-u[0],"px ").concat(-u[1],"px"),!e&&t.borderStyle.width>0){a.style.borderWidth="".concat(t.borderStyle.width,"px"),t.borderStyle.style!==o.AnnotationBorderStyleType.UNDERLINE&&(i-=2*t.borderStyle.width,s-=2*t.borderStyle.width);var h=t.borderStyle.horizontalCornerRadius,v=t.borderStyle.verticalCornerRadius;if(h>0||v>0){var m="".concat(h,"px / ").concat(v,"px");a.style.borderRadius=m}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.borderColor||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="".concat(u[0],"px"),a.style.top="".concat(u[1],"px"),t.hasOwnCanvas?a.style.width=a.style.height="auto":(a.style.width="".concat(i,"px"),a.style.height="".concat(s,"px")),a}},{key:"_createQuadrilaterals",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.data.quadPoints)return null;var t,r=[],n=this.data.rect,o=g(this.data.quadPoints);try{for(o.s();!(t=o.n()).done;){var a=t.value;this.data.rect=[a[2].x,a[2].y,a[1].x,a[1].y],r.push(this._createContainer(e))}}catch(e){o.e(e)}finally{o.f()}return this.data.rect=n,r}},{key:"_createPopup",value:function(e,t){var r=this.container;this.quadrilaterals&&(e=e||this.quadrilaterals,r=this.quadrilaterals[0]),e||((e=document.createElement("div")).style.height=r.style.height,e.style.width=r.style.width,r.appendChild(e));var n=new j({container:r,trigger:e,color:t.color,titleObj:t.titleObj,modificationDate:t.modificationDate,contentsObj:t.contentsObj,richText:t.richText,hideWrapper:!0}).render();n.style.left=r.style.width,r.appendChild(n)}},{key:"_renderQuadrilaterals",value:function(e){var t,r=g(this.quadrilaterals);try{for(r.s();!(t=r.n()).done;)t.value.className=e}catch(e){r.e(e)}finally{r.f()}return this.quadrilaterals}},{key:"render",value:function(){(0,o.unreachable)("Abstract method `AnnotationElement.render` called")}},{key:"_getElementsByName",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=[];if(this._fieldObjects){var n=this._fieldObjects[e];if(n){var a,i=g(n);try{for(i.s();!(a=i.n()).done;){var s=a.value,u=s.page,l=s.id,c=s.exportValues;if(-1!==u&&l!==t){var f="string"==typeof c?c:null,d=document.getElementById(l);!d||x.has(d)?r.push({id:l,exportValue:f,domElement:d}):(0,o.warn)("_getElementsByName - element not allowed: ".concat(l))}}}catch(e){i.e(e)}finally{i.f()}}return r}var p,h=g(document.getElementsByName(e));try{for(h.s();!(p=h.n()).done;){var v=p.value,m=v.id,y=v.exportValue;m!==t&&x.has(v)&&r.push({id:m,exportValue:y,domElement:v})}}catch(e){h.e(e)}finally{h.f()}return r}}],[{key:"platform",get:function(){var e="undefined"!=typeof navigator?navigator.platform:"";return(0,o.shadow)(this,"platform",{isWin:e.includes("Win"),isMac:e.includes("Mac")})}}]),e}(),E=function(e){d(r,e);var t=h(r);function r(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;_(this,r);var o=!!(e.data.url||e.data.dest||e.data.action||e.data.isTooltipOnly||e.data.resetForm||e.data.actions&&(e.data.actions.Action||e.data.actions["Mouse Up"]||e.data.actions["Mouse Down"]));return t.call(this,e,{isRenderable:o,ignoreBorder:!(null==n||!n.ignoreBorder),createQuadrilaterals:!0})}return S(r,[{key:"render",value:function(){var e,t=this.data,r=this.linkService,n=document.createElement("a");if(t.url)r.addLinkAttributes||(0,o.warn)("LinkAnnotationElement.render - missing `addLinkAttributes`-method on the `linkService`-instance."),null===(e=r.addLinkAttributes)||void 0===e||e.call(r,n,t.url,t.newWindow);else if(t.action)this._bindNamedAction(n,t.action);else if(t.dest)this._bindLink(n,t.dest);else{var a=!1;t.actions&&(t.actions.Action||t.actions["Mouse Up"]||t.actions["Mouse Down"])&&this.enableScripting&&this.hasJSActions&&(a=!0,this._bindJSAction(n,t)),t.resetForm?this._bindResetFormAction(n,t.resetForm):a||this._bindLink(n,"")}return this.quadrilaterals?this._renderQuadrilaterals("linkAnnotation").map((function(e,t){var r=0===t?n:n.cloneNode();return e.appendChild(r),e})):(this.container.className="linkAnnotation",this.container.appendChild(n),this.container)}},{key:"_bindLink",value:function(e,t){var r=this;e.href=this.linkService.getDestinationHash(t),e.onclick=function(){return t&&r.linkService.goToDestination(t),!1},(t||""===t)&&(e.className="internalLink")}},{key:"_bindNamedAction",value:function(e,t){var r=this;e.href=this.linkService.getAnchorUrl(""),e.onclick=function(){return r.linkService.executeNamedAction(t),!1},e.className="internalLink"}},{key:"_bindJSAction",value:function(e,t){var r=this;e.href=this.linkService.getAnchorUrl("");for(var n=new Map([["Action","onclick"],["Mouse Up","onmouseup"],["Mouse Down","onmousedown"]]),o=function(){var o=i[a],s=n.get(o);if(!s)return"continue";e[s]=function(){var e;return null===(e=r.linkService.eventBus)||void 0===e||e.dispatch("dispatcheventinsandbox",{source:r,detail:{id:t.id,name:o}}),!1}},a=0,i=Object.keys(t.actions);a<i.length;a++)o();e.onclick||(e.onclick=function(){return!1}),e.className="internalLink"}},{key:"_bindResetFormAction",value:function(e,t){var r=this,n=e.onclick;if(n||(e.href=this.linkService.getAnchorUrl("")),e.className="internalLink",!this._fieldObjects)return(0,o.warn)('_bindResetFormAction - "resetForm" action not supported, ensure that the `fieldObjects` parameter is provided.'),void(n||(e.onclick=function(){return!1}));e.onclick=function(){n&&n();var e,o=t.fields,a=t.refs,i=t.include,s=[];if(0!==o.length||0!==a.length){var u,l=new Set(a),c=g(o);try{for(c.s();!(u=c.n()).done;){var f,d=u.value,p=g(r._fieldObjects[d]||[]);try{for(p.s();!(f=p.n()).done;){var h=f.value.id;l.add(h)}}catch(e){p.e(e)}finally{p.f()}}}catch(e){c.e(e)}finally{c.f()}for(var v=0,m=Object.values(r._fieldObjects);v<m.length;v++){var y,_=g(m[v]);try{for(_.s();!(y=_.n()).done;){var A=y.value;l.has(A.id)===i&&s.push(A)}}catch(e){_.e(e)}finally{_.f()}}}else for(var S=0,k=Object.values(r._fieldObjects);S<k.length;S++){var C=k[S];s.push.apply(s,function(e){if(Array.isArray(e))return w(e)}(e=C)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||b(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())}for(var P,E=r.annotationStorage,T=[],R=0,O=s;R<O.length;R++){var F=O[R],L=F.id;switch(T.push(L),F.type){case"text":var D=F.defaultValue||"";E.setValue(L,{value:D,valueAsString:D});break;case"checkbox":case"radiobutton":var M=F.defaultValue===F.exportValues;E.setValue(L,{value:M});break;case"combobox":case"listbox":var I=F.defaultValue||"";E.setValue(L,{value:I});break;default:continue}var j=document.getElementById(L);j&&x.has(j)&&j.dispatchEvent(new Event("resetform"))}return r.enableScripting&&(null===(P=r.linkService.eventBus)||void 0===P||P.dispatch("dispatcheventinsandbox",{source:r,detail:{id:"app",ids:T,name:"ResetForm"}})),!1}}}]),r}(P),T=function(e){d(r,e);var t=h(r);function r(e){var n,o,a;_(this,r);var i=!!(e.data.hasPopup||null!==(n=e.data.titleObj)&&void 0!==n&&n.str||null!==(o=e.data.contentsObj)&&void 0!==o&&o.str||null!==(a=e.data.richText)&&void 0!==a&&a.str);return t.call(this,e,{isRenderable:i})}return S(r,[{key:"render",value:function(){this.container.className="textAnnotation";var 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}}]),r}(P),R=function(e){d(r,e);var t=h(r);function r(){return _(this,r),t.apply(this,arguments)}return S(r,[{key:"render",value:function(){return this.data.alternativeText&&(this.container.title=this.data.alternativeText),this.container}},{key:"_getKeyModifier",value:function(e){var t=P.platform,r=t.isWin,n=t.isMac;return r&&e.ctrlKey||n&&e.metaKey}},{key:"_setEventListener",value:function(e,t,r,n){var o=this;t.includes("mouse")?e.addEventListener(t,(function(e){var t;null===(t=o.linkService.eventBus)||void 0===t||t.dispatch("dispatcheventinsandbox",{source:o,detail:{id:o.data.id,name:r,value:n(e),shift:e.shiftKey,modifier:o._getKeyModifier(e)}})})):e.addEventListener(t,(function(e){var t;null===(t=o.linkService.eventBus)||void 0===t||t.dispatch("dispatcheventinsandbox",{source:o,detail:{id:o.data.id,name:r,value:e.target.checked}})}))}},{key:"_setEventListeners",value:function(e,t,r){var n,o=g(t);try{for(o.s();!(n=o.n()).done;){var a,i=y(n.value,2),s=i[0],u=i[1];("Action"===u||null!==(a=this.data.actions)&&void 0!==a&&a[u])&&this._setEventListener(e,s,u,r)}}catch(e){o.e(e)}finally{o.f()}}},{key:"_setBackgroundColor",value:function(e){var t=this.data.backgroundColor||null;e.style.backgroundColor=null===t?"transparent":o.Util.makeHexColor(t[0],t[1],t[2])}},{key:"_dispatchEventFromSandbox",value:function(e,t){for(var r=this,n=function(e,t,r){var n=r.detail[e];r.target.style[t]=s.ColorConverters["".concat(n[0],"_HTML")](n.slice(1))},o={display:function(e){var t=e.detail.display%2==1;e.target.style.visibility=t?"hidden":"visible",r.annotationStorage.setValue(r.data.id,{hidden:t,print:0===e.detail.display||3===e.detail.display})},print:function(e){r.annotationStorage.setValue(r.data.id,{print:e.detail.print})},hidden:function(e){e.target.style.visibility=e.detail.hidden?"hidden":"visible",r.annotationStorage.setValue(r.data.id,{hidden:e.detail.hidden})},focus:function(e){setTimeout((function(){return e.target.focus({preventScroll:!1})}),0)},userName:function(e){e.target.title=e.detail.userName},readonly:function(e){e.detail.readonly?e.target.setAttribute("readonly",""):e.target.removeAttribute("readonly")},required:function(e){e.detail.required?e.target.setAttribute("required",""):e.target.removeAttribute("required")},bgColor:function(e){n("bgColor","backgroundColor",e)},fillColor:function(e){n("fillColor","backgroundColor",e)},fgColor:function(e){n("fgColor","color",e)},textColor:function(e){n("textColor","color",e)},borderColor:function(e){n("borderColor","borderColor",e)},strokeColor:function(e){n("strokeColor","borderColor",e)}},a=0,i=Object.keys(t.detail);a<i.length;a++){var u=i[a],l=e[u]||o[u];l&&l(t)}}}]),r}(P),O=function(e){d(r,e);var t=h(r);function r(e){_(this,r);var n=e.renderForms||!e.data.hasAppearance&&!!e.data.fieldValue;return t.call(this,e,{isRenderable:n})}return S(r,[{key:"setPropertyOnSiblings",value:function(e,t,r,n){var o,a=this.annotationStorage,i=g(this._getElementsByName(e.name,e.id));try{for(i.s();!(o=i.n()).done;){var s=o.value;s.domElement&&(s.domElement[t]=r),a.setValue(s.id,f({},n,r))}}catch(e){i.e(e)}finally{i.f()}}},{key:"render",value:function(){var e=this,t=this.annotationStorage,r=this.data.id;this.container.className="textWidgetAnnotation";var n=null;if(this.renderForms){var o=t.getValue(r,{value:this.data.fieldValue,valueAsString:this.data.fieldValue}),a=o.valueAsString||o.value||"",i={userValue:null,formattedValue:null,beforeInputSelectionRange:null,beforeInputValue:null};this.data.multiLine?(n=document.createElement("textarea")).textContent=a:((n=document.createElement("input")).type="text",n.setAttribute("value",a)),x.add(n),n.disabled=this.data.readOnly,n.name=this.data.fieldName,n.tabIndex=k,i.userValue=a,n.setAttribute("id",r),n.addEventListener("input",(function(o){t.setValue(r,{value:o.target.value}),e.setPropertyOnSiblings(n,"value",o.target.value,"value")})),n.addEventListener("resetform",(function(t){var r=e.data.defaultFieldValue||"";n.value=i.userValue=r,delete i.formattedValue}));var s=function(e){i.formattedValue&&(e.target.value=i.formattedValue),e.target.scrollLeft=0,i.beforeInputSelectionRange=null};if(this.enableScripting&&this.hasJSActions){var u;n.addEventListener("focus",(function(e){i.userValue&&(e.target.value=i.userValue)})),n.addEventListener("updatefromsandbox",(function(n){var o={value:function(e){i.userValue=e.detail.value||"",t.setValue(r,{value:i.userValue.toString()}),i.formattedValue||(e.target.value=i.userValue)},valueAsString:function(e){i.formattedValue=e.detail.valueAsString||"",e.target!==document.activeElement&&(e.target.value=i.formattedValue),t.setValue(r,{formattedValue:i.formattedValue})},selRange:function(e){var t=y(e.detail.selRange,2),r=t[0],n=t[1];r>=0&&n<e.target.value.length&&e.target.setSelectionRange(r,n)}};e._dispatchEventFromSandbox(o,n)})),n.addEventListener("keydown",(function(t){var n;i.beforeInputValue=t.target.value;var o=-1;"Escape"===t.key?o=0:"Enter"===t.key?o=2:"Tab"===t.key&&(o=3),-1!==o&&(i.userValue=t.target.value,null===(n=e.linkService.eventBus)||void 0===n||n.dispatch("dispatcheventinsandbox",{source:e,detail:{id:r,name:"Keystroke",value:t.target.value,willCommit:!0,commitKey:o,selStart:t.target.selectionStart,selEnd:t.target.selectionEnd}}))}));var l=s;s=null,n.addEventListener("blur",(function(t){var n;e._mouseState.isDown&&(i.userValue=t.target.value,null===(n=e.linkService.eventBus)||void 0===n||n.dispatch("dispatcheventinsandbox",{source:e,detail:{id:r,name:"Keystroke",value:t.target.value,willCommit:!0,commitKey:1,selStart:t.target.selectionStart,selEnd:t.target.selectionEnd}})),l(t)})),n.addEventListener("mousedown",(function(e){i.beforeInputValue=e.target.value,i.beforeInputSelectionRange=null})),n.addEventListener("keyup",(function(e){e.target.selectionStart===e.target.selectionEnd&&(i.beforeInputSelectionRange=null)})),n.addEventListener("select",(function(e){i.beforeInputSelectionRange=[e.target.selectionStart,e.target.selectionEnd]})),null!==(u=this.data.actions)&&void 0!==u&&u.Keystroke&&n.addEventListener("input",(function(t){var n,o=-1,a=-1;if(i.beforeInputSelectionRange){var s=y(i.beforeInputSelectionRange,2);o=s[0],a=s[1]}null===(n=e.linkService.eventBus)||void 0===n||n.dispatch("dispatcheventinsandbox",{source:e,detail:{id:r,name:"Keystroke",value:i.beforeInputValue,change:t.data,willCommit:!1,selStart:o,selEnd:a}})})),this._setEventListeners(n,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],(function(e){return e.target.value}))}if(s&&n.addEventListener("blur",s),null!==this.data.maxLen&&(n.maxLength=this.data.maxLen),this.data.comb){var c=(this.data.rect[2]-this.data.rect[0])/this.data.maxLen;n.classList.add("comb"),n.style.letterSpacing="calc(".concat(c,"px - 1ch)")}}else(n=document.createElement("div")).textContent=this.data.fieldValue,n.style.verticalAlign="middle",n.style.display="table-cell";return this._setTextStyle(n),this._setBackgroundColor(n),this.container.appendChild(n),this.container}},{key:"_setTextStyle",value:function(e){var t=this.data.defaultAppearanceData,r=t.fontSize,n=t.fontColor,a=e.style;r&&(a.fontSize="".concat(r,"px")),a.color=o.Util.makeHexColor(n[0],n[1],n[2]),null!==this.data.textAlignment&&(a.textAlign=["left","center","right"][this.data.textAlignment])}}]),r}(R),F=function(e){d(r,e);var t=h(r);function r(e){return _(this,r),t.call(this,e,{isRenderable:e.renderForms})}return S(r,[{key:"render",value:function(){var e=this,t=this.annotationStorage,r=this.data,n=r.id,o=t.getValue(n,{value:r.exportValue===r.fieldValue}).value;"string"==typeof o&&(o="Off"!==o,t.setValue(n,{value:o})),this.container.className="buttonWidgetAnnotation checkBox";var a=document.createElement("input");return x.add(a),a.disabled=r.readOnly,a.type="checkbox",a.name=r.fieldName,o&&a.setAttribute("checked",!0),a.setAttribute("id",n),a.setAttribute("exportValue",r.exportValue),a.tabIndex=k,a.addEventListener("change",(function(o){var a,i=o.target,s=i.name,u=i.checked,l=g(e._getElementsByName(s,n));try{for(l.s();!(a=l.n()).done;){var c=a.value,f=u&&c.exportValue===r.exportValue;c.domElement&&(c.domElement.checked=f),t.setValue(c.id,{value:f})}}catch(e){l.e(e)}finally{l.f()}t.setValue(n,{value:u})})),a.addEventListener("resetform",(function(e){var t=r.defaultFieldValue||"Off";e.target.checked=t===r.exportValue})),this.enableScripting&&this.hasJSActions&&(a.addEventListener("updatefromsandbox",(function(r){var o={value:function(e){e.target.checked="Off"!==e.detail.value,t.setValue(n,{value:e.target.checked})}};e._dispatchEventFromSandbox(o,r)})),this._setEventListeners(a,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],(function(e){return e.target.checked}))),this._setBackgroundColor(a),this.container.appendChild(a),this.container}}]),r}(R),L=function(e){d(r,e);var t=h(r);function r(e){return _(this,r),t.call(this,e,{isRenderable:e.renderForms})}return S(r,[{key:"render",value:function(){var e=this;this.container.className="buttonWidgetAnnotation radioButton";var t=this.annotationStorage,r=this.data,n=r.id,o=t.getValue(n,{value:r.fieldValue===r.buttonValue}).value;"string"==typeof o&&(o=o!==r.buttonValue,t.setValue(n,{value:o}));var a=document.createElement("input");if(x.add(a),a.disabled=r.readOnly,a.type="radio",a.name=r.fieldName,o&&a.setAttribute("checked",!0),a.setAttribute("id",n),a.tabIndex=k,a.addEventListener("change",(function(r){var o,a=r.target,i=a.name,s=a.checked,u=g(e._getElementsByName(i,n));try{for(u.s();!(o=u.n()).done;){var l=o.value;t.setValue(l.id,{value:!1})}}catch(e){u.e(e)}finally{u.f()}t.setValue(n,{value:s})})),a.addEventListener("resetform",(function(e){var t=r.defaultFieldValue;e.target.checked=null!=t&&t===r.buttonValue})),this.enableScripting&&this.hasJSActions){var i=r.buttonValue;a.addEventListener("updatefromsandbox",(function(r){var o={value:function(r){var o,a=i===r.detail.value,s=g(e._getElementsByName(r.target.name));try{for(s.s();!(o=s.n()).done;){var u=o.value,l=a&&u.id===n;u.domElement&&(u.domElement.checked=l),t.setValue(u.id,{value:l})}}catch(e){s.e(e)}finally{s.f()}}};e._dispatchEventFromSandbox(o,r)})),this._setEventListeners(a,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],(function(e){return e.target.checked}))}return this._setBackgroundColor(a),this.container.appendChild(a),this.container}}]),r}(R),D=function(e){d(r,e);var t=h(r);function r(e){return _(this,r),t.call(this,e,{ignoreBorder:e.data.hasAppearance})}return S(r,[{key:"render",value:function(){var e=c(m(r.prototype),"render",this).call(this);return e.className="buttonWidgetAnnotation pushButton",this.data.alternativeText&&(e.title=this.data.alternativeText),e}}]),r}(E),M=function(e){d(r,e);var t=h(r);function r(e){return _(this,r),t.call(this,e,{isRenderable:e.renderForms})}return S(r,[{key:"render",value:function(){var e=this;this.container.className="choiceWidgetAnnotation";var t=this.annotationStorage,r=this.data.id;t.getValue(r,{value:this.data.fieldValue.length>0?this.data.fieldValue[0]:void 0});var n=this.data.defaultAppearanceData.fontSize;n||(n=9);var o="calc(".concat(n,"px * var(--zoom-factor))"),a=document.createElement("select");x.add(a),a.disabled=this.data.readOnly,a.name=this.data.fieldName,a.setAttribute("id",r),a.tabIndex=k,a.style.fontSize="".concat(n,"px"),this.data.combo||(a.size=this.data.options.length,this.data.multiSelect&&(a.multiple=!0)),a.addEventListener("resetform",(function(t){var r,n=e.data.defaultFieldValue,o=g(a.options);try{for(o.s();!(r=o.n()).done;){var i=r.value;i.selected=i.value===n}}catch(e){o.e(e)}finally{o.f()}}));var i,s=g(this.data.options);try{for(s.s();!(i=s.n()).done;){var u=i.value,l=document.createElement("option");l.textContent=u.displayValue,l.value=u.exportValue,this.data.combo&&(l.style.fontSize=o),this.data.fieldValue.includes(u.exportValue)&&l.setAttribute("selected",!0),a.appendChild(l)}}catch(e){s.e(e)}finally{s.f()}var c=function(e,t){var r=t?"value":"textContent",n=e.target.options;return e.target.multiple?Array.prototype.filter.call(n,(function(e){return e.selected})).map((function(e){return e[r]})):-1===n.selectedIndex?null:n[n.selectedIndex][r]},f=function(e){var t=e.target.options;return Array.prototype.map.call(t,(function(e){return{displayValue:e.textContent,exportValue:e.value}}))};return this.enableScripting&&this.hasJSActions?(a.addEventListener("updatefromsandbox",(function(n){var o={value:function(e){var n,o=e.detail.value,i=new Set(Array.isArray(o)?o:[o]),s=g(a.options);try{for(s.s();!(n=s.n()).done;){var u=n.value;u.selected=i.has(u.value)}}catch(e){s.e(e)}finally{s.f()}t.setValue(r,{value:c(e,!0)})},multipleSelection:function(e){a.multiple=!0},remove:function(e){var n=a.options,o=e.detail.remove;if(n[o].selected=!1,a.remove(o),n.length>0){var i=Array.prototype.findIndex.call(n,(function(e){return e.selected}));-1===i&&(n[0].selected=!0)}t.setValue(r,{value:c(e,!0),items:f(e)})},clear:function(e){for(;0!==a.length;)a.remove(0);t.setValue(r,{value:null,items:[]})},insert:function(e){var n=e.detail.insert,o=n.index,i=n.displayValue,s=n.exportValue,u=document.createElement("option");u.textContent=i,u.value=s,a.insertBefore(u,a.children[o]),t.setValue(r,{value:c(e,!0),items:f(e)})},items:function(e){for(var n=e.detail.items;0!==a.length;)a.remove(0);var o,i=g(n);try{for(i.s();!(o=i.n()).done;){var s=o.value,u=s.displayValue,l=s.exportValue,d=document.createElement("option");d.textContent=u,d.value=l,a.appendChild(d)}}catch(e){i.e(e)}finally{i.f()}a.options.length>0&&(a.options[0].selected=!0),t.setValue(r,{value:c(e,!0),items:f(e)})},indices:function(e){var n,o=new Set(e.detail.indices),a=g(e.target.options);try{for(a.s();!(n=a.n()).done;){var i=n.value;i.selected=o.has(i.index)}}catch(e){a.e(e)}finally{a.f()}t.setValue(r,{value:c(e,!0)})},editable:function(e){e.target.disabled=!e.detail.editable}};e._dispatchEventFromSandbox(o,n)})),a.addEventListener("input",(function(n){var o,a=c(n,!0),i=c(n,!1);t.setValue(r,{value:a}),null===(o=e.linkService.eventBus)||void 0===o||o.dispatch("dispatcheventinsandbox",{source:e,detail:{id:r,name:"Keystroke",value:i,changeEx:a,willCommit:!0,commitKey:1,keyDown:!1}})})),this._setEventListeners(a,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"],["input","Action"]],(function(e){return e.target.checked}))):a.addEventListener("input",(function(e){t.setValue(r,{value:c(e)})})),this._setBackgroundColor(a),this.container.appendChild(a),this.container}}]),r}(R),I=function(e){d(r,e);var t=h(r);function r(e){var n,o,a;_(this,r);var i=!!(null!==(n=e.data.titleObj)&&void 0!==n&&n.str||null!==(o=e.data.contentsObj)&&void 0!==o&&o.str||null!==(a=e.data.richText)&&void 0!==a&&a.str);return t.call(this,e,{isRenderable:i})}return S(r,[{key:"render",value:function(){if(this.container.className="popupAnnotation",["Line","Square","Circle","PolyLine","Polygon","Ink"].includes(this.data.parentType))return this.container;var e='[data-annotation-id="'.concat(this.data.parentId,'"]'),t=this.layer.querySelectorAll(e);if(0===t.length)return this.container;var r=new j({container:this.container,trigger:Array.from(t),color:this.data.color,titleObj:this.data.titleObj,modificationDate:this.data.modificationDate,contentsObj:this.data.contentsObj,richText:this.data.richText}),n=this.page,a=o.Util.normalizeRect([this.data.parentRect[0],n.view[3]-this.data.parentRect[1]+n.view[1],this.data.parentRect[2],n.view[3]-this.data.parentRect[3]+n.view[1]]),i=a[0]+this.data.parentRect[2]-this.data.parentRect[0],s=a[1];return this.container.style.transformOrigin="".concat(-i,"px ").concat(-s,"px"),this.container.style.left="".concat(i,"px"),this.container.style.top="".concat(s,"px"),this.container.appendChild(r.render()),this.container}}]),r}(P),j=function(){function e(t){_(this,e),this.container=t.container,this.trigger=t.trigger,this.color=t.color,this.titleObj=t.titleObj,this.modificationDate=t.modificationDate,this.contentsObj=t.contentsObj,this.richText=t.richText,this.hideWrapper=t.hideWrapper||!1,this.pinned=!1}return S(e,[{key:"render",value:function(){var e,t,r=document.createElement("div");r.className="popupWrapper",this.hideElement=this.hideWrapper?r:this.container,this.hideElement.hidden=!0;var n=document.createElement("div");n.className="popup";var i=this.color;if(i){var s=.7*(255-i[0])+i[0],l=.7*(255-i[1])+i[1],c=.7*(255-i[2])+i[2];n.style.backgroundColor=o.Util.makeHexColor(0|s,0|l,0|c)}var f=document.createElement("h1");f.dir=this.titleObj.dir,f.textContent=this.titleObj.str,n.appendChild(f);var d=a.PDFDateString.toDateObject(this.modificationDate);if(d){var p=document.createElement("span");p.className="popupDate",p.textContent="{{date}}, {{time}}",p.dataset.l10nId="annotation_date_string",p.dataset.l10nArgs=JSON.stringify({date:d.toLocaleDateString(),time:d.toLocaleTimeString()}),n.appendChild(p)}if(null===(e=this.richText)||void 0===e||!e.str||null!==(t=this.contentsObj)&&void 0!==t&&t.str&&this.contentsObj.str!==this.richText.str){var h=this._formatContents(this.contentsObj);n.appendChild(h)}else u.XfaLayer.render({xfaHtml:this.richText.html,intent:"richText",div:n}),n.lastChild.className="richText popupContent";Array.isArray(this.trigger)||(this.trigger=[this.trigger]);var v,m=g(this.trigger);try{for(m.s();!(v=m.n()).done;){var y=v.value;y.addEventListener("click",this._toggle.bind(this)),y.addEventListener("mouseover",this._show.bind(this,!1)),y.addEventListener("mouseout",this._hide.bind(this,!1))}}catch(e){m.e(e)}finally{m.f()}return n.addEventListener("click",this._hide.bind(this,!0)),r.appendChild(n),r}},{key:"_formatContents",value:function(e){var t=e.str,r=e.dir,n=document.createElement("p");n.className="popupContent",n.dir=r;for(var o=t.split(/(?:\r\n?|\n)/),a=0,i=o.length;a<i;++a){var s=o[a];n.appendChild(document.createTextNode(s)),a<i-1&&n.appendChild(document.createElement("br"))}return n}},{key:"_toggle",value:function(){this.pinned?this._hide(!0):this._show(!0)}},{key:"_show",value:function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&(this.pinned=!0),this.hideElement.hidden&&(this.hideElement.hidden=!1,this.container.style.zIndex+=1)}},{key:"_hide",value:function(){(!(arguments.length>0&&void 0!==arguments[0])||arguments[0])&&(this.pinned=!1),this.hideElement.hidden||this.pinned||(this.hideElement.hidden=!0,this.container.style.zIndex-=1)}}]),e}(),N=function(e){d(r,e);var t=h(r);function r(e){var n,o,a;_(this,r);var i=!!(e.data.hasPopup||null!==(n=e.data.titleObj)&&void 0!==n&&n.str||null!==(o=e.data.contentsObj)&&void 0!==o&&o.str||null!==(a=e.data.richText)&&void 0!==a&&a.str);return t.call(this,e,{isRenderable:i,ignoreBorder:!0})}return S(r,[{key:"render",value:function(){return this.container.className="freeTextAnnotation",this.data.hasPopup||this._createPopup(null,this.data),this.container}}]),r}(P),q=function(e){d(r,e);var t=h(r);function r(e){var n,o,a;_(this,r);var i=!!(e.data.hasPopup||null!==(n=e.data.titleObj)&&void 0!==n&&n.str||null!==(o=e.data.contentsObj)&&void 0!==o&&o.str||null!==(a=e.data.richText)&&void 0!==a&&a.str);return t.call(this,e,{isRenderable:i,ignoreBorder:!0})}return S(r,[{key:"render",value:function(){this.container.className="lineAnnotation";var e=this.data,t=e.rect[2]-e.rect[0],r=e.rect[3]-e.rect[1],n=this.svgFactory.create(t,r),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"),o.setAttribute("fill","transparent"),n.appendChild(o),this.container.append(n),this._createPopup(o,e),this.container}}]),r}(P),B=function(e){d(r,e);var t=h(r);function r(e){var n,o,a;_(this,r);var i=!!(e.data.hasPopup||null!==(n=e.data.titleObj)&&void 0!==n&&n.str||null!==(o=e.data.contentsObj)&&void 0!==o&&o.str||null!==(a=e.data.richText)&&void 0!==a&&a.str);return t.call(this,e,{isRenderable:i,ignoreBorder:!0})}return S(r,[{key:"render",value:function(){this.container.className="squareAnnotation";var e=this.data,t=e.rect[2]-e.rect[0],r=e.rect[3]-e.rect[1],n=this.svgFactory.create(t,r),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",r-o),a.setAttribute("stroke-width",o||1),a.setAttribute("stroke","transparent"),a.setAttribute("fill","transparent"),n.appendChild(a),this.container.append(n),this._createPopup(a,e),this.container}}]),r}(P),U=function(e){d(r,e);var t=h(r);function r(e){var n,o,a;_(this,r);var i=!!(e.data.hasPopup||null!==(n=e.data.titleObj)&&void 0!==n&&n.str||null!==(o=e.data.contentsObj)&&void 0!==o&&o.str||null!==(a=e.data.richText)&&void 0!==a&&a.str);return t.call(this,e,{isRenderable:i,ignoreBorder:!0})}return S(r,[{key:"render",value:function(){this.container.className="circleAnnotation";var e=this.data,t=e.rect[2]-e.rect[0],r=e.rect[3]-e.rect[1],n=this.svgFactory.create(t,r),o=e.borderStyle.width,a=this.svgFactory.createElement("svg:ellipse");return a.setAttribute("cx",t/2),a.setAttribute("cy",r/2),a.setAttribute("rx",t/2-o/2),a.setAttribute("ry",r/2-o/2),a.setAttribute("stroke-width",o||1),a.setAttribute("stroke","transparent"),a.setAttribute("fill","transparent"),n.appendChild(a),this.container.append(n),this._createPopup(a,e),this.container}}]),r}(P),z=function(e){d(r,e);var t=h(r);function r(e){var n,o,a,i;_(this,r);var s=!!(e.data.hasPopup||null!==(n=e.data.titleObj)&&void 0!==n&&n.str||null!==(o=e.data.contentsObj)&&void 0!==o&&o.str||null!==(a=e.data.richText)&&void 0!==a&&a.str);return(i=t.call(this,e,{isRenderable:s,ignoreBorder:!0})).containerClassName="polylineAnnotation",i.svgElementName="svg:polyline",i}return S(r,[{key:"render",value:function(){this.container.className=this.containerClassName;var e,t=this.data,r=t.rect[2]-t.rect[0],n=t.rect[3]-t.rect[1],o=this.svgFactory.create(r,n),a=[],i=g(t.vertices);try{for(i.s();!(e=i.n()).done;){var s=e.value,u=s.x-t.rect[0],l=t.rect[3]-s.y;a.push(u+","+l)}}catch(e){i.e(e)}finally{i.f()}a=a.join(" ");var c=this.svgFactory.createElement(this.svgElementName);return c.setAttribute("points",a),c.setAttribute("stroke-width",t.borderStyle.width||1),c.setAttribute("stroke","transparent"),c.setAttribute("fill","transparent"),o.appendChild(c),this.container.append(o),this._createPopup(c,t),this.container}}]),r}(P),V=function(e){d(r,e);var t=h(r);function r(e){var n;return _(this,r),(n=t.call(this,e)).containerClassName="polygonAnnotation",n.svgElementName="svg:polygon",n}return r}(z),W=function(e){d(r,e);var t=h(r);function r(e){var n,o,a;_(this,r);var i=!!(e.data.hasPopup||null!==(n=e.data.titleObj)&&void 0!==n&&n.str||null!==(o=e.data.contentsObj)&&void 0!==o&&o.str||null!==(a=e.data.richText)&&void 0!==a&&a.str);return t.call(this,e,{isRenderable:i,ignoreBorder:!0})}return S(r,[{key:"render",value:function(){return this.container.className="caretAnnotation",this.data.hasPopup||this._createPopup(null,this.data),this.container}}]),r}(P),H=function(e){d(r,e);var t=h(r);function r(e){var n,o,a,i;_(this,r);var s=!!(e.data.hasPopup||null!==(n=e.data.titleObj)&&void 0!==n&&n.str||null!==(o=e.data.contentsObj)&&void 0!==o&&o.str||null!==(a=e.data.richText)&&void 0!==a&&a.str);return(i=t.call(this,e,{isRenderable:s,ignoreBorder:!0})).containerClassName="inkAnnotation",i.svgElementName="svg:polyline",i}return S(r,[{key:"render",value:function(){this.container.className=this.containerClassName;var e,t=this.data,r=t.rect[2]-t.rect[0],n=t.rect[3]-t.rect[1],o=this.svgFactory.create(r,n),a=g(t.inkLists);try{for(a.s();!(e=a.n()).done;){var i,s=e.value,u=[],l=g(s);try{for(l.s();!(i=l.n()).done;){var c=i.value,f=c.x-t.rect[0],d=t.rect[3]-c.y;u.push("".concat(f,",").concat(d))}}catch(e){l.e(e)}finally{l.f()}u=u.join(" ");var p=this.svgFactory.createElement(this.svgElementName);p.setAttribute("points",u),p.setAttribute("stroke-width",t.borderStyle.width||1),p.setAttribute("stroke","transparent"),p.setAttribute("fill","transparent"),this._createPopup(p,t),o.appendChild(p)}}catch(e){a.e(e)}finally{a.f()}return this.container.append(o),this.container}}]),r}(P),G=function(e){d(r,e);var t=h(r);function r(e){var n,o,a;_(this,r);var i=!!(e.data.hasPopup||null!==(n=e.data.titleObj)&&void 0!==n&&n.str||null!==(o=e.data.contentsObj)&&void 0!==o&&o.str||null!==(a=e.data.richText)&&void 0!==a&&a.str);return t.call(this,e,{isRenderable:i,ignoreBorder:!0,createQuadrilaterals:!0})}return S(r,[{key:"render",value:function(){return this.data.hasPopup||this._createPopup(null,this.data),this.quadrilaterals?this._renderQuadrilaterals("highlightAnnotation"):(this.container.className="highlightAnnotation",this.container)}}]),r}(P),X=function(e){d(r,e);var t=h(r);function r(e){var n,o,a;_(this,r);var i=!!(e.data.hasPopup||null!==(n=e.data.titleObj)&&void 0!==n&&n.str||null!==(o=e.data.contentsObj)&&void 0!==o&&o.str||null!==(a=e.data.richText)&&void 0!==a&&a.str);return t.call(this,e,{isRenderable:i,ignoreBorder:!0,createQuadrilaterals:!0})}return S(r,[{key:"render",value:function(){return this.data.hasPopup||this._createPopup(null,this.data),this.quadrilaterals?this._renderQuadrilaterals("underlineAnnotation"):(this.container.className="underlineAnnotation",this.container)}}]),r}(P),Y=function(e){d(r,e);var t=h(r);function r(e){var n,o,a;_(this,r);var i=!!(e.data.hasPopup||null!==(n=e.data.titleObj)&&void 0!==n&&n.str||null!==(o=e.data.contentsObj)&&void 0!==o&&o.str||null!==(a=e.data.richText)&&void 0!==a&&a.str);return t.call(this,e,{isRenderable:i,ignoreBorder:!0,createQuadrilaterals:!0})}return S(r,[{key:"render",value:function(){return this.data.hasPopup||this._createPopup(null,this.data),this.quadrilaterals?this._renderQuadrilaterals("squigglyAnnotation"):(this.container.className="squigglyAnnotation",this.container)}}]),r}(P),K=function(e){d(r,e);var t=h(r);function r(e){var n,o,a;_(this,r);var i=!!(e.data.hasPopup||null!==(n=e.data.titleObj)&&void 0!==n&&n.str||null!==(o=e.data.contentsObj)&&void 0!==o&&o.str||null!==(a=e.data.richText)&&void 0!==a&&a.str);return t.call(this,e,{isRenderable:i,ignoreBorder:!0,createQuadrilaterals:!0})}return S(r,[{key:"render",value:function(){return this.data.hasPopup||this._createPopup(null,this.data),this.quadrilaterals?this._renderQuadrilaterals("strikeoutAnnotation"):(this.container.className="strikeoutAnnotation",this.container)}}]),r}(P),$=function(e){d(r,e);var t=h(r);function r(e){var n,o,a;_(this,r);var i=!!(e.data.hasPopup||null!==(n=e.data.titleObj)&&void 0!==n&&n.str||null!==(o=e.data.contentsObj)&&void 0!==o&&o.str||null!==(a=e.data.richText)&&void 0!==a&&a.str);return t.call(this,e,{isRenderable:i,ignoreBorder:!0})}return S(r,[{key:"render",value:function(){return this.container.className="stampAnnotation",this.data.hasPopup||this._createPopup(null,this.data),this.container}}]),r}(P),J=function(e){d(r,e);var t=h(r);function r(e){var n,i;_(this,r);var s=(i=t.call(this,e,{isRenderable:!0})).data.file,u=s.filename,l=s.content;return i.filename=(0,a.getFilenameFromUrl)(u),i.content=l,null===(n=i.linkService.eventBus)||void 0===n||n.dispatch("fileattachmentannotation",{source:v(i),id:(0,o.stringToPDFString)(u),filename:u,content:l}),i}return S(r,[{key:"render",value:function(){var e,t;this.container.className="fileAttachmentAnnotation";var r=document.createElement("div");return r.style.height=this.container.style.height,r.style.width=this.container.style.width,r.addEventListener("dblclick",this._download.bind(this)),!this.data.hasPopup&&(null!==(e=this.data.titleObj)&&void 0!==e&&e.str||null!==(t=this.data.contentsObj)&&void 0!==t&&t.str||this.data.richText)&&this._createPopup(r,this.data),this.container.appendChild(r),this.container}},{key:"_download",value:function(){var e;null===(e=this.downloadManager)||void 0===e||e.openOrDownloadData(this.container,this.content,this.filename)}}]),r}(P),Q=function(){function e(){_(this,e)}return S(e,null,[{key:"render",value:function(t){var r,n=[],s=[],u=g(t.annotations);try{for(u.s();!(r=u.n()).done;){var c=r.value;c&&(c.annotationType!==o.AnnotationType.POPUP?n.push(c):s.push(c))}}catch(e){u.e(e)}finally{u.f()}s.length&&n.push.apply(n,s);for(var f=t.div,d=0,p=n;d<p.length;d++){var h=p[d],v=C.create({data:h,layer:f,page:t.page,viewport:t.viewport,linkService:t.linkService,downloadManager:t.downloadManager,imageResourcesPath:t.imageResourcesPath||"",renderForms:!1!==t.renderForms,svgFactory:new a.DOMSVGFactory,annotationStorage:t.annotationStorage||new i.AnnotationStorage,enableScripting:t.enableScripting,hasJSActions:t.hasJSActions,fieldObjects:t.fieldObjects,mouseState:t.mouseState||{isDown:!1}});if(v.isRenderable){var m=v.render();if(h.hidden&&(m.style.visibility="hidden"),Array.isArray(m)){var y,b=g(m);try{for(b.s();!(y=b.n()).done;){var w=y.value;f.appendChild(w)}}catch(e){b.e(e)}finally{b.f()}}else v instanceof I?f.prepend(m):f.appendChild(m)}}l(this,e,Z).call(this,f,t.annotationCanvasMap)}},{key:"update",value:function(t){var r,n,a,i=t.page,s=t.viewport,u=t.annotations,c=t.annotationCanvasMap,f=t.div,d=s.transform,p="matrix(".concat(d.join(","),")"),h=g(u);try{for(h.s();!(a=h.n()).done;){var v=a.value,m=f.querySelectorAll('[data-annotation-id="'.concat(v.id,'"]'));if(m){var y,b=g(m);try{for(b.s();!(y=b.n()).done;){var w=y.value;if(v.hasOwnCanvas){var _=o.Util.normalizeRect([v.rect[0],i.view[3]-v.rect[1]+i.view[1],v.rect[2],i.view[3]-v.rect[3]+i.view[1]]);if(!n){r=Math.abs(d[0]||d[1]);for(var A=d.slice(),S=0;S<4;S++)A[S]=Math.sign(A[S]);n="matrix(".concat(A.join(","),")")}var k=_[0]*r,x=_[1]*r;w.style.left="".concat(k,"px"),w.style.top="".concat(x,"px"),w.style.transformOrigin="".concat(-k,"px ").concat(-x,"px"),w.style.transform=n}else w.style.transform=p}}catch(e){b.e(e)}finally{b.f()}}}}catch(e){h.e(e)}finally{h.f()}l(this,e,Z).call(this,f,c),f.hidden=!1}}]),e}();function Z(e,t){if(t){var r,n=g(t);try{for(n.s();!(r=n.n()).done;){var o=y(r.value,2),a=o[0],i=o[1],s=e.querySelector('[data-annotation-id="'.concat(a,'"]'));if(s){var u=s.firstChild;"CANVAS"===u.nodeName?s.replaceChild(i,u):s.insertBefore(i,u)}}}catch(e){n.e(e)}finally{n.f()}t.clear()}}t.AnnotationLayer=Q},(e,t)=>{"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],i=!0,s=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{i||null==r.return||r.return()}finally{if(s)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a(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;var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n;return t=e,n=[{key:"CMYK_G",value:function(e){var t=r(e,4),n=t[0],o=t[1],a=t[2],i=t[3];return["G",1-Math.min(1,.3*n+.59*a+.11*o+i)]}},{key:"G_CMYK",value:function(e){return["CMYK",0,0,0,1-r(e,1)[0]]}},{key:"G_RGB",value:function(e){var t=r(e,1)[0];return["RGB",t,t,t]}},{key:"G_HTML",value:function(e){var t=a(r(e,1)[0]);return"#".concat(t).concat(t).concat(t)}},{key:"RGB_G",value:function(e){var t=r(e,3);return["G",.3*t[0]+.59*t[1]+.11*t[2]]}},{key:"RGB_HTML",value:function(e){var t=r(e,3),n=t[0],o=t[1],i=t[2],s=a(n),u=a(o),l=a(i);return"#".concat(s).concat(u).concat(l)}},{key:"T_HTML",value:function(){return"#00000000"}},{key:"CMYK_RGB",value:function(e){var t=r(e,4),n=t[0],o=t[1],a=t[2],i=t[3];return["RGB",1-Math.min(1,n+i),1-Math.min(1,a+i),1-Math.min(1,o+i)]}},{key:"CMYK_HTML",value:function(e){return this.RGB_HTML(this.CMYK_RGB(e))}},{key:"RGB_CMYK",value:function(e){var t=r(e,3),n=1-t[0],o=1-t[1],a=1-t[2];return["CMYK",n,o,a,Math.min(n,o,a)]}}],null&&o(t.prototype,null),n&&o(t,n),e}();t.ColorConverters=i},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.XfaLayer=void 0;var n=r(4),o=r(147);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],i=!0,s=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{i||null==r.return||r.return()}finally{if(s)throw o}}return a}}(e,t)||s(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=s(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){u=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(u)throw a}}}}function s(e,t){if(e){if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function l(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var c=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,r;return t=e,r=[{key:"setupStorage",value:function(e,t,r,n,o){var a=n.getValue(t,{value:null});switch(r.name){case"textarea":if(null!==a.value&&(e.textContent=a.value),"print"===o)break;e.addEventListener("input",(function(e){n.setValue(t,{value:e.target.value})}));break;case"input":if("radio"===r.attributes.type||"checkbox"===r.attributes.type){if(a.value===r.attributes.xfaOn?e.setAttribute("checked",!0):a.value===r.attributes.xfaOff&&e.removeAttribute("checked"),"print"===o)break;e.addEventListener("change",(function(e){n.setValue(t,{value:e.target.checked?e.target.getAttribute("xfaOn"):e.target.getAttribute("xfaOff")})}))}else{if(null!==a.value&&e.setAttribute("value",a.value),"print"===o)break;e.addEventListener("input",(function(e){n.setValue(t,{value:e.target.value})}))}break;case"select":if(null!==a.value){var s,u=i(r.children);try{for(u.s();!(s=u.n()).done;){var l=s.value;l.attributes.value===a.value&&(l.attributes.selected=!0)}}catch(e){u.e(e)}finally{u.f()}}e.addEventListener("input",(function(e){var r=e.target.options,o=-1===r.selectedIndex?"":r[r.selectedIndex].value;n.setValue(t,{value:o})}))}}},{key:"setAttributes",value:function(e){var t,r=e.html,o=e.element,i=e.storage,s=void 0===i?null:i,u=e.intent,l=e.linkService,c=o.attributes,f=r instanceof HTMLAnchorElement;"radio"===c.type&&(c.name="".concat(c.name,"-").concat(u));for(var d=0,p=Object.entries(c);d<p.length;d++){var h=a(p[d],2),v=h[0],m=h[1];if(null!=m&&"dataId"!==v)if("style"!==v)if("textContent"===v)r.textContent=m;else if("class"===v)m.length&&r.setAttribute(v,m.join(" "));else{if(f&&("href"===v||"newWindow"===v))continue;r.setAttribute(v,m)}else Object.assign(r.style,m)}f&&(l.addLinkAttributes||(0,n.warn)("XfaLayer.setAttribute - missing `addLinkAttributes`-method on the `linkService`-instance."),null===(t=l.addLinkAttributes)||void 0===t||t.call(l,r,c.href,c.newWindow)),s&&c.dataId&&this.setupStorage(r,c.dataId,o,s)}},{key:"render",value:function(e){var t=e.annotationStorage,r=e.linkService,n=e.xfaHtml,s=e.intent||"display",u=document.createElement(n.name);n.attributes&&this.setAttributes({html:u,element:n,intent:s,linkService:r});var l=[[n,-1,u]],c=e.div;if(c.appendChild(u),e.viewport){var f="matrix(".concat(e.viewport.transform.join(","),")");c.style.transform=f}"richText"!==s&&c.setAttribute("class","xfaLayer xfaFont");for(var d=[];l.length>0;){var p,h=a(l[l.length-1],3),v=h[0],m=h[1],g=h[2];if(m+1!==v.children.length){var y=v.children[++l[l.length-1][1]];if(null!==y){var b=y.name;if("#text"!==b){var w=void 0;if(w=null!=y&&null!==(p=y.attributes)&&void 0!==p&&p.xmlns?document.createElementNS(y.attributes.xmlns,b):document.createElement(b),g.appendChild(w),y.attributes&&this.setAttributes({html:w,element:y,storage:t,intent:s,linkService:r}),y.children&&y.children.length>0)l.push([y,-1,w]);else if(y.value){var _=document.createTextNode(y.value);o.XfaText.shouldBuildText(b)&&d.push(_),w.appendChild(_)}}else{var A=document.createTextNode(y.value);d.push(A),g.appendChild(A)}}}else l.pop()}var S,k=i(c.querySelectorAll(".xfaNonInteractive input, .xfaNonInteractive textarea"));try{for(k.s();!(S=k.n()).done;)S.value.setAttribute("readOnly",!0)}catch(e){k.e(e)}finally{k.f()}return{textDivs:d}}},{key:"update",value:function(e){var t="matrix(".concat(e.viewport.transform.join(","),")");e.div.style.transform=t,e.div.hidden=!1}}],null&&l(t.prototype,null),r&&l(t,r),e}();t.XfaLayer=c},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.renderTextLayer=function(e){var t=new h({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};var n=r(4);function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){u=!0,a=e},f:function(){try{s||null==r.return||r.return()}finally{if(u)throw a}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var s=30,u=new Map,l=/^\s+$/g;function c(e,t,r,o){var a=document.createElement("span"),i=e._enhanceTextSelection?{angle:0,canvasWidth:0,hasText:""!==t.str,hasEOL:t.hasEOL,originalTransform:null,paddingBottom:0,paddingLeft:0,paddingRight:0,paddingTop:0,scale:1}:{angle:0,canvasWidth:0,hasText:""!==t.str,hasEOL:t.hasEOL};e._textDivs.push(a);var c=n.Util.transform(e._viewport.transform,t.transform),f=Math.atan2(c[1],c[0]),d=r[t.fontName];d.vertical&&(f+=Math.PI/2);var p,h,v=Math.hypot(c[2],c[3]),m=v*function(e,t){var r=u.get(e);if(r)return r;t.save(),t.font="".concat(s,"px ").concat(e);var n=t.measureText(""),o=n.fontBoundingBoxAscent,a=Math.abs(n.fontBoundingBoxDescent);if(o){t.restore();var i=o/(o+a);return u.set(e,i),i}t.strokeStyle="red",t.clearRect(0,0,s,s),t.strokeText("g",0,0);var l=t.getImageData(0,0,s,s).data;a=0;for(var c=l.length-1-3;c>=0;c-=4)if(l[c]>0){a=Math.ceil(c/4/s);break}t.clearRect(0,0,s,s),t.strokeText("A",0,s),o=0;for(var f=0,d=(l=t.getImageData(0,0,s,s).data).length;f<d;f+=4)if(l[f]>0){o=s-Math.floor(f/4/s);break}if(t.restore(),o){var p=o/(o+a);return u.set(e,p),p}return u.set(e,.8),.8}(d.fontFamily,o);0===f?(p=c[4],h=c[5]-m):(p=c[4]+m*Math.sin(f),h=c[5]-m*Math.cos(f)),a.style.left="".concat(p,"px"),a.style.top="".concat(h,"px"),a.style.fontSize="".concat(v,"px"),a.style.fontFamily=d.fontFamily,a.setAttribute("role","presentation"),a.textContent=t.str,a.dir=t.dir,e._fontInspectorEnabled&&(a.dataset.fontName=t.fontName),0!==f&&(i.angle=f*(180/Math.PI));var g=!1;if(t.str.length>1||e._enhanceTextSelection&&l.test(t.str))g=!0;else if(" "!==t.str&&t.transform[0]!==t.transform[3]){var y=Math.abs(t.transform[0]),b=Math.abs(t.transform[3]);y!==b&&Math.max(y,b)/Math.min(y,b)>1.5&&(g=!0)}if(g&&(d.vertical?i.canvasWidth=t.height*e._viewport.scale:i.canvasWidth=t.width*e._viewport.scale),e._textDivProperties.set(a,i),e._textContentStream&&e._layoutText(a),e._enhanceTextSelection&&i.hasText){var w=1,_=0;0!==f&&(w=Math.cos(f),_=Math.sin(f));var A,S,k=(d.vertical?t.height:t.width)*e._viewport.scale,x=v;0!==f?(A=[w,_,-_,w,p,h],S=n.Util.getAxialAlignedBoundingBox([0,0,k,x],A)):S=[p,h,p+k,h+x],e._bounds.push({left:S[0],top:S[1],right:S[2],bottom:S[3],div:a,size:[k,x],m:A})}}function f(e){if(!e._canceled){var t=e._textDivs,r=e._capability,n=t.length;if(n>1e5)return e._renderingDone=!0,void r.resolve();if(!e._textContentStream)for(var o=0;o<n;o++)e._layoutText(t[o]);e._renderingDone=!0,r.resolve()}}function d(e,t,r){for(var n=0,o=0;o<r;o++){var a=e[t++];a>0&&(n=n?Math.min(a,n):a)}return n}function p(e,t){t.sort((function(e,t){return e.x1-t.x1||e.index-t.index}));var r,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}}],o=a(t);try{for(o.s();!(r=o.n()).done;){for(var i=r.value,s=0;s<n.length&&n[s].end<=i.y1;)s++;for(var u=n.length-1;u>=0&&n[u].start>=i.y2;)u--;var l=void 0,c=void 0,f=void 0,d=void 0,p=-1/0;for(f=s;f<=u;f++){c=(l=n[f]).boundary;var h;(h=c.x2>i.x1?c.index>i.index?c.x1New:i.x1:void 0===c.x2New?(c.x2+i.x1)/2:c.x2New)>p&&(p=h)}for(i.x1New=p,f=s;f<=u;f++)void 0===(c=(l=n[f]).boundary).x2New?c.x2>i.x1?c.index>i.index&&(c.x2New=c.x2):c.x2New=p:c.x2New>p&&(c.x2New=Math.max(p,c.x2));var v=[],m=null;for(f=s;f<=u;f++){var g=(c=(l=n[f]).boundary).x2>i.x2?c:i;m===g?v[v.length-1].end=l.end:(v.push({start:l.start,end:l.end,boundary:g}),m=g)}for(n[s].start<i.y1&&(v[0].start=i.y1,v.unshift({start:n[s].start,end:i.y1,boundary:n[s].boundary})),i.y2<n[u].end&&(v[v.length-1].end=i.y2,v.push({start:i.y2,end:n[u].end,boundary:n[u].boundary})),f=s;f<=u;f++)if(void 0===(c=(l=n[f]).boundary).x2New){var y=!1;for(d=s-1;!y&&d>=0&&n[d].start>=c.y1;d--)y=n[d].boundary===c;for(d=u+1;!y&&d<n.length&&n[d].end<=c.y2;d++)y=n[d].boundary===c;for(d=0;!y&&d<v.length;d++)y=v[d].boundary===c;y||(c.x2New=p)}Array.prototype.splice.apply(n,[s,u-s+1].concat(v))}}catch(e){o.e(e)}finally{o.f()}for(var b=0,w=n;b<w.length;b++){var _=w[b].boundary;void 0===_.x2New&&(_.x2New=Math.max(e,_.x2))}}var h=function(){function e(t){var r,o=this,a=t.textContent,i=t.textContentStream,s=t.container,u=t.viewport,l=t.textDivs,c=t.textContentItemsStr,f=t.enhanceTextSelection;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._textContent=a,this._textContentStream=i,this._container=s,this._document=s.ownerDocument,this._viewport=u,this._textDivs=l||[],this._textContentItemsStr=c||[],this._enhanceTextSelection=!!f,this._fontInspectorEnabled=!(null===(r=globalThis.FontInspector)||void 0===r||!r.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,n.createPromiseCapability)(),this._renderTimer=null,this._bounds=[],this._capability.promise.finally((function(){o._enhanceTextSelection||(o._textDivProperties=null),o._layoutTextCtx&&(o._layoutTextCtx.canvas.width=0,o._layoutTextCtx.canvas.height=0,o._layoutTextCtx=null)})).catch((function(){}))}var t,r;return t=e,r=[{key:"promise",get:function(){return this._capability.promise}},{key:"cancel",value:function(){this._canceled=!0,this._reader&&(this._reader.cancel(new n.AbortException("TextLayer task cancelled.")).catch((function(){})),this._reader=null),null!==this._renderTimer&&(clearTimeout(this._renderTimer),this._renderTimer=null),this._capability.reject(new Error("TextLayer task cancelled."))}},{key:"_processItems",value:function(e,t){for(var r=0,n=e.length;r<n;r++)if(void 0!==e[r].str)this._textContentItemsStr.push(e[r].str),c(this,e[r],t,this._layoutTextCtx);else if("beginMarkedContentProps"===e[r].type||"beginMarkedContent"===e[r].type){var o=this._container;this._container=document.createElement("span"),this._container.classList.add("markedContent"),null!==e[r].id&&this._container.setAttribute("id","".concat(e[r].id)),o.appendChild(this._container)}else"endMarkedContent"===e[r].type&&(this._container=this._container.parentNode)}},{key:"_layoutText",value:function(e){var t=this._textDivProperties.get(e),r="";if(0!==t.canvasWidth&&t.hasText){var n=e.style,o=n.fontSize,a=n.fontFamily;o===this._layoutTextLastFontSize&&a===this._layoutTextLastFontFamily||(this._layoutTextCtx.font="".concat(o," ").concat(a),this._layoutTextLastFontSize=o,this._layoutTextLastFontFamily=a);var i=this._layoutTextCtx.measureText(e.textContent).width;if(i>0){var s=t.canvasWidth/i;this._enhanceTextSelection&&(t.scale=s),r="scaleX(".concat(s,")")}}if(0!==t.angle&&(r="rotate(".concat(t.angle,"deg) ").concat(r)),r.length>0&&(this._enhanceTextSelection&&(t.originalTransform=r),e.style.transform=r),t.hasText&&this._container.appendChild(e),t.hasEOL){var u=document.createElement("br");u.setAttribute("role","presentation"),this._container.appendChild(u)}}},{key:"_render",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=(0,n.createPromiseCapability)(),o=Object.create(null),a=this._document.createElement("canvas");if(a.height=a.width=s,a.mozOpaque=!0,this._layoutTextCtx=a.getContext("2d",{alpha:!1}),this._textContent){var i=this._textContent.items,u=this._textContent.styles;this._processItems(i,u),r.resolve()}else{if(!this._textContentStream)throw new Error('Neither "textContent" nor "textContentStream" parameters specified.');this._reader=this._textContentStream.getReader(),function t(){e._reader.read().then((function(n){var a=n.value;n.done?r.resolve():(Object.assign(o,a.styles),e._processItems(a.items,o),t())}),r.reject)}()}r.promise.then((function(){o=null,t?e._renderTimer=setTimeout((function(){f(e),e._renderTimer=null}),t):f(e)}),this._capability.reject)}},{key:"expandTextDivs",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this._enhanceTextSelection&&this._renderingDone){null!==this._bounds&&(function(e){for(var t=e._bounds,r=e._viewport,o=function(e,t,r){var n=r.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}}));p(e,n);var o,i=new Array(r.length),s=a(n);try{for(s.s();!(o=s.n()).done;){var u=o.value,l=u.index;i[l]={left:u.x1New,top:0,right:u.x2New,bottom:0}}}catch(e){s.e(e)}finally{s.f()}r.map((function(t,r){var o=i[r],a=n[r];a.x1=t.top,a.y1=e-o.right,a.x2=t.bottom,a.y2=e-o.left,a.index=r,a.x1New=void 0,a.x2New=void 0})),p(t,n);var c,f=a(n);try{for(f.s();!(c=f.n()).done;){var d=c.value,h=d.index;i[h].top=d.x1New,i[h].bottom=d.x2New}}catch(e){f.e(e)}finally{f.f()}return i}(r.width,r.height,t),i=0;i<o.length;i++){var s=t[i].div,u=e._textDivProperties.get(s);if(0!==u.angle){for(var l=o[i],c=t[i],f=c.m,h=f[0],v=f[1],m=[[0,0],[0,c.size[1]],[c.size[0],0],c.size],g=new Float64Array(64),y=0,b=m.length;y<b;y++){var w=n.Util.applyTransform(m[y],f);g[y+0]=h&&(l.left-w[0])/h,g[y+4]=v&&(l.top-w[1])/v,g[y+8]=h&&(l.right-w[0])/h,g[y+12]=v&&(l.bottom-w[1])/v,g[y+16]=v&&(l.left-w[0])/-v,g[y+20]=h&&(l.top-w[1])/h,g[y+24]=v&&(l.right-w[0])/-v,g[y+28]=h&&(l.bottom-w[1])/h,g[y+32]=h&&(l.left-w[0])/-h,g[y+36]=v&&(l.top-w[1])/-v,g[y+40]=h&&(l.right-w[0])/-h,g[y+44]=v&&(l.bottom-w[1])/-v,g[y+48]=v&&(l.left-w[0])/v,g[y+52]=h&&(l.top-w[1])/-h,g[y+56]=v&&(l.right-w[0])/v,g[y+60]=h&&(l.bottom-w[1])/-h}var _=1+Math.min(Math.abs(h),Math.abs(v));u.paddingLeft=d(g,32,16)/_,u.paddingTop=d(g,48,16)/_,u.paddingRight=d(g,0,16)/_,u.paddingBottom=d(g,16,16)/_,e._textDivProperties.set(s,u)}else u.paddingLeft=t[i].left-o[i].left,u.paddingTop=t[i].top-o[i].top,u.paddingRight=o[i].right-t[i].right,u.paddingBottom=o[i].bottom-t[i].bottom,e._textDivProperties.set(s,u)}}(this),this._bounds=null);for(var t=[],r=[],o=0,i=this._textDivs.length;o<i;o++){var s=this._textDivs[o],u=this._textDivProperties.get(s);u.hasText&&(e?(t.length=0,r.length=0,u.originalTransform&&t.push(u.originalTransform),u.paddingTop>0?(r.push("".concat(u.paddingTop,"px")),t.push("translateY(".concat(-u.paddingTop,"px)"))):r.push(0),u.paddingRight>0?r.push("".concat(u.paddingRight/u.scale,"px")):r.push(0),u.paddingBottom>0?r.push("".concat(u.paddingBottom,"px")):r.push(0),u.paddingLeft>0?(r.push("".concat(u.paddingLeft/u.scale,"px")),t.push("translateX(".concat(-u.paddingLeft/u.scale,"px)"))):r.push(0),s.style.padding=r.join(" "),t.length&&(s.style.transform=t.join(" "))):(s.style.padding=null,s.style.transform=u.originalTransform))}}}}],r&&o(t.prototype,r),e}()},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SVGGraphics=void 0;var n=r(4),o=r(1),a=r(6);function i(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||l(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],i=!0,s=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{i||null==r.return||r.return()}finally{if(s)throw o}}return a}}(e,t)||l(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=l(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){s=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw a}}}}function l(e,t){if(e){if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(e,t):void 0}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t,r){return t&&f(e.prototype,t),r&&f(e,r),e}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var h=function e(){p(this,e),(0,n.unreachable)("Not implemented: SVGGraphics")};t.SVGGraphics=h;var v=function(e){if(Number.isInteger(e))return e.toString();var t=e.toFixed(10),r=t.length-1;if("0"!==t[r])return t;do{r--}while("0"===t[r]);return t.substring(0,"."===t[r]?r:r+1)},m=function(e){if(0===e[4]&&0===e[5]){if(0===e[1]&&0===e[2])return 1===e[0]&&1===e[3]?"":"scale(".concat(v(e[0])," ").concat(v(e[3]),")");if(e[0]===e[3]&&e[1]===-e[2]){var t=180*Math.acos(e[0])/Math.PI;return"rotate(".concat(v(t),")")}}else if(1===e[0]&&0===e[1]&&0===e[2]&&1===e[3])return"translate(".concat(v(e[4])," ").concat(v(e[5]),")");return"matrix(".concat(v(e[0])," ").concat(v(e[1])," ").concat(v(e[2])," ").concat(v(e[3])," ").concat(v(e[4])," ")+"".concat(v(e[5]),")")},g="normal",y="normal",b="#000000",w=["butt","round","square"],_=["miter","round","bevel"],A=function(){for(var e=new Uint8Array([137,80,78,71,13,10,26,10]),t=new Int32Array(256),r=0;r<256;r++){for(var o=r,i=0;i<8;i++)o=1&o?3988292384^o>>1&2147483647:o>>1&2147483647;t[r]=o}function s(e,r,n,o){var a=o,i=r.length;n[a]=i>>24&255,n[a+1]=i>>16&255,n[a+2]=i>>8&255,n[a+3]=255&i,n[a+=4]=255&e.charCodeAt(0),n[a+1]=255&e.charCodeAt(1),n[a+2]=255&e.charCodeAt(2),n[a+3]=255&e.charCodeAt(3),a+=4,n.set(r,a);var s=function(e,r,n){for(var o=-1,a=r;a<n;a++){var i=255&(o^e[a]);o=o>>>8^t[i]}return~o}(n,o+4,a+=r.length);n[a]=s>>24&255,n[a+1]=s>>16&255,n[a+2]=s>>8&255,n[a+3]=255&s}function u(e){var t=e.length,r=65535,n=Math.ceil(t/r),o=new Uint8Array(2+t+5*n+4),a=0;o[a++]=120,o[a++]=156;for(var i=0;t>r;)o[a++]=0,o[a++]=255,o[a++]=255,o[a++]=0,o[a++]=0,o.set(e.subarray(i,i+r),a),a+=r,i+=r,t-=r;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;var s=function(e,t,r){for(var n=1,o=0,a=0;a<r;++a)o=(o+(n=(n+(255&e[a]))%65521))%65521;return o<<16|n}(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,r,o){return function(t,r,o,i){var l,c,f,d=t.width,p=t.height,h=t.data;switch(r){case n.ImageKind.GRAYSCALE_1BPP:c=0,l=1,f=d+7>>3;break;case n.ImageKind.RGB_24BPP:c=2,l=8,f=3*d;break;case n.ImageKind.RGBA_32BPP:c=6,l=8,f=4*d;break;default:throw new Error("invalid format")}for(var v=new Uint8Array((1+f)*p),m=0,g=0,y=0;y<p;++y)v[m++]=0,v.set(h.subarray(g,g+f),m),g+=f,m+=f;if(r===n.ImageKind.GRAYSCALE_1BPP&&i){m=0;for(var b=0;b<p;b++){m++;for(var w=0;w<f;w++)v[m++]^=255}}var _=new Uint8Array([d>>24&255,d>>16&255,d>>8&255,255&d,p>>24&255,p>>16&255,p>>8&255,255&p,l,c,0,0,0]),A=function(e){if(!a.isNodeJS)return u(e);try{var t;t=parseInt(process.versions.node)>=8?e:Buffer.from(e);var r=__webpack_require__(7670).deflateSync(t,{level:9});return r instanceof Uint8Array?r:new Uint8Array(r)}catch(e){(0,n.warn)("Not compressing PNG because zlib.deflateSync is unavailable: "+e)}return u(e)}(v),S=e.length+36+_.length+A.length,k=new Uint8Array(S),x=0;return k.set(e,x),s("IHDR",_,k,x+=e.length),s("IDATA",A,k,x+=12+_.length),x+=12+A.length,s("IEND",new Uint8Array(0),k,x),(0,n.createObjectURL)(k,"image/png",o)}(t,void 0===t.kind?n.ImageKind.GRAYSCALE_1BPP:t.kind,r,o)}}(),S=function(){function e(){p(this,e),this.fontSizeScale=1,this.fontWeight=y,this.fontSize=0,this.textMatrix=n.IDENTITY_MATRIX,this.fontMatrix=n.FONT_IDENTITY_MATRIX,this.leading=0,this.textRenderingMode=n.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=b,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=""}return d(e,[{key:"clone",value:function(){return Object.create(this)}},{key:"setCurrentPoint",value:function(e,t){this.x=e,this.y=t}}]),e}(),k=0,x=0,C=0;t.SVGGraphics=h=function(){function e(t,r){var a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];for(var i in p(this,e),this.svgFactory=new o.DOMSVGFactory,this.current=new S,this.transformMatrix=n.IDENTITY_MATRIX,this.transformStack=[],this.extraStack=[],this.commonObjs=t,this.objs=r,this.pendingClip=null,this.pendingEOFill=!1,this.embedFonts=!1,this.embeddedFonts=Object.create(null),this.cssStyle=null,this.forceDataSchema=!!a,this._operatorIdMapping=[],n.OPS)this._operatorIdMapping[n.OPS[i]]=i}return d(e,[{key:"save",value:function(){this.transformStack.push(this.transformMatrix);var e=this.current;this.extraStack.push(e),this.current=e.clone()}},{key:"restore",value:function(){this.transformMatrix=this.transformStack.pop(),this.current=this.extraStack.pop(),this.pendingClip=null,this.tgrp=null}},{key:"group",value:function(e){this.save(),this.executeOpTree(e),this.restore()}},{key:"loadDependencies",value:function(e){for(var t=this,r=e.fnArray,o=e.argsArray,a=0,i=r.length;a<i;a++)if(r[a]===n.OPS.dependency){var s,l=u(o[a]);try{var c=function(){var e=s.value,r=e.startsWith("g_")?t.commonObjs:t.objs,n=new Promise((function(t){r.get(e,t)}));t.current.dependencies.push(n)};for(l.s();!(s=l.n()).done;)c()}catch(e){l.e(e)}finally{l.f()}}return Promise.all(this.current.dependencies)}},{key:"transform",value:function(e,t,r,o,a,i){var s=[e,t,r,o,a,i];this.transformMatrix=n.Util.transform(this.transformMatrix,s),this.tgrp=null}},{key:"getSVG",value:function(e,t){var r=this;this.viewport=t;var o=this._initialize(t);return this.loadDependencies(e).then((function(){return r.transformMatrix=n.IDENTITY_MATRIX,r.executeOpTree(r.convertOpList(e)),o}))}},{key:"convertOpList",value:function(e){for(var t=this._operatorIdMapping,r=e.argsArray,n=e.fnArray,o=[],a=0,i=n.length;a<i;a++){var s=n[a];o.push({fnId:s,fn:t[s],args:r[a]})}return function(e){var t,r=[],n=[],o=u(e);try{for(o.s();!(t=o.n()).done;){var a=t.value;"save"!==a.fn?"restore"===a.fn?r=n.pop():r.push(a):(r.push({fnId:92,fn:"group",items:[]}),n.push(r),r=r[r.length-1].items)}}catch(e){o.e(e)}finally{o.f()}return r}(o)}},{key:"executeOpTree",value:function(e){var t,r=u(e);try{for(r.s();!(t=r.n()).done;){var o=t.value,a=o.fn,i=o.fnId,s=o.args;switch(0|i){case n.OPS.beginText:this.beginText();break;case n.OPS.dependency:break;case n.OPS.setLeading:this.setLeading(s);break;case n.OPS.setLeadingMoveText:this.setLeadingMoveText(s[0],s[1]);break;case n.OPS.setFont:this.setFont(s);break;case n.OPS.showText:case n.OPS.showSpacedText:this.showText(s[0]);break;case n.OPS.endText:this.endText();break;case n.OPS.moveText:this.moveText(s[0],s[1]);break;case n.OPS.setCharSpacing:this.setCharSpacing(s[0]);break;case n.OPS.setWordSpacing:this.setWordSpacing(s[0]);break;case n.OPS.setHScale:this.setHScale(s[0]);break;case n.OPS.setTextMatrix:this.setTextMatrix(s[0],s[1],s[2],s[3],s[4],s[5]);break;case n.OPS.setTextRise:this.setTextRise(s[0]);break;case n.OPS.setTextRenderingMode:this.setTextRenderingMode(s[0]);break;case n.OPS.setLineWidth:this.setLineWidth(s[0]);break;case n.OPS.setLineJoin:this.setLineJoin(s[0]);break;case n.OPS.setLineCap:this.setLineCap(s[0]);break;case n.OPS.setMiterLimit:this.setMiterLimit(s[0]);break;case n.OPS.setFillRGBColor:this.setFillRGBColor(s[0],s[1],s[2]);break;case n.OPS.setStrokeRGBColor:this.setStrokeRGBColor(s[0],s[1],s[2]);break;case n.OPS.setStrokeColorN:this.setStrokeColorN(s);break;case n.OPS.setFillColorN:this.setFillColorN(s);break;case n.OPS.shadingFill:this.shadingFill(s[0]);break;case n.OPS.setDash:this.setDash(s[0],s[1]);break;case n.OPS.setRenderingIntent:this.setRenderingIntent(s[0]);break;case n.OPS.setFlatness:this.setFlatness(s[0]);break;case n.OPS.setGState:this.setGState(s[0]);break;case n.OPS.fill:this.fill();break;case n.OPS.eoFill:this.eoFill();break;case n.OPS.stroke:this.stroke();break;case n.OPS.fillStroke:this.fillStroke();break;case n.OPS.eoFillStroke:this.eoFillStroke();break;case n.OPS.clip:this.clip("nonzero");break;case n.OPS.eoClip:this.clip("evenodd");break;case n.OPS.paintSolidColorImageMask:this.paintSolidColorImageMask();break;case n.OPS.paintImageXObject:this.paintImageXObject(s[0]);break;case n.OPS.paintInlineImageXObject:this.paintInlineImageXObject(s[0]);break;case n.OPS.paintImageMaskXObject:this.paintImageMaskXObject(s[0]);break;case n.OPS.paintFormXObjectBegin:this.paintFormXObjectBegin(s[0],s[1]);break;case n.OPS.paintFormXObjectEnd:this.paintFormXObjectEnd();break;case n.OPS.closePath:this.closePath();break;case n.OPS.closeStroke:this.closeStroke();break;case n.OPS.closeFillStroke:this.closeFillStroke();break;case n.OPS.closeEOFillStroke:this.closeEOFillStroke();break;case n.OPS.nextLine:this.nextLine();break;case n.OPS.transform:this.transform(s[0],s[1],s[2],s[3],s[4],s[5]);break;case n.OPS.constructPath:this.constructPath(s[0],s[1]);break;case n.OPS.endPath:this.endPath();break;case 92:this.group(o.items);break;default:(0,n.warn)("Unimplemented operator ".concat(a))}}}catch(e){r.e(e)}finally{r.f()}}},{key:"setWordSpacing",value:function(e){this.current.wordSpacing=e}},{key:"setCharSpacing",value:function(e){this.current.charSpacing=e}},{key:"nextLine",value:function(){this.moveText(0,this.current.leading)}},{key:"setTextMatrix",value:function(e,t,r,n,o,a){var i=this.current;i.textMatrix=i.lineMatrix=[e,t,r,n,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","".concat(v(i.fontSize),"px")),i.tspan.setAttributeNS(null,"y",v(-i.y)),i.txtElement=this.svgFactory.createElement("svg:text"),i.txtElement.appendChild(i.tspan)}},{key:"beginText",value:function(){var e=this.current;e.x=e.lineX=0,e.y=e.lineY=0,e.textMatrix=n.IDENTITY_MATRIX,e.lineMatrix=n.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=[]}},{key:"moveText",value:function(e,t){var r=this.current;r.x=r.lineX+=e,r.y=r.lineY+=t,r.xcoords=[],r.ycoords=[],r.tspan=this.svgFactory.createElement("svg:tspan"),r.tspan.setAttributeNS(null,"font-family",r.fontFamily),r.tspan.setAttributeNS(null,"font-size","".concat(v(r.fontSize),"px")),r.tspan.setAttributeNS(null,"y",v(-r.y))}},{key:"showText",value:function(e){var t=this.current,r=t.font,o=t.fontSize;if(0!==o){var a,i=t.fontSizeScale,s=t.charSpacing,l=t.wordSpacing,c=t.fontDirection,f=t.textHScale*c,d=r.vertical,p=d?1:-1,h=r.defaultVMetrics,w=o*t.fontMatrix[0],_=0,A=u(e);try{for(A.s();!(a=A.n()).done;){var S=a.value;if(null!==S)if((0,n.isNum)(S))_+=p*S*o/1e3;else{var k=(S.isSpace?l:0)+s,x=S.fontChar,C=void 0,P=void 0,E=S.width;if(d){var T=void 0,R=S.vmetric||h;T=-(T=S.vmetric?R[1]:.5*E)*w;var O=R[2]*w;E=R?-R[0]:E,C=T/i,P=(_+O)/i}else C=_/i,P=0;(S.isInFont||r.missingFile)&&(t.xcoords.push(t.x+C),d&&t.ycoords.push(-t.y+P),t.tspan.textContent+=x),_+=d?E*w-k*c:E*w+k*c}else _+=c*l}}catch(e){A.e(e)}finally{A.f()}t.tspan.setAttributeNS(null,"x",t.xcoords.map(v).join(" ")),d?t.tspan.setAttributeNS(null,"y",t.ycoords.map(v).join(" ")):t.tspan.setAttributeNS(null,"y",v(-t.y)),d?t.y-=_:t.x+=_*f,t.tspan.setAttributeNS(null,"font-family",t.fontFamily),t.tspan.setAttributeNS(null,"font-size","".concat(v(t.fontSize),"px")),t.fontStyle!==g&&t.tspan.setAttributeNS(null,"font-style",t.fontStyle),t.fontWeight!==y&&t.tspan.setAttributeNS(null,"font-weight",t.fontWeight);var F=t.textRenderingMode&n.TextRenderingMode.FILL_STROKE_MASK;if(F===n.TextRenderingMode.FILL||F===n.TextRenderingMode.FILL_STROKE?(t.fillColor!==b&&t.tspan.setAttributeNS(null,"fill",t.fillColor),t.fillAlpha<1&&t.tspan.setAttributeNS(null,"fill-opacity",t.fillAlpha)):t.textRenderingMode===n.TextRenderingMode.ADD_TO_PATH?t.tspan.setAttributeNS(null,"fill","transparent"):t.tspan.setAttributeNS(null,"fill","none"),F===n.TextRenderingMode.STROKE||F===n.TextRenderingMode.FILL_STROKE){var L=1/(t.textMatrixScale||1);this._setStrokeAttributes(t.tspan,L)}var D=t.textMatrix;0!==t.textRise&&((D=D.slice())[5]+=t.textRise),t.txtElement.setAttributeNS(null,"transform","".concat(m(D)," scale(").concat(v(f),", -1)")),t.txtElement.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),t.txtElement.appendChild(t.tspan),t.txtgrp.appendChild(t.txtElement),this._ensureTransformGroup().appendChild(t.txtElement)}}},{key:"setLeadingMoveText",value:function(e,t){this.setLeading(-t),this.moveText(e,t)}},{key:"addFontStyle",value:function(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));var t=(0,n.createObjectURL)(e.data,e.mimetype,this.forceDataSchema);this.cssStyle.textContent+='@font-face { font-family: "'.concat(e.loadedName,'";')+" src: url(".concat(t,"); }\n")}},{key:"setFont",value:function(e){var t=this.current,r=this.commonObjs.get(e[0]),o=e[1];t.font=r,!this.embedFonts||r.missingFile||this.embeddedFonts[r.loadedName]||(this.addFontStyle(r),this.embeddedFonts[r.loadedName]=r),t.fontMatrix=r.fontMatrix||n.FONT_IDENTITY_MATRIX;var a="normal";r.black?a="900":r.bold&&(a="bold");var i=r.italic?"italic":"normal";o<0?(o=-o,t.fontDirection=-1):t.fontDirection=1,t.fontSize=o,t.fontFamily=r.loadedName,t.fontWeight=a,t.fontStyle=i,t.tspan=this.svgFactory.createElement("svg:tspan"),t.tspan.setAttributeNS(null,"y",v(-t.y)),t.xcoords=[],t.ycoords=[]}},{key:"endText",value:function(){var e,t=this.current;t.textRenderingMode&n.TextRenderingMode.ADD_TO_PATH_FLAG&&null!==(e=t.txtElement)&&void 0!==e&&e.hasChildNodes()&&(t.element=t.txtElement,this.clip("nonzero"),this.endPath())}},{key:"setLineWidth",value:function(e){e>0&&(this.current.lineWidth=e)}},{key:"setLineCap",value:function(e){this.current.lineCap=w[e]}},{key:"setLineJoin",value:function(e){this.current.lineJoin=_[e]}},{key:"setMiterLimit",value:function(e){this.current.miterLimit=e}},{key:"setStrokeAlpha",value:function(e){this.current.strokeAlpha=e}},{key:"setStrokeRGBColor",value:function(e,t,r){this.current.strokeColor=n.Util.makeHexColor(e,t,r)}},{key:"setFillAlpha",value:function(e){this.current.fillAlpha=e}},{key:"setFillRGBColor",value:function(e,t,r){this.current.fillColor=n.Util.makeHexColor(e,t,r),this.current.tspan=this.svgFactory.createElement("svg:tspan"),this.current.xcoords=[],this.current.ycoords=[]}},{key:"setStrokeColorN",value:function(e){this.current.strokeColor=this._makeColorN_Pattern(e)}},{key:"setFillColorN",value:function(e){this.current.fillColor=this._makeColorN_Pattern(e)}},{key:"shadingFill",value:function(e){var t=this.viewport.width,r=this.viewport.height,o=n.Util.inverseTransform(this.transformMatrix),a=n.Util.applyTransform([0,0],o),i=n.Util.applyTransform([0,r],o),s=n.Util.applyTransform([t,0],o),u=n.Util.applyTransform([t,r],o),l=Math.min(a[0],i[0],s[0],u[0]),c=Math.min(a[1],i[1],s[1],u[1]),f=Math.max(a[0],i[0],s[0],u[0]),d=Math.max(a[1],i[1],s[1],u[1]),p=this.svgFactory.createElement("svg:rect");p.setAttributeNS(null,"x",l),p.setAttributeNS(null,"y",c),p.setAttributeNS(null,"width",f-l),p.setAttributeNS(null,"height",d-c),p.setAttributeNS(null,"fill",this._makeShadingPattern(e)),this.current.fillAlpha<1&&p.setAttributeNS(null,"fill-opacity",this.current.fillAlpha),this._ensureTransformGroup().appendChild(p)}},{key:"_makeColorN_Pattern",value:function(e){return"TilingPattern"===e[0]?this._makeTilingPattern(e):this._makeShadingPattern(e)}},{key:"_makeTilingPattern",value:function(e){var t=e[1],r=e[2],o=e[3]||n.IDENTITY_MATRIX,a=s(e[4],4),u=a[0],l=a[1],c=a[2],f=a[3],d=e[5],p=e[6],h=e[7],v="shading".concat(C++),m=s(n.Util.normalizeRect([].concat(i(n.Util.applyTransform([u,l],o)),i(n.Util.applyTransform([c,f],o)))),4),g=m[0],y=m[1],b=m[2],w=m[3],_=s(n.Util.singularValueDecompose2dScale(o),2),A=d*_[0],S=p*_[1],k=this.svgFactory.createElement("svg:pattern");k.setAttributeNS(null,"id",v),k.setAttributeNS(null,"patternUnits","userSpaceOnUse"),k.setAttributeNS(null,"width",A),k.setAttributeNS(null,"height",S),k.setAttributeNS(null,"x","".concat(g)),k.setAttributeNS(null,"y","".concat(y));var x=this.svg,P=this.transformMatrix,E=this.current.fillColor,T=this.current.strokeColor,R=this.svgFactory.create(b-g,w-y);if(this.svg=R,this.transformMatrix=o,2===h){var O=n.Util.makeHexColor.apply(n.Util,i(t));this.current.fillColor=O,this.current.strokeColor=O}return this.executeOpTree(this.convertOpList(r)),this.svg=x,this.transformMatrix=P,this.current.fillColor=E,this.current.strokeColor=T,k.appendChild(R.childNodes[0]),this.defs.appendChild(k),"url(#".concat(v,")")}},{key:"_makeShadingPattern",value:function(e){switch("string"==typeof e&&(e=this.objs.get(e)),e[0]){case"RadialAxial":var t,r="shading".concat(C++),o=e[3];switch(e[1]){case"axial":var a=e[4],i=e[5];(t=this.svgFactory.createElement("svg:linearGradient")).setAttributeNS(null,"id",r),t.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),t.setAttributeNS(null,"x1",a[0]),t.setAttributeNS(null,"y1",a[1]),t.setAttributeNS(null,"x2",i[0]),t.setAttributeNS(null,"y2",i[1]);break;case"radial":var s=e[4],l=e[5],c=e[6],f=e[7];(t=this.svgFactory.createElement("svg:radialGradient")).setAttributeNS(null,"id",r),t.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),t.setAttributeNS(null,"cx",l[0]),t.setAttributeNS(null,"cy",l[1]),t.setAttributeNS(null,"r",f),t.setAttributeNS(null,"fx",s[0]),t.setAttributeNS(null,"fy",s[1]),t.setAttributeNS(null,"fr",c);break;default:throw new Error("Unknown RadialAxial type: ".concat(e[1]))}var d,p=u(o);try{for(p.s();!(d=p.n()).done;){var h=d.value,v=this.svgFactory.createElement("svg:stop");v.setAttributeNS(null,"offset",h[0]),v.setAttributeNS(null,"stop-color",h[1]),t.appendChild(v)}}catch(e){p.e(e)}finally{p.f()}return this.defs.appendChild(t),"url(#".concat(r,")");case"Mesh":return(0,n.warn)("Unimplemented pattern Mesh"),null;case"Dummy":return"hotpink";default:throw new Error("Unknown IR type: ".concat(e[0]))}}},{key:"setDash",value:function(e,t){this.current.dashArray=e,this.current.dashPhase=t}},{key:"constructPath",value:function(e,t){var r,o=this.current,a=o.x,i=o.y,s=[],l=0,c=u(e);try{for(c.s();!(r=c.n()).done;)switch(0|r.value){case n.OPS.rectangle:a=t[l++],i=t[l++];var f=t[l++],d=t[l++],p=a+f,h=i+d;s.push("M",v(a),v(i),"L",v(p),v(i),"L",v(p),v(h),"L",v(a),v(h),"Z");break;case n.OPS.moveTo:a=t[l++],i=t[l++],s.push("M",v(a),v(i));break;case n.OPS.lineTo:a=t[l++],i=t[l++],s.push("L",v(a),v(i));break;case n.OPS.curveTo:a=t[l+4],i=t[l+5],s.push("C",v(t[l]),v(t[l+1]),v(t[l+2]),v(t[l+3]),v(a),v(i)),l+=6;break;case n.OPS.curveTo2:s.push("C",v(a),v(i),v(t[l]),v(t[l+1]),v(t[l+2]),v(t[l+3])),a=t[l+2],i=t[l+3],l+=4;break;case n.OPS.curveTo3:a=t[l+2],i=t[l+3],s.push("C",v(t[l]),v(t[l+1]),v(a),v(i),v(a),v(i)),l+=4;break;case n.OPS.closePath:s.push("Z")}}catch(e){c.e(e)}finally{c.f()}s=s.join(" "),o.path&&e.length>0&&e[0]!==n.OPS.rectangle&&e[0]!==n.OPS.moveTo?s=o.path.getAttributeNS(null,"d")+s:(o.path=this.svgFactory.createElement("svg:path"),this._ensureTransformGroup().appendChild(o.path)),o.path.setAttributeNS(null,"d",s),o.path.setAttributeNS(null,"fill","none"),o.element=o.path,o.setCurrentPoint(a,i)}},{key:"endPath",value:function(){var e=this.current;if(e.path=null,this.pendingClip)if(e.element){var t="clippath".concat(k++),r=this.svgFactory.createElement("svg:clipPath");r.setAttributeNS(null,"id",t),r.setAttributeNS(null,"transform",m(this.transformMatrix));var n=e.element.cloneNode(!0);if("evenodd"===this.pendingClip?n.setAttributeNS(null,"clip-rule","evenodd"):n.setAttributeNS(null,"clip-rule","nonzero"),this.pendingClip=null,r.appendChild(n),this.defs.appendChild(r),e.activeClipUrl){e.clipGroup=null;var o,a=u(this.extraStack);try{for(a.s();!(o=a.n()).done;)o.value.clipGroup=null}catch(e){a.e(e)}finally{a.f()}r.setAttributeNS(null,"clip-path",e.activeClipUrl)}e.activeClipUrl="url(#".concat(t,")"),this.tgrp=null}else this.pendingClip=null}},{key:"clip",value:function(e){this.pendingClip=e}},{key:"closePath",value:function(){var e=this.current;if(e.path){var t="".concat(e.path.getAttributeNS(null,"d"),"Z");e.path.setAttributeNS(null,"d",t)}}},{key:"setLeading",value:function(e){this.current.leading=-e}},{key:"setTextRise",value:function(e){this.current.textRise=e}},{key:"setTextRenderingMode",value:function(e){this.current.textRenderingMode=e}},{key:"setHScale",value:function(e){this.current.textHScale=e/100}},{key:"setRenderingIntent",value:function(e){}},{key:"setFlatness",value:function(e){}},{key:"setGState",value:function(e){var t,r=u(e);try{for(r.s();!(t=r.n()).done;){var o=s(t.value,2),a=o[0],i=o[1];switch(a){case"LW":this.setLineWidth(i);break;case"LC":this.setLineCap(i);break;case"LJ":this.setLineJoin(i);break;case"ML":this.setMiterLimit(i);break;case"D":this.setDash(i[0],i[1]);break;case"RI":this.setRenderingIntent(i);break;case"FL":this.setFlatness(i);break;case"Font":this.setFont(i);break;case"CA":this.setStrokeAlpha(i);break;case"ca":this.setFillAlpha(i);break;default:(0,n.warn)("Unimplemented graphic state operator ".concat(a))}}}catch(e){r.e(e)}finally{r.f()}}},{key:"fill",value:function(){var e=this.current;e.element&&(e.element.setAttributeNS(null,"fill",e.fillColor),e.element.setAttributeNS(null,"fill-opacity",e.fillAlpha),this.endPath())}},{key:"stroke",value:function(){var e=this.current;e.element&&(this._setStrokeAttributes(e.element),e.element.setAttributeNS(null,"fill","none"),this.endPath())}},{key:"_setStrokeAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=this.current,n=r.dashArray;1!==t&&n.length>0&&(n=n.map((function(e){return t*e}))),e.setAttributeNS(null,"stroke",r.strokeColor),e.setAttributeNS(null,"stroke-opacity",r.strokeAlpha),e.setAttributeNS(null,"stroke-miterlimit",v(r.miterLimit)),e.setAttributeNS(null,"stroke-linecap",r.lineCap),e.setAttributeNS(null,"stroke-linejoin",r.lineJoin),e.setAttributeNS(null,"stroke-width",v(t*r.lineWidth)+"px"),e.setAttributeNS(null,"stroke-dasharray",n.map(v).join(" ")),e.setAttributeNS(null,"stroke-dashoffset",v(t*r.dashPhase)+"px")}},{key:"eoFill",value:function(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fill()}},{key:"fillStroke",value:function(){this.stroke(),this.fill()}},{key:"eoFillStroke",value:function(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fillStroke()}},{key:"closeStroke",value:function(){this.closePath(),this.stroke()}},{key:"closeFillStroke",value:function(){this.closePath(),this.fillStroke()}},{key:"closeEOFillStroke",value:function(){this.closePath(),this.eoFillStroke()}},{key:"paintSolidColorImageMask",value:function(){var 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)}},{key:"paintImageXObject",value:function(e){var t=e.startsWith("g_")?this.commonObjs.get(e):this.objs.get(e);t?this.paintInlineImageXObject(t):(0,n.warn)("Dependent image with object ID ".concat(e," is not ready yet"))}},{key:"paintInlineImageXObject",value:function(e,t){var r=e.width,n=e.height,o=A(e,this.forceDataSchema,!!t),a=this.svgFactory.createElement("svg:rect");a.setAttributeNS(null,"x","0"),a.setAttributeNS(null,"y","0"),a.setAttributeNS(null,"width",v(r)),a.setAttributeNS(null,"height",v(n)),this.current.element=a,this.clip("nonzero");var i=this.svgFactory.createElement("svg:image");i.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",o),i.setAttributeNS(null,"x","0"),i.setAttributeNS(null,"y",v(-n)),i.setAttributeNS(null,"width",v(r)+"px"),i.setAttributeNS(null,"height",v(n)+"px"),i.setAttributeNS(null,"transform","scale(".concat(v(1/r)," ").concat(v(-1/n),")")),t?t.appendChild(i):this._ensureTransformGroup().appendChild(i)}},{key:"paintImageMaskXObject",value:function(e){var t=this.current,r=e.width,n=e.height,o=t.fillColor;t.maskId="mask".concat(x++);var a=this.svgFactory.createElement("svg:mask");a.setAttributeNS(null,"id",t.maskId);var i=this.svgFactory.createElement("svg:rect");i.setAttributeNS(null,"x","0"),i.setAttributeNS(null,"y","0"),i.setAttributeNS(null,"width",v(r)),i.setAttributeNS(null,"height",v(n)),i.setAttributeNS(null,"fill",o),i.setAttributeNS(null,"mask","url(#".concat(t.maskId,")")),this.defs.appendChild(a),this._ensureTransformGroup().appendChild(i),this.paintInlineImageXObject(e,a)}},{key:"paintFormXObjectBegin",value:function(e,t){if(Array.isArray(e)&&6===e.length&&this.transform(e[0],e[1],e[2],e[3],e[4],e[5]),t){var r=t[2]-t[0],n=t[3]-t[1],o=this.svgFactory.createElement("svg:rect");o.setAttributeNS(null,"x",t[0]),o.setAttributeNS(null,"y",t[1]),o.setAttributeNS(null,"width",v(r)),o.setAttributeNS(null,"height",v(n)),this.current.element=o,this.clip("nonzero"),this.endPath()}}},{key:"paintFormXObjectEnd",value:function(){}},{key:"_initialize",value:function(e){var t=this.svgFactory.create(e.width,e.height),r=this.svgFactory.createElement("svg:defs");t.appendChild(r),this.defs=r;var n=this.svgFactory.createElement("svg:g");return n.setAttributeNS(null,"transform",m(e.transform)),t.appendChild(n),this.svg=n,t}},{key:"_ensureClipGroup",value:function(){if(!this.current.clipGroup){var 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}},{key:"_ensureTransformGroup",value:function(){return this.tgrp||(this.tgrp=this.svgFactory.createElement("svg:g"),this.tgrp.setAttributeNS(null,"transform",m(this.transformMatrix)),this.current.activeClipUrl?this._ensureClipGroup().appendChild(this.tgrp):this.svg.appendChild(this.tgrp)),this.tgrp}}]),e}()},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.PDFNodeStream=void 0;var o,a=(o=r(2))&&o.__esModule?o:{default:o},i=r(4),s=r(154);function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}function l(e,t){return l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},l(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,o=f(e);if(t){var a=f(this).constructor;r=Reflect.construct(o,arguments,a)}else r=o.apply(this,arguments);return function(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,r)}}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function d(e,t,r,n,o,a,i){try{var s=e[a](i),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}function p(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function i(e){d(a,n,o,i,s,"next",e)}function s(e){d(a,n,o,i,s,"throw",e)}i(void 0)}))}}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function g(e,t,r){return t&&m(e.prototype,t),r&&m(e,r),e}var y=__webpack_require__(8348),b=__webpack_require__(6329),w=__webpack_require__(5104),_=__webpack_require__(3356),A=/^file:\/\/\/[a-zA-Z]:\//,S=function(){function e(t){var r,n;v(this,e),this.source=t,this.url=(r=t.url,"file:"===(n=_.parse(r)).protocol||n.host?n:/^[a-z]:[/\\]/i.test(r)?_.parse("file:///".concat(r)):(n.host||(n.protocol="file:"),n)),this.isHttp="http:"===this.url.protocol||"https:"===this.url.protocol,this.isFsUrl="file:"===this.url.protocol,this.httpHeaders=this.isHttp&&t.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}return g(e,[{key:"_progressiveDataLength",get:function(){var e,t;return null!==(e=null===(t=this._fullRequestReader)||void 0===t?void 0:t._loaded)&&void 0!==e?e:0}},{key:"getFullReader",value:function(){return(0,i.assert)(!this._fullRequestReader,"PDFNodeStream.getFullReader can only be called once."),this._fullRequestReader=this.isFsUrl?new T(this):new P(this),this._fullRequestReader}},{key:"getRangeReader",value:function(e,t){if(t<=this._progressiveDataLength)return null;var r=this.isFsUrl?new R(this,e,t):new E(this,e,t);return this._rangeRequestReaders.push(r),r}},{key:"cancelAllRequests",value:function(e){this._fullRequestReader&&this._fullRequestReader.cancel(e);var t,r=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return h(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){s=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw a}}}}(this._rangeRequestReaders.slice(0));try{for(r.s();!(t=r.n()).done;)t.value.cancel(e)}catch(e){r.e(e)}finally{r.f()}}}]),e}();t.PDFNodeStream=S;var k=function(){function e(t){v(this,e),this._url=t.url,this._done=!1,this._storedError=null,this.onProgress=null;var r=t.source;this._contentLength=r.length,this._loaded=0,this._filename=null,this._disableRange=r.disableRange||!1,this._rangeChunkSize=r.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!r.disableStream,this._isRangeSupported=!r.disableRange,this._readableStream=null,this._readCapability=(0,i.createPromiseCapability)(),this._headersCapability=(0,i.createPromiseCapability)()}var t;return g(e,[{key:"headersReady",get:function(){return this._headersCapability.promise}},{key:"filename",get:function(){return this._filename}},{key:"contentLength",get:function(){return this._contentLength}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}},{key:"read",value:(t=p(a.default.mark((function e(){var t,r;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._readCapability.promise;case 2:if(!this._done){e.next=4;break}return e.abrupt("return",{value:void 0,done:!0});case 4:if(!this._storedError){e.next=6;break}throw this._storedError;case 6:if(null!==(t=this._readableStream.read())){e.next=10;break}return this._readCapability=(0,i.createPromiseCapability)(),e.abrupt("return",this.read());case 10:return this._loaded+=t.length,this.onProgress&&this.onProgress({loaded:this._loaded,total:this._contentLength}),r=new Uint8Array(t).buffer,e.abrupt("return",{value:r,done:!1});case 14:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(e){this._readableStream?this._readableStream.destroy(e):this._error(e)}},{key:"_error",value:function(e){this._storedError=e,this._readCapability.resolve()}},{key:"_setReadableStream",value:function(e){var t=this;this._readableStream=e,e.on("readable",(function(){t._readCapability.resolve()})),e.on("end",(function(){e.destroy(),t._done=!0,t._readCapability.resolve()})),e.on("error",(function(e){t._error(e)})),!this._isStreamingSupported&&this._isRangeSupported&&this._error(new i.AbortException("streaming is disabled")),this._storedError&&this._readableStream.destroy(this._storedError)}}]),e}(),x=function(){function e(t){v(this,e),this._url=t.url,this._done=!1,this._storedError=null,this.onProgress=null,this._loaded=0,this._readableStream=null,this._readCapability=(0,i.createPromiseCapability)();var r=t.source;this._isStreamingSupported=!r.disableStream}var t;return g(e,[{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}},{key:"read",value:(t=p(a.default.mark((function e(){var t,r;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._readCapability.promise;case 2:if(!this._done){e.next=4;break}return e.abrupt("return",{value:void 0,done:!0});case 4:if(!this._storedError){e.next=6;break}throw this._storedError;case 6:if(null!==(t=this._readableStream.read())){e.next=10;break}return this._readCapability=(0,i.createPromiseCapability)(),e.abrupt("return",this.read());case 10:return this._loaded+=t.length,this.onProgress&&this.onProgress({loaded:this._loaded}),r=new Uint8Array(t).buffer,e.abrupt("return",{value:r,done:!1});case 14:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(e){this._readableStream?this._readableStream.destroy(e):this._error(e)}},{key:"_error",value:function(e){this._storedError=e,this._readCapability.resolve()}},{key:"_setReadableStream",value:function(e){var t=this;this._readableStream=e,e.on("readable",(function(){t._readCapability.resolve()})),e.on("end",(function(){e.destroy(),t._done=!0,t._readCapability.resolve()})),e.on("error",(function(e){t._error(e)})),this._storedError&&this._readableStream.destroy(this._storedError)}}]),e}();function C(e,t){return{protocol:e.protocol,auth:e.auth,host:e.hostname,port:e.port,path:e.path,method:"GET",headers:t}}var P=function(e){u(r,e);var t=c(r);function r(e){var n;v(this,r);var o=function(t){if(404===t.statusCode){var r=new i.MissingPDFException('Missing PDF "'.concat(n._url,'".'));return n._storedError=r,void n._headersCapability.reject(r)}n._headersCapability.resolve(),n._setReadableStream(t);var o=function(e){return n._readableStream.headers[e.toLowerCase()]},a=(0,s.validateRangeRequestCapabilities)({getResponseHeader:o,isHttp:e.isHttp,rangeChunkSize:n._rangeChunkSize,disableRange:n._disableRange}),u=a.allowRangeRequests,l=a.suggestedLength;n._isRangeSupported=u,n._contentLength=l||n._contentLength,n._filename=(0,s.extractFilenameFromHeader)(o)};return(n=t.call(this,e))._request=null,"http:"===n._url.protocol?n._request=b.request(C(n._url,e.httpHeaders),o):n._request=w.request(C(n._url,e.httpHeaders),o),n._request.on("error",(function(e){n._storedError=e,n._headersCapability.reject(e)})),n._request.end(),n}return r}(k),E=function(e){u(r,e);var t=c(r);function r(e,n,o){var a;for(var s in v(this,r),(a=t.call(this,e))._httpHeaders={},e.httpHeaders){var u=e.httpHeaders[s];void 0!==u&&(a._httpHeaders[s]=u)}a._httpHeaders.Range="bytes=".concat(n,"-").concat(o-1);var l=function(e){if(404!==e.statusCode)a._setReadableStream(e);else{var t=new i.MissingPDFException('Missing PDF "'.concat(a._url,'".'));a._storedError=t}};return a._request=null,"http:"===a._url.protocol?a._request=b.request(C(a._url,a._httpHeaders),l):a._request=w.request(C(a._url,a._httpHeaders),l),a._request.on("error",(function(e){a._storedError=e})),a._request.end(),a}return r}(x),T=function(e){u(r,e);var t=c(r);function r(e){var n;v(this,r),n=t.call(this,e);var o=decodeURIComponent(n._url.path);return A.test(n._url.href)&&(o=o.replace(/^\//,"")),y.lstat(o,(function(e,t){if(e)return"ENOENT"===e.code&&(e=new i.MissingPDFException('Missing PDF "'.concat(o,'".'))),n._storedError=e,void n._headersCapability.reject(e);n._contentLength=t.size,n._setReadableStream(y.createReadStream(o)),n._headersCapability.resolve()})),n}return r}(k),R=function(e){u(r,e);var t=c(r);function r(e,n,o){var a;v(this,r),a=t.call(this,e);var i=decodeURIComponent(a._url.path);return A.test(a._url.href)&&(i=i.replace(/^\//,"")),a._setReadableStream(y.createReadStream(i,{start:n,end:o-1})),a}return r}(x)},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createResponseStatusError=function(e,t){return 404===e||0===e&&t.startsWith("file:")?new n.MissingPDFException('Missing PDF "'+t+'".'):new n.UnexpectedResponseException("Unexpected server response (".concat(e,') while retrieving PDF "').concat(t,'".'),e)},t.extractFilenameFromHeader=function(e){var t=e("Content-Disposition");if(t){var r=(0,o.getFilenameFromContentDispositionHeader)(t);if(r.includes("%"))try{r=decodeURIComponent(r)}catch(e){}if((0,a.isPdfFile)(r))return r}return null},t.validateRangeRequestCapabilities=function(e){var t=e.getResponseHeader,r=e.isHttp,o=e.rangeChunkSize,a=e.disableRange;(0,n.assert)(o>0,"Range chunk size must be larger than zero");var i={allowRangeRequests:!1,suggestedLength:void 0},s=parseInt(t("Content-Length"),10);return Number.isInteger(s)?(i.suggestedLength=s,s<=2*o||a||!r||"bytes"!==t("Accept-Ranges")||"identity"!==(t("Content-Encoding")||"identity")||(i.allowRangeRequests=!0),i):i},t.validateResponseStatus=function(e){return 200===e||206===e};var n=r(4),o=r(155),a=r(1)},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFilenameFromContentDispositionHeader=function(e){var t=!0,r=s("filename\\*","i").exec(e);if(r){var a=c(r=r[1]);return l(a=d(a=f(a=unescape(a))))}if(r=function(e){for(var t,r=[],n=s("filename\\*((?!0\\d)\\d+)(\\*?)","ig");null!==(t=n.exec(e));){var a=o(t,4),i=a[1],u=a[2],l=a[3];if((i=parseInt(i,10))in r){if(0===i)break}else r[i]=[u,l]}for(var d=[],p=0;p<r.length&&p in r;++p){var h=o(r[p],2),v=h[0],m=h[1];m=c(m),v&&(m=unescape(m),0===p&&(m=f(m))),d.push(m)}return d.join("")}(e))return l(d(r));if(r=s("filename","i").exec(e)){var i=c(r=r[1]);return l(i=d(i))}function s(e,t){return new RegExp("(?:^|;)\\s*"+e+'\\s*=\\s*([^";\\s][^;\\s]*|"(?:[^"\\\\]|\\\\"?)+"?)',t)}function u(e,r){if(e){if(!/^[\x00-\xFF]+$/.test(r))return r;try{var o=new TextDecoder(e,{fatal:!0}),a=(0,n.stringToBytes)(r);r=o.decode(a),t=!1}catch(n){if(/^utf-?8$/i.test(e))try{r=decodeURIComponent(escape(r)),t=!1}catch(e){}}}return r}function l(e){return t&&/[\x80-\xff]/.test(e)&&(e=u("utf-8",e),t&&(e=u("iso-8859-1",e))),e}function c(e){if(e.startsWith('"')){for(var t=e.slice(1).split('\\"'),r=0;r<t.length;++r){var n=t[r].indexOf('"');-1!==n&&(t[r]=t[r].slice(0,n),t.length=r+1),t[r]=t[r].replace(/\\(.)/g,"$1")}e=t.join('"')}return e}function f(e){var t=e.indexOf("'");return-1===t?e:u(e.slice(0,t),e.slice(t+1).replace(/^[^']*'/,""))}function d(e){return!e.startsWith("=?")||/[\x00-\x19\x80-\xff]/.test(e)?e:e.replace(/=\?([\w-]*)\?([QqBb])\?((?:[^?]|\?(?!=))*)\?=/g,(function(e,t,r,n){if("q"===r||"Q"===r)return u(t,n=(n=n.replace(/_/g," ")).replace(/=([0-9a-fA-F]{2})/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})));try{n=atob(n)}catch(e){}return u(t,n)}))}return""};var n=r(4);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],i=!0,s=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{i||null==r.return||r.return()}finally{if(s)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFNetworkStream=void 0;var n,o=(n=r(2))&&n.__esModule?n:{default:n},a=r(4),i=r(154);function s(e,t,r,n,o,a,i){try{var s=e[a](i),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}function u(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function i(e){s(a,n,o,i,u,"next",e)}function u(e){s(a,n,o,i,u,"throw",e)}i(void 0)}))}}function l(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){s=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw a}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t,r){return t&&d(e.prototype,t),r&&d(e,r),e}var h=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};f(this,e),this.url=t,this.isHttp=/^https?:/i.test(t),this.httpHeaders=this.isHttp&&r.httpHeaders||Object.create(null),this.withCredentials=r.withCredentials||!1,this.getXhr=r.getXhr||function(){return new XMLHttpRequest},this.currXhrId=0,this.pendingRequests=Object.create(null)}return p(e,[{key:"requestRange",value:function(e,t,r){var n={begin:e,end:t};for(var o in r)n[o]=r[o];return this.request(n)}},{key:"requestFull",value:function(e){return this.request(e)}},{key:"request",value:function(e){var t=this.getXhr(),r=this.currXhrId++,n=this.pendingRequests[r]={xhr:t};for(var o in t.open("GET",this.url),t.withCredentials=this.withCredentials,this.httpHeaders){var a=this.httpHeaders[o];void 0!==a&&t.setRequestHeader(o,a)}return this.isHttp&&"begin"in e&&"end"in e?(t.setRequestHeader("Range","bytes=".concat(e.begin,"-").concat(e.end-1)),n.expectedStatus=206):n.expectedStatus=200,t.responseType="arraybuffer",e.onError&&(t.onerror=function(r){e.onError(t.status)}),t.onreadystatechange=this.onStateChange.bind(this,r),t.onprogress=this.onProgress.bind(this,r),n.onHeadersReceived=e.onHeadersReceived,n.onDone=e.onDone,n.onError=e.onError,n.onProgress=e.onProgress,t.send(null),r}},{key:"onProgress",value:function(e,t){var r,n=this.pendingRequests[e];n&&(null===(r=n.onProgress)||void 0===r||r.call(n,t))}},{key:"onStateChange",value:function(e,t){var r=this.pendingRequests[e];if(r){var n=r.xhr;if(n.readyState>=2&&r.onHeadersReceived&&(r.onHeadersReceived(),delete r.onHeadersReceived),4===n.readyState&&e in this.pendingRequests)if(delete this.pendingRequests[e],0===n.status&&this.isHttp){var o;null===(o=r.onError)||void 0===o||o.call(r,n.status)}else{var i=n.status||200;if(200===i&&206===r.expectedStatus||i===r.expectedStatus){var s=function(e){var t=e.response;return"string"!=typeof t?t:(0,a.stringToBytes)(t).buffer}(n);if(206===i){var u=n.getResponseHeader("Content-Range"),l=/bytes (\d+)-(\d+)\/(\d+)/.exec(u);r.onDone({begin:parseInt(l[1],10),chunk:s})}else if(s)r.onDone({begin:0,chunk:s});else{var c;null===(c=r.onError)||void 0===c||c.call(r,n.status)}}else{var f;null===(f=r.onError)||void 0===f||f.call(r,n.status)}}}}},{key:"getRequestXhr",value:function(e){return this.pendingRequests[e].xhr}},{key:"isPendingRequest",value:function(e){return e in this.pendingRequests}},{key:"abortRequest",value:function(e){var t=this.pendingRequests[e].xhr;delete this.pendingRequests[e],t.abort()}}]),e}(),v=function(){function e(t){f(this,e),this._source=t,this._manager=new h(t.url,{httpHeaders:t.httpHeaders,withCredentials:t.withCredentials}),this._rangeChunkSize=t.rangeChunkSize,this._fullRequestReader=null,this._rangeRequestReaders=[]}return p(e,[{key:"_onRangeRequestReaderClosed",value:function(e){var t=this._rangeRequestReaders.indexOf(e);t>=0&&this._rangeRequestReaders.splice(t,1)}},{key:"getFullReader",value:function(){return(0,a.assert)(!this._fullRequestReader,"PDFNetworkStream.getFullReader can only be called once."),this._fullRequestReader=new m(this._manager,this._source),this._fullRequestReader}},{key:"getRangeReader",value:function(e,t){var r=new g(this._manager,e,t);return r.onClosed=this._onRangeRequestReaderClosed.bind(this),this._rangeRequestReaders.push(r),r}},{key:"cancelAllRequests",value:function(e){var t;null===(t=this._fullRequestReader)||void 0===t||t.cancel(e);var r,n=l(this._rangeRequestReaders.slice(0));try{for(n.s();!(r=n.n()).done;)r.value.cancel(e)}catch(e){n.e(e)}finally{n.f()}}}]),e}();t.PDFNetworkStream=v;var m=function(){function e(t,r){f(this,e),this._manager=t;var n={onHeadersReceived:this._onHeadersReceived.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=r.url,this._fullRequestId=t.requestFull(n),this._headersReceivedCapability=(0,a.createPromiseCapability)(),this._disableRange=r.disableRange||!1,this._contentLength=r.length,this._rangeChunkSize=r.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}var t;return p(e,[{key:"_onHeadersReceived",value:function(){var e=this._fullRequestId,t=this._manager.getRequestXhr(e),r=function(e){return t.getResponseHeader(e)},n=(0,i.validateRangeRequestCapabilities)({getResponseHeader:r,isHttp:this._manager.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange}),o=n.allowRangeRequests,a=n.suggestedLength;o&&(this._isRangeSupported=!0),this._contentLength=a||this._contentLength,this._filename=(0,i.extractFilenameFromHeader)(r),this._isRangeSupported&&this._manager.abortRequest(e),this._headersReceivedCapability.resolve()}},{key:"_onDone",value:function(e){if(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)){var t,r=l(this._requests);try{for(r.s();!(t=r.n()).done;)t.value.resolve({value:void 0,done:!0})}catch(e){r.e(e)}finally{r.f()}this._requests.length=0}}},{key:"_onError",value:function(e){this._storedError=(0,i.createResponseStatusError)(e,this._url),this._headersReceivedCapability.reject(this._storedError);var t,r=l(this._requests);try{for(r.s();!(t=r.n()).done;)t.value.reject(this._storedError)}catch(e){r.e(e)}finally{r.f()}this._requests.length=0,this._cachedChunks.length=0}},{key:"_onProgress",value:function(e){var t;null===(t=this.onProgress)||void 0===t||t.call(this,{loaded:e.loaded,total:e.lengthComputable?e.total:this._contentLength})}},{key:"filename",get:function(){return this._filename}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}},{key:"contentLength",get:function(){return this._contentLength}},{key:"headersReady",get:function(){return this._headersReceivedCapability.promise}},{key:"read",value:(t=u(o.default.mark((function e(){var t,r;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this._storedError){e.next=2;break}throw this._storedError;case 2:if(!(this._cachedChunks.length>0)){e.next=5;break}return t=this._cachedChunks.shift(),e.abrupt("return",{value:t,done:!1});case 5:if(!this._done){e.next=7;break}return e.abrupt("return",{value:void 0,done:!0});case 7:return r=(0,a.createPromiseCapability)(),this._requests.push(r),e.abrupt("return",r.promise);case 10:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(e){this._done=!0,this._headersReceivedCapability.reject(e);var t,r=l(this._requests);try{for(r.s();!(t=r.n()).done;)t.value.resolve({value:void 0,done:!0})}catch(e){r.e(e)}finally{r.f()}this._requests.length=0,this._manager.isPendingRequest(this._fullRequestId)&&this._manager.abortRequest(this._fullRequestId),this._fullRequestReader=null}}]),e}(),g=function(){function e(t,r,n){f(this,e),this._manager=t;var o={onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=t.url,this._requestId=t.requestRange(r,n,o),this._requests=[],this._queuedChunk=null,this._done=!1,this._storedError=void 0,this.onProgress=null,this.onClosed=null}var t;return p(e,[{key:"_close",value:function(){var e;null===(e=this.onClosed)||void 0===e||e.call(this,this)}},{key:"_onDone",value:function(e){var t=e.chunk;this._requests.length>0?this._requests.shift().resolve({value:t,done:!1}):this._queuedChunk=t,this._done=!0;var r,n=l(this._requests);try{for(n.s();!(r=n.n()).done;)r.value.resolve({value:void 0,done:!0})}catch(e){n.e(e)}finally{n.f()}this._requests.length=0,this._close()}},{key:"_onError",value:function(e){this._storedError=(0,i.createResponseStatusError)(e,this._url);var t,r=l(this._requests);try{for(r.s();!(t=r.n()).done;)t.value.reject(this._storedError)}catch(e){r.e(e)}finally{r.f()}this._requests.length=0,this._queuedChunk=null}},{key:"_onProgress",value:function(e){var t;this.isStreamingSupported||null===(t=this.onProgress)||void 0===t||t.call(this,{loaded:e.loaded})}},{key:"isStreamingSupported",get:function(){return!1}},{key:"read",value:(t=u(o.default.mark((function e(){var t,r;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this._storedError){e.next=2;break}throw this._storedError;case 2:if(null===this._queuedChunk){e.next=6;break}return t=this._queuedChunk,this._queuedChunk=null,e.abrupt("return",{value:t,done:!1});case 6:if(!this._done){e.next=8;break}return e.abrupt("return",{value:void 0,done:!0});case 8:return r=(0,a.createPromiseCapability)(),this._requests.push(r),e.abrupt("return",r.promise);case 11:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(e){this._done=!0;var t,r=l(this._requests);try{for(r.s();!(t=r.n()).done;)t.value.resolve({value:void 0,done:!0})}catch(e){r.e(e)}finally{r.f()}this._requests.length=0,this._manager.isPendingRequest(this._requestId)&&this._manager.abortRequest(this._requestId),this._close()}}]),e}()},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFFetchStream=void 0;var n,o=(n=r(2))&&n.__esModule?n:{default:n},a=r(4),i=r(154);function s(e,t,r,n,o,a,i){try{var s=e[a](i),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}function u(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function i(e){s(a,n,o,i,u,"next",e)}function u(e){s(a,n,o,i,u,"throw",e)}i(void 0)}))}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t,r){return t&&f(e.prototype,t),r&&f(e,r),e}function p(e,t,r){return{method:"GET",headers:e,signal:null==r?void 0:r.signal,mode:"cors",credentials:t?"include":"same-origin",redirect:"follow"}}function h(e){var t=new Headers;for(var r in e){var n=e[r];void 0!==n&&t.append(r,n)}return t}var v=function(){function e(t){c(this,e),this.source=t,this.isHttp=/^https?:/i.test(t.url),this.httpHeaders=this.isHttp&&t.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}return d(e,[{key:"_progressiveDataLength",get:function(){var e,t;return null!==(e=null===(t=this._fullRequestReader)||void 0===t?void 0:t._loaded)&&void 0!==e?e:0}},{key:"getFullReader",value:function(){return(0,a.assert)(!this._fullRequestReader,"PDFFetchStream.getFullReader can only be called once."),this._fullRequestReader=new m(this),this._fullRequestReader}},{key:"getRangeReader",value:function(e,t){if(t<=this._progressiveDataLength)return null;var r=new g(this,e,t);return this._rangeRequestReaders.push(r),r}},{key:"cancelAllRequests",value:function(e){this._fullRequestReader&&this._fullRequestReader.cancel(e);var t,r=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){s=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw a}}}}(this._rangeRequestReaders.slice(0));try{for(r.s();!(t=r.n()).done;)t.value.cancel(e)}catch(e){r.e(e)}finally{r.f()}}}]),e}();t.PDFFetchStream=v;var m=function(){function e(t){var r=this;c(this,e),this._stream=t,this._reader=null,this._loaded=0,this._filename=null;var n=t.source;this._withCredentials=n.withCredentials||!1,this._contentLength=n.length,this._headersCapability=(0,a.createPromiseCapability)(),this._disableRange=n.disableRange||!1,this._rangeChunkSize=n.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),"undefined"!=typeof AbortController&&(this._abortController=new AbortController),this._isStreamingSupported=!n.disableStream,this._isRangeSupported=!n.disableRange,this._headers=h(this._stream.httpHeaders);var o=n.url;fetch(o,p(this._headers,this._withCredentials,this._abortController)).then((function(e){if(!(0,i.validateResponseStatus)(e.status))throw(0,i.createResponseStatusError)(e.status,o);r._reader=e.body.getReader(),r._headersCapability.resolve();var t=function(t){return e.headers.get(t)},n=(0,i.validateRangeRequestCapabilities)({getResponseHeader:t,isHttp:r._stream.isHttp,rangeChunkSize:r._rangeChunkSize,disableRange:r._disableRange}),s=n.allowRangeRequests,u=n.suggestedLength;r._isRangeSupported=s,r._contentLength=u||r._contentLength,r._filename=(0,i.extractFilenameFromHeader)(t),!r._isStreamingSupported&&r._isRangeSupported&&r.cancel(new a.AbortException("Streaming is disabled."))})).catch(this._headersCapability.reject),this.onProgress=null}var t;return d(e,[{key:"headersReady",get:function(){return this._headersCapability.promise}},{key:"filename",get:function(){return this._filename}},{key:"contentLength",get:function(){return this._contentLength}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}},{key:"read",value:(t=u(o.default.mark((function e(){var t,r,n,a;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._headersCapability.promise;case 2:return e.next=4,this._reader.read();case 4:if(t=e.sent,r=t.value,!(n=t.done)){e.next=9;break}return e.abrupt("return",{value:r,done:n});case 9:return this._loaded+=r.byteLength,this.onProgress&&this.onProgress({loaded:this._loaded,total:this._contentLength}),a=new Uint8Array(r).buffer,e.abrupt("return",{value:a,done:!1});case 13:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(e){this._reader&&this._reader.cancel(e),this._abortController&&this._abortController.abort()}}]),e}(),g=function(){function e(t,r,n){var o=this;c(this,e),this._stream=t,this._reader=null,this._loaded=0;var s=t.source;this._withCredentials=s.withCredentials||!1,this._readCapability=(0,a.createPromiseCapability)(),this._isStreamingSupported=!s.disableStream,"undefined"!=typeof AbortController&&(this._abortController=new AbortController),this._headers=h(this._stream.httpHeaders),this._headers.append("Range","bytes=".concat(r,"-").concat(n-1));var u=s.url;fetch(u,p(this._headers,this._withCredentials,this._abortController)).then((function(e){if(!(0,i.validateResponseStatus)(e.status))throw(0,i.createResponseStatusError)(e.status,u);o._readCapability.resolve(),o._reader=e.body.getReader()})).catch(this._readCapability.reject),this.onProgress=null}var t;return d(e,[{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}},{key:"read",value:(t=u(o.default.mark((function e(){var t,r,n,a;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._readCapability.promise;case 2:return e.next=4,this._reader.read();case 4:if(t=e.sent,r=t.value,!(n=t.done)){e.next=9;break}return e.abrupt("return",{value:r,done:n});case 9:return this._loaded+=r.byteLength,this.onProgress&&this.onProgress({loaded:this._loaded}),a=new Uint8Array(r).buffer,e.abrupt("return",{value:a,done:!1});case 13:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(e){this._reader&&this._reader.cancel(e),this._abortController&&this._abortController.abort()}}]),e}()}],__webpack_module_cache__={};function __w_pdfjs_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var r=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(r.exports,r,r.exports,__w_pdfjs_require__),r.loaded=!0,r.exports}__w_pdfjs_require__.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var __nested_webpack_exports__={};return(()=>{"use strict";var e=__nested_webpack_exports__;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"AnnotationLayer",{enumerable:!0,get:function(){return o.AnnotationLayer}}),Object.defineProperty(e,"AnnotationMode",{enumerable:!0,get:function(){return r.AnnotationMode}}),Object.defineProperty(e,"CMapCompressionType",{enumerable:!0,get:function(){return r.CMapCompressionType}}),Object.defineProperty(e,"GlobalWorkerOptions",{enumerable:!0,get:function(){return a.GlobalWorkerOptions}}),Object.defineProperty(e,"InvalidPDFException",{enumerable:!0,get:function(){return r.InvalidPDFException}}),Object.defineProperty(e,"LinkTarget",{enumerable:!0,get:function(){return t.LinkTarget}}),Object.defineProperty(e,"LoopbackPort",{enumerable:!0,get:function(){return n.LoopbackPort}}),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,"PDFDataRangeTransport",{enumerable:!0,get:function(){return n.PDFDataRangeTransport}}),Object.defineProperty(e,"PDFDateString",{enumerable:!0,get:function(){return t.PDFDateString}}),Object.defineProperty(e,"PDFWorker",{enumerable:!0,get:function(){return n.PDFWorker}}),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,"PixelsPerInch",{enumerable:!0,get:function(){return t.PixelsPerInch}}),Object.defineProperty(e,"RenderingCancelledException",{enumerable:!0,get:function(){return t.RenderingCancelledException}}),Object.defineProperty(e,"SVGGraphics",{enumerable:!0,get:function(){return u.SVGGraphics}}),Object.defineProperty(e,"UNSUPPORTED_FEATURES",{enumerable:!0,get:function(){return r.UNSUPPORTED_FEATURES}}),Object.defineProperty(e,"UnexpectedResponseException",{enumerable:!0,get:function(){return r.UnexpectedResponseException}}),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,"XfaLayer",{enumerable:!0,get:function(){return l.XfaLayer}}),Object.defineProperty(e,"addLinkAttributes",{enumerable:!0,get:function(){return t.addLinkAttributes}}),Object.defineProperty(e,"build",{enumerable:!0,get:function(){return n.build}}),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,"getDocument",{enumerable:!0,get:function(){return n.getDocument}}),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,"getXfaPageViewport",{enumerable:!0,get:function(){return t.getXfaPageViewport}}),Object.defineProperty(e,"isPdfFile",{enumerable:!0,get:function(){return t.isPdfFile}}),Object.defineProperty(e,"loadScript",{enumerable:!0,get:function(){return t.loadScript}}),Object.defineProperty(e,"removeNullCharacters",{enumerable:!0,get:function(){return r.removeNullCharacters}}),Object.defineProperty(e,"renderTextLayer",{enumerable:!0,get:function(){return s.renderTextLayer}}),Object.defineProperty(e,"shadow",{enumerable:!0,get:function(){return r.shadow}}),Object.defineProperty(e,"version",{enumerable:!0,get:function(){return n.version}});var t=__w_pdfjs_require__(1),r=__w_pdfjs_require__(4),n=__w_pdfjs_require__(136),o=__w_pdfjs_require__(148),a=__w_pdfjs_require__(142),i=__w_pdfjs_require__(6),s=__w_pdfjs_require__(151),u=__w_pdfjs_require__(152),l=__w_pdfjs_require__(150);if(i.isNodeJS){var c=__w_pdfjs_require__(153).PDFNodeStream;(0,n.setPDFNetworkStreamFactory)((function(e){return new c(e)}))}else{var f=__w_pdfjs_require__(156).PDFNetworkStream,d=__w_pdfjs_require__(157).PDFFetchStream;(0,n.setPDFNetworkStreamFactory)((function(e){return(0,t.isValidFetchUrl)(e.url)?new d(e):new f(e)}))}})(),__nested_webpack_exports__})()},module.exports=factory()},6999:function(e,t,r){"use strict";var n=r(6848);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,a,i){if(i!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return r.PropTypes=r,r}},9067:function(e,t,r){e.exports=r(6999)()},6848:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9229:function(e,t,r){var n=r(5567);function o(e){this.mode=n.MODE_8BIT_BYTE,this.data=e}o.prototype={getLength:function(e){return this.data.length},write:function(e){for(var t=0;t<this.data.length;t++)e.put(this.data.charCodeAt(t),8)}},e.exports=o},5075:function(e){function t(){this.buffer=new Array,this.length=0}t.prototype={get:function(e){var t=Math.floor(e/8);return 1==(this.buffer[t]>>>7-e%8&1)},put:function(e,t){for(var r=0;r<t;r++)this.putBit(1==(e>>>t-r-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},e.exports=t},4496:function(e){e.exports={L:1,M:0,Q:3,H:2}},7610:function(e,t,r){var n=r(66);function o(e,t){if(null==e.length)throw new Error(e.length+"/"+t);for(var r=0;r<e.length&&0==e[r];)r++;this.num=new Array(e.length-r+t);for(var n=0;n<e.length-r;n++)this.num[n]=e[n+r]}o.prototype={get:function(e){return this.num[e]},getLength:function(){return this.num.length},multiply:function(e){for(var t=new Array(this.getLength()+e.getLength()-1),r=0;r<this.getLength();r++)for(var a=0;a<e.getLength();a++)t[r+a]^=n.gexp(n.glog(this.get(r))+n.glog(e.get(a)));return new o(t,0)},mod:function(e){if(this.getLength()-e.getLength()<0)return this;for(var t=n.glog(this.get(0))-n.glog(e.get(0)),r=new Array(this.getLength()),a=0;a<this.getLength();a++)r[a]=this.get(a);for(a=0;a<e.getLength();a++)r[a]^=n.gexp(n.glog(e.get(a))+t);return new o(r,0).mod(e)}},e.exports=o},2238:function(e,t,r){var n=r(9229),o=r(8390),a=r(5075),i=r(5696),s=r(7610);function u(e,t){this.typeNumber=e,this.errorCorrectLevel=t,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}var l=u.prototype;l.addData=function(e){var t=new n(e);this.dataList.push(t),this.dataCache=null},l.isDark=function(e,t){if(e<0||this.moduleCount<=e||t<0||this.moduleCount<=t)throw new Error(e+","+t);return this.modules[e][t]},l.getModuleCount=function(){return this.moduleCount},l.make=function(){if(this.typeNumber<1){var e=1;for(e=1;e<40;e++){for(var t=o.getRSBlocks(e,this.errorCorrectLevel),r=new a,n=0,s=0;s<t.length;s++)n+=t[s].dataCount;for(s=0;s<this.dataList.length;s++){var u=this.dataList[s];r.put(u.mode,4),r.put(u.getLength(),i.getLengthInBits(u.mode,e)),u.write(r)}if(r.getLengthInBits()<=8*n)break}this.typeNumber=e}this.makeImpl(!1,this.getBestMaskPattern())},l.makeImpl=function(e,t){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var r=0;r<this.moduleCount;r++){this.modules[r]=new Array(this.moduleCount);for(var n=0;n<this.moduleCount;n++)this.modules[r][n]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(e,t),this.typeNumber>=7&&this.setupTypeNumber(e),null==this.dataCache&&(this.dataCache=u.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,t)},l.setupPositionProbePattern=function(e,t){for(var r=-1;r<=7;r++)if(!(e+r<=-1||this.moduleCount<=e+r))for(var n=-1;n<=7;n++)t+n<=-1||this.moduleCount<=t+n||(this.modules[e+r][t+n]=0<=r&&r<=6&&(0==n||6==n)||0<=n&&n<=6&&(0==r||6==r)||2<=r&&r<=4&&2<=n&&n<=4)},l.getBestMaskPattern=function(){for(var e=0,t=0,r=0;r<8;r++){this.makeImpl(!0,r);var n=i.getLostPoint(this);(0==r||e>n)&&(e=n,t=r)}return t},l.createMovieClip=function(e,t,r){var n=e.createEmptyMovieClip(t,r);this.make();for(var o=0;o<this.modules.length;o++)for(var a=1*o,i=0;i<this.modules[o].length;i++){var s=1*i;this.modules[o][i]&&(n.beginFill(0,100),n.moveTo(s,a),n.lineTo(s+1,a),n.lineTo(s+1,a+1),n.lineTo(s,a+1),n.endFill())}return n},l.setupTimingPattern=function(){for(var e=8;e<this.moduleCount-8;e++)null==this.modules[e][6]&&(this.modules[e][6]=e%2==0);for(var t=8;t<this.moduleCount-8;t++)null==this.modules[6][t]&&(this.modules[6][t]=t%2==0)},l.setupPositionAdjustPattern=function(){for(var e=i.getPatternPosition(this.typeNumber),t=0;t<e.length;t++)for(var r=0;r<e.length;r++){var n=e[t],o=e[r];if(null==this.modules[n][o])for(var a=-2;a<=2;a++)for(var s=-2;s<=2;s++)this.modules[n+a][o+s]=-2==a||2==a||-2==s||2==s||0==a&&0==s}},l.setupTypeNumber=function(e){for(var t=i.getBCHTypeNumber(this.typeNumber),r=0;r<18;r++){var n=!e&&1==(t>>r&1);this.modules[Math.floor(r/3)][r%3+this.moduleCount-8-3]=n}for(r=0;r<18;r++)n=!e&&1==(t>>r&1),this.modules[r%3+this.moduleCount-8-3][Math.floor(r/3)]=n},l.setupTypeInfo=function(e,t){for(var r=this.errorCorrectLevel<<3|t,n=i.getBCHTypeInfo(r),o=0;o<15;o++){var a=!e&&1==(n>>o&1);o<6?this.modules[o][8]=a:o<8?this.modules[o+1][8]=a:this.modules[this.moduleCount-15+o][8]=a}for(o=0;o<15;o++)a=!e&&1==(n>>o&1),o<8?this.modules[8][this.moduleCount-o-1]=a:o<9?this.modules[8][15-o-1+1]=a:this.modules[8][15-o-1]=a;this.modules[this.moduleCount-8][8]=!e},l.mapData=function(e,t){for(var r=-1,n=this.moduleCount-1,o=7,a=0,s=this.moduleCount-1;s>0;s-=2)for(6==s&&s--;;){for(var u=0;u<2;u++)if(null==this.modules[n][s-u]){var l=!1;a<e.length&&(l=1==(e[a]>>>o&1)),i.getMask(t,n,s-u)&&(l=!l),this.modules[n][s-u]=l,-1==--o&&(a++,o=7)}if((n+=r)<0||this.moduleCount<=n){n-=r,r=-r;break}}},u.PAD0=236,u.PAD1=17,u.createData=function(e,t,r){for(var n=o.getRSBlocks(e,t),s=new a,l=0;l<r.length;l++){var c=r[l];s.put(c.mode,4),s.put(c.getLength(),i.getLengthInBits(c.mode,e)),c.write(s)}var f=0;for(l=0;l<n.length;l++)f+=n[l].dataCount;if(s.getLengthInBits()>8*f)throw new Error("code length overflow. ("+s.getLengthInBits()+">"+8*f+")");for(s.getLengthInBits()+4<=8*f&&s.put(0,4);s.getLengthInBits()%8!=0;)s.putBit(!1);for(;!(s.getLengthInBits()>=8*f||(s.put(u.PAD0,8),s.getLengthInBits()>=8*f));)s.put(u.PAD1,8);return u.createBytes(s,n)},u.createBytes=function(e,t){for(var r=0,n=0,o=0,a=new Array(t.length),u=new Array(t.length),l=0;l<t.length;l++){var c=t[l].dataCount,f=t[l].totalCount-c;n=Math.max(n,c),o=Math.max(o,f),a[l]=new Array(c);for(var d=0;d<a[l].length;d++)a[l][d]=255&e.buffer[d+r];r+=c;var p=i.getErrorCorrectPolynomial(f),h=new s(a[l],p.getLength()-1).mod(p);for(u[l]=new Array(p.getLength()-1),d=0;d<u[l].length;d++){var v=d+h.getLength()-u[l].length;u[l][d]=v>=0?h.get(v):0}}var m=0;for(d=0;d<t.length;d++)m+=t[d].totalCount;var g=new Array(m),y=0;for(d=0;d<n;d++)for(l=0;l<t.length;l++)d<a[l].length&&(g[y++]=a[l][d]);for(d=0;d<o;d++)for(l=0;l<t.length;l++)d<u[l].length&&(g[y++]=u[l][d]);return g},e.exports=u},8390:function(e,t,r){var n=r(4496);function o(e,t){this.totalCount=e,this.dataCount=t}o.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],o.getRSBlocks=function(e,t){var r=o.getRsBlockTable(e,t);if(null==r)throw new Error("bad rs block @ typeNumber:"+e+"/errorCorrectLevel:"+t);for(var n=r.length/3,a=new Array,i=0;i<n;i++)for(var s=r[3*i+0],u=r[3*i+1],l=r[3*i+2],c=0;c<s;c++)a.push(new o(u,l));return a},o.getRsBlockTable=function(e,t){switch(t){case n.L:return o.RS_BLOCK_TABLE[4*(e-1)+0];case n.M:return o.RS_BLOCK_TABLE[4*(e-1)+1];case n.Q:return o.RS_BLOCK_TABLE[4*(e-1)+2];case n.H:return o.RS_BLOCK_TABLE[4*(e-1)+3];default:return}},e.exports=o},66:function(e){for(var t={glog:function(e){if(e<1)throw new Error("glog("+e+")");return t.LOG_TABLE[e]},gexp:function(e){for(;e<0;)e+=255;for(;e>=256;)e-=255;return t.EXP_TABLE[e]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},r=0;r<8;r++)t.EXP_TABLE[r]=1<<r;for(r=8;r<256;r++)t.EXP_TABLE[r]=t.EXP_TABLE[r-4]^t.EXP_TABLE[r-5]^t.EXP_TABLE[r-6]^t.EXP_TABLE[r-8];for(r=0;r<255;r++)t.LOG_TABLE[t.EXP_TABLE[r]]=r;e.exports=t},5567:function(e){e.exports={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8}},5696:function(e,t,r){var n=r(5567),o=r(7610),a=r(66),i={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(e){for(var t=e<<10;i.getBCHDigit(t)-i.getBCHDigit(i.G15)>=0;)t^=i.G15<<i.getBCHDigit(t)-i.getBCHDigit(i.G15);return(e<<10|t)^i.G15_MASK},getBCHTypeNumber:function(e){for(var t=e<<12;i.getBCHDigit(t)-i.getBCHDigit(i.G18)>=0;)t^=i.G18<<i.getBCHDigit(t)-i.getBCHDigit(i.G18);return e<<12|t},getBCHDigit:function(e){for(var t=0;0!=e;)t++,e>>>=1;return t},getPatternPosition:function(e){return i.PATTERN_POSITION_TABLE[e-1]},getMask:function(e,t,r){switch(e){case 0:return(t+r)%2==0;case 1:return t%2==0;case 2:return r%3==0;case 3:return(t+r)%3==0;case 4:return(Math.floor(t/2)+Math.floor(r/3))%2==0;case 5:return t*r%2+t*r%3==0;case 6:return(t*r%2+t*r%3)%2==0;case 7:return(t*r%3+(t+r)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}},getErrorCorrectPolynomial:function(e){for(var t=new o([1],0),r=0;r<e;r++)t=t.multiply(new o([1,a.gexp(r)],0));return t},getLengthInBits:function(e,t){if(1<=t&&t<10)switch(e){case n.MODE_NUMBER:return 10;case n.MODE_ALPHA_NUM:return 9;case n.MODE_8BIT_BYTE:case n.MODE_KANJI:return 8;default:throw new Error("mode:"+e)}else if(t<27)switch(e){case n.MODE_NUMBER:return 12;case n.MODE_ALPHA_NUM:return 11;case n.MODE_8BIT_BYTE:return 16;case n.MODE_KANJI:return 10;default:throw new Error("mode:"+e)}else{if(!(t<41))throw new Error("type:"+t);switch(e){case n.MODE_NUMBER:return 14;case n.MODE_ALPHA_NUM:return 13;case n.MODE_8BIT_BYTE:return 16;case n.MODE_KANJI:return 12;default:throw new Error("mode:"+e)}}},getLostPoint:function(e){for(var t=e.getModuleCount(),r=0,n=0;n<t;n++)for(var o=0;o<t;o++){for(var a=0,i=e.isDark(n,o),s=-1;s<=1;s++)if(!(n+s<0||t<=n+s))for(var u=-1;u<=1;u++)o+u<0||t<=o+u||0==s&&0==u||i==e.isDark(n+s,o+u)&&a++;a>5&&(r+=3+a-5)}for(n=0;n<t-1;n++)for(o=0;o<t-1;o++){var l=0;e.isDark(n,o)&&l++,e.isDark(n+1,o)&&l++,e.isDark(n,o+1)&&l++,e.isDark(n+1,o+1)&&l++,0!=l&&4!=l||(r+=3)}for(n=0;n<t;n++)for(o=0;o<t-6;o++)e.isDark(n,o)&&!e.isDark(n,o+1)&&e.isDark(n,o+2)&&e.isDark(n,o+3)&&e.isDark(n,o+4)&&!e.isDark(n,o+5)&&e.isDark(n,o+6)&&(r+=40);for(o=0;o<t;o++)for(n=0;n<t-6;n++)e.isDark(n,o)&&!e.isDark(n+1,o)&&e.isDark(n+2,o)&&e.isDark(n+3,o)&&e.isDark(n+4,o)&&!e.isDark(n+5,o)&&e.isDark(n+6,o)&&(r+=40);var c=0;for(o=0;o<t;o++)for(n=0;n<t;n++)e.isDark(n,o)&&c++;return r+Math.abs(100*c/t/t-50)/5*10}};e.exports=i},1452:function(e,t,r){"use strict";r.d(t,{g:function(){return q}});var n=r(1594),o=r.n(n),a=r(3373),i=r.n(a);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s.apply(this,arguments)}function u(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var l="_1EEDX",c="_3qwMT",f="_3F-ST",d="_38077";function p(e,t){return e(t={exports:{}},t.exports),t.exports}var h="function"==typeof Symbol&&Symbol.for,v=h?Symbol.for("react.element"):60103,m=h?Symbol.for("react.portal"):60106,g=h?Symbol.for("react.fragment"):60107,y=h?Symbol.for("react.strict_mode"):60108,b=h?Symbol.for("react.profiler"):60114,w=h?Symbol.for("react.provider"):60109,_=h?Symbol.for("react.context"):60110,A=h?Symbol.for("react.async_mode"):60111,S=h?Symbol.for("react.concurrent_mode"):60111,k=h?Symbol.for("react.forward_ref"):60112,x=h?Symbol.for("react.suspense"):60113,C=h?Symbol.for("react.suspense_list"):60120,P=h?Symbol.for("react.memo"):60115,E=h?Symbol.for("react.lazy"):60116,T=h?Symbol.for("react.block"):60121,R=h?Symbol.for("react.fundamental"):60117,O=h?Symbol.for("react.responder"):60118,F=h?Symbol.for("react.scope"):60119;function L(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case v:switch(e=e.type){case A:case S:case g:case b:case y:case x:return e;default:switch(e=e&&e.$$typeof){case _:case k:case E:case P:case w:return e;default:return t}}case m:return t}}}function D(e){return L(e)===S}var M={AsyncMode:A,ConcurrentMode:S,ContextConsumer:_,ContextProvider:w,Element:v,ForwardRef:k,Fragment:g,Lazy:E,Memo:P,Portal:m,Profiler:b,StrictMode:y,Suspense:x,isAsyncMode:function(e){return D(e)||L(e)===A},isConcurrentMode:D,isContextConsumer:function(e){return L(e)===_},isContextProvider:function(e){return L(e)===w},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===v},isForwardRef:function(e){return L(e)===k},isFragment:function(e){return L(e)===g},isLazy:function(e){return L(e)===E},isMemo:function(e){return L(e)===P},isPortal:function(e){return L(e)===m},isProfiler:function(e){return L(e)===b},isStrictMode:function(e){return L(e)===y},isSuspense:function(e){return L(e)===x},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===g||e===S||e===b||e===y||e===x||e===C||"object"==typeof e&&null!==e&&(e.$$typeof===E||e.$$typeof===P||e.$$typeof===w||e.$$typeof===_||e.$$typeof===k||e.$$typeof===R||e.$$typeof===O||e.$$typeof===F||e.$$typeof===T)},typeOf:L};p((function(e,t){})),p((function(e){e.exports=M})),Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;(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={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==n.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}})()&&Object.assign;function I(){}function j(){}Function.call.bind(Object.prototype.hasOwnProperty),j.resetWarningCache=I;var N=p((function(e){e.exports=function(){function e(e,t,r,n,o,a){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==a){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:j,resetWarningCache:I};return r.PropTypes=r,r}()})),q=function(e){function t(t){var r;return(r=e.call(this,t)||this).handleClick=function(){r.props.readonly||r.setState({editMode:!0})},r.handleBlur=function(e){if(void 0===e&&(e=!0),r.inputRef.current){var t=r.inputRef.current,n=t.name,o=t.value;(e&&r.state.savedText!==o||null!==r.props.value)&&(r.setState({savedText:o}),r.props.onSave({name:n,value:o})),r.setState({editMode:!1})}},r.handleKeydown=function(e){13===e.keyCode||13===e.charCode?r.handleBlur():27!==e.keyCode&&27!==e.charCode||r.handleBlur(!1)},r.state={savedText:t.defaultValue||"",editMode:!1},r.inputRef=o().createRef(),r}return u(t,e),t.getDerivedStateFromProps=function(e,t){return e.value!==t.savedText&&null!==e.value?{savedText:e.value}:null},t.prototype.render=function(){var e,t,r,n=this.props,a=n.id,s=n.className,u=n.name,p=n.type,h=n.placeholder,v=n.inline,m=n.style,g=n.readonly,y=n.value,b=n.onChange,w=this.state,_=w.editMode,A=w.savedText;return!g&&_?null!==y?o().createElement("input",{id:a,className:i()(l,(e={},e[f]=v,e),s),style:m,ref:this.inputRef,type:p,name:u,onBlur:this.handleBlur,onKeyDown:this.handleKeydown,value:y,onChange:function(e){b(e.target.value)},autoFocus:!0}):o().createElement("input",{id:a,className:i()(l,(t={},t[f]=v,t),s),style:m,ref:this.inputRef,type:p,name:u,onBlur:this.handleBlur,onKeyDown:this.handleKeydown,defaultValue:A,autoFocus:!0}):o().createElement("div",{id:a,className:i()(l,"_3sXmF",(r={},r[c]=h&&!A,r[f]=v,r[d]=g,r),s),onClick:this.handleClick,style:m},A||h)},t}(o().Component);q.defaultProps={id:null,name:null,className:null,type:"text",value:null,defaultValue:null,placeholder:"",onSave:function(){},onChange:function(){},inline:!1,style:{},readonly:!1},q.propTypes={id:N.string,name:N.string,className:N.string,type:N.string,value:N.string,defaultValue:N.string,placeholder:N.string,onSave:N.func,onChange:N.func,inline:N.bool,style:N.oneOfType([N.object,N.array]),readonly:N.bool};var B=function(e){function t(t){var r;return(r=e.call(this,t)||this).handleClick=function(){r.props.readonly||r.setState({editMode:!0})},r.handleBlur=function(e){if(void 0===e&&(e=!0),r.inputRef.current){var t=r.inputRef.current,n=t.name,o=t.value;if(e&&r.state.savedText!==o||null!==r.props.value){var a=""===o?[]:o.split(/\r?\n/);r.setState({savedText:o,savedTextLines:a}),r.props.onSave({name:n,value:o})}r.setState({editMode:!1})}},r.handleKeydown=function(e){27!==e.keyCode&&27!==e.charCode||r.handleBlur(!1)},r.state={savedText:t.defaultValue,savedTextLines:t.defaultValue?t.defaultValue.split(/\r?\n/):[],editMode:!1},r.inputRef=o().createRef(),r}return u(t,e),t.getDerivedStateFromProps=function(e,t){return e.value!==t.savedText&&null!==e.value?{savedText:e.value,savedTextLines:e.value?e.value.split(/\r?\n/):[]}:null},t.prototype.render=function(){var e,t=this.props,r=t.id,n=t.className,a=t.name,u=t.rows,f=t.placeholder,p=t.style,h=t.readonly,v=t.onChange,m=t.value,g=this.state,y=g.editMode,b=g.savedText,w=g.savedTextLines,_=s({},p,{height:24*u+16+"px"});return!h&&y?null!==m?o().createElement("textarea",{id:r,className:i()(l,n),style:p,ref:this.inputRef,rows:u,name:a,onBlur:this.handleBlur,onKeyDown:this.handleKeydown,value:m,onChange:function(e){v(e.target.value)},autoFocus:!0}):o().createElement("textarea",{id:r,className:i()(l,n),style:p,ref:this.inputRef,rows:u,name:a,onBlur:this.handleBlur,onKeyDown:this.handleKeydown,defaultValue:b,autoFocus:!0}):o().createElement("div",{id:r,className:i()(l,"_ygkSb",(e={},e[c]=f&&!b,e[d]=h,e),n),onClick:this.handleClick,style:_},w&&w.length>0?w.map((function(e,t){return o().createElement(o().Fragment,{key:t},o().createElement("span",null,e),o().createElement("br",null))})):o().createElement("span",null,f))},t}(o().Component);B.defaultProps={id:null,name:null,className:null,rows:3,value:null,defaultValue:null,placeholder:"",onSave:function(){},onChange:function(){},style:{},readonly:!1},B.propTypes={id:N.string,name:N.string,className:N.string,rows:N.number,value:N.string,defaultValue:N.string,placeholder:N.string,onSave:N.func,onChange:N.func,style:N.oneOfType([N.object,N.array]),readonly:N.bool}},8383:function(e,t,r){"use strict";var n=r(1594),o=r.n(n),a=r(9067),i=r.n(a);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s.apply(this,arguments)}var u=(0,n.forwardRef)((function(e,t){var r=e.color,n=void 0===r?"currentColor":r,a=e.size,i=void 0===a?24:a,u=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["color","size"]);return o().createElement("svg",s({ref:t,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},u),o().createElement("polyline",{points:"6 9 12 15 18 9"}))}));u.propTypes={color:i().string,size:i().oneOfType([i().string,i().number])},u.displayName="ChevronDown",t.A=u},9606:function(e,t,r){"use strict";var n=r(1594),o=r.n(n),a=r(9067),i=r.n(a);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s.apply(this,arguments)}var u=(0,n.forwardRef)((function(e,t){var r=e.color,n=void 0===r?"currentColor":r,a=e.size,i=void 0===a?24:a,u=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["color","size"]);return o().createElement("svg",s({ref:t,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},u),o().createElement("polyline",{points:"15 18 9 12 15 6"}))}));u.propTypes={color:i().string,size:i().oneOfType([i().string,i().number])},u.displayName="ChevronLeft",t.A=u},5233:function(e,t,r){"use strict";var n=r(1594),o=r.n(n),a=r(9067),i=r.n(a);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s.apply(this,arguments)}var u=(0,n.forwardRef)((function(e,t){var r=e.color,n=void 0===r?"currentColor":r,a=e.size,i=void 0===a?24:a,u=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["color","size"]);return o().createElement("svg",s({ref:t,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},u),o().createElement("polyline",{points:"9 18 15 12 9 6"}))}));u.propTypes={color:i().string,size:i().oneOfType([i().string,i().number])},u.displayName="ChevronRight",t.A=u},4399:function(e,t,r){"use strict";var n=r(1594),o=r.n(n),a=r(9067),i=r.n(a);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s.apply(this,arguments)}var u=(0,n.forwardRef)((function(e,t){var r=e.color,n=void 0===r?"currentColor":r,a=e.size,i=void 0===a?24:a,u=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["color","size"]);return o().createElement("svg",s({ref:t,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},u),o().createElement("circle",{cx:"12",cy:"12",r:"10"}),o().createElement("polyline",{points:"12 6 12 12 16 14"}))}));u.propTypes={color:i().string,size:i().oneOfType([i().string,i().number])},u.displayName="Clock",t.A=u},3590:function(e,t,r){"use strict";var n=r(1594),o=r.n(n),a=r(9067),i=r.n(a);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s.apply(this,arguments)}var u=(0,n.forwardRef)((function(e,t){var r=e.color,n=void 0===r?"currentColor":r,a=e.size,i=void 0===a?24:a,u=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["color","size"]);return o().createElement("svg",s({ref:t,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},u),o().createElement("path",{d:"M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"}),o().createElement("polyline",{points:"22,6 12,13 2,6"}))}));u.propTypes={color:i().string,size:i().oneOfType([i().string,i().number])},u.displayName="Mail",t.A=u},7993:function(e,t,r){"use strict";var n=r(1594),o=r.n(n),a=r(9067),i=r.n(a);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s.apply(this,arguments)}var u=(0,n.forwardRef)((function(e,t){var r=e.color,n=void 0===r?"currentColor":r,a=e.size,i=void 0===a?24:a,u=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["color","size"]);return o().createElement("svg",s({ref:t,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},u),o().createElement("path",{d:"M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"}),o().createElement("circle",{cx:"12",cy:"10",r:"3"}))}));u.propTypes={color:i().string,size:i().oneOfType([i().string,i().number])},u.displayName="MapPin",t.A=u},3713:function(e,t,r){"use strict";var n=r(1594),o=r.n(n),a=r(9067),i=r.n(a);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s.apply(this,arguments)}var u=(0,n.forwardRef)((function(e,t){var r=e.color,n=void 0===r?"currentColor":r,a=e.size,i=void 0===a?24:a,u=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["color","size"]);return o().createElement("svg",s({ref:t,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},u),o().createElement("path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"}))}));u.propTypes={color:i().string,size:i().oneOfType([i().string,i().number])},u.displayName="Phone",t.A=u},7093:function(e,t,r){"use strict";var n=r(1594),o=r.n(n),a=r(9067),i=r.n(a);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s.apply(this,arguments)}var u=(0,n.forwardRef)((function(e,t){var r=e.color,n=void 0===r?"currentColor":r,a=e.size,i=void 0===a?24:a,u=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["color","size"]);return o().createElement("svg",s({ref:t,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},u),o().createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),o().createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))}));u.propTypes={color:i().string,size:i().oneOfType([i().string,i().number])},u.displayName="X",t.A=u},5856:function(e,t,r){"use strict";r.d(t,{A:function(){return _}});var n=r(1594),o=["br","col","colgroup","dl","hr","iframe","img","input","link","menuitem","meta","ol","param","select","table","tbody","tfoot","thead","tr","ul","wbr"],a={"accept-charset":"acceptCharset",acceptcharset:"acceptCharset",accesskey:"accessKey",allowfullscreen:"allowFullScreen",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",class:"className",classid:"classID",classname:"className",colspan:"colSpan",contenteditable:"contentEditable",contextmenu:"contextMenu",controlslist:"controlsList",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",datetime:"dateTime",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",enctype:"encType",for:"htmlFor",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",innerhtml:"innerHTML",inputmode:"inputMode",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",marginwidth:"marginWidth",marginheight:"marginHeight",maxlength:"maxLength",mediagroup:"mediaGroup",minlength:"minLength",nomodule:"noModule",novalidate:"noValidate",playsinline:"playsInline",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rowspan:"rowSpan",spellcheck:"spellCheck",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",tabindex:"tabIndex",typemustmatch:"typeMustMatch",usemap:"useMap",accentheight:"accentHeight","accent-height":"accentHeight",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",arabicform:"arabicForm","arabic-form":"arabicForm",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",diffuseconstant:"diffuseConstant",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",edgemode:"edgeMode",enablebackground:"enableBackground","enable-background":"enableBackground",externalresourcesrequired:"externalResourcesRequired",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",imagerendering:"imageRendering","image-rendering":"imageRendering",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",vmathematical:"vMathematical","v-mathematical":"vMathematical",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan",onblur:"onBlur",onchange:"onChange",onclick:"onClick",oncontextmenu:"onContextMenu",ondoubleclick:"onDoubleClick",ondrag:"onDrag",ondragend:"onDragEnd",ondragenter:"onDragEnter",ondragexit:"onDragExit",ondragleave:"onDragLeave",ondragover:"onDragOver",ondragstart:"onDragStart",ondrop:"onDrop",onerror:"onError",onfocus:"onFocus",oninput:"onInput",oninvalid:"onInvalid",onkeydown:"onKeyDown",onkeypress:"onKeyPress",onkeyup:"onKeyUp",onload:"onLoad",onmousedown:"onMouseDown",onmouseenter:"onMouseEnter",onmouseleave:"onMouseLeave",onmousemove:"onMouseMove",onmouseout:"onMouseOut",onmouseover:"onMouseOver",onmouseup:"onMouseUp",onscroll:"onScroll",onsubmit:"onSubmit",ontouchcancel:"onTouchCancel",ontouchend:"onTouchEnd",ontouchmove:"onTouchMove",ontouchstart:"onTouchStart",onwheel:"onWheel"},i=function(){return i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},s=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,a=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return i},u=function(e,t,r){if(r||2===arguments.length)for(var n,o=0,a=t.length;o<a;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))};function l(e,t){var r={key:t};if(e instanceof Element){var n=e.getAttribute("class");n&&(r.className=n),u([],s(e.attributes),!1).forEach((function(e){switch(e.name){case"class":break;case"style":r[e.name]=e.value.split(/ ?; ?/).reduce((function(e,t){var r=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,a=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return i}(t.split(/ ?: ?/),2),n=r[0],o=r[1];return n&&o&&(e[n.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}))]=Number.isNaN(Number(o))?o:Number(o)),e}),{});break;case"allowfullscreen":case"allowpaymentrequest":case"async":case"autofocus":case"autoplay":case"checked":case"controls":case"default":case"defer":case"disabled":case"formnovalidate":case"hidden":case"ismap":case"itemscope":case"loop":case"multiple":case"muted":case"nomodule":case"novalidate":case"open":case"readonly":case"required":case"reversed":case"selected":case"typemustmatch":r[a[e.name]||e.name]=!0;break;default:r[a[e.name]||e.name]=e.value}}))}return r}function c(e,t){var r;if(void 0===t&&(t={}),!(e&&e instanceof Node))return null;var a,f=t.actions,d=void 0===f?[]:f,p=t.index,h=void 0===p?0:p,v=t.level,m=void 0===v?0:v,g=t.randomKey,y=e,b="".concat(m,"-").concat(h),w=[];if(g&&0===m&&(b="".concat(function(e){void 0===e&&(e=6);for(var t="",r=e;r>0;--r)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[Math.round(61*Math.random())];return t}(),"-").concat(b)),Array.isArray(d)&&d.forEach((function(t){t.condition(y,b,m)&&("function"==typeof t.pre&&((y=t.pre(y,b,m))instanceof Node||(y=e)),"function"==typeof t.post&&w.push(t.post(y,b,m)))})),w.length)return w;switch(y.nodeType){case 1:return n.createElement((a=y.nodeName,/[a-z]+[A-Z]+[a-z]+/.test(a)?a:a.toLowerCase()),l(y,b),function(e,t,r){var n=u([],s(e),!1).map((function(e,n){return c(e,i(i({},r),{index:n,level:t+1}))})).filter(Boolean);return n.length?n:null}(y.childNodes,m,t));case 3:var _=(null===(r=y.nodeValue)||void 0===r?void 0:r.toString())||"";if(/^\s+$/.test(_)&&!/[\u00A0\u202F]/.test(_))return null;if(!y.parentNode)return _;var A=y.parentNode.nodeName.toLowerCase();return o.includes(A)?(/\S/.test(_)&&console.warn("A textNode is not allowed inside '".concat(A,"'. Your text \"").concat(_,'" will be ignored')),null):_;default:return null}}function f(e,t){return void 0===t&&(t={}),"string"==typeof e?function(e,t){if(void 0===t&&(t={}),!e||"string"!=typeof e)return null;var r=t.nodeOnly,n=void 0!==r&&r,o=t.selector,a=void 0===o?"body > *":o,i=t.type,s=void 0===i?"text/html":i;try{var u=(new DOMParser).parseFromString(e,s).querySelector(a);if(!(u instanceof Node))throw new TypeError("Error parsing input");return n?u:c(u,t)}catch(e){}return null}(e,t):e instanceof Node?c(e,t):null}var d=r(3842),p={IDLE:"idle",LOADING:"loading",LOADED:"loaded",FAILED:"failed",READY:"ready",UNSUPPORTED:"unsupported"};function h(){return d.canUseDOM}var v,m=(v=function(e,t){return v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},v(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}v(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),g=function(){return g=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},g.apply(this,arguments)},y=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,a=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return i},b=Object.create(null),w=function(e){function t(t){var r=e.call(this,t)||this;return Object.defineProperty(r,"hash",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(r,"isActive",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(r,"isInitialized",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(r,"handleError",{enumerable:!0,configurable:!0,writable:!0,value:function(e){var t=r.props.onError,n="Browser does not support SVG"===e.message?p.UNSUPPORTED:p.FAILED;r.isActive&&r.setState({status:n},(function(){"function"==typeof t&&t(e)}))}}),Object.defineProperty(r,"handleLoad",{enumerable:!0,configurable:!0,writable:!0,value:function(e,t){void 0===t&&(t=!1),r.isActive&&r.setState({content:e,hasCache:t,status:p.LOADED},r.getElement)}}),Object.defineProperty(r,"request",{enumerable:!0,configurable:!0,writable:!0,value:function(){return e=r,t=void 0,o=function(){var e,t,r,n,o,a,i,s,u,l,c,f;return function(e,t){var r,n,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(u){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,n=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],n=0}finally{r=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}}(this,(function(d){switch(d.label){case 0:e=this.props,t=e.cacheRequests,r=e.fetchOptions,n=e.src,t&&(b[n]={content:"",status:p.LOADING}),d.label=1;case 1:return d.trys.push([1,4,,5]),[4,fetch(n,r)];case 2:if(o=d.sent(),a=o.headers.get("content-type"),i=y((a||"").split(/ ?; ?/),1),s=i[0],o.status>299)throw new Error("Not found");if(!["image/svg+xml","text/plain"].some((function(e){return s.includes(e)})))throw new Error("Content type isn't valid: ".concat(s));return[4,o.text()];case 3:return u=d.sent(),l=this.props.src,n!==l?(b[n].status===p.LOADING&&delete b[n],[2]):(this.handleLoad(u),t&&(f=b[n])&&(f.content=u,f.status=p.LOADED),[3,5]);case 4:return c=d.sent(),this.handleError(c),t&&(f=b[n])&&delete b[n],[3,5];case 5:return[2]}}))},new((n=void 0)||(n=Promise))((function(r,a){function i(e){try{u(o.next(e))}catch(e){a(e)}}function s(e){try{u(o.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}u((o=o.apply(e,t||[])).next())}));var e,t,n,o}}),r.state={content:"",element:null,hasCache:!!t.cacheRequests&&!!b[t.src],status:p.IDLE},r.hash=t.uniqueHash||function(){for(var e,t="abcdefghijklmnopqrstuvwxyz",r="".concat(t).concat(t.toUpperCase()).concat("1234567890"),n="",o=0;o<8;o++)n+=(e=r)[Math.floor(Math.random()*e.length)];return n}(),r}return m(t,e),Object.defineProperty(t.prototype,"componentDidMount",{enumerable:!1,configurable:!0,writable:!0,value:function(){if(this.isActive=!0,h()&&!this.isInitialized){var e=this.state.status,t=this.props.src;try{if(e===p.IDLE){if(!function(){if(!document)return!1;var e=document.createElement("div");e.innerHTML="<svg />";var t=e.firstChild;return!!t&&"http://www.w3.org/2000/svg"===t.namespaceURI}()||"undefined"==typeof window||null===window)throw new Error("Browser does not support SVG");if(!t)throw new Error("Missing src");this.load()}}catch(e){this.handleError(e)}this.isInitialized=!0}}}),Object.defineProperty(t.prototype,"componentDidUpdate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){if(h()){var r=this.state,n=r.hasCache,o=r.status,a=this.props,i=a.onLoad,s=a.src;if(t.status!==p.READY&&o===p.READY&&i&&i(s,n),e.src!==s){if(!s)return void this.handleError(new Error("Missing src"));this.load()}}}}),Object.defineProperty(t.prototype,"componentWillUnmount",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.isActive=!1}}),Object.defineProperty(t.prototype,"getElement",{enumerable:!1,configurable:!0,writable:!0,value:function(){try{var e=f(this.getNode());if(!e||!n.isValidElement(e))throw new Error("Could not convert the src to a React element");this.setState({element:e,status:p.READY})}catch(e){this.handleError(new Error(e.message))}}}),Object.defineProperty(t.prototype,"getNode",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.props,t=e.description,r=e.title;try{var n=f(this.processSVG(),{nodeOnly:!0});if(!(n&&n instanceof SVGSVGElement))throw new Error("Could not convert the src to a DOM Node");var o=this.updateSVGAttributes(n);if(t){var a=o.querySelector("desc");a&&a.parentNode&&a.parentNode.removeChild(a);var i=document.createElementNS("http://www.w3.org/2000/svg","desc");i.innerHTML=t,o.prepend(i)}if(void 0!==r){var s=o.querySelector("title");if(s&&s.parentNode&&s.parentNode.removeChild(s),r){var u=document.createElementNS("http://www.w3.org/2000/svg","title");u.innerHTML=r,o.prepend(u)}}return o}catch(e){return this.handleError(e)}}}),Object.defineProperty(t.prototype,"load",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this;this.isActive&&this.setState({content:"",element:null,hasCache:!1,status:p.LOADING},(function(){var t=e.props,r=t.cacheRequests,n=t.src,o=r&&b[n];if(o&&o.status===p.LOADED)e.handleLoad(o.content,!0);else{var a,i=n.match(/^data:image\/svg[^,]*?(;base64)?,(.*)/u);i?a=i[1]?window.atob(i[2]):decodeURIComponent(i[2]):n.includes("<svg")&&(a=n),a?e.handleLoad(a):e.request()}}))}}),Object.defineProperty(t.prototype,"processSVG",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.state.content,t=this.props.preProcessor;return t?t(e):e}}),Object.defineProperty(t.prototype,"updateSVGAttributes",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this,r=this.props,n=r.baseURL,o=void 0===n?"":n,a=r.uniquifyIDs,i=["id","href","xlink:href","xlink:role","xlink:arcrole"],s=["href","xlink:href"];return a?(function(e,t,r){if(r||2===arguments.length)for(var n,o=0,a=t.length;o<a;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}([],y(e.children),!1).forEach((function(e){if(e.attributes&&e.attributes.length){var r=Object.values(e.attributes).map((function(e){var r=e,n=e.value.match(/url\((.*?)\)/);return n&&n[1]&&(r.value=e.value.replace(n[0],"url(".concat(o).concat(n[1],"__").concat(t.hash,")"))),r}));i.forEach((function(e){var n,o,a=r.find((function(t){return t.name===e}));a&&(n=e,o=a.value,!s.includes(n)||!o||o.includes("#"))&&(a.value="".concat(a.value,"__").concat(t.hash))}))}return e.children.length?t.updateSVGAttributes(e):e})),e):e}}),Object.defineProperty(t.prototype,"render",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.state,t=e.element,r=e.status,o=this.props,a=o.children,i=void 0===a?null:a,s=o.innerRef,u=o.loader,l=void 0===u?null:u,c=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n={};for(var o in e)({}).hasOwnProperty.call(e,o)&&(t.includes(o)||(n[o]=e[o]));return n}(this.props,"baseURL","cacheRequests","children","description","fetchOptions","innerRef","loader","onError","onLoad","preProcessor","src","title","uniqueHash","uniquifyIDs");return h()?t?n.cloneElement(t,g({ref:s},c)):[p.UNSUPPORTED,p.FAILED].includes(r)?i:l:l}}),Object.defineProperty(t,"defaultProps",{enumerable:!0,configurable:!0,writable:!0,value:{cacheRequests:!0,uniquifyIDs:!1}}),t}(n.PureComponent),_=w},320:function(e,t){"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,i=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,u=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,c=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,v=r?Symbol.for("react.memo"):60115,m=r?Symbol.for("react.lazy"):60116,g=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function _(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case c:case f:case a:case s:case i:case p:return e;default:switch(e=e&&e.$$typeof){case l:case d:case m:case v:case u:return e;default:return t}}case o:return t}}}function A(e){return _(e)===f}t.AsyncMode=c,t.ConcurrentMode=f,t.ContextConsumer=l,t.ContextProvider=u,t.Element=n,t.ForwardRef=d,t.Fragment=a,t.Lazy=m,t.Memo=v,t.Portal=o,t.Profiler=s,t.StrictMode=i,t.Suspense=p,t.isAsyncMode=function(e){return A(e)||_(e)===c},t.isConcurrentMode=A,t.isContextConsumer=function(e){return _(e)===l},t.isContextProvider=function(e){return _(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return _(e)===d},t.isFragment=function(e){return _(e)===a},t.isLazy=function(e){return _(e)===m},t.isMemo=function(e){return _(e)===v},t.isPortal=function(e){return _(e)===o},t.isProfiler=function(e){return _(e)===s},t.isStrictMode=function(e){return _(e)===i},t.isSuspense=function(e){return _(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===f||e===s||e===i||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===v||e.$$typeof===u||e.$$typeof===l||e.$$typeof===d||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===g)},t.typeOf=_},524:function(e,t,r){"use strict";e.exports=r(320)},6770:function(e,t,r){"use strict";r.d(t,{yo:function(){return pe},YW:function(){return Be},Uy:function(){return n}});var n=r(9265),o=r(9575),a=r(7502);function i(e,t){if(null==e)return{};var r,n,o=(0,a.A)(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.includes(r)||{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var s=r(7545);function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var l=r(1369);function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,(0,l.A)(n.key),n)}}function f(e,t,r){return t&&c(e.prototype,t),r&&c(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var p=r(1087);function h(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,p.A)(e,t)}function v(e,t){if(t&&("object"==(0,s.A)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}var g=r(4586),y=r(1594),b=r.n(y),w=r(9067),_=r.n(w),A=function(e,t,r){if(r||2===arguments.length)for(var n,o=0,a=t.length;o<a;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))},S=["onKeyDown","onKeyPress","onKeyUp"],k=["onClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp"],x=["onTouchCancel","onTouchEnd","onTouchMove","onTouchStart"],C=A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A([],["onCopy","onCut","onPaste"],!0),["onCompositionEnd","onCompositionStart","onCompositionUpdate"],!0),["onFocus","onBlur"],!0),["onInput","onInvalid","onReset","onSubmit"],!0),["onLoad","onError"],!0),S,!0),["onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting"],!0),k,!0),["onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop"],!0),["onSelect"],!0),x,!0),["onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onGotPointerCapture","onLostPointerCapture","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut"],!0),["onScroll"],!0),["onWheel"],!0),["onAnimationStart","onAnimationEnd","onAnimationIteration"],!0),["onTransitionEnd"],!0),["onChange"],!0),["onToggle"],!0);function P(e,t){var r={};return C.forEach((function(n){var o=e[n];o&&(r[n]=t?function(e){return o(e,t(n))}:o)})),r}function E(e){var t=!1;return{promise:new Promise((function(r,n){e.then((function(e){return!t&&r(e)})).catch((function(e){return!t&&n(e)}))})),cancel:function(){t=!0}}}var T=r(587),R=r(7730),O=r(8610),F=(0,y.createContext)(null);function L(e){var t=e.children,r=e.type;return b().createElement("div",{className:"react-pdf__message react-pdf__message--".concat(r)},t)}L.propTypes={children:_().node,type:_().oneOf(["error","loading","no-data"]).isRequired};var D=function(){function e(){u(this,e),this.externalLinkTarget=null,this.externalLinkRel=null}return f(e,[{key:"setDocument",value:function(e){this.pdfDocument=e}},{key:"setViewer",value:function(e){this.pdfViewer=e}},{key:"setExternalLinkRel",value:function(e){this.externalLinkRel=e}},{key:"setExternalLinkTarget",value:function(e){this.externalLinkTarget=e}},{key:"setHistory",value:function(){}},{key:"pagesCount",get:function(){return this.pdfDocument?this.pdfDocument.numPages:0}},{key:"page",get:function(){return this.pdfViewer.currentPageNumber},set:function(e){this.pdfViewer.currentPageNumber=e}},{key:"rotation",get:function(){return 0},set:function(e){}},{key:"goToDestination",value:function(e){var t=this;new Promise((function(r){"string"==typeof e?t.pdfDocument.getDestination(e).then(r):Array.isArray(e)?r(e):e.then(r)})).then((function(r){(0,R.A)(Array.isArray(r),'"'.concat(r,'" is not a valid destination array.'));var n=r[0];new Promise((function(e){n instanceof Object?t.pdfDocument.getPageIndex(n).then((function(t){e(t)})).catch((function(){(0,R.A)(!1,'"'.concat(n,'" is not a valid page reference.'))})):"number"==typeof n?e(n):(0,R.A)(!1,'"'.concat(n,'" is not a valid destination reference.'))})).then((function(r){var n=r+1;(0,R.A)(n>=1&&n<=t.pagesCount,'"'.concat(n,'" is not a valid page number.')),t.pdfViewer.scrollPageIntoView({dest:e,pageIndex:r,pageNumber:n})}))}))}},{key:"navigateTo",value:function(e){this.goToDestination(e)}},{key:"goToPage",value:function(){}},{key:"addLinkAttributes",value:function(e,t,r){e.href=t,e.rel=this.externalLinkRel||"noopener noreferrer nofollow",e.target=r?"_blank":this.externalLinkTarget||""}},{key:"getDestinationHash",value:function(){return"#"}},{key:"getAnchorUrl",value:function(){return"#"}},{key:"setHash",value:function(){}},{key:"executeNamedAction",value:function(){}},{key:"cachePageRef",value:function(){}},{key:"isPageVisible",value:function(){return!0}},{key:"isPageCached",value:function(){return!0}}]),e}(),M=1,I=2;function j(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function N(e,t){if(e){if("string"==typeof e)return j(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?j(e,t):void 0}}function q(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,s=[],u=!0,l=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(e){l=!0,o=e}finally{try{if(!u&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(l)throw o}}return s}}(e,t)||N(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var B="undefined"!=typeof window,U=B&&"file:"===window.location.protocol;function z(e){return void 0!==e}function V(e){return z(e)&&null!==e}function W(e){return"string"==typeof e&&/^data:/.test(e)}function H(e){(0,R.A)(W(e),"Invalid data URI.");var t=q(e.split(","),2),r=t[0],n=t[1];return-1!==r.split(";").indexOf("base64")?atob(n):unescape(n)}var G="On Chromium based browsers, you can use --allow-file-access-from-files flag for debugging purposes.";function X(){(0,O.default)(!U,"Loading PDF as base64 strings/URLs may not work on protocols other than HTTP/HTTPS. ".concat(G))}function Y(e){e&&e.cancel&&e.cancel()}function K(e,t){return Object.defineProperty(e,"width",{get:function(){return this.view[2]*t},configurable:!0}),Object.defineProperty(e,"height",{get:function(){return this.view[3]*t},configurable:!0}),Object.defineProperty(e,"originalWidth",{get:function(){return this.view[2]},configurable:!0}),Object.defineProperty(e,"originalHeight",{get:function(){return this.view[3]},configurable:!0}),e}function $(e){return"RenderingCancelledException"===e.name}function J(e){return function(e){if(Array.isArray(e))return j(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||N(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Q,Z=(Q={},[].concat(J(k),J(x),J(S)).forEach((function(e){Q[e]=_().func})),Q),ee=[_().string,_().instanceOf(ArrayBuffer),_().shape({data:_().oneOfType([_().object,_().string]),httpHeaders:_().object,range:_().object,url:_().string,withCredentials:_().bool})];"undefined"!=typeof File&&ee.push(_().instanceOf(File)),"undefined"!=typeof Blob&&ee.push(_().instanceOf(Blob));var te=_().oneOfType([_().string,_().arrayOf(_().string)]),re=_().oneOfType(ee),ne=_().instanceOf(D),oe=(_().oneOf(["_self","_blank","_parent","_top"]),_().shape({_transport:_().shape({fontLoader:_().object.isRequired}).isRequired,commonObjs:_().shape({_objs:_().object.isRequired}).isRequired,getAnnotations:_().func.isRequired,getTextContent:_().func.isRequired,getViewport:_().func.isRequired,render:_().func.isRequired})),ae=_().oneOfType([_().shape({getDestination:_().func.isRequired,getOutline:_().func.isRequired,getPage:_().func.isRequired,numPages:_().number.isRequired}),_().bool]),ie=_().oneOfType([_().func,_().shape({current:_().any})]),se=_().oneOf(["canvas","none","svg"]),ue=_().oneOf([0,90,180,270]),le=["url"];function ce(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function fe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ce(Object(r),!0).forEach((function(t){(0,g.A)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ce(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var de=n.PDFDataRangeTransport,pe=function(e){h(l,e);var t,r,a=(t=l,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=m(t);if(r){var o=m(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return v(this,e)});function l(){var e;u(this,l);for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return e=a.call.apply(a,[this].concat(r)),(0,g.A)(d(e),"state",{pdf:null}),(0,g.A)(d(e),"viewer",{scrollPageIntoView:function(t){var r=t.dest,n=t.pageIndex,o=t.pageNumber,a=e.props.onItemClick;if(a)a({dest:r,pageIndex:n,pageNumber:o});else{var i=e.pages[n];i?i.scrollIntoView():(0,O.default)(!1,"An internal link leading to page ".concat(o," was clicked, but neither <Document> was provided with onItemClick nor it was able to find the page within itself. Either provide onItemClick to <Document> and handle navigating by yourself or ensure that all pages are rendered within <Document>."))}}}),(0,g.A)(d(e),"linkService",new D),(0,g.A)(d(e),"loadDocument",(function(){e.findDocumentSource().then((function(t){if(e.onSourceSuccess(),t){e.setState((function(e){return e.pdf?{pdf:null}:null}));var r=e.props,o=r.options,a=r.onLoadProgress,i=r.onPassword;Y(e.runningTask),e.loadingTask&&e.loadingTask.destroy(),e.loadingTask=n.getDocument(fe(fe({},t),o)),e.loadingTask.onPassword=i,a&&(e.loadingTask.onProgress=a);var s=E(e.loadingTask.promise);e.runningTask=s,s.promise.then((function(t){e.setState((function(e){return e.pdf&&e.pdf.fingerprint===t.fingerprint?null:{pdf:t}}),e.onLoadSuccess)})).catch((function(t){e.onLoadError(t)}))}})).catch((function(t){e.onSourceError(t)}))})),(0,g.A)(d(e),"setupLinkService",(function(){var t=e.props,r=t.externalLinkRel,n=t.externalLinkTarget;e.linkService.setViewer(e.viewer),e.linkService.setExternalLinkRel(r),e.linkService.setExternalLinkTarget(n)})),(0,g.A)(d(e),"onSourceSuccess",(function(){var t=e.props.onSourceSuccess;t&&t()})),(0,g.A)(d(e),"onSourceError",(function(t){(0,O.default)(t);var r=e.props.onSourceError;r&&r(t)})),(0,g.A)(d(e),"onLoadSuccess",(function(){var t=e.props.onLoadSuccess,r=e.state.pdf;t&&t(r),e.pages=new Array(r.numPages),e.linkService.setDocument(r)})),(0,g.A)(d(e),"onLoadError",(function(t){e.setState({pdf:!1}),(0,O.default)(t);var r=e.props.onLoadError;r&&r(t)})),(0,g.A)(d(e),"findDocumentSource",(function(){return new Promise((function(t){var r,n=e.props.file;if(n||t(null),"string"==typeof n){if(W(n)){var o=H(n);t({data:o})}X(),t({url:n})}if(n instanceof de&&t({range:n}),n instanceof ArrayBuffer&&t({data:n}),B&&(r=n,(0,R.A)(B,"isBlob can only be used in a browser environment"),r instanceof Blob||function(e){return(0,R.A)(B,"isFile can only be used in a browser environment"),e instanceof File}(n)))(function(e){return new Promise((function(t,r){var n=new FileReader;return n.onload=function(){return t(new Uint8Array(n.result))},n.onerror=function(e){switch(e.target.error.code){case e.target.error.NOT_FOUND_ERR:return r(new Error("Error while reading a file: File not found."));case e.target.error.NOT_READABLE_ERR:return r(new Error("Error while reading a file: File not readable."));case e.target.error.SECURITY_ERR:return r(new Error("Error while reading a file: Security error."));case e.target.error.ABORT_ERR:return r(new Error("Error while reading a file: Aborted."));default:return r(new Error("Error while reading a file."))}},n.readAsArrayBuffer(e),null}))})(n).then((function(e){t({data:e})}));else{if((0,R.A)("object"===(0,s.A)(n),"Invalid parameter in file, need either Uint8Array, string or a parameter object"),(0,R.A)(n.url||n.data||n.range,"Invalid parameter object: need either .data, .range or .url"),"string"==typeof n.url){if(W(n.url)){var a=n.url,u=i(n,le),l=H(a);t(fe({data:l},u))}X()}t(n)}}))})),(0,g.A)(d(e),"registerPage",(function(t,r){e.pages[t]=r})),(0,g.A)(d(e),"unregisterPage",(function(t){delete e.pages[t]})),e}return f(l,[{key:"componentDidMount",value:function(){this.loadDocument(),this.setupLinkService()}},{key:"componentDidUpdate",value:function(e){this.props.file!==e.file&&this.loadDocument()}},{key:"componentWillUnmount",value:function(){Y(this.runningTask),this.loadingTask&&this.loadingTask.destroy()}},{key:"childContext",get:function(){var e=this.linkService,t=this.registerPage,r=this.unregisterPage,n=this.props,o=n.imageResourcesPath,a=n.renderMode,i=n.rotate;return{imageResourcesPath:o,linkService:e,pdf:this.state.pdf,registerPage:t,renderMode:a,rotate:i,unregisterPage:r}}},{key:"eventProps",get:function(){var e=this;return P(this.props,(function(){return e.state.pdf}))}},{key:"renderChildren",value:function(){var e=this.props.children;return b().createElement(F.Provider,{value:this.childContext},e)}},{key:"renderContent",value:function(){var e=this.props.file,t=this.state.pdf;if(!e){var r=this.props.noData;return b().createElement(L,{type:"no-data"},"function"==typeof r?r():r)}if(null===t){var n=this.props.loading;return b().createElement(L,{type:"loading"},"function"==typeof n?n():n)}if(!1===t){var o=this.props.error;return b().createElement(L,{type:"error"},"function"==typeof o?o():o)}return this.renderChildren()}},{key:"render",value:function(){var e=this.props,t=e.className,r=e.inputRef;return b().createElement("div",(0,o.A)({className:(0,T.default)("react-pdf__Document",t),ref:r},this.eventProps),this.renderContent())}}]),l}(y.PureComponent);pe.defaultProps={error:"Failed to load PDF file.",loading:"Loading PDF…",noData:"No PDF file specified.",onPassword:function(e,t){switch(t){case M:e(prompt("Enter the password to open this PDF file."));break;case I:e(prompt("Invalid password. Please try again."))}}};var he=_().oneOfType([_().func,_().node]);pe.propTypes=fe(fe({},Z),{},{children:_().node,className:te,error:he,externalLinkRel:_().string,externalLinkTarget:_().string,file:re,imageResourcesPath:_().string,inputRef:ie,loading:he,noData:he,onItemClick:_().func,onLoadError:_().func,onLoadProgress:_().func,onLoadSuccess:_().func,onPassword:_().func,onSourceError:_().func,onSourceSuccess:_().func,rotate:_().number});var ve=(0,y.createContext)(null),me=function(){function e(t){var r=t.num,n=t.gen;u(this,e),this.num=r,this.gen=n}return f(e,[{key:"toString",value:function(){var e="".concat(this.num,"R");return 0!==this.gen&&(e+=this.gen),e}}]),e}(),ge=["item"];var ye=function(e){h(a,e);var t,r,n=(t=a,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=m(t);if(r){var o=m(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return v(this,e)});function a(){var e;u(this,a);for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return e=n.call.apply(n,[this].concat(r)),(0,g.A)(d(e),"getDestination",(function(){return new Promise((function(t,r){var n=e.props,o=n.item,a=n.pdf;return z(e.destination)||("string"==typeof o.dest?a.getDestination(o.dest).then(t).catch(r):t(o.dest)),e.destination})).then((function(t){return e.destination=t,t}))})),(0,g.A)(d(e),"getPageIndex",(function(){return new Promise((function(t,r){var n=e.props.pdf;z(e.pageIndex)&&t(e.pageIndex),e.getDestination().then((function(e){if(e){var o=q(e,1)[0];n.getPageIndex(new me(o)).then(t).catch(r)}}))})).then((function(t){return e.pageIndex=t,e.pageIndex}))})),(0,g.A)(d(e),"getPageNumber",(function(){return new Promise((function(t,r){z(e.pageNumber)&&t(e.pageNumber),e.getPageIndex().then((function(e){t(e+1)})).catch(r)})).then((function(t){return e.pageNumber=t,t}))})),(0,g.A)(d(e),"onClick",(function(t){var r=e.props.onClick;return t.preventDefault(),!!r&&Promise.all([e.getDestination(),e.getPageIndex(),e.getPageNumber()]).then((function(e){var t=q(e,3),n=t[0],o=t[1],a=t[2];r({dest:n,pageIndex:o,pageNumber:a})}))})),e}return f(a,[{key:"renderSubitems",value:function(){var e=this.props,t=e.item,r=i(e,ge);if(!t.items||!t.items.length)return null;var n=t.items;return b().createElement("ul",null,n.map((function(e,t){return b().createElement(a,(0,o.A)({key:"string"==typeof e.destination?e.destination:t,item:e},r))})))}},{key:"render",value:function(){var e=this.props.item;return b().createElement("li",null,b().createElement("a",{href:"#",onClick:this.onClick},e.title),this.renderSubitems())}}]),a}(y.PureComponent),be=_().oneOfType([_().string,_().arrayOf(_().any)]);ye.propTypes={item:_().shape({dest:be,items:_().arrayOf(_().shape({dest:be,title:_().string})),title:_().string}).isRequired,onClick:_().func,pdf:ae.isRequired};var we=function(e){return b().createElement(F.Consumer,null,(function(t){return b().createElement(ve.Consumer,null,(function(r){return b().createElement(ye,(0,o.A)({},t,r,e))}))}))};function _e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var Ae=function(e){h(a,e);var t,r,n=(t=a,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=m(t);if(r){var o=m(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return v(this,e)});function a(){var e;u(this,a);for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return e=n.call.apply(n,[this].concat(r)),(0,g.A)(d(e),"state",{outline:null}),(0,g.A)(d(e),"loadOutline",(function(){var t=e.props.pdf;e.setState((function(e){return e.outline?{outline:null}:null}));var r=E(t.getOutline());e.runningTask=r,r.promise.then((function(t){e.setState({outline:t},e.onLoadSuccess)})).catch((function(t){e.onLoadError(t)}))})),(0,g.A)(d(e),"onLoadSuccess",(function(){var t=e.props.onLoadSuccess,r=e.state.outline;t&&t(r)})),(0,g.A)(d(e),"onLoadError",(function(t){e.setState({outline:!1}),(0,O.default)(t);var r=e.props.onLoadError;r&&r(t)})),(0,g.A)(d(e),"onItemClick",(function(t){var r=t.dest,n=t.pageIndex,o=t.pageNumber,a=e.props.onItemClick;a&&a({dest:r,pageIndex:n,pageNumber:o})})),e}return f(a,[{key:"componentDidMount",value:function(){var e=this.props.pdf;(0,R.A)(e,"Attempted to load an outline, but no document was specified."),this.loadOutline()}},{key:"componentDidUpdate",value:function(e){var t=this.props.pdf;e.pdf&&t!==e.pdf&&this.loadOutline()}},{key:"componentWillUnmount",value:function(){Y(this.runningTask)}},{key:"childContext",get:function(){return{onClick:this.onItemClick}}},{key:"eventProps",get:function(){var e=this;return P(this.props,(function(){return e.state.outline}))}},{key:"renderOutline",value:function(){var e=this.state.outline;return b().createElement("ul",null,e.map((function(e,t){return b().createElement(we,{key:"string"==typeof e.destination?e.destination:t,item:e})})))}},{key:"render",value:function(){var e=this.props.pdf,t=this.state.outline;if(!e||!t)return null;var r=this.props,n=r.className,a=r.inputRef;return b().createElement("div",(0,o.A)({className:(0,T.default)("react-pdf__Outline",n),ref:a},this.eventProps),b().createElement(ve.Provider,{value:this.childContext},this.renderOutline()))}}]),a}(y.PureComponent);function Se(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e.filter(Boolean);return r.length<=1?r[0]||null:function(e){r.forEach((function(t){"function"==typeof t?t(e):t&&(t.current=e)}))}}Ae.propTypes=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?_e(Object(r),!0).forEach((function(t){(0,g.A)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_e(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({className:te,inputRef:ie,onItemClick:_().func,onLoadError:_().func,onLoadSuccess:_().func,pdf:ae},Z);var ke=(0,y.createContext)(null);var xe=function(e){h(o,e);var t,r,n=(t=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=m(t);if(r){var o=m(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return v(this,e)});function o(){var e;u(this,o);for(var t=arguments.length,r=new Array(t),a=0;a<t;a++)r[a]=arguments[a];return e=n.call.apply(n,[this].concat(r)),(0,g.A)(d(e),"onRenderSuccess",(function(){e.renderer=null;var t=e.props,r=t.onRenderSuccess,n=t.page,o=t.scale;r&&r(K(n,o))})),(0,g.A)(d(e),"onRenderError",(function(t){if(!$(t)){(0,O.default)(t);var r=e.props.onRenderError;r&&r(t)}})),(0,g.A)(d(e),"drawPageOnCanvas",(function(){var t=d(e).canvasLayer;if(!t)return null;var r=d(e),n=r.renderViewport,o=r.viewport,a=e.props,i=a.canvasBackground,s=a.page,u=a.renderInteractiveForms;t.width=n.width,t.height=n.height,t.style.width="".concat(Math.floor(o.width),"px"),t.style.height="".concat(Math.floor(o.height),"px");var l={get canvasContext(){return t.getContext("2d")},viewport:n,renderInteractiveForms:u};return i&&(l.background=i),e.cancelRenderingTask(),e.renderer=s.render(l),e.renderer.promise.then(e.onRenderSuccess).catch(e.onRenderError)})),e}return f(o,[{key:"componentDidMount",value:function(){this.drawPageOnCanvas()}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.canvasBackground,n=t.page,o=t.renderInteractiveForms;r===e.canvasBackground&&o===e.renderInteractiveForms||(n.cleanup(),this.drawPageOnCanvas())}},{key:"componentWillUnmount",value:function(){this.cancelRenderingTask(),this.canvasLayer&&(this.canvasLayer.width=0,this.canvasLayer.height=0,this.canvasLayer=null)}},{key:"cancelRenderingTask",value:function(){this.renderer&&(this.renderer.cancel(),this.renderer=null)}},{key:"renderViewport",get:function(){var e=this.props,t=e.page,r=e.rotate,n=e.scale,o=B&&window.devicePixelRatio||1;return t.getViewport({scale:n*o,rotation:r})}},{key:"viewport",get:function(){var e=this.props,t=e.page,r=e.rotate,n=e.scale;return t.getViewport({scale:n,rotation:r})}},{key:"render",value:function(){var e=this,t=this.props.canvasRef;return b().createElement("canvas",{className:"react-pdf__Page__canvas",dir:"ltr",ref:Se(t,(function(t){e.canvasLayer=t})),style:{display:"block",userSelect:"none"}})}}]),o}(y.PureComponent);function Ce(e){return b().createElement(ke.Consumer,null,(function(t){return b().createElement(xe,(0,o.A)({},t,e))}))}xe.propTypes={canvasBackground:_().string,canvasRef:ie,onRenderError:_().func,onRenderSuccess:_().func,page:oe.isRequired,renderInteractiveForms:_().bool,rotate:ue,scale:_().number.isRequired};var Pe=function(e){h(a,e);var t,r,o=(t=a,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=m(t);if(r){var o=m(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return v(this,e)});function a(){var e;u(this,a);for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return e=o.call.apply(o,[this].concat(r)),(0,g.A)(d(e),"state",{svg:null}),(0,g.A)(d(e),"onRenderSuccess",(function(){e.renderer=null;var t=e.props,r=t.onRenderSuccess,n=t.page,o=t.scale;r&&r(K(n,o))})),(0,g.A)(d(e),"onRenderError",(function(t){if(!$(t)){(0,O.default)(t);var r=e.props.onRenderError;r&&r(t)}})),(0,g.A)(d(e),"renderSVG",(function(){var t=e.props.page;return e.renderer=t.getOperatorList(),e.renderer.then((function(r){var o=new n.SVGGraphics(t.commonObjs,t.objs);e.renderer=o.getSVG(r,e.viewport).then((function(t){e.setState({svg:t},e.onRenderSuccess)})).catch(e.onRenderError)})).catch(e.onRenderError)})),(0,g.A)(d(e),"drawPageOnContainer",(function(t){var r=e.state.svg;if(t&&r){t.firstElementChild||t.appendChild(r);var n=e.viewport,o=n.width,a=n.height;r.setAttribute("width",o),r.setAttribute("height",a)}})),e}return f(a,[{key:"componentDidMount",value:function(){this.renderSVG()}},{key:"viewport",get:function(){var e=this.props,t=e.page,r=e.rotate,n=e.scale;return t.getViewport({scale:n,rotation:r})}},{key:"render",value:function(){var e=this,t=this.viewport,r=t.width,n=t.height;return b().createElement("div",{className:"react-pdf__Page__svg",ref:function(t){return e.drawPageOnContainer(t)},style:{display:"block",backgroundColor:"white",overflow:"hidden",width:r,height:n,userSelect:"none"}})}}]),a}(y.PureComponent);function Ee(e){return b().createElement(ke.Consumer,null,(function(t){return b().createElement(Pe,(0,o.A)({},t,e))}))}Pe.propTypes={onRenderError:_().func,onRenderSuccess:_().func,page:oe.isRequired,rotate:ue,scale:_().number.isRequired};var Te=function(e){h(o,e);var t,r,n=(t=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=m(t);if(r){var o=m(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return v(this,e)});function o(){var e;u(this,o);for(var t=arguments.length,r=new Array(t),a=0;a<t;a++)r[a]=arguments[a];return e=n.call.apply(n,[this].concat(r)),(0,g.A)(d(e),"getElementWidth",(function(t){var r=d(e).sideways;return t.getBoundingClientRect()[r?"height":"width"]})),e}return f(o,[{key:"componentDidMount",value:function(){this.alignTextItem()}},{key:"componentDidUpdate",value:function(){this.alignTextItem()}},{key:"unrotatedViewport",get:function(){var e=this.props,t=e.page,r=e.scale;return t.getViewport({scale:r})}},{key:"rotate",get:function(){var e=this.props,t=e.page;return e.rotate-t.rotate}},{key:"sideways",get:function(){return this.rotate%180!=0}},{key:"defaultSideways",get:function(){return this.unrotatedViewport.rotation%180!=0}},{key:"fontSize",get:function(){var e=this.props.transform,t=this.defaultSideways,r=q(e,2),n=r[0],o=r[1];return t?o:n}},{key:"top",get:function(){var e=this.props.transform,t=this.unrotatedViewport,r=this.defaultSideways,n=q(e,6),o=n[2],a=n[3],i=n[4],s=n[5],u=q(t.viewBox,4),l=u[1],c=u[3];return r?i+o+l:c-(s+a)}},{key:"left",get:function(){var e=this.props.transform,t=this.unrotatedViewport,r=this.defaultSideways,n=q(e,6),o=n[4],a=n[5],i=q(t.viewBox,1)[0];return r?a-i:o-i}},{key:"getFontData",value:function(e){var t=this.props.page;return new Promise((function(r){t.commonObjs.get(e,r)}))}},{key:"alignTextItem",value:function(){var e=this,t=this.item;if(t){t.style.transform="";var r=this.props,n=r.fontName,o=r.scale,a=r.width;t.style.fontFamily="".concat(n,", sans-serif"),this.getFontData(n).then((function(r){var i=r?r.fallbackName:"sans-serif";t.style.fontFamily="".concat(n,", ").concat(i);var s=a*o,u=e.getElementWidth(t),l="scaleX(".concat(s/u,")"),c=r?r.ascent:0;c&&(l+=" translateY(".concat(100*(1-c),"%)")),t.style.transform=l,t.style.WebkitTransform=l}))}}},{key:"render",value:function(){var e=this,t=this.fontSize,r=this.top,n=this.left,o=this.props,a=o.customTextRenderer,i=o.scale,s=o.str;return b().createElement("span",{ref:function(t){e.item=t},style:{height:"1em",fontFamily:"sans-serif",fontSize:"".concat(t*i,"px"),position:"absolute",top:"".concat(r*i,"px"),left:"".concat(n*i,"px"),transformOrigin:"left bottom",whiteSpace:"pre",pointerEvents:"all"}},a?a(this.props):s)}}]),o}(y.PureComponent);function Re(e){return b().createElement(ke.Consumer,null,(function(t){return b().createElement(Te,(0,o.A)({},t,e))}))}Te.propTypes={customTextRenderer:_().func,fontName:_().string.isRequired,itemIndex:_().number.isRequired,page:oe.isRequired,rotate:ue,scale:_().number,str:_().string.isRequired,transform:_().arrayOf(_().number).isRequired,width:_().number.isRequired};var Oe=function(e){h(a,e);var t,r,n=(t=a,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=m(t);if(r){var o=m(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return v(this,e)});function a(){var e;u(this,a);for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return e=n.call.apply(n,[this].concat(r)),(0,g.A)(d(e),"state",{textItems:null}),(0,g.A)(d(e),"loadTextItems",(function(){var t=E(e.props.page.getTextContent());e.runningTask=t,t.promise.then((function(t){var r=t.items;e.setState({textItems:r},e.onLoadSuccess)})).catch((function(t){e.onLoadError(t)}))})),(0,g.A)(d(e),"onLoadSuccess",(function(){var t=e.props.onGetTextSuccess,r=e.state.textItems;t&&t(r)})),(0,g.A)(d(e),"onLoadError",(function(t){e.setState({textItems:!1}),(0,O.default)(t);var r=e.props.onGetTextError;r&&r(t)})),e}return f(a,[{key:"componentDidMount",value:function(){var e=this.props.page;(0,R.A)(e,"Attempted to load page text content, but no page was specified."),this.loadTextItems()}},{key:"componentDidUpdate",value:function(e){var t=this.props.page;e.page&&t!==e.page&&this.loadTextItems()}},{key:"componentWillUnmount",value:function(){Y(this.runningTask)}},{key:"unrotatedViewport",get:function(){var e=this.props,t=e.page,r=e.scale;return t.getViewport({scale:r})}},{key:"rotate",get:function(){var e=this.props,t=e.page;return e.rotate-t.rotate}},{key:"renderTextItems",value:function(){var e=this.state.textItems;return e?e.map((function(e,t){return b().createElement(Re,(0,o.A)({key:t,itemIndex:t},e))})):null}},{key:"render",value:function(){var e=this.unrotatedViewport,t=this.rotate;return b().createElement("div",{className:"react-pdf__Page__textContent",style:{position:"absolute",top:"50%",left:"50%",width:"".concat(e.width,"px"),height:"".concat(e.height,"px"),color:"transparent",transform:"translate(-50%, -50%) rotate(".concat(t,"deg)"),WebkitTransform:"translate(-50%, -50%) rotate(".concat(t,"deg)"),pointerEvents:"none"}},this.renderTextItems())}}]),a}(y.PureComponent);function Fe(e){return b().createElement(ke.Consumer,null,(function(t){return b().createElement(Oe,(0,o.A)({},t,e))}))}Oe.propTypes={onGetTextError:_().func,onGetTextSuccess:_().func,page:oe.isRequired,rotate:ue,scale:_().number};var Le=function(e){h(a,e);var t,r,o=(t=a,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=m(t);if(r){var o=m(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return v(this,e)});function a(){var e;u(this,a);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e=o.call.apply(o,[this].concat(r)),(0,g.A)(d(e),"state",{annotations:null}),(0,g.A)(d(e),"loadAnnotations",(function(){var t=E(e.props.page.getAnnotations());e.runningTask=t,t.promise.then((function(t){e.setState({annotations:t},e.onLoadSuccess)})).catch((function(t){e.onLoadError(t)}))})),(0,g.A)(d(e),"onLoadSuccess",(function(){var t=e.props.onGetAnnotationsSuccess,r=e.state.annotations;t&&t(r)})),(0,g.A)(d(e),"onLoadError",(function(t){e.setState({annotations:!1}),(0,O.default)(t);var r=e.props.onGetAnnotationsError;r&&r(t)})),(0,g.A)(d(e),"onRenderSuccess",(function(){var t=e.props.onRenderAnnotationLayerSuccess;t&&t()})),(0,g.A)(d(e),"onRenderError",(function(t){(0,O.default)(t);var r=e.props.onRenderAnnotationLayerError;r&&r(t)})),e}return f(a,[{key:"componentDidMount",value:function(){var e=this.props.page;(0,R.A)(e,"Attempted to load page annotations, but no page was specified."),this.loadAnnotations()}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.page,n=t.renderInteractiveForms;(e.page&&r!==e.page||n!==e.renderInteractiveForms)&&this.loadAnnotations()}},{key:"componentWillUnmount",value:function(){Y(this.runningTask)}},{key:"viewport",get:function(){var e=this.props,t=e.page,r=e.rotate,n=e.scale;return t.getViewport({scale:n,rotation:r})}},{key:"renderAnnotationLayer",value:function(){var e=this.state.annotations;if(e){var t=this.props,r=t.imageResourcesPath,o=t.linkService,a=t.page,i=t.renderInteractiveForms,s=this.viewport.clone({dontFlip:!0}),u={annotations:e,div:this.annotationLayer,imageResourcesPath:r,linkService:o,page:a,renderInteractiveForms:i,viewport:s};this.annotationLayer.innerHTML="";try{n.AnnotationLayer.render(u),this.onRenderSuccess()}catch(e){this.onRenderError(e)}}}},{key:"render",value:function(){var e=this;return b().createElement("div",{className:"react-pdf__Page__annotations annotationLayer",ref:function(t){e.annotationLayer=t}},this.renderAnnotationLayer())}}]),a}(y.PureComponent);Le.propTypes={imageResourcesPath:_().string,linkService:ne.isRequired,onGetAnnotationsError:_().func,onGetAnnotationsSuccess:_().func,onRenderAnnotationLayerError:_().func,onRenderAnnotationLayerSuccess:_().func,page:oe,renderInteractiveForms:_().bool,rotate:ue,scale:_().number};var De=function(e){return b().createElement(F.Consumer,null,(function(t){return b().createElement(ke.Consumer,null,(function(r){return b().createElement(Le,(0,o.A)({},t,r,e))}))}))};function Me(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ie(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Me(Object(r),!0).forEach((function(t){(0,g.A)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Me(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var je=function(e){h(a,e);var t,r,n=(t=a,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=m(t);if(r){var o=m(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return v(this,e)});function a(){var e;u(this,a);for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return e=n.call.apply(n,[this].concat(r)),(0,g.A)(d(e),"state",{page:null}),(0,g.A)(d(e),"onLoadSuccess",(function(){var t=e.props,r=t.onLoadSuccess,n=t.registerPage,o=e.state.page;r&&r(K(o,e.scale)),n&&n(e.pageIndex,e.ref)})),(0,g.A)(d(e),"onLoadError",(function(t){e.setState({page:!1}),(0,O.default)(t);var r=e.props.onLoadError;r&&r(t)})),(0,g.A)(d(e),"loadPage",(function(){var t=e.props.pdf,r=e.getPageNumber();if(r){e.setState((function(e){return e.page?{page:null}:null}));var n=E(t.getPage(r));e.runningTask=n,n.promise.then((function(t){e.setState({page:t},e.onLoadSuccess)})).catch((function(t){e.onLoadError(t)}))}})),e}return f(a,[{key:"componentDidMount",value:function(){var e=this.props.pdf;(0,R.A)(e,"Attempted to load a page, but no document was specified."),this.loadPage()}},{key:"componentDidUpdate",value:function(e){var t=this.props.pdf;if(e.pdf&&t!==e.pdf||this.getPageNumber()!==this.getPageNumber(e)){var r=this.props.unregisterPage;r&&r(this.getPageIndex(e)),this.loadPage()}}},{key:"componentWillUnmount",value:function(){var e=this.props.unregisterPage;e&&e(this.pageIndex),Y(this.runningTask)}},{key:"childContext",get:function(){var e=this.state.page;if(!e)return{};var t=this.props;return{canvasBackground:t.canvasBackground,customTextRenderer:t.customTextRenderer,onGetAnnotationsError:t.onGetAnnotationsError,onGetAnnotationsSuccess:t.onGetAnnotationsSuccess,onGetTextError:t.onGetTextError,onGetTextSuccess:t.onGetTextSuccess,onRenderAnnotationLayerError:t.onRenderAnnotationLayerError,onRenderAnnotationLayerSuccess:t.onRenderAnnotationLayerSuccess,onRenderError:t.onRenderError,onRenderSuccess:t.onRenderSuccess,page:e,renderInteractiveForms:t.renderInteractiveForms,rotate:this.rotate,scale:this.scale}}},{key:"getPageIndex",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props;return V(e.pageNumber)?e.pageNumber-1:V(e.pageIndex)?e.pageIndex:null}},{key:"getPageNumber",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props;return V(e.pageNumber)?e.pageNumber:V(e.pageIndex)?e.pageIndex+1:null}},{key:"pageIndex",get:function(){return this.getPageIndex()}},{key:"pageNumber",get:function(){return this.getPageNumber()}},{key:"rotate",get:function(){var e=this.props.rotate;if(V(e))return e;var t=this.state.page;return t?t.rotate:null}},{key:"scale",get:function(){var e=this.state.page;if(!e)return null;var t=this.props,r=t.scale,n=t.width,o=t.height,a=this.rotate,i=1,s=null===r?1:r;if(n||o){var u=e.getViewport({scale:1,rotation:a});i=n?n/u.width:o/u.height}return s*i}},{key:"eventProps",get:function(){var e=this;return P(this.props,(function(){var t=e.state.page;return t?K(t,e.scale):t}))}},{key:"pageKey",get:function(){var e=this.state.page;return"".concat(e.pageIndex,"@").concat(this.scale,"/").concat(this.rotate)}},{key:"pageKeyNoScale",get:function(){var e=this.state.page;return"".concat(e.pageIndex,"/").concat(this.rotate)}},{key:"renderMainLayer",value:function(){var e=this.props,t=e.canvasRef;switch(e.renderMode){case"none":return null;case"svg":return b().createElement(Ee,{key:"".concat(this.pageKeyNoScale,"_svg")});default:return b().createElement(Ce,{key:"".concat(this.pageKey,"_canvas"),canvasRef:t})}}},{key:"renderTextLayer",value:function(){return this.props.renderTextLayer?b().createElement(Fe,{key:"".concat(this.pageKey,"_text")}):null}},{key:"renderAnnotationLayer",value:function(){return this.props.renderAnnotationLayer?b().createElement(De,{key:"".concat(this.pageKey,"_annotations")}):null}},{key:"renderChildren",value:function(){var e=this.props.children;return b().createElement(ke.Provider,{value:this.childContext},this.renderMainLayer(),this.renderTextLayer(),this.renderAnnotationLayer(),e)}},{key:"renderContent",value:function(){var e=this.pageNumber,t=this.props.pdf,r=this.state.page;if(!e){var n=this.props.noData;return b().createElement(L,{type:"no-data"},"function"==typeof n?n():n)}if(null===t||null===r){var o=this.props.loading;return b().createElement(L,{type:"loading"},"function"==typeof o?o():o)}if(!1===t||!1===r){var a=this.props.error;return b().createElement(L,{type:"error"},"function"==typeof a?a():a)}return this.renderChildren()}},{key:"render",value:function(){var e=this.pageNumber,t=this.props,r=t.className,n=t.inputRef;return b().createElement("div",(0,o.A)({className:(0,T.default)("react-pdf__Page",r),"data-page-number":e,ref:Se(n,this.ref),style:{position:"relative"}},this.eventProps),this.renderContent())}}]),a}(y.PureComponent);je.defaultProps={error:"Failed to load the page.",loading:"Loading page…",noData:"No page specified.",renderAnnotationLayer:!0,renderInteractiveForms:!1,renderMode:"canvas",renderTextLayer:!0,scale:1};var Ne=_().oneOfType([_().func,_().node]);function qe(e,t){return b().createElement(F.Consumer,null,(function(r){return b().createElement(je,(0,o.A)({ref:t},r,e))}))}je.propTypes=Ie(Ie({},Z),{},{canvasBackground:_().string,children:_().node,className:te,customTextRenderer:_().func,error:Ne,height:_().number,imageResourcesPath:_().string,inputRef:ie,loading:Ne,noData:Ne,onGetTextError:_().func,onGetTextSuccess:_().func,onLoadError:_().func,onLoadSuccess:_().func,onRenderError:_().func,onRenderSuccess:_().func,pageIndex:function(e,t,r){var n=e[t],o=e.pageNumber,a=e.pdf;if(!z(a))return null;if(z(n)){if("number"!=typeof n)return new Error("`".concat(t,"` of type `").concat((0,s.A)(n),"` supplied to `").concat(r,"`, expected `number`."));if(n<0)return new Error("Expected `".concat(t,"` to be greater or equal to 0."));var i=a.numPages;if(n+1>i)return new Error("Expected `".concat(t,"` to be less or equal to ").concat(i-1,"."))}else if(!z(o))return new Error("`".concat(t,"` not supplied. Either pageIndex or pageNumber must be supplied to `").concat(r,"`."));return null},pageNumber:function(e,t,r){var n=e[t],o=e.pageIndex,a=e.pdf;if(!z(a))return null;if(z(n)){if("number"!=typeof n)return new Error("`".concat(t,"` of type `").concat((0,s.A)(n),"` supplied to `").concat(r,"`, expected `number`."));if(n<1)return new Error("Expected `".concat(t,"` to be greater or equal to 1."));var i=a.numPages;if(n>i)return new Error("Expected `".concat(t,"` to be less or equal to ").concat(i,"."))}else if(!z(o))return new Error("`".concat(t,"` not supplied. Either pageIndex or pageNumber must be supplied to `").concat(r,"`."));return null},pdf:ae,registerPage:_().func,renderAnnotationLayer:_().bool,renderInteractiveForms:_().bool,renderMode:se,renderTextLayer:_().bool,rotate:ue,scale:_().number,unregisterPage:_().func,width:_().number});var Be=b().forwardRef(qe);(0,O.default)(!U,"Loading PDF.js worker may not work on protocols other than HTTP/HTTPS. ".concat(G)),n.GlobalWorkerOptions.workerSrc="pdf.worker.js"},8620:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=s(r(9067)),a=r(1594),i=s(a);function s(e){return e&&e.__esModule?e:{default:e}}var u={bgColor:o.default.oneOfType([o.default.object,o.default.string]).isRequired,bgD:o.default.string.isRequired,fgColor:o.default.oneOfType([o.default.object,o.default.string]).isRequired,fgD:o.default.string.isRequired,size:o.default.number.isRequired,title:o.default.string,viewBoxSize:o.default.number.isRequired,xmlns:o.default.string},l=(0,a.forwardRef)((function(e,t){var r=e.bgColor,o=e.bgD,a=e.fgD,s=e.fgColor,u=e.size,l=e.title,c=e.viewBoxSize,f=e.xmlns,d=void 0===f?"http://www.w3.org/2000/svg":f,p=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["bgColor","bgD","fgD","fgColor","size","title","viewBoxSize","xmlns"]);return i.default.createElement("svg",n({},p,{height:u,ref:t,viewBox:"0 0 "+c+" "+c,width:u,xmlns:d}),l?i.default.createElement("title",null,l):null,i.default.createElement("path",{d:o,fill:r}),i.default.createElement("path",{d:a,fill:s}))}));l.displayName="QRCodeSvg",l.propTypes=u,t.default=l},5735:function(e,t,r){"use strict";var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=c(r(9067)),a=c(r(4496)),i=c(r(2238)),s=r(1594),u=c(s),l=c(r(8620));function c(e){return e&&e.__esModule?e:{default:e}}var f={bgColor:o.default.oneOfType([o.default.object,o.default.string]),fgColor:o.default.oneOfType([o.default.object,o.default.string]),level:o.default.string,size:o.default.number,value:o.default.string.isRequired},d=(0,s.forwardRef)((function(e,t){var r=e.bgColor,o=void 0===r?"#FFFFFF":r,s=e.fgColor,c=void 0===s?"#000000":s,f=e.level,d=void 0===f?"L":f,p=e.size,h=void 0===p?256:p,v=e.value,m=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["bgColor","fgColor","level","size","value"]),g=new i.default(-1,a.default[d]);g.addData(v),g.make();var y=g.modules;return u.default.createElement(l.default,n({},m,{bgColor:o,bgD:y.map((function(e,t){return e.map((function(e,r){return e?"":"M "+r+" "+t+" l 1 0 0 1 -1 0 Z"})).join(" ")})).join(" "),fgColor:c,fgD:y.map((function(e,t){return e.map((function(e,r){return e?"M "+r+" "+t+" l 1 0 0 1 -1 0 Z":""})).join(" ")})).join(" "),ref:t,size:h,viewBoxSize:y.length}))}));d.displayName="QRCode",d.propTypes=f,t.Ay=d},8955:function(e,t,r){"use strict";r.d(t,{Kd:function(){return j},ok:function(){return B}});var n,o,a=r(1594),i=r(5206);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s.apply(this,arguments)}(o=n||(n={})).Pop="POP",o.Push="PUSH",o.Replace="REPLACE";const u="popstate";function l(e,t){if(!1===e||null==e)throw new Error(t)}function c(e,t){return{usr:e.state,key:e.key,idx:t}}function f(e,t,r,n){return void 0===r&&(r=null),s({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?p(t):t,{state:r,key:t&&t.key||n||Math.random().toString(36).substr(2,8)})}function d(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&"?"!==r&&(t+="?"===r.charAt(0)?r:"?"+r),n&&"#"!==n&&(t+="#"===n.charAt(0)?n:"#"+n),t}function p(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}var h;function v(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(n)+"].  Please separate it out to the `to."+r+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(h||(h={})),new Set(["lazy","caseSensitive","path","id","index","children"]);const m=e=>e.join("/").replace(/\/\/+/g,"/"),g=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",y=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";Error;const b=["post","put","patch","delete"],w=(new Set(b),["get",...b]);function _(){return _=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},_.apply(this,arguments)}new Set(w),new Set([301,302,303,307,308]),new Set([307,308]),Symbol("deferred");const A=a.createContext(null),S=a.createContext(null),k=a.createContext(null),x=a.createContext({outlet:null,matches:[],isDataRoute:!1});function C(){return null!=a.useContext(k)}function P(){return C()||l(!1),a.useContext(k).location}function E(e){a.useContext(S).static||a.useLayoutEffect(e)}function T(){let{isDataRoute:e}=a.useContext(x);return e?function(){let{router:e}=function(){let e=a.useContext(A);return e||l(!1),e}(R.UseNavigateStable),t=function(){let e=function(){let e=a.useContext(x);return e||l(!1),e}(),t=e.matches[e.matches.length-1];return t.route.id||l(!1),t.route.id}(O.UseNavigateStable),r=a.useRef(!1);return E((()=>{r.current=!0})),a.useCallback((function(n,o){void 0===o&&(o={}),r.current&&("number"==typeof n?e.navigate(n):e.navigate(n,_({fromRouteId:t},o)))}),[e,t])}():function(){C()||l(!1);let e=a.useContext(A),{basename:t,future:r,navigator:n}=a.useContext(S),{matches:o}=a.useContext(x),{pathname:i}=P(),u=JSON.stringify(function(e,t){let r=function(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}(e);return t?r.map(((e,t)=>t===r.length-1?e.pathname:e.pathnameBase)):r.map((e=>e.pathnameBase))}(o,r.v7_relativeSplatPath)),c=a.useRef(!1);return E((()=>{c.current=!0})),a.useCallback((function(r,o){if(void 0===o&&(o={}),!c.current)return;if("number"==typeof r)return void n.go(r);let a=function(e,t,r,n){let o;void 0===n&&(n=!1),"string"==typeof e?o=p(e):(o=s({},e),l(!o.pathname||!o.pathname.includes("?"),v("?","pathname","search",o)),l(!o.pathname||!o.pathname.includes("#"),v("#","pathname","hash",o)),l(!o.search||!o.search.includes("#"),v("#","search","hash",o)));let a,i=""===e||""===o.pathname,u=i?"/":o.pathname;if(null==u)a=r;else{let e=t.length-1;if(!n&&u.startsWith("..")){let t=u.split("/");for(;".."===t[0];)t.shift(),e-=1;o.pathname=t.join("/")}a=e>=0?t[e]:"/"}let c=function(e,t){void 0===t&&(t="/");let{pathname:r,search:n="",hash:o=""}="string"==typeof e?p(e):e,a=r?r.startsWith("/")?r:function(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?r.length>1&&r.pop():"."!==e&&r.push(e)})),r.length>1?r.join("/"):"/"}(r,t):t;return{pathname:a,search:g(n),hash:y(o)}}(o,a),f=u&&"/"!==u&&u.endsWith("/"),d=(i||"."===u)&&r.endsWith("/");return c.pathname.endsWith("/")||!f&&!d||(c.pathname+="/"),c}(r,JSON.parse(u),i,"path"===o.relative);null==e&&"/"!==t&&(a.pathname="/"===a.pathname?t:m([t,a.pathname])),(o.replace?n.replace:n.push)(a,o.state,o)}),[t,n,u,i,e])}()}a.Component;var R=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(R||{}),O=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(O||{});const F={},L=(e,t,r)=>{var n;F[n="⚠️ React Router Future Flag Warning: "+t+". You can use the `"+e+"` future flag to opt-in early. For more information, see "+r+"."]||(F[n]=!0,console.warn(n))};function D(e){let{basename:t="/",children:r=null,location:o,navigationType:i=n.Pop,navigator:s,static:u=!1,future:c}=e;C()&&l(!1);let f=t.replace(/^\/*/,"/"),d=a.useMemo((()=>({basename:f,navigator:s,static:u,future:_({v7_relativeSplatPath:!1},c)})),[f,c,s,u]);"string"==typeof o&&(o=p(o));let{pathname:h="/",search:v="",hash:m="",state:g=null,key:y="default"}=o,b=a.useMemo((()=>{let e=function(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&"/"!==n?null:e.slice(r)||"/"}(h,f);return null==e?null:{location:{pathname:e,search:v,hash:m,state:g,key:y},navigationType:i}}),[f,h,v,m,g,y,i]);return null==b?null:a.createElement(S.Provider,{value:d},a.createElement(k.Provider,{children:r,value:b}))}function M(e){return void 0===e&&(e=""),new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce(((t,r)=>{let n=e[r];return t.concat(Array.isArray(n)?n.map((e=>[r,e])):[[r,n]])}),[]))}a.startTransition,new Promise((()=>{})),a.Component,new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);try{window.__reactRouterVersion="6"}catch(e){}new Map;const I=a.startTransition;function j(e){let{basename:t,children:r,future:o,window:i}=e,p=a.useRef();var h;null==p.current&&(p.current=(void 0===(h={window:i,v5Compat:!0})&&(h={}),function(e,t,r,o){void 0===o&&(o={});let{window:a=document.defaultView,v5Compat:i=!1}=o,p=a.history,h=n.Pop,v=null,m=g();function g(){return(p.state||{idx:null}).idx}function y(){h=n.Pop;let e=g(),t=null==e?null:e-m;m=e,v&&v({action:h,location:w.location,delta:t})}function b(e){let t="null"!==a.location.origin?a.location.origin:a.location.href,r="string"==typeof e?e:d(e);return r=r.replace(/ $/,"%20"),l(t,"No window.location.(origin|href) available to create URL for href: "+r),new URL(r,t)}null==m&&(m=0,p.replaceState(s({},p.state,{idx:m}),""));let w={get action(){return h},get location(){return e(a,p)},listen(e){if(v)throw new Error("A history only accepts one active listener");return a.addEventListener(u,y),v=e,()=>{a.removeEventListener(u,y),v=null}},createHref(e){return t(a,e)},createURL:b,encodeLocation(e){let t=b(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){h=n.Push;let o=f(w.location,e,t);r&&r(o,e),m=g()+1;let s=c(o,m),u=w.createHref(o);try{p.pushState(s,"",u)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;a.location.assign(u)}i&&v&&v({action:h,location:w.location,delta:1})},replace:function(e,t){h=n.Replace;let o=f(w.location,e,t);r&&r(o,e),m=g();let a=c(o,m),s=w.createHref(o);p.replaceState(a,"",s),i&&v&&v({action:h,location:w.location,delta:0})},go(e){return p.go(e)}};return w}((function(e,t){let{pathname:r,search:n,hash:o}=e.location;return f("",{pathname:r,search:n,hash:o},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){return"string"==typeof t?t:d(t)}),null,h)));let v=p.current,[m,g]=a.useState({action:v.action,location:v.location}),{v7_startTransition:y}=o||{},b=a.useCallback((e=>{y&&I?I((()=>g(e))):g(e)}),[g,y]);return a.useLayoutEffect((()=>v.listen(b)),[v,b]),a.useEffect((()=>{return null!=(e=o)&&e.v7_startTransition||L("v7_startTransition","React Router will begin wrapping state updates in `React.startTransition` in v7","https://reactrouter.com/v6/upgrading/future#v7_starttransition"),null!=e&&e.v7_relativeSplatPath||t&&t.v7_relativeSplatPath||L("v7_relativeSplatPath","Relative route resolution within Splat routes is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath"),void(t&&(t.v7_fetcherPersist||L("v7_fetcherPersist","The persistence behavior of fetchers is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_fetcherpersist"),t.v7_normalizeFormMethod||L("v7_normalizeFormMethod","Casing of `formMethod` fields is being normalized to uppercase in v7","https://reactrouter.com/v6/upgrading/future#v7_normalizeformmethod"),t.v7_partialHydration||L("v7_partialHydration","`RouterProvider` hydration behavior is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_partialhydration"),t.v7_skipActionErrorRevalidation||L("v7_skipActionErrorRevalidation","The revalidation behavior after 4xx/5xx `action` responses is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_skipactionerrorrevalidation")));var e,t}),[o]),a.createElement(D,{basename:t,children:r,location:m.location,navigationType:m.action,navigator:v,future:o})}var N,q;function B(e){let t=a.useRef(M(e)),r=a.useRef(!1),n=P(),o=a.useMemo((()=>function(e,t){let r=M(e);return t&&t.forEach(((e,n)=>{r.has(n)||t.getAll(n).forEach((e=>{r.append(n,e)}))})),r}(n.search,r.current?null:t.current)),[n.search]),i=T(),s=a.useCallback(((e,t)=>{const n=M("function"==typeof e?e(o):e);r.current=!0,i("?"+n,t)}),[i,o]);return[o,s]}i.flushSync,a.useId,"undefined"!=typeof window&&void 0!==window.document&&window.document.createElement,function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"}(N||(N={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(q||(q={}))},2700:function(e,t,r){"use strict";r.d(t,{JP:function(){return d},kx:function(){return u}});var n=r(1594),o=r.n(n);function a(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}"function"==typeof SuppressedError&&SuppressedError;const i={CHAT:{HEIGHT:550,WIDTH:350},MEDIA:{HEIGHT:480,WIDTH:940},ID:{TWITCH_EMBED:"twitch-embed",TWITCH_PLAYER:"twitch-player"},TITLE:{TWITCH_CHAT:"TwitchChat",TWITCH_CLIP:"TwitchClip",TWITCH_PLAYER_NON_INTERACTIVE:"TwitchPlayerNonInteractive"},ALLOW_FULLSCREEN:!0,AUTOPLAY:!0,WITH_CHAT:!0,MUTED:!1,DARK_MODE:!0,TIME:"0h0m0s",HIDE_CONTROLS:!1,INLINE:!0},s=(i.DARK_MODE,{autoplay:i.AUTOPLAY,muted:i.MUTED}),u=e=>{var{clip:t,parent:r,autoplay:u=i.AUTOPLAY,muted:l=i.MUTED,title:c=i.TITLE.TWITCH_CLIP,height:f=i.MEDIA.HEIGHT,width:d=i.MEDIA.WIDTH}=e,p=a(e,["clip","parent","autoplay","muted","title","height","width"]);const h=(()=>{const[e,t]=(0,n.useState)();return(0,n.useEffect)((()=>{t(window.location.hostname)}),[]),e})();if(!r&&!h)return null;const v=((e,t,r=s)=>{const n=Object.assign(Object.assign({},s),r),o=new URLSearchParams;return o.append("clip",e),o.append("autoplay",n.autoplay.toString()),o.append("muted",n.muted.toString()),Array.isArray(t)?t.forEach((e=>o.append("parent",e))):o.append("parent",t),`https://clips.twitch.tv/embed?${o.toString()}`})(t,null!=r?r:h,{autoplay:u,muted:l});return o().createElement("iframe",Object.assign({title:c,height:f,width:d,src:v,frameBorder:0},p))},l=()=>e=>{},c=()=>(e,t)=>{},f=["channel","video","collection","height","width"],d=e=>{const{channel:t,video:r,collection:s,parent:u,autoplay:d=i.AUTOPLAY,muted:p=i.MUTED,time:h=i.TIME,allowFullscreen:v=i.ALLOW_FULLSCREEN,playsInline:m=i.INLINE,hideControls:g=i.HIDE_CONTROLS,onCaptions:y=c(),onEnded:b=l(),onPause:w=l(),onPlay:_=c(),onPlaybackBlocked:A=l(),onPlaying:S=l(),onOffline:k=l(),onOnline:x=l(),onReady:C=l(),onSeek:P=c(),id:E=i.ID.TWITCH_PLAYER,height:T=i.MEDIA.HEIGHT,width:R=i.MEDIA.WIDTH}=e,O=a(e,["channel","video","collection","parent","autoplay","muted","time","allowFullscreen","playsInline","hideControls","onCaptions","onEnded","onPause","onPlay","onPlaybackBlocked","onPlaying","onOffline","onOnline","onReady","onSeek","id","height","width"]),{loading:F,error:L}=(e=>{const[t,r]=(0,n.useState)({loading:!0,error:null});return(0,n.useEffect)((()=>{if(!e)return void r({loading:!1,error:new Error("No src provided to useScript.")});let t=document.querySelector(`script[src="${e}"]`);t?r((e=>Object.assign(Object.assign({},e),{loading:"true"===t.getAttribute("data-loading")}))):(t=document.createElement("script"),t.src=e,t.async=!0,t.type="text/javascript",t.setAttribute("data-loading","true"),document.body.appendChild(t),t.addEventListener("load",(()=>{null==t||t.setAttribute("data-loading","false")}),{once:!0}),t.addEventListener("error",(()=>{null==t||t.setAttribute("data-loading","false")}),{once:!0}));const n=t=>{"load"===t.type?r({loading:!1,error:null}):"error"===t.type&&r({loading:!1,error:new Error(`There was an error loading the script for ${e}`)})};return t.addEventListener("load",n),t.addEventListener("error",n),()=>{null==t||t.removeEventListener("load",n),null==t||t.removeEventListener("error",n)}}),[e]),t})("https://player.twitch.tv/js/embed/v1.js"),D=(e=>{const t=(0,n.useRef)();return(0,n.useEffect)((()=>{t.current=e}),[e]),t.current})(e),M=(0,n.useRef)(),I=(0,n.useCallback)((e=>{(e=>{const t=document.getElementById(e);t&&(t.innerHTML="")})(E);const n=new e(E,{channel:t,video:r,collection:s,parent:"string"==typeof u?[u]:u,autoplay:d,muted:p,time:h,allowfullscreen:v,playsinline:m,controls:!g,height:"100%",width:"100%"});return n.addEventListener(e.CAPTIONS,(e=>y(n,e))),n.addEventListener(e.ENDED,(()=>b(n))),n.addEventListener(e.PAUSE,(()=>w(n))),n.addEventListener(e.PLAY,(e=>_(n,e))),n.addEventListener(e.PLAYBACK_BLOCKED,(()=>A(n))),n.addEventListener(e.PLAYING,(()=>S(n))),n.addEventListener(e.OFFLINE,(()=>k(n))),n.addEventListener(e.ONLINE,(()=>x(n))),n.addEventListener(e.READY,(()=>C(n))),n.addEventListener(e.SEEK,(e=>P(n,e))),n}),[t,r,s,u,d,p,h,v,m,g,y,b,k,x,w,_,A,S,C,P,E]);return(0,n.useEffect)((()=>{F||(L?console.error(L):M.current&&!((e,t)=>{var r;return((e,t,r)=>{for(const n in e)if(e[n]!==t[n]&&!r.includes(n))return!0;return!1})(null!==(r=e)&&void 0!==r?r:{},t,f)})(D,e)?(t&&(null==D?void 0:D.channel)!==t&&M.current.setChannel(t),r&&(null==D?void 0:D.video)!==r&&M.current.setVideo(r,0),s&&(null==D?void 0:D.collection)!==s&&M.current.setCollection(s,r)):M.current=I(window.Twitch.Player))}),[t,s,I,L,F,D,e,r]),F?null:o().createElement("div",Object.assign({id:E,style:{height:T,width:R}},O))};i.AUTOPLAY,i.MUTED,i.TIME},1431:function(e,t,r){"use strict";r.d(t,{ul:function(){return i}});var n=r(1594),o=r.n(n),a="createTweet",i=function(e){var t=o().useRef(null),n=o().useState(!0),i=n[0],s=n[1];return o().useEffect((function(){var n=!0;return r(6616)("https://platform.twitter.com/widgets.js","twitter-embed",(function(){if(window.twttr){if(n){if(!window.twttr.widgets[a])return void console.error("Method "+a+" is not present anymore in twttr.widget api");window.twttr.widgets[a](e.tweetId,null==t?void 0:t.current,e.options).then((function(t){s(!1),e.onLoad&&e.onLoad(t)}))}}else console.error("Failure to load window.twttr, aborting load")})),function(){n=!1}}),[]),o().createElement(o().Fragment,null,i&&o().createElement(o().Fragment,null,e.placeholder),o().createElement("div",{ref:t}))}},6616:function(e,t,r){var n,o,a;a=function(){var e,t,r=document,n=r.getElementsByTagName("head")[0],o="push",a="readyState",i="onreadystatechange",s={},u={},l={},c={};function f(e,t){for(var r=0,n=e.length;r<n;++r)if(!t(e[r]))return!1;return 1}function d(e,t){f(e,(function(e){return t(e),1}))}function p(t,r,n){t=t[o]?t:[t];var a=r&&r.call,i=a?r:n,v=a?t.join(""):r,m=t.length;function g(e){return e.call?e():s[e]}function y(){if(! --m)for(var e in s[v]=1,i&&i(),l)f(e.split("|"),g)&&!d(l[e],g)&&(l[e]=[])}return setTimeout((function(){d(t,(function t(r,n){return null===r?y():(n||/^https?:\/\//.test(r)||!e||(r=-1===r.indexOf(".js")?e+r+".js":e+r),c[r]?(v&&(u[v]=1),2==c[r]?y():setTimeout((function(){t(r,!0)}),0)):(c[r]=1,v&&(u[v]=1),void h(r,y)))}))}),0),p}function h(e,o){var s,u=r.createElement("script");u.onload=u.onerror=u[i]=function(){u[a]&&!/^c|loade/.test(u[a])||s||(u.onload=u[i]=null,s=1,c[e]=2,o())},u.async=1,u.src=t?e+(-1===e.indexOf("?")?"?":"&")+t:e,n.insertBefore(u,n.lastChild)}return p.get=h,p.order=function(e,t,r){!function n(o){o=e.shift(),e.length?p(o,n):p(o,t,r)}()},p.path=function(t){e=t},p.urlArgs=function(e){t=e},p.ready=function(e,t,r){e=e[o]?e:[e];var n,a=[];return!d(e,(function(e){s[e]||a[o](e)}))&&f(e,(function(e){return s[e]}))?t():(n=e.join("|"),l[n]=l[n]||[],l[n][o](t),r&&r(a)),p},p.done=function(e){p([null],e)},p},e.exports?e.exports=a():void 0===(o="function"==typeof(n=a)?n.call(t,r,t,e):n)||(e.exports=o)},2146:function(e){e.exports=function(e,t,r,n){var o=r?r.call(n,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),u=0;u<a.length;u++){var l=a[u];if(!s(l))return!1;var c=e[l],f=t[l];if(!1===(o=r?r.call(n,c,f,l):void 0)||void 0===o&&c!==f)return!1}return!0}},4301:function(e,t,r){"use strict";r.d(t,{DU:function(){return je}});var n=r(524),o=r(1594),a=r.n(o),i=r(2146),s=r.n(i),u=function(e){function t(e,n,u,l,d){for(var p,h,v,m,w,A=0,S=0,k=0,x=0,C=0,F=0,D=v=p=0,I=0,j=0,N=0,q=0,B=u.length,U=B-1,z="",V="",W="",H="";I<B;){if(h=u.charCodeAt(I),I===U&&0!==S+x+k+A&&(0!==S&&(h=47===S?10:47),x=k=A=0,B++,U++),0===S+x+k+A){if(I===U&&(0<j&&(z=z.replace(f,"")),0<z.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:z+=u.charAt(I)}h=59}switch(h){case 123:for(p=(z=z.trim()).charCodeAt(0),v=1,q=++I;I<B;){switch(h=u.charCodeAt(I)){case 123:v++;break;case 125:v--;break;case 47:switch(h=u.charCodeAt(I+1)){case 42:case 47:e:{for(D=I+1;D<U;++D)switch(u.charCodeAt(D)){case 47:if(42===h&&42===u.charCodeAt(D-1)&&I+2!==D){I=D+1;break e}break;case 10:if(47===h){I=D+1;break e}}I=D}}break;case 91:h++;case 40:h++;case 34:case 39:for(;I++<U&&u.charCodeAt(I)!==h;);}if(0===v)break;I++}if(v=u.substring(q,I),0===p&&(p=(z=z.replace(c,"").trim()).charCodeAt(0)),64===p){switch(0<j&&(z=z.replace(f,"")),h=z.charCodeAt(1)){case 100:case 109:case 115:case 45:j=n;break;default:j=O}if(q=(v=t(n,j,v,h,d+1)).length,0<L&&(w=s(3,v,j=r(O,z,N),n,E,P,q,h,d,l),z=j.join(""),void 0!==w&&0===(q=(v=w.trim()).length)&&(h=0,v="")),0<q)switch(h){case 115:z=z.replace(_,i);case 100:case 109:case 45:v=z+"{"+v+"}";break;case 107:v=(z=z.replace(g,"$1 $2"))+"{"+v+"}",v=1===R||2===R&&a("@"+v,3)?"@-webkit-"+v+"@"+v:"@"+v;break;default:v=z+v,112===l&&(V+=v,v="")}else v=""}else v=t(n,r(n,z,N),v,l,d+1);W+=v,v=N=j=D=p=0,z="",h=u.charCodeAt(++I);break;case 125:case 59:if(1<(q=(z=(0<j?z.replace(f,""):z).trim()).length))switch(0===D&&(p=z.charCodeAt(0),45===p||96<p&&123>p)&&(q=(z=z.replace(" ",":")).length),0<L&&void 0!==(w=s(1,z,n,e,E,P,V.length,l,d,l))&&0===(q=(z=w.trim()).length)&&(z="\0\0"),p=z.charCodeAt(0),h=z.charCodeAt(1),p){case 0:break;case 64:if(105===h||99===h){H+=z+u.charAt(I);break}default:58!==z.charCodeAt(q-1)&&(V+=o(z,p,h,z.charCodeAt(2)))}N=j=D=p=0,z="",h=u.charCodeAt(++I)}}switch(h){case 13:case 10:47===S?S=0:0===1+p&&107!==l&&0<z.length&&(j=1,z+="\0"),0<L*M&&s(0,z,n,e,E,P,V.length,l,d,l),P=1,E++;break;case 59:case 125:if(0===S+x+k+A){P++;break}default:switch(P++,m=u.charAt(I),h){case 9:case 32:if(0===x+A+S)switch(C){case 44:case 58:case 9:case 32:m="";break;default:32!==h&&(m=" ")}break;case 0:m="\\0";break;case 12:m="\\f";break;case 11:m="\\v";break;case 38:0===x+S+A&&(j=N=1,m="\f"+m);break;case 108:if(0===x+S+A+T&&0<D)switch(I-D){case 2:112===C&&58===u.charCodeAt(I-3)&&(T=C);case 8:111===F&&(T=F)}break;case 58:0===x+S+A&&(D=I);break;case 44:0===S+k+x+A&&(j=1,m+="\r");break;case 34:case 39:0===S&&(x=x===h?0:0===x?h:x);break;case 91:0===x+S+k&&A++;break;case 93:0===x+S+k&&A--;break;case 41:0===x+S+A&&k--;break;case 40:0===x+S+A&&(0===p&&(2*C+3*F==533||(p=1)),k++);break;case 64:0===S+k+x+A+D+v&&(v=1);break;case 42:case 47:if(!(0<x+A+k))switch(S){case 0:switch(2*h+3*u.charCodeAt(I+1)){case 235:S=47;break;case 220:q=I,S=42}break;case 42:47===h&&42===C&&q+2!==I&&(33===u.charCodeAt(q+2)&&(V+=u.substring(q,I+1)),m="",S=0)}}0===S&&(z+=m)}F=C,C=h,I++}if(0<(q=V.length)){if(j=n,0<L&&void 0!==(w=s(2,V,j,e,E,P,q,l,d,l))&&0===(V=w).length)return H+V+W;if(V=j.join(",")+"{"+V+"}",0!=R*T){switch(2!==R||a(V,2)||(T=0),T){case 111:V=V.replace(b,":-moz-$1")+V;break;case 112:V=V.replace(y,"::-webkit-input-$1")+V.replace(y,"::-moz-$1")+V.replace(y,":-ms-input-$1")+V}T=0}}return H+V+W}function r(e,t,r){var o=t.trim().split(v);t=o;var a=o.length,i=e.length;switch(i){case 0:case 1:var s=0;for(e=0===i?"":e[0]+" ";s<a;++s)t[s]=n(e,t[s],r).trim();break;default:var u=s=0;for(t=[];s<a;++s)for(var l=0;l<i;++l)t[u++]=n(e[l]+" ",o[s],r).trim()}return t}function n(e,t,r){var n=t.charCodeAt(0);switch(33>n&&(n=(t=t.trim()).charCodeAt(0)),n){case 38:return t.replace(m,"$1"+e.trim());case 58:return e.trim()+t.replace(m,"$1"+e.trim());default:if(0<1*r&&0<t.indexOf("\f"))return t.replace(m,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function o(e,t,r,n){var i=e+";",s=2*t+3*r+4*n;if(944===s){e=i.indexOf(":",9)+1;var u=i.substring(e,i.length-1).trim();return u=i.substring(0,e).trim()+u+";",1===R||2===R&&a(u,1)?"-webkit-"+u+u:u}if(0===R||2===R&&!a(i,1))return i;switch(s){case 1015:return 97===i.charCodeAt(10)?"-webkit-"+i+i:i;case 951:return 116===i.charCodeAt(3)?"-webkit-"+i+i:i;case 963:return 110===i.charCodeAt(5)?"-webkit-"+i+i:i;case 1009:if(100!==i.charCodeAt(4))break;case 969:case 942:return"-webkit-"+i+i;case 978:return"-webkit-"+i+"-moz-"+i+i;case 1019:case 983:return"-webkit-"+i+"-moz-"+i+"-ms-"+i+i;case 883:if(45===i.charCodeAt(8))return"-webkit-"+i+i;if(0<i.indexOf("image-set(",11))return i.replace(C,"$1-webkit-$2")+i;break;case 932:if(45===i.charCodeAt(4))switch(i.charCodeAt(5)){case 103:return"-webkit-box-"+i.replace("-grow","")+"-webkit-"+i+"-ms-"+i.replace("grow","positive")+i;case 115:return"-webkit-"+i+"-ms-"+i.replace("shrink","negative")+i;case 98:return"-webkit-"+i+"-ms-"+i.replace("basis","preferred-size")+i}return"-webkit-"+i+"-ms-"+i+i;case 964:return"-webkit-"+i+"-ms-flex-"+i+i;case 1023:if(99!==i.charCodeAt(8))break;return"-webkit-box-pack"+(u=i.substring(i.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+i+"-ms-flex-pack"+u+i;case 1005:return p.test(i)?i.replace(d,":-webkit-")+i.replace(d,":-moz-")+i:i;case 1e3:switch(t=(u=i.substring(13).trim()).indexOf("-")+1,u.charCodeAt(0)+u.charCodeAt(t)){case 226:u=i.replace(w,"tb");break;case 232:u=i.replace(w,"tb-rl");break;case 220:u=i.replace(w,"lr");break;default:return i}return"-webkit-"+i+"-ms-"+u+i;case 1017:if(-1===i.indexOf("sticky",9))break;case 975:switch(t=(i=e).length-10,s=(u=(33===i.charCodeAt(t)?i.substring(0,t):i).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|u.charCodeAt(7))){case 203:if(111>u.charCodeAt(8))break;case 115:i=i.replace(u,"-webkit-"+u)+";"+i;break;case 207:case 102:i=i.replace(u,"-webkit-"+(102<s?"inline-":"")+"box")+";"+i.replace(u,"-webkit-"+u)+";"+i.replace(u,"-ms-"+u+"box")+";"+i}return i+";";case 938:if(45===i.charCodeAt(5))switch(i.charCodeAt(6)){case 105:return u=i.replace("-items",""),"-webkit-"+i+"-webkit-box-"+u+"-ms-flex-"+u+i;case 115:return"-webkit-"+i+"-ms-flex-item-"+i.replace(S,"")+i;default:return"-webkit-"+i+"-ms-flex-line-pack"+i.replace("align-content","").replace(S,"")+i}break;case 973:case 989:if(45!==i.charCodeAt(3)||122===i.charCodeAt(4))break;case 931:case 953:if(!0===x.test(e))return 115===(u=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(e.replace("stretch","fill-available"),t,r,n).replace(":fill-available",":stretch"):i.replace(u,"-webkit-"+u)+i.replace(u,"-moz-"+u.replace("fill-",""))+i;break;case 962:if(i="-webkit-"+i+(102===i.charCodeAt(5)?"-ms-"+i:"")+i,211===r+n&&105===i.charCodeAt(13)&&0<i.indexOf("transform",10))return i.substring(0,i.indexOf(";",27)+1).replace(h,"$1-webkit-$2")+i}return i}function a(e,t){var r=e.indexOf(1===t?":":"{"),n=e.substring(0,3!==t?r:10);return r=e.substring(r+1,e.length-1),D(2!==t?n:n.replace(k,"$1"),r,t)}function i(e,t){var r=o(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return r!==t+";"?r.replace(A," or ($1)").substring(4):"("+t+")"}function s(e,t,r,n,o,a,i,s,u,c){for(var f,d=0,p=t;d<L;++d)switch(f=F[d].call(l,e,p,r,n,o,a,i,s,u,c)){case void 0:case!1:case!0:case null:break;default:p=f}if(p!==t)return p}function u(e){return void 0!==(e=e.prefix)&&(D=null,e?"function"!=typeof e?R=1:(R=2,D=e):R=0),u}function l(e,r){var n=e;if(33>n.charCodeAt(0)&&(n=n.trim()),n=[n],0<L){var o=s(-1,r,n,n,E,P,0,0,0,0);void 0!==o&&"string"==typeof o&&(r=o)}var a=t(O,n,r,0,0);return 0<L&&void 0!==(o=s(-2,a,n,n,E,P,a.length,0,0,0))&&(a=o),T=0,P=E=1,a}var c=/^\0+/g,f=/[\0\r\f]/g,d=/: */g,p=/zoo|gra/,h=/([,: ])(transform)/g,v=/,\r+?/g,m=/([\t\r\n ])*\f?&/g,g=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,b=/:(read-only)/g,w=/[svh]\w+-[tblr]{2}/,_=/\(\s*(.*)\s*\)/g,A=/([\s\S]*?);/g,S=/-self|flex-/g,k=/[^]*?(:[rp][el]a[\w-]+)[^]*/,x=/stretch|:\s*\w+\-(?:conte|avail)/,C=/([^-])(image-set\()/,P=1,E=1,T=0,R=1,O=[],F=[],L=0,D=null,M=0;return l.use=function e(t){switch(t){case void 0:case null:L=F.length=0;break;default:if("function"==typeof t)F[L++]=t;else if("object"==typeof t)for(var r=0,n=t.length;r<n;++r)e(t[r]);else M=0|!!t}return e},l.set=u,void 0!==e&&u(e),l},l={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function c(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var f=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,d=c((function(e){return f.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),p=r(5985),h=r.n(p);function v(){return(v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var m=function(e,t){for(var r=[e[0]],n=0,o=t.length;n<o;n+=1)r.push(t[n],e[n+1]);return r},g=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!(0,n.typeOf)(e)},y=Object.freeze([]),b=Object.freeze({});function w(e){return"function"==typeof e}function _(e){return e.displayName||e.name||"Component"}function A(e){return e&&"string"==typeof e.styledComponentId}var S="undefined"!=typeof process&&void 0!=={NODE_ENV:"production",env:"production",rootSlug:"social-develop",slug:"social-lite"}&&({NODE_ENV:"production",env:"production",rootSlug:"social-develop",slug:"social-lite"}.REACT_APP_SC_ATTR||{NODE_ENV:"production",env:"production",rootSlug:"social-develop",slug:"social-lite"}.SC_ATTR)||"data-styled",k="undefined"!=typeof window&&"HTMLElement"in window,x=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!=={NODE_ENV:"production",env:"production",rootSlug:"social-develop",slug:"social-lite"}&&(void 0!=={NODE_ENV:"production",env:"production",rootSlug:"social-develop",slug:"social-lite"}.REACT_APP_SC_DISABLE_SPEEDY&&""!=={NODE_ENV:"production",env:"production",rootSlug:"social-develop",slug:"social-lite"}.REACT_APP_SC_DISABLE_SPEEDY?"false"!=={NODE_ENV:"production",env:"production",rootSlug:"social-develop",slug:"social-lite"}.REACT_APP_SC_DISABLE_SPEEDY&&{NODE_ENV:"production",env:"production",rootSlug:"social-develop",slug:"social-lite"}.REACT_APP_SC_DISABLE_SPEEDY:void 0!=={NODE_ENV:"production",env:"production",rootSlug:"social-develop",slug:"social-lite"}.SC_DISABLE_SPEEDY&&""!=={NODE_ENV:"production",env:"production",rootSlug:"social-develop",slug:"social-lite"}.SC_DISABLE_SPEEDY&&"false"!=={NODE_ENV:"production",env:"production",rootSlug:"social-develop",slug:"social-lite"}.SC_DISABLE_SPEEDY&&{NODE_ENV:"production",env:"production",rootSlug:"social-develop",slug:"social-lite"}.SC_DISABLE_SPEEDY)),C={};function P(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(r.length>0?" Args: "+r.join(", "):""))}var E=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,r=0;r<e;r++)t+=this.groupSizes[r];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,o=n;e>=o;)(o<<=1)<0&&P(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var a=n;a<o;a++)this.groupSizes[a]=0}for(var i=this.indexOfGroup(e+1),s=0,u=t.length;s<u;s++)this.tag.insertRule(i,t[s])&&(this.groupSizes[e]++,i++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],r=this.indexOfGroup(e),n=r+t;this.groupSizes[e]=0;for(var o=r;o<n;o++)this.tag.deleteRule(r)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),o=n+r,a=n;a<o;a++)t+=this.tag.getRule(a)+"\n";return t},e}(),T=new Map,R=new Map,O=1,F=function(e){if(T.has(e))return T.get(e);for(;R.has(O);)O++;var t=O++;return T.set(e,t),R.set(t,e),t},L=function(e){return R.get(e)},D=function(e,t){t>=O&&(O=t+1),T.set(e,t),R.set(t,e)},M="style["+S+'][data-styled-version="5.3.11"]',I=new RegExp("^"+S+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),j=function(e,t,r){for(var n,o=r.split(","),a=0,i=o.length;a<i;a++)(n=o[a])&&e.registerName(t,n)},N=function(e,t){for(var r=(t.textContent||"").split("\n"),n=[],o=0,a=r.length;o<a;o++){var i=r[o].trim();if(i){var s=i.match(I);if(s){var u=0|parseInt(s[1],10),l=s[2];0!==u&&(D(l,u),j(e,l,s[3]),e.getTag().insertRules(u,n)),n.length=0}else n.push(i)}}},q=function(){return r.nc},B=function(e){var t=document.head,r=e||t,n=document.createElement("style"),o=function(e){for(var t=e.childNodes,r=t.length;r>=0;r--){var n=t[r];if(n&&1===n.nodeType&&n.hasAttribute(S))return n}}(r),a=void 0!==o?o.nextSibling:null;n.setAttribute(S,"active"),n.setAttribute("data-styled-version","5.3.11");var i=q();return i&&n.setAttribute("nonce",i),r.insertBefore(n,a),n},U=function(){function e(e){var t=this.element=B(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,n=t.length;r<n;r++){var o=t[r];if(o.ownerNode===e)return o}P(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),z=function(){function e(e){var t=this.element=B(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var r=document.createTextNode(t),n=this.nodes[e];return this.element.insertBefore(r,n||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),V=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),W=k,H={isServer:!k,useCSSOMInjection:!x},G=function(){function e(e,t,r){void 0===e&&(e=b),void 0===t&&(t={}),this.options=v({},H,{},e),this.gs=t,this.names=new Map(r),this.server=!!e.isServer,!this.server&&k&&W&&(W=!1,function(e){for(var t=document.querySelectorAll(M),r=0,n=t.length;r<n;r++){var o=t[r];o&&"active"!==o.getAttribute(S)&&(N(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this))}e.registerId=function(e){return F(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,r){return void 0===r&&(r=!0),new e(v({},this.options,{},t),this.gs,r&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(r=(t=this.options).isServer,n=t.useCSSOMInjection,o=t.target,e=r?new V(o):n?new U(o):new z(o),new E(e)));var e,t,r,n,o},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(F(e),this.names.has(e))this.names.get(e).add(t);else{var r=new Set;r.add(t),this.names.set(e,r)}},t.insertRules=function(e,t,r){this.registerName(e,t),this.getTag().insertRules(F(e),r)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(F(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),r=t.length,n="",o=0;o<r;o++){var a=L(o);if(void 0!==a){var i=e.names.get(a),s=t.getGroup(o);if(i&&s&&i.size){var u=S+".g"+o+'[id="'+a+'"]',l="";void 0!==i&&i.forEach((function(e){e.length>0&&(l+=e+",")})),n+=""+s+u+'{content:"'+l+'"}\n'}}}return n}(this)},e}(),X=/(a)(d)/gi,Y=function(e){return String.fromCharCode(e+(e>25?39:97))};function K(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=Y(t%52)+r;return(Y(t%52)+r).replace(X,"$1-$2")}var $=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},J=function(e){return $(5381,e)};function Q(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(w(r)&&!A(r))return!1}return!0}var Z=J("5.3.11"),ee=function(){function e(e,t,r){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===r||r.isStatic)&&Q(e),this.componentId=t,this.baseHash=$(Z,t),this.baseStyle=r,G.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,r){var n=this.componentId,o=[];if(this.baseStyle&&o.push(this.baseStyle.generateAndInjectStyles(e,t,r)),this.isStatic&&!r.hash)if(this.staticRulesId&&t.hasNameForId(n,this.staticRulesId))o.push(this.staticRulesId);else{var a=ye(this.rules,e,t,r).join(""),i=K($(this.baseHash,a)>>>0);if(!t.hasNameForId(n,i)){var s=r(a,"."+i,void 0,n);t.insertRules(n,i,s)}o.push(i),this.staticRulesId=i}else{for(var u=this.rules.length,l=$(this.baseHash,r.hash),c="",f=0;f<u;f++){var d=this.rules[f];if("string"==typeof d)c+=d;else if(d){var p=ye(d,e,t,r),h=Array.isArray(p)?p.join(""):p;l=$(l,h+f),c+=h}}if(c){var v=K(l>>>0);if(!t.hasNameForId(n,v)){var m=r(c,"."+v,void 0,n);t.insertRules(n,v,m)}o.push(v)}}return o.join(" ")},e}(),te=/^\s*\/\/.*$/gm,re=[":","[",".","#"];function ne(e){var t,r,n,o,a=void 0===e?b:e,i=a.options,s=void 0===i?b:i,l=a.plugins,c=void 0===l?y:l,f=new u(s),d=[],p=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(r,n,o,a,i,s,u,l,c,f){switch(r){case 1:if(0===c&&64===n.charCodeAt(0))return e(n+";"),"";break;case 2:if(0===l)return n+"";break;case 3:switch(l){case 102:case 112:return e(o[0]+n),"";default:return n+(0===f?"":"")}case-2:n.split("}").forEach(t)}}}((function(e){d.push(e)})),h=function(e,n,a){return 0===n&&-1!==re.indexOf(a[r.length])||a.match(o)?e:"."+t};function v(e,a,i,s){void 0===s&&(s="&");var u=e.replace(te,""),l=a&&i?i+" "+a+" { "+u+" }":u;return t=s,r=a,n=new RegExp("\\"+r+"\\b","g"),o=new RegExp("(\\"+r+"\\b){2,}"),f(i||!a?"":a,l)}return f.use([].concat(c,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(r)>0&&(o[0]=o[0].replace(n,h))},p,function(e){if(-2===e){var t=d;return d=[],t}}])),v.hash=c.length?c.reduce((function(e,t){return t.name||P(15),$(e,t.name)}),5381).toString():"",v}var oe=a().createContext(),ae=(oe.Consumer,a().createContext()),ie=(ae.Consumer,new G),se=ne();function ue(){return(0,o.useContext)(oe)||ie}function le(){return(0,o.useContext)(ae)||se}function ce(e){var t=(0,o.useState)(e.stylisPlugins),r=t[0],n=t[1],i=ue(),u=(0,o.useMemo)((function(){var t=i;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target]),l=(0,o.useMemo)((function(){return ne({options:{prefix:!e.disableVendorPrefixes},plugins:r})}),[e.disableVendorPrefixes,r]);return(0,o.useEffect)((function(){s()(r,e.stylisPlugins)||n(e.stylisPlugins)}),[e.stylisPlugins]),a().createElement(oe.Provider,{value:u},a().createElement(ae.Provider,{value:l},e.children))}var fe=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=se);var n=r.name+t.hash;e.hasNameForId(r.id,n)||e.insertRules(r.id,n,t(r.rules,n,"@keyframes"))},this.toString=function(){return P(12,String(r.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=se),this.name+e.hash},e}(),de=/([A-Z])/,pe=/([A-Z])/g,he=/^ms-/,ve=function(e){return"-"+e.toLowerCase()};function me(e){return de.test(e)?e.replace(pe,ve).replace(he,"-ms-"):e}var ge=function(e){return null==e||!1===e||""===e};function ye(e,t,r,n){if(Array.isArray(e)){for(var o,a=[],i=0,s=e.length;i<s;i+=1)""!==(o=ye(e[i],t,r,n))&&(Array.isArray(o)?a.push.apply(a,o):a.push(o));return a}return ge(e)?"":A(e)?"."+e.styledComponentId:w(e)?"function"!=typeof(u=e)||u.prototype&&u.prototype.isReactComponent||!t?e:ye(e(t),t,r,n):e instanceof fe?r?(e.inject(r,n),e.getName(n)):e:g(e)?function e(t,r){var n,o,a=[];for(var i in t)t.hasOwnProperty(i)&&!ge(t[i])&&(Array.isArray(t[i])&&t[i].isCss||w(t[i])?a.push(me(i)+":",t[i],";"):g(t[i])?a.push.apply(a,e(t[i],i)):a.push(me(i)+": "+(n=i,(null==(o=t[i])||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||n in l||n.startsWith("--")?String(o).trim():o+"px")+";")));return r?[r+" {"].concat(a,["}"]):a}(e):e.toString();var u}var be=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function we(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return w(e)||g(e)?be(ye(m(y,[e].concat(r)))):0===r.length&&1===e.length&&"string"==typeof e[0]?e:be(ye(m(e,r)))}new Set;var _e=function(e,t,r){return void 0===r&&(r=b),e.theme!==r.theme&&e.theme||t||r.theme},Ae=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Se=/(^-|-$)/g;function ke(e){return e.replace(Ae,"-").replace(Se,"")}var xe=function(e){return K(J(e)>>>0)};function Ce(e){return"string"==typeof e&&!0}var Pe=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},Ee=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function Te(e,t,r){var n=e[r];Pe(t)&&Pe(n)?Re(n,t):e[r]=t}function Re(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(var o=0,a=r;o<a.length;o++){var i=a[o];if(Pe(i))for(var s in i)Ee(s)&&Te(e,i[s],s)}return e}var Oe=a().createContext();Oe.Consumer;var Fe={};function Le(e,t,r){var n=A(e),i=!Ce(e),s=t.attrs,u=void 0===s?y:s,l=t.componentId,c=void 0===l?function(e,t){var r="string"!=typeof e?"sc":ke(e);Fe[r]=(Fe[r]||0)+1;var n=r+"-"+xe("5.3.11"+r+Fe[r]);return t?t+"-"+n:n}(t.displayName,t.parentComponentId):l,f=t.displayName,p=void 0===f?function(e){return Ce(e)?"styled."+e:"Styled("+_(e)+")"}(e):f,m=t.displayName&&t.componentId?ke(t.displayName)+"-"+t.componentId:t.componentId||c,g=n&&e.attrs?Array.prototype.concat(e.attrs,u).filter(Boolean):u,S=t.shouldForwardProp;n&&e.shouldForwardProp&&(S=t.shouldForwardProp?function(r,n,o){return e.shouldForwardProp(r,n,o)&&t.shouldForwardProp(r,n,o)}:e.shouldForwardProp);var k,x=new ee(r,m,n?e.componentStyle:void 0),C=x.isStatic&&0===u.length,P=function(e,t){return function(e,t,r,n){var a=e.attrs,i=e.componentStyle,s=e.defaultProps,u=e.foldedComponentIds,l=e.shouldForwardProp,c=e.styledComponentId,f=e.target,p=function(e,t,r){void 0===e&&(e=b);var n=v({},t,{theme:e}),o={};return r.forEach((function(e){var t,r,a,i=e;for(t in w(i)&&(i=i(n)),i)n[t]=o[t]="className"===t?(r=o[t],a=i[t],r&&a?r+" "+a:r||a):i[t]})),[n,o]}(_e(t,(0,o.useContext)(Oe),s)||b,t,a),h=p[0],m=p[1],g=function(e,t,r){var n=ue(),o=le();return t?e.generateAndInjectStyles(b,n,o):e.generateAndInjectStyles(r,n,o)}(i,n,h),y=r,_=m.$as||t.$as||m.as||t.as||f,A=Ce(_),S=m!==t?v({},t,{},m):t,k={};for(var x in S)"$"!==x[0]&&"as"!==x&&("forwardedAs"===x?k.as=S[x]:(l?l(x,d,_):!A||d(x))&&(k[x]=S[x]));return t.style&&m.style!==t.style&&(k.style=v({},t.style,{},m.style)),k.className=Array.prototype.concat(u,c,g!==c?g:null,t.className,m.className).filter(Boolean).join(" "),k.ref=y,(0,o.createElement)(_,k)}(k,e,t,C)};return P.displayName=p,(k=a().forwardRef(P)).attrs=g,k.componentStyle=x,k.displayName=p,k.shouldForwardProp=S,k.foldedComponentIds=n?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):y,k.styledComponentId=m,k.target=n?e.target:e,k.withComponent=function(e){var n=t.componentId,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(t,["componentId"]),a=n&&n+"-"+(Ce(e)?e:ke(_(e)));return Le(e,v({},o,{attrs:g,componentId:a}),r)},Object.defineProperty(k,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=n?Re({},e.defaultProps,t):t}}),Object.defineProperty(k,"toString",{value:function(){return"."+k.styledComponentId}}),i&&h()(k,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),k}var De=function(e){return function e(t,r,o){if(void 0===o&&(o=b),!(0,n.isValidElementType)(r))return P(1,String(r));var a=function(){return t(r,o,we.apply(void 0,arguments))};return a.withConfig=function(n){return e(t,r,v({},o,{},n))},a.attrs=function(n){return e(t,r,v({},o,{attrs:Array.prototype.concat(o.attrs,n).filter(Boolean)}))},a}(Le,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){De[e]=De(e)}));var Me,Ie=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Q(e),G.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(e,t,r,n){var o=n(ye(this.rules,t,r,n).join(""),""),a=this.componentId+e;r.insertRules(a,a,o)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,r,n){e>2&&G.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,n)},e}();function je(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=we.apply(void 0,[e].concat(r)),s="sc-global-"+xe(JSON.stringify(i)),u=new Ie(i,s);function l(e){var t=ue(),r=le(),n=(0,o.useContext)(Oe),a=(0,o.useRef)(t.allocateGSInstance(s)).current;return t.server&&c(a,e,t,n,r),(0,o.useLayoutEffect)((function(){if(!t.server)return c(a,e,t,n,r),function(){return u.removeStyles(a,t)}}),[a,e,t,n,r]),null}function c(e,t,r,n,o){if(u.isStatic)u.renderStyles(e,C,r,o);else{var a=v({},t,{theme:_e(t,n,l.defaultProps)});u.renderStyles(e,a,r,o)}}return a().memo(l)}(Me=function(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=q();return"<style "+[r&&'nonce="'+r+'"',S+'="true"','data-styled-version="5.3.11"'].filter(Boolean).join(" ")+">"+t+"</style>"},this.getStyleTags=function(){return e.sealed?P(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return P(2);var r=((t={})[S]="",t["data-styled-version"]="5.3.11",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),n=q();return n&&(r.nonce=n),[a().createElement("style",v({},r,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new G({isServer:!0}),this.sealed=!1}.prototype).collectStyles=function(e){return this.sealed?P(2):a().createElement(ce,{sheet:this.instance},e)},Me.interleaveWithNodeStream=function(e){return P(3)}},8610:function(e,t){"use strict";t.default=function(e,t){}},4674:function(e){"use strict";e.exports=function(){}},3373:function(e,t){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=i(e,a(r)))}return e}function a(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)n.call(e,r)&&e[r]&&(t=i(t,r));return t}function i(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},6936:function(e,t,r){"use strict";function n(e,t,r,n,o){var a={};return Object.keys(n).forEach((function(e){a[e]=n[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=r.slice().reverse().reduce((function(r,n){return n(e,t,r)||r}),a),o&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(o):void 0,a.initializer=void 0),void 0===a.initializer?(Object.defineProperty(e,t,a),null):a}r.d(t,{A:function(){return n}})},4586:function(e,t,r){"use strict";r.d(t,{A:function(){return o}});var n=r(1369);function o(e,t,r){return(t=(0,n.A)(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},9575:function(e,t,r){"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(null,arguments)}r.d(t,{A:function(){return n}})},9088:function(e,t,r){"use strict";function n(e,t,r,n){r&&Object.defineProperty(e,t,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(n):void 0})}r.d(t,{A:function(){return n}})},7502:function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}r.d(t,{A:function(){return n}})},1087:function(e,t,r){"use strict";function n(e,t){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},n(e,t)}r.d(t,{A:function(){return n}})},1369:function(e,t,r){"use strict";r.d(t,{A:function(){return o}});var n=r(7545);function o(e){var t=function(e){if("object"!=(0,n.A)(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=(0,n.A)(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,n.A)(t)?t:t+""}},7545:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r.d(t,{A:function(){return n}})},1905:function(e,t,r){"use strict";r.d(t,{V:function(){return p},r:function(){return f}});var n=r(1594),o=r(7476),a=r(8319),i=r(1382),s=r(8376),u=r(9027);let l=(0,n.createContext)(null);function c(){let e=(0,n.useContext)(l);if(null===e){let e=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,c),e}return e}function f(){let[e,t]=(0,n.useState)([]);return[e.length>0?e.join(" "):void 0,(0,n.useMemo)((()=>function(e){let r=(0,o._)((e=>(t((t=>[...t,e])),()=>t((t=>{let r=t.slice(),n=r.indexOf(e);return-1!==n&&r.splice(n,1),r}))))),a=(0,n.useMemo)((()=>({register:r,slot:e.slot,name:e.name,props:e.props})),[r,e.slot,e.name,e.props]);return n.createElement(l.Provider,{value:a},e.children)}),[t])]}let d=(0,u.FX)((function(e,t){let r=(0,a.B)(),{id:n=`headlessui-description-${r}`,...o}=e,l=c(),f=(0,s.P)(t);(0,i.s)((()=>l.register(n)),[n,l.register]);let d={ref:f,...l.props,id:n};return(0,u.XX)({ourProps:d,theirProps:o,slot:l.slot||{},defaultTag:"p",name:l.name||"Description"})})),p=Object.assign(d,{})},6681:function(e,t,r){"use strict";r.d(t,{D:function(){return o}});var n,o=((n=o||{}).Space=" ",n.Enter="Enter",n.Escape="Escape",n.Backspace="Backspace",n.Delete="Delete",n.ArrowLeft="ArrowLeft",n.ArrowUp="ArrowUp",n.ArrowRight="ArrowRight",n.ArrowDown="ArrowDown",n.Home="Home",n.End="End",n.PageUp="PageUp",n.PageDown="PageDown",n.Tab="Tab",n)},5497:function(e,t,r){"use strict";r.d(t,{J:function(){return p},b:function(){return f}});var n=r(1594),o=r(7476),a=r(8319),i=r(1382),s=r(8376),u=r(9027);let l=(0,n.createContext)(null);function c(){let e=(0,n.useContext)(l);if(null===e){let e=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,c),e}return e}function f(){let[e,t]=(0,n.useState)([]);return[e.length>0?e.join(" "):void 0,(0,n.useMemo)((()=>function(e){let r=(0,o._)((e=>(t((t=>[...t,e])),()=>t((t=>{let r=t.slice(),n=r.indexOf(e);return-1!==n&&r.splice(n,1),r}))))),a=(0,n.useMemo)((()=>({register:r,slot:e.slot,name:e.name,props:e.props})),[r,e.slot,e.name,e.props]);return n.createElement(l.Provider,{value:a},e.children)}),[t])]}let d=(0,u.FX)((function(e,t){let r=(0,a.B)(),{id:n=`headlessui-label-${r}`,passive:o=!1,...l}=e,f=c(),d=(0,s.P)(t);(0,i.s)((()=>f.register(n)),[n,f.register]);let p={ref:d,...f.props,id:n};return o&&("onClick"in p&&(delete p.htmlFor,delete p.onClick),"onClick"in l&&delete l.onClick),(0,u.XX)({ourProps:p,theirProps:l,slot:f.slot||{},defaultTag:"label",name:f.name||"Label"})})),p=Object.assign(d,{})},1553:function(e,t,r){"use strict";r.d(t,{z:function(){return D}});var n,o=r(1594),a=r(1905),i=r(6681),s=r(5497),u=r(1909),l=r(7535),c=r(7476),f=r(5131),d=r(8319),p=r(1382),h=r(329),v=r(8376),m=r(1117),g=r(3871),y=r(6804),b=r(9183),w=r(6229),_=r(4030),A=r(2872),S=r(9027),k=((n=k||{})[n.RegisterOption=0]="RegisterOption",n[n.UnregisterOption=1]="UnregisterOption",n);let x={0(e,t){let r=[...e.options,{id:t.id,element:t.element,propsRef:t.propsRef}];return{...e,options:(0,b.wl)(r,(e=>e.element.current))}},1(e,t){let r=e.options.slice(),n=e.options.findIndex((e=>e.id===t.id));return-1===n?e:(r.splice(n,1),{...e,options:r})}},C=(0,o.createContext)(null);function P(e){let t=(0,o.useContext)(C);if(null===t){let t=new Error(`<${e} /> is missing a parent <RadioGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,P),t}return t}C.displayName="RadioGroupDataContext";let E=(0,o.createContext)(null);function T(e){let t=(0,o.useContext)(E);if(null===t){let t=new Error(`<${e} /> is missing a parent <RadioGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,T),t}return t}function R(e,t){return(0,_.Y)(t.type,x,e,t)}E.displayName="RadioGroupActionsContext";var O=(e=>(e[e.Empty=1]="Empty",e[e.Active=2]="Active",e))(O||{});let F=(0,S.FX)((function(e,t){let r=(0,d.B)(),{id:n=`headlessui-radiogroup-${r}`,value:f,defaultValue:p,form:h,name:y,onChange:_,by:k=(e,t)=>e===t,disabled:x=!1,...P}=e,T=(0,c._)("string"==typeof k?(e,t)=>{let r=k;return(null==e?void 0:e[r])===(null==t?void 0:t[r])}:k),[O,F]=(0,o.useReducer)(R,{options:[]}),L=O.options,[D,M]=(0,s.b)(),[I,j]=(0,a.r)(),N=(0,o.useRef)(null),q=(0,v.P)(N,t),[B,U]=(0,u.P)(f,_,p),z=(0,o.useMemo)((()=>L.find((e=>!e.propsRef.current.disabled))),[L]),V=(0,o.useMemo)((()=>L.some((e=>T(e.propsRef.current.value,B)))),[L,B]),W=(0,c._)((e=>{var t;if(x||T(e,B))return!1;let r=null==(t=L.find((t=>T(t.propsRef.current.value,e))))?void 0:t.propsRef.current;return!(null!=r&&r.disabled||(null==U||U(e),0))}));(0,m.i)({container:N.current,accept(e){return"radio"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(e){e.setAttribute("role","none")}});let H=(0,c._)((e=>{let t=N.current;if(!t)return;let r=(0,A.T)(t),n=L.filter((e=>!1===e.propsRef.current.disabled)).map((e=>e.element.current));switch(e.key){case i.D.Enter:(0,w.q)(e.currentTarget);break;case i.D.ArrowLeft:case i.D.ArrowUp:if(e.preventDefault(),e.stopPropagation(),(0,b.CU)(n,b.BD.Previous|b.BD.WrapAround)===b.Me.Success){let e=L.find((e=>e.element.current===(null==r?void 0:r.activeElement)));e&&W(e.propsRef.current.value)}break;case i.D.ArrowRight:case i.D.ArrowDown:if(e.preventDefault(),e.stopPropagation(),(0,b.CU)(n,b.BD.Next|b.BD.WrapAround)===b.Me.Success){let e=L.find((e=>e.element.current===(null==r?void 0:r.activeElement)));e&&W(e.propsRef.current.value)}break;case i.D.Space:{e.preventDefault(),e.stopPropagation();let t=L.find((e=>e.element.current===(null==r?void 0:r.activeElement)));t&&W(t.propsRef.current.value)}}})),G=(0,c._)((e=>(F({type:0,...e}),()=>F({type:1,id:e.id})))),X=(0,o.useMemo)((()=>({value:B,firstOption:z,containsCheckedOption:V,disabled:x,compare:T,...O})),[B,z,V,x,T,O]),Y=(0,o.useMemo)((()=>({registerOption:G,change:W})),[G,W]),K={ref:q,id:n,role:"radiogroup","aria-labelledby":D,"aria-describedby":I,onKeyDown:H},$=(0,o.useMemo)((()=>({value:B})),[B]),J=(0,o.useRef)(null),Q=(0,l.L)();return(0,o.useEffect)((()=>{J.current&&void 0!==p&&Q.addEventListener(J.current,"reset",(()=>{W(p)}))}),[J,W]),o.createElement(j,{name:"RadioGroup.Description"},o.createElement(M,{name:"RadioGroup.Label"},o.createElement(E.Provider,{value:Y},o.createElement(C.Provider,{value:X},null!=y&&null!=B&&(0,w.h)({[y]:B}).map((([e,t],r)=>o.createElement(g.j,{features:g.O.Hidden,ref:0===r?e=>{var t;J.current=null!=(t=null==e?void 0:e.closest("form"))?t:null}:void 0,...(0,S.oE)({key:e,as:"input",type:"radio",checked:null!=t,hidden:!0,readOnly:!0,form:h,disabled:x,name:e,value:t})}))),(0,S.XX)({ourProps:K,theirProps:P,slot:$,defaultTag:"div",name:"RadioGroup"})))))})),L=(0,S.FX)((function(e,t){var r;let n=(0,d.B)(),{id:i=`headlessui-radiogroup-option-${n}`,value:u,disabled:l=!1,...m}=e,g=(0,o.useRef)(null),b=(0,v.P)(g,t),[w,_]=(0,s.b)(),[A,k]=(0,a.r)(),{addFlag:x,removeFlag:C,hasFlag:E}=(0,f.D)(1),R=(0,h.Y)({value:u,disabled:l}),O=P("RadioGroup.Option"),F=T("RadioGroup.Option");(0,p.s)((()=>F.registerOption({id:i,element:g,propsRef:R})),[i,F,g,R]);let L=(0,c._)((e=>{var t;if((0,y.l)(e.currentTarget))return e.preventDefault();F.change(u)&&(x(2),null==(t=g.current)||t.focus())})),D=(0,c._)((e=>{if((0,y.l)(e.currentTarget))return e.preventDefault();x(2)})),M=(0,c._)((()=>C(2))),I=(null==(r=O.firstOption)?void 0:r.id)===i,j=O.disabled||l,N=O.compare(O.value,u),q={ref:b,id:i,role:"radio","aria-checked":N?"true":"false","aria-labelledby":w,"aria-describedby":A,"aria-disabled":!!j||void 0,tabIndex:j?-1:N||!O.containsCheckedOption&&I?0:-1,onClick:j?void 0:L,onFocus:j?void 0:D,onBlur:j?void 0:M},B=(0,o.useMemo)((()=>({checked:N,disabled:j,active:E(2)})),[N,j,E]);return o.createElement(k,{name:"RadioGroup.Description"},o.createElement(_,{name:"RadioGroup.Label"},(0,S.XX)({ourProps:q,theirProps:m,slot:B,defaultTag:"div",name:"RadioGroup.Option"})))})),D=Object.assign(F,{Option:L,Label:s.J,Description:a.V})},1909:function(e,t,r){"use strict";r.d(t,{P:function(){return a}});var n=r(1594),o=r(7476);function a(e,t,r){let[a,i]=(0,n.useState)(r),s=void 0!==e,u=(0,n.useRef)(s),l=(0,n.useRef)(!1),c=(0,n.useRef)(!1);return!s||u.current||l.current?!s&&u.current&&!c.current&&(c.current=!0,u.current=s,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")):(l.current=!0,u.current=s,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")),[s?e:a,(0,o._)((e=>(s||i(e),null==t?void 0:t(e))))]}},7535:function(e,t,r){"use strict";r.d(t,{L:function(){return a}});var n=r(1594),o=r(5676);function a(){let[e]=(0,n.useState)(o.e);return(0,n.useEffect)((()=>()=>e.dispose()),[e]),e}},7476:function(e,t,r){"use strict";r.d(t,{_:function(){return a}});var n=r(1594),o=r(329);let a=function(e){let t=(0,o.Y)(e);return n.useCallback(((...e)=>t.current(...e)),[t])}},5131:function(e,t,r){"use strict";r.d(t,{D:function(){return a}});var n=r(1594),o=r(1979);function a(e=0){let[t,r]=(0,n.useState)(e),a=(0,o.a)(),i=(0,n.useCallback)((e=>{a.current&&r((t=>t|e))}),[t,a]),s=(0,n.useCallback)((e=>Boolean(t&e)),[t]),u=(0,n.useCallback)((e=>{a.current&&r((t=>t&~e))}),[r,a]),l=(0,n.useCallback)((e=>{a.current&&r((t=>t^e))}),[r]);return{flags:t,addFlag:i,hasFlag:s,removeFlag:u,toggleFlag:l}}},8319:function(e,t,r){"use strict";r.d(t,{B:function(){return u}});var n,o=r(1594),a=r(3632),i=r(1382),s=r(36);let u=null!=(n=o.useId)?n:function(){let e=(0,s.g)(),[t,r]=o.useState(e?()=>a._.nextId():null);return(0,i.s)((()=>{null===t&&r(a._.nextId())}),[t]),null!=t?""+t:void 0}},1979:function(e,t,r){"use strict";r.d(t,{a:function(){return a}});var n=r(1594),o=r(1382);function a(){let e=(0,n.useRef)(!1);return(0,o.s)((()=>(e.current=!0,()=>{e.current=!1})),[]),e}},1382:function(e,t,r){"use strict";r.d(t,{s:function(){return a}});var n=r(1594),o=r(3632);let a=(e,t)=>{o._.isServer?(0,n.useEffect)(e,t):(0,n.useLayoutEffect)(e,t)}},329:function(e,t,r){"use strict";r.d(t,{Y:function(){return a}});var n=r(1594),o=r(1382);function a(e){let t=(0,n.useRef)(e);return(0,o.s)((()=>{t.current=e}),[e]),t}},36:function(e,t,r){"use strict";var n;r.d(t,{g:function(){return i}});var o=r(1594),a=r(3632);function i(){let e=function(){let e="undefined"==typeof document;return"useSyncExternalStore"in(n||(n=r.t(o,2)))&&(n||(n=r.t(o,2))).useSyncExternalStore((()=>()=>{}),(()=>!1),(()=>!e))}(),[t,i]=o.useState(a._.isHandoffComplete);return t&&!1===a._.isHandoffComplete&&i(!1),o.useEffect((()=>{!0!==t&&i(!0)}),[t]),o.useEffect((()=>a._.handoff()),[]),!e&&t}},8376:function(e,t,r){"use strict";r.d(t,{P:function(){return i}});var n=r(1594),o=r(7476);let a=Symbol();function i(...e){let t=(0,n.useRef)(e);(0,n.useEffect)((()=>{t.current=e}),[e]);let r=(0,o._)((e=>{for(let r of t.current)null!=r&&("function"==typeof r?r(e):r.current=e)}));return e.every((e=>null==e||(null==e?void 0:e[a])))?void 0:r}},1117:function(e,t,r){"use strict";r.d(t,{i:function(){return i}});var n=r(1594),o=r(2872),a=r(1382);function i({container:e,accept:t,walk:r,enabled:i=!0}){let s=(0,n.useRef)(t),u=(0,n.useRef)(r);(0,n.useEffect)((()=>{s.current=t,u.current=r}),[t,r]),(0,a.s)((()=>{if(!e||!i)return;let t=(0,o.T)(e);if(!t)return;let r=s.current,n=u.current,a=Object.assign((e=>r(e)),{acceptNode:r}),l=t.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,a,!1);for(;l.nextNode();)n(l.currentNode)}),[e,i,s,u])}},3871:function(e,t,r){"use strict";r.d(t,{O:function(){return a},j:function(){return i}});var n,o=r(9027),a=((n=a||{})[n.None=1]="None",n[n.Focusable=2]="Focusable",n[n.Hidden=4]="Hidden",n);let i=(0,o.FX)((function(e,t){var r;let{features:n=1,...a}=e,i={ref:t,"aria-hidden":!(2&~n)||(null!=(r=a["aria-hidden"])?r:void 0),hidden:!(4&~n)||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...!(4&~n)&&!!(2&~n)&&{display:"none"}}};return(0,o.XX)({ourProps:i,theirProps:a,slot:{},defaultTag:"div",name:"Hidden"})}))},6804:function(e,t,r){"use strict";function n(e){let t=e.parentElement,r=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(r=t),t=t.parentElement;let n=""===(null==t?void 0:t.getAttribute("disabled"));return(!n||!function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(r))&&n}r.d(t,{l:function(){return n}})},5090:function(e,t,r){"use strict";function n(...e){return Array.from(new Set(e.flatMap((e=>"string"==typeof e?e.split(" "):[])))).filter(Boolean).join(" ")}r.d(t,{x:function(){return n}})},5676:function(e,t,r){"use strict";r.d(t,{e:function(){return o}});var n=r(4873);function o(){let e=[],t={addEventListener(e,r,n,o){return e.addEventListener(r,n,o),t.add((()=>e.removeEventListener(r,n,o)))},requestAnimationFrame(...e){let r=requestAnimationFrame(...e);return t.add((()=>cancelAnimationFrame(r)))},nextFrame(...e){return t.requestAnimationFrame((()=>t.requestAnimationFrame(...e)))},setTimeout(...e){let r=setTimeout(...e);return t.add((()=>clearTimeout(r)))},microTask(...e){let r={current:!0};return(0,n._)((()=>{r.current&&e[0]()})),t.add((()=>{r.current=!1}))},style(e,t,r){let n=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:r}),this.add((()=>{Object.assign(e.style,{[t]:n})}))},group(e){let t=o();return e(t),this.add((()=>t.dispose()))},add(t){return e.push(t),()=>{let r=e.indexOf(t);if(r>=0)for(let t of e.splice(r,1))t()}},dispose(){for(let t of e.splice(0))t()}};return t}},3632:function(e,t,r){"use strict";r.d(t,{_:function(){return a}});var n=Object.defineProperty,o=(e,t,r)=>(((e,t,r)=>{t in e?n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r})(e,"symbol"!=typeof t?t+"":t,r),r);let a=new class{constructor(){o(this,"current",this.detect()),o(this,"handoffState","pending"),o(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}}},9183:function(e,t,r){"use strict";r.d(t,{BD:function(){return s},CU:function(){return h},Me:function(){return u},wl:function(){return p}});let n=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map((e=>`${e}:not([tabindex='-1'])`)).join(",");var o,a,i,s=((i=s||{})[i.First=1]="First",i[i.Previous=2]="Previous",i[i.Next=4]="Next",i[i.Last=8]="Last",i[i.WrapAround=16]="WrapAround",i[i.NoScroll=32]="NoScroll",i),u=((a=u||{})[a.Error=0]="Error",a[a.Overflow=1]="Overflow",a[a.Success=2]="Success",a[a.Underflow=3]="Underflow",a),l=((o=l||{})[o.Previous=-1]="Previous",o[o.Next=1]="Next",o);var c=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(c||{}),f=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(f||{});"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("keydown",(e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")}),!0),document.addEventListener("click",(e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")}),!0));let d=["textarea","input"].join(",");function p(e,t=e=>e){return e.slice().sort(((e,r)=>{let n=t(e),o=t(r);if(null===n||null===o)return 0;let a=n.compareDocumentPosition(o);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0}))}function h(e,t,{sorted:r=!0,relativeTo:o=null,skipElements:a=[]}={}){let i=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,s=Array.isArray(e)?r?p(e):e:function(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(n)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))}(e);a.length>0&&s.length>1&&(s=s.filter((e=>!a.includes(e)))),o=null!=o?o:i.activeElement;let u,l=(()=>{if(5&t)return 1;if(10&t)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,s.indexOf(o))-1;if(4&t)return Math.max(0,s.indexOf(o))+1;if(8&t)return s.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),f=32&t?{preventScroll:!0}:{},h=0,v=s.length;do{if(h>=v||h+v<=0)return 0;let e=c+h;if(16&t)e=(e+v)%v;else{if(e<0)return 3;if(e>=v)return 1}u=s[e],null==u||u.focus(f),h+=l}while(u!==i.activeElement);return 6&t&&function(e){var t,r;return null!=(r=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,d))&&r}(u)&&u.select(),2}},6229:function(e,t,r){"use strict";function n(e={},t=null,r=[]){for(let[n,i]of Object.entries(e))a(r,o(t,n),i);return r}function o(e,t){return e?e+"["+t+"]":t}function a(e,t,r){if(Array.isArray(r))for(let[n,i]of r.entries())a(e,o(t,n.toString()),i);else r instanceof Date?e.push([t,r.toISOString()]):"boolean"==typeof r?e.push([t,r?"1":"0"]):"string"==typeof r?e.push([t,r]):"number"==typeof r?e.push([t,`${r}`]):null==r?e.push([t,""]):n(r,t,e)}function i(e){var t,r;let n=null!=(t=null==e?void 0:e.form)?t:e.closest("form");if(n){for(let t of n.elements)if(t!==e&&("INPUT"===t.tagName&&"submit"===t.type||"BUTTON"===t.tagName&&"submit"===t.type||"INPUT"===t.nodeName&&"image"===t.type))return void t.click();null==(r=n.requestSubmit)||r.call(n)}}r.d(t,{h:function(){return n},q:function(){return i}})},4030:function(e,t,r){"use strict";function n(e,t,...r){if(e in t){let n=t[e];return"function"==typeof n?n(...r):n}let o=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((e=>`"${e}"`)).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,n),o}r.d(t,{Y:function(){return n}})},4873:function(e,t,r){"use strict";function n(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}r.d(t,{_:function(){return n}})},2872:function(e,t,r){"use strict";r.d(t,{T:function(){return o}});var n=r(3632);function o(e){return n._.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}},9027:function(e,t,r){"use strict";r.d(t,{FX:function(){return h},XX:function(){return c},oE:function(){return v}});var n,o,a=r(1594),i=r(5090),s=r(4030),u=((o=u||{})[o.None=0]="None",o[o.RenderStrategy=1]="RenderStrategy",o[o.Static=2]="Static",o),l=((n=l||{})[n.Unmount=0]="Unmount",n[n.Hidden=1]="Hidden",n);function c({ourProps:e,theirProps:t,slot:r,defaultTag:n,features:o,visible:a=!0,name:i,mergeRefs:u}){u=null!=u?u:d;let l=p(t,e);if(a)return f(l,r,n,i,u);let c=null!=o?o:0;if(2&c){let{static:e=!1,...t}=l;if(e)return f(t,r,n,i,u)}if(1&c){let{unmount:e=!0,...t}=l;return(0,s.Y)(e?0:1,{0(){return null},1(){return f({...t,hidden:!0,style:{display:"none"}},r,n,i,u)}})}return f(l,r,n,i,u)}function f(e,t={},r,n,o){let{as:s=r,children:u,refName:l="ref",...c}=m(e,["unmount","static"]),f=void 0!==e.ref?{[l]:e.ref}:{},d="function"==typeof u?u(t):u;"className"in c&&c.className&&"function"==typeof c.className&&(c.className=c.className(t));let h={};if(t){let e=!1,r=[];for(let[n,o]of Object.entries(t))"boolean"==typeof o&&(e=!0),!0===o&&r.push(n);e&&(h["data-headlessui-state"]=r.join(" "))}if(s===a.Fragment&&Object.keys(v(c)).length>0){if(!(0,a.isValidElement)(d)||Array.isArray(d)&&d.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${n} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(c).map((e=>`  - ${e}`)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map((e=>`  - ${e}`)).join("\n")].join("\n"));let e=d.props,t="function"==typeof(null==e?void 0:e.className)?(...t)=>(0,i.x)(null==e?void 0:e.className(...t),c.className):(0,i.x)(null==e?void 0:e.className,c.className),r=t?{className:t}:{};return(0,a.cloneElement)(d,Object.assign({},p(d.props,v(m(c,["ref"]))),h,f,{ref:o(d.ref,f.ref)},r))}return(0,a.createElement)(s,Object.assign({},m(c,["ref"]),s!==a.Fragment&&f,s!==a.Fragment&&h),d)}function d(...e){return e.every((e=>null==e))?void 0:t=>{for(let r of e)null!=r&&("function"==typeof r?r(t):r.current=t)}}function p(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},r={};for(let n of e)for(let e in n)e.startsWith("on")&&"function"==typeof n[e]?(null!=r[e]||(r[e]=[]),r[e].push(n[e])):t[e]=n[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(r).map((e=>[e,void 0]))));for(let e in r)Object.assign(t,{[e](t,...n){let o=r[e];for(let e of o){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;e(t,...n)}}});return t}function h(e){var t;return Object.assign((0,a.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function v(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function m(e,t=[]){let r=Object.assign({},e);for(let e of t)e in r&&delete r[e];return r}},7838:function(e,t,r){"use strict";r.d(t,{R:function(){return o}});var n=r(1594);const o=({link:e,style:t={},wide:r=!1,width:o=(r?"100%":300),height:a=(r?80:380),frameBorder:i=0,allow:s="encrypted-media",...u})=>{const l=new URL(e);return l.pathname=l.pathname.replace(/\/intl-\w+\//,"/"),n.createElement("iframe",{title:"Spotify Web Player",src:`https://open.spotify.com/embed${l.pathname}`,width:o,height:a,frameBorder:i,allow:s,style:{borderRadius:8,...t},...u})}},7730:function(e,t,r){"use strict";r.d(t,{A:function(){return a}});var n=!0,o="Invariant failed";function a(e,t){if(!e){if(n)throw new Error(o);var r="function"==typeof t?t():t,a=r?"".concat(o,": ").concat(r):o;throw new Error(a)}}},5608:function(e,t,r){"use strict";r.d(t,{C6:function(){return o},Cl:function(){return a},Tt:function(){return i},fX:function(){return u},zs:function(){return s}});var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var a=function(){return a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)};function i(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}function s(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,a=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return i}function u(e,t,r){if(r||2===arguments.length)for(var n,o=0,a=t.length;o<a;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError}}]);