diff --git a/src/GroupDocs.Viewer.UI.API/README.md b/src/GroupDocs.Viewer.UI.API/README.md index 57a500b..53edec1 100644 --- a/src/GroupDocs.Viewer.UI.API/README.md +++ b/src/GroupDocs.Viewer.UI.API/README.md @@ -125,5 +125,4 @@ builder.Services.AddSingleton(); ![GroupDocs.Viewer.UI - Custom search term](https://raw.githubusercontent.com/groupdocs-viewer/groupdocs-viewer.github.io/master/resources/image/ui/custom-search-term.png) -**NOTE:** This feature works only when rendering to HTML. The service should be registered before you register the self-hosted or cloud API for it to take effect. By default, [SearchTermResolver.cs](./SearchTermResolution/Implementation/SearchTermResolver.cs) is registered. This class provides a default implementation that returns an empty string. - +**NOTE:** This feature works only when rendering to HTML and when `PreloadPages` is set to `0` which means all the pages are preloaded. The service should be registered before you register the self-hosted or cloud API for it to take effect. By default, [SearchTermResolver.cs](./SearchTermResolution/Implementation/SearchTermResolver.cs) is registered. This class provides a default implementation that returns an empty string. diff --git a/src/GroupDocs.Viewer.UI.Core/Configuration/Config.cs b/src/GroupDocs.Viewer.UI.Core/Configuration/Config.cs index 3e97291..ca41fa6 100644 --- a/src/GroupDocs.Viewer.UI.Core/Configuration/Config.cs +++ b/src/GroupDocs.Viewer.UI.Core/Configuration/Config.cs @@ -4,115 +4,151 @@ public class Config { /// /// Rendering mode for the UI. - /// Possible values: "RenderingMode.Html", "RenderingMode.Image". - /// Default value is "RenderingMode.Html". + /// Possible values: RenderingMode.Html, RenderingMode.Image. + /// Default value: RenderingMode.Html. /// public RenderingMode RenderingMode { get; set; } = RenderingMode.Html; /// - /// When enabled app will use pre-generated static content via GET requests. - /// Default value is false. + /// When enabled, the app uses pre-generated static content via GET requests. + /// Default value: false. /// public bool StaticContentMode { get; set; } = false; /// - /// File to load by default + /// File to load by default. Set this property to a relative file path or a file ID. + /// By default, no file is loaded unless this property is set or a file name is specified + /// through the file query string parameter, e.g., file=annual-review.docx. /// public string InitialFile { get; set; } /// - /// Number of pages to preload - /// + /// Number of pages to preload. Default value: 3. + /// Set to 0 to render all pages at once. + /// This property also determines how many pages are loaded in subsequent requests. + /// The UI respects scroll direction: when scrolling down, the next pages are loaded; + /// when scrolling up, the previous pages are loaded. + /// + /// + /// If you're using the API without the UI, you can control this setting + /// in the service configuration: + /// + /// using GroupDocs.Viewer.UI.Core.Configuration; + /// + /// var builder = WebApplication.CreateBuilder(args); + /// + /// builder.Services + /// .AddOptions<Config>() + /// .Configure<IConfiguration>((config, configuration) => + /// { + /// config.PreloadPages = 0; // Preload all pages at once + /// }); + /// + /// public int PreloadPages { get; set; } = 3; /// - // Initial zoom level. The default value is not specified; the UI automatically sets the zoom level. + /// Initial zoom level. If not specified, the UI automatically sets the zoom level. /// public ZoomLevel InitialZoom { get; set; } /// - /// Enable or disable right-click context menu + /// Enable or disable the right-click context menu. + /// Default value: true. /// public bool EnableContextMenu { get; set; } = true; /// - /// Enable or disable clickable links in documents + /// Enable or disable clickable links in documents. + /// Default value: true. /// public bool EnableHyperlinks { get; set; } = true; /* Control Visibility Settings */ /// - /// Show or hide header + /// Show or hide the header. + /// Default value: true. /// public bool EnableHeader { get; set; } = true; /// - /// Show or hide header + /// Show or hide the toolbar. + /// Default value: true. /// public bool EnableToolbar { get; set; } = true; /// - /// Show or hide filename + /// Show or hide the file name. + /// Default value: true. /// public bool EnableFileName { get; set; } = true; /// - /// Show or hide thumbnails pane + /// Show or hide the thumbnails pane. + /// Default value: true. /// public bool EnableThumbnails { get; set; } = true; /// - /// Show or hide zoom controls + /// Show or hide the zoom controls. + /// Default value: true. /// public bool EnableZoom { get; set; } = true; /// - /// Show or hide page navigation menu + /// Show or hide the page navigation menu. + /// Default value: true. /// public bool EnablePageSelector { get; set; } = true; /// - /// Show or hide search control + /// Show or hide the search control. + /// Default value: true. /// public bool EnableSearch { get; set; } = true; /// - /// Show or hide "Print" button + /// Show or hide the "Print" button. + /// Default value: true. /// public bool EnablePrint { get; set; } = true; /// - /// Show or hide "Download PDF" button + /// Show or hide the "Download PDF" button. + /// Default value: true. /// public bool EnableDownloadPdf { get; set; } = true; /// - /// Show or hide "Present" button + /// Show or hide the "Present" button. + /// Default value: true. /// public bool EnablePresentation { get; set; } = true; /// - /// Show or hide "File Browser" button + /// Show or hide the "File Browser" button. + /// Default value: true. /// public bool EnableFileBrowser { get; set; } = true; /// - /// Show or hide "Upload File" button + /// Show or hide the "Upload File" button. + /// Default value: true. /// public bool EnableFileUpload { get; set; } = true; - - /* Language and Localization Settings */ /// - /// Show or hide language menu + /// Show or hide the language menu. + /// Default value: true. /// public bool EnableLanguageSelector { get; set; } = true; /// - /// Default language code. Default value is "en". + /// Default language code. + /// Default value: en. /// public LanguageCode DefaultLanguage { get; set; } = LanguageCode.English; diff --git a/src/GroupDocs.Viewer.UI/App/chunk-INJWMVGV.js b/src/GroupDocs.Viewer.UI/App/chunk-INJWMVGV.js new file mode 100644 index 0000000..65af1f4 --- /dev/null +++ b/src/GroupDocs.Viewer.UI/App/chunk-INJWMVGV.js @@ -0,0 +1,446 @@ +import{$ as Xn,$a as jt,$b as Ts,$c as ol,A as vc,Aa as Pc,Ab as wr,B as de,Ba as Vt,Bb as Ao,Bc as jc,C as $a,Ca as y,Cb as it,D as Eo,Da as ko,Db as yr,Dd as Tn,De as ei,E as Zn,Ea as Io,Eb as Jt,Ee as ad,F as Bt,Fa as Do,Fb as Ms,Fd as td,Fe as ld,G as pi,Ga as B,Gb as Ac,Gc as Hc,H as _s,Ha as Fo,Hb as Vc,Hc as Uc,Hd as id,I as ui,Ia as Oc,Ib as U,J as Cn,Ja as te,Jb as W,K as qa,Ka as pt,Kb as Jn,Kc as Pr,Kd as Ht,L as Ga,La as Oe,Lb as Kn,Ld as Et,Ma as ws,Md as No,Me as cd,Na as ze,Nb as nt,Nc as Wc,Nd as zo,O as Za,Oa as G,Ob as Ue,Oc as $c,P as hi,Pa as Tc,Pb as gi,Pc as qc,Pe as ti,Q as Tt,Qb as Sr,Qc as Sn,Qe as Ls,R as _t,Ra as ys,Rb as Vi,Rc as il,Rd as As,S as xc,Sa as we,Sb as Rc,Sc as Gc,Sd as nd,T as et,Ta as A,Tb as Ps,Tc as nl,U as tn,Ua as mi,Ub as Qa,Uc as Mn,V as Cr,Va as ye,Vb as St,Vc as Zc,Vd as Vs,Ve as Uo,W as vs,Wa as Ss,Wb as Lc,Wc as Xc,Wd as jo,We as dd,X as ki,Xa as yt,Xb as Ja,Xc as Is,Xd as Ho,Xe as Wo,Y as ge,Ya as X,Yc as Li,Ye as pd,Z as dt,Za as Di,Zb as Os,Zc as Ds,Zd as od,_ as Nt,_a as zt,_b as Bc,_c as Fs,_d as rd,a as Ie,aa as z,ab as x,ac as yn,b as gt,bb as S,bc as Je,be as rl,ca as xs,cb as ee,cc as Nc,ce as sl,da as fi,db as Fi,dc as Vo,dd as Pn,e as Wa,ea as $,eb as Ai,ec as Ka,ed as _i,f as Xu,fa as q,fb as nn,fc as Es,g as di,ga as ht,gb as ae,gd as xt,ge as al,ha as bn,hb as Ec,hc as el,hd as to,he as sd,i as Ei,ia as $e,ib as j,ic as tl,id as Kt,j as ms,ja as Ii,jb as O,jc as Ri,k as De,ka as Cs,kb as ut,kc as Mr,kd as Yc,ke as En,l as Xe,la as he,lb as Ye,lc as Ro,le as Bi,m as dc,ma as vt,mb as wn,md as Qc,me as Rs,n as pc,na as Cc,nb as on,o as uc,oa as Ae,ob as tt,p as Gn,pb as Re,q as vn,qa as Xa,qb as Le,r as hc,ra as Yn,rb as qe,rc as zc,rd as Bo,s as He,sa as Ya,sb as R,sc as Lo,t as xn,ta as bc,tb as ve,td as io,u as fc,ua as wc,ub as Ne,uc as ks,v as mc,va as yc,vb as kc,vd as Jc,w as gc,wa as Sc,wb as Ic,wc as eo,wd as On,x as en,xa as Mc,xb as Dc,xd as Kc,y as _c,ya as br,yb as Fc,yd as ed,z as gs,za as bs,zb as Qn}from"./chunk-ZIHOBMJY.js";var Mp=Wa(ca=>{"use strict";Object.defineProperty(ca,"__esModule",{value:!0});var Vf;(function(t){t.Unidentified="Unidentified",t.Alt="Alt",t.AltGraph="AltGraph",t.CapsLock="CapsLock",t.Control="Control",t.Fn="Fn",t.FnLock="FnLock",t.Hyper="Hyper",t.Meta="Meta",t.NumLock="NumLock",t.ScrollLock="ScrollLock",t.Shift="Shift",t.Super="Super",t.Symbol="Symbol",t.SymbolLock="SymbolLock",t.Enter="Enter",t.Tab="Tab",t.ArrowDown="ArrowDown",t.ArrowLeft="ArrowLeft",t.ArrowRight="ArrowRight",t.ArrowUp="ArrowUp",t.End="End",t.Home="Home",t.PageDown="PageDown",t.PageUp="PageUp",t.Backspace="Backspace",t.Clear="Clear",t.Copy="Copy",t.CrSel="CrSel",t.Cut="Cut",t.Delete="Delete",t.EraseEof="EraseEof",t.ExSel="ExSel",t.Insert="Insert",t.Paste="Paste",t.Redo="Redo",t.Undo="Undo",t.Accept="Accept",t.Again="Again",t.Attn="Attn",t.Cancel="Cancel",t.ContextMenu="ContextMenu",t.Escape="Escape",t.Execute="Execute",t.Find="Find",t.Finish="Finish",t.Help="Help",t.Pause="Pause",t.Play="Play",t.Props="Props",t.Select="Select",t.ZoomIn="ZoomIn",t.ZoomOut="ZoomOut",t.BrightnessDown="BrightnessDown",t.BrightnessUp="BrightnessUp",t.Eject="Eject",t.LogOff="LogOff",t.Power="Power",t.PowerOff="PowerOff",t.PrintScreen="PrintScreen",t.Hibernate="Hibernate",t.Standby="Standby",t.WakeUp="WakeUp",t.AllCandidates="AllCandidates",t.Alphanumeric="Alphanumeric",t.CodeInput="CodeInput",t.Compose="Compose",t.Convert="Convert",t.Dead="Dead",t.FinalMode="FinalMode",t.GroupFirst="GroupFirst",t.GroupLast="GroupLast",t.GroupNext="GroupNext",t.GroupPrevious="GroupPrevious",t.ModeChange="ModeChange",t.NextCandidate="NextCandidate",t.NonConvert="NonConvert",t.PreviousCandidate="PreviousCandidate",t.Process="Process",t.SingleCandidate="SingleCandidate",t.HangulMode="HangulMode",t.HanjaMode="HanjaMode",t.JunjaMode="JunjaMode",t.Eisu="Eisu",t.Hankaku="Hankaku",t.Hiragana="Hiragana",t.HiraganaKatakana="HiraganaKatakana",t.KanaMode="KanaMode",t.KanjiMode="KanjiMode",t.Katakana="Katakana",t.Romaji="Romaji",t.Zenkaku="Zenkaku",t.ZenkakuHanaku="ZenkakuHanaku",t.F1="F1",t.F2="F2",t.F3="F3",t.F4="F4",t.F5="F5",t.F6="F6",t.F7="F7",t.F8="F8",t.F9="F9",t.F10="F10",t.F11="F11",t.F12="F12",t.F13="F13",t.F14="F14",t.F15="F15",t.F16="F16",t.F17="F17",t.F18="F18",t.F19="F19",t.F20="F20",t.Soft1="Soft1",t.Soft2="Soft2",t.Soft3="Soft3",t.Soft4="Soft4",t.AppSwitch="AppSwitch",t.Call="Call",t.Camera="Camera",t.CameraFocus="CameraFocus",t.EndCall="EndCall",t.GoBack="GoBack",t.GoHome="GoHome",t.HeadsetHook="HeadsetHook",t.LastNumberRedial="LastNumberRedial",t.Notification="Notification",t.MannerMode="MannerMode",t.VoiceDial="VoiceDial",t.ChannelDown="ChannelDown",t.ChannelUp="ChannelUp",t.MediaFastForward="MediaFastForward",t.MediaPause="MediaPause",t.MediaPlay="MediaPlay",t.MediaPlayPause="MediaPlayPause",t.MediaRecord="MediaRecord",t.MediaRewind="MediaRewind",t.MediaStop="MediaStop",t.MediaTrackNext="MediaTrackNext",t.MediaTrackPrevious="MediaTrackPrevious",t.AudioBalanceLeft="AudioBalanceLeft",t.AudioBalanceRight="AudioBalanceRight",t.AudioBassDown="AudioBassDown",t.AudioBassBoostDown="AudioBassBoostDown",t.AudioBassBoostToggle="AudioBassBoostToggle",t.AudioBassBoostUp="AudioBassBoostUp",t.AudioBassUp="AudioBassUp",t.AudioFaderFront="AudioFaderFront",t.AudioFaderRear="AudioFaderRear",t.AudioSurroundModeNext="AudioSurroundModeNext",t.AudioTrebleDown="AudioTrebleDown",t.AudioTrebleUp="AudioTrebleUp",t.AudioVolumeDown="AudioVolumeDown",t.AudioVolumeMute="AudioVolumeMute",t.AudioVolumeUp="AudioVolumeUp",t.MicrophoneToggle="MicrophoneToggle",t.MicrophoneVolumeDown="MicrophoneVolumeDown",t.MicrophoneVolumeMute="MicrophoneVolumeMute",t.MicrophoneVolumeUp="MicrophoneVolumeUp",t.TV="TV",t.TV3DMode="TV3DMode",t.TVAntennaCable="TVAntennaCable",t.TVAudioDescription="TVAudioDescription",t.TVAudioDescriptionMixDown="TVAudioDescriptionMixDown",t.TVAudioDescriptionMixUp="TVAudioDescriptionMixUp",t.TVContentsMenu="TVContentsMenu",t.TVDataService="TVDataService",t.TVInput="TVInput",t.TVInputComponent1="TVInputComponent1",t.TVInputComponent2="TVInputComponent2",t.TVInputComposite1="TVInputComposite1",t.TVInputComposite2="TVInputComposite2",t.TVInputHDMI1="TVInputHDMI1",t.TVInputHDMI2="TVInputHDMI2",t.TVInputHDMI3="TVInputHDMI3",t.TVInputHDMI4="TVInputHDMI4",t.TVInputVGA1="TVInputVGA1",t.TVMediaContext="TVMediaContext",t.TVNetwork="TVNetwork",t.TVNumberEntry="TVNumberEntry",t.TVPower="TVPower",t.TVRadioService="TVRadioService",t.TVSatellite="TVSatellite",t.TVSatelliteBS="TVSatelliteBS",t.TVSatelliteCS="TVSatelliteCS",t.TVSatelliteToggle="TVSatelliteToggle",t.TVTerrestrialAnalog="TVTerrestrialAnalog",t.TVTerrestrialDigital="TVTerrestrialDigital",t.TVTimer="TVTimer",t.AVRInput="AVRInput",t.AVRPower="AVRPower",t.ColorF0Red="ColorF0Red",t.ColorF1Green="ColorF1Green",t.ColorF2Yellow="ColorF2Yellow",t.ColorF3Blue="ColorF3Blue",t.ColorF4Grey="ColorF4Grey",t.ColorF5Brown="ColorF5Brown",t.ClosedCaptionToggle="ClosedCaptionToggle",t.Dimmer="Dimmer",t.DisplaySwap="DisplaySwap",t.DVR="DVR",t.Exit="Exit",t.FavoriteClear0="FavoriteClear0",t.FavoriteClear1="FavoriteClear1",t.FavoriteClear2="FavoriteClear2",t.FavoriteClear3="FavoriteClear3",t.FavoriteRecall0="FavoriteRecall0",t.FavoriteRecall1="FavoriteRecall1",t.FavoriteRecall2="FavoriteRecall2",t.FavoriteRecall3="FavoriteRecall3",t.FavoriteStore0="FavoriteStore0",t.FavoriteStore1="FavoriteStore1",t.FavoriteStore2="FavoriteStore2",t.FavoriteStore3="FavoriteStore3",t.Guide="Guide",t.GuideNextDay="GuideNextDay",t.GuidePreviousDay="GuidePreviousDay",t.Info="Info",t.InstantReplay="InstantReplay",t.Link="Link",t.ListProgram="ListProgram",t.LiveContent="LiveContent",t.Lock="Lock",t.MediaApps="MediaApps",t.MediaAudioTrack="MediaAudioTrack",t.MediaLast="MediaLast",t.MediaSkipBackward="MediaSkipBackward",t.MediaSkipForward="MediaSkipForward",t.MediaStepBackward="MediaStepBackward",t.MediaStepForward="MediaStepForward",t.MediaTopMenu="MediaTopMenu",t.NavigateIn="NavigateIn",t.NavigateNext="NavigateNext",t.NavigateOut="NavigateOut",t.NavigatePrevious="NavigatePrevious",t.NextFavoriteChannel="NextFavoriteChannel",t.NextUserProfile="NextUserProfile",t.OnDemand="OnDemand",t.Pairing="Pairing",t.PinPDown="PinPDown",t.PinPMove="PinPMove",t.PinPToggle="PinPToggle",t.PinPUp="PinPUp",t.PlaySpeedDown="PlaySpeedDown",t.PlaySpeedReset="PlaySpeedReset",t.PlaySpeedUp="PlaySpeedUp",t.RandomToggle="RandomToggle",t.RcLowBattery="RcLowBattery",t.RecordSpeedNext="RecordSpeedNext",t.RfBypass="RfBypass",t.ScanChannelsToggle="ScanChannelsToggle",t.ScreenModeNext="ScreenModeNext",t.Settings="Settings",t.SplitScreenToggle="SplitScreenToggle",t.STBInput="STBInput",t.STBPower="STBPower",t.Subtitle="Subtitle",t.Teletext="Teletext",t.VideoModeNext="VideoModeNext",t.Wink="Wink",t.ZoomToggle="ZoomToggle",t.SpeechCorrectionList="SpeechCorrectionList",t.SpeechInputToggle="SpeechInputToggle",t.Close="Close",t.New="New",t.Open="Open",t.Print="Print",t.Save="Save",t.SpellCheck="SpellCheck",t.MailForward="MailForward",t.MailReply="MailReply",t.MailSend="MailSend",t.LaunchCalculator="LaunchCalculator",t.LaunchCalendar="LaunchCalendar",t.LaunchContacts="LaunchContacts",t.LaunchMail="LaunchMail",t.LaunchMediaPlayer="LaunchMediaPlayer",t.LaunchMusicPlayer="LaunchMusicPlayer",t.LaunchMyComputer="LaunchMyComputer",t.LaunchPhone="LaunchPhone",t.LaunchScreenSaver="LaunchScreenSaver",t.LaunchSpreadsheet="LaunchSpreadsheet",t.LaunchWebBrowser="LaunchWebBrowser",t.LaunchWebCam="LaunchWebCam",t.LaunchWordProcessor="LaunchWordProcessor",t.LaunchApplication1="LaunchApplication1",t.LaunchApplication2="LaunchApplication2",t.LaunchApplication3="LaunchApplication3",t.LaunchApplication4="LaunchApplication4",t.LaunchApplication5="LaunchApplication5",t.LaunchApplication6="LaunchApplication6",t.LaunchApplication7="LaunchApplication7",t.LaunchApplication8="LaunchApplication8",t.LaunchApplication9="LaunchApplication9",t.LaunchApplication10="LaunchApplication10",t.LaunchApplication11="LaunchApplication11",t.LaunchApplication12="LaunchApplication12",t.LaunchApplication13="LaunchApplication13",t.LaunchApplication14="LaunchApplication14",t.LaunchApplication15="LaunchApplication15",t.LaunchApplication16="LaunchApplication16",t.BrowserBack="BrowserBack",t.BrowserFavorites="BrowserFavorites",t.BrowserForward="BrowserForward",t.BrowserHome="BrowserHome",t.BrowserRefresh="BrowserRefresh",t.BrowserSearch="BrowserSearch",t.BrowserStop="BrowserStop",t.Decimal="Decimal",t.Key11="Key11",t.Key12="Key12",t.Multiply="Multiply",t.Add="Add",t.Divide="Divide",t.Subtract="Subtract",t.Separator="Separator"})(Vf=ca.Key||(ca.Key={}))});var ji=Wa((_u,xa)=>{"use strict";(function(t,o){"use strict";typeof xa=="object"&&typeof xa.exports=="object"?xa.exports=t.document?o(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return o(e)}:o(t)})(typeof window<"u"?window:_u,function(t,o){"use strict";var e=[],i=Object.getPrototypeOf,s=e.slice,p=e.flat?function(n){return e.flat.call(n)}:function(n){return e.concat.apply([],n)},w=e.push,F=e.indexOf,ie={},_e=ie.toString,se=ie.hasOwnProperty,be=se.toString,Be=be.call(Object),ne={},K=function(a){return typeof a=="function"&&typeof a.nodeType!="number"&&typeof a.item!="function"},rt=function(a){return a!=null&&a===a.window},pe=t.document,Mt={type:!0,src:!0,nonce:!0,noModule:!0};function fo(n,a,l){l=l||pe;var c,u,h=l.createElement("script");if(h.text=n,a)for(c in Mt)u=a[c]||a.getAttribute&&a.getAttribute(c),u&&h.setAttribute(c,u);l.head.appendChild(h).parentNode.removeChild(h)}function vi(n){return n==null?n+"":typeof n=="object"||typeof n=="function"?ie[_e.call(n)]||"object":typeof n}var nr="3.7.1",mo=/HTML$/i,d=function(n,a){return new d.fn.init(n,a)};d.fn=d.prototype={jquery:nr,constructor:d,length:0,toArray:function(){return s.call(this)},get:function(n){return n==null?s.call(this):n<0?this[n+this.length]:this[n]},pushStack:function(n){var a=d.merge(this.constructor(),n);return a.prevObject=this,a},each:function(n){return d.each(this,n)},map:function(n){return this.pushStack(d.map(this,function(a,l){return n.call(a,l,a)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(d.grep(this,function(n,a){return(a+1)%2}))},odd:function(){return this.pushStack(d.grep(this,function(n,a){return a%2}))},eq:function(n){var a=this.length,l=+n+(n<0?a:0);return this.pushStack(l>=0&&l0&&a-1 in n}function Ee(n,a){return n.nodeName&&n.nodeName.toLowerCase()===a.toLowerCase()}var _o=e.pop,sn=e.sort,vo=e.splice,Fe="[\\x20\\t\\r\\n\\f]",xi=new RegExp("^"+Fe+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Fe+"+$","g");d.contains=function(n,a){var l=a&&a.parentNode;return n===l||!!(l&&l.nodeType===1&&(n.contains?n.contains(l):n.compareDocumentPosition&&n.compareDocumentPosition(l)&16))};var ya=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function Sa(n,a){return a?n==="\0"?"\uFFFD":n.slice(0,-1)+"\\"+n.charCodeAt(n.length-1).toString(16)+" ":"\\"+n}d.escapeSelector=function(n){return(n+"").replace(ya,Sa)};var Ut=pe,or=w;(function(){var n,a,l,c,u,h=or,f,C,v,P,D,L=d.expando,k=0,H=0,fe=ps(),Te=ps(),xe=ps(),mt=ps(),ct=function(_,M){return _===M&&(u=!0),0},Si="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Mi="(?:\\\\[\\da-fA-F]{1,6}"+Fe+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",Pe="\\["+Fe+"*("+Mi+")(?:"+Fe+"*([*^$|!~]?=)"+Fe+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+Mi+"))|)"+Fe+"*\\]",$n=":("+Mi+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+Pe+")*)|.*)\\)|)",ke=new RegExp(Fe+"+","g"),Qe=new RegExp("^"+Fe+"*,"+Fe+"*"),_r=new RegExp("^"+Fe+"*([>+~]|"+Fe+")"+Fe+"*"),La=new RegExp(Fe+"|>"),Pi=new RegExp($n),vr=new RegExp("^"+Mi+"$"),Oi={ID:new RegExp("^#("+Mi+")"),CLASS:new RegExp("^\\.("+Mi+")"),TAG:new RegExp("^("+Mi+"|[*])"),ATTR:new RegExp("^"+Pe),PSEUDO:new RegExp("^"+$n),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+Fe+"*(even|odd|(([+-]|)(\\d*)n|)"+Fe+"*(?:([+-]|)"+Fe+"*(\\d+)|))"+Fe+"*\\)|)","i"),bool:new RegExp("^(?:"+Si+")$","i"),needsContext:new RegExp("^"+Fe+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+Fe+"*((?:-\\d)?\\d*)"+Fe+"*\\)|)(?=[^-]|$)","i")},mn=/^(?:input|select|textarea|button)$/i,gn=/^h\d$/i,Yt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Ba=/[+~]/,Ji=new RegExp("\\\\[\\da-fA-F]{1,6}"+Fe+"?|\\\\([^\\r\\n\\f])","g"),Ki=function(_,M){var E="0x"+_.slice(1)-65536;return M||(E<0?String.fromCharCode(E+65536):String.fromCharCode(E>>10|55296,E&1023|56320))},Hu=function(){_n()},Uu=hs(function(_){return _.disabled===!0&&Ee(_,"fieldset")},{dir:"parentNode",next:"legend"});function Wu(){try{return f.activeElement}catch{}}try{h.apply(e=s.call(Ut.childNodes),Ut.childNodes),e[Ut.childNodes.length].nodeType}catch{h={apply:function(M,E){or.apply(M,s.call(E))},call:function(M){or.apply(M,s.call(arguments,1))}}}function Ve(_,M,E,I){var V,Z,Q,oe,J,Se,ue,me=M&&M.ownerDocument,Me=M?M.nodeType:9;if(E=E||[],typeof _!="string"||!_||Me!==1&&Me!==9&&Me!==11)return E;if(!I&&(_n(M),M=M||f,v)){if(Me!==11&&(J=Yt.exec(_)))if(V=J[1]){if(Me===9)if(Q=M.getElementById(V)){if(Q.id===V)return h.call(E,Q),E}else return E;else if(me&&(Q=me.getElementById(V))&&Ve.contains(M,Q)&&Q.id===V)return h.call(E,Q),E}else{if(J[2])return h.apply(E,M.getElementsByTagName(_)),E;if((V=J[3])&&M.getElementsByClassName)return h.apply(E,M.getElementsByClassName(V)),E}if(!mt[_+" "]&&(!P||!P.test(_))){if(ue=_,me=M,Me===1&&(La.test(_)||_r.test(_))){for(me=Ba.test(_)&&Na(M.parentNode)||M,(me!=M||!ne.scope)&&((oe=M.getAttribute("id"))?oe=d.escapeSelector(oe):M.setAttribute("id",oe=L)),Se=xr(_),Z=Se.length;Z--;)Se[Z]=(oe?"#"+oe:":scope")+" "+us(Se[Z]);ue=Se.join(",")}try{return h.apply(E,me.querySelectorAll(ue)),E}catch{mt(_,!0)}finally{oe===L&&M.removeAttribute("id")}}}return cc(_.replace(xi,"$1"),M,E,I)}function ps(){var _=[];function M(E,I){return _.push(E+" ")>a.cacheLength&&delete M[_.shift()],M[E+" "]=I}return M}function ci(_){return _[L]=!0,_}function Oo(_){var M=f.createElement("fieldset");try{return!!_(M)}catch{return!1}finally{M.parentNode&&M.parentNode.removeChild(M),M=null}}function $u(_){return function(M){return Ee(M,"input")&&M.type===_}}function qu(_){return function(M){return(Ee(M,"input")||Ee(M,"button"))&&M.type===_}}function ac(_){return function(M){return"form"in M?M.parentNode&&M.disabled===!1?"label"in M?"label"in M.parentNode?M.parentNode.disabled===_:M.disabled===_:M.isDisabled===_||M.isDisabled!==!_&&Uu(M)===_:M.disabled===_:"label"in M?M.disabled===_:!1}}function qn(_){return ci(function(M){return M=+M,ci(function(E,I){for(var V,Z=_([],E.length,M),Q=Z.length;Q--;)E[V=Z[Q]]&&(E[V]=!(I[V]=E[V]))})})}function Na(_){return _&&typeof _.getElementsByTagName<"u"&&_}function _n(_){var M,E=_?_.ownerDocument||_:Ut;return E==f||E.nodeType!==9||!E.documentElement||(f=E,C=f.documentElement,v=!d.isXMLDoc(f),D=C.matches||C.webkitMatchesSelector||C.msMatchesSelector,C.msMatchesSelector&&Ut!=f&&(M=f.defaultView)&&M.top!==M&&M.addEventListener("unload",Hu),ne.getById=Oo(function(I){return C.appendChild(I).id=d.expando,!f.getElementsByName||!f.getElementsByName(d.expando).length}),ne.disconnectedMatch=Oo(function(I){return D.call(I,"*")}),ne.scope=Oo(function(){return f.querySelectorAll(":scope")}),ne.cssHas=Oo(function(){try{return f.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),ne.getById?(a.filter.ID=function(I){var V=I.replace(Ji,Ki);return function(Z){return Z.getAttribute("id")===V}},a.find.ID=function(I,V){if(typeof V.getElementById<"u"&&v){var Z=V.getElementById(I);return Z?[Z]:[]}}):(a.filter.ID=function(I){var V=I.replace(Ji,Ki);return function(Z){var Q=typeof Z.getAttributeNode<"u"&&Z.getAttributeNode("id");return Q&&Q.value===V}},a.find.ID=function(I,V){if(typeof V.getElementById<"u"&&v){var Z,Q,oe,J=V.getElementById(I);if(J){if(Z=J.getAttributeNode("id"),Z&&Z.value===I)return[J];for(oe=V.getElementsByName(I),Q=0;J=oe[Q++];)if(Z=J.getAttributeNode("id"),Z&&Z.value===I)return[J]}return[]}}),a.find.TAG=function(I,V){return typeof V.getElementsByTagName<"u"?V.getElementsByTagName(I):V.querySelectorAll(I)},a.find.CLASS=function(I,V){if(typeof V.getElementsByClassName<"u"&&v)return V.getElementsByClassName(I)},P=[],Oo(function(I){var V;C.appendChild(I).innerHTML="",I.querySelectorAll("[selected]").length||P.push("\\["+Fe+"*(?:value|"+Si+")"),I.querySelectorAll("[id~="+L+"-]").length||P.push("~="),I.querySelectorAll("a#"+L+"+*").length||P.push(".#.+[+~]"),I.querySelectorAll(":checked").length||P.push(":checked"),V=f.createElement("input"),V.setAttribute("type","hidden"),I.appendChild(V).setAttribute("name","D"),C.appendChild(I).disabled=!0,I.querySelectorAll(":disabled").length!==2&&P.push(":enabled",":disabled"),V=f.createElement("input"),V.setAttribute("name",""),I.appendChild(V),I.querySelectorAll("[name='']").length||P.push("\\["+Fe+"*name"+Fe+"*="+Fe+`*(?:''|"")`)}),ne.cssHas||P.push(":has"),P=P.length&&new RegExp(P.join("|")),ct=function(I,V){if(I===V)return u=!0,0;var Z=!I.compareDocumentPosition-!V.compareDocumentPosition;return Z||(Z=(I.ownerDocument||I)==(V.ownerDocument||V)?I.compareDocumentPosition(V):1,Z&1||!ne.sortDetached&&V.compareDocumentPosition(I)===Z?I===f||I.ownerDocument==Ut&&Ve.contains(Ut,I)?-1:V===f||V.ownerDocument==Ut&&Ve.contains(Ut,V)?1:c?F.call(c,I)-F.call(c,V):0:Z&4?-1:1)}),f}Ve.matches=function(_,M){return Ve(_,null,null,M)},Ve.matchesSelector=function(_,M){if(_n(_),v&&!mt[M+" "]&&(!P||!P.test(M)))try{var E=D.call(_,M);if(E||ne.disconnectedMatch||_.document&&_.document.nodeType!==11)return E}catch{mt(M,!0)}return Ve(M,f,null,[_]).length>0},Ve.contains=function(_,M){return(_.ownerDocument||_)!=f&&_n(_),d.contains(_,M)},Ve.attr=function(_,M){(_.ownerDocument||_)!=f&&_n(_);var E=a.attrHandle[M.toLowerCase()],I=E&&se.call(a.attrHandle,M.toLowerCase())?E(_,M,!v):void 0;return I!==void 0?I:_.getAttribute(M)},Ve.error=function(_){throw new Error("Syntax error, unrecognized expression: "+_)},d.uniqueSort=function(_){var M,E=[],I=0,V=0;if(u=!ne.sortStable,c=!ne.sortStable&&s.call(_,0),sn.call(_,ct),u){for(;M=_[V++];)M===_[V]&&(I=E.push(V));for(;I--;)vo.call(_,E[I],1)}return c=null,_},d.fn.uniqueSort=function(){return this.pushStack(d.uniqueSort(s.apply(this)))},a=d.expr={cacheLength:50,createPseudo:ci,match:Oi,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(_){return _[1]=_[1].replace(Ji,Ki),_[3]=(_[3]||_[4]||_[5]||"").replace(Ji,Ki),_[2]==="~="&&(_[3]=" "+_[3]+" "),_.slice(0,4)},CHILD:function(_){return _[1]=_[1].toLowerCase(),_[1].slice(0,3)==="nth"?(_[3]||Ve.error(_[0]),_[4]=+(_[4]?_[5]+(_[6]||1):2*(_[3]==="even"||_[3]==="odd")),_[5]=+(_[7]+_[8]||_[3]==="odd")):_[3]&&Ve.error(_[0]),_},PSEUDO:function(_){var M,E=!_[6]&&_[2];return Oi.CHILD.test(_[0])?null:(_[3]?_[2]=_[4]||_[5]||"":E&&Pi.test(E)&&(M=xr(E,!0))&&(M=E.indexOf(")",E.length-M)-E.length)&&(_[0]=_[0].slice(0,M),_[2]=E.slice(0,M)),_.slice(0,3))}},filter:{TAG:function(_){var M=_.replace(Ji,Ki).toLowerCase();return _==="*"?function(){return!0}:function(E){return Ee(E,M)}},CLASS:function(_){var M=fe[_+" "];return M||(M=new RegExp("(^|"+Fe+")"+_+"("+Fe+"|$)"))&&fe(_,function(E){return M.test(typeof E.className=="string"&&E.className||typeof E.getAttribute<"u"&&E.getAttribute("class")||"")})},ATTR:function(_,M,E){return function(I){var V=Ve.attr(I,_);return V==null?M==="!=":M?(V+="",M==="="?V===E:M==="!="?V!==E:M==="^="?E&&V.indexOf(E)===0:M==="*="?E&&V.indexOf(E)>-1:M==="$="?E&&V.slice(-E.length)===E:M==="~="?(" "+V.replace(ke," ")+" ").indexOf(E)>-1:M==="|="?V===E||V.slice(0,E.length+1)===E+"-":!1):!0}},CHILD:function(_,M,E,I,V){var Z=_.slice(0,3)!=="nth",Q=_.slice(-4)!=="last",oe=M==="of-type";return I===1&&V===0?function(J){return!!J.parentNode}:function(J,Se,ue){var me,Me,ce,je,At,wt=Z!==Q?"nextSibling":"previousSibling",Qt=J.parentNode,Ti=oe&&J.nodeName.toLowerCase(),To=!ue&&!oe,Ot=!1;if(Qt){if(Z){for(;wt;){for(ce=J;ce=ce[wt];)if(oe?Ee(ce,Ti):ce.nodeType===1)return!1;At=wt=_==="only"&&!At&&"nextSibling"}return!0}if(At=[Q?Qt.firstChild:Qt.lastChild],Q&&To){for(Me=Qt[L]||(Qt[L]={}),me=Me[_]||[],je=me[0]===k&&me[1],Ot=je&&me[2],ce=je&&Qt.childNodes[je];ce=++je&&ce&&ce[wt]||(Ot=je=0)||At.pop();)if(ce.nodeType===1&&++Ot&&ce===J){Me[_]=[k,je,Ot];break}}else if(To&&(Me=J[L]||(J[L]={}),me=Me[_]||[],je=me[0]===k&&me[1],Ot=je),Ot===!1)for(;(ce=++je&&ce&&ce[wt]||(Ot=je=0)||At.pop())&&!((oe?Ee(ce,Ti):ce.nodeType===1)&&++Ot&&(To&&(Me=ce[L]||(ce[L]={}),Me[_]=[k,Ot]),ce===J)););return Ot-=V,Ot===I||Ot%I===0&&Ot/I>=0}}},PSEUDO:function(_,M){var E,I=a.pseudos[_]||a.setFilters[_.toLowerCase()]||Ve.error("unsupported pseudo: "+_);return I[L]?I(M):I.length>1?(E=[_,_,"",M],a.setFilters.hasOwnProperty(_.toLowerCase())?ci(function(V,Z){for(var Q,oe=I(V,M),J=oe.length;J--;)Q=F.call(V,oe[J]),V[Q]=!(Z[Q]=oe[J])}):function(V){return I(V,0,E)}):I}},pseudos:{not:ci(function(_){var M=[],E=[],I=Ua(_.replace(xi,"$1"));return I[L]?ci(function(V,Z,Q,oe){for(var J,Se=I(V,null,oe,[]),ue=V.length;ue--;)(J=Se[ue])&&(V[ue]=!(Z[ue]=J))}):function(V,Z,Q){return M[0]=V,I(M,null,Q,E),M[0]=null,!E.pop()}}),has:ci(function(_){return function(M){return Ve(_,M).length>0}}),contains:ci(function(_){return _=_.replace(Ji,Ki),function(M){return(M.textContent||d.text(M)).indexOf(_)>-1}}),lang:ci(function(_){return vr.test(_||"")||Ve.error("unsupported lang: "+_),_=_.replace(Ji,Ki).toLowerCase(),function(M){var E;do if(E=v?M.lang:M.getAttribute("xml:lang")||M.getAttribute("lang"))return E=E.toLowerCase(),E===_||E.indexOf(_+"-")===0;while((M=M.parentNode)&&M.nodeType===1);return!1}}),target:function(_){var M=t.location&&t.location.hash;return M&&M.slice(1)===_.id},root:function(_){return _===C},focus:function(_){return _===Wu()&&f.hasFocus()&&!!(_.type||_.href||~_.tabIndex)},enabled:ac(!1),disabled:ac(!0),checked:function(_){return Ee(_,"input")&&!!_.checked||Ee(_,"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!a.pseudos.empty(_)},header:function(_){return gn.test(_.nodeName)},input:function(_){return mn.test(_.nodeName)},button:function(_){return Ee(_,"input")&&_.type==="button"||Ee(_,"button")},text:function(_){var M;return Ee(_,"input")&&_.type==="text"&&((M=_.getAttribute("type"))==null||M.toLowerCase()==="text")},first:qn(function(){return[0]}),last:qn(function(_,M){return[M-1]}),eq:qn(function(_,M,E){return[E<0?E+M:E]}),even:qn(function(_,M){for(var E=0;EM?I=M:I=E;--I>=0;)_.push(I);return _}),gt:qn(function(_,M,E){for(var I=E<0?E+M:E;++I1?function(M,E,I){for(var V=_.length;V--;)if(!_[V](M,E,I))return!1;return!0}:_[0]}function Gu(_,M,E){for(var I=0,V=M.length;I-1&&(Q[ue]=!(oe[ue]=Me))}}else ce=fs(ce===oe?ce.splice(wt,ce.length):ce),V?V(null,oe,ce,Se):h.apply(oe,ce)})}function Ha(_){for(var M,E,I,V=_.length,Z=a.relative[_[0].type],Q=Z||a.relative[" "],oe=Z?1:0,J=hs(function(me){return me===M},Q,!0),Se=hs(function(me){return F.call(M,me)>-1},Q,!0),ue=[function(me,Me,ce){var je=!Z&&(ce||Me!=l)||((M=Me).nodeType?J(me,Me,ce):Se(me,Me,ce));return M=null,je}];oe1&&za(ue),oe>1&&us(_.slice(0,oe-1).concat({value:_[oe-2].type===" "?"*":""})).replace(xi,"$1"),E,oe0,I=_.length>0,V=function(Z,Q,oe,J,Se){var ue,me,Me,ce=0,je="0",At=Z&&[],wt=[],Qt=l,Ti=Z||I&&a.find.TAG("*",Se),To=k+=Qt==null?1:Math.random()||.1,Ot=Ti.length;for(Se&&(l=Q==f||Q||Se);je!==Ot&&(ue=Ti[je])!=null;je++){if(I&&ue){for(me=0,!Q&&ue.ownerDocument!=f&&(_n(ue),oe=!v);Me=_[me++];)if(Me(ue,Q||f,oe)){h.call(J,ue);break}Se&&(k=To)}E&&((ue=!Me&&ue)&&ce--,Z&&At.push(ue))}if(ce+=je,E&&je!==ce){for(me=0;Me=M[me++];)Me(At,wt,Q,oe);if(Z){if(ce>0)for(;je--;)At[je]||wt[je]||(wt[je]=_o.call(J));wt=fs(wt)}h.apply(J,wt),Se&&!Z&&wt.length>0&&ce+M.length>1&&d.uniqueSort(J)}return Se&&(k=To,l=Qt),At};return E?ci(V):V}function Ua(_,M){var E,I=[],V=[],Z=xe[_+" "];if(!Z){for(M||(M=xr(_)),E=M.length;E--;)Z=Ha(M[E]),Z[L]?I.push(Z):V.push(Z);Z=xe(_,Zu(V,I)),Z.selector=_}return Z}function cc(_,M,E,I){var V,Z,Q,oe,J,Se=typeof _=="function"&&_,ue=!I&&xr(_=Se.selector||_);if(E=E||[],ue.length===1){if(Z=ue[0]=ue[0].slice(0),Z.length>2&&(Q=Z[0]).type==="ID"&&M.nodeType===9&&v&&a.relative[Z[1].type]){if(M=(a.find.ID(Q.matches[0].replace(Ji,Ki),M)||[])[0],M)Se&&(M=M.parentNode);else return E;_=_.slice(Z.shift().value.length)}for(V=Oi.needsContext.test(_)?0:Z.length;V--&&(Q=Z[V],!a.relative[oe=Q.type]);)if((J=a.find[oe])&&(I=J(Q.matches[0].replace(Ji,Ki),Ba.test(Z[0].type)&&Na(M.parentNode)||M))){if(Z.splice(V,1),_=I.length&&us(Z),!_)return h.apply(E,I),E;break}}return(Se||Ua(_,ue))(I,M,!v,E,!M||Ba.test(_)&&Na(M.parentNode)||M),E}ne.sortStable=L.split("").sort(ct).join("")===L,_n(),ne.sortDetached=Oo(function(_){return _.compareDocumentPosition(f.createElement("fieldset"))&1}),d.find=Ve,d.expr[":"]=d.expr.pseudos,d.unique=d.uniqueSort,Ve.compile=Ua,Ve.select=cc,Ve.setDocument=_n,Ve.tokenize=xr,Ve.escape=d.escapeSelector,Ve.getText=d.text,Ve.isXML=d.isXMLDoc,Ve.selectors=d.expr,Ve.support=d.support,Ve.uniqueSort=d.uniqueSort})();var Hi=function(n,a,l){for(var c=[],u=l!==void 0;(n=n[a])&&n.nodeType!==9;)if(n.nodeType===1){if(u&&d(n).is(l))break;c.push(n)}return c},Zr=function(n,a){for(var l=[];n;n=n.nextSibling)n.nodeType===1&&n!==a&&l.push(n);return l},Xr=d.expr.match.needsContext,an=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function rr(n,a,l){return K(a)?d.grep(n,function(c,u){return!!a.call(c,u,c)!==l}):a.nodeType?d.grep(n,function(c){return c===a!==l}):typeof a!="string"?d.grep(n,function(c){return F.call(a,c)>-1!==l}):d.filter(a,n,l)}d.filter=function(n,a,l){var c=a[0];return l&&(n=":not("+n+")"),a.length===1&&c.nodeType===1?d.find.matchesSelector(c,n)?[c]:[]:d.find.matches(n,d.grep(a,function(u){return u.nodeType===1}))},d.fn.extend({find:function(n){var a,l,c=this.length,u=this;if(typeof n!="string")return this.pushStack(d(n).filter(function(){for(a=0;a1?d.uniqueSort(l):l},filter:function(n){return this.pushStack(rr(this,n||[],!1))},not:function(n){return this.pushStack(rr(this,n||[],!0))},is:function(n){return!!rr(this,typeof n=="string"&&Xr.test(n)?d(n):n||[],!1).length}});var xo,Ma=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Pa=d.fn.init=function(n,a,l){var c,u;if(!n)return this;if(l=l||xo,typeof n=="string")if(n[0]==="<"&&n[n.length-1]===">"&&n.length>=3?c=[null,n,null]:c=Ma.exec(n),c&&(c[1]||!a))if(c[1]){if(a=a instanceof d?a[0]:a,d.merge(this,d.parseHTML(c[1],a&&a.nodeType?a.ownerDocument||a:pe,!0)),an.test(c[1])&&d.isPlainObject(a))for(c in a)K(this[c])?this[c](a[c]):this.attr(c,a[c]);return this}else return u=pe.getElementById(c[2]),u&&(this[0]=u,this.length=1),this;else return!a||a.jquery?(a||l).find(n):this.constructor(a).find(n);else{if(n.nodeType)return this[0]=n,this.length=1,this;if(K(n))return l.ready!==void 0?l.ready(n):n(d)}return d.makeArray(n,this)};Pa.prototype=d.fn,xo=d(pe);var ft=/^(?:parents|prev(?:Until|All))/,Ui={children:!0,contents:!0,next:!0,prev:!0};d.fn.extend({has:function(n){var a=d(n,this),l=a.length;return this.filter(function(){for(var c=0;c-1:l.nodeType===1&&d.find.matchesSelector(l,n))){h.push(l);break}}return this.pushStack(h.length>1?d.uniqueSort(h):h)},index:function(n){return n?typeof n=="string"?F.call(d(n),this[0]):F.call(this,n.jquery?n[0]:n):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(n,a){return this.pushStack(d.uniqueSort(d.merge(this.get(),d(n,a))))},addBack:function(n){return this.add(n==null?this.prevObject:this.prevObject.filter(n))}});function Ze(n,a){for(;(n=n[a])&&n.nodeType!==1;);return n}d.each({parent:function(n){var a=n.parentNode;return a&&a.nodeType!==11?a:null},parents:function(n){return Hi(n,"parentNode")},parentsUntil:function(n,a,l){return Hi(n,"parentNode",l)},next:function(n){return Ze(n,"nextSibling")},prev:function(n){return Ze(n,"previousSibling")},nextAll:function(n){return Hi(n,"nextSibling")},prevAll:function(n){return Hi(n,"previousSibling")},nextUntil:function(n,a,l){return Hi(n,"nextSibling",l)},prevUntil:function(n,a,l){return Hi(n,"previousSibling",l)},siblings:function(n){return Zr((n.parentNode||{}).firstChild,n)},children:function(n){return Zr(n.firstChild)},contents:function(n){return n.contentDocument!=null&&i(n.contentDocument)?n.contentDocument:(Ee(n,"template")&&(n=n.content||n),d.merge([],n.childNodes))}},function(n,a){d.fn[n]=function(l,c){var u=d.map(this,a,l);return n.slice(-5)!=="Until"&&(c=l),c&&typeof c=="string"&&(u=d.filter(c,u)),this.length>1&&(Ui[n]||d.uniqueSort(u),ft.test(n)&&u.reverse()),this.pushStack(u)}});var We=/[^\x20\t\r\n\f]+/g;function Co(n){var a={};return d.each(n.match(We)||[],function(l,c){a[c]=!0}),a}d.Callbacks=function(n){n=typeof n=="string"?Co(n):d.extend({},n);var a,l,c,u,h=[],f=[],C=-1,v=function(){for(u=u||n.once,c=a=!0;f.length;C=-1)for(l=f.shift();++C-1;)h.splice(k,1),k<=C&&C--}),this},has:function(D){return D?d.inArray(D,h)>-1:h.length>0},empty:function(){return h&&(h=[]),this},disable:function(){return u=f=[],h=l="",this},disabled:function(){return!h},lock:function(){return u=f=[],!l&&!a&&(h=l=""),this},locked:function(){return!!u},fireWith:function(D,L){return u||(L=L||[],L=[D,L.slice?L.slice():L],f.push(L),a||v()),this},fire:function(){return P.fireWith(this,arguments),this},fired:function(){return!!c}};return P};function Wt(n){return n}function Ci(n){throw n}function ln(n,a,l,c){var u;try{n&&K(u=n.promise)?u.call(n).done(a).fail(l):n&&K(u=n.then)?u.call(n,a,l):a.apply(void 0,[n].slice(c))}catch(h){l.apply(void 0,[h])}}d.extend({Deferred:function(n){var a=[["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"]],l="pending",c={state:function(){return l},always:function(){return u.done(arguments).fail(arguments),this},catch:function(h){return c.then(null,h)},pipe:function(){var h=arguments;return d.Deferred(function(f){d.each(a,function(C,v){var P=K(h[v[4]])&&h[v[4]];u[v[1]](function(){var D=P&&P.apply(this,arguments);D&&K(D.promise)?D.promise().progress(f.notify).done(f.resolve).fail(f.reject):f[v[0]+"With"](this,P?[D]:arguments)})}),h=null}).promise()},then:function(h,f,C){var v=0;function P(D,L,k,H){return function(){var fe=this,Te=arguments,xe=function(){var ct,Si;if(!(D=v&&(k!==Ci&&(fe=void 0,Te=[ct]),L.rejectWith(fe,Te))}};D?mt():(d.Deferred.getErrorHook?mt.error=d.Deferred.getErrorHook():d.Deferred.getStackHook&&(mt.error=d.Deferred.getStackHook()),t.setTimeout(mt))}}return d.Deferred(function(D){a[0][3].add(P(0,D,K(C)?C:Wt,D.notifyWith)),a[1][3].add(P(0,D,K(h)?h:Wt)),a[2][3].add(P(0,D,K(f)?f:Ci))}).promise()},promise:function(h){return h!=null?d.extend(h,c):c}},u={};return d.each(a,function(h,f){var C=f[2],v=f[5];c[f[1]]=C.add,v&&C.add(function(){l=v},a[3-h][2].disable,a[3-h][3].disable,a[0][2].lock,a[0][3].lock),C.add(f[3].fire),u[f[0]]=function(){return u[f[0]+"With"](this===u?void 0:this,arguments),this},u[f[0]+"With"]=C.fireWith}),c.promise(u),n&&n.call(u,u),u},when:function(n){var a=arguments.length,l=a,c=Array(l),u=s.call(arguments),h=d.Deferred(),f=function(C){return function(v){c[C]=this,u[C]=arguments.length>1?s.call(arguments):v,--a||h.resolveWith(c,u)}};if(a<=1&&(ln(n,h.done(f(l)).resolve,h.reject,!a),h.state()==="pending"||K(u[l]&&u[l].then)))return h.then();for(;l--;)ln(u[l],f(l),h.reject);return h.promise()}});var Ln=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;d.Deferred.exceptionHook=function(n,a){t.console&&t.console.warn&&n&&Ln.test(n.name)&&t.console.warn("jQuery.Deferred exception: "+n.message,n.stack,a)},d.readyException=function(n){t.setTimeout(function(){throw n})};var kt=d.Deferred();d.fn.ready=function(n){return kt.then(n).catch(function(a){d.readyException(a)}),this},d.extend({isReady:!1,readyWait:1,ready:function(n){(n===!0?--d.readyWait:d.isReady)||(d.isReady=!0,!(n!==!0&&--d.readyWait>0)&&kt.resolveWith(pe,[d]))}}),d.ready.then=kt.then;function $t(){pe.removeEventListener("DOMContentLoaded",$t),t.removeEventListener("load",$t),d.ready()}pe.readyState==="complete"||pe.readyState!=="loading"&&!pe.documentElement.doScroll?t.setTimeout(d.ready):(pe.addEventListener("DOMContentLoaded",$t),t.addEventListener("load",$t));var qt=function(n,a,l,c,u,h,f){var C=0,v=n.length,P=l==null;if(vi(l)==="object"){u=!0;for(C in l)qt(n,a,C,l[C],!0,h,f)}else if(c!==void 0&&(u=!0,K(c)||(f=!0),P&&(f?(a.call(n,c),a=null):(P=a,a=function(D,L,k){return P.call(d(D),k)})),a))for(;C1,null,!0)},removeData:function(n){return this.each(function(){Ct.remove(this,n)})}}),d.extend({queue:function(n,a,l){var c;if(n)return a=(a||"fx")+"queue",c=re.get(n,a),l&&(!c||Array.isArray(l)?c=re.access(n,a,d.makeArray(l)):c.push(l)),c||[]},dequeue:function(n,a){a=a||"fx";var l=d.queue(n,a),c=l.length,u=l.shift(),h=d._queueHooks(n,a),f=function(){d.dequeue(n,a)};u==="inprogress"&&(u=l.shift(),c--),u&&(a==="fx"&&l.unshift("inprogress"),delete h.stop,u.call(n,f,h)),!c&&h&&h.empty.fire()},_queueHooks:function(n,a){var l=a+"queueHooks";return re.get(n,l)||re.access(n,l,{empty:d.Callbacks("once memory").add(function(){re.remove(n,[a+"queue",l])})})}}),d.fn.extend({queue:function(n,a){var l=2;return typeof n!="string"&&(a=n,n="fx",l--),arguments.length\x20\t\r\n\f]*)/i,ts=/^$|^module$|\/(?:java|ecma)script/i;(function(){var n=pe.createDocumentFragment(),a=n.appendChild(pe.createElement("div")),l=pe.createElement("input");l.setAttribute("type","radio"),l.setAttribute("checked","checked"),l.setAttribute("name","t"),a.appendChild(l),ne.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,a.innerHTML="",ne.noCloneChecked=!!a.cloneNode(!0).lastChild.defaultValue,a.innerHTML="",ne.option=!!a.lastChild})();var Dt={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};Dt.tbody=Dt.tfoot=Dt.colgroup=Dt.caption=Dt.thead,Dt.th=Dt.td,ne.option||(Dt.optgroup=Dt.option=[1,""]);function bt(n,a){var l;return typeof n.getElementsByTagName<"u"?l=n.getElementsByTagName(a||"*"):typeof n.querySelectorAll<"u"?l=n.querySelectorAll(a||"*"):l=[],a===void 0||a&&Ee(n,a)?d.merge([n],l):l}function So(n,a){for(var l=0,c=n.length;l-1){u&&u.push(h);continue}if(P=cn(h),f=bt(L.appendChild(h),"script"),P&&So(f),l)for(D=0;h=f[D++];)ts.test(h.type||"")&&l.push(h)}return L}var ns=/^([^.]*)(?:\.(.+)|)/;function ri(){return!0}function pn(){return!1}function ar(n,a,l,c,u,h){var f,C;if(typeof a=="object"){typeof l!="string"&&(c=c||l,l=void 0);for(C in a)ar(n,C,l,c,a[C],h);return n}if(c==null&&u==null?(u=l,c=l=void 0):u==null&&(typeof l=="string"?(u=c,c=void 0):(u=c,c=l,l=void 0)),u===!1)u=pn;else if(!u)return n;return h===1&&(f=u,u=function(v){return d().off(v),f.apply(this,arguments)},u.guid=f.guid||(f.guid=d.guid++)),n.each(function(){d.event.add(this,a,u,c,l)})}d.event={global:{},add:function(n,a,l,c,u){var h,f,C,v,P,D,L,k,H,fe,Te,xe=re.get(n);if(Bn(n))for(l.handler&&(h=l,l=h.handler,u=h.selector),u&&d.find.matchesSelector($i,u),l.guid||(l.guid=d.guid++),(v=xe.events)||(v=xe.events=Object.create(null)),(f=xe.handle)||(f=xe.handle=function(mt){return typeof d<"u"&&d.event.triggered!==mt.type?d.event.dispatch.apply(n,arguments):void 0}),a=(a||"").match(We)||[""],P=a.length;P--;)C=ns.exec(a[P])||[],H=Te=C[1],fe=(C[2]||"").split(".").sort(),H&&(L=d.event.special[H]||{},H=(u?L.delegateType:L.bindType)||H,L=d.event.special[H]||{},D=d.extend({type:H,origType:Te,data:c,handler:l,guid:l.guid,selector:u,needsContext:u&&d.expr.match.needsContext.test(u),namespace:fe.join(".")},h),(k=v[H])||(k=v[H]=[],k.delegateCount=0,(!L.setup||L.setup.call(n,c,fe,f)===!1)&&n.addEventListener&&n.addEventListener(H,f)),L.add&&(L.add.call(n,D),D.handler.guid||(D.handler.guid=l.guid)),u?k.splice(k.delegateCount++,0,D):k.push(D),d.event.global[H]=!0)},remove:function(n,a,l,c,u){var h,f,C,v,P,D,L,k,H,fe,Te,xe=re.hasData(n)&&re.get(n);if(!(!xe||!(v=xe.events))){for(a=(a||"").match(We)||[""],P=a.length;P--;){if(C=ns.exec(a[P])||[],H=Te=C[1],fe=(C[2]||"").split(".").sort(),!H){for(H in v)d.event.remove(n,H+a[P],l,c,!0);continue}for(L=d.event.special[H]||{},H=(c?L.delegateType:L.bindType)||H,k=v[H]||[],C=C[2]&&new RegExp("(^|\\.)"+fe.join("\\.(?:.*\\.|)")+"(\\.|$)"),f=h=k.length;h--;)D=k[h],(u||Te===D.origType)&&(!l||l.guid===D.guid)&&(!C||C.test(D.namespace))&&(!c||c===D.selector||c==="**"&&D.selector)&&(k.splice(h,1),D.selector&&k.delegateCount--,L.remove&&L.remove.call(n,D));f&&!k.length&&((!L.teardown||L.teardown.call(n,fe,xe.handle)===!1)&&d.removeEvent(n,H,xe.handle),delete v[H])}d.isEmptyObject(v)&&re.remove(n,"handle events")}},dispatch:function(n){var a,l,c,u,h,f,C=new Array(arguments.length),v=d.event.fix(n),P=(re.get(this,"events")||Object.create(null))[v.type]||[],D=d.event.special[v.type]||{};for(C[0]=v,a=1;a=1)){for(;P!==this;P=P.parentNode||this)if(P.nodeType===1&&!(n.type==="click"&&P.disabled===!0)){for(h=[],f={},l=0;l-1:d.find(u,this,null,[P]).length),f[u]&&h.push(c);h.length&&C.push({elem:P,handlers:h})}}return P=this,v\s*$/g;function rs(n,a){return Ee(n,"table")&&Ee(a.nodeType!==11?a:a.firstChild,"tr")&&d(n).children("tbody")[0]||n}function ss(n){return n.type=(n.getAttribute("type")!==null)+"/"+n.type,n}function as(n){return(n.type||"").slice(0,5)==="true/"?n.type=n.type.slice(5):n.removeAttribute("type"),n}function cr(n,a){var l,c,u,h,f,C,v;if(a.nodeType===1){if(re.hasData(n)&&(h=re.get(n),v=h.events,v)){re.remove(a,"handle events");for(u in v)for(l=0,c=v[u].length;l1&&typeof H=="string"&&!ne.checkClone&&ka.test(H))return n.each(function(Te){var xe=n.eq(Te);fe&&(a[0]=H.call(this,Te,xe.html())),bi(xe,a,l,c)});if(L&&(u=is(a,n[0].ownerDocument,!1,n,c),h=u.firstChild,u.childNodes.length===1&&(u=h),h||c)){for(f=d.map(bt(u,"script"),ss),C=f.length;D0&&So(f,!v&&bt(n,"script")),C},cleanData:function(n){for(var a,l,c,u=d.event.special,h=0;(l=n[h])!==void 0;h++)if(Bn(l)){if(a=l[re.expando]){if(a.events)for(c in a.events)u[c]?d.event.remove(l,c):d.removeEvent(l,c,a.handle);l[re.expando]=void 0}l[Ct.expando]&&(l[Ct.expando]=void 0)}}}),d.fn.extend({detach:function(n){return wi(this,n,!0)},remove:function(n){return wi(this,n)},text:function(n){return qt(this,function(a){return a===void 0?d.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=a)})},null,n,arguments.length)},append:function(){return bi(this,arguments,function(n){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var a=rs(this,n);a.appendChild(n)}})},prepend:function(){return bi(this,arguments,function(n){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var a=rs(this,n);a.insertBefore(n,a.firstChild)}})},before:function(){return bi(this,arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this)})},after:function(){return bi(this,arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling)})},empty:function(){for(var n,a=0;(n=this[a])!=null;a++)n.nodeType===1&&(d.cleanData(bt(n,!1)),n.textContent="");return this},clone:function(n,a){return n=n??!1,a=a??n,this.map(function(){return d.clone(this,n,a)})},html:function(n){return qt(this,function(a){var l=this[0]||{},c=0,u=this.length;if(a===void 0&&l.nodeType===1)return l.innerHTML;if(typeof a=="string"&&!lr.test(a)&&!Dt[(yo.exec(a)||["",""])[1].toLowerCase()]){a=d.htmlPrefilter(a);try{for(;c=0&&(v+=Math.max(0,Math.ceil(n["offset"+a[0].toUpperCase()+a.slice(1)]-h-v-C-.5))||0),v+P}function Ft(n,a,l){var c=Xi(n),u=!ne.boxSizingReliable()||l,h=u&&d.css(n,"boxSizing",!1,c)==="border-box",f=h,C=Un(n,a,c),v="offset"+a[0].toUpperCase()+a.slice(1);if(Gi.test(C)){if(!l)return C;C="auto"}return(!ne.boxSizingReliable()&&h||!ne.reliableTrDimensions()&&Ee(n,"tr")||C==="auto"||!parseFloat(C)&&d.css(n,"display",!1,c)==="inline")&&n.getClientRects().length&&(h=d.css(n,"boxSizing",!1,c)==="border-box",f=v in n,f&&(C=n[v])),C=parseFloat(C)||0,C+un(n,a,l||(h?"border":"content"),f,c,C)+"px"}d.extend({cssHooks:{opacity:{get:function(n,a){if(a){var l=Un(n,"opacity");return l===""?"1":l}}}},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(n,a,l,c){if(!(!n||n.nodeType===3||n.nodeType===8||!n.style)){var u,h,f,C=Gt(a),v=Zi.test(a),P=n.style;if(v||(a=Qi(C)),f=d.cssHooks[a]||d.cssHooks[C],l!==void 0){if(h=typeof l,h==="string"&&(u=Wi.exec(l))&&u[1]&&(l=jn(n,a,u),h="number"),l==null||l!==l)return;h==="number"&&!v&&(l+=u&&u[3]||(d.cssNumber[C]?"":"px")),!ne.clearCloneStyle&&l===""&&a.indexOf("background")===0&&(P[a]="inherit"),(!f||!("set"in f)||(l=f.set(n,l,c))!==void 0)&&(v?P.setProperty(a,l):P[a]=l)}else return f&&"get"in f&&(u=f.get(n,!1,c))!==void 0?u:P[a]}},css:function(n,a,l,c){var u,h,f,C=Gt(a),v=Zi.test(a);return v||(a=Qi(C)),f=d.cssHooks[a]||d.cssHooks[C],f&&"get"in f&&(u=f.get(n,!0,l)),u===void 0&&(u=Un(n,a,c)),u==="normal"&&a in dr&&(u=dr[a]),l===""||l?(h=parseFloat(u),l===!0||isFinite(h)?h||0:u):u}}),d.each(["height","width"],function(n,a){d.cssHooks[a]={get:function(l,c,u){if(c)return Zt.test(d.css(l,"display"))&&(!l.getClientRects().length||!l.getBoundingClientRect().width)?Mo(l,li,function(){return Ft(l,a,u)}):Ft(l,a,u)},set:function(l,c,u){var h,f=Xi(l),C=!ne.scrollboxSize()&&f.position==="absolute",v=C||u,P=v&&d.css(l,"boxSizing",!1,f)==="border-box",D=u?un(l,a,u,P,f):0;return P&&C&&(D-=Math.ceil(l["offset"+a[0].toUpperCase()+a.slice(1)]-parseFloat(f[a])-un(l,a,"border",!1,f)-.5)),D&&(h=Wi.exec(c))&&(h[3]||"px")!=="px"&&(l.style[a]=c,c=d.css(l,a)),pr(l,c,D)}}}),d.cssHooks.marginLeft=Wn(ne.reliableMarginLeft,function(n,a){if(a)return(parseFloat(Un(n,"marginLeft"))||n.getBoundingClientRect().left-Mo(n,{marginLeft:0},function(){return n.getBoundingClientRect().left}))+"px"}),d.each({margin:"",padding:"",border:"Width"},function(n,a){d.cssHooks[n+a]={expand:function(l){for(var c=0,u={},h=typeof l=="string"?l.split(" "):[l];c<4;c++)u[n+oi[c]+a]=h[c]||h[c-2]||h[0];return u}},n!=="margin"&&(d.cssHooks[n+a].set=pr)}),d.fn.extend({css:function(n,a){return qt(this,function(l,c,u){var h,f,C={},v=0;if(Array.isArray(c)){for(h=Xi(l),f=c.length;v1)}});function at(n,a,l,c,u){return new at.prototype.init(n,a,l,c,u)}d.Tween=at,at.prototype={constructor:at,init:function(n,a,l,c,u,h){this.elem=n,this.prop=l,this.easing=u||d.easing._default,this.options=a,this.start=this.now=this.cur(),this.end=c,this.unit=h||(d.cssNumber[l]?"":"px")},cur:function(){var n=at.propHooks[this.prop];return n&&n.get?n.get(this):at.propHooks._default.get(this)},run:function(n){var a,l=at.propHooks[this.prop];return this.options.duration?this.pos=a=d.easing[this.easing](n,this.options.duration*n,0,1,this.options.duration):this.pos=a=n,this.now=(this.end-this.start)*a+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),l&&l.set?l.set(this):at.propHooks._default.set(this),this}},at.prototype.init.prototype=at.prototype,at.propHooks={_default:{get:function(n){var a;return n.elem.nodeType!==1||n.elem[n.prop]!=null&&n.elem.style[n.prop]==null?n.elem[n.prop]:(a=d.css(n.elem,n.prop,""),!a||a==="auto"?0:a)},set:function(n){d.fx.step[n.prop]?d.fx.step[n.prop](n):n.elem.nodeType===1&&(d.cssHooks[n.prop]||n.elem.style[Qi(n.prop)]!=null)?d.style(n.elem,n.prop,n.now+n.unit):n.elem[n.prop]=n.now}}},at.propHooks.scrollTop=at.propHooks.scrollLeft={set:function(n){n.elem.nodeType&&n.elem.parentNode&&(n.elem[n.prop]=n.now)}},d.easing={linear:function(n){return n},swing:function(n){return .5-Math.cos(n*Math.PI)/2},_default:"swing"},d.fx=at.prototype.init,d.fx.step={};var yi,hn,ur=/^(?:toggle|show|hide)$/,hr=/queueHooks$/;function fn(){hn&&(pe.hidden===!1&&t.requestAnimationFrame?t.requestAnimationFrame(fn):t.setTimeout(fn,d.fx.interval),d.fx.tick())}function Xt(){return t.setTimeout(function(){yi=void 0}),yi=Date.now()}function Po(n,a){var l,c=0,u={height:n};for(a=a?1:0;c<4;c+=2-a)l=oi[c],u["margin"+l]=u["padding"+l]=n;return a&&(u.opacity=u.width=n),u}function fr(n,a,l){for(var c,u=(Rt.tweeners[a]||[]).concat(Rt.tweeners["*"]),h=0,f=u.length;h1)},removeAttr:function(n){return this.each(function(){d.removeAttr(this,n)})}}),d.extend({attr:function(n,a,l){var c,u,h=n.nodeType;if(!(h===3||h===8||h===2)){if(typeof n.getAttribute>"u")return d.prop(n,a,l);if((h!==1||!d.isXMLDoc(n))&&(u=d.attrHooks[a.toLowerCase()]||(d.expr.match.bool.test(a)?ds:void 0)),l!==void 0){if(l===null){d.removeAttr(n,a);return}return u&&"set"in u&&(c=u.set(n,l,a))!==void 0?c:(n.setAttribute(a,l+""),l)}return u&&"get"in u&&(c=u.get(n,a))!==null?c:(c=d.find.attr(n,a),c??void 0)}},attrHooks:{type:{set:function(n,a){if(!ne.radioValue&&a==="radio"&&Ee(n,"input")){var l=n.value;return n.setAttribute("type",a),l&&(n.value=l),a}}}},removeAttr:function(n,a){var l,c=0,u=a&&a.match(We);if(u&&n.nodeType===1)for(;l=u[c++];)n.removeAttribute(l)}}),ds={set:function(n,a,l){return a===!1?d.removeAttr(n,l):n.setAttribute(l,l),l}},d.each(d.expr.match.bool.source.match(/\w+/g),function(n,a){var l=m[a]||d.find.attr;m[a]=function(c,u,h){var f,C,v=u.toLowerCase();return h||(C=m[v],m[v]=f,f=l(c,u,h)!=null?v:null,m[v]=C),f}});var g=/^(?:input|select|textarea|button)$/i,b=/^(?:a|area)$/i;d.fn.extend({prop:function(n,a){return qt(this,d.prop,n,a,arguments.length>1)},removeProp:function(n){return this.each(function(){delete this[d.propFix[n]||n]})}}),d.extend({prop:function(n,a,l){var c,u,h=n.nodeType;if(!(h===3||h===8||h===2))return(h!==1||!d.isXMLDoc(n))&&(a=d.propFix[a]||a,u=d.propHooks[a]),l!==void 0?u&&"set"in u&&(c=u.set(n,l,a))!==void 0?c:n[a]=l:u&&"get"in u&&(c=u.get(n,a))!==null?c:n[a]},propHooks:{tabIndex:{get:function(n){var a=d.find.attr(n,"tabindex");return a?parseInt(a,10):g.test(n.nodeName)||b.test(n.nodeName)&&n.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),ne.optSelected||(d.propHooks.selected={get:function(n){var a=n.parentNode;return a&&a.parentNode&&a.parentNode.selectedIndex,null},set:function(n){var a=n.parentNode;a&&(a.selectedIndex,a.parentNode&&a.parentNode.selectedIndex)}}),d.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){d.propFix[this.toLowerCase()]=this});function T(n){var a=n.match(We)||[];return a.join(" ")}function N(n){return n.getAttribute&&n.getAttribute("class")||""}function Y(n){return Array.isArray(n)?n:typeof n=="string"?n.match(We)||[]:[]}d.fn.extend({addClass:function(n){var a,l,c,u,h,f;return K(n)?this.each(function(C){d(this).addClass(n.call(this,C,N(this)))}):(a=Y(n),a.length?this.each(function(){if(c=N(this),l=this.nodeType===1&&" "+T(c)+" ",l){for(h=0;h-1;)l=l.replace(" "+u+" "," ");f=T(l),c!==f&&this.setAttribute("class",f)}}):this):this.attr("class","")},toggleClass:function(n,a){var l,c,u,h,f=typeof n,C=f==="string"||Array.isArray(n);return K(n)?this.each(function(v){d(this).toggleClass(n.call(this,v,N(this),a),a)}):typeof a=="boolean"&&C?a?this.addClass(n):this.removeClass(n):(l=Y(n),this.each(function(){if(C)for(h=d(this),u=0;u-1)return!0;return!1}});var Ce=/\r/g;d.fn.extend({val:function(n){var a,l,c,u=this[0];return arguments.length?(c=K(n),this.each(function(h){var f;this.nodeType===1&&(c?f=n.call(this,h,d(this).val()):f=n,f==null?f="":typeof f=="number"?f+="":Array.isArray(f)&&(f=d.map(f,function(C){return C==null?"":C+""})),a=d.valHooks[this.type]||d.valHooks[this.nodeName.toLowerCase()],(!a||!("set"in a)||a.set(this,f,"value")===void 0)&&(this.value=f))})):u?(a=d.valHooks[u.type]||d.valHooks[u.nodeName.toLowerCase()],a&&"get"in a&&(l=a.get(u,"value"))!==void 0?l:(l=u.value,typeof l=="string"?l.replace(Ce,""):l??"")):void 0}}),d.extend({valHooks:{option:{get:function(n){var a=d.find.attr(n,"value");return a??T(d.text(n))}},select:{get:function(n){var a,l,c,u=n.options,h=n.selectedIndex,f=n.type==="select-one",C=f?null:[],v=f?h+1:u.length;for(h<0?c=v:c=f?h:0;c-1)&&(l=!0);return l||(n.selectedIndex=-1),h}}}}),d.each(["radio","checkbox"],function(){d.valHooks[this]={set:function(n,a){if(Array.isArray(a))return n.checked=d.inArray(d(n).val(),a)>-1}},ne.checkOn||(d.valHooks[this].get=function(n){return n.getAttribute("value")===null?"on":n.value})});var Ge=t.location,st={guid:Date.now()},lt=/\?/;d.parseXML=function(n){var a,l;if(!n||typeof n!="string")return null;try{a=new t.DOMParser().parseFromString(n,"text/xml")}catch{}return l=a&&a.getElementsByTagName("parsererror")[0],(!a||l)&&d.error("Invalid XML: "+(l?d.map(l.childNodes,function(c){return c.textContent}).join(` +`):n)),a};var Lt=/^(?:focusinfocus|focusoutblur)$/,ec=function(n){n.stopPropagation()};d.extend(d.event,{trigger:function(n,a,l,c){var u,h,f,C,v,P,D,L,k=[l||pe],H=se.call(n,"type")?n.type:n,fe=se.call(n,"namespace")?n.namespace.split("."):[];if(h=L=f=l=l||pe,!(l.nodeType===3||l.nodeType===8)&&!Lt.test(H+d.event.triggered)&&(H.indexOf(".")>-1&&(fe=H.split("."),H=fe.shift(),fe.sort()),v=H.indexOf(":")<0&&"on"+H,n=n[d.expando]?n:new d.Event(H,typeof n=="object"&&n),n.isTrigger=c?2:3,n.namespace=fe.join("."),n.rnamespace=n.namespace?new RegExp("(^|\\.)"+fe.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,n.result=void 0,n.target||(n.target=l),a=a==null?[n]:d.makeArray(a,[n]),D=d.event.special[H]||{},!(!c&&D.trigger&&D.trigger.apply(l,a)===!1))){if(!c&&!D.noBubble&&!rt(l)){for(C=D.delegateType||H,Lt.test(C+H)||(h=h.parentNode);h;h=h.parentNode)k.push(h),f=h;f===(l.ownerDocument||pe)&&k.push(f.defaultView||f.parentWindow||t)}for(u=0;(h=k[u++])&&!n.isPropagationStopped();)L=h,n.type=u>1?C:D.bindType||H,P=(re.get(h,"events")||Object.create(null))[n.type]&&re.get(h,"handle"),P&&P.apply(h,a),P=v&&h[v],P&&P.apply&&Bn(h)&&(n.result=P.apply(h,a),n.result===!1&&n.preventDefault());return n.type=H,!c&&!n.isDefaultPrevented()&&(!D._default||D._default.apply(k.pop(),a)===!1)&&Bn(l)&&v&&K(l[H])&&!rt(l)&&(f=l[v],f&&(l[v]=null),d.event.triggered=H,n.isPropagationStopped()&&L.addEventListener(H,ec),l[H](),n.isPropagationStopped()&&L.removeEventListener(H,ec),d.event.triggered=void 0,f&&(l[v]=f)),n.result}},simulate:function(n,a,l){var c=d.extend(new d.Event,l,{type:n,isSimulated:!0});d.event.trigger(c,null,a)}}),d.fn.extend({trigger:function(n,a){return this.each(function(){d.event.trigger(n,a,this)})},triggerHandler:function(n,a){var l=this[0];if(l)return d.event.trigger(n,a,l,!0)}});var Pu=/\[\]$/,tc=/\r?\n/g,Ou=/^(?:submit|button|image|reset|file)$/i,Tu=/^(?:input|select|textarea|keygen)/i;function Da(n,a,l,c){var u;if(Array.isArray(a))d.each(a,function(h,f){l||Pu.test(n)?c(n,f):Da(n+"["+(typeof f=="object"&&f!=null?h:"")+"]",f,l,c)});else if(!l&&vi(a)==="object")for(u in a)Da(n+"["+u+"]",a[u],l,c);else c(n,a)}d.param=function(n,a){var l,c=[],u=function(h,f){var C=K(f)?f():f;c[c.length]=encodeURIComponent(h)+"="+encodeURIComponent(C??"")};if(n==null)return"";if(Array.isArray(n)||n.jquery&&!d.isPlainObject(n))d.each(n,function(){u(this.name,this.value)});else for(l in n)Da(l,n[l],a,u);return c.join("&")},d.fn.extend({serialize:function(){return d.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var n=d.prop(this,"elements");return n?d.makeArray(n):this}).filter(function(){var n=this.type;return this.name&&!d(this).is(":disabled")&&Tu.test(this.nodeName)&&!Ou.test(n)&&(this.checked||!dn.test(n))}).map(function(n,a){var l=d(this).val();return l==null?null:Array.isArray(l)?d.map(l,function(c){return{name:a.name,value:c.replace(tc,`\r +`)}}):{name:a.name,value:l.replace(tc,`\r +`)}}).get()}});var Eu=/%20/g,ku=/#.*$/,Iu=/([?&])_=[^&]*/,Du=/^(.*?):[ \t]*([^\r\n]*)$/mg,Fu=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Au=/^(?:GET|HEAD)$/,Vu=/^\/\//,ic={},Fa={},nc="*/".concat("*"),Aa=pe.createElement("a");Aa.href=Ge.href;function oc(n){return function(a,l){typeof a!="string"&&(l=a,a="*");var c,u=0,h=a.toLowerCase().match(We)||[];if(K(l))for(;c=h[u++];)c[0]==="+"?(c=c.slice(1)||"*",(n[c]=n[c]||[]).unshift(l)):(n[c]=n[c]||[]).push(l)}}function rc(n,a,l,c){var u={},h=n===Fa;function f(C){var v;return u[C]=!0,d.each(n[C]||[],function(P,D){var L=D(a,l,c);if(typeof L=="string"&&!h&&!u[L])return a.dataTypes.unshift(L),f(L),!1;if(h)return!(v=L)}),v}return f(a.dataTypes[0])||!u["*"]&&f("*")}function Va(n,a){var l,c,u=d.ajaxSettings.flatOptions||{};for(l in a)a[l]!==void 0&&((u[l]?n:c||(c={}))[l]=a[l]);return c&&d.extend(!0,n,c),n}function Ru(n,a,l){for(var c,u,h,f,C=n.contents,v=n.dataTypes;v[0]==="*";)v.shift(),c===void 0&&(c=n.mimeType||a.getResponseHeader("Content-Type"));if(c){for(u in C)if(C[u]&&C[u].test(c)){v.unshift(u);break}}if(v[0]in l)h=v[0];else{for(u in l){if(!v[0]||n.converters[u+" "+v[0]]){h=u;break}f||(f=u)}h=h||f}if(h)return h!==v[0]&&v.unshift(h),l[h]}function Lu(n,a,l,c){var u,h,f,C,v,P={},D=n.dataTypes.slice();if(D[1])for(f in n.converters)P[f.toLowerCase()]=n.converters[f];for(h=D.shift();h;)if(n.responseFields[h]&&(l[n.responseFields[h]]=a),!v&&c&&n.dataFilter&&(a=n.dataFilter(a,n.dataType)),v=h,h=D.shift(),h){if(h==="*")h=v;else if(v!=="*"&&v!==h){if(f=P[v+" "+h]||P["* "+h],!f){for(u in P)if(C=u.split(" "),C[1]===h&&(f=P[v+" "+C[0]]||P["* "+C[0]],f)){f===!0?f=P[u]:P[u]!==!0&&(h=C[0],D.unshift(C[1]));break}}if(f!==!0)if(f&&n.throws)a=f(a);else try{a=f(a)}catch(L){return{state:"parsererror",error:f?L:"No conversion from "+v+" to "+h}}}}return{state:"success",data:a}}d.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ge.href,type:"GET",isLocal:Fu.test(Ge.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":nc,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(n,a){return a?Va(Va(n,d.ajaxSettings),a):Va(d.ajaxSettings,n)},ajaxPrefilter:oc(ic),ajaxTransport:oc(Fa),ajax:function(n,a){typeof n=="object"&&(a=n,n=void 0),a=a||{};var l,c,u,h,f,C,v,P,D,L,k=d.ajaxSetup({},a),H=k.context||k,fe=k.context&&(H.nodeType||H.jquery)?d(H):d.event,Te=d.Deferred(),xe=d.Callbacks("once memory"),mt=k.statusCode||{},ct={},Si={},Mi="canceled",Pe={readyState:0,getResponseHeader:function(ke){var Qe;if(v){if(!h)for(h={};Qe=Du.exec(u);)h[Qe[1].toLowerCase()+" "]=(h[Qe[1].toLowerCase()+" "]||[]).concat(Qe[2]);Qe=h[ke.toLowerCase()+" "]}return Qe==null?null:Qe.join(", ")},getAllResponseHeaders:function(){return v?u:null},setRequestHeader:function(ke,Qe){return v==null&&(ke=Si[ke.toLowerCase()]=Si[ke.toLowerCase()]||ke,ct[ke]=Qe),this},overrideMimeType:function(ke){return v==null&&(k.mimeType=ke),this},statusCode:function(ke){var Qe;if(ke)if(v)Pe.always(ke[Pe.status]);else for(Qe in ke)mt[Qe]=[mt[Qe],ke[Qe]];return this},abort:function(ke){var Qe=ke||Mi;return l&&l.abort(Qe),$n(0,Qe),this}};if(Te.promise(Pe),k.url=((n||k.url||Ge.href)+"").replace(Vu,Ge.protocol+"//"),k.type=a.method||a.type||k.method||k.type,k.dataTypes=(k.dataType||"*").toLowerCase().match(We)||[""],k.crossDomain==null){C=pe.createElement("a");try{C.href=k.url,C.href=C.href,k.crossDomain=Aa.protocol+"//"+Aa.host!=C.protocol+"//"+C.host}catch{k.crossDomain=!0}}if(k.data&&k.processData&&typeof k.data!="string"&&(k.data=d.param(k.data,k.traditional)),rc(ic,k,a,Pe),v)return Pe;P=d.event&&k.global,P&&d.active++===0&&d.event.trigger("ajaxStart"),k.type=k.type.toUpperCase(),k.hasContent=!Au.test(k.type),c=k.url.replace(ku,""),k.hasContent?k.data&&k.processData&&(k.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(k.data=k.data.replace(Eu,"+")):(L=k.url.slice(c.length),k.data&&(k.processData||typeof k.data=="string")&&(c+=(lt.test(c)?"&":"?")+k.data,delete k.data),k.cache===!1&&(c=c.replace(Iu,"$1"),L=(lt.test(c)?"&":"?")+"_="+st.guid+++L),k.url=c+L),k.ifModified&&(d.lastModified[c]&&Pe.setRequestHeader("If-Modified-Since",d.lastModified[c]),d.etag[c]&&Pe.setRequestHeader("If-None-Match",d.etag[c])),(k.data&&k.hasContent&&k.contentType!==!1||a.contentType)&&Pe.setRequestHeader("Content-Type",k.contentType),Pe.setRequestHeader("Accept",k.dataTypes[0]&&k.accepts[k.dataTypes[0]]?k.accepts[k.dataTypes[0]]+(k.dataTypes[0]!=="*"?", "+nc+"; q=0.01":""):k.accepts["*"]);for(D in k.headers)Pe.setRequestHeader(D,k.headers[D]);if(k.beforeSend&&(k.beforeSend.call(H,Pe,k)===!1||v))return Pe.abort();if(Mi="abort",xe.add(k.complete),Pe.done(k.success),Pe.fail(k.error),l=rc(Fa,k,a,Pe),!l)$n(-1,"No Transport");else{if(Pe.readyState=1,P&&fe.trigger("ajaxSend",[Pe,k]),v)return Pe;k.async&&k.timeout>0&&(f=t.setTimeout(function(){Pe.abort("timeout")},k.timeout));try{v=!1,l.send(ct,$n)}catch(ke){if(v)throw ke;$n(-1,ke)}}function $n(ke,Qe,_r,La){var Pi,vr,Oi,mn,gn,Yt=Qe;v||(v=!0,f&&t.clearTimeout(f),l=void 0,u=La||"",Pe.readyState=ke>0?4:0,Pi=ke>=200&&ke<300||ke===304,_r&&(mn=Ru(k,Pe,_r)),!Pi&&d.inArray("script",k.dataTypes)>-1&&d.inArray("json",k.dataTypes)<0&&(k.converters["text script"]=function(){}),mn=Lu(k,mn,Pe,Pi),Pi?(k.ifModified&&(gn=Pe.getResponseHeader("Last-Modified"),gn&&(d.lastModified[c]=gn),gn=Pe.getResponseHeader("etag"),gn&&(d.etag[c]=gn)),ke===204||k.type==="HEAD"?Yt="nocontent":ke===304?Yt="notmodified":(Yt=mn.state,vr=mn.data,Oi=mn.error,Pi=!Oi)):(Oi=Yt,(ke||!Yt)&&(Yt="error",ke<0&&(ke=0))),Pe.status=ke,Pe.statusText=(Qe||Yt)+"",Pi?Te.resolveWith(H,[vr,Yt,Pe]):Te.rejectWith(H,[Pe,Yt,Oi]),Pe.statusCode(mt),mt=void 0,P&&fe.trigger(Pi?"ajaxSuccess":"ajaxError",[Pe,k,Pi?vr:Oi]),xe.fireWith(H,[Pe,Yt]),P&&(fe.trigger("ajaxComplete",[Pe,k]),--d.active||d.event.trigger("ajaxStop")))}return Pe},getJSON:function(n,a,l){return d.get(n,a,l,"json")},getScript:function(n,a){return d.get(n,void 0,a,"script")}}),d.each(["get","post"],function(n,a){d[a]=function(l,c,u,h){return K(c)&&(h=h||u,u=c,c=void 0),d.ajax(d.extend({url:l,type:a,dataType:h,data:c,success:u},d.isPlainObject(l)&&l))}}),d.ajaxPrefilter(function(n){var a;for(a in n.headers)a.toLowerCase()==="content-type"&&(n.contentType=n.headers[a]||"")}),d._evalUrl=function(n,a,l){return d.ajax({url:n,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(c){d.globalEval(c,a,l)}})},d.fn.extend({wrapAll:function(n){var a;return this[0]&&(K(n)&&(n=n.call(this[0])),a=d(n,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&a.insertBefore(this[0]),a.map(function(){for(var l=this;l.firstElementChild;)l=l.firstElementChild;return l}).append(this)),this},wrapInner:function(n){return K(n)?this.each(function(a){d(this).wrapInner(n.call(this,a))}):this.each(function(){var a=d(this),l=a.contents();l.length?l.wrapAll(n):a.append(n)})},wrap:function(n){var a=K(n);return this.each(function(l){d(this).wrapAll(a?n.call(this,l):n)})},unwrap:function(n){return this.parent(n).not("body").each(function(){d(this).replaceWith(this.childNodes)}),this}}),d.expr.pseudos.hidden=function(n){return!d.expr.pseudos.visible(n)},d.expr.pseudos.visible=function(n){return!!(n.offsetWidth||n.offsetHeight||n.getClientRects().length)},d.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch{}};var Bu={0:200,1223:204},gr=d.ajaxSettings.xhr();ne.cors=!!gr&&"withCredentials"in gr,ne.ajax=gr=!!gr,d.ajaxTransport(function(n){var a,l;if(ne.cors||gr&&!n.crossDomain)return{send:function(c,u){var h,f=n.xhr();if(f.open(n.type,n.url,n.async,n.username,n.password),n.xhrFields)for(h in n.xhrFields)f[h]=n.xhrFields[h];n.mimeType&&f.overrideMimeType&&f.overrideMimeType(n.mimeType),!n.crossDomain&&!c["X-Requested-With"]&&(c["X-Requested-With"]="XMLHttpRequest");for(h in c)f.setRequestHeader(h,c[h]);a=function(C){return function(){a&&(a=l=f.onload=f.onerror=f.onabort=f.ontimeout=f.onreadystatechange=null,C==="abort"?f.abort():C==="error"?typeof f.status!="number"?u(0,"error"):u(f.status,f.statusText):u(Bu[f.status]||f.status,f.statusText,(f.responseType||"text")!=="text"||typeof f.responseText!="string"?{binary:f.response}:{text:f.responseText},f.getAllResponseHeaders()))}},f.onload=a(),l=f.onerror=f.ontimeout=a("error"),f.onabort!==void 0?f.onabort=l:f.onreadystatechange=function(){f.readyState===4&&t.setTimeout(function(){a&&l()})},a=a("abort");try{f.send(n.hasContent&&n.data||null)}catch(C){if(a)throw C}},abort:function(){a&&a()}}}),d.ajaxPrefilter(function(n){n.crossDomain&&(n.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(n){return d.globalEval(n),n}}}),d.ajaxPrefilter("script",function(n){n.cache===void 0&&(n.cache=!1),n.crossDomain&&(n.type="GET")}),d.ajaxTransport("script",function(n){if(n.crossDomain||n.scriptAttrs){var a,l;return{send:function(c,u){a=d("