From 9f0e512f5f9c58952225d8a283fc67ecb776df6a Mon Sep 17 00:00:00 2001 From: markus101 Date: Wed, 2 Feb 2011 18:49:52 -0800 Subject: [PATCH] Returned missing Graphics, CSS and JavaScript files. Settings Sub-menu updated to include Quality link. Quality config page started. --- NzbDrone.Core/CentralDispatch.cs | 1 + .../Content/Black/treeview-nodes-rtl.png | Bin 0 -> 177 bytes .../Content/Default/treeview-nodes-rtl.png | Bin 0 -> 212 bytes .../Content/Forest/treeview-nodes-rtl.png | Bin 0 -> 212 bytes .../Content/Hay/treeview-nodes-rtl.png | Bin 0 -> 212 bytes NzbDrone.Web/Content/Images/img01.jpg | Bin 0 -> 1714 bytes NzbDrone.Web/Content/Images/img02.jpg | Bin 0 -> 772 bytes NzbDrone.Web/Content/Images/img03.jpg | Bin 0 -> 8156 bytes NzbDrone.Web/Content/Images/img07.jpg | Bin 0 -> 6462 bytes NzbDrone.Web/Content/Images/spin.gif | Bin 0 -> 16346 bytes .../ui-bg_diagonals-small_0_aaaaaa_40x40.png | Bin 0 -> 128 bytes .../ui-bg_diagonals-thick_15_444444_40x40.png | Bin 0 -> 373 bytes .../Images/ui-bg_glass_100_f0f0f0_1x400.png | Bin 0 -> 106 bytes .../Images/ui-bg_glass_50_99c2ff_1x400.png | Bin 0 -> 159 bytes .../Images/ui-bg_glass_55_fbf5d0_1x400.png | Bin 0 -> 123 bytes .../Images/ui-bg_glass_80_e6e6e6_1x400.png | Bin 0 -> 113 bytes .../Images/ui-bg_glass_95_fef1ec_1x400.png | Bin 0 -> 119 bytes .../ui-bg_highlight-hard_100_f9f9f9_1x100.png | Bin 0 -> 117 bytes .../ui-bg_highlight-soft_100_e7eef3_1x100.png | Bin 0 -> 149 bytes .../Images/ui-icons_222222_256x240.png | Bin 0 -> 4379 bytes .../Images/ui-icons_2694e8_256x240.png | Bin 0 -> 4379 bytes .../Images/ui-icons_2e83ff_256x240.png | Bin 0 -> 4379 bytes .../Images/ui-icons_72a7cf_256x240.png | Bin 0 -> 5399 bytes .../Images/ui-icons_888888_256x240.png | Bin 0 -> 4379 bytes .../Images/ui-icons_cd0a0a_256x240.png | Bin 0 -> 4379 bytes .../Images/ui-icons_ffffff_256x240.png | Bin 0 -> 4379 bytes .../Content/Office2007/treeview-nodes-rtl.png | Bin 0 -> 212 bytes .../Content/Outlook/treeview-nodes-rtl.png | Bin 0 -> 212 bytes .../Content/Simple/treeview-nodes-rtl.png | Bin 0 -> 212 bytes .../Content/Sitefinity/treeview-nodes-rtl.png | Bin 0 -> 212 bytes .../Content/Sunset/treeview-nodes-rtl.png | Bin 0 -> 212 bytes .../Content/Telerik/treeview-nodes-rtl.png | Bin 0 -> 212 bytes .../Content/Web20/treeview-nodes-rtl.png | Bin 0 -> 212 bytes .../Content/WebBlue/treeview-nodes-rtl.png | Bin 0 -> 212 bytes NzbDrone.Web/Content/ajax-loader.gif | Bin 0 -> 4782 bytes .../Content/jquery-ui-1.8.8.custom.css | 572 ++++++++++++++++++ NzbDrone.Web/Content/jquery-ui.css | 405 +++++++++++++ NzbDrone.Web/Content/jquery-ui.custom.css | 17 + NzbDrone.Web/Content/jquery.jgrowl.css | 148 +++++ NzbDrone.Web/Content/style.css | 228 +++++++ NzbDrone.Web/Content/telerik.rtl.min.css | 1 + .../Controllers/SettingsController.cs | 16 +- NzbDrone.Web/Models/QualityModel.cs | 14 + .../NinjectControllerFactory.cs | 2 +- NzbDrone.Web/NzbDrone.Web.csproj | 86 ++- .../Scripts/2010.3.1318/jquery-1.4.4.min.js | 167 +++++ .../2010.3.1318/jquery.validate.min.js | 16 + .../2010.3.1318/telerik.autocomplete.min.js | 1 + .../2010.3.1318/telerik.calendar.min.js | 1 + .../2010.3.1318/telerik.combobox.min.js | 1 + .../Scripts/2010.3.1318/telerik.common.min.js | 1 + .../2010.3.1318/telerik.datepicker.min.js | 1 + .../2010.3.1318/telerik.datetimepicker.min.js | 1 + .../2010.3.1318/telerik.draganddrop.min.js | 1 + .../Scripts/2010.3.1318/telerik.editor.min.js | 1 + .../2010.3.1318/telerik.grid.editing.min.js | 1 + .../2010.3.1318/telerik.grid.filtering.min.js | 1 + .../2010.3.1318/telerik.grid.grouping.min.js | 1 + .../Scripts/2010.3.1318/telerik.grid.min.js | 1 + .../telerik.grid.reordering.min.js | 1 + .../2010.3.1318/telerik.grid.resizing.min.js | 1 + .../Scripts/2010.3.1318/telerik.list.min.js | 1 + .../Scripts/2010.3.1318/telerik.menu.min.js | 1 + .../2010.3.1318/telerik.panelbar.min.js | 1 + .../2010.3.1318/telerik.tabstrip.min.js | 1 + .../2010.3.1318/telerik.textbox.min.js | 1 + .../2010.3.1318/telerik.timepicker.min.js | 1 + .../2010.3.1318/telerik.treeview.min.js | 1 + .../Scripts/2010.3.1318/telerik.window.min.js | 1 + NzbDrone.Web/Views/Settings/Quality.ascx | 61 ++ NzbDrone.Web/Views/Settings/SubMenu.ascx | 1 + 71 files changed, 1708 insertions(+), 49 deletions(-) create mode 100644 NzbDrone.Web/Content/Black/treeview-nodes-rtl.png create mode 100644 NzbDrone.Web/Content/Default/treeview-nodes-rtl.png create mode 100644 NzbDrone.Web/Content/Forest/treeview-nodes-rtl.png create mode 100644 NzbDrone.Web/Content/Hay/treeview-nodes-rtl.png create mode 100644 NzbDrone.Web/Content/Images/img01.jpg create mode 100644 NzbDrone.Web/Content/Images/img02.jpg create mode 100644 NzbDrone.Web/Content/Images/img03.jpg create mode 100644 NzbDrone.Web/Content/Images/img07.jpg create mode 100644 NzbDrone.Web/Content/Images/spin.gif create mode 100644 NzbDrone.Web/Content/Images/ui-bg_diagonals-small_0_aaaaaa_40x40.png create mode 100644 NzbDrone.Web/Content/Images/ui-bg_diagonals-thick_15_444444_40x40.png create mode 100644 NzbDrone.Web/Content/Images/ui-bg_glass_100_f0f0f0_1x400.png create mode 100644 NzbDrone.Web/Content/Images/ui-bg_glass_50_99c2ff_1x400.png create mode 100644 NzbDrone.Web/Content/Images/ui-bg_glass_55_fbf5d0_1x400.png create mode 100644 NzbDrone.Web/Content/Images/ui-bg_glass_80_e6e6e6_1x400.png create mode 100644 NzbDrone.Web/Content/Images/ui-bg_glass_95_fef1ec_1x400.png create mode 100644 NzbDrone.Web/Content/Images/ui-bg_highlight-hard_100_f9f9f9_1x100.png create mode 100644 NzbDrone.Web/Content/Images/ui-bg_highlight-soft_100_e7eef3_1x100.png create mode 100644 NzbDrone.Web/Content/Images/ui-icons_222222_256x240.png create mode 100644 NzbDrone.Web/Content/Images/ui-icons_2694e8_256x240.png create mode 100644 NzbDrone.Web/Content/Images/ui-icons_2e83ff_256x240.png create mode 100644 NzbDrone.Web/Content/Images/ui-icons_72a7cf_256x240.png create mode 100644 NzbDrone.Web/Content/Images/ui-icons_888888_256x240.png create mode 100644 NzbDrone.Web/Content/Images/ui-icons_cd0a0a_256x240.png create mode 100644 NzbDrone.Web/Content/Images/ui-icons_ffffff_256x240.png create mode 100644 NzbDrone.Web/Content/Office2007/treeview-nodes-rtl.png create mode 100644 NzbDrone.Web/Content/Outlook/treeview-nodes-rtl.png create mode 100644 NzbDrone.Web/Content/Simple/treeview-nodes-rtl.png create mode 100644 NzbDrone.Web/Content/Sitefinity/treeview-nodes-rtl.png create mode 100644 NzbDrone.Web/Content/Sunset/treeview-nodes-rtl.png create mode 100644 NzbDrone.Web/Content/Telerik/treeview-nodes-rtl.png create mode 100644 NzbDrone.Web/Content/Web20/treeview-nodes-rtl.png create mode 100644 NzbDrone.Web/Content/WebBlue/treeview-nodes-rtl.png create mode 100644 NzbDrone.Web/Content/ajax-loader.gif create mode 100644 NzbDrone.Web/Content/jquery-ui-1.8.8.custom.css create mode 100644 NzbDrone.Web/Content/jquery-ui.css create mode 100644 NzbDrone.Web/Content/jquery-ui.custom.css create mode 100644 NzbDrone.Web/Content/jquery.jgrowl.css create mode 100644 NzbDrone.Web/Content/style.css create mode 100644 NzbDrone.Web/Content/telerik.rtl.min.css create mode 100644 NzbDrone.Web/Models/QualityModel.cs create mode 100644 NzbDrone.Web/Scripts/2010.3.1318/jquery-1.4.4.min.js create mode 100644 NzbDrone.Web/Scripts/2010.3.1318/jquery.validate.min.js create mode 100644 NzbDrone.Web/Scripts/2010.3.1318/telerik.autocomplete.min.js create mode 100644 NzbDrone.Web/Scripts/2010.3.1318/telerik.calendar.min.js create mode 100644 NzbDrone.Web/Scripts/2010.3.1318/telerik.combobox.min.js create mode 100644 NzbDrone.Web/Scripts/2010.3.1318/telerik.common.min.js create mode 100644 NzbDrone.Web/Scripts/2010.3.1318/telerik.datepicker.min.js create mode 100644 NzbDrone.Web/Scripts/2010.3.1318/telerik.datetimepicker.min.js create mode 100644 NzbDrone.Web/Scripts/2010.3.1318/telerik.draganddrop.min.js create mode 100644 NzbDrone.Web/Scripts/2010.3.1318/telerik.editor.min.js create mode 100644 NzbDrone.Web/Scripts/2010.3.1318/telerik.grid.editing.min.js create mode 100644 NzbDrone.Web/Scripts/2010.3.1318/telerik.grid.filtering.min.js create mode 100644 NzbDrone.Web/Scripts/2010.3.1318/telerik.grid.grouping.min.js create mode 100644 NzbDrone.Web/Scripts/2010.3.1318/telerik.grid.min.js create mode 100644 NzbDrone.Web/Scripts/2010.3.1318/telerik.grid.reordering.min.js create mode 100644 NzbDrone.Web/Scripts/2010.3.1318/telerik.grid.resizing.min.js create mode 100644 NzbDrone.Web/Scripts/2010.3.1318/telerik.list.min.js create mode 100644 NzbDrone.Web/Scripts/2010.3.1318/telerik.menu.min.js create mode 100644 NzbDrone.Web/Scripts/2010.3.1318/telerik.panelbar.min.js create mode 100644 NzbDrone.Web/Scripts/2010.3.1318/telerik.tabstrip.min.js create mode 100644 NzbDrone.Web/Scripts/2010.3.1318/telerik.textbox.min.js create mode 100644 NzbDrone.Web/Scripts/2010.3.1318/telerik.timepicker.min.js create mode 100644 NzbDrone.Web/Scripts/2010.3.1318/telerik.treeview.min.js create mode 100644 NzbDrone.Web/Scripts/2010.3.1318/telerik.window.min.js create mode 100644 NzbDrone.Web/Views/Settings/Quality.ascx diff --git a/NzbDrone.Core/CentralDispatch.cs b/NzbDrone.Core/CentralDispatch.cs index 39f82cd85..5fc333a20 100644 --- a/NzbDrone.Core/CentralDispatch.cs +++ b/NzbDrone.Core/CentralDispatch.cs @@ -59,6 +59,7 @@ namespace NzbDrone.Core _kernel.Bind().To(); _kernel.Bind().To(); _kernel.Bind().To(); + _kernel.Bind().To(); _kernel.Bind().To().InSingletonScope(); _kernel.Bind().To().InSingletonScope(); _kernel.Bind().To().InSingletonScope(); diff --git a/NzbDrone.Web/Content/Black/treeview-nodes-rtl.png b/NzbDrone.Web/Content/Black/treeview-nodes-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..5f249c633b3c26a36c00e5ee617eade4e5eb5110 GIT binary patch literal 177 zcmeAS@N?(olHy`uVBq!ia0vp^!a$tI!3-on8QpjYq$EpRBT9nv(@M${i&7aJQ}UBi z6+Ckj(^G>|6H_V+Po~-c6|n{Qgt(@pqyU-kzPLsKDW;Mjzu^B2Pq!O*0eQxrE{-7; zw~`W$u<$qs_B0AIc3!q#m1nR*+4f#r_YIHk?GG2_Etxv`uv1TB$lVD+>;ef4>a*Ct U?7GpF1=P;q>FVdQ&MBb@0D=ZN*#H0l literal 0 HcmV?d00001 diff --git a/NzbDrone.Web/Content/Default/treeview-nodes-rtl.png b/NzbDrone.Web/Content/Default/treeview-nodes-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..594e4a208c1016cb62649cb73c0020880e4939a8 GIT binary patch literal 212 zcmeAS@N?(olHy`uVBq!ia0vp^!a$tI!3-on8QpjYq$EpRBT9nv(@M${i&7aJQ}UBi z6+Ckj(^G>|6H_V+Po~-c6>$dmgt(@pq@<>%0(one&$9wj%q2m7!THN zx;TbZ+)7F~#KPko*we_#*m>DH;FSdX&fhOq_c2Py^{5=ZT_7m^<|Y4rtB5&Dmxbv9O=s|Q^>bP0l+XkK DKVC&C literal 0 HcmV?d00001 diff --git a/NzbDrone.Web/Content/Forest/treeview-nodes-rtl.png b/NzbDrone.Web/Content/Forest/treeview-nodes-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..594e4a208c1016cb62649cb73c0020880e4939a8 GIT binary patch literal 212 zcmeAS@N?(olHy`uVBq!ia0vp^!a$tI!3-on8QpjYq$EpRBT9nv(@M${i&7aJQ}UBi z6+Ckj(^G>|6H_V+Po~-c6>$dmgt(@pq@<>%0(one&$9wj%q2m7!THN zx;TbZ+)7F~#KPko*we_#*m>DH;FSdX&fhOq_c2Py^{5=ZT_7m^<|Y4rtB5&Dmxbv9O=s|Q^>bP0l+XkK DKVC&C literal 0 HcmV?d00001 diff --git a/NzbDrone.Web/Content/Hay/treeview-nodes-rtl.png b/NzbDrone.Web/Content/Hay/treeview-nodes-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..594e4a208c1016cb62649cb73c0020880e4939a8 GIT binary patch literal 212 zcmeAS@N?(olHy`uVBq!ia0vp^!a$tI!3-on8QpjYq$EpRBT9nv(@M${i&7aJQ}UBi z6+Ckj(^G>|6H_V+Po~-c6>$dmgt(@pq@<>%0(one&$9wj%q2m7!THN zx;TbZ+)7F~#KPko*we_#*m>DH;FSdX&fhOq_c2Py^{5=ZT_7m^<|Y4rtB5&Dmxbv9O=s|Q^>bP0l+XkK DKVC&C literal 0 HcmV?d00001 diff --git a/NzbDrone.Web/Content/Images/img01.jpg b/NzbDrone.Web/Content/Images/img01.jpg new file mode 100644 index 0000000000000000000000000000000000000000..9987db9f0d82ce5a1e9abf79cdbb41ad805b4432 GIT binary patch literal 1714 zcmaJ<2{e>z82)DdnK808p+@$o+|Wi!r7@AUEF;rZ*^MlXHPtY(BoZn*lD8`@6T}bnbEP^S$Ri?|Gm1`M&48=M#1b-+`4DCgvspfds$< zK0r7MaK<6-zBGUUC;-4wxHS$Wi5~uL6yQ-0cMw7@hyjQtAmIv$gfpD}1%!lPzzMYo z2>lO47J*&Dq8y$^Ll9a7jY9vzERFnsA*=^DEKmc95CR8~I0S@42pd2yY#V__z&4j4 zia??;STq7AP|&Z8C=w%rg-~e3N`P4Oi^Pciq!9oK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y8bEU--BsN6XUh)d4GarMBdOsfwuPrkBf8?-1TqfJ7NAfkvU9$6gMO=nD1LV$w@Kg zy&h;}l8e;HMZ1~SR+m#}PT57d)kc>U?eTVgb5L_`>v-}|P!=a^pLPG0e5WeP%4E^y If*|bv8+A3oLjV8( literal 0 HcmV?d00001 diff --git a/NzbDrone.Web/Content/Images/img02.jpg b/NzbDrone.Web/Content/Images/img02.jpg new file mode 100644 index 0000000000000000000000000000000000000000..5200d6e17b8f9f13b7cbf11c7b22278e85d0c153 GIT binary patch literal 772 zcmex=>$7a2O#Z0)vV0Stn92TtVl9& zCHNWt4=@OFFeoz!F*6D>FbOg;3o`yc!myBmfr*(B=t>0OWMbxEXJlYP6X#^+U}5KC z5?}y&lY@gFp`MY6Sy0hXh(&}|G%-jx#FR~p-LY_?kyBAqaIwl1GdB(iL7?xMIhc5P zVHPnm2r@A%8af6h3JHs_uoX5s1r-@jHenTI=a5)vw8%L)xwu)yCB#)s^8YOc9-#Y} z1epaH>={B2uP^DnZgP+BWvOz+hQ-v7x8I_jG^dpFxeB+qWN9RutP(O@ zRGs$j`KntV7ud7=HN5C?+%0+Cq3iJ#fe%yK&b>Zca!Fd_#;?{}>wR9moAkz4O3~op zG)a{mA68D0>PX})_*Z=WjN9MC1s>}o9~3>{6h5f7{mOg$lb28b(f2xX=#S$U**&-A z`uy9UY&DyBu`6^1lc;H#^`hrbtt;*%i>q=iw0*nlTgc7!*9&KdYPSWoGB`1`Fmmzj zy3M=e^EuUNk)A8Bhonqds;S{~=A4p}rjN6njYYue_Y+>PYw}cWVANEZ*|21N!NWbj z4_}}Ri5Whw(`mH&iiWM-JsY1MLKNze})YQm(Tj=&UW7FXjYBEmu=tQ z=Kp!0x;f|C+B}I@tFm=#r|tQscXRHR?|Gh4W-oR5EkiTYukQZvSWB zgnOF~?5gP57Q1$`?EK*NxJTKSR-4~FuX|l!=9D8Dj|~eW-~A2!wLR2h>I+BDY3u*r F1OR=c_9_4X literal 0 HcmV?d00001 diff --git a/NzbDrone.Web/Content/Images/img03.jpg b/NzbDrone.Web/Content/Images/img03.jpg new file mode 100644 index 0000000000000000000000000000000000000000..6a8019fbd345496a39d4802f03d2bfb1a762af67 GIT binary patch literal 8156 zcmeI0c~sNaw#R>f2)0#BgW?3XprE2)41+QxZDnY=30w*>4uA^EC`1U8gpjtP5~sXv z_3~q|*{u?2sP=Qv#xxa84Rv)*Rke2uE2p`F?tKs5q^+*`CFJW9-)z?ST)#BjBJ@WC z=*`*7C1I!Co?E_5o5LRPR&)WMDJQ9d)Ib0nNN=uq9in`*+Ub~_72RG1FiD8|wM2si zUxb5XTJzV6A04YYKUGyQ%Q%qaafJ>r<5021^L-Ls($d;7$|>BcM*Mn8^Q`~rI|T~h zdvO&6H{jl)gFpSxul<0%kDL5Z$^74+$rY5Vy*Ubf%Z%UDGJnTuGBF@C?^K8X7GlA`s5s5sAcvj2IiAn_?SyK(Sxfp)8ZuQ-($iqos+wf|QK07|e~4A3k`J z)Eax(6?E^?Csn+lqOssfrWM{WC5W__n~Ulw4eSBwK~X4|XRs6~40M88E*PoQtv=?8 zy~aUuLp;bmr()42DD74xq#X*ibrtUR4YNZCsMTc_LN*#@aVTpfF^~}!>4vyU^V3X7 zU7pN{NxU`kp@8{go%Lb`(2AQyDFCfzRvhx;6$PO2RuBj4_^!&Je7?tq)?;v*k)8eM z>a?YP6p~?dH_|u{BwO3(7motXxlPgFq%C(NZn%sH5@K+Ca~&DI+eCbkh++6=j=jCm zD0Gi57)u-^hav3vlvUvvqjBVJ_BqVKy;nig!cKSp_O+k$xPH>BM4HHAfhpbA{1_&Vq6B*+vcPP?c|E*gmutQNe1yCgGbK>j8 zDu6fZjuLqNvq}$^Ea;hBng6t7p=pJx!WGnfRU_ebBtbOA${3y*(*w_2TfTg}O^+)3 z3v0c0hUjMFx%ioy&Wzq%hc)=pTd7f4kdGtVf3VudaCq`Qc)E+}vP(**--*X#tM#vb z6_Y)I(U?!w;P97on?17$OEgBqq0}9yNJkMA0)p-^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lA=79U*!I#Sn3-#rbsTdaoa}$|8dC!9#@nZp!YwV_j z&MfBHvWIVa6d`+*GX#5ECf9M47X=>VpAAWq>>(O5%*6X(M^L7ruK_FP<3=UhZqMj5v?qp31=V!kj@an+Bzhx|NdNMWEWd_;g5%%`GfGeXpf30+6vJu*L$ zQdOP0+lf*TQf#Jq=2g-FqTk@=-CednrBXEi1bnQc@5gbpVc*k;Iz2rHAH!~u(4w0- zaeid+J0!g?ASiEgN$(Bl9g?O1XmUwY0W_JUsR5cq(i8!`Rnn9Jy-m{80bxt}Cx9>| s{UbnQC5dyJRt);fyNT`Zz8G-dcrsGhKTP%Dz)Sb{_=zchGgV6d2SIE8bN~PV literal 0 HcmV?d00001 diff --git a/NzbDrone.Web/Content/Images/spin.gif b/NzbDrone.Web/Content/Images/spin.gif new file mode 100644 index 0000000000000000000000000000000000000000..085eb46c451bea104473a5956bee96d92eaf23e7 GIT binary patch literal 16346 zcmajGX;_nIyES}gAoEOs011R7K$sI`2oNv{VN%e5%pzq}RJ2SYDrzPm%mITUf(ArI zixm`SY{Mj=sGy+OszpVM*0yN1ueO%`-e{lh{qApn`^m5SZ;oTFa}C#dhJ*zRd{RY# z2si=&a41}@R7)k&!Tv!Gi__lLo{^R@`(&0%q3Y^&(NWQpw}6yz1Wee)KF z!BtgMg)a*qyEf+R=-hdtGkZh!tCz3n7WC$(=A^`=2j4vq`U-n5^%ie0{`kj7I0CLN zRZD}VgI5PRcAWO3?HOw`W}nYeO{u!Qy6D*G$-9#tULHN?dI|~)-v0g;N5ECpRE4hy zAG{q|MqFd3M4>l(yCp~!dKo}tG{ie5gSMkS%k2e2-T@e($Do`v7 za(CsyAOHZ^e1M~2z*4{&{09G|2mlZZhC?}_&K9*Jw~(XRz6bUN-$-a%pH_J<|GG(l z1p+5Omk|tPk=VSSE>-WN;j8WZo6LO~tQT27BoX=W?O6h|2-}kFP=Mq`9E9|L#0-M<+He&Lu-AZf6vpg&N7Go)V z`D0G7i^a8gbb0DZs?sR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a;|B4 zw*Ix#a2?@WoE+!i{?r!pKr_;4E1_R!u{nE}$ufWi-vC@T&gJ6A7}b!e7@f8bKSi6QNEgRnb_uI6SRU+N+UBq_8N=N01m? zr;V4GzaK6O>=k-qagYn4SD^tnp%19`BQY2>KioSQTXZ8$-xpYjJI0s{=`91iM$fN=NhJS9xX>it8>cn z6rX%X348dIw_7{;75Psgy0&hMR&lW$O6)xT^TKzuaEc*1s34h2cFqrZyM>}0JcF*QVZX9faxA-ajI^XwVSh%$CsYwp-vSvjQ_j_GmOfv)4qb&r(c!1Z0L#{7w%L99Di?R2@AS8<{#Dn; zylm{gV6ctc#%xzH)_&_of3Vw_)o7!F4op`;I!X;4-q=1T4)&WH%OGx#wUFy;!{qf( z;?QBHC9{pMf4WL0ev1J~D-8^eqJG4e^PL#i+3fbZWwLhU0zB5t{h?5qY6{bCjo(kN zkXk!f2Zo1sa+D4_Bb<{1El+Nu35u=r=u*!}(5nUUF?eib89?`w32CkUN^2xFJ~gFs zgXFHz9ydSrRuNOx*HqZmR{DM=LdZ-e#go&ePnVKs+TQa-LDkorvK0h}?cfD)aBSPI z!`nS6NJm6*XxCwR<~gF33L&C*3(RrXTQxbqtfnvxLVr{Z6?9G%F6J! zaKUINobIa1q%%~%BHn$x47D;y?{VEfb=F*K=ENyptKQNXEo!ktbjm0c_xJ8t0;|-c zzl>RIY~J(-hR&wrpnfB>SD_x}XZBI;dOfgcbo6Wq#>6>pG$gucPjx~7 zEvJoSsvWFC5rQ8p8#s6!2My@cxiQC&*#$C;KjHe4W; t7=0rrsj$_F&*Vg-Y57RKIM$%7IhHU3Me?<>aQLlA$ZBFT!4wYo{a<=D1OWg5 literal 0 HcmV?d00001 diff --git a/NzbDrone.Web/Content/Images/ui-bg_diagonals-small_0_aaaaaa_40x40.png b/NzbDrone.Web/Content/Images/ui-bg_diagonals-small_0_aaaaaa_40x40.png new file mode 100644 index 0000000000000000000000000000000000000000..d5359734addf88aba5336a6307154af075a08488 GIT binary patch literal 128 zcmeAS@N?(olHy`uVBq!ia0vp^8X(NU1|)m_?Z^dE?w&4=ArY-_&lxfvP!M1+Jg|R~ zd8A6oi3@z&eNCr<=KbLh*2~7Yc C+ah}a literal 0 HcmV?d00001 diff --git a/NzbDrone.Web/Content/Images/ui-bg_diagonals-thick_15_444444_40x40.png b/NzbDrone.Web/Content/Images/ui-bg_diagonals-thick_15_444444_40x40.png new file mode 100644 index 0000000000000000000000000000000000000000..a24c5aab63564f8b7beddf89c8db420369b65b36 GIT binary patch literal 373 zcmV-*0gC>KP)-fSD1> z01=(bHRjNTnwg;tj9HRG0Axi@(y^$KpAvE`>M|{Aw3G#K5_?qhW`ebJup}|_dAL1~ z!IDHo=gaaBn>kWSFCEO%3$%K9(F-I%FHp{lUZ9)9Rgko_7f2lLhq8Q@)lR9wdU?T; zWQ76hd*cBUhh8w5vtF=^Ll2k$y>g9SA z1U$3RW|NG7tQzH24Sw5LR`++u3aV*O5-TWcPm)N T%I6!Q00000NkvXXu0mjf9S5Hm literal 0 HcmV?d00001 diff --git a/NzbDrone.Web/Content/Images/ui-bg_glass_100_f0f0f0_1x400.png b/NzbDrone.Web/Content/Images/ui-bg_glass_100_f0f0f0_1x400.png new file mode 100644 index 0000000000000000000000000000000000000000..33896e710c5118ffdc62d33c5f208bdc4188f1b2 GIT binary patch literal 106 zcmeAS@N?(olHy`uVBq!ia0vp^j6gJjgAK^akKnouqzpY>978O6lYe}Bd%IqZjg74> zFlmZ}YMbuI*Vpwmx+hK)oY~sjt=4u-O4Y41FsVR@!AX;gEy>(`22eADr>mdKI;Vst E0H~WDR{#J2 literal 0 HcmV?d00001 diff --git a/NzbDrone.Web/Content/Images/ui-bg_glass_50_99c2ff_1x400.png b/NzbDrone.Web/Content/Images/ui-bg_glass_50_99c2ff_1x400.png new file mode 100644 index 0000000000000000000000000000000000000000..a717a043d36acd924534320db8f2f74cb5062acb GIT binary patch literal 159 zcmeAS@N?(olHy`uVBq!ia0vp^j6gJjgAGVZ#9R3S1=2iS978O6-(Ixkb8wJod3gN| zf24@e_x+8lEjXpLF9z;x{LyvQ=Ixo38P8q|HL!ZK@p4`mdK II;Vst0DdJm;s5{u literal 0 HcmV?d00001 diff --git a/NzbDrone.Web/Content/Images/ui-bg_glass_55_fbf5d0_1x400.png b/NzbDrone.Web/Content/Images/ui-bg_glass_55_fbf5d0_1x400.png new file mode 100644 index 0000000000000000000000000000000000000000..0f45be78cb36f5b4a79de87a64dcead52eafbab9 GIT binary patch literal 123 zcmeAS@N?(olHy`uVBq!ia0vp^j6gJjgAK^akKnouq?|lm978O6-<~(*Y6uWuzBu#F z{}wqH>B6;jiWLkKP5O0Ijuy$?W?3-hQ}nZ2;Z90I6Be*+@>7}Retyl{AFb(Ln)!FK X<9Xj-UL!IUXc~j3tDnm{r-UW|cB?6| literal 0 HcmV?d00001 diff --git a/NzbDrone.Web/Content/Images/ui-bg_glass_80_e6e6e6_1x400.png b/NzbDrone.Web/Content/Images/ui-bg_glass_80_e6e6e6_1x400.png new file mode 100644 index 0000000000000000000000000000000000000000..abaa23f001e66d5ecaab46ddd43982844850cbc5 GIT binary patch literal 113 zcmeAS@N?(olHy`uVBq!ia0vp^j6gJjgAK^akKnouq%1sL978O6-=5#d$zUMh6j=H{ zRQAEDC3}=p8U%9WYSy&8Rb}8%tnm&#t719Pr2Sm7!p}o91rGJ{PLSjL66Ch)GSCbL MPgg&ebxsLQ0G{F_PXGV_ literal 0 HcmV?d00001 diff --git a/NzbDrone.Web/Content/Images/ui-bg_glass_95_fef1ec_1x400.png b/NzbDrone.Web/Content/Images/ui-bg_glass_95_fef1ec_1x400.png new file mode 100644 index 0000000000000000000000000000000000000000..4443fdc1a156babad4336f004eaf5ca5dfa0f9ab GIT binary patch literal 119 zcmeAS@N?(olHy`uVBq!ia0vp^j6gJjgAK^akKnour0hIh978O6-<~(*YA|4MzBvER z|7}eQtdCVXoUc2b{PaWeaIKu7gJx>{vDV26o)#~38k_!`W=^oo1w6ixmPC4R1b Tyd6G3lNdZ*{an^LB{Ts5`idse literal 0 HcmV?d00001 diff --git a/NzbDrone.Web/Content/Images/ui-bg_highlight-hard_100_f9f9f9_1x100.png b/NzbDrone.Web/Content/Images/ui-bg_highlight-hard_100_f9f9f9_1x100.png new file mode 100644 index 0000000000000000000000000000000000000000..4812b86768ee96aec4cb1e4e6641ff3740720fb0 GIT binary patch literal 117 zcmeAS@N?(olHy`uVBq!ia0vp^j6j^i!3Ja)XlH!`a%?iix`Gc`0}h#a2hC-=z^x*C`p@?GsWZ6aPU%ndUj16z%(UK zd$vI9TT7dgy1!j`y6}O8(OGYn0{5F4xo+9oQ~X#O;v9vpoXW^-J@vEhH;4L(b9QTM zB9_Ph@7ws?*`sNa^Up22xr!VfPWqkd%`SbOE%>g7EM>_ywy_M6K}4k(B>TQ+Fk`(%wnB=m5wd5C%uu$H z$TlJ~h}^R8On7wv8_)N}Ip@_mpY!56pX(%;VGPc|_+bD5oVjMGcLM-GrzNn?2sw@9 zYeomBX~pcirM~F@6Zf98Z=EiV3All=0C?Htp^Rq4=xkY0OCRkASbmN#EW+yCI)+Aw zI}%rJNXIJ16F#{0eeF@v6L{Z(t7v%jxU8~X@+ePi4Mq=6DRRgtsP>@bqBXrD(p+4= z86E)uJms1m$}%Kp+&6AHRr8#5BG7e%I7j=!vWXEcaBfK z@&TGYaJE$Ggmgiik+cv994wSV6$JW>#Kpt}0QuhC%Fg68R5KTA4&mx3#LEkvf(Kpv zas?7s8Np8%y6PZG^y(%vrlVKFP91q@JBtUyCC-Et==4`leYHKcf!I& zU3`@kZ^>nIZMU3SKdTqc#-d0T#b13d!%X6eLDR@2v3BbK|3O~)zu_Vx1qL46`#o9Z4lCX{As%G> zpq9&^49BZpCO;(JO!C`vbuKmC;-1~E^1G}DXd%Z9}e->e>^y(2F2#z7N#C@u9r))TN>o@M9a z_-+u)e$FQ9o+n_M6*=9D*y*g6gmb=bW$5OCU*DbSDmz=KX3>IF1vOg!5;v<6Sf)Io z_(60$jp^12Zcd}-VhuYUL0_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>a76G!1!69{wg>~$-tthqKynM)00C{9CPk^bp^DwSD%%-CMIP2+s9;v1481PvNZR zX)HN~8kg1h1UqqL6zTmrXb&)MJsv`?E;)bK2v$zvD{q&JsILA>LmreJ#Qf!Phn5iA zlLLwJ!1+Mhq-8Q8Qd3xB%QN8jr{B9xWda{m->TT@FPytLo-w}SZJ`P~KET7P25#FK0(v~mn-<8qSUi9NbH2yDCOeNc@WXv2ntqgiPeG=GLXafIr;*63RD zzpYT?^4s8aH!9!AbJXA&2V5#xHW*$$jY{A9%5eM6^!l*)i?IBRqD7iq z4vlmedy|A+A_DrBzfuI%(iw1@j-=9KuD_=G6tYrXD<_j)FiNNP7(JeJ6rQh(E)jiK zr410LgZqv>Lx83|%!H{1$;-Rxa=;sGBqoJ{R?=R$c_avVL|>J&adR><7>Bihzh07( zrd*^c@8FT%Cncr?R@&MMFB_r$WOZMA1TsdbZ9T|4wKw}(Oe6jRPU2-|r%yj{O&_CI IrGt(7AM>E)MF0Q* literal 0 HcmV?d00001 diff --git a/NzbDrone.Web/Content/Images/ui-icons_2694e8_256x240.png b/NzbDrone.Web/Content/Images/ui-icons_2694e8_256x240.png new file mode 100644 index 0000000000000000000000000000000000000000..dbd78b68ad84fb82d1d1280d6964d26cce06a6dd GIT binary patch literal 4379 zcmd^?`8(8o7stP|7z`O(wipyrma=5u#xg_(5lS&g_I=O9jP(}T3MsNi$et}SL)l6q z+lb5{a@+T9!lV1&cwX1JKIi;&&UJoxpX>dJH^u0mf%Cxu0625qK=&p9fKE$bodI(C zlCK*coTe4i8y0$E&ldiFB4jDS`gCzjz)g%fz{4sFWiTa1Wl5j6@X>mJG1( z>f-X<;0OQ^$=7vJ79rUy_m~_f8rWdH24!>6X;SX4%Xf@aoVU_E+{e5sUPzS=1zaE7 zIX?Nu3uyQtSW_h9(*$sal7b*`uwXJ(0O&Oo6%pYFWP5fiI+9XRO`I&*gli)ZFE4a5 z9(3vJRY+__IHNtXXS+`Sxkl0CGjgyB5s(=)7u-ij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_256x240.png new file mode 100644 index 0000000000000000000000000000000000000000..b425c446d2444bcf40bd35581d2171c63658634e GIT binary patch literal 4379 zcmd^?`8(8o7stP|7z`O(wipyrma=3U+gOIkAfi$Xl6~JZF=M?&wnB=m5wd5C%uu$H z$TlJ~h}^R8On7wv8_(-H*XNv{&biJH?{mFB@n%?qQ*Z$|005`18tPpK0MJPZtT91O zUdmOY{gbq8cFj^>HtP8QC&Y<;&rTM{23*Hl0DSE7P$n}{RF>>nOCRm~I04QttRm_> zI)+Bb+Y*~xU`~9@-SCy6%GR@7doWpS9wr#Fq&TB zsV*+x3=aVSk$hDTZ5fiie3!*>qJaa}YgjfHohIY%x^&xE&3QA;!+p%F;<-%eP{7r( z?W5zb{D7tpf;~k#K1~R3BrOaA2MZ_Dgn(WnaWOGLK)z?Eq9Z94-Nen7O}sJ!@$$kX z6F?WfT!zF}gfrVCd$#Hfo@o|MKIP<61@S{sxL*@?VS&sm#5BMQbS2dejn-cCNLI=! z=@!yisA?U%Y=(3+d!VhI^GAIurY#}s_VeYBsoB0++!Dnh=I(Zx!^tq zx-evhQlqrQvv_==I(YI}TT=8d(_EMkP1>61%+qT0%fxV5e1 zorp+bCw~RiTXM-<+bz4s&+3J<@mUnB;;-J9VJ5Lfpef@nEUrGL{YSLEg+?`WOWDnk zcjw33lTHgVA78LouTDT(dq$h@{Z={;-&Kcwtl8Wre2`cEZ@8#vzJUkNUUz1h!?JgF zhzEr*pye_k!}+R**$+i9ll=Bvom)+}sC%cgY+xwAypM`D1DU!uMcA>3M(Q=YT)QdK z0s?zz`=z?k%MsE>Q z`XBf{7SZC;8mFDFqV*s-Y=@meBE`xj)${`9l3@|VH?!Ml_mG>izTZe0OilTZwRqg7 zXX%+({_8}upEC)%=ZM%QMK1S34hE}5k?gOV>AJb#*LS8nOHUW5Su~?mK@FC_#LcP& zm#9yueh?i`V}>=No70H7SpBv~(AP+)-cBrCjVJ;^AARf!{)$hCJ4+ss(|1_T4oxwP z(->FLni;Z_q+QxpB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IPw5EhtrGw9W1Z{-*#A)j?&Q&5<*E)Bh| z-;P*z`aAZ?PJm6e%jFk0xee_UtoLI@W2oM`>~Gnd-{Bzr4(1Cdl(6_fM**?Kw5j^Z zm*#YqQV|}^@@FNK%CxQAHaTmuIyWQc^eMSssl&cK=c(CN8R2|l=KUh-)vNgUOipo! zcl6P(14vqfhgvM6y#7;a0_+vQeb7wMk0G5fb!%w|4D0naO9663ePR0hVWJMI@vjB_ zqyS`E2mdkL5nEgUSiJJ;B>RW`(Amvh+}c1dV^no-nEj(p=a=v41m7?^S2i*~Q+KYTpJoR!3h4}6*uBv%0G$m6bhL7gCz&9KRT7n#G+693 zpGXlAShCP!8#~W`*EpCEZxCXql^0lP)Pm_-Bt6);V QzlR^7t*-x|7HJpzKj2hV>;M1& literal 0 HcmV?d00001 diff --git a/NzbDrone.Web/Content/Images/ui-icons_888888_256x240.png b/NzbDrone.Web/Content/Images/ui-icons_888888_256x240.png new file mode 100644 index 0000000000000000000000000000000000000000..2e5180e473486f8acea0c5464ff578ba11746132 GIT binary patch literal 4379 zcmd^?=|9vB7sh|H7z`O(wipyrma=3U+gOIkAfi$Xl6~JZF=I_+E98!>5wd5C%uu$H z$TlJ~h}^R8On7wv8_)N}Ip@_mpY!56pXgVxoVseLcO3vgCnd1P1UZS6 zt48}LY1!G+KMjBUve{q+3X5 zp{jN4vKi9R?18p+&O6yv-#B*Uo9M@Xz{Ut>s;&boljH!2agSXPA_g*t=7Ree=)#a0 zN{!MI&*Jfg>fp&^ZAsC;OmksEG-+$1Gta8gFBkLo35VV2J0Omw&7N$had{-Uzv1W6h@IhYrzu}^y`34?5d)=934$I!zAs!UM zfR@XE4CkvJWfCC&Mcq4{WdlR`<$YAN8OYSNDZ-9LG*YkG<=Rb=7Kjy- zP)uOdb>Sdz!0E~X(zQ%+`yVA?0&6$fwKU9P1a6KMYknw8P?gTdMi*4GFnWua(*MBs zv4|Fz);R5a6|D!!VLR*$5-C$+EYD5tT`sia<@K=07+*$I7oW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OY2cj70h^QZsaIp^ey#_g_~0+yk3-& zre2^cZxc}7$Hk^ZHu~x^A3L$`cx6v}7&1z%Y1z*`u{V2K%)|bIPU59zCr>|cRUfNY Ise_CBAKt=5F#rGn literal 0 HcmV?d00001 diff --git a/NzbDrone.Web/Content/Images/ui-icons_cd0a0a_256x240.png b/NzbDrone.Web/Content/Images/ui-icons_cd0a0a_256x240.png new file mode 100644 index 0000000000000000000000000000000000000000..2db88b796a36dc0501745c6f90920cf601bfbccd GIT binary patch literal 4379 zcmd^?`8(8o7stP|*oKTPTMP;*OIfmwZ7f4%5K$=x$-eIy%vf)ct&k#XgzVWOGnB0m z*+ygrkz4ki36Ji7<9S`@`keFAIoJ8&eXjQ>-V~#M2F4Eq0N~7Z1Kpbd06Hy!bwK{!(jhEv843;&*|bA|C<-AOjJ|=kn7p4=txRMHF2?K6RwRyJU!9L zc+jQ(tB}}=a3(uM&vu>ubB&^@XB?a=AU-G(`)krRG=OQ9kOp{yuBFJkF>OM-pj1{#IYgXMnC=oHi9!zbnICeB?gHM`)mRbQIHul7u-ij z6N1c=YZRBcmrgEK2Th%5Nr?Pqh7%pEL0uP_eO8TnwUmE=Kk7!^1FMJ z7Zxt;XG;P#{!PdvL|A^KzSFeU{E4do* z?EZLn+G$bx(@SQnwMj^8&sg(=--;JudusHbYPJsWALW$(8!jS}ukX&i-`ulHYB~=}bG+_h@fY@v8ywCr@1vkhK_)Iu5w^@Ck-E*!H*O2J zKr9&rV*;XX3I&4w&sGi+Z)A$u{U{0LU%$e|x-G<6~KZic~%(x}chw!AsbL z_6K%=fwwrf#%bj%Yd%U2-DRT_PqB1PHMxYoVo(I}$?P`VJK`d595j-LQd9n8Js!K| zQF<+ zWy({EFGSnJh;E(W>Nsj9TEF8S_%#x$yBkYWB?v=M$Dg`_zTy(%&XY!E_3T%&LsAUl z)F+fRXNPSis8@CrND9w>h2rvP{wVyQR+;{n18MGyq$)uD{AJz8dL1|PEQNSBtx1z~ zO86=8GI#tm__#&w_gf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4mfJ3zR7Kie8Jsp2 ze0?uWoAT66Lmx)WSlnWn+pPEn;WBpbAf90FA5g2KPh7xU-*evHSiZsw9NSD`G!%Y% zSBzA>e&3bbU^5VaHqx~H&BB*`W}6sDQ_LPZT1L}fhWEL7=goMSt-U1rS~;uH)lI&_ zc{8wMiTu(?mo{6tT#uYzUaCpom#~vpm&WyLpF+e)kMLdB+GZc#yFJT-;9S2SGuAo& z49EkP2<|?q`13bKv zfNqnmnK72OvUc$}XtAW1DIeH`SN_p)I)O#bKh(b{S>ihyO>5O*q^jaAJ^9UcT-W>0 z*a#+#X3iJ1S)boapBt4wL9&I7coC1#+ww#i%X_v_#R$dcpBGj?*uflPbi>40VB=0u z-5s<36V?#338FfdEBG7rV zIAd3MXsFHDlPK&Q?%%uol_IE`#(>*&Ae9_*{WaC6kQHlNIGJ>VP}()e=<&p(usj`f z@%i_aS^#l6sQ1_-7--zXOqi&XJiQvP_`k(QV3HYV#cc(fM}m;Y^p)8gw-vJvV|R`<0=AY+7@mV?|=d$X^}G~y@VC{}8E`soL* M>tS>&wXu=^1FE+S0{{R3 literal 0 HcmV?d00001 diff --git a/NzbDrone.Web/Content/Images/ui-icons_ffffff_256x240.png b/NzbDrone.Web/Content/Images/ui-icons_ffffff_256x240.png new file mode 100644 index 0000000000000000000000000000000000000000..746e6fa257e538f5cc358a3102a8ac3919db6df4 GIT binary patch literal 4379 zcmd^?=|9vB7sh|H7z`O(wipyrma=3U+gOIkAfi$Xl6~JZF=M?&wnB=m5wd5C%uu$H z$TlJ~h}^R8On7wv8_)N}Ip@_mpY!56pXgVxoVseLcO3vgCnd1P1UZS6 zt48}LY1!03W+Nl*x<~l_h)D(ntF~PJr_ZtB5*}j-e6q zw#4P@(lLs0#1C%0U%OTG1m8E~%j;h~F0H7OJj@kag~Pzfg%0WYRUXtFjHXw3s*B4v z!$SZ-Bwy7-TZUvW-(_)}XyAbL8kWsPr^&dxF5Na(bKXqza3AxkcrH^q6mWHH`{?*9 zKcMM@U{8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quYCT^`n7m|+#P^XqN+_6m<3b+Ld0Zf#Fix;L=7tR`6oNURUCkJ;u`DXsQR=U?sddjFJfl zb}M|q#^|31lY+El^luIxAxA>^q8kn@rgV-V+BkL;%EcJ6!;}X4n8;VaS& zRhijx7A!0X68swD zW{Xp`*fhV5+#0-_3tiwK7Y(dl{bd=)Y|Cdc8s6CIvV_^8H>_YcFEp$c9<8TZK3h&D z)HY9vuVgQp)!HCwYTZthaAAPUgc!AH%xS%>RMHFpK(*5ja@xEsPEd z(H8#sB%b`{fds(E5DnO5%);j+m9-2Rp2#b26qOC{KwmhGH--S3V zOhBy8<~bu4f>~)4I^V#i1ppNd3x^8=J7*aGs$UHMohc$|sqNfxRixdefhiNAS9c!j zP@lMK8o)^z3!AL78x_AG+$J6!q+{IOeOh(&u`8JSd(N9{OPBb7Bil)=rs7YZis7nP z@49juZ2JQ-##(m2S^2Y1ZIOcLO4);lOBmQiM4!7)-n6Ir>I;&ewTn7K-NZ}04qj_sIL_rJDAAet7)y!k9tr6NotZ0io+k+syqtH)mLpTx)k@MmxuzBG}H+ zS+ff?E~)Vgb>Jyz^7}K;ZeYxMEQC^3eD01Byo}0U)+QHTRrQsQ+ArOY{>$TbEn)U2 z`x0e=bAj{;%OqlirijF*XTa}Izjqo-1wW|1Rk72bKXYL$eQep=LKS|rPe4=>F>P`+ z(W*DhF;eN-r}>rl_Hf4-y@%qg@G)no-nRLd zW42K9agqkOcmcJb4&9p?lau^T>ekgk;@Uj#fvVL&>o#OO-AX&Z=`-YsBUIBG7rfFl}FW zV5Gy;lPKa69?-k=l`5o`#)#i=B$pg<|25SoP?Tz0xR~{V(KqRMP z>IJ&;HUZ^*Tx?2YqpvRWu@mc#SN61rA)~~ami^old$Xs-JnS#%BwlKE^7I2&^|5-D II=IOH0a+rl`~Uy| literal 0 HcmV?d00001 diff --git a/NzbDrone.Web/Content/Office2007/treeview-nodes-rtl.png b/NzbDrone.Web/Content/Office2007/treeview-nodes-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..594e4a208c1016cb62649cb73c0020880e4939a8 GIT binary patch literal 212 zcmeAS@N?(olHy`uVBq!ia0vp^!a$tI!3-on8QpjYq$EpRBT9nv(@M${i&7aJQ}UBi z6+Ckj(^G>|6H_V+Po~-c6>$dmgt(@pq@<>%0(one&$9wj%q2m7!THN zx;TbZ+)7F~#KPko*we_#*m>DH;FSdX&fhOq_c2Py^{5=ZT_7m^<|Y4rtB5&Dmxbv9O=s|Q^>bP0l+XkK DKVC&C literal 0 HcmV?d00001 diff --git a/NzbDrone.Web/Content/Outlook/treeview-nodes-rtl.png b/NzbDrone.Web/Content/Outlook/treeview-nodes-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..594e4a208c1016cb62649cb73c0020880e4939a8 GIT binary patch literal 212 zcmeAS@N?(olHy`uVBq!ia0vp^!a$tI!3-on8QpjYq$EpRBT9nv(@M${i&7aJQ}UBi z6+Ckj(^G>|6H_V+Po~-c6>$dmgt(@pq@<>%0(one&$9wj%q2m7!THN zx;TbZ+)7F~#KPko*we_#*m>DH;FSdX&fhOq_c2Py^{5=ZT_7m^<|Y4rtB5&Dmxbv9O=s|Q^>bP0l+XkK DKVC&C literal 0 HcmV?d00001 diff --git a/NzbDrone.Web/Content/Simple/treeview-nodes-rtl.png b/NzbDrone.Web/Content/Simple/treeview-nodes-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..594e4a208c1016cb62649cb73c0020880e4939a8 GIT binary patch literal 212 zcmeAS@N?(olHy`uVBq!ia0vp^!a$tI!3-on8QpjYq$EpRBT9nv(@M${i&7aJQ}UBi z6+Ckj(^G>|6H_V+Po~-c6>$dmgt(@pq@<>%0(one&$9wj%q2m7!THN zx;TbZ+)7F~#KPko*we_#*m>DH;FSdX&fhOq_c2Py^{5=ZT_7m^<|Y4rtB5&Dmxbv9O=s|Q^>bP0l+XkK DKVC&C literal 0 HcmV?d00001 diff --git a/NzbDrone.Web/Content/Sitefinity/treeview-nodes-rtl.png b/NzbDrone.Web/Content/Sitefinity/treeview-nodes-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..594e4a208c1016cb62649cb73c0020880e4939a8 GIT binary patch literal 212 zcmeAS@N?(olHy`uVBq!ia0vp^!a$tI!3-on8QpjYq$EpRBT9nv(@M${i&7aJQ}UBi z6+Ckj(^G>|6H_V+Po~-c6>$dmgt(@pq@<>%0(one&$9wj%q2m7!THN zx;TbZ+)7F~#KPko*we_#*m>DH;FSdX&fhOq_c2Py^{5=ZT_7m^<|Y4rtB5&Dmxbv9O=s|Q^>bP0l+XkK DKVC&C literal 0 HcmV?d00001 diff --git a/NzbDrone.Web/Content/Sunset/treeview-nodes-rtl.png b/NzbDrone.Web/Content/Sunset/treeview-nodes-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..594e4a208c1016cb62649cb73c0020880e4939a8 GIT binary patch literal 212 zcmeAS@N?(olHy`uVBq!ia0vp^!a$tI!3-on8QpjYq$EpRBT9nv(@M${i&7aJQ}UBi z6+Ckj(^G>|6H_V+Po~-c6>$dmgt(@pq@<>%0(one&$9wj%q2m7!THN zx;TbZ+)7F~#KPko*we_#*m>DH;FSdX&fhOq_c2Py^{5=ZT_7m^<|Y4rtB5&Dmxbv9O=s|Q^>bP0l+XkK DKVC&C literal 0 HcmV?d00001 diff --git a/NzbDrone.Web/Content/Telerik/treeview-nodes-rtl.png b/NzbDrone.Web/Content/Telerik/treeview-nodes-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..594e4a208c1016cb62649cb73c0020880e4939a8 GIT binary patch literal 212 zcmeAS@N?(olHy`uVBq!ia0vp^!a$tI!3-on8QpjYq$EpRBT9nv(@M${i&7aJQ}UBi z6+Ckj(^G>|6H_V+Po~-c6>$dmgt(@pq@<>%0(one&$9wj%q2m7!THN zx;TbZ+)7F~#KPko*we_#*m>DH;FSdX&fhOq_c2Py^{5=ZT_7m^<|Y4rtB5&Dmxbv9O=s|Q^>bP0l+XkK DKVC&C literal 0 HcmV?d00001 diff --git a/NzbDrone.Web/Content/Web20/treeview-nodes-rtl.png b/NzbDrone.Web/Content/Web20/treeview-nodes-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..594e4a208c1016cb62649cb73c0020880e4939a8 GIT binary patch literal 212 zcmeAS@N?(olHy`uVBq!ia0vp^!a$tI!3-on8QpjYq$EpRBT9nv(@M${i&7aJQ}UBi z6+Ckj(^G>|6H_V+Po~-c6>$dmgt(@pq@<>%0(one&$9wj%q2m7!THN zx;TbZ+)7F~#KPko*we_#*m>DH;FSdX&fhOq_c2Py^{5=ZT_7m^<|Y4rtB5&Dmxbv9O=s|Q^>bP0l+XkK DKVC&C literal 0 HcmV?d00001 diff --git a/NzbDrone.Web/Content/WebBlue/treeview-nodes-rtl.png b/NzbDrone.Web/Content/WebBlue/treeview-nodes-rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..594e4a208c1016cb62649cb73c0020880e4939a8 GIT binary patch literal 212 zcmeAS@N?(olHy`uVBq!ia0vp^!a$tI!3-on8QpjYq$EpRBT9nv(@M${i&7aJQ}UBi z6+Ckj(^G>|6H_V+Po~-c6>$dmgt(@pq@<>%0(one&$9wj%q2m7!THN zx;TbZ+)7F~#KPko*we_#*m>DH;FSdX&fhOq_c2Py^{5=ZT_7m^<|Y4rtB5&Dmxbv9O=s|Q^>bP0l+XkK DKVC&C literal 0 HcmV?d00001 diff --git a/NzbDrone.Web/Content/ajax-loader.gif b/NzbDrone.Web/Content/ajax-loader.gif new file mode 100644 index 0000000000000000000000000000000000000000..2e9d85eed19de5a8576c954761b609be3b4e4a54 GIT binary patch literal 4782 zcmZ|TYgAL$f(P)OlLyI3LLR)r;n5_7kOYW2)Gd(Q0p@wO((>>s6|));_4?>a|^++lgIWo%t~Ck9(c7 z);_=eKmW7#F_=~L^ z+qP}ju3Z}$88Ms9R;%^WrArMB4V9IZlarI7Q0RphUN~^z!2JCD7hil)R#vuS$Bz5= z?+*Z&b;>8 zYx(*4GMVhbg9m+meG?NCZ@&5F%9SgHLg8C)y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2;_UG49Miz=+$DfSJh(cwr^#h~vPlus5oXGJJlT!JL zUJnDi(;nsO0%FJr(O{MmMx3t$6D)3%TVC9O0}kj@ukb95z@!-3pMKtA*(~&n`I%(0 z;b427+VWJ8K%qGQ9xW21%YKJQh+5N~bdnaX{S^o%F%YqD=}$;;GV{p!o{VpRtLu~M z%b}&^+%4Z24|^qQ@d*7<-tetp#lzUbYg3Y9CLEKTHou`-XVDroUIC+<-c}Hss*9lh zb^@f(SQVnX#P-;PlOG6F-Y!T`kdV*9bRcNDOJZ%C z?;m42w)Qj%zMoqiY`XHleKnnMx+brd1 zG@yVM4fY6F`S_d-DNhK6dU24PegYVGTMA&)aY(9v9i=H>@oIPP+^zsT2ET1iEEZxB z=XBfBf`S!mrG7DFcRKBTKG#c4m49t#$?92)-*;i;rATrlLNsBqw-ARZ%=;5N$;Edo z7zF)rG9|I6OLfN?PTBUgqGcc3hNY2pW}|up?iMNpx`kpMp1;bfl%PpU@R z{N^Cb$*epar@n*}`NOV2amFgr4sX$9fc-%`nUpPa>zhCL@crzPYG03JhCSm}FDpOI zMyF@vMb;))XD{m4Ys)@79l13W0|~(RO_uG%ypJTiQ0Y_y6`aaJ26wYpU6f@Ij}Z~@ oB`l&O1tC`}n+vdp#)LCrY!3LxnX$>MYksk^!HUO!H+~!c1MY)bWB>pF literal 0 HcmV?d00001 diff --git a/NzbDrone.Web/Content/jquery-ui-1.8.8.custom.css b/NzbDrone.Web/Content/jquery-ui-1.8.8.custom.css new file mode 100644 index 000000000..ef0d93dbc --- /dev/null +++ b/NzbDrone.Web/Content/jquery-ui-1.8.8.custom.css @@ -0,0 +1,572 @@ +/* + * jQuery UI CSS Framework 1.8.8 + * + * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Theming/API + */ + +/* Layout helpers +----------------------------------*/ +.ui-helper-hidden { display: none; } +.ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); } +.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; } +.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } +.ui-helper-clearfix { display: inline-block; } +/* required comment for clearfix to work in Opera \*/ +* html .ui-helper-clearfix { height:1%; } +.ui-helper-clearfix { display:block; } +/* end clearfix */ +.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); } + + +/* Interaction Cues +----------------------------------*/ +.ui-state-disabled { cursor: default !important; } + + +/* Icons +----------------------------------*/ + +/* states and images */ +.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; } + + +/* Misc visuals +----------------------------------*/ + +/* Overlays */ +.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } + + +/* + * jQuery UI CSS Framework 1.8.8 + * + * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Theming/API + * + * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Trebuchet%20MS,%20Tahoma,%20Verdana,%20Arial,%20sans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=f6a828&bgTextureHeader=12_gloss_wave.png&bgImgOpacityHeader=35&borderColorHeader=e78f08&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=eeeeee&bgTextureContent=03_highlight_soft.png&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=333333&iconColorContent=222222&bgColorDefault=f6f6f6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=100&borderColorDefault=cccccc&fcDefault=1c94c4&iconColorDefault=ef8c08&bgColorHover=fdf5ce&bgTextureHover=02_glass.png&bgImgOpacityHover=100&borderColorHover=fbcb09&fcHover=c77405&iconColorHover=ef8c08&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=fbd850&fcActive=eb8f00&iconColorActive=ef8c08&bgColorHighlight=ffe45c&bgTextureHighlight=03_highlight_soft.png&bgImgOpacityHighlight=75&borderColorHighlight=fed22f&fcHighlight=363636&iconColorHighlight=228ef1&bgColorError=b81900&bgTextureError=08_diagonals_thick.png&bgImgOpacityError=18&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffd27a&bgColorOverlay=666666&bgTextureOverlay=08_diagonals_thick.png&bgImgOpacityOverlay=20&opacityOverlay=50&bgColorShadow=000000&bgTextureShadow=01_flat.png&bgImgOpacityShadow=10&opacityShadow=20&thicknessShadow=5px&offsetTopShadow=-5px&offsetLeftShadow=-5px&cornerRadiusShadow=5px + */ + + +/* Component containers +----------------------------------*/ +.ui-widget { font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size: 1.1em; } +.ui-widget .ui-widget { font-size: 1em; } +.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size: 1em; } +.ui-widget-content { border: 1px solid #dddddd; background: #eeeeee url(images/ui-bg_highlight-soft_100_eeeeee_1x100.png) 50% top repeat-x; color: #333333; } +.ui-widget-content a { color: #333333; } +.ui-widget-header { border: 1px solid #e78f08; background: #f6a828 url(images/ui-bg_gloss-wave_35_f6a828_500x100.png) 50% 50% repeat-x; color: #ffffff; font-weight: bold; } +.ui-widget-header a { color: #ffffff; } + +/* Interaction states +----------------------------------*/ +.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #cccccc; background: #f6f6f6 url(images/ui-bg_glass_100_f6f6f6_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #1c94c4; } +.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #1c94c4; text-decoration: none; } +.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #fbcb09; background: #fdf5ce url(images/ui-bg_glass_100_fdf5ce_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #c77405; } +.ui-state-hover a, .ui-state-hover a:hover { color: #c77405; text-decoration: none; } +.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #fbd850; background: #ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #eb8f00; } +.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #eb8f00; text-decoration: none; } +.ui-widget :active { outline: none; } + +/* Interaction Cues +----------------------------------*/ +.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #fed22f; background: #ffe45c url(images/ui-bg_highlight-soft_75_ffe45c_1x100.png) 50% top repeat-x; color: #363636; } +.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; } +.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #b81900 url(images/ui-bg_diagonals-thick_18_b81900_40x40.png) 50% 50% repeat; color: #ffffff; } +.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #ffffff; } +.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #ffffff; } +.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; } +.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; } +.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; } + +/* Icons +----------------------------------*/ + +/* states and images */ +.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); } +.ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); } +.ui-widget-header .ui-icon {background-image: url(images/ui-icons_ffffff_256x240.png); } +.ui-state-default .ui-icon { background-image: url(images/ui-icons_ef8c08_256x240.png); } +.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_ef8c08_256x240.png); } +.ui-state-active .ui-icon {background-image: url(images/ui-icons_ef8c08_256x240.png); } +.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_228ef1_256x240.png); } +.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_ffd27a_256x240.png); } + +/* positioning */ +.ui-icon-carat-1-n { background-position: 0 0; } +.ui-icon-carat-1-ne { background-position: -16px 0; } +.ui-icon-carat-1-e { background-position: -32px 0; } +.ui-icon-carat-1-se { background-position: -48px 0; } +.ui-icon-carat-1-s { background-position: -64px 0; } +.ui-icon-carat-1-sw { background-position: -80px 0; } +.ui-icon-carat-1-w { background-position: -96px 0; } +.ui-icon-carat-1-nw { background-position: -112px 0; } +.ui-icon-carat-2-n-s { background-position: -128px 0; } +.ui-icon-carat-2-e-w { background-position: -144px 0; } +.ui-icon-triangle-1-n { background-position: 0 -16px; } +.ui-icon-triangle-1-ne { background-position: -16px -16px; } +.ui-icon-triangle-1-e { background-position: -32px -16px; } +.ui-icon-triangle-1-se { background-position: -48px -16px; } +.ui-icon-triangle-1-s { background-position: -64px -16px; } +.ui-icon-triangle-1-sw { background-position: -80px -16px; } +.ui-icon-triangle-1-w { background-position: -96px -16px; } +.ui-icon-triangle-1-nw { background-position: -112px -16px; } +.ui-icon-triangle-2-n-s { background-position: -128px -16px; } +.ui-icon-triangle-2-e-w { background-position: -144px -16px; } +.ui-icon-arrow-1-n { background-position: 0 -32px; } +.ui-icon-arrow-1-ne { background-position: -16px -32px; } +.ui-icon-arrow-1-e { background-position: -32px -32px; } +.ui-icon-arrow-1-se { background-position: -48px -32px; } +.ui-icon-arrow-1-s { background-position: -64px -32px; } +.ui-icon-arrow-1-sw { background-position: -80px -32px; } +.ui-icon-arrow-1-w { background-position: -96px -32px; } +.ui-icon-arrow-1-nw { background-position: -112px -32px; } +.ui-icon-arrow-2-n-s { background-position: -128px -32px; } +.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; } +.ui-icon-arrow-2-e-w { background-position: -160px -32px; } +.ui-icon-arrow-2-se-nw { background-position: -176px -32px; } +.ui-icon-arrowstop-1-n { background-position: -192px -32px; } +.ui-icon-arrowstop-1-e { background-position: -208px -32px; } +.ui-icon-arrowstop-1-s { background-position: -224px -32px; } +.ui-icon-arrowstop-1-w { background-position: -240px -32px; } +.ui-icon-arrowthick-1-n { background-position: 0 -48px; } +.ui-icon-arrowthick-1-ne { background-position: -16px -48px; } +.ui-icon-arrowthick-1-e { background-position: -32px -48px; } +.ui-icon-arrowthick-1-se { background-position: -48px -48px; } +.ui-icon-arrowthick-1-s { background-position: -64px -48px; } +.ui-icon-arrowthick-1-sw { background-position: -80px -48px; } +.ui-icon-arrowthick-1-w { background-position: -96px -48px; } +.ui-icon-arrowthick-1-nw { background-position: -112px -48px; } +.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; } +.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; } +.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; } +.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; } +.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; } +.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; } +.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; } +.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; } +.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; } +.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; } +.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; } +.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; } +.ui-icon-arrowreturn-1-w { background-position: -64px -64px; } +.ui-icon-arrowreturn-1-n { background-position: -80px -64px; } +.ui-icon-arrowreturn-1-e { background-position: -96px -64px; } +.ui-icon-arrowreturn-1-s { background-position: -112px -64px; } +.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; } +.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; } +.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; } +.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; } +.ui-icon-arrow-4 { background-position: 0 -80px; } +.ui-icon-arrow-4-diag { background-position: -16px -80px; } +.ui-icon-extlink { background-position: -32px -80px; } +.ui-icon-newwin { background-position: -48px -80px; } +.ui-icon-refresh { background-position: -64px -80px; } +.ui-icon-shuffle { background-position: -80px -80px; } +.ui-icon-transfer-e-w { background-position: -96px -80px; } +.ui-icon-transferthick-e-w { background-position: -112px -80px; } +.ui-icon-folder-collapsed { background-position: 0 -96px; } +.ui-icon-folder-open { background-position: -16px -96px; } +.ui-icon-document { background-position: -32px -96px; } +.ui-icon-document-b { background-position: -48px -96px; } +.ui-icon-note { background-position: -64px -96px; } +.ui-icon-mail-closed { background-position: -80px -96px; } +.ui-icon-mail-open { background-position: -96px -96px; } +.ui-icon-suitcase { background-position: -112px -96px; } +.ui-icon-comment { background-position: -128px -96px; } +.ui-icon-person { background-position: -144px -96px; } +.ui-icon-print { background-position: -160px -96px; } +.ui-icon-trash { background-position: -176px -96px; } +.ui-icon-locked { background-position: -192px -96px; } +.ui-icon-unlocked { background-position: -208px -96px; } +.ui-icon-bookmark { background-position: -224px -96px; } +.ui-icon-tag { background-position: -240px -96px; } +.ui-icon-home { background-position: 0 -112px; } +.ui-icon-flag { background-position: -16px -112px; } +.ui-icon-calendar { background-position: -32px -112px; } +.ui-icon-cart { background-position: -48px -112px; } +.ui-icon-pencil { background-position: -64px -112px; } +.ui-icon-clock { background-position: -80px -112px; } +.ui-icon-disk { background-position: -96px -112px; } +.ui-icon-calculator { background-position: -112px -112px; } +.ui-icon-zoomin { background-position: -128px -112px; } +.ui-icon-zoomout { background-position: -144px -112px; } +.ui-icon-search { background-position: -160px -112px; } +.ui-icon-wrench { background-position: -176px -112px; } +.ui-icon-gear { background-position: -192px -112px; } +.ui-icon-heart { background-position: -208px -112px; } +.ui-icon-star { background-position: -224px -112px; } +.ui-icon-link { background-position: -240px -112px; } +.ui-icon-cancel { background-position: 0 -128px; } +.ui-icon-plus { background-position: -16px -128px; } +.ui-icon-plusthick { background-position: -32px -128px; } +.ui-icon-minus { background-position: -48px -128px; } +.ui-icon-minusthick { background-position: -64px -128px; } +.ui-icon-close { background-position: -80px -128px; } +.ui-icon-closethick { background-position: -96px -128px; } +.ui-icon-key { background-position: -112px -128px; } +.ui-icon-lightbulb { background-position: -128px -128px; } +.ui-icon-scissors { background-position: -144px -128px; } +.ui-icon-clipboard { background-position: -160px -128px; } +.ui-icon-copy { background-position: -176px -128px; } +.ui-icon-contact { background-position: -192px -128px; } +.ui-icon-image { background-position: -208px -128px; } +.ui-icon-video { background-position: -224px -128px; } +.ui-icon-script { background-position: -240px -128px; } +.ui-icon-alert { background-position: 0 -144px; } +.ui-icon-info { background-position: -16px -144px; } +.ui-icon-notice { background-position: -32px -144px; } +.ui-icon-help { background-position: -48px -144px; } +.ui-icon-check { background-position: -64px -144px; } +.ui-icon-bullet { background-position: -80px -144px; } +.ui-icon-radio-off { background-position: -96px -144px; } +.ui-icon-radio-on { background-position: -112px -144px; } +.ui-icon-pin-w { background-position: -128px -144px; } +.ui-icon-pin-s { background-position: -144px -144px; } +.ui-icon-play { background-position: 0 -160px; } +.ui-icon-pause { background-position: -16px -160px; } +.ui-icon-seek-next { background-position: -32px -160px; } +.ui-icon-seek-prev { background-position: -48px -160px; } +.ui-icon-seek-end { background-position: -64px -160px; } +.ui-icon-seek-start { background-position: -80px -160px; } +/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */ +.ui-icon-seek-first { background-position: -80px -160px; } +.ui-icon-stop { background-position: -96px -160px; } +.ui-icon-eject { background-position: -112px -160px; } +.ui-icon-volume-off { background-position: -128px -160px; } +.ui-icon-volume-on { background-position: -144px -160px; } +.ui-icon-power { background-position: 0 -176px; } +.ui-icon-signal-diag { background-position: -16px -176px; } +.ui-icon-signal { background-position: -32px -176px; } +.ui-icon-battery-0 { background-position: -48px -176px; } +.ui-icon-battery-1 { background-position: -64px -176px; } +.ui-icon-battery-2 { background-position: -80px -176px; } +.ui-icon-battery-3 { background-position: -96px -176px; } +.ui-icon-circle-plus { background-position: 0 -192px; } +.ui-icon-circle-minus { background-position: -16px -192px; } +.ui-icon-circle-close { background-position: -32px -192px; } +.ui-icon-circle-triangle-e { background-position: -48px -192px; } +.ui-icon-circle-triangle-s { background-position: -64px -192px; } +.ui-icon-circle-triangle-w { background-position: -80px -192px; } +.ui-icon-circle-triangle-n { background-position: -96px -192px; } +.ui-icon-circle-arrow-e { background-position: -112px -192px; } +.ui-icon-circle-arrow-s { background-position: -128px -192px; } +.ui-icon-circle-arrow-w { background-position: -144px -192px; } +.ui-icon-circle-arrow-n { background-position: -160px -192px; } +.ui-icon-circle-zoomin { background-position: -176px -192px; } +.ui-icon-circle-zoomout { background-position: -192px -192px; } +.ui-icon-circle-check { background-position: -208px -192px; } +.ui-icon-circlesmall-plus { background-position: 0 -208px; } +.ui-icon-circlesmall-minus { background-position: -16px -208px; } +.ui-icon-circlesmall-close { background-position: -32px -208px; } +.ui-icon-squaresmall-plus { background-position: -48px -208px; } +.ui-icon-squaresmall-minus { background-position: -64px -208px; } +.ui-icon-squaresmall-close { background-position: -80px -208px; } +.ui-icon-grip-dotted-vertical { background-position: 0 -224px; } +.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; } +.ui-icon-grip-solid-vertical { background-position: -32px -224px; } +.ui-icon-grip-solid-horizontal { background-position: -48px -224px; } +.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; } +.ui-icon-grip-diagonal-se { background-position: -80px -224px; } + + +/* Misc visuals +----------------------------------*/ + +/* Corner radius */ +.ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; } +.ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; } +.ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; } +.ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; } +.ui-corner-top { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; } +.ui-corner-bottom { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; } +.ui-corner-right { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; } +.ui-corner-left { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; } +.ui-corner-all { -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; } + +/* Overlays */ +.ui-widget-overlay { background: #666666 url(images/ui-bg_diagonals-thick_20_666666_40x40.png) 50% 50% repeat; opacity: .50;filter:Alpha(Opacity=50); } +.ui-widget-shadow { margin: -5px 0 0 -5px; padding: 5px; background: #000000 url(images/ui-bg_flat_10_000000_40x100.png) 50% 50% repeat-x; opacity: .20;filter:Alpha(Opacity=20); -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; }/* + * jQuery UI Resizable 1.8.8 + * + * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Resizable#theming + */ +.ui-resizable { position: relative;} +.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block;} +.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; } +.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; } +.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; } +.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; } +.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; } +.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; } +.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; } +.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; } +.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/* + * jQuery UI Selectable 1.8.8 + * + * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Selectable#theming + */ +.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; } +/* + * jQuery UI Accordion 1.8.8 + * + * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Accordion#theming + */ +/* IE/Win - Fix animation bug - #4615 */ +.ui-accordion { width: 100%; } +.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; } +.ui-accordion .ui-accordion-li-fix { display: inline; } +.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; } +.ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em .7em; } +.ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; } +.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; } +.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; zoom: 1; } +.ui-accordion .ui-accordion-content-active { display: block; }/* + * jQuery UI Autocomplete 1.8.8 + * + * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Autocomplete#theming + */ +.ui-autocomplete { position: absolute; cursor: default; } + +/* workarounds */ +* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */ + +/* + * jQuery UI Menu 1.8.8 + * + * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Menu#theming + */ +.ui-menu { + list-style:none; + padding: 2px; + margin: 0; + display:block; + float: left; +} +.ui-menu .ui-menu { + margin-top: -3px; +} +.ui-menu .ui-menu-item { + margin:0; + padding: 0; + zoom: 1; + float: left; + clear: left; + width: 100%; +} +.ui-menu .ui-menu-item a { + text-decoration:none; + display:block; + padding:.2em .4em; + line-height:1.5; + zoom:1; +} +.ui-menu .ui-menu-item a.ui-state-hover, +.ui-menu .ui-menu-item a.ui-state-active { + font-weight: normal; + margin: -1px; +} +/* + * jQuery UI Button 1.8.8 + * + * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Button#theming + */ +.ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */ +.ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */ +button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */ +.ui-button-icons-only { width: 3.4em; } +button.ui-button-icons-only { width: 3.7em; } + +/*button text element */ +.ui-button .ui-button-text { display: block; line-height: 1.4; } +.ui-button-text-only .ui-button-text { padding: .4em 1em; } +.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; } +.ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; } +.ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 2.1em .4em 1em; } +.ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; } +/* no icon support for input elements, provide padding by default */ +input.ui-button { padding: .4em 1em; } + +/*button icon element(s) */ +.ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; } +.ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; } +.ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; } +.ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; } +.ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; } + +/*button sets*/ +.ui-buttonset { margin-right: 7px; } +.ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; } + +/* workarounds */ +button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */ +/* + * jQuery UI Dialog 1.8.8 + * + * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Dialog#theming + */ +.ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; } +.ui-dialog .ui-dialog-titlebar { padding: .4em 1em; position: relative; } +.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .1em 0; } +.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; } +.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; } +.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; } +.ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; } +.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; } +.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; } +.ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; } +.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; } +.ui-draggable .ui-dialog-titlebar { cursor: move; } +/* + * jQuery UI Slider 1.8.8 + * + * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Slider#theming + */ +.ui-slider { position: relative; text-align: left; } +.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; } +.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; } + +.ui-slider-horizontal { height: .8em; } +.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; } +.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; } +.ui-slider-horizontal .ui-slider-range-min { left: 0; } +.ui-slider-horizontal .ui-slider-range-max { right: 0; } + +.ui-slider-vertical { width: .8em; height: 100px; } +.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; } +.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; } +.ui-slider-vertical .ui-slider-range-min { bottom: 0; } +.ui-slider-vertical .ui-slider-range-max { top: 0; }/* + * jQuery UI Tabs 1.8.8 + * + * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Tabs#theming + */ +.ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */ +.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; } +.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; } +.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; } +.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; } +.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; } +.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */ +.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; } +.ui-tabs .ui-tabs-hide { display: none !important; } +/* + * jQuery UI Datepicker 1.8.8 + * + * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Datepicker#theming + */ +.ui-datepicker { width: 17em; padding: .2em .2em 0; display: none; } +.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; } +.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; } +.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; } +.ui-datepicker .ui-datepicker-prev { left:2px; } +.ui-datepicker .ui-datepicker-next { right:2px; } +.ui-datepicker .ui-datepicker-prev-hover { left:1px; } +.ui-datepicker .ui-datepicker-next-hover { right:1px; } +.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; } +.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; } +.ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; } +.ui-datepicker select.ui-datepicker-month-year {width: 100%;} +.ui-datepicker select.ui-datepicker-month, +.ui-datepicker select.ui-datepicker-year { width: 49%;} +.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; } +.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; } +.ui-datepicker td { border: 0; padding: 1px; } +.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; } +.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; } +.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; } +.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; } + +/* with multiple calendars */ +.ui-datepicker.ui-datepicker-multi { width:auto; } +.ui-datepicker-multi .ui-datepicker-group { float:left; } +.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; } +.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; } +.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; } +.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; } +.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; } +.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; } +.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; } +.ui-datepicker-row-break { clear:both; width:100%; } + +/* RTL support */ +.ui-datepicker-rtl { direction: rtl; } +.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; } +.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; } +.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; } +.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; } +.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; } +.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; } +.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; } +.ui-datepicker-rtl .ui-datepicker-group { float:right; } +.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; } +.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; } + +/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */ +.ui-datepicker-cover { + display: none; /*sorry for IE5*/ + display/**/: block; /*sorry for IE5*/ + position: absolute; /*must have*/ + z-index: -1; /*must have*/ + filter: mask(); /*must have*/ + top: -4px; /*must have*/ + left: -4px; /*must have*/ + width: 200px; /*must have*/ + height: 200px; /*must have*/ +}/* + * jQuery UI Progressbar 1.8.8 + * + * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Progressbar#theming + */ +.ui-progressbar { height:2em; text-align: left; } +.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; } \ No newline at end of file diff --git a/NzbDrone.Web/Content/jquery-ui.css b/NzbDrone.Web/Content/jquery-ui.css new file mode 100644 index 000000000..ccbf186f0 --- /dev/null +++ b/NzbDrone.Web/Content/jquery-ui.css @@ -0,0 +1,405 @@ +/* +* jQuery UI CSS Framework +* Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) +* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses. +*/ + +/* Layout helpers +----------------------------------*/ +.ui-helper-hidden { display: none; } +.ui-helper-hidden-accessible { position: absolute; left: -99999999px; } +.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; } +.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } +.ui-helper-clearfix { display: inline-block; } +/* required comment for clearfix to work in Opera \*/ +* html .ui-helper-clearfix { height:1%; } +.ui-helper-clearfix { display:block; } +/* end clearfix */ +.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); } + + +/* Interaction Cues +----------------------------------*/ +.ui-state-disabled { cursor: default !important; } + + +/* Icons +----------------------------------*/ + +/* states and images */ +.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; } + + +/* Misc visuals +----------------------------------*/ + +/* Overlays */ +.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } + +/* +* jQuery UI CSS Framework +* Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) +* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses. +* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Lucida%20Grande,%20Lucida%20Sans,%20Arial,%20sans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=3px&bgColorHeader=e7eef3&bgTextureHeader=03_highlight_soft.png&bgImgOpacityHeader=100&borderColorHeader=b2c7d7&fcHeader=222222&iconColorHeader=72a7cf&bgColorContent=f9f9f9&bgTextureContent=04_highlight_hard.png&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=362b36&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=80&borderColorDefault=cccccc&fcDefault=444444&iconColorDefault=888888&bgColorHover=f0f0f0&bgTextureHover=02_glass.png&bgImgOpacityHover=100&borderColorHover=b2c7d7&fcHover=0b5b98&iconColorHover=2694e8&bgColorActive=99c2ff&bgTextureActive=02_glass.png&bgImgOpacityActive=50&borderColorActive=2694e8&fcActive=000000&iconColorActive=ffffff&bgColorHighlight=fbf5d0&bgTextureHighlight=02_glass.png&bgImgOpacityHighlight=55&borderColorHighlight=f9dd34&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=02_glass.png&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=444444&bgTextureOverlay=08_diagonals_thick.png&bgImgOpacityOverlay=15&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=07_diagonals_small.png&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=0px&offsetTopShadow=4px&offsetLeftShadow=4px&cornerRadiusShadow=4px +*/ + + +/* Component containers +----------------------------------*/ +.ui-widget { font-family: Lucida Grande, Lucida Sans, Arial, sans-serif; font-size: 1.1em; } +.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Lucida Grande, Lucida Sans, Arial, sans-serif; font-size: 1em; } +.ui-widget-content { border: 1px solid #dddddd; background: #f9f9f9 url(images/ui-bg_highlight-hard_100_f9f9f9_1x100.png) 50% top repeat-x; color: #362b36; } +.ui-widget-content a { color: #362b36; } +.ui-widget-header { border: 1px solid #b2c7d7; background: #e7eef3 url(images/ui-bg_highlight-soft_100_e7eef3_1x100.png) 50% 50% repeat-x; color: #222222; font-weight: bold; } +.ui-widget-header a { color: #222222; } + +/* Interaction states +----------------------------------*/ +.ui-state-default, .ui-widget-content .ui-state-default { border: 1px solid #cccccc; background: #e6e6e6 url(images/ui-bg_glass_80_e6e6e6_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #444444; outline: none; } +.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #444444; text-decoration: none; outline: none; } +.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus { border: 1px solid #b2c7d7; background: #f0f0f0 url(images/ui-bg_glass_100_f0f0f0_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #0b5b98; outline: none; } +.ui-state-hover a, .ui-state-hover a:hover { color: #0b5b98; text-decoration: none; outline: none; } +.ui-state-active, .ui-widget-content .ui-state-active { border: 1px solid #2694e8; background: #99c2ff url(images/ui-bg_glass_50_99c2ff_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #000000; outline: none; } +.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #000000; outline: none; text-decoration: none; } + +/* Interaction Cues +----------------------------------*/ +.ui-state-highlight, .ui-widget-content .ui-state-highlight {border: 1px solid #f9dd34; background: #fbf5d0 url(images/ui-bg_glass_55_fbf5d0_1x400.png) 50% 50% repeat-x; color: #363636; } +.ui-state-highlight a, .ui-widget-content .ui-state-highlight a { color: #363636; } +.ui-state-error, .ui-widget-content .ui-state-error {border: 1px solid #cd0a0a; background: #fef1ec url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x; color: #cd0a0a; } +.ui-state-error a, .ui-widget-content .ui-state-error a { color: #cd0a0a; } +.ui-state-error-text, .ui-widget-content .ui-state-error-text { color: #cd0a0a; } +.ui-state-disabled, .ui-widget-content .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; } +.ui-priority-primary, .ui-widget-content .ui-priority-primary { font-weight: bold; } +.ui-priority-secondary, .ui-widget-content .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; } + +/* Icons +----------------------------------*/ + +/* states and images */ +.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); } +.ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); } +.ui-widget-header .ui-icon {background-image: url(images/ui-icons_72a7cf_256x240.png); } +.ui-state-default .ui-icon { background-image: url(images/ui-icons_888888_256x240.png); } +.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_2694e8_256x240.png); } +.ui-state-active .ui-icon {background-image: url(images/ui-icons_ffffff_256x240.png); } +.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_2e83ff_256x240.png); } +.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_cd0a0a_256x240.png); } + +/* positioning */ +.ui-icon-carat-1-n { background-position: 0 0; } +.ui-icon-carat-1-ne { background-position: -16px 0; } +.ui-icon-carat-1-e { background-position: -32px 0; } +.ui-icon-carat-1-se { background-position: -48px 0; } +.ui-icon-carat-1-s { background-position: -64px 0; } +.ui-icon-carat-1-sw { background-position: -80px 0; } +.ui-icon-carat-1-w { background-position: -96px 0; } +.ui-icon-carat-1-nw { background-position: -112px 0; } +.ui-icon-carat-2-n-s { background-position: -128px 0; } +.ui-icon-carat-2-e-w { background-position: -144px 0; } +.ui-icon-triangle-1-n { background-position: 0 -16px; } +.ui-icon-triangle-1-ne { background-position: -16px -16px; } +.ui-icon-triangle-1-e { background-position: -32px -16px; } +.ui-icon-triangle-1-se { background-position: -48px -16px; } +.ui-icon-triangle-1-s { background-position: -64px -16px; } +.ui-icon-triangle-1-sw { background-position: -80px -16px; } +.ui-icon-triangle-1-w { background-position: -96px -16px; } +.ui-icon-triangle-1-nw { background-position: -112px -16px; } +.ui-icon-triangle-2-n-s { background-position: -128px -16px; } +.ui-icon-triangle-2-e-w { background-position: -144px -16px; } +.ui-icon-arrow-1-n { background-position: 0 -32px; } +.ui-icon-arrow-1-ne { background-position: -16px -32px; } +.ui-icon-arrow-1-e { background-position: -32px -32px; } +.ui-icon-arrow-1-se { background-position: -48px -32px; } +.ui-icon-arrow-1-s { background-position: -64px -32px; } +.ui-icon-arrow-1-sw { background-position: -80px -32px; } +.ui-icon-arrow-1-w { background-position: -96px -32px; } +.ui-icon-arrow-1-nw { background-position: -112px -32px; } +.ui-icon-arrow-2-n-s { background-position: -128px -32px; } +.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; } +.ui-icon-arrow-2-e-w { background-position: -160px -32px; } +.ui-icon-arrow-2-se-nw { background-position: -176px -32px; } +.ui-icon-arrowstop-1-n { background-position: -192px -32px; } +.ui-icon-arrowstop-1-e { background-position: -208px -32px; } +.ui-icon-arrowstop-1-s { background-position: -224px -32px; } +.ui-icon-arrowstop-1-w { background-position: -240px -32px; } +.ui-icon-arrowthick-1-n { background-position: 0 -48px; } +.ui-icon-arrowthick-1-ne { background-position: -16px -48px; } +.ui-icon-arrowthick-1-e { background-position: -32px -48px; } +.ui-icon-arrowthick-1-se { background-position: -48px -48px; } +.ui-icon-arrowthick-1-s { background-position: -64px -48px; } +.ui-icon-arrowthick-1-sw { background-position: -80px -48px; } +.ui-icon-arrowthick-1-w { background-position: -96px -48px; } +.ui-icon-arrowthick-1-nw { background-position: -112px -48px; } +.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; } +.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; } +.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; } +.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; } +.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; } +.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; } +.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; } +.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; } +.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; } +.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; } +.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; } +.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; } +.ui-icon-arrowreturn-1-w { background-position: -64px -64px; } +.ui-icon-arrowreturn-1-n { background-position: -80px -64px; } +.ui-icon-arrowreturn-1-e { background-position: -96px -64px; } +.ui-icon-arrowreturn-1-s { background-position: -112px -64px; } +.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; } +.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; } +.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; } +.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; } +.ui-icon-arrow-4 { background-position: 0 -80px; } +.ui-icon-arrow-4-diag { background-position: -16px -80px; } +.ui-icon-extlink { background-position: -32px -80px; } +.ui-icon-newwin { background-position: -48px -80px; } +.ui-icon-refresh { background-position: -64px -80px; } +.ui-icon-shuffle { background-position: -80px -80px; } +.ui-icon-transfer-e-w { background-position: -96px -80px; } +.ui-icon-transferthick-e-w { background-position: -112px -80px; } +.ui-icon-folder-collapsed { background-position: 0 -96px; } +.ui-icon-folder-open { background-position: -16px -96px; } +.ui-icon-document { background-position: -32px -96px; } +.ui-icon-document-b { background-position: -48px -96px; } +.ui-icon-note { background-position: -64px -96px; } +.ui-icon-mail-closed { background-position: -80px -96px; } +.ui-icon-mail-open { background-position: -96px -96px; } +.ui-icon-suitcase { background-position: -112px -96px; } +.ui-icon-comment { background-position: -128px -96px; } +.ui-icon-person { background-position: -144px -96px; } +.ui-icon-print { background-position: -160px -96px; } +.ui-icon-trash { background-position: -176px -96px; } +.ui-icon-locked { background-position: -192px -96px; } +.ui-icon-unlocked { background-position: -208px -96px; } +.ui-icon-bookmark { background-position: -224px -96px; } +.ui-icon-tag { background-position: -240px -96px; } +.ui-icon-home { background-position: 0 -112px; } +.ui-icon-flag { background-position: -16px -112px; } +.ui-icon-calendar { background-position: -32px -112px; } +.ui-icon-cart { background-position: -48px -112px; } +.ui-icon-pencil { background-position: -64px -112px; } +.ui-icon-clock { background-position: -80px -112px; } +.ui-icon-disk { background-position: -96px -112px; } +.ui-icon-calculator { background-position: -112px -112px; } +.ui-icon-zoomin { background-position: -128px -112px; } +.ui-icon-zoomout { background-position: -144px -112px; } +.ui-icon-search { background-position: -160px -112px; } +.ui-icon-wrench { background-position: -176px -112px; } +.ui-icon-gear { background-position: -192px -112px; } +.ui-icon-heart { background-position: -208px -112px; } +.ui-icon-star { background-position: -224px -112px; } +.ui-icon-link { background-position: -240px -112px; } +.ui-icon-cancel { background-position: 0 -128px; } +.ui-icon-plus { background-position: -16px -128px; } +.ui-icon-plusthick { background-position: -32px -128px; } +.ui-icon-minus { background-position: -48px -128px; } +.ui-icon-minusthick { background-position: -64px -128px; } +.ui-icon-close { background-position: -80px -128px; } +.ui-icon-closethick { background-position: -96px -128px; } +.ui-icon-key { background-position: -112px -128px; } +.ui-icon-lightbulb { background-position: -128px -128px; } +.ui-icon-scissors { background-position: -144px -128px; } +.ui-icon-clipboard { background-position: -160px -128px; } +.ui-icon-copy { background-position: -176px -128px; } +.ui-icon-contact { background-position: -192px -128px; } +.ui-icon-image { background-position: -208px -128px; } +.ui-icon-video { background-position: -224px -128px; } +.ui-icon-script { background-position: -240px -128px; } +.ui-icon-alert { background-position: 0 -144px; } +.ui-icon-info { background-position: -16px -144px; } +.ui-icon-notice { background-position: -32px -144px; } +.ui-icon-help { background-position: -48px -144px; } +.ui-icon-check { background-position: -64px -144px; } +.ui-icon-bullet { background-position: -80px -144px; } +.ui-icon-radio-off { background-position: -96px -144px; } +.ui-icon-radio-on { background-position: -112px -144px; } +.ui-icon-pin-w { background-position: -128px -144px; } +.ui-icon-pin-s { background-position: -144px -144px; } +.ui-icon-play { background-position: 0 -160px; } +.ui-icon-pause { background-position: -16px -160px; } +.ui-icon-seek-next { background-position: -32px -160px; } +.ui-icon-seek-prev { background-position: -48px -160px; } +.ui-icon-seek-end { background-position: -64px -160px; } +.ui-icon-seek-first { background-position: -80px -160px; } +.ui-icon-stop { background-position: -96px -160px; } +.ui-icon-eject { background-position: -112px -160px; } +.ui-icon-volume-off { background-position: -128px -160px; } +.ui-icon-volume-on { background-position: -144px -160px; } +.ui-icon-power { background-position: 0 -176px; } +.ui-icon-signal-diag { background-position: -16px -176px; } +.ui-icon-signal { background-position: -32px -176px; } +.ui-icon-battery-0 { background-position: -48px -176px; } +.ui-icon-battery-1 { background-position: -64px -176px; } +.ui-icon-battery-2 { background-position: -80px -176px; } +.ui-icon-battery-3 { background-position: -96px -176px; } +.ui-icon-circle-plus { background-position: 0 -192px; } +.ui-icon-circle-minus { background-position: -16px -192px; } +.ui-icon-circle-close { background-position: -32px -192px; } +.ui-icon-circle-triangle-e { background-position: -48px -192px; } +.ui-icon-circle-triangle-s { background-position: -64px -192px; } +.ui-icon-circle-triangle-w { background-position: -80px -192px; } +.ui-icon-circle-triangle-n { background-position: -96px -192px; } +.ui-icon-circle-arrow-e { background-position: -112px -192px; } +.ui-icon-circle-arrow-s { background-position: -128px -192px; } +.ui-icon-circle-arrow-w { background-position: -144px -192px; } +.ui-icon-circle-arrow-n { background-position: -160px -192px; } +.ui-icon-circle-zoomin { background-position: -176px -192px; } +.ui-icon-circle-zoomout { background-position: -192px -192px; } +.ui-icon-circle-check { background-position: -208px -192px; } +.ui-icon-circlesmall-plus { background-position: 0 -208px; } +.ui-icon-circlesmall-minus { background-position: -16px -208px; } +.ui-icon-circlesmall-close { background-position: -32px -208px; } +.ui-icon-squaresmall-plus { background-position: -48px -208px; } +.ui-icon-squaresmall-minus { background-position: -64px -208px; } +.ui-icon-squaresmall-close { background-position: -80px -208px; } +.ui-icon-grip-dotted-vertical { background-position: 0 -224px; } +.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; } +.ui-icon-grip-solid-vertical { background-position: -32px -224px; } +.ui-icon-grip-solid-horizontal { background-position: -48px -224px; } +.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; } +.ui-icon-grip-diagonal-se { background-position: -80px -224px; } + + +/* Misc visuals +----------------------------------*/ + +/* Corner radius */ +.ui-corner-tl { -moz-border-radius-topleft: 3px; -webkit-border-top-left-radius: 3px; } +.ui-corner-tr { -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 3px; } +.ui-corner-bl { -moz-border-radius-bottomleft: 3px; -webkit-border-bottom-left-radius: 3px; } +.ui-corner-br { -moz-border-radius-bottomright: 3px; -webkit-border-bottom-right-radius: 3px; } +.ui-corner-top { -moz-border-radius-topleft: 3px; -webkit-border-top-left-radius: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 3px; } +.ui-corner-bottom { -moz-border-radius-bottomleft: 3px; -webkit-border-bottom-left-radius: 3px; -moz-border-radius-bottomright: 3px; -webkit-border-bottom-right-radius: 3px; } +.ui-corner-right { -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 3px; -moz-border-radius-bottomright: 3px; -webkit-border-bottom-right-radius: 3px; } +.ui-corner-left { -moz-border-radius-topleft: 3px; -webkit-border-top-left-radius: 3px; -moz-border-radius-bottomleft: 3px; -webkit-border-bottom-left-radius: 3px; } +.ui-corner-all { -moz-border-radius: 3px; -webkit-border-radius: 3px; } + +/* Overlays */ +.ui-widget-overlay { background: #444444 url(images/ui-bg_diagonals-thick_15_444444_40x40.png) 50% 50% repeat; opacity: .30;filter:Alpha(Opacity=30); } +.ui-widget-shadow { margin: 4px 0 0 4px; padding: 0px; background: #aaaaaa url(images/ui-bg_diagonals-small_0_aaaaaa_40x40.png) 50% 50% repeat; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 4px; -webkit-border-radius: 4px; }/* Resizable +----------------------------------*/ +.ui-resizable { position: relative;} +.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block;} +.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; } +.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0px; } +.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0px; } +.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0px; height: 100%; } +.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0px; height: 100%; } +.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; } +.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; } +.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; } +.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/* Accordion +----------------------------------*/ +.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; } +.ui-accordion .ui-accordion-li-fix { display: inline; } +.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; } +.ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em 2.2em; } +.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; } +.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; } +.ui-accordion .ui-accordion-content-active { display: block; }/* Dialog +----------------------------------*/ +.ui-dialog { position: relative; padding: .2em; width: 300px; } +.ui-dialog .ui-dialog-titlebar { padding: .5em .3em .3em 1em; position: relative; } +.ui-dialog .ui-dialog-title { float: left; margin: .1em 0 .2em; } +.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; } +.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; } +.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; } +.ui-dialog .ui-dialog-content { border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; } +.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; } +.ui-dialog .ui-dialog-buttonpane button { float: right; margin: .5em .4em .5em 0; cursor: pointer; padding: .2em .6em .3em .6em; line-height: 1.4em; width:auto; overflow:visible; } +.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; } +.ui-draggable .ui-dialog-titlebar { cursor: move; } +/* Slider +----------------------------------*/ +.ui-slider { position: relative; text-align: left; } +.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; } +.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; } + +.ui-slider-horizontal { height: .8em; } +.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; } +.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; } +.ui-slider-horizontal .ui-slider-range-min { left: 0; } +.ui-slider-horizontal .ui-slider-range-max { right: 0; } + +.ui-slider-vertical { width: .8em; height: 100px; } +.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; } +.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; } +.ui-slider-vertical .ui-slider-range-min { bottom: 0; } +.ui-slider-vertical .ui-slider-range-max { top: 0; }/* Tabs +----------------------------------*/ +.ui-tabs { padding: .2em; zoom: 1; } +.ui-tabs .ui-tabs-nav { list-style: none; position: relative; padding: .2em .2em 0; } +.ui-tabs .ui-tabs-nav li { position: relative; float: left; border-bottom-width: 0 !important; margin: 0 .2em -1px 0; padding: 0; } +.ui-tabs .ui-tabs-nav li a { float: left; text-decoration: none; padding: .5em 1em; } +.ui-tabs .ui-tabs-nav li.ui-tabs-selected { padding-bottom: 1px; border-bottom-width: 0; } +.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; } +.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */ +.ui-tabs .ui-tabs-panel { padding: 1em 1.4em; display: block; border-width: 0; background: none; } +.ui-tabs .ui-tabs-hide { display: none !important; } +/* Datepicker +----------------------------------*/ +.ui-datepicker { width: 17em; padding: .2em .2em 0; } +.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; } +.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; } +.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; } +.ui-datepicker .ui-datepicker-prev { left:2px; } +.ui-datepicker .ui-datepicker-next { right:2px; } +.ui-datepicker .ui-datepicker-prev-hover { left:1px; } +.ui-datepicker .ui-datepicker-next-hover { right:1px; } +.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; } +.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; } +.ui-datepicker .ui-datepicker-title select { float:left; font-size:1em; margin:1px 0; } +.ui-datepicker select.ui-datepicker-month-year {width: 100%;} +.ui-datepicker select.ui-datepicker-month, +.ui-datepicker select.ui-datepicker-year { width: 49%;} +.ui-datepicker .ui-datepicker-title select.ui-datepicker-year { float: right; } +.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; } +.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; } +.ui-datepicker td { border: 0; padding: 1px; } +.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; } +.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; } +.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; } +.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; } + +/* with multiple calendars */ +.ui-datepicker.ui-datepicker-multi { width:auto; } +.ui-datepicker-multi .ui-datepicker-group { float:left; } +.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; } +.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; } +.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; } +.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; } +.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; } +.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; } +.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; } +.ui-datepicker-row-break { clear:both; width:100%; } + +/* RTL support */ +.ui-datepicker-rtl { direction: rtl; } +.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; } +.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; } +.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; } +.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; } +.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; } +.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; } +.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; } +.ui-datepicker-rtl .ui-datepicker-group { float:right; } +.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; } +.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; } + +/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */ +.ui-datepicker-cover { + display: none; /*sorry for IE5*/ + display/**/: block; /*sorry for IE5*/ + position: absolute; /*must have*/ + z-index: -1; /*must have*/ + filter: mask(); /*must have*/ + top: -4px; /*must have*/ + left: -4px; /*must have*/ + width: 200px; /*must have*/ + height: 200px; /*must have*/ +}/* Progressbar +----------------------------------*/ +.ui-progressbar { height:2em; text-align: left; } +.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; } \ No newline at end of file diff --git a/NzbDrone.Web/Content/jquery-ui.custom.css b/NzbDrone.Web/Content/jquery-ui.custom.css new file mode 100644 index 000000000..ab1742531 --- /dev/null +++ b/NzbDrone.Web/Content/jquery-ui.custom.css @@ -0,0 +1,17 @@ +/* Customisation of jQuery-ui classes */ + +.ui-state-error +{ + padding: 3px; + padding-left : 10px; +} + +.ui-state-highlight { + padding: 3px; + padding-left : 10px; +} + +.ui-icon +{ + margin-top: 2px; +} diff --git a/NzbDrone.Web/Content/jquery.jgrowl.css b/NzbDrone.Web/Content/jquery.jgrowl.css new file mode 100644 index 000000000..ed804a993 --- /dev/null +++ b/NzbDrone.Web/Content/jquery.jgrowl.css @@ -0,0 +1,148 @@ + +div.jGrowl +{ + padding-top: 10px; + z-index: 9999; + color: #fff; + font-size: 12px; +} + +/** Special IE6 Style Positioning **/ +div.ie6 +{ + position: absolute; +} + +div.ie6.top-right +{ + right: auto; + bottom: auto; + left: expression( ( 0 - jGrowl.offsetWidth + ( document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth ) + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' ); + top: expression( ( 0 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' ); +} + +div.ie6.top-left +{ + left: expression( ( 0 + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' ); + top: expression( ( 0 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' ); +} + +div.ie6.bottom-right +{ + left: expression( ( 0 - jGrowl.offsetWidth + ( document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth ) + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' ); + top: expression( ( 0 - jGrowl.offsetHeight + ( document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' ); +} + +div.ie6.bottom-left +{ + left: expression( ( 0 + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' ); + top: expression( ( 0 - jGrowl.offsetHeight + ( document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' ); +} + +div.ie6.center +{ + left: expression( ( 0 + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' ); + top: expression( ( 0 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' ); + width: 100%; +} + +/** Normal Style Positions **/ +body > div.jGrowl +{ + position: fixed; +} + +body > div.jGrowl.top-left +{ + left: 0px; + top: 0px; +} + +body > div.jGrowl.top-right +{ + right: 0px; + top: 0px; +} + +body > div.jGrowl.bottom-left +{ + left: 0px; + bottom: 0px; +} + +body > div.jGrowl.bottom-right +{ + right: 0px; + bottom: 0px; +} + +body > div.jGrowl.center +{ + top: 0px; + width: 50%; + left: 25%; +} + +/** Cross Browser Styling **/ +div.center div.jGrowl-notification, div.center div.jGrowl-closer +{ + margin-left: auto; + margin-right: auto; +} + +div.jGrowl div.jGrowl-notification, div.jGrowl div.jGrowl-closer +{ + background-color: #000; + opacity: .85; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)"; + filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=85); + zoom: 1; + width: 235px; + padding: 10px; + margin-top: 5px; + margin-bottom: 5px; + font-size: 1em; + text-align: left; + display: none; + -moz-border-radius: 0px; + -webkit-border-radius: 0px; +} + +div.jGrowl div.jGrowl-notification +{ + min-height: 40px; +} + +div.jGrowl div.jGrowl-notification div.header +{ + font-weight: bold; + font-size: .85em; +} + +div.jGrowl div.jGrowl-notification div.close +{ + z-index: 99; + float: right; + font-weight: bold; + font-size: 1em; + cursor: pointer; +} + +div.jGrowl div.jGrowl-closer +{ + padding-top: 4px; + padding-bottom: 4px; + cursor: pointer; + font-size: .9em; + font-weight: bold; + text-align: center; +} + +/** Hide jGrowl when printing **/ +@media print +{ + div.jGrowl + { + display: none; + } +} diff --git a/NzbDrone.Web/Content/style.css b/NzbDrone.Web/Content/style.css new file mode 100644 index 000000000..5d8ab3c3a --- /dev/null +++ b/NzbDrone.Web/Content/style.css @@ -0,0 +1,228 @@ +h1, h2, h3 +{ + margin: 0; + color: #549900; + text-transform: lowercase; +} + +body +{ + padding: 0; + background: #191919 url(images/img07.jpg) no-repeat right top; + font-family: "Segoe UI" , Tahoma, Geneva, sans-serif; + font-size: 13px; + color: #3C3C3C; + background-attachment: fixed; +} + +h1 +{ + font-size: 52px; +} + +h2 +{ + font-size: 26px; +} + +h3 +{ + font-size: 18px; +} + +p, ul, ol +{ + margin-top: 0; + line-height: 240%; + text-align: justify; +} + +ul, ol +{ +} + +a +{ + color: #065EFE; +} + +a:hover +{ + text-decoration: none; +} + +a img +{ + border: none; +} + + +hr +{ + display: none; +} + +/* Menu */ + +#menu +{ + height: 60px; +} + +#menu ul +{ + margin: 0; + padding: 8px 0px 0px 0px; + list-style: none; + line-height: normal; +} + +#menu li +{ + display: block; + float: left; +} + +#menu a +{ + display: block; + float: left; + height: 28px; + padding: 7px 30px 0px 35px; + letter-spacing: -1px; + text-decoration: none; + text-align: center; + text-transform: lowercase; + font-size: 17px; + font-weight: normal; + vertical-align: middle; +} + +#menu a:hover +{ + text-decoration: none; +} + +#menu li.current_page_item +{ + background: url(images/img01.jpg) no-repeat left top; +} + +#menu li.current_page_item a +{ + background: url(images/img02.jpg) no-repeat right top; + color: #FFFFFF; +} + + +/* Page */ + +#page +{ + margin: 0 auto 10px; + overflow: hidden; + background-color: White; + padding: 10px 20px 20px 20px; +} + + +#centered +{ + margin-right: auto; + width: 910px; + margin-left: auto; +} + +/** LOGO */ + +#logo +{ + font-family: Segoe UI Light, Tahoma, Geneva, sans-serif; + height: 135px; + background: url(images/img03.jpg) no-repeat left top; + font-size: 90px; + color: #FFFFFF; + text-transform: lowercase; + letter-spacing: -1px; + line-height: normal; + padding-left: 120px; +} + +.stackframe +{ + font-family: Consolas, Monospace; +} + +/*fix telerik grid missing border*/ +.t-grid .t-last +{ + border-bottom: 1px solid #EEEEEE; + border-color: #EEEEEE; +} + +/* Footer */ +.timer +{ + text-align: center; + color: #065EFE; +} + +#footer +{ + padding: 1px, 1px, 1px, 1px; + text-align: center; +} + +/* Config Pages */ +.config-group +{ + width:300px; + display: block; + padding-bottom: 25px; +} + +.config-title +{ + font-weight: bold; + padding-right: 15px; + float: left; +} + +.config-value +{ + float: right; + +} + +.config-validation +{ + +} +.sub-field +{ + width: 50%; +} + +input[type="text"] +{ + border: 1px solid #006; + background: #ffc; +} + +input[type="text"]:hover +{ + border: 1px solid #f00; + background: #ff6; +} + +.submitButton +{ + border: 1px solid #006; + background: #ccf; +} + +.submitButton:hover +{ + border: 1px solid #f00; + background: #eef; +} \ No newline at end of file diff --git a/NzbDrone.Web/Content/telerik.rtl.min.css b/NzbDrone.Web/Content/telerik.rtl.min.css new file mode 100644 index 000000000..3b7c782fa --- /dev/null +++ b/NzbDrone.Web/Content/telerik.rtl.min.css @@ -0,0 +1 @@ +.t-rtl{direction:rtl;zoom:1;}.t-rtl .t-window-actions{right:auto;left:.5em;}.t-rtl .t-window-title .t-image{margin:0 0 0 5px;}.t-rtl .t-tabstrip-items .t-item,.t-rtl .t-panelbar .t-tabstrip-items .t-item{margin:.1em 0 0 .3em;}.t-rtl .t-tabstrip-items .t-item .t-icon,.t-rtl .t-panelbar .t-tabstrip-items .t-item .t-icon{margin:-1px -3px 0 4px;}.t-rtl .t-tabstrip-items .t-item .t-image,.t-rtl .t-tabstrip-items .t-item .t-sprite,.t-rtl .t-panelbar .t-tabstrip-items .t-item .t-image,.t-rtl .t-panelbar .t-tabstrip-items .t-item .t-sprite{margin:-4px -3px 0 3px;}.t-rtl .t-tabstrip-items .t-state-active,.t-rtl .t-panelbar .t-tabstrip-items .t-state-active{padding-bottom:1px;margin-bottom:-1px;}.t-rtl .t-panelbar .t-item{zoom:normal;}.t-rtl .t-panelbar .t-image,.t-rtl .t-panelbar .t-sprite{margin-right:0;margin-left:5px;float:right;}.t-rtl .t-panelbar .t-arrow-up,.t-rtl .t-panelbar .t-arrow-down{right:auto;left:2px;}.t-rtl .t-panelbar .t-group .t-group .t-link{padding-left:0;padding-right:2em;}.t-rtl .t-menu .t-group .t-link{padding-left:2em;padding-right:.97em;}.t-rtl .t-menu .t-item{border-width:0 0 0 1px;}.t-rtl .t-menu .t-image,.t-rtl .t-menu .t-sprite{margin:0 -4px 0 4px;}.t-rtl .t-menu .t-arrow-down{margin-left:-10px;margin-right:2px;}.t-rtl .t-menu .t-arrow-next{right:auto;left:0;}.t-rtl .t-menu .t-animation-container,.t-rtl .t-menu .t-group{left:auto;right:-1px;}.t-rtl .t-menu .t-animation-container .t-animation-container,.t-rtl .t-menu .t-group .t-group{right:100%;left:auto;}.t-rtl .t-menu-vertical .t-animation-container,.t-rtl .t-menu-vertical .t-group{right:100%;left:auto;}.t-rtl .t-menu .t-animation-container .t-group{right:auto;}.t-rtl .t-grid div.t-grid-header,.t-rtl .t-grid .t-grid-content,.t-rtl .t-grid .t-grid-footer,.t-rtl .t-grid .t-grouping-header,.t-rtl .t-grid .t-grid-toolbar,.t-rtl .t-grid .t-filter-options,.t-rtl .t-grid tbody{zoom:1;direction:rtl;}.t-rtl .t-grid table{border-collapse:separate;}.t-rtl .t-grid div.t-grid-header{padding-right:0\9;padding-left:17px\9;text-align:right;}.t-rtl .t-grid .t-header{text-align:right;border-width:0 0 1px 1px\9;}.t-rtl .t-grid .t-header .t-link{padding:.3em .6em .3em 2.4em;}.t-rtl .t-grid .t-grid-filter{float:left;margin:-1.8em 3px -.3em -.6em;}.t-rtl .t-grid .t-pager{direction:ltr;float:right;}.t-rtl .t-grid .t-status{float:right;border-right-width:0;border-left-style:solid;border-left-width:1px;margin:-.2em -.6em -.2em .6em;}.t-rtl .t-grid .t-status-text{float:left;}.t-rtl .t-grid .t-grouping-row p{margin-right:-0.6em;margin-left:0;padding-right:.6em;padding-left:0;}.t-rtl .t-grid .t-button .t-icon{margin-left:3px;margin-right:-3px;}.t-rtl .t-grouping-header .t-button .t-icon{margin:0 3px 0 0;}.t-rtl .t-autocomplete{background-position:0 50%!important;}.t-rtl .t-dropdown-wrap{padding-right:0;padding-left:16px;zoom:1;}* html .t-rtl .t-combobox .t-dropdown-wrap{padding-right:0;padding-left:16px;}* html .t-rtl .t-picker-wrap{padding-right:0;padding-left:25px;}.t-rtl .t-picker-wrap .t-select,.t-rtl .t-dropdown-wrap .t-select{right:auto;left:0;zoom:1;}* html .t-rtl .t-picker-wrap .t-select,* html .t-rtl .t-dropdown-wrap .t-select{right:auto;left:1px;}.t-rtl .t-combobox .t-select{border-width:0 1px 0 0;}.t-rtl .t-dropdown .t-input,.t-rtl .t-selectbox .t-input{padding:.2em 3px .2em 0;}.t-rtl .t-picker-wrap .t-icon-calendar,.t-rtl .t-picker-wrap .t-icon-clock{margin:3px 3px 0 0;}.t-rtl .t-picker-wrap{padding:0 0 0 25px;}.t-rtl .t-datetimepicker .t-picker-wrap{padding:0 0 0 44px;}.t-rtl .t-treeview .t-item{padding:0 16px 0 0;}.t-rtl .t-treeview-lines .t-top,.t-rtl .t-treeview-lines .t-mid,.t-rtl .t-treeview-lines .t-bot{margin-left:0;margin-right:-16px;padding-left:0;padding-right:20px;}.t-rtl .t-treeview .t-plus,.t-rtl .t-treeview .t-minus,.t-rtl .t-treeview .t-plus-disabled,.t-rtl .t-treeview .t-minus-disabled{margin-left:0;margin-right:-20px;float:right;*float:none;}.t-rtl .t-treeview .t-image{margin-right:0;margin-left:3px;}.t-rtl .t-treeview-lines .t-top{background-position:100% 0;}.t-rtl .t-treeview-lines .t-bot{background-position:100% -22px;}.t-rtl .t-treeview-lines .t-mid{background-position:100% -44px;}.t-rtl .t-treeview-lines .t-last .t-top{background-position:100% -66px;}.t-rtl .t-treeview-lines .t-group .t-last .t-bot{background-position:100% -22px;}.t-rtl .t-treeview-lines .t-item{background-position:100% 0;}.t-rtl .t-treeview-lines .t-first{background-position:100% 16px;}.t-rtl .t-numerictextbox .t-icon{margin-left:0;margin-right:-16px;}.t-rtl .t-editor-colorpicker .t-icon{border-width:0 1px 0 0;}.t-rtl .t-header .t-tabstrip-items .t-link{padding:.3em .9em;} \ No newline at end of file diff --git a/NzbDrone.Web/Controllers/SettingsController.cs b/NzbDrone.Web/Controllers/SettingsController.cs index c31d2f55e..ea71dfa07 100644 --- a/NzbDrone.Web/Controllers/SettingsController.cs +++ b/NzbDrone.Web/Controllers/SettingsController.cs @@ -15,12 +15,14 @@ namespace NzbDrone.Web.Controllers { private IConfigProvider _configProvider; private IIndexerProvider _indexerProvider; + private IQualityProvider _qualityProvider; private static readonly Logger Logger = LogManager.GetCurrentClassLogger(); - public SettingsController(IConfigProvider configProvider, IIndexerProvider indexerProvider) + public SettingsController(IConfigProvider configProvider, IIndexerProvider indexerProvider, IQualityProvider qualityProvider) { _configProvider = configProvider; _indexerProvider = indexerProvider; + _qualityProvider = qualityProvider; } public ActionResult Index(string viewName) @@ -91,6 +93,18 @@ namespace NzbDrone.Web.Controllers }); } + public ActionResult Quality() + { + ViewData["viewName"] = "Downloads"; + + var userProfiles = _qualityProvider.GetProfiles().Where(q => q.UserProfile).ToList(); + var profiles = _qualityProvider.GetProfiles().Where(q => q.UserProfile == false).ToList(); + + QualityModel model = new QualityModel {Profiles = profiles, UserProfiles = userProfiles}; + + return View("Index", model); + } + public ActionResult SubMenu() { return PartialView(); diff --git a/NzbDrone.Web/Models/QualityModel.cs b/NzbDrone.Web/Models/QualityModel.cs new file mode 100644 index 000000000..5e896f6ff --- /dev/null +++ b/NzbDrone.Web/Models/QualityModel.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using NzbDrone.Core.Repository.Quality; + +namespace NzbDrone.Web.Models +{ + public class QualityModel + { + public List Profiles { get; set; } + public List UserProfiles { get; set; } + } +} \ No newline at end of file diff --git a/NzbDrone.Web/Ninject.Web.Mvc/NinjectControllerFactory.cs b/NzbDrone.Web/Ninject.Web.Mvc/NinjectControllerFactory.cs index 6904211f5..b900ea62d 100644 --- a/NzbDrone.Web/Ninject.Web.Mvc/NinjectControllerFactory.cs +++ b/NzbDrone.Web/Ninject.Web.Mvc/NinjectControllerFactory.cs @@ -55,7 +55,7 @@ namespace Ninject.Web.Mvc if (asyncController != null) { asyncController.ActionInvoker = this.CreateAsyncActionInvoker(); - } + }5 else { var standardController = controller as Controller; diff --git a/NzbDrone.Web/NzbDrone.Web.csproj b/NzbDrone.Web/NzbDrone.Web.csproj index b6f03622d..fe4bc2d85 100644 --- a/NzbDrone.Web/NzbDrone.Web.csproj +++ b/NzbDrone.Web/NzbDrone.Web.csproj @@ -86,6 +86,7 @@ + @@ -98,6 +99,10 @@ + + + + @@ -148,27 +153,32 @@ + + + + + @@ -177,6 +187,7 @@ + @@ -189,6 +200,7 @@ + @@ -197,11 +209,13 @@ + + @@ -209,51 +223,30 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + @@ -261,7 +254,6 @@ - @@ -271,6 +263,7 @@ + @@ -284,7 +277,6 @@ - diff --git a/NzbDrone.Web/Scripts/2010.3.1318/jquery-1.4.4.min.js b/NzbDrone.Web/Scripts/2010.3.1318/jquery-1.4.4.min.js new file mode 100644 index 000000000..8f3ca2e2d --- /dev/null +++ b/NzbDrone.Web/Scripts/2010.3.1318/jquery-1.4.4.min.js @@ -0,0 +1,167 @@ +/*! + * jQuery JavaScript Library v1.4.4 + * http://jquery.com/ + * + * Copyright 2010, John Resig + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * Copyright 2010, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * + * Date: Thu Nov 11 19:04:53 2010 -0500 + */ +(function(E,B){function ka(a,b,d){if(d===B&&a.nodeType===1){d=a.getAttribute("data-"+b);if(typeof d==="string"){try{d=d==="true"?true:d==="false"?false:d==="null"?null:!c.isNaN(d)?parseFloat(d):Ja.test(d)?c.parseJSON(d):d}catch(e){}c.data(a,b,d)}else d=B}return d}function U(){return false}function ca(){return true}function la(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function Ka(a){var b,d,e,f,h,l,k,o,x,r,A,C=[];f=[];h=c.data(this,this.nodeType?"events":"__events__");if(typeof h==="function")h= +h.events;if(!(a.liveFired===this||!h||!h.live||a.button&&a.type==="click")){if(a.namespace)A=RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)");a.liveFired=this;var J=h.live.slice(0);for(k=0;kd)break;a.currentTarget=f.elem;a.data=f.handleObj.data;a.handleObj=f.handleObj;A=f.handleObj.origHandler.apply(f.elem,arguments);if(A===false||a.isPropagationStopped()){d=f.level;if(A===false)b=false;if(a.isImmediatePropagationStopped())break}}return b}}function Y(a,b){return(a&&a!=="*"?a+".":"")+b.replace(La, +"`").replace(Ma,"&")}function ma(a,b,d){if(c.isFunction(b))return c.grep(a,function(f,h){return!!b.call(f,h,f)===d});else if(b.nodeType)return c.grep(a,function(f){return f===b===d});else if(typeof b==="string"){var e=c.grep(a,function(f){return f.nodeType===1});if(Na.test(b))return c.filter(b,e,!d);else b=c.filter(b,e)}return c.grep(a,function(f){return c.inArray(f,b)>=0===d})}function na(a,b){var d=0;b.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var e=c.data(a[d++]),f=c.data(this, +e);if(e=e&&e.events){delete f.handle;f.events={};for(var h in e)for(var l in e[h])c.event.add(this,h,e[h][l],e[h][l].data)}}})}function Oa(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function oa(a,b,d){var e=b==="width"?a.offsetWidth:a.offsetHeight;if(d==="border")return e;c.each(b==="width"?Pa:Qa,function(){d||(e-=parseFloat(c.css(a,"padding"+this))||0);if(d==="margin")e+=parseFloat(c.css(a, +"margin"+this))||0;else e-=parseFloat(c.css(a,"border"+this+"Width"))||0});return e}function da(a,b,d,e){if(c.isArray(b)&&b.length)c.each(b,function(f,h){d||Ra.test(a)?e(a,h):da(a+"["+(typeof h==="object"||c.isArray(h)?f:"")+"]",h,d,e)});else if(!d&&b!=null&&typeof b==="object")c.isEmptyObject(b)?e(a,""):c.each(b,function(f,h){da(a+"["+f+"]",h,d,e)});else e(a,b)}function S(a,b){var d={};c.each(pa.concat.apply([],pa.slice(0,b)),function(){d[this]=a});return d}function qa(a){if(!ea[a]){var b=c("<"+ +a+">").appendTo("body"),d=b.css("display");b.remove();if(d==="none"||d==="")d="block";ea[a]=d}return ea[a]}function fa(a){return c.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var t=E.document,c=function(){function a(){if(!b.isReady){try{t.documentElement.doScroll("left")}catch(j){setTimeout(a,1);return}b.ready()}}var b=function(j,s){return new b.fn.init(j,s)},d=E.jQuery,e=E.$,f,h=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,l=/\S/,k=/^\s+/,o=/\s+$/,x=/\W/,r=/\d/,A=/^<(\w+)\s*\/?>(?:<\/\1>)?$/, +C=/^[\],:{}\s]*$/,J=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,w=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,I=/(?:^|:|,)(?:\s*\[)+/g,L=/(webkit)[ \/]([\w.]+)/,g=/(opera)(?:.*version)?[ \/]([\w.]+)/,i=/(msie) ([\w.]+)/,n=/(mozilla)(?:.*? rv:([\w.]+))?/,m=navigator.userAgent,p=false,q=[],u,y=Object.prototype.toString,F=Object.prototype.hasOwnProperty,M=Array.prototype.push,N=Array.prototype.slice,O=String.prototype.trim,D=Array.prototype.indexOf,R={};b.fn=b.prototype={init:function(j, +s){var v,z,H;if(!j)return this;if(j.nodeType){this.context=this[0]=j;this.length=1;return this}if(j==="body"&&!s&&t.body){this.context=t;this[0]=t.body;this.selector="body";this.length=1;return this}if(typeof j==="string")if((v=h.exec(j))&&(v[1]||!s))if(v[1]){H=s?s.ownerDocument||s:t;if(z=A.exec(j))if(b.isPlainObject(s)){j=[t.createElement(z[1])];b.fn.attr.call(j,s,true)}else j=[H.createElement(z[1])];else{z=b.buildFragment([v[1]],[H]);j=(z.cacheable?z.fragment.cloneNode(true):z.fragment).childNodes}return b.merge(this, +j)}else{if((z=t.getElementById(v[2]))&&z.parentNode){if(z.id!==v[2])return f.find(j);this.length=1;this[0]=z}this.context=t;this.selector=j;return this}else if(!s&&!x.test(j)){this.selector=j;this.context=t;j=t.getElementsByTagName(j);return b.merge(this,j)}else return!s||s.jquery?(s||f).find(j):b(s).find(j);else if(b.isFunction(j))return f.ready(j);if(j.selector!==B){this.selector=j.selector;this.context=j.context}return b.makeArray(j,this)},selector:"",jquery:"1.4.4",length:0,size:function(){return this.length}, +toArray:function(){return N.call(this,0)},get:function(j){return j==null?this.toArray():j<0?this.slice(j)[0]:this[j]},pushStack:function(j,s,v){var z=b();b.isArray(j)?M.apply(z,j):b.merge(z,j);z.prevObject=this;z.context=this.context;if(s==="find")z.selector=this.selector+(this.selector?" ":"")+v;else if(s)z.selector=this.selector+"."+s+"("+v+")";return z},each:function(j,s){return b.each(this,j,s)},ready:function(j){b.bindReady();if(b.isReady)j.call(t,b);else q&&q.push(j);return this},eq:function(j){return j=== +-1?this.slice(j):this.slice(j,+j+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(N.apply(this,arguments),"slice",N.call(arguments).join(","))},map:function(j){return this.pushStack(b.map(this,function(s,v){return j.call(s,v,s)}))},end:function(){return this.prevObject||b(null)},push:M,sort:[].sort,splice:[].splice};b.fn.init.prototype=b.fn;b.extend=b.fn.extend=function(){var j,s,v,z,H,G=arguments[0]||{},K=1,Q=arguments.length,ga=false; +if(typeof G==="boolean"){ga=G;G=arguments[1]||{};K=2}if(typeof G!=="object"&&!b.isFunction(G))G={};if(Q===K){G=this;--K}for(;K0))if(q){var s=0,v=q;for(q=null;j=v[s++];)j.call(t,b);b.fn.trigger&&b(t).trigger("ready").unbind("ready")}}},bindReady:function(){if(!p){p=true;if(t.readyState==="complete")return setTimeout(b.ready,1);if(t.addEventListener){t.addEventListener("DOMContentLoaded",u,false);E.addEventListener("load",b.ready,false)}else if(t.attachEvent){t.attachEvent("onreadystatechange",u);E.attachEvent("onload", +b.ready);var j=false;try{j=E.frameElement==null}catch(s){}t.documentElement.doScroll&&j&&a()}}},isFunction:function(j){return b.type(j)==="function"},isArray:Array.isArray||function(j){return b.type(j)==="array"},isWindow:function(j){return j&&typeof j==="object"&&"setInterval"in j},isNaN:function(j){return j==null||!r.test(j)||isNaN(j)},type:function(j){return j==null?String(j):R[y.call(j)]||"object"},isPlainObject:function(j){if(!j||b.type(j)!=="object"||j.nodeType||b.isWindow(j))return false;if(j.constructor&& +!F.call(j,"constructor")&&!F.call(j.constructor.prototype,"isPrototypeOf"))return false;for(var s in j);return s===B||F.call(j,s)},isEmptyObject:function(j){for(var s in j)return false;return true},error:function(j){throw j;},parseJSON:function(j){if(typeof j!=="string"||!j)return null;j=b.trim(j);if(C.test(j.replace(J,"@").replace(w,"]").replace(I,"")))return E.JSON&&E.JSON.parse?E.JSON.parse(j):(new Function("return "+j))();else b.error("Invalid JSON: "+j)},noop:function(){},globalEval:function(j){if(j&& +l.test(j)){var s=t.getElementsByTagName("head")[0]||t.documentElement,v=t.createElement("script");v.type="text/javascript";if(b.support.scriptEval)v.appendChild(t.createTextNode(j));else v.text=j;s.insertBefore(v,s.firstChild);s.removeChild(v)}},nodeName:function(j,s){return j.nodeName&&j.nodeName.toUpperCase()===s.toUpperCase()},each:function(j,s,v){var z,H=0,G=j.length,K=G===B||b.isFunction(j);if(v)if(K)for(z in j){if(s.apply(j[z],v)===false)break}else for(;H
a";var f=d.getElementsByTagName("*"),h=d.getElementsByTagName("a")[0],l=t.createElement("select"), +k=l.appendChild(t.createElement("option"));if(!(!f||!f.length||!h)){c.support={leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(h.getAttribute("style")),hrefNormalized:h.getAttribute("href")==="/a",opacity:/^0.55$/.test(h.style.opacity),cssFloat:!!h.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:k.selected,deleteExpando:true,optDisabled:false,checkClone:false, +scriptEval:false,noCloneEvent:true,boxModel:null,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableHiddenOffsets:true};l.disabled=true;c.support.optDisabled=!k.disabled;b.type="text/javascript";try{b.appendChild(t.createTextNode("window."+e+"=1;"))}catch(o){}a.insertBefore(b,a.firstChild);if(E[e]){c.support.scriptEval=true;delete E[e]}try{delete b.test}catch(x){c.support.deleteExpando=false}a.removeChild(b);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function r(){c.support.noCloneEvent= +false;d.detachEvent("onclick",r)});d.cloneNode(true).fireEvent("onclick")}d=t.createElement("div");d.innerHTML="";a=t.createDocumentFragment();a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var r=t.createElement("div");r.style.width=r.style.paddingLeft="1px";t.body.appendChild(r);c.boxModel=c.support.boxModel=r.offsetWidth===2;if("zoom"in r.style){r.style.display="inline";r.style.zoom= +1;c.support.inlineBlockNeedsLayout=r.offsetWidth===2;r.style.display="";r.innerHTML="
";c.support.shrinkWrapBlocks=r.offsetWidth!==2}r.innerHTML="
t
";var A=r.getElementsByTagName("td");c.support.reliableHiddenOffsets=A[0].offsetHeight===0;A[0].style.display="";A[1].style.display="none";c.support.reliableHiddenOffsets=c.support.reliableHiddenOffsets&&A[0].offsetHeight===0;r.innerHTML="";t.body.removeChild(r).style.display= +"none"});a=function(r){var A=t.createElement("div");r="on"+r;var C=r in A;if(!C){A.setAttribute(r,"return;");C=typeof A[r]==="function"}return C};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=f=h=null}})();var ra={},Ja=/^(?:\{.*\}|\[.*\])$/;c.extend({cache:{},uuid:0,expando:"jQuery"+c.now(),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},data:function(a,b,d){if(c.acceptData(a)){a=a==E?ra:a;var e=a.nodeType,f=e?a[c.expando]:null,h= +c.cache;if(!(e&&!f&&typeof b==="string"&&d===B)){if(e)f||(a[c.expando]=f=++c.uuid);else h=a;if(typeof b==="object")if(e)h[f]=c.extend(h[f],b);else c.extend(h,b);else if(e&&!h[f])h[f]={};a=e?h[f]:h;if(d!==B)a[b]=d;return typeof b==="string"?a[b]:a}}},removeData:function(a,b){if(c.acceptData(a)){a=a==E?ra:a;var d=a.nodeType,e=d?a[c.expando]:a,f=c.cache,h=d?f[e]:e;if(b){if(h){delete h[b];d&&c.isEmptyObject(h)&&c.removeData(a)}}else if(d&&c.support.deleteExpando)delete a[c.expando];else if(a.removeAttribute)a.removeAttribute(c.expando); +else if(d)delete f[e];else for(var l in a)delete a[l]}},acceptData:function(a){if(a.nodeName){var b=c.noData[a.nodeName.toLowerCase()];if(b)return!(b===true||a.getAttribute("classid")!==b)}return true}});c.fn.extend({data:function(a,b){var d=null;if(typeof a==="undefined"){if(this.length){var e=this[0].attributes,f;d=c.data(this[0]);for(var h=0,l=e.length;h-1)return true;return false},val:function(a){if(!arguments.length){var b=this[0];if(b){if(c.nodeName(b,"option")){var d=b.attributes.value;return!d||d.specified?b.value:b.text}if(c.nodeName(b,"select")){var e=b.selectedIndex;d=[];var f=b.options;b=b.type==="select-one"; +if(e<0)return null;var h=b?e:0;for(e=b?e+1:f.length;h=0;else if(c.nodeName(this,"select")){var A=c.makeArray(r);c("option",this).each(function(){this.selected=c.inArray(c(this).val(),A)>=0});if(!A.length)this.selectedIndex=-1}else this.value=r}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true}, +attr:function(a,b,d,e){if(!a||a.nodeType===3||a.nodeType===8)return B;if(e&&b in c.attrFn)return c(a)[b](d);e=a.nodeType!==1||!c.isXMLDoc(a);var f=d!==B;b=e&&c.props[b]||b;var h=Ta.test(b);if((b in a||a[b]!==B)&&e&&!h){if(f){b==="type"&&Ua.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed");if(d===null)a.nodeType===1&&a.removeAttribute(b);else a[b]=d}if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;if(b==="tabIndex")return(b=a.getAttributeNode("tabIndex"))&& +b.specified?b.value:Va.test(a.nodeName)||Wa.test(a.nodeName)&&a.href?0:B;return a[b]}if(!c.support.style&&e&&b==="style"){if(f)a.style.cssText=""+d;return a.style.cssText}f&&a.setAttribute(b,""+d);if(!a.attributes[b]&&a.hasAttribute&&!a.hasAttribute(b))return B;a=!c.support.hrefNormalized&&e&&h?a.getAttribute(b,2):a.getAttribute(b);return a===null?B:a}});var X=/\.(.*)$/,ia=/^(?:textarea|input|select)$/i,La=/\./g,Ma=/ /g,Xa=/[^\w\s.|`]/g,Ya=function(a){return a.replace(Xa,"\\$&")},ua={focusin:0,focusout:0}; +c.event={add:function(a,b,d,e){if(!(a.nodeType===3||a.nodeType===8)){if(c.isWindow(a)&&a!==E&&!a.frameElement)a=E;if(d===false)d=U;else if(!d)return;var f,h;if(d.handler){f=d;d=f.handler}if(!d.guid)d.guid=c.guid++;if(h=c.data(a)){var l=a.nodeType?"events":"__events__",k=h[l],o=h.handle;if(typeof k==="function"){o=k.handle;k=k.events}else if(!k){a.nodeType||(h[l]=h=function(){});h.events=k={}}if(!o)h.handle=o=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(o.elem, +arguments):B};o.elem=a;b=b.split(" ");for(var x=0,r;l=b[x++];){h=f?c.extend({},f):{handler:d,data:e};if(l.indexOf(".")>-1){r=l.split(".");l=r.shift();h.namespace=r.slice(0).sort().join(".")}else{r=[];h.namespace=""}h.type=l;if(!h.guid)h.guid=d.guid;var A=k[l],C=c.event.special[l]||{};if(!A){A=k[l]=[];if(!C.setup||C.setup.call(a,e,r,o)===false)if(a.addEventListener)a.addEventListener(l,o,false);else a.attachEvent&&a.attachEvent("on"+l,o)}if(C.add){C.add.call(a,h);if(!h.handler.guid)h.handler.guid= +d.guid}A.push(h);c.event.global[l]=true}a=null}}},global:{},remove:function(a,b,d,e){if(!(a.nodeType===3||a.nodeType===8)){if(d===false)d=U;var f,h,l=0,k,o,x,r,A,C,J=a.nodeType?"events":"__events__",w=c.data(a),I=w&&w[J];if(w&&I){if(typeof I==="function"){w=I;I=I.events}if(b&&b.type){d=b.handler;b=b.type}if(!b||typeof b==="string"&&b.charAt(0)==="."){b=b||"";for(f in I)c.event.remove(a,f+b)}else{for(b=b.split(" ");f=b[l++];){r=f;k=f.indexOf(".")<0;o=[];if(!k){o=f.split(".");f=o.shift();x=RegExp("(^|\\.)"+ +c.map(o.slice(0).sort(),Ya).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(A=I[f])if(d){r=c.event.special[f]||{};for(h=e||0;h=0){a.type=f=f.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();c.event.global[f]&&c.each(c.cache,function(){this.events&&this.events[f]&&c.event.trigger(a,b,this.handle.elem)})}if(!d||d.nodeType===3||d.nodeType=== +8)return B;a.result=B;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;(e=d.nodeType?c.data(d,"handle"):(c.data(d,"__events__")||{}).handle)&&e.apply(d,b);e=d.parentNode||d.ownerDocument;try{if(!(d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()]))if(d["on"+f]&&d["on"+f].apply(d,b)===false){a.result=false;a.preventDefault()}}catch(h){}if(!a.isPropagationStopped()&&e)c.event.trigger(a,b,e,true);else if(!a.isDefaultPrevented()){var l;e=a.target;var k=f.replace(X,""),o=c.nodeName(e,"a")&&k=== +"click",x=c.event.special[k]||{};if((!x._default||x._default.call(d,a)===false)&&!o&&!(e&&e.nodeName&&c.noData[e.nodeName.toLowerCase()])){try{if(e[k]){if(l=e["on"+k])e["on"+k]=null;c.event.triggered=true;e[k]()}}catch(r){}if(l)e["on"+k]=l;c.event.triggered=false}}},handle:function(a){var b,d,e,f;d=[];var h=c.makeArray(arguments);a=h[0]=c.event.fix(a||E.event);a.currentTarget=this;b=a.type.indexOf(".")<0&&!a.exclusive;if(!b){e=a.type.split(".");a.type=e.shift();d=e.slice(0).sort();e=RegExp("(^|\\.)"+ +d.join("\\.(?:.*\\.)?")+"(\\.|$)")}a.namespace=a.namespace||d.join(".");f=c.data(this,this.nodeType?"events":"__events__");if(typeof f==="function")f=f.events;d=(f||{})[a.type];if(f&&d){d=d.slice(0);f=0;for(var l=d.length;f-1?c.map(a.options,function(e){return e.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d},Z=function(a,b){var d=a.target,e,f;if(!(!ia.test(d.nodeName)||d.readOnly)){e=c.data(d,"_change_data");f=xa(d);if(a.type!=="focusout"||d.type!=="radio")c.data(d,"_change_data",f);if(!(e===B||f===e))if(e!=null||f){a.type="change";a.liveFired= +B;return c.event.trigger(a,b,d)}}};c.event.special.change={filters:{focusout:Z,beforedeactivate:Z,click:function(a){var b=a.target,d=b.type;if(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")return Z.call(this,a)},keydown:function(a){var b=a.target,d=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")return Z.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a,"_change_data",xa(a))}},setup:function(){if(this.type=== +"file")return false;for(var a in V)c.event.add(this,a+".specialChange",V[a]);return ia.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return ia.test(this.nodeName)}};V=c.event.special.change.filters;V.focus=V.beforeactivate}t.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(e){e=c.event.fix(e);e.type=b;return c.event.trigger(e,null,e.target)}c.event.special[b]={setup:function(){ua[b]++===0&&t.addEventListener(a,d,true)},teardown:function(){--ua[b]=== +0&&t.removeEventListener(a,d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,e,f){if(typeof d==="object"){for(var h in d)this[b](h,e,d[h],f);return this}if(c.isFunction(e)||e===false){f=e;e=B}var l=b==="one"?c.proxy(f,function(o){c(this).unbind(o,l);return f.apply(this,arguments)}):f;if(d==="unload"&&b!=="one")this.one(d,e,f);else{h=0;for(var k=this.length;h0?this.bind(b,d,e):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});E.attachEvent&&!E.addEventListener&&c(E).bind("unload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}}); +(function(){function a(g,i,n,m,p,q){p=0;for(var u=m.length;p0){F=y;break}}y=y[g]}m[p]=F}}}var d=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e=0,f=Object.prototype.toString,h=false,l=true;[0,0].sort(function(){l=false;return 0});var k=function(g,i,n,m){n=n||[];var p=i=i||t;if(i.nodeType!==1&&i.nodeType!==9)return[];if(!g||typeof g!=="string")return n;var q,u,y,F,M,N=true,O=k.isXML(i),D=[],R=g;do{d.exec("");if(q=d.exec(R)){R=q[3];D.push(q[1]);if(q[2]){F=q[3]; +break}}}while(q);if(D.length>1&&x.exec(g))if(D.length===2&&o.relative[D[0]])u=L(D[0]+D[1],i);else for(u=o.relative[D[0]]?[i]:k(D.shift(),i);D.length;){g=D.shift();if(o.relative[g])g+=D.shift();u=L(g,u)}else{if(!m&&D.length>1&&i.nodeType===9&&!O&&o.match.ID.test(D[0])&&!o.match.ID.test(D[D.length-1])){q=k.find(D.shift(),i,O);i=q.expr?k.filter(q.expr,q.set)[0]:q.set[0]}if(i){q=m?{expr:D.pop(),set:C(m)}:k.find(D.pop(),D.length===1&&(D[0]==="~"||D[0]==="+")&&i.parentNode?i.parentNode:i,O);u=q.expr?k.filter(q.expr, +q.set):q.set;if(D.length>0)y=C(u);else N=false;for(;D.length;){q=M=D.pop();if(o.relative[M])q=D.pop();else M="";if(q==null)q=i;o.relative[M](y,q,O)}}else y=[]}y||(y=u);y||k.error(M||g);if(f.call(y)==="[object Array]")if(N)if(i&&i.nodeType===1)for(g=0;y[g]!=null;g++){if(y[g]&&(y[g]===true||y[g].nodeType===1&&k.contains(i,y[g])))n.push(u[g])}else for(g=0;y[g]!=null;g++)y[g]&&y[g].nodeType===1&&n.push(u[g]);else n.push.apply(n,y);else C(y,n);if(F){k(F,p,n,m);k.uniqueSort(n)}return n};k.uniqueSort=function(g){if(w){h= +l;g.sort(w);if(h)for(var i=1;i0};k.find=function(g,i,n){var m;if(!g)return[];for(var p=0,q=o.order.length;p":function(g,i){var n,m=typeof i==="string",p=0,q=g.length;if(m&&!/\W/.test(i))for(i=i.toLowerCase();p=0))n||m.push(u);else if(n)i[q]=false;return false},ID:function(g){return g[1].replace(/\\/g,"")},TAG:function(g){return g[1].toLowerCase()},CHILD:function(g){if(g[1]==="nth"){var i=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2]==="even"&&"2n"||g[2]==="odd"&&"2n+1"||!/\D/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=i[1]+(i[2]||1)-0;g[3]=i[3]-0}g[0]=e++;return g},ATTR:function(g,i,n, +m,p,q){i=g[1].replace(/\\/g,"");if(!q&&o.attrMap[i])g[1]=o.attrMap[i];if(g[2]==="~=")g[4]=" "+g[4]+" ";return g},PSEUDO:function(g,i,n,m,p){if(g[1]==="not")if((d.exec(g[3])||"").length>1||/^\w/.test(g[3]))g[3]=k(g[3],null,null,i);else{g=k.filter(g[3],i,n,true^p);n||m.push.apply(m,g);return false}else if(o.match.POS.test(g[0])||o.match.CHILD.test(g[0]))return true;return g},POS:function(g){g.unshift(true);return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled=== +true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},empty:function(g){return!g.firstChild},has:function(g,i,n){return!!k(n[3],g).length},header:function(g){return/h\d/i.test(g.nodeName)},text:function(g){return"text"===g.type},radio:function(g){return"radio"===g.type},checkbox:function(g){return"checkbox"===g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"=== +g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===g.type||g.nodeName.toLowerCase()==="button"},input:function(g){return/input|select|textarea|button/i.test(g.nodeName)}},setFilters:{first:function(g,i){return i===0},last:function(g,i,n,m){return i===m.length-1},even:function(g,i){return i%2===0},odd:function(g,i){return i%2===1},lt:function(g,i,n){return in[3]-0},nth:function(g,i,n){return n[3]- +0===i},eq:function(g,i,n){return n[3]-0===i}},filter:{PSEUDO:function(g,i,n,m){var p=i[1],q=o.filters[p];if(q)return q(g,n,i,m);else if(p==="contains")return(g.textContent||g.innerText||k.getText([g])||"").indexOf(i[3])>=0;else if(p==="not"){i=i[3];n=0;for(m=i.length;n=0}},ID:function(g,i){return g.nodeType===1&&g.getAttribute("id")===i},TAG:function(g,i){return i==="*"&&g.nodeType===1||g.nodeName.toLowerCase()=== +i},CLASS:function(g,i){return(" "+(g.className||g.getAttribute("class"))+" ").indexOf(i)>-1},ATTR:function(g,i){var n=i[1];n=o.attrHandle[n]?o.attrHandle[n](g):g[n]!=null?g[n]:g.getAttribute(n);var m=n+"",p=i[2],q=i[4];return n==null?p==="!=":p==="="?m===q:p==="*="?m.indexOf(q)>=0:p==="~="?(" "+m+" ").indexOf(q)>=0:!q?m&&n!==false:p==="!="?m!==q:p==="^="?m.indexOf(q)===0:p==="$="?m.substr(m.length-q.length)===q:p==="|="?m===q||m.substr(0,q.length+1)===q+"-":false},POS:function(g,i,n,m){var p=o.setFilters[i[2]]; +if(p)return p(g,n,i,m)}}},x=o.match.POS,r=function(g,i){return"\\"+(i-0+1)},A;for(A in o.match){o.match[A]=RegExp(o.match[A].source+/(?![^\[]*\])(?![^\(]*\))/.source);o.leftMatch[A]=RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[A].source.replace(/\\(\d+)/g,r))}var C=function(g,i){g=Array.prototype.slice.call(g,0);if(i){i.push.apply(i,g);return i}return g};try{Array.prototype.slice.call(t.documentElement.childNodes,0)}catch(J){C=function(g,i){var n=0,m=i||[];if(f.call(g)==="[object Array]")Array.prototype.push.apply(m, +g);else if(typeof g.length==="number")for(var p=g.length;n";n.insertBefore(g,n.firstChild);if(t.getElementById(i)){o.find.ID=function(m,p,q){if(typeof p.getElementById!=="undefined"&&!q)return(p=p.getElementById(m[1]))?p.id===m[1]||typeof p.getAttributeNode!=="undefined"&&p.getAttributeNode("id").nodeValue===m[1]?[p]:B:[]};o.filter.ID=function(m,p){var q=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&q&&q.nodeValue===p}}n.removeChild(g); +n=g=null})();(function(){var g=t.createElement("div");g.appendChild(t.createComment(""));if(g.getElementsByTagName("*").length>0)o.find.TAG=function(i,n){var m=n.getElementsByTagName(i[1]);if(i[1]==="*"){for(var p=[],q=0;m[q];q++)m[q].nodeType===1&&p.push(m[q]);m=p}return m};g.innerHTML="";if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")o.attrHandle.href=function(i){return i.getAttribute("href",2)};g=null})();t.querySelectorAll&& +function(){var g=k,i=t.createElement("div");i.innerHTML="

";if(!(i.querySelectorAll&&i.querySelectorAll(".TEST").length===0)){k=function(m,p,q,u){p=p||t;m=m.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!u&&!k.isXML(p))if(p.nodeType===9)try{return C(p.querySelectorAll(m),q)}catch(y){}else if(p.nodeType===1&&p.nodeName.toLowerCase()!=="object"){var F=p.getAttribute("id"),M=F||"__sizzle__";F||p.setAttribute("id",M);try{return C(p.querySelectorAll("#"+M+" "+m),q)}catch(N){}finally{F|| +p.removeAttribute("id")}}return g(m,p,q,u)};for(var n in g)k[n]=g[n];i=null}}();(function(){var g=t.documentElement,i=g.matchesSelector||g.mozMatchesSelector||g.webkitMatchesSelector||g.msMatchesSelector,n=false;try{i.call(t.documentElement,"[test!='']:sizzle")}catch(m){n=true}if(i)k.matchesSelector=function(p,q){q=q.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!k.isXML(p))try{if(n||!o.match.PSEUDO.test(q)&&!/!=/.test(q))return i.call(p,q)}catch(u){}return k(q,null,null,[p]).length>0}})();(function(){var g= +t.createElement("div");g.innerHTML="
";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length===0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){o.order.splice(1,0,"CLASS");o.find.CLASS=function(i,n,m){if(typeof n.getElementsByClassName!=="undefined"&&!m)return n.getElementsByClassName(i[1])};g=null}}})();k.contains=t.documentElement.contains?function(g,i){return g!==i&&(g.contains?g.contains(i):true)}:t.documentElement.compareDocumentPosition? +function(g,i){return!!(g.compareDocumentPosition(i)&16)}:function(){return false};k.isXML=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false};var L=function(g,i){for(var n,m=[],p="",q=i.nodeType?[i]:i;n=o.match.PSEUDO.exec(g);){p+=n[0];g=g.replace(o.match.PSEUDO,"")}g=o.relative[g]?g+"*":g;n=0;for(var u=q.length;n0)for(var h=d;h0},closest:function(a,b){var d=[],e,f,h=this[0];if(c.isArray(a)){var l,k={},o=1;if(h&&a.length){e=0;for(f=a.length;e-1:c(h).is(e))d.push({selector:l,elem:h,level:o})}h= +h.parentNode;o++}}return d}l=cb.test(a)?c(a,b||this.context):null;e=0;for(f=this.length;e-1:c.find.matchesSelector(h,a)){d.push(h);break}else{h=h.parentNode;if(!h||!h.ownerDocument||h===b)break}d=d.length>1?c.unique(d):d;return this.pushStack(d,"closest",a)},index:function(a){if(!a||typeof a==="string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var d=typeof a==="string"?c(a,b||this.context): +c.makeArray(a),e=c.merge(this.get(),d);return this.pushStack(!d[0]||!d[0].parentNode||d[0].parentNode.nodeType===11||!e[0]||!e[0].parentNode||e[0].parentNode.nodeType===11?e:c.unique(e))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode",d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a, +2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a, +b){c.fn[a]=function(d,e){var f=c.map(this,b,d);Za.test(a)||(e=d);if(e&&typeof e==="string")f=c.filter(e,f);f=this.length>1?c.unique(f):f;if((this.length>1||ab.test(e))&&$a.test(a))f=f.reverse();return this.pushStack(f,a,bb.call(arguments).join(","))}});c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return b.length===1?c.find.matchesSelector(b[0],a)?[b[0]]:[]:c.find.matches(a,b)},dir:function(a,b,d){var e=[];for(a=a[b];a&&a.nodeType!==9&&(d===B||a.nodeType!==1||!c(a).is(d));){a.nodeType===1&& +e.push(a);a=a[b]}return e},nth:function(a,b,d){b=b||1;for(var e=0;a;a=a[d])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var za=/ jQuery\d+="(?:\d+|null)"/g,$=/^\s+/,Aa=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Ba=/<([\w:]+)/,db=/\s]+\/)>/g,P={option:[1, +""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]};P.optgroup=P.option;P.tbody=P.tfoot=P.colgroup=P.caption=P.thead;P.th=P.td;if(!c.support.htmlSerialize)P._default=[1,"div
","
"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d= +c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==B)return this.empty().append((this[0]&&this[0].ownerDocument||t).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var d=this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this}, +wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})}, +prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b, +this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var d=0,e;(e=this[d])!=null;d++)if(!a||c.filter(a,[e]).length){if(!b&&e.nodeType===1){c.cleanData(e.getElementsByTagName("*"));c.cleanData([e])}e.parentNode&&e.parentNode.removeChild(e)}return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild); +return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,e=this.ownerDocument;if(!d){d=e.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(za,"").replace(fb,'="$1">').replace($,"")],e)[0]}else return this.cloneNode(true)});if(a===true){na(this,b);na(this.find("*"),b.find("*"))}return b},html:function(a){if(a===B)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(za,""):null; +else if(typeof a==="string"&&!Ca.test(a)&&(c.support.leadingWhitespace||!$.test(a))&&!P[(Ba.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Aa,"<$1>");try{for(var b=0,d=this.length;b0||e.cacheable||this.length>1?h.cloneNode(true):h)}k.length&&c.each(k,Oa)}return this}});c.buildFragment=function(a,b,d){var e,f,h;b=b&&b[0]?b[0].ownerDocument||b[0]:t;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===t&&!Ca.test(a[0])&&(c.support.checkClone||!Da.test(a[0]))){f=true;if(h=c.fragments[a[0]])if(h!==1)e=h}if(!e){e=b.createDocumentFragment();c.clean(a,b,e,d)}if(f)c.fragments[a[0]]=h?e:1;return{fragment:e,cacheable:f}};c.fragments={};c.each({appendTo:"append", +prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var e=[];d=c(d);var f=this.length===1&&this[0].parentNode;if(f&&f.nodeType===11&&f.childNodes.length===1&&d.length===1){d[b](this[0]);return this}else{f=0;for(var h=d.length;f0?this.clone(true):this).get();c(d[f])[b](l);e=e.concat(l)}return this.pushStack(e,a,d.selector)}}});c.extend({clean:function(a,b,d,e){b=b||t;if(typeof b.createElement==="undefined")b=b.ownerDocument|| +b[0]&&b[0].ownerDocument||t;for(var f=[],h=0,l;(l=a[h])!=null;h++){if(typeof l==="number")l+="";if(l){if(typeof l==="string"&&!eb.test(l))l=b.createTextNode(l);else if(typeof l==="string"){l=l.replace(Aa,"<$1>");var k=(Ba.exec(l)||["",""])[1].toLowerCase(),o=P[k]||P._default,x=o[0],r=b.createElement("div");for(r.innerHTML=o[1]+l+o[2];x--;)r=r.lastChild;if(!c.support.tbody){x=db.test(l);k=k==="table"&&!x?r.firstChild&&r.firstChild.childNodes:o[1]===""&&!x?r.childNodes:[];for(o=k.length- +1;o>=0;--o)c.nodeName(k[o],"tbody")&&!k[o].childNodes.length&&k[o].parentNode.removeChild(k[o])}!c.support.leadingWhitespace&&$.test(l)&&r.insertBefore(b.createTextNode($.exec(l)[0]),r.firstChild);l=r.childNodes}if(l.nodeType)f.push(l);else f=c.merge(f,l)}}if(d)for(h=0;f[h];h++)if(e&&c.nodeName(f[h],"script")&&(!f[h].type||f[h].type.toLowerCase()==="text/javascript"))e.push(f[h].parentNode?f[h].parentNode.removeChild(f[h]):f[h]);else{f[h].nodeType===1&&f.splice.apply(f,[h+1,0].concat(c.makeArray(f[h].getElementsByTagName("script")))); +d.appendChild(f[h])}return f},cleanData:function(a){for(var b,d,e=c.cache,f=c.event.special,h=c.support.deleteExpando,l=0,k;(k=a[l])!=null;l++)if(!(k.nodeName&&c.noData[k.nodeName.toLowerCase()]))if(d=k[c.expando]){if((b=e[d])&&b.events)for(var o in b.events)f[o]?c.event.remove(k,o):c.removeEvent(k,o,b.handle);if(h)delete k[c.expando];else k.removeAttribute&&k.removeAttribute(c.expando);delete e[d]}}});var Ea=/alpha\([^)]*\)/i,gb=/opacity=([^)]*)/,hb=/-([a-z])/ig,ib=/([A-Z])/g,Fa=/^-?\d+(?:px)?$/i, +jb=/^-?\d/,kb={position:"absolute",visibility:"hidden",display:"block"},Pa=["Left","Right"],Qa=["Top","Bottom"],W,Ga,aa,lb=function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){if(arguments.length===2&&b===B)return this;return c.access(this,a,b,true,function(d,e,f){return f!==B?c.style(d,e,f):c.css(d,e)})};c.extend({cssHooks:{opacity:{get:function(a,b){if(b){var d=W(a,"opacity","opacity");return d===""?"1":d}else return a.style.opacity}}},cssNumber:{zIndex:true,fontWeight:true,opacity:true, +zoom:true,lineHeight:true},cssProps:{"float":c.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,d,e){if(!(!a||a.nodeType===3||a.nodeType===8||!a.style)){var f,h=c.camelCase(b),l=a.style,k=c.cssHooks[h];b=c.cssProps[h]||h;if(d!==B){if(!(typeof d==="number"&&isNaN(d)||d==null)){if(typeof d==="number"&&!c.cssNumber[h])d+="px";if(!k||!("set"in k)||(d=k.set(a,d))!==B)try{l[b]=d}catch(o){}}}else{if(k&&"get"in k&&(f=k.get(a,false,e))!==B)return f;return l[b]}}},css:function(a,b,d){var e,f=c.camelCase(b), +h=c.cssHooks[f];b=c.cssProps[f]||f;if(h&&"get"in h&&(e=h.get(a,true,d))!==B)return e;else if(W)return W(a,b,f)},swap:function(a,b,d){var e={},f;for(f in b){e[f]=a.style[f];a.style[f]=b[f]}d.call(a);for(f in b)a.style[f]=e[f]},camelCase:function(a){return a.replace(hb,lb)}});c.curCSS=c.css;c.each(["height","width"],function(a,b){c.cssHooks[b]={get:function(d,e,f){var h;if(e){if(d.offsetWidth!==0)h=oa(d,b,f);else c.swap(d,kb,function(){h=oa(d,b,f)});if(h<=0){h=W(d,b,b);if(h==="0px"&&aa)h=aa(d,b,b); +if(h!=null)return h===""||h==="auto"?"0px":h}if(h<0||h==null){h=d.style[b];return h===""||h==="auto"?"0px":h}return typeof h==="string"?h:h+"px"}},set:function(d,e){if(Fa.test(e)){e=parseFloat(e);if(e>=0)return e+"px"}else return e}}});if(!c.support.opacity)c.cssHooks.opacity={get:function(a,b){return gb.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var d=a.style;d.zoom=1;var e=c.isNaN(b)?"":"alpha(opacity="+b*100+")",f= +d.filter||"";d.filter=Ea.test(f)?f.replace(Ea,e):d.filter+" "+e}};if(t.defaultView&&t.defaultView.getComputedStyle)Ga=function(a,b,d){var e;d=d.replace(ib,"-$1").toLowerCase();if(!(b=a.ownerDocument.defaultView))return B;if(b=b.getComputedStyle(a,null)){e=b.getPropertyValue(d);if(e===""&&!c.contains(a.ownerDocument.documentElement,a))e=c.style(a,d)}return e};if(t.documentElement.currentStyle)aa=function(a,b){var d,e,f=a.currentStyle&&a.currentStyle[b],h=a.style;if(!Fa.test(f)&&jb.test(f)){d=h.left; +e=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;h.left=b==="fontSize"?"1em":f||0;f=h.pixelLeft+"px";h.left=d;a.runtimeStyle.left=e}return f===""?"auto":f};W=Ga||aa;if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b=a.offsetHeight;return a.offsetWidth===0&&b===0||!c.support.reliableHiddenOffsets&&(a.style.display||c.css(a,"display"))==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var mb=c.now(),nb=/)<[^<]*)*<\/script>/gi, +ob=/^(?:select|textarea)/i,pb=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,qb=/^(?:GET|HEAD)$/,Ra=/\[\]$/,T=/\=\?(&|$)/,ja=/\?/,rb=/([?&])_=[^&]*/,sb=/^(\w+:)?\/\/([^\/?#]+)/,tb=/%20/g,ub=/#.*$/,Ha=c.fn.load;c.fn.extend({load:function(a,b,d){if(typeof a!=="string"&&Ha)return Ha.apply(this,arguments);else if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var f=a.slice(e,a.length);a=a.slice(0,e)}e="GET";if(b)if(c.isFunction(b)){d=b;b=null}else if(typeof b=== +"object"){b=c.param(b,c.ajaxSettings.traditional);e="POST"}var h=this;c.ajax({url:a,type:e,dataType:"html",data:b,complete:function(l,k){if(k==="success"||k==="notmodified")h.html(f?c("
").append(l.responseText.replace(nb,"")).find(f):l.responseText);d&&h.each(d,[l.responseText,k,l])}});return this},serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&& +!this.disabled&&(this.checked||ob.test(this.nodeName)||pb.test(this.type))}).map(function(a,b){var d=c(this).val();return d==null?null:c.isArray(d)?c.map(d,function(e){return{name:b.name,value:e}}):{name:b.name,value:d}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});c.extend({get:function(a,b,d,e){if(c.isFunction(b)){e=e||d;d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:e})}, +getScript:function(a,b){return c.get(a,null,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},post:function(a,b,d,e){if(c.isFunction(b)){e=e||d;d=b;b={}}return c.ajax({type:"POST",url:a,data:b,success:d,dataType:e})},ajaxSetup:function(a){c.extend(c.ajaxSettings,a)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return new E.XMLHttpRequest},accepts:{xml:"application/xml, text/xml",html:"text/html", +script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},ajax:function(a){var b=c.extend(true,{},c.ajaxSettings,a),d,e,f,h=b.type.toUpperCase(),l=qb.test(h);b.url=b.url.replace(ub,"");b.context=a&&a.context!=null?a.context:b;if(b.data&&b.processData&&typeof b.data!=="string")b.data=c.param(b.data,b.traditional);if(b.dataType==="jsonp"){if(h==="GET")T.test(b.url)||(b.url+=(ja.test(b.url)?"&":"?")+(b.jsonp||"callback")+"=?");else if(!b.data|| +!T.test(b.data))b.data=(b.data?b.data+"&":"")+(b.jsonp||"callback")+"=?";b.dataType="json"}if(b.dataType==="json"&&(b.data&&T.test(b.data)||T.test(b.url))){d=b.jsonpCallback||"jsonp"+mb++;if(b.data)b.data=(b.data+"").replace(T,"="+d+"$1");b.url=b.url.replace(T,"="+d+"$1");b.dataType="script";var k=E[d];E[d]=function(m){if(c.isFunction(k))k(m);else{E[d]=B;try{delete E[d]}catch(p){}}f=m;c.handleSuccess(b,w,e,f);c.handleComplete(b,w,e,f);r&&r.removeChild(A)}}if(b.dataType==="script"&&b.cache===null)b.cache= +false;if(b.cache===false&&l){var o=c.now(),x=b.url.replace(rb,"$1_="+o);b.url=x+(x===b.url?(ja.test(b.url)?"&":"?")+"_="+o:"")}if(b.data&&l)b.url+=(ja.test(b.url)?"&":"?")+b.data;b.global&&c.active++===0&&c.event.trigger("ajaxStart");o=(o=sb.exec(b.url))&&(o[1]&&o[1].toLowerCase()!==location.protocol||o[2].toLowerCase()!==location.host);if(b.dataType==="script"&&h==="GET"&&o){var r=t.getElementsByTagName("head")[0]||t.documentElement,A=t.createElement("script");if(b.scriptCharset)A.charset=b.scriptCharset; +A.src=b.url;if(!d){var C=false;A.onload=A.onreadystatechange=function(){if(!C&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){C=true;c.handleSuccess(b,w,e,f);c.handleComplete(b,w,e,f);A.onload=A.onreadystatechange=null;r&&A.parentNode&&r.removeChild(A)}}}r.insertBefore(A,r.firstChild);return B}var J=false,w=b.xhr();if(w){b.username?w.open(h,b.url,b.async,b.username,b.password):w.open(h,b.url,b.async);try{if(b.data!=null&&!l||a&&a.contentType)w.setRequestHeader("Content-Type", +b.contentType);if(b.ifModified){c.lastModified[b.url]&&w.setRequestHeader("If-Modified-Since",c.lastModified[b.url]);c.etag[b.url]&&w.setRequestHeader("If-None-Match",c.etag[b.url])}o||w.setRequestHeader("X-Requested-With","XMLHttpRequest");w.setRequestHeader("Accept",b.dataType&&b.accepts[b.dataType]?b.accepts[b.dataType]+", */*; q=0.01":b.accepts._default)}catch(I){}if(b.beforeSend&&b.beforeSend.call(b.context,w,b)===false){b.global&&c.active--===1&&c.event.trigger("ajaxStop");w.abort();return false}b.global&& +c.triggerGlobal(b,"ajaxSend",[w,b]);var L=w.onreadystatechange=function(m){if(!w||w.readyState===0||m==="abort"){J||c.handleComplete(b,w,e,f);J=true;if(w)w.onreadystatechange=c.noop}else if(!J&&w&&(w.readyState===4||m==="timeout")){J=true;w.onreadystatechange=c.noop;e=m==="timeout"?"timeout":!c.httpSuccess(w)?"error":b.ifModified&&c.httpNotModified(w,b.url)?"notmodified":"success";var p;if(e==="success")try{f=c.httpData(w,b.dataType,b)}catch(q){e="parsererror";p=q}if(e==="success"||e==="notmodified")d|| +c.handleSuccess(b,w,e,f);else c.handleError(b,w,e,p);d||c.handleComplete(b,w,e,f);m==="timeout"&&w.abort();if(b.async)w=null}};try{var g=w.abort;w.abort=function(){w&&Function.prototype.call.call(g,w);L("abort")}}catch(i){}b.async&&b.timeout>0&&setTimeout(function(){w&&!J&&L("timeout")},b.timeout);try{w.send(l||b.data==null?null:b.data)}catch(n){c.handleError(b,w,null,n);c.handleComplete(b,w,e,f)}b.async||L();return w}},param:function(a,b){var d=[],e=function(h,l){l=c.isFunction(l)?l():l;d[d.length]= +encodeURIComponent(h)+"="+encodeURIComponent(l)};if(b===B)b=c.ajaxSettings.traditional;if(c.isArray(a)||a.jquery)c.each(a,function(){e(this.name,this.value)});else for(var f in a)da(f,a[f],b,e);return d.join("&").replace(tb,"+")}});c.extend({active:0,lastModified:{},etag:{},handleError:function(a,b,d,e){a.error&&a.error.call(a.context,b,d,e);a.global&&c.triggerGlobal(a,"ajaxError",[b,a,e])},handleSuccess:function(a,b,d,e){a.success&&a.success.call(a.context,e,d,b);a.global&&c.triggerGlobal(a,"ajaxSuccess", +[b,a])},handleComplete:function(a,b,d){a.complete&&a.complete.call(a.context,b,d);a.global&&c.triggerGlobal(a,"ajaxComplete",[b,a]);a.global&&c.active--===1&&c.event.trigger("ajaxStop")},triggerGlobal:function(a,b,d){(a.context&&a.context.url==null?c(a.context):c.event).trigger(b,d)},httpSuccess:function(a){try{return!a.status&&location.protocol==="file:"||a.status>=200&&a.status<300||a.status===304||a.status===1223}catch(b){}return false},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"), +e=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(e)c.etag[b]=e;return a.status===304},httpData:function(a,b,d){var e=a.getResponseHeader("content-type")||"",f=b==="xml"||!b&&e.indexOf("xml")>=0;a=f?a.responseXML:a.responseText;f&&a.documentElement.nodeName==="parsererror"&&c.error("parsererror");if(d&&d.dataFilter)a=d.dataFilter(a,b);if(typeof a==="string")if(b==="json"||!b&&e.indexOf("json")>=0)a=c.parseJSON(a);else if(b==="script"||!b&&e.indexOf("javascript")>=0)c.globalEval(a);return a}}); +if(E.ActiveXObject)c.ajaxSettings.xhr=function(){if(E.location.protocol!=="file:")try{return new E.XMLHttpRequest}catch(a){}try{return new E.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}};c.support.ajax=!!c.ajaxSettings.xhr();var ea={},vb=/^(?:toggle|show|hide)$/,wb=/^([+\-]=)?([\d+.\-]+)(.*)$/,ba,pa=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b,d){if(a||a===0)return this.animate(S("show", +3),a,b,d);else{d=0;for(var e=this.length;d=0;e--)if(d[e].elem===this){b&&d[e](true);d.splice(e,1)}});b||this.dequeue();return this}});c.each({slideDown:S("show",1),slideUp:S("hide",1),slideToggle:S("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){c.fn[a]=function(d,e,f){return this.animate(b, +d,e,f)}});c.extend({speed:function(a,b,d){var e=a&&typeof a==="object"?c.extend({},a):{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};e.duration=c.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in c.fx.speeds?c.fx.speeds[e.duration]:c.fx.speeds._default;e.old=e.complete;e.complete=function(){e.queue!==false&&c(this).dequeue();c.isFunction(e.old)&&e.old.call(this)};return e},easing:{linear:function(a,b,d,e){return d+e*a},swing:function(a,b,d,e){return(-Math.cos(a* +Math.PI)/2+0.5)*e+d}},timers:[],fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;if(!b.orig)b.orig={}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]||c.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a=parseFloat(c.css(this.elem,this.prop));return a&&a>-1E4?a:0},custom:function(a,b,d){function e(l){return f.step(l)} +var f=this,h=c.fx;this.startTime=c.now();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start;this.pos=this.state=0;e.elem=this.elem;if(e()&&c.timers.push(e)&&!ba)ba=setInterval(h.tick,h.interval)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=true; +this.custom(this.cur(),0)},step:function(a){var b=c.now(),d=true;if(a||b>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var e in this.options.curAnim)if(this.options.curAnim[e]!==true)d=false;if(d){if(this.options.overflow!=null&&!c.support.shrinkWrapBlocks){var f=this.elem,h=this.options;c.each(["","X","Y"],function(k,o){f.style["overflow"+o]=h.overflow[k]})}this.options.hide&&c(this.elem).hide();if(this.options.hide|| +this.options.show)for(var l in this.options.curAnim)c.style(this.elem,l,this.options.orig[l]);this.options.complete.call(this.elem)}return false}else{a=b-this.startTime;this.state=a/this.options.duration;b=this.options.easing||(c.easing.swing?"swing":"linear");this.pos=c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||b](this.state,a,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};c.extend(c.fx,{tick:function(){for(var a= +c.timers,b=0;b-1;e={};var x={};if(o)x=f.position();l=o?x.top:parseInt(l,10)||0;k=o?x.left:parseInt(k,10)||0;if(c.isFunction(b))b=b.call(a,d,h);if(b.top!=null)e.top=b.top-h.top+l;if(b.left!=null)e.left=b.left-h.left+k;"using"in b?b.using.call(a, +e):f.css(e)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),e=Ia.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.css(a,"marginTop"))||0;d.left-=parseFloat(c.css(a,"marginLeft"))||0;e.top+=parseFloat(c.css(b[0],"borderTopWidth"))||0;e.left+=parseFloat(c.css(b[0],"borderLeftWidth"))||0;return{top:d.top-e.top,left:d.left-e.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||t.body;a&&!Ia.test(a.nodeName)&& +c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(e){var f=this[0],h;if(!f)return null;if(e!==B)return this.each(function(){if(h=fa(this))h.scrollTo(!a?e:c(h).scrollLeft(),a?e:c(h).scrollTop());else this[d]=e});else return(h=fa(f))?"pageXOffset"in h?h[a?"pageYOffset":"pageXOffset"]:c.support.boxModel&&h.document.documentElement[d]||h.document.body[d]:f[d]}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase(); +c.fn["inner"+b]=function(){return this[0]?parseFloat(c.css(this[0],d,"padding")):null};c.fn["outer"+b]=function(e){return this[0]?parseFloat(c.css(this[0],d,e?"margin":"border")):null};c.fn[d]=function(e){var f=this[0];if(!f)return e==null?null:this;if(c.isFunction(e))return this.each(function(l){var k=c(this);k[d](e.call(this,l,k[d]()))});if(c.isWindow(f))return f.document.compatMode==="CSS1Compat"&&f.document.documentElement["client"+b]||f.document.body["client"+b];else if(f.nodeType===9)return Math.max(f.documentElement["client"+ +b],f.body["scroll"+b],f.documentElement["scroll"+b],f.body["offset"+b],f.documentElement["offset"+b]);else if(e===B){f=c.css(f,d);var h=parseFloat(f);return c.isNaN(h)?f:h}else return this.css(d,typeof e==="string"?e:e+"px")}})})(window); diff --git a/NzbDrone.Web/Scripts/2010.3.1318/jquery.validate.min.js b/NzbDrone.Web/Scripts/2010.3.1318/jquery.validate.min.js new file mode 100644 index 000000000..6264866fc --- /dev/null +++ b/NzbDrone.Web/Scripts/2010.3.1318/jquery.validate.min.js @@ -0,0 +1,16 @@ +/* + * jQuery validation plug-in 1.7 + * + * http://bassistance.de/jquery-plugins/jquery-plugin-validation/ + * http://docs.jquery.com/Plugins/Validation + * + * Copyright (c) 2006 - 2008 Jörn Zaefferer + * + * $Id: jquery.validate.js 6403 2009-06-17 14:27:16Z joern.zaefferer $ + * + * Dual licensed under the MIT and GPL licenses: + * http://www.opensource.org/licenses/mit-license.php + * http://www.gnu.org/licenses/gpl.html + */ +(function($){$.extend($.fn,{validate:function(options){if(!this.length){options&&options.debug&&window.console&&console.warn("nothing selected, can't validate, returning nothing");return;}var validator=$.data(this[0],'validator');if(validator){return validator;}validator=new $.validator(options,this[0]);$.data(this[0],'validator',validator);if(validator.settings.onsubmit){this.find("input, button").filter(".cancel").click(function(){validator.cancelSubmit=true;});if(validator.settings.submitHandler){this.find("input, button").filter(":submit").click(function(){validator.submitButton=this;});}this.submit(function(event){if(validator.settings.debug)event.preventDefault();function handle(){if(validator.settings.submitHandler){if(validator.submitButton){var hidden=$("").attr("name",validator.submitButton.name).val(validator.submitButton.value).appendTo(validator.currentForm);}validator.settings.submitHandler.call(validator,validator.currentForm);if(validator.submitButton){hidden.remove();}return false;}return true;}if(validator.cancelSubmit){validator.cancelSubmit=false;return handle();}if(validator.form()){if(validator.pendingRequest){validator.formSubmitted=true;return false;}return handle();}else{validator.focusInvalid();return false;}});}return validator;},valid:function(){if($(this[0]).is('form')){return this.validate().form();}else{var valid=true;var validator=$(this[0].form).validate();this.each(function(){valid&=validator.element(this);});return valid;}},removeAttrs:function(attributes){var result={},$element=this;$.each(attributes.split(/\s/),function(index,value){result[value]=$element.attr(value);$element.removeAttr(value);});return result;},rules:function(command,argument){var element=this[0];if(command){var settings=$.data(element.form,'validator').settings;var staticRules=settings.rules;var existingRules=$.validator.staticRules(element);switch(command){case"add":$.extend(existingRules,$.validator.normalizeRule(argument));staticRules[element.name]=existingRules;if(argument.messages)settings.messages[element.name]=$.extend(settings.messages[element.name],argument.messages);break;case"remove":if(!argument){delete staticRules[element.name];return existingRules;}var filtered={};$.each(argument.split(/\s/),function(index,method){filtered[method]=existingRules[method];delete existingRules[method];});return filtered;}}var data=$.validator.normalizeRules($.extend({},$.validator.metadataRules(element),$.validator.classRules(element),$.validator.attributeRules(element),$.validator.staticRules(element)),element);if(data.required){var param=data.required;delete data.required;data=$.extend({required:param},data);}return data;}});$.extend($.expr[":"],{blank:function(a){return!$.trim(""+a.value);},filled:function(a){return!!$.trim(""+a.value);},unchecked:function(a){return!a.checked;}});$.validator=function(options,form){this.settings=$.extend(true,{},$.validator.defaults,options);this.currentForm=form;this.init();};$.validator.format=function(source,params){if(arguments.length==1)return function(){var args=$.makeArray(arguments);args.unshift(source);return $.validator.format.apply(this,args);};if(arguments.length>2&¶ms.constructor!=Array){params=$.makeArray(arguments).slice(1);}if(params.constructor!=Array){params=[params];}$.each(params,function(i,n){source=source.replace(new RegExp("\\{"+i+"\\}","g"),n);});return source;};$.extend($.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",validClass:"valid",errorElement:"label",focusInvalid:true,errorContainer:$([]),errorLabelContainer:$([]),onsubmit:true,ignore:[],ignoreTitle:false,onfocusin:function(element){this.lastActive=element;if(this.settings.focusCleanup&&!this.blockFocusCleanup){this.settings.unhighlight&&this.settings.unhighlight.call(this,element,this.settings.errorClass,this.settings.validClass);this.errorsFor(element).hide();}},onfocusout:function(element){if(!this.checkable(element)&&(element.name in this.submitted||!this.optional(element))){this.element(element);}},onkeyup:function(element){if(element.name in this.submitted||element==this.lastElement){this.element(element);}},onclick:function(element){if(element.name in this.submitted)this.element(element);else if(element.parentNode.name in this.submitted)this.element(element.parentNode);},highlight:function(element,errorClass,validClass){$(element).addClass(errorClass).removeClass(validClass);},unhighlight:function(element,errorClass,validClass){$(element).removeClass(errorClass).addClass(validClass);}},setDefaults:function(settings){$.extend($.validator.defaults,settings);},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",creditcard:"Please enter a valid credit card number.",equalTo:"Please enter the same value again.",accept:"Please enter a value with a valid extension.",maxlength:$.validator.format("Please enter no more than {0} characters."),minlength:$.validator.format("Please enter at least {0} characters."),rangelength:$.validator.format("Please enter a value between {0} and {1} characters long."),range:$.validator.format("Please enter a value between {0} and {1}."),max:$.validator.format("Please enter a value less than or equal to {0}."),min:$.validator.format("Please enter a value greater than or equal to {0}.")},autoCreateRanges:false,prototype:{init:function(){this.labelContainer=$(this.settings.errorLabelContainer);this.errorContext=this.labelContainer.length&&this.labelContainer||$(this.currentForm);this.containers=$(this.settings.errorContainer).add(this.settings.errorLabelContainer);this.submitted={};this.valueCache={};this.pendingRequest=0;this.pending={};this.invalid={};this.reset();var groups=(this.groups={});$.each(this.settings.groups,function(key,value){$.each(value.split(/\s/),function(index,name){groups[name]=key;});});var rules=this.settings.rules;$.each(rules,function(key,value){rules[key]=$.validator.normalizeRule(value);});function delegate(event){var validator=$.data(this[0].form,"validator"),eventType="on"+event.type.replace(/^validate/,"");validator.settings[eventType]&&validator.settings[eventType].call(validator,this[0]);}$(this.currentForm).validateDelegate(":text, :password, :file, select, textarea","focusin focusout keyup",delegate).validateDelegate(":radio, :checkbox, select, option","click",delegate);if(this.settings.invalidHandler)$(this.currentForm).bind("invalid-form.validate",this.settings.invalidHandler);},form:function(){this.checkForm();$.extend(this.submitted,this.errorMap);this.invalid=$.extend({},this.errorMap);if(!this.valid())$(this.currentForm).triggerHandler("invalid-form",[this]);this.showErrors();return this.valid();},checkForm:function(){this.prepareForm();for(var i=0,elements=(this.currentElements=this.elements());elements[i];i++){this.check(elements[i]);}return this.valid();},element:function(element){element=this.clean(element);this.lastElement=element;this.prepareElement(element);this.currentElements=$(element);var result=this.check(element);if(result){delete this.invalid[element.name];}else{this.invalid[element.name]=true;}if(!this.numberOfInvalids()){this.toHide=this.toHide.add(this.containers);}this.showErrors();return result;},showErrors:function(errors){if(errors){$.extend(this.errorMap,errors);this.errorList=[];for(var name in errors){this.errorList.push({message:errors[name],element:this.findByName(name)[0]});}this.successList=$.grep(this.successList,function(element){return!(element.name in errors);});}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors();},resetForm:function(){if($.fn.resetForm)$(this.currentForm).resetForm();this.submitted={};this.prepareForm();this.hideErrors();this.elements().removeClass(this.settings.errorClass);},numberOfInvalids:function(){return this.objectLength(this.invalid);},objectLength:function(obj){var count=0;for(var i in obj)count++;return count;},hideErrors:function(){this.addWrapper(this.toHide).hide();},valid:function(){return this.size()==0;},size:function(){return this.errorList.length;},focusInvalid:function(){if(this.settings.focusInvalid){try{$(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus().trigger("focusin");}catch(e){}}},findLastActive:function(){var lastActive=this.lastActive;return lastActive&&$.grep(this.errorList,function(n){return n.element.name==lastActive.name;}).length==1&&lastActive;},elements:function(){var validator=this,rulesCache={};return $([]).add(this.currentForm.elements).filter(":input").not(":submit, :reset, :image, [disabled]").not(this.settings.ignore).filter(function(){!this.name&&validator.settings.debug&&window.console&&console.error("%o has no name assigned",this);if(this.name in rulesCache||!validator.objectLength($(this).rules()))return false;rulesCache[this.name]=true;return true;});},clean:function(selector){return $(selector)[0];},errors:function(){return $(this.settings.errorElement+"."+this.settings.errorClass,this.errorContext);},reset:function(){this.successList=[];this.errorList=[];this.errorMap={};this.toShow=$([]);this.toHide=$([]);this.currentElements=$([]);},prepareForm:function(){this.reset();this.toHide=this.errors().add(this.containers);},prepareElement:function(element){this.reset();this.toHide=this.errorsFor(element);},check:function(element){element=this.clean(element);if(this.checkable(element)){element=this.findByName(element.name)[0];}var rules=$(element).rules();var dependencyMismatch=false;for(method in rules){var rule={method:method,parameters:rules[method]};try{var result=$.validator.methods[method].call(this,element.value.replace(/\r/g,""),element,rule.parameters);if(result=="dependency-mismatch"){dependencyMismatch=true;continue;}dependencyMismatch=false;if(result=="pending"){this.toHide=this.toHide.not(this.errorsFor(element));return;}if(!result){this.formatAndAdd(element,rule);return false;}}catch(e){this.settings.debug&&window.console&&console.log("exception occured when checking element "+element.id ++", check the '"+rule.method+"' method",e);throw e;}}if(dependencyMismatch)return;if(this.objectLength(rules))this.successList.push(element);return true;},customMetaMessage:function(element,method){if(!$.metadata)return;var meta=this.settings.meta?$(element).metadata()[this.settings.meta]:$(element).metadata();return meta&&meta.messages&&meta.messages[method];},customMessage:function(name,method){var m=this.settings.messages[name];return m&&(m.constructor==String?m:m[method]);},findDefined:function(){for(var i=0;iWarning: No message defined for "+element.name+"");},formatAndAdd:function(element,rule){var message=this.defaultMessage(element,rule.method),theregex=/\$?\{(\d+)\}/g;if(typeof message=="function"){message=message.call(this,rule.parameters,element);}else if(theregex.test(message)){message=jQuery.format(message.replace(theregex,'{$1}'),rule.parameters);}this.errorList.push({message:message,element:element});this.errorMap[element.name]=message;this.submitted[element.name]=message;},addWrapper:function(toToggle){if(this.settings.wrapper)toToggle=toToggle.add(toToggle.parent(this.settings.wrapper));return toToggle;},defaultShowErrors:function(){for(var i=0;this.errorList[i];i++){var error=this.errorList[i];this.settings.highlight&&this.settings.highlight.call(this,error.element,this.settings.errorClass,this.settings.validClass);this.showLabel(error.element,error.message);}if(this.errorList.length){this.toShow=this.toShow.add(this.containers);}if(this.settings.success){for(var i=0;this.successList[i];i++){this.showLabel(this.successList[i]);}}if(this.settings.unhighlight){for(var i=0,elements=this.validElements();elements[i];i++){this.settings.unhighlight.call(this,elements[i],this.settings.errorClass,this.settings.validClass);}}this.toHide=this.toHide.not(this.toShow);this.hideErrors();this.addWrapper(this.toShow).show();},validElements:function(){return this.currentElements.not(this.invalidElements());},invalidElements:function(){return $(this.errorList).map(function(){return this.element;});},showLabel:function(element,message){var label=this.errorsFor(element);if(label.length){label.removeClass().addClass(this.settings.errorClass);label.attr("generated")&&label.html(message);}else{label=$("<"+this.settings.errorElement+"/>").attr({"for":this.idOrName(element),generated:true}).addClass(this.settings.errorClass).html(message||"");if(this.settings.wrapper){label=label.hide().show().wrap("<"+this.settings.wrapper+"/>").parent();}if(!this.labelContainer.append(label).length)this.settings.errorPlacement?this.settings.errorPlacement(label,$(element)):label.insertAfter(element);}if(!message&&this.settings.success){label.text("");typeof this.settings.success=="string"?label.addClass(this.settings.success):this.settings.success(label);}this.toShow=this.toShow.add(label);},errorsFor:function(element){var name=this.idOrName(element);return this.errors().filter(function(){return $(this).attr('for')==name;});},idOrName:function(element){return this.groups[element.name]||(this.checkable(element)?element.name:element.id||element.name);},checkable:function(element){return/radio|checkbox/i.test(element.type);},findByName:function(name){var form=this.currentForm;return $(document.getElementsByName(name)).map(function(index,element){return element.form==form&&element.name==name&&element||null;});},getLength:function(value,element){switch(element.nodeName.toLowerCase()){case'select':return $("option:selected",element).length;case'input':if(this.checkable(element))return this.findByName(element.name).filter(':checked').length;}return value.length;},depend:function(param,element){return this.dependTypes[typeof param]?this.dependTypes[typeof param](param,element):true;},dependTypes:{"boolean":function(param,element){return param;},"string":function(param,element){return!!$(param,element.form).length;},"function":function(param,element){return param(element);}},optional:function(element){return!$.validator.methods.required.call(this,$.trim(element.value),element)&&"dependency-mismatch";},startRequest:function(element){if(!this.pending[element.name]){this.pendingRequest++;this.pending[element.name]=true;}},stopRequest:function(element,valid){this.pendingRequest--;if(this.pendingRequest<0)this.pendingRequest=0;delete this.pending[element.name];if(valid&&this.pendingRequest==0&&this.formSubmitted&&this.form()){$(this.currentForm).submit();this.formSubmitted=false;}else if(!valid&&this.pendingRequest==0&&this.formSubmitted){$(this.currentForm).triggerHandler("invalid-form",[this]);this.formSubmitted=false;}},previousValue:function(element){return $.data(element,"previousValue")||$.data(element,"previousValue",{old:null,valid:true,message:this.defaultMessage(element,"remote")});}},classRuleSettings:{required:{required:true},email:{email:true},url:{url:true},date:{date:true},dateISO:{dateISO:true},dateDE:{dateDE:true},number:{number:true},numberDE:{numberDE:true},digits:{digits:true},creditcard:{creditcard:true}},addClassRules:function(className,rules){className.constructor==String?this.classRuleSettings[className]=rules:$.extend(this.classRuleSettings,className);},classRules:function(element){var rules={};var classes=$(element).attr('class');classes&&$.each(classes.split(' '),function(){if(this in $.validator.classRuleSettings){$.extend(rules,$.validator.classRuleSettings[this]);}});return rules;},attributeRules:function(element){var rules={};var $element=$(element);for(method in $.validator.methods){var value=$element.attr(method);if(value){rules[method]=value;}}if(rules.maxlength&&/-1|2147483647|524288/.test(rules.maxlength)){delete rules.maxlength;}return rules;},metadataRules:function(element){if(!$.metadata)return{};var meta=$.data(element.form,'validator').settings.meta;return meta?$(element).metadata()[meta]:$(element).metadata();},staticRules:function(element){var rules={};var validator=$.data(element.form,'validator');if(validator.settings.rules){rules=$.validator.normalizeRule(validator.settings.rules[element.name])||{};}return rules;},normalizeRules:function(rules,element){$.each(rules,function(prop,val){if(val===false){delete rules[prop];return;}if(val.param||val.depends){var keepRule=true;switch(typeof val.depends){case"string":keepRule=!!$(val.depends,element.form).length;break;case"function":keepRule=val.depends.call(element,element);break;}if(keepRule){rules[prop]=val.param!==undefined?val.param:true;}else{delete rules[prop];}}});$.each(rules,function(rule,parameter){rules[rule]=$.isFunction(parameter)?parameter(element):parameter;});$.each(['minlength','maxlength','min','max'],function(){if(rules[this]){rules[this]=Number(rules[this]);}});$.each(['rangelength','range'],function(){if(rules[this]){rules[this]=[Number(rules[this][0]),Number(rules[this][1])];}});if($.validator.autoCreateRanges){if(rules.min&&rules.max){rules.range=[rules.min,rules.max];delete rules.min;delete rules.max;}if(rules.minlength&&rules.maxlength){rules.rangelength=[rules.minlength,rules.maxlength];delete rules.minlength;delete rules.maxlength;}}if(rules.messages){delete rules.messages;}return rules;},normalizeRule:function(data){if(typeof data=="string"){var transformed={};$.each(data.split(/\s/),function(){transformed[this]=true;});data=transformed;}return data;},addMethod:function(name,method,message){$.validator.methods[name]=method;$.validator.messages[name]=message!=undefined?message:$.validator.messages[name];if(method.length<3){$.validator.addClassRules(name,$.validator.normalizeRule(name));}},methods:{required:function(value,element,param){if(!this.depend(param,element))return"dependency-mismatch";switch(element.nodeName.toLowerCase()){case'select':var val=$(element).val();return val&&val.length>0;case'input':if(this.checkable(element))return this.getLength(value,element)>0;default:return $.trim(value).length>0;}},remote:function(value,element,param){if(this.optional(element))return"dependency-mismatch";var previous=this.previousValue(element);if(!this.settings.messages[element.name])this.settings.messages[element.name]={};previous.originalMessage=this.settings.messages[element.name].remote;this.settings.messages[element.name].remote=previous.message;param=typeof param=="string"&&{url:param}||param;if(previous.old!==value){previous.old=value;var validator=this;this.startRequest(element);var data={};data[element.name]=value;$.ajax($.extend(true,{url:param,mode:"abort",port:"validate"+element.name,dataType:"json",data:data,success:function(response){validator.settings.messages[element.name].remote=previous.originalMessage;var valid=response===true;if(valid){var submitted=validator.formSubmitted;validator.prepareElement(element);validator.formSubmitted=submitted;validator.successList.push(element);validator.showErrors();}else{var errors={};var message=(previous.message=response||validator.defaultMessage(element,"remote"));errors[element.name]=$.isFunction(message)?message(value):message;validator.showErrors(errors);}previous.valid=valid;validator.stopRequest(element,valid);}},param));return"pending";}else if(this.pending[element.name]){return"pending";}return previous.valid;},minlength:function(value,element,param){return this.optional(element)||this.getLength($.trim(value),element)>=param;},maxlength:function(value,element,param){return this.optional(element)||this.getLength($.trim(value),element)<=param;},rangelength:function(value,element,param){var length=this.getLength($.trim(value),element);return this.optional(element)||(length>=param[0]&&length<=param[1]);},min:function(value,element,param){return this.optional(element)||value>=param;},max:function(value,element,param){return this.optional(element)||value<=param;},range:function(value,element,param){return this.optional(element)||(value>=param[0]&&value<=param[1]);},email:function(value,element){return this.optional(element)||/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i.test(value);},url:function(value,element){return this.optional(element)||/^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(value);},date:function(value,element){return this.optional(element)||!/Invalid|NaN/.test(new Date(value));},dateISO:function(value,element){return this.optional(element)||/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}$/.test(value);},number:function(value,element){return this.optional(element)||/^-?(?:\d+|\d{1,3}(?:,\d{3})+)(?:\.\d+)?$/.test(value);},digits:function(value,element){return this.optional(element)||/^\d+$/.test(value);},creditcard:function(value,element){if(this.optional(element))return"dependency-mismatch";if(/[^0-9-]+/.test(value))return false;var nCheck=0,nDigit=0,bEven=false;value=value.replace(/\D/g,"");for(var n=value.length-1;n>=0;n--){var cDigit=value.charAt(n);var nDigit=parseInt(cDigit,10);if(bEven){if((nDigit*=2)>9)nDigit-=9;}nCheck+=nDigit;bEven=!bEven;}return(nCheck%10)==0;},accept:function(value,element,param){param=typeof param=="string"?param.replace(/,/g,'|'):"png|jpe?g|gif";return this.optional(element)||value.match(new RegExp(".("+param+")$","i"));},equalTo:function(value,element,param){var target=$(param).unbind(".validate-equalTo").bind("blur.validate-equalTo",function(){$(element).valid();});return value==target.val();}}});$.format=$.validator.format;})(jQuery);;(function($){var ajax=$.ajax;var pendingRequests={};$.ajax=function(settings){settings=$.extend(settings,$.extend({},$.ajaxSettings,settings));var port=settings.port;if(settings.mode=="abort"){if(pendingRequests[port]){pendingRequests[port].abort();}return(pendingRequests[port]=ajax.apply(this,arguments));}return ajax.apply(this,arguments);};})(jQuery);;(function($){if(!jQuery.event.special.focusin&&!jQuery.event.special.focusout&&document.addEventListener){$.each({focus:'focusin',blur:'focusout'},function(original,fix){$.event.special[fix]={setup:function(){this.addEventListener(original,handler,true);},teardown:function(){this.removeEventListener(original,handler,true);},handler:function(e){arguments[0]=$.event.fix(e);arguments[0].type=fix;return $.event.handle.apply(this,arguments);}};function handler(e){e=$.event.fix(e);e.type=fix;return $.event.handle.call(this,e);}});};$.extend($.fn,{validateDelegate:function(delegate,type,handler){return this.bind(type,function(event){var target=$(event.target);if(target.is(delegate)){return handler.apply(target,arguments);}});}});})(jQuery); \ No newline at end of file diff --git a/NzbDrone.Web/Scripts/2010.3.1318/telerik.autocomplete.min.js b/NzbDrone.Web/Scripts/2010.3.1318/telerik.autocomplete.min.js new file mode 100644 index 000000000..3890ff728 --- /dev/null +++ b/NzbDrone.Web/Scripts/2010.3.1318/telerik.autocomplete.min.js @@ -0,0 +1 @@ +(function(a){var b=a.telerik;b.autocomplete=function(c,d){a.extend(this,d);var i=a.browser.msie?"paste":"input";var e=a(c).attr("autocomplete","off").bind(i,a.proxy(function(j){g(this)},this));this.$text=e;this.element=c;this.$element=e;this.trigger=new b.list.trigger(this);this.trigger.change=function(){var k=this.component.text();var j=this.component.previousValue;if(j==undefined||k!=j){b.trigger(this.component.element,"valueChange",{value:k})}this.component.previousValue=k};this.loader=new b.list.loader(this);this.loader.showBusy=function(){this.busyTimeout=setTimeout(a.proxy(function(){this.component.$element.addClass("t-loading")},this),100)};this.loader.hideBusy=function(){clearTimeout(this.busyTimeout);this.component.$element.removeClass("t-loading")};this.filtering=new b.list.filtering(this);this.filtering.autoFill=function(s,o){if(s.autoFill&&(s.lastKeyCode!=8&&s.lastKeyCode!=46)){var v=s.$text[0];var j=v.value;var t=s.separator;var p=b.caretPos(v);var l=t?b.lastIndexOf(j.substring(0,p),t):-1;var q=l!=-1?l+t.length:0;var m=j.substring(q,p);var u=o.toLowerCase().indexOf(m.toLowerCase());if(u!=-1){var r=o.substring(u+m.length);var k=f(v,t);var n=j.split(t);n[k]=m+r;v.value=n.join(t)+(s.multiple&&k!=0&&k==n.length-1?t:"");b.list.selection(v,p,p+r.length)}}};this.enable=function(){e.removeClass("t-state-disabled").removeAttr("disabled")};this.disable=function(){e.addClass("t-state-disabled").attr("disabled","disabled")};this.filtering.multiple=a.proxy(function(j){if(this.multiple){j=j.split(this.separator);j=j[f(this.$text[0],this.separator)]}return j},this);this.dropDown=new b.dropDown({attr:this.dropDownAttr,effects:this.effects,onClick:a.proxy(function(j){this.select(j.item);this.trigger.change();this.trigger.close()},this)});this.dropDown.$element.css("direction",e.closest(".t-rtl").length?"rtl":"");this.fill=function(k){function j(s){var r=s.highlightFirst?o.$items.first():null;if(r){r.addClass("t-state-selected")}}var p=this.loader;var o=this.dropDown;var l=this.minChars;var n=this.text();var q=n.length;if(!o.$items&&!p.ajaxError){if(p.isAjax()&&q>=l){var m={};m[this.queryString.text]=n;p.ajaxRequest(function(r){this.dataBind(r,true);j(this);b.trigger(this.element,"dataBound");this.trigger.change();if(k){k()}},{data:m})}else{this.dataBind(this.data,true);j(this);if(k){k()}}}};this.text=function(){return this.$text.val.apply(this.$text,arguments)};this.value=function(){return this.text.apply(this,arguments)};this.select=function(r){var q=this.highlight(r);if(q==-1){return q}var k=this.filteredDataIndexes;var m=(k&&k.length)>0?k[q]:q;var r=this.data[m];var o=r.Text?r.Text:r;var j=o;if(this.multiple){var l=this.$element;var p=this.separator;var n=f(l[0],p);j=l.val().split(p);j[n]=o;j=j.join(p)+(n==j.length-1?p:"")}this.text(j)};b.list.common.call(this);b.list.filters.call(this);b.list.initialize.call(this);this.dataBind=function(l,j){this.data=l=(l||[]);var m=!!this.loader.isAjax();if(this.encoded&&m){for(var k=0,n=l.length;k36&&o<41&&o!=37&&o!=39){s.preventDefault();if(k.isOpened()){if(!k.$items){this.fill()}var l=k.$items;var p=l.filter(".t-state-selected:first");var j=[];if(o==38){var t=p.prev();j=t.length?t:l.last()}else{if(o==40){var q=p.next();j=q.length?q:l.first()}}if(j.length){var u=j[0];this.highlight(u);k.scrollTo(u);this.filtering.autoFill(this,j.text())}}}if(o==8||o==46){var m=this.$element;if(m.val()!=""){g(this)}setTimeout(a.proxy(function(){if(m.val()==""){n.close()}},this),0)}if(o==13){if(k.isOpened()){s.preventDefault()}if(k.$items){var r=k.$items.filter(".t-state-selected:first");if(r.length>0){this.select(r[0])}}n.change();n.close();b.list.moveToEnd(this.element)}if(o==27||o==9){n.change();n.close()}}};a.fn.tAutoComplete=function(c){return b.create(this,{name:"tAutoComplete",init:function(d,e){return new b.autocomplete(d,e)},options:c})};a.fn.tAutoComplete.defaults={encoded:true,effects:b.fx.slide.defaults(),filter:1,delay:200,minChars:1,cache:true,autoFill:false,highlightFirst:false,queryString:{text:"text"},multiple:false,separator:", "}})(jQuery); \ No newline at end of file diff --git a/NzbDrone.Web/Scripts/2010.3.1318/telerik.calendar.min.js b/NzbDrone.Web/Scripts/2010.3.1318/telerik.calendar.min.js new file mode 100644 index 000000000..0748546a4 --- /dev/null +++ b/NzbDrone.Web/Scripts/2010.3.1318/telerik.calendar.min.js @@ -0,0 +1 @@ +(function(c){var b=c.telerik;function a(g,f,d){var e=new b.datetime();if(g){e=new b.datetime(g.toDate())}if(f.value>e.value){e=new b.datetime(f.value)}else{if(d.value').cat('').cat(b.calendar.views[0].title(this.viewedMonth)).cat("").cat('=0).cat('">');c(".t-header",this.element).html(f.string());c(".t-nav-next:not(.t-state-disabled)",d).live("click",c.proxy(this.navigateToFuture,this));c(".t-nav-prev:not(.t-state-disabled)",d).live("click",c.proxy(this.navigateToPast,this));c(".t-nav-fast:not(.t-state-disabled)",d).live("click",c.proxy(this.navigateUp,this));c(".t-link.t-state-disabled",d).live("click",b.preventDefault);c("td:not(.t-state-disabled):has(.t-link)",d).live("mouseenter",b.hover).live("mouseleave",b.leave).live("click",c.proxy(this.navigateDown,this));b.bind(this,{change:this.onChange,load:this.onLoad})}});b.calendar.prototype={stopAnimation:false,updateSelection:function(){var g=b.datetime.firstDayOfMonth(this.viewedMonth);var f=new b.datetime(g.value).date(32).date(0);if(this.selectedDate===null||!b.calendar.isInRange(this.selectedDate,g,f)){var e=a(this.selectedDate,this.minDate,this.maxDate);this.goToView(0,e)}var d=this;var h=c(".t-content td:not(.t-other-month)",this.element).removeClass("t-state-selected");if(this.selectedDate!==null){h.filter(function(){return(parseInt(c(this).text(),10)==d.selectedDate.date())}).addClass("t-state-selected")}},value:function(){if(arguments.length==0){return this.selectedDate===null?null:this.selectedDate.toDate()}if(arguments.length==1){this.selectedDate=arguments[0]===null?null:arguments[0].value?arguments[0]:new b.datetime(arguments[0])}else{if(arguments.length>1){this.selectedDate=new b.datetime(arguments[0],arguments[1],arguments[2])}}this.updateSelection();return this},overlay:function(d){if(!d){return c(".t-overlay",this.element).remove()}c("
").addClass("t-overlay").css({opacity:0,width:this.element.offsetWidth,height:this.element.offsetHeight,position:"absolute",top:0,left:0,zIndex:3,backgroundColor:"#fff"}).appendTo(this.element)},goToView:function(d,e){if(d<0||b.calendar.views.length<=d){return}if(typeof e!="undefined"){this.viewedMonth=b.datetime.firstDayOfMonth(e)}this.currentView=b.calendar.views[d];c(".t-nav-prev",this.element).toggleClass("t-state-disabled",this.currentView.compare(e,this.minDate,false)<=0);c(".t-nav-next",this.element).toggleClass("t-state-disabled",this.currentView.compare(e,this.maxDate,true)>=0);c(".t-nav-fast",this.element).html(this.currentView.title(this.viewedMonth)).toggleClass("t-state-disabled",d==b.calendar.views.length-1);c(".t-content",this.element).html(this.currentView.body(this.viewedMonth,this.minDate,this.maxDate,this.selectedDate,this.urlFormat,this.dates)).toggleClass("t-meta-view",d==1||d==2);return this},navigateVertically:function(e,g,h,p){this.viewedMonth=b.datetime.firstDayOfMonth(g);this.currentView=b.calendar.views[e];this.overlay(true);var o=c(".t-content",this.element);var f=o.outerWidth();var m=o.outerHeight();var i=o.css("font-size");var q=o.css("line-height");if(q==="normal"){q=parseInt(i)*1.5}o.find("td").removeClass("t-state-hover");c(".t-nav-fast",this.element).html(this.currentView.title(g)).toggleClass("t-state-disabled",e==b.calendar.views.length-1);c(".t-nav-prev",this.element).toggleClass("t-state-disabled",this.currentView.compare(this.viewedMonth,this.minDate,false)<=0);c(".t-nav-next",this.element).toggleClass("t-state-disabled",this.currentView.compare(this.viewedMonth,this.maxDate,true)>=0);var r=c('
').html(this.currentView.body(g,this.minDate,this.maxDate,this.selectedDate,this.urlFormat,this.dates)).toggleClass("t-meta-view",e==1||e==2);var d=this;var l={fontSize:i,lineHeight:q,top:0,left:0,width:f,height:m,opacity:1};var k;if(h){k=b.fx._wrap(o).css({overflow:"hidden",position:"relative"});r.wrap(c("
").addClass("t-animation-container").css(c.extend({position:"absolute",zIndex:1,fontSize:1,lineHeight:1,width:p.outerWidth(),height:p.outerHeight(),opacity:0},p.position()))).parent().insertAfter(o);if(!this.stopAnimation){r.parent().animate({fontSize:i,lineHeight:q,top:0,left:0,width:f,height:m,opacity:1},"normal",function(){r.appendTo(d.element);k.remove();d.overlay(false)})}else{o.remove();r.appendTo(d.element);k.remove();d.overlay(false)}}else{r.insertBefore(o);k=b.fx._wrap(r).css({overflow:"hidden",position:"relative"});var j;if(e!=0){j=b.calendar.views[e].verticalDate(this.viewedMonth)}var n={top:(Math.floor(j/4)*m)/3,left:((j%4)*f)/4};o.wrap(c("
").addClass("t-animation-container").css(c.extend({position:"absolute"},l))).parent().insertAfter(r);if(!this.stopAnimation){o.parent().animate(c.extend({fontSize:1,lineHeight:1,width:48,height:54,opacity:0},n),"normal",function(){r.appendTo(d.element);k.remove();d.overlay(false)})}else{o.remove();r.appendTo(d.element);k.remove();d.overlay(false)}}b.trigger(this.element,"navigate",{direction:h})},navigateHorizontally:function(d,f,h){this.viewedMonth=b.datetime.firstDayOfMonth(b.calendar.fitDateToRange(f,this.minDate,this.maxDate));this.currentView=b.calendar.views[d];c(".t-nav-fast",this.element).html(this.currentView.title(f)).toggleClass("t-state-disabled",d==b.calendar.views.length-1);c(".t-nav-prev",this.element).toggleClass("t-state-disabled",this.currentView.compare(this.viewedMonth,this.minDate,false)<=0);c(".t-nav-next",this.element).toggleClass("t-state-disabled",this.currentView.compare(this.viewedMonth,this.maxDate,true)>=0);this.overlay(true);var g=c('
').html(this.currentView.body(f,this.minDate,this.maxDate,this.selectedDate,this.urlFormat,this.dates)).toggleClass("t-meta-view",d==1||d==2);var e=c(".t-content",this.element);var k=e.outerWidth();e.add(g).css({width:k,"float":"left"});var j=b.fx._wrap(e).css({position:"relative",width:k*2,"float":"left",left:(h?0:-200)});g[h?"insertAfter":"insertBefore"](e);var i=this;if(!this.stopAnimation){j.animate({left:(h?-200:0)},"normal",function(){g.appendTo(i.element);j.remove();i.overlay(false)})}else{e.remove();g.appendTo(i.element);j.remove();i.overlay(false)}b.trigger(this.element,"navigate",{direction:h})},navigateUp:function(f){if(f){f.preventDefault()}var d=this.currentView.index;this.navigateVertically(d+1,this.viewedMonth,false)},navigateDown:function(m,k,d){var g=c(c(m.target).hasClass("t-input")?k:m.target);var n=g.text();var l=d||this.currentView.index;var f=g.attr("href");if(f&&(f.charAt(f.length-1)=="#")){m.preventDefault()}if(l==0){var j=parseInt(n,10);var i=this.viewedMonth.month();if(g.parent().hasClass("t-other-month")){i+=(j<15?1:-1)}var h=new b.datetime(this.viewedMonth.year(),i,j);if(!this.selectedDate||(this.selectedDate.value>h.value||h.value>this.selectedDate.value)){if(b.trigger(this.element,"change",{previousDate:this.selectedDate===null?null:this.selectedDate.toDate(),date:h.toDate()})){return this}this.selectedDate=h}this.updateSelection()}else{if(l!=0){b.calendar.views[l].verticalDate(this.viewedMonth,n)}this.viewedMonth=b.calendar.fitDateToRange(this.viewedMonth,this.minDate,this.maxDate);this.navigateVertically(l-1,this.viewedMonth,true,g.add(g.parent()).filter("td"))}},navigateToPast:function(f){if(f){f.preventDefault()}var d=this.currentView.index;if(d==0){this.viewedMonth.date(1).date(-1)}else{this.viewedMonth.addYear(-Math.pow(10,d-1))}this.navigateHorizontally(d,this.viewedMonth,false)},navigateToFuture:function(f){if(f){f.preventDefault()}var d=this.currentView.index;if(d==0){this.viewedMonth.date(32).date(1)}else{this.viewedMonth.addYear(Math.pow(10,d-1))}this.navigateHorizontally(d,this.viewedMonth,true)}};c.fn.tCalendar=function(d){return b.create(this,{name:"tCalendar",init:function(e,f){return new b.calendar(e,f)},options:d})};c.fn.tCalendar.defaults={selectedDate:null,minDate:new b.datetime(1899,11,31),maxDate:new b.datetime(2100,0,1)};c.extend(b.calendar,{views:[{index:0,title:function(d){return new b.stringBuilder().cat(b.cultureInfo.months[d.month()]).cat(" ").cat(d.year()).string()},body:function(g,p,m,l,k,o){var v=(new b.stringBuilder()).cat('');var h=b.cultureInfo.firstDayOfWeek;var f=b.cultureInfo.days;var u=b.cultureInfo.abbrDays;f=f.slice(h).concat(f.slice(0,h));u=u.slice(h).concat(u.slice(0,h));for(var j=0;j<7;j++){v.cat('').cat(f[j].charAt(0)).cat("")}v.cat("");var q=b.datetime.firstVisibleDay(g);var d=g.month();var s=l===null?false:g.year()==l.year();var t;for(var r=0;r<6;r++){v.cat("");for(var e=0;e<7;e++){t=q.month()!=d?"t-other-month":(s&&q.month()==l.month()&&q.date()==l.date())?" t-state-selected":"";v.cat("");if(b.calendar.isInRange(q,p,m)){v.cat('').cat(q.date()).cat("")}else{v.cat(" ")}v.cat("");b.datetime.modify(q,b.datetime.msPerDay)}v.cat("")}v.cat("");return v.string()},compare:function(e,d){var g;var j=e.month();var f=e.year();var i=d.month();var h=d.year();if(f>h){g=1}else{if(fi?1:-1}}return g},firstLastDay:function(f,d,e){return d?b.datetime.firstDayOfMonth(f):new b.datetime(f.year(),f.month()+1,0)},navCheck:function(e,d,f){return f?new b.datetime(d.year(),d.month()+1,d.date()).value-e.value<=0:e.value=k&&h<=j){g.push(b.cultureInfo.abbrMonths[h])}else{g.push(" ")}}return g})},compare:function(d,e){return d.year()>e.year()?1:d.year()=g&&j+l<=k?j+l:" ")}return h})},compare:function(e,d,g){var h=e.year();var f=(h-h%10);var i=(h-h%10+9);return b.calendar.check(f,i,d,g)},verticalDate:function(d,e){if(!e){return d.year()%10+1}d.year(e)},firstLastDay:function(d,e){return new b.datetime(d.year()-d.year()%10+(e?0:9),0,1)},navCheck:function(f,d,g){var e=this.compare(d,f,g);return g?e==-1:e==1}},{index:3,title:function(e){var d=e.year()-e.year()%100;return d+"-"+(d+99)},body:function(e,d,f){return b.calendar.metaView(false,e,function(){var j=e.year()-e.year()%100;var g=[];for(var k=-1;k<11;k++){var h=j+k*10;if((h+10)>=d.year()&&h<=f.year()){g.push(h+"-
"+(h+9)+" ")}else{g.push(" 
 ")}}return g})},compare:function(e,d,f){var g=e.year();var i=(g-g%100);var h=(g-g%100+99);return b.calendar.check(i,h,d,f)},verticalDate:function(d,e){if(!e){return Math.ceil(d.year()/10)%10+1}d.year(e.substring(0,e.indexOf("-")))},firstLastDay:function(d,e){return e?new b.datetime(d.year()-(d.year()%100),0,1):new b.datetime(d.year()-(d.year()%100)+99,0,1)},navCheck:function(f,d,g){var e=this.compare(d,f,g);return g?e==-1:e==1}}],check:function(g,h,d,e){var f=function(i){return id.year()?1:0};return e?f(h):f(g)},html:function(g,e,d,h,i,f){g=g||new b.datetime();d=d||c.fn.tCalendar.defaults.minDate;h=h||c.fn.tCalendar.defaults.maxDate;return new b.stringBuilder().cat('
').cat('").cat('').cat(b.calendar.views[0].body(g,d,h,e,i,f)).cat("
").string()},metaView:function(h,k,e){var f=new b.stringBuilder();var j=e();f.cat("");for(var d=0,g=j.length;d",d>0&&d%4==0).cat("");if(j[d]!==" "&&j[d]!==" 
 "){f.cat('').cat(j[d]).cat("")}else{f.cat(j[d])}f.cat("")}f.cat("");return f.string()},isInRange:function(f,d,e){if(!f){return false}return d.value-f.value<=0&&e.value-f.value>=0},fitDateToRange:function(f,d,e){if(f.valuee.value){f=new b.datetime(e.value)}return f},isInCollection:function(g,d){var e=d[g.year()];if(e){var f=e[g.month()];if(f&&c.inArray(g.date(),f)!=-1){return true}}return false},findTarget:function(i,l,k,g){var d=function(m,n){return c.grep(m,function(o){return c(o).children().eq(0).text().indexOf(n)>-1})[0]};var e=g?"last":"first";var j=c(".t-content:"+e+" td:has(> .t-link)",k).removeClass("t-state-focus");var f;if(l==0){f=c(d(j.filter(":not(.t-other-month)"),i.date()))}else{if(l==1){f=c(d(j,b.cultureInfo.abbrMonths[i.month()]))}else{if(l==2||l==3){var h=i.year();f=c(d(j,l==2?h:h-(h%10)));if(f.length==0&&l==3){f=c(d(j,h-(h%10)+99))}}}}return f},focusDate:function(g,d,f,e){b.calendar.findTarget(g,d,f,e).addClass("t-state-focus")},formatUrl:function(d,e){return d.replace("{0}",b.datetime.format(e.toDate(),b.cultureInfo.shortDate))}});c.extend(b.formatters,{date:b.datetime.format})})(jQuery); \ No newline at end of file diff --git a/NzbDrone.Web/Scripts/2010.3.1318/telerik.combobox.min.js b/NzbDrone.Web/Scripts/2010.3.1318/telerik.combobox.min.js new file mode 100644 index 000000000..47ad403e6 --- /dev/null +++ b/NzbDrone.Web/Scripts/2010.3.1318/telerik.combobox.min.js @@ -0,0 +1 @@ +(function(a){var b=a.telerik;b.combobox=function(d,e){a.extend(this,e);var f=a(d);this.element=d;this.$element=f;this.loader=new b.list.loader(this);this.trigger=new b.list.trigger(this);var g=f.find("> .t-dropdown-wrap > .t-select");var l=a.browser.msie?"paste":"input";var h=this.$text=f.find("> .t-dropdown-wrap > .t-input").attr("autocomplete","off").bind(l,a.proxy(function(r){var o=r.target.value;if(a.browser.msie){var q=d.document.selection.createRange().text;var p=window.clipboardData.getData("Text");if(q&&q.length>0){o=o.replace(q,p)}else{o+=p}}this.$input.val(o);m(this)},this));var j=a.browser.msie?"propertychange":"DOMAttrModified";var c=this.$input=this.$element.find("input:last").bind(j,function(q){var o="class",p=c.attr(o);if(p!=h.attr(o)){h.attr(o,p).addClass("t-input")}});if(!c.attr("disabled")){g.bind("click",a.proxy(n,this))}this.filtering=new b.list.filtering(this);this.filtering.autoFill=function(o,p){if(o.autoFill&&(o.lastKeyCode!=8&&o.lastKeyCode!=46)){var q=o.$text[0];var u=b.caretPos(q);var t=q.value.substring(0,u);var s=p.toLowerCase().indexOf(t.toLowerCase());if(s!=-1){var r=p.substring(s+t.length);q.value=t+r;b.list.selection(q,u,u+r.length)}}};this.dropDown=new b.dropDown({attr:this.dropDownAttr,effects:this.effects,onOpen:a.proxy(function(){var p=this.data;var o=this.dropDown;if(p.length==0){return}var r=this.$text.val();var q=this.selectedIndex;if(q!=-1&&this.isFiltered){if(r==p[q].Text){this.filteredDataIndexes=[];o.onItemCreate=null;o.dataBind(this.data);this.select(o.$items[q])}else{this.filters[this.filter](this,this.data,r)}this.isFiltered=false}},this),onClick:a.proxy(function(o){this.select(o.item);this.trigger.change();this.trigger.close()},this)});this.dropDown.$element.css("direction",f.closest(".t-rtl").length?"rtl":"");this.enable=function(){f.removeClass("t-state-disabled").find(".t-input").removeAttr("disabled");g.bind("click",a.proxy(n,this))};this.disable=function(){f.addClass("t-state-disabled").find(".t-input").attr("disabled","disabled");g.unbind("click")};this.fill=function(p){function r(x){var w=x.selectedValue||x.value();if(w){x.value(w);return}var y=o.$items;var A=x.index;var z=y.filter(".t-state-selected");var B=z.length;var C=A!=-1&&A0?z[B-1]:null;if(C){x.select(C)}else{x.selectedIndex=-1;if(x.highlightFirst){x.highlight(y[0])}}}var s=this.loader;var o=this.dropDown;var u=this.minChars;var t=this.text();var q=t.length;if(!o.$items&&!s.ajaxError){if(s.isAjax()&&q>=u){var v={};v[this.queryString.text]=t;s.ajaxRequest(function(w){this.dataBind(w,true);r(this);b.trigger(this.element,"dataBound");this.trigger.change();if(p){p()}},{data:v})}else{this.dataBind(this.data,true);r(this);if(p){p()}}}};this.reload=function(){this.dropDown.$items=null;this.fill()};this.select=function(p){var o=this.highlight(p);if(o==-1){return o}var q=this.filteredDataIndexes;this.selectedIndex=(q&&q.length)>0?q[o]:o;b.list.updateTextAndValue(this,a(this.dropDown.$items[o]).text(),this.data[this.selectedIndex].Value)};this.text=function(){return this.$text.val.apply(this.$text,arguments)};this.value=function(){if(arguments.length){var p=arguments[0];var o=this.select(function(q){return p==(q.Value||q.Text)});if(o==-1){this.selectedIndex=o;this.$input.val(p);this.text(p)}this.previousValue=this.$input.val()}else{return this.$input.val()}};b.list.common.call(this);b.list.filters.call(this);b.list.initialize.call(this);this.$text.bind({change:a.proxy(function(o){o.stopPropagation()},this),keydown:a.proxy(k,this),keypress:a.proxy(i,this),focus:a.proxy(function(r){var p=this.trigger;var o=this.dropDown;if(!o.$items){this.fill(p.open)}else{p.open()}var q=this.$text;b.list.selection(q[0],0,q.val().length)},this)});function n(o){this.loader.ajaxError=false;if(!this.dropDown.isOpened()){this.$text[0].focus()}else{this.trigger.close()}}function m(o){clearTimeout(o.timeout);o.timeout=setTimeout(function(){o.filtering.filter(o)},o.delay)}function k(w){var r=this.trigger;var p=this.dropDown;var t=w.keyCode||w.which;this.lastKeyCode=t;if(w.altKey&&t==38){r.close();return}if(w.altKey&&t==40){r.open();return}if(!w.shiftKey&&(t==38||t==40)){w.preventDefault();if(!p.$items){this.fill()}var q=p.$items;var u=q.filter(".t-state-selected:first");var o=u.length==0||q.length==1?q.first():(t==38)?u.prev():(t==40)?u.next():[];if(o.length){var x=o[0];this.select(x);p.scrollTo(x);if(!p.isOpened()){r.change()}}}if(t==8||t==46){var s=this.$text;if(s.val()!=""){m(this)}setTimeout(a.proxy(function(){if(s.val()==""){this.selectedIndex=-1;this.$input.val("")}else{this.$input.val(this.$text.val())}},this),0)}if(t==13){if(p.isOpened()){w.preventDefault()}var v=p.$items.filter(".t-state-selected:first");if(v.length>0){this.select(v[0])}else{this.$input.val(this.$text.val())}r.change();r.close();b.list.moveToEnd(this.$text[0])}if(t==27||t==9){r.change();r.close();if(t==27){this.$text.blur()}}}function i(p){var o=p.keyCode||p.charCode;if(o==0||a.inArray(o,b.list.keycodes)!=-1||p.ctrlKey){return true}setTimeout(a.proxy(function(){this.$input.val(this.$text.val())},this),0);m(this)}};a.fn.tComboBox=function(c){return b.create(this,{name:"tComboBox",init:function(d,e){return new b.combobox(d,e)},options:c})};a.fn.tComboBox.defaults={encoded:true,effects:b.fx.slide.defaults(),index:-1,autoFill:true,highlightFirst:true,filter:0,delay:200,minChars:0,cache:true,queryString:{text:"text"}}})(jQuery); \ No newline at end of file diff --git a/NzbDrone.Web/Scripts/2010.3.1318/telerik.common.min.js b/NzbDrone.Web/Scripts/2010.3.1318/telerik.common.min.js new file mode 100644 index 000000000..bc8d9a3bf --- /dev/null +++ b/NzbDrone.Web/Scripts/2010.3.1318/telerik.common.min.js @@ -0,0 +1 @@ +(function(f){try{if(document.execCommand){document.execCommand("BackgroundImageCache",false,true)}}catch(i){}var d=/\d/;var b=/\s+/;var c=parseInt(f.browser.version.substring(0,5).replace(".",""));var g=f.browser.mozilla&&c>=180&&c<=191;var a=/d{1,4}|M{1,4}|yy(?:yy)?|([Hhmstf])\1*|"[^"]*"|'[^']*'/g;var j=f.telerik={create:function(e,k){var m=k.name;var l=f.extend({},f.fn[m].defaults,k.options);return e.each(function(){var n=f(this);l=f.meta?f.extend({},l,n.data()):l;if(!n.data(m)){var o=k.init(this,l);n.data(m,o);j.trigger(this,"load");if(k.success){k.success(o)}}})},toJson:function(e){var k=[];for(var m in e){var l=e[m];if(typeof l!="object"){k.push('"'+m+'":"'+l+'"')}else{k.push('"'+m+'":'+this.toJson(l))}}return"{"+k.join(",")+"}"},delegate:function(k,e){return function(l){e.apply(k,[l,this])}},stop:function(e,k){return function(l){l.stopPropagation();e.apply(k||this,arguments)}},stopAll:function(e,k){return function(l){l.preventDefault();l.stopPropagation();e.apply(k||this,arguments)}},bind:function(e,k){var l=f(e.element);f.each(k,function(m){if(f.isFunction(this)){l.bind(m,this)}})},preventDefault:function(k){k.preventDefault()},hover:function(){f(this).addClass("t-state-hover")},leave:function(){f(this).removeClass("t-state-hover")},buttonHover:function(){f(this).addClass("t-button-hover")},buttonLeave:function(){f(this).removeClass("t-button-hover")},stringBuilder:function(){this.buffer=[]},ajaxError:function(m,l,e,n){var k=this.trigger(m,l,{XMLHttpRequest:e,textStatus:n});if(!k){if(n=="error"&&e.status!="0"){alert("Error! The requested URL returned "+e.status+" - "+e.statusText)}if(n=="timeout"){alert("Error! Server timeout.")}}return k},trigger:function(l,k,m){m=f.extend(m||{},new f.Event(k));m.stopPropagation();f(l).trigger(m);return m.isDefaultPrevented()},getType:function(e){if(e instanceof Date){return"date"}if(!isNaN(e)){return"number"}return"object"},formatString:function(){var o=arguments[0];for(var e=0,k=arguments.length-1;e-1;m--){if(e.substr(m,l)==k){return m}}return -1},caretPos:function(e){var k=-1;if(document.selection){k=Math.abs(e.document.selection.createRange().moveStart("character",-e.value.length))}else{if(e.selectionStart!==undefined){k=e.selectionStart}}return k},encode:function(e){return e.replace(/&/g,"&").replace(//g,">").replace(/\u00a0/g," ")},formatters:{},fx:{},cultureInfo:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],abbrDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],abbrMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longTime:"h:mm:ss tt",longDate:"dddd, MMMM dd, yyyy",shortDate:"M/d/yyyy",shortTime:"h:mm tt",fullDateTime:"dddd, MMMM dd, yyyy h:mm:ss tt",generalDateShortTime:"M/d/yyyy h:mm tt",generalDateTime:"M/d/yyyy h:mm:ss tt",sortableDateTime:"yyyy'-'MM'-'ddTHH':'mm':'ss",universalSortableDateTime:"yyyy'-'MM'-'dd HH':'mm':'ss'Z'",monthYear:"MMMM, yyyy",monthDay:"MMMM dd",today:"today",tomorrow:"tomorrow",yesterday:"yesterday",next:"next",last:"last",year:"year",month:"month",week:"week",day:"day",am:"AM",pm:"PM",dateSeparator:"/",timeSeparator:":",firstDayOfWeek:0}};j.dropDown=function(e){f.extend(this,e);this.$element=f(new j.stringBuilder().cat("
    ').string()).addClass("t-popup t-group").hide()};j.dropDown.prototype={_html:function(n){var l=new j.stringBuilder();if(n){for(var k=0,o=n.length;k').cat(q.html).cat("")}}return l.string()},open:function(e){if(this.onOpen){this.onOpen()}if(this.isOpened()||!this.$items){return}var n=this.$element,l=".t-reset > .t-item";n.appendTo(document.body);var k;if(n[0].style.width==""){k=e.outerWidth?e.outerWidth-2:0}else{k=parseInt(this.attr?f("
    ")[0].style.width:n[0].style.width)}n.css("overflowY","auto").css("width",k);n.delegate(l,"mouseenter",j.hover).delegate(l,"mouseleave",j.leave).delegate(l,"click",f.proxy(function(o){if(this.onClick){this.onClick(f.extend(o,{item:f(o.target).closest(".t-item")[0]}))}},this));var m=e.offset;m.top+=e.outerHeight;j.fx._wrap(n).css(f.extend({position:"absolute",zIndex:e.zIndex},m));if(g){n.css("overflow","hidden")}j.fx.play(this.effects,n,{direction:"bottom"},f.proxy(function(){if(g){n.css("overflow","auto")}var o=this.$items.filter(".t-state-selected");if(o.length){this.scrollTo(o[0])}},this))},close:function(){if(!this.isOpened()){return}var e=this.$element;if(g){e.css("overflow","hidden")}j.fx.rewind(this.effects,e,{direction:"bottom"},function(){if(g){e.css("overflow","auto")}e.parent().remove()})},dataBind:function(k){k=k||[];var n=this.$element;var m=n[0].style.height;var l=m&&m!="auto"?n[0].style.height:"200px";var e=this.$items=f(this._html(k));n.find("> ul").html(e);n.css("height",e.length>10?l:"auto")},highlight:function(e){return f(e).addClass("t-state-selected").siblings().removeClass("t-state-selected").end().index()},isOpened:function(){return this.$element.is(":visible")},scrollTo:function(p){if(!p){return}var e=p.offsetTop;var n=p.offsetHeight;var k=this.$element[0];var l=k.scrollTop;var o=k.clientHeight;var m=e+n;k.scrollTop=l>e?e:m>(l+o)?m-o:l}};j.datetime=function(){if(arguments.length==0){this.value=new Date()}else{if(arguments.length==1){this.value=new Date(arguments[0])}else{if(arguments.length==3){this.value=new Date(arguments[0],arguments[1],arguments[2])}else{if(arguments.length==6){this.value=new Date(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])}else{this.value=new Date(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6])}}}}return this};f.extend(j.datetime,{msPerMinute:60000,msPerDay:86400000,add:function(n,k){var l=n.timeOffset();var m=new j.datetime(n.time()+k);var e=m.timeOffset()-l;return new j.datetime(m.time()+e*j.datetime.msPerMinute)},subtract:function(m,l){l=new j.datetime(l).toDate();var e=m.time()-l;var k=m.timeOffset()-l.timeOffset();return e-(k*j.datetime.msPerMinute)},firstDayOfMonth:function(e){return new j.datetime(0).hours(e.hours()).minutes(e.minutes()).seconds(e.seconds()).milliseconds(e.milliseconds()).year(e.year(),e.month(),1)},firstVisibleDay:function(l){var e=j.cultureInfo.firstDayOfWeek;var k=new j.datetime(l.year(),l.month(),0,l.hours(),l.minutes(),l.seconds(),l.milliseconds());while(k.day()!=e){j.datetime.modify(k,-1*j.datetime.msPerDay)}return k},modify:function(n,e){var l=n.timeOffset();var k=new j.datetime(n.time()+e);var m=k.timeOffset()-l;n.time(k.time()+m*j.datetime.msPerMinute)},pad:function(e){if(e<10){return"0"+e}return e},standardFormat:function(e){var k=j.cultureInfo;var m={d:k.shortDate,D:k.longDate,F:k.fullDateTime,g:k.generalDateShortTime,G:k.generalDateTime,m:k.monthDay,M:k.monthDay,s:k.sortableDateTime,t:k.shortTime,T:k.longTime,u:k.universalSortableDateTime,y:k.monthYear,Y:k.monthYear};return m[e]},format:function(x,e){var r=j.cultureInfo;var v=x.getDate();var k=x.getDay();var u=x.getMonth();var n=x.getFullYear();var q=x.getHours();var p=x.getMinutes();var o=x.getSeconds();var w=x.getMilliseconds();var t=j.datetime.pad;var z={d:v,dd:t(v),ddd:r.abbrDays[k],dddd:r.days[k],M:u+1,MM:t(u+1),MMM:r.abbrMonths[u],MMMM:r.months[u],yy:t(n%100),yyyy:n,h:q%12||12,hh:t(q%12||12),H:q,HH:t(q),m:p,mm:t(p),s:o,ss:t(o),f:Math.floor(w/100),ff:Math.floor(w/10),fff:w,tt:q<12?r.am:r.pm};e=e||"G";e=j.datetime.standardFormat(e)?j.datetime.standardFormat(e):e;return e.replace(a,function(l){return l in z?z[l]:l.slice(1,l.length-1)})},parse:function(l){var e=l.value;var k=l.format;k=j.datetime.standardFormat(k)?j.datetime.standardFormat(k):k;if(d.test(e)){return j.datetime.parseMachineDate({value:e,format:k,shortYearCutOff:l.shortYearCutOff,baseDate:l.baseDate,AM:j.cultureInfo.am,PM:j.cultureInfo.pm})}return j.datetime.parseByToken?j.datetime.parseByToken(e,l.today):null},parseMachineDate:function(A){var N=A.AM;var G=A.PM;var n=A.value;var q=A.format;var e=A.baseDate;var J=A.shortYearCutOff||30;var v=-1;var D=-1;var w=-1;var m=0;var t=0;var y=0;var x=0;var L;var H;var r=false;var M=function(P){var O=0;while(u(P)){O++;z++}return O};var l=function(){var O=u("'");if(O){z++}return O};var u=function(O){return(z+10?N:"a";G=F>0?G:"p";var p=n.substr(E).toLowerCase();L=p.indexOf(N.toLowerCase())!=-1;H=p.indexOf(G.toLowerCase())!=-1;E+=H?G.length:L?N.length:0;break;case"'":I();r=true;break;default:I()}}}var C=new j.datetime();if(v!=-1&&v<100){v+=C.year()-C.year()%100+(v<=J?0:-100)}m=(H&&m<12)?m+12:m==12&&L?0:m;if(e==undefined){if(v==-1){v=C.year()}C=new j.datetime(v,D-1,w,m,t,y,x);if(C.year()!=v||C.month()!=(D-1)||C.date()!=w){return null}}else{C=e.year(v!=-1?v:e.year()).month(D!=-1?D-1:e.month()).date(w!=-1?w:e.date()).hours(m).minutes(t).seconds(y).milliseconds(x);if((v!=-1&&C.year()!=v)||(D!=-1&&C.month()!=(D-1))||(w!=-1&&C.date()!=w)||(m!=-1&&C.hours()!=m)||(t!=-1&&C.minutes()!=t)||(y!=-1&&C.seconds()!=y)||(x!=-1&&C.milliseconds()!=x)){return null}}return C}});j.datetime.prototype={year:function(){if(arguments.length==0){return this.value.getFullYear()}else{if(arguments.length==1){this.value.setFullYear(arguments[0])}else{this.value.setFullYear(arguments[0],arguments[1],arguments[2])}}return this},timeOffset:function(){return this.value.getTimezoneOffset()},day:function(){return this.value.getDay()},toDate:function(){return this.value},addMonth:function(e){this.month(this.month()+e)},addYear:function(e){this.year(this.year()+e)}};f.each(["Month","Date","Hours","Minutes","Seconds","Milliseconds","Time"],function(e,k){j.datetime.prototype[k.toLowerCase()]=function(){if(arguments.length==1){this.value["set"+k](arguments[0])}else{return this.value["get"+k]()}return this}});j.stringBuilder.prototype={cat:function(e){this.buffer.push(e);return this},rep:function(k,e){for(var l=0;l").addClass("t-animation-container").css({width:e.outerWidth(),height:e.outerHeight()}))}return e.parent()},play:function(n,o,l,e){var q=h(n,o,e);if(q===null){return}o.stop(false,true);for(var k=0,p=n.list.length;k=0;k--){var m=o.data("effect-"+k)||new j.fx[n.list[k].name](o);m.rewind(f.extend(n.list[k],{openDuration:n.openDuration,closeDuration:n.closeDuration},l),p);o.data("effect-"+k,null)}}});j.fx.toggle=function(e){this.element=e.stop(false,true)};j.fx.toggle.prototype={play:function(e,k){this.element.show();if(k){k()}},rewind:function(e,k){this.element.hide();if(k){k()}}};j.fx.toggle.defaults=function(){return{list:[{name:"toggle"}]}};j.fx.slide=function(e){this.element=e;this.animationContainer=j.fx._wrap(e)};j.fx.slide.prototype={play:function(k,o){var e=this.animationContainer;this.element.css("display","block").stop();e.css({display:"block",overflow:"hidden"});var l=this.element.outerWidth();var q=this.element.outerHeight();var p=k.direction=="bottom"?"marginTop":"marginLeft";var m=k.direction=="bottom"?-q:-l;e.css({width:l,height:q});var n={};n[p]=0;this.element.css("width",this.element.width()).each(function(){this.style.cssText=this.style.cssText}).css(p,m).animate(n,{queue:false,duration:k.openDuration,easing:"linear",complete:function(){e.css("overflow","");if(o){o()}}})},rewind:function(l,k){var m=this.animationContainer;this.element.stop();m.css({overflow:"hidden"});var e;switch(l.direction){case"bottom":e={marginTop:-this.element.outerHeight()};break;case"right":e={marginLeft:-this.element.outerWidth()};break}this.element.animate(e,{queue:false,duration:l.closeDuration,easing:"linear",complete:function(){m.css({display:"none",overflow:""});if(k){k()}}})}};j.fx.slide.defaults=function(){return{list:[{name:"slide"}],openDuration:"fast",closeDuration:"fast"}};j.fx.property=function(e){this.element=e};j.fx.property.prototype={_animate:function(n,m,k,e){var o={overflow:"hidden"},p={},l=this.element;f.each(n,function(r,s){var q;switch(s){case"height":case"width":q=l[s]();break;case"opacity":q=1;break;default:q=l.css(s);break}o[s]=k?q:0;p[s]=k?0:q});l.css(o).show().animate(p,{queue:false,duration:m,easing:"linear",complete:function(){if(k){l.hide()}f.each(p,function(q){p[q]=""});l.css(f.extend({overflow:""},p));if(e){e()}}})},play:function(k,e){this._animate(k.properties,k.openDuration,false,e)},rewind:function(k,e){this._animate(k.properties,k.closeDuration,true,e)}};j.fx.property.defaults=function(){return{list:[{name:"property",properties:arguments}],openDuration:"fast",closeDuration:"fast"}};f(document).ready(function(){if(f.browser.msie&&typeof(Sys)!="undefined"&&typeof(Sys.Mvc)!="undefined"&&typeof(Sys.Mvc.FormContext)!="undefined"){var e=function(l,k){return f.grep(l.getElementsByTagName("*"),function(m){return m.name==k})};if(Sys.Mvc.FormContext){Sys.Mvc.FormContext.$F=Sys.Mvc.FormContext._getFormElementsWithName=e}}})})(jQuery); \ No newline at end of file diff --git a/NzbDrone.Web/Scripts/2010.3.1318/telerik.datepicker.min.js b/NzbDrone.Web/Scripts/2010.3.1318/telerik.datepicker.min.js new file mode 100644 index 000000000..3b696a7b2 --- /dev/null +++ b/NzbDrone.Web/Scripts/2010.3.1318/telerik.datepicker.min.js @@ -0,0 +1 @@ +(function(d){var b=d.telerik;var a=null;b.datetime.parseByToken=function(g,i){if(g===null||g===""){return null}i=i||new b.datetime();var e=null;var m=null;var k=null;var n=0;var f=function(o){var p=null;if(o&&g.substring(n,n+o.length).toLowerCase()==o.toLowerCase()){p=o}return p};var j=function(){var o=null;d.each(["days","abbrDays","months","abbrMonths"],function(q,p){if(o!==null){return}d.each(b.cultureInfo[p],function(s,r){if(o!==null){return}o=f(r)});k=p});return o};var h=function(){var o;var p=function(r,s){i[s?"date":"month"](i[s?"date":"month"]()+(o!=0?((o+((o>0?1:-1)*r))%r):0)+(m?(e==b.cultureInfo.next?1:-1)*r:0))};var q=d.inArray(m||e,b.cultureInfo[k]);if(k.toLowerCase().indexOf("day")>-1){o=(q==0?7:q)-i.day();p(7,true)}else{o=q-i.month();p(12,false)}};var l=function(){var p=function(q){var r;switch(m){case"year":r=q==1?1:0;break;case"month":r=q==2?1:0;break;case"week":r=q==3?7:0;break;case"day":r=q==3?1:0;break}return r};var o=(e==b.cultureInfo.next?1:-1);i.year(i.year()+p(1)*o,i.month()+p(2)*o,i.date()+p(3)*o)};d.each(["today","tomorrow","yesterday","next","last"],function(p,o){if(e!==null){return}e=f(b.cultureInfo[o])});if(e!==null){n+=e.length;if(/[^\s\d]\s+[^\s\d]/i.test(g)){n++;d.each(["year","month","week","day"],function(p,o){if(m!==null){return}m=f(b.cultureInfo[o])});k=null;if(m===null){m=j()}if(m===null){return null}}else{switch(e){case b.cultureInfo.today:break;case b.cultureInfo.tomorrow:i.date(i.date()+1);break;case b.cultureInfo.yesterday:i.date(i.date()-1);break;default:i=null;break}return i}}else{e=j();if(e!=null){h();return i}else{return null}}if(k!==null){h()}else{l()}return i};function c(h,g,f,e){if(g){h=new b.datetime(g.toDate())}if(f.value>h.value){h=new b.datetime(f.value)}else{if(e.value').prependTo(a).height(a.height())}}return a},_getCalendar:function(){return a.data("tCalendar")},_reassignSharedCalendar:function(){var e=this._getCalendar();if(a.data("associatedDateView")!=this){a.stop(true,true);this.focusedValue=c(this.focusedValue,this.selectedValue,this.minValue,this.maxValue);e.minDate=this.minValue;e.maxDate=this.maxValue;e.selectedValue=this.selectedValue;e.goToView(0,this.focusedValue);a.unbind("change").bind("change",d.proxy(function(h){var g=this.selectedValue;var f=new b.datetime(h.date);if(g!==null){f.hours(g.hours()).minutes(g.minutes()).seconds(g.seconds()).milliseconds(g.milliseconds())}this.onChange(f)},this)).unbind("navigate").bind("navigate",d.proxy(function(i){var h=this.focusedValue;var f=e.viewedMonth;var g=e.currentView.index;if(g==0){h=this.selectedValue?new b.datetime(this.selectedValue.toDate()):h}else{h.year(f.year(),f.month(),h.date())}b.calendar.focusDate(h,g,a,i.direction)},this)).data("associatedDateView",this);if(this.selectedValue){e.value(this.selectedValue)}b.calendar.focusDate(this.focusedValue,e.currentView.index,a)}},open:function(e){if(this.isOpened()){return}this._reassignSharedCalendar();var i=this.isRtl;var h=this.$calendar;elementPosition=e.offset;elementPosition.top+=e.outerHeight;if(i){elementPosition.left-=(a.outerWidth()||a.parent().outerWidth())-e.outerWidth}b.fx._wrap(a).css(d.extend({position:"absolute",direction:i?"rtl":"",display:a.is(":visible")?"":"none"},elementPosition));var f=this._getCalendar();var g=f.currentView.index;if(!a.is(":visible")&&f.viewedMonth.value-this.focusedValue.value!=0){f.goToView(g,this.focusedValue).value(this.selectedValue)}b.calendar.focusDate(this.focusedValue,f.currentView.index,a);b.fx._wrap(h).css("zIndex",e.zIndex).show();b.fx.play(this.effects,h,{direction:"bottom"})},close:function(){if(this.isOpened()){b.fx.rewind(this.effects,this.$calendar,{direction:"bottom"},function(){if(a){b.fx._wrap(a).hide()}})}},isOpened:function(){return a&&a.data("associatedDateView")==this&&a.is(":visible")},value:function(e){if(e===undefined){return this.selectedValue.toDate()}var g=e===null;var f=this._getCalendar();if(!g){e=e.value?e:new b.datetime(e)}f.value(e);this.selectedValue=e;if(g){e=new b.datetime()}this.focusedValue=new b.datetime(e.toDate());b.calendar.focusDate(e,f.currentView.index,a)},navigate:function(p){if(this.isOpened()&&d(".t-overlay",a).length>0){return}var m;var k=false;var o=this.$calendar;var l=this._getCalendar();var n=l.viewedMonth;var h=l.currentView;var f=h.index;var q=new b.datetime(this.focusedValue.value);var r=function(e,t,s){if(!d(e,o).hasClass("t-state-disabled")){if("navigateUp"==t){f+=1}m=s||false;l[t]();return true}else{return false}};var g=function(){var e=b.calendar.findTarget(q,f,o,false)[0];l.navigateDown(p,e,f);f=f==0?0:f-1;m=true};var i=function(e,u,s){var t=!s?-1:1;if(!r(e,u,s)){return false}if(f==0){q.addMonth(t)}else{q.addYear(t*(f==1?1:f==2?10:100))}return true};var j=b.datepicker.adjustDate;if(o.is(":visible")&&!p.shiftKey){k=true;switch(p.keyCode){case 37:if(p.ctrlKey){if(!i(".t-nav-prev","navigateToPast")){return}}else{j(f,q,-1,-1);if(h.navCheck(q,n,false)){if(!r(".t-nav-prev","navigateToPast")){return}}}break;case 38:if(p.ctrlKey){r(".t-nav-fast","navigateUp")}else{j(f,q,-7,-4);if(h.navCheck(q,n,false)){if(!r(".t-nav-prev","navigateToPast")){return}}}break;case 39:if(p.ctrlKey){if(!i(".t-nav-next","navigateToFuture",true)){return}}else{j(f,q,1,1);if(h.navCheck(q,n,true)){if(!r(".t-nav-next","navigateToFuture",true)){return}}}break;case 40:if(p.ctrlKey){g()}else{j(f,q,7,4);if(h.navCheck(q,n,true)){if(!r(".t-nav-next","navigateToFuture",true)){return}}}break;case 33:if(!i(".t-nav-prev","navigateToPast")){return}break;case 34:if(!i(".t-nav-next","navigateToFuture",true)){return}break;case 35:q=b.calendar.views[f].firstLastDay(q,false,l);break;case 36:q=b.calendar.views[f].firstLastDay(q,true,l);break;case 13:p.stopPropagation();if(f==0){this.onChange(this.focusedValue)}else{g()}break;default:k=false;break}}if(k){p.preventDefault();q=b.calendar.fitDateToRange(q,this.minValue,this.maxValue);b.calendar.focusDate(q,f,o,m);this.focusedValue=q}}};d.each(["min","max"],d.proxy(function(f,e){b.dateView.prototype[e]=function(h){var g=e+"Value";if(h===undefined){return this[g].toDate()}this[g]=h.value?h:new b.datetime(h);a.data("associatedDateView",null);this._reassignSharedCalendar()}},this));b.datepicker=function(f,g){this.element=f;d.extend(this,g);var h=this.$input=d(".t-input",f).attr("autocomplete","off").bind({change:function(i){i.stopPropagation()},keydown:d.proxy(this._keydown,this),focus:d.proxy(function(i){this._change(h.val());this._open();this.$input.removeClass("t-state-error")},this)});this.dateView=new b.dateView({selectedValue:this.selectedValue,minValue:this.minDate,maxValue:this.maxDate,effects:this.effects,isRtl:h.closest(".t-rtl").length,onChange:d.proxy(function(i){this._change(i);this._close()},this)});this.inputValue=h.val();var e=this.selectedValue||this.inputValue;if(e){this._value(this.parse(e))}d(".t-icon-calendar",f).bind("click",this.enabled?d.proxy(this._togglePopup,this):b.preventDefault);d(document.documentElement).bind("mousedown",d.proxy(function(i){if(!a){return}var j=a.data("associatedDateView");if(j&&j==this.dateView){if(d.contains(f,i.target)||d.contains(a[0],i.target)){return}this._change(this.$input.val());this._close()}},this));b.bind(this,{open:this.onOpen,close:this.onClose,change:this.onChange,load:this.onLoad})};b.datepicker.prototype={_togglePopup:function(){var e=this.$input;if(this.dateView.isOpened()){this._change(e.val());this._close()}else{e[0].focus()}},_close:function(){if(!a.is(":animated")&&this.dateView.isOpened()){this._trigger("close")}},_open:function(){if(!this.dateView.isOpened()){this._trigger("open")}},_trigger:function(e){if(!b.trigger(this.element,e)){this[e]()}},_change:function(e){var g=this.selectedValue;var f=this.parse(e);if(f!=null){if(f.value-this.minDate.value<=0){f=this.minDate}else{if(f.value-this.maxDate.value>=0){f=this.maxDate}}}if(f==null||this.inputValue!=e){this._value(f);if((g===null&&f!==null)||(g!==null&&f===null)||(g&&f&&(g.value>f.value||f.value>g.value))){b.trigger(this.element,"change",{previousValue:g===null?null:g.toDate(),value:f===null?null:f.toDate(),previousDate:g===null?null:g.toDate(),date:f===null?null:f.toDate()})}}},_keydown:function(h){var g=h.keyCode;var f=h.target.value;if(g==9){this._change(f);this._close()}else{if(g==27){this._close()}else{if(g==13&&(this.inputValue!=f||!this.dateView.isOpened())){this._change(f);this._close()}else{if(h.altKey){if(g==40){this._open()}else{if(g==38){this._close()}}}else{this.dateView.navigate(h)}}}}},enable:function(){this.$input.attr("disabled",false);d(this.element).removeClass("t-state-disabled").find(".t-icon").unbind("click").bind("click",d.proxy(this._togglePopup,this))},disable:function(f){this.$input.attr("disabled",true);d(this.element).addClass("t-state-disabled").find(".t-icon").unbind("click").bind("click",b.preventDefault)},_value:function(e){var g=this.$input.val();var f=e===null;this.selectedValue=e;this.dateView.value(e);if(!f){g=b.datetime.format(e.toDate(),this.format)}this.inputValue=g;this.$input.toggleClass("t-state-error",f&&g!="").val(g)},value:function(e){if(e===undefined){return this.selectedValue===null?null:this.selectedValue.toDate()}var f=this.parse(e);f=b.calendar.isInRange(f,this.minDate,this.maxDate)?f:null;if(f===null){this.$input.removeClass("t-state-error").val("")}this._value(f);return this},showPopup:function(){this.open()},hidePopup:function(){this.close()},open:function(){var e=this.$input;this.dateView.open({offset:e.offset(),outerHeight:e.outerHeight(),outerWidth:e.outerWidth(),zIndex:b.getElementZIndex(e[0])})},close:function(){this.dateView.close()},parse:function(f,e){if(f===null||f.value){return f}return f.getDate?new b.datetime(f):b.datetime.parse({value:f,format:e||this.format,shortYearCutOff:this.shortYearCutOff})}};d.each(["min","max"],d.proxy(function(f,e){b.datepicker.prototype[e]=function(g){var i=e+"Date";if(g===undefined){return this[i].toDate()}var j=this.parse(g);if(j!==null){var h=this[i];this[i]=j;if(this.minDate.value>this.maxDate.value){this[i]=h;return}this.dateView[e](j);if(!b.calendar.isInRange(this.selectedValue,this.minDate,this.maxDate)){this.value(j)}}}},this));d.extend(b.datepicker,{adjustDate:function(e,h,g,f){if(e==0){b.datetime.modify(h,b.datetime.msPerDay*g)}else{if(e==1){h.addMonth(f)}else{h.addYear((e==2?f:10*f))}}}});d.fn.tDatePicker=function(e){return b.create(this,{name:"tDatePicker",init:function(f,g){return new b.datepicker(f,g)},options:e})};d.fn.tDatePicker.defaults={effects:b.fx.slide.defaults(),selectedValue:null,format:b.cultureInfo.shortDate,minDate:new b.datetime(1899,11,31),maxDate:new b.datetime(2100,0,1),shortYearCutOff:30,enabled:true}})(jQuery); \ No newline at end of file diff --git a/NzbDrone.Web/Scripts/2010.3.1318/telerik.datetimepicker.min.js b/NzbDrone.Web/Scripts/2010.3.1318/telerik.datetimepicker.min.js new file mode 100644 index 000000000..61aa3b1e6 --- /dev/null +++ b/NzbDrone.Web/Scripts/2010.3.1318/telerik.datetimepicker.min.js @@ -0,0 +1 @@ +(function(a){var b=a.telerik;b.datetimepicker=function(d,e){a.extend(this,e);this.element=d;var f=this.$element=a(d);var g=this.$input=f.find(".t-input").bind({change:function(i){i.stopPropagation()},keydown:a.proxy(this._keydown,this),focus:a.proxy(function(i){this._change(g.val());this.$input.removeClass("t-state-error")},this)});f.find(".t-icon-clock").bind("click",this.enabled?a.proxy(this._toggleTimeView,this):b.preventDefault).end().find(".t-icon-calendar").bind("click",this.enabled?a.proxy(this._toggleDateView,this):b.preventDefault);this.timeView=new b.timeView({effects:this.effects,dropDownAttr:this.dropDownAttr,format:this.timeFormat,interval:this.interval,isRtl:g.closest(".t-rtl").length,minValue:this.startTimeValue,maxValue:this.endTimeValue,onNavigateWithOpenPopup:a.proxy(function(j){var i=this.parse(j,this.timeFormat);this.$input.val(b.datetime.format(i.toDate(),this.format))},this),onChange:a.proxy(function(i){this._change(this.parse(i,this.timeFormat));this._close("time")},this)});this.dateView=new b.dateView({selectedValue:this.selectedValue,minValue:this.minValue,maxValue:this.maxValue,effects:this.effects,isRtl:g.closest(".t-rtl").length,onChange:a.proxy(function(i){this._change(i);this._close("date")},this)});this.inputValue=g.val();var c=this.selectedValue||this.inputValue;if(c){var h=this.parse(c);this.dateView.selectedValue=h;this._value(this.parse(c))}a(document.documentElement).bind("mousedown",a.proxy(function(m){var i=this.dateView.$calendar;if(!i){return}var l=this.timeView.dropDown.$element;var j=l&&l.parent().length>0;var n=i.data("associatedDateView");var k=m.target;if(a.contains(this.element,k)||(n&&n==this.dateView&&a.contains(i[0],k))||(j&&a.contains(l.parent()[0],k))){return}this._change(this.$input.val());this._close("date");this._close("time")},this));b.bind(this,{open:this.onOpen,close:this.onClose,change:this.onChange,load:this.onLoad})};b.datetimepicker.prototype={_change:function(c){var g=this.minValue;var d=this.maxValue;var f=this.parse(c);var h=this.selectedValue;if(f!=null){if(f.value-g.value<=0){f=g}else{if(f.value-d.value>=0){f=d}}}var e=(c&&c.date)?b.datetime.format(c.toDate(),this.format):c;if(f==null||this.inputValue!=e){this._value(f);if((h===null&&f!==null)||(h!==null&&f===null)||(h&&f&&(h.value>f.value||f.value>h.value))){b.trigger(this.element,"change",{previousValue:h===null?null:h.toDate(),value:f===null?null:f.toDate()})}}},_value:function(c){var g=this.$input.val();var f=c===null;var d=this.dateView;var e=d.$calendar.data("associatedDateView");this.selectedValue=c;this.timeView.value(f?null:b.datetime.format(c.toDate(),this.timeFormat));if(e&&e==d){d.value(c)}if(!f){g=b.datetime.format(c.toDate(),this.format)}this.inputValue=g;this.$input.toggleClass("t-state-error",f&&g!="").val(g)},_open:function(c){if(!this[c=="time"?"timeView":"dateView"].isOpened()){this._trigger(c,"open")}},_close:function(e){var c=this.dateView;var d=this.timeView.dropDown;if((e=="time"&&!d.$element.is(":animated")&&d.isOpened())||(!c.$calendar.is(":animated")&&c.isOpened())){this._trigger(e,"close")}},_trigger:function(c,d){if(!b.trigger(this.element,d,{popup:c})){this[d](c)}},_keydown:function(f){var d=f.keyCode;var c=f.target.value;if(d==9||d==27||(d==13&&this.inputValue!=c)){this._change(c);this._close("date");this._close("time");return}if(f.altKey){if(d==40){this._open("date")}else{if(d==38){this._close("date")}}return}if(this.dateView.isOpened()){this.dateView.navigate(f)}if(this.timeView.isOpened()){this.timeView.navigate(f)}},_toggleDateView:function(){if(this.dateView.isOpened()){this._close("date")}else{this.$input[0].focus();this._change(this.parse(this.$input.val()));this._open("date");this._close("time")}},_toggleTimeView:function(){if(this.timeView.isOpened()){this._close("time")}else{this.$input[0].focus();this._change(this.parse(this.$input.val()));this._open("time");this._close("date")}},enable:function(){this.$input.attr("disabled",false);this.$element.removeClass("t-state-disabled").find(".t-icon-clock").unbind("click").bind("click",a.proxy(this._toggleTimeView,this)).end().find(".t-icon-calendar").unbind("click").bind("click",a.proxy(this._toggleDateView,this))},disable:function(c){this.$input.attr("disabled",true);this.$element.addClass("t-state-disabled").find(".t-icon").unbind("click").bind("click",b.preventDefault)},open:function(d){var e=this.$input;var c={offset:e.offset(),outerHeight:e.outerHeight(),outerWidth:e.outerWidth(),zIndex:b.getElementZIndex(e[0])};this[d=="time"?"timeView":"dateView"].open(c)},close:function(c){this[c=="time"?"timeView":"dateView"].close()},value:function(c){if(c===undefined){return this.selectedValue===null?null:this.selectedValue.toDate()}var d=this.parse(c);d=b.calendar.isInRange(d,this.minValue,this.maxValue)?d:null;if(d===null){this.$input.removeClass("t-state-error").val("")}this._value(d);return this},parse:function(d,c){if(d===null||d.value){return d}c=c||this.format;return d.getDate?new b.datetime(d):b.datetime.parse({AM:b.cultureInfo.AM,PM:b.cultureInfo.PM,value:d,format:c,baseDate:this.selectedValue?new b.datetime(this.selectedValue.value):new b.datetime()})}};a.each(["min","max"],a.proxy(function(d,c){b.datetimepicker.prototype[c]=function(e){var g=c+"Value";if(e===undefined){return this[g].toDate()}var h=this.parse(e);if(h!==null){var f=this[g];this[g]=h;if(this.minValue.value>this.maxValue.value){this[g]=f;return}this.dateView[c](h);if(!b.calendar.isInRange(this.selectedValue,this.minValue,this.maxValue)){this.value(h)}}}},this));a.each(["startTime","endTime"],a.proxy(function(d,c){b.datetimepicker.prototype[c]=function(e){var f=c+"Value";if(e===undefined){return this[f].toDate()}var g=this.parse(e,b.cultureInfo.shortTime);if(g!==null){this[f]=g;c=="startTime"?this.timeView.min(g):this.timeView.max(g);if(!b.timeView.isInRange(this.selectedValue,this.minValue,this.maxValue)){this.value(g)}}}},this));a.fn.tDateTimePicker=function(c){a.fn.tDateTimePicker.defaults.timeFormat=b.cultureInfo.shortTime;return b.create(this,{name:"tDateTimePicker",init:function(d,e){return new b.datetimepicker(d,e)},options:c})};a.fn.tDateTimePicker.defaults={effects:b.fx.slide.defaults(),selectedValue:null,format:b.cultureInfo.generalDateShortTime,focusedDate:new b.datetime(),minValue:new b.datetime(1899,11,31),maxValue:new b.datetime(2100,0,1),shortYearCutOff:30,enabled:true,interval:30}})(jQuery); \ No newline at end of file diff --git a/NzbDrone.Web/Scripts/2010.3.1318/telerik.draganddrop.min.js b/NzbDrone.Web/Scripts/2010.3.1318/telerik.draganddrop.min.js new file mode 100644 index 000000000..c4174cc9d --- /dev/null +++ b/NzbDrone.Web/Scripts/2010.3.1318/telerik.draganddrop.min.js @@ -0,0 +1 @@ +(function(d){var g=d.telerik,b=function(){},c={},a={},f={scope:"default",drop:b,over:b,out:b,owner:document.body},e={distance:5,cursorAt:{left:10,top:10},scope:"default",start:b,drag:b,stop:b,destroy:b,owner:document.body,cue:function(){return d("")}};g.droppable=function(h){d.extend(this,f,h);d(this.owner).delegate(this.selector,"mouseenter",d.proxy(this._over,this)).delegate(this.selector,"mouseup",d.proxy(this._drop,this)).delegate(this.selector,"mouseleave",d.proxy(this._out,this))};g.droppable.prototype={_over:function(h){this._raise(h,this.over)},_out:function(h){this._raise(h,this.out)},_drop:function(h){this._raise(h,d.proxy(function(i){this.drop(i);i.destroy(i)},this))},_raise:function(j,i){var h=c[this.scope];if(h){i(d.extend(j,h,{$droppable:d(j.currentTarget)}))}}};g.dragCue=function(h){return d('
    ').html(h).prepend('').appendTo(document.body)};g.dragCueStatus=function(h,i){h.find(".t-drag-status").attr("className","t-icon t-drag-status").addClass(i)};g.draggable=function(h){d.extend(this,e,h);d(this.owner).delegate(this.selector,"mousedown",d.proxy(this._wait,this)).delegate(this.selector,"dragstart",g.preventDefault);this._startProxy=d.proxy(this._start,this);this._destroyProxy=d.proxy(this._destroy,this);this._stopProxy=d.proxy(this._stop,this);this._dragProxy=d.proxy(this._drag,this)};g.draggable.get=function(h){return c[h]};g.draggable.prototype={_raise:function(j,i){var h=c[this.scope];if(h){return i(d.extend(j,h))}},_wait:function(h){this.$target=d(h.currentTarget);this._startPosition={x:h.pageX,y:h.pageY};d(document).bind({mousemove:this._startProxy,mouseup:this._destroyProxy});d(document.documentElement).trigger("mousedown",h);return false},_start:function(l){var k=this._startPosition.x-l.pageX,j=this._startPosition.y-l.pageY;var i=Math.sqrt((k*k)+(j*j));if(i>=this.distance){var h=a[this.selector];if(!h){h=a[this.selector]=this.cue({$draggable:this.$target});d(document).unbind("mousemove",this._startProxy).unbind("mouseup",this._destroyProxy).bind({"mouseup keydown":this._stopProxy,mousemove:this._dragProxy,selectstart:false})}c[this.scope]={$cue:h.css({position:"absolute",left:l.pageX+this.cursorAt.left,top:l.pageY+this.cursorAt.top}),$draggable:this.$target,destroy:this._destroyProxy};if(this._raise(l,this.start)===false){this._destroy(l)}}},_drag:function(h){this._raise(h,this.drag);c[this.scope].$cue.css({left:h.pageX+this.cursorAt.left,top:h.pageY+this.cursorAt.top})},_stop:function(h){if(h.type=="mouseup"||h.keyCode==27){if(this._raise(h,this.stop)===false){this._destroy(h)}else{var i=c[this.scope];i.$cue.animate(i.$draggable.offset(),"fast",this._destroyProxy)}}},_destroy:function(h){d(document).unbind("mouseup keydown",this._stopProxy).unbind("mousemove",this._dragProxy).unbind("mousemove",this._startProxy).unbind("selectstart",false);this._raise(h,this.destroy);c[this.scope]=null;a[this.selector]=null}}})(jQuery); \ No newline at end of file diff --git a/NzbDrone.Web/Scripts/2010.3.1318/telerik.editor.min.js b/NzbDrone.Web/Scripts/2010.3.1318/telerik.editor.min.js new file mode 100644 index 000000000..c8434828a --- /dev/null +++ b/NzbDrone.Web/Scripts/2010.3.1318/telerik.editor.min.js @@ -0,0 +1 @@ +(function(s){var ap=s.telerik;function F(a1){var a0={};for(var aZ=0;aZ1?a1:"0"+a1}).join("")},encode:function(aZ){return aZ.replace(/&/g,"&").replace(//g,">").replace(/\u00a0/g," ")},name:function(aZ){return aZ.nodeName.toLowerCase()},significantChildNodes:function(aZ){return s.grep(aZ.childNodes,function(a0){return a0.nodeType!=3||!C.isWhitespace(a0)})},lastTextNode:function(a0){if(a0.nodeType==3){return a0}var aZ=null;for(var a1=a0.lastChild;a1;a1=a1.previousSibling){if(aZ=C.lastTextNode(a1)){return aZ}}return aZ},is:function(aZ,a0){return C.name(aZ)==a0},isMarker:function(aZ){return aZ.className=="t-marker"},isWhitespace:function(aZ){return aB.test(aZ.nodeValue)},isBlock:function(aZ){return L[C.name(aZ)]},isEmpty:function(aZ){return aJ[C.name(aZ)]},isInline:function(aZ){return aS[C.name(aZ)]},scrollTo:function(aZ){aZ.ownerDocument.body.scrollTop=s(ad(aZ)?aZ.parentNode:aZ).offset().top},insertAt:function(a0,aZ,a1){a0.insertBefore(aZ,a0.childNodes[a1]||null)},insertBefore:function(aZ,a0){if(a0.parentNode){return a0.parentNode.insertBefore(aZ,a0)}else{return a0}},insertAfter:function(aZ,a0){return a0.parentNode.insertBefore(aZ,a0.nextSibling)},remove:function(aZ){aZ.parentNode.removeChild(aZ)},trim:function(a0){for(var aZ=a0.childNodes.length-1;aZ>=0;aZ--){var a1=a0.childNodes[aZ];if(ad(a1)){if(a1.nodeValue.replace(/\ufeff/g,"").length==0){C.remove(a1)}if(C.isWhitespace(a1)){C.insertBefore(a1,a0)}}else{if(a1.className!="t-marker"){C.trim(a1);if(a1.childNodes.length==0&&!C.isEmpty(a1)){C.remove(a1)}}}}return a0},parentOfType:function(aZ,a0){do{aZ=aZ.parentNode}while(aZ&&!(C.ofType(aZ,a0)));return aZ},ofType:function(aZ,a0){return s.inArray(C.name(aZ),a0)>=0},changeTag:function(a3,a0){var a2=C.create(a3.ownerDocument,a0);var a6=a3.attributes;for(var a1=0;a1")},end:function(){a4.push("")}},b:{start:function(){a4.push("")},end:function(){a4.push("")}},i:{start:function(){a4.push("")},end:function(){a4.push("")}},u:{start:function(){a4.push('')},end:function(){a4.push("")}},font:{start:function(a7){a4.push('')},end:function(a5){a4.push("")}}};function a0(a6){var bd=[],bl=a6.attributes,bi=s.trim;if(C.is(a6,"img")){var bo=a6.style.width,be=a6.style.height,bc=s(a6);if(bo){bc.attr("width",parseInt(bo));C.unstyle(a6,{width:undefined})}if(be){bc.attr("height",parseInt(be));C.unstyle(a6,{height:undefined})}}for(var bb=0,bg=bl.length;bbbq.nodeName?1:bp.nodeName=0){a5=C.toHex(a5)}a4.push(a7);a4.push(":");a4.push(a5);a4.push(";")}}}else{if(bn=="src"||bn=="href"){a4.push(a6.getAttribute(bn,2))}else{a4.push(K[bn]?bn:bh)}}a4.push('"')}}function aZ(a5,a6){for(var a7=a5.firstChild;a7;a7=a7.nextSibling){a2(a7,a6)}}function a2(a8,a9){var bc=a8.nodeType;if(bc==1){if(a8.attributes._moz_dirty&&C.is(a8,"br")){return}var a6=C.name(a8);var ba=a3[a6];if(ba){ba.start(a8);aZ(a8);ba.end(a8);return}a4.push("<");a4.push(a6);a0(a8);if(aJ[a6]){a4.push(" />")}else{a4.push(">");aZ(a8,a9||C.is(a8,"pre"));a4.push("")}}else{if(bc==3){var a5=a8.nodeValue;if(!a9&&s.support.leadingWhitespace){var bb=a8.parentNode;var a7=(C.isInline(bb)?bb:a8).previousSibling;if(!a7||a7.innerHTML==""||C.isBlock(a7)){a5=a5.replace(/^[\r\n\v\f\t ]+/,"")}a5=a5.replace(/ +/," ")}a4.push(C.encode(a5))}else{if(bc==4){a4.push("")}else{if(bc==8){if(a8.data.indexOf("[CDATA[")<0){a4.push("")}else{a4.push("")}}}}}}aZ(a1);return a4.join("")}var u=0,ao=1,a=2,R=3;function q(a0){var aZ=a0.startContainer;return aZ.nodeType==9?aZ:aZ.ownerDocument}function D(aZ){return aZ.getSelection?aZ.getSelection():new au(aZ.document)}function aj(a0){var aZ=q(a0);return aX(aZ)}function aX(aZ){return D(ax(aZ))}function ax(aZ){return aZ.defaultView||aZ.parentWindow}function ak(aZ,a0,a2){function a1(a5){var a3=aZ.cloneRange();a3.collapse(a5);a3[a5?"setStartBefore":"setEndAfter"](a0);var a4=a3.extractContents();if(a2){a4=C.trim(a4)}C[a5?"insertBefore":"insertAfter"](a4,a0)}a1(true);a1(false)}function M(a0){var a1=S.image(a0);if(a1){a0.setStartAfter(a1);a0.setEndAfter(a1)}var aZ=aj(a0);aZ.removeAllRanges();aZ.addRange(a0)}function J(aZ){s.extend(this,{ownerDocument:aZ,startContainer:aZ,endContainer:aZ,commonAncestorContainer:aZ,startOffset:0,endOffset:0,collapsed:true})}J.prototype={setStart:function(aZ,a0){this.startContainer=aZ;this.startOffset=a0;v(this);t(this,true)},setEnd:function(aZ,a0){this.endContainer=aZ;this.endOffset=a0;v(this);t(this,false)},setStartBefore:function(aZ){this.setStart(aZ.parentNode,p(aZ))},setStartAfter:function(aZ){this.setStart(aZ.parentNode,p(aZ)+1)},setEndBefore:function(aZ){this.setEnd(aZ.parentNode,p(aZ))},setEndAfter:function(aZ){this.setEnd(aZ.parentNode,p(aZ)+1)},selectNode:function(aZ){this.setStartBefore(aZ);this.setEndAfter(aZ)},selectNodeContents:function(aZ){this.setStart(aZ,0);this.setEnd(aZ,aZ[aZ.nodeType===1?"childNodes":"nodeValue"].length)},collapse:function(aZ){if(aZ){this.setEnd(this.startContainer,this.startOffset)}else{this.setStart(this.endContainer,this.endOffset)}},deleteContents:function(){var a0=this.cloneRange();if(this.startContainer!=this.commonAncestorContainer){this.setStartAfter(az(this.commonAncestorContainer,this.startContainer))}this.collapse(true);(function aZ(a1){while(a1.next()){a1.hasPartialSubtree()?aZ(a1.getSubtreeIterator()):a1.remove()}})(new l(a0))},cloneContents:function(){var aZ=q(this);return(function a0(a3){for(var a2,a1=aZ.createDocumentFragment();a2=a3.next();){a2=a2.cloneNode(!a3.hasPartialSubtree());if(a3.hasPartialSubtree()){a2.appendChild(a0(a3.getSubtreeIterator()))}a1.appendChild(a2)}return a1})(new l(this))},extractContents:function(){var a0=this.cloneRange();if(this.startContainer!=this.commonAncestorContainer){this.setStartAfter(az(this.commonAncestorContainer,this.startContainer))}this.collapse(true);var a1=this;var aZ=q(this);return(function a2(a5){for(var a4,a3=aZ.createDocumentFragment();a4=a5.next();){a5.hasPartialSubtree()?a4=a4.cloneNode(false):a5.remove(a1.originalRange);if(a5.hasPartialSubtree()){a4.appendChild(a2(a5.getSubtreeIterator()))}a3.appendChild(a4)}return a3})(new l(a0))},insertNode:function(aZ){if(ad(this.startContainer)){if(this.startOffset!=this.startContainer.nodeValue.length){at(this.startContainer,this.startOffset)}C.insertAfter(aZ,this.startContainer)}else{C.insertAt(this.startContainer,aZ,this.startOffset)}this.setStart(this.startContainer,this.startOffset)},cloneRange:function(){return s.extend(new J(this.ownerDocument),{startContainer:this.startContainer,endContainer:this.endContainer,commonAncestorContainer:this.commonAncestorContainer,startOffset:this.startOffset,endOffset:this.endOffset,collapsed:this.collapsed,originalRange:this})},toString:function(){var a0=this.startContainer.nodeName,aZ=this.endContainer.nodeName;return[a0=="#text"?this.startContainer.nodeValue:a0,"(",this.startOffset,") : ",aZ=="#text"?this.endContainer.nodeValue:aZ,"(",this.endOffset,")"].join("")}};function m(a1,aZ,a6,a3){if(a1==aZ){return a3-a6}var a5=aZ;while(a5&&a5.parentNode!=a1){a5=a5.parentNode}if(a5){return p(a5)-a6}a5=a1;while(a5&&a5.parentNode!=aZ){a5=a5.parentNode}if(a5){return a3-p(a5)-1}var a4=C.commonAncestor(a1,aZ);var a2=a1;while(a2&&a2.parentNode!=a4){a2=a2.parentNode}if(!a2){a2=a4}var a0=aZ;while(a0&&a0.parentNode!=a4){a0=a0.parentNode}if(!a0){a0=a4}if(a2==a0){return 0}return p(a0)-p(a2)}function t(a0,a1){function aZ(a3){try{return m(a3.startContainer,a3.endContainer,a3.startOffset,a3.endOffset)<0}catch(a2){return true}}if(aZ(a0)){if(a1){a0.commonAncestorContainer=a0.endContainer=a0.startContainer;a0.endOffset=a0.startOffset}else{a0.commonAncestorContainer=a0.startContainer=a0.endContainer;a0.startOffset=a0.endOffset}a0.collapsed=true}}function v(a0){a0.collapsed=a0.startContainer==a0.endContainer&&a0.startOffset==a0.endOffset;var aZ=a0.startContainer;while(aZ&&aZ!=a0.endContainer&&!k(aZ,a0.endContainer)){aZ=aZ.parentNode}a0.commonAncestorContainer=aZ}function aO(aZ){return aZ.createRange?aZ.createRange():new J(aZ)}function l(a0){s.extend(this,{range:a0,_current:null,_next:null,_end:null});if(a0.collapsed){return}var aZ=a0.commonAncestorContainer;this._next=a0.startContainer==aZ&&!ad(a0.startContainer)?a0.startContainer.childNodes[a0.startOffset]:az(aZ,a0.startContainer);this._end=a0.endContainer==aZ&&!ad(a0.endContainer)?a0.endContainer.childNodes[a0.endOffset]:az(aZ,a0.endContainer).nextSibling}l.prototype={hasNext:function(){return !!this._next},next:function(){var aZ=this._current=this._next;this._next=this._current&&this._current.nextSibling!=this._end?this._current.nextSibling:null;if(ad(this._current)){if(this.range.endContainer==this._current){(aZ=aZ.cloneNode(true)).deleteData(this.range.endOffset,aZ.length-this.range.endOffset)}if(this.range.startContainer==this._current){(aZ=aZ.cloneNode(true)).deleteData(0,this.range.startOffset)}}return aZ},traverse:function(a0){function aZ(){this._current=this._next;this._next=this._current&&this._current.nextSibling!=this._end?this._current.nextSibling:null;return this._current}var a1;while(a1=aZ.call(this)){if(this.hasPartialSubtree()){this.getSubtreeIterator().traverse(a0)}else{a0(a1)}}return a1},remove:function(a4){var a3=this.range.startContainer==this._current;var a1=this.range.endContainer==this._current;if(ad(this._current)&&(a3||a1)){var a0=a3?this.range.startOffset:0;var aZ=a1?this.range.endOffset:this._current.length;var a6=aZ-a0;if(a4&&(a3||a1)){if(this._current==a4.startContainer&&a0<=a4.startOffset){a4.startOffset-=a6}if(this._current==a4.endContainer&&aZ<=a4.endOffset){a4.endOffset-=a6}}this._current.deleteData(a0,a6)}else{var a5=this._current.parentNode;if(a4&&(this.range.startContainer==a5||this.range.endContainer==a5)){var a2=p(this._current);if(a5==a4.startContainer&&a2<=a4.startOffset){a4.startOffset-=1}if(a5==a4.endContainer&&a20&&a2.previousSibling);a5.setEndPoint(aZ?"EndToStart":"EndToEnd",a4);var a3=a2.nextSibling;if(!a3){a3=a2.previousSibling;if(a3&&ad(a3)){a0.setEnd(a3,a3.nodeValue.length);C.remove(a2)}else{a0.selectNodeContents(a1);C.remove(a2);a0.endOffset-=1}return}C.remove(a2);if(ad(a3)){a0[aZ?"setStart":"setEnd"](a3,a5.text.length)}else{a0[aZ?"setStartBefore":"setEndBefore"](a3)}}function ah(aZ){this.enumerate=function(){var a1=[];function a0(a2){if(C.is(a2,"img")||(a2.nodeType==3&&!C.isWhitespace(a2))){a1.push(a2)}else{a2=a2.firstChild;while(a2){a0(a2);a2=a2.nextSibling}}}new l(aZ).traverse(a0);return a1}}function j(aZ){return new ah(aZ).enumerate()}function X(a3){var aZ=[];for(var a0=0,a2=a3.length;a0'}a1.selectNodeContents(a5)}}a1.collapse(true)};this.add=function(a0,a2){if(a2&&a0.collapsed){this.addCaret(a0);a0=S.expand(a0)}var a1=a0.cloneRange();a1.collapse(false);this.end=C.create(q(a0),"span",{className:"t-marker"});a1.insertNode(this.end);a1=a0.cloneRange();a1.collapse(true);this.start=this.end.cloneNode(true);a1.insertNode(this.start);a0.setStartBefore(this.start);a0.setEndAfter(this.end);g(a0.commonAncestorContainer);return a0};this.remove=function(a7){var a0=this.start,bc=this.end;g(a7.commonAncestorContainer);while(!a0.nextSibling&&a0.parentNode){a0=a0.parentNode}while(!bc.previousSibling&&bc.parentNode){bc=bc.parentNode}var a2=(a0.previousSibling&&a0.previousSibling.nodeType==3)&&(a0.nextSibling&&a0.nextSibling.nodeType==3);var a8=(bc.previousSibling&&bc.previousSibling.nodeType==3)&&(bc.nextSibling&&bc.nextSibling.nodeType==3);a0=a0.nextSibling;bc=bc.previousSibling;var bb=false;var a5=false;if(a0==this.end){a5=!!this.start.previousSibling;a0=bc=this.start.previousSibling||this.end.nextSibling;bb=true}C.remove(this.start);C.remove(this.end);if(a0==null||bc==null){a7.selectNodeContents(a7.commonAncestorContainer);a7.collapse(true);return}var ba=bb?ad(a0)?a0.nodeValue.length:a0.childNodes.length:0;var a3=ad(bc)?bc.nodeValue.length:bc.childNodes.length;if(a0.nodeType==3){while(a0.previousSibling&&a0.previousSibling.nodeType==3){a0=a0.previousSibling;ba+=a0.nodeValue.length}}if(bc.nodeType==3){while(bc.previousSibling&&bc.previousSibling.nodeType==3){bc=bc.previousSibling;a3+=bc.nodeValue.length}}var a6=p(a0),a9=a0.parentNode;var a4=p(bc),a1=bc.parentNode;for(var be=a0;be.previousSibling;be=be.previousSibling){if(be.nodeType==3&&be.previousSibling.nodeType==3){a6--}}for(var bd=bc;bd.previousSibling;bd=bd.previousSibling){if(bd.nodeType==3&&bd.previousSibling.nodeType==3){a4--}}g(a9);if(a0.nodeType==3){a0=a9.childNodes[a6]}g(a1);if(bc.nodeType==3){bc=a1.childNodes[a4]}if(bb){if(a0.nodeType==3){a7.setStart(a0,ba)}else{a7[a5?"setStartAfter":"setStartBefore"](a0)}a7.collapse(true)}else{if(a0.nodeType==3){a7.setStart(a0,ba)}else{a7.setStartBefore(a0)}if(bc.nodeType==3){a7.setEnd(bc,a3)}else{a7.setEndAfter(bc)}}if(aZ){this.removeCaret(a7)}}}var aq=/[\u0009-\u000d]|\u0020|\u00a0|\ufeff|\.|,|;|:|!|\(|\)|\?/;var S={nodes:function(a0){var aZ=j(a0);if(!aZ.length){a0.selectNodeContents(a0.commonAncestorContainer);aZ=j(a0);if(!aZ.length){aZ=C.significantChildNodes(a0.commonAncestorContainer)}}return aZ},image:function(a0){var aZ=[];new l(a0).traverse(function(a1){if(C.is(a1,"img")){aZ.push(a1)}});if(aZ.length==1){return aZ[0]}},expand:function(a0){var a1=a0.cloneRange();var a4=a1.startContainer.childNodes[a1.startOffset==0?0:a1.startOffset-1];var a5=a1.endContainer.childNodes[a1.endOffset];if(!ad(a4)||!ad(a5)){return a1}var a2=a4.nodeValue;var a3=a5.nodeValue;if(a2==""||a3==""){return a1}var aZ=a2.split("").reverse().join("").search(aq);var a6=a3.search(aq);if(aZ==0||a6==0){return a1}a6=a6==-1?a3.length:a6;aZ=aZ==-1?0:a2.length-aZ;a1.setStart(a4,aZ);a1.setEnd(a5,a6);return a1},isExpandable:function(a0){var a5=a0.startContainer;var a4=q(a0);if(a5==a4||a5==a4.body){return false}var a1=a0.cloneRange();var aZ=a5.nodeValue;if(!aZ){return false}var a2=aZ.substring(0,a1.startOffset);var a3=aZ.substring(a1.startOffset);var a6=0,a7=0;if(a2!=""){a6=a2.split("").reverse().join("").search(aq)}if(a3!=""){a7=a3.search(aq)}return a6!=0&&a7!=0}};function c(a0){var a1=new al(a0.range);var aZ=new aa();this.formatter=a0.formatter;this.getRange=function(){return a1.toRange()};this.lockRange=function(a2){return aZ.add(this.getRange(),a2)};this.releaseRange=function(a2){aZ.remove(a2);M(a2)};this.undo=function(){a1.body.innerHTML=a1.html;M(a1.toRange())};this.redo=function(){this.exec()};this.exec=function(){var a2=this.lockRange(true);this.formatter.editor=this.editor;this.formatter.toggle(a2);this.releaseRange(a2)}}function aU(a1,a0){var aZ=a1.body;this.redo=function(){aZ.innerHTML=a0.html;M(a0.toRange())};this.undo=function(){aZ.innerHTML=a1.html;M(a1.toRange())}}function aP(aZ){c.call(this,aZ);this.managesUndoRedo=true;this.exec=function(){var a1=this.editor;var a0=a1.getRange();var a2=new al(a0);a1.clipboard.paste(aZ.value||"");a1.undoRedoStack.push(new aU(a2,new al(a1.getRange())));a1.focus()}}function w(){V.call(this);this.command=function(aZ){return new aP(aZ)};this.update=function(aZ,a0){aZ.data("tSelectBox").close()};this.init=function(a1,aZ){var a0=aZ.editor;a1.tSelectBox({data:a0.insertHtml,onItemCreate:function(a2){a2.html=''+a2.dataItem.Text+""},onChange:function(a2){V.exec(a0,"insertHtml",a2.value)},highlightFirst:false}).find(".t-input").html(a0.localization.insertHtml)}}function P(){var a0=[],aZ=-1;this.push=function(a1){a0=a0.slice(0,aZ+1);aZ=a0.push(a1)-1};this.undo=function(){if(this.canUndo()){a0[aZ--].undo()}};this.redo=function(){if(this.canRedo()){a0[++aZ].redo()}};this.canUndo=function(){return aZ>=0};this.canRedo=function(){return aZ!=a0.length-1}}function aM(aZ){this.keydown=function(a3){var a2=aZ.keyboard;var a0=a2.isTypingKey(a3);if(a0&&!a2.typingInProgress()){var a1=aZ.getRange();this.startRestorePoint=new al(a1);a2.startTyping(s.proxy(function(){aZ.selectionRestorePoint=this.endRestorePoint=new al(aZ.getRange());aZ.undoRedoStack.push(new aU(this.startRestorePoint,this.endRestorePoint))},this));return true}return false};this.keyup=function(a0){var a1=aZ.keyboard;if(a1.typingInProgress()){a1.endTyping();return true}return false}}function z(a0){var aZ=false;this.createUndoCommand=function(){this.endRestorePoint=new al(a0.getRange());a0.undoRedoStack.push(new aU(this.startRestorePoint,this.endRestorePoint));this.startRestorePoint=this.endRestorePoint};this.changed=function(){if(this.startRestorePoint){return this.startRestorePoint.html!=a0.body.innerHTML}return false};this.keydown=function(a1){var a2=a0.keyboard;if(a2.isModifierKey(a1)){if(a2.typingInProgress()){a2.endTyping(true)}this.startRestorePoint=new al(a0.getRange());return true}if(a2.isSystem(a1)){aZ=true;if(this.changed()){aZ=false;this.createUndoCommand()}return true}return false};this.keyup=function(a1){if(aZ&&this.changed()){aZ=false;this.createUndoCommand(a1);return true}return false}}function aF(a0){var a2=false;var a5;var a1;function aZ(a6){return(a6>=48&&a6<=90)||(a6>=96&&a6<=111)||(a6>=186&&a6<=192)||(a6>=219&&a6<=222)}this.toolFromShortcut=function(a8,ba){var a7=String.fromCharCode(ba.keyCode);for(var a9 in a8){var a6=a8[a9];if((a6.key==a7||a6.key==ba.keyCode)&&!!a6.ctrl==ba.ctrlKey&&!!a6.alt==ba.altKey&&!!a6.shift==ba.shiftKey){return a9}}};this.isTypingKey=function(a7){var a6=a7.keyCode;return(aZ(a6)&&!a7.ctrlKey&&!a7.altKey)||a6==32||a6==13||a6==8||(a6==46&&!a7.shiftKey&&!a7.ctrlKey&&!a7.altKey)};this.isModifierKey=function(a7){var a6=a7.keyCode;return(a6==17&&!a7.shiftKey&&!a7.altKey)||(a6==16&&!a7.ctrlKey&&!a7.altKey)||(a6==18&&!a7.ctrlKey&&!a7.shiftKey)};this.isSystem=function(a6){return a6.keyCode==46&&a6.ctrlKey&&!a6.altKey&&!a6.shiftKey};this.startTyping=function(a6){a1=a6;a2=true};function a3(){a2=false;a1()}this.endTyping=function(a6){this.clearTimeout();if(a6){a3()}else{a5=window.setTimeout(a3,1000)}};this.typingInProgress=function(){return a2};this.clearTimeout=function(){window.clearTimeout(a5)};function a4(a8,a7){for(var a6=0;a6$/g,"li>");var a5=aZ(a8);var a7=a3.getRange();a7.deleteContents();if(a7.startContainer==a3.document){a7.selectNodeContents(a3.body)}var a9=new aa();var bc=a9.addCaret(a7);var bb=a1(a5,bc);var ba=false;if(!/body|td/.test(C.name(bb))&&(a5||C.isInline(bb))){a7.selectNode(bc);ak(a7,bb,true);ba=true}var bd=a0(a8);a7.insertNode(bd);bb=a1(a5,bc);if(ba){while(bc.parentNode!=bb){C.unwrap(bc.parentNode)}C.unwrap(bc.parentNode)}g(a7.commonAncestorContainer);bc.style.display="inline";C.scrollTo(bc);a9.removeCaret(a7);M(a7)}}function f(){var aZ=[//g,"",/mso-[^;"]*;?/ig,"",/<\/?(meta|link|style|o:|v:)[^>]*>((?:.|\n)*?<\/(meta|link|style|o:|v:)[^>]*>)?/ig,""];this.applicable=function(a2){return/class="?Mso|style="[^"]*mso-/i.test(a2)};function a0(a2){if(/^[\u2022\u00b7\u00a7\u00d8o\-]\u00a0+/.test(a2)){return"ul"}if(/^\s*\w+[\.\)]\u00a0{2,}/.test(a2)){return"ol"}}function a1(bf){var a7=C.create(document,"div",{innerHTML:bf});var be=s(G.join(","),a7);var a9=-1,a4,bd={ul:{},ol:{}},a2=a7;for(var ba=0;ba]*>/g,"").replace(/ /g,"\u00a0");var a8=a0(bf);if(!a8||C.name(a5)!="p"){if(a5.innerHTML==""){C.remove(a5)}else{bd={ul:{},ol:{}};a2=a7;a9=-1}continue}var bb=parseFloat(a5.style.marginLeft||0);var bc=bd[a8][bb];if(bb>a9||!bc){bc=C.create(document,a8);if(a2==a7){C.insertBefore(bc,a5)}else{a2.appendChild(bc)}bd[a8][bb]=bc}if(a4!=a8){for(var a6 in bd){for(var a3 in bd[a6]){if(s.contains(bc,bd[a6][a3])){delete bd[a6][a3]}}}}C.remove(a5.firstChild);a2=C.create(document,"li",{innerHTML:a5.innerHTML});bc.appendChild(a2);C.remove(a5);a9=bb;a4=a8}return a7.innerHTML}this.clean=function(a3){for(var a2=0,a4=aZ.length;a2]*"?/ig,"");return a3}}function i(aZ){function a0(a3){var a1=0;for(var a2=a3.parentNode.firstChild;a2;a2=a2.nextSibling){if(a2!=a3&&a2.className!="t-marker"&&a2.nodeType==1){a1++}}return a1}this.findSuitable=function(a2,a1){if(!a1&&a0(a2)>0){return null}return C.parentOfType(a2,aZ[0].tags)};this.findFormat=function(a5){for(var a1=0;a10){this.activate(a5,a4)}};this.apply=function(a7){var a6=[];for(var a4=0,a5=a7.length;a40){for(var a4=0,a7=a8.length;a41){var a4=a6.pop();var a5=a6[a6.length-1];if(a4.previousSibling&&a4.previousSibling.className=="t-marker"){a5.appendChild(a4.previousSibling)}if(a4.previousSibling==a5&&a4.style.cssText==a5.style.cssText){while(a4.firstChild){a5.appendChild(a4.firstChild)}C.remove(a4)}}}}function aY(a0,aZ){i.call(this,a0);function a1(a5){var bg=a5.attributes,bd=s.trim;if(!bg){return}for(var a4=0,bb=bg.length;a4=0?C.toHex(a3):a3}}}}return}function a2(a7){var a8=s(ad(a7)?a7.parentNode:a7);var a6=a8.parents().andSelf();for(var a4=0,a5=a6.length;a4'+a7.dataItem.Text+""}}}function aW(a1){V.call(this,a1);var a0=[{tags:["span"]}],aZ=new aY(a0,a1.cssAttr);this.update=function(a2){a2.data("tColorPicker").close()};this.command=function(a2){return new aG(s.extend(a2,{formatter:function(){var a3={};a3[a1.domAttr]=a2.value;return new E(a0,{style:a3},a1.cssAttr)}}))};this.willDelayExecution=ab;this.init=function(a4,a2){var a3=a2.editor;a4.tColorPicker({selectedColor:"#000000",onChange:function(a5){V.exec(a3,a1.name,a5.value)}})}}function Z(){V.call(this);var a0=[{tags:["span"]}],aZ=new aY(a0,"className");this.command=function(a1){return new aG(s.extend(a1,{formatter:function(){return new E(a0,{className:a1.value})}}))};this.update=function(a1,a3){var a2=a1.data("tSelectBox");a2.close();a2.value(aZ.getFormat(a3))};this.init=function(a3,a1){var a2=a1.editor;a3.tSelectBox({data:a2.style,title:a2.localization.style,onItemCreate:function(a4){var a5=C.inlineStyle(a2.document,"span",{className:a4.dataItem.Value});a4.html=''+a4.html+""},onChange:function(a4){V.exec(a2,"style",a4.value)}})}}function x(a0){function aZ(a3,a4){for(var a1=0;a1'+a4.dataItem.Text+""},onChange:function(a3){V.exec(a1,"formatBlock",a3.value)},highlightFirst:false})}}function aQ(aZ){c.call(this,aZ);this.exec=function(){var a2=this.getRange(),bc=q(a2),a5,ba=s.browser.msie?"":'
    ';var a4="p,h1,h2,h3,h4,h5,h6".split(","),bd=C.parentOfType(a2.startContainer,a4),a0=C.parentOfType(a2.endContainer,a4),a1=(bd&&!a0)||(!bd&&a0);a2.deleteContents();var bb=C.create(bc,"a");a2.insertNode(bb);g(bb.parentNode);var a3=C.parentOfType(bb,["li"]),be=C.parentOfType(bb,"h1,h2,h3,h4,h5,h6".split(","));if(a3){var a7=a2.cloneRange();a7.selectNode(a3);if(j(a7).length==0){var bf=C.create(bc,"p");if(a3.nextSibling){ak(a7,a3.parentNode)}C.insertAfter(bf,a3.parentNode);C.remove(a3.parentNode.childNodes.length==1?a3.parentNode:a3);bf.innerHTML=ba;a5=bf}}else{if(be&&!bb.nextSibling){var bf=C.create(bc,"p");C.insertAfter(bf,be);bf.innerHTML=ba;C.remove(bb);a5=bf}}if(!a5){if(!(a3||be)){new U([{tags:["p"]}]).apply([bb])}a2.selectNode(bb);var a6=C.parentOfType(bb,[a3?"li":be?C.name(be):"p"]);ak(a2,a6,a1);var a8=a6.previousSibling;if(C.is(a8,"li")&&a8.firstChild&&!C.is(a8.firstChild,"br")){a8=a8.firstChild}a5=a6.nextSibling;if(C.is(a5,"li")&&a5.firstChild&&!C.is(a5.firstChild,"br")){a5=a5.firstChild}C.remove(a6);function a9(bg){if(bg.firstChild&&C.is(bg.firstChild,"br")){C.remove(bg.firstChild)}if(ad(bg)&&bg.nodeValue==""){bg=bg.parentNode}if(bg&&!C.is(bg,"img")&&bg.innerHTML==""){bg.innerHTML=ba}}a9(a8);a9(a5);g(a8)}g(a5);if(!C.is(a5,"img")){a2.selectNodeContents(a5)}else{a2.setStartBefore(a5)}a2.collapse(true);C.scrollTo(a5);M(a2)}}function d(aZ){c.call(this,aZ);this.exec=function(){var a1=this.getRange();a1.deleteContents();var a0=C.create(q(a1),"br");a1.insertNode(a0);a0.parentNode.normalize();if(!s.browser.msie&&(!a0.nextSibling||C.isWhitespace(a0.nextSibling))){var a2=a0.cloneNode(true);a2.setAttribute("_moz_dirty","");C.insertAfter(a2,a0)}a1.setStartAfter(a0);a1.collapse(true);M(a1)}}function an(a0){var aZ=[a0=="ul"?"ol":"ul",a0];x.call(this,[{tags:aZ}]);this.isFormatted=function(a4){var a1=[],a2;for(var a3=0;a31){C.insertAfter(a2[a2.length-1],a3);C.insertAfter(a2[1],a3);C[a1.length>0?"insertBefore":"insertAfter"](a2[0],a3)}}else{var a4=new b([{tags:["a"]}],a5);a4.finder=this.finder;a4.apply(a1)}}}function am(aZ){aZ.formatter={toggle:function(a0){new b([{tags:["a"]}]).remove(j(a0))}};c.call(this,aZ)}function Y(a0){c.call(this,a0);var aZ;this.async=true;var a1=new aV();this.exec=function(){var a6=this.getRange();var a4=a6.collapsed;a6=this.lockRange(true);var a9=j(a6);var a8=null;var a3=this;function ba(bg){var bf=s("#t-editor-link-url",a7.element).val();if(bf&&bf!="http://"){aZ={href:bf};var bc=s("#t-editor-link-title",a7.element).val();if(bc){aZ.title=bc}var bd=s("#t-editor-link-text",a7.element).val();if(bd!==a8){aZ.innerHTML=bd}var be=s("#t-editor-link-target",a7.element).is(":checked");if(be){aZ.target="_blank"}a1.apply(a6,aZ)}a5(bg);if(a3.change){a3.change()}}function a5(bc){bc.preventDefault();a7.destroy();ax(q(a6)).focus();a3.releaseRange(a6)}var bb=a9.length?a1.finder.findSuitable(a9[0]):null;var a2=a9.length<=1||(a9.length==2&&a4);var a7=ap.window.create(s.extend({},this.editor.dialogOptions,{title:"Insert link",html:new s.telerik.stringBuilder().cat('
    ').cat("
      ").cat('
    1. ').catIf('
    2. ',a2).cat('
    3. ').cat('
    4. ').cat("
    ").cat('
    ').cat('').cat(" or ").cat('Close').cat("
    ").cat("
    ").string(),onClose:a5})).hide().find(".t-dialog-insert").click(ba).end().find(".t-dialog-close").click(a5).end().find(".t-form-text-row input").keydown(function(bc){if(bc.keyCode==13){ba(bc)}else{if(bc.keyCode==27){a5(bc)}}}).end().find("#t-editor-link-url").val(bb?bb.getAttribute("href",2):"http://").end().find("#t-editor-link-text").val(a9.length>0?(a9.length==1?a9[0].nodeValue:a9[0].nodeValue+a9[1].nodeValue):"").end().find("#t-editor-link-title").val(bb?bb.title:"").end().find("#t-editor-link-target").attr("checked",bb?bb.target=="_blank":false).end().show().data("tWindow").center();if(a2&&a9.length>0){a8=s("#t-editor-link-text",a7.element).val()}s("#t-editor-link-url",a7.element).focus().select()},this.redo=function(){var a2=this.lockRange(true);a1.apply(a2,aZ);this.releaseRange(a2)}}function aR(a0){V.call(this,s.extend(a0,{command:am}));var aZ=new i([{tags:["a"]}]);this.init=function(a1){a1.attr("unselectable","on").addClass("t-state-disabled")};this.update=function(a1,a2){a1.toggleClass("t-state-disabled",!aZ.isFormatted(a2)).removeClass("t-state-hover")}}function aL(a0){c.call(this,a0);this.async=true;var aZ;function a1(a2,a3){if(aZ.src&&aZ.src!="http://"){if(!a2){a2=C.create(q(a3),"img",aZ);a2.onload=a2.onerror=function(){a2.removeAttribute("complete");a2.removeAttribute("width");a2.removeAttribute("height")};a3.deleteContents();a3.insertNode(a2);a3.setStartAfter(a2);a3.setEndAfter(a2);M(a3);return true}else{C.attr(a2,aZ)}}return false}this.redo=function(){var a2=this.lockRange();if(!a1(S.image(a2),a2)){this.releaseRange(a2)}};this.exec=function(){var a5=this.lockRange();var a2=false;var a7=S.image(a5);var a3=this;function a8(a9){aZ={src:s("#t-editor-image-url",a6.element).val(),alt:s("#t-editor-image-title",a6.element).val()};a2=a1(a7,a5);a4(a9);if(a3.change){a3.change()}}function a4(a9){a9.preventDefault();a6.destroy();ax(q(a5)).focus();if(!a2){a3.releaseRange(a5)}}var a6=ap.window.create(s.extend({},this.editor.dialogOptions,{title:"Insert image",html:new s.telerik.stringBuilder().cat('
    ').cat("
      ").cat('
    1. ').cat('
    2. ').cat("
    ").cat('
    ').cat('').cat(" or ").cat('Close').cat("
    ").cat("
    ").string(),onClose:a4})).hide().find(".t-dialog-insert").click(a8).end().find(".t-dialog-close").click(a4).end().find(".t-form-text-row input").keydown(function(a9){if(a9.keyCode==13){a8(a9)}else{if(a9.keyCode==27){a4(a9)}}}).end().find("#t-editor-image-url").val(a7?a7.getAttribute("src",2):"http://").end().find("#t-editor-image-title").val(a7?a7.alt:"").end().show().data("tWindow").center();s("#t-editor-image-url",a6.element).focus().select()}}ap.selectbox=function(aZ,a0){var a7;var a1=s(aZ);var a3=a1.find(".t-input");var a4=this.dropDown=new ap.dropDown({effects:ap.fx.slide.defaults(),onItemCreate:a0.onItemCreate,onClick:function(a8){a6(a0.data[s(a8.item).index()].Value);a0.onChange({value:a7})}});function a2(){if(!a4.$items){a4.dataBind(a0.data)}}function a5(a8){a3.html(a8?a8:" ")}function a6(ba){a2();var a9=-1;for(var a8=0,bb=a0.data.length;a80?"rtl":"");s(document.documentElement).bind("mousedown",s.proxy(function(ba){var a8=a4.$element;var a9=a8&&a8.parent().length>0;if(a9&&!s.contains(aZ,ba.target)&&!s.contains(a8.parent()[0],ba.target)){a4.close()}},this))};s.fn.tSelectBox=function(aZ){return ap.create(this,{name:"tSelectBox",init:function(a0,a1){return new ap.selectbox(a0,a1)},options:aZ})};s.fn.tSelectBox.defaults={effects:s.fn.tDropDownList.defaults.effects};ap.colorpicker=function(aZ,a0){this.element=aZ;var a1=s(aZ);s.extend(this,a0);a1.bind("click",s.proxy(this.click,this)).find("*").attr("unselectable","on");if(this.selectedColor){a1.find(".t-selected-color").css("background-color",this.selectedColor)}s(aZ.ownerDocument.documentElement).bind("mousedown",s.proxy(function(a2){if(!s(a2.target).closest(".t-colorpicker-popup").length){this.close()}},this));ap.bind(this,{change:this.onChange,load:this.onLoad})};ap.colorpicker.prototype={select:function(aZ){if(aZ){aZ=C.toHex(aZ);if(!ap.trigger(this.element,"change",{value:aZ})){this.value(aZ);this.close()}}else{ap.trigger(this.element,"change",{value:this.selectedColor})}},open:function(){var aZ=this.popup();var a2=s(this.element);var a1=a2.offset();a1.top+=a2.outerHeight();if(a2.closest(".t-rtl").length){a1.left-=aZ.outerWidth()-a2.outerWidth()}var a0="auto";a2.parents().andSelf().each(function(){a0=s(this).css("zIndex");if(Number(a0)){a0=Number(a0)+1;return false}});ap.fx._wrap(aZ).css(s.extend({position:"absolute",zIndex:a0},a1));aZ.find(".t-item").bind("click",s.proxy(function(a4){var a3=s(a4.target,a4.target.ownerDocument).css("background-color");this.select(a3)},this));ap.fx.play(this.effects,aZ,{direction:"bottom"})},close:function(){if(!this.$popup){return}ap.fx.rewind(this.effects,this.$popup,{direction:"bottom"},s.proxy(function(){C.remove(this.$popup[0].parentNode);this.$popup=null},this))},toggle:function(){if(!this.$popup||!this.$popup.is(":visible")){this.open()}else{this.close()}},click:function(aZ){if(s(aZ.target).closest(".t-tool-icon").length>0){this.select()}else{this.toggle()}},value:function(aZ){if(!aZ){return this.selectedColor}aZ=C.toHex(aZ);this.selectedColor=aZ;s(".t-selected-color",this.element).css("background-color",aZ)},popup:function(){if(!this.$popup){this.$popup=s(ap.colorpicker.buildPopup(this)).hide().appendTo(document.body).find("*").attr("unselectable","on").end()}return this.$popup}};s.extend(ap.colorpicker,{buildPopup:function(aZ){var a2=new ap.stringBuilder();a2.cat('
    ').cat('
      ');var a4=aZ.data;var a1=(aZ.value()||"").substring(1);for(var a0=0,a3=a4.length;a0')}a2.cat("
    ");return a2.string()}});s.fn.tColorPicker=function(aZ){return ap.create(this,{name:"tColorPicker",init:function(a0,a1){return new ap.colorpicker(a0,a1)},options:aZ})};s.fn.tColorPicker.defaults={data:"000000,7f7f7f,880015,ed1c24,ff7f27,fff200,22b14c,00a2e8,3f48cc,a349a4,ffffff,c3c3c3,b97a57,ffaec9,ffc90e,efe4b0,b5e61d,99d9ea,7092be,c8bfe7".split(","),selectedColor:null,effects:s.fn.tDropDownList.defaults.effects};function aT(){var a0=new x([{tags:G}]);function aZ(a1){return a1.style.marginLeft||0}this.apply=function(a6){var a4=a0.findSuitable(a6);if(a4.length){var a3=[];for(var a2=0;a2ul")[0];if(!a9){a9=C.create(a7.ownerDocument,C.name(ba));a5.append(a9)}while(a7&&a7.parentNode==ba){a9.appendChild(a7);a7=a3.shift()}}else{var a1=parseInt(aZ(a7))+30;C.style(a7,{marginLeft:a1})}}}else{var a8=new U([{tags:G}],{style:{marginLeft:30}});a8.apply(a6)}};this.remove=function(a3){var a5=a0.findSuitable(a3);for(var a1=0;a11)||(C.ofType(a2[a1],["ul","ol"])&&a5>0)}if(a3){a0.removeClass("t-state-disabled");return}}a0.addClass("t-state-disabled").removeClass("t-state-hover")}}function aC(aZ){this.editor=aZ;this.formats=[]}aC.prototype={apply:function(a3){if(!this.hasPending()){return}var a2=new aa();a2.addCaret(a3);var aZ=a3.startContainer.childNodes[a3.startOffset];var a5=aZ.previousSibling;if(!a5.nodeValue){a5=a5.previousSibling}a3.setStart(a5,a5.nodeValue.length-1);a2.add(a3);if(j(a3).length==0){a2.remove(a3);a3.collapse(true);this.editor.selectRange(a3);return}var a1=a2.end.previousSibling.previousSibling;var a7,a4=this.formats;for(var a0=0;a00},isPending:function(aZ){return !!this.getPending(aZ)},getPending:function(a0){var a1=this.formats;for(var aZ=0;aZ",{src:'javascript:""',frameBorder:"0",className:"t-content"}).css("display","").insertBefore(aZ)[0];var a0=a3.contentWindow||a3;var a2=a0.document||a3.contentDocument;var a1=aZ.val().replace(/(<\/?img[^>]*>)[\r\n\v\f\t ]+/ig,"$1");if(!a1.length&&s.browser.mozilla){a1='
    '}a2.designMode="On";a2.open();a2.write(new ap.stringBuilder().cat("").cat('').cat('").cat(s.map(a4,function(a5){return[''].join("")}).join("")).cat('').cat(a1).cat("").string());a2.close();return a0}function T(aZ){ap.trigger(aZ.element,"selectionChange")}ap.editor=function(a2,a9){if(/Mobile.*Safari/.test(navigator.userAgent)){return}var bb=this;this.element=a2;var a1=s(a2);a1.closest("form").bind("submit",function(){bb.update()});s.extend(this,a9);ap.bind(this,{load:this.onLoad,selectionChange:this.onSelectionChange,change:this.onChange,execute:this.onExecute});for(var a7 in this.tools){this.tools[a7].name=a7.toLowerCase()}this.textarea=a1.find("textarea").attr("autocomplete","off")[0];this.window=av(s(this.textarea),this.stylesheets);this.document=this.window.contentDocument||this.window.document;this.body=this.document.body;this.keyboard=new aF([new aM(this),new z(this)]);this.clipboard=new ay(this);this.pendingFormats=new aC(this);this.undoRedoStack=new P();function a3(bc){var bd=s.grep(bc.className.split(" "),function(be){return !/^t-(widget|tool-icon|state-hover|header|combobox|dropdown|selectbox|colorpicker)$/i.test(be)});return bd[0]?bd[0].substring(2):"custom"}function a6(bd,bc){if(!bc.key){return bd}return new ap.stringBuilder().cat(bd).cat(" (").catIf("Ctrl + ",bc.ctrl).catIf("Shift + ",bc.shift).catIf("Alt + ",bc.alt).cat(bc.key).cat(")").string()}s(this.window).bind("blur",function(){var bc=bb.textarea.value,bd=bb.encodedValue();bb.update(bd);if(bd!=bc){ap.trigger(bb.element,"change")}});var a8=".t-editor-toolbar > li > *",ba=".t-editor-button .t-tool-icon",a5=ba+":not(.t-state-disabled)",a0=ba+".t-state-disabled";a1.delegate(a5,"mouseenter",ap.hover).delegate(a5,"mouseleave",ap.leave).delegate(ba,"mousedown",ap.preventDefault).delegate(a5,"click",ap.stopAll(function(bc){bb.focus();bb.exec(a3(this))})).delegate(a0,"click",function(bc){bc.preventDefault()}).find(a8).each(function(){var bg=a3(this),bd=bb.tools[bg],bf=bb.localization[bg],be=s(this);if(!bd){return}if(bg=="fontSize"||bg=="fontName"){var bc=bb.localization[bg+"Inherit"]||aN[bg+"Inherit"];bb[bg][0].Text=bc;be.find("input").val(bc).end().find("span.t-input").text(bc).end()}bd.init(be,{title:a6(bf,bd),editor:bb})}).end().bind("selectionChange",function(){var bd=bb.getRange();bb.selectionRestorePoint=new al(bd);var bc=j(bd);if(!bc.length){bc=[bd.startContainer]}a1.find(a8).each(function(){var be=bb.tools[a3(this)];if(be){be.update(s(this),bc,bb.pendingFormats)}})});s(document).bind("DOMNodeInserted",function(bc){if(s.contains(bc.target,bb.element)||bb.element==bc.target){s(bb.element).find("iframe").remove();bb.window=av(s(bb.textarea),bb.stylesheets);bb.document=bb.window.contentDocument||bb.window.document;bb.body=bb.document.body}});var a4=true,aZ;s(this.document).bind({keydown:function(be){var bc=bb.keyboard.toolFromShortcut(bb.tools,be);if(bc){be.preventDefault();bb.exec(bc);return false}if(bb.keyboard.isTypingKey(be)&&bb.pendingFormats.hasPending()){if(a4){a4=false}else{var bd=bb.getRange();bb.pendingFormats.apply(bd);bb.selectRange(bd)}}bb.keyboard.clearTimeout();bb.keyboard.keydown(be)},keyup:function(be){var bd=[8,9,33,34,35,36,37,38,39,40,40,45,46];if(s.browser.mozilla&&be.keyCode==8){aH(bb,be)}if(s.inArray(be.keyCode,bd)>-1){bb.pendingFormats.clear();T(bb)}if(bb.keyboard.isTypingKey(be)){var bc=bb.getRange();bb.pendingFormats.apply(bc);bb.selectRange(bc)}else{a4=true}bb.keyboard.keyup(be)},mousedown:function(bc){bb.pendingFormats.clear();var bd=s(bc.target);if(!s.browser.gecko&&bc.which==2&&bd.is("a[href]")){window.open(bd.attr("href"),"_new")}},mouseup:function(){T(bb)}});s(this.body).bind("focusout",function(bc){if(bb.keyboard.typingInProgress()){bb.keyboard.endTyping(true)}if(!bb.selectionRestorePoint){bb.selectionRestorePoint=new al(bb.getRange())}}).bind("cut paste",function(bc){bb.clipboard["on"+bc.type](bc)})};function aH(aZ,a2){var a0=aZ.getRange(),a3=a0.startContainer;if(a3==aZ.body.firstChild||!C.isBlock(a3)||(a3.childNodes.length>0&&!(a3.childNodes.length==1&&C.is(a3.firstChild,"br")))){return}var a5=a3.previousSibling;while(a5&&!C.isBlock(a5)){a5=a5.previousSibling}if(!a5){return}var a4=aZ.document.createTreeWalker(a5,NodeFilter.SHOW_TEXT,null,false);var a1;while(a1=a4.nextNode()){a5=a1}a0.setStart(a5,ad(a5)?a5.nodeValue.length:0);a0.collapse(true);M(a0);C.remove(a3);a2.preventDefault()}s.extend(ap.editor,{BlockFormatFinder:x,BlockFormatter:U,Dom:C,FormatCommand:aG,GenericCommand:aU,GreedyBlockFormatter:ar,GreedyInlineFormatFinder:aY,GreedyInlineFormatter:E,ImageCommand:aL,IndentCommand:o,IndentFormatter:aT,InlineFormatFinder:i,InlineFormatter:b,InsertHtmlCommand:aP,Keyboard:aF,LinkCommand:Y,LinkFormatFinder:H,LinkFormatter:aV,ListCommand:aw,ListFormatFinder:an,ListFormatter:I,MSWordFormatCleaner:f,Marker:aa,NewLineCommand:d,OutdentCommand:Q,ParagraphCommand:aQ,PendingFormats:aC,RangeEnumerator:ah,RangeUtils:S,RestorePoint:al,SystemHandler:z,TypingHandler:aM,UndoRedoStack:P,UnlinkCommand:am});ap.editor.prototype={value:function(a1){var aZ=this.body;if(a1===undefined){return B(aZ)}this.pendingFormats.clear();a1=a1.replace(//g,"");a1=a1.replace(/]*)>(.*)?<\/script>/ig,"$2");if(s.browser.mozilla){a1=a1.replace(/]*)>(\s*)?<\/p>/ig,'


    ')}if(s.browser.msie){a1="
    "+a1;var a2="originalsrc",a0="originalhref";a1=a1.replace(/href\s*=\s*(?:'|")?([^'">\s]*)(?:'|")?/,a0+'="$1"');a1=a1.replace(/src\s*=\s*(?:'|")?([^'">\s]*)(?:'|")?/,a2+'="$1"');aZ.innerHTML=a1;C.remove(aZ.firstChild);s(aZ).find("telerik\\:script,script,link,img,a").each(function(){var a3=this;if(a3[a0]){a3.setAttribute("href",a3[a0]);a3.removeAttribute(a0)}if(a3[a2]){a3.setAttribute("src",a3[a2]);a3.removeAttribute(a2)}})}else{aZ.innerHTML=a1}this.update()},focus:function(){this.window.focus()},update:function(aZ){this.textarea.value=aZ||this.encoded?this.encodedValue():this.value()},encodedValue:function(){return C.encode(this.value())},createRange:function(aZ){return aO(aZ||this.document)},getSelection:function(){return aX(this.document)},selectRange:function(a0){var aZ=this.getSelection();aZ.removeAllRanges();aZ.addRange(a0)},getRange:function(){var aZ=this.getSelection();return aZ.rangeCount>0?aZ.getRangeAt(0):this.createRange()},selectedHtml:function(){return B(this.getRange().cloneContents())},paste:function(aZ){this.clipboard.paste(aZ)},exec:function(a2,aZ){a2=a2.toLowerCase();var a4="";for(var a1 in this.tools){if(a1.toLowerCase()==a2){a4=this.tools[a1];break}}if(a4){var a0=this.getRange();if(!/undo|redo/i.test(a2)&&a4.willDelayExecution(a0)){this.pendingFormats.toggle({name:a2,params:aZ,command:a4.command});T(this);return}var a3=a4.command?a4.command(s.extend({range:a0},aZ)):null;ap.trigger(this.element,"execute",{name:a2,command:a3});if(/undo|redo/i.test(a2)){this.undoRedoStack[a2]()}else{if(a3){if(!a3.managesUndoRedo){this.undoRedoStack.push(a3)}a3.editor=this;a3.exec();if(a3.async){a3.change=s.proxy(function(){T(this)},this);return}}}T(this)}}};s.fn.tEditor=function(aZ){return ap.create(this,{name:"tEditor",init:function(a0,a1){return new ap.editor(a0,a1)},options:aZ})};var ai={bold:[{tags:["strong"]},{tags:["span"],attr:{style:{fontWeight:"bold"}}}],italic:[{tags:["em"]},{tags:["span"],attr:{style:{fontStyle:"italic"}}}],underline:[{tags:["span"],attr:{style:{textDecoration:"underline"}}}],strikethrough:[{tags:["del"]},{tags:["span"],attr:{style:{textDecoration:"line-through"}}}],justifyLeft:[{tags:G,attr:{style:{textAlign:"left"}}},{tags:["img"],attr:{style:{"float":"left"}}}],justifyCenter:[{tags:G,attr:{style:{textAlign:"center"}}},{tags:["img"],attr:{style:{display:"block",marginLeft:"auto",marginRight:"auto"}}}],justifyRight:[{tags:G,attr:{style:{textAlign:"right"}}},{tags:["img"],attr:{style:{"float":"right"}}}],justifyFull:[{tags:G,attr:{style:{textAlign:"justify"}}}]};function ac(a1,a0){for(var aZ=0;aZ=0){return a0[aZ]}}}function V(aZ){s.extend(this,aZ);this.init=function(a0,a1){a0.attr({unselectable:"on",title:a1.title})};this.command=function(a0){return new aZ.command(a0)};this.update=function(){};this.willDelayExecution=function(){return false}}V.exec=function(a0,a1,aZ){a0.focus();if(a0.selectionRestorePoint){a0.selectRange(a0.selectionRestorePoint.toRange());a0.selectionRestorePoint=null}a0.exec(a1,{value:aZ})};function ag(aZ){V.call(this,aZ);this.command=function(a0){return new aG(s.extend(a0,{formatter:aZ.formatter}))};this.update=function(a0,a4,a2){var a1=a2.isPending(this.name),a3=aZ.finder.isFormatted(a4),a5=a1?!a3:a3;a0.toggleClass("t-state-active",a5)}}var O=function(){return{isFormatted:function(){return false}}};var aN={bold:"Bold",italic:"Italic",underline:"Underline",strikethrough:"Strikethrough",justifyCenter:"Center text",justifyLeft:"Align text left",justifyRight:"Align text right",justifyFull:"Justify",insertUnorderedList:"Insert unordered list",insertOrderedList:"Insert ordered list",indent:"Indent",outdent:"Outdent",createLink:"Insert hyperlink",unlink:"Remove hyperlink",insertImage:"Insert image",insertHtml:"Insert HTML",fontName:"Select font family",fontNameInherit:"(inherited font)",fontSize:"Select font size",fontSizeInherit:"(inherited size)",formatBlock:"Format",style:"Styles"};s.fn.tEditor.defaults={localization:aN,formats:ai,encoded:true,stylesheets:[],dialogOptions:{modal:true,resizable:false,draggable:true,effects:{list:[{name:"toggle"}]}},fontName:[{Text:aN.fontNameInherit,Value:"inherit"},{Text:"Arial",Value:"Arial,Helvetica,sans-serif"},{Text:"Courier New",Value:"'Courier New',Courier,monospace"},{Text:"Georgia",Value:"Georgia,serif"},{Text:"Impact",Value:"Impact,Charcoal,sans-serif"},{Text:"Lucida Console",Value:"'Lucida Console',Monaco,monospace"},{Text:"Tahoma",Value:"Tahoma,Geneva,sans-serif"},{Text:"Times New Roman",Value:"'Times New Roman',Times,serif"},{Text:"Trebuchet MS",Value:"'Trebuchet MS',Helvetica,sans-serif"},{Text:"Verdana",Value:"Verdana,Geneva,sans-serif"}],fontSize:[{Text:aN.fontSizeInherit,Value:"inherit"},{Text:"1 (8pt)",Value:"xx-small"},{Text:"2 (10pt)",Value:"x-small"},{Text:"3 (12pt)",Value:"small"},{Text:"4 (14pt)",Value:"medium"},{Text:"5 (18pt)",Value:"large"},{Text:"6 (24pt)",Value:"x-large"},{Text:"7 (36pt)",Value:"xx-large"}],formatBlock:[{Text:"Paragraph",Value:"p"},{Text:"Quotation",Value:"blockquote"},{Text:"Heading 1",Value:"h1"},{Text:"Heading 2",Value:"h2"},{Text:"Heading 3",Value:"h3"},{Text:"Heading 4",Value:"h4"},{Text:"Heading 5",Value:"h5"},{Text:"Heading 6",Value:"h6"}],tools:{bold:new W({key:"B",ctrl:true,format:ai.bold}),italic:new W({key:"I",ctrl:true,format:ai.italic}),underline:new W({key:"U",ctrl:true,format:ai.underline}),strikethrough:new W({format:ai.strikethrough}),undo:{key:"Z",ctrl:true},redo:{key:"Y",ctrl:true},insertLineBreak:new V({key:13,shift:true,command:d}),insertParagraph:new V({key:13,command:aQ}),justifyCenter:new N({format:ai.justifyCenter}),justifyLeft:new N({format:ai.justifyLeft}),justifyRight:new N({format:ai.justifyRight}),justifyFull:new N({format:ai.justifyFull}),insertUnorderedList:new aK({tag:"ul"}),insertOrderedList:new aK({tag:"ol"}),createLink:new V({key:"K",ctrl:true,command:Y}),unlink:new aR({key:"K",ctrl:true,shift:true}),insertImage:new V({command:aL}),indent:new V({command:o}),outdent:new ae(),insertHtml:new w(),style:new Z(),fontName:new aA({cssAttr:"font-family",domAttr:"fontFamily",name:"fontName"}),fontSize:new aA({cssAttr:"font-size",domAttr:"fontSize",name:"fontSize"}),formatBlock:new n(),foreColor:new aW({cssAttr:"color",domAttr:"color",name:"foreColor"}),backColor:new aW({cssAttr:"background-color",domAttr:"backgroundColor",name:"backColor"})}}})(jQuery); \ No newline at end of file diff --git a/NzbDrone.Web/Scripts/2010.3.1318/telerik.grid.editing.min.js b/NzbDrone.Web/Scripts/2010.3.1318/telerik.grid.editing.min.js new file mode 100644 index 000000000..af2b8a522 --- /dev/null +++ b/NzbDrone.Web/Scripts/2010.3.1318/telerik.grid.editing.min.js @@ -0,0 +1 @@ +(function(e){var g=e.telerik;var d=function(i){this.formId=i;this._isBuild=false;var k="tUnobtrusiveValidation";var j="tUnobtrusiveContainer";var h=this.unobtrusive={adapters:[],parseElement:function(l,o){var m=e(l),n=m.parents("form")[0],q,p,r;if(!n){return}q=h.validationInfo(n);q.options.rules[l.name]=p={};q.options.messages[l.name]=r={};e.each(this.adapters,function(){var s="data-val-"+this.name,t=m.attr(s),u={};if(t!==undefined){s+="-";e.each(this.params,function(){u[this]=m.attr(s+this)});this.adapt({element:l,form:n,message:t,params:u,rules:p,messages:r})}});if(!o){q.attachValidation()}},parse:function(l){e(l).find(":input[data-val=true]").each(function(){h.parseElement(this,true)});e("form").each(function(){var m=h.validationInfo(this);if(m){m.attachValidation()}})},onError:function(l,o){var n=e(this).find("[data-valmsg-for='"+o[0].name+"']"),m=e.parseJSON(n.attr("data-valmsg-replace"))!==false;n.removeClass("field-validation-valid").addClass("field-validation-error");l.data(j,n);if(m){n.empty();l.removeClass("input-validation-error").appendTo(n)}else{l.hide()}},onErrors:function(l,o){var n=e(this).find("[data-valmsg-summary=true]"),m=n.find("ul");if(m&&m.length&&o.errorList.length){m.empty();n.addClass("validation-summary-errors").removeClass("validation-summary-valid");e.each(o.errorList,function(){e("
  • ").html(this.message).appendTo(m)})}},onSuccess:function(l){var n=l.data(j),m=e.parseJSON(n.attr("data-valmsg-replace"));if(n){n.addClass("field-valiion-valid").removeClass("field-validation-error");l.removeData(j);if(m){n.empty()}}},validationInfo:function(l){var n=e(l),m=n.data(k);if(!m){m={options:{errorClass:"input-validation-error",errorElement:"span",errorPlacement:e.proxy(h.onError,l),invalidHandler:e.proxy(h.onErrors,l),messages:{},rules:{},success:e.proxy(h.onSuccess,l)},attachValidation:function(){n.validate(this.options)},validate:function(){n.validate();return n.valid()}};n.data(k,m)}return m}}};d.prototype={build:function(){if(this._isBuild){return}this._isBuild=true;var j=[];function h(m,l,k){m.rules[l]=k;if(m.message){m.messages[l]=m.message}}function i(k){return k.replace(/^\s+|\s+$/g,"").split(/\s*,\s*/g)}j=this.unobtrusive.adapters;j.add=function(m,l,k){if(!k){k=l;l=[]}this.push({name:m,params:l,adapt:k});return this};j.addBool=function(l,k){return this.add(l,function(m){h(m,k||l,true)})};j.addMinMax=function(n,l,p,k,m,o){return this.add(n,[m||"min",o||"max"],function(s){var q=s.params.min,r=s.params.max;if(q&&r){h(s,k,[q,r])}else{if(q){h(s,l,q)}else{if(r){h(s,p,r)}}}})};j.addSingleVal=function(l,m,k){return this.add(l,[m||"val"],function(n){h(n,k||l,n.params[m])})};j.addSingleVal("accept","exts").addSingleVal("regex","pattern");j.addBool("creditcard").addBool("date").addBool("digits").addBool("email").addBool("number").addBool("url");j.addMinMax("length","minlength","maxlength","rangelength").addMinMax("range","min","max","range");j.add("equalto",["other"],function(l){var k=e(l.form).find(":input[name="+l.params.other+"]")[0];h(l,"equalTo",k)});j.add("required",function(k){if(k.element.tagName.toUpperCase()!=="INPUT"||k.element.type.toUpperCase()!=="CHECKBOX"){h(k,"required",true)}});j.add("remote",["url","type","fields"],function(k){var l={url:k.params.url,type:k.params.type||"GET",data:{}};e.each(i(k.params.fields||k.element.name),function(m,n){l.data[n]=function(){return e(k.form).find(":input[name='"+n+"']").val()}});h(k,"remote",l)});if(e.validator.unobtrusive&&e.validator.unobtrusive.adapters){e.extend(j,e.validator.unobtrusive.adapters)}e.validator.addMethod("regex",function(k,m,l){if(this.optional(m)){return true}var n=new RegExp(l).exec(k);return n&&n.index==0&&n[0].length==k.length});e.validator.addMethod("number",function(k,n){var l=g.cultureInfo.numericgroupsize;var m=new g.stringBuilder();m.cat("^-?(?:\\d+|\\d{1,").cat(l).cat("}(?:").cat(g.cultureInfo.numericgroupseparator).cat("\\d{").cat(l).cat("})+)(?:\\").cat(g.cultureInfo.numericdecimalseparator).cat("\\d+)?$");return this.optional(n)||new RegExp(m.string()).test(k)})},parse:function(){this.build();this.unobtrusive.parse(this.formId)}};var c=function(h){this.validationMetaData=h};c.prototype={build:function(l){e.validator.addMethod("regex",function(x,z,y){if(this.optional(z)){return true}var A=new RegExp(y).exec(x);return A&&A.index==0&&A[0].length==x.length});e.validator.addMethod("number",function(x,A){var y=g.cultureInfo.numericgroupsize;var z=new g.stringBuilder();z.cat("^-?(?:\\d+|\\d{1,").cat(y).cat("}(?:").cat(g.cultureInfo.numericgroupseparator).cat("\\d{").cat(y).cat("})+)(?:\\").cat(g.cultureInfo.numericdecimalseparator).cat("\\d+)?$");return this.optional(A)||new RegExp(z.string()).test(x)});function q(y,x,z){y.range=[x,z]}function m(x,y){x.regex=y}function w(x){x.required=true}function s(x,y){x.maxlength=y}function j(x,y,z){x[y]=z}function u(A){var x={};for(var z=0;z",{id:j.element.id+"PopUp"}).appendTo(j.element).css({top:0,left:"50%",marginLeft:-90}).tWindow(j.settings).delegate(".t-grid-cancel","click",g.stopAll(function(){i()}));e(j.element).one("dataBound",i);e.each(["insert","update"],function(k,l){if(j[l]){h.undelegate(".t-grid-"+l,"click").delegate(".t-grid-"+l,"click",g.stopAll(function(m){j[l](m.target,h)}))}});h.find(".t-close").bind("click",g.stopAll(i)).end().data("tWindow").title(j.title).content(j.content).open();return h}g.editing.implementation={insertRow:function(h){var i=this.extractValues(h);if(g.trigger(this.element,"save",{mode:"insert",values:i,form:h.find("form")[0]})){return}this.sendValues(i,"insertUrl")},updateRow:function(h){var i=this.dataItem(h.data("tr")||h);var j=this.extractValues(h,true);if(g.trigger(this.element,"save",{mode:"edit",dataItem:i,values:j,form:h.find("form")[0]})){return}this.sendValues(j,"updateUrl")},deleteRow:function(h){if(g.trigger(this.element,"delete",{dataItem:this.dataItem(h)})){return}if(this.editing.confirmDelete===false||confirm(this.localization.deleteConfirmation)){this.sendValues(this.extractValues(h,true),"deleteUrl")}},editRow:function(j){a();var k=new g.stringBuilder();var l=b(this.columns,"edit");this.form(k,[{name:"update",attr:l.attr,buttonType:l.buttonType,imageAttr:l.imageAttr},{name:"cancel",attr:l.attr,buttonType:l.buttonType,imageAttr:l.imageAttr}],j.find(".t-hierarchy-cell").find(".t-icon").hasClass("t-plus"));var i=this.dataItem(j);var h=e(k.string());h.find("form").submit(g.preventDefault);h.children().hide();var m=h.find("tr:first td:not(.t-group-cell, .t-hierarchy-cell)");var n=this.editing.mode;if(n!="PopUp"){j.html(h)}else{f({title:this.localization.edit,element:this.element,settings:this.editing.popup,content:h,update:e.proxy(function(p,o){this.save(p,e.proxy(function(){o.data("tr",j);this.updateRow(o)},this))},this)})}this.formViewBinder.bind(h,i);if(n=="InLine"){e.each(this.columns,function(o){if(this.readonly){m.eq(o).html(this.display(i))}})}h.children().show();g.trigger(this.element,"edit",{mode:"edit",form:h.find("form")[0]||h[0],dataItem:i});this.validation()},addRow:function(){a();var l=new g.stringBuilder();var j=this.editing.mode;var k=b(this.columns,"edit");var i;if(j!="PopUp"){l.cat('');this.form(l,[{name:"insert",attr:k.attr,buttonType:k.buttonType,imageAttr:k.imageAttr},{name:"cancel",attr:k.attr,buttonType:k.buttonType,imageAttr:k.imageAttr}]);l.cat("");var h=e(l.string());h.find("form").submit(g.preventDefault);i=h.prependTo(this.$tbody)}else{this.form(l,[{name:"insert",attr:k.attr,buttonType:k.buttonType,imageAttr:k.imageAttr},{name:"cancel",attr:k.attr,buttonType:k.buttonType,imageAttr:k.imageAttr}]);i=e(l.string());i.find("form").submit(g.preventDefault);f({title:this.localization.insert,element:this.element,settings:this.editing.popup,content:i,insert:e.proxy(function(n,m){this.save(n,e.proxy(function(){this.insertRow(m)},this))},this)})}g.trigger(this.element,"edit",{mode:"insert",form:i.find("form")[0]||i[0]});this.validation()},extractValues:function(m,j){var k=this.modelBinder.bind(m);if(j){var l=this.dataItem(m.data("tr")||m);for(var i in this.dataKeys){var h=this.valueFor({member:i})(l);if(h instanceof Date){h=g.formatString("{0:G}",h)}k[this.ws?i:this.dataKeys[i]]=h}}return k},cancelRow:function(h){if(!h.length){return}if(h.is(".t-grid-new-row")){var l=h.closest("tbody");h.remove();if(e.browser.msie){l.hide().show()}return}var k=this.dataItem(h);var j=new g.stringBuilder();var i=h.find(".t-hierarchy-cell").find(".t-icon").hasClass("t-plus");j.rep('',this.groups.length).catIf('',this.detail);e.each(this.columns,e.proxy(function(m,n){j.cat("");if(n.display){j.cat(n.display(k))}this.appendCommandHtml(n.commands,j);j.cat("")},this));h.html(j.string());g.trigger(this.element,"rowDataBound",{row:h[0],dataItem:k})},form:function(l,j,i){var h=this.editing.mode;if(h!="PopUp"){l.cat('')}l.cat('
    ');if(h=="InLine"){l.cat('');e(this.element).find("colgroup:first").children().each(function(){var m=this.style.width;if(this.className!=""){l.cat('')}else{if(m!="0px"){l.cat('')}else{l.cat("")}}});var k=new g.stringBuilder();k.cat('");l.cat("").rep('")},this));l.cat("
    ').catIf('',i!=undefined).cat("
    ',this.groups.length).catIf(k.string(),this.detail);e.each(this.columns,e.proxy(function(m,n){l.cat("").catIf(unescape(n.editor),n.editor).catIf(" ",!n.editor&&!n.commands);if(n.commands){var o=e.grep(n.commands,function(p){return p.name=="edit"})[0];this.appendCommandHtml(o?j:n.commands,l)}l.cat("
    ")}else{l.cat('
    ').cat(unescape(this.editing.editor));this.appendCommandHtml(j,l);l.cat("
    ")}l.cat("
    ");l.catIf("",h!="PopUp")},save:function(h,i){e(h).closest("form").validate().form()&&i()},cancel:function(){this.cancelRow(e("#"+this.formId()).closest("tr"))},sendValues:function(l,h){if(this.ws){for(var i in l){var k=this.columnFromMember(i);if(k&&k.type=="Date"){var j=g.datetime.parse({value:l[i],format:g.cultureInfo.shortDate}).toDate();l[i]="\\/Date("+j.getTime()+")\\/"}}}e.ajax(this.ajaxOptions({data:this.ws?{value:l}:l,url:this.url(h),hasErrors:e.proxy(this.hasErrors,this),displayErrors:e.proxy(this.displayErrors,this)}))},displayErrors:function(h){this.errorView.bind(e("#"+this.formId()),h.modelState)},hasErrors:function(h){var i=h.modelState;var j=false;if(i){e.each(i,function(k,l){if("errors" in l){j=true;return false}})}return j},formId:function(){return e(this.element).attr("id")+"form"},validation:function(){this.validator().parse()},validator:function(){if(this.validationMetadata){return new c(this.validationMetadata)}else{return new d(e("#"+this.formId()))}}};g.grid.ModelBinder=function(){this.binders={":input":function(){return e(this).val()},":checkbox":function(){return e(this).is(":checked")}};this.bind=function(h){var i={};e.each(this.binders,function(j,k){h.find(j).each(function(){if(!this.disabled){i[this.name]=k.call(this)}})});return i}};g.grid.FormViewBinder=function(h){this.converters=h||{};this.binders={":input":function(j){e(this).val(j)},":checkbox":function(j){e(this).attr("checked",j==true)}};function i(j){return function(k){e(this).parent().data(j).value(k)}}this.binders[".t-numerictextbox :input:hidden"]=i("tTextBox");this.binders[".t-dropdown :input:hidden"]=i("tDropDownList");this.binders[".t-combobox :input:hidden"]=i("tComboBox");this.evaluate=function(k,n){if(n!=null){var j=k,l=false,p=n.split(".");while(p.length){var q=p.shift();if(j!=null&&typeof(j[q])!="undefined"){j=j[q];l=true}else{if(l){l=false;break}}}if(l&&!e.isPlainObject(j)){var m=/^\/Date\((.*?)\)\/$/.exec(j);if(m){j=new Date(parseInt(m[1]))}var o=g.getType(j);if(o in this.converters){j=this.converters[o](n,j)}return j}}};this.bind=function(l,k){var j;e.each(this.binders,e.proxy(function(m,n){l.find(m).each(e.proxy(function(p,q){var o=this.evaluate(k,q.name);if(o!=j){n.call(q,o)}},this))},this))}};g.grid.ErrorView=function(){this.bind=function(h,i){h.find("span[id$=_validationMessage]").removeClass("field-validation-error").addClass("field-validation-valid").html("").end().find(".input-validation-error").removeClass("input-validation-error").addClass("valid");e.each(i,function(j,k){if("errors" in k&&k.errors[0]){h.find("#"+j+'_validationMessage, [data-valmsg-for="'+j+'"]').html(k.errors[0]).removeClass("field-validation-valid").addClass("field-validation-error").end().find("#"+j).removeClass("valid").addClass("input-validation-error")}})}}})(jQuery); \ No newline at end of file diff --git a/NzbDrone.Web/Scripts/2010.3.1318/telerik.grid.filtering.min.js b/NzbDrone.Web/Scripts/2010.3.1318/telerik.grid.filtering.min.js new file mode 100644 index 000000000..7c4a7eaa5 --- /dev/null +++ b/NzbDrone.Web/Scripts/2010.3.1318/telerik.grid.filtering.min.js @@ -0,0 +1 @@ +(function(c){var b=c.telerik;var e=/'/ig;var d=b.fx.slide.defaults();function f(g){if(!g.format){return b.cultureInfo.shortDate}return/\{0(:([^\}]+))?\}/.exec(g.format)[2]}function a(h,g){if(h.type=="Date"){return b.formatString(h.format||"{0:G}",new Date(parseInt(g.replace(/\/Date\((.*?)\)\//,"$1"))))}return g}b.filtering={};b.filtering.initialize=function(g){c.extend(g,b.filtering.implementation);g.filterBy=g.filterExpr();c("> .t-grid-content",g.element).bind("scroll",function(){g.hideFilter()});c(document).click(function(h){if(h.which!=3){g.hideFilter()}});g.$header.find(".t-grid-filter").click(c.proxy(g.showFilter,g)).hover(function(){c(this).toggleClass("t-state-hover")})};b.filtering.implementation={createFilterCommands:function(h,g){var i={};c.each(this.localization,function(m,j){var k="filter"+g.type;var l=m.indexOf(k);if(l>-1){i[m.substring(l+k.length).toLowerCase()]=j}});h.cat('")},createTypeSpecificInput:function(j,g,h,i){if(g.type=="Date"){j.cat('
    ').cat('').cat('
    ')}else{if(g.type=="Boolean"){j.cat('
    ').cat('
    ")}else{if(g.type=="Enum"){j.cat("
    ")}else{if(g.type=="Number"){j.cat('
    ').cat('').cat("
    ")}else{j.cat('')}}}}},createFilterMenu:function(g){var j=new b.stringBuilder();j.cat('
    ");var i=c(j.string());c.each(g.filters||[],function(k){i.find(".t-filter-operator:eq("+k+")").val(this.operator).end().find(":text:eq("+k+"),select:not(.t-filter-operator):eq("+k+")").val(a(g,this.value));if(g.type=="Boolean"){i.find(":radio[id$="+this.value+"]").attr("checked",true)}});return i.find(".t-datepicker").each(function(){c(this).tDatePicker({format:f(g)})}).end().find(".t-numerictextbox").each(function(){c(this).tTextBox({type:"numeric",minValue:null,maxValue:null,numFormat:"",groupSeparator:""})}).end().appendTo(this.element)},showFilter:function(m){m.stopPropagation();var g=c(m.target).closest(".t-grid-filter");this.hideFilter(function(){return this.parentNode!=g[0]});var k=g.data("filter");if(!k){var h=this.columns[this.$columns().index(g.parent())];k=this.createFilterMenu(h).data("column",h).click(function(p){p.stopPropagation();if(c(p.target).parents(".t-datepicker").length==0){c(".t-datepicker",this).each(function(){c(this).data("tDatePicker").hidePopup()})}}).find(".t-filter-button").click(c.proxy(this.filterClick,this)).end().find(".t-clear-button").click(c.proxy(this.clearClick,this)).end().find("input[type=text]").keyup(c.proxy(function(p){if(p.keyCode==13){this.filterClick(p)}},this)).end();g.data("filter",k)}var l=0;c(this.element).find("> .t-grouping-header, > .t-grid-toolbar").add(this.$header).each(function(){l+=this.offsetHeight});var i={top:l};var n=-this.$headerWrap.scrollLeft()-1;g.parent().add(g.parent().prevAll("th")).each(function(){if(c(this).css("display")!="none"){n+=this.offsetWidth}});var j=n-g.outerWidth();var o=k.outerWidth()||k.find(".t-group").outerWidth();if(j+o>this.$header.outerWidth()){j=n-o+1}if(c(this.element).closest(".t-rtl").length){i.right=j+(c.browser.mozilla||c.browser.safari?18:0)}else{i.left=j}k.css(i);b.fx[k.find(".t-filter-options").is(":visible")?"rewind":"play"](d,k.find(".t-filter-options"),{direction:"bottom"})},hideFilter:function(g){g=g||function(){return true};c(".t-grid .t-animation-container").find(".t-datepicker").each(function(){c(this).data("tDatePicker").hidePopup()}).end().find(".t-filter-options").filter(g).each(function(){b.fx.rewind(d,c(this),{direction:"bottom"})})},clearClick:function(i){i.preventDefault();var h=c(i.target);var g=h.closest(".t-animation-container").data("column");g.filters=null;h.parent().find("input").removeAttr("checked").removeClass("t-state-error").not(":radio").val("").end().end().find("select").removeClass("t-state-error").find("option:first").attr("selected","selected");this.filter(this.filterExpr())},filterClick:function(j){j.preventDefault();var i=c(j.target);var g=i.closest(".t-animation-container").data("column");g.filters=[];var h=false;i.parent().find("input[type=text]:visible,select:not(.t-filter-operator)").each(c.proxy(function(p,n){var l=c(n);var k=c.trim(l.val());if(!k){l.removeClass("t-state-error");return true}var m=this.isValidFilterValue(g,k);l.toggleClass("t-state-error",!m);if(!m){h=true;return true}var o=l.prev("select").val()||l.parent().prev("select").val()||l.parent().parent().prev("select").val();if(k!=this.localization.filterSelectValue){g.filters.push({operator:o,value:k})}},this));i.parent().find("input:checked").each(c.proxy(function(m,l){var n=c(l);var k=c(l).attr("value");g.filters.push({operator:"eq",value:k})},this));if(!h){if(g.filters.length>0){this.filter(this.filterExpr())}this.hideFilter()}},isValidFilterValue:function(h,g){if(h.type=="Number"){return !isNaN(g)}return true},encodeFilterValue:function(g,h){switch(g.type){case"String":return"'"+h.replace(e,"''")+"'";case"Date":var i;if(h.indexOf("Date(")>-1){i=new Date(parseInt(h.replace(/^\/Date\((.*?)\)\/$/,"$1")))}else{i=b.datetime.parse({value:h,format:f(g)}).toDate()}return"datetime'"+b.formatString("{0:yyyy-MM-ddTHH-mm-ss}",i)+"'"}return h},filterExpr:function(){var h=[];for(var g=0;g');f.$groupHeader=d("> .t-grouping-header",f.element);function h(){var k=d.map(f.$groupHeader.find(".t-group-indicator"),function(l){var m=d(l);var n=m.offset().left;var o=m.outerWidth();return{left:n,right:n+o,width:o,$group:m}});return{first:k[0],all:k,last:k[k.length-1]}}function g(r){var m=r.$cue.text();if(!d.contains(f.element,r.target)||!d(r.target).closest(".t-grouping-header").length||(f.groupFromTitle(m)&&r.$draggable.closest(".t-header").length)){f.$groupDropCue.remove();return}var n=d("> .t-grid-toolbar",f.element).outerHeight()+c;var o=h();if(!o.all.length){f.$groupDropCue.css({top:n,left:a}).appendTo(f.$groupHeader);return}var q=o.first;var s=o.last;var l=parseInt(q.$group.css("marginLeft"));var k=parseInt(q.$group.css("marginRight"));var p=d.grep(o.all,function(t){return r.pageX>=t.left-l-k&&r.pageX<=t.right})[0];if(!p&&q&&r.pageX=0){f.groups.splice(d.inArray(m,f.groups),1);f.groups.splice(o,0,m)}f.groupBy=d.map(f.groups,function(q){return q.member+"-"+q.order}).join("~");if(this.isAjax()){var p=this.$groupHeader.find('div:contains("'+l+'")');if(p.length==0){var k=new d.telerik.stringBuilder().cat('
    ').cat('').cat(l).cat("").cat('').cat("
    ").string();p=d(k).appendTo(this.$groupHeader)}if(this.$groupDropCue.is(":visible")){p.insertBefore(this.$groupDropCue)}p.find(".t-link .t-icon").toggleClass("t-arrow-up-small",m.order=="asc").toggleClass("t-arrow-down-small",m.order=="desc");this.ajaxRequest()}else{this.serverRequest()}};f.unGroup=function(l){var k=f.groupFromTitle(l);f.groups.splice(d.inArray(k,f.groups),1);if(f.groups.length==0){f.$groupHeader.html(f.localization.groupHint)}f.groupBy=d.map(f.groups,function(m){return m.member+"-"+m.order}).join("~");if(f.isAjax()){f.$groupHeader.find('div:contains("'+k.title+'")').remove();f.ajaxRequest()}else{f.serverRequest()}},f.normalizeColumns=function(n){var o=f.groups.length;var m=n-f.$tbody.parent().find(" > colgroup > col").length;if(m==0){return}var p=f.$tbody.parent().add(f.$headerWrap.find("table")).add(f.$footerWrap.find("table"));if(d.browser.msie){if(m>0){d(new b.stringBuilder().rep('',m).string()).prependTo(p.find("colgroup"));d(new b.stringBuilder().rep(' ',m).string()).insertBefore(p.find("th.t-header:first"));d(new b.stringBuilder().rep(' ',m).string()).insertBefore(p.find("tr.t-footer-template > td:first"))}else{p.find("th:lt("+Math.abs(m)+"), tr.t-footer-template > td:lt("+Math.abs(m)+")").remove().end().find("col:lt("+Math.abs(m)+")").remove()}var k=[];var l=0;d("table",f.element).each(function(){k.push(this.parentNode)}).appendTo(d("
    ")).each(function(){k[l++].appendChild(this)})}else{p.find("col.t-group-col").remove();d(new b.stringBuilder().rep('',o).string()).prependTo(p.find("colgroup"));p.find("th.t-group-cell").remove();p.find("tr.t-footer-template > td.t-group-cell").remove();d(new b.stringBuilder().rep(' ',o).string()).insertBefore(p.find("th.t-header:first"));d(new b.stringBuilder().rep(' ',o).string()).insertBefore(p.find("tr.t-footer-template > td:first"))}f.$footer.find(".t-pager-wrapper").attr("colspan",n)},f.bindGroup=function(n,r,q,p){var o=f.groups[p];var t=n.Key;var m=d.grep(f.columns,function(l){return o.member==l.member})[0];if(m&&(m.format||m.type=="Date")){t=b.formatString(m.format||"{0:G}",t)}q.cat('').rep('',p).cat('

    ').cat(o.title).cat(": ").cat(t).cat("

    ");if(n.HasSubgroups){for(var k=0,s=n.Items.length;k)/g,"\t").split("'").join("\\'").split("\t").join("'").replace(/<#=(.+?)#>/g,"',$1,'").split("<#").join("');").split("#>").join("p.push('")+"');}return p.join('');"))}function a(f){return(f!=null?f+"":"").replace(/&/g,"&").replace(//g,">")}b.grid=function(f,g){this.element=f;this.groups=[];this.editing={};this.filterBy="";this.groupBy="";this.orderBy="";e.extend(this,g);this.sorted=e.grep(this.columns,function(i){return i.order});this.$tbody=e("> .t-grid-content > table tbody",f);this.scrollable=this.$tbody.length>0;if(!this.scrollable){this.$tbody=e("> table > tbody",f);this.$header=e("> table > thead tr",f);this.$footer=e("> table > tfoot",f)}else{this.$header=e("> .t-grid-header tr",f);this.$footer=e("> .t-grid-footer",f)}this.$footerWrap=this.$footer.find(".t-footer-template-wrap");var l=this.$headerWrap=e("> .t-grid-header > .t-grid-header-wrap",f);e("> .t-grid-content",f).bind("scroll",function(){l.scrollLeft(this.scrollLeft)});this.$tbody.delegate(".t-hierarchy-cell .t-plus, .t-hierarchy-cell .t-minus","click",b.stopAll(function(p){var o=e(p.target);var n=o.hasClass("t-plus");o.toggleClass("t-minus",n).toggleClass("t-plus",!n);var i=o.closest("tr.t-master-row");if(this.detail&&!i.next().hasClass("t-detail-row")){e(new b.stringBuilder().cat('').rep('',i.find(".t-group-cell").length).cat('').cat('').cat(this.displayDetails(this.dataItem(i))).cat("").string()).insertAfter(i)}b.trigger(this.element,n?"detailViewExpand":"detailViewCollapse",{masterRow:i[0],detailRow:i.next(".t-detail-row")[0]});i.next().toggle(n)},this));this.$pager=e("> .t-pager-wrapper .t-pager",f).add(this.$footer.find(".t-pager"));this.$pager.delegate(".t-state-disabled","click",b.preventDefault).delegate(".t-link:not(.t-state-disabled)","mouseenter",b.hover).delegate(".t-link:not(.t-state-disabled)","mouseleave",b.leave).delegate("input[type=text]","keydown",e.proxy(this.pagerKeyDown,this));this.$footer.add(e("> .t-pager-wrapper",f)).delegate(".t-refresh","click",e.proxy(this.refreshClick,this));e(f).delegate(".t-button","hover",b.preventDefault);if(this.sort){this.$header.delegate(".t-link","hover",function(){e(this).toggleClass("t-state-hover")})}var m="tr:not(.t-grouping-row,.t-detail-row,.t-no-data,:has(>.t-edit-container))";if(this.selectable){var k=this.$tbody[0];var j=this;this.$tbody.delegate(m,"click",function(i){if(this.parentNode==k){j.rowClick(i)}}).delegate(m,"hover",function(){if(this.parentNode==k){e(this).toggleClass("t-state-hover")}})}if(this.isAjax()){this.$pager.delegate(".t-link:not(.t-state-disabled)","click",b.stop(this.pagerClick,this));if(this.sort){this.$header.delegate(".t-link","click",b.stop(this.headerClick,this))}}for(var h=0;h.t-icon")){h.stopPropagation();var f=g.closest("tr").addClass("t-state-selected").siblings().removeClass("t-state-selected").end();b.trigger(this.element,"rowSelect",{row:f[0]})}},$rows:function(){return this.$tbody.find("> tr:not(.t-grouping-row,.t-detail-row)")},expandRow:function(f){e(f).find("> td .t-plus, > td .t-expand").click()},collapseRow:function(f){e(f).find("> td .t-minus, > td .t-collapse").click()},headerClick:function(f){f.preventDefault();this.toggleOrder(this.$columns().index(e(f.target).closest("th")));this.sort(this.sortExpr())},refreshClick:function(g,f){if(e(f).is(".t-loading")){return}if(this.isAjax()){g.preventDefault();this.ajaxRequest(true)}},sort:function(f){this.orderBy=f;this.ajaxRequest()},columnFromTitle:function(g){g=e.trim(g);var f=e.grep(this.$columns(),function(h){return e.trim(e(h).text())==g})[0];if(f){return this.columns[this.$columns().index(f)]}return e.grep(this.columns,function(h){return h.title==g})[0]},columnFromMember:function(f){var g=e.grep(this.columns,function(h){return h.member==f})[0];if(!g){g=e.grep(this.columns,function(i){var h="."+i.member;return f.substr(f.length-h.length)==h})[0]}return g},toggleOrder:function(f){f=typeof f=="number"?this.columns[f]:f;var h="asc";if(f.order=="asc"){h="desc"}else{if(f.order=="desc"){h=null}}f.order=h;var g=e.inArray(f,this.sorted);if(this.sortMode=="single"&&g<0){e.each(this.sorted,function(){this.order=null});this.sorted=[]}if(g<0&&h){this.sorted.push(f)}if(!h){this.sorted.splice(g,1)}},sortExpr:function(){return e.map(this.sorted,function(f){return f.member+"-"+f.order}).join("~")},pagerKeyDown:function(f){if(f.keyCode==13){var g=this.sanitizePage(e(f.target).val());if(g!=this.currentPage){this.pageTo(g)}else{e(f.target).val(g)}}},isAjax:function(){return this.ajax||this.ws||this.onDataBinding},url:function(f){return(this.ajax||this.ws)[f]},pagerClick:function(k){k.preventDefault();var g=e(k.target).closest(".t-link");var h=this.currentPage;var i=g.find(".t-icon");if(i.hasClass("t-arrow-next")){h++}else{if(i.hasClass("t-arrow-last")){h=this.totalPages()}else{if(i.hasClass("t-arrow-prev")){h--}else{if(i.hasClass("t-arrow-first")){h=1}else{var f=g.text();if(f=="..."){var j=g.parent().children().index(g);if(j==0){h=parseInt(g.next().text())-1}else{h=parseInt(g.prev().text())+1}}else{h=parseInt(f)}}}}}this.pageTo(isFinite(h)?h:this.currentPage)},pageTo:function(f){this.currentPage=f;if(this.isAjax()){this.ajaxRequest()}else{this.serverRequest()}},ajaxOptions:function(g){var f={type:"POST",dataType:"text",dataFilter:function(i,j){return i.replace(c,"new Date($1)")},error:e.proxy(function(j,i){if(b.ajaxError(this.element,"error",j,i)){return}},this),complete:e.proxy(this.hideBusy,this),success:e.proxy(function(j,k,i){try{j=eval("("+j+")")}catch(l){if(!b.ajaxError(this.element,"error",i,"parseeror")){alert("Error! The requested URL did not return JSON.")}return}j=j.d||j;if(g.hasErrors&&g.hasErrors(j)){g.displayErrors(j);return}this.total=j.total||j.Total||0;this.dataBind(j.data||j.Data)},this)};e.extend(f,g);var h=this.ws?f.data.state={}:f.data;h[this.queryString.page]=this.currentPage;h[this.queryString.size]=this.pageSize;h[this.queryString.orderBy]=this.orderBy||"";h[this.queryString.groupBy]=this.groupBy;h[this.queryString.filter]=(this.filterBy||"").replace(/\"/g,'\\"');if(this.ws){f.data=b.toJson(f.data);f.contentType="application/json; charset=utf-8"}return f},showBusy:function(){this.busyTimeout=setTimeout(e.proxy(function(){e(".t-pager-wrapper",this.element).find(".t-status .t-icon").addClass("t-loading")},this),100)},hideBusy:function(){clearTimeout(this.busyTimeout);e(".t-pager-wrapper",this.element).find(".t-status .t-icon").removeClass("t-loading")},serverRequest:function(){location.href=b.formatString(unescape(this.urlFormat),this.currentPage,this.orderBy||"~",this.groupBy||"~",encodeURIComponent(this.filterBy)||"~")},ajaxRequest:function(){var f={page:this.currentPage,sortedColumns:this.sorted,filteredColumns:e.grep(this.columns,function(g){return g.filters})};if(b.trigger(this.element,"dataBinding",f)){return}if(!this.ajax&&!this.ws){return}this.showBusy();e.ajax(this.ajaxOptions({data:e.extend({},f.data),url:this.url("selectUrl")}))},valueFor:function(f){if(f.type=="Date"){return new Function("data","var value = data."+f.member+'; if (!value) return null; return value instanceof Date? value : new Date(parseInt(value.replace(/\\/Date\\((.*?)\\)\\//, "$1")));')}return new Function("data","return data"+(f.member?"."+f.member:"")+";")},displayFor:function(g){if(!g.template){var f=g.value;if(g.format||g.type=="Date"){f=function(h){var i=g.value(h);return i==null?"":b.formatString(g.format||"{0:G}",i)}}return g.encoded===false?f:function(h){return a(f(h))}}return d(g.template)},createColumnMappings:function(){e.each(this.columns,e.proxy(function(f,g){if(g.member!==undefined){g.value=this.valueFor(g);g.display=this.displayFor(g);g.edit=g.type!="Date"?g.value:g.display}else{if(g.template){g.display=this.displayFor(g);g.readonly=true}}},this));if(this.detail){this.displayDetails=d(this.detail.template)}},bindData:function(g,k,m){Array.prototype.push.apply(this.data,g);var o=Math.min(this.pageSize,g.length);o=this.pageSize?o:g.length;if(e.browser.msie){e(this.element).find(".t-grid-content colgroup:first col").css("display","")}for(var p=0;p')}else{k.cat("")}k.rep('',m).catIf('',this.detail);for(var h=0,l=this.columns.length;h");var j=n.display;if(j){k.cat(j(g[p]))}this.appendCommandHtml(n.commands,k);k.cat("")}k.cat("")}},appendCommandHtml:function(h,i){if(h){var f=this.localization;var g=function(j,k){k.cat('")};e.each(h,function(){var l=this.buttonType;var k="";switch(l){case"Image":k=" t-button-icon ";break;case"ImageAndText":k=" t-button-icontext ";break;case"BareImage":k=" t-button-icon t-button-bare ";break;default:k=" ";break}var j=i.cat('");if(l=="Image"){g(this,j)}else{if(l=="ImageAndText"){g(this,j);j.cat(f[this.name])}else{j.cat(f[this.name])}}j.cat("")})}},normalizeColumns:function(){},dataItem:function(f){return this.data[this.$tbody.find("> tr:not(.t-grouping-row,.t-detail-row,.t-grid-new-row)").index(e(f))]},bindTo:function(k){var h=new b.stringBuilder();var j=this.groups.length+this.columns.length+(this.detail?1:0);if(k&&k.length){this.normalizeColumns(j);if(typeof k[0].HasSubgroups!="undefined"){for(var f=0,g=k.length;f").cat("").cat(this.noRecordsTemplate?this.noRecordsTemplate:this.localization.noRecords).cat("")}this.$tbody.html(h.string());if(this.onRowDataBound){var m=jQuery.grep(this.$tbody[0].rows,function(i){return !e(i).hasClass("t-grouping-row")});for(var f=0,g=this.data.length;f=f).removeClass("t-state-hover");this.$pager.find(".t-arrow-prev").parent().add(this.$pager.find(".t-arrow-first").parent()).toggleClass("t-state-disabled",h==1).removeClass("t-state-hover");var g=this.localization;this.$pager.find(".t-page-i-of-n").each(function(){this.innerHTML=new b.stringBuilder().cat(g.page).cat(' ').cat(b.formatString(g.pageOf,f)).string()});this.$pager.find(".t-numeric").each(e.proxy(function(j,i){this.numericPager(i,h,f)},this));this.$pager.parent().find(".t-status-text").text(b.formatString(g.displayingItems,this.firstItemInPage(),this.lastItemInPage(),this.total))},numericPager:function(g,m,n){var k=10;var i=1;if(m>k){var f=(m%k);i=(f==0)?(m-k)+1:(m-f)+1}var j=(i+k)-1;j=Math.min(j,n);var h=new b.stringBuilder();if(i>1){h.cat('...')}for(var l=i;l<=j;l++){if(l==m){h.cat('').cat(l).cat("")}else{h.cat('').cat(l).cat("")}}if(j...')}g.innerHTML=h.string()},$columns:function(){return this.$header.find("th:not(.t-hierarchy-cell,.t-group-cell)")},updateSorting:function(){this.sorted=[];e.each(this.orderBy.split("~"),e.proxy(function(g,f){var h=f.split("-");var i=this.columnFromMember(h[0]);if(i){i.order=h[1];this.sorted.push(i)}},this));this.$columns().each(e.proxy(function(g,k){var h=this.columns[g].order;var f=e(k).children(".t-link");var j=f.children(".t-icon");if(!h){j.hide()}else{if(j.length==0){j=e('').appendTo(f)}j.toggleClass("t-arrow-up",h=="asc").toggleClass("t-arrow-down",h=="desc").show()}},this))},sanitizePage:function(g){var f=parseInt(g,10);if(isNaN(f)||f<1){return this.currentPage}return Math.min(f,this.totalPages())},totalPages:function(){return Math.ceil(this.total/this.pageSize)},firstItemInPage:function(){return this.total>0?(this.currentPage-1)*this.pageSize+1:0},lastItemInPage:function(){return Math.min(this.currentPage*this.pageSize,this.total)},dataBind:function(f){this.data=[];this.bindTo(f);this.updatePager();this.updateSorting();b.trigger(this.element,"dataBound");b.trigger(this.element,"repaint")},rebind:function(g){this.sorted=[];this.filterBy="";this.currentPage=1;e.each(this.columns,function(){this.order=null;this.filters=[]});e(".t-filter-options",this.element).find('input[type="text"], select').val("").removeClass("t-state-error");for(var i in g){var h=new RegExp(b.formatString("({0})=([^&]*)",i),"g");if(h.test(this.ajax.selectUrl)){this.ajax.selectUrl=this.ajax.selectUrl.replace(h,"$1="+g[i])}else{var f=new b.stringBuilder();f.cat(this.ajax.selectUrl);if(this.ajax.selectUrl.indexOf("?")<0){f.cat("?")}else{f.cat("&")}this.ajax.selectUrl=f.cat(i).cat("=").cat(g[i]).string()}}this.ajaxRequest()}};e.fn.tGrid=function(f){return b.create(this,{name:"tGrid",init:function(g,h){return new b.grid(g,h)},options:f,success:function(g){if(g.$tbody.find("tr.t-no-data").length){g.ajaxRequest()}}})};e.fn.tGrid.defaults={columns:[],plugins:[],currentPage:1,pageSize:10,localization:{addNew:"Add new record","delete":"Delete",cancel:"Cancel",insert:"Insert",update:"Update",select:"Select",pageOf:"of {0}",displayingItems:"Displaying items {0} - {1} of {2}",edit:"Edit",noRecords:"No records to display.",page:"Page ",filter:"Filter",filterClear:"Clear Filter",filterShowRows:"Show rows with value that",filterAnd:"And",filterStringEq:"Is equal to",filterStringNe:"Is not equal to",filterStringStartsWith:"Starts with",filterStringSubstringOf:"Contains",filterStringEndsWith:"Ends with",filterNumberEq:"Is equal to",filterNumberNe:"Is not equal to",filterNumberLt:"Is less than",filterNumberLe:"Is less than or equal to",filterNumberGt:"Is greater than",filterNumberGe:"Is greater than or equal to",filterDateEq:"Is equal to",filterDateNe:"Is not equal to",filterDateLt:"Is before",filterDateLe:"Is before or equal to",filterDateGt:"Is after",filterDateGe:"Is after or equal to",filterEnumEq:"Is equal to",filterEnumNe:"Is not equal to",filterBoolIsTrue:"is true",filterBoolIsFalse:"is false",filterSelectValue:"-Select value-",filterOpenPopupHint:"Open the calendar popup",groupHint:"Drag a column header and drop it here to group by that column",deleteConfirmation:"Are you sure you want to delete this record?"},queryString:{page:"page",size:"size",orderBy:"orderBy",groupBy:"groupBy",filter:"filter"}}})(jQuery); \ No newline at end of file diff --git a/NzbDrone.Web/Scripts/2010.3.1318/telerik.grid.reordering.min.js b/NzbDrone.Web/Scripts/2010.3.1318/telerik.grid.reordering.min.js new file mode 100644 index 000000000..6616bc005 --- /dev/null +++ b/NzbDrone.Web/Scripts/2010.3.1318/telerik.grid.reordering.min.js @@ -0,0 +1 @@ +(function(a){var b=a.telerik;b.reordering={};b.reordering.initialize=function(d){d.$reorderDropCue=a('
    ');var c=d.$header.children("th").length-1;var e=function(i,l){var k=a.inArray(l,d.columns);d.columns.splice(k,1);d.columns.splice(i,0,l);h(d.$columns(),k,i);h(d.$tbody.parent().find("> colgroup > col:not(.t-group-col,.t-hierarchy-col)"),k,i);h(d.$headerWrap.find("table").find("> colgroup > col:not(.t-group-col,.t-hierarchy-col)"),k,i);var j=d.$footerWrap.find("table");h(j.find("> colgroup > col:not(.t-group-col,.t-hierarchy-col)"),k,i);h(j.find("> tbody > tr.t-footer-template > td:not(.t-group-cell,.t-hierarchy-cell)").add(d.$footer.find("tr.t-footer-template > td:not(.t-group-cell,.t-hierarchy-cell)")),k,i);a.each(d.$tbody.children(),function(){h(a(this).find(" > td:not(.t-group-cell, .t-hierarchy-cell, .t-detail-cell)"),k,i)})};d.reorderColumn=e;function f(i,k,l,j){g(i,k,l,j,"th","t-last-header");g(i,k,l,j,"td","t-last")}function g(j,l,k,m,i,n){if(k.is(i)&&m==c){j.addClass(n);k.removeClass(n)}if(j.is(i)&&l==c){j.removeClass(n).prev(i).addClass(n)}}function h(j,k,i){var l=j.eq(k);var m=j.eq(i);f(l,k,m,i);l[k>i?"insertBefore":"insertAfter"](m)}new b.draggable({owner:d.$header,selector:".t-header:not(.t-group-cell,.t-hierarchy-cell)",scope:d.element.id+"-reodering",cue:function(i){return b.dragCue(i.$draggable.text())},destroy:function(i){i.$cue.remove()}});new b.droppable({owner:d.$header,scope:d.element.id+"-reodering",selector:".t-header:not(.t-group-cell,.t-hierarchy-cell)",over:function(i){var j=a.trim(i.$draggable.text())==a.trim(i.$droppable.text());b.dragCueStatus(i.$cue,j?"t-denied":"t-add");if(!j){d.$reorderDropCue.css({height:i.$droppable.outerHeight(),top:a("> .t-grid-toolbar",d.element).outerHeight()+a("> .t-pager-wrapper",d.element).outerHeight()+a("> .t-grouping-header",d.element).outerHeight(),left:function(){return i.$droppable.position().left+((i.$droppable.index()>i.$draggable.index())?i.$droppable.outerWidth():0)}}).appendTo(d.element)}},out:function(i){d.$reorderDropCue.remove();b.dragCueStatus(i.$cue,"t-denied")},drop:function(k){d.$reorderDropCue.remove();if(k.$cue.find(".t-drag-status").is(".t-add")){var i=d.columnFromTitle(a.trim(k.$draggable.text()));var j=d.$columns().index(k.$droppable);b.trigger(d.element,"columnReorder",{column:i,oldIndex:a.inArray(i,d.columns),newIndex:j});e(j,i);b.trigger(d.element,"repaint")}}})}})(jQuery); \ No newline at end of file diff --git a/NzbDrone.Web/Scripts/2010.3.1318/telerik.grid.resizing.min.js b/NzbDrone.Web/Scripts/2010.3.1318/telerik.grid.resizing.min.js new file mode 100644 index 000000000..0d3bf71f0 --- /dev/null +++ b/NzbDrone.Web/Scripts/2010.3.1318/telerik.grid.resizing.min.js @@ -0,0 +1 @@ +(function(a){var b=a.telerik;b.resizing={};b.resizing.initialize=function(p){var c,o=a('
    '),i,d,h,l=3;function m(q,r){a("th, th .t-grid-filter, th .t-link",q).add(document.body).css("cursor",r)}function k(q){var r=0;a(".t-grouping-header, .t-grid-toolbar, > .t-pager-wrapper",q).each(function(){r+=this.offsetHeight});return r}function e(t){var r=0;a(".t-resize-handle",p.element).each(function(){r+=a(this).data("th").outerWidth();a(this).css("left",r-l)});r=-p.$tbody.closest(".t-grid-content").scrollLeft();t.prevAll("th").add(t).each(function(){r+=this.offsetWidth});var q=p.scrollable?a(".t-grid-content",p.element):a("tbody",p.element);var s=q.attr(p.scrollable?"clientWidth":"offsetWidth");if(r>=s){o.remove()}else{o.css({left:r,top:k(p.element),height:t.outerHeight()+q.attr(p.scrollable?"clientHeight":"offsetHeight")});if(!o.parent().length){o.appendTo(p.element)}}}function j(r){var q=r.$draggable.data("th");c=a("colgroup",p.element).find("col:eq("+q.index()+")");h=r.pageX;d=q.outerWidth();i=p.$tbody.outerWidth()}function g(q){var r=d+q.pageX-h;if(r>10){c.css("width",r);if(p.scrollable){p.$tbody.parent().add(p.$headerWrap.find("table")).add(p.$footerWrap.find("table")).css("width",i+q.pageX-h)}e(q.$draggable.data("th"))}}function f(s){o.remove();m(p.element,"");var r=s.$draggable.data("th");var q=r.outerWidth();if(p.onColumnResize&&q!=d){b.trigger(p.element,"columnResize",{column:p.columns[p.$columns().index(r)],oldWidth:d,newWidth:q})}return false}function n(){var r=0,q=p.element.id+"-column-resizing";var s=b.draggable.get(q);if(s){s._destroy()}p.$headerWrap.add(p.element).find("> .t-resize-handle").remove();p.$header.find(".t-header:visible:not(.t-group-cell)").each(function(){r+=this.offsetWidth;var t=a(this);a('
    ').css({left:r-l,top:p.scrollable?0:k(p.element),width:l*2}).appendTo(p.scrollable?p.$headerWrap:p.element).data("th",t).mousedown(function(){e(t);m(p.element,a(this).css("cursor"))}).mouseup(function(){m(p.element,"")})});new b.draggable({owner:p.element,selector:".t-resize-handle",scope:q,distance:0,start:j,drag:g,stop:f})}n();a(p.element).one("mouseenter",n).bind("repaint",n)}})(jQuery); \ No newline at end of file diff --git a/NzbDrone.Web/Scripts/2010.3.1318/telerik.list.min.js b/NzbDrone.Web/Scripts/2010.3.1318/telerik.list.min.js new file mode 100644 index 000000000..f6e4ce632 --- /dev/null +++ b/NzbDrone.Web/Scripts/2010.3.1318/telerik.list.min.js @@ -0,0 +1 @@ +(function(e){var a=e.telerik;var b=/\s+/;a.list={initialize:function(){this.previousValue=this.value();a.bind(this,{dataBinding:this.onDataBinding,dataBound:this.onDataBound,error:this.onError,open:this.onOpen,close:this.onClose,valueChange:this.onChange,load:this.onLoad});e(document.documentElement).bind("mousedown",e.proxy(function(h){var f=this.dropDown.$element;var g=f&&f.parent().length>0;if(e.contains(this.element,h.target)||(g&&e.contains(f.parent()[0],h.target))){return}this.trigger.change();this.trigger.close()},this))},common:function(){this.open=function(){if(this.data.length==0){return}var h=this.$element;var f=this.dropDown;var g={offset:h.offset(),outerHeight:h.outerHeight(),outerWidth:h.outerWidth(),zIndex:a.getElementZIndex(h[0])};if(f.$items){f.open(g)}else{this.fill(function(){f.open(g)})}};this.close=function(){this.dropDown.close()};this.dataBind=function(h,f){this.data=h=(h||[]);var j=!!this.loader.isAjax();for(var g=0,k=h.length;g-1&&j0){m.filters[k](m,f,j);var g=m.filteredDataIndexes;if((g&&g.length>0)||(k==0&&m.selectedIndex!=-1)){s=false}}if(s){var p={};p[m.queryString.text]=j;m.loader.ajaxRequest(function(w){var v=m.trigger;var x=m.dropDown;if(w&&w.length==0){x.close();x.dataBind();return}if(m.encoded){for(var t=0,y=w.length;t0){if(!x.isOpened()){v.open()}m.filtering.autoFill(m,u.first().text())}else{v.close()}},{data:p})}}else{s=false;m.filters[k](m,m.data,j)}if(!s){var r=l.$items;var h=r.length;var i=m.selectedIndex;var n=k==0?i!=-1?r[i].innerText||r[i].textContent:"":r.length>0?r.first().text():"";this.autoFill(m,n);if(h==0){o.close()}else{if(!l.isOpened()){o.open()}}}};this.multiple=function(f){return f}},filters:function(){this.filters=[function f(g,k,n){if(!k||k.length==0){return}var l=g.dropDown;var j=l.$items;if(j.length==0||g.loader.isAjax()){l.dataBind(k);j=l.$items}for(var h=0,m=k.length;h .t-dropdown-wrap .t-icon").addClass("t-loading")},this),100)},this.hideBusy=function(){clearTimeout(this.busyTimeout);this.component.$element.find("> .t-dropdown-wrap .t-icon").removeClass("t-loading")}},trigger:function(f){this.component=f;this.change=function(){var l=f.data;var n=f.text();var o=n.toLowerCase();var m=f.previousValue;if(l){for(var h=0,k=l.length;h0)&&!g.isOpened()&&!a.trigger(f.element,"open")){f.open()}};this.close=function(){if(!f.dropDown.$element.is(":animated")&&f.dropDown.isOpened()&&!a.trigger(f.element,"close")){f.close()}}},highlightFirstOnFilter:function(g,f){if(g.highlightFirst){f.first().addClass("t-state-selected");g.dropDown.scrollTo(f[0])}},moveToEnd:function(f){if(f.createTextRange){var g=f.createTextRange();g.moveStart("textedit",1);g.select()}},selection:function(f,i,g){if(f.createTextRange){var h=f.createTextRange();h.collapse(true);h.moveStart("character",i);h.moveEnd("character",g-i);h.select()}else{if(f.selectionStart){f.selectionStart=i;f.selectionEnd=g}}},updateTextAndValue:function(g,h,f){g.text(h);if(f==null){g.$input.val(h)}else{g.$input.val(f)}},getZIndex:function(f){var g="auto";e(f).parents().andSelf().each(function(){g=e(this).css("zIndex");if(Number(g)){g=Number(g)+1;return false}});return g},keycodes:[8,9,13,27,37,38,39,40,35,36,46]};function d(f,g){return function(i,m,n){if(!m||m.length==0){return}var l=e.map(m,function(p,o){if(g(n,p.Text||p)){return o}});var k=l.length;var h=new RegExp("(?![^&;]+;)(?!<[^<>]*)("+n.replace(/([\^\$\(\)\[\]\{\}\*\.\+\?\|\\])/gi,"\\$1")+")(?![^<>]*>)(?![^&;]+;)",f?"ig":"i");i.filteredDataIndexes=l;i.selectedIndex=-1;i.dropDown.onItemCreate=function(o){if(n){o.html=o.html.replace(h,"$1")}};i.dropDown.dataBind(e.map(l,function(p,o){return m[p]}));var j=i.dropDown.$items;j.removeClass("t-state-selected");a.list.highlightFirstOnFilter(i,j)}}function c(f,h,k){if(!f||!h){return null}var l=k.length;k=k.toLowerCase();for(var g=0,j=f.length;g .t-dropdown-wrap > .t-input");this.$input=this.$element.find("input:last");this.dropDown=new a.dropDown({attr:this.dropDownAttr,effects:this.effects,onClick:e.proxy(function(m){this.select(m.item);this.trigger.change();this.trigger.close()},this)});this.dropDown.$element.css("direction",h.closest(".t-rtl").length?"rtl":"");this.fill=function(p){function o(r){var q;var t=r.selectedValue||r.value();if(t){q=function(x){return t==(x.Value||x.Text)}}else{var s=r.dropDown.$items;var v=r.index;var u=s.filter(".t-state-selected");var w=u.length;q=v!=-1&&v0?w-1:0}r.select(q)}var m=this.dropDown;var n=this.loader;if(!m.$items&&!n.ajaxError){if(n.isAjax()){n.ajaxRequest(function(q){this.dataBind(q);o(this);a.trigger(this.element,"dataBound");this.trigger.change();if(p){p()}})}else{this.dataBind(this.data);o(this);if(p){p()}}}};this.enable=function(){h.removeClass("t-state-disabled").bind({keydown:e.proxy(k,this),keypress:e.proxy(l,this),click:e.proxy(function(o){var n=this.trigger;var m=this.dropDown;h.focus();if(m.isOpened()){n.close()}else{if(!m.$items){this.fill(n.open)}else{n.open()}}},this)})};this.disable=function(){h.addClass("t-state-disabled").unbind("click")};this.reload=function(){this.dropDown.$items=null;this.fill()};this.select=function(n){var m=this.highlight(n);if(m==-1){return m}this.selectedIndex=m;a.list.updateTextAndValue(this,this.data[m].Text,this.data[m].Value)};this.text=function(m){if(m!==undefined){this.$text.html(m&&m.replace(b,"")?m:" ")}else{return this.$text.html()}};this.value=function(n){if(n!==undefined){var m=this.select(function(o){return n==o.Value});if(m==-1){m=this.select(function(o){return n==o.Text})}if(m!=-1){this.previousValue=n}}else{return this.$input.val()}};a.list.common.call(this);a.list.initialize.call(this);this[this.enabled?"enable":"disable"]();function j(){clearTimeout(this.timeout);this.timeout=setTimeout(e.proxy(function(){i=""},this),1000)}function k(s){var p=this.trigger;var n=this.dropDown;var q=s.keyCode||s.which;if(s.altKey&&q==38){p.close();return}if(s.altKey&&q==40){p.open();return}if(q>34&&q<41){s.preventDefault();if(!n.$items){this.fill();return}var o=n.$items;var r=e(o[this.selectedIndex]);var m=(q==35)?o.last():(q==36)?o.first():(q==37||q==38)?r.prev():(q==39||q==40)?r.next():[];if(m.length){var t=m[0];this.select(t);n.scrollTo(t);if(!n.isOpened()){p.change()}}}if(q==8){j();s.preventDefault();i=i.slice(0,-1)}if(q==9||q==13||q==27){p.change();p.close()}}function l(q){var m=this.dropDown;var n=q.keyCode||q.charCode;if(n==0||e.inArray(n,a.list.keycodes)!=-1||q.ctrlKey||q.altKey||q.shiftKey){return}if(!m.$items){this.fill();return}var o=i;o+=String.fromCharCode(n);if(o){var p=c(this.data,m.$items,o);if(p){this.select(p);m.scrollTo(p)}i=o}j()}};e.fn.tDropDownList=function(f){return a.create(this,{name:"tDropDownList",init:function(g,h){return new a.dropDownList(g,h)},options:f})};e.fn.tDropDownList.defaults={effects:a.fx.slide.defaults(),accessible:false,index:0,enabled:true,encoded:true}})(jQuery); \ No newline at end of file diff --git a/NzbDrone.Web/Scripts/2010.3.1318/telerik.menu.min.js b/NzbDrone.Web/Scripts/2010.3.1318/telerik.menu.min.js new file mode 100644 index 000000000..8aa3a61e4 --- /dev/null +++ b/NzbDrone.Web/Scripts/2010.3.1318/telerik.menu.min.js @@ -0,0 +1 @@ +(function(d){var a=d.telerik;a.menu=function(e,f){this.element=e;this.nextItemZIndex=100;d.extend(this,f);d(".t-item:not(.t-state-disabled)",e).live("mouseenter",a.delegate(this,this.mouseenter),true).live("mouseleave",a.delegate(this,this.mouseleave),true).live("click",a.delegate(this,this.click));d(".t-item:not(.t-state-disabled) > .t-link",e).live("mouseenter",a.hover).live("mouseleave",a.leave);d(document).click(a.delegate(this,this.documentClick));a.bind(this,{select:this.onSelect,open:this.onOpen,close:this.onClose,load:this.onLoad})};function b(e){var f=e.parent();return{direction:f.hasClass("t-menu")?f.hasClass("t-menu-vertical")?"right":"bottom":"right"}}function c(f,g){try{return d.contains(f,g)}catch(h){return false}}a.menu.prototype={toggle:function(f,e){d(f).each(function(){d(this).toggleClass("t-state-default",e).toggleClass("t-state-disabled",!e)})},enable:function(e){this.toggle(e,true)},disable:function(e){this.toggle(e,false)},open:function(f){var e=this;d(f).each(function(){var g=d(this);clearTimeout(g.data("timer"));g.data("timer",setTimeout(function(){var h=g.find(".t-group:first");if(h.length){a.fx.play(e.effects,h,b(g));g.css("z-index",e.nextItemZIndex++)}},100))})},close:function(f){var e=this;d(f).each(function(h,i){var g=d(i);clearTimeout(g.data("timer"));g.data("timer",setTimeout(function(){var j=g.find(".t-group:first");if(j.length){a.fx.rewind(e.effects,j,b(g),function(){g.css("zIndex","");if(d(e.element).find(".t-group:visible").length==0){e.nextItemZIndex=100}});j.find(".t-group").stop(false,true)}},100))})},mouseenter:function(i,h){var g=d(h);if(!this.openOnClick||this.clicked){if(!c(h,i.relatedTarget)){this.triggerEvent("open",g);this.open(g);var f=g.parent().closest(".t-item")[0];if(f&&!c(f,i.relatedTarget)){this.mouseenter(i,f)}}}if(this.openOnClick&&this.clicked){this.triggerEvent("close",g);g.siblings().each(d.proxy(function(j,e){this.close(d(e))},this))}},mouseleave:function(i,h){if(!this.openOnClick&&!c(h,i.relatedTarget)){var g=d(h);this.triggerEvent("close",g);this.close(g);var f=g.parent().closest(".t-item")[0];if(f&&!c(f,i.relatedTarget)){this.mouseleave(i,f)}}},click:function(h,g){h.stopPropagation();var f=d(g);if(f.hasClass("t-state-disabled")){h.preventDefault();return}a.trigger(this.element,"select",{item:f[0]});if(!f.parent().hasClass("t-menu")||!this.openOnClick){return}h.preventDefault();this.clicked=true;this.triggerEvent("open",f);this.open(f)},documentClick:function(g,f){if(d.contains(this.element,g.target)){return}if(this.clicked){this.clicked=false;d(this.element).children(".t-item").each(d.proxy(function(e,h){this.close(d(h))},this))}},hasChildren:function(e){return e.find(".t-group:first").length},triggerEvent:function(e,f){if(this.hasChildren(f)){a.trigger(this.element,e,{item:f[0]})}}};d.fn.tMenu=function(e){return a.create(this,{name:"tMenu",init:function(f,g){return new a.menu(f,g)},options:e})};d.fn.tMenu.defaults={orientation:"horizontal",effects:a.fx.slide.defaults(),openOnClick:false}})(jQuery); \ No newline at end of file diff --git a/NzbDrone.Web/Scripts/2010.3.1318/telerik.panelbar.min.js b/NzbDrone.Web/Scripts/2010.3.1318/telerik.panelbar.min.js new file mode 100644 index 000000000..641357aec --- /dev/null +++ b/NzbDrone.Web/Scripts/2010.3.1318/telerik.panelbar.min.js @@ -0,0 +1 @@ +(function(c){var a=c.telerik,b={single:0,multi:1};c.extend(a,{panelbar:function(f,g){this.element=f;c.extend(this,g);var h=c(f),e=h.find("li.t-state-active > .t-content"),d=".t-item:not(.t-state-disabled) > .t-link";h.delegate(d,"click",c.proxy(this._click,this)).delegate(d,"mouseenter",a.hover).delegate(d,"mouseleave",a.leave).delegate(".t-item.t-state-disabled > .t-link","click",a.preventDefault);a.bind(this,{expand:this.onExpand,collapse:this.onCollapse,select:c.proxy(function(i){if(i.target==this.element&&this.onSelect){this.onSelect(i)}},this),error:this.onError,load:this.onLoad});if(this.contentUrls){h.find("> .t-item").each(c.proxy(function(i,j){c(j).find(".t-link").data("ContentUrl",this.contentUrls[i])},this))}if(e.length>0&&e.is(":empty")){this.expand(e.parent())}}});a.panelbar.prototype={expand:function(d){c(d).each(c.proxy(function(f,g){var e=c(g);if(!e.hasClass(".t-state-disabled")&&e.find("> .t-group, > .t-content").length>0){if(this.expandMode==b.single&&this._collapseAllExpanded(e)){return}this._toggleItem(e,false,null)}},this))},collapse:function(d){c(d).each(c.proxy(function(f,g){var e=c(g);if(!e.hasClass(".t-state-disabled")&&e.find("> .t-group, > .t-content").is(":visible")){this._toggleItem(e,true,null)}},this))},toggle:function(e,d){c(e).each(function(){c(this).toggleClass("t-state-default",d).toggleClass("t-state-disabled",!d)})},enable:function(d){this.toggle(d,true)},disable:function(d){this.toggle(d,false)},_click:function(m){var f=c(m.target),g=this.element;if(f.closest(".t-widget")[0]!=g){return}var d=f.closest(".t-link"),j=d.closest(".t-item");c(".t-state-selected",g).removeClass("t-state-selected");d.addClass("t-state-selected");if(a.trigger(g,"select",{item:j[0]})){m.preventDefault()}var l=j.find("> .t-content, > .t-group"),h=d.attr("href"),k=d.data("ContentUrl")||(h&&(h.charAt(h.length-1)=="#"||h.indexOf("#"+g.id+"-")!=-1));if(k||l.length>0){m.preventDefault()}else{return}if(this.expandMode==b.single){if(this._collapseAllExpanded(j)){return}}if(l.length!=0){var i=l.is(":visible");if(!a.trigger(g,!i?"expand":"collapse",{item:j[0]})){this._toggleItem(j,i,m)}}},_toggleItem:function(f,h,i){var j=f.find("> .t-group");if(j.length){this._toggleGroup(j,h);if(i!=null){i.preventDefault()}}else{var g=f.parent().children().index(f),d=f.find("> .t-content");if(d.length){if(i!=null){i.preventDefault()}if(!d.is(":empty")){this._toggleGroup(d,h)}else{this._ajaxRequest(f,d,h)}}}},_toggleGroup:function(d,e){if(d.data("animating")){return}d.data("animating",true).parent().toggleClass("t-state-default",e).toggleClass("t-state-active",!e).find("> .t-link > .t-icon").toggleClass("t-arrow-up",!e).toggleClass("t-panelbar-collapse",!e).toggleClass("t-arrow-down",e).toggleClass("t-panelbar-expand",e);a.fx[!e?"play":"rewind"](this.effects,d,null,function(){d.data("animating",false)})},_collapseAllExpanded:function(d){if(d.find("> .t-link").hasClass("t-header")){if(d.find("> .t-content, > .t-group").is(":visible")||d.find("> .t-content, > .t-group").length==0){return true}else{c(this.element).children().find("> .t-content, > .t-group").filter(function(){return c(this).is(":visible")}).each(c.proxy(function(f,e){this._toggleGroup(c(e),true)},this))}}},_ajaxRequest:function(f,d,h){var i=f.find(".t-panelbar-collapse, .t-panelbar-expand"),e=f.find(".t-link"),g=setTimeout(function(){i.addClass("t-loading")},100),j={};c.ajax({type:"GET",cache:false,url:e.data("ContentUrl")||e.attr("href"),dataType:"html",data:j,error:c.proxy(function(l,k){if(a.ajaxError(this.element,"error",l,k)){return}},this),complete:function(){clearTimeout(g);i.removeClass("t-loading")},success:c.proxy(function(k,l){d.html(k);this._toggleGroup(d,h)},this)})}};c.fn.tPanelBar=function(d){return a.create(this,{name:"tPanelBar",init:function(e,f){return new a.panelbar(e,f)},options:d})};c.fn.tPanelBar.defaults={effects:a.fx.property.defaults("height")}})(jQuery); \ No newline at end of file diff --git a/NzbDrone.Web/Scripts/2010.3.1318/telerik.tabstrip.min.js b/NzbDrone.Web/Scripts/2010.3.1318/telerik.tabstrip.min.js new file mode 100644 index 000000000..d6406d7a8 --- /dev/null +++ b/NzbDrone.Web/Scripts/2010.3.1318/telerik.tabstrip.min.js @@ -0,0 +1 @@ +(function(a){var b=a.telerik;b.tabstrip=function(c,d){this.element=c;var f=a(c);this.$contentElements=f.find("> .t-content");a.extend(this,d);if(this.contentUrls){f.find(".t-tabstrip-items > .t-item").each(a.proxy(function(i,j){a(j).find(".t-link").data("ContentUrl",this.contentUrls[i])},this))}var h=".t-tabstrip-items > .t-item:not(.t-state-disabled)";f.delegate(h,"mouseenter",b.hover).delegate(h,"mouseleave",b.leave).delegate(h,d.activateEvent,b.delegate(this,this._click)).delegate(".t-tabstrip-items > .t-state-disabled .t-link","click",b.preventDefault);b.bind(this,{select:a.proxy(function(i){if(i.target==this.element&&this.onSelect){this.onSelect(i)}},this),contentLoad:this.onContentLoad,error:this.onError,load:this.onLoad});var g=f.find("li.t-state-active"),e=a(this.getContentElement(g.parent().children().index(g)));if(e.length>0&&e[0].childNodes.length==0){this.activateTab(g.eq(0))}};a.extend(b.tabstrip.prototype,{select:function(c){a(c).each(a.proxy(function(e,f){var d=a(f);if(d.is(".t-state-disabled,.t-state-active")){return}this.activateTab(d)},this))},enable:function(c){a(c).addClass("t-state-default").removeClass("t-state-disabled")},disable:function(c){a(c).removeClass("t-state-default").removeClass("t-state-active").addClass("t-state-disabled")},reload:function(d){var c=this;a(d).each(function(){var f=a(this),e=f.find(".t-link").data("ContentUrl");if(e){c.ajaxRequest(f,a(c.getContentElement(f.index())),null,e)}})},_click:function(j,f){var h=a(f),c=h.find(".t-link"),d=c.attr("href"),g=a(this.getContentElement(h.index()));if(h.is(".t-state-disabled,.t-state-active")){j.preventDefault();return}if(b.trigger(this.element,"select",{item:h[0],contentElement:g[0]})){j.preventDefault()}var i=c.data("ContentUrl")||(d&&(d.charAt(d.length-1)=="#"||d.indexOf("#"+this.element.id+"-")!=-1));if(!d||i||(g.length>0&&g[0].childNodes.length==0)){j.preventDefault()}else{return}if(this.activateTab(h)){j.preventDefault()}},activateTab:function(d){var f=d.parent().children().removeClass("t-state-active").addClass("t-state-default").index(d);d.removeClass("t-state-default").addClass("t-state-active");var g=this.$contentElements;if(g.length==0){return false}var j=g.filter(".t-state-active");var e=a(this.getContentElement(f));var h=this;if(e.length==0){j.removeClass("t-state-active");b.fx.rewind(h.effects,j,{});return false}var c=e.is(":empty"),i=function(){e.addClass("t-state-active");b.fx.play(h.effects,e,{})};j.removeClass("t-state-active").stop(false,true);b.fx.rewind(h.effects,j,{},function(){if(d.hasClass("t-state-active")){if(!c){i()}else{h.ajaxRequest(d,e,function(){if(d.hasClass("t-state-active")){i()}})}}});return true},getSelectedTabIndex:function(){return a(this.element).find("li.t-state-active").index()},getContentElement:function(g){if(isNaN(g-0)){return}var c=this.$contentElements,e=new RegExp("-"+(g+1)+"$");for(var d=0,f=c.length;d').prependTo(d)},100);a.ajax({type:"GET",cache:false,url:g||d.data("ContentUrl")||d.attr("href"),dataType:"html",data:c,error:a.proxy(function(l,k){if(b.ajaxError(this.element,"error",l,k)){return}},this),complete:function(){clearTimeout(h);if(i!==null){i.remove()}},success:a.proxy(function(k,l){e.html(k);if(j){j.call(this,e)}b.trigger(this.element,"contentLoad",{item:f[0],contentElement:e[0]})},this)})}});a.fn.tTabStrip=function(c){return b.create(this,{name:"tTabStrip",init:function(d,e){return new b.tabstrip(d,e)},options:c})};a.fn.tTabStrip.defaults={activateEvent:"click",effects:b.fx.toggle.defaults()}})(jQuery); \ No newline at end of file diff --git a/NzbDrone.Web/Scripts/2010.3.1318/telerik.textbox.min.js b/NzbDrone.Web/Scripts/2010.3.1318/telerik.textbox.min.js new file mode 100644 index 000000000..6c3698eb2 --- /dev/null +++ b/NzbDrone.Web/Scripts/2010.3.1318/telerik.textbox.min.js @@ -0,0 +1 @@ +(function(d){var g=d.telerik,a=[8,9,37,38,39,40,46,35,36,44];g.textbox=function(h,i){this.element=h;d.extend(this,i);var k=d(".t-input",h);this.enabled=!k.is("[disabled]");var q=new g.stringBuilder();q.cat("[ |").cat(this.groupSeparator).catIf("|"+this.symbol,this.symbol).cat("]");this.replaceRegExp=new RegExp(q.string(),"g");var o=d.browser.msie?"paste":"input";var l=k.attr("value");var p=d("",d.extend({id:k.attr("id")+"-text",name:k.attr("name")+"-text",value:(l||this.enabled?this.text:""),"class":k.attr("class"),style:k.attr("style")},this.inputAttributes)).addClass("t-input");if(this.enabled){p.attr("disabled",true)}p.bind({blur:d.proxy(this.blur,this),focus:d.proxy(this.focus,this),keydown:d.proxy(this.keydown,this),keypress:d.proxy(this.keypress,this),change:function(r){r.stopPropagation()}}).bind(o,d.proxy(this[o],this)).insertBefore(k);var m=d.browser.msie?"propertychange":"DOMAttrModified";k.hide().appendTo(h).bind(m,function(t){var r="class";var s=k.attr(r);if(s!=p.attr(r)){p.attr(r,s)}});var j=d(".t-arrow-up, .t-arrow-down",h).bind({click:g.preventDefault,dragstart:g.preventDefault});this[this.enabled?"enable":"disable"]();this.numFormat=this.numFormat===undefined?this.type.charAt(0):this.numFormat;var n=this.separator;this.step=this.parse(this.step,n);this.val=this.parse(this.val,n);this.minValue=this.parse(this.minValue,n);this.maxValue=this.parse(this.maxValue,n);this.decimals={"190":".","188":",","110":n};if(l!=""){this.value(l)}g.bind(this,{change:this.onChange,load:this.onLoad})};g.textbox.prototype={enable:function(){var i=d(this.element),k=i.find(".t-input"),j=i.find(".t-arrow-up, .t-arrow-down"),h=d.proxy(this.clearTimer,this);this.enabled=true;i.removeClass("t-state-disabled");k.removeAttr("disabled");if(!this.val&&this.val!=0){k.eq(0).val(this.text)}j.unbind("mouseup").unbind("mouseout").unbind("dblclick").bind({mouseup:h,mouseout:h,dblclick:h});d(j[0]).unbind("mousedown").mousedown(d.proxy(function(l){this.updateState();this.stepper(l,1)},this));d(j[1]).unbind("mousedown").mousedown(d.proxy(function(l){this.updateState();this.stepper(l,-1)},this))},disable:function(){var h=d(this.element);this.enabled=false;h.addClass("t-state-disabled").find(".t-input").attr("disabled","disabled").end().find(".t-icon").unbind("mousedown").bind("mousedown",g.preventDefault);if(!this.val&&this.val!=0){h.find(".t-input:first").val("")}},updateState:function(){var h=d("> .t-input:first",this.element).val();if(this.val!=this.parse(h,this.separator)){this.parseTrigger(h)}},input:function(k,i){var h=d(i).val();if(h=="-"){return true}var j=this.parse(h,this.separator);if(j||j==0){this.trigger(this.round(j,this.digits))}},paste:function(l,h){var i=d(h).val();var j=h.document.selection.createRange().text;var m=window.clipboardData.getData("Text");if(j&&j.length>0){i=i.replace(j,m)}else{i+=m}var k=this.parse(i,this.separator);if(k||k==0){this.trigger(this.round(k,this.digits))}},focus:function(h){this.focused=true;this.updateState();var i=this.formatEdit(this.val);d(h.target).val(i||(i==0?0:""));if(!d.browser.safari){h.target.select()}},blur:function(l){this.focused=false;var h=this.minValue;var k=this.maxValue;var i=d(l.target);var j=this.parse(i.val(),this.separator);if(j!=null){if(h!=null&&jk){j=k}}}i.removeClass("t-state-error");this.parseTrigger(j);this.value(j)},keydown:function(l){var h=l.keyCode,i=d(l.target),j=this.separator;setTimeout(d.proxy(function(){i.toggleClass("t-state-error",!this.inRange(this.parse(i.val(),this.separator),this.minValue,this.maxValue))},this));var k=this.decimals[h];if(k){if(k==j&&this.digits>0&&g.caretPos(i[0])!=0&&i.val().indexOf(j)==-1){return true}else{l.preventDefault()}}if(h==8||h==46){setTimeout(d.proxy(function(){this.parseTrigger(i.val())},this));return true}if(h==38||h==40){this.modifyInput(i,this.step*(h==38?1:-1));return true}if(h==222){l.preventDefault()}},keypress:function(i){var j=d(i.target),h=i.keyCode||i.which;if(h==0||d.inArray(h,a)!=-1||i.ctrlKey||(i.shiftKey&&h==45)){return true}if(((this.minValue!==null?this.minValue<0:true)&&String.fromCharCode(h)=="-"&&g.caretPos(j[0])==0&&j.val().indexOf("-")==-1)||this.inRange(h,48,57)){setTimeout(d.proxy(function(){this.parseTrigger(j.val())},this));return true}i.preventDefault()},clearTimer:function(h){clearTimeout(this.timeout);clearInterval(this.timer);clearInterval(this.acceleration)},stepper:function(k,h){if(k.which==1){var i=d(".t-input:first",this.element),j=this.step;this.modifyInput(i,h*j);this.timeout=setTimeout(d.proxy(function(){this.timer=setInterval(d.proxy(function(){this.modifyInput(i,h*j)},this),80);this.acceleration=setInterval(function(){j+=1},1000)},this),200)}},value:function(h){if(arguments.length==0){return this.val}var j=(typeof h===typeof 1)?h:this.parse(h,this.separator);if(!this.inRange(j,this.minValue,this.maxValue)){j=null}var i=j===null;var k=this.enabled?this.text:"";this.val=j;d(this.element).find(".t-input:last").val(i?"":this.formatEdit(j)).end().find(".t-input:first").val(i?k:this.format(j));return this},modifyInput:function(i,h){var k=this.val,l=this.minValue,n=this.maxValue;k=k?k+h:h;k=(l!==null&&kn)?n:k;var j=this.round(k,this.digits);this.trigger(j);var m=this.focused?this.formatEdit(j):this.format(j);i.removeClass("t-state-error").val(m)},formatEdit:function(i){var h=this.separator;if(i&&h!="."){i=i.toString().replace(".",h)}return i},format:function(h){return g.textbox.formatNumber(h,this.numFormat,this.digits,this.separator,this.groupSeparator,this.groupSize,this.positive,this.negative,this.symbol,true)},trigger:function(h){if(this.val!=h){if(g.trigger(this.element,"change",{oldValue:this.val,newValue:h})){return}d(".t-input:last",this.element).val(this.formatEdit(h));this.val=h}},parseTrigger:function(h){this.trigger(this.round(this.parse(h,this.separator),this.digits))},inRange:function(j,h,i){return j===null||((h!==null?j>=h:true)&&(i!==null?j<=i:true))},parse:function(h,j){var i=null;if(h||h=="0"){if(typeof h==typeof 1){return h}h=h.replace(this.replaceRegExp,"");if(j&&j!="."){h=h.replace(j,".")}var l=d.fn.tTextBox.patterns[this.type].negative[this.negative].replace(/(\(|\))/g,"\\$1").replace("*","").replace("n","([\\d|\\.]*)"),k=new RegExp(l);if(k.test(h)){i=-parseFloat(k.exec(h)[1])}else{i=parseFloat(h)}}return isNaN(i)?null:i},round:function(i,h){if(i||i==0){return parseFloat(i.toFixed(h||2))}return null}};d.fn.tTextBox=function(j){var i=j.type,h=d.fn.tTextBox.defaults[i];h.digits=g.cultureInfo[i+"decimaldigits"];h.separator=g.cultureInfo[i+"decimalseparator"];h.groupSeparator=g.cultureInfo[i+"groupseparator"];h.groupSize=g.cultureInfo[i+"groupsize"];h.positive=g.cultureInfo[i+"positive"];h.negative=g.cultureInfo[i+"negative"];h.symbol=g.cultureInfo[i+"symbol"];j=d.extend({},h,j);return this.each(function(){var k=d(this);j=d.meta?d.extend({},j,k.data()):j;if(!k.data("tTextBox")){k.data("tTextBox",new g.textbox(this,j));g.trigger(this,"load")}})};var f={val:null,text:"",step:1,inputAttributes:""};d.fn.tTextBox.defaults={numeric:d.extend(f,{minValue:-100,maxValue:100}),currency:d.extend(f,{minValue:0,maxValue:1000}),percent:d.extend(f,{minValue:0,maxValue:100})};d.fn.tTextBox.patterns={numeric:{negative:["(n)","-n","- n","n-","n -"]},currency:{positive:["*n","n*","* n","n *"],negative:["(*n)","-*n","*-n","*n-","(n*)","-n*","n-*","n*-","-n *","-* n","n *-","* n-","* -n","n- *","(* n)","(n *)"]},percent:{positive:["n *","n*","*n"],negative:["-n *","-n*","-*n"]}};if(!g.cultureInfo.numericnegative){d.extend(g.cultureInfo,{currencydecimaldigits:2,currencydecimalseparator:".",currencygroupseparator:",",currencygroupsize:3,currencynegative:0,currencypositive:0,currencysymbol:"$",numericdecimaldigits:2,numericdecimalseparator:".",numericgroupseparator:",",numericgroupsize:3,numericnegative:1,percentdecimaldigits:2,percentdecimalseparator:".",percentgroupseparator:",",percentgroupsize:3,percentnegative:0,percentpositive:0,percentsymbol:"%"})}var c=/[0#?]/;function b(h){return h.split("").reverse().join("")}function e(n,h,q){var k=0,l=0,p=h.length,r=n.length,u=new g.stringBuilder();while(k=0){if(h.charAt(k).match(c)){u.cat(n.charAt(l++))}else{u.cat(h.charAt(k))}k++}u.catIf(n.substring(l),l-1){s=t.indexOf("0")}if(s>-1){var m=t.slice(0,s),o=t.slice(s,t.length);t=m.replace(/#/g,"")+o.replace(/#/g,"0")}else{t=t.replace(/#/g,"")}if(t.indexOf(",")==0){t=t.replace(/,/g,"")}return q?t:b(t)}g.textbox.formatNumber=function(K,n,s,u,i,Q,o,q,M,F){if(!n){return K}var P,G,L,m,J=K<0;n=n.split(":");n=n.length>1?n[1].replace("}",""):n[0];var l=n.search(c)!=-1;if(l){n=n.split(";");G=n[0];L=n[1];m=n[2];n=(J&&L?L:G).indexOf("%")!=-1?"p":"n"}switch(n.toLowerCase()){case"d":return Math.round(K).toString();case"c":P="currency";break;case"n":P="numeric";break;case"p":P="percent";if(!F){K=Math.abs(K)*100}break;default:return K.toString()}var z=function(T,R,S){for(var U=T.length;U1?C[1]:"";var h=g.lastIndexOf(A,"0");var x=g.lastIndexOf(A,"#");var s=(x>h?x:h)+1}var B=Math.pow(10,s);var N=(Math.round(K*B)/B);K=isFinite(N)?N:K;var v=K.toString().split(/e/i);y=v.length>1?parseInt(v[1]):0;v=v[0].split(".");j=v[0];j=J?j.replace("-",""):j;r=v.length>1?v[1]:"";if(y){if(!J){r=z(r,y,false);j+=r.slice(0,y);r=r.substr(y)}else{j=z(j,y+1,true);r=j.slice(y,j.length)+r;j=j.slice(0,y)}}var O=r.length;if(s<1||(l&&h==-1&&O===0)){r=""}else{r=O>s?r.slice(0,s):z(r,s,false)}var k;if(l){if(j==0){j=""}j=e(b(j),b(w),true);j=w.indexOf(",")!=-1?I(j,i,Q):j;r=r&&A?e(r,A):"";k=K===0&&m?m:(J&&!L?"-":"")+j+(r.length>0?u+r:"")}else{j=I(j,i,Q);H=H[P];var t=J?H.negative[q]:M?H.positive[o]:null;var p=j+(r.length>0?u+r:"");k=t?t.replace("n",p).replace("*",M):p}return k};d.extend(g.formatters,{number:g.textbox.formatNumber})})(jQuery); \ No newline at end of file diff --git a/NzbDrone.Web/Scripts/2010.3.1318/telerik.timepicker.min.js b/NzbDrone.Web/Scripts/2010.3.1318/telerik.timepicker.min.js new file mode 100644 index 000000000..1dffa57d2 --- /dev/null +++ b/NzbDrone.Web/Scripts/2010.3.1318/telerik.timepicker.min.js @@ -0,0 +1 @@ +(function(a){var b=a.telerik;b.timeView=function(c){a.extend(this,c);var d=this.dropDown=new b.dropDown({attr:this.dropDownAttr,effects:this.effects,onClick:function(f){var g=f.item;c.onChange(g.innerText||g.textContent)}});d.$element.addClass("t-time-popup").css("direction",this.isRtl?"rtl":"")};b.timeView.prototype={_ensureItems:function(){if(!this.dropDown.$items){this.bind()}},open:function(c){this._ensureItems();this.dropDown.open(c)},close:function(){this.dropDown.close()},bind:function(){var j=b.timeView.getTimeMilliseconds;var g=[];var c=this.format;var n=this.interval;var p=this.minValue;var d=j(p);var f=j(this.maxValue);var l=n*b.datetime.msPerMinute;var k=parseInt(b.datetime.msPerDay/(n*b.datetime.msPerMinute));if(d!=f){var o=di?i+d:i;h=e>h?h+d:h;return e-h==0||i>=e&&i<=h},getTimeMilliseconds:function(c){return((c.hours()*60)+c.minutes())*b.datetime.msPerMinute+c.seconds()*1000+c.milliseconds()}});b.timepicker=function(d,e){a.extend(this,e);this.element=d;this.$element=a(d);var f=this.$input=a(".t-input",d).attr("autocomplete","off").bind({change:function(g){g.stopPropagation()},keydown:a.proxy(this._keydown,this),focus:a.proxy(function(g){this._change(f.val());this._open();this.$input.removeClass("t-state-error")},this)});this.timeView=new b.timeView({effects:this.effects,dropDownAttr:this.dropDownAttr,format:this.format,interval:this.interval,isRtl:f.closest(".t-rtl").length,minValue:this.minValue,maxValue:this.maxValue,onNavigateWithOpenPopup:a.proxy(function(g){this.$input.val(g)},this),onChange:a.proxy(function(g){this._change(g);this._close()},this)});this.inputValue=f.val();var c=this.selectedValue||this.inputValue;if(c){this._value(this.parse(c))}a(".t-icon",d).bind("click",this.enabled?a.proxy(this._togglePopup,this):b.preventDefault);a(document.documentElement).bind("mousedown",a.proxy(function(i){var g=this.timeView.dropDown.$element;var h=g&&g.parent().length>0;if(!h||a.contains(this.element,i.target)||a.contains(g.parent()[0],i.target)){return}this._change(this.$input.val());this._close()},this));b.bind(this,{open:this.onOpen,close:this.onClose,change:this.onChange,load:this.onLoad})};b.timepicker.prototype={_close:function(){var c=this.timeView.dropDown;if(!c.$element.is(":animated")&&c.isOpened()){this._trigger("close")}},_open:function(){if(!this.timeView.isOpened()){this._trigger("open")}},_trigger:function(c){if(!b.trigger(this.element,c)){this[c]()}},_togglePopup:function(){if(this.timeView.isOpened()){this._change(this.$input.val());this._close()}else{this.$input[0].focus()}},_change:function(c){var k=this.minValue;var e=this.maxValue;var i=this.parse(c);var m=this.selectedValue;if(!b.timeView.isInRange(i,k,e)){var d=b.timeView.getTimeMilliseconds;var h=d(i);var f=d(k);var l=d(e);var j=Math.abs(f-h);var g=Math.abs(l-h);i=new b.datetime(ji.value||i.value>m.value))){b.trigger(this.element,"change",{previousValue:m===null?null:m.toDate(),value:i===null?null:i.toDate()})}}},_value:function(c){var e=this.$input.val();var d=c===null;this.selectedValue=c;this.timeView.value(d?null:b.datetime.format(c.toDate(),this.format));if(!d){e=b.datetime.format(c.toDate(),this.format)}this.inputValue=e;this.$input.toggleClass("t-state-error",d&&e!="").val(e)},_keydown:function(h){var f=h.keyCode||h.which;var d=h.target.value;var c=this.timeView.dropDown;if(h.altKey){if(f==40){this._open()}else{if(f==38){this._close()}}}if(!h.shiftKey&&f==38||f==40){this.timeView.navigate(h)}if(f==9||f==13||f==27){if(c.isOpened()&&f!=9){h.preventDefault()}var i;var g=this.timeView.value();if(this.inputValue!=d||!g){i=d}else{i=g}this._change(i);this._close()}},enable:function(){this.$input.attr("disabled",false);this.$element.removeClass("t-state-disabled").find(".t-icon").unbind("click").bind("click",a.proxy(this._togglePopup,this))},disable:function(c){this.$input.attr("disabled",true);this.$element.addClass("t-state-disabled").find(".t-icon").unbind("click").bind("click",b.preventDefault)},value:function(c){if(c===undefined){return this.selectedValue===null?null:this.selectedValue.toDate()}var d=this.parse(c);d=b.timeView.isInRange(d,this.minValue,this.maxValue)?d:null;if(d===null){this.$input.removeClass("t-state-error").val("")}this._value(d);return this},parse:function(c){if(c===null||c.value){return c}return c.getDate?new b.datetime(c):b.datetime.parse({AM:b.cultureInfo.AM,PM:b.cultureInfo.PM,value:c,format:this.format,baseDate:this.selectedValue?new b.datetime(this.selectedValue.value):new b.datetime()})},open:function(){var c=this.$input;this.timeView.open({offset:c.offset(),outerHeight:c.outerHeight(),outerWidth:c.outerWidth(),zIndex:b.getElementZIndex(c[0])})},close:function(){this.timeView.close()}};a.each(["min","max"],a.proxy(function(d,c){b.timepicker.prototype[c]=function(e){var f=c+"Value";if(e===undefined){return this[f].toDate()}var g=this.parse(e);if(g!==null){this[f]=g;this.timeView[c](g);if(!b.timeView.isInRange(this.selectedValue,this.minValue,this.maxValue)){this.value(g)}}}},this));a.fn.tTimePicker=function(c){return b.create(this,{name:"tTimePicker",init:function(d,e){return new b.timepicker(d,e)},options:c})};a.fn.tTimePicker.defaults={effects:b.fx.slide.defaults(),selectedValue:null,format:b.cultureInfo.shortTime,interval:30,enabled:true}})(jQuery); \ No newline at end of file diff --git a/NzbDrone.Web/Scripts/2010.3.1318/telerik.treeview.min.js b/NzbDrone.Web/Scripts/2010.3.1318/telerik.treeview.min.js new file mode 100644 index 000000000..5189ab77c --- /dev/null +++ b/NzbDrone.Web/Scripts/2010.3.1318/telerik.treeview.min.js @@ -0,0 +1 @@ +(function(c){var b=c.telerik;function a(d){d.find(".t-plus").each(function(){var e=c(this.parentNode);e.parent().data("loaded",e.next(".t-group").length>0)})}b.treeview=function(f,g){this.element=f;var h=c(f);c.extend(this,g);var d=".t-in:not(.t-state-selected,.t-state-disabled)";c(".t-in.t-state-selected",f).live("mouseenter",b.preventDefault);h.delegate(d,"mouseenter",b.hover).delegate(d,"mouseleave",b.leave).delegate(d,"click",b.delegate(this,this.nodeSelect)).delegate("div:not(.t-state-disabled) .t-in","dblclick",b.delegate(this,this.nodeClick)).delegate(":checkbox","click",b.delegate(this,this.checkboxClick)).delegate(".t-plus, .t-minus","click",b.delegate(this,this.nodeClick));if(this.isAjax()){a(h)}if(this.dragAndDrop){b.bind(this,{nodeDragStart:this.onNodeDragStart,nodeDragging:this.onNodeDragging,nodeDragCancelled:this.onNodeDragCancelled,nodeDrop:this.onNodeDrop,nodeDropped:this.onNodeDropped});(function(k){var i=c('
    ');var n;function j(o){if(b.trigger(k.element,"nodeDragStart",{item:o.$draggable.closest(".t-item")[0]})){return false}i.appendTo(k.element)}function l(w){var r;n=c(w.target);b.trigger(k.element,"nodeDragging",{pageY:w.pageY,pageX:w.pageX,dropTarget:w.target,setStatusClass:function(z){r=z},item:w.$draggable.closest(".t-item")[0]});if(r){i.css("visibility","hidden");b.dragCueStatus(w.$cue,r);return}r="t-insert-middle";if(k.dragAndDrop.dropTargets&&c(w.target).closest(k.dragAndDrop.dropTargets).length>0){b.dragCueStatus(w.$cue,"t-add");return}if(!c.contains(k.element,w.target)){i.css("visibility","hidden");return}else{if(c.contains(w.$draggable.closest(".t-item")[0],w.target)){i.css("visibility","hidden");b.dragCueStatus(w.$cue,"t-denied");return}}i.css("visibility","visible");var q=n.closest(".t-top,.t-mid,.t-bot");if(q.length>0){var v=q.outerHeight();var t=q.offset().top;var y=n.closest(".t-in");var x=v/(y.length>0?4:2);var u=w.pageY<(t+x);var o=(t+v-x)0&&!u&&!o;y.toggleClass("t-state-hover",p);i.css("visibility",p?"hidden":"visible");if(p){r="t-add"}else{var s=q.position();s.top+=u?0:v;i.css(s)[u?"prependTo":"appendTo"](n.closest(".t-item").find("> div:first"));r="t-insert-middle";if(u&&q.hasClass("t-top")){r="t-insert-top"}if(o&&q.hasClass("t-bot")){r="t-insert-bottom"}}}b.dragCueStatus(w.$cue,r)}function m(v){if(v.keyCode==27){b.trigger(k.element,"nodeDragCancelled",{item:v.$draggable.closest(".t-item")[0]})}else{var q="over",p;if(i.css("visibility")=="visible"){q=i.prevAll(".t-in").length>0?"after":"before";p=i.closest(".t-item").find("> div")}else{if(n){p=n.closest(".t-top,.t-mid,.t-bot")}}var r=b.trigger(k.element,"nodeDrop",{isValid:!v.$cue.find(".t-drag-status").hasClass("t-denied"),dropTarget:v.target,destinationItem:p.parent()[0],dropPosition:q,item:v.$draggable.closest(".t-item")[0]});if(r||!c.contains(k.element,v.target)){return !r}var t=v.$draggable.closest(".t-top,.t-mid,.t-bot");var u=t.parent();var x=t.closest(".t-group");if(c.contains(u[0],v.target)){return false}if(u.hasClass("t-last")){u.removeClass("t-last").prev().addClass("t-last").find("> div").removeClass("t-top t-mid").addClass("t-bot")}if(i.css("visibility")=="visible"){p.parent()[q](u)}else{var o=p.next(".t-group");if(o.length===0){o=c('
      ').appendTo(p.parent());if(!k.isAjax()){p.prepend('')}else{o.hide();k.nodeToggle(null,p.parent(),true);o.show()}}o.append(u);if(p.find("> .t-icon").hasClass("t-plus")){k.nodeToggle(null,p.parent(),true)}}var s=u.parents(".t-group").length;function w(z){var A=z.prev().length===0;var y=z.next().length===0;z.toggleClass("t-first",A&&s===1).toggleClass("t-last",y).find("> div").toggleClass("t-top",A&&!y).toggleClass("t-mid",!A&&!y).toggleClass("t-bot",y)}w(u);w(u.prev());w(u.next());if(x.children().length===0){x.prev("div").find(".t-plus,.t-minus").remove();x.remove()}b.trigger(k.element,"nodeDropped",{destinationItem:p.closest(".t-item")[0],dropPosition:q,item:t.parent(".t-item")[0]});return false}}new b.draggable({owner:k.element,selector:"div:not(.t-state-disabled) .t-in",scope:k.element.id,cue:function(o){return b.dragCue(o.$draggable.text())},start:j,drag:l,stop:m,destroy:function(o){i.remove();o.$cue.remove()}})})(this)}var e=h.find(".t-item > .t-content");if(e.length>0&&c(e[0]).children().length==0){h.find(".t-icon").hide()}b.bind(this,{expand:this.onExpand,collapse:this.onCollapse,select:c.proxy(function(i){if(i.target==this.element&&this.onSelect){this.onSelect(i)}},this),checked:this.onChecked,error:this.onError,load:this.onLoad,dataBinding:this.onDataBinding,dataBound:this.onDataBound})};b.treeview.prototype={expand:function(d){c(d,this.element).each(c.proxy(function(g,h){var f=c(h);var e=f.find("> .t-group, > .t-content");if((e.length>0&&!e.is(":visible"))||this.isAjax()){this.nodeToggle(null,f)}},this))},collapse:function(d){c(d,this.element).each(c.proxy(function(g,h){var f=c(h),e=f.find("> .t-group, > .t-content");if(e.length>0&&e.is(":visible")){this.nodeToggle(null,f)}},this))},enable:function(d){this.toggle(d,true)},disable:function(d){this.toggle(d,false)},toggle:function(e,d){c(e,this.element).each(c.proxy(function(g,h){var f=c(h),i=!f.find("> .t-group, > .t-content").is(":visible");if(!d){this.collapse(f);i=true}f.find("> div > .t-in").toggleClass("t-state-default",d).toggleClass("t-state-disabled",!d).end().find("> div > .t-checkbox > :checkbox").attr("disabled",d?"":"disabled").end().find("> div > .t-icon").toggleClass("t-plus",i&&d).toggleClass("t-plus-disabled",i&&!d).toggleClass("t-minus",!i&&d).toggleClass("t-minus-disabled",!i&&!d)},this))},reload:function(e){var d=this;c(e).each(function(){var f=c(this);f.find(".t-group").remove();d.ajaxRequest(f)})},shouldNavigate:function(e){var d=c(e).closest(".t-item").find("> .t-content, > .t-group");var f=c(e).attr("href");return !((f&&(f.charAt(f.length-1)=="#"||f.indexOf("#"+this.element.id+"-")!=-1))||(d.length>0&&d.children().length==0))},nodeSelect:function(g,f){if(!this.shouldNavigate(f)){g.preventDefault()}var d=c(f);if(!d.hasClass(".t-state-selected")&&!b.trigger(this.element,"select",{item:d.closest(".t-item")[0]})){c(".t-in",this.element).removeClass("t-state-hover t-state-selected");d.addClass("t-state-selected")}},nodeToggle:function(i,f,h){if(i!=null){i.preventDefault()}if(f.data("animating")||f.find("> div > .t-in").hasClass("t-state-disabled")){return}f.data("animating",!h);var d=f.find(">.t-group, >.t-content, >.t-animation-container>.t-group, >.t-animation-container>.t-content"),g=!d.is(":visible");if(d.children().length>0&&f.data("loaded")!==false&&!b.trigger(this.element,g?"expand":"collapse",{item:f[0]})){f.find("> div > .t-icon").toggleClass("t-minus",g).toggleClass("t-plus",!g);if(!h){b.fx[g?"play":"rewind"](this.effects,d,{direction:"bottom"},function(){f.data("animating",false)})}else{d[g?"show":"hide"]()}}else{if(g&&this.isAjax()&&(d.length==0||f.data("loaded")===false)){if(!b.trigger(this.element,g?"expand":"collapse",{item:f[0]})){this.ajaxRequest(f)}}}},nodeClick:function(h,g){var f=c(g),d=f.closest(".t-item");if(f.hasClass("t-plus-disabled")||f.hasClass("t-minus-disabled")){return}this.nodeToggle(h,d)},isAjax:function(){return this.ajax||this.ws||this.onDataBinding},url:function(d){return(this.ajax||this.ws)[d]},ajaxOptions:function(e,h){var f={type:"POST",dataType:"text",error:c.proxy(function(j,i){if(b.ajaxError(this.element,"error",j,i)){return}if(i=="parsererror"){alert("Error! The requested URL did not return JSON.")}},this),success:c.proxy(function(i){i=eval("("+i+")");i=i.d||i;this.dataBind(e,i)},this)};f=c.extend(f,h);var g=this.ws?f.data.node={}:f.data;if(e.hasClass("t-item")){g[this.queryString.value]=this.getItemValue(e);g[this.queryString.text]=this.getItemText(e);var d=e.find(".t-checkbox:first :checkbox");if(d.length){g[this.queryString.checked]=d.is(":checked")}}if(this.ws){f.data=b.toJson(f.data);f.contentType="application/json; charset=utf-8"}return f},ajaxRequest:function(f){f=f||c(this.element);var d={item:f[0]};if(b.trigger(this.element,"dataBinding",d)||(!this.ajax&&!this.ws)){return}f.data("loadingIconTimeout",setTimeout(function(){f.find("> div > .t-icon").addClass("t-loading")},100));c.ajax(this.ajaxOptions(f,{data:c.extend({},d.data),url:this.url("selectUrl")}))},bindTo:function(d){this.dataBind(this.element,d)},dataBind:function(d,h){d=c(d);if(h.length==0){c(".t-icon",d).hide();return}var g=new b.stringBuilder(),e=d.find("> .t-group"),f=e.length==0;b.treeview.getGroupHtml({data:h,html:g,isAjax:this.isAjax(),isFirstLevel:d.hasClass("t-treeview"),showCheckBoxes:this.showCheckBox,groupLevel:d.find('> div > .t-checkbox :input[name="'+this.element.id+'_checkedNodes.Index"]').val(),isExpanded:(f?d.eq(0).is(".t-treeview")?true:h[0].Expanded:false),renderGroup:f,elementId:this.element.id});d.data("animating",true);if(e.length>0&&d.data("loaded")===false){c(g.string()).prependTo(e)}else{if(e.length>0&&d.data("loaded")!==false){e.html(g.string())}else{if(e.length==0){e=c(g.string()).appendTo(d)}}}b.fx.play(this.effects,e,{direction:"bottom"},function(){d.data("animating",false)});clearTimeout(d.data("loadingIconTimeout"));if(d.hasClass("t-item")){d.data("loaded",true).find(".t-icon:first").removeClass("t-loading").removeClass("t-plus").addClass("t-minus")}if(this.isAjax()){a(d)}b.trigger(this.element,"dataBound")},checkboxClick:function(h,f){var d=c(f).is(":checked");var g=b.trigger(this.element,"checked",{item:c(f).closest(".t-item")[0],checked:d});if(!g){this.nodeCheck(f,d)}else{h.preventDefault()}return g},nodeCheck:function(e,d){c(e,this.element).each(c.proxy(function(h,i){var f=c(i).closest(".t-item"),g=c("> div > .t-checkbox",f),j=this.element.id+"_checkedNodes",h=g.find(':input[name="'+j+'.Index"]').val();g.find(':input[name="'+j+"["+h+'].Text"]').remove();g.find(':input[name="'+j+"["+h+'].Value"]').remove();g.find(":checkbox").attr({checked:d?"checked":"",value:d});if(d){c(b.treeview.getNodeInputsHtml(this.getItemValue(f),this.getItemText(f),j,h)).appendTo(g)}},this))},getItemText:function(d){return c(d).find("> div > .t-in").text()},getItemValue:function(d){return c(d).find('>div>:input[name="itemValue"]').val()||this.getItemText(d)}};c.extend(b.treeview,{getNodeInputsHtml:function(g,e,f,d){return new b.stringBuilder().cat('').cat('').string()},getItemHtml:function(e){var m=e.item,h=e.html,i=e.isFirstLevel,f=e.groupLevel,g=e.itemIndex,d=e.itemsCount,l=new b.stringBuilder().cat(f).catIf(":",f).cat(g).string();h.cat('
    • ').cat('
      ');if((e.isAjax&&m.LoadOnDemand)||(m.Items&&m.Items.length>0)){h.cat('')}if(e.showCheckBoxes&&m.Checkable!==false){var j=e.elementId+"_checkedNodes";h.cat('').cat('').cat('");if(m.Checked){h.cat(b.treeview.getNodeInputsHtml(m.Value,m.Text,j,l))}h.cat("")}var k=m.NavigateUrl||m.Url;h.cat(k?'');if(m.ImageUrl!=null){h.cat('')}if(m.SpriteCssClasses!=null){h.cat('')}h.catIf(m.Text,m.Encoded===false).catIf(m.Text.replace(//g,">"),m.Encoded!==false).cat(k?"":"");if(m.Value){h.cat('')}h.cat("
      ");if(m.Items&&m.Items.length>0){b.treeview.getGroupHtml({data:m.Items,html:h,isAjax:e.isAjax,isFirstLevel:false,showCheckBoxes:e.showCheckBoxes,groupLevel:l,isExpanded:m.Expanded,elementId:e.elementId})}h.cat("
    • ")},getGroupHtml:function(e){var d=e.data;var g=e.html;var j=e.isFirstLevel;var k=e.renderGroup;if(k!==false){g.cat('