claude-intern 1.1.5 → 1.2.0
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.
- package/dist/index.js +186 -180
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,83 +1,83 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{createRequire as
|
|
3
|
-
`).replace(/^/gm," ".repeat(2))}let _=[`Usage: ${Z.commandUsage($)}`,""],
|
|
2
|
+
import{createRequire as gQ}from"node:module";var xQ=Object.create;var{getPrototypeOf:kQ,defineProperty:A6,getOwnPropertyNames:OZ,getOwnPropertyDescriptor:fQ}=Object,SZ=Object.prototype.hasOwnProperty;var _8=($,Z,Y)=>{Y=$!=null?xQ(kQ($)):{};let G=Z||!$||!$.__esModule?A6(Y,"default",{value:$,enumerable:!0}):Y;for(let Q of OZ($))if(!SZ.call(G,Q))A6(G,Q,{get:()=>$[Q],enumerable:!0});return G},AZ=new WeakMap,LZ=($)=>{var Z=AZ.get($),Y;if(Z)return Z;if(Z=A6({},"__esModule",{value:!0}),$&&typeof $==="object"||typeof $==="function")OZ($).map((G)=>!SZ.call(Z,G)&&A6(Z,G,{get:()=>$[G],enumerable:!(Y=fQ($,G))||Y.enumerable}));return AZ.set($,Z),Z},C=($,Z)=>()=>(Z||$((Z={exports:{}}).exports,Z),Z.exports);var hQ=($,Z)=>{for(var Y in Z)A6($,Y,{get:Z[Y],enumerable:!0,configurable:!0,set:(G)=>Z[Y]=()=>G})};var M0=gQ(import.meta.url);var O6=C((vQ)=>{class K9 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 MZ extends K9{constructor($){super(1,"commander.invalidArgument",$);Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name}}vQ.CommanderError=K9;vQ.InvalidArgumentError=MZ});var q8=C((dQ)=>{var{InvalidArgumentError:uQ}=O6();class PZ{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 uQ(`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 cQ($){let Z=$.name()+($.variadic===!0?"...":"");return $.required?"<"+Z+">":"["+Z+"]"}dQ.Argument=PZ;dQ.humanReadableArgName=cQ});var A9=C((oQ)=>{var{humanReadableArgName:sQ}=q8();class wZ{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)=>sQ(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,O){if(O){let A=`${B.padEnd(Y+2)}${O}`;return Z.wrap(A,G-2,Y+2)}return B}function V(B){return B.join(`
|
|
3
|
+
`).replace(/^/gm," ".repeat(2))}let _=[`Usage: ${Z.commandUsage($)}`,""],j=Z.commandDescription($);if(j.length>0)_=_.concat([Z.wrap(j,G,0),""]);let U=Z.visibleArguments($).map((B)=>{return J(Z.argumentTerm(B),Z.argumentDescription(B))});if(U.length>0)_=_.concat(["Arguments:",V(U),""]);let K=Z.visibleOptions($).map((B)=>{return J(Z.optionTerm(B),Z.optionDescription(B))});if(K.length>0)_=_.concat(["Options:",V(K),""]);if(this.showGlobalOptions){let B=Z.visibleGlobalOptions($).map((O)=>{return J(Z.optionTerm(O),Z.optionDescription(O))});if(B.length>0)_=_.concat(["Global Options:",V(B),""])}let S=Z.visibleCommands($).map((B)=>{return J(Z.subcommandTerm(B),Z.subcommandDescription(B))});if(S.length>0)_=_.concat(["Commands:",V(S),""]);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
|
-
`),
|
|
7
|
-
|.{1,${J-1}}([${
|
|
8
|
-
`)return"";return(
|
|
9
|
-
`)}}
|
|
6
|
+
`),j=" ".repeat(Y),K=`\\s${""}`,S=new RegExp(`
|
|
7
|
+
|.{1,${J-1}}([${K}]|$)|[^${K}]+?([${K}]|$)`,"g"),B=_.match(S)||[];return V+B.map((O,A)=>{if(O===`
|
|
8
|
+
`)return"";return(A>0?j:"")+O.trimEnd()}).join(`
|
|
9
|
+
`)}}oQ.Help=wZ});var O9=C((tQ)=>{var{InvalidArgumentError:nQ}=O6();class RZ{constructor($,Z){this.flags=$,this.description=Z||"",this.required=$.includes("<"),this.optional=$.includes("["),this.variadic=/\w\.\.\.[>\]]$/.test($),this.mandatory=!1;let Y=CZ($);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 nQ(`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 aQ(this.name().replace(/^no-/,""))}is($){return this.short===$||this.long===$}isBoolean(){return!this.required&&!this.optional&&!this.negate}}class TZ{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 aQ($){return $.split("-").reduce((Z,Y)=>{return Z+Y[0].toUpperCase()+Y.slice(1)})}function CZ($){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}}tQ.Option=RZ;tQ.splitOptionFlags=CZ;tQ.DualOptions=TZ});var EZ=C((Qz)=>{function Yz($,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 Gz($,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=Yz($,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""}
|
|
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
|
|
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
|
|
11
|
+
(Did you mean ${G[0]}?)`;return""}Qz.suggestSimilar=Gz});var kZ=C((_z)=>{var Xz=M0("events").EventEmitter,S9=M0("child_process"),V1=M0("path"),L9=M0("fs"),Y0=M0("process"),{Argument:Wz,humanReadableArgName:Jz}=q8(),{CommanderError:M9}=O6(),{Help:Vz}=A9(),{Option:bZ,splitOptionFlags:Bz,DualOptions:Hz}=O9(),{suggestSimilar:NZ}=EZ();class P9 extends Xz{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)=>Y0.stdout.write(Z),writeErr:(Z)=>Y0.stderr.write(Z),getOutHelpWidth:()=>Y0.stdout.isTTY?Y0.stdout.columns:void 0,getErrHelpWidth:()=>Y0.stderr.isTTY?Y0.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 P9($)}createHelp(){return Object.assign(new Vz,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
|
+
- 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 Wz($,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
|
+
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 M9($,Z,Y));Y0.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 bZ($,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 bZ)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 j=J.exec(V);return j?j[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($=Y0.argv,Y0.versions&&Y0.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(Y0.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(j,U){let K=V1.resolve(j,U);if(L9.existsSync(K))return K;if(G.includes(V1.extname(U)))return;let S=G.find((B)=>L9.existsSync(`${K}${B}`));if(S)return`${K}${S}`;return}this._checkForMissingMandatoryOptions(),this._checkForConflictingOptions();let z=$._executableFile||`${this._name}-${$._name}`,J=this._executableDir||"";if(this._scriptPath){let j;try{j=L9.realpathSync(this._scriptPath)}catch(U){j=this._scriptPath}J=V1.resolve(V1.dirname(j),J)}if(J){let j=Q(J,z);if(!j&&!$._executableFile&&this._scriptPath){let U=V1.basename(this._scriptPath,V1.extname(this._scriptPath));if(U!==this._name)j=Q(J,`${U}-${$._name}`)}z=j||z}Y=G.includes(V1.extname(z));let V;if(Y0.platform!=="win32")if(Y)Z.unshift(z),Z=xZ(Y0.execArgv).concat(Z),V=S9.spawn(Y0.argv[0],Z,{stdio:"inherit"});else V=S9.spawn(z,Z,{stdio:"inherit"});else Z.unshift(z),Z=xZ(Y0.execArgv).concat(Z),V=S9.spawn(Y0.execPath,Z,{stdio:"inherit"});if(!V.killed)["SIGUSR1","SIGUSR2","SIGTERM","SIGINT","SIGHUP"].forEach((U)=>{Y0.on(U,()=>{if(V.killed===!1&&V.exitCode===null)V.kill(U)})});let _=this._exitCallback;if(!_)V.on("close",Y0.exit.bind(Y0));else V.on("close",()=>{_(new M9(Y0.exitCode||0,"commander.executeSubCommandAsync","(close)"))});V.on("error",(j)=>{if(j.code==="ENOENT"){let U=J?`searched for local subcommand relative to directory '${J}'`:"no directory for search for local subcommand, use .executableDir() to supply a custom directory",K=`'${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
|
|
15
15
|
- if the default executable name is not suitable, use the executableFile option to supply a custom name or path
|
|
16
|
-
- ${
|
|
16
|
+
- ${U}`;throw new Error(K)}else if(j.code==="EACCES")throw new Error(`'${z}' not executable`);if(!_)Y0.exit(1);else{let U=new M9(1,"commander.executeSubCommandAsync","(error)");U.nestedError=j,_(U)}}),this.runningCommand=V}_dispatchSubcommand($,Z,Y){let G=this._findCommand($);if(!G)this.help({error:!0});let Q;return Q=this._chainOrCallSubCommandHook(Q,G,"preSubcommand"),Q=this._chainOrCall(Q,()=>{if(G._executableHandler)this._executeSubCommand(G,Z.concat(Y));else return G._parseCommand(Z,Y)}),Q}_dispatchHelpCommand($){if(!$)this.help();let Z=this._findCommand($);if(Z&&!Z._executableHandler)Z.help();return this._dispatchSubcommand($,[],[this._helpLongFlag||this._helpShortFlag])}_checkNumberOfArguments(){if(this.registeredArguments.forEach(($,Z)=>{if($.required&&this.args[Z]==null)this.missingArgument($.name())}),this.registeredArguments.length>0&&this.registeredArguments[this.registeredArguments.length-1].variadic)return;if(this.args.length>this.registeredArguments.length)this._excessArguments(this.args)}_processArguments(){let $=(Y,G,Q)=>{let z=G;if(G!==null&&Y.parseArg){let J=`error: command-argument value '${G}' is invalid for argument '${Y.name()}'.`;z=this._callParseArg(Y,G,Q,J)}return z};this._checkNumberOfArguments();let Z=[];this.registeredArguments.forEach((Y,G)=>{let Q=Y.defaultValue;if(Y.variadic){if(G<this.args.length){if(Q=this.args.slice(G),Y.parseArg)Q=Q.reduce((z,J)=>{return $(Y,J,z)},Y.defaultValue)}else if(Q===void 0)Q=[]}else if(G<this.args.length){if(Q=this.args[G],Y.parseArg)Q=$(Y,Q,Y.defaultValue)}Z[G]=Q}),this.processedArgs=Z}_chainOrCall($,Z){if($&&$.then&&typeof $.then==="function")return $.then(()=>Z());return Z()}_chainOrCallHooks($,Z){let Y=$,G=[];if(this._getCommandAndAncestors().reverse().filter((Q)=>Q._lifeCycleHooks[Z]!==void 0).forEach((Q)=>{Q._lifeCycleHooks[Z].forEach((z)=>{G.push({hookedCommand:Q,callback:z})})}),Z==="postAction")G.reverse();return G.forEach((Q)=>{Y=this._chainOrCall(Y,()=>{return Q.callback(Q.hookedCommand,this)})}),Y}_chainOrCallSubCommandHook($,Z,Y){let G=$;if(this._lifeCycleHooks[Y]!==void 0)this._lifeCycleHooks[Y].forEach((Q)=>{G=this._chainOrCall(G,()=>{return Q(this,Z)})});return G}_parseCommand($,Z){let Y=this.parseOptions(Z);if(this._parseOptionsEnv(),this._parseOptionsImplied(),$=$.concat(Y.operands),Z=Y.unknown,this.args=$.concat(Z),$&&this._findCommand($[0]))return this._dispatchSubcommand($[0],$.slice(1),Z);if(this._hasImplicitHelpCommand()&&$[0]===this._helpCommandName)return this._dispatchHelpCommand($[1]);if(this._defaultCommandName)return yZ(this,Z),this._dispatchSubcommand(this._defaultCommandName,$,Z);if(this.commands.length&&this.args.length===0&&!this._actionHandler&&!this._defaultCommandName)this.help({error:!0});yZ(this,Y.unknown),this._checkForMissingMandatoryOptions(),this._checkForConflictingOptions();let G=()=>{if(Y.unknown.length>0)this.unknownOption(Y.unknown[0])},Q=`command:${this.name()}`;if(this._actionHandler){G(),this._processArguments();let z;if(z=this._chainOrCallHooks(z,"preAction"),z=this._chainOrCall(z,()=>this._actionHandler(this.processedArgs)),this.parent)z=this._chainOrCall(z,()=>{this.parent.emit(Q,$,Z)});return z=this._chainOrCallHooks(z,"postAction"),z}if(this.parent&&this.parent.listenerCount(Q))G(),this._processArguments(),this.parent.emit(Q,$,Z);else if($.length){if(this._findCommand("*"))return this._dispatchSubcommand("*",$,Z);if(this.listenerCount("command:*"))this.emit("command:*",$,Z);else if(this.commands.length)this.unknownCommand();else G(),this._processArguments()}else if(this.commands.length)G(),this.help({error:!0});else G(),this._processArguments()}_findCommand($){if(!$)return;return this.commands.find((Z)=>Z._name===$||Z._aliases.includes($))}_findOption($){return this.options.find((Z)=>Z.is($))}_checkForMissingMandatoryOptions(){this._getCommandAndAncestors().forEach(($)=>{$.options.forEach((Z)=>{if(Z.mandatory&&$.getOptionValue(Z.attributeName())===void 0)$.missingMandatoryOptionValue(Z)})})}_checkForConflictingLocalOptions(){let $=this.options.filter((Y)=>{let G=Y.attributeName();if(this.getOptionValue(G)===void 0)return!1;return this.getOptionValueSource(G)!=="default"});$.filter((Y)=>Y.conflictsWith.length>0).forEach((Y)=>{let G=$.find((Q)=>Y.conflictsWith.includes(Q.attributeName()));if(G)this._conflictingOption(Y,G)})}_checkForConflictingOptions(){this._getCommandAndAncestors().forEach(($)=>{$._checkForConflictingLocalOptions()})}parseOptions($){let Z=[],Y=[],G=Z,Q=$.slice();function z(V){return V.length>1&&V[0]==="-"}let J=null;while(Q.length){let V=Q.shift();if(V==="--"){if(G===Y)G.push(V);G.push(...Q);break}if(J&&!z(V)){this.emit(`option:${J.name()}`,V);continue}if(J=null,z(V)){let _=this._findOption(V);if(_){if(_.required){let j=Q.shift();if(j===void 0)this.optionMissingArgument(_);this.emit(`option:${_.name()}`,j)}else if(_.optional){let j=null;if(Q.length>0&&!z(Q[0]))j=Q.shift();this.emit(`option:${_.name()}`,j)}else this.emit(`option:${_.name()}`);J=_.variadic?_:null;continue}}if(V.length>2&&V[0]==="-"&&V[1]!=="-"){let _=this._findOption(`-${V[1]}`);if(_){if(_.required||_.optional&&this._combineFlagAndOptionalValue)this.emit(`option:${_.name()}`,V.slice(2));else this.emit(`option:${_.name()}`),Q.unshift(`-${V.slice(2)}`);continue}}if(/^--[^=]+=/.test(V)){let _=V.indexOf("="),j=this._findOption(V.slice(0,_));if(j&&(j.required||j.optional)){this.emit(`option:${j.name()}`,V.slice(_+1));continue}}if(z(V))G=Y;if((this._enablePositionalOptions||this._passThroughOptions)&&Z.length===0&&Y.length===0){if(this._findCommand(V)){if(Z.push(V),Q.length>0)Y.push(...Q);break}else if(V===this._helpCommandName&&this._hasImplicitHelpCommand()){if(Z.push(V),Q.length>0)Z.push(...Q);break}else if(this._defaultCommandName){if(Y.push(V),Q.length>0)Y.push(...Q);break}}if(this._passThroughOptions){if(G.push(V),Q.length>0)G.push(...Q);break}G.push(V)}return{operands:Z,unknown:Y}}opts(){if(this._storeOptionsAsProperties){let $={},Z=this.options.length;for(let Y=0;Y<Z;Y++){let G=this.options[Y].attributeName();$[G]=G===this._versionOptionName?this._version:this[G]}return $}return this._optionValues}optsWithGlobals(){return this._getCommandAndAncestors().reduce(($,Z)=>Object.assign($,Z.opts()),{})}error($,Z){if(this._outputConfiguration.outputError(`${$}
|
|
17
17
|
`,this._outputConfiguration.writeErr),typeof this._showHelpAfterError==="string")this._outputConfiguration.writeErr(`${this._showHelpAfterError}
|
|
18
18
|
`);else if(this._showHelpAfterError)this._outputConfiguration.writeErr(`
|
|
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
|
|
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
|
|
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 Y0.env){let Z=$.attributeName();if(this.getOptionValue(Z)===void 0||["default","config","env"].includes(this.getOptionValueSource(Z)))if($.required||$.optional)this.emit(`optionEnv:${$.name()}`,Y0.env[$.envVar]);else this.emit(`optionEnv:${$.name()}`)}})}_parseOptionsImplied(){let $=new Hz(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((U)=>U.negate&&J===U.attributeName()),j=this.options.find((U)=>!U.negate&&J===U.attributeName());if(_&&(_.presetArg===void 0&&V===!1||_.presetArg!==void 0&&V===_.presetArg))return _;return j||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=NZ($,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=NZ($,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
|
+
`),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 Jz(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=V1.basename($,V1.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=Bz(this._helpFlags);return this._helpShortFlag=Y.shortFlag,this._helpLongFlag=Y.longFlag,this}help($){this.outputHelp($);let Z=Y0.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
|
|
23
|
-
`);let G;while((G=
|
|
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 O6($){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)O6("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)O6(`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)O6(`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)O6(`"${z}" is already defined and WAS overwritten`);else O6(`"${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};FV.configDotenv=q0.configDotenv;FV._configVault=q0._configVault;FV._parseVault=q0._parseVault;FV.config=q0.config;FV.decrypt=q0.decrypt;FV.parse=q0.parse;FV.populate=q0.populate;V1.exports=q0});var s1=C((SV,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((DV,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((OV,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((AV,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(A6 in lZ)j8={value:lZ[A6]},Object.defineProperty(q8,A6,j8),Object.defineProperty(q8.prototype,A6,j8);var j8,A6});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)};
|
|
22
|
+
`)}),this}}function yZ($,Z){if($._hasHelpOption&&Z.find((G)=>G===$._helpLongFlag||G===$._helpShortFlag))$.outputHelp(),$._exit(0,"commander.helpDisplayed","(outputHelp)")}function xZ($){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})}_z.Command=P9});var vZ=C((s0,gZ)=>{var{Argument:jz}=q8(),{Command:fZ}=kZ(),{CommanderError:Uz,InvalidArgumentError:hZ}=O6(),{Help:Iz}=A9(),{Option:Fz}=O9();s0=gZ.exports=new fZ;s0.program=s0;s0.Command=fZ;s0.Option=Fz;s0.Argument=jz;s0.Help=Iz;s0.CommanderError=Uz;s0.InvalidArgumentError=hZ;s0.InvalidOptionArgumentError=hZ});var pZ=C((PV,Dz)=>{Dz.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 lZ=C((wV,B1)=>{var w9=M0("fs"),j8=M0("path"),Kz=M0("os"),Az=M0("crypto"),Oz=pZ(),R9=Oz.version,Sz=/(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/mg;function Lz($){let Z={},Y=$.toString();Y=Y.replace(/\r\n?/mg,`
|
|
23
|
+
`);let G;while((G=Sz.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 Mz($){$=$||{};let Z=iZ($);$.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=dZ($).split(","),Q=G.length,z;for(let J=0;J<Q;J++)try{let V=G[J].trim(),_=wz(Y,V);z=j0.decrypt(_.ciphertext,_.key);break}catch(V){if(J+1>=Q)throw V}return j0.parse(z)}function Pz($){console.log(`[dotenv@${R9}][WARN] ${$}`)}function L6($){console.log(`[dotenv@${R9}][DEBUG] ${$}`)}function cZ($){console.log(`[dotenv@${R9}] ${$}`)}function dZ($){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 wz($,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 iZ($){let Z=null;if($&&$.path&&$.path.length>0)if(Array.isArray($.path)){for(let Y of $.path)if(w9.existsSync(Y))Z=Y.endsWith(".vault")?Y:`${Y}.vault`}else Z=$.path.endsWith(".vault")?$.path:`${$.path}.vault`;else Z=j8.resolve(process.cwd(),".env.vault");if(w9.existsSync(Z))return Z;return null}function uZ($){return $[0]==="~"?j8.join(Kz.homedir(),$.slice(1)):$}function Rz($){let Z=Boolean($&&$.debug),Y=$&&"quiet"in $?$.quiet:!0;if(Z||!Y)cZ("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 Tz($){let Z=j8.resolve(process.cwd(),".env"),Y="utf8",G=Boolean($&&$.debug),Q=$&&"quiet"in $?$.quiet:!0;if($&&$.encoding)Y=$.encoding;else if(G)L6("No encoding is specified. UTF-8 is used by default");let z=[Z];if($&&$.path)if(!Array.isArray($.path))z=[uZ($.path)];else{z=[];for(let j of $.path)z.push(uZ(j))}let J,V={};for(let j of z)try{let U=j0.parse(w9.readFileSync(j,{encoding:Y}));j0.populate(V,U,$)}catch(U){if(G)L6(`Failed to load ${j} ${U.message}`);J=U}let _=process.env;if($&&$.processEnv!=null)_=$.processEnv;if(j0.populate(_,V,$),G||!Q){let j=Object.keys(V).length,U=[];for(let K of z)try{let S=j8.relative(process.cwd(),K);U.push(S)}catch(S){if(G)L6(`Failed to load ${K} ${S.message}`);J=S}cZ(`injecting env (${j}) from ${U.join(",")}`)}if(J)return{parsed:V,error:J};else return{parsed:V}}function Cz($){if(dZ($).length===0)return j0.configDotenv($);let Z=iZ($);if(!Z)return Pz(`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 Ez($,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=Az.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",j=J.message==="Unsupported state or unable to authenticate data";if(V||_){let U=new Error("INVALID_DOTENV_KEY: It must be 64 characters long (or more)");throw U.code="INVALID_DOTENV_KEY",U}else if(j){let U=new Error("DECRYPTION_FAILED: Please check your DOTENV_KEY");throw U.code="DECRYPTION_FAILED",U}else throw J}}function bz($,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)L6(`"${z}" is already defined and WAS overwritten`);else L6(`"${z}" is already defined and was NOT overwritten`)}else $[z]=Z[z]}var j0={configDotenv:Tz,_configVault:Rz,_parseVault:Mz,config:Cz,decrypt:Ez,parse:Lz,populate:bz};wV.configDotenv=j0.configDotenv;wV._configVault=j0._configVault;wV._parseVault=j0._parseVault;wV.config=j0.config;wV.decrypt=j0.decrypt;wV.parse=j0.parse;wV.populate=j0.populate;B1.exports=j0});var o1=C((RV,sZ)=>{sZ.exports=k1;k1.CAPTURING_PHASE=1;k1.AT_TARGET=2;k1.BUBBLING_PHASE=3;function k1($,Z){if(this.type="",this.target=null,this.currentTarget=null,this.eventPhase=k1.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]}k1.prototype=Object.create(Object.prototype,{constructor:{value:k1},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 C9=C((TV,rZ)=>{var oZ=o1();rZ.exports=T9;function T9(){oZ.call(this),this.view=null,this.detail=0}T9.prototype=Object.create(oZ.prototype,{constructor:{value:T9},initUIEvent:{value:function($,Z,Y,G,Q){this.initEvent($,Z,Y),this.view=G,this.detail=Q}}})});var b9=C((CV,aZ)=>{var nZ=C9();aZ.exports=E9;function E9(){nZ.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}E9.prototype=Object.create(nZ.prototype,{constructor:{value:E9},initMouseEvent:{value:function($,Z,Y,G,Q,z,J,V,_,j,U,K,S,B,O){switch(this.initEvent($,Z,Y,G,Q),this.screenX=z,this.screenY=J,this.clientX=V,this.clientY=_,this.ctrlKey=j,this.altKey=U,this.shiftKey=K,this.metaKey=S,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=O}},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 F8=C((EV,eZ)=>{eZ.exports=I8;var vz=1,mz=3,pz=4,uz=5,cz=7,dz=8,iz=9,lz=11,sz=12,oz=13,rz=14,nz=15,az=17,tz=18,ez=19,$X=20,ZX=21,YX=22,GX=23,QX=24,zX=25,XX=[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"],WX=[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."],tZ={INDEX_SIZE_ERR:vz,DOMSTRING_SIZE_ERR:2,HIERARCHY_REQUEST_ERR:mz,WRONG_DOCUMENT_ERR:pz,INVALID_CHARACTER_ERR:uz,NO_DATA_ALLOWED_ERR:6,NO_MODIFICATION_ALLOWED_ERR:cz,NOT_FOUND_ERR:dz,NOT_SUPPORTED_ERR:iz,INUSE_ATTRIBUTE_ERR:10,INVALID_STATE_ERR:lz,SYNTAX_ERR:sz,INVALID_MODIFICATION_ERR:oz,NAMESPACE_ERR:rz,INVALID_ACCESS_ERR:nz,VALIDATION_ERR:16,TYPE_MISMATCH_ERR:az,SECURITY_ERR:tz,NETWORK_ERR:ez,ABORT_ERR:$X,URL_MISMATCH_ERR:ZX,QUOTA_EXCEEDED_ERR:YX,TIMEOUT_ERR:GX,INVALID_NODE_TYPE_ERR:QX,DATA_CLONE_ERR:zX};function I8($){Error.call(this),Error.captureStackTrace(this,this.constructor),this.code=$,this.message=WX[$],this.name=XX[$]}I8.prototype.__proto__=Error.prototype;for(M6 in tZ)U8={value:tZ[M6]},Object.defineProperty(I8,M6,U8),Object.defineProperty(I8.prototype,M6,U8);var U8,M6});var D8=C((JX)=>{JX.isApiWritable=!globalThis.__domino_frozen__});var V0=C((HX)=>{var J0=F8(),q0=J0,BX=D8().isApiWritable;HX.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"};HX.IndexSizeError=function(){throw new J0(q0.INDEX_SIZE_ERR)};HX.HierarchyRequestError=function(){throw new J0(q0.HIERARCHY_REQUEST_ERR)};HX.WrongDocumentError=function(){throw new J0(q0.WRONG_DOCUMENT_ERR)};HX.InvalidCharacterError=function(){throw new J0(q0.INVALID_CHARACTER_ERR)};HX.NoModificationAllowedError=function(){throw new J0(q0.NO_MODIFICATION_ALLOWED_ERR)};HX.NotFoundError=function(){throw new J0(q0.NOT_FOUND_ERR)};HX.NotSupportedError=function(){throw new J0(q0.NOT_SUPPORTED_ERR)};HX.InvalidStateError=function(){throw new J0(q0.INVALID_STATE_ERR)};HX.SyntaxError=function(){throw new J0(q0.SYNTAX_ERR)};HX.InvalidModificationError=function(){throw new J0(q0.INVALID_MODIFICATION_ERR)};HX.NamespaceError=function(){throw new J0(q0.NAMESPACE_ERR)};HX.InvalidAccessError=function(){throw new J0(q0.INVALID_ACCESS_ERR)};HX.TypeMismatchError=function(){throw new J0(q0.TYPE_MISMATCH_ERR)};HX.SecurityError=function(){throw new J0(q0.SECURITY_ERR)};HX.NetworkError=function(){throw new J0(q0.NETWORK_ERR)};HX.AbortError=function(){throw new J0(q0.ABORT_ERR)};HX.UrlMismatchError=function(){throw new J0(q0.URL_MISMATCH_ERR)};HX.QuotaExceededError=function(){throw new J0(q0.QUOTA_EXCEEDED_ERR)};HX.TimeoutError=function(){throw new J0(q0.TIMEOUT_ERR)};HX.InvalidNodeTypeError=function(){throw new J0(q0.INVALID_NODE_TYPE_ERR)};HX.DataCloneError=function(){throw new J0(q0.DATA_CLONE_ERR)};HX.nyi=function(){throw new Error("NotYetImplemented")};HX.shouldOverride=function(){throw new Error("Abstract function; should be overriding in subclass.")};HX.assert=function($,Z){if(!$)throw new Error("Assertion failed: "+(Z||"")+`
|
|
25
|
+
`+new Error().stack)};HX.expose=function($,Z){for(var Y in $)Object.defineProperty(Z.prototype,Y,{value:$[Y],writable:BX})};HX.merge=function($,Z){for(var Y in Z)$[Y]=Z[Y]};HX.documentOrder=function($,Z){return 3-($.compareDocumentPosition(Z)&6)};HX.toASCIILowerCase=function($){return $.replace(/[A-Z]+/g,function(Z){return Z.toLowerCase()})};HX.toASCIIUpperCase=function($){return $.replace(/[a-z]+/g,function(Z){return Z.toUpperCase()})}});var N9=C((yV,Z7)=>{var f1=o1(),uX=b9(),cX=V0();Z7.exports=$7;function $7(){}$7.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(j,U){var{type:K,eventPhase:S}=U;if(U.currentTarget=j,S!==f1.CAPTURING_PHASE&&j._handlers&&j._handlers[K]){var B=j._handlers[K],O;if(typeof B==="function")O=B.call(U.currentTarget,U);else{var A=B.handleEvent;if(typeof A!=="function")throw new TypeError("handleEvent property of event handler object isnot a function.");O=A.call(B,U)}switch(U.type){case"mouseover":if(O===!0)U.preventDefault();break;case"beforeunload":default:if(O===!1)U.preventDefault();break}}var L=j._listeners&&j._listeners[K];if(!L)return;L=L.slice();for(var v=0,P=L.length;v<P;v++){if(U._immediatePropagationStopped)return;var T=L[v];if(S===f1.CAPTURING_PHASE&&!T.capture||S===f1.BUBBLING_PHASE&&T.capture)continue;if(T.f)T.f.call(U.currentTarget,U);else{var u=T.listener.handleEvent;if(typeof u!=="function")throw new TypeError("handleEvent property of event listener object is not a function.");u.call(T.listener,U)}}}if(!Z._initialized||Z._dispatching)cX.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=f1.CAPTURING_PHASE;for(var J=Q.length-1;J>=0;J--)if(G(Q[J],Z),Z._propagationStopped)break;if(!Z._propagationStopped)Z.eventPhase=f1.AT_TARGET,G(this,Z);if(Z.bubbles&&!Z._propagationStopped){Z.eventPhase=f1.BUBBLING_PHASE;for(var V=0,_=Q.length;V<_;V++)if(G(Q[V],Z),Z._propagationStopped)break}if(Z._dispatching=!1,Z.eventPhase=f1.AT_TARGET,Z.currentTarget=null,Y&&!Z.defaultPrevented&&Z instanceof uX)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 y9=C((xV,Y7)=>{var H1=V0(),d0=Y7.exports={valid:function($){return H1.assert($,"list falsy"),H1.assert($._previousSibling,"previous falsy"),H1.assert($._nextSibling,"next falsy"),!0},insertBefore:function($,Z){H1.assert(d0.valid($)&&d0.valid(Z));var Y=$,G=$._previousSibling,Q=Z,z=Z._previousSibling;Y._previousSibling=z,G._nextSibling=Q,z._nextSibling=Y,Q._previousSibling=G,H1.assert(d0.valid($)&&d0.valid(Z))},replace:function($,Z){if(H1.assert(d0.valid($)&&(Z===null||d0.valid(Z))),Z!==null)d0.insertBefore(Z,$);d0.remove($),H1.assert(d0.valid($)&&(Z===null||d0.valid(Z)))},remove:function($){H1.assert(d0.valid($));var Z=$._previousSibling;if(Z===$)return;var Y=$._nextSibling;Z._nextSibling=Y,Y._previousSibling=Z,$._previousSibling=$._nextSibling=$,H1.assert(d0.valid($))}}});var x9=C((kV,B7)=>{B7.exports={serializeOne:nX,ɵescapeMatchingClosingTag:W7,ɵescapeClosingCommentTag:J7,ɵescapeProcessingInstructionContent:V7};var X7=V0(),h1=X7.NAMESPACE,G7={STYLE:!0,SCRIPT:!0,XMP:!0,IFRAME:!0,NOEMBED:!0,NOFRAMES:!0,PLAINTEXT:!0},dX={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},iX={},Q7=/[&<>\u00A0]/g,z7=/[&"<>\u00A0]/g;function lX($){if(!Q7.test($))return $;return $.replace(Q7,(Z)=>{switch(Z){case"&":return"&";case"<":return"<";case">":return">";case" ":return" "}})}function sX($){if(!z7.test($))return $;return $.replace(z7,(Z)=>{switch(Z){case"<":return"<";case">":return">";case"&":return"&";case'"':return""";case" ":return" "}})}function oX($){var Z=$.namespaceURI;if(!Z)return $.localName;if(Z===h1.XML)return"xml:"+$.localName;if(Z===h1.XLINK)return"xlink:"+$.localName;if(Z===h1.XMLNS)if($.localName==="xmlns")return"xmlns";else return"xmlns:"+$.localName;return $.name}function W7($,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]="<";return G.join("")}var rX=/--!?>/;function J7($){if(!rX.test($))return $;return $.replace(/(--\!?)>/g,"$1>")}function V7($){return $.includes(">")?$.replaceAll(">",">"):$}function nX($,Z){var Y="";switch($.nodeType){case 1:var G=$.namespaceURI,Q=G===h1.HTML,z=Q||G===h1.SVG||G===h1.MATHML?$.localName:$.tagName;Y+="<"+z;for(var J=0,V=$._numattrs;J<V;J++){var _=$._attr(J);if(Y+=" "+oX(_),_.value!==void 0)Y+='="'+sX(_.value)+'"'}if(Y+=">",!(Q&&dX[z])){var j=$.serialize();if(G7[z.toUpperCase()])j=W7(j,z);if(Q&&iX[z]&&j.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 D0=C((TV,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,L6=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 L6: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===L6)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 L6: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 L6: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:L6},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((CV,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((bV,j7)=>{function cX($){return this[$]||null}function dX($){if(!$)$=[];return $.item=cX,$}j7.exports=dX});var v1=C((EV,K7)=>{var m9;try{m9=_7()}catch($){m9=q7()}K7.exports=m9});var S8=C((NV,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]+)$/,M6="_A-Za-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�",P6="-._A-Za-z0-9·À-ÖØ-öø-˿̀-ͽͿ-‿⁀⁰-Ⰰ-、-豈-﷏ﷰ-�",m1="["+M6+"]["+P6+"]*",p9=M6+":",u9=P6+":",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;M6+="\uD800-\uDB7F\uDC00-\uDFFF";P6+="\uD800-\uDB7F\uDC00-\uDFFF";m1="["+M6+"]["+P6+"]*";p9=M6+":";u9=P6+":";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((kV,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((fV,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=w6(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=w6(arguments[Z]),Q=$.indexOf(G);if(Q>-1)$.splice(Q,1)}this._update($)}},toggle:{value:function $(Z,Y){if(Z=w6(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=w6(Z),Y=w6(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 w6($){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)}}},U0={"*":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 U0[":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 U0[":first-of-type"]($)&&U0[":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 U0[":nth-of-type"]($,!0)},":checked":function($){return!!($.checked||$.selected)},":indeterminate":function($){return!U0[":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 U0[":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 U0[":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!U0[":valid"]($)},":in-range":function($){return $.value>$.min&&$.value<=$.max},":out-of-range":function($){return!U0[":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!U0[":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}},R6={" ":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 T6=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=R6.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(R6.noop(s9(Q)));break}}else _="noop";if(!R6[_])throw new SyntaxError("Bad combinator.");G.push(R6[_](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 $==="*"?U0["*"]:U0.type($);if($[1])return $[1][0]==="."?U0.attr("class","~=",w1($[1].substring(1)),!1):U0.attr("id","=",w1($[1].substring(1)),!1);if($[2])return $[3]?U0[w1($[2])](C7($[3])):U0[w1($[2])];if($[4]){var Y=$[6],G=/["'\s]\s*I$/i.test(Y);if(G)Y=Y.replace(/\s*I$/i,"");return U0.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=T6($),Y=[Z];while(Z.sel)Z=T6(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=T6($),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=T6(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=U0;a1.operators=N7;a1.combinators=R6;a1.matches=function($,Z){var Y={sel:Z};do if(Y=T6(Y.sel),Y($))return!0;while(Y.sel);return!1}});var P8=C((hV,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((gV,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((vV,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((mV,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 C6(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 C6(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 C6($,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($)}C6.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 C6(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=C6;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((pV,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 b6=C((uV,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((cV,Y2)=>{Y2.exports=z$;var e7=V0(),$2=D0(),Z2=b6();function z$($,Z){Z2.call(this),this.nodeType=$2.TEXT_NODE,this.ownerDocument=$,this._data=Z,this._index=void 0}var E6={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:E6,textContent:E6,innerText:E6,data:{get:E6.get,set:function($){E6.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((dV,Q2)=>{Q2.exports=W$;var x3=D0(),G2=b6();function W$($,Z){G2.call(this),this.nodeType=x3.COMMENT_NODE,this.ownerDocument=$,this._data=Z}var N6={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:N6,textContent:N6,innerText:N6,data:{get:N6.get,set:function($){N6.set.call(this,$===null?"":String($))}},clone:{value:function $(){return new W$(this.ownerDocument,this._data)}}})});var B$=C((iV,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((lV,V2)=>{V2.exports=H$;var g3=D0(),J2=b6();function H$($,Z,Y){J2.call(this),this.nodeType=g3.PROCESSING_INSTRUCTION_NODE,this.ownerDocument=$,this.target=Z,this._data=Y}var y6={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:y6,textContent:y6,innerText:y6,data:{get:y6.get,set:function($){y6.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 x6=C((sV,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((rV,_2)=>{var oV=_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((nV,F2)=>{F2.exports=I2;var u3=D0(),O0=x6(),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((aV,M2)=>{M2.exports=L2;var F$=x6(),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((tV,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((eV,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(($B,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((YB,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((GB,m2)=>{var I0=b8();m2.exports=k6;function k6(){}k6.prototype=Object.create(Object.prototype,{_url:{get:function(){return new I0(this.href)}},protocol:{get:function(){var $=this._url;if($&&$.scheme)return $.scheme+":";else return":"},set:function($){var Z=this.href,Y=new I0(Z);if(Y.isAbsolute()){if($=$.replace(/:+$/,""),$=$.replace(/[^-+\.a-zA-Z0-9]/g,I0.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 I0(Z);if(Y.isAbsolute()&&Y.isAuthorityBased()){if($=$.replace(/[^-+\._~!$&'()*,;:=a-zA-Z0-9]/g,I0.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 I0(Z);if(Y.isAbsolute()&&Y.isAuthorityBased()){if($=$.replace(/^\/+/,""),$=$.replace(/[^-+\._~!$&'()*,;:=a-zA-Z0-9]/g,I0.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 I0(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 I0(Z);if(Y.isAbsolute()&&Y.isHierarchical()){if($.charAt(0)!=="/")$="/"+$;$=$.replace(/[^-+\._~!$&'()*,;:=@\/a-zA-Z0-9]/g,I0.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 I0(Z);if(Y.isAbsolute()&&Y.isHierarchical()){if($.charAt(0)==="?")$=$.substring(1);$=$.replace(/[^-+\._~!$&'()*,;:=@\/?a-zA-Z0-9]/g,I0.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 I0(Z);if($.charAt(0)==="#")$=$.substring(1);$=$.replace(/[^-+\._~!$&'()*,;:=@\/?a-zA-Z0-9]/g,I0.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 I0(Z);if(Y.isAbsolute())$=$.replace(/[\x00-\x1F\x7F-\uFFFF "#<>?`\/@\\:]/g,I0.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 I0(Z);if(Y.isAbsolute()){if($==="")Y.password=null;else $=$.replace(/[\x00-\x1F\x7F-\uFFFF "#<>?`\/@\\]/g,I0.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+"://"}}}});k6._inherit=function($){Object.getOwnPropertyNames(k6.prototype).forEach(function(Z){if(Z==="constructor"||Z==="href")return;var Y=Object.getOwnPropertyDescriptor(k6.prototype,Z);Object.defineProperty($,Z,Y)})}});var L$=C((QB,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={},f6=Object.create(null);$W.createElement=function($,Z,Y){var G=f6[Z]||e3;return new G($,Z,Y)};function w($){return a3($,b,H1,f6)}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 f6.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(f6.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(f6.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((BB,r2)=>{r2.exports={VALUE:1,ATTR:2,REMOVE_ATTR:3,REMOVE:4,MOVE:5,INSERT:6}});var k8=C((HB,XY)=>{XY.exports=g6;var L0=D0(),WW=v1(),YY=S8(),T1=$6(),JW=X$(),VW=J$(),h6=s1(),BW=B$(),HW=_$(),_W=v6(),jW=S2(),qW=P2(),a2=x6(),t2=b8(),e2=M8(),KW=O$(),x8=D8(),T$=y8(),UW=R$(),l=V0(),G6=n2(),z6=l.NAMESPACE,C$=U8().isApiWritable;function g6($,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}}g6.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 h6(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 h6("readystatechange"),!0),this._dispatchEvent(new h6("DOMContentLoaded"),!0),this.readyState="complete",this._dispatchEvent(new h6("readystatechange"),!0),this.defaultView)this.defaultView._dispatchEvent(new h6("load"),!0)}},clone:{value:function $(){var Z=new g6(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 g6(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(g6.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((_B,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((jB,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);q6();for(var V6=Z;V6!==null;V6=V6.parentElement)if(V6 instanceof a.HTMLFormElement){c0=V6;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 B6(){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}
|
|
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 j6(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 j6(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 q6(){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=I6;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=K6,f0=F,F=W8}function TG(X,W){h(X,W),B=S1,f0=F,F=W8}function G9(X,W){return{elt:j6(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 F6=G9(I.ownerDocument,f.indexOf(H));while(I.hasChildNodes())F6.elt._appendChild(I.firstChild);I._appendChild(F6.elt),f.remove(H),f.replace(a6,F6.elt,F6.attrs),j.removeElement(H);var LQ=j.elements.lastIndexOf(I);j.elements.splice(LQ+1,0,F6.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=U6;break;case 60:if(wG())break;B=EG;break;case 0:M.push(X),K1=!0;break;case-1:g();break;default:_6(mW)||M.push(X);break}}function S1(X){switch(X){case 38:D=S1,B=U6;break;case 60:B=yG;break;case 0:M.push(65533),K1=!0;break;case-1:g();break;default:M.push(X);break}}function K6(X){switch(X){case 60:B=fG;break;case 0:M.push(65533);break;case-1:g();break;default:_6(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:_6(KY)||M.push(X);break}}function Q9(X){switch(X){case 0:M.push(65533);break;case-1:g();break;default:_6(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:B6(),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+=H6(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:B6(),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,K6)}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:B6(),E(X,gG);break;default:M.push(60),M.push(47),E(X,K6);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,K6)}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:B6(),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:B6(),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+=H6(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=U6;break;case 0:$0+=String.fromCharCode(65533);break;case-1:g();break;case 10:$0+=String.fromCharCode(X);break;default:$0+=H6(xW);break}}function e6(X){switch(X){case 39:U1(v,$0),B=J9;break;case 38:D=e6,B=U6;break;case 0:$0+=String.fromCharCode(65533);break;case-1:g();break;case 10:$0+=String.fromCharCode(X);break;default:$0+=H6(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=U6;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+=H6(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
|
-
`),
|
|
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:_6(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 U6(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=j6(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=j6(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=j6(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(),q6();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===I6||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),q6();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=I6;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 I6(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=I6;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),q6();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(),q6(),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(I6);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=K6;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 v6=C((qB,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((KB,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((UB,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((IB,mY)=>{var aW={setTimeout,clearTimeout,setInterval,clearInterval};mY.exports=aW});var g$=C((m6,uY)=>{var h$=V0();m6=uY.exports={CSSStyleDeclaration:E8(),CharacterData:b6(),Comment:J$(),DOMException:K8(),DOMImplementation:v6(),DOMTokenList:i9(),Document:k8(),DocumentFragment:B$(),DocumentType:h8(),Element:$6(),HTMLParser:d8(),NamedNodeMap:a9(),Node:D0(),NodeList:v1(),NodeFilter:x6(),ProcessingInstruction:_$(),Text:X$(),Window:v$()};h$.merge(m6,O$());h$.merge(m6,y8().elements);h$.merge(m6,R$().elements)});var v$=C((FB,cY)=>{var tW=v6(),eW=C9(),$J=hY(),p6=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:p6.nyi,forward:p6.nyi,go:p6.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}}});p6.expose(pY(),l8);p6.expose(g$(),l8)});var oY=C((ZJ)=>{var dY=v6(),iY=d8(),SB=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((OB,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
|
|
27
|
+
`;Y+=j,Y+="</"+z+">"}break;case 3:case 4:var U;if(Z.nodeType===1&&Z.namespaceURI===h1.HTML)U=Z.tagName;else U="";if(G7[U]||U==="NOSCRIPT"&&Z.ownerDocument._scripting_enabled)Y+=$.data;else Y+=lX($.data);break;case 8:Y+="<!--"+J7($.data)+"-->";break;case 7:let K=V7($.data);Y+="<?"+$.target+" "+K+"?>";break;case 10:Y+="<!DOCTYPE "+$.name,Y+=">";break;default:X7.InvalidStateError()}return Y}});var A0=C((fV,I7)=>{I7.exports=G0;var U7=N9(),K8=y9(),H7=x9(),e=V0();function G0(){U7.call(this),this.parentNode=null,this._nextSibling=this._previousSibling=this,this._index=void 0}var k0=G0.ELEMENT_NODE=1,k9=G0.ATTRIBUTE_NODE=2,A8=G0.TEXT_NODE=3,aX=G0.CDATA_SECTION_NODE=4,tX=G0.ENTITY_REFERENCE_NODE=5,f9=G0.ENTITY_NODE=6,_7=G0.PROCESSING_INSTRUCTION_NODE=7,q7=G0.COMMENT_NODE=8,P6=G0.DOCUMENT_NODE=9,i0=G0.DOCUMENT_TYPE_NODE=10,P1=G0.DOCUMENT_FRAGMENT_NODE=11,h9=G0.NOTATION_NODE=12,g9=G0.DOCUMENT_POSITION_DISCONNECTED=1,v9=G0.DOCUMENT_POSITION_PRECEDING=2,m9=G0.DOCUMENT_POSITION_FOLLOWING=4,j7=G0.DOCUMENT_POSITION_CONTAINS=8,p9=G0.DOCUMENT_POSITION_CONTAINED_BY=16,u9=G0.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC=32;G0.prototype=Object.create(U7.prototype,{baseURI:{get:e.nyi},parentElement:{get:function(){return this.parentNode&&this.parentNode.nodeType===k0?this.parentNode:null}},hasChildNodes:{value:e.shouldOverride},firstChild:{get:e.shouldOverride},lastChild:{get:e.shouldOverride},isConnected:{get:function(){let $=this;while($!=null){if($.nodeType===G0.DOCUMENT_NODE)return!0;if($=$.parentNode,$!=null&&$.nodeType===G0.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 P6:case P1:case k0:break;default:e.HierarchyRequestError()}if(Z.isAncestor(Q))e.HierarchyRequestError();if(Y!==null||!G){if(Y.parentNode!==Q)e.NotFoundError()}switch(Z.nodeType){case P1:case i0:case k0:case A8:case _7:case q7:break;default:e.HierarchyRequestError()}if(Q.nodeType===P6)switch(Z.nodeType){case A8:e.HierarchyRequestError();break;case P1:if(Z._countChildrenOfType(A8)>0)e.HierarchyRequestError();switch(Z._countChildrenOfType(k0)){case 0:break;case 1:if(Y!==null){if(G&&Y.nodeType===i0)e.HierarchyRequestError();for(J=Y.nextSibling;J!==null;J=J.nextSibling)if(J.nodeType===i0)e.HierarchyRequestError()}if(z=Q._countChildrenOfType(k0),G){if(z>0)e.HierarchyRequestError()}else if(z>1||z===1&&Y.nodeType!==k0)e.HierarchyRequestError();break;default:e.HierarchyRequestError()}break;case k0:if(Y!==null){if(G&&Y.nodeType===i0)e.HierarchyRequestError();for(J=Y.nextSibling;J!==null;J=J.nextSibling)if(J.nodeType===i0)e.HierarchyRequestError()}if(z=Q._countChildrenOfType(k0),G){if(z>0)e.HierarchyRequestError()}else if(z>1||z===1&&Y.nodeType!==k0)e.HierarchyRequestError();break;case i0:if(Y===null){if(Q._countChildrenOfType(k0))e.HierarchyRequestError()}else for(J=Q.firstChild;J!==null;J=J.nextSibling){if(J===Y)break;if(J.nodeType===k0)e.HierarchyRequestError()}if(z=Q._countChildrenOfType(i0),G){if(z>0)e.HierarchyRequestError()}else if(z>1||z===1&&Y.nodeType!==i0)e.HierarchyRequestError();break}else if(Z.nodeType===i0)e.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)e.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)&p9)!==0}},compareDocumentPosition:{value:function $(Z){if(this===Z)return 0;if(this.doc!==Z.doc||this.rooted!==Z.rooted)return g9+u9;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 g9+u9;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 m9;else return v9;if(Y.length<G.length)return m9+p9;else return v9+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 k0:return this._lookupNamespacePrefix(Z,this);case P6:return Y=this.documentElement,Y?Y.lookupPrefix(Z):null;case f9:case h9:case P1:case i0:return null;case k9: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 k0:return e.shouldOverride();case P6:return Y=this.documentElement,Y?Y.lookupNamespaceURI(Z):null;case f9:case h9:case i0:case P1:return null;case k9: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;e.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)e.WrongDocumentError()}},removeChildren:{value:e.shouldOverride},_insertOrReplace:{value:function $(Z,Y,G){var Q=this,z,J;if(Q.nodeType===P1&&Q.rooted)e.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 j=Q.rooted&&Z.rooted;if(Q.nodeType===P1){var U=[0,G?1:0],K;for(var S=Q.firstChild;S!==null;S=K)K=S.nextSibling,U.push(S),S.parentNode=Z;var B=U.length;if(G)K8.replace(_,B>2?U[2]:null);else if(B>2&&_!==null)K8.insertBefore(U[2],_);if(Z._childNodes){U[0]=Y===null?Z._childNodes.length:Y._index,Z._childNodes.splice.apply(Z._childNodes,U);for(J=2;J<B;J++)U[J]._index=U[0]+(J-2)}else if(Z._firstChild===Y){if(B>2)Z._firstChild=U[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(U[J])}}else{if(Y===Q)return;if(j)Q._remove();else if(Q.parentNode)Q.remove();if(Q.parentNode=Z,G){if(K8.replace(_,Q),Z._childNodes)Q._index=z,Z._childNodes[z]=Q;else if(Z._firstChild===Y)Z._firstChild=Q}else{if(_!==null)K8.insertBefore(Q,_);if(Z._childNodes)Q._index=z,Z._childNodes.splice(z,0,Q);else if(Z._firstChild===Y)Z._firstChild=Q}if(j)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!==G0.TEXT_NODE)continue;if(Z.nodeValue===""){this.removeChild(Z);continue}var Y=Z.previousSibling;if(Y===null)continue;else if(Y.nodeType===G0.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)$+=H7.serializeOne(Z,this);return $}},outerHTML:{get:function(){return H7.serializeOne(this,{nodeType:0})},set:e.nyi},ELEMENT_NODE:{value:k0},ATTRIBUTE_NODE:{value:k9},TEXT_NODE:{value:A8},CDATA_SECTION_NODE:{value:aX},ENTITY_REFERENCE_NODE:{value:tX},ENTITY_NODE:{value:f9},PROCESSING_INSTRUCTION_NODE:{value:_7},COMMENT_NODE:{value:q7},DOCUMENT_NODE:{value:P6},DOCUMENT_TYPE_NODE:{value:i0},DOCUMENT_FRAGMENT_NODE:{value:P1},NOTATION_NODE:{value:h9},DOCUMENT_POSITION_DISCONNECTED:{value:g9},DOCUMENT_POSITION_PRECEDING:{value:v9},DOCUMENT_POSITION_FOLLOWING:{value:m9},DOCUMENT_POSITION_CONTAINS:{value:j7},DOCUMENT_POSITION_CONTAINED_BY:{value:p9},DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:{value:u9}})});var D7=C((hV,F7)=>{F7.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 A7=C((gV,K7)=>{function eX($){return this[$]||null}function $3($){if(!$)$=[];return $.item=eX,$}K7.exports=$3});var g1=C((vV,O7)=>{var c9;try{c9=D7()}catch($){c9=A7()}O7.exports=c9});var O8=C((mV,M7)=>{M7.exports=L7;var S7=A0(),Z3=g1();function L7(){S7.call(this),this._firstChild=this._childNodes=null}L7.prototype=Object.create(S7.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 Z3;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 S8=C((B3)=>{B3.isValidName=J3;B3.isValidQName=V3;var Y3=/^[_:A-Za-z][-.:\w]+$/,G3=/^([_A-Za-z][-.\w]+|[_A-Za-z][-.\w]+:[_A-Za-z][-.\w]+)$/,w6="_A-Za-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�",R6="-._A-Za-z0-9·À-ÖØ-öø-˿̀-ͽͿ-‿⁀⁰-Ⰰ-、-豈-﷏ﷰ-�",v1="["+w6+"]["+R6+"]*",d9=w6+":",i9=R6+":",Q3=new RegExp("^["+d9+"]["+i9+"]*$"),z3=new RegExp("^("+v1+"|"+v1+":"+v1+")$"),P7=/[\uD800-\uDB7F\uDC00-\uDFFF]/,w7=/[\uD800-\uDB7F\uDC00-\uDFFF]/g,R7=/[\uD800-\uDB7F][\uDC00-\uDFFF]/g;w6+="\uD800-\uDB7F\uDC00-\uDFFF";R6+="\uD800-\uDB7F\uDC00-\uDFFF";v1="["+w6+"]["+R6+"]*";d9=w6+":";i9=R6+":";var X3=new RegExp("^["+d9+"]["+i9+"]*$"),W3=new RegExp("^("+v1+"|"+v1+":"+v1+")$");function J3($){if(Y3.test($))return!0;if(Q3.test($))return!0;if(!P7.test($))return!1;if(!X3.test($))return!1;var Z=$.match(w7),Y=$.match(R7);return Y!==null&&2*Y.length===Z.length}function V3($){if(G3.test($))return!0;if(z3.test($))return!0;if(!P7.test($))return!1;if(!W3.test($))return!1;var Z=$.match(w7),Y=$.match(R7);return Y!==null&&2*Y.length===Z.length}});var l9=C((j3)=>{var T7=V0();j3.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 q3($);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 q3($){var Z;if(typeof $.default==="function")Z=$.default;else if(typeof $.default==="number")Z=function(){return $.default};else Z=function(){T7.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),j=$.float?parseFloat(_):parseInt(_,10);if(_===null||!isFinite(j)||z!==void 0&&j<z||J!==void 0&&j>J)return Z.call(this);if(Y||G||Q){if(!/^[ \t\n\f\r]*[-+]?[0-9]/.test(_))return Z.call(this);j=j|0}return j},set:function(_){if(!$.float)_=Math.floor(_);if(V!==void 0&&_<V)T7.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(_))}}}j3.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 b7=C((cV,E7)=>{E7.exports=C7;var F3=A0();function C7($,Z){this.root=$,this.filter=Z,this.lastModTime=$.lastModTime,this.done=!1,this.cache=[],this.traverse()}C7.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===F3.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 o9=C((dV,x7)=>{var s9=V0();x7.exports=y7;function y7($,Z){this._getString=$,this._setString=Z,this._length=0,this._lastStringValue="",this._update()}Object.defineProperties(y7.prototype,{length:{get:function(){return this._length}},item:{value:function($){var Z=r1(this);if($<0||$>=Z.length)return null;return Z[$]}},contains:{value:function($){$=String($);var Z=r1(this);return Z.indexOf($)>-1}},add:{value:function(){var $=r1(this);for(var Z=0,Y=arguments.length;Z<Y;Z++){var G=T6(arguments[Z]);if($.indexOf(G)<0)$.push(G)}this._update($)}},remove:{value:function(){var $=r1(this);for(var Z=0,Y=arguments.length;Z<Y;Z++){var G=T6(arguments[Z]),Q=$.indexOf(G);if(Q>-1)$.splice(Q,1)}this._update($)}},toggle:{value:function $(Z,Y){if(Z=T6(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)==="")s9.SyntaxError();Z=T6(Z),Y=T6(Y);var G=r1(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($)N7(this,$),this._setString($.join(" ").trim());else N7(this,r1(this));this._lastStringValue=this._getString()}}});function N7($,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 T6($){if($=String($),$==="")s9.SyntaxError();if(/[ \t\r\n\f]/.test($))s9.InvalidCharacterError();return $}function D3($){var Z=$._length,Y=Array(Z);for(var G=0;G<Z;G++)Y[G]=$[G];return Y}function r1($){var Z=$._getString();if(Z===$._lastStringValue)return D3($);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 w8=C((t1,m7)=>{var L8=Object.create(null,{location:{get:function(){throw new Error("window.location is not supported.")}}}),K3=function($,Z){return $.compareDocumentPosition(Z)},A3=function($,Z){return K3($,Z)&2?1:-1},P8=function($){while(($=$.nextSibling)&&$.nodeType!==1);return $},a1=function($){while(($=$.previousSibling)&&$.nodeType!==1);return $},O3=function($){if($=$.firstChild)while($.nodeType!==1&&($=$.nextSibling));return $},S3=function($){if($=$.lastChild)while($.nodeType!==1&&($=$.previousSibling));return $},n1=function($){if(!$.parentNode)return!1;var Z=$.parentNode.nodeType;return Z===1||Z===9},k7=function($){if(!$)return $;var Z=$[0];if(Z==='"'||Z==="'"){if($[$.length-1]===Z)$=$.slice(1,-1);else $=$.slice(1);return $.replace(f.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(f.ident.test($))return w1($);else return $},w1=function($){return $.replace(f.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)})},L3=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}}(),h7=function($,Z){var Y=f.inside.source.replace(/</g,$).replace(/>/g,Z);return new RegExp(Y)},f0=function($,Z,Y){return $=$.source,$=$.replace(Z,Y.source||Y),new RegExp($)},f7=function($,Z){return $.replace(/^(?:\w+:\/\/|\/+)/,"").replace(/(?:\/+|\/*#.*?)$/,"").split("/",Z).join("/")},M3=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}},r9=function($,Z,Y){var G=M3($),Q=G.group,z=G.offset,J=!Y?O3:S3,V=!Y?P8:a1;return function(_){if(!n1(_))return;var j=J(_.parentNode),U=0;while(j){if(Z(j,_))U++;if(j===_)return U-=z,Q&&U?U%Q===0&&U<0===Q<0:!U;j=V(j)}}},F0={"*":function(){return function(){return!0}}(),type:function($){return $=$.toLowerCase(),function(Z){return Z.nodeName.toLowerCase()===$}},attr:function($,Z,Y,G){return Z=g7[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!a1($)&&n1($)},":last-child":function($){return!P8($)&&n1($)},":only-child":function($){return!a1($)&&!P8($)&&n1($)},":nth-child":function($,Z){return r9($,function(){return!0},Z)},":nth-last-child":function($){return F0[":nth-child"]($,!0)},":root":function($){return $.ownerDocument.documentElement===$},":empty":function($){return!$.firstChild},":not":function($){var Z=a9($);return function(Y){return!Z(Y)}},":first-of-type":function($){if(!n1($))return;var Z=$.nodeName;while($=a1($))if($.nodeName===Z)return;return!0},":last-of-type":function($){if(!n1($))return;var Z=$.nodeName;while($=P8($))if($.nodeName===Z)return;return!0},":only-of-type":function($){return F0[":first-of-type"]($)&&F0[":last-of-type"]($)},":nth-of-type":function($,Z){return r9($,function(Y,G){return Y.nodeName===G.nodeName},Z)},":nth-last-of-type":function($){return F0[":nth-of-type"]($,!0)},":checked":function($){return!!($.checked||$.selected)},":indeterminate":function($){return!F0[":checked"]($)},":enabled":function($){return!$.disabled&&$.type!=="hidden"},":disabled":function($){return!!$.disabled},":target":function($){return $.id===L8.location.hash.substring(1)},":focus":function($){return $===$.ownerDocument.activeElement},":is":function($){return a9($)},":matches":function($){return F0[":is"]($)},":nth-match":function($,Z){var Y=$.split(/\s*,\s*/),G=Y.shift(),Q=a9(Y.join(","));return r9(G,Q,Z)},":nth-last-match":function($){return F0[":nth-match"]($,!0)},":links-here":function($){return $+""===L8.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===L8.location.host;var Z=+$+1;return function(Y){if(!Y.href)return;var G=L8.location+"",Q=Y+"";return f7(G,Z)===f7(Q,Z)}},":default":function($){return!!$.defaultSelected},":valid":function($){return $.willValidate||$.validity&&$.validity.valid},":invalid":function($){return!F0[":valid"]($)},":in-range":function($){return $.value>$.min&&$.value<=$.max},":out-of-range":function($){return!F0[":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!F0[":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 v7($,Z).length>0}}},g7={"-":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}},C6={" ":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=a1(Z))return $(Z)&&Z}},"~":function($){return function(Z){while(Z=a1(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}},f={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)$/};f.cssid=f0(f.cssid,"nonascii",f.nonascii);f.cssid=f0(f.cssid,"escape",f.escape);f.qname=f0(f.qname,"cssid",f.cssid);f.simple=f0(f.simple,"cssid",f.cssid);f.ref=f0(f.ref,"cssid",f.cssid);f.attr=f0(f.attr,"cssid",f.cssid);f.pseudo=f0(f.pseudo,"cssid",f.cssid);f.inside=f0(f.inside,`[^"'>]*`,f.inside);f.attr=f0(f.attr,"inside",h7("\\[","\\]"));f.pseudo=f0(f.pseudo,"inside",h7("\\(","\\)"));f.simple=f0(f.simple,"pseudo",f.pseudo);f.simple=f0(f.simple,"attr",f.attr);f.ident=f0(f.ident,"cssid",f.cssid);f.str_escape=f0(f.str_escape,"escape",f.escape);var E6=function($){var Z=$.replace(/^\s+|\s+$/g,""),Y,G=[],Q=[],z,J,V,_,j;while(Z){if(V=f.qname.exec(Z))Z=Z.substring(V[0].length),J=w1(V[1]),Q.push(M8(J,!0));else if(V=f.simple.exec(Z))Z=Z.substring(V[0].length),J="*",Q.push(M8(J,!0)),Q.push(M8(V));else throw new SyntaxError("Invalid selector.");while(V=f.simple.exec(Z))Z=Z.substring(V[0].length),Q.push(M8(V));if(Z[0]==="!")Z=Z.substring(1),z=w3(),z.qname=J,Q.push(z.simple);if(V=f.ref.exec(Z)){Z=Z.substring(V[0].length),j=C6.ref(n9(Q),w1(V[1])),G.push(j.combinator),Q=[];continue}if(V=f.combinator.exec(Z)){if(Z=Z.substring(V[0].length),_=V[1]||V[2]||V[3],_===","){G.push(C6.noop(n9(Q)));break}}else _="noop";if(!C6[_])throw new SyntaxError("Bad combinator.");G.push(C6[_](n9(Q))),Q=[]}if(Y=P3(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(j)j.test=Y,j.qname=Y.qname,j.sel=Y.sel,Y=j;return Y},M8=function($,Z){if(Z)return $==="*"?F0["*"]:F0.type($);if($[1])return $[1][0]==="."?F0.attr("class","~=",w1($[1].substring(1)),!1):F0.attr("id","=",w1($[1].substring(1)),!1);if($[2])return $[3]?F0[w1($[2])](k7($[3])):F0[w1($[2])];if($[4]){var Y=$[6],G=/["'\s]\s*I$/i.test(Y);if(G)Y=Y.replace(/\s*I$/i,"");return F0.attr(w1($[4]),$[5]||"-",k7(Y),G)}throw new SyntaxError("Unknown Selector.")},n9=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}},P3=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}},w3=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},a9=function($){var Z=E6($),Y=[Z];while(Z.sel)Z=E6(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}},v7=function($,Z){var Y=[],G=E6($),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=E6(G.sel),Q=Z.getElementsByTagName(G.qname),z=0;while(J=Q[z++])if(G(J)&&L3.call(Y,J)===-1)Y.push(J)}Y.sort(A3)}return Y};m7.exports=t1=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 v7($,Z)};t1.selectors=F0;t1.operators=g7;t1.combinators=C6;t1.matches=function($,Z){var Y={sel:Z};do if(Y=E6(Y.sel),Y($))return!0;while(Y.sel);return!1}});var R8=C((iV,p7)=>{var R3=A0(),T3=y9(),t9=function($,Z){var Y=$.createDocumentFragment();for(var G=0;G<Z.length;G++){var Q=Z[G],z=Q instanceof R3;Y.appendChild(z?Q:$.createTextNode(String(Q)))}return Y},C3={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=t9(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=t9(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;T3.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=t9(this.doc,Z);if(this.parentNode===Y)Y.replaceChild(Q,this);else Y.insertBefore(Q,G)}}};p7.exports=C3});var e9=C((lV,c7)=>{var u7=A0(),E3={nextElementSibling:{get:function(){if(this.parentNode){for(var $=this.nextSibling;$!==null;$=$.nextSibling)if($.nodeType===u7.ELEMENT_NODE)return $}return null}},previousElementSibling:{get:function(){if(this.parentNode){for(var $=this.previousSibling;$!==null;$=$.previousSibling)if($.nodeType===u7.ELEMENT_NODE)return $}return null}}};c7.exports=E3});var $$=C((sV,i7)=>{i7.exports=d7;var e1=V0();function d7($){this.element=$}Object.defineProperties(d7.prototype,{length:{get:e1.shouldOverride},item:{value:e1.shouldOverride},getNamedItem:{value:function $(Z){return this.element.getAttributeNode(Z)}},getNamedItemNS:{value:function $(Z,Y){return this.element.getAttributeNodeNS(Z,Y)}},setNamedItem:{value:e1.nyi},setNamedItemNS:{value:e1.nyi},removeNamedItem:{value:function $(Z){var Y=this.element.getAttributeNode(Z);if(Y)return this.element.removeAttribute(Z),Y;e1.NotFoundError()}},removeNamedItemNS:{value:function $(Z,Y){var G=this.element.getAttributeNodeNS(Z,Y);if(G)return this.element.removeAttributeNS(Z,Y),G;e1.NotFoundError()}}})});var Z6=C((oV,n7)=>{n7.exports=R1;var Z$=S8(),z0=V0(),G1=z0.NAMESPACE,C8=l9(),o0=A0(),Y$=g1(),b3=x9(),T8=b7(),$6=F8(),N3=o9(),G$=w8(),s7=O8(),y3=R8(),x3=e9(),o7=$$(),l7=Object.create(null);function R1($,Z,Y,G){s7.call(this),this.nodeType=o0.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 Q$($,Z){if($.nodeType===o0.TEXT_NODE)Z.push($._data);else for(var Y=0,G=$.childNodes.length;Y<G;Y++)Q$($.childNodes[Y],Z)}R1.prototype=Object.create(s7.prototype,{isHTML:{get:function $(){return this.namespaceURI===G1.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=l7[Z];if(!Y)l7[Z]=Y=z0.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 Q$(this,$),$.join("")},set:function($){if(this.removeChildren(),$!==null&&$!==void 0&&$!=="")this._appendChild(this.ownerDocument.createTextNode($))}},innerText:{get:function(){var $=[];return Q$(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:z0.nyi},outerHTML:{get:function(){return b3.serializeOne(this,{nodeType:0})},set:function($){var Z=this.ownerDocument,Y=this.parentNode;if(Y===null)return;if(Y.nodeType===o0.DOCUMENT_NODE)z0.NoModificationAllowedError();if(Y.nodeType===o0.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 z0.SyntaxError()}}},insertAdjacentElement:{value:function $(Z,Y){if(Y.nodeType!==o0.ELEMENT_NODE)throw new TypeError("not an element");return Z=z0.toASCIILowerCase(String(Z)),this._insertAdjacent(Z,Y)}},insertAdjacentText:{value:function $(Z,Y){var G=this.ownerDocument.createTextNode(Y);Z=z0.toASCIILowerCase(String(Z)),this._insertAdjacent(Z,G)}},insertAdjacentHTML:{value:function $(Z,Y){Z=z0.toASCIILowerCase(String(Z)),Y=String(Y);var G;switch(Z){case"beforebegin":case"afterend":if(G=this.parentNode,G===null||G.nodeType===o0.DOCUMENT_NODE)z0.NoModificationAllowedError();break;case"afterbegin":case"beforeend":G=this;break;default:z0.SyntaxError()}if(!(G instanceof R1)||G.ownerDocument.isHTML&&G.localName==="html"&&G.namespaceURI===G1.HTML)G=G.ownerDocument.createElementNS(G1.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 r7(this);return this._children}},attributes:{get:function(){if(!this._attributes)this._attributes=new X$(this);return this._attributes}},firstElementChild:{get:function(){for(var $=this.firstChild;$!==null;$=$.nextSibling)if($.nodeType===o0.ELEMENT_NODE)return $;return null}},lastElementChild:{get:function(){for(var $=this.lastChild;$!==null;$=$.previousSibling)if($.nodeType===o0.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 Y$;if(Z==="*")Y=function(){return!0};else if(this.isHTML)Y=k3(Z);else Y=z$(Z);return new T8(this,Y)}},getElementsByTagNameNS:{value:function $(Z,Y){var G;if(Z==="*"&&Y==="*")G=function(){return!0};else if(Z==="*")G=z$(Y);else if(Y==="*")G=f3(Z);else G=h3(Z,Y);return new T8(this,G)}},getElementsByClassName:{value:function $(Z){if(Z=String(Z).trim(),Z===""){var Y=new Y$;return Y}return Z=Z.split(/[ \t\r\n\f]+/),new T8(this,g3(Z))}},getElementsByName:{value:function $(Z){return new T8(this,v3(String(Z)))}},clone:{value:function $(){var Z;if(this.namespaceURI!==G1.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===G1.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=z0.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=z0.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),!Z$.isValidName(Z))z0.InvalidCharacterError();if(/[A-Z]/.test(Z)&&this.isHTML)Z=z0.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),!Z$.isValidName(Z))z0.InvalidCharacterError();if(/[A-Z]/.test(Z)&&this.isHTML)Z=z0.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],j;if(!_){if(_=new b6(this,J,z,Z),j=!0,this._attrsByLName[V]=_,this._attributes)this._attributes[this._attrKeys.length]=_;this._attrKeys.push(V),this._addQName(_)}if(_.value=G,j&&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),!Z$.isValidQName(Y))z0.InvalidCharacterError();var Q=Y.indexOf(":"),z=Q<0?null:Y.substring(0,Q);if(z!==null&&Z===null||z==="xml"&&Z!==G1.XML||(Y==="xmlns"||z==="xmlns")&&Z!==G1.XMLNS||Z===G1.XMLNS&&!(Y==="xmlns"||z==="xmlns"))z0.NamespaceError();this._setAttributeNS(Z,Y,String(G))}},setAttributeNode:{value:function $(Z){if(Z.ownerElement!==null&&Z.ownerElement!==this)throw new $6($6.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 $6($6.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 $6($6.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=z0.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)z0.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 b6(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(z0.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(z0.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:C8.property({name:"id"}),className:C8.property({name:"class"}),classList:{get:function(){var $=this;if(this._classList)return this._classList;var Z=new N3(function(){return $.className||""},function(Y){$.className=Y});return this._classList=Z,Z},set:function($){this.className=$}},matches:{value:function($){return G$.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===o0.ELEMENT_NODE);return null}},querySelector:{value:function($){return G$($,this)[0]}},querySelectorAll:{value:function($){var Z=G$($,this);return Z.item?Z:new Y$(Z)}}});Object.defineProperties(R1.prototype,y3);Object.defineProperties(R1.prototype,x3);C8.registerChangeHandler(R1,"id",function($,Z,Y,G){if($.rooted){if(Y)$.ownerDocument.delId(Y,$);if(G)$.ownerDocument.addId(G,$)}});C8.registerChangeHandler(R1,"class",function($,Z,Y,G){if($._classList)$._classList._update()});function b6($,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($)}b6.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 b6(null,this.localName,this.prefix,this.namespaceURI,this.data)}},nodeType:{get:function(){return o0.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=b6;function X$($){o7.call(this,$);for(var Z in $._attrsByQName)this[Z]=$._attrsByQName[Z];for(var Y=0;Y<$._attrKeys.length;Y++)this[Y]=$._attrsByLName[$._attrKeys[Y]]}X$.prototype=Object.create(o7.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)X$.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 r7($){this.element=$,this.updateCache()}r7.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===o0.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===G1.HTML&&Z.test(this.element.localName)&&!this.childrenByName[J])this.childrenByName[z]=Q}}}}});function z$($){return function(Z){return Z.localName===$}}function k3($){var Z=z0.toASCIILowerCase($);if(Z===$)return z$($);return function(Y){return Y.isHTML?Y.localName===Z:Y.localName===$}}function f3($){return function(Z){return Z.namespaceURI===$}}function h3($,Z){return function(Y){return Y.namespaceURI===$&&Y.localName===Z}}function g3($){return function(Z){return $.every(function(Y){return Z.classList.contains(Y)})}}function v3($){return function(Z){if(Z.namespaceURI!==G1.HTML)return!1;return Z.getAttribute("name")===$}}});var W$=C((rV,Z2)=>{Z2.exports=$2;var t7=A0(),m3=g1(),e7=V0(),a7=e7.HierarchyRequestError,p3=e7.NotFoundError;function $2(){t7.call(this)}$2.prototype=Object.create(t7.prototype,{hasChildNodes:{value:function(){return!1}},firstChild:{value:null},lastChild:{value:null},insertBefore:{value:function($,Z){if(!$.nodeType)throw new TypeError("not a node");a7()}},replaceChild:{value:function($,Z){if(!$.nodeType)throw new TypeError("not a node");a7()}},removeChild:{value:function($){if(!$.nodeType)throw new TypeError("not a node");p3()}},removeChildren:{value:function(){}},childNodes:{get:function(){if(!this._childNodes)this._childNodes=new m3;return this._childNodes}}})});var N6=C((nV,Q2)=>{Q2.exports=E8;var G2=W$(),Y2=V0(),u3=R8(),c3=e9();function E8(){G2.call(this)}E8.prototype=Object.create(G2.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)Y2.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)Y2.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(E8.prototype,u3);Object.defineProperties(E8.prototype,c3)});var V$=C((aV,J2)=>{J2.exports=J$;var z2=V0(),X2=A0(),W2=N6();function J$($,Z){W2.call(this),this.nodeType=X2.TEXT_NODE,this.ownerDocument=$,this._data=Z,this._index=void 0}var y6={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)}};J$.prototype=Object.create(W2.prototype,{nodeName:{value:"#text"},nodeValue:y6,textContent:y6,innerText:y6,data:{get:y6.get,set:function($){y6.set.call(this,$===null?"":String($))}},splitText:{value:function $(Z){if(Z>this._data.length||Z<0)z2.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!==X2.TEXT_NODE)break;Z+=Y.textContent}return Z}},replaceWholeText:{value:z2.nyi},clone:{value:function $(){return new J$(this.ownerDocument,this._data)}}})});var H$=C((tV,B2)=>{B2.exports=B$;var d3=A0(),V2=N6();function B$($,Z){V2.call(this),this.nodeType=d3.COMMENT_NODE,this.ownerDocument=$,this._data=Z}var x6={get:function(){return this._data},set:function($){if($===null||$===void 0)$="";else $=String($);if(this._data=$,this.rooted)this.ownerDocument.mutateValue(this)}};B$.prototype=Object.create(V2.prototype,{nodeName:{value:"#comment"},nodeValue:x6,textContent:x6,innerText:x6,data:{get:x6.get,set:function($){x6.set.call(this,$===null?"":String($))}},clone:{value:function $(){return new B$(this.ownerDocument,this._data)}}})});var q$=C((eV,q2)=>{q2.exports=_$;var i3=A0(),l3=g1(),_2=O8(),b8=Z6(),s3=w8(),H2=V0();function _$($){_2.call(this),this.nodeType=i3.DOCUMENT_FRAGMENT_NODE,this.ownerDocument=$}_$.prototype=Object.create(_2.prototype,{nodeName:{value:"#document-fragment"},nodeValue:{get:function(){return null},set:function(){}},textContent:Object.getOwnPropertyDescriptor(b8.prototype,"textContent"),innerText:Object.getOwnPropertyDescriptor(b8.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=b8.prototype.getElementsByTagName,Z.nextElement=Object.getOwnPropertyDescriptor(b8.prototype,"firstElementChild").get;var Y=s3($,Z);return Y.item?Y:new l3(Y)}},clone:{value:function $(){return new _$(this.ownerDocument)}},isEqual:{value:function $(Z){return!0}},innerHTML:{get:function(){return this.serialize()},set:H2.nyi},outerHTML:{get:function(){return this.serialize()},set:H2.nyi}})});var U$=C(($B,U2)=>{U2.exports=j$;var o3=A0(),j2=N6();function j$($,Z,Y){j2.call(this),this.nodeType=o3.PROCESSING_INSTRUCTION_NODE,this.ownerDocument=$,this.target=Z,this._data=Y}var k6={get:function(){return this._data},set:function($){if($===null||$===void 0)$="";else $=String($);if(this._data=$,this.rooted)this.ownerDocument.mutateValue(this)}};j$.prototype=Object.create(j2.prototype,{nodeName:{get:function(){return this.target}},nodeValue:k6,textContent:k6,innerText:k6,data:{get:k6.get,set:function($){k6.set.call(this,$===null?"":String($))}},clone:{value:function $(){return new j$(this.ownerDocument,this.target,this._data)}},isEqual:{value:function $(Z){return this.target===Z.target&&this._data===Z._data}}})});var f6=C((ZB,I2)=>{var I$={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};I2.exports=I$.constructor=I$.prototype=I$});var D$=C((GB,D2)=>{var YB=D2.exports={nextSkippingChildren:r3,nextAncestorSibling:F$,next:n3,previous:a3,deepLastChild:F2};function r3($,Z){if($===Z)return null;if($.nextSibling!==null)return $.nextSibling;return F$($,Z)}function F$($,Z){for($=$.parentNode;$!==null;$=$.parentNode){if($===Z)return null;if($.nextSibling!==null)return $.nextSibling}return null}function n3($,Z){var Y=$.firstChild;if(Y!==null)return Y;if($===Z)return null;if(Y=$.nextSibling,Y!==null)return Y;return F$($,Z)}function F2($){while($.lastChild)$=$.lastChild;return $}function a3($,Z){var Y=$.previousSibling;if(Y!==null)return F2(Y);if(Y=$.parentNode,Y===Z)return null;return Y}});var P2=C((QB,M2)=>{M2.exports=L2;var t3=A0(),O0=f6(),K2=D$(),S2=V0(),K$={first:"firstChild",last:"lastChild",next:"firstChild",previous:"lastChild"},A$={first:"nextSibling",last:"previousSibling",next:"nextSibling",previous:"previousSibling"};function A2($,Z){var Y,G,Q,z,J;G=$._currentNode[K$[Z]];while(G!==null){if(z=$._internalFilter(G),z===O0.FILTER_ACCEPT)return $._currentNode=G,G;if(z===O0.FILTER_SKIP){if(Y=G[K$[Z]],Y!==null){G=Y;continue}}while(G!==null){if(J=G[A$[Z]],J!==null){G=J;break}if(Q=G.parentNode,Q===null||Q===$.root||Q===$._currentNode)return null;else G=Q}}return null}function O2($,Z){var Y,G,Q;if(Y=$._currentNode,Y===$.root)return null;while(!0){Q=Y[A$[Z]];while(Q!==null){if(Y=Q,G=$._internalFilter(Y),G===O0.FILTER_ACCEPT)return $._currentNode=Y,Y;if(Q=Y[K$[Z]],G===O0.FILTER_REJECT||Q===null)Q=Y[A$[Z]]}if(Y=Y.parentNode,Y===null||Y===$.root)return null;if($._internalFilter(Y)===O0.FILTER_ACCEPT)return null}}function L2($,Z,Y){if(!$||!$.nodeType)S2.NotSupportedError();this._root=$,this._whatToShow=Number(Z)||0,this._filter=Y||null,this._active=!1,this._currentNode=$}Object.defineProperties(L2.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 t3))throw new TypeError("Not a Node");this._currentNode=Z}},_internalFilter:{value:function $(Z){var Y,G;if(this._active)S2.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 A2(this,"first")}},lastChild:{value:function $(){return A2(this,"last")}},previousSibling:{value:function $(){return O2(this,"previous")}},nextSibling:{value:function $(){return O2(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=K2.nextSkippingChildren(Z,this.root);Q;Q=K2.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 b2=C((zB,E2)=>{E2.exports=C2;var O$=f6(),S$=D$(),T2=V0();function e3($,Z,Y){if(Y)return S$.next($,Z);else{if($===Z)return null;return S$.previous($,null)}}function w2($,Z){for(;Z;Z=Z.parentNode)if($===Z)return!0;return!1}function R2($,Z){var Y,G;Y=$._referenceNode,G=$._pointerBeforeReferenceNode;while(!0){if(G===Z)G=!G;else if(Y=e3(Y,$._root,Z),Y===null)return null;var Q=$._internalFilter(Y);if(Q===O$.FILTER_ACCEPT)break}return $._referenceNode=Y,$._pointerBeforeReferenceNode=G,Y}function C2($,Z,Y){if(!$||!$.nodeType)T2.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(C2.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)T2.InvalidStateError();if(!(1<<Z.nodeType-1&this._whatToShow))return O$.FILTER_SKIP;if(G=this._filter,G===null)Y=O$.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(w2(Z,this._root))return;if(!w2(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 R2(this,!0)}},previousNode:{value:function $(){return R2(this,!1)}},detach:{value:function $(){}},toString:{value:function $(){return"[object NodeIterator]"}}})});var N8=C((XB,N2)=>{N2.exports=S0;function S0($){if(!$)return Object.create(S0.prototype);this.url=$.replace(/^[ \t\n\r\f]+|[ \t\n\r\f]+$/g,"");var Z=S0.pattern.exec(this.url);if(Z){if(Z[2])this.scheme=Z[2];if(Z[4]){var Y=Z[4].match(S0.userinfoPattern);if(Y)this.username=Y[1],this.password=Y[3],Z[4]=Z[4].substring(Y[0].length);if(Z[4].match(S0.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]}}S0.pattern=/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/;S0.userinfoPattern=/^([^@:]*)(:([^@]*))?@/;S0.portPattern=/:\d+$/;S0.authorityPattern=/^[^:\/?#]+:\/\//;S0.hierarchyPattern=/^[^:\/?#]+:\//;S0.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")};S0.prototype={constructor:S0,isAbsolute:function(){return!!this.scheme},isAuthorityBased:function(){return S0.authorityPattern.test(this.url)},isHierarchical:function(){return S0.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 S0($),G=new S0;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),j=J.substring(0,3),U=J.substring(0,4);if(j==="../")J=J.substring(3);else if(_==="./")J=J.substring(2);else if(j==="/./")J="/"+J.substring(3);else if(_==="/."&&J.length===2)J="/";else if(U==="/../"||j==="/.."&&J.length===3)J="/"+J.substring(4),V=V.replace(/\/?[^\/]*$/,"");else{var K=J.match(/(\/?([^\/]*))/)[0];V+=K,J=J.substring(K.length)}}return V}}}});var k2=C((WB,x2)=>{x2.exports=L$;var y2=o1();function L$($,Z){y2.call(this,$,Z)}L$.prototype=Object.create(y2.prototype,{constructor:{value:L$}})});var M$=C((JB,f2)=>{f2.exports={Event:o1(),UIEvent:C9(),MouseEvent:b9(),CustomEvent:k2()}});var m2=C((g2)=>{Object.defineProperty(g2,"__esModule",{value:!0});g2.hyphenate=g2.parse=void 0;function $W($){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=h2($.substring(J,Y-1).trim()),z=Y;break;case 59:if(V&&z>0&&G===0&&Q===0){let j=$.substring(z,Y-1).trim();Z.push(V,j),J=Y,z=0,V=null}break}if(V&&z){let _=$.slice(z).trim();Z.push(V,_)}return Z}g2.parse=$W;function h2($){return $.replace(/[a-z][A-Z]/g,(Z)=>{return Z.charAt(0)+"-"+Z.charAt(1)}).toLowerCase()}g2.hyphenate=h2});var y8=C((BB,i2)=>{var{parse:YW}=m2();i2.exports=function($){let Z=new d2($);return new Proxy(Z,{get:function(G,Q){return Q in G?G[Q]:G.getPropertyValue(p2(Q))},has:function(G,Q){return!0},set:function(G,Q,z){if(Q in G)G[Q]=z;else G.setProperty(p2(Q),z??void 0);return!0}})};function p2($){return $.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function d2($){this._element=$}var u2="!important";function c2($){let Z={property:{},priority:{}};if(!$)return Z;let Y=YW($);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(u2))Z.priority[Q]="important",z=z.slice(0,-u2.length).trim();Z.property[Q]=z}return Z}var Y6={};d2.prototype=Object.create(Object.prototype,{_parsed:{get:function(){if(!this._parsedStyles||this.cssText!==this._lastParsedText){var $=this.cssText;this._parsedStyles=c2($),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!==Y6)Z=""+Z;if(Z=Z.trim(),Z===""){this.removeProperty($);return}if(Y!==""&&Y!==Y6&&!/^important$/i.test(Y))return;var G=this._parsed;if(Z===Y6){if(!G.property[$])return;if(Y!=="")G.priority[$]="important";else delete G.priority[$]}else{if(Z.indexOf(";")!==-1)return;var Q=c2($+":"+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===Y6)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,Y6)}},setPropertyPriority:{value:function($,Z){return this.setProperty($,Y6,Z)}},removeProperty:{value:function($){$=$.toLowerCase();var Z=this._parsed;if($ in Z.property)delete Z.property[$],delete Z.priority[$],this._serialize()}}})});var P$=C((HB,l2)=>{var D0=N8();l2.exports=h6;function h6(){}h6.prototype=Object.create(Object.prototype,{_url:{get:function(){return new D0(this.href)}},protocol:{get:function(){var $=this._url;if($&&$.scheme)return $.scheme+":";else return":"},set:function($){var Z=this.href,Y=new D0(Z);if(Y.isAbsolute()){if($=$.replace(/:+$/,""),$=$.replace(/[^-+\.a-zA-Z0-9]/g,D0.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 D0(Z);if(Y.isAbsolute()&&Y.isAuthorityBased()){if($=$.replace(/[^-+\._~!$&'()*,;:=a-zA-Z0-9]/g,D0.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 D0(Z);if(Y.isAbsolute()&&Y.isAuthorityBased()){if($=$.replace(/^\/+/,""),$=$.replace(/[^-+\._~!$&'()*,;:=a-zA-Z0-9]/g,D0.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 D0(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 D0(Z);if(Y.isAbsolute()&&Y.isHierarchical()){if($.charAt(0)!=="/")$="/"+$;$=$.replace(/[^-+\._~!$&'()*,;:=@\/a-zA-Z0-9]/g,D0.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 D0(Z);if(Y.isAbsolute()&&Y.isHierarchical()){if($.charAt(0)==="?")$=$.substring(1);$=$.replace(/[^-+\._~!$&'()*,;:=@\/?a-zA-Z0-9]/g,D0.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 D0(Z);if($.charAt(0)==="#")$=$.substring(1);$=$.replace(/[^-+\._~!$&'()*,;:=@\/?a-zA-Z0-9]/g,D0.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 D0(Z);if(Y.isAbsolute())$=$.replace(/[\x00-\x1F\x7F-\uFFFF "#<>?`\/@\\:]/g,D0.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 D0(Z);if(Y.isAbsolute()){if($==="")Y.password=null;else $=$.replace(/[\x00-\x1F\x7F-\uFFFF "#<>?`\/@\\]/g,D0.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+"://"}}}});h6._inherit=function($){Object.getOwnPropertyNames(h6.prototype).forEach(function(Z){if(Z==="constructor"||Z==="href")return;var Y=Object.getOwnPropertyDescriptor(h6.prototype,Z);Object.defineProperty($,Z,Y)})}});var w$=C((_B,r2)=>{var s2=l9(),GW=D8().isApiWritable;r2.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]=s2.property(V)}if(z.constructor={value:Q,writable:GW},Q.prototype=Object.create(($.superclass||Z).prototype,z),$.events)zW(Q,$.events);Y[$.name]=Q}else Q=Z;return($.tags||$.tag&&[$.tag]||[]).forEach(function(_){G[_]=Q}),Q};function o2($,Z,Y,G){this.body=$,this.document=Z,this.form=Y,this.element=G}o2.prototype.build=function(){return()=>{}};function QW($,Z,Y,G){var Q=$.ownerDocument||Object.create(null),z=$.form||Object.create(null);$[Z]=new o2(G,Q,z,$).build()}function zW($,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)}}),s2.registerChangeHandler($,"on"+G,QW)})}});var k8=C((BW)=>{var R$=A0(),n2=Z6(),XW=y8(),g0=V0(),a2=P$(),WW=w$(),_1=BW.elements={},g6=Object.create(null);BW.createElement=function($,Z,Y){var G=g6[Z]||VW;return new G($,Z,Y)};function R($){return WW($,E,_1,g6)}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 x8($){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 G6={type:["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],missing:""},JW={A:!0,LINK:!0,BUTTON:!0,INPUT:!0,SELECT:!0,TEXTAREA:!0,COMMAND:!0},r0=function($,Z,Y){E.call(this,$,Z,Y),this._form=null},E=BW.HTMLElement=R({superclass:n2,name:"HTMLElement",ctor:function $(Z,Y,G){n2.call(this,Z,Y,g0.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 g6.template?this.content:this;while(Y.hasChildNodes())Y.removeChild(Y.firstChild);Y.appendChild(Z._asDocumentFragment())}},style:{get:function(){if(!this._style)this._style=new XW(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:g0.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 JW||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"]}),VW=R({name:"HTMLUnknownElement",ctor:function $(Z,Y,G){E.call(this,Z,Y,G)}}),n0={form:{get:function(){return this._form}}};R({tag:"a",name:"HTMLAnchorElement",ctor:function $(Z,Y,G){E.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:G6,coords:String,charset:String,name:String,rev:String,shape:String}});a2._inherit(g6.a.prototype);R({tag:"area",name:"HTMLAreaElement",ctor:function $(Z,Y,G){E.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:G6,noHref:Boolean}});a2._inherit(g6.area.prototype);R({tag:"br",name:"HTMLBRElement",ctor:function $(Z,Y,G){E.call(this,Z,Y,G)},attributes:{clear:String}});R({tag:"base",name:"HTMLBaseElement",ctor:function $(Z,Y,G){E.call(this,Z,Y,G)},attributes:{target:String}});R({tag:"body",name:"HTMLBodyElement",ctor:function $(Z,Y,G){E.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}});R({tag:"button",name:"HTMLButtonElement",ctor:function $(Z,Y,G){r0.call(this,Z,Y,G)},props:n0,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:""}}});R({tag:"dl",name:"HTMLDListElement",ctor:function $(Z,Y,G){E.call(this,Z,Y,G)},attributes:{compact:Boolean}});R({tag:"data",name:"HTMLDataElement",ctor:function $(Z,Y,G){E.call(this,Z,Y,G)},attributes:{value:String}});R({tag:"datalist",name:"HTMLDataListElement",ctor:function $(Z,Y,G){E.call(this,Z,Y,G)}});R({tag:"details",name:"HTMLDetailsElement",ctor:function $(Z,Y,G){E.call(this,Z,Y,G)},attributes:{open:Boolean}});R({tag:"div",name:"HTMLDivElement",ctor:function $(Z,Y,G){E.call(this,Z,Y,G)},attributes:{align:String}});R({tag:"embed",name:"HTMLEmbedElement",ctor:function $(Z,Y,G){E.call(this,Z,Y,G)},attributes:{src:B0,type:String,width:String,height:String,align:String,name:String}});R({tag:"fieldset",name:"HTMLFieldSetElement",ctor:function $(Z,Y,G){r0.call(this,Z,Y,G)},props:n0,attributes:{disabled:Boolean,name:String}});R({tag:"form",name:"HTMLFormElement",ctor:function $(Z,Y,G){E.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"}}});R({tag:"hr",name:"HTMLHRElement",ctor:function $(Z,Y,G){E.call(this,Z,Y,G)},attributes:{align:String,color:String,noShade:Boolean,size:String,width:String}});R({tag:"head",name:"HTMLHeadElement",ctor:function $(Z,Y,G){E.call(this,Z,Y,G)}});R({tags:["h1","h2","h3","h4","h5","h6"],name:"HTMLHeadingElement",ctor:function $(Z,Y,G){E.call(this,Z,Y,G)},attributes:{align:String}});R({tag:"html",name:"HTMLHtmlElement",ctor:function $(Z,Y,G){E.call(this,Z,Y,G)},attributes:{xmlns:B0,version:String}});R({tag:"iframe",name:"HTMLIFrameElement",ctor:function $(Z,Y,G){E.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:G6,loading:{type:["eager","lazy"],treatNullAsEmptyString:!0},align:String,scrolling:String,frameBorder:String,longDesc:B0,marginHeight:{type:String,treatNullAsEmptyString:!0},marginWidth:{type:String,treatNullAsEmptyString:!0}}});R({tag:"img",name:"HTMLImageElement",ctor:function $(Z,Y,G){E.call(this,Z,Y,G)},attributes:{alt:String,src:B0,srcset:String,crossOrigin:x8,useMap:String,isMap:Boolean,sizes:String,height:{type:"unsigned long",default:0},width:{type:"unsigned long",default:0},referrerPolicy:G6,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}}});R({tag:"input",name:"HTMLInputElement",ctor:function $(Z,Y,G){r0.call(this,Z,Y,G)},props:{form:n0.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}});R({tag:"keygen",name:"HTMLKeygenElement",ctor:function $(Z,Y,G){r0.call(this,Z,Y,G)},props:n0,attributes:{name:String,disabled:Boolean,autofocus:Boolean,challenge:String,keytype:{type:["rsa"],missing:""}}});R({tag:"li",name:"HTMLLIElement",ctor:function $(Z,Y,G){E.call(this,Z,Y,G)},attributes:{value:{type:"long",default:0},type:String}});R({tag:"label",name:"HTMLLabelElement",ctor:function $(Z,Y,G){r0.call(this,Z,Y,G)},props:n0,attributes:{htmlFor:{name:"for",type:String}}});R({tag:"legend",name:"HTMLLegendElement",ctor:function $(Z,Y,G){E.call(this,Z,Y,G)},attributes:{align:String}});R({tag:"link",name:"HTMLLinkElement",ctor:function $(Z,Y,G){E.call(this,Z,Y,G)},attributes:{href:B0,rel:String,media:String,hreflang:String,type:String,crossOrigin:x8,nonce:String,integrity:String,referrerPolicy:G6,imageSizes:String,imageSrcset:String,charset:String,rev:String,target:String}});R({tag:"map",name:"HTMLMapElement",ctor:function $(Z,Y,G){E.call(this,Z,Y,G)},attributes:{name:String}});R({tag:"menu",name:"HTMLMenuElement",ctor:function $(Z,Y,G){E.call(this,Z,Y,G)},attributes:{type:{type:["context","popup","toolbar"],missing:"toolbar"},label:String,compact:Boolean}});R({tag:"meta",name:"HTMLMetaElement",ctor:function $(Z,Y,G){E.call(this,Z,Y,G)},attributes:{name:String,content:String,httpEquiv:{name:"http-equiv",type:String},scheme:String}});R({tag:"meter",name:"HTMLMeterElement",ctor:function $(Z,Y,G){r0.call(this,Z,Y,G)},props:n0});R({tags:["ins","del"],name:"HTMLModElement",ctor:function $(Z,Y,G){E.call(this,Z,Y,G)},attributes:{cite:B0,dateTime:String}});R({tag:"ol",name:"HTMLOListElement",ctor:function $(Z,Y,G){E.call(this,Z,Y,G)},props:{_numitems:{get:function(){var $=0;return this.childNodes.forEach(function(Z){if(Z.nodeType===R$.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}});R({tag:"object",name:"HTMLObjectElement",ctor:function $(Z,Y,G){r0.call(this,Z,Y,G)},props:n0,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}}});R({tag:"optgroup",name:"HTMLOptGroupElement",ctor:function $(Z,Y,G){E.call(this,Z,Y,G)},attributes:{disabled:Boolean,label:String}});R({tag:"option",name:"HTMLOptionElement",ctor:function $(Z,Y,G){E.call(this,Z,Y,G)},props:{form:{get:function(){var $=this.parentNode;while($&&$.nodeType===R$.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}});R({tag:"output",name:"HTMLOutputElement",ctor:function $(Z,Y,G){r0.call(this,Z,Y,G)},props:n0,attributes:{name:String}});R({tag:"p",name:"HTMLParagraphElement",ctor:function $(Z,Y,G){E.call(this,Z,Y,G)},attributes:{align:String}});R({tag:"param",name:"HTMLParamElement",ctor:function $(Z,Y,G){E.call(this,Z,Y,G)},attributes:{name:String,value:String,type:String,valueType:String}});R({tags:["pre","listing","xmp"],name:"HTMLPreElement",ctor:function $(Z,Y,G){E.call(this,Z,Y,G)},attributes:{width:{type:"long",default:0}}});R({tag:"progress",name:"HTMLProgressElement",ctor:function $(Z,Y,G){r0.call(this,Z,Y,G)},props:n0,attributes:{max:{type:Number,float:!0,default:1,min:0}}});R({tags:["q","blockquote"],name:"HTMLQuoteElement",ctor:function $(Z,Y,G){E.call(this,Z,Y,G)},attributes:{cite:B0}});R({tag:"script",name:"HTMLScriptElement",ctor:function $(Z,Y,G){E.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===R$.TEXT_NODE)$+=G._data}return $},set:function($){if(this.removeChildren(),$!==null&&$!=="")this.appendChild(this.ownerDocument.createTextNode($))}}},attributes:{src:B0,type:String,charset:String,referrerPolicy:G6,defer:Boolean,async:Boolean,nomodule:Boolean,crossOrigin:x8,nonce:String,integrity:String}});R({tag:"select",name:"HTMLSelectElement",ctor:function $(Z,Y,G){r0.call(this,Z,Y,G)},props:{form:n0.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}}});R({tag:"span",name:"HTMLSpanElement",ctor:function $(Z,Y,G){E.call(this,Z,Y,G)}});R({tag:"style",name:"HTMLStyleElement",ctor:function $(Z,Y,G){E.call(this,Z,Y,G)},attributes:{media:String,type:String,scoped:Boolean}});R({tag:"caption",name:"HTMLTableCaptionElement",ctor:function $(Z,Y,G){E.call(this,Z,Y,G)},attributes:{align:String}});R({name:"HTMLTableCellElement",ctor:function $(Z,Y,G){E.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}}});R({tags:["col","colgroup"],name:"HTMLTableColElement",ctor:function $(Z,Y,G){E.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}});R({tag:"table",name:"HTMLTableElement",ctor:function $(Z,Y,G){E.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}}});R({tag:"template",name:"HTMLTemplateElement",ctor:function $(Z,Y,G){E.call(this,Z,Y,G),this._contentFragment=Z._templateDoc.createDocumentFragment()},props:{content:{get:function(){return this._contentFragment}},serialize:{value:function(){return this.content.serialize()}}}});R({tag:"tr",name:"HTMLTableRowElement",ctor:function $(Z,Y,G){E.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}}});R({tags:["thead","tfoot","tbody"],name:"HTMLTableSectionElement",ctor:function $(Z,Y,G){E.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}});R({tag:"textarea",name:"HTMLTextAreaElement",ctor:function $(Z,Y,G){r0.call(this,Z,Y,G)},props:{form:n0.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:""}}});R({tag:"time",name:"HTMLTimeElement",ctor:function $(Z,Y,G){E.call(this,Z,Y,G)},attributes:{dateTime:String,pubDate:Boolean}});R({tag:"title",name:"HTMLTitleElement",ctor:function $(Z,Y,G){E.call(this,Z,Y,G)},props:{text:{get:function(){return this.textContent}}}});R({tag:"ul",name:"HTMLUListElement",ctor:function $(Z,Y,G){E.call(this,Z,Y,G)},attributes:{type:String,compact:Boolean}});R({name:"HTMLMediaElement",ctor:function $(Z,Y,G){E.call(this,Z,Y,G)},attributes:{src:B0,crossOrigin:x8,preload:{type:["metadata","none","auto",{value:"",alias:"auto"}],missing:"auto"},loop:Boolean,autoplay:Boolean,mediaGroup:String,controls:Boolean,defaultMuted:{name:"muted",type:Boolean}}});R({name:"HTMLAudioElement",tag:"audio",superclass:_1.HTMLMediaElement,ctor:function $(Z,Y,G){_1.HTMLMediaElement.call(this,Z,Y,G)}});R({name:"HTMLVideoElement",tag:"video",superclass:_1.HTMLMediaElement,ctor:function $(Z,Y,G){_1.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}}});R({tag:"td",name:"HTMLTableDataCellElement",superclass:_1.HTMLTableCellElement,ctor:function $(Z,Y,G){_1.HTMLTableCellElement.call(this,Z,Y,G)}});R({tag:"th",name:"HTMLTableHeaderCellElement",superclass:_1.HTMLTableCellElement,ctor:function $(Z,Y,G){_1.HTMLTableCellElement.call(this,Z,Y,G)}});R({tag:"frameset",name:"HTMLFrameSetElement",ctor:function $(Z,Y,G){E.call(this,Z,Y,G)}});R({tag:"frame",name:"HTMLFrameElement",ctor:function $(Z,Y,G){E.call(this,Z,Y,G)}});R({tag:"canvas",name:"HTMLCanvasElement",ctor:function $(Z,Y,G){E.call(this,Z,Y,G)},props:{getContext:{value:g0.nyi},probablySupportsContext:{value:g0.nyi},setContext:{value:g0.nyi},transferControlToProxy:{value:g0.nyi},toDataURL:{value:g0.nyi},toBlob:{value:g0.nyi}},attributes:{width:{type:"unsigned long",default:300},height:{type:"unsigned long",default:150}}});R({tag:"dialog",name:"HTMLDialogElement",ctor:function $(Z,Y,G){E.call(this,Z,Y,G)},props:{show:{value:g0.nyi},showModal:{value:g0.nyi},close:{value:g0.nyi}},attributes:{open:Boolean,returnValue:String}});R({tag:"menuitem",name:"HTMLMenuItemElement",ctor:function $(Z,Y,G){E.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}});R({tag:"source",name:"HTMLSourceElement",ctor:function $(Z,Y,G){E.call(this,Z,Y,G)},attributes:{srcset:String,sizes:String,media:String,src:B0,type:String,width:String,height:String}});R({tag:"track",name:"HTMLTrackElement",ctor:function $(Z,Y,G){E.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:g0.nyi},track:{get:g0.nyi}}});R({tag:"font",name:"HTMLFontElement",ctor:function $(Z,Y,G){E.call(this,Z,Y,G)},attributes:{color:{type:String,treatNullAsEmptyString:!0},face:{type:String},size:{type:String}}});R({tag:"dir",name:"HTMLDirectoryElement",ctor:function $(Z,Y,G){E.call(this,Z,Y,G)},attributes:{compact:Boolean}});R({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 E$=C((IW)=>{var t2=Z6(),_W=w$(),qW=V0(),jW=y8(),UW=IW.elements={},e2=Object.create(null);IW.createElement=function($,Z,Y){var G=e2[Z]||C$;return new G($,Z,Y)};function T$($){return _W($,C$,UW,e2)}var C$=T$({superclass:t2,name:"SVGElement",ctor:function $(Z,Y,G){t2.call(this,Z,Y,qW.NAMESPACE.SVG,G)},props:{style:{get:function(){if(!this._style)this._style=new jW(this);return this._style}}}});T$({name:"SVGSVGElement",ctor:function $(Z,Y,G){C$.call(this,Z,Y,G)},tag:"svg",props:{createSVGRect:{value:function(){return IW.createElement(this.ownerDocument,"rect",null)}}}});T$({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 YY=C((DB,ZY)=>{ZY.exports={VALUE:1,ATTR:2,REMOVE_ATTR:3,REMOVE:4,MOVE:5,INSERT:6}});var h8=C((KB,_Y)=>{_Y.exports=m6;var P0=A0(),FW=g1(),JY=O8(),T1=Z6(),DW=V$(),KW=H$(),v6=o1(),AW=q$(),OW=U$(),SW=p6(),LW=P2(),MW=b2(),GY=f6(),QY=N8(),zY=w8(),PW=M$(),f8=S8(),b$=k8(),wW=E$(),n=V0(),Q6=YY(),X6=n.NAMESPACE,N$=D8().isApiWritable;function m6($,Z){JY.call(this),this.nodeType=P0.DOCUMENT_NODE,this.isHTML=$,this._address=Z||"about:blank",this.readyState="loading",this.implementation=new SW(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 RW={event:"Event",customevent:"CustomEvent",uievent:"UIEvent",mouseevent:"MouseEvent"},TW={events:"event",htmlevents:"event",mouseevents:"mouseevent",mutationevents:"mutationevent",uievents:"uievent"},z6=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 XY($,Z){var Y,G,Q;if($==="")$=null;if(!f8.isValidQName(Z))n.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)n.NamespaceError();if(Y==="xml"&&$!==X6.XML)n.NamespaceError();if((Y==="xmlns"||Z==="xmlns")&&$!==X6.XMLNS)n.NamespaceError();if($===X6.XMLNS&&!(Y==="xmlns"||Z==="xmlns"))n.NamespaceError();return{namespace:$,prefix:Y,localName:G}}m6.prototype=Object.create(JY.prototype,{_setMutationHandler:{value:function($){this.mutationHandler=$}},_dispatchRendererEvent:{value:function($,Z,Y){var G=this._nodes[$];if(!G)return;G._dispatchEvent(new v6(Z,Y),!0)}},nodeName:{value:"#document"},nodeValue:{get:function(){return null},set:function(){}},documentURI:{get:function(){return this._address},set:n.nyi},compatMode:{get:function(){return this._quirks?"BackCompat":"CSS1Compat"}},createTextNode:{value:function($){return new DW(this,String($))}},createComment:{value:function($){return new KW(this,$)}},createDocumentFragment:{value:function(){return new AW(this)}},createProcessingInstruction:{value:function($,Z){if(!f8.isValidName($)||Z.indexOf("?>")!==-1)n.InvalidCharacterError();return new OW(this,$,Z)}},createAttribute:{value:function($){if($=String($),!f8.isValidName($))n.InvalidCharacterError();if(this.isHTML)$=n.toASCIILowerCase($);return new T1._Attr(null,$,null,null,"")}},createAttributeNS:{value:function($,Z){$=$===null||$===void 0||$===""?null:String($),Z=String(Z);var Y=XY($,Z);return new T1._Attr(null,Y.localName,Y.prefix,Y.namespace,"")}},createElement:{value:function($){if($=String($),!f8.isValidName($))n.InvalidCharacterError();if(this.isHTML){if(/[A-Z]/.test($))$=n.toASCIILowerCase($);return b$.createElement(this,$,null)}else if(this.contentType==="application/xhtml+xml")return b$.createElement(this,$,null);else return new T1(this,$,null,null)},writable:N$},createElementNS:{value:function($,Z){$=$===null||$===void 0||$===""?null:String($),Z=String(Z);var Y=XY($,Z);return this._createElementNS(Y.localName,Y.namespace,Y.prefix)},writable:N$},_createElementNS:{value:function($,Z,Y){if(Z===X6.HTML)return b$.createElement(this,$,Y);else if(Z===X6.SVG)return wW.createElement(this,$,Y);return new T1(this,$,Z,Y)}},createEvent:{value:function $(Z){Z=Z.toLowerCase();var Y=TW[Z]||Z,G=PW[RW[Y]];if(G){var Q=new G;return Q._initialized=!1,Q}else n.NotSupportedError()}},createTreeWalker:{value:function($,Z,Y){if(!$)throw new TypeError("root argument is required");if(!($ instanceof P0))throw new TypeError("root not a node");return Z=Z===void 0?GY.SHOW_ALL:+Z,Y=Y===void 0?null:Y,new LW($,Z,Y)}},createNodeIterator:{value:function($,Z,Y){if(!$)throw new TypeError("root argument is required");if(!($ instanceof P0))throw new TypeError("root not a node");return Z=Z===void 0?GY.SHOW_ALL:+Z,Y=Y===void 0?null:Y,new MW($,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===P0.DOCUMENT_TYPE_NODE)this.doctype=Z;else if(Z.nodeType===P0.ELEMENT_NODE)this.documentElement=Z}},insertBefore:{value:function $(Z,Y){return P0.prototype.insertBefore.call(this,Z,Y),this._updateDocTypeElement(),Z}},replaceChild:{value:function $(Z,Y){return P0.prototype.replaceChild.call(this,Z,Y),this._updateDocTypeElement(),Y}},removeChild:{value:function $(Z){return P0.prototype.removeChild.call(this,Z),this._updateDocTypeElement(),Z}},getElementById:{value:function($){var Z=this.byId[$];if(!Z)return null;if(Z instanceof q1)return Z.getFirst();return Z}},_hasMultipleElementsWithId:{value:function($){return this.byId[$]instanceof q1}},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===P0.DOCUMENT_NODE)n.NotSupportedError();if(Z.nodeType===P0.ATTRIBUTE_NODE)return Z;if(Z.parentNode)Z.parentNode.removeChild(Z);if(Z.ownerDocument!==this)HY(Z,this);return Z}},importNode:{value:function $(Z,Y){return this.adoptNode(Z.cloneNode(Y))},writable:N$},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:n.nyi,set:n.nyi},referrer:{get:n.nyi},cookie:{get:n.nyi,set:n.nyi},lastModified:{get:n.nyi},location:{get:function(){return this.defaultView?this.defaultView.location:null},set:n.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:z6(function(){var $=this.documentElement;if($&&$.tagName==="HTML")return $},"dir",""),fgColor:z6(function(){return this.body},"text",""),linkColor:z6(function(){return this.body},"link",""),vlinkColor:z6(function(){return this.body},"vLink",""),alinkColor:z6(function(){return this.body},"aLink",""),bgColor:z6(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 WY(this.documentElement,"body")},set:n.nyi},head:{get:function(){return WY(this.documentElement,"head")}},images:{get:n.nyi},embeds:{get:n.nyi},plugins:{get:n.nyi},links:{get:n.nyi},forms:{get:n.nyi},scripts:{get:n.nyi},applets:{get:function(){return[]}},activeElement:{get:function(){return null}},innerHTML:{get:function(){return this.serialize()},set:n.nyi},outerHTML:{get:function(){return this.serialize()},set:n.nyi},write:{value:function($){if(!this.isHTML)n.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 v6("readystatechange"),!0),this._dispatchEvent(new v6("DOMContentLoaded"),!0),this.readyState="complete",this._dispatchEvent(new v6("readystatechange"),!0),this.defaultView)this.defaultView._dispatchEvent(new v6("load"),!0)}},clone:{value:function $(){var Z=new m6(this.isHTML,this._address);return Z._quirks=this._quirks,Z._contentType=this._contentType,Z}},cloneNode:{value:function $(Z){var Y=P0.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:Q6.VALUE,target:$,data:$.data})}},mutateAttr:{value:function($,Z){if(this.mutationHandler)this.mutationHandler({type:Q6.ATTR,target:$.ownerElement,attr:$})}},mutateRemoveAttr:{value:function($){if(this.mutationHandler)this.mutationHandler({type:Q6.REMOVE_ATTR,target:$.ownerElement,attr:$})}},mutateRemove:{value:function($){if(this.mutationHandler)this.mutationHandler({type:Q6.REMOVE,target:$.parentNode,node:$});BY($)}},mutateInsert:{value:function($){if(VY($),this.mutationHandler)this.mutationHandler({type:Q6.INSERT,target:$.parentNode,node:$})}},mutateMove:{value:function($){if(this.mutationHandler)this.mutationHandler({type:Q6.MOVE,target:$})}},addId:{value:function $(Z,Y){var G=this.byId[Z];if(!G)this.byId[Z]=Y;else{if(!(G instanceof q1))G=new q1(G),this.byId[Z]=G;G.add(Y)}}},delId:{value:function $(Z,Y){var G=this.byId[Z];if(n.assert(G),G instanceof q1){if(G.del(Y),G.length===1)this.byId[Z]=G.downgrade()}else this.byId[Z]=void 0}},_resolve:{value:function($){return new QY(this._documentBaseURL).resolve($)}},_documentBaseURL:{get:function(){var $=this._address;if($==="about:blank")$="/";var Z=this.querySelector("base[href]");if(Z)return new QY($).resolve(Z.getAttribute("href"));return $}},_templateDoc:{get:function(){if(!this._templateDocCache){var $=new m6(this.isHTML,this._address);this._templateDocCache=$._templateDocCache=$}return this._templateDocCache}},querySelector:{value:function($){return zY($,this)[0]}},querySelectorAll:{value:function($){var Z=zY($,this);return Z.item?Z:new FW(Z)}}});var CW=["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"];CW.forEach(function($){Object.defineProperty(m6.prototype,"on"+$,{get:function(){return this._getEventHandler($)},set:function(Z){this._setEventHandler($,Z)}})});function WY($,Z){if($&&$.isHTML){for(var Y=$.firstChild;Y!==null;Y=Y.nextSibling)if(Y.nodeType===P0.ELEMENT_NODE&&Y.localName===Z&&Y.namespaceURI===X6.HTML)return Y}return null}function EW($){if($._nid=$.ownerDocument._nextnid++,$.ownerDocument._nodes[$._nid]=$,$.nodeType===P0.ELEMENT_NODE){var Z=$.getAttribute("id");if(Z)$.ownerDocument.addId(Z,$);if($._roothook)$._roothook()}}function bW($){if($.nodeType===P0.ELEMENT_NODE){var Z=$.getAttribute("id");if(Z)$.ownerDocument.delId(Z,$)}$.ownerDocument._nodes[$._nid]=void 0,$._nid=void 0}function VY($){if(EW($),$.nodeType===P0.ELEMENT_NODE)for(var Z=$.firstChild;Z!==null;Z=Z.nextSibling)VY(Z)}function BY($){bW($);for(var Z=$.firstChild;Z!==null;Z=Z.nextSibling)BY(Z)}function HY($,Z){if($.ownerDocument=Z,$._lastModTime=void 0,Object.prototype.hasOwnProperty.call($,"_tagName"))$._tagName=void 0;for(var Y=$.firstChild;Y!==null;Y=Y.nextSibling)HY(Y,Z)}function q1($){this.nodes=Object.create(null),this.nodes[$._nid]=$,this.length=1,this.firstNode=void 0}q1.prototype.add=function($){if(!this.nodes[$._nid])this.nodes[$._nid]=$,this.length++,this.firstNode=void 0};q1.prototype.del=function($){if(this.nodes[$._nid])delete this.nodes[$._nid],this.length--,this.firstNode=void 0};q1.prototype.getFirst=function(){if(!this.firstNode){var $;for($ in this.nodes)if(this.firstNode===void 0||this.firstNode.compareDocumentPosition(this.nodes[$])&P0.DOCUMENT_POSITION_PRECEDING)this.firstNode=this.nodes[$]}return this.firstNode};q1.prototype.downgrade=function(){if(this.length===1){var $;for($ in this.nodes)return this.nodes[$]}return this}});var v8=C((AB,jY)=>{jY.exports=g8;var NW=A0(),qY=W$(),yW=R8();function g8($,Z,Y,G){qY.call(this),this.nodeType=NW.DOCUMENT_TYPE_NODE,this.ownerDocument=$||null,this.name=Z,this.publicId=Y||"",this.systemId=G||""}g8.prototype=Object.create(qY.prototype,{nodeName:{get:function(){return this.name}},nodeValue:{get:function(){return null},set:function(){}},clone:{value:function $(){return new g8(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(g8.prototype,yW)});var l8=C((OB,hY)=>{hY.exports=o;var xW=h8(),kW=v8(),y$=A0(),N=V0().NAMESPACE,CY=k8(),$0=CY.elements,m1=Function.prototype.apply.bind(Array.prototype.push),m8=-1,W6=1,w0=2,i=3,Q1=4,fW=5,hW=[],gW=/^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,vW="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",UY=/^-\/\/W3C\/\/DTD HTML 4\.01 Frameset\/\/|^-\/\/W3C\/\/DTD HTML 4\.01 Transitional\/\//i,mW=/^-\/\/W3C\/\/DTD XHTML 1\.0 Frameset\/\/|^-\/\/W3C\/\/DTD XHTML 1\.0 Transitional\/\//i,u1=Object.create(null);u1[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};u1[N.SVG]={__proto__:null,foreignObject:!0,desc:!0,title:!0};u1[N.MATHML]={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0};var f$=Object.create(null);f$[N.HTML]={__proto__:null,address:!0,div:!0,p:!0};var EY=Object.create(null);EY[N.HTML]={__proto__:null,dd:!0,dt:!0};var J6=Object.create(null);J6[N.HTML]={__proto__:null,table:!0,thead:!0,tbody:!0,tfoot:!0,tr:!0};var bY=Object.create(null);bY[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 NY=Object.create(null);NY[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 c8=Object.create(null);c8[N.HTML]={__proto__:null,table:!0,template:!0,html:!0};var d8=Object.create(null);d8[N.HTML]={__proto__:null,tbody:!0,tfoot:!0,thead:!0,template:!0,html:!0};var h$=Object.create(null);h$[N.HTML]={__proto__:null,tr:!0,template:!0,html:!0};var yY=Object.create(null);yY[N.HTML]={__proto__:null,button:!0,fieldset:!0,input:!0,keygen:!0,object:!0,output:!0,select:!0,textarea:!0,img:!0};var z1=Object.create(null);z1[N.HTML]={__proto__:null,applet:!0,caption:!0,html:!0,table:!0,td:!0,th:!0,marquee:!0,object:!0,template:!0};z1[N.MATHML]={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0};z1[N.SVG]={__proto__:null,foreignObject:!0,desc:!0,title:!0};var i8=Object.create(z1);i8[N.HTML]=Object.create(z1[N.HTML]);i8[N.HTML].ol=!0;i8[N.HTML].ul=!0;var g$=Object.create(z1);g$[N.HTML]=Object.create(z1[N.HTML]);g$[N.HTML].button=!0;var xY=Object.create(null);xY[N.HTML]={__proto__:null,html:!0,table:!0,template:!0};var pW=Object.create(null);pW[N.HTML]={__proto__:null,optgroup:!0,option:!0};var kY=Object.create(null);kY[N.MATHML]={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0};var fY=Object.create(null);fY[N.SVG]={__proto__:null,foreignObject:!0,desc:!0,title:!0};var IY={__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},FY={__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"},DY={__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"},KY={__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},uW={__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},AY=/(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,cW=32,dW=/[^\r"&\u0000]+/g,iW=/[^\r'&\u0000]+/g,lW=/[^\r\t\n\f &>\u0000]+/g,sW=/[^\r\t\n\f \/>A-Z\u0000]+/g,oW=/[^\r\t\n\f \/=>A-Z\u0000]+/g,rW=/[^\]\r\u0000\uffff]*/g,nW=/[^&<\r\u0000\uffff]*/g,OY=/[^<\r\u0000\uffff]*/g,aW=/[^\r\u0000\uffff]*/g,SY=/(?:(\/)?([a-z]+)>)|[\s\S]/g,LY=/(?:([-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,p8=/[^\x09\x0A\x0C\x0D\x20]/,x$=/[^\x09\x0A\x0C\x0D\x20]/g,tW=/[^\x00\x09\x0A\x0C\x0D\x20]/,p1=/^[\x09\x0A\x0C\x0D\x20]+/,u8=/\x00/g;function R0($){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 eW($){var Z=[];for(var Y=0;Y<$.length;Y++)Z[Y]=$.charCodeAt(Y);return Z}function Z0($,Z){if(typeof Z==="string")return $.namespaceURI===N.HTML&&$.localName===Z;var Y=Z[$.namespaceURI];return Y&&Y[$.localName]}function MY($){return Z0($,kY)}function PY($){if(Z0($,fY))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 $J($){if($ in DY)return DY[$];else return $}function wY($){for(var Z=0,Y=$.length;Z<Y;Z++)if($[Z][0]in FY)$[Z][0]=FY[$[Z][0]]}function RY($){for(var Z=0,Y=$.length;Z<Y;Z++)if($[Z][0]==="definitionurl"){$[Z][0]="definitionURL";break}}function k$($){for(var Z=0,Y=$.length;Z<Y;Z++)if($[Z][0]in IY)$[Z].push(IY[$[Z][0]])}function TY($,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)}}o.ElementStack=function $(){this.elements=[],this.top=null};o.ElementStack.prototype.push=function($){this.elements.push($),this.top=$};o.ElementStack.prototype.pop=function($){this.elements.pop(),this.top=this.elements[this.elements.length-1]};o.ElementStack.prototype.popTag=function($){for(var Z=this.elements.length-1;Z>0;Z--){var Y=this.elements[Z];if(Z0(Y,$))break}this.elements.length=Z,this.top=this.elements[Z-1]};o.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]};o.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]};o.ElementStack.prototype.removeElement=function($){if(this.top===$)this.pop();else{var Z=this.elements.lastIndexOf($);if(Z!==-1)this.elements.splice(Z,1)}};o.ElementStack.prototype.clearToContext=function($){for(var Z=this.elements.length-1;Z>0;Z--)if(Z0(this.elements[Z],$))break;this.elements.length=Z+1,this.top=this.elements[Z]};o.ElementStack.prototype.contains=function($){return this.inSpecificScope($,Object.create(null))};o.ElementStack.prototype.inSpecificScope=function($,Z){for(var Y=this.elements.length-1;Y>=0;Y--){var G=this.elements[Y];if(Z0(G,$))return!0;if(Z0(G,Z))return!1}return!1};o.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(Z0(G,Z))return!1}return!1};o.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(Z0(G,Z))return!1}return!1};o.ElementStack.prototype.inScope=function($){return this.inSpecificScope($,z1)};o.ElementStack.prototype.elementInScope=function($){return this.elementInSpecificScope($,z1)};o.ElementStack.prototype.elementTypeInScope=function($){return this.elementTypeInSpecificScope($,z1)};o.ElementStack.prototype.inButtonScope=function($){return this.inSpecificScope($,g$)};o.ElementStack.prototype.inListItemScope=function($){return this.inSpecificScope($,i8)};o.ElementStack.prototype.inTableScope=function($){return this.inSpecificScope($,xY)};o.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};o.ElementStack.prototype.generateImpliedEndTags=function($,Z){var Y=Z?NY:bY;for(var G=this.elements.length-1;G>=0;G--){var Q=this.elements[G];if($&&Z0(Q,$))break;if(!Z0(this.elements[G],Y))break}this.elements.length=G+1,this.top=this.elements[G]};o.ActiveFormattingElements=function $(){this.list=[],this.attrs=[]};o.ActiveFormattingElements.prototype.MARKER={localName:"|"};o.ActiveFormattingElements.prototype.insertMarker=function(){this.list.push(this.MARKER),this.attrs.push(this.MARKER)};o.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,_,j){if(V.localName!==_.localName)return!1;if(V._numattrs!==j.length)return!1;for(var U=0,K=j.length;U<K;U++){var S=j[U][0],B=j[U][1];if(!V.hasAttribute(S))return!1;if(V.getAttribute(S)!==B)return!1}return!0}};o.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=$};o.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};o.ActiveFormattingElements.prototype.indexOf=function($){return this.list.lastIndexOf($)};o.ActiveFormattingElements.prototype.remove=function($){var Z=this.list.lastIndexOf($);if(Z!==-1)this.list.splice(Z,1),this.attrs.splice(Z,1)};o.ActiveFormattingElements.prototype.replace=function($,Z,Y){var G=this.list.lastIndexOf($);if(G!==-1)this.list[G]=Z,this.attrs[G]=Y};o.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 o($,Z,Y){var G=null,Q=0,z=0,J=!1,V=!1,_=0,j=[],U="",K=!0,S=0,B=c,O,A,L="",v="",P=[],T="",u="",p=[],m0=[],t0=[],y0=[],L0=[],I0=!1,F=TQ,s=null,b0=[],q=new o.ElementStack,k=new o.ActiveFormattingElements,x0=Z!==void 0,c1=null,h0=null,d1=!0;if(Z)d1=Z.ownerDocument._scripting_enabled;if(Y&&Y.scripting_enabled===!1)d1=!1;var X0=!0,Z9=!1,s6,Y9,M=[],U1=!1,C1=!1,o6={document:function(){return r},_asDocumentFragment:function(){var X=r.createDocumentFragment(),W=r.firstChild;while(W.hasChildNodes())X.appendChild(W.firstChild);return X},pause:function(){S++},resume:function(){S--,this.parse("")},parse:function(X,W,H){var I;if(S>0)return U+=X,!0;if(_===0){if(U)X=U+X,U="";if(W)X+="",J=!0;if(G=X,Q=X.length,z=0,K){if(K=!1,G.charCodeAt(0)===65279)z=1}_++,I=YZ(H),U=G.substring(z,Q),_--}else{if(_++,j.push(G,Q,z),G=X,Q=X.length,z=0,YZ(),I=!1,U=G.substring(z,Q),z=j.pop(),Q=j.pop(),G=j.pop(),U)G=U+G.substring(z),Q=G.length,z=0,U="";_--}return I}},r=new xW(!0,$);if(r._parser=o6,r._scripting_enabled=d1,Z){if(Z.ownerDocument._quirks)r._quirks=!0;if(Z.ownerDocument._limitedQuirks)r._limitedQuirks=!0;if(Z.namespaceURI===N.HTML)switch(Z.localName){case"title":case"textarea":B=K1;break;case"style":case"xmp":case"iframe":case"noembed":case"noframes":case"script":case"plaintext":B=W9;break}var ZZ=r.createElement("html");if(r._appendChild(ZZ),q.push(ZZ),Z instanceof $0.HTMLTemplateElement)b0.push(F9);U6();for(var B6=Z;B6!==null;B6=B6.parentElement)if(B6 instanceof $0.HTMLFormElement){h0=B6;break}}function YZ(X){var W,H,I,D;while(z<Q){if(S>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(m8);break}default:B(W);break}break;case"number":W=G.charCodeAt(z);var w=B.lookahead,x=!0;if(w<0)x=!1,w=-w;if(w<Q-z)H=x?G.substring(z,z+w):null,D=!1;else if(J){if(H=x?G.substring(z,Q):null,D=!0,W===65535&&z===Q-1)W=m8}else return!0;B(W,H,D);break;case"string":W=G.charCodeAt(z),I=B.lookahead;var d=G.indexOf(I,z);if(d!==-1)H=G.substring(z,d+I.length),D=!1;else{if(!J)return!0;if(H=G.substring(z,Q),W===65535&&z===Q-1)W=m8;D=!0}B(W,H,D);break}}return!1}function I1(X,W){for(var H=0;H<L0.length;H++)if(L0[H][0]===X)return;if(W!==void 0)L0.push([X,W]);else L0.push([X])}function NG(){LY.lastIndex=z-1;var X=LY.exec(G);if(!X)throw new Error("should never happen");var W=X[1];if(!W)return!1;var H=X[2],I=H.length;switch(H[0]){case'"':case"'":H=H.substring(1,I-1),z+=X[0].length-1,B=H9;break;default:B=Y1,z+=X[0].length-1,H=H.substring(0,I-1);break}for(var D=0;D<L0.length;D++)if(L0[D][0]===W)return!0;return L0.push([W,H]),!0}function yG(){I0=!1,L="",L0.length=0}function H6(){I0=!0,L="",L0.length=0}function X1(){P.length=0}function G9(){T=""}function Q9(){u=""}function GZ(){p.length=0}function i1(){m0.length=0,t0=null,y0=null}function r6(){t0=[]}function F1(){y0=[]}function a(){Z9=!0}function xG(){return q.top&&q.top.namespaceURI!=="http://www.w3.org/1999/xhtml"}function p0(X){return v===X}function l1(){if(M.length>0){var X=R0(M);if(M.length=0,C1){if(C1=!1,X[0]===`
|
|
29
|
+
`)X=X.substring(1);if(X.length===0)return}_0(W6,X),U1=!1}C1=!1}function _6(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 q6(X){X.lastIndex=z-1;var W=X.exec(G)[0];if(!W)return!1;return kG(W),z+=W.length-1,!0}function kG(X){if(M.length>0)l1();if(C1){if(C1=!1,X[0]===`
|
|
30
|
+
`)X=X.substring(1);if(X.length===0)return}_0(W6,X)}function W1(){if(I0)_0(i,L);else{var X=L;L="",v=X,_0(w0,X,L0)}}function fG(){if(z===Q)return!1;SY.lastIndex=z;var X=SY.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,_0(i,W);else z+=W.length+1,v=W,_0(w0,W,hW);return!0}function hG(){if(I0)_0(i,L,null,!0);else _0(w0,L,L0,!0)}function t(){_0(fW,R0(m0),t0?R0(t0):void 0,y0?R0(y0):void 0)}function m(){l1(),F(m8),r.modclock=1}var _0=o6.insertToken=function X(W,H,I,D){l1();var w=q.top;if(!w||w.namespaceURI===N.HTML)F(W,H,I,D);else if(W!==w0&&W!==W6)KZ(W,H,I,D);else if(MY(w)&&(W===W6||W===w0&&H!=="mglyph"&&H!=="malignmark")||W===w0&&H==="svg"&&w.namespaceURI===N.MATHML&&w.localName==="annotation-xml"||PY(w))Y9=!0,F(W,H,I,D),Y9=!1;else KZ(W,H,I,D)};function e0(X){var W=q.top;if(D1&&Z0(W,J6))a6(function(H){return H.createComment(X)});else{if(W instanceof $0.HTMLTemplateElement)W=W.content;W._appendChild(W.ownerDocument.createComment(X))}}function $1(X){var W=q.top;if(D1&&Z0(W,J6))a6(function(I){return I.createTextNode(X)});else{if(W instanceof $0.HTMLTemplateElement)W=W.content;var H=W.lastChild;if(H&&H.nodeType===y$.TEXT_NODE)H.appendData(X);else W._appendChild(W.ownerDocument.createTextNode(X))}}function j6(X,W,H){var I=CY.createElement(X,W,null);if(H)for(var D=0,w=H.length;D<w;D++)I._setAttribute(H[D][0],H[D][1]);return I}var D1=!1;function h(X,W){var H=n6(function(I){return j6(I,X,W)});if(Z0(H,yY))H._form=h0;return H}function n6(X){var W;if(D1&&Z0(q.top,J6))W=a6(X);else if(q.top instanceof $0.HTMLTemplateElement)W=X(q.top.content.ownerDocument),q.top.content._appendChild(W);else W=X(q.top.ownerDocument),q.top._appendChild(W);return q.push(W),W}function z9(X,W,H){return n6(function(I){var D=I._createElementNS(X,H,null);if(W)for(var w=0,x=W.length;w<x;w++){var d=W[w];if(d.length===2)D._setAttribute(d[0],d[1]);else D._setAttributeNS(d[2],d[0],d[1])}return D})}function QZ(X){for(var W=q.elements.length-1;W>=0;W--)if(q.elements[W]instanceof X)return W;return-1}function a6(X){var W,H,I=-1,D=-1,w;if(I=QZ($0.HTMLTableElement),D=QZ($0.HTMLTemplateElement),D>=0&&(I<0||D>I))W=q.elements[D];else if(I>=0)if(W=q.elements[I].parentNode,W)H=q.elements[I];else W=q.elements[I-1];if(!W)W=q.elements[0];if(W instanceof $0.HTMLTemplateElement)W=W.content;if(w=X(W.ownerDocument),w.nodeType===y$.TEXT_NODE){var x;if(H)x=H.previousSibling;else x=W.lastChild;if(x&&x.nodeType===y$.TEXT_NODE)return x.appendData(w.data),w}if(H)W.insertBefore(w,H);else W._appendChild(w);return w}function U6(){var X=!1;for(var W=q.elements.length-1;W>=0;W--){var H=q.elements[W];if(W===0){if(X=!0,x0)H=Z}if(H.namespaceURI===N.HTML){var I=H.localName;switch(I){case"select":for(var D=W;D>0;){var w=q.elements[--D];if(w instanceof $0.HTMLTemplateElement)break;else if(w instanceof $0.HTMLTableElement){F=H8;return}}F=J1;return;case"tr":F=D6;return;case"tbody":case"tfoot":case"thead":F=y1;return;case"caption":F=I9;return;case"colgroup":F=B8;return;case"table":F=u0;return;case"template":F=b0[b0.length-1];return;case"body":F=y;return;case"frameset":F=D9;return;case"html":if(c1===null)F=J8;else F=U9;return;default:if(!X){if(I==="head"){F=W0;return}if(I==="td"||I==="th"){F=s1;return}}}}if(X){F=y;return}}}function t6(X,W){h(X,W),B=I6,s=F,F=V8}function gG(X,W){h(X,W),B=K1,s=F,F=V8}function X9(X,W){return{elt:j6(X,k.list[W].localName,k.attrs[W]),attrs:k.attrs[W]}}function N0(){if(k.list.length===0)return;var X=k.list[k.list.length-1];if(X===k.MARKER)return;if(q.elements.lastIndexOf(X)!==-1)return;for(var W=k.list.length-2;W>=0;W--){if(X=k.list[W],X===k.MARKER)break;if(q.elements.lastIndexOf(X)!==-1)break}for(W=W+1;W<k.list.length;W++){var H=n6(function(I){return X9(I,W).elt});k.list[W]=H}}var e6={localName:"BM"};function vG(X){if(Z0(q.top,X)&&k.indexOf(q.top)===-1)return q.pop(),!0;var W=0;while(W<8){W++;var H=k.findElementByTag(X);if(!H)return!1;var I=q.elements.lastIndexOf(H);if(I===-1)return k.remove(H),!0;if(!q.elementInScope(H))return!0;var D=null,w;for(var x=I+1;x<q.elements.length;x++)if(Z0(q.elements[x],u1)){D=q.elements[x],w=x;break}if(!D)return q.popElement(H),k.remove(H),!0;else{var d=q.elements[I-1];k.insertAfter(H,e6);var Q0=D,K0=D,c0=w,l0,x1=0;while(!0){if(x1++,Q0=q.elements[--c0],Q0===H)break;if(l0=k.indexOf(Q0),x1>3&&l0!==-1)k.remove(Q0),l0=-1;if(l0===-1){q.removeElement(Q0);continue}var M1=X9(d.ownerDocument,l0);if(k.replace(Q0,M1.elt,M1.attrs),q.elements[c0]=M1.elt,Q0=M1.elt,K0===D)k.remove(e6),k.insertAfter(M1.elt,e6);Q0._appendChild(K0),K0=Q0}if(D1&&Z0(d,J6))a6(function(){return K0});else if(d instanceof $0.HTMLTemplateElement)d.content._appendChild(K0);else d._appendChild(K0);var K6=X9(D.ownerDocument,k.indexOf(H));while(D.hasChildNodes())K6.elt._appendChild(D.firstChild);D._appendChild(K6.elt),k.remove(H),k.replace(e6,K6.elt,K6.attrs),q.removeElement(H);var yQ=q.elements.lastIndexOf(D);q.elements.splice(yQ+1,0,K6.elt)}}return!0}function mG(){q.pop(),F=s;return}function E1(){if(delete r._parser,q.elements.length=0,r.defaultView)r.defaultView.dispatchEvent(new $0.Event("load",{}))}function b(X,W){B=W,z--}function c(X){switch(X){case 38:O=c,B=F6;break;case 60:if(fG())break;B=pG;break;case 0:M.push(X),U1=!0;break;case-1:m();break;default:q6(nW)||M.push(X);break}}function K1(X){switch(X){case 38:O=K1,B=F6;break;case 60:B=cG;break;case 0:M.push(65533),U1=!0;break;case-1:m();break;default:M.push(X);break}}function I6(X){switch(X){case 60:B=lG;break;case 0:M.push(65533);break;case-1:m();break;default:q6(OY)||M.push(X);break}}function A1(X){switch(X){case 60:B=rG;break;case 0:M.push(65533);break;case-1:m();break;default:q6(OY)||M.push(X);break}}function W9(X){switch(X){case 0:M.push(65533);break;case-1:m();break;default:q6(aW)||M.push(X);break}}function pG(X){switch(X){case 33:B=JZ;break;case 47:B=uG;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:yG(),b(X,zZ);break;case 63:b(X,G8);break;default:M.push(60),b(X,c);break}}function uG(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:H6(),b(X,zZ);break;case 62:B=c;break;case-1:M.push(60),M.push(47),m();break;default:b(X,G8);break}}function zZ(X){switch(X){case 9:case 10:case 12:case 32:B=Y1;break;case 47:B=S1;break;case 62:B=c,W1();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:m();break;default:L+=_6(sW);break}}function cG(X){if(X===47)X1(),B=dG;else M.push(60),b(X,K1)}function dG(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:H6(),b(X,iG);break;default:M.push(60),M.push(47),b(X,K1);break}}function iG(X){switch(X){case 9:case 10:case 12:case 32:if(p0(L)){B=Y1;return}break;case 47:if(p0(L)){B=S1;return}break;case 62:if(p0(L)){B=c,W1();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),P.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),P.push(X);return;default:break}M.push(60),M.push(47),m1(M,P),b(X,K1)}function lG(X){if(X===47)X1(),B=sG;else M.push(60),b(X,I6)}function sG(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:H6(),b(X,oG);break;default:M.push(60),M.push(47),b(X,I6);break}}function oG(X){switch(X){case 9:case 10:case 12:case 32:if(p0(L)){B=Y1;return}break;case 47:if(p0(L)){B=S1;return}break;case 62:if(p0(L)){B=c,W1();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),P.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),P.push(X);return;default:break}M.push(60),M.push(47),m1(M,P),b(X,I6)}function rG(X){switch(X){case 47:X1(),B=nG;break;case 33:B=tG,M.push(60),M.push(33);break;default:M.push(60),b(X,A1);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:H6(),b(X,aG);break;default:M.push(60),M.push(47),b(X,A1);break}}function aG(X){switch(X){case 9:case 10:case 12:case 32:if(p0(L)){B=Y1;return}break;case 47:if(p0(L)){B=S1;return}break;case 62:if(p0(L)){B=c,W1();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),P.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),P.push(X);return;default:break}M.push(60),M.push(47),m1(M,P),b(X,A1)}function tG(X){if(X===45)B=eG,M.push(45);else b(X,A1)}function eG(X){if(X===45)B=XZ,M.push(45);else b(X,A1)}function Z1(X){switch(X){case 45:B=$Q,M.push(45);break;case 60:B=J9;break;case 0:M.push(65533);break;case-1:m();break;default:M.push(X);break}}function $Q(X){switch(X){case 45:B=XZ,M.push(45);break;case 60:B=J9;break;case 0:B=Z1,M.push(65533);break;case-1:m();break;default:B=Z1,M.push(X);break}}function XZ(X){switch(X){case 45:M.push(45);break;case 60:B=J9;break;case 62:B=A1,M.push(62);break;case 0:B=Z1,M.push(65533);break;case-1:m();break;default:B=Z1,M.push(X);break}}function J9(X){switch(X){case 47:X1(),B=ZQ;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:X1(),M.push(60),b(X,GQ);break;default:M.push(60),b(X,Z1);break}}function ZQ(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:H6(),b(X,YQ);break;default:M.push(60),M.push(47),b(X,Z1);break}}function YQ(X){switch(X){case 9:case 10:case 12:case 32:if(p0(L)){B=Y1;return}break;case 47:if(p0(L)){B=S1;return}break;case 62:if(p0(L)){B=c,W1();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),P.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),P.push(X);return;default:break}M.push(60),M.push(47),m1(M,P),b(X,Z1)}function GQ(X){switch(X){case 9:case 10:case 12:case 32:case 47:case 62:if(R0(P)==="script")B=O1;else B=Z1;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:P.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:P.push(X),M.push(X);break;default:b(X,Z1);break}}function O1(X){switch(X){case 45:B=QQ,M.push(45);break;case 60:B=V9,M.push(60);break;case 0:M.push(65533);break;case-1:m();break;default:M.push(X);break}}function QQ(X){switch(X){case 45:B=zQ,M.push(45);break;case 60:B=V9,M.push(60);break;case 0:B=O1,M.push(65533);break;case-1:m();break;default:B=O1,M.push(X);break}}function zQ(X){switch(X){case 45:M.push(45);break;case 60:B=V9,M.push(60);break;case 62:B=A1,M.push(62);break;case 0:B=O1,M.push(65533);break;case-1:m();break;default:B=O1,M.push(X);break}}function V9(X){if(X===47)X1(),B=XQ,M.push(47);else b(X,O1)}function XQ(X){switch(X){case 9:case 10:case 12:case 32:case 47:case 62:if(R0(P)==="script")B=Z1;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:P.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:P.push(X),M.push(X);break;default:b(X,O1);break}}function Y1(X){switch(X){case 9:case 10:case 12:case 32:break;case 47:B=S1;break;case 62:B=c,W1();break;case-1:m();break;case 61:G9(),T+=String.fromCharCode(X),B=B9;break;default:if(NG())break;G9(),b(X,B9);break}}function B9(X){switch(X){case 9:case 10:case 12:case 32:case 47:case 62:case-1:b(X,WQ);break;case 61:B=WZ;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:T+=String.fromCharCode(X+32);break;case 0:T+=String.fromCharCode(65533);break;case 34:case 39:case 60:default:T+=_6(oW);break}}function WQ(X){switch(X){case 9:case 10:case 12:case 32:break;case 47:I1(T),B=S1;break;case 61:B=WZ;break;case 62:B=c,I1(T),W1();break;case-1:I1(T),m();break;default:I1(T),G9(),b(X,B9);break}}function WZ(X){switch(X){case 9:case 10:case 12:case 32:break;case 34:Q9(),B=$8;break;case 39:Q9(),B=Z8;break;case 62:default:Q9(),b(X,Y8);break}}function $8(X){switch(X){case 34:I1(T,u),B=H9;break;case 38:O=$8,B=F6;break;case 0:u+=String.fromCharCode(65533);break;case-1:m();break;case 10:u+=String.fromCharCode(X);break;default:u+=_6(dW);break}}function Z8(X){switch(X){case 39:I1(T,u),B=H9;break;case 38:O=Z8,B=F6;break;case 0:u+=String.fromCharCode(65533);break;case-1:m();break;case 10:u+=String.fromCharCode(X);break;default:u+=_6(iW);break}}function Y8(X){switch(X){case 9:case 10:case 12:case 32:I1(T,u),B=Y1;break;case 38:O=Y8,B=F6;break;case 62:I1(T,u),B=c,W1();break;case 0:u+=String.fromCharCode(65533);break;case-1:z--,B=c;break;case 34:case 39:case 60:case 61:case 96:default:u+=_6(lW);break}}function H9(X){switch(X){case 9:case 10:case 12:case 32:B=Y1;break;case 47:B=S1;break;case 62:B=c,W1();break;case-1:m();break;default:b(X,Y1);break}}function S1(X){switch(X){case 62:B=c,hG(!0);break;case-1:m();break;default:b(X,Y1);break}}function G8(X,W,H){var I=W.length;if(H)z+=I-1;else z+=I;var D=W.substring(0,I-1);D=D.replace(/\u0000/g,"�"),D=D.replace(/\u000D\u000A/g,`
|
|
31
|
+
`),D=D.replace(/\u000D/g,`
|
|
32
|
+
`),_0(Q1,D),B=c}G8.lookahead=">";function JZ(X,W,H){if(W[0]==="-"&&W[1]==="-"){z+=2,GZ(),B=JQ;return}if(W.toUpperCase()==="DOCTYPE")z+=7,B=UQ;else if(W==="[CDATA["&&xG())z+=7,B=j9;else B=G8}JZ.lookahead=7;function JQ(X){switch(GZ(),X){case 45:B=VQ;break;case 62:B=c,_0(Q1,R0(p));break;default:b(X,b1);break}}function VQ(X){switch(X){case 45:B=Q8;break;case 62:B=c,_0(Q1,R0(p));break;case-1:_0(Q1,R0(p)),m();break;default:p.push(45),b(X,b1);break}}function b1(X){switch(X){case 60:p.push(X),B=BQ;break;case 45:B=_9;break;case 0:p.push(65533);break;case-1:_0(Q1,R0(p)),m();break;default:p.push(X);break}}function BQ(X){switch(X){case 33:p.push(X),B=HQ;break;case 60:p.push(X);break;default:b(X,b1);break}}function HQ(X){switch(X){case 45:B=_Q;break;default:b(X,b1);break}}function _Q(X){switch(X){case 45:B=qQ;break;default:b(X,_9);break}}function qQ(X){switch(X){case 62:case-1:b(X,Q8);break;default:b(X,Q8);break}}function _9(X){switch(X){case 45:B=Q8;break;case-1:_0(Q1,R0(p)),m();break;default:p.push(45),b(X,b1);break}}function Q8(X){switch(X){case 62:B=c,_0(Q1,R0(p));break;case 33:B=jQ;break;case 45:p.push(45);break;case-1:_0(Q1,R0(p)),m();break;default:p.push(45),p.push(45),b(X,b1);break}}function jQ(X){switch(X){case 45:p.push(45),p.push(45),p.push(33),B=_9;break;case 62:B=c,_0(Q1,R0(p));break;case-1:_0(Q1,R0(p)),m();break;default:p.push(45),p.push(45),p.push(33),b(X,b1);break}}function UQ(X){switch(X){case 9:case 10:case 12:case 32:B=VZ;break;case-1:i1(),a(),t(),m();break;default:b(X,VZ);break}}function VZ(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:i1(),m0.push(X+32),B=q9;break;case 0:i1(),m0.push(65533),B=q9;break;case 62:i1(),a(),B=c,t();break;case-1:i1(),a(),t(),m();break;default:i1(),m0.push(X),B=q9;break}}function q9(X){switch(X){case 9:case 10:case 12:case 32:B=BZ;break;case 62:B=c,t();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:m0.push(X+32);break;case 0:m0.push(65533);break;case-1:a(),t(),m();break;default:m0.push(X);break}}function BZ(X,W,H){switch(X){case 9:case 10:case 12:case 32:z+=1;break;case 62:B=c,z+=1,t();break;case-1:a(),t(),m();break;default:if(W=W.toUpperCase(),W==="PUBLIC")z+=6,B=IQ;else if(W==="SYSTEM")z+=6,B=KQ;else a(),B=L1;break}}BZ.lookahead=6;function IQ(X){switch(X){case 9:case 10:case 12:case 32:B=FQ;break;case 34:r6(),B=HZ;break;case 39:r6(),B=_Z;break;case 62:a(),B=c,t();break;case-1:a(),t(),m();break;default:a(),B=L1;break}}function FQ(X){switch(X){case 9:case 10:case 12:case 32:break;case 34:r6(),B=HZ;break;case 39:r6(),B=_Z;break;case 62:a(),B=c,t();break;case-1:a(),t(),m();break;default:a(),B=L1;break}}function HZ(X){switch(X){case 34:B=qZ;break;case 0:t0.push(65533);break;case 62:a(),B=c,t();break;case-1:a(),t(),m();break;default:t0.push(X);break}}function _Z(X){switch(X){case 39:B=qZ;break;case 0:t0.push(65533);break;case 62:a(),B=c,t();break;case-1:a(),t(),m();break;default:t0.push(X);break}}function qZ(X){switch(X){case 9:case 10:case 12:case 32:B=DQ;break;case 62:B=c,t();break;case 34:F1(),B=z8;break;case 39:F1(),B=X8;break;case-1:a(),t(),m();break;default:a(),B=L1;break}}function DQ(X){switch(X){case 9:case 10:case 12:case 32:break;case 62:B=c,t();break;case 34:F1(),B=z8;break;case 39:F1(),B=X8;break;case-1:a(),t(),m();break;default:a(),B=L1;break}}function KQ(X){switch(X){case 9:case 10:case 12:case 32:B=AQ;break;case 34:F1(),B=z8;break;case 39:F1(),B=X8;break;case 62:a(),B=c,t();break;case-1:a(),t(),m();break;default:a(),B=L1;break}}function AQ(X){switch(X){case 9:case 10:case 12:case 32:break;case 34:F1(),B=z8;break;case 39:F1(),B=X8;break;case 62:a(),B=c,t();break;case-1:a(),t(),m();break;default:a(),B=L1;break}}function z8(X){switch(X){case 34:B=jZ;break;case 0:y0.push(65533);break;case 62:a(),B=c,t();break;case-1:a(),t(),m();break;default:y0.push(X);break}}function X8(X){switch(X){case 39:B=jZ;break;case 0:y0.push(65533);break;case 62:a(),B=c,t();break;case-1:a(),t(),m();break;default:y0.push(X);break}}function jZ(X){switch(X){case 9:case 10:case 12:case 32:break;case 62:B=c,t();break;case-1:a(),t(),m();break;default:B=L1;break}}function L1(X){switch(X){case 62:B=c,t();break;case-1:t(),m();break;default:break}}function j9(X){switch(X){case 93:B=OQ;break;case-1:m();break;case 0:U1=!0;default:q6(rW)||M.push(X);break}}function OQ(X){switch(X){case 93:B=SQ;break;default:M.push(93),b(X,j9);break}}function SQ(X){switch(X){case 93:M.push(93);break;case 62:l1(),B=c;break;default:M.push(93),M.push(93),b(X,j9);break}}function F6(X){switch(X1(),P.push(38),X){case 9:case 10:case 12:case 32:case 60:case 38:case-1:b(X,N1);break;case 35:P.push(X),B=LQ;break;default:b(X,UZ);break}}function UZ(X){AY.lastIndex=z;var W=AY.exec(G);if(!W)throw new Error("should never happen");var H=W[1];if(!H){B=N1;return}switch(z+=H.length,m1(P,eW(H)),O){case $8:case Z8:case Y8:if(H[H.length-1]!==";"){if(/[=A-Za-z0-9]/.test(G[z])){B=N1;return}}break;default:break}X1();var I=uW[H];if(typeof I==="number")P.push(I);else m1(P,I);B=N1}UZ.lookahead=-cW;function LQ(X){switch(A=0,X){case 120:case 88:P.push(X),B=MQ;break;default:b(X,PQ);break}}function MQ(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:b(X,wQ);break;default:b(X,N1);break}}function PQ(X){switch(X){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:b(X,RQ);break;default:b(X,N1);break}}function wQ(X){switch(X){case 65:case 66:case 67:case 68:case 69:case 70:A*=16,A+=X-55;break;case 97:case 98:case 99:case 100:case 101:case 102:A*=16,A+=X-87;break;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:A*=16,A+=X-48;break;case 59:B=W8;break;default:b(X,W8);break}}function RQ(X){switch(X){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:A*=10,A+=X-48;break;case 59:B=W8;break;default:b(X,W8);break}}function W8(X){if(A in KY)A=KY[A];else if(A>1114111||A>=55296&&A<57344)A=65533;if(X1(),A<=65535)P.push(A);else A=A-65536,P.push(55296+(A>>10)),P.push(56320+(A&1023));b(X,N1)}function N1(X){switch(O){case $8:case Z8:case Y8:u+=R0(P);break;default:m1(M,P);break}b(X,O)}function TQ(X,W,H,I){switch(X){case 1:if(W=W.replace(p1,""),W.length===0)return;break;case 4:r._appendChild(r.createComment(W));return;case 5:var D=W,w=H,x=I;if(r.appendChild(new kW(r,D,w,x)),Z9||D.toLowerCase()!=="html"||gW.test(w)||x&&x.toLowerCase()===vW||x===void 0&&UY.test(w))r._quirks=!0;else if(mW.test(w)||x!==void 0&&UY.test(w))r._limitedQuirks=!0;F=IZ;return}r._quirks=!0,F=IZ,F(X,W,H,I)}function IZ(X,W,H,I){var D;switch(X){case 1:if(W=W.replace(p1,""),W.length===0)return;break;case 5:return;case 4:r._appendChild(r.createComment(W));return;case 2:if(W==="html"){D=j6(r,W,H),q.push(D),r.appendChild(D),F=J8;return}break;case 3:switch(W){case"html":case"head":case"body":case"br":break;default:return}}D=j6(r,"html",null),q.push(D),r.appendChild(D),F=J8,F(X,W,H,I)}function J8(X,W,H,I){switch(X){case 1:if(W=W.replace(p1,""),W.length===0)return;break;case 5:return;case 4:e0(W);return;case 2:switch(W){case"html":y(X,W,H,I);return;case"head":var D=h(W,H);c1=D,F=W0;return}break;case 3:switch(W){case"html":case"head":case"body":case"br":break;default:return}}J8(w0,"head",null),F(X,W,H,I)}function W0(X,W,H,I){switch(X){case 1:var D=W.match(p1);if(D)$1(D[0]),W=W.substring(D[0].length);if(W.length===0)return;break;case 4:e0(W);return;case 5:return;case 2:switch(W){case"html":y(X,W,H,I);return;case"meta":case"base":case"basefont":case"bgsound":case"link":h(W,H),q.pop();return;case"title":gG(W,H);return;case"noscript":if(!d1){h(W,H),F=FZ;return}case"noframes":case"style":t6(W,H);return;case"script":n6(function(w){var x=j6(w,W,H);if(x._parser_inserted=!0,x._force_async=!1,x0)x._already_started=!0;return l1(),x}),B=A1,s=F,F=V8;return;case"template":h(W,H),k.insertMarker(),X0=!1,F=F9,b0.push(F);return;case"head":return}break;case 3:switch(W){case"head":q.pop(),F=U9;return;case"body":case"html":case"br":break;case"template":if(!q.contains("template"))return;q.generateImpliedEndTags(null,"thorough"),q.popTag("template"),k.clearToMarker(),b0.pop(),U6();return;default:return}break}W0(i,"head",null),F(X,W,H,I)}function FZ(X,W,H,I){switch(X){case 5:return;case 4:W0(X,W);return;case 1:var D=W.match(p1);if(D)W0(X,D[0]),W=W.substring(D[0].length);if(W.length===0)return;break;case 2:switch(W){case"html":y(X,W,H,I);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":q.pop(),F=W0;return;case"br":break;default:return}break}FZ(i,"noscript",null),F(X,W,H,I)}function U9(X,W,H,I){switch(X){case 1:var D=W.match(p1);if(D)$1(D[0]),W=W.substring(D[0].length);if(W.length===0)return;break;case 4:e0(W);return;case 5:return;case 2:switch(W){case"html":y(X,W,H,I);return;case"body":h(W,H),X0=!1,F=y;return;case"frameset":h(W,H),F=D9;return;case"base":case"basefont":case"bgsound":case"link":case"meta":case"noframes":case"script":case"style":case"template":case"title":q.push(c1),W0(w0,W,H),q.removeElement(c1);return;case"head":return}break;case 3:switch(W){case"template":return W0(X,W,H,I);case"body":case"html":case"br":break;default:return}break}U9(w0,"body",null),X0=!0,F(X,W,H,I)}function y(X,W,H,I){var D,w,x,d;switch(X){case 1:if(U1){if(W=W.replace(u8,""),W.length===0)return}if(X0&&p8.test(W))X0=!1;N0(),$1(W);return;case 5:return;case 4:e0(W);return;case-1:if(b0.length)return F9(X);E1();return;case 2:switch(W){case"html":if(q.contains("template"))return;TY(H,q.elements[0]);return;case"base":case"basefont":case"bgsound":case"link":case"meta":case"noframes":case"script":case"style":case"template":case"title":W0(w0,W,H);return;case"body":if(D=q.elements[1],!D||!(D instanceof $0.HTMLBodyElement)||q.contains("template"))return;X0=!1,TY(H,D);return;case"frameset":if(!X0)return;if(D=q.elements[1],!D||!(D instanceof $0.HTMLBodyElement))return;if(D.parentNode)D.parentNode.removeChild(D);while(!(q.top instanceof $0.HTMLHtmlElement))q.pop();h(W,H),F=D9;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(q.inButtonScope("p"))y(i,"p");h(W,H);return;case"menu":if(q.inButtonScope("p"))y(i,"p");if(Z0(q.top,"menuitem"))q.pop();h(W,H);return;case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":if(q.inButtonScope("p"))y(i,"p");if(q.top instanceof $0.HTMLHeadingElement)q.pop();h(W,H);return;case"pre":case"listing":if(q.inButtonScope("p"))y(i,"p");h(W,H),C1=!0,X0=!1;return;case"form":if(h0&&!q.contains("template"))return;if(q.inButtonScope("p"))y(i,"p");if(d=h(W,H),!q.contains("template"))h0=d;return;case"li":X0=!1;for(w=q.elements.length-1;w>=0;w--){if(x=q.elements[w],x instanceof $0.HTMLLIElement){y(i,"li");break}if(Z0(x,u1)&&!Z0(x,f$))break}if(q.inButtonScope("p"))y(i,"p");h(W,H);return;case"dd":case"dt":X0=!1;for(w=q.elements.length-1;w>=0;w--){if(x=q.elements[w],Z0(x,EY)){y(i,x.localName);break}if(Z0(x,u1)&&!Z0(x,f$))break}if(q.inButtonScope("p"))y(i,"p");h(W,H);return;case"plaintext":if(q.inButtonScope("p"))y(i,"p");h(W,H),B=W9;return;case"button":if(q.inScope("button"))y(i,"button"),F(X,W,H,I);else N0(),h(W,H),X0=!1;return;case"a":var Q0=k.findElementByTag("a");if(Q0)y(i,W),k.remove(Q0),q.removeElement(Q0);case"b":case"big":case"code":case"em":case"font":case"i":case"s":case"small":case"strike":case"strong":case"tt":case"u":N0(),k.push(h(W,H),H);return;case"nobr":if(N0(),q.inScope(W))y(i,W),N0();k.push(h(W,H),H);return;case"applet":case"marquee":case"object":N0(),h(W,H),k.insertMarker(),X0=!1;return;case"table":if(!r._quirks&&q.inButtonScope("p"))y(i,"p");h(W,H),X0=!1,F=u0;return;case"area":case"br":case"embed":case"img":case"keygen":case"wbr":N0(),h(W,H),q.pop(),X0=!1;return;case"input":N0(),d=h(W,H),q.pop();var K0=d.getAttribute("type");if(!K0||K0.toLowerCase()!=="hidden")X0=!1;return;case"param":case"source":case"track":h(W,H),q.pop();return;case"hr":if(q.inButtonScope("p"))y(i,"p");if(Z0(q.top,"menuitem"))q.pop();h(W,H),q.pop(),X0=!1;return;case"image":y(w0,"img",H,I);return;case"textarea":h(W,H),C1=!0,X0=!1,B=K1,s=F,F=V8;return;case"xmp":if(q.inButtonScope("p"))y(i,"p");N0(),X0=!1,t6(W,H);return;case"iframe":X0=!1,t6(W,H);return;case"noembed":t6(W,H);return;case"select":if(N0(),h(W,H),X0=!1,F===u0||F===I9||F===y1||F===D6||F===s1)F=H8;else F=J1;return;case"optgroup":case"option":if(q.top instanceof $0.HTMLOptionElement)y(i,"option");N0(),h(W,H);return;case"menuitem":if(Z0(q.top,"menuitem"))q.pop();N0(),h(W,H);return;case"rb":case"rtc":if(q.inScope("ruby"))q.generateImpliedEndTags();h(W,H);return;case"rp":case"rt":if(q.inScope("ruby"))q.generateImpliedEndTags("rtc");h(W,H);return;case"math":if(N0(),RY(H),k$(H),z9(W,H,N.MATHML),I)q.pop();return;case"svg":if(N0(),wY(H),k$(H),z9(W,H,N.SVG),I)q.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}N0(),h(W,H);return;case 3:switch(W){case"template":W0(i,W,H);return;case"body":if(!q.inScope("body"))return;F=DZ;return;case"html":if(!q.inScope("body"))return;F=DZ,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(!q.inScope(W))return;q.generateImpliedEndTags(),q.popTag(W);return;case"form":if(!q.contains("template")){var c0=h0;if(h0=null,!c0||!q.elementInScope(c0))return;q.generateImpliedEndTags(),q.removeElement(c0)}else{if(!q.inScope("form"))return;q.generateImpliedEndTags(),q.popTag("form")}return;case"p":if(!q.inButtonScope(W))y(w0,W,null),F(X,W,H,I);else q.generateImpliedEndTags(W),q.popTag(W);return;case"li":if(!q.inListItemScope(W))return;q.generateImpliedEndTags(W),q.popTag(W);return;case"dd":case"dt":if(!q.inScope(W))return;q.generateImpliedEndTags(W),q.popTag(W);return;case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":if(!q.elementTypeInScope($0.HTMLHeadingElement))return;q.generateImpliedEndTags(),q.popElementType($0.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 l0=vG(W);if(l0)return;break;case"applet":case"marquee":case"object":if(!q.inScope(W))return;q.generateImpliedEndTags(),q.popTag(W),k.clearToMarker();return;case"br":y(w0,W,null);return}for(w=q.elements.length-1;w>=0;w--)if(x=q.elements[w],Z0(x,W)){q.generateImpliedEndTags(W),q.popElement(x);break}else if(Z0(x,u1))return;return}}function V8(X,W,H,I){switch(X){case 1:$1(W);return;case-1:if(q.top instanceof $0.HTMLScriptElement)q.top._already_started=!0;q.pop(),F=s,F(X);return;case 3:if(W==="script")mG();else q.pop(),F=s;return;default:return}}function u0(X,W,H,I){function D(x){for(var d=0,Q0=x.length;d<Q0;d++)if(x[d][0]==="type")return x[d][1].toLowerCase();return null}switch(X){case 1:if(Y9){y(X,W,H,I);return}else if(Z0(q.top,J6)){s6=[],s=F,F=CQ,F(X,W,H,I);return}break;case 4:e0(W);return;case 5:return;case 2:switch(W){case"caption":q.clearToContext(c8),k.insertMarker(),h(W,H),F=I9;return;case"colgroup":q.clearToContext(c8),h(W,H),F=B8;return;case"col":u0(w0,"colgroup",null),F(X,W,H,I);return;case"tbody":case"tfoot":case"thead":q.clearToContext(c8),h(W,H),F=y1;return;case"td":case"th":case"tr":u0(w0,"tbody",null),F(X,W,H,I);return;case"table":if(!q.inTableScope(W))return;u0(i,W),F(X,W,H,I);return;case"style":case"script":case"template":W0(X,W,H,I);return;case"input":var w=D(H);if(w!=="hidden")break;h(W,H),q.pop();return;case"form":if(h0||q.contains("template"))return;h0=h(W,H),q.popElement(h0);return}break;case 3:switch(W){case"table":if(!q.inTableScope(W))return;q.popTag(W),U6();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,I);return}break;case-1:y(X,W,H,I);return}D1=!0,y(X,W,H,I),D1=!1}function CQ(X,W,H,I){if(X===W6){if(U1){if(W=W.replace(u8,""),W.length===0)return}s6.push(W)}else{var D=s6.join("");if(s6.length=0,p8.test(D))D1=!0,y(W6,D),D1=!1;else $1(D);F=s,F(X,W,H,I)}}function I9(X,W,H,I){function D(){if(!q.inTableScope("caption"))return!1;return q.generateImpliedEndTags(),q.popTag("caption"),k.clearToMarker(),F=u0,!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(D())F(X,W,H,I);return}break;case 3:switch(W){case"caption":D();return;case"table":if(D())F(X,W,H,I);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,I)}function B8(X,W,H,I){switch(X){case 1:var D=W.match(p1);if(D)$1(D[0]),W=W.substring(D[0].length);if(W.length===0)return;break;case 4:e0(W);return;case 5:return;case 2:switch(W){case"html":y(X,W,H,I);return;case"col":h(W,H),q.pop();return;case"template":W0(X,W,H,I);return}break;case 3:switch(W){case"colgroup":if(!Z0(q.top,"colgroup"))return;q.pop(),F=u0;return;case"col":return;case"template":W0(X,W,H,I);return}break;case-1:y(X,W,H,I);return}if(!Z0(q.top,"colgroup"))return;B8(i,"colgroup"),F(X,W,H,I)}function y1(X,W,H,I){function D(){if(!q.inTableScope("tbody")&&!q.inTableScope("thead")&&!q.inTableScope("tfoot"))return;q.clearToContext(d8),y1(i,q.top.localName,null),F(X,W,H,I)}switch(X){case 2:switch(W){case"tr":q.clearToContext(d8),h(W,H),F=D6;return;case"th":case"td":y1(w0,"tr",null),F(X,W,H,I);return;case"caption":case"col":case"colgroup":case"tbody":case"tfoot":case"thead":D();return}break;case 3:switch(W){case"table":D();return;case"tbody":case"tfoot":case"thead":if(q.inTableScope(W))q.clearToContext(d8),q.pop(),F=u0;return;case"body":case"caption":case"col":case"colgroup":case"html":case"td":case"th":case"tr":return}break}u0(X,W,H,I)}function D6(X,W,H,I){function D(){if(!q.inTableScope("tr"))return!1;return q.clearToContext(h$),q.pop(),F=y1,!0}switch(X){case 2:switch(W){case"th":case"td":q.clearToContext(h$),h(W,H),F=s1,k.insertMarker();return;case"caption":case"col":case"colgroup":case"tbody":case"tfoot":case"thead":case"tr":if(D())F(X,W,H,I);return}break;case 3:switch(W){case"tr":D();return;case"table":if(D())F(X,W,H,I);return;case"tbody":case"tfoot":case"thead":if(q.inTableScope(W)){if(D())F(X,W,H,I)}return;case"body":case"caption":case"col":case"colgroup":case"html":case"td":case"th":return}break}u0(X,W,H,I)}function s1(X,W,H,I){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(q.inTableScope("td"))s1(i,"td"),F(X,W,H,I);else if(q.inTableScope("th"))s1(i,"th"),F(X,W,H,I);return}break;case 3:switch(W){case"td":case"th":if(!q.inTableScope(W))return;q.generateImpliedEndTags(),q.popTag(W),k.clearToMarker(),F=D6;return;case"body":case"caption":case"col":case"colgroup":case"html":return;case"table":case"tbody":case"tfoot":case"thead":case"tr":if(!q.inTableScope(W))return;s1(i,q.inTableScope("td")?"td":"th"),F(X,W,H,I);return}break}y(X,W,H,I)}function J1(X,W,H,I){switch(X){case 1:if(U1){if(W=W.replace(u8,""),W.length===0)return}$1(W);return;case 4:e0(W);return;case 5:return;case-1:y(X,W,H,I);return;case 2:switch(W){case"html":y(X,W,H,I);return;case"option":if(q.top instanceof $0.HTMLOptionElement)J1(i,W);h(W,H);return;case"optgroup":if(q.top instanceof $0.HTMLOptionElement)J1(i,"option");if(q.top instanceof $0.HTMLOptGroupElement)J1(i,W);h(W,H);return;case"select":J1(i,W);return;case"input":case"keygen":case"textarea":if(!q.inSelectScope("select"))return;J1(i,"select"),F(X,W,H,I);return;case"script":case"template":W0(X,W,H,I);return}break;case 3:switch(W){case"optgroup":if(q.top instanceof $0.HTMLOptionElement&&q.elements[q.elements.length-2]instanceof $0.HTMLOptGroupElement)J1(i,"option");if(q.top instanceof $0.HTMLOptGroupElement)q.pop();return;case"option":if(q.top instanceof $0.HTMLOptionElement)q.pop();return;case"select":if(!q.inSelectScope(W))return;q.popTag(W),U6();return;case"template":W0(X,W,H,I);return}break}}function H8(X,W,H,I){switch(W){case"caption":case"table":case"tbody":case"tfoot":case"thead":case"tr":case"td":case"th":switch(X){case 2:H8(i,"select"),F(X,W,H,I);return;case 3:if(q.inTableScope(W))H8(i,"select"),F(X,W,H,I);return}}J1(X,W,H,I)}function F9(X,W,H,I){function D(w){F=w,b0[b0.length-1]=F,F(X,W,H,I)}switch(X){case 1:case 4:case 5:y(X,W,H,I);return;case-1:if(!q.contains("template"))E1();else q.popTag("template"),k.clearToMarker(),b0.pop(),U6(),F(X,W,H,I);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,I);return;case"caption":case"colgroup":case"tbody":case"tfoot":case"thead":D(u0);return;case"col":D(B8);return;case"tr":D(y1);return;case"td":case"th":D(D6);return}D(y);return;case 3:switch(W){case"template":W0(X,W,H,I);return;default:return}}}function DZ(X,W,H,I){switch(X){case 1:if(p8.test(W))break;y(X,W);return;case 4:q.elements[0]._appendChild(r.createComment(W));return;case 5:return;case-1:E1();return;case 2:if(W==="html"){y(X,W,H,I);return}break;case 3:if(W==="html"){if(x0)return;F=bQ;return}break}F=y,F(X,W,H,I)}function D9(X,W,H,I){switch(X){case 1:if(W=W.replace(x$,""),W.length>0)$1(W);return;case 4:e0(W);return;case 5:return;case-1:E1();return;case 2:switch(W){case"html":y(X,W,H,I);return;case"frameset":h(W,H);return;case"frame":h(W,H),q.pop();return;case"noframes":W0(X,W,H,I);return}break;case 3:if(W==="frameset"){if(x0&&q.top instanceof $0.HTMLHtmlElement)return;if(q.pop(),!x0&&!(q.top instanceof $0.HTMLFrameSetElement))F=EQ;return}break}}function EQ(X,W,H,I){switch(X){case 1:if(W=W.replace(x$,""),W.length>0)$1(W);return;case 4:e0(W);return;case 5:return;case-1:E1();return;case 2:switch(W){case"html":y(X,W,H,I);return;case"noframes":W0(X,W,H,I);return}break;case 3:if(W==="html"){F=NQ;return}break}}function bQ(X,W,H,I){switch(X){case 1:if(p8.test(W))break;y(X,W,H,I);return;case 4:r._appendChild(r.createComment(W));return;case 5:y(X,W,H,I);return;case-1:E1();return;case 2:if(W==="html"){y(X,W,H,I);return}break}F=y,F(X,W,H,I)}function NQ(X,W,H,I){switch(X){case 1:if(W=W.replace(x$,""),W.length>0)y(X,W,H,I);return;case 4:r._appendChild(r.createComment(W));return;case 5:y(X,W,H,I);return;case-1:E1();return;case 2:switch(W){case"html":y(X,W,H,I);return;case"noframes":W0(X,W,H,I);return}break}}function KZ(X,W,H,I){function D(Q0){for(var K0=0,c0=Q0.length;K0<c0;K0++)switch(Q0[K0][0]){case"color":case"face":case"size":return!0}return!1}var w;switch(X){case 1:if(X0&&tW.test(W))X0=!1;if(U1)W=W.replace(u8,"�");$1(W);return;case 4:e0(W);return;case 5:return;case 2:switch(W){case"font":if(!D(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(x0)break;do q.pop(),w=q.top;while(w.namespaceURI!==N.HTML&&!MY(w)&&!PY(w));_0(X,W,H,I);return}if(w=q.elements.length===1&&x0?Z:q.top,w.namespaceURI===N.MATHML)RY(H);else if(w.namespaceURI===N.SVG)W=$J(W),wY(H);if(k$(H),z9(W,H,w.namespaceURI),I){if(W==="script"&&w.namespaceURI===N.SVG);q.pop()}return;case 3:if(w=q.top,W==="script"&&w.namespaceURI===N.SVG&&w.localName==="script")q.pop();else{var x=q.elements.length-1,d=q.elements[x];for(;;){if(d.localName.toLowerCase()===W){q.popElement(d);break}if(d=q.elements[--x],d.namespaceURI!==N.HTML)continue;F(X,W,H,I);break}}return}}return o6.testTokenizer=function(X,W,H,I){var D=[];switch(W){case"PCDATA state":B=c;break;case"RCDATA state":B=K1;break;case"RAWTEXT state":B=I6;break;case"PLAINTEXT state":B=W9;break}if(H)v=H;if(_0=function(x,d,Q0,K0){switch(l1(),x){case 1:if(D.length>0&&D[D.length-1][0]==="Character")D[D.length-1][1]+=d;else D.push(["Character",d]);break;case 4:D.push(["Comment",d]);break;case 5:D.push(["DOCTYPE",d,Q0===void 0?null:Q0,K0===void 0?null:K0,!Z9]);break;case 2:var c0=Object.create(null);for(var l0=0;l0<Q0.length;l0++){var x1=Q0[l0];if(x1.length===1)c0[x1[0]]="";else c0[x1[0]]=x1[1]}var M1=["StartTag",d,c0];if(K0)M1.push(!0);D.push(M1);break;case 3:D.push(["EndTag",d]);break;case-1:break}},!I)this.parse(X,!0);else{for(var w=0;w<X.length;w++)this.parse(X[w]);this.parse("",!0)}return D},o6}});var p6=C((SB,pY)=>{pY.exports=mY;var gY=h8(),vY=v8(),ZJ=l8(),s8=V0(),YJ=S8();function mY($){this.contextObject=$}var GJ={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}};mY.prototype={hasFeature:function $(Z,Y){var G=GJ[(Z||"").toLowerCase()];return G&&G[Y||""]||!1},createDocumentType:function $(Z,Y,G){if(!YJ.isValidQName(Z))s8.InvalidCharacterError();return new vY(this.contextObject,Z,Y,G)},createDocument:function $(Z,Y,G){var Q=new gY(!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===s8.NAMESPACE.HTML)Q._contentType="application/xhtml+xml";else if(Z===s8.NAMESPACE.SVG)Q._contentType="image/svg+xml";else Q._contentType="application/xml";return Q},createHTMLDocument:function $(Z){var Y=new gY(!0,null);Y.appendChild(new vY(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($){s8.nyi()},mozHTMLParser:ZJ}});var cY=C((LB,uY)=>{var QJ=N8(),zJ=P$();uY.exports=v$;function v$($,Z){this._window=$,this._href=Z}v$.prototype=Object.create(zJ.prototype,{constructor:{value:v$},href:{get:function(){return this._href},set:function($){this.assign($)}},assign:{value:function($){var Z=new QJ(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 iY=C((MB,dY)=>{var XJ=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}}});dY.exports=XJ});var sY=C((PB,lY)=>{var WJ={setTimeout,clearTimeout,setInterval,clearInterval};lY.exports=WJ});var p$=C((u6,oY)=>{var m$=V0();u6=oY.exports={CSSStyleDeclaration:y8(),CharacterData:N6(),Comment:H$(),DOMException:F8(),DOMImplementation:p6(),DOMTokenList:o9(),Document:h8(),DocumentFragment:q$(),DocumentType:v8(),Element:Z6(),HTMLParser:l8(),NamedNodeMap:$$(),Node:A0(),NodeList:g1(),NodeFilter:f6(),ProcessingInstruction:U$(),Text:V$(),Window:u$()};m$.merge(u6,M$());m$.merge(u6,k8().elements);m$.merge(u6,E$().elements)});var u$=C((wB,rY)=>{var JJ=p6(),VJ=N9(),BJ=cY(),c6=V0();rY.exports=o8;function o8($){this.document=$||new JJ(null).createHTMLDocument(""),this.document._scripting_enabled=!0,this.document.defaultView=this,this.location=new BJ(this,this.document._address||"about:blank")}o8.prototype=Object.create(VJ.prototype,{console:{value:console},history:{value:{back:c6.nyi,forward:c6.nyi,go:c6.nyi}},navigator:{value:iY()},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}}});c6.expose(sY(),o8);c6.expose(p$(),o8)});var $G=C((HJ)=>{var nY=p6(),aY=l8(),RB=u$(),tY=p$();HJ.createDOMImplementation=function(){return new nY(null)};HJ.createDocument=function($,Z){if($||Z){var Y=new aY;return Y.parse($||"",!0),Y.document()}return new nY(null).createHTMLDocument("")};HJ.createIncrementalHTMLParser=function(){var $=new aY;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()}}};HJ.createWindow=function($,Z){var Y=HJ.createDocument($);if(Z!==void 0)Y._address=Z;return new tY.Window(Y)};HJ.impl=tY});var _G=C((CB,HG)=>{function IJ($){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 l$($,Z){return Array(Z+1).join($)}function FJ($){return $.replace(/^\n*/,"")}function DJ($){var Z=$.length;while(Z>0&&$[Z-1]===`
|
|
33
|
+
`)Z--;return $.substring(0,Z)}var KJ=["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 s$($){return o$($,KJ)}var GG=["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"];function QG($){return o$($,GG)}function AJ($){return XG($,GG)}var zG=["A","TABLE","THEAD","TBODY","TFOOT","TH","TD","IFRAME","SCRIPT","AUDIO","VIDEO"];function OJ($){return o$($,zG)}function SJ($){return XG($,zG)}function o$($,Z){return Z.indexOf($.nodeName)>=0}function XG($,Z){return $.getElementsByTagName&&Z.some(function(Y){return $.getElementsByTagName(Y).length})}var T0={};T0.paragraph={filter:"p",replacement:function($){return`
|
|
34
34
|
|
|
35
35
|
`+$+`
|
|
36
36
|
|
|
37
|
-
`}};
|
|
38
|
-
`}};
|
|
37
|
+
`}};T0.lineBreak={filter:"br",replacement:function($,Z,Y){return Y.br+`
|
|
38
|
+
`}};T0.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=l$(G===1?"=":"-",$.length);return`
|
|
39
39
|
|
|
40
40
|
`+$+`
|
|
41
41
|
`+Q+`
|
|
42
42
|
|
|
43
43
|
`}else return`
|
|
44
44
|
|
|
45
|
-
`+
|
|
45
|
+
`+l$("#",G)+" "+$+`
|
|
46
46
|
|
|
47
|
-
`}};
|
|
47
|
+
`}};T0.blockquote={filter:"blockquote",replacement:function($){return $=$.replace(/^\n+|\n+$/g,""),$=$.replace(/^/gm,"> "),`
|
|
48
48
|
|
|
49
49
|
`+$+`
|
|
50
50
|
|
|
51
|
-
`}};
|
|
51
|
+
`}};T0.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
|
-
`}};
|
|
56
|
+
`}};T0.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
|
-
`:"")}};
|
|
59
|
+
`:"")}};T0.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
|
-
`}};
|
|
64
|
+
`}};T0.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"),j;while(j=_.exec(z))if(j[0].length>=V)V=j[0].length+1;var U=l$(J,V);return`
|
|
65
65
|
|
|
66
|
-
`+
|
|
66
|
+
`+U+Q+`
|
|
67
67
|
`+z.replace(/\n$/,"")+`
|
|
68
|
-
`+
|
|
68
|
+
`+U+`
|
|
69
69
|
|
|
70
|
-
`}};
|
|
70
|
+
`}};T0.horizontalRule={filter:"hr",replacement:function($,Z,Y){return`
|
|
71
71
|
|
|
72
72
|
`+Y.hr+`
|
|
73
73
|
|
|
74
|
-
`}};
|
|
74
|
+
`}};T0.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=r8(Z.getAttribute("title"));if(G)G=' "'+G.replace(/"/g,"\\\"")+'"';return"["+$+"]("+Y+G+")"}};T0.referenceLink={filter:function($,Z){return Z.linkStyle==="referenced"&&$.nodeName==="A"&&$.getAttribute("href")},replacement:function($,Z,Y){var G=Z.getAttribute("href"),Q=r8(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}};
|
|
80
|
-
`):""}function
|
|
79
|
+
`,this.references=[];return Z}};T0.emphasis={filter:["em","i"],replacement:function($,Z,Y){if(!$.trim())return"";return Y.emDelimiter+$+Y.emDelimiter}};T0.strong={filter:["strong","b"],replacement:function($,Z,Y){if(!$.trim())return"";return Y.strongDelimiter+$+Y.strongDelimiter}};T0.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}};T0.image={filter:"img",replacement:function($,Z){var Y=r8(Z.getAttribute("alt")),G=Z.getAttribute("src")||"",Q=r8(Z.getAttribute("title")),z=Q?' "'+Q+'"':"";return G?"":""}};function r8($){return $?$.replace(/(\n+\s*)+/g,`
|
|
80
|
+
`):""}function WG($){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])}WG.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=c$(this.array,$,this.options))return Z;if(Z=c$(this._keep,$,this.options))return Z;if(Z=c$(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 c$($,Z,Y){for(var G=0;G<$.length;G++){var Q=$[G];if(LJ(Q,Z,Y))return Q}return}function LJ($,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 MJ($){var{element:Z,isBlock:Y,isVoid:G}=$,Q=$.isPre||function(K){return K.nodeName==="PRE"};if(!Z.firstChild||Q(Z))return;var z=null,J=!1,V=null,_=ZG(V,Z,Q);while(_!==Z){if(_.nodeType===3||_.nodeType===4){var j=_.data.replace(/[ \r\n\t]+/g," ");if((!z||/ $/.test(z.data))&&!J&&j[0]===" ")j=j.substr(1);if(!j){_=d$(_);continue}_.data=j,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{_=d$(_);continue}var U=ZG(V,_,Q);V=_,_=U}if(z){if(z.data=z.data.replace(/ $/,""),!z.data)d$(z)}}function d$($){var Z=$.nextSibling||$.parentNode;return $.parentNode.removeChild($),Z}function ZG($,Z,Y){if($&&$.parentNode===Z||Y(Z))return Z.nextSibling||Z.parentNode;return Z.firstChild||Z.nextSibling||Z.parentNode}var JG=typeof window!=="undefined"?window:{};function PJ(){var $=JG.DOMParser,Z=!1;try{if(new $().parseFromString("","text/html"))Z=!0}catch(Y){}return Z}function wJ(){var $=function(){};{var Z=$G();$.prototype.parseFromString=function(Y){return Z.createDocument(Y)}}return $}var RJ=PJ()?JG.DOMParser:wJ();function TJ($,Z){var Y;if(typeof $==="string"){var G=CJ().parseFromString('<x-turndown id="turndown-root">'+$+"</x-turndown>","text/html");Y=G.getElementById("turndown-root")}else Y=$.cloneNode(!0);return MJ({element:Y,isBlock:s$,isVoid:QG,isPre:Z.preformattedCode?EJ:null}),Y}var i$;function CJ(){return i$=i$||new RJ,i$}function EJ($){return $.nodeName==="PRE"||$.nodeName==="CODE"}function bJ($,Z){return $.isBlock=s$($),$.isCode=$.nodeName==="CODE"||$.parentNode.isCode,$.isBlank=NJ($),$.flankingWhitespace=yJ($,Z),$}function NJ($){return!QG($)&&!OJ($)&&/^\s*$/i.test($.textContent)&&!AJ($)&&!SJ($)}function yJ($,Z){if($.isBlock||Z.preformattedCode&&$.isCode)return{leading:"",trailing:""};var Y=xJ($.textContent);if(Y.leadingAscii&&YG("left",$,Z))Y.leading=Y.leadingNonAscii;if(Y.trailingAscii&&YG("right",$,Z))Y.trailing=Y.trailingNonAscii;return{leading:Y.leading,trailing:Y.trailing}}function xJ($){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 YG($,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&&!s$(G))z=Q.test(G.textContent)}return z}var kJ=Array.prototype.reduce,fJ=[[/\\/g,"\\\\"],[/\*/g,"\\*"],[/^-/g,"\\-"],[/^\+ /g,"\\+ "],[/^(=+)/g,"\\$1"],[/^(#{1,6}) /g,"\\$1 "],[/`/g,"\\`"],[/^~~~/g,"\\~~~"],[/\[/g,"\\["],[/\]/g,"\\]"],[/^>/g,"\\>"],[/_/g,"\\_"],[/^(\d+)\. /g,"$1\\. "]];function n8($){if(!(this instanceof n8))return new n8($);var Z={rules:T0,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,69 +87,69 @@ 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=
|
|
90
|
+
`:Y}};this.options=IJ({},Z,$),this.rules=new WG(this.options)}n8.prototype={turndown:function($){if(!vJ($))throw new TypeError($+" is not a string, or an element/document/fragment node.");if($==="")return"";var Z=VG.call(this,new TJ($,this.options));return hJ.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 fJ.reduce(function(Z,Y){return Z.replace(Y[0],Y[1])},$)}};function VG($){var Z=this;return kJ.call($.childNodes,function(Y,G){G=new bJ(G,Z.options);var Q="";if(G.nodeType===3)Q=G.isCode?G.nodeValue:Z.escape(G.nodeValue);else if(G.nodeType===1)Q=gJ.call(Z,G);return BG(Y,Q)},"")}function hJ($){var Z=this;return this.rules.forEach(function(Y){if(typeof Y.append==="function")$=BG($,Y.append(Z.options))}),$.replace(/^[\t\r\n]+/,"").replace(/[\t\r\n\s]+$/,"")}function gJ($){var Z=this.rules.forNode($),Y=VG.call(this,$),G=$.flankingWhitespace;if(G.leading||G.trailing)Y=Y.trim();return G.leading+Z.replacement(Y,$,this.options)+G.trailing}function BG($,Z){var Y=DJ($),G=FJ(Z),Q=Math.max($.length-Y.length,Z.length-G.length),z=`
|
|
91
91
|
|
|
92
|
-
`.substring(0,Q);return Y+z+G}function
|
|
92
|
+
`.substring(0,Q);return Y+z+G}function vJ($){return $!=null&&(typeof $==="string"||$.nodeType&&($.nodeType===1||$.nodeType===9||$.nodeType===11))}HG.exports=n8});var e8={};hQ(e8,{JiraExtractor:()=>C0});class C0{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:C0.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,j=V.match(_);if(j)j.forEach((U)=>{Z.push({type:"rich_text_link",field:z,url:U,description:C0.categorizeLink(U)})})}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:C0.categorizeLink(V)})})}}catch(G){console.warn(`Failed to process description links: ${G}`)}}catch(Y){console.warn(`Failed to extract linked resources: ${Y}`)}return C0.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=C0.formatRelatedIssue(J,z.type.outward,"outward");Y.push(V)}if(z.inwardIssue){let J=await Z(z.inwardIssue.key),V=C0.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=C0.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=C0.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=C0.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=C0.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||""}))||[]}}static extractTextFromADF($){if(!$)return"";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||[])}}import{execSync as rJ,spawn as $Z}from"child_process";var mZ=_8(vZ(),1),{program:S6,createCommand:jV,createArgument:UV,createOption:IV,CommanderError:FV,InvalidArgumentError:DV,InvalidOptionArgumentError:KV,Command:AV,Argument:OV,Option:SV,Help:LV}=mZ.default;var $9=_8(lZ(),1);import{existsSync as a0,mkdirSync as RG,readFileSync as V6,writeFileSync as j1}from"fs";import{join as U0,resolve as E0}from"path";var jG=_8(_G(),1);import{writeFileSync as qG}from"fs";import a8 from"path";class t8{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:j,linkedResources:U,relatedIssues:K,comments:S,attachments:B}=$,O=`# JIRA Task Implementation Request
|
|
93
93
|
|
|
94
94
|
## Task Overview
|
|
95
95
|
- **Key**: ${Q}
|
|
96
96
|
- **Summary**: ${z}
|
|
97
|
-
`;if(_.length>0)
|
|
98
|
-
`;if(
|
|
99
|
-
`;if(
|
|
97
|
+
`;if(_.length>0)O+=`- **Labels**: ${_.join(", ")}
|
|
98
|
+
`;if(j.length>0)O+=`- **Components**: ${j.join(", ")}
|
|
99
|
+
`;if(O+=`
|
|
100
100
|
## Task Description
|
|
101
|
-
`,J)
|
|
101
|
+
`,J)O+=this.convertHtmlToMarkdown(J,Z,Y,G)+`
|
|
102
102
|
|
|
103
|
-
`;else if(V)
|
|
103
|
+
`;else if(V)O+=this.convertAtlassianDocumentToText(V)+`
|
|
104
104
|
|
|
105
|
-
`;if(
|
|
105
|
+
`;if(U.length>0)O+=`## Linked Resources
|
|
106
106
|
|
|
107
|
-
`,
|
|
108
|
-
`,
|
|
109
|
-
`;break;case"issue_link":
|
|
110
|
-
`;break}}),
|
|
111
|
-
`;if(
|
|
107
|
+
`,U.forEach((A)=>{switch(A.type){case"custom_field_link":case"description_link":case"rich_text_link":if(O+=`- **${A.description}**: ${A.url}
|
|
108
|
+
`,A.field&&A.type==="custom_field_link")O+=` (from field: ${A.field})
|
|
109
|
+
`;break;case"issue_link":O+=`- **${A.linkType}**: ${A.issueKey} - ${A.summary}
|
|
110
|
+
`;break}}),O+=`
|
|
111
|
+
`;if(K&&K.length>0){O+=`## Related Work Items
|
|
112
112
|
|
|
113
|
-
`,
|
|
113
|
+
`,O+=`The following related issues provide important context for this task:
|
|
114
114
|
|
|
115
|
-
`;let
|
|
115
|
+
`;let A=this.groupRelatedIssues(K);Object.entries(A).forEach(([L,v])=>{if(v.length>0)O+=`### ${L}
|
|
116
116
|
|
|
117
|
-
`,
|
|
118
|
-
`,
|
|
119
|
-
`,
|
|
120
|
-
`,
|
|
121
|
-
`;if(
|
|
122
|
-
`;if(
|
|
123
|
-
`;if(
|
|
124
|
-
`;if(
|
|
117
|
+
`,v.forEach((P)=>{if(O+=`#### ${P.key}: ${P.summary}
|
|
118
|
+
`,O+=`- **Type**: ${P.issueType}
|
|
119
|
+
`,O+=`- **Status**: ${P.status}
|
|
120
|
+
`,P.priority)O+=`- **Priority**: ${P.priority}
|
|
121
|
+
`;if(P.assignee)O+=`- **Assignee**: ${P.assignee}
|
|
122
|
+
`;if(P.labels.length>0)O+=`- **Labels**: ${P.labels.join(", ")}
|
|
123
|
+
`;if(P.components.length>0)O+=`- **Components**: ${P.components.join(", ")}
|
|
124
|
+
`;if(P.renderedDescription)O+=`
|
|
125
125
|
**Description:**
|
|
126
|
-
`,
|
|
127
|
-
`;else if(
|
|
126
|
+
`,O+=this.convertHtmlToMarkdown(P.renderedDescription,Z,Y,G)+`
|
|
127
|
+
`;else if(P.description)O+=`
|
|
128
128
|
**Description:**
|
|
129
|
-
`,
|
|
130
|
-
`;
|
|
129
|
+
`,O+=this.convertAtlassianDocumentToText(P.description)+`
|
|
130
|
+
`;O+=`
|
|
131
131
|
---
|
|
132
132
|
|
|
133
|
-
`})})}if(B.length>0)
|
|
133
|
+
`})})}if(B.length>0)O+=`## Attachments
|
|
134
134
|
|
|
135
|
-
`,B.forEach((
|
|
136
|
-

|
|
137
|
+
(${A.mimeType}, ${this.formatFileSize(A.size)}) - uploaded by ${A.author}
|
|
138
138
|
|
|
139
|
-
`;else
|
|
140
|
-
`}),
|
|
141
|
-
`;if(
|
|
139
|
+
`;else O+=`- **[${A.filename}](${L})** (${A.mimeType}, ${this.formatFileSize(A.size)}) - uploaded by ${A.author}
|
|
140
|
+
`}),O+=`
|
|
141
|
+
`;if(S.length>0)O+=`## Comments and Discussion
|
|
142
142
|
|
|
143
|
-
`,
|
|
144
|
-
`,
|
|
143
|
+
`,S.forEach((A,L)=>{if(O+=`### Comment ${L+1} by ${A.author}
|
|
144
|
+
`,O+=`*Posted: ${new Date(A.created).toLocaleString()}*
|
|
145
145
|
|
|
146
|
-
`,
|
|
146
|
+
`,A.renderedBody)O+=this.convertHtmlToMarkdown(A.renderedBody,Z,Y,G)+`
|
|
147
147
|
|
|
148
|
-
`;else if(
|
|
148
|
+
`;else if(A.body)O+=this.convertAtlassianDocumentToText(A.body)+`
|
|
149
149
|
|
|
150
|
-
`;
|
|
150
|
+
`;O+=`---
|
|
151
151
|
|
|
152
|
-
`});return
|
|
152
|
+
`});return O+=`## Implementation Instructions
|
|
153
153
|
|
|
154
154
|
Please analyze the above JIRA task and implement the requested functionality. Consider:
|
|
155
155
|
|
|
@@ -162,19 +162,19 @@ Please analyze the above JIRA task and implement the requested functionality. Co
|
|
|
162
162
|
If you need clarification on any requirements or if the task description is unclear, please ask specific questions.
|
|
163
163
|
|
|
164
164
|
**Task Key for Reference**: ${Q}
|
|
165
|
-
`,
|
|
165
|
+
`,O}static convertAtlassianDocumentToText($){if(typeof $==="string")return $;if(!$||!$.content)return"";let Z="",Y=(G)=>{G.forEach((Q)=>{switch(Q.type){case"paragraph":if(Q.content)Z+=this.processInlineContent(Q.content)+`
|
|
166
166
|
|
|
167
167
|
`;break;case"heading":let z=Q.attrs?.level||1,J=Q.content?this.processInlineContent(Q.content):"";Z+="#".repeat(z)+" "+J+`
|
|
168
168
|
|
|
169
|
-
`;break;case"bulletList":case"orderedList":if(Q.content)Q.content.forEach((
|
|
169
|
+
`;break;case"bulletList":case"orderedList":if(Q.content)Q.content.forEach((j,U)=>{let K=Q.type==="bulletList"?"- ":`${U+1}. `,S=j.content?this.processInlineContent(j.content):"";Z+=K+S+`
|
|
170
170
|
`}),Z+=`
|
|
171
171
|
`;break;case"codeBlock":let V=Q.attrs?.language||"",_=Q.content?this.processInlineContent(Q.content):"";Z+="```"+V+`
|
|
172
|
-
`+_+"\n```\n\n";break;case"blockquote":if(Q.content){let
|
|
172
|
+
`+_+"\n```\n\n";break;case"blockquote":if(Q.content){let j=this.processInlineContent(Q.content);Z+="> "+j+`
|
|
173
173
|
|
|
174
174
|
`}break;default:if(Q.content)Y(Q.content)}})};return Y($.content),Z.trim()}static processInlineContent($){let Z="";return $.forEach((Y)=>{switch(Y.type){case"text":let G=Y.text||"";if(Y.marks)Y.marks.forEach((z)=>{switch(z.type){case"strong":G=`**${G}**`;break;case"em":G=`*${G}*`;break;case"code":G=`\`${G}\``;break;case"link":let J=z.attrs?.href||"";G=`[${G}](${J})`;break}});Z+=G;break;case"hardBreak":Z+=`
|
|
175
|
-
`;break;case"mention":let Q=Y.attrs?.text||Y.attrs?.displayName||"Unknown User";Z+=`@${Q}`;break;default:if(Y.content)Z+=this.processInlineContent(Y.content)}}),Z}static convertHtmlToMarkdown($,Z,Y,G){if(!$)return"";try{let Q=this.turndownService.turndown($);if(Z||Y)Q=Q.replace(/!\[([^\]]*)\]\(([^)]+)\)/g,(z,J,V)=>{let _=[V];if(!V.startsWith("http")&&Z)_.push(`${Z}${V}`);if(V.startsWith("http"))_.push(V);if(_.forEach((
|
|
175
|
+
`;break;case"mention":let Q=Y.attrs?.text||Y.attrs?.displayName||"Unknown User";Z+=`@${Q}`;break;default:if(Y.content)Z+=this.processInlineContent(Y.content)}}),Z}static convertHtmlToMarkdown($,Z,Y,G){if(!$)return"";try{let Q=this.turndownService.turndown($);if(Z||Y)Q=Q.replace(/!\[([^\]]*)\]\(([^)]+)\)/g,(z,J,V)=>{let _=[V];if(!V.startsWith("http")&&Z)_.push(`${Z}${V}`);if(V.startsWith("http"))_.push(V);if(_.forEach((U)=>{let K=U.replace(/([^:]\/)\/+/g,"$1");if(K!==U)_.push(K)}),Y){for(let U of _)if(Y.has(U)){let K=Y.get(U);if(G){let S=a8.dirname(G),B=a8.relative(S,K);return`})`}else return``}}let j=_.find((U)=>U.startsWith("http"))||V;return``});return Q.replace(/\n{3,}/g,`
|
|
176
176
|
|
|
177
|
-
`).replace(/^\s+|\s+$/g,"").replace(/\\\[/g,"[").replace(/\\\]/g,"]")}catch(Q){return console.warn("Failed to convert HTML to markdown:",Q),$.replace(/<[^>]*>/g,"").replace(/ /g," ").replace(/&/g,"&")}}static formatFileSize($){if($===0)return"0 Bytes";let Z=1024,Y=["Bytes","KB","MB","GB"],G=Math.floor(Math.log($)/Math.log(Z));return parseFloat(($/Math.pow(Z,G)).toFixed(2))+" "+Y[G]}static saveFormattedTask($,Z,Y,G){let Q=this.formatTaskForClaude($,Y,G,Z);return
|
|
177
|
+
`).replace(/^\s+|\s+$/g,"").replace(/\\\[/g,"[").replace(/\\\]/g,"]")}catch(Q){return console.warn("Failed to convert HTML to markdown:",Q),$.replace(/<[^>]*>/g,"").replace(/ /g," ").replace(/&/g,"&")}}static formatFileSize($){if($===0)return"0 Bytes";let Z=1024,Y=["Bytes","KB","MB","GB"],G=Math.floor(Math.log($)/Math.log(Z));return parseFloat(($/Math.pow(Z,G)).toFixed(2))+" "+Y[G]}static saveFormattedTask($,Z,Y,G){let Q=this.formatTaskForClaude($,Y,G,Z);return qG(Z,Q,"utf8"),Z}static groupRelatedIssues($){let Z={"Parent Tasks & Epics":[],Subtasks:[],"Blocking Issues":[],"Blocked Issues":[],"Related Issues":[],"Other Links":[]};return $.forEach((Y)=>{switch(Y.relationshipDirection){case"parent":Z["Parent Tasks & Epics"].push(Y);break;case"subtask":Z.Subtasks.push(Y);break;default:let G=Y.linkType.toLowerCase();if(G.includes("block")&&(G.includes("is blocked")||Y.relationshipDirection==="inward"))Z["Blocking Issues"].push(Y);else if(G.includes("block"))Z["Blocked Issues"].push(Y);else if(G.includes("relate")||G.includes("duplicate")||G.includes("clone"))Z["Related Issues"].push(Y);else Z["Other Links"].push(Y);break}}),Object.keys(Z).forEach((Y)=>{if(Z[Y].length===0)delete Z[Y]}),Z}static formatClarityAssessment($,Z,Y,G){let{key:Q,summary:z,renderedDescription:J,description:V,labels:_,components:j,linkedResources:U,relatedIssues:K,comments:S,attachments:B}=$,O=`# Task Clarity Assessment
|
|
178
178
|
|
|
179
179
|
## Your Role
|
|
180
180
|
You are a senior software engineer reviewing a JIRA task before implementation. Your job is to assess whether the task description provides sufficient clarity for implementation.
|
|
@@ -182,31 +182,31 @@ You are a senior software engineer reviewing a JIRA task before implementation.
|
|
|
182
182
|
## Task to Review
|
|
183
183
|
- **Key**: ${Q}
|
|
184
184
|
- **Summary**: ${z}
|
|
185
|
-
`;if(_.length>0)
|
|
186
|
-
`;if(
|
|
187
|
-
`;if(
|
|
185
|
+
`;if(_.length>0)O+=`- **Labels**: ${_.join(", ")}
|
|
186
|
+
`;if(j.length>0)O+=`- **Components**: ${j.join(", ")}
|
|
187
|
+
`;if(O+=`
|
|
188
188
|
## Task Description
|
|
189
|
-
`,J)
|
|
189
|
+
`,J)O+=this.convertHtmlToMarkdown(J,Z,Y,G)+`
|
|
190
190
|
|
|
191
|
-
`;else if(V)
|
|
191
|
+
`;else if(V)O+=this.convertAtlassianDocumentToText(V)+`
|
|
192
192
|
|
|
193
|
-
`;else
|
|
193
|
+
`;else O+=`*No description provided*
|
|
194
194
|
|
|
195
|
-
`;if(
|
|
195
|
+
`;if(U.length>0)O+=`## Linked Resources
|
|
196
196
|
|
|
197
|
-
`,
|
|
198
|
-
`,
|
|
199
|
-
`;break;case"issue_link":
|
|
200
|
-
`;break}}),
|
|
201
|
-
`;if(
|
|
197
|
+
`,U.forEach((A)=>{switch(A.type){case"custom_field_link":case"description_link":case"rich_text_link":if(O+=`- **${A.description}**: ${A.url}
|
|
198
|
+
`,A.field&&A.type==="custom_field_link")O+=` (from field: ${A.field})
|
|
199
|
+
`;break;case"issue_link":O+=`- **${A.linkType}**: ${A.issueKey} - ${A.summary}
|
|
200
|
+
`;break}}),O+=`
|
|
201
|
+
`;if(K&&K.length>0)O+=`## Related Work Items
|
|
202
202
|
|
|
203
|
-
`,
|
|
204
|
-
`}),
|
|
205
|
-
`;if(
|
|
203
|
+
`,K.forEach((A)=>{O+=`- **${A.linkType}**: ${A.key} - ${A.summary} (${A.status})
|
|
204
|
+
`}),O+=`
|
|
205
|
+
`;if(S.length>0)O+=`## Recent Comments
|
|
206
206
|
|
|
207
|
-
`,
|
|
207
|
+
`,S.slice(-3).forEach((L,v)=>{if(O+=`**${L.author}**: `,L.renderedBody)O+=this.convertHtmlToMarkdown(L.renderedBody,Z,Y,G);else if(L.body)O+=this.convertAtlassianDocumentToText(L.body);O+=`
|
|
208
208
|
|
|
209
|
-
`});return
|
|
209
|
+
`});return O+=`## Assessment Instructions
|
|
210
210
|
|
|
211
211
|
Please assess this task for basic implementation feasibility. Respond with a JSON object containing:
|
|
212
212
|
|
|
@@ -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
|
-
`,
|
|
258
|
+
`,O}static saveClarityAssessment($,Z,Y,G){let Q=this.formatClarityAssessment($,Y,G,Z);return qG(Z,Q,"utf8"),Z}}class v0{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=[],_="",
|
|
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 u6{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
|
-
`)}}class
|
|
272
|
-
`)}}import{spawn as
|
|
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
|
|
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
|
|
275
|
-
⚠️ Configuration folder already exists: ${$}`),
|
|
276
|
-
\uD83D\uDCA1 To reconfigure, either:`),console.log(` 1. Delete the folder: rm -rf ${$}`),console.log(" 2. Or edit the files directly");return}try{
|
|
269
|
+
`),z=[],J=!1,V=[],_="",j=()=>{if(z.length>0){let K=z.join(" ").trim();if(K)G.push({type:"paragraph",content:v0.parseTextWithFormatting(K)});z=[]}},U=()=>{if(V.length>0)G.push({type:"codeBlock",attrs:{language:_||"text"},content:[{type:"text",text:V.join(`
|
|
270
|
+
`)}]}),V=[],_=""};for(let K=0;K<Q.length;K++){let S=Q[K],B=S.trim();if(B.startsWith("```")){if(J)U(),J=!1;else j(),J=!0,_=B.substring(3).trim();continue}if(J){V.push(S);continue}if(B.startsWith("#")){j();let O=Math.min(6,(B.match(/^#+/)||[""])[0].length),A=B.replace(/^#+\s*/,"");G.push({type:"heading",attrs:{level:O},content:[{type:"text",text:A}]});continue}if(B.match(/^[-*+]\s/)){j();let O=[],A=K;while(A<Q.length&&Q[A].trim().match(/^[-*+]\s/)){let L=Q[A].trim().replace(/^[-*+]\s/,"");O.push({type:"listItem",content:[{type:"paragraph",content:v0.parseTextWithFormatting(L)}]}),A++}G.push({type:"bulletList",content:O}),K=A-1;continue}if(B.match(/^\d+\.\s/)){j();let O=[],A=K;while(A<Q.length&&Q[A].trim().match(/^\d+\.\s/)){let L=Q[A].trim().replace(/^\d+\.\s/,"");O.push({type:"listItem",content:[{type:"paragraph",content:v0.parseTextWithFormatting(L)}]}),A++}G.push({type:"orderedList",content:O}),K=A-1;continue}if(B.includes("|")){j();let O=[],A=K;while(A<Q.length&&Q[A].trim().includes("|")){let L=Q[A].trim();if(!L.match(/^\|[\s\-:|]+\|$/))O.push(L);A++}if(O.length>0){let L=v0.parseMarkdownTable(O);if(L)G.push(L)}K=A-1;continue}if(B===""){j();continue}z.push(S)}return j(),U(),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 parseMarkdownTable($){if($.length===0)return null;let Z=(J)=>{return J.trim().replace(/^\|/,"").replace(/\|$/,"").split("|").map((_)=>_.trim())},Y=Z($[0]),G=Y.length,Q={type:"tableRow",content:Y.map((J)=>({type:"tableHeader",attrs:{},content:[{type:"paragraph",content:v0.parseTextWithFormatting(J)}]}))},z=$.slice(1).map((J)=>{let V=Z(J);while(V.length<G)V.push("");return{type:"tableRow",content:V.slice(0,G).map((_)=>({type:"tableCell",attrs:{},content:[{type:"paragraph",content:v0.parseTextWithFormatting(_)}]}))}});return{type:"table",attrs:{isNumberColumnEnabled:!1,layout:"default"},content:[Q,...z]}}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=v0.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}static createIncompleteImplementationCommentADF($,Z){let Y=[{type:"heading",attrs:{level:3},content:[{type:"emoji",attrs:{shortName:":warning:",id:"26a0-fe0f",text:"⚠️"}},{type:"text",text:" Implementation Incomplete"}]}];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:"Claude was unable to complete the implementation. This may indicate:"}]}),Y.push({type:"bulletList",content:[{type:"listItem",content:[{type:"paragraph",content:[{type:"text",text:"The task requirements need more clarity or detail"}]}]},{type:"listItem",content:[{type:"paragraph",content:[{type:"text",text:"Missing context or related information"}]}]},{type:"listItem",content:[{type:"paragraph",content:[{type:"text",text:"The task scope is too large and should be broken down"}]}]},{type:"listItem",content:[{type:"paragraph",content:[{type:"text",text:"Technical blockers or errors during execution"}]}]}]}),Y.push({type:"paragraph",content:[{type:"text",text:"Implementation Attempt Details:",marks:[{type:"strong"}]}]});let G=v0.formatClaudeOutputToADF($);return Y.push(...G),Y.push({type:"panel",attrs:{panelType:"warning"},content:[{type:"paragraph",content:[{type:"text",text:"Action Required: ",marks:[{type:"strong"}]},{type:"text",text:"Please review the output above, update the task description with more details if needed, and retry the implementation."}]}]}),Y}}import{writeFileSync as UG,mkdirSync as IG}from"fs";import d6 from"path";class i6{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}}isClaudeInternComment($){let Z="";if($.renderedBody)Z=$.renderedBody;else if(typeof $.body==="string"&&$.body.length>0)Z=$.body;else if($.body&&typeof $.body==="object"&&"content"in $.body)Z=JSON.stringify($.body);return["Implementation Completed by Claude","Automated Task Feasibility Assessment","Implementation Incomplete"].some((G)=>Z.includes(G))}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}`),[];let Y=Z.comments||[],G=Y.filter((z)=>!this.isClaudeInternComment(z)),Q=Y.length-G.length;if(Q>0)console.log(`\uD83D\uDD0D Filtered out ${Q} Claude Intern comment(s) from ${$}`);return G}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}...`),IG(Z,{recursive:!0});let Y=$.filename.replace(/[^a-zA-Z0-9._-]/g,"_"),G=d6.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 UG(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 j=_[1],U=V.replace("/content/","/"),K=await fetch(U,{headers:{Authorization:this.getAuthHeader()}});if(!K.ok){console.warn(`Failed to fetch attachment metadata for ${j}`);continue}let S=await K.json(),B={id:j,filename:S.filename||`attachment-${j}`,content:V,size:S.size||0,mimeType:S.mimeType||"application/octet-stream",created:S.created||new Date().toISOString(),author:S.author||{displayName:"Unknown"}},O=await this.downloadAttachment(B,Z);G.set(V,O),console.log(`✅ Downloaded embedded attachment: ${S.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 C0.extractLinkedResources($)}async getRelatedWorkItems($){return C0.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:v0.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:v0.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}}async postIncompleteImplementationComment($,Z,Y,G){try{console.log(`\uD83D\uDCAC Posting incomplete implementation comment to issue ${$}...`);let z={body:{type:"doc",version:1,content:v0.createIncompleteImplementationCommentADF(Z,Y)}};if(await this.jiraApiCall("POST",`/rest/api/3/issue/${$}/comment`,z),console.log(`✅ Successfully posted incomplete implementation comment to ${$}`),G)try{let J=process.env.CLAUDE_INTERN_OUTPUT_DIR||"/tmp/claude-intern-tasks",V=d6.join(J,$.toLowerCase()),_=d6.join(V,"incomplete-task-description.txt");IG(V,{recursive:!0}),UG(_,G,"utf8")}catch(J){console.warn(`⚠️ Failed to save task description for duplicate detection: ${J}`)}}catch(Q){throw console.warn(`Failed to post incomplete implementation comment to ${$}: ${Q}`),Q}}async hasIncompleteImplementationComment($,Z){try{let Y=process.env.CLAUDE_INTERN_OUTPUT_DIR||"/tmp/claude-intern-tasks",G=d6.join(Y,$.toLowerCase()),Q=d6.join(G,"incomplete-task-description.txt"),{existsSync:z,readFileSync:J}=M0("fs");if(!z(Q))return!1;if(J(Q,"utf8")===Z)return(await this.getIssueComments($)).some((U)=>{let K="";if(typeof U.body==="string")K=U.body;else if(U.renderedBody)K=U.renderedBody;return K.includes("⚠️ Implementation Incomplete")||K.includes("Implementation was incomplete")});return!1}catch(Y){return console.warn(`Failed to check for duplicate comments: ${Y}`),!1}}formatIssueDetails($,Z,Y,G=[]){return C0.formatIssueDetails($,Z,Y,G)}}import{existsSync as r$,mkdirSync as pJ,readFileSync as uJ,writeFileSync as cJ,unlinkSync as n$}from"fs";import{resolve as dJ,join as iJ}from"path";class a${lockFilePath;lockAcquired=!1;constructor($=process.cwd()){let Z=dJ($,".claude-intern");if(!r$(Z))pJ(Z,{recursive:!0});this.lockFilePath=iJ(Z,".pid.lock")}acquire(){try{if(r$(this.lockFilePath))try{let Z=uJ(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..."),n$(this.lockFilePath)}catch(Z){console.log("⚠️ Found corrupted lock file, removing and continuing..."),n$(this.lockFilePath)}let $={pid:process.pid,timestamp:new Date().toISOString(),workingDir:process.cwd()};return cJ(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(r$(this.lockFilePath))n$(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 t${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
|
+
`)}}class FG extends t${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 DG extends t${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 e${githubClient;constructor(){let $=process.env.GITHUB_TOKEN;if($)this.githubClient=new FG($)}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 DG(_,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 lJ}from"child_process";import{existsSync as sJ,mkdirSync as oJ}from"fs";class g{static ensureDirectoryExists($){if(!sJ($))oJ($,{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 g.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-${g.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=lJ("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 g.executeGitCommand(["rev-parse","--git-dir"])).success}static async getCurrentBranch(){let $=await g.executeGitCommand(["branch","--show-current"]);return $.success?$.output:null}static async hasUncommittedChanges(){let $=await g.executeGitCommand(["status","--porcelain"]);return $.success&&$.output.length>0}static async commitChanges($,Z,Y){let G=Y?.verbose??!1;try{if(!await g.isGitRepository())return{success:!1,message:"Not in a git repository"};if(!await g.hasUncommittedChanges())return{success:!1,message:"No changes to commit"};let Q=await g.executeGitCommand(["add","."],{verbose:G});if(!Q.success)return{success:!1,message:`Failed to stage changes: ${Q.error}`};let z=`feat: implement ${$} - ${Z}`,J=await g.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 pullLatestChanges($,Z){let Y=Z?.verbose??!1;try{if(!await g.isGitRepository())return{success:!1,message:"Not in a git repository"};if(await g.hasUncommittedChanges())return{success:!1,message:"There are uncommitted changes. Please commit or stash them before pulling."};if(await g.getCurrentBranch()!==$){if(Y)console.log(`\uD83D\uDCE5 Switching to branch '${$}'...`);let z=await g.executeGitCommand(["checkout",$],{verbose:Y});if(!z.success)return{success:!1,message:`Failed to switch to branch '${$}': ${z.error}`}}if(Y)console.log(`\uD83D\uDCE5 Pulling latest changes for branch '${$}'...`);let Q=await g.executeGitCommand(["pull","origin",$],{verbose:Y});if(Q.success)return{success:!0,message:`Successfully pulled latest changes for '${$}'`};return{success:!1,message:`Failed to pull changes: ${Q.error}`}}catch(G){return{success:!1,message:`Git pull failed: ${G.message}`}}}static async getMainBranchName(){let $=await g.executeGitCommand(["symbolic-ref","refs/remotes/origin/HEAD"]);if($.success){let G=$.output.replace("refs/remotes/origin/","");if(G)return G}if((await g.executeGitCommand(["show-ref","--verify","--quiet","refs/heads/main"])).success)return"main";if((await g.executeGitCommand(["show-ref","--verify","--quiet","refs/heads/master"])).success)return"master";return"main"}static async pushCurrentBranch($){let Z=$?.verbose??!1;try{let Y=await g.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 g.executeGitCommand(["ls-remote","--heads","origin",Y],{verbose:Z}),Q;if(G.success&&G.output.trim()){if(Q=await g.executeGitCommand(["push","origin",Y],{verbose:Z}),Q.success)return{success:!0,message:`Successfully pushed '${Y}' to remote`}}else if(Q=await g.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 g.isGitRepository())return{success:!1,branchName:G,message:"Not in a git repository"};if(await g.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 g.getMainBranchName();if(await g.getCurrentBranch()!==z){let _=await g.executeGitCommand(["checkout",z]);if(!_.success&&!Z){let j=z==="main"?"master":"main";if((await g.executeGitCommand(["show-ref","--verify","--quiet",`refs/heads/${j}`])).success)console.log(`⚠️ Branch '${z}' not found, trying '${j}'...`),z=j,_=await g.executeGitCommand(["checkout",j])}if(!_.success)return{success:!1,branchName:G,message:`Failed to switch to ${z} branch: ${_.error}`}}while(!0){if(!(await g.executeGitCommand(["show-ref","--verify","--quiet",`refs/heads/${G}`])).success)break;Q++,G=`${Y}-attempt-${Q}`}let V=await g.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";var nJ=JSON.parse(V6(U0(__dirname,"..","package.json"),"utf8")),aJ=nJ.version;async function tJ(){let $=E0(process.cwd(),".claude-intern"),Z=U0($,".env"),Y=U0($,".env.sample");if(console.log("\uD83D\uDE80 Initializing Claude Intern for this project..."),a0($)){if(console.log(`
|
|
275
|
+
⚠️ Configuration folder already exists: ${$}`),a0(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{RG($,{recursive:!0}),console.log(`✅ Created configuration folder: ${$}`)}catch(j){console.error(`❌ Failed to create configuration folder: ${j}`),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,84 +315,88 @@ 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{j1(Y,G,"utf8"),console.log(`✅ Created template file: ${Y}`)}catch(
|
|
319
|
-
`);if(
|
|
320
|
-
`))
|
|
321
|
-
`;j1(V,
|
|
322
|
-
`,"utf8"),console.log(`✅ Updated .gitignore to exclude ${
|
|
318
|
+
`;try{j1(Y,G,"utf8"),console.log(`✅ Created template file: ${Y}`)}catch(j){console.error(`❌ Failed to create .env.sample: ${j}`),process.exit(1)}try{j1(Z,G,"utf8"),console.log(`✅ Created configuration file: ${Z}`)}catch(j){console.error(`❌ Failed to create .env file: ${j}`),process.exit(1)}let Q=U0($,"settings.json"),J=JSON.stringify({projects:{"PROJECT-KEY":{inProgressStatus:"In Progress",todoStatus:"To Do",prStatus:"In Review"}}},null,2);try{j1(Q,J,"utf8"),console.log(`✅ Created settings file: ${Q}`)}catch(j){console.error(`❌ Failed to create settings.json: ${j}`),process.exit(1)}let V=U0(process.cwd(),".gitignore"),_=[".claude-intern/.env",".claude-intern/.env.local",".claude-intern/.pid.lock"];try{let j="",U=!1;if(a0(V))j=V6(V,"utf8"),U=!0;let K=_.filter((S)=>!j.includes(S));if(K.length>0){let S=["","# Claude Intern - Keep credentials secure",...K].join(`
|
|
319
|
+
`);if(j&&!j.endsWith(`
|
|
320
|
+
`))j+=`
|
|
321
|
+
`;j1(V,j+S+`
|
|
322
|
+
`,"utf8"),console.log(`✅ Updated .gitignore to exclude ${K.join(", ")}`)}else if(U)console.log("✅ .gitignore already excludes .claude-intern/.env")}catch(j){console.warn(`⚠️ Could not update .gitignore automatically: ${j}`),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
|
|
325
|
-
`)[0]}catch{return null}}function
|
|
326
|
-
Please ensure you have a .env file in one of these locations:`),console.error(` - Project-specific: ${
|
|
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 TG(){let $=E0(process.cwd(),".claude-intern","settings.json");if(!a0($))return null;try{let Z=V6($,"utf8");return JSON.parse(Z)}catch(Z){return console.warn(`⚠️ Failed to parse settings.json: ${Z}`),null}}function eJ($,Z){return Z?.projects?.[$]?.prStatus}function $V($,Z){return Z?.projects?.[$]?.inProgressStatus}function KG($,Z){return Z?.projects?.[$]?.todoStatus}function CG($){if($){let G=E0($);if(a0(G)){$9.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=[E0(process.cwd(),".claude-intern",".env"),E0(process.cwd(),".env"),E0(process.env.HOME||"~",".env"),E0(__dirname,"..",".env")],Y=!1;for(let G of Z)if(a0(G)){$9.config({path:G}),Y=!0;break}if(!Y){let G=E0(process.cwd(),".env");if(a0(G))$9.config({path:G})}}if(process.argv[2]==="init")(async()=>{await tJ(),process.exit(0)})();else CG();function AG($){try{let Y=process.platform==="win32"?"where":"which";return rJ(`${Y} ${$}`,{encoding:"utf8",stdio:"pipe"}).trim().split(`
|
|
325
|
+
`)[0]}catch{return null}}function EG($){let Z=$;if(!Z)Z=process.env.CLAUDE_CLI_PATH||"claude";if($&&$!=="claude"&&!$.includes("/")){let G=AG($);if(G)return G;return $}if(Z.startsWith("/")||Z.includes(":"))return Z;if(Z.includes("/")){let G=E0(process.cwd(),Z);if(a0(G))return G}let Y=AG(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(aJ).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",EG()).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 l=S6.opts(),OG=S6.args;if(l.envFile)CG(l.envFile);else if(l.verbose)console.log("⚠️ No .env file found in standard locations"),console.log(" Checked:"),[E0(process.cwd(),".claude-intern",".env"),E0(process.cwd(),".env"),E0(process.env.HOME||"~",".env"),E0(__dirname,"..",".env")].forEach((Z)=>console.log(` - ${Z}`));var l6=EG(l.claudePath);if(l.verbose)console.log(`\uD83E\uDD16 Claude CLI path resolved to: ${l6}`);function bG(){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: ${E0(process.cwd(),".claude-intern",".env")}`),console.error(` - Current directory: ${E0(process.cwd(),".env")}`),console.error(` - Home directory: ${E0(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
|
|
329
|
-
|
|
330
|
-
\uD83D\
|
|
331
|
-
\uD83D\
|
|
332
|
-
\uD83D\
|
|
333
|
-
\
|
|
334
|
-
\
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
328
|
+
\uD83D\uDCA1 Quick start: Run 'claude-intern init' to create project-specific configuration`),process.exit(1)}async function ZV($,Z=0,Y=1){try{let G=Y>1?`[${Z+1}/${Y}] `:"";console.log(`${G}\uD83D\uDD0D Fetching JIRA task: ${$}`),bG();let Q=new i6(process.env.JIRA_BASE_URL,process.env.JIRA_EMAIL,process.env.JIRA_API_TOKEN);if(l.verbose)console.log("\uD83D\uDCE5 Fetching issue details...");let z=await Q.getIssue($),J=TG(),V=$.split("-")[0];if(l.claude&&!l.skipJiraComments){console.log("\uD83D\uDD0D Checking for previous incomplete implementation attempts...");let{JiraExtractor:T}=await Promise.resolve().then(() => e8),u=T.extractTextFromADF(z.fields?.description);if(await Q.hasIncompleteImplementationComment($,u)){if(console.log(`
|
|
329
|
+
⏭️ Skipping ${$} - incomplete implementation comment already exists`),console.log(" Task description hasn't changed since last incomplete attempt"),console.log(" Please update the task description with more details before retrying"),console.log(),Y>1)return;if(H0)H0.release();process.exit(0)}}if(l.verbose)console.log("\uD83D\uDCAC Fetching comments...");console.log("\uD83D\uDCAC Fetching comments...");let _=await Q.getIssueComments($);if(console.log(`✅ Successfully fetched ${_.length} comments`),l.verbose)console.log("\uD83D\uDD17 Extracting linked resources...");console.log("\uD83D\uDD17 Extracting linked resources...");let j=Q.extractLinkedResources(z);console.log(`✅ Successfully extracted ${j.length} linked resources`),console.log("\uD83D\uDD17 Fetching related work items...");let U=await Q.getRelatedWorkItems(z);console.log(`✅ Successfully fetched ${U.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 K;try{K=Q.formatIssueDetails(z,_,j,U),console.log("✅ Successfully formatted task details")}catch(T){throw console.error("❌ Error formatting task details:",T),T}if(console.log(`
|
|
330
|
+
\uD83D\uDCCB Task Summary:`),console.log(` Key: ${K.key}`),console.log(` Summary: ${K.summary}`),console.log(` Type: ${K.issueType}`),console.log(` Status: ${K.status}`),console.log(` Priority: ${K.priority||"Not specified"}`),console.log(` Assignee: ${K.assignee||"Unassigned"}`),j.length>0){if(console.log(` Linked Resources: ${j.length} found`),l.verbose)j.forEach((T)=>{if(T.url)console.log(` - ${T.description}: ${T.url}`);else if(T.issueKey)console.log(` - ${T.linkType}: ${T.issueKey}`)})}if(U.length>0){if(console.log(` Related Work Items: ${U.length} found`),l.verbose)U.forEach((T)=>{console.log(` - ${T.linkType}: ${T.key} - ${T.summary} (${T.status})`)})}if(_.length>0)console.log(` Comments: ${_.length} found`);let S=process.env.CLAUDE_INTERN_OUTPUT_DIR||"/tmp/claude-intern-tasks",B=U0(S,$.toLowerCase()),O="task-details.md";RG(B,{recursive:!0});let A=U0(B,O),L=U0(B,"attachments"),v;if(K.attachments.length>0)console.log(`
|
|
331
|
+
\uD83D\uDCCE Downloading ${K.attachments.length} direct attachments...`),v=await Q.downloadIssueAttachments($,L);else v=new Map;console.log(`
|
|
332
|
+
\uD83D\uDD0D Scanning content for embedded attachments...`);let P="";if(K.renderedDescription)P+=K.renderedDescription;if(K.comments.forEach((T)=>{if(T.renderedBody)P+=T.renderedBody}),U.forEach((T)=>{if(T.renderedDescription)P+=T.renderedDescription}),P)v=await Q.downloadAttachmentsFromContent(P,L,v);if(v.size>0)console.log(`✅ Downloaded ${v.size} total attachments to: ${L}`);if(console.log(`
|
|
333
|
+
\uD83D\uDCBE Saving formatted task details to: ${A}`),t8.saveFormattedTask(K,A,process.env.JIRA_BASE_URL,v),l.claude){if(l.git){console.log(`
|
|
334
|
+
\uD83C\uDF3F Creating feature branch...`);let T=await g.createFeatureBranch($,l.prTargetBranch);if(T.success)console.log(`✅ ${T.message}`);else if(T.message.includes("uncommitted changes")){if(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"'),H0)H0.release();process.exit(1)}else console.log(`⚠️ ${T.message}`),console.log("Continuing without creating a feature branch...")}if(!l.skipClarityCheck){console.log(`
|
|
335
|
+
\uD83D\uDD0D Running basic feasibility assessment...`),console.log(" (Checking for fundamental requirements only - technical details will be inferred from code)");let{tmpdir:T}=M0("os"),u=U0(T(),`clarity-${$.toLowerCase()}-${Date.now()}.md`);t8.saveClarityAssessment(K,u,process.env.JIRA_BASE_URL,v);try{let p=await GV(u,l6,$,Q,l.skipJiraComments);if(p&&!p.isImplementable)if(Y>1)console.log(`
|
|
336
|
+
⚠️ Task ${$} failed clarity assessment but continuing with batch processing...`);else{if(H0)H0.release();process.exit(1)}try{M0("fs").unlinkSync(u)}catch(m0){}}catch(p){console.warn("⚠️ Feasibility check failed, continuing with implementation:",p),console.log(" You can skip feasibility checks with --skip-clarity-check");try{M0("fs").unlinkSync(u)}catch(m0){}}}if(!l.skipJiraComments){let T=$V(V,J);if(T&&T.trim())try{console.log(`
|
|
337
|
+
\uD83D\uDD04 Transitioning ${$} to '${T}'...`),await Q.transitionIssue($,T.trim()),console.log(`✅ Task moved to '${T}'`)}catch(u){console.warn(`⚠️ Failed to transition task to '${T}': ${u.message}`),console.log(" Continuing with task processing...")}}console.log(`
|
|
338
|
+
\uD83E\uDD16 Running Claude with task details...`),await zV(A,l6,Number.parseInt(l.maxTurns),$,K.summary,l.git&&l.autoCommit,z,l.createPr,l.prTargetBranch,Q,l.skipJiraComments,Number.parseInt(l.hookRetries),J)}else console.log(`
|
|
339
|
+
✅ 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(` ${l6} -p --dangerously-skip-permissions --max-turns 10 < ${A.replace(".md","-clarity.md")}`),console.log(" 3. Run Claude:"),console.log(` ${l6} -p --dangerously-skip-permissions --max-turns ${l.maxTurns} < ${A}`),console.log(" 4. Commit changes:"),console.log(' git add . && git commit -m "feat: implement task"'),console.log(`
|
|
340
|
+
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}`),l.verbose&&Q.stack)console.error(Q.stack);if(Y>1)throw G;process.exit(1)}}var H0=null;async function YV(){try{H0=new a$;let $=H0.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)}if(bG(),l.git){console.log(`
|
|
341
|
+
\uD83D\uDCE5 Pulling latest changes from remote...`);let G=await g.pullLatestChanges(l.prTargetBranch,{verbose:l.verbose});if(G.success)console.log(`✅ ${G.message}`);else console.log(`⚠️ ${G.message}`),console.log(" Continuing without pulling latest changes..."),console.log(` You may want to pull manually before processing tasks.
|
|
342
|
+
`)}let Z=[];if(l.jql){console.log(`\uD83D\uDD0D Searching JIRA with JQL: ${l.jql}`);let Q=await new i6(process.env.JIRA_BASE_URL,process.env.JIRA_EMAIL,process.env.JIRA_API_TOKEN).searchIssues(l.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(OG.length>0)Z=OG,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 ZV(Q,G,Z.length),Y.successful++,G<Z.length-1)console.log(`
|
|
339
343
|
`+"=".repeat(80)),console.log(`⏭️ Moving to next task...
|
|
340
344
|
`)}catch(z){Y.failed++,Y.errors.push({taskKey:Q,error:z.message}),console.log(`⚠️ Continuing with remaining tasks...
|
|
341
345
|
`)}}if(Z.length>1){if(console.log(`
|
|
342
346
|
`+"=".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(
|
|
344
|
-
Please install Claude CLI or specify the correct path with --claude-path`));else J(new Error(`Failed to run Claude clarity check: ${
|
|
347
|
+
❌ Failed tasks:`),Y.errors.forEach(({taskKey:G,error:Q})=>{console.log(` - ${G}: ${Q}`)});if(Y.failed>0){if(H0)H0.release();process.exit(1)}}if(H0)H0.release()}catch($){let Z=$;if(console.error(`❌ Error: ${Z.message}`),l.verbose&&Z.stack)console.error(Z.stack);if(H0)H0.release();process.exit(1)}}async function GV($,Z,Y,G,Q=!1){return new Promise((z,J)=>{if(!a0($)){J(new Error(`Clarity assessment file not found: ${$}`));return}let V=V6($,"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 _="",j="",U=$Z(Z,["-p","--dangerously-skip-permissions","--max-turns","10"],{stdio:["pipe","pipe","pipe"]});if(U.stdout)U.stdout.on("data",(K)=>{_+=K.toString()});if(U.stderr)U.stderr.on("data",(K)=>{j+=K.toString()});if(U.on("error",(K)=>{if(K.code==="ENOENT")J(new Error(`Claude CLI not found at: ${Z}
|
|
348
|
+
Please install Claude CLI or specify the correct path with --claude-path`));else J(new Error(`Failed to run Claude clarity check: ${K.message}`))}),U.on("close",async(K)=>{if(K===0)try{let S=QV(_);try{let B=process.env.CLAUDE_INTERN_OUTPUT_DIR||"/tmp/claude-intern-tasks",O=U0(B,Y.toLowerCase()),A=U0(O,"feasibility-assessment.md"),L=`# Feasibility Assessment Results
|
|
345
349
|
|
|
346
|
-
`;if(L+=`**Status**: ${
|
|
347
|
-
`,L+=`**Clarity Score**: ${
|
|
350
|
+
`;if(L+=`**Status**: ${S.isImplementable?"✅ Implementable":"❌ Not Implementable"}
|
|
351
|
+
`,L+=`**Clarity Score**: ${S.clarityScore}/10
|
|
348
352
|
|
|
349
353
|
`,L+=`## Summary
|
|
350
354
|
|
|
351
|
-
${
|
|
355
|
+
${S.summary}
|
|
352
356
|
|
|
353
|
-
`,
|
|
357
|
+
`,S.issues.length>0)L+=`## Issues
|
|
354
358
|
|
|
355
|
-
`,
|
|
359
|
+
`,S.issues.forEach((v)=>{let P=v.severity==="critical"?"\uD83D\uDD34":v.severity==="major"?"\uD83D\uDFE1":"\uD83D\uDD35";L+=`### ${P} ${v.category} (${v.severity})
|
|
356
360
|
|
|
357
|
-
`,L+=`${
|
|
361
|
+
`,L+=`${v.description}
|
|
358
362
|
|
|
359
|
-
`});if(
|
|
363
|
+
`});if(S.recommendations.length>0)L+=`## Recommendations
|
|
360
364
|
|
|
361
|
-
`,
|
|
365
|
+
`,S.recommendations.forEach((v,P)=>{L+=`${P+1}. ${v}
|
|
362
366
|
`}),L+=`
|
|
363
367
|
`;L+=`## Raw JSON
|
|
364
368
|
|
|
365
369
|
\`\`\`json
|
|
366
|
-
${JSON.stringify(
|
|
370
|
+
${JSON.stringify(S,null,2)}
|
|
367
371
|
\`\`\`
|
|
368
|
-
`,j1(
|
|
369
|
-
\uD83D\uDCBE Saved feasibility assessment to: ${
|
|
370
|
-
✅ Task feasibility assessment passed`),console.log(`\uD83D\uDCCA Clarity Score: ${
|
|
371
|
-
\uD83D\uDCAC Posting feasibility assessment to JIRA...`),await
|
|
372
|
+
`,j1(A,L,"utf8"),console.log(`
|
|
373
|
+
\uD83D\uDCBE Saved feasibility assessment to: ${A}`)}catch(B){console.warn(`⚠️ Failed to save feasibility assessment: ${B}`)}if(S.isImplementable){if(console.log(`
|
|
374
|
+
✅ Task feasibility assessment passed`),console.log(`\uD83D\uDCCA Clarity Score: ${S.clarityScore}/10 (threshold: 4/10)`),console.log(`\uD83D\uDCDD Summary: ${S.summary}`),S.clarityScore<7)console.log("\uD83D\uDCA1 Note: Some details may need to be inferred from existing codebase");if(!Q)console.log(`
|
|
375
|
+
\uD83D\uDCAC Posting feasibility assessment to JIRA...`),await MG(G,Y,S);else console.log(`
|
|
372
376
|
⏭️ Skipping feasibility assessment JIRA comment (--skip-jira-comments)`)}else{if(console.log(`
|
|
373
|
-
❌ Task feasibility assessment failed`),console.log(`\uD83D\uDCCA Clarity Score: ${
|
|
374
|
-
\uD83D\uDEA8 Critical issues identified:`),
|
|
375
|
-
\uD83D\uDCA1 Recommendations:`),
|
|
377
|
+
❌ Task feasibility assessment failed`),console.log(`\uD83D\uDCCA Clarity Score: ${S.clarityScore}/10 (threshold: 4/10)`),console.log(`\uD83D\uDCDD Summary: ${S.summary}`),S.issues.length>0)console.log(`
|
|
378
|
+
\uD83D\uDEA8 Critical issues identified:`),S.issues.forEach((B)=>{let O=B.severity==="critical"?"\uD83D\uDD34":B.severity==="major"?"\uD83D\uDFE1":"\uD83D\uDD35";console.log(` ${O} ${B.category}: ${B.description}`)});if(S.recommendations.length>0)console.log(`
|
|
379
|
+
\uD83D\uDCA1 Recommendations:`),S.recommendations.forEach((B,O)=>{console.log(` ${O+1}. ${B}`)});if(!Q)await MG(G,Y,S);else console.log(`
|
|
376
380
|
⏭️ 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(
|
|
378
|
-
\uD83D\uDCBE Saved failed assessment output to: ${
|
|
381
|
+
\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(S)}catch(S){console.warn("Failed to parse clarity assessment response:",S),console.log("Raw Claude output:",_);try{let B=process.env.CLAUDE_INTERN_OUTPUT_DIR||"/tmp/claude-intern-tasks",O=U0(B,Y.toLowerCase()),A=U0(O,"feasibility-assessment-failed.txt");j1(A,_,"utf8"),console.log(`
|
|
382
|
+
\uD83D\uDCBE Saved failed assessment output to: ${A}`)}catch(B){console.warn(`⚠️ Failed to save assessment output: ${B}`)}if(_.includes("Reached max turns")||_.includes("max-turns"))if(console.log(`
|
|
379
383
|
⚠️ 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
|
-
`);try{await
|
|
384
|
+
`);try{await LG(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
385
|
`);else if(console.log(`
|
|
382
386
|
⚠️ Could not parse clarity assessment response`),!Q){console.log(` Will attempt to proceed with implementation but posting failure to JIRA...
|
|
383
|
-
`);try{await
|
|
384
|
-
`);z(null)}else J(new Error(`Claude clarity check exited with code ${
|
|
387
|
+
`);try{await LG(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)...
|
|
388
|
+
`);z(null)}else J(new Error(`Claude clarity check exited with code ${K}`))}),U.stdin)U.stdin.write(V),U.stdin.end()})}function QV($){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 SG($,Z,Y){try{await new i6(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 LG($,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 MG($,Z,Y){try{await $.postClarityComment(Z,Y)}catch(G){console.warn("Failed to post clarity comment to JIRA:",G)}}function PG($,Z,Y,G,Q){try{let z=process.env.CLAUDE_INTERN_OUTPUT_DIR||"/tmp/claude-intern-tasks",J=U0(z,$.toLowerCase()),V=U0(J,"git-hook-errors.log"),_=new Date().toISOString(),j=Q?"FIXED":"FAILED",U=`
|
|
385
389
|
${"=".repeat(80)}
|
|
386
390
|
Timestamp: ${_}
|
|
387
391
|
Hook Type: ${Z}
|
|
388
392
|
Attempt: ${Y}
|
|
389
|
-
Status: ${
|
|
393
|
+
Status: ${j}
|
|
390
394
|
Error:
|
|
391
395
|
${G}
|
|
392
396
|
${"=".repeat(80)}
|
|
393
|
-
`,
|
|
397
|
+
`,K=a0(V)?V6(V,"utf8"):`# Git Hook Errors Log
|
|
394
398
|
|
|
395
|
-
`;j1(V,
|
|
399
|
+
`;j1(V,K+U,"utf8"),console.log(`\uD83D\uDCBE Hook error logged to: ${V}`)}catch(z){console.warn(`⚠️ Failed to save hook error to file: ${z}`)}}async function wG($,Z,Y){return new Promise((G)=>{console.log(`
|
|
396
400
|
\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
401
|
|
|
398
402
|
The git ${$} operation has failed, likely due to pre-${$} hooks checking code quality.
|
|
@@ -429,35 +433,37 @@ The git ${$} operation has failed, likely due to pre-${$} hooks checking code qu
|
|
|
429
433
|
- Do not modify unrelated code
|
|
430
434
|
- Ensure all tests pass if the hook runs tests
|
|
431
435
|
- Follow the project's coding standards and conventions
|
|
432
|
-
${$==="push"?"- Make sure to amend the commit so the fixes are included in the push":""}
|
|
433
|
-
`,_="",
|
|
434
|
-
\uD83D\uDD0D Claude completed - verifying the fix actually worked...`);try{let
|
|
435
|
-
❌ Claude exited with code ${
|
|
436
|
-
`+"=".repeat(60));let
|
|
437
|
-
Please install Claude CLI or specify the correct path with --claude-path`));else
|
|
438
|
-
`+"=".repeat(60)),
|
|
439
|
-
\uD83D\uDCBE Saved incomplete implementation to: ${
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
436
|
+
${$==="push"?"- Make sure to amend the commit (git commit --amend --no-edit) so the fixes are included in the push":""}
|
|
437
|
+
`,_="",j="",U=$Z(Z,["-p","--dangerously-skip-permissions","--max-turns",Y.toString()],{stdio:["pipe","pipe","pipe"]});if(U.stdout)U.stdout.on("data",(K)=>{let S=K.toString();_+=S,process.stdout.write(S)});if(U.stderr)U.stderr.on("data",(K)=>{let S=K.toString();j+=S,process.stderr.write(S)});if(U.on("error",(K)=>{console.error(`❌ Failed to run Claude for git hook fix: ${K.message}`),G(!1)}),U.on("close",async(K)=>{if(K===0){console.log(`
|
|
438
|
+
\uD83D\uDD0D Claude completed - verifying the fix actually worked...`);try{let S=await g.executeGitCommand(["status","--porcelain"]);if($==="commit")if(S.success&&S.output.trim()==="")console.log("✅ Verification successful - commit completed successfully!"),G(!0);else{console.log("⚠️ Claude fixed the code but didn't commit - committing manually..."),console.log(` Changes: ${S.output}`);let B=await g.executeGitCommand(["add","."]);if(!B.success){console.log("❌ Failed to stage changes:"),console.log(` ${B.error}`),G(!1);return}let O=await g.executeGitCommand(["commit","--no-verify"]);if(O.success)console.log("✅ Successfully committed changes manually!"),G(!0);else console.log("❌ Failed to commit changes:"),console.log(` ${O.error}`),G(!1)}else{let B=await g.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("⚠️ Claude fixed the code but didn't amend - amending manually...");let O=await g.executeGitCommand(["status","--porcelain"]);if(O.success&&O.output.trim()!==""){let A=await g.executeGitCommand(["add","."]);if(!A.success){console.log("❌ Failed to stage changes:"),console.log(` ${A.error}`),G(!1);return}let L=await g.executeGitCommand(["commit","--amend","--no-edit","--no-verify"]);if(L.success){console.log("✅ Successfully amended commit manually!");let v=await g.executeGitCommand(["push","origin","HEAD","--dry-run"]);if(v.success)console.log("✅ Verification successful - ready to push!"),G(!0);else console.log("❌ Push would still fail after amend:"),console.log(` ${v.error||v.output}`),G(!1)}else console.log("❌ Failed to amend commit:"),console.log(` ${L.error}`),G(!1)}else console.log("❌ Push dry-run failed but no uncommitted changes to amend:"),console.log(` ${B.error||B.output}`),G(!1)}}}catch(S){console.log(`❌ Could not verify fix: ${S}`),G(!1)}}else console.log(`
|
|
439
|
+
❌ Claude exited with code ${K} while fixing git hook errors`),G(!1)}),U.stdin)U.stdin.write(V),U.stdin.end()})}async function zV($,Z,Y=25,G,Q,z=!0,J,V=!1,_="main",j,U=!1,K=10,S=null){return new Promise((B,O)=>{if(!a0($)){O(new Error(`Task file not found: ${$}`));return}let A=TG(),L=V6($,"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(`
|
|
440
|
+
`+"=".repeat(60));let v="",P="",T=$Z(Z,["-p","--dangerously-skip-permissions","--max-turns",Y.toString()],{stdio:["pipe","pipe","pipe"]});if(T.stdout)T.stdout.on("data",(u)=>{let p=u.toString();P+=p,process.stdout.write(p)});if(T.stderr)T.stderr.on("data",(u)=>{let p=u.toString();v+=p,process.stderr.write(p)});if(T.on("error",(u)=>{if(u.code==="ENOENT")O(new Error(`Claude CLI not found at: ${Z}
|
|
441
|
+
Please install Claude CLI or specify the correct path with --claude-path`));else O(new Error(`Failed to run Claude: ${u.message}`))}),T.on("close",async(u)=>{if(console.log(`
|
|
442
|
+
`+"=".repeat(60)),v.includes("Reached max turns")||v.includes("max turns reached")||v.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"),G&&P.trim())try{let y0=process.env.CLAUDE_INTERN_OUTPUT_DIR||"/tmp/claude-intern-tasks",L0=U0(y0,G.toLowerCase()),I0=U0(L0,"implementation-summary-incomplete.md");if(j1(I0,P,"utf8"),console.log(`
|
|
443
|
+
\uD83D\uDCBE Saved incomplete implementation to: ${I0}`),j&&!U&&J)try{let{JiraExtractor:F}=LZ(e8),s=F.extractTextFromADF(J.fields?.description);await j.postIncompleteImplementationComment(G,P,Q,s)}catch(F){console.warn(`⚠️ Failed to post incomplete implementation comment to JIRA: ${F}`)}if(j&&!U&&G&&A){let F=G.split("-")[0],s=KG(F,A);if(s&&s.trim())try{console.log(`
|
|
444
|
+
\uD83D\uDD04 Moving ${G} back to '${s}' due to max turns reached...`),await j.transitionIssue(G,s.trim()),console.log(`✅ Task moved to '${s}'`)}catch(b0){console.warn(`⚠️ Failed to transition task to '${s}': ${b0.message}`)}}}catch(y0){console.warn(`⚠️ Failed to save implementation summary: ${y0}`)}console.log(`
|
|
445
|
+
⏭️ Skipping commit and moving to next task (if any)...`),B();return}let m0=v.includes("Error:")&&!v.includes("Reached max turns"),t0=/I (?:was unable to|cannot|could not|failed to)/i.test(P)||P.includes("implementation was unsuccessful")||P.includes("failed to implement")||P.includes("I apologize, but I");if(u===0){let y0=P.trim().length<100,L0=m0||t0||y0;if(G&&P.trim())try{let I0=process.env.CLAUDE_INTERN_OUTPUT_DIR||"/tmp/claude-intern-tasks",F=U0(I0,G.toLowerCase()),s=U0(F,L0?"implementation-summary-incomplete.md":"implementation-summary.md");j1(s,P,"utf8"),console.log(`
|
|
446
|
+
\uD83D\uDCBE Saved implementation summary to: ${s}`)}catch(I0){console.warn(`⚠️ Failed to save implementation summary: ${I0}`)}if(L0){if(console.log("⚠️ Claude execution completed but appears to be incomplete or failed"),console.log(" Check the output above for specific issues"),console.log(`
|
|
447
|
+
⏭️ Skipping commit and moving to next task (if any)...`),j&&!U&&G&&P.trim()&&J)try{let{JiraExtractor:I0}=LZ(e8),F=I0.extractTextFromADF(J.fields?.description);await j.postIncompleteImplementationComment(G,P,Q,F)}catch(I0){console.warn(`⚠️ Failed to post incomplete implementation comment to JIRA: ${I0}`)}if(j&&!U&&G&&A){let I0=G.split("-")[0],F=KG(I0,A);if(F&&F.trim())try{console.log(`
|
|
448
|
+
\uD83D\uDD04 Moving ${G} back to '${F}' due to incomplete implementation...`),await j.transitionIssue(G,F.trim()),console.log(`✅ Task moved to '${F}'`)}catch(s){console.warn(`⚠️ Failed to transition task to '${F}': ${s.message}`)}}B();return}else console.log("✅ Claude execution completed successfully");if(z&&G&&Q)console.log(`
|
|
449
|
+
\uD83D\uDCDD Committing changes...`),(async()=>{let F=0;while(F<=K){F++;let s=await g.commitChanges(G,Q,{verbose:l.verbose});if(s.success)return console.log(`✅ ${s.message}`),{success:!0,result:s};if(s.hookError&&F<=K){console.log(`
|
|
450
|
+
⚠️ Git hook failed (attempt ${F}/${K+1})`);let b0=await wG("commit",Z,Y);if(PG(G,"commit",F,s.hookError,b0),b0){console.log(`
|
|
445
451
|
\uD83D\uDD04 Retrying commit after Claude fixed the issues...`);continue}else return console.log(`
|
|
446
|
-
❌ Could not fix git hook errors automatically`),{success:!1,result:
|
|
447
|
-
❌ Max retries (${
|
|
448
|
-
\uD83D\uDCE4 Pushing branch to remote...`),(await(async()=>{let
|
|
449
|
-
⚠️ Git pre-push hook failed (attempt ${
|
|
452
|
+
❌ Could not fix git hook errors automatically`),{success:!1,result:s}}else{if(F>K)console.log(`
|
|
453
|
+
❌ Max retries (${K}) exceeded for git hook fixes`);return console.log(`⚠️ ${s.message}`),{success:!1,result:s}}}return{success:!1,result:{message:"Max retries exceeded"}}})().then(async({success:F})=>{if(!F){console.log('You can commit changes manually with: git add . && git commit -m "feat: implement task"'),B();return}if(V&&J)if(console.log(`
|
|
454
|
+
\uD83D\uDCE4 Pushing branch to remote...`),(await(async()=>{let q=0;while(q<=K){q++;let k=await g.pushCurrentBranch({verbose:l.verbose});if(k.success)return console.log(`✅ ${k.message}`),{success:!0,result:k};if(k.hookError&&q<=K){console.log(`
|
|
455
|
+
⚠️ Git pre-push hook failed (attempt ${q}/${K+1})`);let x0=await wG("push",Z,Y);if(PG(G,"push",q,k.hookError,x0),x0){console.log(`
|
|
450
456
|
\uD83D\uDD04 Retrying push after Claude fixed and amended the commit...`);continue}else return console.log(`
|
|
451
|
-
❌ Could not fix git pre-push hook errors automatically`),{success:!1,result:
|
|
452
|
-
❌ Max retries (${
|
|
453
|
-
\uD83D\uDCAC Posting implementation summary to JIRA...`),await
|
|
457
|
+
❌ Could not fix git pre-push hook errors automatically`),{success:!1,result:k}}else{if(q>K)console.log(`
|
|
458
|
+
❌ Max retries (${K}) exceeded for git hook fixes`);return console.log(`⚠️ ${k.message}`),{success:!1,result:k}}}return{success:!1,result:{message:"Max retries exceeded"}}})()).success){if(G&&P.trim()&&!U)try{console.log(`
|
|
459
|
+
\uD83D\uDCAC Posting implementation summary to JIRA...`),await SG(G,P,Q)}catch(q){console.warn(`⚠️ Failed to post implementation comment to JIRA: ${q}`),console.log(" Push succeeded, but JIRA comment failed")}else if(U&&G)console.log(`
|
|
454
460
|
⏭️ Skipping JIRA comment posting (--skip-jira-comments)`);console.log(`
|
|
455
|
-
\uD83D\uDD00 Creating pull request...`);try{let
|
|
456
|
-
\uD83D\uDD04 Transitioning JIRA status after PR creation...`),await
|
|
457
|
-
⏭️ Skipping JIRA status transition (--skip-jira-comments)`)}else console.log(`⚠️ PR creation failed: ${
|
|
458
|
-
\uD83D\uDCAC Posting implementation summary to JIRA...`),await
|
|
459
|
-
⏭️ Skipping JIRA comment posting (--skip-jira-comments)`);
|
|
461
|
+
\uD83D\uDD00 Creating pull request...`);try{let q=new e$,k=await g.getCurrentBranch();if(k){let x0=await q.createPullRequest(J,k,_,P);if(x0.success){if(console.log(`✅ Pull request created: ${x0.url}`),G&&j&&!U){let c1=G.split("-")[0],h0=eJ(c1,A);if(h0&&h0.trim())try{console.log(`
|
|
462
|
+
\uD83D\uDD04 Transitioning JIRA status after PR creation...`),await j.transitionIssue(G,h0.trim())}catch(d1){console.warn(`⚠️ Failed to transition JIRA status: ${d1.message}`),console.log(" PR was created successfully, but status transition failed")}}else if(U)console.log(`
|
|
463
|
+
⏭️ Skipping JIRA status transition (--skip-jira-comments)`)}else console.log(`⚠️ PR creation failed: ${x0.message}`)}else console.log("⚠️ Could not determine current branch for PR creation")}catch(q){console.log(`⚠️ PR creation failed: ${q.message}`)}}else console.log(" Cannot create PR without pushing branch to remote");else if(G&&P.trim()&&!U)try{console.log(`
|
|
464
|
+
\uD83D\uDCAC Posting implementation summary to JIRA...`),await SG(G,P,Q)}catch(s){console.warn(`⚠️ Failed to post implementation comment to JIRA: ${s}`),console.log(" Commit succeeded, but JIRA comment failed")}else if(U&&G)console.log(`
|
|
465
|
+
⏭️ Skipping JIRA comment posting (--skip-jira-comments)`);B()}).catch((F)=>{console.log(`⚠️ Failed to commit changes: ${F.message}`),console.log('You can commit changes manually with: git add . && git commit -m "feat: implement task"'),B()});else B()}else console.log(`❌ Claude exited with non-zero code ${u}`),console.log(" No JIRA comment will be posted due to execution failure"),O(new Error(`Claude exited with code ${u}`))}),T.stdin)T.stdin.write(L),T.stdin.end()})}process.on("unhandledRejection",($)=>{if(console.error("❌ Unhandled error:",$.message),l.verbose&&$.stack)console.error($.stack);if(H0)H0.release();process.exit(1)});process.on("SIGINT",()=>{if(console.log(`
|
|
460
466
|
|
|
461
|
-
⚠️ Received SIGINT (Ctrl+C), cleaning up...`),
|
|
467
|
+
⚠️ Received SIGINT (Ctrl+C), cleaning up...`),H0)H0.release();process.exit(130)});process.on("SIGTERM",()=>{if(console.log(`
|
|
462
468
|
|
|
463
|
-
⚠️ Received SIGTERM, cleaning up...`),
|
|
469
|
+
⚠️ Received SIGTERM, cleaning up...`),H0)H0.release();process.exit(143)});process.on("uncaughtException",($)=>{if(console.error("❌ Uncaught exception:",$.message),$.stack)console.error($.stack);if(H0)H0.release();process.exit(1)});if(M0.main==M0.module)if(process.argv[2]==="init");else YV();export{YV as main,i6 as JiraClient,t8 as ClaudeFormatter};
|