(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-shareQrCode-card~pages-shareQrCode-index"],{"04ad":function(A,e,t){"use strict";t("a4d3"),t("e01a"),t("197b"),t("99af"),t("cb29"),t("fb6a"),t("f785"),t("c19f"),t("82da"),t("ace4"),t("d3b7"),t("25f0"),t("5cc6"),t("9a8c"),t("a975"),t("735e"),t("c1ac"),t("d139"),t("3a7b"),t("d5d6"),t("82f8"),t("e91f"),t("60bd"),t("5f96"),t("3280"),t("3fcc"),t("ca91"),t("25a1"),t("cd26"),t("2954"),t("649e"),t("219c"),t("b39a"),t("72f7");var r=t("e3db");function n(){try{var A=new Uint8Array(1);return A.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===A.foo()}catch(e){return!1}}i.TYPED_ARRAY_SUPPORT=n();var o=i.TYPED_ARRAY_SUPPORT?2147483647:1073741823;function i(A,e,t){return i.TYPED_ARRAY_SUPPORT||this instanceof i?"number"===typeof A?c(this,A):E(this,A,e,t):new i(A,e,t)}function s(A){if(A>=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return 0|A}function B(A){return A!==A}function a(A,e){var t;return i.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e),t.__proto__=i.prototype):(t=A,null===t&&(t=new i(e)),t.length=e),t}function c(A,e){var t=a(A,e<0?0:0|s(e));if(!i.TYPED_ARRAY_SUPPORT)for(var r=0;r55295&&t<57344){if(!n){if(t>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(i+1===r){(e-=3)>-1&&o.push(239,191,189);continue}n=t;continue}if(t<56320){(e-=3)>-1&&o.push(239,191,189),n=t;continue}t=65536+(n-55296<<10|t-56320)}else n&&(e-=3)>-1&&o.push(239,191,189);if(n=null,t<128){if((e-=1)<0)break;o.push(t)}else if(t<2048){if((e-=2)<0)break;o.push(t>>6|192,63&t|128)}else if(t<65536){if((e-=3)<0)break;o.push(t>>12|224,t>>6&63|128,63&t|128)}else{if(!(t<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(t>>18|240,t>>12&63|128,t>>6&63|128,63&t|128)}}return o}function f(A){if(i.isBuffer(A))return A.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(A)||A instanceof ArrayBuffer))return A.byteLength;"string"!==typeof A&&(A=""+A);var e=A.length;return 0===e?0:h(A).length}function g(A,e,t,r){for(var n=0;n=e.length||n>=A.length)break;e[n+t]=A[n]}return n}function U(A,e,t,r){return g(h(e,A.length-t),A,t,r)}function E(A,e,t,r){if("number"===typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&e instanceof ArrayBuffer?Q(A,e,t,r):"string"===typeof e?u(A,e,t):w(A,e)}i.TYPED_ARRAY_SUPPORT&&(i.prototype.__proto__=Uint8Array.prototype,i.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&i[Symbol.species]===i&&Object.defineProperty(i,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1})),i.prototype.write=function(A,e,t){void 0===e||void 0===t&&"string"===typeof e?(t=this.length,e=0):isFinite(e)&&(e|=0,isFinite(t)?t|=0:t=void 0);var r=this.length-e;if((void 0===t||t>r)&&(t=r),A.length>0&&(t<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");return U(this,A,e,t)},i.prototype.slice=function(A,e){var t,r=this.length;if(A=~~A,e=void 0===e?r:~~e,A<0?(A+=r,A<0&&(A=0)):A>r&&(A=r),e<0?(e+=r,e<0&&(e=0)):e>r&&(e=r),e=A.length&&(e=A.length),e||(e=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),A.length-e=0;--n)A[n+e]=this[n+t];else if(o<1e3||!i.TYPED_ARRAY_SUPPORT)for(n=0;n>>=0,t=void 0===t?this.length:t>>>0,A||(A=0),"number"===typeof A)for(n=e;n=1&&e<10?A.ccBits[0]:e<27?A.ccBits[1]:A.ccBits[2]},e.getBestModeForData=function(A){return n.testNumeric(A)?e.NUMERIC:n.testAlphanumeric(A)?e.ALPHANUMERIC:n.testKanji(A)?e.KANJI:e.BYTE},e.toString=function(A){if(A&&A.id)return A.id;throw new Error("Invalid mode")},e.isValid=function(A){return A&&A.bit&&A.ccBits},e.from=function(A,t){if(e.isValid(A))return A;try{return o(A)}catch(r){return t}}},"1fb5":function(A,e,t){"use strict";e.byteLength=c,e.toByteArray=l,e.fromByteArray=h;for(var r=[],n=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,B=i.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var t=A.indexOf("=");-1===t&&(t=e);var r=t===e?0:4-t%4;return[t,r]}function c(A){var e=a(A),t=e[0],r=e[1];return 3*(t+r)/4-r}function u(A,e,t){return 3*(e+t)/4-t}function l(A){var e,t,r=a(A),i=r[0],s=r[1],B=new o(u(A,i,s)),c=0,l=s>0?i-4:i;for(t=0;t>16&255,B[c++]=e>>8&255,B[c++]=255&e;return 2===s&&(e=n[A.charCodeAt(t)]<<2|n[A.charCodeAt(t+1)]>>4,B[c++]=255&e),1===s&&(e=n[A.charCodeAt(t)]<<10|n[A.charCodeAt(t+1)]<<4|n[A.charCodeAt(t+2)]>>2,B[c++]=e>>8&255,B[c++]=255&e),B}function Q(A){return r[A>>18&63]+r[A>>12&63]+r[A>>6&63]+r[63&A]}function w(A,e,t){for(var r,n=[],o=e;oB?B:s+i));return 1===n?(e=A[t-1],o.push(r[e>>2]+r[e<<4&63]+"==")):2===n&&(e=(A[t-2]<<8)+A[t-1],o.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"=")),o.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},"33af":function(A,e,t){var r=t("94ab").getSymbolSize,n=7;e.getPositions=function(A){var e=r(A);return[[0,0],[e-n,0],[0,e-n]]}},"3ec4":function(A,e,t){t("d3b7"),t("e25e"),t("25f0");var r=t("1ded");function n(A){this.mode=r.NUMERIC,this.data=A.toString()}n.getBitsLength=function(A){return 10*Math.floor(A/3)+(A%3?A%3*3+1:0)},n.prototype.getLength=function(){return this.data.length},n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)},n.prototype.write=function(A){var e,t,r;for(e=0;e+3<=this.data.length;e+=3)t=this.data.substr(e,3),r=parseInt(t,10),A.put(r,10);var n=this.data.length-e;n>0&&(t=this.data.substr(e),r=parseInt(t,10),A.put(r,3*n+1))},A.exports=n},"4cc1":function(A,e,t){t("4d63"),t("ac1f"),t("25f0"),t("5319");var r="[0-9]+",n="[A-Z $%*+\\-./:]+",o="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";o=o.replace(/u/g,"\\u");var i="(?:(?![A-Z0-9 $%*+\\-./:]|"+o+")(?:.|[\r\n]))+";e.KANJI=new RegExp(o,"g"),e.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),e.BYTE=new RegExp(i,"g"),e.NUMERIC=new RegExp(r,"g"),e.ALPHANUMERIC=new RegExp(n,"g");var s=new RegExp("^"+o+"$"),B=new RegExp("^"+r+"$"),a=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");e.testKanji=function(A){return s.test(A)},e.testNumeric=function(A){return B.test(A)},e.testAlphanumeric=function(A){return a.test(A)}},"52ef":function(A,e,t){function r(A){if("number"===typeof A&&(A=A.toString()),"string"!==typeof A)throw new Error("Color should be defined as hex string");var e=A.slice().replace("#","").split("");if(e.length<3||5===e.length||e.length>8)throw new Error("Invalid hex color: "+A);3!==e.length&&4!==e.length||(e=Array.prototype.concat.apply([],e.map((function(A){return[A,A]})))),6===e.length&&e.push("F","F");var t=parseInt(e.join(""),16);return{r:t>>24&255,g:t>>16&255,b:t>>8&255,a:255&t,hex:"#"+e.slice(0,6).join("")}}t("99af"),t("d81d"),t("fb6a"),t("d3b7"),t("e25e"),t("ac1f"),t("25f0"),t("5319"),t("1276"),e.getOptions=function(A){A||(A={}),A.color||(A.color={});var e="undefined"===typeof A.margin||null===A.margin||A.margin<0?4:A.margin,t=A.width&&A.width>=21?A.width:void 0,n=A.scale||4;return{width:t,scale:t?4:n,margin:e,color:{dark:r(A.color.dark||"#000000ff"),light:r(A.color.light||"#ffffffff")},type:A.type,rendererOpts:A.rendererOpts||{}}},e.getScale=function(A,e){return e.width&&e.width>=A+2*e.margin?e.width/(A+2*e.margin):e.scale},e.getImageWidth=function(A,t){var r=e.getScale(A,t);return Math.floor((A+2*t.margin)*r)},e.qrToImageData=function(A,t,r){for(var n=t.modules.size,o=t.modules.data,i=e.getScale(n,r),s=Math.floor((n+2*r.margin)*i),B=r.margin*i,a=[r.color.light,r.color.dark],c=0;c=B&&u>=B&&c=0?A[A.length-1]:null;return t&&t.mode===e.mode?(A[A.length-1].data+=e.data,A):(A.push(e),A)}),[])}function f(A){for(var e=[],t=0;t=0&&A<=7},e.from=function(A){return e.isValid(A)?parseInt(A,10):void 0},e.getPenaltyN1=function(A){for(var e=A.size,t=0,n=0,o=0,i=null,s=null,B=0;B=5&&(t+=r.N1+(n-5)),i=c,n=1),c=A.get(a,B),c===s?o++:(o>=5&&(t+=r.N1+(o-5)),s=c,o=1)}n>=5&&(t+=r.N1+(n-5)),o>=5&&(t+=r.N1+(o-5))}return t},e.getPenaltyN2=function(A){for(var e=A.size,t=0,n=0;n=10&&(1488===n||93===n)&&t++,o=o<<1&2047|A.get(s,i),s>=10&&(1488===o||93===o)&&t++}return t*r.N3},e.getPenaltyN4=function(A){for(var e=0,t=A.data.length,n=0;n0&&a>0&&A[B-1]||(r+=i?o("M",a+t,.5+c+t):o("m",n,0),n=0,i=!1),a+1':"",u="',l='viewBox="0 0 '+a+" "+a+'"',Q=o.width?'width="'+o.width+'" height="'+o.width+'" ':"",w=''+c+u+"\n";return"function"===typeof t&&t(null,w),w}},"82da":function(A,e,t){var r=t("23e7"),n=t("ebb5"),o=n.NATIVE_ARRAY_BUFFER_VIEWS;r({target:"ArrayBuffer",stat:!0,forced:!o},{isView:n.isView})},"84c3":function(A,e,t){var r=t("74e8");r("Uint16",(function(A){return function(e,t,r){return A(this,e,t,r)}}))},8752:function(A,e,t){var r=t("04ad"),n=r.alloc(512),o=r.alloc(256);(function(){for(var A=1,e=0;e<255;e++)n[e]=A,o[A]=e,A<<=1,256&A&&(A^=285);for(e=255;e<512;e++)n[e]=n[e-255]})(),e.log=function(A){if(A<1)throw new Error("log("+A+")");return o[A]},e.exp=function(A){return n[A]},e.mul=function(A,e){return 0===A||0===e?0:n[o[A]+o[e]]}},"888b":function(A,e,t){A.exports=t.p+"static/img/img38.4f25d469.jpg"},9152:function(A,e){e.read=function(A,e,t,r,n){var o,i,s=8*n-r-1,B=(1<>1,c=-7,u=t?n-1:0,l=t?-1:1,Q=A[e+u];for(u+=l,o=Q&(1<<-c)-1,Q>>=-c,c+=s;c>0;o=256*o+A[e+u],u+=l,c-=8);for(i=o&(1<<-c)-1,o>>=-c,c+=r;c>0;i=256*i+A[e+u],u+=l,c-=8);if(0===o)o=1-a;else{if(o===B)return i?NaN:1/0*(Q?-1:1);i+=Math.pow(2,r),o-=a}return(Q?-1:1)*i*Math.pow(2,o-r)},e.write=function(A,e,t,r,n,o){var i,s,B,a=8*o-n-1,c=(1<>1,l=23===n?Math.pow(2,-24)-Math.pow(2,-77):0,Q=r?0:o-1,w=r?1:-1,h=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,i=c):(i=Math.floor(Math.log(e)/Math.LN2),e*(B=Math.pow(2,-i))<1&&(i--,B*=2),e+=i+u>=1?l/B:l*Math.pow(2,1-u),e*B>=2&&(i++,B/=2),i+u>=c?(s=0,i=c):i+u>=1?(s=(e*B-1)*Math.pow(2,n),i+=u):(s=e*Math.pow(2,u-1)*Math.pow(2,n),i=0));n>=8;A[t+Q]=255&s,Q+=w,s/=256,n-=8);for(i=i<0;A[t+Q]=255&i,Q+=w,i/=256,a-=8);A[t+Q-w]|=128*h}},"94ab":function(A,e){var t,r=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];e.getSymbolSize=function(A){if(!A)throw new Error('"version" cannot be null or undefined');if(A<1||A>40)throw new Error('"version" should be in range from 1 to 40');return 4*A+17},e.getSymbolTotalCodewords=function(A){return r[A]},e.getBCHDigit=function(A){var e=0;while(0!==A)e++,A>>>=1;return e},e.setToSJISFunction=function(A){if("function"!==typeof A)throw new Error('"toSJISFunc" is not a valid function.');t=A},e.isKanjiModeEnabled=function(){return"undefined"!==typeof t},e.toSJIS=function(A){return t(A)}},"94e4":function(A,e,t){var r=t("1ded"),n=t("94ab");function o(A){this.mode=r.KANJI,this.data=A}o.getBitsLength=function(A){return 13*A},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(A){var e;for(e=0;e=33088&&t<=40956)t-=33088;else{if(!(t>=57408&&t<=60351))throw new Error("Invalid SJIS character: "+this.data[e]+"\nMake sure your charset is UTF-8");t-=49472}t=192*(t>>>8&255)+(255&t),A.put(t,13)}},A.exports=o},a812:function(A,e){function t(){this.buffer=[],this.length=0}t.prototype={get:function(A){var e=Math.floor(A/8);return 1===(this.buffer[e]>>>7-A%8&1)},put:function(A,e){for(var t=0;t>>e-t-1&1))},getLengthInBits:function(){return this.length},putBit:function(A){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),A&&(this.buffer[e]|=128>>>this.length%8),this.length++}},A.exports=t},af69:function(A,e,t){var r=t("04ad"),n=t("1ded");function o(A){this.mode=n.BYTE,this.data=r.from(A)}o.getBitsLength=function(A){return 8*A},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(A){for(var e=0,t=this.data.length;e * @license MIT */ var r=t("1fb5"),n=t("9152"),o=t("e3db");function i(){try{var A=new Uint8Array(1);return A.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===A.foo()&&"function"===typeof A.subarray&&0===A.subarray(1,1).byteLength}catch(e){return!1}}function s(){return a.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function B(A,e){if(s()=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|A}function E(A){return+A!=A&&(A=0),a.alloc(+A)}function C(A,e){if(a.isBuffer(A))return A.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(A)||A instanceof ArrayBuffer))return A.byteLength;"string"!==typeof A&&(A=""+A);var t=A.length;if(0===t)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":case void 0:return q(A).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*t;case"hex":return t>>>1;case"base64":return $(A).length;default:if(r)return q(A).length;e=(""+e).toLowerCase(),r=!0}}function d(A,e,t){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===t||t>this.length)&&(t=this.length),t<=0)return"";if(t>>>=0,e>>>=0,t<=e)return"";A||(A="utf8");while(1)switch(A){case"hex":return M(this,e,t);case"utf8":case"utf-8":return R(this,e,t);case"ascii":return S(this,e,t);case"latin1":case"binary":return O(this,e,t);case"base64":return y(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return D(this,e,t);default:if(r)throw new TypeError("Unknown encoding: "+A);A=(A+"").toLowerCase(),r=!0}}function F(A,e,t){var r=A[e];A[e]=A[t],A[t]=r}function p(A,e,t,r,n){if(0===A.length)return-1;if("string"===typeof t?(r=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,isNaN(t)&&(t=n?0:A.length-1),t<0&&(t=A.length+t),t>=A.length){if(n)return-1;t=A.length-1}else if(t<0){if(!n)return-1;t=0}if("string"===typeof e&&(e=a.from(e,r)),a.isBuffer(e))return 0===e.length?-1:H(A,e,t,r,n);if("number"===typeof e)return e&=255,a.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?n?Uint8Array.prototype.indexOf.call(A,e,t):Uint8Array.prototype.lastIndexOf.call(A,e,t):H(A,[e],t,r,n);throw new TypeError("val must be string, number or Buffer")}function H(A,e,t,r,n){var o,i=1,s=A.length,B=e.length;if(void 0!==r&&(r=String(r).toLowerCase(),"ucs2"===r||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(A.length<2||e.length<2)return-1;i=2,s/=2,B/=2,t/=2}function a(A,e){return 1===i?A[e]:A.readUInt16BE(e*i)}if(n){var c=-1;for(o=t;os&&(t=s-B),o=t;o>=0;o--){for(var u=!0,l=0;ln&&(r=n)):r=n;var o=e.length;if(o%2!==0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var i=0;i239?4:a>223?3:a>191?2:1;if(n+u<=t)switch(u){case 1:a<128&&(c=a);break;case 2:o=A[n+1],128===(192&o)&&(B=(31&a)<<6|63&o,B>127&&(c=B));break;case 3:o=A[n+1],i=A[n+2],128===(192&o)&&128===(192&i)&&(B=(15&a)<<12|(63&o)<<6|63&i,B>2047&&(B<55296||B>57343)&&(c=B));break;case 4:o=A[n+1],i=A[n+2],s=A[n+3],128===(192&o)&&128===(192&i)&&128===(192&s)&&(B=(15&a)<<18|(63&o)<<12|(63&i)<<6|63&s,B>65535&&B<1114112&&(c=B))}null===c?(c=65533,u=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),n+=u}return L(r)}e.Buffer=a,e.SlowBuffer=E,e.INSPECT_MAX_BYTES=50,a.TYPED_ARRAY_SUPPORT=void 0!==A.TYPED_ARRAY_SUPPORT?A.TYPED_ARRAY_SUPPORT:i(),e.kMaxLength=s(),a.poolSize=8192,a._augment=function(A){return A.__proto__=a.prototype,A},a.from=function(A,e,t){return c(null,A,e,t)},a.TYPED_ARRAY_SUPPORT&&(a.prototype.__proto__=Uint8Array.prototype,a.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&a[Symbol.species]===a&&Object.defineProperty(a,Symbol.species,{value:null,configurable:!0})),a.alloc=function(A,e,t){return l(null,A,e,t)},a.allocUnsafe=function(A){return Q(null,A)},a.allocUnsafeSlow=function(A){return Q(null,A)},a.isBuffer=function(A){return!(null==A||!A._isBuffer)},a.compare=function(A,e){if(!a.isBuffer(A)||!a.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(A===e)return 0;for(var t=A.length,r=e.length,n=0,o=Math.min(t,r);n0&&(A=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(A+=" ... ")),""},a.prototype.compare=function(A,e,t,r,n){if(!a.isBuffer(A))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===t&&(t=A?A.length:0),void 0===r&&(r=0),void 0===n&&(n=this.length),e<0||t>A.length||r<0||n>this.length)throw new RangeError("out of range index");if(r>=n&&e>=t)return 0;if(r>=n)return-1;if(e>=t)return 1;if(e>>>=0,t>>>=0,r>>>=0,n>>>=0,this===A)return 0;for(var o=n-r,i=t-e,s=Math.min(o,i),B=this.slice(r,n),c=A.slice(e,t),u=0;un)&&(t=n),A.length>0&&(t<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return N(this,A,e,t);case"utf8":case"utf-8":return K(this,A,e,t);case"ascii":return m(this,A,e,t);case"latin1":case"binary":return I(this,A,e,t);case"base64":return v(this,A,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,A,e,t);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var b=4096;function L(A){var e=A.length;if(e<=b)return String.fromCharCode.apply(String,A);var t="",r=0;while(rr)&&(t=r);for(var n="",o=e;ot)throw new RangeError("Trying to access beyond buffer length")}function P(A,e,t,r,n,o){if(!a.isBuffer(A))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>n||eA.length)throw new RangeError("Index out of range")}function x(A,e,t,r){e<0&&(e=65535+e+1);for(var n=0,o=Math.min(A.length-t,2);n>>8*(r?n:1-n)}function V(A,e,t,r){e<0&&(e=4294967295+e+1);for(var n=0,o=Math.min(A.length-t,4);n>>8*(r?n:3-n)&255}function z(A,e,t,r,n,o){if(t+r>A.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function X(A,e,t,r,o){return o||z(A,e,t,4,34028234663852886e22,-34028234663852886e22),n.write(A,e,t,r,23,4),t+4}function J(A,e,t,r,o){return o||z(A,e,t,8,17976931348623157e292,-17976931348623157e292),n.write(A,e,t,r,52,8),t+8}a.prototype.slice=function(A,e){var t,r=this.length;if(A=~~A,e=void 0===e?r:~~e,A<0?(A+=r,A<0&&(A=0)):A>r&&(A=r),e<0?(e+=r,e<0&&(e=0)):e>r&&(e=r),e0&&(n*=256))r+=this[A+--e]*n;return r},a.prototype.readUInt8=function(A,e){return e||_(A,1,this.length),this[A]},a.prototype.readUInt16LE=function(A,e){return e||_(A,2,this.length),this[A]|this[A+1]<<8},a.prototype.readUInt16BE=function(A,e){return e||_(A,2,this.length),this[A]<<8|this[A+1]},a.prototype.readUInt32LE=function(A,e){return e||_(A,4,this.length),(this[A]|this[A+1]<<8|this[A+2]<<16)+16777216*this[A+3]},a.prototype.readUInt32BE=function(A,e){return e||_(A,4,this.length),16777216*this[A]+(this[A+1]<<16|this[A+2]<<8|this[A+3])},a.prototype.readIntLE=function(A,e,t){A|=0,e|=0,t||_(A,e,this.length);var r=this[A],n=1,o=0;while(++o=n&&(r-=Math.pow(2,8*e)),r},a.prototype.readIntBE=function(A,e,t){A|=0,e|=0,t||_(A,e,this.length);var r=e,n=1,o=this[A+--r];while(r>0&&(n*=256))o+=this[A+--r]*n;return n*=128,o>=n&&(o-=Math.pow(2,8*e)),o},a.prototype.readInt8=function(A,e){return e||_(A,1,this.length),128&this[A]?-1*(255-this[A]+1):this[A]},a.prototype.readInt16LE=function(A,e){e||_(A,2,this.length);var t=this[A]|this[A+1]<<8;return 32768&t?4294901760|t:t},a.prototype.readInt16BE=function(A,e){e||_(A,2,this.length);var t=this[A+1]|this[A]<<8;return 32768&t?4294901760|t:t},a.prototype.readInt32LE=function(A,e){return e||_(A,4,this.length),this[A]|this[A+1]<<8|this[A+2]<<16|this[A+3]<<24},a.prototype.readInt32BE=function(A,e){return e||_(A,4,this.length),this[A]<<24|this[A+1]<<16|this[A+2]<<8|this[A+3]},a.prototype.readFloatLE=function(A,e){return e||_(A,4,this.length),n.read(this,A,!0,23,4)},a.prototype.readFloatBE=function(A,e){return e||_(A,4,this.length),n.read(this,A,!1,23,4)},a.prototype.readDoubleLE=function(A,e){return e||_(A,8,this.length),n.read(this,A,!0,52,8)},a.prototype.readDoubleBE=function(A,e){return e||_(A,8,this.length),n.read(this,A,!1,52,8)},a.prototype.writeUIntLE=function(A,e,t,r){if(A=+A,e|=0,t|=0,!r){var n=Math.pow(2,8*t)-1;P(this,A,e,t,n,0)}var o=1,i=0;this[e]=255&A;while(++i=0&&(i*=256))this[e+o]=A/i&255;return e+t},a.prototype.writeUInt8=function(A,e,t){return A=+A,e|=0,t||P(this,A,e,1,255,0),a.TYPED_ARRAY_SUPPORT||(A=Math.floor(A)),this[e]=255&A,e+1},a.prototype.writeUInt16LE=function(A,e,t){return A=+A,e|=0,t||P(this,A,e,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[e]=255&A,this[e+1]=A>>>8):x(this,A,e,!0),e+2},a.prototype.writeUInt16BE=function(A,e,t){return A=+A,e|=0,t||P(this,A,e,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[e]=A>>>8,this[e+1]=255&A):x(this,A,e,!1),e+2},a.prototype.writeUInt32LE=function(A,e,t){return A=+A,e|=0,t||P(this,A,e,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[e+3]=A>>>24,this[e+2]=A>>>16,this[e+1]=A>>>8,this[e]=255&A):V(this,A,e,!0),e+4},a.prototype.writeUInt32BE=function(A,e,t){return A=+A,e|=0,t||P(this,A,e,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[e]=A>>>24,this[e+1]=A>>>16,this[e+2]=A>>>8,this[e+3]=255&A):V(this,A,e,!1),e+4},a.prototype.writeIntLE=function(A,e,t,r){if(A=+A,e|=0,!r){var n=Math.pow(2,8*t-1);P(this,A,e,t,n-1,-n)}var o=0,i=1,s=0;this[e]=255&A;while(++o>0)-s&255;return e+t},a.prototype.writeIntBE=function(A,e,t,r){if(A=+A,e|=0,!r){var n=Math.pow(2,8*t-1);P(this,A,e,t,n-1,-n)}var o=t-1,i=1,s=0;this[e+o]=255&A;while(--o>=0&&(i*=256))A<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(A/i>>0)-s&255;return e+t},a.prototype.writeInt8=function(A,e,t){return A=+A,e|=0,t||P(this,A,e,1,127,-128),a.TYPED_ARRAY_SUPPORT||(A=Math.floor(A)),A<0&&(A=255+A+1),this[e]=255&A,e+1},a.prototype.writeInt16LE=function(A,e,t){return A=+A,e|=0,t||P(this,A,e,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[e]=255&A,this[e+1]=A>>>8):x(this,A,e,!0),e+2},a.prototype.writeInt16BE=function(A,e,t){return A=+A,e|=0,t||P(this,A,e,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[e]=A>>>8,this[e+1]=255&A):x(this,A,e,!1),e+2},a.prototype.writeInt32LE=function(A,e,t){return A=+A,e|=0,t||P(this,A,e,4,2147483647,-2147483648),a.TYPED_ARRAY_SUPPORT?(this[e]=255&A,this[e+1]=A>>>8,this[e+2]=A>>>16,this[e+3]=A>>>24):V(this,A,e,!0),e+4},a.prototype.writeInt32BE=function(A,e,t){return A=+A,e|=0,t||P(this,A,e,4,2147483647,-2147483648),A<0&&(A=4294967295+A+1),a.TYPED_ARRAY_SUPPORT?(this[e]=A>>>24,this[e+1]=A>>>16,this[e+2]=A>>>8,this[e+3]=255&A):V(this,A,e,!1),e+4},a.prototype.writeFloatLE=function(A,e,t){return X(this,A,e,!0,t)},a.prototype.writeFloatBE=function(A,e,t){return X(this,A,e,!1,t)},a.prototype.writeDoubleLE=function(A,e,t){return J(this,A,e,!0,t)},a.prototype.writeDoubleBE=function(A,e,t){return J(this,A,e,!1,t)},a.prototype.copy=function(A,e,t,r){if(t||(t=0),r||0===r||(r=this.length),e>=A.length&&(e=A.length),e||(e=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),A.length-e=0;--n)A[n+e]=this[n+t];else if(o<1e3||!a.TYPED_ARRAY_SUPPORT)for(n=0;n>>=0,t=void 0===t?this.length:t>>>0,A||(A=0),"number"===typeof A)for(o=e;o55295&&t<57344){if(!n){if(t>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(i+1===r){(e-=3)>-1&&o.push(239,191,189);continue}n=t;continue}if(t<56320){(e-=3)>-1&&o.push(239,191,189),n=t;continue}t=65536+(n-55296<<10|t-56320)}else n&&(e-=3)>-1&&o.push(239,191,189);if(n=null,t<128){if((e-=1)<0)break;o.push(t)}else if(t<2048){if((e-=2)<0)break;o.push(t>>6|192,63&t|128)}else if(t<65536){if((e-=3)<0)break;o.push(t>>12|224,t>>6&63|128,63&t|128)}else{if(!(t<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(t>>18|240,t>>12&63|128,t>>6&63|128,63&t|128)}}return o}function j(A){for(var e=[],t=0;t>8,n=t%256,o.push(n),o.push(r)}return o}function $(A){return r.toByteArray(G(A))}function AA(A,e,t,r){for(var n=0;n=e.length||n>=A.length)break;e[n+t]=A[n]}return n}function eA(A){return A!==A}}).call(this,t("c8ba"))},b788:function(A,e,t){t("c975");var r=t("1ded"),n=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function o(A){this.mode=r.ALPHANUMERIC,this.data=A}o.getBitsLength=function(A){return 11*Math.floor(A/2)+A%2*6},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(A){var e;for(e=0;e+2<=this.data.length;e+=2){var t=45*n.indexOf(this.data[e]);t+=n.indexOf(this.data[e+1]),A.put(t,11)}this.data.length%2&&A.put(n.indexOf(this.data[e]),6)},A.exports=o},bbcd:function(A,e,t){t("fb6a"),t("d3b7"),t("25f0");var r=t("f5d6"),n=t("fc5b"),o=t("19fc"),i=t("8242");function s(A,e,t,o,i){var s=[].slice.call(arguments,1),B=s.length,a="function"===typeof s[B-1];if(!a&&!r())throw new Error("Callback required as last argument");if(!a){if(B<1)throw new Error("Too few arguments provided");return 1===B?(t=e,e=o=void 0):2!==B||e.getContext||(o=t,t=e,e=void 0),new Promise((function(r,i){try{var s=n.create(t,o);r(A(s,e,o))}catch(B){i(B)}}))}if(B<2)throw new Error("Too few arguments provided");2===B?(i=t,t=e,e=o=void 0):3===B&&(e.getContext&&"undefined"===typeof i?(i=o,o=void 0):(i=o,o=t,t=e,e=void 0));try{var c=n.create(t,o);i(null,A(c,e,o))}catch(u){i(u)}}e.create=n.create,e.toCanvas=s.bind(null,o.render),e.toDataURL=s.bind(null,o.renderToDataURL),e.toString=s.bind(null,(function(A,e,t){return i.render(A,t)}))},bc38:function(A,e,t){t("fb6a");var r=t("04ad"),n=t("8752");e.mul=function(A,e){for(var t=r.alloc(A.length+e.length-1),o=0;o=0){for(var o=t[0],i=0;i0){var B=r.alloc(this.degree);return i.copy(B,s),B}return i},A.exports=i},c23a:function(A,e,t){"use strict";t("26e9"),t("4e82");var r={single_source_shortest_paths:function(A,e,t){var n={},o={};o[e]=0;var i,s,B,a,c,u,l,Q,w,h=r.PriorityQueue.make();h.push(e,0);while(!h.empty())for(B in i=h.pop(),s=i.value,a=i.cost,c=A[s]||{},c)c.hasOwnProperty(B)&&(u=c[B],l=a+u,Q=o[B],w="undefined"===typeof o[B],(w||Q>l)&&(o[B]=l,h.push(B,l),n[B]=s));if("undefined"!==typeof t&&"undefined"===typeof o[t]){var f=["Could not find a path from ",e," to ",t,"."].join("");throw new Error(f)}return n},extract_shortest_path_from_predecessor_list:function(A,e){var t=[],r=e;while(r)t.push(r),A[r],r=A[r];return t.reverse(),t},find_path:function(A,e,t){var n=r.single_source_shortest_paths(A,e,t);return r.extract_shortest_path_from_predecessor_list(n,t)},PriorityQueue:{make:function(A){var e,t=r.PriorityQueue,n={};for(e in A=A||{},t)t.hasOwnProperty(e)&&(n[e]=t[e]);return n.queue=[],n.sorter=A.sorter||t.default_sorter,n},default_sorter:function(A,e){return A.cost-e.cost},push:function(A,e){var t={value:A,cost:e};this.queue.push(t),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};A.exports=r},ca59:function(A,e,t){t("4160"),t("e25e"),t("159b");var r=t("94ab"),n=t("7844"),o=t("e075"),i=t("1ded"),s=t("f909"),B=t("e3db"),a=7973,c=r.getBCHDigit(a);function u(A,t,r){for(var n=1;n<=40;n++)if(t<=e.getCapacity(n,r,A))return n}function l(A,e){return i.getCharCountIndicator(A,e)+4}function Q(A,e){var t=0;return A.forEach((function(A){var r=l(A.mode,e);t+=r+A.getBitsLength()})),t}function w(A,t){for(var r=1;r<=40;r++){var n=Q(A,r);if(n<=e.getCapacity(r,t,i.MIXED))return r}}e.from=function(A,e){return s.isValid(A)?parseInt(A,10):e},e.getCapacity=function(A,e,t){if(!s.isValid(A))throw new Error("Invalid QR Code version");"undefined"===typeof t&&(t=i.BYTE);var o=r.getSymbolTotalCodewords(A),B=n.getTotalCodewordsCount(A,e),a=8*(o-B);if(t===i.MIXED)return a;var c=a-l(t,A);switch(t){case i.NUMERIC:return Math.floor(c/10*3);case i.ALPHANUMERIC:return Math.floor(c/11*2);case i.KANJI:return Math.floor(c/13);case i.BYTE:default:return Math.floor(c/8)}},e.getBestVersionForData=function(A,e){var t,r=o.from(e,o.M);if(B(A)){if(A.length>1)return w(A,r);if(0===A.length)return 1;t=A[0]}else t=A;return u(t.mode,t.getLength(),r)},e.getEncodedBits=function(A){if(!s.isValid(A)||A<7)throw new Error("Invalid QR Code version");var e=A<<12;while(r.getBCHDigit(e)-c>=0)e^=a<=0)s^=n<=0&&A.bit<4},e.from=function(A,r){if(e.isValid(A))return A;try{return t(A)}catch(n){return r}}},e3db:function(A,e){var t={}.toString;A.exports=Array.isArray||function(A){return"[object Array]"==t.call(A)}},f4cf:function(A,e,t){t("a4d3"),t("e01a"),t("d28b"),t("99af"),t("cb29"),t("4de4"),t("4160"),t("a630"),t("c975"),t("d81d"),t("13d5"),t("26e9"),t("fb6a"),t("45fc"),t("a434"),t("c19f"),t("ace4"),t("b64b"),t("131a"),t("d3b7"),t("e25e"),t("ac1f"),t("5377"),t("25f0"),t("f6d6"),t("3ca3"),t("466d"),t("5319"),t("498a"),t("5cc6"),t("84c3"),t("fb2c"),t("9a8c"),t("a975"),t("735e"),t("c1ac"),t("d139"),t("3a7b"),t("d5d6"),t("82f8"),t("e91f"),t("60bd"),t("5f96"),t("3280"),t("3fcc"),t("ca91"),t("25a1"),t("cd26"),t("2954"),t("649e"),t("219c"),t("b39a"),t("72f7"),t("159b"),t("ddb0"), /*! * html2canvas 1.0.0-rc.5 * Copyright (c) 2019 Niklas von Hertzen * Released under MIT License */ function(e,t){A.exports=t()}(0,(function(){"use strict"; /*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT. See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. ***************************************************************************** */var A=function(e,t){return A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,e){A.__proto__=e}||function(A,e){for(var t in e)e.hasOwnProperty(t)&&(A[t]=e[t])},A(e,t)};function e(e,t){function r(){this.constructor=e}A(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var t=function(){return t=Object.assign||function(A){for(var e,t=1,r=arguments.length;t0&&n[n.length-1])&&(6===o[0]||2===o[0])){i=0;continue}if(3===o[0]&&(!n||o[1]>n[0]&&o[1]=55296&&n<=56319&&t>10),i%1024+56320)),(n+1===t||r.length>16384)&&(o+=String.fromCharCode.apply(String,r),r.length=0)}return o},c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u="undefined"===typeof Uint8Array?[]:new Uint8Array(256),l=0;l>4,c[B++]=(15&r)<<4|n>>2,c[B++]=(3&n)<<6|63&o;return a},h=function(A){for(var e=A.length,t=[],r=0;r>g,F=1<>g,N=d+H,K=N,m=32,I=K+m,v=65536>>U,T=1<=0){if(A<55296||A>56319&&A<=65535)return e=this.index[A>>g],e=(e<>g)],e=(e<>U),e=this.index[e],e+=A>>g&y,e=this.index[e],e=(e<M?(n.push(!0),i-=M):n.push(!1),-1!==["normal","auto","loose"].indexOf(e)&&-1!==[8208,8211,12316,12448].indexOf(A))return r.push(o),t.push(Z);if(i===x||i===G){if(0===o)return r.push(o),t.push(lA);var s=t[o-1];return-1===LA.indexOf(s)?(r.push(r[o-1]),t.push(s)):(r.push(o),t.push(lA))}return r.push(o),i===QA?t.push("strict"===e?rA:EA):i===HA||i===uA?t.push(lA):i===NA?A>=131072&&A<=196605||A>=196608&&A<=262141?t.push(EA):t.push(lA):void t.push(i)})),[r,t,n]},DA=function(A,e,t,r){var n=r[t];if(Array.isArray(A)?-1!==A.indexOf(n):A===n){var o=t;while(o<=r.length){o++;var i=r[o];if(i===e)return!0;if(i!==k)break}}if(n===k){o=t;while(o>0){o--;var s=r[o];if(Array.isArray(A)?-1!==A.indexOf(s):A===s){var B=t;while(B<=r.length){B++;i=r[B];if(i===e)return!0;if(i!==k)break}}if(s!==k)break}}return!1},_A=function(A,e){var t=A;while(t>=0){var r=e[t];if(r!==k)return r;t--}return 0},PA=function(A,e,t,r,n){if(0===t[r])return mA;var o=r-1;if(Array.isArray(n)&&!0===n[o])return mA;var i=o-1,s=o+1,B=e[o],a=i>=0?e[i]:0,c=e[s];if(B===_&&c===P)return mA;if(-1!==yA.indexOf(B))return KA;if(-1!==yA.indexOf(c))return mA;if(-1!==RA.indexOf(c))return mA;if(_A(o,e)===X)return IA;if(vA.get(A[o])===G&&(c===EA||c===wA||c===hA))return mA;if(B===z||c===z)return mA;if(B===J)return mA;if(-1===[k,W,j].indexOf(B)&&c===J)return mA;if(-1!==[$,AA,eA,iA,cA].indexOf(c))return mA;if(_A(o,e)===nA)return mA;if(DA(oA,nA,o,e))return mA;if(DA([$,AA],rA,o,e))return mA;if(DA(Y,Y,o,e))return mA;if(B===k)return IA;if(B===oA||c===oA)return mA;if(c===Z||B===Z)return IA;if(-1!==[W,j,rA].indexOf(c)||B===q)return mA;if(a===UA&&-1!==OA.indexOf(B))return mA;if(B===cA&&c===UA)return mA;if(c===tA&&-1!==TA.concat(tA,eA,sA,EA,wA,hA).indexOf(B))return mA;if(-1!==TA.indexOf(c)&&B===sA||-1!==TA.indexOf(B)&&c===sA)return mA;if(B===aA&&-1!==[EA,wA,hA].indexOf(c)||-1!==[EA,wA,hA].indexOf(B)&&c===BA)return mA;if(-1!==TA.indexOf(B)&&-1!==bA.indexOf(c)||-1!==bA.indexOf(B)&&-1!==TA.indexOf(c))return mA;if(-1!==[aA,BA].indexOf(B)&&(c===sA||-1!==[nA,j].indexOf(c)&&e[s+1]===sA)||-1!==[nA,j].indexOf(B)&&c===sA||B===sA&&-1!==[sA,cA,iA].indexOf(c))return mA;if(-1!==[sA,cA,iA,$,AA].indexOf(c)){var u=o;while(u>=0){var l=e[u];if(l===sA)return mA;if(-1===[cA,iA].indexOf(l))break;u--}}if(-1!==[aA,BA].indexOf(c)){u=-1!==[$,AA].indexOf(B)?i:o;while(u>=0){l=e[u];if(l===sA)return mA;if(-1===[cA,iA].indexOf(l))break;u--}}if(CA===B&&-1!==[CA,dA,fA,gA].indexOf(c)||-1!==[dA,fA].indexOf(B)&&-1!==[dA,FA].indexOf(c)||-1!==[FA,gA].indexOf(B)&&c===FA)return mA;if(-1!==SA.indexOf(B)&&-1!==[tA,BA].indexOf(c)||-1!==SA.indexOf(c)&&B===aA)return mA;if(-1!==TA.indexOf(B)&&-1!==TA.indexOf(c))return mA;if(B===iA&&-1!==TA.indexOf(c))return mA;if(-1!==TA.concat(sA).indexOf(B)&&c===nA||-1!==TA.concat(sA).indexOf(c)&&B===AA)return mA;if(B===pA&&c===pA){var Q=t[o],w=1;while(Q>0){if(Q--,e[Q]!==pA)break;w++}if(w%2!==0)return mA}return B===wA&&c===hA?mA:IA},xA=function(A,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var t=MA(A,e.lineBreak),r=t[0],n=t[1],o=t[2];"break-all"!==e.wordBreak&&"break-word"!==e.wordBreak||(n=n.map((function(A){return-1!==[sA,lA,HA].indexOf(A)?EA:A})));var i="keep-all"===e.wordBreak?o.map((function(e,t){return e&&A[t]>=19968&&A[t]<=40959})):void 0;return[r,n,i]},VA=function(){function A(A,e,t,r){this.codePoints=A,this.required=e===KA,this.start=t,this.end=r}return A.prototype.slice=function(){return a.apply(void 0,this.codePoints.slice(this.start,this.end))},A}(),zA=function(A,e){var t=B(A),r=xA(t,e),n=r[0],o=r[1],i=r[2],s=t.length,a=0,c=0;return{next:function(){if(c>=s)return{done:!0,value:null};var A=mA;while(c=Oe&&A<=57},Ye=function(A){return A>=55296&&A<=57343},We=function(A){return Ge(A)||A>=Ve&&A<=Xe||A>=Me&&A<=_e},qe=function(A){return A>=Me&&A<=xe},je=function(A){return A>=Ve&&A<=ke},Ze=function(A){return qe(A)||je(A)},$e=function(A){return A>=de},At=function(A){return A===YA||A===jA||A===ZA},et=function(A){return Ze(A)||$e(A)||A===se},tt=function(A){return et(A)||Ge(A)||A===Be},rt=function(A){return A>=ve&&A<=Te||A===ye||A>=Re&&A<=be||A===Le},nt=function(A,e){return A===qA&&e!==YA},ot=function(A,e,t){return A===Be?et(e)||nt(e,t):!!et(A)||!(A!==qA||!nt(A,e))},it=function(A,e,t){return A===He||A===Be?!!Ge(e)||e===Ie&&Ge(t):Ge(A===Ie?e:A)},st=function(A){var e=0,t=1;A[e]!==He&&A[e]!==Be||(A[e]===Be&&(t=-1),e++);var r=[];while(Ge(A[e]))r.push(A[e++]);var n=r.length?parseInt(a.apply(void 0,r),10):0;A[e]===Ie&&e++;var o=[];while(Ge(A[e]))o.push(A[e++]);var i=o.length,s=i?parseInt(a.apply(void 0,o),10):0;A[e]!==ze&&A[e]!==De||e++;var B=1;A[e]!==He&&A[e]!==Be||(A[e]===Be&&(B=-1),e++);var c=[];while(Ge(A[e]))c.push(A[e++]);var u=c.length?parseInt(a.apply(void 0,c),10):0;return t*(n+s*Math.pow(10,-i))*Math.pow(10,B*u)},Bt={type:Q.LEFT_PARENTHESIS_TOKEN},at={type:Q.RIGHT_PARENTHESIS_TOKEN},ct={type:Q.COMMA_TOKEN},ut={type:Q.SUFFIX_MATCH_TOKEN},lt={type:Q.PREFIX_MATCH_TOKEN},Qt={type:Q.COLUMN_TOKEN},wt={type:Q.DASH_MATCH_TOKEN},ht={type:Q.INCLUDE_MATCH_TOKEN},ft={type:Q.LEFT_CURLY_BRACKET_TOKEN},gt={type:Q.RIGHT_CURLY_BRACKET_TOKEN},Ut={type:Q.SUBSTRING_MATCH_TOKEN},Et={type:Q.BAD_URL_TOKEN},Ct={type:Q.BAD_STRING_TOKEN},dt={type:Q.CDO_TOKEN},Ft={type:Q.CDC_TOKEN},pt={type:Q.COLON_TOKEN},Ht={type:Q.SEMICOLON_TOKEN},Nt={type:Q.LEFT_SQUARE_BRACKET_TOKEN},Kt={type:Q.RIGHT_SQUARE_BRACKET_TOKEN},mt={type:Q.WHITESPACE_TOKEN},It={type:Q.EOF_TOKEN},vt=function(){function A(){this._value=[]}return A.prototype.write=function(A){this._value=this._value.concat(B(A))},A.prototype.read=function(){var A=[],e=this.consumeToken();while(e!==It)A.push(e),e=this.consumeToken();return A},A.prototype.consumeToken=function(){var A=this.consumeCodePoint();switch(A){case $A:return this.consumeStringToken($A);case ee:var e=this.peekCodePoint(0),t=this.peekCodePoint(1),r=this.peekCodePoint(2);if(tt(e)||nt(t,r)){var n=ot(e,t,r)?JA:XA,o=this.consumeName();return{type:Q.HASH_TOKEN,value:o,flags:n}}break;case te:if(this.peekCodePoint(0)===Ae)return this.consumeCodePoint(),ut;break;case ne:return this.consumeStringToken(ne);case oe:return Bt;case ie:return at;case pe:if(this.peekCodePoint(0)===Ae)return this.consumeCodePoint(),Ut;break;case He:if(it(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case Ne:return ct;case Be:var i=A,s=this.peekCodePoint(0),B=this.peekCodePoint(1);if(it(i,s,B))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(ot(i,s,B))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(s===Be&&B===ue)return this.consumeCodePoint(),this.consumeCodePoint(),Ft;break;case Ie:if(it(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case WA:if(this.peekCodePoint(0)===pe){this.consumeCodePoint();while(1){var c=this.consumeCodePoint();if(c===pe&&(c=this.consumeCodePoint(),c===WA))return this.consumeToken();if(c===Se)return this.consumeToken()}}break;case Ke:return pt;case me:return Ht;case ce:if(this.peekCodePoint(0)===ae&&this.peekCodePoint(1)===Be&&this.peekCodePoint(2)===Be)return this.consumeCodePoint(),this.consumeCodePoint(),dt;break;case le:var u=this.peekCodePoint(0),l=this.peekCodePoint(1),w=this.peekCodePoint(2);if(ot(u,l,w)){o=this.consumeName();return{type:Q.AT_KEYWORD_TOKEN,value:o}}break;case Qe:return Nt;case qA:if(nt(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case we:return Kt;case he:if(this.peekCodePoint(0)===Ae)return this.consumeCodePoint(),lt;break;case fe:return ft;case Ue:return gt;case Pe:case Je:var h=this.peekCodePoint(0),f=this.peekCodePoint(1);return h!==He||!We(f)&&f!==ge||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case Ee:if(this.peekCodePoint(0)===Ae)return this.consumeCodePoint(),wt;if(this.peekCodePoint(0)===Ee)return this.consumeCodePoint(),Qt;break;case Ce:if(this.peekCodePoint(0)===Ae)return this.consumeCodePoint(),ht;break;case Se:return It}return At(A)?(this.consumeWhiteSpace(),mt):Ge(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):et(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:Q.DELIM_TOKEN,value:a(A)}},A.prototype.consumeCodePoint=function(){var A=this._value.shift();return"undefined"===typeof A?-1:A},A.prototype.reconsumeCodePoint=function(A){this._value.unshift(A)},A.prototype.peekCodePoint=function(A){return A>=this._value.length?-1:this._value[A]},A.prototype.consumeUnicodeRangeToken=function(){var A=[],e=this.consumeCodePoint();while(We(e)&&A.length<6)A.push(e),e=this.consumeCodePoint();var t=!1;while(e===ge&&A.length<6)A.push(e),e=this.consumeCodePoint(),t=!0;if(t){var r=parseInt(a.apply(void 0,A.map((function(A){return A===ge?Oe:A}))),16),n=parseInt(a.apply(void 0,A.map((function(A){return A===ge?Xe:A}))),16);return{type:Q.UNICODE_RANGE_TOKEN,start:r,end:n}}var o=parseInt(a.apply(void 0,A),16);if(this.peekCodePoint(0)===Be&&We(this.peekCodePoint(1))){this.consumeCodePoint(),e=this.consumeCodePoint();var i=[];while(We(e)&&i.length<6)i.push(e),e=this.consumeCodePoint();n=parseInt(a.apply(void 0,i),16);return{type:Q.UNICODE_RANGE_TOKEN,start:o,end:n}}return{type:Q.UNICODE_RANGE_TOKEN,start:o,end:o}},A.prototype.consumeIdentLikeToken=function(){var A=this.consumeName();return"url"===A.toLowerCase()&&this.peekCodePoint(0)===oe?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===oe?(this.consumeCodePoint(),{type:Q.FUNCTION_TOKEN,value:A}):{type:Q.IDENT_TOKEN,value:A}},A.prototype.consumeUrlToken=function(){var A=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Se)return{type:Q.URL_TOKEN,value:""};var e=this.peekCodePoint(0);if(e===ne||e===$A){var t=this.consumeStringToken(this.consumeCodePoint());return t.type===Q.STRING_TOKEN&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Se||this.peekCodePoint(0)===ie)?(this.consumeCodePoint(),{type:Q.URL_TOKEN,value:t.value}):(this.consumeBadUrlRemnants(),Et)}while(1){var r=this.consumeCodePoint();if(r===Se||r===ie)return{type:Q.URL_TOKEN,value:a.apply(void 0,A)};if(At(r))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Se||this.peekCodePoint(0)===ie?(this.consumeCodePoint(),{type:Q.URL_TOKEN,value:a.apply(void 0,A)}):(this.consumeBadUrlRemnants(),Et);if(r===$A||r===ne||r===oe||rt(r))return this.consumeBadUrlRemnants(),Et;if(r===qA){if(!nt(r,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),Et;A.push(this.consumeEscapedCodePoint())}else A.push(r)}},A.prototype.consumeWhiteSpace=function(){while(At(this.peekCodePoint(0)))this.consumeCodePoint()},A.prototype.consumeBadUrlRemnants=function(){while(1){var A=this.consumeCodePoint();if(A===ie||A===Se)return;nt(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},A.prototype.consumeStringSlice=function(A){var e=6e4,t="";while(A>0){var r=Math.min(e,A);t+=a.apply(void 0,this._value.splice(0,r)),A-=r}return this._value.shift(),t},A.prototype.consumeStringToken=function(A){var e="",t=0;do{var r=this._value[t];if(r===Se||void 0===r||r===A)return e+=this.consumeStringSlice(t),{type:Q.STRING_TOKEN,value:e};if(r===YA)return this._value.splice(0,t),Ct;if(r===qA){var n=this._value[t+1];n!==Se&&void 0!==n&&(n===YA?(e+=this.consumeStringSlice(t),t=-1,this._value.shift()):nt(r,n)&&(e+=this.consumeStringSlice(t),e+=a(this.consumeEscapedCodePoint()),t=-1))}t++}while(1)},A.prototype.consumeNumber=function(){var A=[],e=kA,t=this.peekCodePoint(0);t!==He&&t!==Be||A.push(this.consumeCodePoint());while(Ge(this.peekCodePoint(0)))A.push(this.consumeCodePoint());t=this.peekCodePoint(0);var r=this.peekCodePoint(1);if(t===Ie&&Ge(r)){A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=GA;while(Ge(this.peekCodePoint(0)))A.push(this.consumeCodePoint())}t=this.peekCodePoint(0),r=this.peekCodePoint(1);var n=this.peekCodePoint(2);if((t===ze||t===De)&&((r===He||r===Be)&&Ge(n)||Ge(r))){A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=GA;while(Ge(this.peekCodePoint(0)))A.push(this.consumeCodePoint())}return[st(A),e]},A.prototype.consumeNumericToken=function(){var A=this.consumeNumber(),e=A[0],t=A[1],r=this.peekCodePoint(0),n=this.peekCodePoint(1),o=this.peekCodePoint(2);if(ot(r,n,o)){var i=this.consumeName();return{type:Q.DIMENSION_TOKEN,number:e,flags:t,unit:i}}return r===re?(this.consumeCodePoint(),{type:Q.PERCENTAGE_TOKEN,number:e,flags:t}):{type:Q.NUMBER_TOKEN,number:e,flags:t}},A.prototype.consumeEscapedCodePoint=function(){var A=this.consumeCodePoint();if(We(A)){var e=a(A);while(We(this.peekCodePoint(0))&&e.length<6)e+=a(this.consumeCodePoint());At(this.peekCodePoint(0))&&this.consumeCodePoint();var t=parseInt(e,16);return 0===t||Ye(t)||t>1114111?Fe:t}return A===Se?Fe:A},A.prototype.consumeName=function(){var A="";while(1){var e=this.consumeCodePoint();if(tt(e))A+=a(e);else{if(!nt(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),A;A+=a(this.consumeEscapedCodePoint())}}},A}(),Tt=function(){function A(A){this._tokens=A}return A.create=function(e){var t=new vt;return t.write(e),new A(t.read())},A.parseValue=function(e){return A.create(e).parseComponentValue()},A.parseValues=function(e){return A.create(e).parseComponentValues()},A.prototype.parseComponentValue=function(){var A=this.consumeToken();while(A.type===Q.WHITESPACE_TOKEN)A=this.consumeToken();if(A.type===Q.EOF_TOKEN)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(A);var e=this.consumeComponentValue();do{A=this.consumeToken()}while(A.type===Q.WHITESPACE_TOKEN);if(A.type===Q.EOF_TOKEN)return e;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},A.prototype.parseComponentValues=function(){var A=[];while(1){var e=this.consumeComponentValue();if(e.type===Q.EOF_TOKEN)return A;A.push(e),A.push()}},A.prototype.consumeComponentValue=function(){var A=this.consumeToken();switch(A.type){case Q.LEFT_CURLY_BRACKET_TOKEN:case Q.LEFT_SQUARE_BRACKET_TOKEN:case Q.LEFT_PARENTHESIS_TOKEN:return this.consumeSimpleBlock(A.type);case Q.FUNCTION_TOKEN:return this.consumeFunction(A)}return A},A.prototype.consumeSimpleBlock=function(A){var e={type:A,values:[]},t=this.consumeToken();while(1){if(t.type===Q.EOF_TOKEN||_t(t,A))return e;this.reconsumeToken(t),e.values.push(this.consumeComponentValue()),t=this.consumeToken()}},A.prototype.consumeFunction=function(A){var e={name:A.value,values:[],type:Q.FUNCTION};while(1){var t=this.consumeToken();if(t.type===Q.EOF_TOKEN||t.type===Q.RIGHT_PARENTHESIS_TOKEN)return e;this.reconsumeToken(t),e.values.push(this.consumeComponentValue())}},A.prototype.consumeToken=function(){var A=this._tokens.shift();return"undefined"===typeof A?It:A},A.prototype.reconsumeToken=function(A){this._tokens.unshift(A)},A}(),yt=function(A){return A.type===Q.DIMENSION_TOKEN},Rt=function(A){return A.type===Q.NUMBER_TOKEN},bt=function(A){return A.type===Q.IDENT_TOKEN},Lt=function(A){return A.type===Q.STRING_TOKEN},St=function(A,e){return bt(A)&&A.value===e},Ot=function(A){return A.type!==Q.WHITESPACE_TOKEN},Mt=function(A){return A.type!==Q.WHITESPACE_TOKEN&&A.type!==Q.COMMA_TOKEN},Dt=function(A){var e=[],t=[];return A.forEach((function(A){if(A.type===Q.COMMA_TOKEN){if(0===t.length)throw new Error("Error parsing function args, zero tokens for arg");return e.push(t),void(t=[])}A.type!==Q.WHITESPACE_TOKEN&&t.push(A)})),t.length&&e.push(t),e},_t=function(A,e){return e===Q.LEFT_CURLY_BRACKET_TOKEN&&A.type===Q.RIGHT_CURLY_BRACKET_TOKEN||(e===Q.LEFT_SQUARE_BRACKET_TOKEN&&A.type===Q.RIGHT_SQUARE_BRACKET_TOKEN||e===Q.LEFT_PARENTHESIS_TOKEN&&A.type===Q.RIGHT_PARENTHESIS_TOKEN)},Pt=function(A){return A.type===Q.NUMBER_TOKEN||A.type===Q.DIMENSION_TOKEN},xt=function(A){return A.type===Q.PERCENTAGE_TOKEN||Pt(A)},Vt=function(A){return A.length>1?[A[0],A[1]]:[A[0]]},zt={type:Q.NUMBER_TOKEN,number:0,flags:kA},Xt={type:Q.PERCENTAGE_TOKEN,number:50,flags:kA},Jt={type:Q.PERCENTAGE_TOKEN,number:100,flags:kA},kt=function(A,e,t){var r=A[0],n=A[1];return[Gt(r,e),Gt("undefined"!==typeof n?n:r,t)]},Gt=function(A,e){if(A.type===Q.PERCENTAGE_TOKEN)return A.number/100*e;if(yt(A))switch(A.unit){case"rem":case"em":return 16*A.number;case"px":default:return A.number}return A.number},Yt="deg",Wt="grad",qt="rad",jt="turn",Zt={name:"angle",parse:function(A){if(A.type===Q.DIMENSION_TOKEN)switch(A.unit){case Yt:return Math.PI*A.number/180;case Wt:return Math.PI/200*A.number;case qt:return A.number;case jt:return 2*Math.PI*A.number}throw new Error("Unsupported angle type")}},$t=function(A){return A.type===Q.DIMENSION_TOKEN&&(A.unit===Yt||A.unit===Wt||A.unit===qt||A.unit===jt)},Ar=function(A){var e=A.filter(bt).map((function(A){return A.value})).join(" ");switch(e){case"to bottom right":case"to right bottom":case"left top":case"top left":return[zt,zt];case"to top":case"bottom":return er(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[zt,Jt];case"to right":case"left":return er(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Jt,Jt];case"to bottom":case"top":return er(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Jt,zt];case"to left":case"right":return er(270)}return 0},er=function(A){return Math.PI*A/180},tr={name:"color",parse:function(A){if(A.type===Q.FUNCTION){var e=lr[A.name];if("undefined"===typeof e)throw new Error('Attempting to parse an unsupported color function "'+A.name+'"');return e(A.values)}if(A.type===Q.HASH_TOKEN){if(3===A.value.length){var t=A.value.substring(0,1),r=A.value.substring(1,2),n=A.value.substring(2,3);return or(parseInt(t+t,16),parseInt(r+r,16),parseInt(n+n,16),1)}if(4===A.value.length){t=A.value.substring(0,1),r=A.value.substring(1,2),n=A.value.substring(2,3);var o=A.value.substring(3,4);return or(parseInt(t+t,16),parseInt(r+r,16),parseInt(n+n,16),parseInt(o+o,16)/255)}if(6===A.value.length){t=A.value.substring(0,2),r=A.value.substring(2,4),n=A.value.substring(4,6);return or(parseInt(t,16),parseInt(r,16),parseInt(n,16),1)}if(8===A.value.length){t=A.value.substring(0,2),r=A.value.substring(2,4),n=A.value.substring(4,6),o=A.value.substring(6,8);return or(parseInt(t,16),parseInt(r,16),parseInt(n,16),parseInt(o,16)/255)}}if(A.type===Q.IDENT_TOKEN){var i=Qr[A.value.toUpperCase()];if("undefined"!==typeof i)return i}return Qr.TRANSPARENT}},rr=function(A){return 0===(255&A)},nr=function(A){var e=255&A,t=255&A>>8,r=255&A>>16,n=255&A>>24;return e<255?"rgba("+n+","+r+","+t+","+e/255+")":"rgb("+n+","+r+","+t+")"},or=function(A,e,t,r){return(A<<24|e<<16|t<<8|Math.round(255*r)<<0)>>>0},ir=function(A,e){if(A.type===Q.NUMBER_TOKEN)return A.number;if(A.type===Q.PERCENTAGE_TOKEN){var t=3===e?1:255;return 3===e?A.number/100*t:Math.round(A.number/100*t)}return 0},sr=function(A){var e=A.filter(Mt);if(3===e.length){var t=e.map(ir),r=t[0],n=t[1],o=t[2];return or(r,n,o,1)}if(4===e.length){var i=e.map(ir),s=(r=i[0],n=i[1],o=i[2],i[3]);return or(r,n,o,s)}return 0};function Br(A,e,t){return t<0&&(t+=1),t>=1&&(t-=1),t<1/6?(e-A)*t*6+A:t<.5?e:t<2/3?6*(e-A)*(2/3-t)+A:A}var ar,cr,ur=function(A){var e=A.filter(Mt),t=e[0],r=e[1],n=e[2],o=e[3],i=(t.type===Q.NUMBER_TOKEN?er(t.number):Zt.parse(t))/(2*Math.PI),s=xt(r)?r.number/100:0,B=xt(n)?n.number/100:0,a="undefined"!==typeof o&&xt(o)?Gt(o,1):1;if(0===s)return or(255*B,255*B,255*B,1);var c=B<=.5?B*(s+1):B+s-B*s,u=2*B-c,l=Br(u,c,i+1/3),w=Br(u,c,i),h=Br(u,c,i-1/3);return or(255*l,255*w,255*h,a)},lr={hsl:ur,hsla:ur,rgb:sr,rgba:sr},Qr={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199};(function(A){A[A["VALUE"]=0]="VALUE",A[A["LIST"]=1]="LIST",A[A["IDENT_VALUE"]=2]="IDENT_VALUE",A[A["TYPE_VALUE"]=3]="TYPE_VALUE",A[A["TOKEN_VALUE"]=4]="TOKEN_VALUE"})(ar||(ar={})),function(A){A[A["BORDER_BOX"]=0]="BORDER_BOX",A[A["PADDING_BOX"]=1]="PADDING_BOX",A[A["CONTENT_BOX"]=2]="CONTENT_BOX"}(cr||(cr={}));var wr,hr={name:"background-clip",initialValue:"border-box",prefix:!1,type:ar.LIST,parse:function(A){return A.map((function(A){if(bt(A))switch(A.value){case"padding-box":return cr.PADDING_BOX;case"content-box":return cr.CONTENT_BOX}return cr.BORDER_BOX}))}},fr={name:"background-color",initialValue:"transparent",prefix:!1,type:ar.TYPE_VALUE,format:"color"},gr=function(A){var e=tr.parse(A[0]),t=A[1];return t&&xt(t)?{color:e,stop:t}:{color:e,stop:null}},Ur=function(A,e){var t=A[0],r=A[A.length-1];null===t.stop&&(t.stop=zt),null===r.stop&&(r.stop=Jt);for(var n=[],o=0,i=0;io?n.push(B):n.push(o),o=B}else n.push(null)}var a=null;for(i=0;iA.optimumDistance)?{optimumCorner:e,optimumDistance:s}:A}),{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner},pr=function(A,e,t,r,n){var o=0,i=0;switch(A.size){case nn.CLOSEST_SIDE:A.shape===rn.CIRCLE?o=i=Math.min(Math.abs(e),Math.abs(e-r),Math.abs(t),Math.abs(t-n)):A.shape===rn.ELLIPSE&&(o=Math.min(Math.abs(e),Math.abs(e-r)),i=Math.min(Math.abs(t),Math.abs(t-n)));break;case nn.CLOSEST_CORNER:if(A.shape===rn.CIRCLE)o=i=Math.min(dr(e,t),dr(e,t-n),dr(e-r,t),dr(e-r,t-n));else if(A.shape===rn.ELLIPSE){var s=Math.min(Math.abs(t),Math.abs(t-n))/Math.min(Math.abs(e),Math.abs(e-r)),B=Fr(r,n,e,t,!0),a=B[0],c=B[1];o=dr(a-e,(c-t)/s),i=s*o}break;case nn.FARTHEST_SIDE:A.shape===rn.CIRCLE?o=i=Math.max(Math.abs(e),Math.abs(e-r),Math.abs(t),Math.abs(t-n)):A.shape===rn.ELLIPSE&&(o=Math.max(Math.abs(e),Math.abs(e-r)),i=Math.max(Math.abs(t),Math.abs(t-n)));break;case nn.FARTHEST_CORNER:if(A.shape===rn.CIRCLE)o=i=Math.max(dr(e,t),dr(e,t-n),dr(e-r,t),dr(e-r,t-n));else if(A.shape===rn.ELLIPSE){s=Math.max(Math.abs(t),Math.abs(t-n))/Math.max(Math.abs(e),Math.abs(e-r));var u=Fr(r,n,e,t,!1);a=u[0],c=u[1];o=dr(a-e,(c-t)/s),i=s*o}break}return Array.isArray(A.size)&&(o=Gt(A.size[0],r),i=2===A.size.length?Gt(A.size[1],n):o),[o,i]},Hr=function(A){var e=er(180),t=[];return Dt(A).forEach((function(A,r){if(0===r){var n=A[0];if(n.type===Q.IDENT_TOKEN&&"to"===n.value)return void(e=Ar(A));if($t(n))return void(e=Zt.parse(n))}var o=gr(A);t.push(o)})),{angle:e,stops:t,type:wr.LINEAR_GRADIENT}},Nr=function(A){var e=er(180),t=[];return Dt(A).forEach((function(A,r){if(0===r){var n=A[0];if(n.type===Q.IDENT_TOKEN&&-1!==["top","left","right","bottom"].indexOf(n.value))return void(e=Ar(A));if($t(n))return void(e=(Zt.parse(n)+er(270))%er(360))}var o=gr(A);t.push(o)})),{angle:e,stops:t,type:wr.LINEAR_GRADIENT}},Kr=function(A){var e=123;if(A.createRange){var t=A.createRange();if(t.getBoundingClientRect){var r=A.createElement("boundtest");r.style.height=e+"px",r.style.display="block",A.body.appendChild(r),t.selectNode(r);var n=t.getBoundingClientRect(),o=Math.round(n.height);if(A.body.removeChild(r),o===e)return!0}}return!1},mr=function(){return"undefined"!==typeof(new Image).crossOrigin},Ir=function(){return"string"===typeof(new XMLHttpRequest).responseType},vr=function(A){var e=new Image,t=A.createElement("canvas"),r=t.getContext("2d");if(!r)return!1;e.src="data:image/svg+xml,";try{r.drawImage(e,0,0),t.toDataURL()}catch(De){return!1}return!0},Tr=function(A){return 0===A[0]&&255===A[1]&&0===A[2]&&255===A[3]},yr=function(A){var e=A.createElement("canvas"),t=100;e.width=t,e.height=t;var r=e.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,t,t);var n=new Image,o=e.toDataURL();n.src=o;var i=Rr(t,t,0,0,n);return r.fillStyle="red",r.fillRect(0,0,t,t),br(i).then((function(e){r.drawImage(e,0,0);var n=r.getImageData(0,0,t,t).data;r.fillStyle="red",r.fillRect(0,0,t,t);var i=A.createElement("div");return i.style.backgroundImage="url("+o+")",i.style.height=t+"px",Tr(n)?br(Rr(t,t,0,0,i)):Promise.reject(!1)})).then((function(A){return r.drawImage(A,0,0),Tr(r.getImageData(0,0,t,t).data)})).catch((function(){return!1}))},Rr=function(A,e,t,r,n){var o="http://www.w3.org/2000/svg",i=document.createElementNS(o,"svg"),s=document.createElementNS(o,"foreignObject");return i.setAttributeNS(null,"width",A.toString()),i.setAttributeNS(null,"height",e.toString()),s.setAttributeNS(null,"width","100%"),s.setAttributeNS(null,"height","100%"),s.setAttributeNS(null,"x",t.toString()),s.setAttributeNS(null,"y",r.toString()),s.setAttributeNS(null,"externalResourcesRequired","true"),i.appendChild(s),s.appendChild(n),i},br=function(A){return new Promise((function(e,t){var r=new Image;r.onload=function(){return e(r)},r.onerror=t,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(A))}))},Lr={get SUPPORT_RANGE_BOUNDS(){var A=Kr(document);return Object.defineProperty(Lr,"SUPPORT_RANGE_BOUNDS",{value:A}),A},get SUPPORT_SVG_DRAWING(){var A=vr(document);return Object.defineProperty(Lr,"SUPPORT_SVG_DRAWING",{value:A}),A},get SUPPORT_FOREIGNOBJECT_DRAWING(){var A="function"===typeof Array.from&&"function"===typeof window.fetch?yr(document):Promise.resolve(!1);return Object.defineProperty(Lr,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:A}),A},get SUPPORT_CORS_IMAGES(){var A=mr();return Object.defineProperty(Lr,"SUPPORT_CORS_IMAGES",{value:A}),A},get SUPPORT_RESPONSE_TYPE(){var A=Ir();return Object.defineProperty(Lr,"SUPPORT_RESPONSE_TYPE",{value:A}),A},get SUPPORT_CORS_XHR(){var A="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Lr,"SUPPORT_CORS_XHR",{value:A}),A}},Sr=function(){function A(A){var e=A.id,t=A.enabled;this.id=e,this.enabled=t,this.start=Date.now()}return A.prototype.debug=function(){for(var A=[],e=0;e0&&setTimeout((function(){return e("Timed out ("+i._options.imageTimeout+"ms) loading image")}),i._options.imageTimeout)}))];case 3:return[2,n.sent()]}}))}))},A.prototype.has=function(A){return"undefined"!==typeof this._cache[A]},A.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},A.prototype.proxy=function(A){var e=this,t=this._options.proxy;if(!t)throw new Error("No proxy defined");var r=A.substring(0,256);return new Promise((function(n,o){var i=Lr.SUPPORT_RESPONSE_TYPE?"blob":"text",s=new XMLHttpRequest;if(s.onload=function(){if(200===s.status)if("text"===i)n(s.response);else{var A=new FileReader;A.addEventListener("load",(function(){return n(A.result)}),!1),A.addEventListener("error",(function(A){return o(A)}),!1),A.readAsDataURL(s.response)}else o("Failed to proxy resource "+r+" with status code "+s.status)},s.onerror=o,s.open("GET",t+"?url="+encodeURIComponent(A)+"&responseType="+i),"text"!==i&&s instanceof XMLHttpRequest&&(s.responseType=i),e._options.imageTimeout){var B=e._options.imageTimeout;s.timeout=B,s.ontimeout=function(){return o("Timed out ("+B+"ms) proxying "+r)}}s.send()}))},A}(),Dr=/^data:image\/svg\+xml/i,_r=/^data:image\/.*;base64,/i,Pr=/^data:image\/.*/i,xr=function(A){return Lr.SUPPORT_SVG_DRAWING||!Jr(A)},Vr=function(A){return Pr.test(A)},zr=function(A){return _r.test(A)},Xr=function(A){return"blob"===A.substr(0,4)},Jr=function(A){return"svg"===A.substr(-3).toLowerCase()||Dr.test(A)},kr=function(A){var e=er(180),t=[],r=wr.LINEAR_GRADIENT,n=rn.CIRCLE,o=nn.FARTHEST_CORNER,i=[];return Dt(A).forEach((function(A,e){var n=A[0];if(0===e){if(bt(n)&&"linear"===n.value)return void(r=wr.LINEAR_GRADIENT);if(bt(n)&&"radial"===n.value)return void(r=wr.RADIAL_GRADIENT)}if(n.type===Q.FUNCTION)if("from"===n.name){var o=tr.parse(n.values[0]);t.push({stop:zt,color:o})}else if("to"===n.name){o=tr.parse(n.values[0]);t.push({stop:Jt,color:o})}else if("color-stop"===n.name){var i=n.values.filter(Mt);if(2===i.length){o=tr.parse(i[1]);var s=i[0];Rt(s)&&t.push({stop:{type:Q.PERCENTAGE_TOKEN,number:100*s.number,flags:s.flags},color:o})}}})),r===wr.LINEAR_GRADIENT?{angle:(e+er(180))%er(360),stops:t,type:r}:{size:o,shape:n,stops:t,position:i,type:r}},Gr="closest-side",Yr="farthest-side",Wr="closest-corner",qr="farthest-corner",jr="circle",Zr="ellipse",$r="cover",An="contain",en=function(A){var e=rn.CIRCLE,t=nn.FARTHEST_CORNER,r=[],n=[];return Dt(A).forEach((function(A,o){var i=!0;if(0===o){var s=!1;i=A.reduce((function(A,r){if(s)if(bt(r))switch(r.value){case"center":return n.push(Xt),A;case"top":case"left":return n.push(zt),A;case"right":case"bottom":return n.push(Jt),A}else(xt(r)||Pt(r))&&n.push(r);else if(bt(r))switch(r.value){case jr:return e=rn.CIRCLE,!1;case Zr:return e=rn.ELLIPSE,!1;case"at":return s=!0,!1;case Gr:return t=nn.CLOSEST_SIDE,!1;case $r:case Yr:return t=nn.FARTHEST_SIDE,!1;case An:case Wr:return t=nn.CLOSEST_CORNER,!1;case qr:return t=nn.FARTHEST_CORNER,!1}else if(Pt(r)||xt(r))return Array.isArray(t)||(t=[]),t.push(r),!1;return A}),i)}if(i){var B=gr(A);r.push(B)}})),{size:t,shape:e,stops:r,position:n,type:wr.RADIAL_GRADIENT}},tn=function(A){var e=rn.CIRCLE,t=nn.FARTHEST_CORNER,r=[],n=[];return Dt(A).forEach((function(A,o){var i=!0;if(0===o?i=A.reduce((function(A,e){if(bt(e))switch(e.value){case"center":return n.push(Xt),!1;case"top":case"left":return n.push(zt),!1;case"right":case"bottom":return n.push(Jt),!1}else if(xt(e)||Pt(e))return n.push(e),!1;return A}),i):1===o&&(i=A.reduce((function(A,r){if(bt(r))switch(r.value){case jr:return e=rn.CIRCLE,!1;case Zr:return e=rn.ELLIPSE,!1;case An:case Gr:return t=nn.CLOSEST_SIDE,!1;case Yr:return t=nn.FARTHEST_SIDE,!1;case Wr:return t=nn.CLOSEST_CORNER,!1;case $r:case qr:return t=nn.FARTHEST_CORNER,!1}else if(Pt(r)||xt(r))return Array.isArray(t)||(t=[]),t.push(r),!1;return A}),i)),i){var s=gr(A);r.push(s)}})),{size:t,shape:e,stops:r,position:n,type:wr.RADIAL_GRADIENT}};(function(A){A[A["URL"]=0]="URL",A[A["LINEAR_GRADIENT"]=1]="LINEAR_GRADIENT",A[A["RADIAL_GRADIENT"]=2]="RADIAL_GRADIENT"})(wr||(wr={}));var rn,nn,on=function(A){return A.type===wr.LINEAR_GRADIENT},sn=function(A){return A.type===wr.RADIAL_GRADIENT};(function(A){A[A["CIRCLE"]=0]="CIRCLE",A[A["ELLIPSE"]=1]="ELLIPSE"})(rn||(rn={})),function(A){A[A["CLOSEST_SIDE"]=0]="CLOSEST_SIDE",A[A["FARTHEST_SIDE"]=1]="FARTHEST_SIDE",A[A["CLOSEST_CORNER"]=2]="CLOSEST_CORNER",A[A["FARTHEST_CORNER"]=3]="FARTHEST_CORNER"}(nn||(nn={}));var Bn={name:"image",parse:function(A){if(A.type===Q.URL_TOKEN){var e={url:A.value,type:wr.URL};return Or.getInstance().addImage(A.value),e}if(A.type===Q.FUNCTION){var t=un[A.name];if("undefined"===typeof t)throw new Error('Attempting to parse an unsupported image function "'+A.name+'"');return t(A.values)}throw new Error("Unsupported image type")}};function an(A){return A.type!==Q.FUNCTION||un[A.name]}var cn,un={"linear-gradient":Hr,"-moz-linear-gradient":Nr,"-ms-linear-gradient":Nr,"-o-linear-gradient":Nr,"-webkit-linear-gradient":Nr,"radial-gradient":en,"-moz-radial-gradient":tn,"-ms-radial-gradient":tn,"-o-radial-gradient":tn,"-webkit-radial-gradient":tn,"-webkit-gradient":kr},ln={name:"background-image",initialValue:"none",type:ar.LIST,prefix:!1,parse:function(A){if(0===A.length)return[];var e=A[0];return e.type===Q.IDENT_TOKEN&&"none"===e.value?[]:A.filter((function(A){return Mt(A)&&an(A)})).map(Bn.parse)}},Qn={name:"background-origin",initialValue:"border-box",prefix:!1,type:ar.LIST,parse:function(A){return A.map((function(A){if(bt(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},wn={name:"background-position",initialValue:"0% 0%",type:ar.LIST,prefix:!1,parse:function(A){return Dt(A).map((function(A){return A.filter(xt)})).map(Vt)}};(function(A){A[A["REPEAT"]=0]="REPEAT",A[A["NO_REPEAT"]=1]="NO_REPEAT",A[A["REPEAT_X"]=2]="REPEAT_X",A[A["REPEAT_Y"]=3]="REPEAT_Y"})(cn||(cn={}));var hn,fn={name:"background-repeat",initialValue:"repeat",prefix:!1,type:ar.LIST,parse:function(A){return Dt(A).map((function(A){return A.filter(bt).map((function(A){return A.value})).join(" ")})).map(gn)}},gn=function(A){switch(A){case"no-repeat":return cn.NO_REPEAT;case"repeat-x":case"repeat no-repeat":return cn.REPEAT_X;case"repeat-y":case"no-repeat repeat":return cn.REPEAT_Y;case"repeat":default:return cn.REPEAT}};(function(A){A["AUTO"]="auto",A["CONTAIN"]="contain",A["COVER"]="cover"})(hn||(hn={}));var Un,En={name:"background-size",initialValue:"0",prefix:!1,type:ar.LIST,parse:function(A){return Dt(A).map((function(A){return A.filter(Cn)}))}},Cn=function(A){return bt(A)||xt(A)},dn=function(A){return{name:"border-"+A+"-color",initialValue:"transparent",prefix:!1,type:ar.TYPE_VALUE,format:"color"}},Fn=dn("top"),pn=dn("right"),Hn=dn("bottom"),Nn=dn("left"),Kn=function(A){return{name:"border-radius-"+A,initialValue:"0 0",prefix:!1,type:ar.LIST,parse:function(A){return Vt(A.filter(xt))}}},mn=Kn("top-left"),In=Kn("top-right"),vn=Kn("bottom-right"),Tn=Kn("bottom-left");(function(A){A[A["NONE"]=0]="NONE",A[A["SOLID"]=1]="SOLID"})(Un||(Un={}));var yn,Rn=function(A){return{name:"border-"+A+"-style",initialValue:"solid",prefix:!1,type:ar.IDENT_VALUE,parse:function(A){switch(A){case"none":return Un.NONE}return Un.SOLID}}},bn=Rn("top"),Ln=Rn("right"),Sn=Rn("bottom"),On=Rn("left"),Mn=function(A){return{name:"border-"+A+"-width",initialValue:"0",type:ar.VALUE,prefix:!1,parse:function(A){return yt(A)?A.number:0}}},Dn=Mn("top"),_n=Mn("right"),Pn=Mn("bottom"),xn=Mn("left"),Vn={name:"color",initialValue:"transparent",prefix:!1,type:ar.TYPE_VALUE,format:"color"},zn={name:"display",initialValue:"inline-block",prefix:!1,type:ar.LIST,parse:function(A){return A.filter(bt).reduce((function(A,e){return A|Xn(e.value)}),0)}},Xn=function(A){switch(A){case"block":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0};(function(A){A[A["NONE"]=0]="NONE",A[A["LEFT"]=1]="LEFT",A[A["RIGHT"]=2]="RIGHT",A[A["INLINE_START"]=3]="INLINE_START",A[A["INLINE_END"]=4]="INLINE_END"})(yn||(yn={}));var Jn,kn={name:"float",initialValue:"none",prefix:!1,type:ar.IDENT_VALUE,parse:function(A){switch(A){case"left":return yn.LEFT;case"right":return yn.RIGHT;case"inline-start":return yn.INLINE_START;case"inline-end":return yn.INLINE_END}return yn.NONE}},Gn={name:"letter-spacing",initialValue:"0",prefix:!1,type:ar.VALUE,parse:function(A){return A.type===Q.IDENT_TOKEN&&"normal"===A.value?0:A.type===Q.NUMBER_TOKEN||A.type===Q.DIMENSION_TOKEN?A.number:0}};(function(A){A["NORMAL"]="normal",A["STRICT"]="strict"})(Jn||(Jn={}));var Yn,Wn={name:"line-break",initialValue:"normal",prefix:!1,type:ar.IDENT_VALUE,parse:function(A){switch(A){case"strict":return Jn.STRICT;case"normal":default:return Jn.NORMAL}}},qn={name:"line-height",initialValue:"normal",prefix:!1,type:ar.TOKEN_VALUE},jn=function(A,e){return bt(A)&&"normal"===A.value?1.2*e:A.type===Q.NUMBER_TOKEN?e*A.number:xt(A)?Gt(A,e):e},Zn={name:"list-style-image",initialValue:"none",type:ar.VALUE,prefix:!1,parse:function(A){return A.type===Q.IDENT_TOKEN&&"none"===A.value?null:Bn.parse(A)}};(function(A){A[A["INSIDE"]=0]="INSIDE",A[A["OUTSIDE"]=1]="OUTSIDE"})(Yn||(Yn={}));var $n,Ao={name:"list-style-position",initialValue:"outside",prefix:!1,type:ar.IDENT_VALUE,parse:function(A){switch(A){case"inside":return Yn.INSIDE;case"outside":default:return Yn.OUTSIDE}}};(function(A){A[A["NONE"]=-1]="NONE",A[A["DISC"]=0]="DISC",A[A["CIRCLE"]=1]="CIRCLE",A[A["SQUARE"]=2]="SQUARE",A[A["DECIMAL"]=3]="DECIMAL",A[A["CJK_DECIMAL"]=4]="CJK_DECIMAL",A[A["DECIMAL_LEADING_ZERO"]=5]="DECIMAL_LEADING_ZERO",A[A["LOWER_ROMAN"]=6]="LOWER_ROMAN",A[A["UPPER_ROMAN"]=7]="UPPER_ROMAN",A[A["LOWER_GREEK"]=8]="LOWER_GREEK",A[A["LOWER_ALPHA"]=9]="LOWER_ALPHA",A[A["UPPER_ALPHA"]=10]="UPPER_ALPHA",A[A["ARABIC_INDIC"]=11]="ARABIC_INDIC",A[A["ARMENIAN"]=12]="ARMENIAN",A[A["BENGALI"]=13]="BENGALI",A[A["CAMBODIAN"]=14]="CAMBODIAN",A[A["CJK_EARTHLY_BRANCH"]=15]="CJK_EARTHLY_BRANCH",A[A["CJK_HEAVENLY_STEM"]=16]="CJK_HEAVENLY_STEM",A[A["CJK_IDEOGRAPHIC"]=17]="CJK_IDEOGRAPHIC",A[A["DEVANAGARI"]=18]="DEVANAGARI",A[A["ETHIOPIC_NUMERIC"]=19]="ETHIOPIC_NUMERIC",A[A["GEORGIAN"]=20]="GEORGIAN",A[A["GUJARATI"]=21]="GUJARATI",A[A["GURMUKHI"]=22]="GURMUKHI",A[A["HEBREW"]=22]="HEBREW",A[A["HIRAGANA"]=23]="HIRAGANA",A[A["HIRAGANA_IROHA"]=24]="HIRAGANA_IROHA",A[A["JAPANESE_FORMAL"]=25]="JAPANESE_FORMAL",A[A["JAPANESE_INFORMAL"]=26]="JAPANESE_INFORMAL",A[A["KANNADA"]=27]="KANNADA",A[A["KATAKANA"]=28]="KATAKANA",A[A["KATAKANA_IROHA"]=29]="KATAKANA_IROHA",A[A["KHMER"]=30]="KHMER",A[A["KOREAN_HANGUL_FORMAL"]=31]="KOREAN_HANGUL_FORMAL",A[A["KOREAN_HANJA_FORMAL"]=32]="KOREAN_HANJA_FORMAL",A[A["KOREAN_HANJA_INFORMAL"]=33]="KOREAN_HANJA_INFORMAL",A[A["LAO"]=34]="LAO",A[A["LOWER_ARMENIAN"]=35]="LOWER_ARMENIAN",A[A["MALAYALAM"]=36]="MALAYALAM",A[A["MONGOLIAN"]=37]="MONGOLIAN",A[A["MYANMAR"]=38]="MYANMAR",A[A["ORIYA"]=39]="ORIYA",A[A["PERSIAN"]=40]="PERSIAN",A[A["SIMP_CHINESE_FORMAL"]=41]="SIMP_CHINESE_FORMAL",A[A["SIMP_CHINESE_INFORMAL"]=42]="SIMP_CHINESE_INFORMAL",A[A["TAMIL"]=43]="TAMIL",A[A["TELUGU"]=44]="TELUGU",A[A["THAI"]=45]="THAI",A[A["TIBETAN"]=46]="TIBETAN",A[A["TRAD_CHINESE_FORMAL"]=47]="TRAD_CHINESE_FORMAL",A[A["TRAD_CHINESE_INFORMAL"]=48]="TRAD_CHINESE_INFORMAL",A[A["UPPER_ARMENIAN"]=49]="UPPER_ARMENIAN",A[A["DISCLOSURE_OPEN"]=50]="DISCLOSURE_OPEN",A[A["DISCLOSURE_CLOSED"]=51]="DISCLOSURE_CLOSED"})($n||($n={}));var eo,to={name:"list-style-type",initialValue:"none",prefix:!1,type:ar.IDENT_VALUE,parse:function(A){switch(A){case"disc":return $n.DISC;case"circle":return $n.CIRCLE;case"square":return $n.SQUARE;case"decimal":return $n.DECIMAL;case"cjk-decimal":return $n.CJK_DECIMAL;case"decimal-leading-zero":return $n.DECIMAL_LEADING_ZERO;case"lower-roman":return $n.LOWER_ROMAN;case"upper-roman":return $n.UPPER_ROMAN;case"lower-greek":return $n.LOWER_GREEK;case"lower-alpha":return $n.LOWER_ALPHA;case"upper-alpha":return $n.UPPER_ALPHA;case"arabic-indic":return $n.ARABIC_INDIC;case"armenian":return $n.ARMENIAN;case"bengali":return $n.BENGALI;case"cambodian":return $n.CAMBODIAN;case"cjk-earthly-branch":return $n.CJK_EARTHLY_BRANCH;case"cjk-heavenly-stem":return $n.CJK_HEAVENLY_STEM;case"cjk-ideographic":return $n.CJK_IDEOGRAPHIC;case"devanagari":return $n.DEVANAGARI;case"ethiopic-numeric":return $n.ETHIOPIC_NUMERIC;case"georgian":return $n.GEORGIAN;case"gujarati":return $n.GUJARATI;case"gurmukhi":return $n.GURMUKHI;case"hebrew":return $n.HEBREW;case"hiragana":return $n.HIRAGANA;case"hiragana-iroha":return $n.HIRAGANA_IROHA;case"japanese-formal":return $n.JAPANESE_FORMAL;case"japanese-informal":return $n.JAPANESE_INFORMAL;case"kannada":return $n.KANNADA;case"katakana":return $n.KATAKANA;case"katakana-iroha":return $n.KATAKANA_IROHA;case"khmer":return $n.KHMER;case"korean-hangul-formal":return $n.KOREAN_HANGUL_FORMAL;case"korean-hanja-formal":return $n.KOREAN_HANJA_FORMAL;case"korean-hanja-informal":return $n.KOREAN_HANJA_INFORMAL;case"lao":return $n.LAO;case"lower-armenian":return $n.LOWER_ARMENIAN;case"malayalam":return $n.MALAYALAM;case"mongolian":return $n.MONGOLIAN;case"myanmar":return $n.MYANMAR;case"oriya":return $n.ORIYA;case"persian":return $n.PERSIAN;case"simp-chinese-formal":return $n.SIMP_CHINESE_FORMAL;case"simp-chinese-informal":return $n.SIMP_CHINESE_INFORMAL;case"tamil":return $n.TAMIL;case"telugu":return $n.TELUGU;case"thai":return $n.THAI;case"tibetan":return $n.TIBETAN;case"trad-chinese-formal":return $n.TRAD_CHINESE_FORMAL;case"trad-chinese-informal":return $n.TRAD_CHINESE_INFORMAL;case"upper-armenian":return $n.UPPER_ARMENIAN;case"disclosure-open":return $n.DISCLOSURE_OPEN;case"disclosure-closed":return $n.DISCLOSURE_CLOSED;case"none":default:return $n.NONE}}},ro=function(A){return{name:"margin-"+A,initialValue:"0",prefix:!1,type:ar.TOKEN_VALUE}},no=ro("top"),oo=ro("right"),io=ro("bottom"),so=ro("left");(function(A){A[A["VISIBLE"]=0]="VISIBLE",A[A["HIDDEN"]=1]="HIDDEN",A[A["SCROLL"]=2]="SCROLL",A[A["AUTO"]=3]="AUTO"})(eo||(eo={}));var Bo,ao={name:"overflow",initialValue:"visible",prefix:!1,type:ar.LIST,parse:function(A){return A.filter(bt).map((function(A){switch(A.value){case"hidden":return eo.HIDDEN;case"scroll":return eo.SCROLL;case"auto":return eo.AUTO;case"visible":default:return eo.VISIBLE}}))}};(function(A){A["NORMAL"]="normal",A["BREAK_WORD"]="break-word"})(Bo||(Bo={}));var co,uo={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:ar.IDENT_VALUE,parse:function(A){switch(A){case"break-word":return Bo.BREAK_WORD;case"normal":default:return Bo.NORMAL}}},lo=function(A){return{name:"padding-"+A,initialValue:"0",prefix:!1,type:ar.TYPE_VALUE,format:"length-percentage"}},Qo=lo("top"),wo=lo("right"),ho=lo("bottom"),fo=lo("left");(function(A){A[A["LEFT"]=0]="LEFT",A[A["CENTER"]=1]="CENTER",A[A["RIGHT"]=2]="RIGHT"})(co||(co={}));var go,Uo={name:"text-align",initialValue:"left",prefix:!1,type:ar.IDENT_VALUE,parse:function(A){switch(A){case"right":return co.RIGHT;case"center":case"justify":return co.CENTER;case"left":default:return co.LEFT}}};(function(A){A[A["STATIC"]=0]="STATIC",A[A["RELATIVE"]=1]="RELATIVE",A[A["ABSOLUTE"]=2]="ABSOLUTE",A[A["FIXED"]=3]="FIXED",A[A["STICKY"]=4]="STICKY"})(go||(go={}));var Eo,Co={name:"position",initialValue:"static",prefix:!1,type:ar.IDENT_VALUE,parse:function(A){switch(A){case"relative":return go.RELATIVE;case"absolute":return go.ABSOLUTE;case"fixed":return go.FIXED;case"sticky":return go.STICKY}return go.STATIC}},Fo={name:"text-shadow",initialValue:"none",type:ar.LIST,prefix:!1,parse:function(A){return 1===A.length&&St(A[0],"none")?[]:Dt(A).map((function(A){for(var e={color:Qr.TRANSPARENT,offsetX:zt,offsetY:zt,blur:zt},t=0,r=0;r1?1:0],this.overflowWrap=ri(uo,A.overflowWrap),this.paddingTop=ri(Qo,A.paddingTop),this.paddingRight=ri(wo,A.paddingRight),this.paddingBottom=ri(ho,A.paddingBottom),this.paddingLeft=ri(fo,A.paddingLeft),this.position=ri(Co,A.position),this.textAlign=ri(Uo,A.textAlign),this.textDecorationColor=ri(Do,A.textDecorationColor||A.color),this.textDecorationLine=ri(_o,A.textDecorationLine),this.textShadow=ri(Fo,A.textShadow),this.textTransform=ri(Ho,A.textTransform),this.transform=ri(No,A.transform),this.transformOrigin=ri(yo,A.transformOrigin),this.visibility=ri(bo,A.visibility),this.wordBreak=ri(So,A.wordBreak),this.zIndex=ri(Oo,A.zIndex)}return A.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===po.VISIBLE},A.prototype.isTransparent=function(){return rr(this.backgroundColor)},A.prototype.isTransformed=function(){return null!==this.transform},A.prototype.isPositioned=function(){return this.position!==go.STATIC},A.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},A.prototype.isFloating=function(){return this.float!==yn.NONE},A.prototype.isInlineLevel=function(){return Go(this.display,4)||Go(this.display,33554432)||Go(this.display,268435456)||Go(this.display,536870912)||Go(this.display,67108864)||Go(this.display,134217728)},A}(),ei=function(){function A(A){this.content=ri(Yo,A.content),this.quotes=ri(jo,A.quotes)}return A}(),ti=function(){function A(A){this.counterIncrement=ri(Wo,A.counterIncrement),this.counterReset=ri(qo,A.counterReset)}return A}(),ri=function(A,e){var t=new vt,r=null!==e&&"undefined"!==typeof e?e.toString():A.initialValue;t.write(r);var n=new Tt(t.read());switch(A.type){case ar.IDENT_VALUE:var o=n.parseComponentValue();return A.parse(bt(o)?o.value:A.initialValue);case ar.VALUE:return A.parse(n.parseComponentValue());case ar.LIST:return A.parse(n.parseComponentValues());case ar.TOKEN_VALUE:return n.parseComponentValue();case ar.TYPE_VALUE:switch(A.format){case"angle":return Zt.parse(n.parseComponentValue());case"color":return tr.parse(n.parseComponentValue());case"image":return Bn.parse(n.parseComponentValue());case"length":var i=n.parseComponentValue();return Pt(i)?i:zt;case"length-percentage":var s=n.parseComponentValue();return xt(s)?s:zt}}throw new Error("Attempting to parse unsupported css format type "+A.format)},ni=function(){function A(A){this.styles=new Ai(window.getComputedStyle(A,null)),this.textNodes=[],this.elements=[],null!==this.styles.transform&&xi(A)&&(A.style.transform="none"),this.bounds=i(A),this.flags=0}return A}(),oi=function(){function A(A,e){this.text=A,this.bounds=e}return A}(),ii=function(A,e,t){var r=ai(A,e),n=[],o=0;return r.forEach((function(A){if(e.textDecorationLine.length||A.trim().length>0)if(Lr.SUPPORT_RANGE_BOUNDS)n.push(new oi(A,Bi(t,o,A.length)));else{var r=t.splitText(A.length);n.push(new oi(A,si(t))),t=r}else Lr.SUPPORT_RANGE_BOUNDS||(t=t.splitText(A.length));o+=A.length})),n},si=function(A){var e=A.ownerDocument;if(e){var t=e.createElement("html2canvaswrapper");t.appendChild(A.cloneNode(!0));var r=A.parentNode;if(r){r.replaceChild(t,A);var n=i(t);return t.firstChild&&r.replaceChild(t.firstChild,t),n}}return new o(0,0,0,0)},Bi=function(A,e,t){var r=A.ownerDocument;if(!r)throw new Error("Node has no owner document");var n=r.createRange();return n.setStart(A,e),n.setEnd(A,e+t),o.fromClientRect(n.getBoundingClientRect())},ai=function(A,e){return 0!==e.letterSpacing?B(A).map((function(A){return a(A)})):ci(A,e)},ci=function(A,e){var t,r=zA(A,{lineBreak:e.lineBreak,wordBreak:e.overflowWrap===Bo.BREAK_WORD?"break-word":e.wordBreak}),n=[];while(!(t=r.next()).done)t.value&&n.push(t.value.slice());return n},ui=function(){function A(A,e){this.text=li(A.data,e.textTransform),this.textBounds=ii(this.text,e,A)}return A}(),li=function(A,e){switch(e){case Eo.LOWERCASE:return A.toLowerCase();case Eo.CAPITALIZE:return A.replace(Qi,wi);case Eo.UPPERCASE:return A.toUpperCase();default:return A}},Qi=/(^|\s|:|-|\(|\))([a-z])/g,wi=function(A,e,t){return A.length>0?e+t.toUpperCase():A},hi=function(A){function t(e){var t=A.call(this,e)||this;return t.src=e.currentSrc||e.src,t.intrinsicWidth=e.naturalWidth,t.intrinsicHeight=e.naturalHeight,Or.getInstance().addImage(t.src),t}return e(t,A),t}(ni),fi=function(A){function t(e){var t=A.call(this,e)||this;return t.canvas=e,t.intrinsicWidth=e.width,t.intrinsicHeight=e.height,t}return e(t,A),t}(ni),gi=function(A){function t(e){var t=A.call(this,e)||this,r=new XMLSerializer;return t.svg="data:image/svg+xml,"+encodeURIComponent(r.serializeToString(e)),t.intrinsicWidth=e.width.baseVal.value,t.intrinsicHeight=e.height.baseVal.value,Or.getInstance().addImage(t.svg),t}return e(t,A),t}(ni),Ui=function(A){function t(e){var t=A.call(this,e)||this;return t.value=e.value,t}return e(t,A),t}(ni),Ei=function(A){function t(e){var t=A.call(this,e)||this;return t.start=e.start,t.reversed="boolean"===typeof e.reversed&&!0===e.reversed,t}return e(t,A),t}(ni),Ci=[{type:Q.DIMENSION_TOKEN,flags:0,unit:"px",number:3}],di=[{type:Q.PERCENTAGE_TOKEN,flags:0,number:50}],Fi=function(A){return A.width>A.height?new o(A.left+(A.width-A.height)/2,A.top,A.height,A.height):A.width0)t.textNodes.push(new ui(n,t.styles));else if(Pi(n)){var i=Si(n);i.styles.isVisible()&&(Mi(n,i,r)?i.flags|=4:Di(i.styles)&&(i.flags|=2),-1!==bi.indexOf(n.tagName)&&(i.flags|=8),t.elements.push(i),$i(n)||ki(n)||As(n)||A(n,i,r))}},Si=function(A){return Wi(A)?new hi(A):Yi(A)?new fi(A):ki(A)?new gi(A):Vi(A)?new Ui(A):zi(A)?new Ei(A):Xi(A)?new Ii(A):As(A)?new vi(A):$i(A)?new Ti(A):qi(A)?new Ri(A):new ni(A)},Oi=function(A){var e=Si(A);return e.flags|=4,Li(A,e,e),e},Mi=function(A,e,t){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||Gi(A)&&t.styles.isTransparent()},Di=function(A){return A.isPositioned()||A.isFloating()},_i=function(A){return A.nodeType===Node.TEXT_NODE},Pi=function(A){return A.nodeType===Node.ELEMENT_NODE},xi=function(A){return"undefined"!==typeof A.style},Vi=function(A){return"LI"===A.tagName},zi=function(A){return"OL"===A.tagName},Xi=function(A){return"INPUT"===A.tagName},Ji=function(A){return"HTML"===A.tagName},ki=function(A){return"svg"===A.tagName},Gi=function(A){return"BODY"===A.tagName},Yi=function(A){return"CANVAS"===A.tagName},Wi=function(A){return"IMG"===A.tagName},qi=function(A){return"IFRAME"===A.tagName},ji=function(A){return"STYLE"===A.tagName},Zi=function(A){return"SCRIPT"===A.tagName},$i=function(A){return"TEXTAREA"===A.tagName},As=function(A){return"SELECT"===A.tagName},es=function(){function A(){this.counters={}}return A.prototype.getCounterValue=function(A){var e=this.counters[A];return e&&e.length?e[e.length-1]:1},A.prototype.getCounterValues=function(A){var e=this.counters[A];return e||[]},A.prototype.pop=function(A){var e=this;A.forEach((function(A){return e.counters[A].pop()}))},A.prototype.parse=function(A){var e=this,t=A.counterIncrement,r=A.counterReset,n=!0;null!==t&&t.forEach((function(A){var t=e.counters[A.counter];t&&0!==A.increment&&(n=!1,t[Math.max(0,t.length-1)]+=A.increment)}));var o=[];return n&&r.forEach((function(A){var t=e.counters[A.counter];o.push(A.counter),t||(t=e.counters[A.counter]=[]),t.push(A.reset)})),o},A}(),ts={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},rs={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},ns={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},os={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},is=function(A,e,t,r,n,o){return At?Es(A,n,o.length>0):r.integers.reduce((function(e,t,n){while(A>=t)A-=t,e+=r.values[n];return e}),"")+o},ss=function(A,e,t,r){var n="";do{t||A--,n=r(A)+n,A/=e}while(A*e>=e);return n},Bs=function(A,e,t,r,n){var o=t-e+1;return(A<0?"-":"")+(ss(Math.abs(A),o,r,(function(A){return a(Math.floor(A%o)+e)}))+n)},as=function(A,e,t){void 0===t&&(t=". ");var r=e.length;return ss(Math.abs(A),r,!1,(function(A){return e[Math.floor(A%r)]}))+t},cs=1,us=2,ls=4,Qs=8,ws=function(A,e,t,r,n,o){if(A<-9999||A>9999)return Es(A,$n.CJK_DECIMAL,n.length>0);var i=Math.abs(A),s=n;if(0===i)return e[0]+s;for(var B=0;i>0&&B<=4;B++){var a=i%10;0===a&&Go(o,cs)&&""!==s?s=e[a]+s:a>1||1===a&&0===B||1===a&&1===B&&Go(o,us)||1===a&&1===B&&Go(o,ls)&&A>100||1===a&&B>1&&Go(o,Qs)?s=e[a]+(B>0?t[B-1]:"")+s:1===a&&B>0&&(s=t[B-1]+s),i=Math.floor(i/10)}return(A<0?r:"")+s},hs="十百千萬",fs="拾佰仟萬",gs="マイナス",Us="마이너스",Es=function(A,e,t){var r=t?". ":"",n=t?"、":"",o=t?", ":"",i=t?" ":"";switch(e){case $n.DISC:return"•"+i;case $n.CIRCLE:return"◦"+i;case $n.SQUARE:return"◾"+i;case $n.DECIMAL_LEADING_ZERO:var s=Bs(A,48,57,!0,r);return s.length<4?"0"+s:s;case $n.CJK_DECIMAL:return as(A,"〇一二三四五六七八九",n);case $n.LOWER_ROMAN:return is(A,1,3999,ts,$n.DECIMAL,r).toLowerCase();case $n.UPPER_ROMAN:return is(A,1,3999,ts,$n.DECIMAL,r);case $n.LOWER_GREEK:return Bs(A,945,969,!1,r);case $n.LOWER_ALPHA:return Bs(A,97,122,!1,r);case $n.UPPER_ALPHA:return Bs(A,65,90,!1,r);case $n.ARABIC_INDIC:return Bs(A,1632,1641,!0,r);case $n.ARMENIAN:case $n.UPPER_ARMENIAN:return is(A,1,9999,rs,$n.DECIMAL,r);case $n.LOWER_ARMENIAN:return is(A,1,9999,rs,$n.DECIMAL,r).toLowerCase();case $n.BENGALI:return Bs(A,2534,2543,!0,r);case $n.CAMBODIAN:case $n.KHMER:return Bs(A,6112,6121,!0,r);case $n.CJK_EARTHLY_BRANCH:return as(A,"子丑寅卯辰巳午未申酉戌亥",n);case $n.CJK_HEAVENLY_STEM:return as(A,"甲乙丙丁戊己庚辛壬癸",n);case $n.CJK_IDEOGRAPHIC:case $n.TRAD_CHINESE_INFORMAL:return ws(A,"零一二三四五六七八九",hs,"負",n,us|ls|Qs);case $n.TRAD_CHINESE_FORMAL:return ws(A,"零壹貳參肆伍陸柒捌玖",fs,"負",n,cs|us|ls|Qs);case $n.SIMP_CHINESE_INFORMAL:return ws(A,"零一二三四五六七八九",hs,"负",n,us|ls|Qs);case $n.SIMP_CHINESE_FORMAL:return ws(A,"零壹贰叁肆伍陆柒捌玖",fs,"负",n,cs|us|ls|Qs);case $n.JAPANESE_INFORMAL:return ws(A,"〇一二三四五六七八九","十百千万",gs,n,0);case $n.JAPANESE_FORMAL:return ws(A,"零壱弐参四伍六七八九","拾百千万",gs,n,cs|us|ls);case $n.KOREAN_HANGUL_FORMAL:return ws(A,"영일이삼사오육칠팔구","십백천만",Us,o,cs|us|ls);case $n.KOREAN_HANJA_INFORMAL:return ws(A,"零一二三四五六七八九","十百千萬",Us,o,0);case $n.KOREAN_HANJA_FORMAL:return ws(A,"零壹貳參四五六七八九","拾百千",Us,o,cs|us|ls);case $n.DEVANAGARI:return Bs(A,2406,2415,!0,r);case $n.GEORGIAN:return is(A,1,19999,os,$n.DECIMAL,r);case $n.GUJARATI:return Bs(A,2790,2799,!0,r);case $n.GURMUKHI:return Bs(A,2662,2671,!0,r);case $n.HEBREW:return is(A,1,10999,ns,$n.DECIMAL,r);case $n.HIRAGANA:return as(A,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case $n.HIRAGANA_IROHA:return as(A,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case $n.KANNADA:return Bs(A,3302,3311,!0,r);case $n.KATAKANA:return as(A,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",n);case $n.KATAKANA_IROHA:return as(A,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",n);case $n.LAO:return Bs(A,3792,3801,!0,r);case $n.MONGOLIAN:return Bs(A,6160,6169,!0,r);case $n.MYANMAR:return Bs(A,4160,4169,!0,r);case $n.ORIYA:return Bs(A,2918,2927,!0,r);case $n.PERSIAN:return Bs(A,1776,1785,!0,r);case $n.TAMIL:return Bs(A,3046,3055,!0,r);case $n.TELUGU:return Bs(A,3174,3183,!0,r);case $n.THAI:return Bs(A,3664,3673,!0,r);case $n.TIBETAN:return Bs(A,3872,3881,!0,r);case $n.DECIMAL:default:return Bs(A,48,57,!0,r)}},Cs="data-html2canvas-ignore",ds=function(){function A(A,e){if(this.options=e,this.scrolledElements=[],this.referenceElement=A,this.counters=new es,this.quoteDepth=0,!A.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(A.ownerDocument.documentElement)}return A.prototype.toIFrame=function(A,e){var t=this,o=ps(A,e);if(!o.contentWindow)return Promise.reject("Unable to find iframe window");var i=A.defaultView.pageXOffset,s=A.defaultView.pageYOffset,B=o.contentWindow,a=B.document,c=Hs(o).then((function(){return r(t,void 0,void 0,(function(){var A;return n(this,(function(t){switch(t.label){case 0:return this.scrolledElements.forEach(Is),B&&(B.scrollTo(e.left,e.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||B.scrollY===e.top&&B.scrollX===e.left||(a.documentElement.style.top=-e.top+"px",a.documentElement.style.left=-e.left+"px",a.documentElement.style.position="absolute")),A=this.options.onclone,"undefined"===typeof this.clonedReferenceElement?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:a.fonts&&a.fonts.ready?[4,a.fonts.ready]:[3,2];case 1:t.sent(),t.label=2;case 2:return"function"===typeof A?[2,Promise.resolve().then((function(){return A(a)})).then((function(){return o}))]:[2,o]}}))}))}));return a.open(),a.write(Ks(document.doctype)+""),ms(this.referenceElement.ownerDocument,i,s),a.replaceChild(a.adoptNode(this.documentElement),a.documentElement),a.close(),c},A.prototype.createElementClone=function(A){return Yi(A)?this.createCanvasClone(A):ji(A)?this.createStyleClone(A):A.cloneNode(!1)},A.prototype.createStyleClone=function(A){try{var e=A.sheet;if(e&&e.cssRules){var t=[].slice.call(e.cssRules,0).reduce((function(A,e){return e&&"string"===typeof e.cssText?A+e.cssText:A}),""),r=A.cloneNode(!1);return r.textContent=t,r}}catch(De){if(Sr.getInstance(this.options.id).error("Unable to access cssRules property",De),"SecurityError"!==De.name)throw De}return A.cloneNode(!1)},A.prototype.createCanvasClone=function(A){if(this.options.inlineImages&&A.ownerDocument){var e=A.ownerDocument.createElement("img");try{return e.src=A.toDataURL(),e}catch(De){Sr.getInstance(this.options.id).info("Unable to clone canvas contents, canvas is tainted")}}var t=A.cloneNode(!1);try{t.width=A.width,t.height=A.height;var r=A.getContext("2d"),n=t.getContext("2d");return n&&(r?n.putImageData(r.getImageData(0,0,A.width,A.height),0,0):n.drawImage(A,0,0)),t}catch(De){}return t},A.prototype.cloneNode=function(A){if(_i(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);var e=A.ownerDocument.defaultView;if(xi(A)&&e){var t=this.createElementClone(A),r=e.getComputedStyle(A),n=e.getComputedStyle(A,":before"),o=e.getComputedStyle(A,":after");this.referenceElement===A&&(this.clonedReferenceElement=t),Gi(t)&&Ls(t);for(var i=this.counters.parse(new ti(r)),s=this.resolvePseudoContent(A,t,n,Jo.BEFORE),B=A.firstChild;B;B=B.nextSibling)Pi(B)&&(Zi(B)||B.hasAttribute(Cs)||"function"===typeof this.options.ignoreElements&&this.options.ignoreElements(B))||this.options.copyStyles&&Pi(B)&&ji(B)||t.appendChild(this.cloneNode(B));s&&t.insertBefore(s,t.firstChild);var a=this.resolvePseudoContent(A,t,o,Jo.AFTER);return a&&t.appendChild(a),this.counters.pop(i),r&&this.options.copyStyles&&!qi(A)&&Ns(r,t),0===A.scrollTop&&0===A.scrollLeft||this.scrolledElements.push([t,A.scrollLeft,A.scrollTop]),($i(A)||As(A))&&($i(t)||As(t))&&(t.value=A.value),t}return A.cloneNode(!1)},A.prototype.resolvePseudoContent=function(A,e,t,r){var n=this;if(t){var o=t.content,i=e.ownerDocument;if(i&&o&&"none"!==o&&"-moz-alt-content"!==o&&"none"!==t.display){this.counters.parse(new ti(t));var s=new ei(t),B=i.createElement("html2canvaspseudoelement");return Ns(t,B),s.content.forEach((function(e){if(e.type===Q.STRING_TOKEN)B.appendChild(i.createTextNode(e.value));else if(e.type===Q.URL_TOKEN){var t=i.createElement("img");t.src=e.value,t.style.opacity="1",B.appendChild(t)}else if(e.type===Q.FUNCTION){if("attr"===e.name){var r=e.values.filter(bt);r.length&&B.appendChild(i.createTextNode(A.getAttribute(r[0].value)||""))}else if("counter"===e.name){var o=e.values.filter(Mt),a=o[0],c=o[1];if(a&&bt(a)){var u=n.counters.getCounterValue(a.value),l=c&&bt(c)?to.parse(c.value):$n.DECIMAL;B.appendChild(i.createTextNode(Es(u,l,!1)))}}else if("counters"===e.name){var w=e.values.filter(Mt),h=(a=w[0],w[1]);c=w[2];if(a&&bt(a)){var f=n.counters.getCounterValues(a.value),g=c&&bt(c)?to.parse(c.value):$n.DECIMAL,U=h&&h.type===Q.STRING_TOKEN?h.value:"",E=f.map((function(A){return Es(A,g,!1)})).join(U);B.appendChild(i.createTextNode(E))}}}else if(e.type===Q.IDENT_TOKEN)switch(e.value){case"open-quote":B.appendChild(i.createTextNode(Zo(s.quotes,n.quoteDepth++,!0)));break;case"close-quote":B.appendChild(i.createTextNode(Zo(s.quotes,--n.quoteDepth,!1)));break;default:B.appendChild(i.createTextNode(e.value))}})),B.className=ys+" "+Rs,e.className+=r===Jo.BEFORE?" "+ys:" "+Rs,B}}},A.destroy=function(A){return!!A.parentNode&&(A.parentNode.removeChild(A),!0)},A}();(function(A){A[A["BEFORE"]=0]="BEFORE",A[A["AFTER"]=1]="AFTER"})(Jo||(Jo={}));var Fs,ps=function(A,e){var t=A.createElement("iframe");return t.className="html2canvas-container",t.style.visibility="hidden",t.style.position="fixed",t.style.left="-10000px",t.style.top="0px",t.style.border="0",t.width=e.width.toString(),t.height=e.height.toString(),t.scrolling="no",t.setAttribute(Cs,"true"),A.body.appendChild(t),t},Hs=function(A){return new Promise((function(e,t){var r=A.contentWindow;if(!r)return t("No window assigned for iframe");var n=r.document;r.onload=A.onload=n.onreadystatechange=function(){r.onload=A.onload=n.onreadystatechange=null;var t=setInterval((function(){n.body.childNodes.length>0&&"complete"===n.readyState&&(clearInterval(t),e(A))}),50)}}))},Ns=function(A,e){for(var t=A.length-1;t>=0;t--){var r=A.item(t);"content"!==r&&e.style.setProperty(r,A.getPropertyValue(r))}return e},Ks=function(A){var e="";return A&&(e+=""),e},ms=function(A,e,t){A&&A.defaultView&&(e!==A.defaultView.pageXOffset||t!==A.defaultView.pageYOffset)&&A.defaultView.scrollTo(e,t)},Is=function(A){var e=A[0],t=A[1],r=A[2];e.scrollLeft=t,e.scrollTop=r},vs=":before",Ts=":after",ys="___html2canvas___pseudoelement_before",Rs="___html2canvas___pseudoelement_after",bs='{\n content: "" !important;\n display: none !important;\n}',Ls=function(A){Ss(A,"."+ys+vs+bs+"\n ."+Rs+Ts+bs)},Ss=function(A,e){var t=A.ownerDocument;if(t){var r=t.createElement("style");r.textContent=e,A.appendChild(r)}};(function(A){A[A["VECTOR"]=0]="VECTOR",A[A["BEZIER_CURVE"]=1]="BEZIER_CURVE"})(Fs||(Fs={}));var Os,Ms=function(A,e){return A.length===e.length&&A.some((function(A,t){return A===e[t]}))},Ds=function(A,e,t,r,n){return A.map((function(A,o){switch(o){case 0:return A.add(e,t);case 1:return A.add(e+r,t);case 2:return A.add(e+r,t+n);case 3:return A.add(e,t+n)}return A}))},_s=function(){function A(A,e){this.type=Fs.VECTOR,this.x=A,this.y=e}return A.prototype.add=function(e,t){return new A(this.x+e,this.y+t)},A}(),Ps=function(A,e,t){return new _s(A.x+(e.x-A.x)*t,A.y+(e.y-A.y)*t)},xs=function(){function A(A,e,t,r){this.type=Fs.BEZIER_CURVE,this.start=A,this.startControl=e,this.endControl=t,this.end=r}return A.prototype.subdivide=function(e,t){var r=Ps(this.start,this.startControl,e),n=Ps(this.startControl,this.endControl,e),o=Ps(this.endControl,this.end,e),i=Ps(r,n,e),s=Ps(n,o,e),B=Ps(i,s,e);return t?new A(this.start,r,i,B):new A(B,s,o,this.end)},A.prototype.add=function(e,t){return new A(this.start.add(e,t),this.startControl.add(e,t),this.endControl.add(e,t),this.end.add(e,t))},A.prototype.reverse=function(){return new A(this.end,this.endControl,this.startControl,this.start)},A}(),Vs=function(A){return A.type===Fs.BEZIER_CURVE},zs=function(){function A(A){var e=A.styles,t=A.bounds,r=kt(e.borderTopLeftRadius,t.width,t.height),n=r[0],o=r[1],i=kt(e.borderTopRightRadius,t.width,t.height),s=i[0],B=i[1],a=kt(e.borderBottomRightRadius,t.width,t.height),c=a[0],u=a[1],l=kt(e.borderBottomLeftRadius,t.width,t.height),Q=l[0],w=l[1],h=[];h.push((n+s)/t.width),h.push((Q+c)/t.width),h.push((o+w)/t.height),h.push((B+u)/t.height);var f=Math.max.apply(Math,h);f>1&&(n/=f,o/=f,s/=f,B/=f,c/=f,u/=f,Q/=f,w/=f);var g=t.width-s,U=t.height-u,E=t.width-c,C=t.height-w,d=e.borderTopWidth,F=e.borderRightWidth,p=e.borderBottomWidth,H=e.borderLeftWidth,N=Gt(e.paddingTop,A.bounds.width),K=Gt(e.paddingRight,A.bounds.width),m=Gt(e.paddingBottom,A.bounds.width),I=Gt(e.paddingLeft,A.bounds.width);this.topLeftBorderBox=n>0||o>0?Xs(t.left,t.top,n,o,Os.TOP_LEFT):new _s(t.left,t.top),this.topRightBorderBox=s>0||B>0?Xs(t.left+g,t.top,s,B,Os.TOP_RIGHT):new _s(t.left+t.width,t.top),this.bottomRightBorderBox=c>0||u>0?Xs(t.left+E,t.top+U,c,u,Os.BOTTOM_RIGHT):new _s(t.left+t.width,t.top+t.height),this.bottomLeftBorderBox=Q>0||w>0?Xs(t.left,t.top+C,Q,w,Os.BOTTOM_LEFT):new _s(t.left,t.top+t.height),this.topLeftPaddingBox=n>0||o>0?Xs(t.left+H,t.top+d,Math.max(0,n-H),Math.max(0,o-d),Os.TOP_LEFT):new _s(t.left+H,t.top+d),this.topRightPaddingBox=s>0||B>0?Xs(t.left+Math.min(g,t.width+H),t.top+d,g>t.width+H?0:s-H,B-d,Os.TOP_RIGHT):new _s(t.left+t.width-F,t.top+d),this.bottomRightPaddingBox=c>0||u>0?Xs(t.left+Math.min(E,t.width-H),t.top+Math.min(U,t.height+d),Math.max(0,c-F),u-p,Os.BOTTOM_RIGHT):new _s(t.left+t.width-F,t.top+t.height-p),this.bottomLeftPaddingBox=Q>0||w>0?Xs(t.left+H,t.top+C,Math.max(0,Q-H),w-p,Os.BOTTOM_LEFT):new _s(t.left+H,t.top+t.height-p),this.topLeftContentBox=n>0||o>0?Xs(t.left+H+I,t.top+d+N,Math.max(0,n-(H+I)),Math.max(0,o-(d+N)),Os.TOP_LEFT):new _s(t.left+H+I,t.top+d+N),this.topRightContentBox=s>0||B>0?Xs(t.left+Math.min(g,t.width+H+I),t.top+d+N,g>t.width+H+I?0:s-H+I,B-(d+N),Os.TOP_RIGHT):new _s(t.left+t.width-(F+K),t.top+d+N),this.bottomRightContentBox=c>0||u>0?Xs(t.left+Math.min(E,t.width-(H+I)),t.top+Math.min(U,t.height+d+N),Math.max(0,c-(F+K)),u-(p+m),Os.BOTTOM_RIGHT):new _s(t.left+t.width-(F+K),t.top+t.height-(p+m)),this.bottomLeftContentBox=Q>0||w>0?Xs(t.left+H+I,t.top+C,Math.max(0,Q-(H+I)),w-(p+m),Os.BOTTOM_LEFT):new _s(t.left+H+I,t.top+t.height-(p+m))}return A}();(function(A){A[A["TOP_LEFT"]=0]="TOP_LEFT",A[A["TOP_RIGHT"]=1]="TOP_RIGHT",A[A["BOTTOM_RIGHT"]=2]="BOTTOM_RIGHT",A[A["BOTTOM_LEFT"]=3]="BOTTOM_LEFT"})(Os||(Os={}));var Xs=function(A,e,t,r,n){var o=(Math.sqrt(2)-1)/3*4,i=t*o,s=r*o,B=A+t,a=e+r;switch(n){case Os.TOP_LEFT:return new xs(new _s(A,a),new _s(A,a-s),new _s(B-i,e),new _s(B,e));case Os.TOP_RIGHT:return new xs(new _s(A,e),new _s(A+i,e),new _s(B,a-s),new _s(B,a));case Os.BOTTOM_RIGHT:return new xs(new _s(B,e),new _s(B,e+s),new _s(A+i,a),new _s(A,a));case Os.BOTTOM_LEFT:default:return new xs(new _s(B,a),new _s(B-i,a),new _s(A,e+s),new _s(A,e))}},Js=function(A){return[A.topLeftBorderBox,A.topRightBorderBox,A.bottomRightBorderBox,A.bottomLeftBorderBox]},ks=function(A){return[A.topLeftContentBox,A.topRightContentBox,A.bottomRightContentBox,A.bottomLeftContentBox]},Gs=function(A){return[A.topLeftPaddingBox,A.topRightPaddingBox,A.bottomRightPaddingBox,A.bottomLeftPaddingBox]},Ys=function(){function A(A,e,t){this.type=0,this.offsetX=A,this.offsetY=e,this.matrix=t,this.target=6}return A}(),Ws=function(){function A(A,e){this.type=1,this.target=e,this.path=A}return A}(),qs=function(A){return 0===A.type},js=function(A){return 1===A.type},Zs=function(){function A(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return A}(),$s=function(){function A(A,e){if(this.container=A,this.effects=e.slice(0),this.curves=new zs(A),null!==A.styles.transform){var t=A.bounds.left+A.styles.transformOrigin[0].number,r=A.bounds.top+A.styles.transformOrigin[1].number,n=A.styles.transform;this.effects.push(new Ys(t,r,n))}if(A.styles.overflowX!==eo.VISIBLE){var o=Js(this.curves),i=Gs(this.curves);Ms(o,i)?this.effects.push(new Ws(o,6)):(this.effects.push(new Ws(o,2)),this.effects.push(new Ws(i,4)))}}return A.prototype.getParentEffects=function(){var A=this.effects.slice(0);if(this.container.styles.overflowX!==eo.VISIBLE){var e=Js(this.curves),t=Gs(this.curves);Ms(e,t)||A.push(new Ws(t,6))}return A},A}(),AB=function A(e,t,r,n){e.container.elements.forEach((function(o){var i=Go(o.flags,4),s=Go(o.flags,2),B=new $s(o,e.getParentEffects());Go(o.styles.display,2048)&&n.push(B);var a=Go(o.flags,8)?[]:n;if(i||s){var c=i||o.styles.isPositioned()?r:t,u=new Zs(B);if(o.styles.isPositioned()||o.styles.opacity<1||o.styles.isTransformed()){var l=o.styles.zIndex.order;if(l<0){var Q=0;c.negativeZIndex.some((function(A,e){return l>A.element.container.styles.zIndex.order?(Q=e,!1):Q>0})),c.negativeZIndex.splice(Q,0,u)}else if(l>0){var w=0;c.positiveZIndex.some((function(A,e){return l>A.element.container.styles.zIndex.order?(w=e+1,!1):w>0})),c.positiveZIndex.splice(w,0,u)}else c.zeroOrAutoZIndexOrTransformedOrOpacity.push(u)}else o.styles.isFloating()?c.nonPositionedFloats.push(u):c.nonPositionedInlineLevel.push(u);A(B,u,i?u:r,a)}else o.styles.isInlineLevel()?t.inlineLevel.push(B):t.nonInlineLevel.push(B),A(B,t,r,a);Go(o.flags,8)&&eB(o,a)}))},eB=function(A,e){for(var t=A instanceof Ei?A.start:1,r=A instanceof Ei&&A.reversed,n=0;n0&&A.intrinsicHeight>0){var r=iB(A),n=Gs(e);this.path(n),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(t,0,0,A.intrinsicWidth,A.intrinsicHeight,r.left,r.top,r.width,r.height),this.ctx.restore()}},A.prototype.renderNodeContent=function(e){return r(this,void 0,void 0,(function(){var t,r,i,s,B,a,c,u,l,Q,w,h,f,g,U;return n(this,(function(n){switch(n.label){case 0:this.applyEffects(e.effects,4),t=e.container,r=e.curves,i=t.styles,s=0,B=t.textNodes,n.label=1;case 1:return s0&&H>0&&(U=r.ctx.createPattern(h,"repeat"),r.renderRepeat(C,U,K,m))):sn(t)&&(E=aB(A,e,[null,null,null]),C=E[0],d=E[1],F=E[2],p=E[3],H=E[4],N=0===t.position.length?[Xt]:t.position,K=Gt(N[0],p),m=Gt(N[N.length-1],H),I=pr(t,K,m,p,H),v=I[0],T=I[1],v>0&&v>0&&(y=r.ctx.createRadialGradient(d+K,F+m,0,d+K,F+m,v),Ur(t.stops,2*v).forEach((function(A){return y.addColorStop(A.stop,nr(A.color))})),r.path(C),r.ctx.fillStyle=y,v!==T?(R=A.bounds.left+.5*A.bounds.width,b=A.bounds.top+.5*A.bounds.height,L=T/v,S=1/L,r.ctx.save(),r.ctx.translate(R,b),r.ctx.transform(1,0,0,L,0,0),r.ctx.translate(-R,-b),r.ctx.fillRect(d,S*(F-b)+b,p,H*S),r.ctx.restore()):r.ctx.fill())),n.label=6;case 6:return e--,[2]}}))},r=this,o=0,i=A.styles.backgroundImage.slice(0).reverse(),B.label=1;case 1:return oi){if(e=+arguments[i++],n(e,1114111)!==e)throw RangeError(e+" is not a valid code point");t.push(e<65536?o(e):o(55296+((e-=65536)>>10),e%1024+56320))}return t.join("")}})},f785:function(A,e,t){var r=t("2626");r("Array")},f909:function(A,e){e.isValid=function(A){return!isNaN(A)&&A>=1&&A<=40}},fb2c:function(A,e,t){var r=t("74e8");r("Uint32",(function(A){return function(e,t,r){return A(this,e,t,r)}}))},fc5b:function(A,e,t){t("4160"),t("fb6a"),t("159b");var r=t("04ad"),n=t("94ab"),o=t("e075"),i=t("a812"),s=t("ff23"),B=t("73a4"),a=t("33af"),c=t("795b"),u=t("7844"),l=t("bd0d"),Q=t("ca59"),w=t("cbd5"),h=t("1ded"),f=t("5ece"),g=t("e3db");function U(A,e){for(var t=A.size,r=a.getPositions(e),n=0;n=0&&s<=6&&(0===B||6===B)||B>=0&&B<=6&&(0===s||6===s)||s>=2&&s<=4&&B>=2&&B<=4?A.set(o+s,i+B,!0,!0):A.set(o+s,i+B,!1,!0))}function E(A){for(var e=A.size,t=8;t>s&1),A.set(t,r,n,!0),A.set(r,t,n,!0)}function F(A,e,t){var r,n,o=A.size,i=w.getEncodedBits(e,t);for(r=0;r<15;r++)n=1===(i>>r&1),r<6?A.set(r,8,n,!0):r<8?A.set(r+1,8,n,!0):A.set(o-15+r,8,n,!0),r<8?A.set(8,o-r-1,n,!0):r<9?A.set(8,15-r-1+1,n,!0):A.set(8,15-r-1,n,!0);A.set(o-8,8,1,!0)}function p(A,e){for(var t=A.size,r=-1,n=t-1,o=7,i=0,s=t-1;s>0;s-=2){6===s&&s--;while(1){for(var B=0;B<2;B++)if(!A.isReserved(n,s-B)){var a=!1;i>>o&1)),A.set(n,s-B,a),o--,-1===o&&(i++,o=7)}if(n+=r,n<0||t<=n){n-=r,r=-r;break}}}}function H(A,e,t){var r=new i;t.forEach((function(e){r.put(e.mode.bit,4),r.put(e.getLength(),h.getCharCountIndicator(e.mode,A)),e.write(r)}));var o=n.getSymbolTotalCodewords(A),s=u.getTotalCodewordsCount(A,e),B=8*(o-s);r.getLengthInBits()+4<=B&&r.put(0,4);while(r.getLengthInBits()%8!==0)r.putBit(0);for(var a=(B-r.getLengthInBits())/8,c=0;c=7&&d(w,e),p(w,u),isNaN(r)&&(r=c.getBestMask(w,F.bind(null,w,t))),c.applyMask(r,w),F(w,t,r),{modules:w,version:e,errorCorrectionLevel:t,maskPattern:r,segments:o}}e.create=function(A,e){if("undefined"===typeof A||""===A)throw new Error("No input text");var t,r,i=o.M;return"undefined"!==typeof e&&(i=o.from(e.errorCorrectionLevel,o.M),t=Q.from(e.version),r=c.from(e.maskPattern),e.toSJISFunc&&n.setToSJISFunction(e.toSJISFunc)),K(A,t,i,r)}},ff23:function(A,e,t){var r=t("04ad");function n(A){if(!A||A<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=A,this.data=r.alloc(A*A),this.reservedBit=r.alloc(A*A)}n.prototype.set=function(A,e,t,r){var n=A*this.size+e;this.data[n]=t,r&&(this.reservedBit[n]=!0)},n.prototype.get=function(A,e){return this.data[A*this.size+e]},n.prototype.xor=function(A,e,t){this.data[A*this.size+e]^=t},n.prototype.isReserved=function(A,e){return this.reservedBit[A*this.size+e]},A.exports=n}}]);