PageSourceSearch

https://touhoudb.com/assets/AlbumDetails-Cid98yfC.js

js touhoudb.com collected 2026-09-25 21:50:04 UTC 179,228 bytes, 21 lines download raw bytes

1var wr=Object.defineProperty;var xr=(p,h,s)=>h in p?wr(p,h,{enumerable:!0,configurable:!0,writable:!0,value:s}):p[h]=s;var J=(p,h,s)=>xr(p,typeof h!="symbol"?h+"":h,s);import{a7 as Tr,w as le,x as di,z as Sn,j as g,a8 as we,a9 as pn,y as jr,aa as qr,B as gn,ab as Cr,a as W,ac as Nr,ad as Sr,F as ce,R as Se,ae as Ze,af as xt,ag as bt,ah as Ii,ai as kr,aj as Rr,ak as Er,al as At,am as Tt,s as Dt,an as Ar,q as kn,d as Be,C as ut,ao as Fe,ap as Or,aq as mn,ar as Oi,as as vn,E as tt,i as ge,at as Rn,au as Dr,av as Xt,D as En,b as Vt,c as Lr,aw as An,e as Ir,m as Jt,ax as yn,ay as _r,a6 as Pr,o as Te,k as jt,f as Mr,u as Wr,az as wn,aA as Vr,v as Hr,aB as Br}from"./index-8plysmrn.js";import{A as xn,N as Tn,B as Fr,L as zr}from"./Layout-C2_GUOk9.js";import{D as $r,E as Ur}from"./EntryStatusMessage-GTsjRiJ-.js";import{R as br}from"./ReportEntryPopupKnockout-DeeYJ3Mr.js";import{E as Xr}from"./EmbedPVPreview-C69nq7hQ.js";import{L as Jr,D as Yr}from"./LatestCommentsKnockout-BetXaw10.js";import{T as Qr,a as Zr,b as Kr,c as Gr}from"./TagsEditStore-a479FDVx.js";import{A as es}from"./AlbumDetailsForApi-D4YyAHg6.js";import{J as rt}from"./JQueryUIButton-rEh4ie0w.js";import{J as hi}from"./JQueryUIDialog-Fu6f8Bh3.js";import{u as ts,f as is,m as jn,J as Ht}from"./JQueryUITabs-MZRT0nsN.js";import{u as ns}from"./QTipToolTip-3ReOZ9p7.js";import{u as rs}from"./useEventCallback-CAj94tAM.js";import{M as On}from"./MomentJsTimeAgo-uV5QInNO.js";import{U as Ot}from"./UrlHelper-Bme_q_7B.js";import{A as wt,S as fi,E as ss,P as as,L as os,a as ls}from"./SelfDescriptionStore-CJKz6K4j.js";import{E as us,a as fs}from"./EnglishTranslatedStringStore-D-QR1J81.js";import{E as cs,M as ds}from"./MarkdownHelper-MuYQtcAA.js";import{F as hs}from"./FormatMarkdown-PkorK3fa.js";import{D as ps}from"./DraftIcon-CBt5m_Qn.js";import{F as gs}from"./FormatPVLink-BBz8ZSX5.js";import{S as ms,P as vs}from"./EntryToolTip-ChElqfq7.js";import{U as ys}from"./UniversalTimeLabel-CW6jm3f9.js";import{S as ws}from"./SongLink-C4_P0mI8.js";import{S as xs}from"./SongTypeLabel-3RVuSKej.js";import{T as Ts}from"./TagLink-BgJw33Yk.js";import{U as js}from"./UserLink-CACJVDMm.js";import{E as qs}from"./EditableComments-DL9cuYNB.js";import{T as Dn}from"./ThumbItem-1fPPogxc.js";import{A as Di}from"./AlbumGrid-BRtOQfAc.js";import{M as Ln}from"./Markdown-5fKx-mi3.js";import{U as Cs}from"./DropdownList-D_g1EdiA.js";import{M as Ns}from"./MarkdownNotice-BMaDkzKo.js";import{s as Ss}from"./ui-CWUurCG7.js";import{P as qn,M as Li}from"./AlbumForUserForApiContract-DGQKQMbG.js";import{E as ks}from"./EditableCommentsStore-ClWUUxUE.js";import{R as Rs}from"./ReportEntryStore-DapPaf6i.js";import"./EntryLink-DlG-5V5Z.js";import"./NotificationIcon-B1BvXNO6.js";import"./TagAutoComplete-BmYP8_A4.js";import"./EntryAutoComplete-92k-oqqy.js";import"./JQueryUICheckbox-B5G-nwyS.js";import"./map-C1l46gJL.js";import"./ArtistCategories-8QAIaZtm.js";import"./useWillUnmount-Ctu0o8Dn.js";import"./ArtistLink-CTPFnntb.js";import"./ArtistTypeLabel-CiDS_vBs.js";import"./ExternalLinksList-Ce6d6xRv.js";import"./WebLinkCategory-D8SmqWu8.js";import"./EventCategory-CtpKpyKt.js";import"./ServerSidePaging-myE06lbI.js";import"./useRegionNames-CjzaeXwp.js";import"./UserKnownLanguageContract-BK6rzFDP.js";import"./ContentLanguageSelection-DCp2QIBo.js";import"./SongListFeaturedCategory-D-RNkTj_.js";(function(){try{var p=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};p.__faroBundleId_vocadb_frontend="1774823875286c67e3437a1"}catch{}})();var In=(p=>(p.InvalidInfo="InvalidInfo",p.Duplicate="Duplicate",p.Inappropriate="Inappropriate",p.Other="Other",p.InvalidTag="InvalidTag",p))(In||{});const Es=["InvalidInfo","Other","InvalidTag"],As=Tr("carousel-caption"),Os={as:we.elementType,bsPrefix:we.string,interval:we.number},Mi=le.forwardRef(({as:p="div",bsPrefix:h,className:s,...y},r)=>{const l=di(s,Sn(h,"item"));return g(p,{ref:r,...y,className:l})});Mi.displayName="CarouselItem";Mi.propTypes=Os;function Ds(p,h){var s=le.useRef(!0);le.useEffect(function(){if(s.current){s.current=!1;return}return p()},h)}const Ls=["onKeyDown"];function Is(p,h){if(p==null)return{};var s={},y=Object.keys(p),r,l;for(l=0;l<y.length;l++)r=y[l],!(h.indexOf(r)>=0)&&(s[r]=p[r]);return s}function _s(p){return!p||p.trim()==="#"}const _i=le.forwardRef((p,h)=>{let{onKeyDown:s}=p,y=Is(p,Ls);const[r]=ts(Object.assign({tagName:"a"},y)),l=rs(f=>{r.onKeyDown(f),s==null||s(f)});return _s(y.href)&&!y.role||y.role==="button"?pn.jsx("a",Object.assign({ref:h},y,r,{onKeyDown:l})):pn.jsx("a",Object.assign({ref:h},y,{onKeyDown:s}))});_i.displayName="Anchor";const Ps=40,Ms={bsPrefix:we.string,as:we.elementType,slide:we.bool,fade:we.bool,controls:we.bool,indicators:we.bool,indicatorLabels:we.array,activeIndex:we.number,onSelect:we.func,onSlide:we.func,onSlid:we.func,interval:we.number,keyboard:we.bool,pause:we.oneOf(["hover",!1]),wrap:we.bool,touch:we.bool,prevIcon:we.node,prevLabel:we.string,nextIcon:we.node,nextLabel:we.string,variant:we.oneOf(["dark"])},Ws={slide:!0,fade:!1,controls:!0,indicators:!0,indicatorLabels:[],defaultActiveIndex:0,interval:5e3,keyboard:!0,pause:"hover",wrap:!0,touch:!0,prevIcon:"‹",prevLabel:"Previous",nextIcon:"›",nextLabel:"Next"};
1function Vs(p){if(!p||!p.style||!p.parentNode||!p.parentNode.style)return!1;const h=getComputedStyle(p);return h.display!=="none"&&h.visibility!=="hidden"&&getComputedStyle(p.parentNode).display!=="none"}const pi=le.forwardRef((p,h)=>{const{as:s="div",bsPrefix:y,slide:r,fade:l,controls:f,indicators:w,indicatorLabels:T,activeIndex:q,onSelect:R,onSlide:A,onSlid:L,interval:N,keyboard:M,onKeyDown:z,pause:i,onMouseOver:b,onMouseOut:te,wrap:se,touch:oe,onTouchStart:ne,onTouchMove:Q,onTouchEnd:ke,prevIcon:De,prevLabel:st,nextIcon:ie,nextLabel:Ae,variant:X,className:je,children:de,...Le}=jr(p,{activeIndex:"onSelect"}),he=Sn(y,"carousel"),me=!1,xe=le.useRef(null),[We,Oe]=le.useState("next"),[qe,Pe]=le.useState(!1),[Me,Ue]=le.useState(!1),[Ce,pt]=le.useState(q||0);!Me&&q!==Ce&&(xe.current?Oe(xe.current):Oe((q||0)>Ce?"next":"prev"),r&&Ue(!0),pt(q||0)),le.useEffect(()=>{xe.current&&(xe.current=null)});let be=0,gt;is(de,(Z,pe)=>{++be,pe===q&&(gt=Z.props.interval)});const ft=qr(gt),Ke=le.useCallback(Z=>{if(Me)return;let pe=Ce-1;if(pe<0){if(!se)return;pe=be-1}xe.current="prev",R==null||R(pe,Z)},[Me,Ce,R,se,be]),Ve=gn(Z=>{if(Me)return;let pe=Ce+1;if(pe>=be){if(!se)return;pe=0}xe.current="next",R==null||R(pe,Z)}),mt=le.useRef();le.useImperativeHandle(h,()=>({element:mt.current,prev:Ke,next:Ve}));const ct=gn(()=>{!document.hidden&&Vs(mt.current)&&Ve()}),Ge=We==="next"?"start":"end";Ds(()=>{r||(A==null||A(Ce,Ge),L==null||L(Ce,Ge))},[Ce]);const qt=`${he}-item-${We}`,Ct=`${he}-item-${Ge}`,B=le.useCallback(Z=>{Cr(Z),A==null||A(Ce,Ge)},[A,Ce,Ge]),Y=le.useCallback(()=>{Ue(!1),L==null||L(Ce,Ge)},[L,Ce,Ge]),ve=le.useCallback(Z=>{if(M&&!/input|textarea/i.test(Z.target.tagName))switch(Z.key){case"ArrowLeft":Z.preventDefault(),Ke(Z);return;case"ArrowRight":Z.preventDefault(),Ve(Z);return}z==null||z(Z)},[M,z,Ke,Ve,me]),et=le.useCallback(Z=>{i==="hover"&&Pe(!0),b==null||b(Z)},[i,b]),at=le.useCallback(Z=>{Pe(!1),te==null||te(Z)},[te]),Ie=le.useRef(0),ot=le.useRef(0),Xe=ns(),vt=le.useCallback(Z=>{Ie.current=Z.touches[0].clientX,ot.current=0,i==="hover"&&Pe(!0),ne==null||ne(Z)},[i,ne]),it=le.useCallback(Z=>{Z.touches&&Z.touches.length>1?ot.current=0:ot.current=Z.touches[0].clientX-Ie.current,Q==null||Q(Z)},[Q]),Zt=le.useCallback(Z=>{if(oe){const pe=ot.current;Math.abs(pe)>Ps&&(pe>0?Ke(Z):Ve(Z))}i==="hover"&&Xe.set(()=>{Pe(!1)},N||void 0),ke==null||ke(Z)},[oe,i,Ke,Ve,Xe,N,ke]),Ft=N!=null&&!qe&&!Me,zt=le.useRef();le.useEffect(()=>{if(!Ft)return;const Z=Ve;return zt.current=window.setInterval(document.visibilityState?ct:Z,ft.current??N??void 0),()=>{zt.current!==null&&clearInterval(zt.current)}},[Ft,Ke,Ve,ft,N,ct,me]);const Lt=le.useMemo(()=>w&&Array.from({length:be},(Z,pe)=>dt=>{R==null||R(pe,dt)}),[w,be,R]);return W(s,{ref:mt,...Le,onKeyDown:ve,onMouseOver:et,onMouseOut:at,onTouchStart:vt,onTouchMove:it,onTouchEnd:Zt,className:di(je,he,r&&"slide",l&&`${he}-fade`,X&&`${he}-${X}`),children:[w&&g("div",{className:`${he}-indicators`,children:jn(de,(Z,pe)=>g("button",{type:"button","data-bs-target":"","aria-label":T!=null&&T.length?T[pe]:`Slide ${pe+1}`,className:pe===Ce?"active":void 0,onClick:Lt?Lt[pe]:void 0,"aria-current":pe===Ce},pe))}),g("div",{className:`${he}-inner`,children:jn(de,(Z,pe)=>{const dt=pe===Ce;return r?g(Nr,{in:dt,onEnter:dt?B:void 0,onEntered:dt?Y:void 0,addEndListener:Sr,children:(Nt,mi)=>le.cloneElement(Z,{...mi,className:di(Z.props.className,dt&&Nt!=="entered"&&qt,(Nt==="entered"||Nt==="exiting")&&"active",(Nt==="entering"||Nt==="exiting")&&Ct)})}):le.cloneElement(Z,{className:di(Z.props.className,dt&&"active")})})}),f&&W(ce,{children:[(se||q!==0)&&g(_i,{className:"carousel-control left",href:"#",onClick:Ke,children:De}),(se||q!==be-1)&&g(_i,{className:"carousel-control right",href:"#",onClick:Ve,children:ie})]})]})});pi.displayName="Carousel";pi.propTypes=Ms;pi.defaultProps=Ws;const ci=Object.assign(pi,{Caption:As,Item:Mi}),Hs=Se.memo(({imageInfo:p})=>{const{t:h}=Ze(["ViewRes.Album"]);return g("a",{href:Ot.imageThumb(p,xt.Original),children:g("img",{src:Ot.imageThumb(p,xt.Thumb),alt:h("ViewRes.Album:Details.CoverPicture"),className:"coverPic"})})}),Bs=Se.memo(({languageCode:p})=>{const{t:h}=Ze(["VocaDb.Web.Resources.Domain.Globalization"]);return p?g("img",{src:bt.mergeUrls(Ii.staticContentHost,`/img/languageFlags/${p}.png`),alt:p,title:p}):g("img",{src:bt.mergeUrls(Ii.staticContentHost,"/img/languageFlags/unknown.png"),alt:h("VocaDb.Web.Resources.Domain.Globalization:InterfaceLanguage.Other"),title:h("VocaDb.Web.Resources.Domain.Globalization:InterfaceLanguage.Other")})}),Fs=Se.memo(({imageInfo:p})=>g("a",{href:Ot.imageThumb(p,xt.Original),children:g("img",{src:Ot.imageThumb(p,xt.Thumb),alt:"Preview",className:"coverPic"})})),zs=Se.memo(({services:p})=>g(ce,{children:Object.values(kr).filter(h=>p.includes(h)).map((h,s)=>W(Se.Fragment,{children:[s>0&&" ",g(Rr,{service:h})]},h))})),$s=Se.memo(({current:p,max:h})=>g(ce,{children:Er(1,h+1).map(s=>W(Se.Fragment,{children:[s>0&&" ",p>=s?g("img",{src:"/Content/star.png",alt:"*"}):g("img",{src:"/Content/star_disabled.png",alt:""})]},s))})),Us=Se.memo(({rating:p})=>{const{t:h}=Ze(["Resources"]);switch(p){case At.Like:return g("span",{className:"icon starIcon",title:h(`Resources:SongVoteRatingNames.${At[At.Like]}`)});case At.Favorite:return g("span",{className:"icon heartIcon",title:h(`Resources:SongVoteRatingNames.${At[At.Favorite]}`)});default:return g(ce,{})}}),bs=Tt(({latestReview:p,latestReviewRatingScore:h})=>{var y;return Rn().includes(p.user.id)?g(ce,{}):W("div",{className:"media",children:[g(Fe,{className:"pull-left",to:tt.details_user_byName(p.user.name),children:g(vs,{url:(y=p.user.mainPicture)==null?void 0:y.urlThumb,size:70})}),W("div",{className:"media-body",children:[W("div",{className:"pull-right",children:[g(Bs,{languageCode:p.languageCode})," |"," ",g(On,{as:"span",children:p.date})]}),g("h3",{className:"media-heading",children:g(js,{user:p.user})}),h>
10&&g($s,{current:h,max:5}),W("div",{children:[p.title&&g("h4",{className:"album-review-title",children:p.title}),g("div",{children:g(hs,{text:p.text})})]})]})]})}),Xs=Tt(({model:p,albumDetailsStore:h})=>{const s=Dt(),{getCodeDescription:y}=Ar(),{t:r}=Ze(["Resources","ViewRes","ViewRes.Album","VocaDb.Model.Resources.Albums"]),f=[...new Set(p.cultureCodes.map(w=>{var T;return((T=y(w))==null?void 0:T.englishName)??r("ViewRes.Album:Details.Other")})).values()].join(", ");return W(Bt,{model:p,albumDetailsStore:h,tab:"basicInfo",children:[W("div",{className:"clearfix",children:[W("div",{className:"pull-left",children:[W(ci,{indicators:!1,interval:null,slide:!1,fade:!1,controls:p.pictures.length>0,children:[g(ci.Item,{className:"thumbItem",children:g(Hs,{imageInfo:p.mainPicture})}),p.pictures.map((w,T)=>W(ci.Item,{className:"thumbItem",children:[g(Fs,{imageInfo:w}),w.name&&g(ci.Caption,{children:g("h4",{children:w.name})})]},T))]}),p.ratingCount>0&&W("div",{itemProp:"aggregateRating",itemScope:!0,itemType:"http://schema.org/AggregateRating",children:[g("meta",{itemProp:"ratingValue",content:`${p.ratingAverage}`}),g(ms,{current:p.ratingAverage,max:5}),g("br",{}),"(",g("span",{itemProp:"ratingCount",children:p.ratingCount})," ",r("ViewRes.Album:Details.Ratings"),")"]})]}),g("table",{className:"properties",children:W("tbody",{children:[W("tr",{children:[g("td",{className:"entry-field-label-col",children:r("ViewRes:Shared.Name")}),W("td",{itemProp:"name",children:[p.name,g("br",{}),g("span",{className:"extraInfo",children:p.additionalNames})]})]}),p.vocalists.length>0&&W("tr",{children:[g("td",{children:r("ViewRes.Album:Details.Vocalists")}),g("td",{className:"artistList",children:g(wt,{artists:p.vocalists,showRoles:fi.IfNotVocalist,showType:!0,tooltip:!0})})]}),p.subject.length>0&&W("tr",{children:[g("td",{children:r("ViewRes:EntryDetails.Subject")}),g("td",{className:"artistList",children:g(wt,{artists:p.subject,tooltip:!0})})]}),p.producers.length>0&&W("tr",{children:[g("td",{children:r("ViewRes.Album:Details.Producers")}),g("td",{className:"artistList",children:g(wt,{artists:p.producers,showRoles:p.showProducerRoles?fi.IfNotDefault:fi.Never,tooltip:!0})})]}),p.illustrators&&p.illustrators.length>0&&W("tr",{children:[g("td",{children:r("ViewRes.Album:Details.Illustrators")}),g("td",{className:"artistList",children:g(wt,{artists:p.illustrators,tooltip:!0})})]}),p.bands.length>0&&W("tr",{children:[g("td",{children:r("ViewRes.Album:Details.Band")}),g("td",{className:"artistList",children:g(wt,{artists:p.bands,tooltip:!0})})]}),p.circles.length>0&&W("tr",{children:[g("td",{children:r("ViewRes.Album:Details.Circle")}),g("td",{className:"artistList",children:g(wt,{artists:p.circles,tooltip:!0})})]}),p.labels.length>0&&W("tr",{children:[g("td",{children:r("ViewRes.Album:Details.Labels")}),g("td",{className:"artistList",children:g(wt,{artists:p.labels,tooltip:!0})})]}),p.otherArtists.length>0&&W("tr",{children:[g("td",{children:r("ViewRes.Album:Details.OtherArtists")}),g("td",{className:"artistList",children:g(wt,{artists:p.otherArtists,showRoles:fi.IfNotDefault,tooltip:!0})})]}),p.description.original&&W("tr",{children:[g("td",{children:r("ViewRes:Shared.Description")}),g("td",{className:"entry-description",children:g(us,{englishTranslatedStringStore:h.description,string:p.description})})]}),W("tr",{children:[g("td",{children:r("ViewRes:Shared.Type")}),g("td",{children:p.discTypeTag?g(Ts,{tag:p.discTypeTag,tooltip:!0,children:r(`VocaDb.Model.Resources.Albums:DiscTypeNames.${p.discType}`)}):g("a",{href:`/Tag/DetailsByEntryType?${kn.stringify({entryType:Be.Album,subType:p.discType})}`,children:r(`VocaDb.Model.Resources.Albums:DiscTypeNames.${p.discType}`)})})]}),W("tr",{children:[g("td",{children:r("ViewRes:Shared.Tags")}),W("td",{children:[h.tagUsages.tagUsages.length>0&&g("div",{className:"entry-tag-usages",children:g(Qr,{tagListStore:h.tagUsages})}),W("div",{children:[g(rt,{as:ut,disabled:!s.canEditTagsForEntry({...p,entryType:Be.Album}),icons:{primary:"ui-icon-tag"},onClick:h.tagsEditStore.show,href:"#",children:r("ViewRes:EntryDetails.EditTags")}),p.canRemoveTagUsages&&W(ce,{children:[" ",g(rt,{as:Fe,to:`/Album/ManageTagUsages/${p.id}`,icons:{primary:"ui-icon-wrench"}
1,children:r("ViewRes:EntryDetails.ManageTags")})]})]})]})]}),p.releaseDate&&!p.releaseDate.isEmpty&&W("tr",{children:[g("td",{children:r("ViewRes.Album:Details.ReleaseDate")}),W("td",{children:[p.formattedReleaseDate,p.releaseDateIsInThePast&&W(ce,{children:[" ",g("small",{className:"muted",children:r("ViewRes.Album:Details.ReleaseDateIsInThePast")})]}),p.releaseDateIsInTheNearFuture&&W(ce,{children:[" ",g("small",{className:"muted",children:r("ViewRes.Album:Details.ReleaseDateIsInTheNearFuture")})]}),p.releaseDateIsInTheFarFuture&&W(ce,{children:[" ",g("small",{className:"muted",children:r("ViewRes.Album:Details.ReleaseDateIsInTheFarFuture")})]}),g("br",{})]})]}),p.catNum&&W("tr",{children:[g("td",{children:r("ViewRes.Album:Details.CatalogNumber")}),g("td",{children:p.catNum})]}),p.releaseEvents.length>0&&W("tr",{children:[g("td",{children:r("ViewRes.Album:Details.ReleaseEvent")}),g("td",{children:p.releaseEvents.slice().sort((w,T)=>(w.date?new Date(w.date).getTime():1/0)-(T.date?new Date(T.date).getTime():1/0)).map((w,T)=>W("span",{children:[T!==0?", ":"",g(ss,{entryReleaseDate:(()=>{var R,A,L,N;return!((R=p.releaseDate)!=null&&R.year)||!p.releaseDate.month||!p.releaseDate.day?void 0:Or().year((A=p.releaseDate)==null?void 0:A.year).month(((L=p.releaseDate)==null?void 0:L.month)-1).date((N=p.releaseDate)==null?void 0:N.day).toString()})(),bold:T===0,event:w,tooltip:!0})]},T))})]}),p.cultureCodes.length>0&&W("tr",{children:[g("td",{children:r("ViewRes:EntryDetails.Languages")}),g("td",{children:f})]}),p.pvs.length>0&&W("tr",{children:[g("td",{children:r("ViewRes.Album:Details.PVs")}),g("td",{children:p.pvs.map(w=>W(Se.Fragment,{children:[g(gs,{pv:w,type:!1}),g("br",{})]},w.id))})]}),g(cs,{webLinks:p.webLinks}),W("tr",{children:[g("td",{children:r("ViewRes:EntryDetails.Stats")}),g("td",{children:W(ut,{href:"#",id:"statsLink",onClick:h.getUsers,children:[r("ViewRes:EntryDetails.Hits",{0:p.hits}),"."," ",r("ViewRes.Album:Details.OwnedBy",{0:p.ownedBy}),"."," ",r("ViewRes.Album:Details.WishlistedBy",{0:p.wishlistedBy}),"."]})})]}),W("tr",{children:[g("td",{children:r("ViewRes:EntryDetails.AdditionDate")}),g("td",{children:g(ys,{dateTime:p.createDate})})]})]})})]}),(p.discs.length>0||p.contentFocus!==mn.Illustration)&&W(ce,{children:[W("h3",{children:[r("ViewRes.Album:Details.Tracklist"),p.totalLength!==0&&W(ce,{children:[" ",W("small",{children:["(",r("ViewRes.Album:Details.TotalLength",{0:Oi.formatFromSeconds(p.totalLength)}),")"]})]})]}),g("div",{className:"tracklist",children:p.discs.map(w=>W(Se.Fragment,{children:[p.discs.length>1&&W("h4",{children:[r("ViewRes.Album:Details.Disc")," ",w.discNumber,w.name&&` - ${w.name}`,w.totalLengthSeconds!==0&&W(ce,{children:[" ",W("small",{children:["(",Oi.formatFromSeconds(w.totalLengthSeconds),")"]})]}),w.isVideo&&W(ce,{children:[" ",g("i",{className:"icon-film",title:r("Resources:AlbumDiscMediaTypeNames.Video")})]})]}),g("ul",{children:w.songs.map(T=>W("li",{className:"tracklist-track",children:[g("div",{className:"tracklist-trackNumber",children:T.trackNumber})," ",g("div",{className:"tracklist-trackTitle",children:T.song?W(ce,{children:[g(ws,{song:T.song,albumId:p.id,tooltip:!0}),T.song.lengthSeconds>0&&` (${Oi.formatFromSeconds(T.song.lengthSeconds)})`," ","  ",g(ps,{status:T.song.status}),T.song.songType!==vn.Original&&T.song.songType!==vn.Unspecified&&W(ce,{children:[" ",g(xs,{songType:T.song.songType})]})," ",g(zs,{services:T.song.pvServices.split(",").map(q=>q.trim())})," ",g(Us,{rating:At[T.rating]}),g("br",{}),g("small",{className:"muted",children:T.song.artistString})]}):T.name})]},T.id))})]},w.discNumber))})]}),p.discs.length===0&&p.contentFocus!==mn.Illustration&&g("p",{children:r("ViewRes.Album:Details.NoTracklist")}),(p.canEditPersonalDescription||p.personalDescriptionText)&&W(ce,{children:[g("h3",{className:"withMargin helpTip",title:r("ViewRes:EntryDetails.PersonalDescriptionHelp"),children:r("ViewRes:EntryDetails.PersonalDescription")}),g(as,{personalDescription:h.personalDescription,canEditPersonalDescription:p.canEditPersonalDescription})]}),g(Jr,{editableCommentsStore:h.comments}),g("p",{children:g(Fe,{to:`${tt.details(Be.Album,p.id)}
1/discussion`,children:r("ViewRes:EntryDetails.ViewAllComments")})}),p.latestReview&&W(ce,{children:[g("h3",{children:r("ViewRes.Album:Details.LatestReview")}),g(bs,{latestReview:p.latestReview,latestReviewRatingScore:p.latestReviewRatingScore}),g("p",{className:"withMargin",children:g(Fe,{to:`${tt.details(Be.Album,p.id)}/reviews`,children:r("ViewRes.Album:Details.ViewAllReviews",{0:p.reviewCount})})})]}),g(hi,{title:r("ViewRes.Album:Details.AlbumInCollections"),autoOpen:h.userCollectionsPopupVisible,width:400,close:()=>ge(()=>{h.userCollectionsPopupVisible=!1}),children:h.usersContent&&g("div",{dangerouslySetInnerHTML:{__html:h.usersContent}})})]})}),Js=Tt(({model:p,albumDetailsStore:h})=>{const s=Dt();return Se.useEffect(()=>{h.comments.initComments()},[h]),g(Bt,{model:p,albumDetailsStore:h,tab:"discussion",children:g(qs,{editableCommentsStore:h.comments,allowCreateComment:s.canCreateComments&&(!h.comments.commentsLocked||s.canLockComments),well:!1,comments:h.comments.pageOfComments,commentsLocked:h.comments.commentsLocked,onToggleLock:h.comments.toggleCommentsLocked})})}),Ys=Se.memo(({picture:p})=>g(Dn,{linkProps:{href:Ot.imageThumb(p,xt.Original)},thumbUrl:Ot.imageThumb(p,xt.Thumb),caption:p.name})),Qs=Se.memo(({model:p,albumDetailsStore:h})=>{const{t:s}=Ze(["ViewRes.Album"]);return g(Bt,{model:p,albumDetailsStore:h,tab:"pictures",children:W("div",{className:"thumbs",children:[g(Dn,{linkProps:{href:`/Album/CoverPicture/${p.id}?${kn.stringify({v:p.version})}`},thumbUrl:Ot.imageThumb(p.mainPicture,xt.Thumb),caption:s("ViewRes.Album:Details.CoverPicture")}),p.pictures.map((y,r)=>g(Ys,{picture:y},r))]})})}),Zs=({model:p,albumDetailsStore:h})=>{const{t:s}=Ze(["ViewRes.Album"]),[y,r]=Se.useState(void 0);return Se.useEffect(()=>{h.getRelated().then(r)},[p,h]),g(Bt,{model:p,albumDetailsStore:h,tab:"related",children:y!==void 0&&W(ce,{children:[y.artistMatches.length>0&&W(ce,{children:[g("h3",{children:s("ViewRes.Album:Details.MatchingArtists")}),g(Di,{displayRating:!1,displayReleaseDate:!1,albums:y.artistMatches,columns:2})]}),y.likeMatches.length>0&&W(ce,{children:[g("h3",{children:s("ViewRes.Album:Details.MatchingLikes")}),g(Di,{displayRating:!1,displayReleaseDate:!1,albums:y.likeMatches,columns:2})]}),y.tagMatches.length>0&&W(ce,{children:[g("h3",{children:s("ViewRes.Album:Details.MatchingTags")}),g(Di,{displayRating:!1,displayReleaseDate:!1,albums:y.tagMatches,columns:2})]})]})})},Ks=Se.memo(({user:p})=>g(Fe,{to:tt.details_user_byName(p.name),className:"pull-left",children:g(Dr,{imageSize:xt.Thumb,user:p,size:70})})),Gs=({user:p})=>g(Fe,{to:tt.details_user_byName(p.name),children:g("span",{children:p.name})}),ea=Tt(({albumDetailsStore:p,review:h})=>{const{t:s}=Ze(["ViewRes"]);return Rn().includes(h.user.id)?g(ce,{}):W("div",{className:"album-review media",children:[g(Ks,{user:h.user}),W("div",{className:"media-body",children:[W("div",{className:"pull-right",children:[g("img",{src:bt.mergeUrls(Ii.staticContentHost,`/img/languageFlags/${h.languageCode}.png`),title:h.languageCode,alt:h.languageCode})," ","| ",g(On,{as:"span",children:h.date}),h.canBeEdited&&W(ce,{children:["  ",g(ut,{onClick:()=>p.reviewsStore.beginEditReview(h),href:"#",className:"textLink editLink",children:s("ViewRes:Shared.Edit")})]}),h.canBeDeleted&&W(ce,{children:["  ",g(ut,{onClick:()=>{window.confirm("Are you sure you want to delete this review?")&&p.reviewsStore.deleteReview(h)},href:"#",className:"textLink deleteLink",children:s("ViewRes:Shared.Delete")})]})]}),g("h3",{className:"media-heading",children:g(Gs,{user:h.user})}),g("span",{children:p.reviewsStore.ratingStars(p.reviewsStore.getRatingForUser(h.user.id)).map((r,l)=>W(Se.Fragment,{children:[l>0&&" ",g("img",{src:r.enabled?"/Content/star.png":"/Content/star_disabled.png"})]},l))}),p.reviewsStore.editReviewStore===h?W("form",{onSubmit:r=>{r.preventDefault(),p.reviewsStore.saveEditedReview()},children:[g("input",{value:h.editedTitle,onChange:r=>ge(()=>{h.editedTitle=r.target.value}),type:"text",className:"input-xlarge",maxLength:200,placeholder:"Title"}),g("br",{}),g("textarea",{value:h.editedText,onChange:r=>ge(()=>{h.editedText=r.target.value}),rows:6,cols:100,maxLength:4e3,className:"input-xxlarge",placeholder:"Review",required:!0}),g("br",{}),g(Xt,{type:"submit",variant:"primary",children:s("ViewRes:Shared.Save")})," ",g(Xt,{onClick:p.reviewsStore.cancelEditReview,children:s("ViewRes:Shared.Cancel")})]}):W("div",{children:[h.title&&g("h4",{className:"album-review-title",children:h.title}),g("p",{children:g(Ln,{children:h.text})})]})]})]})}),ta=Tt(({model:p,albumDetailsStore:h})=>{const s=Dt(),{t:y}=Ze(["ViewRes.Album"]);return Se.useEffect(()=>{h.reviewsStore.loadReviews()}
1,[h]),W(Bt,{model:p,albumDetailsStore:h,tab:"reviews",children:[s.canCreateComments?!h.reviewsStore.showCreateNewReview&&W(Xt,{onClick:()=>ge(()=>{h.reviewsStore.showCreateNewReview=!0}),className:"create-topic",children:[g("i",{className:"icon-comment"})," ",y("ViewRes.Album:Details.ReviewWrite")]}):g(xn,{variant:"info",children:y("ViewRes.Album:Details.ReviewLoginToReview")}),h.reviewsStore.showCreateNewReview&&W("form",{onSubmit:r=>{r.preventDefault(),h.reviewsStore.createNewReview()},children:[W("div",{children:[g("label",{children:y("ViewRes.Album:Details.ReviewLanguage")}),g(Cs,{placeholder:"Choose",value:h.reviewsStore.languageCode,onChange:r=>ge(()=>{h.reviewsStore.languageCode=r.target.value}),className:"input-xlarge",required:!0}),h.reviewsStore.reviewAlreadySubmitted&&g(xn,{variant:"danger",children:y("ViewRes.Album:Details.ReviewAlreadySubmitted")}),g("label",{children:y("ViewRes.Album:Details.ReviewTitle")}),g("input",{value:h.reviewsStore.newReviewTitle,onChange:r=>ge(()=>{h.reviewsStore.newReviewTitle=r.target.value}),type:"text",className:"input-xlarge",maxLength:200}),g("label",{children:y("ViewRes.Album:Details.ReviewText")}),g(Ns,{}),g("br",{}),g("textarea",{value:h.reviewsStore.newReviewText,onChange:r=>ge(()=>{h.reviewsStore.newReviewText=r.target.value}),className:"input-xxlarge",cols:100,rows:6,maxLength:4e3,minLength:50,required:!0}),W("div",{children:[g("label",{children:y("ViewRes.Album:Details.ReviewPreview")}),g("div",{children:g(Ln,{children:h.reviewsStore.newReviewText})})]})]}),g(Xt,{type:"submit",variant:"primary",disabled:h.reviewsStore.reviewAlreadySubmitted,children:y("ViewRes.Album:Details.ReviewPost")})]}),g("div",{className:"album-reviews",children:h.reviewsStore.reviews.map((r,l)=>g(ea,{albumDetailsStore:h,review:r},l))})]})}),ia=({model:p,albumDetailsStore:h})=>{const s=En(),{t:y}=Ze(["ViewRes"]),r=bt.mergeUrls(s.values.hostAddress,tt.details(Be.Album,p.id));return W(Bt,{model:p,albumDetailsStore:h,tab:"share",children:[g("div",{children:W("label",{children:[y("ViewRes:EntryDetails.Social"),g("br",{}),g(os,{title:p.name,url:r}),g("br",{}),g("br",{})]})}),W("div",{children:[y("ViewRes:EntryDetails.Link"),g("br",{}),g("input",{type:"text",defaultValue:r,className:"input-large",onFocus:l=>l.target.select()})]}),W("div",{children:[g("a",{href:"http://daringfireball.net/projects/markdown/",children:"Markdown"}),g("br",{}),g("input",{type:"text",defaultValue:ds.createMarkdownLink(r,p.name),className:"input-xxlarge",onFocus:l=>l.target.select()})]})]})},Bt=Se.memo(({model:p,albumDetailsStore:h,tab:s,children:y})=>{const r=Dt(),{t:l}=Ze(["ViewRes","ViewRes.Album"]);return W("div",{className:"js-cloak ui-tabs ui-widget ui-widget-content ui-corner-all",children:[W("ul",{className:"ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all",role:"tablist",children:[g(Ht,{active:s==="basicInfo",children:g(Fe,{to:`${tt.details(Be.Album,p.id)}`,children:l("ViewRes:EntryDetails.BasicInfoTab")})}),g(Ht,{active:s==="discussion",children:g(Fe,{to:`${tt.details(Be.Album,p.id)}/discussion`,children:`${l("ViewRes:EntryDetails.DiscussionTab")} (${p.commentCount})`})}),g(Ht,{active:s==="reviews",children:g(Fe,{to:`${tt.details(Be.Album,p.id)}/reviews`,children:`${l("ViewRes.Album:Details.ReviewsTab")} (${p.reviewCount})`})}),r.canViewCoverArtImages&&g(Ht,{active:s==="pictures",children:g(Fe,{to:`${tt.details(Be.Album,p.id)}/pictures`,children:`${l("ViewRes:EntryDetails.PicturesTab")} (${p.pictures.length+1})`})}),g(Ht,{active:s==="related",children:g(Fe,{to:`${tt.details(Be.Album,p.id)}/related`,children:l("ViewRes.Album:Details.RelatedAlbums")})}),g(Ht,{active:s==="share",children:g(Fe,{to:`${tt.details(Be.Album,p.id)}/share`,children:l("ViewRes.Album:Details.Share")})})]}),g("div",{className:"ui-tabs-panel ui-widget-content ui-corner-bottom",role:"tabpanel",children:y})]})}),na=({model:p,albumDetailsStore:h})=>{const s=Dt();return W(Lr,{children:[g(Vt,{path:"discussion",element:g(Js,{model:p,albumDetailsStore:h})}),g(Vt,{path:"reviews",element:g(ta,{model:p,albumDetailsStore:h})}),s.canViewCoverArtImages&&g(Vt,{path:"pictures",element:g(Qs,{model:p,albumDetailsStore:h})}),g(Vt,{path:"related",element:g(Zs,{model:p,albumDetailsStore:h})}),g(Vt,{path:"share",element:g(ia,{model:p,albumDetailsStore:h})}),g(Vt,{path:"*",element:g(Xs,{model:p,albumDetailsStore:h})})]})},ra=Tt(({albumDetailsStore:p})=>{const{t:h}=Ze(["AjaxRes","ViewRes.Album"]);return g(hi,{title:h("ViewRes.Album:Details.DownloadTrackList"),autoOpen:p.downloadTagsDialog.dialogVisible,width:400,buttons:[{text:h("AjaxRes:Album.Download"),click:()=>{ge(()=>{p.downloadTagsDialog.dialogVisible=!1});const s=`/Album/DownloadTags/${p.downloadTagsDialog.albumId}`;window.location.href=`${s}?setFormatString=true&formatString=${encodeURIComponent(p.downloadTagsDialog.formatString)}`}}],close:()=>ge(()=>{p.downloadTagsDialog.dialogVisible=!1}),children:W("div",{children:[g("label",{children:h("ViewRes.Album:Details.CustomFormatStringLabel")}),W("div",{className:"form-inline",children:[g("input",{type:"text",value:p.downloadTagsDialog.formatString,onChange:s=>ge(()=>{p.downloadTagsDialog.formatString=s.target.value}),maxLength:200,className:"input-xlarge"})," ",g(Xt,{onClick:()=>ge(()=>{p.downloadTagsDialog.formatString=""}),children:h("ViewRes.Album:Details.Reset")})]})]})})});var Cn={},Nn;function sa(){if(Nn)return Cn;Nn=1;var p=document.all&&!document.addEventListener;p||function(s,y){var r,l,f=s.document,w=s.navigator,T=s.JQXLite,q=s.$,R=Array.prototype.push,A=Array.prototype.slice,L=Array.prototype.indexOf,N=Object.prototype.toString,M=Object.prototype.hasOwnProperty,z=String.prototype.trim,i=function(e,t){return new i.fn.init(e,t,r)},b=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,te=/\S/,se=/\s+/,oe=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,ne=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,Q=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,ke=/^[\],:{}\s]*$/,De=/(?:^|:|,)(?:\s*\[)+/g,st=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,ie=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,Ae=/^-ms-/,X=/-([\da-z])/gi,je=function(e,t){return(t+"").toUpperCase()},de=function(){f.addEventListener?(f.removeEventListener("DOMContentLoaded",de,!1),i.ready()):f.readyState==="complete"&&(f.detachEvent("onreadystatechange",de),i.ready())},Le={};i.fn=i.prototype={constructor:i,init:function(e,t,n){var a,o,u;if(!e)return this;if(e.nodeType)return this.context=this[0]=e,this.length=1,this;if(typeof e=="string")if(e.charAt(0)==="<"&&e.charAt(e.length-1)===">"&&e.length>=3?a=[null,e,null]:a=ne.exec(e),a&&(a[1]||!t)){if(a[1])return t=t instanceof i?t[0]:t,u=t&&t.nodeType?t.ownerDocument||t:f,e=i.parseHTML(a[1],u,!0),Q.test(a[1])&&i.isPlainObject(t)&&this.attr.call(e,t,!0),i.merge(this,e);if(o=f.getElementById(a[2]),o&&o.parentNode){if(o.id!==a[2])return n.find(e);this.length=1,this[0]=o}return this.context=f,this.selector=e,this}else return!t||t.jqx?(t||n).find(e):this.constructor(t).find(e);else if(i.isFunction(e))return n.ready(e);return e.selector!==y&&(this.selector=e.selector,this.context=e.context),i.makeArray(e,this)},selector:"",jqx:"4.5.0",length:0,size:function(){return this.length},toArray:function(){return A.call(this)},get:function(e){return e==null?this.toArray():e<0?this[this.length+e]:this[e]}
1,pushStack:function(e,t,n){var a=i.merge(this.constructor(),e);return a.prevObject=this,a.context=this.context,t==="find"?a.selector=this.selector+(this.selector?" ":"")+n:t&&(a.selector=this.selector+"."+t+"("+n+")"),a},each:function(e,t){return i.each(this,e,t)},ready:function(e){return i.ready.promise().done(e),this},eq:function(e){return e=+e,e===-1?this.slice(e):this.slice(e,e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(A.apply(this,arguments),"slice",A.call(arguments).join(","))},map:function(e){return this.pushStack(i.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:R,sort:[].sort,splice:[].splice},i.fn.init.prototype=i.fn,i.extend=i.fn.extend=function(){var e,t,n,a,o,u,c=arguments[0]||{},m=1,x=arguments.length,S=!1;for(typeof c=="boolean"&&(S=c,c=arguments[1]||{},m=2),typeof c!="object"&&!i.isFunction(c)&&(c={}),x===m&&(c=this,--m);m<x;m++)if((e=arguments[m])!=null)for(t in e)n=c[t],a=e[t],c!==a&&(S&&a&&(i.isPlainObject(a)||(o=i.isArray(a)))?(o?(o=!1,u=n&&i.isArray(n)?n:[]):u=n&&i.isPlainObject(n)?n:{},c[t]=i.extend(S,u,a)):a!==y&&(c[t]=a));return c},i.extend({noConflict:function(e){return s.$===i&&(s.$=q),e&&s.JQXLite===i&&(s.JQXLite=T),i},isReady:!1,readyWait:1,holdReady:function(e){e?i.readyWait++:i.ready(!0)}
1,ready:function(e){if(!(e===!0?--i.readyWait:i.isReady)){if(!f.body)return setTimeout(i.ready,1);i.isReady=!0,!(e!==!0&&--i.readyWait>0)&&(l.resolveWith(f,[i]),i.fn.trigger&&i(f).trigger("ready").off("ready"))}},isFunction:function(e){return i.type(e)==="function"},isArray:Array.isArray||function(e){return i.type(e)==="array"},isWindow:function(e){return e!=null&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return e==null?String(e):Le[N.call(e)]||"object"},isPlainObject:function(e){if(!e||i.type(e)!=="object"||e.nodeType||i.isWindow(e))return!1;try{if(e.constructor&&!M.call(e,"constructor")&&!M.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch{return!1}var t;for(t in e);return t===y||M.call(e,t)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw new Error(e)},parseHTML:function(e,t,n){var a;return!e||typeof e!="string"?null:(typeof t=="boolean"&&(n=t,t=0),t=t||f,(a=Q.exec(e))?[t.createElement(a[1])]:(a=i.buildFragment([e],t,n?null:[]),i.merge([],(a.cacheable?i.clone(a.fragment):a.fragment).childNodes)))},parseJSON:function(e){if(!e||typeof e!="string")return null;if(e=i.trim(e),s.JSON&&s.JSON.parse)return s.JSON.parse(e);if(ke.test(e.replace(st,"@").replace(ie,"]").replace(De,"")))return new Function("return "+e)();i.error("Invalid JSON: "+e)},parseXML:function(e){var t,n;if(!e||typeof e!="string")return null;try{s.DOMParser?(n=new DOMParser,t=n.parseFromString(e,"text/xml")):(t=new ActiveXObject("Microsoft.XMLDOM"),t.async="false",t.loadXML(e))}catch{t=y}return(!t||!t.documentElement||t.getElementsByTagName("parsererror").length)&&i.error("Invalid XML: "+e),t},noop:function(){},globalEval:function(e){e&&te.test(e)&&(s.execScript||function(t){s.eval.call(s,t)})(e)},camelCase:function(e){return e.replace(Ae,"ms-").replace(X,je)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var a,o=0,u=e.length,c=u===y||i.isFunction(e);if(n)if(c){for(a in e)if(t.apply(e[a],n)===!1)break}else for(;o<u&&t.apply(e[o++],n)!==!1;);else if(c){for(a in e)if(t.call(e[a],a,e[a])===!1)break}else for(;o<u&&t.call(e[o],o,e[o++])!==!1;);return e},trim:z&&!z.call("\uFEFF ")?function(e){return e==null?"":z.call(e)}:function(e){return e==null?"":(e+"").replace(oe,"")},makeArray:function(e,t){var n,a=t||[];return e!=null&&(n=i.type(e),e.length==null||n==="string"||n==="function"||n==="regexp"||i.isWindow(e)?R.call(a,e):i.merge(a,e)),a},inArray:function(e,t,n){var a;if(t){if(L)return L.call(t,e,n);for(a=t.length,n=n?n<0?Math.max(0,a+n):n:0;n<a;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,t){var n=t.length,a=e.length,o=0;if(typeof n=="number")for(;o<n;o++)e[a++]=t[o];else for(;t[o]!==y;)e[a++]=t[o++];return e.length=a,e},grep:function(e,t,n){var a,o=[],u=0,c=e.length;for(n=!!n;u<c;u++)a=!!t(e[u],u),n!==a&&o.push(e[u]);return o},map:function(e,t,n){var a,o,u=[],c=0,m=e.length,x=e instanceof i||m!==y&&typeof m=="number"&&(m>0&&e[0]&&e[m-1]||m===0||i.isArray(e));if(x)for(;c<m;c++)a=t(e[c],c,n),a!=null&&(u[u.length]=a);else for(o in e)a=t(e[o],o,n),a!=null&&(u[u.length]=a);return u.concat.apply([],u)},guid:1,proxy:function(e,t){var n,a,o;return typeof t=="string"&&(n=e[t],t=e,e=n),i.isFunction(e)?(a=A.call(arguments,2),o=function(){return e.apply(t,a.concat(A.call(arguments)))},o.guid=e.guid=e.guid||i.guid++,o):y},access:function(e,t,n,a,o,u,c){var m,x=n==null,S=0,C=e.length;if(n&&typeof n=="object"){for(S in n)i.access(e,t,S,n[S],1,u,a);o=1}else if(a!==y){if(m=c===y&&i.isFunction(a),x&&(m?(m=t,t=function(E,_,V){return m.call(i(E),V)}):(t.call(e,a),t=null)),t)for(;S<C;S++)t(e[S],n,m?a.call(e[S],S,t(e[S],n)):a,c);o=1}return o?e:x?t.call(e):C?t(e[0],n):u},now:function(){return new Date().getTime()}}),i.ready.promise=function(e){if(!l)if(l=i.Deferred(),f.readyState==="complete")setTimeout(i.ready,1);else if(f.addEventListener)f.addEventListener("DOMContentLoaded",de,!1),s.addEventListener("load",i.ready,!1);else{f.attachEvent("onreadystatechange",de),s.attachEvent("onload",i.ready);var t=!1;try{t=s.frameElement==null&&f.documentElement}catch{}t&&t.doScroll&&function n(){if(!i.isReady){try{t.doScroll("left")}catch{return setTimeout(n,50)}i.ready()}}()}return l.promise(e)},i.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(e,t){Le["[object "+t+"]"]=t.toLowerCase()}),r=i(f);var he={};function me(e){var t=he[e]={};return i.each(e.split(se),function(n,a){t[a]=!0}),t}i.Callbacks=function(e){e=typeof e=="string"?he[e]||me(e):i.extend({},e);var t,n,a,o,u,c,m=[],x=!e.once&&[],S=function(E){for(t=e.memory&&E,n=!0,c=o||0,o=0,u=m.length,a=!0;m&&c<u;c++)if(m[c].apply(E[0],E[1])===!1&&e.stopOnFalse){t=!1;break}a=!1,m&&(x?x.length&&S(x.shift()):t?m=[]:C.disable())},C={add:function(){if(m){var E=m.length;
vendor: 6,459 bytes, line 1
1(function _(V){i.each(V,function(P,U){var ee=i.type(U);ee==="function"?(!e.unique||!C.has(U))&&m.push(U):U&&U.length&&ee!=="string"&&_(U)})})(arguments),a?u=m.length:t&&(o=E,S(t))}return this},remove:function(){return m&&i.each(arguments,function(E,_){for(var V;(V=i.inArray(_,m,V))>-1;)m.splice(V,1),a&&(V<=u&&u--,V<=c&&c--)}),this},has:function(E){return i.inArray(E,m)>-1},empty:function(){return m=[],this},disable:function(){return m=x=t=y,this},disabled:function(){return!m},lock:function(){return x=y,t||C.disable(),this},locked:function(){return!x},fireWith:function(E,_){return _=_||[],_=[E,_.slice?_.slice():_],m&&(!n||x)&&(a?x.push(_):S(_)),this},fire:function(){return C.fireWith(this,arguments),this},fired:function(){return!!n}};return C},i.extend({Deferred:function(e){var t=[["resolve","done",i.Callbacks("once memory"),"resolved"],["reject","fail",i.Callbacks("once memory"),"rejected"],["notify","progress",i.Callbacks("memory")]],n="pending",a={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},then:function(){var u=arguments;return i.Deferred(function(c){i.each(t,function(m,x){var S=x[0],C=u[m];o[x[1]](i.isFunction(C)?function(){var E=C.apply(this,arguments);E&&i.isFunction(E.promise)?E.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[S+"With"](this===o?c:this,[E])}:c[S])}),u=null}).promise()},promise:function(u){return u!=null?i.extend(u,a):a}},o={};return a.pipe=a.then,i.each(t,function(u,c){var m=c[2],x=c[3];a[c[1]]=m.add,x&&m.add(function(){n=x},t[u^1][2].disable,t[2][2].lock),o[c[0]]=m.fire,o[c[0]+"With"]=m.fireWith}),a.promise(o),e&&e.call(o,o),o},when:function(e){var t=0,n=A.call(arguments),a=n.length,o=a!==1||e&&i.isFunction(e.promise)?a:0,u=o===1?e:i.Deferred(),c=function(C,E,_){return function(V){E[C]=this,_[C]=arguments.length>1?A.call(arguments):V,_===m?u.notifyWith(E,_):--o||u.resolveWith(E,_)}},m,x,S;if(a>1)for(m=new Array(a),x=new Array(a),S=new Array(a);t<a;t++)n[t]&&i.isFunction(n[t].promise)?n[t].promise().done(c(t,S,n)).fail(u.reject).progress(c(t,x,m)):--o;return o||u.resolveWith(S,n),u.promise()}}),i.support=function(){var e,t,n,a,o,u,c,m,x,S,C,E=f.createElement("div");if(E.setAttribute("className","t"),E.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",t=E.getElementsByTagName("*"),n=E.getElementsByTagName("a")[0],!t||!n||!t.length)return{};a=f.createElement("select"),o=a.appendChild(f.createElement("option")),u=E.getElementsByTagName("input")[0],n.style.cssText="top:1px;float:left;opacity:.5",e={leadingWhitespace:E.firstChild.nodeType===3,tbody:!E.getElementsByTagName("tbody").length,htmlSerialize:!!E.getElementsByTagName("link").length,style:/top/.test(n.getAttribute("style")),hrefNormalized:n.getAttribute("href")==="/a",opacity:/^0.5/.test(n.style.opacity),cssFloat:!!n.style.cssFloat,checkOn:u.value==="on",optSelected:o.selected,getSetAttribute:E.className!=="t",enctype:!!f.createElement("form").enctype,html5Clone:f.createElement("nav").cloneNode(!0).outerHTML!=="<:nav></:nav>",boxModel:f.compatMode==="CSS1Compat",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},u.checked=!0,e.noCloneChecked=u.cloneNode(!0).checked,a.disabled=!0,e.optDisabled=!o.disabled;try{delete E.test}catch{e.deleteExpando=!1}if(!E.addEventListener&&E.attachEvent&&E.fireEvent&&(E.attachEvent("onclick",C=function(){e.noCloneEvent=!1}),E.cloneNode(!0).fireEvent("onclick"),E.detachEvent("onclick",C)),u=f.createElement("input"),u.value="t",u.setAttribute("type","radio"),e.radioValue=u.value==="t",u.setAttribute("checked","checked"),u.setAttribute("name","t"),E.appendChild(u),c=f.createDocumentFragment(),c.appendChild(E.lastChild),e.checkClone=c.cloneNode(!0).cloneNode(!0).lastChild.checked,e.appendChecked=u.checked,c.removeChild(u),c.appendChild(E),E.attachEvent)for(x in{submit:!0,change:!0,focusin:!0})m="on"+x,S=m in E,S||(E.setAttribute(m,"return;"),S=typeof E[m]=="function"),e[x+"Bubbles"]=S;return i(function(){var _,V,P,U,ee="padding:0;margin:0;border:0;display:block;overflow:hidden;",ue=f.getElementsByTagName("body")[0];ue&&(_=f.createElement("div"),_.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",ue.insertBefore(_,ue.firstChild),V=f.createElement("div"),_.appendChild(V),V.innerHTML="<table><tr><td></td><td>t</td></tr></table>",P=V.getElementsByTagName("td"),P[0].style.cssText="padding:0;margin:0;border:0;display:none",S=P[0].offsetHeight===0,P[0].style.display="",P[1].style.display="none",e.reliableHiddenOffsets=S&&P[0].offsetHeight===0,V.innerHTML="",V.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",e.boxSizing=V.offsetWidth===4,e.doesNotIncludeMarginInBodyOffset=ue.offsetTop!==1,s.getComputedStyle&&(e.pixelPosition=(s.getComputedStyle(V,null)||{}).top!=="1%",e.boxSizingReliable=(s.getComputedStyle(V,null)||{width:"4px"}).width==="4px",U=f.createElement("div"),U.style.cssText=V.style.cssText=ee,U.style.marginRight=U.style.width="0",V.style.width="1px",V.appendChild(U),e.reliableMarginRight=!parseFloat((s.getComputedStyle(U,null)||{}).marginRight)),typeof V.style.zoom<"u"&&(V.innerHTML="",V.style.cssText=ee+"width:1px;padding:1px;display:inline;zoom:1",e.inlineBlockNeedsLayout=V.offsetWidth===3,V.style.display="block",V.style.overflow="visible",V.innerHTML="<div></div>",V.firstChild.style.width="5px",e.shrinkWrapBlocks=V.offsetWidth!==3,_.style.zoom=1),ue.removeChild(_),_=V=P=U=null)}),c.removeChild(E),t=n=a=o=u=c=E=null,e}();var xe=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,We=/([A-Z])/g;i.extend({cache:{},deletedIds:[],uuid:0,expando:"JQXLite"+(i.fn.jqx+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(e){return e=e.nodeType?i.cache[e[i.expando]]:e[i.expando],!!e&&!qe(e)},data:function(e,t,n,a){if(i.acceptData(e)){var o,u,c=i.expando,m=typeof t=="string",x=e.nodeType,S=x?i.cache:e,C=x?e[c]:e[c]&&c;if(!((!C||!S[C]||!a&&!S[C].data)&&m&&n===y))return C||(x?e[c]=C=i.deletedIds.pop()||i.guid++:C=c),S[C]||(S[C]={},x||(S[C].toJSON=i.noop)),(typeof t=="object"||typeof t=="function")&&(a?S[C]=i.extend(S[C],t):S[C].data=i.extend(S[C].data,t)),o=S[C],a||(o.data||(o.data={}
1),o=o.data),n!==y&&(o[i.camelCase(t)]=n),m?(u=o[t],u==null&&(u=o[i.camelCase(t)])):u=o,u}},removeData:function(e,t,n){if(i.acceptData(e)){var a,o,u,c=e.nodeType,m=c?i.cache:e,x=c?e[i.expando]:i.expando;if(m[x]){if(t&&(a=n?m[x]:m[x].data,a)){for(i.isArray(t)||(t in a?t=[t]:(t=i.camelCase(t),t in a?t=[t]:t=t.split(" "))),o=0,u=t.length;o<u;o++)delete a[t[o]];if(!(n?qe:i.isEmptyObject)(a))return}!n&&(delete m[x].data,!qe(m[x]))||(c?i.cleanData([e],!0):i.support.deleteExpando||m!=m.window?delete m[x]:m[x]=null)}}},_data:function(e,t,n){return i.data(e,t,n,!0)},acceptData:function(e){var t=e.nodeName&&i.noData[e.nodeName.toLowerCase()];return!t||t!==!0&&e.getAttribute("classid")===t}}),i.fn.extend({data:function(e,t){var n,a,o,u,c,m=this[0],x=0,S=null;if(e===y){if(this.length&&(S=i.data(m),m.nodeType===1&&!i._data(m,"parsedAttrs"))){for(o=m.attributes,c=o.length;x<c;x++)u=o[x].name,u.indexOf("data-")||(u=i.camelCase(u.substring(5)),Oe(m,u,S[u]));i._data(m,"parsedAttrs",!0)}return S}return typeof e=="object"?this.each(function(){i.data(this,e)}):(n=e.split(".",2),n[1]=n[1]?"."+n[1]:"",a=n[1]+"!",i.access(this,function(C){if(C===y)return S=this.triggerHandler("getData"+a,[n[0]]),S===y&&m&&(S=i.data(m,e),S=Oe(m,e,S)),S===y&&n[1]?this.data(n[0]):S;n[1]=C,this.each(function(){var E=i(this);E.triggerHandler("setData"+a,n),i.data(this,e,C),E.triggerHandler("changeData"+a,n)})},null,t,arguments.length>1,null,!1))},removeData:function(e){return this.each(function(){i.removeData(this,e)})}});function Oe(e,t,n){if(n===y&&e.nodeType===1){var a="data-"+t.replace(We,"-$1").toLowerCase();if(n=e.getAttribute(a),typeof n=="string"){try{n=n==="true"?!0:n==="false"?!1:n==="null"?null:+n+""===n?+n:xe.test(n)?i.parseJSON(n):n}catch{}i.data(e,t,n)}else n=y}return n}function qe(e){var t;for(t in e)if(!(t==="data"&&i.isEmptyObject(e[t]))&&t!=="toJSON")return!1;return!0}i.extend({queue:function(e,t,n){var a;if(e)return t=(t||"fx")+"queue",a=i._data(e,t),n&&(!a||i.isArray(n)?a=i._data(e,t,i.makeArray(n)):a.push(n)),a||[]},dequeue:function(e,t){t=t||"fx";var n=i.queue(e,t),a=n.length,o=n.shift(),u=i._queueHooks(e,t),c=function(){i.dequeue(e,t)};o==="inprogress"&&(o=n.shift(),a--),o&&(t==="fx"&&n.unshift("inprogress"),delete u.stop,o.call(e,c,u)),!a&&u&&u.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return i._data(e,n)||i._data(e,n,{empty:i.Callbacks("once memory").add(function(){i.removeData(e,t+"queue",!0),i.removeData(e,n,!0)})})}}),i.fn.extend({queue:function(e,t){var n=2;return typeof e!="string"&&(t=e,e="fx",n--),arguments.length<n?i.queue(this[0],e):t===y?this:this.each(function(){var a=i.queue(this,e,t);i._queueHooks(this,e),e==="fx"&&a[0]!=="inprogress"&&i.dequeue(this,e)})},dequeue:function(e){return this.each(function(){i.dequeue(this,e)})},delay:function(e,t){return e=i.fx&&i.fx.speeds[e]||e,t=t||"fx",this.queue(t,function(n,a){var o=setTimeout(n,e);a.stop=function(){clearTimeout(o)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,a=1,o=i.Deferred(),u=this,c=this.length,m=function(){--a||o.resolveWith(u,[u])};for(typeof e!="string"&&(t=e,e=y),e=e||"fx";c--;)n=i._data(u[c],e+"queueHooks"),n&&n.empty&&(a++,n.empty.add(m));return m(),o.promise(t)}});var Pe,Me,Ue=/[\t\r\n]/g,Ce=/\r/g,pt=/^(?:button|input)$/i,be=/^(?:button|input|object|select|textarea)$/i,gt=/^a(?:rea|)$/i,ft=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,Ke=i.support.getSetAttribute;i.fn.extend({attr:function(e,t){return i.access(this,i.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){i.removeAttr(this,e)})},prop:function(e,t){return i.access(this,i.prop,e,t,arguments.length>1)},removeProp:function(e){return e=i.propFix[e]||e,this.each(function(){try{this[e]=y,delete this[e]}catch{}})},addClass:function(e){var t,n,a,o,u,c,m;if(i.isFunction(e))return this.each(function(x){i(this).addClass(e.call(this,x,this.className))});if(e&&typeof e=="string"){for(t=e.split(se),n=0,a=this.length;n<a;n++)if(o=this[n],o.nodeType===1)if(!o.className&&t.length===1)o.className=e;else{for(u=" "+o.className+" ",c=0,m=t.length;c<m;c++)u.indexOf(" "+t[c]+" ")<0&&(u+=t[c]+" ");o.className=i.trim(u)}}return this},removeClass:function(e){var t,n,a,o,u,c,m;if(i.isFunction(e))return this.each(function(x){i(this).removeClass(e.call(this,x,this.className))});if(e&&typeof e=="string"||e===y){for(t=(e||"").split(se),c=0,m=this.length;c<m;
1c++)if(a=this[c],a.nodeType===1&&a.className){for(n=(" "+a.className+" ").replace(Ue," "),o=0,u=t.length;o<u;o++)for(;n.indexOf(" "+t[o]+" ")>=0;)n=n.replace(" "+t[o]+" "," ");a.className=e?i.trim(n):""}}return this},toggleClass:function(e,t){var n=typeof e,a=typeof t=="boolean";return i.isFunction(e)?this.each(function(o){i(this).toggleClass(e.call(this,o,this.className,t),t)}):this.each(function(){if(n==="string")for(var o,u=0,c=i(this),m=t,x=e.split(se);o=x[u++];)m=a?m:!c.hasClass(o),c[m?"addClass":"removeClass"](o);else(n==="undefined"||n==="boolean")&&(this.className&&i._data(this,"__className__",this.className),this.className=this.className||e===!1?"":i._data(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,a=this.length;n<a;n++)if(this[n].nodeType===1&&(" "+this[n].className+" ").replace(Ue," ").indexOf(t)>=0)return!0;return!1},val:function(e){var t,n,a,o=this[0];return arguments.length?(a=i.isFunction(e),this.each(function(u){var c,m=i(this);this.nodeType===1&&(a?c=e.call(this,u,m.val()):c=e,c==null?c="":typeof c=="number"?c+="":i.isArray(c)&&(c=i.map(c,function(x){return x==null?"":x+""})),t=i.valHooks[this.type]||i.valHooks[this.nodeName.toLowerCase()],(!t||!("set"in t)||t.set(this,c,"value")===y)&&(this.value=c))})):o?(t=i.valHooks[o.type]||i.valHooks[o.nodeName.toLowerCase()],t&&"get"in t&&(n=t.get(o,"value"))!==y?n:(n=o.value,typeof n=="string"?n.replace(Ce,""):n??"")):void 0}}),i.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){for(var t,n,a=e.options,o=e.selectedIndex,u=e.type==="select-one"||o<0,c=u?null:[],m=u?o+1:a.length,x=o<0?m:u?o:0;x<m;x++)if(n=a[x],(n.selected||x===o)&&(i.support.optDisabled?!n.disabled:n.getAttribute("disabled")===null)&&(!n.parentNode.disabled||!i.nodeName(n.parentNode,"optgroup"))){if(t=i(n).val(),u)return t;c.push(t)}return c},set:function(e,t){var n=i.makeArray(t);return i(e).find("option").each(function(){this.selected=i.inArray(i(this).val(),n)>=0}),n.length||(e.selectedIndex=-1),n}}},attrFn:{},attr:function(e,t,n,a){var o,u,c,m=e.nodeType;if(!(!e||m===3||m===8||m===2)){if(a&&i.isFunction(i.fn[t]))return i(e)[t](n);if(typeof e.getAttribute>"u")return i.prop(e,t,n);if(c=m!==1||!i.isXMLDoc(e),c&&(t=t.toLowerCase(),u=i.attrHooks[t]||(ft.test(t)?Me:Pe)),n!==y)if(n===null){i.removeAttr(e,t);return}else return u&&"set"in u&&c&&(o=u.set(e,n,t))!==y?o:(e.setAttribute(t,n+""),n);else return u&&"get"in u&&c&&(o=u.get(e,t))!==null?o:(o=e.getAttribute(t),o===null?y:o)}},removeAttr:function(e,t){var n,a,o,u,c=0;if(t&&e.nodeType===1)for(a=t.split(se);c<a.length;c++)o=a[c],o&&(n=i.propFix[o]||o,u=ft.test(o),u||i.attr(e,o,""),e.removeAttribute(Ke?o:n),u&&n in e&&(e[n]=!1))},attrHooks:{type:{set:function(e,t){if(pt.test(e.nodeName)&&e.parentNode)i.error("type property can't be changed");else if(!i.support.radioValue&&t==="radio"&&i.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}},value:{get:function(e,t){return t in e?e.value:null},set:function(e,t,n){e.value=t}}},propFix:{tabindex:"tabIndex",readonly:"readOnly",for:"htmlFor",class:"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(e,t,n){var a,o,u,c=e.nodeType;if(!(!e||c===3||c===8||c===2))return u=c!==1||!i.isXMLDoc(e),u&&(t=i.propFix[t]||t,o=i.propHooks[t]),n!==y?o&&"set"in o&&(a=o.set(e,n,t))!==y?a:e[t]=n:o&&"get"in o&&(a=o.get(e,t))!==null?a:e[t]},propHooks:{tabIndex:{get:function(e){var t=e.getAttributeNode("tabindex");return t&&t.specified?parseInt(t.value,10):be.test(e.nodeName)||gt.test(e.nodeName)&&e.href?0:y}}}}),Me={get:function(e,t){var n,a=i.prop(e,t);return a===!0||typeof a!="boolean"&&(n=e.getAttributeNode(t))&&n.nodeValue!==!1?t.toLowerCase():y},set:function(e,t,n){var a;return t===!1?i.removeAttr(e,n):(a=i.propFix[n]||n,a in e&&(e[a]=!0),e.setAttribute(n,n.toLowerCase())),n}},i.support.enctype||(i.propFix.enctype="encoding");var Ve=/^([^\.]*|)(?:\.(.+)|)$/,mt=/(?:^|\s)hover(\.\S+|)\b/,ct=/^key/,Ge=/^(?:mouse|contextmenu)|click/,qt=/^(?:focusinfocus|focusoutblur)$/,Ct=function(e){return i.event.special.hover?e:e.replace(mt,"mouseenter$1 mouseleave$1")};i.event={add:function(e,t,n,a,o){var u,c,m,x,S,C,E,_,V,P,U;if(!(e.nodeType===3||e.nodeType===8||!t||!n||!(u=i._data(e)))){for(n.handler&&(V=n,n=V.handler,o=V.selector),n.guid||(n.guid=i.guid++),m=u.events,m||(u.events=m={}),c=u.handle,c||(u.handle=c=function(ee){return typeof i<"u"&&(!ee||i.event.triggered!==ee.type)?i.event.dispatch.apply(c.elem,arguments):y},c.elem=e),t=i.trim(Ct(t)).split(" "),x=0;x<t.length;x++)S=Ve.exec(t[x])||[],C=S[1],E=(S[2]||"").split(".").sort(),U=i.event.special[C]||{},C=(o?U.delegateType:U.bindType)||C,U=i.event.special[C]||{},_=i.extend({type:C,origType:S[1],data:a,handler:n,guid:n.guid,selector:o,needsContext:o&&i.expr.match.needsContext.test(o),namespace:E.join(".")},V),P=m[C],P||(P=m[C]=[],P.delegateCount=0,(!U.setup||U.setup.call(e,a,E,c)===!1)&&(e.addEventListener?a&&a.passive!==y?e.addEventListener(C,c,a):e.addEventListener(C,c,!1):e.attachEvent&&e.attachEvent("on"+C,c))),U.add&&(U.add.call(e,_),_.handler.guid||(_.handler.guid=n.guid)),o?P.splice(P.delegateCount++,0,_):P.push(_),i.event.global[C]=!0;e=null}},global:{},remove:function(e,t,n,a,o){var u,c,m,x,S,C,E,_,V,P,U,ee=i.hasData(e)&&i._data(e);if(!(!ee||!(_=ee.events))){for(t=i.trim(Ct(t||"")).split(" "),u=0;u<t.length;u++){if(c=Ve.exec(t[u])||[],m=x=c[1],S=c[2],!m){for(m in _)i.event.remove(e,m+t[u],n,a,!0);continue}for(V=i.event.special[m]||{},m=(a?V.delegateType:V.bindType)||m,P=_[m]||[],C=P.length,S=S?new RegExp("(^|\\.)"+S.split(".").sort().join("\\.(?:.*\\.|)")+"(\\.|$)"):null,E=0;E<P.length;E++)U=P[E],(o||x===U.origType)&&(!n||n.guid===U.guid)&&(!S||S.test(U.namespace))&&(!a||a===U.selector||a==="**"&&U.selector)&&(P.splice(E--,1),U.selector&&P.delegateCount--,V.remove&&V.remove.call(e,U));P.length===0&&C!==P.length&&((!V.teardown||V.teardown.call(e,S,ee.handle)===!1)&&i.removeEvent(e,m,ee.handle),delete _[m])}i.isEmptyObject(_)&&(delete ee.handle,i.removeData(e,"events",!0))}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(e,t,n,a){if(!(n&&(n.nodeType===3||n.nodeType===8))){var o,u,c,m,x,S,C,E,_,V,P=e.type||e,U=[];if(!qt.test(P+i.event.triggered)&&(P.indexOf("!")>=0&&(P=P.slice(0,-1),u=!0),P.indexOf(".")>=0&&(U=P.split("."),P=U.shift(),U.sort()),!((!n||i.event.customEvent[P])&&!i.event.global[P]))){if(e=typeof e=="object"?e[i.expando]?e:new i.Event(P,e):new i.Event(P),e.type=P,e.isTrigger=!0,e.exclusive=u,e.namespace=U.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+U.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,S=P.indexOf(":")<0?"on"+P:"",!n){o=i.cache;for(c in o)o[c].events&&o[c].events[P]&&i.event.trigger(e,t,o[c].handle.elem,!0);return}if(e.result=y,e.target||(e.target=n),t=t!=null?i.makeArray(t):[],t.unshift(e),C=i.event.special[P]||{}
1,!(C.trigger&&C.trigger.apply(n,t)===!1)){if(_=[[n,C.bindType||P]],!a&&!C.noBubble&&!i.isWindow(n)){for(V=C.delegateType||P,m=qt.test(V+P)?n:n.parentNode,x=n;m;m=m.parentNode)_.push([m,V]),x=m;x===(n.ownerDocument||f)&&_.push([x.defaultView||x.parentWindow||s,V])}for(c=0;c<_.length&&!e.isPropagationStopped();c++)m=_[c][0],e.type=_[c][1],E=(i._data(m,"events")||{})[e.type]&&i._data(m,"handle"),E&&E.apply(m,t),E=S&&m[S],E&&i.acceptData(m)&&E.apply&&E.apply(m,t)===!1&&e.preventDefault();return e.type=P,!a&&!e.isDefaultPrevented()&&(!C._default||C._default.apply(n.ownerDocument,t)===!1)&&!(P==="click"&&i.nodeName(n,"a"))&&i.acceptData(n)&&S&&n[P]&&(P!=="focus"&&P!=="blur"||e.target.offsetWidth!==0)&&!i.isWindow(n)&&(x=n[S],x&&(n[S]=null),i.event.triggered=P,n[P](),i.event.triggered=y,x&&(n[S]=x)),e.result}}}},dispatch:function(e){e=i.event.fix(e||s.event);var t,n,a,o,u,c,m,x,S,C=(i._data(this,"events")||{})[e.type]||[],E=C.delegateCount,_=A.call(arguments),V=!e.exclusive&&!e.namespace,P=i.event.special[e.type]||{},U=[];if(_[0]=e,e.delegateTarget=this,!(P.preDispatch&&P.preDispatch.call(this,e)===!1)){if(E&&!(e.button&&e.type==="click")){for(a=e.target;a!=this;a=a.parentNode||this)if(a.disabled!==!0||e.type!=="click"){for(u={},m=[],t=0;t<E;t++)x=C[t],S=x.selector,u[S]===y&&(u[S]=x.needsContext?i(S,this).index(a)>=0:i.find(S,this,null,[a]).length),u[S]&&m.push(x);m.length&&U.push({elem:a,matches:m})}}for(C.length>E&&U.push({elem:this,matches:C.slice(E)}),t=0;t<U.length&&!e.isPropagationStopped();t++)for(c=U[t],e.currentTarget=c.elem,n=0;n<c.matches.length&&!e.isImmediatePropagationStopped();n++)x=c.matches[n],(V||!e.namespace&&!x.namespace||e.namespace_re&&e.namespace_re.test(x.namespace))&&(e.data=x.data,e.handleObj=x,o=((i.event.special[x.origType]||{}).handle||x.handler).apply(c.elem,_),o!==y&&(e.result=o,o===!1&&(e.preventDefault(),e.stopPropagation())));return P.postDispatch&&P.postDispatch.call(this,e),e.result}},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return e.which==null&&(e.which=t.charCode!=null?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,a,o,u=t.button,c=t.fromElement;return e.pageX==null&&t.clientX!=null&&(n=e.target.ownerDocument||f,a=n.documentElement,o=n.body,e.pageX=t.clientX+(a&&a.scrollLeft||o&&o.scrollLeft||0)-(a&&a.clientLeft||o&&o.clientLeft||0),e.pageY=t.clientY+(a&&a.scrollTop||o&&o.scrollTop||0)-(a&&a.clientTop||o&&o.clientTop||0)),!e.relatedTarget&&c&&(e.relatedTarget=c===e.target?t.toElement:c),!e.which&&u!==y&&(e.which=u&1?1:u&2?3:u&4?2:0),e}},fix:function(e){if(e[i.expando])return e;var t,n,a=e,o=i.event.fixHooks[e.type]||{},u=o.props?this.props.concat(o.props):this.props;for(e=i.Event(a),t=u.length;t;)n=u[--t],e[n]=a[n];return e.target||(e.target=a.srcElement||f),e.target.nodeType===3&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,o.filter?o.filter(e,a):e},special:{load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(e,t,n){i.isWindow(this)&&(this.onbeforeunload=n)},teardown:function(e,t){this.onbeforeunload===t&&(this.onbeforeunload=null)}}},simulate:function(e,t,n,a){var o=i.extend(new i.Event,n,{type:e,isSimulated:!0,originalEvent:{}});a?i.event.trigger(o,null,t):i.event.dispatch.call(t,o),o.isDefaultPrevented()&&n.preventDefault()}},i.event.handle=i.event.dispatch,i.removeEvent=f.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var a="on"+t;e.detachEvent&&(typeof e[a]>"u"&&(e[a]=null),e.detachEvent(a,n))},i.Event=function(e,t){if(!(this instanceof i.Event))return new i.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault()?Y:B):this.type=e,t&&i.extend(this,t),this.timeStamp=e&&e.timeStamp||i.now(),this[i.expando]=!0};function B(){return!1}function Y(){return!0}i.Event.prototype={preventDefault:function(){this.isDefaultPrevented=Y;var e=this.originalEvent;e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=Y;var e=this.originalEvent;e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=Y,this.stopPropagation()},isDefaultPrevented:B,isPropagationStopped:B,isImmediatePropagationStopped:B}
1,i.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){i.event.special[e]={delegateType:t,bindType:t,handle:function(n){var a,o=this,u=n.relatedTarget,c=n.handleObj;return c.selector,(!u||u!==o&&!i.contains(o,u))&&(n.type=c.origType,a=c.handler.apply(this,arguments),n.type=t),a}}}),i.fn.extend({on:function(e,t,n,a,o){var u,c;if(typeof e=="object"){typeof t!="string"&&(n=n||t,t=y);for(c in e)this.on(c,t,n,e[c],o);return this}if(n==null&&a==null?(a=t,n=t=y):a==null&&(typeof t=="string"?(a=n,n=y):(a=n,n=t,t=y)),a===!1)a=B;else if(!a)return this;return o===1&&(u=a,a=function(m){return i().off(m),u.apply(this,arguments)},a.guid=u.guid||(u.guid=i.guid++)),this.each(function(){i.event.add(this,e,a,n,t)})},off:function(e,t,n){var a,o;if(e&&e.preventDefault&&e.handleObj)return a=e.handleObj,i(e.delegateTarget).off(a.namespace?a.origType+"."+a.namespace:a.origType,a.selector,a.handler),this;if(typeof e=="object"){for(o in e)this.off(o,t,e[o]);return this}return(t===!1||typeof t=="function")&&(n=t,t=y),n===!1&&(n=B),this.each(function(){i.event.remove(this,e,n,t)})},delegate:function(e,t,n,a){return this.on(t,e,n,a)},undelegate:function(e,t,n){return arguments.length===1?this.off(e,"**"):this.off(t,e||"**",n)},trigger:function(e,t){return this.each(function(){i.event.trigger(e,t,this)})},triggerHandler:function(e,t){if(this[0])return i.event.trigger(e,t,this[0],!0)},toggle:function(e){var t=arguments,n=e.guid||i.guid++,a=0,o=function(u){var c=(i._data(this,"lastToggle"+e.guid)||0)%a;return i._data(this,"lastToggle"+e.guid,c+1),u.preventDefault(),t[c].apply(this,arguments)||!1};for(o.guid=n;a<t.length;)t[a++].guid=n;return this.click(o)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),i.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){i.fn[t]=function(n,a){return a==null&&(a=n,n=null),arguments.length>0?this.on(t,null,n,a):this.trigger(t)},ct.test(t)&&(i.event.fixHooks[t]=i.event.keyHooks),Ge.test(t)&&(i.event.fixHooks[t]=i.event.mouseHooks)});/*!
2         * Sizzle CSS Selector Engine
3         * Copyright 2012 JQXLite Foundation and other contributors
4         * Released under the MIT license
5         * http://sizzlejs.com/
6         */(function(e,t){var n,a,o,u,c,m,x,S,C,E,_=!0,V="undefined",P=("sizcache"+Math.random()).replace(".",""),U=String,ee=e.document,ue=ee.documentElement,ri=0,ir=0,nr=[].pop,Mt=[].push,Wt=[].slice,ji=[].indexOf||function(d){for(var v=0,j=this.length;v<j;v++)if(this[v]===d)return v;return-1},nt=function(d,v){return d[P]=v==null||v,d},qi=function(){var d={},v=[];return nt(function(j,k){return v.push(j)>o.cacheLength&&delete d[v.shift()],d[j+" "]=k},d)},sn=qi(),an=qi(),on=qi(),Ne="[\\x20\\t\\r\\n\\f]",kt="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",rr=kt.replace("w","w#"),sr="([*^$|!~]?=)",ln="\\["+Ne+"*("+kt+")"+Ne+"*(?:"+sr+Ne+`*(?:(['"])((?:\\\\.|[^\\\\])*?)\\3|(`+rr+")|)|)"+Ne+"*\\]",Ci=":("+kt+`)(?:\\((?:(['"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:`+ln+")|[^:]|\\\\.)*|.*))\\)|)",un=":(even|odd|eq|gt|lt|nth|first|last)(?:\\("+Ne+"*((?:-\\d)?\\d*)"+Ne+"*\\)|)(?=[^-]|$)",si=new RegExp("^"+Ne+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Ne+"+$","g"),ar=new RegExp("^"+Ne+"*,"+Ne+"*"),or=new RegExp("^"+Ne+"*([\\x20\\t\\r\\n\\f>+~])"+Ne+"*"),lr=new RegExp(Ci),ur=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,Ni=/[\x20\t\r\n\f]*[+~]/,fr=/h\d/i,cr=/input|select|textarea|button/i,Rt=/\\(?!\\)/g,ai={ID:new RegExp("^#("+kt+")"),CLASS:new RegExp("^\\.("+kt+")"),NAME:new RegExp(`^\\[name=['"]?(`+kt+`)['"]?\\]`),TAG:new RegExp("^("+kt.replace("w","w*")+")"),ATTR:new RegExp("^"+ln),PSEUDO:new RegExp("^"+Ci),POS:new RegExp(un,"i"),CHILD:new RegExp("^:(only|nth|first|last)-child(?:\\("+Ne+"*(even|odd|(([+-]|)(\\d*)n|)"+Ne+"*(?:([+-]|)"+Ne+"*(\\d+)|))"+Ne+"*\\)|)","i"),needsContext:new RegExp("^"+Ne+"*[>+~]|"+un,"i")},yt=function(d){var v=ee.createElement("div");try{return d(v)}catch{return!1}finally{v=null}},dr=yt(function(d){return d.appendChild(ee.createComment("")),!d.getElementsByTagName("*").length}),hr=yt(function(d){return d.innerHTML="<a href='#'></a>",d.firstChild&&typeof d.firstChild.getAttribute!==V&&d.firstChild.getAttribute("href")==="#"}),pr=yt(function(d){d.innerHTML="<select></select>";var v=typeof d.lastChild.getAttribute("multiple");return v!=="boolean"&&v!=="string"}),fn=yt(function(d){return d.innerHTML="<div class='hidden e'></div><div class='hidden'></div>",!d.getElementsByClassName||!d.getElementsByClassName("e").length?!1:(d.lastChild.className="e",d.getElementsByClassName("e").length===2)}),gr=yt(function(d){d.id=P+0,d.innerHTML="<a name='"+P+"'></a><div name='"+P+"'></div>",ue.insertBefore(d,ue.firstChild);var v=ee.getElementsByName&&ee.getElementsByName(P).length===2+ee.getElementsByName(P+0).length;return a=!ee.getElementById(P),ue.removeChild(d),v});try{Wt.call(ue.childNodes,0)[0].nodeType}catch{Wt=function(v){for(var j,k=[];j=this[v];v++)k.push(j);return k}}function fe(d,v,j,k){j=j||[],v=v||ee;var O,I,D,H,F=v.nodeType;if(!d||typeof d!="string")return j;if(F!==1&&F!==9)return[];if(D=c(v),!D&&!k&&(O=ur.exec(d)))if(H=O[1]){if(F===9)if(I=v.getElementById(H),I&&I.parentNode){if(I.id===H)return j.push(I),j}else return j;else if(v.ownerDocument&&(I=v.ownerDocument.getElementById(H))&&m(v,I)&&I.id===H)return j.push(I),j}else{if(O[2])return Mt.apply(j,Wt.call(v.getElementsByTagName(d),0)),j;if((H=O[3])&&fn&&v.getElementsByClassName)return Mt.apply(j,Wt.call(v.getElementsByClassName(H),0)),j}return Ai(d.replace(si,"$1"),v,j,k,D)}fe.matches=function(d,v){return fe(d,null,null,v)},fe.matchesSelector=function(d,v){return fe(v,null,null,[d]).length>0};function Ut(d){return function(v){var j=v.nodeName.toLowerCase();return j==="input"&&v.type===d}}function cn(d){return function(v){var j=v.nodeName.toLowerCase();return(j==="input"||j==="button")&&v.type===d}}function Et(d){return nt(function(v){return v=+v,nt(function(j,k){for(var O,I=d([],j.length,v),D=I.length;D--;)j[O=I[D]]&&(j[O]=!(k[O]=j[O]))})})}u=fe.getText=function(d){var v,j="",k=0,O=d.nodeType;if(O){if(O===1||O===9||O===11){if(typeof d.textContent=="string")return d.textContent;for(d=d.firstChild;d;d=d.nextSibling)j+=u(d)}
6else if(O===3||O===4)return d.nodeValue}else for(;v=d[k];k++)j+=u(v);return j},c=fe.isXML=function(d){var v=d&&(d.ownerDocument||d).documentElement;return v?v.nodeName!=="HTML":!1},m=fe.contains=ue.contains?function(d,v){var j=d.nodeType===9?d.documentElement:d,k=v&&v.parentNode;return d===k||!!(k&&k.nodeType===1&&j.contains&&j.contains(k))}:ue.compareDocumentPosition?function(d,v){return v&&!!(d.compareDocumentPosition(v)&16)}:function(d,v){for(;v=v.parentNode;)if(v===d)return!0;return!1},fe.attr=function(d,v){var j,k=c(d);return k||(v=v.toLowerCase()),(j=o.attrHandle[v])?j(d):k||pr?d.getAttribute(v):(j=d.getAttributeNode(v),j?typeof d[v]=="boolean"?d[v]?v:null:j.specified?j.value:null:null)},o=fe.selectors={cacheLength:50,createPseudo:nt,match:ai,attrHandle:hr?{}:{href:function(d){return d.getAttribute("href",2)},type:function(d){return d.getAttribute("type")}},find:{ID:a?function(d,v,j){if(typeof v.getElementById!==V&&!j){var k=v.getElementById(d);return k&&k.parentNode?[k]:[]}}:function(d,v,j){if(typeof v.getElementById!==V&&!j){var k=v.getElementById(d);return k?k.id===d||typeof k.getAttributeNode!==V&&k.getAttributeNode("id").value===d?[k]:t:[]}},TAG:dr?function(d,v){if(typeof v.getElementsByTagName!==V)return v.getElementsByTagName(d)}:function(d,v){var j=v.getElementsByTagName(d);if(d==="*"){for(var k,O=[],I=0;k=j[I];I++)k.nodeType===1&&O.push(k);return O}return j},NAME:gr&&function(d,v){if(typeof v.getElementsByName!==V)return v.getElementsByName(name)},CLASS:fn&&function(d,v,j){if(typeof v.getElementsByClassName!==V&&!j)return v.getElementsByClassName(d)}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(d){return d[1]=d[1].replace(Rt,""),d[3]=(d[4]||d[5]||"").replace(Rt,""),d[2]==="~="&&(d[3]=" "+d[3]+" "),d.slice(0,4)},CHILD:function(d){return d[1]=d[1].toLowerCase(),d[1]==="nth"?(d[2]||fe.error(d[0]),d[3]=+(d[3]?d[4]+(d[5]||1):2*(d[2]==="even"||d[2]==="odd")),d[4]=+(d[6]+d[7]||d[2]==="odd")):d[2]&&fe.error(d[0]),d},PSEUDO:function(d){var v,j;return ai.CHILD.test(d[0])?null:(d[3]?d[2]=d[3]:(v=d[4])&&(lr.test(v)&&(j=li(v,!0))&&(j=v.indexOf(")",v.length-j)-v.length)&&(v=v.slice(0,j),d[0]=d[0].slice(0,j)),d[2]=v),d.slice(0,3))}},filter:{ID:a?function(d){return d=d.replace(Rt,""),function(v){return v.getAttribute("id")===d}}:function(d){return d=d.replace(Rt,""),function(v){var j=typeof v.getAttributeNode!==V&&v.getAttributeNode("id");return j&&j.value===d}},TAG:function(d){return d==="*"?function(){return!0}:(d=d.replace(Rt,"").toLowerCase(),function(v){return v.nodeName&&v.nodeName.toLowerCase()===d})},CLASS:function(d){var v=sn[P][d+" "];return v||(v=new RegExp("(^|"+Ne+")"+d+"("+Ne+"|$)"))&&sn(d,function(j){return v.test(j.className||typeof j.getAttribute!==V&&j.getAttribute("class")||"")})},ATTR:function(d,v,j){return function(k,O){var I=fe.attr(k,d);return I==null?v==="!=":v?(I+="",v==="="?I===j:v==="!="?I!==j:v==="^="?j&&I.indexOf(j)===0:v==="*="?j&&I.indexOf(j)>-1:v==="$="?j&&I.substr(I.length-j.length)===j:v==="~="?(" "+I+" ").indexOf(j)>-1:v==="|="?I===j||I.substr(0,j.length+1)===j+"-":!1):!0}},CHILD:function(d,v,j,k){return d==="nth"?function(O){var I,D,H=O.parentNode;if(j===1&&k===0)return!0;if(H)for(D=0,I=H.firstChild;I&&!(I.nodeType===1&&(D++,O===I));I=I.nextSibling);return D-=k,D===j||D%j===0&&D/j>=0}:function(O){var I=O;switch(d){case"only":case"first":for(;I=I.previousSibling;)if(I.nodeType===1)return!1;if(d==="first")return!0;I=O;case"last":for(;I=I.nextSibling;)if(I.nodeType===1)return!1;return!0}}},PSEUDO:function(d,v){var j,k=o.pseudos[d]||o.setFilters[d.toLowerCase()]||fe.error("unsupported pseudo: "+d);return k[P]?k(v):k.length>1?(j=[d,d,"",v],o.setFilters.hasOwnProperty(d.toLowerCase())?nt(function(O,I){for(var D,H=k(O,v),F=H.length;F--;)D=ji.call(O,H[F]),O[D]=!(I[D]=H[F])}):function(O){return k(O,0,j)}):k}},pseudos:{not:nt(function(d){var v=[],j=[],k=x(d.replace(si,"$1"));return k[P]?nt(function(O,I,D,H){for(var F,K=k(O,null,H,[]),G=O.length;G--;)(F=K[G])&&(O[G]=!(I[G]=F))}):function(O,I,D){return v[0]=O,k(v,null,D,j),!j.pop()}}),has:nt(function(d){return function(v){return fe(d,v).length>0}}),contains:nt(function(d){return function(v){return(v.textContent||v.innerText||u(v)).indexOf(d)>-1}}),enabled:function(d){return d.disabled===!1},disabled:function(d){return d.disabled===!0},checked:function(d){var v=d.nodeName.toLowerCase();return v==="input"&&!!d.checked||v==="option"&&!!d.selected},selected:function(d){return d.parentNode&&d.parentNode.selectedIndex,d.selected===!0},parent:function(d){return!o.pseudos.empty(d)},empty:function(d){var v;
6for(d=d.firstChild;d;){if(d.nodeName>"@"||(v=d.nodeType)===3||v===4)return!1;d=d.nextSibling}return!0},header:function(d){return fr.test(d.nodeName)},text:function(d){var v,j;return d.nodeName.toLowerCase()==="input"&&(v=d.type)==="text"&&((j=d.getAttribute("type"))==null||j.toLowerCase()===v)},radio:Ut("radio"),checkbox:Ut("checkbox"),file:Ut("file"),password:Ut("password"),image:Ut("image"),submit:cn("submit"),reset:cn("reset"),button:function(d){var v=d.nodeName.toLowerCase();return v==="input"&&d.type==="button"||v==="button"},input:function(d){return cr.test(d.nodeName)},focus:function(d){var v=d.ownerDocument;return d===v.activeElement&&(!v.hasFocus||v.hasFocus())&&!!(d.type||d.href||~d.tabIndex)},active:function(d){return d===d.ownerDocument.activeElement},first:Et(function(){return[0]}),last:Et(function(d,v){return[v-1]}),eq:Et(function(d,v,j){return[j<0?j+v:j]}),even:Et(function(d,v){for(var j=0;j<v;j+=2)d.push(j);return d}),odd:Et(function(d,v){for(var j=1;j<v;j+=2)d.push(j);return d}),lt:Et(function(d,v,j){for(var k=j<0?j+v:j;--k>=0;)d.push(k);return d}),gt:Et(function(d,v,j){for(var k=j<0?j+v:j;++k<v;)d.push(k);return d})}};function oi(d,v,j){if(d===v)return j;for(var k=d.nextSibling;k;){if(k===v)return-1;k=k.nextSibling}return 1}S=ue.compareDocumentPosition?function(d,v){return d===v?(C=!0,0):(!d.compareDocumentPosition||!v.compareDocumentPosition?d.compareDocumentPosition:d.compareDocumentPosition(v)&4)?-1:1}:function(d,v){if(d===v)return C=!0,0;if(d.sourceIndex&&v.sourceIndex)return d.sourceIndex-v.sourceIndex;var j,k,O=[],I=[],D=d.parentNode,H=v.parentNode,F=D;if(D===H)return oi(d,v);if(D){if(!H)return 1}else return-1;for(;F;)O.unshift(F),F=F.parentNode;for(F=H;F;)I.unshift(F),F=F.parentNode;j=O.length,k=I.length;for(var K=0;K<j&&K<k;K++)if(O[K]!==I[K])return oi(O[K],I[K]);return K===j?oi(d,I[K],-1):oi(O[K],v,1)},[0,0].sort(S),_=!C,fe.uniqueSort=function(d){var v,j=[],k=1,O=0;if(C=_,d.sort(S),C){for(;v=d[k];k++)v===d[k-1]&&(O=j.push(k));for(;O--;)d.splice(j[O],1)}return d},fe.error=function(d){throw new Error("Syntax error, unrecognized expression: "+d)};function li(d,v){var j,k,O,I,D,H,F,K=an[P][d+" "];if(K)return v?0:K.slice(0);for(D=d,H=[],F=o.preFilter;D;){(!j||(k=ar.exec(D)))&&(k&&(D=D.slice(k[0].length)||D),H.push(O=[])),j=!1,(k=or.exec(D))&&(O.push(j=new U(k.shift())),D=D.slice(j.length),j.type=k[0].replace(si," "));for(I in o.filter)(k=ai[I].exec(D))&&(!F[I]||(k=F[I](k)))&&(O.push(j=new U(k.shift())),D=D.slice(j.length),j.type=I,j.matches=k);if(!j)break}return v?D.length:D?fe.error(d):an(d,H).slice(0)}function Si(d,v,j){var k=v.dir,O=j&&v.dir==="parentNode",I=ir++;return v.first?function(D,H,F){for(;D=D[k];)if(O||D.nodeType===1)return d(D,H,F)}:function(D,H,F){if(F){for(;D=D[k];)if((O||D.nodeType===1)&&d(D,H,F))return D}else for(var K,G=ri+" "+I+" ",re=G+n;D=D[k];)if(O||D.nodeType===1){if((K=D[P])===re)return D.sizset;if(typeof K=="string"&&K.indexOf(G)===0){if(D.sizset)return D}else{if(D[P]=re,d(D,H,F))return D.sizset=!0,D;D.sizset=!1}}}}function ki(d){return d.length>1?function(v,j,k){for(var O=d.length;O--;)if(!d[O](v,j,k))return!1;return!0}:d[0]}function ui(d,v,j,k,O){for(var I,D=[],H=0,F=d.length,K=v!=null;H<F;H++)(I=d[H])&&(!j||j(I,k,O))&&(D.push(I),K&&v.push(H));return D}function Ri(d,v,j,k,O,I){return k&&!k[P]&&(k=Ri(k)),O&&!O[P]&&(O=Ri(O,I)),nt(function(D,H,F,K){var G,re,ye,Re=[],Ye=[],_e=H.length,lt=D||vr(v||"*",F.nodeType?[F]:F,[]),Qe=d&&(D||!v)?ui(lt,Re,d,F,K):lt,Ee=j?O||(D?d:_e||k)?[]:H:Qe;if(j&&j(Qe,Ee,F,K),k)for(G=ui(Ee,Ye),k(G,[],F,K),re=G.length;re--;)(ye=G[re])&&(Ee[Ye[re]]=!(Qe[Ye[re]]=ye));if(D){if(O||d){if(O){for(G=[],re=Ee.length;re--;)(ye=Ee[re])&&G.push(Qe[re]=ye);O(null,Ee=[],G,K)}for(re=Ee.length;re--;)(ye=Ee[re])&&(G=O?ji.call(D,ye):Re[re])>-1&&(D[G]=!(H[G]=ye))}}else Ee=ui(Ee===H?Ee.splice(_e,Ee.length):Ee),O?O(null,H,Ee,K):Mt.apply(H,Ee)})}function Ei(d){for(var v,j,k,O=d.length,I=o.relative[d[0].type],D=I||o.relative[" "],H=I?1:0,F=Si(function(re){return re===v},D,!0),K=Si(function(re){return ji.call(v,re)>-1},D,!0),G=[function(re,ye,Re){return!I&&(Re||ye!==E)||((v=ye).nodeType?F(re,ye,Re):K(re,ye,Re))}];H<O;H++)if(j=o.relative[d[H].type])G=[Si(ki(G),j)];else{if(j=o.filter[d[H].type].apply(null,d[H].matches),j[P]){for(k=++H;k<O&&!o.relative[d[k].type];k++);return Ri(H>1&&ki(G),H>1&&d.slice(0,H-1).join("").replace(si,"$1"),j,H<k&&Ei(d.slice(H,k)),k<O&&Ei(d=d.slice(k)),k<O&&d.join(""))}G.push(j)}return ki(G)}function mr(d,v){var j=v.length>0,k=d.length>0,O=function(I,D,H,F,K){var G,re,ye,Re=[],Ye=0,_e="0",lt=I&&[],Qe=K!=null,Ee=E,yr=I||k&&o.find.TAG("*",K&&D.parentNode||D),hn=ri+=Ee==null?1:Math.E;for(Qe&&(E=D!==ee&&D,n=O.el);(G=yr[_e])!=null;_e++){if(k&&G){for(re=0;ye=d[re];re++)if(ye(G,D,H)){F.push(G);break}Qe&&(ri=hn,n=++O.el)}j&&((G=!ye&&G)&&Ye--,I&&lt.push(G))}if(Ye+=_e,j&&_e!==Ye){for(re=0;ye=v[re];re++)ye(lt,Re,D,H);if(I){if(Ye>0)for(;_e--;
6)lt[_e]||Re[_e]||(Re[_e]=nr.call(F));Re=ui(Re)}Mt.apply(F,Re),Qe&&!I&&Re.length>0&&Ye+v.length>1&&fe.uniqueSort(F)}return Qe&&(ri=hn,E=Ee),lt};return O.el=0,j?nt(O):O}x=fe.compile=function(d,v){var j,k=[],O=[],I=on[P][d+" "];if(!I){for(v||(v=li(d)),j=v.length;j--;)I=Ei(v[j]),I[P]?k.push(I):O.push(I);I=on(d,mr(O,k))}return I};function vr(d,v,j){for(var k=0,O=v.length;k<O;k++)fe(d,v[k],j);return j}function Ai(d,v,j,k,O){var I,D,H,F,K,G=li(d);if(G.length,!k&&G.length===1){if(D=G[0]=G[0].slice(0),D.length>2&&(H=D[0]).type==="ID"&&v.nodeType===9&&!O&&o.relative[D[1].type]){if(v=o.find.ID(H.matches[0].replace(Rt,""),v,O)[0],!v)return j;d=d.slice(D.shift().length)}for(I=ai.POS.test(d)?-1:D.length-1;I>=0&&(H=D[I],!o.relative[F=H.type]);I--)if((K=o.find[F])&&(k=K(H.matches[0].replace(Rt,""),Ni.test(D[0].type)&&v.parentNode||v,O))){if(D.splice(I,1),d=k.length&&D.join(""),!d)return Mt.apply(j,Wt.call(k,0)),j;break}}return x(d,G)(k,v,O,j,Ni.test(d)),j}ee.querySelectorAll&&function(){var d,v=Ai,j=/'|\\/g,k=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,O=[":focus"],I=[":active"],D=ue.matchesSelector||ue.mozMatchesSelector||ue.webkitMatchesSelector||ue.oMatchesSelector||ue.msMatchesSelector;yt(function(H){H.innerHTML="<select><option selected=''></option></select>",H.querySelectorAll("[selected]").length||O.push("\\["+Ne+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),H.querySelectorAll(":checked").length||O.push(":checked")}),yt(function(H){H.innerHTML="<p test=''></p>",H.querySelectorAll("[test^='']").length&&O.push("[*^$]="+Ne+`*(?:""|'')`),H.innerHTML="<input type='hidden'/>",H.querySelectorAll(":enabled").length||O.push(":enabled",":disabled")}),O=new RegExp(O.join("|")),Ai=function(H,F,K,G,re){if(!G&&!re&&!O.test(H)){var ye,Re,Ye=!0,_e=P,lt=F,Qe=F.nodeType===9&&H;if(F.nodeType===1&&F.nodeName.toLowerCase()!=="object"){for(ye=li(H),(Ye=F.getAttribute("id"))?_e=Ye.replace(j,"\\$&"):F.setAttribute("id",_e),_e="[id='"+_e+"'] ",Re=ye.length;Re--;)ye[Re]=_e+ye[Re].join("");lt=Ni.test(H)&&F.parentNode||F,Qe=ye.join(",")}if(Qe)try{return Mt.apply(K,Wt.call(lt.querySelectorAll(Qe),0)),K}catch{}finally{Ye||F.removeAttribute("id")}}return v(H,F,K,G,re)},D&&(yt(function(H){d=D.call(H,"div");try{D.call(H,"[test!='']:sizzle"),I.push("!=",Ci)}catch{}}),I=new RegExp(I.join("|")),fe.matchesSelector=function(H,F){if(F=F.replace(k,"='$1']"),!c(H)&&!I.test(F)&&!O.test(F))try{var K=D.call(H,F);if(K||d||H.document&&H.document.nodeType!==11)return K}catch{}return fe(F,null,null,[H]).length>0})}(),o.pseudos.nth=o.pseudos.eq;function dn(){}o.filters=dn.prototype=o.pseudos,o.setFilters=new dn,fe.attr=i.attr,i.find=fe,i.expr=fe.selectors,i.expr[":"]=i.expr.pseudos,i.unique=fe.uniqueSort,i.text=fe.getText,i.isXMLDoc=fe.isXML,i.contains=fe.contains})(s);var ve=/Until$/,et=/^(?:parents|prev(?:Until|All))/,at=/^.[^:#\[\.,]*$/,Ie=i.expr.match.needsContext,ot={children:!0,contents:!0,next:!0,prev:!0};i.fn.extend({find:function(e){var t,n,a,o,u,c,m=this;if(typeof e!="string")return i(e).filter(function(){for(t=0,n=m.length;t<n;t++)if(i.contains(m[t],this))return!0});for(c=this.pushStack("","find",e),t=0,n=this.length;t<n;t++)if(a=c.length,i.find(e,this[t],c),t>0){for(o=a;o<c.length;o++)for(u=0;u<a;u++)if(c[u]===c[o]){c.splice(o--,1);break}}return c},has:function(e){var t,n=i(e,this),a=n.length;return this.filter(function(){for(t=0;t<a;t++)if(i.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(it(this,e,!1),"not",e)},filter:function(e){return this.pushStack(it(this,e,!0),"filter",e)},is:function(e){return!!e&&(typeof e=="string"?Ie.test(e)?i(e,this.context).index(this[0])>=0:i.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){for(var n,a=0,o=this.length,u=[],c=Ie.test(e)||typeof e!="string"?i(e,t||this.context):0;a<o;a++)for(n=this[a];n&&n.ownerDocument&&n!==t&&n.nodeType!==11;){if(c?c.index(n)>-1:i.find.matchesSelector(n,e)){u.push(n);break}n=n.parentNode}return u=u.length>1?i.unique(u):u,this.pushStack(u,"closest",e)}
6,index:function(e){return e?typeof e=="string"?i.inArray(this[0],i(e)):i.inArray(e.jqx?e[0]:e,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(e,t){var n=typeof e=="string"?i(e,t):i.makeArray(e&&e.nodeType?[e]:e),a=i.merge(this.get(),n);return this.pushStack(Xe(n[0])||Xe(a[0])?a:i.unique(a))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}}),i.fn.andSelf=i.fn.addBack;function Xe(e){return!e||!e.parentNode||e.parentNode.nodeType===11}function vt(e,t){do e=e[t];while(e&&e.nodeType!==1);return e}i.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return i.dir(e,"parentNode")},parentsUntil:function(e,t,n){return i.dir(e,"parentNode",n)},next:function(e){return vt(e,"nextSibling")},prev:function(e){return vt(e,"previousSibling")},nextAll:function(e){return i.dir(e,"nextSibling")},prevAll:function(e){return i.dir(e,"previousSibling")},nextUntil:function(e,t,n){return i.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return i.dir(e,"previousSibling",n)},siblings:function(e){return i.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return i.sibling(e.firstChild)},contents:function(e){return i.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:i.merge([],e.childNodes)}},function(e,t){i.fn[e]=function(n,a){var o=i.map(this,t,n);return ve.test(e)||(a=n),a&&typeof a=="string"&&(o=i.filter(a,o)),o=this.length>1&&!ot[e]?i.unique(o):o,this.length>1&&et.test(e)&&(o=o.reverse()),this.pushStack(o,e,A.call(arguments).join(","))}}),i.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),t.length===1?i.find.matchesSelector(t[0],e)?[t[0]]:[]:i.find.matches(e,t)},dir:function(e,t,n){for(var a=[],o=e[t];o&&o.nodeType!==9&&(n===y||o.nodeType!==1||!i(o).is(n));)o.nodeType===1&&a.push(o),o=o[t];return a},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)e.nodeType===1&&e!==t&&n.push(e);return n}});function it(e,t,n){if(t=t||0,i.isFunction(t))return i.grep(e,function(o,u){var c=!!t.call(o,u,o);return c===n});if(t.nodeType)return i.grep(e,function(o,u){return o===t===n});if(typeof t=="string"){var a=i.grep(e,function(o){return o.nodeType===1});if(at.test(t))return i.filter(t,a,!n);t=i.filter(t,a)}return i.grep(e,function(o,u){return i.inArray(o,t)>=0===n})}function Zt(e){var t=Ft.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}var Ft="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",zt=/ JQXLite\d+="(?:null|\d+)"/g,Lt=/^\s+/,Z=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,pe=/<([\w:]+)/,dt=/<tbody/i,Nt=/<|&#?\w+;/,mi=/<(?:script|style|link)/i,_n=/<(?:script|object|embed|option|style)/i,vi=new RegExp("<(?:"+Ft+")[\\s/>]","i"),Wi=/^(?:checkbox|radio)$/,Vi=/checked\s*(?:[^=]|=\s*.checked.)/i,Pn=/\/(java|ecma)script/i,Mn=/^\s*<!(?:\[CDATA\[|\-\-)|[\]\-]{2}>\s*$/g,Je={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},Hi=Zt(f),yi=Hi.appendChild(f.createElement("div"));Je.optgroup=Je.option,Je.tbody=Je.tfoot=Je.colgroup=Je.caption=Je.thead,Je.th=Je.td,i.support.htmlSerialize||(Je._default=[1,"X<div>","</div>"]),i.fn.extend({text:function(e){return i.access(this,function(t){return t===y?i.text(this):this.empty().append((this[0]&&this[0].ownerDocument||f).createTextNode(t))},null,e,arguments.length)},wrapAll:function(e){if(i.isFunction(e))return this.each(function(n){i(this).wrapAll(e.call(this,n))});if(this[0]){var t=i(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var n=this;n.firstChild&&n.firstChild.nodeType===1;)n=n.firstChild;return n}).append(this)}return this},wrapInner:function(e){return i.isFunction(e)?this.each(function(t){i(this).wrapInner(e.call(this,t))}):this.each(function(){var t=i(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=i.isFunction(e);return this.each(function(n){i(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){i.nodeName(this,"body")||i(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){(this.nodeType===1||this.nodeType===11)&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){(this.nodeType===1||this.nodeType===11)&&this.insertBefore(e,this.firstChild)})},before:function(){if(!Xe(this[0]))return this.domManip(arguments,!1,function(t){this.parentNode.insertBefore(t,this)});if(arguments.length){var e=i.clean(arguments);
6return this.pushStack(i.merge(e,this),"before",this.selector)}},after:function(){if(!Xe(this[0]))return this.domManip(arguments,!1,function(t){this.parentNode.insertBefore(t,this.nextSibling)});if(arguments.length){var e=i.clean(arguments);return this.pushStack(i.merge(this,e),"after",this.selector)}},remove:function(e,t){for(var n,a=0;(n=this[a])!=null;a++)(!e||i.filter(e,[n]).length)&&(!t&&n.nodeType===1&&(i.cleanData(n.getElementsByTagName("*")),i.cleanData([n])),n.parentNode&&n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;(e=this[t])!=null;t++)for(e.nodeType===1&&i.cleanData(e.getElementsByTagName("*"));e.firstChild;)e.removeChild(e.firstChild);return this},clone:function(e,t){return e=e??!1,t=t??e,this.map(function(){return i.clone(this,e,t)})},html:function(e){return i.access(this,function(t){var n=this[0]||{},a=0,o=this.length;if(t===y)return n.nodeType===1?n.innerHTML.replace(zt,""):y;if(typeof t=="string"&&!mi.test(t)&&(i.support.htmlSerialize||!vi.test(t))&&(i.support.leadingWhitespace||!Lt.test(t))&&!Je[(pe.exec(t)||["",""])[1].toLowerCase()]){t=t.replace(Z,"<$1></$2>");try{for(;a<o;a++)n=this[a]||{},n.nodeType===1&&(i.cleanData(n.getElementsByTagName("*")),n.innerHTML=t);n=0}catch{}}n&&this.empty().append(t)},null,e,arguments.length)},replaceWith:function(e){return Xe(this[0])?this.length?this.pushStack(i(i.isFunction(e)?e():e),"replaceWith",e):this:i.isFunction(e)?this.each(function(t){var n=i(this),a=n.html();n.replaceWith(e.call(this,t,a))}):(typeof e!="string"&&(e=i(e).detach()),this.each(function(){var t=this.nextSibling,n=this.parentNode;i(this).remove(),t?i(t).before(e):i(n).append(e)}))},detach:function(e){return this.remove(e,!0)},domManip:function(e,t,n){e=[].concat.apply([],e);var a,o,u,c,m=0,x=e[0],S=[],C=this.length;if(!i.support.checkClone&&C>1&&typeof x=="string"&&Vi.test(x))return this.each(function(){i(this).domManip(e,t,n)});if(i.isFunction(x))return this.each(function(E){var _=i(this);e[0]=x.call(this,E,t?_.html():y),_.domManip(e,t,n)});if(this[0]){if(a=i.buildFragment(e,this,S),u=a.fragment,o=u.firstChild,u.childNodes.length===1&&(u=o),o)for(t=t&&i.nodeName(o,"tr"),c=a.cacheable||C-1;m<C;m++)n.call(t&&i.nodeName(this[m],"table")?Wn(this[m],"tbody"):this[m],m===c?u:i.clone(u,!0,!0));u=o=null,S.length&&i.each(S,function(E,_){_.src?i.ajax?i.ajax({url:_.src,type:"GET",dataType:"script",async:!1,global:!1,throws:!0}):i.error("no ajax"):i.globalEval((_.text||_.textContent||_.innerHTML||"").replace(Mn,"")),_.parentNode&&_.parentNode.removeChild(_)})}return this}});function Wn(e,t){return e.getElementsByTagName(t)[0]||e.appendChild(e.ownerDocument.createElement(t))}function Bi(e,t){if(!(t.nodeType!==1||!i.hasData(e))){var n,a,o,u=i._data(e),c=i._data(t,u),m=u.events;if(m){delete c.handle,c.events={};for(n in m)for(a=0,o=m[n].length;a<o;a++)i.event.add(t,n,m[n][a])}c.data&&(c.data=i.extend({},c.data))}}function Fi(e,t){var n;t.nodeType===1&&(t.clearAttributes&&t.clearAttributes(),t.mergeAttributes&&t.mergeAttributes(e),n=t.nodeName.toLowerCase(),n==="object"?(t.parentNode&&(t.outerHTML=e.outerHTML),i.support.html5Clone&&e.innerHTML&&!i.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):n==="input"&&Wi.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):n==="option"?t.selected=e.defaultSelected:n==="input"||n==="textarea"?t.defaultValue=e.defaultValue:n==="script"&&t.text!==e.text&&(t.text=e.text),t.removeAttribute(i.expando))}i.buildFragment=function(e,t,n){var a,o,u,c=e[0];return t=t||f,t=!t.nodeType&&t[0]||t,t=t.ownerDocument||t,e.length===1&&typeof c=="string"&&c.length<512&&t===f&&c.charAt(0)==="<"&&!_n.test(c)&&(i.support.checkClone||!Vi.test(c))&&(i.support.html5Clone||!vi.test(c))&&(o=!0,a=i.fragments[c],u=a!==y),a||(a=t.createDocumentFragment(),i.clean(e,t,a,n),o&&(i.fragments[c]=u&&a)),{fragment:a,cacheable:o}},i.fragments={},i.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){i.fn[e]=function(n){var a,o=0,u=[],c=i(n),m=c.length,x=this.length===1&&this[0].parentNode;if((x==null||x&&x.nodeType===11&&x.childNodes.length===1)&&m===1)return c[t](this[0]),this;for(;o<m;o++)a=(o>0?this.clone(!0):this).get(),i(c[o])[t](a),u=u.concat(a);return this.pushStack(u,e,c.selector)}});function Kt(e){return typeof e.getElementsByTagName<"u"?e.getElementsByTagName("*"):typeof e.querySelectorAll<"u"?e.querySelectorAll("*"):[]}function zi(e){Wi.test(e.type)&&(e.defaultChecked=e.checked)}i.extend({clone:function(e,t,n){var a,o,u,c;if(i.support.html5Clone||i.isXMLDoc(e)||!vi.test("<"+e.nodeName+">")?c=e.cloneNode(!0):(yi.innerHTML=e.outerHTML,yi.removeChild(c=yi.firstChild)),(!i.support.noCloneEvent||!i.support.noCloneChecked)&&(e.nodeType===1||e.nodeType===11)&&
6!i.isXMLDoc(e))for(Fi(e,c),a=Kt(e),o=Kt(c),u=0;a[u];++u)o[u]&&Fi(a[u],o[u]);if(t&&(Bi(e,c),n))for(a=Kt(e),o=Kt(c),u=0;a[u];++u)Bi(a[u],o[u]);return a=o=null,c},clean:function(e,t,n,a){var o,u,c,m,x,S,C,E,_,V,P,U=t===f&&Hi,ee=[];for((!t||typeof t.createDocumentFragment>"u")&&(t=f),o=0;(c=e[o])!=null;o++)if(typeof c=="number"&&(c+=""),!!c){if(typeof c=="string")if(!Nt.test(c))c=t.createTextNode(c);else{for(U=U||Zt(t),C=t.createElement("div"),U.appendChild(C),c=c.replace(Z,"<$1></$2>"),m=(pe.exec(c)||["",""])[1].toLowerCase(),x=Je[m]||Je._default,S=x[0],C.innerHTML=x[1]+c+x[2];S--;)C=C.lastChild;if(!i.support.tbody)for(E=dt.test(c),_=m==="table"&&!E?C.firstChild&&C.firstChild.childNodes:x[1]==="<table>"&&!E?C.childNodes:[],u=_.length-1;u>=0;--u)i.nodeName(_[u],"tbody")&&!_[u].childNodes.length&&_[u].parentNode.removeChild(_[u]);!i.support.leadingWhitespace&&Lt.test(c)&&C.insertBefore(t.createTextNode(Lt.exec(c)[0]),C.firstChild),c=C.childNodes,C.parentNode.removeChild(C)}c.nodeType?ee.push(c):i.merge(ee,c)}if(C&&(c=C=U=null),!i.support.appendChecked)for(o=0;(c=ee[o])!=null;o++)i.nodeName(c,"input")?zi(c):typeof c.getElementsByTagName<"u"&&i.grep(c.getElementsByTagName("input"),zi);if(n)for(V=function(ue){if(!ue.type||Pn.test(ue.type))return a?a.push(ue.parentNode?ue.parentNode.removeChild(ue):ue):n.appendChild(ue)},o=0;(c=ee[o])!=null;o++)i.nodeName(c,"script")&&V(c)||(n.appendChild(c),typeof c.getElementsByTagName<"u"&&(P=i.grep(i.merge([],c.getElementsByTagName("script")),V),ee.splice.apply(ee,[o+1,0].concat(P)),o+=P.length));return ee},cleanData:function(e,t){for(var n,a,o,u,c=0,m=i.expando,x=i.cache,S=i.support.deleteExpando,C=i.event.special;(o=e[c])!=null;c++)if((t||i.acceptData(o))&&(a=o[m],n=a&&x[a],n)){if(n.events)for(u in n.events)C[u]?i.event.remove(o,u):i.removeEvent(o,u,n.handle);x[a]&&(delete x[a],S?delete o[m]:o.removeAttribute?o.removeAttribute(m):o[m]=null,i.deletedIds.push(a))}}}),function(){var e,t;i.uaMatch=function(n){n=n.toLowerCase();var a=/(chrome)[ \/]([\w.]+)/.exec(n)||/(webkit)[ \/]([\w.]+)/.exec(n)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(n)||/(msie) ([\w.]+)/.exec(n)||n.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(n)||[];return{browser:a[1]||"",version:a[2]||"0"}},e=i.uaMatch(w.userAgent),t={},e.browser&&(t[e.browser]=!0,t.version=e.version),t.chrome?t.webkit=!0:t.webkit&&(t.safari=!0),i.browser=t,i.sub=function(){function n(o,u){return new n.fn.init(o,u)}i.extend(!0,n,this),n.superclass=this,n.fn=n.prototype=this(),n.fn.constructor=n,n.sub=this.sub,n.fn.init=function(u,c){return c&&c instanceof i&&!(c instanceof n)&&(c=n(c)),i.fn.init.call(this,u,c,a)},n.fn.init.prototype=n.fn;var a=n(f);return n}}();var He,It,_t,wi=/alpha\([^)]*\)/i,Vn=/opacity=([^)]*)/,Hn=/^(top|right|bottom|left)$/,Bn=/^(none|table(?!-c[ea]).+)/,$i=/^margin/,Fn=new RegExp("^("+b+")(.*)$","i"),Gt=new RegExp("^("+b+")(?!px)[a-z%]+$","i"),zn=new RegExp("^([-+])=("+b+")","i"),xi={BODY:"block"},$n={position:"absolute",visibility:"hidden",display:"block"},Ui={letterSpacing:0,fontWeight:400},St=["Top","Right","Bottom","Left"],bi=["Webkit","O","Moz","ms"],Un=i.fn.toggle;function Xi(e,t){if(t in e)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),a=t,o=bi.length;o--;)if(t=bi[o]+n,t in e)return t;return a}function ei(e,t){return e=t||e,i.css(e,"display")==="none"||!i.contains(e.ownerDocument,e)}function Ji(e,t){for(var n,a,o=[],u=0,c=e.length;u<c;u++)n=e[u],n.style&&(o[u]=i._data(n,"olddisplay"),t?(!o[u]&&n.style.display==="none"&&(n.style.display=""),n.style.display===""&&ei(n)&&(o[u]=i._data(n,"olddisplay",Ki(n.nodeName)))):(a=He(n,"display"),!o[u]&&a!=="none"&&i._data(n,"olddisplay",a)));for(u=0;u<c;u++)n=e[u],n.style&&(!t||n.style.display==="none"||n.style.display==="")&&(n.style.display=t?o[u]||"":"none");return e}i.fn.extend({css:function(e,t){return i.access(this,function(n,a,o){return o!==y?i.style(n,a,o):i.css(n,a)},e,t,arguments.length>1)},show:function(){return Ji(this,!0)},hide:function(){return Ji(this)},toggle:function(e,t){var n=typeof e=="boolean";return i.isFunction(e)&&i.isFunction(t)?Un.apply(this,arguments):this.each(function(){(n?e:ei(this))?i(this).show():i(this).hide()})}}),i.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=He(e,"opacity");return n===""?"1":n}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:i.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,a){if(!(!e||e.nodeType===3||e.nodeType===8||!e.style)){var o,u,c,m=i.camelCase(t),x=e.style;if(t=i.cssProps[m]||(i.cssProps[m]=Xi(x,m)),c=i.cssHooks[t]||i.cssHooks[m],n!==y){if(u=typeof n,u==="string"&&(o=zn.exec(n))&&(n=(o[1]+1)*o[2]+parseFloat(i.css(e,t)),u="number"),n==null||u==="number"&&isNaN(n))return;if(u==="number"&&!i.cssNumber[m]&&(n+="px"),!c||!("set"in c)||(n=c.set(e,n,a))!==y)try{x[t]=n}catch{}}else return c&&"get"in c&&(o=c.get(e,!1,a))!==y?o:x[t]}},css:function(e,t,n,a){var o,u,c,m=i.camelCase(t);return t=i.cssProps[m]||(i.cssProps[m]=Xi(e.style,m)),c=i.cssHooks[t]||i.cssHooks[m],c&&"get"in c&&(o=c.get(e,!0,a)),o===y&&(o=He(e,t)),o==="normal"&&t in Ui&&(o=Ui[t]),n||a!==y?(u=parseFloat(o),n||i.isNumeric(u)?u||0:o):o},swap:function(e,t,n){var a,o,u={};for(o in t)u[o]=e.style[o],e.style[o]=t[o];a=n.call(e);for(o in t)e.style[o]=u[o];return a}}),s.getComputedStyle?He=function(e,t){var n,a,o,u,c=s.getComputedStyle(e,null),m=e.style;return c&&(n=c.getPropertyValue(t)||c[t],n===""&&!i.contains(e.ownerDocument,e)&&(n=i.style(e,t)),Gt.test(n)&&$i.test(t)&&(a=m.width,o=m.minWidth,u=m.maxWidth,m.minWidth=m.maxWidth=m.width=n,n=c.width,m.width=a,m.minWidth=o,m.maxWidth=u)),n}:f.documentElement.currentStyle&&(He=function(e,t){var n,a,o=e.currentStyle&&e.currentStyle[t],u=e.style;return o==null&&u&&u[t]&&(o=u[t]),Gt.test(o)&&!Hn.test(t)&&(n=u.left,a=e.runtimeStyle&&e.runtimeStyle.left,a&&(e.runtimeStyle.left=e.currentStyle.left),u.left=t==="fontSize"?"1em":o,o=u.pixelLeft+"px",u.left=n,a&&(e.runtimeStyle.left=a)),o===""?"auto":o});
6function Yi(e,t,n){var a=Fn.exec(t);return a?Math.max(0,a[1]-(n||0))+(a[2]||"px"):t}function Qi(e,t,n,a){for(var o=n===(a?"border":"content")?4:t==="width"?1:0,u=0;o<4;o+=2)n==="margin"&&(u+=i.css(e,n+St[o],!0)),a?(n==="content"&&(u-=parseFloat(He(e,"padding"+St[o]))||0),n!=="margin"&&(u-=parseFloat(He(e,"border"+St[o]+"Width"))||0)):(u+=parseFloat(He(e,"padding"+St[o]))||0,n!=="padding"&&(u+=parseFloat(He(e,"border"+St[o]+"Width"))||0));return u}function Zi(e,t,n){var a=t==="width"?e.offsetWidth:e.offsetHeight,o=!0,u=i.support.boxSizing&&i.css(e,"boxSizing")==="border-box";if(a<=0||a==null){if(a=He(e,t),(a<0||a==null)&&(a=e.style[t]),Gt.test(a))return a;o=u&&(i.support.boxSizingReliable||a===e.style[t]),a=parseFloat(a)||0}return a+Qi(e,t,n||(u?"border":"content"),o)+"px"}function Ki(e){if(xi[e])return xi[e];var t=i("<"+e+">").appendTo(f.body),n=t.css("display");return t.remove(),(n==="none"||n==="")&&(It=f.body.appendChild(It||i.extend(f.createElement("iframe"),{frameBorder:0,width:0,height:0})),(!_t||!It.createElement)&&(_t=(It.contentWindow||It.contentDocument).document,_t.write("<!doctype html><html><body>"),_t.close()),t=_t.body.appendChild(_t.createElement(e)),n=He(t,"display"),f.body.removeChild(It)),xi[e]=n,n}i.each(["height","width"],function(e,t){i.cssHooks[t]={get:function(n,a,o){if(a)return n.offsetWidth===0&&Bn.test(He(n,"display"))?i.swap(n,$n,function(){return Zi(n,t,o)}):Zi(n,t,o)},set:function(n,a,o){return Yi(n,a,o?Qi(n,t,o,i.support.boxSizing&&i.css(n,"boxSizing")==="border-box"):0)}}}),i.support.opacity||(i.cssHooks.opacity={get:function(e,t){return Vn.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,a=e.currentStyle,o=i.isNumeric(t)?"alpha(opacity="+t*100+")":"",u=a&&a.filter||n.filter||"";n.zoom=1,!(t>=1&&i.trim(u.replace(wi,""))===""&&n.removeAttribute&&(n.removeAttribute("filter"),a&&!a.filter))&&(n.filter=wi.test(u)?u.replace(wi,o):u+" "+o)}}),i(function(){i.support.reliableMarginRight||(i.cssHooks.marginRight={get:function(e,t){return i.swap(e,{display:"inline-block"},function(){if(t)return He(e,"marginRight")})}}),!i.support.pixelPosition&&i.fn.position&&i.each(["top","left"],function(e,t){i.cssHooks[t]={get:function(n,a){if(a){var o=He(n,t);return Gt.test(o)?i(n).position()[t]+"px":o}}}})}),i.expr&&i.expr.filters&&(i.expr.filters.hidden=function(e){return e.offsetWidth===0&&e.offsetHeight===0||!i.support.reliableHiddenOffsets&&(e.style&&e.style.display||He(e,"display"))==="none"},i.expr.filters.visible=function(e){return!i.expr.filters.hidden(e)}),i.each({margin:"",padding:"",border:"Width"},function(e,t){i.cssHooks[e+t]={expand:function(n){var a,o=typeof n=="string"?n.split(" "):[n],u={};for(a=0;a<4;a++)u[e+St[a]+t]=o[a]||o[a-2]||o[0];return u}},$i.test(e)||(i.cssHooks[e+t].set=Yi)});var bn=/%20/g,Xn=/\[\]$/,Gi=/\r?\n/g,Jn=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,Yn=/^(?:select|textarea)/i;i.fn.extend({serialize:function(){return i.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?i.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||Yn.test(this.nodeName)||Jn.test(this.type))}).map(function(e,t){var n=i(this).val();return n==null?null:i.isArray(n)?i.map(n,function(a,o){return{name:t.name,value:a.replace(Gi,`\r
7`)}}):{name:t.name,value:n.replace(Gi,`\r
8`)}}).get()}}),i.param=function(e,t){var n,a=[],o=function(u,c){c=i.isFunction(c)?c():c??"",a[a.length]=encodeURIComponent(u)+"="+encodeURIComponent(c)};if(t===y&&(t=i.ajaxSettings&&i.ajaxSettings.traditional),i.isArray(e)||e.jqx&&!i.isPlainObject(e))i.each(e,function(){o(this.name,this.value)});else for(n in e)Ti(n,e[n],t,o);return a.join("&").replace(bn,"+")};function Ti(e,t,n,a){var o;if(i.isArray(t))i.each(t,function(u,c){n||Xn.test(e)?a(e,c):Ti(e+"["+(typeof c=="object"?u:"")+"]",c,n,a)});else if(!n&&i.type(t)==="object")for(o in t)Ti(e+"["+o+"]",t[o],n,a);else a(e,t)}i.support.ajax&&i.ajaxTransport(function(e){if(!e.crossDomain||i.support.cors){var t;return{send:function(n,a){var o,u,c=e.xhr();if(e.username?c.open(e.type,e.url,e.async,e.username,e.password):c.open(e.type,e.url,e.async),e.xhrFields)for(u in e.xhrFields)c[u]=e.xhrFields[u];e.mimeType&&c.overrideMimeType&&c.overrideMimeType(e.mimeType),!e.crossDomain&&!n["X-Requested-With"]&&(n["X-Requested-With"]="XMLHttpRequest");try{for(u in n)c.setRequestHeader(u,n[u])}catch{}c.send(e.hasContent&&e.data||null),t=function(m,x){var S,C,E,_,V;try{if(t&&(x||c.readyState===4))if(t=y,o&&(c.onreadystatechange=i.noop,xhrOnUnloadAbort&&delete xhrCallbacks[o]),x)c.readyState!==4&&c.abort();else{S=c.status,E=c.getAllResponseHeaders(),_={},V=c.responseXML,V&&V.documentElement&&(_.xml=V);try{_.text=c.responseText}catch{}try{C=c.statusText}catch{C=""}!S&&e.isLocal&&!e.crossDomain?S=_.text?200:404:S===1223&&(S=204)}}catch(P){x||a(-1,P)}_&&a(S,C,_,E)},e.async?c.readyState===4?setTimeout(t,0):(o=++xhrId,xhrOnUnloadAbort&&(xhrCallbacks||(xhrCallbacks={},i(s).unload(xhrOnUnloadAbort)),xhrCallbacks[o]=t),c.onreadystatechange=t):t()},abort:function(){t&&t(0,1)}}}});var Pt,ti,Qn=/^(?:toggle|show|hide)$/,Zn=new RegExp("^(?:([-+])=|)("+b+")([a-z%]*)$","i"),Kn=/queueHooks$/,ii=[tr],$t={"*":[function(e,t){var n,a,o=this.createTween(e,t),u=Zn.exec(t),c=o.cur(),m=+c||0,x=1,S=20;if(u){if(n=+u[2],a=u[3]||(i.cssNumber[e]?"":"px"),a!=="px"&&m){m=i.css(o.elem,e,!0)||n||1;do x=x||".5",m=m/x,i.style(o.elem,e,m+a);while(x!==(x=o.cur()/c)&&x!==1&&--S)}o.unit=a,o.start=m,o.end=u[1]?m+(u[1]+1)*n:n}return o}]};function en(){return setTimeout(function(){Pt=y},0),Pt=i.now()}function Gn(e,t){i.each(t,function(n,a){for(var o=($t[n]||[]).concat($t["*"]),u=0,c=o.length;u<c;u++)if(o[u].call(e,n,a))return})}function tn(e,t,n){var a,o=0,u=ii.length,c=i.Deferred().always(function(){delete m.elem}),m=function(){for(var C=Pt||en(),E=Math.max(0,x.startTime+x.duration-C),_=E/x.duration||0,V=1-_,P=0,U=x.tweens.length;P<U;P++)x.tweens[P].run(V);return c.notifyWith(e,[x,V,E]),V<1&&U?E:(c.resolveWith(e,[x]),!1)},x=c.promise({elem:e,props:i.extend({},t),opts:i.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Pt||en(),duration:n.duration,tweens:[],createTween:function(C,E,_){var V=i.Tween(e,x.opts,C,E,x.opts.specialEasing[C]||x.opts.easing);return x.tweens.push(V),V},stop:function(C){for(var E=0,_=C?x.tweens.length:0;E<_;E++)x.tweens[E].run(1);return C?c.resolveWith(e,[x,C]):c.rejectWith(e,[x,C]),this}}),S=x.props;for(er(S,x.opts.specialEasing);o<u;o++)if(a=ii[o].call(x,e,S,x.opts),a)return a;return Gn(x,S),i.isFunction(x.opts.start)&&x.opts.start.call(e,x),i.fx.timer(i.extend(m,{anim:x,queue:x.opts.queue,elem:e})),x.progress(x.opts.progress).done(x.opts.done,x.opts.complete).fail(x.opts.fail).always(x.opts.always)}function er(e,t){var n,a,o,u,c;for(n in e)if(a=i.camelCase(n),o=t[a],u=e[n],i.isArray(u)&&(o=u[1],u=e[n]=u[0]),n!==a&&(e[a]=u,delete e[n]),c=i.cssHooks[a],c&&"expand"in c){u=c.expand(u),delete e[a];
8for(n in u)n in e||(e[n]=u[n],t[n]=o)}else t[a]=o}i.Animation=i.extend(tn,{tweener:function(e,t){i.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");for(var n,a=0,o=e.length;a<o;a++)n=e[a],$t[n]=$t[n]||[],$t[n].unshift(t)},prefilter:function(e,t){t?ii.unshift(e):ii.push(e)}});function tr(e,t,n){var a,o,u,c,m,x,S,C,E,_=this,V=e.style,P={},U=[],ee=e.nodeType&&ei(e);n.queue||(C=i._queueHooks(e,"fx"),C.unqueued==null&&(C.unqueued=0,E=C.empty.fire,C.empty.fire=function(){C.unqueued||E()}),C.unqueued++,_.always(function(){_.always(function(){C.unqueued--,i.queue(e,"fx").length||C.empty.fire()})})),e.nodeType===1&&("height"in t||"width"in t)&&(n.overflow=[V.overflow,V.overflowX,V.overflowY],i.css(e,"display")==="inline"&&i.css(e,"float")==="none"&&(!i.support.inlineBlockNeedsLayout||Ki(e.nodeName)==="inline"?V.display="inline-block":V.zoom=1)),n.overflow&&(V.overflow="hidden",i.support.shrinkWrapBlocks||_.done(function(){V.overflow=n.overflow[0],V.overflowX=n.overflow[1],V.overflowY=n.overflow[2]}));for(a in t)if(u=t[a],Qn.exec(u)){if(delete t[a],x=x||u==="toggle",u===(ee?"hide":"show"))continue;U.push(a)}if(c=U.length,c)for(m=i._data(e,"fxshow")||i._data(e,"fxshow",{}),("hidden"in m)&&(ee=m.hidden),x&&(m.hidden=!ee),ee?i(e).show():_.done(function(){i(e).hide()}),_.done(function(){var ue;i.removeData(e,"fxshow",!0);for(ue in P)i.style(e,ue,P[ue])}),a=0;a<c;a++)o=U[a],S=_.createTween(o,ee?m[o]:0),P[o]=m[o]||i.style(e,o),o in m||(m[o]=S.start,ee&&(S.end=S.start,S.start=o==="width"||o==="height"?1:0))}function $e(e,t,n,a,o){return new $e.prototype.init(e,t,n,a,o)}i.Tween=$e,$e.prototype={constructor:$e,init:function(e,t,n,a,o,u){this.elem=e,this.prop=n,this.easing=o||"swing",this.options=t,this.start=this.now=this.cur(),this.end=a,this.unit=u||(i.cssNumber[n]?"":"px")},cur:function(){var e=$e.propHooks[this.prop];return e&&e.get?e.get(this):$e.propHooks._default.get(this)},run:function(e){var t,n=$e.propHooks[this.prop];return this.options.duration?this.pos=t=i.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):$e.propHooks._default.set(this),this}},$e.prototype.init.prototype=$e.prototype,$e.propHooks={_default:{get:function(e){var t;return e.elem[e.prop]!=null&&(!e.elem.style||e.elem.style[e.prop]==null)?e.elem[e.prop]:(t=i.css(e.elem,e.prop,!1,""),!t||t==="auto"?0:t)},set:function(e){i.fx.step[e.prop]?i.fx.step[e.prop](e):e.elem.style&&(e.elem.style[i.cssProps[e.prop]]!=null||i.cssHooks[e.prop])?i.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},$e.propHooks.scrollTop=$e.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},i.each(["toggle","show","hide"],function(e,t){var n=i.fn[t];i.fn[t]=function(a,o,u){return a==null||typeof a=="boolean"||!e&&i.isFunction(a)&&i.isFunction(o)?n.apply(this,arguments):this.animate(ni(t,!0),a,o,u)}}),i.fn.extend({fadeTo:function(e,t,n,a){return this.filter(ei).css("opacity",0).show().end().animate({opacity:t},e,n,a)},animate:function(e,t,n,a){var o=i.isEmptyObject(e),u=i.speed(t,n,a),c=function(){var m=tn(this,i.extend({},e),u);o&&m.stop(!0)};return o||u.queue===!1?this.each(c):this.queue(u.queue,c)},stop:function(e,t,n){var a=function(o){var u=o.stop;delete o.stop,u(n)};return typeof e!="string"&&(n=t,t=e,e=y),t&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var o=!0,u=e!=null&&e+"queueHooks",c=i.timers,m=i._data(this);if(u)m[u]&&m[u].stop&&a(m[u]);else for(u in m)m[u]&&m[u].stop&&Kn.test(u)&&a(m[u]);for(u=c.length;u--;)c[u].elem===this&&(e==null||c[u].queue===e)&&(c[u].anim.stop(n),o=!1,c.splice(u,1));(o||!n)&&i.dequeue(this,e)})}});function ni(e,t){var n,a={height:e},o=0;for(t=t?1:0;o<4;o+=2-t)n=St[o],a["margin"+n]=a["padding"+n]=e;return t&&(a.opacity=a.width=e),a}i.each({slideDown:ni("show"),slideUp:ni("hide"),slideToggle:ni("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){i.fn[e]=function(n,a,o){return this.animate(t,n,a,o)}}),i.speed=function(e,t,n){var a=e&&typeof e=="object"?i.extend({},e):{complete:n||!n&&t||i.isFunction(e)&&e,duration:e,easing:n&&t||t&&!i.isFunction(t)&&t};return a.duration=i.fx.off?0:typeof a.duration=="number"?a.duration:a.duration in i.fx.speeds?i.fx.speeds[a.duration]:i.fx.speeds._default,(a.queue==null||a.queue===!0)&&(a.queue="fx"),a.old=a.complete,a.complete=function(){i.isFunction(a.old)&&a.old.call(this),a.queue&&i.dequeue(this,a.queue)},a},i.easing={linear:function(e){return e},swing:function(e){return .5-Math.cos(e*Math.PI)/2}},i.timers=[],i.fx=$e.prototype.init,i.fx.tick=function(){var e,t=i.timers,n=0;for(Pt=i.now();n<t.length;n++)e=t[n],!e()&&t[n]===e&&t.splice(n--,1);t.length||i.fx.stop(),Pt=y},i.fx.timer=function(e){e()&&i.timers.push(e)&&!ti&&(ti=setInterval(i.fx.tick,i.fx.interval))},i.fx.interval=13,i.fx.stop=function(){clearInterval(ti),ti=null},i.fx.speeds={slow:600,fast:200,_default:400},i.fx.step={},i.expr&&i.expr.filters&&(i.expr.filters.animated=function(e){return i.grep(i.timers,function(t){return e===t.elem}).length});var nn=/^(?:body|html)$/i;i.fn.offset=function(e){if(arguments.length)return e===y?this:this.each(function(E){i.offset.setOffset(this,e,E)});var t,n,a,o,u,c,m,x={top:0,left:0},S=this[0],C=S&&S.ownerDocument;if(C)return(n=C.body)===S?i.offset.bodyOffset(S):(t=C.documentElement,i.contains(t,S)?(typeof S.getBoundingClientRect<"u"&&(x=S.getBoundingClientRect()),a=rn(C),o=t.clientTop||n.clientTop||0,u=t.clientLeft||n.clientLeft||0,c=a.pageYOffset||t.scrollTop,m=a.pageXOffset||t.scrollLeft,{top:x.top+c-o,left:x.left+m-u}):x)},i.offset={bodyOffset:function(e){var t=e.offsetTop,n=e.offsetLeft;return i.support.doesNotIncludeMarginInBodyOffset&&(t+=parseFloat(i.css(e,"marginTop"))||0,n+=parseFloat(i.css(e,"marginLeft"))||0),{top:t,left:n}},setOffset:function(e,t,n){var a=i.css(e,"position");a==="static"&&(e.style.position="relative");
8var o=i(e),u=o.offset(),c=i.css(e,"top"),m=i.css(e,"left"),x=(a==="absolute"||a==="fixed")&&i.inArray("auto",[c,m])>-1,S={},C={},E,_;x?(C=o.position(),E=C.top,_=C.left):(E=parseFloat(c)||0,_=parseFloat(m)||0),i.isFunction(t)&&(t=t.call(e,n,u)),t.top!=null&&(S.top=t.top-u.top+E),t.left!=null&&(S.left=t.left-u.left+_),"using"in t?t.using.call(e,S):o.css(S)}},i.fn.extend({isRendered:function(){var e=this[0];return!(e.parentNode==null||e.offsetWidth===0||e.offsetHeight===0)},getSizeFromStyle:function(){var e=null,t=null,n=this[0],a;return n.style.width&&(e=n.style.width),n.style.height&&(t=n.style.height),s.getComputedStyle?a=getComputedStyle(n,null):a=n.currentStyle,a&&(a.width&&(e=a.width),a.height&&(t=a.height)),e==="0px"&&(e=0),t==="0px"&&(t=0),e===null&&(e=0),t===null&&(t=0),{width:e,height:t}},initAnimate:function(){},sizeStyleChanged:function(e){var t=this,n,a=function(o){var u=n;o&&o[0]&&o[0].attributeName==="style"&&o[0].type==="attributes"&&(u.element.offsetWidth!==u.offsetWidth||u.element.offsetHeight!==u.offsetHeight)&&(u.offsetWidth=u.element.offsetWidth,u.offsetHeight=u.element.offsetHeight,t.isRendered()&&u.callback())};n={element:t[0],offsetWidth:t[0].offsetWidth,offsetHeight:t[0].offsetHeight,callback:e};try{t.elementStyleObserver||(t.elementStyleObserver=new MutationObserver(a),t.elementStyleObserver.observe(t[0],{attributes:!0,childList:!1,characterData:!1}))}catch{}},position:function(){if(this[0]){var e=this[0],t=this.offsetParent(),n=this.offset(),a=nn.test(t[0].nodeName)?{top:0,left:0}:t.offset();return n.top-=parseFloat(i.css(e,"marginTop"))||0,n.left-=parseFloat(i.css(e,"marginLeft"))||0,a.top+=parseFloat(i.css(t[0],"borderTopWidth"))||0,a.left+=parseFloat(i.css(t[0],"borderLeftWidth"))||0,{top:n.top-a.top,left:n.left-a.left}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||f.body;e&&!nn.test(e.nodeName)&&i.css(e,"position")==="static";)e=e.offsetParent;return e||f.body})}}),i.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n=/Y/.test(t);i.fn[e]=function(a){return i.access(this,function(o,u,c){var m=rn(o);if(c===y)return m?t in m?m[t]:m.document.documentElement[u]:o[u];m?m.scrollTo(n?i(m).scrollLeft():c,n?c:i(m).scrollTop()):o[u]=c},e,a,arguments.length,null)}});function rn(e){return i.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:!1}i.each({Height:"height",Width:"width"},function(e,t){i.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,a){i.fn[a]=function(o,u){var c=arguments.length&&(n||typeof o!="boolean"),m=n||(o===!0||u===!0?"margin":"border");return i.access(this,function(x,S,C){var E;return i.isWindow(x)?x.document.documentElement["client"+e]:x.nodeType===9?(E=x.documentElement,Math.max(x.body["scroll"+e],E["scroll"+e],x.body["offset"+e],E["offset"+e],E["client"+e])):C===y?i.css(x,S,C,m):i.style(x,S,C,m)},t,c?o:y,c,null)}})}),s.JQXLite=s.jqxHelper=i}(window),function(s){if(s.jqxCore){s.$$=s.minQuery=s.JQXLite,s.$||(s.$=s.minQuery);return}if(s.jQuery){s.minQuery=s.JQXLite=s.jQuery;return}s.$?s.minQuery=s.JQXLite=s.$:s.$=s.minQuery=s.JQXLite}(window),JQXLite.generateID=function(){var s=function(){return((1+Math.random())*65536|0).toString(16).substring(1)},y="";do y="jqx"+s()+s()+s();while($("#"+y).length>0);return y};var h=window.jqxBaseFramework=window.minQuery||window.jQuery;return function(s){s.jqx=s.jqx||{},window.jqx=s.jqx;var y={createInstance:function(r,l,f){if(l=="jqxDataAdapter"){var w=f[0],T=f[1]||{};return new s.jqx.dataAdapter(w,T)}return s(r)[l](f||{}),s(r)[l]("getInstance")}};window.jqwidgets=y,s.jqx.define=function(r,l,f){r[l]=function(){this.baseType&&(this.base=new r[this.baseType],this.base.defineInstance()),this.defineInstance(),this.metaInfo()},r[l].prototype.defineInstance=function(){},r[l].prototype.metaInfo=function(){},r[l].prototype.base=null,r[l].prototype.baseType=void 0,f&&r[f]&&(r[l].prototype.baseType=f)},s.jqx.invoke=function(r,l){if(l.length!=0){for(var f=typeof l==Array||l.length>0?l[0]:l,w=typeof l==Array||l.length>1?Array.prototype.slice.call(l,1):s({}).toArray();r[f]==null&&r.base!=null;){if(r[f]!=null&&s.isFunction(r[f]))return r[f].apply(r,w);if(typeof f=="string"){var T=f.toLowerCase();if(r[T]!=null&&s.isFunction(r[T]))return r[T].apply(r,w)}r=r.base}if(r[f]!=null&&s.isFunction(r[f]))return r[f].apply(r,w);if(typeof f=="string"){var T=f.toLowerCase();if(r[T]!=null&&s.isFunction(r[T]))return r[T].apply(r,w)}}},s.jqx.getByPriority=function(r){for(var l=void 0,f=0;f<r.length&&l==null;f++)l==null&&r[f]!=null&&(l=r[f]);return l},s.jqx.hasProperty=function(r,l){if(typeof l=="object")for(var f in l){for(var w=r;w;){if(w.hasOwnProperty(f)||w.hasOwnProperty(f.toLowerCase()))return!0;w=w.base}return!1}else for(;r;){if(r.hasOwnProperty(l)||r.hasOwnProperty(l.toLowerCase()))return!0;r=r.base}return!1},s.jqx.hasFunction=function(r,l){if(l.length==0||r==null)return!1;var f=typeof l==Array||l.length>0?l[0]:l;for((typeof l==Array||l.length>1)&&Array.prototype.slice.call(l,1);r[f]==null&&r.base!=null;){if(r[f]&&s.isFunction(r[f]))return!0;
8if(typeof f=="string"){var w=f.toLowerCase();if(r[w]&&s.isFunction(r[w]))return!0}r=r.base}if(r[f]&&s.isFunction(r[f]))return!0;if(typeof f=="string"){var w=f.toLowerCase();if(r[w]&&s.isFunction(r[w]))return!0}return!1},s.jqx.isPropertySetter=function(r,l){return l.length==1&&typeof l[0]=="object"||l.length==2&&typeof l[0]=="string"&&!s.jqx.hasFunction(r,l)},s.jqx.validatePropertySetter=function(r,l,f){if(!s.jqx.propertySetterValidation)return!0;if(l.length==1&&typeof l[0]=="object"){for(var w in l[0]){for(var T=r;!T.hasOwnProperty(w)&&T.base;)T=T.base;if(!T||!T.hasOwnProperty(w)){if(!f){var q=T.hasOwnProperty(w.toString().toLowerCase());if(q)return!0;throw"Invalid property: "+w}return!1}}return!0}if(l.length!=2){if(!f)throw"Invalid property: "+l.length>=0?l[0]:"";return!1}for(;!r.hasOwnProperty(l[0])&&r.base;)r=r.base;if(!r||!r.hasOwnProperty(l[0])){if(!f)throw"Invalid property: "+l[0];return!1}return!0},Object.keys||(Object.keys=function(){var r=Object.prototype.hasOwnProperty,l=!{toString:null}.propertyIsEnumerable("toString"),f=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],w=f.length;return function(T){if(typeof T!="object"&&(typeof T!="function"||T===null))throw new TypeError("Object.keys called on non-object");var q=[],R,A;for(R in T)r.call(T,R)&&q.push(R);if(l)for(A=0;A<w;A++)r.call(T,f[A])&&q.push(f[A]);return q}}()),s.jqx.set=function(r,l){var f=0;if(l.length==1&&typeof l[0]=="object"){if(r.isInitialized&&Object.keys&&Object.keys(l[0]).length>1){var w=r.base?r.base.element:r.element,T=s.data(w,r.widgetName).initArgs;if(T&&JSON&&JSON.stringify&&l[0]&&T[0])try{if(JSON.stringify(l[0])==JSON.stringify(T[0])){var q=!0;if(s.each(l[0],function(L,N){if(r[L]!=N)return q=!1,!1}),q)return}}catch{}r.batchUpdate=l[0];var R={},A={};s.each(l[0],function(L,N){for(var M=r;!M.hasOwnProperty(L)&&M.base!=null;)M=M.base;M.hasOwnProperty(L)?r[L]!=N&&(R[L]=r[L],A[L]=N,f++):M.hasOwnProperty(L.toLowerCase())&&r[L.toLowerCase()]!=N&&(R[L.toLowerCase()]=r[L.toLowerCase()],A[L.toLowerCase()]=N,f++)}),f<2&&(r.batchUpdate=null)}s.each(l[0],function(L,N){for(var M=r;!M.hasOwnProperty(L)&&M.base!=null;)M=M.base;if(M.hasOwnProperty(L))s.jqx.setvalueraiseevent(M,L,N);else if(M.hasOwnProperty(L.toLowerCase()))s.jqx.setvalueraiseevent(M,L.toLowerCase(),N);else if(s.jqx.propertySetterValidation)throw"jqxCore: invalid property '"+L+"'"}),r.batchUpdate!=null&&(r.batchUpdate=null,r.propertiesChangedHandler&&f>1&&r.propertiesChangedHandler(r,R,A))}else if(l.length==2){for(;!r.hasOwnProperty(l[0])&&r.base;)r=r.base;if(r.hasOwnProperty(l[0]))s.jqx.setvalueraiseevent(r,l[0],l[1]);else if(r.hasOwnProperty(l[0].toLowerCase()))s.jqx.setvalueraiseevent(r,l[0].toLowerCase(),l[1]);else if(s.jqx.propertySetterValidation)throw"jqxCore: invalid property '"+l[0]+"'"}},s.jqx.setvalueraiseevent=function(r,l,f){var w=r[l];r[l]=f,r.isInitialized&&(r.propertyChangedHandler!=null&&r.propertyChangedHandler(r,l,w,f),r.propertyChangeMap!=null&&r.propertyChangeMap[l]!=null&&r.propertyChangeMap[l](r,l,w,f))},s.jqx.get=function(r,l){if(!(l==null||l==null)){if(r.propertyMap){var f=r.propertyMap(l);if(f!=null)return f}if(r.hasOwnProperty(l))return r[l];if(r.hasOwnProperty(l.toLowerCase()))return r[l.toLowerCase()];var w=void 0;if(typeof l==Array){if(l.length!=1)return;w=l[0]}else typeof l=="string"&&(w=l);for(;!r.hasOwnProperty(w)&&r.base;)r=r.base;if(r)return r[w]}},s.jqx.serialize=function(r){var l="";if(s.isArray(r)){l="[";for(var f=0;f<r.length;f++)f>0&&(l+=", "),l+=s.jqx.serialize(r[f]);l+="]"}else if(typeof r=="object"){l="{";var w=0;for(var f in r)w++>0&&(l+=", "),l+=f+": "+s.jqx.serialize(r[f]);l+="}"}else l=r.toString();return l},s.jqx.propertySetterValidation=!0,s.jqx.jqxWidgetProxy=function(r,l,f){s(l);var w=s.data(l,r);if(w!=null){var T=w.instance;if(s.jqx.hasFunction(T,f))return s.jqx.invoke(T,f);if(s.jqx.isPropertySetter(T,f)){if(s.jqx.validatePropertySetter(T,f)){s.jqx.set(T,f);return}}else{if(typeof f=="object"&&f.length==0)return;if(typeof f=="object"&&f.length==1&&s.jqx.hasProperty(T,f[0]))return s.jqx.get(T,f[0]);if(typeof f=="string"&&s.jqx.hasProperty(T,f[0]))return s.jqx.get(T,f)}throw"jqxCore: Invalid parameter '"+s.jqx.serialize(f)+"' does not exist."}},s.jqx.applyWidget=function(r,l,f,L){var T=!1;try{T=window.MSApp!=null}catch{}var q=s(r);L?(L.host=q,L.element=r):L=new s.jqx["_"+l],r.id==""&&(r.id=s.jqx.utilities.createId());var R={host:q,element:r,instance:L,initArgs:f};L.widgetName=l,s.data(r,l,R),s.data(r,"jqxWidget",R.instance);for(var A=new Array,L=R.instance;L;)L.isInitialized=!1,A.push(L),L=L.base;A.reverse(),A[0].theme=s.jqx.theme||"",s.jqx.jqxWidgetProxy(l,r,f);for(var N in A)L=A[N],N==0&&(L.host=q,L.element=r,L.WinJS=T),L!=null&&(L.definedInstance&&L.definedInstance(),L.createInstance!=null&&(T?MSApp.execUnsafeLocalFunction(function(){L.createInstance(f)}):L.createInstance(f)));for(var N in A)A[N]!=null&&(A[N].isInitialized=!0);T?MSApp.execUnsafeLocalFunction(function(){R.instance.refresh(!0)}):R.instance.refresh(!0)},s.jqx.jqxWidget=function(r,l,f){var w=!1;try{var T=Array.prototype.slice.call(f,0)}catch{var T=""}try{w=window.MSApp!=null}catch{}var q=r,R="";l&&(R="_"+l),s.jqx.define(s.jqx,"_"+q,R);var A=new Array;
8if(!window[q]){var L=function(N){if(N==null)return"";var M=s.type(N);switch(M){case"string":case"number":case"date":case"boolean":case"bool":return N===null?"":N.toString()}var z="";return s.each(N,function(i,b){var te=b;i>0&&(z+=", "),z+="[";var se=0;if(s.type(te)=="object")for(var oe in te)se>0&&(z+=", "),z+="{"+oe+":"+te[oe]+"}",se++;else se>0&&(z+=", "),z+="{"+i+":"+te+"}",se++;z+="]"}),z};y[q]=window[q]=function(N,M){var z=[];M||(M={}),z.push(M);var i=N;if(s.type(i)==="object"&&N[0]?(i=N[0].id,i===""&&(i=N[0].id=s.jqx.utilities.createId())):s.type(N)==="object"&&N&&N.nodeName&&(i=N.id,i===""&&(i=N.id=s.jqx.utilities.createId())),window.jqxWidgets&&window.jqxWidgets[i]){if(M&&s.each(window.jqxWidgets[i],function(oe){var ne=s(this.element).data();ne&&ne.jqxWidget&&s(this.element)[q](M)}),window.jqxWidgets[i].length==1){var b=s(window.jqxWidgets[i][0].widgetInstance.element).data();if(b&&b.jqxWidget)return window.jqxWidgets[i][0]}var b=s(window.jqxWidgets[i][0].widgetInstance.element).data();if(b&&b.jqxWidget)return window.jqxWidgets[i]}var te=s(N);te.length===0&&(te=s("<div></div>"),(q==="jqxInput"||q==="jqxPasswordInput"||q==="jqxMaskedInput")&&(te=s("<input/>")),q==="jqxTextArea"&&(te=s("<textarea></textarea>")),(q==="jqxButton"||q==="jqxRepeatButton"||q==="jqxToggleButton")&&(te=s("<button/>")),q==="jqxSplitter"&&(te=s("<div><div>Panel 1</div><div>Panel 2</div></div>")),q==="jqxTabs"&&(te=s("<div><ul><li>Tab 1</li><li>Tab 2</li></ul><div>Content 1</div><div>Content 2</div></div>")),q==="jqxRibbon"&&(te=s("<div><ul><li>Tab 1</li><li>Tab 2</li></ul><div><div>Content 1</div><div>Content 2</div></div></div>")),q==="jqxDocking"&&(te=s("<div><div><div><div>Title 1</div><div>Content 1</div></div></div></div>")),q==="jqxWindow"&&(te=s("<div><div>Title 1</div><div>Content 1</div></div>")));var se=[];return s.each(te,function(oe){var ne=te[oe];if(s.jqx.applyWidget(ne,q,z,void 0),!A[q]){var De=s.data(ne,"jqxWidget"),Q=s.jqx["_"+q].prototype.defineInstance();s.jqx["_"+q].prototype.metaInfo&&s.jqx["_"+q].prototype.metaInfo(),q=="jqxDockingLayout"&&(Q=s.extend(Q,s.jqx._jqxLayout.prototype.defineInstance())),(q=="jqxToggleButton"||q=="jqxRepeatButton")&&(Q=s.extend(Q,s.jqx._jqxButton.prototype.defineInstance())),q=="jqxTreeGrid"&&(Q=s.extend(Q,s.jqx._jqxDataTable.prototype.defineInstance()));var ke=function(ie){var Ae=s.data(ie,"jqxWidget");this.widgetInstance=Ae;var X=s.extend(this,Ae);X.on=X.addEventListener=function(de,Le){X.addHandler(X.base?X.base.host:X.host,de,Le)},X.off=X.removeEventListener=function(de){X.removeHandler(X.base?X.base.host:X.host,de)};for(var je in Ae)s.type(Ae[je])=="function"&&(X[je]=s.proxy(Ae[je],Ae));return X};A[q]=ke,s.each(Q,function(ie,Ae){Object.defineProperty(ke.prototype,ie,{get:function(){return this.widgetInstance?this.widgetInstance[ie]:Ae},set:function(X){if(this.widgetInstance&&(this.widgetInstance[ie]!=X||ie==="width"||ie==="height")){var je=this.widgetInstance[ie],de=X,Le=s.type(je),he=s.type(de),me=!1;if((Le!=he||ie==="source"||ie==="width"||ie==="height")&&(me=!0),me||L(je)!=L(de)){var xe={};xe[ie]=X,this.widgetInstance.host?this.widgetInstance.host[q](xe):this.widgetInstance.base.host[q](xe),this.widgetInstance[ie]=X,this.widgetInstance.propertyUpdated&&this.widgetInstance.propertyUpdated(ie,je,X)}}}})})}var De=new A[q](ne);se.push(De),window.jqxWidgets||(window.jqxWidgets=new Array),window.jqxWidgets[i]||(window.jqxWidgets[i]=new Array),window.jqxWidgets[i].push(De)}),se.length===1?se[0]:se}}s.fn[q]=function(){var N=Array.prototype.slice.call(arguments,0);if(N.length==0||N.length==1&&typeof N[0]=="object"){if(this.length==0)throw this.selector?new Error("Invalid Selector - "+this.selector+"! Please, check whether the used ID or CSS Class 
8name is correct."):new Error("Invalid Selector! Please, check whether the used ID or CSS Class name is correct.");return this.each(function(){s(this);var i=this,b=s.data(i,q);b==null?s.jqx.applyWidget(i,q,N,void 0):s.jqx.jqxWidgetProxy(q,this,N)})}else{if(this.length==0)throw this.selector?new Error("Invalid Selector - "+this.selector+"! Please, check whether the used ID or CSS Class name is correct."):new Error("Invalid Selector! Please, check whether the used ID or CSS Class name is correct.");var M=null,z=0;this.each(function(){var i=s.jqx.jqxWidgetProxy(q,this,N);if(z==0)M=i,z++;else{if(z==1){var b=[];b.push(M),M=b}M.push(i)}})}return M};try{s.extend(s.jqx["_"+q].prototype,Array.prototype.slice.call(f,0)[0])}catch{}s.extend(s.jqx["_"+q].prototype,{toThemeProperty:function(N,M){return s.jqx.toThemeProperty(this,N,M)},isMaterialized:function(){if(!this.theme)return!1;if(this.theme==="light"||this.theme==="dark"||this.theme==="deepblue"||this.theme.indexOf("material")>=0)return!0},isModern:function(){if(!this.theme)return!1;if(this.theme.indexOf("light")>=0||this.theme==="dark")return!0},_addBarAndLabel:function(N){var M=this,z=s("<label></label");z[0].innerHTML=this.placeHolder,z.addClass(M.toThemeProperty("jqx-input-label")),N.after(z),M.label=z;var i=s("<span></span>");N.after(i),i.addClass(M.toThemeProperty("jqx-input-bar")),M.bar=i,M.bar.css("top",this.host.height())}}),s.jqx["_"+q].prototype.refresh=function(){this.base&&this.base.refresh(!0)},s.jqx["_"+q].prototype.createInstance=function(){},s.jqx.isPassiveSupported=function(){var N=this;if(N.supportsPassive!==void 0)return N.supportsPassive;N.supportsPassive=!1;try{var M=Object.defineProperty({},"passive",{get:function(){N.supportsPassive=!0}});window.addEventListener("testPassive",null,M),window.removeEventListener("testPassive",null,M)}catch{}return N.supportsPassive},s.jqx["_"+q].prototype.addEventHandler=function(N,M){this.base?this.base.host.on(N,M):this.host.on(N,M)},s.jqx["_"+q].prototype.removeEventHandler=function(N,M){this.base?this.base.host.off(N):this.host.off(N)},s.jqx["_"+q].prototype.applyTo=function(N,M){if(!(M instanceof Array)){var z=[];z.push(M),M=z}s.jqx.applyWidget(N,q,M,this)},s.jqx["_"+q].prototype.getInstance=function(){return this},s.jqx["_"+q].prototype.propertyChangeMap={},s.jqx["_"+q].prototype.addHandler=function(N,M,z,i){s.jqx.addHandler(s(N),M,z,i)},s.jqx["_"+q].prototype.removeHandler=function(N,M,z){s.jqx.removeHandler(s(N),M,z)},s.jqx["_"+q].prototype.setOptions=function(){if(!(!this.host||!this.host.length||this.host.length!=1))return s.jqx.jqxWidgetProxy(q,this.host[0],arguments)}},s.jqx.toThemeProperty=function(r,l,f){if(r.theme=="")return l;for(var w=l.split(" "),T="",q=0;q<w.length;q++){q>0&&(T+=" ");var R=w[q];f!=null&&f?T+=R+"-"+r.theme:T+=R+" "+R+"-"+r.theme}return T},s.jqx.addHandler=function(r,l,f,w){for(var T=l.split(" "),q=0;q<T.length;q++){var R=T[q];if(window.addEventListener&&r[0])switch(R){case"mousewheel":s.jqx.browser.mozilla?r[0].addEventListener("DOMMouseScroll",f,s.jqx.isPassiveSupported()?{passive:!1}:!1):r[0].addEventListener("mousewheel",f,s.jqx.isPassiveSupported()?{passive:!1}:!1);continue;case"mousemove":if(!w){r[0].addEventListener("mousemove",f,!1);continue}break;case"touchmove":if(w){if(w&&w.passive){r[0].addEventListener("touchmove",f,w);continue}}else{r[0].addEventListener("touchmove",f,!1);continue}break}w==null||w==null?r.on?r.on(R,f):r.bind(R,f):r.on?r.on(R,w,f):r.bind(R,w,f)}},s.jqx.removeHandler=function(r,l,f){if(!l){r.off?r.off():r.unbind();return}for(var w=l.split(" "),T=0;T<w.length;T++){var q=w[T];if(window.removeEventListener)switch(q){case"mousewheel":s.jqx.browser.mozilla?r[0].removeEventListener("DOMMouseScroll",f,!1):r[0].removeEventListener("mousewheel",f,!1);continue;case"mousemove":if(f){r[0].removeEventListener("mousemove",f,!1);continue}break;case"touchmove":if(f){r[0].removeEventListener("touchmove",f,!1);continue}break}if(q==null){r.off?r.off():r.unbind();continue}f==null?r.off?r.off(q):r.unbind(q):r.off?r.off(q,f):r.unbind(q,f)}},s.jqx.credits=s.jqx.credits||"",s.jqx.theme=s.jqx.theme||"",s.jqx.scrollAnimation=s.jqx.scrollAnimation||!1,s.jqx.resizeDelay=s.jqx.resizeDelay||10,s.jqx.ready=function(){s(window).trigger("jqxReady")},s.jqx.init=function(){s.each(arguments[0],function(r,l){r=="theme"&&(s.jqx.theme=l),r=="scrollBarSize"&&(s.jqx.utilities.scrollBarSize=l),r=="touchScrollBarSize"&&(s.jqx.utilities.touchScrollBarSize=l),r=="scrollBarButtonsVisibility"&&(s.jqx.utilities.scrollBarButtonsVisibility=l)})},s.jqx.utilities=s.jqx.utilities||{},s.extend(s.jqx.utilities,{scrollBarSize:13,touchScrollBarSize:8,scrollBarButtonsVisibility:"visible",createId:function(){var r=function(){return((1+Math.random())*65536|0).toString(16).substring(1)};return"jqxWidget"+r()+r()+r()},setTheme:function(r,l,f){if(!(typeof f>"u")&&f[0].className.split){r===void 0&&(r=""),l===void 0&&(l="");for(var w=f[0].className.split(" "),T=[],q=[],R=f.children(),A=0;A<w.length;A+=1)w[A].indexOf(r)>=0&&(r.length>0?(T.push(w[A]),q.push(w[A].replace(r,l))):q.push(w[A].replace("-"+l,"")+"-"+l));this._removeOldClasses(T,f),this._addNewClasses(q,f);for(var A=0;A<R.length;A+=1)this.setTheme(r,l,s(R[A]))}},_removeOldClasses:function(r,l){for(var f=0;f<r.length;f+=1)l.removeClass(r[f])},_addNewClasses:function(r,l){for(var f=0;f<r.length;f+=1)l.addClass(r[f])},getOffset:function(r){var l=s.jqx.mobile.getLeftPos(r[0]),f=s.jqx.mobile.getTopPos(r[0]);return{top:f,left:l}},resize:function(r,l,f,w){w===void 0&&(w=!0);var T=-1,N=this,q=function(oe){if(!N.hiddenWidgets)return-1;for(var ne=-1,Q=0;Q<N.hiddenWidgets.length;Q++)if(oe.id){if(N.hiddenWidgets[Q].id==oe.id){ne=Q;break}}else if(N.hiddenWidgets[Q].id==oe[0].id){ne=Q;break}return ne};if(this.resizeHandlers){for(var R=0;R<this.resizeHandlers.length;R++)if(r.id){if(this.resizeHandlers[R].id==r.id){T=R;break}}else if(this.resizeHandlers[R].id==r[0].id){T=R;break}if(f===!0){if(T!=-1&&(this.resizeHandlers.splice(T,1),this.watchedElementData&&this.watchedElementData.length>0&&this.watchedElementData.splice(T,1)),this.resizeHandlers.length==0){var A=s(window);A.off?(A.off("resize.jqx"),A.off("orientationchange.jqx"),A.off("orientationchanged.jqx")):(A.unbind("resize.jqx"),A.unbind("orientationchange.jqx"),A.unbind("orientationchanged.jqx")),this.resizeHandlers=null}var L=q(r);L!=-1&&this.hiddenWidgets&&this.hiddenWidgets.splice(L,1);return}}else if(f===!0){var L=q(r);L!=-1&&this.hiddenWidgets&&this.hiddenWidgets.splice(L,1);return}var N=this,M=function(oe,ne){if(N.resizeHandlers){var Q=function(We){for(var Oe=-1,qe=We.parentNode;qe;)Oe++,qe=qe.parentNode;return Oe}
8,ke=function(We,Oe){if(!We.widget||!Oe.widget)return 0;var qe=Q(We.widget[0]),Pe=Q(Oe.widget[0]);try{if(qe<Pe)return-1;if(qe>Pe)return 1}catch{}return 0},De=function(We){if(N.hiddenWidgets.length>0){N.hiddenWidgets.sort(ke);var Oe=function(){for(var qe=!1,Pe=new Array,Me=0;Me<N.hiddenWidgets.length;Me++){var Ue=N.hiddenWidgets[Me];s.jqx.isHidden(Ue.widget)?(qe=!0,Pe.push(Ue)):Ue.callback&&Ue.callback(ne)}N.hiddenWidgets=Pe,qe||clearInterval(N.__resizeInterval)};if(We==!1){Oe(),N.__resizeInterval&&clearInterval(N.__resizeInterval);return}N.__resizeInterval&&clearInterval(N.__resizeInterval),N.__resizeInterval=setInterval(function(){Oe()},100)}};N.hiddenWidgets&&N.hiddenWidgets.length>0&&De(!1),N.hiddenWidgets=new Array,N.resizeHandlers.sort(ke);for(var st=0;st<N.resizeHandlers.length;st++){var ie=N.resizeHandlers[st],Ae=ie.widget,X=ie.data;if(X&&X.jqxWidget){var je=X.jqxWidget.width,de=X.jqxWidget.height;X.jqxWidget.base&&(je==null&&(je=X.jqxWidget.base.width),de==null&&(de=X.jqxWidget.base.height)),je===void 0&&de===void 0&&(je=X.jqxWidget.element.style.width,de=X.jqxWidget.element.style.height);var Le=!1;if(je!=null&&je.toString().indexOf("%")!=-1&&(Le=!0),de!=null&&de.toString().indexOf("%")!=-1&&(Le=!0),s.jqx.isHidden(Ae))q(Ae)===-1&&(Le||oe===!0)&&ie.data.nestedWidget!==!0&&N.hiddenWidgets.push(ie);else if(oe===void 0||oe!==!0){if(Le){if(ie.callback(ne),N.watchedElementData){for(var he=0;he<N.watchedElementData.length;he++)if(N.watchedElementData[he].element==X.jqxWidget.element){N.watchedElementData[he].offsetWidth=X.jqxWidget.element.offsetWidth,N.watchedElementData[he].offsetHeight=X.jqxWidget.element.offsetHeight;break}}N.hiddenWidgets.indexOf(ie)>=0&&N.hiddenWidgets.splice(N.hiddenWidgets.indexOf(ie),1)}if(X.jqxWidget.element){var me=X.jqxWidget.element.className;if((me.indexOf("dropdownlist")>=0||me.indexOf("datetimeinput")>=0||me.indexOf("combobox")>=0||me.indexOf("menu")>=0)&&X.jqxWidget.isOpened){var xe=X.jqxWidget.isOpened();if(xe){if(ne&&ne=="resize"&&s.jqx.mobile.isTouchDevice())continue;X.jqxWidget.close()}}}}}}De()}};if(!this.resizeHandlers){this.resizeHandlers=new Array;var A=s(window);A.on?(this._resizeTimer=null,this._initResize=null,A.on("resize.jqx",function(ne){N._resizeTimer!=null&&clearTimeout(N._resizeTimer),N._initResize?N._resizeTimer=setTimeout(function(){M(null,"resize")},s.jqx.resizeDelay):(N._initResize=!0,M(null,"resize"))}),A.on("orientationchange.jqx",function(ne){M(null,"orientationchange")}),A.on("orientationchanged.jqx",function(ne){M(null,"orientationchange")})):(A.bind("resize.jqx",function(ne){M(null,"orientationchange")}),A.bind("orientationchange.jqx",function(ne){M(null,"orientationchange")}),A.bind("orientationchanged.jqx",function(ne){M(null,"orientationchange")}))}var z=r.data();w&&T===-1&&this.resizeHandlers.push({id:r[0].id,widget:r,callback:l,data:z});try{var i=z.jqxWidget.width,b=z.jqxWidget.height;z.jqxWidget.base&&(i==null&&(i=z.jqxWidget.base.width),b==null&&(b=z.jqxWidget.base.height)),i===void 0&&b===void 0&&(i=z.jqxWidget.element.style.width,b=z.jqxWidget.element.style.height);var te=!1;if(i!=null&&i.toString().indexOf("%")!=-1&&(te=!0),b!=null&&b.toString().indexOf("%")!=-1&&(te=!0),te){this.watchedElementData||(this.watchedElementData=[]);var N=this,se=function(ne){N.watchedElementData.forEach&&N.watchedElementData.forEach(function(Q){(Q.element.offsetWidth!==Q.offsetWidth||Q.element.offsetHeight!==Q.offsetHeight)&&(Q.offsetWidth=Q.element.offsetWidth,Q.offsetHeight=Q.element.offsetHeight,Q.timer&&clearTimeout(Q.timer),Q.timer=setTimeout(function(){s.jqx.isHidden(s(Q.element))?Q.timer=setInterval(function(){s.jqx.isHidden(s(Q.element))||(clearInterval(Q.timer),Q.callback())},100):Q.callback()}))})};N.watchedElementData.push({element:r[0],offsetWidth:r[0].offsetWidth,offsetHeight:r[0].offsetHeight,callback:l}),N.observer||(N.observer=new MutationObserver(se),N.observer.observe(document.body,{attributes:!0,childList:!0,characterData:!0}))}}catch{}s.jqx.isHidden(r)&&w===!0&&M(!0),s.jqx.resize=function(){M(null,"resize")}},parseJSON:function(r){if(!r||typeof r!="string")return null;var l=/^[\],:{}\s]*$/,f=/(?:^|:|,)(?:\s*\[)+/g,w=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,T=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g;if(r=s.trim(r),window.JSON&&window.JSON.parse)return window.JSON.parse(r);if(l.test(r.replace(w,"@").replace(T,"]").replace(f,"")))return new Function("return "+r)();throw new Error("Invalid JSON: "+r)},html:function(r,l){if(!s(r).on)return s(r).html(l);try{return s.access(r,function(f){var w=r[0]||{},T=0,q=r.length;if(f===void 0)return w.nodeType===1?w.innerHTML.replace(rinlinejQuery,""):void 0;var R=/<(?:script|style|link)/i,A="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",L=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,N=/<([\w:]+)/,M=/<(?:script|object|embed|option|style)/i,z=new RegExp("<(?:"+A+")[\\s/>]","i"),i=/^\s+/,b={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};if(typeof f=="string"&&!R.test(f)&&(s.support.htmlSerialize||!z.test(f))&&(s.support.leadingWhitespace||!i.test(f))&&!b[(N.exec(f)||["",""])[1].toLowerCase()]){f=f.replace(L,"<$1></$2>");try{for(;T<q;T++)w=this[T]||{},w.nodeType===1&&(s.cleanData(w.getElementsByTagName("*")),w.innerHTML=f);w=0}catch{}}w&&r.empty().append(f)},null,l,arguments.length)}catch{return s(r).html(l)}},hasTransform:function(r){var l="";if(l=r.css("transform"),l==""||l=="none")if(l=r.parents().css("transform"),l==""||l=="none"){var f=s.jqx.utilities.getBrowser();
8f.browser=="msie"?(l=r.css("-ms-transform"),(l==""||l=="none")&&(l=r.parents().css("-ms-transform"))):f.browser=="chrome"?(l=r.css("-webkit-transform"),(l==""||l=="none")&&(l=r.parents().css("-webkit-transform"))):f.browser=="opera"?(l=r.css("-o-transform"),(l==""||l=="none")&&(l=r.parents().css("-o-transform"))):f.browser=="mozilla"&&(l=r.css("-moz-transform"),(l==""||l=="none")&&(l=r.parents().css("-moz-transform")))}else return l!=""&&l!="none";return(l==""||l=="none")&&(l=s(document.body).css("transform")),l!=""&&l!="none"&&l!=null},getBrowser:function(){var r=navigator.userAgent.toLowerCase(),l=/(chrome)[ \/]([\w.]+)/.exec(r)||/(webkit)[ \/]([\w.]+)/.exec(r)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(r)||/(msie) ([\w.]+)/.exec(r)||r.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(r)||[],f={browser:l[1]||"",version:l[2]||"0"};return r.indexOf("rv:11.0")>=0&&r.indexOf(".net4.0c")>=0&&(f.browser="msie",f.version="11",l[1]="msie"),r.indexOf("edge")>=0&&(f.browser="msie",f.version="12",l[1]="msie"),f[l[1]]=l[1],f}}),s.jqx.browser=s.jqx.utilities.getBrowser(),s.jqx.isHidden=function(r){if(!r||!r[0])return!1;var l=r[0].offsetWidth,f=r[0].offsetHeight;return l===0||f===0},s.jqx.ariaEnabled=!0,s.jqx.aria=function(r,l,f){if(s.jqx.ariaEnabled)if(l==null)s.each(r.aria,function(w,T){var q=r.base?r.base.host.attr(w):r.host.attr(w);if(q!=null&&!s.isFunction(q)){var R=q;switch(T.type){case"number":R=new Number(q),isNaN(R)&&(R=q);break;case"boolean":R=q=="true";break;case"date":R=new Date(q),(R=="Invalid Date"||isNaN(R))&&(R=q);break}r[T.name]=R}else{var q=r[T.name];s.isFunction(q)&&(q=r[T.name]()),q==null&&(q="");try{r.base?r.base.host.attr(w,q.toString()):r.host.attr(w,q.toString())}catch{}}});else try{r.host?r.base?r.base.host?r.base.host.attr(l,f.toString()):r.attr(l,f.toString()):r.host?r.element.setAttribute?r.element.setAttribute(l,f.toString()):r.host.attr(l,f.toString()):r.attr(l,f.toString()):r.setAttribute&&r.setAttribute(l,f.toString())}catch{}},Array.prototype.indexOf||(Array.prototype.indexOf=function(r){var l=this.length,f=Number(arguments[1])||0;
8for(f=f<0?Math.ceil(f):Math.floor(f),f<0&&(f+=l);f<l;f++)if(f in this&&this[f]===r)return f;return-1}),s.jqx.mobile=s.jqx.mobile||{},s.jqx.position=function(r){var l=parseInt(r.pageX),f=parseInt(r.pageY);if(s.jqx.mobile.isTouchDevice()){var w=s.jqx.mobile.getTouches(r),T=w[0];l=parseInt(T.pageX),f=parseInt(T.pageY)}return{left:l,top:f}},s.extend(s.jqx.mobile,{_touchListener:function(r,l){var f=function(R,A){var L=document.createEvent("MouseEvents");return L.initMouseEvent(R,A.bubbles,A.cancelable,A.view,A.detail,A.screenX,A.screenY,A.clientX,A.clientY,A.ctrlKey,A.altKey,A.shiftKey,A.metaKey,A.button,A.relatedTarget),L._pageX=A.pageX,L._pageY=A.pageY,L},w={mousedown:"touchstart",mouseup:"touchend",mousemove:"touchmove"},T=f(w[r.type],r);r.target.dispatchEvent(T);var q=r.target["on"+w[r.type]];typeof q=="function"&&q(r)},setMobileSimulator:function(r,l){if(!this.isTouchDevice()){this.simulatetouches=!0,l==!1&&(this.simulatetouches=!1);var f={mousedown:"touchstart",mouseup:"touchend",mousemove:"touchmove"},w=this;if(window.addEventListener){var T=function(){for(var q in f)r.addEventListener&&(r.removeEventListener(q,w._touchListener),r.addEventListener(q,w._touchListener,!1))};s.jqx.browser.msie,T()}}},isTouchDevice:function(){if(this.touchDevice!=null)return this.touchDevice;var r="Browser CodeName: "+navigator.appCodeName;if(r+="Browser Name: "+navigator.appName,r+="Browser Version: "+navigator.appVersion,r+="Platform: "+navigator.platform,r+="User-agent header: "+navigator.userAgent,r.indexOf("Android")!=-1||r.indexOf("IEMobile")!=-1||r.indexOf("Windows Phone")!=-1||r.indexOf("WPDesktop")!=-1||r.indexOf("ZuneWP7")!=-1||r.indexOf("BlackBerry")!=-1&&r.indexOf("Mobile Safari")!=-1||r.indexOf("ipod")!=-1||r.indexOf("nokia")!=-1||r.indexOf("Nokia")!=-1)return!0;if(r.indexOf("Chrome/17")!=-1||r.indexOf("CrOS")!=-1||r.indexOf("Opera")!=-1&&r.indexOf("Mobi")==-1&&r.indexOf("Mini")==-1&&r.indexOf("Platform: Win")!=-1)return!1;if(r.indexOf("HybridDeviceTouch")!=-1)return!0;if(r.indexOf("HybridDeviceMouse")!=-1)return!1;if(r.indexOf("Opera")!=-1&&r.indexOf("Mobi")!=-1&&r.indexOf("Opera Mobi")!=-1)return!0;if(r.indexOf("Mozilla/5.0 (X11; Linux x86_64)")!=-1)return!1;var l={ios:"i(?:Pad|Phone|Pod)(?:.*)CPU(?: iPhone)? OS ",android:"(Android |HTC_|Silk/)",blackberry:"BlackBerry(?:.*)Version/",rimTablet:"RIM Tablet OS ",webos:"(?:webOS|hpwOS)/",bada:"Bada/"};try{if(this.touchDevice!=null)return this.touchDevice;this.touchDevice=!1;for(var f in l)if(l.hasOwnProperty(f)){var w=l[f],T=r.match(new RegExp("(?:"+w+")([^\\s;]+)"));if(T)return f.toString()=="blackberry"?(this.touchDevice=!1,!1):(this.touchDevice=!0,!0)}var q=navigator.userAgent;if(navigator.platform.toLowerCase().indexOf("win")!=-1){if(q.indexOf("Windows Phone")>=0||q.indexOf("WPDesktop")>=0||q.indexOf("IEMobile")>=0||q.indexOf("ZuneWP7")>=0)return this.touchDevice=!0,!0;if(q.indexOf("Touch")>=0){var R="MSPointerDown"in window||"pointerdown"in window;return R?(this.touchDevice=!0,!0):q.indexOf("ARM")>=0?(this.touchDevice=!0,!0):(this.touchDevice=!1,!1)}}return navigator.platform.toLowerCase().indexOf("win")!=-1?(this.touchDevice=!1,!1):(("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)&&(this.touchDevice=!0),this.touchDevice)}catch{return this.touchDevice=!1,!1}},getLeftPos:function(r){for(var l=r.offsetLeft;(r=r.offsetParent)!=null;)r.tagName!="HTML"&&(l+=r.offsetLeft,document.all&&(l+=r.clientLeft));return l},getTopPos:function(r){for(var l=r.offsetTop,f=s(r).coord();(r=r.offsetParent)!=null;)r.tagName!="HTML"&&(l+=r.offsetTop-r.scrollTop,document.all&&(l+=r.clientTop));var w=navigator.userAgent.toLowerCase(),T=(w.indexOf("windows phone")!=-1||w.indexOf("WPDesktop")!=-1||w.indexOf("ZuneWP7")!=-1||w.indexOf("msie 9")!=-1||w.indexOf("msie 11")!=-1||w.indexOf("msie 10")!=-1)&&w.indexOf("touch")!=-1;return T?f.top:this.isSafariMobileBrowser()?this.isSafari4MobileBrowser()&&this.isIPadSafariMobileBrowser()?l:w.indexOf("version/7")!=-1?f.top:((w.indexOf("version/6")!=-1||w.indexOf("version/5")!=-1)&&(l=l+s(window).scrollTop()),/(Android.*Chrome\/[.0-9]* (!?Mobile))/.exec(navigator.userAgent)||/(Android.*Chrome\/[.0-9]* Mobile)/.exec(navigator.userAgent)?l+s(window).scrollTop():f.to
8p):l},isChromeMobileBrowser:function(){var r=navigator.userAgent.toLowerCase(),l=r.indexOf("android")!=-1;return l},isOperaMiniMobileBrowser:function(){var r=navigator.userAgent.toLowerCase(),l=r.indexOf("opera mini")!=-1||r.indexOf("opera mobi")!=-1;return l},isOperaMiniBrowser:function(){var r=navigator.userAgent.toLowerCase(),l=r.indexOf("opera mini")!=-1;return l},isNewSafariMobileBrowser:function(){var r=navigator.userAgent.toLowerCase(),l=r.indexOf("ipad")!=-1||r.indexOf("iphone")!=-1||r.indexOf("ipod")!=-1;return l=l&&r.indexOf("version/5")!=-1,l},isSafari4MobileBrowser:function(){var r=navigator.userAgent.toLowerCase(),l=r.indexOf("ipad")!=-1||r.indexOf("iphone")!=-1||r.indexOf("ipod")!=-1;return l=l&&r.indexOf("version/4")!=-1,l},isWindowsPhone:function(){var r=navigator.userAgent.toLowerCase(),l=r.indexOf("windows phone")!=-1||r.indexOf("WPDesktop")!=-1||r.indexOf("ZuneWP7")!=-1||r.indexOf("msie 9")!=-1||r.indexOf("msie 11")!=-1||r.indexOf("msie 10")!=-1&&r.indexOf("touch")!=-1;return l},isSafariMobileBrowser:function(){var r=navigator.userAgent.toLowerCase();if(/(Android.*Chrome\/[.0-9]* (!?Mobile))/.exec(navigator.userAgent)||/(Android.*Chrome\/[.0-9]* Mobile)/.exec(navigator.userAgent))return!0;var l=r.indexOf("ipad")!=-1||r.indexOf("iphone")!=-1||r.indexOf("ipod")!=-1||r.indexOf("mobile safari")!=-1;return l},isIPadSafariMobileBrowser:function(){var r=navigator.userAgent.toLowerCase(),l=r.indexOf("ipad")!=-1;return l},isMobileBrowser:function(){var r=navigator.userAgent.toLowerCase(),l=r.indexOf("ipad")!=-1||r.indexOf("iphone")!=-1||r.indexOf("android")!=-1;return l},getTouches:function(r){if(r.originalEvent){if(r.originalEvent.touches&&r.originalEvent.touches.length)return r.originalEvent.touches;if(r.originalEvent.changedTouches&&r.originalEvent.changedTouches.length)return r.originalEvent.changedTouches}return r.touches||(r.touches=new Array,r.touches[0]=r.originalEvent!=null?r.originalEvent:r,r.originalEvent!=null&&r.pageX&&(r.touches[0]=r),r.type=="mousemove"&&(r.touches[0]=r)),r.touches},getTouchEventName:function(r){if(this.isWindowsPhone()){var l=navigator.userAgent.toLowerCase();if(l.indexOf("windows phone 7")!=-1){if(r.toLowerCase().indexOf("start")!=-1)return"MSPointerDown";if(r.toLowerCase().indexOf("move")!=-1)return"MSPointerMove";if(r.toLowerCase().indexOf("end")!=-1)return"MSPointerUp"}if(r.toLowerCase().indexOf("start")!=-1)return"pointerdown";if(r.toLowerCase().indexOf("move")!=-1)return"pointermove";if(r.toLowerCase().indexOf("end")!=-1)return"pointerup"}else return r},dispatchMouseEvent:function(r,l,f){if(!this.simulatetouches){var w=document.createEvent("MouseEvent");w.initMouseEvent(r,!0,!0,l.view,1,l.screenX,l.screenY,l.clientX,l.clientY,!1,!1,!1,!1,0,null),f!=null&&f.dispatchEvent(w)}},getRootNode:function(r){for(;r.nodeType!==1;)r=r.parentNode;return r},setTouchScroll:function(r,l){this.enableScrolling||(this.enableScrolling=[]),this.enableScrolling[l]=r},touchScroll:function(r,l,f,M,T,q){if(r==null)return;var R=this;this.scrolling||(this.scrolling=[]),this.scrolling[M]=!1;var A=!1,L=s(r),N=["select","input","textarea"],be=0;this.enableScrolling||(this.enableScrolling=[]),this.enableScrolling[M]=!0;var M=M,z=this.getTouchEventName("touchstart")+".touchScroll",i=this.getTouchEventName("touchend")+".touchScroll",b=this.getTouchEventName("touchmove")+".touchScroll",te,se,qe,he,oe,me,ne,Q,ke,De,st,ie,Ae,X,je,de,Le,Pe;oe=l;var he=0,me=0,xe=0,We=0,Oe=0,qe=T.jqxScrollBar("max"),Pe=325;function Me(B){if(B.targetTouches&&B.targetTouches.length>=1)return B.targetTouches[0].clientY;if(B.originalEvent&&B.originalEvent.clientY!==void 0)return B.originalEvent.clientY;var Y=R.getTouches(B);return Y[0].clientY}function Ue(B){if(B.targetTouches&&B.targetTouches.length>=1)return B.targetTouches[0].clientX;if(B.originalEvent&&B.originalEvent.clientX!==void 0)return B.originalEvent.clientX;var Y=R.getTouches(B);return Y[0].clientX}var Ce=function(){var B,Y,ve,et;B=Date.now(),Y=B-ie,ie=B,ve=me-st;var at=xe-te;st=me,te=xe,Q=!0,et=1e3*ve/(1+Y);var Ie=1e3*at/(1+Y);ke=.8*et+.2*ke,De=.8*Ie+.2*De},pt=!1,be=function(B){if(!R.enableScrolling[M])return!0;
8if(s.inArray(B.target.tagName.toLowerCase(),N)!==-1)return;me=q.jqxScrollBar("value"),xe=T.jqxScrollBar("value");var Y=R.getTouches(B),ve=Y[0];Y.length==1&&R.dispatchMouseEvent("mousedown",ve,R.getRootNode(ve.target)),qe=T.jqxScrollBar("max"),oe=q.jqxScrollBar("max");function et(at){pt=!1,Q=!0,ne=Me(at),Le=Ue(at),ke=X=De=0,st=me,te=xe,ie=Date.now(),clearInterval(Ae),Ae=setInterval(Ce,100),We=me,Oe=xe,me>0&&me<oe&&q[0].style.visibility!="hidden"}return et(B),A=!1,ve.pageY,ve.pageX,R.simulatetouches&&ve._pageY!=null&&(ve._pageY,ve._pageX),R.scrolling[M]=!0,!0};L.on?L.on(z,be):L.bind(z,be);var gt=function(B,Y){return me=B>oe?oe:B<he?he:B,f(null,B,0,0,Y),B>oe?"max":B<he?"min":"value"},ft=function(B,Y){return xe=B>qe?qe:B<he?he:B,f(B,null,0,0,Y),B>qe?"max":B<he?"min":"value"};function Ke(){var B,Y;X&&(B=Date.now()-ie,Y=-X*Math.exp(-B/Pe),Y>.5||Y<-.5?(gt(je+Y),requestAnimationFrame(Ke)):gt(je))}function Ve(){var B,Y;X&&(B=Date.now()-ie,Y=-X*Math.exp(-B/Pe),Y>.5||Y<-.5?(ft(de+Y),requestAnimationFrame(Ve)):ft(de))}var mt=function(B){if(!R.enableScrolling[M]||!R.scrolling[M])return!0;pt&&(B.preventDefault(),B.stopPropagation());var Y=R.getTouches(B);if(Y.length>1)return!0;Y[0].pageY,Y[0].pageX,R.simulatetouches&&Y[0]._pageY!=null&&(Y[0]._pageY,Y[0]._pageX),A=!0;var ve=T!=null?T[0].style.visibility!="hidden":!0,et=q!=null?q[0].style.visibility!="hidden":!0;function at(Ie){var ot,Xe,vt;if(Q){ot=Me(Ie),vt=Ue(Ie),Xe=ne-ot,se=Le-vt;var it="value";if(Xe>2||Xe<-2)return ne=ot,it=gt(me+Xe,Ie),Ce(),it=="min"&&We===0||it=="max"&&We===oe||!et?!0:(Ie.preventDefault(),Ie.stopPropagation(),pt=!0,!1);if(se>2||se<-2)return Le=vt,it=ft(xe+se,Ie),Ce(),it=="min"&&Oe===0||it=="max"&&Oe===qe||!ve?!0:(pt=!0,Ie.preventDefault(),Ie.stopPropagation(),!1);Ie.preventDefault()}}(ve||et)&&(ve||et)&&at(B)};L.on?L.on(b,mt):L.bind(b,mt);var ct=function(B){if(!R.enableScrolling[M])return!0;var Y=R.getTouches(B)[0];if(!R.scrolling[M])return!0;if(Q=!1,clearInterval(Ae),ke>10||ke<-10?(X=.8*ke,je=Math.round(me+X),ie=Date.now(),requestAnimationFrame(Ke)):(De>10||De<-10)&&(X=.8*De,de=Math.round(xe+X),ie=Date.now(),requestAnimationFrame(Ve)),R.scrolling[M]=!1,A)R.dispatchMouseEvent("mouseup",Y,B.target);else{var Y=R.getTouches(B)[0],ve=R.getRootNode(Y.target);return R.dispatchMouseEvent("mouseup",Y,ve),R.dispatchMouseEvent("click",Y,ve),!0}};if(this.simulatetouches){s(window).on!=null||s(window).bind;var Ge=function(B){try{ct(B)}catch{}R.scrolling[M]=!1};if(s(window).on!=null?s(document).on("mouseup.touchScroll",Ge):s(document).bind("mouseup.touchScroll",Ge),window.frameElement&&window.top!=null){var qt=function(B){try{ct(B)}catch{}R.scrolling[M]=!1};window.top.document&&(s(window.top.document).on?s(window.top.document).on("mouseup",qt):s(window.top.document).bind("mouseup",qt))}s(document).on!=null||s(document).bind;var Ct=function(B){if(!R.scrolling[M])return!0;R.scrolling[M]=!1;var Y=R.getTouches(B)[0],ve=R.getRootNode(Y.target);R.dispatchMouseEvent("mouseup",Y,ve),R.dispatchMouseEvent("click",Y,ve)};s(document).on!=null?s(document).on("touchend",Ct):s(document).bind("touchend",Ct)}L.on&&(L.on("dragstart",function(B){B.preventDefault()}),L.on("selectstart",function(B){B.preventDefault()})),L.on?L.on(i+" touchcancel.touchScroll",ct):L.bind(i+" touchcancel.touchScroll",ct)}}),s.jqx.cookie=s.jqx.cookie||{},s.extend(s.jqx.cookie,{cookie:function(r,l,f){if(arguments.length>1&&String(l)!=="[object Object]"){if(f=s.extend({},f),l==null&&(f.expires=-1),typeof f.expires=="number"){var w=f.expires,T=f.expires=new Date;T.setDate(T.getDate()+w)}return l=String(l),document.cookie=[encodeURIComponent(r),"=",f.raw?l:encodeURIComponent(l),f.expires?"; expires="+f.expires.toUTCString():"",f.path?"; path="+f.path:"",f.domain?"; domain="+f.domain:"",f.secure?"; secure":""].join("")}f=l||{};var q,R=f.raw?function(A){return A}:decodeURIComponent;return(q=new RegExp("(?:^|; )"+encodeURIComponent(r)+"=([^;]*)").exec(document.cookie))?R(q[1]):null}}),s.jqx.string=s.jqx.string||{},s.extend(s.jqx.string,{replace:function(r,l,f){if(l===f)return this;for(var w=r,T=w.indexOf(l);T!=-1;)w=w.replace(l,f),T=w.indexOf(l);return w},contains:function(r,l){return r==null||l==null?!1:r.indexOf(l)!=-1},containsIgnoreCase:function(r,l){return r==null||l==null?!1:r.toString().toUpperCase().indexOf(l.toString().toUpperCase())!=-1},equals:function(r,l){return r==null||l==null?!1:(r=this.normalize(r),l.length==r.length?r.slice(0,l.length)==l:!1)},equalsIgnoreCase:function(r,l){return r==null||l==null?!1:(r=this.normalize(r),l.length==r.length?r.toUpperCase().slice(0,l.length)==l.toUpperCase():!1)},startsWith:function(r,l){return r==null||l==null?!1:r.slice(0,l.length)==l},startsWithIgnoreCase:function(r,l){return r==null||l==null?!1:r.toUpperCase().slice(0,l.length)==l.toUpperCase()},normalize:function(r){return r.charCodeAt(r.length-1)==65279&&(r=r.substring(0,r.length-1)),r},endsWith:function(r,l){return r==null||l==null?!1:(r=this.normalize(r),r.slice(-l.length)==l)},endsWithIgnoreCase:function(r,l){return r==null||l==null?!1:(r=this.normalize(r),r.toUpperCase().slice(-l.length)==l.toUpperCase())}}),s.extend(s.easing,{easeOutBack:function(r,l,f,w,T,q){return q==null&&(q=1.70158),w*((l=l/T-1)*l*((q+1)*l+q)+1)+f},easeInQuad:function(r,l,f,w,T){return w*(l/=T)*l+f},easeInOutCirc:function(r,l,f,w,T){return(l/=T/2)<1?-w/2*(Math.sqrt(1-l*l)-1)+f:w/2*(Math.sqrt(1-(l-=2)*l)+1)+f},easeInOutSine:function(r,l,f,w,T){return-w/2*(Math.cos(Math.PI*l/T)-1)+f},easeInCubic:function(r,l,f,w,T){return w*(l/=T)*l*l+f},easeOutCubic:function(r,l,f,w,T){return w*((l=l/T-1)*l*l+1)+f},easeInOutCubic:function(r,l,f,w,T){return(l/=T/2)<1?w/2*l*l*l+f:w/2*((l-=2)*l*l+2)+f},easeInSine:function(r,l,f,w,T){return-w*Math.cos(l/T*(Math.PI/2))+w+f},easeOutSine:function(r,l,f,w,T){return w*Math.sin(l/T*(Math.PI/2))+f},easeInOutSine:function(r,l,f,w,T){return-w/2*(Math.cos(Math.PI*l/T)-1)+f}})}(h),function(s){s.event&&s.event.special&&s.extend(s.event.special,{close:{noBubble:!0},open:{noBubble:!0},cellclick:{noBubble:!0},rowclick:{noBubble:!0},tabclick:{noBubble:!0},selected:{noBubble:!0},expanded:{noBubble:!0},collapsed:{noBubble:!0},valuechanged:{noBubble:!0},expandedItem:{noBubble:!0},collapsedItem:{noBubble:!0},expandingItem:{noBubble:!0},collapsingItem:{noBubble:!0}}),s.fn.extend&&s.fn.extend({ischildof:function(r){if(!s(this).parents){var l=r.element.contains(this.element);return l}for(var f=s(this).parents().get(),w=0;w<f.length;w++)if(typeof r!="string"){var T=f[w];if(r!==void 0&&T==r[0])return!0}else if(r!==void 0&&s(f[w]).is(r))return!0;return!1}}),s.fn.jqxProxy=function(){var r=s(this).data().jqxWidget,l=Array.prototype.slice.call(arguments,0),f=r.element;return f||(f=r.base.element),s.jqx.jqxWidgetProxy(r.widgetName,f,l)};var y=s.originalVal=s.fn.val;s.fn.val=function(r){if(typeof r>"u"){if(s(this).hasClass("jqx-widget")||s(this).hasClass("jqx-input-group")){var l=s(this).data().jqxWidget;if(l&&l.val)return l.val()}if(this[0]&&this[0].tagName.toLowerCase().indexOf("angular")>=0){var l=s(this).find(".jqx-widget").data().jqxWidget;if(l&&l.val)return l.val()}
8return y.call(this)}else{if(s(this).hasClass("jqx-widget")||s(this).hasClass("jqx-input-group")){var l=s(this).data().jqxWidget;if(l&&l.val)return arguments.length!=2?l.val(r):l.val(r,arguments[1])}if(this[0]&&this[0].tagName.toLowerCase().indexOf("angular")>=0){var l=s(this).find(".jqx-widget").data().jqxWidget;if(l&&l.val)return arguments.length!=2?l.val(r):l.val(r,arguments[1])}return y.call(this,r)}},s.fn.modal&&s.fn.modal.Constructor&&(s.fn.modal.Constructor.prototype.enforceFocus=function(){s(document).off("focusin.bs.modal").on("focusin.bs.modal",s.proxy(function(r){if(this.$element[0]!==r.target&&!this.$element.has(r.target).length){if(s(r.target).parents().hasClass("jqx-popup"))return!0;this.$element.trigger("focus")}},this))}),s.fn.coord=function(r){var l,f,w={top:0,left:0},T=this[0],q=T&&T.ownerDocument;if(q){if(l=q.documentElement,!s.contains(l,T))return w;typeof T.getBoundingClientRect!==void 0&&(w=T.getBoundingClientRect());var R=function(i){return s.isWindow(i)?i:i.nodeType===9?i.defaultView||i.parentWindow:!1};f=R(q);var A=0,L=0,N=navigator.userAgent.toLowerCase(),M=N.indexOf("ipad")!=-1||N.indexOf("iphone")!=-1;if(M&&(A=2),r==!0&&document.body.style.position!="static"&&document.body.style.position!=""){var z=s(document.body).coord();A=-z.left,L=-z.top}return{top:L+w.top+(f.pageYOffset||l.scrollTop)-(l.clientTop||0),left:A+w.left+(f.pageXOffset||l.scrollLeft)-(l.clientLeft||0)}}},s.jqx.ripplers=[],s.jqx.ripple=function(r,l,f){l||(l=r);var w=s(r);w.append("<span class='ink'></span>");for(var T=w.find(".ink"),q=!1,R=0;R<s.jqx.ripplers.length;R++){var A=s.jqx.ripplers[R];if(A.element[0]===r[0]){q=!0;break}}if(q||s.jqx.ripplers.push({ink:T,element:r,hostElement:l,hostElementType:f}),f==="checkbox"||f==="radiobutton"){var L=Math.max(w.outerWidth(),w.outerHeight());T.css({height:L,width:L});var N=w.width()/2-T.width()/2,M=w.height()/2-T.height()/2;T.css({top:M+"px",left:N+"px"})}s.jqx.ripplers.length===1&&s(document).on("mouseup",function(z){s.jqx.ripple.mouseCaptured=!1;for(var i=0;i<s.jqx.ripplers.length;i++){var b=s.jqx.ripplers[i];b.ink.removeClass("active"),b.element.removeClass("active"),f!=="checkbox"&&f!=="radiobutton"&&b.ink.hasClass("animate")&&b.ink.removeClass("animate")}}),l.off("mousedown.ripple"),l.on("mousedown.ripple",function(z){var i=s(r);s.jqx.ripple.mouseCaptured=!0,setTimeout(function(){i.find(".ink").length==0&&i.append("<span class='ink'></span>");var b=i.find(".ink");if(b.removeClass("animate"),!b.height()&&!b.width()){var te=Math.max(i.outerWidth(),i.outerHeight());b.css({height:te,width:te})}if(f==="checkbox"||f==="radiobutton"){if(f==="checkbox"&&l.jqxCheckBox("disabled")||f==="radiobutton"&&l.jqxRadioButton("disabled"))return;var se=i.width()/2-b.width()/2,oe=i.height()/2-b.height()/2;b.css({top:oe+"px",left:se+"px"}).addClass("animate"),b.on("animationend",function(){s.jqx.ripple.mouseCaptured&&(b.removeClass("animate"),b.addClass("active"),r.addClass("active"))});return}var se=z.pageX-i.offset().left-b.width()/2,oe=z.pageY-i.offset().top-b.height()/2;b.css({top:oe+"px",left:se+"px"}).addClass("animate")})})}}(h),Cn}sa();(function(p){p.jqx.jqxWidget("jqxRating","",{}),p.extend(p.jqx._jqxRating.prototype,{defineInstance:function(){var h={count:5,disabled:!1,value:0,height:"auto",width:"auto",precision:1,singleVote:!1,itemHeight:"20",itemWidth:"20",_itemHeight:void 0,_itemWidth:void 0,_images:[],aria:{"aria-valuenow":{name:"value",type:"number"},"aria-disabled":{name:"disabled",type:"boolean"}},_events:["change"],_invalidArgumentExceptions:{invalidPrecision:"The value of the precision property is invalid!",invalidWidth:"Width you've entered is invalid!",invalidHeight:"Height you've entered is invalid!",invalidCount:"You've entered invalid value for the count property!",invalidValue:"You've entered invalid value property!"}};return this===p.jqx._jqxRating.prototype||p.extend(!0,this,h),h},createInstance:function(h){p.jqx.aria(this),this._createRating()},destroy:function(){this.host.remove()},val:function(h){return arguments.length==0||typeof h=="object"?this.value:(typeof h=="string"?this.value=parseInt(h):this.value=h,this.setValue(this.value),this.value)},_createRating:function(){this.host.css("display","none"),this.host.empty(),this._addInput(),this._val
8idateProperties(),this._render(),this._performLayout(),this._removeEventHandlers(),this._addEventHandlers(),this.host.css("display","block"),this.host.addClass(this.toThemeProperty("jqx-widget")),this.disabled&&this.disable()},_addInput:function(){var h=this.host.attr("name");this.input=p("<input type='hidden'/>"),this.host.append(this.input),h&&this.input.attr("name",h),this.input.val(this.value.toString())},_render:function(){for(var h=1;h<=this.count;h++)this._images[h-1]=p('<div style="float:left;width:auto;height:auto; position: relative;"><div style="position:absolute;width:auto;height:auto;visibility:hidden;" class="jqx-rating-hoverWrapper"><div style="width:auto;height:auto;float:left;" class="'+this.toThemeProperty("jqx-rating-image-hover")+'"></div><div style="visibility:hidden;width:auto;height:auto;" class="'+this.toThemeProperty("jqx-rating-image-backward")+'"></div></div><div style="position:absolute;width:auto;height:auto;" class="jqx-rating-voteWrapper"><div style="width:auto;height:auto;float:left;" class="'+this.toThemeProperty("jqx-rating-image-default")+'"></div><div style="width:0;height:auto;float:left;" class="'+this.toThemeProperty("jqx-rating-image-backward")+'"></div></div></div>'),this.host.append(this._images[h-1])},_performLayout:function(){for(var h=1;h<=this.count;h++){var s=this._images[h-1].find(this.toThemeProperty(".jqx-rating-image-backward",!0)),y=this._images[h-1].find(this.toThemeProperty(".jqx-rating-image-default",!0)),r=this._images[h-1].find(this.toThemeProperty(".jqx-rating-image-hover",!0)),l=this._getImageName(y),f=this._getImageName(r),w=this._getImageName(s);y.css("background-image","none"),r.css("background-image","none"),s.css("background-image","none"),this._appendImage(r,f,h-1),this._appendImage(s,w,h-1),this._appendImage(y,l,h-1)}},resize:function(h,s){this.width=h,this.height=s,this._setControlSize(this.width,this.height)},_setControlSize:function(h,s){this.host.css("height",this.height),this.host.css("width",this.width),this.itemHeight&&this.itemHeight!=="auto"?this._itemHeight=parseInt(this.itemHeight):this._itemHeight=s,this.itemWidth&&this.itemWidth!=="auto"?this._itemWidth=parseInt(this.itemWidth):this._itemWidth=h},_appendImage:function(h,s,y){var r=this,l=p('<img style="-moz-user-select:-moz-none;-khtml-user-select: none;-webkit-user-select:none;user-select:none;" class="'+this.toThemeProperty("jqx-rating-image")+'" src="'+s+'" />');h.append(l);try{l.load(function(){r._initialized||(r._setControlSize(p(this).width(),p(this).height()),r._setValue(r.value,".jqx-rating-voteWrapper",".jqx-rating-image-default",".jqx-rating-image-backward"),r._initialized=!0),r._images[y].height(r._itemHeight),p(this).height(r._itemHeight),r._images[y].width(r._itemWidth),p(this).width(r._itemWidth)})}catch{l[0].onload=function(){r._initialized||(r._setControlSize(p(this).width(),p(this).height()),r._setValue(r.value,".jqx-rating-voteWrapper",".jqx-rating-image-default",".jqx-rating-image-backward"),r._initialized=!0),r._images[y].height(r._itemHeight),p(this).height(r._itemHeight),r._images[y].width(r._itemWidth),p(this).width(r._itemWidth)}}return l},_validateProperties:function(){try{if(this.precision<.001||this.precision>1)throw this._invalidArgumentExceptions.invalidPrecision;if(this.height!=="auto"&&parseInt(this.height)<0)throw this._invalidArgumentExceptions.invalidHeight;if(this.width!=="auto"&&parseInt(this.width)<0)throw this._invalidArgumentExceptions.invalidWidth;if(this.count<=0)throw this._invalidArgumentExceptions.invalidCount;if(this.value>this.count||this.value<0)throw this._invalidArgumentExceptions.invalidValue}catch(h){alert(h)}},_getImageIndex:function(h){for(var s=0;h!==this._images[s][0];)s++;return++s},_getRating:function(h,s){var y=this._getImageIndex(h);if(this.precision<1){for(var r=parseInt(s)-parseInt(p(h).position().left),l=this._itemWidth*this.precision,f=0;f<r;)f+=l;f>parseInt(this._itemWidth)-l&&(f=parseInt(this._itemWidth));var w=f/p(h).width();y-=1-w}return y},_addEventHandlers:function(){for(var h=this,s=0;s<this.count;s++)p.jqx.mobile.isTouchDevice()||(this.addHandler(this._images[s],"mousemove",function(y){var r=h._getRating(this,y.pageX);h._setValue(r,".jqx-rating-hoverWrapper",".jqx-rating-image-hover",".jqx-rating-image-backward")}),this.addHandler(this._images[s],"mouseenter",function(y){for(var r=h._getImageIndex(this),l=0;l<r;l++)h._images[l].children(".jqx-rating-hoverWrapper").css("z-index","10"),h._images[l].children(".jqx-rating-voteWrapper").css("z-index","1"),h._images[l].children(".jqx-rating-hoverWrapper").css("visibility","visible")}),this.addHandler(this._images[s],"mouseleave",function(y){for(var r=h._getImageIndex(this),l=0;l<r;l++)h._images[l].children(".jqx-rating-voteWrapper").css("z-index","10"),h._images[l].children(".jqx-rating-hoverWrapper").css("z-index","1"),h._images[l].children(".jqx-rating-hoverWrapper").css("visibility","hidden")})),this.addHandler(this._images[s],"click",function(y){var r=h._getRating(this,y.pageX);h._setValue(r,".jqx-rating-voteWrapper",".jqx-rating-image-default",".jqx-rating-image-backward"),h.singleVote&&h.disable(),y.stopPropagation(),h._raiseEvent(0,r)}),this.addHandler(this._images[s],"dragstart",function(y){return!1})},_removeEventHandlers:function(){for(var h=0;h<this.count;h++)this.removeHandler(this._images[h],"mousemove"),this.removeHandler(this._images[h],"mouseenter"),this.removeHandler(this._images[h],"mouseleave"),this.removeHandler(this._images[h],"click"),this.removeHandler(this._images[h],"dragstart")},_getImageName:function(h){var s=h.css("background-image");return s=s.replace('url("',""),s=s.replace('")',""),s=s.replace("url(",""),s=s.replace(")",""),s},_setValue:function(h,s,y,r){for(var l=1;l<=this.count;l++){var f=1,w=this._images[l-1].children(s),T=w.children(y),q=w.children(r);l>h&&(Math.abs(l-h)<1?f=1-Math.abs(l-h):f=0),T.width(this._itemWidth*f),q.width(this._itemWidth-parseInt(T.width())),w.children(this.toThemeProperty(r)).children(0).css("margin-left",-this._itemWidth*f+"px")}p.jqx.aria(this,"aria-valuenow",h)},_raiseEvent:function(h,s){var y=new p.Event(this._events[h]);return y.owner=this,y.value=s,y.oldvalue=this.value,this.value=s,this.input&&this.input.val(this.value.toString()),this.host.trigger(y)},setValue:function(h){this._setValue(h,".jqx-rating-voteWrapper",".jqx-rating-image-default",".jqx-rating-image-backward"),this.value=h,this._raiseEvent(0,this.value)},getValue:function(){return this.value},disable:function(){this._removeEventHandlers(),this.disabled=!0,p.jqx.aria(this,"aria-disabled",!0)},enable:function(){this._removeEventHandlers(),this._addEventHandlers(),this.disabled=!1,p.jqx.aria(this,"aria-disabled",!1)}
8,propertyChangedHandler:function(h,s,y,r){if(s==="disabled"){r?this.disable():this.enable();return}else s==="value"?h.setValue(r):h._createRating()}})})(jqxBaseFramework);/*! *****************************************************************************
9Copyright (c) Microsoft Corporation. All rights reserved.
10Licensed under the Apache License, Version 2.0 (the "License"); you may not use
11this file except in compliance with the License. You may obtain a copy of the
12License at http://www.apache.org/licenses/LICENSE-2.0
13
14THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
16WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
17MERCHANTABLITY OR NON-INFRINGEMENT.
18
19See the Apache Version 2.0 License for specific language governing permissions
20and limitations under the License.
21***************************************************************************** */var Pi=function(p,h){return Pi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,y){s.__proto__=y}||function(s,y){for(var r in y)y.hasOwnProperty(r)&&(s[r]=y[r])},Pi(p,h)};function aa(p,h){Pi(p,h);function s(){this.constructor=p}p.prototype=h===null?Object.create(h):(s.prototype=h.prototype,new s)}var oa=function(p){aa(h,p);function h(s){var y=p.call(this,s)||this;return y._jqx=la,y._id="JqxRating"+y._jqx.generateID(),y._componentSelector="#"+y._id,y.state={lastProps:s},y}return h.getDerivedStateFromProps=function(s,y){Object.is||(Object.is=function(f,w){return f===w?f!==0||1/f===1/w:f!==f&&w!==w});var r=Object.is(s,y.lastProps);if(!r){var l={lastProps:s};return l}return null},h.prototype.componentDidMount=function(){var s=this._manageProps();this._jqx(this._componentSelector).jqxRating(s),this._wireEvents()},h.prototype.componentDidUpdate=function(){var s=this._manageProps();this.setOptions(s),this._wireEvents()},h.prototype.render=function(){return le.createElement("div",{id:this._id,className:this.props.className,style:this.props.style},this.props.children)},h.prototype.setOptions=function(s){this._jqx(this._componentSelector).jqxRating(s)},h.prototype.getOptions=function(s){return this._jqx(this._componentSelector).jqxRating(s)},h.prototype.disable=function(){this._jqx(this._componentSelector).jqxRating("disable")},h.prototype.enable=function(){this._jqx(this._componentSelector).jqxRating("enable")},h.prototype.getValue=function(){return this._jqx(this._componentSelector).jqxRating("getValue")},h.prototype.setValue=function(s){this._jqx(this._componentSelector).jqxRating("setValue",s)},h.prototype.val=function(s){if(s)this._jqx(this._componentSelector).jqxRating("val",s);else return this._jqx(this._componentSelector).jqxRating("val")},h.prototype._manageProps=function(){var s=["count","disabled","height","itemHeight","itemWidth","precision","singleVote","value","width"],y={};for(var r in this.props)s.indexOf(r)!==-1&&(y[r]=this.props[r]);return y},h.prototype._wireEvents=function(){for(var s in this.props)if(s.indexOf("on")===0){var y=s.slice(2);y=y.charAt(0).toLowerCase()+y.slice(1),this._jqx(this._componentSelector).off(y),this._jqx(this._componentSelector).on(y,this.props[s])}},h}(le.PureComponent),la=window.JQXLite;const ua=Tt(({albumDetailsStore:p})=>{const{t:h}=Ze(["Resources","ViewRes","ViewRes.Album"]);return W(hi,{title:h("ViewRes.Album:Details.EditAlbumInCollection"),autoOpen:p.editCollectionDialog.dialogVisible,width:320,buttons:[{text:h("ViewRes:Shared.Save"),click:async()=>{ge(()=>{p.editCollectionDialog.dialogVisible=!1}),await An.post(Ir.mapRelative("/User/UpdateAlbumForUser"),{albumId:p.edit
21CollectionDialog.albumId,collectionStatus:p.editCollectionDialog.albumPurchaseStatus,mediaType:p.editCollectionDialog.albumMediaType,rating:p.editCollectionDialog.collectionRating}),ge(()=>{p.userHasAlbum=p.editCollectionDialog.albumPurchaseStatus!==qn.Nothing}),Ss(h("AjaxRes:Album.AddedToCollection"))}}],close:()=>ge(()=>{p.editCollectionDialog.dialogVisible=!1}),children:[h("ViewRes.Album:Details.Status"),":"," ",g("select",{className:"input-medium",value:p.editCollectionDialog.albumPurchaseStatus,onChange:s=>ge(()=>{p.editCollectionDialog.albumPurchaseStatus=s.target.value}),children:Object.values(qn).map(s=>g("option",{value:s,children:h(`Resources:AlbumCollectionStatusNames.${s}`)},s))}),g("br",{}),h("ViewRes.Album:Details.MediaType"),":"," ",g("select",{className:"input-medium",value:p.editCollectionDialog.albumMediaType,onChange:s=>ge(()=>{p.editCollectionDialog.albumMediaType=s.target.value}),children:[Li.Other,Li.PhysicalDisc,Li.DigitalDownload].map(s=>g("option",{value:s,children:h(`Resources:AlbumMediaTypeNames.${s}`)},s))}),W("div",{children:[h("ViewRes.Album:Details.MyRating"),g(oa,{value:p.editCollectionDialog.collectionRating,onChange:s=>ge(()=>{p.editCollectionDialog.collectionRating=s.value})})," "," "," ",g(ut,{href:"#",onClick:()=>ge(()=>{p.editCollectionDialog.collectionRating=0}),className:"textLink deleteLink",children:h("ViewRes:Shared.Delete")})]})]})});var fa=Object.defineProperty,ca=Object.getOwnPropertyDescriptor,ae=(p,h,s,y)=>{for(var r=y>1?void 0:y?ca(h,s):h,l=p.length-1,f;l>=0;l--)(f=p[l])&&(r=(y?f(h,s,r):f(r))||r);return y&&r&&fa(h,s,r),r};class gi{constructor(h,s){J(this,"dialogVisible",!1);J(this,"formatString");J(this,"show",()=>{this.dialogVisible=!0});this.albumId=h,Jt(this),this.formatString=s}}ae([Te],gi.prototype,"dialogVisible",2);ae([Te],gi.prototype,"formatString",2);ae([jt],gi.prototype,"show",2);class Yt{constructor(h,s,y,r){J(this,"dialogVisible",!1);J(this,"albumMediaType");J(this,"albumPurchaseStatus");J(this,"collectionRating");this.albumId=h,Jt(this),this.albumMediaType=s,this.albumPurchaseStatus=y,this.collectionRating=r}}ae([Te],Yt.prototype,"dialogVisible",2);ae([Te],Yt.prototype,"albumMediaType",2);ae([Te],Yt.prototype,"albumPurchaseStatus",2);ae([Te],Yt.prototype,"collectionRating",2);class ht{constructor(h,s,y){J(this,"date");J(this,"editedTitle","");J(this,"editedText","");J(this,"id");J(this,"languageCode");J(this,"text");J(this,"title");J(this,"user");J(this,"beginEdit",()=>{this.editedTitle=this.title,this.editedText=this.text});J(this,"saveChanges",()=>{this.text=this.editedText,this.title=this.editedTitle});J(this,"toContract",()=>({date:new Date(this.date).toISOString(),id:this.id,languageCode:this.languageCode,text:this.text,title:this.title,user:this.user}));this.canBeDeleted=s,this.canBeEdited=y,Jt(this),this.date=h.date,this.id=h.id,this.languageCode=h.languageCode,this.text=h.text,this.title=h.title,this.user=h.user}}ae([Te],ht.prototype,"editedTitle",2);ae([Te],ht.prototype,"editedText",2);ae([Te],ht.prototype,"languageCode",2);ae([Te],ht.prototype,"text",2);ae([Te],ht.prototype,"title",2);ae([jt],ht.prototype,"beginEdit",2);ae([jt],ht.prototype,"saveChanges",2);class ze{constructor(h,s,y,r,l){J(this,"editReviewStore");J(this,"languageCode","");J(this,"newReviewText","");J(this,"newReviewTitle","");J(this,"reviews",[]);J(this,"showCreateNewReview",!1);J(this,"writeReview",!1);J(this,"userRatings",[]);J(this,"beginEditReview",h=>{h.beginEdit(),this.editReviewStore=h});J(this,"cancelEditReview",()=>{this.editReviewStore=void 0});J(this,"canDeleteReview",h=>this.canDeleteAllComments||this.canEditAllComments||h.user&&h.user.id===this.loggedUserId);J(this,"canEditReview",h=>this.canEditAllComments||h.user&&h.user.id===this.loggedUserId);J(this,"createNewReview",async()=>{const h={date:new Date().toISOString(),languageCode:this.languageCode,text:this.newReviewText,title:this.newReviewTitle,user:{id:this.loggedUserId}};this.newReviewText="",this.newReviewTitle="",this.showCreateNewReview=!1,this.languageCode="";const s=await this.albumRepo.createOrUpdateReview({albumId:this.albumId,reviewContract:h});ge(()=>{this.reviews.push(new ht(s,this.canDeleteReview(s),this.canEditReview(s)))})});J(this,"deleteReview",h=>(Pr(this.reviews,h),this.albumRepo.deleteReview({albumId:this.albumId,reviewId:h.id})));J(this,"getRatingForUser",h=>this.userRatings.filter(s=>!!s.user&&s.user.id===h&&!!s.rating).map(s=>s.rating).take(1)[0]);J(this,"ratingStars",h=>[1,2,3,4,5].map(y=>({enabled:Math.round(h)>=y})));J(this,"saveEditedReview",()=>{if(!this.editReviewStore)return;this.editReviewStore.saveChanges();const h=this.editReviewStore.toContract();this.albumRepo.createOrUpdateReview({albumId:this.albumId,reviewContract:h}),this.editReviewStore=void 0});
21J(this,"loadReviews",async()=>{const[h,s]=await Promise.all([this.albumRepo.getReviews({albumId:this.albumId}),this.albumRepo.getUserCollections({albumId:this.albumId})]),y=h.map(r=>new ht(r,this.canDeleteReview(r),this.canEditReview(r)));ge(()=>{this.reviews=y,this.userRatings=s})});this.albumRepo=h,this.albumId=s,this.canDeleteAllComments=y,this.canEditAllComments=r,this.loggedUserId=l,Jt(this)}get reviewAlreadySubmitted(){return this.reviews.some(h=>h.user.id===this.loggedUserId&&h.languageCode===this.languageCode)}}ae([Te],ze.prototype,"editReviewStore",2);ae([Te],ze.prototype,"languageCode",2);ae([Te],ze.prototype,"newReviewText",2);ae([Te],ze.prototype,"newReviewTitle",2);ae([Te],ze.prototype,"reviews",2);ae([Te],ze.prototype,"showCreateNewReview",2);ae([Te],ze.prototype,"writeReview",2);ae([Te],ze.prototype,"userRatings",2);ae([Mr],ze.prototype,"reviewAlreadySubmitted",1);ae([jt],ze.prototype,"beginEditReview",2);ae([jt],ze.prototype,"cancelEditReview",2);ae([jt],ze.prototype,"createNewReview",2);ae([jt],ze.prototype,"deleteReview",2);ae([jt],ze.prototype,"saveEditedReview",2);class Qt{constructor(h,s,y,r,l,f,w,T,q){J(this,"comments");J(this,"downloadTagsDialog");J(this,"editCollectionDialog");J(this,"id");J(this,"reportStore");J(this,"description");J(this,"personalDescription");J(this,"reviewsStore");J(this,"tagsEditStore");J(this,"tagUsages");J(this,"userHasAlbum");J(this,"usersContent");J(this,"userCollectionsPopupVisible",!1);J(this,"maintenanceDialogVisible",!1);J(this,"getUsers",async()=>{await An.post(bt.mapAbsoluteUrl("/Album/UsersWithAlbumInCollection"),{albumId:this.id},h=>{ge(()=>{this.usersContent=h,this.userCollectionsPopupVisible=!0})})});J(this,"getRelated",()=>this.albumRepo.getRelated({albumId:this.id,lang:this.values.languagePreference,fields:yn.MainPicture}));this.values=h,this.albumRepo=y,Jt(this),this.id=f.id,this.userHasAlbum=f.userHasAlbum,this.downloadTagsDialog=new gi(this.id,T),this.editCollectionDialog=new Yt(this.id,f.albumMediaType,f.albumPurchaseStatus,f.collectionRating),this.description=new fs(q),this.comments=new ks(s,y,this.id,w,w,!1,f.latestComments,!0,f.commentsLocked),this.personalDescription=new ls(h,f.personalDescriptionAuthor,f.personalDescriptionText,l,()=>y.getOneWithComponents({id:this.id,fields:[yn.Artists],lang:h.languagePreference}).then(R=>(R.artists??[]).filter(_r.isValidForPersonalDescription).map(L=>L.artist)),R=>y.updatePersonalDescription({albumId:this.id,text:R.text,author:R.author.entry})),this.tagsEditStore=new Zr({getTagSelections:()=>r.getAlbumTagSelections({albumId:this.id}),saveTagSelections:R=>r.updateAlbumTags({albumId:this.id,tags:R}).then(this.tagUsages.updateTagUsages)},Be.Album,f.discType,()=>y.getTagSuggestions({albumId:this.id})),this.tagUsages=new Kr(f.tagUsages),this.reportStore=new Rs((R,A)=>y.createReport({albumId:this.id,reportType:R,notes:A,versionNumber:void 0})),this.reviewsStore=new ze(y,this.id,w,w,s.loggedUserId),this.albumRepo=y}}ae([Te],Qt.prototype,"userHasAlbum",2);ae([Te],Qt.prototype,"usersContent",2);ae([Te],Qt.prototype,"userCollectionsPopupVisible",2);ae([Te],Qt.prototype,"maintenanceDialogVisible",2);const da=Tt(({model:p,albumDetailsStore:h})=>{const s=Dt(),{t:y}=Ze(["ViewRes","ViewRes.Album","VocaDb.Model.Resources.Albums"]),r=p.artistString?`${p.name} - ${p.artistString}`:p.name;return W(zr,{pageTitle:r,ready:!0,title:p.name,subtitle:`${p.artistString} (${y(`VocaDb.Model.Resources.Albums:DiscTypeNames.${p.discType}`)})`,parents:g(ce,{children:g(Fr.Item,{linkAs:Fe,linkProps:{to:"/Album"},children:y("ViewRes:Shared.Albums")})}),toolbar:W(ce,{children:[p.primaryPV&&g("div",{className:"song-pv-player",children:g(Xr,{entry:{...p.contract,entryType:Be.Album},pv:p.primaryPV,allowInline:!0})}),h.userHasAlbum?g(rt,{as:ut,href:"#",disabled:!s.isLoggedIn,onClick:()=>ge(()=>{h.editCollectionDialog.dialogVisible=!0}),icons:{primary:"ui-icon-wrench"},children:y("ViewRes.Album:Details.UpdateCollection")}):g(rt,{as:ut,href:"#",disabled:!s.isLoggedIn,onClick:()=>ge(()=>{h.editCollectionDialog.dialogVisible=!0}),icons:{primary:"ui-icon-star"},children:y("ViewRes.Album:Details.AddToCollection")})," ",g(rt,{as:Fe,to:`/Album/Edit/${p.id}`,disabled:!s.canEdit({...p.contract,entryType:Be.Album}),icons:{primary:"ui-icon-wrench"},children:y("ViewRes:Shared.Edit")})," ",g(rt,{as:Fe,to:`/Album/Versions/${p.id}`,icons:{primary:"ui-icon-clock"},children:y("ViewRes:EntryDetails.ViewModifications")})," ",W("span",{className:"ui-buttonset",children:[g(rt,{as:"a",href:`/Album/DownloadTags/${p.id}`,icons:{primary:"ui-icon-arrowthickstop-1-s"},children:y("ViewRes.Album:Details.DownloadTrackList")})," ",g(rt,{as:ut,href:"#",onClick:h.downloadTagsDialog.show,text:!1,icons:{primary:"ui-icon-triangle-1-s"},children:y("ViewRes.Album:Details.Customize")})]})," ",g(rt,{as:ut,href:"#",onClick:h.reportStore.show,icons:{primary:"ui-icon-alert"},children:y("ViewRes:EntryDetails.ReportAnError")})," ",s.canAccessManageMenu&&g(ce,{children:g(rt,{as:ut,href:"#",onClick:()=>ge(()=>{h.maintenanceDialogVisible=!0}),icons:{primary:"ui-icon-wrench"},children:"Maintenance actions"})})," ",g(Ur,{status:p.status})]}),children:[p.deleted&&g($r,{mergedTo:p.mergedTo?{...p.mergedTo,entryType:Be.Album}:void 0}),p.draft&&!p.deleted&&g(Yr,{section:"glalbums"}),g(na,{model:p,albumDetailsStore:h}),g(Gr,{tagsEditStore:h.tagsEditStore}),g(ra,{albumDetailsStore:h}),g(ua,{albumDetailsStore:h}),g(br,{reportEntryStore:h.reportStore,reportTypes:Object.values(In).map(l
21=>({id:l,name:y(`VocaDb.Web.Resources.Domain:EntryReportTypeNames.${l}`),notesRequired:Es.includes(l)}))}),g(hi,{title:"Maintenance actions",autoOpen:h.maintenanceDialogVisible,width:400,close:()=>ge(()=>{h.maintenanceDialogVisible=!1}),children:g("div",{children:g("p",{children:g(rt,{as:"a",href:`/Album/RegenerateImages/${p.id}`,children:"Regenerate image variants"})})})})]})}),mo=()=>{const p=En(),h=Dt(),{id:s}=Wr(),[y,r]=Se.useState(void 0);return Se.useEffect(()=>{Tn.start(),wn.getDetails({id:Number(s)}).then(l=>{var w;const f=new es(l,Vr.primaryPV(l.pvs,p.values.loggedUser));r({model:f,albumDetailsStore:new Qt(p.values,h,wn,Hr,Br,f.jsonModel,h.canDeleteComments,((w=h.loggedUser)==null?void 0:w.albumFormatString)??"",!!f.description.english)}),Tn.done()}).catch(l=>{throw l.response&&l.response.status===404&&(window.location.href="/Error/NotFound"),l})},[p,h,s]),y?g(da,{model:y.model,albumDetailsStore:y.albumDetailsStore}):g(ce,{})};export{mo as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.