From 8801abade131aed3d384d2effd3c32a25ecb9116 Mon Sep 17 00:00:00 2001 From: sehugg Date: Fri, 14 Aug 2026 14:19:43 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20sehugg/8?= =?UTF-8?q?bitworkshop@1de2f59c5f8b8dde1f9b4a57d041f77ce0a0fd64=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gen/{basic-PK5EZNKZ.js => basic-LUSVDNZT.js} | 4 ++-- gen/{basic-PK5EZNKZ.js.map => basic-LUSVDNZT.js.map} | 0 gen/{chunk-QJ2HNUY6.js => chunk-C4IRIAIT.js} | 4 ++-- gen/{chunk-QJ2HNUY6.js.map => chunk-C4IRIAIT.js.map} | 0 gen/{chunk-YR3X22FA.js => chunk-TRTSRC5W.js} | 6 +++--- gen/{chunk-YR3X22FA.js.map => chunk-TRTSRC5W.js.map} | 4 ++-- gen/{devel-2E5ESN4D.js => devel-N43ACC37.js} | 4 ++-- gen/{devel-2E5ESN4D.js.map => devel-N43ACC37.js.map} | 0 gen/embedui.js | 2 +- gen/ide/views/editors.js | 8 +++----- gen/ide/views/editors.js.map | 2 +- gen/ui.js | 2 +- src/ide/views/editors.ts | 9 ++++----- 13 files changed, 21 insertions(+), 24 deletions(-) rename gen/{basic-PK5EZNKZ.js => basic-LUSVDNZT.js} (99%) rename gen/{basic-PK5EZNKZ.js.map => basic-LUSVDNZT.js.map} (100%) rename gen/{chunk-QJ2HNUY6.js => chunk-C4IRIAIT.js} (97%) rename gen/{chunk-QJ2HNUY6.js.map => chunk-C4IRIAIT.js.map} (100%) rename gen/{chunk-YR3X22FA.js => chunk-TRTSRC5W.js} (99%) rename gen/{chunk-YR3X22FA.js.map => chunk-TRTSRC5W.js.map} (97%) rename gen/{devel-2E5ESN4D.js => devel-N43ACC37.js} (95%) rename gen/{devel-2E5ESN4D.js.map => devel-N43ACC37.js.map} (100%) diff --git a/gen/basic-PK5EZNKZ.js b/gen/basic-LUSVDNZT.js similarity index 99% rename from gen/basic-PK5EZNKZ.js rename to gen/basic-LUSVDNZT.js index 8d386651..6157ebb5 100644 --- a/gen/basic-PK5EZNKZ.js +++ b/gen/basic-LUSVDNZT.js @@ -1,4 +1,4 @@ -import{b as S}from"./chunk-3FIVEUG2.js";import{s as E}from"./chunk-YR3X22FA.js";import"./chunk-MLM7TUHJ.js";import"./chunk-LNOKARBD.js";import"./chunk-A7SWO6EA.js";import"./chunk-QJ2HNUY6.js";import"./chunk-H6N7O6L2.js";import{B as c,K as f,T as d,U as v,a as g}from"./chunk-H3X4EDTW.js";import"./chunk-KT7KMEQC.js";function k(u){return u.value!=null}function y(u){return u.name!=null}function N(u){return u.op!=null&&u.left!=null&&u.right!=null}function O(u){return u.op!=null&&u.expr!=null}var m=class{randomize(){this.seed(Math.random()*2147483647,Math.random()*2147483647,Math.random()*2147483647,Math.random()*2147483647)}constructor(){(()=>{var r,e,i,n;this.seed=function(s,a,h,o){r=s,e=a,i=h,n=o},this.seedfloat=function(s){this.seed(s,s*4294,s*429496,s*4294967296),this.next(),this.next(),this.next()},this.next=function(){r>>>=0,e>>>=0,i>>>=0,n>>>=0;var s=r+e|0;return r=e^e>>>9,e=i+(i<<3)|0,i=i<<21|i>>>11,n=n+1|0,s=s+n|0,i=i+s|0,(s>>>0)/4294967296}})(),this.seedfloat(-1)}},I=1024*1024,l=class u{constructor(){this.margin=80;this.running=!1;this.exited=!0;this.trace=!1}load(t){let r=null,e=0;if(this.pc2label!=null){let s=this.curpc;for(;s>0&&(r=this.pc2label.get(s))==null;)s--;e=this.curpc-s,console.log("oldpc=",this.curpc,"restart @ label",r,"+",e)}this.program=t,this.opts=t.opts,this.opts.maxArrayElements||(this.opts.maxArrayElements=I),this.allstmts=t.stmts,this.label2pc=t.labels,this.label2dataptr={},this.pc2label=new Map,this.datums=[],this.subroutines={},this.builtins=this.getBuiltinFunctions();for(var i in t.labels){var n=t.labels[i];this.pc2label.set(n,i)}return this.allstmts.forEach((s,a)=>{this.curpc=a+1,this.compileStatement(s),s.command=="DATA"&&(this.label2dataptr[s.$loc.label]=this.datums.length,s.datums.forEach(h=>{this.curpc=s.$loc.offset,this.datums.push(h)}))}),this.label2pc[r]!=null?(this.curpc=this.label2pc[r]+e,!0):(this.curpc=0,!1)}reset(){this.curpc=0,this.dataptr=0,this.clearVars(),this.returnStack=[],this.column=0,this.running=!0,this.exited=!1}clearVars(){this.globals=this.vars={},this.arrays={},this.defs={},this.forLoops={},this.forLoopStack=[],this.whileLoops=[],this.rng=new m,this.opts&&this.opts.staticArrays&&this.allstmts.filter(t=>t.command=="DIM").forEach(t=>{t.args.forEach(r=>this.compileJS(this._DIM(r))())})}saveState(){return $.extend(!0,{},this)}loadState(t){$.extend(!0,this,t)}getBuiltinFunctions(){var t=this.program&&this.opts.validFunctions;t||(t=Object.getOwnPropertyNames(u.prototype).filter(i=>/^[A-Z]{3,}[$]?$/.test(i)));var r={};for(var e of t)this.supportsFunction(e)&&(r[e]=this[e].bind(this));return r}supportsFunction(t){return typeof this[t]=="function"}runtimeError(t){throw this.curpc--,new d(t,this.getCurrentSourceLocation())}dialectError(t){this.runtimeError(`I can't ${t} in this dialect of BASIC.`)}getLineForPC(t){var r=this.allstmts[t];return r&&r.$loc&&r.$loc.line}getLabelForPC(t){var r=this.allstmts[t];return r&&r.$loc&&r.$loc.label}getCurrentSourceLocation(){var t=this.getStatement();return t&&t.$loc}getCurrentLabel(){var t=this.getCurrentSourceLocation();return t&&t.label}getStatement(){return this.allstmts[this.curpc]}step(){if(!this.running)return!1;var t=this.getStatement();return t?(this.trace&&console.log(this.curpc,t,this.vars,Object.keys(this.arrays)),this.curpc++,this.executeStatement(t),this.running):(this.running=!1,this.exited=!0,!1)}compileStatement(t){if(t.$run==null)try{var r=this["do__"+t.command];r==null&&this.runtimeError(`I don't know how to "${t.command}".`);var e=r.bind(this)(t);this.trace&&console.log(e),t.$run=this.compileJS(e)}catch(i){throw e&&console.log(e),i}}compileJS(t){return new Function(t).bind(this)}executeStatement(t){this.compileStatement(t),t.$run()}skipToEOL(){do this.curpc++;while(this.curpc=0?this.curpc=r:this.runtimeError(`I tried to go to the label "${t}" but couldn't find it.`)}newLocalScope(){this.vars=Object.create(this.vars)}popLocalScope(){this.vars!==this.globals&&(this.vars=Object.getPrototypeOf(this.vars))}gosubLabel(t){this.returnStack.length>32767&&this.runtimeError("I did too many GOSUBs without a RETURN."),this.returnStack.push(this.curpc),this.gotoLabel(t)}returnFromGosub(){this.returnStack.length==0&&this.runtimeError("I tried to RETURN, but there wasn't a corresponding GOSUB.");var t=this.returnStack.pop();this.curpc=t,this.popLocalScope()}popReturnStack(){this.returnStack.length==0&&this.runtimeError("I tried to POP, but there wasn't a corresponding GOSUB."),this.returnStack.pop()}valueToString(t,r){var e;if(typeof t=="number"){var i=this.float2str(t,this.opts.printZoneLength-4);return r?i.startsWith("-")?`${i} `:` ${i} `:i}else if(t==` +import{b as S}from"./chunk-3FIVEUG2.js";import{s as E}from"./chunk-TRTSRC5W.js";import"./chunk-MLM7TUHJ.js";import"./chunk-LNOKARBD.js";import"./chunk-A7SWO6EA.js";import"./chunk-C4IRIAIT.js";import"./chunk-H6N7O6L2.js";import{B as c,K as f,T as d,U as v,a as g}from"./chunk-H3X4EDTW.js";import"./chunk-KT7KMEQC.js";function k(u){return u.value!=null}function y(u){return u.name!=null}function N(u){return u.op!=null&&u.left!=null&&u.right!=null}function O(u){return u.op!=null&&u.expr!=null}var m=class{randomize(){this.seed(Math.random()*2147483647,Math.random()*2147483647,Math.random()*2147483647,Math.random()*2147483647)}constructor(){(()=>{var r,e,i,n;this.seed=function(s,a,h,o){r=s,e=a,i=h,n=o},this.seedfloat=function(s){this.seed(s,s*4294,s*429496,s*4294967296),this.next(),this.next(),this.next()},this.next=function(){r>>>=0,e>>>=0,i>>>=0,n>>>=0;var s=r+e|0;return r=e^e>>>9,e=i+(i<<3)|0,i=i<<21|i>>>11,n=n+1|0,s=s+n|0,i=i+s|0,(s>>>0)/4294967296}})(),this.seedfloat(-1)}},I=1024*1024,l=class u{constructor(){this.margin=80;this.running=!1;this.exited=!0;this.trace=!1}load(t){let r=null,e=0;if(this.pc2label!=null){let s=this.curpc;for(;s>0&&(r=this.pc2label.get(s))==null;)s--;e=this.curpc-s,console.log("oldpc=",this.curpc,"restart @ label",r,"+",e)}this.program=t,this.opts=t.opts,this.opts.maxArrayElements||(this.opts.maxArrayElements=I),this.allstmts=t.stmts,this.label2pc=t.labels,this.label2dataptr={},this.pc2label=new Map,this.datums=[],this.subroutines={},this.builtins=this.getBuiltinFunctions();for(var i in t.labels){var n=t.labels[i];this.pc2label.set(n,i)}return this.allstmts.forEach((s,a)=>{this.curpc=a+1,this.compileStatement(s),s.command=="DATA"&&(this.label2dataptr[s.$loc.label]=this.datums.length,s.datums.forEach(h=>{this.curpc=s.$loc.offset,this.datums.push(h)}))}),this.label2pc[r]!=null?(this.curpc=this.label2pc[r]+e,!0):(this.curpc=0,!1)}reset(){this.curpc=0,this.dataptr=0,this.clearVars(),this.returnStack=[],this.column=0,this.running=!0,this.exited=!1}clearVars(){this.globals=this.vars={},this.arrays={},this.defs={},this.forLoops={},this.forLoopStack=[],this.whileLoops=[],this.rng=new m,this.opts&&this.opts.staticArrays&&this.allstmts.filter(t=>t.command=="DIM").forEach(t=>{t.args.forEach(r=>this.compileJS(this._DIM(r))())})}saveState(){return $.extend(!0,{},this)}loadState(t){$.extend(!0,this,t)}getBuiltinFunctions(){var t=this.program&&this.opts.validFunctions;t||(t=Object.getOwnPropertyNames(u.prototype).filter(i=>/^[A-Z]{3,}[$]?$/.test(i)));var r={};for(var e of t)this.supportsFunction(e)&&(r[e]=this[e].bind(this));return r}supportsFunction(t){return typeof this[t]=="function"}runtimeError(t){throw this.curpc--,new d(t,this.getCurrentSourceLocation())}dialectError(t){this.runtimeError(`I can't ${t} in this dialect of BASIC.`)}getLineForPC(t){var r=this.allstmts[t];return r&&r.$loc&&r.$loc.line}getLabelForPC(t){var r=this.allstmts[t];return r&&r.$loc&&r.$loc.label}getCurrentSourceLocation(){var t=this.getStatement();return t&&t.$loc}getCurrentLabel(){var t=this.getCurrentSourceLocation();return t&&t.label}getStatement(){return this.allstmts[this.curpc]}step(){if(!this.running)return!1;var t=this.getStatement();return t?(this.trace&&console.log(this.curpc,t,this.vars,Object.keys(this.arrays)),this.curpc++,this.executeStatement(t),this.running):(this.running=!1,this.exited=!0,!1)}compileStatement(t){if(t.$run==null)try{var r=this["do__"+t.command];r==null&&this.runtimeError(`I don't know how to "${t.command}".`);var e=r.bind(this)(t);this.trace&&console.log(e),t.$run=this.compileJS(e)}catch(i){throw e&&console.log(e),i}}compileJS(t){return new Function(t).bind(this)}executeStatement(t){this.compileStatement(t),t.$run()}skipToEOL(){do this.curpc++;while(this.curpc=0?this.curpc=r:this.runtimeError(`I tried to go to the label "${t}" but couldn't find it.`)}newLocalScope(){this.vars=Object.create(this.vars)}popLocalScope(){this.vars!==this.globals&&(this.vars=Object.getPrototypeOf(this.vars))}gosubLabel(t){this.returnStack.length>32767&&this.runtimeError("I did too many GOSUBs without a RETURN."),this.returnStack.push(this.curpc),this.gotoLabel(t)}returnFromGosub(){this.returnStack.length==0&&this.runtimeError("I tried to RETURN, but there wasn't a corresponding GOSUB.");var t=this.returnStack.pop();this.curpc=t,this.popLocalScope()}popReturnStack(){this.returnStack.length==0&&this.runtimeError("I tried to POP, but there wasn't a corresponding GOSUB."),this.returnStack.pop()}valueToString(t,r){var e;if(typeof t=="number"){var i=this.float2str(t,this.opts.printZoneLength-4);return r?i.startsWith("-")?`${i} `:` ${i} `:i}else if(t==` `)this.column=0,e=t;else if(t==" "){var n=this.opts.printZoneLength,s=Math.floor(this.column/n),a=(s+1)*this.opts.printZoneLength;a+n>this.margin?(this.column=0,e=` `):e=this.TAB(a)}else e=`${t}`;return e}float2str(t,r){var e=t.toString().toUpperCase();if(r>0){for(var i=r;e.length>r;)e=t.toPrecision(i--);e.startsWith("0.")?e=e.substr(1):e.startsWith("-0.")&&(e="-"+e.substr(2))}return e}printExpr(t){var r=this.valueToString(t,this.opts.numericPadding);this.column+=r.length,this.print(r)}print(t){console.log(t)}async input(t,r){return{line:"",vals:[]}}resume(){}expr2js(t,r){if(r||(r={}),k(t))return JSON.stringify(t.value);if(y(t)){if(!t.args&&r.locals&&r.locals.indexOf(t.name)>=0)return t.name;{r.isconst&&this.runtimeError("I expected a constant value here.");var e="",i=JSON.stringify(t.name);let h=t.args?t.args.map(o=>this.expr2js(o,r)).join(", "):[];return t.name.startsWith("FN")?e+=`this.getDef(${i})(${h})`:this.builtins[t.name]?(this.checkFuncArgs(t,this.builtins[t.name]),e+=`this.builtins.${t.name}(${h})`):t.args?this.opts.arraysContainChars&&t.name.endsWith("$")?e+=`this.getStringSlice(this.vars.${t.name}, ${h})`:e+=`this.arrayGet(${i}, ${h})`:e+=`this.vars.${t.name}`,r.novalid?e:`this.checkValue(${e}, ${i})`}}else if(N(t)){var n=this.expr2js(t.left,r),s=this.expr2js(t.right,r);return`this.${t.op}(${n}, ${s})`}else if(O(t)){var a=this.expr2js(t.expr,r);return`this.${t.op}(${a})`}}assign2js(t,r){r||(r={});var e="";return(t.name.startsWith("FN")||this.builtins[t.name])&&this.runtimeError("I can't call a function here."),t.args?this.opts.arraysContainChars&&t.name.endsWith("$")?this.runtimeError("I can't set array slices via this command yet."):e+=this.array2js(t,r):e=`this.globals.${t.name}`,e}array2js(t,r){var e=JSON.stringify(t.name),i=t.args||[];return this.expr2js(t,{novalid:!0})+`;this.getArray(${e}, ${i.length})`+i.map(n=>"[this.ROUND("+this.expr2js(n,r)+")]").join("")}checkFuncArgs(t,r){var e=t.args?t.args.length:0;t.name=="RND"&&e==0||t.name=="MID$"&&e==2||t.name=="INSTR"&&e==2||r.length!=e&&this.runtimeError(`I expected ${r.length} arguments for the ${t.name} function, but I got ${e}.`)}startForLoop(t,r,e,i,n){var s=this.curpc-1,a=this.pc2label.get(s);i||(i=1),this.vars[t]=r,this.trace&&console.log(`FOR ${t} = ${r} TO ${e} STEP ${i}`);var h=()=>i>=0?this.vars[t]>e:this.vars[t]o==t)),this.forLoopStack.push(t),this.forLoops[t]={$next:o=>{o&&t!=o&&this.runtimeError(`I executed NEXT "${o}", but the last FOR was for "${t}".`),this.vars[t]+=i;var b=h();b?(this.forLoopStack.pop(),delete this.forLoops[t]):this.curpc=(a!=null&&this.label2pc[a]||s)+1,this.trace&&console.log(`NEXT ${t}: ${this.vars[t]} TO ${e} STEP ${i} DONE=${b}`)}}}nextForLoop(t){var r=this.forLoops[t||this.opts.optionalNextVar&&this.forLoopStack[this.forLoopStack.length-1]];r||this.runtimeError("I couldn't find a matching FOR for this NEXT."),r.$next(t)}whileLoop(t){t?this.whileLoops.push(this.curpc-1):this.skipToAfterWend()}nextWhileLoop(){var t=this.whileLoops.pop();t==null?this.runtimeError("I couldn't find a matching WHILE for this WEND."):this.curpc=t}assign(t,r,e){return e&&t.endsWith("$")?this.checkValue(this.convert(t,r),t):t.endsWith("$")?this.convertToString(r,t):this.convertToNumber(r,t)}convert(t,r){return t.endsWith("$")?r==null?"":r.toString():typeof r=="number"?r:parseFloat(r+"")}convertToString(t,r){if(typeof t!="string")this.runtimeError(`I can't convert ${t} to a string.`);else return t}convertToNumber(t,r){if(typeof t!="number")this.runtimeError(`I can't convert ${t} to a number.`);else return this.checkNum(t)}dimArray(t,...r){if(r=r.map(Math.round),this.arrays[t]!=null){if(this.opts.staticArrays)return;this.runtimeError(`I already dimensioned this array (${t}) earlier.`)}var e=this.getTotalArrayLength(r);e>this.opts.maxArrayElements&&this.runtimeError("I can't create an array with this many elements.");var i=t.endsWith("$"),n=i?Array:Float64Array;if(r.length==1)this.arrays[t]=new n(r[0]+1);else if(r.length==2){this.arrays[t]=new Array(r[0]+1);for(var s=0;s=i.length&&this.runtimeError(`I tried to lookup ${t}(${r}) but it exceeded the dimensions of the array.`),i=i[r[n]]}return c(i)&&this.runtimeError(`I tried to lookup ${t}(${r}) but used too few dimensions.`),i}modifyStringSlice(t,r,e,i){return t=t||"",this.checkString(t),this.checkString(r),i||(i=e),e=this.ROUND(e),i=this.ROUND(i),e<1&&this.dialectError("accept a string slice index less than 1"),ir.length)&&this.runtimeError(`I needed a number between 1 and ${r.length}, but I got ${t}.`),t<1||t>r.length?0:t}onGotoLabel(t,...r){t=this.checkOnGoto(t,r),t&&this.gotoLabel(r[t-1])}onGosubLabel(t,...r){t=this.checkOnGoto(t,r),t&&this.gosubLabel(r[t-1])}nextDatum(){return this.dataptr>=this.datums.length&&this.runtimeError("I tried to READ, but ran out of data."),this.datums[this.dataptr++].value}do__PRINT(t){var r="";for(var e of t.args){var i=this.expr2js(e),n=i.name;r+=`this.printExpr(this.checkValue(${i}, ${JSON.stringify(n)}));`}return r}preInput(){this.running=!1,this.curpc--}postInput(t){t&&this.curpc++,this.running=!0,this.resume()}do__INPUT(t){var r=t.prompt!=null?this.expr2js(t.prompt):'""',e=t.elapsed!=null?this.assign2js(t.elapsed):"let ___",i="";return t.args.forEach((n,s)=>{var a=this.assign2js(n);i+=` var value = this.convert(${JSON.stringify(n.name)}, response.vals[${s}]); @@ -34,4 +34,4 @@ import{b as S}from"./chunk-3FIVEUG2.js";import{s as E}from"./chunk-YR3X22FA.js"; `),this.tty.addtext("*** END OF PROGRAM ***",1),this.tty.showPrintHead(!1)}loadROM(t,r){var e=this.runtime.exited;this.program=r;var i=this.runtime.load(r);this.tty.uppercaseOnly=!0,(!this.hotReload||e||!i)&&this.reset()}getROMExtension(){return".json"}reset(){this.tty.clear(),this.runtime.reset(),this.clock=0,this.transcript=[]}pause(){this.timer.stop()}resume(){this.isBlocked()||(this.animcount=0,this.timer.start())}isBlocked(){return this.tty.waitingfor!=null||this.runtime.exited}isRunning(){return this.timer.isRunning()}getDefaultExtensions(){return[".bas"]}getToolForFilename(){return"basic"}getPresets(){return L}getPC(){return this.runtime.curpc}getSP(){return 4096-this.runtime.returnStack.length}isStable(){return!0}getCPUState(){return{PC:this.getPC(),SP:this.getSP()}}saveState(){return{c:this.getCPUState(),rt:this.runtime.saveState()}}loadState(t){this.runtime.loadState(t)}getDebugTree(){return{CurrentLine:this.runtime.getCurrentLabel(),Variables:this.runtime.vars,Arrays:this.runtime.arrays,Functions:this.runtime.defs,ForLoops:this.runtime.forLoops,WhileLoops:this.runtime.whileLoops,ReturnStack:this.runtime.returnStack,NextDatum:this.runtime.datums[this.runtime.dataptr],Clock:this.clock,Options:this.runtime.opts,Internals:this.runtime}}inspect(t){let r=this.runtime.vars[t];if(r!=null)return`${t} = ${r}`}showHelp(){return"https://8bitworkshop.com/docs/platforms/basic/"}getDebugCategories(){return["Variables"]}getDebugInfo(t,r){switch(t){case"Variables":return this.varsToLongString()}}varsToLongString(){var t="",r=Object.keys(this.runtime.vars);r.sort();for(var e of r){var i=this.runtime.vars[e],n=JSON.stringify(i);n.length>24&&(n=`${n.substr(0,24)}...(${n.length})`),t+=g(e,3)+" = "+n+` `}return t}setupDebug(t){this.onBreakpointHit=t}clearDebug(){this.onBreakpointHit=null,this.debugTrap=null}checkDebugTrap(){return this.debugTrap&&this.debugTrap()?(this.pause(),this.break(),!0):!1}break(){this.onBreakpointHit&&this.onBreakpointHit(this.saveState())}step(){var t=this.clock;this.debugTrap=()=>this.clock>t,this.resume()}stepOver(){var t=this.runtime.getStatement();if(t&&(t.command=="GOSUB"||t.command=="ONGOSUB")){var r=this.getPC()+1;this.runEval(()=>this.getPC()==r)}else this.step()}runUntilReturn(){var t=this.getSP();this.runEval(()=>this.getSP()>t)}runEval(t){this.debugTrap=()=>t(this.getCPUState()),this.resume()}restartAtPC(t){return t=Math.round(t),t>=0&&t{(function(l,e){typeof define=="function"&&define.amd?define([],e):typeof d!="undefined"?e():(e(),l.FileSaver={})})(d,function(){"use strict";function l(t,r){return typeof r=="undefined"?r={autoBom:!1}:typeof r!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),r={autoBom:!r}),r.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob(["\uFEFF",t],{type:t.type}):t}function e(t,r,c){var a=new XMLHttpRequest;a.open("GET",t),a.responseType="blob",a.onload=function(){h(a.response,r,c)},a.onerror=function(){console.error("could not download file")},a.send()}function o(t){var r=new XMLHttpRequest;r.open("HEAD",t,!1);try{r.send()}catch(c){}return 200<=r.status&&299>=r.status}function i(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(c){var r=document.createEvent("MouseEvents");r.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(r)}}var n=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof global=="object"&&global.global===global?global:void 0,u=n.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),h=n.saveAs||(typeof window!="object"||window!==n?function(){}:"download"in HTMLAnchorElement.prototype&&!u?function(t,r,c){var a=n.URL||n.webkitURL,s=document.createElement("a");r=r||t.name||"download",s.download=r,s.rel="noopener",typeof t=="string"?(s.href=t,s.origin===location.origin?i(s):o(s.href)?e(t,r,c):i(s,s.target="_blank")):(s.href=a.createObjectURL(t),setTimeout(function(){a.revokeObjectURL(s.href)},4e4),setTimeout(function(){i(s)},0))}:"msSaveOrOpenBlob"in navigator?function(t,r,c){if(r=r||t.name||"download",typeof t!="string")navigator.msSaveOrOpenBlob(l(t,c),r);else if(o(t))e(t,r,c);else{var a=document.createElement("a");a.href=t,a.target="_blank",setTimeout(function(){i(a)})}}:function(t,r,c,a){if(a=a||open("","_blank"),a&&(a.document.title=a.document.body.innerText="downloading..."),typeof t=="string")return e(t,r,c);var s=t.type==="application/octet-stream",C=/constructor/i.test(n.HTMLElement)||n.safari,S=/CriOS\/[\d]+/.test(navigator.userAgent);if((S||s&&C||u)&&typeof FileReader!="undefined"){var p=new FileReader;p.onloadend=function(){var m=p.result;m=S?m:m.replace(/^data:[^;]*;/,"data:attachment/file;"),a?a.location.href=m:location=m,a=null},p.readAsDataURL(t)}else{var k=n.URL||n.webkitURL,f=k.createObjectURL(t);a?a.location=f:location.href=f,a=null,setTimeout(function(){k.revokeObjectURL(f)},4e4)}});n.saveAs=h.saveAs=h,typeof v!="undefined"&&(v.exports=h)})});var g=class{constructor(e){this.checkpointInterval=10;this.maxCheckpoints=300;this.reset(),this.platform=e}reset(){this.checkpoints=[],this.framerecs=[],this.frameCount=0,this.lastSeekFrame=0,this.lastSeekStep=0,this.lastStepCount=0,this.callbackStateChanged&&this.callbackStateChanged()}frameRequested(){var e={controls:this.platform.saveControlsState(),seed:b()},o=!1;return this.lastSeekFramethis.maxCheckpoints&&(this.checkpoints.shift(),this.framerecs=this.framerecs.slice(this.checkpointInterval),this.lastSeekFrame-=this.checkpointInterval,this.frameCount-=this.checkpointInterval,this.callbackStateChanged&&this.callbackStateChanged())}getStateAtOrBefore(e){if(e<=0&&this.checkpoints.length>0)return{frame:0,state:this.checkpoints[0]};var o=Math.floor(e/this.checkpointInterval),i=o0&&this.platform.advanceFrameClock&&(o=this.platform.advanceFrameClock(null,o)),this.lastSeekFrame=e,this.lastSeekStep=o,this.lastStepCount=u,e}else return-1}loadControls(e){this.platform.loadControlsState&&this.platform.loadControlsState(this.framerecs[e].controls),w(this.framerecs[e].seed)}getLastCheckpoint(){return this.checkpoints.length&&this.checkpoints[this.checkpoints.length-1]}};function R(l){switch(l){case"apple2":return import("./apple2-HBHD4SUS.js");case"arm32":return import("./arm32-3YQLWA3O.js");case"astrocade":return import("./astrocade-R5HZK35V.js");case"atari7800":return import("./atari7800-L2NYYGV4.js");case"atari8":return import("./atari8-WTRCNBS5.js");case"basic":return import("./basic-PK5EZNKZ.js");case"c64":return import("./c64-6OAR3GD7.js");case"channelf":return import("./channelf-FDMIBSPB.js");case"coleco":return import("./coleco-JEQ6Z2RX.js");case"cpc":return import("./cpc-HJXIDMS7.js");case"devel":return import("./devel-2E5ESN4D.js");case"exidy":return import("./exidy-2FXOKP5O.js");case"galaxian":return import("./galaxian-KFSJXZPQ.js");case"gb":return import("./gb-MUCXYMWS.js");case"gameboy":return import("./gb-MUCXYMWS.js");case"kim1":return import("./kim1-KATNS6P7.js");case"markdown":return import("./markdown-PZSVBLUX.js");case"mcr":return import("./mcr-DCG325GT.js");case"msx":return import("./msx-QT6Z4Q7I.js");case"mw8080bw":return import("./mw8080bw-YB25I4MX.js");case"nes":return import("./nes-WZUQDGHD.js");case"pacman":return import("./pacman-QSC6DQSY.js");case"pce":return import("./pce-XABXTUZT.js");case"sms":return import("./sms-EUTXYMSQ.js");case"sound_konami":return import("./sound_konami-UGR7ZO6A.js");case"sound_williams":return import("./sound_williams-MO4MAMSG.js");case"vcs":return import("./vcs-E56EBABC.js");case"vector":return import("./vector-LP2OKRY3.js");case"vectrex":return import("./vectrex-PR5RPFZJ.js");case"verilog":return import("./verilog-HQHLDQ3Y.js");case"vic20":return import("./vic20-VHH4LLPU.js");case"vicdual":return import("./vicdual-W3CNTFVK.js");case"williams":return import("./williams-5WE7JASR.js");case"x86":return import("./x86-QSEBW5OA.js");case"zmachine":return import("./zmachine-UFDNUD5A.js");case"zx":return import("./zx-FWI7BM5G.js");default:throw new Error(`Platform not recognized: '${l}'`)}}export{g as a,R as b,y as c}; -//# sourceMappingURL=chunk-QJ2HNUY6.js.map +import{M as b,N as w}from"./chunk-H3X4EDTW.js";import{d as E}from"./chunk-KT7KMEQC.js";var y=E((d,v)=>{(function(l,e){typeof define=="function"&&define.amd?define([],e):typeof d!="undefined"?e():(e(),l.FileSaver={})})(d,function(){"use strict";function l(t,r){return typeof r=="undefined"?r={autoBom:!1}:typeof r!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),r={autoBom:!r}),r.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob(["\uFEFF",t],{type:t.type}):t}function e(t,r,c){var a=new XMLHttpRequest;a.open("GET",t),a.responseType="blob",a.onload=function(){h(a.response,r,c)},a.onerror=function(){console.error("could not download file")},a.send()}function o(t){var r=new XMLHttpRequest;r.open("HEAD",t,!1);try{r.send()}catch(c){}return 200<=r.status&&299>=r.status}function i(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(c){var r=document.createEvent("MouseEvents");r.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(r)}}var n=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof global=="object"&&global.global===global?global:void 0,u=n.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),h=n.saveAs||(typeof window!="object"||window!==n?function(){}:"download"in HTMLAnchorElement.prototype&&!u?function(t,r,c){var a=n.URL||n.webkitURL,s=document.createElement("a");r=r||t.name||"download",s.download=r,s.rel="noopener",typeof t=="string"?(s.href=t,s.origin===location.origin?i(s):o(s.href)?e(t,r,c):i(s,s.target="_blank")):(s.href=a.createObjectURL(t),setTimeout(function(){a.revokeObjectURL(s.href)},4e4),setTimeout(function(){i(s)},0))}:"msSaveOrOpenBlob"in navigator?function(t,r,c){if(r=r||t.name||"download",typeof t!="string")navigator.msSaveOrOpenBlob(l(t,c),r);else if(o(t))e(t,r,c);else{var a=document.createElement("a");a.href=t,a.target="_blank",setTimeout(function(){i(a)})}}:function(t,r,c,a){if(a=a||open("","_blank"),a&&(a.document.title=a.document.body.innerText="downloading..."),typeof t=="string")return e(t,r,c);var s=t.type==="application/octet-stream",C=/constructor/i.test(n.HTMLElement)||n.safari,S=/CriOS\/[\d]+/.test(navigator.userAgent);if((S||s&&C||u)&&typeof FileReader!="undefined"){var p=new FileReader;p.onloadend=function(){var m=p.result;m=S?m:m.replace(/^data:[^;]*;/,"data:attachment/file;"),a?a.location.href=m:location=m,a=null},p.readAsDataURL(t)}else{var k=n.URL||n.webkitURL,f=k.createObjectURL(t);a?a.location=f:location.href=f,a=null,setTimeout(function(){k.revokeObjectURL(f)},4e4)}});n.saveAs=h.saveAs=h,typeof v!="undefined"&&(v.exports=h)})});var g=class{constructor(e){this.checkpointInterval=10;this.maxCheckpoints=300;this.reset(),this.platform=e}reset(){this.checkpoints=[],this.framerecs=[],this.frameCount=0,this.lastSeekFrame=0,this.lastSeekStep=0,this.lastStepCount=0,this.callbackStateChanged&&this.callbackStateChanged()}frameRequested(){var e={controls:this.platform.saveControlsState(),seed:b()},o=!1;return this.lastSeekFramethis.maxCheckpoints&&(this.checkpoints.shift(),this.framerecs=this.framerecs.slice(this.checkpointInterval),this.lastSeekFrame-=this.checkpointInterval,this.frameCount-=this.checkpointInterval,this.callbackStateChanged&&this.callbackStateChanged())}getStateAtOrBefore(e){if(e<=0&&this.checkpoints.length>0)return{frame:0,state:this.checkpoints[0]};var o=Math.floor(e/this.checkpointInterval),i=o0&&this.platform.advanceFrameClock&&(o=this.platform.advanceFrameClock(null,o)),this.lastSeekFrame=e,this.lastSeekStep=o,this.lastStepCount=u,e}else return-1}loadControls(e){this.platform.loadControlsState&&this.platform.loadControlsState(this.framerecs[e].controls),w(this.framerecs[e].seed)}getLastCheckpoint(){return this.checkpoints.length&&this.checkpoints[this.checkpoints.length-1]}};function R(l){switch(l){case"apple2":return import("./apple2-HBHD4SUS.js");case"arm32":return import("./arm32-3YQLWA3O.js");case"astrocade":return import("./astrocade-R5HZK35V.js");case"atari7800":return import("./atari7800-L2NYYGV4.js");case"atari8":return import("./atari8-WTRCNBS5.js");case"basic":return import("./basic-LUSVDNZT.js");case"c64":return import("./c64-6OAR3GD7.js");case"channelf":return import("./channelf-FDMIBSPB.js");case"coleco":return import("./coleco-JEQ6Z2RX.js");case"cpc":return import("./cpc-HJXIDMS7.js");case"devel":return import("./devel-N43ACC37.js");case"exidy":return import("./exidy-2FXOKP5O.js");case"galaxian":return import("./galaxian-KFSJXZPQ.js");case"gb":return import("./gb-MUCXYMWS.js");case"gameboy":return import("./gb-MUCXYMWS.js");case"kim1":return import("./kim1-KATNS6P7.js");case"markdown":return import("./markdown-PZSVBLUX.js");case"mcr":return import("./mcr-DCG325GT.js");case"msx":return import("./msx-QT6Z4Q7I.js");case"mw8080bw":return import("./mw8080bw-YB25I4MX.js");case"nes":return import("./nes-WZUQDGHD.js");case"pacman":return import("./pacman-QSC6DQSY.js");case"pce":return import("./pce-XABXTUZT.js");case"sms":return import("./sms-EUTXYMSQ.js");case"sound_konami":return import("./sound_konami-UGR7ZO6A.js");case"sound_williams":return import("./sound_williams-MO4MAMSG.js");case"vcs":return import("./vcs-E56EBABC.js");case"vector":return import("./vector-LP2OKRY3.js");case"vectrex":return import("./vectrex-PR5RPFZJ.js");case"verilog":return import("./verilog-HQHLDQ3Y.js");case"vic20":return import("./vic20-VHH4LLPU.js");case"vicdual":return import("./vicdual-W3CNTFVK.js");case"williams":return import("./williams-5WE7JASR.js");case"x86":return import("./x86-QSEBW5OA.js");case"zmachine":return import("./zmachine-UFDNUD5A.js");case"zx":return import("./zx-FWI7BM5G.js");default:throw new Error(`Platform not recognized: '${l}'`)}}export{g as a,R as b,y as c}; +//# sourceMappingURL=chunk-C4IRIAIT.js.map diff --git a/gen/chunk-QJ2HNUY6.js.map b/gen/chunk-C4IRIAIT.js.map similarity index 100% rename from gen/chunk-QJ2HNUY6.js.map rename to gen/chunk-C4IRIAIT.js.map diff --git a/gen/chunk-YR3X22FA.js b/gen/chunk-TRTSRC5W.js similarity index 99% rename from gen/chunk-YR3X22FA.js rename to gen/chunk-TRTSRC5W.js index 6f652b11..5eab31ba 100644 --- a/gen/chunk-YR3X22FA.js +++ b/gen/chunk-TRTSRC5W.js @@ -1,4 +1,4 @@ -import{a as Qc,b as Uo,c as l$}from"./chunk-MLM7TUHJ.js";import{a as qg}from"./chunk-LNOKARBD.js";import{a as xc}from"./chunk-A7SWO6EA.js";import{a as jg,b as Ig,c as c$}from"./chunk-QJ2HNUY6.js";import{D as Lu,J as Mu,t as Dg,u as Wg}from"./chunk-H6N7O6L2.js";import{A as Bs,E as br,F as Zu,G as Zo,I as yc,J as Lg,K as Uu,T as zu,V as Mg,a as hn,b as Aa,ba as vc,ca as Vg,d as Si,da as Ya,e as Au,f as yi,g as pt,h as Eu,i as Yg,k as Zg,m as mc,n as gc,o as bc,p as Ns,q as Ug,t as Sc,w as zg,x as Yu,y as Ea,z as Ci}from"./chunk-H3X4EDTW.js";import{a as ri,b as pc,c as Ca,d as Ru,e as Cu}from"./chunk-KT7KMEQC.js";var Du=Ru((Ng,Vu)=>{(function(i){if(typeof Ng=="object"&&typeof Vu!="undefined")Vu.exports=i();else if(typeof define=="function"&&define.amd)define([],i);else{var e;typeof window!="undefined"?e=window:typeof global!="undefined"?e=global:typeof self!="undefined"?e=self:e=this,e.localforage=i()}})(function(){var i,e,t;return(function r(n,s,o){function a(f,O){if(!s[f]){if(!n[f]){var p=typeof Ca=="function"&&Ca;if(!O&&p)return p(f,!0);if(l)return l(f,!0);var b=new Error("Cannot find module '"+f+"'");throw b.code="MODULE_NOT_FOUND",b}var v=s[f]={exports:{}};n[f][0].call(v.exports,function(k){var X=n[f][1][k];return a(X||k)},v,v.exports,r,n,s,o)}return s[f].exports}for(var l=typeof Ca=="function"&&Ca,h=0;h=43)}}).catch(function(){return!1})}function de(w){return typeof F=="boolean"?p.resolve(F):H(w).then(function(A){return F=A,F})}function Ee(w){var A=I[w.name],T={};T.promise=new p(function(U,V){T.resolve=U,T.reject=V}),A.deferredOperations.push(T),A.dbReady?A.dbReady=A.dbReady.then(function(){return T.promise}):A.dbReady=T.promise}function ke(w){var A=I[w.name],T=A.deferredOperations.pop();if(T)return T.resolve(),T.promise}function oe(w,A){var T=I[w.name],U=T.deferredOperations.pop();if(U)return U.reject(A),U.promise}function Xe(w,A){return new p(function(T,U){if(I[w.name]=I[w.name]||Jt(),w.db)if(A)Ee(w),w.db.close();else return T(w.db);var V=[w.name];A&&V.push(w.version);var Z=h.open.apply(h,V);A&&(Z.onupgradeneeded=function(K){var se=Z.result;try{se.createObjectStore(w.storeName),K.oldVersion<=1&&se.createObjectStore(E)}catch(he){if(he.name==="ConstraintError")console.warn('The database "'+w.name+'" has been upgraded from version '+K.oldVersion+" to version "+K.newVersion+', but the storage "'+w.storeName+'" already exists.');else throw he}}),Z.onerror=function(K){K.preventDefault(),U(Z.error)},Z.onsuccess=function(){var K=Z.result;K.onversionchange=function(se){se.target.close()},T(K),ke(w)}})}function De(w){return Xe(w,!1)}function He(w){return Xe(w,!0)}function ie(w,A){if(!w.db)return!0;var T=!w.db.objectStoreNames.contains(w.storeName),U=w.versionw.db.version;if(U&&(w.version!==A&&console.warn('The database "'+w.name+`" can't be downgraded from version `+w.db.version+" to version "+w.version+"."),w.version=w.db.version),V||T){if(T){var Z=w.db.version+1;Z>w.version&&(w.version=Z)}return!0}return!1}function Se(w){return new p(function(A,T){var U=new FileReader;U.onerror=T,U.onloadend=function(V){var Z=btoa(V.target.result||"");A({__local_forage_encoded_blob:!0,data:Z,type:w.type})},U.readAsBinaryString(w)})}function ue(w){var A=W(atob(w.data));return O([A],{type:w.type})}function qe(w){return w&&w.__local_forage_encoded_blob}function Be(w){var A=this,T=A._initReady().then(function(){var U=I[A._dbInfo.name];if(U&&U.dbReady)return U.dbReady});return v(T,w,w),T}function wt(w){Ee(w);for(var A=I[w.name],T=A.forages,U=0;U0&&(!w.db||Z.name==="InvalidStateError"||Z.name==="NotFoundError"))return p.resolve().then(function(){if(!w.db||Z.name==="NotFoundError"&&!w.db.objectStoreNames.contains(w.storeName)&&w.version<=w.db.version)return w.db&&(w.version=w.db.version+1),He(w)}).then(function(){return wt(w).then(function(){ze(w,A,T,U-1)})}).catch(T);T(Z)}}function Jt(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}function Hi(w){var A=this,T={db:null};if(w)for(var U in w)T[U]=w[U];var V=I[T.name];V||(V=Jt(),I[T.name]=V),V.forages.push(A),A._initReady||(A._initReady=A.ready,A.ready=Be);var Z=[];function K(){return p.resolve()}for(var se=0;se>4,le[V++]=(K&15)<<4|se>>2,le[V++]=(se&3)<<6|he&63;return fe}function Hn(w){var A=new Uint8Array(w),T="",U;for(U=0;U>2],T+=rt[(A[U]&3)<<4|A[U+1]>>4],T+=rt[(A[U+1]&15)<<2|A[U+2]>>6],T+=rt[A[U+2]&63];return A.length%3===2?T=T.substring(0,T.length-1)+"=":A.length%3===1&&(T=T.substring(0,T.length-2)+"=="),T}function wn(w,A){var T="";if(w&&(T=Ti.call(w)),w&&(T==="[object ArrayBuffer]"||w.buffer&&Ti.call(w.buffer)==="[object ArrayBuffer]")){var U,V=Pi;w instanceof ArrayBuffer?(U=w,V+=ei):(U=w.buffer,T==="[object Int8Array]"?V+=Ar:T==="[object Uint8Array]"?V+=we:T==="[object Uint8ClampedArray]"?V+=Tt:T==="[object Int16Array]"?V+=hr:T==="[object Uint16Array]"?V+=xn:T==="[object Int32Array]"?V+=Fn:T==="[object Uint32Array]"?V+=tn:T==="[object Float32Array]"?V+=Qn:T==="[object Float64Array]"?V+=ki:A(new Error("Failed to get type for BinaryArray"))),A(V+Hn(U))}else if(T==="[object Blob]"){var Z=new FileReader;Z.onload=function(){var K=ai+w.type+"~"+Hn(this.result);A(Pi+cr+K)},Z.readAsArrayBuffer(w)}else try{A(JSON.stringify(w))}catch(K){console.error("Couldn't convert value into a JSON string: ",w),A(null,K)}}function Kn(w){if(w.substring(0,Gn)!==Pi)return JSON.parse(w);var A=w.substring(li),T=w.substring(Gn,li),U;if(T===cr&&Cs.test(A)){var V=A.match(Cs);U=V[1],A=A.substring(V[0].length)}var Z=fr(A);switch(T){case ei:return Z;case cr:return O([Z],{type:U});case Ar:return new Int8Array(Z);case we:return new Uint8Array(Z);case Tt:return new Uint8ClampedArray(Z);case hr:return new Int16Array(Z);case xn:return new Uint16Array(Z);case Fn:return new Int32Array(Z);case tn:return new Uint32Array(Z);case Qn:return new Float32Array(Z);case ki:return new Float64Array(Z);default:throw new Error("Unkown type: "+T)}}var Er={serialize:wn,deserialize:Kn,stringToBuffer:fr,bufferToString:Hn};function Yr(w,A,T,U){w.executeSql("CREATE TABLE IF NOT EXISTS "+A.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],T,U)}function qt(w){var A=this,T={db:null};if(w)for(var U in w)T[U]=typeof w[U]!="string"?w[U].toString():w[U];var V=new p(function(Z,K){try{T.db=openDatabase(T.name,String(T.version),T.description,T.size)}catch(se){return K(se)}T.db.transaction(function(se){Yr(se,T,function(){A._dbInfo=T,Z()},function(he,fe){K(fe)})},K)});return T.serializer=Er,V}function ti(w,A,T,U,V,Z){w.executeSql(T,U,V,function(K,se){se.code===se.SYNTAX_ERR?K.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[A.storeName],function(he,fe){fe.rows.length?Z(he,se):Yr(he,A,function(){he.executeSql(T,U,V,Z)},Z)},Z):Z(K,se)},Z)}function As(w,A){var T=this;w=k(w);var U=new p(function(V,Z){T.ready().then(function(){var K=T._dbInfo;K.db.transaction(function(se){ti(se,K,"SELECT * FROM "+K.storeName+" WHERE key = ? LIMIT 1",[w],function(he,fe){var le=fe.rows.length?fe.rows.item(0).value:null;le&&(le=K.serializer.deserialize(le)),V(le)},function(he,fe){Z(fe)})})}).catch(Z)});return b(U,A),U}function Es(w,A){var T=this,U=new p(function(V,Z){T.ready().then(function(){var K=T._dbInfo;K.db.transaction(function(se){ti(se,K,"SELECT * FROM "+K.storeName,[],function(he,fe){for(var le=fe.rows,Te=le.length,We=0;We0){K(It.apply(V,[w,he,T,U-1]));return}se(We)}})})}).catch(se)});return b(Z,T),Z}function Nt(w,A,T){return It.apply(this,[w,A,T,1])}function rn(w,A){var T=this;w=k(w);var U=new p(function(V,Z){T.ready().then(function(){var K=T._dbInfo;K.db.transaction(function(se){ti(se,K,"DELETE FROM "+K.storeName+" WHERE key = ?",[w],function(){V()},function(he,fe){Z(fe)})})}).catch(Z)});return b(U,A),U}function Jn(w){var A=this,T=new p(function(U,V){A.ready().then(function(){var Z=A._dbInfo;Z.db.transaction(function(K){ti(K,Z,"DELETE FROM "+Z.storeName,[],function(){U()},function(se,he){V(he)})})}).catch(V)});return b(T,w),T}function Xi(w){var A=this,T=new p(function(U,V){A.ready().then(function(){var Z=A._dbInfo;Z.db.transaction(function(K){ti(K,Z,"SELECT COUNT(key) as c FROM "+Z.storeName,[],function(se,he){var fe=he.rows.item(0).c;U(fe)},function(se,he){V(he)})})}).catch(V)});return b(T,w),T}function Zr(w,A){var T=this,U=new p(function(V,Z){T.ready().then(function(){var K=T._dbInfo;K.db.transaction(function(se){ti(se,K,"SELECT key FROM "+K.storeName+" WHERE id = ? LIMIT 1",[w+1],function(he,fe){var le=fe.rows.length?fe.rows.item(0).key:null;V(le)},function(he,fe){Z(fe)})})}).catch(Z)});return b(U,A),U}function ur(w){var A=this,T=new p(function(U,V){A.ready().then(function(){var Z=A._dbInfo;Z.db.transaction(function(K){ti(K,Z,"SELECT key FROM "+Z.storeName,[],function(se,he){for(var fe=[],le=0;le '__WebKitDatabaseInfoTable__'",[],function(V,Z){for(var K=[],se=0;se0}function Pn(w){var A=this,T={};if(w)for(var U in w)T[U]=w[U];return T.keyPrefix=Us(w,A._defaultConfig),_o()?(A._dbInfo=T,T.serializer=Er,p.resolve()):p.reject()}function $a(w){var A=this,T=A.ready().then(function(){for(var U=A._dbInfo.keyPrefix,V=localStorage.length-1;V>=0;V--){var Z=localStorage.key(V);Z.indexOf(U)===0&&localStorage.removeItem(Z)}});return b(T,w),T}function Ro(w,A){var T=this;w=k(w);var U=T.ready().then(function(){var V=T._dbInfo,Z=localStorage.getItem(V.keyPrefix+w);return Z&&(Z=V.serializer.deserialize(Z)),Z});return b(U,A),U}function $t(w,A){var T=this,U=T.ready().then(function(){for(var V=T._dbInfo,Z=V.keyPrefix,K=Z.length,se=localStorage.length,he=1,fe=0;fe=0;K--){var se=localStorage.key(K);se.indexOf(Z)===0&&localStorage.removeItem(se)}}):V=p.reject("Invalid arguments"),b(V,A),V}var Pa={_driver:"localStorageWrapper",_initStorage:Pn,_support:Zs(),iterate:$t,getItem:Ro,setItem:Tn,removeItem:kn,clear:$a,length:es,key:_i,keys:Co,dropInstance:Ls},Xn=function(A,T){return A===T||typeof A=="number"&&typeof T=="number"&&isNaN(A)&&isNaN(T)},Ao=function(A,T){for(var U=A.length,V=0;V{(function(i,e){"use strict";typeof lu=="object"&&typeof lu.exports=="object"?lu.exports=i.document?e(i,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(i)})(typeof window!="undefined"?window:Jw,function(i,e){"use strict";var t=[],r=Object.getPrototypeOf,n=t.slice,s=t.flat?function(c){return t.flat.call(c)}:function(c){return t.concat.apply([],c)},o=t.push,a=t.indexOf,l={},h=l.toString,f=l.hasOwnProperty,O=f.toString,p=O.call(Object),b={},v=function(u){return typeof u=="function"&&typeof u.nodeType!="number"&&typeof u.item!="function"},k=function(u){return u!=null&&u===u.window},X=i.document,E={type:!0,src:!0,nonce:!0,noModule:!0};function F(c,u,m){m=m||X;var g,S,y=m.createElement("script");if(y.text=c,u)for(g in E)S=u[g]||u.getAttribute&&u.getAttribute(g),S&&y.setAttribute(g,S);m.head.appendChild(y).parentNode.removeChild(y)}function I(c){return c==null?c+"":typeof c=="object"||typeof c=="function"?l[h.call(c)]||"object":typeof c}var B="3.7.1",M=/HTML$/i,d=function(c,u){return new d.fn.init(c,u)};d.fn=d.prototype={jquery:B,constructor:d,length:0,toArray:function(){return n.call(this)},get:function(c){return c==null?n.call(this):c<0?this[c+this.length]:this[c]},pushStack:function(c){var u=d.merge(this.constructor(),c);return u.prevObject=this,u},each:function(c){return d.each(this,c)},map:function(c){return this.pushStack(d.map(this,function(u,m){return c.call(u,m,u)}))},slice:function(){return this.pushStack(n.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(d.grep(this,function(c,u){return(u+1)%2}))},odd:function(){return this.pushStack(d.grep(this,function(c,u){return u%2}))},eq:function(c){var u=this.length,m=+c+(c<0?u:0);return this.pushStack(m>=0&&m0&&u-1 in c}function H(c,u){return c.nodeName&&c.nodeName.toLowerCase()===u.toLowerCase()}var de=t.pop,Ee=t.sort,ke=t.splice,oe="[\\x20\\t\\r\\n\\f]",Xe=new RegExp("^"+oe+"+|((?:^|[^\\\\])(?:\\\\.)*)"+oe+"+$","g");d.contains=function(c,u){var m=u&&u.parentNode;return c===m||!!(m&&m.nodeType===1&&(c.contains?c.contains(m):c.compareDocumentPosition&&c.compareDocumentPosition(m)&16))};var De=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function He(c,u){return u?c==="\0"?"\uFFFD":c.slice(0,-1)+"\\"+c.charCodeAt(c.length-1).toString(16)+" ":"\\"+c}d.escapeSelector=function(c){return(c+"").replace(De,He)};var ie=X,Se=o;(function(){var c,u,m,g,S,y=Se,Q,C,R,z,G,te=d.expando,q=0,ce=0,Ie=fc(),ht=fc(),Ge=fc(),fi=fc(),Bt=function(_,Y){return _===Y&&(S=!0),0},sn="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",on="(?:\\\\[\\da-fA-F]{1,6}"+oe+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",nt="\\["+oe+"*("+on+")(?:"+oe+"*([*^$|!~]?=)"+oe+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+on+"))|)"+oe+"*\\]",qs=":("+on+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+nt+")*)|.*)\\)|)",dt=new RegExp(oe+"+","g"),Yt=new RegExp("^"+oe+"*,"+oe+"*"),Xa=new RegExp("^"+oe+"*([>+~]|"+oe+")"+oe+"*"),wu=new RegExp(oe+"|>"),an=new RegExp(qs),_a=new RegExp("^"+on+"$"),ln={ID:new RegExp("^#("+on+")"),CLASS:new RegExp("^\\.("+on+")"),TAG:new RegExp("^("+on+"|[*])"),ATTR:new RegExp("^"+nt),PSEUDO:new RegExp("^"+qs),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+oe+"*(even|odd|(([+-]|)(\\d*)n|)"+oe+"*(?:([+-]|)"+oe+"*(\\d+)|))"+oe+"*\\)|)","i"),bool:new RegExp("^(?:"+sn+")$","i"),needsContext:new RegExp("^"+oe+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+oe+"*((?:-\\d)?\\d*)"+oe+"*\\)|)(?=[^-]|$)","i")},is=/^(?:input|select|textarea|button)$/i,rs=/^h\d$/i,mr=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,$u=/[+~]/,_n=new RegExp("\\\\[\\da-fA-F]{1,6}"+oe+"?|\\\\([^\\r\\n\\f])","g"),Rn=function(_,Y){var j="0x"+_.slice(1)-65536;return Y||(j<0?String.fromCharCode(j+65536):String.fromCharCode(j>>10|55296,j&1023|56320))},t$=function(){ns()},i$=Oc(function(_){return _.disabled===!0&&H(_,"fieldset")},{dir:"parentNode",next:"legend"});function r$(){try{return Q.activeElement}catch(_){}}try{y.apply(t=n.call(ie.childNodes),ie.childNodes),t[ie.childNodes.length].nodeType}catch(_){y={apply:function(Y,j){Se.apply(Y,n.call(j))},call:function(Y){Se.apply(Y,n.call(arguments,1))}}}function St(_,Y,j,N){var J,pe,ye,_e,ve,et,Ve,Ne=Y&&Y.ownerDocument,tt=Y?Y.nodeType:9;if(j=j||[],typeof _!="string"||!_||tt!==1&&tt!==9&&tt!==11)return j;if(!N&&(ns(Y),Y=Y||Q,R)){if(tt!==11&&(ve=mr.exec(_)))if(J=ve[1]){if(tt===9)if(ye=Y.getElementById(J)){if(ye.id===J)return y.call(j,ye),j}else return j;else if(Ne&&(ye=Ne.getElementById(J))&&St.contains(Y,ye)&&ye.id===J)return y.call(j,ye),j}else{if(ve[2])return y.apply(j,Y.getElementsByTagName(_)),j;if((J=ve[3])&&Y.getElementsByClassName)return y.apply(j,Y.getElementsByClassName(J)),j}if(!fi[_+" "]&&(!z||!z.test(_))){if(Ve=_,Ne=Y,tt===1&&(wu.test(_)||Xa.test(_))){for(Ne=$u.test(_)&&Pu(Y.parentNode)||Y,(Ne!=Y||!b.scope)&&((_e=Y.getAttribute("id"))?_e=d.escapeSelector(_e):Y.setAttribute("id",_e=te)),et=Ra(_),pe=et.length;pe--;)et[pe]=(_e?"#"+_e:":scope")+" "+uc(et[pe]);Ve=et.join(",")}try{return y.apply(j,Ne.querySelectorAll(Ve)),j}catch(Ue){fi(_,!0)}finally{_e===te&&Y.removeAttribute("id")}}}return Eg(_.replace(Xe,"$1"),Y,j,N)}function fc(){var _=[];function Y(j,N){return _.push(j+" ")>u.cacheLength&&delete Y[_.shift()],Y[j+" "]=N}return Y}function Ur(_){return _[te]=!0,_}function Eo(_){var Y=Q.createElement("fieldset");try{return!!_(Y)}catch(j){return!1}finally{Y.parentNode&&Y.parentNode.removeChild(Y),Y=null}}function n$(_){return function(Y){return H(Y,"input")&&Y.type===_}}function s$(_){return function(Y){return(H(Y,"input")||H(Y,"button"))&&Y.type===_}}function Cg(_){return function(Y){return"form"in Y?Y.parentNode&&Y.disabled===!1?"label"in Y?"label"in Y.parentNode?Y.parentNode.disabled===_:Y.disabled===_:Y.isDisabled===_||Y.isDisabled!==!_&&i$(Y)===_:Y.disabled===_:"label"in Y?Y.disabled===_:!1}}function Is(_){return Ur(function(Y){return Y=+Y,Ur(function(j,N){for(var J,pe=_([],j.length,Y),ye=pe.length;ye--;)j[J=pe[ye]]&&(j[J]=!(N[J]=j[J]))})})}function Pu(_){return _&&typeof _.getElementsByTagName!="undefined"&&_}function ns(_){var Y,j=_?_.ownerDocument||_:ie;return j==Q||j.nodeType!==9||!j.documentElement||(Q=j,C=Q.documentElement,R=!d.isXMLDoc(Q),G=C.matches||C.webkitMatchesSelector||C.msMatchesSelector,C.msMatchesSelector&&ie!=Q&&(Y=Q.defaultView)&&Y.top!==Y&&Y.addEventListener("unload",t$),b.getById=Eo(function(N){return C.appendChild(N).id=d.expando,!Q.getElementsByName||!Q.getElementsByName(d.expando).length}),b.disconnectedMatch=Eo(function(N){return G.call(N,"*")}),b.scope=Eo(function(){return Q.querySelectorAll(":scope")}),b.cssHas=Eo(function(){try{return Q.querySelector(":has(*,:jqfake)"),!1}catch(N){return!0}}),b.getById?(u.filter.ID=function(N){var J=N.replace(_n,Rn);return function(pe){return pe.getAttribute("id")===J}},u.find.ID=function(N,J){if(typeof J.getElementById!="undefined"&&R){var pe=J.getElementById(N);return pe?[pe]:[]}}):(u.filter.ID=function(N){var J=N.replace(_n,Rn);return function(pe){var ye=typeof pe.getAttributeNode!="undefined"&&pe.getAttributeNode("id");return ye&&ye.value===J}},u.find.ID=function(N,J){if(typeof J.getElementById!="undefined"&&R){var pe,ye,_e,ve=J.getElementById(N);if(ve){if(pe=ve.getAttributeNode("id"),pe&&pe.value===N)return[ve];for(_e=J.getElementsByName(N),ye=0;ve=_e[ye++];)if(pe=ve.getAttributeNode("id"),pe&&pe.value===N)return[ve]}return[]}}),u.find.TAG=function(N,J){return typeof J.getElementsByTagName!="undefined"?J.getElementsByTagName(N):J.querySelectorAll(N)},u.find.CLASS=function(N,J){if(typeof J.getElementsByClassName!="undefined"&&R)return J.getElementsByClassName(N)},z=[],Eo(function(N){var J;C.appendChild(N).innerHTML="",N.querySelectorAll("[selected]").length||z.push("\\["+oe+"*(?:value|"+sn+")"),N.querySelectorAll("[id~="+te+"-]").length||z.push("~="),N.querySelectorAll("a#"+te+"+*").length||z.push(".#.+[+~]"),N.querySelectorAll(":checked").length||z.push(":checked"),J=Q.createElement("input"),J.setAttribute("type","hidden"),N.appendChild(J).setAttribute("name","D"),C.appendChild(N).disabled=!0,N.querySelectorAll(":disabled").length!==2&&z.push(":enabled",":disabled"),J=Q.createElement("input"),J.setAttribute("name",""),N.appendChild(J),N.querySelectorAll("[name='']").length||z.push("\\["+oe+"*name"+oe+"*="+oe+`*(?:''|"")`)}),b.cssHas||z.push(":has"),z=z.length&&new RegExp(z.join("|")),Bt=function(N,J){if(N===J)return S=!0,0;var pe=!N.compareDocumentPosition-!J.compareDocumentPosition;return pe||(pe=(N.ownerDocument||N)==(J.ownerDocument||J)?N.compareDocumentPosition(J):1,pe&1||!b.sortDetached&&J.compareDocumentPosition(N)===pe?N===Q||N.ownerDocument==ie&&St.contains(ie,N)?-1:J===Q||J.ownerDocument==ie&&St.contains(ie,J)?1:g?a.call(g,N)-a.call(g,J):0:pe&4?-1:1)}),Q}St.matches=function(_,Y){return St(_,null,null,Y)},St.matchesSelector=function(_,Y){if(ns(_),R&&!fi[Y+" "]&&(!z||!z.test(Y)))try{var j=G.call(_,Y);if(j||b.disconnectedMatch||_.document&&_.document.nodeType!==11)return j}catch(N){fi(Y,!0)}return St(Y,Q,null,[_]).length>0},St.contains=function(_,Y){return(_.ownerDocument||_)!=Q&&ns(_),d.contains(_,Y)},St.attr=function(_,Y){(_.ownerDocument||_)!=Q&&ns(_);var j=u.attrHandle[Y.toLowerCase()],N=j&&f.call(u.attrHandle,Y.toLowerCase())?j(_,Y,!R):void 0;return N!==void 0?N:_.getAttribute(Y)},St.error=function(_){throw new Error("Syntax error, unrecognized expression: "+_)},d.uniqueSort=function(_){var Y,j=[],N=0,J=0;if(S=!b.sortStable,g=!b.sortStable&&n.call(_,0),Ee.call(_,Bt),S){for(;Y=_[J++];)Y===_[J]&&(N=j.push(J));for(;N--;)ke.call(_,j[N],1)}return g=null,_},d.fn.uniqueSort=function(){return this.pushStack(d.uniqueSort(n.apply(this)))},u=d.expr={cacheLength:50,createPseudo:Ur,match:ln,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(_){return _[1]=_[1].replace(_n,Rn),_[3]=(_[3]||_[4]||_[5]||"").replace(_n,Rn),_[2]==="~="&&(_[3]=" "+_[3]+" "),_.slice(0,4)},CHILD:function(_){return _[1]=_[1].toLowerCase(),_[1].slice(0,3)==="nth"?(_[3]||St.error(_[0]),_[4]=+(_[4]?_[5]+(_[6]||1):2*(_[3]==="even"||_[3]==="odd")),_[5]=+(_[7]+_[8]||_[3]==="odd")):_[3]&&St.error(_[0]),_},PSEUDO:function(_){var Y,j=!_[6]&&_[2];return ln.CHILD.test(_[0])?null:(_[3]?_[2]=_[4]||_[5]||"":j&&an.test(j)&&(Y=Ra(j,!0))&&(Y=j.indexOf(")",j.length-Y)-j.length)&&(_[0]=_[0].slice(0,Y),_[2]=j.slice(0,Y)),_.slice(0,3))}},filter:{TAG:function(_){var Y=_.replace(_n,Rn).toLowerCase();return _==="*"?function(){return!0}:function(j){return H(j,Y)}},CLASS:function(_){var Y=Ie[_+" "];return Y||(Y=new RegExp("(^|"+oe+")"+_+"("+oe+"|$)"))&&Ie(_,function(j){return Y.test(typeof j.className=="string"&&j.className||typeof j.getAttribute!="undefined"&&j.getAttribute("class")||"")})},ATTR:function(_,Y,j){return function(N){var J=St.attr(N,_);return J==null?Y==="!=":Y?(J+="",Y==="="?J===j:Y==="!="?J!==j:Y==="^="?j&&J.indexOf(j)===0:Y==="*="?j&&J.indexOf(j)>-1:Y==="$="?j&&J.slice(-j.length)===j:Y==="~="?(" "+J.replace(dt," ")+" ").indexOf(j)>-1:Y==="|="?J===j||J.slice(0,j.length+1)===j+"-":!1):!0}},CHILD:function(_,Y,j,N,J){var pe=_.slice(0,3)!=="nth",ye=_.slice(-4)!=="last",_e=Y==="of-type";return N===1&&J===0?function(ve){return!!ve.parentNode}:function(ve,et,Ve){var Ne,tt,Ue,Xt,Vi,bi=pe!==ye?"nextSibling":"previousSibling",gr=ve.parentNode,cn=_e&&ve.nodeName.toLowerCase(),Yo=!Ve&&!_e,Ri=!1;if(gr){if(pe){for(;bi;){for(Ue=ve;Ue=Ue[bi];)if(_e?H(Ue,cn):Ue.nodeType===1)return!1;Vi=bi=_==="only"&&!Vi&&"nextSibling"}return!0}if(Vi=[ye?gr.firstChild:gr.lastChild],ye&&Yo){for(tt=gr[te]||(gr[te]={}),Ne=tt[_]||[],Xt=Ne[0]===q&&Ne[1],Ri=Xt&&Ne[2],Ue=Xt&&gr.childNodes[Xt];Ue=++Xt&&Ue&&Ue[bi]||(Ri=Xt=0)||Vi.pop();)if(Ue.nodeType===1&&++Ri&&Ue===ve){tt[_]=[q,Xt,Ri];break}}else if(Yo&&(tt=ve[te]||(ve[te]={}),Ne=tt[_]||[],Xt=Ne[0]===q&&Ne[1],Ri=Xt),Ri===!1)for(;(Ue=++Xt&&Ue&&Ue[bi]||(Ri=Xt=0)||Vi.pop())&&!((_e?H(Ue,cn):Ue.nodeType===1)&&++Ri&&(Yo&&(tt=Ue[te]||(Ue[te]={}),tt[_]=[q,Ri]),Ue===ve)););return Ri-=J,Ri===N||Ri%N===0&&Ri/N>=0}}},PSEUDO:function(_,Y){var j,N=u.pseudos[_]||u.setFilters[_.toLowerCase()]||St.error("unsupported pseudo: "+_);return N[te]?N(Y):N.length>1?(j=[_,_,"",Y],u.setFilters.hasOwnProperty(_.toLowerCase())?Ur(function(J,pe){for(var ye,_e=N(J,Y),ve=_e.length;ve--;)ye=a.call(J,_e[ve]),J[ye]=!(pe[ye]=_e[ve])}):function(J){return N(J,0,j)}):N}},pseudos:{not:Ur(function(_){var Y=[],j=[],N=_u(_.replace(Xe,"$1"));return N[te]?Ur(function(J,pe,ye,_e){for(var ve,et=N(J,null,_e,[]),Ve=J.length;Ve--;)(ve=et[Ve])&&(J[Ve]=!(pe[Ve]=ve))}):function(J,pe,ye){return Y[0]=J,N(Y,null,ye,j),Y[0]=null,!j.pop()}}),has:Ur(function(_){return function(Y){return St(_,Y).length>0}}),contains:Ur(function(_){return _=_.replace(_n,Rn),function(Y){return(Y.textContent||d.text(Y)).indexOf(_)>-1}}),lang:Ur(function(_){return _a.test(_||"")||St.error("unsupported lang: "+_),_=_.replace(_n,Rn).toLowerCase(),function(Y){var j;do if(j=R?Y.lang:Y.getAttribute("xml:lang")||Y.getAttribute("lang"))return j=j.toLowerCase(),j===_||j.indexOf(_+"-")===0;while((Y=Y.parentNode)&&Y.nodeType===1);return!1}}),target:function(_){var Y=i.location&&i.location.hash;return Y&&Y.slice(1)===_.id},root:function(_){return _===C},focus:function(_){return _===r$()&&Q.hasFocus()&&!!(_.type||_.href||~_.tabIndex)},enabled:Cg(!1),disabled:Cg(!0),checked:function(_){return H(_,"input")&&!!_.checked||H(_,"option")&&!!_.selected},selected:function(_){return _.parentNode&&_.parentNode.selectedIndex,_.selected===!0},empty:function(_){for(_=_.firstChild;_;_=_.nextSibling)if(_.nodeType<6)return!1;return!0},parent:function(_){return!u.pseudos.empty(_)},header:function(_){return rs.test(_.nodeName)},input:function(_){return is.test(_.nodeName)},button:function(_){return H(_,"input")&&_.type==="button"||H(_,"button")},text:function(_){var Y;return H(_,"input")&&_.type==="text"&&((Y=_.getAttribute("type"))==null||Y.toLowerCase()==="text")},first:Is(function(){return[0]}),last:Is(function(_,Y){return[Y-1]}),eq:Is(function(_,Y,j){return[j<0?j+Y:j]}),even:Is(function(_,Y){for(var j=0;jY?N=Y:N=j;--N>=0;)_.push(N);return _}),gt:Is(function(_,Y,j){for(var N=j<0?j+Y:j;++N1?function(Y,j,N){for(var J=_.length;J--;)if(!_[J](Y,j,N))return!1;return!0}:_[0]}function o$(_,Y,j){for(var N=0,J=Y.length;N-1&&(ye[Ve]=!(_e[Ve]=tt))}}else Ue=dc(Ue===_e?Ue.splice(bi,Ue.length):Ue),J?J(null,_e,Ue,et):y.apply(_e,Ue)})}function Xu(_){for(var Y,j,N,J=_.length,pe=u.relative[_[0].type],ye=pe||u.relative[" "],_e=pe?1:0,ve=Oc(function(Ne){return Ne===Y},ye,!0),et=Oc(function(Ne){return a.call(Y,Ne)>-1},ye,!0),Ve=[function(Ne,tt,Ue){var Xt=!pe&&(Ue||tt!=m)||((Y=tt).nodeType?ve(Ne,tt,Ue):et(Ne,tt,Ue));return Y=null,Xt}];_e1&&ku(Ve),_e>1&&uc(_.slice(0,_e-1).concat({value:_[_e-2].type===" "?"*":""})).replace(Xe,"$1"),j,_e0,N=_.length>0,J=function(pe,ye,_e,ve,et){var Ve,Ne,tt,Ue=0,Xt="0",Vi=pe&&[],bi=[],gr=m,cn=pe||N&&u.find.TAG("*",et),Yo=q+=gr==null?1:Math.random()||.1,Ri=cn.length;for(et&&(m=ye==Q||ye||et);Xt!==Ri&&(Ve=cn[Xt])!=null;Xt++){if(N&&Ve){for(Ne=0,!ye&&Ve.ownerDocument!=Q&&(ns(Ve),_e=!R);tt=_[Ne++];)if(tt(Ve,ye||Q,_e)){y.call(ve,Ve);break}et&&(q=Yo)}j&&((Ve=!tt&&Ve)&&Ue--,pe&&Vi.push(Ve))}if(Ue+=Xt,j&&Xt!==Ue){for(Ne=0;tt=Y[Ne++];)tt(Vi,bi,ye,_e);if(pe){if(Ue>0)for(;Xt--;)Vi[Xt]||bi[Xt]||(bi[Xt]=de.call(ve));bi=dc(bi)}y.apply(ve,bi),et&&!pe&&bi.length>0&&Ue+Y.length>1&&d.uniqueSort(ve)}return et&&(q=Yo,m=gr),Vi};return j?Ur(J):J}function _u(_,Y){var j,N=[],J=[],pe=Ge[_+" "];if(!pe){for(Y||(Y=Ra(_)),j=Y.length;j--;)pe=Xu(Y[j]),pe[te]?N.push(pe):J.push(pe);pe=Ge(_,a$(J,N)),pe.selector=_}return pe}function Eg(_,Y,j,N){var J,pe,ye,_e,ve,et=typeof _=="function"&&_,Ve=!N&&Ra(_=et.selector||_);if(j=j||[],Ve.length===1){if(pe=Ve[0]=Ve[0].slice(0),pe.length>2&&(ye=pe[0]).type==="ID"&&Y.nodeType===9&&R&&u.relative[pe[1].type]){if(Y=(u.find.ID(ye.matches[0].replace(_n,Rn),Y)||[])[0],Y)et&&(Y=Y.parentNode);else return j;_=_.slice(pe.shift().value.length)}for(J=ln.needsContext.test(_)?0:pe.length;J--&&(ye=pe[J],!u.relative[_e=ye.type]);)if((ve=u.find[_e])&&(N=ve(ye.matches[0].replace(_n,Rn),$u.test(pe[0].type)&&Pu(Y.parentNode)||Y))){if(pe.splice(J,1),_=N.length&&uc(pe),!_)return y.apply(j,N),j;break}}return(et||_u(_,Ve))(N,Y,!R,j,!Y||$u.test(_)&&Pu(Y.parentNode)||Y),j}b.sortStable=te.split("").sort(Bt).join("")===te,ns(),b.sortDetached=Eo(function(_){return _.compareDocumentPosition(Q.createElement("fieldset"))&1}),d.find=St,d.expr[":"]=d.expr.pseudos,d.unique=d.uniqueSort,St.compile=_u,St.select=Eg,St.setDocument=ns,St.tokenize=Ra,St.escape=d.escapeSelector,St.getText=d.text,St.isXML=d.isXMLDoc,St.selectors=d.expr,St.support=d.support,St.uniqueSort=d.uniqueSort})();var ue=function(c,u,m){for(var g=[],S=m!==void 0;(c=c[u])&&c.nodeType!==9;)if(c.nodeType===1){if(S&&d(c).is(m))break;g.push(c)}return g},qe=function(c,u){for(var m=[];c;c=c.nextSibling)c.nodeType===1&&c!==u&&m.push(c);return m},Be=d.expr.match.needsContext,wt=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function ze(c,u,m){return v(u)?d.grep(c,function(g,S){return!!u.call(g,S,g)!==m}):u.nodeType?d.grep(c,function(g){return g===u!==m}):typeof u!="string"?d.grep(c,function(g){return a.call(u,g)>-1!==m}):d.filter(u,c,m)}d.filter=function(c,u,m){var g=u[0];return m&&(c=":not("+c+")"),u.length===1&&g.nodeType===1?d.find.matchesSelector(g,c)?[g]:[]:d.find.matches(c,d.grep(u,function(S){return S.nodeType===1}))},d.fn.extend({find:function(c){var u,m,g=this.length,S=this;if(typeof c!="string")return this.pushStack(d(c).filter(function(){for(u=0;u1?d.uniqueSort(m):m},filter:function(c){return this.pushStack(ze(this,c||[],!1))},not:function(c){return this.pushStack(ze(this,c||[],!0))},is:function(c){return!!ze(this,typeof c=="string"&&Be.test(c)?d(c):c||[],!1).length}});var Jt,Hi=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,lr=d.fn.init=function(c,u,m){var g,S;if(!c)return this;if(m=m||Jt,typeof c=="string")if(c[0]==="<"&&c[c.length-1]===">"&&c.length>=3?g=[null,c,null]:g=Hi.exec(c),g&&(g[1]||!u))if(g[1]){if(u=u instanceof d?u[0]:u,d.merge(this,d.parseHTML(g[1],u&&u.nodeType?u.ownerDocument||u:X,!0)),wt.test(g[1])&&d.isPlainObject(u))for(g in u)v(this[g])?this[g](u[g]):this.attr(g,u[g]);return this}else return S=X.getElementById(g[2]),S&&(this[0]=S,this.length=1),this;else return!u||u.jquery?(u||m).find(c):this.constructor(u).find(c);else{if(c.nodeType)return this[0]=c,this.length=1,this;if(v(c))return m.ready!==void 0?m.ready(c):c(d)}return d.makeArray(c,this)};lr.prototype=d.fn,Jt=d(X);var en=/^(?:parents|prev(?:Until|All))/,Nn={children:!0,contents:!0,next:!0,prev:!0};d.fn.extend({has:function(c){var u=d(c,this),m=u.length;return this.filter(function(){for(var g=0;g-1:m.nodeType===1&&d.find.matchesSelector(m,c))){y.push(m);break}}return this.pushStack(y.length>1?d.uniqueSort(y):y)},index:function(c){return c?typeof c=="string"?a.call(d(c),this[0]):a.call(this,c.jquery?c[0]:c):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(c,u){return this.pushStack(d.uniqueSort(d.merge(this.get(),d(c,u))))},addBack:function(c){return this.add(c==null?this.prevObject:this.prevObject.filter(c))}});function Xo(c,u){for(;(c=c[u])&&c.nodeType!==1;);return c}d.each({parent:function(c){var u=c.parentNode;return u&&u.nodeType!==11?u:null},parents:function(c){return ue(c,"parentNode")},parentsUntil:function(c,u,m){return ue(c,"parentNode",m)},next:function(c){return Xo(c,"nextSibling")},prev:function(c){return Xo(c,"previousSibling")},nextAll:function(c){return ue(c,"nextSibling")},prevAll:function(c){return ue(c,"previousSibling")},nextUntil:function(c,u,m){return ue(c,"nextSibling",m)},prevUntil:function(c,u,m){return ue(c,"previousSibling",m)},siblings:function(c){return qe((c.parentNode||{}).firstChild,c)},children:function(c){return qe(c.firstChild)},contents:function(c){return c.contentDocument!=null&&r(c.contentDocument)?c.contentDocument:(H(c,"template")&&(c=c.content||c),d.merge([],c.childNodes))}},function(c,u){d.fn[c]=function(m,g){var S=d.map(this,u,m);return c.slice(-5)!=="Until"&&(g=m),g&&typeof g=="string"&&(S=d.filter(g,S)),this.length>1&&(Nn[c]||d.uniqueSort(S),en.test(c)&&S.reverse()),this.pushStack(S)}});var $i=/[^\x20\t\r\n\f]+/g;function wa(c){var u={};return d.each(c.match($i)||[],function(m,g){u[g]=!0}),u}d.Callbacks=function(c){c=typeof c=="string"?wa(c):d.extend({},c);var u,m,g,S,y=[],Q=[],C=-1,R=function(){for(S=S||c.once,g=u=!0;Q.length;C=-1)for(m=Q.shift();++C-1;)y.splice(q,1),q<=C&&C--}),this},has:function(G){return G?d.inArray(G,y)>-1:y.length>0},empty:function(){return y&&(y=[]),this},disable:function(){return S=Q=[],y=m="",this},disabled:function(){return!y},lock:function(){return S=Q=[],!m&&!u&&(y=m=""),this},locked:function(){return!!S},fireWith:function(G,te){return S||(te=te||[],te=[G,te.slice?te.slice():te],Q.push(te),u||R()),this},fire:function(){return z.fireWith(this,arguments),this},fired:function(){return!!g}};return z};function Cr(c){return c}function gt(c){throw c}function Bn(c,u,m,g){var S;try{c&&v(S=c.promise)?S.call(c).done(u).fail(m):c&&v(S=c.then)?S.call(c,u,m):u.apply(void 0,[c].slice(g))}catch(y){m.apply(void 0,[y])}}d.extend({Deferred:function(c){var u=[["notify","progress",d.Callbacks("memory"),d.Callbacks("memory"),2],["resolve","done",d.Callbacks("once memory"),d.Callbacks("once memory"),0,"resolved"],["reject","fail",d.Callbacks("once memory"),d.Callbacks("once memory"),1,"rejected"]],m="pending",g={state:function(){return m},always:function(){return S.done(arguments).fail(arguments),this},catch:function(y){return g.then(null,y)},pipe:function(){var y=arguments;return d.Deferred(function(Q){d.each(u,function(C,R){var z=v(y[R[4]])&&y[R[4]];S[R[1]](function(){var G=z&&z.apply(this,arguments);G&&v(G.promise)?G.promise().progress(Q.notify).done(Q.resolve).fail(Q.reject):Q[R[0]+"With"](this,z?[G]:arguments)})}),y=null}).promise()},then:function(y,Q,C){var R=0;function z(G,te,q,ce){return function(){var Ie=this,ht=arguments,Ge=function(){var Bt,sn;if(!(G=R&&(q!==gt&&(Ie=void 0,ht=[Bt]),te.rejectWith(Ie,ht))}};G?fi():(d.Deferred.getErrorHook?fi.error=d.Deferred.getErrorHook():d.Deferred.getStackHook&&(fi.error=d.Deferred.getStackHook()),i.setTimeout(fi))}}return d.Deferred(function(G){u[0][3].add(z(0,G,v(C)?C:Cr,G.notifyWith)),u[1][3].add(z(0,G,v(y)?y:Cr)),u[2][3].add(z(0,G,v(Q)?Q:gt))}).promise()},promise:function(y){return y!=null?d.extend(y,g):g}},S={};return d.each(u,function(y,Q){var C=Q[2],R=Q[5];g[Q[1]]=C.add,R&&C.add(function(){m=R},u[3-y][2].disable,u[3-y][3].disable,u[0][2].lock,u[0][3].lock),C.add(Q[3].fire),S[Q[0]]=function(){return S[Q[0]+"With"](this===S?void 0:this,arguments),this},S[Q[0]+"With"]=C.fireWith}),g.promise(S),c&&c.call(S,S),S},when:function(c){var u=arguments.length,m=u,g=Array(m),S=n.call(arguments),y=d.Deferred(),Q=function(C){return function(R){g[C]=this,S[C]=arguments.length>1?n.call(arguments):R,--u||y.resolveWith(g,S)}};if(u<=1&&(Bn(c,y.done(Q(m)).resolve,y.reject,!u),y.state()==="pending"||v(S[m]&&S[m].then)))return y.then();for(;m--;)Bn(S[m],Q(m),y.reject);return y.promise()}});var vt=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;d.Deferred.exceptionHook=function(c,u){i.console&&i.console.warn&&c&&vt.test(c.name)&&i.console.warn("jQuery.Deferred exception: "+c.message,c.stack,u)},d.readyException=function(c){i.setTimeout(function(){throw c})};var vn=d.Deferred();d.fn.ready=function(c){return vn.then(c).catch(function(u){d.readyException(u)}),this},d.extend({isReady:!1,readyWait:1,ready:function(c){(c===!0?--d.readyWait:d.isReady)||(d.isReady=!0,!(c!==!0&&--d.readyWait>0)&&vn.resolveWith(X,[d]))}}),d.ready.then=vn.then;function rt(){X.removeEventListener("DOMContentLoaded",rt),i.removeEventListener("load",rt),d.ready()}X.readyState==="complete"||X.readyState!=="loading"&&!X.documentElement.doScroll?i.setTimeout(d.ready):(X.addEventListener("DOMContentLoaded",rt),i.addEventListener("load",rt));var ai=function(c,u,m,g,S,y,Q){var C=0,R=c.length,z=m==null;if(I(m)==="object"){S=!0;for(C in m)ai(c,u,C,m[C],!0,y,Q)}else if(g!==void 0&&(S=!0,v(g)||(Q=!0),z&&(Q?(u.call(c,g),u=null):(z=u,u=function(G,te,q){return z.call(d(G),q)})),u))for(;C1,null,!0)},removeData:function(c){return this.each(function(){Tt.remove(this,c)})}}),d.extend({queue:function(c,u,m){var g;if(c)return u=(u||"fx")+"queue",g=we.get(c,u),m&&(!g||Array.isArray(m)?g=we.access(c,u,d.makeArray(m)):g.push(m)),g||[]},dequeue:function(c,u){u=u||"fx";var m=d.queue(c,u),g=m.length,S=m.shift(),y=d._queueHooks(c,u),Q=function(){d.dequeue(c,u)};S==="inprogress"&&(S=m.shift(),g--),S&&(u==="fx"&&m.unshift("inprogress"),delete y.stop,S.call(c,Q,y)),!g&&y&&y.empty.fire()},_queueHooks:function(c,u){var m=u+"queueHooks";return we.get(c,m)||we.access(c,m,{empty:d.Callbacks("once memory").add(function(){we.remove(c,[u+"queue",m])})})}}),d.fn.extend({queue:function(c,u){var m=2;return typeof c!="string"&&(u=c,c="fx",m--),arguments.length\x20\t\r\n\f]*)/i,Es=/^$|^module$|\/(?:java|ecma)script/i;(function(){var c=X.createDocumentFragment(),u=c.appendChild(X.createElement("div")),m=X.createElement("input");m.setAttribute("type","radio"),m.setAttribute("checked","checked"),m.setAttribute("name","t"),u.appendChild(m),b.checkClone=u.cloneNode(!0).cloneNode(!0).lastChild.checked,u.innerHTML="",b.noCloneChecked=!!u.cloneNode(!0).lastChild.defaultValue,u.innerHTML="",b.option=!!u.lastChild})();var It={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};It.tbody=It.tfoot=It.colgroup=It.caption=It.thead,It.th=It.td,b.option||(It.optgroup=It.option=[1,""]);function Nt(c,u){var m;return typeof c.getElementsByTagName!="undefined"?m=c.getElementsByTagName(u||"*"):typeof c.querySelectorAll!="undefined"?m=c.querySelectorAll(u||"*"):m=[],u===void 0||u&&H(c,u)?d.merge([c],m):m}function rn(c,u){for(var m=0,g=c.length;m-1){S&&S.push(y);continue}if(z=fr(y),Q=Nt(te.appendChild(y),"script"),z&&rn(Q),m)for(G=0;y=Q[G++];)Es.test(y.type||"")&&m.push(y)}return te}var Zr=/^([^.]*)(?:\.(.+)|)/;function ur(){return!0}function Or(){return!1}function Ys(c,u,m,g,S,y){var Q,C;if(typeof u=="object"){typeof m!="string"&&(g=g||m,m=void 0);for(C in u)Ys(c,C,m,g,u[C],y);return c}if(g==null&&S==null?(S=m,g=m=void 0):S==null&&(typeof m=="string"?(S=g,g=void 0):(S=g,g=m,m=void 0)),S===!1)S=Or;else if(!S)return c;return y===1&&(Q=S,S=function(R){return d().off(R),Q.apply(this,arguments)},S.guid=Q.guid||(Q.guid=d.guid++)),c.each(function(){d.event.add(this,u,S,g,m)})}d.event={global:{},add:function(c,u,m,g,S){var y,Q,C,R,z,G,te,q,ce,Ie,ht,Ge=we.get(c);if(cr(c))for(m.handler&&(y=m,m=y.handler,S=y.selector),S&&d.find.matchesSelector(Ti,S),m.guid||(m.guid=d.guid++),(R=Ge.events)||(R=Ge.events=Object.create(null)),(Q=Ge.handle)||(Q=Ge.handle=function(fi){return typeof d!="undefined"&&d.event.triggered!==fi.type?d.event.dispatch.apply(c,arguments):void 0}),u=(u||"").match($i)||[""],z=u.length;z--;)C=Zr.exec(u[z])||[],ce=ht=C[1],Ie=(C[2]||"").split(".").sort(),ce&&(te=d.event.special[ce]||{},ce=(S?te.delegateType:te.bindType)||ce,te=d.event.special[ce]||{},G=d.extend({type:ce,origType:ht,data:g,handler:m,guid:m.guid,selector:S,needsContext:S&&d.expr.match.needsContext.test(S),namespace:Ie.join(".")},y),(q=R[ce])||(q=R[ce]=[],q.delegateCount=0,(!te.setup||te.setup.call(c,g,Ie,Q)===!1)&&c.addEventListener&&c.addEventListener(ce,Q)),te.add&&(te.add.call(c,G),G.handler.guid||(G.handler.guid=m.guid)),S?q.splice(q.delegateCount++,0,G):q.push(G),d.event.global[ce]=!0)},remove:function(c,u,m,g,S){var y,Q,C,R,z,G,te,q,ce,Ie,ht,Ge=we.hasData(c)&&we.get(c);if(!(!Ge||!(R=Ge.events))){for(u=(u||"").match($i)||[""],z=u.length;z--;){if(C=Zr.exec(u[z])||[],ce=ht=C[1],Ie=(C[2]||"").split(".").sort(),!ce){for(ce in R)d.event.remove(c,ce+u[z],m,g,!0);continue}for(te=d.event.special[ce]||{},ce=(g?te.delegateType:te.bindType)||ce,q=R[ce]||[],C=C[2]&&new RegExp("(^|\\.)"+Ie.join("\\.(?:.*\\.|)")+"(\\.|$)"),Q=y=q.length;y--;)G=q[y],(S||ht===G.origType)&&(!m||m.guid===G.guid)&&(!C||C.test(G.namespace))&&(!g||g===G.selector||g==="**"&&G.selector)&&(q.splice(y,1),G.selector&&q.delegateCount--,te.remove&&te.remove.call(c,G));Q&&!q.length&&((!te.teardown||te.teardown.call(c,Ie,Ge.handle)===!1)&&d.removeEvent(c,ce,Ge.handle),delete R[ce])}d.isEmptyObject(R)&&we.remove(c,"handle events")}},dispatch:function(c){var u,m,g,S,y,Q,C=new Array(arguments.length),R=d.event.fix(c),z=(we.get(this,"events")||Object.create(null))[R.type]||[],G=d.event.special[R.type]||{};for(C[0]=R,u=1;u=1)){for(;z!==this;z=z.parentNode||this)if(z.nodeType===1&&!(c.type==="click"&&z.disabled===!0)){for(y=[],Q={},m=0;m-1:d.find(S,this,null,[z]).length),Q[S]&&y.push(g);y.length&&C.push({elem:z,handlers:y})}}return z=this,R\s*$/g;function _o(c,u){return H(c,"table")&&H(u.nodeType!==11?u:u.firstChild,"tr")&&d(c).children("tbody")[0]||c}function Pn(c){return c.type=(c.getAttribute("type")!==null)+"/"+c.type,c}function $a(c){return(c.type||"").slice(0,5)==="true/"?c.type=c.type.slice(5):c.removeAttribute("type"),c}function Ro(c,u){var m,g,S,y,Q,C,R;if(u.nodeType===1){if(we.hasData(c)&&(y=we.get(c),R=y.events,R)){we.remove(u,"handle events");for(S in R)for(m=0,g=R[S].length;m1&&typeof ce=="string"&&!b.checkClone&&Us.test(ce))return c.each(function(ht){var Ge=c.eq(ht);Ie&&(u[0]=ce.call(this,ht,Ge.html())),_i(Ge,u,m,g)});if(te&&(S=Xi(u,c[0].ownerDocument,!1,c,g),y=S.firstChild,S.childNodes.length===1&&(S=y),y||g)){for(Q=d.map(Nt(S,"script"),Pn),C=Q.length;G0&&rn(Q,!R&&Nt(c,"script")),C},cleanData:function(c){for(var u,m,g,S=d.event.special,y=0;(m=c[y])!==void 0;y++)if(cr(m)){if(u=m[we.expando]){if(u.events)for(g in u.events)S[g]?d.event.remove(m,g):d.removeEvent(m,g,u.handle);m[we.expando]=void 0}m[Tt.expando]&&(m[Tt.expando]=void 0)}}}),d.fn.extend({detach:function(c){return Co(this,c,!0)},remove:function(c){return Co(this,c)},text:function(c){return ai(this,function(u){return u===void 0?d.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=u)})},null,c,arguments.length)},append:function(){return _i(this,arguments,function(c){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var u=_o(this,c);u.appendChild(c)}})},prepend:function(){return _i(this,arguments,function(c){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var u=_o(this,c);u.insertBefore(c,u.firstChild)}})},before:function(){return _i(this,arguments,function(c){this.parentNode&&this.parentNode.insertBefore(c,this)})},after:function(){return _i(this,arguments,function(c){this.parentNode&&this.parentNode.insertBefore(c,this.nextSibling)})},empty:function(){for(var c,u=0;(c=this[u])!=null;u++)c.nodeType===1&&(d.cleanData(Nt(c,!1)),c.textContent="");return this},clone:function(c,u){return c=c==null?!1:c,u=u==null?c:u,this.map(function(){return d.clone(this,c,u)})},html:function(c){return ai(this,function(u){var m=this[0]||{},g=0,S=this.length;if(u===void 0&&m.nodeType===1)return m.innerHTML;if(typeof u=="string"&&!Zs.test(u)&&!It[(As.exec(u)||["",""])[1].toLowerCase()]){u=d.htmlPrefilter(u);try{for(;g=0&&(R+=Math.max(0,Math.ceil(c["offset"+u[0].toUpperCase()+u.slice(1)]-y-R-C-.5))||0),R+z}function ts(c,u,m){var g=Tn(c),S=!b.boxSizingReliable()||m,y=S&&d.css(c,"boxSizing",!1,g)==="border-box",Q=y,C=Xn(c,u,g),R="offset"+u[0].toUpperCase()+u.slice(1);if(es.test(C)){if(!m)return C;C="auto"}return(!b.boxSizingReliable()&&y||!b.reliableTrDimensions()&&H(c,"tr")||C==="auto"||!parseFloat(C)&&d.css(c,"display",!1,g)==="inline")&&c.getClientRects().length&&(y=d.css(c,"boxSizing",!1,g)==="border-box",Q=R in c,Q&&(C=c[R])),C=parseFloat(C)||0,C+pr(c,u,m||(y?"border":"content"),Q,g,C)+"px"}d.extend({cssHooks:{opacity:{get:function(c,u){if(u){var m=Xn(c,"opacity");return m===""?"1":m}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(c,u,m,g){if(!(!c||c.nodeType===3||c.nodeType===8||!c.style)){var S,y,Q,C=ei(u),R=kn.test(u),z=c.style;if(R||(u=Vs(C)),Q=d.cssHooks[u]||d.cssHooks[C],m!==void 0){if(y=typeof m,y==="string"&&(S=ki.exec(m))&&S[1]&&(m=Kn(c,u,S),y="number"),m==null||m!==m)return;y==="number"&&!R&&(m+=S&&S[3]||(d.cssNumber[C]?"":"px")),!b.clearCloneStyle&&m===""&&u.indexOf("background")===0&&(z[u]="inherit"),(!Q||!("set"in Q)||(m=Q.set(c,m,g))!==void 0)&&(R?z.setProperty(u,m):z[u]=m)}else return Q&&"get"in Q&&(S=Q.get(c,!1,g))!==void 0?S:z[u]}},css:function(c,u,m,g){var S,y,Q,C=ei(u),R=kn.test(u);return R||(u=Vs(C)),Q=d.cssHooks[u]||d.cssHooks[C],Q&&"get"in Q&&(S=Q.get(c,!0,m)),S===void 0&&(S=Xn(c,u,g)),S==="normal"&&u in Ws&&(S=Ws[u]),m===""||m?(y=parseFloat(S),m===!0||isFinite(y)?y||0:S):S}}),d.each(["height","width"],function(c,u){d.cssHooks[u]={get:function(m,g,S){if(g)return dr.test(d.css(m,"display"))&&(!m.getClientRects().length||!m.getBoundingClientRect().width)?Ls(m,Ds,function(){return ts(m,u,S)}):ts(m,u,S)},set:function(m,g,S){var y,Q=Tn(m),C=!b.scrollboxSize()&&Q.position==="absolute",R=C||S,z=R&&d.css(m,"boxSizing",!1,Q)==="border-box",G=S?pr(m,u,S,z,Q):0;return z&&C&&(G-=Math.ceil(m["offset"+u[0].toUpperCase()+u.slice(1)]-parseFloat(Q[u])-pr(m,u,"border",!1,Q)-.5)),G&&(y=ki.exec(g))&&(y[3]||"px")!=="px"&&(m.style[u]=g,g=d.css(m,u)),js(m,g,G)}}}),d.cssHooks.marginLeft=Ao(b.reliableMarginLeft,function(c,u){if(u)return(parseFloat(Xn(c,"marginLeft"))||c.getBoundingClientRect().left-Ls(c,{marginLeft:0},function(){return c.getBoundingClientRect().left}))+"px"}),d.each({margin:"",padding:"",border:"Width"},function(c,u){d.cssHooks[c+u]={expand:function(m){for(var g=0,S={},y=typeof m=="string"?m.split(" "):[m];g<4;g++)S[c+li[g]+u]=y[g]||y[g-2]||y[0];return S}},c!=="margin"&&(d.cssHooks[c+u].set=js)}),d.fn.extend({css:function(c,u){return ai(this,function(m,g,S){var y,Q,C={},R=0;if(Array.isArray(g)){for(y=Tn(m),Q=g.length;R1)}});function zt(c,u,m,g,S){return new zt.prototype.init(c,u,m,g,S)}d.Tween=zt,zt.prototype={constructor:zt,init:function(c,u,m,g,S,y){this.elem=c,this.prop=m,this.easing=S||d.easing._default,this.options=u,this.start=this.now=this.cur(),this.end=g,this.unit=y||(d.cssNumber[m]?"":"px")},cur:function(){var c=zt.propHooks[this.prop];return c&&c.get?c.get(this):zt.propHooks._default.get(this)},run:function(c){var u,m=zt.propHooks[this.prop];return this.options.duration?this.pos=u=d.easing[this.easing](c,this.options.duration*c,0,1,this.options.duration):this.pos=u=c,this.now=(this.end-this.start)*u+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),m&&m.set?m.set(this):zt.propHooks._default.set(this),this}},zt.prototype.init.prototype=zt.prototype,zt.propHooks={_default:{get:function(c){var u;return c.elem.nodeType!==1||c.elem[c.prop]!=null&&c.elem.style[c.prop]==null?c.elem[c.prop]:(u=d.css(c.elem,c.prop,""),!u||u==="auto"?0:u)},set:function(c){d.fx.step[c.prop]?d.fx.step[c.prop](c):c.elem.nodeType===1&&(d.cssHooks[c.prop]||c.elem.style[Vs(c.prop)]!=null)?d.style(c.elem,c.prop,c.now+c.unit):c.elem[c.prop]=c.now}}},zt.propHooks.scrollTop=zt.propHooks.scrollLeft={set:function(c){c.elem.nodeType&&c.elem.parentNode&&(c.elem[c.prop]=c.now)}},d.easing={linear:function(c){return c},swing:function(c){return .5-Math.cos(c*Math.PI)/2},_default:"swing"},d.fx=zt.prototype.init,d.fx.step={};var w,A,T=/^(?:toggle|show|hide)$/,U=/queueHooks$/;function V(){A&&(X.hidden===!1&&i.requestAnimationFrame?i.requestAnimationFrame(V):i.setTimeout(V,d.fx.interval),d.fx.tick())}function Z(){return i.setTimeout(function(){w=void 0}),w=Date.now()}function K(c,u){var m,g=0,S={height:c};for(u=u?1:0;g<4;g+=2-u)m=li[g],S["margin"+m]=S["padding"+m]=c;return u&&(S.opacity=S.width=c),S}function se(c,u,m){for(var g,S=(le.tweeners[u]||[]).concat(le.tweeners["*"]),y=0,Q=S.length;y1)},removeAttr:function(c){return this.each(function(){d.removeAttr(this,c)})}}),d.extend({attr:function(c,u,m){var g,S,y=c.nodeType;if(!(y===3||y===8||y===2)){if(typeof c.getAttribute=="undefined")return d.prop(c,u,m);if((y!==1||!d.isXMLDoc(c))&&(S=d.attrHooks[u.toLowerCase()]||(d.expr.match.bool.test(u)?Te:void 0)),m!==void 0){if(m===null){d.removeAttr(c,u);return}return S&&"set"in S&&(g=S.set(c,m,u))!==void 0?g:(c.setAttribute(u,m+""),m)}return S&&"get"in S&&(g=S.get(c,u))!==null?g:(g=d.find.attr(c,u),g==null?void 0:g)}},attrHooks:{type:{set:function(c,u){if(!b.radioValue&&u==="radio"&&H(c,"input")){var m=c.value;return c.setAttribute("type",u),m&&(c.value=m),u}}}},removeAttr:function(c,u){var m,g=0,S=u&&u.match($i);if(S&&c.nodeType===1)for(;m=S[g++];)c.removeAttribute(m)}}),Te={set:function(c,u,m){return u===!1?d.removeAttr(c,m):c.setAttribute(m,m),m}},d.each(d.expr.match.bool.source.match(/\w+/g),function(c,u){var m=We[u]||d.find.attr;We[u]=function(g,S,y){var Q,C,R=S.toLowerCase();return y||(C=We[R],We[R]=Q,Q=m(g,S,y)!=null?R:null,We[R]=C),Q}});var Je=/^(?:input|select|textarea|button)$/i,lt=/^(?:a|area)$/i;d.fn.extend({prop:function(c,u){return ai(this,d.prop,c,u,arguments.length>1)},removeProp:function(c){return this.each(function(){delete this[d.propFix[c]||c]})}}),d.extend({prop:function(c,u,m){var g,S,y=c.nodeType;if(!(y===3||y===8||y===2))return(y!==1||!d.isXMLDoc(c))&&(u=d.propFix[u]||u,S=d.propHooks[u]),m!==void 0?S&&"set"in S&&(g=S.set(c,m,u))!==void 0?g:c[u]=m:S&&"get"in S&&(g=S.get(c,u))!==null?g:c[u]},propHooks:{tabIndex:{get:function(c){var u=d.find.attr(c,"tabindex");return u?parseInt(u,10):Je.test(c.nodeName)||lt.test(c.nodeName)&&c.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),b.optSelected||(d.propHooks.selected={get:function(c){var u=c.parentNode;return u&&u.parentNode&&u.parentNode.selectedIndex,null},set:function(c){var u=c.parentNode;u&&(u.selectedIndex,u.parentNode&&u.parentNode.selectedIndex)}}),d.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){d.propFix[this.toLowerCase()]=this});function re(c){var u=c.match($i)||[];return u.join(" ")}function P(c){return c.getAttribute&&c.getAttribute("class")||""}function D(c){return Array.isArray(c)?c:typeof c=="string"?c.match($i)||[]:[]}d.fn.extend({addClass:function(c){var u,m,g,S,y,Q;return v(c)?this.each(function(C){d(this).addClass(c.call(this,C,P(this)))}):(u=D(c),u.length?this.each(function(){if(g=P(this),m=this.nodeType===1&&" "+re(g)+" ",m){for(y=0;y-1;)m=m.replace(" "+S+" "," ");Q=re(m),g!==Q&&this.setAttribute("class",Q)}}):this):this.attr("class","")},toggleClass:function(c,u){var m,g,S,y,Q=typeof c,C=Q==="string"||Array.isArray(c);return v(c)?this.each(function(R){d(this).toggleClass(c.call(this,R,P(this),u),u)}):typeof u=="boolean"&&C?u?this.addClass(c):this.removeClass(c):(m=D(c),this.each(function(){if(C)for(y=d(this),S=0;S-1)return!0;return!1}});var ne=/\r/g;d.fn.extend({val:function(c){var u,m,g,S=this[0];return arguments.length?(g=v(c),this.each(function(y){var Q;this.nodeType===1&&(g?Q=c.call(this,y,d(this).val()):Q=c,Q==null?Q="":typeof Q=="number"?Q+="":Array.isArray(Q)&&(Q=d.map(Q,function(C){return C==null?"":C+""})),u=d.valHooks[this.type]||d.valHooks[this.nodeName.toLowerCase()],(!u||!("set"in u)||u.set(this,Q,"value")===void 0)&&(this.value=Q))})):S?(u=d.valHooks[S.type]||d.valHooks[S.nodeName.toLowerCase()],u&&"get"in u&&(m=u.get(S,"value"))!==void 0?m:(m=S.value,typeof m=="string"?m.replace(ne,""):m==null?"":m)):void 0}}),d.extend({valHooks:{option:{get:function(c){var u=d.find.attr(c,"value");return u!=null?u:re(d.text(c))}},select:{get:function(c){var u,m,g,S=c.options,y=c.selectedIndex,Q=c.type==="select-one",C=Q?null:[],R=Q?y+1:S.length;for(y<0?g=R:g=Q?y:0;g-1)&&(m=!0);return m||(c.selectedIndex=-1),y}}}}),d.each(["radio","checkbox"],function(){d.valHooks[this]={set:function(c,u){if(Array.isArray(u))return c.checked=d.inArray(d(c).val(),u)>-1}},b.checkOn||(d.valHooks[this].get=function(c){return c.getAttribute("value")===null?"on":c.value})});var xe=i.location,Re={guid:Date.now()},Le=/\?/;d.parseXML=function(c){var u,m;if(!c||typeof c!="string")return null;try{u=new i.DOMParser().parseFromString(c,"text/xml")}catch(g){}return m=u&&u.getElementsByTagName("parsererror")[0],(!u||m)&&d.error("Invalid XML: "+(m?d.map(m.childNodes,function(g){return g.textContent}).join(` +import{a as Qc,b as Uo,c as l$}from"./chunk-MLM7TUHJ.js";import{a as qg}from"./chunk-LNOKARBD.js";import{a as xc}from"./chunk-A7SWO6EA.js";import{a as jg,b as Ig,c as c$}from"./chunk-C4IRIAIT.js";import{D as Lu,J as Mu,t as Dg,u as Wg}from"./chunk-H6N7O6L2.js";import{A as Bs,E as br,F as Zu,G as Zo,I as yc,J as Lg,K as Uu,T as zu,V as Mg,a as hn,b as Aa,ba as vc,ca as Vg,d as Si,da as Ya,e as Au,f as yi,g as pt,h as Eu,i as Yg,k as Zg,m as mc,n as gc,o as bc,p as Ns,q as Ug,t as Sc,w as zg,x as Yu,y as Ea,z as Ci}from"./chunk-H3X4EDTW.js";import{a as ri,b as pc,c as Ca,d as Ru,e as Cu}from"./chunk-KT7KMEQC.js";var Du=Ru((Ng,Vu)=>{(function(i){if(typeof Ng=="object"&&typeof Vu!="undefined")Vu.exports=i();else if(typeof define=="function"&&define.amd)define([],i);else{var e;typeof window!="undefined"?e=window:typeof global!="undefined"?e=global:typeof self!="undefined"?e=self:e=this,e.localforage=i()}})(function(){var i,e,t;return(function r(n,s,o){function a(f,O){if(!s[f]){if(!n[f]){var p=typeof Ca=="function"&&Ca;if(!O&&p)return p(f,!0);if(l)return l(f,!0);var b=new Error("Cannot find module '"+f+"'");throw b.code="MODULE_NOT_FOUND",b}var v=s[f]={exports:{}};n[f][0].call(v.exports,function(k){var X=n[f][1][k];return a(X||k)},v,v.exports,r,n,s,o)}return s[f].exports}for(var l=typeof Ca=="function"&&Ca,h=0;h=43)}}).catch(function(){return!1})}function de(w){return typeof F=="boolean"?p.resolve(F):H(w).then(function(A){return F=A,F})}function Ee(w){var A=I[w.name],T={};T.promise=new p(function(U,V){T.resolve=U,T.reject=V}),A.deferredOperations.push(T),A.dbReady?A.dbReady=A.dbReady.then(function(){return T.promise}):A.dbReady=T.promise}function ke(w){var A=I[w.name],T=A.deferredOperations.pop();if(T)return T.resolve(),T.promise}function oe(w,A){var T=I[w.name],U=T.deferredOperations.pop();if(U)return U.reject(A),U.promise}function Xe(w,A){return new p(function(T,U){if(I[w.name]=I[w.name]||Jt(),w.db)if(A)Ee(w),w.db.close();else return T(w.db);var V=[w.name];A&&V.push(w.version);var Z=h.open.apply(h,V);A&&(Z.onupgradeneeded=function(K){var se=Z.result;try{se.createObjectStore(w.storeName),K.oldVersion<=1&&se.createObjectStore(E)}catch(he){if(he.name==="ConstraintError")console.warn('The database "'+w.name+'" has been upgraded from version '+K.oldVersion+" to version "+K.newVersion+', but the storage "'+w.storeName+'" already exists.');else throw he}}),Z.onerror=function(K){K.preventDefault(),U(Z.error)},Z.onsuccess=function(){var K=Z.result;K.onversionchange=function(se){se.target.close()},T(K),ke(w)}})}function De(w){return Xe(w,!1)}function He(w){return Xe(w,!0)}function ie(w,A){if(!w.db)return!0;var T=!w.db.objectStoreNames.contains(w.storeName),U=w.versionw.db.version;if(U&&(w.version!==A&&console.warn('The database "'+w.name+`" can't be downgraded from version `+w.db.version+" to version "+w.version+"."),w.version=w.db.version),V||T){if(T){var Z=w.db.version+1;Z>w.version&&(w.version=Z)}return!0}return!1}function Se(w){return new p(function(A,T){var U=new FileReader;U.onerror=T,U.onloadend=function(V){var Z=btoa(V.target.result||"");A({__local_forage_encoded_blob:!0,data:Z,type:w.type})},U.readAsBinaryString(w)})}function ue(w){var A=W(atob(w.data));return O([A],{type:w.type})}function qe(w){return w&&w.__local_forage_encoded_blob}function Be(w){var A=this,T=A._initReady().then(function(){var U=I[A._dbInfo.name];if(U&&U.dbReady)return U.dbReady});return v(T,w,w),T}function wt(w){Ee(w);for(var A=I[w.name],T=A.forages,U=0;U0&&(!w.db||Z.name==="InvalidStateError"||Z.name==="NotFoundError"))return p.resolve().then(function(){if(!w.db||Z.name==="NotFoundError"&&!w.db.objectStoreNames.contains(w.storeName)&&w.version<=w.db.version)return w.db&&(w.version=w.db.version+1),He(w)}).then(function(){return wt(w).then(function(){ze(w,A,T,U-1)})}).catch(T);T(Z)}}function Jt(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}function Hi(w){var A=this,T={db:null};if(w)for(var U in w)T[U]=w[U];var V=I[T.name];V||(V=Jt(),I[T.name]=V),V.forages.push(A),A._initReady||(A._initReady=A.ready,A.ready=Be);var Z=[];function K(){return p.resolve()}for(var se=0;se>4,le[V++]=(K&15)<<4|se>>2,le[V++]=(se&3)<<6|he&63;return fe}function Hn(w){var A=new Uint8Array(w),T="",U;for(U=0;U>2],T+=rt[(A[U]&3)<<4|A[U+1]>>4],T+=rt[(A[U+1]&15)<<2|A[U+2]>>6],T+=rt[A[U+2]&63];return A.length%3===2?T=T.substring(0,T.length-1)+"=":A.length%3===1&&(T=T.substring(0,T.length-2)+"=="),T}function wn(w,A){var T="";if(w&&(T=Ti.call(w)),w&&(T==="[object ArrayBuffer]"||w.buffer&&Ti.call(w.buffer)==="[object ArrayBuffer]")){var U,V=Pi;w instanceof ArrayBuffer?(U=w,V+=ei):(U=w.buffer,T==="[object Int8Array]"?V+=Ar:T==="[object Uint8Array]"?V+=we:T==="[object Uint8ClampedArray]"?V+=Tt:T==="[object Int16Array]"?V+=hr:T==="[object Uint16Array]"?V+=xn:T==="[object Int32Array]"?V+=Fn:T==="[object Uint32Array]"?V+=tn:T==="[object Float32Array]"?V+=Qn:T==="[object Float64Array]"?V+=ki:A(new Error("Failed to get type for BinaryArray"))),A(V+Hn(U))}else if(T==="[object Blob]"){var Z=new FileReader;Z.onload=function(){var K=ai+w.type+"~"+Hn(this.result);A(Pi+cr+K)},Z.readAsArrayBuffer(w)}else try{A(JSON.stringify(w))}catch(K){console.error("Couldn't convert value into a JSON string: ",w),A(null,K)}}function Kn(w){if(w.substring(0,Gn)!==Pi)return JSON.parse(w);var A=w.substring(li),T=w.substring(Gn,li),U;if(T===cr&&Cs.test(A)){var V=A.match(Cs);U=V[1],A=A.substring(V[0].length)}var Z=fr(A);switch(T){case ei:return Z;case cr:return O([Z],{type:U});case Ar:return new Int8Array(Z);case we:return new Uint8Array(Z);case Tt:return new Uint8ClampedArray(Z);case hr:return new Int16Array(Z);case xn:return new Uint16Array(Z);case Fn:return new Int32Array(Z);case tn:return new Uint32Array(Z);case Qn:return new Float32Array(Z);case ki:return new Float64Array(Z);default:throw new Error("Unkown type: "+T)}}var Er={serialize:wn,deserialize:Kn,stringToBuffer:fr,bufferToString:Hn};function Yr(w,A,T,U){w.executeSql("CREATE TABLE IF NOT EXISTS "+A.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],T,U)}function qt(w){var A=this,T={db:null};if(w)for(var U in w)T[U]=typeof w[U]!="string"?w[U].toString():w[U];var V=new p(function(Z,K){try{T.db=openDatabase(T.name,String(T.version),T.description,T.size)}catch(se){return K(se)}T.db.transaction(function(se){Yr(se,T,function(){A._dbInfo=T,Z()},function(he,fe){K(fe)})},K)});return T.serializer=Er,V}function ti(w,A,T,U,V,Z){w.executeSql(T,U,V,function(K,se){se.code===se.SYNTAX_ERR?K.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[A.storeName],function(he,fe){fe.rows.length?Z(he,se):Yr(he,A,function(){he.executeSql(T,U,V,Z)},Z)},Z):Z(K,se)},Z)}function As(w,A){var T=this;w=k(w);var U=new p(function(V,Z){T.ready().then(function(){var K=T._dbInfo;K.db.transaction(function(se){ti(se,K,"SELECT * FROM "+K.storeName+" WHERE key = ? LIMIT 1",[w],function(he,fe){var le=fe.rows.length?fe.rows.item(0).value:null;le&&(le=K.serializer.deserialize(le)),V(le)},function(he,fe){Z(fe)})})}).catch(Z)});return b(U,A),U}function Es(w,A){var T=this,U=new p(function(V,Z){T.ready().then(function(){var K=T._dbInfo;K.db.transaction(function(se){ti(se,K,"SELECT * FROM "+K.storeName,[],function(he,fe){for(var le=fe.rows,Te=le.length,We=0;We0){K(It.apply(V,[w,he,T,U-1]));return}se(We)}})})}).catch(se)});return b(Z,T),Z}function Nt(w,A,T){return It.apply(this,[w,A,T,1])}function rn(w,A){var T=this;w=k(w);var U=new p(function(V,Z){T.ready().then(function(){var K=T._dbInfo;K.db.transaction(function(se){ti(se,K,"DELETE FROM "+K.storeName+" WHERE key = ?",[w],function(){V()},function(he,fe){Z(fe)})})}).catch(Z)});return b(U,A),U}function Jn(w){var A=this,T=new p(function(U,V){A.ready().then(function(){var Z=A._dbInfo;Z.db.transaction(function(K){ti(K,Z,"DELETE FROM "+Z.storeName,[],function(){U()},function(se,he){V(he)})})}).catch(V)});return b(T,w),T}function Xi(w){var A=this,T=new p(function(U,V){A.ready().then(function(){var Z=A._dbInfo;Z.db.transaction(function(K){ti(K,Z,"SELECT COUNT(key) as c FROM "+Z.storeName,[],function(se,he){var fe=he.rows.item(0).c;U(fe)},function(se,he){V(he)})})}).catch(V)});return b(T,w),T}function Zr(w,A){var T=this,U=new p(function(V,Z){T.ready().then(function(){var K=T._dbInfo;K.db.transaction(function(se){ti(se,K,"SELECT key FROM "+K.storeName+" WHERE id = ? LIMIT 1",[w+1],function(he,fe){var le=fe.rows.length?fe.rows.item(0).key:null;V(le)},function(he,fe){Z(fe)})})}).catch(Z)});return b(U,A),U}function ur(w){var A=this,T=new p(function(U,V){A.ready().then(function(){var Z=A._dbInfo;Z.db.transaction(function(K){ti(K,Z,"SELECT key FROM "+Z.storeName,[],function(se,he){for(var fe=[],le=0;le '__WebKitDatabaseInfoTable__'",[],function(V,Z){for(var K=[],se=0;se0}function Pn(w){var A=this,T={};if(w)for(var U in w)T[U]=w[U];return T.keyPrefix=Us(w,A._defaultConfig),_o()?(A._dbInfo=T,T.serializer=Er,p.resolve()):p.reject()}function $a(w){var A=this,T=A.ready().then(function(){for(var U=A._dbInfo.keyPrefix,V=localStorage.length-1;V>=0;V--){var Z=localStorage.key(V);Z.indexOf(U)===0&&localStorage.removeItem(Z)}});return b(T,w),T}function Ro(w,A){var T=this;w=k(w);var U=T.ready().then(function(){var V=T._dbInfo,Z=localStorage.getItem(V.keyPrefix+w);return Z&&(Z=V.serializer.deserialize(Z)),Z});return b(U,A),U}function $t(w,A){var T=this,U=T.ready().then(function(){for(var V=T._dbInfo,Z=V.keyPrefix,K=Z.length,se=localStorage.length,he=1,fe=0;fe=0;K--){var se=localStorage.key(K);se.indexOf(Z)===0&&localStorage.removeItem(se)}}):V=p.reject("Invalid arguments"),b(V,A),V}var Pa={_driver:"localStorageWrapper",_initStorage:Pn,_support:Zs(),iterate:$t,getItem:Ro,setItem:Tn,removeItem:kn,clear:$a,length:es,key:_i,keys:Co,dropInstance:Ls},Xn=function(A,T){return A===T||typeof A=="number"&&typeof T=="number"&&isNaN(A)&&isNaN(T)},Ao=function(A,T){for(var U=A.length,V=0;V{(function(i,e){"use strict";typeof lu=="object"&&typeof lu.exports=="object"?lu.exports=i.document?e(i,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(i)})(typeof window!="undefined"?window:Jw,function(i,e){"use strict";var t=[],r=Object.getPrototypeOf,n=t.slice,s=t.flat?function(c){return t.flat.call(c)}:function(c){return t.concat.apply([],c)},o=t.push,a=t.indexOf,l={},h=l.toString,f=l.hasOwnProperty,O=f.toString,p=O.call(Object),b={},v=function(u){return typeof u=="function"&&typeof u.nodeType!="number"&&typeof u.item!="function"},k=function(u){return u!=null&&u===u.window},X=i.document,E={type:!0,src:!0,nonce:!0,noModule:!0};function F(c,u,m){m=m||X;var g,S,y=m.createElement("script");if(y.text=c,u)for(g in E)S=u[g]||u.getAttribute&&u.getAttribute(g),S&&y.setAttribute(g,S);m.head.appendChild(y).parentNode.removeChild(y)}function I(c){return c==null?c+"":typeof c=="object"||typeof c=="function"?l[h.call(c)]||"object":typeof c}var B="3.7.1",M=/HTML$/i,d=function(c,u){return new d.fn.init(c,u)};d.fn=d.prototype={jquery:B,constructor:d,length:0,toArray:function(){return n.call(this)},get:function(c){return c==null?n.call(this):c<0?this[c+this.length]:this[c]},pushStack:function(c){var u=d.merge(this.constructor(),c);return u.prevObject=this,u},each:function(c){return d.each(this,c)},map:function(c){return this.pushStack(d.map(this,function(u,m){return c.call(u,m,u)}))},slice:function(){return this.pushStack(n.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(d.grep(this,function(c,u){return(u+1)%2}))},odd:function(){return this.pushStack(d.grep(this,function(c,u){return u%2}))},eq:function(c){var u=this.length,m=+c+(c<0?u:0);return this.pushStack(m>=0&&m0&&u-1 in c}function H(c,u){return c.nodeName&&c.nodeName.toLowerCase()===u.toLowerCase()}var de=t.pop,Ee=t.sort,ke=t.splice,oe="[\\x20\\t\\r\\n\\f]",Xe=new RegExp("^"+oe+"+|((?:^|[^\\\\])(?:\\\\.)*)"+oe+"+$","g");d.contains=function(c,u){var m=u&&u.parentNode;return c===m||!!(m&&m.nodeType===1&&(c.contains?c.contains(m):c.compareDocumentPosition&&c.compareDocumentPosition(m)&16))};var De=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function He(c,u){return u?c==="\0"?"\uFFFD":c.slice(0,-1)+"\\"+c.charCodeAt(c.length-1).toString(16)+" ":"\\"+c}d.escapeSelector=function(c){return(c+"").replace(De,He)};var ie=X,Se=o;(function(){var c,u,m,g,S,y=Se,Q,C,R,z,G,te=d.expando,q=0,ce=0,Ie=fc(),ht=fc(),Ge=fc(),fi=fc(),Bt=function(_,Y){return _===Y&&(S=!0),0},sn="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",on="(?:\\\\[\\da-fA-F]{1,6}"+oe+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",nt="\\["+oe+"*("+on+")(?:"+oe+"*([*^$|!~]?=)"+oe+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+on+"))|)"+oe+"*\\]",qs=":("+on+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+nt+")*)|.*)\\)|)",dt=new RegExp(oe+"+","g"),Yt=new RegExp("^"+oe+"*,"+oe+"*"),Xa=new RegExp("^"+oe+"*([>+~]|"+oe+")"+oe+"*"),wu=new RegExp(oe+"|>"),an=new RegExp(qs),_a=new RegExp("^"+on+"$"),ln={ID:new RegExp("^#("+on+")"),CLASS:new RegExp("^\\.("+on+")"),TAG:new RegExp("^("+on+"|[*])"),ATTR:new RegExp("^"+nt),PSEUDO:new RegExp("^"+qs),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+oe+"*(even|odd|(([+-]|)(\\d*)n|)"+oe+"*(?:([+-]|)"+oe+"*(\\d+)|))"+oe+"*\\)|)","i"),bool:new RegExp("^(?:"+sn+")$","i"),needsContext:new RegExp("^"+oe+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+oe+"*((?:-\\d)?\\d*)"+oe+"*\\)|)(?=[^-]|$)","i")},is=/^(?:input|select|textarea|button)$/i,rs=/^h\d$/i,mr=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,$u=/[+~]/,_n=new RegExp("\\\\[\\da-fA-F]{1,6}"+oe+"?|\\\\([^\\r\\n\\f])","g"),Rn=function(_,Y){var j="0x"+_.slice(1)-65536;return Y||(j<0?String.fromCharCode(j+65536):String.fromCharCode(j>>10|55296,j&1023|56320))},t$=function(){ns()},i$=Oc(function(_){return _.disabled===!0&&H(_,"fieldset")},{dir:"parentNode",next:"legend"});function r$(){try{return Q.activeElement}catch(_){}}try{y.apply(t=n.call(ie.childNodes),ie.childNodes),t[ie.childNodes.length].nodeType}catch(_){y={apply:function(Y,j){Se.apply(Y,n.call(j))},call:function(Y){Se.apply(Y,n.call(arguments,1))}}}function St(_,Y,j,N){var J,pe,ye,_e,ve,et,Ve,Ne=Y&&Y.ownerDocument,tt=Y?Y.nodeType:9;if(j=j||[],typeof _!="string"||!_||tt!==1&&tt!==9&&tt!==11)return j;if(!N&&(ns(Y),Y=Y||Q,R)){if(tt!==11&&(ve=mr.exec(_)))if(J=ve[1]){if(tt===9)if(ye=Y.getElementById(J)){if(ye.id===J)return y.call(j,ye),j}else return j;else if(Ne&&(ye=Ne.getElementById(J))&&St.contains(Y,ye)&&ye.id===J)return y.call(j,ye),j}else{if(ve[2])return y.apply(j,Y.getElementsByTagName(_)),j;if((J=ve[3])&&Y.getElementsByClassName)return y.apply(j,Y.getElementsByClassName(J)),j}if(!fi[_+" "]&&(!z||!z.test(_))){if(Ve=_,Ne=Y,tt===1&&(wu.test(_)||Xa.test(_))){for(Ne=$u.test(_)&&Pu(Y.parentNode)||Y,(Ne!=Y||!b.scope)&&((_e=Y.getAttribute("id"))?_e=d.escapeSelector(_e):Y.setAttribute("id",_e=te)),et=Ra(_),pe=et.length;pe--;)et[pe]=(_e?"#"+_e:":scope")+" "+uc(et[pe]);Ve=et.join(",")}try{return y.apply(j,Ne.querySelectorAll(Ve)),j}catch(Ue){fi(_,!0)}finally{_e===te&&Y.removeAttribute("id")}}}return Eg(_.replace(Xe,"$1"),Y,j,N)}function fc(){var _=[];function Y(j,N){return _.push(j+" ")>u.cacheLength&&delete Y[_.shift()],Y[j+" "]=N}return Y}function Ur(_){return _[te]=!0,_}function Eo(_){var Y=Q.createElement("fieldset");try{return!!_(Y)}catch(j){return!1}finally{Y.parentNode&&Y.parentNode.removeChild(Y),Y=null}}function n$(_){return function(Y){return H(Y,"input")&&Y.type===_}}function s$(_){return function(Y){return(H(Y,"input")||H(Y,"button"))&&Y.type===_}}function Cg(_){return function(Y){return"form"in Y?Y.parentNode&&Y.disabled===!1?"label"in Y?"label"in Y.parentNode?Y.parentNode.disabled===_:Y.disabled===_:Y.isDisabled===_||Y.isDisabled!==!_&&i$(Y)===_:Y.disabled===_:"label"in Y?Y.disabled===_:!1}}function Is(_){return Ur(function(Y){return Y=+Y,Ur(function(j,N){for(var J,pe=_([],j.length,Y),ye=pe.length;ye--;)j[J=pe[ye]]&&(j[J]=!(N[J]=j[J]))})})}function Pu(_){return _&&typeof _.getElementsByTagName!="undefined"&&_}function ns(_){var Y,j=_?_.ownerDocument||_:ie;return j==Q||j.nodeType!==9||!j.documentElement||(Q=j,C=Q.documentElement,R=!d.isXMLDoc(Q),G=C.matches||C.webkitMatchesSelector||C.msMatchesSelector,C.msMatchesSelector&&ie!=Q&&(Y=Q.defaultView)&&Y.top!==Y&&Y.addEventListener("unload",t$),b.getById=Eo(function(N){return C.appendChild(N).id=d.expando,!Q.getElementsByName||!Q.getElementsByName(d.expando).length}),b.disconnectedMatch=Eo(function(N){return G.call(N,"*")}),b.scope=Eo(function(){return Q.querySelectorAll(":scope")}),b.cssHas=Eo(function(){try{return Q.querySelector(":has(*,:jqfake)"),!1}catch(N){return!0}}),b.getById?(u.filter.ID=function(N){var J=N.replace(_n,Rn);return function(pe){return pe.getAttribute("id")===J}},u.find.ID=function(N,J){if(typeof J.getElementById!="undefined"&&R){var pe=J.getElementById(N);return pe?[pe]:[]}}):(u.filter.ID=function(N){var J=N.replace(_n,Rn);return function(pe){var ye=typeof pe.getAttributeNode!="undefined"&&pe.getAttributeNode("id");return ye&&ye.value===J}},u.find.ID=function(N,J){if(typeof J.getElementById!="undefined"&&R){var pe,ye,_e,ve=J.getElementById(N);if(ve){if(pe=ve.getAttributeNode("id"),pe&&pe.value===N)return[ve];for(_e=J.getElementsByName(N),ye=0;ve=_e[ye++];)if(pe=ve.getAttributeNode("id"),pe&&pe.value===N)return[ve]}return[]}}),u.find.TAG=function(N,J){return typeof J.getElementsByTagName!="undefined"?J.getElementsByTagName(N):J.querySelectorAll(N)},u.find.CLASS=function(N,J){if(typeof J.getElementsByClassName!="undefined"&&R)return J.getElementsByClassName(N)},z=[],Eo(function(N){var J;C.appendChild(N).innerHTML="",N.querySelectorAll("[selected]").length||z.push("\\["+oe+"*(?:value|"+sn+")"),N.querySelectorAll("[id~="+te+"-]").length||z.push("~="),N.querySelectorAll("a#"+te+"+*").length||z.push(".#.+[+~]"),N.querySelectorAll(":checked").length||z.push(":checked"),J=Q.createElement("input"),J.setAttribute("type","hidden"),N.appendChild(J).setAttribute("name","D"),C.appendChild(N).disabled=!0,N.querySelectorAll(":disabled").length!==2&&z.push(":enabled",":disabled"),J=Q.createElement("input"),J.setAttribute("name",""),N.appendChild(J),N.querySelectorAll("[name='']").length||z.push("\\["+oe+"*name"+oe+"*="+oe+`*(?:''|"")`)}),b.cssHas||z.push(":has"),z=z.length&&new RegExp(z.join("|")),Bt=function(N,J){if(N===J)return S=!0,0;var pe=!N.compareDocumentPosition-!J.compareDocumentPosition;return pe||(pe=(N.ownerDocument||N)==(J.ownerDocument||J)?N.compareDocumentPosition(J):1,pe&1||!b.sortDetached&&J.compareDocumentPosition(N)===pe?N===Q||N.ownerDocument==ie&&St.contains(ie,N)?-1:J===Q||J.ownerDocument==ie&&St.contains(ie,J)?1:g?a.call(g,N)-a.call(g,J):0:pe&4?-1:1)}),Q}St.matches=function(_,Y){return St(_,null,null,Y)},St.matchesSelector=function(_,Y){if(ns(_),R&&!fi[Y+" "]&&(!z||!z.test(Y)))try{var j=G.call(_,Y);if(j||b.disconnectedMatch||_.document&&_.document.nodeType!==11)return j}catch(N){fi(Y,!0)}return St(Y,Q,null,[_]).length>0},St.contains=function(_,Y){return(_.ownerDocument||_)!=Q&&ns(_),d.contains(_,Y)},St.attr=function(_,Y){(_.ownerDocument||_)!=Q&&ns(_);var j=u.attrHandle[Y.toLowerCase()],N=j&&f.call(u.attrHandle,Y.toLowerCase())?j(_,Y,!R):void 0;return N!==void 0?N:_.getAttribute(Y)},St.error=function(_){throw new Error("Syntax error, unrecognized expression: "+_)},d.uniqueSort=function(_){var Y,j=[],N=0,J=0;if(S=!b.sortStable,g=!b.sortStable&&n.call(_,0),Ee.call(_,Bt),S){for(;Y=_[J++];)Y===_[J]&&(N=j.push(J));for(;N--;)ke.call(_,j[N],1)}return g=null,_},d.fn.uniqueSort=function(){return this.pushStack(d.uniqueSort(n.apply(this)))},u=d.expr={cacheLength:50,createPseudo:Ur,match:ln,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(_){return _[1]=_[1].replace(_n,Rn),_[3]=(_[3]||_[4]||_[5]||"").replace(_n,Rn),_[2]==="~="&&(_[3]=" "+_[3]+" "),_.slice(0,4)},CHILD:function(_){return _[1]=_[1].toLowerCase(),_[1].slice(0,3)==="nth"?(_[3]||St.error(_[0]),_[4]=+(_[4]?_[5]+(_[6]||1):2*(_[3]==="even"||_[3]==="odd")),_[5]=+(_[7]+_[8]||_[3]==="odd")):_[3]&&St.error(_[0]),_},PSEUDO:function(_){var Y,j=!_[6]&&_[2];return ln.CHILD.test(_[0])?null:(_[3]?_[2]=_[4]||_[5]||"":j&&an.test(j)&&(Y=Ra(j,!0))&&(Y=j.indexOf(")",j.length-Y)-j.length)&&(_[0]=_[0].slice(0,Y),_[2]=j.slice(0,Y)),_.slice(0,3))}},filter:{TAG:function(_){var Y=_.replace(_n,Rn).toLowerCase();return _==="*"?function(){return!0}:function(j){return H(j,Y)}},CLASS:function(_){var Y=Ie[_+" "];return Y||(Y=new RegExp("(^|"+oe+")"+_+"("+oe+"|$)"))&&Ie(_,function(j){return Y.test(typeof j.className=="string"&&j.className||typeof j.getAttribute!="undefined"&&j.getAttribute("class")||"")})},ATTR:function(_,Y,j){return function(N){var J=St.attr(N,_);return J==null?Y==="!=":Y?(J+="",Y==="="?J===j:Y==="!="?J!==j:Y==="^="?j&&J.indexOf(j)===0:Y==="*="?j&&J.indexOf(j)>-1:Y==="$="?j&&J.slice(-j.length)===j:Y==="~="?(" "+J.replace(dt," ")+" ").indexOf(j)>-1:Y==="|="?J===j||J.slice(0,j.length+1)===j+"-":!1):!0}},CHILD:function(_,Y,j,N,J){var pe=_.slice(0,3)!=="nth",ye=_.slice(-4)!=="last",_e=Y==="of-type";return N===1&&J===0?function(ve){return!!ve.parentNode}:function(ve,et,Ve){var Ne,tt,Ue,Xt,Vi,bi=pe!==ye?"nextSibling":"previousSibling",gr=ve.parentNode,cn=_e&&ve.nodeName.toLowerCase(),Yo=!Ve&&!_e,Ri=!1;if(gr){if(pe){for(;bi;){for(Ue=ve;Ue=Ue[bi];)if(_e?H(Ue,cn):Ue.nodeType===1)return!1;Vi=bi=_==="only"&&!Vi&&"nextSibling"}return!0}if(Vi=[ye?gr.firstChild:gr.lastChild],ye&&Yo){for(tt=gr[te]||(gr[te]={}),Ne=tt[_]||[],Xt=Ne[0]===q&&Ne[1],Ri=Xt&&Ne[2],Ue=Xt&&gr.childNodes[Xt];Ue=++Xt&&Ue&&Ue[bi]||(Ri=Xt=0)||Vi.pop();)if(Ue.nodeType===1&&++Ri&&Ue===ve){tt[_]=[q,Xt,Ri];break}}else if(Yo&&(tt=ve[te]||(ve[te]={}),Ne=tt[_]||[],Xt=Ne[0]===q&&Ne[1],Ri=Xt),Ri===!1)for(;(Ue=++Xt&&Ue&&Ue[bi]||(Ri=Xt=0)||Vi.pop())&&!((_e?H(Ue,cn):Ue.nodeType===1)&&++Ri&&(Yo&&(tt=Ue[te]||(Ue[te]={}),tt[_]=[q,Ri]),Ue===ve)););return Ri-=J,Ri===N||Ri%N===0&&Ri/N>=0}}},PSEUDO:function(_,Y){var j,N=u.pseudos[_]||u.setFilters[_.toLowerCase()]||St.error("unsupported pseudo: "+_);return N[te]?N(Y):N.length>1?(j=[_,_,"",Y],u.setFilters.hasOwnProperty(_.toLowerCase())?Ur(function(J,pe){for(var ye,_e=N(J,Y),ve=_e.length;ve--;)ye=a.call(J,_e[ve]),J[ye]=!(pe[ye]=_e[ve])}):function(J){return N(J,0,j)}):N}},pseudos:{not:Ur(function(_){var Y=[],j=[],N=_u(_.replace(Xe,"$1"));return N[te]?Ur(function(J,pe,ye,_e){for(var ve,et=N(J,null,_e,[]),Ve=J.length;Ve--;)(ve=et[Ve])&&(J[Ve]=!(pe[Ve]=ve))}):function(J,pe,ye){return Y[0]=J,N(Y,null,ye,j),Y[0]=null,!j.pop()}}),has:Ur(function(_){return function(Y){return St(_,Y).length>0}}),contains:Ur(function(_){return _=_.replace(_n,Rn),function(Y){return(Y.textContent||d.text(Y)).indexOf(_)>-1}}),lang:Ur(function(_){return _a.test(_||"")||St.error("unsupported lang: "+_),_=_.replace(_n,Rn).toLowerCase(),function(Y){var j;do if(j=R?Y.lang:Y.getAttribute("xml:lang")||Y.getAttribute("lang"))return j=j.toLowerCase(),j===_||j.indexOf(_+"-")===0;while((Y=Y.parentNode)&&Y.nodeType===1);return!1}}),target:function(_){var Y=i.location&&i.location.hash;return Y&&Y.slice(1)===_.id},root:function(_){return _===C},focus:function(_){return _===r$()&&Q.hasFocus()&&!!(_.type||_.href||~_.tabIndex)},enabled:Cg(!1),disabled:Cg(!0),checked:function(_){return H(_,"input")&&!!_.checked||H(_,"option")&&!!_.selected},selected:function(_){return _.parentNode&&_.parentNode.selectedIndex,_.selected===!0},empty:function(_){for(_=_.firstChild;_;_=_.nextSibling)if(_.nodeType<6)return!1;return!0},parent:function(_){return!u.pseudos.empty(_)},header:function(_){return rs.test(_.nodeName)},input:function(_){return is.test(_.nodeName)},button:function(_){return H(_,"input")&&_.type==="button"||H(_,"button")},text:function(_){var Y;return H(_,"input")&&_.type==="text"&&((Y=_.getAttribute("type"))==null||Y.toLowerCase()==="text")},first:Is(function(){return[0]}),last:Is(function(_,Y){return[Y-1]}),eq:Is(function(_,Y,j){return[j<0?j+Y:j]}),even:Is(function(_,Y){for(var j=0;jY?N=Y:N=j;--N>=0;)_.push(N);return _}),gt:Is(function(_,Y,j){for(var N=j<0?j+Y:j;++N1?function(Y,j,N){for(var J=_.length;J--;)if(!_[J](Y,j,N))return!1;return!0}:_[0]}function o$(_,Y,j){for(var N=0,J=Y.length;N-1&&(ye[Ve]=!(_e[Ve]=tt))}}else Ue=dc(Ue===_e?Ue.splice(bi,Ue.length):Ue),J?J(null,_e,Ue,et):y.apply(_e,Ue)})}function Xu(_){for(var Y,j,N,J=_.length,pe=u.relative[_[0].type],ye=pe||u.relative[" "],_e=pe?1:0,ve=Oc(function(Ne){return Ne===Y},ye,!0),et=Oc(function(Ne){return a.call(Y,Ne)>-1},ye,!0),Ve=[function(Ne,tt,Ue){var Xt=!pe&&(Ue||tt!=m)||((Y=tt).nodeType?ve(Ne,tt,Ue):et(Ne,tt,Ue));return Y=null,Xt}];_e1&&ku(Ve),_e>1&&uc(_.slice(0,_e-1).concat({value:_[_e-2].type===" "?"*":""})).replace(Xe,"$1"),j,_e0,N=_.length>0,J=function(pe,ye,_e,ve,et){var Ve,Ne,tt,Ue=0,Xt="0",Vi=pe&&[],bi=[],gr=m,cn=pe||N&&u.find.TAG("*",et),Yo=q+=gr==null?1:Math.random()||.1,Ri=cn.length;for(et&&(m=ye==Q||ye||et);Xt!==Ri&&(Ve=cn[Xt])!=null;Xt++){if(N&&Ve){for(Ne=0,!ye&&Ve.ownerDocument!=Q&&(ns(Ve),_e=!R);tt=_[Ne++];)if(tt(Ve,ye||Q,_e)){y.call(ve,Ve);break}et&&(q=Yo)}j&&((Ve=!tt&&Ve)&&Ue--,pe&&Vi.push(Ve))}if(Ue+=Xt,j&&Xt!==Ue){for(Ne=0;tt=Y[Ne++];)tt(Vi,bi,ye,_e);if(pe){if(Ue>0)for(;Xt--;)Vi[Xt]||bi[Xt]||(bi[Xt]=de.call(ve));bi=dc(bi)}y.apply(ve,bi),et&&!pe&&bi.length>0&&Ue+Y.length>1&&d.uniqueSort(ve)}return et&&(q=Yo,m=gr),Vi};return j?Ur(J):J}function _u(_,Y){var j,N=[],J=[],pe=Ge[_+" "];if(!pe){for(Y||(Y=Ra(_)),j=Y.length;j--;)pe=Xu(Y[j]),pe[te]?N.push(pe):J.push(pe);pe=Ge(_,a$(J,N)),pe.selector=_}return pe}function Eg(_,Y,j,N){var J,pe,ye,_e,ve,et=typeof _=="function"&&_,Ve=!N&&Ra(_=et.selector||_);if(j=j||[],Ve.length===1){if(pe=Ve[0]=Ve[0].slice(0),pe.length>2&&(ye=pe[0]).type==="ID"&&Y.nodeType===9&&R&&u.relative[pe[1].type]){if(Y=(u.find.ID(ye.matches[0].replace(_n,Rn),Y)||[])[0],Y)et&&(Y=Y.parentNode);else return j;_=_.slice(pe.shift().value.length)}for(J=ln.needsContext.test(_)?0:pe.length;J--&&(ye=pe[J],!u.relative[_e=ye.type]);)if((ve=u.find[_e])&&(N=ve(ye.matches[0].replace(_n,Rn),$u.test(pe[0].type)&&Pu(Y.parentNode)||Y))){if(pe.splice(J,1),_=N.length&&uc(pe),!_)return y.apply(j,N),j;break}}return(et||_u(_,Ve))(N,Y,!R,j,!Y||$u.test(_)&&Pu(Y.parentNode)||Y),j}b.sortStable=te.split("").sort(Bt).join("")===te,ns(),b.sortDetached=Eo(function(_){return _.compareDocumentPosition(Q.createElement("fieldset"))&1}),d.find=St,d.expr[":"]=d.expr.pseudos,d.unique=d.uniqueSort,St.compile=_u,St.select=Eg,St.setDocument=ns,St.tokenize=Ra,St.escape=d.escapeSelector,St.getText=d.text,St.isXML=d.isXMLDoc,St.selectors=d.expr,St.support=d.support,St.uniqueSort=d.uniqueSort})();var ue=function(c,u,m){for(var g=[],S=m!==void 0;(c=c[u])&&c.nodeType!==9;)if(c.nodeType===1){if(S&&d(c).is(m))break;g.push(c)}return g},qe=function(c,u){for(var m=[];c;c=c.nextSibling)c.nodeType===1&&c!==u&&m.push(c);return m},Be=d.expr.match.needsContext,wt=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function ze(c,u,m){return v(u)?d.grep(c,function(g,S){return!!u.call(g,S,g)!==m}):u.nodeType?d.grep(c,function(g){return g===u!==m}):typeof u!="string"?d.grep(c,function(g){return a.call(u,g)>-1!==m}):d.filter(u,c,m)}d.filter=function(c,u,m){var g=u[0];return m&&(c=":not("+c+")"),u.length===1&&g.nodeType===1?d.find.matchesSelector(g,c)?[g]:[]:d.find.matches(c,d.grep(u,function(S){return S.nodeType===1}))},d.fn.extend({find:function(c){var u,m,g=this.length,S=this;if(typeof c!="string")return this.pushStack(d(c).filter(function(){for(u=0;u1?d.uniqueSort(m):m},filter:function(c){return this.pushStack(ze(this,c||[],!1))},not:function(c){return this.pushStack(ze(this,c||[],!0))},is:function(c){return!!ze(this,typeof c=="string"&&Be.test(c)?d(c):c||[],!1).length}});var Jt,Hi=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,lr=d.fn.init=function(c,u,m){var g,S;if(!c)return this;if(m=m||Jt,typeof c=="string")if(c[0]==="<"&&c[c.length-1]===">"&&c.length>=3?g=[null,c,null]:g=Hi.exec(c),g&&(g[1]||!u))if(g[1]){if(u=u instanceof d?u[0]:u,d.merge(this,d.parseHTML(g[1],u&&u.nodeType?u.ownerDocument||u:X,!0)),wt.test(g[1])&&d.isPlainObject(u))for(g in u)v(this[g])?this[g](u[g]):this.attr(g,u[g]);return this}else return S=X.getElementById(g[2]),S&&(this[0]=S,this.length=1),this;else return!u||u.jquery?(u||m).find(c):this.constructor(u).find(c);else{if(c.nodeType)return this[0]=c,this.length=1,this;if(v(c))return m.ready!==void 0?m.ready(c):c(d)}return d.makeArray(c,this)};lr.prototype=d.fn,Jt=d(X);var en=/^(?:parents|prev(?:Until|All))/,Nn={children:!0,contents:!0,next:!0,prev:!0};d.fn.extend({has:function(c){var u=d(c,this),m=u.length;return this.filter(function(){for(var g=0;g-1:m.nodeType===1&&d.find.matchesSelector(m,c))){y.push(m);break}}return this.pushStack(y.length>1?d.uniqueSort(y):y)},index:function(c){return c?typeof c=="string"?a.call(d(c),this[0]):a.call(this,c.jquery?c[0]:c):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(c,u){return this.pushStack(d.uniqueSort(d.merge(this.get(),d(c,u))))},addBack:function(c){return this.add(c==null?this.prevObject:this.prevObject.filter(c))}});function Xo(c,u){for(;(c=c[u])&&c.nodeType!==1;);return c}d.each({parent:function(c){var u=c.parentNode;return u&&u.nodeType!==11?u:null},parents:function(c){return ue(c,"parentNode")},parentsUntil:function(c,u,m){return ue(c,"parentNode",m)},next:function(c){return Xo(c,"nextSibling")},prev:function(c){return Xo(c,"previousSibling")},nextAll:function(c){return ue(c,"nextSibling")},prevAll:function(c){return ue(c,"previousSibling")},nextUntil:function(c,u,m){return ue(c,"nextSibling",m)},prevUntil:function(c,u,m){return ue(c,"previousSibling",m)},siblings:function(c){return qe((c.parentNode||{}).firstChild,c)},children:function(c){return qe(c.firstChild)},contents:function(c){return c.contentDocument!=null&&r(c.contentDocument)?c.contentDocument:(H(c,"template")&&(c=c.content||c),d.merge([],c.childNodes))}},function(c,u){d.fn[c]=function(m,g){var S=d.map(this,u,m);return c.slice(-5)!=="Until"&&(g=m),g&&typeof g=="string"&&(S=d.filter(g,S)),this.length>1&&(Nn[c]||d.uniqueSort(S),en.test(c)&&S.reverse()),this.pushStack(S)}});var $i=/[^\x20\t\r\n\f]+/g;function wa(c){var u={};return d.each(c.match($i)||[],function(m,g){u[g]=!0}),u}d.Callbacks=function(c){c=typeof c=="string"?wa(c):d.extend({},c);var u,m,g,S,y=[],Q=[],C=-1,R=function(){for(S=S||c.once,g=u=!0;Q.length;C=-1)for(m=Q.shift();++C-1;)y.splice(q,1),q<=C&&C--}),this},has:function(G){return G?d.inArray(G,y)>-1:y.length>0},empty:function(){return y&&(y=[]),this},disable:function(){return S=Q=[],y=m="",this},disabled:function(){return!y},lock:function(){return S=Q=[],!m&&!u&&(y=m=""),this},locked:function(){return!!S},fireWith:function(G,te){return S||(te=te||[],te=[G,te.slice?te.slice():te],Q.push(te),u||R()),this},fire:function(){return z.fireWith(this,arguments),this},fired:function(){return!!g}};return z};function Cr(c){return c}function gt(c){throw c}function Bn(c,u,m,g){var S;try{c&&v(S=c.promise)?S.call(c).done(u).fail(m):c&&v(S=c.then)?S.call(c,u,m):u.apply(void 0,[c].slice(g))}catch(y){m.apply(void 0,[y])}}d.extend({Deferred:function(c){var u=[["notify","progress",d.Callbacks("memory"),d.Callbacks("memory"),2],["resolve","done",d.Callbacks("once memory"),d.Callbacks("once memory"),0,"resolved"],["reject","fail",d.Callbacks("once memory"),d.Callbacks("once memory"),1,"rejected"]],m="pending",g={state:function(){return m},always:function(){return S.done(arguments).fail(arguments),this},catch:function(y){return g.then(null,y)},pipe:function(){var y=arguments;return d.Deferred(function(Q){d.each(u,function(C,R){var z=v(y[R[4]])&&y[R[4]];S[R[1]](function(){var G=z&&z.apply(this,arguments);G&&v(G.promise)?G.promise().progress(Q.notify).done(Q.resolve).fail(Q.reject):Q[R[0]+"With"](this,z?[G]:arguments)})}),y=null}).promise()},then:function(y,Q,C){var R=0;function z(G,te,q,ce){return function(){var Ie=this,ht=arguments,Ge=function(){var Bt,sn;if(!(G=R&&(q!==gt&&(Ie=void 0,ht=[Bt]),te.rejectWith(Ie,ht))}};G?fi():(d.Deferred.getErrorHook?fi.error=d.Deferred.getErrorHook():d.Deferred.getStackHook&&(fi.error=d.Deferred.getStackHook()),i.setTimeout(fi))}}return d.Deferred(function(G){u[0][3].add(z(0,G,v(C)?C:Cr,G.notifyWith)),u[1][3].add(z(0,G,v(y)?y:Cr)),u[2][3].add(z(0,G,v(Q)?Q:gt))}).promise()},promise:function(y){return y!=null?d.extend(y,g):g}},S={};return d.each(u,function(y,Q){var C=Q[2],R=Q[5];g[Q[1]]=C.add,R&&C.add(function(){m=R},u[3-y][2].disable,u[3-y][3].disable,u[0][2].lock,u[0][3].lock),C.add(Q[3].fire),S[Q[0]]=function(){return S[Q[0]+"With"](this===S?void 0:this,arguments),this},S[Q[0]+"With"]=C.fireWith}),g.promise(S),c&&c.call(S,S),S},when:function(c){var u=arguments.length,m=u,g=Array(m),S=n.call(arguments),y=d.Deferred(),Q=function(C){return function(R){g[C]=this,S[C]=arguments.length>1?n.call(arguments):R,--u||y.resolveWith(g,S)}};if(u<=1&&(Bn(c,y.done(Q(m)).resolve,y.reject,!u),y.state()==="pending"||v(S[m]&&S[m].then)))return y.then();for(;m--;)Bn(S[m],Q(m),y.reject);return y.promise()}});var vt=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;d.Deferred.exceptionHook=function(c,u){i.console&&i.console.warn&&c&&vt.test(c.name)&&i.console.warn("jQuery.Deferred exception: "+c.message,c.stack,u)},d.readyException=function(c){i.setTimeout(function(){throw c})};var vn=d.Deferred();d.fn.ready=function(c){return vn.then(c).catch(function(u){d.readyException(u)}),this},d.extend({isReady:!1,readyWait:1,ready:function(c){(c===!0?--d.readyWait:d.isReady)||(d.isReady=!0,!(c!==!0&&--d.readyWait>0)&&vn.resolveWith(X,[d]))}}),d.ready.then=vn.then;function rt(){X.removeEventListener("DOMContentLoaded",rt),i.removeEventListener("load",rt),d.ready()}X.readyState==="complete"||X.readyState!=="loading"&&!X.documentElement.doScroll?i.setTimeout(d.ready):(X.addEventListener("DOMContentLoaded",rt),i.addEventListener("load",rt));var ai=function(c,u,m,g,S,y,Q){var C=0,R=c.length,z=m==null;if(I(m)==="object"){S=!0;for(C in m)ai(c,u,C,m[C],!0,y,Q)}else if(g!==void 0&&(S=!0,v(g)||(Q=!0),z&&(Q?(u.call(c,g),u=null):(z=u,u=function(G,te,q){return z.call(d(G),q)})),u))for(;C1,null,!0)},removeData:function(c){return this.each(function(){Tt.remove(this,c)})}}),d.extend({queue:function(c,u,m){var g;if(c)return u=(u||"fx")+"queue",g=we.get(c,u),m&&(!g||Array.isArray(m)?g=we.access(c,u,d.makeArray(m)):g.push(m)),g||[]},dequeue:function(c,u){u=u||"fx";var m=d.queue(c,u),g=m.length,S=m.shift(),y=d._queueHooks(c,u),Q=function(){d.dequeue(c,u)};S==="inprogress"&&(S=m.shift(),g--),S&&(u==="fx"&&m.unshift("inprogress"),delete y.stop,S.call(c,Q,y)),!g&&y&&y.empty.fire()},_queueHooks:function(c,u){var m=u+"queueHooks";return we.get(c,m)||we.access(c,m,{empty:d.Callbacks("once memory").add(function(){we.remove(c,[u+"queue",m])})})}}),d.fn.extend({queue:function(c,u){var m=2;return typeof c!="string"&&(u=c,c="fx",m--),arguments.length\x20\t\r\n\f]*)/i,Es=/^$|^module$|\/(?:java|ecma)script/i;(function(){var c=X.createDocumentFragment(),u=c.appendChild(X.createElement("div")),m=X.createElement("input");m.setAttribute("type","radio"),m.setAttribute("checked","checked"),m.setAttribute("name","t"),u.appendChild(m),b.checkClone=u.cloneNode(!0).cloneNode(!0).lastChild.checked,u.innerHTML="",b.noCloneChecked=!!u.cloneNode(!0).lastChild.defaultValue,u.innerHTML="",b.option=!!u.lastChild})();var It={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};It.tbody=It.tfoot=It.colgroup=It.caption=It.thead,It.th=It.td,b.option||(It.optgroup=It.option=[1,""]);function Nt(c,u){var m;return typeof c.getElementsByTagName!="undefined"?m=c.getElementsByTagName(u||"*"):typeof c.querySelectorAll!="undefined"?m=c.querySelectorAll(u||"*"):m=[],u===void 0||u&&H(c,u)?d.merge([c],m):m}function rn(c,u){for(var m=0,g=c.length;m-1){S&&S.push(y);continue}if(z=fr(y),Q=Nt(te.appendChild(y),"script"),z&&rn(Q),m)for(G=0;y=Q[G++];)Es.test(y.type||"")&&m.push(y)}return te}var Zr=/^([^.]*)(?:\.(.+)|)/;function ur(){return!0}function Or(){return!1}function Ys(c,u,m,g,S,y){var Q,C;if(typeof u=="object"){typeof m!="string"&&(g=g||m,m=void 0);for(C in u)Ys(c,C,m,g,u[C],y);return c}if(g==null&&S==null?(S=m,g=m=void 0):S==null&&(typeof m=="string"?(S=g,g=void 0):(S=g,g=m,m=void 0)),S===!1)S=Or;else if(!S)return c;return y===1&&(Q=S,S=function(R){return d().off(R),Q.apply(this,arguments)},S.guid=Q.guid||(Q.guid=d.guid++)),c.each(function(){d.event.add(this,u,S,g,m)})}d.event={global:{},add:function(c,u,m,g,S){var y,Q,C,R,z,G,te,q,ce,Ie,ht,Ge=we.get(c);if(cr(c))for(m.handler&&(y=m,m=y.handler,S=y.selector),S&&d.find.matchesSelector(Ti,S),m.guid||(m.guid=d.guid++),(R=Ge.events)||(R=Ge.events=Object.create(null)),(Q=Ge.handle)||(Q=Ge.handle=function(fi){return typeof d!="undefined"&&d.event.triggered!==fi.type?d.event.dispatch.apply(c,arguments):void 0}),u=(u||"").match($i)||[""],z=u.length;z--;)C=Zr.exec(u[z])||[],ce=ht=C[1],Ie=(C[2]||"").split(".").sort(),ce&&(te=d.event.special[ce]||{},ce=(S?te.delegateType:te.bindType)||ce,te=d.event.special[ce]||{},G=d.extend({type:ce,origType:ht,data:g,handler:m,guid:m.guid,selector:S,needsContext:S&&d.expr.match.needsContext.test(S),namespace:Ie.join(".")},y),(q=R[ce])||(q=R[ce]=[],q.delegateCount=0,(!te.setup||te.setup.call(c,g,Ie,Q)===!1)&&c.addEventListener&&c.addEventListener(ce,Q)),te.add&&(te.add.call(c,G),G.handler.guid||(G.handler.guid=m.guid)),S?q.splice(q.delegateCount++,0,G):q.push(G),d.event.global[ce]=!0)},remove:function(c,u,m,g,S){var y,Q,C,R,z,G,te,q,ce,Ie,ht,Ge=we.hasData(c)&&we.get(c);if(!(!Ge||!(R=Ge.events))){for(u=(u||"").match($i)||[""],z=u.length;z--;){if(C=Zr.exec(u[z])||[],ce=ht=C[1],Ie=(C[2]||"").split(".").sort(),!ce){for(ce in R)d.event.remove(c,ce+u[z],m,g,!0);continue}for(te=d.event.special[ce]||{},ce=(g?te.delegateType:te.bindType)||ce,q=R[ce]||[],C=C[2]&&new RegExp("(^|\\.)"+Ie.join("\\.(?:.*\\.|)")+"(\\.|$)"),Q=y=q.length;y--;)G=q[y],(S||ht===G.origType)&&(!m||m.guid===G.guid)&&(!C||C.test(G.namespace))&&(!g||g===G.selector||g==="**"&&G.selector)&&(q.splice(y,1),G.selector&&q.delegateCount--,te.remove&&te.remove.call(c,G));Q&&!q.length&&((!te.teardown||te.teardown.call(c,Ie,Ge.handle)===!1)&&d.removeEvent(c,ce,Ge.handle),delete R[ce])}d.isEmptyObject(R)&&we.remove(c,"handle events")}},dispatch:function(c){var u,m,g,S,y,Q,C=new Array(arguments.length),R=d.event.fix(c),z=(we.get(this,"events")||Object.create(null))[R.type]||[],G=d.event.special[R.type]||{};for(C[0]=R,u=1;u=1)){for(;z!==this;z=z.parentNode||this)if(z.nodeType===1&&!(c.type==="click"&&z.disabled===!0)){for(y=[],Q={},m=0;m-1:d.find(S,this,null,[z]).length),Q[S]&&y.push(g);y.length&&C.push({elem:z,handlers:y})}}return z=this,R\s*$/g;function _o(c,u){return H(c,"table")&&H(u.nodeType!==11?u:u.firstChild,"tr")&&d(c).children("tbody")[0]||c}function Pn(c){return c.type=(c.getAttribute("type")!==null)+"/"+c.type,c}function $a(c){return(c.type||"").slice(0,5)==="true/"?c.type=c.type.slice(5):c.removeAttribute("type"),c}function Ro(c,u){var m,g,S,y,Q,C,R;if(u.nodeType===1){if(we.hasData(c)&&(y=we.get(c),R=y.events,R)){we.remove(u,"handle events");for(S in R)for(m=0,g=R[S].length;m1&&typeof ce=="string"&&!b.checkClone&&Us.test(ce))return c.each(function(ht){var Ge=c.eq(ht);Ie&&(u[0]=ce.call(this,ht,Ge.html())),_i(Ge,u,m,g)});if(te&&(S=Xi(u,c[0].ownerDocument,!1,c,g),y=S.firstChild,S.childNodes.length===1&&(S=y),y||g)){for(Q=d.map(Nt(S,"script"),Pn),C=Q.length;G0&&rn(Q,!R&&Nt(c,"script")),C},cleanData:function(c){for(var u,m,g,S=d.event.special,y=0;(m=c[y])!==void 0;y++)if(cr(m)){if(u=m[we.expando]){if(u.events)for(g in u.events)S[g]?d.event.remove(m,g):d.removeEvent(m,g,u.handle);m[we.expando]=void 0}m[Tt.expando]&&(m[Tt.expando]=void 0)}}}),d.fn.extend({detach:function(c){return Co(this,c,!0)},remove:function(c){return Co(this,c)},text:function(c){return ai(this,function(u){return u===void 0?d.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=u)})},null,c,arguments.length)},append:function(){return _i(this,arguments,function(c){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var u=_o(this,c);u.appendChild(c)}})},prepend:function(){return _i(this,arguments,function(c){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var u=_o(this,c);u.insertBefore(c,u.firstChild)}})},before:function(){return _i(this,arguments,function(c){this.parentNode&&this.parentNode.insertBefore(c,this)})},after:function(){return _i(this,arguments,function(c){this.parentNode&&this.parentNode.insertBefore(c,this.nextSibling)})},empty:function(){for(var c,u=0;(c=this[u])!=null;u++)c.nodeType===1&&(d.cleanData(Nt(c,!1)),c.textContent="");return this},clone:function(c,u){return c=c==null?!1:c,u=u==null?c:u,this.map(function(){return d.clone(this,c,u)})},html:function(c){return ai(this,function(u){var m=this[0]||{},g=0,S=this.length;if(u===void 0&&m.nodeType===1)return m.innerHTML;if(typeof u=="string"&&!Zs.test(u)&&!It[(As.exec(u)||["",""])[1].toLowerCase()]){u=d.htmlPrefilter(u);try{for(;g=0&&(R+=Math.max(0,Math.ceil(c["offset"+u[0].toUpperCase()+u.slice(1)]-y-R-C-.5))||0),R+z}function ts(c,u,m){var g=Tn(c),S=!b.boxSizingReliable()||m,y=S&&d.css(c,"boxSizing",!1,g)==="border-box",Q=y,C=Xn(c,u,g),R="offset"+u[0].toUpperCase()+u.slice(1);if(es.test(C)){if(!m)return C;C="auto"}return(!b.boxSizingReliable()&&y||!b.reliableTrDimensions()&&H(c,"tr")||C==="auto"||!parseFloat(C)&&d.css(c,"display",!1,g)==="inline")&&c.getClientRects().length&&(y=d.css(c,"boxSizing",!1,g)==="border-box",Q=R in c,Q&&(C=c[R])),C=parseFloat(C)||0,C+pr(c,u,m||(y?"border":"content"),Q,g,C)+"px"}d.extend({cssHooks:{opacity:{get:function(c,u){if(u){var m=Xn(c,"opacity");return m===""?"1":m}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(c,u,m,g){if(!(!c||c.nodeType===3||c.nodeType===8||!c.style)){var S,y,Q,C=ei(u),R=kn.test(u),z=c.style;if(R||(u=Vs(C)),Q=d.cssHooks[u]||d.cssHooks[C],m!==void 0){if(y=typeof m,y==="string"&&(S=ki.exec(m))&&S[1]&&(m=Kn(c,u,S),y="number"),m==null||m!==m)return;y==="number"&&!R&&(m+=S&&S[3]||(d.cssNumber[C]?"":"px")),!b.clearCloneStyle&&m===""&&u.indexOf("background")===0&&(z[u]="inherit"),(!Q||!("set"in Q)||(m=Q.set(c,m,g))!==void 0)&&(R?z.setProperty(u,m):z[u]=m)}else return Q&&"get"in Q&&(S=Q.get(c,!1,g))!==void 0?S:z[u]}},css:function(c,u,m,g){var S,y,Q,C=ei(u),R=kn.test(u);return R||(u=Vs(C)),Q=d.cssHooks[u]||d.cssHooks[C],Q&&"get"in Q&&(S=Q.get(c,!0,m)),S===void 0&&(S=Xn(c,u,g)),S==="normal"&&u in Ws&&(S=Ws[u]),m===""||m?(y=parseFloat(S),m===!0||isFinite(y)?y||0:S):S}}),d.each(["height","width"],function(c,u){d.cssHooks[u]={get:function(m,g,S){if(g)return dr.test(d.css(m,"display"))&&(!m.getClientRects().length||!m.getBoundingClientRect().width)?Ls(m,Ds,function(){return ts(m,u,S)}):ts(m,u,S)},set:function(m,g,S){var y,Q=Tn(m),C=!b.scrollboxSize()&&Q.position==="absolute",R=C||S,z=R&&d.css(m,"boxSizing",!1,Q)==="border-box",G=S?pr(m,u,S,z,Q):0;return z&&C&&(G-=Math.ceil(m["offset"+u[0].toUpperCase()+u.slice(1)]-parseFloat(Q[u])-pr(m,u,"border",!1,Q)-.5)),G&&(y=ki.exec(g))&&(y[3]||"px")!=="px"&&(m.style[u]=g,g=d.css(m,u)),js(m,g,G)}}}),d.cssHooks.marginLeft=Ao(b.reliableMarginLeft,function(c,u){if(u)return(parseFloat(Xn(c,"marginLeft"))||c.getBoundingClientRect().left-Ls(c,{marginLeft:0},function(){return c.getBoundingClientRect().left}))+"px"}),d.each({margin:"",padding:"",border:"Width"},function(c,u){d.cssHooks[c+u]={expand:function(m){for(var g=0,S={},y=typeof m=="string"?m.split(" "):[m];g<4;g++)S[c+li[g]+u]=y[g]||y[g-2]||y[0];return S}},c!=="margin"&&(d.cssHooks[c+u].set=js)}),d.fn.extend({css:function(c,u){return ai(this,function(m,g,S){var y,Q,C={},R=0;if(Array.isArray(g)){for(y=Tn(m),Q=g.length;R1)}});function zt(c,u,m,g,S){return new zt.prototype.init(c,u,m,g,S)}d.Tween=zt,zt.prototype={constructor:zt,init:function(c,u,m,g,S,y){this.elem=c,this.prop=m,this.easing=S||d.easing._default,this.options=u,this.start=this.now=this.cur(),this.end=g,this.unit=y||(d.cssNumber[m]?"":"px")},cur:function(){var c=zt.propHooks[this.prop];return c&&c.get?c.get(this):zt.propHooks._default.get(this)},run:function(c){var u,m=zt.propHooks[this.prop];return this.options.duration?this.pos=u=d.easing[this.easing](c,this.options.duration*c,0,1,this.options.duration):this.pos=u=c,this.now=(this.end-this.start)*u+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),m&&m.set?m.set(this):zt.propHooks._default.set(this),this}},zt.prototype.init.prototype=zt.prototype,zt.propHooks={_default:{get:function(c){var u;return c.elem.nodeType!==1||c.elem[c.prop]!=null&&c.elem.style[c.prop]==null?c.elem[c.prop]:(u=d.css(c.elem,c.prop,""),!u||u==="auto"?0:u)},set:function(c){d.fx.step[c.prop]?d.fx.step[c.prop](c):c.elem.nodeType===1&&(d.cssHooks[c.prop]||c.elem.style[Vs(c.prop)]!=null)?d.style(c.elem,c.prop,c.now+c.unit):c.elem[c.prop]=c.now}}},zt.propHooks.scrollTop=zt.propHooks.scrollLeft={set:function(c){c.elem.nodeType&&c.elem.parentNode&&(c.elem[c.prop]=c.now)}},d.easing={linear:function(c){return c},swing:function(c){return .5-Math.cos(c*Math.PI)/2},_default:"swing"},d.fx=zt.prototype.init,d.fx.step={};var w,A,T=/^(?:toggle|show|hide)$/,U=/queueHooks$/;function V(){A&&(X.hidden===!1&&i.requestAnimationFrame?i.requestAnimationFrame(V):i.setTimeout(V,d.fx.interval),d.fx.tick())}function Z(){return i.setTimeout(function(){w=void 0}),w=Date.now()}function K(c,u){var m,g=0,S={height:c};for(u=u?1:0;g<4;g+=2-u)m=li[g],S["margin"+m]=S["padding"+m]=c;return u&&(S.opacity=S.width=c),S}function se(c,u,m){for(var g,S=(le.tweeners[u]||[]).concat(le.tweeners["*"]),y=0,Q=S.length;y1)},removeAttr:function(c){return this.each(function(){d.removeAttr(this,c)})}}),d.extend({attr:function(c,u,m){var g,S,y=c.nodeType;if(!(y===3||y===8||y===2)){if(typeof c.getAttribute=="undefined")return d.prop(c,u,m);if((y!==1||!d.isXMLDoc(c))&&(S=d.attrHooks[u.toLowerCase()]||(d.expr.match.bool.test(u)?Te:void 0)),m!==void 0){if(m===null){d.removeAttr(c,u);return}return S&&"set"in S&&(g=S.set(c,m,u))!==void 0?g:(c.setAttribute(u,m+""),m)}return S&&"get"in S&&(g=S.get(c,u))!==null?g:(g=d.find.attr(c,u),g==null?void 0:g)}},attrHooks:{type:{set:function(c,u){if(!b.radioValue&&u==="radio"&&H(c,"input")){var m=c.value;return c.setAttribute("type",u),m&&(c.value=m),u}}}},removeAttr:function(c,u){var m,g=0,S=u&&u.match($i);if(S&&c.nodeType===1)for(;m=S[g++];)c.removeAttribute(m)}}),Te={set:function(c,u,m){return u===!1?d.removeAttr(c,m):c.setAttribute(m,m),m}},d.each(d.expr.match.bool.source.match(/\w+/g),function(c,u){var m=We[u]||d.find.attr;We[u]=function(g,S,y){var Q,C,R=S.toLowerCase();return y||(C=We[R],We[R]=Q,Q=m(g,S,y)!=null?R:null,We[R]=C),Q}});var Je=/^(?:input|select|textarea|button)$/i,lt=/^(?:a|area)$/i;d.fn.extend({prop:function(c,u){return ai(this,d.prop,c,u,arguments.length>1)},removeProp:function(c){return this.each(function(){delete this[d.propFix[c]||c]})}}),d.extend({prop:function(c,u,m){var g,S,y=c.nodeType;if(!(y===3||y===8||y===2))return(y!==1||!d.isXMLDoc(c))&&(u=d.propFix[u]||u,S=d.propHooks[u]),m!==void 0?S&&"set"in S&&(g=S.set(c,m,u))!==void 0?g:c[u]=m:S&&"get"in S&&(g=S.get(c,u))!==null?g:c[u]},propHooks:{tabIndex:{get:function(c){var u=d.find.attr(c,"tabindex");return u?parseInt(u,10):Je.test(c.nodeName)||lt.test(c.nodeName)&&c.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),b.optSelected||(d.propHooks.selected={get:function(c){var u=c.parentNode;return u&&u.parentNode&&u.parentNode.selectedIndex,null},set:function(c){var u=c.parentNode;u&&(u.selectedIndex,u.parentNode&&u.parentNode.selectedIndex)}}),d.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){d.propFix[this.toLowerCase()]=this});function re(c){var u=c.match($i)||[];return u.join(" ")}function P(c){return c.getAttribute&&c.getAttribute("class")||""}function D(c){return Array.isArray(c)?c:typeof c=="string"?c.match($i)||[]:[]}d.fn.extend({addClass:function(c){var u,m,g,S,y,Q;return v(c)?this.each(function(C){d(this).addClass(c.call(this,C,P(this)))}):(u=D(c),u.length?this.each(function(){if(g=P(this),m=this.nodeType===1&&" "+re(g)+" ",m){for(y=0;y-1;)m=m.replace(" "+S+" "," ");Q=re(m),g!==Q&&this.setAttribute("class",Q)}}):this):this.attr("class","")},toggleClass:function(c,u){var m,g,S,y,Q=typeof c,C=Q==="string"||Array.isArray(c);return v(c)?this.each(function(R){d(this).toggleClass(c.call(this,R,P(this),u),u)}):typeof u=="boolean"&&C?u?this.addClass(c):this.removeClass(c):(m=D(c),this.each(function(){if(C)for(y=d(this),S=0;S-1)return!0;return!1}});var ne=/\r/g;d.fn.extend({val:function(c){var u,m,g,S=this[0];return arguments.length?(g=v(c),this.each(function(y){var Q;this.nodeType===1&&(g?Q=c.call(this,y,d(this).val()):Q=c,Q==null?Q="":typeof Q=="number"?Q+="":Array.isArray(Q)&&(Q=d.map(Q,function(C){return C==null?"":C+""})),u=d.valHooks[this.type]||d.valHooks[this.nodeName.toLowerCase()],(!u||!("set"in u)||u.set(this,Q,"value")===void 0)&&(this.value=Q))})):S?(u=d.valHooks[S.type]||d.valHooks[S.nodeName.toLowerCase()],u&&"get"in u&&(m=u.get(S,"value"))!==void 0?m:(m=S.value,typeof m=="string"?m.replace(ne,""):m==null?"":m)):void 0}}),d.extend({valHooks:{option:{get:function(c){var u=d.find.attr(c,"value");return u!=null?u:re(d.text(c))}},select:{get:function(c){var u,m,g,S=c.options,y=c.selectedIndex,Q=c.type==="select-one",C=Q?null:[],R=Q?y+1:S.length;for(y<0?g=R:g=Q?y:0;g-1)&&(m=!0);return m||(c.selectedIndex=-1),y}}}}),d.each(["radio","checkbox"],function(){d.valHooks[this]={set:function(c,u){if(Array.isArray(u))return c.checked=d.inArray(d(c).val(),u)>-1}},b.checkOn||(d.valHooks[this].get=function(c){return c.getAttribute("value")===null?"on":c.value})});var xe=i.location,Re={guid:Date.now()},Le=/\?/;d.parseXML=function(c){var u,m;if(!c||typeof c!="string")return null;try{u=new i.DOMParser().parseFromString(c,"text/xml")}catch(g){}return m=u&&u.getElementsByTagName("parsererror")[0],(!u||m)&&d.error("Invalid XML: "+(m?d.map(m.childNodes,function(g){return g.textContent}).join(` `):c)),u};var mt=/^(?:focusinfocus|focusoutblur)$/,xt=function(c){c.stopPropagation()};d.extend(d.event,{trigger:function(c,u,m,g){var S,y,Q,C,R,z,G,te,q=[m||X],ce=f.call(c,"type")?c.type:c,Ie=f.call(c,"namespace")?c.namespace.split("."):[];if(y=te=Q=m=m||X,!(m.nodeType===3||m.nodeType===8)&&!mt.test(ce+d.event.triggered)&&(ce.indexOf(".")>-1&&(Ie=ce.split("."),ce=Ie.shift(),Ie.sort()),R=ce.indexOf(":")<0&&"on"+ce,c=c[d.expando]?c:new d.Event(ce,typeof c=="object"&&c),c.isTrigger=g?2:3,c.namespace=Ie.join("."),c.rnamespace=c.namespace?new RegExp("(^|\\.)"+Ie.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,c.result=void 0,c.target||(c.target=m),u=u==null?[c]:d.makeArray(u,[c]),G=d.event.special[ce]||{},!(!g&&G.trigger&&G.trigger.apply(m,u)===!1))){if(!g&&!G.noBubble&&!k(m)){for(C=G.delegateType||ce,mt.test(C+ce)||(y=y.parentNode);y;y=y.parentNode)q.push(y),Q=y;Q===(m.ownerDocument||X)&&q.push(Q.defaultView||Q.parentWindow||i)}for(S=0;(y=q[S++])&&!c.isPropagationStopped();)te=y,c.type=S>1?C:G.bindType||ce,z=(we.get(y,"events")||Object.create(null))[c.type]&&we.get(y,"handle"),z&&z.apply(y,u),z=R&&y[R],z&&z.apply&&cr(y)&&(c.result=z.apply(y,u),c.result===!1&&c.preventDefault());return c.type=ce,!g&&!c.isDefaultPrevented()&&(!G._default||G._default.apply(q.pop(),u)===!1)&&cr(m)&&R&&v(m[ce])&&!k(m)&&(Q=m[R],Q&&(m[R]=null),d.event.triggered=ce,c.isPropagationStopped()&&te.addEventListener(ce,xt),m[ce](),c.isPropagationStopped()&&te.removeEventListener(ce,xt),d.event.triggered=void 0,Q&&(m[R]=Q)),c.result}},simulate:function(c,u,m){var g=d.extend(new d.Event,m,{type:c,isSimulated:!0});d.event.trigger(g,null,u)}}),d.fn.extend({trigger:function(c,u){return this.each(function(){d.event.trigger(c,u,this)})},triggerHandler:function(c,u){var m=this[0];if(m)return d.event.trigger(c,u,m,!0)}});var ii=/\[\]$/,Dt=/\r?\n/g,ka=/^(?:submit|button|image|reset|file)$/i,hi=/^(?:input|select|textarea|keygen)/i;function Su(c,u,m,g){var S;if(Array.isArray(u))d.each(u,function(y,Q){m||ii.test(c)?g(c,Q):Su(c+"["+(typeof Q=="object"&&Q!=null?y:"")+"]",Q,m,g)});else if(!m&&I(u)==="object")for(S in u)Su(c+"["+S+"]",u[S],m,g);else g(c,u)}d.param=function(c,u){var m,g=[],S=function(y,Q){var C=v(Q)?Q():Q;g[g.length]=encodeURIComponent(y)+"="+encodeURIComponent(C==null?"":C)};if(c==null)return"";if(Array.isArray(c)||c.jquery&&!d.isPlainObject(c))d.each(c,function(){S(this.name,this.value)});else for(m in c)Su(m,c[m],u,S);return g.join("&")},d.fn.extend({serialize:function(){return d.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var c=d.prop(this,"elements");return c?d.makeArray(c):this}).filter(function(){var c=this.type;return this.name&&!d(this).is(":disabled")&&hi.test(this.nodeName)&&!ka.test(c)&&(this.checked||!ti.test(c))}).map(function(c,u){var m=d(this).val();return m==null?null:Array.isArray(m)?d.map(m,function(g){return{name:u.name,value:g.replace(Dt,`\r `)}}):{name:u.name,value:m.replace(Dt,`\r `)}}).get()}});var D1=/%20/g,W1=/#.*$/,j1=/([?&])_=[^&]*/,q1=/^(.*?):[ \t]*([^\r\n]*)$/mg,I1=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,N1=/^(?:GET|HEAD)$/,B1=/^\/\//,kg={},yu={},Tg="*/".concat("*"),vu=X.createElement("a");vu.href=xe.href;function Xg(c){return function(u,m){typeof u!="string"&&(m=u,u="*");var g,S=0,y=u.toLowerCase().match($i)||[];if(v(m))for(;g=y[S++];)g[0]==="+"?(g=g.slice(1)||"*",(c[g]=c[g]||[]).unshift(m)):(c[g]=c[g]||[]).push(m)}}function _g(c,u,m,g){var S={},y=c===yu;function Q(C){var R;return S[C]=!0,d.each(c[C]||[],function(z,G){var te=G(u,m,g);if(typeof te=="string"&&!y&&!S[te])return u.dataTypes.unshift(te),Q(te),!1;if(y)return!(R=te)}),R}return Q(u.dataTypes[0])||!S["*"]&&Q("*")}function xu(c,u){var m,g,S=d.ajaxSettings.flatOptions||{};for(m in u)u[m]!==void 0&&((S[m]?c:g||(g={}))[m]=u[m]);return g&&d.extend(!0,c,g),c}function G1(c,u,m){for(var g,S,y,Q,C=c.contents,R=c.dataTypes;R[0]==="*";)R.shift(),g===void 0&&(g=c.mimeType||u.getResponseHeader("Content-Type"));if(g){for(S in C)if(C[S]&&C[S].test(g)){R.unshift(S);break}}if(R[0]in m)y=R[0];else{for(S in m){if(!R[0]||c.converters[S+" "+R[0]]){y=S;break}Q||(Q=S)}y=y||Q}if(y)return y!==R[0]&&R.unshift(y),m[y]}function F1(c,u,m,g){var S,y,Q,C,R,z={},G=c.dataTypes.slice();if(G[1])for(Q in c.converters)z[Q.toLowerCase()]=c.converters[Q];for(y=G.shift();y;)if(c.responseFields[y]&&(m[c.responseFields[y]]=u),!R&&g&&c.dataFilter&&(u=c.dataFilter(u,c.dataType)),R=y,y=G.shift(),y){if(y==="*")y=R;else if(R!=="*"&&R!==y){if(Q=z[R+" "+y]||z["* "+y],!Q){for(S in z)if(C=S.split(" "),C[1]===y&&(Q=z[R+" "+C[0]]||z["* "+C[0]],Q)){Q===!0?Q=z[S]:z[S]!==!0&&(y=C[0],G.unshift(C[1]));break}}if(Q!==!0)if(Q&&c.throws)u=Q(u);else try{u=Q(u)}catch(te){return{state:"parsererror",error:Q?te:"No conversion from "+R+" to "+y}}}}return{state:"success",data:u}}d.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:xe.href,type:"GET",isLocal:I1.test(xe.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Tg,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":d.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(c,u){return u?xu(xu(c,d.ajaxSettings),u):xu(d.ajaxSettings,c)},ajaxPrefilter:Xg(kg),ajaxTransport:Xg(yu),ajax:function(c,u){typeof c=="object"&&(u=c,c=void 0),u=u||{};var m,g,S,y,Q,C,R,z,G,te,q=d.ajaxSetup({},u),ce=q.context||q,Ie=q.context&&(ce.nodeType||ce.jquery)?d(ce):d.event,ht=d.Deferred(),Ge=d.Callbacks("once memory"),fi=q.statusCode||{},Bt={},sn={},on="canceled",nt={readyState:0,getResponseHeader:function(dt){var Yt;if(R){if(!y)for(y={};Yt=q1.exec(S);)y[Yt[1].toLowerCase()+" "]=(y[Yt[1].toLowerCase()+" "]||[]).concat(Yt[2]);Yt=y[dt.toLowerCase()+" "]}return Yt==null?null:Yt.join(", ")},getAllResponseHeaders:function(){return R?S:null},setRequestHeader:function(dt,Yt){return R==null&&(dt=sn[dt.toLowerCase()]=sn[dt.toLowerCase()]||dt,Bt[dt]=Yt),this},overrideMimeType:function(dt){return R==null&&(q.mimeType=dt),this},statusCode:function(dt){var Yt;if(dt)if(R)nt.always(dt[nt.status]);else for(Yt in dt)fi[Yt]=[fi[Yt],dt[Yt]];return this},abort:function(dt){var Yt=dt||on;return m&&m.abort(Yt),qs(0,Yt),this}};if(ht.promise(nt),q.url=((c||q.url||xe.href)+"").replace(B1,xe.protocol+"//"),q.type=u.method||u.type||q.method||q.type,q.dataTypes=(q.dataType||"*").toLowerCase().match($i)||[""],q.crossDomain==null){C=X.createElement("a");try{C.href=q.url,C.href=C.href,q.crossDomain=vu.protocol+"//"+vu.host!=C.protocol+"//"+C.host}catch(dt){q.crossDomain=!0}}if(q.data&&q.processData&&typeof q.data!="string"&&(q.data=d.param(q.data,q.traditional)),_g(kg,q,u,nt),R)return nt;z=d.event&&q.global,z&&d.active++===0&&d.event.trigger("ajaxStart"),q.type=q.type.toUpperCase(),q.hasContent=!N1.test(q.type),g=q.url.replace(W1,""),q.hasContent?q.data&&q.processData&&(q.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(q.data=q.data.replace(D1,"+")):(te=q.url.slice(g.length),q.data&&(q.processData||typeof q.data=="string")&&(g+=(Le.test(g)?"&":"?")+q.data,delete q.data),q.cache===!1&&(g=g.replace(j1,"$1"),te=(Le.test(g)?"&":"?")+"_="+Re.guid+++te),q.url=g+te),q.ifModified&&(d.lastModified[g]&&nt.setRequestHeader("If-Modified-Since",d.lastModified[g]),d.etag[g]&&nt.setRequestHeader("If-None-Match",d.etag[g])),(q.data&&q.hasContent&&q.contentType!==!1||u.contentType)&&nt.setRequestHeader("Content-Type",q.contentType),nt.setRequestHeader("Accept",q.dataTypes[0]&&q.accepts[q.dataTypes[0]]?q.accepts[q.dataTypes[0]]+(q.dataTypes[0]!=="*"?", "+Tg+"; q=0.01":""):q.accepts["*"]);for(G in q.headers)nt.setRequestHeader(G,q.headers[G]);if(q.beforeSend&&(q.beforeSend.call(ce,nt,q)===!1||R))return nt.abort();if(on="abort",Ge.add(q.complete),nt.done(q.success),nt.fail(q.error),m=_g(yu,q,u,nt),!m)qs(-1,"No Transport");else{if(nt.readyState=1,z&&Ie.trigger("ajaxSend",[nt,q]),R)return nt;q.async&&q.timeout>0&&(Q=i.setTimeout(function(){nt.abort("timeout")},q.timeout));try{R=!1,m.send(Bt,qs)}catch(dt){if(R)throw dt;qs(-1,dt)}}function qs(dt,Yt,Xa,wu){var an,_a,ln,is,rs,mr=Yt;R||(R=!0,Q&&i.clearTimeout(Q),m=void 0,S=wu||"",nt.readyState=dt>0?4:0,an=dt>=200&&dt<300||dt===304,Xa&&(is=G1(q,nt,Xa)),!an&&d.inArray("script",q.dataTypes)>-1&&d.inArray("json",q.dataTypes)<0&&(q.converters["text script"]=function(){}),is=F1(q,is,nt,an),an?(q.ifModified&&(rs=nt.getResponseHeader("Last-Modified"),rs&&(d.lastModified[g]=rs),rs=nt.getResponseHeader("etag"),rs&&(d.etag[g]=rs)),dt===204||q.type==="HEAD"?mr="nocontent":dt===304?mr="notmodified":(mr=is.state,_a=is.data,ln=is.error,an=!ln)):(ln=mr,(dt||!mr)&&(mr="error",dt<0&&(dt=0))),nt.status=dt,nt.statusText=(Yt||mr)+"",an?ht.resolveWith(ce,[_a,mr,nt]):ht.rejectWith(ce,[nt,mr,ln]),nt.statusCode(fi),fi=void 0,z&&Ie.trigger(an?"ajaxSuccess":"ajaxError",[nt,q,an?_a:ln]),Ge.fireWith(ce,[nt,mr]),z&&(Ie.trigger("ajaxComplete",[nt,q]),--d.active||d.event.trigger("ajaxStop")))}return nt},getJSON:function(c,u,m){return d.get(c,u,m,"json")},getScript:function(c,u){return d.get(c,void 0,u,"script")}}),d.each(["get","post"],function(c,u){d[u]=function(m,g,S,y){return v(g)&&(y=y||S,S=g,g=void 0),d.ajax(d.extend({url:m,type:u,dataType:y,data:g,success:S},d.isPlainObject(m)&&m))}}),d.ajaxPrefilter(function(c){var u;for(u in c.headers)u.toLowerCase()==="content-type"&&(c.contentType=c.headers[u]||"")}),d._evalUrl=function(c,u,m){return d.ajax({url:c,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(g){d.globalEval(g,u,m)}})},d.fn.extend({wrapAll:function(c){var u;return this[0]&&(v(c)&&(c=c.call(this[0])),u=d(c,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&u.insertBefore(this[0]),u.map(function(){for(var m=this;m.firstElementChild;)m=m.firstElementChild;return m}).append(this)),this},wrapInner:function(c){return v(c)?this.each(function(u){d(this).wrapInner(c.call(this,u))}):this.each(function(){var u=d(this),m=u.contents();m.length?m.wrapAll(c):u.append(c)})},wrap:function(c){var u=v(c);return this.each(function(m){d(this).wrapAll(u?c.call(this,m):c)})},unwrap:function(c){return this.parent(c).not("body").each(function(){d(this).replaceWith(this.childNodes)}),this}}),d.expr.pseudos.hidden=function(c){return!d.expr.pseudos.visible(c)},d.expr.pseudos.visible=function(c){return!!(c.offsetWidth||c.offsetHeight||c.getClientRects().length)},d.ajaxSettings.xhr=function(){try{return new i.XMLHttpRequest}catch(c){}};var H1={0:200,1223:204},Ta=d.ajaxSettings.xhr();b.cors=!!Ta&&"withCredentials"in Ta,b.ajax=Ta=!!Ta,d.ajaxTransport(function(c){var u,m;if(b.cors||Ta&&!c.crossDomain)return{send:function(g,S){var y,Q=c.xhr();if(Q.open(c.type,c.url,c.async,c.username,c.password),c.xhrFields)for(y in c.xhrFields)Q[y]=c.xhrFields[y];c.mimeType&&Q.overrideMimeType&&Q.overrideMimeType(c.mimeType),!c.crossDomain&&!g["X-Requested-With"]&&(g["X-Requested-With"]="XMLHttpRequest");for(y in g)Q.setRequestHeader(y,g[y]);u=function(C){return function(){u&&(u=m=Q.onload=Q.onerror=Q.onabort=Q.ontimeout=Q.onreadystatechange=null,C==="abort"?Q.abort():C==="error"?typeof Q.status!="number"?S(0,"error"):S(Q.status,Q.statusText):S(H1[Q.status]||Q.status,Q.statusText,(Q.responseType||"text")!=="text"||typeof Q.responseText!="string"?{binary:Q.response}:{text:Q.responseText},Q.getAllResponseHeaders()))}},Q.onload=u(),m=Q.onerror=Q.ontimeout=u("error"),Q.onabort!==void 0?Q.onabort=m:Q.onreadystatechange=function(){Q.readyState===4&&i.setTimeout(function(){u&&m()})},u=u("abort");try{Q.send(c.hasContent&&c.data||null)}catch(C){if(u)throw C}},abort:function(){u&&u()}}}),d.ajaxPrefilter(function(c){c.crossDomain&&(c.contents.script=!1)}),d.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(c){return d.globalEval(c),c}}}),d.ajaxPrefilter("script",function(c){c.cache===void 0&&(c.cache=!1),c.crossDomain&&(c.type="GET")}),d.ajaxTransport("script",function(c){if(c.crossDomain||c.scriptAttrs){var u,m;return{send:function(g,S){u=d("