gp-designer 1.0.78 → 1.0.79

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,12 +1,12 @@
1
- (function(ve,c){typeof exports=="object"&&typeof module<"u"?c(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],c):(ve=typeof globalThis<"u"?globalThis:ve||self,c(ve.GpWebModule={},ve.Vue))})(this,function(ve,c){"use strict";var nA;(function(A){A.Root="root",A.Text="text",A.Directive="directive",A.Comment="comment",A.Script="script",A.Style="style",A.Tag="tag",A.CDATA="cdata",A.Doctype="doctype"})(nA||(nA={}));function zl(A){return A.type===nA.Tag||A.type===nA.Script||A.type===nA.Style}const A0=nA.Root,e0=nA.Text,t0=nA.Directive,r0=nA.Comment,n0=nA.Script,a0=nA.Style,s0=nA.Tag,i0=nA.CDATA,u0=nA.Doctype;let pi=class{constructor(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}get parentNode(){return this.parent}set parentNode(e){this.parent=e}get previousSibling(){return this.prev}set previousSibling(e){this.prev=e}get nextSibling(){return this.next}set nextSibling(e){this.next=e}cloneNode(e=!1){return Vt(this,e)}};class la extends pi{constructor(e){super(),this.data=e}get nodeValue(){return this.data}set nodeValue(e){this.data=e}}class Kt extends la{constructor(){super(...arguments),this.type=nA.Text}get nodeType(){return 3}}class fa extends la{constructor(){super(...arguments),this.type=nA.Comment}get nodeType(){return 8}}class ha extends la{constructor(e,t){super(t),this.name=e,this.type=nA.Directive}get nodeType(){return 1}}class da extends pi{constructor(e){super(),this.children=e}get firstChild(){var e;return(e=this.children[0])!==null&&e!==void 0?e:null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(e){this.children=e}}class Ci extends da{constructor(){super(...arguments),this.type=nA.CDATA}get nodeType(){return 4}}class At extends da{constructor(){super(...arguments),this.type=nA.Root}get nodeType(){return 9}}class Ba extends da{constructor(e,t,r=[],n=e==="script"?nA.Script:e==="style"?nA.Style:nA.Tag){super(r),this.name=e,this.attribs=t,this.type=n}get nodeType(){return 1}get tagName(){return this.name}set tagName(e){this.name=e}get attributes(){return Object.keys(this.attribs).map(e=>{var t,r;return{name:e,value:this.attribs[e],namespace:(t=this["x-attribsNamespace"])===null||t===void 0?void 0:t[e],prefix:(r=this["x-attribsPrefix"])===null||r===void 0?void 0:r[e]}})}}function W(A){return zl(A)}function Or(A){return A.type===nA.CDATA}function ge(A){return A.type===nA.Text}function Rr(A){return A.type===nA.Comment}function ga(A){return A.type===nA.Directive}function Se(A){return A.type===nA.Root}function vA(A){return Object.prototype.hasOwnProperty.call(A,"children")}function Vt(A,e=!1){let t;if(ge(A))t=new Kt(A.data);else if(Rr(A))t=new fa(A.data);else if(W(A)){const r=e?Ea(A.children):[],n=new Ba(A.name,{...A.attribs},r);r.forEach(a=>a.parent=n),A.namespace!=null&&(n.namespace=A.namespace),A["x-attribsNamespace"]&&(n["x-attribsNamespace"]={...A["x-attribsNamespace"]}),A["x-attribsPrefix"]&&(n["x-attribsPrefix"]={...A["x-attribsPrefix"]}),t=n}else if(Or(A)){const r=e?Ea(A.children):[],n=new Ci(r);r.forEach(a=>a.parent=n),t=n}else if(Se(A)){const r=e?Ea(A.children):[],n=new At(r);r.forEach(a=>a.parent=n),A["x-mode"]&&(n["x-mode"]=A["x-mode"]),t=n}else if(ga(A)){const r=new ha(A.name,A.data);A["x-name"]!=null&&(r["x-name"]=A["x-name"],r["x-publicId"]=A["x-publicId"],r["x-systemId"]=A["x-systemId"]),t=r}else throw new Error(`Not implemented yet: ${A.type}`);return t.startIndex=A.startIndex,t.endIndex=A.endIndex,A.sourceCodeLocation!=null&&(t.sourceCodeLocation=A.sourceCodeLocation),t}function Ea(A){const e=A.map(t=>Vt(t,!0));for(let t=1;t<e.length;t++)e[t].prev=e[t-1],e[t-1].next=e[t];return e}const wi={withStartIndices:!1,withEndIndices:!1,xmlMode:!1};class o0{constructor(e,t,r){this.dom=[],this.root=new At(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof t=="function"&&(r=t,t=wi),typeof e=="object"&&(t=e,e=void 0),this.callback=e??null,this.options=t??wi,this.elementCB=r??null}onparserinit(e){this.parser=e}onreset(){this.dom=[],this.root=new At(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null}onend(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))}onerror(e){this.handleCallback(e)}onclosetag(){this.lastNode=null;const e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)}onopentag(e,t){const r=this.options.xmlMode?nA.Tag:void 0,n=new Ba(e,t,void 0,r);this.addNode(n),this.tagStack.push(n)}ontext(e){const{lastNode:t}=this;if(t&&t.type===nA.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{const r=new Kt(e);this.addNode(r),this.lastNode=r}}oncomment(e){if(this.lastNode&&this.lastNode.type===nA.Comment){this.lastNode.data+=e;return}const t=new fa(e);this.addNode(t),this.lastNode=t}oncommentend(){this.lastNode=null}oncdatastart(){const e=new Kt(""),t=new Ci([e]);this.addNode(t),e.parent=t,this.lastNode=e}oncdataend(){this.lastNode=null}onprocessinginstruction(e,t){const r=new ha(e,t);this.addNode(r)}handleCallback(e){if(typeof this.callback=="function")this.callback(e,this.dom);else if(e)throw e}addNode(e){const t=this.tagStack[this.tagStack.length-1],r=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),r&&(e.prev=r,r.next=e),e.parent=t,this.lastNode=null}}const ma=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(A=>A.charCodeAt(0))),Ti=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(A=>A.charCodeAt(0)));var pa;const c0=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Ca=(pa=String.fromCodePoint)!==null&&pa!==void 0?pa:function(A){let e="";return A>65535&&(A-=65536,e+=String.fromCharCode(A>>>10&1023|55296),A=56320|A&1023),e+=String.fromCharCode(A),e};function l0(A){var e;return A>=55296&&A<=57343||A>1114111?65533:(e=c0.get(A))!==null&&e!==void 0?e:A}var SA;(function(A){A[A.NUM=35]="NUM",A[A.SEMI=59]="SEMI",A[A.EQUALS=61]="EQUALS",A[A.ZERO=48]="ZERO",A[A.NINE=57]="NINE",A[A.LOWER_A=97]="LOWER_A",A[A.LOWER_F=102]="LOWER_F",A[A.LOWER_X=120]="LOWER_X",A[A.LOWER_Z=122]="LOWER_Z",A[A.UPPER_A=65]="UPPER_A",A[A.UPPER_F=70]="UPPER_F",A[A.UPPER_Z=90]="UPPER_Z"})(SA||(SA={}));const f0=32;var xe;(function(A){A[A.VALUE_LENGTH=49152]="VALUE_LENGTH",A[A.BRANCH_LENGTH=16256]="BRANCH_LENGTH",A[A.JUMP_TABLE=127]="JUMP_TABLE"})(xe||(xe={}));function wa(A){return A>=SA.ZERO&&A<=SA.NINE}function h0(A){return A>=SA.UPPER_A&&A<=SA.UPPER_F||A>=SA.LOWER_A&&A<=SA.LOWER_F}function d0(A){return A>=SA.UPPER_A&&A<=SA.UPPER_Z||A>=SA.LOWER_A&&A<=SA.LOWER_Z||wa(A)}function B0(A){return A===SA.EQUALS||d0(A)}var xA;(function(A){A[A.EntityStart=0]="EntityStart",A[A.NumericStart=1]="NumericStart",A[A.NumericDecimal=2]="NumericDecimal",A[A.NumericHex=3]="NumericHex",A[A.NamedEntity=4]="NamedEntity"})(xA||(xA={}));var re;(function(A){A[A.Legacy=0]="Legacy",A[A.Strict=1]="Strict",A[A.Attribute=2]="Attribute"})(re||(re={}));class Ta{constructor(e,t,r){this.decodeTree=e,this.emitCodePoint=t,this.errors=r,this.state=xA.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=re.Strict}startEntity(e){this.decodeMode=e,this.state=xA.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case xA.EntityStart:return e.charCodeAt(t)===SA.NUM?(this.state=xA.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=xA.NamedEntity,this.stateNamedEntity(e,t));case xA.NumericStart:return this.stateNumericStart(e,t);case xA.NumericDecimal:return this.stateNumericDecimal(e,t);case xA.NumericHex:return this.stateNumericHex(e,t);case xA.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|f0)===SA.LOWER_X?(this.state=xA.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=xA.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,r,n){if(t!==r){const a=r-t;this.result=this.result*Math.pow(n,a)+parseInt(e.substr(t,a),n),this.consumed+=a}}stateNumericHex(e,t){const r=t;for(;t<e.length;){const n=e.charCodeAt(t);if(wa(n)||h0(n))t+=1;else return this.addToNumericResult(e,r,t,16),this.emitNumericEntity(n,3)}return this.addToNumericResult(e,r,t,16),-1}stateNumericDecimal(e,t){const r=t;for(;t<e.length;){const n=e.charCodeAt(t);if(wa(n))t+=1;else return this.addToNumericResult(e,r,t,10),this.emitNumericEntity(n,2)}return this.addToNumericResult(e,r,t,10),-1}emitNumericEntity(e,t){var r;if(this.consumed<=t)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===SA.SEMI)this.consumed+=1;else if(this.decodeMode===re.Strict)return 0;return this.emitCodePoint(l0(this.result),this.consumed),this.errors&&(e!==SA.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){const{decodeTree:r}=this;let n=r[this.treeIndex],a=(n&xe.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){const s=e.charCodeAt(t);if(this.treeIndex=g0(r,n,this.treeIndex+Math.max(1,a),s),this.treeIndex<0)return this.result===0||this.decodeMode===re.Attribute&&(a===0||B0(s))?0:this.emitNotTerminatedNamedEntity();if(n=r[this.treeIndex],a=(n&xe.VALUE_LENGTH)>>14,a!==0){if(s===SA.SEMI)return this.emitNamedEntityData(this.treeIndex,a,this.consumed+this.excess);this.decodeMode!==re.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:t,decodeTree:r}=this,n=(r[t]&xe.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,n,this.consumed),(e=this.errors)===null||e===void 0||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,r){const{decodeTree:n}=this;return this.emitCodePoint(t===1?n[e]&~xe.VALUE_LENGTH:n[e+1],r),t===3&&this.emitCodePoint(n[e+2],r),r}end(){var e;switch(this.state){case xA.NamedEntity:return this.result!==0&&(this.decodeMode!==re.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case xA.NumericDecimal:return this.emitNumericEntity(0,2);case xA.NumericHex:return this.emitNumericEntity(0,3);case xA.NumericStart:return(e=this.errors)===null||e===void 0||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case xA.EntityStart:return 0}}}function bi(A){let e="";const t=new Ta(A,r=>e+=Ca(r));return function(n,a){let s=0,u=0;for(;(u=n.indexOf("&",u))>=0;){e+=n.slice(s,u),t.startEntity(a);const l=t.write(n,u+1);if(l<0){s=u+t.end();break}s=u+l,u=l===0?s+1:s}const o=e+n.slice(s);return e="",o}}function g0(A,e,t,r){const n=(e&xe.BRANCH_LENGTH)>>7,a=e&xe.JUMP_TABLE;if(n===0)return a!==0&&r===a?t:-1;if(a){const o=r-a;return o<0||o>=n?-1:A[t+o]-1}let s=t,u=s+n-1;for(;s<=u;){const o=s+u>>>1,l=A[o];if(l<r)s=o+1;else if(l>r)u=o-1;else return A[o+n]}return-1}bi(ma),bi(Ti);const Ui=/["&'<>$\x80-\uFFFF]/g,E0=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]),m0=String.prototype.codePointAt!=null?(A,e)=>A.codePointAt(e):(A,e)=>(A.charCodeAt(e)&64512)===55296?(A.charCodeAt(e)-55296)*1024+A.charCodeAt(e+1)-56320+65536:A.charCodeAt(e);function Qi(A){let e="",t=0,r;for(;(r=Ui.exec(A))!==null;){const n=r.index,a=A.charCodeAt(n),s=E0.get(a);s!==void 0?(e+=A.substring(t,n)+s,t=n+1):(e+=`${A.substring(t,n)}&#x${m0(A,n).toString(16)};`,t=Ui.lastIndex+=+((a&64512)===55296))}return e+A.substr(t)}function Fi(A,e){return function(r){let n,a=0,s="";for(;n=A.exec(r);)a!==n.index&&(s+=r.substring(a,n.index)),s+=e.get(n[0].charCodeAt(0)),a=n.index+1;return s+r.substring(a)}}const Ii=Fi(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),_i=Fi(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]])),p0=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(A=>[A.toLowerCase(),A])),C0=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(A=>[A.toLowerCase(),A])),w0=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function T0(A){return A.replace(/"/g,"&quot;")}function b0(A,e){var t;if(!A)return;const r=((t=e.encodeEntities)!==null&&t!==void 0?t:e.decodeEntities)===!1?T0:e.xmlMode||e.encodeEntities!=="utf8"?Qi:Ii;return Object.keys(A).map(n=>{var a,s;const u=(a=A[n])!==null&&a!==void 0?a:"";return e.xmlMode==="foreign"&&(n=(s=C0.get(n))!==null&&s!==void 0?s:n),!e.emptyAttrs&&!e.xmlMode&&u===""?n:`${n}="${r(u)}"`}).join(" ")}const yi=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function Mr(A,e={}){const t="length"in A?A:[A];let r="";for(let n=0;n<t.length;n++)r+=U0(t[n],e);return r}function U0(A,e){switch(A.type){case A0:return Mr(A.children,e);case u0:case t0:return _0(A);case r0:return v0(A);case i0:return N0(A);case n0:case a0:case s0:return I0(A,e);case e0:return y0(A,e)}}const Q0=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),F0=new Set(["svg","math"]);function I0(A,e){var t;e.xmlMode==="foreign"&&(A.name=(t=p0.get(A.name))!==null&&t!==void 0?t:A.name,A.parent&&Q0.has(A.parent.name)&&(e={...e,xmlMode:!1})),!e.xmlMode&&F0.has(A.name)&&(e={...e,xmlMode:"foreign"});let r=`<${A.name}`;const n=b0(A.attribs,e);return n&&(r+=` ${n}`),A.children.length===0&&(e.xmlMode?e.selfClosingTags!==!1:e.selfClosingTags&&yi.has(A.name))?(e.xmlMode||(r+=" "),r+="/>"):(r+=">",A.children.length>0&&(r+=Mr(A.children,e)),(e.xmlMode||!yi.has(A.name))&&(r+=`</${A.name}>`)),r}function _0(A){return`<${A.data}>`}function y0(A,e){var t;let r=A.data||"";return((t=e.encodeEntities)!==null&&t!==void 0?t:e.decodeEntities)!==!1&&!(!e.xmlMode&&A.parent&&w0.has(A.parent.name))&&(r=e.xmlMode||e.encodeEntities!=="utf8"?Qi(r):_i(r)),r}function N0(A){return`<![CDATA[${A.children[0].data}]]>`}function v0(A){return`<!--${A.data}-->`}function Ni(A,e){return Mr(A,e)}function S0(A,e){return vA(A)?A.children.map(t=>Ni(t,e)).join(""):""}function kr(A){return Array.isArray(A)?A.map(kr).join(""):W(A)?A.name==="br"?`
2
- `:kr(A.children):Or(A)?kr(A.children):ge(A)?A.data:""}function gt(A){return Array.isArray(A)?A.map(gt).join(""):vA(A)&&!Rr(A)?gt(A.children):ge(A)?A.data:""}function Pr(A){return Array.isArray(A)?A.map(Pr).join(""):vA(A)&&(A.type===nA.Tag||Or(A))?Pr(A.children):ge(A)?A.data:""}function Kr(A){return vA(A)?A.children:[]}function vi(A){return A.parent||null}function Si(A){const e=vi(A);if(e!=null)return Kr(e);const t=[A];let{prev:r,next:n}=A;for(;r!=null;)t.unshift(r),{prev:r}=r;for(;n!=null;)t.push(n),{next:n}=n;return t}function x0(A,e){var t;return(t=A.attribs)===null||t===void 0?void 0:t[e]}function L0(A,e){return A.attribs!=null&&Object.prototype.hasOwnProperty.call(A.attribs,e)&&A.attribs[e]!=null}function H0(A){return A.name}function ba(A){let{next:e}=A;for(;e!==null&&!W(e);)({next:e}=e);return e}function Ua(A){let{prev:e}=A;for(;e!==null&&!W(e);)({prev:e}=e);return e}function et(A){if(A.prev&&(A.prev.next=A.next),A.next&&(A.next.prev=A.prev),A.parent){const e=A.parent.children,t=e.lastIndexOf(A);t>=0&&e.splice(t,1)}A.next=null,A.prev=null,A.parent=null}function D0(A,e){const t=e.prev=A.prev;t&&(t.next=e);const r=e.next=A.next;r&&(r.prev=e);const n=e.parent=A.parent;if(n){const a=n.children;a[a.lastIndexOf(A)]=e,A.parent=null}}function O0(A,e){if(et(e),e.next=null,e.parent=A,A.children.push(e)>1){const t=A.children[A.children.length-2];t.next=e,e.prev=t}else e.prev=null}function R0(A,e){et(e);const{parent:t}=A,r=A.next;if(e.next=r,e.prev=A,A.next=e,e.parent=t,r){if(r.prev=e,t){const n=t.children;n.splice(n.lastIndexOf(r),0,e)}}else t&&t.children.push(e)}function M0(A,e){if(et(e),e.parent=A,e.prev=null,A.children.unshift(e)!==1){const t=A.children[1];t.prev=e,e.next=t}else e.next=null}function k0(A,e){et(e);const{parent:t}=A;if(t){const r=t.children;r.splice(r.indexOf(A),0,e)}A.prev&&(A.prev.next=e),e.parent=t,e.prev=A.prev,e.next=A,A.prev=e}function Vr(A,e,t=!0,r=1/0){return Qa(A,Array.isArray(e)?e:[e],t,r)}function Qa(A,e,t,r){const n=[],a=[e],s=[0];for(;;){if(s[0]>=a[0].length){if(s.length===1)return n;a.shift(),s.shift();continue}const u=a[0][s[0]++];if(A(u)&&(n.push(u),--r<=0))return n;t&&vA(u)&&u.children.length>0&&(s.unshift(0),a.unshift(u.children))}}function P0(A,e){return e.find(A)}function Fa(A,e,t=!0){let r=null;for(let n=0;n<e.length&&!r;n++){const a=e[n];if(W(a))A(a)?r=a:t&&a.children.length>0&&(r=Fa(A,a.children,!0));else continue}return r}function xi(A,e){return e.some(t=>W(t)&&(A(t)||xi(A,t.children)))}function K0(A,e){const t=[],r=[e],n=[0];for(;;){if(n[0]>=r[0].length){if(r.length===1)return t;r.shift(),n.shift();continue}const a=r[0][n[0]++];W(a)&&(A(a)&&t.push(a),a.children.length>0&&(n.unshift(0),r.unshift(a.children)))}}const Gr={tag_name(A){return typeof A=="function"?e=>W(e)&&A(e.name):A==="*"?W:e=>W(e)&&e.name===A},tag_type(A){return typeof A=="function"?e=>A(e.type):e=>e.type===A},tag_contains(A){return typeof A=="function"?e=>ge(e)&&A(e.data):e=>ge(e)&&e.data===A}};function Li(A,e){return typeof e=="function"?t=>W(t)&&e(t.attribs[A]):t=>W(t)&&t.attribs[A]===e}function V0(A,e){return t=>A(t)||e(t)}function Hi(A){const e=Object.keys(A).map(t=>{const r=A[t];return Object.prototype.hasOwnProperty.call(Gr,t)?Gr[t](r):Li(t,r)});return e.length===0?null:e.reduce(V0)}function G0(A,e){const t=Hi(A);return t?t(e):!0}function Y0(A,e,t,r=1/0){const n=Hi(A);return n?Vr(n,e,t,r):[]}function X0(A,e,t=!0){return Array.isArray(e)||(e=[e]),Fa(Li("id",A),e,t)}function Et(A,e,t=!0,r=1/0){return Vr(Gr.tag_name(A),e,t,r)}function W0(A,e,t=!0,r=1/0){return Vr(Gr.tag_type(A),e,t,r)}function J0(A){let e=A.length;for(;--e>=0;){const t=A[e];if(e>0&&A.lastIndexOf(t,e-1)>=0){A.splice(e,1);continue}for(let r=t.parent;r;r=r.parent)if(A.includes(r)){A.splice(e,1);break}}return A}var ne;(function(A){A[A.DISCONNECTED=1]="DISCONNECTED",A[A.PRECEDING=2]="PRECEDING",A[A.FOLLOWING=4]="FOLLOWING",A[A.CONTAINS=8]="CONTAINS",A[A.CONTAINED_BY=16]="CONTAINED_BY"})(ne||(ne={}));function Di(A,e){const t=[],r=[];if(A===e)return 0;let n=vA(A)?A:A.parent;for(;n;)t.unshift(n),n=n.parent;for(n=vA(e)?e:e.parent;n;)r.unshift(n),n=n.parent;const a=Math.min(t.length,r.length);let s=0;for(;s<a&&t[s]===r[s];)s++;if(s===0)return ne.DISCONNECTED;const u=t[s-1],o=u.children,l=t[s],f=r[s];return o.indexOf(l)>o.indexOf(f)?u===e?ne.FOLLOWING|ne.CONTAINED_BY:ne.FOLLOWING:u===A?ne.PRECEDING|ne.CONTAINS:ne.PRECEDING}function mt(A){return A=A.filter((e,t,r)=>!r.includes(e,t+1)),A.sort((e,t)=>{const r=Di(e,t);return r&ne.PRECEDING?-1:r&ne.FOLLOWING?1:0}),A}function q0(A){const e=Yr(Af,A);return e?e.name==="feed"?j0(e):$0(e):null}function j0(A){var e;const t=A.children,r={type:"atom",items:Et("entry",t).map(s=>{var u;const{children:o}=s,l={media:Oi(o)};WA(l,"id","id",o),WA(l,"title","title",o);const f=(u=Yr("link",o))===null||u===void 0?void 0:u.attribs.href;f&&(l.link=f);const h=Le("summary",o)||Le("content",o);h&&(l.description=h);const d=Le("updated",o);return d&&(l.pubDate=new Date(d)),l})};WA(r,"id","id",t),WA(r,"title","title",t);const n=(e=Yr("link",t))===null||e===void 0?void 0:e.attribs.href;n&&(r.link=n),WA(r,"description","subtitle",t);const a=Le("updated",t);return a&&(r.updated=new Date(a)),WA(r,"author","email",t,!0),r}function $0(A){var e,t;const r=(t=(e=Yr("channel",A.children))===null||e===void 0?void 0:e.children)!==null&&t!==void 0?t:[],n={type:A.name.substr(0,3),id:"",items:Et("item",A.children).map(s=>{const{children:u}=s,o={media:Oi(u)};WA(o,"id","guid",u),WA(o,"title","title",u),WA(o,"link","link",u),WA(o,"description","description",u);const l=Le("pubDate",u)||Le("dc:date",u);return l&&(o.pubDate=new Date(l)),o})};WA(n,"title","title",r),WA(n,"link","link",r),WA(n,"description","description",r);const a=Le("lastBuildDate",r);return a&&(n.updated=new Date(a)),WA(n,"author","managingEditor",r,!0),n}const Z0=["url","type","lang"],z0=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function Oi(A){return Et("media:content",A).map(e=>{const{attribs:t}=e,r={medium:t.medium,isDefault:!!t.isDefault};for(const n of Z0)t[n]&&(r[n]=t[n]);for(const n of z0)t[n]&&(r[n]=parseInt(t[n],10));return t.expression&&(r.expression=t.expression),r})}function Yr(A,e){return Et(A,e,!0,1)[0]}function Le(A,e,t=!1){return gt(Et(A,e,t,1)).trim()}function WA(A,e,t,r,n=!1){const a=Le(t,r,n);a&&(A[e]=a)}function Af(A){return A==="rss"||A==="feed"||A==="rdf:RDF"}const Xr=Object.freeze(Object.defineProperty({__proto__:null,get DocumentPosition(){return ne},append:R0,appendChild:O0,compareDocumentPosition:Di,existsOne:xi,filter:Vr,find:Qa,findAll:K0,findOne:Fa,findOneChild:P0,getAttributeValue:x0,getChildren:Kr,getElementById:X0,getElements:Y0,getElementsByTagName:Et,getElementsByTagType:W0,getFeed:q0,getInnerHTML:S0,getName:H0,getOuterHTML:Ni,getParent:vi,getSiblings:Si,getText:kr,hasAttrib:L0,hasChildren:vA,innerText:Pr,isCDATA:Or,isComment:Rr,isDocument:Se,isTag:W,isText:ge,nextElementSibling:ba,prepend:k0,prependChild:M0,prevElementSibling:Ua,removeElement:et,removeSubsets:J0,replaceElement:D0,testElement:G0,textContent:gt,uniqueSort:mt},Symbol.toStringTag,{value:"Module"})),ef={_useHtmlParser2:!1};function Ia(A,e){if(!A)return e??ef;const t={_useHtmlParser2:!!A.xmlMode,...e,...A};return A.xml?(t._useHtmlParser2=!0,t.xmlMode=!0,A.xml!==!0&&Object.assign(t,A.xml)):A.xmlMode&&(t._useHtmlParser2=!0),t}function Ri(A,e,t){return A?A(e??A._root.children,null,void 0,t).toString():""}function tf(A,e){return typeof A=="object"&&A!=null&&!("length"in A)&&!("type"in A)}function rf(A,e){const t=tf(A)?(e=A,void 0):A,r={...this===null||this===void 0?void 0:this._options,...Ia(e)};return Ri(this,t,r)}function nf(A){const e={...this._options,xmlMode:!0};return Ri(this,A,e)}function Gt(A){const e=A??(this?this.root():[]);let t="";for(let r=0;r<e.length;r++)t+=gt(e[r]);return t}function af(A,e,t=typeof e=="boolean"?e:!1){if(!A||typeof A!="string")return null;typeof e=="boolean"&&(t=e);const r=this.load(A,this._options,!1);return t||r("script").remove(),[...r.root()[0].children]}function sf(){return this(this._root)}function Mi(A,e){if(e===A)return!1;let t=e;for(;t&&t!==t.parent;)if(t=t.parent,t===A)return!0;return!1}function uf(A){return this.root().extract(A)}function of(A,e){if(!ki(A)||!ki(e))return;let t=A.length;const r=+e.length;for(let n=0;n<r;n++)A[t++]=e[n];return A.length=t,A}function ki(A){if(Array.isArray(A))return!0;if(typeof A!="object"||A===null||!("length"in A)||typeof A.length!="number"||A.length<0)return!1;for(let e=0;e<A.length;e++)if(!(e in A))return!1;return!0}const cf=Object.freeze(Object.defineProperty({__proto__:null,contains:Mi,extract:uf,html:rf,merge:of,parseHTML:af,root:sf,text:Gt,xml:nf},Symbol.toStringTag,{value:"Module"}));function Ue(A){return A.cheerio!=null}function lf(A){return A.replace(/[._-](\w|$)/g,(e,t)=>t.toUpperCase())}function ff(A){return A.replace(/[A-Z]/g,"-$&").toLowerCase()}function mA(A,e){const t=A.length;for(let r=0;r<t;r++)e(A[r],r);return A}var tt;(function(A){A[A.LowerA=97]="LowerA",A[A.LowerZ=122]="LowerZ",A[A.UpperA=65]="UpperA",A[A.UpperZ=90]="UpperZ",A[A.Exclamation=33]="Exclamation"})(tt||(tt={}));function _a(A){const e=A.indexOf("<");if(e<0||e>A.length-3)return!1;const t=A.charCodeAt(e+1);return(t>=tt.LowerA&&t<=tt.LowerZ||t>=tt.UpperA&&t<=tt.UpperZ||t===tt.Exclamation)&&A.includes(">",e+2)}const Yt=Object.prototype.hasOwnProperty,Xt=/\s+/,ya="data-",Na=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,hf=/^{[^]*}$|^\[[^]*]$/;function Wr(A,e,t){var r;if(!(!A||!W(A))){if((r=A.attribs)!==null&&r!==void 0||(A.attribs={}),!e)return A.attribs;if(Yt.call(A.attribs,e))return!t&&Na.test(e)?e:A.attribs[e];if(A.name==="option"&&e==="value")return Gt(A.children);if(A.name==="input"&&(A.attribs.type==="radio"||A.attribs.type==="checkbox")&&e==="value")return"on"}}function pt(A,e,t){t===null?Gi(A,e):A.attribs[e]=`${t}`}function df(A,e){if(typeof A=="object"||e!==void 0){if(typeof e=="function"){if(typeof A!="string")throw new Error("Bad combination of arguments.");return mA(this,(t,r)=>{W(t)&&pt(t,A,e.call(t,r,t.attribs[A]))})}return mA(this,t=>{if(W(t))if(typeof A=="object")for(const r of Object.keys(A)){const n=A[r];pt(t,r,n)}else pt(t,A,e)})}return arguments.length>1?this:Wr(this[0],A,this.options.xmlMode)}function Pi(A,e,t){return e in A?A[e]:!t&&Na.test(e)?Wr(A,e,!1)!==void 0:Wr(A,e,t)}function va(A,e,t,r){e in A?A[e]=t:pt(A,e,!r&&Na.test(e)?t?"":null:`${t}`)}function Bf(A,e){var t;if(typeof A=="string"&&e===void 0){const r=this[0];if(!r||!W(r))return;switch(A){case"style":{const n=this.css(),a=Object.keys(n);for(let s=0;s<a.length;s++)n[s]=a[s];return n.length=a.length,n}case"tagName":case"nodeName":return r.name.toUpperCase();case"href":case"src":{const n=(t=r.attribs)===null||t===void 0?void 0:t[A];return typeof URL<"u"&&(A==="href"&&(r.tagName==="a"||r.tagName==="link")||A==="src"&&(r.tagName==="img"||r.tagName==="iframe"||r.tagName==="audio"||r.tagName==="video"||r.tagName==="source"))&&n!==void 0&&this.options.baseURI?new URL(n,this.options.baseURI).href:n}case"innerText":return Pr(r);case"textContent":return gt(r);case"outerHTML":return this.clone().wrap("<container />").parent().html();case"innerHTML":return this.html();default:return Pi(r,A,this.options.xmlMode)}}if(typeof A=="object"||e!==void 0){if(typeof e=="function"){if(typeof A=="object")throw new TypeError("Bad combination of arguments.");return mA(this,(r,n)=>{W(r)&&va(r,A,e.call(r,n,Pi(r,A,this.options.xmlMode)),this.options.xmlMode)})}return mA(this,r=>{if(W(r))if(typeof A=="object")for(const n of Object.keys(A)){const a=A[n];va(r,n,a,this.options.xmlMode)}else va(r,A,e,this.options.xmlMode)})}}function Ki(A,e,t){var r;(r=A.data)!==null&&r!==void 0||(A.data={}),typeof e=="object"?Object.assign(A.data,e):typeof e=="string"&&t!==void 0&&(A.data[e]=t)}function gf(A){for(const e of Object.keys(A.attribs)){if(!e.startsWith(ya))continue;const t=lf(e.slice(ya.length));Yt.call(A.data,t)||(A.data[t]=Vi(A.attribs[e]))}return A.data}function Ef(A,e){const t=ya+ff(e),r=A.data;if(Yt.call(r,e))return r[e];if(Yt.call(A.attribs,t))return r[e]=Vi(A.attribs[t])}function Vi(A){if(A==="null")return null;if(A==="true")return!0;if(A==="false")return!1;const e=Number(A);if(A===String(e))return e;if(hf.test(A))try{return JSON.parse(A)}catch{}return A}function mf(A,e){var t;const r=this[0];if(!r||!W(r))return;const n=r;return(t=n.data)!==null&&t!==void 0||(n.data={}),A==null?gf(n):typeof A=="object"||e!==void 0?(mA(this,a=>{W(a)&&(typeof A=="object"?Ki(a,A):Ki(a,A,e))}),this):Ef(n,A)}function pf(A){const e=arguments.length===0,t=this[0];if(!t||!W(t))return e?void 0:this;switch(t.name){case"textarea":return this.text(A);case"select":{const r=this.find("option:selected");if(!e){if(this.attr("multiple")==null&&typeof A=="object")return this;this.find("option").removeAttr("selected");const n=typeof A=="object"?A:[A];for(const a of n)this.find(`option[value="${a}"]`).attr("selected","");return this}return this.attr("multiple")?r.toArray().map(n=>Gt(n.children)):r.attr("value")}case"input":case"option":return e?this.attr("value"):this.attr("value",A)}}function Gi(A,e){!A.attribs||!Yt.call(A.attribs,e)||delete A.attribs[e]}function Jr(A){return A?A.trim().split(Xt):[]}function Cf(A){const e=Jr(A);for(const t of e)mA(this,r=>{W(r)&&Gi(r,t)});return this}function wf(A){return this.toArray().some(e=>{const t=W(e)&&e.attribs.class;let r=-1;if(t&&A.length>0)for(;(r=t.indexOf(A,r+1))>-1;){const n=r+A.length;if((r===0||Xt.test(t[r-1]))&&(n===t.length||Xt.test(t[n])))return!0}return!1})}function Yi(A){if(typeof A=="function")return mA(this,(r,n)=>{if(W(r)){const a=r.attribs.class||"";Yi.call([r],A.call(r,n,a))}});if(!A||typeof A!="string")return this;const e=A.split(Xt),t=this.length;for(let r=0;r<t;r++){const n=this[r];if(!W(n))continue;const a=Wr(n,"class",!1);if(a){let s=` ${a} `;for(const u of e){const o=`${u} `;s.includes(` ${o}`)||(s+=o)}pt(n,"class",s.trim())}else pt(n,"class",e.join(" ").trim())}return this}function Xi(A){if(typeof A=="function")return mA(this,(n,a)=>{W(n)&&Xi.call([n],A.call(n,a,n.attribs.class||""))});const e=Jr(A),t=e.length,r=arguments.length===0;return mA(this,n=>{if(W(n))if(r)n.attribs.class="";else{const a=Jr(n.attribs.class);let s=!1;for(let u=0;u<t;u++){const o=a.indexOf(e[u]);o>=0&&(a.splice(o,1),s=!0,u--)}s&&(n.attribs.class=a.join(" "))}})}function Wi(A,e){if(typeof A=="function")return mA(this,(s,u)=>{W(s)&&Wi.call([s],A.call(s,u,s.attribs.class||"",e),e)});if(!A||typeof A!="string")return this;const t=A.split(Xt),r=t.length,n=typeof e=="boolean"?e?1:-1:0,a=this.length;for(let s=0;s<a;s++){const u=this[s];if(!W(u))continue;const o=Jr(u.attribs.class);for(let l=0;l<r;l++){const f=o.indexOf(t[l]);n>=0&&f<0?o.push(t[l]):n<=0&&f>=0&&o.splice(f,1)}u.attribs.class=o.join(" ")}return this}const Tf=Object.freeze(Object.defineProperty({__proto__:null,addClass:Yi,attr:df,data:mf,hasClass:wf,prop:Bf,removeAttr:Cf,removeClass:Xi,toggleClass:Wi,val:pf},Symbol.toStringTag,{value:"Module"}));var G;(function(A){A.Attribute="attribute",A.Pseudo="pseudo",A.PseudoElement="pseudo-element",A.Tag="tag",A.Universal="universal",A.Adjacent="adjacent",A.Child="child",A.Descendant="descendant",A.Parent="parent",A.Sibling="sibling",A.ColumnCombinator="column-combinator"})(G||(G={}));var IA;(function(A){A.Any="any",A.Element="element",A.End="end",A.Equals="equals",A.Exists="exists",A.Hyphen="hyphen",A.Not="not",A.Start="start"})(IA||(IA={}));const Ji=/^[^\\#]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\-\u00b0-\uFFFF])+/,bf=/\\([\da-f]{1,6}\s?|(\s)|.)/gi,Uf=new Map([[126,IA.Element],[94,IA.Start],[36,IA.End],[42,IA.Any],[33,IA.Not],[124,IA.Hyphen]]),Qf=new Set(["has","not","matches","is","where","host","host-context"]);function Wt(A){switch(A.type){case G.Adjacent:case G.Child:case G.Descendant:case G.Parent:case G.Sibling:case G.ColumnCombinator:return!0;default:return!1}}const Ff=new Set(["contains","icontains"]);function If(A,e,t){const r=parseInt(e,16)-65536;return r!==r||t?e:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,r&1023|56320)}function Jt(A){return A.replace(bf,If)}function Sa(A){return A===39||A===34}function qi(A){return A===32||A===9||A===10||A===12||A===13}function qr(A){const e=[],t=ji(e,`${A}`,0);if(t<A.length)throw new Error(`Unmatched selector: ${A.slice(t)}`);return e}function ji(A,e,t){let r=[];function n(d){const C=e.slice(t+d).match(Ji);if(!C)throw new Error(`Expected name, found ${e.slice(t)}`);const[p]=C;return t+=d+p.length,Jt(p)}function a(d){for(t+=d;t<e.length&&qi(e.charCodeAt(t));)t++}function s(){t+=1;const d=t;let C=1;for(;C>0&&t<e.length;t++)e.charCodeAt(t)===40&&!u(t)?C++:e.charCodeAt(t)===41&&!u(t)&&C--;if(C)throw new Error("Parenthesis not matched");return Jt(e.slice(d,t-1))}function u(d){let C=0;for(;e.charCodeAt(--d)===92;)C++;return(C&1)===1}function o(){if(r.length>0&&Wt(r[r.length-1]))throw new Error("Did not expect successive traversals.")}function l(d){if(r.length>0&&r[r.length-1].type===G.Descendant){r[r.length-1].type=d;return}o(),r.push({type:d})}function f(d,C){r.push({type:G.Attribute,name:d,action:C,value:n(1),namespace:null,ignoreCase:"quirks"})}function h(){if(r.length&&r[r.length-1].type===G.Descendant&&r.pop(),r.length===0)throw new Error("Empty sub-selector");A.push(r)}if(a(0),e.length===t)return t;A:for(;t<e.length;){const d=e.charCodeAt(t);switch(d){case 32:case 9:case 10:case 12:case 13:{(r.length===0||r[0].type!==G.Descendant)&&(o(),r.push({type:G.Descendant})),a(1);break}case 62:{l(G.Child),a(1);break}case 60:{l(G.Parent),a(1);break}case 126:{l(G.Sibling),a(1);break}case 43:{l(G.Adjacent),a(1);break}case 46:{f("class",IA.Element);break}case 35:{f("id",IA.Equals);break}case 91:{a(1);let C,p=null;e.charCodeAt(t)===124?C=n(1):e.startsWith("*|",t)?(p="*",C=n(2)):(C=n(0),e.charCodeAt(t)===124&&e.charCodeAt(t+1)!==61&&(p=C,C=n(1))),a(0);let T=IA.Exists;const U=Uf.get(e.charCodeAt(t));if(U){if(T=U,e.charCodeAt(t+1)!==61)throw new Error("Expected `=`");a(2)}else e.charCodeAt(t)===61&&(T=IA.Equals,a(1));let N="",_=null;if(T!=="exists"){if(Sa(e.charCodeAt(t))){const L=e.charCodeAt(t);let m=t+1;for(;m<e.length&&(e.charCodeAt(m)!==L||u(m));)m+=1;if(e.charCodeAt(m)!==L)throw new Error("Attribute value didn't end");N=Jt(e.slice(t+1,m)),t=m+1}else{const L=t;for(;t<e.length&&(!qi(e.charCodeAt(t))&&e.charCodeAt(t)!==93||u(t));)t+=1;N=Jt(e.slice(L,t))}a(0);const P=e.charCodeAt(t)|32;P===115?(_=!1,a(1)):P===105&&(_=!0,a(1))}if(e.charCodeAt(t)!==93)throw new Error("Attribute selector didn't terminate");t+=1;const D={type:G.Attribute,name:C,action:T,value:N,namespace:p,ignoreCase:_};r.push(D);break}case 58:{if(e.charCodeAt(t+1)===58){r.push({type:G.PseudoElement,name:n(2).toLowerCase(),data:e.charCodeAt(t)===40?s():null});continue}const C=n(1).toLowerCase();let p=null;if(e.charCodeAt(t)===40)if(Qf.has(C)){if(Sa(e.charCodeAt(t+1)))throw new Error(`Pseudo-selector ${C} cannot be quoted`);if(p=[],t=ji(p,e,t+1),e.charCodeAt(t)!==41)throw new Error(`Missing closing parenthesis in :${C} (${e})`);t+=1}else{if(p=s(),Ff.has(C)){const T=p.charCodeAt(0);T===p.charCodeAt(p.length-1)&&Sa(T)&&(p=p.slice(1,-1))}p=Jt(p)}r.push({type:G.Pseudo,name:C,data:p});break}case 44:{h(),r=[],a(1);break}default:{if(e.startsWith("/*",t)){const T=e.indexOf("*/",t+2);if(T<0)throw new Error("Comment was not terminated");t=T+2,r.length===0&&a(0);break}let C=null,p;if(d===42)t+=1,p="*";else if(d===124){if(p="",e.charCodeAt(t+1)===124){l(G.ColumnCombinator),a(2);break}}else if(Ji.test(e.slice(t)))p=n(0);else break A;e.charCodeAt(t)===124&&e.charCodeAt(t+1)!==124&&(C=p,e.charCodeAt(t+1)===42?(p="*",t+=2):p=n(1)),r.push(p==="*"?{type:G.Universal,namespace:C}:{type:G.Tag,name:p,namespace:C})}}}return h(),t}function _f(A){return A&&A.__esModule&&Object.prototype.hasOwnProperty.call(A,"default")?A.default:A}var jr={trueFunc:function(){return!0},falseFunc:function(){return!1}};const $=_f(jr),$i=new Map([[G.Universal,50],[G.Tag,30],[G.Attribute,1],[G.Pseudo,0]]);function xa(A){return!$i.has(A.type)}const yf=new Map([[IA.Exists,10],[IA.Equals,8],[IA.Not,7],[IA.Start,6],[IA.End,6],[IA.Any,5]]);function Nf(A){const e=A.map(Zi);for(let t=1;t<A.length;t++){const r=e[t];if(!(r<0))for(let n=t-1;n>=0&&r<e[n];n--){const a=A[n+1];A[n+1]=A[n],A[n]=a,e[n+1]=e[n],e[n]=r}}}function Zi(A){var e,t;let r=(e=$i.get(A.type))!==null&&e!==void 0?e:-1;return A.type===G.Attribute?(r=(t=yf.get(A.action))!==null&&t!==void 0?t:4,A.action===IA.Equals&&A.name==="id"&&(r=9),A.ignoreCase&&(r>>=1)):A.type===G.Pseudo&&(A.data?A.name==="has"||A.name==="contains"?r=0:Array.isArray(A.data)?(r=Math.min(...A.data.map(n=>Math.min(...n.map(Zi)))),r<0&&(r=0)):r=2:r=3),r}const vf=/[-[\]{}()*+?.,\\^$|#\s]/g;function zi(A){return A.replace(vf,"\\$&")}const Sf=new Set(["accept","accept-charset","align","alink","axis","bgcolor","charset","checked","clear","codetype","color","compact","declare","defer","dir","direction","disabled","enctype","face","frame","hreflang","http-equiv","lang","language","link","media","method","multiple","nohref","noresize","noshade","nowrap","readonly","rel","rev","rules","scope","scrolling","selected","shape","target","text","type","valign","valuetype","vlink"]);function rt(A,e){return typeof A.ignoreCase=="boolean"?A.ignoreCase:A.ignoreCase==="quirks"?!!e.quirksMode:!e.xmlMode&&Sf.has(A.name)}const xf={equals(A,e,t){const{adapter:r}=t,{name:n}=e;let{value:a}=e;return rt(e,t)?(a=a.toLowerCase(),s=>{const u=r.getAttributeValue(s,n);return u!=null&&u.length===a.length&&u.toLowerCase()===a&&A(s)}):s=>r.getAttributeValue(s,n)===a&&A(s)},hyphen(A,e,t){const{adapter:r}=t,{name:n}=e;let{value:a}=e;const s=a.length;return rt(e,t)?(a=a.toLowerCase(),function(o){const l=r.getAttributeValue(o,n);return l!=null&&(l.length===s||l.charAt(s)==="-")&&l.substr(0,s).toLowerCase()===a&&A(o)}):function(o){const l=r.getAttributeValue(o,n);return l!=null&&(l.length===s||l.charAt(s)==="-")&&l.substr(0,s)===a&&A(o)}},element(A,e,t){const{adapter:r}=t,{name:n,value:a}=e;if(/\s/.test(a))return $.falseFunc;const s=new RegExp(`(?:^|\\s)${zi(a)}(?:$|\\s)`,rt(e,t)?"i":"");return function(o){const l=r.getAttributeValue(o,n);return l!=null&&l.length>=a.length&&s.test(l)&&A(o)}},exists(A,{name:e},{adapter:t}){return r=>t.hasAttrib(r,e)&&A(r)},start(A,e,t){const{adapter:r}=t,{name:n}=e;let{value:a}=e;const s=a.length;return s===0?$.falseFunc:rt(e,t)?(a=a.toLowerCase(),u=>{const o=r.getAttributeValue(u,n);return o!=null&&o.length>=s&&o.substr(0,s).toLowerCase()===a&&A(u)}):u=>{var o;return!!(!((o=r.getAttributeValue(u,n))===null||o===void 0)&&o.startsWith(a))&&A(u)}},end(A,e,t){const{adapter:r}=t,{name:n}=e;let{value:a}=e;const s=-a.length;return s===0?$.falseFunc:rt(e,t)?(a=a.toLowerCase(),u=>{var o;return((o=r.getAttributeValue(u,n))===null||o===void 0?void 0:o.substr(s).toLowerCase())===a&&A(u)}):u=>{var o;return!!(!((o=r.getAttributeValue(u,n))===null||o===void 0)&&o.endsWith(a))&&A(u)}},any(A,e,t){const{adapter:r}=t,{name:n,value:a}=e;if(a==="")return $.falseFunc;if(rt(e,t)){const s=new RegExp(zi(a),"i");return function(o){const l=r.getAttributeValue(o,n);return l!=null&&l.length>=a.length&&s.test(l)&&A(o)}}return s=>{var u;return!!(!((u=r.getAttributeValue(s,n))===null||u===void 0)&&u.includes(a))&&A(s)}},not(A,e,t){const{adapter:r}=t,{name:n}=e;let{value:a}=e;return a===""?s=>!!r.getAttributeValue(s,n)&&A(s):rt(e,t)?(a=a.toLowerCase(),s=>{const u=r.getAttributeValue(s,n);return(u==null||u.length!==a.length||u.toLowerCase()!==a)&&A(s)}):s=>r.getAttributeValue(s,n)!==a&&A(s)}},Lf=new Set([9,10,12,13,32]),Au=48,Hf=57;function Df(A){if(A=A.trim().toLowerCase(),A==="even")return[2,0];if(A==="odd")return[2,1];let e=0,t=0,r=a(),n=s();if(e<A.length&&A.charAt(e)==="n"&&(e++,t=r*(n??1),u(),e<A.length?(r=a(),u(),n=s()):r=n=0),n===null||e<A.length)throw new Error(`n-th rule couldn't be parsed ('${A}')`);return[t,r*n];function a(){return A.charAt(e)==="-"?(e++,-1):(A.charAt(e)==="+"&&e++,1)}function s(){const o=e;let l=0;for(;e<A.length&&A.charCodeAt(e)>=Au&&A.charCodeAt(e)<=Hf;)l=l*10+(A.charCodeAt(e)-Au),e++;return e===o?null:l}function u(){for(;e<A.length&&Lf.has(A.charCodeAt(e));)e++}}function Of(A){const e=A[0],t=A[1]-1;if(t<0&&e<=0)return $.falseFunc;if(e===-1)return a=>a<=t;if(e===0)return a=>a===t;if(e===1)return t<0?$.trueFunc:a=>a>=t;const r=Math.abs(e),n=(t%r+r)%r;return e>1?a=>a>=t&&a%r===n:a=>a<=t&&a%r===n}function $r(A){return Of(Df(A))}function Zr(A,e){return t=>{const r=e.getParent(t);return r!=null&&e.isTag(r)&&A(t)}}const La={contains(A,e,{adapter:t}){return function(n){return A(n)&&t.getText(n).includes(e)}},icontains(A,e,{adapter:t}){const r=e.toLowerCase();return function(a){return A(a)&&t.getText(a).toLowerCase().includes(r)}},"nth-child"(A,e,{adapter:t,equals:r}){const n=$r(e);return n===$.falseFunc?$.falseFunc:n===$.trueFunc?Zr(A,t):function(s){const u=t.getSiblings(s);let o=0;for(let l=0;l<u.length&&!r(s,u[l]);l++)t.isTag(u[l])&&o++;return n(o)&&A(s)}},"nth-last-child"(A,e,{adapter:t,equals:r}){const n=$r(e);return n===$.falseFunc?$.falseFunc:n===$.trueFunc?Zr(A,t):function(s){const u=t.getSiblings(s);let o=0;for(let l=u.length-1;l>=0&&!r(s,u[l]);l--)t.isTag(u[l])&&o++;return n(o)&&A(s)}},"nth-of-type"(A,e,{adapter:t,equals:r}){const n=$r(e);return n===$.falseFunc?$.falseFunc:n===$.trueFunc?Zr(A,t):function(s){const u=t.getSiblings(s);let o=0;for(let l=0;l<u.length;l++){const f=u[l];if(r(s,f))break;t.isTag(f)&&t.getName(f)===t.getName(s)&&o++}return n(o)&&A(s)}},"nth-last-of-type"(A,e,{adapter:t,equals:r}){const n=$r(e);return n===$.falseFunc?$.falseFunc:n===$.trueFunc?Zr(A,t):function(s){const u=t.getSiblings(s);let o=0;for(let l=u.length-1;l>=0;l--){const f=u[l];if(r(s,f))break;t.isTag(f)&&t.getName(f)===t.getName(s)&&o++}return n(o)&&A(s)}},root(A,e,{adapter:t}){return r=>{const n=t.getParent(r);return(n==null||!t.isTag(n))&&A(r)}},scope(A,e,t,r){const{equals:n}=t;return!r||r.length===0?La.root(A,e,t):r.length===1?a=>n(r[0],a)&&A(a):a=>r.includes(a)&&A(a)},hover:Ha("isHovered"),visited:Ha("isVisited"),active:Ha("isActive")};function Ha(A){return function(t,r,{adapter:n}){const a=n[A];return typeof a!="function"?$.falseFunc:function(u){return a(u)&&t(u)}}}const eu={empty(A,{adapter:e}){return!e.getChildren(A).some(t=>e.isTag(t)||e.getText(t)!=="")},"first-child"(A,{adapter:e,equals:t}){if(e.prevElementSibling)return e.prevElementSibling(A)==null;const r=e.getSiblings(A).find(n=>e.isTag(n));return r!=null&&t(A,r)},"last-child"(A,{adapter:e,equals:t}){const r=e.getSiblings(A);for(let n=r.length-1;n>=0;n--){if(t(A,r[n]))return!0;if(e.isTag(r[n]))break}return!1},"first-of-type"(A,{adapter:e,equals:t}){const r=e.getSiblings(A),n=e.getName(A);for(let a=0;a<r.length;a++){const s=r[a];if(t(A,s))return!0;if(e.isTag(s)&&e.getName(s)===n)break}return!1},"last-of-type"(A,{adapter:e,equals:t}){const r=e.getSiblings(A),n=e.getName(A);for(let a=r.length-1;a>=0;a--){const s=r[a];if(t(A,s))return!0;if(e.isTag(s)&&e.getName(s)===n)break}return!1},"only-of-type"(A,{adapter:e,equals:t}){const r=e.getName(A);return e.getSiblings(A).every(n=>t(A,n)||!e.isTag(n)||e.getName(n)!==r)},"only-child"(A,{adapter:e,equals:t}){return e.getSiblings(A).every(r=>t(A,r)||!e.isTag(r))}};function tu(A,e,t,r){if(t===null){if(A.length>r)throw new Error(`Pseudo-class :${e} requires an argument`)}else if(A.length===r)throw new Error(`Pseudo-class :${e} doesn't have any arguments`)}const Rf={"any-link":":is(a, area, link)[href]",link:":any-link:not(:visited)",disabled:`:is(
1
+ (function(xe,c){typeof exports=="object"&&typeof module<"u"?c(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],c):(xe=typeof globalThis<"u"?globalThis:xe||self,c(xe.GpWebModule={},xe.Vue))})(this,function(xe,c){"use strict";var nA;(function(A){A.Root="root",A.Text="text",A.Directive="directive",A.Comment="comment",A.Script="script",A.Style="style",A.Tag="tag",A.CDATA="cdata",A.Doctype="doctype"})(nA||(nA={}));function e0(A){return A.type===nA.Tag||A.type===nA.Script||A.type===nA.Style}const t0=nA.Root,r0=nA.Text,n0=nA.Directive,a0=nA.Comment,s0=nA.Script,i0=nA.Style,u0=nA.Tag,o0=nA.CDATA,c0=nA.Doctype;let Ci=class{constructor(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}get parentNode(){return this.parent}set parentNode(e){this.parent=e}get previousSibling(){return this.prev}set previousSibling(e){this.prev=e}get nextSibling(){return this.next}set nextSibling(e){this.next=e}cloneNode(e=!1){return Yt(this,e)}};class fa extends Ci{constructor(e){super(),this.data=e}get nodeValue(){return this.data}set nodeValue(e){this.data=e}}class Gt extends fa{constructor(){super(...arguments),this.type=nA.Text}get nodeType(){return 3}}class ha extends fa{constructor(){super(...arguments),this.type=nA.Comment}get nodeType(){return 8}}class da extends fa{constructor(e,t){super(t),this.name=e,this.type=nA.Directive}get nodeType(){return 1}}class Ba extends Ci{constructor(e){super(),this.children=e}get firstChild(){var e;return(e=this.children[0])!==null&&e!==void 0?e:null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(e){this.children=e}}class wi extends Ba{constructor(){super(...arguments),this.type=nA.CDATA}get nodeType(){return 4}}class et extends Ba{constructor(){super(...arguments),this.type=nA.Root}get nodeType(){return 9}}class ga extends Ba{constructor(e,t,r=[],n=e==="script"?nA.Script:e==="style"?nA.Style:nA.Tag){super(r),this.name=e,this.attribs=t,this.type=n}get nodeType(){return 1}get tagName(){return this.name}set tagName(e){this.name=e}get attributes(){return Object.keys(this.attribs).map(e=>{var t,r;return{name:e,value:this.attribs[e],namespace:(t=this["x-attribsNamespace"])===null||t===void 0?void 0:t[e],prefix:(r=this["x-attribsPrefix"])===null||r===void 0?void 0:r[e]}})}}function W(A){return e0(A)}function Mr(A){return A.type===nA.CDATA}function Ee(A){return A.type===nA.Text}function kr(A){return A.type===nA.Comment}function Ea(A){return A.type===nA.Directive}function Le(A){return A.type===nA.Root}function SA(A){return Object.prototype.hasOwnProperty.call(A,"children")}function Yt(A,e=!1){let t;if(Ee(A))t=new Gt(A.data);else if(kr(A))t=new ha(A.data);else if(W(A)){const r=e?pa(A.children):[],n=new ga(A.name,{...A.attribs},r);r.forEach(a=>a.parent=n),A.namespace!=null&&(n.namespace=A.namespace),A["x-attribsNamespace"]&&(n["x-attribsNamespace"]={...A["x-attribsNamespace"]}),A["x-attribsPrefix"]&&(n["x-attribsPrefix"]={...A["x-attribsPrefix"]}),t=n}else if(Mr(A)){const r=e?pa(A.children):[],n=new wi(r);r.forEach(a=>a.parent=n),t=n}else if(Le(A)){const r=e?pa(A.children):[],n=new et(r);r.forEach(a=>a.parent=n),A["x-mode"]&&(n["x-mode"]=A["x-mode"]),t=n}else if(Ea(A)){const r=new da(A.name,A.data);A["x-name"]!=null&&(r["x-name"]=A["x-name"],r["x-publicId"]=A["x-publicId"],r["x-systemId"]=A["x-systemId"]),t=r}else throw new Error(`Not implemented yet: ${A.type}`);return t.startIndex=A.startIndex,t.endIndex=A.endIndex,A.sourceCodeLocation!=null&&(t.sourceCodeLocation=A.sourceCodeLocation),t}function pa(A){const e=A.map(t=>Yt(t,!0));for(let t=1;t<e.length;t++)e[t].prev=e[t-1],e[t-1].next=e[t];return e}const Ti={withStartIndices:!1,withEndIndices:!1,xmlMode:!1};class l0{constructor(e,t,r){this.dom=[],this.root=new et(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof t=="function"&&(r=t,t=Ti),typeof e=="object"&&(t=e,e=void 0),this.callback=e??null,this.options=t??Ti,this.elementCB=r??null}onparserinit(e){this.parser=e}onreset(){this.dom=[],this.root=new et(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null}onend(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))}onerror(e){this.handleCallback(e)}onclosetag(){this.lastNode=null;const e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)}onopentag(e,t){const r=this.options.xmlMode?nA.Tag:void 0,n=new ga(e,t,void 0,r);this.addNode(n),this.tagStack.push(n)}ontext(e){const{lastNode:t}=this;if(t&&t.type===nA.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{const r=new Gt(e);this.addNode(r),this.lastNode=r}}oncomment(e){if(this.lastNode&&this.lastNode.type===nA.Comment){this.lastNode.data+=e;return}const t=new ha(e);this.addNode(t),this.lastNode=t}oncommentend(){this.lastNode=null}oncdatastart(){const e=new Gt(""),t=new wi([e]);this.addNode(t),e.parent=t,this.lastNode=e}oncdataend(){this.lastNode=null}onprocessinginstruction(e,t){const r=new da(e,t);this.addNode(r)}handleCallback(e){if(typeof this.callback=="function")this.callback(e,this.dom);else if(e)throw e}addNode(e){const t=this.tagStack[this.tagStack.length-1],r=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),r&&(e.prev=r,r.next=e),e.parent=t,this.lastNode=null}}const ma=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(A=>A.charCodeAt(0))),bi=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(A=>A.charCodeAt(0)));var Ca;const f0=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),wa=(Ca=String.fromCodePoint)!==null&&Ca!==void 0?Ca:function(A){let e="";return A>65535&&(A-=65536,e+=String.fromCharCode(A>>>10&1023|55296),A=56320|A&1023),e+=String.fromCharCode(A),e};function h0(A){var e;return A>=55296&&A<=57343||A>1114111?65533:(e=f0.get(A))!==null&&e!==void 0?e:A}var xA;(function(A){A[A.NUM=35]="NUM",A[A.SEMI=59]="SEMI",A[A.EQUALS=61]="EQUALS",A[A.ZERO=48]="ZERO",A[A.NINE=57]="NINE",A[A.LOWER_A=97]="LOWER_A",A[A.LOWER_F=102]="LOWER_F",A[A.LOWER_X=120]="LOWER_X",A[A.LOWER_Z=122]="LOWER_Z",A[A.UPPER_A=65]="UPPER_A",A[A.UPPER_F=70]="UPPER_F",A[A.UPPER_Z=90]="UPPER_Z"})(xA||(xA={}));const d0=32;var He;(function(A){A[A.VALUE_LENGTH=49152]="VALUE_LENGTH",A[A.BRANCH_LENGTH=16256]="BRANCH_LENGTH",A[A.JUMP_TABLE=127]="JUMP_TABLE"})(He||(He={}));function Ta(A){return A>=xA.ZERO&&A<=xA.NINE}function B0(A){return A>=xA.UPPER_A&&A<=xA.UPPER_F||A>=xA.LOWER_A&&A<=xA.LOWER_F}function g0(A){return A>=xA.UPPER_A&&A<=xA.UPPER_Z||A>=xA.LOWER_A&&A<=xA.LOWER_Z||Ta(A)}function E0(A){return A===xA.EQUALS||g0(A)}var LA;(function(A){A[A.EntityStart=0]="EntityStart",A[A.NumericStart=1]="NumericStart",A[A.NumericDecimal=2]="NumericDecimal",A[A.NumericHex=3]="NumericHex",A[A.NamedEntity=4]="NamedEntity"})(LA||(LA={}));var re;(function(A){A[A.Legacy=0]="Legacy",A[A.Strict=1]="Strict",A[A.Attribute=2]="Attribute"})(re||(re={}));class ba{constructor(e,t,r){this.decodeTree=e,this.emitCodePoint=t,this.errors=r,this.state=LA.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=re.Strict}startEntity(e){this.decodeMode=e,this.state=LA.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case LA.EntityStart:return e.charCodeAt(t)===xA.NUM?(this.state=LA.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=LA.NamedEntity,this.stateNamedEntity(e,t));case LA.NumericStart:return this.stateNumericStart(e,t);case LA.NumericDecimal:return this.stateNumericDecimal(e,t);case LA.NumericHex:return this.stateNumericHex(e,t);case LA.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|d0)===xA.LOWER_X?(this.state=LA.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=LA.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,r,n){if(t!==r){const a=r-t;this.result=this.result*Math.pow(n,a)+parseInt(e.substr(t,a),n),this.consumed+=a}}stateNumericHex(e,t){const r=t;for(;t<e.length;){const n=e.charCodeAt(t);if(Ta(n)||B0(n))t+=1;else return this.addToNumericResult(e,r,t,16),this.emitNumericEntity(n,3)}return this.addToNumericResult(e,r,t,16),-1}stateNumericDecimal(e,t){const r=t;for(;t<e.length;){const n=e.charCodeAt(t);if(Ta(n))t+=1;else return this.addToNumericResult(e,r,t,10),this.emitNumericEntity(n,2)}return this.addToNumericResult(e,r,t,10),-1}emitNumericEntity(e,t){var r;if(this.consumed<=t)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===xA.SEMI)this.consumed+=1;else if(this.decodeMode===re.Strict)return 0;return this.emitCodePoint(h0(this.result),this.consumed),this.errors&&(e!==xA.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){const{decodeTree:r}=this;let n=r[this.treeIndex],a=(n&He.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){const s=e.charCodeAt(t);if(this.treeIndex=p0(r,n,this.treeIndex+Math.max(1,a),s),this.treeIndex<0)return this.result===0||this.decodeMode===re.Attribute&&(a===0||E0(s))?0:this.emitNotTerminatedNamedEntity();if(n=r[this.treeIndex],a=(n&He.VALUE_LENGTH)>>14,a!==0){if(s===xA.SEMI)return this.emitNamedEntityData(this.treeIndex,a,this.consumed+this.excess);this.decodeMode!==re.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:t,decodeTree:r}=this,n=(r[t]&He.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,n,this.consumed),(e=this.errors)===null||e===void 0||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,r){const{decodeTree:n}=this;return this.emitCodePoint(t===1?n[e]&~He.VALUE_LENGTH:n[e+1],r),t===3&&this.emitCodePoint(n[e+2],r),r}end(){var e;switch(this.state){case LA.NamedEntity:return this.result!==0&&(this.decodeMode!==re.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case LA.NumericDecimal:return this.emitNumericEntity(0,2);case LA.NumericHex:return this.emitNumericEntity(0,3);case LA.NumericStart:return(e=this.errors)===null||e===void 0||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case LA.EntityStart:return 0}}}function Ui(A){let e="";const t=new ba(A,r=>e+=wa(r));return function(n,a){let s=0,u=0;for(;(u=n.indexOf("&",u))>=0;){e+=n.slice(s,u),t.startEntity(a);const l=t.write(n,u+1);if(l<0){s=u+t.end();break}s=u+l,u=l===0?s+1:s}const o=e+n.slice(s);return e="",o}}function p0(A,e,t,r){const n=(e&He.BRANCH_LENGTH)>>7,a=e&He.JUMP_TABLE;if(n===0)return a!==0&&r===a?t:-1;if(a){const o=r-a;return o<0||o>=n?-1:A[t+o]-1}let s=t,u=s+n-1;for(;s<=u;){const o=s+u>>>1,l=A[o];if(l<r)s=o+1;else if(l>r)u=o-1;else return A[o+n]}return-1}Ui(ma),Ui(bi);const Qi=/["&'<>$\x80-\uFFFF]/g,m0=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]),C0=String.prototype.codePointAt!=null?(A,e)=>A.codePointAt(e):(A,e)=>(A.charCodeAt(e)&64512)===55296?(A.charCodeAt(e)-55296)*1024+A.charCodeAt(e+1)-56320+65536:A.charCodeAt(e);function Fi(A){let e="",t=0,r;for(;(r=Qi.exec(A))!==null;){const n=r.index,a=A.charCodeAt(n),s=m0.get(a);s!==void 0?(e+=A.substring(t,n)+s,t=n+1):(e+=`${A.substring(t,n)}&#x${C0(A,n).toString(16)};`,t=Qi.lastIndex+=+((a&64512)===55296))}return e+A.substr(t)}function Ii(A,e){return function(r){let n,a=0,s="";for(;n=A.exec(r);)a!==n.index&&(s+=r.substring(a,n.index)),s+=e.get(n[0].charCodeAt(0)),a=n.index+1;return s+r.substring(a)}}const _i=Ii(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),yi=Ii(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]])),w0=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(A=>[A.toLowerCase(),A])),T0=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(A=>[A.toLowerCase(),A])),b0=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function U0(A){return A.replace(/"/g,"&quot;")}function Q0(A,e){var t;if(!A)return;const r=((t=e.encodeEntities)!==null&&t!==void 0?t:e.decodeEntities)===!1?U0:e.xmlMode||e.encodeEntities!=="utf8"?Fi:_i;return Object.keys(A).map(n=>{var a,s;const u=(a=A[n])!==null&&a!==void 0?a:"";return e.xmlMode==="foreign"&&(n=(s=T0.get(n))!==null&&s!==void 0?s:n),!e.emptyAttrs&&!e.xmlMode&&u===""?n:`${n}="${r(u)}"`}).join(" ")}const Ni=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function Pr(A,e={}){const t="length"in A?A:[A];let r="";for(let n=0;n<t.length;n++)r+=F0(t[n],e);return r}function F0(A,e){switch(A.type){case t0:return Pr(A.children,e);case c0:case n0:return N0(A);case a0:return x0(A);case o0:return S0(A);case s0:case i0:case u0:return y0(A,e);case r0:return v0(A,e)}}const I0=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),_0=new Set(["svg","math"]);function y0(A,e){var t;e.xmlMode==="foreign"&&(A.name=(t=w0.get(A.name))!==null&&t!==void 0?t:A.name,A.parent&&I0.has(A.parent.name)&&(e={...e,xmlMode:!1})),!e.xmlMode&&_0.has(A.name)&&(e={...e,xmlMode:"foreign"});let r=`<${A.name}`;const n=Q0(A.attribs,e);return n&&(r+=` ${n}`),A.children.length===0&&(e.xmlMode?e.selfClosingTags!==!1:e.selfClosingTags&&Ni.has(A.name))?(e.xmlMode||(r+=" "),r+="/>"):(r+=">",A.children.length>0&&(r+=Pr(A.children,e)),(e.xmlMode||!Ni.has(A.name))&&(r+=`</${A.name}>`)),r}function N0(A){return`<${A.data}>`}function v0(A,e){var t;let r=A.data||"";return((t=e.encodeEntities)!==null&&t!==void 0?t:e.decodeEntities)!==!1&&!(!e.xmlMode&&A.parent&&b0.has(A.parent.name))&&(r=e.xmlMode||e.encodeEntities!=="utf8"?Fi(r):yi(r)),r}function S0(A){return`<![CDATA[${A.children[0].data}]]>`}function x0(A){return`<!--${A.data}-->`}function vi(A,e){return Pr(A,e)}function L0(A,e){return SA(A)?A.children.map(t=>vi(t,e)).join(""):""}function Kr(A){return Array.isArray(A)?A.map(Kr).join(""):W(A)?A.name==="br"?`
2
+ `:Kr(A.children):Mr(A)?Kr(A.children):Ee(A)?A.data:""}function pt(A){return Array.isArray(A)?A.map(pt).join(""):SA(A)&&!kr(A)?pt(A.children):Ee(A)?A.data:""}function Vr(A){return Array.isArray(A)?A.map(Vr).join(""):SA(A)&&(A.type===nA.Tag||Mr(A))?Vr(A.children):Ee(A)?A.data:""}function Gr(A){return SA(A)?A.children:[]}function Si(A){return A.parent||null}function xi(A){const e=Si(A);if(e!=null)return Gr(e);const t=[A];let{prev:r,next:n}=A;for(;r!=null;)t.unshift(r),{prev:r}=r;for(;n!=null;)t.push(n),{next:n}=n;return t}function H0(A,e){var t;return(t=A.attribs)===null||t===void 0?void 0:t[e]}function D0(A,e){return A.attribs!=null&&Object.prototype.hasOwnProperty.call(A.attribs,e)&&A.attribs[e]!=null}function O0(A){return A.name}function Ua(A){let{next:e}=A;for(;e!==null&&!W(e);)({next:e}=e);return e}function Qa(A){let{prev:e}=A;for(;e!==null&&!W(e);)({prev:e}=e);return e}function tt(A){if(A.prev&&(A.prev.next=A.next),A.next&&(A.next.prev=A.prev),A.parent){const e=A.parent.children,t=e.lastIndexOf(A);t>=0&&e.splice(t,1)}A.next=null,A.prev=null,A.parent=null}function R0(A,e){const t=e.prev=A.prev;t&&(t.next=e);const r=e.next=A.next;r&&(r.prev=e);const n=e.parent=A.parent;if(n){const a=n.children;a[a.lastIndexOf(A)]=e,A.parent=null}}function M0(A,e){if(tt(e),e.next=null,e.parent=A,A.children.push(e)>1){const t=A.children[A.children.length-2];t.next=e,e.prev=t}else e.prev=null}function k0(A,e){tt(e);const{parent:t}=A,r=A.next;if(e.next=r,e.prev=A,A.next=e,e.parent=t,r){if(r.prev=e,t){const n=t.children;n.splice(n.lastIndexOf(r),0,e)}}else t&&t.children.push(e)}function P0(A,e){if(tt(e),e.parent=A,e.prev=null,A.children.unshift(e)!==1){const t=A.children[1];t.prev=e,e.next=t}else e.next=null}function K0(A,e){tt(e);const{parent:t}=A;if(t){const r=t.children;r.splice(r.indexOf(A),0,e)}A.prev&&(A.prev.next=e),e.parent=t,e.prev=A.prev,e.next=A,A.prev=e}function Yr(A,e,t=!0,r=1/0){return Fa(A,Array.isArray(e)?e:[e],t,r)}function Fa(A,e,t,r){const n=[],a=[e],s=[0];for(;;){if(s[0]>=a[0].length){if(s.length===1)return n;a.shift(),s.shift();continue}const u=a[0][s[0]++];if(A(u)&&(n.push(u),--r<=0))return n;t&&SA(u)&&u.children.length>0&&(s.unshift(0),a.unshift(u.children))}}function V0(A,e){return e.find(A)}function Ia(A,e,t=!0){let r=null;for(let n=0;n<e.length&&!r;n++){const a=e[n];if(W(a))A(a)?r=a:t&&a.children.length>0&&(r=Ia(A,a.children,!0));else continue}return r}function Li(A,e){return e.some(t=>W(t)&&(A(t)||Li(A,t.children)))}function G0(A,e){const t=[],r=[e],n=[0];for(;;){if(n[0]>=r[0].length){if(r.length===1)return t;r.shift(),n.shift();continue}const a=r[0][n[0]++];W(a)&&(A(a)&&t.push(a),a.children.length>0&&(n.unshift(0),r.unshift(a.children)))}}const Xr={tag_name(A){return typeof A=="function"?e=>W(e)&&A(e.name):A==="*"?W:e=>W(e)&&e.name===A},tag_type(A){return typeof A=="function"?e=>A(e.type):e=>e.type===A},tag_contains(A){return typeof A=="function"?e=>Ee(e)&&A(e.data):e=>Ee(e)&&e.data===A}};function Hi(A,e){return typeof e=="function"?t=>W(t)&&e(t.attribs[A]):t=>W(t)&&t.attribs[A]===e}function Y0(A,e){return t=>A(t)||e(t)}function Di(A){const e=Object.keys(A).map(t=>{const r=A[t];return Object.prototype.hasOwnProperty.call(Xr,t)?Xr[t](r):Hi(t,r)});return e.length===0?null:e.reduce(Y0)}function X0(A,e){const t=Di(A);return t?t(e):!0}function W0(A,e,t,r=1/0){const n=Di(A);return n?Yr(n,e,t,r):[]}function J0(A,e,t=!0){return Array.isArray(e)||(e=[e]),Ia(Hi("id",A),e,t)}function mt(A,e,t=!0,r=1/0){return Yr(Xr.tag_name(A),e,t,r)}function q0(A,e,t=!0,r=1/0){return Yr(Xr.tag_type(A),e,t,r)}function j0(A){let e=A.length;for(;--e>=0;){const t=A[e];if(e>0&&A.lastIndexOf(t,e-1)>=0){A.splice(e,1);continue}for(let r=t.parent;r;r=r.parent)if(A.includes(r)){A.splice(e,1);break}}return A}var ne;(function(A){A[A.DISCONNECTED=1]="DISCONNECTED",A[A.PRECEDING=2]="PRECEDING",A[A.FOLLOWING=4]="FOLLOWING",A[A.CONTAINS=8]="CONTAINS",A[A.CONTAINED_BY=16]="CONTAINED_BY"})(ne||(ne={}));function Oi(A,e){const t=[],r=[];if(A===e)return 0;let n=SA(A)?A:A.parent;for(;n;)t.unshift(n),n=n.parent;for(n=SA(e)?e:e.parent;n;)r.unshift(n),n=n.parent;const a=Math.min(t.length,r.length);let s=0;for(;s<a&&t[s]===r[s];)s++;if(s===0)return ne.DISCONNECTED;const u=t[s-1],o=u.children,l=t[s],f=r[s];return o.indexOf(l)>o.indexOf(f)?u===e?ne.FOLLOWING|ne.CONTAINED_BY:ne.FOLLOWING:u===A?ne.PRECEDING|ne.CONTAINS:ne.PRECEDING}function Ct(A){return A=A.filter((e,t,r)=>!r.includes(e,t+1)),A.sort((e,t)=>{const r=Oi(e,t);return r&ne.PRECEDING?-1:r&ne.FOLLOWING?1:0}),A}function $0(A){const e=Wr(tf,A);return e?e.name==="feed"?Z0(e):z0(e):null}function Z0(A){var e;const t=A.children,r={type:"atom",items:mt("entry",t).map(s=>{var u;const{children:o}=s,l={media:Ri(o)};JA(l,"id","id",o),JA(l,"title","title",o);const f=(u=Wr("link",o))===null||u===void 0?void 0:u.attribs.href;f&&(l.link=f);const h=De("summary",o)||De("content",o);h&&(l.description=h);const d=De("updated",o);return d&&(l.pubDate=new Date(d)),l})};JA(r,"id","id",t),JA(r,"title","title",t);const n=(e=Wr("link",t))===null||e===void 0?void 0:e.attribs.href;n&&(r.link=n),JA(r,"description","subtitle",t);const a=De("updated",t);return a&&(r.updated=new Date(a)),JA(r,"author","email",t,!0),r}function z0(A){var e,t;const r=(t=(e=Wr("channel",A.children))===null||e===void 0?void 0:e.children)!==null&&t!==void 0?t:[],n={type:A.name.substr(0,3),id:"",items:mt("item",A.children).map(s=>{const{children:u}=s,o={media:Ri(u)};JA(o,"id","guid",u),JA(o,"title","title",u),JA(o,"link","link",u),JA(o,"description","description",u);const l=De("pubDate",u)||De("dc:date",u);return l&&(o.pubDate=new Date(l)),o})};JA(n,"title","title",r),JA(n,"link","link",r),JA(n,"description","description",r);const a=De("lastBuildDate",r);return a&&(n.updated=new Date(a)),JA(n,"author","managingEditor",r,!0),n}const Af=["url","type","lang"],ef=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function Ri(A){return mt("media:content",A).map(e=>{const{attribs:t}=e,r={medium:t.medium,isDefault:!!t.isDefault};for(const n of Af)t[n]&&(r[n]=t[n]);for(const n of ef)t[n]&&(r[n]=parseInt(t[n],10));return t.expression&&(r.expression=t.expression),r})}function Wr(A,e){return mt(A,e,!0,1)[0]}function De(A,e,t=!1){return pt(mt(A,e,t,1)).trim()}function JA(A,e,t,r,n=!1){const a=De(t,r,n);a&&(A[e]=a)}function tf(A){return A==="rss"||A==="feed"||A==="rdf:RDF"}const Jr=Object.freeze(Object.defineProperty({__proto__:null,get DocumentPosition(){return ne},append:k0,appendChild:M0,compareDocumentPosition:Oi,existsOne:Li,filter:Yr,find:Fa,findAll:G0,findOne:Ia,findOneChild:V0,getAttributeValue:H0,getChildren:Gr,getElementById:J0,getElements:W0,getElementsByTagName:mt,getElementsByTagType:q0,getFeed:$0,getInnerHTML:L0,getName:O0,getOuterHTML:vi,getParent:Si,getSiblings:xi,getText:Kr,hasAttrib:D0,hasChildren:SA,innerText:Vr,isCDATA:Mr,isComment:kr,isDocument:Le,isTag:W,isText:Ee,nextElementSibling:Ua,prepend:K0,prependChild:P0,prevElementSibling:Qa,removeElement:tt,removeSubsets:j0,replaceElement:R0,testElement:X0,textContent:pt,uniqueSort:Ct},Symbol.toStringTag,{value:"Module"})),rf={_useHtmlParser2:!1};function _a(A,e){if(!A)return e??rf;const t={_useHtmlParser2:!!A.xmlMode,...e,...A};return A.xml?(t._useHtmlParser2=!0,t.xmlMode=!0,A.xml!==!0&&Object.assign(t,A.xml)):A.xmlMode&&(t._useHtmlParser2=!0),t}function Mi(A,e,t){return A?A(e??A._root.children,null,void 0,t).toString():""}function nf(A,e){return typeof A=="object"&&A!=null&&!("length"in A)&&!("type"in A)}function af(A,e){const t=nf(A)?(e=A,void 0):A,r={...this===null||this===void 0?void 0:this._options,..._a(e)};return Mi(this,t,r)}function sf(A){const e={...this._options,xmlMode:!0};return Mi(this,A,e)}function Xt(A){const e=A??(this?this.root():[]);let t="";for(let r=0;r<e.length;r++)t+=pt(e[r]);return t}function uf(A,e,t=typeof e=="boolean"?e:!1){if(!A||typeof A!="string")return null;typeof e=="boolean"&&(t=e);const r=this.load(A,this._options,!1);return t||r("script").remove(),[...r.root()[0].children]}function of(){return this(this._root)}function ki(A,e){if(e===A)return!1;let t=e;for(;t&&t!==t.parent;)if(t=t.parent,t===A)return!0;return!1}function cf(A){return this.root().extract(A)}function lf(A,e){if(!Pi(A)||!Pi(e))return;let t=A.length;const r=+e.length;for(let n=0;n<r;n++)A[t++]=e[n];return A.length=t,A}function Pi(A){if(Array.isArray(A))return!0;if(typeof A!="object"||A===null||!("length"in A)||typeof A.length!="number"||A.length<0)return!1;for(let e=0;e<A.length;e++)if(!(e in A))return!1;return!0}const ff=Object.freeze(Object.defineProperty({__proto__:null,contains:ki,extract:cf,html:af,merge:lf,parseHTML:uf,root:of,text:Xt,xml:sf},Symbol.toStringTag,{value:"Module"}));function Fe(A){return A.cheerio!=null}function hf(A){return A.replace(/[._-](\w|$)/g,(e,t)=>t.toUpperCase())}function df(A){return A.replace(/[A-Z]/g,"-$&").toLowerCase()}function mA(A,e){const t=A.length;for(let r=0;r<t;r++)e(A[r],r);return A}var rt;(function(A){A[A.LowerA=97]="LowerA",A[A.LowerZ=122]="LowerZ",A[A.UpperA=65]="UpperA",A[A.UpperZ=90]="UpperZ",A[A.Exclamation=33]="Exclamation"})(rt||(rt={}));function ya(A){const e=A.indexOf("<");if(e<0||e>A.length-3)return!1;const t=A.charCodeAt(e+1);return(t>=rt.LowerA&&t<=rt.LowerZ||t>=rt.UpperA&&t<=rt.UpperZ||t===rt.Exclamation)&&A.includes(">",e+2)}const Wt=Object.prototype.hasOwnProperty,Jt=/\s+/,Na="data-",va=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,Bf=/^{[^]*}$|^\[[^]*]$/;function qr(A,e,t){var r;if(!(!A||!W(A))){if((r=A.attribs)!==null&&r!==void 0||(A.attribs={}),!e)return A.attribs;if(Wt.call(A.attribs,e))return!t&&va.test(e)?e:A.attribs[e];if(A.name==="option"&&e==="value")return Xt(A.children);if(A.name==="input"&&(A.attribs.type==="radio"||A.attribs.type==="checkbox")&&e==="value")return"on"}}function wt(A,e,t){t===null?Yi(A,e):A.attribs[e]=`${t}`}function gf(A,e){if(typeof A=="object"||e!==void 0){if(typeof e=="function"){if(typeof A!="string")throw new Error("Bad combination of arguments.");return mA(this,(t,r)=>{W(t)&&wt(t,A,e.call(t,r,t.attribs[A]))})}return mA(this,t=>{if(W(t))if(typeof A=="object")for(const r of Object.keys(A)){const n=A[r];wt(t,r,n)}else wt(t,A,e)})}return arguments.length>1?this:qr(this[0],A,this.options.xmlMode)}function Ki(A,e,t){return e in A?A[e]:!t&&va.test(e)?qr(A,e,!1)!==void 0:qr(A,e,t)}function Sa(A,e,t,r){e in A?A[e]=t:wt(A,e,!r&&va.test(e)?t?"":null:`${t}`)}function Ef(A,e){var t;if(typeof A=="string"&&e===void 0){const r=this[0];if(!r||!W(r))return;switch(A){case"style":{const n=this.css(),a=Object.keys(n);for(let s=0;s<a.length;s++)n[s]=a[s];return n.length=a.length,n}case"tagName":case"nodeName":return r.name.toUpperCase();case"href":case"src":{const n=(t=r.attribs)===null||t===void 0?void 0:t[A];return typeof URL<"u"&&(A==="href"&&(r.tagName==="a"||r.tagName==="link")||A==="src"&&(r.tagName==="img"||r.tagName==="iframe"||r.tagName==="audio"||r.tagName==="video"||r.tagName==="source"))&&n!==void 0&&this.options.baseURI?new URL(n,this.options.baseURI).href:n}case"innerText":return Vr(r);case"textContent":return pt(r);case"outerHTML":return this.clone().wrap("<container />").parent().html();case"innerHTML":return this.html();default:return Ki(r,A,this.options.xmlMode)}}if(typeof A=="object"||e!==void 0){if(typeof e=="function"){if(typeof A=="object")throw new TypeError("Bad combination of arguments.");return mA(this,(r,n)=>{W(r)&&Sa(r,A,e.call(r,n,Ki(r,A,this.options.xmlMode)),this.options.xmlMode)})}return mA(this,r=>{if(W(r))if(typeof A=="object")for(const n of Object.keys(A)){const a=A[n];Sa(r,n,a,this.options.xmlMode)}else Sa(r,A,e,this.options.xmlMode)})}}function Vi(A,e,t){var r;(r=A.data)!==null&&r!==void 0||(A.data={}),typeof e=="object"?Object.assign(A.data,e):typeof e=="string"&&t!==void 0&&(A.data[e]=t)}function pf(A){for(const e of Object.keys(A.attribs)){if(!e.startsWith(Na))continue;const t=hf(e.slice(Na.length));Wt.call(A.data,t)||(A.data[t]=Gi(A.attribs[e]))}return A.data}function mf(A,e){const t=Na+df(e),r=A.data;if(Wt.call(r,e))return r[e];if(Wt.call(A.attribs,t))return r[e]=Gi(A.attribs[t])}function Gi(A){if(A==="null")return null;if(A==="true")return!0;if(A==="false")return!1;const e=Number(A);if(A===String(e))return e;if(Bf.test(A))try{return JSON.parse(A)}catch{}return A}function Cf(A,e){var t;const r=this[0];if(!r||!W(r))return;const n=r;return(t=n.data)!==null&&t!==void 0||(n.data={}),A==null?pf(n):typeof A=="object"||e!==void 0?(mA(this,a=>{W(a)&&(typeof A=="object"?Vi(a,A):Vi(a,A,e))}),this):mf(n,A)}function wf(A){const e=arguments.length===0,t=this[0];if(!t||!W(t))return e?void 0:this;switch(t.name){case"textarea":return this.text(A);case"select":{const r=this.find("option:selected");if(!e){if(this.attr("multiple")==null&&typeof A=="object")return this;this.find("option").removeAttr("selected");const n=typeof A=="object"?A:[A];for(const a of n)this.find(`option[value="${a}"]`).attr("selected","");return this}return this.attr("multiple")?r.toArray().map(n=>Xt(n.children)):r.attr("value")}case"input":case"option":return e?this.attr("value"):this.attr("value",A)}}function Yi(A,e){!A.attribs||!Wt.call(A.attribs,e)||delete A.attribs[e]}function jr(A){return A?A.trim().split(Jt):[]}function Tf(A){const e=jr(A);for(const t of e)mA(this,r=>{W(r)&&Yi(r,t)});return this}function bf(A){return this.toArray().some(e=>{const t=W(e)&&e.attribs.class;let r=-1;if(t&&A.length>0)for(;(r=t.indexOf(A,r+1))>-1;){const n=r+A.length;if((r===0||Jt.test(t[r-1]))&&(n===t.length||Jt.test(t[n])))return!0}return!1})}function Xi(A){if(typeof A=="function")return mA(this,(r,n)=>{if(W(r)){const a=r.attribs.class||"";Xi.call([r],A.call(r,n,a))}});if(!A||typeof A!="string")return this;const e=A.split(Jt),t=this.length;for(let r=0;r<t;r++){const n=this[r];if(!W(n))continue;const a=qr(n,"class",!1);if(a){let s=` ${a} `;for(const u of e){const o=`${u} `;s.includes(` ${o}`)||(s+=o)}wt(n,"class",s.trim())}else wt(n,"class",e.join(" ").trim())}return this}function Wi(A){if(typeof A=="function")return mA(this,(n,a)=>{W(n)&&Wi.call([n],A.call(n,a,n.attribs.class||""))});const e=jr(A),t=e.length,r=arguments.length===0;return mA(this,n=>{if(W(n))if(r)n.attribs.class="";else{const a=jr(n.attribs.class);let s=!1;for(let u=0;u<t;u++){const o=a.indexOf(e[u]);o>=0&&(a.splice(o,1),s=!0,u--)}s&&(n.attribs.class=a.join(" "))}})}function Ji(A,e){if(typeof A=="function")return mA(this,(s,u)=>{W(s)&&Ji.call([s],A.call(s,u,s.attribs.class||"",e),e)});if(!A||typeof A!="string")return this;const t=A.split(Jt),r=t.length,n=typeof e=="boolean"?e?1:-1:0,a=this.length;for(let s=0;s<a;s++){const u=this[s];if(!W(u))continue;const o=jr(u.attribs.class);for(let l=0;l<r;l++){const f=o.indexOf(t[l]);n>=0&&f<0?o.push(t[l]):n<=0&&f>=0&&o.splice(f,1)}u.attribs.class=o.join(" ")}return this}const Uf=Object.freeze(Object.defineProperty({__proto__:null,addClass:Xi,attr:gf,data:Cf,hasClass:bf,prop:Ef,removeAttr:Tf,removeClass:Wi,toggleClass:Ji,val:wf},Symbol.toStringTag,{value:"Module"}));var G;(function(A){A.Attribute="attribute",A.Pseudo="pseudo",A.PseudoElement="pseudo-element",A.Tag="tag",A.Universal="universal",A.Adjacent="adjacent",A.Child="child",A.Descendant="descendant",A.Parent="parent",A.Sibling="sibling",A.ColumnCombinator="column-combinator"})(G||(G={}));var _A;(function(A){A.Any="any",A.Element="element",A.End="end",A.Equals="equals",A.Exists="exists",A.Hyphen="hyphen",A.Not="not",A.Start="start"})(_A||(_A={}));const qi=/^[^\\#]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\-\u00b0-\uFFFF])+/,Qf=/\\([\da-f]{1,6}\s?|(\s)|.)/gi,Ff=new Map([[126,_A.Element],[94,_A.Start],[36,_A.End],[42,_A.Any],[33,_A.Not],[124,_A.Hyphen]]),If=new Set(["has","not","matches","is","where","host","host-context"]);function qt(A){switch(A.type){case G.Adjacent:case G.Child:case G.Descendant:case G.Parent:case G.Sibling:case G.ColumnCombinator:return!0;default:return!1}}const _f=new Set(["contains","icontains"]);function yf(A,e,t){const r=parseInt(e,16)-65536;return r!==r||t?e:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,r&1023|56320)}function jt(A){return A.replace(Qf,yf)}function xa(A){return A===39||A===34}function ji(A){return A===32||A===9||A===10||A===12||A===13}function $r(A){const e=[],t=$i(e,`${A}`,0);if(t<A.length)throw new Error(`Unmatched selector: ${A.slice(t)}`);return e}function $i(A,e,t){let r=[];function n(d){const C=e.slice(t+d).match(qi);if(!C)throw new Error(`Expected name, found ${e.slice(t)}`);const[m]=C;return t+=d+m.length,jt(m)}function a(d){for(t+=d;t<e.length&&ji(e.charCodeAt(t));)t++}function s(){t+=1;const d=t;let C=1;for(;C>0&&t<e.length;t++)e.charCodeAt(t)===40&&!u(t)?C++:e.charCodeAt(t)===41&&!u(t)&&C--;if(C)throw new Error("Parenthesis not matched");return jt(e.slice(d,t-1))}function u(d){let C=0;for(;e.charCodeAt(--d)===92;)C++;return(C&1)===1}function o(){if(r.length>0&&qt(r[r.length-1]))throw new Error("Did not expect successive traversals.")}function l(d){if(r.length>0&&r[r.length-1].type===G.Descendant){r[r.length-1].type=d;return}o(),r.push({type:d})}function f(d,C){r.push({type:G.Attribute,name:d,action:C,value:n(1),namespace:null,ignoreCase:"quirks"})}function h(){if(r.length&&r[r.length-1].type===G.Descendant&&r.pop(),r.length===0)throw new Error("Empty sub-selector");A.push(r)}if(a(0),e.length===t)return t;A:for(;t<e.length;){const d=e.charCodeAt(t);switch(d){case 32:case 9:case 10:case 12:case 13:{(r.length===0||r[0].type!==G.Descendant)&&(o(),r.push({type:G.Descendant})),a(1);break}case 62:{l(G.Child),a(1);break}case 60:{l(G.Parent),a(1);break}case 126:{l(G.Sibling),a(1);break}case 43:{l(G.Adjacent),a(1);break}case 46:{f("class",_A.Element);break}case 35:{f("id",_A.Equals);break}case 91:{a(1);let C,m=null;e.charCodeAt(t)===124?C=n(1):e.startsWith("*|",t)?(m="*",C=n(2)):(C=n(0),e.charCodeAt(t)===124&&e.charCodeAt(t+1)!==61&&(m=C,C=n(1))),a(0);let T=_A.Exists;const U=Ff.get(e.charCodeAt(t));if(U){if(T=U,e.charCodeAt(t+1)!==61)throw new Error("Expected `=`");a(2)}else e.charCodeAt(t)===61&&(T=_A.Equals,a(1));let N="",_=null;if(T!=="exists"){if(xa(e.charCodeAt(t))){const L=e.charCodeAt(t);let p=t+1;for(;p<e.length&&(e.charCodeAt(p)!==L||u(p));)p+=1;if(e.charCodeAt(p)!==L)throw new Error("Attribute value didn't end");N=jt(e.slice(t+1,p)),t=p+1}else{const L=t;for(;t<e.length&&(!ji(e.charCodeAt(t))&&e.charCodeAt(t)!==93||u(t));)t+=1;N=jt(e.slice(L,t))}a(0);const P=e.charCodeAt(t)|32;P===115?(_=!1,a(1)):P===105&&(_=!0,a(1))}if(e.charCodeAt(t)!==93)throw new Error("Attribute selector didn't terminate");t+=1;const D={type:G.Attribute,name:C,action:T,value:N,namespace:m,ignoreCase:_};r.push(D);break}case 58:{if(e.charCodeAt(t+1)===58){r.push({type:G.PseudoElement,name:n(2).toLowerCase(),data:e.charCodeAt(t)===40?s():null});continue}const C=n(1).toLowerCase();let m=null;if(e.charCodeAt(t)===40)if(If.has(C)){if(xa(e.charCodeAt(t+1)))throw new Error(`Pseudo-selector ${C} cannot be quoted`);if(m=[],t=$i(m,e,t+1),e.charCodeAt(t)!==41)throw new Error(`Missing closing parenthesis in :${C} (${e})`);t+=1}else{if(m=s(),_f.has(C)){const T=m.charCodeAt(0);T===m.charCodeAt(m.length-1)&&xa(T)&&(m=m.slice(1,-1))}m=jt(m)}r.push({type:G.Pseudo,name:C,data:m});break}case 44:{h(),r=[],a(1);break}default:{if(e.startsWith("/*",t)){const T=e.indexOf("*/",t+2);if(T<0)throw new Error("Comment was not terminated");t=T+2,r.length===0&&a(0);break}let C=null,m;if(d===42)t+=1,m="*";else if(d===124){if(m="",e.charCodeAt(t+1)===124){l(G.ColumnCombinator),a(2);break}}else if(qi.test(e.slice(t)))m=n(0);else break A;e.charCodeAt(t)===124&&e.charCodeAt(t+1)!==124&&(C=m,e.charCodeAt(t+1)===42?(m="*",t+=2):m=n(1)),r.push(m==="*"?{type:G.Universal,namespace:C}:{type:G.Tag,name:m,namespace:C})}}}return h(),t}function Nf(A){return A&&A.__esModule&&Object.prototype.hasOwnProperty.call(A,"default")?A.default:A}var Zr={trueFunc:function(){return!0},falseFunc:function(){return!1}};const $=Nf(Zr),Zi=new Map([[G.Universal,50],[G.Tag,30],[G.Attribute,1],[G.Pseudo,0]]);function La(A){return!Zi.has(A.type)}const vf=new Map([[_A.Exists,10],[_A.Equals,8],[_A.Not,7],[_A.Start,6],[_A.End,6],[_A.Any,5]]);function Sf(A){const e=A.map(zi);for(let t=1;t<A.length;t++){const r=e[t];if(!(r<0))for(let n=t-1;n>=0&&r<e[n];n--){const a=A[n+1];A[n+1]=A[n],A[n]=a,e[n+1]=e[n],e[n]=r}}}function zi(A){var e,t;let r=(e=Zi.get(A.type))!==null&&e!==void 0?e:-1;return A.type===G.Attribute?(r=(t=vf.get(A.action))!==null&&t!==void 0?t:4,A.action===_A.Equals&&A.name==="id"&&(r=9),A.ignoreCase&&(r>>=1)):A.type===G.Pseudo&&(A.data?A.name==="has"||A.name==="contains"?r=0:Array.isArray(A.data)?(r=Math.min(...A.data.map(n=>Math.min(...n.map(zi)))),r<0&&(r=0)):r=2:r=3),r}const xf=/[-[\]{}()*+?.,\\^$|#\s]/g;function Au(A){return A.replace(xf,"\\$&")}const Lf=new Set(["accept","accept-charset","align","alink","axis","bgcolor","charset","checked","clear","codetype","color","compact","declare","defer","dir","direction","disabled","enctype","face","frame","hreflang","http-equiv","lang","language","link","media","method","multiple","nohref","noresize","noshade","nowrap","readonly","rel","rev","rules","scope","scrolling","selected","shape","target","text","type","valign","valuetype","vlink"]);function nt(A,e){return typeof A.ignoreCase=="boolean"?A.ignoreCase:A.ignoreCase==="quirks"?!!e.quirksMode:!e.xmlMode&&Lf.has(A.name)}const Hf={equals(A,e,t){const{adapter:r}=t,{name:n}=e;let{value:a}=e;return nt(e,t)?(a=a.toLowerCase(),s=>{const u=r.getAttributeValue(s,n);return u!=null&&u.length===a.length&&u.toLowerCase()===a&&A(s)}):s=>r.getAttributeValue(s,n)===a&&A(s)},hyphen(A,e,t){const{adapter:r}=t,{name:n}=e;let{value:a}=e;const s=a.length;return nt(e,t)?(a=a.toLowerCase(),function(o){const l=r.getAttributeValue(o,n);return l!=null&&(l.length===s||l.charAt(s)==="-")&&l.substr(0,s).toLowerCase()===a&&A(o)}):function(o){const l=r.getAttributeValue(o,n);return l!=null&&(l.length===s||l.charAt(s)==="-")&&l.substr(0,s)===a&&A(o)}},element(A,e,t){const{adapter:r}=t,{name:n,value:a}=e;if(/\s/.test(a))return $.falseFunc;const s=new RegExp(`(?:^|\\s)${Au(a)}(?:$|\\s)`,nt(e,t)?"i":"");return function(o){const l=r.getAttributeValue(o,n);return l!=null&&l.length>=a.length&&s.test(l)&&A(o)}},exists(A,{name:e},{adapter:t}){return r=>t.hasAttrib(r,e)&&A(r)},start(A,e,t){const{adapter:r}=t,{name:n}=e;let{value:a}=e;const s=a.length;return s===0?$.falseFunc:nt(e,t)?(a=a.toLowerCase(),u=>{const o=r.getAttributeValue(u,n);return o!=null&&o.length>=s&&o.substr(0,s).toLowerCase()===a&&A(u)}):u=>{var o;return!!(!((o=r.getAttributeValue(u,n))===null||o===void 0)&&o.startsWith(a))&&A(u)}},end(A,e,t){const{adapter:r}=t,{name:n}=e;let{value:a}=e;const s=-a.length;return s===0?$.falseFunc:nt(e,t)?(a=a.toLowerCase(),u=>{var o;return((o=r.getAttributeValue(u,n))===null||o===void 0?void 0:o.substr(s).toLowerCase())===a&&A(u)}):u=>{var o;return!!(!((o=r.getAttributeValue(u,n))===null||o===void 0)&&o.endsWith(a))&&A(u)}},any(A,e,t){const{adapter:r}=t,{name:n,value:a}=e;if(a==="")return $.falseFunc;if(nt(e,t)){const s=new RegExp(Au(a),"i");return function(o){const l=r.getAttributeValue(o,n);return l!=null&&l.length>=a.length&&s.test(l)&&A(o)}}return s=>{var u;return!!(!((u=r.getAttributeValue(s,n))===null||u===void 0)&&u.includes(a))&&A(s)}},not(A,e,t){const{adapter:r}=t,{name:n}=e;let{value:a}=e;return a===""?s=>!!r.getAttributeValue(s,n)&&A(s):nt(e,t)?(a=a.toLowerCase(),s=>{const u=r.getAttributeValue(s,n);return(u==null||u.length!==a.length||u.toLowerCase()!==a)&&A(s)}):s=>r.getAttributeValue(s,n)!==a&&A(s)}},Df=new Set([9,10,12,13,32]),eu=48,Of=57;function Rf(A){if(A=A.trim().toLowerCase(),A==="even")return[2,0];if(A==="odd")return[2,1];let e=0,t=0,r=a(),n=s();if(e<A.length&&A.charAt(e)==="n"&&(e++,t=r*(n??1),u(),e<A.length?(r=a(),u(),n=s()):r=n=0),n===null||e<A.length)throw new Error(`n-th rule couldn't be parsed ('${A}')`);return[t,r*n];function a(){return A.charAt(e)==="-"?(e++,-1):(A.charAt(e)==="+"&&e++,1)}function s(){const o=e;let l=0;for(;e<A.length&&A.charCodeAt(e)>=eu&&A.charCodeAt(e)<=Of;)l=l*10+(A.charCodeAt(e)-eu),e++;return e===o?null:l}function u(){for(;e<A.length&&Df.has(A.charCodeAt(e));)e++}}function Mf(A){const e=A[0],t=A[1]-1;if(t<0&&e<=0)return $.falseFunc;if(e===-1)return a=>a<=t;if(e===0)return a=>a===t;if(e===1)return t<0?$.trueFunc:a=>a>=t;const r=Math.abs(e),n=(t%r+r)%r;return e>1?a=>a>=t&&a%r===n:a=>a<=t&&a%r===n}function zr(A){return Mf(Rf(A))}function An(A,e){return t=>{const r=e.getParent(t);return r!=null&&e.isTag(r)&&A(t)}}const Ha={contains(A,e,{adapter:t}){return function(n){return A(n)&&t.getText(n).includes(e)}},icontains(A,e,{adapter:t}){const r=e.toLowerCase();return function(a){return A(a)&&t.getText(a).toLowerCase().includes(r)}},"nth-child"(A,e,{adapter:t,equals:r}){const n=zr(e);return n===$.falseFunc?$.falseFunc:n===$.trueFunc?An(A,t):function(s){const u=t.getSiblings(s);let o=0;for(let l=0;l<u.length&&!r(s,u[l]);l++)t.isTag(u[l])&&o++;return n(o)&&A(s)}},"nth-last-child"(A,e,{adapter:t,equals:r}){const n=zr(e);return n===$.falseFunc?$.falseFunc:n===$.trueFunc?An(A,t):function(s){const u=t.getSiblings(s);let o=0;for(let l=u.length-1;l>=0&&!r(s,u[l]);l--)t.isTag(u[l])&&o++;return n(o)&&A(s)}},"nth-of-type"(A,e,{adapter:t,equals:r}){const n=zr(e);return n===$.falseFunc?$.falseFunc:n===$.trueFunc?An(A,t):function(s){const u=t.getSiblings(s);let o=0;for(let l=0;l<u.length;l++){const f=u[l];if(r(s,f))break;t.isTag(f)&&t.getName(f)===t.getName(s)&&o++}return n(o)&&A(s)}},"nth-last-of-type"(A,e,{adapter:t,equals:r}){const n=zr(e);return n===$.falseFunc?$.falseFunc:n===$.trueFunc?An(A,t):function(s){const u=t.getSiblings(s);let o=0;for(let l=u.length-1;l>=0;l--){const f=u[l];if(r(s,f))break;t.isTag(f)&&t.getName(f)===t.getName(s)&&o++}return n(o)&&A(s)}},root(A,e,{adapter:t}){return r=>{const n=t.getParent(r);return(n==null||!t.isTag(n))&&A(r)}},scope(A,e,t,r){const{equals:n}=t;return!r||r.length===0?Ha.root(A,e,t):r.length===1?a=>n(r[0],a)&&A(a):a=>r.includes(a)&&A(a)},hover:Da("isHovered"),visited:Da("isVisited"),active:Da("isActive")};function Da(A){return function(t,r,{adapter:n}){const a=n[A];return typeof a!="function"?$.falseFunc:function(u){return a(u)&&t(u)}}}const tu={empty(A,{adapter:e}){return!e.getChildren(A).some(t=>e.isTag(t)||e.getText(t)!=="")},"first-child"(A,{adapter:e,equals:t}){if(e.prevElementSibling)return e.prevElementSibling(A)==null;const r=e.getSiblings(A).find(n=>e.isTag(n));return r!=null&&t(A,r)},"last-child"(A,{adapter:e,equals:t}){const r=e.getSiblings(A);for(let n=r.length-1;n>=0;n--){if(t(A,r[n]))return!0;if(e.isTag(r[n]))break}return!1},"first-of-type"(A,{adapter:e,equals:t}){const r=e.getSiblings(A),n=e.getName(A);for(let a=0;a<r.length;a++){const s=r[a];if(t(A,s))return!0;if(e.isTag(s)&&e.getName(s)===n)break}return!1},"last-of-type"(A,{adapter:e,equals:t}){const r=e.getSiblings(A),n=e.getName(A);for(let a=r.length-1;a>=0;a--){const s=r[a];if(t(A,s))return!0;if(e.isTag(s)&&e.getName(s)===n)break}return!1},"only-of-type"(A,{adapter:e,equals:t}){const r=e.getName(A);return e.getSiblings(A).every(n=>t(A,n)||!e.isTag(n)||e.getName(n)!==r)},"only-child"(A,{adapter:e,equals:t}){return e.getSiblings(A).every(r=>t(A,r)||!e.isTag(r))}};function ru(A,e,t,r){if(t===null){if(A.length>r)throw new Error(`Pseudo-class :${e} requires an argument`)}else if(A.length===r)throw new Error(`Pseudo-class :${e} doesn't have any arguments`)}const kf={"any-link":":is(a, area, link)[href]",link:":any-link:not(:visited)",disabled:`:is(
3
3
  :is(button, input, select, textarea, optgroup, option)[disabled],
4
4
  optgroup[disabled] > option,
5
5
  fieldset[disabled]:not(fieldset[disabled] legend:first-of-type *)
6
- )`,enabled:":not(:disabled)",checked:":is(:is(input[type=radio], input[type=checkbox])[checked], option:selected)",required:":is(input, select, textarea)[required]",optional:":is(input, select, textarea):not([required])",selected:"option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)",checkbox:"[type=checkbox]",file:"[type=file]",password:"[type=password]",radio:"[type=radio]",reset:"[type=reset]",image:"[type=image]",submit:"[type=submit]",parent:":not(:empty)",header:":is(h1, h2, h3, h4, h5, h6)",button:":is(button, input[type=button])",input:":is(input, textarea, select, button)",text:"input:is(:not([type!='']), [type=text])"},ru={};function Mf(A,e){return A===$.falseFunc?$.falseFunc:t=>e.isTag(t)&&A(t)}function nu(A,e){const t=e.getSiblings(A);if(t.length<=1)return[];const r=t.indexOf(A);return r<0||r===t.length-1?[]:t.slice(r+1).filter(e.isTag)}function Da(A){return{xmlMode:!!A.xmlMode,lowerCaseAttributeNames:!!A.lowerCaseAttributeNames,lowerCaseTags:!!A.lowerCaseTags,quirksMode:!!A.quirksMode,cacheResults:!!A.cacheResults,pseudos:A.pseudos,adapter:A.adapter,equals:A.equals}}const Oa=(A,e,t,r,n)=>{const a=n(e,Da(t),r);return a===$.trueFunc?A:a===$.falseFunc?$.falseFunc:s=>a(s)&&A(s)},Ra={is:Oa,matches:Oa,where:Oa,not(A,e,t,r,n){const a=n(e,Da(t),r);return a===$.falseFunc?A:a===$.trueFunc?$.falseFunc:s=>!a(s)&&A(s)},has(A,e,t,r,n){const{adapter:a}=t,s=Da(t);s.relativeSelector=!0;const u=e.some(f=>f.some(xa))?[ru]:void 0,o=n(e,s,u);if(o===$.falseFunc)return $.falseFunc;const l=Mf(o,a);if(u&&o!==$.trueFunc){const{shouldTestNextSiblings:f=!1}=o;return h=>{if(!A(h))return!1;u[0]=h;const d=a.getChildren(h),C=f?[...d,...nu(h,a)]:d;return a.existsOne(l,C)}}return f=>A(f)&&a.existsOne(l,a.getChildren(f))}};function kf(A,e,t,r,n){var a;const{name:s,data:u}=e;if(Array.isArray(u)){if(!(s in Ra))throw new Error(`Unknown pseudo-class :${s}(${u})`);return Ra[s](A,u,t,r,n)}const o=(a=t.pseudos)===null||a===void 0?void 0:a[s],l=typeof o=="string"?o:Rf[s];if(typeof l=="string"){if(u!=null)throw new Error(`Pseudo ${s} doesn't have any arguments`);const f=qr(l);return Ra.is(A,f,t,r,n)}if(typeof o=="function")return tu(o,s,u,1),f=>o(f,u)&&A(f);if(s in La)return La[s](A,u,t,r);if(s in eu){const f=eu[s];return tu(f,s,u,2),h=>f(h,t,u)&&A(h)}throw new Error(`Unknown pseudo-class :${s}`)}function Ma(A,e){const t=e.getParent(A);return t&&e.isTag(t)?t:null}function Pf(A,e,t,r,n){const{adapter:a,equals:s}=t;switch(e.type){case G.PseudoElement:throw new Error("Pseudo-elements are not supported by css-select");case G.ColumnCombinator:throw new Error("Column combinators are not yet supported by css-select");case G.Attribute:{if(e.namespace!=null)throw new Error("Namespaced attributes are not yet supported by css-select");return(!t.xmlMode||t.lowerCaseAttributeNames)&&(e.name=e.name.toLowerCase()),xf[e.action](A,e,t)}case G.Pseudo:return kf(A,e,t,r,n);case G.Tag:{if(e.namespace!=null)throw new Error("Namespaced tag names are not yet supported by css-select");let{name:u}=e;return(!t.xmlMode||t.lowerCaseTags)&&(u=u.toLowerCase()),function(l){return a.getName(l)===u&&A(l)}}case G.Descendant:{if(t.cacheResults===!1||typeof WeakSet>"u")return function(l){let f=l;for(;f=Ma(f,a);)if(A(f))return!0;return!1};const u=new WeakSet;return function(l){let f=l;for(;f=Ma(f,a);)if(!u.has(f)){if(a.isTag(f)&&A(f))return!0;u.add(f)}return!1}}case"_flexibleDescendant":return function(o){let l=o;do if(A(l))return!0;while(l=Ma(l,a));return!1};case G.Parent:return function(o){return a.getChildren(o).some(l=>a.isTag(l)&&A(l))};case G.Child:return function(o){const l=a.getParent(o);return l!=null&&a.isTag(l)&&A(l)};case G.Sibling:return function(o){const l=a.getSiblings(o);for(let f=0;f<l.length;f++){const h=l[f];if(s(o,h))break;if(a.isTag(h)&&A(h))return!0}return!1};case G.Adjacent:return a.prevElementSibling?function(o){const l=a.prevElementSibling(o);return l!=null&&A(l)}:function(o){const l=a.getSiblings(o);let f;for(let h=0;h<l.length;h++){const d=l[h];if(s(o,d))break;a.isTag(d)&&(f=d)}return!!f&&A(f)};case G.Universal:{if(e.namespace!=null&&e.namespace!=="*")throw new Error("Namespaced universal selectors are not yet supported by css-select");return A}}}function au(A){return A.type===G.Pseudo&&(A.name==="scope"||Array.isArray(A.data)&&A.data.some(e=>e.some(au)))}const Kf={type:G.Descendant},Vf={type:"_flexibleDescendant"},Gf={type:G.Pseudo,name:"scope",data:null};function Yf(A,{adapter:e},t){const r=!!(t!=null&&t.every(n=>{const a=e.isTag(n)&&e.getParent(n);return n===ru||a&&e.isTag(a)}));for(const n of A){if(!(n.length>0&&xa(n[0])&&n[0].type!==G.Descendant))if(r&&!n.some(au))n.unshift(Kf);else continue;n.unshift(Gf)}}function su(A,e,t){var r;A.forEach(Nf),t=(r=e.context)!==null&&r!==void 0?r:t;const n=Array.isArray(t),a=t&&(Array.isArray(t)?t:[t]);if(e.relativeSelector!==!1)Yf(A,e,a);else if(A.some(o=>o.length>0&&xa(o[0])))throw new Error("Relative selectors are not allowed when the `relativeSelector` option is disabled");let s=!1;const u=A.map(o=>{if(o.length>=2){const[l,f]=o;l.type!==G.Pseudo||l.name!=="scope"||(n&&f.type===G.Descendant?o[1]=Vf:(f.type===G.Adjacent||f.type===G.Sibling)&&(s=!0))}return Xf(o,e,a)}).reduce(Wf,$.falseFunc);return u.shouldTestNextSiblings=s,u}function Xf(A,e,t){var r;return A.reduce((n,a)=>n===$.falseFunc?$.falseFunc:Pf(n,a,e,t,su),(r=e.rootFunc)!==null&&r!==void 0?r:$.trueFunc)}function Wf(A,e){return e===$.falseFunc||A===$.trueFunc?A:A===$.falseFunc||e===$.trueFunc?e:function(r){return A(r)||e(r)}}const iu=(A,e)=>A===e,Jf={adapter:Xr,equals:iu};function qf(A){var e,t,r,n;const a=A??Jf;return(e=a.adapter)!==null&&e!==void 0||(a.adapter=Xr),(t=a.equals)!==null&&t!==void 0||(a.equals=(n=(r=a.adapter)===null||r===void 0?void 0:r.equals)!==null&&n!==void 0?n:iu),a}function jf(A){return function(t,r,n){const a=qf(r);return A(t,a,n)}}const ka=jf(su);function uu(A,e,t=!1){return t&&(A=$f(A,e)),Array.isArray(A)?e.removeSubsets(A):e.getChildren(A)}function $f(A,e){const t=Array.isArray(A)?A.slice(0):[A],r=t.length;for(let n=0;n<r;n++){const a=nu(t[n],e);t.push(...a)}return t}const Zf=new Set(["first","last","eq","gt","nth","lt","even","odd"]);function zr(A){return A.type!=="pseudo"?!1:Zf.has(A.name)?!0:A.name==="not"&&Array.isArray(A.data)?A.data.some(e=>e.some(zr)):!1}function zf(A,e,t){const r=e!=null?parseInt(e,10):NaN;switch(A){case"first":return 1;case"nth":case"eq":return isFinite(r)?r>=0?r+1:1/0:0;case"lt":return isFinite(r)?r>=0?Math.min(r,t):1/0:0;case"gt":return isFinite(r)?1/0:0;case"odd":return 2*t;case"even":return 2*t-1;case"last":case"not":return 1/0}}function Ah(A){for(;A.parent;)A=A.parent;return A}function Pa(A){const e=[],t=[];for(const r of A)r.some(zr)?e.push(r):t.push(r);return[t,e]}const eh={type:G.Universal,namespace:null},th={type:G.Pseudo,name:"scope",data:null};function ou(A,e,t={}){return cu([A],e,t)}function cu(A,e,t={}){if(typeof e=="function")return A.some(e);const[r,n]=Pa(qr(e));return r.length>0&&A.some(ka(r,t))||n.some(a=>hu(a,A,t).length>0)}function rh(A,e,t,r){const n=typeof t=="string"?parseInt(t,10):NaN;switch(A){case"first":case"lt":return e;case"last":return e.length>0?[e[e.length-1]]:e;case"nth":case"eq":return isFinite(n)&&Math.abs(n)<e.length?[n<0?e[e.length+n]:e[n]]:[];case"gt":return isFinite(n)?e.slice(n+1):[];case"even":return e.filter((a,s)=>s%2===0);case"odd":return e.filter((a,s)=>s%2===1);case"not":{const a=new Set(fu(t,e,r));return e.filter(s=>!a.has(s))}}}function lu(A,e,t={}){return fu(qr(A),e,t)}function fu(A,e,t){if(e.length===0)return[];const[r,n]=Pa(A);let a;if(r.length){const s=Va(e,r,t);if(n.length===0)return s;s.length&&(a=new Set(s))}for(let s=0;s<n.length&&(a==null?void 0:a.size)!==e.length;s++){const u=n[s];if((a?e.filter(f=>W(f)&&!a.has(f)):e).length===0)break;const l=hu(u,e,t);if(l.length)if(a)l.forEach(f=>a.add(f));else{if(s===n.length-1)return l;a=new Set(l)}}return typeof a<"u"?a.size===e.length?e:e.filter(s=>a.has(s)):[]}function hu(A,e,t){var r;if(A.some(Wt)){const n=(r=t.root)!==null&&r!==void 0?r:Ah(e[0]),a={...t,context:e,relativeSelector:!1};return A.push(th),An(n,A,a,!0,e.length)}return An(e,A,t,!1,e.length)}function nh(A,e,t={},r=1/0){if(typeof A=="function")return du(e,A);const[n,a]=Pa(qr(A)),s=a.map(u=>An(e,u,t,!0,r));return n.length&&s.push(Ka(e,n,t,r)),s.length===0?[]:s.length===1?s[0]:mt(s.reduce((u,o)=>[...u,...o]))}function An(A,e,t,r,n){const a=e.findIndex(zr),s=e.slice(0,a),u=e[a],o=e.length-1===a?n:1/0,l=zf(u.name,u.data,o);if(l===0)return[];const h=(s.length===0&&!Array.isArray(A)?Kr(A).filter(W):s.length===0?(Array.isArray(A)?A:[A]).filter(W):r||s.some(Wt)?Ka(A,[s],t,l):Va(A,[s],t)).slice(0,l);let d=rh(u.name,h,u.data,t);if(d.length===0||e.length===a+1)return d;const C=e.slice(a+1),p=C.some(Wt);if(p){if(Wt(C[0])){const{type:T}=C[0];(T===G.Sibling||T===G.Adjacent)&&(d=uu(d,Xr,!0)),C.unshift(eh)}t={...t,relativeSelector:!1,rootFunc:T=>d.includes(T)}}else t.rootFunc&&t.rootFunc!==jr.trueFunc&&(t={...t,rootFunc:jr.trueFunc});return C.some(zr)?An(d,C,t,!1,n):p?Ka(d,[C],t,n):Va(d,[C],t)}function Ka(A,e,t,r){const n=ka(e,t,A);return du(A,n,r)}function du(A,e,t=1/0){const r=uu(A,Xr,e.shouldTestNextSiblings);return Qa(n=>W(n)&&e(n),r,!0,t)}function Va(A,e,t){const r=(Array.isArray(A)?A:[A]).filter(W);if(r.length===0)return r;const n=ka(e,t);return n===jr.trueFunc?r:r.filter(n)}const ah=/^\s*[+~]/;function sh(A){if(!A)return this._make([]);if(typeof A!="string"){const e=Ue(A)?A.toArray():[A],t=this.toArray();return this._make(e.filter(r=>t.some(n=>Mi(n,r))))}return this._findBySelector(A,Number.POSITIVE_INFINITY)}function ih(A,e){var t;const r=this.toArray(),n=ah.test(A)?r:this.children().toArray(),a={context:r,root:(t=this._root)===null||t===void 0?void 0:t[0],xmlMode:this.options.xmlMode,lowerCaseTags:this.options.lowerCaseTags,lowerCaseAttributeNames:this.options.lowerCaseAttributeNames,pseudos:this.options.pseudos,quirksMode:this.options.quirksMode};return this._make(nh(A,n,a,e))}function Ga(A){return function(e,...t){return function(r){var n;let a=A(e,this);return r&&(a=Wa(a,r,this.options.xmlMode,(n=this._root)===null||n===void 0?void 0:n[0])),this._make(this.length>1&&a.length>1?t.reduce((s,u)=>u(s),a):a)}}}const qt=Ga((A,e)=>{let t=[];for(let r=0;r<e.length;r++){const n=A(e[r]);n.length>0&&(t=t.concat(n))}return t}),Ya=Ga((A,e)=>{const t=[];for(let r=0;r<e.length;r++){const n=A(e[r]);n!==null&&t.push(n)}return t});function Xa(A,...e){let t=null;const r=Ga((n,a)=>{const s=[];return mA(a,u=>{for(let o;(o=n(u))&&!(t!=null&&t(o,s.length));u=o)s.push(o)}),s})(A,...e);return function(n,a){t=typeof n=="string"?u=>ou(u,n,this.options):n?jt(n):null;const s=r.call(this,a);return t=null,s}}function Ct(A){return A.length>1?Array.from(new Set(A)):A}const uh=Ya(({parent:A})=>A&&!Se(A)?A:null,Ct),oh=qt(A=>{const e=[];for(;A.parent&&!Se(A.parent);)e.push(A.parent),A=A.parent;return e},mt,A=>A.reverse()),ch=Xa(({parent:A})=>A&&!Se(A)?A:null,mt,A=>A.reverse());function lh(A){var e;const t=[];if(!A)return this._make(t);const r={xmlMode:this.options.xmlMode,root:(e=this._root)===null||e===void 0?void 0:e[0]},n=typeof A=="string"?a=>ou(a,A,r):jt(A);return mA(this,a=>{for(a&&!Se(a)&&!W(a)&&(a=a.parent);a&&W(a);){if(n(a,0)){t.includes(a)||t.push(a);break}a=a.parent}}),this._make(t)}const fh=Ya(A=>ba(A)),hh=qt(A=>{const e=[];for(;A.next;)A=A.next,W(A)&&e.push(A);return e},Ct),dh=Xa(A=>ba(A),Ct),Bh=Ya(A=>Ua(A)),gh=qt(A=>{const e=[];for(;A.prev;)A=A.prev,W(A)&&e.push(A);return e},Ct),Eh=Xa(A=>Ua(A),Ct),mh=qt(A=>Si(A).filter(e=>W(e)&&e!==A),mt),ph=qt(A=>Kr(A).filter(W),Ct);function Ch(){const A=this.toArray().reduce((e,t)=>vA(t)?e.concat(t.children):e,[]);return this._make(A)}function wh(A){let e=0;const t=this.length;for(;e<t&&A.call(this[e],e,this[e])!==!1;)++e;return this}function Th(A){let e=[];for(let t=0;t<this.length;t++){const r=this[t],n=A.call(r,t,r);n!=null&&(e=e.concat(n))}return this._make(e)}function jt(A){return typeof A=="function"?(e,t)=>A.call(e,t,e):Ue(A)?e=>Array.prototype.includes.call(A,e):function(e){return A===e}}function bh(A){var e;return this._make(Wa(this.toArray(),A,this.options.xmlMode,(e=this._root)===null||e===void 0?void 0:e[0]))}function Wa(A,e,t,r){return typeof e=="string"?lu(e,A,{xmlMode:t,root:r}):A.filter(jt(e))}function Uh(A){const e=this.toArray();return typeof A=="string"?cu(e.filter(W),A,this.options):A?e.some(jt(A)):!1}function Qh(A){let e=this.toArray();if(typeof A=="string"){const t=new Set(lu(A,e,this.options));e=e.filter(r=>!t.has(r))}else{const t=jt(A);e=e.filter((r,n)=>!t(r,n))}return this._make(e)}function Fh(A){return this.filter(typeof A=="string"?`:has(${A})`:(e,t)=>this._make(t).find(A).length>0)}function Ih(){return this.length>1?this._make(this[0]):this}function _h(){return this.length>0?this._make(this[this.length-1]):this}function yh(A){var e;return A=+A,A===0&&this.length<=1?this:(A<0&&(A=this.length+A),this._make((e=this[A])!==null&&e!==void 0?e:[]))}function Nh(A){return A==null?this.toArray():this[A<0?this.length+A:A]}function vh(){return Array.prototype.slice.call(this)}function Sh(A){let e,t;return A==null?(e=this.parent().children(),t=this[0]):typeof A=="string"?(e=this._make(A),t=this[0]):(e=this,t=Ue(A)?A[0]:A),Array.prototype.indexOf.call(e,t)}function xh(A,e){return this._make(Array.prototype.slice.call(this,A,e))}function Lh(){var A;return(A=this.prevObject)!==null&&A!==void 0?A:this._make([])}function Hh(A,e){const t=this._make(A,e),r=mt([...this.get(),...t.get()]);return this._make(r)}function Dh(A){return this.prevObject?this.add(A?this.prevObject.filter(A):this.prevObject):this}const Oh=Object.freeze(Object.defineProperty({__proto__:null,_findBySelector:ih,add:Hh,addBack:Dh,children:ph,closest:lh,contents:Ch,each:wh,end:Lh,eq:yh,filter:bh,filterArray:Wa,find:sh,first:Ih,get:Nh,has:Fh,index:Sh,is:Uh,last:_h,map:Th,next:fh,nextAll:hh,nextUntil:dh,not:Qh,parent:uh,parents:oh,parentsUntil:ch,prev:Bh,prevAll:gh,prevUntil:Eh,siblings:mh,slice:xh,toArray:vh},Symbol.toStringTag,{value:"Module"}));function Rh(A){return function(t,r,n,a){if(typeof Buffer<"u"&&Buffer.isBuffer(t)&&(t=t.toString()),typeof t=="string")return A(t,r,n,a);const s=t;if(!Array.isArray(s)&&Se(s))return s;const u=new At([]);return nt(s,u),u}}function nt(A,e){const t=Array.isArray(A)?A:[A];e?e.children=t:e=null;for(let r=0;r<t.length;r++){const n=t[r];n.parent&&n.parent.children!==t&&et(n),e?(n.prev=t[r-1]||null,n.next=t[r+1]||null):n.prev=n.next=null,n.parent=e}return e}function Mh(A,e){if(A==null)return[];if(typeof A=="string")return this._parse(A,this.options,!1,null).children.slice(0);if("length"in A){if(A.length===1)return this._makeDomArray(A[0],e);const t=[];for(let r=0;r<A.length;r++){const n=A[r];if(typeof n=="object"){if(n==null)continue;if(!("length"in n)){t.push(e?Vt(n,!0):n);continue}}t.push(...this._makeDomArray(n,e))}return t}return[e?Vt(A,!0):A]}function Bu(A){return function(...e){const t=this.length-1;return mA(this,(r,n)=>{if(!vA(r))return;const a=typeof e[0]=="function"?e[0].call(r,n,this._render(r.children)):e,s=this._makeDomArray(a,n<t);A(s,r.children,r)})}}function He(A,e,t,r,n){var a,s;const u=[e,t,...r],o=e===0?null:A[e-1],l=e+t>=A.length?null:A[e+t];for(let f=0;f<r.length;++f){const h=r[f],d=h.parent;if(d){const p=d.children.indexOf(h);p>-1&&(d.children.splice(p,1),n===d&&e>p&&u[0]--)}h.parent=n,h.prev&&(h.prev.next=(a=h.next)!==null&&a!==void 0?a:null),h.next&&(h.next.prev=(s=h.prev)!==null&&s!==void 0?s:null),h.prev=f===0?o:r[f-1],h.next=f===r.length-1?l:r[f+1]}return o&&(o.next=r[0]),l&&(l.prev=r[r.length-1]),A.splice(...u)}function kh(A){return(Ue(A)?A:this._make(A)).append(this),this}function Ph(A){return(Ue(A)?A:this._make(A)).prepend(this),this}const Kh=Bu((A,e,t)=>{He(e,e.length,0,A,t)}),Vh=Bu((A,e,t)=>{He(e,0,0,A,t)});function gu(A){return function(e){const t=this.length-1,r=this.parents().last();for(let n=0;n<this.length;n++){const a=this[n],s=typeof e=="function"?e.call(a,n,a):typeof e=="string"&&!_a(e)?r.find(e).clone():e,[u]=this._makeDomArray(s,n<t);if(!u||!vA(u))continue;let o=u,l=0;for(;l<o.children.length;){const f=o.children[l];W(f)?(o=f,l=0):l++}A(a,o,[u])}return this}}const Gh=gu((A,e,t)=>{const{parent:r}=A;if(!r)return;const n=r.children,a=n.indexOf(A);nt([A],e),He(n,a,0,t,r)}),Yh=gu((A,e,t)=>{vA(A)&&(nt(A.children,e),nt(t,A))});function Xh(A){return this.parent(A).not("body").each((e,t)=>{this._make(t).replaceWith(t.children)}),this}function Wh(A){const e=this[0];if(e){const t=this._make(typeof A=="function"?A.call(e,0,e):A).insertBefore(e);let r;for(let a=0;a<t.length;a++)t[a].type==="tag"&&(r=t[a]);let n=0;for(;r&&n<r.children.length;){const a=r.children[n];a.type==="tag"?(r=a,n=0):n++}r&&this._make(r).append(this)}return this}function Jh(...A){const e=this.length-1;return mA(this,(t,r)=>{if(!vA(t)||!t.parent)return;const n=t.parent.children,a=n.indexOf(t);if(a<0)return;const s=typeof A[0]=="function"?A[0].call(t,r,this._render(t.children)):A,u=this._makeDomArray(s,r<e);He(n,a+1,0,u,t.parent)})}function qh(A){typeof A=="string"&&(A=this._make(A)),this.remove();const e=[];for(const t of this._makeDomArray(A)){const r=this.clone().toArray(),{parent:n}=t;if(!n)continue;const a=n.children,s=a.indexOf(t);s<0||(He(a,s+1,0,r,n),e.push(...r))}return this._make(e)}function jh(...A){const e=this.length-1;return mA(this,(t,r)=>{if(!vA(t)||!t.parent)return;const n=t.parent.children,a=n.indexOf(t);if(a<0)return;const s=typeof A[0]=="function"?A[0].call(t,r,this._render(t.children)):A,u=this._makeDomArray(s,r<e);He(n,a,0,u,t.parent)})}function $h(A){const e=this._make(A);this.remove();const t=[];return mA(e,r=>{const n=this.clone().toArray(),{parent:a}=r;if(!a)return;const s=a.children,u=s.indexOf(r);u<0||(He(s,u,0,n,a),t.push(...n))}),this._make(t)}function Zh(A){const e=A?this.filter(A):this;return mA(e,t=>{et(t),t.prev=t.next=t.parent=null}),this}function zh(A){return mA(this,(e,t)=>{const{parent:r}=e;if(!r)return;const n=r.children,a=typeof A=="function"?A.call(e,t,e):A,s=this._makeDomArray(a);nt(s,null);const u=n.indexOf(e);He(n,u,1,s,r),s.includes(e)||(e.parent=e.prev=e.next=null)})}function Ad(){return mA(this,A=>{if(vA(A)){for(const e of A.children)e.next=e.prev=e.parent=null;A.children.length=0}})}function ed(A){if(A===void 0){const e=this[0];return!e||!vA(e)?null:this._render(e.children)}return mA(this,e=>{if(!vA(e))return;for(const r of e.children)r.next=r.prev=r.parent=null;const t=Ue(A)?A.toArray():this._parse(`${A}`,this.options,!1,e).children;nt(t,e)})}function td(){return this._render(this)}function rd(A){return A===void 0?Gt(this):typeof A=="function"?mA(this,(e,t)=>this._make(e).text(A.call(e,t,Gt([e])))):mA(this,e=>{if(!vA(e))return;for(const r of e.children)r.next=r.prev=r.parent=null;const t=new Kt(`${A}`);nt(t,e)})}function nd(){const A=Array.prototype.map.call(this.get(),t=>Vt(t,!0)),e=new At(A);for(const t of A)t.parent=e;return this._make(A)}const ad=Object.freeze(Object.defineProperty({__proto__:null,_makeDomArray:Mh,after:Jh,append:Kh,appendTo:kh,before:jh,clone:nd,empty:Ad,html:ed,insertAfter:qh,insertBefore:$h,prepend:Vh,prependTo:Ph,remove:Zh,replaceWith:zh,text:rd,toString:td,unwrap:Xh,wrap:Gh,wrapAll:Wh,wrapInner:Yh},Symbol.toStringTag,{value:"Module"}));function sd(A,e){if(A!=null&&e!=null||typeof A=="object"&&!Array.isArray(A))return mA(this,(t,r)=>{W(t)&&Eu(t,A,e,r)});if(this.length!==0)return mu(this[0],A)}function Eu(A,e,t,r){if(typeof e=="string"){const n=mu(A),a=typeof t=="function"?t.call(A,r,n[e]):t;a===""?delete n[e]:a!=null&&(n[e]=a),A.attribs.style=id(n)}else if(typeof e=="object"){const n=Object.keys(e);for(let a=0;a<n.length;a++){const s=n[a];Eu(A,s,e[s],a)}}}function mu(A,e){if(!A||!W(A))return;const t=ud(A.attribs.style);if(typeof e=="string")return t[e];if(Array.isArray(e)){const r={};for(const n of e)t[n]!=null&&(r[n]=t[n]);return r}return t}function id(A){return Object.keys(A).reduce((e,t)=>`${e}${e?" ":""}${t}: ${A[t]};`,"")}function ud(A){if(A=(A||"").trim(),!A)return{};const e={};let t;for(const r of A.split(";")){const n=r.indexOf(":");if(n<1||n===r.length-1){const a=r.trimEnd();a.length>0&&t!==void 0&&(e[t]+=`;${a}`)}else t=r.slice(0,n).trim(),e[t]=r.slice(n+1).trim()}return e}const od=Object.freeze(Object.defineProperty({__proto__:null,css:sd},Symbol.toStringTag,{value:"Module"})),pu="input,select,textarea,keygen",cd=/%20/g,Cu=/\r?\n/g;function ld(){return this.serializeArray().map(t=>`${encodeURIComponent(t.name)}=${encodeURIComponent(t.value)}`).join("&").replace(cd,"+")}function fd(){return this.map((A,e)=>{const t=this._make(e);return W(e)&&e.name==="form"?t.find(pu).toArray():t.filter(pu).toArray()}).filter('[name!=""]:enabled:not(:submit, :button, :image, :reset, :file):matches([checked], :not(:checkbox, :radio))').map((A,e)=>{var t;const r=this._make(e),n=r.attr("name"),a=(t=r.val())!==null&&t!==void 0?t:"";return Array.isArray(a)?a.map(s=>({name:n,value:s.replace(Cu,`\r
7
- `)})):{name:n,value:a.replace(Cu,`\r
8
- `)}}).toArray()}const hd=Object.freeze(Object.defineProperty({__proto__:null,serialize:ld,serializeArray:fd},Symbol.toStringTag,{value:"Module"}));function dd(A){var e;return typeof A=="string"?{selector:A,value:"textContent"}:{selector:A.selector,value:(e=A.value)!==null&&e!==void 0?e:"textContent"}}function Bd(A){const e={};for(const t in A){const r=A[t],n=Array.isArray(r),{selector:a,value:s}=dd(n?r[0]:r),u=typeof s=="function"?s:typeof s=="string"?o=>this._make(o).prop(s):o=>this._make(o).extract(s);if(n)e[t]=this._findBySelector(a,Number.POSITIVE_INFINITY).map((o,l)=>u(l,t,e)).get();else{const o=this._findBySelector(a,1);e[t]=o.length>0?u(o[0],t,e):void 0}}return e}const gd=Object.freeze(Object.defineProperty({__proto__:null,extract:Bd},Symbol.toStringTag,{value:"Module"}));class $t{constructor(e,t,r){if(this.length=0,this.options=r,this._root=t,e){for(let n=0;n<e.length;n++)this[n]=e[n];this.length=e.length}}}$t.prototype.cheerio="[cheerio object]",$t.prototype.splice=Array.prototype.splice,$t.prototype[Symbol.iterator]=Array.prototype[Symbol.iterator],Object.assign($t.prototype,Tf,Oh,ad,od,hd,gd);function Ed(A,e){return function t(r,n,a=!0){if(r==null)throw new Error("cheerio.load() expects a string");const s=Ia(n),u=A(r,s,a,null);class o extends $t{_make(h,d){const C=l(h,d);return C.prevObject=this,C}_parse(h,d,C,p){return A(h,d,C,p)}_render(h){return e(h,this.options)}}function l(f,h,d=u,C){if(f&&Ue(f))return f;const p=Ia(C,s),T=typeof d=="string"?[A(d,p,!1,null)]:"length"in d?d:[d],U=Ue(T)?T:new o(T,null,p);if(U._root=U,!f)return new o(void 0,U,p);const N=typeof f=="string"&&_a(f)?A(f,p,!1,null).children:md(f)?[f]:Array.isArray(f)?f:void 0,_=new o(N,U,p);if(N)return _;if(typeof f!="string")throw new TypeError("Unexpected type of selector");let D=f;const P=h?typeof h=="string"?_a(h)?new o([A(h,p,!1,null)],U,p):(D=`${h} ${D}`,U):Ue(h)?h:new o(Array.isArray(h)?h:[h],U,p):U;return P?P.find(D):_}return Object.assign(l,cf,{load:t,_root:u,_options:s,fn:o.prototype,prototype:o.prototype}),l}}function md(A){return!!A.name||A.type==="root"||A.type==="text"||A.type==="comment"}const pd=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),dA="�";var B;(function(A){A[A.EOF=-1]="EOF",A[A.NULL=0]="NULL",A[A.TABULATION=9]="TABULATION",A[A.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",A[A.LINE_FEED=10]="LINE_FEED",A[A.FORM_FEED=12]="FORM_FEED",A[A.SPACE=32]="SPACE",A[A.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",A[A.QUOTATION_MARK=34]="QUOTATION_MARK",A[A.AMPERSAND=38]="AMPERSAND",A[A.APOSTROPHE=39]="APOSTROPHE",A[A.HYPHEN_MINUS=45]="HYPHEN_MINUS",A[A.SOLIDUS=47]="SOLIDUS",A[A.DIGIT_0=48]="DIGIT_0",A[A.DIGIT_9=57]="DIGIT_9",A[A.SEMICOLON=59]="SEMICOLON",A[A.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",A[A.EQUALS_SIGN=61]="EQUALS_SIGN",A[A.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",A[A.QUESTION_MARK=63]="QUESTION_MARK",A[A.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",A[A.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",A[A.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",A[A.GRAVE_ACCENT=96]="GRAVE_ACCENT",A[A.LATIN_SMALL_A=97]="LATIN_SMALL_A",A[A.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(B||(B={}));const JA={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function wu(A){return A>=55296&&A<=57343}function Cd(A){return A>=56320&&A<=57343}function wd(A,e){return(A-55296)*1024+9216+e}function Tu(A){return A!==32&&A!==10&&A!==13&&A!==9&&A!==12&&A>=1&&A<=31||A>=127&&A<=159}function bu(A){return A>=64976&&A<=65007||pd.has(A)}var b;(function(A){A.controlCharacterInInputStream="control-character-in-input-stream",A.noncharacterInInputStream="noncharacter-in-input-stream",A.surrogateInInputStream="surrogate-in-input-stream",A.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",A.endTagWithAttributes="end-tag-with-attributes",A.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",A.unexpectedSolidusInTag="unexpected-solidus-in-tag",A.unexpectedNullCharacter="unexpected-null-character",A.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",A.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",A.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",A.missingEndTagName="missing-end-tag-name",A.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",A.unknownNamedCharacterReference="unknown-named-character-reference",A.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",A.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",A.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",A.eofBeforeTagName="eof-before-tag-name",A.eofInTag="eof-in-tag",A.missingAttributeValue="missing-attribute-value",A.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",A.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",A.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",A.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",A.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",A.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",A.missingDoctypePublicIdentifier="missing-doctype-public-identifier",A.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",A.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",A.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",A.cdataInHtmlContent="cdata-in-html-content",A.incorrectlyOpenedComment="incorrectly-opened-comment",A.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",A.eofInDoctype="eof-in-doctype",A.nestedComment="nested-comment",A.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",A.eofInComment="eof-in-comment",A.incorrectlyClosedComment="incorrectly-closed-comment",A.eofInCdata="eof-in-cdata",A.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",A.nullCharacterReference="null-character-reference",A.surrogateCharacterReference="surrogate-character-reference",A.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",A.controlCharacterReference="control-character-reference",A.noncharacterCharacterReference="noncharacter-character-reference",A.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",A.missingDoctypeName="missing-doctype-name",A.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",A.duplicateAttribute="duplicate-attribute",A.nonConformingDoctype="non-conforming-doctype",A.missingDoctype="missing-doctype",A.misplacedDoctype="misplaced-doctype",A.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",A.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",A.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",A.openElementsLeftAfterEof="open-elements-left-after-eof",A.abandonedHeadElementChild="abandoned-head-element-child",A.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",A.nestedNoscriptInHead="nested-noscript-in-head",A.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(b||(b={}));const Td=65536;class bd{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=Td,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e,t){const{line:r,col:n,offset:a}=this,s=n+t,u=a+t;return{code:e,startLine:r,endLine:r,startCol:s,endCol:s,startOffset:u,endOffset:u}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){const t=this.html.charCodeAt(this.pos+1);if(Cd(t))return this.pos++,this._addGap(),wd(e,t)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,B.EOF;return this._err(b.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let r=0;r<e.length;r++)if((this.html.charCodeAt(this.pos+r)|32)!==e.charCodeAt(r))return!1;return!0}peek(e){const t=this.pos+e;if(t>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,B.EOF;const r=this.html.charCodeAt(t);return r===B.CARRIAGE_RETURN?B.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,B.EOF;let e=this.html.charCodeAt(this.pos);return e===B.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,B.LINE_FEED):e===B.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,wu(e)&&(e=this._processSurrogate(e)),this.handler.onParseError===null||e>31&&e<127||e===B.LINE_FEED||e===B.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){Tu(e)?this._err(b.controlCharacterInInputStream):bu(e)&&this._err(b.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var eA;(function(A){A[A.CHARACTER=0]="CHARACTER",A[A.NULL_CHARACTER=1]="NULL_CHARACTER",A[A.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",A[A.START_TAG=3]="START_TAG",A[A.END_TAG=4]="END_TAG",A[A.COMMENT=5]="COMMENT",A[A.DOCTYPE=6]="DOCTYPE",A[A.EOF=7]="EOF",A[A.HIBERNATION=8]="HIBERNATION"})(eA||(eA={}));function Uu(A,e){for(let t=A.attrs.length-1;t>=0;t--)if(A.attrs[t].name===e)return A.attrs[t].value;return null}var F;(function(A){A.HTML="http://www.w3.org/1999/xhtml",A.MATHML="http://www.w3.org/1998/Math/MathML",A.SVG="http://www.w3.org/2000/svg",A.XLINK="http://www.w3.org/1999/xlink",A.XML="http://www.w3.org/XML/1998/namespace",A.XMLNS="http://www.w3.org/2000/xmlns/"})(F||(F={}));var at;(function(A){A.TYPE="type",A.ACTION="action",A.ENCODING="encoding",A.PROMPT="prompt",A.NAME="name",A.COLOR="color",A.FACE="face",A.SIZE="size"})(at||(at={}));var Ae;(function(A){A.NO_QUIRKS="no-quirks",A.QUIRKS="quirks",A.LIMITED_QUIRKS="limited-quirks"})(Ae||(Ae={}));var w;(function(A){A.A="a",A.ADDRESS="address",A.ANNOTATION_XML="annotation-xml",A.APPLET="applet",A.AREA="area",A.ARTICLE="article",A.ASIDE="aside",A.B="b",A.BASE="base",A.BASEFONT="basefont",A.BGSOUND="bgsound",A.BIG="big",A.BLOCKQUOTE="blockquote",A.BODY="body",A.BR="br",A.BUTTON="button",A.CAPTION="caption",A.CENTER="center",A.CODE="code",A.COL="col",A.COLGROUP="colgroup",A.DD="dd",A.DESC="desc",A.DETAILS="details",A.DIALOG="dialog",A.DIR="dir",A.DIV="div",A.DL="dl",A.DT="dt",A.EM="em",A.EMBED="embed",A.FIELDSET="fieldset",A.FIGCAPTION="figcaption",A.FIGURE="figure",A.FONT="font",A.FOOTER="footer",A.FOREIGN_OBJECT="foreignObject",A.FORM="form",A.FRAME="frame",A.FRAMESET="frameset",A.H1="h1",A.H2="h2",A.H3="h3",A.H4="h4",A.H5="h5",A.H6="h6",A.HEAD="head",A.HEADER="header",A.HGROUP="hgroup",A.HR="hr",A.HTML="html",A.I="i",A.IMG="img",A.IMAGE="image",A.INPUT="input",A.IFRAME="iframe",A.KEYGEN="keygen",A.LABEL="label",A.LI="li",A.LINK="link",A.LISTING="listing",A.MAIN="main",A.MALIGNMARK="malignmark",A.MARQUEE="marquee",A.MATH="math",A.MENU="menu",A.META="meta",A.MGLYPH="mglyph",A.MI="mi",A.MO="mo",A.MN="mn",A.MS="ms",A.MTEXT="mtext",A.NAV="nav",A.NOBR="nobr",A.NOFRAMES="noframes",A.NOEMBED="noembed",A.NOSCRIPT="noscript",A.OBJECT="object",A.OL="ol",A.OPTGROUP="optgroup",A.OPTION="option",A.P="p",A.PARAM="param",A.PLAINTEXT="plaintext",A.PRE="pre",A.RB="rb",A.RP="rp",A.RT="rt",A.RTC="rtc",A.RUBY="ruby",A.S="s",A.SCRIPT="script",A.SEARCH="search",A.SECTION="section",A.SELECT="select",A.SOURCE="source",A.SMALL="small",A.SPAN="span",A.STRIKE="strike",A.STRONG="strong",A.STYLE="style",A.SUB="sub",A.SUMMARY="summary",A.SUP="sup",A.TABLE="table",A.TBODY="tbody",A.TEMPLATE="template",A.TEXTAREA="textarea",A.TFOOT="tfoot",A.TD="td",A.TH="th",A.THEAD="thead",A.TITLE="title",A.TR="tr",A.TRACK="track",A.TT="tt",A.U="u",A.UL="ul",A.SVG="svg",A.VAR="var",A.WBR="wbr",A.XMP="xmp"})(w||(w={}));var i;(function(A){A[A.UNKNOWN=0]="UNKNOWN",A[A.A=1]="A",A[A.ADDRESS=2]="ADDRESS",A[A.ANNOTATION_XML=3]="ANNOTATION_XML",A[A.APPLET=4]="APPLET",A[A.AREA=5]="AREA",A[A.ARTICLE=6]="ARTICLE",A[A.ASIDE=7]="ASIDE",A[A.B=8]="B",A[A.BASE=9]="BASE",A[A.BASEFONT=10]="BASEFONT",A[A.BGSOUND=11]="BGSOUND",A[A.BIG=12]="BIG",A[A.BLOCKQUOTE=13]="BLOCKQUOTE",A[A.BODY=14]="BODY",A[A.BR=15]="BR",A[A.BUTTON=16]="BUTTON",A[A.CAPTION=17]="CAPTION",A[A.CENTER=18]="CENTER",A[A.CODE=19]="CODE",A[A.COL=20]="COL",A[A.COLGROUP=21]="COLGROUP",A[A.DD=22]="DD",A[A.DESC=23]="DESC",A[A.DETAILS=24]="DETAILS",A[A.DIALOG=25]="DIALOG",A[A.DIR=26]="DIR",A[A.DIV=27]="DIV",A[A.DL=28]="DL",A[A.DT=29]="DT",A[A.EM=30]="EM",A[A.EMBED=31]="EMBED",A[A.FIELDSET=32]="FIELDSET",A[A.FIGCAPTION=33]="FIGCAPTION",A[A.FIGURE=34]="FIGURE",A[A.FONT=35]="FONT",A[A.FOOTER=36]="FOOTER",A[A.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",A[A.FORM=38]="FORM",A[A.FRAME=39]="FRAME",A[A.FRAMESET=40]="FRAMESET",A[A.H1=41]="H1",A[A.H2=42]="H2",A[A.H3=43]="H3",A[A.H4=44]="H4",A[A.H5=45]="H5",A[A.H6=46]="H6",A[A.HEAD=47]="HEAD",A[A.HEADER=48]="HEADER",A[A.HGROUP=49]="HGROUP",A[A.HR=50]="HR",A[A.HTML=51]="HTML",A[A.I=52]="I",A[A.IMG=53]="IMG",A[A.IMAGE=54]="IMAGE",A[A.INPUT=55]="INPUT",A[A.IFRAME=56]="IFRAME",A[A.KEYGEN=57]="KEYGEN",A[A.LABEL=58]="LABEL",A[A.LI=59]="LI",A[A.LINK=60]="LINK",A[A.LISTING=61]="LISTING",A[A.MAIN=62]="MAIN",A[A.MALIGNMARK=63]="MALIGNMARK",A[A.MARQUEE=64]="MARQUEE",A[A.MATH=65]="MATH",A[A.MENU=66]="MENU",A[A.META=67]="META",A[A.MGLYPH=68]="MGLYPH",A[A.MI=69]="MI",A[A.MO=70]="MO",A[A.MN=71]="MN",A[A.MS=72]="MS",A[A.MTEXT=73]="MTEXT",A[A.NAV=74]="NAV",A[A.NOBR=75]="NOBR",A[A.NOFRAMES=76]="NOFRAMES",A[A.NOEMBED=77]="NOEMBED",A[A.NOSCRIPT=78]="NOSCRIPT",A[A.OBJECT=79]="OBJECT",A[A.OL=80]="OL",A[A.OPTGROUP=81]="OPTGROUP",A[A.OPTION=82]="OPTION",A[A.P=83]="P",A[A.PARAM=84]="PARAM",A[A.PLAINTEXT=85]="PLAINTEXT",A[A.PRE=86]="PRE",A[A.RB=87]="RB",A[A.RP=88]="RP",A[A.RT=89]="RT",A[A.RTC=90]="RTC",A[A.RUBY=91]="RUBY",A[A.S=92]="S",A[A.SCRIPT=93]="SCRIPT",A[A.SEARCH=94]="SEARCH",A[A.SECTION=95]="SECTION",A[A.SELECT=96]="SELECT",A[A.SOURCE=97]="SOURCE",A[A.SMALL=98]="SMALL",A[A.SPAN=99]="SPAN",A[A.STRIKE=100]="STRIKE",A[A.STRONG=101]="STRONG",A[A.STYLE=102]="STYLE",A[A.SUB=103]="SUB",A[A.SUMMARY=104]="SUMMARY",A[A.SUP=105]="SUP",A[A.TABLE=106]="TABLE",A[A.TBODY=107]="TBODY",A[A.TEMPLATE=108]="TEMPLATE",A[A.TEXTAREA=109]="TEXTAREA",A[A.TFOOT=110]="TFOOT",A[A.TD=111]="TD",A[A.TH=112]="TH",A[A.THEAD=113]="THEAD",A[A.TITLE=114]="TITLE",A[A.TR=115]="TR",A[A.TRACK=116]="TRACK",A[A.TT=117]="TT",A[A.U=118]="U",A[A.UL=119]="UL",A[A.SVG=120]="SVG",A[A.VAR=121]="VAR",A[A.WBR=122]="WBR",A[A.XMP=123]="XMP"})(i||(i={}));const Ud=new Map([[w.A,i.A],[w.ADDRESS,i.ADDRESS],[w.ANNOTATION_XML,i.ANNOTATION_XML],[w.APPLET,i.APPLET],[w.AREA,i.AREA],[w.ARTICLE,i.ARTICLE],[w.ASIDE,i.ASIDE],[w.B,i.B],[w.BASE,i.BASE],[w.BASEFONT,i.BASEFONT],[w.BGSOUND,i.BGSOUND],[w.BIG,i.BIG],[w.BLOCKQUOTE,i.BLOCKQUOTE],[w.BODY,i.BODY],[w.BR,i.BR],[w.BUTTON,i.BUTTON],[w.CAPTION,i.CAPTION],[w.CENTER,i.CENTER],[w.CODE,i.CODE],[w.COL,i.COL],[w.COLGROUP,i.COLGROUP],[w.DD,i.DD],[w.DESC,i.DESC],[w.DETAILS,i.DETAILS],[w.DIALOG,i.DIALOG],[w.DIR,i.DIR],[w.DIV,i.DIV],[w.DL,i.DL],[w.DT,i.DT],[w.EM,i.EM],[w.EMBED,i.EMBED],[w.FIELDSET,i.FIELDSET],[w.FIGCAPTION,i.FIGCAPTION],[w.FIGURE,i.FIGURE],[w.FONT,i.FONT],[w.FOOTER,i.FOOTER],[w.FOREIGN_OBJECT,i.FOREIGN_OBJECT],[w.FORM,i.FORM],[w.FRAME,i.FRAME],[w.FRAMESET,i.FRAMESET],[w.H1,i.H1],[w.H2,i.H2],[w.H3,i.H3],[w.H4,i.H4],[w.H5,i.H5],[w.H6,i.H6],[w.HEAD,i.HEAD],[w.HEADER,i.HEADER],[w.HGROUP,i.HGROUP],[w.HR,i.HR],[w.HTML,i.HTML],[w.I,i.I],[w.IMG,i.IMG],[w.IMAGE,i.IMAGE],[w.INPUT,i.INPUT],[w.IFRAME,i.IFRAME],[w.KEYGEN,i.KEYGEN],[w.LABEL,i.LABEL],[w.LI,i.LI],[w.LINK,i.LINK],[w.LISTING,i.LISTING],[w.MAIN,i.MAIN],[w.MALIGNMARK,i.MALIGNMARK],[w.MARQUEE,i.MARQUEE],[w.MATH,i.MATH],[w.MENU,i.MENU],[w.META,i.META],[w.MGLYPH,i.MGLYPH],[w.MI,i.MI],[w.MO,i.MO],[w.MN,i.MN],[w.MS,i.MS],[w.MTEXT,i.MTEXT],[w.NAV,i.NAV],[w.NOBR,i.NOBR],[w.NOFRAMES,i.NOFRAMES],[w.NOEMBED,i.NOEMBED],[w.NOSCRIPT,i.NOSCRIPT],[w.OBJECT,i.OBJECT],[w.OL,i.OL],[w.OPTGROUP,i.OPTGROUP],[w.OPTION,i.OPTION],[w.P,i.P],[w.PARAM,i.PARAM],[w.PLAINTEXT,i.PLAINTEXT],[w.PRE,i.PRE],[w.RB,i.RB],[w.RP,i.RP],[w.RT,i.RT],[w.RTC,i.RTC],[w.RUBY,i.RUBY],[w.S,i.S],[w.SCRIPT,i.SCRIPT],[w.SEARCH,i.SEARCH],[w.SECTION,i.SECTION],[w.SELECT,i.SELECT],[w.SOURCE,i.SOURCE],[w.SMALL,i.SMALL],[w.SPAN,i.SPAN],[w.STRIKE,i.STRIKE],[w.STRONG,i.STRONG],[w.STYLE,i.STYLE],[w.SUB,i.SUB],[w.SUMMARY,i.SUMMARY],[w.SUP,i.SUP],[w.TABLE,i.TABLE],[w.TBODY,i.TBODY],[w.TEMPLATE,i.TEMPLATE],[w.TEXTAREA,i.TEXTAREA],[w.TFOOT,i.TFOOT],[w.TD,i.TD],[w.TH,i.TH],[w.THEAD,i.THEAD],[w.TITLE,i.TITLE],[w.TR,i.TR],[w.TRACK,i.TRACK],[w.TT,i.TT],[w.U,i.U],[w.UL,i.UL],[w.SVG,i.SVG],[w.VAR,i.VAR],[w.WBR,i.WBR],[w.XMP,i.XMP]]);function en(A){var e;return(e=Ud.get(A))!==null&&e!==void 0?e:i.UNKNOWN}const S=i,Qd={[F.HTML]:new Set([S.ADDRESS,S.APPLET,S.AREA,S.ARTICLE,S.ASIDE,S.BASE,S.BASEFONT,S.BGSOUND,S.BLOCKQUOTE,S.BODY,S.BR,S.BUTTON,S.CAPTION,S.CENTER,S.COL,S.COLGROUP,S.DD,S.DETAILS,S.DIR,S.DIV,S.DL,S.DT,S.EMBED,S.FIELDSET,S.FIGCAPTION,S.FIGURE,S.FOOTER,S.FORM,S.FRAME,S.FRAMESET,S.H1,S.H2,S.H3,S.H4,S.H5,S.H6,S.HEAD,S.HEADER,S.HGROUP,S.HR,S.HTML,S.IFRAME,S.IMG,S.INPUT,S.LI,S.LINK,S.LISTING,S.MAIN,S.MARQUEE,S.MENU,S.META,S.NAV,S.NOEMBED,S.NOFRAMES,S.NOSCRIPT,S.OBJECT,S.OL,S.P,S.PARAM,S.PLAINTEXT,S.PRE,S.SCRIPT,S.SECTION,S.SELECT,S.SOURCE,S.STYLE,S.SUMMARY,S.TABLE,S.TBODY,S.TD,S.TEMPLATE,S.TEXTAREA,S.TFOOT,S.TH,S.THEAD,S.TITLE,S.TR,S.TRACK,S.UL,S.WBR,S.XMP]),[F.MATHML]:new Set([S.MI,S.MO,S.MN,S.MS,S.MTEXT,S.ANNOTATION_XML]),[F.SVG]:new Set([S.TITLE,S.FOREIGN_OBJECT,S.DESC]),[F.XLINK]:new Set,[F.XML]:new Set,[F.XMLNS]:new Set},Ja=new Set([S.H1,S.H2,S.H3,S.H4,S.H5,S.H6]),Fd=new Set([w.STYLE,w.SCRIPT,w.XMP,w.IFRAME,w.NOEMBED,w.NOFRAMES,w.PLAINTEXT]);function Id(A,e){return Fd.has(A)||e&&A===w.NOSCRIPT}var g;(function(A){A[A.DATA=0]="DATA",A[A.RCDATA=1]="RCDATA",A[A.RAWTEXT=2]="RAWTEXT",A[A.SCRIPT_DATA=3]="SCRIPT_DATA",A[A.PLAINTEXT=4]="PLAINTEXT",A[A.TAG_OPEN=5]="TAG_OPEN",A[A.END_TAG_OPEN=6]="END_TAG_OPEN",A[A.TAG_NAME=7]="TAG_NAME",A[A.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",A[A.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",A[A.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",A[A.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",A[A.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",A[A.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",A[A.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",A[A.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",A[A.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",A[A.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",A[A.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",A[A.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",A[A.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",A[A.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",A[A.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",A[A.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",A[A.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",A[A.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",A[A.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",A[A.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",A[A.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",A[A.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",A[A.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",A[A.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",A[A.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",A[A.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",A[A.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",A[A.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",A[A.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",A[A.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",A[A.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",A[A.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",A[A.BOGUS_COMMENT=40]="BOGUS_COMMENT",A[A.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",A[A.COMMENT_START=42]="COMMENT_START",A[A.COMMENT_START_DASH=43]="COMMENT_START_DASH",A[A.COMMENT=44]="COMMENT",A[A.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",A[A.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",A[A.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",A[A.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",A[A.COMMENT_END_DASH=49]="COMMENT_END_DASH",A[A.COMMENT_END=50]="COMMENT_END",A[A.COMMENT_END_BANG=51]="COMMENT_END_BANG",A[A.DOCTYPE=52]="DOCTYPE",A[A.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",A[A.DOCTYPE_NAME=54]="DOCTYPE_NAME",A[A.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",A[A.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",A[A.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",A[A.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",A[A.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",A[A.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",A[A.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",A[A.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",A[A.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",A[A.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",A[A.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",A[A.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",A[A.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",A[A.CDATA_SECTION=68]="CDATA_SECTION",A[A.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",A[A.CDATA_SECTION_END=70]="CDATA_SECTION_END",A[A.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",A[A.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(g||(g={}));const qA={DATA:g.DATA,RCDATA:g.RCDATA,RAWTEXT:g.RAWTEXT,SCRIPT_DATA:g.SCRIPT_DATA,PLAINTEXT:g.PLAINTEXT,CDATA_SECTION:g.CDATA_SECTION};function _d(A){return A>=B.DIGIT_0&&A<=B.DIGIT_9}function Zt(A){return A>=B.LATIN_CAPITAL_A&&A<=B.LATIN_CAPITAL_Z}function yd(A){return A>=B.LATIN_SMALL_A&&A<=B.LATIN_SMALL_Z}function De(A){return yd(A)||Zt(A)}function Qu(A){return De(A)||_d(A)}function tn(A){return A+32}function Fu(A){return A===B.SPACE||A===B.LINE_FEED||A===B.TABULATION||A===B.FORM_FEED}function Iu(A){return Fu(A)||A===B.SOLIDUS||A===B.GREATER_THAN_SIGN}function Nd(A){return A===B.NULL?b.nullCharacterReference:A>1114111?b.characterReferenceOutsideUnicodeRange:wu(A)?b.surrogateCharacterReference:bu(A)?b.noncharacterCharacterReference:Tu(A)||A===B.CARRIAGE_RETURN?b.controlCharacterReference:null}let vd=class{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=g.DATA,this.returnState=g.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new bd(t),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new Ta(ma,(r,n)=>{this.preprocessor.pos=this.entityStartPos+n-1,this._flushCodePointConsumedAsCharacterReference(r)},t.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(b.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:r=>{this._err(b.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+r)},validateNumericCharacterReference:r=>{const n=Nd(r);n&&this._err(n,1)}}:void 0)}_err(e,t=0){var r,n;(n=(r=this.handler).onParseError)===null||n===void 0||n.call(r,this.preprocessor.getError(e,t))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||e==null||e())}write(e,t,r){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||r==null||r()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t<e;t++)this.preprocessor.advance()}_consumeSequenceIfMatch(e,t){return this.preprocessor.startsWith(e,t)?(this._advanceBy(e.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:eA.START_TAG,tagName:"",tagID:i.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:eA.END_TAG,tagName:"",tagID:i.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:eA.COMMENT,data:"",location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:eA.DOCTYPE,name:e,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t,location:this.currentLocation}}_createAttr(e){this.currentAttr={name:e,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var e,t;const r=this.currentToken;if(Uu(r,this.currentAttr.name)===null){if(r.attrs.push(this.currentAttr),r.location&&this.currentLocation){const n=(e=(t=r.location).attrs)!==null&&e!==void 0?e:t.attrs=Object.create(null);n[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(b.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(e){this._emitCurrentCharacterToken(e.location),this.currentToken=null,e.location&&(e.location.endLine=this.preprocessor.line,e.location.endCol=this.preprocessor.col+1,e.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const e=this.currentToken;this.prepareToken(e),e.tagID=en(e.tagName),e.type===eA.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(b.endTagWithAttributes),e.selfClosing&&this._err(b.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case eA.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case eA.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case eA.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:eA.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken)if(this.currentCharacterToken.type===e){this.currentCharacterToken.chars+=t;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(e,t)}_emitCodePoint(e){const t=Fu(e)?eA.WHITESPACE_CHARACTER:e===B.NULL?eA.NULL_CHARACTER:eA.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(eA.CHARACTER,e)}_startCharacterReference(){this.returnState=this.state,this.state=g.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?re.Attribute:re.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===g.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===g.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===g.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case g.DATA:{this._stateData(e);break}case g.RCDATA:{this._stateRcdata(e);break}case g.RAWTEXT:{this._stateRawtext(e);break}case g.SCRIPT_DATA:{this._stateScriptData(e);break}case g.PLAINTEXT:{this._statePlaintext(e);break}case g.TAG_OPEN:{this._stateTagOpen(e);break}case g.END_TAG_OPEN:{this._stateEndTagOpen(e);break}case g.TAG_NAME:{this._stateTagName(e);break}case g.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(e);break}case g.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(e);break}case g.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(e);break}case g.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(e);break}case g.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(e);break}case g.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(e);break}case g.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(e);break}case g.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(e);break}case g.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(e);break}case g.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(e);break}case g.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(e);break}case g.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(e);break}case g.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(e);break}case g.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(e);break}case g.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(e);break}case g.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(e);break}case g.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(e);break}case g.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(e);break}case g.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(e);break}case g.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(e);break}case g.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(e);break}case g.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(e);break}case g.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(e);break}case g.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(e);break}case g.ATTRIBUTE_NAME:{this._stateAttributeName(e);break}case g.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(e);break}case g.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(e);break}case g.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(e);break}case g.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(e);break}case g.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(e);break}case g.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(e);break}case g.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(e);break}case g.BOGUS_COMMENT:{this._stateBogusComment(e);break}case g.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(e);break}case g.COMMENT_START:{this._stateCommentStart(e);break}case g.COMMENT_START_DASH:{this._stateCommentStartDash(e);break}case g.COMMENT:{this._stateComment(e);break}case g.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(e);break}case g.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(e);break}case g.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(e);break}case g.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(e);break}case g.COMMENT_END_DASH:{this._stateCommentEndDash(e);break}case g.COMMENT_END:{this._stateCommentEnd(e);break}case g.COMMENT_END_BANG:{this._stateCommentEndBang(e);break}case g.DOCTYPE:{this._stateDoctype(e);break}case g.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(e);break}case g.DOCTYPE_NAME:{this._stateDoctypeName(e);break}case g.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(e);break}case g.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(e);break}case g.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(e);break}case g.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(e);break}case g.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(e);break}case g.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(e);break}case g.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break}case g.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(e);break}case g.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(e);break}case g.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(e);break}case g.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(e);break}case g.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(e);break}case g.BOGUS_DOCTYPE:{this._stateBogusDoctype(e);break}case g.CDATA_SECTION:{this._stateCdataSection(e);break}case g.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(e);break}case g.CDATA_SECTION_END:{this._stateCdataSectionEnd(e);break}case g.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case g.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(e);break}default:throw new Error("Unknown state")}}_stateData(e){switch(e){case B.LESS_THAN_SIGN:{this.state=g.TAG_OPEN;break}case B.AMPERSAND:{this._startCharacterReference();break}case B.NULL:{this._err(b.unexpectedNullCharacter),this._emitCodePoint(e);break}case B.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case B.AMPERSAND:{this._startCharacterReference();break}case B.LESS_THAN_SIGN:{this.state=g.RCDATA_LESS_THAN_SIGN;break}case B.NULL:{this._err(b.unexpectedNullCharacter),this._emitChars(dA);break}case B.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case B.LESS_THAN_SIGN:{this.state=g.RAWTEXT_LESS_THAN_SIGN;break}case B.NULL:{this._err(b.unexpectedNullCharacter),this._emitChars(dA);break}case B.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case B.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_LESS_THAN_SIGN;break}case B.NULL:{this._err(b.unexpectedNullCharacter),this._emitChars(dA);break}case B.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case B.NULL:{this._err(b.unexpectedNullCharacter),this._emitChars(dA);break}case B.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateTagOpen(e){if(De(e))this._createStartTagToken(),this.state=g.TAG_NAME,this._stateTagName(e);else switch(e){case B.EXCLAMATION_MARK:{this.state=g.MARKUP_DECLARATION_OPEN;break}case B.SOLIDUS:{this.state=g.END_TAG_OPEN;break}case B.QUESTION_MARK:{this._err(b.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=g.BOGUS_COMMENT,this._stateBogusComment(e);break}case B.EOF:{this._err(b.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(b.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=g.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(De(e))this._createEndTagToken(),this.state=g.TAG_NAME,this._stateTagName(e);else switch(e){case B.GREATER_THAN_SIGN:{this._err(b.missingEndTagName),this.state=g.DATA;break}case B.EOF:{this._err(b.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(b.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=g.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this.state=g.BEFORE_ATTRIBUTE_NAME;break}case B.SOLIDUS:{this.state=g.SELF_CLOSING_START_TAG;break}case B.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentTagToken();break}case B.NULL:{this._err(b.unexpectedNullCharacter),t.tagName+=dA;break}case B.EOF:{this._err(b.eofInTag),this._emitEOFToken();break}default:t.tagName+=String.fromCodePoint(Zt(e)?tn(e):e)}}_stateRcdataLessThanSign(e){e===B.SOLIDUS?this.state=g.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=g.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){De(e)?(this.state=g.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars("</"),this.state=g.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const t=this.currentToken;switch(t.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=g.BEFORE_ATTRIBUTE_NAME,!1;case B.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=g.SELF_CLOSING_START_TAG,!1;case B.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=g.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=g.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===B.SOLIDUS?this.state=g.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=g.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){De(e)?(this.state=g.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars("</"),this.state=g.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=g.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case B.SOLIDUS:{this.state=g.SCRIPT_DATA_END_TAG_OPEN;break}case B.EXCLAMATION_MARK:{this.state=g.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=g.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){De(e)?(this.state=g.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars("</"),this.state=g.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=g.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===B.HYPHEN_MINUS?(this.state=g.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=g.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===B.HYPHEN_MINUS?(this.state=g.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=g.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case B.HYPHEN_MINUS:{this.state=g.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case B.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case B.NULL:{this._err(b.unexpectedNullCharacter),this._emitChars(dA);break}case B.EOF:{this._err(b.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case B.HYPHEN_MINUS:{this.state=g.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case B.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case B.NULL:{this._err(b.unexpectedNullCharacter),this.state=g.SCRIPT_DATA_ESCAPED,this._emitChars(dA);break}case B.EOF:{this._err(b.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=g.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case B.HYPHEN_MINUS:{this._emitChars("-");break}case B.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case B.GREATER_THAN_SIGN:{this.state=g.SCRIPT_DATA,this._emitChars(">");break}case B.NULL:{this._err(b.unexpectedNullCharacter),this.state=g.SCRIPT_DATA_ESCAPED,this._emitChars(dA);break}case B.EOF:{this._err(b.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=g.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===B.SOLIDUS?this.state=g.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:De(e)?(this._emitChars("<"),this.state=g.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=g.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){De(e)?(this.state=g.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("</"),this.state=g.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=g.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(JA.SCRIPT,!1)&&Iu(this.preprocessor.peek(JA.SCRIPT.length))){this._emitCodePoint(e);for(let t=0;t<JA.SCRIPT.length;t++)this._emitCodePoint(this._consume());this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=g.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case B.HYPHEN_MINUS:{this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case B.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case B.NULL:{this._err(b.unexpectedNullCharacter),this._emitChars(dA);break}case B.EOF:{this._err(b.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case B.HYPHEN_MINUS:{this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case B.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case B.NULL:{this._err(b.unexpectedNullCharacter),this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(dA);break}case B.EOF:{this._err(b.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case B.HYPHEN_MINUS:{this._emitChars("-");break}case B.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case B.GREATER_THAN_SIGN:{this.state=g.SCRIPT_DATA,this._emitChars(">");break}case B.NULL:{this._err(b.unexpectedNullCharacter),this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(dA);break}case B.EOF:{this._err(b.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===B.SOLIDUS?(this.state=g.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(JA.SCRIPT,!1)&&Iu(this.preprocessor.peek(JA.SCRIPT.length))){this._emitCodePoint(e);for(let t=0;t<JA.SCRIPT.length;t++)this._emitCodePoint(this._consume());this.state=g.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.SOLIDUS:case B.GREATER_THAN_SIGN:case B.EOF:{this.state=g.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break}case B.EQUALS_SIGN:{this._err(b.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=g.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=g.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:case B.SOLIDUS:case B.GREATER_THAN_SIGN:case B.EOF:{this._leaveAttrName(),this.state=g.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break}case B.EQUALS_SIGN:{this._leaveAttrName(),this.state=g.BEFORE_ATTRIBUTE_VALUE;break}case B.QUOTATION_MARK:case B.APOSTROPHE:case B.LESS_THAN_SIGN:{this._err(b.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break}case B.NULL:{this._err(b.unexpectedNullCharacter),this.currentAttr.name+=dA;break}default:this.currentAttr.name+=String.fromCodePoint(Zt(e)?tn(e):e)}}_stateAfterAttributeName(e){switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.SOLIDUS:{this.state=g.SELF_CLOSING_START_TAG;break}case B.EQUALS_SIGN:{this.state=g.BEFORE_ATTRIBUTE_VALUE;break}case B.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentTagToken();break}case B.EOF:{this._err(b.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=g.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.QUOTATION_MARK:{this.state=g.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case B.APOSTROPHE:{this.state=g.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case B.GREATER_THAN_SIGN:{this._err(b.missingAttributeValue),this.state=g.DATA,this.emitCurrentTagToken();break}default:this.state=g.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case B.QUOTATION_MARK:{this.state=g.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case B.AMPERSAND:{this._startCharacterReference();break}case B.NULL:{this._err(b.unexpectedNullCharacter),this.currentAttr.value+=dA;break}case B.EOF:{this._err(b.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case B.APOSTROPHE:{this.state=g.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case B.AMPERSAND:{this._startCharacterReference();break}case B.NULL:{this._err(b.unexpectedNullCharacter),this.currentAttr.value+=dA;break}case B.EOF:{this._err(b.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this._leaveAttrValue(),this.state=g.BEFORE_ATTRIBUTE_NAME;break}case B.AMPERSAND:{this._startCharacterReference();break}case B.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=g.DATA,this.emitCurrentTagToken();break}case B.NULL:{this._err(b.unexpectedNullCharacter),this.currentAttr.value+=dA;break}case B.QUOTATION_MARK:case B.APOSTROPHE:case B.LESS_THAN_SIGN:case B.EQUALS_SIGN:case B.GRAVE_ACCENT:{this._err(b.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break}case B.EOF:{this._err(b.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this._leaveAttrValue(),this.state=g.BEFORE_ATTRIBUTE_NAME;break}case B.SOLIDUS:{this._leaveAttrValue(),this.state=g.SELF_CLOSING_START_TAG;break}case B.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=g.DATA,this.emitCurrentTagToken();break}case B.EOF:{this._err(b.eofInTag),this._emitEOFToken();break}default:this._err(b.missingWhitespaceBetweenAttributes),this.state=g.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case B.GREATER_THAN_SIGN:{const t=this.currentToken;t.selfClosing=!0,this.state=g.DATA,this.emitCurrentTagToken();break}case B.EOF:{this._err(b.eofInTag),this._emitEOFToken();break}default:this._err(b.unexpectedSolidusInTag),this.state=g.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){const t=this.currentToken;switch(e){case B.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentComment(t);break}case B.EOF:{this.emitCurrentComment(t),this._emitEOFToken();break}case B.NULL:{this._err(b.unexpectedNullCharacter),t.data+=dA;break}default:t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch(JA.DASH_DASH,!0)?(this._createCommentToken(JA.DASH_DASH.length+1),this.state=g.COMMENT_START):this._consumeSequenceIfMatch(JA.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(JA.DOCTYPE.length+1),this.state=g.DOCTYPE):this._consumeSequenceIfMatch(JA.CDATA_START,!0)?this.inForeignNode?this.state=g.CDATA_SECTION:(this._err(b.cdataInHtmlContent),this._createCommentToken(JA.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=g.BOGUS_COMMENT):this._ensureHibernation()||(this._err(b.incorrectlyOpenedComment),this._createCommentToken(2),this.state=g.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case B.HYPHEN_MINUS:{this.state=g.COMMENT_START_DASH;break}case B.GREATER_THAN_SIGN:{this._err(b.abruptClosingOfEmptyComment),this.state=g.DATA;const t=this.currentToken;this.emitCurrentComment(t);break}default:this.state=g.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){const t=this.currentToken;switch(e){case B.HYPHEN_MINUS:{this.state=g.COMMENT_END;break}case B.GREATER_THAN_SIGN:{this._err(b.abruptClosingOfEmptyComment),this.state=g.DATA,this.emitCurrentComment(t);break}case B.EOF:{this._err(b.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break}default:t.data+="-",this.state=g.COMMENT,this._stateComment(e)}}_stateComment(e){const t=this.currentToken;switch(e){case B.HYPHEN_MINUS:{this.state=g.COMMENT_END_DASH;break}case B.LESS_THAN_SIGN:{t.data+="<",this.state=g.COMMENT_LESS_THAN_SIGN;break}case B.NULL:{this._err(b.unexpectedNullCharacter),t.data+=dA;break}case B.EOF:{this._err(b.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break}default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){const t=this.currentToken;switch(e){case B.EXCLAMATION_MARK:{t.data+="!",this.state=g.COMMENT_LESS_THAN_SIGN_BANG;break}case B.LESS_THAN_SIGN:{t.data+="<";break}default:this.state=g.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===B.HYPHEN_MINUS?this.state=g.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=g.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===B.HYPHEN_MINUS?this.state=g.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=g.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==B.GREATER_THAN_SIGN&&e!==B.EOF&&this._err(b.nestedComment),this.state=g.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){const t=this.currentToken;switch(e){case B.HYPHEN_MINUS:{this.state=g.COMMENT_END;break}case B.EOF:{this._err(b.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break}default:t.data+="-",this.state=g.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){const t=this.currentToken;switch(e){case B.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentComment(t);break}case B.EXCLAMATION_MARK:{this.state=g.COMMENT_END_BANG;break}case B.HYPHEN_MINUS:{t.data+="-";break}case B.EOF:{this._err(b.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break}default:t.data+="--",this.state=g.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){const t=this.currentToken;switch(e){case B.HYPHEN_MINUS:{t.data+="--!",this.state=g.COMMENT_END_DASH;break}case B.GREATER_THAN_SIGN:{this._err(b.incorrectlyClosedComment),this.state=g.DATA,this.emitCurrentComment(t);break}case B.EOF:{this._err(b.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break}default:t.data+="--!",this.state=g.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this.state=g.BEFORE_DOCTYPE_NAME;break}case B.GREATER_THAN_SIGN:{this.state=g.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break}case B.EOF:{this._err(b.eofInDoctype),this._createDoctypeToken(null);const t=this.currentToken;t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(b.missingWhitespaceBeforeDoctypeName),this.state=g.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(Zt(e))this._createDoctypeToken(String.fromCharCode(tn(e))),this.state=g.DOCTYPE_NAME;else switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.NULL:{this._err(b.unexpectedNullCharacter),this._createDoctypeToken(dA),this.state=g.DOCTYPE_NAME;break}case B.GREATER_THAN_SIGN:{this._err(b.missingDoctypeName),this._createDoctypeToken(null);const t=this.currentToken;t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.EOF:{this._err(b.eofInDoctype),this._createDoctypeToken(null);const t=this.currentToken;t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=g.DOCTYPE_NAME}}_stateDoctypeName(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this.state=g.AFTER_DOCTYPE_NAME;break}case B.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentDoctype(t);break}case B.NULL:{this._err(b.unexpectedNullCharacter),t.name+=dA;break}case B.EOF:{this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:t.name+=String.fromCodePoint(Zt(e)?tn(e):e)}}_stateAfterDoctypeName(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentDoctype(t);break}case B.EOF:{this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(JA.PUBLIC,!1)?this.state=g.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(JA.SYSTEM,!1)?this.state=g.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(b.invalidCharacterSequenceAfterDoctypeName),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this.state=g.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case B.QUOTATION_MARK:{this._err(b.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=g.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case B.APOSTROPHE:{this._err(b.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=g.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case B.GREATER_THAN_SIGN:{this._err(b.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=g.DATA,this.emitCurrentDoctype(t);break}case B.EOF:{this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(b.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.QUOTATION_MARK:{t.publicId="",this.state=g.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case B.APOSTROPHE:{t.publicId="",this.state=g.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case B.GREATER_THAN_SIGN:{this._err(b.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=g.DATA,this.emitCurrentDoctype(t);break}case B.EOF:{this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(b.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){const t=this.currentToken;switch(e){case B.QUOTATION_MARK:{this.state=g.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case B.NULL:{this._err(b.unexpectedNullCharacter),t.publicId+=dA;break}case B.GREATER_THAN_SIGN:{this._err(b.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.EOF:{this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:t.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){const t=this.currentToken;switch(e){case B.APOSTROPHE:{this.state=g.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case B.NULL:{this._err(b.unexpectedNullCharacter),t.publicId+=dA;break}case B.GREATER_THAN_SIGN:{this._err(b.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.EOF:{this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:t.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this.state=g.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case B.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentDoctype(t);break}case B.QUOTATION_MARK:{this._err(b.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case B.APOSTROPHE:{this._err(b.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case B.EOF:{this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(b.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.GREATER_THAN_SIGN:{this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.QUOTATION_MARK:{t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case B.APOSTROPHE:{t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case B.EOF:{this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(b.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this.state=g.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case B.QUOTATION_MARK:{this._err(b.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case B.APOSTROPHE:{this._err(b.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case B.GREATER_THAN_SIGN:{this._err(b.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=g.DATA,this.emitCurrentDoctype(t);break}case B.EOF:{this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(b.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.QUOTATION_MARK:{t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case B.APOSTROPHE:{t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case B.GREATER_THAN_SIGN:{this._err(b.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=g.DATA,this.emitCurrentDoctype(t);break}case B.EOF:{this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(b.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){const t=this.currentToken;switch(e){case B.QUOTATION_MARK:{this.state=g.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case B.NULL:{this._err(b.unexpectedNullCharacter),t.systemId+=dA;break}case B.GREATER_THAN_SIGN:{this._err(b.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.EOF:{this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:t.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){const t=this.currentToken;switch(e){case B.APOSTROPHE:{this.state=g.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case B.NULL:{this._err(b.unexpectedNullCharacter),t.systemId+=dA;break}case B.GREATER_THAN_SIGN:{this._err(b.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.EOF:{this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:t.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.GREATER_THAN_SIGN:{this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.EOF:{this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(b.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){const t=this.currentToken;switch(e){case B.GREATER_THAN_SIGN:{this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.NULL:{this._err(b.unexpectedNullCharacter);break}case B.EOF:{this.emitCurrentDoctype(t),this._emitEOFToken();break}}}_stateCdataSection(e){switch(e){case B.RIGHT_SQUARE_BRACKET:{this.state=g.CDATA_SECTION_BRACKET;break}case B.EOF:{this._err(b.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===B.RIGHT_SQUARE_BRACKET?this.state=g.CDATA_SECTION_END:(this._emitChars("]"),this.state=g.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case B.GREATER_THAN_SIGN:{this.state=g.DATA;break}case B.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=g.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(){let e=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(e<0)if(this.preprocessor.lastChunkWritten)e=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}e===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(B.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&Qu(this.preprocessor.peek(1))?g.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(e){Qu(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===B.SEMICOLON&&this._err(b.unknownNamedCharacterReference),this.state=this.returnState,this._callState(e))}};const _u=new Set([i.DD,i.DT,i.LI,i.OPTGROUP,i.OPTION,i.P,i.RB,i.RP,i.RT,i.RTC]),yu=new Set([..._u,i.CAPTION,i.COLGROUP,i.TBODY,i.TD,i.TFOOT,i.TH,i.THEAD,i.TR]),rn=new Set([i.APPLET,i.CAPTION,i.HTML,i.MARQUEE,i.OBJECT,i.TABLE,i.TD,i.TEMPLATE,i.TH]),Sd=new Set([...rn,i.OL,i.UL]),xd=new Set([...rn,i.BUTTON]),Nu=new Set([i.ANNOTATION_XML,i.MI,i.MN,i.MO,i.MS,i.MTEXT]),vu=new Set([i.DESC,i.FOREIGN_OBJECT,i.TITLE]),Ld=new Set([i.TR,i.TEMPLATE,i.HTML]),Hd=new Set([i.TBODY,i.TFOOT,i.THEAD,i.TEMPLATE,i.HTML]),Dd=new Set([i.TABLE,i.TEMPLATE,i.HTML]),Od=new Set([i.TD,i.TH]);class Rd{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,r){this.treeAdapter=t,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=i.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===i.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===F.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){const e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){const r=this._indexOf(e);this.items[r]=t,r===this.stackTop&&(this.current=t)}insertAfter(e,t,r){const n=this._indexOf(e)+1;this.items.splice(n,0,t),this.tagIDs.splice(n,0,r),this.stackTop++,n===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,n===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==F.HTML);this.shortenToLength(t<0?0:t)}shortenToLength(e){for(;this.stackTop>=e;){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop<e)}}popUntilElementPopped(e){const t=this._indexOf(e);this.shortenToLength(t<0?0:t)}popUntilPopped(e,t){const r=this._indexOfTagNames(e,t);this.shortenToLength(r<0?0:r)}popUntilNumberedHeaderPopped(){this.popUntilPopped(Ja,F.HTML)}popUntilTableCellPopped(){this.popUntilPopped(Od,F.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(e,t){for(let r=this.stackTop;r>=0;r--)if(e.has(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===t)return r;return-1}clearBackTo(e,t){const r=this._indexOfTagNames(e,t);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(Dd,F.HTML)}clearBackToTableBodyContext(){this.clearBackTo(Hd,F.HTML)}clearBackToTableRowContext(){this.clearBackTo(Ld,F.HTML)}remove(e){const t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===i.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){const t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===i.HTML}hasInDynamicScope(e,t){for(let r=this.stackTop;r>=0;r--){const n=this.tagIDs[r];switch(this.treeAdapter.getNamespaceURI(this.items[r])){case F.HTML:{if(n===e)return!0;if(t.has(n))return!1;break}case F.SVG:{if(vu.has(n))return!1;break}case F.MATHML:{if(Nu.has(n))return!1;break}}}return!0}hasInScope(e){return this.hasInDynamicScope(e,rn)}hasInListItemScope(e){return this.hasInDynamicScope(e,Sd)}hasInButtonScope(e){return this.hasInDynamicScope(e,xd)}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){const t=this.tagIDs[e];switch(this.treeAdapter.getNamespaceURI(this.items[e])){case F.HTML:{if(Ja.has(t))return!0;if(rn.has(t))return!1;break}case F.SVG:{if(vu.has(t))return!1;break}case F.MATHML:{if(Nu.has(t))return!1;break}}}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===F.HTML)switch(this.tagIDs[t]){case e:return!0;case i.TABLE:case i.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--)if(this.treeAdapter.getNamespaceURI(this.items[e])===F.HTML)switch(this.tagIDs[e]){case i.TBODY:case i.THEAD:case i.TFOOT:return!0;case i.TABLE:case i.HTML:return!1}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===F.HTML)switch(this.tagIDs[t]){case e:return!0;case i.OPTION:case i.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;_u.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;yu.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&yu.has(this.currentTagId);)this.pop()}}const qa=3;var Ee;(function(A){A[A.Marker=0]="Marker",A[A.Element=1]="Element"})(Ee||(Ee={}));const Su={type:Ee.Marker};class Md{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){const r=[],n=t.length,a=this.treeAdapter.getTagName(e),s=this.treeAdapter.getNamespaceURI(e);for(let u=0;u<this.entries.length;u++){const o=this.entries[u];if(o.type===Ee.Marker)break;const{element:l}=o;if(this.treeAdapter.getTagName(l)===a&&this.treeAdapter.getNamespaceURI(l)===s){const f=this.treeAdapter.getAttrList(l);f.length===n&&r.push({idx:u,attrs:f})}}return r}_ensureNoahArkCondition(e){if(this.entries.length<qa)return;const t=this.treeAdapter.getAttrList(e),r=this._getNoahArkConditionCandidates(e,t);if(r.length<qa)return;const n=new Map(t.map(s=>[s.name,s.value]));let a=0;for(let s=0;s<r.length;s++){const u=r[s];u.attrs.every(o=>n.get(o.name)===o.value)&&(a+=1,a>=qa&&this.entries.splice(u.idx,1))}}insertMarker(){this.entries.unshift(Su)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:Ee.Element,element:e,token:t})}insertElementAfterBookmark(e,t){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:Ee.Element,element:e,token:t})}removeEntry(e){const t=this.entries.indexOf(e);t>=0&&this.entries.splice(t,1)}clearToLastMarker(){const e=this.entries.indexOf(Su);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){const t=this.entries.find(r=>r.type===Ee.Marker||this.treeAdapter.getTagName(r.element)===e);return t&&t.type===Ee.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===Ee.Element&&t.element===e)}}const Qe={createDocument(){return{nodeName:"#document",mode:Ae.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(A,e,t){return{nodeName:A,tagName:A,attrs:t,namespaceURI:e,childNodes:[],parentNode:null}},createCommentNode(A){return{nodeName:"#comment",data:A,parentNode:null}},createTextNode(A){return{nodeName:"#text",value:A,parentNode:null}},appendChild(A,e){A.childNodes.push(e),e.parentNode=A},insertBefore(A,e,t){const r=A.childNodes.indexOf(t);A.childNodes.splice(r,0,e),e.parentNode=A},setTemplateContent(A,e){A.content=e},getTemplateContent(A){return A.content},setDocumentType(A,e,t,r){const n=A.childNodes.find(a=>a.nodeName==="#documentType");if(n)n.name=e,n.publicId=t,n.systemId=r;else{const a={nodeName:"#documentType",name:e,publicId:t,systemId:r,parentNode:null};Qe.appendChild(A,a)}},setDocumentMode(A,e){A.mode=e},getDocumentMode(A){return A.mode},detachNode(A){if(A.parentNode){const e=A.parentNode.childNodes.indexOf(A);A.parentNode.childNodes.splice(e,1),A.parentNode=null}},insertText(A,e){if(A.childNodes.length>0){const t=A.childNodes[A.childNodes.length-1];if(Qe.isTextNode(t)){t.value+=e;return}}Qe.appendChild(A,Qe.createTextNode(e))},insertTextBefore(A,e,t){const r=A.childNodes[A.childNodes.indexOf(t)-1];r&&Qe.isTextNode(r)?r.value+=e:Qe.insertBefore(A,Qe.createTextNode(e),t)},adoptAttributes(A,e){const t=new Set(A.attrs.map(r=>r.name));for(let r=0;r<e.length;r++)t.has(e[r].name)||A.attrs.push(e[r])},getFirstChild(A){return A.childNodes[0]},getChildNodes(A){return A.childNodes},getParentNode(A){return A.parentNode},getAttrList(A){return A.attrs},getTagName(A){return A.tagName},getNamespaceURI(A){return A.namespaceURI},getTextNodeContent(A){return A.value},getCommentNodeContent(A){return A.data},getDocumentTypeNodeName(A){return A.name},getDocumentTypeNodePublicId(A){return A.publicId},getDocumentTypeNodeSystemId(A){return A.systemId},isTextNode(A){return A.nodeName==="#text"},isCommentNode(A){return A.nodeName==="#comment"},isDocumentTypeNode(A){return A.nodeName==="#documentType"},isElementNode(A){return Object.prototype.hasOwnProperty.call(A,"tagName")},setNodeSourceCodeLocation(A,e){A.sourceCodeLocation=e},getNodeSourceCodeLocation(A){return A.sourceCodeLocation},updateNodeSourceCodeLocation(A,e){A.sourceCodeLocation={...A.sourceCodeLocation,...e}}},xu="html",kd="about:legacy-compat",Pd="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",Lu=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],Kd=[...Lu,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],Vd=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),Hu=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],Gd=[...Hu,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function Du(A,e){return e.some(t=>A.startsWith(t))}function Yd(A){return A.name===xu&&A.publicId===null&&(A.systemId===null||A.systemId===kd)}function Xd(A){if(A.name!==xu)return Ae.QUIRKS;const{systemId:e}=A;if(e&&e.toLowerCase()===Pd)return Ae.QUIRKS;let{publicId:t}=A;if(t!==null){if(t=t.toLowerCase(),Vd.has(t))return Ae.QUIRKS;let r=e===null?Kd:Lu;if(Du(t,r))return Ae.QUIRKS;if(r=e===null?Hu:Gd,Du(t,r))return Ae.LIMITED_QUIRKS}return Ae.NO_QUIRKS}const Ou={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},Wd="definitionurl",Jd="definitionURL",qd=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(A=>[A.toLowerCase(),A])),jd=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:F.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:F.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:F.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:F.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:F.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:F.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:F.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:F.XML}],["xml:space",{prefix:"xml",name:"space",namespace:F.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:F.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:F.XMLNS}]]),$d=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(A=>[A.toLowerCase(),A])),Zd=new Set([i.B,i.BIG,i.BLOCKQUOTE,i.BODY,i.BR,i.CENTER,i.CODE,i.DD,i.DIV,i.DL,i.DT,i.EM,i.EMBED,i.H1,i.H2,i.H3,i.H4,i.H5,i.H6,i.HEAD,i.HR,i.I,i.IMG,i.LI,i.LISTING,i.MENU,i.META,i.NOBR,i.OL,i.P,i.PRE,i.RUBY,i.S,i.SMALL,i.SPAN,i.STRONG,i.STRIKE,i.SUB,i.SUP,i.TABLE,i.TT,i.U,i.UL,i.VAR]);function zd(A){const e=A.tagID;return e===i.FONT&&A.attrs.some(({name:r})=>r===at.COLOR||r===at.SIZE||r===at.FACE)||Zd.has(e)}function Ru(A){for(let e=0;e<A.attrs.length;e++)if(A.attrs[e].name===Wd){A.attrs[e].name=Jd;break}}function Mu(A){for(let e=0;e<A.attrs.length;e++){const t=qd.get(A.attrs[e].name);t!=null&&(A.attrs[e].name=t)}}function ja(A){for(let e=0;e<A.attrs.length;e++){const t=jd.get(A.attrs[e].name);t&&(A.attrs[e].prefix=t.prefix,A.attrs[e].name=t.name,A.attrs[e].namespace=t.namespace)}}function AB(A){const e=$d.get(A.tagName);e!=null&&(A.tagName=e,A.tagID=en(A.tagName))}function eB(A,e){return e===F.MATHML&&(A===i.MI||A===i.MO||A===i.MN||A===i.MS||A===i.MTEXT)}function tB(A,e,t){if(e===F.MATHML&&A===i.ANNOTATION_XML){for(let r=0;r<t.length;r++)if(t[r].name===at.ENCODING){const n=t[r].value.toLowerCase();return n===Ou.TEXT_HTML||n===Ou.APPLICATION_XML}}return e===F.SVG&&(A===i.FOREIGN_OBJECT||A===i.DESC||A===i.TITLE)}function rB(A,e,t,r){return(!r||r===F.HTML)&&tB(A,e,t)||(!r||r===F.MATHML)&&eB(A,e)}const nB="hidden",aB=8,sB=3;var E;(function(A){A[A.INITIAL=0]="INITIAL",A[A.BEFORE_HTML=1]="BEFORE_HTML",A[A.BEFORE_HEAD=2]="BEFORE_HEAD",A[A.IN_HEAD=3]="IN_HEAD",A[A.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",A[A.AFTER_HEAD=5]="AFTER_HEAD",A[A.IN_BODY=6]="IN_BODY",A[A.TEXT=7]="TEXT",A[A.IN_TABLE=8]="IN_TABLE",A[A.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",A[A.IN_CAPTION=10]="IN_CAPTION",A[A.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",A[A.IN_TABLE_BODY=12]="IN_TABLE_BODY",A[A.IN_ROW=13]="IN_ROW",A[A.IN_CELL=14]="IN_CELL",A[A.IN_SELECT=15]="IN_SELECT",A[A.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",A[A.IN_TEMPLATE=17]="IN_TEMPLATE",A[A.AFTER_BODY=18]="AFTER_BODY",A[A.IN_FRAMESET=19]="IN_FRAMESET",A[A.AFTER_FRAMESET=20]="AFTER_FRAMESET",A[A.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",A[A.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(E||(E={}));const iB={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},ku=new Set([i.TABLE,i.TBODY,i.TFOOT,i.THEAD,i.TR]),Pu={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Qe,onParseError:null};let Ku=class{constructor(e,t,r=null,n=null){this.fragmentContext=r,this.scriptHandler=n,this.currentToken=null,this.stopped=!1,this.insertionMode=E.INITIAL,this.originalInsertionMode=E.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...Pu,...e},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=t??this.treeAdapter.createDocument(),this.tokenizer=new vd(this.options,this),this.activeFormattingElements=new Md(this.treeAdapter),this.fragmentContextID=r?en(this.treeAdapter.getTagName(r)):i.UNKNOWN,this._setContextModes(r??this.document,this.fragmentContextID),this.openElements=new Rd(this.document,this.treeAdapter,this)}static parse(e,t){const r=new this(t);return r.tokenizer.write(e,!0),r.document}static getFragmentParser(e,t){const r={...Pu,...t};e??(e=r.treeAdapter.createElement(w.TEMPLATE,F.HTML,[]));const n=r.treeAdapter.createElement("documentmock",F.HTML,[]),a=new this(r,n,e);return a.fragmentContextID===i.TEMPLATE&&a.tmplInsertionModeStack.unshift(E.IN_TEMPLATE),a._initTokenizerForFragmentParsing(),a._insertFakeRootElement(),a._resetInsertionMode(),a._findFormInFragmentContext(),a}getFragment(){const e=this.treeAdapter.getFirstChild(this.document),t=this.treeAdapter.createDocumentFragment();return this._adoptNodes(e,t),t}_err(e,t,r){var n;if(!this.onParseError)return;const a=(n=e.location)!==null&&n!==void 0?n:iB,s={code:t,startLine:a.startLine,startCol:a.startCol,startOffset:a.startOffset,endLine:r?a.startLine:a.endLine,endCol:r?a.startCol:a.endCol,endOffset:r?a.startOffset:a.endOffset};this.onParseError(s)}onItemPush(e,t,r){var n,a;(a=(n=this.treeAdapter).onItemPush)===null||a===void 0||a.call(n,e),r&&this.openElements.stackTop>0&&this._setContextModes(e,t)}onItemPop(e,t){var r,n;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),(n=(r=this.treeAdapter).onItemPop)===null||n===void 0||n.call(r,e,this.openElements.current),t){let a,s;this.openElements.stackTop===0&&this.fragmentContext?(a=this.fragmentContext,s=this.fragmentContextID):{current:a,currentTagId:s}=this.openElements,this._setContextModes(a,s)}}_setContextModes(e,t){const r=e===this.document||this.treeAdapter.getNamespaceURI(e)===F.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,F.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=E.TEXT}switchToPlaintextParsing(){this.insertionMode=E.TEXT,this.originalInsertionMode=E.IN_BODY,this.tokenizer.state=qA.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===w.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==F.HTML))switch(this.fragmentContextID){case i.TITLE:case i.TEXTAREA:{this.tokenizer.state=qA.RCDATA;break}case i.STYLE:case i.XMP:case i.IFRAME:case i.NOEMBED:case i.NOFRAMES:case i.NOSCRIPT:{this.tokenizer.state=qA.RAWTEXT;break}case i.SCRIPT:{this.tokenizer.state=qA.SCRIPT_DATA;break}case i.PLAINTEXT:{this.tokenizer.state=qA.PLAINTEXT;break}}}_setDocumentType(e){const t=e.name||"",r=e.publicId||"",n=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,r,n),e.location){const s=this.treeAdapter.getChildNodes(this.document).find(u=>this.treeAdapter.isDocumentTypeNode(u));s&&this.treeAdapter.setNodeSourceCodeLocation(s,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){const r=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r,e)}}_appendElement(e,t){const r=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(r,e.location)}_insertElement(e,t){const r=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(r,e.location),this.openElements.push(r,e.tagID)}_insertFakeElement(e,t){const r=this.treeAdapter.createElement(e,F.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,t)}_insertTemplate(e){const t=this.treeAdapter.createElement(e.tagName,F.HTML,e.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,r),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const e=this.treeAdapter.createElement(w.HTML,F.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,i.HTML)}_appendCommentNode(e,t){const r=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,e.location)}_insertCharacters(e){let t,r;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(t,e.chars,r):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;const n=this.treeAdapter.getChildNodes(t),a=r?n.lastIndexOf(r):n.length,s=n[a-1];if(this.treeAdapter.getNodeSourceCodeLocation(s)){const{endLine:o,endCol:l,endOffset:f}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(s,{endLine:o,endCol:l,endOffset:f})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(s,e.location)}_adoptNodes(e,t){for(let r=this.treeAdapter.getFirstChild(e);r;r=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(t,r)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){const r=t.location,n=this.treeAdapter.getTagName(e),a=t.type===eA.END_TAG&&n===t.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,a)}}shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return!1;let t,r;return this.openElements.stackTop===0&&this.fragmentContext?(t=this.fragmentContext,r=this.fragmentContextID):{current:t,currentTagId:r}=this.openElements,e.tagID===i.SVG&&this.treeAdapter.getTagName(t)===w.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(t)===F.MATHML?!1:this.tokenizer.inForeignNode||(e.tagID===i.MGLYPH||e.tagID===i.MALIGNMARK)&&!this._isIntegrationPoint(r,t,F.HTML)}_processToken(e){switch(e.type){case eA.CHARACTER:{this.onCharacter(e);break}case eA.NULL_CHARACTER:{this.onNullCharacter(e);break}case eA.COMMENT:{this.onComment(e);break}case eA.DOCTYPE:{this.onDoctype(e);break}case eA.START_TAG:{this._processStartTag(e);break}case eA.END_TAG:{this.onEndTag(e);break}case eA.EOF:{this.onEof(e);break}case eA.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(e);break}}}_isIntegrationPoint(e,t,r){const n=this.treeAdapter.getNamespaceURI(t),a=this.treeAdapter.getAttrList(t);return rB(e,n,a,r)}_reconstructActiveFormattingElements(){const e=this.activeFormattingElements.entries.length;if(e){const t=this.activeFormattingElements.entries.findIndex(n=>n.type===Ee.Marker||this.openElements.contains(n.element)),r=t<0?e-1:t-1;for(let n=r;n>=0;n--){const a=this.activeFormattingElements.entries[n];this._insertElement(a.token,this.treeAdapter.getNamespaceURI(a.element)),a.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=E.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(i.P),this.openElements.popUntilTagNamePopped(i.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(e===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case i.TR:{this.insertionMode=E.IN_ROW;return}case i.TBODY:case i.THEAD:case i.TFOOT:{this.insertionMode=E.IN_TABLE_BODY;return}case i.CAPTION:{this.insertionMode=E.IN_CAPTION;return}case i.COLGROUP:{this.insertionMode=E.IN_COLUMN_GROUP;return}case i.TABLE:{this.insertionMode=E.IN_TABLE;return}case i.BODY:{this.insertionMode=E.IN_BODY;return}case i.FRAMESET:{this.insertionMode=E.IN_FRAMESET;return}case i.SELECT:{this._resetInsertionModeForSelect(e);return}case i.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case i.HTML:{this.insertionMode=this.headElement?E.AFTER_HEAD:E.BEFORE_HEAD;return}case i.TD:case i.TH:{if(e>0){this.insertionMode=E.IN_CELL;return}break}case i.HEAD:{if(e>0){this.insertionMode=E.IN_HEAD;return}break}}this.insertionMode=E.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){const r=this.openElements.tagIDs[t];if(r===i.TEMPLATE)break;if(r===i.TABLE){this.insertionMode=E.IN_SELECT_IN_TABLE;return}}this.insertionMode=E.IN_SELECT}_isElementCausesFosterParenting(e){return ku.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){const t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case i.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(t)===F.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break}case i.TABLE:{const r=this.treeAdapter.getParentNode(t);return r?{parent:r,beforeElement:t}:{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){const t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){const r=this.treeAdapter.getNamespaceURI(e);return Qd[r].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Og(this,e);return}switch(this.insertionMode){case E.INITIAL:{zt(this,e);break}case E.BEFORE_HTML:{Ar(this,e);break}case E.BEFORE_HEAD:{er(this,e);break}case E.IN_HEAD:{tr(this,e);break}case E.IN_HEAD_NO_SCRIPT:{rr(this,e);break}case E.AFTER_HEAD:{nr(this,e);break}case E.IN_BODY:case E.IN_CAPTION:case E.IN_CELL:case E.IN_TEMPLATE:{Gu(this,e);break}case E.TEXT:case E.IN_SELECT:case E.IN_SELECT_IN_TABLE:{this._insertCharacters(e);break}case E.IN_TABLE:case E.IN_TABLE_BODY:case E.IN_ROW:{As(this,e);break}case E.IN_TABLE_TEXT:{Zu(this,e);break}case E.IN_COLUMN_GROUP:{sn(this,e);break}case E.AFTER_BODY:{cn(this,e);break}case E.AFTER_AFTER_BODY:{ln(this,e);break}}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Dg(this,e);return}switch(this.insertionMode){case E.INITIAL:{zt(this,e);break}case E.BEFORE_HTML:{Ar(this,e);break}case E.BEFORE_HEAD:{er(this,e);break}case E.IN_HEAD:{tr(this,e);break}case E.IN_HEAD_NO_SCRIPT:{rr(this,e);break}case E.AFTER_HEAD:{nr(this,e);break}case E.TEXT:{this._insertCharacters(e);break}case E.IN_TABLE:case E.IN_TABLE_BODY:case E.IN_ROW:{As(this,e);break}case E.IN_COLUMN_GROUP:{sn(this,e);break}case E.AFTER_BODY:{cn(this,e);break}case E.AFTER_AFTER_BODY:{ln(this,e);break}}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){Za(this,e);return}switch(this.insertionMode){case E.INITIAL:case E.BEFORE_HTML:case E.BEFORE_HEAD:case E.IN_HEAD:case E.IN_HEAD_NO_SCRIPT:case E.AFTER_HEAD:case E.IN_BODY:case E.IN_TABLE:case E.IN_CAPTION:case E.IN_COLUMN_GROUP:case E.IN_TABLE_BODY:case E.IN_ROW:case E.IN_CELL:case E.IN_SELECT:case E.IN_SELECT_IN_TABLE:case E.IN_TEMPLATE:case E.IN_FRAMESET:case E.AFTER_FRAMESET:{Za(this,e);break}case E.IN_TABLE_TEXT:{ir(this,e);break}case E.AFTER_BODY:{dB(this,e);break}case E.AFTER_AFTER_BODY:case E.AFTER_AFTER_FRAMESET:{BB(this,e);break}}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case E.INITIAL:{gB(this,e);break}case E.BEFORE_HEAD:case E.IN_HEAD:case E.IN_HEAD_NO_SCRIPT:case E.AFTER_HEAD:{this._err(e,b.misplacedDoctype);break}case E.IN_TABLE_TEXT:{ir(this,e);break}}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,b.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?Rg(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case E.INITIAL:{zt(this,e);break}case E.BEFORE_HTML:{EB(this,e);break}case E.BEFORE_HEAD:{pB(this,e);break}case E.IN_HEAD:{le(this,e);break}case E.IN_HEAD_NO_SCRIPT:{TB(this,e);break}case E.AFTER_HEAD:{UB(this,e);break}case E.IN_BODY:{PA(this,e);break}case E.IN_TABLE:{wt(this,e);break}case E.IN_TABLE_TEXT:{ir(this,e);break}case E.IN_CAPTION:{Cg(this,e);break}case E.IN_COLUMN_GROUP:{es(this,e);break}case E.IN_TABLE_BODY:{un(this,e);break}case E.IN_ROW:{on(this,e);break}case E.IN_CELL:{bg(this,e);break}case E.IN_SELECT:{eo(this,e);break}case E.IN_SELECT_IN_TABLE:{Qg(this,e);break}case E.IN_TEMPLATE:{Ig(this,e);break}case E.AFTER_BODY:{yg(this,e);break}case E.IN_FRAMESET:{Ng(this,e);break}case E.AFTER_FRAMESET:{Sg(this,e);break}case E.AFTER_AFTER_BODY:{Lg(this,e);break}case E.AFTER_AFTER_FRAMESET:{Hg(this,e);break}}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?Mg(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case E.INITIAL:{zt(this,e);break}case E.BEFORE_HTML:{mB(this,e);break}case E.BEFORE_HEAD:{CB(this,e);break}case E.IN_HEAD:{wB(this,e);break}case E.IN_HEAD_NO_SCRIPT:{bB(this,e);break}case E.AFTER_HEAD:{QB(this,e);break}case E.IN_BODY:{an(this,e);break}case E.TEXT:{cg(this,e);break}case E.IN_TABLE:{ar(this,e);break}case E.IN_TABLE_TEXT:{ir(this,e);break}case E.IN_CAPTION:{wg(this,e);break}case E.IN_COLUMN_GROUP:{Tg(this,e);break}case E.IN_TABLE_BODY:{ts(this,e);break}case E.IN_ROW:{Ao(this,e);break}case E.IN_CELL:{Ug(this,e);break}case E.IN_SELECT:{to(this,e);break}case E.IN_SELECT_IN_TABLE:{Fg(this,e);break}case E.IN_TEMPLATE:{_g(this,e);break}case E.AFTER_BODY:{no(this,e);break}case E.IN_FRAMESET:{vg(this,e);break}case E.AFTER_FRAMESET:{xg(this,e);break}case E.AFTER_AFTER_BODY:{ln(this,e);break}}}onEof(e){switch(this.insertionMode){case E.INITIAL:{zt(this,e);break}case E.BEFORE_HTML:{Ar(this,e);break}case E.BEFORE_HEAD:{er(this,e);break}case E.IN_HEAD:{tr(this,e);break}case E.IN_HEAD_NO_SCRIPT:{rr(this,e);break}case E.AFTER_HEAD:{nr(this,e);break}case E.IN_BODY:case E.IN_TABLE:case E.IN_CAPTION:case E.IN_COLUMN_GROUP:case E.IN_TABLE_BODY:case E.IN_ROW:case E.IN_CELL:case E.IN_SELECT:case E.IN_SELECT_IN_TABLE:{ju(this,e);break}case E.TEXT:{lg(this,e);break}case E.IN_TABLE_TEXT:{ir(this,e);break}case E.IN_TEMPLATE:{ro(this,e);break}case E.AFTER_BODY:case E.IN_FRAMESET:case E.AFTER_FRAMESET:case E.AFTER_AFTER_BODY:case E.AFTER_AFTER_FRAMESET:{za(this,e);break}}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===B.LINE_FEED)){if(e.chars.length===1)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case E.IN_HEAD:case E.IN_HEAD_NO_SCRIPT:case E.AFTER_HEAD:case E.TEXT:case E.IN_COLUMN_GROUP:case E.IN_SELECT:case E.IN_SELECT_IN_TABLE:case E.IN_FRAMESET:case E.AFTER_FRAMESET:{this._insertCharacters(e);break}case E.IN_BODY:case E.IN_CAPTION:case E.IN_CELL:case E.IN_TEMPLATE:case E.AFTER_BODY:case E.AFTER_AFTER_BODY:case E.AFTER_AFTER_FRAMESET:{Vu(this,e);break}case E.IN_TABLE:case E.IN_TABLE_BODY:case E.IN_ROW:{As(this,e);break}case E.IN_TABLE_TEXT:{$u(this,e);break}}}};function uB(A,e){let t=A.activeFormattingElements.getElementEntryInScopeWithTagName(e.tagName);return t?A.openElements.contains(t.element)?A.openElements.hasInScope(e.tagID)||(t=null):(A.activeFormattingElements.removeEntry(t),t=null):qu(A,e),t}function oB(A,e){let t=null,r=A.openElements.stackTop;for(;r>=0;r--){const n=A.openElements.items[r];if(n===e.element)break;A._isSpecialElement(n,A.openElements.tagIDs[r])&&(t=n)}return t||(A.openElements.shortenToLength(r<0?0:r),A.activeFormattingElements.removeEntry(e)),t}function cB(A,e,t){let r=e,n=A.openElements.getCommonAncestor(e);for(let a=0,s=n;s!==t;a++,s=n){n=A.openElements.getCommonAncestor(s);const u=A.activeFormattingElements.getElementEntry(s),o=u&&a>=sB;!u||o?(o&&A.activeFormattingElements.removeEntry(u),A.openElements.remove(s)):(s=lB(A,u),r===e&&(A.activeFormattingElements.bookmark=u),A.treeAdapter.detachNode(r),A.treeAdapter.appendChild(s,r),r=s)}return r}function lB(A,e){const t=A.treeAdapter.getNamespaceURI(e.element),r=A.treeAdapter.createElement(e.token.tagName,t,e.token.attrs);return A.openElements.replace(e.element,r),e.element=r,r}function fB(A,e,t){const r=A.treeAdapter.getTagName(e),n=en(r);if(A._isElementCausesFosterParenting(n))A._fosterParentElement(t);else{const a=A.treeAdapter.getNamespaceURI(e);n===i.TEMPLATE&&a===F.HTML&&(e=A.treeAdapter.getTemplateContent(e)),A.treeAdapter.appendChild(e,t)}}function hB(A,e,t){const r=A.treeAdapter.getNamespaceURI(t.element),{token:n}=t,a=A.treeAdapter.createElement(n.tagName,r,n.attrs);A._adoptNodes(e,a),A.treeAdapter.appendChild(e,a),A.activeFormattingElements.insertElementAfterBookmark(a,n),A.activeFormattingElements.removeEntry(t),A.openElements.remove(t.element),A.openElements.insertAfter(e,a,n.tagID)}function $a(A,e){for(let t=0;t<aB;t++){const r=uB(A,e);if(!r)break;const n=oB(A,r);if(!n)break;A.activeFormattingElements.bookmark=r;const a=cB(A,n,r.element),s=A.openElements.getCommonAncestor(r.element);A.treeAdapter.detachNode(a),s&&fB(A,s,a),hB(A,n,r)}}function Za(A,e){A._appendCommentNode(e,A.openElements.currentTmplContentOrNode)}function dB(A,e){A._appendCommentNode(e,A.openElements.items[0])}function BB(A,e){A._appendCommentNode(e,A.document)}function za(A,e){if(A.stopped=!0,e.location){const t=A.fragmentContext?0:2;for(let r=A.openElements.stackTop;r>=t;r--)A._setEndLocation(A.openElements.items[r],e);if(!A.fragmentContext&&A.openElements.stackTop>=0){const r=A.openElements.items[0],n=A.treeAdapter.getNodeSourceCodeLocation(r);if(n&&!n.endTag&&(A._setEndLocation(r,e),A.openElements.stackTop>=1)){const a=A.openElements.items[1],s=A.treeAdapter.getNodeSourceCodeLocation(a);s&&!s.endTag&&A._setEndLocation(a,e)}}}}function gB(A,e){A._setDocumentType(e);const t=e.forceQuirks?Ae.QUIRKS:Xd(e);Yd(e)||A._err(e,b.nonConformingDoctype),A.treeAdapter.setDocumentMode(A.document,t),A.insertionMode=E.BEFORE_HTML}function zt(A,e){A._err(e,b.missingDoctype,!0),A.treeAdapter.setDocumentMode(A.document,Ae.QUIRKS),A.insertionMode=E.BEFORE_HTML,A._processToken(e)}function EB(A,e){e.tagID===i.HTML?(A._insertElement(e,F.HTML),A.insertionMode=E.BEFORE_HEAD):Ar(A,e)}function mB(A,e){const t=e.tagID;(t===i.HTML||t===i.HEAD||t===i.BODY||t===i.BR)&&Ar(A,e)}function Ar(A,e){A._insertFakeRootElement(),A.insertionMode=E.BEFORE_HEAD,A._processToken(e)}function pB(A,e){switch(e.tagID){case i.HTML:{PA(A,e);break}case i.HEAD:{A._insertElement(e,F.HTML),A.headElement=A.openElements.current,A.insertionMode=E.IN_HEAD;break}default:er(A,e)}}function CB(A,e){const t=e.tagID;t===i.HEAD||t===i.BODY||t===i.HTML||t===i.BR?er(A,e):A._err(e,b.endTagWithoutMatchingOpenElement)}function er(A,e){A._insertFakeElement(w.HEAD,i.HEAD),A.headElement=A.openElements.current,A.insertionMode=E.IN_HEAD,A._processToken(e)}function le(A,e){switch(e.tagID){case i.HTML:{PA(A,e);break}case i.BASE:case i.BASEFONT:case i.BGSOUND:case i.LINK:case i.META:{A._appendElement(e,F.HTML),e.ackSelfClosing=!0;break}case i.TITLE:{A._switchToTextParsing(e,qA.RCDATA);break}case i.NOSCRIPT:{A.options.scriptingEnabled?A._switchToTextParsing(e,qA.RAWTEXT):(A._insertElement(e,F.HTML),A.insertionMode=E.IN_HEAD_NO_SCRIPT);break}case i.NOFRAMES:case i.STYLE:{A._switchToTextParsing(e,qA.RAWTEXT);break}case i.SCRIPT:{A._switchToTextParsing(e,qA.SCRIPT_DATA);break}case i.TEMPLATE:{A._insertTemplate(e),A.activeFormattingElements.insertMarker(),A.framesetOk=!1,A.insertionMode=E.IN_TEMPLATE,A.tmplInsertionModeStack.unshift(E.IN_TEMPLATE);break}case i.HEAD:{A._err(e,b.misplacedStartTagForHeadElement);break}default:tr(A,e)}}function wB(A,e){switch(e.tagID){case i.HEAD:{A.openElements.pop(),A.insertionMode=E.AFTER_HEAD;break}case i.BODY:case i.BR:case i.HTML:{tr(A,e);break}case i.TEMPLATE:{st(A,e);break}default:A._err(e,b.endTagWithoutMatchingOpenElement)}}function st(A,e){A.openElements.tmplCount>0?(A.openElements.generateImpliedEndTagsThoroughly(),A.openElements.currentTagId!==i.TEMPLATE&&A._err(e,b.closingOfElementWithOpenChildElements),A.openElements.popUntilTagNamePopped(i.TEMPLATE),A.activeFormattingElements.clearToLastMarker(),A.tmplInsertionModeStack.shift(),A._resetInsertionMode()):A._err(e,b.endTagWithoutMatchingOpenElement)}function tr(A,e){A.openElements.pop(),A.insertionMode=E.AFTER_HEAD,A._processToken(e)}function TB(A,e){switch(e.tagID){case i.HTML:{PA(A,e);break}case i.BASEFONT:case i.BGSOUND:case i.HEAD:case i.LINK:case i.META:case i.NOFRAMES:case i.STYLE:{le(A,e);break}case i.NOSCRIPT:{A._err(e,b.nestedNoscriptInHead);break}default:rr(A,e)}}function bB(A,e){switch(e.tagID){case i.NOSCRIPT:{A.openElements.pop(),A.insertionMode=E.IN_HEAD;break}case i.BR:{rr(A,e);break}default:A._err(e,b.endTagWithoutMatchingOpenElement)}}function rr(A,e){const t=e.type===eA.EOF?b.openElementsLeftAfterEof:b.disallowedContentInNoscriptInHead;A._err(e,t),A.openElements.pop(),A.insertionMode=E.IN_HEAD,A._processToken(e)}function UB(A,e){switch(e.tagID){case i.HTML:{PA(A,e);break}case i.BODY:{A._insertElement(e,F.HTML),A.framesetOk=!1,A.insertionMode=E.IN_BODY;break}case i.FRAMESET:{A._insertElement(e,F.HTML),A.insertionMode=E.IN_FRAMESET;break}case i.BASE:case i.BASEFONT:case i.BGSOUND:case i.LINK:case i.META:case i.NOFRAMES:case i.SCRIPT:case i.STYLE:case i.TEMPLATE:case i.TITLE:{A._err(e,b.abandonedHeadElementChild),A.openElements.push(A.headElement,i.HEAD),le(A,e),A.openElements.remove(A.headElement);break}case i.HEAD:{A._err(e,b.misplacedStartTagForHeadElement);break}default:nr(A,e)}}function QB(A,e){switch(e.tagID){case i.BODY:case i.HTML:case i.BR:{nr(A,e);break}case i.TEMPLATE:{st(A,e);break}default:A._err(e,b.endTagWithoutMatchingOpenElement)}}function nr(A,e){A._insertFakeElement(w.BODY,i.BODY),A.insertionMode=E.IN_BODY,nn(A,e)}function nn(A,e){switch(e.type){case eA.CHARACTER:{Gu(A,e);break}case eA.WHITESPACE_CHARACTER:{Vu(A,e);break}case eA.COMMENT:{Za(A,e);break}case eA.START_TAG:{PA(A,e);break}case eA.END_TAG:{an(A,e);break}case eA.EOF:{ju(A,e);break}}}function Vu(A,e){A._reconstructActiveFormattingElements(),A._insertCharacters(e)}function Gu(A,e){A._reconstructActiveFormattingElements(),A._insertCharacters(e),A.framesetOk=!1}function FB(A,e){A.openElements.tmplCount===0&&A.treeAdapter.adoptAttributes(A.openElements.items[0],e.attrs)}function IB(A,e){const t=A.openElements.tryPeekProperlyNestedBodyElement();t&&A.openElements.tmplCount===0&&(A.framesetOk=!1,A.treeAdapter.adoptAttributes(t,e.attrs))}function _B(A,e){const t=A.openElements.tryPeekProperlyNestedBodyElement();A.framesetOk&&t&&(A.treeAdapter.detachNode(t),A.openElements.popAllUpToHtmlElement(),A._insertElement(e,F.HTML),A.insertionMode=E.IN_FRAMESET)}function yB(A,e){A.openElements.hasInButtonScope(i.P)&&A._closePElement(),A._insertElement(e,F.HTML)}function NB(A,e){A.openElements.hasInButtonScope(i.P)&&A._closePElement(),Ja.has(A.openElements.currentTagId)&&A.openElements.pop(),A._insertElement(e,F.HTML)}function vB(A,e){A.openElements.hasInButtonScope(i.P)&&A._closePElement(),A._insertElement(e,F.HTML),A.skipNextNewLine=!0,A.framesetOk=!1}function SB(A,e){const t=A.openElements.tmplCount>0;(!A.formElement||t)&&(A.openElements.hasInButtonScope(i.P)&&A._closePElement(),A._insertElement(e,F.HTML),t||(A.formElement=A.openElements.current))}function xB(A,e){A.framesetOk=!1;const t=e.tagID;for(let r=A.openElements.stackTop;r>=0;r--){const n=A.openElements.tagIDs[r];if(t===i.LI&&n===i.LI||(t===i.DD||t===i.DT)&&(n===i.DD||n===i.DT)){A.openElements.generateImpliedEndTagsWithExclusion(n),A.openElements.popUntilTagNamePopped(n);break}if(n!==i.ADDRESS&&n!==i.DIV&&n!==i.P&&A._isSpecialElement(A.openElements.items[r],n))break}A.openElements.hasInButtonScope(i.P)&&A._closePElement(),A._insertElement(e,F.HTML)}function LB(A,e){A.openElements.hasInButtonScope(i.P)&&A._closePElement(),A._insertElement(e,F.HTML),A.tokenizer.state=qA.PLAINTEXT}function HB(A,e){A.openElements.hasInScope(i.BUTTON)&&(A.openElements.generateImpliedEndTags(),A.openElements.popUntilTagNamePopped(i.BUTTON)),A._reconstructActiveFormattingElements(),A._insertElement(e,F.HTML),A.framesetOk=!1}function DB(A,e){const t=A.activeFormattingElements.getElementEntryInScopeWithTagName(w.A);t&&($a(A,e),A.openElements.remove(t.element),A.activeFormattingElements.removeEntry(t)),A._reconstructActiveFormattingElements(),A._insertElement(e,F.HTML),A.activeFormattingElements.pushElement(A.openElements.current,e)}function OB(A,e){A._reconstructActiveFormattingElements(),A._insertElement(e,F.HTML),A.activeFormattingElements.pushElement(A.openElements.current,e)}function RB(A,e){A._reconstructActiveFormattingElements(),A.openElements.hasInScope(i.NOBR)&&($a(A,e),A._reconstructActiveFormattingElements()),A._insertElement(e,F.HTML),A.activeFormattingElements.pushElement(A.openElements.current,e)}function MB(A,e){A._reconstructActiveFormattingElements(),A._insertElement(e,F.HTML),A.activeFormattingElements.insertMarker(),A.framesetOk=!1}function kB(A,e){A.treeAdapter.getDocumentMode(A.document)!==Ae.QUIRKS&&A.openElements.hasInButtonScope(i.P)&&A._closePElement(),A._insertElement(e,F.HTML),A.framesetOk=!1,A.insertionMode=E.IN_TABLE}function Yu(A,e){A._reconstructActiveFormattingElements(),A._appendElement(e,F.HTML),A.framesetOk=!1,e.ackSelfClosing=!0}function Xu(A){const e=Uu(A,at.TYPE);return e!=null&&e.toLowerCase()===nB}function PB(A,e){A._reconstructActiveFormattingElements(),A._appendElement(e,F.HTML),Xu(e)||(A.framesetOk=!1),e.ackSelfClosing=!0}function KB(A,e){A._appendElement(e,F.HTML),e.ackSelfClosing=!0}function VB(A,e){A.openElements.hasInButtonScope(i.P)&&A._closePElement(),A._appendElement(e,F.HTML),A.framesetOk=!1,e.ackSelfClosing=!0}function GB(A,e){e.tagName=w.IMG,e.tagID=i.IMG,Yu(A,e)}function YB(A,e){A._insertElement(e,F.HTML),A.skipNextNewLine=!0,A.tokenizer.state=qA.RCDATA,A.originalInsertionMode=A.insertionMode,A.framesetOk=!1,A.insertionMode=E.TEXT}function XB(A,e){A.openElements.hasInButtonScope(i.P)&&A._closePElement(),A._reconstructActiveFormattingElements(),A.framesetOk=!1,A._switchToTextParsing(e,qA.RAWTEXT)}function WB(A,e){A.framesetOk=!1,A._switchToTextParsing(e,qA.RAWTEXT)}function Wu(A,e){A._switchToTextParsing(e,qA.RAWTEXT)}function JB(A,e){A._reconstructActiveFormattingElements(),A._insertElement(e,F.HTML),A.framesetOk=!1,A.insertionMode=A.insertionMode===E.IN_TABLE||A.insertionMode===E.IN_CAPTION||A.insertionMode===E.IN_TABLE_BODY||A.insertionMode===E.IN_ROW||A.insertionMode===E.IN_CELL?E.IN_SELECT_IN_TABLE:E.IN_SELECT}function qB(A,e){A.openElements.currentTagId===i.OPTION&&A.openElements.pop(),A._reconstructActiveFormattingElements(),A._insertElement(e,F.HTML)}function jB(A,e){A.openElements.hasInScope(i.RUBY)&&A.openElements.generateImpliedEndTags(),A._insertElement(e,F.HTML)}function $B(A,e){A.openElements.hasInScope(i.RUBY)&&A.openElements.generateImpliedEndTagsWithExclusion(i.RTC),A._insertElement(e,F.HTML)}function ZB(A,e){A._reconstructActiveFormattingElements(),Ru(e),ja(e),e.selfClosing?A._appendElement(e,F.MATHML):A._insertElement(e,F.MATHML),e.ackSelfClosing=!0}function zB(A,e){A._reconstructActiveFormattingElements(),Mu(e),ja(e),e.selfClosing?A._appendElement(e,F.SVG):A._insertElement(e,F.SVG),e.ackSelfClosing=!0}function Ju(A,e){A._reconstructActiveFormattingElements(),A._insertElement(e,F.HTML)}function PA(A,e){switch(e.tagID){case i.I:case i.S:case i.B:case i.U:case i.EM:case i.TT:case i.BIG:case i.CODE:case i.FONT:case i.SMALL:case i.STRIKE:case i.STRONG:{OB(A,e);break}case i.A:{DB(A,e);break}case i.H1:case i.H2:case i.H3:case i.H4:case i.H5:case i.H6:{NB(A,e);break}case i.P:case i.DL:case i.OL:case i.UL:case i.DIV:case i.DIR:case i.NAV:case i.MAIN:case i.MENU:case i.ASIDE:case i.CENTER:case i.FIGURE:case i.FOOTER:case i.HEADER:case i.HGROUP:case i.DIALOG:case i.DETAILS:case i.ADDRESS:case i.ARTICLE:case i.SEARCH:case i.SECTION:case i.SUMMARY:case i.FIELDSET:case i.BLOCKQUOTE:case i.FIGCAPTION:{yB(A,e);break}case i.LI:case i.DD:case i.DT:{xB(A,e);break}case i.BR:case i.IMG:case i.WBR:case i.AREA:case i.EMBED:case i.KEYGEN:{Yu(A,e);break}case i.HR:{VB(A,e);break}case i.RB:case i.RTC:{jB(A,e);break}case i.RT:case i.RP:{$B(A,e);break}case i.PRE:case i.LISTING:{vB(A,e);break}case i.XMP:{XB(A,e);break}case i.SVG:{zB(A,e);break}case i.HTML:{FB(A,e);break}case i.BASE:case i.LINK:case i.META:case i.STYLE:case i.TITLE:case i.SCRIPT:case i.BGSOUND:case i.BASEFONT:case i.TEMPLATE:{le(A,e);break}case i.BODY:{IB(A,e);break}case i.FORM:{SB(A,e);break}case i.NOBR:{RB(A,e);break}case i.MATH:{ZB(A,e);break}case i.TABLE:{kB(A,e);break}case i.INPUT:{PB(A,e);break}case i.PARAM:case i.TRACK:case i.SOURCE:{KB(A,e);break}case i.IMAGE:{GB(A,e);break}case i.BUTTON:{HB(A,e);break}case i.APPLET:case i.OBJECT:case i.MARQUEE:{MB(A,e);break}case i.IFRAME:{WB(A,e);break}case i.SELECT:{JB(A,e);break}case i.OPTION:case i.OPTGROUP:{qB(A,e);break}case i.NOEMBED:case i.NOFRAMES:{Wu(A,e);break}case i.FRAMESET:{_B(A,e);break}case i.TEXTAREA:{YB(A,e);break}case i.NOSCRIPT:{A.options.scriptingEnabled?Wu(A,e):Ju(A,e);break}case i.PLAINTEXT:{LB(A,e);break}case i.COL:case i.TH:case i.TD:case i.TR:case i.HEAD:case i.FRAME:case i.TBODY:case i.TFOOT:case i.THEAD:case i.CAPTION:case i.COLGROUP:break;default:Ju(A,e)}}function Ag(A,e){if(A.openElements.hasInScope(i.BODY)&&(A.insertionMode=E.AFTER_BODY,A.options.sourceCodeLocationInfo)){const t=A.openElements.tryPeekProperlyNestedBodyElement();t&&A._setEndLocation(t,e)}}function eg(A,e){A.openElements.hasInScope(i.BODY)&&(A.insertionMode=E.AFTER_BODY,no(A,e))}function tg(A,e){const t=e.tagID;A.openElements.hasInScope(t)&&(A.openElements.generateImpliedEndTags(),A.openElements.popUntilTagNamePopped(t))}function rg(A){const e=A.openElements.tmplCount>0,{formElement:t}=A;e||(A.formElement=null),(t||e)&&A.openElements.hasInScope(i.FORM)&&(A.openElements.generateImpliedEndTags(),e?A.openElements.popUntilTagNamePopped(i.FORM):t&&A.openElements.remove(t))}function ng(A){A.openElements.hasInButtonScope(i.P)||A._insertFakeElement(w.P,i.P),A._closePElement()}function ag(A){A.openElements.hasInListItemScope(i.LI)&&(A.openElements.generateImpliedEndTagsWithExclusion(i.LI),A.openElements.popUntilTagNamePopped(i.LI))}function sg(A,e){const t=e.tagID;A.openElements.hasInScope(t)&&(A.openElements.generateImpliedEndTagsWithExclusion(t),A.openElements.popUntilTagNamePopped(t))}function ig(A){A.openElements.hasNumberedHeaderInScope()&&(A.openElements.generateImpliedEndTags(),A.openElements.popUntilNumberedHeaderPopped())}function ug(A,e){const t=e.tagID;A.openElements.hasInScope(t)&&(A.openElements.generateImpliedEndTags(),A.openElements.popUntilTagNamePopped(t),A.activeFormattingElements.clearToLastMarker())}function og(A){A._reconstructActiveFormattingElements(),A._insertFakeElement(w.BR,i.BR),A.openElements.pop(),A.framesetOk=!1}function qu(A,e){const t=e.tagName,r=e.tagID;for(let n=A.openElements.stackTop;n>0;n--){const a=A.openElements.items[n],s=A.openElements.tagIDs[n];if(r===s&&(r!==i.UNKNOWN||A.treeAdapter.getTagName(a)===t)){A.openElements.generateImpliedEndTagsWithExclusion(r),A.openElements.stackTop>=n&&A.openElements.shortenToLength(n);break}if(A._isSpecialElement(a,s))break}}function an(A,e){switch(e.tagID){case i.A:case i.B:case i.I:case i.S:case i.U:case i.EM:case i.TT:case i.BIG:case i.CODE:case i.FONT:case i.NOBR:case i.SMALL:case i.STRIKE:case i.STRONG:{$a(A,e);break}case i.P:{ng(A);break}case i.DL:case i.UL:case i.OL:case i.DIR:case i.DIV:case i.NAV:case i.PRE:case i.MAIN:case i.MENU:case i.ASIDE:case i.BUTTON:case i.CENTER:case i.FIGURE:case i.FOOTER:case i.HEADER:case i.HGROUP:case i.DIALOG:case i.ADDRESS:case i.ARTICLE:case i.DETAILS:case i.SEARCH:case i.SECTION:case i.SUMMARY:case i.LISTING:case i.FIELDSET:case i.BLOCKQUOTE:case i.FIGCAPTION:{tg(A,e);break}case i.LI:{ag(A);break}case i.DD:case i.DT:{sg(A,e);break}case i.H1:case i.H2:case i.H3:case i.H4:case i.H5:case i.H6:{ig(A);break}case i.BR:{og(A);break}case i.BODY:{Ag(A,e);break}case i.HTML:{eg(A,e);break}case i.FORM:{rg(A);break}case i.APPLET:case i.OBJECT:case i.MARQUEE:{ug(A,e);break}case i.TEMPLATE:{st(A,e);break}default:qu(A,e)}}function ju(A,e){A.tmplInsertionModeStack.length>0?ro(A,e):za(A,e)}function cg(A,e){var t;e.tagID===i.SCRIPT&&((t=A.scriptHandler)===null||t===void 0||t.call(A,A.openElements.current)),A.openElements.pop(),A.insertionMode=A.originalInsertionMode}function lg(A,e){A._err(e,b.eofInElementThatCanContainOnlyText),A.openElements.pop(),A.insertionMode=A.originalInsertionMode,A.onEof(e)}function As(A,e){if(ku.has(A.openElements.currentTagId))switch(A.pendingCharacterTokens.length=0,A.hasNonWhitespacePendingCharacterToken=!1,A.originalInsertionMode=A.insertionMode,A.insertionMode=E.IN_TABLE_TEXT,e.type){case eA.CHARACTER:{Zu(A,e);break}case eA.WHITESPACE_CHARACTER:{$u(A,e);break}}else sr(A,e)}function fg(A,e){A.openElements.clearBackToTableContext(),A.activeFormattingElements.insertMarker(),A._insertElement(e,F.HTML),A.insertionMode=E.IN_CAPTION}function hg(A,e){A.openElements.clearBackToTableContext(),A._insertElement(e,F.HTML),A.insertionMode=E.IN_COLUMN_GROUP}function dg(A,e){A.openElements.clearBackToTableContext(),A._insertFakeElement(w.COLGROUP,i.COLGROUP),A.insertionMode=E.IN_COLUMN_GROUP,es(A,e)}function Bg(A,e){A.openElements.clearBackToTableContext(),A._insertElement(e,F.HTML),A.insertionMode=E.IN_TABLE_BODY}function gg(A,e){A.openElements.clearBackToTableContext(),A._insertFakeElement(w.TBODY,i.TBODY),A.insertionMode=E.IN_TABLE_BODY,un(A,e)}function Eg(A,e){A.openElements.hasInTableScope(i.TABLE)&&(A.openElements.popUntilTagNamePopped(i.TABLE),A._resetInsertionMode(),A._processStartTag(e))}function mg(A,e){Xu(e)?A._appendElement(e,F.HTML):sr(A,e),e.ackSelfClosing=!0}function pg(A,e){!A.formElement&&A.openElements.tmplCount===0&&(A._insertElement(e,F.HTML),A.formElement=A.openElements.current,A.openElements.pop())}function wt(A,e){switch(e.tagID){case i.TD:case i.TH:case i.TR:{gg(A,e);break}case i.STYLE:case i.SCRIPT:case i.TEMPLATE:{le(A,e);break}case i.COL:{dg(A,e);break}case i.FORM:{pg(A,e);break}case i.TABLE:{Eg(A,e);break}case i.TBODY:case i.TFOOT:case i.THEAD:{Bg(A,e);break}case i.INPUT:{mg(A,e);break}case i.CAPTION:{fg(A,e);break}case i.COLGROUP:{hg(A,e);break}default:sr(A,e)}}function ar(A,e){switch(e.tagID){case i.TABLE:{A.openElements.hasInTableScope(i.TABLE)&&(A.openElements.popUntilTagNamePopped(i.TABLE),A._resetInsertionMode());break}case i.TEMPLATE:{st(A,e);break}case i.BODY:case i.CAPTION:case i.COL:case i.COLGROUP:case i.HTML:case i.TBODY:case i.TD:case i.TFOOT:case i.TH:case i.THEAD:case i.TR:break;default:sr(A,e)}}function sr(A,e){const t=A.fosterParentingEnabled;A.fosterParentingEnabled=!0,nn(A,e),A.fosterParentingEnabled=t}function $u(A,e){A.pendingCharacterTokens.push(e)}function Zu(A,e){A.pendingCharacterTokens.push(e),A.hasNonWhitespacePendingCharacterToken=!0}function ir(A,e){let t=0;if(A.hasNonWhitespacePendingCharacterToken)for(;t<A.pendingCharacterTokens.length;t++)sr(A,A.pendingCharacterTokens[t]);else for(;t<A.pendingCharacterTokens.length;t++)A._insertCharacters(A.pendingCharacterTokens[t]);A.insertionMode=A.originalInsertionMode,A._processToken(e)}const zu=new Set([i.CAPTION,i.COL,i.COLGROUP,i.TBODY,i.TD,i.TFOOT,i.TH,i.THEAD,i.TR]);function Cg(A,e){const t=e.tagID;zu.has(t)?A.openElements.hasInTableScope(i.CAPTION)&&(A.openElements.generateImpliedEndTags(),A.openElements.popUntilTagNamePopped(i.CAPTION),A.activeFormattingElements.clearToLastMarker(),A.insertionMode=E.IN_TABLE,wt(A,e)):PA(A,e)}function wg(A,e){const t=e.tagID;switch(t){case i.CAPTION:case i.TABLE:{A.openElements.hasInTableScope(i.CAPTION)&&(A.openElements.generateImpliedEndTags(),A.openElements.popUntilTagNamePopped(i.CAPTION),A.activeFormattingElements.clearToLastMarker(),A.insertionMode=E.IN_TABLE,t===i.TABLE&&ar(A,e));break}case i.BODY:case i.COL:case i.COLGROUP:case i.HTML:case i.TBODY:case i.TD:case i.TFOOT:case i.TH:case i.THEAD:case i.TR:break;default:an(A,e)}}function es(A,e){switch(e.tagID){case i.HTML:{PA(A,e);break}case i.COL:{A._appendElement(e,F.HTML),e.ackSelfClosing=!0;break}case i.TEMPLATE:{le(A,e);break}default:sn(A,e)}}function Tg(A,e){switch(e.tagID){case i.COLGROUP:{A.openElements.currentTagId===i.COLGROUP&&(A.openElements.pop(),A.insertionMode=E.IN_TABLE);break}case i.TEMPLATE:{st(A,e);break}case i.COL:break;default:sn(A,e)}}function sn(A,e){A.openElements.currentTagId===i.COLGROUP&&(A.openElements.pop(),A.insertionMode=E.IN_TABLE,A._processToken(e))}function un(A,e){switch(e.tagID){case i.TR:{A.openElements.clearBackToTableBodyContext(),A._insertElement(e,F.HTML),A.insertionMode=E.IN_ROW;break}case i.TH:case i.TD:{A.openElements.clearBackToTableBodyContext(),A._insertFakeElement(w.TR,i.TR),A.insertionMode=E.IN_ROW,on(A,e);break}case i.CAPTION:case i.COL:case i.COLGROUP:case i.TBODY:case i.TFOOT:case i.THEAD:{A.openElements.hasTableBodyContextInTableScope()&&(A.openElements.clearBackToTableBodyContext(),A.openElements.pop(),A.insertionMode=E.IN_TABLE,wt(A,e));break}default:wt(A,e)}}function ts(A,e){const t=e.tagID;switch(e.tagID){case i.TBODY:case i.TFOOT:case i.THEAD:{A.openElements.hasInTableScope(t)&&(A.openElements.clearBackToTableBodyContext(),A.openElements.pop(),A.insertionMode=E.IN_TABLE);break}case i.TABLE:{A.openElements.hasTableBodyContextInTableScope()&&(A.openElements.clearBackToTableBodyContext(),A.openElements.pop(),A.insertionMode=E.IN_TABLE,ar(A,e));break}case i.BODY:case i.CAPTION:case i.COL:case i.COLGROUP:case i.HTML:case i.TD:case i.TH:case i.TR:break;default:ar(A,e)}}function on(A,e){switch(e.tagID){case i.TH:case i.TD:{A.openElements.clearBackToTableRowContext(),A._insertElement(e,F.HTML),A.insertionMode=E.IN_CELL,A.activeFormattingElements.insertMarker();break}case i.CAPTION:case i.COL:case i.COLGROUP:case i.TBODY:case i.TFOOT:case i.THEAD:case i.TR:{A.openElements.hasInTableScope(i.TR)&&(A.openElements.clearBackToTableRowContext(),A.openElements.pop(),A.insertionMode=E.IN_TABLE_BODY,un(A,e));break}default:wt(A,e)}}function Ao(A,e){switch(e.tagID){case i.TR:{A.openElements.hasInTableScope(i.TR)&&(A.openElements.clearBackToTableRowContext(),A.openElements.pop(),A.insertionMode=E.IN_TABLE_BODY);break}case i.TABLE:{A.openElements.hasInTableScope(i.TR)&&(A.openElements.clearBackToTableRowContext(),A.openElements.pop(),A.insertionMode=E.IN_TABLE_BODY,ts(A,e));break}case i.TBODY:case i.TFOOT:case i.THEAD:{(A.openElements.hasInTableScope(e.tagID)||A.openElements.hasInTableScope(i.TR))&&(A.openElements.clearBackToTableRowContext(),A.openElements.pop(),A.insertionMode=E.IN_TABLE_BODY,ts(A,e));break}case i.BODY:case i.CAPTION:case i.COL:case i.COLGROUP:case i.HTML:case i.TD:case i.TH:break;default:ar(A,e)}}function bg(A,e){const t=e.tagID;zu.has(t)?(A.openElements.hasInTableScope(i.TD)||A.openElements.hasInTableScope(i.TH))&&(A._closeTableCell(),on(A,e)):PA(A,e)}function Ug(A,e){const t=e.tagID;switch(t){case i.TD:case i.TH:{A.openElements.hasInTableScope(t)&&(A.openElements.generateImpliedEndTags(),A.openElements.popUntilTagNamePopped(t),A.activeFormattingElements.clearToLastMarker(),A.insertionMode=E.IN_ROW);break}case i.TABLE:case i.TBODY:case i.TFOOT:case i.THEAD:case i.TR:{A.openElements.hasInTableScope(t)&&(A._closeTableCell(),Ao(A,e));break}case i.BODY:case i.CAPTION:case i.COL:case i.COLGROUP:case i.HTML:break;default:an(A,e)}}function eo(A,e){switch(e.tagID){case i.HTML:{PA(A,e);break}case i.OPTION:{A.openElements.currentTagId===i.OPTION&&A.openElements.pop(),A._insertElement(e,F.HTML);break}case i.OPTGROUP:{A.openElements.currentTagId===i.OPTION&&A.openElements.pop(),A.openElements.currentTagId===i.OPTGROUP&&A.openElements.pop(),A._insertElement(e,F.HTML);break}case i.HR:{A.openElements.currentTagId===i.OPTION&&A.openElements.pop(),A.openElements.currentTagId===i.OPTGROUP&&A.openElements.pop(),A._appendElement(e,F.HTML),e.ackSelfClosing=!0;break}case i.INPUT:case i.KEYGEN:case i.TEXTAREA:case i.SELECT:{A.openElements.hasInSelectScope(i.SELECT)&&(A.openElements.popUntilTagNamePopped(i.SELECT),A._resetInsertionMode(),e.tagID!==i.SELECT&&A._processStartTag(e));break}case i.SCRIPT:case i.TEMPLATE:{le(A,e);break}}}function to(A,e){switch(e.tagID){case i.OPTGROUP:{A.openElements.stackTop>0&&A.openElements.currentTagId===i.OPTION&&A.openElements.tagIDs[A.openElements.stackTop-1]===i.OPTGROUP&&A.openElements.pop(),A.openElements.currentTagId===i.OPTGROUP&&A.openElements.pop();break}case i.OPTION:{A.openElements.currentTagId===i.OPTION&&A.openElements.pop();break}case i.SELECT:{A.openElements.hasInSelectScope(i.SELECT)&&(A.openElements.popUntilTagNamePopped(i.SELECT),A._resetInsertionMode());break}case i.TEMPLATE:{st(A,e);break}}}function Qg(A,e){const t=e.tagID;t===i.CAPTION||t===i.TABLE||t===i.TBODY||t===i.TFOOT||t===i.THEAD||t===i.TR||t===i.TD||t===i.TH?(A.openElements.popUntilTagNamePopped(i.SELECT),A._resetInsertionMode(),A._processStartTag(e)):eo(A,e)}function Fg(A,e){const t=e.tagID;t===i.CAPTION||t===i.TABLE||t===i.TBODY||t===i.TFOOT||t===i.THEAD||t===i.TR||t===i.TD||t===i.TH?A.openElements.hasInTableScope(t)&&(A.openElements.popUntilTagNamePopped(i.SELECT),A._resetInsertionMode(),A.onEndTag(e)):to(A,e)}function Ig(A,e){switch(e.tagID){case i.BASE:case i.BASEFONT:case i.BGSOUND:case i.LINK:case i.META:case i.NOFRAMES:case i.SCRIPT:case i.STYLE:case i.TEMPLATE:case i.TITLE:{le(A,e);break}case i.CAPTION:case i.COLGROUP:case i.TBODY:case i.TFOOT:case i.THEAD:{A.tmplInsertionModeStack[0]=E.IN_TABLE,A.insertionMode=E.IN_TABLE,wt(A,e);break}case i.COL:{A.tmplInsertionModeStack[0]=E.IN_COLUMN_GROUP,A.insertionMode=E.IN_COLUMN_GROUP,es(A,e);break}case i.TR:{A.tmplInsertionModeStack[0]=E.IN_TABLE_BODY,A.insertionMode=E.IN_TABLE_BODY,un(A,e);break}case i.TD:case i.TH:{A.tmplInsertionModeStack[0]=E.IN_ROW,A.insertionMode=E.IN_ROW,on(A,e);break}default:A.tmplInsertionModeStack[0]=E.IN_BODY,A.insertionMode=E.IN_BODY,PA(A,e)}}function _g(A,e){e.tagID===i.TEMPLATE&&st(A,e)}function ro(A,e){A.openElements.tmplCount>0?(A.openElements.popUntilTagNamePopped(i.TEMPLATE),A.activeFormattingElements.clearToLastMarker(),A.tmplInsertionModeStack.shift(),A._resetInsertionMode(),A.onEof(e)):za(A,e)}function yg(A,e){e.tagID===i.HTML?PA(A,e):cn(A,e)}function no(A,e){var t;if(e.tagID===i.HTML){if(A.fragmentContext||(A.insertionMode=E.AFTER_AFTER_BODY),A.options.sourceCodeLocationInfo&&A.openElements.tagIDs[0]===i.HTML){A._setEndLocation(A.openElements.items[0],e);const r=A.openElements.items[1];r&&!(!((t=A.treeAdapter.getNodeSourceCodeLocation(r))===null||t===void 0)&&t.endTag)&&A._setEndLocation(r,e)}}else cn(A,e)}function cn(A,e){A.insertionMode=E.IN_BODY,nn(A,e)}function Ng(A,e){switch(e.tagID){case i.HTML:{PA(A,e);break}case i.FRAMESET:{A._insertElement(e,F.HTML);break}case i.FRAME:{A._appendElement(e,F.HTML),e.ackSelfClosing=!0;break}case i.NOFRAMES:{le(A,e);break}}}function vg(A,e){e.tagID===i.FRAMESET&&!A.openElements.isRootHtmlElementCurrent()&&(A.openElements.pop(),!A.fragmentContext&&A.openElements.currentTagId!==i.FRAMESET&&(A.insertionMode=E.AFTER_FRAMESET))}function Sg(A,e){switch(e.tagID){case i.HTML:{PA(A,e);break}case i.NOFRAMES:{le(A,e);break}}}function xg(A,e){e.tagID===i.HTML&&(A.insertionMode=E.AFTER_AFTER_FRAMESET)}function Lg(A,e){e.tagID===i.HTML?PA(A,e):ln(A,e)}function ln(A,e){A.insertionMode=E.IN_BODY,nn(A,e)}function Hg(A,e){switch(e.tagID){case i.HTML:{PA(A,e);break}case i.NOFRAMES:{le(A,e);break}}}function Dg(A,e){e.chars=dA,A._insertCharacters(e)}function Og(A,e){A._insertCharacters(e),A.framesetOk=!1}function ao(A){for(;A.treeAdapter.getNamespaceURI(A.openElements.current)!==F.HTML&&!A._isIntegrationPoint(A.openElements.currentTagId,A.openElements.current);)A.openElements.pop()}function Rg(A,e){if(zd(e))ao(A),A._startTagOutsideForeignContent(e);else{const t=A._getAdjustedCurrentElement(),r=A.treeAdapter.getNamespaceURI(t);r===F.MATHML?Ru(e):r===F.SVG&&(AB(e),Mu(e)),ja(e),e.selfClosing?A._appendElement(e,r):A._insertElement(e,r),e.ackSelfClosing=!0}}function Mg(A,e){if(e.tagID===i.P||e.tagID===i.BR){ao(A),A._endTagOutsideForeignContent(e);return}for(let t=A.openElements.stackTop;t>0;t--){const r=A.openElements.items[t];if(A.treeAdapter.getNamespaceURI(r)===F.HTML){A._endTagOutsideForeignContent(e);break}const n=A.treeAdapter.getTagName(r);if(n.toLowerCase()===e.tagName){e.tagName=n,A.openElements.shortenToLength(t);break}}}const kg=new Set([w.AREA,w.BASE,w.BASEFONT,w.BGSOUND,w.BR,w.COL,w.EMBED,w.FRAME,w.HR,w.IMG,w.INPUT,w.KEYGEN,w.LINK,w.META,w.PARAM,w.SOURCE,w.TRACK,w.WBR]);function Pg(A,e){return e.treeAdapter.isElementNode(A)&&e.treeAdapter.getNamespaceURI(A)===F.HTML&&kg.has(e.treeAdapter.getTagName(A))}const Kg={treeAdapter:Qe,scriptingEnabled:!0};function Vg(A,e){const t={...Kg,...e};return so(A,t)}function Gg(A,e){let t="";const r=e.treeAdapter.isElementNode(A)&&e.treeAdapter.getTagName(A)===w.TEMPLATE&&e.treeAdapter.getNamespaceURI(A)===F.HTML?e.treeAdapter.getTemplateContent(A):A,n=e.treeAdapter.getChildNodes(r);if(n)for(const a of n)t+=so(a,e);return t}function so(A,e){return e.treeAdapter.isElementNode(A)?Yg(A,e):e.treeAdapter.isTextNode(A)?Wg(A,e):e.treeAdapter.isCommentNode(A)?Jg(A,e):e.treeAdapter.isDocumentTypeNode(A)?qg(A,e):""}function Yg(A,e){const t=e.treeAdapter.getTagName(A);return`<${t}${Xg(A,e)}>${Pg(A,e)?"":`${Gg(A,e)}</${t}>`}`}function Xg(A,{treeAdapter:e}){let t="";for(const r of e.getAttrList(A)){if(t+=" ",r.namespace)switch(r.namespace){case F.XML:{t+=`xml:${r.name}`;break}case F.XMLNS:{r.name!=="xmlns"&&(t+="xmlns:"),t+=r.name;break}case F.XLINK:{t+=`xlink:${r.name}`;break}default:t+=`${r.prefix}:${r.name}`}else t+=r.name;t+=`="${Ii(r.value)}"`}return t}function Wg(A,e){const{treeAdapter:t}=e,r=t.getTextNodeContent(A),n=t.getParentNode(A),a=n&&t.isElementNode(n)&&t.getTagName(n);return a&&t.getNamespaceURI(n)===F.HTML&&Id(a,e.scriptingEnabled)?r:_i(r)}function Jg(A,{treeAdapter:e}){return`<!--${e.getCommentNodeContent(A)}-->`}function qg(A,{treeAdapter:e}){return`<!DOCTYPE ${e.getDocumentTypeNodeName(A)}>`}function jg(A,e){return Ku.parse(A,e)}function $g(A,e,t){typeof A=="string"&&(t=e,e=A,A=null);const r=Ku.getFragmentParser(A,t);return r.tokenizer.write(e,!0),r.getFragment()}function io(A){const e=A.includes('"')?"'":'"';return e+A+e}function Zg(A,e,t){let r="!DOCTYPE ";return A&&(r+=A),e?r+=` PUBLIC ${io(e)}`:t&&(r+=" SYSTEM"),t&&(r+=` ${io(t)}`),r}const Oe={isCommentNode:Rr,isElementNode:W,isTextNode:ge,createDocument(){const A=new At([]);return A["x-mode"]=Ae.NO_QUIRKS,A},createDocumentFragment(){return new At([])},createElement(A,e,t){const r=Object.create(null),n=Object.create(null),a=Object.create(null);for(let u=0;u<t.length;u++){const o=t[u].name;r[o]=t[u].value,n[o]=t[u].namespace,a[o]=t[u].prefix}const s=new Ba(A,r,[]);return s.namespace=e,s["x-attribsNamespace"]=n,s["x-attribsPrefix"]=a,s},createCommentNode(A){return new fa(A)},createTextNode(A){return new Kt(A)},appendChild(A,e){const t=A.children[A.children.length-1];t&&(t.next=e,e.prev=t),A.children.push(e),e.parent=A},insertBefore(A,e,t){const r=A.children.indexOf(t),{prev:n}=t;n&&(n.next=e,e.prev=n),t.prev=e,e.next=t,A.children.splice(r,0,e),e.parent=A},setTemplateContent(A,e){Oe.appendChild(A,e)},getTemplateContent(A){return A.children[0]},setDocumentType(A,e,t,r){const n=Zg(e,t,r);let a=A.children.find(s=>ga(s)&&s.name==="!doctype");a?a.data=n??null:(a=new ha("!doctype",n),Oe.appendChild(A,a)),a["x-name"]=e,a["x-publicId"]=t,a["x-systemId"]=r},setDocumentMode(A,e){A["x-mode"]=e},getDocumentMode(A){return A["x-mode"]},detachNode(A){if(A.parent){const e=A.parent.children.indexOf(A),{prev:t,next:r}=A;A.prev=null,A.next=null,t&&(t.next=r),r&&(r.prev=t),A.parent.children.splice(e,1),A.parent=null}},insertText(A,e){const t=A.children[A.children.length-1];t&&ge(t)?t.data+=e:Oe.appendChild(A,Oe.createTextNode(e))},insertTextBefore(A,e,t){const r=A.children[A.children.indexOf(t)-1];r&&ge(r)?r.data+=e:Oe.insertBefore(A,Oe.createTextNode(e),t)},adoptAttributes(A,e){for(let t=0;t<e.length;t++){const r=e[t].name;A.attribs[r]===void 0&&(A.attribs[r]=e[t].value,A["x-attribsNamespace"][r]=e[t].namespace,A["x-attribsPrefix"][r]=e[t].prefix)}},getFirstChild(A){return A.children[0]},getChildNodes(A){return A.children},getParentNode(A){return A.parent},getAttrList(A){return A.attributes},getTagName(A){return A.name},getNamespaceURI(A){return A.namespace},getTextNodeContent(A){return A.data},getCommentNodeContent(A){return A.data},getDocumentTypeNodeName(A){var e;return(e=A["x-name"])!==null&&e!==void 0?e:""},getDocumentTypeNodePublicId(A){var e;return(e=A["x-publicId"])!==null&&e!==void 0?e:""},getDocumentTypeNodeSystemId(A){var e;return(e=A["x-systemId"])!==null&&e!==void 0?e:""},isDocumentTypeNode(A){return ga(A)&&A.name==="!doctype"},setNodeSourceCodeLocation(A,e){e&&(A.startIndex=e.startOffset,A.endIndex=e.endOffset),A.sourceCodeLocation=e},getNodeSourceCodeLocation(A){return A.sourceCodeLocation},updateNodeSourceCodeLocation(A,e){e.endOffset!=null&&(A.endIndex=e.endOffset),A.sourceCodeLocation={...A.sourceCodeLocation,...e}}};function zg(A,e,t,r){var n;return(n=e.treeAdapter)!==null&&n!==void 0||(e.treeAdapter=Oe),e.scriptingEnabled!==!1&&(e.scriptingEnabled=!0),t?jg(A,e):$g(r,A,e)}const AE={treeAdapter:Oe};function eE(A){const e="length"in A?A:[A];for(let r=0;r<e.length;r+=1){const n=e[r];Se(n)&&Array.prototype.splice.call(e,r,1,...n.children)}let t="";for(let r=0;r<e.length;r+=1){const n=e[r];t+=Vg(n,AE)}return t}var Y;(function(A){A[A.Tab=9]="Tab",A[A.NewLine=10]="NewLine",A[A.FormFeed=12]="FormFeed",A[A.CarriageReturn=13]="CarriageReturn",A[A.Space=32]="Space",A[A.ExclamationMark=33]="ExclamationMark",A[A.Number=35]="Number",A[A.Amp=38]="Amp",A[A.SingleQuote=39]="SingleQuote",A[A.DoubleQuote=34]="DoubleQuote",A[A.Dash=45]="Dash",A[A.Slash=47]="Slash",A[A.Zero=48]="Zero",A[A.Nine=57]="Nine",A[A.Semi=59]="Semi",A[A.Lt=60]="Lt",A[A.Eq=61]="Eq",A[A.Gt=62]="Gt",A[A.Questionmark=63]="Questionmark",A[A.UpperA=65]="UpperA",A[A.LowerA=97]="LowerA",A[A.UpperF=70]="UpperF",A[A.LowerF=102]="LowerF",A[A.UpperZ=90]="UpperZ",A[A.LowerZ=122]="LowerZ",A[A.LowerX=120]="LowerX",A[A.OpeningSquareBracket=91]="OpeningSquareBracket"})(Y||(Y={}));var v;(function(A){A[A.Text=1]="Text",A[A.BeforeTagName=2]="BeforeTagName",A[A.InTagName=3]="InTagName",A[A.InSelfClosingTag=4]="InSelfClosingTag",A[A.BeforeClosingTagName=5]="BeforeClosingTagName",A[A.InClosingTagName=6]="InClosingTagName",A[A.AfterClosingTagName=7]="AfterClosingTagName",A[A.BeforeAttributeName=8]="BeforeAttributeName",A[A.InAttributeName=9]="InAttributeName",A[A.AfterAttributeName=10]="AfterAttributeName",A[A.BeforeAttributeValue=11]="BeforeAttributeValue",A[A.InAttributeValueDq=12]="InAttributeValueDq",A[A.InAttributeValueSq=13]="InAttributeValueSq",A[A.InAttributeValueNq=14]="InAttributeValueNq",A[A.BeforeDeclaration=15]="BeforeDeclaration",A[A.InDeclaration=16]="InDeclaration",A[A.InProcessingInstruction=17]="InProcessingInstruction",A[A.BeforeComment=18]="BeforeComment",A[A.CDATASequence=19]="CDATASequence",A[A.InSpecialComment=20]="InSpecialComment",A[A.InCommentLike=21]="InCommentLike",A[A.BeforeSpecialS=22]="BeforeSpecialS",A[A.BeforeSpecialT=23]="BeforeSpecialT",A[A.SpecialStartSequence=24]="SpecialStartSequence",A[A.InSpecialTag=25]="InSpecialTag",A[A.InEntity=26]="InEntity"})(v||(v={}));function Fe(A){return A===Y.Space||A===Y.NewLine||A===Y.Tab||A===Y.FormFeed||A===Y.CarriageReturn}function fn(A){return A===Y.Slash||A===Y.Gt||Fe(A)}function tE(A){return A>=Y.LowerA&&A<=Y.LowerZ||A>=Y.UpperA&&A<=Y.UpperZ}var me;(function(A){A[A.NoValue=0]="NoValue",A[A.Unquoted=1]="Unquoted",A[A.Single=2]="Single",A[A.Double=3]="Double"})(me||(me={}));const OA={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};let rE=class{constructor({xmlMode:e=!1,decodeEntities:t=!0},r){this.cbs=r,this.state=v.Text,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=v.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.xmlMode=e,this.decodeEntities=t,this.entityDecoder=new Ta(e?Ti:ma,(n,a)=>this.emitCodePoint(n,a))}reset(){this.state=v.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=v.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()}stateText(e){e===Y.Lt||!this.decodeEntities&&this.fastForwardTo(Y.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=v.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===Y.Amp&&this.startEntity()}stateSpecialStartSequence(e){const t=this.sequenceIndex===this.currentSequence.length;if(!(t?fn(e):(e|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!t){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=v.InTagName,this.stateInTagName(e)}stateInSpecialTag(e){if(this.sequenceIndex===this.currentSequence.length){if(e===Y.Gt||Fe(e)){const t=this.index-this.currentSequence.length;if(this.sectionStart<t){const r=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=r}this.isSpecial=!1,this.sectionStart=t+2,this.stateInClosingTagName(e);return}this.sequenceIndex=0}(e|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===OA.TitleEnd?this.decodeEntities&&e===Y.Amp&&this.startEntity():this.fastForwardTo(Y.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(e===Y.Lt)}stateCDATASequence(e){e===OA.Cdata[this.sequenceIndex]?++this.sequenceIndex===OA.Cdata.length&&(this.state=v.InCommentLike,this.currentSequence=OA.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=v.InDeclaration,this.stateInDeclaration(e))}fastForwardTo(e){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===e)return!0;return this.index=this.buffer.length+this.offset-1,!1}stateInCommentLike(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===OA.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=v.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}isTagStartChar(e){return this.xmlMode?!fn(e):tE(e)}startSpecial(e,t){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=t,this.state=v.SpecialStartSequence}stateBeforeTagName(e){if(e===Y.ExclamationMark)this.state=v.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===Y.Questionmark)this.state=v.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(e)){const t=e|32;this.sectionStart=this.index,this.xmlMode?this.state=v.InTagName:t===OA.ScriptEnd[2]?this.state=v.BeforeSpecialS:t===OA.TitleEnd[2]?this.state=v.BeforeSpecialT:this.state=v.InTagName}else e===Y.Slash?this.state=v.BeforeClosingTagName:(this.state=v.Text,this.stateText(e))}stateInTagName(e){fn(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=v.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateBeforeClosingTagName(e){Fe(e)||(e===Y.Gt?this.state=v.Text:(this.state=this.isTagStartChar(e)?v.InClosingTagName:v.InSpecialComment,this.sectionStart=this.index))}stateInClosingTagName(e){(e===Y.Gt||Fe(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=v.AfterClosingTagName,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){(e===Y.Gt||this.fastForwardTo(Y.Gt))&&(this.state=v.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(e){e===Y.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=v.InSpecialTag,this.sequenceIndex=0):this.state=v.Text,this.sectionStart=this.index+1):e===Y.Slash?this.state=v.InSelfClosingTag:Fe(e)||(this.state=v.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(e){e===Y.Gt?(this.cbs.onselfclosingtag(this.index),this.state=v.Text,this.sectionStart=this.index+1,this.isSpecial=!1):Fe(e)||(this.state=v.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateInAttributeName(e){(e===Y.Eq||fn(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=v.AfterAttributeName,this.stateAfterAttributeName(e))}stateAfterAttributeName(e){e===Y.Eq?this.state=v.BeforeAttributeValue:e===Y.Slash||e===Y.Gt?(this.cbs.onattribend(me.NoValue,this.sectionStart),this.sectionStart=-1,this.state=v.BeforeAttributeName,this.stateBeforeAttributeName(e)):Fe(e)||(this.cbs.onattribend(me.NoValue,this.sectionStart),this.state=v.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(e){e===Y.DoubleQuote?(this.state=v.InAttributeValueDq,this.sectionStart=this.index+1):e===Y.SingleQuote?(this.state=v.InAttributeValueSq,this.sectionStart=this.index+1):Fe(e)||(this.sectionStart=this.index,this.state=v.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))}handleInAttributeValue(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===Y.DoubleQuote?me.Double:me.Single,this.index+1),this.state=v.BeforeAttributeName):this.decodeEntities&&e===Y.Amp&&this.startEntity()}stateInAttributeValueDoubleQuotes(e){this.handleInAttributeValue(e,Y.DoubleQuote)}stateInAttributeValueSingleQuotes(e){this.handleInAttributeValue(e,Y.SingleQuote)}stateInAttributeValueNoQuotes(e){Fe(e)||e===Y.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(me.Unquoted,this.index),this.state=v.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===Y.Amp&&this.startEntity()}stateBeforeDeclaration(e){e===Y.OpeningSquareBracket?(this.state=v.CDATASequence,this.sequenceIndex=0):this.state=e===Y.Dash?v.BeforeComment:v.InDeclaration}stateInDeclaration(e){(e===Y.Gt||this.fastForwardTo(Y.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=v.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){(e===Y.Gt||this.fastForwardTo(Y.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=v.Text,this.sectionStart=this.index+1)}stateBeforeComment(e){e===Y.Dash?(this.state=v.InCommentLike,this.currentSequence=OA.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=v.InDeclaration}stateInSpecialComment(e){(e===Y.Gt||this.fastForwardTo(Y.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=v.Text,this.sectionStart=this.index+1)}stateBeforeSpecialS(e){const t=e|32;t===OA.ScriptEnd[3]?this.startSpecial(OA.ScriptEnd,4):t===OA.StyleEnd[3]?this.startSpecial(OA.StyleEnd,4):(this.state=v.InTagName,this.stateInTagName(e))}stateBeforeSpecialT(e){const t=e|32;t===OA.TitleEnd[3]?this.startSpecial(OA.TitleEnd,4):t===OA.TextareaEnd[3]?this.startSpecial(OA.TextareaEnd,4):(this.state=v.InTagName,this.stateInTagName(e))}startEntity(){this.baseState=this.state,this.state=v.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?re.Strict:this.baseState===v.Text||this.baseState===v.InSpecialTag?re.Legacy:re.Attribute)}stateInEntity(){const e=this.entityDecoder.write(this.buffer,this.index-this.offset);e>=0?(this.state=this.baseState,e===0&&(this.index=this.entityStart)):this.index=this.offset+this.buffer.length-1}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===v.Text||this.state===v.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===v.InAttributeValueDq||this.state===v.InAttributeValueSq||this.state===v.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index<this.buffer.length+this.offset&&this.running}parse(){for(;this.shouldContinue();){const e=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case v.Text:{this.stateText(e);break}case v.SpecialStartSequence:{this.stateSpecialStartSequence(e);break}case v.InSpecialTag:{this.stateInSpecialTag(e);break}case v.CDATASequence:{this.stateCDATASequence(e);break}case v.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(e);break}case v.InAttributeName:{this.stateInAttributeName(e);break}case v.InCommentLike:{this.stateInCommentLike(e);break}case v.InSpecialComment:{this.stateInSpecialComment(e);break}case v.BeforeAttributeName:{this.stateBeforeAttributeName(e);break}case v.InTagName:{this.stateInTagName(e);break}case v.InClosingTagName:{this.stateInClosingTagName(e);break}case v.BeforeTagName:{this.stateBeforeTagName(e);break}case v.AfterAttributeName:{this.stateAfterAttributeName(e);break}case v.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(e);break}case v.BeforeAttributeValue:{this.stateBeforeAttributeValue(e);break}case v.BeforeClosingTagName:{this.stateBeforeClosingTagName(e);break}case v.AfterClosingTagName:{this.stateAfterClosingTagName(e);break}case v.BeforeSpecialS:{this.stateBeforeSpecialS(e);break}case v.BeforeSpecialT:{this.stateBeforeSpecialT(e);break}case v.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(e);break}case v.InSelfClosingTag:{this.stateInSelfClosingTag(e);break}case v.InDeclaration:{this.stateInDeclaration(e);break}case v.BeforeDeclaration:{this.stateBeforeDeclaration(e);break}case v.BeforeComment:{this.stateBeforeComment(e);break}case v.InProcessingInstruction:{this.stateInProcessingInstruction(e);break}case v.InEntity:{this.stateInEntity();break}}this.index++}this.cleanup()}finish(){this.state===v.InEntity&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const e=this.buffer.length+this.offset;this.sectionStart>=e||(this.state===v.InCommentLike?this.currentSequence===OA.CdataEnd?this.cbs.oncdata(this.sectionStart,e,0):this.cbs.oncomment(this.sectionStart,e,0):this.state===v.InTagName||this.state===v.BeforeAttributeName||this.state===v.BeforeAttributeValue||this.state===v.AfterAttributeName||this.state===v.InAttributeName||this.state===v.InAttributeValueSq||this.state===v.InAttributeValueDq||this.state===v.InAttributeValueNq||this.state===v.InClosingTagName||this.cbs.ontext(this.sectionStart,e))}emitCodePoint(e,t){this.baseState!==v.Text&&this.baseState!==v.InSpecialTag?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.onattribentity(e)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.ontextentity(e,this.sectionStart))}};const Tt=new Set(["input","option","optgroup","select","button","datalist","textarea"]),sA=new Set(["p"]),uo=new Set(["thead","tbody"]),oo=new Set(["dd","dt"]),co=new Set(["rt","rp"]),nE=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",sA],["h1",sA],["h2",sA],["h3",sA],["h4",sA],["h5",sA],["h6",sA],["select",Tt],["input",Tt],["output",Tt],["button",Tt],["datalist",Tt],["textarea",Tt],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",oo],["dt",oo],["address",sA],["article",sA],["aside",sA],["blockquote",sA],["details",sA],["div",sA],["dl",sA],["fieldset",sA],["figcaption",sA],["figure",sA],["footer",sA],["form",sA],["header",sA],["hr",sA],["main",sA],["nav",sA],["ol",sA],["pre",sA],["section",sA],["table",sA],["ul",sA],["rt",co],["rp",co],["tbody",uo],["tfoot",uo]]),aE=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),lo=new Set(["math","svg"]),fo=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),sE=/\s|\//;let iE=class{constructor(e,t={}){var r,n,a,s,u,o;this.options=t,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=e??{},this.htmlMode=!this.options.xmlMode,this.lowerCaseTagNames=(r=t.lowerCaseTags)!==null&&r!==void 0?r:this.htmlMode,this.lowerCaseAttributeNames=(n=t.lowerCaseAttributeNames)!==null&&n!==void 0?n:this.htmlMode,this.recognizeSelfClosing=(a=t.recognizeSelfClosing)!==null&&a!==void 0?a:!this.htmlMode,this.tokenizer=new((s=t.Tokenizer)!==null&&s!==void 0?s:rE)(this.options,this),this.foreignContext=[!this.htmlMode],(o=(u=this.cbs).onparserinit)===null||o===void 0||o.call(u,this)}ontext(e,t){var r,n;const a=this.getSlice(e,t);this.endIndex=t-1,(n=(r=this.cbs).ontext)===null||n===void 0||n.call(r,a),this.startIndex=t}ontextentity(e,t){var r,n;this.endIndex=t-1,(n=(r=this.cbs).ontext)===null||n===void 0||n.call(r,Ca(e)),this.startIndex=t}isVoidElement(e){return this.htmlMode&&aE.has(e)}onopentagname(e,t){this.endIndex=t;let r=this.getSlice(e,t);this.lowerCaseTagNames&&(r=r.toLowerCase()),this.emitOpenTag(r)}emitOpenTag(e){var t,r,n,a;this.openTagStart=this.startIndex,this.tagname=e;const s=this.htmlMode&&nE.get(e);if(s)for(;this.stack.length>0&&s.has(this.stack[0]);){const u=this.stack.shift();(r=(t=this.cbs).onclosetag)===null||r===void 0||r.call(t,u,!0)}this.isVoidElement(e)||(this.stack.unshift(e),this.htmlMode&&(lo.has(e)?this.foreignContext.unshift(!0):fo.has(e)&&this.foreignContext.unshift(!1))),(a=(n=this.cbs).onopentagname)===null||a===void 0||a.call(n,e),this.cbs.onopentag&&(this.attribs={})}endOpenTag(e){var t,r;this.startIndex=this.openTagStart,this.attribs&&((r=(t=this.cbs).onopentag)===null||r===void 0||r.call(t,this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1}onclosetag(e,t){var r,n,a,s,u,o,l,f;this.endIndex=t;let h=this.getSlice(e,t);if(this.lowerCaseTagNames&&(h=h.toLowerCase()),this.htmlMode&&(lo.has(h)||fo.has(h))&&this.foreignContext.shift(),this.isVoidElement(h))this.htmlMode&&h==="br"&&((s=(a=this.cbs).onopentagname)===null||s===void 0||s.call(a,"br"),(o=(u=this.cbs).onopentag)===null||o===void 0||o.call(u,"br",{},!0),(f=(l=this.cbs).onclosetag)===null||f===void 0||f.call(l,"br",!1));else{const d=this.stack.indexOf(h);if(d!==-1)for(let C=0;C<=d;C++){const p=this.stack.shift();(n=(r=this.cbs).onclosetag)===null||n===void 0||n.call(r,p,C!==d)}else this.htmlMode&&h==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=t+1}onselfclosingtag(e){this.endIndex=e,this.recognizeSelfClosing||this.foreignContext[0]?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)}closeCurrentTag(e){var t,r;const n=this.tagname;this.endOpenTag(e),this.stack[0]===n&&((r=(t=this.cbs).onclosetag)===null||r===void 0||r.call(t,n,!e),this.stack.shift())}onattribname(e,t){this.startIndex=e;const r=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?r.toLowerCase():r}onattribdata(e,t){this.attribvalue+=this.getSlice(e,t)}onattribentity(e){this.attribvalue+=Ca(e)}onattribend(e,t){var r,n;this.endIndex=t,(n=(r=this.cbs).onattribute)===null||n===void 0||n.call(r,this.attribname,this.attribvalue,e===me.Double?'"':e===me.Single?"'":e===me.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(e){const t=e.search(sE);let r=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(r=r.toLowerCase()),r}ondeclaration(e,t){this.endIndex=t;const r=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){const n=this.getInstructionName(r);this.cbs.onprocessinginstruction(`!${n}`,`!${r}`)}this.startIndex=t+1}onprocessinginstruction(e,t){this.endIndex=t;const r=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){const n=this.getInstructionName(r);this.cbs.onprocessinginstruction(`?${n}`,`?${r}`)}this.startIndex=t+1}oncomment(e,t,r){var n,a,s,u;this.endIndex=t,(a=(n=this.cbs).oncomment)===null||a===void 0||a.call(n,this.getSlice(e,t-r)),(u=(s=this.cbs).oncommentend)===null||u===void 0||u.call(s),this.startIndex=t+1}oncdata(e,t,r){var n,a,s,u,o,l,f,h,d,C;this.endIndex=t;const p=this.getSlice(e,t-r);!this.htmlMode||this.options.recognizeCDATA?((a=(n=this.cbs).oncdatastart)===null||a===void 0||a.call(n),(u=(s=this.cbs).ontext)===null||u===void 0||u.call(s,p),(l=(o=this.cbs).oncdataend)===null||l===void 0||l.call(o)):((h=(f=this.cbs).oncomment)===null||h===void 0||h.call(f,`[CDATA[${p}]]`),(C=(d=this.cbs).oncommentend)===null||C===void 0||C.call(d)),this.startIndex=t+1}onend(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let r=0;r<this.stack.length;r++)this.cbs.onclosetag(this.stack[r],!0)}(t=(e=this.cbs).onend)===null||t===void 0||t.call(e)}reset(){var e,t,r,n;(t=(e=this.cbs).onreset)===null||t===void 0||t.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(n=(r=this.cbs).onparserinit)===null||n===void 0||n.call(r,this),this.buffers.length=0,this.foreignContext.length=0,this.foreignContext.unshift(!this.htmlMode),this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(e){this.reset(),this.end(e)}getSlice(e,t){for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let r=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);for(;t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),r+=this.buffers[0].slice(0,t-this.bufferOffset);return r}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(e){var t,r;if(this.ended){(r=(t=this.cbs).onerror)===null||r===void 0||r.call(t,new Error(".write() after done!"));return}this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++)}end(e){var t,r;if(this.ended){(r=(t=this.cbs).onerror)===null||r===void 0||r.call(t,new Error(".end() after done!"));return}e&&this.write(e),this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()}parseChunk(e){this.write(e)}done(e){this.end(e)}};function uE(A,e){const t=new o0(void 0,e);return new iE(t,e).end(A),t.root}const oE=Rh((A,e,t,r)=>e._useHtmlParser2?uE(A,e):zg(A,e,t,r)),ho=Ed(oE,(A,e)=>e._useHtmlParser2?Mr(A,e):eE(A));var X=(A=>(A[A.None=0]="None",A[A.Text=1]="Text",A[A.Image=2]="Image",A[A.Video=3]="Video",A[A.Icon=4]="Icon",A[A.Link=5]="Link",A[A.Button=6]="Button",A[A.Block=10]="Block",A))(X||{}),fe;(A=>{A.THEME_TEXT_COLOR_CLASS="gp-designer-theme-text",A.THEME_BUTTON_COLOR_CLASS="gp-designer-theme-button",A.THEME_ICON_COLOR_CLASS="gp-designer-theme-icon",A.THEME_COLOR="#3574e6"})(fe||(fe={}));const cE=c.defineComponent({name:"GpMessage",props:{message:{type:String,required:!0},type:{type:String,default:"info"},position:{type:String,default:"top-right"},duration:{type:Number,default:3e3},onClose:{type:Function,required:!0},icon:{type:Boolean,default:!0}},setup(A){const e=c.ref(!1),t=c.computed(()=>({success:"bg-green-100 text-green-800",error:"bg-red-100 text-red-800",info:"bg-blue-100 text-blue-800",warning:"bg-yellow-100 text-yellow-800"})[A.type]),r=()=>{e.value=!1,A.onClose()};return setTimeout(()=>{r()},A.duration),e.value=!0,{visible:e,typeClass:t,closeMessage:r}}}),Re=(A,e)=>{const t=A.__vccOpts||A;for(const[r,n]of e)t[r]=n;return t},lE={key:0,class:"gp-message"},fE={key:0,class:"mr-2"},hE={key:0,class:"text-green-500"},dE={key:1,class:"text-red-500"},BE={key:2,class:"text-blue-500"},gE={key:3,class:"text-yellow-500"};function EE(A,e,t,r,n,a){return c.openBlock(),c.createBlock(c.Transition,{name:"fade"},{default:c.withCtx(()=>[A.visible?(c.openBlock(),c.createElementBlock("div",lE,[c.createElementVNode("div",{class:c.normalizeClass([A.typeClass,"message-content"])},[A.icon?(c.openBlock(),c.createElementBlock("span",fE,[c.renderSlot(A.$slots,"icon",{},()=>[A.type==="success"?(c.openBlock(),c.createElementBlock("span",hE,"✔")):c.createCommentVNode("",!0),A.type==="error"?(c.openBlock(),c.createElementBlock("span",dE,"✖")):c.createCommentVNode("",!0),A.type==="info"?(c.openBlock(),c.createElementBlock("span",BE,"ℹ")):c.createCommentVNode("",!0),A.type==="warning"?(c.openBlock(),c.createElementBlock("span",gE,"⚠")):c.createCommentVNode("",!0)],!0)])):c.createCommentVNode("",!0),c.createElementVNode("span",null,c.toDisplayString(A.message),1),c.createElementVNode("button",{class:"close-btn hover:text-gray-800 font-bold",onClick:e[0]||(e[0]=(...s)=>A.closeMessage&&A.closeMessage(...s))}," × ")],2)])):c.createCommentVNode("",!0)]),_:3})}const mE=Re(cE,[["render",EE],["__scopeId","data-v-a234b03c"]]),bt=c.reactive([]);let rs=null;const pE=()=>{const A=document.createElement("div");return A.id="global-message-container",document.body.appendChild(A),A},CE=()=>{if(rs)return;const A=pE();rs=c.createApp({setup(){return{messageQueue:bt}},render(){const e=c.computed(()=>{var r;return{"top-left":"top-4 left-4","top-right":"top-4 right-4","bottom-left":"bottom-4 left-4","bottom-right":"bottom-4 right-4","top-center":"top-4 left-1/2 transform -translate-x-1/2","bottom-center":"bottom-4 left-1/2 transform -translate-x-1/2"}[((r=bt[0])==null?void 0:r.options.position)||"top-right"]});return c.h("div",{class:`fixed flex flex-col gap-2 ${e.value}`},bt.map(t=>c.h(mE,{key:t.id,...t.options,onClose:()=>Bo(t.id)})))}}),rs.mount(A)},Bo=A=>{const e=bt.findIndex(t=>t.id===A);e!==-1&&bt.splice(e,1)};let wE=0;const j=A=>{CE();const e=wE++;bt.push({id:e,options:A}),setTimeout(()=>{Bo(e)},A.duration||3e3)};j.success=(A,e=3e3,t=!0)=>{j(typeof A=="string"?{message:A,type:"success",duration:e,icon:t}:{...A,type:"success"})},j.error=(A,e=3e3,t=!0)=>{j(typeof A=="string"?{message:A,type:"error",duration:e,icon:t}:{...A,type:"error"})},j.info=(A,e=3e3,t=!0)=>{j(typeof A=="string"?{message:A,type:"info",duration:e,icon:t}:{...A,type:"info"})},j.warning=(A,e=3e3,t=!0)=>{j(typeof A=="string"?{message:A,type:"warning",duration:e,icon:t}:{...A,type:"warning"})};const TE=["onClick"],bE={key:2,"date-action":"1",contenteditable:"false",class:"text-red-500 text-xs mt-1"},UE=Re(c.defineComponent({__name:"ElementRenderer",props:{element:{type:Object,required:!0},selectedElement:Object,hoveredElement:Object,uploadByFile:{type:Function,required:!1},icons:{type:Array,default:()=>[]},mode:{type:String,default:"edit"},cropper:{type:Object,required:!1},icon:{type:Object,required:!1},upload:{type:Object,required:!1},r:{type:String,required:!1},showMargin:{type:Boolean,default:!1}},emits:["selectElement","hoverElement","updateText","contentUpdated","blockAction","addIcon","updateElementRule"],setup(A,{emit:e}){const t=A,r=e,n=c.computed(()=>{var y;const I=t.element.editText||t.element.text;return t.element.rule&&t.element.rule.allowWrap?(y=I==null?void 0:I.replace(/\n/g,"<br>"))==null?void 0:y.replace(/ /g,"&nbsp;"):I}),a=c.computed(()=>t.selectedElement===t.element),s=c.computed(()=>t.hoveredElement===t.element),u=c.ref(!1),o=c.ref(!1),l=c.ref(""),f=c.computed(()=>t.element.rule.minText||0),h=c.computed(()=>t.element.rule.maxText||1/0),d=I=>{let y="";if(I.children&&I.children.length&&I.children[0].type===X.Block){const J=I.children[0].rule.flexColumn||I.children[0].rule.mobileFlexColumn;Math.min(J,I.children.length)&&(y+=" flex pc:justify-center flex-wrap ",I.children[0].rule.mobileFlexColumn?y+=" justify-center ":y+=" gp-designer-m-swiper swiper-wrapper justify-normal ")}if(I.type===X.Block){const J=I.rule.flexColumn,CA=I.rule.mobileFlexColumn;(CA||J)&&(y+=" box-border "),CA>1&&CA<=12?y+=` basis-1/${CA} `:CA==1?y+=" basis-full ":CA||(y+=" gp-designer-m-swiper-slide swiper-slide "),J>1&&J<=12?y+=` pc:basis-1/${J} `:J==1&&(y+=" pc:basis-full ")}if((I.type==X.Button||I.type==X.Link)&&I.rule.openMeiqia&&(y+=" gp-designer-meiqia "),I.rule.isThemeColor&&t.element.type===X.Text?y+=" "+fe.THEME_TEXT_COLOR_CLASS+" ":I.rule.isThemeColor&&t.element.type===X.Button?y+=" "+fe.THEME_BUTTON_COLOR_CLASS+" ":I.rule.isThemeColor&&t.element.type===X.Icon&&(y+=" "+fe.THEME_ICON_COLOR_CLASS+" "),I.attrs.class){var rA=I.attrs.class.split(" ").filter(J=>J);rA.length&&(y=y.split(" ").filter(J=>!rA.includes(J)).join(" "))}return y};c.watch(()=>t.r,()=>{r("contentUpdated",D())},{immediate:!0});function C(I){I.xpath!="/div[1]"&&t.mode!=="preview"&&(t.mode==="edit"?I.type===X.Text&&r("selectElement",I):r("selectElement",I),!I.rule.isReadOnly&&I.type===X.Text&&(u.value=!0))}function p(I){r("selectElement",I)}function T(I,y){r("hoverElement",I,y)}function U(I){r("hoverElement",I)}function N(I){I.currentTarget.contains(I.relatedTarget)?r("hoverElement",null):t.hoveredElement?r("hoverElement",null,t.hoveredElement.parentxpath):r("hoverElement",null)}function _(){u.value=!1,r("contentUpdated",D())}function D(){function I(rA){var bA;const J=rA;if(J.tag==="br")return"<br>";const CA=J.rule.isThemeColor&&J.type==X.Text?fe.THEME_TEXT_COLOR_CLASS:J.rule.isThemeColor&&J.type==X.Button?fe.THEME_BUTTON_COLOR_CLASS:J.rule.isThemeColor&&J.type==X.Icon?fe.THEME_ICON_COLOR_CLASS:"";CA?J.attrs.class&&!J.attrs.class.includes(CA)?J.attrs.class=J.attrs.class?J.attrs.class+" "+CA:CA:J.attrs.class||(J.attrs.class=CA):J.attrs.class=(bA=J.attrs.class)==null?void 0:bA.replace(new RegExp(`${fe.THEME_TEXT_COLOR_CLASS}|${fe.THEME_BUTTON_COLOR_CLASS}|${fe.THEME_ICON_COLOR_CLASS}`,"g"),"");const $e={class:J.attrs.class||""},Dr=d(J);Dr&&($e.class+=" "+Dr);let Ze=Object.entries(rA.attrs||{}).filter(([DA,ce])=>DA!=="class").map(([DA,ce])=>`${DA}="${ce}"`).join(" ");const Bt=Object.entries($e||{}).map(([DA,ce])=>`${DA}="${ce.trim()}"`).join(" ");Ze+=Bt;const mi=`<${rA.tag}${Ze?" "+Ze:""}>`,Q=`</${rA.tag}>`,x=(rA.children||[]).map(DA=>I(DA)).join("");let R=rA.editText||rA.text||"";return R=R.replace(/\r\n/g,`
9
- `).replace(/\n/g,"<br>"),`${mi}${R}${x}${Q}`}return I(t.element)}function P(I){var CA,$e;I.preventDefault(),I.stopPropagation();let y=((CA=I.clipboardData)==null?void 0:CA.getData("text/plain"))||"";($e=t.element.rule)!=null&&$e.allowWrap?(y=y==null?void 0:y.replace(/\n/g,"<br>"),document.execCommand("insertHTML",!1,y)):(y=y==null?void 0:y.replace(/\n/g," "),document.execCommand("insertText",!1,y));const rA=I.target,J=rA.innerText||rA.textContent||"";H(J)}function L(I){var y;I.key==="Enter"&&(I.preventDefault(),I.stopPropagation(),(y=t.element.rule)!=null&&y.allowWrap?document.execCommand("insertLineBreak"):j.error("当前节点不允许换行"))}function m(I){I.stopPropagation();const y=I.target,rA=y.innerText||y.textContent||"";H(rA)}function H(I){if(I.length<f.value){o.value=!0,l.value=`最少输入 ${f.value} 个字符`;return}else if(I.length>h.value){o.value=!0,l.value=`最多输入 ${h.value} 个字符`;return}else o.value=!1,l.value="";r("updateText",{element:t.element,newText:I}),r("contentUpdated",D());const y=c.toRaw(t.element);y.editText=I}function K(I){r("updateText",I),r("contentUpdated",D())}function k(){const I={...t.element};r("blockAction",{action:"add",element:t.element,newBlock:I})}function AA(){uA(t.element),r("blockAction",{action:"moveUp",element:t.element})}function uA(I){I.children&&I.children.length>0&&I.children.forEach(y=>{y.type==X.Text&&(y.text!==y.editText&&(y.text=y.editText),uA(y))})}function fA(){uA(t.element),r("blockAction",{action:"moveDown",element:t.element})}function q(){r("blockAction",{action:"delete",element:t.element})}function tA(I){r("blockAction",I),r("contentUpdated",D())}function oA(I){yA.value.openModal(I)}function hA(I){GA.value.openModal(I)}function pA(I,y){r("addIcon",I,y),r("contentUpdated",D())}function XA(I){r("updateElementRule",I)}const yA=c.ref(t.icon);c.watch(()=>t.icon,I=>{yA.value=I},{immediate:!0});const GA=c.ref(t.upload);c.watch(()=>t.upload,I=>{GA.value=I},{immediate:!0});const NA=c.computed(()=>{const I=d(t.element);return t.element.css=I,I}),zA=(I,y)=>{y.children&&y.children.length&&y.children[0].type===X.Block&&y.children.map(rA=>{rA.rule.flexColumn=I}),r("updateElementRule",y)},FA=c.computed(()=>{let I="";if(t.mode==="design"){const y=t.element;if(y.type===X.Block){const rA=y.rule.flexColumn;rA>1&&rA<=12&&(I+=`flex-basis: calc(100% / ${rA} - 10px);`)}}return I}),kA=c.ref(null);return(I,y)=>{const rA=c.resolveComponent("ElementRenderer",!0);return c.openBlock(),c.createElementBlock(c.Fragment,null,[t.element.type==c.unref(X).Text?(c.openBlock(),c.createBlock(c.resolveDynamicComponent(t.element.tag),c.mergeProps({key:0,class:["relative",A.mode==="design"?" border-dashed border-2":"",A.showMargin?"p-1 m-1":"",s.value?"border-dashed border-blue-500":"",a.value?"border-dashed border-green-500 z-5 border-2":"",o.value?"border-dashed border-red-500":"",(!s.value&&!a.value&&!o.value,""),t.element.rule&&t.element.rule.isReadOnly?"cursor-not-allowed":"",NA.value],style:FA.value},t.element.attrs,{contenteditable:u.value&&t.element.type==c.unref(X).Text&&a.value&&!t.element.rule.isReadOnly&&!t.element.rule.allowWrap,onClick:y[0]||(y[0]=c.withModifiers(()=>C(t.element),["stop"])),onMouseenter:y[1]||(y[1]=()=>U(t.element)),onMouseleave:N,onBlur:_,onInput:m,onPaste:P,onKeydown:c.withModifiers(L,["stop"]),ref_key:"elementRef",ref:kA,innerHTML:n.value}),null,16,["class","style","contenteditable","innerHTML"])):(c.openBlock(),c.createBlock(c.resolveDynamicComponent(t.element.tag),c.mergeProps({key:1,class:["relative",A.mode==="design"?" border-dashed border-2":"",A.showMargin?"p-1 m-1":"",s.value?"border-dashed border-blue-500":"",a.value?"border-dashed border-green-500 z-5 border-2":"",o.value?"border-dashed border-red-500":"",(!s.value&&!a.value&&!o.value,""),t.element.rule&&t.element.rule.isReadOnly?"cursor-not-allowed":"",NA.value],style:FA.value},t.element.attrs,{contenteditable:!1,onClick:y[5]||(y[5]=c.withModifiers(()=>C(t.element),["stop"])),onMouseenter:y[6]||(y[6]=()=>U(t.element)),onMouseleave:N,onBlur:_,onInput:m,onPaste:P,onKeydown:c.withModifiers(L,["stop"]),ref_key:"elementRef",ref:kA}),{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(n.value)+" ",1),t.element.children&&t.element.children.length?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.element.children,(J,CA)=>(c.openBlock(),c.createBlock(rA,{"show-margin":A.showMargin,key:CA,r:A.r,mode:A.mode,icons:A.icons,element:J,selectedElement:t.selectedElement,hoveredElement:t.hoveredElement,cropper:A.cropper,icon:A.icon,upload:A.upload,"upload-by-file":A.uploadByFile,onSelectElement:p,onHoverElement:T,onUpdateText:K,onBlockAction:tA,onAddIcon:pA,onUpdateElementRule:()=>XA(J)},null,8,["show-margin","r","mode","icons","element","selectedElement","hoveredElement","cropper","icon","upload","upload-by-file","onUpdateElementRule"]))),128)),t.element.type===c.unref(X).Block?(c.openBlock(),c.createElementBlock("div",{key:0,"date-action":"1",contenteditable:"false",onClick:y[2]||(y[2]=c.withModifiers(()=>{},["stop"])),class:"hover:z-10 z-9 flex space-x-1 flex-none flex-nowrap overflow-visible absolute left-2 top-2 text-sm"},[c.createElementVNode("button",{class:"flex-none content-center items-center p-1 bg-green-500/80 text-white rounded hover:bg-green-500",onClick:c.withModifiers(k,["stop"])},y[9]||(y[9]=[c.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 512 512"},[c.createElementVNode("rect",{width:"336",height:"336",x:"128",y:"128",fill:"none",stroke:"white","stroke-linejoin":"round","stroke-width":"32",rx:"57",ry:"57"}),c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"m383.5 128l.5-24a56.16 56.16 0 0 0-56-56H112a64.19 64.19 0 0 0-64 64v216a56.16 56.16 0 0 0 56 56h24"})],-1)])),c.createElementVNode("button",{class:"flex-none content-center items-center p-1 bg-blue-500/80 text-white rounded hover:bg-blue-500",onClick:c.withModifiers(AA,["stop"])},y[10]||(y[10]=[c.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 512 512"},[c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"M244 400L100 256l144-144M120 256h292"})],-1)])),c.createElementVNode("button",{class:"flex-none content-center items-center p-1 bg-blue-500/80 text-white rounded hover:bg-blue-500",onClick:c.withModifiers(fA,["stop"])},y[11]||(y[11]=[c.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 512 512"},[c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"m268 112l144 144l-144 144m124-144H100"})],-1)])),c.createElementVNode("button",{class:"flex-none content-center items-center p-1 bg-red-500/80 text-white rounded hover:bg-red-500",onClick:c.withModifiers(q,["stop"])},y[12]||(y[12]=[c.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 512 512"},[c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M400 256H112"})],-1)]))])):c.createCommentVNode("",!0),t.element.children&&t.element.children.length&&t.element.children[0].type===c.unref(X).Block&&t.element.children[0].rule&&t.element.children[0].rule.flexColumns&&t.element.children[0].rule.flexColumns.length>0?(c.openBlock(),c.createElementBlock("div",{key:1,"date-action":"1",contenteditable:"false",onClick:y[3]||(y[3]=c.withModifiers(()=>{},["stop"])),class:"hover:z-10 z-9 flex space-x-1 flex-none flex-nowrap overflow-visible absolute right-0 -top-6 items-center"},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.element.children[0].rule.flexColumns,(J,CA)=>(c.openBlock(),c.createElementBlock("button",{class:c.normalizeClass(["text-xs w-6 h-6 flex-none content-center items-center justify-center bg-purple-400/80 text-white rounded hover:bg-purple-600",t.element.children[0].rule.flexColumn===J?"bg-purple-700":""]),onClick:c.withModifiers(()=>zA(J,t.element),["stop"])},c.toDisplayString(J),11,TE))),256))])):c.createCommentVNode("",!0)],64)):c.createCommentVNode("",!0),t.element.type===c.unref(X).Icon?(c.openBlock(),c.createElementBlock("div",{key:1,class:"cursor-pointer rounded-sm w-5 h-5 flex justify-center items-center absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-sm text-gray-50 z-10 bg-black/80 hover:bg-black",contenteditable:"false",onClick:y[4]||(y[4]=c.withModifiers(()=>oA(t.element),["stop"]))},y[13]||(y[13]=[c.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 512 512"},[c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M320 367.79h76c55 0 100-29.21 100-83.6s-53-81.47-96-83.6c-8.89-85.06-71-136.8-144-136.8c-69 0-113.44 45.79-128 91.2c-60 5.7-112 43.88-112 106.4s54 106.4 120 106.4h56"}),c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"m320 255.79l-64-64l-64 64m64 192.42V207.79"})],-1)]))):c.createCommentVNode("",!0)]),_:1},16,["class","style"])),t.element.type==c.unref(X).Text&&o.value?(c.openBlock(),c.createElementBlock("div",bE,c.toDisplayString(l.value),1)):c.createCommentVNode("",!0),t.element.type===c.unref(X).Image?(c.openBlock(),c.createElementBlock("div",{key:3,class:"cursor-pointer rounded-sm flex justify-center items-center absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-sm text-gray-50 z-10 bg-black/80 hover:bg-black",onClick:y[8]||(y[8]=c.withModifiers(()=>{},["stop"])),contenteditable:"false"},[c.createElementVNode("div",{class:"p-1",onClick:y[7]||(y[7]=c.withModifiers(()=>hA(t.element),["stop"]))},y[14]||(y[14]=[c.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 512 512"},[c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M320 367.79h76c55 0 100-29.21 100-83.6s-53-81.47-96-83.6c-8.89-85.06-71-136.8-144-136.8c-69 0-113.44 45.79-128 91.2c-60 5.7-112 43.88-112 106.4s54 106.4 120 106.4h56"}),c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"m320 255.79l-64-64l-64 64m64 192.42V207.79"})],-1)]))])):c.createCommentVNode("",!0)],64)}}}),[["__scopeId","data-v-2a6431d8"]]),QE=c.defineComponent({name:"GpCheckbox",props:{modelValue:{type:Boolean,required:!0},label:{type:String,default:""}},emits:["update:modelValue"],setup(A,{emit:e}){return{updateValue:r=>{e("update:modelValue",r.target.checked)}}}}),FE={class:"form-group"},IE={class:"flex items-center space-x-2 cursor-pointer"},_E=["checked","aria-checked"],yE={class:"checkbox-label text-sm text-gray-700"};function NE(A,e,t,r,n,a){return c.openBlock(),c.createElementBlock("div",FE,[c.createElementVNode("label",IE,[c.createElementVNode("input",{type:"checkbox",checked:A.modelValue,onChange:e[0]||(e[0]=(...s)=>A.updateValue&&A.updateValue(...s)),class:"custom-checkbox","aria-checked":A.modelValue},null,40,_E),c.createElementVNode("span",yE,c.toDisplayString(A.label),1)])])}const Ut=Re(QE,[["render",NE],["__scopeId","data-v-68b8f276"]]),vE={class:"text-sm"},SE={key:0},xE={key:0},LE={class:"text-gray-500 my-2 truncate"},HE={class:"text-gray-500 my-2 break-words"},DE={key:1},OE={key:2},RE={key:3},ME={key:4},kE={key:5},PE={key:6},KE={key:7},VE={key:8},GE={key:9},YE={key:10},XE={key:11},WE={key:12},JE={key:13},qE=Re(c.defineComponent({__name:"EditorPanel",props:{element:Object},emits:["updateElement"],setup(A,{emit:e}){const t=A,r=e,n=c.ref({rule:{},...t.element});c.watch(()=>t.element,s=>{n.value={rule:{},...s}},{immediate:!0});function a(){var s;if(n.value.type===X.Icon&&!n.value.attrs.class.includes("iconfont")){j.error("图标仅支持 iconfont 图标");return}if(n.value.type===X.Image&&n.value.tag!=="img"){j.error("节点类型错误");return}if(n.value.type===X.Video&&n.value.tag!=="video"){j.error("节点类型错误");return}if(n.value.type===X.Link&&n.value.tag!=="a"){j.error("节点类型错误");return}if(n.value.type===X.Text){if(Number(n.value.rule.minText)>Number(n.value.rule.maxText)){j.error("最小文本长度不能大于最大文本长度");return}if(n.value.tag!=="p"&&n.value.tag!=="div"&&n.value.tag!=="span"&&n.value.tag!=="h1"&&n.value.tag!=="h2"&&n.value.tag!=="h3"&&n.value.tag!=="h4"&&n.value.tag!=="h5"&&n.value.tag!=="h6"){j.error("节点类型错误");return}}if(n.value.type===X.Block){if(Number(n.value.rule.minBlock)>Number(n.value.rule.maxBlock)){j.error("最小块数量不能大于最大块数量");return}if(n.value.tag!=="div"&&n.value.tag!=="section"&&n.value.tag!=="article"&&n.value.tag!=="nav"&&n.value.tag!=="header"&&n.value.tag!=="footer"&&n.value.tag!=="span"&&n.value.tag!=="p"&&n.value.tag!=="img"){j.error("节点类型错误");return}if(!n.value.children||n.value.children.length<1){j.error("节点错误,必须包含子元素");return}!n.value.rule.flexColumn&&((s=n.value.rule.flexColumns)==null?void 0:s.length)>0&&(n.value.rule.flexColumn=n.value.rule.flexColumns[0])}n.value.rule.minText?n.value.rule.minText=Number(n.value.rule.minText):n.value.rule.minText=void 0,n.value.rule.maxText?n.value.rule.maxText=Number(n.value.rule.maxText):n.value.rule.maxText=void 0,n.value.rule.minBlock?n.value.rule.minBlock=Number(n.value.rule.minBlock):n.value.rule.minBlock=void 0,n.value.rule.maxBlock?n.value.rule.maxBlock=Number(n.value.rule.maxBlock):n.value.rule.maxBlock=void 0,n.value.rule.flexColumn?n.value.rule.flexColumn=Number(n.value.rule.flexColumn):n.value.rule.flexColumn=void 0,n.value.rule.mobileFlexColumn?n.value.rule.mobileFlexColumn=Number(n.value.rule.mobileFlexColumn):n.value.rule.mobileFlexColumn=void 0,r("updateElement",n.value)}return(s,u)=>(c.openBlock(),c.createElementBlock("div",vE,[n.value?(c.openBlock(),c.createElementBlock("div",SE,[n.value.text!==void 0?(c.openBlock(),c.createElementBlock("div",xE,[u[16]||(u[16]=c.createElementVNode("label",{class:"block"},"内容",-1)),c.createElementVNode("div",LE,c.toDisplayString(n.value.text||"-"),1)])):c.createCommentVNode("",!0),c.createElementVNode("div",null,[u[17]||(u[17]=c.createElementVNode("label",{class:"block mt-4"},"节点",-1)),c.createElementVNode("div",HE,c.toDisplayString(n.value.xpath),1)]),c.createElementVNode("div",null,[u[19]||(u[19]=c.createElementVNode("label",{class:"block mt-4"},"类型",-1)),c.withDirectives(c.createElementVNode("select",{"onUpdate:modelValue":u[0]||(u[0]=o=>n.value.type=o),class:"border rounded p-1 w-full"},u[18]||(u[18]=[c.createElementVNode("option",{value:0},"无",-1),c.createElementVNode("option",{value:1},"文本",-1),c.createElementVNode("option",{value:2},"图片",-1),c.createElementVNode("option",{value:3},"视频",-1),c.createElementVNode("option",{value:4},"图标",-1),c.createElementVNode("option",{value:5},"链接",-1),c.createElementVNode("option",{value:6},"按钮",-1),c.createElementVNode("option",{value:10},"块",-1)]),512),[[c.vModelSelect,n.value.type]])]),n.value.type==c.unref(X).Text?(c.openBlock(),c.createElementBlock("div",DE,[u[20]||(u[20]=c.createElementVNode("label",{class:"block mt-4"},"最小文本长度",-1)),c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":u[1]||(u[1]=o=>n.value.rule.minText=o),class:"border rounded p-1 w-full"},null,512),[[c.vModelText,n.value.rule.minText]])])):c.createCommentVNode("",!0),n.value.type==c.unref(X).Text?(c.openBlock(),c.createElementBlock("div",OE,[u[21]||(u[21]=c.createElementVNode("label",{class:"block mt-4"},"最大文本长度",-1)),c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":u[2]||(u[2]=o=>n.value.rule.maxText=o),class:"border rounded p-1 w-full"},null,512),[[c.vModelText,n.value.rule.maxText]])])):c.createCommentVNode("",!0),n.value.type==c.unref(X).Image?(c.openBlock(),c.createElementBlock("div",RE,[u[22]||(u[22]=c.createElementVNode("label",{class:"block mt-4"},"是否裁剪",-1)),c.createVNode(Ut,{class:"py-2",modelValue:n.value.rule.crop,"onUpdate:modelValue":u[3]||(u[3]=o=>n.value.rule.crop=o),label:"是"},null,8,["modelValue"])])):c.createCommentVNode("",!0),n.value.type==c.unref(X).Image?(c.openBlock(),c.createElementBlock("div",ME,[u[23]||(u[23]=c.createElementVNode("label",{class:"block mt-4"},"图片宽度",-1)),c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":u[4]||(u[4]=o=>n.value.rule.minImageWidth=o),class:"border rounded p-1 w-full"},null,512),[[c.vModelText,n.value.rule.minImageWidth]])])):c.createCommentVNode("",!0),n.value.type==c.unref(X).Image?(c.openBlock(),c.createElementBlock("div",kE,[u[24]||(u[24]=c.createElementVNode("label",{class:"block mt-4"},"图片高度",-1)),c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":u[5]||(u[5]=o=>n.value.rule.maxImageHeight=o),class:"border rounded p-1 w-full"},null,512),[[c.vModelText,n.value.rule.maxImageHeight]])])):c.createCommentVNode("",!0),n.value.type==c.unref(X).Block?(c.openBlock(),c.createElementBlock("div",PE,[u[25]||(u[25]=c.createElementVNode("label",{class:"block mt-4"},"块最小数量",-1)),c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":u[6]||(u[6]=o=>n.value.rule.minBlock=o),class:"border rounded p-1 w-full"},null,512),[[c.vModelText,n.value.rule.minBlock]])])):c.createCommentVNode("",!0),n.value.type==c.unref(X).Block?(c.openBlock(),c.createElementBlock("div",KE,[u[26]||(u[26]=c.createElementVNode("label",{class:"block mt-4"},"块最大数量",-1)),c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":u[7]||(u[7]=o=>n.value.rule.maxBlock=o),class:"border rounded p-1 w-full"},null,512),[[c.vModelText,n.value.rule.maxBlock]])])):c.createCommentVNode("",!0),n.value.type==c.unref(X).Block?(c.openBlock(),c.createElementBlock("div",VE,[u[28]||(u[28]=c.createElementVNode("label",{class:"block mt-4"},"PC端每行列数",-1)),c.withDirectives(c.createElementVNode("select",{multiple:"","onUpdate:modelValue":u[8]||(u[8]=o=>n.value.rule.flexColumns=o),class:"border rounded p-1 w-full h-32"},u[27]||(u[27]=[c.createElementVNode("option",{value:1},"1",-1),c.createElementVNode("option",{value:2},"2",-1),c.createElementVNode("option",{value:3},"3",-1),c.createElementVNode("option",{value:4},"4",-1),c.createElementVNode("option",{value:5},"5",-1),c.createElementVNode("option",{value:6},"6",-1),c.createElementVNode("option",{value:7},"7",-1),c.createElementVNode("option",{value:8},"8",-1),c.createElementVNode("option",{value:9},"9",-1),c.createElementVNode("option",{value:10},"10",-1),c.createElementVNode("option",{value:11},"11",-1),c.createElementVNode("option",{value:12},"12",-1)]),512),[[c.vModelSelect,n.value.rule.flexColumns]])])):c.createCommentVNode("",!0),n.value.type==c.unref(X).Block?(c.openBlock(),c.createElementBlock("div",GE,[u[30]||(u[30]=c.createElementVNode("label",{class:"block mt-4"},"移动端每行列数",-1)),c.withDirectives(c.createElementVNode("select",{"onUpdate:modelValue":u[9]||(u[9]=o=>n.value.rule.mobileFlexColumn=o),class:"border rounded p-1 w-full"},u[29]||(u[29]=[c.createElementVNode("option",{value:void 0},"无(轮播)",-1),c.createElementVNode("option",{value:1},"1",-1),c.createElementVNode("option",{value:2},"2",-1),c.createElementVNode("option",{value:3},"3",-1),c.createElementVNode("option",{value:4},"4",-1),c.createElementVNode("option",{value:5},"5",-1),c.createElementVNode("option",{value:6},"6",-1)]),512),[[c.vModelSelect,n.value.rule.mobileFlexColumn]])])):c.createCommentVNode("",!0),n.value.type==c.unref(X).Text||n.value.type==c.unref(X).Icon||n.value.type==c.unref(X).Button?(c.openBlock(),c.createElementBlock("div",YE,[u[31]||(u[31]=c.createElementVNode("label",{class:"block mt-4"},"主题色",-1)),c.createVNode(Ut,{class:"py-2",modelValue:n.value.rule.isThemeColor,"onUpdate:modelValue":u[10]||(u[10]=o=>n.value.rule.isThemeColor=o),label:"是"},null,8,["modelValue"])])):c.createCommentVNode("",!0),c.createElementVNode("div",null,[u[32]||(u[32]=c.createElementVNode("label",{class:"block mt-4"},"是否必填",-1)),c.createVNode(Ut,{class:"py-2",modelValue:n.value.rule.isRequired,"onUpdate:modelValue":u[11]||(u[11]=o=>n.value.rule.isRequired=o),label:"是"},null,8,["modelValue"])]),c.createElementVNode("div",null,[u[33]||(u[33]=c.createElementVNode("label",{class:"block mt-4"},"是否只读",-1)),c.createVNode(Ut,{class:"py-2",modelValue:n.value.rule.isReadOnly,"onUpdate:modelValue":u[12]||(u[12]=o=>n.value.rule.isReadOnly=o),label:"是"},null,8,["modelValue"])]),n.value.type==c.unref(X).Link||n.value.type==c.unref(X).Button?(c.openBlock(),c.createElementBlock("div",XE,[u[34]||(u[34]=c.createElementVNode("label",{class:"block mt-4"},"打开美洽",-1)),c.createVNode(Ut,{class:"py-2",modelValue:n.value.rule.openMeiqia,"onUpdate:modelValue":u[13]||(u[13]=o=>n.value.rule.openMeiqia=o),label:"是"},null,8,["modelValue"])])):c.createCommentVNode("",!0),n.value.type==c.unref(X).Link||n.value.type==c.unref(X).Button?(c.openBlock(),c.createElementBlock("div",WE,[u[35]||(u[35]=c.createElementVNode("label",{class:"block mt-4"},"链接",-1)),c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":u[14]||(u[14]=o=>n.value.rule.linkUrl=o),class:"border rounded p-1 w-full"},null,512),[[c.vModelText,n.value.rule.linkUrl]])])):c.createCommentVNode("",!0),n.value.type==c.unref(X).Text?(c.openBlock(),c.createElementBlock("div",JE,[u[36]||(u[36]=c.createElementVNode("label",{class:"block mt-4"},"允许换行(回车/粘贴多段文本等)",-1)),c.createVNode(Ut,{class:"py-2",modelValue:n.value.rule.allowWrap,"onUpdate:modelValue":u[15]||(u[15]=o=>n.value.rule.allowWrap=o),label:"是"},null,8,["modelValue"])])):c.createCommentVNode("",!0)])):c.createCommentVNode("",!0),c.createElementVNode("button",{onClick:a,class:"mt-4 p-2 bg-green-500 text-white rounded"}," 保存 ")]))}}),[["__scopeId","data-v-a7d2f78b"]]);/*!
6
+ )`,enabled:":not(:disabled)",checked:":is(:is(input[type=radio], input[type=checkbox])[checked], option:selected)",required:":is(input, select, textarea)[required]",optional:":is(input, select, textarea):not([required])",selected:"option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)",checkbox:"[type=checkbox]",file:"[type=file]",password:"[type=password]",radio:"[type=radio]",reset:"[type=reset]",image:"[type=image]",submit:"[type=submit]",parent:":not(:empty)",header:":is(h1, h2, h3, h4, h5, h6)",button:":is(button, input[type=button])",input:":is(input, textarea, select, button)",text:"input:is(:not([type!='']), [type=text])"},nu={};function Pf(A,e){return A===$.falseFunc?$.falseFunc:t=>e.isTag(t)&&A(t)}function au(A,e){const t=e.getSiblings(A);if(t.length<=1)return[];const r=t.indexOf(A);return r<0||r===t.length-1?[]:t.slice(r+1).filter(e.isTag)}function Oa(A){return{xmlMode:!!A.xmlMode,lowerCaseAttributeNames:!!A.lowerCaseAttributeNames,lowerCaseTags:!!A.lowerCaseTags,quirksMode:!!A.quirksMode,cacheResults:!!A.cacheResults,pseudos:A.pseudos,adapter:A.adapter,equals:A.equals}}const Ra=(A,e,t,r,n)=>{const a=n(e,Oa(t),r);return a===$.trueFunc?A:a===$.falseFunc?$.falseFunc:s=>a(s)&&A(s)},Ma={is:Ra,matches:Ra,where:Ra,not(A,e,t,r,n){const a=n(e,Oa(t),r);return a===$.falseFunc?A:a===$.trueFunc?$.falseFunc:s=>!a(s)&&A(s)},has(A,e,t,r,n){const{adapter:a}=t,s=Oa(t);s.relativeSelector=!0;const u=e.some(f=>f.some(La))?[nu]:void 0,o=n(e,s,u);if(o===$.falseFunc)return $.falseFunc;const l=Pf(o,a);if(u&&o!==$.trueFunc){const{shouldTestNextSiblings:f=!1}=o;return h=>{if(!A(h))return!1;u[0]=h;const d=a.getChildren(h),C=f?[...d,...au(h,a)]:d;return a.existsOne(l,C)}}return f=>A(f)&&a.existsOne(l,a.getChildren(f))}};function Kf(A,e,t,r,n){var a;const{name:s,data:u}=e;if(Array.isArray(u)){if(!(s in Ma))throw new Error(`Unknown pseudo-class :${s}(${u})`);return Ma[s](A,u,t,r,n)}const o=(a=t.pseudos)===null||a===void 0?void 0:a[s],l=typeof o=="string"?o:kf[s];if(typeof l=="string"){if(u!=null)throw new Error(`Pseudo ${s} doesn't have any arguments`);const f=$r(l);return Ma.is(A,f,t,r,n)}if(typeof o=="function")return ru(o,s,u,1),f=>o(f,u)&&A(f);if(s in Ha)return Ha[s](A,u,t,r);if(s in tu){const f=tu[s];return ru(f,s,u,2),h=>f(h,t,u)&&A(h)}throw new Error(`Unknown pseudo-class :${s}`)}function ka(A,e){const t=e.getParent(A);return t&&e.isTag(t)?t:null}function Vf(A,e,t,r,n){const{adapter:a,equals:s}=t;switch(e.type){case G.PseudoElement:throw new Error("Pseudo-elements are not supported by css-select");case G.ColumnCombinator:throw new Error("Column combinators are not yet supported by css-select");case G.Attribute:{if(e.namespace!=null)throw new Error("Namespaced attributes are not yet supported by css-select");return(!t.xmlMode||t.lowerCaseAttributeNames)&&(e.name=e.name.toLowerCase()),Hf[e.action](A,e,t)}case G.Pseudo:return Kf(A,e,t,r,n);case G.Tag:{if(e.namespace!=null)throw new Error("Namespaced tag names are not yet supported by css-select");let{name:u}=e;return(!t.xmlMode||t.lowerCaseTags)&&(u=u.toLowerCase()),function(l){return a.getName(l)===u&&A(l)}}case G.Descendant:{if(t.cacheResults===!1||typeof WeakSet>"u")return function(l){let f=l;for(;f=ka(f,a);)if(A(f))return!0;return!1};const u=new WeakSet;return function(l){let f=l;for(;f=ka(f,a);)if(!u.has(f)){if(a.isTag(f)&&A(f))return!0;u.add(f)}return!1}}case"_flexibleDescendant":return function(o){let l=o;do if(A(l))return!0;while(l=ka(l,a));return!1};case G.Parent:return function(o){return a.getChildren(o).some(l=>a.isTag(l)&&A(l))};case G.Child:return function(o){const l=a.getParent(o);return l!=null&&a.isTag(l)&&A(l)};case G.Sibling:return function(o){const l=a.getSiblings(o);for(let f=0;f<l.length;f++){const h=l[f];if(s(o,h))break;if(a.isTag(h)&&A(h))return!0}return!1};case G.Adjacent:return a.prevElementSibling?function(o){const l=a.prevElementSibling(o);return l!=null&&A(l)}:function(o){const l=a.getSiblings(o);let f;for(let h=0;h<l.length;h++){const d=l[h];if(s(o,d))break;a.isTag(d)&&(f=d)}return!!f&&A(f)};case G.Universal:{if(e.namespace!=null&&e.namespace!=="*")throw new Error("Namespaced universal selectors are not yet supported by css-select");return A}}}function su(A){return A.type===G.Pseudo&&(A.name==="scope"||Array.isArray(A.data)&&A.data.some(e=>e.some(su)))}const Gf={type:G.Descendant},Yf={type:"_flexibleDescendant"},Xf={type:G.Pseudo,name:"scope",data:null};function Wf(A,{adapter:e},t){const r=!!(t!=null&&t.every(n=>{const a=e.isTag(n)&&e.getParent(n);return n===nu||a&&e.isTag(a)}));for(const n of A){if(!(n.length>0&&La(n[0])&&n[0].type!==G.Descendant))if(r&&!n.some(su))n.unshift(Gf);else continue;n.unshift(Xf)}}function iu(A,e,t){var r;A.forEach(Sf),t=(r=e.context)!==null&&r!==void 0?r:t;const n=Array.isArray(t),a=t&&(Array.isArray(t)?t:[t]);if(e.relativeSelector!==!1)Wf(A,e,a);else if(A.some(o=>o.length>0&&La(o[0])))throw new Error("Relative selectors are not allowed when the `relativeSelector` option is disabled");let s=!1;const u=A.map(o=>{if(o.length>=2){const[l,f]=o;l.type!==G.Pseudo||l.name!=="scope"||(n&&f.type===G.Descendant?o[1]=Yf:(f.type===G.Adjacent||f.type===G.Sibling)&&(s=!0))}return Jf(o,e,a)}).reduce(qf,$.falseFunc);return u.shouldTestNextSiblings=s,u}function Jf(A,e,t){var r;return A.reduce((n,a)=>n===$.falseFunc?$.falseFunc:Vf(n,a,e,t,iu),(r=e.rootFunc)!==null&&r!==void 0?r:$.trueFunc)}function qf(A,e){return e===$.falseFunc||A===$.trueFunc?A:A===$.falseFunc||e===$.trueFunc?e:function(r){return A(r)||e(r)}}const uu=(A,e)=>A===e,jf={adapter:Jr,equals:uu};function $f(A){var e,t,r,n;const a=A??jf;return(e=a.adapter)!==null&&e!==void 0||(a.adapter=Jr),(t=a.equals)!==null&&t!==void 0||(a.equals=(n=(r=a.adapter)===null||r===void 0?void 0:r.equals)!==null&&n!==void 0?n:uu),a}function Zf(A){return function(t,r,n){const a=$f(r);return A(t,a,n)}}const Pa=Zf(iu);function ou(A,e,t=!1){return t&&(A=zf(A,e)),Array.isArray(A)?e.removeSubsets(A):e.getChildren(A)}function zf(A,e){const t=Array.isArray(A)?A.slice(0):[A],r=t.length;for(let n=0;n<r;n++){const a=au(t[n],e);t.push(...a)}return t}const Ah=new Set(["first","last","eq","gt","nth","lt","even","odd"]);function en(A){return A.type!=="pseudo"?!1:Ah.has(A.name)?!0:A.name==="not"&&Array.isArray(A.data)?A.data.some(e=>e.some(en)):!1}function eh(A,e,t){const r=e!=null?parseInt(e,10):NaN;switch(A){case"first":return 1;case"nth":case"eq":return isFinite(r)?r>=0?r+1:1/0:0;case"lt":return isFinite(r)?r>=0?Math.min(r,t):1/0:0;case"gt":return isFinite(r)?1/0:0;case"odd":return 2*t;case"even":return 2*t-1;case"last":case"not":return 1/0}}function th(A){for(;A.parent;)A=A.parent;return A}function Ka(A){const e=[],t=[];for(const r of A)r.some(en)?e.push(r):t.push(r);return[t,e]}const rh={type:G.Universal,namespace:null},nh={type:G.Pseudo,name:"scope",data:null};function cu(A,e,t={}){return lu([A],e,t)}function lu(A,e,t={}){if(typeof e=="function")return A.some(e);const[r,n]=Ka($r(e));return r.length>0&&A.some(Pa(r,t))||n.some(a=>du(a,A,t).length>0)}function ah(A,e,t,r){const n=typeof t=="string"?parseInt(t,10):NaN;switch(A){case"first":case"lt":return e;case"last":return e.length>0?[e[e.length-1]]:e;case"nth":case"eq":return isFinite(n)&&Math.abs(n)<e.length?[n<0?e[e.length+n]:e[n]]:[];case"gt":return isFinite(n)?e.slice(n+1):[];case"even":return e.filter((a,s)=>s%2===0);case"odd":return e.filter((a,s)=>s%2===1);case"not":{const a=new Set(hu(t,e,r));return e.filter(s=>!a.has(s))}}}function fu(A,e,t={}){return hu($r(A),e,t)}function hu(A,e,t){if(e.length===0)return[];const[r,n]=Ka(A);let a;if(r.length){const s=Ga(e,r,t);if(n.length===0)return s;s.length&&(a=new Set(s))}for(let s=0;s<n.length&&(a==null?void 0:a.size)!==e.length;s++){const u=n[s];if((a?e.filter(f=>W(f)&&!a.has(f)):e).length===0)break;const l=du(u,e,t);if(l.length)if(a)l.forEach(f=>a.add(f));else{if(s===n.length-1)return l;a=new Set(l)}}return typeof a<"u"?a.size===e.length?e:e.filter(s=>a.has(s)):[]}function du(A,e,t){var r;if(A.some(qt)){const n=(r=t.root)!==null&&r!==void 0?r:th(e[0]),a={...t,context:e,relativeSelector:!1};return A.push(nh),tn(n,A,a,!0,e.length)}return tn(e,A,t,!1,e.length)}function sh(A,e,t={},r=1/0){if(typeof A=="function")return Bu(e,A);const[n,a]=Ka($r(A)),s=a.map(u=>tn(e,u,t,!0,r));return n.length&&s.push(Va(e,n,t,r)),s.length===0?[]:s.length===1?s[0]:Ct(s.reduce((u,o)=>[...u,...o]))}function tn(A,e,t,r,n){const a=e.findIndex(en),s=e.slice(0,a),u=e[a],o=e.length-1===a?n:1/0,l=eh(u.name,u.data,o);if(l===0)return[];const h=(s.length===0&&!Array.isArray(A)?Gr(A).filter(W):s.length===0?(Array.isArray(A)?A:[A]).filter(W):r||s.some(qt)?Va(A,[s],t,l):Ga(A,[s],t)).slice(0,l);let d=ah(u.name,h,u.data,t);if(d.length===0||e.length===a+1)return d;const C=e.slice(a+1),m=C.some(qt);if(m){if(qt(C[0])){const{type:T}=C[0];(T===G.Sibling||T===G.Adjacent)&&(d=ou(d,Jr,!0)),C.unshift(rh)}t={...t,relativeSelector:!1,rootFunc:T=>d.includes(T)}}else t.rootFunc&&t.rootFunc!==Zr.trueFunc&&(t={...t,rootFunc:Zr.trueFunc});return C.some(en)?tn(d,C,t,!1,n):m?Va(d,[C],t,n):Ga(d,[C],t)}function Va(A,e,t,r){const n=Pa(e,t,A);return Bu(A,n,r)}function Bu(A,e,t=1/0){const r=ou(A,Jr,e.shouldTestNextSiblings);return Fa(n=>W(n)&&e(n),r,!0,t)}function Ga(A,e,t){const r=(Array.isArray(A)?A:[A]).filter(W);if(r.length===0)return r;const n=Pa(e,t);return n===Zr.trueFunc?r:r.filter(n)}const ih=/^\s*[+~]/;function uh(A){if(!A)return this._make([]);if(typeof A!="string"){const e=Fe(A)?A.toArray():[A],t=this.toArray();return this._make(e.filter(r=>t.some(n=>ki(n,r))))}return this._findBySelector(A,Number.POSITIVE_INFINITY)}function oh(A,e){var t;const r=this.toArray(),n=ih.test(A)?r:this.children().toArray(),a={context:r,root:(t=this._root)===null||t===void 0?void 0:t[0],xmlMode:this.options.xmlMode,lowerCaseTags:this.options.lowerCaseTags,lowerCaseAttributeNames:this.options.lowerCaseAttributeNames,pseudos:this.options.pseudos,quirksMode:this.options.quirksMode};return this._make(sh(A,n,a,e))}function Ya(A){return function(e,...t){return function(r){var n;let a=A(e,this);return r&&(a=Ja(a,r,this.options.xmlMode,(n=this._root)===null||n===void 0?void 0:n[0])),this._make(this.length>1&&a.length>1?t.reduce((s,u)=>u(s),a):a)}}}const $t=Ya((A,e)=>{let t=[];for(let r=0;r<e.length;r++){const n=A(e[r]);n.length>0&&(t=t.concat(n))}return t}),Xa=Ya((A,e)=>{const t=[];for(let r=0;r<e.length;r++){const n=A(e[r]);n!==null&&t.push(n)}return t});function Wa(A,...e){let t=null;const r=Ya((n,a)=>{const s=[];return mA(a,u=>{for(let o;(o=n(u))&&!(t!=null&&t(o,s.length));u=o)s.push(o)}),s})(A,...e);return function(n,a){t=typeof n=="string"?u=>cu(u,n,this.options):n?Zt(n):null;const s=r.call(this,a);return t=null,s}}function Tt(A){return A.length>1?Array.from(new Set(A)):A}const ch=Xa(({parent:A})=>A&&!Le(A)?A:null,Tt),lh=$t(A=>{const e=[];for(;A.parent&&!Le(A.parent);)e.push(A.parent),A=A.parent;return e},Ct,A=>A.reverse()),fh=Wa(({parent:A})=>A&&!Le(A)?A:null,Ct,A=>A.reverse());function hh(A){var e;const t=[];if(!A)return this._make(t);const r={xmlMode:this.options.xmlMode,root:(e=this._root)===null||e===void 0?void 0:e[0]},n=typeof A=="string"?a=>cu(a,A,r):Zt(A);return mA(this,a=>{for(a&&!Le(a)&&!W(a)&&(a=a.parent);a&&W(a);){if(n(a,0)){t.includes(a)||t.push(a);break}a=a.parent}}),this._make(t)}const dh=Xa(A=>Ua(A)),Bh=$t(A=>{const e=[];for(;A.next;)A=A.next,W(A)&&e.push(A);return e},Tt),gh=Wa(A=>Ua(A),Tt),Eh=Xa(A=>Qa(A)),ph=$t(A=>{const e=[];for(;A.prev;)A=A.prev,W(A)&&e.push(A);return e},Tt),mh=Wa(A=>Qa(A),Tt),Ch=$t(A=>xi(A).filter(e=>W(e)&&e!==A),Ct),wh=$t(A=>Gr(A).filter(W),Tt);function Th(){const A=this.toArray().reduce((e,t)=>SA(t)?e.concat(t.children):e,[]);return this._make(A)}function bh(A){let e=0;const t=this.length;for(;e<t&&A.call(this[e],e,this[e])!==!1;)++e;return this}function Uh(A){let e=[];for(let t=0;t<this.length;t++){const r=this[t],n=A.call(r,t,r);n!=null&&(e=e.concat(n))}return this._make(e)}function Zt(A){return typeof A=="function"?(e,t)=>A.call(e,t,e):Fe(A)?e=>Array.prototype.includes.call(A,e):function(e){return A===e}}function Qh(A){var e;return this._make(Ja(this.toArray(),A,this.options.xmlMode,(e=this._root)===null||e===void 0?void 0:e[0]))}function Ja(A,e,t,r){return typeof e=="string"?fu(e,A,{xmlMode:t,root:r}):A.filter(Zt(e))}function Fh(A){const e=this.toArray();return typeof A=="string"?lu(e.filter(W),A,this.options):A?e.some(Zt(A)):!1}function Ih(A){let e=this.toArray();if(typeof A=="string"){const t=new Set(fu(A,e,this.options));e=e.filter(r=>!t.has(r))}else{const t=Zt(A);e=e.filter((r,n)=>!t(r,n))}return this._make(e)}function _h(A){return this.filter(typeof A=="string"?`:has(${A})`:(e,t)=>this._make(t).find(A).length>0)}function yh(){return this.length>1?this._make(this[0]):this}function Nh(){return this.length>0?this._make(this[this.length-1]):this}function vh(A){var e;return A=+A,A===0&&this.length<=1?this:(A<0&&(A=this.length+A),this._make((e=this[A])!==null&&e!==void 0?e:[]))}function Sh(A){return A==null?this.toArray():this[A<0?this.length+A:A]}function xh(){return Array.prototype.slice.call(this)}function Lh(A){let e,t;return A==null?(e=this.parent().children(),t=this[0]):typeof A=="string"?(e=this._make(A),t=this[0]):(e=this,t=Fe(A)?A[0]:A),Array.prototype.indexOf.call(e,t)}function Hh(A,e){return this._make(Array.prototype.slice.call(this,A,e))}function Dh(){var A;return(A=this.prevObject)!==null&&A!==void 0?A:this._make([])}function Oh(A,e){const t=this._make(A,e),r=Ct([...this.get(),...t.get()]);return this._make(r)}function Rh(A){return this.prevObject?this.add(A?this.prevObject.filter(A):this.prevObject):this}const Mh=Object.freeze(Object.defineProperty({__proto__:null,_findBySelector:oh,add:Oh,addBack:Rh,children:wh,closest:hh,contents:Th,each:bh,end:Dh,eq:vh,filter:Qh,filterArray:Ja,find:uh,first:yh,get:Sh,has:_h,index:Lh,is:Fh,last:Nh,map:Uh,next:dh,nextAll:Bh,nextUntil:gh,not:Ih,parent:ch,parents:lh,parentsUntil:fh,prev:Eh,prevAll:ph,prevUntil:mh,siblings:Ch,slice:Hh,toArray:xh},Symbol.toStringTag,{value:"Module"}));function kh(A){return function(t,r,n,a){if(typeof Buffer<"u"&&Buffer.isBuffer(t)&&(t=t.toString()),typeof t=="string")return A(t,r,n,a);const s=t;if(!Array.isArray(s)&&Le(s))return s;const u=new et([]);return at(s,u),u}}function at(A,e){const t=Array.isArray(A)?A:[A];e?e.children=t:e=null;for(let r=0;r<t.length;r++){const n=t[r];n.parent&&n.parent.children!==t&&tt(n),e?(n.prev=t[r-1]||null,n.next=t[r+1]||null):n.prev=n.next=null,n.parent=e}return e}function Ph(A,e){if(A==null)return[];if(typeof A=="string")return this._parse(A,this.options,!1,null).children.slice(0);if("length"in A){if(A.length===1)return this._makeDomArray(A[0],e);const t=[];for(let r=0;r<A.length;r++){const n=A[r];if(typeof n=="object"){if(n==null)continue;if(!("length"in n)){t.push(e?Yt(n,!0):n);continue}}t.push(...this._makeDomArray(n,e))}return t}return[e?Yt(A,!0):A]}function gu(A){return function(...e){const t=this.length-1;return mA(this,(r,n)=>{if(!SA(r))return;const a=typeof e[0]=="function"?e[0].call(r,n,this._render(r.children)):e,s=this._makeDomArray(a,n<t);A(s,r.children,r)})}}function Oe(A,e,t,r,n){var a,s;const u=[e,t,...r],o=e===0?null:A[e-1],l=e+t>=A.length?null:A[e+t];for(let f=0;f<r.length;++f){const h=r[f],d=h.parent;if(d){const m=d.children.indexOf(h);m>-1&&(d.children.splice(m,1),n===d&&e>m&&u[0]--)}h.parent=n,h.prev&&(h.prev.next=(a=h.next)!==null&&a!==void 0?a:null),h.next&&(h.next.prev=(s=h.prev)!==null&&s!==void 0?s:null),h.prev=f===0?o:r[f-1],h.next=f===r.length-1?l:r[f+1]}return o&&(o.next=r[0]),l&&(l.prev=r[r.length-1]),A.splice(...u)}function Kh(A){return(Fe(A)?A:this._make(A)).append(this),this}function Vh(A){return(Fe(A)?A:this._make(A)).prepend(this),this}const Gh=gu((A,e,t)=>{Oe(e,e.length,0,A,t)}),Yh=gu((A,e,t)=>{Oe(e,0,0,A,t)});function Eu(A){return function(e){const t=this.length-1,r=this.parents().last();for(let n=0;n<this.length;n++){const a=this[n],s=typeof e=="function"?e.call(a,n,a):typeof e=="string"&&!ya(e)?r.find(e).clone():e,[u]=this._makeDomArray(s,n<t);if(!u||!SA(u))continue;let o=u,l=0;for(;l<o.children.length;){const f=o.children[l];W(f)?(o=f,l=0):l++}A(a,o,[u])}return this}}const Xh=Eu((A,e,t)=>{const{parent:r}=A;if(!r)return;const n=r.children,a=n.indexOf(A);at([A],e),Oe(n,a,0,t,r)}),Wh=Eu((A,e,t)=>{SA(A)&&(at(A.children,e),at(t,A))});function Jh(A){return this.parent(A).not("body").each((e,t)=>{this._make(t).replaceWith(t.children)}),this}function qh(A){const e=this[0];if(e){const t=this._make(typeof A=="function"?A.call(e,0,e):A).insertBefore(e);let r;for(let a=0;a<t.length;a++)t[a].type==="tag"&&(r=t[a]);let n=0;for(;r&&n<r.children.length;){const a=r.children[n];a.type==="tag"?(r=a,n=0):n++}r&&this._make(r).append(this)}return this}function jh(...A){const e=this.length-1;return mA(this,(t,r)=>{if(!SA(t)||!t.parent)return;const n=t.parent.children,a=n.indexOf(t);if(a<0)return;const s=typeof A[0]=="function"?A[0].call(t,r,this._render(t.children)):A,u=this._makeDomArray(s,r<e);Oe(n,a+1,0,u,t.parent)})}function $h(A){typeof A=="string"&&(A=this._make(A)),this.remove();const e=[];for(const t of this._makeDomArray(A)){const r=this.clone().toArray(),{parent:n}=t;if(!n)continue;const a=n.children,s=a.indexOf(t);s<0||(Oe(a,s+1,0,r,n),e.push(...r))}return this._make(e)}function Zh(...A){const e=this.length-1;return mA(this,(t,r)=>{if(!SA(t)||!t.parent)return;const n=t.parent.children,a=n.indexOf(t);if(a<0)return;const s=typeof A[0]=="function"?A[0].call(t,r,this._render(t.children)):A,u=this._makeDomArray(s,r<e);Oe(n,a,0,u,t.parent)})}function zh(A){const e=this._make(A);this.remove();const t=[];return mA(e,r=>{const n=this.clone().toArray(),{parent:a}=r;if(!a)return;const s=a.children,u=s.indexOf(r);u<0||(Oe(s,u,0,n,a),t.push(...n))}),this._make(t)}function Ad(A){const e=A?this.filter(A):this;return mA(e,t=>{tt(t),t.prev=t.next=t.parent=null}),this}function ed(A){return mA(this,(e,t)=>{const{parent:r}=e;if(!r)return;const n=r.children,a=typeof A=="function"?A.call(e,t,e):A,s=this._makeDomArray(a);at(s,null);const u=n.indexOf(e);Oe(n,u,1,s,r),s.includes(e)||(e.parent=e.prev=e.next=null)})}function td(){return mA(this,A=>{if(SA(A)){for(const e of A.children)e.next=e.prev=e.parent=null;A.children.length=0}})}function rd(A){if(A===void 0){const e=this[0];return!e||!SA(e)?null:this._render(e.children)}return mA(this,e=>{if(!SA(e))return;for(const r of e.children)r.next=r.prev=r.parent=null;const t=Fe(A)?A.toArray():this._parse(`${A}`,this.options,!1,e).children;at(t,e)})}function nd(){return this._render(this)}function ad(A){return A===void 0?Xt(this):typeof A=="function"?mA(this,(e,t)=>this._make(e).text(A.call(e,t,Xt([e])))):mA(this,e=>{if(!SA(e))return;for(const r of e.children)r.next=r.prev=r.parent=null;const t=new Gt(`${A}`);at(t,e)})}function sd(){const A=Array.prototype.map.call(this.get(),t=>Yt(t,!0)),e=new et(A);for(const t of A)t.parent=e;return this._make(A)}const id=Object.freeze(Object.defineProperty({__proto__:null,_makeDomArray:Ph,after:jh,append:Gh,appendTo:Kh,before:Zh,clone:sd,empty:td,html:rd,insertAfter:$h,insertBefore:zh,prepend:Yh,prependTo:Vh,remove:Ad,replaceWith:ed,text:ad,toString:nd,unwrap:Jh,wrap:Xh,wrapAll:qh,wrapInner:Wh},Symbol.toStringTag,{value:"Module"}));function ud(A,e){if(A!=null&&e!=null||typeof A=="object"&&!Array.isArray(A))return mA(this,(t,r)=>{W(t)&&pu(t,A,e,r)});if(this.length!==0)return mu(this[0],A)}function pu(A,e,t,r){if(typeof e=="string"){const n=mu(A),a=typeof t=="function"?t.call(A,r,n[e]):t;a===""?delete n[e]:a!=null&&(n[e]=a),A.attribs.style=od(n)}else if(typeof e=="object"){const n=Object.keys(e);for(let a=0;a<n.length;a++){const s=n[a];pu(A,s,e[s],a)}}}function mu(A,e){if(!A||!W(A))return;const t=cd(A.attribs.style);if(typeof e=="string")return t[e];if(Array.isArray(e)){const r={};for(const n of e)t[n]!=null&&(r[n]=t[n]);return r}return t}function od(A){return Object.keys(A).reduce((e,t)=>`${e}${e?" ":""}${t}: ${A[t]};`,"")}function cd(A){if(A=(A||"").trim(),!A)return{};const e={};let t;for(const r of A.split(";")){const n=r.indexOf(":");if(n<1||n===r.length-1){const a=r.trimEnd();a.length>0&&t!==void 0&&(e[t]+=`;${a}`)}else t=r.slice(0,n).trim(),e[t]=r.slice(n+1).trim()}return e}const ld=Object.freeze(Object.defineProperty({__proto__:null,css:ud},Symbol.toStringTag,{value:"Module"})),Cu="input,select,textarea,keygen",fd=/%20/g,wu=/\r?\n/g;function hd(){return this.serializeArray().map(t=>`${encodeURIComponent(t.name)}=${encodeURIComponent(t.value)}`).join("&").replace(fd,"+")}function dd(){return this.map((A,e)=>{const t=this._make(e);return W(e)&&e.name==="form"?t.find(Cu).toArray():t.filter(Cu).toArray()}).filter('[name!=""]:enabled:not(:submit, :button, :image, :reset, :file):matches([checked], :not(:checkbox, :radio))').map((A,e)=>{var t;const r=this._make(e),n=r.attr("name"),a=(t=r.val())!==null&&t!==void 0?t:"";return Array.isArray(a)?a.map(s=>({name:n,value:s.replace(wu,`\r
7
+ `)})):{name:n,value:a.replace(wu,`\r
8
+ `)}}).toArray()}const Bd=Object.freeze(Object.defineProperty({__proto__:null,serialize:hd,serializeArray:dd},Symbol.toStringTag,{value:"Module"}));function gd(A){var e;return typeof A=="string"?{selector:A,value:"textContent"}:{selector:A.selector,value:(e=A.value)!==null&&e!==void 0?e:"textContent"}}function Ed(A){const e={};for(const t in A){const r=A[t],n=Array.isArray(r),{selector:a,value:s}=gd(n?r[0]:r),u=typeof s=="function"?s:typeof s=="string"?o=>this._make(o).prop(s):o=>this._make(o).extract(s);if(n)e[t]=this._findBySelector(a,Number.POSITIVE_INFINITY).map((o,l)=>u(l,t,e)).get();else{const o=this._findBySelector(a,1);e[t]=o.length>0?u(o[0],t,e):void 0}}return e}const pd=Object.freeze(Object.defineProperty({__proto__:null,extract:Ed},Symbol.toStringTag,{value:"Module"}));class zt{constructor(e,t,r){if(this.length=0,this.options=r,this._root=t,e){for(let n=0;n<e.length;n++)this[n]=e[n];this.length=e.length}}}zt.prototype.cheerio="[cheerio object]",zt.prototype.splice=Array.prototype.splice,zt.prototype[Symbol.iterator]=Array.prototype[Symbol.iterator],Object.assign(zt.prototype,Uf,Mh,id,ld,Bd,pd);function md(A,e){return function t(r,n,a=!0){if(r==null)throw new Error("cheerio.load() expects a string");const s=_a(n),u=A(r,s,a,null);class o extends zt{_make(h,d){const C=l(h,d);return C.prevObject=this,C}_parse(h,d,C,m){return A(h,d,C,m)}_render(h){return e(h,this.options)}}function l(f,h,d=u,C){if(f&&Fe(f))return f;const m=_a(C,s),T=typeof d=="string"?[A(d,m,!1,null)]:"length"in d?d:[d],U=Fe(T)?T:new o(T,null,m);if(U._root=U,!f)return new o(void 0,U,m);const N=typeof f=="string"&&ya(f)?A(f,m,!1,null).children:Cd(f)?[f]:Array.isArray(f)?f:void 0,_=new o(N,U,m);if(N)return _;if(typeof f!="string")throw new TypeError("Unexpected type of selector");let D=f;const P=h?typeof h=="string"?ya(h)?new o([A(h,m,!1,null)],U,m):(D=`${h} ${D}`,U):Fe(h)?h:new o(Array.isArray(h)?h:[h],U,m):U;return P?P.find(D):_}return Object.assign(l,ff,{load:t,_root:u,_options:s,fn:o.prototype,prototype:o.prototype}),l}}function Cd(A){return!!A.name||A.type==="root"||A.type==="text"||A.type==="comment"}const wd=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),dA="�";var B;(function(A){A[A.EOF=-1]="EOF",A[A.NULL=0]="NULL",A[A.TABULATION=9]="TABULATION",A[A.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",A[A.LINE_FEED=10]="LINE_FEED",A[A.FORM_FEED=12]="FORM_FEED",A[A.SPACE=32]="SPACE",A[A.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",A[A.QUOTATION_MARK=34]="QUOTATION_MARK",A[A.AMPERSAND=38]="AMPERSAND",A[A.APOSTROPHE=39]="APOSTROPHE",A[A.HYPHEN_MINUS=45]="HYPHEN_MINUS",A[A.SOLIDUS=47]="SOLIDUS",A[A.DIGIT_0=48]="DIGIT_0",A[A.DIGIT_9=57]="DIGIT_9",A[A.SEMICOLON=59]="SEMICOLON",A[A.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",A[A.EQUALS_SIGN=61]="EQUALS_SIGN",A[A.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",A[A.QUESTION_MARK=63]="QUESTION_MARK",A[A.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",A[A.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",A[A.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",A[A.GRAVE_ACCENT=96]="GRAVE_ACCENT",A[A.LATIN_SMALL_A=97]="LATIN_SMALL_A",A[A.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(B||(B={}));const qA={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function Tu(A){return A>=55296&&A<=57343}function Td(A){return A>=56320&&A<=57343}function bd(A,e){return(A-55296)*1024+9216+e}function bu(A){return A!==32&&A!==10&&A!==13&&A!==9&&A!==12&&A>=1&&A<=31||A>=127&&A<=159}function Uu(A){return A>=64976&&A<=65007||wd.has(A)}var b;(function(A){A.controlCharacterInInputStream="control-character-in-input-stream",A.noncharacterInInputStream="noncharacter-in-input-stream",A.surrogateInInputStream="surrogate-in-input-stream",A.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",A.endTagWithAttributes="end-tag-with-attributes",A.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",A.unexpectedSolidusInTag="unexpected-solidus-in-tag",A.unexpectedNullCharacter="unexpected-null-character",A.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",A.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",A.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",A.missingEndTagName="missing-end-tag-name",A.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",A.unknownNamedCharacterReference="unknown-named-character-reference",A.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",A.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",A.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",A.eofBeforeTagName="eof-before-tag-name",A.eofInTag="eof-in-tag",A.missingAttributeValue="missing-attribute-value",A.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",A.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",A.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",A.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",A.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",A.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",A.missingDoctypePublicIdentifier="missing-doctype-public-identifier",A.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",A.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",A.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",A.cdataInHtmlContent="cdata-in-html-content",A.incorrectlyOpenedComment="incorrectly-opened-comment",A.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",A.eofInDoctype="eof-in-doctype",A.nestedComment="nested-comment",A.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",A.eofInComment="eof-in-comment",A.incorrectlyClosedComment="incorrectly-closed-comment",A.eofInCdata="eof-in-cdata",A.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",A.nullCharacterReference="null-character-reference",A.surrogateCharacterReference="surrogate-character-reference",A.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",A.controlCharacterReference="control-character-reference",A.noncharacterCharacterReference="noncharacter-character-reference",A.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",A.missingDoctypeName="missing-doctype-name",A.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",A.duplicateAttribute="duplicate-attribute",A.nonConformingDoctype="non-conforming-doctype",A.missingDoctype="missing-doctype",A.misplacedDoctype="misplaced-doctype",A.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",A.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",A.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",A.openElementsLeftAfterEof="open-elements-left-after-eof",A.abandonedHeadElementChild="abandoned-head-element-child",A.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",A.nestedNoscriptInHead="nested-noscript-in-head",A.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(b||(b={}));const Ud=65536;class Qd{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=Ud,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e,t){const{line:r,col:n,offset:a}=this,s=n+t,u=a+t;return{code:e,startLine:r,endLine:r,startCol:s,endCol:s,startOffset:u,endOffset:u}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){const t=this.html.charCodeAt(this.pos+1);if(Td(t))return this.pos++,this._addGap(),bd(e,t)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,B.EOF;return this._err(b.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let r=0;r<e.length;r++)if((this.html.charCodeAt(this.pos+r)|32)!==e.charCodeAt(r))return!1;return!0}peek(e){const t=this.pos+e;if(t>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,B.EOF;const r=this.html.charCodeAt(t);return r===B.CARRIAGE_RETURN?B.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,B.EOF;let e=this.html.charCodeAt(this.pos);return e===B.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,B.LINE_FEED):e===B.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,Tu(e)&&(e=this._processSurrogate(e)),this.handler.onParseError===null||e>31&&e<127||e===B.LINE_FEED||e===B.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){bu(e)?this._err(b.controlCharacterInInputStream):Uu(e)&&this._err(b.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var eA;(function(A){A[A.CHARACTER=0]="CHARACTER",A[A.NULL_CHARACTER=1]="NULL_CHARACTER",A[A.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",A[A.START_TAG=3]="START_TAG",A[A.END_TAG=4]="END_TAG",A[A.COMMENT=5]="COMMENT",A[A.DOCTYPE=6]="DOCTYPE",A[A.EOF=7]="EOF",A[A.HIBERNATION=8]="HIBERNATION"})(eA||(eA={}));function Qu(A,e){for(let t=A.attrs.length-1;t>=0;t--)if(A.attrs[t].name===e)return A.attrs[t].value;return null}var F;(function(A){A.HTML="http://www.w3.org/1999/xhtml",A.MATHML="http://www.w3.org/1998/Math/MathML",A.SVG="http://www.w3.org/2000/svg",A.XLINK="http://www.w3.org/1999/xlink",A.XML="http://www.w3.org/XML/1998/namespace",A.XMLNS="http://www.w3.org/2000/xmlns/"})(F||(F={}));var st;(function(A){A.TYPE="type",A.ACTION="action",A.ENCODING="encoding",A.PROMPT="prompt",A.NAME="name",A.COLOR="color",A.FACE="face",A.SIZE="size"})(st||(st={}));var ee;(function(A){A.NO_QUIRKS="no-quirks",A.QUIRKS="quirks",A.LIMITED_QUIRKS="limited-quirks"})(ee||(ee={}));var w;(function(A){A.A="a",A.ADDRESS="address",A.ANNOTATION_XML="annotation-xml",A.APPLET="applet",A.AREA="area",A.ARTICLE="article",A.ASIDE="aside",A.B="b",A.BASE="base",A.BASEFONT="basefont",A.BGSOUND="bgsound",A.BIG="big",A.BLOCKQUOTE="blockquote",A.BODY="body",A.BR="br",A.BUTTON="button",A.CAPTION="caption",A.CENTER="center",A.CODE="code",A.COL="col",A.COLGROUP="colgroup",A.DD="dd",A.DESC="desc",A.DETAILS="details",A.DIALOG="dialog",A.DIR="dir",A.DIV="div",A.DL="dl",A.DT="dt",A.EM="em",A.EMBED="embed",A.FIELDSET="fieldset",A.FIGCAPTION="figcaption",A.FIGURE="figure",A.FONT="font",A.FOOTER="footer",A.FOREIGN_OBJECT="foreignObject",A.FORM="form",A.FRAME="frame",A.FRAMESET="frameset",A.H1="h1",A.H2="h2",A.H3="h3",A.H4="h4",A.H5="h5",A.H6="h6",A.HEAD="head",A.HEADER="header",A.HGROUP="hgroup",A.HR="hr",A.HTML="html",A.I="i",A.IMG="img",A.IMAGE="image",A.INPUT="input",A.IFRAME="iframe",A.KEYGEN="keygen",A.LABEL="label",A.LI="li",A.LINK="link",A.LISTING="listing",A.MAIN="main",A.MALIGNMARK="malignmark",A.MARQUEE="marquee",A.MATH="math",A.MENU="menu",A.META="meta",A.MGLYPH="mglyph",A.MI="mi",A.MO="mo",A.MN="mn",A.MS="ms",A.MTEXT="mtext",A.NAV="nav",A.NOBR="nobr",A.NOFRAMES="noframes",A.NOEMBED="noembed",A.NOSCRIPT="noscript",A.OBJECT="object",A.OL="ol",A.OPTGROUP="optgroup",A.OPTION="option",A.P="p",A.PARAM="param",A.PLAINTEXT="plaintext",A.PRE="pre",A.RB="rb",A.RP="rp",A.RT="rt",A.RTC="rtc",A.RUBY="ruby",A.S="s",A.SCRIPT="script",A.SEARCH="search",A.SECTION="section",A.SELECT="select",A.SOURCE="source",A.SMALL="small",A.SPAN="span",A.STRIKE="strike",A.STRONG="strong",A.STYLE="style",A.SUB="sub",A.SUMMARY="summary",A.SUP="sup",A.TABLE="table",A.TBODY="tbody",A.TEMPLATE="template",A.TEXTAREA="textarea",A.TFOOT="tfoot",A.TD="td",A.TH="th",A.THEAD="thead",A.TITLE="title",A.TR="tr",A.TRACK="track",A.TT="tt",A.U="u",A.UL="ul",A.SVG="svg",A.VAR="var",A.WBR="wbr",A.XMP="xmp"})(w||(w={}));var i;(function(A){A[A.UNKNOWN=0]="UNKNOWN",A[A.A=1]="A",A[A.ADDRESS=2]="ADDRESS",A[A.ANNOTATION_XML=3]="ANNOTATION_XML",A[A.APPLET=4]="APPLET",A[A.AREA=5]="AREA",A[A.ARTICLE=6]="ARTICLE",A[A.ASIDE=7]="ASIDE",A[A.B=8]="B",A[A.BASE=9]="BASE",A[A.BASEFONT=10]="BASEFONT",A[A.BGSOUND=11]="BGSOUND",A[A.BIG=12]="BIG",A[A.BLOCKQUOTE=13]="BLOCKQUOTE",A[A.BODY=14]="BODY",A[A.BR=15]="BR",A[A.BUTTON=16]="BUTTON",A[A.CAPTION=17]="CAPTION",A[A.CENTER=18]="CENTER",A[A.CODE=19]="CODE",A[A.COL=20]="COL",A[A.COLGROUP=21]="COLGROUP",A[A.DD=22]="DD",A[A.DESC=23]="DESC",A[A.DETAILS=24]="DETAILS",A[A.DIALOG=25]="DIALOG",A[A.DIR=26]="DIR",A[A.DIV=27]="DIV",A[A.DL=28]="DL",A[A.DT=29]="DT",A[A.EM=30]="EM",A[A.EMBED=31]="EMBED",A[A.FIELDSET=32]="FIELDSET",A[A.FIGCAPTION=33]="FIGCAPTION",A[A.FIGURE=34]="FIGURE",A[A.FONT=35]="FONT",A[A.FOOTER=36]="FOOTER",A[A.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",A[A.FORM=38]="FORM",A[A.FRAME=39]="FRAME",A[A.FRAMESET=40]="FRAMESET",A[A.H1=41]="H1",A[A.H2=42]="H2",A[A.H3=43]="H3",A[A.H4=44]="H4",A[A.H5=45]="H5",A[A.H6=46]="H6",A[A.HEAD=47]="HEAD",A[A.HEADER=48]="HEADER",A[A.HGROUP=49]="HGROUP",A[A.HR=50]="HR",A[A.HTML=51]="HTML",A[A.I=52]="I",A[A.IMG=53]="IMG",A[A.IMAGE=54]="IMAGE",A[A.INPUT=55]="INPUT",A[A.IFRAME=56]="IFRAME",A[A.KEYGEN=57]="KEYGEN",A[A.LABEL=58]="LABEL",A[A.LI=59]="LI",A[A.LINK=60]="LINK",A[A.LISTING=61]="LISTING",A[A.MAIN=62]="MAIN",A[A.MALIGNMARK=63]="MALIGNMARK",A[A.MARQUEE=64]="MARQUEE",A[A.MATH=65]="MATH",A[A.MENU=66]="MENU",A[A.META=67]="META",A[A.MGLYPH=68]="MGLYPH",A[A.MI=69]="MI",A[A.MO=70]="MO",A[A.MN=71]="MN",A[A.MS=72]="MS",A[A.MTEXT=73]="MTEXT",A[A.NAV=74]="NAV",A[A.NOBR=75]="NOBR",A[A.NOFRAMES=76]="NOFRAMES",A[A.NOEMBED=77]="NOEMBED",A[A.NOSCRIPT=78]="NOSCRIPT",A[A.OBJECT=79]="OBJECT",A[A.OL=80]="OL",A[A.OPTGROUP=81]="OPTGROUP",A[A.OPTION=82]="OPTION",A[A.P=83]="P",A[A.PARAM=84]="PARAM",A[A.PLAINTEXT=85]="PLAINTEXT",A[A.PRE=86]="PRE",A[A.RB=87]="RB",A[A.RP=88]="RP",A[A.RT=89]="RT",A[A.RTC=90]="RTC",A[A.RUBY=91]="RUBY",A[A.S=92]="S",A[A.SCRIPT=93]="SCRIPT",A[A.SEARCH=94]="SEARCH",A[A.SECTION=95]="SECTION",A[A.SELECT=96]="SELECT",A[A.SOURCE=97]="SOURCE",A[A.SMALL=98]="SMALL",A[A.SPAN=99]="SPAN",A[A.STRIKE=100]="STRIKE",A[A.STRONG=101]="STRONG",A[A.STYLE=102]="STYLE",A[A.SUB=103]="SUB",A[A.SUMMARY=104]="SUMMARY",A[A.SUP=105]="SUP",A[A.TABLE=106]="TABLE",A[A.TBODY=107]="TBODY",A[A.TEMPLATE=108]="TEMPLATE",A[A.TEXTAREA=109]="TEXTAREA",A[A.TFOOT=110]="TFOOT",A[A.TD=111]="TD",A[A.TH=112]="TH",A[A.THEAD=113]="THEAD",A[A.TITLE=114]="TITLE",A[A.TR=115]="TR",A[A.TRACK=116]="TRACK",A[A.TT=117]="TT",A[A.U=118]="U",A[A.UL=119]="UL",A[A.SVG=120]="SVG",A[A.VAR=121]="VAR",A[A.WBR=122]="WBR",A[A.XMP=123]="XMP"})(i||(i={}));const Fd=new Map([[w.A,i.A],[w.ADDRESS,i.ADDRESS],[w.ANNOTATION_XML,i.ANNOTATION_XML],[w.APPLET,i.APPLET],[w.AREA,i.AREA],[w.ARTICLE,i.ARTICLE],[w.ASIDE,i.ASIDE],[w.B,i.B],[w.BASE,i.BASE],[w.BASEFONT,i.BASEFONT],[w.BGSOUND,i.BGSOUND],[w.BIG,i.BIG],[w.BLOCKQUOTE,i.BLOCKQUOTE],[w.BODY,i.BODY],[w.BR,i.BR],[w.BUTTON,i.BUTTON],[w.CAPTION,i.CAPTION],[w.CENTER,i.CENTER],[w.CODE,i.CODE],[w.COL,i.COL],[w.COLGROUP,i.COLGROUP],[w.DD,i.DD],[w.DESC,i.DESC],[w.DETAILS,i.DETAILS],[w.DIALOG,i.DIALOG],[w.DIR,i.DIR],[w.DIV,i.DIV],[w.DL,i.DL],[w.DT,i.DT],[w.EM,i.EM],[w.EMBED,i.EMBED],[w.FIELDSET,i.FIELDSET],[w.FIGCAPTION,i.FIGCAPTION],[w.FIGURE,i.FIGURE],[w.FONT,i.FONT],[w.FOOTER,i.FOOTER],[w.FOREIGN_OBJECT,i.FOREIGN_OBJECT],[w.FORM,i.FORM],[w.FRAME,i.FRAME],[w.FRAMESET,i.FRAMESET],[w.H1,i.H1],[w.H2,i.H2],[w.H3,i.H3],[w.H4,i.H4],[w.H5,i.H5],[w.H6,i.H6],[w.HEAD,i.HEAD],[w.HEADER,i.HEADER],[w.HGROUP,i.HGROUP],[w.HR,i.HR],[w.HTML,i.HTML],[w.I,i.I],[w.IMG,i.IMG],[w.IMAGE,i.IMAGE],[w.INPUT,i.INPUT],[w.IFRAME,i.IFRAME],[w.KEYGEN,i.KEYGEN],[w.LABEL,i.LABEL],[w.LI,i.LI],[w.LINK,i.LINK],[w.LISTING,i.LISTING],[w.MAIN,i.MAIN],[w.MALIGNMARK,i.MALIGNMARK],[w.MARQUEE,i.MARQUEE],[w.MATH,i.MATH],[w.MENU,i.MENU],[w.META,i.META],[w.MGLYPH,i.MGLYPH],[w.MI,i.MI],[w.MO,i.MO],[w.MN,i.MN],[w.MS,i.MS],[w.MTEXT,i.MTEXT],[w.NAV,i.NAV],[w.NOBR,i.NOBR],[w.NOFRAMES,i.NOFRAMES],[w.NOEMBED,i.NOEMBED],[w.NOSCRIPT,i.NOSCRIPT],[w.OBJECT,i.OBJECT],[w.OL,i.OL],[w.OPTGROUP,i.OPTGROUP],[w.OPTION,i.OPTION],[w.P,i.P],[w.PARAM,i.PARAM],[w.PLAINTEXT,i.PLAINTEXT],[w.PRE,i.PRE],[w.RB,i.RB],[w.RP,i.RP],[w.RT,i.RT],[w.RTC,i.RTC],[w.RUBY,i.RUBY],[w.S,i.S],[w.SCRIPT,i.SCRIPT],[w.SEARCH,i.SEARCH],[w.SECTION,i.SECTION],[w.SELECT,i.SELECT],[w.SOURCE,i.SOURCE],[w.SMALL,i.SMALL],[w.SPAN,i.SPAN],[w.STRIKE,i.STRIKE],[w.STRONG,i.STRONG],[w.STYLE,i.STYLE],[w.SUB,i.SUB],[w.SUMMARY,i.SUMMARY],[w.SUP,i.SUP],[w.TABLE,i.TABLE],[w.TBODY,i.TBODY],[w.TEMPLATE,i.TEMPLATE],[w.TEXTAREA,i.TEXTAREA],[w.TFOOT,i.TFOOT],[w.TD,i.TD],[w.TH,i.TH],[w.THEAD,i.THEAD],[w.TITLE,i.TITLE],[w.TR,i.TR],[w.TRACK,i.TRACK],[w.TT,i.TT],[w.U,i.U],[w.UL,i.UL],[w.SVG,i.SVG],[w.VAR,i.VAR],[w.WBR,i.WBR],[w.XMP,i.XMP]]);function rn(A){var e;return(e=Fd.get(A))!==null&&e!==void 0?e:i.UNKNOWN}const x=i,Id={[F.HTML]:new Set([x.ADDRESS,x.APPLET,x.AREA,x.ARTICLE,x.ASIDE,x.BASE,x.BASEFONT,x.BGSOUND,x.BLOCKQUOTE,x.BODY,x.BR,x.BUTTON,x.CAPTION,x.CENTER,x.COL,x.COLGROUP,x.DD,x.DETAILS,x.DIR,x.DIV,x.DL,x.DT,x.EMBED,x.FIELDSET,x.FIGCAPTION,x.FIGURE,x.FOOTER,x.FORM,x.FRAME,x.FRAMESET,x.H1,x.H2,x.H3,x.H4,x.H5,x.H6,x.HEAD,x.HEADER,x.HGROUP,x.HR,x.HTML,x.IFRAME,x.IMG,x.INPUT,x.LI,x.LINK,x.LISTING,x.MAIN,x.MARQUEE,x.MENU,x.META,x.NAV,x.NOEMBED,x.NOFRAMES,x.NOSCRIPT,x.OBJECT,x.OL,x.P,x.PARAM,x.PLAINTEXT,x.PRE,x.SCRIPT,x.SECTION,x.SELECT,x.SOURCE,x.STYLE,x.SUMMARY,x.TABLE,x.TBODY,x.TD,x.TEMPLATE,x.TEXTAREA,x.TFOOT,x.TH,x.THEAD,x.TITLE,x.TR,x.TRACK,x.UL,x.WBR,x.XMP]),[F.MATHML]:new Set([x.MI,x.MO,x.MN,x.MS,x.MTEXT,x.ANNOTATION_XML]),[F.SVG]:new Set([x.TITLE,x.FOREIGN_OBJECT,x.DESC]),[F.XLINK]:new Set,[F.XML]:new Set,[F.XMLNS]:new Set},qa=new Set([x.H1,x.H2,x.H3,x.H4,x.H5,x.H6]),_d=new Set([w.STYLE,w.SCRIPT,w.XMP,w.IFRAME,w.NOEMBED,w.NOFRAMES,w.PLAINTEXT]);function yd(A,e){return _d.has(A)||e&&A===w.NOSCRIPT}var g;(function(A){A[A.DATA=0]="DATA",A[A.RCDATA=1]="RCDATA",A[A.RAWTEXT=2]="RAWTEXT",A[A.SCRIPT_DATA=3]="SCRIPT_DATA",A[A.PLAINTEXT=4]="PLAINTEXT",A[A.TAG_OPEN=5]="TAG_OPEN",A[A.END_TAG_OPEN=6]="END_TAG_OPEN",A[A.TAG_NAME=7]="TAG_NAME",A[A.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",A[A.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",A[A.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",A[A.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",A[A.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",A[A.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",A[A.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",A[A.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",A[A.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",A[A.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",A[A.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",A[A.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",A[A.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",A[A.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",A[A.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",A[A.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",A[A.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",A[A.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",A[A.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",A[A.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",A[A.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",A[A.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",A[A.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",A[A.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",A[A.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",A[A.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",A[A.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",A[A.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",A[A.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",A[A.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",A[A.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",A[A.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",A[A.BOGUS_COMMENT=40]="BOGUS_COMMENT",A[A.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",A[A.COMMENT_START=42]="COMMENT_START",A[A.COMMENT_START_DASH=43]="COMMENT_START_DASH",A[A.COMMENT=44]="COMMENT",A[A.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",A[A.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",A[A.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",A[A.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",A[A.COMMENT_END_DASH=49]="COMMENT_END_DASH",A[A.COMMENT_END=50]="COMMENT_END",A[A.COMMENT_END_BANG=51]="COMMENT_END_BANG",A[A.DOCTYPE=52]="DOCTYPE",A[A.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",A[A.DOCTYPE_NAME=54]="DOCTYPE_NAME",A[A.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",A[A.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",A[A.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",A[A.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",A[A.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",A[A.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",A[A.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",A[A.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",A[A.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",A[A.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",A[A.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",A[A.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",A[A.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",A[A.CDATA_SECTION=68]="CDATA_SECTION",A[A.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",A[A.CDATA_SECTION_END=70]="CDATA_SECTION_END",A[A.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",A[A.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(g||(g={}));const jA={DATA:g.DATA,RCDATA:g.RCDATA,RAWTEXT:g.RAWTEXT,SCRIPT_DATA:g.SCRIPT_DATA,PLAINTEXT:g.PLAINTEXT,CDATA_SECTION:g.CDATA_SECTION};function Nd(A){return A>=B.DIGIT_0&&A<=B.DIGIT_9}function Ar(A){return A>=B.LATIN_CAPITAL_A&&A<=B.LATIN_CAPITAL_Z}function vd(A){return A>=B.LATIN_SMALL_A&&A<=B.LATIN_SMALL_Z}function Re(A){return vd(A)||Ar(A)}function Fu(A){return Re(A)||Nd(A)}function nn(A){return A+32}function Iu(A){return A===B.SPACE||A===B.LINE_FEED||A===B.TABULATION||A===B.FORM_FEED}function _u(A){return Iu(A)||A===B.SOLIDUS||A===B.GREATER_THAN_SIGN}function Sd(A){return A===B.NULL?b.nullCharacterReference:A>1114111?b.characterReferenceOutsideUnicodeRange:Tu(A)?b.surrogateCharacterReference:Uu(A)?b.noncharacterCharacterReference:bu(A)||A===B.CARRIAGE_RETURN?b.controlCharacterReference:null}let xd=class{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=g.DATA,this.returnState=g.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Qd(t),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new ba(ma,(r,n)=>{this.preprocessor.pos=this.entityStartPos+n-1,this._flushCodePointConsumedAsCharacterReference(r)},t.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(b.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:r=>{this._err(b.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+r)},validateNumericCharacterReference:r=>{const n=Sd(r);n&&this._err(n,1)}}:void 0)}_err(e,t=0){var r,n;(n=(r=this.handler).onParseError)===null||n===void 0||n.call(r,this.preprocessor.getError(e,t))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||e==null||e())}write(e,t,r){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||r==null||r()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t<e;t++)this.preprocessor.advance()}_consumeSequenceIfMatch(e,t){return this.preprocessor.startsWith(e,t)?(this._advanceBy(e.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:eA.START_TAG,tagName:"",tagID:i.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:eA.END_TAG,tagName:"",tagID:i.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:eA.COMMENT,data:"",location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:eA.DOCTYPE,name:e,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t,location:this.currentLocation}}_createAttr(e){this.currentAttr={name:e,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var e,t;const r=this.currentToken;if(Qu(r,this.currentAttr.name)===null){if(r.attrs.push(this.currentAttr),r.location&&this.currentLocation){const n=(e=(t=r.location).attrs)!==null&&e!==void 0?e:t.attrs=Object.create(null);n[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(b.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(e){this._emitCurrentCharacterToken(e.location),this.currentToken=null,e.location&&(e.location.endLine=this.preprocessor.line,e.location.endCol=this.preprocessor.col+1,e.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const e=this.currentToken;this.prepareToken(e),e.tagID=rn(e.tagName),e.type===eA.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(b.endTagWithAttributes),e.selfClosing&&this._err(b.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case eA.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case eA.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case eA.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:eA.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken)if(this.currentCharacterToken.type===e){this.currentCharacterToken.chars+=t;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(e,t)}_emitCodePoint(e){const t=Iu(e)?eA.WHITESPACE_CHARACTER:e===B.NULL?eA.NULL_CHARACTER:eA.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(eA.CHARACTER,e)}_startCharacterReference(){this.returnState=this.state,this.state=g.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?re.Attribute:re.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===g.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===g.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===g.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case g.DATA:{this._stateData(e);break}case g.RCDATA:{this._stateRcdata(e);break}case g.RAWTEXT:{this._stateRawtext(e);break}case g.SCRIPT_DATA:{this._stateScriptData(e);break}case g.PLAINTEXT:{this._statePlaintext(e);break}case g.TAG_OPEN:{this._stateTagOpen(e);break}case g.END_TAG_OPEN:{this._stateEndTagOpen(e);break}case g.TAG_NAME:{this._stateTagName(e);break}case g.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(e);break}case g.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(e);break}case g.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(e);break}case g.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(e);break}case g.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(e);break}case g.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(e);break}case g.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(e);break}case g.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(e);break}case g.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(e);break}case g.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(e);break}case g.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(e);break}case g.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(e);break}case g.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(e);break}case g.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(e);break}case g.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(e);break}case g.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(e);break}case g.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(e);break}case g.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(e);break}case g.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(e);break}case g.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(e);break}case g.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(e);break}case g.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(e);break}case g.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(e);break}case g.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(e);break}case g.ATTRIBUTE_NAME:{this._stateAttributeName(e);break}case g.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(e);break}case g.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(e);break}case g.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(e);break}case g.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(e);break}case g.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(e);break}case g.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(e);break}case g.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(e);break}case g.BOGUS_COMMENT:{this._stateBogusComment(e);break}case g.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(e);break}case g.COMMENT_START:{this._stateCommentStart(e);break}case g.COMMENT_START_DASH:{this._stateCommentStartDash(e);break}case g.COMMENT:{this._stateComment(e);break}case g.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(e);break}case g.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(e);break}case g.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(e);break}case g.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(e);break}case g.COMMENT_END_DASH:{this._stateCommentEndDash(e);break}case g.COMMENT_END:{this._stateCommentEnd(e);break}case g.COMMENT_END_BANG:{this._stateCommentEndBang(e);break}case g.DOCTYPE:{this._stateDoctype(e);break}case g.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(e);break}case g.DOCTYPE_NAME:{this._stateDoctypeName(e);break}case g.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(e);break}case g.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(e);break}case g.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(e);break}case g.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(e);break}case g.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(e);break}case g.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(e);break}case g.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break}case g.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(e);break}case g.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(e);break}case g.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(e);break}case g.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(e);break}case g.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(e);break}case g.BOGUS_DOCTYPE:{this._stateBogusDoctype(e);break}case g.CDATA_SECTION:{this._stateCdataSection(e);break}case g.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(e);break}case g.CDATA_SECTION_END:{this._stateCdataSectionEnd(e);break}case g.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case g.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(e);break}default:throw new Error("Unknown state")}}_stateData(e){switch(e){case B.LESS_THAN_SIGN:{this.state=g.TAG_OPEN;break}case B.AMPERSAND:{this._startCharacterReference();break}case B.NULL:{this._err(b.unexpectedNullCharacter),this._emitCodePoint(e);break}case B.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case B.AMPERSAND:{this._startCharacterReference();break}case B.LESS_THAN_SIGN:{this.state=g.RCDATA_LESS_THAN_SIGN;break}case B.NULL:{this._err(b.unexpectedNullCharacter),this._emitChars(dA);break}case B.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case B.LESS_THAN_SIGN:{this.state=g.RAWTEXT_LESS_THAN_SIGN;break}case B.NULL:{this._err(b.unexpectedNullCharacter),this._emitChars(dA);break}case B.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case B.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_LESS_THAN_SIGN;break}case B.NULL:{this._err(b.unexpectedNullCharacter),this._emitChars(dA);break}case B.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case B.NULL:{this._err(b.unexpectedNullCharacter),this._emitChars(dA);break}case B.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateTagOpen(e){if(Re(e))this._createStartTagToken(),this.state=g.TAG_NAME,this._stateTagName(e);else switch(e){case B.EXCLAMATION_MARK:{this.state=g.MARKUP_DECLARATION_OPEN;break}case B.SOLIDUS:{this.state=g.END_TAG_OPEN;break}case B.QUESTION_MARK:{this._err(b.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=g.BOGUS_COMMENT,this._stateBogusComment(e);break}case B.EOF:{this._err(b.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(b.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=g.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(Re(e))this._createEndTagToken(),this.state=g.TAG_NAME,this._stateTagName(e);else switch(e){case B.GREATER_THAN_SIGN:{this._err(b.missingEndTagName),this.state=g.DATA;break}case B.EOF:{this._err(b.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(b.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=g.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this.state=g.BEFORE_ATTRIBUTE_NAME;break}case B.SOLIDUS:{this.state=g.SELF_CLOSING_START_TAG;break}case B.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentTagToken();break}case B.NULL:{this._err(b.unexpectedNullCharacter),t.tagName+=dA;break}case B.EOF:{this._err(b.eofInTag),this._emitEOFToken();break}default:t.tagName+=String.fromCodePoint(Ar(e)?nn(e):e)}}_stateRcdataLessThanSign(e){e===B.SOLIDUS?this.state=g.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=g.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){Re(e)?(this.state=g.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars("</"),this.state=g.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const t=this.currentToken;switch(t.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=g.BEFORE_ATTRIBUTE_NAME,!1;case B.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=g.SELF_CLOSING_START_TAG,!1;case B.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=g.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=g.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===B.SOLIDUS?this.state=g.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=g.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){Re(e)?(this.state=g.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars("</"),this.state=g.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=g.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case B.SOLIDUS:{this.state=g.SCRIPT_DATA_END_TAG_OPEN;break}case B.EXCLAMATION_MARK:{this.state=g.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=g.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){Re(e)?(this.state=g.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars("</"),this.state=g.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=g.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===B.HYPHEN_MINUS?(this.state=g.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=g.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===B.HYPHEN_MINUS?(this.state=g.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=g.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case B.HYPHEN_MINUS:{this.state=g.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case B.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case B.NULL:{this._err(b.unexpectedNullCharacter),this._emitChars(dA);break}case B.EOF:{this._err(b.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case B.HYPHEN_MINUS:{this.state=g.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case B.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case B.NULL:{this._err(b.unexpectedNullCharacter),this.state=g.SCRIPT_DATA_ESCAPED,this._emitChars(dA);break}case B.EOF:{this._err(b.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=g.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case B.HYPHEN_MINUS:{this._emitChars("-");break}case B.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case B.GREATER_THAN_SIGN:{this.state=g.SCRIPT_DATA,this._emitChars(">");break}case B.NULL:{this._err(b.unexpectedNullCharacter),this.state=g.SCRIPT_DATA_ESCAPED,this._emitChars(dA);break}case B.EOF:{this._err(b.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=g.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===B.SOLIDUS?this.state=g.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Re(e)?(this._emitChars("<"),this.state=g.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=g.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){Re(e)?(this.state=g.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("</"),this.state=g.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=g.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(qA.SCRIPT,!1)&&_u(this.preprocessor.peek(qA.SCRIPT.length))){this._emitCodePoint(e);for(let t=0;t<qA.SCRIPT.length;t++)this._emitCodePoint(this._consume());this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=g.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case B.HYPHEN_MINUS:{this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case B.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case B.NULL:{this._err(b.unexpectedNullCharacter),this._emitChars(dA);break}case B.EOF:{this._err(b.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case B.HYPHEN_MINUS:{this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case B.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case B.NULL:{this._err(b.unexpectedNullCharacter),this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(dA);break}case B.EOF:{this._err(b.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case B.HYPHEN_MINUS:{this._emitChars("-");break}case B.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case B.GREATER_THAN_SIGN:{this.state=g.SCRIPT_DATA,this._emitChars(">");break}case B.NULL:{this._err(b.unexpectedNullCharacter),this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(dA);break}case B.EOF:{this._err(b.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===B.SOLIDUS?(this.state=g.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(qA.SCRIPT,!1)&&_u(this.preprocessor.peek(qA.SCRIPT.length))){this._emitCodePoint(e);for(let t=0;t<qA.SCRIPT.length;t++)this._emitCodePoint(this._consume());this.state=g.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.SOLIDUS:case B.GREATER_THAN_SIGN:case B.EOF:{this.state=g.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break}case B.EQUALS_SIGN:{this._err(b.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=g.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=g.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:case B.SOLIDUS:case B.GREATER_THAN_SIGN:case B.EOF:{this._leaveAttrName(),this.state=g.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break}case B.EQUALS_SIGN:{this._leaveAttrName(),this.state=g.BEFORE_ATTRIBUTE_VALUE;break}case B.QUOTATION_MARK:case B.APOSTROPHE:case B.LESS_THAN_SIGN:{this._err(b.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break}case B.NULL:{this._err(b.unexpectedNullCharacter),this.currentAttr.name+=dA;break}default:this.currentAttr.name+=String.fromCodePoint(Ar(e)?nn(e):e)}}_stateAfterAttributeName(e){switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.SOLIDUS:{this.state=g.SELF_CLOSING_START_TAG;break}case B.EQUALS_SIGN:{this.state=g.BEFORE_ATTRIBUTE_VALUE;break}case B.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentTagToken();break}case B.EOF:{this._err(b.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=g.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.QUOTATION_MARK:{this.state=g.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case B.APOSTROPHE:{this.state=g.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case B.GREATER_THAN_SIGN:{this._err(b.missingAttributeValue),this.state=g.DATA,this.emitCurrentTagToken();break}default:this.state=g.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case B.QUOTATION_MARK:{this.state=g.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case B.AMPERSAND:{this._startCharacterReference();break}case B.NULL:{this._err(b.unexpectedNullCharacter),this.currentAttr.value+=dA;break}case B.EOF:{this._err(b.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case B.APOSTROPHE:{this.state=g.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case B.AMPERSAND:{this._startCharacterReference();break}case B.NULL:{this._err(b.unexpectedNullCharacter),this.currentAttr.value+=dA;break}case B.EOF:{this._err(b.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this._leaveAttrValue(),this.state=g.BEFORE_ATTRIBUTE_NAME;break}case B.AMPERSAND:{this._startCharacterReference();break}case B.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=g.DATA,this.emitCurrentTagToken();break}case B.NULL:{this._err(b.unexpectedNullCharacter),this.currentAttr.value+=dA;break}case B.QUOTATION_MARK:case B.APOSTROPHE:case B.LESS_THAN_SIGN:case B.EQUALS_SIGN:case B.GRAVE_ACCENT:{this._err(b.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break}case B.EOF:{this._err(b.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this._leaveAttrValue(),this.state=g.BEFORE_ATTRIBUTE_NAME;break}case B.SOLIDUS:{this._leaveAttrValue(),this.state=g.SELF_CLOSING_START_TAG;break}case B.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=g.DATA,this.emitCurrentTagToken();break}case B.EOF:{this._err(b.eofInTag),this._emitEOFToken();break}default:this._err(b.missingWhitespaceBetweenAttributes),this.state=g.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case B.GREATER_THAN_SIGN:{const t=this.currentToken;t.selfClosing=!0,this.state=g.DATA,this.emitCurrentTagToken();break}case B.EOF:{this._err(b.eofInTag),this._emitEOFToken();break}default:this._err(b.unexpectedSolidusInTag),this.state=g.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){const t=this.currentToken;switch(e){case B.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentComment(t);break}case B.EOF:{this.emitCurrentComment(t),this._emitEOFToken();break}case B.NULL:{this._err(b.unexpectedNullCharacter),t.data+=dA;break}default:t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch(qA.DASH_DASH,!0)?(this._createCommentToken(qA.DASH_DASH.length+1),this.state=g.COMMENT_START):this._consumeSequenceIfMatch(qA.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(qA.DOCTYPE.length+1),this.state=g.DOCTYPE):this._consumeSequenceIfMatch(qA.CDATA_START,!0)?this.inForeignNode?this.state=g.CDATA_SECTION:(this._err(b.cdataInHtmlContent),this._createCommentToken(qA.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=g.BOGUS_COMMENT):this._ensureHibernation()||(this._err(b.incorrectlyOpenedComment),this._createCommentToken(2),this.state=g.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case B.HYPHEN_MINUS:{this.state=g.COMMENT_START_DASH;break}case B.GREATER_THAN_SIGN:{this._err(b.abruptClosingOfEmptyComment),this.state=g.DATA;const t=this.currentToken;this.emitCurrentComment(t);break}default:this.state=g.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){const t=this.currentToken;switch(e){case B.HYPHEN_MINUS:{this.state=g.COMMENT_END;break}case B.GREATER_THAN_SIGN:{this._err(b.abruptClosingOfEmptyComment),this.state=g.DATA,this.emitCurrentComment(t);break}case B.EOF:{this._err(b.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break}default:t.data+="-",this.state=g.COMMENT,this._stateComment(e)}}_stateComment(e){const t=this.currentToken;switch(e){case B.HYPHEN_MINUS:{this.state=g.COMMENT_END_DASH;break}case B.LESS_THAN_SIGN:{t.data+="<",this.state=g.COMMENT_LESS_THAN_SIGN;break}case B.NULL:{this._err(b.unexpectedNullCharacter),t.data+=dA;break}case B.EOF:{this._err(b.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break}default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){const t=this.currentToken;switch(e){case B.EXCLAMATION_MARK:{t.data+="!",this.state=g.COMMENT_LESS_THAN_SIGN_BANG;break}case B.LESS_THAN_SIGN:{t.data+="<";break}default:this.state=g.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===B.HYPHEN_MINUS?this.state=g.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=g.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===B.HYPHEN_MINUS?this.state=g.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=g.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==B.GREATER_THAN_SIGN&&e!==B.EOF&&this._err(b.nestedComment),this.state=g.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){const t=this.currentToken;switch(e){case B.HYPHEN_MINUS:{this.state=g.COMMENT_END;break}case B.EOF:{this._err(b.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break}default:t.data+="-",this.state=g.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){const t=this.currentToken;switch(e){case B.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentComment(t);break}case B.EXCLAMATION_MARK:{this.state=g.COMMENT_END_BANG;break}case B.HYPHEN_MINUS:{t.data+="-";break}case B.EOF:{this._err(b.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break}default:t.data+="--",this.state=g.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){const t=this.currentToken;switch(e){case B.HYPHEN_MINUS:{t.data+="--!",this.state=g.COMMENT_END_DASH;break}case B.GREATER_THAN_SIGN:{this._err(b.incorrectlyClosedComment),this.state=g.DATA,this.emitCurrentComment(t);break}case B.EOF:{this._err(b.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break}default:t.data+="--!",this.state=g.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this.state=g.BEFORE_DOCTYPE_NAME;break}case B.GREATER_THAN_SIGN:{this.state=g.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break}case B.EOF:{this._err(b.eofInDoctype),this._createDoctypeToken(null);const t=this.currentToken;t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(b.missingWhitespaceBeforeDoctypeName),this.state=g.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(Ar(e))this._createDoctypeToken(String.fromCharCode(nn(e))),this.state=g.DOCTYPE_NAME;else switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.NULL:{this._err(b.unexpectedNullCharacter),this._createDoctypeToken(dA),this.state=g.DOCTYPE_NAME;break}case B.GREATER_THAN_SIGN:{this._err(b.missingDoctypeName),this._createDoctypeToken(null);const t=this.currentToken;t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.EOF:{this._err(b.eofInDoctype),this._createDoctypeToken(null);const t=this.currentToken;t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=g.DOCTYPE_NAME}}_stateDoctypeName(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this.state=g.AFTER_DOCTYPE_NAME;break}case B.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentDoctype(t);break}case B.NULL:{this._err(b.unexpectedNullCharacter),t.name+=dA;break}case B.EOF:{this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:t.name+=String.fromCodePoint(Ar(e)?nn(e):e)}}_stateAfterDoctypeName(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentDoctype(t);break}case B.EOF:{this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(qA.PUBLIC,!1)?this.state=g.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(qA.SYSTEM,!1)?this.state=g.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(b.invalidCharacterSequenceAfterDoctypeName),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this.state=g.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case B.QUOTATION_MARK:{this._err(b.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=g.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case B.APOSTROPHE:{this._err(b.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=g.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case B.GREATER_THAN_SIGN:{this._err(b.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=g.DATA,this.emitCurrentDoctype(t);break}case B.EOF:{this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(b.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.QUOTATION_MARK:{t.publicId="",this.state=g.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case B.APOSTROPHE:{t.publicId="",this.state=g.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case B.GREATER_THAN_SIGN:{this._err(b.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=g.DATA,this.emitCurrentDoctype(t);break}case B.EOF:{this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(b.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){const t=this.currentToken;switch(e){case B.QUOTATION_MARK:{this.state=g.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case B.NULL:{this._err(b.unexpectedNullCharacter),t.publicId+=dA;break}case B.GREATER_THAN_SIGN:{this._err(b.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.EOF:{this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:t.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){const t=this.currentToken;switch(e){case B.APOSTROPHE:{this.state=g.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case B.NULL:{this._err(b.unexpectedNullCharacter),t.publicId+=dA;break}case B.GREATER_THAN_SIGN:{this._err(b.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.EOF:{this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:t.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this.state=g.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case B.GREATER_THAN_SIGN:{this.state=g.DATA,this.emitCurrentDoctype(t);break}case B.QUOTATION_MARK:{this._err(b.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case B.APOSTROPHE:{this._err(b.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case B.EOF:{this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(b.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.GREATER_THAN_SIGN:{this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.QUOTATION_MARK:{t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case B.APOSTROPHE:{t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case B.EOF:{this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(b.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this.state=g.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case B.QUOTATION_MARK:{this._err(b.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case B.APOSTROPHE:{this._err(b.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case B.GREATER_THAN_SIGN:{this._err(b.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=g.DATA,this.emitCurrentDoctype(t);break}case B.EOF:{this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(b.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.QUOTATION_MARK:{t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case B.APOSTROPHE:{t.systemId="",this.state=g.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case B.GREATER_THAN_SIGN:{this._err(b.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=g.DATA,this.emitCurrentDoctype(t);break}case B.EOF:{this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(b.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){const t=this.currentToken;switch(e){case B.QUOTATION_MARK:{this.state=g.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case B.NULL:{this._err(b.unexpectedNullCharacter),t.systemId+=dA;break}case B.GREATER_THAN_SIGN:{this._err(b.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.EOF:{this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:t.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){const t=this.currentToken;switch(e){case B.APOSTROPHE:{this.state=g.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case B.NULL:{this._err(b.unexpectedNullCharacter),t.systemId+=dA;break}case B.GREATER_THAN_SIGN:{this._err(b.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.EOF:{this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:t.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.GREATER_THAN_SIGN:{this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.EOF:{this._err(b.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break}default:this._err(b.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=g.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){const t=this.currentToken;switch(e){case B.GREATER_THAN_SIGN:{this.emitCurrentDoctype(t),this.state=g.DATA;break}case B.NULL:{this._err(b.unexpectedNullCharacter);break}case B.EOF:{this.emitCurrentDoctype(t),this._emitEOFToken();break}}}_stateCdataSection(e){switch(e){case B.RIGHT_SQUARE_BRACKET:{this.state=g.CDATA_SECTION_BRACKET;break}case B.EOF:{this._err(b.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===B.RIGHT_SQUARE_BRACKET?this.state=g.CDATA_SECTION_END:(this._emitChars("]"),this.state=g.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case B.GREATER_THAN_SIGN:{this.state=g.DATA;break}case B.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=g.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(){let e=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(e<0)if(this.preprocessor.lastChunkWritten)e=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}e===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(B.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&Fu(this.preprocessor.peek(1))?g.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(e){Fu(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===B.SEMICOLON&&this._err(b.unknownNamedCharacterReference),this.state=this.returnState,this._callState(e))}};const yu=new Set([i.DD,i.DT,i.LI,i.OPTGROUP,i.OPTION,i.P,i.RB,i.RP,i.RT,i.RTC]),Nu=new Set([...yu,i.CAPTION,i.COLGROUP,i.TBODY,i.TD,i.TFOOT,i.TH,i.THEAD,i.TR]),an=new Set([i.APPLET,i.CAPTION,i.HTML,i.MARQUEE,i.OBJECT,i.TABLE,i.TD,i.TEMPLATE,i.TH]),Ld=new Set([...an,i.OL,i.UL]),Hd=new Set([...an,i.BUTTON]),vu=new Set([i.ANNOTATION_XML,i.MI,i.MN,i.MO,i.MS,i.MTEXT]),Su=new Set([i.DESC,i.FOREIGN_OBJECT,i.TITLE]),Dd=new Set([i.TR,i.TEMPLATE,i.HTML]),Od=new Set([i.TBODY,i.TFOOT,i.THEAD,i.TEMPLATE,i.HTML]),Rd=new Set([i.TABLE,i.TEMPLATE,i.HTML]),Md=new Set([i.TD,i.TH]);class kd{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,r){this.treeAdapter=t,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=i.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===i.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===F.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){const e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){const r=this._indexOf(e);this.items[r]=t,r===this.stackTop&&(this.current=t)}insertAfter(e,t,r){const n=this._indexOf(e)+1;this.items.splice(n,0,t),this.tagIDs.splice(n,0,r),this.stackTop++,n===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,n===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==F.HTML);this.shortenToLength(t<0?0:t)}shortenToLength(e){for(;this.stackTop>=e;){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop<e)}}popUntilElementPopped(e){const t=this._indexOf(e);this.shortenToLength(t<0?0:t)}popUntilPopped(e,t){const r=this._indexOfTagNames(e,t);this.shortenToLength(r<0?0:r)}popUntilNumberedHeaderPopped(){this.popUntilPopped(qa,F.HTML)}popUntilTableCellPopped(){this.popUntilPopped(Md,F.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(e,t){for(let r=this.stackTop;r>=0;r--)if(e.has(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===t)return r;return-1}clearBackTo(e,t){const r=this._indexOfTagNames(e,t);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(Rd,F.HTML)}clearBackToTableBodyContext(){this.clearBackTo(Od,F.HTML)}clearBackToTableRowContext(){this.clearBackTo(Dd,F.HTML)}remove(e){const t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===i.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){const t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===i.HTML}hasInDynamicScope(e,t){for(let r=this.stackTop;r>=0;r--){const n=this.tagIDs[r];switch(this.treeAdapter.getNamespaceURI(this.items[r])){case F.HTML:{if(n===e)return!0;if(t.has(n))return!1;break}case F.SVG:{if(Su.has(n))return!1;break}case F.MATHML:{if(vu.has(n))return!1;break}}}return!0}hasInScope(e){return this.hasInDynamicScope(e,an)}hasInListItemScope(e){return this.hasInDynamicScope(e,Ld)}hasInButtonScope(e){return this.hasInDynamicScope(e,Hd)}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){const t=this.tagIDs[e];switch(this.treeAdapter.getNamespaceURI(this.items[e])){case F.HTML:{if(qa.has(t))return!0;if(an.has(t))return!1;break}case F.SVG:{if(Su.has(t))return!1;break}case F.MATHML:{if(vu.has(t))return!1;break}}}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===F.HTML)switch(this.tagIDs[t]){case e:return!0;case i.TABLE:case i.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--)if(this.treeAdapter.getNamespaceURI(this.items[e])===F.HTML)switch(this.tagIDs[e]){case i.TBODY:case i.THEAD:case i.TFOOT:return!0;case i.TABLE:case i.HTML:return!1}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===F.HTML)switch(this.tagIDs[t]){case e:return!0;case i.OPTION:case i.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;yu.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;Nu.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&Nu.has(this.currentTagId);)this.pop()}}const ja=3;var pe;(function(A){A[A.Marker=0]="Marker",A[A.Element=1]="Element"})(pe||(pe={}));const xu={type:pe.Marker};class Pd{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){const r=[],n=t.length,a=this.treeAdapter.getTagName(e),s=this.treeAdapter.getNamespaceURI(e);for(let u=0;u<this.entries.length;u++){const o=this.entries[u];if(o.type===pe.Marker)break;const{element:l}=o;if(this.treeAdapter.getTagName(l)===a&&this.treeAdapter.getNamespaceURI(l)===s){const f=this.treeAdapter.getAttrList(l);f.length===n&&r.push({idx:u,attrs:f})}}return r}_ensureNoahArkCondition(e){if(this.entries.length<ja)return;const t=this.treeAdapter.getAttrList(e),r=this._getNoahArkConditionCandidates(e,t);if(r.length<ja)return;const n=new Map(t.map(s=>[s.name,s.value]));let a=0;for(let s=0;s<r.length;s++){const u=r[s];u.attrs.every(o=>n.get(o.name)===o.value)&&(a+=1,a>=ja&&this.entries.splice(u.idx,1))}}insertMarker(){this.entries.unshift(xu)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:pe.Element,element:e,token:t})}insertElementAfterBookmark(e,t){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:pe.Element,element:e,token:t})}removeEntry(e){const t=this.entries.indexOf(e);t>=0&&this.entries.splice(t,1)}clearToLastMarker(){const e=this.entries.indexOf(xu);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){const t=this.entries.find(r=>r.type===pe.Marker||this.treeAdapter.getTagName(r.element)===e);return t&&t.type===pe.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===pe.Element&&t.element===e)}}const Ie={createDocument(){return{nodeName:"#document",mode:ee.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(A,e,t){return{nodeName:A,tagName:A,attrs:t,namespaceURI:e,childNodes:[],parentNode:null}},createCommentNode(A){return{nodeName:"#comment",data:A,parentNode:null}},createTextNode(A){return{nodeName:"#text",value:A,parentNode:null}},appendChild(A,e){A.childNodes.push(e),e.parentNode=A},insertBefore(A,e,t){const r=A.childNodes.indexOf(t);A.childNodes.splice(r,0,e),e.parentNode=A},setTemplateContent(A,e){A.content=e},getTemplateContent(A){return A.content},setDocumentType(A,e,t,r){const n=A.childNodes.find(a=>a.nodeName==="#documentType");if(n)n.name=e,n.publicId=t,n.systemId=r;else{const a={nodeName:"#documentType",name:e,publicId:t,systemId:r,parentNode:null};Ie.appendChild(A,a)}},setDocumentMode(A,e){A.mode=e},getDocumentMode(A){return A.mode},detachNode(A){if(A.parentNode){const e=A.parentNode.childNodes.indexOf(A);A.parentNode.childNodes.splice(e,1),A.parentNode=null}},insertText(A,e){if(A.childNodes.length>0){const t=A.childNodes[A.childNodes.length-1];if(Ie.isTextNode(t)){t.value+=e;return}}Ie.appendChild(A,Ie.createTextNode(e))},insertTextBefore(A,e,t){const r=A.childNodes[A.childNodes.indexOf(t)-1];r&&Ie.isTextNode(r)?r.value+=e:Ie.insertBefore(A,Ie.createTextNode(e),t)},adoptAttributes(A,e){const t=new Set(A.attrs.map(r=>r.name));for(let r=0;r<e.length;r++)t.has(e[r].name)||A.attrs.push(e[r])},getFirstChild(A){return A.childNodes[0]},getChildNodes(A){return A.childNodes},getParentNode(A){return A.parentNode},getAttrList(A){return A.attrs},getTagName(A){return A.tagName},getNamespaceURI(A){return A.namespaceURI},getTextNodeContent(A){return A.value},getCommentNodeContent(A){return A.data},getDocumentTypeNodeName(A){return A.name},getDocumentTypeNodePublicId(A){return A.publicId},getDocumentTypeNodeSystemId(A){return A.systemId},isTextNode(A){return A.nodeName==="#text"},isCommentNode(A){return A.nodeName==="#comment"},isDocumentTypeNode(A){return A.nodeName==="#documentType"},isElementNode(A){return Object.prototype.hasOwnProperty.call(A,"tagName")},setNodeSourceCodeLocation(A,e){A.sourceCodeLocation=e},getNodeSourceCodeLocation(A){return A.sourceCodeLocation},updateNodeSourceCodeLocation(A,e){A.sourceCodeLocation={...A.sourceCodeLocation,...e}}},Lu="html",Kd="about:legacy-compat",Vd="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",Hu=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],Gd=[...Hu,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],Yd=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),Du=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],Xd=[...Du,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function Ou(A,e){return e.some(t=>A.startsWith(t))}function Wd(A){return A.name===Lu&&A.publicId===null&&(A.systemId===null||A.systemId===Kd)}function Jd(A){if(A.name!==Lu)return ee.QUIRKS;const{systemId:e}=A;if(e&&e.toLowerCase()===Vd)return ee.QUIRKS;let{publicId:t}=A;if(t!==null){if(t=t.toLowerCase(),Yd.has(t))return ee.QUIRKS;let r=e===null?Gd:Hu;if(Ou(t,r))return ee.QUIRKS;if(r=e===null?Du:Xd,Ou(t,r))return ee.LIMITED_QUIRKS}return ee.NO_QUIRKS}const Ru={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},qd="definitionurl",jd="definitionURL",$d=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(A=>[A.toLowerCase(),A])),Zd=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:F.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:F.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:F.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:F.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:F.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:F.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:F.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:F.XML}],["xml:space",{prefix:"xml",name:"space",namespace:F.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:F.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:F.XMLNS}]]),zd=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(A=>[A.toLowerCase(),A])),AB=new Set([i.B,i.BIG,i.BLOCKQUOTE,i.BODY,i.BR,i.CENTER,i.CODE,i.DD,i.DIV,i.DL,i.DT,i.EM,i.EMBED,i.H1,i.H2,i.H3,i.H4,i.H5,i.H6,i.HEAD,i.HR,i.I,i.IMG,i.LI,i.LISTING,i.MENU,i.META,i.NOBR,i.OL,i.P,i.PRE,i.RUBY,i.S,i.SMALL,i.SPAN,i.STRONG,i.STRIKE,i.SUB,i.SUP,i.TABLE,i.TT,i.U,i.UL,i.VAR]);function eB(A){const e=A.tagID;return e===i.FONT&&A.attrs.some(({name:r})=>r===st.COLOR||r===st.SIZE||r===st.FACE)||AB.has(e)}function Mu(A){for(let e=0;e<A.attrs.length;e++)if(A.attrs[e].name===qd){A.attrs[e].name=jd;break}}function ku(A){for(let e=0;e<A.attrs.length;e++){const t=$d.get(A.attrs[e].name);t!=null&&(A.attrs[e].name=t)}}function $a(A){for(let e=0;e<A.attrs.length;e++){const t=Zd.get(A.attrs[e].name);t&&(A.attrs[e].prefix=t.prefix,A.attrs[e].name=t.name,A.attrs[e].namespace=t.namespace)}}function tB(A){const e=zd.get(A.tagName);e!=null&&(A.tagName=e,A.tagID=rn(A.tagName))}function rB(A,e){return e===F.MATHML&&(A===i.MI||A===i.MO||A===i.MN||A===i.MS||A===i.MTEXT)}function nB(A,e,t){if(e===F.MATHML&&A===i.ANNOTATION_XML){for(let r=0;r<t.length;r++)if(t[r].name===st.ENCODING){const n=t[r].value.toLowerCase();return n===Ru.TEXT_HTML||n===Ru.APPLICATION_XML}}return e===F.SVG&&(A===i.FOREIGN_OBJECT||A===i.DESC||A===i.TITLE)}function aB(A,e,t,r){return(!r||r===F.HTML)&&nB(A,e,t)||(!r||r===F.MATHML)&&rB(A,e)}const sB="hidden",iB=8,uB=3;var E;(function(A){A[A.INITIAL=0]="INITIAL",A[A.BEFORE_HTML=1]="BEFORE_HTML",A[A.BEFORE_HEAD=2]="BEFORE_HEAD",A[A.IN_HEAD=3]="IN_HEAD",A[A.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",A[A.AFTER_HEAD=5]="AFTER_HEAD",A[A.IN_BODY=6]="IN_BODY",A[A.TEXT=7]="TEXT",A[A.IN_TABLE=8]="IN_TABLE",A[A.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",A[A.IN_CAPTION=10]="IN_CAPTION",A[A.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",A[A.IN_TABLE_BODY=12]="IN_TABLE_BODY",A[A.IN_ROW=13]="IN_ROW",A[A.IN_CELL=14]="IN_CELL",A[A.IN_SELECT=15]="IN_SELECT",A[A.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",A[A.IN_TEMPLATE=17]="IN_TEMPLATE",A[A.AFTER_BODY=18]="AFTER_BODY",A[A.IN_FRAMESET=19]="IN_FRAMESET",A[A.AFTER_FRAMESET=20]="AFTER_FRAMESET",A[A.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",A[A.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(E||(E={}));const oB={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},Pu=new Set([i.TABLE,i.TBODY,i.TFOOT,i.THEAD,i.TR]),Ku={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Ie,onParseError:null};let Vu=class{constructor(e,t,r=null,n=null){this.fragmentContext=r,this.scriptHandler=n,this.currentToken=null,this.stopped=!1,this.insertionMode=E.INITIAL,this.originalInsertionMode=E.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...Ku,...e},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=t??this.treeAdapter.createDocument(),this.tokenizer=new xd(this.options,this),this.activeFormattingElements=new Pd(this.treeAdapter),this.fragmentContextID=r?rn(this.treeAdapter.getTagName(r)):i.UNKNOWN,this._setContextModes(r??this.document,this.fragmentContextID),this.openElements=new kd(this.document,this.treeAdapter,this)}static parse(e,t){const r=new this(t);return r.tokenizer.write(e,!0),r.document}static getFragmentParser(e,t){const r={...Ku,...t};e??(e=r.treeAdapter.createElement(w.TEMPLATE,F.HTML,[]));const n=r.treeAdapter.createElement("documentmock",F.HTML,[]),a=new this(r,n,e);return a.fragmentContextID===i.TEMPLATE&&a.tmplInsertionModeStack.unshift(E.IN_TEMPLATE),a._initTokenizerForFragmentParsing(),a._insertFakeRootElement(),a._resetInsertionMode(),a._findFormInFragmentContext(),a}getFragment(){const e=this.treeAdapter.getFirstChild(this.document),t=this.treeAdapter.createDocumentFragment();return this._adoptNodes(e,t),t}_err(e,t,r){var n;if(!this.onParseError)return;const a=(n=e.location)!==null&&n!==void 0?n:oB,s={code:t,startLine:a.startLine,startCol:a.startCol,startOffset:a.startOffset,endLine:r?a.startLine:a.endLine,endCol:r?a.startCol:a.endCol,endOffset:r?a.startOffset:a.endOffset};this.onParseError(s)}onItemPush(e,t,r){var n,a;(a=(n=this.treeAdapter).onItemPush)===null||a===void 0||a.call(n,e),r&&this.openElements.stackTop>0&&this._setContextModes(e,t)}onItemPop(e,t){var r,n;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),(n=(r=this.treeAdapter).onItemPop)===null||n===void 0||n.call(r,e,this.openElements.current),t){let a,s;this.openElements.stackTop===0&&this.fragmentContext?(a=this.fragmentContext,s=this.fragmentContextID):{current:a,currentTagId:s}=this.openElements,this._setContextModes(a,s)}}_setContextModes(e,t){const r=e===this.document||this.treeAdapter.getNamespaceURI(e)===F.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,F.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=E.TEXT}switchToPlaintextParsing(){this.insertionMode=E.TEXT,this.originalInsertionMode=E.IN_BODY,this.tokenizer.state=jA.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===w.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==F.HTML))switch(this.fragmentContextID){case i.TITLE:case i.TEXTAREA:{this.tokenizer.state=jA.RCDATA;break}case i.STYLE:case i.XMP:case i.IFRAME:case i.NOEMBED:case i.NOFRAMES:case i.NOSCRIPT:{this.tokenizer.state=jA.RAWTEXT;break}case i.SCRIPT:{this.tokenizer.state=jA.SCRIPT_DATA;break}case i.PLAINTEXT:{this.tokenizer.state=jA.PLAINTEXT;break}}}_setDocumentType(e){const t=e.name||"",r=e.publicId||"",n=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,r,n),e.location){const s=this.treeAdapter.getChildNodes(this.document).find(u=>this.treeAdapter.isDocumentTypeNode(u));s&&this.treeAdapter.setNodeSourceCodeLocation(s,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){const r=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r,e)}}_appendElement(e,t){const r=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(r,e.location)}_insertElement(e,t){const r=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(r,e.location),this.openElements.push(r,e.tagID)}_insertFakeElement(e,t){const r=this.treeAdapter.createElement(e,F.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,t)}_insertTemplate(e){const t=this.treeAdapter.createElement(e.tagName,F.HTML,e.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,r),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const e=this.treeAdapter.createElement(w.HTML,F.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,i.HTML)}_appendCommentNode(e,t){const r=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,e.location)}_insertCharacters(e){let t,r;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(t,e.chars,r):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;const n=this.treeAdapter.getChildNodes(t),a=r?n.lastIndexOf(r):n.length,s=n[a-1];if(this.treeAdapter.getNodeSourceCodeLocation(s)){const{endLine:o,endCol:l,endOffset:f}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(s,{endLine:o,endCol:l,endOffset:f})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(s,e.location)}_adoptNodes(e,t){for(let r=this.treeAdapter.getFirstChild(e);r;r=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(t,r)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){const r=t.location,n=this.treeAdapter.getTagName(e),a=t.type===eA.END_TAG&&n===t.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,a)}}shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return!1;let t,r;return this.openElements.stackTop===0&&this.fragmentContext?(t=this.fragmentContext,r=this.fragmentContextID):{current:t,currentTagId:r}=this.openElements,e.tagID===i.SVG&&this.treeAdapter.getTagName(t)===w.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(t)===F.MATHML?!1:this.tokenizer.inForeignNode||(e.tagID===i.MGLYPH||e.tagID===i.MALIGNMARK)&&!this._isIntegrationPoint(r,t,F.HTML)}_processToken(e){switch(e.type){case eA.CHARACTER:{this.onCharacter(e);break}case eA.NULL_CHARACTER:{this.onNullCharacter(e);break}case eA.COMMENT:{this.onComment(e);break}case eA.DOCTYPE:{this.onDoctype(e);break}case eA.START_TAG:{this._processStartTag(e);break}case eA.END_TAG:{this.onEndTag(e);break}case eA.EOF:{this.onEof(e);break}case eA.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(e);break}}}_isIntegrationPoint(e,t,r){const n=this.treeAdapter.getNamespaceURI(t),a=this.treeAdapter.getAttrList(t);return aB(e,n,a,r)}_reconstructActiveFormattingElements(){const e=this.activeFormattingElements.entries.length;if(e){const t=this.activeFormattingElements.entries.findIndex(n=>n.type===pe.Marker||this.openElements.contains(n.element)),r=t<0?e-1:t-1;for(let n=r;n>=0;n--){const a=this.activeFormattingElements.entries[n];this._insertElement(a.token,this.treeAdapter.getNamespaceURI(a.element)),a.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=E.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(i.P),this.openElements.popUntilTagNamePopped(i.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(e===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case i.TR:{this.insertionMode=E.IN_ROW;return}case i.TBODY:case i.THEAD:case i.TFOOT:{this.insertionMode=E.IN_TABLE_BODY;return}case i.CAPTION:{this.insertionMode=E.IN_CAPTION;return}case i.COLGROUP:{this.insertionMode=E.IN_COLUMN_GROUP;return}case i.TABLE:{this.insertionMode=E.IN_TABLE;return}case i.BODY:{this.insertionMode=E.IN_BODY;return}case i.FRAMESET:{this.insertionMode=E.IN_FRAMESET;return}case i.SELECT:{this._resetInsertionModeForSelect(e);return}case i.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case i.HTML:{this.insertionMode=this.headElement?E.AFTER_HEAD:E.BEFORE_HEAD;return}case i.TD:case i.TH:{if(e>0){this.insertionMode=E.IN_CELL;return}break}case i.HEAD:{if(e>0){this.insertionMode=E.IN_HEAD;return}break}}this.insertionMode=E.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){const r=this.openElements.tagIDs[t];if(r===i.TEMPLATE)break;if(r===i.TABLE){this.insertionMode=E.IN_SELECT_IN_TABLE;return}}this.insertionMode=E.IN_SELECT}_isElementCausesFosterParenting(e){return Pu.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){const t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case i.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(t)===F.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break}case i.TABLE:{const r=this.treeAdapter.getParentNode(t);return r?{parent:r,beforeElement:t}:{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){const t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){const r=this.treeAdapter.getNamespaceURI(e);return Id[r].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Mg(this,e);return}switch(this.insertionMode){case E.INITIAL:{er(this,e);break}case E.BEFORE_HTML:{tr(this,e);break}case E.BEFORE_HEAD:{rr(this,e);break}case E.IN_HEAD:{nr(this,e);break}case E.IN_HEAD_NO_SCRIPT:{ar(this,e);break}case E.AFTER_HEAD:{sr(this,e);break}case E.IN_BODY:case E.IN_CAPTION:case E.IN_CELL:case E.IN_TEMPLATE:{Yu(this,e);break}case E.TEXT:case E.IN_SELECT:case E.IN_SELECT_IN_TABLE:{this._insertCharacters(e);break}case E.IN_TABLE:case E.IN_TABLE_BODY:case E.IN_ROW:{es(this,e);break}case E.IN_TABLE_TEXT:{zu(this,e);break}case E.IN_COLUMN_GROUP:{on(this,e);break}case E.AFTER_BODY:{fn(this,e);break}case E.AFTER_AFTER_BODY:{hn(this,e);break}}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Rg(this,e);return}switch(this.insertionMode){case E.INITIAL:{er(this,e);break}case E.BEFORE_HTML:{tr(this,e);break}case E.BEFORE_HEAD:{rr(this,e);break}case E.IN_HEAD:{nr(this,e);break}case E.IN_HEAD_NO_SCRIPT:{ar(this,e);break}case E.AFTER_HEAD:{sr(this,e);break}case E.TEXT:{this._insertCharacters(e);break}case E.IN_TABLE:case E.IN_TABLE_BODY:case E.IN_ROW:{es(this,e);break}case E.IN_COLUMN_GROUP:{on(this,e);break}case E.AFTER_BODY:{fn(this,e);break}case E.AFTER_AFTER_BODY:{hn(this,e);break}}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){za(this,e);return}switch(this.insertionMode){case E.INITIAL:case E.BEFORE_HTML:case E.BEFORE_HEAD:case E.IN_HEAD:case E.IN_HEAD_NO_SCRIPT:case E.AFTER_HEAD:case E.IN_BODY:case E.IN_TABLE:case E.IN_CAPTION:case E.IN_COLUMN_GROUP:case E.IN_TABLE_BODY:case E.IN_ROW:case E.IN_CELL:case E.IN_SELECT:case E.IN_SELECT_IN_TABLE:case E.IN_TEMPLATE:case E.IN_FRAMESET:case E.AFTER_FRAMESET:{za(this,e);break}case E.IN_TABLE_TEXT:{or(this,e);break}case E.AFTER_BODY:{gB(this,e);break}case E.AFTER_AFTER_BODY:case E.AFTER_AFTER_FRAMESET:{EB(this,e);break}}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case E.INITIAL:{pB(this,e);break}case E.BEFORE_HEAD:case E.IN_HEAD:case E.IN_HEAD_NO_SCRIPT:case E.AFTER_HEAD:{this._err(e,b.misplacedDoctype);break}case E.IN_TABLE_TEXT:{or(this,e);break}}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,b.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?kg(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case E.INITIAL:{er(this,e);break}case E.BEFORE_HTML:{mB(this,e);break}case E.BEFORE_HEAD:{wB(this,e);break}case E.IN_HEAD:{ce(this,e);break}case E.IN_HEAD_NO_SCRIPT:{UB(this,e);break}case E.AFTER_HEAD:{FB(this,e);break}case E.IN_BODY:{PA(this,e);break}case E.IN_TABLE:{bt(this,e);break}case E.IN_TABLE_TEXT:{or(this,e);break}case E.IN_CAPTION:{Tg(this,e);break}case E.IN_COLUMN_GROUP:{ts(this,e);break}case E.IN_TABLE_BODY:{cn(this,e);break}case E.IN_ROW:{ln(this,e);break}case E.IN_CELL:{Qg(this,e);break}case E.IN_SELECT:{to(this,e);break}case E.IN_SELECT_IN_TABLE:{Ig(this,e);break}case E.IN_TEMPLATE:{yg(this,e);break}case E.AFTER_BODY:{vg(this,e);break}case E.IN_FRAMESET:{Sg(this,e);break}case E.AFTER_FRAMESET:{Lg(this,e);break}case E.AFTER_AFTER_BODY:{Dg(this,e);break}case E.AFTER_AFTER_FRAMESET:{Og(this,e);break}}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?Pg(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case E.INITIAL:{er(this,e);break}case E.BEFORE_HTML:{CB(this,e);break}case E.BEFORE_HEAD:{TB(this,e);break}case E.IN_HEAD:{bB(this,e);break}case E.IN_HEAD_NO_SCRIPT:{QB(this,e);break}case E.AFTER_HEAD:{IB(this,e);break}case E.IN_BODY:{un(this,e);break}case E.TEXT:{fg(this,e);break}case E.IN_TABLE:{ir(this,e);break}case E.IN_TABLE_TEXT:{or(this,e);break}case E.IN_CAPTION:{bg(this,e);break}case E.IN_COLUMN_GROUP:{Ug(this,e);break}case E.IN_TABLE_BODY:{rs(this,e);break}case E.IN_ROW:{eo(this,e);break}case E.IN_CELL:{Fg(this,e);break}case E.IN_SELECT:{ro(this,e);break}case E.IN_SELECT_IN_TABLE:{_g(this,e);break}case E.IN_TEMPLATE:{Ng(this,e);break}case E.AFTER_BODY:{ao(this,e);break}case E.IN_FRAMESET:{xg(this,e);break}case E.AFTER_FRAMESET:{Hg(this,e);break}case E.AFTER_AFTER_BODY:{hn(this,e);break}}}onEof(e){switch(this.insertionMode){case E.INITIAL:{er(this,e);break}case E.BEFORE_HTML:{tr(this,e);break}case E.BEFORE_HEAD:{rr(this,e);break}case E.IN_HEAD:{nr(this,e);break}case E.IN_HEAD_NO_SCRIPT:{ar(this,e);break}case E.AFTER_HEAD:{sr(this,e);break}case E.IN_BODY:case E.IN_TABLE:case E.IN_CAPTION:case E.IN_COLUMN_GROUP:case E.IN_TABLE_BODY:case E.IN_ROW:case E.IN_CELL:case E.IN_SELECT:case E.IN_SELECT_IN_TABLE:{$u(this,e);break}case E.TEXT:{hg(this,e);break}case E.IN_TABLE_TEXT:{or(this,e);break}case E.IN_TEMPLATE:{no(this,e);break}case E.AFTER_BODY:case E.IN_FRAMESET:case E.AFTER_FRAMESET:case E.AFTER_AFTER_BODY:case E.AFTER_AFTER_FRAMESET:{As(this,e);break}}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===B.LINE_FEED)){if(e.chars.length===1)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case E.IN_HEAD:case E.IN_HEAD_NO_SCRIPT:case E.AFTER_HEAD:case E.TEXT:case E.IN_COLUMN_GROUP:case E.IN_SELECT:case E.IN_SELECT_IN_TABLE:case E.IN_FRAMESET:case E.AFTER_FRAMESET:{this._insertCharacters(e);break}case E.IN_BODY:case E.IN_CAPTION:case E.IN_CELL:case E.IN_TEMPLATE:case E.AFTER_BODY:case E.AFTER_AFTER_BODY:case E.AFTER_AFTER_FRAMESET:{Gu(this,e);break}case E.IN_TABLE:case E.IN_TABLE_BODY:case E.IN_ROW:{es(this,e);break}case E.IN_TABLE_TEXT:{Zu(this,e);break}}}};function cB(A,e){let t=A.activeFormattingElements.getElementEntryInScopeWithTagName(e.tagName);return t?A.openElements.contains(t.element)?A.openElements.hasInScope(e.tagID)||(t=null):(A.activeFormattingElements.removeEntry(t),t=null):ju(A,e),t}function lB(A,e){let t=null,r=A.openElements.stackTop;for(;r>=0;r--){const n=A.openElements.items[r];if(n===e.element)break;A._isSpecialElement(n,A.openElements.tagIDs[r])&&(t=n)}return t||(A.openElements.shortenToLength(r<0?0:r),A.activeFormattingElements.removeEntry(e)),t}function fB(A,e,t){let r=e,n=A.openElements.getCommonAncestor(e);for(let a=0,s=n;s!==t;a++,s=n){n=A.openElements.getCommonAncestor(s);const u=A.activeFormattingElements.getElementEntry(s),o=u&&a>=uB;!u||o?(o&&A.activeFormattingElements.removeEntry(u),A.openElements.remove(s)):(s=hB(A,u),r===e&&(A.activeFormattingElements.bookmark=u),A.treeAdapter.detachNode(r),A.treeAdapter.appendChild(s,r),r=s)}return r}function hB(A,e){const t=A.treeAdapter.getNamespaceURI(e.element),r=A.treeAdapter.createElement(e.token.tagName,t,e.token.attrs);return A.openElements.replace(e.element,r),e.element=r,r}function dB(A,e,t){const r=A.treeAdapter.getTagName(e),n=rn(r);if(A._isElementCausesFosterParenting(n))A._fosterParentElement(t);else{const a=A.treeAdapter.getNamespaceURI(e);n===i.TEMPLATE&&a===F.HTML&&(e=A.treeAdapter.getTemplateContent(e)),A.treeAdapter.appendChild(e,t)}}function BB(A,e,t){const r=A.treeAdapter.getNamespaceURI(t.element),{token:n}=t,a=A.treeAdapter.createElement(n.tagName,r,n.attrs);A._adoptNodes(e,a),A.treeAdapter.appendChild(e,a),A.activeFormattingElements.insertElementAfterBookmark(a,n),A.activeFormattingElements.removeEntry(t),A.openElements.remove(t.element),A.openElements.insertAfter(e,a,n.tagID)}function Za(A,e){for(let t=0;t<iB;t++){const r=cB(A,e);if(!r)break;const n=lB(A,r);if(!n)break;A.activeFormattingElements.bookmark=r;const a=fB(A,n,r.element),s=A.openElements.getCommonAncestor(r.element);A.treeAdapter.detachNode(a),s&&dB(A,s,a),BB(A,n,r)}}function za(A,e){A._appendCommentNode(e,A.openElements.currentTmplContentOrNode)}function gB(A,e){A._appendCommentNode(e,A.openElements.items[0])}function EB(A,e){A._appendCommentNode(e,A.document)}function As(A,e){if(A.stopped=!0,e.location){const t=A.fragmentContext?0:2;for(let r=A.openElements.stackTop;r>=t;r--)A._setEndLocation(A.openElements.items[r],e);if(!A.fragmentContext&&A.openElements.stackTop>=0){const r=A.openElements.items[0],n=A.treeAdapter.getNodeSourceCodeLocation(r);if(n&&!n.endTag&&(A._setEndLocation(r,e),A.openElements.stackTop>=1)){const a=A.openElements.items[1],s=A.treeAdapter.getNodeSourceCodeLocation(a);s&&!s.endTag&&A._setEndLocation(a,e)}}}}function pB(A,e){A._setDocumentType(e);const t=e.forceQuirks?ee.QUIRKS:Jd(e);Wd(e)||A._err(e,b.nonConformingDoctype),A.treeAdapter.setDocumentMode(A.document,t),A.insertionMode=E.BEFORE_HTML}function er(A,e){A._err(e,b.missingDoctype,!0),A.treeAdapter.setDocumentMode(A.document,ee.QUIRKS),A.insertionMode=E.BEFORE_HTML,A._processToken(e)}function mB(A,e){e.tagID===i.HTML?(A._insertElement(e,F.HTML),A.insertionMode=E.BEFORE_HEAD):tr(A,e)}function CB(A,e){const t=e.tagID;(t===i.HTML||t===i.HEAD||t===i.BODY||t===i.BR)&&tr(A,e)}function tr(A,e){A._insertFakeRootElement(),A.insertionMode=E.BEFORE_HEAD,A._processToken(e)}function wB(A,e){switch(e.tagID){case i.HTML:{PA(A,e);break}case i.HEAD:{A._insertElement(e,F.HTML),A.headElement=A.openElements.current,A.insertionMode=E.IN_HEAD;break}default:rr(A,e)}}function TB(A,e){const t=e.tagID;t===i.HEAD||t===i.BODY||t===i.HTML||t===i.BR?rr(A,e):A._err(e,b.endTagWithoutMatchingOpenElement)}function rr(A,e){A._insertFakeElement(w.HEAD,i.HEAD),A.headElement=A.openElements.current,A.insertionMode=E.IN_HEAD,A._processToken(e)}function ce(A,e){switch(e.tagID){case i.HTML:{PA(A,e);break}case i.BASE:case i.BASEFONT:case i.BGSOUND:case i.LINK:case i.META:{A._appendElement(e,F.HTML),e.ackSelfClosing=!0;break}case i.TITLE:{A._switchToTextParsing(e,jA.RCDATA);break}case i.NOSCRIPT:{A.options.scriptingEnabled?A._switchToTextParsing(e,jA.RAWTEXT):(A._insertElement(e,F.HTML),A.insertionMode=E.IN_HEAD_NO_SCRIPT);break}case i.NOFRAMES:case i.STYLE:{A._switchToTextParsing(e,jA.RAWTEXT);break}case i.SCRIPT:{A._switchToTextParsing(e,jA.SCRIPT_DATA);break}case i.TEMPLATE:{A._insertTemplate(e),A.activeFormattingElements.insertMarker(),A.framesetOk=!1,A.insertionMode=E.IN_TEMPLATE,A.tmplInsertionModeStack.unshift(E.IN_TEMPLATE);break}case i.HEAD:{A._err(e,b.misplacedStartTagForHeadElement);break}default:nr(A,e)}}function bB(A,e){switch(e.tagID){case i.HEAD:{A.openElements.pop(),A.insertionMode=E.AFTER_HEAD;break}case i.BODY:case i.BR:case i.HTML:{nr(A,e);break}case i.TEMPLATE:{it(A,e);break}default:A._err(e,b.endTagWithoutMatchingOpenElement)}}function it(A,e){A.openElements.tmplCount>0?(A.openElements.generateImpliedEndTagsThoroughly(),A.openElements.currentTagId!==i.TEMPLATE&&A._err(e,b.closingOfElementWithOpenChildElements),A.openElements.popUntilTagNamePopped(i.TEMPLATE),A.activeFormattingElements.clearToLastMarker(),A.tmplInsertionModeStack.shift(),A._resetInsertionMode()):A._err(e,b.endTagWithoutMatchingOpenElement)}function nr(A,e){A.openElements.pop(),A.insertionMode=E.AFTER_HEAD,A._processToken(e)}function UB(A,e){switch(e.tagID){case i.HTML:{PA(A,e);break}case i.BASEFONT:case i.BGSOUND:case i.HEAD:case i.LINK:case i.META:case i.NOFRAMES:case i.STYLE:{ce(A,e);break}case i.NOSCRIPT:{A._err(e,b.nestedNoscriptInHead);break}default:ar(A,e)}}function QB(A,e){switch(e.tagID){case i.NOSCRIPT:{A.openElements.pop(),A.insertionMode=E.IN_HEAD;break}case i.BR:{ar(A,e);break}default:A._err(e,b.endTagWithoutMatchingOpenElement)}}function ar(A,e){const t=e.type===eA.EOF?b.openElementsLeftAfterEof:b.disallowedContentInNoscriptInHead;A._err(e,t),A.openElements.pop(),A.insertionMode=E.IN_HEAD,A._processToken(e)}function FB(A,e){switch(e.tagID){case i.HTML:{PA(A,e);break}case i.BODY:{A._insertElement(e,F.HTML),A.framesetOk=!1,A.insertionMode=E.IN_BODY;break}case i.FRAMESET:{A._insertElement(e,F.HTML),A.insertionMode=E.IN_FRAMESET;break}case i.BASE:case i.BASEFONT:case i.BGSOUND:case i.LINK:case i.META:case i.NOFRAMES:case i.SCRIPT:case i.STYLE:case i.TEMPLATE:case i.TITLE:{A._err(e,b.abandonedHeadElementChild),A.openElements.push(A.headElement,i.HEAD),ce(A,e),A.openElements.remove(A.headElement);break}case i.HEAD:{A._err(e,b.misplacedStartTagForHeadElement);break}default:sr(A,e)}}function IB(A,e){switch(e.tagID){case i.BODY:case i.HTML:case i.BR:{sr(A,e);break}case i.TEMPLATE:{it(A,e);break}default:A._err(e,b.endTagWithoutMatchingOpenElement)}}function sr(A,e){A._insertFakeElement(w.BODY,i.BODY),A.insertionMode=E.IN_BODY,sn(A,e)}function sn(A,e){switch(e.type){case eA.CHARACTER:{Yu(A,e);break}case eA.WHITESPACE_CHARACTER:{Gu(A,e);break}case eA.COMMENT:{za(A,e);break}case eA.START_TAG:{PA(A,e);break}case eA.END_TAG:{un(A,e);break}case eA.EOF:{$u(A,e);break}}}function Gu(A,e){A._reconstructActiveFormattingElements(),A._insertCharacters(e)}function Yu(A,e){A._reconstructActiveFormattingElements(),A._insertCharacters(e),A.framesetOk=!1}function _B(A,e){A.openElements.tmplCount===0&&A.treeAdapter.adoptAttributes(A.openElements.items[0],e.attrs)}function yB(A,e){const t=A.openElements.tryPeekProperlyNestedBodyElement();t&&A.openElements.tmplCount===0&&(A.framesetOk=!1,A.treeAdapter.adoptAttributes(t,e.attrs))}function NB(A,e){const t=A.openElements.tryPeekProperlyNestedBodyElement();A.framesetOk&&t&&(A.treeAdapter.detachNode(t),A.openElements.popAllUpToHtmlElement(),A._insertElement(e,F.HTML),A.insertionMode=E.IN_FRAMESET)}function vB(A,e){A.openElements.hasInButtonScope(i.P)&&A._closePElement(),A._insertElement(e,F.HTML)}function SB(A,e){A.openElements.hasInButtonScope(i.P)&&A._closePElement(),qa.has(A.openElements.currentTagId)&&A.openElements.pop(),A._insertElement(e,F.HTML)}function xB(A,e){A.openElements.hasInButtonScope(i.P)&&A._closePElement(),A._insertElement(e,F.HTML),A.skipNextNewLine=!0,A.framesetOk=!1}function LB(A,e){const t=A.openElements.tmplCount>0;(!A.formElement||t)&&(A.openElements.hasInButtonScope(i.P)&&A._closePElement(),A._insertElement(e,F.HTML),t||(A.formElement=A.openElements.current))}function HB(A,e){A.framesetOk=!1;const t=e.tagID;for(let r=A.openElements.stackTop;r>=0;r--){const n=A.openElements.tagIDs[r];if(t===i.LI&&n===i.LI||(t===i.DD||t===i.DT)&&(n===i.DD||n===i.DT)){A.openElements.generateImpliedEndTagsWithExclusion(n),A.openElements.popUntilTagNamePopped(n);break}if(n!==i.ADDRESS&&n!==i.DIV&&n!==i.P&&A._isSpecialElement(A.openElements.items[r],n))break}A.openElements.hasInButtonScope(i.P)&&A._closePElement(),A._insertElement(e,F.HTML)}function DB(A,e){A.openElements.hasInButtonScope(i.P)&&A._closePElement(),A._insertElement(e,F.HTML),A.tokenizer.state=jA.PLAINTEXT}function OB(A,e){A.openElements.hasInScope(i.BUTTON)&&(A.openElements.generateImpliedEndTags(),A.openElements.popUntilTagNamePopped(i.BUTTON)),A._reconstructActiveFormattingElements(),A._insertElement(e,F.HTML),A.framesetOk=!1}function RB(A,e){const t=A.activeFormattingElements.getElementEntryInScopeWithTagName(w.A);t&&(Za(A,e),A.openElements.remove(t.element),A.activeFormattingElements.removeEntry(t)),A._reconstructActiveFormattingElements(),A._insertElement(e,F.HTML),A.activeFormattingElements.pushElement(A.openElements.current,e)}function MB(A,e){A._reconstructActiveFormattingElements(),A._insertElement(e,F.HTML),A.activeFormattingElements.pushElement(A.openElements.current,e)}function kB(A,e){A._reconstructActiveFormattingElements(),A.openElements.hasInScope(i.NOBR)&&(Za(A,e),A._reconstructActiveFormattingElements()),A._insertElement(e,F.HTML),A.activeFormattingElements.pushElement(A.openElements.current,e)}function PB(A,e){A._reconstructActiveFormattingElements(),A._insertElement(e,F.HTML),A.activeFormattingElements.insertMarker(),A.framesetOk=!1}function KB(A,e){A.treeAdapter.getDocumentMode(A.document)!==ee.QUIRKS&&A.openElements.hasInButtonScope(i.P)&&A._closePElement(),A._insertElement(e,F.HTML),A.framesetOk=!1,A.insertionMode=E.IN_TABLE}function Xu(A,e){A._reconstructActiveFormattingElements(),A._appendElement(e,F.HTML),A.framesetOk=!1,e.ackSelfClosing=!0}function Wu(A){const e=Qu(A,st.TYPE);return e!=null&&e.toLowerCase()===sB}function VB(A,e){A._reconstructActiveFormattingElements(),A._appendElement(e,F.HTML),Wu(e)||(A.framesetOk=!1),e.ackSelfClosing=!0}function GB(A,e){A._appendElement(e,F.HTML),e.ackSelfClosing=!0}function YB(A,e){A.openElements.hasInButtonScope(i.P)&&A._closePElement(),A._appendElement(e,F.HTML),A.framesetOk=!1,e.ackSelfClosing=!0}function XB(A,e){e.tagName=w.IMG,e.tagID=i.IMG,Xu(A,e)}function WB(A,e){A._insertElement(e,F.HTML),A.skipNextNewLine=!0,A.tokenizer.state=jA.RCDATA,A.originalInsertionMode=A.insertionMode,A.framesetOk=!1,A.insertionMode=E.TEXT}function JB(A,e){A.openElements.hasInButtonScope(i.P)&&A._closePElement(),A._reconstructActiveFormattingElements(),A.framesetOk=!1,A._switchToTextParsing(e,jA.RAWTEXT)}function qB(A,e){A.framesetOk=!1,A._switchToTextParsing(e,jA.RAWTEXT)}function Ju(A,e){A._switchToTextParsing(e,jA.RAWTEXT)}function jB(A,e){A._reconstructActiveFormattingElements(),A._insertElement(e,F.HTML),A.framesetOk=!1,A.insertionMode=A.insertionMode===E.IN_TABLE||A.insertionMode===E.IN_CAPTION||A.insertionMode===E.IN_TABLE_BODY||A.insertionMode===E.IN_ROW||A.insertionMode===E.IN_CELL?E.IN_SELECT_IN_TABLE:E.IN_SELECT}function $B(A,e){A.openElements.currentTagId===i.OPTION&&A.openElements.pop(),A._reconstructActiveFormattingElements(),A._insertElement(e,F.HTML)}function ZB(A,e){A.openElements.hasInScope(i.RUBY)&&A.openElements.generateImpliedEndTags(),A._insertElement(e,F.HTML)}function zB(A,e){A.openElements.hasInScope(i.RUBY)&&A.openElements.generateImpliedEndTagsWithExclusion(i.RTC),A._insertElement(e,F.HTML)}function Ag(A,e){A._reconstructActiveFormattingElements(),Mu(e),$a(e),e.selfClosing?A._appendElement(e,F.MATHML):A._insertElement(e,F.MATHML),e.ackSelfClosing=!0}function eg(A,e){A._reconstructActiveFormattingElements(),ku(e),$a(e),e.selfClosing?A._appendElement(e,F.SVG):A._insertElement(e,F.SVG),e.ackSelfClosing=!0}function qu(A,e){A._reconstructActiveFormattingElements(),A._insertElement(e,F.HTML)}function PA(A,e){switch(e.tagID){case i.I:case i.S:case i.B:case i.U:case i.EM:case i.TT:case i.BIG:case i.CODE:case i.FONT:case i.SMALL:case i.STRIKE:case i.STRONG:{MB(A,e);break}case i.A:{RB(A,e);break}case i.H1:case i.H2:case i.H3:case i.H4:case i.H5:case i.H6:{SB(A,e);break}case i.P:case i.DL:case i.OL:case i.UL:case i.DIV:case i.DIR:case i.NAV:case i.MAIN:case i.MENU:case i.ASIDE:case i.CENTER:case i.FIGURE:case i.FOOTER:case i.HEADER:case i.HGROUP:case i.DIALOG:case i.DETAILS:case i.ADDRESS:case i.ARTICLE:case i.SEARCH:case i.SECTION:case i.SUMMARY:case i.FIELDSET:case i.BLOCKQUOTE:case i.FIGCAPTION:{vB(A,e);break}case i.LI:case i.DD:case i.DT:{HB(A,e);break}case i.BR:case i.IMG:case i.WBR:case i.AREA:case i.EMBED:case i.KEYGEN:{Xu(A,e);break}case i.HR:{YB(A,e);break}case i.RB:case i.RTC:{ZB(A,e);break}case i.RT:case i.RP:{zB(A,e);break}case i.PRE:case i.LISTING:{xB(A,e);break}case i.XMP:{JB(A,e);break}case i.SVG:{eg(A,e);break}case i.HTML:{_B(A,e);break}case i.BASE:case i.LINK:case i.META:case i.STYLE:case i.TITLE:case i.SCRIPT:case i.BGSOUND:case i.BASEFONT:case i.TEMPLATE:{ce(A,e);break}case i.BODY:{yB(A,e);break}case i.FORM:{LB(A,e);break}case i.NOBR:{kB(A,e);break}case i.MATH:{Ag(A,e);break}case i.TABLE:{KB(A,e);break}case i.INPUT:{VB(A,e);break}case i.PARAM:case i.TRACK:case i.SOURCE:{GB(A,e);break}case i.IMAGE:{XB(A,e);break}case i.BUTTON:{OB(A,e);break}case i.APPLET:case i.OBJECT:case i.MARQUEE:{PB(A,e);break}case i.IFRAME:{qB(A,e);break}case i.SELECT:{jB(A,e);break}case i.OPTION:case i.OPTGROUP:{$B(A,e);break}case i.NOEMBED:case i.NOFRAMES:{Ju(A,e);break}case i.FRAMESET:{NB(A,e);break}case i.TEXTAREA:{WB(A,e);break}case i.NOSCRIPT:{A.options.scriptingEnabled?Ju(A,e):qu(A,e);break}case i.PLAINTEXT:{DB(A,e);break}case i.COL:case i.TH:case i.TD:case i.TR:case i.HEAD:case i.FRAME:case i.TBODY:case i.TFOOT:case i.THEAD:case i.CAPTION:case i.COLGROUP:break;default:qu(A,e)}}function tg(A,e){if(A.openElements.hasInScope(i.BODY)&&(A.insertionMode=E.AFTER_BODY,A.options.sourceCodeLocationInfo)){const t=A.openElements.tryPeekProperlyNestedBodyElement();t&&A._setEndLocation(t,e)}}function rg(A,e){A.openElements.hasInScope(i.BODY)&&(A.insertionMode=E.AFTER_BODY,ao(A,e))}function ng(A,e){const t=e.tagID;A.openElements.hasInScope(t)&&(A.openElements.generateImpliedEndTags(),A.openElements.popUntilTagNamePopped(t))}function ag(A){const e=A.openElements.tmplCount>0,{formElement:t}=A;e||(A.formElement=null),(t||e)&&A.openElements.hasInScope(i.FORM)&&(A.openElements.generateImpliedEndTags(),e?A.openElements.popUntilTagNamePopped(i.FORM):t&&A.openElements.remove(t))}function sg(A){A.openElements.hasInButtonScope(i.P)||A._insertFakeElement(w.P,i.P),A._closePElement()}function ig(A){A.openElements.hasInListItemScope(i.LI)&&(A.openElements.generateImpliedEndTagsWithExclusion(i.LI),A.openElements.popUntilTagNamePopped(i.LI))}function ug(A,e){const t=e.tagID;A.openElements.hasInScope(t)&&(A.openElements.generateImpliedEndTagsWithExclusion(t),A.openElements.popUntilTagNamePopped(t))}function og(A){A.openElements.hasNumberedHeaderInScope()&&(A.openElements.generateImpliedEndTags(),A.openElements.popUntilNumberedHeaderPopped())}function cg(A,e){const t=e.tagID;A.openElements.hasInScope(t)&&(A.openElements.generateImpliedEndTags(),A.openElements.popUntilTagNamePopped(t),A.activeFormattingElements.clearToLastMarker())}function lg(A){A._reconstructActiveFormattingElements(),A._insertFakeElement(w.BR,i.BR),A.openElements.pop(),A.framesetOk=!1}function ju(A,e){const t=e.tagName,r=e.tagID;for(let n=A.openElements.stackTop;n>0;n--){const a=A.openElements.items[n],s=A.openElements.tagIDs[n];if(r===s&&(r!==i.UNKNOWN||A.treeAdapter.getTagName(a)===t)){A.openElements.generateImpliedEndTagsWithExclusion(r),A.openElements.stackTop>=n&&A.openElements.shortenToLength(n);break}if(A._isSpecialElement(a,s))break}}function un(A,e){switch(e.tagID){case i.A:case i.B:case i.I:case i.S:case i.U:case i.EM:case i.TT:case i.BIG:case i.CODE:case i.FONT:case i.NOBR:case i.SMALL:case i.STRIKE:case i.STRONG:{Za(A,e);break}case i.P:{sg(A);break}case i.DL:case i.UL:case i.OL:case i.DIR:case i.DIV:case i.NAV:case i.PRE:case i.MAIN:case i.MENU:case i.ASIDE:case i.BUTTON:case i.CENTER:case i.FIGURE:case i.FOOTER:case i.HEADER:case i.HGROUP:case i.DIALOG:case i.ADDRESS:case i.ARTICLE:case i.DETAILS:case i.SEARCH:case i.SECTION:case i.SUMMARY:case i.LISTING:case i.FIELDSET:case i.BLOCKQUOTE:case i.FIGCAPTION:{ng(A,e);break}case i.LI:{ig(A);break}case i.DD:case i.DT:{ug(A,e);break}case i.H1:case i.H2:case i.H3:case i.H4:case i.H5:case i.H6:{og(A);break}case i.BR:{lg(A);break}case i.BODY:{tg(A,e);break}case i.HTML:{rg(A,e);break}case i.FORM:{ag(A);break}case i.APPLET:case i.OBJECT:case i.MARQUEE:{cg(A,e);break}case i.TEMPLATE:{it(A,e);break}default:ju(A,e)}}function $u(A,e){A.tmplInsertionModeStack.length>0?no(A,e):As(A,e)}function fg(A,e){var t;e.tagID===i.SCRIPT&&((t=A.scriptHandler)===null||t===void 0||t.call(A,A.openElements.current)),A.openElements.pop(),A.insertionMode=A.originalInsertionMode}function hg(A,e){A._err(e,b.eofInElementThatCanContainOnlyText),A.openElements.pop(),A.insertionMode=A.originalInsertionMode,A.onEof(e)}function es(A,e){if(Pu.has(A.openElements.currentTagId))switch(A.pendingCharacterTokens.length=0,A.hasNonWhitespacePendingCharacterToken=!1,A.originalInsertionMode=A.insertionMode,A.insertionMode=E.IN_TABLE_TEXT,e.type){case eA.CHARACTER:{zu(A,e);break}case eA.WHITESPACE_CHARACTER:{Zu(A,e);break}}else ur(A,e)}function dg(A,e){A.openElements.clearBackToTableContext(),A.activeFormattingElements.insertMarker(),A._insertElement(e,F.HTML),A.insertionMode=E.IN_CAPTION}function Bg(A,e){A.openElements.clearBackToTableContext(),A._insertElement(e,F.HTML),A.insertionMode=E.IN_COLUMN_GROUP}function gg(A,e){A.openElements.clearBackToTableContext(),A._insertFakeElement(w.COLGROUP,i.COLGROUP),A.insertionMode=E.IN_COLUMN_GROUP,ts(A,e)}function Eg(A,e){A.openElements.clearBackToTableContext(),A._insertElement(e,F.HTML),A.insertionMode=E.IN_TABLE_BODY}function pg(A,e){A.openElements.clearBackToTableContext(),A._insertFakeElement(w.TBODY,i.TBODY),A.insertionMode=E.IN_TABLE_BODY,cn(A,e)}function mg(A,e){A.openElements.hasInTableScope(i.TABLE)&&(A.openElements.popUntilTagNamePopped(i.TABLE),A._resetInsertionMode(),A._processStartTag(e))}function Cg(A,e){Wu(e)?A._appendElement(e,F.HTML):ur(A,e),e.ackSelfClosing=!0}function wg(A,e){!A.formElement&&A.openElements.tmplCount===0&&(A._insertElement(e,F.HTML),A.formElement=A.openElements.current,A.openElements.pop())}function bt(A,e){switch(e.tagID){case i.TD:case i.TH:case i.TR:{pg(A,e);break}case i.STYLE:case i.SCRIPT:case i.TEMPLATE:{ce(A,e);break}case i.COL:{gg(A,e);break}case i.FORM:{wg(A,e);break}case i.TABLE:{mg(A,e);break}case i.TBODY:case i.TFOOT:case i.THEAD:{Eg(A,e);break}case i.INPUT:{Cg(A,e);break}case i.CAPTION:{dg(A,e);break}case i.COLGROUP:{Bg(A,e);break}default:ur(A,e)}}function ir(A,e){switch(e.tagID){case i.TABLE:{A.openElements.hasInTableScope(i.TABLE)&&(A.openElements.popUntilTagNamePopped(i.TABLE),A._resetInsertionMode());break}case i.TEMPLATE:{it(A,e);break}case i.BODY:case i.CAPTION:case i.COL:case i.COLGROUP:case i.HTML:case i.TBODY:case i.TD:case i.TFOOT:case i.TH:case i.THEAD:case i.TR:break;default:ur(A,e)}}function ur(A,e){const t=A.fosterParentingEnabled;A.fosterParentingEnabled=!0,sn(A,e),A.fosterParentingEnabled=t}function Zu(A,e){A.pendingCharacterTokens.push(e)}function zu(A,e){A.pendingCharacterTokens.push(e),A.hasNonWhitespacePendingCharacterToken=!0}function or(A,e){let t=0;if(A.hasNonWhitespacePendingCharacterToken)for(;t<A.pendingCharacterTokens.length;t++)ur(A,A.pendingCharacterTokens[t]);else for(;t<A.pendingCharacterTokens.length;t++)A._insertCharacters(A.pendingCharacterTokens[t]);A.insertionMode=A.originalInsertionMode,A._processToken(e)}const Ao=new Set([i.CAPTION,i.COL,i.COLGROUP,i.TBODY,i.TD,i.TFOOT,i.TH,i.THEAD,i.TR]);function Tg(A,e){const t=e.tagID;Ao.has(t)?A.openElements.hasInTableScope(i.CAPTION)&&(A.openElements.generateImpliedEndTags(),A.openElements.popUntilTagNamePopped(i.CAPTION),A.activeFormattingElements.clearToLastMarker(),A.insertionMode=E.IN_TABLE,bt(A,e)):PA(A,e)}function bg(A,e){const t=e.tagID;switch(t){case i.CAPTION:case i.TABLE:{A.openElements.hasInTableScope(i.CAPTION)&&(A.openElements.generateImpliedEndTags(),A.openElements.popUntilTagNamePopped(i.CAPTION),A.activeFormattingElements.clearToLastMarker(),A.insertionMode=E.IN_TABLE,t===i.TABLE&&ir(A,e));break}case i.BODY:case i.COL:case i.COLGROUP:case i.HTML:case i.TBODY:case i.TD:case i.TFOOT:case i.TH:case i.THEAD:case i.TR:break;default:un(A,e)}}function ts(A,e){switch(e.tagID){case i.HTML:{PA(A,e);break}case i.COL:{A._appendElement(e,F.HTML),e.ackSelfClosing=!0;break}case i.TEMPLATE:{ce(A,e);break}default:on(A,e)}}function Ug(A,e){switch(e.tagID){case i.COLGROUP:{A.openElements.currentTagId===i.COLGROUP&&(A.openElements.pop(),A.insertionMode=E.IN_TABLE);break}case i.TEMPLATE:{it(A,e);break}case i.COL:break;default:on(A,e)}}function on(A,e){A.openElements.currentTagId===i.COLGROUP&&(A.openElements.pop(),A.insertionMode=E.IN_TABLE,A._processToken(e))}function cn(A,e){switch(e.tagID){case i.TR:{A.openElements.clearBackToTableBodyContext(),A._insertElement(e,F.HTML),A.insertionMode=E.IN_ROW;break}case i.TH:case i.TD:{A.openElements.clearBackToTableBodyContext(),A._insertFakeElement(w.TR,i.TR),A.insertionMode=E.IN_ROW,ln(A,e);break}case i.CAPTION:case i.COL:case i.COLGROUP:case i.TBODY:case i.TFOOT:case i.THEAD:{A.openElements.hasTableBodyContextInTableScope()&&(A.openElements.clearBackToTableBodyContext(),A.openElements.pop(),A.insertionMode=E.IN_TABLE,bt(A,e));break}default:bt(A,e)}}function rs(A,e){const t=e.tagID;switch(e.tagID){case i.TBODY:case i.TFOOT:case i.THEAD:{A.openElements.hasInTableScope(t)&&(A.openElements.clearBackToTableBodyContext(),A.openElements.pop(),A.insertionMode=E.IN_TABLE);break}case i.TABLE:{A.openElements.hasTableBodyContextInTableScope()&&(A.openElements.clearBackToTableBodyContext(),A.openElements.pop(),A.insertionMode=E.IN_TABLE,ir(A,e));break}case i.BODY:case i.CAPTION:case i.COL:case i.COLGROUP:case i.HTML:case i.TD:case i.TH:case i.TR:break;default:ir(A,e)}}function ln(A,e){switch(e.tagID){case i.TH:case i.TD:{A.openElements.clearBackToTableRowContext(),A._insertElement(e,F.HTML),A.insertionMode=E.IN_CELL,A.activeFormattingElements.insertMarker();break}case i.CAPTION:case i.COL:case i.COLGROUP:case i.TBODY:case i.TFOOT:case i.THEAD:case i.TR:{A.openElements.hasInTableScope(i.TR)&&(A.openElements.clearBackToTableRowContext(),A.openElements.pop(),A.insertionMode=E.IN_TABLE_BODY,cn(A,e));break}default:bt(A,e)}}function eo(A,e){switch(e.tagID){case i.TR:{A.openElements.hasInTableScope(i.TR)&&(A.openElements.clearBackToTableRowContext(),A.openElements.pop(),A.insertionMode=E.IN_TABLE_BODY);break}case i.TABLE:{A.openElements.hasInTableScope(i.TR)&&(A.openElements.clearBackToTableRowContext(),A.openElements.pop(),A.insertionMode=E.IN_TABLE_BODY,rs(A,e));break}case i.TBODY:case i.TFOOT:case i.THEAD:{(A.openElements.hasInTableScope(e.tagID)||A.openElements.hasInTableScope(i.TR))&&(A.openElements.clearBackToTableRowContext(),A.openElements.pop(),A.insertionMode=E.IN_TABLE_BODY,rs(A,e));break}case i.BODY:case i.CAPTION:case i.COL:case i.COLGROUP:case i.HTML:case i.TD:case i.TH:break;default:ir(A,e)}}function Qg(A,e){const t=e.tagID;Ao.has(t)?(A.openElements.hasInTableScope(i.TD)||A.openElements.hasInTableScope(i.TH))&&(A._closeTableCell(),ln(A,e)):PA(A,e)}function Fg(A,e){const t=e.tagID;switch(t){case i.TD:case i.TH:{A.openElements.hasInTableScope(t)&&(A.openElements.generateImpliedEndTags(),A.openElements.popUntilTagNamePopped(t),A.activeFormattingElements.clearToLastMarker(),A.insertionMode=E.IN_ROW);break}case i.TABLE:case i.TBODY:case i.TFOOT:case i.THEAD:case i.TR:{A.openElements.hasInTableScope(t)&&(A._closeTableCell(),eo(A,e));break}case i.BODY:case i.CAPTION:case i.COL:case i.COLGROUP:case i.HTML:break;default:un(A,e)}}function to(A,e){switch(e.tagID){case i.HTML:{PA(A,e);break}case i.OPTION:{A.openElements.currentTagId===i.OPTION&&A.openElements.pop(),A._insertElement(e,F.HTML);break}case i.OPTGROUP:{A.openElements.currentTagId===i.OPTION&&A.openElements.pop(),A.openElements.currentTagId===i.OPTGROUP&&A.openElements.pop(),A._insertElement(e,F.HTML);break}case i.HR:{A.openElements.currentTagId===i.OPTION&&A.openElements.pop(),A.openElements.currentTagId===i.OPTGROUP&&A.openElements.pop(),A._appendElement(e,F.HTML),e.ackSelfClosing=!0;break}case i.INPUT:case i.KEYGEN:case i.TEXTAREA:case i.SELECT:{A.openElements.hasInSelectScope(i.SELECT)&&(A.openElements.popUntilTagNamePopped(i.SELECT),A._resetInsertionMode(),e.tagID!==i.SELECT&&A._processStartTag(e));break}case i.SCRIPT:case i.TEMPLATE:{ce(A,e);break}}}function ro(A,e){switch(e.tagID){case i.OPTGROUP:{A.openElements.stackTop>0&&A.openElements.currentTagId===i.OPTION&&A.openElements.tagIDs[A.openElements.stackTop-1]===i.OPTGROUP&&A.openElements.pop(),A.openElements.currentTagId===i.OPTGROUP&&A.openElements.pop();break}case i.OPTION:{A.openElements.currentTagId===i.OPTION&&A.openElements.pop();break}case i.SELECT:{A.openElements.hasInSelectScope(i.SELECT)&&(A.openElements.popUntilTagNamePopped(i.SELECT),A._resetInsertionMode());break}case i.TEMPLATE:{it(A,e);break}}}function Ig(A,e){const t=e.tagID;t===i.CAPTION||t===i.TABLE||t===i.TBODY||t===i.TFOOT||t===i.THEAD||t===i.TR||t===i.TD||t===i.TH?(A.openElements.popUntilTagNamePopped(i.SELECT),A._resetInsertionMode(),A._processStartTag(e)):to(A,e)}function _g(A,e){const t=e.tagID;t===i.CAPTION||t===i.TABLE||t===i.TBODY||t===i.TFOOT||t===i.THEAD||t===i.TR||t===i.TD||t===i.TH?A.openElements.hasInTableScope(t)&&(A.openElements.popUntilTagNamePopped(i.SELECT),A._resetInsertionMode(),A.onEndTag(e)):ro(A,e)}function yg(A,e){switch(e.tagID){case i.BASE:case i.BASEFONT:case i.BGSOUND:case i.LINK:case i.META:case i.NOFRAMES:case i.SCRIPT:case i.STYLE:case i.TEMPLATE:case i.TITLE:{ce(A,e);break}case i.CAPTION:case i.COLGROUP:case i.TBODY:case i.TFOOT:case i.THEAD:{A.tmplInsertionModeStack[0]=E.IN_TABLE,A.insertionMode=E.IN_TABLE,bt(A,e);break}case i.COL:{A.tmplInsertionModeStack[0]=E.IN_COLUMN_GROUP,A.insertionMode=E.IN_COLUMN_GROUP,ts(A,e);break}case i.TR:{A.tmplInsertionModeStack[0]=E.IN_TABLE_BODY,A.insertionMode=E.IN_TABLE_BODY,cn(A,e);break}case i.TD:case i.TH:{A.tmplInsertionModeStack[0]=E.IN_ROW,A.insertionMode=E.IN_ROW,ln(A,e);break}default:A.tmplInsertionModeStack[0]=E.IN_BODY,A.insertionMode=E.IN_BODY,PA(A,e)}}function Ng(A,e){e.tagID===i.TEMPLATE&&it(A,e)}function no(A,e){A.openElements.tmplCount>0?(A.openElements.popUntilTagNamePopped(i.TEMPLATE),A.activeFormattingElements.clearToLastMarker(),A.tmplInsertionModeStack.shift(),A._resetInsertionMode(),A.onEof(e)):As(A,e)}function vg(A,e){e.tagID===i.HTML?PA(A,e):fn(A,e)}function ao(A,e){var t;if(e.tagID===i.HTML){if(A.fragmentContext||(A.insertionMode=E.AFTER_AFTER_BODY),A.options.sourceCodeLocationInfo&&A.openElements.tagIDs[0]===i.HTML){A._setEndLocation(A.openElements.items[0],e);const r=A.openElements.items[1];r&&!(!((t=A.treeAdapter.getNodeSourceCodeLocation(r))===null||t===void 0)&&t.endTag)&&A._setEndLocation(r,e)}}else fn(A,e)}function fn(A,e){A.insertionMode=E.IN_BODY,sn(A,e)}function Sg(A,e){switch(e.tagID){case i.HTML:{PA(A,e);break}case i.FRAMESET:{A._insertElement(e,F.HTML);break}case i.FRAME:{A._appendElement(e,F.HTML),e.ackSelfClosing=!0;break}case i.NOFRAMES:{ce(A,e);break}}}function xg(A,e){e.tagID===i.FRAMESET&&!A.openElements.isRootHtmlElementCurrent()&&(A.openElements.pop(),!A.fragmentContext&&A.openElements.currentTagId!==i.FRAMESET&&(A.insertionMode=E.AFTER_FRAMESET))}function Lg(A,e){switch(e.tagID){case i.HTML:{PA(A,e);break}case i.NOFRAMES:{ce(A,e);break}}}function Hg(A,e){e.tagID===i.HTML&&(A.insertionMode=E.AFTER_AFTER_FRAMESET)}function Dg(A,e){e.tagID===i.HTML?PA(A,e):hn(A,e)}function hn(A,e){A.insertionMode=E.IN_BODY,sn(A,e)}function Og(A,e){switch(e.tagID){case i.HTML:{PA(A,e);break}case i.NOFRAMES:{ce(A,e);break}}}function Rg(A,e){e.chars=dA,A._insertCharacters(e)}function Mg(A,e){A._insertCharacters(e),A.framesetOk=!1}function so(A){for(;A.treeAdapter.getNamespaceURI(A.openElements.current)!==F.HTML&&!A._isIntegrationPoint(A.openElements.currentTagId,A.openElements.current);)A.openElements.pop()}function kg(A,e){if(eB(e))so(A),A._startTagOutsideForeignContent(e);else{const t=A._getAdjustedCurrentElement(),r=A.treeAdapter.getNamespaceURI(t);r===F.MATHML?Mu(e):r===F.SVG&&(tB(e),ku(e)),$a(e),e.selfClosing?A._appendElement(e,r):A._insertElement(e,r),e.ackSelfClosing=!0}}function Pg(A,e){if(e.tagID===i.P||e.tagID===i.BR){so(A),A._endTagOutsideForeignContent(e);return}for(let t=A.openElements.stackTop;t>0;t--){const r=A.openElements.items[t];if(A.treeAdapter.getNamespaceURI(r)===F.HTML){A._endTagOutsideForeignContent(e);break}const n=A.treeAdapter.getTagName(r);if(n.toLowerCase()===e.tagName){e.tagName=n,A.openElements.shortenToLength(t);break}}}const Kg=new Set([w.AREA,w.BASE,w.BASEFONT,w.BGSOUND,w.BR,w.COL,w.EMBED,w.FRAME,w.HR,w.IMG,w.INPUT,w.KEYGEN,w.LINK,w.META,w.PARAM,w.SOURCE,w.TRACK,w.WBR]);function Vg(A,e){return e.treeAdapter.isElementNode(A)&&e.treeAdapter.getNamespaceURI(A)===F.HTML&&Kg.has(e.treeAdapter.getTagName(A))}const Gg={treeAdapter:Ie,scriptingEnabled:!0};function Yg(A,e){const t={...Gg,...e};return io(A,t)}function Xg(A,e){let t="";const r=e.treeAdapter.isElementNode(A)&&e.treeAdapter.getTagName(A)===w.TEMPLATE&&e.treeAdapter.getNamespaceURI(A)===F.HTML?e.treeAdapter.getTemplateContent(A):A,n=e.treeAdapter.getChildNodes(r);if(n)for(const a of n)t+=io(a,e);return t}function io(A,e){return e.treeAdapter.isElementNode(A)?Wg(A,e):e.treeAdapter.isTextNode(A)?qg(A,e):e.treeAdapter.isCommentNode(A)?jg(A,e):e.treeAdapter.isDocumentTypeNode(A)?$g(A,e):""}function Wg(A,e){const t=e.treeAdapter.getTagName(A);return`<${t}${Jg(A,e)}>${Vg(A,e)?"":`${Xg(A,e)}</${t}>`}`}function Jg(A,{treeAdapter:e}){let t="";for(const r of e.getAttrList(A)){if(t+=" ",r.namespace)switch(r.namespace){case F.XML:{t+=`xml:${r.name}`;break}case F.XMLNS:{r.name!=="xmlns"&&(t+="xmlns:"),t+=r.name;break}case F.XLINK:{t+=`xlink:${r.name}`;break}default:t+=`${r.prefix}:${r.name}`}else t+=r.name;t+=`="${_i(r.value)}"`}return t}function qg(A,e){const{treeAdapter:t}=e,r=t.getTextNodeContent(A),n=t.getParentNode(A),a=n&&t.isElementNode(n)&&t.getTagName(n);return a&&t.getNamespaceURI(n)===F.HTML&&yd(a,e.scriptingEnabled)?r:yi(r)}function jg(A,{treeAdapter:e}){return`<!--${e.getCommentNodeContent(A)}-->`}function $g(A,{treeAdapter:e}){return`<!DOCTYPE ${e.getDocumentTypeNodeName(A)}>`}function Zg(A,e){return Vu.parse(A,e)}function zg(A,e,t){typeof A=="string"&&(t=e,e=A,A=null);const r=Vu.getFragmentParser(A,t);return r.tokenizer.write(e,!0),r.getFragment()}function uo(A){const e=A.includes('"')?"'":'"';return e+A+e}function AE(A,e,t){let r="!DOCTYPE ";return A&&(r+=A),e?r+=` PUBLIC ${uo(e)}`:t&&(r+=" SYSTEM"),t&&(r+=` ${uo(t)}`),r}const Me={isCommentNode:kr,isElementNode:W,isTextNode:Ee,createDocument(){const A=new et([]);return A["x-mode"]=ee.NO_QUIRKS,A},createDocumentFragment(){return new et([])},createElement(A,e,t){const r=Object.create(null),n=Object.create(null),a=Object.create(null);for(let u=0;u<t.length;u++){const o=t[u].name;r[o]=t[u].value,n[o]=t[u].namespace,a[o]=t[u].prefix}const s=new ga(A,r,[]);return s.namespace=e,s["x-attribsNamespace"]=n,s["x-attribsPrefix"]=a,s},createCommentNode(A){return new ha(A)},createTextNode(A){return new Gt(A)},appendChild(A,e){const t=A.children[A.children.length-1];t&&(t.next=e,e.prev=t),A.children.push(e),e.parent=A},insertBefore(A,e,t){const r=A.children.indexOf(t),{prev:n}=t;n&&(n.next=e,e.prev=n),t.prev=e,e.next=t,A.children.splice(r,0,e),e.parent=A},setTemplateContent(A,e){Me.appendChild(A,e)},getTemplateContent(A){return A.children[0]},setDocumentType(A,e,t,r){const n=AE(e,t,r);let a=A.children.find(s=>Ea(s)&&s.name==="!doctype");a?a.data=n??null:(a=new da("!doctype",n),Me.appendChild(A,a)),a["x-name"]=e,a["x-publicId"]=t,a["x-systemId"]=r},setDocumentMode(A,e){A["x-mode"]=e},getDocumentMode(A){return A["x-mode"]},detachNode(A){if(A.parent){const e=A.parent.children.indexOf(A),{prev:t,next:r}=A;A.prev=null,A.next=null,t&&(t.next=r),r&&(r.prev=t),A.parent.children.splice(e,1),A.parent=null}},insertText(A,e){const t=A.children[A.children.length-1];t&&Ee(t)?t.data+=e:Me.appendChild(A,Me.createTextNode(e))},insertTextBefore(A,e,t){const r=A.children[A.children.indexOf(t)-1];r&&Ee(r)?r.data+=e:Me.insertBefore(A,Me.createTextNode(e),t)},adoptAttributes(A,e){for(let t=0;t<e.length;t++){const r=e[t].name;A.attribs[r]===void 0&&(A.attribs[r]=e[t].value,A["x-attribsNamespace"][r]=e[t].namespace,A["x-attribsPrefix"][r]=e[t].prefix)}},getFirstChild(A){return A.children[0]},getChildNodes(A){return A.children},getParentNode(A){return A.parent},getAttrList(A){return A.attributes},getTagName(A){return A.name},getNamespaceURI(A){return A.namespace},getTextNodeContent(A){return A.data},getCommentNodeContent(A){return A.data},getDocumentTypeNodeName(A){var e;return(e=A["x-name"])!==null&&e!==void 0?e:""},getDocumentTypeNodePublicId(A){var e;return(e=A["x-publicId"])!==null&&e!==void 0?e:""},getDocumentTypeNodeSystemId(A){var e;return(e=A["x-systemId"])!==null&&e!==void 0?e:""},isDocumentTypeNode(A){return Ea(A)&&A.name==="!doctype"},setNodeSourceCodeLocation(A,e){e&&(A.startIndex=e.startOffset,A.endIndex=e.endOffset),A.sourceCodeLocation=e},getNodeSourceCodeLocation(A){return A.sourceCodeLocation},updateNodeSourceCodeLocation(A,e){e.endOffset!=null&&(A.endIndex=e.endOffset),A.sourceCodeLocation={...A.sourceCodeLocation,...e}}};function eE(A,e,t,r){var n;return(n=e.treeAdapter)!==null&&n!==void 0||(e.treeAdapter=Me),e.scriptingEnabled!==!1&&(e.scriptingEnabled=!0),t?Zg(A,e):zg(r,A,e)}const tE={treeAdapter:Me};function rE(A){const e="length"in A?A:[A];for(let r=0;r<e.length;r+=1){const n=e[r];Le(n)&&Array.prototype.splice.call(e,r,1,...n.children)}let t="";for(let r=0;r<e.length;r+=1){const n=e[r];t+=Yg(n,tE)}return t}var Y;(function(A){A[A.Tab=9]="Tab",A[A.NewLine=10]="NewLine",A[A.FormFeed=12]="FormFeed",A[A.CarriageReturn=13]="CarriageReturn",A[A.Space=32]="Space",A[A.ExclamationMark=33]="ExclamationMark",A[A.Number=35]="Number",A[A.Amp=38]="Amp",A[A.SingleQuote=39]="SingleQuote",A[A.DoubleQuote=34]="DoubleQuote",A[A.Dash=45]="Dash",A[A.Slash=47]="Slash",A[A.Zero=48]="Zero",A[A.Nine=57]="Nine",A[A.Semi=59]="Semi",A[A.Lt=60]="Lt",A[A.Eq=61]="Eq",A[A.Gt=62]="Gt",A[A.Questionmark=63]="Questionmark",A[A.UpperA=65]="UpperA",A[A.LowerA=97]="LowerA",A[A.UpperF=70]="UpperF",A[A.LowerF=102]="LowerF",A[A.UpperZ=90]="UpperZ",A[A.LowerZ=122]="LowerZ",A[A.LowerX=120]="LowerX",A[A.OpeningSquareBracket=91]="OpeningSquareBracket"})(Y||(Y={}));var v;(function(A){A[A.Text=1]="Text",A[A.BeforeTagName=2]="BeforeTagName",A[A.InTagName=3]="InTagName",A[A.InSelfClosingTag=4]="InSelfClosingTag",A[A.BeforeClosingTagName=5]="BeforeClosingTagName",A[A.InClosingTagName=6]="InClosingTagName",A[A.AfterClosingTagName=7]="AfterClosingTagName",A[A.BeforeAttributeName=8]="BeforeAttributeName",A[A.InAttributeName=9]="InAttributeName",A[A.AfterAttributeName=10]="AfterAttributeName",A[A.BeforeAttributeValue=11]="BeforeAttributeValue",A[A.InAttributeValueDq=12]="InAttributeValueDq",A[A.InAttributeValueSq=13]="InAttributeValueSq",A[A.InAttributeValueNq=14]="InAttributeValueNq",A[A.BeforeDeclaration=15]="BeforeDeclaration",A[A.InDeclaration=16]="InDeclaration",A[A.InProcessingInstruction=17]="InProcessingInstruction",A[A.BeforeComment=18]="BeforeComment",A[A.CDATASequence=19]="CDATASequence",A[A.InSpecialComment=20]="InSpecialComment",A[A.InCommentLike=21]="InCommentLike",A[A.BeforeSpecialS=22]="BeforeSpecialS",A[A.BeforeSpecialT=23]="BeforeSpecialT",A[A.SpecialStartSequence=24]="SpecialStartSequence",A[A.InSpecialTag=25]="InSpecialTag",A[A.InEntity=26]="InEntity"})(v||(v={}));function _e(A){return A===Y.Space||A===Y.NewLine||A===Y.Tab||A===Y.FormFeed||A===Y.CarriageReturn}function dn(A){return A===Y.Slash||A===Y.Gt||_e(A)}function nE(A){return A>=Y.LowerA&&A<=Y.LowerZ||A>=Y.UpperA&&A<=Y.UpperZ}var me;(function(A){A[A.NoValue=0]="NoValue",A[A.Unquoted=1]="Unquoted",A[A.Single=2]="Single",A[A.Double=3]="Double"})(me||(me={}));const OA={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};let aE=class{constructor({xmlMode:e=!1,decodeEntities:t=!0},r){this.cbs=r,this.state=v.Text,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=v.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.xmlMode=e,this.decodeEntities=t,this.entityDecoder=new ba(e?bi:ma,(n,a)=>this.emitCodePoint(n,a))}reset(){this.state=v.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=v.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()}stateText(e){e===Y.Lt||!this.decodeEntities&&this.fastForwardTo(Y.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=v.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===Y.Amp&&this.startEntity()}stateSpecialStartSequence(e){const t=this.sequenceIndex===this.currentSequence.length;if(!(t?dn(e):(e|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!t){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=v.InTagName,this.stateInTagName(e)}stateInSpecialTag(e){if(this.sequenceIndex===this.currentSequence.length){if(e===Y.Gt||_e(e)){const t=this.index-this.currentSequence.length;if(this.sectionStart<t){const r=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=r}this.isSpecial=!1,this.sectionStart=t+2,this.stateInClosingTagName(e);return}this.sequenceIndex=0}(e|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===OA.TitleEnd?this.decodeEntities&&e===Y.Amp&&this.startEntity():this.fastForwardTo(Y.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(e===Y.Lt)}stateCDATASequence(e){e===OA.Cdata[this.sequenceIndex]?++this.sequenceIndex===OA.Cdata.length&&(this.state=v.InCommentLike,this.currentSequence=OA.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=v.InDeclaration,this.stateInDeclaration(e))}fastForwardTo(e){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===e)return!0;return this.index=this.buffer.length+this.offset-1,!1}stateInCommentLike(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===OA.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=v.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}isTagStartChar(e){return this.xmlMode?!dn(e):nE(e)}startSpecial(e,t){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=t,this.state=v.SpecialStartSequence}stateBeforeTagName(e){if(e===Y.ExclamationMark)this.state=v.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===Y.Questionmark)this.state=v.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(e)){const t=e|32;this.sectionStart=this.index,this.xmlMode?this.state=v.InTagName:t===OA.ScriptEnd[2]?this.state=v.BeforeSpecialS:t===OA.TitleEnd[2]?this.state=v.BeforeSpecialT:this.state=v.InTagName}else e===Y.Slash?this.state=v.BeforeClosingTagName:(this.state=v.Text,this.stateText(e))}stateInTagName(e){dn(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=v.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateBeforeClosingTagName(e){_e(e)||(e===Y.Gt?this.state=v.Text:(this.state=this.isTagStartChar(e)?v.InClosingTagName:v.InSpecialComment,this.sectionStart=this.index))}stateInClosingTagName(e){(e===Y.Gt||_e(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=v.AfterClosingTagName,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){(e===Y.Gt||this.fastForwardTo(Y.Gt))&&(this.state=v.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(e){e===Y.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=v.InSpecialTag,this.sequenceIndex=0):this.state=v.Text,this.sectionStart=this.index+1):e===Y.Slash?this.state=v.InSelfClosingTag:_e(e)||(this.state=v.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(e){e===Y.Gt?(this.cbs.onselfclosingtag(this.index),this.state=v.Text,this.sectionStart=this.index+1,this.isSpecial=!1):_e(e)||(this.state=v.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateInAttributeName(e){(e===Y.Eq||dn(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=v.AfterAttributeName,this.stateAfterAttributeName(e))}stateAfterAttributeName(e){e===Y.Eq?this.state=v.BeforeAttributeValue:e===Y.Slash||e===Y.Gt?(this.cbs.onattribend(me.NoValue,this.sectionStart),this.sectionStart=-1,this.state=v.BeforeAttributeName,this.stateBeforeAttributeName(e)):_e(e)||(this.cbs.onattribend(me.NoValue,this.sectionStart),this.state=v.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(e){e===Y.DoubleQuote?(this.state=v.InAttributeValueDq,this.sectionStart=this.index+1):e===Y.SingleQuote?(this.state=v.InAttributeValueSq,this.sectionStart=this.index+1):_e(e)||(this.sectionStart=this.index,this.state=v.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))}handleInAttributeValue(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===Y.DoubleQuote?me.Double:me.Single,this.index+1),this.state=v.BeforeAttributeName):this.decodeEntities&&e===Y.Amp&&this.startEntity()}stateInAttributeValueDoubleQuotes(e){this.handleInAttributeValue(e,Y.DoubleQuote)}stateInAttributeValueSingleQuotes(e){this.handleInAttributeValue(e,Y.SingleQuote)}stateInAttributeValueNoQuotes(e){_e(e)||e===Y.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(me.Unquoted,this.index),this.state=v.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===Y.Amp&&this.startEntity()}stateBeforeDeclaration(e){e===Y.OpeningSquareBracket?(this.state=v.CDATASequence,this.sequenceIndex=0):this.state=e===Y.Dash?v.BeforeComment:v.InDeclaration}stateInDeclaration(e){(e===Y.Gt||this.fastForwardTo(Y.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=v.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){(e===Y.Gt||this.fastForwardTo(Y.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=v.Text,this.sectionStart=this.index+1)}stateBeforeComment(e){e===Y.Dash?(this.state=v.InCommentLike,this.currentSequence=OA.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=v.InDeclaration}stateInSpecialComment(e){(e===Y.Gt||this.fastForwardTo(Y.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=v.Text,this.sectionStart=this.index+1)}stateBeforeSpecialS(e){const t=e|32;t===OA.ScriptEnd[3]?this.startSpecial(OA.ScriptEnd,4):t===OA.StyleEnd[3]?this.startSpecial(OA.StyleEnd,4):(this.state=v.InTagName,this.stateInTagName(e))}stateBeforeSpecialT(e){const t=e|32;t===OA.TitleEnd[3]?this.startSpecial(OA.TitleEnd,4):t===OA.TextareaEnd[3]?this.startSpecial(OA.TextareaEnd,4):(this.state=v.InTagName,this.stateInTagName(e))}startEntity(){this.baseState=this.state,this.state=v.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?re.Strict:this.baseState===v.Text||this.baseState===v.InSpecialTag?re.Legacy:re.Attribute)}stateInEntity(){const e=this.entityDecoder.write(this.buffer,this.index-this.offset);e>=0?(this.state=this.baseState,e===0&&(this.index=this.entityStart)):this.index=this.offset+this.buffer.length-1}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===v.Text||this.state===v.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===v.InAttributeValueDq||this.state===v.InAttributeValueSq||this.state===v.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index<this.buffer.length+this.offset&&this.running}parse(){for(;this.shouldContinue();){const e=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case v.Text:{this.stateText(e);break}case v.SpecialStartSequence:{this.stateSpecialStartSequence(e);break}case v.InSpecialTag:{this.stateInSpecialTag(e);break}case v.CDATASequence:{this.stateCDATASequence(e);break}case v.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(e);break}case v.InAttributeName:{this.stateInAttributeName(e);break}case v.InCommentLike:{this.stateInCommentLike(e);break}case v.InSpecialComment:{this.stateInSpecialComment(e);break}case v.BeforeAttributeName:{this.stateBeforeAttributeName(e);break}case v.InTagName:{this.stateInTagName(e);break}case v.InClosingTagName:{this.stateInClosingTagName(e);break}case v.BeforeTagName:{this.stateBeforeTagName(e);break}case v.AfterAttributeName:{this.stateAfterAttributeName(e);break}case v.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(e);break}case v.BeforeAttributeValue:{this.stateBeforeAttributeValue(e);break}case v.BeforeClosingTagName:{this.stateBeforeClosingTagName(e);break}case v.AfterClosingTagName:{this.stateAfterClosingTagName(e);break}case v.BeforeSpecialS:{this.stateBeforeSpecialS(e);break}case v.BeforeSpecialT:{this.stateBeforeSpecialT(e);break}case v.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(e);break}case v.InSelfClosingTag:{this.stateInSelfClosingTag(e);break}case v.InDeclaration:{this.stateInDeclaration(e);break}case v.BeforeDeclaration:{this.stateBeforeDeclaration(e);break}case v.BeforeComment:{this.stateBeforeComment(e);break}case v.InProcessingInstruction:{this.stateInProcessingInstruction(e);break}case v.InEntity:{this.stateInEntity();break}}this.index++}this.cleanup()}finish(){this.state===v.InEntity&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const e=this.buffer.length+this.offset;this.sectionStart>=e||(this.state===v.InCommentLike?this.currentSequence===OA.CdataEnd?this.cbs.oncdata(this.sectionStart,e,0):this.cbs.oncomment(this.sectionStart,e,0):this.state===v.InTagName||this.state===v.BeforeAttributeName||this.state===v.BeforeAttributeValue||this.state===v.AfterAttributeName||this.state===v.InAttributeName||this.state===v.InAttributeValueSq||this.state===v.InAttributeValueDq||this.state===v.InAttributeValueNq||this.state===v.InClosingTagName||this.cbs.ontext(this.sectionStart,e))}emitCodePoint(e,t){this.baseState!==v.Text&&this.baseState!==v.InSpecialTag?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.onattribentity(e)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.ontextentity(e,this.sectionStart))}};const Ut=new Set(["input","option","optgroup","select","button","datalist","textarea"]),iA=new Set(["p"]),oo=new Set(["thead","tbody"]),co=new Set(["dd","dt"]),lo=new Set(["rt","rp"]),sE=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",iA],["h1",iA],["h2",iA],["h3",iA],["h4",iA],["h5",iA],["h6",iA],["select",Ut],["input",Ut],["output",Ut],["button",Ut],["datalist",Ut],["textarea",Ut],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",co],["dt",co],["address",iA],["article",iA],["aside",iA],["blockquote",iA],["details",iA],["div",iA],["dl",iA],["fieldset",iA],["figcaption",iA],["figure",iA],["footer",iA],["form",iA],["header",iA],["hr",iA],["main",iA],["nav",iA],["ol",iA],["pre",iA],["section",iA],["table",iA],["ul",iA],["rt",lo],["rp",lo],["tbody",oo],["tfoot",oo]]),iE=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),fo=new Set(["math","svg"]),ho=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),uE=/\s|\//;let oE=class{constructor(e,t={}){var r,n,a,s,u,o;this.options=t,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=e??{},this.htmlMode=!this.options.xmlMode,this.lowerCaseTagNames=(r=t.lowerCaseTags)!==null&&r!==void 0?r:this.htmlMode,this.lowerCaseAttributeNames=(n=t.lowerCaseAttributeNames)!==null&&n!==void 0?n:this.htmlMode,this.recognizeSelfClosing=(a=t.recognizeSelfClosing)!==null&&a!==void 0?a:!this.htmlMode,this.tokenizer=new((s=t.Tokenizer)!==null&&s!==void 0?s:aE)(this.options,this),this.foreignContext=[!this.htmlMode],(o=(u=this.cbs).onparserinit)===null||o===void 0||o.call(u,this)}ontext(e,t){var r,n;const a=this.getSlice(e,t);this.endIndex=t-1,(n=(r=this.cbs).ontext)===null||n===void 0||n.call(r,a),this.startIndex=t}ontextentity(e,t){var r,n;this.endIndex=t-1,(n=(r=this.cbs).ontext)===null||n===void 0||n.call(r,wa(e)),this.startIndex=t}isVoidElement(e){return this.htmlMode&&iE.has(e)}onopentagname(e,t){this.endIndex=t;let r=this.getSlice(e,t);this.lowerCaseTagNames&&(r=r.toLowerCase()),this.emitOpenTag(r)}emitOpenTag(e){var t,r,n,a;this.openTagStart=this.startIndex,this.tagname=e;const s=this.htmlMode&&sE.get(e);if(s)for(;this.stack.length>0&&s.has(this.stack[0]);){const u=this.stack.shift();(r=(t=this.cbs).onclosetag)===null||r===void 0||r.call(t,u,!0)}this.isVoidElement(e)||(this.stack.unshift(e),this.htmlMode&&(fo.has(e)?this.foreignContext.unshift(!0):ho.has(e)&&this.foreignContext.unshift(!1))),(a=(n=this.cbs).onopentagname)===null||a===void 0||a.call(n,e),this.cbs.onopentag&&(this.attribs={})}endOpenTag(e){var t,r;this.startIndex=this.openTagStart,this.attribs&&((r=(t=this.cbs).onopentag)===null||r===void 0||r.call(t,this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1}onclosetag(e,t){var r,n,a,s,u,o,l,f;this.endIndex=t;let h=this.getSlice(e,t);if(this.lowerCaseTagNames&&(h=h.toLowerCase()),this.htmlMode&&(fo.has(h)||ho.has(h))&&this.foreignContext.shift(),this.isVoidElement(h))this.htmlMode&&h==="br"&&((s=(a=this.cbs).onopentagname)===null||s===void 0||s.call(a,"br"),(o=(u=this.cbs).onopentag)===null||o===void 0||o.call(u,"br",{},!0),(f=(l=this.cbs).onclosetag)===null||f===void 0||f.call(l,"br",!1));else{const d=this.stack.indexOf(h);if(d!==-1)for(let C=0;C<=d;C++){const m=this.stack.shift();(n=(r=this.cbs).onclosetag)===null||n===void 0||n.call(r,m,C!==d)}else this.htmlMode&&h==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=t+1}onselfclosingtag(e){this.endIndex=e,this.recognizeSelfClosing||this.foreignContext[0]?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)}closeCurrentTag(e){var t,r;const n=this.tagname;this.endOpenTag(e),this.stack[0]===n&&((r=(t=this.cbs).onclosetag)===null||r===void 0||r.call(t,n,!e),this.stack.shift())}onattribname(e,t){this.startIndex=e;const r=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?r.toLowerCase():r}onattribdata(e,t){this.attribvalue+=this.getSlice(e,t)}onattribentity(e){this.attribvalue+=wa(e)}onattribend(e,t){var r,n;this.endIndex=t,(n=(r=this.cbs).onattribute)===null||n===void 0||n.call(r,this.attribname,this.attribvalue,e===me.Double?'"':e===me.Single?"'":e===me.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(e){const t=e.search(uE);let r=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(r=r.toLowerCase()),r}ondeclaration(e,t){this.endIndex=t;const r=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){const n=this.getInstructionName(r);this.cbs.onprocessinginstruction(`!${n}`,`!${r}`)}this.startIndex=t+1}onprocessinginstruction(e,t){this.endIndex=t;const r=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){const n=this.getInstructionName(r);this.cbs.onprocessinginstruction(`?${n}`,`?${r}`)}this.startIndex=t+1}oncomment(e,t,r){var n,a,s,u;this.endIndex=t,(a=(n=this.cbs).oncomment)===null||a===void 0||a.call(n,this.getSlice(e,t-r)),(u=(s=this.cbs).oncommentend)===null||u===void 0||u.call(s),this.startIndex=t+1}oncdata(e,t,r){var n,a,s,u,o,l,f,h,d,C;this.endIndex=t;const m=this.getSlice(e,t-r);!this.htmlMode||this.options.recognizeCDATA?((a=(n=this.cbs).oncdatastart)===null||a===void 0||a.call(n),(u=(s=this.cbs).ontext)===null||u===void 0||u.call(s,m),(l=(o=this.cbs).oncdataend)===null||l===void 0||l.call(o)):((h=(f=this.cbs).oncomment)===null||h===void 0||h.call(f,`[CDATA[${m}]]`),(C=(d=this.cbs).oncommentend)===null||C===void 0||C.call(d)),this.startIndex=t+1}onend(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let r=0;r<this.stack.length;r++)this.cbs.onclosetag(this.stack[r],!0)}(t=(e=this.cbs).onend)===null||t===void 0||t.call(e)}reset(){var e,t,r,n;(t=(e=this.cbs).onreset)===null||t===void 0||t.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(n=(r=this.cbs).onparserinit)===null||n===void 0||n.call(r,this),this.buffers.length=0,this.foreignContext.length=0,this.foreignContext.unshift(!this.htmlMode),this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(e){this.reset(),this.end(e)}getSlice(e,t){for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let r=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);for(;t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),r+=this.buffers[0].slice(0,t-this.bufferOffset);return r}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(e){var t,r;if(this.ended){(r=(t=this.cbs).onerror)===null||r===void 0||r.call(t,new Error(".write() after done!"));return}this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++)}end(e){var t,r;if(this.ended){(r=(t=this.cbs).onerror)===null||r===void 0||r.call(t,new Error(".end() after done!"));return}e&&this.write(e),this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()}parseChunk(e){this.write(e)}done(e){this.end(e)}};function cE(A,e){const t=new l0(void 0,e);return new oE(t,e).end(A),t.root}const lE=kh((A,e,t,r)=>e._useHtmlParser2?cE(A,e):eE(A,e,t,r)),Bo=md(lE,(A,e)=>e._useHtmlParser2?Pr(A,e):rE(A));var X=(A=>(A[A.None=0]="None",A[A.Text=1]="Text",A[A.Image=2]="Image",A[A.Video=3]="Video",A[A.Icon=4]="Icon",A[A.Link=5]="Link",A[A.Button=6]="Button",A[A.Block=10]="Block",A))(X||{}),le;(A=>{A.THEME_TEXT_COLOR_CLASS="gp-designer-theme-text",A.THEME_BUTTON_COLOR_CLASS="gp-designer-theme-button",A.THEME_ICON_COLOR_CLASS="gp-designer-theme-icon",A.THEME_COLOR="#3574e6"})(le||(le={}));const fE=c.defineComponent({name:"GpMessage",props:{message:{type:String,required:!0},type:{type:String,default:"info"},position:{type:String,default:"top-right"},duration:{type:Number,default:3e3},onClose:{type:Function,required:!0},icon:{type:Boolean,default:!0}},setup(A){const e=c.ref(!1),t=c.computed(()=>({success:"bg-green-100 text-green-800",error:"bg-red-100 text-red-800",info:"bg-blue-100 text-blue-800",warning:"bg-yellow-100 text-yellow-800"})[A.type]),r=()=>{e.value=!1,A.onClose()};return setTimeout(()=>{r()},A.duration),e.value=!0,{visible:e,typeClass:t,closeMessage:r}}}),ke=(A,e)=>{const t=A.__vccOpts||A;for(const[r,n]of e)t[r]=n;return t},hE={key:0,class:"gp-message"},dE={key:0,class:"mr-2"},BE={key:0,class:"text-green-500"},gE={key:1,class:"text-red-500"},EE={key:2,class:"text-blue-500"},pE={key:3,class:"text-yellow-500"};function mE(A,e,t,r,n,a){return c.openBlock(),c.createBlock(c.Transition,{name:"fade"},{default:c.withCtx(()=>[A.visible?(c.openBlock(),c.createElementBlock("div",hE,[c.createElementVNode("div",{class:c.normalizeClass([A.typeClass,"message-content"])},[A.icon?(c.openBlock(),c.createElementBlock("span",dE,[c.renderSlot(A.$slots,"icon",{},()=>[A.type==="success"?(c.openBlock(),c.createElementBlock("span",BE,"✔")):c.createCommentVNode("",!0),A.type==="error"?(c.openBlock(),c.createElementBlock("span",gE,"✖")):c.createCommentVNode("",!0),A.type==="info"?(c.openBlock(),c.createElementBlock("span",EE,"ℹ")):c.createCommentVNode("",!0),A.type==="warning"?(c.openBlock(),c.createElementBlock("span",pE,"⚠")):c.createCommentVNode("",!0)],!0)])):c.createCommentVNode("",!0),c.createElementVNode("span",null,c.toDisplayString(A.message),1),c.createElementVNode("button",{class:"close-btn hover:text-gray-800 font-bold",onClick:e[0]||(e[0]=(...s)=>A.closeMessage&&A.closeMessage(...s))}," × ")],2)])):c.createCommentVNode("",!0)]),_:3})}const CE=ke(fE,[["render",mE],["__scopeId","data-v-a234b03c"]]),Qt=c.reactive([]);let ns=null;const wE=()=>{const A=document.createElement("div");return A.id="global-message-container",document.body.appendChild(A),A},TE=()=>{if(ns)return;const A=wE();ns=c.createApp({setup(){return{messageQueue:Qt}},render(){const e=c.computed(()=>{var r;return{"top-left":"top-4 left-4","top-right":"top-4 right-4","bottom-left":"bottom-4 left-4","bottom-right":"bottom-4 right-4","top-center":"top-4 left-1/2 transform -translate-x-1/2","bottom-center":"bottom-4 left-1/2 transform -translate-x-1/2"}[((r=Qt[0])==null?void 0:r.options.position)||"top-right"]});return c.h("div",{class:`fixed flex flex-col gap-2 ${e.value}`},Qt.map(t=>c.h(CE,{key:t.id,...t.options,onClose:()=>go(t.id)})))}}),ns.mount(A)},go=A=>{const e=Qt.findIndex(t=>t.id===A);e!==-1&&Qt.splice(e,1)};let bE=0;const j=A=>{TE();const e=bE++;Qt.push({id:e,options:A}),setTimeout(()=>{go(e)},A.duration||3e3)};j.success=(A,e=3e3,t=!0)=>{j(typeof A=="string"?{message:A,type:"success",duration:e,icon:t}:{...A,type:"success"})},j.error=(A,e=3e3,t=!0)=>{j(typeof A=="string"?{message:A,type:"error",duration:e,icon:t}:{...A,type:"error"})},j.info=(A,e=3e3,t=!0)=>{j(typeof A=="string"?{message:A,type:"info",duration:e,icon:t}:{...A,type:"info"})},j.warning=(A,e=3e3,t=!0)=>{j(typeof A=="string"?{message:A,type:"warning",duration:e,icon:t}:{...A,type:"warning"})};const UE=["onClick"],QE={key:2,"date-action":"1",contenteditable:"false",class:"text-red-500 text-xs mt-1"},FE=ke(c.defineComponent({__name:"ElementRenderer",props:{element:{type:Object,required:!0},selectedElement:Object,hoveredElement:Object,uploadByFile:{type:Function,required:!1},icons:{type:Array,default:()=>[]},mode:{type:String,default:"edit"},cropper:{type:Object,required:!1},icon:{type:Object,required:!1},upload:{type:Object,required:!1},r:{type:String,required:!1},showMargin:{type:Boolean,default:!1}},emits:["selectElement","hoverElement","updateText","contentUpdated","blockAction","addIcon","updateElementRule"],setup(A,{emit:e}){const t=A,r=e,n=c.computed(()=>{var y;const I=t.element.editText||t.element.text;return t.element.rule&&t.element.rule.allowWrap?(y=I==null?void 0:I.replace(/\n/g,"<br>"))==null?void 0:y.replace(/ /g,"&nbsp;"):I}),a=c.computed(()=>t.selectedElement===t.element),s=c.computed(()=>t.hoveredElement===t.element),u=c.ref(!1),o=c.ref(!1),l=c.ref(""),f=c.computed(()=>t.element.rule.minText||0),h=c.computed(()=>t.element.rule.maxText||1/0),d=I=>{let y="";if(I.children&&I.children.length&&I.children[0].type===X.Block){const J=I.children[0].rule.flexColumn||I.children[0].rule.mobileFlexColumn;Math.min(J,I.children.length)&&(y+=" flex pc:justify-center flex-wrap ",I.children[0].rule.mobileFlexColumn?y+=" justify-center ":y+=" gp-designer-m-swiper swiper-wrapper justify-normal ")}if(I.type===X.Block){const J=I.rule.flexColumn,TA=I.rule.mobileFlexColumn;(TA||J)&&(y+=" box-border "),TA>1&&TA<=12?y+=` basis-1/${TA} `:TA==1?y+=" basis-full ":TA||(y+=" gp-designer-m-swiper-slide swiper-slide "),J>1&&J<=12?y+=` pc:basis-1/${J} `:J==1&&(y+=" pc:basis-full ")}if((I.type==X.Button||I.type==X.Link)&&I.rule.openMeiqia&&(y+=" gp-designer-meiqia "),I.rule.isThemeColor&&t.element.type===X.Text?y+=" "+le.THEME_TEXT_COLOR_CLASS+" ":I.rule.isThemeColor&&t.element.type===X.Button?y+=" "+le.THEME_BUTTON_COLOR_CLASS+" ":I.rule.isThemeColor&&t.element.type===X.Icon&&(y+=" "+le.THEME_ICON_COLOR_CLASS+" "),I.attrs.class){var rA=I.attrs.class.split(" ").filter(J=>J);rA.length&&(y=y.split(" ").filter(J=>!rA.includes(J)).join(" "))}return y};c.watch(()=>t.r,()=>{r("contentUpdated",D())},{immediate:!0});function C(I){I.xpath!="/div[1]"&&t.mode!=="preview"&&(t.mode==="edit"?I.type===X.Text&&r("selectElement",I):r("selectElement",I),!I.rule.isReadOnly&&I.type===X.Text&&(u.value=!0))}function m(I){r("selectElement",I)}function T(I,y){r("hoverElement",I,y)}function U(I){r("hoverElement",I)}function N(I){I.currentTarget.contains(I.relatedTarget)?r("hoverElement",null):t.hoveredElement?r("hoverElement",null,t.hoveredElement.parentxpath):r("hoverElement",null)}function _(){u.value=!1,r("contentUpdated",D())}function D(){function I(rA){var pA;const J=rA;if(J.tag==="br")return"<br>";const TA=J.rule.isThemeColor&&J.type==X.Text?le.THEME_TEXT_COLOR_CLASS:J.rule.isThemeColor&&J.type==X.Button?le.THEME_BUTTON_COLOR_CLASS:J.rule.isThemeColor&&J.type==X.Icon?le.THEME_ICON_COLOR_CLASS:"";TA?J.attrs.class&&!J.attrs.class.includes(TA)?J.attrs.class=J.attrs.class?J.attrs.class+" "+TA:TA:J.attrs.class||(J.attrs.class=TA):J.attrs.class=(pA=J.attrs.class)==null?void 0:pA.replace(new RegExp(`${le.THEME_TEXT_COLOR_CLASS}|${le.THEME_BUTTON_COLOR_CLASS}|${le.THEME_ICON_COLOR_CLASS}`,"g"),"");const ze={class:J.attrs.class||""},Rr=d(J);Rr&&(ze.class+=" "+Rr);let At=Object.entries(rA.attrs||{}).filter(([wA,WA])=>wA!=="class").map(([wA,WA])=>`${wA}="${WA}"`).join(" ");const gt=Object.entries(ze||{}).map(([wA,WA])=>`${wA}="${WA.trim()}"`).join(" ");At+=gt;const mi=`<${rA.tag}${At?" "+At:""}>`,Q=`</${rA.tag}>`,S=(rA.children||[]).map(wA=>I(wA)).join("");let O=rA.editText||rA.text||"";return O=O.replace(/\r\n/g,`
9
+ `).replace(/\n/g,"<br>"),`${mi}${O}${S}${Q}`}return I(t.element)}function P(I){var TA,ze;I.preventDefault(),I.stopPropagation();let y=((TA=I.clipboardData)==null?void 0:TA.getData("text/plain"))||"";(ze=t.element.rule)!=null&&ze.allowWrap?(y=y==null?void 0:y.replace(/\n/g,"<br>"),document.execCommand("insertHTML",!1,y)):(y=y==null?void 0:y.replace(/\n/g," "),document.execCommand("insertText",!1,y));const rA=I.target,J=rA.innerText||rA.textContent||"";H(J)}function L(I){var y;I.key==="Enter"&&(I.preventDefault(),I.stopPropagation(),(y=t.element.rule)!=null&&y.allowWrap?document.execCommand("insertLineBreak"):j.error("当前节点不允许换行"))}function p(I){I.stopPropagation();const y=I.target,rA=y.innerText||y.textContent||"";H(rA)}function H(I){if(I.length<f.value){o.value=!0,l.value=`最少输入 ${f.value} 个字符`;return}else if(I.length>h.value){o.value=!0,l.value=`最多输入 ${h.value} 个字符`;return}else o.value=!1,l.value="";r("updateText",{element:t.element,newText:I}),r("contentUpdated",D());const y=c.toRaw(t.element);y.editText=I}function K(I){r("updateText",I),r("contentUpdated",D())}function k(){const I={...t.element};r("blockAction",{action:"add",element:t.element,newBlock:I})}function AA(){oA(t.element),r("blockAction",{action:"moveUp",element:t.element})}function oA(I){I.children&&I.children.length>0&&I.children.forEach(y=>{y.type==X.Text&&(y.text!==y.editText&&(y.text=y.editText),oA(y))})}function fA(){oA(t.element),r("blockAction",{action:"moveDown",element:t.element})}function q(){r("blockAction",{action:"delete",element:t.element})}function tA(I){r("blockAction",I),r("contentUpdated",D())}function cA(I){NA.value.openModal(I)}function hA(I){GA.value.openModal(I)}function CA(I,y){r("addIcon",I,y),r("contentUpdated",D())}function XA(I){r("updateElementRule",I)}const NA=c.ref(t.icon);c.watch(()=>t.icon,I=>{NA.value=I},{immediate:!0});const GA=c.ref(t.upload);c.watch(()=>t.upload,I=>{GA.value=I},{immediate:!0});const vA=c.computed(()=>{const I=d(t.element);return t.element.css=I,I}),Ae=(I,y)=>{y.children&&y.children.length&&y.children[0].type===X.Block&&y.children.map(rA=>{rA.rule.flexColumn=I}),r("updateElementRule",y)},IA=c.computed(()=>{let I="";if(t.mode==="design"){const y=t.element;if(y.type===X.Block){const rA=y.rule.flexColumn;rA>1&&rA<=12&&(I+=`flex-basis: calc(100% / ${rA} - 10px);`)}}return I}),kA=c.ref(null);return(I,y)=>{const rA=c.resolveComponent("ElementRenderer",!0);return c.openBlock(),c.createElementBlock(c.Fragment,null,[t.element.type==c.unref(X).Text?(c.openBlock(),c.createBlock(c.resolveDynamicComponent(t.element.tag),c.mergeProps({key:0,class:["relative",A.mode==="design"?" border-dashed border-2":"",A.showMargin?"p-1 m-1":"",s.value?"border-dashed border-blue-500":"",a.value?"border-dashed border-green-500 z-5 border-2":"",o.value?"border-dashed border-red-500":"",(!s.value&&!a.value&&!o.value,""),t.element.rule&&t.element.rule.isReadOnly?"cursor-not-allowed":"",vA.value],style:IA.value},t.element.attrs,{contenteditable:u.value&&t.element.type==c.unref(X).Text&&a.value&&!t.element.rule.isReadOnly&&!t.element.rule.allowWrap,onClick:y[0]||(y[0]=c.withModifiers(()=>C(t.element),["stop"])),onMouseenter:y[1]||(y[1]=()=>U(t.element)),onMouseleave:N,onBlur:_,onInput:p,onPaste:P,onKeydown:c.withModifiers(L,["stop"]),ref_key:"elementRef",ref:kA,innerHTML:n.value}),null,16,["class","style","contenteditable","innerHTML"])):(c.openBlock(),c.createBlock(c.resolveDynamicComponent(t.element.tag),c.mergeProps({key:1,class:["relative",A.mode==="design"?" border-dashed border-2":"",A.showMargin?"p-1 m-1":"",s.value?"border-dashed border-blue-500":"",a.value?"border-dashed border-green-500 z-5 border-2":"",o.value?"border-dashed border-red-500":"",(!s.value&&!a.value&&!o.value,""),t.element.rule&&t.element.rule.isReadOnly?"cursor-not-allowed":"",vA.value],style:IA.value},t.element.attrs,{contenteditable:!1,onClick:y[5]||(y[5]=c.withModifiers(()=>C(t.element),["stop"])),onMouseenter:y[6]||(y[6]=()=>U(t.element)),onMouseleave:N,onBlur:_,onInput:p,onPaste:P,onKeydown:c.withModifiers(L,["stop"]),ref_key:"elementRef",ref:kA}),{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(n.value)+" ",1),t.element.children&&t.element.children.length?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.element.children,(J,TA)=>(c.openBlock(),c.createBlock(rA,{"show-margin":A.showMargin,key:TA,r:A.r,mode:A.mode,icons:A.icons,element:J,selectedElement:t.selectedElement,hoveredElement:t.hoveredElement,cropper:A.cropper,icon:A.icon,upload:A.upload,"upload-by-file":A.uploadByFile,onSelectElement:m,onHoverElement:T,onUpdateText:K,onBlockAction:tA,onAddIcon:CA,onUpdateElementRule:()=>XA(J)},null,8,["show-margin","r","mode","icons","element","selectedElement","hoveredElement","cropper","icon","upload","upload-by-file","onUpdateElementRule"]))),128)),t.element.type===c.unref(X).Block?(c.openBlock(),c.createElementBlock("div",{key:0,"date-action":"1",contenteditable:"false",onClick:y[2]||(y[2]=c.withModifiers(()=>{},["stop"])),class:"hover:z-10 z-9 flex space-x-1 flex-none flex-nowrap overflow-visible absolute left-2 top-2 text-sm"},[c.createElementVNode("button",{class:"flex-none content-center items-center p-1 bg-green-500/80 text-white rounded hover:bg-green-500",onClick:c.withModifiers(k,["stop"])},y[9]||(y[9]=[c.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 512 512"},[c.createElementVNode("rect",{width:"336",height:"336",x:"128",y:"128",fill:"none",stroke:"white","stroke-linejoin":"round","stroke-width":"32",rx:"57",ry:"57"}),c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"m383.5 128l.5-24a56.16 56.16 0 0 0-56-56H112a64.19 64.19 0 0 0-64 64v216a56.16 56.16 0 0 0 56 56h24"})],-1)])),c.createElementVNode("button",{class:"flex-none content-center items-center p-1 bg-blue-500/80 text-white rounded hover:bg-blue-500",onClick:c.withModifiers(AA,["stop"])},y[10]||(y[10]=[c.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 512 512"},[c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"M244 400L100 256l144-144M120 256h292"})],-1)])),c.createElementVNode("button",{class:"flex-none content-center items-center p-1 bg-blue-500/80 text-white rounded hover:bg-blue-500",onClick:c.withModifiers(fA,["stop"])},y[11]||(y[11]=[c.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 512 512"},[c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"m268 112l144 144l-144 144m124-144H100"})],-1)])),c.createElementVNode("button",{class:"flex-none content-center items-center p-1 bg-red-500/80 text-white rounded hover:bg-red-500",onClick:c.withModifiers(q,["stop"])},y[12]||(y[12]=[c.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 512 512"},[c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M400 256H112"})],-1)]))])):c.createCommentVNode("",!0),t.element.children&&t.element.children.length&&t.element.children[0].type===c.unref(X).Block&&t.element.children[0].rule&&t.element.children[0].rule.flexColumns&&t.element.children[0].rule.flexColumns.length>0?(c.openBlock(),c.createElementBlock("div",{key:1,"date-action":"1",contenteditable:"false",onClick:y[3]||(y[3]=c.withModifiers(()=>{},["stop"])),class:"hover:z-10 z-9 flex space-x-1 flex-none flex-nowrap overflow-visible absolute right-0 -top-6 items-center"},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.element.children[0].rule.flexColumns,(J,TA)=>(c.openBlock(),c.createElementBlock("button",{class:c.normalizeClass(["text-xs w-6 h-6 flex-none content-center items-center justify-center bg-purple-400/80 text-white rounded hover:bg-purple-600",t.element.children[0].rule.flexColumn===J?"bg-purple-700":""]),onClick:c.withModifiers(()=>Ae(J,t.element),["stop"])},c.toDisplayString(J),11,UE))),256))])):c.createCommentVNode("",!0)],64)):c.createCommentVNode("",!0),t.element.type===c.unref(X).Icon?(c.openBlock(),c.createElementBlock("div",{key:1,class:"cursor-pointer rounded-sm w-5 h-5 flex justify-center items-center absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-sm text-gray-50 z-10 bg-black/80 hover:bg-black",contenteditable:"false",onClick:y[4]||(y[4]=c.withModifiers(()=>cA(t.element),["stop"]))},y[13]||(y[13]=[c.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 512 512"},[c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M320 367.79h76c55 0 100-29.21 100-83.6s-53-81.47-96-83.6c-8.89-85.06-71-136.8-144-136.8c-69 0-113.44 45.79-128 91.2c-60 5.7-112 43.88-112 106.4s54 106.4 120 106.4h56"}),c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"m320 255.79l-64-64l-64 64m64 192.42V207.79"})],-1)]))):c.createCommentVNode("",!0)]),_:1},16,["class","style"])),t.element.type==c.unref(X).Text&&o.value?(c.openBlock(),c.createElementBlock("div",QE,c.toDisplayString(l.value),1)):c.createCommentVNode("",!0),t.element.type===c.unref(X).Image?(c.openBlock(),c.createElementBlock("div",{key:3,class:"cursor-pointer rounded-sm flex justify-center items-center absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-sm text-gray-50 z-10 bg-black/80 hover:bg-black",onClick:y[8]||(y[8]=c.withModifiers(()=>{},["stop"])),contenteditable:"false"},[c.createElementVNode("div",{class:"p-1",onClick:y[7]||(y[7]=c.withModifiers(()=>hA(t.element),["stop"]))},y[14]||(y[14]=[c.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 512 512"},[c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M320 367.79h76c55 0 100-29.21 100-83.6s-53-81.47-96-83.6c-8.89-85.06-71-136.8-144-136.8c-69 0-113.44 45.79-128 91.2c-60 5.7-112 43.88-112 106.4s54 106.4 120 106.4h56"}),c.createElementVNode("path",{fill:"none",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"m320 255.79l-64-64l-64 64m64 192.42V207.79"})],-1)]))])):c.createCommentVNode("",!0)],64)}}}),[["__scopeId","data-v-2a6431d8"]]),IE=c.defineComponent({name:"GpCheckbox",props:{modelValue:{type:Boolean,required:!0},label:{type:String,default:""}},emits:["update:modelValue"],setup(A,{emit:e}){return{updateValue:r=>{e("update:modelValue",r.target.checked)}}}}),_E={class:"form-group"},yE={class:"flex items-center space-x-2 cursor-pointer"},NE=["checked","aria-checked"],vE={class:"checkbox-label text-sm text-gray-700"};function SE(A,e,t,r,n,a){return c.openBlock(),c.createElementBlock("div",_E,[c.createElementVNode("label",yE,[c.createElementVNode("input",{type:"checkbox",checked:A.modelValue,onChange:e[0]||(e[0]=(...s)=>A.updateValue&&A.updateValue(...s)),class:"custom-checkbox","aria-checked":A.modelValue},null,40,NE),c.createElementVNode("span",vE,c.toDisplayString(A.label),1)])])}const Ft=ke(IE,[["render",SE],["__scopeId","data-v-68b8f276"]]),xE={class:"text-sm"},LE={key:0},HE={key:0},DE={class:"text-gray-500 my-2 truncate"},OE={class:"text-gray-500 my-2 break-words"},RE={key:1},ME={key:2},kE={key:3},PE={key:4},KE={key:5},VE={key:6},GE={key:7},YE={key:8},XE={key:9},WE={key:10},JE={key:11},qE={key:12},jE={key:13},$E=ke(c.defineComponent({__name:"EditorPanel",props:{element:Object},emits:["updateElement"],setup(A,{emit:e}){const t=A,r=e,n=c.ref({rule:{},...t.element});c.watch(()=>t.element,s=>{n.value={rule:{},...s}},{immediate:!0});function a(){var s;if(n.value.type===X.Icon&&!n.value.attrs.class.includes("iconfont")){j.error("图标仅支持 iconfont 图标");return}if(n.value.type===X.Image&&n.value.tag!=="img"){j.error("节点类型错误");return}if(n.value.type===X.Video&&n.value.tag!=="video"){j.error("节点类型错误");return}if(n.value.type===X.Link&&n.value.tag!=="a"){j.error("节点类型错误");return}if(n.value.type===X.Text){if(Number(n.value.rule.minText)>Number(n.value.rule.maxText)){j.error("最小文本长度不能大于最大文本长度");return}if(n.value.tag!=="p"&&n.value.tag!=="div"&&n.value.tag!=="span"&&n.value.tag!=="h1"&&n.value.tag!=="h2"&&n.value.tag!=="h3"&&n.value.tag!=="h4"&&n.value.tag!=="h5"&&n.value.tag!=="h6"){j.error("节点类型错误");return}}if(n.value.type===X.Block){if(Number(n.value.rule.minBlock)>Number(n.value.rule.maxBlock)){j.error("最小块数量不能大于最大块数量");return}if(n.value.tag!=="div"&&n.value.tag!=="section"&&n.value.tag!=="article"&&n.value.tag!=="nav"&&n.value.tag!=="header"&&n.value.tag!=="footer"&&n.value.tag!=="span"&&n.value.tag!=="p"&&n.value.tag!=="img"){j.error("节点类型错误");return}if(!n.value.children||n.value.children.length<1){j.error("节点错误,必须包含子元素");return}!n.value.rule.flexColumn&&((s=n.value.rule.flexColumns)==null?void 0:s.length)>0&&(n.value.rule.flexColumn=n.value.rule.flexColumns[0])}n.value.rule.minText?n.value.rule.minText=Number(n.value.rule.minText):n.value.rule.minText=void 0,n.value.rule.maxText?n.value.rule.maxText=Number(n.value.rule.maxText):n.value.rule.maxText=void 0,n.value.rule.minBlock?n.value.rule.minBlock=Number(n.value.rule.minBlock):n.value.rule.minBlock=void 0,n.value.rule.maxBlock?n.value.rule.maxBlock=Number(n.value.rule.maxBlock):n.value.rule.maxBlock=void 0,n.value.rule.flexColumn?n.value.rule.flexColumn=Number(n.value.rule.flexColumn):n.value.rule.flexColumn=void 0,n.value.rule.mobileFlexColumn?n.value.rule.mobileFlexColumn=Number(n.value.rule.mobileFlexColumn):n.value.rule.mobileFlexColumn=void 0,r("updateElement",n.value)}return(s,u)=>(c.openBlock(),c.createElementBlock("div",xE,[n.value?(c.openBlock(),c.createElementBlock("div",LE,[n.value.text!==void 0?(c.openBlock(),c.createElementBlock("div",HE,[u[16]||(u[16]=c.createElementVNode("label",{class:"block"},"内容",-1)),c.createElementVNode("div",DE,c.toDisplayString(n.value.text||"-"),1)])):c.createCommentVNode("",!0),c.createElementVNode("div",null,[u[17]||(u[17]=c.createElementVNode("label",{class:"block mt-4"},"节点",-1)),c.createElementVNode("div",OE,c.toDisplayString(n.value.xpath),1)]),c.createElementVNode("div",null,[u[19]||(u[19]=c.createElementVNode("label",{class:"block mt-4"},"类型",-1)),c.withDirectives(c.createElementVNode("select",{"onUpdate:modelValue":u[0]||(u[0]=o=>n.value.type=o),class:"border rounded p-1 w-full"},u[18]||(u[18]=[c.createElementVNode("option",{value:0},"无",-1),c.createElementVNode("option",{value:1},"文本",-1),c.createElementVNode("option",{value:2},"图片",-1),c.createElementVNode("option",{value:3},"视频",-1),c.createElementVNode("option",{value:4},"图标",-1),c.createElementVNode("option",{value:5},"链接",-1),c.createElementVNode("option",{value:6},"按钮",-1),c.createElementVNode("option",{value:10},"块",-1)]),512),[[c.vModelSelect,n.value.type]])]),n.value.type==c.unref(X).Text?(c.openBlock(),c.createElementBlock("div",RE,[u[20]||(u[20]=c.createElementVNode("label",{class:"block mt-4"},"最小文本长度",-1)),c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":u[1]||(u[1]=o=>n.value.rule.minText=o),class:"border rounded p-1 w-full"},null,512),[[c.vModelText,n.value.rule.minText]])])):c.createCommentVNode("",!0),n.value.type==c.unref(X).Text?(c.openBlock(),c.createElementBlock("div",ME,[u[21]||(u[21]=c.createElementVNode("label",{class:"block mt-4"},"最大文本长度",-1)),c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":u[2]||(u[2]=o=>n.value.rule.maxText=o),class:"border rounded p-1 w-full"},null,512),[[c.vModelText,n.value.rule.maxText]])])):c.createCommentVNode("",!0),n.value.type==c.unref(X).Image?(c.openBlock(),c.createElementBlock("div",kE,[u[22]||(u[22]=c.createElementVNode("label",{class:"block mt-4"},"是否裁剪",-1)),c.createVNode(Ft,{class:"py-2",modelValue:n.value.rule.crop,"onUpdate:modelValue":u[3]||(u[3]=o=>n.value.rule.crop=o),label:"是"},null,8,["modelValue"])])):c.createCommentVNode("",!0),n.value.type==c.unref(X).Image?(c.openBlock(),c.createElementBlock("div",PE,[u[23]||(u[23]=c.createElementVNode("label",{class:"block mt-4"},"图片宽度",-1)),c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":u[4]||(u[4]=o=>n.value.rule.minImageWidth=o),class:"border rounded p-1 w-full"},null,512),[[c.vModelText,n.value.rule.minImageWidth]])])):c.createCommentVNode("",!0),n.value.type==c.unref(X).Image?(c.openBlock(),c.createElementBlock("div",KE,[u[24]||(u[24]=c.createElementVNode("label",{class:"block mt-4"},"图片高度",-1)),c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":u[5]||(u[5]=o=>n.value.rule.maxImageHeight=o),class:"border rounded p-1 w-full"},null,512),[[c.vModelText,n.value.rule.maxImageHeight]])])):c.createCommentVNode("",!0),n.value.type==c.unref(X).Block?(c.openBlock(),c.createElementBlock("div",VE,[u[25]||(u[25]=c.createElementVNode("label",{class:"block mt-4"},"块最小数量",-1)),c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":u[6]||(u[6]=o=>n.value.rule.minBlock=o),class:"border rounded p-1 w-full"},null,512),[[c.vModelText,n.value.rule.minBlock]])])):c.createCommentVNode("",!0),n.value.type==c.unref(X).Block?(c.openBlock(),c.createElementBlock("div",GE,[u[26]||(u[26]=c.createElementVNode("label",{class:"block mt-4"},"块最大数量",-1)),c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":u[7]||(u[7]=o=>n.value.rule.maxBlock=o),class:"border rounded p-1 w-full"},null,512),[[c.vModelText,n.value.rule.maxBlock]])])):c.createCommentVNode("",!0),n.value.type==c.unref(X).Block?(c.openBlock(),c.createElementBlock("div",YE,[u[28]||(u[28]=c.createElementVNode("label",{class:"block mt-4"},"PC端每行列数",-1)),c.withDirectives(c.createElementVNode("select",{multiple:"","onUpdate:modelValue":u[8]||(u[8]=o=>n.value.rule.flexColumns=o),class:"border rounded p-1 w-full h-32"},u[27]||(u[27]=[c.createElementVNode("option",{value:1},"1",-1),c.createElementVNode("option",{value:2},"2",-1),c.createElementVNode("option",{value:3},"3",-1),c.createElementVNode("option",{value:4},"4",-1),c.createElementVNode("option",{value:5},"5",-1),c.createElementVNode("option",{value:6},"6",-1),c.createElementVNode("option",{value:7},"7",-1),c.createElementVNode("option",{value:8},"8",-1),c.createElementVNode("option",{value:9},"9",-1),c.createElementVNode("option",{value:10},"10",-1),c.createElementVNode("option",{value:11},"11",-1),c.createElementVNode("option",{value:12},"12",-1)]),512),[[c.vModelSelect,n.value.rule.flexColumns]])])):c.createCommentVNode("",!0),n.value.type==c.unref(X).Block?(c.openBlock(),c.createElementBlock("div",XE,[u[30]||(u[30]=c.createElementVNode("label",{class:"block mt-4"},"移动端每行列数",-1)),c.withDirectives(c.createElementVNode("select",{"onUpdate:modelValue":u[9]||(u[9]=o=>n.value.rule.mobileFlexColumn=o),class:"border rounded p-1 w-full"},u[29]||(u[29]=[c.createElementVNode("option",{value:void 0},"无(轮播)",-1),c.createElementVNode("option",{value:1},"1",-1),c.createElementVNode("option",{value:2},"2",-1),c.createElementVNode("option",{value:3},"3",-1),c.createElementVNode("option",{value:4},"4",-1),c.createElementVNode("option",{value:5},"5",-1),c.createElementVNode("option",{value:6},"6",-1)]),512),[[c.vModelSelect,n.value.rule.mobileFlexColumn]])])):c.createCommentVNode("",!0),n.value.type==c.unref(X).Text||n.value.type==c.unref(X).Icon||n.value.type==c.unref(X).Button?(c.openBlock(),c.createElementBlock("div",WE,[u[31]||(u[31]=c.createElementVNode("label",{class:"block mt-4"},"主题色",-1)),c.createVNode(Ft,{class:"py-2",modelValue:n.value.rule.isThemeColor,"onUpdate:modelValue":u[10]||(u[10]=o=>n.value.rule.isThemeColor=o),label:"是"},null,8,["modelValue"])])):c.createCommentVNode("",!0),c.createElementVNode("div",null,[u[32]||(u[32]=c.createElementVNode("label",{class:"block mt-4"},"是否必填",-1)),c.createVNode(Ft,{class:"py-2",modelValue:n.value.rule.isRequired,"onUpdate:modelValue":u[11]||(u[11]=o=>n.value.rule.isRequired=o),label:"是"},null,8,["modelValue"])]),c.createElementVNode("div",null,[u[33]||(u[33]=c.createElementVNode("label",{class:"block mt-4"},"是否只读",-1)),c.createVNode(Ft,{class:"py-2",modelValue:n.value.rule.isReadOnly,"onUpdate:modelValue":u[12]||(u[12]=o=>n.value.rule.isReadOnly=o),label:"是"},null,8,["modelValue"])]),n.value.type==c.unref(X).Link||n.value.type==c.unref(X).Button?(c.openBlock(),c.createElementBlock("div",JE,[u[34]||(u[34]=c.createElementVNode("label",{class:"block mt-4"},"打开美洽",-1)),c.createVNode(Ft,{class:"py-2",modelValue:n.value.rule.openMeiqia,"onUpdate:modelValue":u[13]||(u[13]=o=>n.value.rule.openMeiqia=o),label:"是"},null,8,["modelValue"])])):c.createCommentVNode("",!0),n.value.type==c.unref(X).Link||n.value.type==c.unref(X).Button?(c.openBlock(),c.createElementBlock("div",qE,[u[35]||(u[35]=c.createElementVNode("label",{class:"block mt-4"},"链接",-1)),c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":u[14]||(u[14]=o=>n.value.rule.linkUrl=o),class:"border rounded p-1 w-full"},null,512),[[c.vModelText,n.value.rule.linkUrl]])])):c.createCommentVNode("",!0),n.value.type==c.unref(X).Text?(c.openBlock(),c.createElementBlock("div",jE,[u[36]||(u[36]=c.createElementVNode("label",{class:"block mt-4"},"允许换行(回车/粘贴多段文本等)",-1)),c.createVNode(Ft,{class:"py-2",modelValue:n.value.rule.allowWrap,"onUpdate:modelValue":u[15]||(u[15]=o=>n.value.rule.allowWrap=o),label:"是"},null,8,["modelValue"])])):c.createCommentVNode("",!0)])):c.createCommentVNode("",!0),c.createElementVNode("button",{onClick:a,class:"mt-4 p-2 bg-green-500 text-white rounded"}," 保存 ")]))}}),[["__scopeId","data-v-a7d2f78b"]]);/*!
10
10
  * Cropper.js v1.6.2
11
11
  * https://fengyuanchen.github.io/cropperjs
12
12
  *
@@ -14,8 +14,8 @@
14
14
  * Released under the MIT license
15
15
  *
16
16
  * Date: 2024-04-21T07:43:05.335Z
17
- */function go(A,e){var t=Object.keys(A);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(A);e&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(A,n).enumerable})),t.push.apply(t,r)}return t}function Eo(A){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?go(Object(t),!0).forEach(function(r){zE(A,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(t)):go(Object(t)).forEach(function(r){Object.defineProperty(A,r,Object.getOwnPropertyDescriptor(t,r))})}return A}function jE(A,e){if(typeof A!="object"||!A)return A;var t=A[Symbol.toPrimitive];if(t!==void 0){var r=t.call(A,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(A)}function mo(A){var e=jE(A,"string");return typeof e=="symbol"?e:e+""}function ns(A){"@babel/helpers - typeof";return ns=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ns(A)}function $E(A,e){if(!(A instanceof e))throw new TypeError("Cannot call a class as a function")}function po(A,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(A,mo(r.key),r)}}function ZE(A,e,t){return e&&po(A.prototype,e),t&&po(A,t),Object.defineProperty(A,"prototype",{writable:!1}),A}function zE(A,e,t){return e=mo(e),e in A?Object.defineProperty(A,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):A[e]=t,A}function Co(A){return Am(A)||em(A)||tm(A)||rm()}function Am(A){if(Array.isArray(A))return as(A)}function em(A){if(typeof Symbol<"u"&&A[Symbol.iterator]!=null||A["@@iterator"]!=null)return Array.from(A)}function tm(A,e){if(A){if(typeof A=="string")return as(A,e);var t=Object.prototype.toString.call(A).slice(8,-1);if(t==="Object"&&A.constructor&&(t=A.constructor.name),t==="Map"||t==="Set")return Array.from(A);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return as(A,e)}}function as(A,e){(e==null||e>A.length)&&(e=A.length);for(var t=0,r=new Array(e);t<e;t++)r[t]=A[t];return r}function rm(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
18
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var hn=typeof window<"u"&&typeof window.document<"u",pe=hn?window:{},ss=hn&&pe.document.documentElement?"ontouchstart"in pe.document.documentElement:!1,is=hn?"PointerEvent"in pe:!1,BA="cropper",us="all",wo="crop",To="move",bo="zoom",it="e",ut="w",Qt="s",Me="n",ur="ne",or="nw",cr="se",lr="sw",os="".concat(BA,"-crop"),Uo="".concat(BA,"-disabled"),jA="".concat(BA,"-hidden"),Qo="".concat(BA,"-hide"),nm="".concat(BA,"-invisible"),dn="".concat(BA,"-modal"),cs="".concat(BA,"-move"),fr="".concat(BA,"Action"),Bn="".concat(BA,"Preview"),ls="crop",Fo="move",Io="none",fs="crop",hs="cropend",ds="cropmove",Bs="cropstart",_o="dblclick",am=ss?"touchstart":"mousedown",sm=ss?"touchmove":"mousemove",im=ss?"touchend touchcancel":"mouseup",yo=is?"pointerdown":am,No=is?"pointermove":sm,vo=is?"pointerup pointercancel":im,So="ready",xo="resize",Lo="wheel",gs="zoom",Ho="image/jpeg",um=/^e|w|s|n|se|sw|ne|nw|all|crop|move|zoom$/,om=/^data:/,cm=/^data:image\/jpeg;base64,/,lm=/^img|canvas$/i,Do=200,Oo=100,Ro={viewMode:0,dragMode:ls,initialAspectRatio:NaN,aspectRatio:NaN,data:null,preview:"",responsive:!0,restore:!0,checkCrossOrigin:!0,checkOrientation:!0,modal:!0,guides:!0,center:!0,highlight:!0,background:!0,autoCrop:!0,autoCropArea:.8,movable:!0,rotatable:!0,scalable:!0,zoomable:!0,zoomOnTouch:!0,zoomOnWheel:!0,wheelZoomRatio:.1,cropBoxMovable:!0,cropBoxResizable:!0,toggleDragModeOnDblclick:!0,minCanvasWidth:0,minCanvasHeight:0,minCropBoxWidth:0,minCropBoxHeight:0,minContainerWidth:Do,minContainerHeight:Oo,ready:null,cropstart:null,cropmove:null,cropend:null,crop:null,zoom:null},fm='<div class="cropper-container" touch-action="none"><div class="cropper-wrap-box"><div class="cropper-canvas"></div></div><div class="cropper-drag-box"></div><div class="cropper-crop-box"><span class="cropper-view-box"></span><span class="cropper-dashed dashed-h"></span><span class="cropper-dashed dashed-v"></span><span class="cropper-center"></span><span class="cropper-face"></span><span class="cropper-line line-e" data-cropper-action="e"></span><span class="cropper-line line-n" data-cropper-action="n"></span><span class="cropper-line line-w" data-cropper-action="w"></span><span class="cropper-line line-s" data-cropper-action="s"></span><span class="cropper-point point-e" data-cropper-action="e"></span><span class="cropper-point point-n" data-cropper-action="n"></span><span class="cropper-point point-w" data-cropper-action="w"></span><span class="cropper-point point-s" data-cropper-action="s"></span><span class="cropper-point point-ne" data-cropper-action="ne"></span><span class="cropper-point point-nw" data-cropper-action="nw"></span><span class="cropper-point point-sw" data-cropper-action="sw"></span><span class="cropper-point point-se" data-cropper-action="se"></span></div></div>',hm=Number.isNaN||pe.isNaN;function Z(A){return typeof A=="number"&&!hm(A)}var Mo=function(e){return e>0&&e<1/0};function Es(A){return typeof A>"u"}function ot(A){return ns(A)==="object"&&A!==null}var dm=Object.prototype.hasOwnProperty;function Ft(A){if(!ot(A))return!1;try{var e=A.constructor,t=e.prototype;return e&&t&&dm.call(t,"isPrototypeOf")}catch{return!1}}function $A(A){return typeof A=="function"}var Bm=Array.prototype.slice;function ko(A){return Array.from?Array.from(A):Bm.call(A)}function UA(A,e){return A&&$A(e)&&(Array.isArray(A)||Z(A.length)?ko(A).forEach(function(t,r){e.call(A,t,r,A)}):ot(A)&&Object.keys(A).forEach(function(t){e.call(A,A[t],t,A)})),A}var gA=Object.assign||function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return ot(e)&&r.length>0&&r.forEach(function(a){ot(a)&&Object.keys(a).forEach(function(s){e[s]=a[s]})}),e},gm=/\.\d*(?:0|9){12}\d*$/;function It(A){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1e11;return gm.test(A)?Math.round(A*e)/e:A}var Em=/^width|height|left|top|marginLeft|marginTop$/;function ke(A,e){var t=A.style;UA(e,function(r,n){Em.test(n)&&Z(r)&&(r="".concat(r,"px")),t[n]=r})}function mm(A,e){return A.classList?A.classList.contains(e):A.className.indexOf(e)>-1}function LA(A,e){if(e){if(Z(A.length)){UA(A,function(r){LA(r,e)});return}if(A.classList){A.classList.add(e);return}var t=A.className.trim();t?t.indexOf(e)<0&&(A.className="".concat(t," ").concat(e)):A.className=e}}function Ce(A,e){if(e){if(Z(A.length)){UA(A,function(t){Ce(t,e)});return}if(A.classList){A.classList.remove(e);return}A.className.indexOf(e)>=0&&(A.className=A.className.replace(e,""))}}function _t(A,e,t){if(e){if(Z(A.length)){UA(A,function(r){_t(r,e,t)});return}t?LA(A,e):Ce(A,e)}}var pm=/([a-z\d])([A-Z])/g;function ms(A){return A.replace(pm,"$1-$2").toLowerCase()}function ps(A,e){return ot(A[e])?A[e]:A.dataset?A.dataset[e]:A.getAttribute("data-".concat(ms(e)))}function hr(A,e,t){ot(t)?A[e]=t:A.dataset?A.dataset[e]=t:A.setAttribute("data-".concat(ms(e)),t)}function Cm(A,e){if(ot(A[e]))try{delete A[e]}catch{A[e]=void 0}else if(A.dataset)try{delete A.dataset[e]}catch{A.dataset[e]=void 0}else A.removeAttribute("data-".concat(ms(e)))}var Po=/\s\s*/,Ko=function(){var A=!1;if(hn){var e=!1,t=function(){},r=Object.defineProperty({},"once",{get:function(){return A=!0,e},set:function(a){e=a}});pe.addEventListener("test",t,r),pe.removeEventListener("test",t,r)}return A}();function he(A,e,t){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},n=t;e.trim().split(Po).forEach(function(a){if(!Ko){var s=A.listeners;s&&s[a]&&s[a][t]&&(n=s[a][t],delete s[a][t],Object.keys(s[a]).length===0&&delete s[a],Object.keys(s).length===0&&delete A.listeners)}A.removeEventListener(a,n,r)})}function ae(A,e,t){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},n=t;e.trim().split(Po).forEach(function(a){if(r.once&&!Ko){var s=A.listeners,u=s===void 0?{}:s;n=function(){delete u[a][t],A.removeEventListener(a,n,r);for(var l=arguments.length,f=new Array(l),h=0;h<l;h++)f[h]=arguments[h];t.apply(A,f)},u[a]||(u[a]={}),u[a][t]&&A.removeEventListener(a,u[a][t],r),u[a][t]=n,A.listeners=u}A.addEventListener(a,n,r)})}function yt(A,e,t){var r;return $A(Event)&&$A(CustomEvent)?r=new CustomEvent(e,{detail:t,bubbles:!0,cancelable:!0}):(r=document.createEvent("CustomEvent"),r.initCustomEvent(e,!0,!0,t)),A.dispatchEvent(r)}function Vo(A){var e=A.getBoundingClientRect();return{left:e.left+(window.pageXOffset-document.documentElement.clientLeft),top:e.top+(window.pageYOffset-document.documentElement.clientTop)}}var Cs=pe.location,wm=/^(\w+:)\/\/([^:/?#]*):?(\d*)/i;function Go(A){var e=A.match(wm);return e!==null&&(e[1]!==Cs.protocol||e[2]!==Cs.hostname||e[3]!==Cs.port)}function Yo(A){var e="timestamp=".concat(new Date().getTime());return A+(A.indexOf("?")===-1?"?":"&")+e}function dr(A){var e=A.rotate,t=A.scaleX,r=A.scaleY,n=A.translateX,a=A.translateY,s=[];Z(n)&&n!==0&&s.push("translateX(".concat(n,"px)")),Z(a)&&a!==0&&s.push("translateY(".concat(a,"px)")),Z(e)&&e!==0&&s.push("rotate(".concat(e,"deg)")),Z(t)&&t!==1&&s.push("scaleX(".concat(t,")")),Z(r)&&r!==1&&s.push("scaleY(".concat(r,")"));var u=s.length?s.join(" "):"none";return{WebkitTransform:u,msTransform:u,transform:u}}function Tm(A){var e=Eo({},A),t=0;return UA(A,function(r,n){delete e[n],UA(e,function(a){var s=Math.abs(r.startX-a.startX),u=Math.abs(r.startY-a.startY),o=Math.abs(r.endX-a.endX),l=Math.abs(r.endY-a.endY),f=Math.sqrt(s*s+u*u),h=Math.sqrt(o*o+l*l),d=(h-f)/f;Math.abs(d)>Math.abs(t)&&(t=d)})}),t}function gn(A,e){var t=A.pageX,r=A.pageY,n={endX:t,endY:r};return e?n:Eo({startX:t,startY:r},n)}function bm(A){var e=0,t=0,r=0;return UA(A,function(n){var a=n.startX,s=n.startY;e+=a,t+=s,r+=1}),e/=r,t/=r,{pageX:e,pageY:t}}function Pe(A){var e=A.aspectRatio,t=A.height,r=A.width,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"contain",a=Mo(r),s=Mo(t);if(a&&s){var u=t*e;n==="contain"&&u>r||n==="cover"&&u<r?t=r/e:r=t*e}else a?t=r/e:s&&(r=t*e);return{width:r,height:t}}function Um(A){var e=A.width,t=A.height,r=A.degree;if(r=Math.abs(r)%180,r===90)return{width:t,height:e};var n=r%90*Math.PI/180,a=Math.sin(n),s=Math.cos(n),u=e*s+t*a,o=e*a+t*s;return r>90?{width:o,height:u}:{width:u,height:o}}function Qm(A,e,t,r){var n=e.aspectRatio,a=e.naturalWidth,s=e.naturalHeight,u=e.rotate,o=u===void 0?0:u,l=e.scaleX,f=l===void 0?1:l,h=e.scaleY,d=h===void 0?1:h,C=t.aspectRatio,p=t.naturalWidth,T=t.naturalHeight,U=r.fillColor,N=U===void 0?"transparent":U,_=r.imageSmoothingEnabled,D=_===void 0?!0:_,P=r.imageSmoothingQuality,L=P===void 0?"low":P,m=r.maxWidth,H=m===void 0?1/0:m,K=r.maxHeight,k=K===void 0?1/0:K,AA=r.minWidth,uA=AA===void 0?0:AA,fA=r.minHeight,q=fA===void 0?0:fA,tA=document.createElement("canvas"),oA=tA.getContext("2d"),hA=Pe({aspectRatio:C,width:H,height:k}),pA=Pe({aspectRatio:C,width:uA,height:q},"cover"),XA=Math.min(hA.width,Math.max(pA.width,p)),yA=Math.min(hA.height,Math.max(pA.height,T)),GA=Pe({aspectRatio:n,width:H,height:k}),NA=Pe({aspectRatio:n,width:uA,height:q},"cover"),zA=Math.min(GA.width,Math.max(NA.width,a)),FA=Math.min(GA.height,Math.max(NA.height,s)),kA=[-zA/2,-FA/2,zA,FA];return tA.width=It(XA),tA.height=It(yA),oA.fillStyle=N,oA.fillRect(0,0,XA,yA),oA.save(),oA.translate(XA/2,yA/2),oA.rotate(o*Math.PI/180),oA.scale(f,d),oA.imageSmoothingEnabled=D,oA.imageSmoothingQuality=L,oA.drawImage.apply(oA,[A].concat(Co(kA.map(function(I){return Math.floor(It(I))})))),oA.restore(),tA}var Xo=String.fromCharCode;function Fm(A,e,t){var r="";t+=e;for(var n=e;n<t;n+=1)r+=Xo(A.getUint8(n));return r}var Im=/^data:.*,/;function _m(A){var e=A.replace(Im,""),t=atob(e),r=new ArrayBuffer(t.length),n=new Uint8Array(r);return UA(n,function(a,s){n[s]=t.charCodeAt(s)}),r}function ym(A,e){for(var t=[],r=8192,n=new Uint8Array(A);n.length>0;)t.push(Xo.apply(null,ko(n.subarray(0,r)))),n=n.subarray(r);return"data:".concat(e,";base64,").concat(btoa(t.join("")))}function Nm(A){var e=new DataView(A),t;try{var r,n,a;if(e.getUint8(0)===255&&e.getUint8(1)===216)for(var s=e.byteLength,u=2;u+1<s;){if(e.getUint8(u)===255&&e.getUint8(u+1)===225){n=u;break}u+=1}if(n){var o=n+4,l=n+10;if(Fm(e,o,4)==="Exif"){var f=e.getUint16(l);if(r=f===18761,(r||f===19789)&&e.getUint16(l+2,r)===42){var h=e.getUint32(l+4,r);h>=8&&(a=l+h)}}}if(a){var d=e.getUint16(a,r),C,p;for(p=0;p<d;p+=1)if(C=a+p*12+2,e.getUint16(C,r)===274){C+=8,t=e.getUint16(C,r),e.setUint16(C,1,r);break}}}catch{t=1}return t}function vm(A){var e=0,t=1,r=1;switch(A){case 2:t=-1;break;case 3:e=-180;break;case 4:r=-1;break;case 5:e=90,r=-1;break;case 6:e=90;break;case 7:e=90,t=-1;break;case 8:e=-90;break}return{rotate:e,scaleX:t,scaleY:r}}var Sm={render:function(){this.initContainer(),this.initCanvas(),this.initCropBox(),this.renderCanvas(),this.cropped&&this.renderCropBox()},initContainer:function(){var e=this.element,t=this.options,r=this.container,n=this.cropper,a=Number(t.minContainerWidth),s=Number(t.minContainerHeight);LA(n,jA),Ce(e,jA);var u={width:Math.max(r.offsetWidth,a>=0?a:Do),height:Math.max(r.offsetHeight,s>=0?s:Oo)};this.containerData=u,ke(n,{width:u.width,height:u.height}),LA(e,jA),Ce(n,jA)},initCanvas:function(){var e=this.containerData,t=this.imageData,r=this.options.viewMode,n=Math.abs(t.rotate)%180===90,a=n?t.naturalHeight:t.naturalWidth,s=n?t.naturalWidth:t.naturalHeight,u=a/s,o=e.width,l=e.height;e.height*u>e.width?r===3?o=e.height*u:l=e.width/u:r===3?l=e.width/u:o=e.height*u;var f={aspectRatio:u,naturalWidth:a,naturalHeight:s,width:o,height:l};this.canvasData=f,this.limited=r===1||r===2,this.limitCanvas(!0,!0),f.width=Math.min(Math.max(f.width,f.minWidth),f.maxWidth),f.height=Math.min(Math.max(f.height,f.minHeight),f.maxHeight),f.left=(e.width-f.width)/2,f.top=(e.height-f.height)/2,f.oldLeft=f.left,f.oldTop=f.top,this.initialCanvasData=gA({},f)},limitCanvas:function(e,t){var r=this.options,n=this.containerData,a=this.canvasData,s=this.cropBoxData,u=r.viewMode,o=a.aspectRatio,l=this.cropped&&s;if(e){var f=Number(r.minCanvasWidth)||0,h=Number(r.minCanvasHeight)||0;u>1?(f=Math.max(f,n.width),h=Math.max(h,n.height),u===3&&(h*o>f?f=h*o:h=f/o)):u>0&&(f?f=Math.max(f,l?s.width:0):h?h=Math.max(h,l?s.height:0):l&&(f=s.width,h=s.height,h*o>f?f=h*o:h=f/o));var d=Pe({aspectRatio:o,width:f,height:h});f=d.width,h=d.height,a.minWidth=f,a.minHeight=h,a.maxWidth=1/0,a.maxHeight=1/0}if(t)if(u>(l?0:1)){var C=n.width-a.width,p=n.height-a.height;a.minLeft=Math.min(0,C),a.minTop=Math.min(0,p),a.maxLeft=Math.max(0,C),a.maxTop=Math.max(0,p),l&&this.limited&&(a.minLeft=Math.min(s.left,s.left+(s.width-a.width)),a.minTop=Math.min(s.top,s.top+(s.height-a.height)),a.maxLeft=s.left,a.maxTop=s.top,u===2&&(a.width>=n.width&&(a.minLeft=Math.min(0,C),a.maxLeft=Math.max(0,C)),a.height>=n.height&&(a.minTop=Math.min(0,p),a.maxTop=Math.max(0,p))))}else a.minLeft=-a.width,a.minTop=-a.height,a.maxLeft=n.width,a.maxTop=n.height},renderCanvas:function(e,t){var r=this.canvasData,n=this.imageData;if(t){var a=Um({width:n.naturalWidth*Math.abs(n.scaleX||1),height:n.naturalHeight*Math.abs(n.scaleY||1),degree:n.rotate||0}),s=a.width,u=a.height,o=r.width*(s/r.naturalWidth),l=r.height*(u/r.naturalHeight);r.left-=(o-r.width)/2,r.top-=(l-r.height)/2,r.width=o,r.height=l,r.aspectRatio=s/u,r.naturalWidth=s,r.naturalHeight=u,this.limitCanvas(!0,!1)}(r.width>r.maxWidth||r.width<r.minWidth)&&(r.left=r.oldLeft),(r.height>r.maxHeight||r.height<r.minHeight)&&(r.top=r.oldTop),r.width=Math.min(Math.max(r.width,r.minWidth),r.maxWidth),r.height=Math.min(Math.max(r.height,r.minHeight),r.maxHeight),this.limitCanvas(!1,!0),r.left=Math.min(Math.max(r.left,r.minLeft),r.maxLeft),r.top=Math.min(Math.max(r.top,r.minTop),r.maxTop),r.oldLeft=r.left,r.oldTop=r.top,ke(this.canvas,gA({width:r.width,height:r.height},dr({translateX:r.left,translateY:r.top}))),this.renderImage(e),this.cropped&&this.limited&&this.limitCropBox(!0,!0)},renderImage:function(e){var t=this.canvasData,r=this.imageData,n=r.naturalWidth*(t.width/t.naturalWidth),a=r.naturalHeight*(t.height/t.naturalHeight);gA(r,{width:n,height:a,left:(t.width-n)/2,top:(t.height-a)/2}),ke(this.image,gA({width:r.width,height:r.height},dr(gA({translateX:r.left,translateY:r.top},r)))),e&&this.output()},initCropBox:function(){var e=this.options,t=this.canvasData,r=e.aspectRatio||e.initialAspectRatio,n=Number(e.autoCropArea)||.8,a={width:t.width,height:t.height};r&&(t.height*r>t.width?a.height=a.width/r:a.width=a.height*r),this.cropBoxData=a,this.limitCropBox(!0,!0),a.width=Math.min(Math.max(a.width,a.minWidth),a.maxWidth),a.height=Math.min(Math.max(a.height,a.minHeight),a.maxHeight),a.width=Math.max(a.minWidth,a.width*n),a.height=Math.max(a.minHeight,a.height*n),a.left=t.left+(t.width-a.width)/2,a.top=t.top+(t.height-a.height)/2,a.oldLeft=a.left,a.oldTop=a.top,this.initialCropBoxData=gA({},a)},limitCropBox:function(e,t){var r=this.options,n=this.containerData,a=this.canvasData,s=this.cropBoxData,u=this.limited,o=r.aspectRatio;if(e){var l=Number(r.minCropBoxWidth)||0,f=Number(r.minCropBoxHeight)||0,h=u?Math.min(n.width,a.width,a.width+a.left,n.width-a.left):n.width,d=u?Math.min(n.height,a.height,a.height+a.top,n.height-a.top):n.height;l=Math.min(l,n.width),f=Math.min(f,n.height),o&&(l&&f?f*o>l?f=l/o:l=f*o:l?f=l/o:f&&(l=f*o),d*o>h?d=h/o:h=d*o),s.minWidth=Math.min(l,h),s.minHeight=Math.min(f,d),s.maxWidth=h,s.maxHeight=d}t&&(u?(s.minLeft=Math.max(0,a.left),s.minTop=Math.max(0,a.top),s.maxLeft=Math.min(n.width,a.left+a.width)-s.width,s.maxTop=Math.min(n.height,a.top+a.height)-s.height):(s.minLeft=0,s.minTop=0,s.maxLeft=n.width-s.width,s.maxTop=n.height-s.height))},renderCropBox:function(){var e=this.options,t=this.containerData,r=this.cropBoxData;(r.width>r.maxWidth||r.width<r.minWidth)&&(r.left=r.oldLeft),(r.height>r.maxHeight||r.height<r.minHeight)&&(r.top=r.oldTop),r.width=Math.min(Math.max(r.width,r.minWidth),r.maxWidth),r.height=Math.min(Math.max(r.height,r.minHeight),r.maxHeight),this.limitCropBox(!1,!0),r.left=Math.min(Math.max(r.left,r.minLeft),r.maxLeft),r.top=Math.min(Math.max(r.top,r.minTop),r.maxTop),r.oldLeft=r.left,r.oldTop=r.top,e.movable&&e.cropBoxMovable&&hr(this.face,fr,r.width>=t.width&&r.height>=t.height?To:us),ke(this.cropBox,gA({width:r.width,height:r.height},dr({translateX:r.left,translateY:r.top}))),this.cropped&&this.limited&&this.limitCanvas(!0,!0),this.disabled||this.output()},output:function(){this.preview(),yt(this.element,fs,this.getData())}},xm={initPreview:function(){var e=this.element,t=this.crossOrigin,r=this.options.preview,n=t?this.crossOriginUrl:this.url,a=e.alt||"The image to preview",s=document.createElement("img");if(t&&(s.crossOrigin=t),s.src=n,s.alt=a,this.viewBox.appendChild(s),this.viewBoxImage=s,!!r){var u=r;typeof r=="string"?u=e.ownerDocument.querySelectorAll(r):r.querySelector&&(u=[r]),this.previews=u,UA(u,function(o){var l=document.createElement("img");hr(o,Bn,{width:o.offsetWidth,height:o.offsetHeight,html:o.innerHTML}),t&&(l.crossOrigin=t),l.src=n,l.alt=a,l.style.cssText='display:block;width:100%;height:auto;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;image-orientation:0deg!important;"',o.innerHTML="",o.appendChild(l)})}},resetPreview:function(){UA(this.previews,function(e){var t=ps(e,Bn);ke(e,{width:t.width,height:t.height}),e.innerHTML=t.html,Cm(e,Bn)})},preview:function(){var e=this.imageData,t=this.canvasData,r=this.cropBoxData,n=r.width,a=r.height,s=e.width,u=e.height,o=r.left-t.left-e.left,l=r.top-t.top-e.top;!this.cropped||this.disabled||(ke(this.viewBoxImage,gA({width:s,height:u},dr(gA({translateX:-o,translateY:-l},e)))),UA(this.previews,function(f){var h=ps(f,Bn),d=h.width,C=h.height,p=d,T=C,U=1;n&&(U=d/n,T=a*U),a&&T>C&&(U=C/a,p=n*U,T=C),ke(f,{width:p,height:T}),ke(f.getElementsByTagName("img")[0],gA({width:s*U,height:u*U},dr(gA({translateX:-o*U,translateY:-l*U},e))))}))}},Lm={bind:function(){var e=this.element,t=this.options,r=this.cropper;$A(t.cropstart)&&ae(e,Bs,t.cropstart),$A(t.cropmove)&&ae(e,ds,t.cropmove),$A(t.cropend)&&ae(e,hs,t.cropend),$A(t.crop)&&ae(e,fs,t.crop),$A(t.zoom)&&ae(e,gs,t.zoom),ae(r,yo,this.onCropStart=this.cropStart.bind(this)),t.zoomable&&t.zoomOnWheel&&ae(r,Lo,this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),t.toggleDragModeOnDblclick&&ae(r,_o,this.onDblclick=this.dblclick.bind(this)),ae(e.ownerDocument,No,this.onCropMove=this.cropMove.bind(this)),ae(e.ownerDocument,vo,this.onCropEnd=this.cropEnd.bind(this)),t.responsive&&ae(window,xo,this.onResize=this.resize.bind(this))},unbind:function(){var e=this.element,t=this.options,r=this.cropper;$A(t.cropstart)&&he(e,Bs,t.cropstart),$A(t.cropmove)&&he(e,ds,t.cropmove),$A(t.cropend)&&he(e,hs,t.cropend),$A(t.crop)&&he(e,fs,t.crop),$A(t.zoom)&&he(e,gs,t.zoom),he(r,yo,this.onCropStart),t.zoomable&&t.zoomOnWheel&&he(r,Lo,this.onWheel,{passive:!1,capture:!0}),t.toggleDragModeOnDblclick&&he(r,_o,this.onDblclick),he(e.ownerDocument,No,this.onCropMove),he(e.ownerDocument,vo,this.onCropEnd),t.responsive&&he(window,xo,this.onResize)}},Hm={resize:function(){if(!this.disabled){var e=this.options,t=this.container,r=this.containerData,n=t.offsetWidth/r.width,a=t.offsetHeight/r.height,s=Math.abs(n-1)>Math.abs(a-1)?n:a;if(s!==1){var u,o;e.restore&&(u=this.getCanvasData(),o=this.getCropBoxData()),this.render(),e.restore&&(this.setCanvasData(UA(u,function(l,f){u[f]=l*s})),this.setCropBoxData(UA(o,function(l,f){o[f]=l*s})))}}},dblclick:function(){this.disabled||this.options.dragMode===Io||this.setDragMode(mm(this.dragBox,os)?Fo:ls)},wheel:function(e){var t=this,r=Number(this.options.wheelZoomRatio)||.1,n=1;this.disabled||(e.preventDefault(),!this.wheeling&&(this.wheeling=!0,setTimeout(function(){t.wheeling=!1},50),e.deltaY?n=e.deltaY>0?1:-1:e.wheelDelta?n=-e.wheelDelta/120:e.detail&&(n=e.detail>0?1:-1),this.zoom(-n*r,e)))},cropStart:function(e){var t=e.buttons,r=e.button;if(!(this.disabled||(e.type==="mousedown"||e.type==="pointerdown"&&e.pointerType==="mouse")&&(Z(t)&&t!==1||Z(r)&&r!==0||e.ctrlKey))){var n=this.options,a=this.pointers,s;e.changedTouches?UA(e.changedTouches,function(u){a[u.identifier]=gn(u)}):a[e.pointerId||0]=gn(e),Object.keys(a).length>1&&n.zoomable&&n.zoomOnTouch?s=bo:s=ps(e.target,fr),um.test(s)&&yt(this.element,Bs,{originalEvent:e,action:s})!==!1&&(e.preventDefault(),this.action=s,this.cropping=!1,s===wo&&(this.cropping=!0,LA(this.dragBox,dn)))}},cropMove:function(e){var t=this.action;if(!(this.disabled||!t)){var r=this.pointers;e.preventDefault(),yt(this.element,ds,{originalEvent:e,action:t})!==!1&&(e.changedTouches?UA(e.changedTouches,function(n){gA(r[n.identifier]||{},gn(n,!0))}):gA(r[e.pointerId||0]||{},gn(e,!0)),this.change(e))}},cropEnd:function(e){if(!this.disabled){var t=this.action,r=this.pointers;e.changedTouches?UA(e.changedTouches,function(n){delete r[n.identifier]}):delete r[e.pointerId||0],t&&(e.preventDefault(),Object.keys(r).length||(this.action=""),this.cropping&&(this.cropping=!1,_t(this.dragBox,dn,this.cropped&&this.options.modal)),yt(this.element,hs,{originalEvent:e,action:t}))}}},Dm={change:function(e){var t=this.options,r=this.canvasData,n=this.containerData,a=this.cropBoxData,s=this.pointers,u=this.action,o=t.aspectRatio,l=a.left,f=a.top,h=a.width,d=a.height,C=l+h,p=f+d,T=0,U=0,N=n.width,_=n.height,D=!0,P;!o&&e.shiftKey&&(o=h&&d?h/d:1),this.limited&&(T=a.minLeft,U=a.minTop,N=T+Math.min(n.width,r.width,r.left+r.width),_=U+Math.min(n.height,r.height,r.top+r.height));var L=s[Object.keys(s)[0]],m={x:L.endX-L.startX,y:L.endY-L.startY},H=function(k){switch(k){case it:C+m.x>N&&(m.x=N-C);break;case ut:l+m.x<T&&(m.x=T-l);break;case Me:f+m.y<U&&(m.y=U-f);break;case Qt:p+m.y>_&&(m.y=_-p);break}};switch(u){case us:l+=m.x,f+=m.y;break;case it:if(m.x>=0&&(C>=N||o&&(f<=U||p>=_))){D=!1;break}H(it),h+=m.x,h<0&&(u=ut,h=-h,l-=h),o&&(d=h/o,f+=(a.height-d)/2);break;case Me:if(m.y<=0&&(f<=U||o&&(l<=T||C>=N))){D=!1;break}H(Me),d-=m.y,f+=m.y,d<0&&(u=Qt,d=-d,f-=d),o&&(h=d*o,l+=(a.width-h)/2);break;case ut:if(m.x<=0&&(l<=T||o&&(f<=U||p>=_))){D=!1;break}H(ut),h-=m.x,l+=m.x,h<0&&(u=it,h=-h,l-=h),o&&(d=h/o,f+=(a.height-d)/2);break;case Qt:if(m.y>=0&&(p>=_||o&&(l<=T||C>=N))){D=!1;break}H(Qt),d+=m.y,d<0&&(u=Me,d=-d,f-=d),o&&(h=d*o,l+=(a.width-h)/2);break;case ur:if(o){if(m.y<=0&&(f<=U||C>=N)){D=!1;break}H(Me),d-=m.y,f+=m.y,h=d*o}else H(Me),H(it),m.x>=0?C<N?h+=m.x:m.y<=0&&f<=U&&(D=!1):h+=m.x,m.y<=0?f>U&&(d-=m.y,f+=m.y):(d-=m.y,f+=m.y);h<0&&d<0?(u=lr,d=-d,h=-h,f-=d,l-=h):h<0?(u=or,h=-h,l-=h):d<0&&(u=cr,d=-d,f-=d);break;case or:if(o){if(m.y<=0&&(f<=U||l<=T)){D=!1;break}H(Me),d-=m.y,f+=m.y,h=d*o,l+=a.width-h}else H(Me),H(ut),m.x<=0?l>T?(h-=m.x,l+=m.x):m.y<=0&&f<=U&&(D=!1):(h-=m.x,l+=m.x),m.y<=0?f>U&&(d-=m.y,f+=m.y):(d-=m.y,f+=m.y);h<0&&d<0?(u=cr,d=-d,h=-h,f-=d,l-=h):h<0?(u=ur,h=-h,l-=h):d<0&&(u=lr,d=-d,f-=d);break;case lr:if(o){if(m.x<=0&&(l<=T||p>=_)){D=!1;break}H(ut),h-=m.x,l+=m.x,d=h/o}else H(Qt),H(ut),m.x<=0?l>T?(h-=m.x,l+=m.x):m.y>=0&&p>=_&&(D=!1):(h-=m.x,l+=m.x),m.y>=0?p<_&&(d+=m.y):d+=m.y;h<0&&d<0?(u=ur,d=-d,h=-h,f-=d,l-=h):h<0?(u=cr,h=-h,l-=h):d<0&&(u=or,d=-d,f-=d);break;case cr:if(o){if(m.x>=0&&(C>=N||p>=_)){D=!1;break}H(it),h+=m.x,d=h/o}else H(Qt),H(it),m.x>=0?C<N?h+=m.x:m.y>=0&&p>=_&&(D=!1):h+=m.x,m.y>=0?p<_&&(d+=m.y):d+=m.y;h<0&&d<0?(u=or,d=-d,h=-h,f-=d,l-=h):h<0?(u=lr,h=-h,l-=h):d<0&&(u=ur,d=-d,f-=d);break;case To:this.move(m.x,m.y),D=!1;break;case bo:this.zoom(Tm(s),e),D=!1;break;case wo:if(!m.x||!m.y){D=!1;break}P=Vo(this.cropper),l=L.startX-P.left,f=L.startY-P.top,h=a.minWidth,d=a.minHeight,m.x>0?u=m.y>0?cr:ur:m.x<0&&(l-=h,u=m.y>0?lr:or),m.y<0&&(f-=d),this.cropped||(Ce(this.cropBox,jA),this.cropped=!0,this.limited&&this.limitCropBox(!0,!0));break}D&&(a.width=h,a.height=d,a.left=l,a.top=f,this.action=u,this.renderCropBox()),UA(s,function(K){K.startX=K.endX,K.startY=K.endY})}},Om={crop:function(){return this.ready&&!this.cropped&&!this.disabled&&(this.cropped=!0,this.limitCropBox(!0,!0),this.options.modal&&LA(this.dragBox,dn),Ce(this.cropBox,jA),this.setCropBoxData(this.initialCropBoxData)),this},reset:function(){return this.ready&&!this.disabled&&(this.imageData=gA({},this.initialImageData),this.canvasData=gA({},this.initialCanvasData),this.cropBoxData=gA({},this.initialCropBoxData),this.renderCanvas(),this.cropped&&this.renderCropBox()),this},clear:function(){return this.cropped&&!this.disabled&&(gA(this.cropBoxData,{left:0,top:0,width:0,height:0}),this.cropped=!1,this.renderCropBox(),this.limitCanvas(!0,!0),this.renderCanvas(),Ce(this.dragBox,dn),LA(this.cropBox,jA)),this},replace:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return!this.disabled&&e&&(this.isImg&&(this.element.src=e),t?(this.url=e,this.image.src=e,this.ready&&(this.viewBoxImage.src=e,UA(this.previews,function(r){r.getElementsByTagName("img")[0].src=e}))):(this.isImg&&(this.replaced=!0),this.options.data=null,this.uncreate(),this.load(e))),this},enable:function(){return this.ready&&this.disabled&&(this.disabled=!1,Ce(this.cropper,Uo)),this},disable:function(){return this.ready&&!this.disabled&&(this.disabled=!0,LA(this.cropper,Uo)),this},destroy:function(){var e=this.element;return e[BA]?(e[BA]=void 0,this.isImg&&this.replaced&&(e.src=this.originalUrl),this.uncreate(),this):this},move:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,r=this.canvasData,n=r.left,a=r.top;return this.moveTo(Es(e)?e:n+Number(e),Es(t)?t:a+Number(t))},moveTo:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,r=this.canvasData,n=!1;return e=Number(e),t=Number(t),this.ready&&!this.disabled&&this.options.movable&&(Z(e)&&(r.left=e,n=!0),Z(t)&&(r.top=t,n=!0),n&&this.renderCanvas(!0)),this},zoom:function(e,t){var r=this.canvasData;return e=Number(e),e<0?e=1/(1-e):e=1+e,this.zoomTo(r.width*e/r.naturalWidth,null,t)},zoomTo:function(e,t,r){var n=this.options,a=this.canvasData,s=a.width,u=a.height,o=a.naturalWidth,l=a.naturalHeight;if(e=Number(e),e>=0&&this.ready&&!this.disabled&&n.zoomable){var f=o*e,h=l*e;if(yt(this.element,gs,{ratio:e,oldRatio:s/o,originalEvent:r})===!1)return this;if(r){var d=this.pointers,C=Vo(this.cropper),p=d&&Object.keys(d).length?bm(d):{pageX:r.pageX,pageY:r.pageY};a.left-=(f-s)*((p.pageX-C.left-a.left)/s),a.top-=(h-u)*((p.pageY-C.top-a.top)/u)}else Ft(t)&&Z(t.x)&&Z(t.y)?(a.left-=(f-s)*((t.x-a.left)/s),a.top-=(h-u)*((t.y-a.top)/u)):(a.left-=(f-s)/2,a.top-=(h-u)/2);a.width=f,a.height=h,this.renderCanvas(!0)}return this},rotate:function(e){return this.rotateTo((this.imageData.rotate||0)+Number(e))},rotateTo:function(e){return e=Number(e),Z(e)&&this.ready&&!this.disabled&&this.options.rotatable&&(this.imageData.rotate=e%360,this.renderCanvas(!0,!0)),this},scaleX:function(e){var t=this.imageData.scaleY;return this.scale(e,Z(t)?t:1)},scaleY:function(e){var t=this.imageData.scaleX;return this.scale(Z(t)?t:1,e)},scale:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,r=this.imageData,n=!1;return e=Number(e),t=Number(t),this.ready&&!this.disabled&&this.options.scalable&&(Z(e)&&(r.scaleX=e,n=!0),Z(t)&&(r.scaleY=t,n=!0),n&&this.renderCanvas(!0,!0)),this},getData:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,t=this.options,r=this.imageData,n=this.canvasData,a=this.cropBoxData,s;if(this.ready&&this.cropped){s={x:a.left-n.left,y:a.top-n.top,width:a.width,height:a.height};var u=r.width/r.naturalWidth;if(UA(s,function(f,h){s[h]=f/u}),e){var o=Math.round(s.y+s.height),l=Math.round(s.x+s.width);s.x=Math.round(s.x),s.y=Math.round(s.y),s.width=l-s.x,s.height=o-s.y}}else s={x:0,y:0,width:0,height:0};return t.rotatable&&(s.rotate=r.rotate||0),t.scalable&&(s.scaleX=r.scaleX||1,s.scaleY=r.scaleY||1),s},setData:function(e){var t=this.options,r=this.imageData,n=this.canvasData,a={};if(this.ready&&!this.disabled&&Ft(e)){var s=!1;t.rotatable&&Z(e.rotate)&&e.rotate!==r.rotate&&(r.rotate=e.rotate,s=!0),t.scalable&&(Z(e.scaleX)&&e.scaleX!==r.scaleX&&(r.scaleX=e.scaleX,s=!0),Z(e.scaleY)&&e.scaleY!==r.scaleY&&(r.scaleY=e.scaleY,s=!0)),s&&this.renderCanvas(!0,!0);var u=r.width/r.naturalWidth;Z(e.x)&&(a.left=e.x*u+n.left),Z(e.y)&&(a.top=e.y*u+n.top),Z(e.width)&&(a.width=e.width*u),Z(e.height)&&(a.height=e.height*u),this.setCropBoxData(a)}return this},getContainerData:function(){return this.ready?gA({},this.containerData):{}},getImageData:function(){return this.sized?gA({},this.imageData):{}},getCanvasData:function(){var e=this.canvasData,t={};return this.ready&&UA(["left","top","width","height","naturalWidth","naturalHeight"],function(r){t[r]=e[r]}),t},setCanvasData:function(e){var t=this.canvasData,r=t.aspectRatio;return this.ready&&!this.disabled&&Ft(e)&&(Z(e.left)&&(t.left=e.left),Z(e.top)&&(t.top=e.top),Z(e.width)?(t.width=e.width,t.height=e.width/r):Z(e.height)&&(t.height=e.height,t.width=e.height*r),this.renderCanvas(!0)),this},getCropBoxData:function(){var e=this.cropBoxData,t;return this.ready&&this.cropped&&(t={left:e.left,top:e.top,width:e.width,height:e.height}),t||{}},setCropBoxData:function(e){var t=this.cropBoxData,r=this.options.aspectRatio,n,a;return this.ready&&this.cropped&&!this.disabled&&Ft(e)&&(Z(e.left)&&(t.left=e.left),Z(e.top)&&(t.top=e.top),Z(e.width)&&e.width!==t.width&&(n=!0,t.width=e.width),Z(e.height)&&e.height!==t.height&&(a=!0,t.height=e.height),r&&(n?t.height=t.width/r:a&&(t.width=t.height*r)),this.renderCropBox()),this},getCroppedCanvas:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!this.ready||!window.HTMLCanvasElement)return null;var t=this.canvasData,r=Qm(this.image,this.imageData,t,e);if(!this.cropped)return r;var n=this.getData(e.rounded),a=n.x,s=n.y,u=n.width,o=n.height,l=r.width/Math.floor(t.naturalWidth);l!==1&&(a*=l,s*=l,u*=l,o*=l);var f=u/o,h=Pe({aspectRatio:f,width:e.maxWidth||1/0,height:e.maxHeight||1/0}),d=Pe({aspectRatio:f,width:e.minWidth||0,height:e.minHeight||0},"cover"),C=Pe({aspectRatio:f,width:e.width||(l!==1?r.width:u),height:e.height||(l!==1?r.height:o)}),p=C.width,T=C.height;p=Math.min(h.width,Math.max(d.width,p)),T=Math.min(h.height,Math.max(d.height,T));var U=document.createElement("canvas"),N=U.getContext("2d");U.width=It(p),U.height=It(T),N.fillStyle=e.fillColor||"transparent",N.fillRect(0,0,p,T);var _=e.imageSmoothingEnabled,D=_===void 0?!0:_,P=e.imageSmoothingQuality;N.imageSmoothingEnabled=D,P&&(N.imageSmoothingQuality=P);var L=r.width,m=r.height,H=a,K=s,k,AA,uA,fA,q,tA;H<=-u||H>L?(H=0,k=0,uA=0,q=0):H<=0?(uA=-H,H=0,k=Math.min(L,u+H),q=k):H<=L&&(uA=0,k=Math.min(u,L-H),q=k),k<=0||K<=-o||K>m?(K=0,AA=0,fA=0,tA=0):K<=0?(fA=-K,K=0,AA=Math.min(m,o+K),tA=AA):K<=m&&(fA=0,AA=Math.min(o,m-K),tA=AA);var oA=[H,K,k,AA];if(q>0&&tA>0){var hA=p/u;oA.push(uA*hA,fA*hA,q*hA,tA*hA)}return N.drawImage.apply(N,[r].concat(Co(oA.map(function(pA){return Math.floor(It(pA))})))),U},setAspectRatio:function(e){var t=this.options;return!this.disabled&&!Es(e)&&(t.aspectRatio=Math.max(0,e)||NaN,this.ready&&(this.initCropBox(),this.cropped&&this.renderCropBox())),this},setDragMode:function(e){var t=this.options,r=this.dragBox,n=this.face;if(this.ready&&!this.disabled){var a=e===ls,s=t.movable&&e===Fo;e=a||s?e:Io,t.dragMode=e,hr(r,fr,e),_t(r,os,a),_t(r,cs,s),t.cropBoxMovable||(hr(n,fr,e),_t(n,os,a),_t(n,cs,s))}return this}},Rm=pe.Cropper,Wo=function(){function A(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if($E(this,A),!e||!lm.test(e.tagName))throw new Error("The first argument is required and must be an <img> or <canvas> element.");this.element=e,this.options=gA({},Ro,Ft(t)&&t),this.cropped=!1,this.disabled=!1,this.pointers={},this.ready=!1,this.reloading=!1,this.replaced=!1,this.sized=!1,this.sizing=!1,this.init()}return ZE(A,[{key:"init",value:function(){var t=this.element,r=t.tagName.toLowerCase(),n;if(!t[BA]){if(t[BA]=this,r==="img"){if(this.isImg=!0,n=t.getAttribute("src")||"",this.originalUrl=n,!n)return;n=t.src}else r==="canvas"&&window.HTMLCanvasElement&&(n=t.toDataURL());this.load(n)}}},{key:"load",value:function(t){var r=this;if(t){this.url=t,this.imageData={};var n=this.element,a=this.options;if(!a.rotatable&&!a.scalable&&(a.checkOrientation=!1),!a.checkOrientation||!window.ArrayBuffer){this.clone();return}if(om.test(t)){cm.test(t)?this.read(_m(t)):this.clone();return}var s=new XMLHttpRequest,u=this.clone.bind(this);this.reloading=!0,this.xhr=s,s.onabort=u,s.onerror=u,s.ontimeout=u,s.onprogress=function(){s.getResponseHeader("content-type")!==Ho&&s.abort()},s.onload=function(){r.read(s.response)},s.onloadend=function(){r.reloading=!1,r.xhr=null},a.checkCrossOrigin&&Go(t)&&n.crossOrigin&&(t=Yo(t)),s.open("GET",t,!0),s.responseType="arraybuffer",s.withCredentials=n.crossOrigin==="use-credentials",s.send()}}},{key:"read",value:function(t){var r=this.options,n=this.imageData,a=Nm(t),s=0,u=1,o=1;if(a>1){this.url=ym(t,Ho);var l=vm(a);s=l.rotate,u=l.scaleX,o=l.scaleY}r.rotatable&&(n.rotate=s),r.scalable&&(n.scaleX=u,n.scaleY=o),this.clone()}},{key:"clone",value:function(){var t=this.element,r=this.url,n=t.crossOrigin,a=r;this.options.checkCrossOrigin&&Go(r)&&(n||(n="anonymous"),a=Yo(r)),this.crossOrigin=n,this.crossOriginUrl=a;var s=document.createElement("img");n&&(s.crossOrigin=n),s.src=a||r,s.alt=t.alt||"The image to crop",this.image=s,s.onload=this.start.bind(this),s.onerror=this.stop.bind(this),LA(s,Qo),t.parentNode.insertBefore(s,t.nextSibling)}},{key:"start",value:function(){var t=this,r=this.image;r.onload=null,r.onerror=null,this.sizing=!0;var n=pe.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(pe.navigator.userAgent),a=function(l,f){gA(t.imageData,{naturalWidth:l,naturalHeight:f,aspectRatio:l/f}),t.initialImageData=gA({},t.imageData),t.sizing=!1,t.sized=!0,t.build()};if(r.naturalWidth&&!n){a(r.naturalWidth,r.naturalHeight);return}var s=document.createElement("img"),u=document.body||document.documentElement;this.sizingImage=s,s.onload=function(){a(s.width,s.height),n||u.removeChild(s)},s.src=r.src,n||(s.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",u.appendChild(s))}},{key:"stop",value:function(){var t=this.image;t.onload=null,t.onerror=null,t.parentNode.removeChild(t),this.image=null}},{key:"build",value:function(){if(!(!this.sized||this.ready)){var t=this.element,r=this.options,n=this.image,a=t.parentNode,s=document.createElement("div");s.innerHTML=fm;var u=s.querySelector(".".concat(BA,"-container")),o=u.querySelector(".".concat(BA,"-canvas")),l=u.querySelector(".".concat(BA,"-drag-box")),f=u.querySelector(".".concat(BA,"-crop-box")),h=f.querySelector(".".concat(BA,"-face"));this.container=a,this.cropper=u,this.canvas=o,this.dragBox=l,this.cropBox=f,this.viewBox=u.querySelector(".".concat(BA,"-view-box")),this.face=h,o.appendChild(n),LA(t,jA),a.insertBefore(u,t.nextSibling),Ce(n,Qo),this.initPreview(),this.bind(),r.initialAspectRatio=Math.max(0,r.initialAspectRatio)||NaN,r.aspectRatio=Math.max(0,r.aspectRatio)||NaN,r.viewMode=Math.max(0,Math.min(3,Math.round(r.viewMode)))||0,LA(f,jA),r.guides||LA(f.getElementsByClassName("".concat(BA,"-dashed")),jA),r.center||LA(f.getElementsByClassName("".concat(BA,"-center")),jA),r.background&&LA(u,"".concat(BA,"-bg")),r.highlight||LA(h,nm),r.cropBoxMovable&&(LA(h,cs),hr(h,fr,us)),r.cropBoxResizable||(LA(f.getElementsByClassName("".concat(BA,"-line")),jA),LA(f.getElementsByClassName("".concat(BA,"-point")),jA)),this.render(),this.ready=!0,this.setDragMode(r.dragMode),r.autoCrop&&this.crop(),this.setData(r.data),$A(r.ready)&&ae(t,So,r.ready,{once:!0}),yt(t,So)}}},{key:"unbuild",value:function(){if(this.ready){this.ready=!1,this.unbind(),this.resetPreview();var t=this.cropper.parentNode;t&&t.removeChild(this.cropper),Ce(this.element,jA)}}},{key:"uncreate",value:function(){this.ready?(this.unbuild(),this.ready=!1,this.cropped=!1):this.sizing?(this.sizingImage.onload=null,this.sizing=!1,this.sized=!1):this.reloading?(this.xhr.onabort=null,this.xhr.abort()):this.image&&this.stop()}}],[{key:"noConflict",value:function(){return window.Cropper=Rm,A}},{key:"setDefaults",value:function(t){gA(Ro,Ft(t)&&t)}}])}();gA(Wo.prototype,Sm,xm,Lm,Hm,Dm,Om);function Mm(A,e){const t=A.split(",")||[],r=t[0].match(/:(.*?);/)[1],n=t[1]&&atob(t[1]);let a=n&&n.length;const s=new Uint8Array(a);for(;a--;)s[a]=n==null?void 0:n.charCodeAt(a);return new File([s],e,{type:r})}const km={key:0,contenteditable:"false",class:"z-10 w-[100vw] h-[100vh] bg-[rgba(0,0,0,0.7)] flex flex-col justify-center items-center fixed top-0 left-0 cursor-auto"},Pm={class:"w-[700px] flex flex-col bg-white rounded pb-8"},Km={class:"flex flex-row items-center justify-between px-6 py-4 bg-[#f4f8ff]"},Vm={class:"flex flex-col h-full"},Gm={class:"flex flex-row justify-center items-start flex-1"},Ym={class:"flex flex-col items-start flex-1"},Xm={class:"flex flex-col w-full px-6 py-4"},Wm={class:"flex flex-col w-full"},Jm={class:"flex flex-row items-center"},qm={class:"relative bg-[#474AFF] text-white rounded p-3"},jm={class:"flex flex-row items-start justify-between mt-3"},$m={class:"flex flex-col"},Zm={class:"flex flex-col justify-center items-center border w-[300px] h-[300px]"},zm={key:0,class:"w-full text-center"},Ap=["src"],ep={class:"flex flex-col items-center",style:{width:"300px",height:"300px"}},tp={class:"text-[#999] mt-05 flex justify-center mt-4"},rp={class:"w-full flex justify-end space-x-5 mt-5 px-6"},np=["loading"],ap=c.defineComponent({__name:"GpCropper",emits:["cancel","ok"],setup(A,{expose:e,emit:t}){const r=t,n=c.ref({coverUrl:"",inputValue:"",uploadType:2,videoHost:"",videoUrl:""}),a=c.ref(),s=c.ref({autoCrop:!0,autoCropArea:1,background:!0,center:!0,cropBoxResizable:!0,dragMode:"move",preview:".before",toggleDragModeOnDblclick:!0,viewMode:1,zoomOnWheel:!0}),u=c.ref(!1),o=c.ref("image/jpeg"),l=c.ref({afterImg:"",image:null,myCropper:null}),f=L=>{const m=L.target.files[0];m&&(m.name&&(n.value.inputValue=m.name),h(m))};async function h(L){if(!L)return;await P();const m=URL.createObjectURL(L);l.value.image=m,l.value.image&&d(),o.value=L.type}function d(){const L=document.querySelector("#imgId");L&&L.addEventListener("load",()=>{D(),l.value.myCropper=new Wo(L,s.value)})}const C=c.ref(!1),p=c.ref();function T(L,m,H,K){p.value=K,a.value=L,L&&L.aspectRatio&&(s.value.aspectRatio=L.aspectRatio),H&&(n.value.inputValue=H),C.value=!0,m&&h(m)}function U(){C.value=!1}const N=()=>{var K,k;if(!l.value.myCropper)return;u.value=!0;var m=l.value.myCropper.getCroppedCanvas({height:(K=a.value)==null?void 0:K.height,imageSmoothingQuality:"high",width:(k=a.value)==null?void 0:k.width}).toDataURL(o.value);l.value.afterImg=m;const H=Mm(l.value.afterImg,n.value.inputValue);r("ok",{file:H,element:p.value}),u.value=!1,P(),D(),U()};function _(){P(),D(),U(),r("cancel")}function D(){l.value.myCropper&&l.value.myCropper.destroy()}function P(){l.value.image=""}return e({handleCloseCropper:U,handleOpenCropper:T}),(L,m)=>{var H,K,k;return C.value?(c.openBlock(),c.createElementBlock("div",km,[c.createElementVNode("div",Pm,[c.createElementVNode("div",Km,[m[1]||(m[1]=c.createElementVNode("span",{class:"text-base font-semibold text-[#333]"},"图片裁剪",-1)),c.createElementVNode("span",{class:"text-lg cursor-pointer text-[#999] iconfont icon-shanchu2",onClick:c.withModifiers(_,["stop"])})]),c.createElementVNode("div",Vm,[c.createElementVNode("div",Gm,[c.createElementVNode("div",Ym,[c.createElementVNode("div",Xm,[c.createElementVNode("div",Wm,[c.createElementVNode("div",Jm,[c.createElementVNode("div",qm,[c.createElementVNode("input",{type:"file",accept:"image/*",onClick:m[0]||(m[0]=c.withModifiers(()=>{},["stop"])),contenteditable:"false",ref:"fileInput",onChange:f,class:"absolute top-0 left-0 w-[110px] h-[40px] opacity-0 cursor-pointer"},null,544),m[2]||(m[2]=c.createElementVNode("span",{id:"uploadHandler",class:"cursor-pointer"}," 选择/更换图片 ",-1))]),m[3]||(m[3]=c.createElementVNode("span",{class:"text-sm text-[#999] ml-3"},"滚动鼠标放大或缩小图片",-1))]),c.createElementVNode("div",jm,[c.createElementVNode("div",$m,[c.createElementVNode("div",Zm,[l.value.image?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",zm," 请上传图片 ")),c.createElementVNode("img",{id:"imgId",src:l.value.image,style:{width:"300px"}},null,8,Ap)])]),c.createElementVNode("div",ep,[m[4]||(m[4]=c.createElementVNode("div",{class:"before w-[270px] h-[200px] pr-[70px] border"},null,-1)),c.createElementVNode("div",tp," 预览画像 "+c.toDisplayString(((H=a.value)==null?void 0:H.width)||"")+" "+c.toDisplayString((K=a.value)!=null&&K.width?"x":"")+" "+c.toDisplayString(((k=a.value)==null?void 0:k.height)||""),1)])])])])])]),c.createElementVNode("div",rp,[c.createElementVNode("span",{loading:u.value,class:"!w-22 bg-[#474AFF] text-white rounded py-2 px-6 cursor-pointer",type:"primary",onClick:N}," 确认 ",8,np),c.createElementVNode("span",{class:"!w-22 border border-[#DEDEDE] text-[#666] rounded py-2 px-6 cursor-pointer",onClick:_},"取消")])])])])):c.createCommentVNode("",!0)}}}),sp=c.defineComponent({name:"GpModal",props:{visible:{type:Boolean,required:!0},title:{type:String,default:""},okText:{type:String,default:"确定"},cancelText:{type:String,default:"取消"},showOkButton:{type:Boolean,default:!0},showCancelButton:{type:Boolean,default:!0},showCloseButton:{type:Boolean,default:!0},maskClosable:{type:Boolean,default:!0}},emits:["update:visible","ok","cancel"],setup(A,{emit:e}){const{visible:t,okText:r,cancelText:n,showCloseButton:a}=c.toRefs(A),s=()=>{e("cancel"),e("update:visible",!1)};return{visible:t,okText:r,cancelText:n,showCloseButton:a,onClose:s,onOk:()=>{e("ok"),e("update:visible",!1)},onCancel:()=>{e("cancel"),e("update:visible",!1)},onMaskClosable:()=>{A.maskClosable&&s()}}}}),ip={class:"bg-white rounded-lg shadow-xl w-ful"},up={class:"p-4 border-b border-gray-200 relative flex items-center justify-between"},op={key:0,class:"text-lg font-semibold"},cp={class:"p-4"},lp={key:0,class:"p-4 border-t border-gray-200 flex justify-end space-x-2"};function fp(A,e,t,r,n,a){return A.visible?(c.openBlock(),c.createElementBlock("div",{key:0,class:"fixed inset-0 z-[99999] flex items-center justify-center bg-gray-900 bg-opacity-50",onClick:e[3]||(e[3]=c.withModifiers((...s)=>A.onMaskClosable&&A.onMaskClosable(...s),["self"]))},[c.createElementVNode("div",ip,[c.createElementVNode("div",up,[A.title?(c.openBlock(),c.createElementBlock("h3",op,c.toDisplayString(A.title),1)):c.createCommentVNode("",!0),c.renderSlot(A.$slots,"header"),A.showCloseButton?(c.openBlock(),c.createElementBlock("button",{key:1,class:"text-gray-400 hover:text-gray-600",onClick:e[0]||(e[0]=(...s)=>A.onClose&&A.onClose(...s)),"aria-label":"Close"},e[4]||(e[4]=[c.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-5 w-5",viewBox:"0 0 20 20",fill:"currentColor"},[c.createElementVNode("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1)]))):c.createCommentVNode("",!0)]),c.createElementVNode("div",cp,[c.renderSlot(A.$slots,"default")]),A.showCancelButton||A.showOkButton?(c.openBlock(),c.createElementBlock("div",lp,[c.renderSlot(A.$slots,"footer",{},()=>[A.showCancelButton?(c.openBlock(),c.createElementBlock("button",{key:0,class:"px-4 py-2 text-sm font-medium text-gray-700 bg-gray-100 rounded hover:bg-gray-200",onClick:e[1]||(e[1]=(...s)=>A.onCancel&&A.onCancel(...s))},c.toDisplayString(A.cancelText),1)):c.createCommentVNode("",!0),A.showOkButton?(c.openBlock(),c.createElementBlock("button",{key:1,class:"px-4 py-2 text-sm font-medium text-white bg-blue-600 rounded hover:bg-blue-700",onClick:e[2]||(e[2]=(...s)=>A.onOk&&A.onOk(...s))},c.toDisplayString(A.okText),1)):c.createCommentVNode("",!0)])])):c.createCommentVNode("",!0)])])):c.createCommentVNode("",!0)}const Jo=Re(sp,[["render",fp]]),hp={class:"p-4 flex flex-wrap max-h-[500px] overflow-y-auto w-[640px]"},dp=["onClick"],Bp=c.defineComponent({__name:"GpIcon",props:{icons:{type:Array,default:()=>[]}},emits:["ok"],setup(A,{expose:e,emit:t}){const r=A,n=t,a=c.ref(r.icons||[]);c.watch(()=>r.icons,h=>{a.value=h||[]},{immediate:!0});const s=c.ref(!1),u=c.ref();function o(h){s.value=!0,u.value=h}function l(h){f(),n("ok",{icon:h,element:u.value})}function f(){s.value=!1}return e({openModal:o,closeModal:f}),(h,d)=>(c.openBlock(),c.createBlock(Jo,{visible:s.value,"onUpdate:visible":d[0]||(d[0]=C=>s.value=C),title:"选择图标",onOk:f,onCancel:f,showCancelButton:!1,showOkButton:!1},{default:c.withCtx(()=>[c.createElementVNode("div",hp,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(a.value,C=>(c.openBlock(),c.createElementBlock("span",{key:C,onClick:c.withModifiers(p=>l(C),["stop"]),style:{position:"unset",color:"unset",top:"unset",left:"unset",right:"unset",transform:"unset","font-size":"unset"},class:c.normalizeClass(["w-12 h-12 mx-1 mb-2 border cursor-pointer hover:border-gray-400 hover:bg-gray-200",`iconfont icon-${C} text-4xl overflow-hidden flex justify-center items-center`])},null,10,dp))),128))])]),_:1},8,["visible"]))}}),gp=c.defineComponent({name:"GpImageUpload",props:{accept:{type:String,default:"image/*"},multiple:{type:Boolean,default:!1},maxCount:{type:Number,default:1/0},beforeUpload:Function,onChange:Function,showList:{type:Boolean,default:!1},show:{type:Boolean,default:!0}},setup(A,{emit:e}){const t=c.ref(null),r=c.ref([]),n=c.ref(),a=c.ref(A.show);c.watch(()=>A.show,f=>{a.value=f},{immediate:!0});const s=()=>{var f;(f=t.value)==null||f.click()},u=async f=>{var p;const d=f.target.files;if(!d)return;const C=[];for(let T=0;T<d.length;T++){const U=d[T];if(A.beforeUpload&&await A.beforeUpload(U)===!1)continue;const N=`${Date.now()}-${U.name}`,_=URL.createObjectURL(U),D=document.createElement("img");D.src=_,document.body.appendChild(D),await new Promise(m=>{D.onload=m});const P=D.width,L=D.height;document.body.removeChild(D),C.push({uid:N,name:U.name,status:"uploading",thumbUrl:_,file:U,width:P,height:L})}A.maxCount&&r.value.length+C.length>A.maxCount&&C.splice(A.maxCount-r.value.length),A.multiple?r.value=[...r.value,...C]:r.value=C.slice(0,1),(p=A.onChange)==null||p.call(A,r.value,n.value),e("update:fileList",r.value),t.value&&(t.value.value="")},o=f=>{var h;r.value=r.value.filter(d=>d.uid!==f),(h=A.onChange)==null||h.call(A,r.value,n.value)};function l(f){n.value=f,s()}return{isShow:a,openModal:l,inputRef:t,fileList:r,triggerInput:s,handleChange:u,removeFile:o}}}),Ep={class:"upload-wrapper"},mp=["accept","multiple"],pp={key:1,class:"file-list mt-4"},Cp={class:"flex items-center space-x-4"},wp=["src"],Tp=["onClick"];function bp(A,e,t,r,n,a){return c.openBlock(),c.createElementBlock("div",Ep,[A.isShow?(c.openBlock(),c.createElementBlock("div",{key:0,class:"",onClick:e[0]||(e[0]=(...s)=>A.triggerInput&&A.triggerInput(...s))},[c.renderSlot(A.$slots,"upload-icon",{},()=>[e[2]||(e[2]=c.createElementVNode("div",{class:"upload-area border-dashed border-2 p-6 rounded cursor-pointer hover:border-blue-500"},[c.createElementVNode("div",{class:"text-gray-400 text-lg text-center"}," 点击或拖拽上传图片 ")],-1))],!0)])):c.createCommentVNode("",!0),c.createElementVNode("input",{type:"file",ref:"inputRef",class:"hidden",accept:A.accept,multiple:A.multiple,onChange:e[1]||(e[1]=(...s)=>A.handleChange&&A.handleChange(...s))},null,40,mp),A.showList?(c.openBlock(),c.createElementBlock("div",pp,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(A.fileList,s=>(c.openBlock(),c.createElementBlock("div",{key:s.uid,class:"file-item flex items-center justify-between p-2 border rounded mb-2"},[c.createElementVNode("div",Cp,[s.thumbUrl?(c.openBlock(),c.createElementBlock("img",{key:0,src:s.thumbUrl,alt:"preview",class:"w-12 h-12 object-cover rounded"},null,8,wp)):c.createCommentVNode("",!0),c.createElementVNode("span",null,c.toDisplayString(s.name),1)]),c.createElementVNode("div",null,[c.createElementVNode("button",{onClick:u=>A.removeFile(s.uid),class:"text-red-500 hover:underline"}," 删除 ",8,Tp)])]))),128))])):c.createCommentVNode("",!0)])}const Up=Re(gp,[["render",bp],["__scopeId","data-v-08babff9"]]);/*!
17
+ */function Eo(A,e){var t=Object.keys(A);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(A);e&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(A,n).enumerable})),t.push.apply(t,r)}return t}function po(A){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Eo(Object(t),!0).forEach(function(r){ep(A,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(t)):Eo(Object(t)).forEach(function(r){Object.defineProperty(A,r,Object.getOwnPropertyDescriptor(t,r))})}return A}function ZE(A,e){if(typeof A!="object"||!A)return A;var t=A[Symbol.toPrimitive];if(t!==void 0){var r=t.call(A,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(A)}function mo(A){var e=ZE(A,"string");return typeof e=="symbol"?e:e+""}function as(A){"@babel/helpers - typeof";return as=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},as(A)}function zE(A,e){if(!(A instanceof e))throw new TypeError("Cannot call a class as a function")}function Co(A,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(A,mo(r.key),r)}}function Ap(A,e,t){return e&&Co(A.prototype,e),t&&Co(A,t),Object.defineProperty(A,"prototype",{writable:!1}),A}function ep(A,e,t){return e=mo(e),e in A?Object.defineProperty(A,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):A[e]=t,A}function wo(A){return tp(A)||rp(A)||np(A)||ap()}function tp(A){if(Array.isArray(A))return ss(A)}function rp(A){if(typeof Symbol<"u"&&A[Symbol.iterator]!=null||A["@@iterator"]!=null)return Array.from(A)}function np(A,e){if(A){if(typeof A=="string")return ss(A,e);var t=Object.prototype.toString.call(A).slice(8,-1);if(t==="Object"&&A.constructor&&(t=A.constructor.name),t==="Map"||t==="Set")return Array.from(A);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return ss(A,e)}}function ss(A,e){(e==null||e>A.length)&&(e=A.length);for(var t=0,r=new Array(e);t<e;t++)r[t]=A[t];return r}function ap(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
18
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Bn=typeof window<"u"&&typeof window.document<"u",Ce=Bn?window:{},is=Bn&&Ce.document.documentElement?"ontouchstart"in Ce.document.documentElement:!1,us=Bn?"PointerEvent"in Ce:!1,BA="cropper",os="all",To="crop",bo="move",Uo="zoom",ut="e",ot="w",It="s",Pe="n",cr="ne",lr="nw",fr="se",hr="sw",cs="".concat(BA,"-crop"),Qo="".concat(BA,"-disabled"),$A="".concat(BA,"-hidden"),Fo="".concat(BA,"-hide"),sp="".concat(BA,"-invisible"),gn="".concat(BA,"-modal"),ls="".concat(BA,"-move"),dr="".concat(BA,"Action"),En="".concat(BA,"Preview"),fs="crop",Io="move",_o="none",hs="crop",ds="cropend",Bs="cropmove",gs="cropstart",yo="dblclick",ip=is?"touchstart":"mousedown",up=is?"touchmove":"mousemove",op=is?"touchend touchcancel":"mouseup",No=us?"pointerdown":ip,vo=us?"pointermove":up,So=us?"pointerup pointercancel":op,xo="ready",Lo="resize",Ho="wheel",Es="zoom",Do="image/jpeg",cp=/^e|w|s|n|se|sw|ne|nw|all|crop|move|zoom$/,lp=/^data:/,fp=/^data:image\/jpeg;base64,/,hp=/^img|canvas$/i,Oo=200,Ro=100,Mo={viewMode:0,dragMode:fs,initialAspectRatio:NaN,aspectRatio:NaN,data:null,preview:"",responsive:!0,restore:!0,checkCrossOrigin:!0,checkOrientation:!0,modal:!0,guides:!0,center:!0,highlight:!0,background:!0,autoCrop:!0,autoCropArea:.8,movable:!0,rotatable:!0,scalable:!0,zoomable:!0,zoomOnTouch:!0,zoomOnWheel:!0,wheelZoomRatio:.1,cropBoxMovable:!0,cropBoxResizable:!0,toggleDragModeOnDblclick:!0,minCanvasWidth:0,minCanvasHeight:0,minCropBoxWidth:0,minCropBoxHeight:0,minContainerWidth:Oo,minContainerHeight:Ro,ready:null,cropstart:null,cropmove:null,cropend:null,crop:null,zoom:null},dp='<div class="cropper-container" touch-action="none"><div class="cropper-wrap-box"><div class="cropper-canvas"></div></div><div class="cropper-drag-box"></div><div class="cropper-crop-box"><span class="cropper-view-box"></span><span class="cropper-dashed dashed-h"></span><span class="cropper-dashed dashed-v"></span><span class="cropper-center"></span><span class="cropper-face"></span><span class="cropper-line line-e" data-cropper-action="e"></span><span class="cropper-line line-n" data-cropper-action="n"></span><span class="cropper-line line-w" data-cropper-action="w"></span><span class="cropper-line line-s" data-cropper-action="s"></span><span class="cropper-point point-e" data-cropper-action="e"></span><span class="cropper-point point-n" data-cropper-action="n"></span><span class="cropper-point point-w" data-cropper-action="w"></span><span class="cropper-point point-s" data-cropper-action="s"></span><span class="cropper-point point-ne" data-cropper-action="ne"></span><span class="cropper-point point-nw" data-cropper-action="nw"></span><span class="cropper-point point-sw" data-cropper-action="sw"></span><span class="cropper-point point-se" data-cropper-action="se"></span></div></div>',Bp=Number.isNaN||Ce.isNaN;function Z(A){return typeof A=="number"&&!Bp(A)}var ko=function(e){return e>0&&e<1/0};function ps(A){return typeof A>"u"}function ct(A){return as(A)==="object"&&A!==null}var gp=Object.prototype.hasOwnProperty;function _t(A){if(!ct(A))return!1;try{var e=A.constructor,t=e.prototype;return e&&t&&gp.call(t,"isPrototypeOf")}catch{return!1}}function ZA(A){return typeof A=="function"}var Ep=Array.prototype.slice;function Po(A){return Array.from?Array.from(A):Ep.call(A)}function QA(A,e){return A&&ZA(e)&&(Array.isArray(A)||Z(A.length)?Po(A).forEach(function(t,r){e.call(A,t,r,A)}):ct(A)&&Object.keys(A).forEach(function(t){e.call(A,A[t],t,A)})),A}var gA=Object.assign||function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return ct(e)&&r.length>0&&r.forEach(function(a){ct(a)&&Object.keys(a).forEach(function(s){e[s]=a[s]})}),e},pp=/\.\d*(?:0|9){12}\d*$/;function yt(A){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1e11;return pp.test(A)?Math.round(A*e)/e:A}var mp=/^width|height|left|top|marginLeft|marginTop$/;function Ke(A,e){var t=A.style;QA(e,function(r,n){mp.test(n)&&Z(r)&&(r="".concat(r,"px")),t[n]=r})}function Cp(A,e){return A.classList?A.classList.contains(e):A.className.indexOf(e)>-1}function HA(A,e){if(e){if(Z(A.length)){QA(A,function(r){HA(r,e)});return}if(A.classList){A.classList.add(e);return}var t=A.className.trim();t?t.indexOf(e)<0&&(A.className="".concat(t," ").concat(e)):A.className=e}}function we(A,e){if(e){if(Z(A.length)){QA(A,function(t){we(t,e)});return}if(A.classList){A.classList.remove(e);return}A.className.indexOf(e)>=0&&(A.className=A.className.replace(e,""))}}function Nt(A,e,t){if(e){if(Z(A.length)){QA(A,function(r){Nt(r,e,t)});return}t?HA(A,e):we(A,e)}}var wp=/([a-z\d])([A-Z])/g;function ms(A){return A.replace(wp,"$1-$2").toLowerCase()}function Cs(A,e){return ct(A[e])?A[e]:A.dataset?A.dataset[e]:A.getAttribute("data-".concat(ms(e)))}function Br(A,e,t){ct(t)?A[e]=t:A.dataset?A.dataset[e]=t:A.setAttribute("data-".concat(ms(e)),t)}function Tp(A,e){if(ct(A[e]))try{delete A[e]}catch{A[e]=void 0}else if(A.dataset)try{delete A.dataset[e]}catch{A.dataset[e]=void 0}else A.removeAttribute("data-".concat(ms(e)))}var Ko=/\s\s*/,Vo=function(){var A=!1;if(Bn){var e=!1,t=function(){},r=Object.defineProperty({},"once",{get:function(){return A=!0,e},set:function(a){e=a}});Ce.addEventListener("test",t,r),Ce.removeEventListener("test",t,r)}return A}();function fe(A,e,t){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},n=t;e.trim().split(Ko).forEach(function(a){if(!Vo){var s=A.listeners;s&&s[a]&&s[a][t]&&(n=s[a][t],delete s[a][t],Object.keys(s[a]).length===0&&delete s[a],Object.keys(s).length===0&&delete A.listeners)}A.removeEventListener(a,n,r)})}function ae(A,e,t){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},n=t;e.trim().split(Ko).forEach(function(a){if(r.once&&!Vo){var s=A.listeners,u=s===void 0?{}:s;n=function(){delete u[a][t],A.removeEventListener(a,n,r);for(var l=arguments.length,f=new Array(l),h=0;h<l;h++)f[h]=arguments[h];t.apply(A,f)},u[a]||(u[a]={}),u[a][t]&&A.removeEventListener(a,u[a][t],r),u[a][t]=n,A.listeners=u}A.addEventListener(a,n,r)})}function vt(A,e,t){var r;return ZA(Event)&&ZA(CustomEvent)?r=new CustomEvent(e,{detail:t,bubbles:!0,cancelable:!0}):(r=document.createEvent("CustomEvent"),r.initCustomEvent(e,!0,!0,t)),A.dispatchEvent(r)}function Go(A){var e=A.getBoundingClientRect();return{left:e.left+(window.pageXOffset-document.documentElement.clientLeft),top:e.top+(window.pageYOffset-document.documentElement.clientTop)}}var ws=Ce.location,bp=/^(\w+:)\/\/([^:/?#]*):?(\d*)/i;function Yo(A){var e=A.match(bp);return e!==null&&(e[1]!==ws.protocol||e[2]!==ws.hostname||e[3]!==ws.port)}function Xo(A){var e="timestamp=".concat(new Date().getTime());return A+(A.indexOf("?")===-1?"?":"&")+e}function gr(A){var e=A.rotate,t=A.scaleX,r=A.scaleY,n=A.translateX,a=A.translateY,s=[];Z(n)&&n!==0&&s.push("translateX(".concat(n,"px)")),Z(a)&&a!==0&&s.push("translateY(".concat(a,"px)")),Z(e)&&e!==0&&s.push("rotate(".concat(e,"deg)")),Z(t)&&t!==1&&s.push("scaleX(".concat(t,")")),Z(r)&&r!==1&&s.push("scaleY(".concat(r,")"));var u=s.length?s.join(" "):"none";return{WebkitTransform:u,msTransform:u,transform:u}}function Up(A){var e=po({},A),t=0;return QA(A,function(r,n){delete e[n],QA(e,function(a){var s=Math.abs(r.startX-a.startX),u=Math.abs(r.startY-a.startY),o=Math.abs(r.endX-a.endX),l=Math.abs(r.endY-a.endY),f=Math.sqrt(s*s+u*u),h=Math.sqrt(o*o+l*l),d=(h-f)/f;Math.abs(d)>Math.abs(t)&&(t=d)})}),t}function pn(A,e){var t=A.pageX,r=A.pageY,n={endX:t,endY:r};return e?n:po({startX:t,startY:r},n)}function Qp(A){var e=0,t=0,r=0;return QA(A,function(n){var a=n.startX,s=n.startY;e+=a,t+=s,r+=1}),e/=r,t/=r,{pageX:e,pageY:t}}function Ve(A){var e=A.aspectRatio,t=A.height,r=A.width,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"contain",a=ko(r),s=ko(t);if(a&&s){var u=t*e;n==="contain"&&u>r||n==="cover"&&u<r?t=r/e:r=t*e}else a?t=r/e:s&&(r=t*e);return{width:r,height:t}}function Fp(A){var e=A.width,t=A.height,r=A.degree;if(r=Math.abs(r)%180,r===90)return{width:t,height:e};var n=r%90*Math.PI/180,a=Math.sin(n),s=Math.cos(n),u=e*s+t*a,o=e*a+t*s;return r>90?{width:o,height:u}:{width:u,height:o}}function Ip(A,e,t,r){var n=e.aspectRatio,a=e.naturalWidth,s=e.naturalHeight,u=e.rotate,o=u===void 0?0:u,l=e.scaleX,f=l===void 0?1:l,h=e.scaleY,d=h===void 0?1:h,C=t.aspectRatio,m=t.naturalWidth,T=t.naturalHeight,U=r.fillColor,N=U===void 0?"transparent":U,_=r.imageSmoothingEnabled,D=_===void 0?!0:_,P=r.imageSmoothingQuality,L=P===void 0?"low":P,p=r.maxWidth,H=p===void 0?1/0:p,K=r.maxHeight,k=K===void 0?1/0:K,AA=r.minWidth,oA=AA===void 0?0:AA,fA=r.minHeight,q=fA===void 0?0:fA,tA=document.createElement("canvas"),cA=tA.getContext("2d"),hA=Ve({aspectRatio:C,width:H,height:k}),CA=Ve({aspectRatio:C,width:oA,height:q},"cover"),XA=Math.min(hA.width,Math.max(CA.width,m)),NA=Math.min(hA.height,Math.max(CA.height,T)),GA=Ve({aspectRatio:n,width:H,height:k}),vA=Ve({aspectRatio:n,width:oA,height:q},"cover"),Ae=Math.min(GA.width,Math.max(vA.width,a)),IA=Math.min(GA.height,Math.max(vA.height,s)),kA=[-Ae/2,-IA/2,Ae,IA];return tA.width=yt(XA),tA.height=yt(NA),cA.fillStyle=N,cA.fillRect(0,0,XA,NA),cA.save(),cA.translate(XA/2,NA/2),cA.rotate(o*Math.PI/180),cA.scale(f,d),cA.imageSmoothingEnabled=D,cA.imageSmoothingQuality=L,cA.drawImage.apply(cA,[A].concat(wo(kA.map(function(I){return Math.floor(yt(I))})))),cA.restore(),tA}var Wo=String.fromCharCode;function _p(A,e,t){var r="";t+=e;for(var n=e;n<t;n+=1)r+=Wo(A.getUint8(n));return r}var yp=/^data:.*,/;function Np(A){var e=A.replace(yp,""),t=atob(e),r=new ArrayBuffer(t.length),n=new Uint8Array(r);return QA(n,function(a,s){n[s]=t.charCodeAt(s)}),r}function vp(A,e){for(var t=[],r=8192,n=new Uint8Array(A);n.length>0;)t.push(Wo.apply(null,Po(n.subarray(0,r)))),n=n.subarray(r);return"data:".concat(e,";base64,").concat(btoa(t.join("")))}function Sp(A){var e=new DataView(A),t;try{var r,n,a;if(e.getUint8(0)===255&&e.getUint8(1)===216)for(var s=e.byteLength,u=2;u+1<s;){if(e.getUint8(u)===255&&e.getUint8(u+1)===225){n=u;break}u+=1}if(n){var o=n+4,l=n+10;if(_p(e,o,4)==="Exif"){var f=e.getUint16(l);if(r=f===18761,(r||f===19789)&&e.getUint16(l+2,r)===42){var h=e.getUint32(l+4,r);h>=8&&(a=l+h)}}}if(a){var d=e.getUint16(a,r),C,m;for(m=0;m<d;m+=1)if(C=a+m*12+2,e.getUint16(C,r)===274){C+=8,t=e.getUint16(C,r),e.setUint16(C,1,r);break}}}catch{t=1}return t}function xp(A){var e=0,t=1,r=1;switch(A){case 2:t=-1;break;case 3:e=-180;break;case 4:r=-1;break;case 5:e=90,r=-1;break;case 6:e=90;break;case 7:e=90,t=-1;break;case 8:e=-90;break}return{rotate:e,scaleX:t,scaleY:r}}var Lp={render:function(){this.initContainer(),this.initCanvas(),this.initCropBox(),this.renderCanvas(),this.cropped&&this.renderCropBox()},initContainer:function(){var e=this.element,t=this.options,r=this.container,n=this.cropper,a=Number(t.minContainerWidth),s=Number(t.minContainerHeight);HA(n,$A),we(e,$A);var u={width:Math.max(r.offsetWidth,a>=0?a:Oo),height:Math.max(r.offsetHeight,s>=0?s:Ro)};this.containerData=u,Ke(n,{width:u.width,height:u.height}),HA(e,$A),we(n,$A)},initCanvas:function(){var e=this.containerData,t=this.imageData,r=this.options.viewMode,n=Math.abs(t.rotate)%180===90,a=n?t.naturalHeight:t.naturalWidth,s=n?t.naturalWidth:t.naturalHeight,u=a/s,o=e.width,l=e.height;e.height*u>e.width?r===3?o=e.height*u:l=e.width/u:r===3?l=e.width/u:o=e.height*u;var f={aspectRatio:u,naturalWidth:a,naturalHeight:s,width:o,height:l};this.canvasData=f,this.limited=r===1||r===2,this.limitCanvas(!0,!0),f.width=Math.min(Math.max(f.width,f.minWidth),f.maxWidth),f.height=Math.min(Math.max(f.height,f.minHeight),f.maxHeight),f.left=(e.width-f.width)/2,f.top=(e.height-f.height)/2,f.oldLeft=f.left,f.oldTop=f.top,this.initialCanvasData=gA({},f)},limitCanvas:function(e,t){var r=this.options,n=this.containerData,a=this.canvasData,s=this.cropBoxData,u=r.viewMode,o=a.aspectRatio,l=this.cropped&&s;if(e){var f=Number(r.minCanvasWidth)||0,h=Number(r.minCanvasHeight)||0;u>1?(f=Math.max(f,n.width),h=Math.max(h,n.height),u===3&&(h*o>f?f=h*o:h=f/o)):u>0&&(f?f=Math.max(f,l?s.width:0):h?h=Math.max(h,l?s.height:0):l&&(f=s.width,h=s.height,h*o>f?f=h*o:h=f/o));var d=Ve({aspectRatio:o,width:f,height:h});f=d.width,h=d.height,a.minWidth=f,a.minHeight=h,a.maxWidth=1/0,a.maxHeight=1/0}if(t)if(u>(l?0:1)){var C=n.width-a.width,m=n.height-a.height;a.minLeft=Math.min(0,C),a.minTop=Math.min(0,m),a.maxLeft=Math.max(0,C),a.maxTop=Math.max(0,m),l&&this.limited&&(a.minLeft=Math.min(s.left,s.left+(s.width-a.width)),a.minTop=Math.min(s.top,s.top+(s.height-a.height)),a.maxLeft=s.left,a.maxTop=s.top,u===2&&(a.width>=n.width&&(a.minLeft=Math.min(0,C),a.maxLeft=Math.max(0,C)),a.height>=n.height&&(a.minTop=Math.min(0,m),a.maxTop=Math.max(0,m))))}else a.minLeft=-a.width,a.minTop=-a.height,a.maxLeft=n.width,a.maxTop=n.height},renderCanvas:function(e,t){var r=this.canvasData,n=this.imageData;if(t){var a=Fp({width:n.naturalWidth*Math.abs(n.scaleX||1),height:n.naturalHeight*Math.abs(n.scaleY||1),degree:n.rotate||0}),s=a.width,u=a.height,o=r.width*(s/r.naturalWidth),l=r.height*(u/r.naturalHeight);r.left-=(o-r.width)/2,r.top-=(l-r.height)/2,r.width=o,r.height=l,r.aspectRatio=s/u,r.naturalWidth=s,r.naturalHeight=u,this.limitCanvas(!0,!1)}(r.width>r.maxWidth||r.width<r.minWidth)&&(r.left=r.oldLeft),(r.height>r.maxHeight||r.height<r.minHeight)&&(r.top=r.oldTop),r.width=Math.min(Math.max(r.width,r.minWidth),r.maxWidth),r.height=Math.min(Math.max(r.height,r.minHeight),r.maxHeight),this.limitCanvas(!1,!0),r.left=Math.min(Math.max(r.left,r.minLeft),r.maxLeft),r.top=Math.min(Math.max(r.top,r.minTop),r.maxTop),r.oldLeft=r.left,r.oldTop=r.top,Ke(this.canvas,gA({width:r.width,height:r.height},gr({translateX:r.left,translateY:r.top}))),this.renderImage(e),this.cropped&&this.limited&&this.limitCropBox(!0,!0)},renderImage:function(e){var t=this.canvasData,r=this.imageData,n=r.naturalWidth*(t.width/t.naturalWidth),a=r.naturalHeight*(t.height/t.naturalHeight);gA(r,{width:n,height:a,left:(t.width-n)/2,top:(t.height-a)/2}),Ke(this.image,gA({width:r.width,height:r.height},gr(gA({translateX:r.left,translateY:r.top},r)))),e&&this.output()},initCropBox:function(){var e=this.options,t=this.canvasData,r=e.aspectRatio||e.initialAspectRatio,n=Number(e.autoCropArea)||.8,a={width:t.width,height:t.height};r&&(t.height*r>t.width?a.height=a.width/r:a.width=a.height*r),this.cropBoxData=a,this.limitCropBox(!0,!0),a.width=Math.min(Math.max(a.width,a.minWidth),a.maxWidth),a.height=Math.min(Math.max(a.height,a.minHeight),a.maxHeight),a.width=Math.max(a.minWidth,a.width*n),a.height=Math.max(a.minHeight,a.height*n),a.left=t.left+(t.width-a.width)/2,a.top=t.top+(t.height-a.height)/2,a.oldLeft=a.left,a.oldTop=a.top,this.initialCropBoxData=gA({},a)},limitCropBox:function(e,t){var r=this.options,n=this.containerData,a=this.canvasData,s=this.cropBoxData,u=this.limited,o=r.aspectRatio;if(e){var l=Number(r.minCropBoxWidth)||0,f=Number(r.minCropBoxHeight)||0,h=u?Math.min(n.width,a.width,a.width+a.left,n.width-a.left):n.width,d=u?Math.min(n.height,a.height,a.height+a.top,n.height-a.top):n.height;l=Math.min(l,n.width),f=Math.min(f,n.height),o&&(l&&f?f*o>l?f=l/o:l=f*o:l?f=l/o:f&&(l=f*o),d*o>h?d=h/o:h=d*o),s.minWidth=Math.min(l,h),s.minHeight=Math.min(f,d),s.maxWidth=h,s.maxHeight=d}t&&(u?(s.minLeft=Math.max(0,a.left),s.minTop=Math.max(0,a.top),s.maxLeft=Math.min(n.width,a.left+a.width)-s.width,s.maxTop=Math.min(n.height,a.top+a.height)-s.height):(s.minLeft=0,s.minTop=0,s.maxLeft=n.width-s.width,s.maxTop=n.height-s.height))},renderCropBox:function(){var e=this.options,t=this.containerData,r=this.cropBoxData;(r.width>r.maxWidth||r.width<r.minWidth)&&(r.left=r.oldLeft),(r.height>r.maxHeight||r.height<r.minHeight)&&(r.top=r.oldTop),r.width=Math.min(Math.max(r.width,r.minWidth),r.maxWidth),r.height=Math.min(Math.max(r.height,r.minHeight),r.maxHeight),this.limitCropBox(!1,!0),r.left=Math.min(Math.max(r.left,r.minLeft),r.maxLeft),r.top=Math.min(Math.max(r.top,r.minTop),r.maxTop),r.oldLeft=r.left,r.oldTop=r.top,e.movable&&e.cropBoxMovable&&Br(this.face,dr,r.width>=t.width&&r.height>=t.height?bo:os),Ke(this.cropBox,gA({width:r.width,height:r.height},gr({translateX:r.left,translateY:r.top}))),this.cropped&&this.limited&&this.limitCanvas(!0,!0),this.disabled||this.output()},output:function(){this.preview(),vt(this.element,hs,this.getData())}},Hp={initPreview:function(){var e=this.element,t=this.crossOrigin,r=this.options.preview,n=t?this.crossOriginUrl:this.url,a=e.alt||"The image to preview",s=document.createElement("img");if(t&&(s.crossOrigin=t),s.src=n,s.alt=a,this.viewBox.appendChild(s),this.viewBoxImage=s,!!r){var u=r;typeof r=="string"?u=e.ownerDocument.querySelectorAll(r):r.querySelector&&(u=[r]),this.previews=u,QA(u,function(o){var l=document.createElement("img");Br(o,En,{width:o.offsetWidth,height:o.offsetHeight,html:o.innerHTML}),t&&(l.crossOrigin=t),l.src=n,l.alt=a,l.style.cssText='display:block;width:100%;height:auto;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;image-orientation:0deg!important;"',o.innerHTML="",o.appendChild(l)})}},resetPreview:function(){QA(this.previews,function(e){var t=Cs(e,En);Ke(e,{width:t.width,height:t.height}),e.innerHTML=t.html,Tp(e,En)})},preview:function(){var e=this.imageData,t=this.canvasData,r=this.cropBoxData,n=r.width,a=r.height,s=e.width,u=e.height,o=r.left-t.left-e.left,l=r.top-t.top-e.top;!this.cropped||this.disabled||(Ke(this.viewBoxImage,gA({width:s,height:u},gr(gA({translateX:-o,translateY:-l},e)))),QA(this.previews,function(f){var h=Cs(f,En),d=h.width,C=h.height,m=d,T=C,U=1;n&&(U=d/n,T=a*U),a&&T>C&&(U=C/a,m=n*U,T=C),Ke(f,{width:m,height:T}),Ke(f.getElementsByTagName("img")[0],gA({width:s*U,height:u*U},gr(gA({translateX:-o*U,translateY:-l*U},e))))}))}},Dp={bind:function(){var e=this.element,t=this.options,r=this.cropper;ZA(t.cropstart)&&ae(e,gs,t.cropstart),ZA(t.cropmove)&&ae(e,Bs,t.cropmove),ZA(t.cropend)&&ae(e,ds,t.cropend),ZA(t.crop)&&ae(e,hs,t.crop),ZA(t.zoom)&&ae(e,Es,t.zoom),ae(r,No,this.onCropStart=this.cropStart.bind(this)),t.zoomable&&t.zoomOnWheel&&ae(r,Ho,this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),t.toggleDragModeOnDblclick&&ae(r,yo,this.onDblclick=this.dblclick.bind(this)),ae(e.ownerDocument,vo,this.onCropMove=this.cropMove.bind(this)),ae(e.ownerDocument,So,this.onCropEnd=this.cropEnd.bind(this)),t.responsive&&ae(window,Lo,this.onResize=this.resize.bind(this))},unbind:function(){var e=this.element,t=this.options,r=this.cropper;ZA(t.cropstart)&&fe(e,gs,t.cropstart),ZA(t.cropmove)&&fe(e,Bs,t.cropmove),ZA(t.cropend)&&fe(e,ds,t.cropend),ZA(t.crop)&&fe(e,hs,t.crop),ZA(t.zoom)&&fe(e,Es,t.zoom),fe(r,No,this.onCropStart),t.zoomable&&t.zoomOnWheel&&fe(r,Ho,this.onWheel,{passive:!1,capture:!0}),t.toggleDragModeOnDblclick&&fe(r,yo,this.onDblclick),fe(e.ownerDocument,vo,this.onCropMove),fe(e.ownerDocument,So,this.onCropEnd),t.responsive&&fe(window,Lo,this.onResize)}},Op={resize:function(){if(!this.disabled){var e=this.options,t=this.container,r=this.containerData,n=t.offsetWidth/r.width,a=t.offsetHeight/r.height,s=Math.abs(n-1)>Math.abs(a-1)?n:a;if(s!==1){var u,o;e.restore&&(u=this.getCanvasData(),o=this.getCropBoxData()),this.render(),e.restore&&(this.setCanvasData(QA(u,function(l,f){u[f]=l*s})),this.setCropBoxData(QA(o,function(l,f){o[f]=l*s})))}}},dblclick:function(){this.disabled||this.options.dragMode===_o||this.setDragMode(Cp(this.dragBox,cs)?Io:fs)},wheel:function(e){var t=this,r=Number(this.options.wheelZoomRatio)||.1,n=1;this.disabled||(e.preventDefault(),!this.wheeling&&(this.wheeling=!0,setTimeout(function(){t.wheeling=!1},50),e.deltaY?n=e.deltaY>0?1:-1:e.wheelDelta?n=-e.wheelDelta/120:e.detail&&(n=e.detail>0?1:-1),this.zoom(-n*r,e)))},cropStart:function(e){var t=e.buttons,r=e.button;if(!(this.disabled||(e.type==="mousedown"||e.type==="pointerdown"&&e.pointerType==="mouse")&&(Z(t)&&t!==1||Z(r)&&r!==0||e.ctrlKey))){var n=this.options,a=this.pointers,s;e.changedTouches?QA(e.changedTouches,function(u){a[u.identifier]=pn(u)}):a[e.pointerId||0]=pn(e),Object.keys(a).length>1&&n.zoomable&&n.zoomOnTouch?s=Uo:s=Cs(e.target,dr),cp.test(s)&&vt(this.element,gs,{originalEvent:e,action:s})!==!1&&(e.preventDefault(),this.action=s,this.cropping=!1,s===To&&(this.cropping=!0,HA(this.dragBox,gn)))}},cropMove:function(e){var t=this.action;if(!(this.disabled||!t)){var r=this.pointers;e.preventDefault(),vt(this.element,Bs,{originalEvent:e,action:t})!==!1&&(e.changedTouches?QA(e.changedTouches,function(n){gA(r[n.identifier]||{},pn(n,!0))}):gA(r[e.pointerId||0]||{},pn(e,!0)),this.change(e))}},cropEnd:function(e){if(!this.disabled){var t=this.action,r=this.pointers;e.changedTouches?QA(e.changedTouches,function(n){delete r[n.identifier]}):delete r[e.pointerId||0],t&&(e.preventDefault(),Object.keys(r).length||(this.action=""),this.cropping&&(this.cropping=!1,Nt(this.dragBox,gn,this.cropped&&this.options.modal)),vt(this.element,ds,{originalEvent:e,action:t}))}}},Rp={change:function(e){var t=this.options,r=this.canvasData,n=this.containerData,a=this.cropBoxData,s=this.pointers,u=this.action,o=t.aspectRatio,l=a.left,f=a.top,h=a.width,d=a.height,C=l+h,m=f+d,T=0,U=0,N=n.width,_=n.height,D=!0,P;!o&&e.shiftKey&&(o=h&&d?h/d:1),this.limited&&(T=a.minLeft,U=a.minTop,N=T+Math.min(n.width,r.width,r.left+r.width),_=U+Math.min(n.height,r.height,r.top+r.height));var L=s[Object.keys(s)[0]],p={x:L.endX-L.startX,y:L.endY-L.startY},H=function(k){switch(k){case ut:C+p.x>N&&(p.x=N-C);break;case ot:l+p.x<T&&(p.x=T-l);break;case Pe:f+p.y<U&&(p.y=U-f);break;case It:m+p.y>_&&(p.y=_-m);break}};switch(u){case os:l+=p.x,f+=p.y;break;case ut:if(p.x>=0&&(C>=N||o&&(f<=U||m>=_))){D=!1;break}H(ut),h+=p.x,h<0&&(u=ot,h=-h,l-=h),o&&(d=h/o,f+=(a.height-d)/2);break;case Pe:if(p.y<=0&&(f<=U||o&&(l<=T||C>=N))){D=!1;break}H(Pe),d-=p.y,f+=p.y,d<0&&(u=It,d=-d,f-=d),o&&(h=d*o,l+=(a.width-h)/2);break;case ot:if(p.x<=0&&(l<=T||o&&(f<=U||m>=_))){D=!1;break}H(ot),h-=p.x,l+=p.x,h<0&&(u=ut,h=-h,l-=h),o&&(d=h/o,f+=(a.height-d)/2);break;case It:if(p.y>=0&&(m>=_||o&&(l<=T||C>=N))){D=!1;break}H(It),d+=p.y,d<0&&(u=Pe,d=-d,f-=d),o&&(h=d*o,l+=(a.width-h)/2);break;case cr:if(o){if(p.y<=0&&(f<=U||C>=N)){D=!1;break}H(Pe),d-=p.y,f+=p.y,h=d*o}else H(Pe),H(ut),p.x>=0?C<N?h+=p.x:p.y<=0&&f<=U&&(D=!1):h+=p.x,p.y<=0?f>U&&(d-=p.y,f+=p.y):(d-=p.y,f+=p.y);h<0&&d<0?(u=hr,d=-d,h=-h,f-=d,l-=h):h<0?(u=lr,h=-h,l-=h):d<0&&(u=fr,d=-d,f-=d);break;case lr:if(o){if(p.y<=0&&(f<=U||l<=T)){D=!1;break}H(Pe),d-=p.y,f+=p.y,h=d*o,l+=a.width-h}else H(Pe),H(ot),p.x<=0?l>T?(h-=p.x,l+=p.x):p.y<=0&&f<=U&&(D=!1):(h-=p.x,l+=p.x),p.y<=0?f>U&&(d-=p.y,f+=p.y):(d-=p.y,f+=p.y);h<0&&d<0?(u=fr,d=-d,h=-h,f-=d,l-=h):h<0?(u=cr,h=-h,l-=h):d<0&&(u=hr,d=-d,f-=d);break;case hr:if(o){if(p.x<=0&&(l<=T||m>=_)){D=!1;break}H(ot),h-=p.x,l+=p.x,d=h/o}else H(It),H(ot),p.x<=0?l>T?(h-=p.x,l+=p.x):p.y>=0&&m>=_&&(D=!1):(h-=p.x,l+=p.x),p.y>=0?m<_&&(d+=p.y):d+=p.y;h<0&&d<0?(u=cr,d=-d,h=-h,f-=d,l-=h):h<0?(u=fr,h=-h,l-=h):d<0&&(u=lr,d=-d,f-=d);break;case fr:if(o){if(p.x>=0&&(C>=N||m>=_)){D=!1;break}H(ut),h+=p.x,d=h/o}else H(It),H(ut),p.x>=0?C<N?h+=p.x:p.y>=0&&m>=_&&(D=!1):h+=p.x,p.y>=0?m<_&&(d+=p.y):d+=p.y;h<0&&d<0?(u=lr,d=-d,h=-h,f-=d,l-=h):h<0?(u=hr,h=-h,l-=h):d<0&&(u=cr,d=-d,f-=d);break;case bo:this.move(p.x,p.y),D=!1;break;case Uo:this.zoom(Up(s),e),D=!1;break;case To:if(!p.x||!p.y){D=!1;break}P=Go(this.cropper),l=L.startX-P.left,f=L.startY-P.top,h=a.minWidth,d=a.minHeight,p.x>0?u=p.y>0?fr:cr:p.x<0&&(l-=h,u=p.y>0?hr:lr),p.y<0&&(f-=d),this.cropped||(we(this.cropBox,$A),this.cropped=!0,this.limited&&this.limitCropBox(!0,!0));break}D&&(a.width=h,a.height=d,a.left=l,a.top=f,this.action=u,this.renderCropBox()),QA(s,function(K){K.startX=K.endX,K.startY=K.endY})}},Mp={crop:function(){return this.ready&&!this.cropped&&!this.disabled&&(this.cropped=!0,this.limitCropBox(!0,!0),this.options.modal&&HA(this.dragBox,gn),we(this.cropBox,$A),this.setCropBoxData(this.initialCropBoxData)),this},reset:function(){return this.ready&&!this.disabled&&(this.imageData=gA({},this.initialImageData),this.canvasData=gA({},this.initialCanvasData),this.cropBoxData=gA({},this.initialCropBoxData),this.renderCanvas(),this.cropped&&this.renderCropBox()),this},clear:function(){return this.cropped&&!this.disabled&&(gA(this.cropBoxData,{left:0,top:0,width:0,height:0}),this.cropped=!1,this.renderCropBox(),this.limitCanvas(!0,!0),this.renderCanvas(),we(this.dragBox,gn),HA(this.cropBox,$A)),this},replace:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return!this.disabled&&e&&(this.isImg&&(this.element.src=e),t?(this.url=e,this.image.src=e,this.ready&&(this.viewBoxImage.src=e,QA(this.previews,function(r){r.getElementsByTagName("img")[0].src=e}))):(this.isImg&&(this.replaced=!0),this.options.data=null,this.uncreate(),this.load(e))),this},enable:function(){return this.ready&&this.disabled&&(this.disabled=!1,we(this.cropper,Qo)),this},disable:function(){return this.ready&&!this.disabled&&(this.disabled=!0,HA(this.cropper,Qo)),this},destroy:function(){var e=this.element;return e[BA]?(e[BA]=void 0,this.isImg&&this.replaced&&(e.src=this.originalUrl),this.uncreate(),this):this},move:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,r=this.canvasData,n=r.left,a=r.top;return this.moveTo(ps(e)?e:n+Number(e),ps(t)?t:a+Number(t))},moveTo:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,r=this.canvasData,n=!1;return e=Number(e),t=Number(t),this.ready&&!this.disabled&&this.options.movable&&(Z(e)&&(r.left=e,n=!0),Z(t)&&(r.top=t,n=!0),n&&this.renderCanvas(!0)),this},zoom:function(e,t){var r=this.canvasData;return e=Number(e),e<0?e=1/(1-e):e=1+e,this.zoomTo(r.width*e/r.naturalWidth,null,t)},zoomTo:function(e,t,r){var n=this.options,a=this.canvasData,s=a.width,u=a.height,o=a.naturalWidth,l=a.naturalHeight;if(e=Number(e),e>=0&&this.ready&&!this.disabled&&n.zoomable){var f=o*e,h=l*e;if(vt(this.element,Es,{ratio:e,oldRatio:s/o,originalEvent:r})===!1)return this;if(r){var d=this.pointers,C=Go(this.cropper),m=d&&Object.keys(d).length?Qp(d):{pageX:r.pageX,pageY:r.pageY};a.left-=(f-s)*((m.pageX-C.left-a.left)/s),a.top-=(h-u)*((m.pageY-C.top-a.top)/u)}else _t(t)&&Z(t.x)&&Z(t.y)?(a.left-=(f-s)*((t.x-a.left)/s),a.top-=(h-u)*((t.y-a.top)/u)):(a.left-=(f-s)/2,a.top-=(h-u)/2);a.width=f,a.height=h,this.renderCanvas(!0)}return this},rotate:function(e){return this.rotateTo((this.imageData.rotate||0)+Number(e))},rotateTo:function(e){return e=Number(e),Z(e)&&this.ready&&!this.disabled&&this.options.rotatable&&(this.imageData.rotate=e%360,this.renderCanvas(!0,!0)),this},scaleX:function(e){var t=this.imageData.scaleY;return this.scale(e,Z(t)?t:1)},scaleY:function(e){var t=this.imageData.scaleX;return this.scale(Z(t)?t:1,e)},scale:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,r=this.imageData,n=!1;return e=Number(e),t=Number(t),this.ready&&!this.disabled&&this.options.scalable&&(Z(e)&&(r.scaleX=e,n=!0),Z(t)&&(r.scaleY=t,n=!0),n&&this.renderCanvas(!0,!0)),this},getData:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,t=this.options,r=this.imageData,n=this.canvasData,a=this.cropBoxData,s;if(this.ready&&this.cropped){s={x:a.left-n.left,y:a.top-n.top,width:a.width,height:a.height};var u=r.width/r.naturalWidth;if(QA(s,function(f,h){s[h]=f/u}),e){var o=Math.round(s.y+s.height),l=Math.round(s.x+s.width);s.x=Math.round(s.x),s.y=Math.round(s.y),s.width=l-s.x,s.height=o-s.y}}else s={x:0,y:0,width:0,height:0};return t.rotatable&&(s.rotate=r.rotate||0),t.scalable&&(s.scaleX=r.scaleX||1,s.scaleY=r.scaleY||1),s},setData:function(e){var t=this.options,r=this.imageData,n=this.canvasData,a={};if(this.ready&&!this.disabled&&_t(e)){var s=!1;t.rotatable&&Z(e.rotate)&&e.rotate!==r.rotate&&(r.rotate=e.rotate,s=!0),t.scalable&&(Z(e.scaleX)&&e.scaleX!==r.scaleX&&(r.scaleX=e.scaleX,s=!0),Z(e.scaleY)&&e.scaleY!==r.scaleY&&(r.scaleY=e.scaleY,s=!0)),s&&this.renderCanvas(!0,!0);var u=r.width/r.naturalWidth;Z(e.x)&&(a.left=e.x*u+n.left),Z(e.y)&&(a.top=e.y*u+n.top),Z(e.width)&&(a.width=e.width*u),Z(e.height)&&(a.height=e.height*u),this.setCropBoxData(a)}return this},getContainerData:function(){return this.ready?gA({},this.containerData):{}},getImageData:function(){return this.sized?gA({},this.imageData):{}},getCanvasData:function(){var e=this.canvasData,t={};return this.ready&&QA(["left","top","width","height","naturalWidth","naturalHeight"],function(r){t[r]=e[r]}),t},setCanvasData:function(e){var t=this.canvasData,r=t.aspectRatio;return this.ready&&!this.disabled&&_t(e)&&(Z(e.left)&&(t.left=e.left),Z(e.top)&&(t.top=e.top),Z(e.width)?(t.width=e.width,t.height=e.width/r):Z(e.height)&&(t.height=e.height,t.width=e.height*r),this.renderCanvas(!0)),this},getCropBoxData:function(){var e=this.cropBoxData,t;return this.ready&&this.cropped&&(t={left:e.left,top:e.top,width:e.width,height:e.height}),t||{}},setCropBoxData:function(e){var t=this.cropBoxData,r=this.options.aspectRatio,n,a;return this.ready&&this.cropped&&!this.disabled&&_t(e)&&(Z(e.left)&&(t.left=e.left),Z(e.top)&&(t.top=e.top),Z(e.width)&&e.width!==t.width&&(n=!0,t.width=e.width),Z(e.height)&&e.height!==t.height&&(a=!0,t.height=e.height),r&&(n?t.height=t.width/r:a&&(t.width=t.height*r)),this.renderCropBox()),this},getCroppedCanvas:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!this.ready||!window.HTMLCanvasElement)return null;var t=this.canvasData,r=Ip(this.image,this.imageData,t,e);if(!this.cropped)return r;var n=this.getData(e.rounded),a=n.x,s=n.y,u=n.width,o=n.height,l=r.width/Math.floor(t.naturalWidth);l!==1&&(a*=l,s*=l,u*=l,o*=l);var f=u/o,h=Ve({aspectRatio:f,width:e.maxWidth||1/0,height:e.maxHeight||1/0}),d=Ve({aspectRatio:f,width:e.minWidth||0,height:e.minHeight||0},"cover"),C=Ve({aspectRatio:f,width:e.width||(l!==1?r.width:u),height:e.height||(l!==1?r.height:o)}),m=C.width,T=C.height;m=Math.min(h.width,Math.max(d.width,m)),T=Math.min(h.height,Math.max(d.height,T));var U=document.createElement("canvas"),N=U.getContext("2d");U.width=yt(m),U.height=yt(T),N.fillStyle=e.fillColor||"transparent",N.fillRect(0,0,m,T);var _=e.imageSmoothingEnabled,D=_===void 0?!0:_,P=e.imageSmoothingQuality;N.imageSmoothingEnabled=D,P&&(N.imageSmoothingQuality=P);var L=r.width,p=r.height,H=a,K=s,k,AA,oA,fA,q,tA;H<=-u||H>L?(H=0,k=0,oA=0,q=0):H<=0?(oA=-H,H=0,k=Math.min(L,u+H),q=k):H<=L&&(oA=0,k=Math.min(u,L-H),q=k),k<=0||K<=-o||K>p?(K=0,AA=0,fA=0,tA=0):K<=0?(fA=-K,K=0,AA=Math.min(p,o+K),tA=AA):K<=p&&(fA=0,AA=Math.min(o,p-K),tA=AA);var cA=[H,K,k,AA];if(q>0&&tA>0){var hA=m/u;cA.push(oA*hA,fA*hA,q*hA,tA*hA)}return N.drawImage.apply(N,[r].concat(wo(cA.map(function(CA){return Math.floor(yt(CA))})))),U},setAspectRatio:function(e){var t=this.options;return!this.disabled&&!ps(e)&&(t.aspectRatio=Math.max(0,e)||NaN,this.ready&&(this.initCropBox(),this.cropped&&this.renderCropBox())),this},setDragMode:function(e){var t=this.options,r=this.dragBox,n=this.face;if(this.ready&&!this.disabled){var a=e===fs,s=t.movable&&e===Io;e=a||s?e:_o,t.dragMode=e,Br(r,dr,e),Nt(r,cs,a),Nt(r,ls,s),t.cropBoxMovable||(Br(n,dr,e),Nt(n,cs,a),Nt(n,ls,s))}return this}},kp=Ce.Cropper,Jo=function(){function A(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(zE(this,A),!e||!hp.test(e.tagName))throw new Error("The first argument is required and must be an <img> or <canvas> element.");this.element=e,this.options=gA({},Mo,_t(t)&&t),this.cropped=!1,this.disabled=!1,this.pointers={},this.ready=!1,this.reloading=!1,this.replaced=!1,this.sized=!1,this.sizing=!1,this.init()}return Ap(A,[{key:"init",value:function(){var t=this.element,r=t.tagName.toLowerCase(),n;if(!t[BA]){if(t[BA]=this,r==="img"){if(this.isImg=!0,n=t.getAttribute("src")||"",this.originalUrl=n,!n)return;n=t.src}else r==="canvas"&&window.HTMLCanvasElement&&(n=t.toDataURL());this.load(n)}}},{key:"load",value:function(t){var r=this;if(t){this.url=t,this.imageData={};var n=this.element,a=this.options;if(!a.rotatable&&!a.scalable&&(a.checkOrientation=!1),!a.checkOrientation||!window.ArrayBuffer){this.clone();return}if(lp.test(t)){fp.test(t)?this.read(Np(t)):this.clone();return}var s=new XMLHttpRequest,u=this.clone.bind(this);this.reloading=!0,this.xhr=s,s.onabort=u,s.onerror=u,s.ontimeout=u,s.onprogress=function(){s.getResponseHeader("content-type")!==Do&&s.abort()},s.onload=function(){r.read(s.response)},s.onloadend=function(){r.reloading=!1,r.xhr=null},a.checkCrossOrigin&&Yo(t)&&n.crossOrigin&&(t=Xo(t)),s.open("GET",t,!0),s.responseType="arraybuffer",s.withCredentials=n.crossOrigin==="use-credentials",s.send()}}},{key:"read",value:function(t){var r=this.options,n=this.imageData,a=Sp(t),s=0,u=1,o=1;if(a>1){this.url=vp(t,Do);var l=xp(a);s=l.rotate,u=l.scaleX,o=l.scaleY}r.rotatable&&(n.rotate=s),r.scalable&&(n.scaleX=u,n.scaleY=o),this.clone()}},{key:"clone",value:function(){var t=this.element,r=this.url,n=t.crossOrigin,a=r;this.options.checkCrossOrigin&&Yo(r)&&(n||(n="anonymous"),a=Xo(r)),this.crossOrigin=n,this.crossOriginUrl=a;var s=document.createElement("img");n&&(s.crossOrigin=n),s.src=a||r,s.alt=t.alt||"The image to crop",this.image=s,s.onload=this.start.bind(this),s.onerror=this.stop.bind(this),HA(s,Fo),t.parentNode.insertBefore(s,t.nextSibling)}},{key:"start",value:function(){var t=this,r=this.image;r.onload=null,r.onerror=null,this.sizing=!0;var n=Ce.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(Ce.navigator.userAgent),a=function(l,f){gA(t.imageData,{naturalWidth:l,naturalHeight:f,aspectRatio:l/f}),t.initialImageData=gA({},t.imageData),t.sizing=!1,t.sized=!0,t.build()};if(r.naturalWidth&&!n){a(r.naturalWidth,r.naturalHeight);return}var s=document.createElement("img"),u=document.body||document.documentElement;this.sizingImage=s,s.onload=function(){a(s.width,s.height),n||u.removeChild(s)},s.src=r.src,n||(s.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",u.appendChild(s))}},{key:"stop",value:function(){var t=this.image;t.onload=null,t.onerror=null,t.parentNode.removeChild(t),this.image=null}},{key:"build",value:function(){if(!(!this.sized||this.ready)){var t=this.element,r=this.options,n=this.image,a=t.parentNode,s=document.createElement("div");s.innerHTML=dp;var u=s.querySelector(".".concat(BA,"-container")),o=u.querySelector(".".concat(BA,"-canvas")),l=u.querySelector(".".concat(BA,"-drag-box")),f=u.querySelector(".".concat(BA,"-crop-box")),h=f.querySelector(".".concat(BA,"-face"));this.container=a,this.cropper=u,this.canvas=o,this.dragBox=l,this.cropBox=f,this.viewBox=u.querySelector(".".concat(BA,"-view-box")),this.face=h,o.appendChild(n),HA(t,$A),a.insertBefore(u,t.nextSibling),we(n,Fo),this.initPreview(),this.bind(),r.initialAspectRatio=Math.max(0,r.initialAspectRatio)||NaN,r.aspectRatio=Math.max(0,r.aspectRatio)||NaN,r.viewMode=Math.max(0,Math.min(3,Math.round(r.viewMode)))||0,HA(f,$A),r.guides||HA(f.getElementsByClassName("".concat(BA,"-dashed")),$A),r.center||HA(f.getElementsByClassName("".concat(BA,"-center")),$A),r.background&&HA(u,"".concat(BA,"-bg")),r.highlight||HA(h,sp),r.cropBoxMovable&&(HA(h,ls),Br(h,dr,os)),r.cropBoxResizable||(HA(f.getElementsByClassName("".concat(BA,"-line")),$A),HA(f.getElementsByClassName("".concat(BA,"-point")),$A)),this.render(),this.ready=!0,this.setDragMode(r.dragMode),r.autoCrop&&this.crop(),this.setData(r.data),ZA(r.ready)&&ae(t,xo,r.ready,{once:!0}),vt(t,xo)}}},{key:"unbuild",value:function(){if(this.ready){this.ready=!1,this.unbind(),this.resetPreview();var t=this.cropper.parentNode;t&&t.removeChild(this.cropper),we(this.element,$A)}}},{key:"uncreate",value:function(){this.ready?(this.unbuild(),this.ready=!1,this.cropped=!1):this.sizing?(this.sizingImage.onload=null,this.sizing=!1,this.sized=!1):this.reloading?(this.xhr.onabort=null,this.xhr.abort()):this.image&&this.stop()}}],[{key:"noConflict",value:function(){return window.Cropper=kp,A}},{key:"setDefaults",value:function(t){gA(Mo,_t(t)&&t)}}])}();gA(Jo.prototype,Lp,Hp,Dp,Op,Rp,Mp);function Pp(A,e){const t=A.split(",")||[],r=t[0].match(/:(.*?);/)[1],n=t[1]&&atob(t[1]);let a=n&&n.length;const s=new Uint8Array(a);for(;a--;)s[a]=n==null?void 0:n.charCodeAt(a);return new File([s],e,{type:r})}const Kp={key:0,contenteditable:"false",class:"z-10 w-[100vw] h-[100vh] bg-[rgba(0,0,0,0.7)] flex flex-col justify-center items-center fixed top-0 left-0 cursor-auto"},Vp={class:"w-[700px] flex flex-col bg-white rounded pb-8"},Gp={class:"flex flex-row items-center justify-between px-6 py-4 bg-[#f4f8ff]"},Yp={class:"flex flex-col h-full"},Xp={class:"flex flex-row justify-center items-start flex-1"},Wp={class:"flex flex-col items-start flex-1"},Jp={class:"flex flex-col w-full px-6 py-4"},qp={class:"flex flex-col w-full"},jp={class:"flex flex-row items-center"},$p={class:"relative bg-[#474AFF] text-white rounded p-3"},Zp={class:"flex flex-row items-start justify-between mt-3"},zp={class:"flex flex-col"},Am={class:"flex flex-col justify-center items-center border w-[300px] h-[300px]"},em={key:0,class:"w-full text-center"},tm=["src"],rm={class:"flex flex-col items-center",style:{width:"300px",height:"300px"}},nm={class:"text-[#999] mt-05 flex justify-center mt-4"},am={class:"w-full flex justify-end space-x-5 mt-5 px-6"},sm=["loading"],im=c.defineComponent({__name:"GpCropper",emits:["cancel","ok"],setup(A,{expose:e,emit:t}){const r=t,n=c.ref({coverUrl:"",inputValue:"",uploadType:2,videoHost:"",videoUrl:""}),a=c.ref(),s=c.ref({autoCrop:!0,autoCropArea:1,background:!0,center:!0,cropBoxResizable:!0,dragMode:"move",preview:".before",toggleDragModeOnDblclick:!0,viewMode:1,zoomOnWheel:!0}),u=c.ref(!1),o=c.ref("image/jpeg"),l=c.ref({afterImg:"",image:null,myCropper:null}),f=L=>{const p=L.target.files[0];p&&(p.name&&(n.value.inputValue=p.name),h(p))};async function h(L){if(!L)return;await P();const p=URL.createObjectURL(L);l.value.image=p,l.value.image&&d(),o.value=L.type}function d(){const L=document.querySelector("#imgId");L&&L.addEventListener("load",()=>{D(),l.value.myCropper=new Jo(L,s.value)})}const C=c.ref(!1),m=c.ref();function T(L,p,H,K){m.value=K,a.value=L,L&&L.aspectRatio&&(s.value.aspectRatio=L.aspectRatio),H&&(n.value.inputValue=H),C.value=!0,p&&h(p)}function U(){C.value=!1}const N=()=>{var K,k;if(!l.value.myCropper)return;u.value=!0;var p=l.value.myCropper.getCroppedCanvas({height:(K=a.value)==null?void 0:K.height,imageSmoothingQuality:"high",width:(k=a.value)==null?void 0:k.width}).toDataURL(o.value);l.value.afterImg=p;const H=Pp(l.value.afterImg,n.value.inputValue);r("ok",{file:H,element:m.value}),u.value=!1,P(),D(),U()};function _(){P(),D(),U(),r("cancel")}function D(){l.value.myCropper&&l.value.myCropper.destroy()}function P(){l.value.image=""}return e({handleCloseCropper:U,handleOpenCropper:T}),(L,p)=>{var H,K,k;return C.value?(c.openBlock(),c.createElementBlock("div",Kp,[c.createElementVNode("div",Vp,[c.createElementVNode("div",Gp,[p[1]||(p[1]=c.createElementVNode("span",{class:"text-base font-semibold text-[#333]"},"图片裁剪",-1)),c.createElementVNode("span",{class:"text-lg cursor-pointer text-[#999] iconfont icon-shanchu2",onClick:c.withModifiers(_,["stop"])})]),c.createElementVNode("div",Yp,[c.createElementVNode("div",Xp,[c.createElementVNode("div",Wp,[c.createElementVNode("div",Jp,[c.createElementVNode("div",qp,[c.createElementVNode("div",jp,[c.createElementVNode("div",$p,[c.createElementVNode("input",{type:"file",accept:"image/*",onClick:p[0]||(p[0]=c.withModifiers(()=>{},["stop"])),contenteditable:"false",ref:"fileInput",onChange:f,class:"absolute top-0 left-0 w-[110px] h-[40px] opacity-0 cursor-pointer"},null,544),p[2]||(p[2]=c.createElementVNode("span",{id:"uploadHandler",class:"cursor-pointer"}," 选择/更换图片 ",-1))]),p[3]||(p[3]=c.createElementVNode("span",{class:"text-sm text-[#999] ml-3"},"滚动鼠标放大或缩小图片",-1))]),c.createElementVNode("div",Zp,[c.createElementVNode("div",zp,[c.createElementVNode("div",Am,[l.value.image?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",em," 请上传图片 ")),c.createElementVNode("img",{id:"imgId",src:l.value.image,style:{width:"300px"}},null,8,tm)])]),c.createElementVNode("div",rm,[p[4]||(p[4]=c.createElementVNode("div",{class:"before w-[270px] h-[200px] pr-[70px] border"},null,-1)),c.createElementVNode("div",nm," 预览画像 "+c.toDisplayString(((H=a.value)==null?void 0:H.width)||"")+" "+c.toDisplayString((K=a.value)!=null&&K.width?"x":"")+" "+c.toDisplayString(((k=a.value)==null?void 0:k.height)||""),1)])])])])])]),c.createElementVNode("div",am,[c.createElementVNode("span",{loading:u.value,class:"!w-22 bg-[#474AFF] text-white rounded py-2 px-6 cursor-pointer",type:"primary",onClick:N}," 确认 ",8,sm),c.createElementVNode("span",{class:"!w-22 border border-[#DEDEDE] text-[#666] rounded py-2 px-6 cursor-pointer",onClick:_},"取消")])])])])):c.createCommentVNode("",!0)}}}),um=c.defineComponent({name:"GpModal",props:{visible:{type:Boolean,required:!0},title:{type:String,default:""},okText:{type:String,default:"确定"},cancelText:{type:String,default:"取消"},showOkButton:{type:Boolean,default:!0},showCancelButton:{type:Boolean,default:!0},showCloseButton:{type:Boolean,default:!0},maskClosable:{type:Boolean,default:!0}},emits:["update:visible","ok","cancel"],setup(A,{emit:e}){const{visible:t,okText:r,cancelText:n,showCloseButton:a}=c.toRefs(A),s=()=>{e("cancel"),e("update:visible",!1)};return{visible:t,okText:r,cancelText:n,showCloseButton:a,onClose:s,onOk:()=>{e("ok"),e("update:visible",!1)},onCancel:()=>{e("cancel"),e("update:visible",!1)},onMaskClosable:()=>{A.maskClosable&&s()}}}}),om={class:"bg-white rounded-lg shadow-xl w-ful"},cm={class:"p-4 border-b border-gray-200 relative flex items-center justify-between"},lm={key:0,class:"text-lg font-semibold"},fm={class:"p-4"},hm={key:0,class:"p-4 border-t border-gray-200 flex justify-end space-x-2"};function dm(A,e,t,r,n,a){return A.visible?(c.openBlock(),c.createElementBlock("div",{key:0,class:"fixed inset-0 z-[99999] flex items-center justify-center bg-gray-900 bg-opacity-50",onClick:e[3]||(e[3]=c.withModifiers((...s)=>A.onMaskClosable&&A.onMaskClosable(...s),["self"]))},[c.createElementVNode("div",om,[c.createElementVNode("div",cm,[A.title?(c.openBlock(),c.createElementBlock("h3",lm,c.toDisplayString(A.title),1)):c.createCommentVNode("",!0),c.renderSlot(A.$slots,"header"),A.showCloseButton?(c.openBlock(),c.createElementBlock("button",{key:1,class:"text-gray-400 hover:text-gray-600",onClick:e[0]||(e[0]=(...s)=>A.onClose&&A.onClose(...s)),"aria-label":"Close"},e[4]||(e[4]=[c.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-5 w-5",viewBox:"0 0 20 20",fill:"currentColor"},[c.createElementVNode("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1)]))):c.createCommentVNode("",!0)]),c.createElementVNode("div",fm,[c.renderSlot(A.$slots,"default")]),A.showCancelButton||A.showOkButton?(c.openBlock(),c.createElementBlock("div",hm,[c.renderSlot(A.$slots,"footer",{},()=>[A.showCancelButton?(c.openBlock(),c.createElementBlock("button",{key:0,class:"px-4 py-2 text-sm font-medium text-gray-700 bg-gray-100 rounded hover:bg-gray-200",onClick:e[1]||(e[1]=(...s)=>A.onCancel&&A.onCancel(...s))},c.toDisplayString(A.cancelText),1)):c.createCommentVNode("",!0),A.showOkButton?(c.openBlock(),c.createElementBlock("button",{key:1,class:"px-4 py-2 text-sm font-medium text-white bg-blue-600 rounded hover:bg-blue-700",onClick:e[2]||(e[2]=(...s)=>A.onOk&&A.onOk(...s))},c.toDisplayString(A.okText),1)):c.createCommentVNode("",!0)])])):c.createCommentVNode("",!0)])])):c.createCommentVNode("",!0)}const qo=ke(um,[["render",dm]]),Bm={class:"p-4 flex flex-wrap max-h-[500px] overflow-y-auto w-[640px]"},gm=["onClick"],Em=c.defineComponent({__name:"GpIcon",props:{icons:{type:Array,default:()=>[]}},emits:["ok"],setup(A,{expose:e,emit:t}){const r=A,n=t,a=c.ref(r.icons||[]);c.watch(()=>r.icons,h=>{a.value=h||[]},{immediate:!0});const s=c.ref(!1),u=c.ref();function o(h){s.value=!0,u.value=h}function l(h){f(),n("ok",{icon:h,element:u.value})}function f(){s.value=!1}return e({openModal:o,closeModal:f}),(h,d)=>(c.openBlock(),c.createBlock(qo,{visible:s.value,"onUpdate:visible":d[0]||(d[0]=C=>s.value=C),title:"选择图标",onOk:f,onCancel:f,showCancelButton:!1,showOkButton:!1},{default:c.withCtx(()=>[c.createElementVNode("div",Bm,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(a.value,C=>(c.openBlock(),c.createElementBlock("span",{key:C,onClick:c.withModifiers(m=>l(C),["stop"]),style:{position:"unset",color:"unset",top:"unset",left:"unset",right:"unset",transform:"unset","font-size":"unset"},class:c.normalizeClass(["w-12 h-12 mx-1 mb-2 border cursor-pointer hover:border-gray-400 hover:bg-gray-200",`iconfont icon-${C} text-4xl overflow-hidden flex justify-center items-center`])},null,10,gm))),128))])]),_:1},8,["visible"]))}}),pm=c.defineComponent({name:"GpImageUpload",props:{accept:{type:String,default:"image/*"},multiple:{type:Boolean,default:!1},maxCount:{type:Number,default:1/0},beforeUpload:Function,onChange:Function,showList:{type:Boolean,default:!1},show:{type:Boolean,default:!0}},setup(A,{emit:e}){const t=c.ref(null),r=c.ref([]),n=c.ref(),a=c.ref(A.show);c.watch(()=>A.show,f=>{a.value=f},{immediate:!0});const s=()=>{var f;(f=t.value)==null||f.click()},u=async f=>{var m;const d=f.target.files;if(!d)return;const C=[];for(let T=0;T<d.length;T++){const U=d[T];if(A.beforeUpload&&await A.beforeUpload(U)===!1)continue;const N=`${Date.now()}-${U.name}`,_=URL.createObjectURL(U),D=document.createElement("img");D.src=_,document.body.appendChild(D),await new Promise(p=>{D.onload=p});const P=D.width,L=D.height;document.body.removeChild(D),C.push({uid:N,name:U.name,status:"uploading",thumbUrl:_,file:U,width:P,height:L})}A.maxCount&&r.value.length+C.length>A.maxCount&&C.splice(A.maxCount-r.value.length),A.multiple?r.value=[...r.value,...C]:r.value=C.slice(0,1),(m=A.onChange)==null||m.call(A,r.value,n.value),e("update:fileList",r.value),t.value&&(t.value.value="")},o=f=>{var h;r.value=r.value.filter(d=>d.uid!==f),(h=A.onChange)==null||h.call(A,r.value,n.value)};function l(f){n.value=f,s()}return{isShow:a,openModal:l,inputRef:t,fileList:r,triggerInput:s,handleChange:u,removeFile:o}}}),mm={class:"upload-wrapper"},Cm=["accept","multiple"],wm={key:1,class:"file-list mt-4"},Tm={class:"flex items-center space-x-4"},bm=["src"],Um=["onClick"];function Qm(A,e,t,r,n,a){return c.openBlock(),c.createElementBlock("div",mm,[A.isShow?(c.openBlock(),c.createElementBlock("div",{key:0,class:"",onClick:e[0]||(e[0]=(...s)=>A.triggerInput&&A.triggerInput(...s))},[c.renderSlot(A.$slots,"upload-icon",{},()=>[e[2]||(e[2]=c.createElementVNode("div",{class:"upload-area border-dashed border-2 p-6 rounded cursor-pointer hover:border-blue-500"},[c.createElementVNode("div",{class:"text-gray-400 text-lg text-center"}," 点击或拖拽上传图片 ")],-1))],!0)])):c.createCommentVNode("",!0),c.createElementVNode("input",{type:"file",ref:"inputRef",class:"hidden",accept:A.accept,multiple:A.multiple,onChange:e[1]||(e[1]=(...s)=>A.handleChange&&A.handleChange(...s))},null,40,Cm),A.showList?(c.openBlock(),c.createElementBlock("div",wm,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(A.fileList,s=>(c.openBlock(),c.createElementBlock("div",{key:s.uid,class:"file-item flex items-center justify-between p-2 border rounded mb-2"},[c.createElementVNode("div",Tm,[s.thumbUrl?(c.openBlock(),c.createElementBlock("img",{key:0,src:s.thumbUrl,alt:"preview",class:"w-12 h-12 object-cover rounded"},null,8,bm)):c.createCommentVNode("",!0),c.createElementVNode("span",null,c.toDisplayString(s.name),1)]),c.createElementVNode("div",null,[c.createElementVNode("button",{onClick:u=>A.removeFile(s.uid),class:"text-red-500 hover:underline"}," 删除 ",8,Um)])]))),128))])):c.createCommentVNode("",!0)])}const Fm=ke(pm,[["render",Qm],["__scopeId","data-v-08babff9"]]);/*!
19
19
  * html2canvas 1.4.1 <https://html2canvas.hertzen.com>
20
20
  * Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
21
21
  * Released under MIT License
@@ -32,8 +32,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
32
32
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
33
33
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
34
34
  PERFORMANCE OF THIS SOFTWARE.
35
- ***************************************************************************** */var ws=function(A,e){return ws=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])},ws(A,e)};function de(A,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");ws(A,e);function t(){this.constructor=A}A.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var Ts=function(){return Ts=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},Ts.apply(this,arguments)};function YA(A,e,t,r){function n(a){return a instanceof t?a:new t(function(s){s(a)})}return new(t||(t=Promise))(function(a,s){function u(f){try{l(r.next(f))}catch(h){s(h)}}function o(f){try{l(r.throw(f))}catch(h){s(h)}}function l(f){f.done?a(f.value):n(f.value).then(u,o)}l((r=r.apply(A,[])).next())})}function KA(A,e){var t={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,n,a,s;return s={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function u(l){return function(f){return o([l,f])}}function o(l){if(r)throw new TypeError("Generator is already executing.");for(;t;)try{if(r=1,n&&(a=l[0]&2?n.return:l[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,l[1])).done)return a;switch(n=0,a&&(l=[l[0]&2,a.value]),l[0]){case 0:case 1:a=l;break;case 4:return t.label++,{value:l[1],done:!1};case 5:t.label++,n=l[1],l=[0];continue;case 7:l=t.ops.pop(),t.trys.pop();continue;default:if(a=t.trys,!(a=a.length>0&&a[a.length-1])&&(l[0]===6||l[0]===2)){t=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]<a[3])){t.label=l[1];break}if(l[0]===6&&t.label<a[1]){t.label=a[1],a=l;break}if(a&&t.label<a[2]){t.label=a[2],t.ops.push(l);break}a[2]&&t.ops.pop(),t.trys.pop();continue}l=e.call(A,t)}catch(f){l=[6,f],n=0}finally{r=a=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function En(A,e,t){if(arguments.length===2)for(var r=0,n=e.length,a;r<n;r++)(a||!(r in e))&&(a||(a=Array.prototype.slice.call(e,0,r)),a[r]=e[r]);return A.concat(a||e)}for(var Ie=function(){function A(e,t,r,n){this.left=e,this.top=t,this.width=r,this.height=n}return A.prototype.add=function(e,t,r,n){return new A(this.left+e,this.top+t,this.width+r,this.height+n)},A.fromClientRect=function(e,t){return new A(t.left+e.windowBounds.left,t.top+e.windowBounds.top,t.width,t.height)},A.fromDOMRectList=function(e,t){var r=Array.from(t).find(function(n){return n.width!==0});return r?new A(r.left+e.windowBounds.left,r.top+e.windowBounds.top,r.width,r.height):A.EMPTY},A.EMPTY=new A(0,0,0,0),A}(),mn=function(A,e){return Ie.fromClientRect(A,e.getBoundingClientRect())},Qp=function(A){var e=A.body,t=A.documentElement;if(!e||!t)throw new Error("Unable to get document size");var r=Math.max(Math.max(e.scrollWidth,t.scrollWidth),Math.max(e.offsetWidth,t.offsetWidth),Math.max(e.clientWidth,t.clientWidth)),n=Math.max(Math.max(e.scrollHeight,t.scrollHeight),Math.max(e.offsetHeight,t.offsetHeight),Math.max(e.clientHeight,t.clientHeight));return new Ie(0,0,r,n)},pn=function(A){for(var e=[],t=0,r=A.length;t<r;){var n=A.charCodeAt(t++);if(n>=55296&&n<=56319&&t<r){var a=A.charCodeAt(t++);(a&64512)===56320?e.push(((n&1023)<<10)+(a&1023)+65536):(e.push(n),t--)}else e.push(n)}return e},wA=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,A);var t=A.length;if(!t)return"";for(var r=[],n=-1,a="";++n<t;){var s=A[n];s<=65535?r.push(s):(s-=65536,r.push((s>>10)+55296,s%1024+56320)),(n+1===t||r.length>16384)&&(a+=String.fromCharCode.apply(String,r),r.length=0)}return a},qo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Fp=typeof Uint8Array>"u"?[]:new Uint8Array(256),Cn=0;Cn<qo.length;Cn++)Fp[qo.charCodeAt(Cn)]=Cn;for(var jo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Br=typeof Uint8Array>"u"?[]:new Uint8Array(256),wn=0;wn<jo.length;wn++)Br[jo.charCodeAt(wn)]=wn;for(var Ip=function(A){var e=A.length*.75,t=A.length,r,n=0,a,s,u,o;A[A.length-1]==="="&&(e--,A[A.length-2]==="="&&e--);var l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(e):new Array(e),f=Array.isArray(l)?l:new Uint8Array(l);for(r=0;r<t;r+=4)a=Br[A.charCodeAt(r)],s=Br[A.charCodeAt(r+1)],u=Br[A.charCodeAt(r+2)],o=Br[A.charCodeAt(r+3)],f[n++]=a<<2|s>>4,f[n++]=(s&15)<<4|u>>2,f[n++]=(u&3)<<6|o&63;return l},_p=function(A){for(var e=A.length,t=[],r=0;r<e;r+=2)t.push(A[r+1]<<8|A[r]);return t},yp=function(A){for(var e=A.length,t=[],r=0;r<e;r+=4)t.push(A[r+3]<<24|A[r+2]<<16|A[r+1]<<8|A[r]);return t},ct=5,bs=11,Us=2,Np=bs-ct,$o=65536>>ct,vp=1<<ct,Qs=vp-1,Sp=1024>>ct,xp=$o+Sp,Lp=xp,Hp=32,Dp=Lp+Hp,Op=65536>>bs,Rp=1<<Np,Mp=Rp-1,Zo=function(A,e,t){return A.slice?A.slice(e,t):new Uint16Array(Array.prototype.slice.call(A,e,t))},kp=function(A,e,t){return A.slice?A.slice(e,t):new Uint32Array(Array.prototype.slice.call(A,e,t))},Pp=function(A,e){var t=Ip(A),r=Array.isArray(t)?yp(t):new Uint32Array(t),n=Array.isArray(t)?_p(t):new Uint16Array(t),a=24,s=Zo(n,a/2,r[4]/2),u=r[5]===2?Zo(n,(a+r[4])/2):kp(r,Math.ceil((a+r[4])/4));return new Kp(r[0],r[1],r[2],r[3],s,u)},Kp=function(){function A(e,t,r,n,a,s){this.initialValue=e,this.errorValue=t,this.highStart=r,this.highValueIndex=n,this.index=a,this.data=s}return A.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>ct],t=(t<<Us)+(e&Qs),this.data[t];if(e<=65535)return t=this.index[$o+(e-55296>>ct)],t=(t<<Us)+(e&Qs),this.data[t];if(e<this.highStart)return t=Dp-Op+(e>>bs),t=this.index[t],t+=e>>ct&Mp,t=this.index[t],t=(t<<Us)+(e&Qs),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A}(),zo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Vp=typeof Uint8Array>"u"?[]:new Uint8Array(256),Tn=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BjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLA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iCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAA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AAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAA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AFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAA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FwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwB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gAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAF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EAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHg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AAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4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eAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",Ac=50,Yp=1,ec=2,tc=3,Xp=4,Wp=5,rc=7,nc=8,ac=9,Ke=10,Fs=11,sc=12,Is=13,Jp=14,gr=15,_s=16,bn=17,Er=18,qp=19,ic=20,ys=21,mr=22,Ns=23,Nt=24,ee=25,pr=26,Cr=27,vt=28,jp=29,lt=30,$p=31,Un=32,Qn=33,vs=34,Ss=35,xs=36,wr=37,Ls=38,Fn=39,In=40,Hs=41,uc=42,Zp=43,zp=[9001,65288],oc="!",z="×",_n="÷",Ds=Pp(Gp),_e=[lt,xs],Os=[Yp,ec,tc,Wp],cc=[Ke,nc],lc=[Cr,pr],AC=Os.concat(cc),fc=[Ls,Fn,In,vs,Ss],eC=[gr,Is],tC=function(A,e){e===void 0&&(e="strict");var t=[],r=[],n=[];return A.forEach(function(a,s){var u=Ds.get(a);if(u>Ac?(n.push(!0),u-=Ac):n.push(!1),["normal","auto","loose"].indexOf(e)!==-1&&[8208,8211,12316,12448].indexOf(a)!==-1)return r.push(s),t.push(_s);if(u===Xp||u===Fs){if(s===0)return r.push(s),t.push(lt);var o=t[s-1];return AC.indexOf(o)===-1?(r.push(r[s-1]),t.push(o)):(r.push(s),t.push(lt))}if(r.push(s),u===$p)return t.push(e==="strict"?ys:wr);if(u===uc||u===jp)return t.push(lt);if(u===Zp)return a>=131072&&a<=196605||a>=196608&&a<=262141?t.push(wr):t.push(lt);t.push(u)}),[r,t,n]},Rs=function(A,e,t,r){var n=r[t];if(Array.isArray(A)?A.indexOf(n)!==-1:A===n)for(var a=t;a<=r.length;){a++;var s=r[a];if(s===e)return!0;if(s!==Ke)break}if(n===Ke)for(var a=t;a>0;){a--;var u=r[a];if(Array.isArray(A)?A.indexOf(u)!==-1:A===u)for(var o=t;o<=r.length;){o++;var s=r[o];if(s===e)return!0;if(s!==Ke)break}if(u!==Ke)break}return!1},hc=function(A,e){for(var t=A;t>=0;){var r=e[t];if(r===Ke)t--;else return r}return 0},rC=function(A,e,t,r,n){if(t[r]===0)return z;var a=r-1;if(Array.isArray(n)&&n[a]===!0)return z;var s=a-1,u=a+1,o=e[a],l=s>=0?e[s]:0,f=e[u];if(o===ec&&f===tc)return z;if(Os.indexOf(o)!==-1)return oc;if(Os.indexOf(f)!==-1||cc.indexOf(f)!==-1)return z;if(hc(a,e)===nc)return _n;if(Ds.get(A[a])===Fs||(o===Un||o===Qn)&&Ds.get(A[u])===Fs||o===rc||f===rc||o===ac||[Ke,Is,gr].indexOf(o)===-1&&f===ac||[bn,Er,qp,Nt,vt].indexOf(f)!==-1||hc(a,e)===mr||Rs(Ns,mr,a,e)||Rs([bn,Er],ys,a,e)||Rs(sc,sc,a,e))return z;if(o===Ke)return _n;if(o===Ns||f===Ns)return z;if(f===_s||o===_s)return _n;if([Is,gr,ys].indexOf(f)!==-1||o===Jp||l===xs&&eC.indexOf(o)!==-1||o===vt&&f===xs||f===ic||_e.indexOf(f)!==-1&&o===ee||_e.indexOf(o)!==-1&&f===ee||o===Cr&&[wr,Un,Qn].indexOf(f)!==-1||[wr,Un,Qn].indexOf(o)!==-1&&f===pr||_e.indexOf(o)!==-1&&lc.indexOf(f)!==-1||lc.indexOf(o)!==-1&&_e.indexOf(f)!==-1||[Cr,pr].indexOf(o)!==-1&&(f===ee||[mr,gr].indexOf(f)!==-1&&e[u+1]===ee)||[mr,gr].indexOf(o)!==-1&&f===ee||o===ee&&[ee,vt,Nt].indexOf(f)!==-1)return z;if([ee,vt,Nt,bn,Er].indexOf(f)!==-1)for(var h=a;h>=0;){var d=e[h];if(d===ee)return z;if([vt,Nt].indexOf(d)!==-1)h--;else break}if([Cr,pr].indexOf(f)!==-1)for(var h=[bn,Er].indexOf(o)!==-1?s:a;h>=0;){var d=e[h];if(d===ee)return z;if([vt,Nt].indexOf(d)!==-1)h--;else break}if(Ls===o&&[Ls,Fn,vs,Ss].indexOf(f)!==-1||[Fn,vs].indexOf(o)!==-1&&[Fn,In].indexOf(f)!==-1||[In,Ss].indexOf(o)!==-1&&f===In||fc.indexOf(o)!==-1&&[ic,pr].indexOf(f)!==-1||fc.indexOf(f)!==-1&&o===Cr||_e.indexOf(o)!==-1&&_e.indexOf(f)!==-1||o===Nt&&_e.indexOf(f)!==-1||_e.concat(ee).indexOf(o)!==-1&&f===mr&&zp.indexOf(A[u])===-1||_e.concat(ee).indexOf(f)!==-1&&o===Er)return z;if(o===Hs&&f===Hs){for(var C=t[a],p=1;C>0&&(C--,e[C]===Hs);)p++;if(p%2!==0)return z}return o===Un&&f===Qn?z:_n},nC=function(A,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var t=tC(A,e.lineBreak),r=t[0],n=t[1],a=t[2];(e.wordBreak==="break-all"||e.wordBreak==="break-word")&&(n=n.map(function(u){return[ee,lt,uc].indexOf(u)!==-1?wr:u}));var s=e.wordBreak==="keep-all"?a.map(function(u,o){return u&&A[o]>=19968&&A[o]<=40959}):void 0;return[r,n,s]},aC=function(){function A(e,t,r,n){this.codePoints=e,this.required=t===oc,this.start=r,this.end=n}return A.prototype.slice=function(){return wA.apply(void 0,this.codePoints.slice(this.start,this.end))},A}(),sC=function(A,e){var t=pn(A),r=nC(t,e),n=r[0],a=r[1],s=r[2],u=t.length,o=0,l=0;return{next:function(){if(l>=u)return{done:!0,value:null};for(var f=z;l<u&&(f=rC(t,a,n,++l,s))===z;);if(f!==z||l===u){var h=new aC(t,f,o,l);return o=l,{value:h,done:!1}}return{done:!0,value:null}}}},iC=1,uC=2,Tr=4,dc=8,yn=10,Bc=47,br=92,oC=9,cC=32,Nn=34,Ur=61,lC=35,fC=36,hC=37,vn=39,Sn=40,Qr=41,dC=95,ZA=45,BC=33,gC=60,EC=62,mC=64,pC=91,CC=93,wC=61,TC=123,xn=63,bC=125,gc=124,UC=126,QC=128,Ec=65533,Ms=42,ft=43,FC=44,IC=58,_C=59,Fr=46,yC=0,NC=8,vC=11,SC=14,xC=31,LC=127,we=-1,mc=48,pc=97,Cc=101,HC=102,DC=117,OC=122,wc=65,Tc=69,bc=70,RC=85,MC=90,VA=function(A){return A>=mc&&A<=57},kC=function(A){return A>=55296&&A<=57343},St=function(A){return VA(A)||A>=wc&&A<=bc||A>=pc&&A<=HC},PC=function(A){return A>=pc&&A<=OC},KC=function(A){return A>=wc&&A<=MC},VC=function(A){return PC(A)||KC(A)},GC=function(A){return A>=QC},Ln=function(A){return A===yn||A===oC||A===cC},Hn=function(A){return VC(A)||GC(A)||A===dC},Uc=function(A){return Hn(A)||VA(A)||A===ZA},YC=function(A){return A>=yC&&A<=NC||A===vC||A>=SC&&A<=xC||A===LC},Ve=function(A,e){return A!==br?!1:e!==yn},Dn=function(A,e,t){return A===ZA?Hn(e)||Ve(e,t):Hn(A)?!0:!!(A===br&&Ve(A,e))},ks=function(A,e,t){return A===ft||A===ZA?VA(e)?!0:e===Fr&&VA(t):VA(A===Fr?e:A)},XC=function(A){var e=0,t=1;(A[e]===ft||A[e]===ZA)&&(A[e]===ZA&&(t=-1),e++);for(var r=[];VA(A[e]);)r.push(A[e++]);var n=r.length?parseInt(wA.apply(void 0,r),10):0;A[e]===Fr&&e++;for(var a=[];VA(A[e]);)a.push(A[e++]);var s=a.length,u=s?parseInt(wA.apply(void 0,a),10):0;(A[e]===Tc||A[e]===Cc)&&e++;var o=1;(A[e]===ft||A[e]===ZA)&&(A[e]===ZA&&(o=-1),e++);for(var l=[];VA(A[e]);)l.push(A[e++]);var f=l.length?parseInt(wA.apply(void 0,l),10):0;return t*(n+u*Math.pow(10,-s))*Math.pow(10,o*f)},WC={type:2},JC={type:3},qC={type:4},jC={type:13},$C={type:8},ZC={type:21},zC={type:9},A1={type:10},e1={type:11},t1={type:12},r1={type:14},On={type:23},n1={type:1},a1={type:25},s1={type:24},i1={type:26},u1={type:27},o1={type:28},c1={type:29},l1={type:31},Ps={type:32},Qc=function(){function A(){this._value=[]}return A.prototype.write=function(e){this._value=this._value.concat(pn(e))},A.prototype.read=function(){for(var e=[],t=this.consumeToken();t!==Ps;)e.push(t),t=this.consumeToken();return e},A.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case Nn:return this.consumeStringToken(Nn);case lC:var t=this.peekCodePoint(0),r=this.peekCodePoint(1),n=this.peekCodePoint(2);if(Uc(t)||Ve(r,n)){var a=Dn(t,r,n)?uC:iC,s=this.consumeName();return{type:5,value:s,flags:a}}break;case fC:if(this.peekCodePoint(0)===Ur)return this.consumeCodePoint(),jC;break;case vn:return this.consumeStringToken(vn);case Sn:return WC;case Qr:return JC;case Ms:if(this.peekCodePoint(0)===Ur)return this.consumeCodePoint(),r1;break;case ft:if(ks(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case FC:return qC;case ZA:var u=e,o=this.peekCodePoint(0),l=this.peekCodePoint(1);if(ks(u,o,l))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(Dn(u,o,l))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(o===ZA&&l===EC)return this.consumeCodePoint(),this.consumeCodePoint(),s1;break;case Fr:if(ks(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case Bc:if(this.peekCodePoint(0)===Ms)for(this.consumeCodePoint();;){var f=this.consumeCodePoint();if(f===Ms&&(f=this.consumeCodePoint(),f===Bc))return this.consumeToken();if(f===we)return this.consumeToken()}break;case IC:return i1;case _C:return u1;case gC:if(this.peekCodePoint(0)===BC&&this.peekCodePoint(1)===ZA&&this.peekCodePoint(2)===ZA)return this.consumeCodePoint(),this.consumeCodePoint(),a1;break;case mC:var h=this.peekCodePoint(0),d=this.peekCodePoint(1),C=this.peekCodePoint(2);if(Dn(h,d,C)){var s=this.consumeName();return{type:7,value:s}}break;case pC:return o1;case br:if(Ve(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case CC:return c1;case wC:if(this.peekCodePoint(0)===Ur)return this.consumeCodePoint(),$C;break;case TC:return e1;case bC:return t1;case DC:case RC:var p=this.peekCodePoint(0),T=this.peekCodePoint(1);return p===ft&&(St(T)||T===xn)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case gc:if(this.peekCodePoint(0)===Ur)return this.consumeCodePoint(),zC;if(this.peekCodePoint(0)===gc)return this.consumeCodePoint(),ZC;break;case UC:if(this.peekCodePoint(0)===Ur)return this.consumeCodePoint(),A1;break;case we:return Ps}return Ln(e)?(this.consumeWhiteSpace(),l1):VA(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):Hn(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:wA(e)}},A.prototype.consumeCodePoint=function(){var e=this._value.shift();return typeof e>"u"?-1:e},A.prototype.reconsumeCodePoint=function(e){this._value.unshift(e)},A.prototype.peekCodePoint=function(e){return e>=this._value.length?-1:this._value[e]},A.prototype.consumeUnicodeRangeToken=function(){for(var e=[],t=this.consumeCodePoint();St(t)&&e.length<6;)e.push(t),t=this.consumeCodePoint();for(var r=!1;t===xn&&e.length<6;)e.push(t),t=this.consumeCodePoint(),r=!0;if(r){var n=parseInt(wA.apply(void 0,e.map(function(o){return o===xn?mc:o})),16),a=parseInt(wA.apply(void 0,e.map(function(o){return o===xn?bc:o})),16);return{type:30,start:n,end:a}}var s=parseInt(wA.apply(void 0,e),16);if(this.peekCodePoint(0)===ZA&&St(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var u=[];St(t)&&u.length<6;)u.push(t),t=this.consumeCodePoint();var a=parseInt(wA.apply(void 0,u),16);return{type:30,start:s,end:a}}else return{type:30,start:s,end:s}},A.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return e.toLowerCase()==="url"&&this.peekCodePoint(0)===Sn?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Sn?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}},A.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===we)return{type:22,value:""};var t=this.peekCodePoint(0);if(t===vn||t===Nn){var r=this.consumeStringToken(this.consumeCodePoint());return r.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===we||this.peekCodePoint(0)===Qr)?(this.consumeCodePoint(),{type:22,value:r.value}):(this.consumeBadUrlRemnants(),On)}for(;;){var n=this.consumeCodePoint();if(n===we||n===Qr)return{type:22,value:wA.apply(void 0,e)};if(Ln(n))return this.consumeWhiteSpace(),this.peekCodePoint(0)===we||this.peekCodePoint(0)===Qr?(this.consumeCodePoint(),{type:22,value:wA.apply(void 0,e)}):(this.consumeBadUrlRemnants(),On);if(n===Nn||n===vn||n===Sn||YC(n))return this.consumeBadUrlRemnants(),On;if(n===br)if(Ve(n,this.peekCodePoint(0)))e.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),On;else e.push(n)}},A.prototype.consumeWhiteSpace=function(){for(;Ln(this.peekCodePoint(0));)this.consumeCodePoint()},A.prototype.consumeBadUrlRemnants=function(){for(;;){var e=this.consumeCodePoint();if(e===Qr||e===we)return;Ve(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},A.prototype.consumeStringSlice=function(e){for(var t=5e4,r="";e>0;){var n=Math.min(t,e);r+=wA.apply(void 0,this._value.splice(0,n)),e-=n}return this._value.shift(),r},A.prototype.consumeStringToken=function(e){var t="",r=0;do{var n=this._value[r];if(n===we||n===void 0||n===e)return t+=this.consumeStringSlice(r),{type:0,value:t};if(n===yn)return this._value.splice(0,r),n1;if(n===br){var a=this._value[r+1];a!==we&&a!==void 0&&(a===yn?(t+=this.consumeStringSlice(r),r=-1,this._value.shift()):Ve(n,a)&&(t+=this.consumeStringSlice(r),t+=wA(this.consumeEscapedCodePoint()),r=-1))}r++}while(!0)},A.prototype.consumeNumber=function(){var e=[],t=Tr,r=this.peekCodePoint(0);for((r===ft||r===ZA)&&e.push(this.consumeCodePoint());VA(this.peekCodePoint(0));)e.push(this.consumeCodePoint());r=this.peekCodePoint(0);var n=this.peekCodePoint(1);if(r===Fr&&VA(n))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=dc;VA(this.peekCodePoint(0));)e.push(this.consumeCodePoint());r=this.peekCodePoint(0),n=this.peekCodePoint(1);var a=this.peekCodePoint(2);if((r===Tc||r===Cc)&&((n===ft||n===ZA)&&VA(a)||VA(n)))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=dc;VA(this.peekCodePoint(0));)e.push(this.consumeCodePoint());return[XC(e),t]},A.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),t=e[0],r=e[1],n=this.peekCodePoint(0),a=this.peekCodePoint(1),s=this.peekCodePoint(2);if(Dn(n,a,s)){var u=this.consumeName();return{type:15,number:t,flags:r,unit:u}}return n===hC?(this.consumeCodePoint(),{type:16,number:t,flags:r}):{type:17,number:t,flags:r}},A.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(St(e)){for(var t=wA(e);St(this.peekCodePoint(0))&&t.length<6;)t+=wA(this.consumeCodePoint());Ln(this.peekCodePoint(0))&&this.consumeCodePoint();var r=parseInt(t,16);return r===0||kC(r)||r>1114111?Ec:r}return e===we?Ec:e},A.prototype.consumeName=function(){for(var e="";;){var t=this.consumeCodePoint();if(Uc(t))e+=wA(t);else if(Ve(t,this.peekCodePoint(0)))e+=wA(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(t),e}},A}(),Fc=function(){function A(e){this._tokens=e}return A.create=function(e){var t=new Qc;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(){for(var e=this.consumeToken();e.type===31;)e=this.consumeToken();if(e.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(e);var t=this.consumeComponentValue();do e=this.consumeToken();while(e.type===31);if(e.type===32)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},A.prototype.parseComponentValues=function(){for(var e=[];;){var t=this.consumeComponentValue();if(t.type===32)return e;e.push(t),e.push()}},A.prototype.consumeComponentValue=function(){var e=this.consumeToken();switch(e.type){case 11:case 28:case 2:return this.consumeSimpleBlock(e.type);case 19:return this.consumeFunction(e)}return e},A.prototype.consumeSimpleBlock=function(e){for(var t={type:e,values:[]},r=this.consumeToken();;){if(r.type===32||h1(r,e))return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue()),r=this.consumeToken()}},A.prototype.consumeFunction=function(e){for(var t={name:e.value,values:[],type:18};;){var r=this.consumeToken();if(r.type===32||r.type===3)return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue())}},A.prototype.consumeToken=function(){var e=this._tokens.shift();return typeof e>"u"?Ps:e},A.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},A}(),Ir=function(A){return A.type===15},xt=function(A){return A.type===17},iA=function(A){return A.type===20},f1=function(A){return A.type===0},Ks=function(A,e){return iA(A)&&A.value===e},Ic=function(A){return A.type!==31},Lt=function(A){return A.type!==31&&A.type!==4},Te=function(A){var e=[],t=[];return A.forEach(function(r){if(r.type===4){if(t.length===0)throw new Error("Error parsing function args, zero tokens for arg");e.push(t),t=[];return}r.type!==31&&t.push(r)}),t.length&&e.push(t),e},h1=function(A,e){return e===11&&A.type===12||e===28&&A.type===29?!0:e===2&&A.type===3},Ge=function(A){return A.type===17||A.type===15},QA=function(A){return A.type===16||Ge(A)},_c=function(A){return A.length>1?[A[0],A[1]]:[A[0]]},RA={type:17,number:0,flags:Tr},Vs={type:16,number:50,flags:Tr},Ye={type:16,number:100,flags:Tr},_r=function(A,e,t){var r=A[0],n=A[1];return[lA(r,e),lA(typeof n<"u"?n:r,t)]},lA=function(A,e){if(A.type===16)return A.number/100*e;if(Ir(A))switch(A.unit){case"rem":case"em":return 16*A.number;case"px":default:return A.number}return A.number},yc="deg",Nc="grad",vc="rad",Sc="turn",Rn={name:"angle",parse:function(A,e){if(e.type===15)switch(e.unit){case yc:return Math.PI*e.number/180;case Nc:return Math.PI/200*e.number;case vc:return e.number;case Sc:return Math.PI*2*e.number}throw new Error("Unsupported angle type")}},xc=function(A){return A.type===15&&(A.unit===yc||A.unit===Nc||A.unit===vc||A.unit===Sc)},Lc=function(A){var e=A.filter(iA).map(function(t){return t.value}).join(" ");switch(e){case"to bottom right":case"to right bottom":case"left top":case"top left":return[RA,RA];case"to top":case"bottom":return se(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[RA,Ye];case"to right":case"left":return se(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Ye,Ye];case"to bottom":case"top":return se(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Ye,RA];case"to left":case"right":return se(270)}return 0},se=function(A){return Math.PI*A/180},Xe={name:"color",parse:function(A,e){if(e.type===18){var t=d1[e.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported color function "'+e.name+'"');return t(A,e.values)}if(e.type===5){if(e.value.length===3){var r=e.value.substring(0,1),n=e.value.substring(1,2),a=e.value.substring(2,3);return Je(parseInt(r+r,16),parseInt(n+n,16),parseInt(a+a,16),1)}if(e.value.length===4){var r=e.value.substring(0,1),n=e.value.substring(1,2),a=e.value.substring(2,3),s=e.value.substring(3,4);return Je(parseInt(r+r,16),parseInt(n+n,16),parseInt(a+a,16),parseInt(s+s,16)/255)}if(e.value.length===6){var r=e.value.substring(0,2),n=e.value.substring(2,4),a=e.value.substring(4,6);return Je(parseInt(r,16),parseInt(n,16),parseInt(a,16),1)}if(e.value.length===8){var r=e.value.substring(0,2),n=e.value.substring(2,4),a=e.value.substring(4,6),s=e.value.substring(6,8);return Je(parseInt(r,16),parseInt(n,16),parseInt(a,16),parseInt(s,16)/255)}}if(e.type===20){var u=ye[e.value.toUpperCase()];if(typeof u<"u")return u}return ye.TRANSPARENT}},We=function(A){return(255&A)===0},HA=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+")"},Je=function(A,e,t,r){return(A<<24|e<<16|t<<8|Math.round(r*255)<<0)>>>0},Hc=function(A,e){if(A.type===17)return A.number;if(A.type===16){var t=e===3?1:255;return e===3?A.number/100*t:Math.round(A.number/100*t)}return 0},Dc=function(A,e){var t=e.filter(Lt);if(t.length===3){var r=t.map(Hc),n=r[0],a=r[1],s=r[2];return Je(n,a,s,1)}if(t.length===4){var u=t.map(Hc),n=u[0],a=u[1],s=u[2],o=u[3];return Je(n,a,s,o)}return 0};function Gs(A,e,t){return t<0&&(t+=1),t>=1&&(t-=1),t<1/6?(e-A)*t*6+A:t<1/2?e:t<2/3?(e-A)*6*(2/3-t)+A:A}var Oc=function(A,e){var t=e.filter(Lt),r=t[0],n=t[1],a=t[2],s=t[3],u=(r.type===17?se(r.number):Rn.parse(A,r))/(Math.PI*2),o=QA(n)?n.number/100:0,l=QA(a)?a.number/100:0,f=typeof s<"u"&&QA(s)?lA(s,1):1;if(o===0)return Je(l*255,l*255,l*255,1);var h=l<=.5?l*(o+1):l+o-l*o,d=l*2-h,C=Gs(d,h,u+1/3),p=Gs(d,h,u),T=Gs(d,h,u-1/3);return Je(C*255,p*255,T*255,f)},d1={hsl:Oc,hsla:Oc,rgb:Dc,rgba:Dc},yr=function(A,e){return Xe.parse(A,Fc.create(e).parseComponentValue())},ye={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},B1={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(t){if(iA(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},g1={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Mn=function(A,e){var t=Xe.parse(A,e[0]),r=e[1];return r&&QA(r)?{color:t,stop:r}:{color:t,stop:null}},Rc=function(A,e){var t=A[0],r=A[A.length-1];t.stop===null&&(t.stop=RA),r.stop===null&&(r.stop=Ye);for(var n=[],a=0,s=0;s<A.length;s++){var u=A[s].stop;if(u!==null){var o=lA(u,e);o>a?n.push(o):n.push(a),a=o}else n.push(null)}for(var l=null,s=0;s<n.length;s++){var f=n[s];if(f===null)l===null&&(l=s);else if(l!==null){for(var h=s-l,d=n[l-1],C=(f-d)/(h+1),p=1;p<=h;p++)n[l+p-1]=C*p;l=null}}return A.map(function(T,U){var N=T.color;return{color:N,stop:Math.max(Math.min(1,n[U]/e),0)}})},E1=function(A,e,t){var r=e/2,n=t/2,a=lA(A[0],e)-r,s=n-lA(A[1],t);return(Math.atan2(s,a)+Math.PI*2)%(Math.PI*2)},m1=function(A,e,t){var r=typeof A=="number"?A:E1(A,e,t),n=Math.abs(e*Math.sin(r))+Math.abs(t*Math.cos(r)),a=e/2,s=t/2,u=n/2,o=Math.sin(r-Math.PI/2)*u,l=Math.cos(r-Math.PI/2)*u;return[n,a-l,a+l,s-o,s+o]},Be=function(A,e){return Math.sqrt(A*A+e*e)},Mc=function(A,e,t,r,n){var a=[[0,0],[0,e],[A,0],[A,e]];return a.reduce(function(s,u){var o=u[0],l=u[1],f=Be(t-o,r-l);return(n?f<s.optimumDistance:f>s.optimumDistance)?{optimumCorner:u,optimumDistance:f}:s},{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner},p1=function(A,e,t,r,n){var a=0,s=0;switch(A.size){case 0:A.shape===0?a=s=Math.min(Math.abs(e),Math.abs(e-r),Math.abs(t),Math.abs(t-n)):A.shape===1&&(a=Math.min(Math.abs(e),Math.abs(e-r)),s=Math.min(Math.abs(t),Math.abs(t-n)));break;case 2:if(A.shape===0)a=s=Math.min(Be(e,t),Be(e,t-n),Be(e-r,t),Be(e-r,t-n));else if(A.shape===1){var u=Math.min(Math.abs(t),Math.abs(t-n))/Math.min(Math.abs(e),Math.abs(e-r)),o=Mc(r,n,e,t,!0),l=o[0],f=o[1];a=Be(l-e,(f-t)/u),s=u*a}break;case 1:A.shape===0?a=s=Math.max(Math.abs(e),Math.abs(e-r),Math.abs(t),Math.abs(t-n)):A.shape===1&&(a=Math.max(Math.abs(e),Math.abs(e-r)),s=Math.max(Math.abs(t),Math.abs(t-n)));break;case 3:if(A.shape===0)a=s=Math.max(Be(e,t),Be(e,t-n),Be(e-r,t),Be(e-r,t-n));else if(A.shape===1){var u=Math.max(Math.abs(t),Math.abs(t-n))/Math.max(Math.abs(e),Math.abs(e-r)),h=Mc(r,n,e,t,!1),l=h[0],f=h[1];a=Be(l-e,(f-t)/u),s=u*a}break}return Array.isArray(A.size)&&(a=lA(A.size[0],r),s=A.size.length===2?lA(A.size[1],n):a),[a,s]},C1=function(A,e){var t=se(180),r=[];return Te(e).forEach(function(n,a){if(a===0){var s=n[0];if(s.type===20&&s.value==="to"){t=Lc(n);return}else if(xc(s)){t=Rn.parse(A,s);return}}var u=Mn(A,n);r.push(u)}),{angle:t,stops:r,type:1}},kn=function(A,e){var t=se(180),r=[];return Te(e).forEach(function(n,a){if(a===0){var s=n[0];if(s.type===20&&["top","left","right","bottom"].indexOf(s.value)!==-1){t=Lc(n);return}else if(xc(s)){t=(Rn.parse(A,s)+se(270))%se(360);return}}var u=Mn(A,n);r.push(u)}),{angle:t,stops:r,type:1}},w1=function(A,e){var t=se(180),r=[],n=1,a=0,s=3,u=[];return Te(e).forEach(function(o,l){var f=o[0];if(l===0){if(iA(f)&&f.value==="linear"){n=1;return}else if(iA(f)&&f.value==="radial"){n=2;return}}if(f.type===18){if(f.name==="from"){var h=Xe.parse(A,f.values[0]);r.push({stop:RA,color:h})}else if(f.name==="to"){var h=Xe.parse(A,f.values[0]);r.push({stop:Ye,color:h})}else if(f.name==="color-stop"){var d=f.values.filter(Lt);if(d.length===2){var h=Xe.parse(A,d[1]),C=d[0];xt(C)&&r.push({stop:{type:16,number:C.number*100,flags:C.flags},color:h})}}}}),n===1?{angle:(t+se(180))%se(360),stops:r,type:n}:{size:s,shape:a,stops:r,position:u,type:n}},kc="closest-side",Pc="farthest-side",Kc="closest-corner",Vc="farthest-corner",Gc="circle",Yc="ellipse",Xc="cover",Wc="contain",T1=function(A,e){var t=0,r=3,n=[],a=[];return Te(e).forEach(function(s,u){var o=!0;if(u===0){var l=!1;o=s.reduce(function(h,d){if(l)if(iA(d))switch(d.value){case"center":return a.push(Vs),h;case"top":case"left":return a.push(RA),h;case"right":case"bottom":return a.push(Ye),h}else(QA(d)||Ge(d))&&a.push(d);else if(iA(d))switch(d.value){case Gc:return t=0,!1;case Yc:return t=1,!1;case"at":return l=!0,!1;case kc:return r=0,!1;case Xc:case Pc:return r=1,!1;case Wc:case Kc:return r=2,!1;case Vc:return r=3,!1}else if(Ge(d)||QA(d))return Array.isArray(r)||(r=[]),r.push(d),!1;return h},o)}if(o){var f=Mn(A,s);n.push(f)}}),{size:r,shape:t,stops:n,position:a,type:2}},Pn=function(A,e){var t=0,r=3,n=[],a=[];return Te(e).forEach(function(s,u){var o=!0;if(u===0?o=s.reduce(function(f,h){if(iA(h))switch(h.value){case"center":return a.push(Vs),!1;case"top":case"left":return a.push(RA),!1;case"right":case"bottom":return a.push(Ye),!1}else if(QA(h)||Ge(h))return a.push(h),!1;return f},o):u===1&&(o=s.reduce(function(f,h){if(iA(h))switch(h.value){case Gc:return t=0,!1;case Yc:return t=1,!1;case Wc:case kc:return r=0,!1;case Pc:return r=1,!1;case Kc:return r=2,!1;case Xc:case Vc:return r=3,!1}else if(Ge(h)||QA(h))return Array.isArray(r)||(r=[]),r.push(h),!1;return f},o)),o){var l=Mn(A,s);n.push(l)}}),{size:r,shape:t,stops:n,position:a,type:2}},b1=function(A){return A.type===1},U1=function(A){return A.type===2},Ys={name:"image",parse:function(A,e){if(e.type===22){var t={url:e.value,type:0};return A.cache.addImage(e.value),t}if(e.type===18){var r=Jc[e.name];if(typeof r>"u")throw new Error('Attempting to parse an unsupported image function "'+e.name+'"');return r(A,e.values)}throw new Error("Unsupported image type "+e.type)}};function Q1(A){return!(A.type===20&&A.value==="none")&&(A.type!==18||!!Jc[A.name])}var Jc={"linear-gradient":C1,"-moz-linear-gradient":kn,"-ms-linear-gradient":kn,"-o-linear-gradient":kn,"-webkit-linear-gradient":kn,"radial-gradient":T1,"-moz-radial-gradient":Pn,"-ms-radial-gradient":Pn,"-o-radial-gradient":Pn,"-webkit-radial-gradient":Pn,"-webkit-gradient":w1},F1={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(e.length===0)return[];var t=e[0];return t.type===20&&t.value==="none"?[]:e.filter(function(r){return Lt(r)&&Q1(r)}).map(function(r){return Ys.parse(A,r)})}},I1={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(t){if(iA(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},_1={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(A,e){return Te(e).map(function(t){return t.filter(QA)}).map(_c)}},y1={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(A,e){return Te(e).map(function(t){return t.filter(iA).map(function(r){return r.value}).join(" ")}).map(N1)}},N1=function(A){switch(A){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},Ht;(function(A){A.AUTO="auto",A.CONTAIN="contain",A.COVER="cover"})(Ht||(Ht={}));var v1={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(A,e){return Te(e).map(function(t){return t.filter(S1)})}},S1=function(A){return iA(A)||QA(A)},Kn=function(A){return{name:"border-"+A+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},x1=Kn("top"),L1=Kn("right"),H1=Kn("bottom"),D1=Kn("left"),Vn=function(A){return{name:"border-radius-"+A,initialValue:"0 0",prefix:!1,type:1,parse:function(e,t){return _c(t.filter(QA))}}},O1=Vn("top-left"),R1=Vn("top-right"),M1=Vn("bottom-right"),k1=Vn("bottom-left"),Gn=function(A){return{name:"border-"+A+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(e,t){switch(t){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},P1=Gn("top"),K1=Gn("right"),V1=Gn("bottom"),G1=Gn("left"),Yn=function(A){return{name:"border-"+A+"-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return Ir(t)?t.number:0}}},Y1=Yn("top"),X1=Yn("right"),W1=Yn("bottom"),J1=Yn("left"),q1={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},j1={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(A,e){switch(e){case"rtl":return 1;case"ltr":default:return 0}}},$1={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(A,e){return e.filter(iA).reduce(function(t,r){return t|Z1(r.value)},0)}},Z1=function(A){switch(A){case"block":case"-webkit-box":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},z1={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},Aw={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(A,e){return e.type===20&&e.value==="normal"?0:e.type===17||e.type===15?e.number:0}},Xn;(function(A){A.NORMAL="normal",A.STRICT="strict"})(Xn||(Xn={}));var ew={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"strict":return Xn.STRICT;case"normal":default:return Xn.NORMAL}}},tw={name:"line-height",initialValue:"normal",prefix:!1,type:4},qc=function(A,e){return iA(A)&&A.value==="normal"?1.2*e:A.type===17?e*A.number:QA(A)?lA(A,e):e},rw={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(A,e){return e.type===20&&e.value==="none"?null:Ys.parse(A,e)}},nw={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(A,e){switch(e){case"inside":return 0;case"outside":default:return 1}}},Xs={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},Wn=function(A){return{name:"margin-"+A,initialValue:"0",prefix:!1,type:4}},aw=Wn("top"),sw=Wn("right"),iw=Wn("bottom"),uw=Wn("left"),ow={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(A,e){return e.filter(iA).map(function(t){switch(t.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},cw={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"break-word":return"break-word";case"normal":default:return"normal"}}},Jn=function(A){return{name:"padding-"+A,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},lw=Jn("top"),fw=Jn("right"),hw=Jn("bottom"),dw=Jn("left"),Bw={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(A,e){switch(e){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},gw={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(A,e){switch(e){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Ew={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.length===1&&Ks(e[0],"none")?[]:Te(e).map(function(t){for(var r={color:ye.TRANSPARENT,offsetX:RA,offsetY:RA,blur:RA},n=0,a=0;a<t.length;a++){var s=t[a];Ge(s)?(n===0?r.offsetX=s:n===1?r.offsetY=s:r.blur=s,n++):r.color=Xe.parse(A,s)}return r})}},mw={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},pw={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(A,e){if(e.type===20&&e.value==="none")return null;if(e.type===18){var t=Tw[e.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported transform function "'+e.name+'"');return t(e.values)}return null}},Cw=function(A){var e=A.filter(function(t){return t.type===17}).map(function(t){return t.number});return e.length===6?e:null},ww=function(A){var e=A.filter(function(o){return o.type===17}).map(function(o){return o.number}),t=e[0],r=e[1];e[2],e[3];var n=e[4],a=e[5];e[6],e[7],e[8],e[9],e[10],e[11];var s=e[12],u=e[13];return e[14],e[15],e.length===16?[t,r,n,a,s,u]:null},Tw={matrix:Cw,matrix3d:ww},jc={type:16,number:50,flags:Tr},bw=[jc,jc],Uw={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(A,e){var t=e.filter(QA);return t.length!==2?bw:[t[0],t[1]]}},Qw={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},Nr;(function(A){A.NORMAL="normal",A.BREAK_ALL="break-all",A.KEEP_ALL="keep-all"})(Nr||(Nr={}));for(var Fw={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"break-all":return Nr.BREAK_ALL;case"keep-all":return Nr.KEEP_ALL;case"normal":default:return Nr.NORMAL}}},Iw={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(A,e){if(e.type===20)return{auto:!0,order:0};if(xt(e))return{auto:!1,order:e.number};throw new Error("Invalid z-index number parsed")}},$c={name:"time",parse:function(A,e){if(e.type===15)switch(e.unit.toLowerCase()){case"s":return 1e3*e.number;case"ms":return e.number}throw new Error("Unsupported time type")}},_w={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(A,e){return xt(e)?e.number:1}},yw={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Nw={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(A,e){return e.filter(iA).map(function(t){switch(t.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(t){return t!==0})}},vw={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(A,e){var t=[],r=[];return e.forEach(function(n){switch(n.type){case 20:case 0:t.push(n.value);break;case 17:t.push(n.number.toString());break;case 4:r.push(t.join(" ")),t.length=0;break}}),t.length&&r.push(t.join(" ")),r.map(function(n){return n.indexOf(" ")===-1?n:"'"+n+"'"})}},Sw={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},xw={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(A,e){if(xt(e))return e.number;if(iA(e))switch(e.value){case"bold":return 700;case"normal":default:return 400}return 400}},Lw={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.filter(iA).map(function(t){return t.value})}},Hw={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},_A=function(A,e){return(A&e)!==0},Dw={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(e.length===0)return[];var t=e[0];return t.type===20&&t.value==="none"?[]:e}},Ow={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(e.length===0)return null;var t=e[0];if(t.type===20&&t.value==="none")return null;for(var r=[],n=e.filter(Ic),a=0;a<n.length;a++){var s=n[a],u=n[a+1];if(s.type===20){var o=u&&xt(u)?u.number:1;r.push({counter:s.value,increment:o})}}return r}},Rw={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(e.length===0)return[];for(var t=[],r=e.filter(Ic),n=0;n<r.length;n++){var a=r[n],s=r[n+1];if(iA(a)&&a.value!=="none"){var u=s&&xt(s)?s.number:0;t.push({counter:a.value,reset:u})}}return t}},Mw={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(A,e){return e.filter(Ir).map(function(t){return $c.parse(A,t)})}},kw={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(e.length===0)return null;var t=e[0];if(t.type===20&&t.value==="none")return null;var r=[],n=e.filter(f1);if(n.length%2!==0)return null;for(var a=0;a<n.length;a+=2){var s=n[a].value,u=n[a+1].value;r.push({open:s,close:u})}return r}},Zc=function(A,e,t){if(!A)return"";var r=A[Math.min(e,A.length-1)];return r?t?r.open:r.close:""},Pw={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.length===1&&Ks(e[0],"none")?[]:Te(e).map(function(t){for(var r={color:255,offsetX:RA,offsetY:RA,blur:RA,spread:RA,inset:!1},n=0,a=0;a<t.length;a++){var s=t[a];Ks(s,"inset")?r.inset=!0:Ge(s)?(n===0?r.offsetX=s:n===1?r.offsetY=s:n===2?r.blur=s:r.spread=s,n++):r.color=Xe.parse(A,s)}return r})}},Kw={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(A,e){var t=[0,1,2],r=[];return e.filter(iA).forEach(function(n){switch(n.value){case"stroke":r.push(1);break;case"fill":r.push(0);break;case"markers":r.push(2);break}}),t.forEach(function(n){r.indexOf(n)===-1&&r.push(n)}),r}},Vw={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},Gw={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(A,e){return Ir(e)?e.number:0}},Yw=function(){function A(e,t){var r,n;this.animationDuration=M(e,Mw,t.animationDuration),this.backgroundClip=M(e,B1,t.backgroundClip),this.backgroundColor=M(e,g1,t.backgroundColor),this.backgroundImage=M(e,F1,t.backgroundImage),this.backgroundOrigin=M(e,I1,t.backgroundOrigin),this.backgroundPosition=M(e,_1,t.backgroundPosition),this.backgroundRepeat=M(e,y1,t.backgroundRepeat),this.backgroundSize=M(e,v1,t.backgroundSize),this.borderTopColor=M(e,x1,t.borderTopColor),this.borderRightColor=M(e,L1,t.borderRightColor),this.borderBottomColor=M(e,H1,t.borderBottomColor),this.borderLeftColor=M(e,D1,t.borderLeftColor),this.borderTopLeftRadius=M(e,O1,t.borderTopLeftRadius),this.borderTopRightRadius=M(e,R1,t.borderTopRightRadius),this.borderBottomRightRadius=M(e,M1,t.borderBottomRightRadius),this.borderBottomLeftRadius=M(e,k1,t.borderBottomLeftRadius),this.borderTopStyle=M(e,P1,t.borderTopStyle),this.borderRightStyle=M(e,K1,t.borderRightStyle),this.borderBottomStyle=M(e,V1,t.borderBottomStyle),this.borderLeftStyle=M(e,G1,t.borderLeftStyle),this.borderTopWidth=M(e,Y1,t.borderTopWidth),this.borderRightWidth=M(e,X1,t.borderRightWidth),this.borderBottomWidth=M(e,W1,t.borderBottomWidth),this.borderLeftWidth=M(e,J1,t.borderLeftWidth),this.boxShadow=M(e,Pw,t.boxShadow),this.color=M(e,q1,t.color),this.direction=M(e,j1,t.direction),this.display=M(e,$1,t.display),this.float=M(e,z1,t.cssFloat),this.fontFamily=M(e,vw,t.fontFamily),this.fontSize=M(e,Sw,t.fontSize),this.fontStyle=M(e,Hw,t.fontStyle),this.fontVariant=M(e,Lw,t.fontVariant),this.fontWeight=M(e,xw,t.fontWeight),this.letterSpacing=M(e,Aw,t.letterSpacing),this.lineBreak=M(e,ew,t.lineBreak),this.lineHeight=M(e,tw,t.lineHeight),this.listStyleImage=M(e,rw,t.listStyleImage),this.listStylePosition=M(e,nw,t.listStylePosition),this.listStyleType=M(e,Xs,t.listStyleType),this.marginTop=M(e,aw,t.marginTop),this.marginRight=M(e,sw,t.marginRight),this.marginBottom=M(e,iw,t.marginBottom),this.marginLeft=M(e,uw,t.marginLeft),this.opacity=M(e,_w,t.opacity);var a=M(e,ow,t.overflow);this.overflowX=a[0],this.overflowY=a[a.length>1?1:0],this.overflowWrap=M(e,cw,t.overflowWrap),this.paddingTop=M(e,lw,t.paddingTop),this.paddingRight=M(e,fw,t.paddingRight),this.paddingBottom=M(e,hw,t.paddingBottom),this.paddingLeft=M(e,dw,t.paddingLeft),this.paintOrder=M(e,Kw,t.paintOrder),this.position=M(e,gw,t.position),this.textAlign=M(e,Bw,t.textAlign),this.textDecorationColor=M(e,yw,(r=t.textDecorationColor)!==null&&r!==void 0?r:t.color),this.textDecorationLine=M(e,Nw,(n=t.textDecorationLine)!==null&&n!==void 0?n:t.textDecoration),this.textShadow=M(e,Ew,t.textShadow),this.textTransform=M(e,mw,t.textTransform),this.transform=M(e,pw,t.transform),this.transformOrigin=M(e,Uw,t.transformOrigin),this.visibility=M(e,Qw,t.visibility),this.webkitTextStrokeColor=M(e,Vw,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=M(e,Gw,t.webkitTextStrokeWidth),this.wordBreak=M(e,Fw,t.wordBreak),this.zIndex=M(e,Iw,t.zIndex)}return A.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},A.prototype.isTransparent=function(){return We(this.backgroundColor)},A.prototype.isTransformed=function(){return this.transform!==null},A.prototype.isPositioned=function(){return this.position!==0},A.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},A.prototype.isFloating=function(){return this.float!==0},A.prototype.isInlineLevel=function(){return _A(this.display,4)||_A(this.display,33554432)||_A(this.display,268435456)||_A(this.display,536870912)||_A(this.display,67108864)||_A(this.display,134217728)},A}(),Xw=function(){function A(e,t){this.content=M(e,Dw,t.content),this.quotes=M(e,kw,t.quotes)}return A}(),zc=function(){function A(e,t){this.counterIncrement=M(e,Ow,t.counterIncrement),this.counterReset=M(e,Rw,t.counterReset)}return A}(),M=function(A,e,t){var r=new Qc,n=t!==null&&typeof t<"u"?t.toString():e.initialValue;r.write(n);var a=new Fc(r.read());switch(e.type){case 2:var s=a.parseComponentValue();return e.parse(A,iA(s)?s.value:e.initialValue);case 0:return e.parse(A,a.parseComponentValue());case 1:return e.parse(A,a.parseComponentValues());case 4:return a.parseComponentValue();case 3:switch(e.format){case"angle":return Rn.parse(A,a.parseComponentValue());case"color":return Xe.parse(A,a.parseComponentValue());case"image":return Ys.parse(A,a.parseComponentValue());case"length":var u=a.parseComponentValue();return Ge(u)?u:RA;case"length-percentage":var o=a.parseComponentValue();return QA(o)?o:RA;case"time":return $c.parse(A,a.parseComponentValue())}break}},Ww="data-html2canvas-debug",Jw=function(A){var e=A.getAttribute(Ww);switch(e){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Ws=function(A,e){var t=Jw(A);return t===1||e===t},be=function(){function A(e,t){if(this.context=e,this.textNodes=[],this.elements=[],this.flags=0,Ws(t,3))debugger;this.styles=new Yw(e,window.getComputedStyle(t,null)),ii(t)&&(this.styles.animationDuration.some(function(r){return r>0})&&(t.style.animationDuration="0s"),this.styles.transform!==null&&(t.style.transform="none")),this.bounds=mn(this.context,t),Ws(t,4)&&(this.flags|=16)}return A}(),qw="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIA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BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2A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VAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWK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A4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",Al="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",vr=typeof Uint8Array>"u"?[]:new Uint8Array(256),qn=0;qn<Al.length;qn++)vr[Al.charCodeAt(qn)]=qn;for(var jw=function(A){var e=A.length*.75,t=A.length,r,n=0,a,s,u,o;A[A.length-1]==="="&&(e--,A[A.length-2]==="="&&e--);var l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(e):new Array(e),f=Array.isArray(l)?l:new Uint8Array(l);for(r=0;r<t;r+=4)a=vr[A.charCodeAt(r)],s=vr[A.charCodeAt(r+1)],u=vr[A.charCodeAt(r+2)],o=vr[A.charCodeAt(r+3)],f[n++]=a<<2|s>>4,f[n++]=(s&15)<<4|u>>2,f[n++]=(u&3)<<6|o&63;return l},$w=function(A){for(var e=A.length,t=[],r=0;r<e;r+=2)t.push(A[r+1]<<8|A[r]);return t},Zw=function(A){for(var e=A.length,t=[],r=0;r<e;r+=4)t.push(A[r+3]<<24|A[r+2]<<16|A[r+1]<<8|A[r]);return t},ht=5,Js=11,qs=2,zw=Js-ht,el=65536>>ht,AT=1<<ht,js=AT-1,eT=1024>>ht,tT=el+eT,rT=tT,nT=32,aT=rT+nT,sT=65536>>Js,iT=1<<zw,uT=iT-1,tl=function(A,e,t){return A.slice?A.slice(e,t):new Uint16Array(Array.prototype.slice.call(A,e,t))},oT=function(A,e,t){return A.slice?A.slice(e,t):new Uint32Array(Array.prototype.slice.call(A,e,t))},cT=function(A,e){var t=jw(A),r=Array.isArray(t)?Zw(t):new Uint32Array(t),n=Array.isArray(t)?$w(t):new Uint16Array(t),a=24,s=tl(n,a/2,r[4]/2),u=r[5]===2?tl(n,(a+r[4])/2):oT(r,Math.ceil((a+r[4])/4));return new lT(r[0],r[1],r[2],r[3],s,u)},lT=function(){function A(e,t,r,n,a,s){this.initialValue=e,this.errorValue=t,this.highStart=r,this.highValueIndex=n,this.index=a,this.data=s}return A.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>ht],t=(t<<qs)+(e&js),this.data[t];if(e<=65535)return t=this.index[el+(e-55296>>ht)],t=(t<<qs)+(e&js),this.data[t];if(e<this.highStart)return t=aT-sT+(e>>Js),t=this.index[t],t+=e>>ht&uT,t=this.index[t],t=(t<<qs)+(e&js),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A}(),rl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",fT=typeof Uint8Array>"u"?[]:new Uint8Array(256),jn=0;jn<rl.length;jn++)fT[rl.charCodeAt(jn)]=jn;var hT=1,$s=2,Zs=3,nl=4,al=5,dT=7,sl=8,zs=9,Ai=10,il=11,ul=12,ol=13,cl=14,ei=15,BT=function(A){for(var e=[],t=0,r=A.length;t<r;){var n=A.charCodeAt(t++);if(n>=55296&&n<=56319&&t<r){var a=A.charCodeAt(t++);(a&64512)===56320?e.push(((n&1023)<<10)+(a&1023)+65536):(e.push(n),t--)}else e.push(n)}return e},gT=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,A);var t=A.length;if(!t)return"";for(var r=[],n=-1,a="";++n<t;){var s=A[n];s<=65535?r.push(s):(s-=65536,r.push((s>>10)+55296,s%1024+56320)),(n+1===t||r.length>16384)&&(a+=String.fromCharCode.apply(String,r),r.length=0)}return a},ET=cT(qw),ie="×",ti="÷",mT=function(A){return ET.get(A)},pT=function(A,e,t){var r=t-2,n=e[r],a=e[t-1],s=e[t];if(a===$s&&s===Zs)return ie;if(a===$s||a===Zs||a===nl||s===$s||s===Zs||s===nl)return ti;if(a===sl&&[sl,zs,il,ul].indexOf(s)!==-1||(a===il||a===zs)&&(s===zs||s===Ai)||(a===ul||a===Ai)&&s===Ai||s===ol||s===al||s===dT||a===hT)return ie;if(a===ol&&s===cl){for(;n===al;)n=e[--r];if(n===cl)return ie}if(a===ei&&s===ei){for(var u=0;n===ei;)u++,n=e[--r];if(u%2===0)return ie}return ti},CT=function(A){var e=BT(A),t=e.length,r=0,n=0,a=e.map(mT);return{next:function(){if(r>=t)return{done:!0,value:null};for(var s=ie;r<t&&(s=pT(e,a,++r))===ie;);if(s!==ie||r===t){var u=gT.apply(null,e.slice(n,r));return n=r,{value:u,done:!1}}return{done:!0,value:null}}}},wT=function(A){for(var e=CT(A),t=[],r;!(r=e.next()).done;)r.value&&t.push(r.value.slice());return t},TT=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(),a=Math.round(n.height);if(A.body.removeChild(r),a===e)return!0}}return!1},bT=function(A){var e=A.createElement("boundtest");e.style.width="50px",e.style.display="block",e.style.fontSize="12px",e.style.letterSpacing="0px",e.style.wordSpacing="0px",A.body.appendChild(e);var t=A.createRange();e.innerHTML=typeof"".repeat=="function"?"&#128104;".repeat(10):"";var r=e.firstChild,n=pn(r.data).map(function(o){return wA(o)}),a=0,s={},u=n.every(function(o,l){t.setStart(r,a),t.setEnd(r,a+o.length);var f=t.getBoundingClientRect();a+=o.length;var h=f.x>s.x||f.y>s.y;return s=f,l===0?!0:h});return A.body.removeChild(e),u},UT=function(){return typeof new Image().crossOrigin<"u"},QT=function(){return typeof new XMLHttpRequest().responseType=="string"},FT=function(A){var e=new Image,t=A.createElement("canvas"),r=t.getContext("2d");if(!r)return!1;e.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{r.drawImage(e,0,0),t.toDataURL()}catch{return!1}return!0},ll=function(A){return A[0]===0&&A[1]===255&&A[2]===0&&A[3]===255},IT=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,a=e.toDataURL();n.src=a;var s=ri(t,t,0,0,n);return r.fillStyle="red",r.fillRect(0,0,t,t),fl(s).then(function(u){r.drawImage(u,0,0);var o=r.getImageData(0,0,t,t).data;r.fillStyle="red",r.fillRect(0,0,t,t);var l=A.createElement("div");return l.style.backgroundImage="url("+a+")",l.style.height=t+"px",ll(o)?fl(ri(t,t,0,0,l)):Promise.reject(!1)}).then(function(u){return r.drawImage(u,0,0),ll(r.getImageData(0,0,t,t).data)}).catch(function(){return!1})},ri=function(A,e,t,r,n){var a="http://www.w3.org/2000/svg",s=document.createElementNS(a,"svg"),u=document.createElementNS(a,"foreignObject");return s.setAttributeNS(null,"width",A.toString()),s.setAttributeNS(null,"height",e.toString()),u.setAttributeNS(null,"width","100%"),u.setAttributeNS(null,"height","100%"),u.setAttributeNS(null,"x",t.toString()),u.setAttributeNS(null,"y",r.toString()),u.setAttributeNS(null,"externalResourcesRequired","true"),s.appendChild(u),u.appendChild(n),s},fl=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))})},MA={get SUPPORT_RANGE_BOUNDS(){var A=TT(document);return Object.defineProperty(MA,"SUPPORT_RANGE_BOUNDS",{value:A}),A},get SUPPORT_WORD_BREAKING(){var A=MA.SUPPORT_RANGE_BOUNDS&&bT(document);return Object.defineProperty(MA,"SUPPORT_WORD_BREAKING",{value:A}),A},get SUPPORT_SVG_DRAWING(){var A=FT(document);return Object.defineProperty(MA,"SUPPORT_SVG_DRAWING",{value:A}),A},get SUPPORT_FOREIGNOBJECT_DRAWING(){var A=typeof Array.from=="function"&&typeof window.fetch=="function"?IT(document):Promise.resolve(!1);return Object.defineProperty(MA,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:A}),A},get SUPPORT_CORS_IMAGES(){var A=UT();return Object.defineProperty(MA,"SUPPORT_CORS_IMAGES",{value:A}),A},get SUPPORT_RESPONSE_TYPE(){var A=QT();return Object.defineProperty(MA,"SUPPORT_RESPONSE_TYPE",{value:A}),A},get SUPPORT_CORS_XHR(){var A="withCredentials"in new XMLHttpRequest;return Object.defineProperty(MA,"SUPPORT_CORS_XHR",{value:A}),A},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var A=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(MA,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:A}),A}},Sr=function(){function A(e,t){this.text=e,this.bounds=t}return A}(),_T=function(A,e,t,r){var n=vT(e,t),a=[],s=0;return n.forEach(function(u){if(t.textDecorationLine.length||u.trim().length>0)if(MA.SUPPORT_RANGE_BOUNDS){var o=hl(r,s,u.length).getClientRects();if(o.length>1){var l=ni(u),f=0;l.forEach(function(d){a.push(new Sr(d,Ie.fromDOMRectList(A,hl(r,f+s,d.length).getClientRects()))),f+=d.length})}else a.push(new Sr(u,Ie.fromDOMRectList(A,o)))}else{var h=r.splitText(u.length);a.push(new Sr(u,yT(A,r))),r=h}else MA.SUPPORT_RANGE_BOUNDS||(r=r.splitText(u.length));s+=u.length}),a},yT=function(A,e){var t=e.ownerDocument;if(t){var r=t.createElement("html2canvaswrapper");r.appendChild(e.cloneNode(!0));var n=e.parentNode;if(n){n.replaceChild(r,e);var a=mn(A,r);return r.firstChild&&n.replaceChild(r.firstChild,r),a}}return Ie.EMPTY},hl=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),n},ni=function(A){if(MA.SUPPORT_NATIVE_TEXT_SEGMENTATION){var e=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(e.segment(A)).map(function(t){return t.segment})}return wT(A)},NT=function(A,e){if(MA.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(t.segment(A)).map(function(r){return r.segment})}return xT(A,e)},vT=function(A,e){return e.letterSpacing!==0?ni(A):NT(A,e)},ST=[32,160,4961,65792,65793,4153,4241],xT=function(A,e){for(var t=sC(A,{lineBreak:e.lineBreak,wordBreak:e.overflowWrap==="break-word"?"break-word":e.wordBreak}),r=[],n,a=function(){if(n.value){var s=n.value.slice(),u=pn(s),o="";u.forEach(function(l){ST.indexOf(l)===-1?o+=wA(l):(o.length&&r.push(o),r.push(wA(l)),o="")}),o.length&&r.push(o)}};!(n=t.next()).done;)a();return r},LT=function(){function A(e,t,r){this.text=HT(t.data,r.textTransform),this.textBounds=_T(e,this.text,r,t)}return A}(),HT=function(A,e){switch(e){case 1:return A.toLowerCase();case 3:return A.replace(DT,OT);case 2:return A.toUpperCase();default:return A}},DT=/(^|\s|:|-|\(|\))([a-z])/g,OT=function(A,e,t){return A.length>0?e+t.toUpperCase():A},dl=function(A){de(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.src=r.currentSrc||r.src,n.intrinsicWidth=r.naturalWidth,n.intrinsicHeight=r.naturalHeight,n.context.cache.addImage(n.src),n}return e}(be),Bl=function(A){de(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.canvas=r,n.intrinsicWidth=r.width,n.intrinsicHeight=r.height,n}return e}(be),gl=function(A){de(e,A);function e(t,r){var n=A.call(this,t,r)||this,a=new XMLSerializer,s=mn(t,r);return r.setAttribute("width",s.width+"px"),r.setAttribute("height",s.height+"px"),n.svg="data:image/svg+xml,"+encodeURIComponent(a.serializeToString(r)),n.intrinsicWidth=r.width.baseVal.value,n.intrinsicHeight=r.height.baseVal.value,n.context.cache.addImage(n.svg),n}return e}(be),El=function(A){de(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.value=r.value,n}return e}(be),ai=function(A){de(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.start=r.start,n.reversed=typeof r.reversed=="boolean"&&r.reversed===!0,n}return e}(be),RT=[{type:15,flags:0,unit:"px",number:3}],MT=[{type:16,flags:0,number:50}],kT=function(A){return A.width>A.height?new Ie(A.left+(A.width-A.height)/2,A.top,A.height,A.height):A.width<A.height?new Ie(A.left,A.top+(A.height-A.width)/2,A.width,A.width):A},PT=function(A){var e=A.type===KT?new Array(A.value.length+1).join("•"):A.value;return e.length===0?A.placeholder||"":e},$n="checkbox",Zn="radio",KT="password",ml=707406591,si=function(A){de(e,A);function e(t,r){var n=A.call(this,t,r)||this;switch(n.type=r.type.toLowerCase(),n.checked=r.checked,n.value=PT(r),(n.type===$n||n.type===Zn)&&(n.styles.backgroundColor=3739148031,n.styles.borderTopColor=n.styles.borderRightColor=n.styles.borderBottomColor=n.styles.borderLeftColor=2779096575,n.styles.borderTopWidth=n.styles.borderRightWidth=n.styles.borderBottomWidth=n.styles.borderLeftWidth=1,n.styles.borderTopStyle=n.styles.borderRightStyle=n.styles.borderBottomStyle=n.styles.borderLeftStyle=1,n.styles.backgroundClip=[0],n.styles.backgroundOrigin=[0],n.bounds=kT(n.bounds)),n.type){case $n:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=RT;break;case Zn:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=MT;break}return n}return e}(be),pl=function(A){de(e,A);function e(t,r){var n=A.call(this,t,r)||this,a=r.options[r.selectedIndex||0];return n.value=a&&a.text||"",n}return e}(be),Cl=function(A){de(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.value=r.value,n}return e}(be),wl=function(A){de(e,A);function e(t,r){var n=A.call(this,t,r)||this;n.src=r.src,n.width=parseInt(r.width,10)||0,n.height=parseInt(r.height,10)||0,n.backgroundColor=n.styles.backgroundColor;try{if(r.contentWindow&&r.contentWindow.document&&r.contentWindow.document.documentElement){n.tree=bl(t,r.contentWindow.document.documentElement);var a=r.contentWindow.document.documentElement?yr(t,getComputedStyle(r.contentWindow.document.documentElement).backgroundColor):ye.TRANSPARENT,s=r.contentWindow.document.body?yr(t,getComputedStyle(r.contentWindow.document.body).backgroundColor):ye.TRANSPARENT;n.backgroundColor=We(a)?We(s)?n.styles.backgroundColor:s:a}}catch{}return n}return e}(be),VT=["OL","UL","MENU"],zn=function(A,e,t,r){for(var n=e.firstChild,a=void 0;n;n=a)if(a=n.nextSibling,Ul(n)&&n.data.trim().length>0)t.textNodes.push(new LT(A,n,t.styles));else if(Dt(n))if(Nl(n)&&n.assignedNodes)n.assignedNodes().forEach(function(u){return zn(A,u,t,r)});else{var s=Tl(A,n);s.styles.isVisible()&&(GT(n,s,r)?s.flags|=4:YT(s.styles)&&(s.flags|=2),VT.indexOf(n.tagName)!==-1&&(s.flags|=8),t.elements.push(s),n.slot,n.shadowRoot?zn(A,n.shadowRoot,s,r):!ea(n)&&!Ql(n)&&!ta(n)&&zn(A,n,s,r))}},Tl=function(A,e){return oi(e)?new dl(A,e):Fl(e)?new Bl(A,e):Ql(e)?new gl(A,e):XT(e)?new El(A,e):WT(e)?new ai(A,e):JT(e)?new si(A,e):ta(e)?new pl(A,e):ea(e)?new Cl(A,e):_l(e)?new wl(A,e):new be(A,e)},bl=function(A,e){var t=Tl(A,e);return t.flags|=4,zn(A,e,t,t),t},GT=function(A,e,t){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||ui(A)&&t.styles.isTransparent()},YT=function(A){return A.isPositioned()||A.isFloating()},Ul=function(A){return A.nodeType===Node.TEXT_NODE},Dt=function(A){return A.nodeType===Node.ELEMENT_NODE},ii=function(A){return Dt(A)&&typeof A.style<"u"&&!Aa(A)},Aa=function(A){return typeof A.className=="object"},XT=function(A){return A.tagName==="LI"},WT=function(A){return A.tagName==="OL"},JT=function(A){return A.tagName==="INPUT"},qT=function(A){return A.tagName==="HTML"},Ql=function(A){return A.tagName==="svg"},ui=function(A){return A.tagName==="BODY"},Fl=function(A){return A.tagName==="CANVAS"},Il=function(A){return A.tagName==="VIDEO"},oi=function(A){return A.tagName==="IMG"},_l=function(A){return A.tagName==="IFRAME"},yl=function(A){return A.tagName==="STYLE"},jT=function(A){return A.tagName==="SCRIPT"},ea=function(A){return A.tagName==="TEXTAREA"},ta=function(A){return A.tagName==="SELECT"},Nl=function(A){return A.tagName==="SLOT"},vl=function(A){return A.tagName.indexOf("-")>0},$T=function(){function A(){this.counters={}}return A.prototype.getCounterValue=function(e){var t=this.counters[e];return t&&t.length?t[t.length-1]:1},A.prototype.getCounterValues=function(e){var t=this.counters[e];return t||[]},A.prototype.pop=function(e){var t=this;e.forEach(function(r){return t.counters[r].pop()})},A.prototype.parse=function(e){var t=this,r=e.counterIncrement,n=e.counterReset,a=!0;r!==null&&r.forEach(function(u){var o=t.counters[u.counter];o&&u.increment!==0&&(a=!1,o.length||o.push(1),o[Math.max(0,o.length-1)]+=u.increment)});var s=[];return a&&n.forEach(function(u){var o=t.counters[u.counter];s.push(u.counter),o||(o=t.counters[u.counter]=[]),o.push(u.reset)}),s},A}(),Sl={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"]},xl={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:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},ZT={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:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},zT={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:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},Ot=function(A,e,t,r,n,a){return A<e||A>t?Lr(A,n,a.length>0):r.integers.reduce(function(s,u,o){for(;A>=u;)A-=u,s+=r.values[o];return s},"")+a},Ll=function(A,e,t,r){var n="";do t||A--,n=r(A)+n,A/=e;while(A*e>=e);return n},TA=function(A,e,t,r,n){var a=t-e+1;return(A<0?"-":"")+(Ll(Math.abs(A),a,r,function(s){return wA(Math.floor(s%a)+e)})+n)},dt=function(A,e,t){t===void 0&&(t=". ");var r=e.length;return Ll(Math.abs(A),r,!1,function(n){return e[Math.floor(n%r)]})+t},Rt=1,qe=2,je=4,xr=8,Ne=function(A,e,t,r,n,a){if(A<-9999||A>9999)return Lr(A,4,n.length>0);var s=Math.abs(A),u=n;if(s===0)return e[0]+u;for(var o=0;s>0&&o<=4;o++){var l=s%10;l===0&&_A(a,Rt)&&u!==""?u=e[l]+u:l>1||l===1&&o===0||l===1&&o===1&&_A(a,qe)||l===1&&o===1&&_A(a,je)&&A>100||l===1&&o>1&&_A(a,xr)?u=e[l]+(o>0?t[o-1]:"")+u:l===1&&o>0&&(u=t[o-1]+u),s=Math.floor(s/10)}return(A<0?r:"")+u},Hl="十百千萬",Dl="拾佰仟萬",Ol="マイナス",ci="마이너스",Lr=function(A,e,t){var r=t?". ":"",n=t?"、":"",a=t?", ":"",s=t?" ":"";switch(e){case 0:return"•"+s;case 1:return"◦"+s;case 2:return"◾"+s;case 5:var u=TA(A,48,57,!0,r);return u.length<4?"0"+u:u;case 4:return dt(A,"〇一二三四五六七八九",n);case 6:return Ot(A,1,3999,Sl,3,r).toLowerCase();case 7:return Ot(A,1,3999,Sl,3,r);case 8:return TA(A,945,969,!1,r);case 9:return TA(A,97,122,!1,r);case 10:return TA(A,65,90,!1,r);case 11:return TA(A,1632,1641,!0,r);case 12:case 49:return Ot(A,1,9999,xl,3,r);case 35:return Ot(A,1,9999,xl,3,r).toLowerCase();case 13:return TA(A,2534,2543,!0,r);case 14:case 30:return TA(A,6112,6121,!0,r);case 15:return dt(A,"子丑寅卯辰巳午未申酉戌亥",n);case 16:return dt(A,"甲乙丙丁戊己庚辛壬癸",n);case 17:case 48:return Ne(A,"零一二三四五六七八九",Hl,"負",n,qe|je|xr);case 47:return Ne(A,"零壹貳參肆伍陸柒捌玖",Dl,"負",n,Rt|qe|je|xr);case 42:return Ne(A,"零一二三四五六七八九",Hl,"负",n,qe|je|xr);case 41:return Ne(A,"零壹贰叁肆伍陆柒捌玖",Dl,"负",n,Rt|qe|je|xr);case 26:return Ne(A,"〇一二三四五六七八九","十百千万",Ol,n,0);case 25:return Ne(A,"零壱弐参四伍六七八九","拾百千万",Ol,n,Rt|qe|je);case 31:return Ne(A,"영일이삼사오육칠팔구","십백천만",ci,a,Rt|qe|je);case 33:return Ne(A,"零一二三四五六七八九","十百千萬",ci,a,0);case 32:return Ne(A,"零壹貳參四五六七八九","拾百千",ci,a,Rt|qe|je);case 18:return TA(A,2406,2415,!0,r);case 20:return Ot(A,1,19999,zT,3,r);case 21:return TA(A,2790,2799,!0,r);case 22:return TA(A,2662,2671,!0,r);case 22:return Ot(A,1,10999,ZT,3,r);case 23:return dt(A,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return dt(A,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return TA(A,3302,3311,!0,r);case 28:return dt(A,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",n);case 29:return dt(A,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",n);case 34:return TA(A,3792,3801,!0,r);case 37:return TA(A,6160,6169,!0,r);case 38:return TA(A,4160,4169,!0,r);case 39:return TA(A,2918,2927,!0,r);case 40:return TA(A,1776,1785,!0,r);case 43:return TA(A,3046,3055,!0,r);case 44:return TA(A,3174,3183,!0,r);case 45:return TA(A,3664,3673,!0,r);case 46:return TA(A,3872,3881,!0,r);case 3:default:return TA(A,48,57,!0,r)}},Rl="data-html2canvas-ignore",Ml=function(){function A(e,t,r){if(this.context=e,this.options=r,this.scrolledElements=[],this.referenceElement=t,this.counters=new $T,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return A.prototype.toIFrame=function(e,t){var r=this,n=Ab(e,t);if(!n.contentWindow)return Promise.reject("Unable to find iframe window");var a=e.defaultView.pageXOffset,s=e.defaultView.pageYOffset,u=n.contentWindow,o=u.document,l=rb(n).then(function(){return YA(r,void 0,void 0,function(){var f,h;return KA(this,function(d){switch(d.label){case 0:return this.scrolledElements.forEach(ib),u&&(u.scrollTo(t.left,t.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(u.scrollY!==t.top||u.scrollX!==t.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(u.scrollX-t.left,u.scrollY-t.top,0,0))),f=this.options.onclone,h=this.clonedReferenceElement,typeof h>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:o.fonts&&o.fonts.ready?[4,o.fonts.ready]:[3,2];case 1:d.sent(),d.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,tb(o)]:[3,4];case 3:d.sent(),d.label=4;case 4:return typeof f=="function"?[2,Promise.resolve().then(function(){return f(o,h)}).then(function(){return n})]:[2,n]}})})});return o.open(),o.write(ab(document.doctype)+"<html></html>"),sb(this.referenceElement.ownerDocument,a,s),o.replaceChild(o.adoptNode(this.documentElement),o.documentElement),o.close(),l},A.prototype.createElementClone=function(e){if(Ws(e,2))debugger;if(Fl(e))return this.createCanvasClone(e);if(Il(e))return this.createVideoClone(e);if(yl(e))return this.createStyleClone(e);var t=e.cloneNode(!1);return oi(t)&&(oi(e)&&e.currentSrc&&e.currentSrc!==e.src&&(t.src=e.currentSrc,t.srcset=""),t.loading==="lazy"&&(t.loading="eager")),vl(t)?this.createCustomElementClone(t):t},A.prototype.createCustomElementClone=function(e){var t=document.createElement("html2canvascustomelement");return li(e.style,t),t},A.prototype.createStyleClone=function(e){try{var t=e.sheet;if(t&&t.cssRules){var r=[].slice.call(t.cssRules,0).reduce(function(a,s){return s&&typeof s.cssText=="string"?a+s.cssText:a},""),n=e.cloneNode(!1);return n.textContent=r,n}}catch(a){if(this.context.logger.error("Unable to access cssRules property",a),a.name!=="SecurityError")throw a}return e.cloneNode(!1)},A.prototype.createCanvasClone=function(e){var t;if(this.options.inlineImages&&e.ownerDocument){var r=e.ownerDocument.createElement("img");try{return r.src=e.toDataURL(),r}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",e)}}var n=e.cloneNode(!1);try{n.width=e.width,n.height=e.height;var a=e.getContext("2d"),s=n.getContext("2d");if(s)if(!this.options.allowTaint&&a)s.putImageData(a.getImageData(0,0,e.width,e.height),0,0);else{var u=(t=e.getContext("webgl2"))!==null&&t!==void 0?t:e.getContext("webgl");if(u){var o=u.getContextAttributes();(o==null?void 0:o.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",e)}s.drawImage(e,0,0)}return n}catch{this.context.logger.info("Unable to clone canvas as it is tainted",e)}return n},A.prototype.createVideoClone=function(e){var t=e.ownerDocument.createElement("canvas");t.width=e.offsetWidth,t.height=e.offsetHeight;var r=t.getContext("2d");try{return r&&(r.drawImage(e,0,0,t.width,t.height),this.options.allowTaint||r.getImageData(0,0,t.width,t.height)),t}catch{this.context.logger.info("Unable to clone video as it is tainted",e)}var n=e.ownerDocument.createElement("canvas");return n.width=e.offsetWidth,n.height=e.offsetHeight,n},A.prototype.appendChildNode=function(e,t,r){(!Dt(t)||!jT(t)&&!t.hasAttribute(Rl)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(t)))&&(!this.options.copyStyles||!Dt(t)||!yl(t))&&e.appendChild(this.cloneNode(t,r))},A.prototype.cloneChildNodes=function(e,t,r){for(var n=this,a=e.shadowRoot?e.shadowRoot.firstChild:e.firstChild;a;a=a.nextSibling)if(Dt(a)&&Nl(a)&&typeof a.assignedNodes=="function"){var s=a.assignedNodes();s.length&&s.forEach(function(u){return n.appendChildNode(t,u,r)})}else this.appendChildNode(t,a,r)},A.prototype.cloneNode=function(e,t){if(Ul(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var r=e.ownerDocument.defaultView;if(r&&Dt(e)&&(ii(e)||Aa(e))){var n=this.createElementClone(e);n.style.transitionProperty="none";var a=r.getComputedStyle(e),s=r.getComputedStyle(e,":before"),u=r.getComputedStyle(e,":after");this.referenceElement===e&&ii(n)&&(this.clonedReferenceElement=n),ui(n)&&cb(n);var o=this.counters.parse(new zc(this.context,a)),l=this.resolvePseudoContent(e,n,s,Hr.BEFORE);vl(e)&&(t=!0),Il(e)||this.cloneChildNodes(e,n,t),l&&n.insertBefore(l,n.firstChild);var f=this.resolvePseudoContent(e,n,u,Hr.AFTER);return f&&n.appendChild(f),this.counters.pop(o),(a&&(this.options.copyStyles||Aa(e))&&!_l(e)||t)&&li(a,n),(e.scrollTop!==0||e.scrollLeft!==0)&&this.scrolledElements.push([n,e.scrollLeft,e.scrollTop]),(ea(e)||ta(e))&&(ea(n)||ta(n))&&(n.value=e.value),n}return e.cloneNode(!1)},A.prototype.resolvePseudoContent=function(e,t,r,n){var a=this;if(r){var s=r.content,u=t.ownerDocument;if(!(!u||!s||s==="none"||s==="-moz-alt-content"||r.display==="none")){this.counters.parse(new zc(this.context,r));var o=new Xw(this.context,r),l=u.createElement("html2canvaspseudoelement");li(r,l),o.content.forEach(function(h){if(h.type===0)l.appendChild(u.createTextNode(h.value));else if(h.type===22){var d=u.createElement("img");d.src=h.value,d.style.opacity="1",l.appendChild(d)}else if(h.type===18){if(h.name==="attr"){var C=h.values.filter(iA);C.length&&l.appendChild(u.createTextNode(e.getAttribute(C[0].value)||""))}else if(h.name==="counter"){var p=h.values.filter(Lt),T=p[0],U=p[1];if(T&&iA(T)){var N=a.counters.getCounterValue(T.value),_=U&&iA(U)?Xs.parse(a.context,U.value):3;l.appendChild(u.createTextNode(Lr(N,_,!1)))}}else if(h.name==="counters"){var D=h.values.filter(Lt),T=D[0],P=D[1],U=D[2];if(T&&iA(T)){var L=a.counters.getCounterValues(T.value),m=U&&iA(U)?Xs.parse(a.context,U.value):3,H=P&&P.type===0?P.value:"",K=L.map(function(uA){return Lr(uA,m,!1)}).join(H);l.appendChild(u.createTextNode(K))}}}else if(h.type===20)switch(h.value){case"open-quote":l.appendChild(u.createTextNode(Zc(o.quotes,a.quoteDepth++,!0)));break;case"close-quote":l.appendChild(u.createTextNode(Zc(o.quotes,--a.quoteDepth,!1)));break;default:l.appendChild(u.createTextNode(h.value))}}),l.className=fi+" "+hi;var f=n===Hr.BEFORE?" "+fi:" "+hi;return Aa(t)?t.className.baseValue+=f:t.className+=f,l}}},A.destroy=function(e){return e.parentNode?(e.parentNode.removeChild(e),!0):!1},A}(),Hr;(function(A){A[A.BEFORE=0]="BEFORE",A[A.AFTER=1]="AFTER"})(Hr||(Hr={}));var Ab=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(Rl,"true"),A.body.appendChild(t),t},eb=function(A){return new Promise(function(e){if(A.complete){e();return}if(!A.src){e();return}A.onload=e,A.onerror=e})},tb=function(A){return Promise.all([].slice.call(A.images,0).map(eb))},rb=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=function(){r.onload=A.onload=null;var a=setInterval(function(){n.body.childNodes.length>0&&n.readyState==="complete"&&(clearInterval(a),e(A))},50)}})},nb=["all","d","content"],li=function(A,e){for(var t=A.length-1;t>=0;t--){var r=A.item(t);nb.indexOf(r)===-1&&e.style.setProperty(r,A.getPropertyValue(r))}return e},ab=function(A){var e="";return A&&(e+="<!DOCTYPE ",A.name&&(e+=A.name),A.internalSubset&&(e+=A.internalSubset),A.publicId&&(e+='"'+A.publicId+'"'),A.systemId&&(e+='"'+A.systemId+'"'),e+=">"),e},sb=function(A,e,t){A&&A.defaultView&&(e!==A.defaultView.pageXOffset||t!==A.defaultView.pageYOffset)&&A.defaultView.scrollTo(e,t)},ib=function(A){var e=A[0],t=A[1],r=A[2];e.scrollLeft=t,e.scrollTop=r},ub=":before",ob=":after",fi="___html2canvas___pseudoelement_before",hi="___html2canvas___pseudoelement_after",kl=`{
35
+ ***************************************************************************** */var Ts=function(A,e){return Ts=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])},Ts(A,e)};function he(A,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Ts(A,e);function t(){this.constructor=A}A.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var bs=function(){return bs=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},bs.apply(this,arguments)};function YA(A,e,t,r){function n(a){return a instanceof t?a:new t(function(s){s(a)})}return new(t||(t=Promise))(function(a,s){function u(f){try{l(r.next(f))}catch(h){s(h)}}function o(f){try{l(r.throw(f))}catch(h){s(h)}}function l(f){f.done?a(f.value):n(f.value).then(u,o)}l((r=r.apply(A,[])).next())})}function KA(A,e){var t={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,n,a,s;return s={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function u(l){return function(f){return o([l,f])}}function o(l){if(r)throw new TypeError("Generator is already executing.");for(;t;)try{if(r=1,n&&(a=l[0]&2?n.return:l[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,l[1])).done)return a;switch(n=0,a&&(l=[l[0]&2,a.value]),l[0]){case 0:case 1:a=l;break;case 4:return t.label++,{value:l[1],done:!1};case 5:t.label++,n=l[1],l=[0];continue;case 7:l=t.ops.pop(),t.trys.pop();continue;default:if(a=t.trys,!(a=a.length>0&&a[a.length-1])&&(l[0]===6||l[0]===2)){t=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]<a[3])){t.label=l[1];break}if(l[0]===6&&t.label<a[1]){t.label=a[1],a=l;break}if(a&&t.label<a[2]){t.label=a[2],t.ops.push(l);break}a[2]&&t.ops.pop(),t.trys.pop();continue}l=e.call(A,t)}catch(f){l=[6,f],n=0}finally{r=a=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function mn(A,e,t){if(arguments.length===2)for(var r=0,n=e.length,a;r<n;r++)(a||!(r in e))&&(a||(a=Array.prototype.slice.call(e,0,r)),a[r]=e[r]);return A.concat(a||e)}for(var ye=function(){function A(e,t,r,n){this.left=e,this.top=t,this.width=r,this.height=n}return A.prototype.add=function(e,t,r,n){return new A(this.left+e,this.top+t,this.width+r,this.height+n)},A.fromClientRect=function(e,t){return new A(t.left+e.windowBounds.left,t.top+e.windowBounds.top,t.width,t.height)},A.fromDOMRectList=function(e,t){var r=Array.from(t).find(function(n){return n.width!==0});return r?new A(r.left+e.windowBounds.left,r.top+e.windowBounds.top,r.width,r.height):A.EMPTY},A.EMPTY=new A(0,0,0,0),A}(),Cn=function(A,e){return ye.fromClientRect(A,e.getBoundingClientRect())},Im=function(A){var e=A.body,t=A.documentElement;if(!e||!t)throw new Error("Unable to get document size");var r=Math.max(Math.max(e.scrollWidth,t.scrollWidth),Math.max(e.offsetWidth,t.offsetWidth),Math.max(e.clientWidth,t.clientWidth)),n=Math.max(Math.max(e.scrollHeight,t.scrollHeight),Math.max(e.offsetHeight,t.offsetHeight),Math.max(e.clientHeight,t.clientHeight));return new ye(0,0,r,n)},wn=function(A){for(var e=[],t=0,r=A.length;t<r;){var n=A.charCodeAt(t++);if(n>=55296&&n<=56319&&t<r){var a=A.charCodeAt(t++);(a&64512)===56320?e.push(((n&1023)<<10)+(a&1023)+65536):(e.push(n),t--)}else e.push(n)}return e},bA=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,A);var t=A.length;if(!t)return"";for(var r=[],n=-1,a="";++n<t;){var s=A[n];s<=65535?r.push(s):(s-=65536,r.push((s>>10)+55296,s%1024+56320)),(n+1===t||r.length>16384)&&(a+=String.fromCharCode.apply(String,r),r.length=0)}return a},jo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",_m=typeof Uint8Array>"u"?[]:new Uint8Array(256),Tn=0;Tn<jo.length;Tn++)_m[jo.charCodeAt(Tn)]=Tn;for(var $o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Er=typeof Uint8Array>"u"?[]:new Uint8Array(256),bn=0;bn<$o.length;bn++)Er[$o.charCodeAt(bn)]=bn;for(var ym=function(A){var e=A.length*.75,t=A.length,r,n=0,a,s,u,o;A[A.length-1]==="="&&(e--,A[A.length-2]==="="&&e--);var l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(e):new Array(e),f=Array.isArray(l)?l:new Uint8Array(l);for(r=0;r<t;r+=4)a=Er[A.charCodeAt(r)],s=Er[A.charCodeAt(r+1)],u=Er[A.charCodeAt(r+2)],o=Er[A.charCodeAt(r+3)],f[n++]=a<<2|s>>4,f[n++]=(s&15)<<4|u>>2,f[n++]=(u&3)<<6|o&63;return l},Nm=function(A){for(var e=A.length,t=[],r=0;r<e;r+=2)t.push(A[r+1]<<8|A[r]);return t},vm=function(A){for(var e=A.length,t=[],r=0;r<e;r+=4)t.push(A[r+3]<<24|A[r+2]<<16|A[r+1]<<8|A[r]);return t},lt=5,Us=11,Qs=2,Sm=Us-lt,Zo=65536>>lt,xm=1<<lt,Fs=xm-1,Lm=1024>>lt,Hm=Zo+Lm,Dm=Hm,Om=32,Rm=Dm+Om,Mm=65536>>Us,km=1<<Sm,Pm=km-1,zo=function(A,e,t){return A.slice?A.slice(e,t):new Uint16Array(Array.prototype.slice.call(A,e,t))},Km=function(A,e,t){return A.slice?A.slice(e,t):new Uint32Array(Array.prototype.slice.call(A,e,t))},Vm=function(A,e){var t=ym(A),r=Array.isArray(t)?vm(t):new Uint32Array(t),n=Array.isArray(t)?Nm(t):new Uint16Array(t),a=24,s=zo(n,a/2,r[4]/2),u=r[5]===2?zo(n,(a+r[4])/2):Km(r,Math.ceil((a+r[4])/4));return new Gm(r[0],r[1],r[2],r[3],s,u)},Gm=function(){function A(e,t,r,n,a,s){this.initialValue=e,this.errorValue=t,this.highStart=r,this.highValueIndex=n,this.index=a,this.data=s}return A.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>lt],t=(t<<Qs)+(e&Fs),this.data[t];if(e<=65535)return t=this.index[Zo+(e-55296>>lt)],t=(t<<Qs)+(e&Fs),this.data[t];if(e<this.highStart)return t=Rm-Mm+(e>>Us),t=this.index[t],t+=e>>lt&Pm,t=this.index[t],t=(t<<Qs)+(e&Fs),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A}(),Ac="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ym=typeof Uint8Array>"u"?[]:new Uint8Array(256),Un=0;Un<Ac.length;Un++)Ym[Ac.charCodeAt(Un)]=Un;var Xm="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB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HLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABw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MAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4A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eAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAF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ACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAU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AFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACs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AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB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B4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeA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UAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",ec=50,Wm=1,tc=2,rc=3,Jm=4,qm=5,nc=7,ac=8,sc=9,Ge=10,Is=11,ic=12,_s=13,jm=14,pr=15,ys=16,Qn=17,mr=18,$m=19,uc=20,Ns=21,Cr=22,vs=23,St=24,te=25,wr=26,Tr=27,xt=28,Zm=29,ft=30,zm=31,Fn=32,In=33,Ss=34,xs=35,Ls=36,br=37,Hs=38,_n=39,yn=40,Ds=41,oc=42,AC=43,eC=[9001,65288],cc="!",z="×",Nn="÷",Os=Vm(Xm),Ne=[ft,Ls],Rs=[Wm,tc,rc,qm],lc=[Ge,ac],fc=[Tr,wr],tC=Rs.concat(lc),hc=[Hs,_n,yn,Ss,xs],rC=[pr,_s],nC=function(A,e){e===void 0&&(e="strict");var t=[],r=[],n=[];return A.forEach(function(a,s){var u=Os.get(a);if(u>ec?(n.push(!0),u-=ec):n.push(!1),["normal","auto","loose"].indexOf(e)!==-1&&[8208,8211,12316,12448].indexOf(a)!==-1)return r.push(s),t.push(ys);if(u===Jm||u===Is){if(s===0)return r.push(s),t.push(ft);var o=t[s-1];return tC.indexOf(o)===-1?(r.push(r[s-1]),t.push(o)):(r.push(s),t.push(ft))}if(r.push(s),u===zm)return t.push(e==="strict"?Ns:br);if(u===oc||u===Zm)return t.push(ft);if(u===AC)return a>=131072&&a<=196605||a>=196608&&a<=262141?t.push(br):t.push(ft);t.push(u)}),[r,t,n]},Ms=function(A,e,t,r){var n=r[t];if(Array.isArray(A)?A.indexOf(n)!==-1:A===n)for(var a=t;a<=r.length;){a++;var s=r[a];if(s===e)return!0;if(s!==Ge)break}if(n===Ge)for(var a=t;a>0;){a--;var u=r[a];if(Array.isArray(A)?A.indexOf(u)!==-1:A===u)for(var o=t;o<=r.length;){o++;var s=r[o];if(s===e)return!0;if(s!==Ge)break}if(u!==Ge)break}return!1},dc=function(A,e){for(var t=A;t>=0;){var r=e[t];if(r===Ge)t--;else return r}return 0},aC=function(A,e,t,r,n){if(t[r]===0)return z;var a=r-1;if(Array.isArray(n)&&n[a]===!0)return z;var s=a-1,u=a+1,o=e[a],l=s>=0?e[s]:0,f=e[u];if(o===tc&&f===rc)return z;if(Rs.indexOf(o)!==-1)return cc;if(Rs.indexOf(f)!==-1||lc.indexOf(f)!==-1)return z;if(dc(a,e)===ac)return Nn;if(Os.get(A[a])===Is||(o===Fn||o===In)&&Os.get(A[u])===Is||o===nc||f===nc||o===sc||[Ge,_s,pr].indexOf(o)===-1&&f===sc||[Qn,mr,$m,St,xt].indexOf(f)!==-1||dc(a,e)===Cr||Ms(vs,Cr,a,e)||Ms([Qn,mr],Ns,a,e)||Ms(ic,ic,a,e))return z;if(o===Ge)return Nn;if(o===vs||f===vs)return z;if(f===ys||o===ys)return Nn;if([_s,pr,Ns].indexOf(f)!==-1||o===jm||l===Ls&&rC.indexOf(o)!==-1||o===xt&&f===Ls||f===uc||Ne.indexOf(f)!==-1&&o===te||Ne.indexOf(o)!==-1&&f===te||o===Tr&&[br,Fn,In].indexOf(f)!==-1||[br,Fn,In].indexOf(o)!==-1&&f===wr||Ne.indexOf(o)!==-1&&fc.indexOf(f)!==-1||fc.indexOf(o)!==-1&&Ne.indexOf(f)!==-1||[Tr,wr].indexOf(o)!==-1&&(f===te||[Cr,pr].indexOf(f)!==-1&&e[u+1]===te)||[Cr,pr].indexOf(o)!==-1&&f===te||o===te&&[te,xt,St].indexOf(f)!==-1)return z;if([te,xt,St,Qn,mr].indexOf(f)!==-1)for(var h=a;h>=0;){var d=e[h];if(d===te)return z;if([xt,St].indexOf(d)!==-1)h--;else break}if([Tr,wr].indexOf(f)!==-1)for(var h=[Qn,mr].indexOf(o)!==-1?s:a;h>=0;){var d=e[h];if(d===te)return z;if([xt,St].indexOf(d)!==-1)h--;else break}if(Hs===o&&[Hs,_n,Ss,xs].indexOf(f)!==-1||[_n,Ss].indexOf(o)!==-1&&[_n,yn].indexOf(f)!==-1||[yn,xs].indexOf(o)!==-1&&f===yn||hc.indexOf(o)!==-1&&[uc,wr].indexOf(f)!==-1||hc.indexOf(f)!==-1&&o===Tr||Ne.indexOf(o)!==-1&&Ne.indexOf(f)!==-1||o===St&&Ne.indexOf(f)!==-1||Ne.concat(te).indexOf(o)!==-1&&f===Cr&&eC.indexOf(A[u])===-1||Ne.concat(te).indexOf(f)!==-1&&o===mr)return z;if(o===Ds&&f===Ds){for(var C=t[a],m=1;C>0&&(C--,e[C]===Ds);)m++;if(m%2!==0)return z}return o===Fn&&f===In?z:Nn},sC=function(A,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var t=nC(A,e.lineBreak),r=t[0],n=t[1],a=t[2];(e.wordBreak==="break-all"||e.wordBreak==="break-word")&&(n=n.map(function(u){return[te,ft,oc].indexOf(u)!==-1?br:u}));var s=e.wordBreak==="keep-all"?a.map(function(u,o){return u&&A[o]>=19968&&A[o]<=40959}):void 0;return[r,n,s]},iC=function(){function A(e,t,r,n){this.codePoints=e,this.required=t===cc,this.start=r,this.end=n}return A.prototype.slice=function(){return bA.apply(void 0,this.codePoints.slice(this.start,this.end))},A}(),uC=function(A,e){var t=wn(A),r=sC(t,e),n=r[0],a=r[1],s=r[2],u=t.length,o=0,l=0;return{next:function(){if(l>=u)return{done:!0,value:null};for(var f=z;l<u&&(f=aC(t,a,n,++l,s))===z;);if(f!==z||l===u){var h=new iC(t,f,o,l);return o=l,{value:h,done:!1}}return{done:!0,value:null}}}},oC=1,cC=2,Ur=4,Bc=8,vn=10,gc=47,Qr=92,lC=9,fC=32,Sn=34,Fr=61,hC=35,dC=36,BC=37,xn=39,Ln=40,Ir=41,gC=95,zA=45,EC=33,pC=60,mC=62,CC=64,wC=91,TC=93,bC=61,UC=123,Hn=63,QC=125,Ec=124,FC=126,IC=128,pc=65533,ks=42,ht=43,_C=44,yC=58,NC=59,_r=46,vC=0,SC=8,xC=11,LC=14,HC=31,DC=127,Te=-1,mc=48,Cc=97,wc=101,OC=102,RC=117,MC=122,Tc=65,bc=69,Uc=70,kC=85,PC=90,VA=function(A){return A>=mc&&A<=57},KC=function(A){return A>=55296&&A<=57343},Lt=function(A){return VA(A)||A>=Tc&&A<=Uc||A>=Cc&&A<=OC},VC=function(A){return A>=Cc&&A<=MC},GC=function(A){return A>=Tc&&A<=PC},YC=function(A){return VC(A)||GC(A)},XC=function(A){return A>=IC},Dn=function(A){return A===vn||A===lC||A===fC},On=function(A){return YC(A)||XC(A)||A===gC},Qc=function(A){return On(A)||VA(A)||A===zA},WC=function(A){return A>=vC&&A<=SC||A===xC||A>=LC&&A<=HC||A===DC},Ye=function(A,e){return A!==Qr?!1:e!==vn},Rn=function(A,e,t){return A===zA?On(e)||Ye(e,t):On(A)?!0:!!(A===Qr&&Ye(A,e))},Ps=function(A,e,t){return A===ht||A===zA?VA(e)?!0:e===_r&&VA(t):VA(A===_r?e:A)},JC=function(A){var e=0,t=1;(A[e]===ht||A[e]===zA)&&(A[e]===zA&&(t=-1),e++);for(var r=[];VA(A[e]);)r.push(A[e++]);var n=r.length?parseInt(bA.apply(void 0,r),10):0;A[e]===_r&&e++;for(var a=[];VA(A[e]);)a.push(A[e++]);var s=a.length,u=s?parseInt(bA.apply(void 0,a),10):0;(A[e]===bc||A[e]===wc)&&e++;var o=1;(A[e]===ht||A[e]===zA)&&(A[e]===zA&&(o=-1),e++);for(var l=[];VA(A[e]);)l.push(A[e++]);var f=l.length?parseInt(bA.apply(void 0,l),10):0;return t*(n+u*Math.pow(10,-s))*Math.pow(10,o*f)},qC={type:2},jC={type:3},$C={type:4},ZC={type:13},zC={type:8},A1={type:21},e1={type:9},t1={type:10},r1={type:11},n1={type:12},a1={type:14},Mn={type:23},s1={type:1},i1={type:25},u1={type:24},o1={type:26},c1={type:27},l1={type:28},f1={type:29},h1={type:31},Ks={type:32},Fc=function(){function A(){this._value=[]}return A.prototype.write=function(e){this._value=this._value.concat(wn(e))},A.prototype.read=function(){for(var e=[],t=this.consumeToken();t!==Ks;)e.push(t),t=this.consumeToken();return e},A.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case Sn:return this.consumeStringToken(Sn);case hC:var t=this.peekCodePoint(0),r=this.peekCodePoint(1),n=this.peekCodePoint(2);if(Qc(t)||Ye(r,n)){var a=Rn(t,r,n)?cC:oC,s=this.consumeName();return{type:5,value:s,flags:a}}break;case dC:if(this.peekCodePoint(0)===Fr)return this.consumeCodePoint(),ZC;break;case xn:return this.consumeStringToken(xn);case Ln:return qC;case Ir:return jC;case ks:if(this.peekCodePoint(0)===Fr)return this.consumeCodePoint(),a1;break;case ht:if(Ps(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case _C:return $C;case zA:var u=e,o=this.peekCodePoint(0),l=this.peekCodePoint(1);if(Ps(u,o,l))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(Rn(u,o,l))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(o===zA&&l===mC)return this.consumeCodePoint(),this.consumeCodePoint(),u1;break;case _r:if(Ps(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case gc:if(this.peekCodePoint(0)===ks)for(this.consumeCodePoint();;){var f=this.consumeCodePoint();if(f===ks&&(f=this.consumeCodePoint(),f===gc))return this.consumeToken();if(f===Te)return this.consumeToken()}break;case yC:return o1;case NC:return c1;case pC:if(this.peekCodePoint(0)===EC&&this.peekCodePoint(1)===zA&&this.peekCodePoint(2)===zA)return this.consumeCodePoint(),this.consumeCodePoint(),i1;break;case CC:var h=this.peekCodePoint(0),d=this.peekCodePoint(1),C=this.peekCodePoint(2);if(Rn(h,d,C)){var s=this.consumeName();return{type:7,value:s}}break;case wC:return l1;case Qr:if(Ye(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case TC:return f1;case bC:if(this.peekCodePoint(0)===Fr)return this.consumeCodePoint(),zC;break;case UC:return r1;case QC:return n1;case RC:case kC:var m=this.peekCodePoint(0),T=this.peekCodePoint(1);return m===ht&&(Lt(T)||T===Hn)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case Ec:if(this.peekCodePoint(0)===Fr)return this.consumeCodePoint(),e1;if(this.peekCodePoint(0)===Ec)return this.consumeCodePoint(),A1;break;case FC:if(this.peekCodePoint(0)===Fr)return this.consumeCodePoint(),t1;break;case Te:return Ks}return Dn(e)?(this.consumeWhiteSpace(),h1):VA(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):On(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:bA(e)}},A.prototype.consumeCodePoint=function(){var e=this._value.shift();return typeof e>"u"?-1:e},A.prototype.reconsumeCodePoint=function(e){this._value.unshift(e)},A.prototype.peekCodePoint=function(e){return e>=this._value.length?-1:this._value[e]},A.prototype.consumeUnicodeRangeToken=function(){for(var e=[],t=this.consumeCodePoint();Lt(t)&&e.length<6;)e.push(t),t=this.consumeCodePoint();for(var r=!1;t===Hn&&e.length<6;)e.push(t),t=this.consumeCodePoint(),r=!0;if(r){var n=parseInt(bA.apply(void 0,e.map(function(o){return o===Hn?mc:o})),16),a=parseInt(bA.apply(void 0,e.map(function(o){return o===Hn?Uc:o})),16);return{type:30,start:n,end:a}}var s=parseInt(bA.apply(void 0,e),16);if(this.peekCodePoint(0)===zA&&Lt(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var u=[];Lt(t)&&u.length<6;)u.push(t),t=this.consumeCodePoint();var a=parseInt(bA.apply(void 0,u),16);return{type:30,start:s,end:a}}else return{type:30,start:s,end:s}},A.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return e.toLowerCase()==="url"&&this.peekCodePoint(0)===Ln?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Ln?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}},A.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Te)return{type:22,value:""};var t=this.peekCodePoint(0);if(t===xn||t===Sn){var r=this.consumeStringToken(this.consumeCodePoint());return r.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Te||this.peekCodePoint(0)===Ir)?(this.consumeCodePoint(),{type:22,value:r.value}):(this.consumeBadUrlRemnants(),Mn)}for(;;){var n=this.consumeCodePoint();if(n===Te||n===Ir)return{type:22,value:bA.apply(void 0,e)};if(Dn(n))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Te||this.peekCodePoint(0)===Ir?(this.consumeCodePoint(),{type:22,value:bA.apply(void 0,e)}):(this.consumeBadUrlRemnants(),Mn);if(n===Sn||n===xn||n===Ln||WC(n))return this.consumeBadUrlRemnants(),Mn;if(n===Qr)if(Ye(n,this.peekCodePoint(0)))e.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),Mn;else e.push(n)}},A.prototype.consumeWhiteSpace=function(){for(;Dn(this.peekCodePoint(0));)this.consumeCodePoint()},A.prototype.consumeBadUrlRemnants=function(){for(;;){var e=this.consumeCodePoint();if(e===Ir||e===Te)return;Ye(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},A.prototype.consumeStringSlice=function(e){for(var t=5e4,r="";e>0;){var n=Math.min(t,e);r+=bA.apply(void 0,this._value.splice(0,n)),e-=n}return this._value.shift(),r},A.prototype.consumeStringToken=function(e){var t="",r=0;do{var n=this._value[r];if(n===Te||n===void 0||n===e)return t+=this.consumeStringSlice(r),{type:0,value:t};if(n===vn)return this._value.splice(0,r),s1;if(n===Qr){var a=this._value[r+1];a!==Te&&a!==void 0&&(a===vn?(t+=this.consumeStringSlice(r),r=-1,this._value.shift()):Ye(n,a)&&(t+=this.consumeStringSlice(r),t+=bA(this.consumeEscapedCodePoint()),r=-1))}r++}while(!0)},A.prototype.consumeNumber=function(){var e=[],t=Ur,r=this.peekCodePoint(0);for((r===ht||r===zA)&&e.push(this.consumeCodePoint());VA(this.peekCodePoint(0));)e.push(this.consumeCodePoint());r=this.peekCodePoint(0);var n=this.peekCodePoint(1);if(r===_r&&VA(n))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=Bc;VA(this.peekCodePoint(0));)e.push(this.consumeCodePoint());r=this.peekCodePoint(0),n=this.peekCodePoint(1);var a=this.peekCodePoint(2);if((r===bc||r===wc)&&((n===ht||n===zA)&&VA(a)||VA(n)))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=Bc;VA(this.peekCodePoint(0));)e.push(this.consumeCodePoint());return[JC(e),t]},A.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),t=e[0],r=e[1],n=this.peekCodePoint(0),a=this.peekCodePoint(1),s=this.peekCodePoint(2);if(Rn(n,a,s)){var u=this.consumeName();return{type:15,number:t,flags:r,unit:u}}return n===BC?(this.consumeCodePoint(),{type:16,number:t,flags:r}):{type:17,number:t,flags:r}},A.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(Lt(e)){for(var t=bA(e);Lt(this.peekCodePoint(0))&&t.length<6;)t+=bA(this.consumeCodePoint());Dn(this.peekCodePoint(0))&&this.consumeCodePoint();var r=parseInt(t,16);return r===0||KC(r)||r>1114111?pc:r}return e===Te?pc:e},A.prototype.consumeName=function(){for(var e="";;){var t=this.consumeCodePoint();if(Qc(t))e+=bA(t);else if(Ye(t,this.peekCodePoint(0)))e+=bA(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(t),e}},A}(),Ic=function(){function A(e){this._tokens=e}return A.create=function(e){var t=new Fc;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(){for(var e=this.consumeToken();e.type===31;)e=this.consumeToken();if(e.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(e);var t=this.consumeComponentValue();do e=this.consumeToken();while(e.type===31);if(e.type===32)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},A.prototype.parseComponentValues=function(){for(var e=[];;){var t=this.consumeComponentValue();if(t.type===32)return e;e.push(t),e.push()}},A.prototype.consumeComponentValue=function(){var e=this.consumeToken();switch(e.type){case 11:case 28:case 2:return this.consumeSimpleBlock(e.type);case 19:return this.consumeFunction(e)}return e},A.prototype.consumeSimpleBlock=function(e){for(var t={type:e,values:[]},r=this.consumeToken();;){if(r.type===32||B1(r,e))return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue()),r=this.consumeToken()}},A.prototype.consumeFunction=function(e){for(var t={name:e.value,values:[],type:18};;){var r=this.consumeToken();if(r.type===32||r.type===3)return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue())}},A.prototype.consumeToken=function(){var e=this._tokens.shift();return typeof e>"u"?Ks:e},A.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},A}(),yr=function(A){return A.type===15},Ht=function(A){return A.type===17},uA=function(A){return A.type===20},d1=function(A){return A.type===0},Vs=function(A,e){return uA(A)&&A.value===e},_c=function(A){return A.type!==31},Dt=function(A){return A.type!==31&&A.type!==4},be=function(A){var e=[],t=[];return A.forEach(function(r){if(r.type===4){if(t.length===0)throw new Error("Error parsing function args, zero tokens for arg");e.push(t),t=[];return}r.type!==31&&t.push(r)}),t.length&&e.push(t),e},B1=function(A,e){return e===11&&A.type===12||e===28&&A.type===29?!0:e===2&&A.type===3},Xe=function(A){return A.type===17||A.type===15},FA=function(A){return A.type===16||Xe(A)},yc=function(A){return A.length>1?[A[0],A[1]]:[A[0]]},RA={type:17,number:0,flags:Ur},Gs={type:16,number:50,flags:Ur},We={type:16,number:100,flags:Ur},Nr=function(A,e,t){var r=A[0],n=A[1];return[lA(r,e),lA(typeof n<"u"?n:r,t)]},lA=function(A,e){if(A.type===16)return A.number/100*e;if(yr(A))switch(A.unit){case"rem":case"em":return 16*A.number;case"px":default:return A.number}return A.number},Nc="deg",vc="grad",Sc="rad",xc="turn",kn={name:"angle",parse:function(A,e){if(e.type===15)switch(e.unit){case Nc:return Math.PI*e.number/180;case vc:return Math.PI/200*e.number;case Sc:return e.number;case xc:return Math.PI*2*e.number}throw new Error("Unsupported angle type")}},Lc=function(A){return A.type===15&&(A.unit===Nc||A.unit===vc||A.unit===Sc||A.unit===xc)},Hc=function(A){var e=A.filter(uA).map(function(t){return t.value}).join(" ");switch(e){case"to bottom right":case"to right bottom":case"left top":case"top left":return[RA,RA];case"to top":case"bottom":return se(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[RA,We];case"to right":case"left":return se(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[We,We];case"to bottom":case"top":return se(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[We,RA];case"to left":case"right":return se(270)}return 0},se=function(A){return Math.PI*A/180},Je={name:"color",parse:function(A,e){if(e.type===18){var t=g1[e.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported color function "'+e.name+'"');return t(A,e.values)}if(e.type===5){if(e.value.length===3){var r=e.value.substring(0,1),n=e.value.substring(1,2),a=e.value.substring(2,3);return je(parseInt(r+r,16),parseInt(n+n,16),parseInt(a+a,16),1)}if(e.value.length===4){var r=e.value.substring(0,1),n=e.value.substring(1,2),a=e.value.substring(2,3),s=e.value.substring(3,4);return je(parseInt(r+r,16),parseInt(n+n,16),parseInt(a+a,16),parseInt(s+s,16)/255)}if(e.value.length===6){var r=e.value.substring(0,2),n=e.value.substring(2,4),a=e.value.substring(4,6);return je(parseInt(r,16),parseInt(n,16),parseInt(a,16),1)}if(e.value.length===8){var r=e.value.substring(0,2),n=e.value.substring(2,4),a=e.value.substring(4,6),s=e.value.substring(6,8);return je(parseInt(r,16),parseInt(n,16),parseInt(a,16),parseInt(s,16)/255)}}if(e.type===20){var u=ve[e.value.toUpperCase()];if(typeof u<"u")return u}return ve.TRANSPARENT}},qe=function(A){return(255&A)===0},DA=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+")"},je=function(A,e,t,r){return(A<<24|e<<16|t<<8|Math.round(r*255)<<0)>>>0},Dc=function(A,e){if(A.type===17)return A.number;if(A.type===16){var t=e===3?1:255;return e===3?A.number/100*t:Math.round(A.number/100*t)}return 0},Oc=function(A,e){var t=e.filter(Dt);if(t.length===3){var r=t.map(Dc),n=r[0],a=r[1],s=r[2];return je(n,a,s,1)}if(t.length===4){var u=t.map(Dc),n=u[0],a=u[1],s=u[2],o=u[3];return je(n,a,s,o)}return 0};function Ys(A,e,t){return t<0&&(t+=1),t>=1&&(t-=1),t<1/6?(e-A)*t*6+A:t<1/2?e:t<2/3?(e-A)*6*(2/3-t)+A:A}var Rc=function(A,e){var t=e.filter(Dt),r=t[0],n=t[1],a=t[2],s=t[3],u=(r.type===17?se(r.number):kn.parse(A,r))/(Math.PI*2),o=FA(n)?n.number/100:0,l=FA(a)?a.number/100:0,f=typeof s<"u"&&FA(s)?lA(s,1):1;if(o===0)return je(l*255,l*255,l*255,1);var h=l<=.5?l*(o+1):l+o-l*o,d=l*2-h,C=Ys(d,h,u+1/3),m=Ys(d,h,u),T=Ys(d,h,u-1/3);return je(C*255,m*255,T*255,f)},g1={hsl:Rc,hsla:Rc,rgb:Oc,rgba:Oc},vr=function(A,e){return Je.parse(A,Ic.create(e).parseComponentValue())},ve={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},E1={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(t){if(uA(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},p1={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Pn=function(A,e){var t=Je.parse(A,e[0]),r=e[1];return r&&FA(r)?{color:t,stop:r}:{color:t,stop:null}},Mc=function(A,e){var t=A[0],r=A[A.length-1];t.stop===null&&(t.stop=RA),r.stop===null&&(r.stop=We);for(var n=[],a=0,s=0;s<A.length;s++){var u=A[s].stop;if(u!==null){var o=lA(u,e);o>a?n.push(o):n.push(a),a=o}else n.push(null)}for(var l=null,s=0;s<n.length;s++){var f=n[s];if(f===null)l===null&&(l=s);else if(l!==null){for(var h=s-l,d=n[l-1],C=(f-d)/(h+1),m=1;m<=h;m++)n[l+m-1]=C*m;l=null}}return A.map(function(T,U){var N=T.color;return{color:N,stop:Math.max(Math.min(1,n[U]/e),0)}})},m1=function(A,e,t){var r=e/2,n=t/2,a=lA(A[0],e)-r,s=n-lA(A[1],t);return(Math.atan2(s,a)+Math.PI*2)%(Math.PI*2)},C1=function(A,e,t){var r=typeof A=="number"?A:m1(A,e,t),n=Math.abs(e*Math.sin(r))+Math.abs(t*Math.cos(r)),a=e/2,s=t/2,u=n/2,o=Math.sin(r-Math.PI/2)*u,l=Math.cos(r-Math.PI/2)*u;return[n,a-l,a+l,s-o,s+o]},de=function(A,e){return Math.sqrt(A*A+e*e)},kc=function(A,e,t,r,n){var a=[[0,0],[0,e],[A,0],[A,e]];return a.reduce(function(s,u){var o=u[0],l=u[1],f=de(t-o,r-l);return(n?f<s.optimumDistance:f>s.optimumDistance)?{optimumCorner:u,optimumDistance:f}:s},{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner},w1=function(A,e,t,r,n){var a=0,s=0;switch(A.size){case 0:A.shape===0?a=s=Math.min(Math.abs(e),Math.abs(e-r),Math.abs(t),Math.abs(t-n)):A.shape===1&&(a=Math.min(Math.abs(e),Math.abs(e-r)),s=Math.min(Math.abs(t),Math.abs(t-n)));break;case 2:if(A.shape===0)a=s=Math.min(de(e,t),de(e,t-n),de(e-r,t),de(e-r,t-n));else if(A.shape===1){var u=Math.min(Math.abs(t),Math.abs(t-n))/Math.min(Math.abs(e),Math.abs(e-r)),o=kc(r,n,e,t,!0),l=o[0],f=o[1];a=de(l-e,(f-t)/u),s=u*a}break;case 1:A.shape===0?a=s=Math.max(Math.abs(e),Math.abs(e-r),Math.abs(t),Math.abs(t-n)):A.shape===1&&(a=Math.max(Math.abs(e),Math.abs(e-r)),s=Math.max(Math.abs(t),Math.abs(t-n)));break;case 3:if(A.shape===0)a=s=Math.max(de(e,t),de(e,t-n),de(e-r,t),de(e-r,t-n));else if(A.shape===1){var u=Math.max(Math.abs(t),Math.abs(t-n))/Math.max(Math.abs(e),Math.abs(e-r)),h=kc(r,n,e,t,!1),l=h[0],f=h[1];a=de(l-e,(f-t)/u),s=u*a}break}return Array.isArray(A.size)&&(a=lA(A.size[0],r),s=A.size.length===2?lA(A.size[1],n):a),[a,s]},T1=function(A,e){var t=se(180),r=[];return be(e).forEach(function(n,a){if(a===0){var s=n[0];if(s.type===20&&s.value==="to"){t=Hc(n);return}else if(Lc(s)){t=kn.parse(A,s);return}}var u=Pn(A,n);r.push(u)}),{angle:t,stops:r,type:1}},Kn=function(A,e){var t=se(180),r=[];return be(e).forEach(function(n,a){if(a===0){var s=n[0];if(s.type===20&&["top","left","right","bottom"].indexOf(s.value)!==-1){t=Hc(n);return}else if(Lc(s)){t=(kn.parse(A,s)+se(270))%se(360);return}}var u=Pn(A,n);r.push(u)}),{angle:t,stops:r,type:1}},b1=function(A,e){var t=se(180),r=[],n=1,a=0,s=3,u=[];return be(e).forEach(function(o,l){var f=o[0];if(l===0){if(uA(f)&&f.value==="linear"){n=1;return}else if(uA(f)&&f.value==="radial"){n=2;return}}if(f.type===18){if(f.name==="from"){var h=Je.parse(A,f.values[0]);r.push({stop:RA,color:h})}else if(f.name==="to"){var h=Je.parse(A,f.values[0]);r.push({stop:We,color:h})}else if(f.name==="color-stop"){var d=f.values.filter(Dt);if(d.length===2){var h=Je.parse(A,d[1]),C=d[0];Ht(C)&&r.push({stop:{type:16,number:C.number*100,flags:C.flags},color:h})}}}}),n===1?{angle:(t+se(180))%se(360),stops:r,type:n}:{size:s,shape:a,stops:r,position:u,type:n}},Pc="closest-side",Kc="farthest-side",Vc="closest-corner",Gc="farthest-corner",Yc="circle",Xc="ellipse",Wc="cover",Jc="contain",U1=function(A,e){var t=0,r=3,n=[],a=[];return be(e).forEach(function(s,u){var o=!0;if(u===0){var l=!1;o=s.reduce(function(h,d){if(l)if(uA(d))switch(d.value){case"center":return a.push(Gs),h;case"top":case"left":return a.push(RA),h;case"right":case"bottom":return a.push(We),h}else(FA(d)||Xe(d))&&a.push(d);else if(uA(d))switch(d.value){case Yc:return t=0,!1;case Xc:return t=1,!1;case"at":return l=!0,!1;case Pc:return r=0,!1;case Wc:case Kc:return r=1,!1;case Jc:case Vc:return r=2,!1;case Gc:return r=3,!1}else if(Xe(d)||FA(d))return Array.isArray(r)||(r=[]),r.push(d),!1;return h},o)}if(o){var f=Pn(A,s);n.push(f)}}),{size:r,shape:t,stops:n,position:a,type:2}},Vn=function(A,e){var t=0,r=3,n=[],a=[];return be(e).forEach(function(s,u){var o=!0;if(u===0?o=s.reduce(function(f,h){if(uA(h))switch(h.value){case"center":return a.push(Gs),!1;case"top":case"left":return a.push(RA),!1;case"right":case"bottom":return a.push(We),!1}else if(FA(h)||Xe(h))return a.push(h),!1;return f},o):u===1&&(o=s.reduce(function(f,h){if(uA(h))switch(h.value){case Yc:return t=0,!1;case Xc:return t=1,!1;case Jc:case Pc:return r=0,!1;case Kc:return r=1,!1;case Vc:return r=2,!1;case Wc:case Gc:return r=3,!1}else if(Xe(h)||FA(h))return Array.isArray(r)||(r=[]),r.push(h),!1;return f},o)),o){var l=Pn(A,s);n.push(l)}}),{size:r,shape:t,stops:n,position:a,type:2}},Q1=function(A){return A.type===1},F1=function(A){return A.type===2},Xs={name:"image",parse:function(A,e){if(e.type===22){var t={url:e.value,type:0};return A.cache.addImage(e.value),t}if(e.type===18){var r=qc[e.name];if(typeof r>"u")throw new Error('Attempting to parse an unsupported image function "'+e.name+'"');return r(A,e.values)}throw new Error("Unsupported image type "+e.type)}};function I1(A){return!(A.type===20&&A.value==="none")&&(A.type!==18||!!qc[A.name])}var qc={"linear-gradient":T1,"-moz-linear-gradient":Kn,"-ms-linear-gradient":Kn,"-o-linear-gradient":Kn,"-webkit-linear-gradient":Kn,"radial-gradient":U1,"-moz-radial-gradient":Vn,"-ms-radial-gradient":Vn,"-o-radial-gradient":Vn,"-webkit-radial-gradient":Vn,"-webkit-gradient":b1},_1={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(e.length===0)return[];var t=e[0];return t.type===20&&t.value==="none"?[]:e.filter(function(r){return Dt(r)&&I1(r)}).map(function(r){return Xs.parse(A,r)})}},y1={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(t){if(uA(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},N1={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(A,e){return be(e).map(function(t){return t.filter(FA)}).map(yc)}},v1={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(A,e){return be(e).map(function(t){return t.filter(uA).map(function(r){return r.value}).join(" ")}).map(S1)}},S1=function(A){switch(A){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},Ot;(function(A){A.AUTO="auto",A.CONTAIN="contain",A.COVER="cover"})(Ot||(Ot={}));var x1={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(A,e){return be(e).map(function(t){return t.filter(L1)})}},L1=function(A){return uA(A)||FA(A)},Gn=function(A){return{name:"border-"+A+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},H1=Gn("top"),D1=Gn("right"),O1=Gn("bottom"),R1=Gn("left"),Yn=function(A){return{name:"border-radius-"+A,initialValue:"0 0",prefix:!1,type:1,parse:function(e,t){return yc(t.filter(FA))}}},M1=Yn("top-left"),k1=Yn("top-right"),P1=Yn("bottom-right"),K1=Yn("bottom-left"),Xn=function(A){return{name:"border-"+A+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(e,t){switch(t){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},V1=Xn("top"),G1=Xn("right"),Y1=Xn("bottom"),X1=Xn("left"),Wn=function(A){return{name:"border-"+A+"-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return yr(t)?t.number:0}}},W1=Wn("top"),J1=Wn("right"),q1=Wn("bottom"),j1=Wn("left"),$1={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Z1={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(A,e){switch(e){case"rtl":return 1;case"ltr":default:return 0}}},z1={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(A,e){return e.filter(uA).reduce(function(t,r){return t|Aw(r.value)},0)}},Aw=function(A){switch(A){case"block":case"-webkit-box":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},ew={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},tw={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(A,e){return e.type===20&&e.value==="normal"?0:e.type===17||e.type===15?e.number:0}},Jn;(function(A){A.NORMAL="normal",A.STRICT="strict"})(Jn||(Jn={}));var rw={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"strict":return Jn.STRICT;case"normal":default:return Jn.NORMAL}}},nw={name:"line-height",initialValue:"normal",prefix:!1,type:4},jc=function(A,e){return uA(A)&&A.value==="normal"?1.2*e:A.type===17?e*A.number:FA(A)?lA(A,e):e},aw={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(A,e){return e.type===20&&e.value==="none"?null:Xs.parse(A,e)}},sw={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(A,e){switch(e){case"inside":return 0;case"outside":default:return 1}}},Ws={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},qn=function(A){return{name:"margin-"+A,initialValue:"0",prefix:!1,type:4}},iw=qn("top"),uw=qn("right"),ow=qn("bottom"),cw=qn("left"),lw={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(A,e){return e.filter(uA).map(function(t){switch(t.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},fw={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"break-word":return"break-word";case"normal":default:return"normal"}}},jn=function(A){return{name:"padding-"+A,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},hw=jn("top"),dw=jn("right"),Bw=jn("bottom"),gw=jn("left"),Ew={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(A,e){switch(e){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},pw={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(A,e){switch(e){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},mw={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.length===1&&Vs(e[0],"none")?[]:be(e).map(function(t){for(var r={color:ve.TRANSPARENT,offsetX:RA,offsetY:RA,blur:RA},n=0,a=0;a<t.length;a++){var s=t[a];Xe(s)?(n===0?r.offsetX=s:n===1?r.offsetY=s:r.blur=s,n++):r.color=Je.parse(A,s)}return r})}},Cw={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},ww={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(A,e){if(e.type===20&&e.value==="none")return null;if(e.type===18){var t=Uw[e.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported transform function "'+e.name+'"');return t(e.values)}return null}},Tw=function(A){var e=A.filter(function(t){return t.type===17}).map(function(t){return t.number});return e.length===6?e:null},bw=function(A){var e=A.filter(function(o){return o.type===17}).map(function(o){return o.number}),t=e[0],r=e[1];e[2],e[3];var n=e[4],a=e[5];e[6],e[7],e[8],e[9],e[10],e[11];var s=e[12],u=e[13];return e[14],e[15],e.length===16?[t,r,n,a,s,u]:null},Uw={matrix:Tw,matrix3d:bw},$c={type:16,number:50,flags:Ur},Qw=[$c,$c],Fw={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(A,e){var t=e.filter(FA);return t.length!==2?Qw:[t[0],t[1]]}},Iw={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},Sr;(function(A){A.NORMAL="normal",A.BREAK_ALL="break-all",A.KEEP_ALL="keep-all"})(Sr||(Sr={}));for(var _w={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"break-all":return Sr.BREAK_ALL;case"keep-all":return Sr.KEEP_ALL;case"normal":default:return Sr.NORMAL}}},yw={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(A,e){if(e.type===20)return{auto:!0,order:0};if(Ht(e))return{auto:!1,order:e.number};throw new Error("Invalid z-index number parsed")}},Zc={name:"time",parse:function(A,e){if(e.type===15)switch(e.unit.toLowerCase()){case"s":return 1e3*e.number;case"ms":return e.number}throw new Error("Unsupported time type")}},Nw={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(A,e){return Ht(e)?e.number:1}},vw={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Sw={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(A,e){return e.filter(uA).map(function(t){switch(t.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(t){return t!==0})}},xw={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(A,e){var t=[],r=[];return e.forEach(function(n){switch(n.type){case 20:case 0:t.push(n.value);break;case 17:t.push(n.number.toString());break;case 4:r.push(t.join(" ")),t.length=0;break}}),t.length&&r.push(t.join(" ")),r.map(function(n){return n.indexOf(" ")===-1?n:"'"+n+"'"})}},Lw={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},Hw={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(A,e){if(Ht(e))return e.number;if(uA(e))switch(e.value){case"bold":return 700;case"normal":default:return 400}return 400}},Dw={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.filter(uA).map(function(t){return t.value})}},Ow={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},yA=function(A,e){return(A&e)!==0},Rw={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(e.length===0)return[];var t=e[0];return t.type===20&&t.value==="none"?[]:e}},Mw={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(e.length===0)return null;var t=e[0];if(t.type===20&&t.value==="none")return null;for(var r=[],n=e.filter(_c),a=0;a<n.length;a++){var s=n[a],u=n[a+1];if(s.type===20){var o=u&&Ht(u)?u.number:1;r.push({counter:s.value,increment:o})}}return r}},kw={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(e.length===0)return[];for(var t=[],r=e.filter(_c),n=0;n<r.length;n++){var a=r[n],s=r[n+1];if(uA(a)&&a.value!=="none"){var u=s&&Ht(s)?s.number:0;t.push({counter:a.value,reset:u})}}return t}},Pw={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(A,e){return e.filter(yr).map(function(t){return Zc.parse(A,t)})}},Kw={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(e.length===0)return null;var t=e[0];if(t.type===20&&t.value==="none")return null;var r=[],n=e.filter(d1);if(n.length%2!==0)return null;for(var a=0;a<n.length;a+=2){var s=n[a].value,u=n[a+1].value;r.push({open:s,close:u})}return r}},zc=function(A,e,t){if(!A)return"";var r=A[Math.min(e,A.length-1)];return r?t?r.open:r.close:""},Vw={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.length===1&&Vs(e[0],"none")?[]:be(e).map(function(t){for(var r={color:255,offsetX:RA,offsetY:RA,blur:RA,spread:RA,inset:!1},n=0,a=0;a<t.length;a++){var s=t[a];Vs(s,"inset")?r.inset=!0:Xe(s)?(n===0?r.offsetX=s:n===1?r.offsetY=s:n===2?r.blur=s:r.spread=s,n++):r.color=Je.parse(A,s)}return r})}},Gw={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(A,e){var t=[0,1,2],r=[];return e.filter(uA).forEach(function(n){switch(n.value){case"stroke":r.push(1);break;case"fill":r.push(0);break;case"markers":r.push(2);break}}),t.forEach(function(n){r.indexOf(n)===-1&&r.push(n)}),r}},Yw={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},Xw={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(A,e){return yr(e)?e.number:0}},Ww=function(){function A(e,t){var r,n;this.animationDuration=M(e,Pw,t.animationDuration),this.backgroundClip=M(e,E1,t.backgroundClip),this.backgroundColor=M(e,p1,t.backgroundColor),this.backgroundImage=M(e,_1,t.backgroundImage),this.backgroundOrigin=M(e,y1,t.backgroundOrigin),this.backgroundPosition=M(e,N1,t.backgroundPosition),this.backgroundRepeat=M(e,v1,t.backgroundRepeat),this.backgroundSize=M(e,x1,t.backgroundSize),this.borderTopColor=M(e,H1,t.borderTopColor),this.borderRightColor=M(e,D1,t.borderRightColor),this.borderBottomColor=M(e,O1,t.borderBottomColor),this.borderLeftColor=M(e,R1,t.borderLeftColor),this.borderTopLeftRadius=M(e,M1,t.borderTopLeftRadius),this.borderTopRightRadius=M(e,k1,t.borderTopRightRadius),this.borderBottomRightRadius=M(e,P1,t.borderBottomRightRadius),this.borderBottomLeftRadius=M(e,K1,t.borderBottomLeftRadius),this.borderTopStyle=M(e,V1,t.borderTopStyle),this.borderRightStyle=M(e,G1,t.borderRightStyle),this.borderBottomStyle=M(e,Y1,t.borderBottomStyle),this.borderLeftStyle=M(e,X1,t.borderLeftStyle),this.borderTopWidth=M(e,W1,t.borderTopWidth),this.borderRightWidth=M(e,J1,t.borderRightWidth),this.borderBottomWidth=M(e,q1,t.borderBottomWidth),this.borderLeftWidth=M(e,j1,t.borderLeftWidth),this.boxShadow=M(e,Vw,t.boxShadow),this.color=M(e,$1,t.color),this.direction=M(e,Z1,t.direction),this.display=M(e,z1,t.display),this.float=M(e,ew,t.cssFloat),this.fontFamily=M(e,xw,t.fontFamily),this.fontSize=M(e,Lw,t.fontSize),this.fontStyle=M(e,Ow,t.fontStyle),this.fontVariant=M(e,Dw,t.fontVariant),this.fontWeight=M(e,Hw,t.fontWeight),this.letterSpacing=M(e,tw,t.letterSpacing),this.lineBreak=M(e,rw,t.lineBreak),this.lineHeight=M(e,nw,t.lineHeight),this.listStyleImage=M(e,aw,t.listStyleImage),this.listStylePosition=M(e,sw,t.listStylePosition),this.listStyleType=M(e,Ws,t.listStyleType),this.marginTop=M(e,iw,t.marginTop),this.marginRight=M(e,uw,t.marginRight),this.marginBottom=M(e,ow,t.marginBottom),this.marginLeft=M(e,cw,t.marginLeft),this.opacity=M(e,Nw,t.opacity);var a=M(e,lw,t.overflow);this.overflowX=a[0],this.overflowY=a[a.length>1?1:0],this.overflowWrap=M(e,fw,t.overflowWrap),this.paddingTop=M(e,hw,t.paddingTop),this.paddingRight=M(e,dw,t.paddingRight),this.paddingBottom=M(e,Bw,t.paddingBottom),this.paddingLeft=M(e,gw,t.paddingLeft),this.paintOrder=M(e,Gw,t.paintOrder),this.position=M(e,pw,t.position),this.textAlign=M(e,Ew,t.textAlign),this.textDecorationColor=M(e,vw,(r=t.textDecorationColor)!==null&&r!==void 0?r:t.color),this.textDecorationLine=M(e,Sw,(n=t.textDecorationLine)!==null&&n!==void 0?n:t.textDecoration),this.textShadow=M(e,mw,t.textShadow),this.textTransform=M(e,Cw,t.textTransform),this.transform=M(e,ww,t.transform),this.transformOrigin=M(e,Fw,t.transformOrigin),this.visibility=M(e,Iw,t.visibility),this.webkitTextStrokeColor=M(e,Yw,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=M(e,Xw,t.webkitTextStrokeWidth),this.wordBreak=M(e,_w,t.wordBreak),this.zIndex=M(e,yw,t.zIndex)}return A.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},A.prototype.isTransparent=function(){return qe(this.backgroundColor)},A.prototype.isTransformed=function(){return this.transform!==null},A.prototype.isPositioned=function(){return this.position!==0},A.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},A.prototype.isFloating=function(){return this.float!==0},A.prototype.isInlineLevel=function(){return yA(this.display,4)||yA(this.display,33554432)||yA(this.display,268435456)||yA(this.display,536870912)||yA(this.display,67108864)||yA(this.display,134217728)},A}(),Jw=function(){function A(e,t){this.content=M(e,Rw,t.content),this.quotes=M(e,Kw,t.quotes)}return A}(),Al=function(){function A(e,t){this.counterIncrement=M(e,Mw,t.counterIncrement),this.counterReset=M(e,kw,t.counterReset)}return A}(),M=function(A,e,t){var r=new Fc,n=t!==null&&typeof t<"u"?t.toString():e.initialValue;r.write(n);var a=new Ic(r.read());switch(e.type){case 2:var s=a.parseComponentValue();return e.parse(A,uA(s)?s.value:e.initialValue);case 0:return e.parse(A,a.parseComponentValue());case 1:return e.parse(A,a.parseComponentValues());case 4:return a.parseComponentValue();case 3:switch(e.format){case"angle":return kn.parse(A,a.parseComponentValue());case"color":return Je.parse(A,a.parseComponentValue());case"image":return Xs.parse(A,a.parseComponentValue());case"length":var u=a.parseComponentValue();return Xe(u)?u:RA;case"length-percentage":var o=a.parseComponentValue();return FA(o)?o:RA;case"time":return Zc.parse(A,a.parseComponentValue())}break}},qw="data-html2canvas-debug",jw=function(A){var e=A.getAttribute(qw);switch(e){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Js=function(A,e){var t=jw(A);return t===1||e===t},Ue=function(){function A(e,t){if(this.context=e,this.textNodes=[],this.elements=[],this.flags=0,Js(t,3))debugger;this.styles=new Ww(e,window.getComputedStyle(t,null)),ui(t)&&(this.styles.animationDuration.some(function(r){return r>0})&&(t.style.animationDuration="0s"),this.styles.transform!==null&&(t.style.transform="none")),this.bounds=Cn(this.context,t),Js(t,4)&&(this.flags|=16)}return A}(),$w="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAg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BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAA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AZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBY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AAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",el="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",xr=typeof Uint8Array>"u"?[]:new Uint8Array(256),$n=0;$n<el.length;$n++)xr[el.charCodeAt($n)]=$n;for(var Zw=function(A){var e=A.length*.75,t=A.length,r,n=0,a,s,u,o;A[A.length-1]==="="&&(e--,A[A.length-2]==="="&&e--);var l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(e):new Array(e),f=Array.isArray(l)?l:new Uint8Array(l);for(r=0;r<t;r+=4)a=xr[A.charCodeAt(r)],s=xr[A.charCodeAt(r+1)],u=xr[A.charCodeAt(r+2)],o=xr[A.charCodeAt(r+3)],f[n++]=a<<2|s>>4,f[n++]=(s&15)<<4|u>>2,f[n++]=(u&3)<<6|o&63;return l},zw=function(A){for(var e=A.length,t=[],r=0;r<e;r+=2)t.push(A[r+1]<<8|A[r]);return t},AT=function(A){for(var e=A.length,t=[],r=0;r<e;r+=4)t.push(A[r+3]<<24|A[r+2]<<16|A[r+1]<<8|A[r]);return t},dt=5,qs=11,js=2,eT=qs-dt,tl=65536>>dt,tT=1<<dt,$s=tT-1,rT=1024>>dt,nT=tl+rT,aT=nT,sT=32,iT=aT+sT,uT=65536>>qs,oT=1<<eT,cT=oT-1,rl=function(A,e,t){return A.slice?A.slice(e,t):new Uint16Array(Array.prototype.slice.call(A,e,t))},lT=function(A,e,t){return A.slice?A.slice(e,t):new Uint32Array(Array.prototype.slice.call(A,e,t))},fT=function(A,e){var t=Zw(A),r=Array.isArray(t)?AT(t):new Uint32Array(t),n=Array.isArray(t)?zw(t):new Uint16Array(t),a=24,s=rl(n,a/2,r[4]/2),u=r[5]===2?rl(n,(a+r[4])/2):lT(r,Math.ceil((a+r[4])/4));return new hT(r[0],r[1],r[2],r[3],s,u)},hT=function(){function A(e,t,r,n,a,s){this.initialValue=e,this.errorValue=t,this.highStart=r,this.highValueIndex=n,this.index=a,this.data=s}return A.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>dt],t=(t<<js)+(e&$s),this.data[t];if(e<=65535)return t=this.index[tl+(e-55296>>dt)],t=(t<<js)+(e&$s),this.data[t];if(e<this.highStart)return t=iT-uT+(e>>qs),t=this.index[t],t+=e>>dt&cT,t=this.index[t],t=(t<<js)+(e&$s),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A}(),nl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",dT=typeof Uint8Array>"u"?[]:new Uint8Array(256),Zn=0;Zn<nl.length;Zn++)dT[nl.charCodeAt(Zn)]=Zn;var BT=1,Zs=2,zs=3,al=4,sl=5,gT=7,il=8,Ai=9,ei=10,ul=11,ol=12,cl=13,ll=14,ti=15,ET=function(A){for(var e=[],t=0,r=A.length;t<r;){var n=A.charCodeAt(t++);if(n>=55296&&n<=56319&&t<r){var a=A.charCodeAt(t++);(a&64512)===56320?e.push(((n&1023)<<10)+(a&1023)+65536):(e.push(n),t--)}else e.push(n)}return e},pT=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,A);var t=A.length;if(!t)return"";for(var r=[],n=-1,a="";++n<t;){var s=A[n];s<=65535?r.push(s):(s-=65536,r.push((s>>10)+55296,s%1024+56320)),(n+1===t||r.length>16384)&&(a+=String.fromCharCode.apply(String,r),r.length=0)}return a},mT=fT($w),ie="×",ri="÷",CT=function(A){return mT.get(A)},wT=function(A,e,t){var r=t-2,n=e[r],a=e[t-1],s=e[t];if(a===Zs&&s===zs)return ie;if(a===Zs||a===zs||a===al||s===Zs||s===zs||s===al)return ri;if(a===il&&[il,Ai,ul,ol].indexOf(s)!==-1||(a===ul||a===Ai)&&(s===Ai||s===ei)||(a===ol||a===ei)&&s===ei||s===cl||s===sl||s===gT||a===BT)return ie;if(a===cl&&s===ll){for(;n===sl;)n=e[--r];if(n===ll)return ie}if(a===ti&&s===ti){for(var u=0;n===ti;)u++,n=e[--r];if(u%2===0)return ie}return ri},TT=function(A){var e=ET(A),t=e.length,r=0,n=0,a=e.map(CT);return{next:function(){if(r>=t)return{done:!0,value:null};for(var s=ie;r<t&&(s=wT(e,a,++r))===ie;);if(s!==ie||r===t){var u=pT.apply(null,e.slice(n,r));return n=r,{value:u,done:!1}}return{done:!0,value:null}}}},bT=function(A){for(var e=TT(A),t=[],r;!(r=e.next()).done;)r.value&&t.push(r.value.slice());return t},UT=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(),a=Math.round(n.height);if(A.body.removeChild(r),a===e)return!0}}return!1},QT=function(A){var e=A.createElement("boundtest");e.style.width="50px",e.style.display="block",e.style.fontSize="12px",e.style.letterSpacing="0px",e.style.wordSpacing="0px",A.body.appendChild(e);var t=A.createRange();e.innerHTML=typeof"".repeat=="function"?"&#128104;".repeat(10):"";var r=e.firstChild,n=wn(r.data).map(function(o){return bA(o)}),a=0,s={},u=n.every(function(o,l){t.setStart(r,a),t.setEnd(r,a+o.length);var f=t.getBoundingClientRect();a+=o.length;var h=f.x>s.x||f.y>s.y;return s=f,l===0?!0:h});return A.body.removeChild(e),u},FT=function(){return typeof new Image().crossOrigin<"u"},IT=function(){return typeof new XMLHttpRequest().responseType=="string"},_T=function(A){var e=new Image,t=A.createElement("canvas"),r=t.getContext("2d");if(!r)return!1;e.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{r.drawImage(e,0,0),t.toDataURL()}catch{return!1}return!0},fl=function(A){return A[0]===0&&A[1]===255&&A[2]===0&&A[3]===255},yT=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,a=e.toDataURL();n.src=a;var s=ni(t,t,0,0,n);return r.fillStyle="red",r.fillRect(0,0,t,t),hl(s).then(function(u){r.drawImage(u,0,0);var o=r.getImageData(0,0,t,t).data;r.fillStyle="red",r.fillRect(0,0,t,t);var l=A.createElement("div");return l.style.backgroundImage="url("+a+")",l.style.height=t+"px",fl(o)?hl(ni(t,t,0,0,l)):Promise.reject(!1)}).then(function(u){return r.drawImage(u,0,0),fl(r.getImageData(0,0,t,t).data)}).catch(function(){return!1})},ni=function(A,e,t,r,n){var a="http://www.w3.org/2000/svg",s=document.createElementNS(a,"svg"),u=document.createElementNS(a,"foreignObject");return s.setAttributeNS(null,"width",A.toString()),s.setAttributeNS(null,"height",e.toString()),u.setAttributeNS(null,"width","100%"),u.setAttributeNS(null,"height","100%"),u.setAttributeNS(null,"x",t.toString()),u.setAttributeNS(null,"y",r.toString()),u.setAttributeNS(null,"externalResourcesRequired","true"),s.appendChild(u),u.appendChild(n),s},hl=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))})},MA={get SUPPORT_RANGE_BOUNDS(){var A=UT(document);return Object.defineProperty(MA,"SUPPORT_RANGE_BOUNDS",{value:A}),A},get SUPPORT_WORD_BREAKING(){var A=MA.SUPPORT_RANGE_BOUNDS&&QT(document);return Object.defineProperty(MA,"SUPPORT_WORD_BREAKING",{value:A}),A},get SUPPORT_SVG_DRAWING(){var A=_T(document);return Object.defineProperty(MA,"SUPPORT_SVG_DRAWING",{value:A}),A},get SUPPORT_FOREIGNOBJECT_DRAWING(){var A=typeof Array.from=="function"&&typeof window.fetch=="function"?yT(document):Promise.resolve(!1);return Object.defineProperty(MA,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:A}),A},get SUPPORT_CORS_IMAGES(){var A=FT();return Object.defineProperty(MA,"SUPPORT_CORS_IMAGES",{value:A}),A},get SUPPORT_RESPONSE_TYPE(){var A=IT();return Object.defineProperty(MA,"SUPPORT_RESPONSE_TYPE",{value:A}),A},get SUPPORT_CORS_XHR(){var A="withCredentials"in new XMLHttpRequest;return Object.defineProperty(MA,"SUPPORT_CORS_XHR",{value:A}),A},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var A=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(MA,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:A}),A}},Lr=function(){function A(e,t){this.text=e,this.bounds=t}return A}(),NT=function(A,e,t,r){var n=xT(e,t),a=[],s=0;return n.forEach(function(u){if(t.textDecorationLine.length||u.trim().length>0)if(MA.SUPPORT_RANGE_BOUNDS){var o=dl(r,s,u.length).getClientRects();if(o.length>1){var l=ai(u),f=0;l.forEach(function(d){a.push(new Lr(d,ye.fromDOMRectList(A,dl(r,f+s,d.length).getClientRects()))),f+=d.length})}else a.push(new Lr(u,ye.fromDOMRectList(A,o)))}else{var h=r.splitText(u.length);a.push(new Lr(u,vT(A,r))),r=h}else MA.SUPPORT_RANGE_BOUNDS||(r=r.splitText(u.length));s+=u.length}),a},vT=function(A,e){var t=e.ownerDocument;if(t){var r=t.createElement("html2canvaswrapper");r.appendChild(e.cloneNode(!0));var n=e.parentNode;if(n){n.replaceChild(r,e);var a=Cn(A,r);return r.firstChild&&n.replaceChild(r.firstChild,r),a}}return ye.EMPTY},dl=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),n},ai=function(A){if(MA.SUPPORT_NATIVE_TEXT_SEGMENTATION){var e=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(e.segment(A)).map(function(t){return t.segment})}return bT(A)},ST=function(A,e){if(MA.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(t.segment(A)).map(function(r){return r.segment})}return HT(A,e)},xT=function(A,e){return e.letterSpacing!==0?ai(A):ST(A,e)},LT=[32,160,4961,65792,65793,4153,4241],HT=function(A,e){for(var t=uC(A,{lineBreak:e.lineBreak,wordBreak:e.overflowWrap==="break-word"?"break-word":e.wordBreak}),r=[],n,a=function(){if(n.value){var s=n.value.slice(),u=wn(s),o="";u.forEach(function(l){LT.indexOf(l)===-1?o+=bA(l):(o.length&&r.push(o),r.push(bA(l)),o="")}),o.length&&r.push(o)}};!(n=t.next()).done;)a();return r},DT=function(){function A(e,t,r){this.text=OT(t.data,r.textTransform),this.textBounds=NT(e,this.text,r,t)}return A}(),OT=function(A,e){switch(e){case 1:return A.toLowerCase();case 3:return A.replace(RT,MT);case 2:return A.toUpperCase();default:return A}},RT=/(^|\s|:|-|\(|\))([a-z])/g,MT=function(A,e,t){return A.length>0?e+t.toUpperCase():A},Bl=function(A){he(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.src=r.currentSrc||r.src,n.intrinsicWidth=r.naturalWidth,n.intrinsicHeight=r.naturalHeight,n.context.cache.addImage(n.src),n}return e}(Ue),gl=function(A){he(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.canvas=r,n.intrinsicWidth=r.width,n.intrinsicHeight=r.height,n}return e}(Ue),El=function(A){he(e,A);function e(t,r){var n=A.call(this,t,r)||this,a=new XMLSerializer,s=Cn(t,r);return r.setAttribute("width",s.width+"px"),r.setAttribute("height",s.height+"px"),n.svg="data:image/svg+xml,"+encodeURIComponent(a.serializeToString(r)),n.intrinsicWidth=r.width.baseVal.value,n.intrinsicHeight=r.height.baseVal.value,n.context.cache.addImage(n.svg),n}return e}(Ue),pl=function(A){he(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.value=r.value,n}return e}(Ue),si=function(A){he(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.start=r.start,n.reversed=typeof r.reversed=="boolean"&&r.reversed===!0,n}return e}(Ue),kT=[{type:15,flags:0,unit:"px",number:3}],PT=[{type:16,flags:0,number:50}],KT=function(A){return A.width>A.height?new ye(A.left+(A.width-A.height)/2,A.top,A.height,A.height):A.width<A.height?new ye(A.left,A.top+(A.height-A.width)/2,A.width,A.width):A},VT=function(A){var e=A.type===GT?new Array(A.value.length+1).join("•"):A.value;return e.length===0?A.placeholder||"":e},zn="checkbox",Aa="radio",GT="password",ml=707406591,ii=function(A){he(e,A);function e(t,r){var n=A.call(this,t,r)||this;switch(n.type=r.type.toLowerCase(),n.checked=r.checked,n.value=VT(r),(n.type===zn||n.type===Aa)&&(n.styles.backgroundColor=3739148031,n.styles.borderTopColor=n.styles.borderRightColor=n.styles.borderBottomColor=n.styles.borderLeftColor=2779096575,n.styles.borderTopWidth=n.styles.borderRightWidth=n.styles.borderBottomWidth=n.styles.borderLeftWidth=1,n.styles.borderTopStyle=n.styles.borderRightStyle=n.styles.borderBottomStyle=n.styles.borderLeftStyle=1,n.styles.backgroundClip=[0],n.styles.backgroundOrigin=[0],n.bounds=KT(n.bounds)),n.type){case zn:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=kT;break;case Aa:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=PT;break}return n}return e}(Ue),Cl=function(A){he(e,A);function e(t,r){var n=A.call(this,t,r)||this,a=r.options[r.selectedIndex||0];return n.value=a&&a.text||"",n}return e}(Ue),wl=function(A){he(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.value=r.value,n}return e}(Ue),Tl=function(A){he(e,A);function e(t,r){var n=A.call(this,t,r)||this;n.src=r.src,n.width=parseInt(r.width,10)||0,n.height=parseInt(r.height,10)||0,n.backgroundColor=n.styles.backgroundColor;try{if(r.contentWindow&&r.contentWindow.document&&r.contentWindow.document.documentElement){n.tree=Ul(t,r.contentWindow.document.documentElement);var a=r.contentWindow.document.documentElement?vr(t,getComputedStyle(r.contentWindow.document.documentElement).backgroundColor):ve.TRANSPARENT,s=r.contentWindow.document.body?vr(t,getComputedStyle(r.contentWindow.document.body).backgroundColor):ve.TRANSPARENT;n.backgroundColor=qe(a)?qe(s)?n.styles.backgroundColor:s:a}}catch{}return n}return e}(Ue),YT=["OL","UL","MENU"],ea=function(A,e,t,r){for(var n=e.firstChild,a=void 0;n;n=a)if(a=n.nextSibling,Ql(n)&&n.data.trim().length>0)t.textNodes.push(new DT(A,n,t.styles));else if(Rt(n))if(vl(n)&&n.assignedNodes)n.assignedNodes().forEach(function(u){return ea(A,u,t,r)});else{var s=bl(A,n);s.styles.isVisible()&&(XT(n,s,r)?s.flags|=4:WT(s.styles)&&(s.flags|=2),YT.indexOf(n.tagName)!==-1&&(s.flags|=8),t.elements.push(s),n.slot,n.shadowRoot?ea(A,n.shadowRoot,s,r):!ra(n)&&!Fl(n)&&!na(n)&&ea(A,n,s,r))}},bl=function(A,e){return ci(e)?new Bl(A,e):Il(e)?new gl(A,e):Fl(e)?new El(A,e):JT(e)?new pl(A,e):qT(e)?new si(A,e):jT(e)?new ii(A,e):na(e)?new Cl(A,e):ra(e)?new wl(A,e):yl(e)?new Tl(A,e):new Ue(A,e)},Ul=function(A,e){var t=bl(A,e);return t.flags|=4,ea(A,e,t,t),t},XT=function(A,e,t){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||oi(A)&&t.styles.isTransparent()},WT=function(A){return A.isPositioned()||A.isFloating()},Ql=function(A){return A.nodeType===Node.TEXT_NODE},Rt=function(A){return A.nodeType===Node.ELEMENT_NODE},ui=function(A){return Rt(A)&&typeof A.style<"u"&&!ta(A)},ta=function(A){return typeof A.className=="object"},JT=function(A){return A.tagName==="LI"},qT=function(A){return A.tagName==="OL"},jT=function(A){return A.tagName==="INPUT"},$T=function(A){return A.tagName==="HTML"},Fl=function(A){return A.tagName==="svg"},oi=function(A){return A.tagName==="BODY"},Il=function(A){return A.tagName==="CANVAS"},_l=function(A){return A.tagName==="VIDEO"},ci=function(A){return A.tagName==="IMG"},yl=function(A){return A.tagName==="IFRAME"},Nl=function(A){return A.tagName==="STYLE"},ZT=function(A){return A.tagName==="SCRIPT"},ra=function(A){return A.tagName==="TEXTAREA"},na=function(A){return A.tagName==="SELECT"},vl=function(A){return A.tagName==="SLOT"},Sl=function(A){return A.tagName.indexOf("-")>0},zT=function(){function A(){this.counters={}}return A.prototype.getCounterValue=function(e){var t=this.counters[e];return t&&t.length?t[t.length-1]:1},A.prototype.getCounterValues=function(e){var t=this.counters[e];return t||[]},A.prototype.pop=function(e){var t=this;e.forEach(function(r){return t.counters[r].pop()})},A.prototype.parse=function(e){var t=this,r=e.counterIncrement,n=e.counterReset,a=!0;r!==null&&r.forEach(function(u){var o=t.counters[u.counter];o&&u.increment!==0&&(a=!1,o.length||o.push(1),o[Math.max(0,o.length-1)]+=u.increment)});var s=[];return a&&n.forEach(function(u){var o=t.counters[u.counter];s.push(u.counter),o||(o=t.counters[u.counter]=[]),o.push(u.reset)}),s},A}(),xl={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"]},Ll={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:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},Ab={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:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},eb={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:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},Mt=function(A,e,t,r,n,a){return A<e||A>t?Dr(A,n,a.length>0):r.integers.reduce(function(s,u,o){for(;A>=u;)A-=u,s+=r.values[o];return s},"")+a},Hl=function(A,e,t,r){var n="";do t||A--,n=r(A)+n,A/=e;while(A*e>=e);return n},UA=function(A,e,t,r,n){var a=t-e+1;return(A<0?"-":"")+(Hl(Math.abs(A),a,r,function(s){return bA(Math.floor(s%a)+e)})+n)},Bt=function(A,e,t){t===void 0&&(t=". ");var r=e.length;return Hl(Math.abs(A),r,!1,function(n){return e[Math.floor(n%r)]})+t},kt=1,$e=2,Ze=4,Hr=8,Se=function(A,e,t,r,n,a){if(A<-9999||A>9999)return Dr(A,4,n.length>0);var s=Math.abs(A),u=n;if(s===0)return e[0]+u;for(var o=0;s>0&&o<=4;o++){var l=s%10;l===0&&yA(a,kt)&&u!==""?u=e[l]+u:l>1||l===1&&o===0||l===1&&o===1&&yA(a,$e)||l===1&&o===1&&yA(a,Ze)&&A>100||l===1&&o>1&&yA(a,Hr)?u=e[l]+(o>0?t[o-1]:"")+u:l===1&&o>0&&(u=t[o-1]+u),s=Math.floor(s/10)}return(A<0?r:"")+u},Dl="十百千萬",Ol="拾佰仟萬",Rl="マイナス",li="마이너스",Dr=function(A,e,t){var r=t?". ":"",n=t?"、":"",a=t?", ":"",s=t?" ":"";switch(e){case 0:return"•"+s;case 1:return"◦"+s;case 2:return"◾"+s;case 5:var u=UA(A,48,57,!0,r);return u.length<4?"0"+u:u;case 4:return Bt(A,"〇一二三四五六七八九",n);case 6:return Mt(A,1,3999,xl,3,r).toLowerCase();case 7:return Mt(A,1,3999,xl,3,r);case 8:return UA(A,945,969,!1,r);case 9:return UA(A,97,122,!1,r);case 10:return UA(A,65,90,!1,r);case 11:return UA(A,1632,1641,!0,r);case 12:case 49:return Mt(A,1,9999,Ll,3,r);case 35:return Mt(A,1,9999,Ll,3,r).toLowerCase();case 13:return UA(A,2534,2543,!0,r);case 14:case 30:return UA(A,6112,6121,!0,r);case 15:return Bt(A,"子丑寅卯辰巳午未申酉戌亥",n);case 16:return Bt(A,"甲乙丙丁戊己庚辛壬癸",n);case 17:case 48:return Se(A,"零一二三四五六七八九",Dl,"負",n,$e|Ze|Hr);case 47:return Se(A,"零壹貳參肆伍陸柒捌玖",Ol,"負",n,kt|$e|Ze|Hr);case 42:return Se(A,"零一二三四五六七八九",Dl,"负",n,$e|Ze|Hr);case 41:return Se(A,"零壹贰叁肆伍陆柒捌玖",Ol,"负",n,kt|$e|Ze|Hr);case 26:return Se(A,"〇一二三四五六七八九","十百千万",Rl,n,0);case 25:return Se(A,"零壱弐参四伍六七八九","拾百千万",Rl,n,kt|$e|Ze);case 31:return Se(A,"영일이삼사오육칠팔구","십백천만",li,a,kt|$e|Ze);case 33:return Se(A,"零一二三四五六七八九","十百千萬",li,a,0);case 32:return Se(A,"零壹貳參四五六七八九","拾百千",li,a,kt|$e|Ze);case 18:return UA(A,2406,2415,!0,r);case 20:return Mt(A,1,19999,eb,3,r);case 21:return UA(A,2790,2799,!0,r);case 22:return UA(A,2662,2671,!0,r);case 22:return Mt(A,1,10999,Ab,3,r);case 23:return Bt(A,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return Bt(A,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return UA(A,3302,3311,!0,r);case 28:return Bt(A,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",n);case 29:return Bt(A,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",n);case 34:return UA(A,3792,3801,!0,r);case 37:return UA(A,6160,6169,!0,r);case 38:return UA(A,4160,4169,!0,r);case 39:return UA(A,2918,2927,!0,r);case 40:return UA(A,1776,1785,!0,r);case 43:return UA(A,3046,3055,!0,r);case 44:return UA(A,3174,3183,!0,r);case 45:return UA(A,3664,3673,!0,r);case 46:return UA(A,3872,3881,!0,r);case 3:default:return UA(A,48,57,!0,r)}},Ml="data-html2canvas-ignore",kl=function(){function A(e,t,r){if(this.context=e,this.options=r,this.scrolledElements=[],this.referenceElement=t,this.counters=new zT,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return A.prototype.toIFrame=function(e,t){var r=this,n=tb(e,t);if(!n.contentWindow)return Promise.reject("Unable to find iframe window");var a=e.defaultView.pageXOffset,s=e.defaultView.pageYOffset,u=n.contentWindow,o=u.document,l=ab(n).then(function(){return YA(r,void 0,void 0,function(){var f,h;return KA(this,function(d){switch(d.label){case 0:return this.scrolledElements.forEach(ob),u&&(u.scrollTo(t.left,t.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(u.scrollY!==t.top||u.scrollX!==t.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(u.scrollX-t.left,u.scrollY-t.top,0,0))),f=this.options.onclone,h=this.clonedReferenceElement,typeof h>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:o.fonts&&o.fonts.ready?[4,o.fonts.ready]:[3,2];case 1:d.sent(),d.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,nb(o)]:[3,4];case 3:d.sent(),d.label=4;case 4:return typeof f=="function"?[2,Promise.resolve().then(function(){return f(o,h)}).then(function(){return n})]:[2,n]}})})});return o.open(),o.write(ib(document.doctype)+"<html></html>"),ub(this.referenceElement.ownerDocument,a,s),o.replaceChild(o.adoptNode(this.documentElement),o.documentElement),o.close(),l},A.prototype.createElementClone=function(e){if(Js(e,2))debugger;if(Il(e))return this.createCanvasClone(e);if(_l(e))return this.createVideoClone(e);if(Nl(e))return this.createStyleClone(e);var t=e.cloneNode(!1);return ci(t)&&(ci(e)&&e.currentSrc&&e.currentSrc!==e.src&&(t.src=e.currentSrc,t.srcset=""),t.loading==="lazy"&&(t.loading="eager")),Sl(t)?this.createCustomElementClone(t):t},A.prototype.createCustomElementClone=function(e){var t=document.createElement("html2canvascustomelement");return fi(e.style,t),t},A.prototype.createStyleClone=function(e){try{var t=e.sheet;if(t&&t.cssRules){var r=[].slice.call(t.cssRules,0).reduce(function(a,s){return s&&typeof s.cssText=="string"?a+s.cssText:a},""),n=e.cloneNode(!1);return n.textContent=r,n}}catch(a){if(this.context.logger.error("Unable to access cssRules property",a),a.name!=="SecurityError")throw a}return e.cloneNode(!1)},A.prototype.createCanvasClone=function(e){var t;if(this.options.inlineImages&&e.ownerDocument){var r=e.ownerDocument.createElement("img");try{return r.src=e.toDataURL(),r}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",e)}}var n=e.cloneNode(!1);try{n.width=e.width,n.height=e.height;var a=e.getContext("2d"),s=n.getContext("2d");if(s)if(!this.options.allowTaint&&a)s.putImageData(a.getImageData(0,0,e.width,e.height),0,0);else{var u=(t=e.getContext("webgl2"))!==null&&t!==void 0?t:e.getContext("webgl");if(u){var o=u.getContextAttributes();(o==null?void 0:o.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",e)}s.drawImage(e,0,0)}return n}catch{this.context.logger.info("Unable to clone canvas as it is tainted",e)}return n},A.prototype.createVideoClone=function(e){var t=e.ownerDocument.createElement("canvas");t.width=e.offsetWidth,t.height=e.offsetHeight;var r=t.getContext("2d");try{return r&&(r.drawImage(e,0,0,t.width,t.height),this.options.allowTaint||r.getImageData(0,0,t.width,t.height)),t}catch{this.context.logger.info("Unable to clone video as it is tainted",e)}var n=e.ownerDocument.createElement("canvas");return n.width=e.offsetWidth,n.height=e.offsetHeight,n},A.prototype.appendChildNode=function(e,t,r){(!Rt(t)||!ZT(t)&&!t.hasAttribute(Ml)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(t)))&&(!this.options.copyStyles||!Rt(t)||!Nl(t))&&e.appendChild(this.cloneNode(t,r))},A.prototype.cloneChildNodes=function(e,t,r){for(var n=this,a=e.shadowRoot?e.shadowRoot.firstChild:e.firstChild;a;a=a.nextSibling)if(Rt(a)&&vl(a)&&typeof a.assignedNodes=="function"){var s=a.assignedNodes();s.length&&s.forEach(function(u){return n.appendChildNode(t,u,r)})}else this.appendChildNode(t,a,r)},A.prototype.cloneNode=function(e,t){if(Ql(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var r=e.ownerDocument.defaultView;if(r&&Rt(e)&&(ui(e)||ta(e))){var n=this.createElementClone(e);n.style.transitionProperty="none";var a=r.getComputedStyle(e),s=r.getComputedStyle(e,":before"),u=r.getComputedStyle(e,":after");this.referenceElement===e&&ui(n)&&(this.clonedReferenceElement=n),oi(n)&&fb(n);var o=this.counters.parse(new Al(this.context,a)),l=this.resolvePseudoContent(e,n,s,Or.BEFORE);Sl(e)&&(t=!0),_l(e)||this.cloneChildNodes(e,n,t),l&&n.insertBefore(l,n.firstChild);var f=this.resolvePseudoContent(e,n,u,Or.AFTER);return f&&n.appendChild(f),this.counters.pop(o),(a&&(this.options.copyStyles||ta(e))&&!yl(e)||t)&&fi(a,n),(e.scrollTop!==0||e.scrollLeft!==0)&&this.scrolledElements.push([n,e.scrollLeft,e.scrollTop]),(ra(e)||na(e))&&(ra(n)||na(n))&&(n.value=e.value),n}return e.cloneNode(!1)},A.prototype.resolvePseudoContent=function(e,t,r,n){var a=this;if(r){var s=r.content,u=t.ownerDocument;if(!(!u||!s||s==="none"||s==="-moz-alt-content"||r.display==="none")){this.counters.parse(new Al(this.context,r));var o=new Jw(this.context,r),l=u.createElement("html2canvaspseudoelement");fi(r,l),o.content.forEach(function(h){if(h.type===0)l.appendChild(u.createTextNode(h.value));else if(h.type===22){var d=u.createElement("img");d.src=h.value,d.style.opacity="1",l.appendChild(d)}else if(h.type===18){if(h.name==="attr"){var C=h.values.filter(uA);C.length&&l.appendChild(u.createTextNode(e.getAttribute(C[0].value)||""))}else if(h.name==="counter"){var m=h.values.filter(Dt),T=m[0],U=m[1];if(T&&uA(T)){var N=a.counters.getCounterValue(T.value),_=U&&uA(U)?Ws.parse(a.context,U.value):3;l.appendChild(u.createTextNode(Dr(N,_,!1)))}}else if(h.name==="counters"){var D=h.values.filter(Dt),T=D[0],P=D[1],U=D[2];if(T&&uA(T)){var L=a.counters.getCounterValues(T.value),p=U&&uA(U)?Ws.parse(a.context,U.value):3,H=P&&P.type===0?P.value:"",K=L.map(function(oA){return Dr(oA,p,!1)}).join(H);l.appendChild(u.createTextNode(K))}}}else if(h.type===20)switch(h.value){case"open-quote":l.appendChild(u.createTextNode(zc(o.quotes,a.quoteDepth++,!0)));break;case"close-quote":l.appendChild(u.createTextNode(zc(o.quotes,--a.quoteDepth,!1)));break;default:l.appendChild(u.createTextNode(h.value))}}),l.className=hi+" "+di;var f=n===Or.BEFORE?" "+hi:" "+di;return ta(t)?t.className.baseValue+=f:t.className+=f,l}}},A.destroy=function(e){return e.parentNode?(e.parentNode.removeChild(e),!0):!1},A}(),Or;(function(A){A[A.BEFORE=0]="BEFORE",A[A.AFTER=1]="AFTER"})(Or||(Or={}));var tb=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(Ml,"true"),A.body.appendChild(t),t},rb=function(A){return new Promise(function(e){if(A.complete){e();return}if(!A.src){e();return}A.onload=e,A.onerror=e})},nb=function(A){return Promise.all([].slice.call(A.images,0).map(rb))},ab=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=function(){r.onload=A.onload=null;var a=setInterval(function(){n.body.childNodes.length>0&&n.readyState==="complete"&&(clearInterval(a),e(A))},50)}})},sb=["all","d","content"],fi=function(A,e){for(var t=A.length-1;t>=0;t--){var r=A.item(t);sb.indexOf(r)===-1&&e.style.setProperty(r,A.getPropertyValue(r))}return e},ib=function(A){var e="";return A&&(e+="<!DOCTYPE ",A.name&&(e+=A.name),A.internalSubset&&(e+=A.internalSubset),A.publicId&&(e+='"'+A.publicId+'"'),A.systemId&&(e+='"'+A.systemId+'"'),e+=">"),e},ub=function(A,e,t){A&&A.defaultView&&(e!==A.defaultView.pageXOffset||t!==A.defaultView.pageYOffset)&&A.defaultView.scrollTo(e,t)},ob=function(A){var e=A[0],t=A[1],r=A[2];e.scrollLeft=t,e.scrollTop=r},cb=":before",lb=":after",hi="___html2canvas___pseudoelement_before",di="___html2canvas___pseudoelement_after",Pl=`{
36
36
  content: "" !important;
37
37
  display: none !important;
38
- }`,cb=function(A){lb(A,"."+fi+ub+kl+`
39
- .`+hi+ob+kl)},lb=function(A,e){var t=A.ownerDocument;if(t){var r=t.createElement("style");r.textContent=e,A.appendChild(r)}},Pl=function(){function A(){}return A.getOrigin=function(e){var t=A._link;return t?(t.href=e,t.href=t.href,t.protocol+t.hostname+t.port):"about:blank"},A.isSameOrigin=function(e){return A.getOrigin(e)===A._origin},A.setContext=function(e){A._link=e.document.createElement("a"),A._origin=A.getOrigin(e.location.href)},A._origin="about:blank",A}(),fb=function(){function A(e,t){this.context=e,this._options=t,this._cache={}}return A.prototype.addImage=function(e){var t=Promise.resolve();return this.has(e)||(Bi(e)||gb(e))&&(this._cache[e]=this.loadImage(e)).catch(function(){}),t},A.prototype.match=function(e){return this._cache[e]},A.prototype.loadImage=function(e){return YA(this,void 0,void 0,function(){var t,r,n,a,s=this;return KA(this,function(u){switch(u.label){case 0:return t=Pl.isSameOrigin(e),r=!di(e)&&this._options.useCORS===!0&&MA.SUPPORT_CORS_IMAGES&&!t,n=!di(e)&&!t&&!Bi(e)&&typeof this._options.proxy=="string"&&MA.SUPPORT_CORS_XHR&&!r,!t&&this._options.allowTaint===!1&&!di(e)&&!Bi(e)&&!n&&!r?[2]:(a=e,n?[4,this.proxy(a)]:[3,2]);case 1:a=u.sent(),u.label=2;case 2:return this.context.logger.debug("Added image "+e.substring(0,256)),[4,new Promise(function(o,l){var f=new Image;f.onload=function(){return o(f)},f.onerror=l,(Eb(a)||r)&&(f.crossOrigin="anonymous"),f.src=a,f.complete===!0&&setTimeout(function(){return o(f)},500),s._options.imageTimeout>0&&setTimeout(function(){return l("Timed out ("+s._options.imageTimeout+"ms) loading image")},s._options.imageTimeout)})];case 3:return[2,u.sent()]}})})},A.prototype.has=function(e){return typeof this._cache[e]<"u"},A.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},A.prototype.proxy=function(e){var t=this,r=this._options.proxy;if(!r)throw new Error("No proxy defined");var n=e.substring(0,256);return new Promise(function(a,s){var u=MA.SUPPORT_RESPONSE_TYPE?"blob":"text",o=new XMLHttpRequest;o.onload=function(){if(o.status===200)if(u==="text")a(o.response);else{var h=new FileReader;h.addEventListener("load",function(){return a(h.result)},!1),h.addEventListener("error",function(d){return s(d)},!1),h.readAsDataURL(o.response)}else s("Failed to proxy resource "+n+" with status code "+o.status)},o.onerror=s;var l=r.indexOf("?")>-1?"&":"?";if(o.open("GET",""+r+l+"url="+encodeURIComponent(e)+"&responseType="+u),u!=="text"&&o instanceof XMLHttpRequest&&(o.responseType=u),t._options.imageTimeout){var f=t._options.imageTimeout;o.timeout=f,o.ontimeout=function(){return s("Timed out ("+f+"ms) proxying "+n)}}o.send()})},A}(),hb=/^data:image\/svg\+xml/i,db=/^data:image\/.*;base64,/i,Bb=/^data:image\/.*/i,gb=function(A){return MA.SUPPORT_SVG_DRAWING||!mb(A)},di=function(A){return Bb.test(A)},Eb=function(A){return db.test(A)},Bi=function(A){return A.substr(0,4)==="blob"},mb=function(A){return A.substr(-3).toLowerCase()==="svg"||hb.test(A)},O=function(){function A(e,t){this.type=0,this.x=e,this.y=t}return A.prototype.add=function(e,t){return new A(this.x+e,this.y+t)},A}(),Mt=function(A,e,t){return new O(A.x+(e.x-A.x)*t,A.y+(e.y-A.y)*t)},ra=function(){function A(e,t,r,n){this.type=1,this.start=e,this.startControl=t,this.endControl=r,this.end=n}return A.prototype.subdivide=function(e,t){var r=Mt(this.start,this.startControl,e),n=Mt(this.startControl,this.endControl,e),a=Mt(this.endControl,this.end,e),s=Mt(r,n,e),u=Mt(n,a,e),o=Mt(s,u,e);return t?new A(this.start,r,s,o):new A(o,u,a,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}(),ue=function(A){return A.type===1},pb=function(){function A(e){var t=e.styles,r=e.bounds,n=_r(t.borderTopLeftRadius,r.width,r.height),a=n[0],s=n[1],u=_r(t.borderTopRightRadius,r.width,r.height),o=u[0],l=u[1],f=_r(t.borderBottomRightRadius,r.width,r.height),h=f[0],d=f[1],C=_r(t.borderBottomLeftRadius,r.width,r.height),p=C[0],T=C[1],U=[];U.push((a+o)/r.width),U.push((p+h)/r.width),U.push((s+T)/r.height),U.push((l+d)/r.height);var N=Math.max.apply(Math,U);N>1&&(a/=N,s/=N,o/=N,l/=N,h/=N,d/=N,p/=N,T/=N);var _=r.width-o,D=r.height-d,P=r.width-h,L=r.height-T,m=t.borderTopWidth,H=t.borderRightWidth,K=t.borderBottomWidth,k=t.borderLeftWidth,AA=lA(t.paddingTop,e.bounds.width),uA=lA(t.paddingRight,e.bounds.width),fA=lA(t.paddingBottom,e.bounds.width),q=lA(t.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=a>0||s>0?EA(r.left+k/3,r.top+m/3,a-k/3,s-m/3,aA.TOP_LEFT):new O(r.left+k/3,r.top+m/3),this.topRightBorderDoubleOuterBox=a>0||s>0?EA(r.left+_,r.top+m/3,o-H/3,l-m/3,aA.TOP_RIGHT):new O(r.left+r.width-H/3,r.top+m/3),this.bottomRightBorderDoubleOuterBox=h>0||d>0?EA(r.left+P,r.top+D,h-H/3,d-K/3,aA.BOTTOM_RIGHT):new O(r.left+r.width-H/3,r.top+r.height-K/3),this.bottomLeftBorderDoubleOuterBox=p>0||T>0?EA(r.left+k/3,r.top+L,p-k/3,T-K/3,aA.BOTTOM_LEFT):new O(r.left+k/3,r.top+r.height-K/3),this.topLeftBorderDoubleInnerBox=a>0||s>0?EA(r.left+k*2/3,r.top+m*2/3,a-k*2/3,s-m*2/3,aA.TOP_LEFT):new O(r.left+k*2/3,r.top+m*2/3),this.topRightBorderDoubleInnerBox=a>0||s>0?EA(r.left+_,r.top+m*2/3,o-H*2/3,l-m*2/3,aA.TOP_RIGHT):new O(r.left+r.width-H*2/3,r.top+m*2/3),this.bottomRightBorderDoubleInnerBox=h>0||d>0?EA(r.left+P,r.top+D,h-H*2/3,d-K*2/3,aA.BOTTOM_RIGHT):new O(r.left+r.width-H*2/3,r.top+r.height-K*2/3),this.bottomLeftBorderDoubleInnerBox=p>0||T>0?EA(r.left+k*2/3,r.top+L,p-k*2/3,T-K*2/3,aA.BOTTOM_LEFT):new O(r.left+k*2/3,r.top+r.height-K*2/3),this.topLeftBorderStroke=a>0||s>0?EA(r.left+k/2,r.top+m/2,a-k/2,s-m/2,aA.TOP_LEFT):new O(r.left+k/2,r.top+m/2),this.topRightBorderStroke=a>0||s>0?EA(r.left+_,r.top+m/2,o-H/2,l-m/2,aA.TOP_RIGHT):new O(r.left+r.width-H/2,r.top+m/2),this.bottomRightBorderStroke=h>0||d>0?EA(r.left+P,r.top+D,h-H/2,d-K/2,aA.BOTTOM_RIGHT):new O(r.left+r.width-H/2,r.top+r.height-K/2),this.bottomLeftBorderStroke=p>0||T>0?EA(r.left+k/2,r.top+L,p-k/2,T-K/2,aA.BOTTOM_LEFT):new O(r.left+k/2,r.top+r.height-K/2),this.topLeftBorderBox=a>0||s>0?EA(r.left,r.top,a,s,aA.TOP_LEFT):new O(r.left,r.top),this.topRightBorderBox=o>0||l>0?EA(r.left+_,r.top,o,l,aA.TOP_RIGHT):new O(r.left+r.width,r.top),this.bottomRightBorderBox=h>0||d>0?EA(r.left+P,r.top+D,h,d,aA.BOTTOM_RIGHT):new O(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=p>0||T>0?EA(r.left,r.top+L,p,T,aA.BOTTOM_LEFT):new O(r.left,r.top+r.height),this.topLeftPaddingBox=a>0||s>0?EA(r.left+k,r.top+m,Math.max(0,a-k),Math.max(0,s-m),aA.TOP_LEFT):new O(r.left+k,r.top+m),this.topRightPaddingBox=o>0||l>0?EA(r.left+Math.min(_,r.width-H),r.top+m,_>r.width+H?0:Math.max(0,o-H),Math.max(0,l-m),aA.TOP_RIGHT):new O(r.left+r.width-H,r.top+m),this.bottomRightPaddingBox=h>0||d>0?EA(r.left+Math.min(P,r.width-k),r.top+Math.min(D,r.height-K),Math.max(0,h-H),Math.max(0,d-K),aA.BOTTOM_RIGHT):new O(r.left+r.width-H,r.top+r.height-K),this.bottomLeftPaddingBox=p>0||T>0?EA(r.left+k,r.top+Math.min(L,r.height-K),Math.max(0,p-k),Math.max(0,T-K),aA.BOTTOM_LEFT):new O(r.left+k,r.top+r.height-K),this.topLeftContentBox=a>0||s>0?EA(r.left+k+q,r.top+m+AA,Math.max(0,a-(k+q)),Math.max(0,s-(m+AA)),aA.TOP_LEFT):new O(r.left+k+q,r.top+m+AA),this.topRightContentBox=o>0||l>0?EA(r.left+Math.min(_,r.width+k+q),r.top+m+AA,_>r.width+k+q?0:o-k+q,l-(m+AA),aA.TOP_RIGHT):new O(r.left+r.width-(H+uA),r.top+m+AA),this.bottomRightContentBox=h>0||d>0?EA(r.left+Math.min(P,r.width-(k+q)),r.top+Math.min(D,r.height+m+AA),Math.max(0,h-(H+uA)),d-(K+fA),aA.BOTTOM_RIGHT):new O(r.left+r.width-(H+uA),r.top+r.height-(K+fA)),this.bottomLeftContentBox=p>0||T>0?EA(r.left+k+q,r.top+L,Math.max(0,p-(k+q)),T-(K+fA),aA.BOTTOM_LEFT):new O(r.left+k+q,r.top+r.height-(K+fA))}return A}(),aA;(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"})(aA||(aA={}));var EA=function(A,e,t,r,n){var a=4*((Math.sqrt(2)-1)/3),s=t*a,u=r*a,o=A+t,l=e+r;switch(n){case aA.TOP_LEFT:return new ra(new O(A,l),new O(A,l-u),new O(o-s,e),new O(o,e));case aA.TOP_RIGHT:return new ra(new O(A,e),new O(A+s,e),new O(o,l-u),new O(o,l));case aA.BOTTOM_RIGHT:return new ra(new O(o,e),new O(o,e+u),new O(A+s,l),new O(A,l));case aA.BOTTOM_LEFT:default:return new ra(new O(o,l),new O(o-s,l),new O(A,e+u),new O(A,e))}},na=function(A){return[A.topLeftBorderBox,A.topRightBorderBox,A.bottomRightBorderBox,A.bottomLeftBorderBox]},Cb=function(A){return[A.topLeftContentBox,A.topRightContentBox,A.bottomRightContentBox,A.bottomLeftContentBox]},aa=function(A){return[A.topLeftPaddingBox,A.topRightPaddingBox,A.bottomRightPaddingBox,A.bottomLeftPaddingBox]},wb=function(){function A(e,t,r){this.offsetX=e,this.offsetY=t,this.matrix=r,this.type=0,this.target=6}return A}(),sa=function(){function A(e,t){this.path=e,this.target=t,this.type=1}return A}(),Tb=function(){function A(e){this.opacity=e,this.type=2,this.target=6}return A}(),bb=function(A){return A.type===0},Kl=function(A){return A.type===1},Ub=function(A){return A.type===2},Vl=function(A,e){return A.length===e.length?A.some(function(t,r){return t===e[r]}):!1},Qb=function(A,e,t,r,n){return A.map(function(a,s){switch(s){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})},Gl=function(){function A(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return A}(),Yl=function(){function A(e,t){if(this.container=e,this.parent=t,this.effects=[],this.curves=new pb(this.container),this.container.styles.opacity<1&&this.effects.push(new Tb(this.container.styles.opacity)),this.container.styles.transform!==null){var r=this.container.bounds.left+this.container.styles.transformOrigin[0].number,n=this.container.bounds.top+this.container.styles.transformOrigin[1].number,a=this.container.styles.transform;this.effects.push(new wb(r,n,a))}if(this.container.styles.overflowX!==0){var s=na(this.curves),u=aa(this.curves);Vl(s,u)?this.effects.push(new sa(s,6)):(this.effects.push(new sa(s,2)),this.effects.push(new sa(u,4)))}}return A.prototype.getEffects=function(e){for(var t=[2,3].indexOf(this.container.styles.position)===-1,r=this.parent,n=this.effects.slice(0);r;){var a=r.effects.filter(function(o){return!Kl(o)});if(t||r.container.styles.position!==0||!r.parent){if(n.unshift.apply(n,a),t=[2,3].indexOf(r.container.styles.position)===-1,r.container.styles.overflowX!==0){var s=na(r.curves),u=aa(r.curves);Vl(s,u)||n.unshift(new sa(u,6))}}else n.unshift.apply(n,a);r=r.parent}return n.filter(function(o){return _A(o.target,e)})},A}(),gi=function(A,e,t,r){A.container.elements.forEach(function(n){var a=_A(n.flags,4),s=_A(n.flags,2),u=new Yl(n,A);_A(n.styles.display,2048)&&r.push(u);var o=_A(n.flags,8)?[]:r;if(a||s){var l=a||n.styles.isPositioned()?t:e,f=new Gl(u);if(n.styles.isPositioned()||n.styles.opacity<1||n.styles.isTransformed()){var h=n.styles.zIndex.order;if(h<0){var d=0;l.negativeZIndex.some(function(p,T){return h>p.element.container.styles.zIndex.order?(d=T,!1):d>0}),l.negativeZIndex.splice(d,0,f)}else if(h>0){var C=0;l.positiveZIndex.some(function(p,T){return h>=p.element.container.styles.zIndex.order?(C=T+1,!1):C>0}),l.positiveZIndex.splice(C,0,f)}else l.zeroOrAutoZIndexOrTransformedOrOpacity.push(f)}else n.styles.isFloating()?l.nonPositionedFloats.push(f):l.nonPositionedInlineLevel.push(f);gi(u,f,a?f:t,o)}else n.styles.isInlineLevel()?e.inlineLevel.push(u):e.nonInlineLevel.push(u),gi(u,e,t,o);_A(n.flags,8)&&Xl(n,o)})},Xl=function(A,e){for(var t=A instanceof ai?A.start:1,r=A instanceof ai?A.reversed:!1,n=0;n<e.length;n++){var a=e[n];a.container instanceof El&&typeof a.container.value=="number"&&a.container.value!==0&&(t=a.container.value),a.listValue=Lr(t,a.container.styles.listStyleType,!0),t+=r?-1:1}},Fb=function(A){var e=new Yl(A,null),t=new Gl(e),r=[];return gi(e,t,t,r),Xl(e.container,r),t},Wl=function(A,e){switch(e){case 0:return oe(A.topLeftBorderBox,A.topLeftPaddingBox,A.topRightBorderBox,A.topRightPaddingBox);case 1:return oe(A.topRightBorderBox,A.topRightPaddingBox,A.bottomRightBorderBox,A.bottomRightPaddingBox);case 2:return oe(A.bottomRightBorderBox,A.bottomRightPaddingBox,A.bottomLeftBorderBox,A.bottomLeftPaddingBox);case 3:default:return oe(A.bottomLeftBorderBox,A.bottomLeftPaddingBox,A.topLeftBorderBox,A.topLeftPaddingBox)}},Ib=function(A,e){switch(e){case 0:return oe(A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox,A.topRightBorderBox,A.topRightBorderDoubleOuterBox);case 1:return oe(A.topRightBorderBox,A.topRightBorderDoubleOuterBox,A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox);case 2:return oe(A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox,A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox);case 3:default:return oe(A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox,A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox)}},_b=function(A,e){switch(e){case 0:return oe(A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox,A.topRightBorderDoubleInnerBox,A.topRightPaddingBox);case 1:return oe(A.topRightBorderDoubleInnerBox,A.topRightPaddingBox,A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox);case 2:return oe(A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox,A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox);case 3:default:return oe(A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox,A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox)}},yb=function(A,e){switch(e){case 0:return ia(A.topLeftBorderStroke,A.topRightBorderStroke);case 1:return ia(A.topRightBorderStroke,A.bottomRightBorderStroke);case 2:return ia(A.bottomRightBorderStroke,A.bottomLeftBorderStroke);case 3:default:return ia(A.bottomLeftBorderStroke,A.topLeftBorderStroke)}},ia=function(A,e){var t=[];return ue(A)?t.push(A.subdivide(.5,!1)):t.push(A),ue(e)?t.push(e.subdivide(.5,!0)):t.push(e),t},oe=function(A,e,t,r){var n=[];return ue(A)?n.push(A.subdivide(.5,!1)):n.push(A),ue(t)?n.push(t.subdivide(.5,!0)):n.push(t),ue(r)?n.push(r.subdivide(.5,!0).reverse()):n.push(r),ue(e)?n.push(e.subdivide(.5,!1).reverse()):n.push(e),n},Jl=function(A){var e=A.bounds,t=A.styles;return e.add(t.borderLeftWidth,t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth),-(t.borderTopWidth+t.borderBottomWidth))},ua=function(A){var e=A.styles,t=A.bounds,r=lA(e.paddingLeft,t.width),n=lA(e.paddingRight,t.width),a=lA(e.paddingTop,t.width),s=lA(e.paddingBottom,t.width);return t.add(r+e.borderLeftWidth,a+e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth+r+n),-(e.borderTopWidth+e.borderBottomWidth+a+s))},Nb=function(A,e){return A===0?e.bounds:A===2?ua(e):Jl(e)},vb=function(A,e){return A===0?e.bounds:A===2?ua(e):Jl(e)},Ei=function(A,e,t){var r=Nb(Pt(A.styles.backgroundOrigin,e),A),n=vb(Pt(A.styles.backgroundClip,e),A),a=Sb(Pt(A.styles.backgroundSize,e),t,r),s=a[0],u=a[1],o=_r(Pt(A.styles.backgroundPosition,e),r.width-s,r.height-u),l=xb(Pt(A.styles.backgroundRepeat,e),o,a,r,n),f=Math.round(r.left+o[0]),h=Math.round(r.top+o[1]);return[l,f,h,s,u]},kt=function(A){return iA(A)&&A.value===Ht.AUTO},oa=function(A){return typeof A=="number"},Sb=function(A,e,t){var r=e[0],n=e[1],a=e[2],s=A[0],u=A[1];if(!s)return[0,0];if(QA(s)&&u&&QA(u))return[lA(s,t.width),lA(u,t.height)];var o=oa(a);if(iA(s)&&(s.value===Ht.CONTAIN||s.value===Ht.COVER)){if(oa(a)){var l=t.width/t.height;return l<a!=(s.value===Ht.COVER)?[t.width,t.width/a]:[t.height*a,t.height]}return[t.width,t.height]}var f=oa(r),h=oa(n),d=f||h;if(kt(s)&&(!u||kt(u))){if(f&&h)return[r,n];if(!o&&!d)return[t.width,t.height];if(d&&o){var C=f?r:n*a,p=h?n:r/a;return[C,p]}var T=f?r:t.width,U=h?n:t.height;return[T,U]}if(o){var N=0,_=0;return QA(s)?N=lA(s,t.width):QA(u)&&(_=lA(u,t.height)),kt(s)?N=_*a:(!u||kt(u))&&(_=N/a),[N,_]}var D=null,P=null;if(QA(s)?D=lA(s,t.width):u&&QA(u)&&(P=lA(u,t.height)),D!==null&&(!u||kt(u))&&(P=f&&h?D/r*n:t.height),P!==null&&kt(s)&&(D=f&&h?P/n*r:t.width),D!==null&&P!==null)return[D,P];throw new Error("Unable to calculate background-size for element")},Pt=function(A,e){var t=A[e];return typeof t>"u"?A[0]:t},xb=function(A,e,t,r,n){var a=e[0],s=e[1],u=t[0],o=t[1];switch(A){case 2:return[new O(Math.round(r.left),Math.round(r.top+s)),new O(Math.round(r.left+r.width),Math.round(r.top+s)),new O(Math.round(r.left+r.width),Math.round(o+r.top+s)),new O(Math.round(r.left),Math.round(o+r.top+s))];case 3:return[new O(Math.round(r.left+a),Math.round(r.top)),new O(Math.round(r.left+a+u),Math.round(r.top)),new O(Math.round(r.left+a+u),Math.round(r.height+r.top)),new O(Math.round(r.left+a),Math.round(r.height+r.top))];case 1:return[new O(Math.round(r.left+a),Math.round(r.top+s)),new O(Math.round(r.left+a+u),Math.round(r.top+s)),new O(Math.round(r.left+a+u),Math.round(r.top+s+o)),new O(Math.round(r.left+a),Math.round(r.top+s+o))];default:return[new O(Math.round(n.left),Math.round(n.top)),new O(Math.round(n.left+n.width),Math.round(n.top)),new O(Math.round(n.left+n.width),Math.round(n.height+n.top)),new O(Math.round(n.left),Math.round(n.height+n.top))]}},Lb="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",ql="Hidden Text",Hb=function(){function A(e){this._data={},this._document=e}return A.prototype.parseMetrics=function(e,t){var r=this._document.createElement("div"),n=this._document.createElement("img"),a=this._document.createElement("span"),s=this._document.body;r.style.visibility="hidden",r.style.fontFamily=e,r.style.fontSize=t,r.style.margin="0",r.style.padding="0",r.style.whiteSpace="nowrap",s.appendChild(r),n.src=Lb,n.width=1,n.height=1,n.style.margin="0",n.style.padding="0",n.style.verticalAlign="baseline",a.style.fontFamily=e,a.style.fontSize=t,a.style.margin="0",a.style.padding="0",a.appendChild(this._document.createTextNode(ql)),r.appendChild(a),r.appendChild(n);var u=n.offsetTop-a.offsetTop+2;r.removeChild(a),r.appendChild(this._document.createTextNode(ql)),r.style.lineHeight="normal",n.style.verticalAlign="super";var o=n.offsetTop-r.offsetTop+2;return s.removeChild(r),{baseline:u,middle:o}},A.prototype.getMetrics=function(e,t){var r=e+" "+t;return typeof this._data[r]>"u"&&(this._data[r]=this.parseMetrics(e,t)),this._data[r]},A}(),jl=function(){function A(e,t){this.context=e,this.options=t}return A}(),Db=1e4,Ob=function(A){de(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n._activeEffects=[],n.canvas=r.canvas?r.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),r.canvas||(n.canvas.width=Math.floor(r.width*r.scale),n.canvas.height=Math.floor(r.height*r.scale),n.canvas.style.width=r.width+"px",n.canvas.style.height=r.height+"px"),n.fontMetrics=new Hb(document),n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-r.x,-r.y),n.ctx.textBaseline="bottom",n._activeEffects=[],n.context.logger.debug("Canvas renderer initialized ("+r.width+"x"+r.height+") with scale "+r.scale),n}return e.prototype.applyEffects=function(t){for(var r=this;this._activeEffects.length;)this.popEffect();t.forEach(function(n){return r.applyEffect(n)})},e.prototype.applyEffect=function(t){this.ctx.save(),Ub(t)&&(this.ctx.globalAlpha=t.opacity),bb(t)&&(this.ctx.translate(t.offsetX,t.offsetY),this.ctx.transform(t.matrix[0],t.matrix[1],t.matrix[2],t.matrix[3],t.matrix[4],t.matrix[5]),this.ctx.translate(-t.offsetX,-t.offsetY)),Kl(t)&&(this.path(t.path),this.ctx.clip()),this._activeEffects.push(t)},e.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},e.prototype.renderStack=function(t){return YA(this,void 0,void 0,function(){var r;return KA(this,function(n){switch(n.label){case 0:return r=t.element.container.styles,r.isVisible()?[4,this.renderStackContent(t)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[2]}})})},e.prototype.renderNode=function(t){return YA(this,void 0,void 0,function(){return KA(this,function(r){switch(r.label){case 0:if(_A(t.container.flags,16))debugger;return t.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(t)]:[3,3];case 1:return r.sent(),[4,this.renderNodeContent(t)];case 2:r.sent(),r.label=3;case 3:return[2]}})})},e.prototype.renderTextWithLetterSpacing=function(t,r,n){var a=this;if(r===0)this.ctx.fillText(t.text,t.bounds.left,t.bounds.top+n);else{var s=ni(t.text);s.reduce(function(u,o){return a.ctx.fillText(o,u,t.bounds.top+n),u+a.ctx.measureText(o).width},t.bounds.left)}},e.prototype.createFontStyle=function(t){var r=t.fontVariant.filter(function(s){return s==="normal"||s==="small-caps"}).join(""),n=Kb(t.fontFamily).join(", "),a=Ir(t.fontSize)?""+t.fontSize.number+t.fontSize.unit:t.fontSize.number+"px";return[[t.fontStyle,r,t.fontWeight,a,n].join(" "),n,a]},e.prototype.renderTextNode=function(t,r){return YA(this,void 0,void 0,function(){var n,a,s,u,o,l,f,h,d=this;return KA(this,function(C){return n=this.createFontStyle(r),a=n[0],s=n[1],u=n[2],this.ctx.font=a,this.ctx.direction=r.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",o=this.fontMetrics.getMetrics(s,u),l=o.baseline,f=o.middle,h=r.paintOrder,t.textBounds.forEach(function(p){h.forEach(function(T){switch(T){case 0:d.ctx.fillStyle=HA(r.color),d.renderTextWithLetterSpacing(p,r.letterSpacing,l);var U=r.textShadow;U.length&&p.text.trim().length&&(U.slice(0).reverse().forEach(function(N){d.ctx.shadowColor=HA(N.color),d.ctx.shadowOffsetX=N.offsetX.number*d.options.scale,d.ctx.shadowOffsetY=N.offsetY.number*d.options.scale,d.ctx.shadowBlur=N.blur.number,d.renderTextWithLetterSpacing(p,r.letterSpacing,l)}),d.ctx.shadowColor="",d.ctx.shadowOffsetX=0,d.ctx.shadowOffsetY=0,d.ctx.shadowBlur=0),r.textDecorationLine.length&&(d.ctx.fillStyle=HA(r.textDecorationColor||r.color),r.textDecorationLine.forEach(function(N){switch(N){case 1:d.ctx.fillRect(p.bounds.left,Math.round(p.bounds.top+l),p.bounds.width,1);break;case 2:d.ctx.fillRect(p.bounds.left,Math.round(p.bounds.top),p.bounds.width,1);break;case 3:d.ctx.fillRect(p.bounds.left,Math.ceil(p.bounds.top+f),p.bounds.width,1);break}}));break;case 1:r.webkitTextStrokeWidth&&p.text.trim().length&&(d.ctx.strokeStyle=HA(r.webkitTextStrokeColor),d.ctx.lineWidth=r.webkitTextStrokeWidth,d.ctx.lineJoin=window.chrome?"miter":"round",d.ctx.strokeText(p.text,p.bounds.left,p.bounds.top+l)),d.ctx.strokeStyle="",d.ctx.lineWidth=0,d.ctx.lineJoin="miter";break}})}),[2]})})},e.prototype.renderReplacedElement=function(t,r,n){if(n&&t.intrinsicWidth>0&&t.intrinsicHeight>0){var a=ua(t),s=aa(r);this.path(s),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,t.intrinsicWidth,t.intrinsicHeight,a.left,a.top,a.width,a.height),this.ctx.restore()}},e.prototype.renderNodeContent=function(t){return YA(this,void 0,void 0,function(){var r,n,a,s,u,o,_,_,l,f,h,d,P,C,p,L,T,U,N,_,D,P,L;return KA(this,function(m){switch(m.label){case 0:this.applyEffects(t.getEffects(4)),r=t.container,n=t.curves,a=r.styles,s=0,u=r.textNodes,m.label=1;case 1:return s<u.length?(o=u[s],[4,this.renderTextNode(o,a)]):[3,4];case 2:m.sent(),m.label=3;case 3:return s++,[3,1];case 4:if(!(r instanceof dl))return[3,8];m.label=5;case 5:return m.trys.push([5,7,,8]),[4,this.context.cache.match(r.src)];case 6:return _=m.sent(),this.renderReplacedElement(r,n,_),[3,8];case 7:return m.sent(),this.context.logger.error("Error loading image "+r.src),[3,8];case 8:if(r instanceof Bl&&this.renderReplacedElement(r,n,r.canvas),!(r instanceof gl))return[3,12];m.label=9;case 9:return m.trys.push([9,11,,12]),[4,this.context.cache.match(r.svg)];case 10:return _=m.sent(),this.renderReplacedElement(r,n,_),[3,12];case 11:return m.sent(),this.context.logger.error("Error loading svg "+r.svg.substring(0,255)),[3,12];case 12:return r instanceof wl&&r.tree?(l=new e(this.context,{scale:this.options.scale,backgroundColor:r.backgroundColor,x:0,y:0,width:r.width,height:r.height}),[4,l.render(r.tree)]):[3,14];case 13:f=m.sent(),r.width&&r.height&&this.ctx.drawImage(f,0,0,r.width,r.height,r.bounds.left,r.bounds.top,r.bounds.width,r.bounds.height),m.label=14;case 14:if(r instanceof si&&(h=Math.min(r.bounds.width,r.bounds.height),r.type===$n?r.checked&&(this.ctx.save(),this.path([new O(r.bounds.left+h*.39363,r.bounds.top+h*.79),new O(r.bounds.left+h*.16,r.bounds.top+h*.5549),new O(r.bounds.left+h*.27347,r.bounds.top+h*.44071),new O(r.bounds.left+h*.39694,r.bounds.top+h*.5649),new O(r.bounds.left+h*.72983,r.bounds.top+h*.23),new O(r.bounds.left+h*.84,r.bounds.top+h*.34085),new O(r.bounds.left+h*.39363,r.bounds.top+h*.79)]),this.ctx.fillStyle=HA(ml),this.ctx.fill(),this.ctx.restore()):r.type===Zn&&r.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(r.bounds.left+h/2,r.bounds.top+h/2,h/4,0,Math.PI*2,!0),this.ctx.fillStyle=HA(ml),this.ctx.fill(),this.ctx.restore())),Rb(r)&&r.value.length){switch(d=this.createFontStyle(a),P=d[0],C=d[1],p=this.fontMetrics.getMetrics(P,C).baseline,this.ctx.font=P,this.ctx.fillStyle=HA(a.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=kb(r.styles.textAlign),L=ua(r),T=0,r.styles.textAlign){case 1:T+=L.width/2;break;case 2:T+=L.width;break}U=L.add(T,0,0,-L.height/2+1),this.ctx.save(),this.path([new O(L.left,L.top),new O(L.left+L.width,L.top),new O(L.left+L.width,L.top+L.height),new O(L.left,L.top+L.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Sr(r.value,U),a.letterSpacing,p),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!_A(r.styles.display,2048))return[3,20];if(r.styles.listStyleImage===null)return[3,19];if(N=r.styles.listStyleImage,N.type!==0)return[3,18];_=void 0,D=N.url,m.label=15;case 15:return m.trys.push([15,17,,18]),[4,this.context.cache.match(D)];case 16:return _=m.sent(),this.ctx.drawImage(_,r.bounds.left-(_.width+10),r.bounds.top),[3,18];case 17:return m.sent(),this.context.logger.error("Error loading list-style-image "+D),[3,18];case 18:return[3,20];case 19:t.listValue&&r.styles.listStyleType!==-1&&(P=this.createFontStyle(a)[0],this.ctx.font=P,this.ctx.fillStyle=HA(a.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",L=new Ie(r.bounds.left,r.bounds.top+lA(r.styles.paddingTop,r.bounds.width),r.bounds.width,qc(a.lineHeight,a.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Sr(t.listValue,L),a.letterSpacing,qc(a.lineHeight,a.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),m.label=20;case 20:return[2]}})})},e.prototype.renderStackContent=function(t){return YA(this,void 0,void 0,function(){var r,n,N,a,s,N,u,o,N,l,f,N,h,d,N,C,p,N,T,U,N;return KA(this,function(_){switch(_.label){case 0:if(_A(t.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(t.element)];case 1:_.sent(),r=0,n=t.negativeZIndex,_.label=2;case 2:return r<n.length?(N=n[r],[4,this.renderStack(N)]):[3,5];case 3:_.sent(),_.label=4;case 4:return r++,[3,2];case 5:return[4,this.renderNodeContent(t.element)];case 6:_.sent(),a=0,s=t.nonInlineLevel,_.label=7;case 7:return a<s.length?(N=s[a],[4,this.renderNode(N)]):[3,10];case 8:_.sent(),_.label=9;case 9:return a++,[3,7];case 10:u=0,o=t.nonPositionedFloats,_.label=11;case 11:return u<o.length?(N=o[u],[4,this.renderStack(N)]):[3,14];case 12:_.sent(),_.label=13;case 13:return u++,[3,11];case 14:l=0,f=t.nonPositionedInlineLevel,_.label=15;case 15:return l<f.length?(N=f[l],[4,this.renderStack(N)]):[3,18];case 16:_.sent(),_.label=17;case 17:return l++,[3,15];case 18:h=0,d=t.inlineLevel,_.label=19;case 19:return h<d.length?(N=d[h],[4,this.renderNode(N)]):[3,22];case 20:_.sent(),_.label=21;case 21:return h++,[3,19];case 22:C=0,p=t.zeroOrAutoZIndexOrTransformedOrOpacity,_.label=23;case 23:return C<p.length?(N=p[C],[4,this.renderStack(N)]):[3,26];case 24:_.sent(),_.label=25;case 25:return C++,[3,23];case 26:T=0,U=t.positiveZIndex,_.label=27;case 27:return T<U.length?(N=U[T],[4,this.renderStack(N)]):[3,30];case 28:_.sent(),_.label=29;case 29:return T++,[3,27];case 30:return[2]}})})},e.prototype.mask=function(t){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(t.slice(0).reverse()),this.ctx.closePath()},e.prototype.path=function(t){this.ctx.beginPath(),this.formatPath(t),this.ctx.closePath()},e.prototype.formatPath=function(t){var r=this;t.forEach(function(n,a){var s=ue(n)?n.start:n;a===0?r.ctx.moveTo(s.x,s.y):r.ctx.lineTo(s.x,s.y),ue(n)&&r.ctx.bezierCurveTo(n.startControl.x,n.startControl.y,n.endControl.x,n.endControl.y,n.end.x,n.end.y)})},e.prototype.renderRepeat=function(t,r,n,a){this.path(t),this.ctx.fillStyle=r,this.ctx.translate(n,a),this.ctx.fill(),this.ctx.translate(-n,-a)},e.prototype.resizeImage=function(t,r,n){var a;if(t.width===r&&t.height===n)return t;var s=(a=this.canvas.ownerDocument)!==null&&a!==void 0?a:document,u=s.createElement("canvas");u.width=Math.max(1,r),u.height=Math.max(1,n);var o=u.getContext("2d");return o.drawImage(t,0,0,t.width,t.height,0,0,r,n),u},e.prototype.renderBackgroundImage=function(t){return YA(this,void 0,void 0,function(){var r,n,a,s,u,o;return KA(this,function(l){switch(l.label){case 0:r=t.styles.backgroundImage.length-1,n=function(f){var h,d,C,AA,hA,pA,q,tA,K,p,AA,hA,pA,q,tA,T,U,N,_,D,P,L,m,H,K,k,AA,uA,fA,q,tA,oA,hA,pA,XA,yA,GA,NA,zA,FA,kA,I;return KA(this,function(y){switch(y.label){case 0:if(f.type!==0)return[3,5];h=void 0,d=f.url,y.label=1;case 1:return y.trys.push([1,3,,4]),[4,a.context.cache.match(d)];case 2:return h=y.sent(),[3,4];case 3:return y.sent(),a.context.logger.error("Error loading background-image "+d),[3,4];case 4:return h&&(C=Ei(t,r,[h.width,h.height,h.width/h.height]),AA=C[0],hA=C[1],pA=C[2],q=C[3],tA=C[4],K=a.ctx.createPattern(a.resizeImage(h,q,tA),"repeat"),a.renderRepeat(AA,K,hA,pA)),[3,6];case 5:b1(f)?(p=Ei(t,r,[null,null,null]),AA=p[0],hA=p[1],pA=p[2],q=p[3],tA=p[4],T=m1(f.angle,q,tA),U=T[0],N=T[1],_=T[2],D=T[3],P=T[4],L=document.createElement("canvas"),L.width=q,L.height=tA,m=L.getContext("2d"),H=m.createLinearGradient(N,D,_,P),Rc(f.stops,U).forEach(function(rA){return H.addColorStop(rA.stop,HA(rA.color))}),m.fillStyle=H,m.fillRect(0,0,q,tA),q>0&&tA>0&&(K=a.ctx.createPattern(L,"repeat"),a.renderRepeat(AA,K,hA,pA))):U1(f)&&(k=Ei(t,r,[null,null,null]),AA=k[0],uA=k[1],fA=k[2],q=k[3],tA=k[4],oA=f.position.length===0?[Vs]:f.position,hA=lA(oA[0],q),pA=lA(oA[oA.length-1],tA),XA=p1(f,hA,pA,q,tA),yA=XA[0],GA=XA[1],yA>0&&GA>0&&(NA=a.ctx.createRadialGradient(uA+hA,fA+pA,0,uA+hA,fA+pA,yA),Rc(f.stops,yA*2).forEach(function(rA){return NA.addColorStop(rA.stop,HA(rA.color))}),a.path(AA),a.ctx.fillStyle=NA,yA!==GA?(zA=t.bounds.left+.5*t.bounds.width,FA=t.bounds.top+.5*t.bounds.height,kA=GA/yA,I=1/kA,a.ctx.save(),a.ctx.translate(zA,FA),a.ctx.transform(1,0,0,kA,0,0),a.ctx.translate(-zA,-FA),a.ctx.fillRect(uA,I*(fA-FA)+FA,q,tA*I),a.ctx.restore()):a.ctx.fill())),y.label=6;case 6:return r--,[2]}})},a=this,s=0,u=t.styles.backgroundImage.slice(0).reverse(),l.label=1;case 1:return s<u.length?(o=u[s],[5,n(o)]):[3,4];case 2:l.sent(),l.label=3;case 3:return s++,[3,1];case 4:return[2]}})})},e.prototype.renderSolidBorder=function(t,r,n){return YA(this,void 0,void 0,function(){return KA(this,function(a){return this.path(Wl(n,r)),this.ctx.fillStyle=HA(t),this.ctx.fill(),[2]})})},e.prototype.renderDoubleBorder=function(t,r,n,a){return YA(this,void 0,void 0,function(){var s,u;return KA(this,function(o){switch(o.label){case 0:return r<3?[4,this.renderSolidBorder(t,n,a)]:[3,2];case 1:return o.sent(),[2];case 2:return s=Ib(a,n),this.path(s),this.ctx.fillStyle=HA(t),this.ctx.fill(),u=_b(a,n),this.path(u),this.ctx.fill(),[2]}})})},e.prototype.renderNodeBackgroundAndBorders=function(t){return YA(this,void 0,void 0,function(){var r,n,a,s,u,o,l,f,h=this;return KA(this,function(d){switch(d.label){case 0:return this.applyEffects(t.getEffects(2)),r=t.container.styles,n=!We(r.backgroundColor)||r.backgroundImage.length,a=[{style:r.borderTopStyle,color:r.borderTopColor,width:r.borderTopWidth},{style:r.borderRightStyle,color:r.borderRightColor,width:r.borderRightWidth},{style:r.borderBottomStyle,color:r.borderBottomColor,width:r.borderBottomWidth},{style:r.borderLeftStyle,color:r.borderLeftColor,width:r.borderLeftWidth}],s=Mb(Pt(r.backgroundClip,0),t.curves),n||r.boxShadow.length?(this.ctx.save(),this.path(s),this.ctx.clip(),We(r.backgroundColor)||(this.ctx.fillStyle=HA(r.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(t.container)]):[3,2];case 1:d.sent(),this.ctx.restore(),r.boxShadow.slice(0).reverse().forEach(function(C){h.ctx.save();var p=na(t.curves),T=C.inset?0:Db,U=Qb(p,-T+(C.inset?1:-1)*C.spread.number,(C.inset?1:-1)*C.spread.number,C.spread.number*(C.inset?-2:2),C.spread.number*(C.inset?-2:2));C.inset?(h.path(p),h.ctx.clip(),h.mask(U)):(h.mask(p),h.ctx.clip(),h.path(U)),h.ctx.shadowOffsetX=C.offsetX.number+T,h.ctx.shadowOffsetY=C.offsetY.number,h.ctx.shadowColor=HA(C.color),h.ctx.shadowBlur=C.blur.number,h.ctx.fillStyle=C.inset?HA(C.color):"rgba(0,0,0,1)",h.ctx.fill(),h.ctx.restore()}),d.label=2;case 2:u=0,o=0,l=a,d.label=3;case 3:return o<l.length?(f=l[o],f.style!==0&&!We(f.color)&&f.width>0?f.style!==2?[3,5]:[4,this.renderDashedDottedBorder(f.color,f.width,u,t.curves,2)]:[3,11]):[3,13];case 4:return d.sent(),[3,11];case 5:return f.style!==3?[3,7]:[4,this.renderDashedDottedBorder(f.color,f.width,u,t.curves,3)];case 6:return d.sent(),[3,11];case 7:return f.style!==4?[3,9]:[4,this.renderDoubleBorder(f.color,f.width,u,t.curves)];case 8:return d.sent(),[3,11];case 9:return[4,this.renderSolidBorder(f.color,u,t.curves)];case 10:d.sent(),d.label=11;case 11:u++,d.label=12;case 12:return o++,[3,3];case 13:return[2]}})})},e.prototype.renderDashedDottedBorder=function(t,r,n,a,s){return YA(this,void 0,void 0,function(){var u,o,l,f,h,d,C,p,T,U,N,_,D,P,L,m,L,m;return KA(this,function(H){return this.ctx.save(),u=yb(a,n),o=Wl(a,n),s===2&&(this.path(o),this.ctx.clip()),ue(o[0])?(l=o[0].start.x,f=o[0].start.y):(l=o[0].x,f=o[0].y),ue(o[1])?(h=o[1].end.x,d=o[1].end.y):(h=o[1].x,d=o[1].y),n===0||n===2?C=Math.abs(l-h):C=Math.abs(f-d),this.ctx.beginPath(),s===3?this.formatPath(u):this.formatPath(o.slice(0,2)),p=r<3?r*3:r*2,T=r<3?r*2:r,s===3&&(p=r,T=r),U=!0,C<=p*2?U=!1:C<=p*2+T?(N=C/(2*p+T),p*=N,T*=N):(_=Math.floor((C+T)/(p+T)),D=(C-_*p)/(_-1),P=(C-(_+1)*p)/_,T=P<=0||Math.abs(T-D)<Math.abs(T-P)?D:P),U&&(s===3?this.ctx.setLineDash([0,p+T]):this.ctx.setLineDash([p,T])),s===3?(this.ctx.lineCap="round",this.ctx.lineWidth=r):this.ctx.lineWidth=r*2+1.1,this.ctx.strokeStyle=HA(t),this.ctx.stroke(),this.ctx.setLineDash([]),s===2&&(ue(o[0])&&(L=o[3],m=o[0],this.ctx.beginPath(),this.formatPath([new O(L.end.x,L.end.y),new O(m.start.x,m.start.y)]),this.ctx.stroke()),ue(o[1])&&(L=o[1],m=o[2],this.ctx.beginPath(),this.formatPath([new O(L.end.x,L.end.y),new O(m.start.x,m.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},e.prototype.render=function(t){return YA(this,void 0,void 0,function(){var r;return KA(this,function(n){switch(n.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=HA(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),r=Fb(t),[4,this.renderStack(r)];case 1:return n.sent(),this.applyEffects([]),[2,this.canvas]}})})},e}(jl),Rb=function(A){return A instanceof Cl||A instanceof pl?!0:A instanceof si&&A.type!==Zn&&A.type!==$n},Mb=function(A,e){switch(A){case 0:return na(e);case 2:return Cb(e);case 1:default:return aa(e)}},kb=function(A){switch(A){case 1:return"center";case 2:return"right";case 0:default:return"left"}},Pb=["-apple-system","system-ui"],Kb=function(A){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?A.filter(function(e){return Pb.indexOf(e)===-1}):A},Vb=function(A){de(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.canvas=r.canvas?r.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),n.options=r,n.canvas.width=Math.floor(r.width*r.scale),n.canvas.height=Math.floor(r.height*r.scale),n.canvas.style.width=r.width+"px",n.canvas.style.height=r.height+"px",n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-r.x,-r.y),n.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+r.width+"x"+r.height+" at "+r.x+","+r.y+") with scale "+r.scale),n}return e.prototype.render=function(t){return YA(this,void 0,void 0,function(){var r,n;return KA(this,function(a){switch(a.label){case 0:return r=ri(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,t),[4,Gb(r)];case 1:return n=a.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=HA(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(n,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},e}(jl),Gb=function(A){return new Promise(function(e,t){var r=new Image;r.onload=function(){e(r)},r.onerror=t,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(A))})},Yb=function(){function A(e){var t=e.id,r=e.enabled;this.id=t,this.enabled=r,this.start=Date.now()}return A.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&(typeof window<"u"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,En([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},A.prototype.getTime=function(){return Date.now()-this.start},A.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&typeof window<"u"&&window.console&&typeof console.info=="function"&&console.info.apply(console,En([this.id,this.getTime()+"ms"],e))},A.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&(typeof window<"u"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,En([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},A.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&(typeof window<"u"&&window.console&&typeof console.error=="function"?console.error.apply(console,En([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},A.instances={},A}(),Xb=function(){function A(e,t){var r;this.windowBounds=t,this.instanceName="#"+A.instanceCount++,this.logger=new Yb({id:this.instanceName,enabled:e.logging}),this.cache=(r=e.cache)!==null&&r!==void 0?r:new fb(this,e)}return A.instanceCount=1,A}(),Wb=function(A,e){return e===void 0&&(e={}),Jb(A,e)};typeof window<"u"&&Pl.setContext(window);var Jb=function(A,e){return YA(void 0,void 0,void 0,function(){var t,r,n,a,s,u,o,l,f,h,d,C,p,T,U,N,_,D,P,L,H,m,H,K,k,AA,uA,fA,q,tA,oA,hA,pA,XA,yA,GA,NA,zA,FA,kA;return KA(this,function(I){switch(I.label){case 0:if(!A||typeof A!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(t=A.ownerDocument,!t)throw new Error("Element is not attached to a Document");if(r=t.defaultView,!r)throw new Error("Document is not attached to a Window");return n={allowTaint:(K=e.allowTaint)!==null&&K!==void 0?K:!1,imageTimeout:(k=e.imageTimeout)!==null&&k!==void 0?k:15e3,proxy:e.proxy,useCORS:(AA=e.useCORS)!==null&&AA!==void 0?AA:!1},a=Ts({logging:(uA=e.logging)!==null&&uA!==void 0?uA:!0,cache:e.cache},n),s={windowWidth:(fA=e.windowWidth)!==null&&fA!==void 0?fA:r.innerWidth,windowHeight:(q=e.windowHeight)!==null&&q!==void 0?q:r.innerHeight,scrollX:(tA=e.scrollX)!==null&&tA!==void 0?tA:r.pageXOffset,scrollY:(oA=e.scrollY)!==null&&oA!==void 0?oA:r.pageYOffset},u=new Ie(s.scrollX,s.scrollY,s.windowWidth,s.windowHeight),o=new Xb(a,u),l=(hA=e.foreignObjectRendering)!==null&&hA!==void 0?hA:!1,f={allowTaint:(pA=e.allowTaint)!==null&&pA!==void 0?pA:!1,onclone:e.onclone,ignoreElements:e.ignoreElements,inlineImages:l,copyStyles:l},o.logger.debug("Starting document clone with size "+u.width+"x"+u.height+" scrolled to "+-u.left+","+-u.top),h=new Ml(o,A,f),d=h.clonedReferenceElement,d?[4,h.toIFrame(t,u)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return C=I.sent(),p=ui(d)||qT(d)?Qp(d.ownerDocument):mn(o,d),T=p.width,U=p.height,N=p.left,_=p.top,D=qb(o,d,e.backgroundColor),P={canvas:e.canvas,backgroundColor:D,scale:(yA=(XA=e.scale)!==null&&XA!==void 0?XA:r.devicePixelRatio)!==null&&yA!==void 0?yA:1,x:((GA=e.x)!==null&&GA!==void 0?GA:0)+N,y:((NA=e.y)!==null&&NA!==void 0?NA:0)+_,width:(zA=e.width)!==null&&zA!==void 0?zA:Math.ceil(T),height:(FA=e.height)!==null&&FA!==void 0?FA:Math.ceil(U)},l?(o.logger.debug("Document cloned, using foreign object rendering"),H=new Vb(o,P),[4,H.render(d)]):[3,3];case 2:return L=I.sent(),[3,5];case 3:return o.logger.debug("Document cloned, element located at "+N+","+_+" with size "+T+"x"+U+" using computed rendering"),o.logger.debug("Starting DOM parsing"),m=bl(o,d),D===m.styles.backgroundColor&&(m.styles.backgroundColor=ye.TRANSPARENT),o.logger.debug("Starting renderer for element at "+P.x+","+P.y+" with size "+P.width+"x"+P.height),H=new Ob(o,P),[4,H.render(m)];case 4:L=I.sent(),I.label=5;case 5:return(!((kA=e.removeContainer)!==null&&kA!==void 0)||kA)&&(Ml.destroy(C)||o.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),o.logger.debug("Finished rendering"),[2,L]}})})},qb=function(A,e,t){var r=e.ownerDocument,n=r.documentElement?yr(A,getComputedStyle(r.documentElement).backgroundColor):ye.TRANSPARENT,a=r.body?yr(A,getComputedStyle(r.body).backgroundColor):ye.TRANSPARENT,s=typeof t=="string"?yr(A,t):t===null?ye.TRANSPARENT:4294967295;return e===r.documentElement?We(n)?We(a)?s:a:n:s};const jb=c.defineComponent({name:"GpIframe",props:{htmlContent:{type:String,required:!0},jsFiles:{type:Array,default:[]},cssFiles:{type:Array,default:[]},iframeStyle:{type:Object,default:()=>({width:"100%",height:"100%",border:"none"})}},setup(A){const e=c.ref(null),t=c.ref(),r=()=>{var C;const a=e.value;if(!a)return;const s=a.contentDocument||((C=a.contentWindow)==null?void 0:C.document);if(!s)return;s.open(),s.write("<!DOCTYPE html><html><head></head><body></body></html>"),s.close();const u=s.head;A.cssFiles.forEach(p=>{const T=s.createElement("link");T.rel="stylesheet",T.href=p,u.appendChild(T)});const o=s.createElement("link");o.rel="stylesheet",o.href="/spa/topic/css/style.css",u.appendChild(o);const l=s.createElement("script");l.src="/spa/topic/js/jquery-3.6.0.min.js",l.async=!1,u.appendChild(l);const f=s.createElement("script");f.src="/spa/topic/js/swiper-bundle.min.js",f.async=!1,u.appendChild(f);const h=s.createElement("script");h.src="/spa/topic/js/index.js",h.async=!1,u.appendChild(h);const d=s.body;d.innerHTML=A.htmlContent,A.jsFiles.forEach(p=>{const T=s.createElement("script");T.src=p,T.async=!1,d.appendChild(T)}),t.value=d,c.nextTick(()=>{})};c.watch(t,a=>{if(!a)return;new MutationObserver(()=>{const u=e.value;u&&(u.style.height=`${a.scrollHeight}px`)}).observe(a,{childList:!0,subtree:!0})});const n=async a=>{var l;const s=e.value;if(!s)return;const u=s.contentDocument||((l=s.contentWindow)==null?void 0:l.document);if(!u)return;const o=u.body;if(o)try{await c.nextTick();const f=await Wb(o,{x:0,y:0,scrollX:window.scrollX,scrollY:window.scrollY,useCORS:!0,allowTaint:!0,foreignObjectRendering:!1});a?a(f):f.toBlob(h=>{const d=URL.createObjectURL(h);window.open(d,"_blank")})}catch(f){console.error("截图生成失败:",f)}};return c.watch(()=>[A.htmlContent,A.jsFiles,A.cssFiles],r,{deep:!0}),c.onMounted(()=>{r()}),{iframeRef:e,generateCover:n}}});function $b(A,e,t,r,n,a){return c.openBlock(),c.createElementBlock("div",null,[c.createElementVNode("iframe",{ref:"iframeRef",style:c.normalizeStyle([{"min-height":"600px"},A.iframeStyle])},null,4)])}const $l=Re(jb,[["render",$b],["__scopeId","data-v-e1815181"]]),Zb={class:"flex gp-dsigner"},zb={key:0,class:"flex items-center justify-between border-b"},AU={class:"text-lg font-bold p-2"},eU={class:"text-sm font-thin text-gray-500"},tU={class:"flex-1 overflow-auto"},rU={key:0,class:"flex justify-between items-center border-b p-2"},nU={class:"flex items-center"},aU={class:"p-2"},sU={class:"sticky top-0"},iU={key:0,class:"text-lg font-bold border-b p-2"},uU={class:"text-sm font-thin text-gray-500"},oU={class:"p-2"},cU={key:0,class:"max-h-[500px] overflow-hidden w-[640px] h-[360px] bg-light-100"},Zl=Re(c.defineComponent({__name:"Designer",props:{mode:{default:"design"},template:{},css:{},js:{},previewWidth:{default:360},uploadByFile:{},icons:{},rules:{},preview:{type:Boolean,default:!0},showTitle:{type:Boolean,default:!0}},emits:["update:modelValue","update:element"],setup(A,{expose:e,emit:t}){const r=A,n=t,a=c.ref(r.rules||[]),s=c.ref(r.template),u=c.ref();let o=ho("",{},!1);const l=c.ref("");c.watch(()=>r.template,Q=>{s.value=Q},{immediate:!0}),c.watch(()=>s.value,Q=>{Q&&(u.value=fA(Q))},{immediate:!0}),c.watch(()=>r.css,Q=>{Q.forEach(x=>{if(document.querySelector(`link[href="${x}"]`))return;const R=document.createElement("link");R.rel="stylesheet",R.href=x,document.head.appendChild(R)})},{immediate:!0}),c.watch(()=>r.js,Q=>{!Q||Q.length===0||Q.forEach(x=>{if(document.querySelector(`script[src="${x}"]`))return;const R=document.createElement("script");R.src=x,document.body.appendChild(R)})},{immediate:!0});const f=c.ref(r.mode);c.watch(()=>u.value,Q=>{Q&&n("update:element",Q)},{immediate:!0});const h=c.ref("");c.watch(()=>l.value,Q=>{n("update:modelValue",Q)},{immediate:!0});const d=c.ref(),C=c.ref(),p=c.ref(),T=c.ref(),U=c.ref(),N=c.ref(),_=c.ref(""),D=c.ref(r.mode==="design");c.watch(()=>r.rules,Q=>{a.value=Q,s.value&&(u.value=fA(s.value))},{immediate:!0});function P(Q=void 0){T.value&&T.value.generateCover(Q)}function L(Q){U.value=Q,Q.type===X.Text&&Q.rule.allowWrap&&(Ze.value=!0,Bt.value=Q.text)}function m(Q,x=""){if(x){const R=H(u.value,x);R?N.value=R:N.value=Q}else N.value=Q}function H(Q,x){if(Q.xpath===x)return Q;if(Q.children&&Q.children.length)for(const R of Q.children){const V=H(R,x);if(V)return V}}function K(Q,x){var R,V;return Q.tag===x.tag&&((R=Q.children)==null?void 0:R.length)===((V=x.children)==null?void 0:V.length)}function k(Q){if(U.value.xpath==Q.xpath){if(U.value){if(Q.type===X.Block){var x=!0;const R=H(u.value,U.value.parentxpath||"");if(R&&R.children&&R.children.forEach(V=>{if(V.tag!=U.value.tag||!K(V,U.value)){x=!1;return}}),!x){j.error("同级结构不一致,错误配置!");return}}if(U.value.rule=Q.rule,U.value.type=Q.type,U.value.type===X.Block){const R=H(u.value,U.value.parentxpath||"");R&&R.children&&(R.children.forEach(V=>{if(V.tag!=U.value.tag||!K(V,U.value)){j.error("同级结构不一致,无法配置为块类型");return}}),R.children.forEach(V=>{V.tag===U.value.tag&&(V.rule=Q.rule,V.type=Q.type)}))}}h.value=new Date().getTime().toString(),j.success("保存成功"),n("update:element",u.value)}}function AA(Q){const x=H(u.value,Q.xpath||"");x&&(x.rule=Q.rule,x.type=Q.type,x.children&&Q.children&&x.children.forEach(R=>{const V=Q.children.find(bA=>bA.xpath===R.xpath);V&&(R.rule=V.rule,R.type=V.type)})),j.success("操作成功"),h.value=new Date().getTime().toString(),n("update:element",u.value)}function uA(Q){l.value=Q}function fA(Q){o=ho(Q);const x=o("body").children().toArray().map(R=>q(o(R)));return l.value=o("body").html()||"",x[0]}function q(Q,x=""){var ce;function R(te){if(!te||!te[0])return"";const ze=[];let cA=te;for(;cA.length&&cA[0].tagName!=="html";){const ca=cA[0].tagName,fU=cA.parent().children(ca).index(cA)+1;ze.unshift(`${ca}[${fU}]`),cA=cA.parent()}return"/html/"+ze.join("/")}const V=R(Q).replace("/html/body[1]",""),bA=Q.children().toArray().map(te=>q(o(te),V)),DA=(ce=a.value)==null?void 0:ce.find(te=>te.xpath===V);return{tag:Q[0].tagName,text:Q.contents().not(Q.children()).text().trim(),attrs:Q[0].attribs,children:bA,xpath:V,parentxpath:x,type:(DA==null?void 0:DA.type)||X.None,rule:(DA==null?void 0:DA.rule)||{}}}function tA(Q){const x=H(u.value,Q.element.xpath);if(x){const R=c.toRaw(x);R.editText=Q.newText}}function oA(Q,x=""){function R(V,bA){var te;const ce=(bA?((te=H(u.value,bA))==null?void 0:te.children)||[]:[u.value]).filter(ze=>ze.tag===V.tag).indexOf(V)+1;return`${bA}/${V.tag}[${ce}]`}Q.xpath=R(Q,x),Q.parentxpath=x,(Q.children||[]).forEach(V=>oA(V,Q.xpath))}function hA({action:Q,element:x,newBlock:R}){const V=H(u.value,x.parentxpath||"");if(!V||!V.children)return;const bA=V.children.findIndex(cA=>cA===x);if(bA===-1){j.error("未找到元素");return}const DA=V.children.length,{minBlock:ce,maxBlock:te}=x.rule;if((Q==="add"||Q==="copy")&&DA>=(te||1/0)){_.value=`无法添加更多块。最大块数量为 ${te}`,j.error(_.value);return}function ze(cA){cA.xpath="",cA.parentxpath="",cA.text=cA.editText||cA.text,cA.editText="",cA.children.forEach(ca=>{ze(ca)})}switch(Q){case"add":if(R){const cA={...R,children:JSON.parse(JSON.stringify(R.children))};ze(cA),V.children.splice(bA+1,0,cA),j.success("添加成功")}break;case"copy":if(R){const cA={...R,children:JSON.parse(JSON.stringify(R.children))};ze(cA),V.children.splice(bA+1,0,cA),j.success("复制成功")}break;case"moveUp":if(bA>0){const[cA]=V.children.splice(bA,1);V.children.splice(bA-1,0,cA),j.success("前移成功")}else j.error("已经是第一个块,无法前移");break;case"moveDown":if(bA<V.children.length-1){const[cA]=V.children.splice(bA,1);V.children.splice(bA+1,0,cA),j.success("后移成功")}else j.error("已经是最后一个块,无法后移");break;case"delete":if(DA<=(ce||0)){_.value=`无法删除更多块。最小块数量为 ${ce}`,j.error(_.value);return}V.children.splice(bA,1),j.success("删除成功");break}_.value="",oA(u.value)}function pA(Q,x){let R=x.attrs.class.replace(/icon-\S+/g,`icon-${Q}`);x.attrs.class=R}function XA(Q){const x=Q.file,R=H(u.value,Q.element.xpath);if(r.uploadByFile)r.uploadByFile(x).then(V=>{V.success&&(R.attrs.src=V.file.url,h.value=new Date().getTime().toString())});else{R.attrs.alt=x.name;const V=URL.createObjectURL(x);R.attrs.src=V,h.value=new Date().getTime().toString()}}function yA(Q){const{icon:x}=Q,R=H(u.value,Q.element.xpath);let V=R.attrs.class.replace(/icon-\S+/g,`icon-${x}`);R.attrs.class=V,h.value=new Date().getTime().toString()}const GA=Q=>Q.type.startsWith("image/")?!0:(j.error("只能上传图片文件"),!1),NA=c.ref({});function zA(Q,x){if(!Q||Q.length===0)return;const R=Q[0];if(x.rule&&(x.rule.minImageWidth||x.rule.maxImageHeight)){if(x.rule.minImageWidth&&R.width<x.rule.minImageWidth){j.error(`图片宽度不能小于 ${x.rule.minImageWidth}px`);return}if(x.rule.maxImageHeight&&R.height<x.rule.maxImageHeight){j.error(`图片高度不能小于 ${x.rule.maxImageHeight}px`);return}}x.rule.minImageWidth&&x.rule.maxImageHeight?(NA.value.width=x.rule.minImageWidth,NA.value.height=x.rule.maxImageHeight,NA.value.aspectRatio=x.rule.minImageWidth/x.rule.maxImageHeight):NA.value={},R&&(x.rule.crop?(R.thumbUrl,d.value.handleOpenCropper(NA.value,R.file,R.name,x)):r.uploadByFile?r.uploadByFile(R.file).then(V=>{V.success&&(x.attrs.src=V.file.url,h.value=new Date().getTime().toString())}):(x.attrs.src=R.thumbUrl,h.value=new Date().getTime().toString()))}const FA=c.ref(r.previewWidth),kA=c.ref(360);let I=c.ref(!1),y=c.ref(""),rA=0,J=0;function CA(Q){y.value=Q,I.value=!0,rA=event.clientX,Q==="preview"?J=FA.value:Q==="structure"&&(J=kA.value),window.addEventListener("mousemove",$e),window.addEventListener("mouseup",Dr)}function $e(Q){if(!I.value)return;const x=Q.clientX-rA;y.value==="preview"?FA.value=Math.max(200,J+x):y.value==="structure"&&(kA.value=Math.max(200,J-x))}function Dr(){I.value=!1,y.value="",window.removeEventListener("mousemove",$e),window.removeEventListener("mouseup",Dr)}const Ze=c.ref(!1),Bt=c.ref("");function mi(){h.value=new Date().getTime().toString(),U.value&&U.value.type===X.Text&&(U.value.text=Bt.value,U.value.editText=Bt.value),Ze.value=!1}return e({generateCover:P}),(Q,x)=>(c.openBlock(),c.createElementBlock("div",Zb,[Q.preview?(c.openBlock(),c.createElementBlock("div",{key:0,class:"border-l overflow-auto resize-area",style:c.normalizeStyle({width:FA.value+"px"})},[Q.showTitle?(c.openBlock(),c.createElementBlock("div",zb,[c.createElementVNode("h2",AU,[x[6]||(x[6]=c.createTextVNode(" 实时预览 ")),c.createElementVNode("span",eU,c.toDisplayString(FA.value)+"px",1)]),c.createElementVNode("div",{onClick:x[0]||(x[0]=()=>P()),class:"p-2 cursor-pointer text-blue-500"}," 封面 ")])):c.createCommentVNode("",!0),c.createElementVNode("div",null,[l.value?(c.openBlock(),c.createBlock($l,{key:0,"css-files":Q.css,"js-files":Q.js,"html-content":l.value,class:"gp-designer-preview",ref_key:"previewRef",ref:T},null,8,["css-files","js-files","html-content"])):(c.openBlock(),c.createBlock($l,{key:1,"css-files":Q.css,"js-files":Q.js,"html-content":c.unref(o)("body").html(),class:"gp-designer-preview",ref_key:"previewRef",ref:T},null,8,["css-files","js-files","html-content"]))])],4)):c.createCommentVNode("",!0),Q.preview?(c.openBlock(),c.createElementBlock("div",{key:1,class:"resizer",onMousedown:x[1]||(x[1]=R=>CA("preview"))},null,32)):c.createCommentVNode("",!0),c.createElementVNode("div",tU,[Q.showTitle?(c.openBlock(),c.createElementBlock("div",rU,[x[8]||(x[8]=c.createElementVNode("h2",{class:"text-lg font-bold"},"结构渲染",-1)),c.createElementVNode("div",nU,[c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":x[2]||(x[2]=R=>D.value=R),type:"checkbox",id:"showMargin",class:"mr-2"},null,512),[[c.vModelCheckbox,D.value]]),x[7]||(x[7]=c.createElementVNode("label",{for:"showMargin"},"间距",-1))])])):c.createCommentVNode("",!0),c.createElementVNode("div",aU,[u.value?(c.openBlock(),c.createBlock(UE,{key:0,"upload-by-file":Q.uploadByFile,cropper:d.value,icon:C.value,upload:p.value,mode:Q.mode,icons:Q.icons,r:h.value,"show-margin":D.value,element:u.value,selectedElement:U.value,hoveredElement:N.value,onSelectElement:L,onHoverElement:m,onContentUpdated:uA,onUpdateText:tA,onBlockAction:hA,onAddIcon:pA,onUpdateElementRule:AA},null,8,["upload-by-file","cropper","icon","upload","mode","icons","r","show-margin","element","selectedElement","hoveredElement"])):c.createCommentVNode("",!0)])]),f.value=="design"?(c.openBlock(),c.createElementBlock("div",{key:2,class:"resizer",onMousedown:x[3]||(x[3]=R=>CA("structure"))},null,32)):c.createCommentVNode("",!0),f.value=="design"?(c.openBlock(),c.createElementBlock("div",{key:3,class:"resize-area",style:c.normalizeStyle({width:kA.value+"px"})},[c.createElementVNode("div",sU,[Q.showTitle?(c.openBlock(),c.createElementBlock("h2",iU,[x[9]||(x[9]=c.createTextVNode(" 节点属性 ")),c.createElementVNode("span",uU,c.toDisplayString(kA.value)+"px",1)])):c.createCommentVNode("",!0),c.createElementVNode("div",oU,[U.value?(c.openBlock(),c.createBlock(qE,{key:0,element:U.value,onUpdateElement:k},null,8,["element"])):c.createCommentVNode("",!0)])])],4)):c.createCommentVNode("",!0),c.createVNode(ap,{ref_key:"cropperRef",ref:d,onOk:XA},null,512),c.createVNode(Bp,{icons:Q.icons,ref_key:"iconRef",ref:C,onOk:yA},null,8,["icons"]),c.createVNode(Up,{ref_key:"uploadRef",ref:p,multiple:!1,show:!1,beforeUpload:GA,onChange:zA},{"upload-icon":c.withCtx(()=>x[10]||(x[10]=[c.createElementVNode("div",{class:"p-2"},"上传",-1)])),_:1},512),c.createVNode(Jo,{title:"多行文本编辑",visible:Ze.value,"onUpdate:visible":x[5]||(x[5]=R=>Ze.value=R),onOk:mi,"mask-closable":!1},{default:c.withCtx(()=>[U.value?(c.openBlock(),c.createElementBlock("div",cU,[c.withDirectives(c.createElementVNode("textarea",{"onUpdate:modelValue":x[4]||(x[4]=R=>Bt.value=R),class:"w-full h-full text-sm"},null,512),[[c.vModelText,Bt.value]])])):c.createCommentVNode("",!0)]),_:1},8,["visible"])]))}}),[["__scopeId","data-v-737cd3a5"]]),lU={install(A){A.component("Designer",Zl)}};ve.Designer=Zl,ve.default=lU,Object.defineProperties(ve,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
38
+ }`,fb=function(A){hb(A,"."+hi+cb+Pl+`
39
+ .`+di+lb+Pl)},hb=function(A,e){var t=A.ownerDocument;if(t){var r=t.createElement("style");r.textContent=e,A.appendChild(r)}},Kl=function(){function A(){}return A.getOrigin=function(e){var t=A._link;return t?(t.href=e,t.href=t.href,t.protocol+t.hostname+t.port):"about:blank"},A.isSameOrigin=function(e){return A.getOrigin(e)===A._origin},A.setContext=function(e){A._link=e.document.createElement("a"),A._origin=A.getOrigin(e.location.href)},A._origin="about:blank",A}(),db=function(){function A(e,t){this.context=e,this._options=t,this._cache={}}return A.prototype.addImage=function(e){var t=Promise.resolve();return this.has(e)||(gi(e)||pb(e))&&(this._cache[e]=this.loadImage(e)).catch(function(){}),t},A.prototype.match=function(e){return this._cache[e]},A.prototype.loadImage=function(e){return YA(this,void 0,void 0,function(){var t,r,n,a,s=this;return KA(this,function(u){switch(u.label){case 0:return t=Kl.isSameOrigin(e),r=!Bi(e)&&this._options.useCORS===!0&&MA.SUPPORT_CORS_IMAGES&&!t,n=!Bi(e)&&!t&&!gi(e)&&typeof this._options.proxy=="string"&&MA.SUPPORT_CORS_XHR&&!r,!t&&this._options.allowTaint===!1&&!Bi(e)&&!gi(e)&&!n&&!r?[2]:(a=e,n?[4,this.proxy(a)]:[3,2]);case 1:a=u.sent(),u.label=2;case 2:return this.context.logger.debug("Added image "+e.substring(0,256)),[4,new Promise(function(o,l){var f=new Image;f.onload=function(){return o(f)},f.onerror=l,(mb(a)||r)&&(f.crossOrigin="anonymous"),f.src=a,f.complete===!0&&setTimeout(function(){return o(f)},500),s._options.imageTimeout>0&&setTimeout(function(){return l("Timed out ("+s._options.imageTimeout+"ms) loading image")},s._options.imageTimeout)})];case 3:return[2,u.sent()]}})})},A.prototype.has=function(e){return typeof this._cache[e]<"u"},A.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},A.prototype.proxy=function(e){var t=this,r=this._options.proxy;if(!r)throw new Error("No proxy defined");var n=e.substring(0,256);return new Promise(function(a,s){var u=MA.SUPPORT_RESPONSE_TYPE?"blob":"text",o=new XMLHttpRequest;o.onload=function(){if(o.status===200)if(u==="text")a(o.response);else{var h=new FileReader;h.addEventListener("load",function(){return a(h.result)},!1),h.addEventListener("error",function(d){return s(d)},!1),h.readAsDataURL(o.response)}else s("Failed to proxy resource "+n+" with status code "+o.status)},o.onerror=s;var l=r.indexOf("?")>-1?"&":"?";if(o.open("GET",""+r+l+"url="+encodeURIComponent(e)+"&responseType="+u),u!=="text"&&o instanceof XMLHttpRequest&&(o.responseType=u),t._options.imageTimeout){var f=t._options.imageTimeout;o.timeout=f,o.ontimeout=function(){return s("Timed out ("+f+"ms) proxying "+n)}}o.send()})},A}(),Bb=/^data:image\/svg\+xml/i,gb=/^data:image\/.*;base64,/i,Eb=/^data:image\/.*/i,pb=function(A){return MA.SUPPORT_SVG_DRAWING||!Cb(A)},Bi=function(A){return Eb.test(A)},mb=function(A){return gb.test(A)},gi=function(A){return A.substr(0,4)==="blob"},Cb=function(A){return A.substr(-3).toLowerCase()==="svg"||Bb.test(A)},R=function(){function A(e,t){this.type=0,this.x=e,this.y=t}return A.prototype.add=function(e,t){return new A(this.x+e,this.y+t)},A}(),Pt=function(A,e,t){return new R(A.x+(e.x-A.x)*t,A.y+(e.y-A.y)*t)},aa=function(){function A(e,t,r,n){this.type=1,this.start=e,this.startControl=t,this.endControl=r,this.end=n}return A.prototype.subdivide=function(e,t){var r=Pt(this.start,this.startControl,e),n=Pt(this.startControl,this.endControl,e),a=Pt(this.endControl,this.end,e),s=Pt(r,n,e),u=Pt(n,a,e),o=Pt(s,u,e);return t?new A(this.start,r,s,o):new A(o,u,a,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}(),ue=function(A){return A.type===1},wb=function(){function A(e){var t=e.styles,r=e.bounds,n=Nr(t.borderTopLeftRadius,r.width,r.height),a=n[0],s=n[1],u=Nr(t.borderTopRightRadius,r.width,r.height),o=u[0],l=u[1],f=Nr(t.borderBottomRightRadius,r.width,r.height),h=f[0],d=f[1],C=Nr(t.borderBottomLeftRadius,r.width,r.height),m=C[0],T=C[1],U=[];U.push((a+o)/r.width),U.push((m+h)/r.width),U.push((s+T)/r.height),U.push((l+d)/r.height);var N=Math.max.apply(Math,U);N>1&&(a/=N,s/=N,o/=N,l/=N,h/=N,d/=N,m/=N,T/=N);var _=r.width-o,D=r.height-d,P=r.width-h,L=r.height-T,p=t.borderTopWidth,H=t.borderRightWidth,K=t.borderBottomWidth,k=t.borderLeftWidth,AA=lA(t.paddingTop,e.bounds.width),oA=lA(t.paddingRight,e.bounds.width),fA=lA(t.paddingBottom,e.bounds.width),q=lA(t.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=a>0||s>0?EA(r.left+k/3,r.top+p/3,a-k/3,s-p/3,aA.TOP_LEFT):new R(r.left+k/3,r.top+p/3),this.topRightBorderDoubleOuterBox=a>0||s>0?EA(r.left+_,r.top+p/3,o-H/3,l-p/3,aA.TOP_RIGHT):new R(r.left+r.width-H/3,r.top+p/3),this.bottomRightBorderDoubleOuterBox=h>0||d>0?EA(r.left+P,r.top+D,h-H/3,d-K/3,aA.BOTTOM_RIGHT):new R(r.left+r.width-H/3,r.top+r.height-K/3),this.bottomLeftBorderDoubleOuterBox=m>0||T>0?EA(r.left+k/3,r.top+L,m-k/3,T-K/3,aA.BOTTOM_LEFT):new R(r.left+k/3,r.top+r.height-K/3),this.topLeftBorderDoubleInnerBox=a>0||s>0?EA(r.left+k*2/3,r.top+p*2/3,a-k*2/3,s-p*2/3,aA.TOP_LEFT):new R(r.left+k*2/3,r.top+p*2/3),this.topRightBorderDoubleInnerBox=a>0||s>0?EA(r.left+_,r.top+p*2/3,o-H*2/3,l-p*2/3,aA.TOP_RIGHT):new R(r.left+r.width-H*2/3,r.top+p*2/3),this.bottomRightBorderDoubleInnerBox=h>0||d>0?EA(r.left+P,r.top+D,h-H*2/3,d-K*2/3,aA.BOTTOM_RIGHT):new R(r.left+r.width-H*2/3,r.top+r.height-K*2/3),this.bottomLeftBorderDoubleInnerBox=m>0||T>0?EA(r.left+k*2/3,r.top+L,m-k*2/3,T-K*2/3,aA.BOTTOM_LEFT):new R(r.left+k*2/3,r.top+r.height-K*2/3),this.topLeftBorderStroke=a>0||s>0?EA(r.left+k/2,r.top+p/2,a-k/2,s-p/2,aA.TOP_LEFT):new R(r.left+k/2,r.top+p/2),this.topRightBorderStroke=a>0||s>0?EA(r.left+_,r.top+p/2,o-H/2,l-p/2,aA.TOP_RIGHT):new R(r.left+r.width-H/2,r.top+p/2),this.bottomRightBorderStroke=h>0||d>0?EA(r.left+P,r.top+D,h-H/2,d-K/2,aA.BOTTOM_RIGHT):new R(r.left+r.width-H/2,r.top+r.height-K/2),this.bottomLeftBorderStroke=m>0||T>0?EA(r.left+k/2,r.top+L,m-k/2,T-K/2,aA.BOTTOM_LEFT):new R(r.left+k/2,r.top+r.height-K/2),this.topLeftBorderBox=a>0||s>0?EA(r.left,r.top,a,s,aA.TOP_LEFT):new R(r.left,r.top),this.topRightBorderBox=o>0||l>0?EA(r.left+_,r.top,o,l,aA.TOP_RIGHT):new R(r.left+r.width,r.top),this.bottomRightBorderBox=h>0||d>0?EA(r.left+P,r.top+D,h,d,aA.BOTTOM_RIGHT):new R(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=m>0||T>0?EA(r.left,r.top+L,m,T,aA.BOTTOM_LEFT):new R(r.left,r.top+r.height),this.topLeftPaddingBox=a>0||s>0?EA(r.left+k,r.top+p,Math.max(0,a-k),Math.max(0,s-p),aA.TOP_LEFT):new R(r.left+k,r.top+p),this.topRightPaddingBox=o>0||l>0?EA(r.left+Math.min(_,r.width-H),r.top+p,_>r.width+H?0:Math.max(0,o-H),Math.max(0,l-p),aA.TOP_RIGHT):new R(r.left+r.width-H,r.top+p),this.bottomRightPaddingBox=h>0||d>0?EA(r.left+Math.min(P,r.width-k),r.top+Math.min(D,r.height-K),Math.max(0,h-H),Math.max(0,d-K),aA.BOTTOM_RIGHT):new R(r.left+r.width-H,r.top+r.height-K),this.bottomLeftPaddingBox=m>0||T>0?EA(r.left+k,r.top+Math.min(L,r.height-K),Math.max(0,m-k),Math.max(0,T-K),aA.BOTTOM_LEFT):new R(r.left+k,r.top+r.height-K),this.topLeftContentBox=a>0||s>0?EA(r.left+k+q,r.top+p+AA,Math.max(0,a-(k+q)),Math.max(0,s-(p+AA)),aA.TOP_LEFT):new R(r.left+k+q,r.top+p+AA),this.topRightContentBox=o>0||l>0?EA(r.left+Math.min(_,r.width+k+q),r.top+p+AA,_>r.width+k+q?0:o-k+q,l-(p+AA),aA.TOP_RIGHT):new R(r.left+r.width-(H+oA),r.top+p+AA),this.bottomRightContentBox=h>0||d>0?EA(r.left+Math.min(P,r.width-(k+q)),r.top+Math.min(D,r.height+p+AA),Math.max(0,h-(H+oA)),d-(K+fA),aA.BOTTOM_RIGHT):new R(r.left+r.width-(H+oA),r.top+r.height-(K+fA)),this.bottomLeftContentBox=m>0||T>0?EA(r.left+k+q,r.top+L,Math.max(0,m-(k+q)),T-(K+fA),aA.BOTTOM_LEFT):new R(r.left+k+q,r.top+r.height-(K+fA))}return A}(),aA;(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"})(aA||(aA={}));var EA=function(A,e,t,r,n){var a=4*((Math.sqrt(2)-1)/3),s=t*a,u=r*a,o=A+t,l=e+r;switch(n){case aA.TOP_LEFT:return new aa(new R(A,l),new R(A,l-u),new R(o-s,e),new R(o,e));case aA.TOP_RIGHT:return new aa(new R(A,e),new R(A+s,e),new R(o,l-u),new R(o,l));case aA.BOTTOM_RIGHT:return new aa(new R(o,e),new R(o,e+u),new R(A+s,l),new R(A,l));case aA.BOTTOM_LEFT:default:return new aa(new R(o,l),new R(o-s,l),new R(A,e+u),new R(A,e))}},sa=function(A){return[A.topLeftBorderBox,A.topRightBorderBox,A.bottomRightBorderBox,A.bottomLeftBorderBox]},Tb=function(A){return[A.topLeftContentBox,A.topRightContentBox,A.bottomRightContentBox,A.bottomLeftContentBox]},ia=function(A){return[A.topLeftPaddingBox,A.topRightPaddingBox,A.bottomRightPaddingBox,A.bottomLeftPaddingBox]},bb=function(){function A(e,t,r){this.offsetX=e,this.offsetY=t,this.matrix=r,this.type=0,this.target=6}return A}(),ua=function(){function A(e,t){this.path=e,this.target=t,this.type=1}return A}(),Ub=function(){function A(e){this.opacity=e,this.type=2,this.target=6}return A}(),Qb=function(A){return A.type===0},Vl=function(A){return A.type===1},Fb=function(A){return A.type===2},Gl=function(A,e){return A.length===e.length?A.some(function(t,r){return t===e[r]}):!1},Ib=function(A,e,t,r,n){return A.map(function(a,s){switch(s){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})},Yl=function(){function A(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return A}(),Xl=function(){function A(e,t){if(this.container=e,this.parent=t,this.effects=[],this.curves=new wb(this.container),this.container.styles.opacity<1&&this.effects.push(new Ub(this.container.styles.opacity)),this.container.styles.transform!==null){var r=this.container.bounds.left+this.container.styles.transformOrigin[0].number,n=this.container.bounds.top+this.container.styles.transformOrigin[1].number,a=this.container.styles.transform;this.effects.push(new bb(r,n,a))}if(this.container.styles.overflowX!==0){var s=sa(this.curves),u=ia(this.curves);Gl(s,u)?this.effects.push(new ua(s,6)):(this.effects.push(new ua(s,2)),this.effects.push(new ua(u,4)))}}return A.prototype.getEffects=function(e){for(var t=[2,3].indexOf(this.container.styles.position)===-1,r=this.parent,n=this.effects.slice(0);r;){var a=r.effects.filter(function(o){return!Vl(o)});if(t||r.container.styles.position!==0||!r.parent){if(n.unshift.apply(n,a),t=[2,3].indexOf(r.container.styles.position)===-1,r.container.styles.overflowX!==0){var s=sa(r.curves),u=ia(r.curves);Gl(s,u)||n.unshift(new ua(u,6))}}else n.unshift.apply(n,a);r=r.parent}return n.filter(function(o){return yA(o.target,e)})},A}(),Ei=function(A,e,t,r){A.container.elements.forEach(function(n){var a=yA(n.flags,4),s=yA(n.flags,2),u=new Xl(n,A);yA(n.styles.display,2048)&&r.push(u);var o=yA(n.flags,8)?[]:r;if(a||s){var l=a||n.styles.isPositioned()?t:e,f=new Yl(u);if(n.styles.isPositioned()||n.styles.opacity<1||n.styles.isTransformed()){var h=n.styles.zIndex.order;if(h<0){var d=0;l.negativeZIndex.some(function(m,T){return h>m.element.container.styles.zIndex.order?(d=T,!1):d>0}),l.negativeZIndex.splice(d,0,f)}else if(h>0){var C=0;l.positiveZIndex.some(function(m,T){return h>=m.element.container.styles.zIndex.order?(C=T+1,!1):C>0}),l.positiveZIndex.splice(C,0,f)}else l.zeroOrAutoZIndexOrTransformedOrOpacity.push(f)}else n.styles.isFloating()?l.nonPositionedFloats.push(f):l.nonPositionedInlineLevel.push(f);Ei(u,f,a?f:t,o)}else n.styles.isInlineLevel()?e.inlineLevel.push(u):e.nonInlineLevel.push(u),Ei(u,e,t,o);yA(n.flags,8)&&Wl(n,o)})},Wl=function(A,e){for(var t=A instanceof si?A.start:1,r=A instanceof si?A.reversed:!1,n=0;n<e.length;n++){var a=e[n];a.container instanceof pl&&typeof a.container.value=="number"&&a.container.value!==0&&(t=a.container.value),a.listValue=Dr(t,a.container.styles.listStyleType,!0),t+=r?-1:1}},_b=function(A){var e=new Xl(A,null),t=new Yl(e),r=[];return Ei(e,t,t,r),Wl(e.container,r),t},Jl=function(A,e){switch(e){case 0:return oe(A.topLeftBorderBox,A.topLeftPaddingBox,A.topRightBorderBox,A.topRightPaddingBox);case 1:return oe(A.topRightBorderBox,A.topRightPaddingBox,A.bottomRightBorderBox,A.bottomRightPaddingBox);case 2:return oe(A.bottomRightBorderBox,A.bottomRightPaddingBox,A.bottomLeftBorderBox,A.bottomLeftPaddingBox);case 3:default:return oe(A.bottomLeftBorderBox,A.bottomLeftPaddingBox,A.topLeftBorderBox,A.topLeftPaddingBox)}},yb=function(A,e){switch(e){case 0:return oe(A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox,A.topRightBorderBox,A.topRightBorderDoubleOuterBox);case 1:return oe(A.topRightBorderBox,A.topRightBorderDoubleOuterBox,A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox);case 2:return oe(A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox,A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox);case 3:default:return oe(A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox,A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox)}},Nb=function(A,e){switch(e){case 0:return oe(A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox,A.topRightBorderDoubleInnerBox,A.topRightPaddingBox);case 1:return oe(A.topRightBorderDoubleInnerBox,A.topRightPaddingBox,A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox);case 2:return oe(A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox,A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox);case 3:default:return oe(A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox,A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox)}},vb=function(A,e){switch(e){case 0:return oa(A.topLeftBorderStroke,A.topRightBorderStroke);case 1:return oa(A.topRightBorderStroke,A.bottomRightBorderStroke);case 2:return oa(A.bottomRightBorderStroke,A.bottomLeftBorderStroke);case 3:default:return oa(A.bottomLeftBorderStroke,A.topLeftBorderStroke)}},oa=function(A,e){var t=[];return ue(A)?t.push(A.subdivide(.5,!1)):t.push(A),ue(e)?t.push(e.subdivide(.5,!0)):t.push(e),t},oe=function(A,e,t,r){var n=[];return ue(A)?n.push(A.subdivide(.5,!1)):n.push(A),ue(t)?n.push(t.subdivide(.5,!0)):n.push(t),ue(r)?n.push(r.subdivide(.5,!0).reverse()):n.push(r),ue(e)?n.push(e.subdivide(.5,!1).reverse()):n.push(e),n},ql=function(A){var e=A.bounds,t=A.styles;return e.add(t.borderLeftWidth,t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth),-(t.borderTopWidth+t.borderBottomWidth))},ca=function(A){var e=A.styles,t=A.bounds,r=lA(e.paddingLeft,t.width),n=lA(e.paddingRight,t.width),a=lA(e.paddingTop,t.width),s=lA(e.paddingBottom,t.width);return t.add(r+e.borderLeftWidth,a+e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth+r+n),-(e.borderTopWidth+e.borderBottomWidth+a+s))},Sb=function(A,e){return A===0?e.bounds:A===2?ca(e):ql(e)},xb=function(A,e){return A===0?e.bounds:A===2?ca(e):ql(e)},pi=function(A,e,t){var r=Sb(Vt(A.styles.backgroundOrigin,e),A),n=xb(Vt(A.styles.backgroundClip,e),A),a=Lb(Vt(A.styles.backgroundSize,e),t,r),s=a[0],u=a[1],o=Nr(Vt(A.styles.backgroundPosition,e),r.width-s,r.height-u),l=Hb(Vt(A.styles.backgroundRepeat,e),o,a,r,n),f=Math.round(r.left+o[0]),h=Math.round(r.top+o[1]);return[l,f,h,s,u]},Kt=function(A){return uA(A)&&A.value===Ot.AUTO},la=function(A){return typeof A=="number"},Lb=function(A,e,t){var r=e[0],n=e[1],a=e[2],s=A[0],u=A[1];if(!s)return[0,0];if(FA(s)&&u&&FA(u))return[lA(s,t.width),lA(u,t.height)];var o=la(a);if(uA(s)&&(s.value===Ot.CONTAIN||s.value===Ot.COVER)){if(la(a)){var l=t.width/t.height;return l<a!=(s.value===Ot.COVER)?[t.width,t.width/a]:[t.height*a,t.height]}return[t.width,t.height]}var f=la(r),h=la(n),d=f||h;if(Kt(s)&&(!u||Kt(u))){if(f&&h)return[r,n];if(!o&&!d)return[t.width,t.height];if(d&&o){var C=f?r:n*a,m=h?n:r/a;return[C,m]}var T=f?r:t.width,U=h?n:t.height;return[T,U]}if(o){var N=0,_=0;return FA(s)?N=lA(s,t.width):FA(u)&&(_=lA(u,t.height)),Kt(s)?N=_*a:(!u||Kt(u))&&(_=N/a),[N,_]}var D=null,P=null;if(FA(s)?D=lA(s,t.width):u&&FA(u)&&(P=lA(u,t.height)),D!==null&&(!u||Kt(u))&&(P=f&&h?D/r*n:t.height),P!==null&&Kt(s)&&(D=f&&h?P/n*r:t.width),D!==null&&P!==null)return[D,P];throw new Error("Unable to calculate background-size for element")},Vt=function(A,e){var t=A[e];return typeof t>"u"?A[0]:t},Hb=function(A,e,t,r,n){var a=e[0],s=e[1],u=t[0],o=t[1];switch(A){case 2:return[new R(Math.round(r.left),Math.round(r.top+s)),new R(Math.round(r.left+r.width),Math.round(r.top+s)),new R(Math.round(r.left+r.width),Math.round(o+r.top+s)),new R(Math.round(r.left),Math.round(o+r.top+s))];case 3:return[new R(Math.round(r.left+a),Math.round(r.top)),new R(Math.round(r.left+a+u),Math.round(r.top)),new R(Math.round(r.left+a+u),Math.round(r.height+r.top)),new R(Math.round(r.left+a),Math.round(r.height+r.top))];case 1:return[new R(Math.round(r.left+a),Math.round(r.top+s)),new R(Math.round(r.left+a+u),Math.round(r.top+s)),new R(Math.round(r.left+a+u),Math.round(r.top+s+o)),new R(Math.round(r.left+a),Math.round(r.top+s+o))];default:return[new R(Math.round(n.left),Math.round(n.top)),new R(Math.round(n.left+n.width),Math.round(n.top)),new R(Math.round(n.left+n.width),Math.round(n.height+n.top)),new R(Math.round(n.left),Math.round(n.height+n.top))]}},Db="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",jl="Hidden Text",Ob=function(){function A(e){this._data={},this._document=e}return A.prototype.parseMetrics=function(e,t){var r=this._document.createElement("div"),n=this._document.createElement("img"),a=this._document.createElement("span"),s=this._document.body;r.style.visibility="hidden",r.style.fontFamily=e,r.style.fontSize=t,r.style.margin="0",r.style.padding="0",r.style.whiteSpace="nowrap",s.appendChild(r),n.src=Db,n.width=1,n.height=1,n.style.margin="0",n.style.padding="0",n.style.verticalAlign="baseline",a.style.fontFamily=e,a.style.fontSize=t,a.style.margin="0",a.style.padding="0",a.appendChild(this._document.createTextNode(jl)),r.appendChild(a),r.appendChild(n);var u=n.offsetTop-a.offsetTop+2;r.removeChild(a),r.appendChild(this._document.createTextNode(jl)),r.style.lineHeight="normal",n.style.verticalAlign="super";var o=n.offsetTop-r.offsetTop+2;return s.removeChild(r),{baseline:u,middle:o}},A.prototype.getMetrics=function(e,t){var r=e+" "+t;return typeof this._data[r]>"u"&&(this._data[r]=this.parseMetrics(e,t)),this._data[r]},A}(),$l=function(){function A(e,t){this.context=e,this.options=t}return A}(),Rb=1e4,Mb=function(A){he(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n._activeEffects=[],n.canvas=r.canvas?r.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),r.canvas||(n.canvas.width=Math.floor(r.width*r.scale),n.canvas.height=Math.floor(r.height*r.scale),n.canvas.style.width=r.width+"px",n.canvas.style.height=r.height+"px"),n.fontMetrics=new Ob(document),n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-r.x,-r.y),n.ctx.textBaseline="bottom",n._activeEffects=[],n.context.logger.debug("Canvas renderer initialized ("+r.width+"x"+r.height+") with scale "+r.scale),n}return e.prototype.applyEffects=function(t){for(var r=this;this._activeEffects.length;)this.popEffect();t.forEach(function(n){return r.applyEffect(n)})},e.prototype.applyEffect=function(t){this.ctx.save(),Fb(t)&&(this.ctx.globalAlpha=t.opacity),Qb(t)&&(this.ctx.translate(t.offsetX,t.offsetY),this.ctx.transform(t.matrix[0],t.matrix[1],t.matrix[2],t.matrix[3],t.matrix[4],t.matrix[5]),this.ctx.translate(-t.offsetX,-t.offsetY)),Vl(t)&&(this.path(t.path),this.ctx.clip()),this._activeEffects.push(t)},e.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},e.prototype.renderStack=function(t){return YA(this,void 0,void 0,function(){var r;return KA(this,function(n){switch(n.label){case 0:return r=t.element.container.styles,r.isVisible()?[4,this.renderStackContent(t)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[2]}})})},e.prototype.renderNode=function(t){return YA(this,void 0,void 0,function(){return KA(this,function(r){switch(r.label){case 0:if(yA(t.container.flags,16))debugger;return t.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(t)]:[3,3];case 1:return r.sent(),[4,this.renderNodeContent(t)];case 2:r.sent(),r.label=3;case 3:return[2]}})})},e.prototype.renderTextWithLetterSpacing=function(t,r,n){var a=this;if(r===0)this.ctx.fillText(t.text,t.bounds.left,t.bounds.top+n);else{var s=ai(t.text);s.reduce(function(u,o){return a.ctx.fillText(o,u,t.bounds.top+n),u+a.ctx.measureText(o).width},t.bounds.left)}},e.prototype.createFontStyle=function(t){var r=t.fontVariant.filter(function(s){return s==="normal"||s==="small-caps"}).join(""),n=Gb(t.fontFamily).join(", "),a=yr(t.fontSize)?""+t.fontSize.number+t.fontSize.unit:t.fontSize.number+"px";return[[t.fontStyle,r,t.fontWeight,a,n].join(" "),n,a]},e.prototype.renderTextNode=function(t,r){return YA(this,void 0,void 0,function(){var n,a,s,u,o,l,f,h,d=this;return KA(this,function(C){return n=this.createFontStyle(r),a=n[0],s=n[1],u=n[2],this.ctx.font=a,this.ctx.direction=r.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",o=this.fontMetrics.getMetrics(s,u),l=o.baseline,f=o.middle,h=r.paintOrder,t.textBounds.forEach(function(m){h.forEach(function(T){switch(T){case 0:d.ctx.fillStyle=DA(r.color),d.renderTextWithLetterSpacing(m,r.letterSpacing,l);var U=r.textShadow;U.length&&m.text.trim().length&&(U.slice(0).reverse().forEach(function(N){d.ctx.shadowColor=DA(N.color),d.ctx.shadowOffsetX=N.offsetX.number*d.options.scale,d.ctx.shadowOffsetY=N.offsetY.number*d.options.scale,d.ctx.shadowBlur=N.blur.number,d.renderTextWithLetterSpacing(m,r.letterSpacing,l)}),d.ctx.shadowColor="",d.ctx.shadowOffsetX=0,d.ctx.shadowOffsetY=0,d.ctx.shadowBlur=0),r.textDecorationLine.length&&(d.ctx.fillStyle=DA(r.textDecorationColor||r.color),r.textDecorationLine.forEach(function(N){switch(N){case 1:d.ctx.fillRect(m.bounds.left,Math.round(m.bounds.top+l),m.bounds.width,1);break;case 2:d.ctx.fillRect(m.bounds.left,Math.round(m.bounds.top),m.bounds.width,1);break;case 3:d.ctx.fillRect(m.bounds.left,Math.ceil(m.bounds.top+f),m.bounds.width,1);break}}));break;case 1:r.webkitTextStrokeWidth&&m.text.trim().length&&(d.ctx.strokeStyle=DA(r.webkitTextStrokeColor),d.ctx.lineWidth=r.webkitTextStrokeWidth,d.ctx.lineJoin=window.chrome?"miter":"round",d.ctx.strokeText(m.text,m.bounds.left,m.bounds.top+l)),d.ctx.strokeStyle="",d.ctx.lineWidth=0,d.ctx.lineJoin="miter";break}})}),[2]})})},e.prototype.renderReplacedElement=function(t,r,n){if(n&&t.intrinsicWidth>0&&t.intrinsicHeight>0){var a=ca(t),s=ia(r);this.path(s),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,t.intrinsicWidth,t.intrinsicHeight,a.left,a.top,a.width,a.height),this.ctx.restore()}},e.prototype.renderNodeContent=function(t){return YA(this,void 0,void 0,function(){var r,n,a,s,u,o,_,_,l,f,h,d,P,C,m,L,T,U,N,_,D,P,L;return KA(this,function(p){switch(p.label){case 0:this.applyEffects(t.getEffects(4)),r=t.container,n=t.curves,a=r.styles,s=0,u=r.textNodes,p.label=1;case 1:return s<u.length?(o=u[s],[4,this.renderTextNode(o,a)]):[3,4];case 2:p.sent(),p.label=3;case 3:return s++,[3,1];case 4:if(!(r instanceof Bl))return[3,8];p.label=5;case 5:return p.trys.push([5,7,,8]),[4,this.context.cache.match(r.src)];case 6:return _=p.sent(),this.renderReplacedElement(r,n,_),[3,8];case 7:return p.sent(),this.context.logger.error("Error loading image "+r.src),[3,8];case 8:if(r instanceof gl&&this.renderReplacedElement(r,n,r.canvas),!(r instanceof El))return[3,12];p.label=9;case 9:return p.trys.push([9,11,,12]),[4,this.context.cache.match(r.svg)];case 10:return _=p.sent(),this.renderReplacedElement(r,n,_),[3,12];case 11:return p.sent(),this.context.logger.error("Error loading svg "+r.svg.substring(0,255)),[3,12];case 12:return r instanceof Tl&&r.tree?(l=new e(this.context,{scale:this.options.scale,backgroundColor:r.backgroundColor,x:0,y:0,width:r.width,height:r.height}),[4,l.render(r.tree)]):[3,14];case 13:f=p.sent(),r.width&&r.height&&this.ctx.drawImage(f,0,0,r.width,r.height,r.bounds.left,r.bounds.top,r.bounds.width,r.bounds.height),p.label=14;case 14:if(r instanceof ii&&(h=Math.min(r.bounds.width,r.bounds.height),r.type===zn?r.checked&&(this.ctx.save(),this.path([new R(r.bounds.left+h*.39363,r.bounds.top+h*.79),new R(r.bounds.left+h*.16,r.bounds.top+h*.5549),new R(r.bounds.left+h*.27347,r.bounds.top+h*.44071),new R(r.bounds.left+h*.39694,r.bounds.top+h*.5649),new R(r.bounds.left+h*.72983,r.bounds.top+h*.23),new R(r.bounds.left+h*.84,r.bounds.top+h*.34085),new R(r.bounds.left+h*.39363,r.bounds.top+h*.79)]),this.ctx.fillStyle=DA(ml),this.ctx.fill(),this.ctx.restore()):r.type===Aa&&r.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(r.bounds.left+h/2,r.bounds.top+h/2,h/4,0,Math.PI*2,!0),this.ctx.fillStyle=DA(ml),this.ctx.fill(),this.ctx.restore())),kb(r)&&r.value.length){switch(d=this.createFontStyle(a),P=d[0],C=d[1],m=this.fontMetrics.getMetrics(P,C).baseline,this.ctx.font=P,this.ctx.fillStyle=DA(a.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=Kb(r.styles.textAlign),L=ca(r),T=0,r.styles.textAlign){case 1:T+=L.width/2;break;case 2:T+=L.width;break}U=L.add(T,0,0,-L.height/2+1),this.ctx.save(),this.path([new R(L.left,L.top),new R(L.left+L.width,L.top),new R(L.left+L.width,L.top+L.height),new R(L.left,L.top+L.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Lr(r.value,U),a.letterSpacing,m),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!yA(r.styles.display,2048))return[3,20];if(r.styles.listStyleImage===null)return[3,19];if(N=r.styles.listStyleImage,N.type!==0)return[3,18];_=void 0,D=N.url,p.label=15;case 15:return p.trys.push([15,17,,18]),[4,this.context.cache.match(D)];case 16:return _=p.sent(),this.ctx.drawImage(_,r.bounds.left-(_.width+10),r.bounds.top),[3,18];case 17:return p.sent(),this.context.logger.error("Error loading list-style-image "+D),[3,18];case 18:return[3,20];case 19:t.listValue&&r.styles.listStyleType!==-1&&(P=this.createFontStyle(a)[0],this.ctx.font=P,this.ctx.fillStyle=DA(a.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",L=new ye(r.bounds.left,r.bounds.top+lA(r.styles.paddingTop,r.bounds.width),r.bounds.width,jc(a.lineHeight,a.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Lr(t.listValue,L),a.letterSpacing,jc(a.lineHeight,a.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),p.label=20;case 20:return[2]}})})},e.prototype.renderStackContent=function(t){return YA(this,void 0,void 0,function(){var r,n,N,a,s,N,u,o,N,l,f,N,h,d,N,C,m,N,T,U,N;return KA(this,function(_){switch(_.label){case 0:if(yA(t.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(t.element)];case 1:_.sent(),r=0,n=t.negativeZIndex,_.label=2;case 2:return r<n.length?(N=n[r],[4,this.renderStack(N)]):[3,5];case 3:_.sent(),_.label=4;case 4:return r++,[3,2];case 5:return[4,this.renderNodeContent(t.element)];case 6:_.sent(),a=0,s=t.nonInlineLevel,_.label=7;case 7:return a<s.length?(N=s[a],[4,this.renderNode(N)]):[3,10];case 8:_.sent(),_.label=9;case 9:return a++,[3,7];case 10:u=0,o=t.nonPositionedFloats,_.label=11;case 11:return u<o.length?(N=o[u],[4,this.renderStack(N)]):[3,14];case 12:_.sent(),_.label=13;case 13:return u++,[3,11];case 14:l=0,f=t.nonPositionedInlineLevel,_.label=15;case 15:return l<f.length?(N=f[l],[4,this.renderStack(N)]):[3,18];case 16:_.sent(),_.label=17;case 17:return l++,[3,15];case 18:h=0,d=t.inlineLevel,_.label=19;case 19:return h<d.length?(N=d[h],[4,this.renderNode(N)]):[3,22];case 20:_.sent(),_.label=21;case 21:return h++,[3,19];case 22:C=0,m=t.zeroOrAutoZIndexOrTransformedOrOpacity,_.label=23;case 23:return C<m.length?(N=m[C],[4,this.renderStack(N)]):[3,26];case 24:_.sent(),_.label=25;case 25:return C++,[3,23];case 26:T=0,U=t.positiveZIndex,_.label=27;case 27:return T<U.length?(N=U[T],[4,this.renderStack(N)]):[3,30];case 28:_.sent(),_.label=29;case 29:return T++,[3,27];case 30:return[2]}})})},e.prototype.mask=function(t){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(t.slice(0).reverse()),this.ctx.closePath()},e.prototype.path=function(t){this.ctx.beginPath(),this.formatPath(t),this.ctx.closePath()},e.prototype.formatPath=function(t){var r=this;t.forEach(function(n,a){var s=ue(n)?n.start:n;a===0?r.ctx.moveTo(s.x,s.y):r.ctx.lineTo(s.x,s.y),ue(n)&&r.ctx.bezierCurveTo(n.startControl.x,n.startControl.y,n.endControl.x,n.endControl.y,n.end.x,n.end.y)})},e.prototype.renderRepeat=function(t,r,n,a){this.path(t),this.ctx.fillStyle=r,this.ctx.translate(n,a),this.ctx.fill(),this.ctx.translate(-n,-a)},e.prototype.resizeImage=function(t,r,n){var a;if(t.width===r&&t.height===n)return t;var s=(a=this.canvas.ownerDocument)!==null&&a!==void 0?a:document,u=s.createElement("canvas");u.width=Math.max(1,r),u.height=Math.max(1,n);var o=u.getContext("2d");return o.drawImage(t,0,0,t.width,t.height,0,0,r,n),u},e.prototype.renderBackgroundImage=function(t){return YA(this,void 0,void 0,function(){var r,n,a,s,u,o;return KA(this,function(l){switch(l.label){case 0:r=t.styles.backgroundImage.length-1,n=function(f){var h,d,C,AA,hA,CA,q,tA,K,m,AA,hA,CA,q,tA,T,U,N,_,D,P,L,p,H,K,k,AA,oA,fA,q,tA,cA,hA,CA,XA,NA,GA,vA,Ae,IA,kA,I;return KA(this,function(y){switch(y.label){case 0:if(f.type!==0)return[3,5];h=void 0,d=f.url,y.label=1;case 1:return y.trys.push([1,3,,4]),[4,a.context.cache.match(d)];case 2:return h=y.sent(),[3,4];case 3:return y.sent(),a.context.logger.error("Error loading background-image "+d),[3,4];case 4:return h&&(C=pi(t,r,[h.width,h.height,h.width/h.height]),AA=C[0],hA=C[1],CA=C[2],q=C[3],tA=C[4],K=a.ctx.createPattern(a.resizeImage(h,q,tA),"repeat"),a.renderRepeat(AA,K,hA,CA)),[3,6];case 5:Q1(f)?(m=pi(t,r,[null,null,null]),AA=m[0],hA=m[1],CA=m[2],q=m[3],tA=m[4],T=C1(f.angle,q,tA),U=T[0],N=T[1],_=T[2],D=T[3],P=T[4],L=document.createElement("canvas"),L.width=q,L.height=tA,p=L.getContext("2d"),H=p.createLinearGradient(N,D,_,P),Mc(f.stops,U).forEach(function(rA){return H.addColorStop(rA.stop,DA(rA.color))}),p.fillStyle=H,p.fillRect(0,0,q,tA),q>0&&tA>0&&(K=a.ctx.createPattern(L,"repeat"),a.renderRepeat(AA,K,hA,CA))):F1(f)&&(k=pi(t,r,[null,null,null]),AA=k[0],oA=k[1],fA=k[2],q=k[3],tA=k[4],cA=f.position.length===0?[Gs]:f.position,hA=lA(cA[0],q),CA=lA(cA[cA.length-1],tA),XA=w1(f,hA,CA,q,tA),NA=XA[0],GA=XA[1],NA>0&&GA>0&&(vA=a.ctx.createRadialGradient(oA+hA,fA+CA,0,oA+hA,fA+CA,NA),Mc(f.stops,NA*2).forEach(function(rA){return vA.addColorStop(rA.stop,DA(rA.color))}),a.path(AA),a.ctx.fillStyle=vA,NA!==GA?(Ae=t.bounds.left+.5*t.bounds.width,IA=t.bounds.top+.5*t.bounds.height,kA=GA/NA,I=1/kA,a.ctx.save(),a.ctx.translate(Ae,IA),a.ctx.transform(1,0,0,kA,0,0),a.ctx.translate(-Ae,-IA),a.ctx.fillRect(oA,I*(fA-IA)+IA,q,tA*I),a.ctx.restore()):a.ctx.fill())),y.label=6;case 6:return r--,[2]}})},a=this,s=0,u=t.styles.backgroundImage.slice(0).reverse(),l.label=1;case 1:return s<u.length?(o=u[s],[5,n(o)]):[3,4];case 2:l.sent(),l.label=3;case 3:return s++,[3,1];case 4:return[2]}})})},e.prototype.renderSolidBorder=function(t,r,n){return YA(this,void 0,void 0,function(){return KA(this,function(a){return this.path(Jl(n,r)),this.ctx.fillStyle=DA(t),this.ctx.fill(),[2]})})},e.prototype.renderDoubleBorder=function(t,r,n,a){return YA(this,void 0,void 0,function(){var s,u;return KA(this,function(o){switch(o.label){case 0:return r<3?[4,this.renderSolidBorder(t,n,a)]:[3,2];case 1:return o.sent(),[2];case 2:return s=yb(a,n),this.path(s),this.ctx.fillStyle=DA(t),this.ctx.fill(),u=Nb(a,n),this.path(u),this.ctx.fill(),[2]}})})},e.prototype.renderNodeBackgroundAndBorders=function(t){return YA(this,void 0,void 0,function(){var r,n,a,s,u,o,l,f,h=this;return KA(this,function(d){switch(d.label){case 0:return this.applyEffects(t.getEffects(2)),r=t.container.styles,n=!qe(r.backgroundColor)||r.backgroundImage.length,a=[{style:r.borderTopStyle,color:r.borderTopColor,width:r.borderTopWidth},{style:r.borderRightStyle,color:r.borderRightColor,width:r.borderRightWidth},{style:r.borderBottomStyle,color:r.borderBottomColor,width:r.borderBottomWidth},{style:r.borderLeftStyle,color:r.borderLeftColor,width:r.borderLeftWidth}],s=Pb(Vt(r.backgroundClip,0),t.curves),n||r.boxShadow.length?(this.ctx.save(),this.path(s),this.ctx.clip(),qe(r.backgroundColor)||(this.ctx.fillStyle=DA(r.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(t.container)]):[3,2];case 1:d.sent(),this.ctx.restore(),r.boxShadow.slice(0).reverse().forEach(function(C){h.ctx.save();var m=sa(t.curves),T=C.inset?0:Rb,U=Ib(m,-T+(C.inset?1:-1)*C.spread.number,(C.inset?1:-1)*C.spread.number,C.spread.number*(C.inset?-2:2),C.spread.number*(C.inset?-2:2));C.inset?(h.path(m),h.ctx.clip(),h.mask(U)):(h.mask(m),h.ctx.clip(),h.path(U)),h.ctx.shadowOffsetX=C.offsetX.number+T,h.ctx.shadowOffsetY=C.offsetY.number,h.ctx.shadowColor=DA(C.color),h.ctx.shadowBlur=C.blur.number,h.ctx.fillStyle=C.inset?DA(C.color):"rgba(0,0,0,1)",h.ctx.fill(),h.ctx.restore()}),d.label=2;case 2:u=0,o=0,l=a,d.label=3;case 3:return o<l.length?(f=l[o],f.style!==0&&!qe(f.color)&&f.width>0?f.style!==2?[3,5]:[4,this.renderDashedDottedBorder(f.color,f.width,u,t.curves,2)]:[3,11]):[3,13];case 4:return d.sent(),[3,11];case 5:return f.style!==3?[3,7]:[4,this.renderDashedDottedBorder(f.color,f.width,u,t.curves,3)];case 6:return d.sent(),[3,11];case 7:return f.style!==4?[3,9]:[4,this.renderDoubleBorder(f.color,f.width,u,t.curves)];case 8:return d.sent(),[3,11];case 9:return[4,this.renderSolidBorder(f.color,u,t.curves)];case 10:d.sent(),d.label=11;case 11:u++,d.label=12;case 12:return o++,[3,3];case 13:return[2]}})})},e.prototype.renderDashedDottedBorder=function(t,r,n,a,s){return YA(this,void 0,void 0,function(){var u,o,l,f,h,d,C,m,T,U,N,_,D,P,L,p,L,p;return KA(this,function(H){return this.ctx.save(),u=vb(a,n),o=Jl(a,n),s===2&&(this.path(o),this.ctx.clip()),ue(o[0])?(l=o[0].start.x,f=o[0].start.y):(l=o[0].x,f=o[0].y),ue(o[1])?(h=o[1].end.x,d=o[1].end.y):(h=o[1].x,d=o[1].y),n===0||n===2?C=Math.abs(l-h):C=Math.abs(f-d),this.ctx.beginPath(),s===3?this.formatPath(u):this.formatPath(o.slice(0,2)),m=r<3?r*3:r*2,T=r<3?r*2:r,s===3&&(m=r,T=r),U=!0,C<=m*2?U=!1:C<=m*2+T?(N=C/(2*m+T),m*=N,T*=N):(_=Math.floor((C+T)/(m+T)),D=(C-_*m)/(_-1),P=(C-(_+1)*m)/_,T=P<=0||Math.abs(T-D)<Math.abs(T-P)?D:P),U&&(s===3?this.ctx.setLineDash([0,m+T]):this.ctx.setLineDash([m,T])),s===3?(this.ctx.lineCap="round",this.ctx.lineWidth=r):this.ctx.lineWidth=r*2+1.1,this.ctx.strokeStyle=DA(t),this.ctx.stroke(),this.ctx.setLineDash([]),s===2&&(ue(o[0])&&(L=o[3],p=o[0],this.ctx.beginPath(),this.formatPath([new R(L.end.x,L.end.y),new R(p.start.x,p.start.y)]),this.ctx.stroke()),ue(o[1])&&(L=o[1],p=o[2],this.ctx.beginPath(),this.formatPath([new R(L.end.x,L.end.y),new R(p.start.x,p.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},e.prototype.render=function(t){return YA(this,void 0,void 0,function(){var r;return KA(this,function(n){switch(n.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=DA(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),r=_b(t),[4,this.renderStack(r)];case 1:return n.sent(),this.applyEffects([]),[2,this.canvas]}})})},e}($l),kb=function(A){return A instanceof wl||A instanceof Cl?!0:A instanceof ii&&A.type!==Aa&&A.type!==zn},Pb=function(A,e){switch(A){case 0:return sa(e);case 2:return Tb(e);case 1:default:return ia(e)}},Kb=function(A){switch(A){case 1:return"center";case 2:return"right";case 0:default:return"left"}},Vb=["-apple-system","system-ui"],Gb=function(A){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?A.filter(function(e){return Vb.indexOf(e)===-1}):A},Yb=function(A){he(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.canvas=r.canvas?r.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),n.options=r,n.canvas.width=Math.floor(r.width*r.scale),n.canvas.height=Math.floor(r.height*r.scale),n.canvas.style.width=r.width+"px",n.canvas.style.height=r.height+"px",n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-r.x,-r.y),n.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+r.width+"x"+r.height+" at "+r.x+","+r.y+") with scale "+r.scale),n}return e.prototype.render=function(t){return YA(this,void 0,void 0,function(){var r,n;return KA(this,function(a){switch(a.label){case 0:return r=ni(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,t),[4,Xb(r)];case 1:return n=a.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=DA(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(n,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},e}($l),Xb=function(A){return new Promise(function(e,t){var r=new Image;r.onload=function(){e(r)},r.onerror=t,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(A))})},Wb=function(){function A(e){var t=e.id,r=e.enabled;this.id=t,this.enabled=r,this.start=Date.now()}return A.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&(typeof window<"u"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,mn([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},A.prototype.getTime=function(){return Date.now()-this.start},A.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&typeof window<"u"&&window.console&&typeof console.info=="function"&&console.info.apply(console,mn([this.id,this.getTime()+"ms"],e))},A.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&(typeof window<"u"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,mn([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},A.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&(typeof window<"u"&&window.console&&typeof console.error=="function"?console.error.apply(console,mn([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},A.instances={},A}(),Jb=function(){function A(e,t){var r;this.windowBounds=t,this.instanceName="#"+A.instanceCount++,this.logger=new Wb({id:this.instanceName,enabled:e.logging}),this.cache=(r=e.cache)!==null&&r!==void 0?r:new db(this,e)}return A.instanceCount=1,A}(),qb=function(A,e){return e===void 0&&(e={}),jb(A,e)};typeof window<"u"&&Kl.setContext(window);var jb=function(A,e){return YA(void 0,void 0,void 0,function(){var t,r,n,a,s,u,o,l,f,h,d,C,m,T,U,N,_,D,P,L,H,p,H,K,k,AA,oA,fA,q,tA,cA,hA,CA,XA,NA,GA,vA,Ae,IA,kA;return KA(this,function(I){switch(I.label){case 0:if(!A||typeof A!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(t=A.ownerDocument,!t)throw new Error("Element is not attached to a Document");if(r=t.defaultView,!r)throw new Error("Document is not attached to a Window");return n={allowTaint:(K=e.allowTaint)!==null&&K!==void 0?K:!1,imageTimeout:(k=e.imageTimeout)!==null&&k!==void 0?k:15e3,proxy:e.proxy,useCORS:(AA=e.useCORS)!==null&&AA!==void 0?AA:!1},a=bs({logging:(oA=e.logging)!==null&&oA!==void 0?oA:!0,cache:e.cache},n),s={windowWidth:(fA=e.windowWidth)!==null&&fA!==void 0?fA:r.innerWidth,windowHeight:(q=e.windowHeight)!==null&&q!==void 0?q:r.innerHeight,scrollX:(tA=e.scrollX)!==null&&tA!==void 0?tA:r.pageXOffset,scrollY:(cA=e.scrollY)!==null&&cA!==void 0?cA:r.pageYOffset},u=new ye(s.scrollX,s.scrollY,s.windowWidth,s.windowHeight),o=new Jb(a,u),l=(hA=e.foreignObjectRendering)!==null&&hA!==void 0?hA:!1,f={allowTaint:(CA=e.allowTaint)!==null&&CA!==void 0?CA:!1,onclone:e.onclone,ignoreElements:e.ignoreElements,inlineImages:l,copyStyles:l},o.logger.debug("Starting document clone with size "+u.width+"x"+u.height+" scrolled to "+-u.left+","+-u.top),h=new kl(o,A,f),d=h.clonedReferenceElement,d?[4,h.toIFrame(t,u)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return C=I.sent(),m=oi(d)||$T(d)?Im(d.ownerDocument):Cn(o,d),T=m.width,U=m.height,N=m.left,_=m.top,D=$b(o,d,e.backgroundColor),P={canvas:e.canvas,backgroundColor:D,scale:(NA=(XA=e.scale)!==null&&XA!==void 0?XA:r.devicePixelRatio)!==null&&NA!==void 0?NA:1,x:((GA=e.x)!==null&&GA!==void 0?GA:0)+N,y:((vA=e.y)!==null&&vA!==void 0?vA:0)+_,width:(Ae=e.width)!==null&&Ae!==void 0?Ae:Math.ceil(T),height:(IA=e.height)!==null&&IA!==void 0?IA:Math.ceil(U)},l?(o.logger.debug("Document cloned, using foreign object rendering"),H=new Yb(o,P),[4,H.render(d)]):[3,3];case 2:return L=I.sent(),[3,5];case 3:return o.logger.debug("Document cloned, element located at "+N+","+_+" with size "+T+"x"+U+" using computed rendering"),o.logger.debug("Starting DOM parsing"),p=Ul(o,d),D===p.styles.backgroundColor&&(p.styles.backgroundColor=ve.TRANSPARENT),o.logger.debug("Starting renderer for element at "+P.x+","+P.y+" with size "+P.width+"x"+P.height),H=new Mb(o,P),[4,H.render(p)];case 4:L=I.sent(),I.label=5;case 5:return(!((kA=e.removeContainer)!==null&&kA!==void 0)||kA)&&(kl.destroy(C)||o.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),o.logger.debug("Finished rendering"),[2,L]}})})},$b=function(A,e,t){var r=e.ownerDocument,n=r.documentElement?vr(A,getComputedStyle(r.documentElement).backgroundColor):ve.TRANSPARENT,a=r.body?vr(A,getComputedStyle(r.body).backgroundColor):ve.TRANSPARENT,s=typeof t=="string"?vr(A,t):t===null?ve.TRANSPARENT:4294967295;return e===r.documentElement?qe(n)?qe(a)?s:a:n:s};const Zb=c.defineComponent({name:"GpIframe",props:{htmlContent:{type:String,required:!0},jsFiles:{type:Array,default:[]},cssFiles:{type:Array,default:[]},iframeStyle:{type:Object,default:()=>({width:"100%",height:"100%",border:"none"})}},setup(A){const e=c.ref(null),t=c.ref(),r=()=>{var C;const a=e.value;if(!a)return;const s=a.contentDocument||((C=a.contentWindow)==null?void 0:C.document);if(!s)return;s.open(),s.write("<!DOCTYPE html><html><head></head><body></body></html>"),s.close();const u=s.head;A.cssFiles.forEach(m=>{const T=s.createElement("link");T.rel="stylesheet",T.href=m,u.appendChild(T)});const o=s.createElement("link");o.rel="stylesheet",o.href="/spa/topic/css/style.css",u.appendChild(o);const l=s.createElement("script");l.src="/spa/topic/js/jquery-3.6.0.min.js",l.async=!1,u.appendChild(l);const f=s.createElement("script");f.src="/spa/topic/js/swiper-bundle.min.js",f.async=!1,u.appendChild(f);const h=s.createElement("script");h.src="/spa/topic/js/index.js",h.async=!1,u.appendChild(h);const d=s.body;d.innerHTML=A.htmlContent,A.jsFiles.forEach(m=>{const T=s.createElement("script");T.src=m,T.async=!1,d.appendChild(T)}),t.value=d,c.nextTick(()=>{})};c.watch(t,a=>{if(!a)return;new MutationObserver(()=>{const u=e.value;u&&(u.style.height=`${a.scrollHeight}px`)}).observe(a,{childList:!0,subtree:!0})});const n=async a=>{var l;const s=e.value;if(!s)return;const u=s.contentDocument||((l=s.contentWindow)==null?void 0:l.document);if(!u)return;const o=u.body;if(o)try{await c.nextTick();const f=await qb(o,{x:0,y:0,scrollX:window.scrollX,scrollY:window.scrollY,useCORS:!0,allowTaint:!0,foreignObjectRendering:!1});a?a(f):f.toBlob(h=>{const d=URL.createObjectURL(h);window.open(d,"_blank")})}catch(f){console.error("截图生成失败:",f)}};return c.watch(()=>[A.htmlContent,A.jsFiles,A.cssFiles],r,{deep:!0}),c.onMounted(()=>{r()}),{iframeRef:e,generateCover:n}}});function zb(A,e,t,r,n,a){return c.openBlock(),c.createElementBlock("div",null,[c.createElementVNode("iframe",{ref:"iframeRef",style:c.normalizeStyle([{"min-height":"600px"},A.iframeStyle])},null,4)])}const Zl=ke(Zb,[["render",zb],["__scopeId","data-v-e1815181"]]),AU={class:"flex gp-dsigner"},eU={key:0,class:"flex items-center justify-between border-b"},tU={class:"text-lg font-bold p-2"},rU={class:"text-sm font-thin text-gray-500"},nU={class:"flex-1 overflow-auto"},aU={key:0,class:"flex justify-between items-center border-b p-2"},sU={class:"flex items-center"},iU={class:"p-2"},uU={class:"sticky top-0"},oU={key:0,class:"text-lg font-bold border-b p-2"},cU={class:"text-sm font-thin text-gray-500"},lU={class:"p-2"},fU={key:0,class:"max-h-[500px] overflow-hidden w-[640px] h-[360px] bg-light-100"},zl=ke(c.defineComponent({__name:"Designer",props:{mode:{default:"design"},template:{},css:{},js:{},previewWidth:{default:360},uploadByFile:{},icons:{},rules:{},preview:{type:Boolean,default:!0},showTitle:{type:Boolean,default:!0}},emits:["update:modelValue","update:element"],setup(A,{expose:e,emit:t}){const r=A,n=t,a=c.ref(r.rules||[]),s=c.ref(r.template),u=c.ref();let o=Bo("",{},!1);const l=c.ref("");c.watch(()=>r.template,Q=>{s.value=Q},{immediate:!0}),c.watch(()=>s.value,Q=>{Q&&(u.value=fA(Q))},{immediate:!0}),c.watch(()=>r.css,Q=>{Q.forEach(S=>{if(document.querySelector(`link[href="${S}"]`))return;const O=document.createElement("link");O.rel="stylesheet",O.href=S,document.head.appendChild(O)})},{immediate:!0}),c.watch(()=>r.js,Q=>{!Q||Q.length===0||Q.forEach(S=>{if(document.querySelector(`script[src="${S}"]`))return;const O=document.createElement("script");O.src=S,document.body.appendChild(O)})},{immediate:!0});const f=c.ref(r.mode);c.watch(()=>u.value,Q=>{Q&&n("update:element",Q)},{immediate:!0});const h=c.ref("");c.watch(()=>l.value,Q=>{n("update:modelValue",Q)},{immediate:!0});const d=c.ref(),C=c.ref(),m=c.ref(),T=c.ref(),U=c.ref(),N=c.ref(),_=c.ref(""),D=c.ref(r.mode==="design");c.watch(()=>r.rules,Q=>{a.value=Q,s.value&&(u.value=fA(s.value))},{immediate:!0});function P(Q=void 0){T.value&&T.value.generateCover(Q)}function L(Q){var S,O,V,pA,wA,WA,Be,ge,sA,Et,Qe;U.value=Q,Q.type===X.Text&&Q.rule.allowWrap&&(At.value=!0,gt.value=(Qe=(Et=(sA=(ge=(Be=(WA=(wA=(pA=(V=(O=(S=Q.text)==null?void 0:S.replace(/<br>/g,`
40
+ `))==null?void 0:O.replace(/<br\/>/g,`
41
+ `))==null?void 0:V.replace(/<br \/>/g,`
42
+ `))==null?void 0:pA.replace(/<br \s*\/>/g,`
43
+ `))==null?void 0:wA.replace(/<br\s*\/>/g,`
44
+ `))==null?void 0:WA.replace(/&nbsp;/g," "))==null?void 0:Be.replace(/&lt;/g,"<"))==null?void 0:ge.replace(/&gt;/g,">"))==null?void 0:sA.replace(/&amp;/g,"&"))==null?void 0:Et.replace(/&quot;/g,'"'))==null?void 0:Qe.replace(/&apos;/g,"'"))}function p(Q,S=""){if(S){const O=H(u.value,S);O?N.value=O:N.value=Q}else N.value=Q}function H(Q,S){if(Q.xpath===S)return Q;if(Q.children&&Q.children.length)for(const O of Q.children){const V=H(O,S);if(V)return V}}function K(Q,S){var O,V;return Q.tag===S.tag&&((O=Q.children)==null?void 0:O.length)===((V=S.children)==null?void 0:V.length)}function k(Q){if(U.value.xpath==Q.xpath){if(U.value){if(Q.type===X.Block){var S=!0;const O=H(u.value,U.value.parentxpath||"");if(O&&O.children&&O.children.forEach(V=>{if(V.tag!=U.value.tag||!K(V,U.value)){S=!1;return}}),!S){j.error("同级结构不一致,错误配置!");return}}if(U.value.rule=Q.rule,U.value.type=Q.type,U.value.type===X.Block){const O=H(u.value,U.value.parentxpath||"");O&&O.children&&(O.children.forEach(V=>{if(V.tag!=U.value.tag||!K(V,U.value)){j.error("同级结构不一致,无法配置为块类型");return}}),O.children.forEach(V=>{V.tag===U.value.tag&&(V.rule=Q.rule,V.type=Q.type)}))}}h.value=new Date().getTime().toString(),j.success("保存成功"),n("update:element",u.value)}}function AA(Q){const S=H(u.value,Q.xpath||"");S&&(S.rule=Q.rule,S.type=Q.type,S.children&&Q.children&&S.children.forEach(O=>{const V=Q.children.find(pA=>pA.xpath===O.xpath);V&&(O.rule=V.rule,O.type=V.type)})),j.success("操作成功"),h.value=new Date().getTime().toString(),n("update:element",u.value)}function oA(Q){l.value=Q}function fA(Q){o=Bo(Q);const S=o("body").children().toArray().map(O=>q(o(O)));return l.value=o("body").html()||"",S[0]}function q(Q,S=""){var Be,ge;function O(sA){if(!sA||!sA[0])return"";const Et=[];let Qe=sA;for(;Qe.length&&Qe[0].tagName!=="html";){const A0=Qe[0].tagName,dU=Qe.parent().children(A0).index(Qe)+1;Et.unshift(`${A0}[${dU}]`),Qe=Qe.parent()}return"/html/"+Et.join("/")}const V=O(Q).replace("/html/body[1]",""),pA=Q.children().toArray().map(sA=>q(o(sA),V)),wA=(Be=a.value)==null?void 0:Be.find(sA=>sA.xpath===V);let WA=Q.contents().not(Q.children()).text().trim();return wA&&((ge=wA.rule)!=null&&ge.allowWrap)&&(WA=Q.html()),{tag:Q[0].tagName,text:WA,attrs:Q[0].attribs,children:pA,xpath:V,parentxpath:S,type:(wA==null?void 0:wA.type)||X.None,rule:(wA==null?void 0:wA.rule)||{}}}function tA(Q){const S=H(u.value,Q.element.xpath);if(S){const O=c.toRaw(S);O.editText=Q.newText}}function cA(Q,S=""){function O(V,pA){var Be;const WA=(pA?((Be=H(u.value,pA))==null?void 0:Be.children)||[]:[u.value]).filter(ge=>ge.tag===V.tag).indexOf(V)+1;return`${pA}/${V.tag}[${WA}]`}Q.xpath=O(Q,S),Q.parentxpath=S,(Q.children||[]).forEach(V=>cA(V,Q.xpath))}function hA({action:Q,element:S,newBlock:O}){const V=H(u.value,S.parentxpath||"");if(!V||!V.children)return;const pA=V.children.findIndex(sA=>sA===S);if(pA===-1){j.error("未找到元素");return}const wA=V.children.length,{minBlock:WA,maxBlock:Be}=S.rule;if((Q==="add"||Q==="copy")&&wA>=(Be||1/0)){_.value=`无法添加更多块。最大块数量为 ${Be}`,j.error(_.value);return}function ge(sA){sA.xpath="",sA.parentxpath="",sA.text=sA.editText||sA.text,sA.editText="",sA.children.forEach(Et=>{ge(Et)})}switch(Q){case"add":if(O){const sA={...O,children:JSON.parse(JSON.stringify(O.children))};ge(sA),V.children.splice(pA+1,0,sA),j.success("添加成功")}break;case"copy":if(O){const sA={...O,children:JSON.parse(JSON.stringify(O.children))};ge(sA),V.children.splice(pA+1,0,sA),j.success("复制成功")}break;case"moveUp":if(pA>0){const[sA]=V.children.splice(pA,1);V.children.splice(pA-1,0,sA),j.success("前移成功")}else j.error("已经是第一个块,无法前移");break;case"moveDown":if(pA<V.children.length-1){const[sA]=V.children.splice(pA,1);V.children.splice(pA+1,0,sA),j.success("后移成功")}else j.error("已经是最后一个块,无法后移");break;case"delete":if(wA<=(WA||0)){_.value=`无法删除更多块。最小块数量为 ${WA}`,j.error(_.value);return}V.children.splice(pA,1),j.success("删除成功");break}_.value="",cA(u.value)}function CA(Q,S){let O=S.attrs.class.replace(/icon-\S+/g,`icon-${Q}`);S.attrs.class=O}function XA(Q){const S=Q.file,O=H(u.value,Q.element.xpath);if(r.uploadByFile)r.uploadByFile(S).then(V=>{V.success&&(O.attrs.src=V.file.url,h.value=new Date().getTime().toString())});else{O.attrs.alt=S.name;const V=URL.createObjectURL(S);O.attrs.src=V,h.value=new Date().getTime().toString()}}function NA(Q){const{icon:S}=Q,O=H(u.value,Q.element.xpath);let V=O.attrs.class.replace(/icon-\S+/g,`icon-${S}`);O.attrs.class=V,h.value=new Date().getTime().toString()}const GA=Q=>Q.type.startsWith("image/")?!0:(j.error("只能上传图片文件"),!1),vA=c.ref({});function Ae(Q,S){if(!Q||Q.length===0)return;const O=Q[0];if(S.rule&&(S.rule.minImageWidth||S.rule.maxImageHeight)){if(S.rule.minImageWidth&&O.width<S.rule.minImageWidth){j.error(`图片宽度不能小于 ${S.rule.minImageWidth}px`);return}if(S.rule.maxImageHeight&&O.height<S.rule.maxImageHeight){j.error(`图片高度不能小于 ${S.rule.maxImageHeight}px`);return}}S.rule.minImageWidth&&S.rule.maxImageHeight?(vA.value.width=S.rule.minImageWidth,vA.value.height=S.rule.maxImageHeight,vA.value.aspectRatio=S.rule.minImageWidth/S.rule.maxImageHeight):vA.value={},O&&(S.rule.crop?(O.thumbUrl,d.value.handleOpenCropper(vA.value,O.file,O.name,S)):r.uploadByFile?r.uploadByFile(O.file).then(V=>{V.success&&(S.attrs.src=V.file.url,h.value=new Date().getTime().toString())}):(S.attrs.src=O.thumbUrl,h.value=new Date().getTime().toString()))}const IA=c.ref(r.previewWidth),kA=c.ref(360);let I=c.ref(!1),y=c.ref(""),rA=0,J=0;function TA(Q){y.value=Q,I.value=!0,rA=event.clientX,Q==="preview"?J=IA.value:Q==="structure"&&(J=kA.value),window.addEventListener("mousemove",ze),window.addEventListener("mouseup",Rr)}function ze(Q){if(!I.value)return;const S=Q.clientX-rA;y.value==="preview"?IA.value=Math.max(200,J+S):y.value==="structure"&&(kA.value=Math.max(200,J-S))}function Rr(){I.value=!1,y.value="",window.removeEventListener("mousemove",ze),window.removeEventListener("mouseup",Rr)}const At=c.ref(!1),gt=c.ref("");function mi(){h.value=new Date().getTime().toString(),U.value&&U.value.type===X.Text&&(U.value.text=gt.value,U.value.editText=gt.value),At.value=!1}return e({generateCover:P}),(Q,S)=>(c.openBlock(),c.createElementBlock("div",AU,[Q.preview?(c.openBlock(),c.createElementBlock("div",{key:0,class:"border-l overflow-auto resize-area",style:c.normalizeStyle({width:IA.value+"px"})},[Q.showTitle?(c.openBlock(),c.createElementBlock("div",eU,[c.createElementVNode("h2",tU,[S[6]||(S[6]=c.createTextVNode(" 实时预览 ")),c.createElementVNode("span",rU,c.toDisplayString(IA.value)+"px",1)]),c.createElementVNode("div",{onClick:S[0]||(S[0]=()=>P()),class:"p-2 cursor-pointer text-blue-500"}," 封面 ")])):c.createCommentVNode("",!0),c.createElementVNode("div",null,[l.value?(c.openBlock(),c.createBlock(Zl,{key:0,"css-files":Q.css,"js-files":Q.js,"html-content":l.value,class:"gp-designer-preview",ref_key:"previewRef",ref:T},null,8,["css-files","js-files","html-content"])):(c.openBlock(),c.createBlock(Zl,{key:1,"css-files":Q.css,"js-files":Q.js,"html-content":c.unref(o)("body").html(),class:"gp-designer-preview",ref_key:"previewRef",ref:T},null,8,["css-files","js-files","html-content"]))])],4)):c.createCommentVNode("",!0),Q.preview?(c.openBlock(),c.createElementBlock("div",{key:1,class:"resizer",onMousedown:S[1]||(S[1]=O=>TA("preview"))},null,32)):c.createCommentVNode("",!0),c.createElementVNode("div",nU,[Q.showTitle?(c.openBlock(),c.createElementBlock("div",aU,[S[8]||(S[8]=c.createElementVNode("h2",{class:"text-lg font-bold"},"结构渲染",-1)),c.createElementVNode("div",sU,[c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":S[2]||(S[2]=O=>D.value=O),type:"checkbox",id:"showMargin",class:"mr-2"},null,512),[[c.vModelCheckbox,D.value]]),S[7]||(S[7]=c.createElementVNode("label",{for:"showMargin"},"间距",-1))])])):c.createCommentVNode("",!0),c.createElementVNode("div",iU,[u.value?(c.openBlock(),c.createBlock(FE,{key:0,"upload-by-file":Q.uploadByFile,cropper:d.value,icon:C.value,upload:m.value,mode:Q.mode,icons:Q.icons,r:h.value,"show-margin":D.value,element:u.value,selectedElement:U.value,hoveredElement:N.value,onSelectElement:L,onHoverElement:p,onContentUpdated:oA,onUpdateText:tA,onBlockAction:hA,onAddIcon:CA,onUpdateElementRule:AA},null,8,["upload-by-file","cropper","icon","upload","mode","icons","r","show-margin","element","selectedElement","hoveredElement"])):c.createCommentVNode("",!0)])]),f.value=="design"?(c.openBlock(),c.createElementBlock("div",{key:2,class:"resizer",onMousedown:S[3]||(S[3]=O=>TA("structure"))},null,32)):c.createCommentVNode("",!0),f.value=="design"?(c.openBlock(),c.createElementBlock("div",{key:3,class:"resize-area",style:c.normalizeStyle({width:kA.value+"px"})},[c.createElementVNode("div",uU,[Q.showTitle?(c.openBlock(),c.createElementBlock("h2",oU,[S[9]||(S[9]=c.createTextVNode(" 节点属性 ")),c.createElementVNode("span",cU,c.toDisplayString(kA.value)+"px",1)])):c.createCommentVNode("",!0),c.createElementVNode("div",lU,[U.value?(c.openBlock(),c.createBlock($E,{key:0,element:U.value,onUpdateElement:k},null,8,["element"])):c.createCommentVNode("",!0)])])],4)):c.createCommentVNode("",!0),c.createVNode(im,{ref_key:"cropperRef",ref:d,onOk:XA},null,512),c.createVNode(Em,{icons:Q.icons,ref_key:"iconRef",ref:C,onOk:NA},null,8,["icons"]),c.createVNode(Fm,{ref_key:"uploadRef",ref:m,multiple:!1,show:!1,beforeUpload:GA,onChange:Ae},{"upload-icon":c.withCtx(()=>S[10]||(S[10]=[c.createElementVNode("div",{class:"p-2"},"上传",-1)])),_:1},512),c.createVNode(qo,{title:"多行文本编辑",visible:At.value,"onUpdate:visible":S[5]||(S[5]=O=>At.value=O),onOk:mi,"mask-closable":!1},{default:c.withCtx(()=>[U.value?(c.openBlock(),c.createElementBlock("div",fU,[c.withDirectives(c.createElementVNode("textarea",{"onUpdate:modelValue":S[4]||(S[4]=O=>gt.value=O),class:"w-full h-full text-sm"},null,512),[[c.vModelText,gt.value]])])):c.createCommentVNode("",!0)]),_:1},8,["visible"])]))}}),[["__scopeId","data-v-3ec85593"]]),hU={install(A){A.component("Designer",zl)}};xe.Designer=zl,xe.default=hU,Object.defineProperties(xe,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});