claude-intern 1.1.2 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +72 -69
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
- import{createRequire as TQ}from"node:module";var MQ=Object.create;var{getPrototypeOf:PQ,defineProperty:FZ,getOwnPropertyNames:wQ}=Object;var RQ=Object.prototype.hasOwnProperty;var B8=($,Z,Y)=>{Y=$!=null?MQ(PQ($)):{};let G=Z||!$||!$.__esModule?FZ(Y,"default",{value:$,enumerable:!0}):Y;for(let Q of wQ($))if(!RQ.call(G,Q))FZ(G,Q,{get:()=>$[Q],enumerable:!0});return G};var C=($,Z)=>()=>(Z||$((Z={exports:{}}).exports,Z),Z.exports);var b0=TQ(import.meta.url);var I6=C((CQ)=>{class U9 extends Error{constructor($,Z,Y){super(Y);Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name,this.code=Z,this.exitCode=$,this.nestedError=void 0}}class IZ extends U9{constructor($){super(1,"commander.invalidArgument",$);Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name}}CQ.CommanderError=U9;CQ.InvalidArgumentError=IZ});var H8=C((xQ)=>{var{InvalidArgumentError:NQ}=I6();class SZ{constructor($,Z){switch(this.description=Z||"",this.variadic=!1,this.parseArg=void 0,this.defaultValue=void 0,this.defaultValueDescription=void 0,this.argChoices=void 0,$[0]){case"<":this.required=!0,this._name=$.slice(1,-1);break;case"[":this.required=!1,this._name=$.slice(1,-1);break;default:this.required=!0,this._name=$;break}if(this._name.length>3&&this._name.slice(-3)==="...")this.variadic=!0,this._name=this._name.slice(0,-3)}name(){return this._name}_concatValue($,Z){if(Z===this.defaultValue||!Array.isArray(Z))return[$];return Z.concat($)}default($,Z){return this.defaultValue=$,this.defaultValueDescription=Z,this}argParser($){return this.parseArg=$,this}choices($){return this.argChoices=$.slice(),this.parseArg=(Z,Y)=>{if(!this.argChoices.includes(Z))throw new NQ(`Allowed choices are ${this.argChoices.join(", ")}.`);if(this.variadic)return this._concatValue(Z,Y);return Z},this}argRequired(){return this.required=!0,this}argOptional(){return this.required=!1,this}}function yQ($){let Z=$.name()+($.variadic===!0?"...":"");return $.required?"<"+Z+">":"["+Z+"]"}xQ.Argument=SZ;xQ.humanReadableArgName=yQ});var F9=C((gQ)=>{var{humanReadableArgName:hQ}=H8();class DZ{constructor(){this.helpWidth=void 0,this.sortSubcommands=!1,this.sortOptions=!1,this.showGlobalOptions=!1}visibleCommands($){let Z=$.commands.filter((Y)=>!Y._hidden);if($._hasImplicitHelpCommand()){let[,Y,G]=$._helpCommandnameAndArgs.match(/([^ ]+) *(.*)/),Q=$.createCommand(Y).helpOption(!1);if(Q.description($._helpCommandDescription),G)Q.arguments(G);Z.push(Q)}if(this.sortSubcommands)Z.sort((Y,G)=>{return Y.name().localeCompare(G.name())});return Z}compareOptions($,Z){let Y=(G)=>{return G.short?G.short.replace(/^-/,""):G.long.replace(/^--/,"")};return Y($).localeCompare(Y(Z))}visibleOptions($){let Z=$.options.filter((Q)=>!Q.hidden),Y=$._hasHelpOption&&$._helpShortFlag&&!$._findOption($._helpShortFlag),G=$._hasHelpOption&&!$._findOption($._helpLongFlag);if(Y||G){let Q;if(!Y)Q=$.createOption($._helpLongFlag,$._helpDescription);else if(!G)Q=$.createOption($._helpShortFlag,$._helpDescription);else Q=$.createOption($._helpFlags,$._helpDescription);Z.push(Q)}if(this.sortOptions)Z.sort(this.compareOptions);return Z}visibleGlobalOptions($){if(!this.showGlobalOptions)return[];let Z=[];for(let Y=$.parent;Y;Y=Y.parent){let G=Y.options.filter((Q)=>!Q.hidden);Z.push(...G)}if(this.sortOptions)Z.sort(this.compareOptions);return Z}visibleArguments($){if($._argsDescription)$.registeredArguments.forEach((Z)=>{Z.description=Z.description||$._argsDescription[Z.name()]||""});if($.registeredArguments.find((Z)=>Z.description))return $.registeredArguments;return[]}subcommandTerm($){let Z=$.registeredArguments.map((Y)=>hQ(Y)).join(" ");return $._name+($._aliases[0]?"|"+$._aliases[0]:"")+($.options.length?" [options]":"")+(Z?" "+Z:"")}optionTerm($){return $.flags}argumentTerm($){return $.name()}longestSubcommandTermLength($,Z){return Z.visibleCommands($).reduce((Y,G)=>{return Math.max(Y,Z.subcommandTerm(G).length)},0)}longestOptionTermLength($,Z){return Z.visibleOptions($).reduce((Y,G)=>{return Math.max(Y,Z.optionTerm(G).length)},0)}longestGlobalOptionTermLength($,Z){return Z.visibleGlobalOptions($).reduce((Y,G)=>{return Math.max(Y,Z.optionTerm(G).length)},0)}longestArgumentTermLength($,Z){return Z.visibleArguments($).reduce((Y,G)=>{return Math.max(Y,Z.argumentTerm(G).length)},0)}commandUsage($){let Z=$._name;if($._aliases[0])Z=Z+"|"+$._aliases[0];let Y="";for(let G=$.parent;G;G=G.parent)Y=G.name()+" "+Y;return Y+Z+" "+$.usage()}commandDescription($){return $.description()}subcommandDescription($){return $.summary()||$.description()}optionDescription($){let Z=[];if($.argChoices)Z.push(`choices: ${$.argChoices.map((Y)=>JSON.stringify(Y)).join(", ")}`);if($.defaultValue!==void 0){if($.required||$.optional||$.isBoolean()&&typeof $.defaultValue==="boolean")Z.push(`default: ${$.defaultValueDescription||JSON.stringify($.defaultValue)}`)}if($.presetArg!==void 0&&$.optional)Z.push(`preset: ${JSON.stringify($.presetArg)}`);if($.envVar!==void 0)Z.push(`env: ${$.envVar}`);if(Z.length>0)return`${$.description} (${Z.join(", ")})`;return $.description}argumentDescription($){let Z=[];if($.argChoices)Z.push(`choices: ${$.argChoices.map((Y)=>JSON.stringify(Y)).join(", ")}`);if($.defaultValue!==void 0)Z.push(`default: ${$.defaultValueDescription||JSON.stringify($.defaultValue)}`);if(Z.length>0){let Y=`(${Z.join(", ")})`;if($.description)return`${$.description} ${Y}`;return Y}return $.description}formatHelp($,Z){let Y=Z.padWidth($,Z),G=Z.helpWidth||80,Q=2,z=2;function J(B,D){if(D){let S=`${B.padEnd(Y+2)}${D}`;return Z.wrap(S,G-2,Y+2)}return B}function V(B){return B.join(`
2
+ import{createRequire as TQ}from"node:module";var MQ=Object.create;var{getPrototypeOf:PQ,defineProperty:IZ,getOwnPropertyNames:wQ}=Object;var RQ=Object.prototype.hasOwnProperty;var B8=($,Z,Y)=>{Y=$!=null?MQ(PQ($)):{};let G=Z||!$||!$.__esModule?IZ(Y,"default",{value:$,enumerable:!0}):Y;for(let Q of wQ($))if(!RQ.call(G,Q))IZ(G,Q,{get:()=>$[Q],enumerable:!0});return G};var C=($,Z)=>()=>(Z||$((Z={exports:{}}).exports,Z),Z.exports);var b0=TQ(import.meta.url);var F6=C((CQ)=>{class U9 extends Error{constructor($,Z,Y){super(Y);Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name,this.code=Z,this.exitCode=$,this.nestedError=void 0}}class FZ extends U9{constructor($){super(1,"commander.invalidArgument",$);Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name}}CQ.CommanderError=U9;CQ.InvalidArgumentError=FZ});var H8=C((xQ)=>{var{InvalidArgumentError:NQ}=F6();class SZ{constructor($,Z){switch(this.description=Z||"",this.variadic=!1,this.parseArg=void 0,this.defaultValue=void 0,this.defaultValueDescription=void 0,this.argChoices=void 0,$[0]){case"<":this.required=!0,this._name=$.slice(1,-1);break;case"[":this.required=!1,this._name=$.slice(1,-1);break;default:this.required=!0,this._name=$;break}if(this._name.length>3&&this._name.slice(-3)==="...")this.variadic=!0,this._name=this._name.slice(0,-3)}name(){return this._name}_concatValue($,Z){if(Z===this.defaultValue||!Array.isArray(Z))return[$];return Z.concat($)}default($,Z){return this.defaultValue=$,this.defaultValueDescription=Z,this}argParser($){return this.parseArg=$,this}choices($){return this.argChoices=$.slice(),this.parseArg=(Z,Y)=>{if(!this.argChoices.includes(Z))throw new NQ(`Allowed choices are ${this.argChoices.join(", ")}.`);if(this.variadic)return this._concatValue(Z,Y);return Z},this}argRequired(){return this.required=!0,this}argOptional(){return this.required=!1,this}}function yQ($){let Z=$.name()+($.variadic===!0?"...":"");return $.required?"<"+Z+">":"["+Z+"]"}xQ.Argument=SZ;xQ.humanReadableArgName=yQ});var I9=C((gQ)=>{var{humanReadableArgName:hQ}=H8();class DZ{constructor(){this.helpWidth=void 0,this.sortSubcommands=!1,this.sortOptions=!1,this.showGlobalOptions=!1}visibleCommands($){let Z=$.commands.filter((Y)=>!Y._hidden);if($._hasImplicitHelpCommand()){let[,Y,G]=$._helpCommandnameAndArgs.match(/([^ ]+) *(.*)/),Q=$.createCommand(Y).helpOption(!1);if(Q.description($._helpCommandDescription),G)Q.arguments(G);Z.push(Q)}if(this.sortSubcommands)Z.sort((Y,G)=>{return Y.name().localeCompare(G.name())});return Z}compareOptions($,Z){let Y=(G)=>{return G.short?G.short.replace(/^-/,""):G.long.replace(/^--/,"")};return Y($).localeCompare(Y(Z))}visibleOptions($){let Z=$.options.filter((Q)=>!Q.hidden),Y=$._hasHelpOption&&$._helpShortFlag&&!$._findOption($._helpShortFlag),G=$._hasHelpOption&&!$._findOption($._helpLongFlag);if(Y||G){let Q;if(!Y)Q=$.createOption($._helpLongFlag,$._helpDescription);else if(!G)Q=$.createOption($._helpShortFlag,$._helpDescription);else Q=$.createOption($._helpFlags,$._helpDescription);Z.push(Q)}if(this.sortOptions)Z.sort(this.compareOptions);return Z}visibleGlobalOptions($){if(!this.showGlobalOptions)return[];let Z=[];for(let Y=$.parent;Y;Y=Y.parent){let G=Y.options.filter((Q)=>!Q.hidden);Z.push(...G)}if(this.sortOptions)Z.sort(this.compareOptions);return Z}visibleArguments($){if($._argsDescription)$.registeredArguments.forEach((Z)=>{Z.description=Z.description||$._argsDescription[Z.name()]||""});if($.registeredArguments.find((Z)=>Z.description))return $.registeredArguments;return[]}subcommandTerm($){let Z=$.registeredArguments.map((Y)=>hQ(Y)).join(" ");return $._name+($._aliases[0]?"|"+$._aliases[0]:"")+($.options.length?" [options]":"")+(Z?" "+Z:"")}optionTerm($){return $.flags}argumentTerm($){return $.name()}longestSubcommandTermLength($,Z){return Z.visibleCommands($).reduce((Y,G)=>{return Math.max(Y,Z.subcommandTerm(G).length)},0)}longestOptionTermLength($,Z){return Z.visibleOptions($).reduce((Y,G)=>{return Math.max(Y,Z.optionTerm(G).length)},0)}longestGlobalOptionTermLength($,Z){return Z.visibleGlobalOptions($).reduce((Y,G)=>{return Math.max(Y,Z.optionTerm(G).length)},0)}longestArgumentTermLength($,Z){return Z.visibleArguments($).reduce((Y,G)=>{return Math.max(Y,Z.argumentTerm(G).length)},0)}commandUsage($){let Z=$._name;if($._aliases[0])Z=Z+"|"+$._aliases[0];let Y="";for(let G=$.parent;G;G=G.parent)Y=G.name()+" "+Y;return Y+Z+" "+$.usage()}commandDescription($){return $.description()}subcommandDescription($){return $.summary()||$.description()}optionDescription($){let Z=[];if($.argChoices)Z.push(`choices: ${$.argChoices.map((Y)=>JSON.stringify(Y)).join(", ")}`);if($.defaultValue!==void 0){if($.required||$.optional||$.isBoolean()&&typeof $.defaultValue==="boolean")Z.push(`default: ${$.defaultValueDescription||JSON.stringify($.defaultValue)}`)}if($.presetArg!==void 0&&$.optional)Z.push(`preset: ${JSON.stringify($.presetArg)}`);if($.envVar!==void 0)Z.push(`env: ${$.envVar}`);if(Z.length>0)return`${$.description} (${Z.join(", ")})`;return $.description}argumentDescription($){let Z=[];if($.argChoices)Z.push(`choices: ${$.argChoices.map((Y)=>JSON.stringify(Y)).join(", ")}`);if($.defaultValue!==void 0)Z.push(`default: ${$.defaultValueDescription||JSON.stringify($.defaultValue)}`);if(Z.length>0){let Y=`(${Z.join(", ")})`;if($.description)return`${$.description} ${Y}`;return Y}return $.description}formatHelp($,Z){let Y=Z.padWidth($,Z),G=Z.helpWidth||80,Q=2,z=2;function J(B,D){if(D){let S=`${B.padEnd(Y+2)}${D}`;return Z.wrap(S,G-2,Y+2)}return B}function V(B){return B.join(`
3
3
  `).replace(/^/gm," ".repeat(2))}let _=[`Usage: ${Z.commandUsage($)}`,""],q=Z.commandDescription($);if(q.length>0)_=_.concat([Z.wrap(q,G,0),""]);let K=Z.visibleArguments($).map((B)=>{return J(Z.argumentTerm(B),Z.argumentDescription(B))});if(K.length>0)_=_.concat(["Arguments:",V(K),""]);let O=Z.visibleOptions($).map((B)=>{return J(Z.optionTerm(B),Z.optionDescription(B))});if(O.length>0)_=_.concat(["Options:",V(O),""]);if(this.showGlobalOptions){let B=Z.visibleGlobalOptions($).map((D)=>{return J(Z.optionTerm(D),Z.optionDescription(D))});if(B.length>0)_=_.concat(["Global Options:",V(B),""])}let A=Z.visibleCommands($).map((B)=>{return J(Z.subcommandTerm(B),Z.subcommandDescription(B))});if(A.length>0)_=_.concat(["Commands:",V(A),""]);return _.join(`
4
4
  `)}padWidth($,Z){return Math.max(Z.longestOptionTermLength($,Z),Z.longestGlobalOptionTermLength($,Z),Z.longestSubcommandTermLength($,Z),Z.longestArgumentTermLength($,Z))}wrap($,Z,Y,G=40){let z=new RegExp(`[\\n][${" \\f\\t\\v   -    \uFEFF"}]+`);if($.match(z))return $;let J=Z-Y;if(J<G)return $;let V=$.slice(0,Y),_=$.slice(Y).replace(`\r
5
5
  `,`
6
6
  `),q=" ".repeat(Y),O=`\\s${"​"}`,A=new RegExp(`
7
7
  |.{1,${J-1}}([${O}]|$)|[^${O}]+?([${O}]|$)`,"g"),B=_.match(A)||[];return V+B.map((D,S)=>{if(D===`
8
8
  `)return"";return(S>0?q:"")+D.trimEnd()}).join(`
9
- `)}}gQ.Help=DZ});var I9=C((uQ)=>{var{InvalidArgumentError:mQ}=I6();class OZ{constructor($,Z){this.flags=$,this.description=Z||"",this.required=$.includes("<"),this.optional=$.includes("["),this.variadic=/\w\.\.\.[>\]]$/.test($),this.mandatory=!1;let Y=LZ($);if(this.short=Y.shortFlag,this.long=Y.longFlag,this.negate=!1,this.long)this.negate=this.long.startsWith("--no-");this.defaultValue=void 0,this.defaultValueDescription=void 0,this.presetArg=void 0,this.envVar=void 0,this.parseArg=void 0,this.hidden=!1,this.argChoices=void 0,this.conflictsWith=[],this.implied=void 0}default($,Z){return this.defaultValue=$,this.defaultValueDescription=Z,this}preset($){return this.presetArg=$,this}conflicts($){return this.conflictsWith=this.conflictsWith.concat($),this}implies($){let Z=$;if(typeof $==="string")Z={[$]:!0};return this.implied=Object.assign(this.implied||{},Z),this}env($){return this.envVar=$,this}argParser($){return this.parseArg=$,this}makeOptionMandatory($=!0){return this.mandatory=!!$,this}hideHelp($=!0){return this.hidden=!!$,this}_concatValue($,Z){if(Z===this.defaultValue||!Array.isArray(Z))return[$];return Z.concat($)}choices($){return this.argChoices=$.slice(),this.parseArg=(Z,Y)=>{if(!this.argChoices.includes(Z))throw new mQ(`Allowed choices are ${this.argChoices.join(", ")}.`);if(this.variadic)return this._concatValue(Z,Y);return Z},this}name(){if(this.long)return this.long.replace(/^--/,"");return this.short.replace(/^-/,"")}attributeName(){return pQ(this.name().replace(/^no-/,""))}is($){return this.short===$||this.long===$}isBoolean(){return!this.required&&!this.optional&&!this.negate}}class AZ{constructor($){this.positiveOptions=new Map,this.negativeOptions=new Map,this.dualOptions=new Set,$.forEach((Z)=>{if(Z.negate)this.negativeOptions.set(Z.attributeName(),Z);else this.positiveOptions.set(Z.attributeName(),Z)}),this.negativeOptions.forEach((Z,Y)=>{if(this.positiveOptions.has(Y))this.dualOptions.add(Y)})}valueFromOption($,Z){let Y=Z.attributeName();if(!this.dualOptions.has(Y))return!0;let G=this.negativeOptions.get(Y).presetArg,Q=G!==void 0?G:!1;return Z.negate===(Q===$)}}function pQ($){return $.split("-").reduce((Z,Y)=>{return Z+Y[0].toUpperCase()+Y.slice(1)})}function LZ($){let Z,Y,G=$.split(/[ |,]+/);if(G.length>1&&!/^[[<]/.test(G[1]))Z=G.shift();if(Y=G.shift(),!Z&&/^-[^-]$/.test(Y))Z=Y,Y=void 0;return{shortFlag:Z,longFlag:Y}}uQ.Option=OZ;uQ.splitOptionFlags=LZ;uQ.DualOptions=AZ});var MZ=C((oQ)=>{function lQ($,Z){if(Math.abs($.length-Z.length)>3)return Math.max($.length,Z.length);let Y=[];for(let G=0;G<=$.length;G++)Y[G]=[G];for(let G=0;G<=Z.length;G++)Y[0][G]=G;for(let G=1;G<=Z.length;G++)for(let Q=1;Q<=$.length;Q++){let z=1;if($[Q-1]===Z[G-1])z=0;else z=1;if(Y[Q][G]=Math.min(Y[Q-1][G]+1,Y[Q][G-1]+1,Y[Q-1][G-1]+z),Q>1&&G>1&&$[Q-1]===Z[G-2]&&$[Q-2]===Z[G-1])Y[Q][G]=Math.min(Y[Q][G],Y[Q-2][G-2]+1)}return Y[$.length][Z.length]}function sQ($,Z){if(!Z||Z.length===0)return"";Z=Array.from(new Set(Z));let Y=$.startsWith("--");if(Y)$=$.slice(2),Z=Z.map((J)=>J.slice(2));let G=[],Q=3,z=0.4;if(Z.forEach((J)=>{if(J.length<=1)return;let V=lQ($,J),_=Math.max($.length,J.length);if((_-V)/_>z){if(V<Q)Q=V,G=[J];else if(V===Q)G.push(J)}}),G.sort((J,V)=>J.localeCompare(V)),Y)G=G.map((J)=>`--${J}`);if(G.length>1)return`
9
+ `)}}gQ.Help=DZ});var F9=C((uQ)=>{var{InvalidArgumentError:mQ}=F6();class OZ{constructor($,Z){this.flags=$,this.description=Z||"",this.required=$.includes("<"),this.optional=$.includes("["),this.variadic=/\w\.\.\.[>\]]$/.test($),this.mandatory=!1;let Y=LZ($);if(this.short=Y.shortFlag,this.long=Y.longFlag,this.negate=!1,this.long)this.negate=this.long.startsWith("--no-");this.defaultValue=void 0,this.defaultValueDescription=void 0,this.presetArg=void 0,this.envVar=void 0,this.parseArg=void 0,this.hidden=!1,this.argChoices=void 0,this.conflictsWith=[],this.implied=void 0}default($,Z){return this.defaultValue=$,this.defaultValueDescription=Z,this}preset($){return this.presetArg=$,this}conflicts($){return this.conflictsWith=this.conflictsWith.concat($),this}implies($){let Z=$;if(typeof $==="string")Z={[$]:!0};return this.implied=Object.assign(this.implied||{},Z),this}env($){return this.envVar=$,this}argParser($){return this.parseArg=$,this}makeOptionMandatory($=!0){return this.mandatory=!!$,this}hideHelp($=!0){return this.hidden=!!$,this}_concatValue($,Z){if(Z===this.defaultValue||!Array.isArray(Z))return[$];return Z.concat($)}choices($){return this.argChoices=$.slice(),this.parseArg=(Z,Y)=>{if(!this.argChoices.includes(Z))throw new mQ(`Allowed choices are ${this.argChoices.join(", ")}.`);if(this.variadic)return this._concatValue(Z,Y);return Z},this}name(){if(this.long)return this.long.replace(/^--/,"");return this.short.replace(/^-/,"")}attributeName(){return pQ(this.name().replace(/^no-/,""))}is($){return this.short===$||this.long===$}isBoolean(){return!this.required&&!this.optional&&!this.negate}}class AZ{constructor($){this.positiveOptions=new Map,this.negativeOptions=new Map,this.dualOptions=new Set,$.forEach((Z)=>{if(Z.negate)this.negativeOptions.set(Z.attributeName(),Z);else this.positiveOptions.set(Z.attributeName(),Z)}),this.negativeOptions.forEach((Z,Y)=>{if(this.positiveOptions.has(Y))this.dualOptions.add(Y)})}valueFromOption($,Z){let Y=Z.attributeName();if(!this.dualOptions.has(Y))return!0;let G=this.negativeOptions.get(Y).presetArg,Q=G!==void 0?G:!1;return Z.negate===(Q===$)}}function pQ($){return $.split("-").reduce((Z,Y)=>{return Z+Y[0].toUpperCase()+Y.slice(1)})}function LZ($){let Z,Y,G=$.split(/[ |,]+/);if(G.length>1&&!/^[[<]/.test(G[1]))Z=G.shift();if(Y=G.shift(),!Z&&/^-[^-]$/.test(Y))Z=Y,Y=void 0;return{shortFlag:Z,longFlag:Y}}uQ.Option=OZ;uQ.splitOptionFlags=LZ;uQ.DualOptions=AZ});var MZ=C((oQ)=>{function lQ($,Z){if(Math.abs($.length-Z.length)>3)return Math.max($.length,Z.length);let Y=[];for(let G=0;G<=$.length;G++)Y[G]=[G];for(let G=0;G<=Z.length;G++)Y[0][G]=G;for(let G=1;G<=Z.length;G++)for(let Q=1;Q<=$.length;Q++){let z=1;if($[Q-1]===Z[G-1])z=0;else z=1;if(Y[Q][G]=Math.min(Y[Q-1][G]+1,Y[Q][G-1]+1,Y[Q-1][G-1]+z),Q>1&&G>1&&$[Q-1]===Z[G-2]&&$[Q-2]===Z[G-1])Y[Q][G]=Math.min(Y[Q][G],Y[Q-2][G-2]+1)}return Y[$.length][Z.length]}function sQ($,Z){if(!Z||Z.length===0)return"";Z=Array.from(new Set(Z));let Y=$.startsWith("--");if(Y)$=$.slice(2),Z=Z.map((J)=>J.slice(2));let G=[],Q=3,z=0.4;if(Z.forEach((J)=>{if(J.length<=1)return;let V=lQ($,J),_=Math.max($.length,J.length);if((_-V)/_>z){if(V<Q)Q=V,G=[J];else if(V===Q)G.push(J)}}),G.sort((J,V)=>J.localeCompare(V)),Y)G=G.map((J)=>`--${J}`);if(G.length>1)return`
10
10
  (Did you mean one of ${G.join(", ")}?)`;if(G.length===1)return`
11
- (Did you mean ${G[0]}?)`;return""}oQ.suggestSimilar=sQ});var CZ=C((Yz)=>{var nQ=b0("events").EventEmitter,S9=b0("child_process"),J1=b0("path"),D9=b0("fs"),Z0=b0("process"),{Argument:aQ,humanReadableArgName:tQ}=H8(),{CommanderError:O9}=I6(),{Help:eQ}=F9(),{Option:PZ,splitOptionFlags:$z,DualOptions:Zz}=I9(),{suggestSimilar:wZ}=MZ();class A9 extends nQ{constructor($){super();this.commands=[],this.options=[],this.parent=null,this._allowUnknownOption=!1,this._allowExcessArguments=!0,this.registeredArguments=[],this._args=this.registeredArguments,this.args=[],this.rawArgs=[],this.processedArgs=[],this._scriptPath=null,this._name=$||"",this._optionValues={},this._optionValueSources={},this._storeOptionsAsProperties=!1,this._actionHandler=null,this._executableHandler=!1,this._executableFile=null,this._executableDir=null,this._defaultCommandName=null,this._exitCallback=null,this._aliases=[],this._combineFlagAndOptionalValue=!0,this._description="",this._summary="",this._argsDescription=void 0,this._enablePositionalOptions=!1,this._passThroughOptions=!1,this._lifeCycleHooks={},this._showHelpAfterError=!1,this._showSuggestionAfterError=!0,this._outputConfiguration={writeOut:(Z)=>Z0.stdout.write(Z),writeErr:(Z)=>Z0.stderr.write(Z),getOutHelpWidth:()=>Z0.stdout.isTTY?Z0.stdout.columns:void 0,getErrHelpWidth:()=>Z0.stderr.isTTY?Z0.stderr.columns:void 0,outputError:(Z,Y)=>Y(Z)},this._hidden=!1,this._hasHelpOption=!0,this._helpFlags="-h, --help",this._helpDescription="display help for command",this._helpShortFlag="-h",this._helpLongFlag="--help",this._addImplicitHelpCommand=void 0,this._helpCommandName="help",this._helpCommandnameAndArgs="help [command]",this._helpCommandDescription="display help for command",this._helpConfiguration={}}copyInheritedSettings($){return this._outputConfiguration=$._outputConfiguration,this._hasHelpOption=$._hasHelpOption,this._helpFlags=$._helpFlags,this._helpDescription=$._helpDescription,this._helpShortFlag=$._helpShortFlag,this._helpLongFlag=$._helpLongFlag,this._helpCommandName=$._helpCommandName,this._helpCommandnameAndArgs=$._helpCommandnameAndArgs,this._helpCommandDescription=$._helpCommandDescription,this._helpConfiguration=$._helpConfiguration,this._exitCallback=$._exitCallback,this._storeOptionsAsProperties=$._storeOptionsAsProperties,this._combineFlagAndOptionalValue=$._combineFlagAndOptionalValue,this._allowExcessArguments=$._allowExcessArguments,this._enablePositionalOptions=$._enablePositionalOptions,this._showHelpAfterError=$._showHelpAfterError,this._showSuggestionAfterError=$._showSuggestionAfterError,this}_getCommandAndAncestors(){let $=[];for(let Z=this;Z;Z=Z.parent)$.push(Z);return $}command($,Z,Y){let G=Z,Q=Y;if(typeof G==="object"&&G!==null)Q=G,G=null;Q=Q||{};let[,z,J]=$.match(/([^ ]+) *(.*)/),V=this.createCommand(z);if(G)V.description(G),V._executableHandler=!0;if(Q.isDefault)this._defaultCommandName=V._name;if(V._hidden=!!(Q.noHelp||Q.hidden),V._executableFile=Q.executableFile||null,J)V.arguments(J);if(this.commands.push(V),V.parent=this,V.copyInheritedSettings(this),G)return this;return V}createCommand($){return new A9($)}createHelp(){return Object.assign(new eQ,this.configureHelp())}configureHelp($){if($===void 0)return this._helpConfiguration;return this._helpConfiguration=$,this}configureOutput($){if($===void 0)return this._outputConfiguration;return Object.assign(this._outputConfiguration,$),this}showHelpAfterError($=!0){if(typeof $!=="string")$=!!$;return this._showHelpAfterError=$,this}showSuggestionAfterError($=!0){return this._showSuggestionAfterError=!!$,this}addCommand($,Z){if(!$._name)throw new Error(`Command passed to .addCommand() must have a name
11
+ (Did you mean ${G[0]}?)`;return""}oQ.suggestSimilar=sQ});var CZ=C((Yz)=>{var nQ=b0("events").EventEmitter,S9=b0("child_process"),J1=b0("path"),D9=b0("fs"),Z0=b0("process"),{Argument:aQ,humanReadableArgName:tQ}=H8(),{CommanderError:O9}=F6(),{Help:eQ}=I9(),{Option:PZ,splitOptionFlags:$z,DualOptions:Zz}=F9(),{suggestSimilar:wZ}=MZ();class A9 extends nQ{constructor($){super();this.commands=[],this.options=[],this.parent=null,this._allowUnknownOption=!1,this._allowExcessArguments=!0,this.registeredArguments=[],this._args=this.registeredArguments,this.args=[],this.rawArgs=[],this.processedArgs=[],this._scriptPath=null,this._name=$||"",this._optionValues={},this._optionValueSources={},this._storeOptionsAsProperties=!1,this._actionHandler=null,this._executableHandler=!1,this._executableFile=null,this._executableDir=null,this._defaultCommandName=null,this._exitCallback=null,this._aliases=[],this._combineFlagAndOptionalValue=!0,this._description="",this._summary="",this._argsDescription=void 0,this._enablePositionalOptions=!1,this._passThroughOptions=!1,this._lifeCycleHooks={},this._showHelpAfterError=!1,this._showSuggestionAfterError=!0,this._outputConfiguration={writeOut:(Z)=>Z0.stdout.write(Z),writeErr:(Z)=>Z0.stderr.write(Z),getOutHelpWidth:()=>Z0.stdout.isTTY?Z0.stdout.columns:void 0,getErrHelpWidth:()=>Z0.stderr.isTTY?Z0.stderr.columns:void 0,outputError:(Z,Y)=>Y(Z)},this._hidden=!1,this._hasHelpOption=!0,this._helpFlags="-h, --help",this._helpDescription="display help for command",this._helpShortFlag="-h",this._helpLongFlag="--help",this._addImplicitHelpCommand=void 0,this._helpCommandName="help",this._helpCommandnameAndArgs="help [command]",this._helpCommandDescription="display help for command",this._helpConfiguration={}}copyInheritedSettings($){return this._outputConfiguration=$._outputConfiguration,this._hasHelpOption=$._hasHelpOption,this._helpFlags=$._helpFlags,this._helpDescription=$._helpDescription,this._helpShortFlag=$._helpShortFlag,this._helpLongFlag=$._helpLongFlag,this._helpCommandName=$._helpCommandName,this._helpCommandnameAndArgs=$._helpCommandnameAndArgs,this._helpCommandDescription=$._helpCommandDescription,this._helpConfiguration=$._helpConfiguration,this._exitCallback=$._exitCallback,this._storeOptionsAsProperties=$._storeOptionsAsProperties,this._combineFlagAndOptionalValue=$._combineFlagAndOptionalValue,this._allowExcessArguments=$._allowExcessArguments,this._enablePositionalOptions=$._enablePositionalOptions,this._showHelpAfterError=$._showHelpAfterError,this._showSuggestionAfterError=$._showSuggestionAfterError,this}_getCommandAndAncestors(){let $=[];for(let Z=this;Z;Z=Z.parent)$.push(Z);return $}command($,Z,Y){let G=Z,Q=Y;if(typeof G==="object"&&G!==null)Q=G,G=null;Q=Q||{};let[,z,J]=$.match(/([^ ]+) *(.*)/),V=this.createCommand(z);if(G)V.description(G),V._executableHandler=!0;if(Q.isDefault)this._defaultCommandName=V._name;if(V._hidden=!!(Q.noHelp||Q.hidden),V._executableFile=Q.executableFile||null,J)V.arguments(J);if(this.commands.push(V),V.parent=this,V.copyInheritedSettings(this),G)return this;return V}createCommand($){return new A9($)}createHelp(){return Object.assign(new eQ,this.configureHelp())}configureHelp($){if($===void 0)return this._helpConfiguration;return this._helpConfiguration=$,this}configureOutput($){if($===void 0)return this._outputConfiguration;return Object.assign(this._outputConfiguration,$),this}showHelpAfterError($=!0){if(typeof $!=="string")$=!!$;return this._showHelpAfterError=$,this}showSuggestionAfterError($=!0){return this._showSuggestionAfterError=!!$,this}addCommand($,Z){if(!$._name)throw new Error(`Command passed to .addCommand() must have a name
12
12
  - specify the name in Command constructor or using .name()`);if(Z=Z||{},Z.isDefault)this._defaultCommandName=$._name;if(Z.noHelp||Z.hidden)$._hidden=!0;return this.commands.push($),$.parent=this,this}createArgument($,Z){return new aQ($,Z)}argument($,Z,Y,G){let Q=this.createArgument($,Z);if(typeof Y==="function")Q.default(G).argParser(Y);else Q.default(Y);return this.addArgument(Q),this}arguments($){return $.trim().split(/ +/).forEach((Z)=>{this.argument(Z)}),this}addArgument($){let Z=this.registeredArguments.slice(-1)[0];if(Z&&Z.variadic)throw new Error(`only the last argument can be variadic '${Z.name()}'`);if($.required&&$.defaultValue!==void 0&&$.parseArg===void 0)throw new Error(`a default value for a required argument is never used: '${$.name()}'`);return this.registeredArguments.push($),this}addHelpCommand($,Z){if($===!1)this._addImplicitHelpCommand=!1;else{if(this._addImplicitHelpCommand=!0,typeof $==="string")this._helpCommandName=$.split(" ")[0],this._helpCommandnameAndArgs=$;this._helpCommandDescription=Z||this._helpCommandDescription}return this}_hasImplicitHelpCommand(){if(this._addImplicitHelpCommand===void 0)return this.commands.length&&!this._actionHandler&&!this._findCommand("help");return this._addImplicitHelpCommand}hook($,Z){let Y=["preSubcommand","preAction","postAction"];if(!Y.includes($))throw new Error(`Unexpected value for event passed to hook : '${$}'.
13
13
  Expecting one of '${Y.join("', '")}'`);if(this._lifeCycleHooks[$])this._lifeCycleHooks[$].push(Z);else this._lifeCycleHooks[$]=[Z];return this}exitOverride($){if($)this._exitCallback=$;else this._exitCallback=(Z)=>{if(Z.code!=="commander.executeSubCommandAsync")throw Z};return this}_exit($,Z,Y){if(this._exitCallback)this._exitCallback(new O9($,Z,Y));Z0.exit($)}action($){let Z=(Y)=>{let G=this.registeredArguments.length,Q=Y.slice(0,G);if(this._storeOptionsAsProperties)Q[G]=this;else Q[G]=this.opts();return Q.push(this),$.apply(this,Q)};return this._actionHandler=Z,this}createOption($,Z){return new PZ($,Z)}_callParseArg($,Z,Y,G){try{return $.parseArg(Z,Y)}catch(Q){if(Q.code==="commander.invalidArgument"){let z=`${G} ${Q.message}`;this.error(z,{exitCode:Q.exitCode,code:Q.code})}throw Q}}addOption($){let Z=$.name(),Y=$.attributeName();if($.negate){let Q=$.long.replace(/^--no-/,"--");if(!this._findOption(Q))this.setOptionValueWithSource(Y,$.defaultValue===void 0?!0:$.defaultValue,"default")}else if($.defaultValue!==void 0)this.setOptionValueWithSource(Y,$.defaultValue,"default");this.options.push($);let G=(Q,z,J)=>{if(Q==null&&$.presetArg!==void 0)Q=$.presetArg;let V=this.getOptionValue(Y);if(Q!==null&&$.parseArg)Q=this._callParseArg($,Q,V,z);else if(Q!==null&&$.variadic)Q=$._concatValue(Q,V);if(Q==null)if($.negate)Q=!1;else if($.isBoolean()||$.optional)Q=!0;else Q="";this.setOptionValueWithSource(Y,Q,J)};if(this.on("option:"+Z,(Q)=>{let z=`error: option '${$.flags}' argument '${Q}' is invalid.`;G(Q,z,"cli")}),$.envVar)this.on("optionEnv:"+Z,(Q)=>{let z=`error: option '${$.flags}' value '${Q}' from env '${$.envVar}' is invalid.`;G(Q,z,"env")});return this}_optionEx($,Z,Y,G,Q){if(typeof Z==="object"&&Z instanceof PZ)throw new Error("To add an Option object use addOption() instead of option() or requiredOption()");let z=this.createOption(Z,Y);if(z.makeOptionMandatory(!!$.mandatory),typeof G==="function")z.default(Q).argParser(G);else if(G instanceof RegExp){let J=G;G=(V,_)=>{let q=J.exec(V);return q?q[0]:_},z.default(Q).argParser(G)}else z.default(G);return this.addOption(z)}option($,Z,Y,G){return this._optionEx({},$,Z,Y,G)}requiredOption($,Z,Y,G){return this._optionEx({mandatory:!0},$,Z,Y,G)}combineFlagAndOptionalValue($=!0){return this._combineFlagAndOptionalValue=!!$,this}allowUnknownOption($=!0){return this._allowUnknownOption=!!$,this}allowExcessArguments($=!0){return this._allowExcessArguments=!!$,this}enablePositionalOptions($=!0){return this._enablePositionalOptions=!!$,this}passThroughOptions($=!0){if(this._passThroughOptions=!!$,!!this.parent&&$&&!this.parent._enablePositionalOptions)throw new Error("passThroughOptions can not be used without turning on enablePositionalOptions for parent command(s)");return this}storeOptionsAsProperties($=!0){if(this.options.length)throw new Error("call .storeOptionsAsProperties() before adding options");return this._storeOptionsAsProperties=!!$,this}getOptionValue($){if(this._storeOptionsAsProperties)return this[$];return this._optionValues[$]}setOptionValue($,Z){return this.setOptionValueWithSource($,Z,void 0)}setOptionValueWithSource($,Z,Y){if(this._storeOptionsAsProperties)this[$]=Z;else this._optionValues[$]=Z;return this._optionValueSources[$]=Y,this}getOptionValueSource($){return this._optionValueSources[$]}getOptionValueSourceWithGlobals($){let Z;return this._getCommandAndAncestors().forEach((Y)=>{if(Y.getOptionValueSource($)!==void 0)Z=Y.getOptionValueSource($)}),Z}_prepareUserArgs($,Z){if($!==void 0&&!Array.isArray($))throw new Error("first parameter to parse must be array or undefined");if(Z=Z||{},$===void 0){if($=Z0.argv,Z0.versions&&Z0.versions.electron)Z.from="electron"}this.rawArgs=$.slice();let Y;switch(Z.from){case void 0:case"node":this._scriptPath=$[1],Y=$.slice(2);break;case"electron":if(Z0.defaultApp)this._scriptPath=$[1],Y=$.slice(2);else Y=$.slice(1);break;case"user":Y=$.slice(0);break;default:throw new Error(`unexpected parse option { from: '${Z.from}' }`)}if(!this._name&&this._scriptPath)this.nameFromFilename(this._scriptPath);return this._name=this._name||"program",Y}parse($,Z){let Y=this._prepareUserArgs($,Z);return this._parseCommand([],Y),this}async parseAsync($,Z){let Y=this._prepareUserArgs($,Z);return await this._parseCommand([],Y),this}_executeSubCommand($,Z){Z=Z.slice();let Y=!1,G=[".js",".ts",".tsx",".mjs",".cjs"];function Q(q,K){let O=J1.resolve(q,K);if(D9.existsSync(O))return O;if(G.includes(J1.extname(K)))return;let A=G.find((B)=>D9.existsSync(`${O}${B}`));if(A)return`${O}${A}`;return}this._checkForMissingMandatoryOptions(),this._checkForConflictingOptions();let z=$._executableFile||`${this._name}-${$._name}`,J=this._executableDir||"";if(this._scriptPath){let q;try{q=D9.realpathSync(this._scriptPath)}catch(K){q=this._scriptPath}J=J1.resolve(J1.dirname(q),J)}if(J){let q=Q(J,z);if(!q&&!$._executableFile&&this._scriptPath){let K=J1.basename(this._scriptPath,J1.extname(this._scriptPath));if(K!==this._name)q=Q(J,`${K}-${$._name}`)}z=q||z}Y=G.includes(J1.extname(z));let V;if(Z0.platform!=="win32")if(Y)Z.unshift(z),Z=TZ(Z0.execArgv).concat(Z),V=S9.spawn(Z0.argv[0],Z,{stdio:"inherit"});else V=S9.spawn(z,Z,{stdio:"inherit"});else Z.unshift(z),Z=TZ(Z0.execArgv).concat(Z),V=S9.spawn(Z0.execPath,Z,{stdio:"inherit"});if(!V.killed)["SIGUSR1","SIGUSR2","SIGTERM","SIGINT","SIGHUP"].forEach((K)=>{Z0.on(K,()=>{if(V.killed===!1&&V.exitCode===null)V.kill(K)})});let _=this._exitCallback;if(!_)V.on("close",Z0.exit.bind(Z0));else V.on("close",()=>{_(new O9(Z0.exitCode||0,"commander.executeSubCommandAsync","(close)"))});V.on("error",(q)=>{if(q.code==="ENOENT"){let K=J?`searched for local subcommand relative to directory '${J}'`:"no directory for search for local subcommand, use .executableDir() to supply a custom directory",O=`'${z}' does not exist
14
14
  - if '${$._name}' is not meant to be an executable command, remove description parameter from '.command()' and use '.description()' instead
@@ -19,23 +19,23 @@ Expecting one of '${Y.join("', '")}'`);if(this._lifeCycleHooks[$])this._lifeCycl
19
19
  `),this.outputHelp({error:!0});let Y=Z||{},G=Y.exitCode||1,Q=Y.code||"commander.error";this._exit(G,Q,$)}_parseOptionsEnv(){this.options.forEach(($)=>{if($.envVar&&$.envVar in Z0.env){let Z=$.attributeName();if(this.getOptionValue(Z)===void 0||["default","config","env"].includes(this.getOptionValueSource(Z)))if($.required||$.optional)this.emit(`optionEnv:${$.name()}`,Z0.env[$.envVar]);else this.emit(`optionEnv:${$.name()}`)}})}_parseOptionsImplied(){let $=new Zz(this.options),Z=(Y)=>{return this.getOptionValue(Y)!==void 0&&!["default","implied"].includes(this.getOptionValueSource(Y))};this.options.filter((Y)=>Y.implied!==void 0&&Z(Y.attributeName())&&$.valueFromOption(this.getOptionValue(Y.attributeName()),Y)).forEach((Y)=>{Object.keys(Y.implied).filter((G)=>!Z(G)).forEach((G)=>{this.setOptionValueWithSource(G,Y.implied[G],"implied")})})}missingArgument($){let Z=`error: missing required argument '${$}'`;this.error(Z,{code:"commander.missingArgument"})}optionMissingArgument($){let Z=`error: option '${$.flags}' argument missing`;this.error(Z,{code:"commander.optionMissingArgument"})}missingMandatoryOptionValue($){let Z=`error: required option '${$.flags}' not specified`;this.error(Z,{code:"commander.missingMandatoryOptionValue"})}_conflictingOption($,Z){let Y=(z)=>{let J=z.attributeName(),V=this.getOptionValue(J),_=this.options.find((K)=>K.negate&&J===K.attributeName()),q=this.options.find((K)=>!K.negate&&J===K.attributeName());if(_&&(_.presetArg===void 0&&V===!1||_.presetArg!==void 0&&V===_.presetArg))return _;return q||z},G=(z)=>{let J=Y(z),V=J.attributeName();if(this.getOptionValueSource(V)==="env")return`environment variable '${J.envVar}'`;return`option '${J.flags}'`},Q=`error: ${G($)} cannot be used with ${G(Z)}`;this.error(Q,{code:"commander.conflictingOption"})}unknownOption($){if(this._allowUnknownOption)return;let Z="";if($.startsWith("--")&&this._showSuggestionAfterError){let G=[],Q=this;do{let z=Q.createHelp().visibleOptions(Q).filter((J)=>J.long).map((J)=>J.long);G=G.concat(z),Q=Q.parent}while(Q&&!Q._enablePositionalOptions);Z=wZ($,G)}let Y=`error: unknown option '${$}'${Z}`;this.error(Y,{code:"commander.unknownOption"})}_excessArguments($){if(this._allowExcessArguments)return;let Z=this.registeredArguments.length,Y=Z===1?"":"s",Q=`error: too many arguments${this.parent?` for '${this.name()}'`:""}. Expected ${Z} argument${Y} but got ${$.length}.`;this.error(Q,{code:"commander.excessArguments"})}unknownCommand(){let $=this.args[0],Z="";if(this._showSuggestionAfterError){let G=[];this.createHelp().visibleCommands(this).forEach((Q)=>{if(G.push(Q.name()),Q.alias())G.push(Q.alias())}),Z=wZ($,G)}let Y=`error: unknown command '${$}'${Z}`;this.error(Y,{code:"commander.unknownCommand"})}version($,Z,Y){if($===void 0)return this._version;this._version=$,Z=Z||"-V, --version",Y=Y||"output the version number";let G=this.createOption(Z,Y);return this._versionOptionName=G.attributeName(),this.options.push(G),this.on("option:"+G.name(),()=>{this._outputConfiguration.writeOut(`${$}
20
20
  `),this._exit(0,"commander.version",$)}),this}description($,Z){if($===void 0&&Z===void 0)return this._description;if(this._description=$,Z)this._argsDescription=Z;return this}summary($){if($===void 0)return this._summary;return this._summary=$,this}alias($){if($===void 0)return this._aliases[0];let Z=this;if(this.commands.length!==0&&this.commands[this.commands.length-1]._executableHandler)Z=this.commands[this.commands.length-1];if($===Z._name)throw new Error("Command alias can't be the same as its name");return Z._aliases.push($),this}aliases($){if($===void 0)return this._aliases;return $.forEach((Z)=>this.alias(Z)),this}usage($){if($===void 0){if(this._usage)return this._usage;let Z=this.registeredArguments.map((Y)=>{return tQ(Y)});return[].concat(this.options.length||this._hasHelpOption?"[options]":[],this.commands.length?"[command]":[],this.registeredArguments.length?Z:[]).join(" ")}return this._usage=$,this}name($){if($===void 0)return this._name;return this._name=$,this}nameFromFilename($){return this._name=J1.basename($,J1.extname($)),this}executableDir($){if($===void 0)return this._executableDir;return this._executableDir=$,this}helpInformation($){let Z=this.createHelp();if(Z.helpWidth===void 0)Z.helpWidth=$&&$.error?this._outputConfiguration.getErrHelpWidth():this._outputConfiguration.getOutHelpWidth();return Z.formatHelp(this,Z)}_getHelpContext($){$=$||{};let Z={error:!!$.error},Y;if(Z.error)Y=(G)=>this._outputConfiguration.writeErr(G);else Y=(G)=>this._outputConfiguration.writeOut(G);return Z.write=$.write||Y,Z.command=this,Z}outputHelp($){let Z;if(typeof $==="function")Z=$,$=void 0;let Y=this._getHelpContext($);this._getCommandAndAncestors().reverse().forEach((Q)=>Q.emit("beforeAllHelp",Y)),this.emit("beforeHelp",Y);let G=this.helpInformation(Y);if(Z){if(G=Z(G),typeof G!=="string"&&!Buffer.isBuffer(G))throw new Error("outputHelp callback must return a string or a Buffer")}if(Y.write(G),this._helpLongFlag)this.emit(this._helpLongFlag);this.emit("afterHelp",Y),this._getCommandAndAncestors().forEach((Q)=>Q.emit("afterAllHelp",Y))}helpOption($,Z){if(typeof $==="boolean")return this._hasHelpOption=$,this;this._helpFlags=$||this._helpFlags,this._helpDescription=Z||this._helpDescription;let Y=$z(this._helpFlags);return this._helpShortFlag=Y.shortFlag,this._helpLongFlag=Y.longFlag,this}help($){this.outputHelp($);let Z=Z0.exitCode||0;if(Z===0&&$&&typeof $!=="function"&&$.error)Z=1;this._exit(Z,"commander.help","(outputHelp)")}addHelpText($,Z){let Y=["beforeAll","before","after","afterAll"];if(!Y.includes($))throw new Error(`Unexpected value for position to addHelpText.
21
21
  Expecting one of '${Y.join("', '")}'`);let G=`${$}Help`;return this.on(G,(Q)=>{let z;if(typeof Z==="function")z=Z({error:Q.error,command:Q.command});else z=Z;if(z)Q.write(`${z}
22
- `)}),this}}function RZ($,Z){if($._hasHelpOption&&Z.find((G)=>G===$._helpLongFlag||G===$._helpShortFlag))$.outputHelp(),$._exit(0,"commander.helpDisplayed","(outputHelp)")}function TZ($){return $.map((Z)=>{if(!Z.startsWith("--inspect"))return Z;let Y,G="127.0.0.1",Q="9229",z;if((z=Z.match(/^(--inspect(-brk)?)$/))!==null)Y=z[1];else if((z=Z.match(/^(--inspect(-brk|-port)?)=([^:]+)$/))!==null)if(Y=z[1],/^\d+$/.test(z[3]))Q=z[3];else G=z[3];else if((z=Z.match(/^(--inspect(-brk|-port)?)=([^:]+):(\d+)$/))!==null)Y=z[1],G=z[3],Q=z[4];if(Y&&Q!=="0")return`${Y}=${G}:${parseInt(Q)+1}`;return Z})}Yz.Command=A9});var yZ=C((d0,NZ)=>{var{Argument:Qz}=H8(),{Command:bZ}=CZ(),{CommanderError:zz,InvalidArgumentError:EZ}=I6(),{Help:Xz}=F9(),{Option:Wz}=I9();d0=NZ.exports=new bZ;d0.program=d0;d0.Command=bZ;d0.Option=Wz;d0.Argument=Qz;d0.Help=Xz;d0.CommanderError=zz;d0.InvalidArgumentError=EZ;d0.InvalidOptionArgumentError=EZ});var kZ=C((KV,Jz)=>{Jz.exports={name:"dotenv",version:"16.6.1",description:"Loads environment variables from .env file",main:"lib/main.js",types:"lib/main.d.ts",exports:{".":{types:"./lib/main.d.ts",require:"./lib/main.js",default:"./lib/main.js"},"./config":"./config.js","./config.js":"./config.js","./lib/env-options":"./lib/env-options.js","./lib/env-options.js":"./lib/env-options.js","./lib/cli-options":"./lib/cli-options.js","./lib/cli-options.js":"./lib/cli-options.js","./package.json":"./package.json"},scripts:{"dts-check":"tsc --project tests/types/tsconfig.json",lint:"standard",pretest:"npm run lint && npm run dts-check",test:"tap run --allow-empty-coverage --disable-coverage --timeout=60000","test:coverage":"tap run --show-full-coverage --timeout=60000 --coverage-report=text --coverage-report=lcov",prerelease:"npm test",release:"standard-version"},repository:{type:"git",url:"git://github.com/motdotla/dotenv.git"},homepage:"https://github.com/motdotla/dotenv#readme",funding:"https://dotenvx.com",keywords:["dotenv","env",".env","environment","variables","config","settings"],readmeFilename:"README.md",license:"BSD-2-Clause",devDependencies:{"@types/node":"^18.11.3",decache:"^4.6.2",sinon:"^14.0.1",standard:"^17.0.0","standard-version":"^9.5.0",tap:"^19.2.0",typescript:"^4.8.4"},engines:{node:">=12"},browser:{fs:!1}}});var mZ=C((UV,V1)=>{var L9=b0("fs"),_8=b0("path"),Vz=b0("os"),Bz=b0("crypto"),Hz=kZ(),M9=Hz.version,_z=/(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/mg;function jz($){let Z={},Y=$.toString();Y=Y.replace(/\r\n?/mg,`
22
+ `)}),this}}function RZ($,Z){if($._hasHelpOption&&Z.find((G)=>G===$._helpLongFlag||G===$._helpShortFlag))$.outputHelp(),$._exit(0,"commander.helpDisplayed","(outputHelp)")}function TZ($){return $.map((Z)=>{if(!Z.startsWith("--inspect"))return Z;let Y,G="127.0.0.1",Q="9229",z;if((z=Z.match(/^(--inspect(-brk)?)$/))!==null)Y=z[1];else if((z=Z.match(/^(--inspect(-brk|-port)?)=([^:]+)$/))!==null)if(Y=z[1],/^\d+$/.test(z[3]))Q=z[3];else G=z[3];else if((z=Z.match(/^(--inspect(-brk|-port)?)=([^:]+):(\d+)$/))!==null)Y=z[1],G=z[3],Q=z[4];if(Y&&Q!=="0")return`${Y}=${G}:${parseInt(Q)+1}`;return Z})}Yz.Command=A9});var yZ=C((i0,NZ)=>{var{Argument:Qz}=H8(),{Command:bZ}=CZ(),{CommanderError:zz,InvalidArgumentError:EZ}=F6(),{Help:Xz}=I9(),{Option:Wz}=F9();i0=NZ.exports=new bZ;i0.program=i0;i0.Command=bZ;i0.Option=Wz;i0.Argument=Qz;i0.Help=Xz;i0.CommanderError=zz;i0.InvalidArgumentError=EZ;i0.InvalidOptionArgumentError=EZ});var kZ=C((KV,Jz)=>{Jz.exports={name:"dotenv",version:"16.6.1",description:"Loads environment variables from .env file",main:"lib/main.js",types:"lib/main.d.ts",exports:{".":{types:"./lib/main.d.ts",require:"./lib/main.js",default:"./lib/main.js"},"./config":"./config.js","./config.js":"./config.js","./lib/env-options":"./lib/env-options.js","./lib/env-options.js":"./lib/env-options.js","./lib/cli-options":"./lib/cli-options.js","./lib/cli-options.js":"./lib/cli-options.js","./package.json":"./package.json"},scripts:{"dts-check":"tsc --project tests/types/tsconfig.json",lint:"standard",pretest:"npm run lint && npm run dts-check",test:"tap run --allow-empty-coverage --disable-coverage --timeout=60000","test:coverage":"tap run --show-full-coverage --timeout=60000 --coverage-report=text --coverage-report=lcov",prerelease:"npm test",release:"standard-version"},repository:{type:"git",url:"git://github.com/motdotla/dotenv.git"},homepage:"https://github.com/motdotla/dotenv#readme",funding:"https://dotenvx.com",keywords:["dotenv","env",".env","environment","variables","config","settings"],readmeFilename:"README.md",license:"BSD-2-Clause",devDependencies:{"@types/node":"^18.11.3",decache:"^4.6.2",sinon:"^14.0.1",standard:"^17.0.0","standard-version":"^9.5.0",tap:"^19.2.0",typescript:"^4.8.4"},engines:{node:">=12"},browser:{fs:!1}}});var mZ=C((UV,V1)=>{var L9=b0("fs"),_8=b0("path"),Vz=b0("os"),Bz=b0("crypto"),Hz=kZ(),M9=Hz.version,_z=/(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/mg;function jz($){let Z={},Y=$.toString();Y=Y.replace(/\r\n?/mg,`
23
23
  `);let G;while((G=_z.exec(Y))!=null){let Q=G[1],z=G[2]||"";z=z.trim();let J=z[0];if(z=z.replace(/^(['"`])([\s\S]*)\1$/mg,"$2"),J==='"')z=z.replace(/\\n/g,`
24
- `),z=z.replace(/\\r/g,"\r");Z[Q]=z}return Z}function qz($){$=$||{};let Z=vZ($);$.path=Z;let Y=j0.configDotenv($);if(!Y.parsed){let J=new Error(`MISSING_DATA: Cannot parse ${Z} for an unknown reason`);throw J.code="MISSING_DATA",J}let G=gZ($).split(","),Q=G.length,z;for(let J=0;J<Q;J++)try{let V=G[J].trim(),_=Uz(Y,V);z=j0.decrypt(_.ciphertext,_.key);break}catch(V){if(J+1>=Q)throw V}return j0.parse(z)}function Kz($){console.log(`[dotenv@${M9}][WARN] ${$}`)}function D6($){console.log(`[dotenv@${M9}][DEBUG] ${$}`)}function hZ($){console.log(`[dotenv@${M9}] ${$}`)}function gZ($){if($&&$.DOTENV_KEY&&$.DOTENV_KEY.length>0)return $.DOTENV_KEY;if(process.env.DOTENV_KEY&&process.env.DOTENV_KEY.length>0)return process.env.DOTENV_KEY;return""}function Uz($,Z){let Y;try{Y=new URL(Z)}catch(V){if(V.code==="ERR_INVALID_URL"){let _=new Error("INVALID_DOTENV_KEY: Wrong format. Must be in valid uri format like dotenv://:key_1234@dotenvx.com/vault/.env.vault?environment=development");throw _.code="INVALID_DOTENV_KEY",_}throw V}let G=Y.password;if(!G){let V=new Error("INVALID_DOTENV_KEY: Missing key part");throw V.code="INVALID_DOTENV_KEY",V}let Q=Y.searchParams.get("environment");if(!Q){let V=new Error("INVALID_DOTENV_KEY: Missing environment part");throw V.code="INVALID_DOTENV_KEY",V}let z=`DOTENV_VAULT_${Q.toUpperCase()}`,J=$.parsed[z];if(!J){let V=new Error(`NOT_FOUND_DOTENV_ENVIRONMENT: Cannot locate environment ${z} in your .env.vault file.`);throw V.code="NOT_FOUND_DOTENV_ENVIRONMENT",V}return{ciphertext:J,key:G}}function vZ($){let Z=null;if($&&$.path&&$.path.length>0)if(Array.isArray($.path)){for(let Y of $.path)if(L9.existsSync(Y))Z=Y.endsWith(".vault")?Y:`${Y}.vault`}else Z=$.path.endsWith(".vault")?$.path:`${$.path}.vault`;else Z=_8.resolve(process.cwd(),".env.vault");if(L9.existsSync(Z))return Z;return null}function fZ($){return $[0]==="~"?_8.join(Vz.homedir(),$.slice(1)):$}function Fz($){let Z=Boolean($&&$.debug),Y=$&&"quiet"in $?$.quiet:!0;if(Z||!Y)hZ("Loading env from encrypted .env.vault");let G=j0._parseVault($),Q=process.env;if($&&$.processEnv!=null)Q=$.processEnv;return j0.populate(Q,G,$),{parsed:G}}function Iz($){let Z=_8.resolve(process.cwd(),".env"),Y="utf8",G=Boolean($&&$.debug),Q=$&&"quiet"in $?$.quiet:!0;if($&&$.encoding)Y=$.encoding;else if(G)D6("No encoding is specified. UTF-8 is used by default");let z=[Z];if($&&$.path)if(!Array.isArray($.path))z=[fZ($.path)];else{z=[];for(let q of $.path)z.push(fZ(q))}let J,V={};for(let q of z)try{let K=j0.parse(L9.readFileSync(q,{encoding:Y}));j0.populate(V,K,$)}catch(K){if(G)D6(`Failed to load ${q} ${K.message}`);J=K}let _=process.env;if($&&$.processEnv!=null)_=$.processEnv;if(j0.populate(_,V,$),G||!Q){let q=Object.keys(V).length,K=[];for(let O of z)try{let A=_8.relative(process.cwd(),O);K.push(A)}catch(A){if(G)D6(`Failed to load ${O} ${A.message}`);J=A}hZ(`injecting env (${q}) from ${K.join(",")}`)}if(J)return{parsed:V,error:J};else return{parsed:V}}function Sz($){if(gZ($).length===0)return j0.configDotenv($);let Z=vZ($);if(!Z)return Kz(`You set DOTENV_KEY but you are missing a .env.vault file at ${Z}. Did you forget to build it?`),j0.configDotenv($);return j0._configVault($)}function Dz($,Z){let Y=Buffer.from(Z.slice(-64),"hex"),G=Buffer.from($,"base64"),Q=G.subarray(0,12),z=G.subarray(-16);G=G.subarray(12,-16);try{let J=Bz.createDecipheriv("aes-256-gcm",Y,Q);return J.setAuthTag(z),`${J.update(G)}${J.final()}`}catch(J){let V=J instanceof RangeError,_=J.message==="Invalid key length",q=J.message==="Unsupported state or unable to authenticate data";if(V||_){let K=new Error("INVALID_DOTENV_KEY: It must be 64 characters long (or more)");throw K.code="INVALID_DOTENV_KEY",K}else if(q){let K=new Error("DECRYPTION_FAILED: Please check your DOTENV_KEY");throw K.code="DECRYPTION_FAILED",K}else throw J}}function Oz($,Z,Y={}){let G=Boolean(Y&&Y.debug),Q=Boolean(Y&&Y.override);if(typeof Z!=="object"){let z=new Error("OBJECT_REQUIRED: Please check the processEnv argument being passed to populate");throw z.code="OBJECT_REQUIRED",z}for(let z of Object.keys(Z))if(Object.prototype.hasOwnProperty.call($,z)){if(Q===!0)$[z]=Z[z];if(G)if(Q===!0)D6(`"${z}" is already defined and WAS overwritten`);else D6(`"${z}" is already defined and was NOT overwritten`)}else $[z]=Z[z]}var j0={configDotenv:Iz,_configVault:Fz,_parseVault:qz,config:Sz,decrypt:Dz,parse:jz,populate:Oz};UV.configDotenv=j0.configDotenv;UV._configVault=j0._configVault;UV._parseVault=j0._parseVault;UV.config=j0.config;UV.decrypt=j0.decrypt;UV.parse=j0.parse;UV.populate=j0.populate;V1.exports=j0});var s1=C((FV,pZ)=>{pZ.exports=f1;f1.CAPTURING_PHASE=1;f1.AT_TARGET=2;f1.BUBBLING_PHASE=3;function f1($,Z){if(this.type="",this.target=null,this.currentTarget=null,this.eventPhase=f1.AT_TARGET,this.bubbles=!1,this.cancelable=!1,this.isTrusted=!1,this.defaultPrevented=!1,this.timeStamp=Date.now(),this._propagationStopped=!1,this._immediatePropagationStopped=!1,this._initialized=!0,this._dispatching=!1,$)this.type=$;if(Z)for(var Y in Z)this[Y]=Z[Y]}f1.prototype=Object.create(Object.prototype,{constructor:{value:f1},stopPropagation:{value:function $(){this._propagationStopped=!0}},stopImmediatePropagation:{value:function $(){this._propagationStopped=!0,this._immediatePropagationStopped=!0}},preventDefault:{value:function $(){if(this.cancelable)this.defaultPrevented=!0}},initEvent:{value:function $(Z,Y,G){if(this._initialized=!0,this._dispatching)return;this._propagationStopped=!1,this._immediatePropagationStopped=!1,this.defaultPrevented=!1,this.isTrusted=!1,this.target=null,this.type=Z,this.bubbles=Y,this.cancelable=G}}})});var w9=C((IV,cZ)=>{var uZ=s1();cZ.exports=P9;function P9(){uZ.call(this),this.view=null,this.detail=0}P9.prototype=Object.create(uZ.prototype,{constructor:{value:P9},initUIEvent:{value:function($,Z,Y,G,Q){this.initEvent($,Z,Y),this.view=G,this.detail=Q}}})});var T9=C((SV,iZ)=>{var dZ=w9();iZ.exports=R9;function R9(){dZ.call(this),this.screenX=this.screenY=this.clientX=this.clientY=0,this.ctrlKey=this.altKey=this.shiftKey=this.metaKey=!1,this.button=0,this.buttons=1,this.relatedTarget=null}R9.prototype=Object.create(dZ.prototype,{constructor:{value:R9},initMouseEvent:{value:function($,Z,Y,G,Q,z,J,V,_,q,K,O,A,B,D){switch(this.initEvent($,Z,Y,G,Q),this.screenX=z,this.screenY=J,this.clientX=V,this.clientY=_,this.ctrlKey=q,this.altKey=K,this.shiftKey=O,this.metaKey=A,this.button=B,B){case 0:this.buttons=1;break;case 1:this.buttons=4;break;case 2:this.buttons=2;break;default:this.buttons=0;break}this.relatedTarget=D}},getModifierState:{value:function($){switch($){case"Alt":return this.altKey;case"Control":return this.ctrlKey;case"Shift":return this.shiftKey;case"Meta":return this.metaKey;default:return!1}}}})});var K8=C((DV,sZ)=>{sZ.exports=q8;var Cz=1,bz=3,Ez=4,Nz=5,yz=7,xz=8,kz=9,fz=11,hz=12,gz=13,vz=14,mz=15,pz=17,uz=18,cz=19,dz=20,iz=21,lz=22,sz=23,oz=24,rz=25,nz=[null,"INDEX_SIZE_ERR",null,"HIERARCHY_REQUEST_ERR","WRONG_DOCUMENT_ERR","INVALID_CHARACTER_ERR",null,"NO_MODIFICATION_ALLOWED_ERR","NOT_FOUND_ERR","NOT_SUPPORTED_ERR","INUSE_ATTRIBUTE_ERR","INVALID_STATE_ERR","SYNTAX_ERR","INVALID_MODIFICATION_ERR","NAMESPACE_ERR","INVALID_ACCESS_ERR",null,"TYPE_MISMATCH_ERR","SECURITY_ERR","NETWORK_ERR","ABORT_ERR","URL_MISMATCH_ERR","QUOTA_EXCEEDED_ERR","TIMEOUT_ERR","INVALID_NODE_TYPE_ERR","DATA_CLONE_ERR"],az=[null,"INDEX_SIZE_ERR (1): the index is not in the allowed range",null,"HIERARCHY_REQUEST_ERR (3): the operation would yield an incorrect nodes model","WRONG_DOCUMENT_ERR (4): the object is in the wrong Document, a call to importNode is required","INVALID_CHARACTER_ERR (5): the string contains invalid characters",null,"NO_MODIFICATION_ALLOWED_ERR (7): the object can not be modified","NOT_FOUND_ERR (8): the object can not be found here","NOT_SUPPORTED_ERR (9): this operation is not supported","INUSE_ATTRIBUTE_ERR (10): setAttributeNode called on owned Attribute","INVALID_STATE_ERR (11): the object is in an invalid state","SYNTAX_ERR (12): the string did not match the expected pattern","INVALID_MODIFICATION_ERR (13): the object can not be modified in this way","NAMESPACE_ERR (14): the operation is not allowed by Namespaces in XML","INVALID_ACCESS_ERR (15): the object does not support the operation or argument",null,"TYPE_MISMATCH_ERR (17): the type of the object does not match the expected type","SECURITY_ERR (18): the operation is insecure","NETWORK_ERR (19): a network error occurred","ABORT_ERR (20): the user aborted an operation","URL_MISMATCH_ERR (21): the given URL does not match another URL","QUOTA_EXCEEDED_ERR (22): the quota has been exceeded","TIMEOUT_ERR (23): a timeout occurred","INVALID_NODE_TYPE_ERR (24): the supplied node is invalid or has an invalid ancestor for this operation","DATA_CLONE_ERR (25): the object can not be cloned."],lZ={INDEX_SIZE_ERR:Cz,DOMSTRING_SIZE_ERR:2,HIERARCHY_REQUEST_ERR:bz,WRONG_DOCUMENT_ERR:Ez,INVALID_CHARACTER_ERR:Nz,NO_DATA_ALLOWED_ERR:6,NO_MODIFICATION_ALLOWED_ERR:yz,NOT_FOUND_ERR:xz,NOT_SUPPORTED_ERR:kz,INUSE_ATTRIBUTE_ERR:10,INVALID_STATE_ERR:fz,SYNTAX_ERR:hz,INVALID_MODIFICATION_ERR:gz,NAMESPACE_ERR:vz,INVALID_ACCESS_ERR:mz,VALIDATION_ERR:16,TYPE_MISMATCH_ERR:pz,SECURITY_ERR:uz,NETWORK_ERR:cz,ABORT_ERR:dz,URL_MISMATCH_ERR:iz,QUOTA_EXCEEDED_ERR:lz,TIMEOUT_ERR:sz,INVALID_NODE_TYPE_ERR:oz,DATA_CLONE_ERR:rz};function q8($){Error.call(this),Error.captureStackTrace(this,this.constructor),this.code=$,this.message=az[$],this.name=nz[$]}q8.prototype.__proto__=Error.prototype;for(O6 in lZ)j8={value:lZ[O6]},Object.defineProperty(q8,O6,j8),Object.defineProperty(q8.prototype,O6,j8);var j8,O6});var U8=C((tz)=>{tz.isApiWritable=!globalThis.__domino_frozen__});var V0=C((ZX)=>{var J0=K8(),_0=J0,$X=U8().isApiWritable;ZX.NAMESPACE={HTML:"http://www.w3.org/1999/xhtml",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/",MATHML:"http://www.w3.org/1998/Math/MathML",SVG:"http://www.w3.org/2000/svg",XLINK:"http://www.w3.org/1999/xlink"};ZX.IndexSizeError=function(){throw new J0(_0.INDEX_SIZE_ERR)};ZX.HierarchyRequestError=function(){throw new J0(_0.HIERARCHY_REQUEST_ERR)};ZX.WrongDocumentError=function(){throw new J0(_0.WRONG_DOCUMENT_ERR)};ZX.InvalidCharacterError=function(){throw new J0(_0.INVALID_CHARACTER_ERR)};ZX.NoModificationAllowedError=function(){throw new J0(_0.NO_MODIFICATION_ALLOWED_ERR)};ZX.NotFoundError=function(){throw new J0(_0.NOT_FOUND_ERR)};ZX.NotSupportedError=function(){throw new J0(_0.NOT_SUPPORTED_ERR)};ZX.InvalidStateError=function(){throw new J0(_0.INVALID_STATE_ERR)};ZX.SyntaxError=function(){throw new J0(_0.SYNTAX_ERR)};ZX.InvalidModificationError=function(){throw new J0(_0.INVALID_MODIFICATION_ERR)};ZX.NamespaceError=function(){throw new J0(_0.NAMESPACE_ERR)};ZX.InvalidAccessError=function(){throw new J0(_0.INVALID_ACCESS_ERR)};ZX.TypeMismatchError=function(){throw new J0(_0.TYPE_MISMATCH_ERR)};ZX.SecurityError=function(){throw new J0(_0.SECURITY_ERR)};ZX.NetworkError=function(){throw new J0(_0.NETWORK_ERR)};ZX.AbortError=function(){throw new J0(_0.ABORT_ERR)};ZX.UrlMismatchError=function(){throw new J0(_0.URL_MISMATCH_ERR)};ZX.QuotaExceededError=function(){throw new J0(_0.QUOTA_EXCEEDED_ERR)};ZX.TimeoutError=function(){throw new J0(_0.TIMEOUT_ERR)};ZX.InvalidNodeTypeError=function(){throw new J0(_0.INVALID_NODE_TYPE_ERR)};ZX.DataCloneError=function(){throw new J0(_0.DATA_CLONE_ERR)};ZX.nyi=function(){throw new Error("NotYetImplemented")};ZX.shouldOverride=function(){throw new Error("Abstract function; should be overriding in subclass.")};ZX.assert=function($,Z){if(!$)throw new Error("Assertion failed: "+(Z||"")+`
25
- `+new Error().stack)};ZX.expose=function($,Z){for(var Y in $)Object.defineProperty(Z.prototype,Y,{value:$[Y],writable:$X})};ZX.merge=function($,Z){for(var Y in Z)$[Y]=Z[Y]};ZX.documentOrder=function($,Z){return 3-($.compareDocumentPosition(Z)&6)};ZX.toASCIILowerCase=function($){return $.replace(/[A-Z]+/g,function(Z){return Z.toLowerCase()})};ZX.toASCIIUpperCase=function($){return $.replace(/[a-z]+/g,function(Z){return Z.toUpperCase()})}});var C9=C((LV,rZ)=>{var h1=s1(),NX=T9(),yX=V0();rZ.exports=oZ;function oZ(){}oZ.prototype={addEventListener:function $(Z,Y,G){if(!Y)return;if(G===void 0)G=!1;if(!this._listeners)this._listeners=Object.create(null);if(!this._listeners[Z])this._listeners[Z]=[];var Q=this._listeners[Z];for(var z=0,J=Q.length;z<J;z++){var V=Q[z];if(V.listener===Y&&V.capture===G)return}var _={listener:Y,capture:G};if(typeof Y==="function")_.f=Y;Q.push(_)},removeEventListener:function $(Z,Y,G){if(G===void 0)G=!1;if(this._listeners){var Q=this._listeners[Z];if(Q)for(var z=0,J=Q.length;z<J;z++){var V=Q[z];if(V.listener===Y&&V.capture===G){if(Q.length===1)this._listeners[Z]=void 0;else Q.splice(z,1);return}}}},dispatchEvent:function $(Z){return this._dispatchEvent(Z,!1)},_dispatchEvent:function $(Z,Y){if(typeof Y!=="boolean")Y=!1;function G(q,K){var{type:O,eventPhase:A}=K;if(K.currentTarget=q,A!==h1.CAPTURING_PHASE&&q._handlers&&q._handlers[O]){var B=q._handlers[O],D;if(typeof B==="function")D=B.call(K.currentTarget,K);else{var S=B.handleEvent;if(typeof S!=="function")throw new TypeError("handleEvent property of event handler object isnot a function.");D=S.call(B,K)}switch(K.type){case"mouseover":if(D===!0)K.preventDefault();break;case"beforeunload":default:if(D===!1)K.preventDefault();break}}var L=q._listeners&&q._listeners[O];if(!L)return;L=L.slice();for(var T=0,R=L.length;T<R;T++){if(K._immediatePropagationStopped)return;var v=L[T];if(A===h1.CAPTURING_PHASE&&!v.capture||A===h1.BUBBLING_PHASE&&v.capture)continue;if(v.f)v.f.call(K.currentTarget,K);else{var $0=v.listener.handleEvent;if(typeof $0!=="function")throw new TypeError("handleEvent property of event listener object is not a function.");$0.call(v.listener,K)}}}if(!Z._initialized||Z._dispatching)yX.InvalidStateError();Z.isTrusted=Y,Z._dispatching=!0,Z.target=this;var Q=[];for(var z=this.parentNode;z;z=z.parentNode)Q.push(z);Z.eventPhase=h1.CAPTURING_PHASE;for(var J=Q.length-1;J>=0;J--)if(G(Q[J],Z),Z._propagationStopped)break;if(!Z._propagationStopped)Z.eventPhase=h1.AT_TARGET,G(this,Z);if(Z.bubbles&&!Z._propagationStopped){Z.eventPhase=h1.BUBBLING_PHASE;for(var V=0,_=Q.length;V<_;V++)if(G(Q[V],Z),Z._propagationStopped)break}if(Z._dispatching=!1,Z.eventPhase=h1.AT_TARGET,Z.currentTarget=null,Y&&!Z.defaultPrevented&&Z instanceof NX)switch(Z.type){case"mousedown":this._armed={x:Z.clientX,y:Z.clientY,t:Z.timeStamp};break;case"mouseout":case"mouseover":this._armed=null;break;case"mouseup":if(this._isClick(Z))this._doClick(Z);this._armed=null;break}return!Z.defaultPrevented},_isClick:function($){return this._armed!==null&&$.type==="mouseup"&&$.isTrusted&&$.button===0&&$.timeStamp-this._armed.t<1000&&Math.abs($.clientX-this._armed.x)<10&&Math.abs($.clientY-this._armed.Y)<10},_doClick:function($){if(this._click_in_progress)return;this._click_in_progress=!0;var Z=this;while(Z&&!Z._post_click_activation_steps)Z=Z.parentNode;if(Z&&Z._pre_click_activation_steps)Z._pre_click_activation_steps();var Y=this.ownerDocument.createEvent("MouseEvent");Y.initMouseEvent("click",!0,!0,this.ownerDocument.defaultView,1,$.screenX,$.screenY,$.clientX,$.clientY,$.ctrlKey,$.altKey,$.shiftKey,$.metaKey,$.button,null);var G=this._dispatchEvent(Y,!0);if(Z){if(G){if(Z._post_click_activation_steps)Z._post_click_activation_steps(Y)}else if(Z._cancelled_activation_steps)Z._cancelled_activation_steps()}},_setEventHandler:function $(Z,Y){if(!this._handlers)this._handlers=Object.create(null);this._handlers[Z]=Y},_getEventHandler:function $(Z){return this._handlers&&this._handlers[Z]||null}}});var b9=C((MV,nZ)=>{var B1=V0(),v0=nZ.exports={valid:function($){return B1.assert($,"list falsy"),B1.assert($._previousSibling,"previous falsy"),B1.assert($._nextSibling,"next falsy"),!0},insertBefore:function($,Z){B1.assert(v0.valid($)&&v0.valid(Z));var Y=$,G=$._previousSibling,Q=Z,z=Z._previousSibling;Y._previousSibling=z,G._nextSibling=Q,z._nextSibling=Y,Q._previousSibling=G,B1.assert(v0.valid($)&&v0.valid(Z))},replace:function($,Z){if(B1.assert(v0.valid($)&&(Z===null||v0.valid(Z))),Z!==null)v0.insertBefore(Z,$);v0.remove($),B1.assert(v0.valid($)&&(Z===null||v0.valid(Z)))},remove:function($){B1.assert(v0.valid($));var Z=$._previousSibling;if(Z===$)return;var Y=$._nextSibling;Z._nextSibling=Y,Y._previousSibling=Z,$._previousSibling=$._nextSibling=$,B1.assert(v0.valid($))}}});var E9=C((PV,Q7)=>{Q7.exports={serializeOne:mX,ɵescapeMatchingClosingTag:Z7,ɵescapeClosingCommentTag:Y7,ɵescapeProcessingInstructionContent:G7};var $7=V0(),g1=$7.NAMESPACE,aZ={STYLE:!0,SCRIPT:!0,XMP:!0,IFRAME:!0,NOEMBED:!0,NOFRAMES:!0,PLAINTEXT:!0},xX={area:!0,base:!0,basefont:!0,bgsound:!0,br:!0,col:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},kX={},tZ=/[&<>\u00A0]/g,eZ=/[&"<>\u00A0]/g;function fX($){if(!tZ.test($))return $;return $.replace(tZ,(Z)=>{switch(Z){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case" ":return"&nbsp;"}})}function hX($){if(!eZ.test($))return $;return $.replace(eZ,(Z)=>{switch(Z){case"<":return"&lt;";case">":return"&gt;";case"&":return"&amp;";case'"':return"&quot;";case" ":return"&nbsp;"}})}function gX($){var Z=$.namespaceURI;if(!Z)return $.localName;if(Z===g1.XML)return"xml:"+$.localName;if(Z===g1.XLINK)return"xlink:"+$.localName;if(Z===g1.XMLNS)if($.localName==="xmlns")return"xmlns";else return"xmlns:"+$.localName;return $.name}function Z7($,Z){let Y="</"+Z;if(!$.toLowerCase().includes(Y))return $;let G=[...$],Q=$.matchAll(new RegExp(Y,"ig"));for(let z of Q)G[z.index]="&lt;";return G.join("")}var vX=/--!?>/;function Y7($){if(!vX.test($))return $;return $.replace(/(--\!?)>/g,"$1&gt;")}function G7($){return $.includes(">")?$.replaceAll(">","&gt;"):$}function mX($,Z){var Y="";switch($.nodeType){case 1:var G=$.namespaceURI,Q=G===g1.HTML,z=Q||G===g1.SVG||G===g1.MATHML?$.localName:$.tagName;Y+="<"+z;for(var J=0,V=$._numattrs;J<V;J++){var _=$._attr(J);if(Y+=" "+gX(_),_.value!==void 0)Y+='="'+hX(_.value)+'"'}if(Y+=">",!(Q&&xX[z])){var q=$.serialize();if(aZ[z.toUpperCase()])q=Z7(q,z);if(Q&&kX[z]&&q.charAt(0)===`
24
+ `),z=z.replace(/\\r/g,"\r");Z[Q]=z}return Z}function qz($){$=$||{};let Z=vZ($);$.path=Z;let Y=q0.configDotenv($);if(!Y.parsed){let J=new Error(`MISSING_DATA: Cannot parse ${Z} for an unknown reason`);throw J.code="MISSING_DATA",J}let G=gZ($).split(","),Q=G.length,z;for(let J=0;J<Q;J++)try{let V=G[J].trim(),_=Uz(Y,V);z=q0.decrypt(_.ciphertext,_.key);break}catch(V){if(J+1>=Q)throw V}return q0.parse(z)}function Kz($){console.log(`[dotenv@${M9}][WARN] ${$}`)}function D6($){console.log(`[dotenv@${M9}][DEBUG] ${$}`)}function hZ($){console.log(`[dotenv@${M9}] ${$}`)}function gZ($){if($&&$.DOTENV_KEY&&$.DOTENV_KEY.length>0)return $.DOTENV_KEY;if(process.env.DOTENV_KEY&&process.env.DOTENV_KEY.length>0)return process.env.DOTENV_KEY;return""}function Uz($,Z){let Y;try{Y=new URL(Z)}catch(V){if(V.code==="ERR_INVALID_URL"){let _=new Error("INVALID_DOTENV_KEY: Wrong format. Must be in valid uri format like dotenv://:key_1234@dotenvx.com/vault/.env.vault?environment=development");throw _.code="INVALID_DOTENV_KEY",_}throw V}let G=Y.password;if(!G){let V=new Error("INVALID_DOTENV_KEY: Missing key part");throw V.code="INVALID_DOTENV_KEY",V}let Q=Y.searchParams.get("environment");if(!Q){let V=new Error("INVALID_DOTENV_KEY: Missing environment part");throw V.code="INVALID_DOTENV_KEY",V}let z=`DOTENV_VAULT_${Q.toUpperCase()}`,J=$.parsed[z];if(!J){let V=new Error(`NOT_FOUND_DOTENV_ENVIRONMENT: Cannot locate environment ${z} in your .env.vault file.`);throw V.code="NOT_FOUND_DOTENV_ENVIRONMENT",V}return{ciphertext:J,key:G}}function vZ($){let Z=null;if($&&$.path&&$.path.length>0)if(Array.isArray($.path)){for(let Y of $.path)if(L9.existsSync(Y))Z=Y.endsWith(".vault")?Y:`${Y}.vault`}else Z=$.path.endsWith(".vault")?$.path:`${$.path}.vault`;else Z=_8.resolve(process.cwd(),".env.vault");if(L9.existsSync(Z))return Z;return null}function fZ($){return $[0]==="~"?_8.join(Vz.homedir(),$.slice(1)):$}function Iz($){let Z=Boolean($&&$.debug),Y=$&&"quiet"in $?$.quiet:!0;if(Z||!Y)hZ("Loading env from encrypted .env.vault");let G=q0._parseVault($),Q=process.env;if($&&$.processEnv!=null)Q=$.processEnv;return q0.populate(Q,G,$),{parsed:G}}function Fz($){let Z=_8.resolve(process.cwd(),".env"),Y="utf8",G=Boolean($&&$.debug),Q=$&&"quiet"in $?$.quiet:!0;if($&&$.encoding)Y=$.encoding;else if(G)D6("No encoding is specified. UTF-8 is used by default");let z=[Z];if($&&$.path)if(!Array.isArray($.path))z=[fZ($.path)];else{z=[];for(let q of $.path)z.push(fZ(q))}let J,V={};for(let q of z)try{let K=q0.parse(L9.readFileSync(q,{encoding:Y}));q0.populate(V,K,$)}catch(K){if(G)D6(`Failed to load ${q} ${K.message}`);J=K}let _=process.env;if($&&$.processEnv!=null)_=$.processEnv;if(q0.populate(_,V,$),G||!Q){let q=Object.keys(V).length,K=[];for(let O of z)try{let A=_8.relative(process.cwd(),O);K.push(A)}catch(A){if(G)D6(`Failed to load ${O} ${A.message}`);J=A}hZ(`injecting env (${q}) from ${K.join(",")}`)}if(J)return{parsed:V,error:J};else return{parsed:V}}function Sz($){if(gZ($).length===0)return q0.configDotenv($);let Z=vZ($);if(!Z)return Kz(`You set DOTENV_KEY but you are missing a .env.vault file at ${Z}. Did you forget to build it?`),q0.configDotenv($);return q0._configVault($)}function Dz($,Z){let Y=Buffer.from(Z.slice(-64),"hex"),G=Buffer.from($,"base64"),Q=G.subarray(0,12),z=G.subarray(-16);G=G.subarray(12,-16);try{let J=Bz.createDecipheriv("aes-256-gcm",Y,Q);return J.setAuthTag(z),`${J.update(G)}${J.final()}`}catch(J){let V=J instanceof RangeError,_=J.message==="Invalid key length",q=J.message==="Unsupported state or unable to authenticate data";if(V||_){let K=new Error("INVALID_DOTENV_KEY: It must be 64 characters long (or more)");throw K.code="INVALID_DOTENV_KEY",K}else if(q){let K=new Error("DECRYPTION_FAILED: Please check your DOTENV_KEY");throw K.code="DECRYPTION_FAILED",K}else throw J}}function Oz($,Z,Y={}){let G=Boolean(Y&&Y.debug),Q=Boolean(Y&&Y.override);if(typeof Z!=="object"){let z=new Error("OBJECT_REQUIRED: Please check the processEnv argument being passed to populate");throw z.code="OBJECT_REQUIRED",z}for(let z of Object.keys(Z))if(Object.prototype.hasOwnProperty.call($,z)){if(Q===!0)$[z]=Z[z];if(G)if(Q===!0)D6(`"${z}" is already defined and WAS overwritten`);else D6(`"${z}" is already defined and was NOT overwritten`)}else $[z]=Z[z]}var q0={configDotenv:Fz,_configVault:Iz,_parseVault:qz,config:Sz,decrypt:Dz,parse:jz,populate:Oz};UV.configDotenv=q0.configDotenv;UV._configVault=q0._configVault;UV._parseVault=q0._parseVault;UV.config=q0.config;UV.decrypt=q0.decrypt;UV.parse=q0.parse;UV.populate=q0.populate;V1.exports=q0});var s1=C((IV,pZ)=>{pZ.exports=f1;f1.CAPTURING_PHASE=1;f1.AT_TARGET=2;f1.BUBBLING_PHASE=3;function f1($,Z){if(this.type="",this.target=null,this.currentTarget=null,this.eventPhase=f1.AT_TARGET,this.bubbles=!1,this.cancelable=!1,this.isTrusted=!1,this.defaultPrevented=!1,this.timeStamp=Date.now(),this._propagationStopped=!1,this._immediatePropagationStopped=!1,this._initialized=!0,this._dispatching=!1,$)this.type=$;if(Z)for(var Y in Z)this[Y]=Z[Y]}f1.prototype=Object.create(Object.prototype,{constructor:{value:f1},stopPropagation:{value:function $(){this._propagationStopped=!0}},stopImmediatePropagation:{value:function $(){this._propagationStopped=!0,this._immediatePropagationStopped=!0}},preventDefault:{value:function $(){if(this.cancelable)this.defaultPrevented=!0}},initEvent:{value:function $(Z,Y,G){if(this._initialized=!0,this._dispatching)return;this._propagationStopped=!1,this._immediatePropagationStopped=!1,this.defaultPrevented=!1,this.isTrusted=!1,this.target=null,this.type=Z,this.bubbles=Y,this.cancelable=G}}})});var w9=C((FV,cZ)=>{var uZ=s1();cZ.exports=P9;function P9(){uZ.call(this),this.view=null,this.detail=0}P9.prototype=Object.create(uZ.prototype,{constructor:{value:P9},initUIEvent:{value:function($,Z,Y,G,Q){this.initEvent($,Z,Y),this.view=G,this.detail=Q}}})});var T9=C((SV,iZ)=>{var dZ=w9();iZ.exports=R9;function R9(){dZ.call(this),this.screenX=this.screenY=this.clientX=this.clientY=0,this.ctrlKey=this.altKey=this.shiftKey=this.metaKey=!1,this.button=0,this.buttons=1,this.relatedTarget=null}R9.prototype=Object.create(dZ.prototype,{constructor:{value:R9},initMouseEvent:{value:function($,Z,Y,G,Q,z,J,V,_,q,K,O,A,B,D){switch(this.initEvent($,Z,Y,G,Q),this.screenX=z,this.screenY=J,this.clientX=V,this.clientY=_,this.ctrlKey=q,this.altKey=K,this.shiftKey=O,this.metaKey=A,this.button=B,B){case 0:this.buttons=1;break;case 1:this.buttons=4;break;case 2:this.buttons=2;break;default:this.buttons=0;break}this.relatedTarget=D}},getModifierState:{value:function($){switch($){case"Alt":return this.altKey;case"Control":return this.ctrlKey;case"Shift":return this.shiftKey;case"Meta":return this.metaKey;default:return!1}}}})});var K8=C((DV,sZ)=>{sZ.exports=q8;var Cz=1,bz=3,Ez=4,Nz=5,yz=7,xz=8,kz=9,fz=11,hz=12,gz=13,vz=14,mz=15,pz=17,uz=18,cz=19,dz=20,iz=21,lz=22,sz=23,oz=24,rz=25,nz=[null,"INDEX_SIZE_ERR",null,"HIERARCHY_REQUEST_ERR","WRONG_DOCUMENT_ERR","INVALID_CHARACTER_ERR",null,"NO_MODIFICATION_ALLOWED_ERR","NOT_FOUND_ERR","NOT_SUPPORTED_ERR","INUSE_ATTRIBUTE_ERR","INVALID_STATE_ERR","SYNTAX_ERR","INVALID_MODIFICATION_ERR","NAMESPACE_ERR","INVALID_ACCESS_ERR",null,"TYPE_MISMATCH_ERR","SECURITY_ERR","NETWORK_ERR","ABORT_ERR","URL_MISMATCH_ERR","QUOTA_EXCEEDED_ERR","TIMEOUT_ERR","INVALID_NODE_TYPE_ERR","DATA_CLONE_ERR"],az=[null,"INDEX_SIZE_ERR (1): the index is not in the allowed range",null,"HIERARCHY_REQUEST_ERR (3): the operation would yield an incorrect nodes model","WRONG_DOCUMENT_ERR (4): the object is in the wrong Document, a call to importNode is required","INVALID_CHARACTER_ERR (5): the string contains invalid characters",null,"NO_MODIFICATION_ALLOWED_ERR (7): the object can not be modified","NOT_FOUND_ERR (8): the object can not be found here","NOT_SUPPORTED_ERR (9): this operation is not supported","INUSE_ATTRIBUTE_ERR (10): setAttributeNode called on owned Attribute","INVALID_STATE_ERR (11): the object is in an invalid state","SYNTAX_ERR (12): the string did not match the expected pattern","INVALID_MODIFICATION_ERR (13): the object can not be modified in this way","NAMESPACE_ERR (14): the operation is not allowed by Namespaces in XML","INVALID_ACCESS_ERR (15): the object does not support the operation or argument",null,"TYPE_MISMATCH_ERR (17): the type of the object does not match the expected type","SECURITY_ERR (18): the operation is insecure","NETWORK_ERR (19): a network error occurred","ABORT_ERR (20): the user aborted an operation","URL_MISMATCH_ERR (21): the given URL does not match another URL","QUOTA_EXCEEDED_ERR (22): the quota has been exceeded","TIMEOUT_ERR (23): a timeout occurred","INVALID_NODE_TYPE_ERR (24): the supplied node is invalid or has an invalid ancestor for this operation","DATA_CLONE_ERR (25): the object can not be cloned."],lZ={INDEX_SIZE_ERR:Cz,DOMSTRING_SIZE_ERR:2,HIERARCHY_REQUEST_ERR:bz,WRONG_DOCUMENT_ERR:Ez,INVALID_CHARACTER_ERR:Nz,NO_DATA_ALLOWED_ERR:6,NO_MODIFICATION_ALLOWED_ERR:yz,NOT_FOUND_ERR:xz,NOT_SUPPORTED_ERR:kz,INUSE_ATTRIBUTE_ERR:10,INVALID_STATE_ERR:fz,SYNTAX_ERR:hz,INVALID_MODIFICATION_ERR:gz,NAMESPACE_ERR:vz,INVALID_ACCESS_ERR:mz,VALIDATION_ERR:16,TYPE_MISMATCH_ERR:pz,SECURITY_ERR:uz,NETWORK_ERR:cz,ABORT_ERR:dz,URL_MISMATCH_ERR:iz,QUOTA_EXCEEDED_ERR:lz,TIMEOUT_ERR:sz,INVALID_NODE_TYPE_ERR:oz,DATA_CLONE_ERR:rz};function q8($){Error.call(this),Error.captureStackTrace(this,this.constructor),this.code=$,this.message=az[$],this.name=nz[$]}q8.prototype.__proto__=Error.prototype;for(O6 in lZ)j8={value:lZ[O6]},Object.defineProperty(q8,O6,j8),Object.defineProperty(q8.prototype,O6,j8);var j8,O6});var U8=C((tz)=>{tz.isApiWritable=!globalThis.__domino_frozen__});var V0=C((ZX)=>{var J0=K8(),_0=J0,$X=U8().isApiWritable;ZX.NAMESPACE={HTML:"http://www.w3.org/1999/xhtml",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/",MATHML:"http://www.w3.org/1998/Math/MathML",SVG:"http://www.w3.org/2000/svg",XLINK:"http://www.w3.org/1999/xlink"};ZX.IndexSizeError=function(){throw new J0(_0.INDEX_SIZE_ERR)};ZX.HierarchyRequestError=function(){throw new J0(_0.HIERARCHY_REQUEST_ERR)};ZX.WrongDocumentError=function(){throw new J0(_0.WRONG_DOCUMENT_ERR)};ZX.InvalidCharacterError=function(){throw new J0(_0.INVALID_CHARACTER_ERR)};ZX.NoModificationAllowedError=function(){throw new J0(_0.NO_MODIFICATION_ALLOWED_ERR)};ZX.NotFoundError=function(){throw new J0(_0.NOT_FOUND_ERR)};ZX.NotSupportedError=function(){throw new J0(_0.NOT_SUPPORTED_ERR)};ZX.InvalidStateError=function(){throw new J0(_0.INVALID_STATE_ERR)};ZX.SyntaxError=function(){throw new J0(_0.SYNTAX_ERR)};ZX.InvalidModificationError=function(){throw new J0(_0.INVALID_MODIFICATION_ERR)};ZX.NamespaceError=function(){throw new J0(_0.NAMESPACE_ERR)};ZX.InvalidAccessError=function(){throw new J0(_0.INVALID_ACCESS_ERR)};ZX.TypeMismatchError=function(){throw new J0(_0.TYPE_MISMATCH_ERR)};ZX.SecurityError=function(){throw new J0(_0.SECURITY_ERR)};ZX.NetworkError=function(){throw new J0(_0.NETWORK_ERR)};ZX.AbortError=function(){throw new J0(_0.ABORT_ERR)};ZX.UrlMismatchError=function(){throw new J0(_0.URL_MISMATCH_ERR)};ZX.QuotaExceededError=function(){throw new J0(_0.QUOTA_EXCEEDED_ERR)};ZX.TimeoutError=function(){throw new J0(_0.TIMEOUT_ERR)};ZX.InvalidNodeTypeError=function(){throw new J0(_0.INVALID_NODE_TYPE_ERR)};ZX.DataCloneError=function(){throw new J0(_0.DATA_CLONE_ERR)};ZX.nyi=function(){throw new Error("NotYetImplemented")};ZX.shouldOverride=function(){throw new Error("Abstract function; should be overriding in subclass.")};ZX.assert=function($,Z){if(!$)throw new Error("Assertion failed: "+(Z||"")+`
25
+ `+new Error().stack)};ZX.expose=function($,Z){for(var Y in $)Object.defineProperty(Z.prototype,Y,{value:$[Y],writable:$X})};ZX.merge=function($,Z){for(var Y in Z)$[Y]=Z[Y]};ZX.documentOrder=function($,Z){return 3-($.compareDocumentPosition(Z)&6)};ZX.toASCIILowerCase=function($){return $.replace(/[A-Z]+/g,function(Z){return Z.toLowerCase()})};ZX.toASCIIUpperCase=function($){return $.replace(/[a-z]+/g,function(Z){return Z.toUpperCase()})}});var C9=C((LV,rZ)=>{var h1=s1(),NX=T9(),yX=V0();rZ.exports=oZ;function oZ(){}oZ.prototype={addEventListener:function $(Z,Y,G){if(!Y)return;if(G===void 0)G=!1;if(!this._listeners)this._listeners=Object.create(null);if(!this._listeners[Z])this._listeners[Z]=[];var Q=this._listeners[Z];for(var z=0,J=Q.length;z<J;z++){var V=Q[z];if(V.listener===Y&&V.capture===G)return}var _={listener:Y,capture:G};if(typeof Y==="function")_.f=Y;Q.push(_)},removeEventListener:function $(Z,Y,G){if(G===void 0)G=!1;if(this._listeners){var Q=this._listeners[Z];if(Q)for(var z=0,J=Q.length;z<J;z++){var V=Q[z];if(V.listener===Y&&V.capture===G){if(Q.length===1)this._listeners[Z]=void 0;else Q.splice(z,1);return}}}},dispatchEvent:function $(Z){return this._dispatchEvent(Z,!1)},_dispatchEvent:function $(Z,Y){if(typeof Y!=="boolean")Y=!1;function G(q,K){var{type:O,eventPhase:A}=K;if(K.currentTarget=q,A!==h1.CAPTURING_PHASE&&q._handlers&&q._handlers[O]){var B=q._handlers[O],D;if(typeof B==="function")D=B.call(K.currentTarget,K);else{var S=B.handleEvent;if(typeof S!=="function")throw new TypeError("handleEvent property of event handler object isnot a function.");D=S.call(B,K)}switch(K.type){case"mouseover":if(D===!0)K.preventDefault();break;case"beforeunload":default:if(D===!1)K.preventDefault();break}}var L=q._listeners&&q._listeners[O];if(!L)return;L=L.slice();for(var T=0,R=L.length;T<R;T++){if(K._immediatePropagationStopped)return;var v=L[T];if(A===h1.CAPTURING_PHASE&&!v.capture||A===h1.BUBBLING_PHASE&&v.capture)continue;if(v.f)v.f.call(K.currentTarget,K);else{var $0=v.listener.handleEvent;if(typeof $0!=="function")throw new TypeError("handleEvent property of event listener object is not a function.");$0.call(v.listener,K)}}}if(!Z._initialized||Z._dispatching)yX.InvalidStateError();Z.isTrusted=Y,Z._dispatching=!0,Z.target=this;var Q=[];for(var z=this.parentNode;z;z=z.parentNode)Q.push(z);Z.eventPhase=h1.CAPTURING_PHASE;for(var J=Q.length-1;J>=0;J--)if(G(Q[J],Z),Z._propagationStopped)break;if(!Z._propagationStopped)Z.eventPhase=h1.AT_TARGET,G(this,Z);if(Z.bubbles&&!Z._propagationStopped){Z.eventPhase=h1.BUBBLING_PHASE;for(var V=0,_=Q.length;V<_;V++)if(G(Q[V],Z),Z._propagationStopped)break}if(Z._dispatching=!1,Z.eventPhase=h1.AT_TARGET,Z.currentTarget=null,Y&&!Z.defaultPrevented&&Z instanceof NX)switch(Z.type){case"mousedown":this._armed={x:Z.clientX,y:Z.clientY,t:Z.timeStamp};break;case"mouseout":case"mouseover":this._armed=null;break;case"mouseup":if(this._isClick(Z))this._doClick(Z);this._armed=null;break}return!Z.defaultPrevented},_isClick:function($){return this._armed!==null&&$.type==="mouseup"&&$.isTrusted&&$.button===0&&$.timeStamp-this._armed.t<1000&&Math.abs($.clientX-this._armed.x)<10&&Math.abs($.clientY-this._armed.Y)<10},_doClick:function($){if(this._click_in_progress)return;this._click_in_progress=!0;var Z=this;while(Z&&!Z._post_click_activation_steps)Z=Z.parentNode;if(Z&&Z._pre_click_activation_steps)Z._pre_click_activation_steps();var Y=this.ownerDocument.createEvent("MouseEvent");Y.initMouseEvent("click",!0,!0,this.ownerDocument.defaultView,1,$.screenX,$.screenY,$.clientX,$.clientY,$.ctrlKey,$.altKey,$.shiftKey,$.metaKey,$.button,null);var G=this._dispatchEvent(Y,!0);if(Z){if(G){if(Z._post_click_activation_steps)Z._post_click_activation_steps(Y)}else if(Z._cancelled_activation_steps)Z._cancelled_activation_steps()}},_setEventHandler:function $(Z,Y){if(!this._handlers)this._handlers=Object.create(null);this._handlers[Z]=Y},_getEventHandler:function $(Z){return this._handlers&&this._handlers[Z]||null}}});var b9=C((MV,nZ)=>{var B1=V0(),p0=nZ.exports={valid:function($){return B1.assert($,"list falsy"),B1.assert($._previousSibling,"previous falsy"),B1.assert($._nextSibling,"next falsy"),!0},insertBefore:function($,Z){B1.assert(p0.valid($)&&p0.valid(Z));var Y=$,G=$._previousSibling,Q=Z,z=Z._previousSibling;Y._previousSibling=z,G._nextSibling=Q,z._nextSibling=Y,Q._previousSibling=G,B1.assert(p0.valid($)&&p0.valid(Z))},replace:function($,Z){if(B1.assert(p0.valid($)&&(Z===null||p0.valid(Z))),Z!==null)p0.insertBefore(Z,$);p0.remove($),B1.assert(p0.valid($)&&(Z===null||p0.valid(Z)))},remove:function($){B1.assert(p0.valid($));var Z=$._previousSibling;if(Z===$)return;var Y=$._nextSibling;Z._nextSibling=Y,Y._previousSibling=Z,$._previousSibling=$._nextSibling=$,B1.assert(p0.valid($))}}});var E9=C((PV,Q7)=>{Q7.exports={serializeOne:mX,ɵescapeMatchingClosingTag:Z7,ɵescapeClosingCommentTag:Y7,ɵescapeProcessingInstructionContent:G7};var $7=V0(),g1=$7.NAMESPACE,aZ={STYLE:!0,SCRIPT:!0,XMP:!0,IFRAME:!0,NOEMBED:!0,NOFRAMES:!0,PLAINTEXT:!0},xX={area:!0,base:!0,basefont:!0,bgsound:!0,br:!0,col:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},kX={},tZ=/[&<>\u00A0]/g,eZ=/[&"<>\u00A0]/g;function fX($){if(!tZ.test($))return $;return $.replace(tZ,(Z)=>{switch(Z){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case" ":return"&nbsp;"}})}function hX($){if(!eZ.test($))return $;return $.replace(eZ,(Z)=>{switch(Z){case"<":return"&lt;";case">":return"&gt;";case"&":return"&amp;";case'"':return"&quot;";case" ":return"&nbsp;"}})}function gX($){var Z=$.namespaceURI;if(!Z)return $.localName;if(Z===g1.XML)return"xml:"+$.localName;if(Z===g1.XLINK)return"xlink:"+$.localName;if(Z===g1.XMLNS)if($.localName==="xmlns")return"xmlns";else return"xmlns:"+$.localName;return $.name}function Z7($,Z){let Y="</"+Z;if(!$.toLowerCase().includes(Y))return $;let G=[...$],Q=$.matchAll(new RegExp(Y,"ig"));for(let z of Q)G[z.index]="&lt;";return G.join("")}var vX=/--!?>/;function Y7($){if(!vX.test($))return $;return $.replace(/(--\!?)>/g,"$1&gt;")}function G7($){return $.includes(">")?$.replaceAll(">","&gt;"):$}function mX($,Z){var Y="";switch($.nodeType){case 1:var G=$.namespaceURI,Q=G===g1.HTML,z=Q||G===g1.SVG||G===g1.MATHML?$.localName:$.tagName;Y+="<"+z;for(var J=0,V=$._numattrs;J<V;J++){var _=$._attr(J);if(Y+=" "+gX(_),_.value!==void 0)Y+='="'+hX(_.value)+'"'}if(Y+=">",!(Q&&xX[z])){var q=$.serialize();if(aZ[z.toUpperCase()])q=Z7(q,z);if(Q&&kX[z]&&q.charAt(0)===`
26
26
  `)Y+=`
27
- `;Y+=q,Y+="</"+z+">"}break;case 3:case 4:var K;if(Z.nodeType===1&&Z.namespaceURI===g1.HTML)K=Z.tagName;else K="";if(aZ[K]||K==="NOSCRIPT"&&Z.ownerDocument._scripting_enabled)Y+=$.data;else Y+=fX($.data);break;case 8:Y+="<!--"+Y7($.data)+"-->";break;case 7:let O=G7($.data);Y+="<?"+$.target+" "+O+"?>";break;case 10:Y+="<!DOCTYPE "+$.name,Y+=">";break;default:$7.InvalidStateError()}return Y}});var I0=C((wV,B7)=>{B7.exports=Y0;var V7=C9(),F8=b9(),z7=E9(),r=V0();function Y0(){V7.call(this),this.parentNode=null,this._nextSibling=this._previousSibling=this,this._index=void 0}var N0=Y0.ELEMENT_NODE=1,N9=Y0.ATTRIBUTE_NODE=2,I8=Y0.TEXT_NODE=3,pX=Y0.CDATA_SECTION_NODE=4,uX=Y0.ENTITY_REFERENCE_NODE=5,y9=Y0.ENTITY_NODE=6,X7=Y0.PROCESSING_INSTRUCTION_NODE=7,W7=Y0.COMMENT_NODE=8,A6=Y0.DOCUMENT_NODE=9,m0=Y0.DOCUMENT_TYPE_NODE=10,M1=Y0.DOCUMENT_FRAGMENT_NODE=11,x9=Y0.NOTATION_NODE=12,k9=Y0.DOCUMENT_POSITION_DISCONNECTED=1,f9=Y0.DOCUMENT_POSITION_PRECEDING=2,h9=Y0.DOCUMENT_POSITION_FOLLOWING=4,J7=Y0.DOCUMENT_POSITION_CONTAINS=8,g9=Y0.DOCUMENT_POSITION_CONTAINED_BY=16,v9=Y0.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC=32;Y0.prototype=Object.create(V7.prototype,{baseURI:{get:r.nyi},parentElement:{get:function(){return this.parentNode&&this.parentNode.nodeType===N0?this.parentNode:null}},hasChildNodes:{value:r.shouldOverride},firstChild:{get:r.shouldOverride},lastChild:{get:r.shouldOverride},isConnected:{get:function(){let $=this;while($!=null){if($.nodeType===Y0.DOCUMENT_NODE)return!0;if($=$.parentNode,$!=null&&$.nodeType===Y0.DOCUMENT_FRAGMENT_NODE)$=$.host}return!1}},previousSibling:{get:function(){var $=this.parentNode;if(!$)return null;if(this===$.firstChild)return null;return this._previousSibling}},nextSibling:{get:function(){var $=this.parentNode,Z=this._nextSibling;if(!$)return null;if(Z===$.firstChild)return null;return Z}},textContent:{get:function(){return null},set:function($){}},innerText:{get:function(){return null},set:function($){}},_countChildrenOfType:{value:function($){var Z=0;for(var Y=this.firstChild;Y!==null;Y=Y.nextSibling)if(Y.nodeType===$)Z++;return Z}},_ensureInsertValid:{value:function $(Z,Y,G){var Q=this,z,J;if(!Z.nodeType)throw new TypeError("not a node");switch(Q.nodeType){case A6:case M1:case N0:break;default:r.HierarchyRequestError()}if(Z.isAncestor(Q))r.HierarchyRequestError();if(Y!==null||!G){if(Y.parentNode!==Q)r.NotFoundError()}switch(Z.nodeType){case M1:case m0:case N0:case I8:case X7:case W7:break;default:r.HierarchyRequestError()}if(Q.nodeType===A6)switch(Z.nodeType){case I8:r.HierarchyRequestError();break;case M1:if(Z._countChildrenOfType(I8)>0)r.HierarchyRequestError();switch(Z._countChildrenOfType(N0)){case 0:break;case 1:if(Y!==null){if(G&&Y.nodeType===m0)r.HierarchyRequestError();for(J=Y.nextSibling;J!==null;J=J.nextSibling)if(J.nodeType===m0)r.HierarchyRequestError()}if(z=Q._countChildrenOfType(N0),G){if(z>0)r.HierarchyRequestError()}else if(z>1||z===1&&Y.nodeType!==N0)r.HierarchyRequestError();break;default:r.HierarchyRequestError()}break;case N0:if(Y!==null){if(G&&Y.nodeType===m0)r.HierarchyRequestError();for(J=Y.nextSibling;J!==null;J=J.nextSibling)if(J.nodeType===m0)r.HierarchyRequestError()}if(z=Q._countChildrenOfType(N0),G){if(z>0)r.HierarchyRequestError()}else if(z>1||z===1&&Y.nodeType!==N0)r.HierarchyRequestError();break;case m0:if(Y===null){if(Q._countChildrenOfType(N0))r.HierarchyRequestError()}else for(J=Q.firstChild;J!==null;J=J.nextSibling){if(J===Y)break;if(J.nodeType===N0)r.HierarchyRequestError()}if(z=Q._countChildrenOfType(m0),G){if(z>0)r.HierarchyRequestError()}else if(z>1||z===1&&Y.nodeType!==m0)r.HierarchyRequestError();break}else if(Z.nodeType===m0)r.HierarchyRequestError()}},insertBefore:{value:function $(Z,Y){var G=this;G._ensureInsertValid(Z,Y,!0);var Q=Y;if(Q===Z)Q=Z.nextSibling;return G.doc.adoptNode(Z),Z._insertOrReplace(G,Q,!1),Z}},appendChild:{value:function($){return this.insertBefore($,null)}},_appendChild:{value:function($){$._insertOrReplace(this,null,!1)}},removeChild:{value:function $(Z){var Y=this;if(!Z.nodeType)throw new TypeError("not a node");if(Z.parentNode!==Y)r.NotFoundError();return Z.remove(),Z}},replaceChild:{value:function $(Z,Y){var G=this;if(G._ensureInsertValid(Z,Y,!1),Z.doc!==G.doc)G.doc.adoptNode(Z);return Z._insertOrReplace(G,Y,!0),Y}},contains:{value:function $(Z){if(Z===null)return!1;if(this===Z)return!0;return(this.compareDocumentPosition(Z)&g9)!==0}},compareDocumentPosition:{value:function $(Z){if(this===Z)return 0;if(this.doc!==Z.doc||this.rooted!==Z.rooted)return k9+v9;var Y=[],G=[];for(var Q=this;Q!==null;Q=Q.parentNode)Y.push(Q);for(Q=Z;Q!==null;Q=Q.parentNode)G.push(Q);if(Y.reverse(),G.reverse(),Y[0]!==G[0])return k9+v9;Q=Math.min(Y.length,G.length);for(var z=1;z<Q;z++)if(Y[z]!==G[z])if(Y[z].index<G[z].index)return h9;else return f9;if(Y.length<G.length)return h9+g9;else return f9+J7}},isSameNode:{value:function $(Z){return this===Z}},isEqualNode:{value:function $(Z){if(!Z)return!1;if(Z.nodeType!==this.nodeType)return!1;if(!this.isEqual(Z))return!1;for(var Y=this.firstChild,G=Z.firstChild;Y&&G;Y=Y.nextSibling,G=G.nextSibling)if(!Y.isEqualNode(G))return!1;return Y===null&&G===null}},cloneNode:{value:function($){var Z=this.clone();if($)for(var Y=this.firstChild;Y!==null;Y=Y.nextSibling)Z._appendChild(Y.cloneNode(!0));return Z}},lookupPrefix:{value:function $(Z){var Y;if(Z===""||Z===null||Z===void 0)return null;switch(this.nodeType){case N0:return this._lookupNamespacePrefix(Z,this);case A6:return Y=this.documentElement,Y?Y.lookupPrefix(Z):null;case y9:case x9:case M1:case m0:return null;case N9:return Y=this.ownerElement,Y?Y.lookupPrefix(Z):null;default:return Y=this.parentElement,Y?Y.lookupPrefix(Z):null}}},lookupNamespaceURI:{value:function $(Z){if(Z===""||Z===void 0)Z=null;var Y;switch(this.nodeType){case N0:return r.shouldOverride();case A6:return Y=this.documentElement,Y?Y.lookupNamespaceURI(Z):null;case y9:case x9:case m0:case M1:return null;case N9:return Y=this.ownerElement,Y?Y.lookupNamespaceURI(Z):null;default:return Y=this.parentElement,Y?Y.lookupNamespaceURI(Z):null}}},isDefaultNamespace:{value:function $(Z){if(Z===""||Z===void 0)Z=null;var Y=this.lookupNamespaceURI(null);return Y===Z}},index:{get:function(){var $=this.parentNode;if(this===$.firstChild)return 0;var Z=$.childNodes;if(this._index===void 0||Z[this._index]!==this){for(var Y=0;Y<Z.length;Y++)Z[Y]._index=Y;r.assert(Z[this._index]===this)}return this._index}},isAncestor:{value:function($){if(this.doc!==$.doc)return!1;if(this.rooted!==$.rooted)return!1;for(var Z=$;Z;Z=Z.parentNode)if(Z===this)return!0;return!1}},ensureSameDoc:{value:function($){if($.ownerDocument===null)$.ownerDocument=this.doc;else if($.ownerDocument!==this.doc)r.WrongDocumentError()}},removeChildren:{value:r.shouldOverride},_insertOrReplace:{value:function $(Z,Y,G){var Q=this,z,J;if(Q.nodeType===M1&&Q.rooted)r.HierarchyRequestError();if(Z._childNodes){if(z=Y===null?Z._childNodes.length:Y.index,Q.parentNode===Z){var V=Q.index;if(V<z)z--}}if(G){if(Y.rooted)Y.doc.mutateRemove(Y);Y.parentNode=null}var _=Y;if(_===null)_=Z.firstChild;var q=Q.rooted&&Z.rooted;if(Q.nodeType===M1){var K=[0,G?1:0],O;for(var A=Q.firstChild;A!==null;A=O)O=A.nextSibling,K.push(A),A.parentNode=Z;var B=K.length;if(G)F8.replace(_,B>2?K[2]:null);else if(B>2&&_!==null)F8.insertBefore(K[2],_);if(Z._childNodes){K[0]=Y===null?Z._childNodes.length:Y._index,Z._childNodes.splice.apply(Z._childNodes,K);for(J=2;J<B;J++)K[J]._index=K[0]+(J-2)}else if(Z._firstChild===Y){if(B>2)Z._firstChild=K[2];else if(G)Z._firstChild=null}if(Q._childNodes)Q._childNodes.length=0;else Q._firstChild=null;if(Z.rooted){Z.modify();for(J=2;J<B;J++)Z.doc.mutateInsert(K[J])}}else{if(Y===Q)return;if(q)Q._remove();else if(Q.parentNode)Q.remove();if(Q.parentNode=Z,G){if(F8.replace(_,Q),Z._childNodes)Q._index=z,Z._childNodes[z]=Q;else if(Z._firstChild===Y)Z._firstChild=Q}else{if(_!==null)F8.insertBefore(Q,_);if(Z._childNodes)Q._index=z,Z._childNodes.splice(z,0,Q);else if(Z._firstChild===Y)Z._firstChild=Q}if(q)Z.modify(),Z.doc.mutateMove(Q);else if(Z.rooted)Z.modify(),Z.doc.mutateInsert(Q)}}},lastModTime:{get:function(){if(!this._lastModTime)this._lastModTime=this.doc.modclock;return this._lastModTime}},modify:{value:function(){if(this.doc.modclock){var $=++this.doc.modclock;for(var Z=this;Z;Z=Z.parentElement)if(Z._lastModTime)Z._lastModTime=$}}},doc:{get:function(){return this.ownerDocument||this}},rooted:{get:function(){return!!this._nid}},normalize:{value:function(){var $;for(var Z=this.firstChild;Z!==null;Z=$){if($=Z.nextSibling,Z.normalize)Z.normalize();if(Z.nodeType!==Y0.TEXT_NODE)continue;if(Z.nodeValue===""){this.removeChild(Z);continue}var Y=Z.previousSibling;if(Y===null)continue;else if(Y.nodeType===Y0.TEXT_NODE)Y.appendData(Z.nodeValue),this.removeChild(Z)}}},serialize:{value:function(){if(this._innerHTML)return this._innerHTML;var $="";for(var Z=this.firstChild;Z!==null;Z=Z.nextSibling)$+=z7.serializeOne(Z,this);return $}},outerHTML:{get:function(){return z7.serializeOne(this,{nodeType:0})},set:r.nyi},ELEMENT_NODE:{value:N0},ATTRIBUTE_NODE:{value:N9},TEXT_NODE:{value:I8},CDATA_SECTION_NODE:{value:pX},ENTITY_REFERENCE_NODE:{value:uX},ENTITY_NODE:{value:y9},PROCESSING_INSTRUCTION_NODE:{value:X7},COMMENT_NODE:{value:W7},DOCUMENT_NODE:{value:A6},DOCUMENT_TYPE_NODE:{value:m0},DOCUMENT_FRAGMENT_NODE:{value:M1},NOTATION_NODE:{value:x9},DOCUMENT_POSITION_DISCONNECTED:{value:k9},DOCUMENT_POSITION_PRECEDING:{value:f9},DOCUMENT_POSITION_FOLLOWING:{value:h9},DOCUMENT_POSITION_CONTAINS:{value:J7},DOCUMENT_POSITION_CONTAINED_BY:{value:g9},DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:{value:v9}})});var _7=C((RV,H7)=>{H7.exports=class $ extends Array{constructor(Z){super(Z&&Z.length||0);if(Z)for(var Y in Z)this[Y]=Z[Y]}item(Z){return this[Z]||null}}});var q7=C((TV,j7)=>{function cX($){return this[$]||null}function dX($){if(!$)$=[];return $.item=cX,$}j7.exports=dX});var v1=C((CV,K7)=>{var m9;try{m9=_7()}catch($){m9=q7()}K7.exports=m9});var S8=C((bV,I7)=>{I7.exports=F7;var U7=I0(),iX=v1();function F7(){U7.call(this),this._firstChild=this._childNodes=null}F7.prototype=Object.create(U7.prototype,{hasChildNodes:{value:function(){if(this._childNodes)return this._childNodes.length>0;return this._firstChild!==null}},childNodes:{get:function(){return this._ensureChildNodes(),this._childNodes}},firstChild:{get:function(){if(this._childNodes)return this._childNodes.length===0?null:this._childNodes[0];return this._firstChild}},lastChild:{get:function(){var $=this._childNodes,Z;if($)return $.length===0?null:$[$.length-1];if(Z=this._firstChild,Z===null)return null;return Z._previousSibling}},_ensureChildNodes:{value:function(){if(this._childNodes)return;var $=this._firstChild,Z=$,Y=this._childNodes=new iX;if($)do Y.push(Z),Z=Z._nextSibling;while(Z!==$);this._firstChild=null}},removeChildren:{value:function $(){var Z=this.rooted?this.ownerDocument:null,Y=this.firstChild,G;while(Y!==null){if(G=Y,Y=G.nextSibling,Z)Z.mutateRemove(G);G.parentNode=null}if(this._childNodes)this._childNodes.length=0;else this._firstChild=null;this.modify()}}})});var D8=C(($3)=>{$3.isValidName=tX;$3.isValidQName=eX;var lX=/^[_:A-Za-z][-.:\w]+$/,sX=/^([_A-Za-z][-.\w]+|[_A-Za-z][-.\w]+:[_A-Za-z][-.\w]+)$/,L6="_A-Za-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�",M6="-._A-Za-z0-9·À-ÖØ-öø-˿̀-ͽͿ-῿‌‍‿⁀⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�",m1="["+L6+"]["+M6+"]*",p9=L6+":",u9=M6+":",oX=new RegExp("^["+p9+"]["+u9+"]*$"),rX=new RegExp("^("+m1+"|"+m1+":"+m1+")$"),S7=/[\uD800-\uDB7F\uDC00-\uDFFF]/,D7=/[\uD800-\uDB7F\uDC00-\uDFFF]/g,O7=/[\uD800-\uDB7F][\uDC00-\uDFFF]/g;L6+="\uD800-\uDB7F\uDC00-\uDFFF";M6+="\uD800-\uDB7F\uDC00-\uDFFF";m1="["+L6+"]["+M6+"]*";p9=L6+":";u9=M6+":";var nX=new RegExp("^["+p9+"]["+u9+"]*$"),aX=new RegExp("^("+m1+"|"+m1+":"+m1+")$");function tX($){if(lX.test($))return!0;if(oX.test($))return!0;if(!S7.test($))return!1;if(!nX.test($))return!1;var Z=$.match(D7),Y=$.match(O7);return Y!==null&&2*Y.length===Z.length}function eX($){if(sX.test($))return!0;if(rX.test($))return!0;if(!S7.test($))return!1;if(!aX.test($))return!1;var Z=$.match(D7),Y=$.match(O7);return Y!==null&&2*Y.length===Z.length}});var c9=C((Q3)=>{var A7=V0();Q3.property=function($){if(Array.isArray($.type)){var Z=Object.create(null);$.type.forEach(function(Q){Z[Q.value||Q]=Q.alias||Q});var Y=$.missing;if(Y===void 0)Y=null;var G=$.invalid;if(G===void 0)G=Y;return{get:function(){var Q=this._getattr($.name);if(Q===null)return Y;if(Q=Z[Q.toLowerCase()],Q!==void 0)return Q;if(G!==null)return G;return Q},set:function(Q){this._setattr($.name,Q)}}}else if($.type===Boolean)return{get:function(){return this.hasAttribute($.name)},set:function(Q){if(Q)this._setattr($.name,"");else this.removeAttribute($.name)}};else if($.type===Number||$.type==="long"||$.type==="unsigned long"||$.type==="limited unsigned long with fallback")return G3($);else if(!$.type||$.type===String)return{get:function(){return this._getattr($.name)||""},set:function(Q){if($.treatNullAsEmptyString&&Q===null)Q="";this._setattr($.name,Q)}};else if(typeof $.type==="function")return $.type($.name,$);throw new Error("Invalid attribute definition")};function G3($){var Z;if(typeof $.default==="function")Z=$.default;else if(typeof $.default==="number")Z=function(){return $.default};else Z=function(){A7.assert(!1,typeof $.default)};var Y=$.type==="unsigned long",G=$.type==="long",Q=$.type==="limited unsigned long with fallback",z=$.min,J=$.max,V=$.setmin;if(z===void 0){if(Y)z=0;if(G)z=-2147483648;if(Q)z=1}if(J===void 0){if(Y||G||Q)J=2147483647}return{get:function(){var _=this._getattr($.name),q=$.float?parseFloat(_):parseInt(_,10);if(_===null||!isFinite(q)||z!==void 0&&q<z||J!==void 0&&q>J)return Z.call(this);if(Y||G||Q){if(!/^[ \t\n\f\r]*[-+]?[0-9]/.test(_))return Z.call(this);q=q|0}return q},set:function(_){if(!$.float)_=Math.floor(_);if(V!==void 0&&_<V)A7.IndexSizeError($.name+" set to "+_);if(Y)_=_<0||_>2147483647?Z.call(this):_|0;else if(Q)_=_<1||_>2147483647?Z.call(this):_|0;else if(G)_=_<-2147483648||_>2147483647?Z.call(this):_|0;this._setattr($.name,String(_))}}}Q3.registerChangeHandler=function($,Z,Y){var G=$.prototype;if(!Object.prototype.hasOwnProperty.call(G,"_attributeChangeHandlers"))G._attributeChangeHandlers=Object.create(G._attributeChangeHandlers||null);G._attributeChangeHandlers[Z]=Y}});var P7=C((yV,M7)=>{M7.exports=L7;var W3=I0();function L7($,Z){this.root=$,this.filter=Z,this.lastModTime=$.lastModTime,this.done=!1,this.cache=[],this.traverse()}L7.prototype=Object.create(Object.prototype,{length:{get:function(){if(this.checkcache(),!this.done)this.traverse();return this.cache.length}},item:{value:function($){if(this.checkcache(),!this.done&&$>=this.cache.length)this.traverse();return this.cache[$]}},checkcache:{value:function(){if(this.lastModTime!==this.root.lastModTime){for(var $=this.cache.length-1;$>=0;$--)this[$]=void 0;this.cache.length=0,this.done=!1,this.lastModTime=this.root.lastModTime}}},traverse:{value:function($){if($!==void 0)$++;var Z;while((Z=this.next())!==null)if(this[this.cache.length]=Z,this.cache.push(Z),$&&this.cache.length===$)return;this.done=!0}},next:{value:function(){var $=this.cache.length===0?this.root:this.cache[this.cache.length-1],Z;if($.nodeType===W3.DOCUMENT_NODE)Z=$.documentElement;else Z=$.nextElement(this.root);while(Z){if(this.filter(Z))return Z;Z=Z.nextElement(this.root)}return null}}})});var i9=C((xV,T7)=>{var d9=V0();T7.exports=R7;function R7($,Z){this._getString=$,this._setString=Z,this._length=0,this._lastStringValue="",this._update()}Object.defineProperties(R7.prototype,{length:{get:function(){return this._length}},item:{value:function($){var Z=o1(this);if($<0||$>=Z.length)return null;return Z[$]}},contains:{value:function($){$=String($);var Z=o1(this);return Z.indexOf($)>-1}},add:{value:function(){var $=o1(this);for(var Z=0,Y=arguments.length;Z<Y;Z++){var G=P6(arguments[Z]);if($.indexOf(G)<0)$.push(G)}this._update($)}},remove:{value:function(){var $=o1(this);for(var Z=0,Y=arguments.length;Z<Y;Z++){var G=P6(arguments[Z]),Q=$.indexOf(G);if(Q>-1)$.splice(Q,1)}this._update($)}},toggle:{value:function $(Z,Y){if(Z=P6(Z),this.contains(Z)){if(Y===void 0||Y===!1)return this.remove(Z),!1;return!0}else{if(Y===void 0||Y===!0)return this.add(Z),!0;return!1}}},replace:{value:function $(Z,Y){if(String(Y)==="")d9.SyntaxError();Z=P6(Z),Y=P6(Y);var G=o1(this),Q=G.indexOf(Z);if(Q<0)return!1;var z=G.indexOf(Y);if(z<0)G[Q]=Y;else if(Q<z)G[Q]=Y,G.splice(z,1);else G.splice(Q,1);return this._update(G),!0}},toString:{value:function(){return this._getString()}},value:{get:function(){return this._getString()},set:function($){this._setString($),this._update()}},_update:{value:function($){if($)w7(this,$),this._setString($.join(" ").trim());else w7(this,o1(this));this._lastStringValue=this._getString()}}});function w7($,Z){var Y=$._length,G;$._length=Z.length;for(G=0;G<Z.length;G++)$[G]=Z[G];for(;G<Y;G++)$[G]=void 0}function P6($){if($=String($),$==="")d9.SyntaxError();if(/[ \t\r\n\f]/.test($))d9.InvalidCharacterError();return $}function J3($){var Z=$._length,Y=Array(Z);for(var G=0;G<Z;G++)Y[G]=$[G];return Y}function o1($){var Z=$._getString();if(Z===$._lastStringValue)return J3($);var Y=Z.replace(/(^[ \t\r\n\f]+)|([ \t\r\n\f]+$)/g,"");if(Y==="")return[];else{var G=Object.create(null);return Y.split(/[ \t\r\n\f]+/g).filter(function(Q){var z="$"+Q;if(G[z])return!1;return G[z]=!0,!0})}}});var M8=C((a1,x7)=>{var O8=Object.create(null,{location:{get:function(){throw new Error("window.location is not supported.")}}}),V3=function($,Z){return $.compareDocumentPosition(Z)},B3=function($,Z){return V3($,Z)&2?1:-1},L8=function($){while(($=$.nextSibling)&&$.nodeType!==1);return $},n1=function($){while(($=$.previousSibling)&&$.nodeType!==1);return $},H3=function($){if($=$.firstChild)while($.nodeType!==1&&($=$.nextSibling));return $},_3=function($){if($=$.lastChild)while($.nodeType!==1&&($=$.previousSibling));return $},r1=function($){if(!$.parentNode)return!1;var Z=$.parentNode.nodeType;return Z===1||Z===9},C7=function($){if(!$)return $;var Z=$[0];if(Z==='"'||Z==="'"){if($[$.length-1]===Z)$=$.slice(1,-1);else $=$.slice(1);return $.replace(k.str_escape,function(Y){var G=/^\\(?:([0-9A-Fa-f]+)|([\r\n\f]+))/.exec(Y);if(!G)return Y.slice(1);if(G[2])return"";var Q=parseInt(G[1],16);return String.fromCodePoint?String.fromCodePoint(Q):String.fromCharCode(Q)})}else if(k.ident.test($))return P1($);else return $},P1=function($){return $.replace(k.escape,function(Z){var Y=/^\\([0-9A-Fa-f]+)/.exec(Z);if(!Y)return Z[1];var G=parseInt(Y[1],16);return String.fromCodePoint?String.fromCodePoint(G):String.fromCharCode(G)})},j3=function(){if(Array.prototype.indexOf)return Array.prototype.indexOf;return function($,Z){var Y=this.length;while(Y--)if(this[Y]===Z)return Y;return-1}}(),E7=function($,Z){var Y=k.inside.source.replace(/</g,$).replace(/>/g,Z);return new RegExp(Y)},y0=function($,Z,Y){return $=$.source,$=$.replace(Z,Y.source||Y),new RegExp($)},b7=function($,Z){return $.replace(/^(?:\w+:\/\/|\/+)/,"").replace(/(?:\/+|\/*#.*?)$/,"").split("/",Z).join("/")},q3=function($,Z){var Y=$.replace(/\s+/g,""),G;if(Y==="even")Y="2n+0";else if(Y==="odd")Y="2n+1";else if(Y.indexOf("n")===-1)Y="0n"+Y;return G=/^([+-])?(\d+)?n([+-])?(\d+)?$/.exec(Y),{group:G[1]==="-"?-(G[2]||1):+(G[2]||1),offset:G[4]?G[3]==="-"?-G[4]:+G[4]:0}},l9=function($,Z,Y){var G=q3($),Q=G.group,z=G.offset,J=!Y?H3:_3,V=!Y?L8:n1;return function(_){if(!r1(_))return;var q=J(_.parentNode),K=0;while(q){if(Z(q,_))K++;if(q===_)return K-=z,Q&&K?K%Q===0&&K<0===Q<0:!K;q=V(q)}}},q0={"*":function(){return function(){return!0}}(),type:function($){return $=$.toLowerCase(),function(Z){return Z.nodeName.toLowerCase()===$}},attr:function($,Z,Y,G){return Z=N7[Z],function(Q){var z;switch($){case"for":z=Q.htmlFor;break;case"class":if(z=Q.className,z===""&&Q.getAttribute("class")==null)z=null;break;case"href":case"src":z=Q.getAttribute($,2);break;case"title":z=Q.getAttribute("title")||null;break;case"id":case"lang":case"dir":case"accessKey":case"hidden":case"tabIndex":case"style":if(Q.getAttribute){z=Q.getAttribute($);break}default:if(Q.hasAttribute&&!Q.hasAttribute($))break;z=Q[$]!=null?Q[$]:Q.getAttribute&&Q.getAttribute($);break}if(z==null)return;if(z=z+"",G)z=z.toLowerCase(),Y=Y.toLowerCase();return Z(z,Y)}},":first-child":function($){return!n1($)&&r1($)},":last-child":function($){return!L8($)&&r1($)},":only-child":function($){return!n1($)&&!L8($)&&r1($)},":nth-child":function($,Z){return l9($,function(){return!0},Z)},":nth-last-child":function($){return q0[":nth-child"]($,!0)},":root":function($){return $.ownerDocument.documentElement===$},":empty":function($){return!$.firstChild},":not":function($){var Z=o9($);return function(Y){return!Z(Y)}},":first-of-type":function($){if(!r1($))return;var Z=$.nodeName;while($=n1($))if($.nodeName===Z)return;return!0},":last-of-type":function($){if(!r1($))return;var Z=$.nodeName;while($=L8($))if($.nodeName===Z)return;return!0},":only-of-type":function($){return q0[":first-of-type"]($)&&q0[":last-of-type"]($)},":nth-of-type":function($,Z){return l9($,function(Y,G){return Y.nodeName===G.nodeName},Z)},":nth-last-of-type":function($){return q0[":nth-of-type"]($,!0)},":checked":function($){return!!($.checked||$.selected)},":indeterminate":function($){return!q0[":checked"]($)},":enabled":function($){return!$.disabled&&$.type!=="hidden"},":disabled":function($){return!!$.disabled},":target":function($){return $.id===O8.location.hash.substring(1)},":focus":function($){return $===$.ownerDocument.activeElement},":is":function($){return o9($)},":matches":function($){return q0[":is"]($)},":nth-match":function($,Z){var Y=$.split(/\s*,\s*/),G=Y.shift(),Q=o9(Y.join(","));return l9(G,Q,Z)},":nth-last-match":function($){return q0[":nth-match"]($,!0)},":links-here":function($){return $+""===O8.location+""},":lang":function($){return function(Z){while(Z){if(Z.lang)return Z.lang.indexOf($)===0;Z=Z.parentNode}}},":dir":function($){return function(Z){while(Z){if(Z.dir)return Z.dir===$;Z=Z.parentNode}}},":scope":function($,Z){var Y=Z||$.ownerDocument;if(Y.nodeType===9)return $===Y.documentElement;return $===Y},":any-link":function($){return typeof $.href==="string"},":local-link":function($){if($.nodeName)return $.href&&$.host===O8.location.host;var Z=+$+1;return function(Y){if(!Y.href)return;var G=O8.location+"",Q=Y+"";return b7(G,Z)===b7(Q,Z)}},":default":function($){return!!$.defaultSelected},":valid":function($){return $.willValidate||$.validity&&$.validity.valid},":invalid":function($){return!q0[":valid"]($)},":in-range":function($){return $.value>$.min&&$.value<=$.max},":out-of-range":function($){return!q0[":in-range"]($)},":required":function($){return!!$.required},":optional":function($){return!$.required},":read-only":function($){if($.readOnly)return!0;var Z=$.getAttribute("contenteditable"),Y=$.contentEditable,G=$.nodeName.toLowerCase();return G=G!=="input"&&G!=="textarea",(G||$.disabled)&&Z==null&&Y!=="true"},":read-write":function($){return!q0[":read-only"]($)},":hover":function(){throw new Error(":hover is not supported.")},":active":function(){throw new Error(":active is not supported.")},":link":function(){throw new Error(":link is not supported.")},":visited":function(){throw new Error(":visited is not supported.")},":column":function(){throw new Error(":column is not supported.")},":nth-column":function(){throw new Error(":nth-column is not supported.")},":nth-last-column":function(){throw new Error(":nth-last-column is not supported.")},":current":function(){throw new Error(":current is not supported.")},":past":function(){throw new Error(":past is not supported.")},":future":function(){throw new Error(":future is not supported.")},":contains":function($){return function(Z){var Y=Z.innerText||Z.textContent||Z.value||"";return Y.indexOf($)!==-1}},":has":function($){return function(Z){return y7($,Z).length>0}}},N7={"-":function(){return!0},"=":function($,Z){return $===Z},"*=":function($,Z){return $.indexOf(Z)!==-1},"~=":function($,Z){var Y,G,Q,z;for(G=0;;G=Y+1){if(Y=$.indexOf(Z,G),Y===-1)return!1;if(Q=$[Y-1],z=$[Y+Z.length],(!Q||Q===" ")&&(!z||z===" "))return!0}},"|=":function($,Z){var Y=$.indexOf(Z),G;if(Y!==0)return;return G=$[Y+Z.length],G==="-"||!G},"^=":function($,Z){return $.indexOf(Z)===0},"$=":function($,Z){var Y=$.lastIndexOf(Z);return Y!==-1&&Y+Z.length===$.length},"!=":function($,Z){return $!==Z}},w6={" ":function($){return function(Z){while(Z=Z.parentNode)if($(Z))return Z}},">":function($){return function(Z){if(Z=Z.parentNode)return $(Z)&&Z}},"+":function($){return function(Z){if(Z=n1(Z))return $(Z)&&Z}},"~":function($){return function(Z){while(Z=n1(Z))if($(Z))return Z}},noop:function($){return function(Z){return $(Z)&&Z}},ref:function($,Z){var Y;function G(Q){var z=Q.ownerDocument,J=z.getElementsByTagName("*"),V=J.length;while(V--)if(Y=J[V],G.test(Q))return Y=null,!0;Y=null}return G.combinator=function(Q){if(!Y||!Y.getAttribute)return;var z=Y.getAttribute(Z)||"";if(z[0]==="#")z=z.substring(1);if(z===Q.id&&$(Y))return Y},G}},k={escape:/\\(?:[^0-9A-Fa-f\r\n]|[0-9A-Fa-f]{1,6}[\r\n\t ]?)/g,str_escape:/(escape)|\\(\n|\r\n?|\f)/g,nonascii:/[\u00A0-\uFFFF]/,cssid:/(?:(?!-?[0-9])(?:escape|nonascii|[-_a-zA-Z0-9])+)/,qname:/^ *(cssid|\*)/,simple:/^(?:([.#]cssid)|pseudo|attr)/,ref:/^ *\/(cssid)\/ */,combinator:/^(?: +([^ \w*.#\\]) +|( )+|([^ \w*.#\\]))(?! *$)/,attr:/^\[(cssid)(?:([^\w]?=)(inside))?\]/,pseudo:/^(:cssid)(?:\((inside)\))?/,inside:/(?:"(?:\\"|[^"])*"|'(?:\\'|[^'])*'|<[^"'>]*>|\\["'>]|[^"'>])*/,ident:/^(cssid)$/};k.cssid=y0(k.cssid,"nonascii",k.nonascii);k.cssid=y0(k.cssid,"escape",k.escape);k.qname=y0(k.qname,"cssid",k.cssid);k.simple=y0(k.simple,"cssid",k.cssid);k.ref=y0(k.ref,"cssid",k.cssid);k.attr=y0(k.attr,"cssid",k.cssid);k.pseudo=y0(k.pseudo,"cssid",k.cssid);k.inside=y0(k.inside,`[^"'>]*`,k.inside);k.attr=y0(k.attr,"inside",E7("\\[","\\]"));k.pseudo=y0(k.pseudo,"inside",E7("\\(","\\)"));k.simple=y0(k.simple,"pseudo",k.pseudo);k.simple=y0(k.simple,"attr",k.attr);k.ident=y0(k.ident,"cssid",k.cssid);k.str_escape=y0(k.str_escape,"escape",k.escape);var R6=function($){var Z=$.replace(/^\s+|\s+$/g,""),Y,G=[],Q=[],z,J,V,_,q;while(Z){if(V=k.qname.exec(Z))Z=Z.substring(V[0].length),J=P1(V[1]),Q.push(A8(J,!0));else if(V=k.simple.exec(Z))Z=Z.substring(V[0].length),J="*",Q.push(A8(J,!0)),Q.push(A8(V));else throw new SyntaxError("Invalid selector.");while(V=k.simple.exec(Z))Z=Z.substring(V[0].length),Q.push(A8(V));if(Z[0]==="!")Z=Z.substring(1),z=U3(),z.qname=J,Q.push(z.simple);if(V=k.ref.exec(Z)){Z=Z.substring(V[0].length),q=w6.ref(s9(Q),P1(V[1])),G.push(q.combinator),Q=[];continue}if(V=k.combinator.exec(Z)){if(Z=Z.substring(V[0].length),_=V[1]||V[2]||V[3],_===","){G.push(w6.noop(s9(Q)));break}}else _="noop";if(!w6[_])throw new SyntaxError("Bad combinator.");G.push(w6[_](s9(Q))),Q=[]}if(Y=K3(G),Y.qname=J,Y.sel=Z,z)z.lname=Y.qname,z.test=Y,z.qname=z.qname,z.sel=Y.sel,Y=z;if(q)q.test=Y,q.qname=Y.qname,q.sel=Y.sel,Y=q;return Y},A8=function($,Z){if(Z)return $==="*"?q0["*"]:q0.type($);if($[1])return $[1][0]==="."?q0.attr("class","~=",P1($[1].substring(1)),!1):q0.attr("id","=",P1($[1].substring(1)),!1);if($[2])return $[3]?q0[P1($[2])](C7($[3])):q0[P1($[2])];if($[4]){var Y=$[6],G=/["'\s]\s*I$/i.test(Y);if(G)Y=Y.replace(/\s*I$/i,"");return q0.attr(P1($[4]),$[5]||"-",C7(Y),G)}throw new SyntaxError("Unknown Selector.")},s9=function($){var Z=$.length,Y;if(Z<2)return $[0];return function(G){if(!G)return;for(Y=0;Y<Z;Y++)if(!$[Y](G))return;return!0}},K3=function($){if($.length<2)return function(Z){return!!$[0](Z)};return function(Z){var Y=$.length;while(Y--)if(!(Z=$[Y](Z)))return;return!0}},U3=function(){var $;function Z(Y){var G=Y.ownerDocument,Q=G.getElementsByTagName(Z.lname),z=Q.length;while(z--)if(Z.test(Q[z])&&$===Y)return $=null,!0;$=null}return Z.simple=function(Y){return $=Y,!0},Z},o9=function($){var Z=R6($),Y=[Z];while(Z.sel)Z=R6(Z.sel),Y.push(Z);if(Y.length<2)return Z;return function(G){var Q=Y.length,z=0;for(;z<Q;z++)if(Y[z](G))return!0}},y7=function($,Z){var Y=[],G=R6($),Q=Z.getElementsByTagName(G.qname),z=0,J;while(J=Q[z++])if(G(J))Y.push(J);if(G.sel){while(G.sel){G=R6(G.sel),Q=Z.getElementsByTagName(G.qname),z=0;while(J=Q[z++])if(G(J)&&j3.call(Y,J)===-1)Y.push(J)}Y.sort(B3)}return Y};x7.exports=a1=function($,Z){var Y,G;if(Z.nodeType!==11&&$.indexOf(" ")===-1){if($[0]==="#"&&Z.rooted&&/^#[A-Z_][-A-Z0-9_]*$/i.test($)){if(Z.doc._hasMultipleElementsWithId){if(Y=$.substring(1),!Z.doc._hasMultipleElementsWithId(Y))return G=Z.doc.getElementById(Y),G?[G]:[]}}if($[0]==="."&&/^\.\w+$/.test($))return Z.getElementsByClassName($.substring(1));if(/^\w+$/.test($))return Z.getElementsByTagName($)}return y7($,Z)};a1.selectors=q0;a1.operators=N7;a1.combinators=w6;a1.matches=function($,Z){var Y={sel:Z};do if(Y=R6(Y.sel),Y($))return!0;while(Y.sel);return!1}});var P8=C((kV,k7)=>{var F3=I0(),I3=b9(),r9=function($,Z){var Y=$.createDocumentFragment();for(var G=0;G<Z.length;G++){var Q=Z[G],z=Q instanceof F3;Y.appendChild(z?Q:$.createTextNode(String(Q)))}return Y},S3={after:{value:function $(){var Z=Array.prototype.slice.call(arguments),Y=this.parentNode,G=this.nextSibling;if(Y===null)return;while(G&&Z.some(function(z){return z===G}))G=G.nextSibling;var Q=r9(this.doc,Z);Y.insertBefore(Q,G)}},before:{value:function $(){var Z=Array.prototype.slice.call(arguments),Y=this.parentNode,G=this.previousSibling;if(Y===null)return;while(G&&Z.some(function(J){return J===G}))G=G.previousSibling;var Q=r9(this.doc,Z),z=G?G.nextSibling:Y.firstChild;Y.insertBefore(Q,z)}},remove:{value:function $(){if(this.parentNode===null)return;if(this.doc){if(this.doc._preremoveNodeIterators(this),this.rooted)this.doc.mutateRemove(this)}this._remove(),this.parentNode=null}},_remove:{value:function $(){var Z=this.parentNode;if(Z===null)return;if(Z._childNodes)Z._childNodes.splice(this.index,1);else if(Z._firstChild===this)if(this._nextSibling===this)Z._firstChild=null;else Z._firstChild=this._nextSibling;I3.remove(this),Z.modify()}},replaceWith:{value:function $(){var Z=Array.prototype.slice.call(arguments),Y=this.parentNode,G=this.nextSibling;if(Y===null)return;while(G&&Z.some(function(z){return z===G}))G=G.nextSibling;var Q=r9(this.doc,Z);if(this.parentNode===Y)Y.replaceChild(Q,this);else Y.insertBefore(Q,G)}}};k7.exports=S3});var n9=C((fV,h7)=>{var f7=I0(),D3={nextElementSibling:{get:function(){if(this.parentNode){for(var $=this.nextSibling;$!==null;$=$.nextSibling)if($.nodeType===f7.ELEMENT_NODE)return $}return null}},previousElementSibling:{get:function(){if(this.parentNode){for(var $=this.previousSibling;$!==null;$=$.previousSibling)if($.nodeType===f7.ELEMENT_NODE)return $}return null}}};h7.exports=D3});var a9=C((hV,v7)=>{v7.exports=g7;var t1=V0();function g7($){this.element=$}Object.defineProperties(g7.prototype,{length:{get:t1.shouldOverride},item:{value:t1.shouldOverride},getNamedItem:{value:function $(Z){return this.element.getAttributeNode(Z)}},getNamedItemNS:{value:function $(Z,Y){return this.element.getAttributeNodeNS(Z,Y)}},setNamedItem:{value:t1.nyi},setNamedItemNS:{value:t1.nyi},removeNamedItem:{value:function $(Z){var Y=this.element.getAttributeNode(Z);if(Y)return this.element.removeAttribute(Z),Y;t1.NotFoundError()}},removeNamedItemNS:{value:function $(Z,Y){var G=this.element.getAttributeNodeNS(Z,Y);if(G)return this.element.removeAttributeNS(Z,Y),G;t1.NotFoundError()}}})});var $6=C((gV,d7)=>{d7.exports=w1;var t9=D8(),Q0=V0(),Z1=Q0.NAMESPACE,R8=c9(),i0=I0(),e9=v1(),O3=E9(),w8=P7(),e1=K8(),A3=i9(),$$=M8(),p7=S8(),L3=P8(),M3=n9(),u7=a9(),m7=Object.create(null);function w1($,Z,Y,G){p7.call(this),this.nodeType=i0.ELEMENT_NODE,this.ownerDocument=$,this.localName=Z,this.namespaceURI=Y,this.prefix=G,this._tagName=void 0,this._attrsByQName=Object.create(null),this._attrsByLName=Object.create(null),this._attrKeys=[]}function Z$($,Z){if($.nodeType===i0.TEXT_NODE)Z.push($._data);else for(var Y=0,G=$.childNodes.length;Y<G;Y++)Z$($.childNodes[Y],Z)}w1.prototype=Object.create(p7.prototype,{isHTML:{get:function $(){return this.namespaceURI===Z1.HTML&&this.ownerDocument.isHTML}},tagName:{get:function $(){if(this._tagName===void 0){var Z;if(this.prefix===null)Z=this.localName;else Z=this.prefix+":"+this.localName;if(this.isHTML){var Y=m7[Z];if(!Y)m7[Z]=Y=Q0.toASCIIUpperCase(Z);Z=Y}this._tagName=Z}return this._tagName}},nodeName:{get:function(){return this.tagName}},nodeValue:{get:function(){return null},set:function(){}},textContent:{get:function(){var $=[];return Z$(this,$),$.join("")},set:function($){if(this.removeChildren(),$!==null&&$!==void 0&&$!=="")this._appendChild(this.ownerDocument.createTextNode($))}},innerText:{get:function(){var $=[];return Z$(this,$),$.join("").replace(/[ \t\n\f\r]+/g," ").trim()},set:function($){if(this.removeChildren(),$!==null&&$!==void 0&&$!=="")this._appendChild(this.ownerDocument.createTextNode($))}},innerHTML:{get:function(){return this.serialize()},set:Q0.nyi},outerHTML:{get:function(){return O3.serializeOne(this,{nodeType:0})},set:function($){var Z=this.ownerDocument,Y=this.parentNode;if(Y===null)return;if(Y.nodeType===i0.DOCUMENT_NODE)Q0.NoModificationAllowedError();if(Y.nodeType===i0.DOCUMENT_FRAGMENT_NODE)Y=Y.ownerDocument.createElement("body");var G=Z.implementation.mozHTMLParser(Z._address,Y);G.parse($===null?"":String($),!0),this.replaceWith(G._asDocumentFragment())}},_insertAdjacent:{value:function $(Z,Y){var G=!1;switch(Z){case"beforebegin":G=!0;case"afterend":var Q=this.parentNode;if(Q===null)return null;return Q.insertBefore(Y,G?this:this.nextSibling);case"afterbegin":G=!0;case"beforeend":return this.insertBefore(Y,G?this.firstChild:null);default:return Q0.SyntaxError()}}},insertAdjacentElement:{value:function $(Z,Y){if(Y.nodeType!==i0.ELEMENT_NODE)throw new TypeError("not an element");return Z=Q0.toASCIILowerCase(String(Z)),this._insertAdjacent(Z,Y)}},insertAdjacentText:{value:function $(Z,Y){var G=this.ownerDocument.createTextNode(Y);Z=Q0.toASCIILowerCase(String(Z)),this._insertAdjacent(Z,G)}},insertAdjacentHTML:{value:function $(Z,Y){Z=Q0.toASCIILowerCase(String(Z)),Y=String(Y);var G;switch(Z){case"beforebegin":case"afterend":if(G=this.parentNode,G===null||G.nodeType===i0.DOCUMENT_NODE)Q0.NoModificationAllowedError();break;case"afterbegin":case"beforeend":G=this;break;default:Q0.SyntaxError()}if(!(G instanceof w1)||G.ownerDocument.isHTML&&G.localName==="html"&&G.namespaceURI===Z1.HTML)G=G.ownerDocument.createElementNS(Z1.HTML,"body");var Q=this.ownerDocument.implementation.mozHTMLParser(this.ownerDocument._address,G);Q.parse(Y,!0),this._insertAdjacent(Z,Q._asDocumentFragment())}},children:{get:function(){if(!this._children)this._children=new c7(this);return this._children}},attributes:{get:function(){if(!this._attributes)this._attributes=new G$(this);return this._attributes}},firstElementChild:{get:function(){for(var $=this.firstChild;$!==null;$=$.nextSibling)if($.nodeType===i0.ELEMENT_NODE)return $;return null}},lastElementChild:{get:function(){for(var $=this.lastChild;$!==null;$=$.previousSibling)if($.nodeType===i0.ELEMENT_NODE)return $;return null}},childElementCount:{get:function(){return this.children.length}},nextElement:{value:function($){if(!$)$=this.ownerDocument.documentElement;var Z=this.firstElementChild;if(!Z){if(this===$)return null;Z=this.nextElementSibling}if(Z)return Z;for(var Y=this.parentElement;Y&&Y!==$;Y=Y.parentElement)if(Z=Y.nextElementSibling,Z)return Z;return null}},getElementsByTagName:{value:function $(Z){var Y;if(!Z)return new e9;if(Z==="*")Y=function(){return!0};else if(this.isHTML)Y=P3(Z);else Y=Y$(Z);return new w8(this,Y)}},getElementsByTagNameNS:{value:function $(Z,Y){var G;if(Z==="*"&&Y==="*")G=function(){return!0};else if(Z==="*")G=Y$(Y);else if(Y==="*")G=w3(Z);else G=R3(Z,Y);return new w8(this,G)}},getElementsByClassName:{value:function $(Z){if(Z=String(Z).trim(),Z===""){var Y=new e9;return Y}return Z=Z.split(/[ \t\r\n\f]+/),new w8(this,T3(Z))}},getElementsByName:{value:function $(Z){return new w8(this,C3(String(Z)))}},clone:{value:function $(){var Z;if(this.namespaceURI!==Z1.HTML||this.prefix||!this.ownerDocument.isHTML)Z=this.ownerDocument.createElementNS(this.namespaceURI,this.prefix!==null?this.prefix+":"+this.localName:this.localName);else Z=this.ownerDocument.createElement(this.localName);for(var Y=0,G=this._attrKeys.length;Y<G;Y++){var Q=this._attrKeys[Y],z=this._attrsByLName[Q],J=z.cloneNode();J._setOwnerElement(Z),Z._attrsByLName[Q]=J,Z._addQName(J)}return Z._attrKeys=this._attrKeys.concat(),Z}},isEqual:{value:function $(Z){if(this.localName!==Z.localName||this.namespaceURI!==Z.namespaceURI||this.prefix!==Z.prefix||this._numattrs!==Z._numattrs)return!1;for(var Y=0,G=this._numattrs;Y<G;Y++){var Q=this._attr(Y);if(!Z.hasAttributeNS(Q.namespaceURI,Q.localName))return!1;if(Z.getAttributeNS(Q.namespaceURI,Q.localName)!==Q.value)return!1}return!0}},_lookupNamespacePrefix:{value:function $(Z,Y){if(this.namespaceURI&&this.namespaceURI===Z&&this.prefix!==null&&Y.lookupNamespaceURI(this.prefix)===Z)return this.prefix;for(var G=0,Q=this._numattrs;G<Q;G++){var z=this._attr(G);if(z.prefix==="xmlns"&&z.value===Z&&Y.lookupNamespaceURI(z.localName)===Z)return z.localName}var J=this.parentElement;return J?J._lookupNamespacePrefix(Z,Y):null}},lookupNamespaceURI:{value:function $(Z){if(Z===""||Z===void 0)Z=null;if(this.namespaceURI!==null&&this.prefix===Z)return this.namespaceURI;for(var Y=0,G=this._numattrs;Y<G;Y++){var Q=this._attr(Y);if(Q.namespaceURI===Z1.XMLNS){if(Q.prefix==="xmlns"&&Q.localName===Z||Z===null&&Q.prefix===null&&Q.localName==="xmlns")return Q.value||null}}var z=this.parentElement;return z?z.lookupNamespaceURI(Z):null}},getAttribute:{value:function $(Z){var Y=this.getAttributeNode(Z);return Y?Y.value:null}},getAttributeNS:{value:function $(Z,Y){var G=this.getAttributeNodeNS(Z,Y);return G?G.value:null}},getAttributeNode:{value:function $(Z){if(Z=String(Z),/[A-Z]/.test(Z)&&this.isHTML)Z=Q0.toASCIILowerCase(Z);var Y=this._attrsByQName[Z];if(!Y)return null;if(Array.isArray(Y))Y=Y[0];return Y}},getAttributeNodeNS:{value:function $(Z,Y){Z=Z===void 0||Z===null?"":String(Z),Y=String(Y);var G=this._attrsByLName[Z+"|"+Y];return G?G:null}},hasAttribute:{value:function $(Z){if(Z=String(Z),/[A-Z]/.test(Z)&&this.isHTML)Z=Q0.toASCIILowerCase(Z);return this._attrsByQName[Z]!==void 0}},hasAttributeNS:{value:function $(Z,Y){Z=Z===void 0||Z===null?"":String(Z),Y=String(Y);var G=Z+"|"+Y;return this._attrsByLName[G]!==void 0}},hasAttributes:{value:function $(){return this._numattrs>0}},toggleAttribute:{value:function $(Z,Y){if(Z=String(Z),!t9.isValidName(Z))Q0.InvalidCharacterError();if(/[A-Z]/.test(Z)&&this.isHTML)Z=Q0.toASCIILowerCase(Z);var G=this._attrsByQName[Z];if(G===void 0){if(Y===void 0||Y===!0)return this._setAttribute(Z,""),!0;return!1}else{if(Y===void 0||Y===!1)return this.removeAttribute(Z),!1;return!0}}},_setAttribute:{value:function $(Z,Y){var G=this._attrsByQName[Z],Q;if(!G)G=this._newattr(Z),Q=!0;else if(Array.isArray(G))G=G[0];if(G.value=Y,this._attributes)this._attributes[Z]=G;if(Q&&this._newattrhook)this._newattrhook(Z,Y)}},setAttribute:{value:function $(Z,Y){if(Z=String(Z),!t9.isValidName(Z))Q0.InvalidCharacterError();if(/[A-Z]/.test(Z)&&this.isHTML)Z=Q0.toASCIILowerCase(Z);this._setAttribute(Z,String(Y))}},_setAttributeNS:{value:function $(Z,Y,G){var Q=Y.indexOf(":"),z,J;if(Q<0)z=null,J=Y;else z=Y.substring(0,Q),J=Y.substring(Q+1);if(Z===""||Z===void 0)Z=null;var V=(Z===null?"":Z)+"|"+J,_=this._attrsByLName[V],q;if(!_){if(_=new T6(this,J,z,Z),q=!0,this._attrsByLName[V]=_,this._attributes)this._attributes[this._attrKeys.length]=_;this._attrKeys.push(V),this._addQName(_)}if(_.value=G,q&&this._newattrhook)this._newattrhook(Y,G)}},setAttributeNS:{value:function $(Z,Y,G){if(Z=Z===null||Z===void 0||Z===""?null:String(Z),Y=String(Y),!t9.isValidQName(Y))Q0.InvalidCharacterError();var Q=Y.indexOf(":"),z=Q<0?null:Y.substring(0,Q);if(z!==null&&Z===null||z==="xml"&&Z!==Z1.XML||(Y==="xmlns"||z==="xmlns")&&Z!==Z1.XMLNS||Z===Z1.XMLNS&&!(Y==="xmlns"||z==="xmlns"))Q0.NamespaceError();this._setAttributeNS(Z,Y,String(G))}},setAttributeNode:{value:function $(Z){if(Z.ownerElement!==null&&Z.ownerElement!==this)throw new e1(e1.INUSE_ATTRIBUTE_ERR);var Y=null,G=this._attrsByQName[Z.name];if(G){if(!Array.isArray(G))G=[G];if(G.some(function(Q){return Q===Z}))return Z;else if(Z.ownerElement!==null)throw new e1(e1.INUSE_ATTRIBUTE_ERR);G.forEach(function(Q){this.removeAttributeNode(Q)},this),Y=G[0]}return this.setAttributeNodeNS(Z),Y}},setAttributeNodeNS:{value:function $(Z){if(Z.ownerElement!==null)throw new e1(e1.INUSE_ATTRIBUTE_ERR);var Y=Z.namespaceURI,G=(Y===null?"":Y)+"|"+Z.localName,Q=this._attrsByLName[G];if(Q)this.removeAttributeNode(Q);if(Z._setOwnerElement(this),this._attrsByLName[G]=Z,this._attributes)this._attributes[this._attrKeys.length]=Z;if(this._attrKeys.push(G),this._addQName(Z),this._newattrhook)this._newattrhook(Z.name,Z.value);return Q||null}},removeAttribute:{value:function $(Z){if(Z=String(Z),/[A-Z]/.test(Z)&&this.isHTML)Z=Q0.toASCIILowerCase(Z);var Y=this._attrsByQName[Z];if(!Y)return;if(Array.isArray(Y))if(Y.length>2)Y=Y.shift();else this._attrsByQName[Z]=Y[1],Y=Y[0];else this._attrsByQName[Z]=void 0;var G=Y.namespaceURI,Q=(G===null?"":G)+"|"+Y.localName;this._attrsByLName[Q]=void 0;var z=this._attrKeys.indexOf(Q);if(this._attributes)Array.prototype.splice.call(this._attributes,z,1),this._attributes[Z]=void 0;this._attrKeys.splice(z,1);var J=Y.onchange;if(Y._setOwnerElement(null),J)J.call(Y,this,Y.localName,Y.value,null);if(this.rooted)this.ownerDocument.mutateRemoveAttr(Y)}},removeAttributeNS:{value:function $(Z,Y){Z=Z===void 0||Z===null?"":String(Z),Y=String(Y);var G=Z+"|"+Y,Q=this._attrsByLName[G];if(!Q)return;this._attrsByLName[G]=void 0;var z=this._attrKeys.indexOf(G);if(this._attributes)Array.prototype.splice.call(this._attributes,z,1);this._attrKeys.splice(z,1),this._removeQName(Q);var J=Q.onchange;if(Q._setOwnerElement(null),J)J.call(Q,this,Q.localName,Q.value,null);if(this.rooted)this.ownerDocument.mutateRemoveAttr(Q)}},removeAttributeNode:{value:function $(Z){var Y=Z.namespaceURI,G=(Y===null?"":Y)+"|"+Z.localName;if(this._attrsByLName[G]!==Z)Q0.NotFoundError();return this.removeAttributeNS(Y,Z.localName),Z}},getAttributeNames:{value:function $(){var Z=this;return this._attrKeys.map(function(Y){return Z._attrsByLName[Y].name})}},_getattr:{value:function $(Z){var Y=this._attrsByQName[Z];return Y?Y.value:null}},_setattr:{value:function $(Z,Y){var G=this._attrsByQName[Z],Q;if(!G)G=this._newattr(Z),Q=!0;if(G.value=String(Y),this._attributes)this._attributes[Z]=G;if(Q&&this._newattrhook)this._newattrhook(Z,Y)}},_newattr:{value:function $(Z){var Y=new T6(this,Z,null,null),G="|"+Z;if(this._attrsByQName[Z]=Y,this._attrsByLName[G]=Y,this._attributes)this._attributes[this._attrKeys.length]=Y;return this._attrKeys.push(G),Y}},_addQName:{value:function($){var Z=$.name,Y=this._attrsByQName[Z];if(!Y)this._attrsByQName[Z]=$;else if(Array.isArray(Y))Y.push($);else this._attrsByQName[Z]=[Y,$];if(this._attributes)this._attributes[Z]=$}},_removeQName:{value:function($){var Z=$.name,Y=this._attrsByQName[Z];if(Array.isArray(Y)){var G=Y.indexOf($);if(Q0.assert(G!==-1),Y.length===2){if(this._attrsByQName[Z]=Y[1-G],this._attributes)this._attributes[Z]=this._attrsByQName[Z]}else if(Y.splice(G,1),this._attributes&&this._attributes[Z]===$)this._attributes[Z]=Y[0]}else if(Q0.assert(Y===$),this._attrsByQName[Z]=void 0,this._attributes)this._attributes[Z]=void 0}},_numattrs:{get:function(){return this._attrKeys.length}},_attr:{value:function($){return this._attrsByLName[this._attrKeys[$]]}},id:R8.property({name:"id"}),className:R8.property({name:"class"}),classList:{get:function(){var $=this;if(this._classList)return this._classList;var Z=new A3(function(){return $.className||""},function(Y){$.className=Y});return this._classList=Z,Z},set:function($){this.className=$}},matches:{value:function($){return $$.matches(this,$)}},closest:{value:function($){var Z=this;do{if(Z.matches&&Z.matches($))return Z;Z=Z.parentElement||Z.parentNode}while(Z!==null&&Z.nodeType===i0.ELEMENT_NODE);return null}},querySelector:{value:function($){return $$($,this)[0]}},querySelectorAll:{value:function($){var Z=$$($,this);return Z.item?Z:new e9(Z)}}});Object.defineProperties(w1.prototype,L3);Object.defineProperties(w1.prototype,M3);R8.registerChangeHandler(w1,"id",function($,Z,Y,G){if($.rooted){if(Y)$.ownerDocument.delId(Y,$);if(G)$.ownerDocument.addId(G,$)}});R8.registerChangeHandler(w1,"class",function($,Z,Y,G){if($._classList)$._classList._update()});function T6($,Z,Y,G,Q){this.localName=Z,this.prefix=Y===null||Y===""?null:""+Y,this.namespaceURI=G===null||G===""?null:""+G,this.data=Q,this._setOwnerElement($)}T6.prototype=Object.create(Object.prototype,{ownerElement:{get:function(){return this._ownerElement}},_setOwnerElement:{value:function $(Z){if(this._ownerElement=Z,this.prefix===null&&this.namespaceURI===null&&Z)this.onchange=Z._attributeChangeHandlers[this.localName];else this.onchange=null}},name:{get:function(){return this.prefix?this.prefix+":"+this.localName:this.localName}},specified:{get:function(){return!0}},value:{get:function(){return this.data},set:function($){var Z=this.data;if($=$===void 0?"":$+"",$===Z)return;if(this.data=$,this.ownerElement){if(this.onchange)this.onchange(this.ownerElement,this.localName,Z,$);if(this.ownerElement.rooted)this.ownerElement.ownerDocument.mutateAttr(this,Z)}}},cloneNode:{value:function $(Z){return new T6(null,this.localName,this.prefix,this.namespaceURI,this.data)}},nodeType:{get:function(){return i0.ATTRIBUTE_NODE}},nodeName:{get:function(){return this.name}},nodeValue:{get:function(){return this.value},set:function($){this.value=$}},textContent:{get:function(){return this.value},set:function($){if($===null||$===void 0)$="";this.value=$}},innerText:{get:function(){return this.value},set:function($){if($===null||$===void 0)$="";this.value=$}}});w1._Attr=T6;function G$($){u7.call(this,$);for(var Z in $._attrsByQName)this[Z]=$._attrsByQName[Z];for(var Y=0;Y<$._attrKeys.length;Y++)this[Y]=$._attrsByLName[$._attrKeys[Y]]}G$.prototype=Object.create(u7.prototype,{length:{get:function(){return this.element._attrKeys.length},set:function(){}},item:{value:function($){if($=$>>>0,$>=this.length)return null;return this.element._attrsByLName[this.element._attrKeys[$]]}}});if(globalThis.Symbol?.iterator)G$.prototype[globalThis.Symbol.iterator]=function(){var $=0,Z=this.length,Y=this;return{next:function(){if($<Z)return{value:Y.item($++)};return{done:!0}}}};function c7($){this.element=$,this.updateCache()}c7.prototype=Object.create(Object.prototype,{length:{get:function(){return this.updateCache(),this.childrenByNumber.length}},item:{value:function $(Z){return this.updateCache(),this.childrenByNumber[Z]||null}},namedItem:{value:function $(Z){return this.updateCache(),this.childrenByName[Z]||null}},namedItems:{get:function(){return this.updateCache(),this.childrenByName}},updateCache:{value:function $(){var Z=/^(a|applet|area|embed|form|frame|frameset|iframe|img|object)$/;if(this.lastModTime!==this.element.lastModTime){this.lastModTime=this.element.lastModTime;var Y=this.childrenByNumber&&this.childrenByNumber.length||0;for(var G=0;G<Y;G++)this[G]=void 0;this.childrenByNumber=[],this.childrenByName=Object.create(null);for(var Q=this.element.firstChild;Q!==null;Q=Q.nextSibling)if(Q.nodeType===i0.ELEMENT_NODE){this[this.childrenByNumber.length]=Q,this.childrenByNumber.push(Q);var z=Q.getAttribute("id");if(z&&!this.childrenByName[z])this.childrenByName[z]=Q;var J=Q.getAttribute("name");if(J&&this.element.namespaceURI===Z1.HTML&&Z.test(this.element.localName)&&!this.childrenByName[J])this.childrenByName[z]=Q}}}}});function Y$($){return function(Z){return Z.localName===$}}function P3($){var Z=Q0.toASCIILowerCase($);if(Z===$)return Y$($);return function(Y){return Y.isHTML?Y.localName===Z:Y.localName===$}}function w3($){return function(Z){return Z.namespaceURI===$}}function R3($,Z){return function(Y){return Y.namespaceURI===$&&Y.localName===Z}}function T3($){return function(Z){return $.every(function(Y){return Z.classList.contains(Y)})}}function C3($){return function(Z){if(Z.namespaceURI!==Z1.HTML)return!1;return Z.getAttribute("name")===$}}});var Q$=C((vV,r7)=>{r7.exports=o7;var l7=I0(),b3=v1(),s7=V0(),i7=s7.HierarchyRequestError,E3=s7.NotFoundError;function o7(){l7.call(this)}o7.prototype=Object.create(l7.prototype,{hasChildNodes:{value:function(){return!1}},firstChild:{value:null},lastChild:{value:null},insertBefore:{value:function($,Z){if(!$.nodeType)throw new TypeError("not a node");i7()}},replaceChild:{value:function($,Z){if(!$.nodeType)throw new TypeError("not a node");i7()}},removeChild:{value:function($){if(!$.nodeType)throw new TypeError("not a node");E3()}},removeChildren:{value:function(){}},childNodes:{get:function(){if(!this._childNodes)this._childNodes=new b3;return this._childNodes}}})});var C6=C((mV,t7)=>{t7.exports=T8;var a7=Q$(),n7=V0(),N3=P8(),y3=n9();function T8(){a7.call(this)}T8.prototype=Object.create(a7.prototype,{substringData:{value:function $(Z,Y){if(arguments.length<2)throw new TypeError("Not enough arguments");if(Z=Z>>>0,Y=Y>>>0,Z>this.data.length||Z<0||Y<0)n7.IndexSizeError();return this.data.substring(Z,Z+Y)}},appendData:{value:function $(Z){if(arguments.length<1)throw new TypeError("Not enough arguments");this.data+=String(Z)}},insertData:{value:function $(Z,Y){return this.replaceData(Z,0,Y)}},deleteData:{value:function $(Z,Y){return this.replaceData(Z,Y,"")}},replaceData:{value:function $(Z,Y,G){var Q=this.data,z=Q.length;if(Z=Z>>>0,Y=Y>>>0,G=String(G),Z>z||Z<0)n7.IndexSizeError();if(Z+Y>z)Y=z-Z;var J=Q.substring(0,Z),V=Q.substring(Z+Y);this.data=J+G+V}},isEqual:{value:function $(Z){return this._data===Z._data}},length:{get:function(){return this.data.length}}});Object.defineProperties(T8.prototype,N3);Object.defineProperties(T8.prototype,y3)});var X$=C((pV,Y2)=>{Y2.exports=z$;var e7=V0(),$2=I0(),Z2=C6();function z$($,Z){Z2.call(this),this.nodeType=$2.TEXT_NODE,this.ownerDocument=$,this._data=Z,this._index=void 0}var b6={get:function(){return this._data},set:function($){if($===null||$===void 0)$="";else $=String($);if($===this._data)return;if(this._data=$,this.rooted)this.ownerDocument.mutateValue(this);if(this.parentNode&&this.parentNode._textchangehook)this.parentNode._textchangehook(this)}};z$.prototype=Object.create(Z2.prototype,{nodeName:{value:"#text"},nodeValue:b6,textContent:b6,innerText:b6,data:{get:b6.get,set:function($){b6.set.call(this,$===null?"":String($))}},splitText:{value:function $(Z){if(Z>this._data.length||Z<0)e7.IndexSizeError();var Y=this._data.substring(Z),G=this.ownerDocument.createTextNode(Y);this.data=this.data.substring(0,Z);var Q=this.parentNode;if(Q!==null)Q.insertBefore(G,this.nextSibling);return G}},wholeText:{get:function $(){var Z=this.textContent;for(var Y=this.nextSibling;Y;Y=Y.nextSibling){if(Y.nodeType!==$2.TEXT_NODE)break;Z+=Y.textContent}return Z}},replaceWholeText:{value:e7.nyi},clone:{value:function $(){return new z$(this.ownerDocument,this._data)}}})});var J$=C((uV,Q2)=>{Q2.exports=W$;var x3=I0(),G2=C6();function W$($,Z){G2.call(this),this.nodeType=x3.COMMENT_NODE,this.ownerDocument=$,this._data=Z}var E6={get:function(){return this._data},set:function($){if($===null||$===void 0)$="";else $=String($);if(this._data=$,this.rooted)this.ownerDocument.mutateValue(this)}};W$.prototype=Object.create(G2.prototype,{nodeName:{value:"#comment"},nodeValue:E6,textContent:E6,innerText:E6,data:{get:E6.get,set:function($){E6.set.call(this,$===null?"":String($))}},clone:{value:function $(){return new W$(this.ownerDocument,this._data)}}})});var B$=C((cV,W2)=>{W2.exports=V$;var k3=I0(),f3=v1(),X2=S8(),C8=$6(),h3=M8(),z2=V0();function V$($){X2.call(this),this.nodeType=k3.DOCUMENT_FRAGMENT_NODE,this.ownerDocument=$}V$.prototype=Object.create(X2.prototype,{nodeName:{value:"#document-fragment"},nodeValue:{get:function(){return null},set:function(){}},textContent:Object.getOwnPropertyDescriptor(C8.prototype,"textContent"),innerText:Object.getOwnPropertyDescriptor(C8.prototype,"innerText"),querySelector:{value:function($){var Z=this.querySelectorAll($);return Z.length?Z[0]:null}},querySelectorAll:{value:function($){var Z=Object.create(this);Z.isHTML=!0,Z.getElementsByTagName=C8.prototype.getElementsByTagName,Z.nextElement=Object.getOwnPropertyDescriptor(C8.prototype,"firstElementChild").get;var Y=h3($,Z);return Y.item?Y:new f3(Y)}},clone:{value:function $(){return new V$(this.ownerDocument)}},isEqual:{value:function $(Z){return!0}},innerHTML:{get:function(){return this.serialize()},set:z2.nyi},outerHTML:{get:function(){return this.serialize()},set:z2.nyi}})});var _$=C((dV,V2)=>{V2.exports=H$;var g3=I0(),J2=C6();function H$($,Z,Y){J2.call(this),this.nodeType=g3.PROCESSING_INSTRUCTION_NODE,this.ownerDocument=$,this.target=Z,this._data=Y}var N6={get:function(){return this._data},set:function($){if($===null||$===void 0)$="";else $=String($);if(this._data=$,this.rooted)this.ownerDocument.mutateValue(this)}};H$.prototype=Object.create(J2.prototype,{nodeName:{get:function(){return this.target}},nodeValue:N6,textContent:N6,innerText:N6,data:{get:N6.get,set:function($){N6.set.call(this,$===null?"":String($))}},clone:{value:function $(){return new H$(this.ownerDocument,this.target,this._data)}},isEqual:{value:function $(Z){return this.target===Z.target&&this._data===Z._data}}})});var y6=C((iV,B2)=>{var j$={FILTER_ACCEPT:1,FILTER_REJECT:2,FILTER_SKIP:3,SHOW_ALL:4294967295,SHOW_ELEMENT:1,SHOW_ATTRIBUTE:2,SHOW_TEXT:4,SHOW_CDATA_SECTION:8,SHOW_ENTITY_REFERENCE:16,SHOW_ENTITY:32,SHOW_PROCESSING_INSTRUCTION:64,SHOW_COMMENT:128,SHOW_DOCUMENT:256,SHOW_DOCUMENT_TYPE:512,SHOW_DOCUMENT_FRAGMENT:1024,SHOW_NOTATION:2048};B2.exports=j$.constructor=j$.prototype=j$});var K$=C((sV,_2)=>{var lV=_2.exports={nextSkippingChildren:v3,nextAncestorSibling:q$,next:m3,previous:p3,deepLastChild:H2};function v3($,Z){if($===Z)return null;if($.nextSibling!==null)return $.nextSibling;return q$($,Z)}function q$($,Z){for($=$.parentNode;$!==null;$=$.parentNode){if($===Z)return null;if($.nextSibling!==null)return $.nextSibling}return null}function m3($,Z){var Y=$.firstChild;if(Y!==null)return Y;if($===Z)return null;if(Y=$.nextSibling,Y!==null)return Y;return q$($,Z)}function H2($){while($.lastChild)$=$.lastChild;return $}function p3($,Z){var Y=$.previousSibling;if(Y!==null)return H2(Y);if(Y=$.parentNode,Y===Z)return null;return Y}});var S2=C((oV,I2)=>{I2.exports=F2;var u3=I0(),S0=y6(),j2=K$(),U2=V0(),U$={first:"firstChild",last:"lastChild",next:"firstChild",previous:"lastChild"},F$={first:"nextSibling",last:"previousSibling",next:"nextSibling",previous:"previousSibling"};function q2($,Z){var Y,G,Q,z,J;G=$._currentNode[U$[Z]];while(G!==null){if(z=$._internalFilter(G),z===S0.FILTER_ACCEPT)return $._currentNode=G,G;if(z===S0.FILTER_SKIP){if(Y=G[U$[Z]],Y!==null){G=Y;continue}}while(G!==null){if(J=G[F$[Z]],J!==null){G=J;break}if(Q=G.parentNode,Q===null||Q===$.root||Q===$._currentNode)return null;else G=Q}}return null}function K2($,Z){var Y,G,Q;if(Y=$._currentNode,Y===$.root)return null;while(!0){Q=Y[F$[Z]];while(Q!==null){if(Y=Q,G=$._internalFilter(Y),G===S0.FILTER_ACCEPT)return $._currentNode=Y,Y;if(Q=Y[U$[Z]],G===S0.FILTER_REJECT||Q===null)Q=Y[F$[Z]]}if(Y=Y.parentNode,Y===null||Y===$.root)return null;if($._internalFilter(Y)===S0.FILTER_ACCEPT)return null}}function F2($,Z,Y){if(!$||!$.nodeType)U2.NotSupportedError();this._root=$,this._whatToShow=Number(Z)||0,this._filter=Y||null,this._active=!1,this._currentNode=$}Object.defineProperties(F2.prototype,{root:{get:function(){return this._root}},whatToShow:{get:function(){return this._whatToShow}},filter:{get:function(){return this._filter}},currentNode:{get:function $(){return this._currentNode},set:function $(Z){if(!(Z instanceof u3))throw new TypeError("Not a Node");this._currentNode=Z}},_internalFilter:{value:function $(Z){var Y,G;if(this._active)U2.InvalidStateError();if(!(1<<Z.nodeType-1&this._whatToShow))return S0.FILTER_SKIP;if(G=this._filter,G===null)Y=S0.FILTER_ACCEPT;else{this._active=!0;try{if(typeof G==="function")Y=G(Z);else Y=G.acceptNode(Z)}finally{this._active=!1}}return+Y}},parentNode:{value:function $(){var Z=this._currentNode;while(Z!==this.root){if(Z=Z.parentNode,Z===null)return null;if(this._internalFilter(Z)===S0.FILTER_ACCEPT)return this._currentNode=Z,Z}return null}},firstChild:{value:function $(){return q2(this,"first")}},lastChild:{value:function $(){return q2(this,"last")}},previousSibling:{value:function $(){return K2(this,"previous")}},nextSibling:{value:function $(){return K2(this,"next")}},previousNode:{value:function $(){var Z,Y,G,Q;Z=this._currentNode;while(Z!==this._root){for(G=Z.previousSibling;G;G=Z.previousSibling){if(Z=G,Y=this._internalFilter(Z),Y===S0.FILTER_REJECT)continue;for(Q=Z.lastChild;Q;Q=Z.lastChild)if(Z=Q,Y=this._internalFilter(Z),Y===S0.FILTER_REJECT)break;if(Y===S0.FILTER_ACCEPT)return this._currentNode=Z,Z}if(Z===this.root||Z.parentNode===null)return null;if(Z=Z.parentNode,this._internalFilter(Z)===S0.FILTER_ACCEPT)return this._currentNode=Z,Z}return null}},nextNode:{value:function $(){var Z,Y,G,Q;Z=this._currentNode,Y=S0.FILTER_ACCEPT;$:while(!0){for(G=Z.firstChild;G;G=Z.firstChild)if(Z=G,Y=this._internalFilter(Z),Y===S0.FILTER_ACCEPT)return this._currentNode=Z,Z;else if(Y===S0.FILTER_REJECT)break;for(Q=j2.nextSkippingChildren(Z,this.root);Q;Q=j2.nextSkippingChildren(Z,this.root))if(Z=Q,Y=this._internalFilter(Z),Y===S0.FILTER_ACCEPT)return this._currentNode=Z,Z;else if(Y===S0.FILTER_SKIP)continue $;return null}}},toString:{value:function $(){return"[object TreeWalker]"}}})});var P2=C((rV,M2)=>{M2.exports=L2;var I$=y6(),S$=K$(),A2=V0();function c3($,Z,Y){if(Y)return S$.next($,Z);else{if($===Z)return null;return S$.previous($,null)}}function D2($,Z){for(;Z;Z=Z.parentNode)if($===Z)return!0;return!1}function O2($,Z){var Y,G;Y=$._referenceNode,G=$._pointerBeforeReferenceNode;while(!0){if(G===Z)G=!G;else if(Y=c3(Y,$._root,Z),Y===null)return null;var Q=$._internalFilter(Y);if(Q===I$.FILTER_ACCEPT)break}return $._referenceNode=Y,$._pointerBeforeReferenceNode=G,Y}function L2($,Z,Y){if(!$||!$.nodeType)A2.NotSupportedError();this._root=$,this._referenceNode=$,this._pointerBeforeReferenceNode=!0,this._whatToShow=Number(Z)||0,this._filter=Y||null,this._active=!1,$.doc._attachNodeIterator(this)}Object.defineProperties(L2.prototype,{root:{get:function $(){return this._root}},referenceNode:{get:function $(){return this._referenceNode}},pointerBeforeReferenceNode:{get:function $(){return this._pointerBeforeReferenceNode}},whatToShow:{get:function $(){return this._whatToShow}},filter:{get:function $(){return this._filter}},_internalFilter:{value:function $(Z){var Y,G;if(this._active)A2.InvalidStateError();if(!(1<<Z.nodeType-1&this._whatToShow))return I$.FILTER_SKIP;if(G=this._filter,G===null)Y=I$.FILTER_ACCEPT;else{this._active=!0;try{if(typeof G==="function")Y=G(Z);else Y=G.acceptNode(Z)}finally{this._active=!1}}return+Y}},_preremove:{value:function $(Z){if(D2(Z,this._root))return;if(!D2(Z,this._referenceNode))return;if(this._pointerBeforeReferenceNode){var Y=Z;while(Y.lastChild)Y=Y.lastChild;if(Y=S$.next(Y,this.root),Y){this._referenceNode=Y;return}this._pointerBeforeReferenceNode=!1}if(Z.previousSibling===null)this._referenceNode=Z.parentNode;else{this._referenceNode=Z.previousSibling;var G;for(G=this._referenceNode.lastChild;G;G=this._referenceNode.lastChild)this._referenceNode=G}}},nextNode:{value:function $(){return O2(this,!0)}},previousNode:{value:function $(){return O2(this,!1)}},detach:{value:function $(){}},toString:{value:function $(){return"[object NodeIterator]"}}})});var b8=C((nV,w2)=>{w2.exports=D0;function D0($){if(!$)return Object.create(D0.prototype);this.url=$.replace(/^[ \t\n\r\f]+|[ \t\n\r\f]+$/g,"");var Z=D0.pattern.exec(this.url);if(Z){if(Z[2])this.scheme=Z[2];if(Z[4]){var Y=Z[4].match(D0.userinfoPattern);if(Y)this.username=Y[1],this.password=Y[3],Z[4]=Z[4].substring(Y[0].length);if(Z[4].match(D0.portPattern)){var G=Z[4].lastIndexOf(":");this.host=Z[4].substring(0,G),this.port=Z[4].substring(G+1)}else this.host=Z[4]}if(Z[5])this.path=Z[5];if(Z[6])this.query=Z[7];if(Z[8])this.fragment=Z[9]}}D0.pattern=/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/;D0.userinfoPattern=/^([^@:]*)(:([^@]*))?@/;D0.portPattern=/:\d+$/;D0.authorityPattern=/^[^:\/?#]+:\/\//;D0.hierarchyPattern=/^[^:\/?#]+:\//;D0.percentEncode=function $(Z){var Y=Z.charCodeAt(0);if(Y<256)return"%"+Y.toString(16);else throw Error("can't percent-encode codepoints > 255 yet")};D0.prototype={constructor:D0,isAbsolute:function(){return!!this.scheme},isAuthorityBased:function(){return D0.authorityPattern.test(this.url)},isHierarchical:function(){return D0.hierarchyPattern.test(this.url)},toString:function(){var $="";if(this.scheme!==void 0)$+=this.scheme+":";if(this.isAbsolute()){if($+="//",this.username||this.password){if($+=this.username||"",this.password)$+=":"+this.password;$+="@"}if(this.host)$+=this.host}if(this.port!==void 0)$+=":"+this.port;if(this.path!==void 0)$+=this.path;if(this.query!==void 0)$+="?"+this.query;if(this.fragment!==void 0)$+="#"+this.fragment;return $},resolve:function($){var Z=this,Y=new D0($),G=new D0;if(Y.scheme!==void 0)G.scheme=Y.scheme,G.username=Y.username,G.password=Y.password,G.host=Y.host,G.port=Y.port,G.path=z(Y.path),G.query=Y.query;else if(G.scheme=Z.scheme,Y.host!==void 0)G.username=Y.username,G.password=Y.password,G.host=Y.host,G.port=Y.port,G.path=z(Y.path),G.query=Y.query;else if(G.username=Z.username,G.password=Z.password,G.host=Z.host,G.port=Z.port,!Y.path)if(G.path=Z.path,Y.query!==void 0)G.query=Y.query;else G.query=Z.query;else{if(Y.path.charAt(0)==="/")G.path=z(Y.path);else G.path=Q(Z.path,Y.path),G.path=z(G.path);G.query=Y.query}return G.fragment=Y.fragment,G.toString();function Q(J,V){if(Z.host!==void 0&&!Z.path)return"/"+V;var _=J.lastIndexOf("/");if(_===-1)return V;else return J.substring(0,_+1)+V}function z(J){if(!J)return J;var V="";while(J.length>0){if(J==="."||J===".."){J="";break}var _=J.substring(0,2),q=J.substring(0,3),K=J.substring(0,4);if(q==="../")J=J.substring(3);else if(_==="./")J=J.substring(2);else if(q==="/./")J="/"+J.substring(3);else if(_==="/."&&J.length===2)J="/";else if(K==="/../"||q==="/.."&&J.length===3)J="/"+J.substring(4),V=V.replace(/\/?[^\/]*$/,"");else{var O=J.match(/(\/?([^\/]*))/)[0];V+=O,J=J.substring(O.length)}}return V}}}});var C2=C((aV,T2)=>{T2.exports=D$;var R2=s1();function D$($,Z){R2.call(this,$,Z)}D$.prototype=Object.create(R2.prototype,{constructor:{value:D$}})});var O$=C((tV,b2)=>{b2.exports={Event:s1(),UIEvent:w9(),MouseEvent:T9(),CustomEvent:C2()}});var x2=C((N2)=>{Object.defineProperty(N2,"__esModule",{value:!0});N2.hyphenate=N2.parse=void 0;function d3($){let Z=[],Y=0,G=0,Q=0,z=0,J=0,V=null;while(Y<$.length)switch($.charCodeAt(Y++)){case 40:G++;break;case 41:G--;break;case 39:if(Q===0)Q=39;else if(Q===39&&$.charCodeAt(Y-1)!==92)Q=0;break;case 34:if(Q===0)Q=34;else if(Q===34&&$.charCodeAt(Y-1)!==92)Q=0;break;case 58:if(!V&&G===0&&Q===0)V=E2($.substring(J,Y-1).trim()),z=Y;break;case 59:if(V&&z>0&&G===0&&Q===0){let q=$.substring(z,Y-1).trim();Z.push(V,q),J=Y,z=0,V=null}break}if(V&&z){let _=$.slice(z).trim();Z.push(V,_)}return Z}N2.parse=d3;function E2($){return $.replace(/[a-z][A-Z]/g,(Z)=>{return Z.charAt(0)+"-"+Z.charAt(1)}).toLowerCase()}N2.hyphenate=E2});var E8=C(($B,v2)=>{var{parse:l3}=x2();v2.exports=function($){let Z=new g2($);return new Proxy(Z,{get:function(G,Q){return Q in G?G[Q]:G.getPropertyValue(k2(Q))},has:function(G,Q){return!0},set:function(G,Q,z){if(Q in G)G[Q]=z;else G.setProperty(k2(Q),z??void 0);return!0}})};function k2($){return $.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function g2($){this._element=$}var f2="!important";function h2($){let Z={property:{},priority:{}};if(!$)return Z;let Y=l3($);if(Y.length<2)return Z;for(let G=0;G<Y.length;G+=2){let Q=Y[G],z=Y[G+1];if(z.endsWith(f2))Z.priority[Q]="important",z=z.slice(0,-f2.length).trim();Z.property[Q]=z}return Z}var Z6={};g2.prototype=Object.create(Object.prototype,{_parsed:{get:function(){if(!this._parsedStyles||this.cssText!==this._lastParsedText){var $=this.cssText;this._parsedStyles=h2($),this._lastParsedText=$,delete this._names}return this._parsedStyles}},_serialize:{value:function(){var $=this._parsed,Z="";for(var Y in $.property){if(Z)Z+=" ";if(Z+=Y+": "+$.property[Y],$.priority[Y])Z+=" !"+$.priority[Y];Z+=";"}this.cssText=Z,this._lastParsedText=Z,delete this._names}},cssText:{get:function(){return this._element.getAttribute("style")},set:function($){this._element.setAttribute("style",$)}},length:{get:function(){if(!this._names)this._names=Object.getOwnPropertyNames(this._parsed.property);return this._names.length}},item:{value:function($){if(!this._names)this._names=Object.getOwnPropertyNames(this._parsed.property);return this._names[$]}},getPropertyValue:{value:function($){return $=$.toLowerCase(),this._parsed.property[$]||""}},getPropertyPriority:{value:function($){return $=$.toLowerCase(),this._parsed.priority[$]||""}},setProperty:{value:function($,Z,Y){if($=$.toLowerCase(),Z===null||Z===void 0)Z="";if(Y===null||Y===void 0)Y="";if(Z!==Z6)Z=""+Z;if(Z=Z.trim(),Z===""){this.removeProperty($);return}if(Y!==""&&Y!==Z6&&!/^important$/i.test(Y))return;var G=this._parsed;if(Z===Z6){if(!G.property[$])return;if(Y!=="")G.priority[$]="important";else delete G.priority[$]}else{if(Z.indexOf(";")!==-1)return;var Q=h2($+":"+Z);if(Object.getOwnPropertyNames(Q.property).length===0)return;if(Object.getOwnPropertyNames(Q.priority).length!==0)return;for(var z in Q.property)if(G.property[z]=Q.property[z],Y===Z6)continue;else if(Y!=="")G.priority[z]="important";else if(G.priority[z])delete G.priority[z]}this._serialize()}},setPropertyValue:{value:function($,Z){return this.setProperty($,Z,Z6)}},setPropertyPriority:{value:function($,Z){return this.setProperty($,Z6,Z)}},removeProperty:{value:function($){$=$.toLowerCase();var Z=this._parsed;if($ in Z.property)delete Z.property[$],delete Z.priority[$],this._serialize()}}})});var A$=C((ZB,m2)=>{var K0=b8();m2.exports=x6;function x6(){}x6.prototype=Object.create(Object.prototype,{_url:{get:function(){return new K0(this.href)}},protocol:{get:function(){var $=this._url;if($&&$.scheme)return $.scheme+":";else return":"},set:function($){var Z=this.href,Y=new K0(Z);if(Y.isAbsolute()){if($=$.replace(/:+$/,""),$=$.replace(/[^-+\.a-zA-Z0-9]/g,K0.percentEncode),$.length>0)Y.scheme=$,Z=Y.toString()}this.href=Z}},host:{get:function(){var $=this._url;if($.isAbsolute()&&$.isAuthorityBased())return $.host+($.port?":"+$.port:"");else return""},set:function($){var Z=this.href,Y=new K0(Z);if(Y.isAbsolute()&&Y.isAuthorityBased()){if($=$.replace(/[^-+\._~!$&'()*,;:=a-zA-Z0-9]/g,K0.percentEncode),$.length>0)Y.host=$,delete Y.port,Z=Y.toString()}this.href=Z}},hostname:{get:function(){var $=this._url;if($.isAbsolute()&&$.isAuthorityBased())return $.host;else return""},set:function($){var Z=this.href,Y=new K0(Z);if(Y.isAbsolute()&&Y.isAuthorityBased()){if($=$.replace(/^\/+/,""),$=$.replace(/[^-+\._~!$&'()*,;:=a-zA-Z0-9]/g,K0.percentEncode),$.length>0)Y.host=$,Z=Y.toString()}this.href=Z}},port:{get:function(){var $=this._url;if($.isAbsolute()&&$.isAuthorityBased()&&$.port!==void 0)return $.port;else return""},set:function($){var Z=this.href,Y=new K0(Z);if(Y.isAbsolute()&&Y.isAuthorityBased()){if($=""+$,$=$.replace(/[^0-9].*$/,""),$=$.replace(/^0+/,""),$.length===0)$="0";if(parseInt($,10)<=65535)Y.port=$,Z=Y.toString()}this.href=Z}},pathname:{get:function(){var $=this._url;if($.isAbsolute()&&$.isHierarchical())return $.path;else return""},set:function($){var Z=this.href,Y=new K0(Z);if(Y.isAbsolute()&&Y.isHierarchical()){if($.charAt(0)!=="/")$="/"+$;$=$.replace(/[^-+\._~!$&'()*,;:=@\/a-zA-Z0-9]/g,K0.percentEncode),Y.path=$,Z=Y.toString()}this.href=Z}},search:{get:function(){var $=this._url;if($.isAbsolute()&&$.isHierarchical()&&$.query!==void 0)return"?"+$.query;else return""},set:function($){var Z=this.href,Y=new K0(Z);if(Y.isAbsolute()&&Y.isHierarchical()){if($.charAt(0)==="?")$=$.substring(1);$=$.replace(/[^-+\._~!$&'()*,;:=@\/?a-zA-Z0-9]/g,K0.percentEncode),Y.query=$,Z=Y.toString()}this.href=Z}},hash:{get:function(){var $=this._url;if($==null||$.fragment==null||$.fragment==="")return"";else return"#"+$.fragment},set:function($){var Z=this.href,Y=new K0(Z);if($.charAt(0)==="#")$=$.substring(1);$=$.replace(/[^-+\._~!$&'()*,;:=@\/?a-zA-Z0-9]/g,K0.percentEncode),Y.fragment=$,Z=Y.toString(),this.href=Z}},username:{get:function(){var $=this._url;return $.username||""},set:function($){var Z=this.href,Y=new K0(Z);if(Y.isAbsolute())$=$.replace(/[\x00-\x1F\x7F-\uFFFF "#<>?`\/@\\:]/g,K0.percentEncode),Y.username=$,Z=Y.toString();this.href=Z}},password:{get:function(){var $=this._url;return $.password||""},set:function($){var Z=this.href,Y=new K0(Z);if(Y.isAbsolute()){if($==="")Y.password=null;else $=$.replace(/[\x00-\x1F\x7F-\uFFFF "#<>?`\/@\\]/g,K0.percentEncode),Y.password=$;Z=Y.toString()}this.href=Z}},origin:{get:function(){var $=this._url;if($==null)return"";var Z=function(Y){var G=[$.scheme,$.host,+$.port||Y];return G[0]+"://"+G[1]+(G[2]===Y?"":":"+G[2])};switch($.scheme){case"ftp":return Z(21);case"gopher":return Z(70);case"http":case"ws":return Z(80);case"https":case"wss":return Z(443);default:return $.scheme+"://"}}}});x6._inherit=function($){Object.getOwnPropertyNames(x6.prototype).forEach(function(Z){if(Z==="constructor"||Z==="href")return;var Y=Object.getOwnPropertyDescriptor(x6.prototype,Z);Object.defineProperty($,Z,Y)})}});var L$=C((YB,c2)=>{var p2=c9(),s3=U8().isApiWritable;c2.exports=function($,Z,Y,G){var Q=$.ctor;if(Q){var z=$.props||{};if($.attributes)for(var J in $.attributes){var V=$.attributes[J];if(typeof V!=="object"||Array.isArray(V))V={type:V};if(!V.name)V.name=J.toLowerCase();z[J]=p2.property(V)}if(z.constructor={value:Q,writable:s3},Q.prototype=Object.create(($.superclass||Z).prototype,z),$.events)r3(Q,$.events);Y[$.name]=Q}else Q=Z;return($.tags||$.tag&&[$.tag]||[]).forEach(function(_){G[_]=Q}),Q};function u2($,Z,Y,G){this.body=$,this.document=Z,this.form=Y,this.element=G}u2.prototype.build=function(){return()=>{}};function o3($,Z,Y,G){var Q=$.ownerDocument||Object.create(null),z=$.form||Object.create(null);$[Z]=new u2(G,Q,z,$).build()}function r3($,Z){var Y=$.prototype;Z.forEach(function(G){Object.defineProperty(Y,"on"+G,{get:function(){return this._getEventHandler(G)},set:function(Q){this._setEventHandler(G,Q)}}),p2.registerChangeHandler($,"on"+G,o3)})}});var y8=C(($W)=>{var M$=I0(),d2=$6(),n3=E8(),k0=V0(),i2=A$(),a3=L$(),H1=$W.elements={},k6=Object.create(null);$W.createElement=function($,Z,Y){var G=k6[Z]||e3;return new G($,Z,Y)};function w($){return a3($,b,H1,k6)}function B0($){return{get:function(){var Z=this._getattr($);if(Z===null)return"";var Y=this.doc._resolve(Z);return Y===null?Z:Y},set:function(Z){this._setattr($,Z)}}}function N8($){return{get:function(){var Z=this._getattr($);if(Z===null)return null;if(Z.toLowerCase()==="use-credentials")return"use-credentials";return"anonymous"},set:function(Z){if(Z===null||Z===void 0)this.removeAttribute($);else this._setattr($,Z)}}}var Y6={type:["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],missing:""},t3={A:!0,LINK:!0,BUTTON:!0,INPUT:!0,SELECT:!0,TEXTAREA:!0,COMMAND:!0},l0=function($,Z,Y){b.call(this,$,Z,Y),this._form=null},b=$W.HTMLElement=w({superclass:d2,name:"HTMLElement",ctor:function $(Z,Y,G){d2.call(this,Z,Y,k0.NAMESPACE.HTML,G)},props:{dangerouslySetInnerHTML:{set:function($){this._innerHTML=$}},innerHTML:{get:function(){return this.serialize()},set:function($){var Z=this.ownerDocument.implementation.mozHTMLParser(this.ownerDocument._address,this);Z.parse($===null?"":String($),!0);var Y=this instanceof k6.template?this.content:this;while(Y.hasChildNodes())Y.removeChild(Y.firstChild);Y.appendChild(Z._asDocumentFragment())}},style:{get:function(){if(!this._style)this._style=new n3(this);return this._style},set:function($){if($===null||$===void 0)$="";this._setattr("style",String($))}},blur:{value:function(){}},focus:{value:function(){}},forceSpellCheck:{value:function(){}},click:{value:function(){if(this._click_in_progress)return;this._click_in_progress=!0;try{if(this._pre_click_activation_steps)this._pre_click_activation_steps();var $=this.ownerDocument.createEvent("MouseEvent");$.initMouseEvent("click",!0,!0,this.ownerDocument.defaultView,1,0,0,0,0,!1,!1,!1,!1,0,null);var Z=this.dispatchEvent($);if(Z){if(this._post_click_activation_steps)this._post_click_activation_steps($)}else if(this._cancelled_activation_steps)this._cancelled_activation_steps()}finally{this._click_in_progress=!1}}},submit:{value:k0.nyi}},attributes:{title:String,lang:String,dir:{type:["ltr","rtl","auto"],missing:""},draggable:{type:["true","false"],treatNullAsEmptyString:!0},spellcheck:{type:["true","false"],missing:""},enterKeyHint:{type:["enter","done","go","next","previous","search","send"],missing:""},autoCapitalize:{type:["off","on","none","sentences","words","characters"],missing:""},autoFocus:Boolean,accessKey:String,nonce:String,hidden:Boolean,translate:{type:["no","yes"],missing:""},tabIndex:{type:"long",default:function(){if(this.tagName in t3||this.contentEditable)return 0;else return-1}}},events:["abort","canplay","canplaythrough","change","click","contextmenu","cuechange","dblclick","drag","dragend","dragenter","dragleave","dragover","dragstart","drop","durationchange","emptied","ended","input","invalid","keydown","keypress","keyup","loadeddata","loadedmetadata","loadstart","mousedown","mousemove","mouseout","mouseover","mouseup","mousewheel","pause","play","playing","progress","ratechange","readystatechange","reset","seeked","seeking","select","show","stalled","submit","suspend","timeupdate","volumechange","waiting","blur","error","focus","load","scroll"]}),e3=w({name:"HTMLUnknownElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)}}),s0={form:{get:function(){return this._form}}};w({tag:"a",name:"HTMLAnchorElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},props:{_post_click_activation_steps:{value:function($){if(this.href)this.ownerDocument.defaultView.location=this.href}}},attributes:{href:B0,ping:String,download:String,target:String,rel:String,media:String,hreflang:String,type:String,referrerPolicy:Y6,coords:String,charset:String,name:String,rev:String,shape:String}});i2._inherit(k6.a.prototype);w({tag:"area",name:"HTMLAreaElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{alt:String,target:String,download:String,rel:String,media:String,href:B0,hreflang:String,type:String,shape:String,coords:String,ping:String,referrerPolicy:Y6,noHref:Boolean}});i2._inherit(k6.area.prototype);w({tag:"br",name:"HTMLBRElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{clear:String}});w({tag:"base",name:"HTMLBaseElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{target:String}});w({tag:"body",name:"HTMLBodyElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},events:["afterprint","beforeprint","beforeunload","blur","error","focus","hashchange","load","message","offline","online","pagehide","pageshow","popstate","resize","scroll","storage","unload"],attributes:{text:{type:String,treatNullAsEmptyString:!0},link:{type:String,treatNullAsEmptyString:!0},vLink:{type:String,treatNullAsEmptyString:!0},aLink:{type:String,treatNullAsEmptyString:!0},bgColor:{type:String,treatNullAsEmptyString:!0},background:String}});w({tag:"button",name:"HTMLButtonElement",ctor:function $(Z,Y,G){l0.call(this,Z,Y,G)},props:s0,attributes:{name:String,value:String,disabled:Boolean,autofocus:Boolean,type:{type:["submit","reset","button","menu"],missing:"submit"},formTarget:String,formAction:B0,formNoValidate:Boolean,formMethod:{type:["get","post","dialog"],invalid:"get",missing:""},formEnctype:{type:["application/x-www-form-urlencoded","multipart/form-data","text/plain"],invalid:"application/x-www-form-urlencoded",missing:""}}});w({tag:"dl",name:"HTMLDListElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{compact:Boolean}});w({tag:"data",name:"HTMLDataElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{value:String}});w({tag:"datalist",name:"HTMLDataListElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)}});w({tag:"details",name:"HTMLDetailsElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{open:Boolean}});w({tag:"div",name:"HTMLDivElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{align:String}});w({tag:"embed",name:"HTMLEmbedElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{src:B0,type:String,width:String,height:String,align:String,name:String}});w({tag:"fieldset",name:"HTMLFieldSetElement",ctor:function $(Z,Y,G){l0.call(this,Z,Y,G)},props:s0,attributes:{disabled:Boolean,name:String}});w({tag:"form",name:"HTMLFormElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{action:String,autocomplete:{type:["on","off"],missing:"on"},name:String,acceptCharset:{name:"accept-charset"},target:String,noValidate:Boolean,method:{type:["get","post","dialog"],invalid:"get",missing:"get"},enctype:{type:["application/x-www-form-urlencoded","multipart/form-data","text/plain"],invalid:"application/x-www-form-urlencoded",missing:"application/x-www-form-urlencoded"},encoding:{name:"enctype",type:["application/x-www-form-urlencoded","multipart/form-data","text/plain"],invalid:"application/x-www-form-urlencoded",missing:"application/x-www-form-urlencoded"}}});w({tag:"hr",name:"HTMLHRElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{align:String,color:String,noShade:Boolean,size:String,width:String}});w({tag:"head",name:"HTMLHeadElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)}});w({tags:["h1","h2","h3","h4","h5","h6"],name:"HTMLHeadingElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{align:String}});w({tag:"html",name:"HTMLHtmlElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{xmlns:B0,version:String}});w({tag:"iframe",name:"HTMLIFrameElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{src:B0,srcdoc:String,name:String,width:String,height:String,seamless:Boolean,allow:Boolean,allowFullscreen:Boolean,allowUserMedia:Boolean,allowPaymentRequest:Boolean,referrerPolicy:Y6,loading:{type:["eager","lazy"],treatNullAsEmptyString:!0},align:String,scrolling:String,frameBorder:String,longDesc:B0,marginHeight:{type:String,treatNullAsEmptyString:!0},marginWidth:{type:String,treatNullAsEmptyString:!0}}});w({tag:"img",name:"HTMLImageElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{alt:String,src:B0,srcset:String,crossOrigin:N8,useMap:String,isMap:Boolean,sizes:String,height:{type:"unsigned long",default:0},width:{type:"unsigned long",default:0},referrerPolicy:Y6,loading:{type:["eager","lazy"],missing:""},name:String,lowsrc:B0,align:String,hspace:{type:"unsigned long",default:0},vspace:{type:"unsigned long",default:0},longDesc:B0,border:{type:String,treatNullAsEmptyString:!0}}});w({tag:"input",name:"HTMLInputElement",ctor:function $(Z,Y,G){l0.call(this,Z,Y,G)},props:{form:s0.form,_post_click_activation_steps:{value:function($){if(this.type==="checkbox")this.checked=!this.checked;else if(this.type==="radio"){var Z=this.form.getElementsByName(this.name);for(var Y=Z.length-1;Y>=0;Y--){var G=Z[Y];G.checked=G===this}}}}},attributes:{name:String,disabled:Boolean,autofocus:Boolean,accept:String,alt:String,max:String,min:String,pattern:String,placeholder:String,step:String,dirName:String,defaultValue:{name:"value"},multiple:Boolean,required:Boolean,readOnly:Boolean,checked:Boolean,value:String,src:B0,defaultChecked:{name:"checked",type:Boolean},size:{type:"unsigned long",default:20,min:1,setmin:1},width:{type:"unsigned long",min:0,setmin:0,default:0},height:{type:"unsigned long",min:0,setmin:0,default:0},minLength:{type:"unsigned long",min:0,setmin:0,default:-1},maxLength:{type:"unsigned long",min:0,setmin:0,default:-1},autocomplete:String,type:{type:["text","hidden","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"],missing:"text"},formTarget:String,formNoValidate:Boolean,formMethod:{type:["get","post"],invalid:"get",missing:""},formEnctype:{type:["application/x-www-form-urlencoded","multipart/form-data","text/plain"],invalid:"application/x-www-form-urlencoded",missing:""},inputMode:{type:["verbatim","latin","latin-name","latin-prose","full-width-latin","kana","kana-name","katakana","numeric","tel","email","url"],missing:""},align:String,useMap:String}});w({tag:"keygen",name:"HTMLKeygenElement",ctor:function $(Z,Y,G){l0.call(this,Z,Y,G)},props:s0,attributes:{name:String,disabled:Boolean,autofocus:Boolean,challenge:String,keytype:{type:["rsa"],missing:""}}});w({tag:"li",name:"HTMLLIElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{value:{type:"long",default:0},type:String}});w({tag:"label",name:"HTMLLabelElement",ctor:function $(Z,Y,G){l0.call(this,Z,Y,G)},props:s0,attributes:{htmlFor:{name:"for",type:String}}});w({tag:"legend",name:"HTMLLegendElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{align:String}});w({tag:"link",name:"HTMLLinkElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{href:B0,rel:String,media:String,hreflang:String,type:String,crossOrigin:N8,nonce:String,integrity:String,referrerPolicy:Y6,imageSizes:String,imageSrcset:String,charset:String,rev:String,target:String}});w({tag:"map",name:"HTMLMapElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{name:String}});w({tag:"menu",name:"HTMLMenuElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{type:{type:["context","popup","toolbar"],missing:"toolbar"},label:String,compact:Boolean}});w({tag:"meta",name:"HTMLMetaElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{name:String,content:String,httpEquiv:{name:"http-equiv",type:String},scheme:String}});w({tag:"meter",name:"HTMLMeterElement",ctor:function $(Z,Y,G){l0.call(this,Z,Y,G)},props:s0});w({tags:["ins","del"],name:"HTMLModElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{cite:B0,dateTime:String}});w({tag:"ol",name:"HTMLOListElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},props:{_numitems:{get:function(){var $=0;return this.childNodes.forEach(function(Z){if(Z.nodeType===M$.ELEMENT_NODE&&Z.tagName==="LI")$++}),$}}},attributes:{type:String,reversed:Boolean,start:{type:"long",default:function(){if(this.reversed)return this._numitems;else return 1}},compact:Boolean}});w({tag:"object",name:"HTMLObjectElement",ctor:function $(Z,Y,G){l0.call(this,Z,Y,G)},props:s0,attributes:{data:B0,type:String,name:String,useMap:String,typeMustMatch:Boolean,width:String,height:String,align:String,archive:String,code:String,declare:Boolean,hspace:{type:"unsigned long",default:0},standby:String,vspace:{type:"unsigned long",default:0},codeBase:B0,codeType:String,border:{type:String,treatNullAsEmptyString:!0}}});w({tag:"optgroup",name:"HTMLOptGroupElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{disabled:Boolean,label:String}});w({tag:"option",name:"HTMLOptionElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},props:{form:{get:function(){var $=this.parentNode;while($&&$.nodeType===M$.ELEMENT_NODE){if($.localName==="select")return $.form;$=$.parentNode}}},value:{get:function(){return this._getattr("value")||this.text},set:function($){this._setattr("value",$)}},text:{get:function(){return this.textContent.replace(/[ \t\n\f\r]+/g," ").trim()},set:function($){this.textContent=$}}},attributes:{disabled:Boolean,defaultSelected:{name:"selected",type:Boolean},label:String}});w({tag:"output",name:"HTMLOutputElement",ctor:function $(Z,Y,G){l0.call(this,Z,Y,G)},props:s0,attributes:{name:String}});w({tag:"p",name:"HTMLParagraphElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{align:String}});w({tag:"param",name:"HTMLParamElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{name:String,value:String,type:String,valueType:String}});w({tags:["pre","listing","xmp"],name:"HTMLPreElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{width:{type:"long",default:0}}});w({tag:"progress",name:"HTMLProgressElement",ctor:function $(Z,Y,G){l0.call(this,Z,Y,G)},props:s0,attributes:{max:{type:Number,float:!0,default:1,min:0}}});w({tags:["q","blockquote"],name:"HTMLQuoteElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{cite:B0}});w({tag:"script",name:"HTMLScriptElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},props:{text:{get:function(){var $="";for(var Z=0,Y=this.childNodes.length;Z<Y;Z++){var G=this.childNodes[Z];if(G.nodeType===M$.TEXT_NODE)$+=G._data}return $},set:function($){if(this.removeChildren(),$!==null&&$!=="")this.appendChild(this.ownerDocument.createTextNode($))}}},attributes:{src:B0,type:String,charset:String,referrerPolicy:Y6,defer:Boolean,async:Boolean,nomodule:Boolean,crossOrigin:N8,nonce:String,integrity:String}});w({tag:"select",name:"HTMLSelectElement",ctor:function $(Z,Y,G){l0.call(this,Z,Y,G)},props:{form:s0.form,options:{get:function(){return this.getElementsByTagName("option")}}},attributes:{autocomplete:String,name:String,disabled:Boolean,autofocus:Boolean,multiple:Boolean,required:Boolean,size:{type:"unsigned long",default:0}}});w({tag:"span",name:"HTMLSpanElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)}});w({tag:"style",name:"HTMLStyleElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{media:String,type:String,scoped:Boolean}});w({tag:"caption",name:"HTMLTableCaptionElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{align:String}});w({name:"HTMLTableCellElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{colSpan:{type:"unsigned long",default:1},rowSpan:{type:"unsigned long",default:1},scope:{type:["row","col","rowgroup","colgroup"],missing:""},abbr:String,align:String,axis:String,height:String,width:String,ch:{name:"char",type:String},chOff:{name:"charoff",type:String},noWrap:Boolean,vAlign:String,bgColor:{type:String,treatNullAsEmptyString:!0}}});w({tags:["col","colgroup"],name:"HTMLTableColElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{span:{type:"limited unsigned long with fallback",default:1,min:1},align:String,ch:{name:"char",type:String},chOff:{name:"charoff",type:String},vAlign:String,width:String}});w({tag:"table",name:"HTMLTableElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},props:{rows:{get:function(){return this.getElementsByTagName("tr")}}},attributes:{align:String,border:String,frame:String,rules:String,summary:String,width:String,bgColor:{type:String,treatNullAsEmptyString:!0},cellPadding:{type:String,treatNullAsEmptyString:!0},cellSpacing:{type:String,treatNullAsEmptyString:!0}}});w({tag:"template",name:"HTMLTemplateElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G),this._contentFragment=Z._templateDoc.createDocumentFragment()},props:{content:{get:function(){return this._contentFragment}},serialize:{value:function(){return this.content.serialize()}}}});w({tag:"tr",name:"HTMLTableRowElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},props:{cells:{get:function(){return this.querySelectorAll("td,th")}}},attributes:{align:String,ch:{name:"char",type:String},chOff:{name:"charoff",type:String},vAlign:String,bgColor:{type:String,treatNullAsEmptyString:!0}}});w({tags:["thead","tfoot","tbody"],name:"HTMLTableSectionElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},props:{rows:{get:function(){return this.getElementsByTagName("tr")}}},attributes:{align:String,ch:{name:"char",type:String},chOff:{name:"charoff",type:String},vAlign:String}});w({tag:"textarea",name:"HTMLTextAreaElement",ctor:function $(Z,Y,G){l0.call(this,Z,Y,G)},props:{form:s0.form,type:{get:function(){return"textarea"}},defaultValue:{get:function(){return this.textContent},set:function($){this.textContent=$}},value:{get:function(){return this.defaultValue},set:function($){this.defaultValue=$}},textLength:{get:function(){return this.value.length}}},attributes:{autocomplete:String,name:String,disabled:Boolean,autofocus:Boolean,placeholder:String,wrap:String,dirName:String,required:Boolean,readOnly:Boolean,rows:{type:"limited unsigned long with fallback",default:2},cols:{type:"limited unsigned long with fallback",default:20},maxLength:{type:"unsigned long",min:0,setmin:0,default:-1},minLength:{type:"unsigned long",min:0,setmin:0,default:-1},inputMode:{type:["verbatim","latin","latin-name","latin-prose","full-width-latin","kana","kana-name","katakana","numeric","tel","email","url"],missing:""}}});w({tag:"time",name:"HTMLTimeElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{dateTime:String,pubDate:Boolean}});w({tag:"title",name:"HTMLTitleElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},props:{text:{get:function(){return this.textContent}}}});w({tag:"ul",name:"HTMLUListElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{type:String,compact:Boolean}});w({name:"HTMLMediaElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{src:B0,crossOrigin:N8,preload:{type:["metadata","none","auto",{value:"",alias:"auto"}],missing:"auto"},loop:Boolean,autoplay:Boolean,mediaGroup:String,controls:Boolean,defaultMuted:{name:"muted",type:Boolean}}});w({name:"HTMLAudioElement",tag:"audio",superclass:H1.HTMLMediaElement,ctor:function $(Z,Y,G){H1.HTMLMediaElement.call(this,Z,Y,G)}});w({name:"HTMLVideoElement",tag:"video",superclass:H1.HTMLMediaElement,ctor:function $(Z,Y,G){H1.HTMLMediaElement.call(this,Z,Y,G)},attributes:{poster:B0,width:{type:"unsigned long",min:0,default:0},height:{type:"unsigned long",min:0,default:0}}});w({tag:"td",name:"HTMLTableDataCellElement",superclass:H1.HTMLTableCellElement,ctor:function $(Z,Y,G){H1.HTMLTableCellElement.call(this,Z,Y,G)}});w({tag:"th",name:"HTMLTableHeaderCellElement",superclass:H1.HTMLTableCellElement,ctor:function $(Z,Y,G){H1.HTMLTableCellElement.call(this,Z,Y,G)}});w({tag:"frameset",name:"HTMLFrameSetElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)}});w({tag:"frame",name:"HTMLFrameElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)}});w({tag:"canvas",name:"HTMLCanvasElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},props:{getContext:{value:k0.nyi},probablySupportsContext:{value:k0.nyi},setContext:{value:k0.nyi},transferControlToProxy:{value:k0.nyi},toDataURL:{value:k0.nyi},toBlob:{value:k0.nyi}},attributes:{width:{type:"unsigned long",default:300},height:{type:"unsigned long",default:150}}});w({tag:"dialog",name:"HTMLDialogElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},props:{show:{value:k0.nyi},showModal:{value:k0.nyi},close:{value:k0.nyi}},attributes:{open:Boolean,returnValue:String}});w({tag:"menuitem",name:"HTMLMenuItemElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},props:{_label:{get:function(){var $=this._getattr("label");if($!==null&&$!=="")return $;return $=this.textContent,$.replace(/[ \t\n\f\r]+/g," ").trim()}},label:{get:function(){var $=this._getattr("label");if($!==null)return $;return this._label},set:function($){this._setattr("label",$)}}},attributes:{type:{type:["command","checkbox","radio"],missing:"command"},icon:B0,disabled:Boolean,checked:Boolean,radiogroup:String,default:Boolean}});w({tag:"source",name:"HTMLSourceElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{srcset:String,sizes:String,media:String,src:B0,type:String,width:String,height:String}});w({tag:"track",name:"HTMLTrackElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{src:B0,srclang:String,label:String,default:Boolean,kind:{type:["subtitles","captions","descriptions","chapters","metadata"],missing:"subtitles",invalid:"metadata"}},props:{NONE:{get:function(){return 0}},LOADING:{get:function(){return 1}},LOADED:{get:function(){return 2}},ERROR:{get:function(){return 3}},readyState:{get:k0.nyi},track:{get:k0.nyi}}});w({tag:"font",name:"HTMLFontElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{color:{type:String,treatNullAsEmptyString:!0},face:{type:String},size:{type:String}}});w({tag:"dir",name:"HTMLDirectoryElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{compact:Boolean}});w({tags:["abbr","address","article","aside","b","bdi","bdo","cite","content","code","dd","dfn","dt","em","figcaption","figure","footer","header","hgroup","i","kbd","main","mark","nav","noscript","rb","rp","rt","rtc","ruby","s","samp","section","small","strong","sub","summary","sup","u","var","wbr","acronym","basefont","big","center","nobr","noembed","noframes","plaintext","strike","tt"]})});var R$=C((XW)=>{var l2=$6(),YW=L$(),GW=V0(),QW=E8(),zW=XW.elements={},s2=Object.create(null);XW.createElement=function($,Z,Y){var G=s2[Z]||w$;return new G($,Z,Y)};function P$($){return YW($,w$,zW,s2)}var w$=P$({superclass:l2,name:"SVGElement",ctor:function $(Z,Y,G){l2.call(this,Z,Y,GW.NAMESPACE.SVG,G)},props:{style:{get:function(){if(!this._style)this._style=new QW(this);return this._style}}}});P$({name:"SVGSVGElement",ctor:function $(Z,Y,G){w$.call(this,Z,Y,G)},tag:"svg",props:{createSVGRect:{value:function(){return XW.createElement(this.ownerDocument,"rect",null)}}}});P$({tags:["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"]})});var n2=C((JB,r2)=>{r2.exports={VALUE:1,ATTR:2,REMOVE_ATTR:3,REMOVE:4,MOVE:5,INSERT:6}});var k8=C((VB,XY)=>{XY.exports=h6;var A0=I0(),WW=v1(),YY=S8(),R1=$6(),JW=X$(),VW=J$(),f6=s1(),BW=B$(),HW=_$(),_W=g6(),jW=S2(),qW=P2(),a2=y6(),t2=b8(),e2=M8(),KW=O$(),x8=D8(),T$=y8(),UW=R$(),l=V0(),G6=n2(),z6=l.NAMESPACE,C$=U8().isApiWritable;function h6($,Z){YY.call(this),this.nodeType=A0.DOCUMENT_NODE,this.isHTML=$,this._address=Z||"about:blank",this.readyState="loading",this.implementation=new _W(this),this.ownerDocument=null,this._contentType=$?"text/html":"application/xml",this.doctype=null,this.documentElement=null,this._templateDocCache=null,this._nodeIterators=null,this._nid=1,this._nextnid=2,this._nodes=[null,this],this.byId=Object.create(null),this.modclock=0}var FW={event:"Event",customevent:"CustomEvent",uievent:"UIEvent",mouseevent:"MouseEvent"},IW={events:"event",htmlevents:"event",mouseevents:"mouseevent",mutationevents:"mutationevent",uievents:"uievent"},Q6=function($,Z,Y){return{get:function(){var G=$.call(this);if(G)return G[Z];return Y},set:function(G){var Q=$.call(this);if(Q)Q[Z]=G}}};function $Y($,Z){var Y,G,Q;if($==="")$=null;if(!x8.isValidQName(Z))l.InvalidCharacterError();if(Y=null,G=Z,Q=Z.indexOf(":"),Q>=0)Y=Z.substring(0,Q),G=Z.substring(Q+1);if(Y!==null&&$===null)l.NamespaceError();if(Y==="xml"&&$!==z6.XML)l.NamespaceError();if((Y==="xmlns"||Z==="xmlns")&&$!==z6.XMLNS)l.NamespaceError();if($===z6.XMLNS&&!(Y==="xmlns"||Z==="xmlns"))l.NamespaceError();return{namespace:$,prefix:Y,localName:G}}h6.prototype=Object.create(YY.prototype,{_setMutationHandler:{value:function($){this.mutationHandler=$}},_dispatchRendererEvent:{value:function($,Z,Y){var G=this._nodes[$];if(!G)return;G._dispatchEvent(new f6(Z,Y),!0)}},nodeName:{value:"#document"},nodeValue:{get:function(){return null},set:function(){}},documentURI:{get:function(){return this._address},set:l.nyi},compatMode:{get:function(){return this._quirks?"BackCompat":"CSS1Compat"}},createTextNode:{value:function($){return new JW(this,String($))}},createComment:{value:function($){return new VW(this,$)}},createDocumentFragment:{value:function(){return new BW(this)}},createProcessingInstruction:{value:function($,Z){if(!x8.isValidName($)||Z.indexOf("?>")!==-1)l.InvalidCharacterError();return new HW(this,$,Z)}},createAttribute:{value:function($){if($=String($),!x8.isValidName($))l.InvalidCharacterError();if(this.isHTML)$=l.toASCIILowerCase($);return new R1._Attr(null,$,null,null,"")}},createAttributeNS:{value:function($,Z){$=$===null||$===void 0||$===""?null:String($),Z=String(Z);var Y=$Y($,Z);return new R1._Attr(null,Y.localName,Y.prefix,Y.namespace,"")}},createElement:{value:function($){if($=String($),!x8.isValidName($))l.InvalidCharacterError();if(this.isHTML){if(/[A-Z]/.test($))$=l.toASCIILowerCase($);return T$.createElement(this,$,null)}else if(this.contentType==="application/xhtml+xml")return T$.createElement(this,$,null);else return new R1(this,$,null,null)},writable:C$},createElementNS:{value:function($,Z){$=$===null||$===void 0||$===""?null:String($),Z=String(Z);var Y=$Y($,Z);return this._createElementNS(Y.localName,Y.namespace,Y.prefix)},writable:C$},_createElementNS:{value:function($,Z,Y){if(Z===z6.HTML)return T$.createElement(this,$,Y);else if(Z===z6.SVG)return UW.createElement(this,$,Y);return new R1(this,$,Z,Y)}},createEvent:{value:function $(Z){Z=Z.toLowerCase();var Y=IW[Z]||Z,G=KW[FW[Y]];if(G){var Q=new G;return Q._initialized=!1,Q}else l.NotSupportedError()}},createTreeWalker:{value:function($,Z,Y){if(!$)throw new TypeError("root argument is required");if(!($ instanceof A0))throw new TypeError("root not a node");return Z=Z===void 0?a2.SHOW_ALL:+Z,Y=Y===void 0?null:Y,new jW($,Z,Y)}},createNodeIterator:{value:function($,Z,Y){if(!$)throw new TypeError("root argument is required");if(!($ instanceof A0))throw new TypeError("root not a node");return Z=Z===void 0?a2.SHOW_ALL:+Z,Y=Y===void 0?null:Y,new qW($,Z,Y)}},_attachNodeIterator:{value:function($){if(!this._nodeIterators)this._nodeIterators=[];this._nodeIterators.push($)}},_detachNodeIterator:{value:function($){var Z=this._nodeIterators.indexOf($);this._nodeIterators.splice(Z,1)}},_preremoveNodeIterators:{value:function($){if(this._nodeIterators)this._nodeIterators.forEach(function(Z){Z._preremove($)})}},_updateDocTypeElement:{value:function $(){this.doctype=this.documentElement=null;for(var Z=this.firstChild;Z!==null;Z=Z.nextSibling)if(Z.nodeType===A0.DOCUMENT_TYPE_NODE)this.doctype=Z;else if(Z.nodeType===A0.ELEMENT_NODE)this.documentElement=Z}},insertBefore:{value:function $(Z,Y){return A0.prototype.insertBefore.call(this,Z,Y),this._updateDocTypeElement(),Z}},replaceChild:{value:function $(Z,Y){return A0.prototype.replaceChild.call(this,Z,Y),this._updateDocTypeElement(),Y}},removeChild:{value:function $(Z){return A0.prototype.removeChild.call(this,Z),this._updateDocTypeElement(),Z}},getElementById:{value:function($){var Z=this.byId[$];if(!Z)return null;if(Z instanceof _1)return Z.getFirst();return Z}},_hasMultipleElementsWithId:{value:function($){return this.byId[$]instanceof _1}},getElementsByName:{value:R1.prototype.getElementsByName},getElementsByTagName:{value:R1.prototype.getElementsByTagName},getElementsByTagNameNS:{value:R1.prototype.getElementsByTagNameNS},getElementsByClassName:{value:R1.prototype.getElementsByClassName},adoptNode:{value:function $(Z){if(Z.nodeType===A0.DOCUMENT_NODE)l.NotSupportedError();if(Z.nodeType===A0.ATTRIBUTE_NODE)return Z;if(Z.parentNode)Z.parentNode.removeChild(Z);if(Z.ownerDocument!==this)zY(Z,this);return Z}},importNode:{value:function $(Z,Y){return this.adoptNode(Z.cloneNode(Y))},writable:C$},origin:{get:function $(){return null}},characterSet:{get:function $(){return"UTF-8"}},contentType:{get:function $(){return this._contentType}},URL:{get:function $(){return this._address}},domain:{get:l.nyi,set:l.nyi},referrer:{get:l.nyi},cookie:{get:l.nyi,set:l.nyi},lastModified:{get:l.nyi},location:{get:function(){return this.defaultView?this.defaultView.location:null},set:l.nyi},_titleElement:{get:function(){return this.getElementsByTagName("title").item(0)||null}},title:{get:function(){var $=this._titleElement,Z=$?$.textContent:"";return Z.replace(/[ \t\n\r\f]+/g," ").replace(/(^ )|( $)/g,"")},set:function($){var Z=this._titleElement,Y=this.head;if(!Z&&!Y)return;if(!Z)Z=this.createElement("title"),Y.appendChild(Z);Z.textContent=$}},dir:Q6(function(){var $=this.documentElement;if($&&$.tagName==="HTML")return $},"dir",""),fgColor:Q6(function(){return this.body},"text",""),linkColor:Q6(function(){return this.body},"link",""),vlinkColor:Q6(function(){return this.body},"vLink",""),alinkColor:Q6(function(){return this.body},"aLink",""),bgColor:Q6(function(){return this.body},"bgColor",""),charset:{get:function(){return this.characterSet}},inputEncoding:{get:function(){return this.characterSet}},scrollingElement:{get:function(){return this._quirks?this.body:this.documentElement}},body:{get:function(){return ZY(this.documentElement,"body")},set:l.nyi},head:{get:function(){return ZY(this.documentElement,"head")}},images:{get:l.nyi},embeds:{get:l.nyi},plugins:{get:l.nyi},links:{get:l.nyi},forms:{get:l.nyi},scripts:{get:l.nyi},applets:{get:function(){return[]}},activeElement:{get:function(){return null}},innerHTML:{get:function(){return this.serialize()},set:l.nyi},outerHTML:{get:function(){return this.serialize()},set:l.nyi},write:{value:function($){if(!this.isHTML)l.InvalidStateError();if(!this._parser)return;if(!this._parser);var Z=arguments.join("");this._parser.parse(Z)}},writeln:{value:function $(Z){this.write(Array.prototype.join.call(arguments,"")+`
28
- `)}},open:{value:function(){this.documentElement=null}},close:{value:function(){if(this.readyState="interactive",this._dispatchEvent(new f6("readystatechange"),!0),this._dispatchEvent(new f6("DOMContentLoaded"),!0),this.readyState="complete",this._dispatchEvent(new f6("readystatechange"),!0),this.defaultView)this.defaultView._dispatchEvent(new f6("load"),!0)}},clone:{value:function $(){var Z=new h6(this.isHTML,this._address);return Z._quirks=this._quirks,Z._contentType=this._contentType,Z}},cloneNode:{value:function $(Z){var Y=A0.prototype.cloneNode.call(this,!1);if(Z)for(var G=this.firstChild;G!==null;G=G.nextSibling)Y._appendChild(Y.importNode(G,!0));return Y._updateDocTypeElement(),Y}},isEqual:{value:function $(Z){return!0}},mutateValue:{value:function($){if(this.mutationHandler)this.mutationHandler({type:G6.VALUE,target:$,data:$.data})}},mutateAttr:{value:function($,Z){if(this.mutationHandler)this.mutationHandler({type:G6.ATTR,target:$.ownerElement,attr:$})}},mutateRemoveAttr:{value:function($){if(this.mutationHandler)this.mutationHandler({type:G6.REMOVE_ATTR,target:$.ownerElement,attr:$})}},mutateRemove:{value:function($){if(this.mutationHandler)this.mutationHandler({type:G6.REMOVE,target:$.parentNode,node:$});QY($)}},mutateInsert:{value:function($){if(GY($),this.mutationHandler)this.mutationHandler({type:G6.INSERT,target:$.parentNode,node:$})}},mutateMove:{value:function($){if(this.mutationHandler)this.mutationHandler({type:G6.MOVE,target:$})}},addId:{value:function $(Z,Y){var G=this.byId[Z];if(!G)this.byId[Z]=Y;else{if(!(G instanceof _1))G=new _1(G),this.byId[Z]=G;G.add(Y)}}},delId:{value:function $(Z,Y){var G=this.byId[Z];if(l.assert(G),G instanceof _1){if(G.del(Y),G.length===1)this.byId[Z]=G.downgrade()}else this.byId[Z]=void 0}},_resolve:{value:function($){return new t2(this._documentBaseURL).resolve($)}},_documentBaseURL:{get:function(){var $=this._address;if($==="about:blank")$="/";var Z=this.querySelector("base[href]");if(Z)return new t2($).resolve(Z.getAttribute("href"));return $}},_templateDoc:{get:function(){if(!this._templateDocCache){var $=new h6(this.isHTML,this._address);this._templateDocCache=$._templateDocCache=$}return this._templateDocCache}},querySelector:{value:function($){return e2($,this)[0]}},querySelectorAll:{value:function($){var Z=e2($,this);return Z.item?Z:new WW(Z)}}});var SW=["abort","canplay","canplaythrough","change","click","contextmenu","cuechange","dblclick","drag","dragend","dragenter","dragleave","dragover","dragstart","drop","durationchange","emptied","ended","input","invalid","keydown","keypress","keyup","loadeddata","loadedmetadata","loadstart","mousedown","mousemove","mouseout","mouseover","mouseup","mousewheel","pause","play","playing","progress","ratechange","readystatechange","reset","seeked","seeking","select","show","stalled","submit","suspend","timeupdate","volumechange","waiting","blur","error","focus","load","scroll"];SW.forEach(function($){Object.defineProperty(h6.prototype,"on"+$,{get:function(){return this._getEventHandler($)},set:function(Z){this._setEventHandler($,Z)}})});function ZY($,Z){if($&&$.isHTML){for(var Y=$.firstChild;Y!==null;Y=Y.nextSibling)if(Y.nodeType===A0.ELEMENT_NODE&&Y.localName===Z&&Y.namespaceURI===z6.HTML)return Y}return null}function DW($){if($._nid=$.ownerDocument._nextnid++,$.ownerDocument._nodes[$._nid]=$,$.nodeType===A0.ELEMENT_NODE){var Z=$.getAttribute("id");if(Z)$.ownerDocument.addId(Z,$);if($._roothook)$._roothook()}}function OW($){if($.nodeType===A0.ELEMENT_NODE){var Z=$.getAttribute("id");if(Z)$.ownerDocument.delId(Z,$)}$.ownerDocument._nodes[$._nid]=void 0,$._nid=void 0}function GY($){if(DW($),$.nodeType===A0.ELEMENT_NODE)for(var Z=$.firstChild;Z!==null;Z=Z.nextSibling)GY(Z)}function QY($){OW($);for(var Z=$.firstChild;Z!==null;Z=Z.nextSibling)QY(Z)}function zY($,Z){if($.ownerDocument=Z,$._lastModTime=void 0,Object.prototype.hasOwnProperty.call($,"_tagName"))$._tagName=void 0;for(var Y=$.firstChild;Y!==null;Y=Y.nextSibling)zY(Y,Z)}function _1($){this.nodes=Object.create(null),this.nodes[$._nid]=$,this.length=1,this.firstNode=void 0}_1.prototype.add=function($){if(!this.nodes[$._nid])this.nodes[$._nid]=$,this.length++,this.firstNode=void 0};_1.prototype.del=function($){if(this.nodes[$._nid])delete this.nodes[$._nid],this.length--,this.firstNode=void 0};_1.prototype.getFirst=function(){if(!this.firstNode){var $;for($ in this.nodes)if(this.firstNode===void 0||this.firstNode.compareDocumentPosition(this.nodes[$])&A0.DOCUMENT_POSITION_PRECEDING)this.firstNode=this.nodes[$]}return this.firstNode};_1.prototype.downgrade=function(){if(this.length===1){var $;for($ in this.nodes)return this.nodes[$]}return this}});var h8=C((BB,JY)=>{JY.exports=f8;var AW=I0(),WY=Q$(),LW=P8();function f8($,Z,Y,G){WY.call(this),this.nodeType=AW.DOCUMENT_TYPE_NODE,this.ownerDocument=$||null,this.name=Z,this.publicId=Y||"",this.systemId=G||""}f8.prototype=Object.create(WY.prototype,{nodeName:{get:function(){return this.name}},nodeValue:{get:function(){return null},set:function(){}},clone:{value:function $(){return new f8(this.ownerDocument,this.name,this.publicId,this.systemId)}},isEqual:{value:function $(Z){return this.name===Z.name&&this.publicId===Z.publicId&&this.systemId===Z.systemId}}});Object.defineProperties(f8.prototype,LW)});var d8=C((HB,EY)=>{EY.exports=c;var MW=k8(),PW=h8(),b$=I0(),N=V0().NAMESPACE,LY=y8(),n=LY.elements,p1=Function.prototype.apply.bind(Array.prototype.push),g8=-1,X6=1,L0=2,u=3,Y1=4,wW=5,RW=[],TW=/^HTML$|^-\/\/W3O\/\/DTD W3 HTML Strict 3\.0\/\/EN\/\/$|^-\/W3C\/DTD HTML 4\.0 Transitional\/EN$|^\+\/\/Silmaril\/\/dtd html Pro v0r11 19970101\/\/|^-\/\/AdvaSoft Ltd\/\/DTD HTML 3\.0 asWedit \+ extensions\/\/|^-\/\/AS\/\/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\/\/|^-\/\/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\/\/|^-\/\/SQ\/\/DTD HTML 2\.0 HoTMetaL \+ extensions\/\/|^-\/\/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\/\//i,CW="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",VY=/^-\/\/W3C\/\/DTD HTML 4\.01 Frameset\/\/|^-\/\/W3C\/\/DTD HTML 4\.01 Transitional\/\//i,bW=/^-\/\/W3C\/\/DTD XHTML 1\.0 Frameset\/\/|^-\/\/W3C\/\/DTD XHTML 1\.0 Transitional\/\//i,c1=Object.create(null);c1[N.HTML]={__proto__:null,address:!0,applet:!0,area:!0,article:!0,aside:!0,base:!0,basefont:!0,bgsound:!0,blockquote:!0,body:!0,br:!0,button:!0,caption:!0,center:!0,col:!0,colgroup:!0,dd:!0,details:!0,dir:!0,div:!0,dl:!0,dt:!0,embed:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,frame:!0,frameset:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,head:!0,header:!0,hgroup:!0,hr:!0,html:!0,iframe:!0,img:!0,input:!0,li:!0,link:!0,listing:!0,main:!0,marquee:!0,menu:!0,meta:!0,nav:!0,noembed:!0,noframes:!0,noscript:!0,object:!0,ol:!0,p:!0,param:!0,plaintext:!0,pre:!0,script:!0,section:!0,select:!0,source:!0,style:!0,summary:!0,table:!0,tbody:!0,td:!0,template:!0,textarea:!0,tfoot:!0,th:!0,thead:!0,title:!0,tr:!0,track:!0,ul:!0,wbr:!0,xmp:!0};c1[N.SVG]={__proto__:null,foreignObject:!0,desc:!0,title:!0};c1[N.MATHML]={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0};var y$=Object.create(null);y$[N.HTML]={__proto__:null,address:!0,div:!0,p:!0};var MY=Object.create(null);MY[N.HTML]={__proto__:null,dd:!0,dt:!0};var W6=Object.create(null);W6[N.HTML]={__proto__:null,table:!0,thead:!0,tbody:!0,tfoot:!0,tr:!0};var PY=Object.create(null);PY[N.HTML]={__proto__:null,dd:!0,dt:!0,li:!0,menuitem:!0,optgroup:!0,option:!0,p:!0,rb:!0,rp:!0,rt:!0,rtc:!0};var wY=Object.create(null);wY[N.HTML]={__proto__:null,caption:!0,colgroup:!0,dd:!0,dt:!0,li:!0,optgroup:!0,option:!0,p:!0,rb:!0,rp:!0,rt:!0,rtc:!0,tbody:!0,td:!0,tfoot:!0,th:!0,thead:!0,tr:!0};var p8=Object.create(null);p8[N.HTML]={__proto__:null,table:!0,template:!0,html:!0};var u8=Object.create(null);u8[N.HTML]={__proto__:null,tbody:!0,tfoot:!0,thead:!0,template:!0,html:!0};var x$=Object.create(null);x$[N.HTML]={__proto__:null,tr:!0,template:!0,html:!0};var RY=Object.create(null);RY[N.HTML]={__proto__:null,button:!0,fieldset:!0,input:!0,keygen:!0,object:!0,output:!0,select:!0,textarea:!0,img:!0};var G1=Object.create(null);G1[N.HTML]={__proto__:null,applet:!0,caption:!0,html:!0,table:!0,td:!0,th:!0,marquee:!0,object:!0,template:!0};G1[N.MATHML]={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0};G1[N.SVG]={__proto__:null,foreignObject:!0,desc:!0,title:!0};var c8=Object.create(G1);c8[N.HTML]=Object.create(G1[N.HTML]);c8[N.HTML].ol=!0;c8[N.HTML].ul=!0;var k$=Object.create(G1);k$[N.HTML]=Object.create(G1[N.HTML]);k$[N.HTML].button=!0;var TY=Object.create(null);TY[N.HTML]={__proto__:null,html:!0,table:!0,template:!0};var EW=Object.create(null);EW[N.HTML]={__proto__:null,optgroup:!0,option:!0};var CY=Object.create(null);CY[N.MATHML]={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0};var bY=Object.create(null);bY[N.SVG]={__proto__:null,foreignObject:!0,desc:!0,title:!0};var BY={__proto__:null,"xlink:actuate":N.XLINK,"xlink:arcrole":N.XLINK,"xlink:href":N.XLINK,"xlink:role":N.XLINK,"xlink:show":N.XLINK,"xlink:title":N.XLINK,"xlink:type":N.XLINK,"xml:base":N.XML,"xml:lang":N.XML,"xml:space":N.XML,xmlns:N.XMLNS,"xmlns:xlink":N.XMLNS},HY={__proto__:null,attributename:"attributeName",attributetype:"attributeType",basefrequency:"baseFrequency",baseprofile:"baseProfile",calcmode:"calcMode",clippathunits:"clipPathUnits",diffuseconstant:"diffuseConstant",edgemode:"edgeMode",filterunits:"filterUnits",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",limitingconeangle:"limitingConeAngle",markerheight:"markerHeight",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textlength:"textLength",viewbox:"viewBox",viewtarget:"viewTarget",xchannelselector:"xChannelSelector",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan"},_Y={__proto__:null,altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient",textpath:"textPath"},jY={__proto__:null,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},NW={__proto__:null,AElig:198,"AElig;":198,AMP:38,"AMP;":38,Aacute:193,"Aacute;":193,"Abreve;":258,Acirc:194,"Acirc;":194,"Acy;":1040,"Afr;":[55349,56580],Agrave:192,"Agrave;":192,"Alpha;":913,"Amacr;":256,"And;":10835,"Aogon;":260,"Aopf;":[55349,56632],"ApplyFunction;":8289,Aring:197,"Aring;":197,"Ascr;":[55349,56476],"Assign;":8788,Atilde:195,"Atilde;":195,Auml:196,"Auml;":196,"Backslash;":8726,"Barv;":10983,"Barwed;":8966,"Bcy;":1041,"Because;":8757,"Bernoullis;":8492,"Beta;":914,"Bfr;":[55349,56581],"Bopf;":[55349,56633],"Breve;":728,"Bscr;":8492,"Bumpeq;":8782,"CHcy;":1063,COPY:169,"COPY;":169,"Cacute;":262,"Cap;":8914,"CapitalDifferentialD;":8517,"Cayleys;":8493,"Ccaron;":268,Ccedil:199,"Ccedil;":199,"Ccirc;":264,"Cconint;":8752,"Cdot;":266,"Cedilla;":184,"CenterDot;":183,"Cfr;":8493,"Chi;":935,"CircleDot;":8857,"CircleMinus;":8854,"CirclePlus;":8853,"CircleTimes;":8855,"ClockwiseContourIntegral;":8754,"CloseCurlyDoubleQuote;":8221,"CloseCurlyQuote;":8217,"Colon;":8759,"Colone;":10868,"Congruent;":8801,"Conint;":8751,"ContourIntegral;":8750,"Copf;":8450,"Coproduct;":8720,"CounterClockwiseContourIntegral;":8755,"Cross;":10799,"Cscr;":[55349,56478],"Cup;":8915,"CupCap;":8781,"DD;":8517,"DDotrahd;":10513,"DJcy;":1026,"DScy;":1029,"DZcy;":1039,"Dagger;":8225,"Darr;":8609,"Dashv;":10980,"Dcaron;":270,"Dcy;":1044,"Del;":8711,"Delta;":916,"Dfr;":[55349,56583],"DiacriticalAcute;":180,"DiacriticalDot;":729,"DiacriticalDoubleAcute;":733,"DiacriticalGrave;":96,"DiacriticalTilde;":732,"Diamond;":8900,"DifferentialD;":8518,"Dopf;":[55349,56635],"Dot;":168,"DotDot;":8412,"DotEqual;":8784,"DoubleContourIntegral;":8751,"DoubleDot;":168,"DoubleDownArrow;":8659,"DoubleLeftArrow;":8656,"DoubleLeftRightArrow;":8660,"DoubleLeftTee;":10980,"DoubleLongLeftArrow;":10232,"DoubleLongLeftRightArrow;":10234,"DoubleLongRightArrow;":10233,"DoubleRightArrow;":8658,"DoubleRightTee;":8872,"DoubleUpArrow;":8657,"DoubleUpDownArrow;":8661,"DoubleVerticalBar;":8741,"DownArrow;":8595,"DownArrowBar;":10515,"DownArrowUpArrow;":8693,"DownBreve;":785,"DownLeftRightVector;":10576,"DownLeftTeeVector;":10590,"DownLeftVector;":8637,"DownLeftVectorBar;":10582,"DownRightTeeVector;":10591,"DownRightVector;":8641,"DownRightVectorBar;":10583,"DownTee;":8868,"DownTeeArrow;":8615,"Downarrow;":8659,"Dscr;":[55349,56479],"Dstrok;":272,"ENG;":330,ETH:208,"ETH;":208,Eacute:201,"Eacute;":201,"Ecaron;":282,Ecirc:202,"Ecirc;":202,"Ecy;":1069,"Edot;":278,"Efr;":[55349,56584],Egrave:200,"Egrave;":200,"Element;":8712,"Emacr;":274,"EmptySmallSquare;":9723,"EmptyVerySmallSquare;":9643,"Eogon;":280,"Eopf;":[55349,56636],"Epsilon;":917,"Equal;":10869,"EqualTilde;":8770,"Equilibrium;":8652,"Escr;":8496,"Esim;":10867,"Eta;":919,Euml:203,"Euml;":203,"Exists;":8707,"ExponentialE;":8519,"Fcy;":1060,"Ffr;":[55349,56585],"FilledSmallSquare;":9724,"FilledVerySmallSquare;":9642,"Fopf;":[55349,56637],"ForAll;":8704,"Fouriertrf;":8497,"Fscr;":8497,"GJcy;":1027,GT:62,"GT;":62,"Gamma;":915,"Gammad;":988,"Gbreve;":286,"Gcedil;":290,"Gcirc;":284,"Gcy;":1043,"Gdot;":288,"Gfr;":[55349,56586],"Gg;":8921,"Gopf;":[55349,56638],"GreaterEqual;":8805,"GreaterEqualLess;":8923,"GreaterFullEqual;":8807,"GreaterGreater;":10914,"GreaterLess;":8823,"GreaterSlantEqual;":10878,"GreaterTilde;":8819,"Gscr;":[55349,56482],"Gt;":8811,"HARDcy;":1066,"Hacek;":711,"Hat;":94,"Hcirc;":292,"Hfr;":8460,"HilbertSpace;":8459,"Hopf;":8461,"HorizontalLine;":9472,"Hscr;":8459,"Hstrok;":294,"HumpDownHump;":8782,"HumpEqual;":8783,"IEcy;":1045,"IJlig;":306,"IOcy;":1025,Iacute:205,"Iacute;":205,Icirc:206,"Icirc;":206,"Icy;":1048,"Idot;":304,"Ifr;":8465,Igrave:204,"Igrave;":204,"Im;":8465,"Imacr;":298,"ImaginaryI;":8520,"Implies;":8658,"Int;":8748,"Integral;":8747,"Intersection;":8898,"InvisibleComma;":8291,"InvisibleTimes;":8290,"Iogon;":302,"Iopf;":[55349,56640],"Iota;":921,"Iscr;":8464,"Itilde;":296,"Iukcy;":1030,Iuml:207,"Iuml;":207,"Jcirc;":308,"Jcy;":1049,"Jfr;":[55349,56589],"Jopf;":[55349,56641],"Jscr;":[55349,56485],"Jsercy;":1032,"Jukcy;":1028,"KHcy;":1061,"KJcy;":1036,"Kappa;":922,"Kcedil;":310,"Kcy;":1050,"Kfr;":[55349,56590],"Kopf;":[55349,56642],"Kscr;":[55349,56486],"LJcy;":1033,LT:60,"LT;":60,"Lacute;":313,"Lambda;":923,"Lang;":10218,"Laplacetrf;":8466,"Larr;":8606,"Lcaron;":317,"Lcedil;":315,"Lcy;":1051,"LeftAngleBracket;":10216,"LeftArrow;":8592,"LeftArrowBar;":8676,"LeftArrowRightArrow;":8646,"LeftCeiling;":8968,"LeftDoubleBracket;":10214,"LeftDownTeeVector;":10593,"LeftDownVector;":8643,"LeftDownVectorBar;":10585,"LeftFloor;":8970,"LeftRightArrow;":8596,"LeftRightVector;":10574,"LeftTee;":8867,"LeftTeeArrow;":8612,"LeftTeeVector;":10586,"LeftTriangle;":8882,"LeftTriangleBar;":10703,"LeftTriangleEqual;":8884,"LeftUpDownVector;":10577,"LeftUpTeeVector;":10592,"LeftUpVector;":8639,"LeftUpVectorBar;":10584,"LeftVector;":8636,"LeftVectorBar;":10578,"Leftarrow;":8656,"Leftrightarrow;":8660,"LessEqualGreater;":8922,"LessFullEqual;":8806,"LessGreater;":8822,"LessLess;":10913,"LessSlantEqual;":10877,"LessTilde;":8818,"Lfr;":[55349,56591],"Ll;":8920,"Lleftarrow;":8666,"Lmidot;":319,"LongLeftArrow;":10229,"LongLeftRightArrow;":10231,"LongRightArrow;":10230,"Longleftarrow;":10232,"Longleftrightarrow;":10234,"Longrightarrow;":10233,"Lopf;":[55349,56643],"LowerLeftArrow;":8601,"LowerRightArrow;":8600,"Lscr;":8466,"Lsh;":8624,"Lstrok;":321,"Lt;":8810,"Map;":10501,"Mcy;":1052,"MediumSpace;":8287,"Mellintrf;":8499,"Mfr;":[55349,56592],"MinusPlus;":8723,"Mopf;":[55349,56644],"Mscr;":8499,"Mu;":924,"NJcy;":1034,"Nacute;":323,"Ncaron;":327,"Ncedil;":325,"Ncy;":1053,"NegativeMediumSpace;":8203,"NegativeThickSpace;":8203,"NegativeThinSpace;":8203,"NegativeVeryThinSpace;":8203,"NestedGreaterGreater;":8811,"NestedLessLess;":8810,"NewLine;":10,"Nfr;":[55349,56593],"NoBreak;":8288,"NonBreakingSpace;":160,"Nopf;":8469,"Not;":10988,"NotCongruent;":8802,"NotCupCap;":8813,"NotDoubleVerticalBar;":8742,"NotElement;":8713,"NotEqual;":8800,"NotEqualTilde;":[8770,824],"NotExists;":8708,"NotGreater;":8815,"NotGreaterEqual;":8817,"NotGreaterFullEqual;":[8807,824],"NotGreaterGreater;":[8811,824],"NotGreaterLess;":8825,"NotGreaterSlantEqual;":[10878,824],"NotGreaterTilde;":8821,"NotHumpDownHump;":[8782,824],"NotHumpEqual;":[8783,824],"NotLeftTriangle;":8938,"NotLeftTriangleBar;":[10703,824],"NotLeftTriangleEqual;":8940,"NotLess;":8814,"NotLessEqual;":8816,"NotLessGreater;":8824,"NotLessLess;":[8810,824],"NotLessSlantEqual;":[10877,824],"NotLessTilde;":8820,"NotNestedGreaterGreater;":[10914,824],"NotNestedLessLess;":[10913,824],"NotPrecedes;":8832,"NotPrecedesEqual;":[10927,824],"NotPrecedesSlantEqual;":8928,"NotReverseElement;":8716,"NotRightTriangle;":8939,"NotRightTriangleBar;":[10704,824],"NotRightTriangleEqual;":8941,"NotSquareSubset;":[8847,824],"NotSquareSubsetEqual;":8930,"NotSquareSuperset;":[8848,824],"NotSquareSupersetEqual;":8931,"NotSubset;":[8834,8402],"NotSubsetEqual;":8840,"NotSucceeds;":8833,"NotSucceedsEqual;":[10928,824],"NotSucceedsSlantEqual;":8929,"NotSucceedsTilde;":[8831,824],"NotSuperset;":[8835,8402],"NotSupersetEqual;":8841,"NotTilde;":8769,"NotTildeEqual;":8772,"NotTildeFullEqual;":8775,"NotTildeTilde;":8777,"NotVerticalBar;":8740,"Nscr;":[55349,56489],Ntilde:209,"Ntilde;":209,"Nu;":925,"OElig;":338,Oacute:211,"Oacute;":211,Ocirc:212,"Ocirc;":212,"Ocy;":1054,"Odblac;":336,"Ofr;":[55349,56594],Ograve:210,"Ograve;":210,"Omacr;":332,"Omega;":937,"Omicron;":927,"Oopf;":[55349,56646],"OpenCurlyDoubleQuote;":8220,"OpenCurlyQuote;":8216,"Or;":10836,"Oscr;":[55349,56490],Oslash:216,"Oslash;":216,Otilde:213,"Otilde;":213,"Otimes;":10807,Ouml:214,"Ouml;":214,"OverBar;":8254,"OverBrace;":9182,"OverBracket;":9140,"OverParenthesis;":9180,"PartialD;":8706,"Pcy;":1055,"Pfr;":[55349,56595],"Phi;":934,"Pi;":928,"PlusMinus;":177,"Poincareplane;":8460,"Popf;":8473,"Pr;":10939,"Precedes;":8826,"PrecedesEqual;":10927,"PrecedesSlantEqual;":8828,"PrecedesTilde;":8830,"Prime;":8243,"Product;":8719,"Proportion;":8759,"Proportional;":8733,"Pscr;":[55349,56491],"Psi;":936,QUOT:34,"QUOT;":34,"Qfr;":[55349,56596],"Qopf;":8474,"Qscr;":[55349,56492],"RBarr;":10512,REG:174,"REG;":174,"Racute;":340,"Rang;":10219,"Rarr;":8608,"Rarrtl;":10518,"Rcaron;":344,"Rcedil;":342,"Rcy;":1056,"Re;":8476,"ReverseElement;":8715,"ReverseEquilibrium;":8651,"ReverseUpEquilibrium;":10607,"Rfr;":8476,"Rho;":929,"RightAngleBracket;":10217,"RightArrow;":8594,"RightArrowBar;":8677,"RightArrowLeftArrow;":8644,"RightCeiling;":8969,"RightDoubleBracket;":10215,"RightDownTeeVector;":10589,"RightDownVector;":8642,"RightDownVectorBar;":10581,"RightFloor;":8971,"RightTee;":8866,"RightTeeArrow;":8614,"RightTeeVector;":10587,"RightTriangle;":8883,"RightTriangleBar;":10704,"RightTriangleEqual;":8885,"RightUpDownVector;":10575,"RightUpTeeVector;":10588,"RightUpVector;":8638,"RightUpVectorBar;":10580,"RightVector;":8640,"RightVectorBar;":10579,"Rightarrow;":8658,"Ropf;":8477,"RoundImplies;":10608,"Rrightarrow;":8667,"Rscr;":8475,"Rsh;":8625,"RuleDelayed;":10740,"SHCHcy;":1065,"SHcy;":1064,"SOFTcy;":1068,"Sacute;":346,"Sc;":10940,"Scaron;":352,"Scedil;":350,"Scirc;":348,"Scy;":1057,"Sfr;":[55349,56598],"ShortDownArrow;":8595,"ShortLeftArrow;":8592,"ShortRightArrow;":8594,"ShortUpArrow;":8593,"Sigma;":931,"SmallCircle;":8728,"Sopf;":[55349,56650],"Sqrt;":8730,"Square;":9633,"SquareIntersection;":8851,"SquareSubset;":8847,"SquareSubsetEqual;":8849,"SquareSuperset;":8848,"SquareSupersetEqual;":8850,"SquareUnion;":8852,"Sscr;":[55349,56494],"Star;":8902,"Sub;":8912,"Subset;":8912,"SubsetEqual;":8838,"Succeeds;":8827,"SucceedsEqual;":10928,"SucceedsSlantEqual;":8829,"SucceedsTilde;":8831,"SuchThat;":8715,"Sum;":8721,"Sup;":8913,"Superset;":8835,"SupersetEqual;":8839,"Supset;":8913,THORN:222,"THORN;":222,"TRADE;":8482,"TSHcy;":1035,"TScy;":1062,"Tab;":9,"Tau;":932,"Tcaron;":356,"Tcedil;":354,"Tcy;":1058,"Tfr;":[55349,56599],"Therefore;":8756,"Theta;":920,"ThickSpace;":[8287,8202],"ThinSpace;":8201,"Tilde;":8764,"TildeEqual;":8771,"TildeFullEqual;":8773,"TildeTilde;":8776,"Topf;":[55349,56651],"TripleDot;":8411,"Tscr;":[55349,56495],"Tstrok;":358,Uacute:218,"Uacute;":218,"Uarr;":8607,"Uarrocir;":10569,"Ubrcy;":1038,"Ubreve;":364,Ucirc:219,"Ucirc;":219,"Ucy;":1059,"Udblac;":368,"Ufr;":[55349,56600],Ugrave:217,"Ugrave;":217,"Umacr;":362,"UnderBar;":95,"UnderBrace;":9183,"UnderBracket;":9141,"UnderParenthesis;":9181,"Union;":8899,"UnionPlus;":8846,"Uogon;":370,"Uopf;":[55349,56652],"UpArrow;":8593,"UpArrowBar;":10514,"UpArrowDownArrow;":8645,"UpDownArrow;":8597,"UpEquilibrium;":10606,"UpTee;":8869,"UpTeeArrow;":8613,"Uparrow;":8657,"Updownarrow;":8661,"UpperLeftArrow;":8598,"UpperRightArrow;":8599,"Upsi;":978,"Upsilon;":933,"Uring;":366,"Uscr;":[55349,56496],"Utilde;":360,Uuml:220,"Uuml;":220,"VDash;":8875,"Vbar;":10987,"Vcy;":1042,"Vdash;":8873,"Vdashl;":10982,"Vee;":8897,"Verbar;":8214,"Vert;":8214,"VerticalBar;":8739,"VerticalLine;":124,"VerticalSeparator;":10072,"VerticalTilde;":8768,"VeryThinSpace;":8202,"Vfr;":[55349,56601],"Vopf;":[55349,56653],"Vscr;":[55349,56497],"Vvdash;":8874,"Wcirc;":372,"Wedge;":8896,"Wfr;":[55349,56602],"Wopf;":[55349,56654],"Wscr;":[55349,56498],"Xfr;":[55349,56603],"Xi;":926,"Xopf;":[55349,56655],"Xscr;":[55349,56499],"YAcy;":1071,"YIcy;":1031,"YUcy;":1070,Yacute:221,"Yacute;":221,"Ycirc;":374,"Ycy;":1067,"Yfr;":[55349,56604],"Yopf;":[55349,56656],"Yscr;":[55349,56500],"Yuml;":376,"ZHcy;":1046,"Zacute;":377,"Zcaron;":381,"Zcy;":1047,"Zdot;":379,"ZeroWidthSpace;":8203,"Zeta;":918,"Zfr;":8488,"Zopf;":8484,"Zscr;":[55349,56501],aacute:225,"aacute;":225,"abreve;":259,"ac;":8766,"acE;":[8766,819],"acd;":8767,acirc:226,"acirc;":226,acute:180,"acute;":180,"acy;":1072,aelig:230,"aelig;":230,"af;":8289,"afr;":[55349,56606],agrave:224,"agrave;":224,"alefsym;":8501,"aleph;":8501,"alpha;":945,"amacr;":257,"amalg;":10815,amp:38,"amp;":38,"and;":8743,"andand;":10837,"andd;":10844,"andslope;":10840,"andv;":10842,"ang;":8736,"ange;":10660,"angle;":8736,"angmsd;":8737,"angmsdaa;":10664,"angmsdab;":10665,"angmsdac;":10666,"angmsdad;":10667,"angmsdae;":10668,"angmsdaf;":10669,"angmsdag;":10670,"angmsdah;":10671,"angrt;":8735,"angrtvb;":8894,"angrtvbd;":10653,"angsph;":8738,"angst;":197,"angzarr;":9084,"aogon;":261,"aopf;":[55349,56658],"ap;":8776,"apE;":10864,"apacir;":10863,"ape;":8778,"apid;":8779,"apos;":39,"approx;":8776,"approxeq;":8778,aring:229,"aring;":229,"ascr;":[55349,56502],"ast;":42,"asymp;":8776,"asympeq;":8781,atilde:227,"atilde;":227,auml:228,"auml;":228,"awconint;":8755,"awint;":10769,"bNot;":10989,"backcong;":8780,"backepsilon;":1014,"backprime;":8245,"backsim;":8765,"backsimeq;":8909,"barvee;":8893,"barwed;":8965,"barwedge;":8965,"bbrk;":9141,"bbrktbrk;":9142,"bcong;":8780,"bcy;":1073,"bdquo;":8222,"becaus;":8757,"because;":8757,"bemptyv;":10672,"bepsi;":1014,"bernou;":8492,"beta;":946,"beth;":8502,"between;":8812,"bfr;":[55349,56607],"bigcap;":8898,"bigcirc;":9711,"bigcup;":8899,"bigodot;":10752,"bigoplus;":10753,"bigotimes;":10754,"bigsqcup;":10758,"bigstar;":9733,"bigtriangledown;":9661,"bigtriangleup;":9651,"biguplus;":10756,"bigvee;":8897,"bigwedge;":8896,"bkarow;":10509,"blacklozenge;":10731,"blacksquare;":9642,"blacktriangle;":9652,"blacktriangledown;":9662,"blacktriangleleft;":9666,"blacktriangleright;":9656,"blank;":9251,"blk12;":9618,"blk14;":9617,"blk34;":9619,"block;":9608,"bne;":[61,8421],"bnequiv;":[8801,8421],"bnot;":8976,"bopf;":[55349,56659],"bot;":8869,"bottom;":8869,"bowtie;":8904,"boxDL;":9559,"boxDR;":9556,"boxDl;":9558,"boxDr;":9555,"boxH;":9552,"boxHD;":9574,"boxHU;":9577,"boxHd;":9572,"boxHu;":9575,"boxUL;":9565,"boxUR;":9562,"boxUl;":9564,"boxUr;":9561,"boxV;":9553,"boxVH;":9580,"boxVL;":9571,"boxVR;":9568,"boxVh;":9579,"boxVl;":9570,"boxVr;":9567,"boxbox;":10697,"boxdL;":9557,"boxdR;":9554,"boxdl;":9488,"boxdr;":9484,"boxh;":9472,"boxhD;":9573,"boxhU;":9576,"boxhd;":9516,"boxhu;":9524,"boxminus;":8863,"boxplus;":8862,"boxtimes;":8864,"boxuL;":9563,"boxuR;":9560,"boxul;":9496,"boxur;":9492,"boxv;":9474,"boxvH;":9578,"boxvL;":9569,"boxvR;":9566,"boxvh;":9532,"boxvl;":9508,"boxvr;":9500,"bprime;":8245,"breve;":728,brvbar:166,"brvbar;":166,"bscr;":[55349,56503],"bsemi;":8271,"bsim;":8765,"bsime;":8909,"bsol;":92,"bsolb;":10693,"bsolhsub;":10184,"bull;":8226,"bullet;":8226,"bump;":8782,"bumpE;":10926,"bumpe;":8783,"bumpeq;":8783,"cacute;":263,"cap;":8745,"capand;":10820,"capbrcup;":10825,"capcap;":10827,"capcup;":10823,"capdot;":10816,"caps;":[8745,65024],"caret;":8257,"caron;":711,"ccaps;":10829,"ccaron;":269,ccedil:231,"ccedil;":231,"ccirc;":265,"ccups;":10828,"ccupssm;":10832,"cdot;":267,cedil:184,"cedil;":184,"cemptyv;":10674,cent:162,"cent;":162,"centerdot;":183,"cfr;":[55349,56608],"chcy;":1095,"check;":10003,"checkmark;":10003,"chi;":967,"cir;":9675,"cirE;":10691,"circ;":710,"circeq;":8791,"circlearrowleft;":8634,"circlearrowright;":8635,"circledR;":174,"circledS;":9416,"circledast;":8859,"circledcirc;":8858,"circleddash;":8861,"cire;":8791,"cirfnint;":10768,"cirmid;":10991,"cirscir;":10690,"clubs;":9827,"clubsuit;":9827,"colon;":58,"colone;":8788,"coloneq;":8788,"comma;":44,"commat;":64,"comp;":8705,"compfn;":8728,"complement;":8705,"complexes;":8450,"cong;":8773,"congdot;":10861,"conint;":8750,"copf;":[55349,56660],"coprod;":8720,copy:169,"copy;":169,"copysr;":8471,"crarr;":8629,"cross;":10007,"cscr;":[55349,56504],"csub;":10959,"csube;":10961,"csup;":10960,"csupe;":10962,"ctdot;":8943,"cudarrl;":10552,"cudarrr;":10549,"cuepr;":8926,"cuesc;":8927,"cularr;":8630,"cularrp;":10557,"cup;":8746,"cupbrcap;":10824,"cupcap;":10822,"cupcup;":10826,"cupdot;":8845,"cupor;":10821,"cups;":[8746,65024],"curarr;":8631,"curarrm;":10556,"curlyeqprec;":8926,"curlyeqsucc;":8927,"curlyvee;":8910,"curlywedge;":8911,curren:164,"curren;":164,"curvearrowleft;":8630,"curvearrowright;":8631,"cuvee;":8910,"cuwed;":8911,"cwconint;":8754,"cwint;":8753,"cylcty;":9005,"dArr;":8659,"dHar;":10597,"dagger;":8224,"daleth;":8504,"darr;":8595,"dash;":8208,"dashv;":8867,"dbkarow;":10511,"dblac;":733,"dcaron;":271,"dcy;":1076,"dd;":8518,"ddagger;":8225,"ddarr;":8650,"ddotseq;":10871,deg:176,"deg;":176,"delta;":948,"demptyv;":10673,"dfisht;":10623,"dfr;":[55349,56609],"dharl;":8643,"dharr;":8642,"diam;":8900,"diamond;":8900,"diamondsuit;":9830,"diams;":9830,"die;":168,"digamma;":989,"disin;":8946,"div;":247,divide:247,"divide;":247,"divideontimes;":8903,"divonx;":8903,"djcy;":1106,"dlcorn;":8990,"dlcrop;":8973,"dollar;":36,"dopf;":[55349,56661],"dot;":729,"doteq;":8784,"doteqdot;":8785,"dotminus;":8760,"dotplus;":8724,"dotsquare;":8865,"doublebarwedge;":8966,"downarrow;":8595,"downdownarrows;":8650,"downharpoonleft;":8643,"downharpoonright;":8642,"drbkarow;":10512,"drcorn;":8991,"drcrop;":8972,"dscr;":[55349,56505],"dscy;":1109,"dsol;":10742,"dstrok;":273,"dtdot;":8945,"dtri;":9663,"dtrif;":9662,"duarr;":8693,"duhar;":10607,"dwangle;":10662,"dzcy;":1119,"dzigrarr;":10239,"eDDot;":10871,"eDot;":8785,eacute:233,"eacute;":233,"easter;":10862,"ecaron;":283,"ecir;":8790,ecirc:234,"ecirc;":234,"ecolon;":8789,"ecy;":1101,"edot;":279,"ee;":8519,"efDot;":8786,"efr;":[55349,56610],"eg;":10906,egrave:232,"egrave;":232,"egs;":10902,"egsdot;":10904,"el;":10905,"elinters;":9191,"ell;":8467,"els;":10901,"elsdot;":10903,"emacr;":275,"empty;":8709,"emptyset;":8709,"emptyv;":8709,"emsp13;":8196,"emsp14;":8197,"emsp;":8195,"eng;":331,"ensp;":8194,"eogon;":281,"eopf;":[55349,56662],"epar;":8917,"eparsl;":10723,"eplus;":10865,"epsi;":949,"epsilon;":949,"epsiv;":1013,"eqcirc;":8790,"eqcolon;":8789,"eqsim;":8770,"eqslantgtr;":10902,"eqslantless;":10901,"equals;":61,"equest;":8799,"equiv;":8801,"equivDD;":10872,"eqvparsl;":10725,"erDot;":8787,"erarr;":10609,"escr;":8495,"esdot;":8784,"esim;":8770,"eta;":951,eth:240,"eth;":240,euml:235,"euml;":235,"euro;":8364,"excl;":33,"exist;":8707,"expectation;":8496,"exponentiale;":8519,"fallingdotseq;":8786,"fcy;":1092,"female;":9792,"ffilig;":64259,"fflig;":64256,"ffllig;":64260,"ffr;":[55349,56611],"filig;":64257,"fjlig;":[102,106],"flat;":9837,"fllig;":64258,"fltns;":9649,"fnof;":402,"fopf;":[55349,56663],"forall;":8704,"fork;":8916,"forkv;":10969,"fpartint;":10765,frac12:189,"frac12;":189,"frac13;":8531,frac14:188,"frac14;":188,"frac15;":8533,"frac16;":8537,"frac18;":8539,"frac23;":8532,"frac25;":8534,frac34:190,"frac34;":190,"frac35;":8535,"frac38;":8540,"frac45;":8536,"frac56;":8538,"frac58;":8541,"frac78;":8542,"frasl;":8260,"frown;":8994,"fscr;":[55349,56507],"gE;":8807,"gEl;":10892,"gacute;":501,"gamma;":947,"gammad;":989,"gap;":10886,"gbreve;":287,"gcirc;":285,"gcy;":1075,"gdot;":289,"ge;":8805,"gel;":8923,"geq;":8805,"geqq;":8807,"geqslant;":10878,"ges;":10878,"gescc;":10921,"gesdot;":10880,"gesdoto;":10882,"gesdotol;":10884,"gesl;":[8923,65024],"gesles;":10900,"gfr;":[55349,56612],"gg;":8811,"ggg;":8921,"gimel;":8503,"gjcy;":1107,"gl;":8823,"glE;":10898,"gla;":10917,"glj;":10916,"gnE;":8809,"gnap;":10890,"gnapprox;":10890,"gne;":10888,"gneq;":10888,"gneqq;":8809,"gnsim;":8935,"gopf;":[55349,56664],"grave;":96,"gscr;":8458,"gsim;":8819,"gsime;":10894,"gsiml;":10896,gt:62,"gt;":62,"gtcc;":10919,"gtcir;":10874,"gtdot;":8919,"gtlPar;":10645,"gtquest;":10876,"gtrapprox;":10886,"gtrarr;":10616,"gtrdot;":8919,"gtreqless;":8923,"gtreqqless;":10892,"gtrless;":8823,"gtrsim;":8819,"gvertneqq;":[8809,65024],"gvnE;":[8809,65024],"hArr;":8660,"hairsp;":8202,"half;":189,"hamilt;":8459,"hardcy;":1098,"harr;":8596,"harrcir;":10568,"harrw;":8621,"hbar;":8463,"hcirc;":293,"hearts;":9829,"heartsuit;":9829,"hellip;":8230,"hercon;":8889,"hfr;":[55349,56613],"hksearow;":10533,"hkswarow;":10534,"hoarr;":8703,"homtht;":8763,"hookleftarrow;":8617,"hookrightarrow;":8618,"hopf;":[55349,56665],"horbar;":8213,"hscr;":[55349,56509],"hslash;":8463,"hstrok;":295,"hybull;":8259,"hyphen;":8208,iacute:237,"iacute;":237,"ic;":8291,icirc:238,"icirc;":238,"icy;":1080,"iecy;":1077,iexcl:161,"iexcl;":161,"iff;":8660,"ifr;":[55349,56614],igrave:236,"igrave;":236,"ii;":8520,"iiiint;":10764,"iiint;":8749,"iinfin;":10716,"iiota;":8489,"ijlig;":307,"imacr;":299,"image;":8465,"imagline;":8464,"imagpart;":8465,"imath;":305,"imof;":8887,"imped;":437,"in;":8712,"incare;":8453,"infin;":8734,"infintie;":10717,"inodot;":305,"int;":8747,"intcal;":8890,"integers;":8484,"intercal;":8890,"intlarhk;":10775,"intprod;":10812,"iocy;":1105,"iogon;":303,"iopf;":[55349,56666],"iota;":953,"iprod;":10812,iquest:191,"iquest;":191,"iscr;":[55349,56510],"isin;":8712,"isinE;":8953,"isindot;":8949,"isins;":8948,"isinsv;":8947,"isinv;":8712,"it;":8290,"itilde;":297,"iukcy;":1110,iuml:239,"iuml;":239,"jcirc;":309,"jcy;":1081,"jfr;":[55349,56615],"jmath;":567,"jopf;":[55349,56667],"jscr;":[55349,56511],"jsercy;":1112,"jukcy;":1108,"kappa;":954,"kappav;":1008,"kcedil;":311,"kcy;":1082,"kfr;":[55349,56616],"kgreen;":312,"khcy;":1093,"kjcy;":1116,"kopf;":[55349,56668],"kscr;":[55349,56512],"lAarr;":8666,"lArr;":8656,"lAtail;":10523,"lBarr;":10510,"lE;":8806,"lEg;":10891,"lHar;":10594,"lacute;":314,"laemptyv;":10676,"lagran;":8466,"lambda;":955,"lang;":10216,"langd;":10641,"langle;":10216,"lap;":10885,laquo:171,"laquo;":171,"larr;":8592,"larrb;":8676,"larrbfs;":10527,"larrfs;":10525,"larrhk;":8617,"larrlp;":8619,"larrpl;":10553,"larrsim;":10611,"larrtl;":8610,"lat;":10923,"latail;":10521,"late;":10925,"lates;":[10925,65024],"lbarr;":10508,"lbbrk;":10098,"lbrace;":123,"lbrack;":91,"lbrke;":10635,"lbrksld;":10639,"lbrkslu;":10637,"lcaron;":318,"lcedil;":316,"lceil;":8968,"lcub;":123,"lcy;":1083,"ldca;":10550,"ldquo;":8220,"ldquor;":8222,"ldrdhar;":10599,"ldrushar;":10571,"ldsh;":8626,"le;":8804,"leftarrow;":8592,"leftarrowtail;":8610,"leftharpoondown;":8637,"leftharpoonup;":8636,"leftleftarrows;":8647,"leftrightarrow;":8596,"leftrightarrows;":8646,"leftrightharpoons;":8651,"leftrightsquigarrow;":8621,"leftthreetimes;":8907,"leg;":8922,"leq;":8804,"leqq;":8806,"leqslant;":10877,"les;":10877,"lescc;":10920,"lesdot;":10879,"lesdoto;":10881,"lesdotor;":10883,"lesg;":[8922,65024],"lesges;":10899,"lessapprox;":10885,"lessdot;":8918,"lesseqgtr;":8922,"lesseqqgtr;":10891,"lessgtr;":8822,"lesssim;":8818,"lfisht;":10620,"lfloor;":8970,"lfr;":[55349,56617],"lg;":8822,"lgE;":10897,"lhard;":8637,"lharu;":8636,"lharul;":10602,"lhblk;":9604,"ljcy;":1113,"ll;":8810,"llarr;":8647,"llcorner;":8990,"llhard;":10603,"lltri;":9722,"lmidot;":320,"lmoust;":9136,"lmoustache;":9136,"lnE;":8808,"lnap;":10889,"lnapprox;":10889,"lne;":10887,"lneq;":10887,"lneqq;":8808,"lnsim;":8934,"loang;":10220,"loarr;":8701,"lobrk;":10214,"longleftarrow;":10229,"longleftrightarrow;":10231,"longmapsto;":10236,"longrightarrow;":10230,"looparrowleft;":8619,"looparrowright;":8620,"lopar;":10629,"lopf;":[55349,56669],"loplus;":10797,"lotimes;":10804,"lowast;":8727,"lowbar;":95,"loz;":9674,"lozenge;":9674,"lozf;":10731,"lpar;":40,"lparlt;":10643,"lrarr;":8646,"lrcorner;":8991,"lrhar;":8651,"lrhard;":10605,"lrm;":8206,"lrtri;":8895,"lsaquo;":8249,"lscr;":[55349,56513],"lsh;":8624,"lsim;":8818,"lsime;":10893,"lsimg;":10895,"lsqb;":91,"lsquo;":8216,"lsquor;":8218,"lstrok;":322,lt:60,"lt;":60,"ltcc;":10918,"ltcir;":10873,"ltdot;":8918,"lthree;":8907,"ltimes;":8905,"ltlarr;":10614,"ltquest;":10875,"ltrPar;":10646,"ltri;":9667,"ltrie;":8884,"ltrif;":9666,"lurdshar;":10570,"luruhar;":10598,"lvertneqq;":[8808,65024],"lvnE;":[8808,65024],"mDDot;":8762,macr:175,"macr;":175,"male;":9794,"malt;":10016,"maltese;":10016,"map;":8614,"mapsto;":8614,"mapstodown;":8615,"mapstoleft;":8612,"mapstoup;":8613,"marker;":9646,"mcomma;":10793,"mcy;":1084,"mdash;":8212,"measuredangle;":8737,"mfr;":[55349,56618],"mho;":8487,micro:181,"micro;":181,"mid;":8739,"midast;":42,"midcir;":10992,middot:183,"middot;":183,"minus;":8722,"minusb;":8863,"minusd;":8760,"minusdu;":10794,"mlcp;":10971,"mldr;":8230,"mnplus;":8723,"models;":8871,"mopf;":[55349,56670],"mp;":8723,"mscr;":[55349,56514],"mstpos;":8766,"mu;":956,"multimap;":8888,"mumap;":8888,"nGg;":[8921,824],"nGt;":[8811,8402],"nGtv;":[8811,824],"nLeftarrow;":8653,"nLeftrightarrow;":8654,"nLl;":[8920,824],"nLt;":[8810,8402],"nLtv;":[8810,824],"nRightarrow;":8655,"nVDash;":8879,"nVdash;":8878,"nabla;":8711,"nacute;":324,"nang;":[8736,8402],"nap;":8777,"napE;":[10864,824],"napid;":[8779,824],"napos;":329,"napprox;":8777,"natur;":9838,"natural;":9838,"naturals;":8469,nbsp:160,"nbsp;":160,"nbump;":[8782,824],"nbumpe;":[8783,824],"ncap;":10819,"ncaron;":328,"ncedil;":326,"ncong;":8775,"ncongdot;":[10861,824],"ncup;":10818,"ncy;":1085,"ndash;":8211,"ne;":8800,"neArr;":8663,"nearhk;":10532,"nearr;":8599,"nearrow;":8599,"nedot;":[8784,824],"nequiv;":8802,"nesear;":10536,"nesim;":[8770,824],"nexist;":8708,"nexists;":8708,"nfr;":[55349,56619],"ngE;":[8807,824],"nge;":8817,"ngeq;":8817,"ngeqq;":[8807,824],"ngeqslant;":[10878,824],"nges;":[10878,824],"ngsim;":8821,"ngt;":8815,"ngtr;":8815,"nhArr;":8654,"nharr;":8622,"nhpar;":10994,"ni;":8715,"nis;":8956,"nisd;":8954,"niv;":8715,"njcy;":1114,"nlArr;":8653,"nlE;":[8806,824],"nlarr;":8602,"nldr;":8229,"nle;":8816,"nleftarrow;":8602,"nleftrightarrow;":8622,"nleq;":8816,"nleqq;":[8806,824],"nleqslant;":[10877,824],"nles;":[10877,824],"nless;":8814,"nlsim;":8820,"nlt;":8814,"nltri;":8938,"nltrie;":8940,"nmid;":8740,"nopf;":[55349,56671],not:172,"not;":172,"notin;":8713,"notinE;":[8953,824],"notindot;":[8949,824],"notinva;":8713,"notinvb;":8951,"notinvc;":8950,"notni;":8716,"notniva;":8716,"notnivb;":8958,"notnivc;":8957,"npar;":8742,"nparallel;":8742,"nparsl;":[11005,8421],"npart;":[8706,824],"npolint;":10772,"npr;":8832,"nprcue;":8928,"npre;":[10927,824],"nprec;":8832,"npreceq;":[10927,824],"nrArr;":8655,"nrarr;":8603,"nrarrc;":[10547,824],"nrarrw;":[8605,824],"nrightarrow;":8603,"nrtri;":8939,"nrtrie;":8941,"nsc;":8833,"nsccue;":8929,"nsce;":[10928,824],"nscr;":[55349,56515],"nshortmid;":8740,"nshortparallel;":8742,"nsim;":8769,"nsime;":8772,"nsimeq;":8772,"nsmid;":8740,"nspar;":8742,"nsqsube;":8930,"nsqsupe;":8931,"nsub;":8836,"nsubE;":[10949,824],"nsube;":8840,"nsubset;":[8834,8402],"nsubseteq;":8840,"nsubseteqq;":[10949,824],"nsucc;":8833,"nsucceq;":[10928,824],"nsup;":8837,"nsupE;":[10950,824],"nsupe;":8841,"nsupset;":[8835,8402],"nsupseteq;":8841,"nsupseteqq;":[10950,824],"ntgl;":8825,ntilde:241,"ntilde;":241,"ntlg;":8824,"ntriangleleft;":8938,"ntrianglelefteq;":8940,"ntriangleright;":8939,"ntrianglerighteq;":8941,"nu;":957,"num;":35,"numero;":8470,"numsp;":8199,"nvDash;":8877,"nvHarr;":10500,"nvap;":[8781,8402],"nvdash;":8876,"nvge;":[8805,8402],"nvgt;":[62,8402],"nvinfin;":10718,"nvlArr;":10498,"nvle;":[8804,8402],"nvlt;":[60,8402],"nvltrie;":[8884,8402],"nvrArr;":10499,"nvrtrie;":[8885,8402],"nvsim;":[8764,8402],"nwArr;":8662,"nwarhk;":10531,"nwarr;":8598,"nwarrow;":8598,"nwnear;":10535,"oS;":9416,oacute:243,"oacute;":243,"oast;":8859,"ocir;":8858,ocirc:244,"ocirc;":244,"ocy;":1086,"odash;":8861,"odblac;":337,"odiv;":10808,"odot;":8857,"odsold;":10684,"oelig;":339,"ofcir;":10687,"ofr;":[55349,56620],"ogon;":731,ograve:242,"ograve;":242,"ogt;":10689,"ohbar;":10677,"ohm;":937,"oint;":8750,"olarr;":8634,"olcir;":10686,"olcross;":10683,"oline;":8254,"olt;":10688,"omacr;":333,"omega;":969,"omicron;":959,"omid;":10678,"ominus;":8854,"oopf;":[55349,56672],"opar;":10679,"operp;":10681,"oplus;":8853,"or;":8744,"orarr;":8635,"ord;":10845,"order;":8500,"orderof;":8500,ordf:170,"ordf;":170,ordm:186,"ordm;":186,"origof;":8886,"oror;":10838,"orslope;":10839,"orv;":10843,"oscr;":8500,oslash:248,"oslash;":248,"osol;":8856,otilde:245,"otilde;":245,"otimes;":8855,"otimesas;":10806,ouml:246,"ouml;":246,"ovbar;":9021,"par;":8741,para:182,"para;":182,"parallel;":8741,"parsim;":10995,"parsl;":11005,"part;":8706,"pcy;":1087,"percnt;":37,"period;":46,"permil;":8240,"perp;":8869,"pertenk;":8241,"pfr;":[55349,56621],"phi;":966,"phiv;":981,"phmmat;":8499,"phone;":9742,"pi;":960,"pitchfork;":8916,"piv;":982,"planck;":8463,"planckh;":8462,"plankv;":8463,"plus;":43,"plusacir;":10787,"plusb;":8862,"pluscir;":10786,"plusdo;":8724,"plusdu;":10789,"pluse;":10866,plusmn:177,"plusmn;":177,"plussim;":10790,"plustwo;":10791,"pm;":177,"pointint;":10773,"popf;":[55349,56673],pound:163,"pound;":163,"pr;":8826,"prE;":10931,"prap;":10935,"prcue;":8828,"pre;":10927,"prec;":8826,"precapprox;":10935,"preccurlyeq;":8828,"preceq;":10927,"precnapprox;":10937,"precneqq;":10933,"precnsim;":8936,"precsim;":8830,"prime;":8242,"primes;":8473,"prnE;":10933,"prnap;":10937,"prnsim;":8936,"prod;":8719,"profalar;":9006,"profline;":8978,"profsurf;":8979,"prop;":8733,"propto;":8733,"prsim;":8830,"prurel;":8880,"pscr;":[55349,56517],"psi;":968,"puncsp;":8200,"qfr;":[55349,56622],"qint;":10764,"qopf;":[55349,56674],"qprime;":8279,"qscr;":[55349,56518],"quaternions;":8461,"quatint;":10774,"quest;":63,"questeq;":8799,quot:34,"quot;":34,"rAarr;":8667,"rArr;":8658,"rAtail;":10524,"rBarr;":10511,"rHar;":10596,"race;":[8765,817],"racute;":341,"radic;":8730,"raemptyv;":10675,"rang;":10217,"rangd;":10642,"range;":10661,"rangle;":10217,raquo:187,"raquo;":187,"rarr;":8594,"rarrap;":10613,"rarrb;":8677,"rarrbfs;":10528,"rarrc;":10547,"rarrfs;":10526,"rarrhk;":8618,"rarrlp;":8620,"rarrpl;":10565,"rarrsim;":10612,"rarrtl;":8611,"rarrw;":8605,"ratail;":10522,"ratio;":8758,"rationals;":8474,"rbarr;":10509,"rbbrk;":10099,"rbrace;":125,"rbrack;":93,"rbrke;":10636,"rbrksld;":10638,"rbrkslu;":10640,"rcaron;":345,"rcedil;":343,"rceil;":8969,"rcub;":125,"rcy;":1088,"rdca;":10551,"rdldhar;":10601,"rdquo;":8221,"rdquor;":8221,"rdsh;":8627,"real;":8476,"realine;":8475,"realpart;":8476,"reals;":8477,"rect;":9645,reg:174,"reg;":174,"rfisht;":10621,"rfloor;":8971,"rfr;":[55349,56623],"rhard;":8641,"rharu;":8640,"rharul;":10604,"rho;":961,"rhov;":1009,"rightarrow;":8594,"rightarrowtail;":8611,"rightharpoondown;":8641,"rightharpoonup;":8640,"rightleftarrows;":8644,"rightleftharpoons;":8652,"rightrightarrows;":8649,"rightsquigarrow;":8605,"rightthreetimes;":8908,"ring;":730,"risingdotseq;":8787,"rlarr;":8644,"rlhar;":8652,"rlm;":8207,"rmoust;":9137,"rmoustache;":9137,"rnmid;":10990,"roang;":10221,"roarr;":8702,"robrk;":10215,"ropar;":10630,"ropf;":[55349,56675],"roplus;":10798,"rotimes;":10805,"rpar;":41,"rpargt;":10644,"rppolint;":10770,"rrarr;":8649,"rsaquo;":8250,"rscr;":[55349,56519],"rsh;":8625,"rsqb;":93,"rsquo;":8217,"rsquor;":8217,"rthree;":8908,"rtimes;":8906,"rtri;":9657,"rtrie;":8885,"rtrif;":9656,"rtriltri;":10702,"ruluhar;":10600,"rx;":8478,"sacute;":347,"sbquo;":8218,"sc;":8827,"scE;":10932,"scap;":10936,"scaron;":353,"sccue;":8829,"sce;":10928,"scedil;":351,"scirc;":349,"scnE;":10934,"scnap;":10938,"scnsim;":8937,"scpolint;":10771,"scsim;":8831,"scy;":1089,"sdot;":8901,"sdotb;":8865,"sdote;":10854,"seArr;":8664,"searhk;":10533,"searr;":8600,"searrow;":8600,sect:167,"sect;":167,"semi;":59,"seswar;":10537,"setminus;":8726,"setmn;":8726,"sext;":10038,"sfr;":[55349,56624],"sfrown;":8994,"sharp;":9839,"shchcy;":1097,"shcy;":1096,"shortmid;":8739,"shortparallel;":8741,shy:173,"shy;":173,"sigma;":963,"sigmaf;":962,"sigmav;":962,"sim;":8764,"simdot;":10858,"sime;":8771,"simeq;":8771,"simg;":10910,"simgE;":10912,"siml;":10909,"simlE;":10911,"simne;":8774,"simplus;":10788,"simrarr;":10610,"slarr;":8592,"smallsetminus;":8726,"smashp;":10803,"smeparsl;":10724,"smid;":8739,"smile;":8995,"smt;":10922,"smte;":10924,"smtes;":[10924,65024],"softcy;":1100,"sol;":47,"solb;":10692,"solbar;":9023,"sopf;":[55349,56676],"spades;":9824,"spadesuit;":9824,"spar;":8741,"sqcap;":8851,"sqcaps;":[8851,65024],"sqcup;":8852,"sqcups;":[8852,65024],"sqsub;":8847,"sqsube;":8849,"sqsubset;":8847,"sqsubseteq;":8849,"sqsup;":8848,"sqsupe;":8850,"sqsupset;":8848,"sqsupseteq;":8850,"squ;":9633,"square;":9633,"squarf;":9642,"squf;":9642,"srarr;":8594,"sscr;":[55349,56520],"ssetmn;":8726,"ssmile;":8995,"sstarf;":8902,"star;":9734,"starf;":9733,"straightepsilon;":1013,"straightphi;":981,"strns;":175,"sub;":8834,"subE;":10949,"subdot;":10941,"sube;":8838,"subedot;":10947,"submult;":10945,"subnE;":10955,"subne;":8842,"subplus;":10943,"subrarr;":10617,"subset;":8834,"subseteq;":8838,"subseteqq;":10949,"subsetneq;":8842,"subsetneqq;":10955,"subsim;":10951,"subsub;":10965,"subsup;":10963,"succ;":8827,"succapprox;":10936,"succcurlyeq;":8829,"succeq;":10928,"succnapprox;":10938,"succneqq;":10934,"succnsim;":8937,"succsim;":8831,"sum;":8721,"sung;":9834,sup1:185,"sup1;":185,sup2:178,"sup2;":178,sup3:179,"sup3;":179,"sup;":8835,"supE;":10950,"supdot;":10942,"supdsub;":10968,"supe;":8839,"supedot;":10948,"suphsol;":10185,"suphsub;":10967,"suplarr;":10619,"supmult;":10946,"supnE;":10956,"supne;":8843,"supplus;":10944,"supset;":8835,"supseteq;":8839,"supseteqq;":10950,"supsetneq;":8843,"supsetneqq;":10956,"supsim;":10952,"supsub;":10964,"supsup;":10966,"swArr;":8665,"swarhk;":10534,"swarr;":8601,"swarrow;":8601,"swnwar;":10538,szlig:223,"szlig;":223,"target;":8982,"tau;":964,"tbrk;":9140,"tcaron;":357,"tcedil;":355,"tcy;":1090,"tdot;":8411,"telrec;":8981,"tfr;":[55349,56625],"there4;":8756,"therefore;":8756,"theta;":952,"thetasym;":977,"thetav;":977,"thickapprox;":8776,"thicksim;":8764,"thinsp;":8201,"thkap;":8776,"thksim;":8764,thorn:254,"thorn;":254,"tilde;":732,times:215,"times;":215,"timesb;":8864,"timesbar;":10801,"timesd;":10800,"tint;":8749,"toea;":10536,"top;":8868,"topbot;":9014,"topcir;":10993,"topf;":[55349,56677],"topfork;":10970,"tosa;":10537,"tprime;":8244,"trade;":8482,"triangle;":9653,"triangledown;":9663,"triangleleft;":9667,"trianglelefteq;":8884,"triangleq;":8796,"triangleright;":9657,"trianglerighteq;":8885,"tridot;":9708,"trie;":8796,"triminus;":10810,"triplus;":10809,"trisb;":10701,"tritime;":10811,"trpezium;":9186,"tscr;":[55349,56521],"tscy;":1094,"tshcy;":1115,"tstrok;":359,"twixt;":8812,"twoheadleftarrow;":8606,"twoheadrightarrow;":8608,"uArr;":8657,"uHar;":10595,uacute:250,"uacute;":250,"uarr;":8593,"ubrcy;":1118,"ubreve;":365,ucirc:251,"ucirc;":251,"ucy;":1091,"udarr;":8645,"udblac;":369,"udhar;":10606,"ufisht;":10622,"ufr;":[55349,56626],ugrave:249,"ugrave;":249,"uharl;":8639,"uharr;":8638,"uhblk;":9600,"ulcorn;":8988,"ulcorner;":8988,"ulcrop;":8975,"ultri;":9720,"umacr;":363,uml:168,"uml;":168,"uogon;":371,"uopf;":[55349,56678],"uparrow;":8593,"updownarrow;":8597,"upharpoonleft;":8639,"upharpoonright;":8638,"uplus;":8846,"upsi;":965,"upsih;":978,"upsilon;":965,"upuparrows;":8648,"urcorn;":8989,"urcorner;":8989,"urcrop;":8974,"uring;":367,"urtri;":9721,"uscr;":[55349,56522],"utdot;":8944,"utilde;":361,"utri;":9653,"utrif;":9652,"uuarr;":8648,uuml:252,"uuml;":252,"uwangle;":10663,"vArr;":8661,"vBar;":10984,"vBarv;":10985,"vDash;":8872,"vangrt;":10652,"varepsilon;":1013,"varkappa;":1008,"varnothing;":8709,"varphi;":981,"varpi;":982,"varpropto;":8733,"varr;":8597,"varrho;":1009,"varsigma;":962,"varsubsetneq;":[8842,65024],"varsubsetneqq;":[10955,65024],"varsupsetneq;":[8843,65024],"varsupsetneqq;":[10956,65024],"vartheta;":977,"vartriangleleft;":8882,"vartriangleright;":8883,"vcy;":1074,"vdash;":8866,"vee;":8744,"veebar;":8891,"veeeq;":8794,"vellip;":8942,"verbar;":124,"vert;":124,"vfr;":[55349,56627],"vltri;":8882,"vnsub;":[8834,8402],"vnsup;":[8835,8402],"vopf;":[55349,56679],"vprop;":8733,"vrtri;":8883,"vscr;":[55349,56523],"vsubnE;":[10955,65024],"vsubne;":[8842,65024],"vsupnE;":[10956,65024],"vsupne;":[8843,65024],"vzigzag;":10650,"wcirc;":373,"wedbar;":10847,"wedge;":8743,"wedgeq;":8793,"weierp;":8472,"wfr;":[55349,56628],"wopf;":[55349,56680],"wp;":8472,"wr;":8768,"wreath;":8768,"wscr;":[55349,56524],"xcap;":8898,"xcirc;":9711,"xcup;":8899,"xdtri;":9661,"xfr;":[55349,56629],"xhArr;":10234,"xharr;":10231,"xi;":958,"xlArr;":10232,"xlarr;":10229,"xmap;":10236,"xnis;":8955,"xodot;":10752,"xopf;":[55349,56681],"xoplus;":10753,"xotime;":10754,"xrArr;":10233,"xrarr;":10230,"xscr;":[55349,56525],"xsqcup;":10758,"xuplus;":10756,"xutri;":9651,"xvee;":8897,"xwedge;":8896,yacute:253,"yacute;":253,"yacy;":1103,"ycirc;":375,"ycy;":1099,yen:165,"yen;":165,"yfr;":[55349,56630],"yicy;":1111,"yopf;":[55349,56682],"yscr;":[55349,56526],"yucy;":1102,yuml:255,"yuml;":255,"zacute;":378,"zcaron;":382,"zcy;":1079,"zdot;":380,"zeetrf;":8488,"zeta;":950,"zfr;":[55349,56631],"zhcy;":1078,"zigrarr;":8669,"zopf;":[55349,56683],"zscr;":[55349,56527],"zwj;":8205,"zwnj;":8204},qY=/(A(?:Elig;?|MP;?|acute;?|breve;|c(?:irc;?|y;)|fr;|grave;?|lpha;|macr;|nd;|o(?:gon;|pf;)|pplyFunction;|ring;?|s(?:cr;|sign;)|tilde;?|uml;?)|B(?:a(?:ckslash;|r(?:v;|wed;))|cy;|e(?:cause;|rnoullis;|ta;)|fr;|opf;|reve;|scr;|umpeq;)|C(?:Hcy;|OPY;?|a(?:cute;|p(?:;|italDifferentialD;)|yleys;)|c(?:aron;|edil;?|irc;|onint;)|dot;|e(?:dilla;|nterDot;)|fr;|hi;|ircle(?:Dot;|Minus;|Plus;|Times;)|lo(?:ckwiseContourIntegral;|seCurly(?:DoubleQuote;|Quote;))|o(?:lon(?:;|e;)|n(?:gruent;|int;|tourIntegral;)|p(?:f;|roduct;)|unterClockwiseContourIntegral;)|ross;|scr;|up(?:;|Cap;))|D(?:D(?:;|otrahd;)|Jcy;|Scy;|Zcy;|a(?:gger;|rr;|shv;)|c(?:aron;|y;)|el(?:;|ta;)|fr;|i(?:a(?:critical(?:Acute;|Do(?:t;|ubleAcute;)|Grave;|Tilde;)|mond;)|fferentialD;)|o(?:pf;|t(?:;|Dot;|Equal;)|uble(?:ContourIntegral;|Do(?:t;|wnArrow;)|L(?:eft(?:Arrow;|RightArrow;|Tee;)|ong(?:Left(?:Arrow;|RightArrow;)|RightArrow;))|Right(?:Arrow;|Tee;)|Up(?:Arrow;|DownArrow;)|VerticalBar;)|wn(?:Arrow(?:;|Bar;|UpArrow;)|Breve;|Left(?:RightVector;|TeeVector;|Vector(?:;|Bar;))|Right(?:TeeVector;|Vector(?:;|Bar;))|Tee(?:;|Arrow;)|arrow;))|s(?:cr;|trok;))|E(?:NG;|TH;?|acute;?|c(?:aron;|irc;?|y;)|dot;|fr;|grave;?|lement;|m(?:acr;|pty(?:SmallSquare;|VerySmallSquare;))|o(?:gon;|pf;)|psilon;|qu(?:al(?:;|Tilde;)|ilibrium;)|s(?:cr;|im;)|ta;|uml;?|x(?:ists;|ponentialE;))|F(?:cy;|fr;|illed(?:SmallSquare;|VerySmallSquare;)|o(?:pf;|rAll;|uriertrf;)|scr;)|G(?:Jcy;|T;?|amma(?:;|d;)|breve;|c(?:edil;|irc;|y;)|dot;|fr;|g;|opf;|reater(?:Equal(?:;|Less;)|FullEqual;|Greater;|Less;|SlantEqual;|Tilde;)|scr;|t;)|H(?:ARDcy;|a(?:cek;|t;)|circ;|fr;|ilbertSpace;|o(?:pf;|rizontalLine;)|s(?:cr;|trok;)|ump(?:DownHump;|Equal;))|I(?:Ecy;|Jlig;|Ocy;|acute;?|c(?:irc;?|y;)|dot;|fr;|grave;?|m(?:;|a(?:cr;|ginaryI;)|plies;)|n(?:t(?:;|e(?:gral;|rsection;))|visible(?:Comma;|Times;))|o(?:gon;|pf;|ta;)|scr;|tilde;|u(?:kcy;|ml;?))|J(?:c(?:irc;|y;)|fr;|opf;|s(?:cr;|ercy;)|ukcy;)|K(?:Hcy;|Jcy;|appa;|c(?:edil;|y;)|fr;|opf;|scr;)|L(?:Jcy;|T;?|a(?:cute;|mbda;|ng;|placetrf;|rr;)|c(?:aron;|edil;|y;)|e(?:ft(?:A(?:ngleBracket;|rrow(?:;|Bar;|RightArrow;))|Ceiling;|Do(?:ubleBracket;|wn(?:TeeVector;|Vector(?:;|Bar;)))|Floor;|Right(?:Arrow;|Vector;)|T(?:ee(?:;|Arrow;|Vector;)|riangle(?:;|Bar;|Equal;))|Up(?:DownVector;|TeeVector;|Vector(?:;|Bar;))|Vector(?:;|Bar;)|arrow;|rightarrow;)|ss(?:EqualGreater;|FullEqual;|Greater;|Less;|SlantEqual;|Tilde;))|fr;|l(?:;|eftarrow;)|midot;|o(?:ng(?:Left(?:Arrow;|RightArrow;)|RightArrow;|left(?:arrow;|rightarrow;)|rightarrow;)|pf;|wer(?:LeftArrow;|RightArrow;))|s(?:cr;|h;|trok;)|t;)|M(?:ap;|cy;|e(?:diumSpace;|llintrf;)|fr;|inusPlus;|opf;|scr;|u;)|N(?:Jcy;|acute;|c(?:aron;|edil;|y;)|e(?:gative(?:MediumSpace;|Thi(?:ckSpace;|nSpace;)|VeryThinSpace;)|sted(?:GreaterGreater;|LessLess;)|wLine;)|fr;|o(?:Break;|nBreakingSpace;|pf;|t(?:;|C(?:ongruent;|upCap;)|DoubleVerticalBar;|E(?:lement;|qual(?:;|Tilde;)|xists;)|Greater(?:;|Equal;|FullEqual;|Greater;|Less;|SlantEqual;|Tilde;)|Hump(?:DownHump;|Equal;)|Le(?:ftTriangle(?:;|Bar;|Equal;)|ss(?:;|Equal;|Greater;|Less;|SlantEqual;|Tilde;))|Nested(?:GreaterGreater;|LessLess;)|Precedes(?:;|Equal;|SlantEqual;)|R(?:everseElement;|ightTriangle(?:;|Bar;|Equal;))|S(?:quareSu(?:bset(?:;|Equal;)|perset(?:;|Equal;))|u(?:bset(?:;|Equal;)|cceeds(?:;|Equal;|SlantEqual;|Tilde;)|perset(?:;|Equal;)))|Tilde(?:;|Equal;|FullEqual;|Tilde;)|VerticalBar;))|scr;|tilde;?|u;)|O(?:Elig;|acute;?|c(?:irc;?|y;)|dblac;|fr;|grave;?|m(?:acr;|ega;|icron;)|opf;|penCurly(?:DoubleQuote;|Quote;)|r;|s(?:cr;|lash;?)|ti(?:lde;?|mes;)|uml;?|ver(?:B(?:ar;|rac(?:e;|ket;))|Parenthesis;))|P(?:artialD;|cy;|fr;|hi;|i;|lusMinus;|o(?:incareplane;|pf;)|r(?:;|ecedes(?:;|Equal;|SlantEqual;|Tilde;)|ime;|o(?:duct;|portion(?:;|al;)))|s(?:cr;|i;))|Q(?:UOT;?|fr;|opf;|scr;)|R(?:Barr;|EG;?|a(?:cute;|ng;|rr(?:;|tl;))|c(?:aron;|edil;|y;)|e(?:;|verse(?:E(?:lement;|quilibrium;)|UpEquilibrium;))|fr;|ho;|ight(?:A(?:ngleBracket;|rrow(?:;|Bar;|LeftArrow;))|Ceiling;|Do(?:ubleBracket;|wn(?:TeeVector;|Vector(?:;|Bar;)))|Floor;|T(?:ee(?:;|Arrow;|Vector;)|riangle(?:;|Bar;|Equal;))|Up(?:DownVector;|TeeVector;|Vector(?:;|Bar;))|Vector(?:;|Bar;)|arrow;)|o(?:pf;|undImplies;)|rightarrow;|s(?:cr;|h;)|uleDelayed;)|S(?:H(?:CHcy;|cy;)|OFTcy;|acute;|c(?:;|aron;|edil;|irc;|y;)|fr;|hort(?:DownArrow;|LeftArrow;|RightArrow;|UpArrow;)|igma;|mallCircle;|opf;|q(?:rt;|uare(?:;|Intersection;|Su(?:bset(?:;|Equal;)|perset(?:;|Equal;))|Union;))|scr;|tar;|u(?:b(?:;|set(?:;|Equal;))|c(?:ceeds(?:;|Equal;|SlantEqual;|Tilde;)|hThat;)|m;|p(?:;|erset(?:;|Equal;)|set;)))|T(?:HORN;?|RADE;|S(?:Hcy;|cy;)|a(?:b;|u;)|c(?:aron;|edil;|y;)|fr;|h(?:e(?:refore;|ta;)|i(?:ckSpace;|nSpace;))|ilde(?:;|Equal;|FullEqual;|Tilde;)|opf;|ripleDot;|s(?:cr;|trok;))|U(?:a(?:cute;?|rr(?:;|ocir;))|br(?:cy;|eve;)|c(?:irc;?|y;)|dblac;|fr;|grave;?|macr;|n(?:der(?:B(?:ar;|rac(?:e;|ket;))|Parenthesis;)|ion(?:;|Plus;))|o(?:gon;|pf;)|p(?:Arrow(?:;|Bar;|DownArrow;)|DownArrow;|Equilibrium;|Tee(?:;|Arrow;)|arrow;|downarrow;|per(?:LeftArrow;|RightArrow;)|si(?:;|lon;))|ring;|scr;|tilde;|uml;?)|V(?:Dash;|bar;|cy;|dash(?:;|l;)|e(?:e;|r(?:bar;|t(?:;|ical(?:Bar;|Line;|Separator;|Tilde;))|yThinSpace;))|fr;|opf;|scr;|vdash;)|W(?:circ;|edge;|fr;|opf;|scr;)|X(?:fr;|i;|opf;|scr;)|Y(?:Acy;|Icy;|Ucy;|acute;?|c(?:irc;|y;)|fr;|opf;|scr;|uml;)|Z(?:Hcy;|acute;|c(?:aron;|y;)|dot;|e(?:roWidthSpace;|ta;)|fr;|opf;|scr;)|a(?:acute;?|breve;|c(?:;|E;|d;|irc;?|ute;?|y;)|elig;?|f(?:;|r;)|grave;?|l(?:e(?:fsym;|ph;)|pha;)|m(?:a(?:cr;|lg;)|p;?)|n(?:d(?:;|and;|d;|slope;|v;)|g(?:;|e;|le;|msd(?:;|a(?:a;|b;|c;|d;|e;|f;|g;|h;))|rt(?:;|vb(?:;|d;))|s(?:ph;|t;)|zarr;))|o(?:gon;|pf;)|p(?:;|E;|acir;|e;|id;|os;|prox(?:;|eq;))|ring;?|s(?:cr;|t;|ymp(?:;|eq;))|tilde;?|uml;?|w(?:conint;|int;))|b(?:Not;|a(?:ck(?:cong;|epsilon;|prime;|sim(?:;|eq;))|r(?:vee;|wed(?:;|ge;)))|brk(?:;|tbrk;)|c(?:ong;|y;)|dquo;|e(?:caus(?:;|e;)|mptyv;|psi;|rnou;|t(?:a;|h;|ween;))|fr;|ig(?:c(?:ap;|irc;|up;)|o(?:dot;|plus;|times;)|s(?:qcup;|tar;)|triangle(?:down;|up;)|uplus;|vee;|wedge;)|karow;|l(?:a(?:ck(?:lozenge;|square;|triangle(?:;|down;|left;|right;))|nk;)|k(?:1(?:2;|4;)|34;)|ock;)|n(?:e(?:;|quiv;)|ot;)|o(?:pf;|t(?:;|tom;)|wtie;|x(?:D(?:L;|R;|l;|r;)|H(?:;|D;|U;|d;|u;)|U(?:L;|R;|l;|r;)|V(?:;|H;|L;|R;|h;|l;|r;)|box;|d(?:L;|R;|l;|r;)|h(?:;|D;|U;|d;|u;)|minus;|plus;|times;|u(?:L;|R;|l;|r;)|v(?:;|H;|L;|R;|h;|l;|r;)))|prime;|r(?:eve;|vbar;?)|s(?:cr;|emi;|im(?:;|e;)|ol(?:;|b;|hsub;))|u(?:ll(?:;|et;)|mp(?:;|E;|e(?:;|q;))))|c(?:a(?:cute;|p(?:;|and;|brcup;|c(?:ap;|up;)|dot;|s;)|r(?:et;|on;))|c(?:a(?:ps;|ron;)|edil;?|irc;|ups(?:;|sm;))|dot;|e(?:dil;?|mptyv;|nt(?:;|erdot;|))|fr;|h(?:cy;|eck(?:;|mark;)|i;)|ir(?:;|E;|c(?:;|eq;|le(?:arrow(?:left;|right;)|d(?:R;|S;|ast;|circ;|dash;)))|e;|fnint;|mid;|scir;)|lubs(?:;|uit;)|o(?:lon(?:;|e(?:;|q;))|m(?:ma(?:;|t;)|p(?:;|fn;|le(?:ment;|xes;)))|n(?:g(?:;|dot;)|int;)|p(?:f;|rod;|y(?:;|sr;|)))|r(?:arr;|oss;)|s(?:cr;|u(?:b(?:;|e;)|p(?:;|e;)))|tdot;|u(?:darr(?:l;|r;)|e(?:pr;|sc;)|larr(?:;|p;)|p(?:;|brcap;|c(?:ap;|up;)|dot;|or;|s;)|r(?:arr(?:;|m;)|ly(?:eq(?:prec;|succ;)|vee;|wedge;)|ren;?|vearrow(?:left;|right;))|vee;|wed;)|w(?:conint;|int;)|ylcty;)|d(?:Arr;|Har;|a(?:gger;|leth;|rr;|sh(?:;|v;))|b(?:karow;|lac;)|c(?:aron;|y;)|d(?:;|a(?:gger;|rr;)|otseq;)|e(?:g;?|lta;|mptyv;)|f(?:isht;|r;)|har(?:l;|r;)|i(?:am(?:;|ond(?:;|suit;)|s;)|e;|gamma;|sin;|v(?:;|ide(?:;|ontimes;|)|onx;))|jcy;|lc(?:orn;|rop;)|o(?:llar;|pf;|t(?:;|eq(?:;|dot;)|minus;|plus;|square;)|ublebarwedge;|wn(?:arrow;|downarrows;|harpoon(?:left;|right;)))|r(?:bkarow;|c(?:orn;|rop;))|s(?:c(?:r;|y;)|ol;|trok;)|t(?:dot;|ri(?:;|f;))|u(?:arr;|har;)|wangle;|z(?:cy;|igrarr;))|e(?:D(?:Dot;|ot;)|a(?:cute;?|ster;)|c(?:aron;|ir(?:;|c;?)|olon;|y;)|dot;|e;|f(?:Dot;|r;)|g(?:;|rave;?|s(?:;|dot;))|l(?:;|inters;|l;|s(?:;|dot;))|m(?:acr;|pty(?:;|set;|v;)|sp(?:1(?:3;|4;)|;))|n(?:g;|sp;)|o(?:gon;|pf;)|p(?:ar(?:;|sl;)|lus;|si(?:;|lon;|v;))|q(?:c(?:irc;|olon;)|s(?:im;|lant(?:gtr;|less;))|u(?:als;|est;|iv(?:;|DD;))|vparsl;)|r(?:Dot;|arr;)|s(?:cr;|dot;|im;)|t(?:a;|h;?)|u(?:ml;?|ro;)|x(?:cl;|ist;|p(?:ectation;|onentiale;)))|f(?:allingdotseq;|cy;|emale;|f(?:ilig;|l(?:ig;|lig;)|r;)|ilig;|jlig;|l(?:at;|lig;|tns;)|nof;|o(?:pf;|r(?:all;|k(?:;|v;)))|partint;|r(?:a(?:c(?:1(?:2;?|3;|4;?|5;|6;|8;)|2(?:3;|5;)|3(?:4;?|5;|8;)|45;|5(?:6;|8;)|78;)|sl;)|own;)|scr;)|g(?:E(?:;|l;)|a(?:cute;|mma(?:;|d;)|p;)|breve;|c(?:irc;|y;)|dot;|e(?:;|l;|q(?:;|q;|slant;)|s(?:;|cc;|dot(?:;|o(?:;|l;))|l(?:;|es;)))|fr;|g(?:;|g;)|imel;|jcy;|l(?:;|E;|a;|j;)|n(?:E;|ap(?:;|prox;)|e(?:;|q(?:;|q;))|sim;)|opf;|rave;|s(?:cr;|im(?:;|e;|l;))|t(?:;|c(?:c;|ir;)|dot;|lPar;|quest;|r(?:a(?:pprox;|rr;)|dot;|eq(?:less;|qless;)|less;|sim;)|)|v(?:ertneqq;|nE;))|h(?:Arr;|a(?:irsp;|lf;|milt;|r(?:dcy;|r(?:;|cir;|w;)))|bar;|circ;|e(?:arts(?:;|uit;)|llip;|rcon;)|fr;|ks(?:earow;|warow;)|o(?:arr;|mtht;|ok(?:leftarrow;|rightarrow;)|pf;|rbar;)|s(?:cr;|lash;|trok;)|y(?:bull;|phen;))|i(?:acute;?|c(?:;|irc;?|y;)|e(?:cy;|xcl;?)|f(?:f;|r;)|grave;?|i(?:;|i(?:int;|nt;)|nfin;|ota;)|jlig;|m(?:a(?:cr;|g(?:e;|line;|part;)|th;)|of;|ped;)|n(?:;|care;|fin(?:;|tie;)|odot;|t(?:;|cal;|e(?:gers;|rcal;)|larhk;|prod;))|o(?:cy;|gon;|pf;|ta;)|prod;|quest;?|s(?:cr;|in(?:;|E;|dot;|s(?:;|v;)|v;))|t(?:;|ilde;)|u(?:kcy;|ml;?))|j(?:c(?:irc;|y;)|fr;|math;|opf;|s(?:cr;|ercy;)|ukcy;)|k(?:appa(?:;|v;)|c(?:edil;|y;)|fr;|green;|hcy;|jcy;|opf;|scr;)|l(?:A(?:arr;|rr;|tail;)|Barr;|E(?:;|g;)|Har;|a(?:cute;|emptyv;|gran;|mbda;|ng(?:;|d;|le;)|p;|quo;?|rr(?:;|b(?:;|fs;)|fs;|hk;|lp;|pl;|sim;|tl;)|t(?:;|ail;|e(?:;|s;)))|b(?:arr;|brk;|r(?:ac(?:e;|k;)|k(?:e;|sl(?:d;|u;))))|c(?:aron;|e(?:dil;|il;)|ub;|y;)|d(?:ca;|quo(?:;|r;)|r(?:dhar;|ushar;)|sh;)|e(?:;|ft(?:arrow(?:;|tail;)|harpoon(?:down;|up;)|leftarrows;|right(?:arrow(?:;|s;)|harpoons;|squigarrow;)|threetimes;)|g;|q(?:;|q;|slant;)|s(?:;|cc;|dot(?:;|o(?:;|r;))|g(?:;|es;)|s(?:approx;|dot;|eq(?:gtr;|qgtr;)|gtr;|sim;)))|f(?:isht;|loor;|r;)|g(?:;|E;)|h(?:ar(?:d;|u(?:;|l;))|blk;)|jcy;|l(?:;|arr;|corner;|hard;|tri;)|m(?:idot;|oust(?:;|ache;))|n(?:E;|ap(?:;|prox;)|e(?:;|q(?:;|q;))|sim;)|o(?:a(?:ng;|rr;)|brk;|ng(?:left(?:arrow;|rightarrow;)|mapsto;|rightarrow;)|oparrow(?:left;|right;)|p(?:ar;|f;|lus;)|times;|w(?:ast;|bar;)|z(?:;|enge;|f;))|par(?:;|lt;)|r(?:arr;|corner;|har(?:;|d;)|m;|tri;)|s(?:aquo;|cr;|h;|im(?:;|e;|g;)|q(?:b;|uo(?:;|r;))|trok;)|t(?:;|c(?:c;|ir;)|dot;|hree;|imes;|larr;|quest;|r(?:Par;|i(?:;|e;|f;))|)|ur(?:dshar;|uhar;)|v(?:ertneqq;|nE;))|m(?:DDot;|a(?:cr;?|l(?:e;|t(?:;|ese;))|p(?:;|sto(?:;|down;|left;|up;))|rker;)|c(?:omma;|y;)|dash;|easuredangle;|fr;|ho;|i(?:cro;?|d(?:;|ast;|cir;|dot;?)|nus(?:;|b;|d(?:;|u;)))|l(?:cp;|dr;)|nplus;|o(?:dels;|pf;)|p;|s(?:cr;|tpos;)|u(?:;|ltimap;|map;))|n(?:G(?:g;|t(?:;|v;))|L(?:eft(?:arrow;|rightarrow;)|l;|t(?:;|v;))|Rightarrow;|V(?:Dash;|dash;)|a(?:bla;|cute;|ng;|p(?:;|E;|id;|os;|prox;)|tur(?:;|al(?:;|s;)))|b(?:sp;?|ump(?:;|e;))|c(?:a(?:p;|ron;)|edil;|ong(?:;|dot;)|up;|y;)|dash;|e(?:;|Arr;|ar(?:hk;|r(?:;|ow;))|dot;|quiv;|s(?:ear;|im;)|xist(?:;|s;))|fr;|g(?:E;|e(?:;|q(?:;|q;|slant;)|s;)|sim;|t(?:;|r;))|h(?:Arr;|arr;|par;)|i(?:;|s(?:;|d;)|v;)|jcy;|l(?:Arr;|E;|arr;|dr;|e(?:;|ft(?:arrow;|rightarrow;)|q(?:;|q;|slant;)|s(?:;|s;))|sim;|t(?:;|ri(?:;|e;)))|mid;|o(?:pf;|t(?:;|in(?:;|E;|dot;|v(?:a;|b;|c;))|ni(?:;|v(?:a;|b;|c;))|))|p(?:ar(?:;|allel;|sl;|t;)|olint;|r(?:;|cue;|e(?:;|c(?:;|eq;))))|r(?:Arr;|arr(?:;|c;|w;)|ightarrow;|tri(?:;|e;))|s(?:c(?:;|cue;|e;|r;)|hort(?:mid;|parallel;)|im(?:;|e(?:;|q;))|mid;|par;|qsu(?:be;|pe;)|u(?:b(?:;|E;|e;|set(?:;|eq(?:;|q;)))|cc(?:;|eq;)|p(?:;|E;|e;|set(?:;|eq(?:;|q;)))))|t(?:gl;|ilde;?|lg;|riangle(?:left(?:;|eq;)|right(?:;|eq;)))|u(?:;|m(?:;|ero;|sp;))|v(?:Dash;|Harr;|ap;|dash;|g(?:e;|t;)|infin;|l(?:Arr;|e;|t(?:;|rie;))|r(?:Arr;|trie;)|sim;)|w(?:Arr;|ar(?:hk;|r(?:;|ow;))|near;))|o(?:S;|a(?:cute;?|st;)|c(?:ir(?:;|c;?)|y;)|d(?:ash;|blac;|iv;|ot;|sold;)|elig;|f(?:cir;|r;)|g(?:on;|rave;?|t;)|h(?:bar;|m;)|int;|l(?:arr;|c(?:ir;|ross;)|ine;|t;)|m(?:acr;|ega;|i(?:cron;|d;|nus;))|opf;|p(?:ar;|erp;|lus;)|r(?:;|arr;|d(?:;|er(?:;|of;)|f;?|m;?)|igof;|or;|slope;|v;)|s(?:cr;|lash;?|ol;)|ti(?:lde;?|mes(?:;|as;))|uml;?|vbar;)|p(?:ar(?:;|a(?:;|llel;|)|s(?:im;|l;)|t;)|cy;|er(?:cnt;|iod;|mil;|p;|tenk;)|fr;|h(?:i(?:;|v;)|mmat;|one;)|i(?:;|tchfork;|v;)|l(?:an(?:ck(?:;|h;)|kv;)|us(?:;|acir;|b;|cir;|d(?:o;|u;)|e;|mn;?|sim;|two;))|m;|o(?:intint;|pf;|und;?)|r(?:;|E;|ap;|cue;|e(?:;|c(?:;|approx;|curlyeq;|eq;|n(?:approx;|eqq;|sim;)|sim;))|ime(?:;|s;)|n(?:E;|ap;|sim;)|o(?:d;|f(?:alar;|line;|surf;)|p(?:;|to;))|sim;|urel;)|s(?:cr;|i;)|uncsp;)|q(?:fr;|int;|opf;|prime;|scr;|u(?:at(?:ernions;|int;)|est(?:;|eq;)|ot;?))|r(?:A(?:arr;|rr;|tail;)|Barr;|Har;|a(?:c(?:e;|ute;)|dic;|emptyv;|ng(?:;|d;|e;|le;)|quo;?|rr(?:;|ap;|b(?:;|fs;)|c;|fs;|hk;|lp;|pl;|sim;|tl;|w;)|t(?:ail;|io(?:;|nals;)))|b(?:arr;|brk;|r(?:ac(?:e;|k;)|k(?:e;|sl(?:d;|u;))))|c(?:aron;|e(?:dil;|il;)|ub;|y;)|d(?:ca;|ldhar;|quo(?:;|r;)|sh;)|e(?:al(?:;|ine;|part;|s;)|ct;|g;?)|f(?:isht;|loor;|r;)|h(?:ar(?:d;|u(?:;|l;))|o(?:;|v;))|i(?:ght(?:arrow(?:;|tail;)|harpoon(?:down;|up;)|left(?:arrows;|harpoons;)|rightarrows;|squigarrow;|threetimes;)|ng;|singdotseq;)|l(?:arr;|har;|m;)|moust(?:;|ache;)|nmid;|o(?:a(?:ng;|rr;)|brk;|p(?:ar;|f;|lus;)|times;)|p(?:ar(?:;|gt;)|polint;)|rarr;|s(?:aquo;|cr;|h;|q(?:b;|uo(?:;|r;)))|t(?:hree;|imes;|ri(?:;|e;|f;|ltri;))|uluhar;|x;)|s(?:acute;|bquo;|c(?:;|E;|a(?:p;|ron;)|cue;|e(?:;|dil;)|irc;|n(?:E;|ap;|sim;)|polint;|sim;|y;)|dot(?:;|b;|e;)|e(?:Arr;|ar(?:hk;|r(?:;|ow;))|ct;?|mi;|swar;|tm(?:inus;|n;)|xt;)|fr(?:;|own;)|h(?:arp;|c(?:hcy;|y;)|ort(?:mid;|parallel;)|y;?)|i(?:gma(?:;|f;|v;)|m(?:;|dot;|e(?:;|q;)|g(?:;|E;)|l(?:;|E;)|ne;|plus;|rarr;))|larr;|m(?:a(?:llsetminus;|shp;)|eparsl;|i(?:d;|le;)|t(?:;|e(?:;|s;)))|o(?:ftcy;|l(?:;|b(?:;|ar;))|pf;)|pa(?:des(?:;|uit;)|r;)|q(?:c(?:ap(?:;|s;)|up(?:;|s;))|su(?:b(?:;|e;|set(?:;|eq;))|p(?:;|e;|set(?:;|eq;)))|u(?:;|ar(?:e;|f;)|f;))|rarr;|s(?:cr;|etmn;|mile;|tarf;)|t(?:ar(?:;|f;)|r(?:aight(?:epsilon;|phi;)|ns;))|u(?:b(?:;|E;|dot;|e(?:;|dot;)|mult;|n(?:E;|e;)|plus;|rarr;|s(?:et(?:;|eq(?:;|q;)|neq(?:;|q;))|im;|u(?:b;|p;)))|cc(?:;|approx;|curlyeq;|eq;|n(?:approx;|eqq;|sim;)|sim;)|m;|ng;|p(?:1;?|2;?|3;?|;|E;|d(?:ot;|sub;)|e(?:;|dot;)|hs(?:ol;|ub;)|larr;|mult;|n(?:E;|e;)|plus;|s(?:et(?:;|eq(?:;|q;)|neq(?:;|q;))|im;|u(?:b;|p;))))|w(?:Arr;|ar(?:hk;|r(?:;|ow;))|nwar;)|zlig;?)|t(?:a(?:rget;|u;)|brk;|c(?:aron;|edil;|y;)|dot;|elrec;|fr;|h(?:e(?:re(?:4;|fore;)|ta(?:;|sym;|v;))|i(?:ck(?:approx;|sim;)|nsp;)|k(?:ap;|sim;)|orn;?)|i(?:lde;|mes(?:;|b(?:;|ar;)|d;|)|nt;)|o(?:ea;|p(?:;|bot;|cir;|f(?:;|ork;))|sa;)|prime;|r(?:ade;|i(?:angle(?:;|down;|left(?:;|eq;)|q;|right(?:;|eq;))|dot;|e;|minus;|plus;|sb;|time;)|pezium;)|s(?:c(?:r;|y;)|hcy;|trok;)|w(?:ixt;|ohead(?:leftarrow;|rightarrow;)))|u(?:Arr;|Har;|a(?:cute;?|rr;)|br(?:cy;|eve;)|c(?:irc;?|y;)|d(?:arr;|blac;|har;)|f(?:isht;|r;)|grave;?|h(?:ar(?:l;|r;)|blk;)|l(?:c(?:orn(?:;|er;)|rop;)|tri;)|m(?:acr;|l;?)|o(?:gon;|pf;)|p(?:arrow;|downarrow;|harpoon(?:left;|right;)|lus;|si(?:;|h;|lon;)|uparrows;)|r(?:c(?:orn(?:;|er;)|rop;)|ing;|tri;)|scr;|t(?:dot;|ilde;|ri(?:;|f;))|u(?:arr;|ml;?)|wangle;)|v(?:Arr;|Bar(?:;|v;)|Dash;|a(?:ngrt;|r(?:epsilon;|kappa;|nothing;|p(?:hi;|i;|ropto;)|r(?:;|ho;)|s(?:igma;|u(?:bsetneq(?:;|q;)|psetneq(?:;|q;)))|t(?:heta;|riangle(?:left;|right;))))|cy;|dash;|e(?:e(?:;|bar;|eq;)|llip;|r(?:bar;|t;))|fr;|ltri;|nsu(?:b;|p;)|opf;|prop;|rtri;|s(?:cr;|u(?:bn(?:E;|e;)|pn(?:E;|e;)))|zigzag;)|w(?:circ;|e(?:d(?:bar;|ge(?:;|q;))|ierp;)|fr;|opf;|p;|r(?:;|eath;)|scr;)|x(?:c(?:ap;|irc;|up;)|dtri;|fr;|h(?:Arr;|arr;)|i;|l(?:Arr;|arr;)|map;|nis;|o(?:dot;|p(?:f;|lus;)|time;)|r(?:Arr;|arr;)|s(?:cr;|qcup;)|u(?:plus;|tri;)|vee;|wedge;)|y(?:ac(?:ute;?|y;)|c(?:irc;|y;)|en;?|fr;|icy;|opf;|scr;|u(?:cy;|ml;?))|z(?:acute;|c(?:aron;|y;)|dot;|e(?:etrf;|ta;)|fr;|hcy;|igrarr;|opf;|scr;|w(?:j;|nj;)))|[\s\S]/g,yW=32,xW=/[^\r"&\u0000]+/g,kW=/[^\r'&\u0000]+/g,fW=/[^\r\t\n\f &>\u0000]+/g,hW=/[^\r\t\n\f \/>A-Z\u0000]+/g,gW=/[^\r\t\n\f \/=>A-Z\u0000]+/g,vW=/[^\]\r\u0000\uffff]*/g,mW=/[^&<\r\u0000\uffff]*/g,KY=/[^<\r\u0000\uffff]*/g,pW=/[^\r\u0000\uffff]*/g,UY=/(?:(\/)?([a-z]+)>)|[\s\S]/g,FY=/(?:([-a-z]+)[ \t\n\f]*=[ \t\n\f]*('[^'&\r\u0000]*'|"[^"&\r\u0000]*"|[^\t\n\r\f "&'\u0000>][^&> \t\n\r\f\u0000]*[ \t\n\f]))|[\s\S]/g,v8=/[^\x09\x0A\x0C\x0D\x20]/,E$=/[^\x09\x0A\x0C\x0D\x20]/g,uW=/[^\x00\x09\x0A\x0C\x0D\x20]/,u1=/^[\x09\x0A\x0C\x0D\x20]+/,m8=/\x00/g;function M0($){var Z=16384;if($.length<Z)return String.fromCharCode.apply(String,$);var Y="";for(var G=0;G<$.length;G+=Z)Y+=String.fromCharCode.apply(String,$.slice(G,G+Z));return Y}function cW($){var Z=[];for(var Y=0;Y<$.length;Y++)Z[Y]=$.charCodeAt(Y);return Z}function a($,Z){if(typeof Z==="string")return $.namespaceURI===N.HTML&&$.localName===Z;var Y=Z[$.namespaceURI];return Y&&Y[$.localName]}function IY($){return a($,CY)}function SY($){if(a($,bY))return!0;if($.namespaceURI===N.MATHML&&$.localName==="annotation-xml"){var Z=$.getAttribute("encoding");if(Z)Z=Z.toLowerCase();if(Z==="text/html"||Z==="application/xhtml+xml")return!0}return!1}function dW($){if($ in _Y)return _Y[$];else return $}function DY($){for(var Z=0,Y=$.length;Z<Y;Z++)if($[Z][0]in HY)$[Z][0]=HY[$[Z][0]]}function OY($){for(var Z=0,Y=$.length;Z<Y;Z++)if($[Z][0]==="definitionurl"){$[Z][0]="definitionURL";break}}function N$($){for(var Z=0,Y=$.length;Z<Y;Z++)if($[Z][0]in BY)$[Z].push(BY[$[Z][0]])}function AY($,Z){for(var Y=0,G=$.length;Y<G;Y++){var Q=$[Y][0],z=$[Y][1];if(Z.hasAttribute(Q))continue;Z._setAttribute(Q,z)}}c.ElementStack=function $(){this.elements=[],this.top=null};c.ElementStack.prototype.push=function($){this.elements.push($),this.top=$};c.ElementStack.prototype.pop=function($){this.elements.pop(),this.top=this.elements[this.elements.length-1]};c.ElementStack.prototype.popTag=function($){for(var Z=this.elements.length-1;Z>0;Z--){var Y=this.elements[Z];if(a(Y,$))break}this.elements.length=Z,this.top=this.elements[Z-1]};c.ElementStack.prototype.popElementType=function($){for(var Z=this.elements.length-1;Z>0;Z--)if(this.elements[Z]instanceof $)break;this.elements.length=Z,this.top=this.elements[Z-1]};c.ElementStack.prototype.popElement=function($){for(var Z=this.elements.length-1;Z>0;Z--)if(this.elements[Z]===$)break;this.elements.length=Z,this.top=this.elements[Z-1]};c.ElementStack.prototype.removeElement=function($){if(this.top===$)this.pop();else{var Z=this.elements.lastIndexOf($);if(Z!==-1)this.elements.splice(Z,1)}};c.ElementStack.prototype.clearToContext=function($){for(var Z=this.elements.length-1;Z>0;Z--)if(a(this.elements[Z],$))break;this.elements.length=Z+1,this.top=this.elements[Z]};c.ElementStack.prototype.contains=function($){return this.inSpecificScope($,Object.create(null))};c.ElementStack.prototype.inSpecificScope=function($,Z){for(var Y=this.elements.length-1;Y>=0;Y--){var G=this.elements[Y];if(a(G,$))return!0;if(a(G,Z))return!1}return!1};c.ElementStack.prototype.elementInSpecificScope=function($,Z){for(var Y=this.elements.length-1;Y>=0;Y--){var G=this.elements[Y];if(G===$)return!0;if(a(G,Z))return!1}return!1};c.ElementStack.prototype.elementTypeInSpecificScope=function($,Z){for(var Y=this.elements.length-1;Y>=0;Y--){var G=this.elements[Y];if(G instanceof $)return!0;if(a(G,Z))return!1}return!1};c.ElementStack.prototype.inScope=function($){return this.inSpecificScope($,G1)};c.ElementStack.prototype.elementInScope=function($){return this.elementInSpecificScope($,G1)};c.ElementStack.prototype.elementTypeInScope=function($){return this.elementTypeInSpecificScope($,G1)};c.ElementStack.prototype.inButtonScope=function($){return this.inSpecificScope($,k$)};c.ElementStack.prototype.inListItemScope=function($){return this.inSpecificScope($,c8)};c.ElementStack.prototype.inTableScope=function($){return this.inSpecificScope($,TY)};c.ElementStack.prototype.inSelectScope=function($){for(var Z=this.elements.length-1;Z>=0;Z--){var Y=this.elements[Z];if(Y.namespaceURI!==N.HTML)return!1;var G=Y.localName;if(G===$)return!0;if(G!=="optgroup"&&G!=="option")return!1}return!1};c.ElementStack.prototype.generateImpliedEndTags=function($,Z){var Y=Z?wY:PY;for(var G=this.elements.length-1;G>=0;G--){var Q=this.elements[G];if($&&a(Q,$))break;if(!a(this.elements[G],Y))break}this.elements.length=G+1,this.top=this.elements[G]};c.ActiveFormattingElements=function $(){this.list=[],this.attrs=[]};c.ActiveFormattingElements.prototype.MARKER={localName:"|"};c.ActiveFormattingElements.prototype.insertMarker=function(){this.list.push(this.MARKER),this.attrs.push(this.MARKER)};c.ActiveFormattingElements.prototype.push=function($,Z){var Y=0;for(var G=this.list.length-1;G>=0;G--){if(this.list[G]===this.MARKER)break;if(J($,this.list[G],this.attrs[G])){if(Y++,Y===3){this.list.splice(G,1),this.attrs.splice(G,1);break}}}this.list.push($);var Q=[];for(var z=0;z<Z.length;z++)Q[z]=Z[z];this.attrs.push(Q);function J(V,_,q){if(V.localName!==_.localName)return!1;if(V._numattrs!==q.length)return!1;for(var K=0,O=q.length;K<O;K++){var A=q[K][0],B=q[K][1];if(!V.hasAttribute(A))return!1;if(V.getAttribute(A)!==B)return!1}return!0}};c.ActiveFormattingElements.prototype.clearToMarker=function(){for(var $=this.list.length-1;$>=0;$--)if(this.list[$]===this.MARKER)break;if($<0)$=0;this.list.length=$,this.attrs.length=$};c.ActiveFormattingElements.prototype.findElementByTag=function($){for(var Z=this.list.length-1;Z>=0;Z--){var Y=this.list[Z];if(Y===this.MARKER)break;if(Y.localName===$)return Y}return null};c.ActiveFormattingElements.prototype.indexOf=function($){return this.list.lastIndexOf($)};c.ActiveFormattingElements.prototype.remove=function($){var Z=this.list.lastIndexOf($);if(Z!==-1)this.list.splice(Z,1),this.attrs.splice(Z,1)};c.ActiveFormattingElements.prototype.replace=function($,Z,Y){var G=this.list.lastIndexOf($);if(G!==-1)this.list[G]=Z,this.attrs[G]=Y};c.ActiveFormattingElements.prototype.insertAfter=function($,Z){var Y=this.list.lastIndexOf($);if(Y!==-1)this.list.splice(Y,0,Z),this.attrs.splice(Y,0,Z)};function c($,Z,Y){var G=null,Q=0,z=0,J=!1,V=!1,_=0,q=[],K="",O=!0,A=0,B=m,D,S,L="",T="",R=[],v="",$0="",e=[],r0=[],n0=[],p0=[],O0=[],U0=!1,I=IQ,x0=null,z0=[],j=new c.ElementStack,f=new c.ActiveFormattingElements,Q1=Z!==void 0,j1=null,u0=null,d6=!0;if(Z)d6=Z.ownerDocument._scripting_enabled;if(Y&&Y.scripting_enabled===!1)d6=!1;var X0=!0,t8=!1,i6,e8,M=[],q1=!1,b1=!1,l6={document:function(){return i},_asDocumentFragment:function(){var X=i.createDocumentFragment(),W=i.firstChild;while(W.hasChildNodes())X.appendChild(W.firstChild);return X},pause:function(){A++},resume:function(){A--,this.parse("")},parse:function(X,W,H){var U;if(A>0)return K+=X,!0;if(_===0){if(K)X=K+X,K="";if(W)X+="￿",J=!0;if(G=X,Q=X.length,z=0,O){if(O=!1,G.charCodeAt(0)===65279)z=1}_++,U=e$(H),K=G.substring(z,Q),_--}else{if(_++,q.push(G,Q,z),G=X,Q=X.length,z=0,e$(),U=!1,K=G.substring(z,Q),z=q.pop(),Q=q.pop(),G=q.pop(),K)G=K+G.substring(z),Q=G.length,z=0,K="";_--}return U}},i=new MW(!0,$);if(i._parser=l6,i._scripting_enabled=d6,Z){if(Z.ownerDocument._quirks)i._quirks=!0;if(Z.ownerDocument._limitedQuirks)i._limitedQuirks=!0;if(Z.namespaceURI===N.HTML)switch(Z.localName){case"title":case"textarea":B=I1;break;case"style":case"xmp":case"iframe":case"noembed":case"noframes":case"script":case"plaintext":B=Q9;break}var t$=i.createElement("html");if(i._appendChild(t$),j.push(t$),Z instanceof n.HTMLTemplateElement)z0.push(q9);j6();for(var J6=Z;J6!==null;J6=J6.parentElement)if(J6 instanceof n.HTMLFormElement){u0=J6;break}}function e$(X){var W,H,U,F;while(z<Q){if(A>0||X&&X())return!0;switch(typeof B.lookahead){case"undefined":if(W=G.charCodeAt(z++),V){if(V=!1,W===10){z++;continue}}switch(W){case 13:if(z<Q){if(G.charCodeAt(z)===10)z++}else V=!0;B(10);break;case 65535:if(J&&z===Q){B(g8);break}default:B(W);break}break;case"number":W=G.charCodeAt(z);var P=B.lookahead,x=!0;if(P<0)x=!1,P=-P;if(P<Q-z)H=x?G.substring(z,z+P):null,F=!1;else if(J){if(H=x?G.substring(z,Q):null,F=!0,W===65535&&z===Q-1)W=g8}else return!0;B(W,H,F);break;case"string":W=G.charCodeAt(z),U=B.lookahead;var p=G.indexOf(U,z);if(p!==-1)H=G.substring(z,p+U.length),F=!1;else{if(!J)return!0;if(H=G.substring(z,Q),W===65535&&z===Q-1)W=g8;F=!0}B(W,H,F);break}}return!1}function K1(X,W){for(var H=0;H<O0.length;H++)if(O0[H][0]===X)return;if(W!==void 0)O0.push([X,W]);else O0.push([X])}function AG(){FY.lastIndex=z-1;var X=FY.exec(G);if(!X)throw new Error("should never happen");var W=X[1];if(!W)return!1;var H=X[2],U=H.length;switch(H[0]){case'"':case"'":H=H.substring(1,U-1),z+=X[0].length-1,B=J9;break;default:B=$1,z+=X[0].length-1,H=H.substring(0,U-1);break}for(var F=0;F<O0.length;F++)if(O0[F][0]===W)return!0;return O0.push([W,H]),!0}function LG(){U0=!1,L="",O0.length=0}function V6(){U0=!0,L="",O0.length=0}function z1(){R.length=0}function $9(){v=""}function Z9(){$0=""}function $Z(){e.length=0}function d1(){r0.length=0,n0=null,p0=null}function s6(){n0=[]}function U1(){p0=[]}function s(){t8=!0}function MG(){return j.top&&j.top.namespaceURI!=="http://www.w3.org/1999/xhtml"}function f0(X){return T===X}function i1(){if(M.length>0){var X=M0(M);if(M.length=0,b1){if(b1=!1,X[0]===`
29
- `)X=X.substring(1);if(X.length===0)return}H0(X6,X),q1=!1}b1=!1}function B6(X){X.lastIndex=z-1;var W=X.exec(G);if(W&&W.index===z-1){if(W=W[0],z+=W.length-1,J&&z===Q)W=W.slice(0,-1),z--;return W}else throw new Error("should never happen")}function H6(X){X.lastIndex=z-1;var W=X.exec(G)[0];if(!W)return!1;return PG(W),z+=W.length-1,!0}function PG(X){if(M.length>0)i1();if(b1){if(b1=!1,X[0]===`
30
- `)X=X.substring(1);if(X.length===0)return}H0(X6,X)}function X1(){if(U0)H0(u,L);else{var X=L;L="",T=X,H0(L0,X,O0)}}function wG(){if(z===Q)return!1;UY.lastIndex=z;var X=UY.exec(G);if(!X)throw new Error("should never happen");var W=X[2];if(!W)return!1;var H=X[1];if(H)z+=W.length+2,H0(u,W);else z+=W.length+1,T=W,H0(L0,W,RW);return!0}function RG(){if(U0)H0(u,L,null,!0);else H0(L0,L,O0,!0)}function o(){H0(wW,M0(r0),n0?M0(n0):void 0,p0?M0(p0):void 0)}function g(){i1(),I(g8),i.modclock=1}var H0=l6.insertToken=function X(W,H,U,F){i1();var P=j.top;if(!P||P.namespaceURI===N.HTML)I(W,H,U,F);else if(W!==L0&&W!==X6)UZ(W,H,U,F);else if(IY(P)&&(W===X6||W===L0&&H!=="mglyph"&&H!=="malignmark")||W===L0&&H==="svg"&&P.namespaceURI===N.MATHML&&P.localName==="annotation-xml"||SY(P))e8=!0,I(W,H,U,F),e8=!1;else UZ(W,H,U,F)};function a0(X){var W=j.top;if(F1&&a(W,W6))r6(function(H){return H.createComment(X)});else{if(W instanceof n.HTMLTemplateElement)W=W.content;W._appendChild(W.ownerDocument.createComment(X))}}function t0(X){var W=j.top;if(F1&&a(W,W6))r6(function(U){return U.createTextNode(X)});else{if(W instanceof n.HTMLTemplateElement)W=W.content;var H=W.lastChild;if(H&&H.nodeType===b$.TEXT_NODE)H.appendData(X);else W._appendChild(W.ownerDocument.createTextNode(X))}}function _6(X,W,H){var U=LY.createElement(X,W,null);if(H)for(var F=0,P=H.length;F<P;F++)U._setAttribute(H[F][0],H[F][1]);return U}var F1=!1;function h(X,W){var H=o6(function(U){return _6(U,X,W)});if(a(H,RY))H._form=u0;return H}function o6(X){var W;if(F1&&a(j.top,W6))W=r6(X);else if(j.top instanceof n.HTMLTemplateElement)W=X(j.top.content.ownerDocument),j.top.content._appendChild(W);else W=X(j.top.ownerDocument),j.top._appendChild(W);return j.push(W),W}function Y9(X,W,H){return o6(function(U){var F=U._createElementNS(X,H,null);if(W)for(var P=0,x=W.length;P<x;P++){var p=W[P];if(p.length===2)F._setAttribute(p[0],p[1]);else F._setAttributeNS(p[2],p[0],p[1])}return F})}function ZZ(X){for(var W=j.elements.length-1;W>=0;W--)if(j.elements[W]instanceof X)return W;return-1}function r6(X){var W,H,U=-1,F=-1,P;if(U=ZZ(n.HTMLTableElement),F=ZZ(n.HTMLTemplateElement),F>=0&&(U<0||F>U))W=j.elements[F];else if(U>=0)if(W=j.elements[U].parentNode,W)H=j.elements[U];else W=j.elements[U-1];if(!W)W=j.elements[0];if(W instanceof n.HTMLTemplateElement)W=W.content;if(P=X(W.ownerDocument),P.nodeType===b$.TEXT_NODE){var x;if(H)x=H.previousSibling;else x=W.lastChild;if(x&&x.nodeType===b$.TEXT_NODE)return x.appendData(P.data),P}if(H)W.insertBefore(P,H);else W._appendChild(P);return P}function j6(){var X=!1;for(var W=j.elements.length-1;W>=0;W--){var H=j.elements[W];if(W===0){if(X=!0,Q1)H=Z}if(H.namespaceURI===N.HTML){var U=H.localName;switch(U){case"select":for(var F=W;F>0;){var P=j.elements[--F];if(P instanceof n.HTMLTemplateElement)break;else if(P instanceof n.HTMLTableElement){I=V8;return}}I=W1;return;case"tr":I=U6;return;case"tbody":case"tfoot":case"thead":I=x1;return;case"caption":I=j9;return;case"colgroup":I=J8;return;case"table":I=h0;return;case"template":I=z0[z0.length-1];return;case"body":I=y;return;case"frameset":I=K9;return;case"html":if(j1===null)I=X8;else I=_9;return;default:if(!X){if(U==="head"){I=W0;return}if(U==="td"||U==="th"){I=l1;return}}}}if(X){I=y;return}}}function n6(X,W){h(X,W),B=q6,x0=I,I=W8}function TG(X,W){h(X,W),B=I1,x0=I,I=W8}function G9(X,W){return{elt:_6(X,f.list[W].localName,f.attrs[W]),attrs:f.attrs[W]}}function C0(){if(f.list.length===0)return;var X=f.list[f.list.length-1];if(X===f.MARKER)return;if(j.elements.lastIndexOf(X)!==-1)return;for(var W=f.list.length-2;W>=0;W--){if(X=f.list[W],X===f.MARKER)break;if(j.elements.lastIndexOf(X)!==-1)break}for(W=W+1;W<f.list.length;W++){var H=o6(function(U){return G9(U,W).elt});f.list[W]=H}}var a6={localName:"BM"};function CG(X){if(a(j.top,X)&&f.indexOf(j.top)===-1)return j.pop(),!0;var W=0;while(W<8){W++;var H=f.findElementByTag(X);if(!H)return!1;var U=j.elements.lastIndexOf(H);if(U===-1)return f.remove(H),!0;if(!j.elementInScope(H))return!0;var F=null,P;for(var x=U+1;x<j.elements.length;x++)if(a(j.elements[x],c1)){F=j.elements[x],P=x;break}if(!F)return j.popElement(H),f.remove(H),!0;else{var p=j.elements[U-1];f.insertAfter(H,a6);var G0=F,F0=F,g0=P,c0,k1=0;while(!0){if(k1++,G0=j.elements[--g0],G0===H)break;if(c0=f.indexOf(G0),k1>3&&c0!==-1)f.remove(G0),c0=-1;if(c0===-1){j.removeElement(G0);continue}var L1=G9(p.ownerDocument,c0);if(f.replace(G0,L1.elt,L1.attrs),j.elements[g0]=L1.elt,G0=L1.elt,F0===F)f.remove(a6),f.insertAfter(L1.elt,a6);G0._appendChild(F0),F0=G0}if(F1&&a(p,W6))r6(function(){return F0});else if(p instanceof n.HTMLTemplateElement)p.content._appendChild(F0);else p._appendChild(F0);var F6=G9(F.ownerDocument,f.indexOf(H));while(F.hasChildNodes())F6.elt._appendChild(F.firstChild);F._appendChild(F6.elt),f.remove(H),f.replace(a6,F6.elt,F6.attrs),j.removeElement(H);var LQ=j.elements.lastIndexOf(F);j.elements.splice(LQ+1,0,F6.elt)}}return!0}function bG(){j.pop(),I=x0;return}function E1(){if(delete i._parser,j.elements.length=0,i.defaultView)i.defaultView.dispatchEvent(new n.Event("load",{}))}function E(X,W){B=W,z--}function m(X){switch(X){case 38:D=m,B=K6;break;case 60:if(wG())break;B=EG;break;case 0:M.push(X),q1=!0;break;case-1:g();break;default:H6(mW)||M.push(X);break}}function I1(X){switch(X){case 38:D=I1,B=K6;break;case 60:B=yG;break;case 0:M.push(65533),q1=!0;break;case-1:g();break;default:M.push(X);break}}function q6(X){switch(X){case 60:B=fG;break;case 0:M.push(65533);break;case-1:g();break;default:H6(KY)||M.push(X);break}}function S1(X){switch(X){case 60:B=vG;break;case 0:M.push(65533);break;case-1:g();break;default:H6(KY)||M.push(X);break}}function Q9(X){switch(X){case 0:M.push(65533);break;case-1:g();break;default:H6(pW)||M.push(X);break}}function EG(X){switch(X){case 33:B=zZ;break;case 47:B=NG;break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:LG(),E(X,YZ);break;case 63:E(X,Z8);break;default:M.push(60),E(X,m);break}}function NG(X){switch(X){case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:V6(),E(X,YZ);break;case 62:B=m;break;case-1:M.push(60),M.push(47),g();break;default:E(X,Z8);break}}function YZ(X){switch(X){case 9:case 10:case 12:case 32:B=$1;break;case 47:B=O1;break;case 62:B=m,X1();break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:L+=String.fromCharCode(X+32);break;case 0:L+=String.fromCharCode(65533);break;case-1:g();break;default:L+=B6(hW);break}}function yG(X){if(X===47)z1(),B=xG;else M.push(60),E(X,I1)}function xG(X){switch(X){case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:V6(),E(X,kG);break;default:M.push(60),M.push(47),E(X,I1);break}}function kG(X){switch(X){case 9:case 10:case 12:case 32:if(f0(L)){B=$1;return}break;case 47:if(f0(L)){B=O1;return}break;case 62:if(f0(L)){B=m,X1();return}break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:L+=String.fromCharCode(X+32),R.push(X);return;case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:L+=String.fromCharCode(X),R.push(X);return;default:break}M.push(60),M.push(47),p1(M,R),E(X,I1)}function fG(X){if(X===47)z1(),B=hG;else M.push(60),E(X,q6)}function hG(X){switch(X){case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:V6(),E(X,gG);break;default:M.push(60),M.push(47),E(X,q6);break}}function gG(X){switch(X){case 9:case 10:case 12:case 32:if(f0(L)){B=$1;return}break;case 47:if(f0(L)){B=O1;return}break;case 62:if(f0(L)){B=m,X1();return}break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:L+=String.fromCharCode(X+32),R.push(X);return;case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:L+=String.fromCharCode(X),R.push(X);return;default:break}M.push(60),M.push(47),p1(M,R),E(X,q6)}function vG(X){switch(X){case 47:z1(),B=mG;break;case 33:B=uG,M.push(60),M.push(33);break;default:M.push(60),E(X,S1);break}}function mG(X){switch(X){case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:V6(),E(X,pG);break;default:M.push(60),M.push(47),E(X,S1);break}}function pG(X){switch(X){case 9:case 10:case 12:case 32:if(f0(L)){B=$1;return}break;case 47:if(f0(L)){B=O1;return}break;case 62:if(f0(L)){B=m,X1();return}break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:L+=String.fromCharCode(X+32),R.push(X);return;case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:L+=String.fromCharCode(X),R.push(X);return;default:break}M.push(60),M.push(47),p1(M,R),E(X,S1)}function uG(X){if(X===45)B=cG,M.push(45);else E(X,S1)}function cG(X){if(X===45)B=GZ,M.push(45);else E(X,S1)}function e0(X){switch(X){case 45:B=dG,M.push(45);break;case 60:B=z9;break;case 0:M.push(65533);break;case-1:g();break;default:M.push(X);break}}function dG(X){switch(X){case 45:B=GZ,M.push(45);break;case 60:B=z9;break;case 0:B=e0,M.push(65533);break;case-1:g();break;default:B=e0,M.push(X);break}}function GZ(X){switch(X){case 45:M.push(45);break;case 60:B=z9;break;case 62:B=S1,M.push(62);break;case 0:B=e0,M.push(65533);break;case-1:g();break;default:B=e0,M.push(X);break}}function z9(X){switch(X){case 47:z1(),B=iG;break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:z1(),M.push(60),E(X,sG);break;default:M.push(60),E(X,e0);break}}function iG(X){switch(X){case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:V6(),E(X,lG);break;default:M.push(60),M.push(47),E(X,e0);break}}function lG(X){switch(X){case 9:case 10:case 12:case 32:if(f0(L)){B=$1;return}break;case 47:if(f0(L)){B=O1;return}break;case 62:if(f0(L)){B=m,X1();return}break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:L+=String.fromCharCode(X+32),R.push(X);return;case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:L+=String.fromCharCode(X),R.push(X);return;default:break}M.push(60),M.push(47),p1(M,R),E(X,e0)}function sG(X){switch(X){case 9:case 10:case 12:case 32:case 47:case 62:if(M0(R)==="script")B=D1;else B=e0;M.push(X);break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:R.push(X+32),M.push(X);break;case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:R.push(X),M.push(X);break;default:E(X,e0);break}}function D1(X){switch(X){case 45:B=oG,M.push(45);break;case 60:B=X9,M.push(60);break;case 0:M.push(65533);break;case-1:g();break;default:M.push(X);break}}function oG(X){switch(X){case 45:B=rG,M.push(45);break;case 60:B=X9,M.push(60);break;case 0:B=D1,M.push(65533);break;case-1:g();break;default:B=D1,M.push(X);break}}function rG(X){switch(X){case 45:M.push(45);break;case 60:B=X9,M.push(60);break;case 62:B=S1,M.push(62);break;case 0:B=D1,M.push(65533);break;case-1:g();break;default:B=D1,M.push(X);break}}function X9(X){if(X===47)z1(),B=nG,M.push(47);else E(X,D1)}function nG(X){switch(X){case 9:case 10:case 12:case 32:case 47:case 62:if(M0(R)==="script")B=e0;else B=D1;M.push(X);break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:R.push(X+32),M.push(X);break;case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:R.push(X),M.push(X);break;default:E(X,D1);break}}function $1(X){switch(X){case 9:case 10:case 12:case 32:break;case 47:B=O1;break;case 62:B=m,X1();break;case-1:g();break;case 61:$9(),v+=String.fromCharCode(X),B=W9;break;default:if(AG())break;$9(),E(X,W9);break}}function W9(X){switch(X){case 9:case 10:case 12:case 32:case 47:case 62:case-1:E(X,aG);break;case 61:B=QZ;break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:v+=String.fromCharCode(X+32);break;case 0:v+=String.fromCharCode(65533);break;case 34:case 39:case 60:default:v+=B6(gW);break}}function aG(X){switch(X){case 9:case 10:case 12:case 32:break;case 47:K1(v),B=O1;break;case 61:B=QZ;break;case 62:B=m,K1(v),X1();break;case-1:K1(v),g();break;default:K1(v),$9(),E(X,W9);break}}function QZ(X){switch(X){case 9:case 10:case 12:case 32:break;case 34:Z9(),B=t6;break;case 39:Z9(),B=e6;break;case 62:default:Z9(),E(X,$8);break}}function t6(X){switch(X){case 34:K1(v,$0),B=J9;break;case 38:D=t6,B=K6;break;case 0:$0+=String.fromCharCode(65533);break;case-1:g();break;case 10:$0+=String.fromCharCode(X);break;default:$0+=B6(xW);break}}function e6(X){switch(X){case 39:K1(v,$0),B=J9;break;case 38:D=e6,B=K6;break;case 0:$0+=String.fromCharCode(65533);break;case-1:g();break;case 10:$0+=String.fromCharCode(X);break;default:$0+=B6(kW);break}}function $8(X){switch(X){case 9:case 10:case 12:case 32:K1(v,$0),B=$1;break;case 38:D=$8,B=K6;break;case 62:K1(v,$0),B=m,X1();break;case 0:$0+=String.fromCharCode(65533);break;case-1:z--,B=m;break;case 34:case 39:case 60:case 61:case 96:default:$0+=B6(fW);break}}function J9(X){switch(X){case 9:case 10:case 12:case 32:B=$1;break;case 47:B=O1;break;case 62:B=m,X1();break;case-1:g();break;default:E(X,$1);break}}function O1(X){switch(X){case 62:B=m,RG(!0);break;case-1:g();break;default:E(X,$1);break}}function Z8(X,W,H){var U=W.length;if(H)z+=U-1;else z+=U;var F=W.substring(0,U-1);F=F.replace(/\u0000/g,"�"),F=F.replace(/\u000D\u000A/g,`
31
- `),F=F.replace(/\u000D/g,`
32
- `),H0(Y1,F),B=m}Z8.lookahead=">";function zZ(X,W,H){if(W[0]==="-"&&W[1]==="-"){z+=2,$Z(),B=tG;return}if(W.toUpperCase()==="DOCTYPE")z+=7,B=zQ;else if(W==="[CDATA["&&MG())z+=7,B=H9;else B=Z8}zZ.lookahead=7;function tG(X){switch($Z(),X){case 45:B=eG;break;case 62:B=m,H0(Y1,M0(e));break;default:E(X,N1);break}}function eG(X){switch(X){case 45:B=Y8;break;case 62:B=m,H0(Y1,M0(e));break;case-1:H0(Y1,M0(e)),g();break;default:e.push(45),E(X,N1);break}}function N1(X){switch(X){case 60:e.push(X),B=$Q;break;case 45:B=V9;break;case 0:e.push(65533);break;case-1:H0(Y1,M0(e)),g();break;default:e.push(X);break}}function $Q(X){switch(X){case 33:e.push(X),B=ZQ;break;case 60:e.push(X);break;default:E(X,N1);break}}function ZQ(X){switch(X){case 45:B=YQ;break;default:E(X,N1);break}}function YQ(X){switch(X){case 45:B=GQ;break;default:E(X,V9);break}}function GQ(X){switch(X){case 62:case-1:E(X,Y8);break;default:E(X,Y8);break}}function V9(X){switch(X){case 45:B=Y8;break;case-1:H0(Y1,M0(e)),g();break;default:e.push(45),E(X,N1);break}}function Y8(X){switch(X){case 62:B=m,H0(Y1,M0(e));break;case 33:B=QQ;break;case 45:e.push(45);break;case-1:H0(Y1,M0(e)),g();break;default:e.push(45),e.push(45),E(X,N1);break}}function QQ(X){switch(X){case 45:e.push(45),e.push(45),e.push(33),B=V9;break;case 62:B=m,H0(Y1,M0(e));break;case-1:H0(Y1,M0(e)),g();break;default:e.push(45),e.push(45),e.push(33),E(X,N1);break}}function zQ(X){switch(X){case 9:case 10:case 12:case 32:B=XZ;break;case-1:d1(),s(),o(),g();break;default:E(X,XZ);break}}function XZ(X){switch(X){case 9:case 10:case 12:case 32:break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:d1(),r0.push(X+32),B=B9;break;case 0:d1(),r0.push(65533),B=B9;break;case 62:d1(),s(),B=m,o();break;case-1:d1(),s(),o(),g();break;default:d1(),r0.push(X),B=B9;break}}function B9(X){switch(X){case 9:case 10:case 12:case 32:B=WZ;break;case 62:B=m,o();break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:r0.push(X+32);break;case 0:r0.push(65533);break;case-1:s(),o(),g();break;default:r0.push(X);break}}function WZ(X,W,H){switch(X){case 9:case 10:case 12:case 32:z+=1;break;case 62:B=m,z+=1,o();break;case-1:s(),o(),g();break;default:if(W=W.toUpperCase(),W==="PUBLIC")z+=6,B=XQ;else if(W==="SYSTEM")z+=6,B=VQ;else s(),B=A1;break}}WZ.lookahead=6;function XQ(X){switch(X){case 9:case 10:case 12:case 32:B=WQ;break;case 34:s6(),B=JZ;break;case 39:s6(),B=VZ;break;case 62:s(),B=m,o();break;case-1:s(),o(),g();break;default:s(),B=A1;break}}function WQ(X){switch(X){case 9:case 10:case 12:case 32:break;case 34:s6(),B=JZ;break;case 39:s6(),B=VZ;break;case 62:s(),B=m,o();break;case-1:s(),o(),g();break;default:s(),B=A1;break}}function JZ(X){switch(X){case 34:B=BZ;break;case 0:n0.push(65533);break;case 62:s(),B=m,o();break;case-1:s(),o(),g();break;default:n0.push(X);break}}function VZ(X){switch(X){case 39:B=BZ;break;case 0:n0.push(65533);break;case 62:s(),B=m,o();break;case-1:s(),o(),g();break;default:n0.push(X);break}}function BZ(X){switch(X){case 9:case 10:case 12:case 32:B=JQ;break;case 62:B=m,o();break;case 34:U1(),B=G8;break;case 39:U1(),B=Q8;break;case-1:s(),o(),g();break;default:s(),B=A1;break}}function JQ(X){switch(X){case 9:case 10:case 12:case 32:break;case 62:B=m,o();break;case 34:U1(),B=G8;break;case 39:U1(),B=Q8;break;case-1:s(),o(),g();break;default:s(),B=A1;break}}function VQ(X){switch(X){case 9:case 10:case 12:case 32:B=BQ;break;case 34:U1(),B=G8;break;case 39:U1(),B=Q8;break;case 62:s(),B=m,o();break;case-1:s(),o(),g();break;default:s(),B=A1;break}}function BQ(X){switch(X){case 9:case 10:case 12:case 32:break;case 34:U1(),B=G8;break;case 39:U1(),B=Q8;break;case 62:s(),B=m,o();break;case-1:s(),o(),g();break;default:s(),B=A1;break}}function G8(X){switch(X){case 34:B=HZ;break;case 0:p0.push(65533);break;case 62:s(),B=m,o();break;case-1:s(),o(),g();break;default:p0.push(X);break}}function Q8(X){switch(X){case 39:B=HZ;break;case 0:p0.push(65533);break;case 62:s(),B=m,o();break;case-1:s(),o(),g();break;default:p0.push(X);break}}function HZ(X){switch(X){case 9:case 10:case 12:case 32:break;case 62:B=m,o();break;case-1:s(),o(),g();break;default:B=A1;break}}function A1(X){switch(X){case 62:B=m,o();break;case-1:o(),g();break;default:break}}function H9(X){switch(X){case 93:B=HQ;break;case-1:g();break;case 0:q1=!0;default:H6(vW)||M.push(X);break}}function HQ(X){switch(X){case 93:B=_Q;break;default:M.push(93),E(X,H9);break}}function _Q(X){switch(X){case 93:M.push(93);break;case 62:i1(),B=m;break;default:M.push(93),M.push(93),E(X,H9);break}}function K6(X){switch(z1(),R.push(38),X){case 9:case 10:case 12:case 32:case 60:case 38:case-1:E(X,y1);break;case 35:R.push(X),B=jQ;break;default:E(X,_Z);break}}function _Z(X){qY.lastIndex=z;var W=qY.exec(G);if(!W)throw new Error("should never happen");var H=W[1];if(!H){B=y1;return}switch(z+=H.length,p1(R,cW(H)),D){case t6:case e6:case $8:if(H[H.length-1]!==";"){if(/[=A-Za-z0-9]/.test(G[z])){B=y1;return}}break;default:break}z1();var U=NW[H];if(typeof U==="number")R.push(U);else p1(R,U);B=y1}_Z.lookahead=-yW;function jQ(X){switch(S=0,X){case 120:case 88:R.push(X),B=qQ;break;default:E(X,KQ);break}}function qQ(X){switch(X){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 65:case 66:case 67:case 68:case 69:case 70:case 97:case 98:case 99:case 100:case 101:case 102:E(X,UQ);break;default:E(X,y1);break}}function KQ(X){switch(X){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:E(X,FQ);break;default:E(X,y1);break}}function UQ(X){switch(X){case 65:case 66:case 67:case 68:case 69:case 70:S*=16,S+=X-55;break;case 97:case 98:case 99:case 100:case 101:case 102:S*=16,S+=X-87;break;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:S*=16,S+=X-48;break;case 59:B=z8;break;default:E(X,z8);break}}function FQ(X){switch(X){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:S*=10,S+=X-48;break;case 59:B=z8;break;default:E(X,z8);break}}function z8(X){if(S in jY)S=jY[S];else if(S>1114111||S>=55296&&S<57344)S=65533;if(z1(),S<=65535)R.push(S);else S=S-65536,R.push(55296+(S>>10)),R.push(56320+(S&1023));E(X,y1)}function y1(X){switch(D){case t6:case e6:case $8:$0+=M0(R);break;default:p1(M,R);break}E(X,D)}function IQ(X,W,H,U){switch(X){case 1:if(W=W.replace(u1,""),W.length===0)return;break;case 4:i._appendChild(i.createComment(W));return;case 5:var F=W,P=H,x=U;if(i.appendChild(new PW(i,F,P,x)),t8||F.toLowerCase()!=="html"||TW.test(P)||x&&x.toLowerCase()===CW||x===void 0&&VY.test(P))i._quirks=!0;else if(bW.test(P)||x!==void 0&&VY.test(P))i._limitedQuirks=!0;I=jZ;return}i._quirks=!0,I=jZ,I(X,W,H,U)}function jZ(X,W,H,U){var F;switch(X){case 1:if(W=W.replace(u1,""),W.length===0)return;break;case 5:return;case 4:i._appendChild(i.createComment(W));return;case 2:if(W==="html"){F=_6(i,W,H),j.push(F),i.appendChild(F),I=X8;return}break;case 3:switch(W){case"html":case"head":case"body":case"br":break;default:return}}F=_6(i,"html",null),j.push(F),i.appendChild(F),I=X8,I(X,W,H,U)}function X8(X,W,H,U){switch(X){case 1:if(W=W.replace(u1,""),W.length===0)return;break;case 5:return;case 4:a0(W);return;case 2:switch(W){case"html":y(X,W,H,U);return;case"head":var F=h(W,H);j1=F,I=W0;return}break;case 3:switch(W){case"html":case"head":case"body":case"br":break;default:return}}X8(L0,"head",null),I(X,W,H,U)}function W0(X,W,H,U){switch(X){case 1:var F=W.match(u1);if(F)t0(F[0]),W=W.substring(F[0].length);if(W.length===0)return;break;case 4:a0(W);return;case 5:return;case 2:switch(W){case"html":y(X,W,H,U);return;case"meta":case"base":case"basefont":case"bgsound":case"link":h(W,H),j.pop();return;case"title":TG(W,H);return;case"noscript":if(!d6){h(W,H),I=qZ;return}case"noframes":case"style":n6(W,H);return;case"script":o6(function(P){var x=_6(P,W,H);if(x._parser_inserted=!0,x._force_async=!1,Q1)x._already_started=!0;return i1(),x}),B=S1,x0=I,I=W8;return;case"template":h(W,H),f.insertMarker(),X0=!1,I=q9,z0.push(I);return;case"head":return}break;case 3:switch(W){case"head":j.pop(),I=_9;return;case"body":case"html":case"br":break;case"template":if(!j.contains("template"))return;j.generateImpliedEndTags(null,"thorough"),j.popTag("template"),f.clearToMarker(),z0.pop(),j6();return;default:return}break}W0(u,"head",null),I(X,W,H,U)}function qZ(X,W,H,U){switch(X){case 5:return;case 4:W0(X,W);return;case 1:var F=W.match(u1);if(F)W0(X,F[0]),W=W.substring(F[0].length);if(W.length===0)return;break;case 2:switch(W){case"html":y(X,W,H,U);return;case"basefont":case"bgsound":case"link":case"meta":case"noframes":case"style":W0(X,W,H);return;case"head":case"noscript":return}break;case 3:switch(W){case"noscript":j.pop(),I=W0;return;case"br":break;default:return}break}qZ(u,"noscript",null),I(X,W,H,U)}function _9(X,W,H,U){switch(X){case 1:var F=W.match(u1);if(F)t0(F[0]),W=W.substring(F[0].length);if(W.length===0)return;break;case 4:a0(W);return;case 5:return;case 2:switch(W){case"html":y(X,W,H,U);return;case"body":h(W,H),X0=!1,I=y;return;case"frameset":h(W,H),I=K9;return;case"base":case"basefont":case"bgsound":case"link":case"meta":case"noframes":case"script":case"style":case"template":case"title":j.push(j1),W0(L0,W,H),j.removeElement(j1);return;case"head":return}break;case 3:switch(W){case"template":return W0(X,W,H,U);case"body":case"html":case"br":break;default:return}break}_9(L0,"body",null),X0=!0,I(X,W,H,U)}function y(X,W,H,U){var F,P,x,p;switch(X){case 1:if(q1){if(W=W.replace(m8,""),W.length===0)return}if(X0&&v8.test(W))X0=!1;C0(),t0(W);return;case 5:return;case 4:a0(W);return;case-1:if(z0.length)return q9(X);E1();return;case 2:switch(W){case"html":if(j.contains("template"))return;AY(H,j.elements[0]);return;case"base":case"basefont":case"bgsound":case"link":case"meta":case"noframes":case"script":case"style":case"template":case"title":W0(L0,W,H);return;case"body":if(F=j.elements[1],!F||!(F instanceof n.HTMLBodyElement)||j.contains("template"))return;X0=!1,AY(H,F);return;case"frameset":if(!X0)return;if(F=j.elements[1],!F||!(F instanceof n.HTMLBodyElement))return;if(F.parentNode)F.parentNode.removeChild(F);while(!(j.top instanceof n.HTMLHtmlElement))j.pop();h(W,H),I=K9;return;case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"nav":case"ol":case"p":case"section":case"summary":case"ul":if(j.inButtonScope("p"))y(u,"p");h(W,H);return;case"menu":if(j.inButtonScope("p"))y(u,"p");if(a(j.top,"menuitem"))j.pop();h(W,H);return;case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":if(j.inButtonScope("p"))y(u,"p");if(j.top instanceof n.HTMLHeadingElement)j.pop();h(W,H);return;case"pre":case"listing":if(j.inButtonScope("p"))y(u,"p");h(W,H),b1=!0,X0=!1;return;case"form":if(u0&&!j.contains("template"))return;if(j.inButtonScope("p"))y(u,"p");if(p=h(W,H),!j.contains("template"))u0=p;return;case"li":X0=!1;for(P=j.elements.length-1;P>=0;P--){if(x=j.elements[P],x instanceof n.HTMLLIElement){y(u,"li");break}if(a(x,c1)&&!a(x,y$))break}if(j.inButtonScope("p"))y(u,"p");h(W,H);return;case"dd":case"dt":X0=!1;for(P=j.elements.length-1;P>=0;P--){if(x=j.elements[P],a(x,MY)){y(u,x.localName);break}if(a(x,c1)&&!a(x,y$))break}if(j.inButtonScope("p"))y(u,"p");h(W,H);return;case"plaintext":if(j.inButtonScope("p"))y(u,"p");h(W,H),B=Q9;return;case"button":if(j.inScope("button"))y(u,"button"),I(X,W,H,U);else C0(),h(W,H),X0=!1;return;case"a":var G0=f.findElementByTag("a");if(G0)y(u,W),f.remove(G0),j.removeElement(G0);case"b":case"big":case"code":case"em":case"font":case"i":case"s":case"small":case"strike":case"strong":case"tt":case"u":C0(),f.push(h(W,H),H);return;case"nobr":if(C0(),j.inScope(W))y(u,W),C0();f.push(h(W,H),H);return;case"applet":case"marquee":case"object":C0(),h(W,H),f.insertMarker(),X0=!1;return;case"table":if(!i._quirks&&j.inButtonScope("p"))y(u,"p");h(W,H),X0=!1,I=h0;return;case"area":case"br":case"embed":case"img":case"keygen":case"wbr":C0(),h(W,H),j.pop(),X0=!1;return;case"input":C0(),p=h(W,H),j.pop();var F0=p.getAttribute("type");if(!F0||F0.toLowerCase()!=="hidden")X0=!1;return;case"param":case"source":case"track":h(W,H),j.pop();return;case"hr":if(j.inButtonScope("p"))y(u,"p");if(a(j.top,"menuitem"))j.pop();h(W,H),j.pop(),X0=!1;return;case"image":y(L0,"img",H,U);return;case"textarea":h(W,H),b1=!0,X0=!1,B=I1,x0=I,I=W8;return;case"xmp":if(j.inButtonScope("p"))y(u,"p");C0(),X0=!1,n6(W,H);return;case"iframe":X0=!1,n6(W,H);return;case"noembed":n6(W,H);return;case"select":if(C0(),h(W,H),X0=!1,I===h0||I===j9||I===x1||I===U6||I===l1)I=V8;else I=W1;return;case"optgroup":case"option":if(j.top instanceof n.HTMLOptionElement)y(u,"option");C0(),h(W,H);return;case"menuitem":if(a(j.top,"menuitem"))j.pop();C0(),h(W,H);return;case"rb":case"rtc":if(j.inScope("ruby"))j.generateImpliedEndTags();h(W,H);return;case"rp":case"rt":if(j.inScope("ruby"))j.generateImpliedEndTags("rtc");h(W,H);return;case"math":if(C0(),OY(H),N$(H),Y9(W,H,N.MATHML),U)j.pop();return;case"svg":if(C0(),DY(H),N$(H),Y9(W,H,N.SVG),U)j.pop();return;case"caption":case"col":case"colgroup":case"frame":case"head":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return}C0(),h(W,H);return;case 3:switch(W){case"template":W0(u,W,H);return;case"body":if(!j.inScope("body"))return;I=KZ;return;case"html":if(!j.inScope("body"))return;I=KZ,I(X,W,H);return;case"address":case"article":case"aside":case"blockquote":case"button":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"listing":case"main":case"menu":case"nav":case"ol":case"pre":case"section":case"summary":case"ul":if(!j.inScope(W))return;j.generateImpliedEndTags(),j.popTag(W);return;case"form":if(!j.contains("template")){var g0=u0;if(u0=null,!g0||!j.elementInScope(g0))return;j.generateImpliedEndTags(),j.removeElement(g0)}else{if(!j.inScope("form"))return;j.generateImpliedEndTags(),j.popTag("form")}return;case"p":if(!j.inButtonScope(W))y(L0,W,null),I(X,W,H,U);else j.generateImpliedEndTags(W),j.popTag(W);return;case"li":if(!j.inListItemScope(W))return;j.generateImpliedEndTags(W),j.popTag(W);return;case"dd":case"dt":if(!j.inScope(W))return;j.generateImpliedEndTags(W),j.popTag(W);return;case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":if(!j.elementTypeInScope(n.HTMLHeadingElement))return;j.generateImpliedEndTags(),j.popElementType(n.HTMLHeadingElement);return;case"sarcasm":break;case"a":case"b":case"big":case"code":case"em":case"font":case"i":case"nobr":case"s":case"small":case"strike":case"strong":case"tt":case"u":var c0=CG(W);if(c0)return;break;case"applet":case"marquee":case"object":if(!j.inScope(W))return;j.generateImpliedEndTags(),j.popTag(W),f.clearToMarker();return;case"br":y(L0,W,null);return}for(P=j.elements.length-1;P>=0;P--)if(x=j.elements[P],a(x,W)){j.generateImpliedEndTags(W),j.popElement(x);break}else if(a(x,c1))return;return}}function W8(X,W,H,U){switch(X){case 1:t0(W);return;case-1:if(j.top instanceof n.HTMLScriptElement)j.top._already_started=!0;j.pop(),I=x0,I(X);return;case 3:if(W==="script")bG();else j.pop(),I=x0;return;default:return}}function h0(X,W,H,U){function F(x){for(var p=0,G0=x.length;p<G0;p++)if(x[p][0]==="type")return x[p][1].toLowerCase();return null}switch(X){case 1:if(e8){y(X,W,H,U);return}else if(a(j.top,W6)){i6=[],x0=I,I=SQ,I(X,W,H,U);return}break;case 4:a0(W);return;case 5:return;case 2:switch(W){case"caption":j.clearToContext(p8),f.insertMarker(),h(W,H),I=j9;return;case"colgroup":j.clearToContext(p8),h(W,H),I=J8;return;case"col":h0(L0,"colgroup",null),I(X,W,H,U);return;case"tbody":case"tfoot":case"thead":j.clearToContext(p8),h(W,H),I=x1;return;case"td":case"th":case"tr":h0(L0,"tbody",null),I(X,W,H,U);return;case"table":if(!j.inTableScope(W))return;h0(u,W),I(X,W,H,U);return;case"style":case"script":case"template":W0(X,W,H,U);return;case"input":var P=F(H);if(P!=="hidden")break;h(W,H),j.pop();return;case"form":if(u0||j.contains("template"))return;u0=h(W,H),j.popElement(u0);return}break;case 3:switch(W){case"table":if(!j.inTableScope(W))return;j.popTag(W),j6();return;case"body":case"caption":case"col":case"colgroup":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return;case"template":W0(X,W,H,U);return}break;case-1:y(X,W,H,U);return}F1=!0,y(X,W,H,U),F1=!1}function SQ(X,W,H,U){if(X===X6){if(q1){if(W=W.replace(m8,""),W.length===0)return}i6.push(W)}else{var F=i6.join("");if(i6.length=0,v8.test(F))F1=!0,y(X6,F),F1=!1;else t0(F);I=x0,I(X,W,H,U)}}function j9(X,W,H,U){function F(){if(!j.inTableScope("caption"))return!1;return j.generateImpliedEndTags(),j.popTag("caption"),f.clearToMarker(),I=h0,!0}switch(X){case 2:switch(W){case"caption":case"col":case"colgroup":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":if(F())I(X,W,H,U);return}break;case 3:switch(W){case"caption":F();return;case"table":if(F())I(X,W,H,U);return;case"body":case"col":case"colgroup":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return}break}y(X,W,H,U)}function J8(X,W,H,U){switch(X){case 1:var F=W.match(u1);if(F)t0(F[0]),W=W.substring(F[0].length);if(W.length===0)return;break;case 4:a0(W);return;case 5:return;case 2:switch(W){case"html":y(X,W,H,U);return;case"col":h(W,H),j.pop();return;case"template":W0(X,W,H,U);return}break;case 3:switch(W){case"colgroup":if(!a(j.top,"colgroup"))return;j.pop(),I=h0;return;case"col":return;case"template":W0(X,W,H,U);return}break;case-1:y(X,W,H,U);return}if(!a(j.top,"colgroup"))return;J8(u,"colgroup"),I(X,W,H,U)}function x1(X,W,H,U){function F(){if(!j.inTableScope("tbody")&&!j.inTableScope("thead")&&!j.inTableScope("tfoot"))return;j.clearToContext(u8),x1(u,j.top.localName,null),I(X,W,H,U)}switch(X){case 2:switch(W){case"tr":j.clearToContext(u8),h(W,H),I=U6;return;case"th":case"td":x1(L0,"tr",null),I(X,W,H,U);return;case"caption":case"col":case"colgroup":case"tbody":case"tfoot":case"thead":F();return}break;case 3:switch(W){case"table":F();return;case"tbody":case"tfoot":case"thead":if(j.inTableScope(W))j.clearToContext(u8),j.pop(),I=h0;return;case"body":case"caption":case"col":case"colgroup":case"html":case"td":case"th":case"tr":return}break}h0(X,W,H,U)}function U6(X,W,H,U){function F(){if(!j.inTableScope("tr"))return!1;return j.clearToContext(x$),j.pop(),I=x1,!0}switch(X){case 2:switch(W){case"th":case"td":j.clearToContext(x$),h(W,H),I=l1,f.insertMarker();return;case"caption":case"col":case"colgroup":case"tbody":case"tfoot":case"thead":case"tr":if(F())I(X,W,H,U);return}break;case 3:switch(W){case"tr":F();return;case"table":if(F())I(X,W,H,U);return;case"tbody":case"tfoot":case"thead":if(j.inTableScope(W)){if(F())I(X,W,H,U)}return;case"body":case"caption":case"col":case"colgroup":case"html":case"td":case"th":return}break}h0(X,W,H,U)}function l1(X,W,H,U){switch(X){case 2:switch(W){case"caption":case"col":case"colgroup":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":if(j.inTableScope("td"))l1(u,"td"),I(X,W,H,U);else if(j.inTableScope("th"))l1(u,"th"),I(X,W,H,U);return}break;case 3:switch(W){case"td":case"th":if(!j.inTableScope(W))return;j.generateImpliedEndTags(),j.popTag(W),f.clearToMarker(),I=U6;return;case"body":case"caption":case"col":case"colgroup":case"html":return;case"table":case"tbody":case"tfoot":case"thead":case"tr":if(!j.inTableScope(W))return;l1(u,j.inTableScope("td")?"td":"th"),I(X,W,H,U);return}break}y(X,W,H,U)}function W1(X,W,H,U){switch(X){case 1:if(q1){if(W=W.replace(m8,""),W.length===0)return}t0(W);return;case 4:a0(W);return;case 5:return;case-1:y(X,W,H,U);return;case 2:switch(W){case"html":y(X,W,H,U);return;case"option":if(j.top instanceof n.HTMLOptionElement)W1(u,W);h(W,H);return;case"optgroup":if(j.top instanceof n.HTMLOptionElement)W1(u,"option");if(j.top instanceof n.HTMLOptGroupElement)W1(u,W);h(W,H);return;case"select":W1(u,W);return;case"input":case"keygen":case"textarea":if(!j.inSelectScope("select"))return;W1(u,"select"),I(X,W,H,U);return;case"script":case"template":W0(X,W,H,U);return}break;case 3:switch(W){case"optgroup":if(j.top instanceof n.HTMLOptionElement&&j.elements[j.elements.length-2]instanceof n.HTMLOptGroupElement)W1(u,"option");if(j.top instanceof n.HTMLOptGroupElement)j.pop();return;case"option":if(j.top instanceof n.HTMLOptionElement)j.pop();return;case"select":if(!j.inSelectScope(W))return;j.popTag(W),j6();return;case"template":W0(X,W,H,U);return}break}}function V8(X,W,H,U){switch(W){case"caption":case"table":case"tbody":case"tfoot":case"thead":case"tr":case"td":case"th":switch(X){case 2:V8(u,"select"),I(X,W,H,U);return;case 3:if(j.inTableScope(W))V8(u,"select"),I(X,W,H,U);return}}W1(X,W,H,U)}function q9(X,W,H,U){function F(P){I=P,z0[z0.length-1]=I,I(X,W,H,U)}switch(X){case 1:case 4:case 5:y(X,W,H,U);return;case-1:if(!j.contains("template"))E1();else j.popTag("template"),f.clearToMarker(),z0.pop(),j6(),I(X,W,H,U);return;case 2:switch(W){case"base":case"basefont":case"bgsound":case"link":case"meta":case"noframes":case"script":case"style":case"template":case"title":W0(X,W,H,U);return;case"caption":case"colgroup":case"tbody":case"tfoot":case"thead":F(h0);return;case"col":F(J8);return;case"tr":F(x1);return;case"td":case"th":F(U6);return}F(y);return;case 3:switch(W){case"template":W0(X,W,H,U);return;default:return}}}function KZ(X,W,H,U){switch(X){case 1:if(v8.test(W))break;y(X,W);return;case 4:j.elements[0]._appendChild(i.createComment(W));return;case 5:return;case-1:E1();return;case 2:if(W==="html"){y(X,W,H,U);return}break;case 3:if(W==="html"){if(Q1)return;I=OQ;return}break}I=y,I(X,W,H,U)}function K9(X,W,H,U){switch(X){case 1:if(W=W.replace(E$,""),W.length>0)t0(W);return;case 4:a0(W);return;case 5:return;case-1:E1();return;case 2:switch(W){case"html":y(X,W,H,U);return;case"frameset":h(W,H);return;case"frame":h(W,H),j.pop();return;case"noframes":W0(X,W,H,U);return}break;case 3:if(W==="frameset"){if(Q1&&j.top instanceof n.HTMLHtmlElement)return;if(j.pop(),!Q1&&!(j.top instanceof n.HTMLFrameSetElement))I=DQ;return}break}}function DQ(X,W,H,U){switch(X){case 1:if(W=W.replace(E$,""),W.length>0)t0(W);return;case 4:a0(W);return;case 5:return;case-1:E1();return;case 2:switch(W){case"html":y(X,W,H,U);return;case"noframes":W0(X,W,H,U);return}break;case 3:if(W==="html"){I=AQ;return}break}}function OQ(X,W,H,U){switch(X){case 1:if(v8.test(W))break;y(X,W,H,U);return;case 4:i._appendChild(i.createComment(W));return;case 5:y(X,W,H,U);return;case-1:E1();return;case 2:if(W==="html"){y(X,W,H,U);return}break}I=y,I(X,W,H,U)}function AQ(X,W,H,U){switch(X){case 1:if(W=W.replace(E$,""),W.length>0)y(X,W,H,U);return;case 4:i._appendChild(i.createComment(W));return;case 5:y(X,W,H,U);return;case-1:E1();return;case 2:switch(W){case"html":y(X,W,H,U);return;case"noframes":W0(X,W,H,U);return}break}}function UZ(X,W,H,U){function F(G0){for(var F0=0,g0=G0.length;F0<g0;F0++)switch(G0[F0][0]){case"color":case"face":case"size":return!0}return!1}var P;switch(X){case 1:if(X0&&uW.test(W))X0=!1;if(q1)W=W.replace(m8,"�");t0(W);return;case 4:a0(W);return;case 5:return;case 2:switch(W){case"font":if(!F(H))break;case"b":case"big":case"blockquote":case"body":case"br":case"center":case"code":case"dd":case"div":case"dl":case"dt":case"em":case"embed":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":case"head":case"hr":case"i":case"img":case"li":case"listing":case"menu":case"meta":case"nobr":case"ol":case"p":case"pre":case"ruby":case"s":case"small":case"span":case"strong":case"strike":case"sub":case"sup":case"table":case"tt":case"u":case"ul":case"var":if(Q1)break;do j.pop(),P=j.top;while(P.namespaceURI!==N.HTML&&!IY(P)&&!SY(P));H0(X,W,H,U);return}if(P=j.elements.length===1&&Q1?Z:j.top,P.namespaceURI===N.MATHML)OY(H);else if(P.namespaceURI===N.SVG)W=dW(W),DY(H);if(N$(H),Y9(W,H,P.namespaceURI),U){if(W==="script"&&P.namespaceURI===N.SVG);j.pop()}return;case 3:if(P=j.top,W==="script"&&P.namespaceURI===N.SVG&&P.localName==="script")j.pop();else{var x=j.elements.length-1,p=j.elements[x];for(;;){if(p.localName.toLowerCase()===W){j.popElement(p);break}if(p=j.elements[--x],p.namespaceURI!==N.HTML)continue;I(X,W,H,U);break}}return}}return l6.testTokenizer=function(X,W,H,U){var F=[];switch(W){case"PCDATA state":B=m;break;case"RCDATA state":B=I1;break;case"RAWTEXT state":B=q6;break;case"PLAINTEXT state":B=Q9;break}if(H)T=H;if(H0=function(x,p,G0,F0){switch(i1(),x){case 1:if(F.length>0&&F[F.length-1][0]==="Character")F[F.length-1][1]+=p;else F.push(["Character",p]);break;case 4:F.push(["Comment",p]);break;case 5:F.push(["DOCTYPE",p,G0===void 0?null:G0,F0===void 0?null:F0,!t8]);break;case 2:var g0=Object.create(null);for(var c0=0;c0<G0.length;c0++){var k1=G0[c0];if(k1.length===1)g0[k1[0]]="";else g0[k1[0]]=k1[1]}var L1=["StartTag",p,g0];if(F0)L1.push(!0);F.push(L1);break;case 3:F.push(["EndTag",p]);break;case-1:break}},!U)this.parse(X,!0);else{for(var P=0;P<X.length;P++)this.parse(X[P]);this.parse("",!0)}return F},l6}});var g6=C((_B,kY)=>{kY.exports=xY;var NY=k8(),yY=h8(),iW=d8(),i8=V0(),lW=D8();function xY($){this.contextObject=$}var sW={xml:{"":!0,"1.0":!0,"2.0":!0},core:{"":!0,"2.0":!0},html:{"":!0,"1.0":!0,"2.0":!0},xhtml:{"":!0,"1.0":!0,"2.0":!0}};xY.prototype={hasFeature:function $(Z,Y){var G=sW[(Z||"").toLowerCase()];return G&&G[Y||""]||!1},createDocumentType:function $(Z,Y,G){if(!lW.isValidQName(Z))i8.InvalidCharacterError();return new yY(this.contextObject,Z,Y,G)},createDocument:function $(Z,Y,G){var Q=new NY(!1,null),z;if(Y)z=Q.createElementNS(Z,Y);else z=null;if(G)Q.appendChild(G);if(z)Q.appendChild(z);if(Z===i8.NAMESPACE.HTML)Q._contentType="application/xhtml+xml";else if(Z===i8.NAMESPACE.SVG)Q._contentType="image/svg+xml";else Q._contentType="application/xml";return Q},createHTMLDocument:function $(Z){var Y=new NY(!0,null);Y.appendChild(new yY(Y,"html"));var G=Y.createElement("html");Y.appendChild(G);var Q=Y.createElement("head");if(G.appendChild(Q),Z!==void 0){var z=Y.createElement("title");Q.appendChild(z),z.appendChild(Y.createTextNode(Z))}return G.appendChild(Y.createElement("body")),Y.modclock=1,Y},mozSetOutputMutationHandler:function($,Z){$.mutationHandler=Z},mozGetInputMutationHandler:function($){i8.nyi()},mozHTMLParser:iW}});var hY=C((jB,fY)=>{var oW=b8(),rW=A$();fY.exports=f$;function f$($,Z){this._window=$,this._href=Z}f$.prototype=Object.create(rW.prototype,{constructor:{value:f$},href:{get:function(){return this._href},set:function($){this.assign($)}},assign:{value:function($){var Z=new oW(this._href),Y=Z.resolve($);this._href=Y}},replace:{value:function($){this.assign($)}},reload:{value:function(){this.assign(this.href)}},toString:{value:function(){return this.href}}})});var vY=C((qB,gY)=>{var nW=Object.create(null,{appCodeName:{value:"Mozilla"},appName:{value:"Netscape"},appVersion:{value:"4.0"},platform:{value:""},product:{value:"Gecko"},productSub:{value:"20100101"},userAgent:{value:""},vendor:{value:""},vendorSub:{value:""},taintEnabled:{value:function(){return!1}}});gY.exports=nW});var pY=C((KB,mY)=>{var aW={setTimeout,clearTimeout,setInterval,clearInterval};mY.exports=aW});var g$=C((v6,uY)=>{var h$=V0();v6=uY.exports={CSSStyleDeclaration:E8(),CharacterData:C6(),Comment:J$(),DOMException:K8(),DOMImplementation:g6(),DOMTokenList:i9(),Document:k8(),DocumentFragment:B$(),DocumentType:h8(),Element:$6(),HTMLParser:d8(),NamedNodeMap:a9(),Node:I0(),NodeList:v1(),NodeFilter:y6(),ProcessingInstruction:_$(),Text:X$(),Window:v$()};h$.merge(v6,O$());h$.merge(v6,y8().elements);h$.merge(v6,R$().elements)});var v$=C((UB,cY)=>{var tW=g6(),eW=C9(),$J=hY(),m6=V0();cY.exports=l8;function l8($){this.document=$||new tW(null).createHTMLDocument(""),this.document._scripting_enabled=!0,this.document.defaultView=this,this.location=new $J(this,this.document._address||"about:blank")}l8.prototype=Object.create(eW.prototype,{console:{value:console},history:{value:{back:m6.nyi,forward:m6.nyi,go:m6.nyi}},navigator:{value:vY()},window:{get:function(){return this}},self:{get:function(){return this}},frames:{get:function(){return this}},parent:{get:function(){return this}},top:{get:function(){return this}},length:{value:0},frameElement:{value:null},opener:{value:null},onload:{get:function(){return this._getEventHandler("load")},set:function($){this._setEventHandler("load",$)}},getComputedStyle:{value:function $(Z){return Z.style}}});m6.expose(pY(),l8);m6.expose(g$(),l8)});var oY=C((ZJ)=>{var dY=g6(),iY=d8(),FB=v$(),lY=g$();ZJ.createDOMImplementation=function(){return new dY(null)};ZJ.createDocument=function($,Z){if($||Z){var Y=new iY;return Y.parse($||"",!0),Y.document()}return new dY(null).createHTMLDocument("")};ZJ.createIncrementalHTMLParser=function(){var $=new iY;return{write:function(Z){if(Z.length>0)$.parse(Z,!1,function(){return!0})},end:function(Z){$.parse(Z||"",!0,function(){return!0})},process:function(Z){return $.parse("",!1,Z)},document:function(){return $.document()}}};ZJ.createWindow=function($,Z){var Y=ZJ.createDocument($);if(Z!==void 0)Y._address=Z;return new lY.Window(Y)};ZJ.impl=lY});var XG=C((SB,zG)=>{function XJ($){for(var Z=1;Z<arguments.length;Z++){var Y=arguments[Z];for(var G in Y)if(Y.hasOwnProperty(G))$[G]=Y[G]}return $}function c$($,Z){return Array(Z+1).join($)}function WJ($){return $.replace(/^\n*/,"")}function JJ($){var Z=$.length;while(Z>0&&$[Z-1]===`
33
- `)Z--;return $.substring(0,Z)}var VJ=["ADDRESS","ARTICLE","ASIDE","AUDIO","BLOCKQUOTE","BODY","CANVAS","CENTER","DD","DIR","DIV","DL","DT","FIELDSET","FIGCAPTION","FIGURE","FOOTER","FORM","FRAMESET","H1","H2","H3","H4","H5","H6","HEADER","HGROUP","HR","HTML","ISINDEX","LI","MAIN","MENU","NAV","NOFRAMES","NOSCRIPT","OL","OUTPUT","P","PRE","SECTION","TABLE","TBODY","TD","TFOOT","TH","THEAD","TR","UL"];function d$($){return i$($,VJ)}var aY=["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"];function tY($){return i$($,aY)}function BJ($){return $G($,aY)}var eY=["A","TABLE","THEAD","TBODY","TFOOT","TH","TD","IFRAME","SCRIPT","AUDIO","VIDEO"];function HJ($){return i$($,eY)}function _J($){return $G($,eY)}function i$($,Z){return Z.indexOf($.nodeName)>=0}function $G($,Z){return $.getElementsByTagName&&Z.some(function(Y){return $.getElementsByTagName(Y).length})}var P0={};P0.paragraph={filter:"p",replacement:function($){return`
27
+ `;Y+=q,Y+="</"+z+">"}break;case 3:case 4:var K;if(Z.nodeType===1&&Z.namespaceURI===g1.HTML)K=Z.tagName;else K="";if(aZ[K]||K==="NOSCRIPT"&&Z.ownerDocument._scripting_enabled)Y+=$.data;else Y+=fX($.data);break;case 8:Y+="<!--"+Y7($.data)+"-->";break;case 7:let O=G7($.data);Y+="<?"+$.target+" "+O+"?>";break;case 10:Y+="<!DOCTYPE "+$.name,Y+=">";break;default:$7.InvalidStateError()}return Y}});var D0=C((wV,B7)=>{B7.exports=Y0;var V7=C9(),I8=b9(),z7=E9(),r=V0();function Y0(){V7.call(this),this.parentNode=null,this._nextSibling=this._previousSibling=this,this._index=void 0}var y0=Y0.ELEMENT_NODE=1,N9=Y0.ATTRIBUTE_NODE=2,F8=Y0.TEXT_NODE=3,pX=Y0.CDATA_SECTION_NODE=4,uX=Y0.ENTITY_REFERENCE_NODE=5,y9=Y0.ENTITY_NODE=6,X7=Y0.PROCESSING_INSTRUCTION_NODE=7,W7=Y0.COMMENT_NODE=8,A6=Y0.DOCUMENT_NODE=9,u0=Y0.DOCUMENT_TYPE_NODE=10,P1=Y0.DOCUMENT_FRAGMENT_NODE=11,x9=Y0.NOTATION_NODE=12,k9=Y0.DOCUMENT_POSITION_DISCONNECTED=1,f9=Y0.DOCUMENT_POSITION_PRECEDING=2,h9=Y0.DOCUMENT_POSITION_FOLLOWING=4,J7=Y0.DOCUMENT_POSITION_CONTAINS=8,g9=Y0.DOCUMENT_POSITION_CONTAINED_BY=16,v9=Y0.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC=32;Y0.prototype=Object.create(V7.prototype,{baseURI:{get:r.nyi},parentElement:{get:function(){return this.parentNode&&this.parentNode.nodeType===y0?this.parentNode:null}},hasChildNodes:{value:r.shouldOverride},firstChild:{get:r.shouldOverride},lastChild:{get:r.shouldOverride},isConnected:{get:function(){let $=this;while($!=null){if($.nodeType===Y0.DOCUMENT_NODE)return!0;if($=$.parentNode,$!=null&&$.nodeType===Y0.DOCUMENT_FRAGMENT_NODE)$=$.host}return!1}},previousSibling:{get:function(){var $=this.parentNode;if(!$)return null;if(this===$.firstChild)return null;return this._previousSibling}},nextSibling:{get:function(){var $=this.parentNode,Z=this._nextSibling;if(!$)return null;if(Z===$.firstChild)return null;return Z}},textContent:{get:function(){return null},set:function($){}},innerText:{get:function(){return null},set:function($){}},_countChildrenOfType:{value:function($){var Z=0;for(var Y=this.firstChild;Y!==null;Y=Y.nextSibling)if(Y.nodeType===$)Z++;return Z}},_ensureInsertValid:{value:function $(Z,Y,G){var Q=this,z,J;if(!Z.nodeType)throw new TypeError("not a node");switch(Q.nodeType){case A6:case P1:case y0:break;default:r.HierarchyRequestError()}if(Z.isAncestor(Q))r.HierarchyRequestError();if(Y!==null||!G){if(Y.parentNode!==Q)r.NotFoundError()}switch(Z.nodeType){case P1:case u0:case y0:case F8:case X7:case W7:break;default:r.HierarchyRequestError()}if(Q.nodeType===A6)switch(Z.nodeType){case F8:r.HierarchyRequestError();break;case P1:if(Z._countChildrenOfType(F8)>0)r.HierarchyRequestError();switch(Z._countChildrenOfType(y0)){case 0:break;case 1:if(Y!==null){if(G&&Y.nodeType===u0)r.HierarchyRequestError();for(J=Y.nextSibling;J!==null;J=J.nextSibling)if(J.nodeType===u0)r.HierarchyRequestError()}if(z=Q._countChildrenOfType(y0),G){if(z>0)r.HierarchyRequestError()}else if(z>1||z===1&&Y.nodeType!==y0)r.HierarchyRequestError();break;default:r.HierarchyRequestError()}break;case y0:if(Y!==null){if(G&&Y.nodeType===u0)r.HierarchyRequestError();for(J=Y.nextSibling;J!==null;J=J.nextSibling)if(J.nodeType===u0)r.HierarchyRequestError()}if(z=Q._countChildrenOfType(y0),G){if(z>0)r.HierarchyRequestError()}else if(z>1||z===1&&Y.nodeType!==y0)r.HierarchyRequestError();break;case u0:if(Y===null){if(Q._countChildrenOfType(y0))r.HierarchyRequestError()}else for(J=Q.firstChild;J!==null;J=J.nextSibling){if(J===Y)break;if(J.nodeType===y0)r.HierarchyRequestError()}if(z=Q._countChildrenOfType(u0),G){if(z>0)r.HierarchyRequestError()}else if(z>1||z===1&&Y.nodeType!==u0)r.HierarchyRequestError();break}else if(Z.nodeType===u0)r.HierarchyRequestError()}},insertBefore:{value:function $(Z,Y){var G=this;G._ensureInsertValid(Z,Y,!0);var Q=Y;if(Q===Z)Q=Z.nextSibling;return G.doc.adoptNode(Z),Z._insertOrReplace(G,Q,!1),Z}},appendChild:{value:function($){return this.insertBefore($,null)}},_appendChild:{value:function($){$._insertOrReplace(this,null,!1)}},removeChild:{value:function $(Z){var Y=this;if(!Z.nodeType)throw new TypeError("not a node");if(Z.parentNode!==Y)r.NotFoundError();return Z.remove(),Z}},replaceChild:{value:function $(Z,Y){var G=this;if(G._ensureInsertValid(Z,Y,!1),Z.doc!==G.doc)G.doc.adoptNode(Z);return Z._insertOrReplace(G,Y,!0),Y}},contains:{value:function $(Z){if(Z===null)return!1;if(this===Z)return!0;return(this.compareDocumentPosition(Z)&g9)!==0}},compareDocumentPosition:{value:function $(Z){if(this===Z)return 0;if(this.doc!==Z.doc||this.rooted!==Z.rooted)return k9+v9;var Y=[],G=[];for(var Q=this;Q!==null;Q=Q.parentNode)Y.push(Q);for(Q=Z;Q!==null;Q=Q.parentNode)G.push(Q);if(Y.reverse(),G.reverse(),Y[0]!==G[0])return k9+v9;Q=Math.min(Y.length,G.length);for(var z=1;z<Q;z++)if(Y[z]!==G[z])if(Y[z].index<G[z].index)return h9;else return f9;if(Y.length<G.length)return h9+g9;else return f9+J7}},isSameNode:{value:function $(Z){return this===Z}},isEqualNode:{value:function $(Z){if(!Z)return!1;if(Z.nodeType!==this.nodeType)return!1;if(!this.isEqual(Z))return!1;for(var Y=this.firstChild,G=Z.firstChild;Y&&G;Y=Y.nextSibling,G=G.nextSibling)if(!Y.isEqualNode(G))return!1;return Y===null&&G===null}},cloneNode:{value:function($){var Z=this.clone();if($)for(var Y=this.firstChild;Y!==null;Y=Y.nextSibling)Z._appendChild(Y.cloneNode(!0));return Z}},lookupPrefix:{value:function $(Z){var Y;if(Z===""||Z===null||Z===void 0)return null;switch(this.nodeType){case y0:return this._lookupNamespacePrefix(Z,this);case A6:return Y=this.documentElement,Y?Y.lookupPrefix(Z):null;case y9:case x9:case P1:case u0:return null;case N9:return Y=this.ownerElement,Y?Y.lookupPrefix(Z):null;default:return Y=this.parentElement,Y?Y.lookupPrefix(Z):null}}},lookupNamespaceURI:{value:function $(Z){if(Z===""||Z===void 0)Z=null;var Y;switch(this.nodeType){case y0:return r.shouldOverride();case A6:return Y=this.documentElement,Y?Y.lookupNamespaceURI(Z):null;case y9:case x9:case u0:case P1:return null;case N9:return Y=this.ownerElement,Y?Y.lookupNamespaceURI(Z):null;default:return Y=this.parentElement,Y?Y.lookupNamespaceURI(Z):null}}},isDefaultNamespace:{value:function $(Z){if(Z===""||Z===void 0)Z=null;var Y=this.lookupNamespaceURI(null);return Y===Z}},index:{get:function(){var $=this.parentNode;if(this===$.firstChild)return 0;var Z=$.childNodes;if(this._index===void 0||Z[this._index]!==this){for(var Y=0;Y<Z.length;Y++)Z[Y]._index=Y;r.assert(Z[this._index]===this)}return this._index}},isAncestor:{value:function($){if(this.doc!==$.doc)return!1;if(this.rooted!==$.rooted)return!1;for(var Z=$;Z;Z=Z.parentNode)if(Z===this)return!0;return!1}},ensureSameDoc:{value:function($){if($.ownerDocument===null)$.ownerDocument=this.doc;else if($.ownerDocument!==this.doc)r.WrongDocumentError()}},removeChildren:{value:r.shouldOverride},_insertOrReplace:{value:function $(Z,Y,G){var Q=this,z,J;if(Q.nodeType===P1&&Q.rooted)r.HierarchyRequestError();if(Z._childNodes){if(z=Y===null?Z._childNodes.length:Y.index,Q.parentNode===Z){var V=Q.index;if(V<z)z--}}if(G){if(Y.rooted)Y.doc.mutateRemove(Y);Y.parentNode=null}var _=Y;if(_===null)_=Z.firstChild;var q=Q.rooted&&Z.rooted;if(Q.nodeType===P1){var K=[0,G?1:0],O;for(var A=Q.firstChild;A!==null;A=O)O=A.nextSibling,K.push(A),A.parentNode=Z;var B=K.length;if(G)I8.replace(_,B>2?K[2]:null);else if(B>2&&_!==null)I8.insertBefore(K[2],_);if(Z._childNodes){K[0]=Y===null?Z._childNodes.length:Y._index,Z._childNodes.splice.apply(Z._childNodes,K);for(J=2;J<B;J++)K[J]._index=K[0]+(J-2)}else if(Z._firstChild===Y){if(B>2)Z._firstChild=K[2];else if(G)Z._firstChild=null}if(Q._childNodes)Q._childNodes.length=0;else Q._firstChild=null;if(Z.rooted){Z.modify();for(J=2;J<B;J++)Z.doc.mutateInsert(K[J])}}else{if(Y===Q)return;if(q)Q._remove();else if(Q.parentNode)Q.remove();if(Q.parentNode=Z,G){if(I8.replace(_,Q),Z._childNodes)Q._index=z,Z._childNodes[z]=Q;else if(Z._firstChild===Y)Z._firstChild=Q}else{if(_!==null)I8.insertBefore(Q,_);if(Z._childNodes)Q._index=z,Z._childNodes.splice(z,0,Q);else if(Z._firstChild===Y)Z._firstChild=Q}if(q)Z.modify(),Z.doc.mutateMove(Q);else if(Z.rooted)Z.modify(),Z.doc.mutateInsert(Q)}}},lastModTime:{get:function(){if(!this._lastModTime)this._lastModTime=this.doc.modclock;return this._lastModTime}},modify:{value:function(){if(this.doc.modclock){var $=++this.doc.modclock;for(var Z=this;Z;Z=Z.parentElement)if(Z._lastModTime)Z._lastModTime=$}}},doc:{get:function(){return this.ownerDocument||this}},rooted:{get:function(){return!!this._nid}},normalize:{value:function(){var $;for(var Z=this.firstChild;Z!==null;Z=$){if($=Z.nextSibling,Z.normalize)Z.normalize();if(Z.nodeType!==Y0.TEXT_NODE)continue;if(Z.nodeValue===""){this.removeChild(Z);continue}var Y=Z.previousSibling;if(Y===null)continue;else if(Y.nodeType===Y0.TEXT_NODE)Y.appendData(Z.nodeValue),this.removeChild(Z)}}},serialize:{value:function(){if(this._innerHTML)return this._innerHTML;var $="";for(var Z=this.firstChild;Z!==null;Z=Z.nextSibling)$+=z7.serializeOne(Z,this);return $}},outerHTML:{get:function(){return z7.serializeOne(this,{nodeType:0})},set:r.nyi},ELEMENT_NODE:{value:y0},ATTRIBUTE_NODE:{value:N9},TEXT_NODE:{value:F8},CDATA_SECTION_NODE:{value:pX},ENTITY_REFERENCE_NODE:{value:uX},ENTITY_NODE:{value:y9},PROCESSING_INSTRUCTION_NODE:{value:X7},COMMENT_NODE:{value:W7},DOCUMENT_NODE:{value:A6},DOCUMENT_TYPE_NODE:{value:u0},DOCUMENT_FRAGMENT_NODE:{value:P1},NOTATION_NODE:{value:x9},DOCUMENT_POSITION_DISCONNECTED:{value:k9},DOCUMENT_POSITION_PRECEDING:{value:f9},DOCUMENT_POSITION_FOLLOWING:{value:h9},DOCUMENT_POSITION_CONTAINS:{value:J7},DOCUMENT_POSITION_CONTAINED_BY:{value:g9},DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:{value:v9}})});var _7=C((RV,H7)=>{H7.exports=class $ extends Array{constructor(Z){super(Z&&Z.length||0);if(Z)for(var Y in Z)this[Y]=Z[Y]}item(Z){return this[Z]||null}}});var q7=C((TV,j7)=>{function cX($){return this[$]||null}function dX($){if(!$)$=[];return $.item=cX,$}j7.exports=dX});var v1=C((CV,K7)=>{var m9;try{m9=_7()}catch($){m9=q7()}K7.exports=m9});var S8=C((bV,F7)=>{F7.exports=I7;var U7=D0(),iX=v1();function I7(){U7.call(this),this._firstChild=this._childNodes=null}I7.prototype=Object.create(U7.prototype,{hasChildNodes:{value:function(){if(this._childNodes)return this._childNodes.length>0;return this._firstChild!==null}},childNodes:{get:function(){return this._ensureChildNodes(),this._childNodes}},firstChild:{get:function(){if(this._childNodes)return this._childNodes.length===0?null:this._childNodes[0];return this._firstChild}},lastChild:{get:function(){var $=this._childNodes,Z;if($)return $.length===0?null:$[$.length-1];if(Z=this._firstChild,Z===null)return null;return Z._previousSibling}},_ensureChildNodes:{value:function(){if(this._childNodes)return;var $=this._firstChild,Z=$,Y=this._childNodes=new iX;if($)do Y.push(Z),Z=Z._nextSibling;while(Z!==$);this._firstChild=null}},removeChildren:{value:function $(){var Z=this.rooted?this.ownerDocument:null,Y=this.firstChild,G;while(Y!==null){if(G=Y,Y=G.nextSibling,Z)Z.mutateRemove(G);G.parentNode=null}if(this._childNodes)this._childNodes.length=0;else this._firstChild=null;this.modify()}}})});var D8=C(($3)=>{$3.isValidName=tX;$3.isValidQName=eX;var lX=/^[_:A-Za-z][-.:\w]+$/,sX=/^([_A-Za-z][-.\w]+|[_A-Za-z][-.\w]+:[_A-Za-z][-.\w]+)$/,L6="_A-Za-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�",M6="-._A-Za-z0-9·À-ÖØ-öø-˿̀-ͽͿ-῿‌‍‿⁀⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�",m1="["+L6+"]["+M6+"]*",p9=L6+":",u9=M6+":",oX=new RegExp("^["+p9+"]["+u9+"]*$"),rX=new RegExp("^("+m1+"|"+m1+":"+m1+")$"),S7=/[\uD800-\uDB7F\uDC00-\uDFFF]/,D7=/[\uD800-\uDB7F\uDC00-\uDFFF]/g,O7=/[\uD800-\uDB7F][\uDC00-\uDFFF]/g;L6+="\uD800-\uDB7F\uDC00-\uDFFF";M6+="\uD800-\uDB7F\uDC00-\uDFFF";m1="["+L6+"]["+M6+"]*";p9=L6+":";u9=M6+":";var nX=new RegExp("^["+p9+"]["+u9+"]*$"),aX=new RegExp("^("+m1+"|"+m1+":"+m1+")$");function tX($){if(lX.test($))return!0;if(oX.test($))return!0;if(!S7.test($))return!1;if(!nX.test($))return!1;var Z=$.match(D7),Y=$.match(O7);return Y!==null&&2*Y.length===Z.length}function eX($){if(sX.test($))return!0;if(rX.test($))return!0;if(!S7.test($))return!1;if(!aX.test($))return!1;var Z=$.match(D7),Y=$.match(O7);return Y!==null&&2*Y.length===Z.length}});var c9=C((Q3)=>{var A7=V0();Q3.property=function($){if(Array.isArray($.type)){var Z=Object.create(null);$.type.forEach(function(Q){Z[Q.value||Q]=Q.alias||Q});var Y=$.missing;if(Y===void 0)Y=null;var G=$.invalid;if(G===void 0)G=Y;return{get:function(){var Q=this._getattr($.name);if(Q===null)return Y;if(Q=Z[Q.toLowerCase()],Q!==void 0)return Q;if(G!==null)return G;return Q},set:function(Q){this._setattr($.name,Q)}}}else if($.type===Boolean)return{get:function(){return this.hasAttribute($.name)},set:function(Q){if(Q)this._setattr($.name,"");else this.removeAttribute($.name)}};else if($.type===Number||$.type==="long"||$.type==="unsigned long"||$.type==="limited unsigned long with fallback")return G3($);else if(!$.type||$.type===String)return{get:function(){return this._getattr($.name)||""},set:function(Q){if($.treatNullAsEmptyString&&Q===null)Q="";this._setattr($.name,Q)}};else if(typeof $.type==="function")return $.type($.name,$);throw new Error("Invalid attribute definition")};function G3($){var Z;if(typeof $.default==="function")Z=$.default;else if(typeof $.default==="number")Z=function(){return $.default};else Z=function(){A7.assert(!1,typeof $.default)};var Y=$.type==="unsigned long",G=$.type==="long",Q=$.type==="limited unsigned long with fallback",z=$.min,J=$.max,V=$.setmin;if(z===void 0){if(Y)z=0;if(G)z=-2147483648;if(Q)z=1}if(J===void 0){if(Y||G||Q)J=2147483647}return{get:function(){var _=this._getattr($.name),q=$.float?parseFloat(_):parseInt(_,10);if(_===null||!isFinite(q)||z!==void 0&&q<z||J!==void 0&&q>J)return Z.call(this);if(Y||G||Q){if(!/^[ \t\n\f\r]*[-+]?[0-9]/.test(_))return Z.call(this);q=q|0}return q},set:function(_){if(!$.float)_=Math.floor(_);if(V!==void 0&&_<V)A7.IndexSizeError($.name+" set to "+_);if(Y)_=_<0||_>2147483647?Z.call(this):_|0;else if(Q)_=_<1||_>2147483647?Z.call(this):_|0;else if(G)_=_<-2147483648||_>2147483647?Z.call(this):_|0;this._setattr($.name,String(_))}}}Q3.registerChangeHandler=function($,Z,Y){var G=$.prototype;if(!Object.prototype.hasOwnProperty.call(G,"_attributeChangeHandlers"))G._attributeChangeHandlers=Object.create(G._attributeChangeHandlers||null);G._attributeChangeHandlers[Z]=Y}});var P7=C((yV,M7)=>{M7.exports=L7;var W3=D0();function L7($,Z){this.root=$,this.filter=Z,this.lastModTime=$.lastModTime,this.done=!1,this.cache=[],this.traverse()}L7.prototype=Object.create(Object.prototype,{length:{get:function(){if(this.checkcache(),!this.done)this.traverse();return this.cache.length}},item:{value:function($){if(this.checkcache(),!this.done&&$>=this.cache.length)this.traverse();return this.cache[$]}},checkcache:{value:function(){if(this.lastModTime!==this.root.lastModTime){for(var $=this.cache.length-1;$>=0;$--)this[$]=void 0;this.cache.length=0,this.done=!1,this.lastModTime=this.root.lastModTime}}},traverse:{value:function($){if($!==void 0)$++;var Z;while((Z=this.next())!==null)if(this[this.cache.length]=Z,this.cache.push(Z),$&&this.cache.length===$)return;this.done=!0}},next:{value:function(){var $=this.cache.length===0?this.root:this.cache[this.cache.length-1],Z;if($.nodeType===W3.DOCUMENT_NODE)Z=$.documentElement;else Z=$.nextElement(this.root);while(Z){if(this.filter(Z))return Z;Z=Z.nextElement(this.root)}return null}}})});var i9=C((xV,T7)=>{var d9=V0();T7.exports=R7;function R7($,Z){this._getString=$,this._setString=Z,this._length=0,this._lastStringValue="",this._update()}Object.defineProperties(R7.prototype,{length:{get:function(){return this._length}},item:{value:function($){var Z=o1(this);if($<0||$>=Z.length)return null;return Z[$]}},contains:{value:function($){$=String($);var Z=o1(this);return Z.indexOf($)>-1}},add:{value:function(){var $=o1(this);for(var Z=0,Y=arguments.length;Z<Y;Z++){var G=P6(arguments[Z]);if($.indexOf(G)<0)$.push(G)}this._update($)}},remove:{value:function(){var $=o1(this);for(var Z=0,Y=arguments.length;Z<Y;Z++){var G=P6(arguments[Z]),Q=$.indexOf(G);if(Q>-1)$.splice(Q,1)}this._update($)}},toggle:{value:function $(Z,Y){if(Z=P6(Z),this.contains(Z)){if(Y===void 0||Y===!1)return this.remove(Z),!1;return!0}else{if(Y===void 0||Y===!0)return this.add(Z),!0;return!1}}},replace:{value:function $(Z,Y){if(String(Y)==="")d9.SyntaxError();Z=P6(Z),Y=P6(Y);var G=o1(this),Q=G.indexOf(Z);if(Q<0)return!1;var z=G.indexOf(Y);if(z<0)G[Q]=Y;else if(Q<z)G[Q]=Y,G.splice(z,1);else G.splice(Q,1);return this._update(G),!0}},toString:{value:function(){return this._getString()}},value:{get:function(){return this._getString()},set:function($){this._setString($),this._update()}},_update:{value:function($){if($)w7(this,$),this._setString($.join(" ").trim());else w7(this,o1(this));this._lastStringValue=this._getString()}}});function w7($,Z){var Y=$._length,G;$._length=Z.length;for(G=0;G<Z.length;G++)$[G]=Z[G];for(;G<Y;G++)$[G]=void 0}function P6($){if($=String($),$==="")d9.SyntaxError();if(/[ \t\r\n\f]/.test($))d9.InvalidCharacterError();return $}function J3($){var Z=$._length,Y=Array(Z);for(var G=0;G<Z;G++)Y[G]=$[G];return Y}function o1($){var Z=$._getString();if(Z===$._lastStringValue)return J3($);var Y=Z.replace(/(^[ \t\r\n\f]+)|([ \t\r\n\f]+$)/g,"");if(Y==="")return[];else{var G=Object.create(null);return Y.split(/[ \t\r\n\f]+/g).filter(function(Q){var z="$"+Q;if(G[z])return!1;return G[z]=!0,!0})}}});var M8=C((a1,x7)=>{var O8=Object.create(null,{location:{get:function(){throw new Error("window.location is not supported.")}}}),V3=function($,Z){return $.compareDocumentPosition(Z)},B3=function($,Z){return V3($,Z)&2?1:-1},L8=function($){while(($=$.nextSibling)&&$.nodeType!==1);return $},n1=function($){while(($=$.previousSibling)&&$.nodeType!==1);return $},H3=function($){if($=$.firstChild)while($.nodeType!==1&&($=$.nextSibling));return $},_3=function($){if($=$.lastChild)while($.nodeType!==1&&($=$.previousSibling));return $},r1=function($){if(!$.parentNode)return!1;var Z=$.parentNode.nodeType;return Z===1||Z===9},C7=function($){if(!$)return $;var Z=$[0];if(Z==='"'||Z==="'"){if($[$.length-1]===Z)$=$.slice(1,-1);else $=$.slice(1);return $.replace(k.str_escape,function(Y){var G=/^\\(?:([0-9A-Fa-f]+)|([\r\n\f]+))/.exec(Y);if(!G)return Y.slice(1);if(G[2])return"";var Q=parseInt(G[1],16);return String.fromCodePoint?String.fromCodePoint(Q):String.fromCharCode(Q)})}else if(k.ident.test($))return w1($);else return $},w1=function($){return $.replace(k.escape,function(Z){var Y=/^\\([0-9A-Fa-f]+)/.exec(Z);if(!Y)return Z[1];var G=parseInt(Y[1],16);return String.fromCodePoint?String.fromCodePoint(G):String.fromCharCode(G)})},j3=function(){if(Array.prototype.indexOf)return Array.prototype.indexOf;return function($,Z){var Y=this.length;while(Y--)if(this[Y]===Z)return Y;return-1}}(),E7=function($,Z){var Y=k.inside.source.replace(/</g,$).replace(/>/g,Z);return new RegExp(Y)},x0=function($,Z,Y){return $=$.source,$=$.replace(Z,Y.source||Y),new RegExp($)},b7=function($,Z){return $.replace(/^(?:\w+:\/\/|\/+)/,"").replace(/(?:\/+|\/*#.*?)$/,"").split("/",Z).join("/")},q3=function($,Z){var Y=$.replace(/\s+/g,""),G;if(Y==="even")Y="2n+0";else if(Y==="odd")Y="2n+1";else if(Y.indexOf("n")===-1)Y="0n"+Y;return G=/^([+-])?(\d+)?n([+-])?(\d+)?$/.exec(Y),{group:G[1]==="-"?-(G[2]||1):+(G[2]||1),offset:G[4]?G[3]==="-"?-G[4]:+G[4]:0}},l9=function($,Z,Y){var G=q3($),Q=G.group,z=G.offset,J=!Y?H3:_3,V=!Y?L8:n1;return function(_){if(!r1(_))return;var q=J(_.parentNode),K=0;while(q){if(Z(q,_))K++;if(q===_)return K-=z,Q&&K?K%Q===0&&K<0===Q<0:!K;q=V(q)}}},K0={"*":function(){return function(){return!0}}(),type:function($){return $=$.toLowerCase(),function(Z){return Z.nodeName.toLowerCase()===$}},attr:function($,Z,Y,G){return Z=N7[Z],function(Q){var z;switch($){case"for":z=Q.htmlFor;break;case"class":if(z=Q.className,z===""&&Q.getAttribute("class")==null)z=null;break;case"href":case"src":z=Q.getAttribute($,2);break;case"title":z=Q.getAttribute("title")||null;break;case"id":case"lang":case"dir":case"accessKey":case"hidden":case"tabIndex":case"style":if(Q.getAttribute){z=Q.getAttribute($);break}default:if(Q.hasAttribute&&!Q.hasAttribute($))break;z=Q[$]!=null?Q[$]:Q.getAttribute&&Q.getAttribute($);break}if(z==null)return;if(z=z+"",G)z=z.toLowerCase(),Y=Y.toLowerCase();return Z(z,Y)}},":first-child":function($){return!n1($)&&r1($)},":last-child":function($){return!L8($)&&r1($)},":only-child":function($){return!n1($)&&!L8($)&&r1($)},":nth-child":function($,Z){return l9($,function(){return!0},Z)},":nth-last-child":function($){return K0[":nth-child"]($,!0)},":root":function($){return $.ownerDocument.documentElement===$},":empty":function($){return!$.firstChild},":not":function($){var Z=o9($);return function(Y){return!Z(Y)}},":first-of-type":function($){if(!r1($))return;var Z=$.nodeName;while($=n1($))if($.nodeName===Z)return;return!0},":last-of-type":function($){if(!r1($))return;var Z=$.nodeName;while($=L8($))if($.nodeName===Z)return;return!0},":only-of-type":function($){return K0[":first-of-type"]($)&&K0[":last-of-type"]($)},":nth-of-type":function($,Z){return l9($,function(Y,G){return Y.nodeName===G.nodeName},Z)},":nth-last-of-type":function($){return K0[":nth-of-type"]($,!0)},":checked":function($){return!!($.checked||$.selected)},":indeterminate":function($){return!K0[":checked"]($)},":enabled":function($){return!$.disabled&&$.type!=="hidden"},":disabled":function($){return!!$.disabled},":target":function($){return $.id===O8.location.hash.substring(1)},":focus":function($){return $===$.ownerDocument.activeElement},":is":function($){return o9($)},":matches":function($){return K0[":is"]($)},":nth-match":function($,Z){var Y=$.split(/\s*,\s*/),G=Y.shift(),Q=o9(Y.join(","));return l9(G,Q,Z)},":nth-last-match":function($){return K0[":nth-match"]($,!0)},":links-here":function($){return $+""===O8.location+""},":lang":function($){return function(Z){while(Z){if(Z.lang)return Z.lang.indexOf($)===0;Z=Z.parentNode}}},":dir":function($){return function(Z){while(Z){if(Z.dir)return Z.dir===$;Z=Z.parentNode}}},":scope":function($,Z){var Y=Z||$.ownerDocument;if(Y.nodeType===9)return $===Y.documentElement;return $===Y},":any-link":function($){return typeof $.href==="string"},":local-link":function($){if($.nodeName)return $.href&&$.host===O8.location.host;var Z=+$+1;return function(Y){if(!Y.href)return;var G=O8.location+"",Q=Y+"";return b7(G,Z)===b7(Q,Z)}},":default":function($){return!!$.defaultSelected},":valid":function($){return $.willValidate||$.validity&&$.validity.valid},":invalid":function($){return!K0[":valid"]($)},":in-range":function($){return $.value>$.min&&$.value<=$.max},":out-of-range":function($){return!K0[":in-range"]($)},":required":function($){return!!$.required},":optional":function($){return!$.required},":read-only":function($){if($.readOnly)return!0;var Z=$.getAttribute("contenteditable"),Y=$.contentEditable,G=$.nodeName.toLowerCase();return G=G!=="input"&&G!=="textarea",(G||$.disabled)&&Z==null&&Y!=="true"},":read-write":function($){return!K0[":read-only"]($)},":hover":function(){throw new Error(":hover is not supported.")},":active":function(){throw new Error(":active is not supported.")},":link":function(){throw new Error(":link is not supported.")},":visited":function(){throw new Error(":visited is not supported.")},":column":function(){throw new Error(":column is not supported.")},":nth-column":function(){throw new Error(":nth-column is not supported.")},":nth-last-column":function(){throw new Error(":nth-last-column is not supported.")},":current":function(){throw new Error(":current is not supported.")},":past":function(){throw new Error(":past is not supported.")},":future":function(){throw new Error(":future is not supported.")},":contains":function($){return function(Z){var Y=Z.innerText||Z.textContent||Z.value||"";return Y.indexOf($)!==-1}},":has":function($){return function(Z){return y7($,Z).length>0}}},N7={"-":function(){return!0},"=":function($,Z){return $===Z},"*=":function($,Z){return $.indexOf(Z)!==-1},"~=":function($,Z){var Y,G,Q,z;for(G=0;;G=Y+1){if(Y=$.indexOf(Z,G),Y===-1)return!1;if(Q=$[Y-1],z=$[Y+Z.length],(!Q||Q===" ")&&(!z||z===" "))return!0}},"|=":function($,Z){var Y=$.indexOf(Z),G;if(Y!==0)return;return G=$[Y+Z.length],G==="-"||!G},"^=":function($,Z){return $.indexOf(Z)===0},"$=":function($,Z){var Y=$.lastIndexOf(Z);return Y!==-1&&Y+Z.length===$.length},"!=":function($,Z){return $!==Z}},w6={" ":function($){return function(Z){while(Z=Z.parentNode)if($(Z))return Z}},">":function($){return function(Z){if(Z=Z.parentNode)return $(Z)&&Z}},"+":function($){return function(Z){if(Z=n1(Z))return $(Z)&&Z}},"~":function($){return function(Z){while(Z=n1(Z))if($(Z))return Z}},noop:function($){return function(Z){return $(Z)&&Z}},ref:function($,Z){var Y;function G(Q){var z=Q.ownerDocument,J=z.getElementsByTagName("*"),V=J.length;while(V--)if(Y=J[V],G.test(Q))return Y=null,!0;Y=null}return G.combinator=function(Q){if(!Y||!Y.getAttribute)return;var z=Y.getAttribute(Z)||"";if(z[0]==="#")z=z.substring(1);if(z===Q.id&&$(Y))return Y},G}},k={escape:/\\(?:[^0-9A-Fa-f\r\n]|[0-9A-Fa-f]{1,6}[\r\n\t ]?)/g,str_escape:/(escape)|\\(\n|\r\n?|\f)/g,nonascii:/[\u00A0-\uFFFF]/,cssid:/(?:(?!-?[0-9])(?:escape|nonascii|[-_a-zA-Z0-9])+)/,qname:/^ *(cssid|\*)/,simple:/^(?:([.#]cssid)|pseudo|attr)/,ref:/^ *\/(cssid)\/ */,combinator:/^(?: +([^ \w*.#\\]) +|( )+|([^ \w*.#\\]))(?! *$)/,attr:/^\[(cssid)(?:([^\w]?=)(inside))?\]/,pseudo:/^(:cssid)(?:\((inside)\))?/,inside:/(?:"(?:\\"|[^"])*"|'(?:\\'|[^'])*'|<[^"'>]*>|\\["'>]|[^"'>])*/,ident:/^(cssid)$/};k.cssid=x0(k.cssid,"nonascii",k.nonascii);k.cssid=x0(k.cssid,"escape",k.escape);k.qname=x0(k.qname,"cssid",k.cssid);k.simple=x0(k.simple,"cssid",k.cssid);k.ref=x0(k.ref,"cssid",k.cssid);k.attr=x0(k.attr,"cssid",k.cssid);k.pseudo=x0(k.pseudo,"cssid",k.cssid);k.inside=x0(k.inside,`[^"'>]*`,k.inside);k.attr=x0(k.attr,"inside",E7("\\[","\\]"));k.pseudo=x0(k.pseudo,"inside",E7("\\(","\\)"));k.simple=x0(k.simple,"pseudo",k.pseudo);k.simple=x0(k.simple,"attr",k.attr);k.ident=x0(k.ident,"cssid",k.cssid);k.str_escape=x0(k.str_escape,"escape",k.escape);var R6=function($){var Z=$.replace(/^\s+|\s+$/g,""),Y,G=[],Q=[],z,J,V,_,q;while(Z){if(V=k.qname.exec(Z))Z=Z.substring(V[0].length),J=w1(V[1]),Q.push(A8(J,!0));else if(V=k.simple.exec(Z))Z=Z.substring(V[0].length),J="*",Q.push(A8(J,!0)),Q.push(A8(V));else throw new SyntaxError("Invalid selector.");while(V=k.simple.exec(Z))Z=Z.substring(V[0].length),Q.push(A8(V));if(Z[0]==="!")Z=Z.substring(1),z=U3(),z.qname=J,Q.push(z.simple);if(V=k.ref.exec(Z)){Z=Z.substring(V[0].length),q=w6.ref(s9(Q),w1(V[1])),G.push(q.combinator),Q=[];continue}if(V=k.combinator.exec(Z)){if(Z=Z.substring(V[0].length),_=V[1]||V[2]||V[3],_===","){G.push(w6.noop(s9(Q)));break}}else _="noop";if(!w6[_])throw new SyntaxError("Bad combinator.");G.push(w6[_](s9(Q))),Q=[]}if(Y=K3(G),Y.qname=J,Y.sel=Z,z)z.lname=Y.qname,z.test=Y,z.qname=z.qname,z.sel=Y.sel,Y=z;if(q)q.test=Y,q.qname=Y.qname,q.sel=Y.sel,Y=q;return Y},A8=function($,Z){if(Z)return $==="*"?K0["*"]:K0.type($);if($[1])return $[1][0]==="."?K0.attr("class","~=",w1($[1].substring(1)),!1):K0.attr("id","=",w1($[1].substring(1)),!1);if($[2])return $[3]?K0[w1($[2])](C7($[3])):K0[w1($[2])];if($[4]){var Y=$[6],G=/["'\s]\s*I$/i.test(Y);if(G)Y=Y.replace(/\s*I$/i,"");return K0.attr(w1($[4]),$[5]||"-",C7(Y),G)}throw new SyntaxError("Unknown Selector.")},s9=function($){var Z=$.length,Y;if(Z<2)return $[0];return function(G){if(!G)return;for(Y=0;Y<Z;Y++)if(!$[Y](G))return;return!0}},K3=function($){if($.length<2)return function(Z){return!!$[0](Z)};return function(Z){var Y=$.length;while(Y--)if(!(Z=$[Y](Z)))return;return!0}},U3=function(){var $;function Z(Y){var G=Y.ownerDocument,Q=G.getElementsByTagName(Z.lname),z=Q.length;while(z--)if(Z.test(Q[z])&&$===Y)return $=null,!0;$=null}return Z.simple=function(Y){return $=Y,!0},Z},o9=function($){var Z=R6($),Y=[Z];while(Z.sel)Z=R6(Z.sel),Y.push(Z);if(Y.length<2)return Z;return function(G){var Q=Y.length,z=0;for(;z<Q;z++)if(Y[z](G))return!0}},y7=function($,Z){var Y=[],G=R6($),Q=Z.getElementsByTagName(G.qname),z=0,J;while(J=Q[z++])if(G(J))Y.push(J);if(G.sel){while(G.sel){G=R6(G.sel),Q=Z.getElementsByTagName(G.qname),z=0;while(J=Q[z++])if(G(J)&&j3.call(Y,J)===-1)Y.push(J)}Y.sort(B3)}return Y};x7.exports=a1=function($,Z){var Y,G;if(Z.nodeType!==11&&$.indexOf(" ")===-1){if($[0]==="#"&&Z.rooted&&/^#[A-Z_][-A-Z0-9_]*$/i.test($)){if(Z.doc._hasMultipleElementsWithId){if(Y=$.substring(1),!Z.doc._hasMultipleElementsWithId(Y))return G=Z.doc.getElementById(Y),G?[G]:[]}}if($[0]==="."&&/^\.\w+$/.test($))return Z.getElementsByClassName($.substring(1));if(/^\w+$/.test($))return Z.getElementsByTagName($)}return y7($,Z)};a1.selectors=K0;a1.operators=N7;a1.combinators=w6;a1.matches=function($,Z){var Y={sel:Z};do if(Y=R6(Y.sel),Y($))return!0;while(Y.sel);return!1}});var P8=C((kV,k7)=>{var I3=D0(),F3=b9(),r9=function($,Z){var Y=$.createDocumentFragment();for(var G=0;G<Z.length;G++){var Q=Z[G],z=Q instanceof I3;Y.appendChild(z?Q:$.createTextNode(String(Q)))}return Y},S3={after:{value:function $(){var Z=Array.prototype.slice.call(arguments),Y=this.parentNode,G=this.nextSibling;if(Y===null)return;while(G&&Z.some(function(z){return z===G}))G=G.nextSibling;var Q=r9(this.doc,Z);Y.insertBefore(Q,G)}},before:{value:function $(){var Z=Array.prototype.slice.call(arguments),Y=this.parentNode,G=this.previousSibling;if(Y===null)return;while(G&&Z.some(function(J){return J===G}))G=G.previousSibling;var Q=r9(this.doc,Z),z=G?G.nextSibling:Y.firstChild;Y.insertBefore(Q,z)}},remove:{value:function $(){if(this.parentNode===null)return;if(this.doc){if(this.doc._preremoveNodeIterators(this),this.rooted)this.doc.mutateRemove(this)}this._remove(),this.parentNode=null}},_remove:{value:function $(){var Z=this.parentNode;if(Z===null)return;if(Z._childNodes)Z._childNodes.splice(this.index,1);else if(Z._firstChild===this)if(this._nextSibling===this)Z._firstChild=null;else Z._firstChild=this._nextSibling;F3.remove(this),Z.modify()}},replaceWith:{value:function $(){var Z=Array.prototype.slice.call(arguments),Y=this.parentNode,G=this.nextSibling;if(Y===null)return;while(G&&Z.some(function(z){return z===G}))G=G.nextSibling;var Q=r9(this.doc,Z);if(this.parentNode===Y)Y.replaceChild(Q,this);else Y.insertBefore(Q,G)}}};k7.exports=S3});var n9=C((fV,h7)=>{var f7=D0(),D3={nextElementSibling:{get:function(){if(this.parentNode){for(var $=this.nextSibling;$!==null;$=$.nextSibling)if($.nodeType===f7.ELEMENT_NODE)return $}return null}},previousElementSibling:{get:function(){if(this.parentNode){for(var $=this.previousSibling;$!==null;$=$.previousSibling)if($.nodeType===f7.ELEMENT_NODE)return $}return null}}};h7.exports=D3});var a9=C((hV,v7)=>{v7.exports=g7;var t1=V0();function g7($){this.element=$}Object.defineProperties(g7.prototype,{length:{get:t1.shouldOverride},item:{value:t1.shouldOverride},getNamedItem:{value:function $(Z){return this.element.getAttributeNode(Z)}},getNamedItemNS:{value:function $(Z,Y){return this.element.getAttributeNodeNS(Z,Y)}},setNamedItem:{value:t1.nyi},setNamedItemNS:{value:t1.nyi},removeNamedItem:{value:function $(Z){var Y=this.element.getAttributeNode(Z);if(Y)return this.element.removeAttribute(Z),Y;t1.NotFoundError()}},removeNamedItemNS:{value:function $(Z,Y){var G=this.element.getAttributeNodeNS(Z,Y);if(G)return this.element.removeAttributeNS(Z,Y),G;t1.NotFoundError()}}})});var $6=C((gV,d7)=>{d7.exports=R1;var t9=D8(),Q0=V0(),Z1=Q0.NAMESPACE,R8=c9(),l0=D0(),e9=v1(),O3=E9(),w8=P7(),e1=K8(),A3=i9(),$$=M8(),p7=S8(),L3=P8(),M3=n9(),u7=a9(),m7=Object.create(null);function R1($,Z,Y,G){p7.call(this),this.nodeType=l0.ELEMENT_NODE,this.ownerDocument=$,this.localName=Z,this.namespaceURI=Y,this.prefix=G,this._tagName=void 0,this._attrsByQName=Object.create(null),this._attrsByLName=Object.create(null),this._attrKeys=[]}function Z$($,Z){if($.nodeType===l0.TEXT_NODE)Z.push($._data);else for(var Y=0,G=$.childNodes.length;Y<G;Y++)Z$($.childNodes[Y],Z)}R1.prototype=Object.create(p7.prototype,{isHTML:{get:function $(){return this.namespaceURI===Z1.HTML&&this.ownerDocument.isHTML}},tagName:{get:function $(){if(this._tagName===void 0){var Z;if(this.prefix===null)Z=this.localName;else Z=this.prefix+":"+this.localName;if(this.isHTML){var Y=m7[Z];if(!Y)m7[Z]=Y=Q0.toASCIIUpperCase(Z);Z=Y}this._tagName=Z}return this._tagName}},nodeName:{get:function(){return this.tagName}},nodeValue:{get:function(){return null},set:function(){}},textContent:{get:function(){var $=[];return Z$(this,$),$.join("")},set:function($){if(this.removeChildren(),$!==null&&$!==void 0&&$!=="")this._appendChild(this.ownerDocument.createTextNode($))}},innerText:{get:function(){var $=[];return Z$(this,$),$.join("").replace(/[ \t\n\f\r]+/g," ").trim()},set:function($){if(this.removeChildren(),$!==null&&$!==void 0&&$!=="")this._appendChild(this.ownerDocument.createTextNode($))}},innerHTML:{get:function(){return this.serialize()},set:Q0.nyi},outerHTML:{get:function(){return O3.serializeOne(this,{nodeType:0})},set:function($){var Z=this.ownerDocument,Y=this.parentNode;if(Y===null)return;if(Y.nodeType===l0.DOCUMENT_NODE)Q0.NoModificationAllowedError();if(Y.nodeType===l0.DOCUMENT_FRAGMENT_NODE)Y=Y.ownerDocument.createElement("body");var G=Z.implementation.mozHTMLParser(Z._address,Y);G.parse($===null?"":String($),!0),this.replaceWith(G._asDocumentFragment())}},_insertAdjacent:{value:function $(Z,Y){var G=!1;switch(Z){case"beforebegin":G=!0;case"afterend":var Q=this.parentNode;if(Q===null)return null;return Q.insertBefore(Y,G?this:this.nextSibling);case"afterbegin":G=!0;case"beforeend":return this.insertBefore(Y,G?this.firstChild:null);default:return Q0.SyntaxError()}}},insertAdjacentElement:{value:function $(Z,Y){if(Y.nodeType!==l0.ELEMENT_NODE)throw new TypeError("not an element");return Z=Q0.toASCIILowerCase(String(Z)),this._insertAdjacent(Z,Y)}},insertAdjacentText:{value:function $(Z,Y){var G=this.ownerDocument.createTextNode(Y);Z=Q0.toASCIILowerCase(String(Z)),this._insertAdjacent(Z,G)}},insertAdjacentHTML:{value:function $(Z,Y){Z=Q0.toASCIILowerCase(String(Z)),Y=String(Y);var G;switch(Z){case"beforebegin":case"afterend":if(G=this.parentNode,G===null||G.nodeType===l0.DOCUMENT_NODE)Q0.NoModificationAllowedError();break;case"afterbegin":case"beforeend":G=this;break;default:Q0.SyntaxError()}if(!(G instanceof R1)||G.ownerDocument.isHTML&&G.localName==="html"&&G.namespaceURI===Z1.HTML)G=G.ownerDocument.createElementNS(Z1.HTML,"body");var Q=this.ownerDocument.implementation.mozHTMLParser(this.ownerDocument._address,G);Q.parse(Y,!0),this._insertAdjacent(Z,Q._asDocumentFragment())}},children:{get:function(){if(!this._children)this._children=new c7(this);return this._children}},attributes:{get:function(){if(!this._attributes)this._attributes=new G$(this);return this._attributes}},firstElementChild:{get:function(){for(var $=this.firstChild;$!==null;$=$.nextSibling)if($.nodeType===l0.ELEMENT_NODE)return $;return null}},lastElementChild:{get:function(){for(var $=this.lastChild;$!==null;$=$.previousSibling)if($.nodeType===l0.ELEMENT_NODE)return $;return null}},childElementCount:{get:function(){return this.children.length}},nextElement:{value:function($){if(!$)$=this.ownerDocument.documentElement;var Z=this.firstElementChild;if(!Z){if(this===$)return null;Z=this.nextElementSibling}if(Z)return Z;for(var Y=this.parentElement;Y&&Y!==$;Y=Y.parentElement)if(Z=Y.nextElementSibling,Z)return Z;return null}},getElementsByTagName:{value:function $(Z){var Y;if(!Z)return new e9;if(Z==="*")Y=function(){return!0};else if(this.isHTML)Y=P3(Z);else Y=Y$(Z);return new w8(this,Y)}},getElementsByTagNameNS:{value:function $(Z,Y){var G;if(Z==="*"&&Y==="*")G=function(){return!0};else if(Z==="*")G=Y$(Y);else if(Y==="*")G=w3(Z);else G=R3(Z,Y);return new w8(this,G)}},getElementsByClassName:{value:function $(Z){if(Z=String(Z).trim(),Z===""){var Y=new e9;return Y}return Z=Z.split(/[ \t\r\n\f]+/),new w8(this,T3(Z))}},getElementsByName:{value:function $(Z){return new w8(this,C3(String(Z)))}},clone:{value:function $(){var Z;if(this.namespaceURI!==Z1.HTML||this.prefix||!this.ownerDocument.isHTML)Z=this.ownerDocument.createElementNS(this.namespaceURI,this.prefix!==null?this.prefix+":"+this.localName:this.localName);else Z=this.ownerDocument.createElement(this.localName);for(var Y=0,G=this._attrKeys.length;Y<G;Y++){var Q=this._attrKeys[Y],z=this._attrsByLName[Q],J=z.cloneNode();J._setOwnerElement(Z),Z._attrsByLName[Q]=J,Z._addQName(J)}return Z._attrKeys=this._attrKeys.concat(),Z}},isEqual:{value:function $(Z){if(this.localName!==Z.localName||this.namespaceURI!==Z.namespaceURI||this.prefix!==Z.prefix||this._numattrs!==Z._numattrs)return!1;for(var Y=0,G=this._numattrs;Y<G;Y++){var Q=this._attr(Y);if(!Z.hasAttributeNS(Q.namespaceURI,Q.localName))return!1;if(Z.getAttributeNS(Q.namespaceURI,Q.localName)!==Q.value)return!1}return!0}},_lookupNamespacePrefix:{value:function $(Z,Y){if(this.namespaceURI&&this.namespaceURI===Z&&this.prefix!==null&&Y.lookupNamespaceURI(this.prefix)===Z)return this.prefix;for(var G=0,Q=this._numattrs;G<Q;G++){var z=this._attr(G);if(z.prefix==="xmlns"&&z.value===Z&&Y.lookupNamespaceURI(z.localName)===Z)return z.localName}var J=this.parentElement;return J?J._lookupNamespacePrefix(Z,Y):null}},lookupNamespaceURI:{value:function $(Z){if(Z===""||Z===void 0)Z=null;if(this.namespaceURI!==null&&this.prefix===Z)return this.namespaceURI;for(var Y=0,G=this._numattrs;Y<G;Y++){var Q=this._attr(Y);if(Q.namespaceURI===Z1.XMLNS){if(Q.prefix==="xmlns"&&Q.localName===Z||Z===null&&Q.prefix===null&&Q.localName==="xmlns")return Q.value||null}}var z=this.parentElement;return z?z.lookupNamespaceURI(Z):null}},getAttribute:{value:function $(Z){var Y=this.getAttributeNode(Z);return Y?Y.value:null}},getAttributeNS:{value:function $(Z,Y){var G=this.getAttributeNodeNS(Z,Y);return G?G.value:null}},getAttributeNode:{value:function $(Z){if(Z=String(Z),/[A-Z]/.test(Z)&&this.isHTML)Z=Q0.toASCIILowerCase(Z);var Y=this._attrsByQName[Z];if(!Y)return null;if(Array.isArray(Y))Y=Y[0];return Y}},getAttributeNodeNS:{value:function $(Z,Y){Z=Z===void 0||Z===null?"":String(Z),Y=String(Y);var G=this._attrsByLName[Z+"|"+Y];return G?G:null}},hasAttribute:{value:function $(Z){if(Z=String(Z),/[A-Z]/.test(Z)&&this.isHTML)Z=Q0.toASCIILowerCase(Z);return this._attrsByQName[Z]!==void 0}},hasAttributeNS:{value:function $(Z,Y){Z=Z===void 0||Z===null?"":String(Z),Y=String(Y);var G=Z+"|"+Y;return this._attrsByLName[G]!==void 0}},hasAttributes:{value:function $(){return this._numattrs>0}},toggleAttribute:{value:function $(Z,Y){if(Z=String(Z),!t9.isValidName(Z))Q0.InvalidCharacterError();if(/[A-Z]/.test(Z)&&this.isHTML)Z=Q0.toASCIILowerCase(Z);var G=this._attrsByQName[Z];if(G===void 0){if(Y===void 0||Y===!0)return this._setAttribute(Z,""),!0;return!1}else{if(Y===void 0||Y===!1)return this.removeAttribute(Z),!1;return!0}}},_setAttribute:{value:function $(Z,Y){var G=this._attrsByQName[Z],Q;if(!G)G=this._newattr(Z),Q=!0;else if(Array.isArray(G))G=G[0];if(G.value=Y,this._attributes)this._attributes[Z]=G;if(Q&&this._newattrhook)this._newattrhook(Z,Y)}},setAttribute:{value:function $(Z,Y){if(Z=String(Z),!t9.isValidName(Z))Q0.InvalidCharacterError();if(/[A-Z]/.test(Z)&&this.isHTML)Z=Q0.toASCIILowerCase(Z);this._setAttribute(Z,String(Y))}},_setAttributeNS:{value:function $(Z,Y,G){var Q=Y.indexOf(":"),z,J;if(Q<0)z=null,J=Y;else z=Y.substring(0,Q),J=Y.substring(Q+1);if(Z===""||Z===void 0)Z=null;var V=(Z===null?"":Z)+"|"+J,_=this._attrsByLName[V],q;if(!_){if(_=new T6(this,J,z,Z),q=!0,this._attrsByLName[V]=_,this._attributes)this._attributes[this._attrKeys.length]=_;this._attrKeys.push(V),this._addQName(_)}if(_.value=G,q&&this._newattrhook)this._newattrhook(Y,G)}},setAttributeNS:{value:function $(Z,Y,G){if(Z=Z===null||Z===void 0||Z===""?null:String(Z),Y=String(Y),!t9.isValidQName(Y))Q0.InvalidCharacterError();var Q=Y.indexOf(":"),z=Q<0?null:Y.substring(0,Q);if(z!==null&&Z===null||z==="xml"&&Z!==Z1.XML||(Y==="xmlns"||z==="xmlns")&&Z!==Z1.XMLNS||Z===Z1.XMLNS&&!(Y==="xmlns"||z==="xmlns"))Q0.NamespaceError();this._setAttributeNS(Z,Y,String(G))}},setAttributeNode:{value:function $(Z){if(Z.ownerElement!==null&&Z.ownerElement!==this)throw new e1(e1.INUSE_ATTRIBUTE_ERR);var Y=null,G=this._attrsByQName[Z.name];if(G){if(!Array.isArray(G))G=[G];if(G.some(function(Q){return Q===Z}))return Z;else if(Z.ownerElement!==null)throw new e1(e1.INUSE_ATTRIBUTE_ERR);G.forEach(function(Q){this.removeAttributeNode(Q)},this),Y=G[0]}return this.setAttributeNodeNS(Z),Y}},setAttributeNodeNS:{value:function $(Z){if(Z.ownerElement!==null)throw new e1(e1.INUSE_ATTRIBUTE_ERR);var Y=Z.namespaceURI,G=(Y===null?"":Y)+"|"+Z.localName,Q=this._attrsByLName[G];if(Q)this.removeAttributeNode(Q);if(Z._setOwnerElement(this),this._attrsByLName[G]=Z,this._attributes)this._attributes[this._attrKeys.length]=Z;if(this._attrKeys.push(G),this._addQName(Z),this._newattrhook)this._newattrhook(Z.name,Z.value);return Q||null}},removeAttribute:{value:function $(Z){if(Z=String(Z),/[A-Z]/.test(Z)&&this.isHTML)Z=Q0.toASCIILowerCase(Z);var Y=this._attrsByQName[Z];if(!Y)return;if(Array.isArray(Y))if(Y.length>2)Y=Y.shift();else this._attrsByQName[Z]=Y[1],Y=Y[0];else this._attrsByQName[Z]=void 0;var G=Y.namespaceURI,Q=(G===null?"":G)+"|"+Y.localName;this._attrsByLName[Q]=void 0;var z=this._attrKeys.indexOf(Q);if(this._attributes)Array.prototype.splice.call(this._attributes,z,1),this._attributes[Z]=void 0;this._attrKeys.splice(z,1);var J=Y.onchange;if(Y._setOwnerElement(null),J)J.call(Y,this,Y.localName,Y.value,null);if(this.rooted)this.ownerDocument.mutateRemoveAttr(Y)}},removeAttributeNS:{value:function $(Z,Y){Z=Z===void 0||Z===null?"":String(Z),Y=String(Y);var G=Z+"|"+Y,Q=this._attrsByLName[G];if(!Q)return;this._attrsByLName[G]=void 0;var z=this._attrKeys.indexOf(G);if(this._attributes)Array.prototype.splice.call(this._attributes,z,1);this._attrKeys.splice(z,1),this._removeQName(Q);var J=Q.onchange;if(Q._setOwnerElement(null),J)J.call(Q,this,Q.localName,Q.value,null);if(this.rooted)this.ownerDocument.mutateRemoveAttr(Q)}},removeAttributeNode:{value:function $(Z){var Y=Z.namespaceURI,G=(Y===null?"":Y)+"|"+Z.localName;if(this._attrsByLName[G]!==Z)Q0.NotFoundError();return this.removeAttributeNS(Y,Z.localName),Z}},getAttributeNames:{value:function $(){var Z=this;return this._attrKeys.map(function(Y){return Z._attrsByLName[Y].name})}},_getattr:{value:function $(Z){var Y=this._attrsByQName[Z];return Y?Y.value:null}},_setattr:{value:function $(Z,Y){var G=this._attrsByQName[Z],Q;if(!G)G=this._newattr(Z),Q=!0;if(G.value=String(Y),this._attributes)this._attributes[Z]=G;if(Q&&this._newattrhook)this._newattrhook(Z,Y)}},_newattr:{value:function $(Z){var Y=new T6(this,Z,null,null),G="|"+Z;if(this._attrsByQName[Z]=Y,this._attrsByLName[G]=Y,this._attributes)this._attributes[this._attrKeys.length]=Y;return this._attrKeys.push(G),Y}},_addQName:{value:function($){var Z=$.name,Y=this._attrsByQName[Z];if(!Y)this._attrsByQName[Z]=$;else if(Array.isArray(Y))Y.push($);else this._attrsByQName[Z]=[Y,$];if(this._attributes)this._attributes[Z]=$}},_removeQName:{value:function($){var Z=$.name,Y=this._attrsByQName[Z];if(Array.isArray(Y)){var G=Y.indexOf($);if(Q0.assert(G!==-1),Y.length===2){if(this._attrsByQName[Z]=Y[1-G],this._attributes)this._attributes[Z]=this._attrsByQName[Z]}else if(Y.splice(G,1),this._attributes&&this._attributes[Z]===$)this._attributes[Z]=Y[0]}else if(Q0.assert(Y===$),this._attrsByQName[Z]=void 0,this._attributes)this._attributes[Z]=void 0}},_numattrs:{get:function(){return this._attrKeys.length}},_attr:{value:function($){return this._attrsByLName[this._attrKeys[$]]}},id:R8.property({name:"id"}),className:R8.property({name:"class"}),classList:{get:function(){var $=this;if(this._classList)return this._classList;var Z=new A3(function(){return $.className||""},function(Y){$.className=Y});return this._classList=Z,Z},set:function($){this.className=$}},matches:{value:function($){return $$.matches(this,$)}},closest:{value:function($){var Z=this;do{if(Z.matches&&Z.matches($))return Z;Z=Z.parentElement||Z.parentNode}while(Z!==null&&Z.nodeType===l0.ELEMENT_NODE);return null}},querySelector:{value:function($){return $$($,this)[0]}},querySelectorAll:{value:function($){var Z=$$($,this);return Z.item?Z:new e9(Z)}}});Object.defineProperties(R1.prototype,L3);Object.defineProperties(R1.prototype,M3);R8.registerChangeHandler(R1,"id",function($,Z,Y,G){if($.rooted){if(Y)$.ownerDocument.delId(Y,$);if(G)$.ownerDocument.addId(G,$)}});R8.registerChangeHandler(R1,"class",function($,Z,Y,G){if($._classList)$._classList._update()});function T6($,Z,Y,G,Q){this.localName=Z,this.prefix=Y===null||Y===""?null:""+Y,this.namespaceURI=G===null||G===""?null:""+G,this.data=Q,this._setOwnerElement($)}T6.prototype=Object.create(Object.prototype,{ownerElement:{get:function(){return this._ownerElement}},_setOwnerElement:{value:function $(Z){if(this._ownerElement=Z,this.prefix===null&&this.namespaceURI===null&&Z)this.onchange=Z._attributeChangeHandlers[this.localName];else this.onchange=null}},name:{get:function(){return this.prefix?this.prefix+":"+this.localName:this.localName}},specified:{get:function(){return!0}},value:{get:function(){return this.data},set:function($){var Z=this.data;if($=$===void 0?"":$+"",$===Z)return;if(this.data=$,this.ownerElement){if(this.onchange)this.onchange(this.ownerElement,this.localName,Z,$);if(this.ownerElement.rooted)this.ownerElement.ownerDocument.mutateAttr(this,Z)}}},cloneNode:{value:function $(Z){return new T6(null,this.localName,this.prefix,this.namespaceURI,this.data)}},nodeType:{get:function(){return l0.ATTRIBUTE_NODE}},nodeName:{get:function(){return this.name}},nodeValue:{get:function(){return this.value},set:function($){this.value=$}},textContent:{get:function(){return this.value},set:function($){if($===null||$===void 0)$="";this.value=$}},innerText:{get:function(){return this.value},set:function($){if($===null||$===void 0)$="";this.value=$}}});R1._Attr=T6;function G$($){u7.call(this,$);for(var Z in $._attrsByQName)this[Z]=$._attrsByQName[Z];for(var Y=0;Y<$._attrKeys.length;Y++)this[Y]=$._attrsByLName[$._attrKeys[Y]]}G$.prototype=Object.create(u7.prototype,{length:{get:function(){return this.element._attrKeys.length},set:function(){}},item:{value:function($){if($=$>>>0,$>=this.length)return null;return this.element._attrsByLName[this.element._attrKeys[$]]}}});if(globalThis.Symbol?.iterator)G$.prototype[globalThis.Symbol.iterator]=function(){var $=0,Z=this.length,Y=this;return{next:function(){if($<Z)return{value:Y.item($++)};return{done:!0}}}};function c7($){this.element=$,this.updateCache()}c7.prototype=Object.create(Object.prototype,{length:{get:function(){return this.updateCache(),this.childrenByNumber.length}},item:{value:function $(Z){return this.updateCache(),this.childrenByNumber[Z]||null}},namedItem:{value:function $(Z){return this.updateCache(),this.childrenByName[Z]||null}},namedItems:{get:function(){return this.updateCache(),this.childrenByName}},updateCache:{value:function $(){var Z=/^(a|applet|area|embed|form|frame|frameset|iframe|img|object)$/;if(this.lastModTime!==this.element.lastModTime){this.lastModTime=this.element.lastModTime;var Y=this.childrenByNumber&&this.childrenByNumber.length||0;for(var G=0;G<Y;G++)this[G]=void 0;this.childrenByNumber=[],this.childrenByName=Object.create(null);for(var Q=this.element.firstChild;Q!==null;Q=Q.nextSibling)if(Q.nodeType===l0.ELEMENT_NODE){this[this.childrenByNumber.length]=Q,this.childrenByNumber.push(Q);var z=Q.getAttribute("id");if(z&&!this.childrenByName[z])this.childrenByName[z]=Q;var J=Q.getAttribute("name");if(J&&this.element.namespaceURI===Z1.HTML&&Z.test(this.element.localName)&&!this.childrenByName[J])this.childrenByName[z]=Q}}}}});function Y$($){return function(Z){return Z.localName===$}}function P3($){var Z=Q0.toASCIILowerCase($);if(Z===$)return Y$($);return function(Y){return Y.isHTML?Y.localName===Z:Y.localName===$}}function w3($){return function(Z){return Z.namespaceURI===$}}function R3($,Z){return function(Y){return Y.namespaceURI===$&&Y.localName===Z}}function T3($){return function(Z){return $.every(function(Y){return Z.classList.contains(Y)})}}function C3($){return function(Z){if(Z.namespaceURI!==Z1.HTML)return!1;return Z.getAttribute("name")===$}}});var Q$=C((vV,r7)=>{r7.exports=o7;var l7=D0(),b3=v1(),s7=V0(),i7=s7.HierarchyRequestError,E3=s7.NotFoundError;function o7(){l7.call(this)}o7.prototype=Object.create(l7.prototype,{hasChildNodes:{value:function(){return!1}},firstChild:{value:null},lastChild:{value:null},insertBefore:{value:function($,Z){if(!$.nodeType)throw new TypeError("not a node");i7()}},replaceChild:{value:function($,Z){if(!$.nodeType)throw new TypeError("not a node");i7()}},removeChild:{value:function($){if(!$.nodeType)throw new TypeError("not a node");E3()}},removeChildren:{value:function(){}},childNodes:{get:function(){if(!this._childNodes)this._childNodes=new b3;return this._childNodes}}})});var C6=C((mV,t7)=>{t7.exports=T8;var a7=Q$(),n7=V0(),N3=P8(),y3=n9();function T8(){a7.call(this)}T8.prototype=Object.create(a7.prototype,{substringData:{value:function $(Z,Y){if(arguments.length<2)throw new TypeError("Not enough arguments");if(Z=Z>>>0,Y=Y>>>0,Z>this.data.length||Z<0||Y<0)n7.IndexSizeError();return this.data.substring(Z,Z+Y)}},appendData:{value:function $(Z){if(arguments.length<1)throw new TypeError("Not enough arguments");this.data+=String(Z)}},insertData:{value:function $(Z,Y){return this.replaceData(Z,0,Y)}},deleteData:{value:function $(Z,Y){return this.replaceData(Z,Y,"")}},replaceData:{value:function $(Z,Y,G){var Q=this.data,z=Q.length;if(Z=Z>>>0,Y=Y>>>0,G=String(G),Z>z||Z<0)n7.IndexSizeError();if(Z+Y>z)Y=z-Z;var J=Q.substring(0,Z),V=Q.substring(Z+Y);this.data=J+G+V}},isEqual:{value:function $(Z){return this._data===Z._data}},length:{get:function(){return this.data.length}}});Object.defineProperties(T8.prototype,N3);Object.defineProperties(T8.prototype,y3)});var X$=C((pV,Y2)=>{Y2.exports=z$;var e7=V0(),$2=D0(),Z2=C6();function z$($,Z){Z2.call(this),this.nodeType=$2.TEXT_NODE,this.ownerDocument=$,this._data=Z,this._index=void 0}var b6={get:function(){return this._data},set:function($){if($===null||$===void 0)$="";else $=String($);if($===this._data)return;if(this._data=$,this.rooted)this.ownerDocument.mutateValue(this);if(this.parentNode&&this.parentNode._textchangehook)this.parentNode._textchangehook(this)}};z$.prototype=Object.create(Z2.prototype,{nodeName:{value:"#text"},nodeValue:b6,textContent:b6,innerText:b6,data:{get:b6.get,set:function($){b6.set.call(this,$===null?"":String($))}},splitText:{value:function $(Z){if(Z>this._data.length||Z<0)e7.IndexSizeError();var Y=this._data.substring(Z),G=this.ownerDocument.createTextNode(Y);this.data=this.data.substring(0,Z);var Q=this.parentNode;if(Q!==null)Q.insertBefore(G,this.nextSibling);return G}},wholeText:{get:function $(){var Z=this.textContent;for(var Y=this.nextSibling;Y;Y=Y.nextSibling){if(Y.nodeType!==$2.TEXT_NODE)break;Z+=Y.textContent}return Z}},replaceWholeText:{value:e7.nyi},clone:{value:function $(){return new z$(this.ownerDocument,this._data)}}})});var J$=C((uV,Q2)=>{Q2.exports=W$;var x3=D0(),G2=C6();function W$($,Z){G2.call(this),this.nodeType=x3.COMMENT_NODE,this.ownerDocument=$,this._data=Z}var E6={get:function(){return this._data},set:function($){if($===null||$===void 0)$="";else $=String($);if(this._data=$,this.rooted)this.ownerDocument.mutateValue(this)}};W$.prototype=Object.create(G2.prototype,{nodeName:{value:"#comment"},nodeValue:E6,textContent:E6,innerText:E6,data:{get:E6.get,set:function($){E6.set.call(this,$===null?"":String($))}},clone:{value:function $(){return new W$(this.ownerDocument,this._data)}}})});var B$=C((cV,W2)=>{W2.exports=V$;var k3=D0(),f3=v1(),X2=S8(),C8=$6(),h3=M8(),z2=V0();function V$($){X2.call(this),this.nodeType=k3.DOCUMENT_FRAGMENT_NODE,this.ownerDocument=$}V$.prototype=Object.create(X2.prototype,{nodeName:{value:"#document-fragment"},nodeValue:{get:function(){return null},set:function(){}},textContent:Object.getOwnPropertyDescriptor(C8.prototype,"textContent"),innerText:Object.getOwnPropertyDescriptor(C8.prototype,"innerText"),querySelector:{value:function($){var Z=this.querySelectorAll($);return Z.length?Z[0]:null}},querySelectorAll:{value:function($){var Z=Object.create(this);Z.isHTML=!0,Z.getElementsByTagName=C8.prototype.getElementsByTagName,Z.nextElement=Object.getOwnPropertyDescriptor(C8.prototype,"firstElementChild").get;var Y=h3($,Z);return Y.item?Y:new f3(Y)}},clone:{value:function $(){return new V$(this.ownerDocument)}},isEqual:{value:function $(Z){return!0}},innerHTML:{get:function(){return this.serialize()},set:z2.nyi},outerHTML:{get:function(){return this.serialize()},set:z2.nyi}})});var _$=C((dV,V2)=>{V2.exports=H$;var g3=D0(),J2=C6();function H$($,Z,Y){J2.call(this),this.nodeType=g3.PROCESSING_INSTRUCTION_NODE,this.ownerDocument=$,this.target=Z,this._data=Y}var N6={get:function(){return this._data},set:function($){if($===null||$===void 0)$="";else $=String($);if(this._data=$,this.rooted)this.ownerDocument.mutateValue(this)}};H$.prototype=Object.create(J2.prototype,{nodeName:{get:function(){return this.target}},nodeValue:N6,textContent:N6,innerText:N6,data:{get:N6.get,set:function($){N6.set.call(this,$===null?"":String($))}},clone:{value:function $(){return new H$(this.ownerDocument,this.target,this._data)}},isEqual:{value:function $(Z){return this.target===Z.target&&this._data===Z._data}}})});var y6=C((iV,B2)=>{var j$={FILTER_ACCEPT:1,FILTER_REJECT:2,FILTER_SKIP:3,SHOW_ALL:4294967295,SHOW_ELEMENT:1,SHOW_ATTRIBUTE:2,SHOW_TEXT:4,SHOW_CDATA_SECTION:8,SHOW_ENTITY_REFERENCE:16,SHOW_ENTITY:32,SHOW_PROCESSING_INSTRUCTION:64,SHOW_COMMENT:128,SHOW_DOCUMENT:256,SHOW_DOCUMENT_TYPE:512,SHOW_DOCUMENT_FRAGMENT:1024,SHOW_NOTATION:2048};B2.exports=j$.constructor=j$.prototype=j$});var K$=C((sV,_2)=>{var lV=_2.exports={nextSkippingChildren:v3,nextAncestorSibling:q$,next:m3,previous:p3,deepLastChild:H2};function v3($,Z){if($===Z)return null;if($.nextSibling!==null)return $.nextSibling;return q$($,Z)}function q$($,Z){for($=$.parentNode;$!==null;$=$.parentNode){if($===Z)return null;if($.nextSibling!==null)return $.nextSibling}return null}function m3($,Z){var Y=$.firstChild;if(Y!==null)return Y;if($===Z)return null;if(Y=$.nextSibling,Y!==null)return Y;return q$($,Z)}function H2($){while($.lastChild)$=$.lastChild;return $}function p3($,Z){var Y=$.previousSibling;if(Y!==null)return H2(Y);if(Y=$.parentNode,Y===Z)return null;return Y}});var S2=C((oV,F2)=>{F2.exports=I2;var u3=D0(),O0=y6(),j2=K$(),U2=V0(),U$={first:"firstChild",last:"lastChild",next:"firstChild",previous:"lastChild"},I$={first:"nextSibling",last:"previousSibling",next:"nextSibling",previous:"previousSibling"};function q2($,Z){var Y,G,Q,z,J;G=$._currentNode[U$[Z]];while(G!==null){if(z=$._internalFilter(G),z===O0.FILTER_ACCEPT)return $._currentNode=G,G;if(z===O0.FILTER_SKIP){if(Y=G[U$[Z]],Y!==null){G=Y;continue}}while(G!==null){if(J=G[I$[Z]],J!==null){G=J;break}if(Q=G.parentNode,Q===null||Q===$.root||Q===$._currentNode)return null;else G=Q}}return null}function K2($,Z){var Y,G,Q;if(Y=$._currentNode,Y===$.root)return null;while(!0){Q=Y[I$[Z]];while(Q!==null){if(Y=Q,G=$._internalFilter(Y),G===O0.FILTER_ACCEPT)return $._currentNode=Y,Y;if(Q=Y[U$[Z]],G===O0.FILTER_REJECT||Q===null)Q=Y[I$[Z]]}if(Y=Y.parentNode,Y===null||Y===$.root)return null;if($._internalFilter(Y)===O0.FILTER_ACCEPT)return null}}function I2($,Z,Y){if(!$||!$.nodeType)U2.NotSupportedError();this._root=$,this._whatToShow=Number(Z)||0,this._filter=Y||null,this._active=!1,this._currentNode=$}Object.defineProperties(I2.prototype,{root:{get:function(){return this._root}},whatToShow:{get:function(){return this._whatToShow}},filter:{get:function(){return this._filter}},currentNode:{get:function $(){return this._currentNode},set:function $(Z){if(!(Z instanceof u3))throw new TypeError("Not a Node");this._currentNode=Z}},_internalFilter:{value:function $(Z){var Y,G;if(this._active)U2.InvalidStateError();if(!(1<<Z.nodeType-1&this._whatToShow))return O0.FILTER_SKIP;if(G=this._filter,G===null)Y=O0.FILTER_ACCEPT;else{this._active=!0;try{if(typeof G==="function")Y=G(Z);else Y=G.acceptNode(Z)}finally{this._active=!1}}return+Y}},parentNode:{value:function $(){var Z=this._currentNode;while(Z!==this.root){if(Z=Z.parentNode,Z===null)return null;if(this._internalFilter(Z)===O0.FILTER_ACCEPT)return this._currentNode=Z,Z}return null}},firstChild:{value:function $(){return q2(this,"first")}},lastChild:{value:function $(){return q2(this,"last")}},previousSibling:{value:function $(){return K2(this,"previous")}},nextSibling:{value:function $(){return K2(this,"next")}},previousNode:{value:function $(){var Z,Y,G,Q;Z=this._currentNode;while(Z!==this._root){for(G=Z.previousSibling;G;G=Z.previousSibling){if(Z=G,Y=this._internalFilter(Z),Y===O0.FILTER_REJECT)continue;for(Q=Z.lastChild;Q;Q=Z.lastChild)if(Z=Q,Y=this._internalFilter(Z),Y===O0.FILTER_REJECT)break;if(Y===O0.FILTER_ACCEPT)return this._currentNode=Z,Z}if(Z===this.root||Z.parentNode===null)return null;if(Z=Z.parentNode,this._internalFilter(Z)===O0.FILTER_ACCEPT)return this._currentNode=Z,Z}return null}},nextNode:{value:function $(){var Z,Y,G,Q;Z=this._currentNode,Y=O0.FILTER_ACCEPT;$:while(!0){for(G=Z.firstChild;G;G=Z.firstChild)if(Z=G,Y=this._internalFilter(Z),Y===O0.FILTER_ACCEPT)return this._currentNode=Z,Z;else if(Y===O0.FILTER_REJECT)break;for(Q=j2.nextSkippingChildren(Z,this.root);Q;Q=j2.nextSkippingChildren(Z,this.root))if(Z=Q,Y=this._internalFilter(Z),Y===O0.FILTER_ACCEPT)return this._currentNode=Z,Z;else if(Y===O0.FILTER_SKIP)continue $;return null}}},toString:{value:function $(){return"[object TreeWalker]"}}})});var P2=C((rV,M2)=>{M2.exports=L2;var F$=y6(),S$=K$(),A2=V0();function c3($,Z,Y){if(Y)return S$.next($,Z);else{if($===Z)return null;return S$.previous($,null)}}function D2($,Z){for(;Z;Z=Z.parentNode)if($===Z)return!0;return!1}function O2($,Z){var Y,G;Y=$._referenceNode,G=$._pointerBeforeReferenceNode;while(!0){if(G===Z)G=!G;else if(Y=c3(Y,$._root,Z),Y===null)return null;var Q=$._internalFilter(Y);if(Q===F$.FILTER_ACCEPT)break}return $._referenceNode=Y,$._pointerBeforeReferenceNode=G,Y}function L2($,Z,Y){if(!$||!$.nodeType)A2.NotSupportedError();this._root=$,this._referenceNode=$,this._pointerBeforeReferenceNode=!0,this._whatToShow=Number(Z)||0,this._filter=Y||null,this._active=!1,$.doc._attachNodeIterator(this)}Object.defineProperties(L2.prototype,{root:{get:function $(){return this._root}},referenceNode:{get:function $(){return this._referenceNode}},pointerBeforeReferenceNode:{get:function $(){return this._pointerBeforeReferenceNode}},whatToShow:{get:function $(){return this._whatToShow}},filter:{get:function $(){return this._filter}},_internalFilter:{value:function $(Z){var Y,G;if(this._active)A2.InvalidStateError();if(!(1<<Z.nodeType-1&this._whatToShow))return F$.FILTER_SKIP;if(G=this._filter,G===null)Y=F$.FILTER_ACCEPT;else{this._active=!0;try{if(typeof G==="function")Y=G(Z);else Y=G.acceptNode(Z)}finally{this._active=!1}}return+Y}},_preremove:{value:function $(Z){if(D2(Z,this._root))return;if(!D2(Z,this._referenceNode))return;if(this._pointerBeforeReferenceNode){var Y=Z;while(Y.lastChild)Y=Y.lastChild;if(Y=S$.next(Y,this.root),Y){this._referenceNode=Y;return}this._pointerBeforeReferenceNode=!1}if(Z.previousSibling===null)this._referenceNode=Z.parentNode;else{this._referenceNode=Z.previousSibling;var G;for(G=this._referenceNode.lastChild;G;G=this._referenceNode.lastChild)this._referenceNode=G}}},nextNode:{value:function $(){return O2(this,!0)}},previousNode:{value:function $(){return O2(this,!1)}},detach:{value:function $(){}},toString:{value:function $(){return"[object NodeIterator]"}}})});var b8=C((nV,w2)=>{w2.exports=A0;function A0($){if(!$)return Object.create(A0.prototype);this.url=$.replace(/^[ \t\n\r\f]+|[ \t\n\r\f]+$/g,"");var Z=A0.pattern.exec(this.url);if(Z){if(Z[2])this.scheme=Z[2];if(Z[4]){var Y=Z[4].match(A0.userinfoPattern);if(Y)this.username=Y[1],this.password=Y[3],Z[4]=Z[4].substring(Y[0].length);if(Z[4].match(A0.portPattern)){var G=Z[4].lastIndexOf(":");this.host=Z[4].substring(0,G),this.port=Z[4].substring(G+1)}else this.host=Z[4]}if(Z[5])this.path=Z[5];if(Z[6])this.query=Z[7];if(Z[8])this.fragment=Z[9]}}A0.pattern=/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/;A0.userinfoPattern=/^([^@:]*)(:([^@]*))?@/;A0.portPattern=/:\d+$/;A0.authorityPattern=/^[^:\/?#]+:\/\//;A0.hierarchyPattern=/^[^:\/?#]+:\//;A0.percentEncode=function $(Z){var Y=Z.charCodeAt(0);if(Y<256)return"%"+Y.toString(16);else throw Error("can't percent-encode codepoints > 255 yet")};A0.prototype={constructor:A0,isAbsolute:function(){return!!this.scheme},isAuthorityBased:function(){return A0.authorityPattern.test(this.url)},isHierarchical:function(){return A0.hierarchyPattern.test(this.url)},toString:function(){var $="";if(this.scheme!==void 0)$+=this.scheme+":";if(this.isAbsolute()){if($+="//",this.username||this.password){if($+=this.username||"",this.password)$+=":"+this.password;$+="@"}if(this.host)$+=this.host}if(this.port!==void 0)$+=":"+this.port;if(this.path!==void 0)$+=this.path;if(this.query!==void 0)$+="?"+this.query;if(this.fragment!==void 0)$+="#"+this.fragment;return $},resolve:function($){var Z=this,Y=new A0($),G=new A0;if(Y.scheme!==void 0)G.scheme=Y.scheme,G.username=Y.username,G.password=Y.password,G.host=Y.host,G.port=Y.port,G.path=z(Y.path),G.query=Y.query;else if(G.scheme=Z.scheme,Y.host!==void 0)G.username=Y.username,G.password=Y.password,G.host=Y.host,G.port=Y.port,G.path=z(Y.path),G.query=Y.query;else if(G.username=Z.username,G.password=Z.password,G.host=Z.host,G.port=Z.port,!Y.path)if(G.path=Z.path,Y.query!==void 0)G.query=Y.query;else G.query=Z.query;else{if(Y.path.charAt(0)==="/")G.path=z(Y.path);else G.path=Q(Z.path,Y.path),G.path=z(G.path);G.query=Y.query}return G.fragment=Y.fragment,G.toString();function Q(J,V){if(Z.host!==void 0&&!Z.path)return"/"+V;var _=J.lastIndexOf("/");if(_===-1)return V;else return J.substring(0,_+1)+V}function z(J){if(!J)return J;var V="";while(J.length>0){if(J==="."||J===".."){J="";break}var _=J.substring(0,2),q=J.substring(0,3),K=J.substring(0,4);if(q==="../")J=J.substring(3);else if(_==="./")J=J.substring(2);else if(q==="/./")J="/"+J.substring(3);else if(_==="/."&&J.length===2)J="/";else if(K==="/../"||q==="/.."&&J.length===3)J="/"+J.substring(4),V=V.replace(/\/?[^\/]*$/,"");else{var O=J.match(/(\/?([^\/]*))/)[0];V+=O,J=J.substring(O.length)}}return V}}}});var C2=C((aV,T2)=>{T2.exports=D$;var R2=s1();function D$($,Z){R2.call(this,$,Z)}D$.prototype=Object.create(R2.prototype,{constructor:{value:D$}})});var O$=C((tV,b2)=>{b2.exports={Event:s1(),UIEvent:w9(),MouseEvent:T9(),CustomEvent:C2()}});var x2=C((N2)=>{Object.defineProperty(N2,"__esModule",{value:!0});N2.hyphenate=N2.parse=void 0;function d3($){let Z=[],Y=0,G=0,Q=0,z=0,J=0,V=null;while(Y<$.length)switch($.charCodeAt(Y++)){case 40:G++;break;case 41:G--;break;case 39:if(Q===0)Q=39;else if(Q===39&&$.charCodeAt(Y-1)!==92)Q=0;break;case 34:if(Q===0)Q=34;else if(Q===34&&$.charCodeAt(Y-1)!==92)Q=0;break;case 58:if(!V&&G===0&&Q===0)V=E2($.substring(J,Y-1).trim()),z=Y;break;case 59:if(V&&z>0&&G===0&&Q===0){let q=$.substring(z,Y-1).trim();Z.push(V,q),J=Y,z=0,V=null}break}if(V&&z){let _=$.slice(z).trim();Z.push(V,_)}return Z}N2.parse=d3;function E2($){return $.replace(/[a-z][A-Z]/g,(Z)=>{return Z.charAt(0)+"-"+Z.charAt(1)}).toLowerCase()}N2.hyphenate=E2});var E8=C(($B,v2)=>{var{parse:l3}=x2();v2.exports=function($){let Z=new g2($);return new Proxy(Z,{get:function(G,Q){return Q in G?G[Q]:G.getPropertyValue(k2(Q))},has:function(G,Q){return!0},set:function(G,Q,z){if(Q in G)G[Q]=z;else G.setProperty(k2(Q),z??void 0);return!0}})};function k2($){return $.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function g2($){this._element=$}var f2="!important";function h2($){let Z={property:{},priority:{}};if(!$)return Z;let Y=l3($);if(Y.length<2)return Z;for(let G=0;G<Y.length;G+=2){let Q=Y[G],z=Y[G+1];if(z.endsWith(f2))Z.priority[Q]="important",z=z.slice(0,-f2.length).trim();Z.property[Q]=z}return Z}var Z6={};g2.prototype=Object.create(Object.prototype,{_parsed:{get:function(){if(!this._parsedStyles||this.cssText!==this._lastParsedText){var $=this.cssText;this._parsedStyles=h2($),this._lastParsedText=$,delete this._names}return this._parsedStyles}},_serialize:{value:function(){var $=this._parsed,Z="";for(var Y in $.property){if(Z)Z+=" ";if(Z+=Y+": "+$.property[Y],$.priority[Y])Z+=" !"+$.priority[Y];Z+=";"}this.cssText=Z,this._lastParsedText=Z,delete this._names}},cssText:{get:function(){return this._element.getAttribute("style")},set:function($){this._element.setAttribute("style",$)}},length:{get:function(){if(!this._names)this._names=Object.getOwnPropertyNames(this._parsed.property);return this._names.length}},item:{value:function($){if(!this._names)this._names=Object.getOwnPropertyNames(this._parsed.property);return this._names[$]}},getPropertyValue:{value:function($){return $=$.toLowerCase(),this._parsed.property[$]||""}},getPropertyPriority:{value:function($){return $=$.toLowerCase(),this._parsed.priority[$]||""}},setProperty:{value:function($,Z,Y){if($=$.toLowerCase(),Z===null||Z===void 0)Z="";if(Y===null||Y===void 0)Y="";if(Z!==Z6)Z=""+Z;if(Z=Z.trim(),Z===""){this.removeProperty($);return}if(Y!==""&&Y!==Z6&&!/^important$/i.test(Y))return;var G=this._parsed;if(Z===Z6){if(!G.property[$])return;if(Y!=="")G.priority[$]="important";else delete G.priority[$]}else{if(Z.indexOf(";")!==-1)return;var Q=h2($+":"+Z);if(Object.getOwnPropertyNames(Q.property).length===0)return;if(Object.getOwnPropertyNames(Q.priority).length!==0)return;for(var z in Q.property)if(G.property[z]=Q.property[z],Y===Z6)continue;else if(Y!=="")G.priority[z]="important";else if(G.priority[z])delete G.priority[z]}this._serialize()}},setPropertyValue:{value:function($,Z){return this.setProperty($,Z,Z6)}},setPropertyPriority:{value:function($,Z){return this.setProperty($,Z6,Z)}},removeProperty:{value:function($){$=$.toLowerCase();var Z=this._parsed;if($ in Z.property)delete Z.property[$],delete Z.priority[$],this._serialize()}}})});var A$=C((ZB,m2)=>{var U0=b8();m2.exports=x6;function x6(){}x6.prototype=Object.create(Object.prototype,{_url:{get:function(){return new U0(this.href)}},protocol:{get:function(){var $=this._url;if($&&$.scheme)return $.scheme+":";else return":"},set:function($){var Z=this.href,Y=new U0(Z);if(Y.isAbsolute()){if($=$.replace(/:+$/,""),$=$.replace(/[^-+\.a-zA-Z0-9]/g,U0.percentEncode),$.length>0)Y.scheme=$,Z=Y.toString()}this.href=Z}},host:{get:function(){var $=this._url;if($.isAbsolute()&&$.isAuthorityBased())return $.host+($.port?":"+$.port:"");else return""},set:function($){var Z=this.href,Y=new U0(Z);if(Y.isAbsolute()&&Y.isAuthorityBased()){if($=$.replace(/[^-+\._~!$&'()*,;:=a-zA-Z0-9]/g,U0.percentEncode),$.length>0)Y.host=$,delete Y.port,Z=Y.toString()}this.href=Z}},hostname:{get:function(){var $=this._url;if($.isAbsolute()&&$.isAuthorityBased())return $.host;else return""},set:function($){var Z=this.href,Y=new U0(Z);if(Y.isAbsolute()&&Y.isAuthorityBased()){if($=$.replace(/^\/+/,""),$=$.replace(/[^-+\._~!$&'()*,;:=a-zA-Z0-9]/g,U0.percentEncode),$.length>0)Y.host=$,Z=Y.toString()}this.href=Z}},port:{get:function(){var $=this._url;if($.isAbsolute()&&$.isAuthorityBased()&&$.port!==void 0)return $.port;else return""},set:function($){var Z=this.href,Y=new U0(Z);if(Y.isAbsolute()&&Y.isAuthorityBased()){if($=""+$,$=$.replace(/[^0-9].*$/,""),$=$.replace(/^0+/,""),$.length===0)$="0";if(parseInt($,10)<=65535)Y.port=$,Z=Y.toString()}this.href=Z}},pathname:{get:function(){var $=this._url;if($.isAbsolute()&&$.isHierarchical())return $.path;else return""},set:function($){var Z=this.href,Y=new U0(Z);if(Y.isAbsolute()&&Y.isHierarchical()){if($.charAt(0)!=="/")$="/"+$;$=$.replace(/[^-+\._~!$&'()*,;:=@\/a-zA-Z0-9]/g,U0.percentEncode),Y.path=$,Z=Y.toString()}this.href=Z}},search:{get:function(){var $=this._url;if($.isAbsolute()&&$.isHierarchical()&&$.query!==void 0)return"?"+$.query;else return""},set:function($){var Z=this.href,Y=new U0(Z);if(Y.isAbsolute()&&Y.isHierarchical()){if($.charAt(0)==="?")$=$.substring(1);$=$.replace(/[^-+\._~!$&'()*,;:=@\/?a-zA-Z0-9]/g,U0.percentEncode),Y.query=$,Z=Y.toString()}this.href=Z}},hash:{get:function(){var $=this._url;if($==null||$.fragment==null||$.fragment==="")return"";else return"#"+$.fragment},set:function($){var Z=this.href,Y=new U0(Z);if($.charAt(0)==="#")$=$.substring(1);$=$.replace(/[^-+\._~!$&'()*,;:=@\/?a-zA-Z0-9]/g,U0.percentEncode),Y.fragment=$,Z=Y.toString(),this.href=Z}},username:{get:function(){var $=this._url;return $.username||""},set:function($){var Z=this.href,Y=new U0(Z);if(Y.isAbsolute())$=$.replace(/[\x00-\x1F\x7F-\uFFFF "#<>?`\/@\\:]/g,U0.percentEncode),Y.username=$,Z=Y.toString();this.href=Z}},password:{get:function(){var $=this._url;return $.password||""},set:function($){var Z=this.href,Y=new U0(Z);if(Y.isAbsolute()){if($==="")Y.password=null;else $=$.replace(/[\x00-\x1F\x7F-\uFFFF "#<>?`\/@\\]/g,U0.percentEncode),Y.password=$;Z=Y.toString()}this.href=Z}},origin:{get:function(){var $=this._url;if($==null)return"";var Z=function(Y){var G=[$.scheme,$.host,+$.port||Y];return G[0]+"://"+G[1]+(G[2]===Y?"":":"+G[2])};switch($.scheme){case"ftp":return Z(21);case"gopher":return Z(70);case"http":case"ws":return Z(80);case"https":case"wss":return Z(443);default:return $.scheme+"://"}}}});x6._inherit=function($){Object.getOwnPropertyNames(x6.prototype).forEach(function(Z){if(Z==="constructor"||Z==="href")return;var Y=Object.getOwnPropertyDescriptor(x6.prototype,Z);Object.defineProperty($,Z,Y)})}});var L$=C((YB,c2)=>{var p2=c9(),s3=U8().isApiWritable;c2.exports=function($,Z,Y,G){var Q=$.ctor;if(Q){var z=$.props||{};if($.attributes)for(var J in $.attributes){var V=$.attributes[J];if(typeof V!=="object"||Array.isArray(V))V={type:V};if(!V.name)V.name=J.toLowerCase();z[J]=p2.property(V)}if(z.constructor={value:Q,writable:s3},Q.prototype=Object.create(($.superclass||Z).prototype,z),$.events)r3(Q,$.events);Y[$.name]=Q}else Q=Z;return($.tags||$.tag&&[$.tag]||[]).forEach(function(_){G[_]=Q}),Q};function u2($,Z,Y,G){this.body=$,this.document=Z,this.form=Y,this.element=G}u2.prototype.build=function(){return()=>{}};function o3($,Z,Y,G){var Q=$.ownerDocument||Object.create(null),z=$.form||Object.create(null);$[Z]=new u2(G,Q,z,$).build()}function r3($,Z){var Y=$.prototype;Z.forEach(function(G){Object.defineProperty(Y,"on"+G,{get:function(){return this._getEventHandler(G)},set:function(Q){this._setEventHandler(G,Q)}}),p2.registerChangeHandler($,"on"+G,o3)})}});var y8=C(($W)=>{var M$=D0(),d2=$6(),n3=E8(),h0=V0(),i2=A$(),a3=L$(),H1=$W.elements={},k6=Object.create(null);$W.createElement=function($,Z,Y){var G=k6[Z]||e3;return new G($,Z,Y)};function w($){return a3($,b,H1,k6)}function B0($){return{get:function(){var Z=this._getattr($);if(Z===null)return"";var Y=this.doc._resolve(Z);return Y===null?Z:Y},set:function(Z){this._setattr($,Z)}}}function N8($){return{get:function(){var Z=this._getattr($);if(Z===null)return null;if(Z.toLowerCase()==="use-credentials")return"use-credentials";return"anonymous"},set:function(Z){if(Z===null||Z===void 0)this.removeAttribute($);else this._setattr($,Z)}}}var Y6={type:["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],missing:""},t3={A:!0,LINK:!0,BUTTON:!0,INPUT:!0,SELECT:!0,TEXTAREA:!0,COMMAND:!0},s0=function($,Z,Y){b.call(this,$,Z,Y),this._form=null},b=$W.HTMLElement=w({superclass:d2,name:"HTMLElement",ctor:function $(Z,Y,G){d2.call(this,Z,Y,h0.NAMESPACE.HTML,G)},props:{dangerouslySetInnerHTML:{set:function($){this._innerHTML=$}},innerHTML:{get:function(){return this.serialize()},set:function($){var Z=this.ownerDocument.implementation.mozHTMLParser(this.ownerDocument._address,this);Z.parse($===null?"":String($),!0);var Y=this instanceof k6.template?this.content:this;while(Y.hasChildNodes())Y.removeChild(Y.firstChild);Y.appendChild(Z._asDocumentFragment())}},style:{get:function(){if(!this._style)this._style=new n3(this);return this._style},set:function($){if($===null||$===void 0)$="";this._setattr("style",String($))}},blur:{value:function(){}},focus:{value:function(){}},forceSpellCheck:{value:function(){}},click:{value:function(){if(this._click_in_progress)return;this._click_in_progress=!0;try{if(this._pre_click_activation_steps)this._pre_click_activation_steps();var $=this.ownerDocument.createEvent("MouseEvent");$.initMouseEvent("click",!0,!0,this.ownerDocument.defaultView,1,0,0,0,0,!1,!1,!1,!1,0,null);var Z=this.dispatchEvent($);if(Z){if(this._post_click_activation_steps)this._post_click_activation_steps($)}else if(this._cancelled_activation_steps)this._cancelled_activation_steps()}finally{this._click_in_progress=!1}}},submit:{value:h0.nyi}},attributes:{title:String,lang:String,dir:{type:["ltr","rtl","auto"],missing:""},draggable:{type:["true","false"],treatNullAsEmptyString:!0},spellcheck:{type:["true","false"],missing:""},enterKeyHint:{type:["enter","done","go","next","previous","search","send"],missing:""},autoCapitalize:{type:["off","on","none","sentences","words","characters"],missing:""},autoFocus:Boolean,accessKey:String,nonce:String,hidden:Boolean,translate:{type:["no","yes"],missing:""},tabIndex:{type:"long",default:function(){if(this.tagName in t3||this.contentEditable)return 0;else return-1}}},events:["abort","canplay","canplaythrough","change","click","contextmenu","cuechange","dblclick","drag","dragend","dragenter","dragleave","dragover","dragstart","drop","durationchange","emptied","ended","input","invalid","keydown","keypress","keyup","loadeddata","loadedmetadata","loadstart","mousedown","mousemove","mouseout","mouseover","mouseup","mousewheel","pause","play","playing","progress","ratechange","readystatechange","reset","seeked","seeking","select","show","stalled","submit","suspend","timeupdate","volumechange","waiting","blur","error","focus","load","scroll"]}),e3=w({name:"HTMLUnknownElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)}}),o0={form:{get:function(){return this._form}}};w({tag:"a",name:"HTMLAnchorElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},props:{_post_click_activation_steps:{value:function($){if(this.href)this.ownerDocument.defaultView.location=this.href}}},attributes:{href:B0,ping:String,download:String,target:String,rel:String,media:String,hreflang:String,type:String,referrerPolicy:Y6,coords:String,charset:String,name:String,rev:String,shape:String}});i2._inherit(k6.a.prototype);w({tag:"area",name:"HTMLAreaElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{alt:String,target:String,download:String,rel:String,media:String,href:B0,hreflang:String,type:String,shape:String,coords:String,ping:String,referrerPolicy:Y6,noHref:Boolean}});i2._inherit(k6.area.prototype);w({tag:"br",name:"HTMLBRElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{clear:String}});w({tag:"base",name:"HTMLBaseElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{target:String}});w({tag:"body",name:"HTMLBodyElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},events:["afterprint","beforeprint","beforeunload","blur","error","focus","hashchange","load","message","offline","online","pagehide","pageshow","popstate","resize","scroll","storage","unload"],attributes:{text:{type:String,treatNullAsEmptyString:!0},link:{type:String,treatNullAsEmptyString:!0},vLink:{type:String,treatNullAsEmptyString:!0},aLink:{type:String,treatNullAsEmptyString:!0},bgColor:{type:String,treatNullAsEmptyString:!0},background:String}});w({tag:"button",name:"HTMLButtonElement",ctor:function $(Z,Y,G){s0.call(this,Z,Y,G)},props:o0,attributes:{name:String,value:String,disabled:Boolean,autofocus:Boolean,type:{type:["submit","reset","button","menu"],missing:"submit"},formTarget:String,formAction:B0,formNoValidate:Boolean,formMethod:{type:["get","post","dialog"],invalid:"get",missing:""},formEnctype:{type:["application/x-www-form-urlencoded","multipart/form-data","text/plain"],invalid:"application/x-www-form-urlencoded",missing:""}}});w({tag:"dl",name:"HTMLDListElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{compact:Boolean}});w({tag:"data",name:"HTMLDataElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{value:String}});w({tag:"datalist",name:"HTMLDataListElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)}});w({tag:"details",name:"HTMLDetailsElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{open:Boolean}});w({tag:"div",name:"HTMLDivElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{align:String}});w({tag:"embed",name:"HTMLEmbedElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{src:B0,type:String,width:String,height:String,align:String,name:String}});w({tag:"fieldset",name:"HTMLFieldSetElement",ctor:function $(Z,Y,G){s0.call(this,Z,Y,G)},props:o0,attributes:{disabled:Boolean,name:String}});w({tag:"form",name:"HTMLFormElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{action:String,autocomplete:{type:["on","off"],missing:"on"},name:String,acceptCharset:{name:"accept-charset"},target:String,noValidate:Boolean,method:{type:["get","post","dialog"],invalid:"get",missing:"get"},enctype:{type:["application/x-www-form-urlencoded","multipart/form-data","text/plain"],invalid:"application/x-www-form-urlencoded",missing:"application/x-www-form-urlencoded"},encoding:{name:"enctype",type:["application/x-www-form-urlencoded","multipart/form-data","text/plain"],invalid:"application/x-www-form-urlencoded",missing:"application/x-www-form-urlencoded"}}});w({tag:"hr",name:"HTMLHRElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{align:String,color:String,noShade:Boolean,size:String,width:String}});w({tag:"head",name:"HTMLHeadElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)}});w({tags:["h1","h2","h3","h4","h5","h6"],name:"HTMLHeadingElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{align:String}});w({tag:"html",name:"HTMLHtmlElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{xmlns:B0,version:String}});w({tag:"iframe",name:"HTMLIFrameElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{src:B0,srcdoc:String,name:String,width:String,height:String,seamless:Boolean,allow:Boolean,allowFullscreen:Boolean,allowUserMedia:Boolean,allowPaymentRequest:Boolean,referrerPolicy:Y6,loading:{type:["eager","lazy"],treatNullAsEmptyString:!0},align:String,scrolling:String,frameBorder:String,longDesc:B0,marginHeight:{type:String,treatNullAsEmptyString:!0},marginWidth:{type:String,treatNullAsEmptyString:!0}}});w({tag:"img",name:"HTMLImageElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{alt:String,src:B0,srcset:String,crossOrigin:N8,useMap:String,isMap:Boolean,sizes:String,height:{type:"unsigned long",default:0},width:{type:"unsigned long",default:0},referrerPolicy:Y6,loading:{type:["eager","lazy"],missing:""},name:String,lowsrc:B0,align:String,hspace:{type:"unsigned long",default:0},vspace:{type:"unsigned long",default:0},longDesc:B0,border:{type:String,treatNullAsEmptyString:!0}}});w({tag:"input",name:"HTMLInputElement",ctor:function $(Z,Y,G){s0.call(this,Z,Y,G)},props:{form:o0.form,_post_click_activation_steps:{value:function($){if(this.type==="checkbox")this.checked=!this.checked;else if(this.type==="radio"){var Z=this.form.getElementsByName(this.name);for(var Y=Z.length-1;Y>=0;Y--){var G=Z[Y];G.checked=G===this}}}}},attributes:{name:String,disabled:Boolean,autofocus:Boolean,accept:String,alt:String,max:String,min:String,pattern:String,placeholder:String,step:String,dirName:String,defaultValue:{name:"value"},multiple:Boolean,required:Boolean,readOnly:Boolean,checked:Boolean,value:String,src:B0,defaultChecked:{name:"checked",type:Boolean},size:{type:"unsigned long",default:20,min:1,setmin:1},width:{type:"unsigned long",min:0,setmin:0,default:0},height:{type:"unsigned long",min:0,setmin:0,default:0},minLength:{type:"unsigned long",min:0,setmin:0,default:-1},maxLength:{type:"unsigned long",min:0,setmin:0,default:-1},autocomplete:String,type:{type:["text","hidden","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"],missing:"text"},formTarget:String,formNoValidate:Boolean,formMethod:{type:["get","post"],invalid:"get",missing:""},formEnctype:{type:["application/x-www-form-urlencoded","multipart/form-data","text/plain"],invalid:"application/x-www-form-urlencoded",missing:""},inputMode:{type:["verbatim","latin","latin-name","latin-prose","full-width-latin","kana","kana-name","katakana","numeric","tel","email","url"],missing:""},align:String,useMap:String}});w({tag:"keygen",name:"HTMLKeygenElement",ctor:function $(Z,Y,G){s0.call(this,Z,Y,G)},props:o0,attributes:{name:String,disabled:Boolean,autofocus:Boolean,challenge:String,keytype:{type:["rsa"],missing:""}}});w({tag:"li",name:"HTMLLIElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{value:{type:"long",default:0},type:String}});w({tag:"label",name:"HTMLLabelElement",ctor:function $(Z,Y,G){s0.call(this,Z,Y,G)},props:o0,attributes:{htmlFor:{name:"for",type:String}}});w({tag:"legend",name:"HTMLLegendElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{align:String}});w({tag:"link",name:"HTMLLinkElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{href:B0,rel:String,media:String,hreflang:String,type:String,crossOrigin:N8,nonce:String,integrity:String,referrerPolicy:Y6,imageSizes:String,imageSrcset:String,charset:String,rev:String,target:String}});w({tag:"map",name:"HTMLMapElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{name:String}});w({tag:"menu",name:"HTMLMenuElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{type:{type:["context","popup","toolbar"],missing:"toolbar"},label:String,compact:Boolean}});w({tag:"meta",name:"HTMLMetaElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{name:String,content:String,httpEquiv:{name:"http-equiv",type:String},scheme:String}});w({tag:"meter",name:"HTMLMeterElement",ctor:function $(Z,Y,G){s0.call(this,Z,Y,G)},props:o0});w({tags:["ins","del"],name:"HTMLModElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{cite:B0,dateTime:String}});w({tag:"ol",name:"HTMLOListElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},props:{_numitems:{get:function(){var $=0;return this.childNodes.forEach(function(Z){if(Z.nodeType===M$.ELEMENT_NODE&&Z.tagName==="LI")$++}),$}}},attributes:{type:String,reversed:Boolean,start:{type:"long",default:function(){if(this.reversed)return this._numitems;else return 1}},compact:Boolean}});w({tag:"object",name:"HTMLObjectElement",ctor:function $(Z,Y,G){s0.call(this,Z,Y,G)},props:o0,attributes:{data:B0,type:String,name:String,useMap:String,typeMustMatch:Boolean,width:String,height:String,align:String,archive:String,code:String,declare:Boolean,hspace:{type:"unsigned long",default:0},standby:String,vspace:{type:"unsigned long",default:0},codeBase:B0,codeType:String,border:{type:String,treatNullAsEmptyString:!0}}});w({tag:"optgroup",name:"HTMLOptGroupElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{disabled:Boolean,label:String}});w({tag:"option",name:"HTMLOptionElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},props:{form:{get:function(){var $=this.parentNode;while($&&$.nodeType===M$.ELEMENT_NODE){if($.localName==="select")return $.form;$=$.parentNode}}},value:{get:function(){return this._getattr("value")||this.text},set:function($){this._setattr("value",$)}},text:{get:function(){return this.textContent.replace(/[ \t\n\f\r]+/g," ").trim()},set:function($){this.textContent=$}}},attributes:{disabled:Boolean,defaultSelected:{name:"selected",type:Boolean},label:String}});w({tag:"output",name:"HTMLOutputElement",ctor:function $(Z,Y,G){s0.call(this,Z,Y,G)},props:o0,attributes:{name:String}});w({tag:"p",name:"HTMLParagraphElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{align:String}});w({tag:"param",name:"HTMLParamElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{name:String,value:String,type:String,valueType:String}});w({tags:["pre","listing","xmp"],name:"HTMLPreElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{width:{type:"long",default:0}}});w({tag:"progress",name:"HTMLProgressElement",ctor:function $(Z,Y,G){s0.call(this,Z,Y,G)},props:o0,attributes:{max:{type:Number,float:!0,default:1,min:0}}});w({tags:["q","blockquote"],name:"HTMLQuoteElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{cite:B0}});w({tag:"script",name:"HTMLScriptElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},props:{text:{get:function(){var $="";for(var Z=0,Y=this.childNodes.length;Z<Y;Z++){var G=this.childNodes[Z];if(G.nodeType===M$.TEXT_NODE)$+=G._data}return $},set:function($){if(this.removeChildren(),$!==null&&$!=="")this.appendChild(this.ownerDocument.createTextNode($))}}},attributes:{src:B0,type:String,charset:String,referrerPolicy:Y6,defer:Boolean,async:Boolean,nomodule:Boolean,crossOrigin:N8,nonce:String,integrity:String}});w({tag:"select",name:"HTMLSelectElement",ctor:function $(Z,Y,G){s0.call(this,Z,Y,G)},props:{form:o0.form,options:{get:function(){return this.getElementsByTagName("option")}}},attributes:{autocomplete:String,name:String,disabled:Boolean,autofocus:Boolean,multiple:Boolean,required:Boolean,size:{type:"unsigned long",default:0}}});w({tag:"span",name:"HTMLSpanElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)}});w({tag:"style",name:"HTMLStyleElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{media:String,type:String,scoped:Boolean}});w({tag:"caption",name:"HTMLTableCaptionElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{align:String}});w({name:"HTMLTableCellElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{colSpan:{type:"unsigned long",default:1},rowSpan:{type:"unsigned long",default:1},scope:{type:["row","col","rowgroup","colgroup"],missing:""},abbr:String,align:String,axis:String,height:String,width:String,ch:{name:"char",type:String},chOff:{name:"charoff",type:String},noWrap:Boolean,vAlign:String,bgColor:{type:String,treatNullAsEmptyString:!0}}});w({tags:["col","colgroup"],name:"HTMLTableColElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{span:{type:"limited unsigned long with fallback",default:1,min:1},align:String,ch:{name:"char",type:String},chOff:{name:"charoff",type:String},vAlign:String,width:String}});w({tag:"table",name:"HTMLTableElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},props:{rows:{get:function(){return this.getElementsByTagName("tr")}}},attributes:{align:String,border:String,frame:String,rules:String,summary:String,width:String,bgColor:{type:String,treatNullAsEmptyString:!0},cellPadding:{type:String,treatNullAsEmptyString:!0},cellSpacing:{type:String,treatNullAsEmptyString:!0}}});w({tag:"template",name:"HTMLTemplateElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G),this._contentFragment=Z._templateDoc.createDocumentFragment()},props:{content:{get:function(){return this._contentFragment}},serialize:{value:function(){return this.content.serialize()}}}});w({tag:"tr",name:"HTMLTableRowElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},props:{cells:{get:function(){return this.querySelectorAll("td,th")}}},attributes:{align:String,ch:{name:"char",type:String},chOff:{name:"charoff",type:String},vAlign:String,bgColor:{type:String,treatNullAsEmptyString:!0}}});w({tags:["thead","tfoot","tbody"],name:"HTMLTableSectionElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},props:{rows:{get:function(){return this.getElementsByTagName("tr")}}},attributes:{align:String,ch:{name:"char",type:String},chOff:{name:"charoff",type:String},vAlign:String}});w({tag:"textarea",name:"HTMLTextAreaElement",ctor:function $(Z,Y,G){s0.call(this,Z,Y,G)},props:{form:o0.form,type:{get:function(){return"textarea"}},defaultValue:{get:function(){return this.textContent},set:function($){this.textContent=$}},value:{get:function(){return this.defaultValue},set:function($){this.defaultValue=$}},textLength:{get:function(){return this.value.length}}},attributes:{autocomplete:String,name:String,disabled:Boolean,autofocus:Boolean,placeholder:String,wrap:String,dirName:String,required:Boolean,readOnly:Boolean,rows:{type:"limited unsigned long with fallback",default:2},cols:{type:"limited unsigned long with fallback",default:20},maxLength:{type:"unsigned long",min:0,setmin:0,default:-1},minLength:{type:"unsigned long",min:0,setmin:0,default:-1},inputMode:{type:["verbatim","latin","latin-name","latin-prose","full-width-latin","kana","kana-name","katakana","numeric","tel","email","url"],missing:""}}});w({tag:"time",name:"HTMLTimeElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{dateTime:String,pubDate:Boolean}});w({tag:"title",name:"HTMLTitleElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},props:{text:{get:function(){return this.textContent}}}});w({tag:"ul",name:"HTMLUListElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{type:String,compact:Boolean}});w({name:"HTMLMediaElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{src:B0,crossOrigin:N8,preload:{type:["metadata","none","auto",{value:"",alias:"auto"}],missing:"auto"},loop:Boolean,autoplay:Boolean,mediaGroup:String,controls:Boolean,defaultMuted:{name:"muted",type:Boolean}}});w({name:"HTMLAudioElement",tag:"audio",superclass:H1.HTMLMediaElement,ctor:function $(Z,Y,G){H1.HTMLMediaElement.call(this,Z,Y,G)}});w({name:"HTMLVideoElement",tag:"video",superclass:H1.HTMLMediaElement,ctor:function $(Z,Y,G){H1.HTMLMediaElement.call(this,Z,Y,G)},attributes:{poster:B0,width:{type:"unsigned long",min:0,default:0},height:{type:"unsigned long",min:0,default:0}}});w({tag:"td",name:"HTMLTableDataCellElement",superclass:H1.HTMLTableCellElement,ctor:function $(Z,Y,G){H1.HTMLTableCellElement.call(this,Z,Y,G)}});w({tag:"th",name:"HTMLTableHeaderCellElement",superclass:H1.HTMLTableCellElement,ctor:function $(Z,Y,G){H1.HTMLTableCellElement.call(this,Z,Y,G)}});w({tag:"frameset",name:"HTMLFrameSetElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)}});w({tag:"frame",name:"HTMLFrameElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)}});w({tag:"canvas",name:"HTMLCanvasElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},props:{getContext:{value:h0.nyi},probablySupportsContext:{value:h0.nyi},setContext:{value:h0.nyi},transferControlToProxy:{value:h0.nyi},toDataURL:{value:h0.nyi},toBlob:{value:h0.nyi}},attributes:{width:{type:"unsigned long",default:300},height:{type:"unsigned long",default:150}}});w({tag:"dialog",name:"HTMLDialogElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},props:{show:{value:h0.nyi},showModal:{value:h0.nyi},close:{value:h0.nyi}},attributes:{open:Boolean,returnValue:String}});w({tag:"menuitem",name:"HTMLMenuItemElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},props:{_label:{get:function(){var $=this._getattr("label");if($!==null&&$!=="")return $;return $=this.textContent,$.replace(/[ \t\n\f\r]+/g," ").trim()}},label:{get:function(){var $=this._getattr("label");if($!==null)return $;return this._label},set:function($){this._setattr("label",$)}}},attributes:{type:{type:["command","checkbox","radio"],missing:"command"},icon:B0,disabled:Boolean,checked:Boolean,radiogroup:String,default:Boolean}});w({tag:"source",name:"HTMLSourceElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{srcset:String,sizes:String,media:String,src:B0,type:String,width:String,height:String}});w({tag:"track",name:"HTMLTrackElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{src:B0,srclang:String,label:String,default:Boolean,kind:{type:["subtitles","captions","descriptions","chapters","metadata"],missing:"subtitles",invalid:"metadata"}},props:{NONE:{get:function(){return 0}},LOADING:{get:function(){return 1}},LOADED:{get:function(){return 2}},ERROR:{get:function(){return 3}},readyState:{get:h0.nyi},track:{get:h0.nyi}}});w({tag:"font",name:"HTMLFontElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{color:{type:String,treatNullAsEmptyString:!0},face:{type:String},size:{type:String}}});w({tag:"dir",name:"HTMLDirectoryElement",ctor:function $(Z,Y,G){b.call(this,Z,Y,G)},attributes:{compact:Boolean}});w({tags:["abbr","address","article","aside","b","bdi","bdo","cite","content","code","dd","dfn","dt","em","figcaption","figure","footer","header","hgroup","i","kbd","main","mark","nav","noscript","rb","rp","rt","rtc","ruby","s","samp","section","small","strong","sub","summary","sup","u","var","wbr","acronym","basefont","big","center","nobr","noembed","noframes","plaintext","strike","tt"]})});var R$=C((XW)=>{var l2=$6(),YW=L$(),GW=V0(),QW=E8(),zW=XW.elements={},s2=Object.create(null);XW.createElement=function($,Z,Y){var G=s2[Z]||w$;return new G($,Z,Y)};function P$($){return YW($,w$,zW,s2)}var w$=P$({superclass:l2,name:"SVGElement",ctor:function $(Z,Y,G){l2.call(this,Z,Y,GW.NAMESPACE.SVG,G)},props:{style:{get:function(){if(!this._style)this._style=new QW(this);return this._style}}}});P$({name:"SVGSVGElement",ctor:function $(Z,Y,G){w$.call(this,Z,Y,G)},tag:"svg",props:{createSVGRect:{value:function(){return XW.createElement(this.ownerDocument,"rect",null)}}}});P$({tags:["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"]})});var n2=C((JB,r2)=>{r2.exports={VALUE:1,ATTR:2,REMOVE_ATTR:3,REMOVE:4,MOVE:5,INSERT:6}});var k8=C((VB,XY)=>{XY.exports=h6;var L0=D0(),WW=v1(),YY=S8(),T1=$6(),JW=X$(),VW=J$(),f6=s1(),BW=B$(),HW=_$(),_W=g6(),jW=S2(),qW=P2(),a2=y6(),t2=b8(),e2=M8(),KW=O$(),x8=D8(),T$=y8(),UW=R$(),l=V0(),G6=n2(),z6=l.NAMESPACE,C$=U8().isApiWritable;function h6($,Z){YY.call(this),this.nodeType=L0.DOCUMENT_NODE,this.isHTML=$,this._address=Z||"about:blank",this.readyState="loading",this.implementation=new _W(this),this.ownerDocument=null,this._contentType=$?"text/html":"application/xml",this.doctype=null,this.documentElement=null,this._templateDocCache=null,this._nodeIterators=null,this._nid=1,this._nextnid=2,this._nodes=[null,this],this.byId=Object.create(null),this.modclock=0}var IW={event:"Event",customevent:"CustomEvent",uievent:"UIEvent",mouseevent:"MouseEvent"},FW={events:"event",htmlevents:"event",mouseevents:"mouseevent",mutationevents:"mutationevent",uievents:"uievent"},Q6=function($,Z,Y){return{get:function(){var G=$.call(this);if(G)return G[Z];return Y},set:function(G){var Q=$.call(this);if(Q)Q[Z]=G}}};function $Y($,Z){var Y,G,Q;if($==="")$=null;if(!x8.isValidQName(Z))l.InvalidCharacterError();if(Y=null,G=Z,Q=Z.indexOf(":"),Q>=0)Y=Z.substring(0,Q),G=Z.substring(Q+1);if(Y!==null&&$===null)l.NamespaceError();if(Y==="xml"&&$!==z6.XML)l.NamespaceError();if((Y==="xmlns"||Z==="xmlns")&&$!==z6.XMLNS)l.NamespaceError();if($===z6.XMLNS&&!(Y==="xmlns"||Z==="xmlns"))l.NamespaceError();return{namespace:$,prefix:Y,localName:G}}h6.prototype=Object.create(YY.prototype,{_setMutationHandler:{value:function($){this.mutationHandler=$}},_dispatchRendererEvent:{value:function($,Z,Y){var G=this._nodes[$];if(!G)return;G._dispatchEvent(new f6(Z,Y),!0)}},nodeName:{value:"#document"},nodeValue:{get:function(){return null},set:function(){}},documentURI:{get:function(){return this._address},set:l.nyi},compatMode:{get:function(){return this._quirks?"BackCompat":"CSS1Compat"}},createTextNode:{value:function($){return new JW(this,String($))}},createComment:{value:function($){return new VW(this,$)}},createDocumentFragment:{value:function(){return new BW(this)}},createProcessingInstruction:{value:function($,Z){if(!x8.isValidName($)||Z.indexOf("?>")!==-1)l.InvalidCharacterError();return new HW(this,$,Z)}},createAttribute:{value:function($){if($=String($),!x8.isValidName($))l.InvalidCharacterError();if(this.isHTML)$=l.toASCIILowerCase($);return new T1._Attr(null,$,null,null,"")}},createAttributeNS:{value:function($,Z){$=$===null||$===void 0||$===""?null:String($),Z=String(Z);var Y=$Y($,Z);return new T1._Attr(null,Y.localName,Y.prefix,Y.namespace,"")}},createElement:{value:function($){if($=String($),!x8.isValidName($))l.InvalidCharacterError();if(this.isHTML){if(/[A-Z]/.test($))$=l.toASCIILowerCase($);return T$.createElement(this,$,null)}else if(this.contentType==="application/xhtml+xml")return T$.createElement(this,$,null);else return new T1(this,$,null,null)},writable:C$},createElementNS:{value:function($,Z){$=$===null||$===void 0||$===""?null:String($),Z=String(Z);var Y=$Y($,Z);return this._createElementNS(Y.localName,Y.namespace,Y.prefix)},writable:C$},_createElementNS:{value:function($,Z,Y){if(Z===z6.HTML)return T$.createElement(this,$,Y);else if(Z===z6.SVG)return UW.createElement(this,$,Y);return new T1(this,$,Z,Y)}},createEvent:{value:function $(Z){Z=Z.toLowerCase();var Y=FW[Z]||Z,G=KW[IW[Y]];if(G){var Q=new G;return Q._initialized=!1,Q}else l.NotSupportedError()}},createTreeWalker:{value:function($,Z,Y){if(!$)throw new TypeError("root argument is required");if(!($ instanceof L0))throw new TypeError("root not a node");return Z=Z===void 0?a2.SHOW_ALL:+Z,Y=Y===void 0?null:Y,new jW($,Z,Y)}},createNodeIterator:{value:function($,Z,Y){if(!$)throw new TypeError("root argument is required");if(!($ instanceof L0))throw new TypeError("root not a node");return Z=Z===void 0?a2.SHOW_ALL:+Z,Y=Y===void 0?null:Y,new qW($,Z,Y)}},_attachNodeIterator:{value:function($){if(!this._nodeIterators)this._nodeIterators=[];this._nodeIterators.push($)}},_detachNodeIterator:{value:function($){var Z=this._nodeIterators.indexOf($);this._nodeIterators.splice(Z,1)}},_preremoveNodeIterators:{value:function($){if(this._nodeIterators)this._nodeIterators.forEach(function(Z){Z._preremove($)})}},_updateDocTypeElement:{value:function $(){this.doctype=this.documentElement=null;for(var Z=this.firstChild;Z!==null;Z=Z.nextSibling)if(Z.nodeType===L0.DOCUMENT_TYPE_NODE)this.doctype=Z;else if(Z.nodeType===L0.ELEMENT_NODE)this.documentElement=Z}},insertBefore:{value:function $(Z,Y){return L0.prototype.insertBefore.call(this,Z,Y),this._updateDocTypeElement(),Z}},replaceChild:{value:function $(Z,Y){return L0.prototype.replaceChild.call(this,Z,Y),this._updateDocTypeElement(),Y}},removeChild:{value:function $(Z){return L0.prototype.removeChild.call(this,Z),this._updateDocTypeElement(),Z}},getElementById:{value:function($){var Z=this.byId[$];if(!Z)return null;if(Z instanceof _1)return Z.getFirst();return Z}},_hasMultipleElementsWithId:{value:function($){return this.byId[$]instanceof _1}},getElementsByName:{value:T1.prototype.getElementsByName},getElementsByTagName:{value:T1.prototype.getElementsByTagName},getElementsByTagNameNS:{value:T1.prototype.getElementsByTagNameNS},getElementsByClassName:{value:T1.prototype.getElementsByClassName},adoptNode:{value:function $(Z){if(Z.nodeType===L0.DOCUMENT_NODE)l.NotSupportedError();if(Z.nodeType===L0.ATTRIBUTE_NODE)return Z;if(Z.parentNode)Z.parentNode.removeChild(Z);if(Z.ownerDocument!==this)zY(Z,this);return Z}},importNode:{value:function $(Z,Y){return this.adoptNode(Z.cloneNode(Y))},writable:C$},origin:{get:function $(){return null}},characterSet:{get:function $(){return"UTF-8"}},contentType:{get:function $(){return this._contentType}},URL:{get:function $(){return this._address}},domain:{get:l.nyi,set:l.nyi},referrer:{get:l.nyi},cookie:{get:l.nyi,set:l.nyi},lastModified:{get:l.nyi},location:{get:function(){return this.defaultView?this.defaultView.location:null},set:l.nyi},_titleElement:{get:function(){return this.getElementsByTagName("title").item(0)||null}},title:{get:function(){var $=this._titleElement,Z=$?$.textContent:"";return Z.replace(/[ \t\n\r\f]+/g," ").replace(/(^ )|( $)/g,"")},set:function($){var Z=this._titleElement,Y=this.head;if(!Z&&!Y)return;if(!Z)Z=this.createElement("title"),Y.appendChild(Z);Z.textContent=$}},dir:Q6(function(){var $=this.documentElement;if($&&$.tagName==="HTML")return $},"dir",""),fgColor:Q6(function(){return this.body},"text",""),linkColor:Q6(function(){return this.body},"link",""),vlinkColor:Q6(function(){return this.body},"vLink",""),alinkColor:Q6(function(){return this.body},"aLink",""),bgColor:Q6(function(){return this.body},"bgColor",""),charset:{get:function(){return this.characterSet}},inputEncoding:{get:function(){return this.characterSet}},scrollingElement:{get:function(){return this._quirks?this.body:this.documentElement}},body:{get:function(){return ZY(this.documentElement,"body")},set:l.nyi},head:{get:function(){return ZY(this.documentElement,"head")}},images:{get:l.nyi},embeds:{get:l.nyi},plugins:{get:l.nyi},links:{get:l.nyi},forms:{get:l.nyi},scripts:{get:l.nyi},applets:{get:function(){return[]}},activeElement:{get:function(){return null}},innerHTML:{get:function(){return this.serialize()},set:l.nyi},outerHTML:{get:function(){return this.serialize()},set:l.nyi},write:{value:function($){if(!this.isHTML)l.InvalidStateError();if(!this._parser)return;if(!this._parser);var Z=arguments.join("");this._parser.parse(Z)}},writeln:{value:function $(Z){this.write(Array.prototype.join.call(arguments,"")+`
28
+ `)}},open:{value:function(){this.documentElement=null}},close:{value:function(){if(this.readyState="interactive",this._dispatchEvent(new f6("readystatechange"),!0),this._dispatchEvent(new f6("DOMContentLoaded"),!0),this.readyState="complete",this._dispatchEvent(new f6("readystatechange"),!0),this.defaultView)this.defaultView._dispatchEvent(new f6("load"),!0)}},clone:{value:function $(){var Z=new h6(this.isHTML,this._address);return Z._quirks=this._quirks,Z._contentType=this._contentType,Z}},cloneNode:{value:function $(Z){var Y=L0.prototype.cloneNode.call(this,!1);if(Z)for(var G=this.firstChild;G!==null;G=G.nextSibling)Y._appendChild(Y.importNode(G,!0));return Y._updateDocTypeElement(),Y}},isEqual:{value:function $(Z){return!0}},mutateValue:{value:function($){if(this.mutationHandler)this.mutationHandler({type:G6.VALUE,target:$,data:$.data})}},mutateAttr:{value:function($,Z){if(this.mutationHandler)this.mutationHandler({type:G6.ATTR,target:$.ownerElement,attr:$})}},mutateRemoveAttr:{value:function($){if(this.mutationHandler)this.mutationHandler({type:G6.REMOVE_ATTR,target:$.ownerElement,attr:$})}},mutateRemove:{value:function($){if(this.mutationHandler)this.mutationHandler({type:G6.REMOVE,target:$.parentNode,node:$});QY($)}},mutateInsert:{value:function($){if(GY($),this.mutationHandler)this.mutationHandler({type:G6.INSERT,target:$.parentNode,node:$})}},mutateMove:{value:function($){if(this.mutationHandler)this.mutationHandler({type:G6.MOVE,target:$})}},addId:{value:function $(Z,Y){var G=this.byId[Z];if(!G)this.byId[Z]=Y;else{if(!(G instanceof _1))G=new _1(G),this.byId[Z]=G;G.add(Y)}}},delId:{value:function $(Z,Y){var G=this.byId[Z];if(l.assert(G),G instanceof _1){if(G.del(Y),G.length===1)this.byId[Z]=G.downgrade()}else this.byId[Z]=void 0}},_resolve:{value:function($){return new t2(this._documentBaseURL).resolve($)}},_documentBaseURL:{get:function(){var $=this._address;if($==="about:blank")$="/";var Z=this.querySelector("base[href]");if(Z)return new t2($).resolve(Z.getAttribute("href"));return $}},_templateDoc:{get:function(){if(!this._templateDocCache){var $=new h6(this.isHTML,this._address);this._templateDocCache=$._templateDocCache=$}return this._templateDocCache}},querySelector:{value:function($){return e2($,this)[0]}},querySelectorAll:{value:function($){var Z=e2($,this);return Z.item?Z:new WW(Z)}}});var SW=["abort","canplay","canplaythrough","change","click","contextmenu","cuechange","dblclick","drag","dragend","dragenter","dragleave","dragover","dragstart","drop","durationchange","emptied","ended","input","invalid","keydown","keypress","keyup","loadeddata","loadedmetadata","loadstart","mousedown","mousemove","mouseout","mouseover","mouseup","mousewheel","pause","play","playing","progress","ratechange","readystatechange","reset","seeked","seeking","select","show","stalled","submit","suspend","timeupdate","volumechange","waiting","blur","error","focus","load","scroll"];SW.forEach(function($){Object.defineProperty(h6.prototype,"on"+$,{get:function(){return this._getEventHandler($)},set:function(Z){this._setEventHandler($,Z)}})});function ZY($,Z){if($&&$.isHTML){for(var Y=$.firstChild;Y!==null;Y=Y.nextSibling)if(Y.nodeType===L0.ELEMENT_NODE&&Y.localName===Z&&Y.namespaceURI===z6.HTML)return Y}return null}function DW($){if($._nid=$.ownerDocument._nextnid++,$.ownerDocument._nodes[$._nid]=$,$.nodeType===L0.ELEMENT_NODE){var Z=$.getAttribute("id");if(Z)$.ownerDocument.addId(Z,$);if($._roothook)$._roothook()}}function OW($){if($.nodeType===L0.ELEMENT_NODE){var Z=$.getAttribute("id");if(Z)$.ownerDocument.delId(Z,$)}$.ownerDocument._nodes[$._nid]=void 0,$._nid=void 0}function GY($){if(DW($),$.nodeType===L0.ELEMENT_NODE)for(var Z=$.firstChild;Z!==null;Z=Z.nextSibling)GY(Z)}function QY($){OW($);for(var Z=$.firstChild;Z!==null;Z=Z.nextSibling)QY(Z)}function zY($,Z){if($.ownerDocument=Z,$._lastModTime=void 0,Object.prototype.hasOwnProperty.call($,"_tagName"))$._tagName=void 0;for(var Y=$.firstChild;Y!==null;Y=Y.nextSibling)zY(Y,Z)}function _1($){this.nodes=Object.create(null),this.nodes[$._nid]=$,this.length=1,this.firstNode=void 0}_1.prototype.add=function($){if(!this.nodes[$._nid])this.nodes[$._nid]=$,this.length++,this.firstNode=void 0};_1.prototype.del=function($){if(this.nodes[$._nid])delete this.nodes[$._nid],this.length--,this.firstNode=void 0};_1.prototype.getFirst=function(){if(!this.firstNode){var $;for($ in this.nodes)if(this.firstNode===void 0||this.firstNode.compareDocumentPosition(this.nodes[$])&L0.DOCUMENT_POSITION_PRECEDING)this.firstNode=this.nodes[$]}return this.firstNode};_1.prototype.downgrade=function(){if(this.length===1){var $;for($ in this.nodes)return this.nodes[$]}return this}});var h8=C((BB,JY)=>{JY.exports=f8;var AW=D0(),WY=Q$(),LW=P8();function f8($,Z,Y,G){WY.call(this),this.nodeType=AW.DOCUMENT_TYPE_NODE,this.ownerDocument=$||null,this.name=Z,this.publicId=Y||"",this.systemId=G||""}f8.prototype=Object.create(WY.prototype,{nodeName:{get:function(){return this.name}},nodeValue:{get:function(){return null},set:function(){}},clone:{value:function $(){return new f8(this.ownerDocument,this.name,this.publicId,this.systemId)}},isEqual:{value:function $(Z){return this.name===Z.name&&this.publicId===Z.publicId&&this.systemId===Z.systemId}}});Object.defineProperties(f8.prototype,LW)});var d8=C((HB,EY)=>{EY.exports=c;var MW=k8(),PW=h8(),b$=D0(),N=V0().NAMESPACE,LY=y8(),a=LY.elements,p1=Function.prototype.apply.bind(Array.prototype.push),g8=-1,X6=1,M0=2,u=3,Y1=4,wW=5,RW=[],TW=/^HTML$|^-\/\/W3O\/\/DTD W3 HTML Strict 3\.0\/\/EN\/\/$|^-\/W3C\/DTD HTML 4\.0 Transitional\/EN$|^\+\/\/Silmaril\/\/dtd html Pro v0r11 19970101\/\/|^-\/\/AdvaSoft Ltd\/\/DTD HTML 3\.0 asWedit \+ extensions\/\/|^-\/\/AS\/\/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\/\/|^-\/\/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\/\/|^-\/\/SQ\/\/DTD HTML 2\.0 HoTMetaL \+ extensions\/\/|^-\/\/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\/\//i,CW="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",VY=/^-\/\/W3C\/\/DTD HTML 4\.01 Frameset\/\/|^-\/\/W3C\/\/DTD HTML 4\.01 Transitional\/\//i,bW=/^-\/\/W3C\/\/DTD XHTML 1\.0 Frameset\/\/|^-\/\/W3C\/\/DTD XHTML 1\.0 Transitional\/\//i,c1=Object.create(null);c1[N.HTML]={__proto__:null,address:!0,applet:!0,area:!0,article:!0,aside:!0,base:!0,basefont:!0,bgsound:!0,blockquote:!0,body:!0,br:!0,button:!0,caption:!0,center:!0,col:!0,colgroup:!0,dd:!0,details:!0,dir:!0,div:!0,dl:!0,dt:!0,embed:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,frame:!0,frameset:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,head:!0,header:!0,hgroup:!0,hr:!0,html:!0,iframe:!0,img:!0,input:!0,li:!0,link:!0,listing:!0,main:!0,marquee:!0,menu:!0,meta:!0,nav:!0,noembed:!0,noframes:!0,noscript:!0,object:!0,ol:!0,p:!0,param:!0,plaintext:!0,pre:!0,script:!0,section:!0,select:!0,source:!0,style:!0,summary:!0,table:!0,tbody:!0,td:!0,template:!0,textarea:!0,tfoot:!0,th:!0,thead:!0,title:!0,tr:!0,track:!0,ul:!0,wbr:!0,xmp:!0};c1[N.SVG]={__proto__:null,foreignObject:!0,desc:!0,title:!0};c1[N.MATHML]={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0};var y$=Object.create(null);y$[N.HTML]={__proto__:null,address:!0,div:!0,p:!0};var MY=Object.create(null);MY[N.HTML]={__proto__:null,dd:!0,dt:!0};var W6=Object.create(null);W6[N.HTML]={__proto__:null,table:!0,thead:!0,tbody:!0,tfoot:!0,tr:!0};var PY=Object.create(null);PY[N.HTML]={__proto__:null,dd:!0,dt:!0,li:!0,menuitem:!0,optgroup:!0,option:!0,p:!0,rb:!0,rp:!0,rt:!0,rtc:!0};var wY=Object.create(null);wY[N.HTML]={__proto__:null,caption:!0,colgroup:!0,dd:!0,dt:!0,li:!0,optgroup:!0,option:!0,p:!0,rb:!0,rp:!0,rt:!0,rtc:!0,tbody:!0,td:!0,tfoot:!0,th:!0,thead:!0,tr:!0};var p8=Object.create(null);p8[N.HTML]={__proto__:null,table:!0,template:!0,html:!0};var u8=Object.create(null);u8[N.HTML]={__proto__:null,tbody:!0,tfoot:!0,thead:!0,template:!0,html:!0};var x$=Object.create(null);x$[N.HTML]={__proto__:null,tr:!0,template:!0,html:!0};var RY=Object.create(null);RY[N.HTML]={__proto__:null,button:!0,fieldset:!0,input:!0,keygen:!0,object:!0,output:!0,select:!0,textarea:!0,img:!0};var G1=Object.create(null);G1[N.HTML]={__proto__:null,applet:!0,caption:!0,html:!0,table:!0,td:!0,th:!0,marquee:!0,object:!0,template:!0};G1[N.MATHML]={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0};G1[N.SVG]={__proto__:null,foreignObject:!0,desc:!0,title:!0};var c8=Object.create(G1);c8[N.HTML]=Object.create(G1[N.HTML]);c8[N.HTML].ol=!0;c8[N.HTML].ul=!0;var k$=Object.create(G1);k$[N.HTML]=Object.create(G1[N.HTML]);k$[N.HTML].button=!0;var TY=Object.create(null);TY[N.HTML]={__proto__:null,html:!0,table:!0,template:!0};var EW=Object.create(null);EW[N.HTML]={__proto__:null,optgroup:!0,option:!0};var CY=Object.create(null);CY[N.MATHML]={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0};var bY=Object.create(null);bY[N.SVG]={__proto__:null,foreignObject:!0,desc:!0,title:!0};var BY={__proto__:null,"xlink:actuate":N.XLINK,"xlink:arcrole":N.XLINK,"xlink:href":N.XLINK,"xlink:role":N.XLINK,"xlink:show":N.XLINK,"xlink:title":N.XLINK,"xlink:type":N.XLINK,"xml:base":N.XML,"xml:lang":N.XML,"xml:space":N.XML,xmlns:N.XMLNS,"xmlns:xlink":N.XMLNS},HY={__proto__:null,attributename:"attributeName",attributetype:"attributeType",basefrequency:"baseFrequency",baseprofile:"baseProfile",calcmode:"calcMode",clippathunits:"clipPathUnits",diffuseconstant:"diffuseConstant",edgemode:"edgeMode",filterunits:"filterUnits",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",limitingconeangle:"limitingConeAngle",markerheight:"markerHeight",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textlength:"textLength",viewbox:"viewBox",viewtarget:"viewTarget",xchannelselector:"xChannelSelector",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan"},_Y={__proto__:null,altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient",textpath:"textPath"},jY={__proto__:null,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},NW={__proto__:null,AElig:198,"AElig;":198,AMP:38,"AMP;":38,Aacute:193,"Aacute;":193,"Abreve;":258,Acirc:194,"Acirc;":194,"Acy;":1040,"Afr;":[55349,56580],Agrave:192,"Agrave;":192,"Alpha;":913,"Amacr;":256,"And;":10835,"Aogon;":260,"Aopf;":[55349,56632],"ApplyFunction;":8289,Aring:197,"Aring;":197,"Ascr;":[55349,56476],"Assign;":8788,Atilde:195,"Atilde;":195,Auml:196,"Auml;":196,"Backslash;":8726,"Barv;":10983,"Barwed;":8966,"Bcy;":1041,"Because;":8757,"Bernoullis;":8492,"Beta;":914,"Bfr;":[55349,56581],"Bopf;":[55349,56633],"Breve;":728,"Bscr;":8492,"Bumpeq;":8782,"CHcy;":1063,COPY:169,"COPY;":169,"Cacute;":262,"Cap;":8914,"CapitalDifferentialD;":8517,"Cayleys;":8493,"Ccaron;":268,Ccedil:199,"Ccedil;":199,"Ccirc;":264,"Cconint;":8752,"Cdot;":266,"Cedilla;":184,"CenterDot;":183,"Cfr;":8493,"Chi;":935,"CircleDot;":8857,"CircleMinus;":8854,"CirclePlus;":8853,"CircleTimes;":8855,"ClockwiseContourIntegral;":8754,"CloseCurlyDoubleQuote;":8221,"CloseCurlyQuote;":8217,"Colon;":8759,"Colone;":10868,"Congruent;":8801,"Conint;":8751,"ContourIntegral;":8750,"Copf;":8450,"Coproduct;":8720,"CounterClockwiseContourIntegral;":8755,"Cross;":10799,"Cscr;":[55349,56478],"Cup;":8915,"CupCap;":8781,"DD;":8517,"DDotrahd;":10513,"DJcy;":1026,"DScy;":1029,"DZcy;":1039,"Dagger;":8225,"Darr;":8609,"Dashv;":10980,"Dcaron;":270,"Dcy;":1044,"Del;":8711,"Delta;":916,"Dfr;":[55349,56583],"DiacriticalAcute;":180,"DiacriticalDot;":729,"DiacriticalDoubleAcute;":733,"DiacriticalGrave;":96,"DiacriticalTilde;":732,"Diamond;":8900,"DifferentialD;":8518,"Dopf;":[55349,56635],"Dot;":168,"DotDot;":8412,"DotEqual;":8784,"DoubleContourIntegral;":8751,"DoubleDot;":168,"DoubleDownArrow;":8659,"DoubleLeftArrow;":8656,"DoubleLeftRightArrow;":8660,"DoubleLeftTee;":10980,"DoubleLongLeftArrow;":10232,"DoubleLongLeftRightArrow;":10234,"DoubleLongRightArrow;":10233,"DoubleRightArrow;":8658,"DoubleRightTee;":8872,"DoubleUpArrow;":8657,"DoubleUpDownArrow;":8661,"DoubleVerticalBar;":8741,"DownArrow;":8595,"DownArrowBar;":10515,"DownArrowUpArrow;":8693,"DownBreve;":785,"DownLeftRightVector;":10576,"DownLeftTeeVector;":10590,"DownLeftVector;":8637,"DownLeftVectorBar;":10582,"DownRightTeeVector;":10591,"DownRightVector;":8641,"DownRightVectorBar;":10583,"DownTee;":8868,"DownTeeArrow;":8615,"Downarrow;":8659,"Dscr;":[55349,56479],"Dstrok;":272,"ENG;":330,ETH:208,"ETH;":208,Eacute:201,"Eacute;":201,"Ecaron;":282,Ecirc:202,"Ecirc;":202,"Ecy;":1069,"Edot;":278,"Efr;":[55349,56584],Egrave:200,"Egrave;":200,"Element;":8712,"Emacr;":274,"EmptySmallSquare;":9723,"EmptyVerySmallSquare;":9643,"Eogon;":280,"Eopf;":[55349,56636],"Epsilon;":917,"Equal;":10869,"EqualTilde;":8770,"Equilibrium;":8652,"Escr;":8496,"Esim;":10867,"Eta;":919,Euml:203,"Euml;":203,"Exists;":8707,"ExponentialE;":8519,"Fcy;":1060,"Ffr;":[55349,56585],"FilledSmallSquare;":9724,"FilledVerySmallSquare;":9642,"Fopf;":[55349,56637],"ForAll;":8704,"Fouriertrf;":8497,"Fscr;":8497,"GJcy;":1027,GT:62,"GT;":62,"Gamma;":915,"Gammad;":988,"Gbreve;":286,"Gcedil;":290,"Gcirc;":284,"Gcy;":1043,"Gdot;":288,"Gfr;":[55349,56586],"Gg;":8921,"Gopf;":[55349,56638],"GreaterEqual;":8805,"GreaterEqualLess;":8923,"GreaterFullEqual;":8807,"GreaterGreater;":10914,"GreaterLess;":8823,"GreaterSlantEqual;":10878,"GreaterTilde;":8819,"Gscr;":[55349,56482],"Gt;":8811,"HARDcy;":1066,"Hacek;":711,"Hat;":94,"Hcirc;":292,"Hfr;":8460,"HilbertSpace;":8459,"Hopf;":8461,"HorizontalLine;":9472,"Hscr;":8459,"Hstrok;":294,"HumpDownHump;":8782,"HumpEqual;":8783,"IEcy;":1045,"IJlig;":306,"IOcy;":1025,Iacute:205,"Iacute;":205,Icirc:206,"Icirc;":206,"Icy;":1048,"Idot;":304,"Ifr;":8465,Igrave:204,"Igrave;":204,"Im;":8465,"Imacr;":298,"ImaginaryI;":8520,"Implies;":8658,"Int;":8748,"Integral;":8747,"Intersection;":8898,"InvisibleComma;":8291,"InvisibleTimes;":8290,"Iogon;":302,"Iopf;":[55349,56640],"Iota;":921,"Iscr;":8464,"Itilde;":296,"Iukcy;":1030,Iuml:207,"Iuml;":207,"Jcirc;":308,"Jcy;":1049,"Jfr;":[55349,56589],"Jopf;":[55349,56641],"Jscr;":[55349,56485],"Jsercy;":1032,"Jukcy;":1028,"KHcy;":1061,"KJcy;":1036,"Kappa;":922,"Kcedil;":310,"Kcy;":1050,"Kfr;":[55349,56590],"Kopf;":[55349,56642],"Kscr;":[55349,56486],"LJcy;":1033,LT:60,"LT;":60,"Lacute;":313,"Lambda;":923,"Lang;":10218,"Laplacetrf;":8466,"Larr;":8606,"Lcaron;":317,"Lcedil;":315,"Lcy;":1051,"LeftAngleBracket;":10216,"LeftArrow;":8592,"LeftArrowBar;":8676,"LeftArrowRightArrow;":8646,"LeftCeiling;":8968,"LeftDoubleBracket;":10214,"LeftDownTeeVector;":10593,"LeftDownVector;":8643,"LeftDownVectorBar;":10585,"LeftFloor;":8970,"LeftRightArrow;":8596,"LeftRightVector;":10574,"LeftTee;":8867,"LeftTeeArrow;":8612,"LeftTeeVector;":10586,"LeftTriangle;":8882,"LeftTriangleBar;":10703,"LeftTriangleEqual;":8884,"LeftUpDownVector;":10577,"LeftUpTeeVector;":10592,"LeftUpVector;":8639,"LeftUpVectorBar;":10584,"LeftVector;":8636,"LeftVectorBar;":10578,"Leftarrow;":8656,"Leftrightarrow;":8660,"LessEqualGreater;":8922,"LessFullEqual;":8806,"LessGreater;":8822,"LessLess;":10913,"LessSlantEqual;":10877,"LessTilde;":8818,"Lfr;":[55349,56591],"Ll;":8920,"Lleftarrow;":8666,"Lmidot;":319,"LongLeftArrow;":10229,"LongLeftRightArrow;":10231,"LongRightArrow;":10230,"Longleftarrow;":10232,"Longleftrightarrow;":10234,"Longrightarrow;":10233,"Lopf;":[55349,56643],"LowerLeftArrow;":8601,"LowerRightArrow;":8600,"Lscr;":8466,"Lsh;":8624,"Lstrok;":321,"Lt;":8810,"Map;":10501,"Mcy;":1052,"MediumSpace;":8287,"Mellintrf;":8499,"Mfr;":[55349,56592],"MinusPlus;":8723,"Mopf;":[55349,56644],"Mscr;":8499,"Mu;":924,"NJcy;":1034,"Nacute;":323,"Ncaron;":327,"Ncedil;":325,"Ncy;":1053,"NegativeMediumSpace;":8203,"NegativeThickSpace;":8203,"NegativeThinSpace;":8203,"NegativeVeryThinSpace;":8203,"NestedGreaterGreater;":8811,"NestedLessLess;":8810,"NewLine;":10,"Nfr;":[55349,56593],"NoBreak;":8288,"NonBreakingSpace;":160,"Nopf;":8469,"Not;":10988,"NotCongruent;":8802,"NotCupCap;":8813,"NotDoubleVerticalBar;":8742,"NotElement;":8713,"NotEqual;":8800,"NotEqualTilde;":[8770,824],"NotExists;":8708,"NotGreater;":8815,"NotGreaterEqual;":8817,"NotGreaterFullEqual;":[8807,824],"NotGreaterGreater;":[8811,824],"NotGreaterLess;":8825,"NotGreaterSlantEqual;":[10878,824],"NotGreaterTilde;":8821,"NotHumpDownHump;":[8782,824],"NotHumpEqual;":[8783,824],"NotLeftTriangle;":8938,"NotLeftTriangleBar;":[10703,824],"NotLeftTriangleEqual;":8940,"NotLess;":8814,"NotLessEqual;":8816,"NotLessGreater;":8824,"NotLessLess;":[8810,824],"NotLessSlantEqual;":[10877,824],"NotLessTilde;":8820,"NotNestedGreaterGreater;":[10914,824],"NotNestedLessLess;":[10913,824],"NotPrecedes;":8832,"NotPrecedesEqual;":[10927,824],"NotPrecedesSlantEqual;":8928,"NotReverseElement;":8716,"NotRightTriangle;":8939,"NotRightTriangleBar;":[10704,824],"NotRightTriangleEqual;":8941,"NotSquareSubset;":[8847,824],"NotSquareSubsetEqual;":8930,"NotSquareSuperset;":[8848,824],"NotSquareSupersetEqual;":8931,"NotSubset;":[8834,8402],"NotSubsetEqual;":8840,"NotSucceeds;":8833,"NotSucceedsEqual;":[10928,824],"NotSucceedsSlantEqual;":8929,"NotSucceedsTilde;":[8831,824],"NotSuperset;":[8835,8402],"NotSupersetEqual;":8841,"NotTilde;":8769,"NotTildeEqual;":8772,"NotTildeFullEqual;":8775,"NotTildeTilde;":8777,"NotVerticalBar;":8740,"Nscr;":[55349,56489],Ntilde:209,"Ntilde;":209,"Nu;":925,"OElig;":338,Oacute:211,"Oacute;":211,Ocirc:212,"Ocirc;":212,"Ocy;":1054,"Odblac;":336,"Ofr;":[55349,56594],Ograve:210,"Ograve;":210,"Omacr;":332,"Omega;":937,"Omicron;":927,"Oopf;":[55349,56646],"OpenCurlyDoubleQuote;":8220,"OpenCurlyQuote;":8216,"Or;":10836,"Oscr;":[55349,56490],Oslash:216,"Oslash;":216,Otilde:213,"Otilde;":213,"Otimes;":10807,Ouml:214,"Ouml;":214,"OverBar;":8254,"OverBrace;":9182,"OverBracket;":9140,"OverParenthesis;":9180,"PartialD;":8706,"Pcy;":1055,"Pfr;":[55349,56595],"Phi;":934,"Pi;":928,"PlusMinus;":177,"Poincareplane;":8460,"Popf;":8473,"Pr;":10939,"Precedes;":8826,"PrecedesEqual;":10927,"PrecedesSlantEqual;":8828,"PrecedesTilde;":8830,"Prime;":8243,"Product;":8719,"Proportion;":8759,"Proportional;":8733,"Pscr;":[55349,56491],"Psi;":936,QUOT:34,"QUOT;":34,"Qfr;":[55349,56596],"Qopf;":8474,"Qscr;":[55349,56492],"RBarr;":10512,REG:174,"REG;":174,"Racute;":340,"Rang;":10219,"Rarr;":8608,"Rarrtl;":10518,"Rcaron;":344,"Rcedil;":342,"Rcy;":1056,"Re;":8476,"ReverseElement;":8715,"ReverseEquilibrium;":8651,"ReverseUpEquilibrium;":10607,"Rfr;":8476,"Rho;":929,"RightAngleBracket;":10217,"RightArrow;":8594,"RightArrowBar;":8677,"RightArrowLeftArrow;":8644,"RightCeiling;":8969,"RightDoubleBracket;":10215,"RightDownTeeVector;":10589,"RightDownVector;":8642,"RightDownVectorBar;":10581,"RightFloor;":8971,"RightTee;":8866,"RightTeeArrow;":8614,"RightTeeVector;":10587,"RightTriangle;":8883,"RightTriangleBar;":10704,"RightTriangleEqual;":8885,"RightUpDownVector;":10575,"RightUpTeeVector;":10588,"RightUpVector;":8638,"RightUpVectorBar;":10580,"RightVector;":8640,"RightVectorBar;":10579,"Rightarrow;":8658,"Ropf;":8477,"RoundImplies;":10608,"Rrightarrow;":8667,"Rscr;":8475,"Rsh;":8625,"RuleDelayed;":10740,"SHCHcy;":1065,"SHcy;":1064,"SOFTcy;":1068,"Sacute;":346,"Sc;":10940,"Scaron;":352,"Scedil;":350,"Scirc;":348,"Scy;":1057,"Sfr;":[55349,56598],"ShortDownArrow;":8595,"ShortLeftArrow;":8592,"ShortRightArrow;":8594,"ShortUpArrow;":8593,"Sigma;":931,"SmallCircle;":8728,"Sopf;":[55349,56650],"Sqrt;":8730,"Square;":9633,"SquareIntersection;":8851,"SquareSubset;":8847,"SquareSubsetEqual;":8849,"SquareSuperset;":8848,"SquareSupersetEqual;":8850,"SquareUnion;":8852,"Sscr;":[55349,56494],"Star;":8902,"Sub;":8912,"Subset;":8912,"SubsetEqual;":8838,"Succeeds;":8827,"SucceedsEqual;":10928,"SucceedsSlantEqual;":8829,"SucceedsTilde;":8831,"SuchThat;":8715,"Sum;":8721,"Sup;":8913,"Superset;":8835,"SupersetEqual;":8839,"Supset;":8913,THORN:222,"THORN;":222,"TRADE;":8482,"TSHcy;":1035,"TScy;":1062,"Tab;":9,"Tau;":932,"Tcaron;":356,"Tcedil;":354,"Tcy;":1058,"Tfr;":[55349,56599],"Therefore;":8756,"Theta;":920,"ThickSpace;":[8287,8202],"ThinSpace;":8201,"Tilde;":8764,"TildeEqual;":8771,"TildeFullEqual;":8773,"TildeTilde;":8776,"Topf;":[55349,56651],"TripleDot;":8411,"Tscr;":[55349,56495],"Tstrok;":358,Uacute:218,"Uacute;":218,"Uarr;":8607,"Uarrocir;":10569,"Ubrcy;":1038,"Ubreve;":364,Ucirc:219,"Ucirc;":219,"Ucy;":1059,"Udblac;":368,"Ufr;":[55349,56600],Ugrave:217,"Ugrave;":217,"Umacr;":362,"UnderBar;":95,"UnderBrace;":9183,"UnderBracket;":9141,"UnderParenthesis;":9181,"Union;":8899,"UnionPlus;":8846,"Uogon;":370,"Uopf;":[55349,56652],"UpArrow;":8593,"UpArrowBar;":10514,"UpArrowDownArrow;":8645,"UpDownArrow;":8597,"UpEquilibrium;":10606,"UpTee;":8869,"UpTeeArrow;":8613,"Uparrow;":8657,"Updownarrow;":8661,"UpperLeftArrow;":8598,"UpperRightArrow;":8599,"Upsi;":978,"Upsilon;":933,"Uring;":366,"Uscr;":[55349,56496],"Utilde;":360,Uuml:220,"Uuml;":220,"VDash;":8875,"Vbar;":10987,"Vcy;":1042,"Vdash;":8873,"Vdashl;":10982,"Vee;":8897,"Verbar;":8214,"Vert;":8214,"VerticalBar;":8739,"VerticalLine;":124,"VerticalSeparator;":10072,"VerticalTilde;":8768,"VeryThinSpace;":8202,"Vfr;":[55349,56601],"Vopf;":[55349,56653],"Vscr;":[55349,56497],"Vvdash;":8874,"Wcirc;":372,"Wedge;":8896,"Wfr;":[55349,56602],"Wopf;":[55349,56654],"Wscr;":[55349,56498],"Xfr;":[55349,56603],"Xi;":926,"Xopf;":[55349,56655],"Xscr;":[55349,56499],"YAcy;":1071,"YIcy;":1031,"YUcy;":1070,Yacute:221,"Yacute;":221,"Ycirc;":374,"Ycy;":1067,"Yfr;":[55349,56604],"Yopf;":[55349,56656],"Yscr;":[55349,56500],"Yuml;":376,"ZHcy;":1046,"Zacute;":377,"Zcaron;":381,"Zcy;":1047,"Zdot;":379,"ZeroWidthSpace;":8203,"Zeta;":918,"Zfr;":8488,"Zopf;":8484,"Zscr;":[55349,56501],aacute:225,"aacute;":225,"abreve;":259,"ac;":8766,"acE;":[8766,819],"acd;":8767,acirc:226,"acirc;":226,acute:180,"acute;":180,"acy;":1072,aelig:230,"aelig;":230,"af;":8289,"afr;":[55349,56606],agrave:224,"agrave;":224,"alefsym;":8501,"aleph;":8501,"alpha;":945,"amacr;":257,"amalg;":10815,amp:38,"amp;":38,"and;":8743,"andand;":10837,"andd;":10844,"andslope;":10840,"andv;":10842,"ang;":8736,"ange;":10660,"angle;":8736,"angmsd;":8737,"angmsdaa;":10664,"angmsdab;":10665,"angmsdac;":10666,"angmsdad;":10667,"angmsdae;":10668,"angmsdaf;":10669,"angmsdag;":10670,"angmsdah;":10671,"angrt;":8735,"angrtvb;":8894,"angrtvbd;":10653,"angsph;":8738,"angst;":197,"angzarr;":9084,"aogon;":261,"aopf;":[55349,56658],"ap;":8776,"apE;":10864,"apacir;":10863,"ape;":8778,"apid;":8779,"apos;":39,"approx;":8776,"approxeq;":8778,aring:229,"aring;":229,"ascr;":[55349,56502],"ast;":42,"asymp;":8776,"asympeq;":8781,atilde:227,"atilde;":227,auml:228,"auml;":228,"awconint;":8755,"awint;":10769,"bNot;":10989,"backcong;":8780,"backepsilon;":1014,"backprime;":8245,"backsim;":8765,"backsimeq;":8909,"barvee;":8893,"barwed;":8965,"barwedge;":8965,"bbrk;":9141,"bbrktbrk;":9142,"bcong;":8780,"bcy;":1073,"bdquo;":8222,"becaus;":8757,"because;":8757,"bemptyv;":10672,"bepsi;":1014,"bernou;":8492,"beta;":946,"beth;":8502,"between;":8812,"bfr;":[55349,56607],"bigcap;":8898,"bigcirc;":9711,"bigcup;":8899,"bigodot;":10752,"bigoplus;":10753,"bigotimes;":10754,"bigsqcup;":10758,"bigstar;":9733,"bigtriangledown;":9661,"bigtriangleup;":9651,"biguplus;":10756,"bigvee;":8897,"bigwedge;":8896,"bkarow;":10509,"blacklozenge;":10731,"blacksquare;":9642,"blacktriangle;":9652,"blacktriangledown;":9662,"blacktriangleleft;":9666,"blacktriangleright;":9656,"blank;":9251,"blk12;":9618,"blk14;":9617,"blk34;":9619,"block;":9608,"bne;":[61,8421],"bnequiv;":[8801,8421],"bnot;":8976,"bopf;":[55349,56659],"bot;":8869,"bottom;":8869,"bowtie;":8904,"boxDL;":9559,"boxDR;":9556,"boxDl;":9558,"boxDr;":9555,"boxH;":9552,"boxHD;":9574,"boxHU;":9577,"boxHd;":9572,"boxHu;":9575,"boxUL;":9565,"boxUR;":9562,"boxUl;":9564,"boxUr;":9561,"boxV;":9553,"boxVH;":9580,"boxVL;":9571,"boxVR;":9568,"boxVh;":9579,"boxVl;":9570,"boxVr;":9567,"boxbox;":10697,"boxdL;":9557,"boxdR;":9554,"boxdl;":9488,"boxdr;":9484,"boxh;":9472,"boxhD;":9573,"boxhU;":9576,"boxhd;":9516,"boxhu;":9524,"boxminus;":8863,"boxplus;":8862,"boxtimes;":8864,"boxuL;":9563,"boxuR;":9560,"boxul;":9496,"boxur;":9492,"boxv;":9474,"boxvH;":9578,"boxvL;":9569,"boxvR;":9566,"boxvh;":9532,"boxvl;":9508,"boxvr;":9500,"bprime;":8245,"breve;":728,brvbar:166,"brvbar;":166,"bscr;":[55349,56503],"bsemi;":8271,"bsim;":8765,"bsime;":8909,"bsol;":92,"bsolb;":10693,"bsolhsub;":10184,"bull;":8226,"bullet;":8226,"bump;":8782,"bumpE;":10926,"bumpe;":8783,"bumpeq;":8783,"cacute;":263,"cap;":8745,"capand;":10820,"capbrcup;":10825,"capcap;":10827,"capcup;":10823,"capdot;":10816,"caps;":[8745,65024],"caret;":8257,"caron;":711,"ccaps;":10829,"ccaron;":269,ccedil:231,"ccedil;":231,"ccirc;":265,"ccups;":10828,"ccupssm;":10832,"cdot;":267,cedil:184,"cedil;":184,"cemptyv;":10674,cent:162,"cent;":162,"centerdot;":183,"cfr;":[55349,56608],"chcy;":1095,"check;":10003,"checkmark;":10003,"chi;":967,"cir;":9675,"cirE;":10691,"circ;":710,"circeq;":8791,"circlearrowleft;":8634,"circlearrowright;":8635,"circledR;":174,"circledS;":9416,"circledast;":8859,"circledcirc;":8858,"circleddash;":8861,"cire;":8791,"cirfnint;":10768,"cirmid;":10991,"cirscir;":10690,"clubs;":9827,"clubsuit;":9827,"colon;":58,"colone;":8788,"coloneq;":8788,"comma;":44,"commat;":64,"comp;":8705,"compfn;":8728,"complement;":8705,"complexes;":8450,"cong;":8773,"congdot;":10861,"conint;":8750,"copf;":[55349,56660],"coprod;":8720,copy:169,"copy;":169,"copysr;":8471,"crarr;":8629,"cross;":10007,"cscr;":[55349,56504],"csub;":10959,"csube;":10961,"csup;":10960,"csupe;":10962,"ctdot;":8943,"cudarrl;":10552,"cudarrr;":10549,"cuepr;":8926,"cuesc;":8927,"cularr;":8630,"cularrp;":10557,"cup;":8746,"cupbrcap;":10824,"cupcap;":10822,"cupcup;":10826,"cupdot;":8845,"cupor;":10821,"cups;":[8746,65024],"curarr;":8631,"curarrm;":10556,"curlyeqprec;":8926,"curlyeqsucc;":8927,"curlyvee;":8910,"curlywedge;":8911,curren:164,"curren;":164,"curvearrowleft;":8630,"curvearrowright;":8631,"cuvee;":8910,"cuwed;":8911,"cwconint;":8754,"cwint;":8753,"cylcty;":9005,"dArr;":8659,"dHar;":10597,"dagger;":8224,"daleth;":8504,"darr;":8595,"dash;":8208,"dashv;":8867,"dbkarow;":10511,"dblac;":733,"dcaron;":271,"dcy;":1076,"dd;":8518,"ddagger;":8225,"ddarr;":8650,"ddotseq;":10871,deg:176,"deg;":176,"delta;":948,"demptyv;":10673,"dfisht;":10623,"dfr;":[55349,56609],"dharl;":8643,"dharr;":8642,"diam;":8900,"diamond;":8900,"diamondsuit;":9830,"diams;":9830,"die;":168,"digamma;":989,"disin;":8946,"div;":247,divide:247,"divide;":247,"divideontimes;":8903,"divonx;":8903,"djcy;":1106,"dlcorn;":8990,"dlcrop;":8973,"dollar;":36,"dopf;":[55349,56661],"dot;":729,"doteq;":8784,"doteqdot;":8785,"dotminus;":8760,"dotplus;":8724,"dotsquare;":8865,"doublebarwedge;":8966,"downarrow;":8595,"downdownarrows;":8650,"downharpoonleft;":8643,"downharpoonright;":8642,"drbkarow;":10512,"drcorn;":8991,"drcrop;":8972,"dscr;":[55349,56505],"dscy;":1109,"dsol;":10742,"dstrok;":273,"dtdot;":8945,"dtri;":9663,"dtrif;":9662,"duarr;":8693,"duhar;":10607,"dwangle;":10662,"dzcy;":1119,"dzigrarr;":10239,"eDDot;":10871,"eDot;":8785,eacute:233,"eacute;":233,"easter;":10862,"ecaron;":283,"ecir;":8790,ecirc:234,"ecirc;":234,"ecolon;":8789,"ecy;":1101,"edot;":279,"ee;":8519,"efDot;":8786,"efr;":[55349,56610],"eg;":10906,egrave:232,"egrave;":232,"egs;":10902,"egsdot;":10904,"el;":10905,"elinters;":9191,"ell;":8467,"els;":10901,"elsdot;":10903,"emacr;":275,"empty;":8709,"emptyset;":8709,"emptyv;":8709,"emsp13;":8196,"emsp14;":8197,"emsp;":8195,"eng;":331,"ensp;":8194,"eogon;":281,"eopf;":[55349,56662],"epar;":8917,"eparsl;":10723,"eplus;":10865,"epsi;":949,"epsilon;":949,"epsiv;":1013,"eqcirc;":8790,"eqcolon;":8789,"eqsim;":8770,"eqslantgtr;":10902,"eqslantless;":10901,"equals;":61,"equest;":8799,"equiv;":8801,"equivDD;":10872,"eqvparsl;":10725,"erDot;":8787,"erarr;":10609,"escr;":8495,"esdot;":8784,"esim;":8770,"eta;":951,eth:240,"eth;":240,euml:235,"euml;":235,"euro;":8364,"excl;":33,"exist;":8707,"expectation;":8496,"exponentiale;":8519,"fallingdotseq;":8786,"fcy;":1092,"female;":9792,"ffilig;":64259,"fflig;":64256,"ffllig;":64260,"ffr;":[55349,56611],"filig;":64257,"fjlig;":[102,106],"flat;":9837,"fllig;":64258,"fltns;":9649,"fnof;":402,"fopf;":[55349,56663],"forall;":8704,"fork;":8916,"forkv;":10969,"fpartint;":10765,frac12:189,"frac12;":189,"frac13;":8531,frac14:188,"frac14;":188,"frac15;":8533,"frac16;":8537,"frac18;":8539,"frac23;":8532,"frac25;":8534,frac34:190,"frac34;":190,"frac35;":8535,"frac38;":8540,"frac45;":8536,"frac56;":8538,"frac58;":8541,"frac78;":8542,"frasl;":8260,"frown;":8994,"fscr;":[55349,56507],"gE;":8807,"gEl;":10892,"gacute;":501,"gamma;":947,"gammad;":989,"gap;":10886,"gbreve;":287,"gcirc;":285,"gcy;":1075,"gdot;":289,"ge;":8805,"gel;":8923,"geq;":8805,"geqq;":8807,"geqslant;":10878,"ges;":10878,"gescc;":10921,"gesdot;":10880,"gesdoto;":10882,"gesdotol;":10884,"gesl;":[8923,65024],"gesles;":10900,"gfr;":[55349,56612],"gg;":8811,"ggg;":8921,"gimel;":8503,"gjcy;":1107,"gl;":8823,"glE;":10898,"gla;":10917,"glj;":10916,"gnE;":8809,"gnap;":10890,"gnapprox;":10890,"gne;":10888,"gneq;":10888,"gneqq;":8809,"gnsim;":8935,"gopf;":[55349,56664],"grave;":96,"gscr;":8458,"gsim;":8819,"gsime;":10894,"gsiml;":10896,gt:62,"gt;":62,"gtcc;":10919,"gtcir;":10874,"gtdot;":8919,"gtlPar;":10645,"gtquest;":10876,"gtrapprox;":10886,"gtrarr;":10616,"gtrdot;":8919,"gtreqless;":8923,"gtreqqless;":10892,"gtrless;":8823,"gtrsim;":8819,"gvertneqq;":[8809,65024],"gvnE;":[8809,65024],"hArr;":8660,"hairsp;":8202,"half;":189,"hamilt;":8459,"hardcy;":1098,"harr;":8596,"harrcir;":10568,"harrw;":8621,"hbar;":8463,"hcirc;":293,"hearts;":9829,"heartsuit;":9829,"hellip;":8230,"hercon;":8889,"hfr;":[55349,56613],"hksearow;":10533,"hkswarow;":10534,"hoarr;":8703,"homtht;":8763,"hookleftarrow;":8617,"hookrightarrow;":8618,"hopf;":[55349,56665],"horbar;":8213,"hscr;":[55349,56509],"hslash;":8463,"hstrok;":295,"hybull;":8259,"hyphen;":8208,iacute:237,"iacute;":237,"ic;":8291,icirc:238,"icirc;":238,"icy;":1080,"iecy;":1077,iexcl:161,"iexcl;":161,"iff;":8660,"ifr;":[55349,56614],igrave:236,"igrave;":236,"ii;":8520,"iiiint;":10764,"iiint;":8749,"iinfin;":10716,"iiota;":8489,"ijlig;":307,"imacr;":299,"image;":8465,"imagline;":8464,"imagpart;":8465,"imath;":305,"imof;":8887,"imped;":437,"in;":8712,"incare;":8453,"infin;":8734,"infintie;":10717,"inodot;":305,"int;":8747,"intcal;":8890,"integers;":8484,"intercal;":8890,"intlarhk;":10775,"intprod;":10812,"iocy;":1105,"iogon;":303,"iopf;":[55349,56666],"iota;":953,"iprod;":10812,iquest:191,"iquest;":191,"iscr;":[55349,56510],"isin;":8712,"isinE;":8953,"isindot;":8949,"isins;":8948,"isinsv;":8947,"isinv;":8712,"it;":8290,"itilde;":297,"iukcy;":1110,iuml:239,"iuml;":239,"jcirc;":309,"jcy;":1081,"jfr;":[55349,56615],"jmath;":567,"jopf;":[55349,56667],"jscr;":[55349,56511],"jsercy;":1112,"jukcy;":1108,"kappa;":954,"kappav;":1008,"kcedil;":311,"kcy;":1082,"kfr;":[55349,56616],"kgreen;":312,"khcy;":1093,"kjcy;":1116,"kopf;":[55349,56668],"kscr;":[55349,56512],"lAarr;":8666,"lArr;":8656,"lAtail;":10523,"lBarr;":10510,"lE;":8806,"lEg;":10891,"lHar;":10594,"lacute;":314,"laemptyv;":10676,"lagran;":8466,"lambda;":955,"lang;":10216,"langd;":10641,"langle;":10216,"lap;":10885,laquo:171,"laquo;":171,"larr;":8592,"larrb;":8676,"larrbfs;":10527,"larrfs;":10525,"larrhk;":8617,"larrlp;":8619,"larrpl;":10553,"larrsim;":10611,"larrtl;":8610,"lat;":10923,"latail;":10521,"late;":10925,"lates;":[10925,65024],"lbarr;":10508,"lbbrk;":10098,"lbrace;":123,"lbrack;":91,"lbrke;":10635,"lbrksld;":10639,"lbrkslu;":10637,"lcaron;":318,"lcedil;":316,"lceil;":8968,"lcub;":123,"lcy;":1083,"ldca;":10550,"ldquo;":8220,"ldquor;":8222,"ldrdhar;":10599,"ldrushar;":10571,"ldsh;":8626,"le;":8804,"leftarrow;":8592,"leftarrowtail;":8610,"leftharpoondown;":8637,"leftharpoonup;":8636,"leftleftarrows;":8647,"leftrightarrow;":8596,"leftrightarrows;":8646,"leftrightharpoons;":8651,"leftrightsquigarrow;":8621,"leftthreetimes;":8907,"leg;":8922,"leq;":8804,"leqq;":8806,"leqslant;":10877,"les;":10877,"lescc;":10920,"lesdot;":10879,"lesdoto;":10881,"lesdotor;":10883,"lesg;":[8922,65024],"lesges;":10899,"lessapprox;":10885,"lessdot;":8918,"lesseqgtr;":8922,"lesseqqgtr;":10891,"lessgtr;":8822,"lesssim;":8818,"lfisht;":10620,"lfloor;":8970,"lfr;":[55349,56617],"lg;":8822,"lgE;":10897,"lhard;":8637,"lharu;":8636,"lharul;":10602,"lhblk;":9604,"ljcy;":1113,"ll;":8810,"llarr;":8647,"llcorner;":8990,"llhard;":10603,"lltri;":9722,"lmidot;":320,"lmoust;":9136,"lmoustache;":9136,"lnE;":8808,"lnap;":10889,"lnapprox;":10889,"lne;":10887,"lneq;":10887,"lneqq;":8808,"lnsim;":8934,"loang;":10220,"loarr;":8701,"lobrk;":10214,"longleftarrow;":10229,"longleftrightarrow;":10231,"longmapsto;":10236,"longrightarrow;":10230,"looparrowleft;":8619,"looparrowright;":8620,"lopar;":10629,"lopf;":[55349,56669],"loplus;":10797,"lotimes;":10804,"lowast;":8727,"lowbar;":95,"loz;":9674,"lozenge;":9674,"lozf;":10731,"lpar;":40,"lparlt;":10643,"lrarr;":8646,"lrcorner;":8991,"lrhar;":8651,"lrhard;":10605,"lrm;":8206,"lrtri;":8895,"lsaquo;":8249,"lscr;":[55349,56513],"lsh;":8624,"lsim;":8818,"lsime;":10893,"lsimg;":10895,"lsqb;":91,"lsquo;":8216,"lsquor;":8218,"lstrok;":322,lt:60,"lt;":60,"ltcc;":10918,"ltcir;":10873,"ltdot;":8918,"lthree;":8907,"ltimes;":8905,"ltlarr;":10614,"ltquest;":10875,"ltrPar;":10646,"ltri;":9667,"ltrie;":8884,"ltrif;":9666,"lurdshar;":10570,"luruhar;":10598,"lvertneqq;":[8808,65024],"lvnE;":[8808,65024],"mDDot;":8762,macr:175,"macr;":175,"male;":9794,"malt;":10016,"maltese;":10016,"map;":8614,"mapsto;":8614,"mapstodown;":8615,"mapstoleft;":8612,"mapstoup;":8613,"marker;":9646,"mcomma;":10793,"mcy;":1084,"mdash;":8212,"measuredangle;":8737,"mfr;":[55349,56618],"mho;":8487,micro:181,"micro;":181,"mid;":8739,"midast;":42,"midcir;":10992,middot:183,"middot;":183,"minus;":8722,"minusb;":8863,"minusd;":8760,"minusdu;":10794,"mlcp;":10971,"mldr;":8230,"mnplus;":8723,"models;":8871,"mopf;":[55349,56670],"mp;":8723,"mscr;":[55349,56514],"mstpos;":8766,"mu;":956,"multimap;":8888,"mumap;":8888,"nGg;":[8921,824],"nGt;":[8811,8402],"nGtv;":[8811,824],"nLeftarrow;":8653,"nLeftrightarrow;":8654,"nLl;":[8920,824],"nLt;":[8810,8402],"nLtv;":[8810,824],"nRightarrow;":8655,"nVDash;":8879,"nVdash;":8878,"nabla;":8711,"nacute;":324,"nang;":[8736,8402],"nap;":8777,"napE;":[10864,824],"napid;":[8779,824],"napos;":329,"napprox;":8777,"natur;":9838,"natural;":9838,"naturals;":8469,nbsp:160,"nbsp;":160,"nbump;":[8782,824],"nbumpe;":[8783,824],"ncap;":10819,"ncaron;":328,"ncedil;":326,"ncong;":8775,"ncongdot;":[10861,824],"ncup;":10818,"ncy;":1085,"ndash;":8211,"ne;":8800,"neArr;":8663,"nearhk;":10532,"nearr;":8599,"nearrow;":8599,"nedot;":[8784,824],"nequiv;":8802,"nesear;":10536,"nesim;":[8770,824],"nexist;":8708,"nexists;":8708,"nfr;":[55349,56619],"ngE;":[8807,824],"nge;":8817,"ngeq;":8817,"ngeqq;":[8807,824],"ngeqslant;":[10878,824],"nges;":[10878,824],"ngsim;":8821,"ngt;":8815,"ngtr;":8815,"nhArr;":8654,"nharr;":8622,"nhpar;":10994,"ni;":8715,"nis;":8956,"nisd;":8954,"niv;":8715,"njcy;":1114,"nlArr;":8653,"nlE;":[8806,824],"nlarr;":8602,"nldr;":8229,"nle;":8816,"nleftarrow;":8602,"nleftrightarrow;":8622,"nleq;":8816,"nleqq;":[8806,824],"nleqslant;":[10877,824],"nles;":[10877,824],"nless;":8814,"nlsim;":8820,"nlt;":8814,"nltri;":8938,"nltrie;":8940,"nmid;":8740,"nopf;":[55349,56671],not:172,"not;":172,"notin;":8713,"notinE;":[8953,824],"notindot;":[8949,824],"notinva;":8713,"notinvb;":8951,"notinvc;":8950,"notni;":8716,"notniva;":8716,"notnivb;":8958,"notnivc;":8957,"npar;":8742,"nparallel;":8742,"nparsl;":[11005,8421],"npart;":[8706,824],"npolint;":10772,"npr;":8832,"nprcue;":8928,"npre;":[10927,824],"nprec;":8832,"npreceq;":[10927,824],"nrArr;":8655,"nrarr;":8603,"nrarrc;":[10547,824],"nrarrw;":[8605,824],"nrightarrow;":8603,"nrtri;":8939,"nrtrie;":8941,"nsc;":8833,"nsccue;":8929,"nsce;":[10928,824],"nscr;":[55349,56515],"nshortmid;":8740,"nshortparallel;":8742,"nsim;":8769,"nsime;":8772,"nsimeq;":8772,"nsmid;":8740,"nspar;":8742,"nsqsube;":8930,"nsqsupe;":8931,"nsub;":8836,"nsubE;":[10949,824],"nsube;":8840,"nsubset;":[8834,8402],"nsubseteq;":8840,"nsubseteqq;":[10949,824],"nsucc;":8833,"nsucceq;":[10928,824],"nsup;":8837,"nsupE;":[10950,824],"nsupe;":8841,"nsupset;":[8835,8402],"nsupseteq;":8841,"nsupseteqq;":[10950,824],"ntgl;":8825,ntilde:241,"ntilde;":241,"ntlg;":8824,"ntriangleleft;":8938,"ntrianglelefteq;":8940,"ntriangleright;":8939,"ntrianglerighteq;":8941,"nu;":957,"num;":35,"numero;":8470,"numsp;":8199,"nvDash;":8877,"nvHarr;":10500,"nvap;":[8781,8402],"nvdash;":8876,"nvge;":[8805,8402],"nvgt;":[62,8402],"nvinfin;":10718,"nvlArr;":10498,"nvle;":[8804,8402],"nvlt;":[60,8402],"nvltrie;":[8884,8402],"nvrArr;":10499,"nvrtrie;":[8885,8402],"nvsim;":[8764,8402],"nwArr;":8662,"nwarhk;":10531,"nwarr;":8598,"nwarrow;":8598,"nwnear;":10535,"oS;":9416,oacute:243,"oacute;":243,"oast;":8859,"ocir;":8858,ocirc:244,"ocirc;":244,"ocy;":1086,"odash;":8861,"odblac;":337,"odiv;":10808,"odot;":8857,"odsold;":10684,"oelig;":339,"ofcir;":10687,"ofr;":[55349,56620],"ogon;":731,ograve:242,"ograve;":242,"ogt;":10689,"ohbar;":10677,"ohm;":937,"oint;":8750,"olarr;":8634,"olcir;":10686,"olcross;":10683,"oline;":8254,"olt;":10688,"omacr;":333,"omega;":969,"omicron;":959,"omid;":10678,"ominus;":8854,"oopf;":[55349,56672],"opar;":10679,"operp;":10681,"oplus;":8853,"or;":8744,"orarr;":8635,"ord;":10845,"order;":8500,"orderof;":8500,ordf:170,"ordf;":170,ordm:186,"ordm;":186,"origof;":8886,"oror;":10838,"orslope;":10839,"orv;":10843,"oscr;":8500,oslash:248,"oslash;":248,"osol;":8856,otilde:245,"otilde;":245,"otimes;":8855,"otimesas;":10806,ouml:246,"ouml;":246,"ovbar;":9021,"par;":8741,para:182,"para;":182,"parallel;":8741,"parsim;":10995,"parsl;":11005,"part;":8706,"pcy;":1087,"percnt;":37,"period;":46,"permil;":8240,"perp;":8869,"pertenk;":8241,"pfr;":[55349,56621],"phi;":966,"phiv;":981,"phmmat;":8499,"phone;":9742,"pi;":960,"pitchfork;":8916,"piv;":982,"planck;":8463,"planckh;":8462,"plankv;":8463,"plus;":43,"plusacir;":10787,"plusb;":8862,"pluscir;":10786,"plusdo;":8724,"plusdu;":10789,"pluse;":10866,plusmn:177,"plusmn;":177,"plussim;":10790,"plustwo;":10791,"pm;":177,"pointint;":10773,"popf;":[55349,56673],pound:163,"pound;":163,"pr;":8826,"prE;":10931,"prap;":10935,"prcue;":8828,"pre;":10927,"prec;":8826,"precapprox;":10935,"preccurlyeq;":8828,"preceq;":10927,"precnapprox;":10937,"precneqq;":10933,"precnsim;":8936,"precsim;":8830,"prime;":8242,"primes;":8473,"prnE;":10933,"prnap;":10937,"prnsim;":8936,"prod;":8719,"profalar;":9006,"profline;":8978,"profsurf;":8979,"prop;":8733,"propto;":8733,"prsim;":8830,"prurel;":8880,"pscr;":[55349,56517],"psi;":968,"puncsp;":8200,"qfr;":[55349,56622],"qint;":10764,"qopf;":[55349,56674],"qprime;":8279,"qscr;":[55349,56518],"quaternions;":8461,"quatint;":10774,"quest;":63,"questeq;":8799,quot:34,"quot;":34,"rAarr;":8667,"rArr;":8658,"rAtail;":10524,"rBarr;":10511,"rHar;":10596,"race;":[8765,817],"racute;":341,"radic;":8730,"raemptyv;":10675,"rang;":10217,"rangd;":10642,"range;":10661,"rangle;":10217,raquo:187,"raquo;":187,"rarr;":8594,"rarrap;":10613,"rarrb;":8677,"rarrbfs;":10528,"rarrc;":10547,"rarrfs;":10526,"rarrhk;":8618,"rarrlp;":8620,"rarrpl;":10565,"rarrsim;":10612,"rarrtl;":8611,"rarrw;":8605,"ratail;":10522,"ratio;":8758,"rationals;":8474,"rbarr;":10509,"rbbrk;":10099,"rbrace;":125,"rbrack;":93,"rbrke;":10636,"rbrksld;":10638,"rbrkslu;":10640,"rcaron;":345,"rcedil;":343,"rceil;":8969,"rcub;":125,"rcy;":1088,"rdca;":10551,"rdldhar;":10601,"rdquo;":8221,"rdquor;":8221,"rdsh;":8627,"real;":8476,"realine;":8475,"realpart;":8476,"reals;":8477,"rect;":9645,reg:174,"reg;":174,"rfisht;":10621,"rfloor;":8971,"rfr;":[55349,56623],"rhard;":8641,"rharu;":8640,"rharul;":10604,"rho;":961,"rhov;":1009,"rightarrow;":8594,"rightarrowtail;":8611,"rightharpoondown;":8641,"rightharpoonup;":8640,"rightleftarrows;":8644,"rightleftharpoons;":8652,"rightrightarrows;":8649,"rightsquigarrow;":8605,"rightthreetimes;":8908,"ring;":730,"risingdotseq;":8787,"rlarr;":8644,"rlhar;":8652,"rlm;":8207,"rmoust;":9137,"rmoustache;":9137,"rnmid;":10990,"roang;":10221,"roarr;":8702,"robrk;":10215,"ropar;":10630,"ropf;":[55349,56675],"roplus;":10798,"rotimes;":10805,"rpar;":41,"rpargt;":10644,"rppolint;":10770,"rrarr;":8649,"rsaquo;":8250,"rscr;":[55349,56519],"rsh;":8625,"rsqb;":93,"rsquo;":8217,"rsquor;":8217,"rthree;":8908,"rtimes;":8906,"rtri;":9657,"rtrie;":8885,"rtrif;":9656,"rtriltri;":10702,"ruluhar;":10600,"rx;":8478,"sacute;":347,"sbquo;":8218,"sc;":8827,"scE;":10932,"scap;":10936,"scaron;":353,"sccue;":8829,"sce;":10928,"scedil;":351,"scirc;":349,"scnE;":10934,"scnap;":10938,"scnsim;":8937,"scpolint;":10771,"scsim;":8831,"scy;":1089,"sdot;":8901,"sdotb;":8865,"sdote;":10854,"seArr;":8664,"searhk;":10533,"searr;":8600,"searrow;":8600,sect:167,"sect;":167,"semi;":59,"seswar;":10537,"setminus;":8726,"setmn;":8726,"sext;":10038,"sfr;":[55349,56624],"sfrown;":8994,"sharp;":9839,"shchcy;":1097,"shcy;":1096,"shortmid;":8739,"shortparallel;":8741,shy:173,"shy;":173,"sigma;":963,"sigmaf;":962,"sigmav;":962,"sim;":8764,"simdot;":10858,"sime;":8771,"simeq;":8771,"simg;":10910,"simgE;":10912,"siml;":10909,"simlE;":10911,"simne;":8774,"simplus;":10788,"simrarr;":10610,"slarr;":8592,"smallsetminus;":8726,"smashp;":10803,"smeparsl;":10724,"smid;":8739,"smile;":8995,"smt;":10922,"smte;":10924,"smtes;":[10924,65024],"softcy;":1100,"sol;":47,"solb;":10692,"solbar;":9023,"sopf;":[55349,56676],"spades;":9824,"spadesuit;":9824,"spar;":8741,"sqcap;":8851,"sqcaps;":[8851,65024],"sqcup;":8852,"sqcups;":[8852,65024],"sqsub;":8847,"sqsube;":8849,"sqsubset;":8847,"sqsubseteq;":8849,"sqsup;":8848,"sqsupe;":8850,"sqsupset;":8848,"sqsupseteq;":8850,"squ;":9633,"square;":9633,"squarf;":9642,"squf;":9642,"srarr;":8594,"sscr;":[55349,56520],"ssetmn;":8726,"ssmile;":8995,"sstarf;":8902,"star;":9734,"starf;":9733,"straightepsilon;":1013,"straightphi;":981,"strns;":175,"sub;":8834,"subE;":10949,"subdot;":10941,"sube;":8838,"subedot;":10947,"submult;":10945,"subnE;":10955,"subne;":8842,"subplus;":10943,"subrarr;":10617,"subset;":8834,"subseteq;":8838,"subseteqq;":10949,"subsetneq;":8842,"subsetneqq;":10955,"subsim;":10951,"subsub;":10965,"subsup;":10963,"succ;":8827,"succapprox;":10936,"succcurlyeq;":8829,"succeq;":10928,"succnapprox;":10938,"succneqq;":10934,"succnsim;":8937,"succsim;":8831,"sum;":8721,"sung;":9834,sup1:185,"sup1;":185,sup2:178,"sup2;":178,sup3:179,"sup3;":179,"sup;":8835,"supE;":10950,"supdot;":10942,"supdsub;":10968,"supe;":8839,"supedot;":10948,"suphsol;":10185,"suphsub;":10967,"suplarr;":10619,"supmult;":10946,"supnE;":10956,"supne;":8843,"supplus;":10944,"supset;":8835,"supseteq;":8839,"supseteqq;":10950,"supsetneq;":8843,"supsetneqq;":10956,"supsim;":10952,"supsub;":10964,"supsup;":10966,"swArr;":8665,"swarhk;":10534,"swarr;":8601,"swarrow;":8601,"swnwar;":10538,szlig:223,"szlig;":223,"target;":8982,"tau;":964,"tbrk;":9140,"tcaron;":357,"tcedil;":355,"tcy;":1090,"tdot;":8411,"telrec;":8981,"tfr;":[55349,56625],"there4;":8756,"therefore;":8756,"theta;":952,"thetasym;":977,"thetav;":977,"thickapprox;":8776,"thicksim;":8764,"thinsp;":8201,"thkap;":8776,"thksim;":8764,thorn:254,"thorn;":254,"tilde;":732,times:215,"times;":215,"timesb;":8864,"timesbar;":10801,"timesd;":10800,"tint;":8749,"toea;":10536,"top;":8868,"topbot;":9014,"topcir;":10993,"topf;":[55349,56677],"topfork;":10970,"tosa;":10537,"tprime;":8244,"trade;":8482,"triangle;":9653,"triangledown;":9663,"triangleleft;":9667,"trianglelefteq;":8884,"triangleq;":8796,"triangleright;":9657,"trianglerighteq;":8885,"tridot;":9708,"trie;":8796,"triminus;":10810,"triplus;":10809,"trisb;":10701,"tritime;":10811,"trpezium;":9186,"tscr;":[55349,56521],"tscy;":1094,"tshcy;":1115,"tstrok;":359,"twixt;":8812,"twoheadleftarrow;":8606,"twoheadrightarrow;":8608,"uArr;":8657,"uHar;":10595,uacute:250,"uacute;":250,"uarr;":8593,"ubrcy;":1118,"ubreve;":365,ucirc:251,"ucirc;":251,"ucy;":1091,"udarr;":8645,"udblac;":369,"udhar;":10606,"ufisht;":10622,"ufr;":[55349,56626],ugrave:249,"ugrave;":249,"uharl;":8639,"uharr;":8638,"uhblk;":9600,"ulcorn;":8988,"ulcorner;":8988,"ulcrop;":8975,"ultri;":9720,"umacr;":363,uml:168,"uml;":168,"uogon;":371,"uopf;":[55349,56678],"uparrow;":8593,"updownarrow;":8597,"upharpoonleft;":8639,"upharpoonright;":8638,"uplus;":8846,"upsi;":965,"upsih;":978,"upsilon;":965,"upuparrows;":8648,"urcorn;":8989,"urcorner;":8989,"urcrop;":8974,"uring;":367,"urtri;":9721,"uscr;":[55349,56522],"utdot;":8944,"utilde;":361,"utri;":9653,"utrif;":9652,"uuarr;":8648,uuml:252,"uuml;":252,"uwangle;":10663,"vArr;":8661,"vBar;":10984,"vBarv;":10985,"vDash;":8872,"vangrt;":10652,"varepsilon;":1013,"varkappa;":1008,"varnothing;":8709,"varphi;":981,"varpi;":982,"varpropto;":8733,"varr;":8597,"varrho;":1009,"varsigma;":962,"varsubsetneq;":[8842,65024],"varsubsetneqq;":[10955,65024],"varsupsetneq;":[8843,65024],"varsupsetneqq;":[10956,65024],"vartheta;":977,"vartriangleleft;":8882,"vartriangleright;":8883,"vcy;":1074,"vdash;":8866,"vee;":8744,"veebar;":8891,"veeeq;":8794,"vellip;":8942,"verbar;":124,"vert;":124,"vfr;":[55349,56627],"vltri;":8882,"vnsub;":[8834,8402],"vnsup;":[8835,8402],"vopf;":[55349,56679],"vprop;":8733,"vrtri;":8883,"vscr;":[55349,56523],"vsubnE;":[10955,65024],"vsubne;":[8842,65024],"vsupnE;":[10956,65024],"vsupne;":[8843,65024],"vzigzag;":10650,"wcirc;":373,"wedbar;":10847,"wedge;":8743,"wedgeq;":8793,"weierp;":8472,"wfr;":[55349,56628],"wopf;":[55349,56680],"wp;":8472,"wr;":8768,"wreath;":8768,"wscr;":[55349,56524],"xcap;":8898,"xcirc;":9711,"xcup;":8899,"xdtri;":9661,"xfr;":[55349,56629],"xhArr;":10234,"xharr;":10231,"xi;":958,"xlArr;":10232,"xlarr;":10229,"xmap;":10236,"xnis;":8955,"xodot;":10752,"xopf;":[55349,56681],"xoplus;":10753,"xotime;":10754,"xrArr;":10233,"xrarr;":10230,"xscr;":[55349,56525],"xsqcup;":10758,"xuplus;":10756,"xutri;":9651,"xvee;":8897,"xwedge;":8896,yacute:253,"yacute;":253,"yacy;":1103,"ycirc;":375,"ycy;":1099,yen:165,"yen;":165,"yfr;":[55349,56630],"yicy;":1111,"yopf;":[55349,56682],"yscr;":[55349,56526],"yucy;":1102,yuml:255,"yuml;":255,"zacute;":378,"zcaron;":382,"zcy;":1079,"zdot;":380,"zeetrf;":8488,"zeta;":950,"zfr;":[55349,56631],"zhcy;":1078,"zigrarr;":8669,"zopf;":[55349,56683],"zscr;":[55349,56527],"zwj;":8205,"zwnj;":8204},qY=/(A(?:Elig;?|MP;?|acute;?|breve;|c(?:irc;?|y;)|fr;|grave;?|lpha;|macr;|nd;|o(?:gon;|pf;)|pplyFunction;|ring;?|s(?:cr;|sign;)|tilde;?|uml;?)|B(?:a(?:ckslash;|r(?:v;|wed;))|cy;|e(?:cause;|rnoullis;|ta;)|fr;|opf;|reve;|scr;|umpeq;)|C(?:Hcy;|OPY;?|a(?:cute;|p(?:;|italDifferentialD;)|yleys;)|c(?:aron;|edil;?|irc;|onint;)|dot;|e(?:dilla;|nterDot;)|fr;|hi;|ircle(?:Dot;|Minus;|Plus;|Times;)|lo(?:ckwiseContourIntegral;|seCurly(?:DoubleQuote;|Quote;))|o(?:lon(?:;|e;)|n(?:gruent;|int;|tourIntegral;)|p(?:f;|roduct;)|unterClockwiseContourIntegral;)|ross;|scr;|up(?:;|Cap;))|D(?:D(?:;|otrahd;)|Jcy;|Scy;|Zcy;|a(?:gger;|rr;|shv;)|c(?:aron;|y;)|el(?:;|ta;)|fr;|i(?:a(?:critical(?:Acute;|Do(?:t;|ubleAcute;)|Grave;|Tilde;)|mond;)|fferentialD;)|o(?:pf;|t(?:;|Dot;|Equal;)|uble(?:ContourIntegral;|Do(?:t;|wnArrow;)|L(?:eft(?:Arrow;|RightArrow;|Tee;)|ong(?:Left(?:Arrow;|RightArrow;)|RightArrow;))|Right(?:Arrow;|Tee;)|Up(?:Arrow;|DownArrow;)|VerticalBar;)|wn(?:Arrow(?:;|Bar;|UpArrow;)|Breve;|Left(?:RightVector;|TeeVector;|Vector(?:;|Bar;))|Right(?:TeeVector;|Vector(?:;|Bar;))|Tee(?:;|Arrow;)|arrow;))|s(?:cr;|trok;))|E(?:NG;|TH;?|acute;?|c(?:aron;|irc;?|y;)|dot;|fr;|grave;?|lement;|m(?:acr;|pty(?:SmallSquare;|VerySmallSquare;))|o(?:gon;|pf;)|psilon;|qu(?:al(?:;|Tilde;)|ilibrium;)|s(?:cr;|im;)|ta;|uml;?|x(?:ists;|ponentialE;))|F(?:cy;|fr;|illed(?:SmallSquare;|VerySmallSquare;)|o(?:pf;|rAll;|uriertrf;)|scr;)|G(?:Jcy;|T;?|amma(?:;|d;)|breve;|c(?:edil;|irc;|y;)|dot;|fr;|g;|opf;|reater(?:Equal(?:;|Less;)|FullEqual;|Greater;|Less;|SlantEqual;|Tilde;)|scr;|t;)|H(?:ARDcy;|a(?:cek;|t;)|circ;|fr;|ilbertSpace;|o(?:pf;|rizontalLine;)|s(?:cr;|trok;)|ump(?:DownHump;|Equal;))|I(?:Ecy;|Jlig;|Ocy;|acute;?|c(?:irc;?|y;)|dot;|fr;|grave;?|m(?:;|a(?:cr;|ginaryI;)|plies;)|n(?:t(?:;|e(?:gral;|rsection;))|visible(?:Comma;|Times;))|o(?:gon;|pf;|ta;)|scr;|tilde;|u(?:kcy;|ml;?))|J(?:c(?:irc;|y;)|fr;|opf;|s(?:cr;|ercy;)|ukcy;)|K(?:Hcy;|Jcy;|appa;|c(?:edil;|y;)|fr;|opf;|scr;)|L(?:Jcy;|T;?|a(?:cute;|mbda;|ng;|placetrf;|rr;)|c(?:aron;|edil;|y;)|e(?:ft(?:A(?:ngleBracket;|rrow(?:;|Bar;|RightArrow;))|Ceiling;|Do(?:ubleBracket;|wn(?:TeeVector;|Vector(?:;|Bar;)))|Floor;|Right(?:Arrow;|Vector;)|T(?:ee(?:;|Arrow;|Vector;)|riangle(?:;|Bar;|Equal;))|Up(?:DownVector;|TeeVector;|Vector(?:;|Bar;))|Vector(?:;|Bar;)|arrow;|rightarrow;)|ss(?:EqualGreater;|FullEqual;|Greater;|Less;|SlantEqual;|Tilde;))|fr;|l(?:;|eftarrow;)|midot;|o(?:ng(?:Left(?:Arrow;|RightArrow;)|RightArrow;|left(?:arrow;|rightarrow;)|rightarrow;)|pf;|wer(?:LeftArrow;|RightArrow;))|s(?:cr;|h;|trok;)|t;)|M(?:ap;|cy;|e(?:diumSpace;|llintrf;)|fr;|inusPlus;|opf;|scr;|u;)|N(?:Jcy;|acute;|c(?:aron;|edil;|y;)|e(?:gative(?:MediumSpace;|Thi(?:ckSpace;|nSpace;)|VeryThinSpace;)|sted(?:GreaterGreater;|LessLess;)|wLine;)|fr;|o(?:Break;|nBreakingSpace;|pf;|t(?:;|C(?:ongruent;|upCap;)|DoubleVerticalBar;|E(?:lement;|qual(?:;|Tilde;)|xists;)|Greater(?:;|Equal;|FullEqual;|Greater;|Less;|SlantEqual;|Tilde;)|Hump(?:DownHump;|Equal;)|Le(?:ftTriangle(?:;|Bar;|Equal;)|ss(?:;|Equal;|Greater;|Less;|SlantEqual;|Tilde;))|Nested(?:GreaterGreater;|LessLess;)|Precedes(?:;|Equal;|SlantEqual;)|R(?:everseElement;|ightTriangle(?:;|Bar;|Equal;))|S(?:quareSu(?:bset(?:;|Equal;)|perset(?:;|Equal;))|u(?:bset(?:;|Equal;)|cceeds(?:;|Equal;|SlantEqual;|Tilde;)|perset(?:;|Equal;)))|Tilde(?:;|Equal;|FullEqual;|Tilde;)|VerticalBar;))|scr;|tilde;?|u;)|O(?:Elig;|acute;?|c(?:irc;?|y;)|dblac;|fr;|grave;?|m(?:acr;|ega;|icron;)|opf;|penCurly(?:DoubleQuote;|Quote;)|r;|s(?:cr;|lash;?)|ti(?:lde;?|mes;)|uml;?|ver(?:B(?:ar;|rac(?:e;|ket;))|Parenthesis;))|P(?:artialD;|cy;|fr;|hi;|i;|lusMinus;|o(?:incareplane;|pf;)|r(?:;|ecedes(?:;|Equal;|SlantEqual;|Tilde;)|ime;|o(?:duct;|portion(?:;|al;)))|s(?:cr;|i;))|Q(?:UOT;?|fr;|opf;|scr;)|R(?:Barr;|EG;?|a(?:cute;|ng;|rr(?:;|tl;))|c(?:aron;|edil;|y;)|e(?:;|verse(?:E(?:lement;|quilibrium;)|UpEquilibrium;))|fr;|ho;|ight(?:A(?:ngleBracket;|rrow(?:;|Bar;|LeftArrow;))|Ceiling;|Do(?:ubleBracket;|wn(?:TeeVector;|Vector(?:;|Bar;)))|Floor;|T(?:ee(?:;|Arrow;|Vector;)|riangle(?:;|Bar;|Equal;))|Up(?:DownVector;|TeeVector;|Vector(?:;|Bar;))|Vector(?:;|Bar;)|arrow;)|o(?:pf;|undImplies;)|rightarrow;|s(?:cr;|h;)|uleDelayed;)|S(?:H(?:CHcy;|cy;)|OFTcy;|acute;|c(?:;|aron;|edil;|irc;|y;)|fr;|hort(?:DownArrow;|LeftArrow;|RightArrow;|UpArrow;)|igma;|mallCircle;|opf;|q(?:rt;|uare(?:;|Intersection;|Su(?:bset(?:;|Equal;)|perset(?:;|Equal;))|Union;))|scr;|tar;|u(?:b(?:;|set(?:;|Equal;))|c(?:ceeds(?:;|Equal;|SlantEqual;|Tilde;)|hThat;)|m;|p(?:;|erset(?:;|Equal;)|set;)))|T(?:HORN;?|RADE;|S(?:Hcy;|cy;)|a(?:b;|u;)|c(?:aron;|edil;|y;)|fr;|h(?:e(?:refore;|ta;)|i(?:ckSpace;|nSpace;))|ilde(?:;|Equal;|FullEqual;|Tilde;)|opf;|ripleDot;|s(?:cr;|trok;))|U(?:a(?:cute;?|rr(?:;|ocir;))|br(?:cy;|eve;)|c(?:irc;?|y;)|dblac;|fr;|grave;?|macr;|n(?:der(?:B(?:ar;|rac(?:e;|ket;))|Parenthesis;)|ion(?:;|Plus;))|o(?:gon;|pf;)|p(?:Arrow(?:;|Bar;|DownArrow;)|DownArrow;|Equilibrium;|Tee(?:;|Arrow;)|arrow;|downarrow;|per(?:LeftArrow;|RightArrow;)|si(?:;|lon;))|ring;|scr;|tilde;|uml;?)|V(?:Dash;|bar;|cy;|dash(?:;|l;)|e(?:e;|r(?:bar;|t(?:;|ical(?:Bar;|Line;|Separator;|Tilde;))|yThinSpace;))|fr;|opf;|scr;|vdash;)|W(?:circ;|edge;|fr;|opf;|scr;)|X(?:fr;|i;|opf;|scr;)|Y(?:Acy;|Icy;|Ucy;|acute;?|c(?:irc;|y;)|fr;|opf;|scr;|uml;)|Z(?:Hcy;|acute;|c(?:aron;|y;)|dot;|e(?:roWidthSpace;|ta;)|fr;|opf;|scr;)|a(?:acute;?|breve;|c(?:;|E;|d;|irc;?|ute;?|y;)|elig;?|f(?:;|r;)|grave;?|l(?:e(?:fsym;|ph;)|pha;)|m(?:a(?:cr;|lg;)|p;?)|n(?:d(?:;|and;|d;|slope;|v;)|g(?:;|e;|le;|msd(?:;|a(?:a;|b;|c;|d;|e;|f;|g;|h;))|rt(?:;|vb(?:;|d;))|s(?:ph;|t;)|zarr;))|o(?:gon;|pf;)|p(?:;|E;|acir;|e;|id;|os;|prox(?:;|eq;))|ring;?|s(?:cr;|t;|ymp(?:;|eq;))|tilde;?|uml;?|w(?:conint;|int;))|b(?:Not;|a(?:ck(?:cong;|epsilon;|prime;|sim(?:;|eq;))|r(?:vee;|wed(?:;|ge;)))|brk(?:;|tbrk;)|c(?:ong;|y;)|dquo;|e(?:caus(?:;|e;)|mptyv;|psi;|rnou;|t(?:a;|h;|ween;))|fr;|ig(?:c(?:ap;|irc;|up;)|o(?:dot;|plus;|times;)|s(?:qcup;|tar;)|triangle(?:down;|up;)|uplus;|vee;|wedge;)|karow;|l(?:a(?:ck(?:lozenge;|square;|triangle(?:;|down;|left;|right;))|nk;)|k(?:1(?:2;|4;)|34;)|ock;)|n(?:e(?:;|quiv;)|ot;)|o(?:pf;|t(?:;|tom;)|wtie;|x(?:D(?:L;|R;|l;|r;)|H(?:;|D;|U;|d;|u;)|U(?:L;|R;|l;|r;)|V(?:;|H;|L;|R;|h;|l;|r;)|box;|d(?:L;|R;|l;|r;)|h(?:;|D;|U;|d;|u;)|minus;|plus;|times;|u(?:L;|R;|l;|r;)|v(?:;|H;|L;|R;|h;|l;|r;)))|prime;|r(?:eve;|vbar;?)|s(?:cr;|emi;|im(?:;|e;)|ol(?:;|b;|hsub;))|u(?:ll(?:;|et;)|mp(?:;|E;|e(?:;|q;))))|c(?:a(?:cute;|p(?:;|and;|brcup;|c(?:ap;|up;)|dot;|s;)|r(?:et;|on;))|c(?:a(?:ps;|ron;)|edil;?|irc;|ups(?:;|sm;))|dot;|e(?:dil;?|mptyv;|nt(?:;|erdot;|))|fr;|h(?:cy;|eck(?:;|mark;)|i;)|ir(?:;|E;|c(?:;|eq;|le(?:arrow(?:left;|right;)|d(?:R;|S;|ast;|circ;|dash;)))|e;|fnint;|mid;|scir;)|lubs(?:;|uit;)|o(?:lon(?:;|e(?:;|q;))|m(?:ma(?:;|t;)|p(?:;|fn;|le(?:ment;|xes;)))|n(?:g(?:;|dot;)|int;)|p(?:f;|rod;|y(?:;|sr;|)))|r(?:arr;|oss;)|s(?:cr;|u(?:b(?:;|e;)|p(?:;|e;)))|tdot;|u(?:darr(?:l;|r;)|e(?:pr;|sc;)|larr(?:;|p;)|p(?:;|brcap;|c(?:ap;|up;)|dot;|or;|s;)|r(?:arr(?:;|m;)|ly(?:eq(?:prec;|succ;)|vee;|wedge;)|ren;?|vearrow(?:left;|right;))|vee;|wed;)|w(?:conint;|int;)|ylcty;)|d(?:Arr;|Har;|a(?:gger;|leth;|rr;|sh(?:;|v;))|b(?:karow;|lac;)|c(?:aron;|y;)|d(?:;|a(?:gger;|rr;)|otseq;)|e(?:g;?|lta;|mptyv;)|f(?:isht;|r;)|har(?:l;|r;)|i(?:am(?:;|ond(?:;|suit;)|s;)|e;|gamma;|sin;|v(?:;|ide(?:;|ontimes;|)|onx;))|jcy;|lc(?:orn;|rop;)|o(?:llar;|pf;|t(?:;|eq(?:;|dot;)|minus;|plus;|square;)|ublebarwedge;|wn(?:arrow;|downarrows;|harpoon(?:left;|right;)))|r(?:bkarow;|c(?:orn;|rop;))|s(?:c(?:r;|y;)|ol;|trok;)|t(?:dot;|ri(?:;|f;))|u(?:arr;|har;)|wangle;|z(?:cy;|igrarr;))|e(?:D(?:Dot;|ot;)|a(?:cute;?|ster;)|c(?:aron;|ir(?:;|c;?)|olon;|y;)|dot;|e;|f(?:Dot;|r;)|g(?:;|rave;?|s(?:;|dot;))|l(?:;|inters;|l;|s(?:;|dot;))|m(?:acr;|pty(?:;|set;|v;)|sp(?:1(?:3;|4;)|;))|n(?:g;|sp;)|o(?:gon;|pf;)|p(?:ar(?:;|sl;)|lus;|si(?:;|lon;|v;))|q(?:c(?:irc;|olon;)|s(?:im;|lant(?:gtr;|less;))|u(?:als;|est;|iv(?:;|DD;))|vparsl;)|r(?:Dot;|arr;)|s(?:cr;|dot;|im;)|t(?:a;|h;?)|u(?:ml;?|ro;)|x(?:cl;|ist;|p(?:ectation;|onentiale;)))|f(?:allingdotseq;|cy;|emale;|f(?:ilig;|l(?:ig;|lig;)|r;)|ilig;|jlig;|l(?:at;|lig;|tns;)|nof;|o(?:pf;|r(?:all;|k(?:;|v;)))|partint;|r(?:a(?:c(?:1(?:2;?|3;|4;?|5;|6;|8;)|2(?:3;|5;)|3(?:4;?|5;|8;)|45;|5(?:6;|8;)|78;)|sl;)|own;)|scr;)|g(?:E(?:;|l;)|a(?:cute;|mma(?:;|d;)|p;)|breve;|c(?:irc;|y;)|dot;|e(?:;|l;|q(?:;|q;|slant;)|s(?:;|cc;|dot(?:;|o(?:;|l;))|l(?:;|es;)))|fr;|g(?:;|g;)|imel;|jcy;|l(?:;|E;|a;|j;)|n(?:E;|ap(?:;|prox;)|e(?:;|q(?:;|q;))|sim;)|opf;|rave;|s(?:cr;|im(?:;|e;|l;))|t(?:;|c(?:c;|ir;)|dot;|lPar;|quest;|r(?:a(?:pprox;|rr;)|dot;|eq(?:less;|qless;)|less;|sim;)|)|v(?:ertneqq;|nE;))|h(?:Arr;|a(?:irsp;|lf;|milt;|r(?:dcy;|r(?:;|cir;|w;)))|bar;|circ;|e(?:arts(?:;|uit;)|llip;|rcon;)|fr;|ks(?:earow;|warow;)|o(?:arr;|mtht;|ok(?:leftarrow;|rightarrow;)|pf;|rbar;)|s(?:cr;|lash;|trok;)|y(?:bull;|phen;))|i(?:acute;?|c(?:;|irc;?|y;)|e(?:cy;|xcl;?)|f(?:f;|r;)|grave;?|i(?:;|i(?:int;|nt;)|nfin;|ota;)|jlig;|m(?:a(?:cr;|g(?:e;|line;|part;)|th;)|of;|ped;)|n(?:;|care;|fin(?:;|tie;)|odot;|t(?:;|cal;|e(?:gers;|rcal;)|larhk;|prod;))|o(?:cy;|gon;|pf;|ta;)|prod;|quest;?|s(?:cr;|in(?:;|E;|dot;|s(?:;|v;)|v;))|t(?:;|ilde;)|u(?:kcy;|ml;?))|j(?:c(?:irc;|y;)|fr;|math;|opf;|s(?:cr;|ercy;)|ukcy;)|k(?:appa(?:;|v;)|c(?:edil;|y;)|fr;|green;|hcy;|jcy;|opf;|scr;)|l(?:A(?:arr;|rr;|tail;)|Barr;|E(?:;|g;)|Har;|a(?:cute;|emptyv;|gran;|mbda;|ng(?:;|d;|le;)|p;|quo;?|rr(?:;|b(?:;|fs;)|fs;|hk;|lp;|pl;|sim;|tl;)|t(?:;|ail;|e(?:;|s;)))|b(?:arr;|brk;|r(?:ac(?:e;|k;)|k(?:e;|sl(?:d;|u;))))|c(?:aron;|e(?:dil;|il;)|ub;|y;)|d(?:ca;|quo(?:;|r;)|r(?:dhar;|ushar;)|sh;)|e(?:;|ft(?:arrow(?:;|tail;)|harpoon(?:down;|up;)|leftarrows;|right(?:arrow(?:;|s;)|harpoons;|squigarrow;)|threetimes;)|g;|q(?:;|q;|slant;)|s(?:;|cc;|dot(?:;|o(?:;|r;))|g(?:;|es;)|s(?:approx;|dot;|eq(?:gtr;|qgtr;)|gtr;|sim;)))|f(?:isht;|loor;|r;)|g(?:;|E;)|h(?:ar(?:d;|u(?:;|l;))|blk;)|jcy;|l(?:;|arr;|corner;|hard;|tri;)|m(?:idot;|oust(?:;|ache;))|n(?:E;|ap(?:;|prox;)|e(?:;|q(?:;|q;))|sim;)|o(?:a(?:ng;|rr;)|brk;|ng(?:left(?:arrow;|rightarrow;)|mapsto;|rightarrow;)|oparrow(?:left;|right;)|p(?:ar;|f;|lus;)|times;|w(?:ast;|bar;)|z(?:;|enge;|f;))|par(?:;|lt;)|r(?:arr;|corner;|har(?:;|d;)|m;|tri;)|s(?:aquo;|cr;|h;|im(?:;|e;|g;)|q(?:b;|uo(?:;|r;))|trok;)|t(?:;|c(?:c;|ir;)|dot;|hree;|imes;|larr;|quest;|r(?:Par;|i(?:;|e;|f;))|)|ur(?:dshar;|uhar;)|v(?:ertneqq;|nE;))|m(?:DDot;|a(?:cr;?|l(?:e;|t(?:;|ese;))|p(?:;|sto(?:;|down;|left;|up;))|rker;)|c(?:omma;|y;)|dash;|easuredangle;|fr;|ho;|i(?:cro;?|d(?:;|ast;|cir;|dot;?)|nus(?:;|b;|d(?:;|u;)))|l(?:cp;|dr;)|nplus;|o(?:dels;|pf;)|p;|s(?:cr;|tpos;)|u(?:;|ltimap;|map;))|n(?:G(?:g;|t(?:;|v;))|L(?:eft(?:arrow;|rightarrow;)|l;|t(?:;|v;))|Rightarrow;|V(?:Dash;|dash;)|a(?:bla;|cute;|ng;|p(?:;|E;|id;|os;|prox;)|tur(?:;|al(?:;|s;)))|b(?:sp;?|ump(?:;|e;))|c(?:a(?:p;|ron;)|edil;|ong(?:;|dot;)|up;|y;)|dash;|e(?:;|Arr;|ar(?:hk;|r(?:;|ow;))|dot;|quiv;|s(?:ear;|im;)|xist(?:;|s;))|fr;|g(?:E;|e(?:;|q(?:;|q;|slant;)|s;)|sim;|t(?:;|r;))|h(?:Arr;|arr;|par;)|i(?:;|s(?:;|d;)|v;)|jcy;|l(?:Arr;|E;|arr;|dr;|e(?:;|ft(?:arrow;|rightarrow;)|q(?:;|q;|slant;)|s(?:;|s;))|sim;|t(?:;|ri(?:;|e;)))|mid;|o(?:pf;|t(?:;|in(?:;|E;|dot;|v(?:a;|b;|c;))|ni(?:;|v(?:a;|b;|c;))|))|p(?:ar(?:;|allel;|sl;|t;)|olint;|r(?:;|cue;|e(?:;|c(?:;|eq;))))|r(?:Arr;|arr(?:;|c;|w;)|ightarrow;|tri(?:;|e;))|s(?:c(?:;|cue;|e;|r;)|hort(?:mid;|parallel;)|im(?:;|e(?:;|q;))|mid;|par;|qsu(?:be;|pe;)|u(?:b(?:;|E;|e;|set(?:;|eq(?:;|q;)))|cc(?:;|eq;)|p(?:;|E;|e;|set(?:;|eq(?:;|q;)))))|t(?:gl;|ilde;?|lg;|riangle(?:left(?:;|eq;)|right(?:;|eq;)))|u(?:;|m(?:;|ero;|sp;))|v(?:Dash;|Harr;|ap;|dash;|g(?:e;|t;)|infin;|l(?:Arr;|e;|t(?:;|rie;))|r(?:Arr;|trie;)|sim;)|w(?:Arr;|ar(?:hk;|r(?:;|ow;))|near;))|o(?:S;|a(?:cute;?|st;)|c(?:ir(?:;|c;?)|y;)|d(?:ash;|blac;|iv;|ot;|sold;)|elig;|f(?:cir;|r;)|g(?:on;|rave;?|t;)|h(?:bar;|m;)|int;|l(?:arr;|c(?:ir;|ross;)|ine;|t;)|m(?:acr;|ega;|i(?:cron;|d;|nus;))|opf;|p(?:ar;|erp;|lus;)|r(?:;|arr;|d(?:;|er(?:;|of;)|f;?|m;?)|igof;|or;|slope;|v;)|s(?:cr;|lash;?|ol;)|ti(?:lde;?|mes(?:;|as;))|uml;?|vbar;)|p(?:ar(?:;|a(?:;|llel;|)|s(?:im;|l;)|t;)|cy;|er(?:cnt;|iod;|mil;|p;|tenk;)|fr;|h(?:i(?:;|v;)|mmat;|one;)|i(?:;|tchfork;|v;)|l(?:an(?:ck(?:;|h;)|kv;)|us(?:;|acir;|b;|cir;|d(?:o;|u;)|e;|mn;?|sim;|two;))|m;|o(?:intint;|pf;|und;?)|r(?:;|E;|ap;|cue;|e(?:;|c(?:;|approx;|curlyeq;|eq;|n(?:approx;|eqq;|sim;)|sim;))|ime(?:;|s;)|n(?:E;|ap;|sim;)|o(?:d;|f(?:alar;|line;|surf;)|p(?:;|to;))|sim;|urel;)|s(?:cr;|i;)|uncsp;)|q(?:fr;|int;|opf;|prime;|scr;|u(?:at(?:ernions;|int;)|est(?:;|eq;)|ot;?))|r(?:A(?:arr;|rr;|tail;)|Barr;|Har;|a(?:c(?:e;|ute;)|dic;|emptyv;|ng(?:;|d;|e;|le;)|quo;?|rr(?:;|ap;|b(?:;|fs;)|c;|fs;|hk;|lp;|pl;|sim;|tl;|w;)|t(?:ail;|io(?:;|nals;)))|b(?:arr;|brk;|r(?:ac(?:e;|k;)|k(?:e;|sl(?:d;|u;))))|c(?:aron;|e(?:dil;|il;)|ub;|y;)|d(?:ca;|ldhar;|quo(?:;|r;)|sh;)|e(?:al(?:;|ine;|part;|s;)|ct;|g;?)|f(?:isht;|loor;|r;)|h(?:ar(?:d;|u(?:;|l;))|o(?:;|v;))|i(?:ght(?:arrow(?:;|tail;)|harpoon(?:down;|up;)|left(?:arrows;|harpoons;)|rightarrows;|squigarrow;|threetimes;)|ng;|singdotseq;)|l(?:arr;|har;|m;)|moust(?:;|ache;)|nmid;|o(?:a(?:ng;|rr;)|brk;|p(?:ar;|f;|lus;)|times;)|p(?:ar(?:;|gt;)|polint;)|rarr;|s(?:aquo;|cr;|h;|q(?:b;|uo(?:;|r;)))|t(?:hree;|imes;|ri(?:;|e;|f;|ltri;))|uluhar;|x;)|s(?:acute;|bquo;|c(?:;|E;|a(?:p;|ron;)|cue;|e(?:;|dil;)|irc;|n(?:E;|ap;|sim;)|polint;|sim;|y;)|dot(?:;|b;|e;)|e(?:Arr;|ar(?:hk;|r(?:;|ow;))|ct;?|mi;|swar;|tm(?:inus;|n;)|xt;)|fr(?:;|own;)|h(?:arp;|c(?:hcy;|y;)|ort(?:mid;|parallel;)|y;?)|i(?:gma(?:;|f;|v;)|m(?:;|dot;|e(?:;|q;)|g(?:;|E;)|l(?:;|E;)|ne;|plus;|rarr;))|larr;|m(?:a(?:llsetminus;|shp;)|eparsl;|i(?:d;|le;)|t(?:;|e(?:;|s;)))|o(?:ftcy;|l(?:;|b(?:;|ar;))|pf;)|pa(?:des(?:;|uit;)|r;)|q(?:c(?:ap(?:;|s;)|up(?:;|s;))|su(?:b(?:;|e;|set(?:;|eq;))|p(?:;|e;|set(?:;|eq;)))|u(?:;|ar(?:e;|f;)|f;))|rarr;|s(?:cr;|etmn;|mile;|tarf;)|t(?:ar(?:;|f;)|r(?:aight(?:epsilon;|phi;)|ns;))|u(?:b(?:;|E;|dot;|e(?:;|dot;)|mult;|n(?:E;|e;)|plus;|rarr;|s(?:et(?:;|eq(?:;|q;)|neq(?:;|q;))|im;|u(?:b;|p;)))|cc(?:;|approx;|curlyeq;|eq;|n(?:approx;|eqq;|sim;)|sim;)|m;|ng;|p(?:1;?|2;?|3;?|;|E;|d(?:ot;|sub;)|e(?:;|dot;)|hs(?:ol;|ub;)|larr;|mult;|n(?:E;|e;)|plus;|s(?:et(?:;|eq(?:;|q;)|neq(?:;|q;))|im;|u(?:b;|p;))))|w(?:Arr;|ar(?:hk;|r(?:;|ow;))|nwar;)|zlig;?)|t(?:a(?:rget;|u;)|brk;|c(?:aron;|edil;|y;)|dot;|elrec;|fr;|h(?:e(?:re(?:4;|fore;)|ta(?:;|sym;|v;))|i(?:ck(?:approx;|sim;)|nsp;)|k(?:ap;|sim;)|orn;?)|i(?:lde;|mes(?:;|b(?:;|ar;)|d;|)|nt;)|o(?:ea;|p(?:;|bot;|cir;|f(?:;|ork;))|sa;)|prime;|r(?:ade;|i(?:angle(?:;|down;|left(?:;|eq;)|q;|right(?:;|eq;))|dot;|e;|minus;|plus;|sb;|time;)|pezium;)|s(?:c(?:r;|y;)|hcy;|trok;)|w(?:ixt;|ohead(?:leftarrow;|rightarrow;)))|u(?:Arr;|Har;|a(?:cute;?|rr;)|br(?:cy;|eve;)|c(?:irc;?|y;)|d(?:arr;|blac;|har;)|f(?:isht;|r;)|grave;?|h(?:ar(?:l;|r;)|blk;)|l(?:c(?:orn(?:;|er;)|rop;)|tri;)|m(?:acr;|l;?)|o(?:gon;|pf;)|p(?:arrow;|downarrow;|harpoon(?:left;|right;)|lus;|si(?:;|h;|lon;)|uparrows;)|r(?:c(?:orn(?:;|er;)|rop;)|ing;|tri;)|scr;|t(?:dot;|ilde;|ri(?:;|f;))|u(?:arr;|ml;?)|wangle;)|v(?:Arr;|Bar(?:;|v;)|Dash;|a(?:ngrt;|r(?:epsilon;|kappa;|nothing;|p(?:hi;|i;|ropto;)|r(?:;|ho;)|s(?:igma;|u(?:bsetneq(?:;|q;)|psetneq(?:;|q;)))|t(?:heta;|riangle(?:left;|right;))))|cy;|dash;|e(?:e(?:;|bar;|eq;)|llip;|r(?:bar;|t;))|fr;|ltri;|nsu(?:b;|p;)|opf;|prop;|rtri;|s(?:cr;|u(?:bn(?:E;|e;)|pn(?:E;|e;)))|zigzag;)|w(?:circ;|e(?:d(?:bar;|ge(?:;|q;))|ierp;)|fr;|opf;|p;|r(?:;|eath;)|scr;)|x(?:c(?:ap;|irc;|up;)|dtri;|fr;|h(?:Arr;|arr;)|i;|l(?:Arr;|arr;)|map;|nis;|o(?:dot;|p(?:f;|lus;)|time;)|r(?:Arr;|arr;)|s(?:cr;|qcup;)|u(?:plus;|tri;)|vee;|wedge;)|y(?:ac(?:ute;?|y;)|c(?:irc;|y;)|en;?|fr;|icy;|opf;|scr;|u(?:cy;|ml;?))|z(?:acute;|c(?:aron;|y;)|dot;|e(?:etrf;|ta;)|fr;|hcy;|igrarr;|opf;|scr;|w(?:j;|nj;)))|[\s\S]/g,yW=32,xW=/[^\r"&\u0000]+/g,kW=/[^\r'&\u0000]+/g,fW=/[^\r\t\n\f &>\u0000]+/g,hW=/[^\r\t\n\f \/>A-Z\u0000]+/g,gW=/[^\r\t\n\f \/=>A-Z\u0000]+/g,vW=/[^\]\r\u0000\uffff]*/g,mW=/[^&<\r\u0000\uffff]*/g,KY=/[^<\r\u0000\uffff]*/g,pW=/[^\r\u0000\uffff]*/g,UY=/(?:(\/)?([a-z]+)>)|[\s\S]/g,IY=/(?:([-a-z]+)[ \t\n\f]*=[ \t\n\f]*('[^'&\r\u0000]*'|"[^"&\r\u0000]*"|[^\t\n\r\f "&'\u0000>][^&> \t\n\r\f\u0000]*[ \t\n\f]))|[\s\S]/g,v8=/[^\x09\x0A\x0C\x0D\x20]/,E$=/[^\x09\x0A\x0C\x0D\x20]/g,uW=/[^\x00\x09\x0A\x0C\x0D\x20]/,u1=/^[\x09\x0A\x0C\x0D\x20]+/,m8=/\x00/g;function P0($){var Z=16384;if($.length<Z)return String.fromCharCode.apply(String,$);var Y="";for(var G=0;G<$.length;G+=Z)Y+=String.fromCharCode.apply(String,$.slice(G,G+Z));return Y}function cW($){var Z=[];for(var Y=0;Y<$.length;Y++)Z[Y]=$.charCodeAt(Y);return Z}function t($,Z){if(typeof Z==="string")return $.namespaceURI===N.HTML&&$.localName===Z;var Y=Z[$.namespaceURI];return Y&&Y[$.localName]}function FY($){return t($,CY)}function SY($){if(t($,bY))return!0;if($.namespaceURI===N.MATHML&&$.localName==="annotation-xml"){var Z=$.getAttribute("encoding");if(Z)Z=Z.toLowerCase();if(Z==="text/html"||Z==="application/xhtml+xml")return!0}return!1}function dW($){if($ in _Y)return _Y[$];else return $}function DY($){for(var Z=0,Y=$.length;Z<Y;Z++)if($[Z][0]in HY)$[Z][0]=HY[$[Z][0]]}function OY($){for(var Z=0,Y=$.length;Z<Y;Z++)if($[Z][0]==="definitionurl"){$[Z][0]="definitionURL";break}}function N$($){for(var Z=0,Y=$.length;Z<Y;Z++)if($[Z][0]in BY)$[Z].push(BY[$[Z][0]])}function AY($,Z){for(var Y=0,G=$.length;Y<G;Y++){var Q=$[Y][0],z=$[Y][1];if(Z.hasAttribute(Q))continue;Z._setAttribute(Q,z)}}c.ElementStack=function $(){this.elements=[],this.top=null};c.ElementStack.prototype.push=function($){this.elements.push($),this.top=$};c.ElementStack.prototype.pop=function($){this.elements.pop(),this.top=this.elements[this.elements.length-1]};c.ElementStack.prototype.popTag=function($){for(var Z=this.elements.length-1;Z>0;Z--){var Y=this.elements[Z];if(t(Y,$))break}this.elements.length=Z,this.top=this.elements[Z-1]};c.ElementStack.prototype.popElementType=function($){for(var Z=this.elements.length-1;Z>0;Z--)if(this.elements[Z]instanceof $)break;this.elements.length=Z,this.top=this.elements[Z-1]};c.ElementStack.prototype.popElement=function($){for(var Z=this.elements.length-1;Z>0;Z--)if(this.elements[Z]===$)break;this.elements.length=Z,this.top=this.elements[Z-1]};c.ElementStack.prototype.removeElement=function($){if(this.top===$)this.pop();else{var Z=this.elements.lastIndexOf($);if(Z!==-1)this.elements.splice(Z,1)}};c.ElementStack.prototype.clearToContext=function($){for(var Z=this.elements.length-1;Z>0;Z--)if(t(this.elements[Z],$))break;this.elements.length=Z+1,this.top=this.elements[Z]};c.ElementStack.prototype.contains=function($){return this.inSpecificScope($,Object.create(null))};c.ElementStack.prototype.inSpecificScope=function($,Z){for(var Y=this.elements.length-1;Y>=0;Y--){var G=this.elements[Y];if(t(G,$))return!0;if(t(G,Z))return!1}return!1};c.ElementStack.prototype.elementInSpecificScope=function($,Z){for(var Y=this.elements.length-1;Y>=0;Y--){var G=this.elements[Y];if(G===$)return!0;if(t(G,Z))return!1}return!1};c.ElementStack.prototype.elementTypeInSpecificScope=function($,Z){for(var Y=this.elements.length-1;Y>=0;Y--){var G=this.elements[Y];if(G instanceof $)return!0;if(t(G,Z))return!1}return!1};c.ElementStack.prototype.inScope=function($){return this.inSpecificScope($,G1)};c.ElementStack.prototype.elementInScope=function($){return this.elementInSpecificScope($,G1)};c.ElementStack.prototype.elementTypeInScope=function($){return this.elementTypeInSpecificScope($,G1)};c.ElementStack.prototype.inButtonScope=function($){return this.inSpecificScope($,k$)};c.ElementStack.prototype.inListItemScope=function($){return this.inSpecificScope($,c8)};c.ElementStack.prototype.inTableScope=function($){return this.inSpecificScope($,TY)};c.ElementStack.prototype.inSelectScope=function($){for(var Z=this.elements.length-1;Z>=0;Z--){var Y=this.elements[Z];if(Y.namespaceURI!==N.HTML)return!1;var G=Y.localName;if(G===$)return!0;if(G!=="optgroup"&&G!=="option")return!1}return!1};c.ElementStack.prototype.generateImpliedEndTags=function($,Z){var Y=Z?wY:PY;for(var G=this.elements.length-1;G>=0;G--){var Q=this.elements[G];if($&&t(Q,$))break;if(!t(this.elements[G],Y))break}this.elements.length=G+1,this.top=this.elements[G]};c.ActiveFormattingElements=function $(){this.list=[],this.attrs=[]};c.ActiveFormattingElements.prototype.MARKER={localName:"|"};c.ActiveFormattingElements.prototype.insertMarker=function(){this.list.push(this.MARKER),this.attrs.push(this.MARKER)};c.ActiveFormattingElements.prototype.push=function($,Z){var Y=0;for(var G=this.list.length-1;G>=0;G--){if(this.list[G]===this.MARKER)break;if(J($,this.list[G],this.attrs[G])){if(Y++,Y===3){this.list.splice(G,1),this.attrs.splice(G,1);break}}}this.list.push($);var Q=[];for(var z=0;z<Z.length;z++)Q[z]=Z[z];this.attrs.push(Q);function J(V,_,q){if(V.localName!==_.localName)return!1;if(V._numattrs!==q.length)return!1;for(var K=0,O=q.length;K<O;K++){var A=q[K][0],B=q[K][1];if(!V.hasAttribute(A))return!1;if(V.getAttribute(A)!==B)return!1}return!0}};c.ActiveFormattingElements.prototype.clearToMarker=function(){for(var $=this.list.length-1;$>=0;$--)if(this.list[$]===this.MARKER)break;if($<0)$=0;this.list.length=$,this.attrs.length=$};c.ActiveFormattingElements.prototype.findElementByTag=function($){for(var Z=this.list.length-1;Z>=0;Z--){var Y=this.list[Z];if(Y===this.MARKER)break;if(Y.localName===$)return Y}return null};c.ActiveFormattingElements.prototype.indexOf=function($){return this.list.lastIndexOf($)};c.ActiveFormattingElements.prototype.remove=function($){var Z=this.list.lastIndexOf($);if(Z!==-1)this.list.splice(Z,1),this.attrs.splice(Z,1)};c.ActiveFormattingElements.prototype.replace=function($,Z,Y){var G=this.list.lastIndexOf($);if(G!==-1)this.list[G]=Z,this.attrs[G]=Y};c.ActiveFormattingElements.prototype.insertAfter=function($,Z){var Y=this.list.lastIndexOf($);if(Y!==-1)this.list.splice(Y,0,Z),this.attrs.splice(Y,0,Z)};function c($,Z,Y){var G=null,Q=0,z=0,J=!1,V=!1,_=0,q=[],K="",O=!0,A=0,B=m,D,S,L="",T="",R=[],v="",$0="",e=[],n0=[],N0=[],k0=[],j0=[],F0=!1,F=FQ,f0=null,z0=[],j=new c.ElementStack,f=new c.ActiveFormattingElements,Q1=Z!==void 0,q1=null,c0=null,d6=!0;if(Z)d6=Z.ownerDocument._scripting_enabled;if(Y&&Y.scripting_enabled===!1)d6=!1;var X0=!0,t8=!1,i6,e8,M=[],K1=!1,b1=!1,l6={document:function(){return i},_asDocumentFragment:function(){var X=i.createDocumentFragment(),W=i.firstChild;while(W.hasChildNodes())X.appendChild(W.firstChild);return X},pause:function(){A++},resume:function(){A--,this.parse("")},parse:function(X,W,H){var U;if(A>0)return K+=X,!0;if(_===0){if(K)X=K+X,K="";if(W)X+="￿",J=!0;if(G=X,Q=X.length,z=0,O){if(O=!1,G.charCodeAt(0)===65279)z=1}_++,U=e$(H),K=G.substring(z,Q),_--}else{if(_++,q.push(G,Q,z),G=X,Q=X.length,z=0,e$(),U=!1,K=G.substring(z,Q),z=q.pop(),Q=q.pop(),G=q.pop(),K)G=K+G.substring(z),Q=G.length,z=0,K="";_--}return U}},i=new MW(!0,$);if(i._parser=l6,i._scripting_enabled=d6,Z){if(Z.ownerDocument._quirks)i._quirks=!0;if(Z.ownerDocument._limitedQuirks)i._limitedQuirks=!0;if(Z.namespaceURI===N.HTML)switch(Z.localName){case"title":case"textarea":B=S1;break;case"style":case"xmp":case"iframe":case"noembed":case"noframes":case"script":case"plaintext":B=Q9;break}var t$=i.createElement("html");if(i._appendChild(t$),j.push(t$),Z instanceof a.HTMLTemplateElement)z0.push(q9);j6();for(var J6=Z;J6!==null;J6=J6.parentElement)if(J6 instanceof a.HTMLFormElement){c0=J6;break}}function e$(X){var W,H,U,I;while(z<Q){if(A>0||X&&X())return!0;switch(typeof B.lookahead){case"undefined":if(W=G.charCodeAt(z++),V){if(V=!1,W===10){z++;continue}}switch(W){case 13:if(z<Q){if(G.charCodeAt(z)===10)z++}else V=!0;B(10);break;case 65535:if(J&&z===Q){B(g8);break}default:B(W);break}break;case"number":W=G.charCodeAt(z);var P=B.lookahead,x=!0;if(P<0)x=!1,P=-P;if(P<Q-z)H=x?G.substring(z,z+P):null,I=!1;else if(J){if(H=x?G.substring(z,Q):null,I=!0,W===65535&&z===Q-1)W=g8}else return!0;B(W,H,I);break;case"string":W=G.charCodeAt(z),U=B.lookahead;var p=G.indexOf(U,z);if(p!==-1)H=G.substring(z,p+U.length),I=!1;else{if(!J)return!0;if(H=G.substring(z,Q),W===65535&&z===Q-1)W=g8;I=!0}B(W,H,I);break}}return!1}function U1(X,W){for(var H=0;H<j0.length;H++)if(j0[H][0]===X)return;if(W!==void 0)j0.push([X,W]);else j0.push([X])}function AG(){IY.lastIndex=z-1;var X=IY.exec(G);if(!X)throw new Error("should never happen");var W=X[1];if(!W)return!1;var H=X[2],U=H.length;switch(H[0]){case'"':case"'":H=H.substring(1,U-1),z+=X[0].length-1,B=J9;break;default:B=$1,z+=X[0].length-1,H=H.substring(0,U-1);break}for(var I=0;I<j0.length;I++)if(j0[I][0]===W)return!0;return j0.push([W,H]),!0}function LG(){F0=!1,L="",j0.length=0}function V6(){F0=!0,L="",j0.length=0}function z1(){R.length=0}function $9(){v=""}function Z9(){$0=""}function $Z(){e.length=0}function d1(){n0.length=0,N0=null,k0=null}function s6(){N0=[]}function I1(){k0=[]}function s(){t8=!0}function MG(){return j.top&&j.top.namespaceURI!=="http://www.w3.org/1999/xhtml"}function g0(X){return T===X}function i1(){if(M.length>0){var X=P0(M);if(M.length=0,b1){if(b1=!1,X[0]===`
29
+ `)X=X.substring(1);if(X.length===0)return}H0(X6,X),K1=!1}b1=!1}function B6(X){X.lastIndex=z-1;var W=X.exec(G);if(W&&W.index===z-1){if(W=W[0],z+=W.length-1,J&&z===Q)W=W.slice(0,-1),z--;return W}else throw new Error("should never happen")}function H6(X){X.lastIndex=z-1;var W=X.exec(G)[0];if(!W)return!1;return PG(W),z+=W.length-1,!0}function PG(X){if(M.length>0)i1();if(b1){if(b1=!1,X[0]===`
30
+ `)X=X.substring(1);if(X.length===0)return}H0(X6,X)}function X1(){if(F0)H0(u,L);else{var X=L;L="",T=X,H0(M0,X,j0)}}function wG(){if(z===Q)return!1;UY.lastIndex=z;var X=UY.exec(G);if(!X)throw new Error("should never happen");var W=X[2];if(!W)return!1;var H=X[1];if(H)z+=W.length+2,H0(u,W);else z+=W.length+1,T=W,H0(M0,W,RW);return!0}function RG(){if(F0)H0(u,L,null,!0);else H0(M0,L,j0,!0)}function o(){H0(wW,P0(n0),N0?P0(N0):void 0,k0?P0(k0):void 0)}function g(){i1(),F(g8),i.modclock=1}var H0=l6.insertToken=function X(W,H,U,I){i1();var P=j.top;if(!P||P.namespaceURI===N.HTML)F(W,H,U,I);else if(W!==M0&&W!==X6)UZ(W,H,U,I);else if(FY(P)&&(W===X6||W===M0&&H!=="mglyph"&&H!=="malignmark")||W===M0&&H==="svg"&&P.namespaceURI===N.MATHML&&P.localName==="annotation-xml"||SY(P))e8=!0,F(W,H,U,I),e8=!1;else UZ(W,H,U,I)};function a0(X){var W=j.top;if(F1&&t(W,W6))r6(function(H){return H.createComment(X)});else{if(W instanceof a.HTMLTemplateElement)W=W.content;W._appendChild(W.ownerDocument.createComment(X))}}function t0(X){var W=j.top;if(F1&&t(W,W6))r6(function(U){return U.createTextNode(X)});else{if(W instanceof a.HTMLTemplateElement)W=W.content;var H=W.lastChild;if(H&&H.nodeType===b$.TEXT_NODE)H.appendData(X);else W._appendChild(W.ownerDocument.createTextNode(X))}}function _6(X,W,H){var U=LY.createElement(X,W,null);if(H)for(var I=0,P=H.length;I<P;I++)U._setAttribute(H[I][0],H[I][1]);return U}var F1=!1;function h(X,W){var H=o6(function(U){return _6(U,X,W)});if(t(H,RY))H._form=c0;return H}function o6(X){var W;if(F1&&t(j.top,W6))W=r6(X);else if(j.top instanceof a.HTMLTemplateElement)W=X(j.top.content.ownerDocument),j.top.content._appendChild(W);else W=X(j.top.ownerDocument),j.top._appendChild(W);return j.push(W),W}function Y9(X,W,H){return o6(function(U){var I=U._createElementNS(X,H,null);if(W)for(var P=0,x=W.length;P<x;P++){var p=W[P];if(p.length===2)I._setAttribute(p[0],p[1]);else I._setAttributeNS(p[2],p[0],p[1])}return I})}function ZZ(X){for(var W=j.elements.length-1;W>=0;W--)if(j.elements[W]instanceof X)return W;return-1}function r6(X){var W,H,U=-1,I=-1,P;if(U=ZZ(a.HTMLTableElement),I=ZZ(a.HTMLTemplateElement),I>=0&&(U<0||I>U))W=j.elements[I];else if(U>=0)if(W=j.elements[U].parentNode,W)H=j.elements[U];else W=j.elements[U-1];if(!W)W=j.elements[0];if(W instanceof a.HTMLTemplateElement)W=W.content;if(P=X(W.ownerDocument),P.nodeType===b$.TEXT_NODE){var x;if(H)x=H.previousSibling;else x=W.lastChild;if(x&&x.nodeType===b$.TEXT_NODE)return x.appendData(P.data),P}if(H)W.insertBefore(P,H);else W._appendChild(P);return P}function j6(){var X=!1;for(var W=j.elements.length-1;W>=0;W--){var H=j.elements[W];if(W===0){if(X=!0,Q1)H=Z}if(H.namespaceURI===N.HTML){var U=H.localName;switch(U){case"select":for(var I=W;I>0;){var P=j.elements[--I];if(P instanceof a.HTMLTemplateElement)break;else if(P instanceof a.HTMLTableElement){F=V8;return}}F=W1;return;case"tr":F=U6;return;case"tbody":case"tfoot":case"thead":F=x1;return;case"caption":F=j9;return;case"colgroup":F=J8;return;case"table":F=v0;return;case"template":F=z0[z0.length-1];return;case"body":F=y;return;case"frameset":F=K9;return;case"html":if(q1===null)F=X8;else F=_9;return;default:if(!X){if(U==="head"){F=W0;return}if(U==="td"||U==="th"){F=l1;return}}}}if(X){F=y;return}}}function n6(X,W){h(X,W),B=q6,f0=F,F=W8}function TG(X,W){h(X,W),B=S1,f0=F,F=W8}function G9(X,W){return{elt:_6(X,f.list[W].localName,f.attrs[W]),attrs:f.attrs[W]}}function C0(){if(f.list.length===0)return;var X=f.list[f.list.length-1];if(X===f.MARKER)return;if(j.elements.lastIndexOf(X)!==-1)return;for(var W=f.list.length-2;W>=0;W--){if(X=f.list[W],X===f.MARKER)break;if(j.elements.lastIndexOf(X)!==-1)break}for(W=W+1;W<f.list.length;W++){var H=o6(function(U){return G9(U,W).elt});f.list[W]=H}}var a6={localName:"BM"};function CG(X){if(t(j.top,X)&&f.indexOf(j.top)===-1)return j.pop(),!0;var W=0;while(W<8){W++;var H=f.findElementByTag(X);if(!H)return!1;var U=j.elements.lastIndexOf(H);if(U===-1)return f.remove(H),!0;if(!j.elementInScope(H))return!0;var I=null,P;for(var x=U+1;x<j.elements.length;x++)if(t(j.elements[x],c1)){I=j.elements[x],P=x;break}if(!I)return j.popElement(H),f.remove(H),!0;else{var p=j.elements[U-1];f.insertAfter(H,a6);var G0=I,S0=I,m0=P,d0,k1=0;while(!0){if(k1++,G0=j.elements[--m0],G0===H)break;if(d0=f.indexOf(G0),k1>3&&d0!==-1)f.remove(G0),d0=-1;if(d0===-1){j.removeElement(G0);continue}var M1=G9(p.ownerDocument,d0);if(f.replace(G0,M1.elt,M1.attrs),j.elements[m0]=M1.elt,G0=M1.elt,S0===I)f.remove(a6),f.insertAfter(M1.elt,a6);G0._appendChild(S0),S0=G0}if(F1&&t(p,W6))r6(function(){return S0});else if(p instanceof a.HTMLTemplateElement)p.content._appendChild(S0);else p._appendChild(S0);var I6=G9(I.ownerDocument,f.indexOf(H));while(I.hasChildNodes())I6.elt._appendChild(I.firstChild);I._appendChild(I6.elt),f.remove(H),f.replace(a6,I6.elt,I6.attrs),j.removeElement(H);var LQ=j.elements.lastIndexOf(I);j.elements.splice(LQ+1,0,I6.elt)}}return!0}function bG(){j.pop(),F=f0;return}function E1(){if(delete i._parser,j.elements.length=0,i.defaultView)i.defaultView.dispatchEvent(new a.Event("load",{}))}function E(X,W){B=W,z--}function m(X){switch(X){case 38:D=m,B=K6;break;case 60:if(wG())break;B=EG;break;case 0:M.push(X),K1=!0;break;case-1:g();break;default:H6(mW)||M.push(X);break}}function S1(X){switch(X){case 38:D=S1,B=K6;break;case 60:B=yG;break;case 0:M.push(65533),K1=!0;break;case-1:g();break;default:M.push(X);break}}function q6(X){switch(X){case 60:B=fG;break;case 0:M.push(65533);break;case-1:g();break;default:H6(KY)||M.push(X);break}}function D1(X){switch(X){case 60:B=vG;break;case 0:M.push(65533);break;case-1:g();break;default:H6(KY)||M.push(X);break}}function Q9(X){switch(X){case 0:M.push(65533);break;case-1:g();break;default:H6(pW)||M.push(X);break}}function EG(X){switch(X){case 33:B=zZ;break;case 47:B=NG;break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:LG(),E(X,YZ);break;case 63:E(X,Z8);break;default:M.push(60),E(X,m);break}}function NG(X){switch(X){case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:V6(),E(X,YZ);break;case 62:B=m;break;case-1:M.push(60),M.push(47),g();break;default:E(X,Z8);break}}function YZ(X){switch(X){case 9:case 10:case 12:case 32:B=$1;break;case 47:B=A1;break;case 62:B=m,X1();break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:L+=String.fromCharCode(X+32);break;case 0:L+=String.fromCharCode(65533);break;case-1:g();break;default:L+=B6(hW);break}}function yG(X){if(X===47)z1(),B=xG;else M.push(60),E(X,S1)}function xG(X){switch(X){case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:V6(),E(X,kG);break;default:M.push(60),M.push(47),E(X,S1);break}}function kG(X){switch(X){case 9:case 10:case 12:case 32:if(g0(L)){B=$1;return}break;case 47:if(g0(L)){B=A1;return}break;case 62:if(g0(L)){B=m,X1();return}break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:L+=String.fromCharCode(X+32),R.push(X);return;case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:L+=String.fromCharCode(X),R.push(X);return;default:break}M.push(60),M.push(47),p1(M,R),E(X,S1)}function fG(X){if(X===47)z1(),B=hG;else M.push(60),E(X,q6)}function hG(X){switch(X){case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:V6(),E(X,gG);break;default:M.push(60),M.push(47),E(X,q6);break}}function gG(X){switch(X){case 9:case 10:case 12:case 32:if(g0(L)){B=$1;return}break;case 47:if(g0(L)){B=A1;return}break;case 62:if(g0(L)){B=m,X1();return}break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:L+=String.fromCharCode(X+32),R.push(X);return;case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:L+=String.fromCharCode(X),R.push(X);return;default:break}M.push(60),M.push(47),p1(M,R),E(X,q6)}function vG(X){switch(X){case 47:z1(),B=mG;break;case 33:B=uG,M.push(60),M.push(33);break;default:M.push(60),E(X,D1);break}}function mG(X){switch(X){case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:V6(),E(X,pG);break;default:M.push(60),M.push(47),E(X,D1);break}}function pG(X){switch(X){case 9:case 10:case 12:case 32:if(g0(L)){B=$1;return}break;case 47:if(g0(L)){B=A1;return}break;case 62:if(g0(L)){B=m,X1();return}break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:L+=String.fromCharCode(X+32),R.push(X);return;case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:L+=String.fromCharCode(X),R.push(X);return;default:break}M.push(60),M.push(47),p1(M,R),E(X,D1)}function uG(X){if(X===45)B=cG,M.push(45);else E(X,D1)}function cG(X){if(X===45)B=GZ,M.push(45);else E(X,D1)}function e0(X){switch(X){case 45:B=dG,M.push(45);break;case 60:B=z9;break;case 0:M.push(65533);break;case-1:g();break;default:M.push(X);break}}function dG(X){switch(X){case 45:B=GZ,M.push(45);break;case 60:B=z9;break;case 0:B=e0,M.push(65533);break;case-1:g();break;default:B=e0,M.push(X);break}}function GZ(X){switch(X){case 45:M.push(45);break;case 60:B=z9;break;case 62:B=D1,M.push(62);break;case 0:B=e0,M.push(65533);break;case-1:g();break;default:B=e0,M.push(X);break}}function z9(X){switch(X){case 47:z1(),B=iG;break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:z1(),M.push(60),E(X,sG);break;default:M.push(60),E(X,e0);break}}function iG(X){switch(X){case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:V6(),E(X,lG);break;default:M.push(60),M.push(47),E(X,e0);break}}function lG(X){switch(X){case 9:case 10:case 12:case 32:if(g0(L)){B=$1;return}break;case 47:if(g0(L)){B=A1;return}break;case 62:if(g0(L)){B=m,X1();return}break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:L+=String.fromCharCode(X+32),R.push(X);return;case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:L+=String.fromCharCode(X),R.push(X);return;default:break}M.push(60),M.push(47),p1(M,R),E(X,e0)}function sG(X){switch(X){case 9:case 10:case 12:case 32:case 47:case 62:if(P0(R)==="script")B=O1;else B=e0;M.push(X);break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:R.push(X+32),M.push(X);break;case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:R.push(X),M.push(X);break;default:E(X,e0);break}}function O1(X){switch(X){case 45:B=oG,M.push(45);break;case 60:B=X9,M.push(60);break;case 0:M.push(65533);break;case-1:g();break;default:M.push(X);break}}function oG(X){switch(X){case 45:B=rG,M.push(45);break;case 60:B=X9,M.push(60);break;case 0:B=O1,M.push(65533);break;case-1:g();break;default:B=O1,M.push(X);break}}function rG(X){switch(X){case 45:M.push(45);break;case 60:B=X9,M.push(60);break;case 62:B=D1,M.push(62);break;case 0:B=O1,M.push(65533);break;case-1:g();break;default:B=O1,M.push(X);break}}function X9(X){if(X===47)z1(),B=nG,M.push(47);else E(X,O1)}function nG(X){switch(X){case 9:case 10:case 12:case 32:case 47:case 62:if(P0(R)==="script")B=e0;else B=O1;M.push(X);break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:R.push(X+32),M.push(X);break;case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:R.push(X),M.push(X);break;default:E(X,O1);break}}function $1(X){switch(X){case 9:case 10:case 12:case 32:break;case 47:B=A1;break;case 62:B=m,X1();break;case-1:g();break;case 61:$9(),v+=String.fromCharCode(X),B=W9;break;default:if(AG())break;$9(),E(X,W9);break}}function W9(X){switch(X){case 9:case 10:case 12:case 32:case 47:case 62:case-1:E(X,aG);break;case 61:B=QZ;break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:v+=String.fromCharCode(X+32);break;case 0:v+=String.fromCharCode(65533);break;case 34:case 39:case 60:default:v+=B6(gW);break}}function aG(X){switch(X){case 9:case 10:case 12:case 32:break;case 47:U1(v),B=A1;break;case 61:B=QZ;break;case 62:B=m,U1(v),X1();break;case-1:U1(v),g();break;default:U1(v),$9(),E(X,W9);break}}function QZ(X){switch(X){case 9:case 10:case 12:case 32:break;case 34:Z9(),B=t6;break;case 39:Z9(),B=e6;break;case 62:default:Z9(),E(X,$8);break}}function t6(X){switch(X){case 34:U1(v,$0),B=J9;break;case 38:D=t6,B=K6;break;case 0:$0+=String.fromCharCode(65533);break;case-1:g();break;case 10:$0+=String.fromCharCode(X);break;default:$0+=B6(xW);break}}function e6(X){switch(X){case 39:U1(v,$0),B=J9;break;case 38:D=e6,B=K6;break;case 0:$0+=String.fromCharCode(65533);break;case-1:g();break;case 10:$0+=String.fromCharCode(X);break;default:$0+=B6(kW);break}}function $8(X){switch(X){case 9:case 10:case 12:case 32:U1(v,$0),B=$1;break;case 38:D=$8,B=K6;break;case 62:U1(v,$0),B=m,X1();break;case 0:$0+=String.fromCharCode(65533);break;case-1:z--,B=m;break;case 34:case 39:case 60:case 61:case 96:default:$0+=B6(fW);break}}function J9(X){switch(X){case 9:case 10:case 12:case 32:B=$1;break;case 47:B=A1;break;case 62:B=m,X1();break;case-1:g();break;default:E(X,$1);break}}function A1(X){switch(X){case 62:B=m,RG(!0);break;case-1:g();break;default:E(X,$1);break}}function Z8(X,W,H){var U=W.length;if(H)z+=U-1;else z+=U;var I=W.substring(0,U-1);I=I.replace(/\u0000/g,"�"),I=I.replace(/\u000D\u000A/g,`
31
+ `),I=I.replace(/\u000D/g,`
32
+ `),H0(Y1,I),B=m}Z8.lookahead=">";function zZ(X,W,H){if(W[0]==="-"&&W[1]==="-"){z+=2,$Z(),B=tG;return}if(W.toUpperCase()==="DOCTYPE")z+=7,B=zQ;else if(W==="[CDATA["&&MG())z+=7,B=H9;else B=Z8}zZ.lookahead=7;function tG(X){switch($Z(),X){case 45:B=eG;break;case 62:B=m,H0(Y1,P0(e));break;default:E(X,N1);break}}function eG(X){switch(X){case 45:B=Y8;break;case 62:B=m,H0(Y1,P0(e));break;case-1:H0(Y1,P0(e)),g();break;default:e.push(45),E(X,N1);break}}function N1(X){switch(X){case 60:e.push(X),B=$Q;break;case 45:B=V9;break;case 0:e.push(65533);break;case-1:H0(Y1,P0(e)),g();break;default:e.push(X);break}}function $Q(X){switch(X){case 33:e.push(X),B=ZQ;break;case 60:e.push(X);break;default:E(X,N1);break}}function ZQ(X){switch(X){case 45:B=YQ;break;default:E(X,N1);break}}function YQ(X){switch(X){case 45:B=GQ;break;default:E(X,V9);break}}function GQ(X){switch(X){case 62:case-1:E(X,Y8);break;default:E(X,Y8);break}}function V9(X){switch(X){case 45:B=Y8;break;case-1:H0(Y1,P0(e)),g();break;default:e.push(45),E(X,N1);break}}function Y8(X){switch(X){case 62:B=m,H0(Y1,P0(e));break;case 33:B=QQ;break;case 45:e.push(45);break;case-1:H0(Y1,P0(e)),g();break;default:e.push(45),e.push(45),E(X,N1);break}}function QQ(X){switch(X){case 45:e.push(45),e.push(45),e.push(33),B=V9;break;case 62:B=m,H0(Y1,P0(e));break;case-1:H0(Y1,P0(e)),g();break;default:e.push(45),e.push(45),e.push(33),E(X,N1);break}}function zQ(X){switch(X){case 9:case 10:case 12:case 32:B=XZ;break;case-1:d1(),s(),o(),g();break;default:E(X,XZ);break}}function XZ(X){switch(X){case 9:case 10:case 12:case 32:break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:d1(),n0.push(X+32),B=B9;break;case 0:d1(),n0.push(65533),B=B9;break;case 62:d1(),s(),B=m,o();break;case-1:d1(),s(),o(),g();break;default:d1(),n0.push(X),B=B9;break}}function B9(X){switch(X){case 9:case 10:case 12:case 32:B=WZ;break;case 62:B=m,o();break;case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:n0.push(X+32);break;case 0:n0.push(65533);break;case-1:s(),o(),g();break;default:n0.push(X);break}}function WZ(X,W,H){switch(X){case 9:case 10:case 12:case 32:z+=1;break;case 62:B=m,z+=1,o();break;case-1:s(),o(),g();break;default:if(W=W.toUpperCase(),W==="PUBLIC")z+=6,B=XQ;else if(W==="SYSTEM")z+=6,B=VQ;else s(),B=L1;break}}WZ.lookahead=6;function XQ(X){switch(X){case 9:case 10:case 12:case 32:B=WQ;break;case 34:s6(),B=JZ;break;case 39:s6(),B=VZ;break;case 62:s(),B=m,o();break;case-1:s(),o(),g();break;default:s(),B=L1;break}}function WQ(X){switch(X){case 9:case 10:case 12:case 32:break;case 34:s6(),B=JZ;break;case 39:s6(),B=VZ;break;case 62:s(),B=m,o();break;case-1:s(),o(),g();break;default:s(),B=L1;break}}function JZ(X){switch(X){case 34:B=BZ;break;case 0:N0.push(65533);break;case 62:s(),B=m,o();break;case-1:s(),o(),g();break;default:N0.push(X);break}}function VZ(X){switch(X){case 39:B=BZ;break;case 0:N0.push(65533);break;case 62:s(),B=m,o();break;case-1:s(),o(),g();break;default:N0.push(X);break}}function BZ(X){switch(X){case 9:case 10:case 12:case 32:B=JQ;break;case 62:B=m,o();break;case 34:I1(),B=G8;break;case 39:I1(),B=Q8;break;case-1:s(),o(),g();break;default:s(),B=L1;break}}function JQ(X){switch(X){case 9:case 10:case 12:case 32:break;case 62:B=m,o();break;case 34:I1(),B=G8;break;case 39:I1(),B=Q8;break;case-1:s(),o(),g();break;default:s(),B=L1;break}}function VQ(X){switch(X){case 9:case 10:case 12:case 32:B=BQ;break;case 34:I1(),B=G8;break;case 39:I1(),B=Q8;break;case 62:s(),B=m,o();break;case-1:s(),o(),g();break;default:s(),B=L1;break}}function BQ(X){switch(X){case 9:case 10:case 12:case 32:break;case 34:I1(),B=G8;break;case 39:I1(),B=Q8;break;case 62:s(),B=m,o();break;case-1:s(),o(),g();break;default:s(),B=L1;break}}function G8(X){switch(X){case 34:B=HZ;break;case 0:k0.push(65533);break;case 62:s(),B=m,o();break;case-1:s(),o(),g();break;default:k0.push(X);break}}function Q8(X){switch(X){case 39:B=HZ;break;case 0:k0.push(65533);break;case 62:s(),B=m,o();break;case-1:s(),o(),g();break;default:k0.push(X);break}}function HZ(X){switch(X){case 9:case 10:case 12:case 32:break;case 62:B=m,o();break;case-1:s(),o(),g();break;default:B=L1;break}}function L1(X){switch(X){case 62:B=m,o();break;case-1:o(),g();break;default:break}}function H9(X){switch(X){case 93:B=HQ;break;case-1:g();break;case 0:K1=!0;default:H6(vW)||M.push(X);break}}function HQ(X){switch(X){case 93:B=_Q;break;default:M.push(93),E(X,H9);break}}function _Q(X){switch(X){case 93:M.push(93);break;case 62:i1(),B=m;break;default:M.push(93),M.push(93),E(X,H9);break}}function K6(X){switch(z1(),R.push(38),X){case 9:case 10:case 12:case 32:case 60:case 38:case-1:E(X,y1);break;case 35:R.push(X),B=jQ;break;default:E(X,_Z);break}}function _Z(X){qY.lastIndex=z;var W=qY.exec(G);if(!W)throw new Error("should never happen");var H=W[1];if(!H){B=y1;return}switch(z+=H.length,p1(R,cW(H)),D){case t6:case e6:case $8:if(H[H.length-1]!==";"){if(/[=A-Za-z0-9]/.test(G[z])){B=y1;return}}break;default:break}z1();var U=NW[H];if(typeof U==="number")R.push(U);else p1(R,U);B=y1}_Z.lookahead=-yW;function jQ(X){switch(S=0,X){case 120:case 88:R.push(X),B=qQ;break;default:E(X,KQ);break}}function qQ(X){switch(X){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 65:case 66:case 67:case 68:case 69:case 70:case 97:case 98:case 99:case 100:case 101:case 102:E(X,UQ);break;default:E(X,y1);break}}function KQ(X){switch(X){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:E(X,IQ);break;default:E(X,y1);break}}function UQ(X){switch(X){case 65:case 66:case 67:case 68:case 69:case 70:S*=16,S+=X-55;break;case 97:case 98:case 99:case 100:case 101:case 102:S*=16,S+=X-87;break;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:S*=16,S+=X-48;break;case 59:B=z8;break;default:E(X,z8);break}}function IQ(X){switch(X){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:S*=10,S+=X-48;break;case 59:B=z8;break;default:E(X,z8);break}}function z8(X){if(S in jY)S=jY[S];else if(S>1114111||S>=55296&&S<57344)S=65533;if(z1(),S<=65535)R.push(S);else S=S-65536,R.push(55296+(S>>10)),R.push(56320+(S&1023));E(X,y1)}function y1(X){switch(D){case t6:case e6:case $8:$0+=P0(R);break;default:p1(M,R);break}E(X,D)}function FQ(X,W,H,U){switch(X){case 1:if(W=W.replace(u1,""),W.length===0)return;break;case 4:i._appendChild(i.createComment(W));return;case 5:var I=W,P=H,x=U;if(i.appendChild(new PW(i,I,P,x)),t8||I.toLowerCase()!=="html"||TW.test(P)||x&&x.toLowerCase()===CW||x===void 0&&VY.test(P))i._quirks=!0;else if(bW.test(P)||x!==void 0&&VY.test(P))i._limitedQuirks=!0;F=jZ;return}i._quirks=!0,F=jZ,F(X,W,H,U)}function jZ(X,W,H,U){var I;switch(X){case 1:if(W=W.replace(u1,""),W.length===0)return;break;case 5:return;case 4:i._appendChild(i.createComment(W));return;case 2:if(W==="html"){I=_6(i,W,H),j.push(I),i.appendChild(I),F=X8;return}break;case 3:switch(W){case"html":case"head":case"body":case"br":break;default:return}}I=_6(i,"html",null),j.push(I),i.appendChild(I),F=X8,F(X,W,H,U)}function X8(X,W,H,U){switch(X){case 1:if(W=W.replace(u1,""),W.length===0)return;break;case 5:return;case 4:a0(W);return;case 2:switch(W){case"html":y(X,W,H,U);return;case"head":var I=h(W,H);q1=I,F=W0;return}break;case 3:switch(W){case"html":case"head":case"body":case"br":break;default:return}}X8(M0,"head",null),F(X,W,H,U)}function W0(X,W,H,U){switch(X){case 1:var I=W.match(u1);if(I)t0(I[0]),W=W.substring(I[0].length);if(W.length===0)return;break;case 4:a0(W);return;case 5:return;case 2:switch(W){case"html":y(X,W,H,U);return;case"meta":case"base":case"basefont":case"bgsound":case"link":h(W,H),j.pop();return;case"title":TG(W,H);return;case"noscript":if(!d6){h(W,H),F=qZ;return}case"noframes":case"style":n6(W,H);return;case"script":o6(function(P){var x=_6(P,W,H);if(x._parser_inserted=!0,x._force_async=!1,Q1)x._already_started=!0;return i1(),x}),B=D1,f0=F,F=W8;return;case"template":h(W,H),f.insertMarker(),X0=!1,F=q9,z0.push(F);return;case"head":return}break;case 3:switch(W){case"head":j.pop(),F=_9;return;case"body":case"html":case"br":break;case"template":if(!j.contains("template"))return;j.generateImpliedEndTags(null,"thorough"),j.popTag("template"),f.clearToMarker(),z0.pop(),j6();return;default:return}break}W0(u,"head",null),F(X,W,H,U)}function qZ(X,W,H,U){switch(X){case 5:return;case 4:W0(X,W);return;case 1:var I=W.match(u1);if(I)W0(X,I[0]),W=W.substring(I[0].length);if(W.length===0)return;break;case 2:switch(W){case"html":y(X,W,H,U);return;case"basefont":case"bgsound":case"link":case"meta":case"noframes":case"style":W0(X,W,H);return;case"head":case"noscript":return}break;case 3:switch(W){case"noscript":j.pop(),F=W0;return;case"br":break;default:return}break}qZ(u,"noscript",null),F(X,W,H,U)}function _9(X,W,H,U){switch(X){case 1:var I=W.match(u1);if(I)t0(I[0]),W=W.substring(I[0].length);if(W.length===0)return;break;case 4:a0(W);return;case 5:return;case 2:switch(W){case"html":y(X,W,H,U);return;case"body":h(W,H),X0=!1,F=y;return;case"frameset":h(W,H),F=K9;return;case"base":case"basefont":case"bgsound":case"link":case"meta":case"noframes":case"script":case"style":case"template":case"title":j.push(q1),W0(M0,W,H),j.removeElement(q1);return;case"head":return}break;case 3:switch(W){case"template":return W0(X,W,H,U);case"body":case"html":case"br":break;default:return}break}_9(M0,"body",null),X0=!0,F(X,W,H,U)}function y(X,W,H,U){var I,P,x,p;switch(X){case 1:if(K1){if(W=W.replace(m8,""),W.length===0)return}if(X0&&v8.test(W))X0=!1;C0(),t0(W);return;case 5:return;case 4:a0(W);return;case-1:if(z0.length)return q9(X);E1();return;case 2:switch(W){case"html":if(j.contains("template"))return;AY(H,j.elements[0]);return;case"base":case"basefont":case"bgsound":case"link":case"meta":case"noframes":case"script":case"style":case"template":case"title":W0(M0,W,H);return;case"body":if(I=j.elements[1],!I||!(I instanceof a.HTMLBodyElement)||j.contains("template"))return;X0=!1,AY(H,I);return;case"frameset":if(!X0)return;if(I=j.elements[1],!I||!(I instanceof a.HTMLBodyElement))return;if(I.parentNode)I.parentNode.removeChild(I);while(!(j.top instanceof a.HTMLHtmlElement))j.pop();h(W,H),F=K9;return;case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"nav":case"ol":case"p":case"section":case"summary":case"ul":if(j.inButtonScope("p"))y(u,"p");h(W,H);return;case"menu":if(j.inButtonScope("p"))y(u,"p");if(t(j.top,"menuitem"))j.pop();h(W,H);return;case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":if(j.inButtonScope("p"))y(u,"p");if(j.top instanceof a.HTMLHeadingElement)j.pop();h(W,H);return;case"pre":case"listing":if(j.inButtonScope("p"))y(u,"p");h(W,H),b1=!0,X0=!1;return;case"form":if(c0&&!j.contains("template"))return;if(j.inButtonScope("p"))y(u,"p");if(p=h(W,H),!j.contains("template"))c0=p;return;case"li":X0=!1;for(P=j.elements.length-1;P>=0;P--){if(x=j.elements[P],x instanceof a.HTMLLIElement){y(u,"li");break}if(t(x,c1)&&!t(x,y$))break}if(j.inButtonScope("p"))y(u,"p");h(W,H);return;case"dd":case"dt":X0=!1;for(P=j.elements.length-1;P>=0;P--){if(x=j.elements[P],t(x,MY)){y(u,x.localName);break}if(t(x,c1)&&!t(x,y$))break}if(j.inButtonScope("p"))y(u,"p");h(W,H);return;case"plaintext":if(j.inButtonScope("p"))y(u,"p");h(W,H),B=Q9;return;case"button":if(j.inScope("button"))y(u,"button"),F(X,W,H,U);else C0(),h(W,H),X0=!1;return;case"a":var G0=f.findElementByTag("a");if(G0)y(u,W),f.remove(G0),j.removeElement(G0);case"b":case"big":case"code":case"em":case"font":case"i":case"s":case"small":case"strike":case"strong":case"tt":case"u":C0(),f.push(h(W,H),H);return;case"nobr":if(C0(),j.inScope(W))y(u,W),C0();f.push(h(W,H),H);return;case"applet":case"marquee":case"object":C0(),h(W,H),f.insertMarker(),X0=!1;return;case"table":if(!i._quirks&&j.inButtonScope("p"))y(u,"p");h(W,H),X0=!1,F=v0;return;case"area":case"br":case"embed":case"img":case"keygen":case"wbr":C0(),h(W,H),j.pop(),X0=!1;return;case"input":C0(),p=h(W,H),j.pop();var S0=p.getAttribute("type");if(!S0||S0.toLowerCase()!=="hidden")X0=!1;return;case"param":case"source":case"track":h(W,H),j.pop();return;case"hr":if(j.inButtonScope("p"))y(u,"p");if(t(j.top,"menuitem"))j.pop();h(W,H),j.pop(),X0=!1;return;case"image":y(M0,"img",H,U);return;case"textarea":h(W,H),b1=!0,X0=!1,B=S1,f0=F,F=W8;return;case"xmp":if(j.inButtonScope("p"))y(u,"p");C0(),X0=!1,n6(W,H);return;case"iframe":X0=!1,n6(W,H);return;case"noembed":n6(W,H);return;case"select":if(C0(),h(W,H),X0=!1,F===v0||F===j9||F===x1||F===U6||F===l1)F=V8;else F=W1;return;case"optgroup":case"option":if(j.top instanceof a.HTMLOptionElement)y(u,"option");C0(),h(W,H);return;case"menuitem":if(t(j.top,"menuitem"))j.pop();C0(),h(W,H);return;case"rb":case"rtc":if(j.inScope("ruby"))j.generateImpliedEndTags();h(W,H);return;case"rp":case"rt":if(j.inScope("ruby"))j.generateImpliedEndTags("rtc");h(W,H);return;case"math":if(C0(),OY(H),N$(H),Y9(W,H,N.MATHML),U)j.pop();return;case"svg":if(C0(),DY(H),N$(H),Y9(W,H,N.SVG),U)j.pop();return;case"caption":case"col":case"colgroup":case"frame":case"head":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return}C0(),h(W,H);return;case 3:switch(W){case"template":W0(u,W,H);return;case"body":if(!j.inScope("body"))return;F=KZ;return;case"html":if(!j.inScope("body"))return;F=KZ,F(X,W,H);return;case"address":case"article":case"aside":case"blockquote":case"button":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"listing":case"main":case"menu":case"nav":case"ol":case"pre":case"section":case"summary":case"ul":if(!j.inScope(W))return;j.generateImpliedEndTags(),j.popTag(W);return;case"form":if(!j.contains("template")){var m0=c0;if(c0=null,!m0||!j.elementInScope(m0))return;j.generateImpliedEndTags(),j.removeElement(m0)}else{if(!j.inScope("form"))return;j.generateImpliedEndTags(),j.popTag("form")}return;case"p":if(!j.inButtonScope(W))y(M0,W,null),F(X,W,H,U);else j.generateImpliedEndTags(W),j.popTag(W);return;case"li":if(!j.inListItemScope(W))return;j.generateImpliedEndTags(W),j.popTag(W);return;case"dd":case"dt":if(!j.inScope(W))return;j.generateImpliedEndTags(W),j.popTag(W);return;case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":if(!j.elementTypeInScope(a.HTMLHeadingElement))return;j.generateImpliedEndTags(),j.popElementType(a.HTMLHeadingElement);return;case"sarcasm":break;case"a":case"b":case"big":case"code":case"em":case"font":case"i":case"nobr":case"s":case"small":case"strike":case"strong":case"tt":case"u":var d0=CG(W);if(d0)return;break;case"applet":case"marquee":case"object":if(!j.inScope(W))return;j.generateImpliedEndTags(),j.popTag(W),f.clearToMarker();return;case"br":y(M0,W,null);return}for(P=j.elements.length-1;P>=0;P--)if(x=j.elements[P],t(x,W)){j.generateImpliedEndTags(W),j.popElement(x);break}else if(t(x,c1))return;return}}function W8(X,W,H,U){switch(X){case 1:t0(W);return;case-1:if(j.top instanceof a.HTMLScriptElement)j.top._already_started=!0;j.pop(),F=f0,F(X);return;case 3:if(W==="script")bG();else j.pop(),F=f0;return;default:return}}function v0(X,W,H,U){function I(x){for(var p=0,G0=x.length;p<G0;p++)if(x[p][0]==="type")return x[p][1].toLowerCase();return null}switch(X){case 1:if(e8){y(X,W,H,U);return}else if(t(j.top,W6)){i6=[],f0=F,F=SQ,F(X,W,H,U);return}break;case 4:a0(W);return;case 5:return;case 2:switch(W){case"caption":j.clearToContext(p8),f.insertMarker(),h(W,H),F=j9;return;case"colgroup":j.clearToContext(p8),h(W,H),F=J8;return;case"col":v0(M0,"colgroup",null),F(X,W,H,U);return;case"tbody":case"tfoot":case"thead":j.clearToContext(p8),h(W,H),F=x1;return;case"td":case"th":case"tr":v0(M0,"tbody",null),F(X,W,H,U);return;case"table":if(!j.inTableScope(W))return;v0(u,W),F(X,W,H,U);return;case"style":case"script":case"template":W0(X,W,H,U);return;case"input":var P=I(H);if(P!=="hidden")break;h(W,H),j.pop();return;case"form":if(c0||j.contains("template"))return;c0=h(W,H),j.popElement(c0);return}break;case 3:switch(W){case"table":if(!j.inTableScope(W))return;j.popTag(W),j6();return;case"body":case"caption":case"col":case"colgroup":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return;case"template":W0(X,W,H,U);return}break;case-1:y(X,W,H,U);return}F1=!0,y(X,W,H,U),F1=!1}function SQ(X,W,H,U){if(X===X6){if(K1){if(W=W.replace(m8,""),W.length===0)return}i6.push(W)}else{var I=i6.join("");if(i6.length=0,v8.test(I))F1=!0,y(X6,I),F1=!1;else t0(I);F=f0,F(X,W,H,U)}}function j9(X,W,H,U){function I(){if(!j.inTableScope("caption"))return!1;return j.generateImpliedEndTags(),j.popTag("caption"),f.clearToMarker(),F=v0,!0}switch(X){case 2:switch(W){case"caption":case"col":case"colgroup":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":if(I())F(X,W,H,U);return}break;case 3:switch(W){case"caption":I();return;case"table":if(I())F(X,W,H,U);return;case"body":case"col":case"colgroup":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return}break}y(X,W,H,U)}function J8(X,W,H,U){switch(X){case 1:var I=W.match(u1);if(I)t0(I[0]),W=W.substring(I[0].length);if(W.length===0)return;break;case 4:a0(W);return;case 5:return;case 2:switch(W){case"html":y(X,W,H,U);return;case"col":h(W,H),j.pop();return;case"template":W0(X,W,H,U);return}break;case 3:switch(W){case"colgroup":if(!t(j.top,"colgroup"))return;j.pop(),F=v0;return;case"col":return;case"template":W0(X,W,H,U);return}break;case-1:y(X,W,H,U);return}if(!t(j.top,"colgroup"))return;J8(u,"colgroup"),F(X,W,H,U)}function x1(X,W,H,U){function I(){if(!j.inTableScope("tbody")&&!j.inTableScope("thead")&&!j.inTableScope("tfoot"))return;j.clearToContext(u8),x1(u,j.top.localName,null),F(X,W,H,U)}switch(X){case 2:switch(W){case"tr":j.clearToContext(u8),h(W,H),F=U6;return;case"th":case"td":x1(M0,"tr",null),F(X,W,H,U);return;case"caption":case"col":case"colgroup":case"tbody":case"tfoot":case"thead":I();return}break;case 3:switch(W){case"table":I();return;case"tbody":case"tfoot":case"thead":if(j.inTableScope(W))j.clearToContext(u8),j.pop(),F=v0;return;case"body":case"caption":case"col":case"colgroup":case"html":case"td":case"th":case"tr":return}break}v0(X,W,H,U)}function U6(X,W,H,U){function I(){if(!j.inTableScope("tr"))return!1;return j.clearToContext(x$),j.pop(),F=x1,!0}switch(X){case 2:switch(W){case"th":case"td":j.clearToContext(x$),h(W,H),F=l1,f.insertMarker();return;case"caption":case"col":case"colgroup":case"tbody":case"tfoot":case"thead":case"tr":if(I())F(X,W,H,U);return}break;case 3:switch(W){case"tr":I();return;case"table":if(I())F(X,W,H,U);return;case"tbody":case"tfoot":case"thead":if(j.inTableScope(W)){if(I())F(X,W,H,U)}return;case"body":case"caption":case"col":case"colgroup":case"html":case"td":case"th":return}break}v0(X,W,H,U)}function l1(X,W,H,U){switch(X){case 2:switch(W){case"caption":case"col":case"colgroup":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":if(j.inTableScope("td"))l1(u,"td"),F(X,W,H,U);else if(j.inTableScope("th"))l1(u,"th"),F(X,W,H,U);return}break;case 3:switch(W){case"td":case"th":if(!j.inTableScope(W))return;j.generateImpliedEndTags(),j.popTag(W),f.clearToMarker(),F=U6;return;case"body":case"caption":case"col":case"colgroup":case"html":return;case"table":case"tbody":case"tfoot":case"thead":case"tr":if(!j.inTableScope(W))return;l1(u,j.inTableScope("td")?"td":"th"),F(X,W,H,U);return}break}y(X,W,H,U)}function W1(X,W,H,U){switch(X){case 1:if(K1){if(W=W.replace(m8,""),W.length===0)return}t0(W);return;case 4:a0(W);return;case 5:return;case-1:y(X,W,H,U);return;case 2:switch(W){case"html":y(X,W,H,U);return;case"option":if(j.top instanceof a.HTMLOptionElement)W1(u,W);h(W,H);return;case"optgroup":if(j.top instanceof a.HTMLOptionElement)W1(u,"option");if(j.top instanceof a.HTMLOptGroupElement)W1(u,W);h(W,H);return;case"select":W1(u,W);return;case"input":case"keygen":case"textarea":if(!j.inSelectScope("select"))return;W1(u,"select"),F(X,W,H,U);return;case"script":case"template":W0(X,W,H,U);return}break;case 3:switch(W){case"optgroup":if(j.top instanceof a.HTMLOptionElement&&j.elements[j.elements.length-2]instanceof a.HTMLOptGroupElement)W1(u,"option");if(j.top instanceof a.HTMLOptGroupElement)j.pop();return;case"option":if(j.top instanceof a.HTMLOptionElement)j.pop();return;case"select":if(!j.inSelectScope(W))return;j.popTag(W),j6();return;case"template":W0(X,W,H,U);return}break}}function V8(X,W,H,U){switch(W){case"caption":case"table":case"tbody":case"tfoot":case"thead":case"tr":case"td":case"th":switch(X){case 2:V8(u,"select"),F(X,W,H,U);return;case 3:if(j.inTableScope(W))V8(u,"select"),F(X,W,H,U);return}}W1(X,W,H,U)}function q9(X,W,H,U){function I(P){F=P,z0[z0.length-1]=F,F(X,W,H,U)}switch(X){case 1:case 4:case 5:y(X,W,H,U);return;case-1:if(!j.contains("template"))E1();else j.popTag("template"),f.clearToMarker(),z0.pop(),j6(),F(X,W,H,U);return;case 2:switch(W){case"base":case"basefont":case"bgsound":case"link":case"meta":case"noframes":case"script":case"style":case"template":case"title":W0(X,W,H,U);return;case"caption":case"colgroup":case"tbody":case"tfoot":case"thead":I(v0);return;case"col":I(J8);return;case"tr":I(x1);return;case"td":case"th":I(U6);return}I(y);return;case 3:switch(W){case"template":W0(X,W,H,U);return;default:return}}}function KZ(X,W,H,U){switch(X){case 1:if(v8.test(W))break;y(X,W);return;case 4:j.elements[0]._appendChild(i.createComment(W));return;case 5:return;case-1:E1();return;case 2:if(W==="html"){y(X,W,H,U);return}break;case 3:if(W==="html"){if(Q1)return;F=OQ;return}break}F=y,F(X,W,H,U)}function K9(X,W,H,U){switch(X){case 1:if(W=W.replace(E$,""),W.length>0)t0(W);return;case 4:a0(W);return;case 5:return;case-1:E1();return;case 2:switch(W){case"html":y(X,W,H,U);return;case"frameset":h(W,H);return;case"frame":h(W,H),j.pop();return;case"noframes":W0(X,W,H,U);return}break;case 3:if(W==="frameset"){if(Q1&&j.top instanceof a.HTMLHtmlElement)return;if(j.pop(),!Q1&&!(j.top instanceof a.HTMLFrameSetElement))F=DQ;return}break}}function DQ(X,W,H,U){switch(X){case 1:if(W=W.replace(E$,""),W.length>0)t0(W);return;case 4:a0(W);return;case 5:return;case-1:E1();return;case 2:switch(W){case"html":y(X,W,H,U);return;case"noframes":W0(X,W,H,U);return}break;case 3:if(W==="html"){F=AQ;return}break}}function OQ(X,W,H,U){switch(X){case 1:if(v8.test(W))break;y(X,W,H,U);return;case 4:i._appendChild(i.createComment(W));return;case 5:y(X,W,H,U);return;case-1:E1();return;case 2:if(W==="html"){y(X,W,H,U);return}break}F=y,F(X,W,H,U)}function AQ(X,W,H,U){switch(X){case 1:if(W=W.replace(E$,""),W.length>0)y(X,W,H,U);return;case 4:i._appendChild(i.createComment(W));return;case 5:y(X,W,H,U);return;case-1:E1();return;case 2:switch(W){case"html":y(X,W,H,U);return;case"noframes":W0(X,W,H,U);return}break}}function UZ(X,W,H,U){function I(G0){for(var S0=0,m0=G0.length;S0<m0;S0++)switch(G0[S0][0]){case"color":case"face":case"size":return!0}return!1}var P;switch(X){case 1:if(X0&&uW.test(W))X0=!1;if(K1)W=W.replace(m8,"�");t0(W);return;case 4:a0(W);return;case 5:return;case 2:switch(W){case"font":if(!I(H))break;case"b":case"big":case"blockquote":case"body":case"br":case"center":case"code":case"dd":case"div":case"dl":case"dt":case"em":case"embed":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":case"head":case"hr":case"i":case"img":case"li":case"listing":case"menu":case"meta":case"nobr":case"ol":case"p":case"pre":case"ruby":case"s":case"small":case"span":case"strong":case"strike":case"sub":case"sup":case"table":case"tt":case"u":case"ul":case"var":if(Q1)break;do j.pop(),P=j.top;while(P.namespaceURI!==N.HTML&&!FY(P)&&!SY(P));H0(X,W,H,U);return}if(P=j.elements.length===1&&Q1?Z:j.top,P.namespaceURI===N.MATHML)OY(H);else if(P.namespaceURI===N.SVG)W=dW(W),DY(H);if(N$(H),Y9(W,H,P.namespaceURI),U){if(W==="script"&&P.namespaceURI===N.SVG);j.pop()}return;case 3:if(P=j.top,W==="script"&&P.namespaceURI===N.SVG&&P.localName==="script")j.pop();else{var x=j.elements.length-1,p=j.elements[x];for(;;){if(p.localName.toLowerCase()===W){j.popElement(p);break}if(p=j.elements[--x],p.namespaceURI!==N.HTML)continue;F(X,W,H,U);break}}return}}return l6.testTokenizer=function(X,W,H,U){var I=[];switch(W){case"PCDATA state":B=m;break;case"RCDATA state":B=S1;break;case"RAWTEXT state":B=q6;break;case"PLAINTEXT state":B=Q9;break}if(H)T=H;if(H0=function(x,p,G0,S0){switch(i1(),x){case 1:if(I.length>0&&I[I.length-1][0]==="Character")I[I.length-1][1]+=p;else I.push(["Character",p]);break;case 4:I.push(["Comment",p]);break;case 5:I.push(["DOCTYPE",p,G0===void 0?null:G0,S0===void 0?null:S0,!t8]);break;case 2:var m0=Object.create(null);for(var d0=0;d0<G0.length;d0++){var k1=G0[d0];if(k1.length===1)m0[k1[0]]="";else m0[k1[0]]=k1[1]}var M1=["StartTag",p,m0];if(S0)M1.push(!0);I.push(M1);break;case 3:I.push(["EndTag",p]);break;case-1:break}},!U)this.parse(X,!0);else{for(var P=0;P<X.length;P++)this.parse(X[P]);this.parse("",!0)}return I},l6}});var g6=C((_B,kY)=>{kY.exports=xY;var NY=k8(),yY=h8(),iW=d8(),i8=V0(),lW=D8();function xY($){this.contextObject=$}var sW={xml:{"":!0,"1.0":!0,"2.0":!0},core:{"":!0,"2.0":!0},html:{"":!0,"1.0":!0,"2.0":!0},xhtml:{"":!0,"1.0":!0,"2.0":!0}};xY.prototype={hasFeature:function $(Z,Y){var G=sW[(Z||"").toLowerCase()];return G&&G[Y||""]||!1},createDocumentType:function $(Z,Y,G){if(!lW.isValidQName(Z))i8.InvalidCharacterError();return new yY(this.contextObject,Z,Y,G)},createDocument:function $(Z,Y,G){var Q=new NY(!1,null),z;if(Y)z=Q.createElementNS(Z,Y);else z=null;if(G)Q.appendChild(G);if(z)Q.appendChild(z);if(Z===i8.NAMESPACE.HTML)Q._contentType="application/xhtml+xml";else if(Z===i8.NAMESPACE.SVG)Q._contentType="image/svg+xml";else Q._contentType="application/xml";return Q},createHTMLDocument:function $(Z){var Y=new NY(!0,null);Y.appendChild(new yY(Y,"html"));var G=Y.createElement("html");Y.appendChild(G);var Q=Y.createElement("head");if(G.appendChild(Q),Z!==void 0){var z=Y.createElement("title");Q.appendChild(z),z.appendChild(Y.createTextNode(Z))}return G.appendChild(Y.createElement("body")),Y.modclock=1,Y},mozSetOutputMutationHandler:function($,Z){$.mutationHandler=Z},mozGetInputMutationHandler:function($){i8.nyi()},mozHTMLParser:iW}});var hY=C((jB,fY)=>{var oW=b8(),rW=A$();fY.exports=f$;function f$($,Z){this._window=$,this._href=Z}f$.prototype=Object.create(rW.prototype,{constructor:{value:f$},href:{get:function(){return this._href},set:function($){this.assign($)}},assign:{value:function($){var Z=new oW(this._href),Y=Z.resolve($);this._href=Y}},replace:{value:function($){this.assign($)}},reload:{value:function(){this.assign(this.href)}},toString:{value:function(){return this.href}}})});var vY=C((qB,gY)=>{var nW=Object.create(null,{appCodeName:{value:"Mozilla"},appName:{value:"Netscape"},appVersion:{value:"4.0"},platform:{value:""},product:{value:"Gecko"},productSub:{value:"20100101"},userAgent:{value:""},vendor:{value:""},vendorSub:{value:""},taintEnabled:{value:function(){return!1}}});gY.exports=nW});var pY=C((KB,mY)=>{var aW={setTimeout,clearTimeout,setInterval,clearInterval};mY.exports=aW});var g$=C((v6,uY)=>{var h$=V0();v6=uY.exports={CSSStyleDeclaration:E8(),CharacterData:C6(),Comment:J$(),DOMException:K8(),DOMImplementation:g6(),DOMTokenList:i9(),Document:k8(),DocumentFragment:B$(),DocumentType:h8(),Element:$6(),HTMLParser:d8(),NamedNodeMap:a9(),Node:D0(),NodeList:v1(),NodeFilter:y6(),ProcessingInstruction:_$(),Text:X$(),Window:v$()};h$.merge(v6,O$());h$.merge(v6,y8().elements);h$.merge(v6,R$().elements)});var v$=C((UB,cY)=>{var tW=g6(),eW=C9(),$J=hY(),m6=V0();cY.exports=l8;function l8($){this.document=$||new tW(null).createHTMLDocument(""),this.document._scripting_enabled=!0,this.document.defaultView=this,this.location=new $J(this,this.document._address||"about:blank")}l8.prototype=Object.create(eW.prototype,{console:{value:console},history:{value:{back:m6.nyi,forward:m6.nyi,go:m6.nyi}},navigator:{value:vY()},window:{get:function(){return this}},self:{get:function(){return this}},frames:{get:function(){return this}},parent:{get:function(){return this}},top:{get:function(){return this}},length:{value:0},frameElement:{value:null},opener:{value:null},onload:{get:function(){return this._getEventHandler("load")},set:function($){this._setEventHandler("load",$)}},getComputedStyle:{value:function $(Z){return Z.style}}});m6.expose(pY(),l8);m6.expose(g$(),l8)});var oY=C((ZJ)=>{var dY=g6(),iY=d8(),IB=v$(),lY=g$();ZJ.createDOMImplementation=function(){return new dY(null)};ZJ.createDocument=function($,Z){if($||Z){var Y=new iY;return Y.parse($||"",!0),Y.document()}return new dY(null).createHTMLDocument("")};ZJ.createIncrementalHTMLParser=function(){var $=new iY;return{write:function(Z){if(Z.length>0)$.parse(Z,!1,function(){return!0})},end:function(Z){$.parse(Z||"",!0,function(){return!0})},process:function(Z){return $.parse("",!1,Z)},document:function(){return $.document()}}};ZJ.createWindow=function($,Z){var Y=ZJ.createDocument($);if(Z!==void 0)Y._address=Z;return new lY.Window(Y)};ZJ.impl=lY});var XG=C((SB,zG)=>{function XJ($){for(var Z=1;Z<arguments.length;Z++){var Y=arguments[Z];for(var G in Y)if(Y.hasOwnProperty(G))$[G]=Y[G]}return $}function c$($,Z){return Array(Z+1).join($)}function WJ($){return $.replace(/^\n*/,"")}function JJ($){var Z=$.length;while(Z>0&&$[Z-1]===`
33
+ `)Z--;return $.substring(0,Z)}var VJ=["ADDRESS","ARTICLE","ASIDE","AUDIO","BLOCKQUOTE","BODY","CANVAS","CENTER","DD","DIR","DIV","DL","DT","FIELDSET","FIGCAPTION","FIGURE","FOOTER","FORM","FRAMESET","H1","H2","H3","H4","H5","H6","HEADER","HGROUP","HR","HTML","ISINDEX","LI","MAIN","MENU","NAV","NOFRAMES","NOSCRIPT","OL","OUTPUT","P","PRE","SECTION","TABLE","TBODY","TD","TFOOT","TH","THEAD","TR","UL"];function d$($){return i$($,VJ)}var aY=["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"];function tY($){return i$($,aY)}function BJ($){return $G($,aY)}var eY=["A","TABLE","THEAD","TBODY","TFOOT","TH","TD","IFRAME","SCRIPT","AUDIO","VIDEO"];function HJ($){return i$($,eY)}function _J($){return $G($,eY)}function i$($,Z){return Z.indexOf($.nodeName)>=0}function $G($,Z){return $.getElementsByTagName&&Z.some(function(Y){return $.getElementsByTagName(Y).length})}var w0={};w0.paragraph={filter:"p",replacement:function($){return`
34
34
 
35
35
  `+$+`
36
36
 
37
- `}};P0.lineBreak={filter:"br",replacement:function($,Z,Y){return Y.br+`
38
- `}};P0.heading={filter:["h1","h2","h3","h4","h5","h6"],replacement:function($,Z,Y){var G=Number(Z.nodeName.charAt(1));if(Y.headingStyle==="setext"&&G<3){var Q=c$(G===1?"=":"-",$.length);return`
37
+ `}};w0.lineBreak={filter:"br",replacement:function($,Z,Y){return Y.br+`
38
+ `}};w0.heading={filter:["h1","h2","h3","h4","h5","h6"],replacement:function($,Z,Y){var G=Number(Z.nodeName.charAt(1));if(Y.headingStyle==="setext"&&G<3){var Q=c$(G===1?"=":"-",$.length);return`
39
39
 
40
40
  `+$+`
41
41
  `+Q+`
@@ -44,40 +44,40 @@ Expecting one of '${Y.join("', '")}'`);let G=`${$}Help`;return this.on(G,(Q)=>{l
44
44
 
45
45
  `+c$("#",G)+" "+$+`
46
46
 
47
- `}};P0.blockquote={filter:"blockquote",replacement:function($){return $=$.replace(/^\n+|\n+$/g,""),$=$.replace(/^/gm,"> "),`
47
+ `}};w0.blockquote={filter:"blockquote",replacement:function($){return $=$.replace(/^\n+|\n+$/g,""),$=$.replace(/^/gm,"> "),`
48
48
 
49
49
  `+$+`
50
50
 
51
- `}};P0.list={filter:["ul","ol"],replacement:function($,Z){var Y=Z.parentNode;if(Y.nodeName==="LI"&&Y.lastElementChild===Z)return`
51
+ `}};w0.list={filter:["ul","ol"],replacement:function($,Z){var Y=Z.parentNode;if(Y.nodeName==="LI"&&Y.lastElementChild===Z)return`
52
52
  `+$;else return`
53
53
 
54
54
  `+$+`
55
55
 
56
- `}};P0.listItem={filter:"li",replacement:function($,Z,Y){$=$.replace(/^\n+/,"").replace(/\n+$/,`
56
+ `}};w0.listItem={filter:"li",replacement:function($,Z,Y){$=$.replace(/^\n+/,"").replace(/\n+$/,`
57
57
  `).replace(/\n/gm,`
58
58
  `);var G=Y.bulletListMarker+" ",Q=Z.parentNode;if(Q.nodeName==="OL"){var z=Q.getAttribute("start"),J=Array.prototype.indexOf.call(Q.children,Z);G=(z?Number(z)+J:J+1)+". "}return G+$+(Z.nextSibling&&!/\n$/.test($)?`
59
- `:"")}};P0.indentedCodeBlock={filter:function($,Z){return Z.codeBlockStyle==="indented"&&$.nodeName==="PRE"&&$.firstChild&&$.firstChild.nodeName==="CODE"},replacement:function($,Z,Y){return`
59
+ `:"")}};w0.indentedCodeBlock={filter:function($,Z){return Z.codeBlockStyle==="indented"&&$.nodeName==="PRE"&&$.firstChild&&$.firstChild.nodeName==="CODE"},replacement:function($,Z,Y){return`
60
60
 
61
61
  `+Z.firstChild.textContent.replace(/\n/g,`
62
62
  `)+`
63
63
 
64
- `}};P0.fencedCodeBlock={filter:function($,Z){return Z.codeBlockStyle==="fenced"&&$.nodeName==="PRE"&&$.firstChild&&$.firstChild.nodeName==="CODE"},replacement:function($,Z,Y){var G=Z.firstChild.getAttribute("class")||"",Q=(G.match(/language-(\S+)/)||[null,""])[1],z=Z.firstChild.textContent,J=Y.fence.charAt(0),V=3,_=new RegExp("^"+J+"{3,}","gm"),q;while(q=_.exec(z))if(q[0].length>=V)V=q[0].length+1;var K=c$(J,V);return`
64
+ `}};w0.fencedCodeBlock={filter:function($,Z){return Z.codeBlockStyle==="fenced"&&$.nodeName==="PRE"&&$.firstChild&&$.firstChild.nodeName==="CODE"},replacement:function($,Z,Y){var G=Z.firstChild.getAttribute("class")||"",Q=(G.match(/language-(\S+)/)||[null,""])[1],z=Z.firstChild.textContent,J=Y.fence.charAt(0),V=3,_=new RegExp("^"+J+"{3,}","gm"),q;while(q=_.exec(z))if(q[0].length>=V)V=q[0].length+1;var K=c$(J,V);return`
65
65
 
66
66
  `+K+Q+`
67
67
  `+z.replace(/\n$/,"")+`
68
68
  `+K+`
69
69
 
70
- `}};P0.horizontalRule={filter:"hr",replacement:function($,Z,Y){return`
70
+ `}};w0.horizontalRule={filter:"hr",replacement:function($,Z,Y){return`
71
71
 
72
72
  `+Y.hr+`
73
73
 
74
- `}};P0.inlineLink={filter:function($,Z){return Z.linkStyle==="inlined"&&$.nodeName==="A"&&$.getAttribute("href")},replacement:function($,Z){var Y=Z.getAttribute("href");if(Y)Y=Y.replace(/([()])/g,"\\$1");var G=s8(Z.getAttribute("title"));if(G)G=' "'+G.replace(/"/g,"\\\"")+'"';return"["+$+"]("+Y+G+")"}};P0.referenceLink={filter:function($,Z){return Z.linkStyle==="referenced"&&$.nodeName==="A"&&$.getAttribute("href")},replacement:function($,Z,Y){var G=Z.getAttribute("href"),Q=s8(Z.getAttribute("title"));if(Q)Q=' "'+Q+'"';var z,J;switch(Y.linkReferenceStyle){case"collapsed":z="["+$+"][]",J="["+$+"]: "+G+Q;break;case"shortcut":z="["+$+"]",J="["+$+"]: "+G+Q;break;default:var V=this.references.length+1;z="["+$+"]["+V+"]",J="["+V+"]: "+G+Q}return this.references.push(J),z},references:[],append:function($){var Z="";if(this.references.length)Z=`
74
+ `}};w0.inlineLink={filter:function($,Z){return Z.linkStyle==="inlined"&&$.nodeName==="A"&&$.getAttribute("href")},replacement:function($,Z){var Y=Z.getAttribute("href");if(Y)Y=Y.replace(/([()])/g,"\\$1");var G=s8(Z.getAttribute("title"));if(G)G=' "'+G.replace(/"/g,"\\\"")+'"';return"["+$+"]("+Y+G+")"}};w0.referenceLink={filter:function($,Z){return Z.linkStyle==="referenced"&&$.nodeName==="A"&&$.getAttribute("href")},replacement:function($,Z,Y){var G=Z.getAttribute("href"),Q=s8(Z.getAttribute("title"));if(Q)Q=' "'+Q+'"';var z,J;switch(Y.linkReferenceStyle){case"collapsed":z="["+$+"][]",J="["+$+"]: "+G+Q;break;case"shortcut":z="["+$+"]",J="["+$+"]: "+G+Q;break;default:var V=this.references.length+1;z="["+$+"]["+V+"]",J="["+V+"]: "+G+Q}return this.references.push(J),z},references:[],append:function($){var Z="";if(this.references.length)Z=`
75
75
 
76
76
  `+this.references.join(`
77
77
  `)+`
78
78
 
79
- `,this.references=[];return Z}};P0.emphasis={filter:["em","i"],replacement:function($,Z,Y){if(!$.trim())return"";return Y.emDelimiter+$+Y.emDelimiter}};P0.strong={filter:["strong","b"],replacement:function($,Z,Y){if(!$.trim())return"";return Y.strongDelimiter+$+Y.strongDelimiter}};P0.code={filter:function($){var Z=$.previousSibling||$.nextSibling,Y=$.parentNode.nodeName==="PRE"&&!Z;return $.nodeName==="CODE"&&!Y},replacement:function($){if(!$)return"";$=$.replace(/\r?\n|\r/g," ");var Z=/^`|^ .*?[^ ].* $|`$/.test($)?" ":"",Y="`",G=$.match(/`+/gm)||[];while(G.indexOf(Y)!==-1)Y=Y+"`";return Y+Z+$+Z+Y}};P0.image={filter:"img",replacement:function($,Z){var Y=s8(Z.getAttribute("alt")),G=Z.getAttribute("src")||"",Q=s8(Z.getAttribute("title")),z=Q?' "'+Q+'"':"";return G?"!["+Y+"]("+G+z+")":""}};function s8($){return $?$.replace(/(\n+\s*)+/g,`
80
- `):""}function ZG($){this.options=$,this._keep=[],this._remove=[],this.blankRule={replacement:$.blankReplacement},this.keepReplacement=$.keepReplacement,this.defaultRule={replacement:$.defaultReplacement},this.array=[];for(var Z in $.rules)this.array.push($.rules[Z])}ZG.prototype={add:function($,Z){this.array.unshift(Z)},keep:function($){this._keep.unshift({filter:$,replacement:this.keepReplacement})},remove:function($){this._remove.unshift({filter:$,replacement:function(){return""}})},forNode:function($){if($.isBlank)return this.blankRule;var Z;if(Z=m$(this.array,$,this.options))return Z;if(Z=m$(this._keep,$,this.options))return Z;if(Z=m$(this._remove,$,this.options))return Z;return this.defaultRule},forEach:function($){for(var Z=0;Z<this.array.length;Z++)$(this.array[Z],Z)}};function m$($,Z,Y){for(var G=0;G<$.length;G++){var Q=$[G];if(jJ(Q,Z,Y))return Q}return}function jJ($,Z,Y){var G=$.filter;if(typeof G==="string"){if(G===Z.nodeName.toLowerCase())return!0}else if(Array.isArray(G)){if(G.indexOf(Z.nodeName.toLowerCase())>-1)return!0}else if(typeof G==="function"){if(G.call($,Z,Y))return!0}else throw new TypeError("`filter` needs to be a string, array, or function")}function qJ($){var{element:Z,isBlock:Y,isVoid:G}=$,Q=$.isPre||function(O){return O.nodeName==="PRE"};if(!Z.firstChild||Q(Z))return;var z=null,J=!1,V=null,_=rY(V,Z,Q);while(_!==Z){if(_.nodeType===3||_.nodeType===4){var q=_.data.replace(/[ \r\n\t]+/g," ");if((!z||/ $/.test(z.data))&&!J&&q[0]===" ")q=q.substr(1);if(!q){_=p$(_);continue}_.data=q,z=_}else if(_.nodeType===1){if(Y(_)||_.nodeName==="BR"){if(z)z.data=z.data.replace(/ $/,"");z=null,J=!1}else if(G(_)||Q(_))z=null,J=!0;else if(z)J=!1}else{_=p$(_);continue}var K=rY(V,_,Q);V=_,_=K}if(z){if(z.data=z.data.replace(/ $/,""),!z.data)p$(z)}}function p$($){var Z=$.nextSibling||$.parentNode;return $.parentNode.removeChild($),Z}function rY($,Z,Y){if($&&$.parentNode===Z||Y(Z))return Z.nextSibling||Z.parentNode;return Z.firstChild||Z.nextSibling||Z.parentNode}var YG=typeof window!=="undefined"?window:{};function KJ(){var $=YG.DOMParser,Z=!1;try{if(new $().parseFromString("","text/html"))Z=!0}catch(Y){}return Z}function UJ(){var $=function(){};{var Z=oY();$.prototype.parseFromString=function(Y){return Z.createDocument(Y)}}return $}var FJ=KJ()?YG.DOMParser:UJ();function IJ($,Z){var Y;if(typeof $==="string"){var G=SJ().parseFromString('<x-turndown id="turndown-root">'+$+"</x-turndown>","text/html");Y=G.getElementById("turndown-root")}else Y=$.cloneNode(!0);return qJ({element:Y,isBlock:d$,isVoid:tY,isPre:Z.preformattedCode?DJ:null}),Y}var u$;function SJ(){return u$=u$||new FJ,u$}function DJ($){return $.nodeName==="PRE"||$.nodeName==="CODE"}function OJ($,Z){return $.isBlock=d$($),$.isCode=$.nodeName==="CODE"||$.parentNode.isCode,$.isBlank=AJ($),$.flankingWhitespace=LJ($,Z),$}function AJ($){return!tY($)&&!HJ($)&&/^\s*$/i.test($.textContent)&&!BJ($)&&!_J($)}function LJ($,Z){if($.isBlock||Z.preformattedCode&&$.isCode)return{leading:"",trailing:""};var Y=MJ($.textContent);if(Y.leadingAscii&&nY("left",$,Z))Y.leading=Y.leadingNonAscii;if(Y.trailingAscii&&nY("right",$,Z))Y.trailing=Y.trailingNonAscii;return{leading:Y.leading,trailing:Y.trailing}}function MJ($){var Z=$.match(/^(([ \t\r\n]*)(\s*))(?:(?=\S)[\s\S]*\S)?((\s*?)([ \t\r\n]*))$/);return{leading:Z[1],leadingAscii:Z[2],leadingNonAscii:Z[3],trailing:Z[4],trailingNonAscii:Z[5],trailingAscii:Z[6]}}function nY($,Z,Y){var G,Q,z;if($==="left")G=Z.previousSibling,Q=/ $/;else G=Z.nextSibling,Q=/^ /;if(G){if(G.nodeType===3)z=Q.test(G.nodeValue);else if(Y.preformattedCode&&G.nodeName==="CODE")z=!1;else if(G.nodeType===1&&!d$(G))z=Q.test(G.textContent)}return z}var PJ=Array.prototype.reduce,wJ=[[/\\/g,"\\\\"],[/\*/g,"\\*"],[/^-/g,"\\-"],[/^\+ /g,"\\+ "],[/^(=+)/g,"\\$1"],[/^(#{1,6}) /g,"\\$1 "],[/`/g,"\\`"],[/^~~~/g,"\\~~~"],[/\[/g,"\\["],[/\]/g,"\\]"],[/^>/g,"\\>"],[/_/g,"\\_"],[/^(\d+)\. /g,"$1\\. "]];function o8($){if(!(this instanceof o8))return new o8($);var Z={rules:P0,headingStyle:"setext",hr:"* * *",bulletListMarker:"*",codeBlockStyle:"indented",fence:"```",emDelimiter:"_",strongDelimiter:"**",linkStyle:"inlined",linkReferenceStyle:"full",br:" ",preformattedCode:!1,blankReplacement:function(Y,G){return G.isBlock?`
79
+ `,this.references=[];return Z}};w0.emphasis={filter:["em","i"],replacement:function($,Z,Y){if(!$.trim())return"";return Y.emDelimiter+$+Y.emDelimiter}};w0.strong={filter:["strong","b"],replacement:function($,Z,Y){if(!$.trim())return"";return Y.strongDelimiter+$+Y.strongDelimiter}};w0.code={filter:function($){var Z=$.previousSibling||$.nextSibling,Y=$.parentNode.nodeName==="PRE"&&!Z;return $.nodeName==="CODE"&&!Y},replacement:function($){if(!$)return"";$=$.replace(/\r?\n|\r/g," ");var Z=/^`|^ .*?[^ ].* $|`$/.test($)?" ":"",Y="`",G=$.match(/`+/gm)||[];while(G.indexOf(Y)!==-1)Y=Y+"`";return Y+Z+$+Z+Y}};w0.image={filter:"img",replacement:function($,Z){var Y=s8(Z.getAttribute("alt")),G=Z.getAttribute("src")||"",Q=s8(Z.getAttribute("title")),z=Q?' "'+Q+'"':"";return G?"!["+Y+"]("+G+z+")":""}};function s8($){return $?$.replace(/(\n+\s*)+/g,`
80
+ `):""}function ZG($){this.options=$,this._keep=[],this._remove=[],this.blankRule={replacement:$.blankReplacement},this.keepReplacement=$.keepReplacement,this.defaultRule={replacement:$.defaultReplacement},this.array=[];for(var Z in $.rules)this.array.push($.rules[Z])}ZG.prototype={add:function($,Z){this.array.unshift(Z)},keep:function($){this._keep.unshift({filter:$,replacement:this.keepReplacement})},remove:function($){this._remove.unshift({filter:$,replacement:function(){return""}})},forNode:function($){if($.isBlank)return this.blankRule;var Z;if(Z=m$(this.array,$,this.options))return Z;if(Z=m$(this._keep,$,this.options))return Z;if(Z=m$(this._remove,$,this.options))return Z;return this.defaultRule},forEach:function($){for(var Z=0;Z<this.array.length;Z++)$(this.array[Z],Z)}};function m$($,Z,Y){for(var G=0;G<$.length;G++){var Q=$[G];if(jJ(Q,Z,Y))return Q}return}function jJ($,Z,Y){var G=$.filter;if(typeof G==="string"){if(G===Z.nodeName.toLowerCase())return!0}else if(Array.isArray(G)){if(G.indexOf(Z.nodeName.toLowerCase())>-1)return!0}else if(typeof G==="function"){if(G.call($,Z,Y))return!0}else throw new TypeError("`filter` needs to be a string, array, or function")}function qJ($){var{element:Z,isBlock:Y,isVoid:G}=$,Q=$.isPre||function(O){return O.nodeName==="PRE"};if(!Z.firstChild||Q(Z))return;var z=null,J=!1,V=null,_=rY(V,Z,Q);while(_!==Z){if(_.nodeType===3||_.nodeType===4){var q=_.data.replace(/[ \r\n\t]+/g," ");if((!z||/ $/.test(z.data))&&!J&&q[0]===" ")q=q.substr(1);if(!q){_=p$(_);continue}_.data=q,z=_}else if(_.nodeType===1){if(Y(_)||_.nodeName==="BR"){if(z)z.data=z.data.replace(/ $/,"");z=null,J=!1}else if(G(_)||Q(_))z=null,J=!0;else if(z)J=!1}else{_=p$(_);continue}var K=rY(V,_,Q);V=_,_=K}if(z){if(z.data=z.data.replace(/ $/,""),!z.data)p$(z)}}function p$($){var Z=$.nextSibling||$.parentNode;return $.parentNode.removeChild($),Z}function rY($,Z,Y){if($&&$.parentNode===Z||Y(Z))return Z.nextSibling||Z.parentNode;return Z.firstChild||Z.nextSibling||Z.parentNode}var YG=typeof window!=="undefined"?window:{};function KJ(){var $=YG.DOMParser,Z=!1;try{if(new $().parseFromString("","text/html"))Z=!0}catch(Y){}return Z}function UJ(){var $=function(){};{var Z=oY();$.prototype.parseFromString=function(Y){return Z.createDocument(Y)}}return $}var IJ=KJ()?YG.DOMParser:UJ();function FJ($,Z){var Y;if(typeof $==="string"){var G=SJ().parseFromString('<x-turndown id="turndown-root">'+$+"</x-turndown>","text/html");Y=G.getElementById("turndown-root")}else Y=$.cloneNode(!0);return qJ({element:Y,isBlock:d$,isVoid:tY,isPre:Z.preformattedCode?DJ:null}),Y}var u$;function SJ(){return u$=u$||new IJ,u$}function DJ($){return $.nodeName==="PRE"||$.nodeName==="CODE"}function OJ($,Z){return $.isBlock=d$($),$.isCode=$.nodeName==="CODE"||$.parentNode.isCode,$.isBlank=AJ($),$.flankingWhitespace=LJ($,Z),$}function AJ($){return!tY($)&&!HJ($)&&/^\s*$/i.test($.textContent)&&!BJ($)&&!_J($)}function LJ($,Z){if($.isBlock||Z.preformattedCode&&$.isCode)return{leading:"",trailing:""};var Y=MJ($.textContent);if(Y.leadingAscii&&nY("left",$,Z))Y.leading=Y.leadingNonAscii;if(Y.trailingAscii&&nY("right",$,Z))Y.trailing=Y.trailingNonAscii;return{leading:Y.leading,trailing:Y.trailing}}function MJ($){var Z=$.match(/^(([ \t\r\n]*)(\s*))(?:(?=\S)[\s\S]*\S)?((\s*?)([ \t\r\n]*))$/);return{leading:Z[1],leadingAscii:Z[2],leadingNonAscii:Z[3],trailing:Z[4],trailingNonAscii:Z[5],trailingAscii:Z[6]}}function nY($,Z,Y){var G,Q,z;if($==="left")G=Z.previousSibling,Q=/ $/;else G=Z.nextSibling,Q=/^ /;if(G){if(G.nodeType===3)z=Q.test(G.nodeValue);else if(Y.preformattedCode&&G.nodeName==="CODE")z=!1;else if(G.nodeType===1&&!d$(G))z=Q.test(G.textContent)}return z}var PJ=Array.prototype.reduce,wJ=[[/\\/g,"\\\\"],[/\*/g,"\\*"],[/^-/g,"\\-"],[/^\+ /g,"\\+ "],[/^(=+)/g,"\\$1"],[/^(#{1,6}) /g,"\\$1 "],[/`/g,"\\`"],[/^~~~/g,"\\~~~"],[/\[/g,"\\["],[/\]/g,"\\]"],[/^>/g,"\\>"],[/_/g,"\\_"],[/^(\d+)\. /g,"$1\\. "]];function o8($){if(!(this instanceof o8))return new o8($);var Z={rules:w0,headingStyle:"setext",hr:"* * *",bulletListMarker:"*",codeBlockStyle:"indented",fence:"```",emDelimiter:"_",strongDelimiter:"**",linkStyle:"inlined",linkReferenceStyle:"full",br:" ",preformattedCode:!1,blankReplacement:function(Y,G){return G.isBlock?`
81
81
 
82
82
  `:""},keepReplacement:function(Y,G){return G.isBlock?`
83
83
 
@@ -87,9 +87,9 @@ Expecting one of '${Y.join("', '")}'`);let G=`${$}Help`;return this.on(G,(Q)=>{l
87
87
 
88
88
  `+Y+`
89
89
 
90
- `:Y}};this.options=XJ({},Z,$),this.rules=new ZG(this.options)}o8.prototype={turndown:function($){if(!CJ($))throw new TypeError($+" is not a string, or an element/document/fragment node.");if($==="")return"";var Z=GG.call(this,new IJ($,this.options));return RJ.call(this,Z)},use:function($){if(Array.isArray($))for(var Z=0;Z<$.length;Z++)this.use($[Z]);else if(typeof $==="function")$(this);else throw new TypeError("plugin must be a Function or an Array of Functions");return this},addRule:function($,Z){return this.rules.add($,Z),this},keep:function($){return this.rules.keep($),this},remove:function($){return this.rules.remove($),this},escape:function($){return wJ.reduce(function(Z,Y){return Z.replace(Y[0],Y[1])},$)}};function GG($){var Z=this;return PJ.call($.childNodes,function(Y,G){G=new OJ(G,Z.options);var Q="";if(G.nodeType===3)Q=G.isCode?G.nodeValue:Z.escape(G.nodeValue);else if(G.nodeType===1)Q=TJ.call(Z,G);return QG(Y,Q)},"")}function RJ($){var Z=this;return this.rules.forEach(function(Y){if(typeof Y.append==="function")$=QG($,Y.append(Z.options))}),$.replace(/^[\t\r\n]+/,"").replace(/[\t\r\n\s]+$/,"")}function TJ($){var Z=this.rules.forNode($),Y=GG.call(this,$),G=$.flankingWhitespace;if(G.leading||G.trailing)Y=Y.trim();return G.leading+Z.replacement(Y,$,this.options)+G.trailing}function QG($,Z){var Y=JJ($),G=WJ(Z),Q=Math.max($.length-Y.length,Z.length-G.length),z=`
90
+ `:Y}};this.options=XJ({},Z,$),this.rules=new ZG(this.options)}o8.prototype={turndown:function($){if(!CJ($))throw new TypeError($+" is not a string, or an element/document/fragment node.");if($==="")return"";var Z=GG.call(this,new FJ($,this.options));return RJ.call(this,Z)},use:function($){if(Array.isArray($))for(var Z=0;Z<$.length;Z++)this.use($[Z]);else if(typeof $==="function")$(this);else throw new TypeError("plugin must be a Function or an Array of Functions");return this},addRule:function($,Z){return this.rules.add($,Z),this},keep:function($){return this.rules.keep($),this},remove:function($){return this.rules.remove($),this},escape:function($){return wJ.reduce(function(Z,Y){return Z.replace(Y[0],Y[1])},$)}};function GG($){var Z=this;return PJ.call($.childNodes,function(Y,G){G=new OJ(G,Z.options);var Q="";if(G.nodeType===3)Q=G.isCode?G.nodeValue:Z.escape(G.nodeValue);else if(G.nodeType===1)Q=TJ.call(Z,G);return QG(Y,Q)},"")}function RJ($){var Z=this;return this.rules.forEach(function(Y){if(typeof Y.append==="function")$=QG($,Y.append(Z.options))}),$.replace(/^[\t\r\n]+/,"").replace(/[\t\r\n\s]+$/,"")}function TJ($){var Z=this.rules.forNode($),Y=GG.call(this,$),G=$.flankingWhitespace;if(G.leading||G.trailing)Y=Y.trim();return G.leading+Z.replacement(Y,$,this.options)+G.trailing}function QG($,Z){var Y=JJ($),G=WJ(Z),Q=Math.max($.length-Y.length,Z.length-G.length),z=`
91
91
 
92
- `.substring(0,Q);return Y+z+G}function CJ($){return $!=null&&(typeof $==="string"||$.nodeType&&($.nodeType===1||$.nodeType===9||$.nodeType===11))}zG.exports=o8});import{execSync as pJ,spawn as a$}from"child_process";var xZ=B8(yZ(),1),{program:S6,createCommand:QV,createArgument:zV,createOption:XV,CommanderError:WV,InvalidArgumentError:JV,InvalidOptionArgumentError:VV,Command:BV,Argument:HV,Option:_V,Help:jV}=xZ.default;var a8=B8(mZ(),1);import{existsSync as o0,mkdirSync as IG,readFileSync as c6,writeFileSync as C1}from"fs";import{join as T0,resolve as R0}from"path";var JG=B8(XG(),1);import{writeFileSync as WG}from"fs";import r8 from"path";class n8{static turndownService=new JG.default({headingStyle:"atx",bulletListMarker:"-",codeBlockStyle:"fenced",fence:"```",emDelimiter:"*",strongDelimiter:"**",linkStyle:"inlined",linkReferenceStyle:"full"});static{this.turndownService.addRule("jiraIssueLinks",{filter:function($){return $.nodeName==="SPAN"&&$.classList.contains("jira-issue-macro")},replacement:function($,Z){let Y=Z.getAttribute("data-jira-key")||"",G=Z.querySelector("a.jira-issue-macro-key"),Q=G?G.getAttribute("href"):"";if(Y&&Q)return`[${Y}](${Q})`;return Y||$}}),this.turndownService.addRule("jiraStatusLozenge",{filter:function($){return $.nodeName==="SPAN"&&$.classList.contains("aui-lozenge")},replacement:function($){return`*${$}*`}}),this.turndownService.addRule("teletype",{filter:["tt"],replacement:function($){return"`"+$+"`"}}),this.turndownService.addRule("cleanJiraAttributes",{filter:function($){return $.hasAttribute&&($.hasAttribute("data-jira-key")||$.classList.contains("jira-issue-macro-key")||$.classList.contains("issue-link"))},replacement:function($){return $}})}static formatTaskForClaude($,Z,Y,G){let{key:Q,summary:z,renderedDescription:J,description:V,labels:_,components:q,linkedResources:K,relatedIssues:O,comments:A,attachments:B}=$,D=`# JIRA Task Implementation Request
92
+ `.substring(0,Q);return Y+z+G}function CJ($){return $!=null&&(typeof $==="string"||$.nodeType&&($.nodeType===1||$.nodeType===9||$.nodeType===11))}zG.exports=o8});import{execSync as pJ,spawn as a$}from"child_process";var xZ=B8(yZ(),1),{program:S6,createCommand:QV,createArgument:zV,createOption:XV,CommanderError:WV,InvalidArgumentError:JV,InvalidOptionArgumentError:VV,Command:BV,Argument:HV,Option:_V,Help:jV}=xZ.default;var a8=B8(mZ(),1);import{existsSync as r0,mkdirSync as FG,readFileSync as c6,writeFileSync as j1}from"fs";import{join as I0,resolve as T0}from"path";var JG=B8(XG(),1);import{writeFileSync as WG}from"fs";import r8 from"path";class n8{static turndownService=new JG.default({headingStyle:"atx",bulletListMarker:"-",codeBlockStyle:"fenced",fence:"```",emDelimiter:"*",strongDelimiter:"**",linkStyle:"inlined",linkReferenceStyle:"full"});static{this.turndownService.addRule("jiraIssueLinks",{filter:function($){return $.nodeName==="SPAN"&&$.classList.contains("jira-issue-macro")},replacement:function($,Z){let Y=Z.getAttribute("data-jira-key")||"",G=Z.querySelector("a.jira-issue-macro-key"),Q=G?G.getAttribute("href"):"";if(Y&&Q)return`[${Y}](${Q})`;return Y||$}}),this.turndownService.addRule("jiraStatusLozenge",{filter:function($){return $.nodeName==="SPAN"&&$.classList.contains("aui-lozenge")},replacement:function($){return`*${$}*`}}),this.turndownService.addRule("teletype",{filter:["tt"],replacement:function($){return"`"+$+"`"}}),this.turndownService.addRule("cleanJiraAttributes",{filter:function($){return $.hasAttribute&&($.hasAttribute("data-jira-key")||$.classList.contains("jira-issue-macro-key")||$.classList.contains("issue-link"))},replacement:function($){return $}})}static formatTaskForClaude($,Z,Y,G){let{key:Q,summary:z,renderedDescription:J,description:V,labels:_,components:q,linkedResources:K,relatedIssues:O,comments:A,attachments:B}=$,D=`# JIRA Task Implementation Request
93
93
 
94
94
  ## Task Overview
95
95
  - **Key**: ${Q}
@@ -255,7 +255,7 @@ Please assess this task for basic implementation feasibility. Respond with a JSO
255
255
  **Philosophy**: Trust that experienced developers can infer technical details from existing code. Focus only on whether there's enough business context to begin meaningful work.
256
256
 
257
257
  **Task Key for Reference**: ${Q}
258
- `,D}static saveClarityAssessment($,Z,Y,G){let Q=this.formatClarityAssessment($,Y,G,Z);return WG(Z,Q,"utf8"),Z}}class T1{static formatClaudeOutputForJira($){let Z=$.replace(/\x1b\[[0-9;]*m/g,"");Z=Z.replace(/\r\n/g,`
258
+ `,D}static saveClarityAssessment($,Z,Y,G){let Q=this.formatClarityAssessment($,Y,G,Z);return WG(Z,Q,"utf8"),Z}}class C1{static formatClaudeOutputForJira($){let Z=$.replace(/\x1b\[[0-9;]*m/g,"");Z=Z.replace(/\r\n/g,`
259
259
  `).replace(/\r/g,`
260
260
  `),Z=Z.replace(/\n{3,}/g,`
261
261
 
@@ -266,14 +266,14 @@ Please assess this task for basic implementation feasibility. Respond with a JSO
266
266
  `),Z=Z.trim(),Z.length<50)return[{type:"paragraph",content:[{type:"text",text:"Claude completed the implementation successfully. Please check the committed changes for details."}]}];let Y=8000;if(Z.length>Y)Z=Z.substring(0,Y)+`
267
267
 
268
268
  [Output truncated due to length]`;let G=[],Q=Z.split(`
269
- `),z=[],J=!1,V=[],_="",q=()=>{if(z.length>0){let O=z.join(" ").trim();if(O)G.push({type:"paragraph",content:T1.parseTextWithFormatting(O)});z=[]}},K=()=>{if(V.length>0)G.push({type:"codeBlock",attrs:{language:_||"text"},content:[{type:"text",text:V.join(`
270
- `)}]}),V=[],_=""};for(let O=0;O<Q.length;O++){let A=Q[O],B=A.trim();if(B.startsWith("```")){if(J)K(),J=!1;else q(),J=!0,_=B.substring(3).trim();continue}if(J){V.push(A);continue}if(B.startsWith("#")){q();let D=Math.min(6,(B.match(/^#+/)||[""])[0].length),S=B.replace(/^#+\s*/,"");G.push({type:"heading",attrs:{level:D},content:[{type:"text",text:S}]});continue}if(B.match(/^[-*+]\s/)){q();let D=[],S=O;while(S<Q.length&&Q[S].trim().match(/^[-*+]\s/)){let L=Q[S].trim().replace(/^[-*+]\s/,"");D.push({type:"listItem",content:[{type:"paragraph",content:T1.parseTextWithFormatting(L)}]}),S++}G.push({type:"bulletList",content:D}),O=S-1;continue}if(B.match(/^\d+\.\s/)){q();let D=[],S=O;while(S<Q.length&&Q[S].trim().match(/^\d+\.\s/)){let L=Q[S].trim().replace(/^\d+\.\s/,"");D.push({type:"listItem",content:[{type:"paragraph",content:T1.parseTextWithFormatting(L)}]}),S++}G.push({type:"orderedList",content:D}),O=S-1;continue}if(B===""){q();continue}z.push(A)}return q(),K(),G.length>0?G:[{type:"paragraph",content:[{type:"text",text:"Implementation completed."}]}]}static parseTextWithFormatting($){let Z=[],Y="",G=0,Q=()=>{if(Y)Z.push({type:"text",text:Y}),Y=""};while(G<$.length){if($[G]==="`"&&$[G+1]!=="`"){Q();let z=G+1,J=$.indexOf("`",z);if(J===-1)J=$.length;Z.push({type:"text",text:$.substring(z,J),marks:[{type:"code"}]}),G=J+1;continue}if($.substring(G,G+2)==="**"){Q();let z=G+2,J=$.indexOf("**",z);if(J!==-1){Z.push({type:"text",text:$.substring(z,J),marks:[{type:"strong"}]}),G=J+2;continue}}if($[G]==="*"&&$[G+1]!=="*"){Q();let z=G+1,J=$.indexOf("*",z);if(J!==-1){Z.push({type:"text",text:$.substring(z,J),marks:[{type:"em"}]}),G=J+1;continue}}Y+=$[G],G++}return Q(),Z.length>0?Z:[{type:"text",text:$}]}static createImplementationCommentADF($,Z){let Y=[{type:"heading",attrs:{level:3},content:[{type:"emoji",attrs:{shortName:":robot:",id:"1f916",text:"\uD83E\uDD16"}},{type:"text",text:" Implementation Completed by Claude"}]}];if(Z)Y.push({type:"paragraph",content:[{type:"text",text:"Task: ",marks:[{type:"strong"}]},{type:"text",text:Z}]});Y.push({type:"paragraph",content:[{type:"text",text:"Implementation Summary:",marks:[{type:"strong"}]}]});let G=T1.formatClaudeOutputToADF($);return Y.push(...G),Y.push({type:"panel",attrs:{panelType:"info"},content:[{type:"paragraph",content:[{type:"text",text:"This implementation was generated automatically using Claude AI. Please review the changes before merging.",marks:[{type:"em"}]}]}]}),Y}static createClarityAssessmentADF($){let Z=[{type:"heading",attrs:{level:3},content:[{type:"emoji",attrs:{shortName:":robot:",id:"1f916",text:"\uD83E\uDD16"}},{type:"text",text:" Automated Task Feasibility Assessment"}]},{type:"paragraph",content:[{type:"text",text:"Clarity Score: ",marks:[{type:"strong"}]},{type:"text",text:`${$.clarityScore}/10`}]},{type:"paragraph",content:[{type:"text",text:"Status: ",marks:[{type:"strong"}]},...$.isImplementable?[{type:"emoji",attrs:{shortName:":white_check_mark:",id:"2705",text:"✅"}},{type:"text",text:" Ready for implementation"}]:[{type:"emoji",attrs:{shortName:":x:",id:"274c",text:"❌"}},{type:"text",text:" Needs fundamental clarification"}]]},{type:"paragraph",content:[{type:"text",text:"Summary: ",marks:[{type:"strong"}]},{type:"text",text:$.summary}]}];if($.issues&&$.issues.length>0){Z.push({type:"paragraph",content:[{type:"text",text:"Critical Issues Identified:",marks:[{type:"strong"}]}]});let Y=[];$.issues.forEach((G)=>{let Q=G.severity==="critical"?"\uD83D\uDD34":G.severity==="major"?"\uD83D\uDFE1":"\uD83D\uDD35";Y.push({type:"listItem",content:[{type:"paragraph",content:[{type:"text",text:`${Q} `},{type:"text",text:G.category,marks:[{type:"strong"}]},{type:"text",text:`: ${G.description}`}]}]})}),Z.push({type:"bulletList",content:Y})}if($.recommendations&&$.recommendations.length>0){Z.push({type:"paragraph",content:[{type:"text",text:"Recommendations:",marks:[{type:"strong"}]}]});let Y=[];$.recommendations.forEach((G)=>{Y.push({type:"listItem",content:[{type:"paragraph",content:[{type:"text",text:G}]}]})}),Z.push({type:"orderedList",content:Y})}if($.isImplementable&&$.clarityScore>=7)Z.push({type:"panel",attrs:{panelType:"success"},content:[{type:"paragraph",content:[{type:"text",text:"\uD83C\uDFAF Excellent! This task description provides clear requirements and context for implementation.",marks:[{type:"strong"}]}]}]});else if($.isImplementable)Z.push({type:"panel",attrs:{panelType:"info"},content:[{type:"paragraph",content:[{type:"text",text:"\uD83D\uDCA1 This task is implementable, but could benefit from additional details for even clearer requirements.",marks:[{type:"em"}]}]}]});return Z.push({type:"panel",attrs:{panelType:"note"},content:[{type:"paragraph",content:[{type:"text",text:"This assessment focuses on basic implementability. Technical details, UI/UX patterns, and implementation specifics are expected to be inferred from existing codebase.",marks:[{type:"em"}]}]}]}),Z}}class E0{static extractLinkedResources($){let Z=[];try{let Y=$.fields||{};if(Object.keys(Y).forEach((G)=>{try{let Q=Y[G],z=$.names?.[G]||G;if(Q&&typeof Q==="string"){let J=/(https?:\/\/[^\s]+)/g,V=Q.match(J);if(V)V.forEach((_)=>{Z.push({type:"custom_field_link",field:z,url:_,description:E0.categorizeLink(_)})})}else if(Q&&typeof Q==="object"&&"content"in Q){let J=Q.content;if(J&&Array.isArray(J))try{let V=JSON.stringify(J),_=/(https?:\/\/[^\s"]+)/g,q=V.match(_);if(q)q.forEach((K)=>{Z.push({type:"rich_text_link",field:z,url:K,description:E0.categorizeLink(K)})})}catch(V){console.warn(`Failed to process rich text content for field ${z}: ${V}`)}}}catch(Q){console.warn(`Failed to process field ${G}: ${Q}`)}}),Y.issuelinks)Y.issuelinks.forEach((G)=>{try{if(G.outwardIssue)Z.push({type:"issue_link",linkType:G.type.outward,issueKey:G.outwardIssue.key,summary:G.outwardIssue.fields.summary,description:`${G.type.outward} issue`});if(G.inwardIssue)Z.push({type:"issue_link",linkType:G.type.inward,issueKey:G.inwardIssue.key,summary:G.inwardIssue.fields.summary,description:`${G.type.inward} issue`})}catch(Q){console.warn(`Failed to process issue link: ${Q}`)}});if(Y.description&&typeof Y.description==="object"&&"content"in Y.description)try{let G=Y.description.content;if(G&&Array.isArray(G)){let Q=JSON.stringify(G),z=/(https?:\/\/[^\s"]+)/g,J=Q.match(z);if(J)J.forEach((V)=>{Z.push({type:"description_link",url:V,description:E0.categorizeLink(V)})})}}catch(G){console.warn(`Failed to process description links: ${G}`)}}catch(Y){console.warn(`Failed to extract linked resources: ${Y}`)}return E0.deduplicateLinkedResources(Z)}static deduplicateLinkedResources($){let Z=new Map,Y={issue_link:4,custom_field_link:3,rich_text_link:2,description_link:1};$.forEach((Q)=>{let z;if(Q.url)z=Q.url;else if(Q.issueKey)z=`issue:${Q.issueKey}`;else z=`${Q.type}:${Q.description}`;let J=Z.get(z);if(!J)Z.set(z,Q);else{let V=Y[J.type]||0,_=Y[Q.type]||0;if(_>V)Z.set(z,Q);else if(_===V){if(Q.field&&!J.field)Z.set(z,Q)}}});let G=Array.from(Z.values());if($.length!==G.length)console.log(`\uD83D\uDD17 Deduplicated linked resources: ${$.length} → ${G.length}`);return G}static categorizeLink($){if($.includes("github.com"))return"GitHub Repository/Issue";if($.includes("confluence"))return"Confluence Documentation";if($.includes("figma.com"))return"Figma Design";if($.includes("docs.google.com"))return"Google Document";if($.includes("drive.google.com"))return"Google Drive File";if($.includes("notion.so"))return"Notion Page";if($.includes("miro.com"))return"Miro Board";return"External Link"}static async getRelatedWorkItems($,Z){let Y=[],G=$.fields||{};try{if(G.issuelinks&&G.issuelinks.length>0){console.log(`\uD83D\uDD17 Found ${G.issuelinks.length} linked issues, fetching details...`);for(let z of G.issuelinks)try{if(z.outwardIssue){let J=await Z(z.outwardIssue.key),V=E0.formatRelatedIssue(J,z.type.outward,"outward");Y.push(V)}if(z.inwardIssue){let J=await Z(z.inwardIssue.key),V=E0.formatRelatedIssue(J,z.type.inward,"inward");Y.push(V)}}catch(J){console.warn(`Failed to fetch linked issue details: ${J}`)}}if(G.subtasks&&G.subtasks.length>0){console.log(`\uD83D\uDCCB Found ${G.subtasks.length} subtasks, fetching details...`);for(let z of G.subtasks)try{let J=await Z(z.key),V=E0.formatRelatedIssue(J,"Subtask","subtask");Y.push(V)}catch(J){console.warn(`Failed to fetch subtask details: ${J}`)}}if(G.parent){console.log("\uD83D\uDCCB Found parent task, fetching details...");try{let z=await Z(G.parent.key),J=E0.formatRelatedIssue(z,"Parent Task","parent");Y.push(J)}catch(z){console.warn(`Failed to fetch parent task details: ${z}`)}}if(G.epic&&G.epic.key){console.log("\uD83C\uDFAF Found epic, fetching details...");try{let z=await Z(G.epic.key),J=E0.formatRelatedIssue(z,"Epic","parent");Y.push(J)}catch(z){console.warn(`Failed to fetch epic details: ${z}`)}}let Q=G.customfield_10014||G["Epic Link"];if(Q&&typeof Q==="string"){console.log("\uD83C\uDFAF Found epic link in custom field, fetching details...");try{let z=await Z(Q),J=E0.formatRelatedIssue(z,"Epic","parent");Y.push(J)}catch(z){console.warn(`Failed to fetch epic from custom field: ${z}`)}}return console.log(`✅ Successfully fetched ${Y.length} related work items`),Y}catch(Q){return console.warn(`Error fetching related work items: ${Q}`),Y}}static formatRelatedIssue($,Z,Y){let G=$.fields||{};return{key:$.key||"Unknown",summary:G.summary||"No summary",description:G.description,renderedDescription:$.renderedFields?.description,issueType:G.issuetype?.name||"Unknown",status:G.status?.name||"Unknown",priority:G.priority?.name,assignee:G.assignee?.displayName,reporter:G.reporter?.displayName||"Unknown",created:G.created||"",updated:G.updated||"",labels:G.labels||[],components:G.components?.map((Q)=>Q?.name||"Unknown")||[],fixVersions:G.fixVersions?.map((Q)=>Q?.name||"Unknown")||[],linkType:Z,relationshipDirection:Y}}static formatIssueDetails($,Z,Y,G=[]){let Q=$.fields||{};return{key:$.key||"Unknown",summary:Q.summary||"No summary",description:Q.description,renderedDescription:$.renderedFields?.description,issueType:Q.issuetype?.name||"Unknown",status:Q.status?.name||"Unknown",priority:Q.priority?.name,assignee:Q.assignee?.displayName,reporter:Q.reporter?.displayName||"Unknown",created:Q.created||"",updated:Q.updated||"",labels:Q.labels||[],components:Q.components?.map((z)=>z?.name||"Unknown")||[],fixVersions:Q.fixVersions?.map((z)=>z?.name||"Unknown")||[],linkedResources:Y,relatedIssues:G,comments:Z.map((z)=>({id:z.id||"unknown",author:z.author?.displayName||"Unknown",body:z.body||"",renderedBody:z.renderedBody,created:z.created||"",updated:z.updated||""})),attachments:Q.attachment?.map((z)=>({filename:z?.filename||"unknown",size:z?.size||0,mimeType:z?.mimeType||"unknown",created:z?.created||"",author:z?.author?.displayName||"Unknown",content:z?.content||""}))||[]}}}import{writeFileSync as bJ,mkdirSync as EJ}from"fs";import NJ from"path";class p6{baseUrl;email;apiToken;constructor($,Z,Y){if(this.baseUrl=$.replace(/\/$/,""),this.email=Z,this.apiToken=Y,!this.apiToken||this.apiToken.length===0)throw new Error("API token is required")}async jiraApiCall($,Z,Y){let G=`${this.baseUrl}${Z}`;console.log(`\uD83C\uDF10 JIRA API Call: ${$} ${G}`);let Q=this.getAuthHeader();console.log(`\uD83D\uDD10 Auth header: Basic ${Q.replace("Basic ","").substring(0,10)}...`);let z=await fetch(G,{method:$,body:Y?Buffer.from(JSON.stringify(Y),"utf-8"):void 0,headers:{"Content-Type":"application/json; charset=utf-8",Authorization:Q}});if(!z.ok){let J=await z.text();throw console.log(`❌ JIRA API Error: ${z.status} ${z.statusText}`),console.log(` Error details: ${J}`),new Error(`JIRA API Error: ${z.status} ${z.statusText} - ${J}`)}if(z.status===204)return console.log(`\uD83D\uDCC4 Received 204 No Content response for ${Z}`),null;try{let J=await z.json();return console.log(`\uD83D\uDCC4 Successfully parsed JSON response for ${Z}`),J}catch(J){throw console.error(`❌ Failed to parse JSON response for ${Z}: ${J}`),new Error(`Failed to parse JSON response: ${J}`)}}async searchIssues($,Z=0,Y=50){let G=`/rest/api/3/search/jql?jql=${encodeURIComponent($)}&startAt=${Z}&maxResults=${Y}&expand=names,schema`;try{let Q=await this.jiraApiCall("GET",G);return console.log(`\uD83D\uDD0D Found ${Q.issues?.length||0} issues (${Q.total} total)`),{issues:Q.issues||[],total:Q.total||0}}catch(Q){throw console.error("Failed to search issues:",Q),new Error(`Failed to search issues with JQL: ${$}`)}}async getIssue($){console.log(`\uD83D\uDD0D Attempting to fetch issue: ${$}`),console.log(`\uD83D\uDCE1 JIRA Base URL: ${this.baseUrl}`),console.log(`\uD83D\uDC64 JIRA Email: ${this.email}`),console.log(`\uD83D\uDD10 API Token: ${this.apiToken?this.apiToken.substring(0,4)+"..."+this.apiToken.slice(-4):"NOT SET"}`),console.log("\uD83D\uDD10 Testing authentication...");try{let Z=await this.jiraApiCall("GET","/rest/api/3/myself");console.log(`✅ Authentication successful - logged in as: ${Z.displayName} (${Z.emailAddress})`)}catch(Z){throw console.log(`❌ Authentication test failed: ${Z}`),Z}try{console.log("⏳ Making request to JIRA API...");let Z=await this.jiraApiCall("GET",`/rest/api/3/issue/${$}?expand=renderedFields`);if(console.log(`✅ Successfully fetched issue ${$}`),console.log(`\uD83D\uDCDD Issue summary: ${Z.fields?.summary||"No summary"}`),console.log(`\uD83D\uDD0D Response keys: ${Object.keys(Z)}`),console.log(`\uD83D\uDD0D Has fields: ${!!Z.fields}`),Z.fields)console.log(`\uD83D\uDD0D Fields keys: ${Object.keys(Z.fields)}`);else console.log("⚠️ No fields found in response, this might indicate an API issue or permissions problem"),console.log("\uD83D\uDD0D Full response structure:",JSON.stringify(Z,null,2));if(!Z.fields){console.log("\uD83D\uDD04 Retrying without expand parameter...");let Y=await this.jiraApiCall("GET",`/rest/api/3/issue/${$}`);if(console.log(`\uD83D\uDD0D Fallback response has fields: ${!!Y.fields}`),Y.fields)return Y.renderedFields=Z.renderedFields||{},Y}return Z}catch(Z){throw console.error(`❌ Error fetching issue ${$}:`,Z),Z}}async getIssueComments($){try{let Z=await this.jiraApiCall("GET",`/rest/api/3/issue/${$}/comment?expand=renderedBody`);if(!Z)return console.log(`No comments found for ${$} (empty response)`),[];if(typeof Z!=="object")return console.warn(`Unexpected response type when fetching comments for ${$}: ${typeof Z}`),[];return Z.comments||[]}catch(Z){return console.warn(`Failed to fetch comments for ${$}: ${Z}`),[]}}async getIssueAttachments($){try{return(await this.getIssue($)).fields.attachment||[]}catch(Z){return console.warn(`Failed to fetch attachments for ${$}: ${Z}`),[]}}async downloadAttachment($,Z){try{console.log(`\uD83D\uDCCE Downloading attachment: ${$.filename}...`),EJ(Z,{recursive:!0});let Y=$.filename.replace(/[^a-zA-Z0-9._-]/g,"_"),G=NJ.join(Z,Y),Q=await fetch($.content,{headers:{Authorization:this.getAuthHeader()}});if(!Q.ok)throw new Error(`Failed to download attachment: ${Q.status} ${Q.statusText}`);let z=await Q.arrayBuffer();return bJ(G,Buffer.from(z)),console.log(`✅ Downloaded attachment to: ${G}`),G}catch(Y){throw console.warn(`Failed to download attachment ${$.filename}: ${Y}`),Y}}async downloadIssueAttachments($,Z){let Y=new Map;try{let G=await this.getIssueAttachments($);if(G.length===0)return console.log(`\uD83D\uDCCE No attachments found for ${$}`),Y;console.log(`\uD83D\uDCCE Found ${G.length} attachments for ${$}`);for(let Q of G)try{let z=await this.downloadAttachment(Q,Z);Y.set(Q.content,z)}catch(z){console.warn(`Skipping attachment ${Q.filename}: ${z}`)}console.log(`✅ Downloaded ${Y.size}/${G.length} attachments for ${$}`)}catch(G){console.warn(`Failed to download attachments for ${$}: ${G}`)}return Y}async downloadAttachmentsFromContent($,Z,Y){let G=Y||new Map,Q=/(?:https?:\/\/[^\/\s]+)?\/rest\/api\/[23]\/attachment\/content\/(\d+)/g,z=new Set,J;while((J=Q.exec($))!==null){let V=J[0].startsWith("http")?J[0]:`${this.baseUrl}${J[0]}`;z.add(V)}if(z.size===0)return G;console.log(`\uD83D\uDCCE Found ${z.size} attachment URLs in content`);for(let V of z){if(G.has(V))continue;try{let _=V.match(/\/attachment\/content\/(\d+)/);if(!_)continue;let q=_[1],K=V.replace("/content/","/"),O=await fetch(K,{headers:{Authorization:this.getAuthHeader()}});if(!O.ok){console.warn(`Failed to fetch attachment metadata for ${q}`);continue}let A=await O.json(),B={id:q,filename:A.filename||`attachment-${q}`,content:V,size:A.size||0,mimeType:A.mimeType||"application/octet-stream",created:A.created||new Date().toISOString(),author:A.author||{displayName:"Unknown"}},D=await this.downloadAttachment(B,Z);G.set(V,D),console.log(`✅ Downloaded embedded attachment: ${A.filename}`)}catch(_){console.warn(`Failed to download attachment from ${V}: ${_}`)}}return G}getAuthHeader(){if(this.apiToken.includes(":"))return`Basic ${Buffer.from(this.apiToken).toString("base64")}`;else return`Basic ${Buffer.from(`${this.email}:${this.apiToken}`).toString("base64")}`}extractLinkedResources($){return E0.extractLinkedResources($)}async getRelatedWorkItems($){return E0.getRelatedWorkItems($,this.getIssue.bind(this))}async postComment($,Z){try{console.log(`\uD83D\uDCAC Posting comment to issue ${$}...`);let Y={body:{type:"doc",version:1,content:[{type:"paragraph",content:[{type:"text",text:Z}]}]}};await this.jiraApiCall("POST",`/rest/api/3/issue/${$}/comment`,Y),console.log(`✅ Successfully posted comment to ${$}`)}catch(Y){throw console.warn(`Failed to post comment to ${$}: ${Y}`),Y}}async postImplementationComment($,Z,Y){try{console.log(`\uD83D\uDCAC Posting implementation comment to issue ${$}...`);let Q={body:{type:"doc",version:1,content:T1.createImplementationCommentADF(Z,Y)}};await this.jiraApiCall("POST",`/rest/api/3/issue/${$}/comment`,Q),console.log(`✅ Successfully posted implementation comment to ${$}`)}catch(G){throw console.warn(`Failed to post implementation comment to ${$}: ${G}`),G}}async postClarityComment($,Z){try{console.log(`\uD83D\uDCAC Posting clarity assessment to issue ${$}...`);let G={body:{type:"doc",version:1,content:T1.createClarityAssessmentADF(Z)}};await this.jiraApiCall("POST",`/rest/api/3/issue/${$}/comment`,G),console.log(`✅ Successfully posted clarity assessment to ${$}`)}catch(Y){throw console.warn(`Failed to post clarity assessment to ${$}: ${Y}`),Y}}async transitionIssue($,Z){try{console.log(`\uD83D\uDD04 Transitioning ${$} to "${Z}"...`);let G=(await this.jiraApiCall("GET",`/rest/api/3/issue/${$}/transitions`)).transitions,Q=G.find((J)=>J.to.name.toLowerCase()===Z.toLowerCase());if(!Q){let J=G.map((V)=>V.to.name).join(", ");throw new Error(`Status "${Z}" not available for ${$}. Available: ${J}`)}let z={transition:{id:Q.id}};await this.jiraApiCall("POST",`/rest/api/3/issue/${$}/transitions`,z),console.log(`✅ Successfully transitioned ${$} to "${Z}"`)}catch(Y){throw console.warn(`Failed to transition ${$} to "${Z}": ${Y}`),Y}}formatIssueDetails($,Z,Y,G=[]){return E0.formatIssueDetails($,Z,Y,G)}}import{existsSync as l$,mkdirSync as yJ,readFileSync as xJ,writeFileSync as kJ,unlinkSync as s$}from"fs";import{resolve as fJ,join as hJ}from"path";class o${lockFilePath;lockAcquired=!1;constructor($=process.cwd()){let Z=fJ($,".claude-intern");if(!l$(Z))yJ(Z,{recursive:!0});this.lockFilePath=hJ(Z,".pid.lock")}acquire(){try{if(l$(this.lockFilePath))try{let Z=xJ(this.lockFilePath,"utf8"),Y=JSON.parse(Z),G=Y.pid,Q=Y.timestamp;if(this.isProcessRunning(G))return{success:!1,message:`Another instance of claude-intern is already running in this directory (PID: ${G})`,pid:G};console.log(`⚠️ Found stale lock file from previous instance (PID: ${G}, started: ${new Date(Q).toLocaleString()})`),console.log(" Removing stale lock and continuing..."),s$(this.lockFilePath)}catch(Z){console.log("⚠️ Found corrupted lock file, removing and continuing..."),s$(this.lockFilePath)}let $={pid:process.pid,timestamp:new Date().toISOString(),workingDir:process.cwd()};return kJ(this.lockFilePath,JSON.stringify($,null,2),"utf8"),this.lockAcquired=!0,{success:!0,message:"Lock acquired successfully"}}catch($){return{success:!1,message:`Failed to acquire lock: ${$.message}`}}}release(){if(!this.lockAcquired)return;try{if(l$(this.lockFilePath))s$(this.lockFilePath);this.lockAcquired=!1}catch($){console.warn(`⚠️ Failed to release lock: ${$.message}`)}}isProcessRunning($){try{return process.kill($,0),!0}catch(Z){if(Z.code==="EPERM")return!0;return!1}}getLockFilePath(){return this.lockFilePath}}class r${token;baseUrl;constructor($,Z){this.token=$,this.baseUrl=Z}createPRTitle($,Z){return`[${$}] ${Z}`}convertAtlassianDocumentToString($){if(typeof $==="string")return $;let Z=(Y)=>{if(!Y)return"";return Y.map((G)=>{if(G.type==="text")return G.text||"";if(G.content)return Z(G.content);return""}).join("")};return Z($.content)}createPRBody($,Z){let Y=[`## JIRA Task: ${$.key}`,"",`**Summary:** ${$.fields.summary}`,""];if(Z)Y.push("## Implementation Details"),Y.push(""),Y.push(Z),Y.push("");return Y.push("---"),Y.push("*This PR was automatically created by Claude Intern*"),Y.join(`
269
+ `),z=[],J=!1,V=[],_="",q=()=>{if(z.length>0){let O=z.join(" ").trim();if(O)G.push({type:"paragraph",content:C1.parseTextWithFormatting(O)});z=[]}},K=()=>{if(V.length>0)G.push({type:"codeBlock",attrs:{language:_||"text"},content:[{type:"text",text:V.join(`
270
+ `)}]}),V=[],_=""};for(let O=0;O<Q.length;O++){let A=Q[O],B=A.trim();if(B.startsWith("```")){if(J)K(),J=!1;else q(),J=!0,_=B.substring(3).trim();continue}if(J){V.push(A);continue}if(B.startsWith("#")){q();let D=Math.min(6,(B.match(/^#+/)||[""])[0].length),S=B.replace(/^#+\s*/,"");G.push({type:"heading",attrs:{level:D},content:[{type:"text",text:S}]});continue}if(B.match(/^[-*+]\s/)){q();let D=[],S=O;while(S<Q.length&&Q[S].trim().match(/^[-*+]\s/)){let L=Q[S].trim().replace(/^[-*+]\s/,"");D.push({type:"listItem",content:[{type:"paragraph",content:C1.parseTextWithFormatting(L)}]}),S++}G.push({type:"bulletList",content:D}),O=S-1;continue}if(B.match(/^\d+\.\s/)){q();let D=[],S=O;while(S<Q.length&&Q[S].trim().match(/^\d+\.\s/)){let L=Q[S].trim().replace(/^\d+\.\s/,"");D.push({type:"listItem",content:[{type:"paragraph",content:C1.parseTextWithFormatting(L)}]}),S++}G.push({type:"orderedList",content:D}),O=S-1;continue}if(B===""){q();continue}z.push(A)}return q(),K(),G.length>0?G:[{type:"paragraph",content:[{type:"text",text:"Implementation completed."}]}]}static parseTextWithFormatting($){let Z=[],Y="",G=0,Q=()=>{if(Y)Z.push({type:"text",text:Y}),Y=""};while(G<$.length){if($[G]==="`"&&$[G+1]!=="`"){Q();let z=G+1,J=$.indexOf("`",z);if(J===-1)J=$.length;Z.push({type:"text",text:$.substring(z,J),marks:[{type:"code"}]}),G=J+1;continue}if($.substring(G,G+2)==="**"){Q();let z=G+2,J=$.indexOf("**",z);if(J!==-1){Z.push({type:"text",text:$.substring(z,J),marks:[{type:"strong"}]}),G=J+2;continue}}if($[G]==="*"&&$[G+1]!=="*"){Q();let z=G+1,J=$.indexOf("*",z);if(J!==-1){Z.push({type:"text",text:$.substring(z,J),marks:[{type:"em"}]}),G=J+1;continue}}Y+=$[G],G++}return Q(),Z.length>0?Z:[{type:"text",text:$}]}static createImplementationCommentADF($,Z){let Y=[{type:"heading",attrs:{level:3},content:[{type:"emoji",attrs:{shortName:":robot:",id:"1f916",text:"\uD83E\uDD16"}},{type:"text",text:" Implementation Completed by Claude"}]}];if(Z)Y.push({type:"paragraph",content:[{type:"text",text:"Task: ",marks:[{type:"strong"}]},{type:"text",text:Z}]});Y.push({type:"paragraph",content:[{type:"text",text:"Implementation Summary:",marks:[{type:"strong"}]}]});let G=C1.formatClaudeOutputToADF($);return Y.push(...G),Y.push({type:"panel",attrs:{panelType:"info"},content:[{type:"paragraph",content:[{type:"text",text:"This implementation was generated automatically using Claude AI. Please review the changes before merging.",marks:[{type:"em"}]}]}]}),Y}static createClarityAssessmentADF($){let Z=[{type:"heading",attrs:{level:3},content:[{type:"emoji",attrs:{shortName:":robot:",id:"1f916",text:"\uD83E\uDD16"}},{type:"text",text:" Automated Task Feasibility Assessment"}]},{type:"paragraph",content:[{type:"text",text:"Clarity Score: ",marks:[{type:"strong"}]},{type:"text",text:`${$.clarityScore}/10`}]},{type:"paragraph",content:[{type:"text",text:"Status: ",marks:[{type:"strong"}]},...$.isImplementable?[{type:"emoji",attrs:{shortName:":white_check_mark:",id:"2705",text:"✅"}},{type:"text",text:" Ready for implementation"}]:[{type:"emoji",attrs:{shortName:":x:",id:"274c",text:"❌"}},{type:"text",text:" Needs fundamental clarification"}]]},{type:"paragraph",content:[{type:"text",text:"Summary: ",marks:[{type:"strong"}]},{type:"text",text:$.summary}]}];if($.issues&&$.issues.length>0){Z.push({type:"paragraph",content:[{type:"text",text:"Critical Issues Identified:",marks:[{type:"strong"}]}]});let Y=[];$.issues.forEach((G)=>{let Q=G.severity==="critical"?"\uD83D\uDD34":G.severity==="major"?"\uD83D\uDFE1":"\uD83D\uDD35";Y.push({type:"listItem",content:[{type:"paragraph",content:[{type:"text",text:`${Q} `},{type:"text",text:G.category,marks:[{type:"strong"}]},{type:"text",text:`: ${G.description}`}]}]})}),Z.push({type:"bulletList",content:Y})}if($.recommendations&&$.recommendations.length>0){Z.push({type:"paragraph",content:[{type:"text",text:"Recommendations:",marks:[{type:"strong"}]}]});let Y=[];$.recommendations.forEach((G)=>{Y.push({type:"listItem",content:[{type:"paragraph",content:[{type:"text",text:G}]}]})}),Z.push({type:"orderedList",content:Y})}if($.isImplementable&&$.clarityScore>=7)Z.push({type:"panel",attrs:{panelType:"success"},content:[{type:"paragraph",content:[{type:"text",text:"\uD83C\uDFAF Excellent! This task description provides clear requirements and context for implementation.",marks:[{type:"strong"}]}]}]});else if($.isImplementable)Z.push({type:"panel",attrs:{panelType:"info"},content:[{type:"paragraph",content:[{type:"text",text:"\uD83D\uDCA1 This task is implementable, but could benefit from additional details for even clearer requirements.",marks:[{type:"em"}]}]}]});return Z.push({type:"panel",attrs:{panelType:"note"},content:[{type:"paragraph",content:[{type:"text",text:"This assessment focuses on basic implementability. Technical details, UI/UX patterns, and implementation specifics are expected to be inferred from existing codebase.",marks:[{type:"em"}]}]}]}),Z}}class E0{static extractLinkedResources($){let Z=[];try{let Y=$.fields||{};if(Object.keys(Y).forEach((G)=>{try{let Q=Y[G],z=$.names?.[G]||G;if(Q&&typeof Q==="string"){let J=/(https?:\/\/[^\s]+)/g,V=Q.match(J);if(V)V.forEach((_)=>{Z.push({type:"custom_field_link",field:z,url:_,description:E0.categorizeLink(_)})})}else if(Q&&typeof Q==="object"&&"content"in Q){let J=Q.content;if(J&&Array.isArray(J))try{let V=JSON.stringify(J),_=/(https?:\/\/[^\s"]+)/g,q=V.match(_);if(q)q.forEach((K)=>{Z.push({type:"rich_text_link",field:z,url:K,description:E0.categorizeLink(K)})})}catch(V){console.warn(`Failed to process rich text content for field ${z}: ${V}`)}}}catch(Q){console.warn(`Failed to process field ${G}: ${Q}`)}}),Y.issuelinks)Y.issuelinks.forEach((G)=>{try{if(G.outwardIssue)Z.push({type:"issue_link",linkType:G.type.outward,issueKey:G.outwardIssue.key,summary:G.outwardIssue.fields.summary,description:`${G.type.outward} issue`});if(G.inwardIssue)Z.push({type:"issue_link",linkType:G.type.inward,issueKey:G.inwardIssue.key,summary:G.inwardIssue.fields.summary,description:`${G.type.inward} issue`})}catch(Q){console.warn(`Failed to process issue link: ${Q}`)}});if(Y.description&&typeof Y.description==="object"&&"content"in Y.description)try{let G=Y.description.content;if(G&&Array.isArray(G)){let Q=JSON.stringify(G),z=/(https?:\/\/[^\s"]+)/g,J=Q.match(z);if(J)J.forEach((V)=>{Z.push({type:"description_link",url:V,description:E0.categorizeLink(V)})})}}catch(G){console.warn(`Failed to process description links: ${G}`)}}catch(Y){console.warn(`Failed to extract linked resources: ${Y}`)}return E0.deduplicateLinkedResources(Z)}static deduplicateLinkedResources($){let Z=new Map,Y={issue_link:4,custom_field_link:3,rich_text_link:2,description_link:1};$.forEach((Q)=>{let z;if(Q.url)z=Q.url;else if(Q.issueKey)z=`issue:${Q.issueKey}`;else z=`${Q.type}:${Q.description}`;let J=Z.get(z);if(!J)Z.set(z,Q);else{let V=Y[J.type]||0,_=Y[Q.type]||0;if(_>V)Z.set(z,Q);else if(_===V){if(Q.field&&!J.field)Z.set(z,Q)}}});let G=Array.from(Z.values());if($.length!==G.length)console.log(`\uD83D\uDD17 Deduplicated linked resources: ${$.length} → ${G.length}`);return G}static categorizeLink($){if($.includes("github.com"))return"GitHub Repository/Issue";if($.includes("confluence"))return"Confluence Documentation";if($.includes("figma.com"))return"Figma Design";if($.includes("docs.google.com"))return"Google Document";if($.includes("drive.google.com"))return"Google Drive File";if($.includes("notion.so"))return"Notion Page";if($.includes("miro.com"))return"Miro Board";return"External Link"}static async getRelatedWorkItems($,Z){let Y=[],G=$.fields||{};try{if(G.issuelinks&&G.issuelinks.length>0){console.log(`\uD83D\uDD17 Found ${G.issuelinks.length} linked issues, fetching details...`);for(let z of G.issuelinks)try{if(z.outwardIssue){let J=await Z(z.outwardIssue.key),V=E0.formatRelatedIssue(J,z.type.outward,"outward");Y.push(V)}if(z.inwardIssue){let J=await Z(z.inwardIssue.key),V=E0.formatRelatedIssue(J,z.type.inward,"inward");Y.push(V)}}catch(J){console.warn(`Failed to fetch linked issue details: ${J}`)}}if(G.subtasks&&G.subtasks.length>0){console.log(`\uD83D\uDCCB Found ${G.subtasks.length} subtasks, fetching details...`);for(let z of G.subtasks)try{let J=await Z(z.key),V=E0.formatRelatedIssue(J,"Subtask","subtask");Y.push(V)}catch(J){console.warn(`Failed to fetch subtask details: ${J}`)}}if(G.parent){console.log("\uD83D\uDCCB Found parent task, fetching details...");try{let z=await Z(G.parent.key),J=E0.formatRelatedIssue(z,"Parent Task","parent");Y.push(J)}catch(z){console.warn(`Failed to fetch parent task details: ${z}`)}}if(G.epic&&G.epic.key){console.log("\uD83C\uDFAF Found epic, fetching details...");try{let z=await Z(G.epic.key),J=E0.formatRelatedIssue(z,"Epic","parent");Y.push(J)}catch(z){console.warn(`Failed to fetch epic details: ${z}`)}}let Q=G.customfield_10014||G["Epic Link"];if(Q&&typeof Q==="string"){console.log("\uD83C\uDFAF Found epic link in custom field, fetching details...");try{let z=await Z(Q),J=E0.formatRelatedIssue(z,"Epic","parent");Y.push(J)}catch(z){console.warn(`Failed to fetch epic from custom field: ${z}`)}}return console.log(`✅ Successfully fetched ${Y.length} related work items`),Y}catch(Q){return console.warn(`Error fetching related work items: ${Q}`),Y}}static formatRelatedIssue($,Z,Y){let G=$.fields||{};return{key:$.key||"Unknown",summary:G.summary||"No summary",description:G.description,renderedDescription:$.renderedFields?.description,issueType:G.issuetype?.name||"Unknown",status:G.status?.name||"Unknown",priority:G.priority?.name,assignee:G.assignee?.displayName,reporter:G.reporter?.displayName||"Unknown",created:G.created||"",updated:G.updated||"",labels:G.labels||[],components:G.components?.map((Q)=>Q?.name||"Unknown")||[],fixVersions:G.fixVersions?.map((Q)=>Q?.name||"Unknown")||[],linkType:Z,relationshipDirection:Y}}static formatIssueDetails($,Z,Y,G=[]){let Q=$.fields||{};return{key:$.key||"Unknown",summary:Q.summary||"No summary",description:Q.description,renderedDescription:$.renderedFields?.description,issueType:Q.issuetype?.name||"Unknown",status:Q.status?.name||"Unknown",priority:Q.priority?.name,assignee:Q.assignee?.displayName,reporter:Q.reporter?.displayName||"Unknown",created:Q.created||"",updated:Q.updated||"",labels:Q.labels||[],components:Q.components?.map((z)=>z?.name||"Unknown")||[],fixVersions:Q.fixVersions?.map((z)=>z?.name||"Unknown")||[],linkedResources:Y,relatedIssues:G,comments:Z.map((z)=>({id:z.id||"unknown",author:z.author?.displayName||"Unknown",body:z.body||"",renderedBody:z.renderedBody,created:z.created||"",updated:z.updated||""})),attachments:Q.attachment?.map((z)=>({filename:z?.filename||"unknown",size:z?.size||0,mimeType:z?.mimeType||"unknown",created:z?.created||"",author:z?.author?.displayName||"Unknown",content:z?.content||""}))||[]}}}import{writeFileSync as bJ,mkdirSync as EJ}from"fs";import NJ from"path";class p6{baseUrl;email;apiToken;constructor($,Z,Y){if(this.baseUrl=$.replace(/\/$/,""),this.email=Z,this.apiToken=Y,!this.apiToken||this.apiToken.length===0)throw new Error("API token is required")}async jiraApiCall($,Z,Y){let G=`${this.baseUrl}${Z}`;console.log(`\uD83C\uDF10 JIRA API Call: ${$} ${G}`);let Q=this.getAuthHeader();console.log(`\uD83D\uDD10 Auth header: Basic ${Q.replace("Basic ","").substring(0,10)}...`);let z=await fetch(G,{method:$,body:Y?Buffer.from(JSON.stringify(Y),"utf-8"):void 0,headers:{"Content-Type":"application/json; charset=utf-8",Authorization:Q}});if(!z.ok){let J=await z.text();throw console.log(`❌ JIRA API Error: ${z.status} ${z.statusText}`),console.log(` Error details: ${J}`),new Error(`JIRA API Error: ${z.status} ${z.statusText} - ${J}`)}if(z.status===204)return console.log(`\uD83D\uDCC4 Received 204 No Content response for ${Z}`),null;try{let J=await z.json();return console.log(`\uD83D\uDCC4 Successfully parsed JSON response for ${Z}`),J}catch(J){throw console.error(`❌ Failed to parse JSON response for ${Z}: ${J}`),new Error(`Failed to parse JSON response: ${J}`)}}async searchIssues($,Z=0,Y=50){let G=`/rest/api/3/search/jql?jql=${encodeURIComponent($)}&startAt=${Z}&maxResults=${Y}&expand=names,schema`;try{let Q=await this.jiraApiCall("GET",G);return console.log(`\uD83D\uDD0D Found ${Q.issues?.length||0} issues (${Q.total} total)`),{issues:Q.issues||[],total:Q.total||0}}catch(Q){throw console.error("Failed to search issues:",Q),new Error(`Failed to search issues with JQL: ${$}`)}}async getIssue($){console.log(`\uD83D\uDD0D Attempting to fetch issue: ${$}`),console.log(`\uD83D\uDCE1 JIRA Base URL: ${this.baseUrl}`),console.log(`\uD83D\uDC64 JIRA Email: ${this.email}`),console.log(`\uD83D\uDD10 API Token: ${this.apiToken?this.apiToken.substring(0,4)+"..."+this.apiToken.slice(-4):"NOT SET"}`),console.log("\uD83D\uDD10 Testing authentication...");try{let Z=await this.jiraApiCall("GET","/rest/api/3/myself");console.log(`✅ Authentication successful - logged in as: ${Z.displayName} (${Z.emailAddress})`)}catch(Z){throw console.log(`❌ Authentication test failed: ${Z}`),Z}try{console.log("⏳ Making request to JIRA API...");let Z=await this.jiraApiCall("GET",`/rest/api/3/issue/${$}?expand=renderedFields`);if(console.log(`✅ Successfully fetched issue ${$}`),console.log(`\uD83D\uDCDD Issue summary: ${Z.fields?.summary||"No summary"}`),console.log(`\uD83D\uDD0D Response keys: ${Object.keys(Z)}`),console.log(`\uD83D\uDD0D Has fields: ${!!Z.fields}`),Z.fields)console.log(`\uD83D\uDD0D Fields keys: ${Object.keys(Z.fields)}`);else console.log("⚠️ No fields found in response, this might indicate an API issue or permissions problem"),console.log("\uD83D\uDD0D Full response structure:",JSON.stringify(Z,null,2));if(!Z.fields){console.log("\uD83D\uDD04 Retrying without expand parameter...");let Y=await this.jiraApiCall("GET",`/rest/api/3/issue/${$}`);if(console.log(`\uD83D\uDD0D Fallback response has fields: ${!!Y.fields}`),Y.fields)return Y.renderedFields=Z.renderedFields||{},Y}return Z}catch(Z){throw console.error(`❌ Error fetching issue ${$}:`,Z),Z}}async getIssueComments($){try{let Z=await this.jiraApiCall("GET",`/rest/api/3/issue/${$}/comment?expand=renderedBody`);if(!Z)return console.log(`No comments found for ${$} (empty response)`),[];if(typeof Z!=="object")return console.warn(`Unexpected response type when fetching comments for ${$}: ${typeof Z}`),[];return Z.comments||[]}catch(Z){return console.warn(`Failed to fetch comments for ${$}: ${Z}`),[]}}async getIssueAttachments($){try{return(await this.getIssue($)).fields.attachment||[]}catch(Z){return console.warn(`Failed to fetch attachments for ${$}: ${Z}`),[]}}async downloadAttachment($,Z){try{console.log(`\uD83D\uDCCE Downloading attachment: ${$.filename}...`),EJ(Z,{recursive:!0});let Y=$.filename.replace(/[^a-zA-Z0-9._-]/g,"_"),G=NJ.join(Z,Y),Q=await fetch($.content,{headers:{Authorization:this.getAuthHeader()}});if(!Q.ok)throw new Error(`Failed to download attachment: ${Q.status} ${Q.statusText}`);let z=await Q.arrayBuffer();return bJ(G,Buffer.from(z)),console.log(`✅ Downloaded attachment to: ${G}`),G}catch(Y){throw console.warn(`Failed to download attachment ${$.filename}: ${Y}`),Y}}async downloadIssueAttachments($,Z){let Y=new Map;try{let G=await this.getIssueAttachments($);if(G.length===0)return console.log(`\uD83D\uDCCE No attachments found for ${$}`),Y;console.log(`\uD83D\uDCCE Found ${G.length} attachments for ${$}`);for(let Q of G)try{let z=await this.downloadAttachment(Q,Z);Y.set(Q.content,z)}catch(z){console.warn(`Skipping attachment ${Q.filename}: ${z}`)}console.log(`✅ Downloaded ${Y.size}/${G.length} attachments for ${$}`)}catch(G){console.warn(`Failed to download attachments for ${$}: ${G}`)}return Y}async downloadAttachmentsFromContent($,Z,Y){let G=Y||new Map,Q=/(?:https?:\/\/[^\/\s]+)?\/rest\/api\/[23]\/attachment\/content\/(\d+)/g,z=new Set,J;while((J=Q.exec($))!==null){let V=J[0].startsWith("http")?J[0]:`${this.baseUrl}${J[0]}`;z.add(V)}if(z.size===0)return G;console.log(`\uD83D\uDCCE Found ${z.size} attachment URLs in content`);for(let V of z){if(G.has(V))continue;try{let _=V.match(/\/attachment\/content\/(\d+)/);if(!_)continue;let q=_[1],K=V.replace("/content/","/"),O=await fetch(K,{headers:{Authorization:this.getAuthHeader()}});if(!O.ok){console.warn(`Failed to fetch attachment metadata for ${q}`);continue}let A=await O.json(),B={id:q,filename:A.filename||`attachment-${q}`,content:V,size:A.size||0,mimeType:A.mimeType||"application/octet-stream",created:A.created||new Date().toISOString(),author:A.author||{displayName:"Unknown"}},D=await this.downloadAttachment(B,Z);G.set(V,D),console.log(`✅ Downloaded embedded attachment: ${A.filename}`)}catch(_){console.warn(`Failed to download attachment from ${V}: ${_}`)}}return G}getAuthHeader(){if(this.apiToken.includes(":"))return`Basic ${Buffer.from(this.apiToken).toString("base64")}`;else return`Basic ${Buffer.from(`${this.email}:${this.apiToken}`).toString("base64")}`}extractLinkedResources($){return E0.extractLinkedResources($)}async getRelatedWorkItems($){return E0.getRelatedWorkItems($,this.getIssue.bind(this))}async postComment($,Z){try{console.log(`\uD83D\uDCAC Posting comment to issue ${$}...`);let Y={body:{type:"doc",version:1,content:[{type:"paragraph",content:[{type:"text",text:Z}]}]}};await this.jiraApiCall("POST",`/rest/api/3/issue/${$}/comment`,Y),console.log(`✅ Successfully posted comment to ${$}`)}catch(Y){throw console.warn(`Failed to post comment to ${$}: ${Y}`),Y}}async postImplementationComment($,Z,Y){try{console.log(`\uD83D\uDCAC Posting implementation comment to issue ${$}...`);let Q={body:{type:"doc",version:1,content:C1.createImplementationCommentADF(Z,Y)}};await this.jiraApiCall("POST",`/rest/api/3/issue/${$}/comment`,Q),console.log(`✅ Successfully posted implementation comment to ${$}`)}catch(G){throw console.warn(`Failed to post implementation comment to ${$}: ${G}`),G}}async postClarityComment($,Z){try{console.log(`\uD83D\uDCAC Posting clarity assessment to issue ${$}...`);let G={body:{type:"doc",version:1,content:C1.createClarityAssessmentADF(Z)}};await this.jiraApiCall("POST",`/rest/api/3/issue/${$}/comment`,G),console.log(`✅ Successfully posted clarity assessment to ${$}`)}catch(Y){throw console.warn(`Failed to post clarity assessment to ${$}: ${Y}`),Y}}async transitionIssue($,Z){try{console.log(`\uD83D\uDD04 Transitioning ${$} to "${Z}"...`);let G=(await this.jiraApiCall("GET",`/rest/api/3/issue/${$}/transitions`)).transitions,Q=G.find((J)=>J.to.name.toLowerCase()===Z.toLowerCase());if(!Q){let J=G.map((V)=>V.to.name).join(", ");throw new Error(`Status "${Z}" not available for ${$}. Available: ${J}`)}let z={transition:{id:Q.id}};await this.jiraApiCall("POST",`/rest/api/3/issue/${$}/transitions`,z),console.log(`✅ Successfully transitioned ${$} to "${Z}"`)}catch(Y){throw console.warn(`Failed to transition ${$} to "${Z}": ${Y}`),Y}}formatIssueDetails($,Z,Y,G=[]){return E0.formatIssueDetails($,Z,Y,G)}}import{existsSync as l$,mkdirSync as yJ,readFileSync as xJ,writeFileSync as kJ,unlinkSync as s$}from"fs";import{resolve as fJ,join as hJ}from"path";class o${lockFilePath;lockAcquired=!1;constructor($=process.cwd()){let Z=fJ($,".claude-intern");if(!l$(Z))yJ(Z,{recursive:!0});this.lockFilePath=hJ(Z,".pid.lock")}acquire(){try{if(l$(this.lockFilePath))try{let Z=xJ(this.lockFilePath,"utf8"),Y=JSON.parse(Z),G=Y.pid,Q=Y.timestamp;if(this.isProcessRunning(G))return{success:!1,message:`Another instance of claude-intern is already running in this directory (PID: ${G})`,pid:G};console.log(`⚠️ Found stale lock file from previous instance (PID: ${G}, started: ${new Date(Q).toLocaleString()})`),console.log(" Removing stale lock and continuing..."),s$(this.lockFilePath)}catch(Z){console.log("⚠️ Found corrupted lock file, removing and continuing..."),s$(this.lockFilePath)}let $={pid:process.pid,timestamp:new Date().toISOString(),workingDir:process.cwd()};return kJ(this.lockFilePath,JSON.stringify($,null,2),"utf8"),this.lockAcquired=!0,{success:!0,message:"Lock acquired successfully"}}catch($){return{success:!1,message:`Failed to acquire lock: ${$.message}`}}}release(){if(!this.lockAcquired)return;try{if(l$(this.lockFilePath))s$(this.lockFilePath);this.lockAcquired=!1}catch($){console.warn(`⚠️ Failed to release lock: ${$.message}`)}}isProcessRunning($){try{return process.kill($,0),!0}catch(Z){if(Z.code==="EPERM")return!0;return!1}}getLockFilePath(){return this.lockFilePath}}class r${token;baseUrl;constructor($,Z){this.token=$,this.baseUrl=Z}createPRTitle($,Z){return`[${$}] ${Z}`}convertAtlassianDocumentToString($){if(typeof $==="string")return $;let Z=(Y)=>{if(!Y)return"";return Y.map((G)=>{if(G.type==="text")return G.text||"";if(G.content)return Z(G.content);return""}).join("")};return Z($.content)}createPRBody($,Z){let Y=[`## JIRA Task: ${$.key}`,"",`**Summary:** ${$.fields.summary}`,""];if(Z)Y.push("## Implementation Details"),Y.push(""),Y.push(Z),Y.push("");return Y.push("---"),Y.push("*This PR was automatically created by Claude Intern*"),Y.join(`
271
271
  `)}}class VG extends r${constructor($,Z="https://api.github.com"){super($,Z)}async createPullRequest($){try{let[Z,Y]=$.repository.split("/"),G=`${this.baseUrl}/repos/${Z}/${Y}/pulls`,Q=await fetch(G,{method:"POST",headers:{Authorization:`Bearer ${this.token}`,Accept:"application/vnd.github.v3+json","Content-Type":"application/json","User-Agent":"claude-intern"},body:JSON.stringify({title:$.title,body:$.body,head:$.sourceBranch,base:$.targetBranch,draft:!1})});if(!Q.ok)return{success:!1,message:`GitHub PR creation failed: ${(await Q.json().catch(()=>({message:"Unknown error"}))).message||Q.statusText}`};let z=await Q.json();return{success:!0,url:z.html_url,message:`Pull request created successfully: ${z.html_url}`}}catch(Z){return{success:!1,message:`GitHub PR creation failed: ${Z.message}`}}}}class BG extends r${workspace;constructor($,Z,Y="https://api.bitbucket.org/2.0"){super($,Y);this.workspace=Z}async createPullRequest($){try{let Z=`${this.baseUrl}/repositories/${this.workspace}/${$.repository}/pullrequests`,Y=await fetch(Z,{method:"POST",headers:{Authorization:`Bearer ${this.token}`,Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify({title:$.title,description:$.body,source:{branch:{name:$.sourceBranch}},destination:{branch:{name:$.targetBranch}},close_source_branch:!1})});if(!Y.ok)return{success:!1,message:`Bitbucket PR creation failed: ${(await Y.json().catch(()=>({error:{message:"Unknown error"}}))).error?.message||Y.statusText}`};let G=await Y.json();return{success:!0,url:G.links.html.href,message:`Pull request created successfully: ${G.links.html.href}`}}catch(Z){return{success:!1,message:`Bitbucket PR creation failed: ${Z.message}`}}}}class n${githubClient;constructor(){let $=process.env.GITHUB_TOKEN;if($)this.githubClient=new VG($)}convertAtlassianDocumentToString($){if(typeof $==="string")return $;let Z=(Y)=>{if(!Y)return"";return Y.map((G)=>{if(G.type==="text")return G.text||"";if(G.content)return Z(G.content);return""}).join("")};return Z($.content)}async detectRepository(){try{let{spawn:$}=await import("child_process"),Z=$("git",["remote","get-url","origin"]),Y="";return Z.stdout.on("data",(G)=>{Y+=G.toString()}),new Promise((G)=>{Z.on("close",()=>{let Q=Y.trim();if(Q.includes("github.com")){let z=Q.match(/github\.com[:/]([^/]+)\/([^/.]+)/);if(z)return G({platform:"github",repository:`${z[1]}/${z[2]}`})}else if(Q.includes("bitbucket.org")){let z=Q.match(/bitbucket\.org[:/]([^/]+)\/([^/.]+)/);if(z)return G({platform:"bitbucket",repository:z[2],workspace:z[1]})}G({platform:"unknown",repository:""})})})}catch($){return{platform:"unknown",repository:""}}}async createPullRequest($,Z,Y="main",G){let Q=await this.detectRepository();if(Q.platform==="unknown")return{success:!1,message:"Could not detect repository platform (GitHub or Bitbucket)"};let z={title:this.createPRTitle($.key,$.fields.summary),body:this.createPRBody($,G),sourceBranch:Z,targetBranch:Y,repository:Q.repository};if(Q.platform==="github"&&this.githubClient)return await this.githubClient.createPullRequest(z);if(Q.platform==="bitbucket"){let _=process.env.BITBUCKET_TOKEN;if(!_)return{success:!1,message:"Bitbucket client not configured. Please set BITBUCKET_TOKEN environment variable."};if(!Q.workspace)return{success:!1,message:"Could not detect Bitbucket workspace from git remote URL."};return await new BG(_,Q.workspace).createPullRequest(z)}let J=Q.platform==="github"?"GitHub":"Bitbucket",V=Q.platform==="github"?"GITHUB_TOKEN":"BITBUCKET_TOKEN";return{success:!1,message:`${J} client not configured. Please set ${V} environment variable.`}}createPRTitle($,Z){return`[${$}] ${Z}`}createPRBody($,Z){let Y=[`## JIRA Task: ${$.key}`,"",`**Summary:** ${$.fields.summary}`,""];if(Z)Y.push("## Implementation Details"),Y.push(""),Y.push(Z),Y.push("");return Y.push("---"),Y.push("*This PR was automatically created by Claude Intern*"),Y.join(`
272
- `)}}import{spawn as gJ}from"child_process";import{existsSync as vJ,mkdirSync as mJ}from"fs";class d{static ensureDirectoryExists($){if(!vJ($))mJ($,{recursive:!0})}static formatDate($){try{return new Date($).toLocaleString()}catch(Z){return $}}static sanitizeFilename($){return $.replace(/[<>:"/\\|?*]/g,"_").replace(/\s+/g,"_")}static extractDomain($){try{return new URL($).hostname}catch(Z){return $}}static truncateText($,Z=100){if(!$||$.length<=Z)return $;return $.substring(0,Z-3)+"..."}static isValidUrl($){try{return new URL($),!0}catch(Z){return!1}}static formatBytes($,Z=2){if($===0)return"0 Bytes";let Y=1024,G=Z<0?0:Z,Q=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],z=Math.floor(Math.log($)/Math.log(Y));return Number.parseFloat(($/Y**z).toFixed(G))+" "+Q[z]}static sleep($){return new Promise((Z)=>setTimeout(Z,$))}static async retry($,Z=3,Y=1000){let G;for(let Q=1;Q<=Z;Q++)try{return await $()}catch(z){if(G=z,Q===Z)throw G;let J=Y*2**(Q-1);console.warn(`Attempt ${Q} failed, retrying in ${J}ms...`),await d.sleep(J)}throw G}static parseTaskKey($){let Z=$.match(/^([A-Z]+)-(\d+)$/);if(!Z)throw new Error(`Invalid JIRA task key format: ${$}`);return{project:Z[1],number:Number.parseInt(Z[2],10),key:$}}static generateTaskFilename($,Z="md"){let Y=new Date().toISOString().replace(/[:.]/g,"-");return`task-${d.sanitizeFilename($)}-${Y}.${Z}`}static async executeGitCommand($){return new Promise((Z)=>{let Y=gJ("git",$,{stdio:["pipe","pipe","pipe"]}),G="",Q="";Y.stdout.on("data",(z)=>{G+=z.toString()}),Y.stderr.on("data",(z)=>{Q+=z.toString()}),Y.on("close",(z)=>{Z({success:z===0,output:G.trim(),error:Q.trim()})})})}static async isGitRepository(){return(await d.executeGitCommand(["rev-parse","--git-dir"])).success}static async getCurrentBranch(){let $=await d.executeGitCommand(["branch","--show-current"]);return $.success?$.output:null}static async hasUncommittedChanges(){let $=await d.executeGitCommand(["status","--porcelain"]);return $.success&&$.output.length>0}static async commitChanges($,Z){try{if(!await d.isGitRepository())return{success:!1,message:"Not in a git repository"};if(!await d.hasUncommittedChanges())return{success:!1,message:"No changes to commit"};let Y=await d.executeGitCommand(["add","."]);if(!Y.success)return{success:!1,message:`Failed to stage changes: ${Y.error}`};let G=`feat: implement ${$} - ${Z}`,Q=await d.executeGitCommand(["commit","-m",G]);if(Q.success)return{success:!0,message:`Successfully committed changes for ${$}`};let z=[Q.error,Q.output].filter(Boolean).join(`
273
- `).trim();return{success:!1,message:`Failed to commit changes: ${Q.error}`,hookError:z||Q.error}}catch(Y){return{success:!1,message:`Git commit failed: ${Y.message}`}}}static async getMainBranchName(){let $=await d.executeGitCommand(["symbolic-ref","refs/remotes/origin/HEAD"]);if($.success){let G=$.output.replace("refs/remotes/origin/","");if(G)return G}if((await d.executeGitCommand(["show-ref","--verify","--quiet","refs/heads/main"])).success)return"main";if((await d.executeGitCommand(["show-ref","--verify","--quiet","refs/heads/master"])).success)return"master";return"main"}static async pushCurrentBranch(){try{let $=await d.getCurrentBranch();if(!$)return{success:!1,message:"Could not determine current branch"};let Z=await d.executeGitCommand(["ls-remote","--heads","origin",$]),Y;if(Z.success&&Z.output.trim()){if(Y=await d.executeGitCommand(["push","origin",$]),Y.success)return{success:!0,message:`Successfully pushed '${$}' to remote`}}else if(Y=await d.executeGitCommand(["push","-u","origin",$]),Y.success)return{success:!0,message:`Successfully pushed '${$}' to remote and set upstream`};let G=[Y.error,Y.output].filter(Boolean).join(`
274
- `).trim(),Q=G.includes("[rejected]")&&G.includes("non-fast-forward"),z=G.includes("fetch first")||G.includes("Updates were rejected");if(Q||z)return{success:!1,message:`Push rejected - branch diverged from remote. Run 'git pull --rebase' or 'git push --force' (dangerous): ${Y.error}`};return{success:!1,message:`Failed to push branch: ${Y.error}`,hookError:G||Y.error}}catch($){return{success:!1,message:`Git push failed: ${$.message}`}}}static async createFeatureBranch($,Z){let Y=`feature/${$.toLowerCase()}`,G=Y,Q=1;try{if(!await d.isGitRepository())return{success:!1,branchName:G,message:"Not in a git repository"};if(await d.hasUncommittedChanges())return{success:!1,branchName:G,message:"There are uncommitted changes. Please commit or stash them before creating a feature branch."};let z=Z||await d.getMainBranchName();if(await d.getCurrentBranch()!==z){let _=await d.executeGitCommand(["checkout",z]);if(!_.success&&!Z){let q=z==="main"?"master":"main";if((await d.executeGitCommand(["show-ref","--verify","--quiet",`refs/heads/${q}`])).success)console.log(`⚠️ Branch '${z}' not found, trying '${q}'...`),z=q,_=await d.executeGitCommand(["checkout",q])}if(!_.success)return{success:!1,branchName:G,message:`Failed to switch to ${z} branch: ${_.error}`}}while(!0){if(!(await d.executeGitCommand(["show-ref","--verify","--quiet",`refs/heads/${G}`])).success)break;Q++,G=`${Y}-attempt-${Q}`}let V=await d.executeGitCommand(["checkout","-b",G]);if(V.success){let _=Q===1?`Created and switched to new branch '${G}' from ${z}`:`Created and switched to new branch '${G}' from ${z} (previous attempts existed)`;return{success:!0,branchName:G,message:_}}return{success:!1,branchName:G,message:`Failed to create branch: ${V.error}`}}catch(z){return{success:!1,branchName:G,message:`Git operation failed: ${z.message}`}}}}var __dirname="/Users/daniil/Documents/Projects/personal/claude-intern/src";async function uJ(){let $=R0(process.cwd(),".claude-intern"),Z=T0($,".env"),Y=T0($,".env.sample");if(console.log("\uD83D\uDE80 Initializing Claude Intern for this project..."),o0($)){if(console.log(`
275
- ⚠️ Configuration folder already exists: ${$}`),o0(Z))console.log("✅ .env file found");else console.log("⚠️ .env file not found");console.log(`
276
- \uD83D\uDCA1 To reconfigure, either:`),console.log(` 1. Delete the folder: rm -rf ${$}`),console.log(" 2. Or edit the files directly");return}try{IG($,{recursive:!0}),console.log(`✅ Created configuration folder: ${$}`)}catch(q){console.error(`❌ Failed to create configuration folder: ${q}`),process.exit(1)}let G=`# Claude Intern Environment Configuration
272
+ `)}}import{spawn as gJ}from"child_process";import{existsSync as vJ,mkdirSync as mJ}from"fs";class d{static ensureDirectoryExists($){if(!vJ($))mJ($,{recursive:!0})}static formatDate($){try{return new Date($).toLocaleString()}catch(Z){return $}}static sanitizeFilename($){return $.replace(/[<>:"/\\|?*]/g,"_").replace(/\s+/g,"_")}static extractDomain($){try{return new URL($).hostname}catch(Z){return $}}static truncateText($,Z=100){if(!$||$.length<=Z)return $;return $.substring(0,Z-3)+"..."}static isValidUrl($){try{return new URL($),!0}catch(Z){return!1}}static formatBytes($,Z=2){if($===0)return"0 Bytes";let Y=1024,G=Z<0?0:Z,Q=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],z=Math.floor(Math.log($)/Math.log(Y));return Number.parseFloat(($/Y**z).toFixed(G))+" "+Q[z]}static sleep($){return new Promise((Z)=>setTimeout(Z,$))}static async retry($,Z=3,Y=1000){let G;for(let Q=1;Q<=Z;Q++)try{return await $()}catch(z){if(G=z,Q===Z)throw G;let J=Y*2**(Q-1);console.warn(`Attempt ${Q} failed, retrying in ${J}ms...`),await d.sleep(J)}throw G}static parseTaskKey($){let Z=$.match(/^([A-Z]+)-(\d+)$/);if(!Z)throw new Error(`Invalid JIRA task key format: ${$}`);return{project:Z[1],number:Number.parseInt(Z[2],10),key:$}}static generateTaskFilename($,Z="md"){let Y=new Date().toISOString().replace(/[:.]/g,"-");return`task-${d.sanitizeFilename($)}-${Y}.${Z}`}static async executeGitCommand($,Z){let Y=Z?.verbose??!1;if(Y)console.log(`\uD83D\uDD27 Executing: git ${$.join(" ")}`);return new Promise((G)=>{let Q=gJ("git",$,{stdio:["pipe","pipe","pipe"]}),z="",J="";Q.stdout.on("data",(V)=>{let _=V.toString();if(z+=_,Y)process.stdout.write(_)}),Q.stderr.on("data",(V)=>{let _=V.toString();if(J+=_,Y)process.stderr.write(_)}),Q.on("close",(V)=>{let _={success:V===0,output:z.trim(),error:J.trim()};if(Y)if(!_.success){if(console.error(`❌ Git command failed (exit code ${V})`),_.error)console.error(` Error: ${_.error}`);if(_.output)console.error(` Output: ${_.output}`)}else console.log("✅ Git command succeeded");G(_)})})}static async isGitRepository(){return(await d.executeGitCommand(["rev-parse","--git-dir"])).success}static async getCurrentBranch(){let $=await d.executeGitCommand(["branch","--show-current"]);return $.success?$.output:null}static async hasUncommittedChanges(){let $=await d.executeGitCommand(["status","--porcelain"]);return $.success&&$.output.length>0}static async commitChanges($,Z,Y){let G=Y?.verbose??!1;try{if(!await d.isGitRepository())return{success:!1,message:"Not in a git repository"};if(!await d.hasUncommittedChanges())return{success:!1,message:"No changes to commit"};let Q=await d.executeGitCommand(["add","."],{verbose:G});if(!Q.success)return{success:!1,message:`Failed to stage changes: ${Q.error}`};let z=`feat: implement ${$} - ${Z}`,J=await d.executeGitCommand(["commit","-m",z],{verbose:G});if(J.success)return{success:!0,message:`Successfully committed changes for ${$}`};let V=[J.error,J.output].filter(Boolean).join(`
273
+ `).trim();return{success:!1,message:`Failed to commit changes: ${J.error}`,hookError:V||J.error}}catch(Q){return{success:!1,message:`Git commit failed: ${Q.message}`}}}static async getMainBranchName(){let $=await d.executeGitCommand(["symbolic-ref","refs/remotes/origin/HEAD"]);if($.success){let G=$.output.replace("refs/remotes/origin/","");if(G)return G}if((await d.executeGitCommand(["show-ref","--verify","--quiet","refs/heads/main"])).success)return"main";if((await d.executeGitCommand(["show-ref","--verify","--quiet","refs/heads/master"])).success)return"master";return"main"}static async pushCurrentBranch($){let Z=$?.verbose??!1;try{let Y=await d.getCurrentBranch();if(!Y)return{success:!1,message:"Could not determine current branch"};if(Z)console.log(`\uD83D\uDCE4 Pushing branch '${Y}' to remote...`);let G=await d.executeGitCommand(["ls-remote","--heads","origin",Y],{verbose:Z}),Q;if(G.success&&G.output.trim()){if(Q=await d.executeGitCommand(["push","origin",Y],{verbose:Z}),Q.success)return{success:!0,message:`Successfully pushed '${Y}' to remote`}}else if(Q=await d.executeGitCommand(["push","-u","origin",Y],{verbose:Z}),Q.success)return{success:!0,message:`Successfully pushed '${Y}' to remote and set upstream`};let z=[Q.error,Q.output].filter(Boolean).join(`
274
+ `).trim(),J=z.includes("[rejected]")&&z.includes("non-fast-forward"),V=z.includes("fetch first")||z.includes("Updates were rejected");if(J||V)return{success:!1,message:`Push rejected - branch diverged from remote. Run 'git pull --rebase' or 'git push --force' (dangerous): ${Q.error}`};return{success:!1,message:`Failed to push branch: ${Q.error}`,hookError:z||Q.error}}catch(Y){return{success:!1,message:`Git push failed: ${Y.message}`}}}static async createFeatureBranch($,Z){let Y=`feature/${$.toLowerCase()}`,G=Y,Q=1;try{if(!await d.isGitRepository())return{success:!1,branchName:G,message:"Not in a git repository"};if(await d.hasUncommittedChanges())return{success:!1,branchName:G,message:"There are uncommitted changes. Please commit or stash them before creating a feature branch."};let z=Z||await d.getMainBranchName();if(await d.getCurrentBranch()!==z){let _=await d.executeGitCommand(["checkout",z]);if(!_.success&&!Z){let q=z==="main"?"master":"main";if((await d.executeGitCommand(["show-ref","--verify","--quiet",`refs/heads/${q}`])).success)console.log(`⚠️ Branch '${z}' not found, trying '${q}'...`),z=q,_=await d.executeGitCommand(["checkout",q])}if(!_.success)return{success:!1,branchName:G,message:`Failed to switch to ${z} branch: ${_.error}`}}while(!0){if(!(await d.executeGitCommand(["show-ref","--verify","--quiet",`refs/heads/${G}`])).success)break;Q++,G=`${Y}-attempt-${Q}`}let V=await d.executeGitCommand(["checkout","-b",G]);if(V.success){let _=Q===1?`Created and switched to new branch '${G}' from ${z}`:`Created and switched to new branch '${G}' from ${z} (previous attempts existed)`;return{success:!0,branchName:G,message:_}}return{success:!1,branchName:G,message:`Failed to create branch: ${V.error}`}}catch(z){return{success:!1,branchName:G,message:`Git operation failed: ${z.message}`}}}}var __dirname="/Users/daniil/Documents/Projects/personal/claude-intern/src";async function uJ(){let $=T0(process.cwd(),".claude-intern"),Z=I0($,".env"),Y=I0($,".env.sample");if(console.log("\uD83D\uDE80 Initializing Claude Intern for this project..."),r0($)){if(console.log(`
275
+ ⚠️ Configuration folder already exists: ${$}`),r0(Z))console.log("✅ .env file found");else console.log("⚠️ .env file not found");console.log(`
276
+ \uD83D\uDCA1 To reconfigure, either:`),console.log(` 1. Delete the folder: rm -rf ${$}`),console.log(" 2. Or edit the files directly");return}try{FG($,{recursive:!0}),console.log(`✅ Created configuration folder: ${$}`)}catch(q){console.error(`❌ Failed to create configuration folder: ${q}`),process.exit(1)}let G=`# Claude Intern Environment Configuration
277
277
  # Copy this file to .env and update with your actual values
278
278
 
279
279
  # JIRA Configuration
@@ -315,33 +315,33 @@ CLAUDE_CLI_PATH=claude
315
315
  # BITBUCKET_TOKEN=your-bitbucket-app-password-here
316
316
 
317
317
  # Note: Bitbucket workspace is automatically detected from your git remote URL
318
- `;try{C1(Y,G,"utf8"),console.log(`✅ Created template file: ${Y}`)}catch(q){console.error(`❌ Failed to create .env.sample: ${q}`),process.exit(1)}try{C1(Z,G,"utf8"),console.log(`✅ Created configuration file: ${Z}`)}catch(q){console.error(`❌ Failed to create .env file: ${q}`),process.exit(1)}let Q=T0($,"settings.json"),J=JSON.stringify({projects:{"PROJECT-KEY":{prStatus:"In Review"}}},null,2);try{C1(Q,J,"utf8"),console.log(`✅ Created settings file: ${Q}`)}catch(q){console.error(`❌ Failed to create settings.json: ${q}`),process.exit(1)}let V=T0(process.cwd(),".gitignore"),_=[".claude-intern/.env",".claude-intern/.env.local",".claude-intern/.pid.lock"];try{let q="",K=!1;if(o0(V))q=c6(V,"utf8"),K=!0;let O=_.filter((A)=>!q.includes(A));if(O.length>0){let A=["","# Claude Intern - Keep credentials secure",...O].join(`
318
+ `;try{j1(Y,G,"utf8"),console.log(`✅ Created template file: ${Y}`)}catch(q){console.error(`❌ Failed to create .env.sample: ${q}`),process.exit(1)}try{j1(Z,G,"utf8"),console.log(`✅ Created configuration file: ${Z}`)}catch(q){console.error(`❌ Failed to create .env file: ${q}`),process.exit(1)}let Q=I0($,"settings.json"),J=JSON.stringify({projects:{"PROJECT-KEY":{prStatus:"In Review"}}},null,2);try{j1(Q,J,"utf8"),console.log(`✅ Created settings file: ${Q}`)}catch(q){console.error(`❌ Failed to create settings.json: ${q}`),process.exit(1)}let V=I0(process.cwd(),".gitignore"),_=[".claude-intern/.env",".claude-intern/.env.local",".claude-intern/.pid.lock"];try{let q="",K=!1;if(r0(V))q=c6(V,"utf8"),K=!0;let O=_.filter((A)=>!q.includes(A));if(O.length>0){let A=["","# Claude Intern - Keep credentials secure",...O].join(`
319
319
  `);if(q&&!q.endsWith(`
320
320
  `))q+=`
321
- `;C1(V,q+A+`
321
+ `;j1(V,q+A+`
322
322
  `,"utf8"),console.log(`✅ Updated .gitignore to exclude ${O.join(", ")}`)}else if(K)console.log("✅ .gitignore already excludes .claude-intern/.env")}catch(q){console.warn(`⚠️ Could not update .gitignore automatically: ${q}`),console.log(" Please manually add '.claude-intern/.env' to your .gitignore")}console.log(`
323
323
  \uD83C\uDF89 Project initialized successfully!`),console.log(`
324
- \uD83D\uDCDD Next steps:`),console.log(` 1. Edit ${Z}`),console.log(" - Add your JIRA credentials"),console.log(` 2. Edit ${Q} (optional)`),console.log(" - Configure per-project PR status transitions"),console.log(" 3. Run 'claude-intern <TASK-KEY>' to start working on tasks")}function cJ(){let $=R0(process.cwd(),".claude-intern","settings.json");if(!o0($))return null;try{let Z=c6($,"utf8");return JSON.parse(Z)}catch(Z){return console.warn(`⚠️ Failed to parse settings.json: ${Z}`),null}}function dJ($,Z){return Z?.projects?.[$]?.prStatus}function SG($){if($){let G=R0($);if(o0(G)){a8.config({path:G}),console.log(`\uD83D\uDCC1 Loaded environment from custom file: ${G}`);return}console.error(`❌ Specified .env file not found: ${G}`),process.exit(1)}let Z=[R0(process.cwd(),".claude-intern",".env"),R0(process.cwd(),".env"),R0(process.env.HOME||"~",".env"),R0(__dirname,"..",".env")],Y=!1;for(let G of Z)if(o0(G)){a8.config({path:G}),Y=!0;break}if(!Y){let G=R0(process.cwd(),".env");if(o0(G))a8.config({path:G})}}if(process.argv[2]==="init")(async()=>{await uJ(),process.exit(0)})();else SG();function HG($){try{let Y=process.platform==="win32"?"where":"which";return pJ(`${Y} ${$}`,{encoding:"utf8",stdio:"pipe"}).trim().split(`
325
- `)[0]}catch{return null}}function DG($){let Z=$;if(!Z)Z=process.env.CLAUDE_CLI_PATH||"claude";if($&&$!=="claude"&&!$.includes("/")){let G=HG($);if(G)return G;return $}if(Z.startsWith("/")||Z.includes(":"))return Z;if(Z.includes("/")){let G=R0(process.cwd(),Z);if(o0(G))return G}let Y=HG(Z);if(Y)return Y;return Z}S6.name("claude-intern").description("Your AI intern for automatically implementing JIRA tasks using Claude. Supports single tasks, multiple tasks, or JQL queries for batch processing.").version("1.1.2").argument("[task-keys...]","JIRA task key(s) (e.g., PROJ-123) or use --jql for query-based selection").option("--jql <query>",`JQL query to fetch multiple issues (e.g., "project = PROJ AND status = 'To Do'")`).option("--no-claude","Skip running Claude, just fetch and format the task").option("--claude-path <path>","Path to Claude CLI executable",DG()).option("--env-file <path>","Path to .env file").option("--no-git","Skip git branch creation").option("-v, --verbose","Verbose output").option("--max-turns <number>","Maximum number of turns for Claude","25").option("--no-auto-commit","Skip automatic git commit after Claude completes").option("--skip-clarity-check","Skip running Claude for clarity assessment").option("--create-pr","Create pull request after implementation").option("--pr-target-branch <branch>","Target branch for pull request","main").option("--skip-jira-comments","Skip posting comments to JIRA (for testing)").option("--hook-retries <number>","Number of retry attempts for git hook failures","10");S6.parse();var t=S6.opts(),_G=S6.args;if(t.envFile)SG(t.envFile);else if(t.verbose)console.log("⚠️ No .env file found in standard locations"),console.log(" Checked:"),[R0(process.cwd(),".claude-intern",".env"),R0(process.cwd(),".env"),R0(process.env.HOME||"~",".env"),R0(__dirname,"..",".env")].forEach((Z)=>console.log(` - ${Z}`));var u6=DG(t.claudePath);if(t.verbose)console.log(`\uD83E\uDD16 Claude CLI path resolved to: ${u6}`);function OG(){let Z=["JIRA_BASE_URL","JIRA_EMAIL","JIRA_API_TOKEN"].filter((Y)=>!process.env[Y]);if(Z.length>0)console.error("❌ Missing required environment variables:"),Z.forEach((Y)=>console.error(` - ${Y}`)),console.error(`
326
- Please ensure you have a .env file in one of these locations:`),console.error(` - Project-specific: ${R0(process.cwd(),".claude-intern",".env")}`),console.error(` - Current directory: ${R0(process.cwd(),".env")}`),console.error(` - Home directory: ${R0(process.env.HOME||"~",".env")}`),console.error(`
324
+ \uD83D\uDCDD Next steps:`),console.log(` 1. Edit ${Z}`),console.log(" - Add your JIRA credentials"),console.log(` 2. Edit ${Q} (optional)`),console.log(" - Configure per-project PR status transitions"),console.log(" 3. Run 'claude-intern <TASK-KEY>' to start working on tasks")}function cJ(){let $=T0(process.cwd(),".claude-intern","settings.json");if(!r0($))return null;try{let Z=c6($,"utf8");return JSON.parse(Z)}catch(Z){return console.warn(`⚠️ Failed to parse settings.json: ${Z}`),null}}function dJ($,Z){return Z?.projects?.[$]?.prStatus}function SG($){if($){let G=T0($);if(r0(G)){a8.config({path:G}),console.log(`\uD83D\uDCC1 Loaded environment from custom file: ${G}`);return}console.error(`❌ Specified .env file not found: ${G}`),process.exit(1)}let Z=[T0(process.cwd(),".claude-intern",".env"),T0(process.cwd(),".env"),T0(process.env.HOME||"~",".env"),T0(__dirname,"..",".env")],Y=!1;for(let G of Z)if(r0(G)){a8.config({path:G}),Y=!0;break}if(!Y){let G=T0(process.cwd(),".env");if(r0(G))a8.config({path:G})}}if(process.argv[2]==="init")(async()=>{await uJ(),process.exit(0)})();else SG();function HG($){try{let Y=process.platform==="win32"?"where":"which";return pJ(`${Y} ${$}`,{encoding:"utf8",stdio:"pipe"}).trim().split(`
325
+ `)[0]}catch{return null}}function DG($){let Z=$;if(!Z)Z=process.env.CLAUDE_CLI_PATH||"claude";if($&&$!=="claude"&&!$.includes("/")){let G=HG($);if(G)return G;return $}if(Z.startsWith("/")||Z.includes(":"))return Z;if(Z.includes("/")){let G=T0(process.cwd(),Z);if(r0(G))return G}let Y=HG(Z);if(Y)return Y;return Z}S6.name("claude-intern").description("Your AI intern for automatically implementing JIRA tasks using Claude. Supports single tasks, multiple tasks, or JQL queries for batch processing.").version("1.1.2").argument("[task-keys...]","JIRA task key(s) (e.g., PROJ-123) or use --jql for query-based selection").option("--jql <query>",`JQL query to fetch multiple issues (e.g., "project = PROJ AND status = 'To Do'")`).option("--no-claude","Skip running Claude, just fetch and format the task").option("--claude-path <path>","Path to Claude CLI executable",DG()).option("--env-file <path>","Path to .env file").option("--no-git","Skip git branch creation").option("-v, --verbose","Verbose output").option("--max-turns <number>","Maximum number of turns for Claude","25").option("--no-auto-commit","Skip automatic git commit after Claude completes").option("--skip-clarity-check","Skip running Claude for clarity assessment").option("--create-pr","Create pull request after implementation").option("--pr-target-branch <branch>","Target branch for pull request","main").option("--skip-jira-comments","Skip posting comments to JIRA (for testing)").option("--hook-retries <number>","Number of retry attempts for git hook failures","10");S6.parse();var n=S6.opts(),_G=S6.args;if(n.envFile)SG(n.envFile);else if(n.verbose)console.log("⚠️ No .env file found in standard locations"),console.log(" Checked:"),[T0(process.cwd(),".claude-intern",".env"),T0(process.cwd(),".env"),T0(process.env.HOME||"~",".env"),T0(__dirname,"..",".env")].forEach((Z)=>console.log(` - ${Z}`));var u6=DG(n.claudePath);if(n.verbose)console.log(`\uD83E\uDD16 Claude CLI path resolved to: ${u6}`);function OG(){let Z=["JIRA_BASE_URL","JIRA_EMAIL","JIRA_API_TOKEN"].filter((Y)=>!process.env[Y]);if(Z.length>0)console.error("❌ Missing required environment variables:"),Z.forEach((Y)=>console.error(` - ${Y}`)),console.error(`
326
+ Please ensure you have a .env file in one of these locations:`),console.error(` - Project-specific: ${T0(process.cwd(),".claude-intern",".env")}`),console.error(` - Current directory: ${T0(process.cwd(),".env")}`),console.error(` - Home directory: ${T0(process.env.HOME||"~",".env")}`),console.error(`
327
327
  Or specify a custom .env file with --env-file <path>`),console.error("Or set these environment variables in your shell."),console.error(`
328
- \uD83D\uDCA1 Quick start: Run 'claude-intern init' to create project-specific configuration`),process.exit(1)}async function iJ($,Z=0,Y=1){try{let G=Y>1?`[${Z+1}/${Y}] `:"";console.log(`${G}\uD83D\uDD0D Fetching JIRA task: ${$}`),OG();let Q=new p6(process.env.JIRA_BASE_URL,process.env.JIRA_EMAIL,process.env.JIRA_API_TOKEN);if(t.verbose)console.log("\uD83D\uDCE5 Fetching issue details...");let z=await Q.getIssue($);if(t.verbose)console.log("\uD83D\uDCAC Fetching comments...");console.log("\uD83D\uDCAC Fetching comments...");let J=await Q.getIssueComments($);if(console.log(`✅ Successfully fetched ${J.length} comments`),t.verbose)console.log("\uD83D\uDD17 Extracting linked resources...");console.log("\uD83D\uDD17 Extracting linked resources...");let V=Q.extractLinkedResources(z);console.log(`✅ Successfully extracted ${V.length} linked resources`),console.log("\uD83D\uDD17 Fetching related work items...");let _=await Q.getRelatedWorkItems(z);console.log(`✅ Successfully fetched ${_.length} related work items`),console.log("\uD83D\uDCDD Formatting task details..."),console.log("\uD83D\uDD0D Issue structure:",JSON.stringify({key:z.key,hasFields:!!z.fields,fieldKeys:z.fields?Object.keys(z.fields):[],summary:z.fields?.summary,issueType:z.fields?.issuetype},null,2));let q;try{q=Q.formatIssueDetails(z,J,V,_),console.log("✅ Successfully formatted task details")}catch(T){throw console.error("❌ Error formatting task details:",T),T}if(console.log(`
329
- \uD83D\uDCCB Task Summary:`),console.log(` Key: ${q.key}`),console.log(` Summary: ${q.summary}`),console.log(` Type: ${q.issueType}`),console.log(` Status: ${q.status}`),console.log(` Priority: ${q.priority||"Not specified"}`),console.log(` Assignee: ${q.assignee||"Unassigned"}`),V.length>0){if(console.log(` Linked Resources: ${V.length} found`),t.verbose)V.forEach((T)=>{if(T.url)console.log(` - ${T.description}: ${T.url}`);else if(T.issueKey)console.log(` - ${T.linkType}: ${T.issueKey}`)})}if(_.length>0){if(console.log(` Related Work Items: ${_.length} found`),t.verbose)_.forEach((T)=>{console.log(` - ${T.linkType}: ${T.key} - ${T.summary} (${T.status})`)})}if(J.length>0)console.log(` Comments: ${J.length} found`);let K=process.env.CLAUDE_INTERN_OUTPUT_DIR||"/tmp/claude-intern-tasks",O=T0(K,$.toLowerCase()),A="task-details.md";IG(O,{recursive:!0});let B=T0(O,A),D=T0(O,"attachments"),S;if(q.attachments.length>0)console.log(`
328
+ \uD83D\uDCA1 Quick start: Run 'claude-intern init' to create project-specific configuration`),process.exit(1)}async function iJ($,Z=0,Y=1){try{let G=Y>1?`[${Z+1}/${Y}] `:"";console.log(`${G}\uD83D\uDD0D Fetching JIRA task: ${$}`),OG();let Q=new p6(process.env.JIRA_BASE_URL,process.env.JIRA_EMAIL,process.env.JIRA_API_TOKEN);if(n.verbose)console.log("\uD83D\uDCE5 Fetching issue details...");let z=await Q.getIssue($);if(n.verbose)console.log("\uD83D\uDCAC Fetching comments...");console.log("\uD83D\uDCAC Fetching comments...");let J=await Q.getIssueComments($);if(console.log(`✅ Successfully fetched ${J.length} comments`),n.verbose)console.log("\uD83D\uDD17 Extracting linked resources...");console.log("\uD83D\uDD17 Extracting linked resources...");let V=Q.extractLinkedResources(z);console.log(`✅ Successfully extracted ${V.length} linked resources`),console.log("\uD83D\uDD17 Fetching related work items...");let _=await Q.getRelatedWorkItems(z);console.log(`✅ Successfully fetched ${_.length} related work items`),console.log("\uD83D\uDCDD Formatting task details..."),console.log("\uD83D\uDD0D Issue structure:",JSON.stringify({key:z.key,hasFields:!!z.fields,fieldKeys:z.fields?Object.keys(z.fields):[],summary:z.fields?.summary,issueType:z.fields?.issuetype},null,2));let q;try{q=Q.formatIssueDetails(z,J,V,_),console.log("✅ Successfully formatted task details")}catch(T){throw console.error("❌ Error formatting task details:",T),T}if(console.log(`
329
+ \uD83D\uDCCB Task Summary:`),console.log(` Key: ${q.key}`),console.log(` Summary: ${q.summary}`),console.log(` Type: ${q.issueType}`),console.log(` Status: ${q.status}`),console.log(` Priority: ${q.priority||"Not specified"}`),console.log(` Assignee: ${q.assignee||"Unassigned"}`),V.length>0){if(console.log(` Linked Resources: ${V.length} found`),n.verbose)V.forEach((T)=>{if(T.url)console.log(` - ${T.description}: ${T.url}`);else if(T.issueKey)console.log(` - ${T.linkType}: ${T.issueKey}`)})}if(_.length>0){if(console.log(` Related Work Items: ${_.length} found`),n.verbose)_.forEach((T)=>{console.log(` - ${T.linkType}: ${T.key} - ${T.summary} (${T.status})`)})}if(J.length>0)console.log(` Comments: ${J.length} found`);let K=process.env.CLAUDE_INTERN_OUTPUT_DIR||"/tmp/claude-intern-tasks",O=I0(K,$.toLowerCase()),A="task-details.md";FG(O,{recursive:!0});let B=I0(O,A),D=I0(O,"attachments"),S;if(q.attachments.length>0)console.log(`
330
330
  \uD83D\uDCCE Downloading ${q.attachments.length} direct attachments...`),S=await Q.downloadIssueAttachments($,D);else S=new Map;console.log(`
331
331
  \uD83D\uDD0D Scanning content for embedded attachments...`);let L="";if(q.renderedDescription)L+=q.renderedDescription;if(q.comments.forEach((T)=>{if(T.renderedBody)L+=T.renderedBody}),_.forEach((T)=>{if(T.renderedDescription)L+=T.renderedDescription}),L)S=await Q.downloadAttachmentsFromContent(L,D,S);if(S.size>0)console.log(`✅ Downloaded ${S.size} total attachments to: ${D}`);if(console.log(`
332
- \uD83D\uDCBE Saving formatted task details to: ${B}`),n8.saveFormattedTask(q,B,process.env.JIRA_BASE_URL,S),t.claude){if(t.git){console.log(`
333
- \uD83C\uDF3F Creating feature branch...`);let T=await d.createFeatureBranch($,t.prTargetBranch);if(T.success)console.log(`✅ ${T.message}`);else if(T.message.includes("uncommitted changes"))console.error(`❌ ${T.message}`),console.error("Please commit or stash your changes before running claude-intern."),console.error('You can use: git add . && git commit -m "your commit message"'),process.exit(1);else console.log(`⚠️ ${T.message}`),console.log("Continuing without creating a feature branch...")}if(!t.skipClarityCheck){console.log(`
334
- \uD83D\uDD0D Running basic feasibility assessment...`),console.log(" (Checking for fundamental requirements only - technical details will be inferred from code)");let{tmpdir:T}=b0("os"),R=T0(T(),`clarity-${$.toLowerCase()}-${Date.now()}.md`);n8.saveClarityAssessment(q,R,process.env.JIRA_BASE_URL,S);try{let v=await sJ(R,u6,$,Q,t.skipJiraComments);if(v&&!v.isImplementable)if(Y>1)console.log(`
332
+ \uD83D\uDCBE Saving formatted task details to: ${B}`),n8.saveFormattedTask(q,B,process.env.JIRA_BASE_URL,S),n.claude){if(n.git){console.log(`
333
+ \uD83C\uDF3F Creating feature branch...`);let T=await d.createFeatureBranch($,n.prTargetBranch);if(T.success)console.log(`✅ ${T.message}`);else if(T.message.includes("uncommitted changes"))console.error(`❌ ${T.message}`),console.error("Please commit or stash your changes before running claude-intern."),console.error('You can use: git add . && git commit -m "your commit message"'),process.exit(1);else console.log(`⚠️ ${T.message}`),console.log("Continuing without creating a feature branch...")}if(!n.skipClarityCheck){console.log(`
334
+ \uD83D\uDD0D Running basic feasibility assessment...`),console.log(" (Checking for fundamental requirements only - technical details will be inferred from code)");let{tmpdir:T}=b0("os"),R=I0(T(),`clarity-${$.toLowerCase()}-${Date.now()}.md`);n8.saveClarityAssessment(q,R,process.env.JIRA_BASE_URL,S);try{let v=await sJ(R,u6,$,Q,n.skipJiraComments);if(v&&!v.isImplementable)if(Y>1)console.log(`
335
335
  ⚠️ Task ${$} failed clarity assessment but continuing with batch processing...`);else process.exit(1);try{b0("fs").unlinkSync(R)}catch($0){}}catch(v){console.warn("⚠️ Feasibility check failed, continuing with implementation:",v),console.log(" You can skip feasibility checks with --skip-clarity-check");try{b0("fs").unlinkSync(R)}catch($0){}}}console.log(`
336
- \uD83E\uDD16 Running Claude with task details...`),await rJ(B,u6,Number.parseInt(t.maxTurns),$,q.summary,t.git&&t.autoCommit,z,t.createPr,t.prTargetBranch,Q,t.skipJiraComments,Number.parseInt(t.hookRetries))}else console.log(`
337
- ✅ Task details saved. You can now:`),console.log(" 1. Create a feature branch manually:"),console.log(` git checkout -b feature/${$.toLowerCase()}`),console.log(" 2. Run clarity check:"),console.log(` ${u6} -p --dangerously-skip-permissions --max-turns 10 < ${B.replace(".md","-clarity.md")}`),console.log(" 3. Run Claude:"),console.log(` ${u6} -p --dangerously-skip-permissions --max-turns ${t.maxTurns} < ${B}`),console.log(" 4. Commit changes:"),console.log(' git add . && git commit -m "feat: implement task"'),console.log(`
338
- Or run this script again with the same task key to automatically create the branch, run clarity check, invoke Claude, and commit changes.`)}catch(G){let Q=G,z=Y>1?`[${Z+1}/${Y}] `:"";if(console.error(`${z}❌ Error processing ${$}: ${Q.message}`),t.verbose&&Q.stack)console.error(Q.stack);if(Y>1)throw G;process.exit(1)}}var w0=null;async function lJ(){try{w0=new o$;let $=w0.acquire();if(!$.success){if(console.error(`❌ ${$.message}`),console.error(" Please wait for the other instance to complete or stop it manually."),$.pid)console.error(` You can stop the other instance with: kill ${$.pid}`);process.exit(1)}OG();let Z=[];if(t.jql){console.log(`\uD83D\uDD0D Searching JIRA with JQL: ${t.jql}`);let Q=await new p6(process.env.JIRA_BASE_URL,process.env.JIRA_EMAIL,process.env.JIRA_API_TOKEN).searchIssues(t.jql);if(Q.issues.length===0){console.log("⚠️ No issues found matching the JQL query");return}Z=Q.issues.map((z)=>z.key),console.log(`\uD83D\uDCCB Found ${Z.length} tasks to process: ${Z.join(", ")}`)}else if(_G.length>0)Z=_G,console.log(`\uD83D\uDCCB Processing ${Z.length} task(s): ${Z.join(", ")}`);else console.error("❌ Error: No tasks specified. Provide task keys as arguments or use --jql option."),console.error(" Examples:"),console.error(" claude-intern PROJ-123"),console.error(" claude-intern PROJ-123 PROJ-124 PROJ-125"),console.error(` claude-intern --jql "project = PROJ AND status = 'To Do'"`),process.exit(1);let Y={total:Z.length,successful:0,failed:0,errors:[]};for(let G=0;G<Z.length;G++){let Q=Z[G];try{if(await iJ(Q,G,Z.length),Y.successful++,G<Z.length-1)console.log(`
336
+ \uD83E\uDD16 Running Claude with task details...`),await rJ(B,u6,Number.parseInt(n.maxTurns),$,q.summary,n.git&&n.autoCommit,z,n.createPr,n.prTargetBranch,Q,n.skipJiraComments,Number.parseInt(n.hookRetries))}else console.log(`
337
+ ✅ Task details saved. You can now:`),console.log(" 1. Create a feature branch manually:"),console.log(` git checkout -b feature/${$.toLowerCase()}`),console.log(" 2. Run clarity check:"),console.log(` ${u6} -p --dangerously-skip-permissions --max-turns 10 < ${B.replace(".md","-clarity.md")}`),console.log(" 3. Run Claude:"),console.log(` ${u6} -p --dangerously-skip-permissions --max-turns ${n.maxTurns} < ${B}`),console.log(" 4. Commit changes:"),console.log(' git add . && git commit -m "feat: implement task"'),console.log(`
338
+ Or run this script again with the same task key to automatically create the branch, run clarity check, invoke Claude, and commit changes.`)}catch(G){let Q=G,z=Y>1?`[${Z+1}/${Y}] `:"";if(console.error(`${z}❌ Error processing ${$}: ${Q.message}`),n.verbose&&Q.stack)console.error(Q.stack);if(Y>1)throw G;process.exit(1)}}var R0=null;async function lJ(){try{R0=new o$;let $=R0.acquire();if(!$.success){if(console.error(`❌ ${$.message}`),console.error(" Please wait for the other instance to complete or stop it manually."),$.pid)console.error(` You can stop the other instance with: kill ${$.pid}`);process.exit(1)}OG();let Z=[];if(n.jql){console.log(`\uD83D\uDD0D Searching JIRA with JQL: ${n.jql}`);let Q=await new p6(process.env.JIRA_BASE_URL,process.env.JIRA_EMAIL,process.env.JIRA_API_TOKEN).searchIssues(n.jql);if(Q.issues.length===0){console.log("⚠️ No issues found matching the JQL query");return}Z=Q.issues.map((z)=>z.key),console.log(`\uD83D\uDCCB Found ${Z.length} tasks to process: ${Z.join(", ")}`)}else if(_G.length>0)Z=_G,console.log(`\uD83D\uDCCB Processing ${Z.length} task(s): ${Z.join(", ")}`);else console.error("❌ Error: No tasks specified. Provide task keys as arguments or use --jql option."),console.error(" Examples:"),console.error(" claude-intern PROJ-123"),console.error(" claude-intern PROJ-123 PROJ-124 PROJ-125"),console.error(` claude-intern --jql "project = PROJ AND status = 'To Do'"`),process.exit(1);let Y={total:Z.length,successful:0,failed:0,errors:[]};for(let G=0;G<Z.length;G++){let Q=Z[G];try{if(await iJ(Q,G,Z.length),Y.successful++,G<Z.length-1)console.log(`
339
339
  `+"=".repeat(80)),console.log(`⏭️ Moving to next task...
340
340
  `)}catch(z){Y.failed++,Y.errors.push({taskKey:Q,error:z.message}),console.log(`⚠️ Continuing with remaining tasks...
341
341
  `)}}if(Z.length>1){if(console.log(`
342
342
  `+"=".repeat(80)),console.log("\uD83D\uDCCA Batch Processing Summary:"),console.log(` Total tasks: ${Y.total}`),console.log(` ✅ Successful: ${Y.successful}`),console.log(` ❌ Failed: ${Y.failed}`),Y.errors.length>0)console.log(`
343
- ❌ Failed tasks:`),Y.errors.forEach(({taskKey:G,error:Q})=>{console.log(` - ${G}: ${Q}`)});if(Y.failed>0){if(w0)w0.release();process.exit(1)}}if(w0)w0.release()}catch($){let Z=$;if(console.error(`❌ Error: ${Z.message}`),t.verbose&&Z.stack)console.error(Z.stack);if(w0)w0.release();process.exit(1)}}async function sJ($,Z,Y,G,Q=!1){return new Promise((z,J)=>{if(!o0($)){J(new Error(`Clarity assessment file not found: ${$}`));return}let V=c6($,"utf8");console.log("\uD83D\uDD0D Running feasibility assessment with Claude..."),console.log(` Command: ${Z} -p --dangerously-skip-permissions --max-turns 10`),console.log(` Input: ${$}`);let _="",q="",K=a$(Z,["-p","--dangerously-skip-permissions","--max-turns","10"],{stdio:["pipe","pipe","pipe"]});if(K.stdout)K.stdout.on("data",(O)=>{_+=O.toString()});if(K.stderr)K.stderr.on("data",(O)=>{q+=O.toString()});if(K.on("error",(O)=>{if(O.code==="ENOENT")J(new Error(`Claude CLI not found at: ${Z}
344
- Please install Claude CLI or specify the correct path with --claude-path`));else J(new Error(`Failed to run Claude clarity check: ${O.message}`))}),K.on("close",async(O)=>{if(O===0)try{let A=oJ(_);try{let B=process.env.CLAUDE_INTERN_OUTPUT_DIR||"/tmp/claude-intern-tasks",D=T0(B,Y.toLowerCase()),S=T0(D,"feasibility-assessment.md"),L=`# Feasibility Assessment Results
343
+ ❌ Failed tasks:`),Y.errors.forEach(({taskKey:G,error:Q})=>{console.log(` - ${G}: ${Q}`)});if(Y.failed>0){if(R0)R0.release();process.exit(1)}}if(R0)R0.release()}catch($){let Z=$;if(console.error(`❌ Error: ${Z.message}`),n.verbose&&Z.stack)console.error(Z.stack);if(R0)R0.release();process.exit(1)}}async function sJ($,Z,Y,G,Q=!1){return new Promise((z,J)=>{if(!r0($)){J(new Error(`Clarity assessment file not found: ${$}`));return}let V=c6($,"utf8");console.log("\uD83D\uDD0D Running feasibility assessment with Claude..."),console.log(` Command: ${Z} -p --dangerously-skip-permissions --max-turns 10`),console.log(` Input: ${$}`);let _="",q="",K=a$(Z,["-p","--dangerously-skip-permissions","--max-turns","10"],{stdio:["pipe","pipe","pipe"]});if(K.stdout)K.stdout.on("data",(O)=>{_+=O.toString()});if(K.stderr)K.stderr.on("data",(O)=>{q+=O.toString()});if(K.on("error",(O)=>{if(O.code==="ENOENT")J(new Error(`Claude CLI not found at: ${Z}
344
+ Please install Claude CLI or specify the correct path with --claude-path`));else J(new Error(`Failed to run Claude clarity check: ${O.message}`))}),K.on("close",async(O)=>{if(O===0)try{let A=oJ(_);try{let B=process.env.CLAUDE_INTERN_OUTPUT_DIR||"/tmp/claude-intern-tasks",D=I0(B,Y.toLowerCase()),S=I0(D,"feasibility-assessment.md"),L=`# Feasibility Assessment Results
345
345
 
346
346
  `;if(L+=`**Status**: ${A.isImplementable?"✅ Implementable":"❌ Not Implementable"}
347
347
  `,L+=`**Clarity Score**: ${A.clarityScore}/10
@@ -365,7 +365,7 @@ ${A.summary}
365
365
  \`\`\`json
366
366
  ${JSON.stringify(A,null,2)}
367
367
  \`\`\`
368
- `,C1(S,L,"utf8"),console.log(`
368
+ `,j1(S,L,"utf8"),console.log(`
369
369
  \uD83D\uDCBE Saved feasibility assessment to: ${S}`)}catch(B){console.warn(`⚠️ Failed to save feasibility assessment: ${B}`)}if(A.isImplementable){if(console.log(`
370
370
  ✅ Task feasibility assessment passed`),console.log(`\uD83D\uDCCA Clarity Score: ${A.clarityScore}/10 (threshold: 4/10)`),console.log(`\uD83D\uDCDD Summary: ${A.summary}`),A.clarityScore<7)console.log("\uD83D\uDCA1 Note: Some details may need to be inferred from existing codebase");if(!Q)console.log(`
371
371
  \uD83D\uDCAC Posting feasibility assessment to JIRA...`),await KG(G,Y,A);else console.log(`
@@ -374,14 +374,14 @@ ${JSON.stringify(A,null,2)}
374
374
  \uD83D\uDEA8 Critical issues identified:`),A.issues.forEach((B)=>{let D=B.severity==="critical"?"\uD83D\uDD34":B.severity==="major"?"\uD83D\uDFE1":"\uD83D\uDD35";console.log(` ${D} ${B.category}: ${B.description}`)});if(A.recommendations.length>0)console.log(`
375
375
  \uD83D\uDCA1 Recommendations:`),A.recommendations.forEach((B,D)=>{console.log(` ${D+1}. ${B}`)});if(!Q)await KG(G,Y,A);else console.log(`
376
376
  ⏭️ Skipping failed assessment JIRA comment (--skip-jira-comments)`);console.log(`
377
- \uD83D\uDED1 Stopping execution - fundamental requirements unclear`),console.log(" Please address the critical issues and run again"),console.log(" Or use --skip-clarity-check to bypass this assessment")}z(A)}catch(A){console.warn("Failed to parse clarity assessment response:",A),console.log("Raw Claude output:",_);try{let B=process.env.CLAUDE_INTERN_OUTPUT_DIR||"/tmp/claude-intern-tasks",D=T0(B,Y.toLowerCase()),S=T0(D,"feasibility-assessment-failed.txt");C1(S,_,"utf8"),console.log(`
377
+ \uD83D\uDED1 Stopping execution - fundamental requirements unclear`),console.log(" Please address the critical issues and run again"),console.log(" Or use --skip-clarity-check to bypass this assessment")}z(A)}catch(A){console.warn("Failed to parse clarity assessment response:",A),console.log("Raw Claude output:",_);try{let B=process.env.CLAUDE_INTERN_OUTPUT_DIR||"/tmp/claude-intern-tasks",D=I0(B,Y.toLowerCase()),S=I0(D,"feasibility-assessment-failed.txt");j1(S,_,"utf8"),console.log(`
378
378
  \uD83D\uDCBE Saved failed assessment output to: ${S}`)}catch(B){console.warn(`⚠️ Failed to save assessment output: ${B}`)}if(_.includes("Reached max turns")||_.includes("max-turns"))if(console.log(`
379
379
  ⚠️ Clarity assessment reached maximum conversation turns`),console.log(" This may indicate task complexity or insufficient details"),!Q){console.log(` Will attempt to proceed with implementation but posting failure to JIRA...
380
380
  `);try{await qG(G,Y,"max-turns",_)}catch(B){console.warn("Failed to post assessment failure to JIRA:",B)}}else console.log(` Will attempt to proceed with implementation (skipping JIRA comment)...
381
381
  `);else if(console.log(`
382
382
  ⚠️ Could not parse clarity assessment response`),!Q){console.log(` Will attempt to proceed with implementation but posting failure to JIRA...
383
383
  `);try{await qG(G,Y,"parse-error",_)}catch(B){console.warn("Failed to post assessment failure to JIRA:",B)}}else console.log(` Will attempt to proceed with implementation (skipping JIRA comment)...
384
- `);z(null)}else J(new Error(`Claude clarity check exited with code ${O}`))}),K.stdin)K.stdin.write(V),K.stdin.end()})}function oJ($){let Z=$.match(/```json\s*([\s\S]*?)\s*```/);if(!Z){if($.includes("Reached max turns")||$.includes("max-turns"))throw new Error("warn: Claude reached max turns - no JSON assessment available");if($.trim().length===0)throw new Error("warn: Empty response from Claude");throw new Error("warn: No JSON found in Claude response")}try{let Y=JSON.parse(Z[1]);if(typeof Y.isImplementable!=="boolean"||typeof Y.clarityScore!=="number"||!Array.isArray(Y.issues)||!Array.isArray(Y.recommendations)||typeof Y.summary!=="string")throw new Error("warn: Invalid assessment structure - missing required fields");return Y}catch(Y){if(Y instanceof SyntaxError)throw new Error(`warn: Malformed JSON in Claude response: ${Y.message}`);throw new Error(`warn: Failed to parse assessment: ${Y}`)}}async function jG($,Z,Y){try{await new p6(process.env.JIRA_BASE_URL,process.env.JIRA_EMAIL,process.env.JIRA_API_TOKEN).postImplementationComment($,Z,Y),console.log(`✅ Implementation summary posted to ${$}`)}catch(G){throw new Error(`Failed to post implementation comment: ${G}`)}}async function qG($,Z,Y,G){try{let Q=Y==="max-turns",z={body:{type:"doc",version:1,content:[{type:"panel",attrs:{panelType:"warning"},content:[{type:"paragraph",content:[{type:"text",text:"\uD83E\uDD16 Claude Intern - Feasibility Assessment Failed",marks:[{type:"strong"}]}]},{type:"paragraph",content:[{type:"text",text:Q?"⚠️ Assessment reached maximum conversation turns before completion":"⚠️ Could not parse feasibility assessment response"}]},{type:"paragraph",content:[{type:"text",text:"\uD83D\uDCCB ",marks:[{type:"strong"}]},{type:"text",text:"What this means:",marks:[{type:"strong"}]}]},...Q?[{type:"bulletList",content:[{type:"listItem",content:[{type:"paragraph",content:[{type:"text",text:"\uD83E\uDDE9 ",marks:[{type:"strong"}]},{type:"text",text:"Task complexity: ",marks:[{type:"strong"}]},{type:"text",text:"The task may involve multiple complex components or interdependencies that require extensive analysis"}]}]},{type:"listItem",content:[{type:"paragraph",content:[{type:"text",text:"\uD83D\uDCDD ",marks:[{type:"strong"}]},{type:"text",text:"Insufficient details: ",marks:[{type:"strong"}]},{type:"text",text:"The task description may lack specific requirements, acceptance criteria, or technical specifications"}]}]},{type:"listItem",content:[{type:"paragraph",content:[{type:"text",text:"\uD83D\uDD0D ",marks:[{type:"strong"}]},{type:"text",text:"Context discovery: ",marks:[{type:"strong"}]},{type:"text",text:"Extensive codebase exploration was needed to understand existing patterns and architecture"}]}]}]},{type:"paragraph",content:[{type:"text",text:"\uD83D\uDE80 ",marks:[{type:"strong"}]},{type:"text",text:"Next steps:",marks:[{type:"strong"}]}]},{type:"bulletList",content:[{type:"listItem",content:[{type:"paragraph",content:[{type:"text",text:"Implementation will proceed with available information"}]}]},{type:"listItem",content:[{type:"paragraph",content:[{type:"text",text:"Additional clarification may be requested during development"}]}]},{type:"listItem",content:[{type:"paragraph",content:[{type:"text",text:"Consider adding more specific acceptance criteria for future similar tasks"}]}]}]}]:[{type:"paragraph",content:[{type:"text",text:"The AI assessment tool encountered an unexpected response format. Implementation will proceed but may require manual review of results."}]}]]}]}};await $.jiraApiCall("POST",`/rest/api/3/issue/${Z}/comment`,z)}catch(Q){console.warn("Failed to post assessment failure to JIRA:",Q)}}async function KG($,Z,Y){try{await $.postClarityComment(Z,Y)}catch(G){console.warn("Failed to post clarity comment to JIRA:",G)}}function UG($,Z,Y,G,Q){try{let z=process.env.CLAUDE_INTERN_OUTPUT_DIR||"/tmp/claude-intern-tasks",J=T0(z,$.toLowerCase()),V=T0(J,"git-hook-errors.log"),_=new Date().toISOString(),q=Q?"FIXED":"FAILED",K=`
384
+ `);z(null)}else J(new Error(`Claude clarity check exited with code ${O}`))}),K.stdin)K.stdin.write(V),K.stdin.end()})}function oJ($){let Z=$.match(/```json\s*([\s\S]*?)\s*```/);if(!Z){if($.includes("Reached max turns")||$.includes("max-turns"))throw new Error("warn: Claude reached max turns - no JSON assessment available");if($.trim().length===0)throw new Error("warn: Empty response from Claude");throw new Error("warn: No JSON found in Claude response")}try{let Y=JSON.parse(Z[1]);if(typeof Y.isImplementable!=="boolean"||typeof Y.clarityScore!=="number"||!Array.isArray(Y.issues)||!Array.isArray(Y.recommendations)||typeof Y.summary!=="string")throw new Error("warn: Invalid assessment structure - missing required fields");return Y}catch(Y){if(Y instanceof SyntaxError)throw new Error(`warn: Malformed JSON in Claude response: ${Y.message}`);throw new Error(`warn: Failed to parse assessment: ${Y}`)}}async function jG($,Z,Y){try{await new p6(process.env.JIRA_BASE_URL,process.env.JIRA_EMAIL,process.env.JIRA_API_TOKEN).postImplementationComment($,Z,Y),console.log(`✅ Implementation summary posted to ${$}`)}catch(G){throw new Error(`Failed to post implementation comment: ${G}`)}}async function qG($,Z,Y,G){try{let Q=Y==="max-turns",z={body:{type:"doc",version:1,content:[{type:"panel",attrs:{panelType:"warning"},content:[{type:"paragraph",content:[{type:"text",text:"\uD83E\uDD16 Claude Intern - Feasibility Assessment Failed",marks:[{type:"strong"}]}]},{type:"paragraph",content:[{type:"text",text:Q?"⚠️ Assessment reached maximum conversation turns before completion":"⚠️ Could not parse feasibility assessment response"}]},{type:"paragraph",content:[{type:"text",text:"\uD83D\uDCCB ",marks:[{type:"strong"}]},{type:"text",text:"What this means:",marks:[{type:"strong"}]}]},...Q?[{type:"bulletList",content:[{type:"listItem",content:[{type:"paragraph",content:[{type:"text",text:"\uD83E\uDDE9 ",marks:[{type:"strong"}]},{type:"text",text:"Task complexity: ",marks:[{type:"strong"}]},{type:"text",text:"The task may involve multiple complex components or interdependencies that require extensive analysis"}]}]},{type:"listItem",content:[{type:"paragraph",content:[{type:"text",text:"\uD83D\uDCDD ",marks:[{type:"strong"}]},{type:"text",text:"Insufficient details: ",marks:[{type:"strong"}]},{type:"text",text:"The task description may lack specific requirements, acceptance criteria, or technical specifications"}]}]},{type:"listItem",content:[{type:"paragraph",content:[{type:"text",text:"\uD83D\uDD0D ",marks:[{type:"strong"}]},{type:"text",text:"Context discovery: ",marks:[{type:"strong"}]},{type:"text",text:"Extensive codebase exploration was needed to understand existing patterns and architecture"}]}]}]},{type:"paragraph",content:[{type:"text",text:"\uD83D\uDE80 ",marks:[{type:"strong"}]},{type:"text",text:"Next steps:",marks:[{type:"strong"}]}]},{type:"bulletList",content:[{type:"listItem",content:[{type:"paragraph",content:[{type:"text",text:"Implementation will proceed with available information"}]}]},{type:"listItem",content:[{type:"paragraph",content:[{type:"text",text:"Additional clarification may be requested during development"}]}]},{type:"listItem",content:[{type:"paragraph",content:[{type:"text",text:"Consider adding more specific acceptance criteria for future similar tasks"}]}]}]}]:[{type:"paragraph",content:[{type:"text",text:"The AI assessment tool encountered an unexpected response format. Implementation will proceed but may require manual review of results."}]}]]}]}};await $.jiraApiCall("POST",`/rest/api/3/issue/${Z}/comment`,z)}catch(Q){console.warn("Failed to post assessment failure to JIRA:",Q)}}async function KG($,Z,Y){try{await $.postClarityComment(Z,Y)}catch(G){console.warn("Failed to post clarity comment to JIRA:",G)}}function UG($,Z,Y,G,Q){try{let z=process.env.CLAUDE_INTERN_OUTPUT_DIR||"/tmp/claude-intern-tasks",J=I0(z,$.toLowerCase()),V=I0(J,"git-hook-errors.log"),_=new Date().toISOString(),q=Q?"FIXED":"FAILED",K=`
385
385
  ${"=".repeat(80)}
386
386
  Timestamp: ${_}
387
387
  Hook Type: ${Z}
@@ -390,9 +390,9 @@ Status: ${q}
390
390
  Error:
391
391
  ${G}
392
392
  ${"=".repeat(80)}
393
- `,O=o0(V)?c6(V,"utf8"):`# Git Hook Errors Log
393
+ `,O=r0(V)?c6(V,"utf8"):`# Git Hook Errors Log
394
394
 
395
- `;C1(V,O+K,"utf8"),console.log(`\uD83D\uDCBE Hook error logged to: ${V}`)}catch(z){console.warn(`⚠️ Failed to save hook error to file: ${z}`)}}async function FG($,Z,Y){return new Promise((G)=>{console.log(`
395
+ `;j1(V,O+K,"utf8"),console.log(`\uD83D\uDCBE Hook error logged to: ${V}`)}catch(z){console.warn(`⚠️ Failed to save hook error to file: ${z}`)}}async function IG($,Z,Y){return new Promise((G)=>{console.log(`
396
396
  \uD83D\uDD27 Attempting to fix git hook errors with Claude...`);let Q=$==="commit"?"git commit":"git push origin HEAD",J=`${process.env.CLAUDE_INTERN_OUTPUT_DIR||"/tmp/claude-intern-tasks"}/*/git-hook-errors.log`,V=`# Git Hook Error - Fix Required
397
397
 
398
398
  The git ${$} operation has failed, likely due to pre-${$} hooks checking code quality.
@@ -432,29 +432,32 @@ The git ${$} operation has failed, likely due to pre-${$} hooks checking code qu
432
432
  ${$==="push"?"- Make sure to amend the commit so the fixes are included in the push":""}
433
433
  `,_="",q="",K=a$(Z,["-p","--dangerously-skip-permissions","--max-turns",Y.toString()],{stdio:["pipe","pipe","pipe"]});if(K.stdout)K.stdout.on("data",(O)=>{let A=O.toString();_+=A,process.stdout.write(A)});if(K.stderr)K.stderr.on("data",(O)=>{let A=O.toString();q+=A,process.stderr.write(A)});if(K.on("error",(O)=>{console.error(`❌ Failed to run Claude for git hook fix: ${O.message}`),G(!1)}),K.on("close",async(O)=>{if(O===0){console.log(`
434
434
  \uD83D\uDD0D Claude completed - verifying the fix actually worked...`);try{let A=await d.executeGitCommand(["status","--porcelain"]);if($==="commit")if(A.success&&A.output.trim()==="")console.log("✅ Verification successful - commit completed successfully!"),G(!0);else console.log("❌ Verification failed - changes still uncommitted:"),console.log(` ${A.output}`),G(!1);else{let B=await d.executeGitCommand(["push","origin","HEAD","--dry-run"]);if(B.success)console.log("✅ Verification successful - changes are committed and ready to push!"),G(!0);else console.log("❌ Verification failed - push would still fail:"),console.log(` ${B.error||B.output}`),G(!1)}}catch(A){console.log(`❌ Could not verify fix: ${A}`),G(!1)}}else console.log(`
435
- ❌ Claude exited with code ${O} while fixing git hook errors`),G(!1)}),K.stdin)K.stdin.write(V),K.stdin.end()})}async function rJ($,Z,Y=25,G,Q,z=!0,J,V=!1,_="main",q,K=!1,O=10){return new Promise((A,B)=>{if(!o0($)){B(new Error(`Task file not found: ${$}`));return}let D=cJ(),S=c6($,"utf8");console.log("\uD83D\uDE80 Launching Claude..."),console.log(` Command: ${Z} -p --dangerously-skip-permissions --max-turns ${Y} --verbose`),console.log(` Input: ${$}`),console.log(" Output: All Claude output will be displayed below in real-time"),console.log(`
435
+ ❌ Claude exited with code ${O} while fixing git hook errors`),G(!1)}),K.stdin)K.stdin.write(V),K.stdin.end()})}async function rJ($,Z,Y=25,G,Q,z=!0,J,V=!1,_="main",q,K=!1,O=10){return new Promise((A,B)=>{if(!r0($)){B(new Error(`Task file not found: ${$}`));return}let D=cJ(),S=c6($,"utf8");console.log("\uD83D\uDE80 Launching Claude..."),console.log(` Command: ${Z} -p --dangerously-skip-permissions --max-turns ${Y} --verbose`),console.log(` Input: ${$}`),console.log(" Output: All Claude output will be displayed below in real-time"),console.log(`
436
436
  `+"=".repeat(60));let L="",T="",R=a$(Z,["-p","--dangerously-skip-permissions","--max-turns",Y.toString()],{stdio:["pipe","pipe","pipe"]});if(R.stdout)R.stdout.on("data",(v)=>{let $0=v.toString();T+=$0,process.stdout.write($0)});if(R.stderr)R.stderr.on("data",(v)=>{let $0=v.toString();L+=$0,process.stderr.write($0)});if(R.on("error",(v)=>{if(v.code==="ENOENT")B(new Error(`Claude CLI not found at: ${Z}
437
437
  Please install Claude CLI or specify the correct path with --claude-path`));else B(new Error(`Failed to run Claude: ${v.message}`))}),R.on("close",async(v)=>{if(console.log(`
438
- `+"=".repeat(60)),L.includes("Reached max turns")||L.includes("max turns reached")||L.includes("maximum turns reached")){console.log("Claude reached maximum turns limit without completing the task"),console.log(" The task may be too complex or require more turns to complete"),console.log(" Consider breaking it into smaller tasks or increasing the max-turns limit"),console.log(" No JIRA comment will be posted as the implementation is incomplete"),B(new Error("Claude reached maximum turns limit. The task may be too complex or require more turns to complete. Consider breaking it into smaller tasks or increasing the max-turns limit."));return}let e=L.includes("Error:")&&!L.includes("Reached max turns"),r0=/I (?:was unable to|cannot|could not|failed to)/i.test(T)||T.includes("implementation was unsuccessful")||T.includes("failed to implement")||T.includes("I apologize, but I");if(v===0){let n0=T.trim().length<100,p0=e||r0||n0;if(G&&T.trim())try{let O0=process.env.CLAUDE_INTERN_OUTPUT_DIR||"/tmp/claude-intern-tasks",U0=T0(O0,G.toLowerCase()),I=T0(U0,p0?"implementation-summary-incomplete.md":"implementation-summary.md");C1(I,T,"utf8"),console.log(`
439
- \uD83D\uDCBE Saved implementation summary to: ${I}`)}catch(O0){console.warn(`⚠️ Failed to save implementation summary: ${O0}`)}if(p0)console.log("⚠️ Claude execution completed but appears to be incomplete or failed"),console.log(" Output saved for analysis but no JIRA comment will be posted"),console.log(" Check the output above for specific issues");else console.log("✅ Claude execution completed successfully");if(z&&G&&Q)console.log(`
440
- \uD83D\uDCDD Committing changes...`),(async()=>{let U0=0;while(U0<=O){U0++;let I=await d.commitChanges(G,Q);if(I.success)return console.log(`✅ ${I.message}`),{success:!0,result:I};if(I.hookError&&U0<=O){console.log(`
441
- ⚠️ Git hook failed (attempt ${U0}/${O+1})`);let x0=await FG("commit",Z,Y);if(UG(G,"commit",U0,I.hookError,x0),x0){console.log(`
438
+ `+"=".repeat(60)),L.includes("Reached max turns")||L.includes("max turns reached")||L.includes("maximum turns reached")){if(console.log("⚠️ Claude reached maximum turns limit without completing the task"),console.log(" The task may be too complex or require more turns to complete"),console.log(" Consider breaking it into smaller tasks or increasing the max-turns limit"),console.log(" No JIRA comment will be posted as the implementation is incomplete"),G&&T.trim())try{let N0=process.env.CLAUDE_INTERN_OUTPUT_DIR||"/tmp/claude-intern-tasks",k0=I0(N0,G.toLowerCase()),j0=I0(k0,"implementation-summary-incomplete.md");j1(j0,T,"utf8"),console.log(`
439
+ \uD83D\uDCBE Saved incomplete implementation to: ${j0}`)}catch(N0){console.warn(`⚠️ Failed to save implementation summary: ${N0}`)}console.log(`
440
+ ⏭️ Skipping commit and moving to next task (if any)...`),A();return}let e=L.includes("Error:")&&!L.includes("Reached max turns"),n0=/I (?:was unable to|cannot|could not|failed to)/i.test(T)||T.includes("implementation was unsuccessful")||T.includes("failed to implement")||T.includes("I apologize, but I");if(v===0){let N0=T.trim().length<100,k0=e||n0||N0;if(G&&T.trim())try{let j0=process.env.CLAUDE_INTERN_OUTPUT_DIR||"/tmp/claude-intern-tasks",F0=I0(j0,G.toLowerCase()),F=I0(F0,k0?"implementation-summary-incomplete.md":"implementation-summary.md");j1(F,T,"utf8"),console.log(`
441
+ \uD83D\uDCBE Saved implementation summary to: ${F}`)}catch(j0){console.warn(`⚠️ Failed to save implementation summary: ${j0}`)}if(k0){console.log("⚠️ Claude execution completed but appears to be incomplete or failed"),console.log(" Output saved for analysis but no JIRA comment will be posted"),console.log(" Check the output above for specific issues"),console.log(`
442
+ ⏭️ Skipping commit and moving to next task (if any)...`),A();return}else console.log("✅ Claude execution completed successfully");if(z&&G&&Q)console.log(`
443
+ \uD83D\uDCDD Committing changes...`),(async()=>{let F0=0;while(F0<=O){F0++;let F=await d.commitChanges(G,Q,{verbose:n.verbose});if(F.success)return console.log(`✅ ${F.message}`),{success:!0,result:F};if(F.hookError&&F0<=O){console.log(`
444
+ ⚠️ Git hook failed (attempt ${F0}/${O+1})`);let f0=await IG("commit",Z,Y);if(UG(G,"commit",F0,F.hookError,f0),f0){console.log(`
442
445
  \uD83D\uDD04 Retrying commit after Claude fixed the issues...`);continue}else return console.log(`
443
- ❌ Could not fix git hook errors automatically`),{success:!1,result:I}}else{if(U0>O)console.log(`
444
- ❌ Max retries (${O}) exceeded for git hook fixes`);return console.log(`⚠️ ${I.message}`),{success:!1,result:I}}}return{success:!1,result:{message:"Max retries exceeded"}}})().then(async({success:U0})=>{if(!U0){console.log('You can commit changes manually with: git add . && git commit -m "feat: implement task"'),A();return}if(V&&J)if(console.log(`
445
- \uD83D\uDCE4 Pushing branch to remote...`),(await(async()=>{let z0=0;while(z0<=O){z0++;let j=await d.pushCurrentBranch();if(j.success)return console.log(`✅ ${j.message}`),{success:!0,result:j};if(j.hookError&&z0<=O){console.log(`
446
- ⚠️ Git pre-push hook failed (attempt ${z0}/${O+1})`);let f=await FG("push",Z,Y);if(UG(G,"push",z0,j.hookError,f),f){console.log(`
446
+ ❌ Could not fix git hook errors automatically`),{success:!1,result:F}}else{if(F0>O)console.log(`
447
+ ❌ Max retries (${O}) exceeded for git hook fixes`);return console.log(`⚠️ ${F.message}`),{success:!1,result:F}}}return{success:!1,result:{message:"Max retries exceeded"}}})().then(async({success:F0})=>{if(!F0){console.log('You can commit changes manually with: git add . && git commit -m "feat: implement task"'),A();return}if(V&&J)if(console.log(`
448
+ \uD83D\uDCE4 Pushing branch to remote...`),(await(async()=>{let z0=0;while(z0<=O){z0++;let j=await d.pushCurrentBranch({verbose:n.verbose});if(j.success)return console.log(`✅ ${j.message}`),{success:!0,result:j};if(j.hookError&&z0<=O){console.log(`
449
+ ⚠️ Git pre-push hook failed (attempt ${z0}/${O+1})`);let f=await IG("push",Z,Y);if(UG(G,"push",z0,j.hookError,f),f){console.log(`
447
450
  \uD83D\uDD04 Retrying push after Claude fixed and amended the commit...`);continue}else return console.log(`
448
451
  ❌ Could not fix git pre-push hook errors automatically`),{success:!1,result:j}}else{if(z0>O)console.log(`
449
452
  ❌ Max retries (${O}) exceeded for git hook fixes`);return console.log(`⚠️ ${j.message}`),{success:!1,result:j}}}return{success:!1,result:{message:"Max retries exceeded"}}})()).success){if(G&&T.trim()&&!K)try{console.log(`
450
453
  \uD83D\uDCAC Posting implementation summary to JIRA...`),await jG(G,T,Q)}catch(z0){console.warn(`⚠️ Failed to post implementation comment to JIRA: ${z0}`),console.log(" Push succeeded, but JIRA comment failed")}else if(K&&G)console.log(`
451
454
  ⏭️ Skipping JIRA comment posting (--skip-jira-comments)`);console.log(`
452
- \uD83D\uDD00 Creating pull request...`);try{let z0=new n$,j=await d.getCurrentBranch();if(j){let f=await z0.createPullRequest(J,j,_,T);if(f.success){if(console.log(`✅ Pull request created: ${f.url}`),G&&q&&!K){let Q1=G.split("-")[0],j1=dJ(Q1,D);if(j1&&j1.trim())try{console.log(`
453
- \uD83D\uDD04 Transitioning JIRA status after PR creation...`),await q.transitionIssue(G,j1.trim())}catch(u0){console.warn(`⚠️ Failed to transition JIRA status: ${u0.message}`),console.log(" PR was created successfully, but status transition failed")}}else if(K)console.log(`
455
+ \uD83D\uDD00 Creating pull request...`);try{let z0=new n$,j=await d.getCurrentBranch();if(j){let f=await z0.createPullRequest(J,j,_,T);if(f.success){if(console.log(`✅ Pull request created: ${f.url}`),G&&q&&!K){let Q1=G.split("-")[0],q1=dJ(Q1,D);if(q1&&q1.trim())try{console.log(`
456
+ \uD83D\uDD04 Transitioning JIRA status after PR creation...`),await q.transitionIssue(G,q1.trim())}catch(c0){console.warn(`⚠️ Failed to transition JIRA status: ${c0.message}`),console.log(" PR was created successfully, but status transition failed")}}else if(K)console.log(`
454
457
  ⏭️ Skipping JIRA status transition (--skip-jira-comments)`)}else console.log(`⚠️ PR creation failed: ${f.message}`)}else console.log("⚠️ Could not determine current branch for PR creation")}catch(z0){console.log(`⚠️ PR creation failed: ${z0.message}`)}}else console.log(" Cannot create PR without pushing branch to remote");else if(G&&T.trim()&&!K)try{console.log(`
455
- \uD83D\uDCAC Posting implementation summary to JIRA...`),await jG(G,T,Q)}catch(I){console.warn(`⚠️ Failed to post implementation comment to JIRA: ${I}`),console.log(" Commit succeeded, but JIRA comment failed")}else if(K&&G)console.log(`
456
- ⏭️ Skipping JIRA comment posting (--skip-jira-comments)`);A()}).catch((U0)=>{console.log(`⚠️ Failed to commit changes: ${U0.message}`),console.log('You can commit changes manually with: git add . && git commit -m "feat: implement task"'),A()});else A()}else console.log(`❌ Claude exited with non-zero code ${v}`),console.log(" No JIRA comment will be posted due to execution failure"),B(new Error(`Claude exited with code ${v}`))}),R.stdin)R.stdin.write(S),R.stdin.end()})}process.on("unhandledRejection",($)=>{if(console.error("❌ Unhandled error:",$.message),t.verbose&&$.stack)console.error($.stack);if(w0)w0.release();process.exit(1)});process.on("SIGINT",()=>{if(console.log(`
458
+ \uD83D\uDCAC Posting implementation summary to JIRA...`),await jG(G,T,Q)}catch(F){console.warn(`⚠️ Failed to post implementation comment to JIRA: ${F}`),console.log(" Commit succeeded, but JIRA comment failed")}else if(K&&G)console.log(`
459
+ ⏭️ Skipping JIRA comment posting (--skip-jira-comments)`);A()}).catch((F0)=>{console.log(`⚠️ Failed to commit changes: ${F0.message}`),console.log('You can commit changes manually with: git add . && git commit -m "feat: implement task"'),A()});else A()}else console.log(`❌ Claude exited with non-zero code ${v}`),console.log(" No JIRA comment will be posted due to execution failure"),B(new Error(`Claude exited with code ${v}`))}),R.stdin)R.stdin.write(S),R.stdin.end()})}process.on("unhandledRejection",($)=>{if(console.error("❌ Unhandled error:",$.message),n.verbose&&$.stack)console.error($.stack);if(R0)R0.release();process.exit(1)});process.on("SIGINT",()=>{if(console.log(`
457
460
 
458
- ⚠️ Received SIGINT (Ctrl+C), cleaning up...`),w0)w0.release();process.exit(130)});process.on("SIGTERM",()=>{if(console.log(`
461
+ ⚠️ Received SIGINT (Ctrl+C), cleaning up...`),R0)R0.release();process.exit(130)});process.on("SIGTERM",()=>{if(console.log(`
459
462
 
460
- ⚠️ Received SIGTERM, cleaning up...`),w0)w0.release();process.exit(143)});process.on("uncaughtException",($)=>{if(console.error("❌ Uncaught exception:",$.message),$.stack)console.error($.stack);if(w0)w0.release();process.exit(1)});if(b0.main==b0.module)if(process.argv[2]==="init");else lJ();export{lJ as main,p6 as JiraClient,n8 as ClaudeFormatter};
463
+ ⚠️ Received SIGTERM, cleaning up...`),R0)R0.release();process.exit(143)});process.on("uncaughtException",($)=>{if(console.error("❌ Uncaught exception:",$.message),$.stack)console.error($.stack);if(R0)R0.release();process.exit(1)});if(b0.main==b0.module)if(process.argv[2]==="init");else lJ();export{lJ as main,p6 as JiraClient,n8 as ClaudeFormatter};