(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-67139ec8"],{"18c3":function(A,e,t){},"2f21":function(A,e,t){"use strict";var r=t("79e5");A.exports=function(A,e){return!!A&&r(function(){e?A.call(null,function(){},1):A.call(null)})}},"55dd":function(A,e,t){"use strict";var r=t("5ca1"),n=t("d8e8"),B=t("4bf8"),s=t("79e5"),o=[].sort,i=[1,2,3];r(r.P+r.F*(s(function(){i.sort(void 0)})||!s(function(){i.sort(null)})||!t("2f21")(o)),"Array",{sort:function(A){return void 0===A?o.call(B(this)):o.call(B(this),n(A))}})},acb3:function(A,e){A.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAABLCAYAAAAPgLXeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDoxMmU5NDE3MS1jZGVmLWZjNDgtOTgwOS00ODlmMTQ2YTIwNzgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6Qjg4MEU5RkZGOTA5MTFFOEIwNkM4N0JBODI3MDBBRkMiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6Qjg4MEU5RkVGOTA5MTFFOEIwNkM4N0JBODI3MDBBRkMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTggKFdpbmRvd3MpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6ODQyM2UwYzQtNTFiNi01MjRiLTk5ZGItM2I2YjMxMjMyZDQzIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjEyZTk0MTcxLWNkZWYtZmM0OC05ODA5LTQ4OWYxNDZhMjA3OCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pj8UPccAAARySURBVHja7JlXaFRBFIb3JhHbGiM2LKCosYEYe0ui0YhGBCsi0YgVRAIi6IMN8UFEQWwvIgoaFPXJgL6oJDYUEdEIQWKJDQvGGCwxajRe/wPnysl1Nzv37uxuhDnwsbtTzvw7M3fKuVZAo9m2nYqP/iANBDn5M6gBjyzLqtPVlhWl0E74mA1yQSboEaHKU3ANXALn8Ee+BOJpEDwJnAU/bf/2FRSBjJj3OBoZgY89YKIrqwyUgLugAlSBWs5L5ZGgKTQKTOXv0orBeoxApe4ebgUOgAbRY2/BFtDbh7/BYDf4KPx9B5tBsi7R6aBMNFAD1oCWGny3B1tBnfBfArpE63g0eC+cnuQHUveI9galop0noK9fZ2P5ASKrB6ti/MAng+1C/GvP4lFhEKhmBzSM0+K4Yi0TzxL1fFfVikFQIXo6NxBnY/FyzierVDomKhUEEmRoe5vQsSVS4RxR+EgggYb2k8BFsVSmN1WwXDwY7QIJNmjoJRaI8+EKzRO9nR9oJsabkmPDQhW4xZkPqPcVHNK0OgT6+BAzHBwGQxQXixrWdirU8ufYCsXGb3L5V6CfB9FjwCeue0Kxzk4u/412W5mxXWSkKjpbINZbJfEu0bQ/TFBsa4Do2CUy4wYnFnsc8kWq4kOInuyxrfJGo4QvbcAvTlzrY75GFB+taPaxj+u/dBIyxDCM8fnkhxWvQzT7yRc6U5256liHKJatf8TrEu1cYoTOkZRQyD9qNay5UnwV+KJDNPvuKoTnpYjbeNTCcfWi8zp9LQKdOfk7mIm80ijdS31B2mick1eDps3uCfjhavClBr9SX3KS+CdBDVOFHu6LoDWopyRAN6YrXjapMCb11ZLwauc2DudtNYimDewbyAN0LP7Nt/xoxXcT32uc5Sr8Icb7Nt7oQfSySUVoQx4CO1FCmkhYqVO0TvGos4PrV8vE+14OPX42l2jFi9NrsUzcy4kfVOMlHLrwtLmEEN9Xsa1uol6hzBgnpstcRWfX/WwuLvHHFets4PJUr7s78zFnXlV0tpKHb5KP+UrHjNtghkLZFDpYsbYLoQqsFr2e04yubsuFrunhAptvuAA9rCnNQDTFFt+xptuR5p9jm5qB8KNCz/imClocObL5cpGdQNEFnmI89NTykdTmSO3ABIjO5vuvzeHAoGrFKRw3dNbbAXEUnSn2B/oc7NXBQjFU1PNZcRA9XwT563y3yeLrxZzfGIvVBj5bg/2ioz752R/cTnNFrNzm1ypZmgTTYjAHPBP+K8FQXT3SE1x2ve6j8/Us0MKHPwqJLAb3XD5PN4pUaeydJfy2zXbNf4qpL6VYYKhDGl1Q6KzPu/MZcYl27HHIXTEG87GQhzSUNXCQ8jl44Xol6Lb7vOmlxHOttXjpOijCY5GM/tQdsMvvG+W/EQWNf6QjPgYBenNAgaU9nLUOfAAPQYVlWZ91tGdxHCQmg6K7c6QlBf5TM8KNcCPcCDfCjXAj3Ag3wo1wI9wIN8KNcCPcCDfCjXAjPKb2R4ABAP1fyHzQ0oCyAAAAAElFTkSuQmCC"},c0e9:function(A,e,t){ /*! * html2canvas 1.0.0-rc.3 * 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===B[0]||2===B[0])){s=0;continue}if(3===B[0]&&(!n||B[1]>n[0]&&B[1]=55296&&n<=56319&&t>10),s%1024+56320)),(n+1===t||r.length>16384)&&(B+=String.fromCharCode.apply(String,r),r.length=0)}return B},c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Q="undefined"===typeof Uint8Array?[]:new Uint8Array(256),u=0;u>4,c[i++]=(15&r)<<4|n>>2,c[i++]=(3&n)<<6|63&B;return a},U=function(A){for(var e=A.length,t=[],r=0;r>g,H=1<>g,N=d+p,K=N,I=32,m=K+I,T=65536>>E,R=1<=0){if(A<55296||A>56319&&A<=65535)return e=this.index[A>>g],e=(e<>g)],e=(e<>E),e=this.index[e],e+=A>>g&v,e=this.index[e],e=(e<y?(n.push(!0),s-=y):n.push(!1),-1!==["normal","auto","loose"].indexOf(e)&&-1!==[8208,8211,12316,12448].indexOf(A))return r.push(B),t.push(q);if(s===x||s===k){if(0===B)return r.push(B),t.push(uA);var o=t[B-1];return-1===bA.indexOf(o)?(r.push(r[B-1]),t.push(o)):(r.push(B),t.push(uA))}return r.push(B),s===wA?t.push("strict"===e?rA:FA):s===pA?t.push(uA):s===QA?t.push(uA):s===NA?A>=131072&&A<=196605||A>=196608&&A<=262141?t.push(FA):t.push(uA):void t.push(s)}),[r,t,n]},MA=function(A,e,t,r){var n=r[t];if(Array.isArray(A)?-1!==A.indexOf(n):A===n){var B=t;while(B<=r.length){B++;var s=r[B];if(s===e)return!0;if(s!==J)break}}if(n===J){B=t;while(B>0){B--;var o=r[B];if(Array.isArray(A)?-1!==A.indexOf(o):A===o){var i=t;while(i<=r.length){i++;s=r[i];if(s===e)return!0;if(s!==J)break}}if(o!==J)break}}return!1},_A=function(A,e){var t=A;while(t>=0){var r=e[t];if(r!==J)return r;t--}return 0},PA=function(A,e,t,r,n){if(0===t[r])return IA;var B=r-1;if(Array.isArray(n)&&!0===n[B])return IA;var s=B-1,o=B+1,i=e[B],a=s>=0?e[s]:0,c=e[o];if(i===_&&c===P)return IA;if(-1!==vA.indexOf(i))return KA;if(-1!==vA.indexOf(c))return IA;if(-1!==LA.indexOf(c))return IA;if(_A(B,e)===X)return mA;if(TA.get(A[B])===k&&(c===FA||c===lA||c===UA))return IA;if(i===z||c===z)return IA;if(i===G)return IA;if(-1===[J,Y,Z].indexOf(i)&&c===G)return IA;if(-1!==[$,AA,eA,sA,cA].indexOf(c))return IA;if(_A(B,e)===nA)return IA;if(MA(BA,nA,B,e))return IA;if(MA([$,AA],rA,B,e))return IA;if(MA(W,W,B,e))return IA;if(i===J)return mA;if(i===BA||c===BA)return IA;if(c===q||i===q)return mA;if(-1!==[Y,Z,rA].indexOf(c)||i===j)return IA;if(a===EA&&-1!==SA.indexOf(i))return IA;if(i===cA&&c===EA)return IA;if(c===tA&&-1!==RA.concat(tA,eA,oA,FA,lA,UA).indexOf(i))return IA;if(-1!==RA.indexOf(c)&&i===oA||-1!==RA.indexOf(i)&&c===oA)return IA;if(i===aA&&-1!==[FA,lA,UA].indexOf(c)||-1!==[FA,lA,UA].indexOf(i)&&c===iA)return IA;if(-1!==RA.indexOf(i)&&-1!==OA.indexOf(c)||-1!==OA.indexOf(i)&&-1!==RA.indexOf(c))return IA;if(-1!==[aA,iA].indexOf(i)&&(c===oA||-1!==[nA,Z].indexOf(c)&&e[o+1]===oA)||-1!==[nA,Z].indexOf(i)&&c===oA||i===oA&&-1!==[oA,cA,sA].indexOf(c))return IA;if(-1!==[oA,cA,sA,$,AA].indexOf(c)){var Q=B;while(Q>=0){var u=e[Q];if(u===oA)return IA;if(-1===[cA,sA].indexOf(u))break;Q--}}if(-1!==[aA,iA].indexOf(c)){Q=-1!==[$,AA].indexOf(i)?s:B;while(Q>=0){u=e[Q];if(u===oA)return IA;if(-1===[cA,sA].indexOf(u))break;Q--}}if(hA===i&&-1!==[hA,dA,CA,gA].indexOf(c)||-1!==[dA,CA].indexOf(i)&&-1!==[dA,HA].indexOf(c)||-1!==[HA,gA].indexOf(i)&&c===HA)return IA;if(-1!==DA.indexOf(i)&&-1!==[tA,iA].indexOf(c)||-1!==DA.indexOf(c)&&i===aA)return IA;if(-1!==RA.indexOf(i)&&-1!==RA.indexOf(c))return IA;if(i===sA&&-1!==RA.indexOf(c))return IA;if(-1!==RA.concat(oA).indexOf(i)&&c===nA||-1!==RA.concat(oA).indexOf(c)&&i===AA)return IA;if(i===fA&&c===fA){var w=t[B],l=1;while(w>0){if(w--,e[w]!==fA)break;l++}if(l%2!==0)return IA}return i===lA&&c===UA?IA:mA},xA=function(A,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var t=yA(A,e.lineBreak),r=t[0],n=t[1],B=t[2];"break-all"!==e.wordBreak&&"break-word"!==e.wordBreak||(n=n.map(function(A){return-1!==[oA,uA,pA].indexOf(A)?FA:A}));var s="keep-all"===e.wordBreak?B.map(function(e,t){return e&&A[t]>=19968&&A[t]<=40959}):void 0;return[r,n,s]},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=i(A),r=xA(t,e),n=r[0],B=r[1],s=r[2],o=t.length,a=0,c=0;return{next:function(){if(c>=o)return{done:!0,value:null};var A=IA;while(c=Se&&A<=57},We=function(A){return A>=55296&&A<=57343},Ye=function(A){return ke(A)||A>=Ve&&A<=Xe||A>=ye&&A<=_e},je=function(A){return A>=ye&&A<=xe},Ze=function(A){return A>=Ve&&A<=Je},qe=function(A){return je(A)||Ze(A)},$e=function(A){return A>=de},At=function(A){return A===WA||A===ZA||A===qA},et=function(A){return qe(A)||$e(A)||A===oe},tt=function(A){return et(A)||ke(A)||A===ie},rt=function(A){return A>=Te&&A<=Re||A===ve||A>=Le&&A<=Oe||A===be},nt=function(A,e){return A===jA&&e!==WA},Bt=function(A,e,t){return A===ie?et(e)||nt(e,t):!!et(A)||!(A!==jA||!nt(A,e))},st=function(A,e,t){return A===pe||A===ie?!!ke(e)||e===me&&ke(t):ke(A===me?e:A)},ot=function(A){var e=0,t=1;A[e]!==pe&&A[e]!==ie||(A[e]===ie&&(t=-1),e++);var r=[];while(ke(A[e]))r.push(A[e++]);var n=r.length?parseInt(a.apply(void 0,r),10):0;A[e]===me&&e++;var B=[];while(ke(A[e]))B.push(A[e++]);var s=B.length,o=s?parseInt(a.apply(void 0,B),10):0;A[e]!==ze&&A[e]!==Me||e++;var i=1;A[e]!==pe&&A[e]!==ie||(A[e]===ie&&(i=-1),e++);var c=[];while(ke(A[e]))c.push(A[e++]);var Q=c.length?parseInt(a.apply(void 0,c),10):0;return t*(n+o*Math.pow(10,-s))*Math.pow(10,i*Q)},it={type:w.LEFT_PARENTHESIS_TOKEN},at={type:w.RIGHT_PARENTHESIS_TOKEN},ct={type:w.COMMA_TOKEN},Qt={type:w.SUFFIX_MATCH_TOKEN},ut={type:w.PREFIX_MATCH_TOKEN},wt={type:w.COLUMN_TOKEN},lt={type:w.DASH_MATCH_TOKEN},Ut={type:w.INCLUDE_MATCH_TOKEN},Ct={type:w.LEFT_CURLY_BRACKET_TOKEN},gt={type:w.RIGHT_CURLY_BRACKET_TOKEN},Et={type:w.SUBSTRING_MATCH_TOKEN},Ft={type:w.BAD_URL_TOKEN},ht={type:w.BAD_STRING_TOKEN},dt={type:w.CDO_TOKEN},Ht={type:w.CDC_TOKEN},ft={type:w.COLON_TOKEN},pt={type:w.SEMICOLON_TOKEN},Nt={type:w.LEFT_SQUARE_BRACKET_TOKEN},Kt={type:w.RIGHT_SQUARE_BRACKET_TOKEN},It={type:w.WHITESPACE_TOKEN},mt={type:w.EOF_TOKEN},Tt=function(){function A(){this._value=[]}return A.prototype.write=function(A){this._value=this._value.concat(i(A))},A.prototype.read=function(){var A=[],e=this.consumeToken();while(e!==mt)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=Bt(e,t,r)?GA:XA,B=this.consumeName();return{type:w.HASH_TOKEN,value:B,flags:n}}break;case te:if(this.peekCodePoint(0)===Ae)return this.consumeCodePoint(),Qt;break;case ne:return this.consumeStringToken(ne);case Be:return it;case se:return at;case fe:if(this.peekCodePoint(0)===Ae)return this.consumeCodePoint(),Et;break;case pe:if(st(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case Ne:return ct;case ie:var s=A,o=this.peekCodePoint(0),i=this.peekCodePoint(1);if(st(s,o,i))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(Bt(s,o,i))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(o===ie&&i===Qe)return this.consumeCodePoint(),this.consumeCodePoint(),Ht;break;case me:if(st(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case YA:if(this.peekCodePoint(0)===fe){this.consumeCodePoint();while(1){var c=this.consumeCodePoint();if(c===fe&&(c=this.consumeCodePoint(),c===YA))return this.consumeToken();if(c===De)return this.consumeToken()}}break;case Ke:return ft;case Ie:return pt;case ce:if(this.peekCodePoint(0)===ae&&this.peekCodePoint(1)===ie&&this.peekCodePoint(2)===ie)return this.consumeCodePoint(),this.consumeCodePoint(),dt;break;case ue:var Q=this.peekCodePoint(0),u=this.peekCodePoint(1),l=this.peekCodePoint(2);if(Bt(Q,u,l)){B=this.consumeName();return{type:w.AT_KEYWORD_TOKEN,value:B}}break;case we:return Nt;case jA:if(nt(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case le:return Kt;case Ue:if(this.peekCodePoint(0)===Ae)return this.consumeCodePoint(),ut;break;case Ce:return Ct;case Ee:return gt;case Pe:case Ge:var U=this.peekCodePoint(0),C=this.peekCodePoint(1);return U!==pe||!Ye(C)&&C!==ge||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case Fe:if(this.peekCodePoint(0)===Ae)return this.consumeCodePoint(),lt;if(this.peekCodePoint(0)===Fe)return this.consumeCodePoint(),wt;break;case he:if(this.peekCodePoint(0)===Ae)return this.consumeCodePoint(),Ut;break;case De:return mt}return At(A)?(this.consumeWhiteSpace(),It):ke(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):et(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:w.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(Ye(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?Se:A})),16),n=parseInt(a.apply(void 0,A.map(function(A){return A===ge?Xe:A})),16);return{type:w.UNICODE_RANGE_TOKEN,start:r,end:n}}var B=parseInt(a.apply(void 0,A),16);if(this.peekCodePoint(0)===ie&&Ye(this.peekCodePoint(1))){this.consumeCodePoint(),e=this.consumeCodePoint();var s=[];while(Ye(e)&&s.length<6)s.push(e),e=this.consumeCodePoint();n=parseInt(a.apply(void 0,s),16);return{type:w.UNICODE_RANGE_TOKEN,start:B,end:n}}return{type:w.UNICODE_RANGE_TOKEN,start:B,end:B}},A.prototype.consumeIdentLikeToken=function(){var A=this.consumeName();return"url"===A.toLowerCase()&&this.peekCodePoint(0)===Be?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Be?(this.consumeCodePoint(),{type:w.FUNCTION_TOKEN,value:A}):{type:w.IDENT_TOKEN,value:A}},A.prototype.consumeUrlToken=function(){var A=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===De)return{type:w.URL_TOKEN,value:""};var e=this.peekCodePoint(0);if(e===ne||e===$A){var t=this.consumeStringToken(this.consumeCodePoint());return t.type===w.STRING_TOKEN&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===De||this.peekCodePoint(0)===se)?(this.consumeCodePoint(),{type:w.URL_TOKEN,value:t.value}):(this.consumeBadUrlRemnants(),Ft)}while(1){var r=this.consumeCodePoint();if(r===De||r===se)return{type:w.URL_TOKEN,value:a.apply(void 0,A)};if(At(r))return this.consumeWhiteSpace(),this.peekCodePoint(0)===De||this.peekCodePoint(0)===se?(this.consumeCodePoint(),{type:w.URL_TOKEN,value:a.apply(void 0,A)}):(this.consumeBadUrlRemnants(),Ft);if(r===$A||r===ne||r===Be||rt(r))return this.consumeBadUrlRemnants(),Ft;if(r===jA){if(!nt(r,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),Ft;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===se||A===De)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===De||void 0===r||r===A)return e+=this.consumeStringSlice(t),{type:w.STRING_TOKEN,value:e};if(r===WA)return this._value.splice(0,t),ht;if(r===jA){var n=this._value[t+1];n!==De&&void 0!==n&&(n===WA?(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=JA,t=this.peekCodePoint(0);t!==pe&&t!==ie||A.push(this.consumeCodePoint());while(ke(this.peekCodePoint(0)))A.push(this.consumeCodePoint());t=this.peekCodePoint(0);var r=this.peekCodePoint(1);if(t===me&&ke(r)){A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=kA;while(ke(this.peekCodePoint(0)))A.push(this.consumeCodePoint())}t=this.peekCodePoint(0),r=this.peekCodePoint(1);var n=this.peekCodePoint(2);if((t===ze||t===Me)&&((r===pe||r===ie)&&ke(n)||ke(r))){A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=kA;while(ke(this.peekCodePoint(0)))A.push(this.consumeCodePoint())}return[ot(A),e]},A.prototype.consumeNumericToken=function(){var A=this.consumeNumber(),e=A[0],t=A[1],r=this.peekCodePoint(0),n=this.peekCodePoint(1),B=this.peekCodePoint(2);if(Bt(r,n,B)){var s=this.consumeName();return{type:w.DIMENSION_TOKEN,number:e,flags:t,unit:s}}return r===re?(this.consumeCodePoint(),{type:w.PERCENTAGE_TOKEN,number:e,flags:t}):{type:w.NUMBER_TOKEN,number:e,flags:t}},A.prototype.consumeEscapedCodePoint=function(){var A=this.consumeCodePoint();if(Ye(A)){var e=a(A);while(Ye(this.peekCodePoint(0))&&e.length<6)e+=a(this.consumeCodePoint());At(this.peekCodePoint(0))&&this.consumeCodePoint();var t=parseInt(e,16);return 0===t||We(t)||t>1114111?He:t}return A===De?He: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}(),Rt=function(){function A(A){this._tokens=A}return A.create=function(e){var t=new Tt;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===w.WHITESPACE_TOKEN)A=this.consumeToken();if(A.type===w.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===w.WHITESPACE_TOKEN);if(A.type===w.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===w.EOF_TOKEN)return A;A.push(e),A.push()}},A.prototype.consumeComponentValue=function(){var A=this.consumeToken();switch(A.type){case w.LEFT_CURLY_BRACKET_TOKEN:case w.LEFT_SQUARE_BRACKET_TOKEN:case w.LEFT_PARENTHESIS_TOKEN:return this.consumeSimpleBlock(A.type);case w.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===w.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:w.FUNCTION};while(1){var t=this.consumeToken();if(t.type===w.EOF_TOKEN||t.type===w.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?mt:A},A.prototype.reconsumeToken=function(A){this._tokens.unshift(A)},A}(),vt=function(A){return A.type===w.DIMENSION_TOKEN},Lt=function(A){return A.type===w.NUMBER_TOKEN},Ot=function(A){return A.type===w.IDENT_TOKEN},bt=function(A){return A.type===w.STRING_TOKEN},Dt=function(A,e){return Ot(A)&&A.value===e},St=function(A){return A.type!==w.WHITESPACE_TOKEN},yt=function(A){return A.type!==w.WHITESPACE_TOKEN&&A.type!==w.COMMA_TOKEN},Mt=function(A){var e=[],t=[];return A.forEach(function(A){if(A.type===w.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!==w.WHITESPACE_TOKEN&&t.push(A)}),t.length&&e.push(t),e},_t=function(A,e){return e===w.LEFT_CURLY_BRACKET_TOKEN&&A.type===w.RIGHT_CURLY_BRACKET_TOKEN||(e===w.LEFT_SQUARE_BRACKET_TOKEN&&A.type===w.RIGHT_SQUARE_BRACKET_TOKEN||e===w.LEFT_PARENTHESIS_TOKEN&&A.type===w.RIGHT_PARENTHESIS_TOKEN)},Pt=function(A){return A.type===w.NUMBER_TOKEN||A.type===w.DIMENSION_TOKEN},xt=function(A){return A.type===w.PERCENTAGE_TOKEN||Pt(A)},Vt=function(A){return A.length>1?[A[0],A[1]]:[A[0]]},zt={type:w.NUMBER_TOKEN,number:0,flags:JA},Xt={type:w.PERCENTAGE_TOKEN,number:50,flags:JA},Gt={type:w.PERCENTAGE_TOKEN,number:100,flags:JA},Jt=function(A,e,t){var r=A[0],n=A[1];return[kt(r,e),kt("undefined"!==typeof n?n:r,t)]},kt=function(A,e){if(A.type===w.PERCENTAGE_TOKEN)return A.number/100*e;if(vt(A))switch(A.unit){case"rem":case"em":return 16*A.number;case"px":default:return A.number}return A.number},Wt="deg",Yt="grad",jt="rad",Zt="turn",qt={name:"angle",parse:function(A){if(A.type===w.DIMENSION_TOKEN)switch(A.unit){case Wt:return Math.PI*A.number/180;case Yt:return Math.PI/200*A.number;case jt:return A.number;case Zt:return 2*Math.PI*A.number}throw new Error("Unsupported angle type")}},$t=function(A){return A.type===w.DIMENSION_TOKEN&&(A.unit===Wt||A.unit===Yt||A.unit===jt||A.unit===Zt)},Ar=function(A){var e=A.filter(Ot).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,Gt];case"to right":case"left":return er(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Gt,Gt];case"to bottom":case"top":return er(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Gt,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===w.FUNCTION){var e=ur[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===w.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 Br(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 B=A.value.substring(3,4);return Br(parseInt(t+t,16),parseInt(r+r,16),parseInt(n+n,16),parseInt(B+B,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 Br(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),B=A.value.substring(6,8);return Br(parseInt(t,16),parseInt(r,16),parseInt(n,16),parseInt(B,16)/255)}}if(A.type===w.IDENT_TOKEN){var s=wr[A.value.toUpperCase()];if("undefined"!==typeof s)return s}return wr.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+")"},Br=function(A,e,t,r){return(A<<24|e<<16|t<<8|Math.round(255*r)<<0)>>>0},sr=function(A,e){if(A.type===w.NUMBER_TOKEN)return A.number;if(A.type===w.PERCENTAGE_TOKEN){var t=3===e?1:255;return 3===e?A.number/100*t:Math.round(A.number/100*t)}return 0},or=function(A){var e=A.filter(yt);if(3===e.length){var t=e.map(sr),r=t[0],n=t[1],B=t[2];return Br(r,n,B,1)}if(4===e.length){var s=e.map(sr),o=(r=s[0],n=s[1],B=s[2],s[3]);return Br(r,n,B,o)}return 0};function ir(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,Qr=function(A){var e=A.filter(yt),t=e[0],r=e[1],n=e[2],B=e[3],s=(t.type===w.NUMBER_TOKEN?er(t.number):qt.parse(t))/(2*Math.PI),o=xt(r)?r.number/100:0,i=xt(n)?n.number/100:0,a="undefined"!==typeof B&&xt(B)?kt(B,1):1;if(0===o)return Br(255*i,255*i,255*i,1);var c=i<=.5?i*(o+1):i+o-i*o,Q=2*i-c,u=ir(Q,c,s+1/3),l=ir(Q,c,s),U=ir(Q,c,s-1/3);return Br(255*u,255*l,255*U,a)},ur={hsl:Qr,hsla:Qr,rgb:or,rgba:or},wr={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 lr,Ur={name:"background-clip",initialValue:"border-box",prefix:!1,type:ar.LIST,parse:function(A){return A.map(function(A){if(Ot(A))switch(A.value){case"padding-box":return cr.PADDING_BOX;case"content-box":return cr.CONTENT_BOX}return cr.BORDER_BOX})}},Cr={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}},Er=function(A,e){var t=A[0],r=A[A.length-1];null===t.stop&&(t.stop=zt),null===r.stop&&(r.stop=Gt);for(var n=[],B=0,s=0;sB?n.push(i):n.push(B),B=i}else n.push(null)}var a=null;for(s=0;sA.optimumDistance)?{optimumCorner:e,optimumDistance:o}:A},{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner},fr=function(A,e,t,r,n){var B=0,s=0;switch(A.size){case nn.CLOSEST_SIDE:A.shape===rn.CIRCLE?B=s=Math.min(Math.abs(e),Math.abs(e-r),Math.abs(t),Math.abs(t-n)):A.shape===rn.ELLIPSE&&(B=Math.min(Math.abs(e),Math.abs(e-r)),s=Math.min(Math.abs(t),Math.abs(t-n)));break;case nn.CLOSEST_CORNER:if(A.shape===rn.CIRCLE)B=s=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 o=Math.min(Math.abs(t),Math.abs(t-n))/Math.min(Math.abs(e),Math.abs(e-r)),i=Hr(r,n,e,t,!0),a=i[0],c=i[1];B=dr(a-e,(c-t)/o),s=o*B}break;case nn.FARTHEST_SIDE:A.shape===rn.CIRCLE?B=s=Math.max(Math.abs(e),Math.abs(e-r),Math.abs(t),Math.abs(t-n)):A.shape===rn.ELLIPSE&&(B=Math.max(Math.abs(e),Math.abs(e-r)),s=Math.max(Math.abs(t),Math.abs(t-n)));break;case nn.FARTHEST_CORNER:if(A.shape===rn.CIRCLE)B=s=Math.max(dr(e,t),dr(e,t-n),dr(e-r,t),dr(e-r,t-n));else if(A.shape===rn.ELLIPSE){o=Math.max(Math.abs(t),Math.abs(t-n))/Math.max(Math.abs(e),Math.abs(e-r));var Q=Hr(r,n,e,t,!1);a=Q[0],c=Q[1];B=dr(a-e,(c-t)/o),s=o*B}break}return Array.isArray(A.size)&&(B=kt(A.size[0],r),s=2===A.size.length?kt(A.size[1],n):B),[B,s]},pr=function(A){var e=er(180),t=[];return Mt(A).forEach(function(A,r){if(0===r){var n=A[0];if(n.type===w.IDENT_TOKEN&&"to"===n.value)return void(e=Ar(A));if($t(n))return void(e=qt.parse(n))}var B=gr(A);t.push(B)}),{angle:e,stops:t,type:lr.LINEAR_GRADIENT}},Nr=function(A){var e=er(180),t=[];return Mt(A).forEach(function(A,r){if(0===r){var n=A[0];if(n.type===w.IDENT_TOKEN&&-1!==["top","left","right","bottom"].indexOf(n.value))return void(e=Ar(A));if($t(n))return void(e=(qt.parse(n)+er(270))%er(360))}var B=gr(A);t.push(B)}),{angle:e,stops:t,type:lr.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(),B=Math.round(n.height);if(A.body.removeChild(r),B===e)return!0}}return!1},Ir=function(){return"undefined"!==typeof(new Image).crossOrigin},mr=function(){return"string"===typeof(new XMLHttpRequest).responseType},Tr=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(Me){return!1}return!0},Rr=function(A){return 0===A[0]&&255===A[1]&&0===A[2]&&255===A[3]},vr=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,B=e.toDataURL();n.src=B;var s=Lr(t,t,0,0,n);return r.fillStyle="red",r.fillRect(0,0,t,t),Or(s).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 s=A.createElement("div");return s.style.backgroundImage="url("+B+")",s.style.height=t+"px",Rr(n)?Or(Lr(t,t,0,0,s)):Promise.reject(!1)}).then(function(A){return r.drawImage(A,0,0),Rr(r.getImageData(0,0,t,t).data)}).catch(function(){return!1})},Lr=function(A,e,t,r,n){var B="http://www.w3.org/2000/svg",s=document.createElementNS(B,"svg"),o=document.createElementNS(B,"foreignObject");return s.setAttributeNS(null,"width",A.toString()),s.setAttributeNS(null,"height",e.toString()),o.setAttributeNS(null,"width","100%"),o.setAttributeNS(null,"height","100%"),o.setAttributeNS(null,"x",t.toString()),o.setAttributeNS(null,"y",r.toString()),o.setAttributeNS(null,"externalResourcesRequired","true"),s.appendChild(o),o.appendChild(n),s},Or=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))})},br={get SUPPORT_RANGE_BOUNDS(){var A=Kr(document);return Object.defineProperty(br,"SUPPORT_RANGE_BOUNDS",{value:A}),A},get SUPPORT_SVG_DRAWING(){var A=Tr(document);return Object.defineProperty(br,"SUPPORT_SVG_DRAWING",{value:A}),A},get SUPPORT_FOREIGNOBJECT_DRAWING(){var A="function"===typeof Array.from&&"function"===typeof window.fetch?vr(document):Promise.resolve(!1);return Object.defineProperty(br,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:A}),A},get SUPPORT_CORS_IMAGES(){var A=Ir();return Object.defineProperty(br,"SUPPORT_CORS_IMAGES",{value:A}),A},get SUPPORT_RESPONSE_TYPE(){var A=mr();return Object.defineProperty(br,"SUPPORT_RESPONSE_TYPE",{value:A}),A},get SUPPORT_CORS_XHR(){var A="withCredentials"in new XMLHttpRequest;return Object.defineProperty(br,"SUPPORT_CORS_XHR",{value:A}),A}},Dr=function(){function A(A){this.id=A,this.start=Date.now()}return A.prototype.debug=function(){for(var A=[],e=0;e0&&setTimeout(function(){return e("Timed out ("+s._options.imageTimeout+"ms) loading image")},s._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,B){var s=br.SUPPORT_RESPONSE_TYPE?"blob":"text",o=new XMLHttpRequest;if(o.onload=function(){if(200===o.status)if("text"===s)n(o.response);else{var A=new FileReader;A.addEventListener("load",function(){return n(A.result)},!1),A.addEventListener("error",function(A){return B(A)},!1),A.readAsDataURL(o.response)}else B("Failed to proxy resource "+r+" with status code "+o.status)},o.onerror=B,o.open("GET",t+"?url="+encodeURIComponent(A)+"&responseType="+s),"text"!==s&&o instanceof XMLHttpRequest&&(o.responseType=s),e._options.imageTimeout){var i=e._options.imageTimeout;o.timeout=i,o.ontimeout=function(){return B("Timed out ("+i+"ms) proxying "+r)}}o.send()})},A}(),Mr=/^data:image\/svg\+xml/i,_r=/^data:image\/.*;base64,/i,Pr=/^data:image\/.*/i,xr=function(A){return br.SUPPORT_SVG_DRAWING||!Gr(A)},Vr=function(A){return Pr.test(A)},zr=function(A){return _r.test(A)},Xr=function(A){return"blob"===A.substr(0,4)},Gr=function(A){return"svg"===A.substr(-3).toLowerCase()||Mr.test(A)},Jr=function(A){var e=er(180),t=[],r=lr.LINEAR_GRADIENT,n=rn.CIRCLE,B=nn.FARTHEST_CORNER,s=[];return Mt(A).forEach(function(A,e){var n=A[0];if(0===e){if(Ot(n)&&"linear"===n.value)return void(r=lr.LINEAR_GRADIENT);if(Ot(n)&&"radial"===n.value)return void(r=lr.RADIAL_GRADIENT)}if(n.type===w.FUNCTION)if("from"===n.name){var B=tr.parse(n.values[0]);t.push({stop:zt,color:B})}else if("to"===n.name){B=tr.parse(n.values[0]);t.push({stop:Gt,color:B})}else if("color-stop"===n.name){var s=n.values.filter(yt);if(2===s.length){B=tr.parse(s[1]);var o=s[0];Lt(o)&&t.push({stop:{type:w.PERCENTAGE_TOKEN,number:100*o.number,flags:o.flags},color:B})}}}),r===lr.LINEAR_GRADIENT?{angle:(e+er(180))%er(360),stops:t,type:r}:{size:B,shape:n,stops:t,position:s,type:r}},kr="closest-side",Wr="farthest-side",Yr="closest-corner",jr="farthest-corner",Zr="circle",qr="ellipse",$r="cover",An="contain",en=function(A){var e=rn.CIRCLE,t=nn.FARTHEST_CORNER,r=[],n=[];return Mt(A).forEach(function(A,B){var s=!0;if(0===B){var o=!1;s=A.reduce(function(A,r){if(o)if(Ot(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(Gt),A}else(xt(r)||Pt(r))&&n.push(r);else if(Ot(r))switch(r.value){case Zr:return e=rn.CIRCLE,!1;case qr:return e=rn.ELLIPSE,!1;case"at":return o=!0,!1;case kr:return t=nn.CLOSEST_SIDE,!1;case $r:case Wr:return t=nn.FARTHEST_SIDE,!1;case An:case Yr:return t=nn.CLOSEST_CORNER,!1;case jr:return t=nn.FARTHEST_CORNER,!1}else if(Pt(r)||xt(r))return Array.isArray(t)||(t=[]),t.push(r),!1;return A},s)}if(s){var i=gr(A);r.push(i)}}),{size:t,shape:e,stops:r,position:n,type:lr.RADIAL_GRADIENT}},tn=function(A){var e=rn.CIRCLE,t=nn.FARTHEST_CORNER,r=[],n=[];return Mt(A).forEach(function(A,B){var s=!0;if(0===B?s=A.reduce(function(A,e){if(Ot(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(Gt),!1}else if(xt(e)||Pt(e))return n.push(e),!1;return A},s):1===B&&(s=A.reduce(function(A,r){if(Ot(r))switch(r.value){case Zr:return e=rn.CIRCLE,!1;case qr:return e=rn.ELLIPSE,!1;case An:case kr:return t=nn.CLOSEST_SIDE,!1;case Wr:return t=nn.FARTHEST_SIDE,!1;case Yr:return t=nn.CLOSEST_CORNER,!1;case $r:case jr:return t=nn.FARTHEST_CORNER,!1}else if(Pt(r)||xt(r))return Array.isArray(t)||(t=[]),t.push(r),!1;return A},s)),s){var o=gr(A);r.push(o)}}),{size:t,shape:e,stops:r,position:n,type:lr.RADIAL_GRADIENT}};(function(A){A[A["URL"]=0]="URL",A[A["LINEAR_GRADIENT"]=1]="LINEAR_GRADIENT",A[A["RADIAL_GRADIENT"]=2]="RADIAL_GRADIENT"})(lr||(lr={}));var rn,nn,Bn=function(A){return A.type===lr.LINEAR_GRADIENT},sn=function(A){return A.type===lr.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 on,an={name:"image",parse:function(A){if(A.type===w.URL_TOKEN){var e={url:A.value,type:lr.URL};return Sr.getInstance().addImage(A.value),e}if(A.type===w.FUNCTION){var t=cn[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")}},cn={"linear-gradient":pr,"-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":Jr},Qn={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===w.IDENT_TOKEN&&"none"===e.value?[]:A.filter(yt).map(an.parse)}},un={name:"background-origin",initialValue:"border-box",prefix:!1,type:ar.LIST,parse:function(A){return A.map(function(A){if(Ot(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 Mt(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"})(on||(on={}));var ln,Un={name:"background-repeat",initialValue:"repeat",prefix:!1,type:ar.LIST,parse:function(A){return Mt(A).map(function(A){return A.filter(Ot).map(function(A){return A.value}).join(" ")}).map(Cn)}},Cn=function(A){switch(A){case"no-repeat":return on.NO_REPEAT;case"repeat-x":case"repeat no-repeat":return on.REPEAT_X;case"repeat-y":case"no-repeat repeat":return on.REPEAT_Y;case"repeat":default:return on.REPEAT}};(function(A){A["AUTO"]="auto",A["CONTAIN"]="contain",A["COVER"]="cover"})(ln||(ln={}));var gn,En={name:"background-size",initialValue:"0",prefix:!1,type:ar.LIST,parse:function(A){return Mt(A).map(function(A){return A.filter(Fn)})}},Fn=function(A){return Ot(A)||xt(A)},hn=function(A){return{name:"border-"+A+"-color",initialValue:"transparent",prefix:!1,type:ar.TYPE_VALUE,format:"color"}},dn=hn("top"),Hn=hn("right"),fn=hn("bottom"),pn=hn("left"),Nn=function(A){return{name:"border-radius-"+A,initialValue:"0 0",prefix:!1,type:ar.LIST,parse:function(A){return Vt(A.filter(xt))}}},Kn=Nn("top-left"),In=Nn("top-right"),mn=Nn("bottom-right"),Tn=Nn("bottom-left");(function(A){A[A["NONE"]=0]="NONE",A[A["SOLID"]=1]="SOLID"})(gn||(gn={}));var Rn,vn=function(A){return{name:"border-"+A+"-style",initialValue:"solid",prefix:!1,type:ar.IDENT_VALUE,parse:function(A){switch(A){case"none":return gn.NONE}return gn.SOLID}}},Ln=vn("top"),On=vn("right"),bn=vn("bottom"),Dn=vn("left"),Sn=function(A){return{name:"border-"+A+"-width",initialValue:"0",type:ar.VALUE,prefix:!1,parse:function(A){return vt(A)?A.number:0}}},yn=Sn("top"),Mn=Sn("right"),_n=Sn("bottom"),Pn=Sn("left"),xn={name:"color",initialValue:"transparent",prefix:!1,type:ar.TYPE_VALUE,format:"color"},Vn={name:"display",initialValue:"inline-block",prefix:!1,type:ar.LIST,parse:function(A){return A.filter(Ot).reduce(function(A,e){return A|zn(e.value)},0)}},zn=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":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"})(Rn||(Rn={}));var Xn,Gn={name:"float",initialValue:"none",prefix:!1,type:ar.IDENT_VALUE,parse:function(A){switch(A){case"left":return Rn.LEFT;case"right":return Rn.RIGHT;case"inline-start":return Rn.INLINE_START;case"inline-end":return Rn.INLINE_END}return Rn.NONE}},Jn={name:"letter-spacing",initialValue:"0",prefix:!1,type:ar.VALUE,parse:function(A){return A.type===w.IDENT_TOKEN&&"normal"===A.value?0:A.type===w.NUMBER_TOKEN?A.number:A.type===w.DIMENSION_TOKEN?A.number:0}};(function(A){A["NORMAL"]="normal",A["STRICT"]="strict"})(Xn||(Xn={}));var kn,Wn={name:"line-break",initialValue:"normal",prefix:!1,type:ar.IDENT_VALUE,parse:function(A){switch(A){case"strict":return Xn.STRICT;case"normal":default:return Xn.NORMAL}}},Yn={name:"line-height",initialValue:"normal",prefix:!1,type:ar.TOKEN_VALUE},jn=function(A,e){return Ot(A)&&"normal"===A.value?1.2*e:A.type===w.NUMBER_TOKEN?e*A.number:xt(A)?kt(A,e):e},Zn={name:"list-style-image",initialValue:"none",type:ar.VALUE,prefix:!1,parse:function(A){return A.type===w.IDENT_TOKEN&&"none"===A.value?null:an.parse(A)}};(function(A){A[A["INSIDE"]=0]="INSIDE",A[A["OUTSIDE"]=1]="OUTSIDE"})(kn||(kn={}));var qn,$n={name:"list-style-position",initialValue:"outside",prefix:!1,type:ar.IDENT_VALUE,parse:function(A){switch(A){case"inside":return kn.INSIDE;case"outside":default:return kn.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"})(qn||(qn={}));var AB,eB={name:"list-style-type",initialValue:"none",prefix:!1,type:ar.IDENT_VALUE,parse:function(A){switch(A){case"disc":return qn.DISC;case"circle":return qn.CIRCLE;case"square":return qn.SQUARE;case"decimal":return qn.DECIMAL;case"cjk-decimal":return qn.CJK_DECIMAL;case"decimal-leading-zero":return qn.DECIMAL_LEADING_ZERO;case"lower-roman":return qn.LOWER_ROMAN;case"upper-roman":return qn.UPPER_ROMAN;case"lower-greek":return qn.LOWER_GREEK;case"lower-alpha":return qn.LOWER_ALPHA;case"upper-alpha":return qn.UPPER_ALPHA;case"arabic-indic":return qn.ARABIC_INDIC;case"armenian":return qn.ARMENIAN;case"bengali":return qn.BENGALI;case"cambodian":return qn.CAMBODIAN;case"cjk-earthly-branch":return qn.CJK_EARTHLY_BRANCH;case"cjk-heavenly-stem":return qn.CJK_HEAVENLY_STEM;case"cjk-ideographic":return qn.CJK_IDEOGRAPHIC;case"devanagari":return qn.DEVANAGARI;case"ethiopic-numeric":return qn.ETHIOPIC_NUMERIC;case"georgian":return qn.GEORGIAN;case"gujarati":return qn.GUJARATI;case"gurmukhi":return qn.GURMUKHI;case"hebrew":return qn.HEBREW;case"hiragana":return qn.HIRAGANA;case"hiragana-iroha":return qn.HIRAGANA_IROHA;case"japanese-formal":return qn.JAPANESE_FORMAL;case"japanese-informal":return qn.JAPANESE_INFORMAL;case"kannada":return qn.KANNADA;case"katakana":return qn.KATAKANA;case"katakana-iroha":return qn.KATAKANA_IROHA;case"khmer":return qn.KHMER;case"korean-hangul-formal":return qn.KOREAN_HANGUL_FORMAL;case"korean-hanja-formal":return qn.KOREAN_HANJA_FORMAL;case"korean-hanja-informal":return qn.KOREAN_HANJA_INFORMAL;case"lao":return qn.LAO;case"lower-armenian":return qn.LOWER_ARMENIAN;case"malayalam":return qn.MALAYALAM;case"mongolian":return qn.MONGOLIAN;case"myanmar":return qn.MYANMAR;case"oriya":return qn.ORIYA;case"persian":return qn.PERSIAN;case"simp-chinese-formal":return qn.SIMP_CHINESE_FORMAL;case"simp-chinese-informal":return qn.SIMP_CHINESE_INFORMAL;case"tamil":return qn.TAMIL;case"telugu":return qn.TELUGU;case"thai":return qn.THAI;case"tibetan":return qn.TIBETAN;case"trad-chinese-formal":return qn.TRAD_CHINESE_FORMAL;case"trad-chinese-informal":return qn.TRAD_CHINESE_INFORMAL;case"upper-armenian":return qn.UPPER_ARMENIAN;case"disclosure-open":return qn.DISCLOSURE_OPEN;case"disclosure-closed":return qn.DISCLOSURE_CLOSED;case"none":default:return qn.NONE}}},tB=function(A){return{name:"margin-"+A,initialValue:"0",prefix:!1,type:ar.TOKEN_VALUE}},rB=tB("top"),nB=tB("right"),BB=tB("bottom"),sB=tB("left");(function(A){A[A["VISIBLE"]=0]="VISIBLE",A[A["HIDDEN"]=1]="HIDDEN",A[A["SCROLL"]=2]="SCROLL",A[A["AUTO"]=3]="AUTO"})(AB||(AB={}));var oB,iB={name:"overflow",initialValue:"visible",prefix:!1,type:ar.LIST,parse:function(A){return A.filter(Ot).map(function(A){switch(A.value){case"hidden":return AB.HIDDEN;case"scroll":return AB.SCROLL;case"auto":return AB.AUTO;case"visible":default:return AB.VISIBLE}})}};(function(A){A["NORMAL"]="normal",A["BREAK_WORD"]="break-word"})(oB||(oB={}));var aB,cB={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:ar.IDENT_VALUE,parse:function(A){switch(A){case"break-word":return oB.BREAK_WORD;case"normal":default:return oB.NORMAL}}},QB=function(A){return{name:"padding-"+A,initialValue:"0",prefix:!1,type:ar.TYPE_VALUE,format:"length-percentage"}},uB=QB("top"),wB=QB("right"),lB=QB("bottom"),UB=QB("left");(function(A){A[A["LEFT"]=0]="LEFT",A[A["CENTER"]=1]="CENTER",A[A["RIGHT"]=2]="RIGHT"})(aB||(aB={}));var CB,gB={name:"text-align",initialValue:"left",prefix:!1,type:ar.IDENT_VALUE,parse:function(A){switch(A){case"right":return aB.RIGHT;case"center":case"justify":return aB.CENTER;case"left":default:return aB.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"})(CB||(CB={}));var EB,FB={name:"position",initialValue:"static",prefix:!1,type:ar.IDENT_VALUE,parse:function(A){switch(A){case"relative":return CB.RELATIVE;case"absolute":return CB.ABSOLUTE;case"fixed":return CB.FIXED;case"sticky":return CB.STICKY}return CB.STATIC}},hB={name:"text-shadow",initialValue:"none",type:ar.LIST,prefix:!1,parse:function(A){return 1===A.length&&Dt(A[0],"none")?[]:Mt(A).map(function(A){for(var e={color:wr.TRANSPARENT,offsetX:zt,offsetY:zt,blur:zt},t=0,r=0;r1?1:0],this.overflowWrap=es(cB,A.overflowWrap),this.paddingTop=es(uB,A.paddingTop),this.paddingRight=es(wB,A.paddingRight),this.paddingBottom=es(lB,A.paddingBottom),this.paddingLeft=es(UB,A.paddingLeft),this.position=es(FB,A.position),this.textAlign=es(gB,A.textAlign),this.textDecorationColor=es(SB,A.textDecorationColor||A.color),this.textDecorationLine=es(yB,A.textDecorationLine),this.textShadow=es(hB,A.textShadow),this.textTransform=es(HB,A.textTransform),this.transform=es(fB,A.transform),this.transformOrigin=es(TB,A.transformOrigin),this.visibility=es(vB,A.visibility),this.wordBreak=es(OB,A.wordBreak),this.zIndex=es(bB,A.zIndex)}return A.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===dB.VISIBLE},A.prototype.isTransparent=function(){return rr(this.backgroundColor)},A.prototype.isTransformed=function(){return null!==this.transform},A.prototype.isPositioned=function(){return this.position!==CB.STATIC},A.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},A.prototype.isFloating=function(){return this.float!==Rn.NONE},A.prototype.isInlineLevel=function(){return GB(this.display,4)||GB(this.display,33554432)||GB(this.display,268435456)||GB(this.display,536870912)||GB(this.display,67108864)||GB(this.display,134217728)},A}(),$B=function(){function A(A){this.content=es(JB,A.content),this.quotes=es(YB,A.quotes)}return A}(),As=function(){function A(A){this.counterIncrement=es(kB,A.counterIncrement),this.counterReset=es(WB,A.counterReset)}return A}(),es=function(A,e){var t=new Tt,r=null!==e&&"undefined"!==typeof e?e.toString():A.initialValue;t.write(r);var n=new Rt(t.read());switch(A.type){case ar.IDENT_VALUE:var B=n.parseComponentValue();return A.parse(Ot(B)?B.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 qt.parse(n.parseComponentValue());case"color":return tr.parse(n.parseComponentValue());case"image":return an.parse(n.parseComponentValue());case"length":var s=n.parseComponentValue();return Pt(s)?s:zt;case"length-percentage":var o=n.parseComponentValue();return xt(o)?o:zt}}throw new Error("Attempting to parse unsupported css format type "+A.format)},ts=function(){function A(A){this.styles=new qB(window.getComputedStyle(A,null)),this.textNodes=[],this.elements=[],null!==this.styles.transform&&_s(A)&&(A.style.transform="none"),this.bounds=s(A),this.flags=0}return A}(),rs=function(){function A(A,e){this.text=A,this.bounds=e}return A}(),ns=function(A,e,t){var r=os(A,e),n=[],B=0;return r.forEach(function(A){if(e.textDecorationLine.length||A.trim().length>0)if(br.SUPPORT_RANGE_BOUNDS)n.push(new rs(A,ss(t,B,A.length)));else{var r=t.splitText(A.length);n.push(new rs(A,Bs(t))),t=r}else br.SUPPORT_RANGE_BOUNDS||(t=t.splitText(A.length));B+=A.length}),n},Bs=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=s(t);return t.firstChild&&r.replaceChild(t.firstChild,t),n}}return new B(0,0,0,0)},ss=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),B.fromClientRect(n.getBoundingClientRect())},os=function(A,e){return 0!==e.letterSpacing?i(A).map(function(A){return a(A)}):is(A,e)},is=function(A,e){var t,r=zA(A,{lineBreak:e.lineBreak,wordBreak:e.overflowWrap===oB.BREAK_WORD?"break-word":e.wordBreak}),n=[];while(!(t=r.next()).done)t.value&&n.push(t.value.slice());return n},as=function(){function A(A,e){this.text=cs(A.data,e.textTransform),this.textBounds=ns(this.text,e,A)}return A}(),cs=function(A,e){switch(e){case EB.LOWERCASE:return A.toLowerCase();case EB.CAPITALIZE:return A.replace(Qs,us);case EB.UPPERCASE:return A.toUpperCase();default:return A}},Qs=/(^|\s|:|-|\(|\))([a-z])/g,us=function(A,e,t){return A.length>0?e+t.toUpperCase():A},ws=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,Sr.getInstance().addImage(t.src),t}return e(t,A),t}(ts),ls=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}(ts),Us=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,Sr.getInstance().addImage(t.svg),t}return e(t,A),t}(ts),Cs=function(A){function t(e){var t=A.call(this,e)||this;return t.value=e.value,t}return e(t,A),t}(ts),gs=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}(ts),Es=[{type:w.DIMENSION_TOKEN,flags:0,unit:"px",number:3}],Fs=[{type:w.PERCENTAGE_TOKEN,flags:0,number:50}],hs=function(A){return A.width>A.height?new B(A.left+(A.width-A.height)/2,A.top,A.height,A.height):A.width0)e.textNodes.push(new as(r,e.styles));else if(Ms(r)){var B=Os(r);B.styles.isVisible()&&(Ds(r,B,t)?B.flags|=4:Ss(B.styles)&&(B.flags|=2),-1!==vs.indexOf(r.tagName)&&(B.flags|=8),e.elements.push(B),Zs(r)||Xs(r)||qs(r)||Ls(r,B,t))}},Os=function(A){return ks(A)?new ws(A):Js(A)?new ls(A):Xs(A)?new Us(A):Ps(A)?new Cs(A):xs(A)?new gs(A):Vs(A)?new Ks(A):qs(A)?new Is(A):Zs(A)?new ms(A):Ws(A)?new Rs(A):new ts(A)},bs=function(A){var e=Os(A);return e.flags|=4,Ls(A,e,e),e},Ds=function(A,e,t){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||Gs(A)&&t.styles.isTransparent()},Ss=function(A){return A.isPositioned()||A.isFloating()},ys=function(A){return A.nodeType===Node.TEXT_NODE},Ms=function(A){return A.nodeType===Node.ELEMENT_NODE},_s=function(A){return"undefined"!==typeof A.style},Ps=function(A){return"LI"===A.tagName},xs=function(A){return"OL"===A.tagName},Vs=function(A){return"INPUT"===A.tagName},zs=function(A){return"HTML"===A.tagName},Xs=function(A){return"svg"===A.tagName},Gs=function(A){return"BODY"===A.tagName},Js=function(A){return"CANVAS"===A.tagName},ks=function(A){return"IMG"===A.tagName},Ws=function(A){return"IFRAME"===A.tagName},Ys=function(A){return"STYLE"===A.tagName},js=function(A){return"SCRIPT"===A.tagName},Zs=function(A){return"TEXTAREA"===A.tagName},qs=function(A){return"SELECT"===A.tagName},$s=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;null!==t&&t.forEach(function(A){var t=e.counters[A.counter];t&&(t[Math.max(0,t.length-1)]+=A.increment)});var n=[];return r.forEach(function(A){var t=e.counters[A.counter];n.push(A.counter),t||(t=e.counters[A.counter]=[]),t.push(A.reset)}),n},A}(),Ao={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"]},eo={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:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},to={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:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},ro={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:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},no=function(A,e,t,r,n,B){return At?go(A,n,B.length>0):r.integers.reduce(function(e,t,n){while(A>=t)A-=t,e+=r.values[n];return e},"")+B},Bo=function(A,e,t,r){var n="";do{t||A--,n=r(A)+n,A/=e}while(A*e>=e);return n},so=function(A,e,t,r,n){var B=t-e+1;return(A<0?"-":"")+(Bo(Math.abs(A),B,r,function(A){return a(Math.floor(A%B)+e)})+n)},oo=function(A,e,t){void 0===t&&(t=". ");var r=e.length;return Bo(Math.abs(A),r,!1,function(A){return e[Math.floor(A%r)]})+t},io=1,ao=2,co=4,Qo=8,uo=function(A,e,t,r,n,B){if(A<-9999||A>9999)return go(A,qn.CJK_DECIMAL,n.length>0);var s=Math.abs(A),o=n;if(0===s)return e[0]+o;for(var i=0;s>0&&i<=4;i++){var a=s%10;0===a&&GB(B,io)&&""!==o?o=e[a]+o:a>1||1===a&&0===i||1===a&&1===i&&GB(B,ao)||1===a&&1===i&&GB(B,co)&&A>100||1===a&&i>1&&GB(B,Qo)?o=e[a]+(i>0?t[i-1]:"")+o:1===a&&i>0&&(o=t[i-1]+o),s=Math.floor(s/10)}return(A<0?r:"")+o},wo="十百千萬",lo="拾佰仟萬",Uo="マイナス",Co="마이너스",go=function(A,e,t){var r=t?". ":"",n=t?"、":"",B=t?", ":"",s=t?" ":"";switch(e){case qn.DISC:return"•"+s;case qn.CIRCLE:return"◦"+s;case qn.SQUARE:return"◾"+s;case qn.DECIMAL_LEADING_ZERO:var o=so(A,48,57,!0,r);return o.length<4?"0"+o:o;case qn.CJK_DECIMAL:return oo(A,"〇一二三四五六七八九",n);case qn.LOWER_ROMAN:return no(A,1,3999,Ao,qn.DECIMAL,r).toLowerCase();case qn.UPPER_ROMAN:return no(A,1,3999,Ao,qn.DECIMAL,r);case qn.LOWER_GREEK:return so(A,945,969,!1,r);case qn.LOWER_ALPHA:return so(A,97,122,!1,r);case qn.UPPER_ALPHA:return so(A,65,90,!1,r);case qn.ARABIC_INDIC:return so(A,1632,1641,!0,r);case qn.ARMENIAN:case qn.UPPER_ARMENIAN:return no(A,1,9999,eo,qn.DECIMAL,r);case qn.LOWER_ARMENIAN:return no(A,1,9999,eo,qn.DECIMAL,r).toLowerCase();case qn.BENGALI:return so(A,2534,2543,!0,r);case qn.CAMBODIAN:case qn.KHMER:return so(A,6112,6121,!0,r);case qn.CJK_EARTHLY_BRANCH:return oo(A,"子丑寅卯辰巳午未申酉戌亥",n);case qn.CJK_HEAVENLY_STEM:return oo(A,"甲乙丙丁戊己庚辛壬癸",n);case qn.CJK_IDEOGRAPHIC:case qn.TRAD_CHINESE_INFORMAL:return uo(A,"零一二三四五六七八九",wo,"負",n,ao|co|Qo);case qn.TRAD_CHINESE_FORMAL:return uo(A,"零壹貳參肆伍陸柒捌玖",lo,"負",n,io|ao|co|Qo);case qn.SIMP_CHINESE_INFORMAL:return uo(A,"零一二三四五六七八九",wo,"负",n,ao|co|Qo);case qn.SIMP_CHINESE_FORMAL:return uo(A,"零壹贰叁肆伍陆柒捌玖",lo,"负",n,io|ao|co|Qo);case qn.JAPANESE_INFORMAL:return uo(A,"〇一二三四五六七八九","十百千万",Uo,n,0);case qn.JAPANESE_FORMAL:return uo(A,"零壱弐参四伍六七八九","拾百千万",Uo,n,io|ao|co);case qn.KOREAN_HANGUL_FORMAL:return uo(A,"영일이삼사오육칠팔구","십백천만",Co,B,io|ao|co);case qn.KOREAN_HANJA_INFORMAL:return uo(A,"零一二三四五六七八九","十百千萬",Co,B,0);case qn.KOREAN_HANJA_FORMAL:return uo(A,"零壹貳參四五六七八九","拾百千",Co,B,io|ao|co);case qn.DEVANAGARI:return so(A,2406,2415,!0,r);case qn.GEORGIAN:return no(A,1,19999,ro,qn.DECIMAL,r);case qn.GUJARATI:return so(A,2790,2799,!0,r);case qn.GURMUKHI:return so(A,2662,2671,!0,r);case qn.HEBREW:return no(A,1,10999,to,qn.DECIMAL,r);case qn.HIRAGANA:return oo(A,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case qn.HIRAGANA_IROHA:return oo(A,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case qn.KANNADA:return so(A,3302,3311,!0,r);case qn.KATAKANA:return oo(A,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",n);case qn.KATAKANA_IROHA:return oo(A,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",n);case qn.LAO:return so(A,3792,3801,!0,r);case qn.MONGOLIAN:return so(A,6160,6169,!0,r);case qn.MYANMAR:return so(A,4160,4169,!0,r);case qn.ORIYA:return so(A,2918,2927,!0,r);case qn.PERSIAN:return so(A,1776,1785,!0,r);case qn.TAMIL:return so(A,3046,3055,!0,r);case qn.TELUGU:return so(A,3174,3183,!0,r);case qn.THAI:return so(A,3664,3673,!0,r);case qn.TIBETAN:return so(A,3872,3881,!0,r);case qn.DECIMAL:default:return so(A,48,57,!0,r)}},Eo="data-html2canvas-ignore",Fo=function(){function A(A,e){if(this.options=e,this.scrolledElements=[],this.referenceElement=A,this.counters=new $s,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,r=Ho(A,e);if(!r.contentWindow)return Promise.reject("Unable to find iframe window");var n=A.defaultView.pageXOffset,B=A.defaultView.pageYOffset,s=r.contentWindow,o=s.document,i=fo(r).then(function(){t.scrolledElements.forEach(Io),s&&(s.scrollTo(e.left,e.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||s.scrollY===e.top&&s.scrollX===e.left||(o.documentElement.style.top=-e.top+"px",o.documentElement.style.left=-e.left+"px",o.documentElement.style.position="absolute"));var A=t.options.onclone;return"undefined"===typeof t.clonedReferenceElement?Promise.reject("Error finding the "+t.referenceElement.nodeName+" in the cloned document"):"function"===typeof A?Promise.resolve().then(function(){return A(o)}).then(function(){return r}):r});return o.open(),o.write(No(document.doctype)+""),Ko(this.referenceElement.ownerDocument,n,B),o.replaceChild(o.adoptNode(this.documentElement),o.documentElement),o.close(),i},A.prototype.createElementClone=function(A){return Js(A)?this.createCanvasClone(A):Ys(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(Me){if(Dr.getInstance(this.options.id).error("Unable to access cssRules property",Me),"SecurityError"!==Me.name)throw Me}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(Me){Dr.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(Me){}return t},A.prototype.cloneNode=function(A){if(ys(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);var e=A.ownerDocument.defaultView;if(_s(A)&&e){var t=this.createElementClone(A),r=e.getComputedStyle(A),n=e.getComputedStyle(A,":before"),B=e.getComputedStyle(A,":after");this.referenceElement===A&&(this.clonedReferenceElement=t),Gs(t)&&Oo(t);for(var s=this.counters.parse(new As(r)),o=this.resolvePseudoContent(A,t,n,zB.BEFORE),i=A.firstChild;i;i=i.nextSibling)Ms(i)&&(js(i)||i.hasAttribute(Eo)||"function"===typeof this.options.ignoreElements&&this.options.ignoreElements(i))||this.options.copyStyles&&Ms(i)&&Ys(i)||t.appendChild(this.cloneNode(i));o&&t.insertBefore(o,t.firstChild);var a=this.resolvePseudoContent(A,t,B,zB.AFTER);return a&&t.appendChild(a),this.counters.pop(s),r&&this.options.copyStyles&&!Ws(A)&&po(r,t),0===A.scrollTop&&0===A.scrollLeft||this.scrolledElements.push([t,A.scrollLeft,A.scrollTop]),(Zs(A)||qs(A))&&(Zs(t)||qs(t))&&(t.value=A.value),t}return A.cloneNode(!1)},A.prototype.resolvePseudoContent=function(A,e,t,r){var n=this;if(t){var B=t.content,s=e.ownerDocument;if(s&&B&&"none"!==B&&"-moz-alt-content"!==B&&"none"!==t.display){this.counters.parse(new As(t));var o=new $B(t),i=s.createElement("html2canvaspseudoelement");return po(t,i),o.content.forEach(function(e){if(e.type===w.STRING_TOKEN)i.appendChild(s.createTextNode(e.value));else if(e.type===w.URL_TOKEN){var t=s.createElement("img");t.src=e.value,t.style.opacity="1",i.appendChild(t)}else if(e.type===w.FUNCTION){if("attr"===e.name){var r=e.values.filter(Ot);r.length&&i.appendChild(s.createTextNode(A.getAttribute(r[0].value)||""))}else if("counter"===e.name){var B=e.values.filter(yt),a=B[0],c=B[1];if(a&&Ot(a)){var Q=n.counters.getCounterValue(a.value),u=c&&Ot(c)?eB.parse(c.value):qn.DECIMAL;i.appendChild(s.createTextNode(go(Q,u,!1)))}}else if("counters"===e.name){var l=e.values.filter(yt),U=(a=l[0],l[1]);c=l[2];if(a&&Ot(a)){var C=n.counters.getCounterValues(a.value),g=c&&Ot(c)?eB.parse(c.value):qn.DECIMAL,E=U&&U.type===w.STRING_TOKEN?U.value:"",F=C.map(function(A){return go(A,g,!1)}).join(E);i.appendChild(s.createTextNode(F))}}}else if(e.type===w.IDENT_TOKEN)switch(e.value){case"open-quote":i.appendChild(s.createTextNode(jB(o.quotes,n.quoteDepth++,!0)));break;case"close-quote":i.appendChild(s.createTextNode(jB(o.quotes,--n.quoteDepth,!1)));break;default:}}),i.className=Ro+" "+vo,e.className+=r===zB.BEFORE?" "+Ro:" "+vo,i}}},A}();(function(A){A[A["BEFORE"]=0]="BEFORE",A[A["AFTER"]=1]="AFTER"})(zB||(zB={}));var ho,Ho=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(Eo,"true"),A.body.appendChild(t),t},fo=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)}})},po=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},No=function(A){var e="";return A&&(e+=""),e},Ko=function(A,e,t){A&&A.defaultView&&(e!==A.defaultView.pageXOffset||t!==A.defaultView.pageYOffset)&&A.defaultView.scrollTo(e,t)},Io=function(A){var e=A[0],t=A[1],r=A[2];e.scrollLeft=t,e.scrollTop=r},mo=":before",To=":after",Ro="___html2canvas___pseudoelement_before",vo="___html2canvas___pseudoelement_after",Lo='{\n content: "" !important;\n display: none !important;\n}',Oo=function(A){bo(A,"."+Ro+mo+Lo+"\n ."+vo+To+Lo)},bo=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"})(ho||(ho={}));var Do,So=function(A,e){return A.length===e.length&&A.some(function(A,t){return A===e[t]})},yo=function(A,e,t,r,n){return A.map(function(A,B){switch(B){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})},Mo=function(){function A(A,e){this.type=ho.VECTOR,this.x=A,this.y=e}return A.prototype.add=function(e,t){return new A(this.x+e,this.y+t)},A}(),_o=function(A,e,t){return new Mo(A.x+(e.x-A.x)*t,A.y+(e.y-A.y)*t)},Po=function(){function A(A,e,t,r){this.type=ho.BEZIER_CURVE,this.start=A,this.startControl=e,this.endControl=t,this.end=r}return A.prototype.subdivide=function(e,t){var r=_o(this.start,this.startControl,e),n=_o(this.startControl,this.endControl,e),B=_o(this.endControl,this.end,e),s=_o(r,n,e),o=_o(n,B,e),i=_o(s,o,e);return t?new A(this.start,r,s,i):new A(i,o,B,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}(),xo=function(A){return A.type===ho.BEZIER_CURVE},Vo=function(){function A(A){var e=A.styles,t=A.bounds,r=Jt(e.borderTopLeftRadius,t.width,t.height),n=r[0],B=r[1],s=Jt(e.borderTopRightRadius,t.width,t.height),o=s[0],i=s[1],a=Jt(e.borderBottomRightRadius,t.width,t.height),c=a[0],Q=a[1],u=Jt(e.borderBottomLeftRadius,t.width,t.height),w=u[0],l=u[1],U=[];U.push((n+o)/t.width),U.push((w+c)/t.width),U.push((B+l)/t.height),U.push((i+Q)/t.height);var C=Math.max.apply(Math,U);C>1&&(n/=C,B/=C,o/=C,i/=C,c/=C,Q/=C,w/=C,l/=C);var g=t.width-o,E=t.height-Q,F=t.width-c,h=t.height-l,d=e.borderTopWidth,H=e.borderRightWidth,f=e.borderBottomWidth,p=e.borderLeftWidth,N=kt(e.paddingTop,A.bounds.width),K=kt(e.paddingRight,A.bounds.width),I=kt(e.paddingBottom,A.bounds.width),m=kt(e.paddingLeft,A.bounds.width);this.topLeftBorderBox=n>0||B>0?zo(t.left,t.top,n,B,Do.TOP_LEFT):new Mo(t.left,t.top),this.topRightBorderBox=o>0||i>0?zo(t.left+g,t.top,o,i,Do.TOP_RIGHT):new Mo(t.left+t.width,t.top),this.bottomRightBorderBox=c>0||Q>0?zo(t.left+F,t.top+E,c,Q,Do.BOTTOM_RIGHT):new Mo(t.left+t.width,t.top+t.height),this.bottomLeftBorderBox=w>0||l>0?zo(t.left,t.top+h,w,l,Do.BOTTOM_LEFT):new Mo(t.left,t.top+t.height),this.topLeftPaddingBox=n>0||B>0?zo(t.left+p,t.top+d,Math.max(0,n-p),Math.max(0,B-d),Do.TOP_LEFT):new Mo(t.left+p,t.top+d),this.topRightPaddingBox=o>0||i>0?zo(t.left+Math.min(g,t.width+p),t.top+d,g>t.width+p?0:o-p,i-d,Do.TOP_RIGHT):new Mo(t.left+t.width-H,t.top+d),this.bottomRightPaddingBox=c>0||Q>0?zo(t.left+Math.min(F,t.width-p),t.top+Math.min(E,t.height+d),Math.max(0,c-H),Q-f,Do.BOTTOM_RIGHT):new Mo(t.left+t.width-H,t.top+t.height-f),this.bottomLeftPaddingBox=w>0||l>0?zo(t.left+p,t.top+h,Math.max(0,w-p),l-f,Do.BOTTOM_LEFT):new Mo(t.left+p,t.top+t.height-f),this.topLeftContentBox=n>0||B>0?zo(t.left+p+m,t.top+d+N,Math.max(0,n-(p+m)),Math.max(0,B-(d+N)),Do.TOP_LEFT):new Mo(t.left+p+m,t.top+d+N),this.topRightContentBox=o>0||i>0?zo(t.left+Math.min(g,t.width+p+m),t.top+d+N,g>t.width+p+m?0:o-p+m,i-(d+N),Do.TOP_RIGHT):new Mo(t.left+t.width-(H+K),t.top+d+N),this.bottomRightContentBox=c>0||Q>0?zo(t.left+Math.min(F,t.width-(p+m)),t.top+Math.min(E,t.height+d+N),Math.max(0,c-(H+K)),Q-(f+I),Do.BOTTOM_RIGHT):new Mo(t.left+t.width-(H+K),t.top+t.height-(f+I)),this.bottomLeftContentBox=w>0||l>0?zo(t.left+p+m,t.top+h,Math.max(0,w-(p+m)),l-(f+I),Do.BOTTOM_LEFT):new Mo(t.left+p+m,t.top+t.height-(f+I))}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"})(Do||(Do={}));var zo=function(A,e,t,r,n){var B=(Math.sqrt(2)-1)/3*4,s=t*B,o=r*B,i=A+t,a=e+r;switch(n){case Do.TOP_LEFT:return new Po(new Mo(A,a),new Mo(A,a-o),new Mo(i-s,e),new Mo(i,e));case Do.TOP_RIGHT:return new Po(new Mo(A,e),new Mo(A+s,e),new Mo(i,a-o),new Mo(i,a));case Do.BOTTOM_RIGHT:return new Po(new Mo(i,e),new Mo(i,e+o),new Mo(A+s,a),new Mo(A,a));case Do.BOTTOM_LEFT:default:return new Po(new Mo(i,a),new Mo(i-s,a),new Mo(A,e+o),new Mo(A,e))}},Xo=function(A){return[A.topLeftBorderBox,A.topRightBorderBox,A.bottomRightBorderBox,A.bottomLeftBorderBox]},Go=function(A){return[A.topLeftContentBox,A.topRightContentBox,A.bottomRightContentBox,A.bottomLeftContentBox]},Jo=function(A){return[A.topLeftPaddingBox,A.topRightPaddingBox,A.bottomRightPaddingBox,A.bottomLeftPaddingBox]},ko=function(){function A(A,e,t){this.type=0,this.offsetX=A,this.offsetY=e,this.matrix=t,this.target=6}return A}(),Wo=function(){function A(A,e){this.type=1,this.target=e,this.path=A}return A}(),Yo=function(A){return 0===A.type},jo=function(A){return 1===A.type},Zo=function(){function A(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return A}(),qo=function(){function A(A,e){if(this.container=A,this.effects=e.slice(0),this.curves=new Vo(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 ko(t,r,n))}if(A.styles.overflowX!==AB.VISIBLE){var B=Xo(this.curves),s=Jo(this.curves);So(B,s)?this.effects.push(new Wo(B,6)):(this.effects.push(new Wo(B,2)),this.effects.push(new Wo(s,4)))}}return A.prototype.getParentEffects=function(){var A=this.effects.slice(0);if(this.container.styles.overflowX!==AB.VISIBLE){var e=Xo(this.curves),t=Jo(this.curves);So(e,t)||A.push(new Wo(t,6))}return A},A}(),$o=function(A,e,t,r){A.container.elements.forEach(function(n){var B=GB(n.flags,4),s=GB(n.flags,2),o=new qo(n,A.getParentEffects());GB(n.styles.display,2048)&&r.push(o);var i=GB(n.flags,8)?[]:r;if(B||s){var a=B||n.styles.isPositioned()?t:e,c=new Zo(o);if(n.styles.isPositioned()||n.styles.opacity<1||n.styles.isTransformed()){var Q=n.styles.zIndex.order;if(Q<0){var u=0;a.negativeZIndex.some(function(A,e){return Q>A.element.container.styles.zIndex.order&&(u=e,!0)}),a.negativeZIndex.splice(u,0,c)}else if(Q>0){var w=0;a.positiveZIndex.some(function(A,e){return Q>A.element.container.styles.zIndex.order&&(w=e+1,!0)}),a.positiveZIndex.splice(w,0,c)}else a.zeroOrAutoZIndexOrTransformedOrOpacity.push(c)}else n.styles.isFloating()?a.nonPositionedFloats.push(c):a.nonPositionedInlineLevel.push(c);$o(o,c,B?c:t,i)}else n.styles.isInlineLevel()?e.inlineLevel.push(o):e.nonInlineLevel.push(o),$o(o,e,t,i);GB(n.flags,8)&&Ai(n,i)})},Ai=function(A,e){for(var t=A instanceof gs?A.start:1,r=A instanceof gs&&A.reversed,n=0;n0&&A.intrinsicHeight>0){var r=Bi(A),n=Jo(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,s,o,i,a,c,Q,u,w,l,U,C,g,E;return n(this,function(n){switch(n.label){case 0:this.applyEffects(e.effects,4),t=e.container,r=e.curves,s=t.styles,o=0,i=t.textNodes,n.label=1;case 1:return o0&&T>0&&(v=r.ctx.createRadialGradient(d+K,H+I,0,d+K,H+I,T),Er(t.stops,2*T).forEach(function(A){return v.addColorStop(A.stop,nr(A.color))}),r.path(h),r.ctx.fillStyle=v,T!==R?(L=A.bounds.left+.5*A.bounds.width,O=A.bounds.top+.5*A.bounds.height,b=R/T,D=1/b,r.ctx.save(),r.ctx.translate(L,O),r.ctx.transform(1,0,0,b,0,0),r.ctx.translate(-L,-O),r.ctx.fillRect(d,D*(H-O)+O,f,p*D),r.ctx.restore()):r.ctx.fill())),n.label=6;case 6:return e--,[2]}})},r=this,B=0,s=A.styles.backgroundImage.slice(0).reverse(),i.label=1;case 1:return B0?t("swiper",{staticClass:"swiper-wrapper",attrs:{options:A.ProductConSwiper}},A._l(A.imgUrls,function(A){return t("swiperSlide",{key:A,ref:"goodSwiper",refInFor:!0,staticClass:"swiper-slide"},[t("img",{staticClass:"slide-image",attrs:{src:A}})])}),1):A._e(),t("div",{staticClass:"pages"},[A._v(A._s(A.currents||1)+"/"+A._s(A.imgUrls.length||1))])],1)},n=[],B=t("7212"),s=(t("e5d0"),{name:"ProductConSwiper",components:{swiper:B["swiper"],swiperSlide:B["swiperSlide"]},props:{imgUrls:{type:Array,default:function(){return[]}}},data:function(){var A=this;return{currents:1,ProductConSwiper:{autoplay:{disableOnInteraction:!1,delay:2e3},loop:!0,speed:1e3,observer:!0,observeParents:!0,on:{slideChangeTransitionStart:function(){A.currents=this.realIndex+1}}}}},mounted:function(){},methods:{}}),o=s,i=t("2877"),a=Object(i["a"])(o,r,n,!1,null,null,null);e["a"]=a.exports},c6da:function(A,e,t){"use strict";var r=function(){var A=this,e=A.$createElement,t=A._self._c||e;return t("div",[t("div",{staticClass:"product-window",class:!0===A.attr.cartAttr?"on":""},[t("div",{staticClass:"textpic acea-row row-between-wrapper"},[t("div",{staticClass:"pictrue"},[t("img",{staticClass:"image",attrs:{src:A.attr.productSelect.image}})]),t("div",{staticClass:"text"},[t("div",{staticClass:"line1"},[A._v("\n "+A._s(A.attr.productSelect.store_name)+"\n ")]),t("div",{staticClass:"money font-color-red"},[A._v("\n ¥"),t("span",{staticClass:"num"},[A._v(A._s(A.attr.productSelect.price))]),t("span",{staticClass:"stock"},[A._v("库存: "+A._s(A.attr.productSelect.stock))])])]),t("div",{staticClass:"iconfont icon-guanbi",on:{click:A.closeAttr}})]),t("div",{staticClass:"productWinList"},A._l(A.attr.productAttr,function(e,r){return t("div",{key:r,staticClass:"item"},[t("div",{staticClass:"title"},[A._v(A._s(e.attr_name))]),t("div",{staticClass:"listn acea-row row-middle"},A._l(e.attr_value,function(n,B){return t("div",{key:B,staticClass:"itemn",class:e.index===B?"on":"",on:{click:function(e){return A.tapAttr(r,B)}}},[A._v("\n "+A._s(n.attr)+"\n ")])}),0)])}),0),t("div",{staticClass:"cart"},[t("div",{staticClass:"title"},[A._v("数量")]),t("div",{staticClass:"carnum acea-row row-left"},[t("div",{staticClass:"item reduce",class:A.attr.productSelect.cart_num<=1?"on":"",on:{click:A.CartNumDes}},[A._v("\n -\n ")]),t("div",{staticClass:"item num"},[A._v(A._s(A.attr.productSelect.cart_num))]),t("div",{staticClass:"item plus",class:A.attr.productSelect.cart_num>=A.attr.productSelect.stock?"on":"",on:{click:A.CartNumAdd}},[A._v("\n +\n ")])])])]),t("div",{staticClass:"mask",attrs:{hidden:!1===A.attr.cartAttr},on:{touchmove:function(A){A.preventDefault()},click:A.closeAttr}})])},n=[],B=(t("55dd"),{name:"ProductWindow",props:{attr:{type:Object,default:function(){}}},data:function(){return{}},mounted:function(){},methods:{closeAttr:function(){this.$emit("changeFun",{action:"changeattr",value:!1})},CartNumDes:function(){this.$emit("changeFun",{action:"ChangeCartNum",value:!1})},CartNumAdd:function(){this.$emit("changeFun",{action:"ChangeCartNum",value:1})},tapAttr:function(A,e){var t=this;t.attr.productAttr[A].index=e;var r=t.getCheckedValue().sort().join(",");t.$emit("changeFun",{action:"ChangeAttr",value:r})},getCheckedValue:function(){for(var A=this.attr.productAttr,e=[],t=0;t