sungrouptech 3 ヶ月 前
コミット
83a6b36fef
100 ファイル変更23574 行追加0 行削除
  1. 36 0
      .gitignore
  2. BIN
      SuperAdmin/References/feather.woff
  3. 12 0
      SuperAdmin/SuperAdmin/.config/dotnet-tools.json
  4. 170 0
      SuperAdmin/SuperAdmin/Connected Services/SvVsa/ConnectedService.json
  5. 1163 0
      SuperAdmin/SuperAdmin/Connected Services/SvVsa/Reference.cs
  6. 1639 0
      SuperAdmin/SuperAdmin/Controllers/AdminController.cs
  7. 451 0
      SuperAdmin/SuperAdmin/Controllers/BaseController.cs
  8. 159 0
      SuperAdmin/SuperAdmin/Controllers/CriteriaController.cs
  9. 284 0
      SuperAdmin/SuperAdmin/Controllers/FileController.cs
  10. 130 0
      SuperAdmin/SuperAdmin/Controllers/HomeController.cs
  11. 239 0
      SuperAdmin/SuperAdmin/Controllers/UtilsController.cs
  12. 31 0
      SuperAdmin/SuperAdmin/Extensions/ConfigAction.cs
  13. 29 0
      SuperAdmin/SuperAdmin/Extensions/RewriteSubdomainRule.cs
  14. 29 0
      SuperAdmin/SuperAdmin/Extensions/SessionExtensions.cs
  15. 28 0
      SuperAdmin/SuperAdmin/Extensions/js/Event.js
  16. 19 0
      SuperAdmin/SuperAdmin/Extensions/js/animation.js
  17. 454 0
      SuperAdmin/SuperAdmin/Extensions/js/core/app-menu.min.js
  18. 175 0
      SuperAdmin/SuperAdmin/Extensions/js/core/app.min.js
  19. 0 0
      SuperAdmin/SuperAdmin/Extensions/js/js/app-menu.min.js
  20. 0 0
      SuperAdmin/SuperAdmin/Extensions/js/js/app.min.js
  21. 1 0
      SuperAdmin/SuperAdmin/Extensions/js/js/breadcrumbs-with-stats.min.js
  22. 108 0
      SuperAdmin/SuperAdmin/Extensions/js/js/chart-dashboard.js
  23. 0 0
      SuperAdmin/SuperAdmin/Extensions/js/js/customizer.min.js
  24. 0 0
      SuperAdmin/SuperAdmin/Extensions/js/js/dashboard-project.min.js
  25. 320 0
      SuperAdmin/SuperAdmin/Extensions/js/js/spin.js
  26. 353 0
      SuperAdmin/SuperAdmin/Extensions/js/main.js
  27. 0 0
      SuperAdmin/SuperAdmin/Extensions/js/scripts/customizer.min.js
  28. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/site.js
  29. 320 0
      SuperAdmin/SuperAdmin/Extensions/js/spin.js
  30. 49 0
      SuperAdmin/SuperAdmin/Extensions/js/tables/buttons.html5.min.js
  31. 142 0
      SuperAdmin/SuperAdmin/Extensions/js/tables/dataTables.buttons.min.js
  32. 23 0
      SuperAdmin/SuperAdmin/Extensions/js/tables/datatables.min.js
  33. 10873 0
      SuperAdmin/SuperAdmin/Extensions/js/tables/jquery-3.5.1.js
  34. 592 0
      SuperAdmin/SuperAdmin/Extensions/js/tables/jquery.dataTables.min.js
  35. 13 0
      SuperAdmin/SuperAdmin/Extensions/js/tables/jszip.min.js
  36. 2 0
      SuperAdmin/SuperAdmin/Extensions/js/tables/pdfmake.min.js
  37. 1 0
      SuperAdmin/SuperAdmin/Extensions/js/tables/vfs_fonts.js
  38. 77 0
      SuperAdmin/SuperAdmin/Extensions/js/tree.js
  39. 961 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/bootstrap-datetimepicker.min.js
  40. 6 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/chart.min.js
  41. 0 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor.js
  42. 2010 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/CHANGES.md
  43. 1435 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/LICENSE.md
  44. 39 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/README.md
  45. 10 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/adapters/jquery.js
  46. 169 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/build-config.js
  47. 568 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/ckeditor.js
  48. 38 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/config.js
  49. 208 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/contents.css
  50. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/af.js
  51. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/ar.js
  52. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/az.js
  53. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/bg.js
  54. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/bn.js
  55. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/bs.js
  56. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/ca.js
  57. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/cs.js
  58. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/cy.js
  59. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/da.js
  60. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/de-ch.js
  61. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/de.js
  62. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/el.js
  63. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/en-au.js
  64. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/en-ca.js
  65. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/en-gb.js
  66. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/en.js
  67. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/eo.js
  68. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/es-mx.js
  69. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/es.js
  70. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/et.js
  71. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/eu.js
  72. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/fa.js
  73. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/fi.js
  74. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/fo.js
  75. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/fr-ca.js
  76. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/fr.js
  77. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/gl.js
  78. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/gu.js
  79. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/he.js
  80. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/hi.js
  81. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/hr.js
  82. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/hu.js
  83. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/id.js
  84. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/is.js
  85. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/it.js
  86. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/ja.js
  87. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/ka.js
  88. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/km.js
  89. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/ko.js
  90. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/ku.js
  91. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/lt.js
  92. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/lv.js
  93. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/mk.js
  94. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/mn.js
  95. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/ms.js
  96. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/nb.js
  97. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/nl.js
  98. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/no.js
  99. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/oc.js
  100. 4 0
      SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/pl.js

+ 36 - 0
.gitignore

@@ -0,0 +1,36 @@
+# From .NET Core 3.0 you can use the command: `dotnet new gitignore` to generate a customizable .gitignore file
+
+*.swp
+*.*~
+project.lock.json
+.DS_Store
+*.pyc
+
+# Visual Studio Code
+.vscode
+
+# User-specific files
+*.suo
+*.user
+*.userosscache
+*.sln.docstates
+
+# Build results
+[Dd]ebug/
+[Dd]ebugPublic/
+[Rr]elease/
+[Rr]eleases/
+x64/
+x86/
+build/
+bld/
+[Bb]in/
+[Oo]bj/
+msbuild.log
+msbuild.err
+msbuild.wrn
+
+# Visual Studio 2015
+.vs/
+/vasgw/VasgwLottery/nbproject/private/
+/vasgw/VasgwLottery/dist/

BIN
SuperAdmin/References/feather.woff


+ 12 - 0
SuperAdmin/SuperAdmin/.config/dotnet-tools.json

@@ -0,0 +1,12 @@
+{
+  "version": 1,
+  "isRoot": true,
+  "tools": {
+    "dotnet-ef": {
+      "version": "5.0.2",
+      "commands": [
+        "dotnet-ef"
+      ]
+    }
+  }
+}

+ 170 - 0
SuperAdmin/SuperAdmin/Connected Services/SvVsa/ConnectedService.json

@@ -0,0 +1,170 @@
+{
+  "ProviderId": "Microsoft.VisualStudio.ConnectedService.Wcf",
+  "Version": "15.0.40203.910",
+  "GettingStartedDocument": {
+    "Uri": "https://go.microsoft.com/fwlink/?linkid=858517"
+  },
+  "ExtendedData": {
+    "inputs": [
+      "http://154.73.105.33:8080/passportv3/passportWS?wsdl"
+    ],
+    "collectionTypes": [
+      "System.Array",
+      "System.Collections.Generic.Dictionary`2"
+    ],
+    "namespaceMappings": [
+      "*, SvVsa"
+    ],
+    "references": [
+      "ClosedXML, {ClosedXML, 0.95.4}",
+      "Dapper, {Dapper, 2.0.78}",
+      "DocumentFormat.OpenXml, {DocumentFormat.OpenXml, 2.7.2}",
+      "dotnet-aspnet-codegenerator-design, {Microsoft.VisualStudio.Web.CodeGeneration.Design, 3.1.5}",
+      "EPPlus, {EPPlus, 5.6.1}",
+      "ExcelNumberFormat, {ExcelNumberFormat, 1.0.10}",
+      "log4net, {log4net, 2.0.12}",
+      "Microsoft.AspNetCore.Authentication.Abstractions, {Microsoft.AspNetCore.Authentication.Abstractions, 2.2.0}",
+      "Microsoft.AspNetCore.Authentication.Core, {Microsoft.AspNetCore.Authentication.Core, 2.2.0}",
+      "Microsoft.AspNetCore.Authorization, {Microsoft.AspNetCore.Authorization, 2.2.0}",
+      "Microsoft.AspNetCore.Authorization.Policy, {Microsoft.AspNetCore.Authorization.Policy, 2.2.0}",
+      "Microsoft.AspNetCore.Hosting.Abstractions, {Microsoft.AspNetCore.Hosting.Abstractions, 2.2.0}",
+      "Microsoft.AspNetCore.Hosting.Server.Abstractions, {Microsoft.AspNetCore.Hosting.Server.Abstractions, 2.2.0}",
+      "Microsoft.AspNetCore.Html.Abstractions, {Microsoft.AspNetCore.Html.Abstractions, 2.2.0}",
+      "Microsoft.AspNetCore.Http, {Microsoft.AspNetCore.Http, 2.2.0}",
+      "Microsoft.AspNetCore.Http.Abstractions, {Microsoft.AspNetCore.Http.Abstractions, 2.2.0}",
+      "Microsoft.AspNetCore.Http.Extensions, {Microsoft.AspNetCore.Http.Extensions, 2.2.0}",
+      "Microsoft.AspNetCore.Http.Features, {Microsoft.AspNetCore.Http.Features, 2.2.0}",
+      "Microsoft.AspNetCore.Mvc.Abstractions, {Microsoft.AspNetCore.Mvc.Abstractions, 2.2.0}",
+      "Microsoft.AspNetCore.Mvc.Core, {Microsoft.AspNetCore.Mvc.Core, 2.2.5}",
+      "Microsoft.AspNetCore.Mvc.Razor.Extensions, {Microsoft.AspNetCore.Mvc.Razor.Extensions, 3.1.0}",
+      "Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation, {Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation, 3.1.0}",
+      "Microsoft.AspNetCore.Razor, {Microsoft.AspNetCore.Razor, 2.2.0}",
+      "Microsoft.AspNetCore.Razor.Language, {Microsoft.AspNetCore.Razor.Language, 3.1.0}",
+      "Microsoft.AspNetCore.Razor.Runtime, {Microsoft.AspNetCore.Razor.Runtime, 2.2.0}",
+      "Microsoft.AspNetCore.ResponseCaching.Abstractions, {Microsoft.AspNetCore.ResponseCaching.Abstractions, 2.2.0}",
+      "Microsoft.AspNetCore.Routing, {Microsoft.AspNetCore.Routing, 2.2.0}",
+      "Microsoft.AspNetCore.Routing.Abstractions, {Microsoft.AspNetCore.Routing.Abstractions, 2.2.0}",
+      "Microsoft.AspNetCore.WebUtilities, {Microsoft.AspNetCore.WebUtilities, 2.2.0}",
+      "Microsoft.CodeAnalysis, {Microsoft.CodeAnalysis.Common, 3.3.1}",
+      "Microsoft.CodeAnalysis.CSharp, {Microsoft.CodeAnalysis.CSharp, 3.3.1}",
+      "Microsoft.CodeAnalysis.CSharp.Workspaces, {Microsoft.CodeAnalysis.CSharp.Workspaces, 3.3.1}",
+      "Microsoft.CodeAnalysis.Razor, {Microsoft.CodeAnalysis.Razor, 3.1.0}",
+      "Microsoft.CodeAnalysis.Workspaces, {Microsoft.CodeAnalysis.Workspaces.Common, 3.3.1}",
+      "Microsoft.Extensions.Configuration, {Microsoft.Extensions.Configuration, 3.1.10}",
+      "Microsoft.Extensions.Configuration.Abstractions, {Microsoft.Extensions.Configuration.Abstractions, 3.1.10}",
+      "Microsoft.Extensions.Configuration.FileExtensions, {Microsoft.Extensions.Configuration.FileExtensions, 3.1.10}",
+      "Microsoft.Extensions.Configuration.Json, {Microsoft.Extensions.Configuration.Json, 3.1.10}",
+      "Microsoft.Extensions.DependencyInjection, {Microsoft.Extensions.DependencyInjection, 3.1.0}",
+      "Microsoft.Extensions.DependencyInjection.Abstractions, {Microsoft.Extensions.DependencyInjection.Abstractions, 3.1.0}",
+      "Microsoft.Extensions.DependencyModel, {Microsoft.Extensions.DependencyModel, 3.1.0}",
+      "Microsoft.Extensions.FileProviders.Abstractions, {Microsoft.Extensions.FileProviders.Abstractions, 3.1.10}",
+      "Microsoft.Extensions.FileProviders.Physical, {Microsoft.Extensions.FileProviders.Physical, 3.1.10}",
+      "Microsoft.Extensions.FileSystemGlobbing, {Microsoft.Extensions.FileSystemGlobbing, 3.1.10}",
+      "Microsoft.Extensions.Hosting.Abstractions, {Microsoft.Extensions.Hosting.Abstractions, 2.2.0}",
+      "Microsoft.Extensions.Logging.Abstractions, {Microsoft.Extensions.Logging.Abstractions, 2.2.0}",
+      "Microsoft.Extensions.ObjectPool, {Microsoft.Extensions.ObjectPool, 2.2.0}",
+      "Microsoft.Extensions.Options, {Microsoft.Extensions.Options, 2.2.0}",
+      "Microsoft.Extensions.PlatformAbstractions, {Microsoft.Extensions.PlatformAbstractions, 1.1.0}",
+      "Microsoft.Extensions.Primitives, {Microsoft.Extensions.Primitives, 3.1.10}",
+      "Microsoft.IO.RecyclableMemoryStream, {Microsoft.IO.RecyclableMemoryStream, 1.4.1}",
+      "Microsoft.Net.Http.Headers, {Microsoft.Net.Http.Headers, 2.2.0}",
+      "Microsoft.VisualStudio.Web.CodeGeneration, {Microsoft.VisualStudio.Web.CodeGeneration, 3.1.5}",
+      "Microsoft.VisualStudio.Web.CodeGeneration.Contracts, {Microsoft.VisualStudio.Web.CodeGeneration.Contracts, 3.1.5}",
+      "Microsoft.VisualStudio.Web.CodeGeneration.Core, {Microsoft.VisualStudio.Web.CodeGeneration.Core, 3.1.5}",
+      "Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore, {Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore, 3.1.5}",
+      "Microsoft.VisualStudio.Web.CodeGeneration.Templating, {Microsoft.VisualStudio.Web.CodeGeneration.Templating, 3.1.5}",
+      "Microsoft.VisualStudio.Web.CodeGeneration.Utils, {Microsoft.VisualStudio.Web.CodeGeneration.Utils, 3.1.5}",
+      "Microsoft.VisualStudio.Web.CodeGenerators.Mvc, {Microsoft.VisualStudio.Web.CodeGenerators.Mvc, 3.1.5}",
+      "Microsoft.Win32.Primitives, {Microsoft.Win32.Primitives, 4.3.0}",
+      "Nancy, {Nancy, 2.0.0}",
+      "Newtonsoft.Json, {Newtonsoft.Json, 12.0.2}",
+      "NuGet.Frameworks, {NuGet.Frameworks, 4.7.0}",
+      "Oracle.ManagedDataAccess, {Oracle.ManagedDataAccess.Core, 2.19.100}",
+      "System.AppContext, {System.AppContext, 4.3.0}",
+      "System.Collections, {System.Collections, 4.3.0}",
+      "System.Collections.Concurrent, {System.Collections.Concurrent, 4.3.0}",
+      "System.Collections.Immutable, {System.Collections.Immutable, 1.5.0}",
+      "System.Collections.NonGeneric, {System.Collections.NonGeneric, 4.3.0}",
+      "System.Collections.Specialized, {System.Collections.Specialized, 4.3.0}",
+      "System.ComponentModel, {System.ComponentModel, 4.3.0}",
+      "System.ComponentModel.Annotations, {System.ComponentModel.Annotations, 4.7.0}",
+      "System.ComponentModel.Primitives, {System.ComponentModel.Primitives, 4.3.0}",
+      "System.ComponentModel.TypeConverter, {System.ComponentModel.TypeConverter, 4.3.0}",
+      "System.Composition.AttributedModel, {System.Composition.AttributedModel, 1.0.31}",
+      "System.Composition.Convention, {System.Composition.Convention, 1.0.31}",
+      "System.Composition.Hosting, {System.Composition.Hosting, 1.0.31}",
+      "System.Composition.Runtime, {System.Composition.Runtime, 1.0.31}",
+      "System.Composition.TypedParts, {System.Composition.TypedParts, 1.0.31}",
+      "System.Configuration.ConfigurationManager, {System.Configuration.ConfigurationManager, 4.5.0}",
+      "System.Console, {System.Console, 4.3.0}",
+      "System.Data.Common, {System.Data.Common, 4.3.0}",
+      "System.Diagnostics.Debug, {System.Diagnostics.Debug, 4.3.0}",
+      "System.Diagnostics.DiagnosticSource, {System.Diagnostics.DiagnosticSource, 4.5.0}",
+      "System.Diagnostics.Tools, {System.Diagnostics.Tools, 4.3.0}",
+      "System.Diagnostics.Tracing, {System.Diagnostics.Tracing, 4.3.0}",
+      "System.Drawing.Common, {System.Drawing.Common, 4.7.1}",
+      "System.Globalization, {System.Globalization, 4.3.0}",
+      "System.Globalization.Calendars, {System.Globalization.Calendars, 4.3.0}",
+      "System.IO, {System.IO, 4.3.0}",
+      "System.IO.Compression, {System.IO.Compression, 4.3.0}",
+      "System.IO.Compression.ZipFile, {System.IO.Compression.ZipFile, 4.3.0}",
+      "System.IO.FileSystem, {System.IO.FileSystem, 4.3.0}",
+      "System.IO.FileSystem.Primitives, {System.IO.FileSystem.Primitives, 4.3.0}",
+      "System.IO.Packaging, {System.IO.Packaging, 4.0.0}",
+      "System.Linq, {System.Linq, 4.3.0}",
+      "System.Linq.Expressions, {System.Linq.Expressions, 4.3.0}",
+      "System.Net.Http, {System.Net.Http, 4.3.0}",
+      "System.Net.NameResolution, {System.Net.NameResolution, 4.3.0}",
+      "System.Net.Primitives, {System.Net.Primitives, 4.3.0}",
+      "System.Net.Sockets, {System.Net.Sockets, 4.3.0}",
+      "System.ObjectModel, {System.ObjectModel, 4.3.0}",
+      "System.Reflection, {System.Reflection, 4.3.0}",
+      "System.Reflection.Extensions, {System.Reflection.Extensions, 4.3.0}",
+      "System.Reflection.Metadata, {System.Reflection.Metadata, 1.6.0}",
+      "System.Reflection.Primitives, {System.Reflection.Primitives, 4.3.0}",
+      "System.Reflection.TypeExtensions, {System.Reflection.TypeExtensions, 4.3.0}",
+      "System.Resources.ResourceManager, {System.Resources.ResourceManager, 4.3.0}",
+      "System.Runtime, {System.Runtime, 4.3.0}",
+      "System.Runtime.CompilerServices.Unsafe, {System.Runtime.CompilerServices.Unsafe, 4.5.2}",
+      "System.Runtime.Extensions, {System.Runtime.Extensions, 4.3.0}",
+      "System.Runtime.Handles, {System.Runtime.Handles, 4.3.0}",
+      "System.Runtime.InteropServices, {System.Runtime.InteropServices, 4.3.0}",
+      "System.Runtime.InteropServices.RuntimeInformation, {System.Runtime.InteropServices.RuntimeInformation, 4.3.0}",
+      "System.Runtime.Numerics, {System.Runtime.Numerics, 4.3.0}",
+      "System.Security.AccessControl, {System.Security.AccessControl, 4.5.0}",
+      "System.Security.Claims, {System.Security.Claims, 4.3.0}",
+      "System.Security.Cryptography.Algorithms, {System.Security.Cryptography.Algorithms, 4.3.0}",
+      "System.Security.Cryptography.Encoding, {System.Security.Cryptography.Encoding, 4.3.0}",
+      "System.Security.Cryptography.Pkcs, {System.Security.Cryptography.Pkcs, 4.7.0}",
+      "System.Security.Cryptography.Primitives, {System.Security.Cryptography.Primitives, 4.3.0}",
+      "System.Security.Cryptography.X509Certificates, {System.Security.Cryptography.X509Certificates, 4.3.2}",
+      "System.Security.Permissions, {System.Security.Permissions, 4.5.0}",
+      "System.Security.Principal, {System.Security.Principal, 4.3.0}",
+      "System.Security.Principal.Windows, {System.Security.Principal.Windows, 4.5.0}",
+      "System.ServiceModel, {System.ServiceModel.Primitives, 4.4.4}",
+      "System.ServiceModel.Duplex, {System.ServiceModel.Duplex, 4.4.4}",
+      "System.ServiceModel.Http, {System.ServiceModel.Http, 4.4.4}",
+      "System.ServiceModel.NetTcp, {System.ServiceModel.NetTcp, 4.4.4}",
+      "System.ServiceModel.Primitives, {System.ServiceModel.Primitives, 4.4.4}",
+      "System.ServiceModel.Security, {System.ServiceModel.Security, 4.4.4}",
+      "System.Text.Encoding, {System.Text.Encoding, 4.3.0}",
+      "System.Text.Encoding.CodePages, {System.Text.Encoding.CodePages, 4.7.1}",
+      "System.Text.Encoding.Extensions, {System.Text.Encoding.Extensions, 4.3.0}",
+      "System.Text.Encodings.Web, {System.Text.Encodings.Web, 4.5.0}",
+      "System.Text.Json, {System.Text.Json, 4.7.0}",
+      "System.Text.RegularExpressions, {System.Text.RegularExpressions, 4.3.0}",
+      "System.Threading, {System.Threading, 4.3.0}",
+      "System.Threading.Tasks, {System.Threading.Tasks, 4.3.0}",
+      "System.Threading.Timer, {System.Threading.Timer, 4.3.0}",
+      "System.Xml.ReaderWriter, {System.Xml.ReaderWriter, 4.3.0}",
+      "System.Xml.XDocument, {System.Xml.XDocument, 4.3.0}",
+      "System.Xml.XmlDocument, {System.Xml.XmlDocument, 4.3.0}",
+      "System.Xml.XmlSerializer, {System.Xml.XmlSerializer, 4.3.0}",
+      "System.Xml.XPath, {System.Xml.XPath, 4.3.0}",
+      "System.Xml.XPath.XmlDocument, {System.Xml.XPath.XmlDocument, 4.3.0}"
+    ],
+    "sync": true,
+    "targetFramework": "netcoreapp3.1",
+    "typeReuseMode": "All"
+  }
+}

+ 1163 - 0
SuperAdmin/SuperAdmin/Connected Services/SvVsa/Reference.cs

@@ -0,0 +1,1163 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace SvVsa
+{
+    
+    
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
+    [System.ServiceModel.ServiceContractAttribute(Namespace="http://passport.viettel.com/", ConfigurationName="SvVsa.passportWS")]
+    public interface passportWS
+    {
+        
+        // CODEGEN: Parameter 'return' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'Microsoft.Xml.Serialization.XmlElementAttribute'.
+        [System.ServiceModel.OperationContractAttribute(Action="http://passport.viettel.com/passportWS/validateRequest", ReplyAction="http://passport.viettel.com/passportWS/validateResponse")]
+        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
+        [return: System.ServiceModel.MessageParameterAttribute(Name="return")]
+        SvVsa.validateResponse validate(SvVsa.validateRequest request);
+        
+        [System.ServiceModel.OperationContractAttribute(Action="http://passport.viettel.com/passportWS/validateRequest", ReplyAction="http://passport.viettel.com/passportWS/validateResponse")]
+        System.Threading.Tasks.Task<SvVsa.validateResponse> validateAsync(SvVsa.validateRequest request);
+        
+        // CODEGEN: Parameter 'return' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'Microsoft.Xml.Serialization.XmlElementAttribute'.
+        [System.ServiceModel.OperationContractAttribute(Action="http://passport.viettel.com/passportWS/getAppFunctionsRequest", ReplyAction="http://passport.viettel.com/passportWS/getAppFunctionsResponse")]
+        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
+        [return: System.ServiceModel.MessageParameterAttribute(Name="return")]
+        SvVsa.getAppFunctionsResponse getAppFunctions(SvVsa.getAppFunctionsRequest request);
+        
+        [System.ServiceModel.OperationContractAttribute(Action="http://passport.viettel.com/passportWS/getAppFunctionsRequest", ReplyAction="http://passport.viettel.com/passportWS/getAppFunctionsResponse")]
+        System.Threading.Tasks.Task<SvVsa.getAppFunctionsResponse> getAppFunctionsAsync(SvVsa.getAppFunctionsRequest request);
+        
+        // CODEGEN: Parameter 'return' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'Microsoft.Xml.Serialization.XmlElementAttribute'.
+        [System.ServiceModel.OperationContractAttribute(Action="http://passport.viettel.com/passportWS/validateIncludeIpRequest", ReplyAction="http://passport.viettel.com/passportWS/validateIncludeIpResponse")]
+        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
+        [return: System.ServiceModel.MessageParameterAttribute(Name="return")]
+        SvVsa.validateIncludeIpResponse validateIncludeIp(SvVsa.validateIncludeIpRequest request);
+        
+        [System.ServiceModel.OperationContractAttribute(Action="http://passport.viettel.com/passportWS/validateIncludeIpRequest", ReplyAction="http://passport.viettel.com/passportWS/validateIncludeIpResponse")]
+        System.Threading.Tasks.Task<SvVsa.validateIncludeIpResponse> validateIncludeIpAsync(SvVsa.validateIncludeIpRequest request);
+        
+        // CODEGEN: Parameter 'return' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'Microsoft.Xml.Serialization.XmlElementAttribute'.
+        [System.ServiceModel.OperationContractAttribute(Action="http://passport.viettel.com/passportWS/getRolesOfAppRequest", ReplyAction="http://passport.viettel.com/passportWS/getRolesOfAppResponse")]
+        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
+        [return: System.ServiceModel.MessageParameterAttribute(Name="return")]
+        SvVsa.getRolesOfAppResponse getRolesOfApp(SvVsa.getRolesOfAppRequest request);
+        
+        [System.ServiceModel.OperationContractAttribute(Action="http://passport.viettel.com/passportWS/getRolesOfAppRequest", ReplyAction="http://passport.viettel.com/passportWS/getRolesOfAppResponse")]
+        System.Threading.Tasks.Task<SvVsa.getRolesOfAppResponse> getRolesOfAppAsync(SvVsa.getRolesOfAppRequest request);
+        
+        // CODEGEN: Parameter 'return' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'Microsoft.Xml.Serialization.XmlElementAttribute'.
+        [System.ServiceModel.OperationContractAttribute(Action="http://passport.viettel.com/passportWS/changePassRequest", ReplyAction="http://passport.viettel.com/passportWS/changePassResponse")]
+        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
+        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(validateIncludeIpResponse))]
+        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(validateIncludeIp))]
+        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(getAppFunctionsResponse))]
+        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(getAppFunctions))]
+        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(getRolesOfAppResponse))]
+        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(getRolesOfApp))]
+        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(changePassResponse))]
+        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(changePass))]
+        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(getAllowedAppResponse))]
+        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(getAllowedApp))]
+        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(validateResponse))]
+        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(validate))]
+        [return: System.ServiceModel.MessageParameterAttribute(Name="return")]
+        SvVsa.changePassResponse1 changePass(SvVsa.changePassRequest request);
+        
+        [System.ServiceModel.OperationContractAttribute(Action="http://passport.viettel.com/passportWS/changePassRequest", ReplyAction="http://passport.viettel.com/passportWS/changePassResponse")]
+        System.Threading.Tasks.Task<SvVsa.changePassResponse1> changePassAsync(SvVsa.changePassRequest request);
+        
+        // CODEGEN: Parameter 'return' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'Microsoft.Xml.Serialization.XmlElementAttribute'.
+        [System.ServiceModel.OperationContractAttribute(Action="http://passport.viettel.com/passportWS/getAllowedAppRequest", ReplyAction="http://passport.viettel.com/passportWS/getAllowedAppResponse")]
+        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
+        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(validateIncludeIpResponse))]
+        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(validateIncludeIp))]
+        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(getAppFunctionsResponse))]
+        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(getAppFunctions))]
+        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(getRolesOfAppResponse))]
+        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(getRolesOfApp))]
+        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(changePassResponse))]
+        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(changePass))]
+        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(getAllowedAppResponse))]
+        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(getAllowedApp))]
+        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(validateResponse))]
+        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(validate))]
+        [return: System.ServiceModel.MessageParameterAttribute(Name="return")]
+        SvVsa.getAllowedAppResponse1 getAllowedApp(SvVsa.getAllowedAppRequest request);
+        
+        [System.ServiceModel.OperationContractAttribute(Action="http://passport.viettel.com/passportWS/getAllowedAppRequest", ReplyAction="http://passport.viettel.com/passportWS/getAllowedAppResponse")]
+        System.Threading.Tasks.Task<SvVsa.getAllowedAppResponse1> getAllowedAppAsync(SvVsa.getAllowedAppRequest request);
+    }
+    
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
+    [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+    [System.ServiceModel.MessageContractAttribute(WrapperName="validate", WrapperNamespace="http://passport.viettel.com/", IsWrapped=true)]
+    public partial class validateRequest
+    {
+        
+        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://passport.viettel.com/", Order=0)]
+        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
+        public string userName;
+        
+        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://passport.viettel.com/", Order=1)]
+        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
+        public string password;
+        
+        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://passport.viettel.com/", Order=2)]
+        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
+        public string domainCode;
+        
+        public validateRequest()
+        {
+        }
+        
+        public validateRequest(string userName, string password, string domainCode)
+        {
+            this.userName = userName;
+            this.password = password;
+            this.domainCode = domainCode;
+        }
+    }
+    
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
+    [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+    [System.ServiceModel.MessageContractAttribute(WrapperName="validateResponse", WrapperNamespace="http://passport.viettel.com/", IsWrapped=true)]
+    public partial class validateResponse
+    {
+        
+        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://passport.viettel.com/", Order=0)]
+        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
+        public string @return;
+        
+        public validateResponse()
+        {
+        }
+        
+        public validateResponse(string @return)
+        {
+            this.@return = @return;
+        }
+    }
+    
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
+    [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+    [System.ServiceModel.MessageContractAttribute(WrapperName="getAppFunctions", WrapperNamespace="http://passport.viettel.com/", IsWrapped=true)]
+    public partial class getAppFunctionsRequest
+    {
+        
+        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://passport.viettel.com/", Order=0)]
+        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
+        public string domainCode;
+        
+        public getAppFunctionsRequest()
+        {
+        }
+        
+        public getAppFunctionsRequest(string domainCode)
+        {
+            this.domainCode = domainCode;
+        }
+    }
+    
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
+    [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+    [System.ServiceModel.MessageContractAttribute(WrapperName="getAppFunctionsResponse", WrapperNamespace="http://passport.viettel.com/", IsWrapped=true)]
+    public partial class getAppFunctionsResponse
+    {
+        
+        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://passport.viettel.com/", Order=0)]
+        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
+        public string @return;
+        
+        public getAppFunctionsResponse()
+        {
+        }
+        
+        public getAppFunctionsResponse(string @return)
+        {
+            this.@return = @return;
+        }
+    }
+    
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
+    [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+    [System.ServiceModel.MessageContractAttribute(WrapperName="validateIncludeIp", WrapperNamespace="http://passport.viettel.com/", IsWrapped=true)]
+    public partial class validateIncludeIpRequest
+    {
+        
+        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://passport.viettel.com/", Order=0)]
+        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
+        public string userName;
+        
+        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://passport.viettel.com/", Order=1)]
+        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
+        public string password;
+        
+        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://passport.viettel.com/", Order=2)]
+        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
+        public string domainCode;
+        
+        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://passport.viettel.com/", Order=3)]
+        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
+        public string ipCheck;
+        
+        public validateIncludeIpRequest()
+        {
+        }
+        
+        public validateIncludeIpRequest(string userName, string password, string domainCode, string ipCheck)
+        {
+            this.userName = userName;
+            this.password = password;
+            this.domainCode = domainCode;
+            this.ipCheck = ipCheck;
+        }
+    }
+    
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
+    [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+    [System.ServiceModel.MessageContractAttribute(WrapperName="validateIncludeIpResponse", WrapperNamespace="http://passport.viettel.com/", IsWrapped=true)]
+    public partial class validateIncludeIpResponse
+    {
+        
+        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://passport.viettel.com/", Order=0)]
+        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
+        public string @return;
+        
+        public validateIncludeIpResponse()
+        {
+        }
+        
+        public validateIncludeIpResponse(string @return)
+        {
+            this.@return = @return;
+        }
+    }
+    
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
+    [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+    [System.ServiceModel.MessageContractAttribute(WrapperName="getRolesOfApp", WrapperNamespace="http://passport.viettel.com/", IsWrapped=true)]
+    public partial class getRolesOfAppRequest
+    {
+        
+        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://passport.viettel.com/", Order=0)]
+        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
+        public string domainCode;
+        
+        public getRolesOfAppRequest()
+        {
+        }
+        
+        public getRolesOfAppRequest(string domainCode)
+        {
+            this.domainCode = domainCode;
+        }
+    }
+    
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
+    [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+    [System.ServiceModel.MessageContractAttribute(WrapperName="getRolesOfAppResponse", WrapperNamespace="http://passport.viettel.com/", IsWrapped=true)]
+    public partial class getRolesOfAppResponse
+    {
+        
+        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://passport.viettel.com/", Order=0)]
+        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
+        public string @return;
+        
+        public getRolesOfAppResponse()
+        {
+        }
+        
+        public getRolesOfAppResponse(string @return)
+        {
+            this.@return = @return;
+        }
+    }
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://passport.viettel.com/")]
+    public partial class response
+    {
+        
+        private errorCode errorCodeField;
+        
+        private object[] valuesField;
+        
+        /// <remarks/>
+        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
+        public errorCode errorCode
+        {
+            get
+            {
+                return this.errorCodeField;
+            }
+            set
+            {
+                this.errorCodeField = value;
+            }
+        }
+        
+        /// <remarks/>
+        [System.Xml.Serialization.XmlElementAttribute("values", Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=true, Order=1)]
+        public object[] values
+        {
+            get
+            {
+                return this.valuesField;
+            }
+            set
+            {
+                this.valuesField = value;
+            }
+        }
+    }
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://passport.viettel.com/")]
+    public partial class errorCode
+    {
+        
+        private int codeField;
+        
+        private string descriptionField;
+        
+        /// <remarks/>
+        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
+        public int code
+        {
+            get
+            {
+                return this.codeField;
+            }
+            set
+            {
+                this.codeField = value;
+            }
+        }
+        
+        /// <remarks/>
+        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)]
+        public string description
+        {
+            get
+            {
+                return this.descriptionField;
+            }
+            set
+            {
+                this.descriptionField = value;
+            }
+        }
+    }
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://passport.viettel.com/")]
+    public partial class validateIncludeIpResponse1
+    {
+        
+        private string returnField;
+        
+        /// <remarks/>
+        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
+        public string @return
+        {
+            get
+            {
+                return this.returnField;
+            }
+            set
+            {
+                this.returnField = value;
+            }
+        }
+    }
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://passport.viettel.com/")]
+    public partial class validateIncludeIp
+    {
+        
+        private string userNameField;
+        
+        private string passwordField;
+        
+        private string domainCodeField;
+        
+        private string ipCheckField;
+        
+        /// <remarks/>
+        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
+        public string userName
+        {
+            get
+            {
+                return this.userNameField;
+            }
+            set
+            {
+                this.userNameField = value;
+            }
+        }
+        
+        /// <remarks/>
+        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)]
+        public string password
+        {
+            get
+            {
+                return this.passwordField;
+            }
+            set
+            {
+                this.passwordField = value;
+            }
+        }
+        
+        /// <remarks/>
+        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)]
+        public string domainCode
+        {
+            get
+            {
+                return this.domainCodeField;
+            }
+            set
+            {
+                this.domainCodeField = value;
+            }
+        }
+        
+        /// <remarks/>
+        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=3)]
+        public string ipCheck
+        {
+            get
+            {
+                return this.ipCheckField;
+            }
+            set
+            {
+                this.ipCheckField = value;
+            }
+        }
+    }
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://passport.viettel.com/")]
+    public partial class getAppFunctionsResponse1
+    {
+        
+        private string returnField;
+        
+        /// <remarks/>
+        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
+        public string @return
+        {
+            get
+            {
+                return this.returnField;
+            }
+            set
+            {
+                this.returnField = value;
+            }
+        }
+    }
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://passport.viettel.com/")]
+    public partial class getAppFunctions
+    {
+        
+        private string domainCodeField;
+        
+        /// <remarks/>
+        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
+        public string domainCode
+        {
+            get
+            {
+                return this.domainCodeField;
+            }
+            set
+            {
+                this.domainCodeField = value;
+            }
+        }
+    }
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://passport.viettel.com/")]
+    public partial class getRolesOfAppResponse1
+    {
+        
+        private string returnField;
+        
+        /// <remarks/>
+        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
+        public string @return
+        {
+            get
+            {
+                return this.returnField;
+            }
+            set
+            {
+                this.returnField = value;
+            }
+        }
+    }
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://passport.viettel.com/")]
+    public partial class getRolesOfApp
+    {
+        
+        private string domainCodeField;
+        
+        /// <remarks/>
+        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
+        public string domainCode
+        {
+            get
+            {
+                return this.domainCodeField;
+            }
+            set
+            {
+                this.domainCodeField = value;
+            }
+        }
+    }
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://passport.viettel.com/")]
+    public partial class changePassResponse
+    {
+        
+        private response returnField;
+        
+        /// <remarks/>
+        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
+        public response @return
+        {
+            get
+            {
+                return this.returnField;
+            }
+            set
+            {
+                this.returnField = value;
+            }
+        }
+    }
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://passport.viettel.com/")]
+    public partial class changePass
+    {
+        
+        private string userNameField;
+        
+        private string oldPassField;
+        
+        private string newPassField;
+        
+        private string repeatPassField;
+        
+        /// <remarks/>
+        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
+        public string userName
+        {
+            get
+            {
+                return this.userNameField;
+            }
+            set
+            {
+                this.userNameField = value;
+            }
+        }
+        
+        /// <remarks/>
+        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)]
+        public string oldPass
+        {
+            get
+            {
+                return this.oldPassField;
+            }
+            set
+            {
+                this.oldPassField = value;
+            }
+        }
+        
+        /// <remarks/>
+        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)]
+        public string newPass
+        {
+            get
+            {
+                return this.newPassField;
+            }
+            set
+            {
+                this.newPassField = value;
+            }
+        }
+        
+        /// <remarks/>
+        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=3)]
+        public string repeatPass
+        {
+            get
+            {
+                return this.repeatPassField;
+            }
+            set
+            {
+                this.repeatPassField = value;
+            }
+        }
+    }
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://passport.viettel.com/")]
+    public partial class getAllowedAppResponse
+    {
+        
+        private string returnField;
+        
+        /// <remarks/>
+        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
+        public string @return
+        {
+            get
+            {
+                return this.returnField;
+            }
+            set
+            {
+                this.returnField = value;
+            }
+        }
+    }
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://passport.viettel.com/")]
+    public partial class getAllowedApp
+    {
+        
+        private string userNameField;
+        
+        /// <remarks/>
+        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
+        public string userName
+        {
+            get
+            {
+                return this.userNameField;
+            }
+            set
+            {
+                this.userNameField = value;
+            }
+        }
+    }
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://passport.viettel.com/")]
+    public partial class validateResponse1
+    {
+        
+        private string returnField;
+        
+        /// <remarks/>
+        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
+        public string @return
+        {
+            get
+            {
+                return this.returnField;
+            }
+            set
+            {
+                this.returnField = value;
+            }
+        }
+    }
+    
+    /// <remarks/>
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://passport.viettel.com/")]
+    public partial class validate
+    {
+        
+        private string userNameField;
+        
+        private string passwordField;
+        
+        private string domainCodeField;
+        
+        /// <remarks/>
+        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
+        public string userName
+        {
+            get
+            {
+                return this.userNameField;
+            }
+            set
+            {
+                this.userNameField = value;
+            }
+        }
+        
+        /// <remarks/>
+        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)]
+        public string password
+        {
+            get
+            {
+                return this.passwordField;
+            }
+            set
+            {
+                this.passwordField = value;
+            }
+        }
+        
+        /// <remarks/>
+        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)]
+        public string domainCode
+        {
+            get
+            {
+                return this.domainCodeField;
+            }
+            set
+            {
+                this.domainCodeField = value;
+            }
+        }
+    }
+    
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
+    [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+    [System.ServiceModel.MessageContractAttribute(WrapperName="changePass", WrapperNamespace="http://passport.viettel.com/", IsWrapped=true)]
+    public partial class changePassRequest
+    {
+        
+        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://passport.viettel.com/", Order=0)]
+        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
+        public string userName;
+        
+        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://passport.viettel.com/", Order=1)]
+        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
+        public string oldPass;
+        
+        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://passport.viettel.com/", Order=2)]
+        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
+        public string newPass;
+        
+        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://passport.viettel.com/", Order=3)]
+        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
+        public string repeatPass;
+        
+        public changePassRequest()
+        {
+        }
+        
+        public changePassRequest(string userName, string oldPass, string newPass, string repeatPass)
+        {
+            this.userName = userName;
+            this.oldPass = oldPass;
+            this.newPass = newPass;
+            this.repeatPass = repeatPass;
+        }
+    }
+    
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
+    [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+    [System.ServiceModel.MessageContractAttribute(WrapperName="changePassResponse", WrapperNamespace="http://passport.viettel.com/", IsWrapped=true)]
+    public partial class changePassResponse1
+    {
+        
+        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://passport.viettel.com/", Order=0)]
+        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
+        public SvVsa.response @return;
+        
+        public changePassResponse1()
+        {
+        }
+        
+        public changePassResponse1(SvVsa.response @return)
+        {
+            this.@return = @return;
+        }
+    }
+    
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
+    [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+    [System.ServiceModel.MessageContractAttribute(WrapperName="getAllowedApp", WrapperNamespace="http://passport.viettel.com/", IsWrapped=true)]
+    public partial class getAllowedAppRequest
+    {
+        
+        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://passport.viettel.com/", Order=0)]
+        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
+        public string userName;
+        
+        public getAllowedAppRequest()
+        {
+        }
+        
+        public getAllowedAppRequest(string userName)
+        {
+            this.userName = userName;
+        }
+    }
+    
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
+    [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+    [System.ServiceModel.MessageContractAttribute(WrapperName="getAllowedAppResponse", WrapperNamespace="http://passport.viettel.com/", IsWrapped=true)]
+    public partial class getAllowedAppResponse1
+    {
+        
+        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://passport.viettel.com/", Order=0)]
+        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
+        public string @return;
+        
+        public getAllowedAppResponse1()
+        {
+        }
+        
+        public getAllowedAppResponse1(string @return)
+        {
+            this.@return = @return;
+        }
+    }
+    
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
+    public interface passportWSChannel : SvVsa.passportWS, System.ServiceModel.IClientChannel
+    {
+    }
+    
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
+    public partial class passportWSClient : System.ServiceModel.ClientBase<SvVsa.passportWS>, SvVsa.passportWS
+    {
+        
+        /// <summary>
+        /// Implement this partial method to configure the service endpoint.
+        /// </summary>
+        /// <param name="serviceEndpoint">The endpoint to configure</param>
+        /// <param name="clientCredentials">The client credentials</param>
+        static partial void ConfigureEndpoint(System.ServiceModel.Description.ServiceEndpoint serviceEndpoint, System.ServiceModel.Description.ClientCredentials clientCredentials);
+        
+        public passportWSClient() : 
+                base(passportWSClient.GetDefaultBinding(), passportWSClient.GetDefaultEndpointAddress())
+        {
+            this.Endpoint.Name = EndpointConfiguration.passportWSPort.ToString();
+            ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
+        }
+        
+        public passportWSClient(EndpointConfiguration endpointConfiguration) : 
+                base(passportWSClient.GetBindingForEndpoint(endpointConfiguration), passportWSClient.GetEndpointAddress(endpointConfiguration))
+        {
+            this.Endpoint.Name = endpointConfiguration.ToString();
+            ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
+        }
+        
+        public passportWSClient(EndpointConfiguration endpointConfiguration, string remoteAddress) : 
+                base(passportWSClient.GetBindingForEndpoint(endpointConfiguration), new System.ServiceModel.EndpointAddress(remoteAddress))
+        {
+            this.Endpoint.Name = endpointConfiguration.ToString();
+            ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
+        }
+        
+        public passportWSClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) : 
+                base(passportWSClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
+        {
+            this.Endpoint.Name = endpointConfiguration.ToString();
+            ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
+        }
+        
+        public passportWSClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 
+                base(binding, remoteAddress)
+        {
+        }
+        
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+        SvVsa.validateResponse SvVsa.passportWS.validate(SvVsa.validateRequest request)
+        {
+            return base.Channel.validate(request);
+        }
+        
+        public string validate(string userName, string password, string domainCode)
+        {
+            SvVsa.validateRequest inValue = new SvVsa.validateRequest();
+            inValue.userName = userName;
+            inValue.password = password;
+            inValue.domainCode = domainCode;
+            SvVsa.validateResponse retVal = ((SvVsa.passportWS)(this)).validate(inValue);
+            return retVal.@return;
+        }
+        
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+        System.Threading.Tasks.Task<SvVsa.validateResponse> SvVsa.passportWS.validateAsync(SvVsa.validateRequest request)
+        {
+            return base.Channel.validateAsync(request);
+        }
+        
+        public System.Threading.Tasks.Task<SvVsa.validateResponse> validateAsync(string userName, string password, string domainCode)
+        {
+            SvVsa.validateRequest inValue = new SvVsa.validateRequest();
+            inValue.userName = userName;
+            inValue.password = password;
+            inValue.domainCode = domainCode;
+            return ((SvVsa.passportWS)(this)).validateAsync(inValue);
+        }
+        
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+        SvVsa.getAppFunctionsResponse SvVsa.passportWS.getAppFunctions(SvVsa.getAppFunctionsRequest request)
+        {
+            return base.Channel.getAppFunctions(request);
+        }
+        
+        public string getAppFunctions(string domainCode)
+        {
+            SvVsa.getAppFunctionsRequest inValue = new SvVsa.getAppFunctionsRequest();
+            inValue.domainCode = domainCode;
+            SvVsa.getAppFunctionsResponse retVal = ((SvVsa.passportWS)(this)).getAppFunctions(inValue);
+            return retVal.@return;
+        }
+        
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+        System.Threading.Tasks.Task<SvVsa.getAppFunctionsResponse> SvVsa.passportWS.getAppFunctionsAsync(SvVsa.getAppFunctionsRequest request)
+        {
+            return base.Channel.getAppFunctionsAsync(request);
+        }
+        
+        public System.Threading.Tasks.Task<SvVsa.getAppFunctionsResponse> getAppFunctionsAsync(string domainCode)
+        {
+            SvVsa.getAppFunctionsRequest inValue = new SvVsa.getAppFunctionsRequest();
+            inValue.domainCode = domainCode;
+            return ((SvVsa.passportWS)(this)).getAppFunctionsAsync(inValue);
+        }
+        
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+        SvVsa.validateIncludeIpResponse SvVsa.passportWS.validateIncludeIp(SvVsa.validateIncludeIpRequest request)
+        {
+            return base.Channel.validateIncludeIp(request);
+        }
+        
+        public string validateIncludeIp(string userName, string password, string domainCode, string ipCheck)
+        {
+            SvVsa.validateIncludeIpRequest inValue = new SvVsa.validateIncludeIpRequest();
+            inValue.userName = userName;
+            inValue.password = password;
+            inValue.domainCode = domainCode;
+            inValue.ipCheck = ipCheck;
+            SvVsa.validateIncludeIpResponse retVal = ((SvVsa.passportWS)(this)).validateIncludeIp(inValue);
+            return retVal.@return;
+        }
+        
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+        System.Threading.Tasks.Task<SvVsa.validateIncludeIpResponse> SvVsa.passportWS.validateIncludeIpAsync(SvVsa.validateIncludeIpRequest request)
+        {
+            return base.Channel.validateIncludeIpAsync(request);
+        }
+        
+        public System.Threading.Tasks.Task<SvVsa.validateIncludeIpResponse> validateIncludeIpAsync(string userName, string password, string domainCode, string ipCheck)
+        {
+            SvVsa.validateIncludeIpRequest inValue = new SvVsa.validateIncludeIpRequest();
+            inValue.userName = userName;
+            inValue.password = password;
+            inValue.domainCode = domainCode;
+            inValue.ipCheck = ipCheck;
+            return ((SvVsa.passportWS)(this)).validateIncludeIpAsync(inValue);
+        }
+        
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+        SvVsa.getRolesOfAppResponse SvVsa.passportWS.getRolesOfApp(SvVsa.getRolesOfAppRequest request)
+        {
+            return base.Channel.getRolesOfApp(request);
+        }
+        
+        public string getRolesOfApp(string domainCode)
+        {
+            SvVsa.getRolesOfAppRequest inValue = new SvVsa.getRolesOfAppRequest();
+            inValue.domainCode = domainCode;
+            SvVsa.getRolesOfAppResponse retVal = ((SvVsa.passportWS)(this)).getRolesOfApp(inValue);
+            return retVal.@return;
+        }
+        
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+        System.Threading.Tasks.Task<SvVsa.getRolesOfAppResponse> SvVsa.passportWS.getRolesOfAppAsync(SvVsa.getRolesOfAppRequest request)
+        {
+            return base.Channel.getRolesOfAppAsync(request);
+        }
+        
+        public System.Threading.Tasks.Task<SvVsa.getRolesOfAppResponse> getRolesOfAppAsync(string domainCode)
+        {
+            SvVsa.getRolesOfAppRequest inValue = new SvVsa.getRolesOfAppRequest();
+            inValue.domainCode = domainCode;
+            return ((SvVsa.passportWS)(this)).getRolesOfAppAsync(inValue);
+        }
+        
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+        SvVsa.changePassResponse1 SvVsa.passportWS.changePass(SvVsa.changePassRequest request)
+        {
+            return base.Channel.changePass(request);
+        }
+        
+        public SvVsa.response changePass(string userName, string oldPass, string newPass, string repeatPass)
+        {
+            SvVsa.changePassRequest inValue = new SvVsa.changePassRequest();
+            inValue.userName = userName;
+            inValue.oldPass = oldPass;
+            inValue.newPass = newPass;
+            inValue.repeatPass = repeatPass;
+            SvVsa.changePassResponse1 retVal = ((SvVsa.passportWS)(this)).changePass(inValue);
+            return retVal.@return;
+        }
+        
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+        System.Threading.Tasks.Task<SvVsa.changePassResponse1> SvVsa.passportWS.changePassAsync(SvVsa.changePassRequest request)
+        {
+            return base.Channel.changePassAsync(request);
+        }
+        
+        public System.Threading.Tasks.Task<SvVsa.changePassResponse1> changePassAsync(string userName, string oldPass, string newPass, string repeatPass)
+        {
+            SvVsa.changePassRequest inValue = new SvVsa.changePassRequest();
+            inValue.userName = userName;
+            inValue.oldPass = oldPass;
+            inValue.newPass = newPass;
+            inValue.repeatPass = repeatPass;
+            return ((SvVsa.passportWS)(this)).changePassAsync(inValue);
+        }
+        
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+        SvVsa.getAllowedAppResponse1 SvVsa.passportWS.getAllowedApp(SvVsa.getAllowedAppRequest request)
+        {
+            return base.Channel.getAllowedApp(request);
+        }
+        
+        public string getAllowedApp(string userName)
+        {
+            SvVsa.getAllowedAppRequest inValue = new SvVsa.getAllowedAppRequest();
+            inValue.userName = userName;
+            SvVsa.getAllowedAppResponse1 retVal = ((SvVsa.passportWS)(this)).getAllowedApp(inValue);
+            return retVal.@return;
+        }
+        
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+        System.Threading.Tasks.Task<SvVsa.getAllowedAppResponse1> SvVsa.passportWS.getAllowedAppAsync(SvVsa.getAllowedAppRequest request)
+        {
+            return base.Channel.getAllowedAppAsync(request);
+        }
+        
+        public System.Threading.Tasks.Task<SvVsa.getAllowedAppResponse1> getAllowedAppAsync(string userName)
+        {
+            SvVsa.getAllowedAppRequest inValue = new SvVsa.getAllowedAppRequest();
+            inValue.userName = userName;
+            return ((SvVsa.passportWS)(this)).getAllowedAppAsync(inValue);
+        }
+        
+        public virtual System.Threading.Tasks.Task OpenAsync()
+        {
+            return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action<System.IAsyncResult>(((System.ServiceModel.ICommunicationObject)(this)).EndOpen));
+        }
+        
+        public virtual System.Threading.Tasks.Task CloseAsync()
+        {
+            return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action<System.IAsyncResult>(((System.ServiceModel.ICommunicationObject)(this)).EndClose));
+        }
+        
+        private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration)
+        {
+            if ((endpointConfiguration == EndpointConfiguration.passportWSPort))
+            {
+                System.ServiceModel.BasicHttpBinding result = new System.ServiceModel.BasicHttpBinding();
+                result.MaxBufferSize = int.MaxValue;
+                result.ReaderQuotas = System.Xml.XmlDictionaryReaderQuotas.Max;
+                result.MaxReceivedMessageSize = int.MaxValue;
+                result.AllowCookies = true;
+                return result;
+            }
+            throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration));
+        }
+        
+        private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration)
+        {
+            if ((endpointConfiguration == EndpointConfiguration.passportWSPort))
+            {
+                return new System.ServiceModel.EndpointAddress("http://154.73.105.33:8080/passportv3/passportWS");
+            }
+            throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration));
+        }
+        
+        private static System.ServiceModel.Channels.Binding GetDefaultBinding()
+        {
+            return passportWSClient.GetBindingForEndpoint(EndpointConfiguration.passportWSPort);
+        }
+        
+        private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
+        {
+            return passportWSClient.GetEndpointAddress(EndpointConfiguration.passportWSPort);
+        }
+        
+        public enum EndpointConfiguration
+        {
+            
+            passportWSPort,
+        }
+    }
+}

+ 1639 - 0
SuperAdmin/SuperAdmin/Controllers/AdminController.cs

@@ -0,0 +1,1639 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
+using Microsoft.AspNetCore.Hosting;
+using Microsoft.AspNetCore.Mvc;
+using Microsoft.Extensions.Configuration;
+using SuperAdmin.Models.Http;
+using SuperCms.Extensions;
+using SuperAdmin.Source;
+using Microsoft.AspNetCore.Http;
+using ClosedXML.Excel;
+using System.IO;
+using OfficeOpenXml;
+using SuperAdmin.Models.Object;
+using static SuperAdmin.Source.CommonUtils;
+using DocumentFormat.OpenXml.Drawing;
+using Nancy;
+using Microsoft.AspNetCore.Server.IISIntegration;
+using DocumentFormat.OpenXml.Wordprocessing;
+
+namespace SuperAdmin.Controllers
+{
+    public class AdminController : BaseController
+    {
+        private static readonly log4net.ILog log = log4net.LogManager.GetLogger(typeof(Program));
+
+        public AdminController(IConfiguration _configuration, IWebHostEnvironment hostEnvironment) : base(_configuration, hostEnvironment)
+        {
+        }
+
+        public IActionResult Index(String fromDate, String toDate)
+        {
+            try
+            {
+                if (!CheckAuthToken())
+                {
+                    //return Redirect(GetParameter(UtilsController.Constant.SUB_DOMAIN) + "/Home/Login");
+                    UserRoles vsa = HttpContext.Session.GetComplexData<UserRoles>("userInfo");
+                    //var listMenu = new List<String>();
+                    if (vsa != null && vsa.function != null)
+                    {
+                        var listObj = vsa.function;
+                        foreach (Function obj in listObj)
+                        {
+                            return Redirect(GetParameter(UtilsController.Constant.SUB_DOMAIN) + obj.link);
+                        }
+                    }
+                    return Redirect(GetParameter(UtilsController.Constant.SUB_DOMAIN) + "/Home/Login");
+                }
+                fromDate = fromDate ?? DateTime.Now.ToString("dd/MM/yyyy 00:00:00");
+                toDate = toDate ?? DateTime.Now.ToString("dd/MM/yyyy 23:59:59");
+
+                //DashboardModel model = LoadDashboard(fromDate, toDate);
+
+                // init
+                try
+                {
+                    var listService = HttpContext.Session.GetComplexData<List<Service>>("listService");
+                    if (listService == null)
+                    {
+                        PreLoadService();
+                    }
+                }
+                catch (Exception ex)
+                {
+                    PreLoadService();
+                }
+
+                return View();
+            }
+            catch (Exception ex)
+            {
+                log.Error("Error admin index: " + ex.Message, ex);
+                return Redirect(GetParameter(UtilsController.Constant.SUB_DOMAIN) + "/Home/Login");
+            }
+        }
+
+        public IActionResult Dashboard(String fromDate, String toDate)
+        {
+
+            DashboardModel model = LoadDashboard(fromDate, toDate);
+            //
+            return PartialView("../Partial/_Dashboard", model);
+        }
+
+        private DashboardModel LoadDashboard(String fromDate, String toDate)
+        {
+            string serviceName = GetParameter(UtilsController.Constant.SERVICE_NAME);
+            string subDomain = GetParameter(UtilsController.Constant.SUB_DOMAIN);
+
+            HttpContext.Session.SetComplexData("serviceName", serviceName);
+            HttpContext.Session.SetComplexData("subDomain", subDomain);
+
+            //String fromDate = DateTime.Now.AddDays(-30).ToString("dd/MM/yyyy");
+            //String toDate = DateTime.Now.ToString("dd/MM/yyyy");
+            //
+            DashboardModel model = new DashboardModel();
+            string url = GetParameter(CommonUtils.WsType.CamGetList);
+            CampaignGetListReq req = new CampaignGetListReq();
+            req.fromDate = fromDate;
+            req.toDate = toDate;
+            req.rowsOnPage = "1000000";
+            req.seqPage = "1";
+            // running
+            req.status = CampaignStatus.Running;
+            CampaignGetListRes running = CampaignGetListRes.Parse(SendPost(req, url));
+            model.listRunning = running.list;
+
+            // pending
+            req.status = CampaignStatus.Pending + "," + CampaignStatus.Paused;
+            CampaignGetListRes pending = CampaignGetListRes.Parse(SendPost(req, url));
+            model.listPending = pending.list;
+
+            return model;
+        }
+
+        // CAMPAIGN
+        [HttpPost]
+        public JsonResult UpdateCampaignStatus(String id, String status)
+        {
+            if (!CheckAuthToken())
+            {
+                return Json(new
+                {
+                    error = "-1",
+                    content = "Login first"
+                });
+            }
+            string account = HttpContext.Session.GetString("account");
+
+            // get campaign by id
+            string url = GetParameter(CommonUtils.WsType.CamGetList);
+            CampaignGetListReq req = new CampaignGetListReq();
+            req.id = id;
+            CampaignGetListRes cpRes = CampaignGetListRes.Parse(SendPost(req, url));
+            var cmp = cpRes.list[0];
+
+            // update status
+            ChangeStatusReq updateReq = new ChangeStatusReq();
+            updateReq.id = id;
+            updateReq.status = status;
+            updateReq.users = account;
+            string result = SendPost(updateReq, GetParameter(CommonUtils.WsType.changeStatus));
+            CommonRes res = CommonRes.Parse(result);
+            return Json(new
+            {
+                error = res.responseCode,
+                content = res.responseMessage
+            });
+        }
+
+        public IActionResult CampaignManagement()
+        {
+            if (!CheckAuthToken())
+            {
+                return Redirect(GetParameter(UtilsController.Constant.SUB_DOMAIN) + "/Home/Login");
+            }
+            CriteriaSearchReq req = new CriteriaSearchReq();
+            req.rowsOnPage = "1000000";
+            req.seqPage = "1";
+            req.order = "asc";
+            req.isActive = "1";
+            // load criteria
+            CriteriaGetListRes res1 = CriteriaGetListRes.Parse(SendPost(req, GetParameter(CommonUtils.WsType.balanceGetList)));
+            HttpContext.Session.SetComplexData("listBalance", res1.list);
+            CriteriaGetListRes res2 = CriteriaGetListRes.Parse(SendPost(req, GetParameter(CommonUtils.WsType.expGetList)));
+            HttpContext.Session.SetComplexData("listExpire", res2.list);
+            CriteriaGetListRes res3 = CriteriaGetListRes.Parse(SendPost(req, GetParameter(CommonUtils.WsType.shortCodeGetList)));
+            HttpContext.Session.SetComplexData("listShortCode", res3.list);
+            // load whitelist sub active
+            GetListSubReq req2 = new GetListSubReq();
+            req2.rowsOnPage = "1000000";
+            req2.seqPage = "1";
+            req2.order = "asc";
+            req2.subType = CommonUtils.ListSubType.Whitelist;
+            GetListSubRes res4 = GetListSubRes.Parse(SendPost(req, GetParameter(CommonUtils.WsType.listSubGetList)));
+            HttpContext.Session.SetComplexData("listSubFile", res4.list);
+            return View();
+        }
+
+        public IActionResult CampaignSearch(CampaignGetListReq req)
+        {
+            if (!CheckAuthToken())
+            {
+                return Json(new
+                {
+                    error = "-1",
+                    content = "Login first"
+                });
+            }
+            //string account = HttpContext.Session.GetString("account");
+            //req.usersName = account;
+            req.rowsOnPage = "1000000";
+            req.seqPage = "1";
+            req.order = "desc";
+            //req.type = "1"; // already result
+
+            String url = GetParameter(CommonUtils.WsType.CamGetList);
+            CampaignGetListRes res = CampaignGetListRes.Parse(SendPost(req, url));
+            //HttpContext.Session.SetComplexData("ExportGetListRes", res);
+            //return Json(new
+            //{
+            //    error = res.responseCode,
+            //    content = res.responseMessage,
+            //    data = res.list
+            //});
+            return PartialView("../Partial/_ListCampaign", res.list);
+        }
+
+        [HttpPost]
+        public IActionResult CampaignExport(CampaignGetListReq req)
+        {
+            if (!CheckAuthToken())
+            {
+                return null;
+            }
+
+            ExcelPackage.LicenseContext = LicenseContext.NonCommercial;
+
+            String url = GetParameter(CommonUtils.WsType.CamGetList);
+            CampaignGetListRes res = CampaignGetListRes.Parse(SendPost(req, url));
+            var list = res.list;
+
+            string contentType = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
+            string fileName = "campaigns.xlsx";
+            try
+            {
+                using (var workbook = new XLWorkbook())
+                {
+                    int i = 1;
+                    IXLWorksheet worksheet = workbook.Worksheets.Add("Campaigns");
+                    worksheet.Column(i).Width = 15;
+                    worksheet.Cell(1, i++).Value = "No.";
+                    worksheet.Column(i).Width = 30;
+                    worksheet.Cell(1, i++).Value = "Name";
+                    worksheet.Column(i).Width = 20;
+                    worksheet.Cell(1, i++).Value = "From date";
+                    worksheet.Column(i).Width = 20;
+                    worksheet.Cell(1, i++).Value = "To Date";
+                    worksheet.Column(i).Width = 15;
+                    worksheet.Cell(1, i++).Value = "Type";
+                    worksheet.Column(i).Width = 15;
+                    worksheet.Cell(1, i++).Value = "Service Type";
+                    worksheet.Column(i).Width = 20;
+                    worksheet.Cell(1, i++).Value = "Services in Campaign";
+                    worksheet.Column(i).Width = 10;
+                    worksheet.Cell(1, i++).Value = "Priority";
+                    worksheet.Column(i).Width = 20;
+                    worksheet.Cell(1, i++).Value = "Modify Date";
+                    worksheet.Column(i).Width = 10;
+                    worksheet.Cell(1, i++).Value = "Status";
+                    // make color
+                    worksheet.Row(1).Style.Font.Bold = true;
+                    worksheet.Row(1).Style.Fill.BackgroundColor = XLColor.Yellow;
+                    //worksheet.Cell(1, i++).Value = "BetId";
+                    if (list != null && list.Count > 0)
+                    {
+                        for (int index = 1; index <= list.Count; index++)
+                        {
+                            i = 1;
+                            var obj = list[index - 1];
+                            worksheet.Cell(index + 1, i++).Value = index;
+                            worksheet.Cell(index + 1, i++).Value = obj.name;
+                            worksheet.Cell(index + 1, i++).SetValue(obj.fromDate);
+                            worksheet.Cell(index + 1, i++).SetValue(obj.toDate);
+                            worksheet.Cell(index + 1, i++).Value = obj.isDefault == "1" ? "Default" : "Normal";
+                            worksheet.Cell(index + 1, i++).Value = (int.Parse(obj.addType) - 1) + "-Verification";
+                            string services = "";
+                            if (obj.listServiceMapCam != null)
+                            {
+                                foreach (var sv in obj.listServiceMapCam)
+                                {
+                                    services += @sv.serviceObj.name + "; ";
+                                }
+                                if (services.Length > 2)
+                                {
+                                    services = services.Substring(0, services.Length - 2);
+                                }
+                            }
+                            worksheet.Cell(index + 1, i++).Value = services;
+                            worksheet.Cell(index + 1, i++).Value = obj.priority;
+                            worksheet.Cell(index + 1, i++).SetValue(obj.dateUpdate);
+                            worksheet.Cell(index + 1, i++).Value = CommonUtils.StatusToStr(obj.status);
+                        }
+                    }
+                    using (var stream = new MemoryStream())
+                    {
+                        workbook.SaveAs(stream);
+                        var content = stream.ToArray();
+                        return File(content, contentType, fileName);
+                    }
+                }
+            }
+            catch (Exception ex)
+            {
+                return null;
+            }
+        }
+
+        [HttpPost]
+        public JsonResult CampaignClone(CampaignCopyReq request)
+        {
+            if (!CheckAuthToken())
+            {
+                return Json(new
+                {
+                    error = "-1",
+                    content = "Login first"
+                });
+            }
+            string account = HttpContext.Session.GetString("account");
+            request.users = account;
+            // send change status
+            string url = GetParameter(CommonUtils.WsType.camCopy);
+            var res = CommonRes.Parse(SendPost(request, url));
+
+            return Json(new
+            {
+                error = res.responseCode,
+                content = res.responseMessage
+            });
+        }
+
+        [HttpPost]
+        public IActionResult CampaignLoadInfo(CampaignGetListReq request)
+        {
+            if (!CheckAuthToken())
+            {
+                return Json(new
+                {
+                    error = "-1",
+                    content = "Login first"
+                });
+            }
+            string account = HttpContext.Session.GetString("account");
+
+            // check update or add
+            string url = GetParameter(CommonUtils.WsType.CamGetList);
+            var res = CampaignGetListRes.Parse(SendPost(request, url));
+            if (res.responseCode == "0")
+            {
+                return PartialView("../Partial/_Campaign", res.list[0]);
+            }
+            else
+            {
+                return Json(new
+                {
+                    error = res.responseCode,
+                    content = res.responseMessage
+                });
+            }
+
+        }
+
+        [HttpPost]
+        public JsonResult CampaignAddUpdate(CampaignAddUpdateObj campAddUpdateObj)
+        {
+            if (!CheckAuthToken())
+            {
+                return Json(new
+                {
+                    error = "-1",
+                    content = "Login first"
+                });
+            }
+            string account = HttpContext.Session.GetString("account");
+            string errorContent = "";
+
+            // check update or add
+            string url = "";
+            if (campAddUpdateObj.campReq.id == null || campAddUpdateObj.campReq.id == "")
+            {
+                url = GetParameter(CommonUtils.WsType.CamInsert);
+            }
+            else
+            {
+                url = GetParameter(CommonUtils.WsType.CamUpdate);
+            }
+            campAddUpdateObj.campReq.users = account;
+            campAddUpdateObj.campReq.type = "0";
+            //campAddUpdateObj.campReq.status = CampaignStatus.draft;
+            var res = CampaignInsertRes.Parse(SendPost(campAddUpdateObj.campReq, url));
+            if (res.responseCode == "0")
+            {
+                // create campaign success -> add service to campaign
+                string campId = campAddUpdateObj.campReq.id;
+                if (campId == null || campId == "")
+                {
+                    campId = res.id;
+                }
+
+                // get info to remove
+                if (campAddUpdateObj.campReq.id != null && campAddUpdateObj.campReq.id != "")
+                {
+                    // remove service
+                    url = GetParameter(CommonUtils.WsType.CamGetList);
+                    CampaignGetListReq getCamReq = new CampaignGetListReq();
+                    getCamReq.id = campAddUpdateObj.campReq.id;
+                    var camInfo = CampaignGetListRes.Parse(SendPost(getCamReq, url)).list[0];
+                    if (camInfo.listServiceMapCam != null)
+                    {
+                        url = GetParameter(CommonUtils.WsType.CamSvRemove);
+                        CamServiceAddReq svRemoveReq = new CamServiceAddReq();
+                        svRemoveReq.type = "1";
+                        foreach (var oldSv in camInfo.listServiceMapCam)
+                        {
+                            svRemoveReq.id = oldSv.id;
+                            SendPost(svRemoveReq, url);
+                        }
+                    }
+
+                    // remove criteria
+                    CriteriaMapCamReq criRemoveReq = new CriteriaMapCamReq();
+                    criRemoveReq.type = "1";
+
+                    url = GetParameter(CommonUtils.WsType.camBalanceUpdate);
+                    foreach (var oldSv in camInfo.listBalanceMapCam)
+                    {
+                        criRemoveReq.id = oldSv.id;
+                        SendPost(criRemoveReq, url);
+                    }
+
+
+                    url = GetParameter(CommonUtils.WsType.camSubUpdate);
+                    foreach (var oldSv in camInfo.listSubMapCam)
+                    {
+                        criRemoveReq.id = oldSv.id;
+                        SendPost(criRemoveReq, url);
+                    }
+
+
+                    url = GetParameter(CommonUtils.WsType.camExpireUpdate);
+                    foreach (var oldSv in camInfo.listExpireMapCam)
+                    {
+                        criRemoveReq.id = oldSv.id;
+                        SendPost(criRemoveReq, url);
+                    }
+
+
+                    url = GetParameter(CommonUtils.WsType.camShortCodeUpdate);
+                    foreach (var oldSv in camInfo.listShortCodeMapCam)
+                    {
+                        criRemoveReq.id = oldSv.id;
+                        SendPost(criRemoveReq, url);
+                    }
+                }
+                // remove old services
+                //CampaignServiceListReq listSvReq = new CampaignServiceListReq();
+                //listSvReq.campaignId = campId;
+                //listSvReq.rowsOnPage = "1000000";
+                //listSvReq.seqPage = "1";
+                //url = GetParameter(CommonUtils.WsType.CamSvGetList);
+                //var listSvRes = CampaignServiceListRes.Parse(SendPost(listSvReq, url));
+                //if (listSvRes.list != null)
+                //{
+                //    url = GetParameter(CommonUtils.WsType.CamSvRemove);
+                //    CamServiceAddReq svRemoveReq = new CamServiceAddReq();
+                //    svRemoveReq.type = "1";
+                //    foreach (var oldSv in listSvRes.list)
+                //    {
+                //        svRemoveReq.id = oldSv.id;
+                //        SendPost(svRemoveReq, url);
+                //    }
+                //}
+
+                // add new services
+                if (campAddUpdateObj.listCampSv != null)
+                {
+                    url = GetParameter(CommonUtils.WsType.CamAddInsert);
+                    foreach (var campSv in campAddUpdateObj.listCampSv)
+                    {
+                        campSv.users = account;
+                        campSv.campaignId = campId;
+                        var resAdd = CommonRes.Parse(SendPost(campSv, url));
+                        if (resAdd.responseCode != "0")
+                        {
+                            errorContent += "<br />" + "Error add service " + campSv.note + ": " + resAdd.responseMessage;
+                        }
+                    }
+                }
+
+                // add balances
+                if (campAddUpdateObj.balances != null)
+                {
+                    url = GetParameter(CommonUtils.WsType.camBalanceInsert);
+                    foreach (var campCri in campAddUpdateObj.balances)
+                    {
+                        campCri.users = account;
+                        campCri.campaignId = campId;
+                        var resAdd = CommonRes.Parse(SendPost(campCri, url));
+                        if (resAdd.responseCode != "0")
+                        {
+                            errorContent += "<br />" + "Error add criteria " + campCri.note + ": " + resAdd.responseMessage;
+                        }
+                    }
+                }
+
+                // add expires
+                if (campAddUpdateObj.expires != null)
+                {
+                    url = GetParameter(CommonUtils.WsType.camExpireInsert);
+                    foreach (var campCri in campAddUpdateObj.expires)
+                    {
+                        campCri.users = account;
+                        campCri.campaignId = campId;
+                        var resAdd = CommonRes.Parse(SendPost(campCri, url));
+                        if (resAdd.responseCode != "0")
+                        {
+                            errorContent += "<br />" + "Error add criteria " + campCri.note + ": " + resAdd.responseMessage;
+                        }
+                    }
+                }
+
+                // add shortcode
+                url = GetParameter(CommonUtils.WsType.camShortCodeInsert);
+                CriteriaMapCamReq camShortCode = new CriteriaMapCamReq();
+                camShortCode.users = account;
+                camShortCode.campaignId = campId;
+                camShortCode.shortCodeId = campAddUpdateObj.shortCodeId;
+                var resAdd2 = CommonRes.Parse(SendPost(camShortCode, url));
+                if (resAdd2.responseCode != "0")
+                {
+                    errorContent += "<br />" + "Error add shortcode " + camShortCode.note + ": " + resAdd2.responseMessage;
+                }
+
+                // add list sub
+                if (campAddUpdateObj.listSubs != null)
+                {
+                    url = GetParameter(CommonUtils.WsType.camSubInsert);
+                    foreach (var campCri in campAddUpdateObj.listSubs)
+                    {
+                        campCri.users = account;
+                        campCri.campaignId = campId;
+                        var resAdd = CommonRes.Parse(SendPost(campCri, url));
+                        if (resAdd.responseCode != "0")
+                        {
+                            errorContent += "<br />" + "Error add sub " + campCri.note + ": " + resAdd.responseMessage;
+                        }
+                    }
+                }
+
+                // check result
+                if (errorContent != "")
+                {
+                    return Json(new
+                    {
+                        error = res.responseCode,
+                        warning = "1",
+                        campId = campId,
+                        content = "Create campaign success with warning:" + errorContent
+                    });
+
+                }
+                else
+                {
+                    return Json(new
+                    {
+                        error = res.responseCode,
+                        content = res.responseMessage
+                    });
+                }
+            }
+            else
+            {
+                return Json(new
+                {
+                    error = res.responseCode,
+                    content = res.responseMessage
+                });
+            }
+        }
+
+        // SERVICE
+        public IActionResult ServiceManagement()
+        {
+            if (!CheckAuthToken())
+            {
+                return Redirect(GetParameter(UtilsController.Constant.SUB_DOMAIN) + "/Home/Login");
+            }
+            return View();
+        }
+
+        public IActionResult ServiceSearch(ServiceGetListReq req)
+        {
+            if (!CheckAuthToken())
+            {
+                return Json(new
+                {
+                    error = "-1",
+                    content = "Login first"
+                });
+            }
+            req.rowsOnPage = "1000000";
+            req.seqPage = "1";
+            req.order = "desc";
+
+
+            String url = GetParameter(CommonUtils.WsType.SvGetList);
+            ServiceGetListRes res = ServiceGetListRes.Parse(SendPost(req, url));
+
+            return PartialView("../Partial/_Services", res.list);
+        }
+
+        [HttpPost]
+        public JsonResult ServiceLoadInfo(ServiceGetListReq request)
+        {
+            if (!CheckAuthToken())
+            {
+                return Json(new
+                {
+                    error = "-1",
+                    content = "Login first"
+                });
+            }
+            string account = HttpContext.Session.GetString("account");
+
+            // check update or add
+            string url = GetParameter(CommonUtils.WsType.SvGetList);
+            var res = ServiceGetListRes.Parse(SendPost(request, url));
+
+            return Json(new
+            {
+                error = res.responseCode,
+                content = res.responseMessage,
+                data = res.list[0]
+            });
+
+        }
+
+        [HttpPost]
+        public JsonResult ServiceAddUpdate(ServiceUpdateReq request)
+        {
+            if (!CheckAuthToken())
+            {
+                return Json(new
+                {
+                    error = "-1",
+                    content = "Login first"
+                });
+            }
+            string account = HttpContext.Session.GetString("account");
+
+            // check update or add
+            string url = "";
+            if (request.id != null)
+            {
+                url = GetParameter(CommonUtils.WsType.SvUpdate);
+
+            }
+            else
+            {
+                // add
+                url = GetParameter(CommonUtils.WsType.SvInsert);
+            }
+            request.users = account;
+            var res = ServiceUpdateRes.Parse(SendPost(request, url));
+
+            // reload
+            PreLoadService();
+
+            return Json(new
+            {
+                error = res.responseCode,
+                content = res.responseMessage
+            });
+
+        }
+
+
+        // SERVICE
+        public IActionResult CampaignScheduler()
+        {
+            if (!CheckAuthToken())
+            {
+                return Redirect(GetParameter(UtilsController.Constant.SUB_DOMAIN) + "/Home/Login");
+            }
+            return View();
+        }
+
+        public IActionResult SchedulerSearch(CalendarGetListReq req)
+        {
+            if (!CheckAuthToken())
+            {
+                return Json(new
+                {
+                    error = "-1",
+                    content = "Login first"
+                });
+            }
+
+
+            String url = GetParameter(CommonUtils.WsType.CalendarGetList);
+            CalendarGetListRes res = CalendarGetListRes.Parse(SendPost(req, url));
+
+            return PartialView("../Partial/_CampaignScheduler", res.list);
+        }
+
+        [HttpPost]
+        public IActionResult SchedulerExport(CalendarGetListReq req)
+        {
+            if (!CheckAuthToken())
+            {
+                return null;
+            }
+
+            ExcelPackage.LicenseContext = LicenseContext.NonCommercial;
+
+            String url = GetParameter(CommonUtils.WsType.CalendarGetList);
+            CalendarGetListRes res = CalendarGetListRes.Parse(SendPost(req, url));
+            var list = res.list;
+
+            string contentType = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
+            string fileName = "calendar.xlsx";
+            try
+            {
+                using (var workbook = new XLWorkbook())
+                {
+                    int i = 1;
+                    IXLWorksheet worksheet = workbook.Worksheets.Add("Scheduler");
+                    worksheet.Column(i).Width = 15;
+                    worksheet.Cell(1, i++).Value = "No.";
+                    worksheet.Column(i).Width = 20;
+                    worksheet.Cell(1, i++).Value = "Date";
+                    worksheet.Column(i).Width = 15;
+                    worksheet.Cell(1, i++).Value = "ID";
+                    worksheet.Column(i).Width = 30;
+                    worksheet.Cell(1, i++).Value = "Campaign Name";
+                    worksheet.Column(i).Width = 15;
+                    worksheet.Cell(1, i++).Value = "Campaign Type";
+                    worksheet.Column(i).Width = 20;
+                    worksheet.Cell(1, i++).Value = "Start Date";
+                    worksheet.Column(i).Width = 20;
+                    worksheet.Cell(1, i++).Value = "End Date";
+                    worksheet.Column(i).Width = 20;
+                    worksheet.Cell(1, i++).Value = "Services";
+                    worksheet.Column(i).Width = 15;
+                    worksheet.Cell(1, i++).Value = "Status";
+                    // make color
+                    worksheet.Row(1).Style.Font.Bold = true;
+                    worksheet.Row(1).Style.Fill.BackgroundColor = XLColor.Yellow;
+                    //worksheet.Cell(1, i++).Value = "BetId";
+                    if (list != null && list.Count > 0)
+                    {
+                        int rownum = 1;
+                        for (int index = 1; index <= list.Count; index++)
+                        {
+                            
+                            var calendar = list[index - 1];
+                            if (calendar.list == null || calendar.list.Count == 0)
+                            {
+                                i = 1;
+                                rownum++;
+                                worksheet.Cell(rownum, i++).Value = rownum-1;
+                                worksheet.Cell(rownum, i++).SetValue(calendar.date);
+                            }
+                            else
+                            {
+                                for (int j = 0; j < calendar.list.Count; j++)
+                                {
+                                    i = 1;
+                                    rownum++;
+                                    var obj = calendar.list[j];
+                                    worksheet.Cell(rownum, i++).Value = rownum-1;
+                                    if (j == 0)
+                                    {
+                                        // merge cell
+                                        worksheet.Range($"B{rownum}:B{rownum + calendar.list.Count - 1}").Merge();
+                                        worksheet.Cell(rownum, i).Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
+                                        worksheet.Cell(rownum, i++).SetValue(calendar.date);
+                                    } else
+                                    {
+                                        i++;
+                                    }
+
+                                    worksheet.Cell(rownum, i++).Value = obj.id;
+                                    worksheet.Cell(rownum, i++).Value = obj.name;
+                                    worksheet.Cell(rownum, i++).Value = obj.isDefault == "1" ? "Default" : "Normal";
+                                    worksheet.Cell(rownum, i++).SetValue(obj.fromDate);
+                                    worksheet.Cell(rownum, i++).SetValue(obj.toDate);
+                                    string services = "";
+                                    if (obj.listServiceMapCam != null)
+                                    {
+                                        foreach (var sv in obj.listServiceMapCam)
+                                        {
+                                            services += @sv.serviceObj.name + "; ";
+                                        }
+                                        if (services.Length > 2)
+                                        {
+                                            services = services.Substring(0, services.Length - 2);
+                                        }
+                                    }
+                                    worksheet.Cell(rownum, i++).Value = services;
+                                    worksheet.Cell(rownum, i++).Value = CommonUtils.StatusToStr(obj.status);
+                                }
+                            }
+                        }
+                    }
+                    using (var stream = new MemoryStream())
+                    {
+                        workbook.SaveAs(stream);
+                        var content = stream.ToArray();
+                        return File(content, contentType, fileName);
+                    }
+                }
+            }
+            catch (Exception ex)
+            {
+                return null;
+            }
+        }
+
+        // COMMON
+        [HttpPost]
+        public JsonResult ChangeStatus(ChangeStatusReq request)
+        {
+            if (!CheckAuthToken())
+            {
+                return Json(new
+                {
+                    error = "-1",
+                    content = "Login first"
+                });
+            }
+            string account = HttpContext.Session.GetString("account");
+            request.users = account;
+            // send change status
+            string url = GetParameter(CommonUtils.WsType.changeStatus);
+            var res = CommonRes.Parse(SendPost(request, url));
+
+            // reload
+            if (request.type == CommonUtils.ActionType.Service)
+            {
+                PreLoadService();
+            }
+
+            return Json(new
+            {
+                error = res.responseCode,
+                content = res.responseMessage
+            });
+        }
+
+        [HttpPost]
+        public IActionResult ServiceExport(ServiceGetListReq req)
+        {
+            if (!CheckAuthToken())
+            {
+                return null;
+            }
+
+            ExcelPackage.LicenseContext = LicenseContext.NonCommercial;
+
+            String url = GetParameter(CommonUtils.WsType.SvGetList);
+            ServiceGetListRes res = ServiceGetListRes.Parse(SendPost(req, url));
+            var list = res.list;
+
+            string contentType = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
+            string fileName = "services.xlsx";
+            try
+            {
+                using (var workbook = new XLWorkbook())
+                {
+                    int i = 1;
+                    IXLWorksheet worksheet = workbook.Worksheets.Add("Services");
+                    worksheet.Column(i).Width = 15;
+                    worksheet.Cell(1, i++).Value = "No.";
+                    worksheet.Column(i).Width = 20;
+                    worksheet.Cell(1, i++).Value = "Name";
+                    worksheet.Column(i).Width = 15;
+                    worksheet.Cell(1, i++).Value = "Short code";
+                    worksheet.Column(i).Width = 20;
+                    worksheet.Cell(1, i++).Value = "Command";
+                    worksheet.Column(i).Width = 20;
+                    worksheet.Cell(1, i++).Value = "Description";
+                    worksheet.Column(i).Width = 20;
+                    worksheet.Cell(1, i++).Value = "Created date";
+                    worksheet.Column(i).Width = 50;
+                    worksheet.Cell(1, i++).Value = "Message USSD return success";
+                    worksheet.Column(i).Width = 50;
+                    worksheet.Cell(1, i++).Value = "Message USSD return failed";
+                    // make color
+                    worksheet.Row(1).Style.Font.Bold = true;
+                    worksheet.Row(1).Style.Fill.BackgroundColor = XLColor.Yellow;
+                    //worksheet.Cell(1, i++).Value = "BetId";
+                    if (list != null && list.Count > 0)
+                    {
+                        for (int index = 1; index <= list.Count; index++)
+                        {
+                            i = 1;
+                            var obj = list[index - 1];
+                            worksheet.Cell(index + 1, i++).Value = index;
+                            worksheet.Cell(index + 1, i++).Value = obj.name;
+                            worksheet.Cell(index + 1, i++).Value = obj.shortCode;
+                            worksheet.Cell(index + 1, i++).Value = obj.command;
+                            worksheet.Cell(index + 1, i++).Value = obj.description;
+                            worksheet.Cell(index + 1, i++).Value = obj.dateCreated;
+                            worksheet.Cell(index + 1, i++).Value = obj.msgRegisterSuccess;
+                            worksheet.Cell(index + 1, i++).Value = obj.msgRegisterFlase;
+                        }
+                    }
+                    using (var stream = new MemoryStream())
+                    {
+                        workbook.SaveAs(stream);
+                        var content = stream.ToArray();
+                        return File(content, contentType, fileName);
+                    }
+                }
+            }
+            catch (Exception ex)
+            {
+                return null;
+            }
+        }
+
+        [HttpPost]
+        public IActionResult CampaignService(CampaignServiceListReq req)
+        {
+            if (!CheckAuthToken())
+            {
+                return PartialView("../Partial/_CampaignService", null);
+            }
+
+            if (req.rowsOnPage == null)
+            {
+                req.rowsOnPage = "1000000";
+                req.seqPage = "1";
+                req.order = "asc";
+
+                String url = GetParameter(CommonUtils.WsType.CamSvGetList);
+                CampaignServiceListRes res = CampaignServiceListRes.Parse(SendPost(req, url));
+                return PartialView("../Partial/_CampaignService", res.list);
+            }
+            else
+            {
+                ViewBag.nextIndex = req.rowsOnPage;
+                return PartialView("../Partial/_CampaignService", null);
+            }
+        }
+
+
+        // ReportCampaign
+        public IActionResult ReportCampaign()
+        {
+            if (!CheckAuthToken())
+            {
+                return Redirect(GetParameter(UtilsController.Constant.SUB_DOMAIN) + "/Home/Login");
+            }
+            return View();
+        }
+
+        [HttpPost]
+        public IActionResult ReportCampaignSearch(RpByCampaignReq req)
+        {
+            if (!CheckAuthToken())
+            {
+                return Json(new
+                {
+                    error = "-1",
+                    content = "Login first"
+                });
+            }
+
+
+            string url = GetParameter(CommonUtils.WsType.ReportByCampaign);
+            string result = SendPost(req, url);
+            RpByCampaignRes res = RpByCampaignRes.Parse(result);
+            return PartialView("../Partial/_ReportCampaign", res.list);
+        }
+
+        [HttpPost]
+        public IActionResult ReportCampaignExport(RpByCampaignReq req)
+        {
+            if (!CheckAuthToken())
+            {
+                return null;
+            }
+
+            ExcelPackage.LicenseContext = LicenseContext.NonCommercial;
+
+            string url = GetParameter(CommonUtils.WsType.ReportByCampaign);
+            string result = SendPost(req, url);
+            RpByCampaignRes res = RpByCampaignRes.Parse(result);
+            List<RpByCampaign> list = res.list;
+
+            string contentType = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
+            string fileName = "report_campaign.xlsx";
+            try
+            {
+                using (var workbook = new XLWorkbook())
+                {
+                    int i = 1;
+                    IXLWorksheet worksheet = workbook.Worksheets.Add("Report Campaign");
+                    worksheet.Column(i).Width = 15;
+                    worksheet.Cell(1, i++).Value = "No.";
+                    worksheet.Column(i).Width = 15;
+                    worksheet.Cell(1, i++).Value = "ID";
+                    worksheet.Column(i).Width = 30;
+                    worksheet.Cell(1, i++).Value = "Name";
+                    worksheet.Column(i).Width = 15;
+                    worksheet.Cell(1, i++).Value = "Priority";
+                    worksheet.Column(i).Width = 15;
+                    worksheet.Cell(1, i++).Value = "Campaign Type";
+                    worksheet.Column(i).Width = 15;
+                    worksheet.Cell(1, i++).Value = "Service Type";
+                    worksheet.Column(i).Width = 20;
+                    worksheet.Cell(1, i++).Value = "Service Name";
+                    worksheet.Column(i).Width = 15;
+                    worksheet.Cell(1, i++).Value = "Total Send 1";
+                    worksheet.Column(i).Width = 15;
+                    worksheet.Cell(1, i++).Value = "Total press 1 of send 1";
+                    worksheet.Column(i).Width = 15;
+                    worksheet.Cell(1, i++).Value = "Total Send 2";
+                    worksheet.Column(i).Width = 15;
+                    worksheet.Cell(1, i++).Value = "Total press 1 of send 2";
+                    worksheet.Column(i).Width = 15;
+                    worksheet.Cell(1, i++).Value = "Total Success";
+                    worksheet.Column(i).Width = 15;
+                    worksheet.Cell(1, i++).Value = "Total Failed";
+                    // make color
+                    worksheet.Row(1).Style.Font.Bold = true;
+                    worksheet.Row(1).Style.Fill.BackgroundColor = XLColor.Yellow;
+                    //worksheet.Cell(1, i++).Value = "BetId";
+                    if (list != null && list.Count > 0)
+                    {
+                        for (int index = 1; index <= list.Count; index++)
+                        {
+                            i = 1;
+                            var obj = list[index - 1];
+                            worksheet.Cell(index + 1, i++).Value = index;
+                            worksheet.Cell(index + 1, i++).Value = obj.campaignId;
+                            worksheet.Cell(index + 1, i++).Value = obj.campaignName;
+                            worksheet.Cell(index + 1, i++).Value = obj.priority;
+                            worksheet.Cell(index + 1, i++).Value = obj.campaignType == "1" ? "Default" : "Normal";
+                            worksheet.Cell(index + 1, i++).Value = (int.Parse(obj.serviceType) - 1) + "-Verification";
+                            worksheet.Cell(index + 1, i++).Value = obj.serviceName;
+                            worksheet.Cell(index + 1, i++).Value = obj.totalView1;
+                            worksheet.Cell(index + 1, i++).Value = obj.activation1;
+                            worksheet.Cell(index + 1, i++).Value = obj.totalView2;
+                            worksheet.Cell(index + 1, i++).Value = obj.activation2;
+                            worksheet.Cell(index + 1, i++).Value = obj.success;
+                            worksheet.Cell(index + 1, i++).Value = obj.fail;
+                        }
+                    }
+                    using (var stream = new MemoryStream())
+                    {
+                        workbook.SaveAs(stream);
+                        var content = stream.ToArray();
+                        return File(content, contentType, fileName);
+                    }
+                }
+            }
+            catch (Exception ex)
+            {
+                return null;
+            }
+        }
+
+        private String formatStatus(String status)
+        {
+            if (status == "0")
+            {
+                return "Processing";
+            }
+            else if (status == "1")
+            {
+                return "Success";
+            }
+            else if (status == "2")
+            {
+                return "Pending";
+            }
+            else if (status == "3")
+            {
+                return "Revert";
+            }
+            return status;
+        }
+
+        private void PreLoadService()
+        {
+            try
+            {
+                ServiceGetListReq req = new ServiceGetListReq();
+                req.isActive = "1";
+                req.rowsOnPage = "20000";
+                req.seqPage = "1";
+                String url = GetParameter(CommonUtils.WsType.SvGetList);
+                ServiceGetListRes res = ServiceGetListRes.Parse(SendPost(req, url));
+                HttpContext.Session.SetComplexData("listService", res.list);
+            }
+            catch (Exception ex)
+            {
+                log.Error("Error load service: ", ex);
+            }
+        }
+
+
+        // List import
+        public IActionResult ListMsisdn()
+        {
+            if (!CheckAuthToken())
+            {
+                return Redirect(GetParameter(UtilsController.Constant.SUB_DOMAIN) + "/Home/Login");
+            }
+            CampaignGetListReq req = new CampaignGetListReq();
+            req.rowsOnPage = "1000000";
+            req.seqPage = "1";
+            req.order = "desc";
+
+            String url = GetParameter(CommonUtils.WsType.CamGetList);
+            CampaignGetListRes res = CampaignGetListRes.Parse(SendPost(req, url));
+            HttpContext.Session.SetComplexData("listCampaign", res.list);
+
+            return View();
+        }
+
+        public IActionResult ListMsisdnSearch(ListMsisdnGetReq req)
+        {
+            if (!CheckAuthToken())
+            {
+                return Json(new
+                {
+                    error = "-1",
+                    content = "Login first"
+                });
+            }
+
+            //string account = HttpContext.Session.GetString("account");
+            //req.users = account;
+            req.msisdn = BaseController.ValidateMsisdn(req.msisdn);
+            string url = GetParameter(CommonUtils.WsType.MsisdnSearch);
+            string result = SendPost(req, url);
+            ListMsisdnGetRes res = ListMsisdnGetRes.Parse(result);
+            return PartialView("../Partial/_ListMsisdn", res);
+            //return Json(new
+            //{
+            //    error = res.responseCode,
+            //    content = res.responseMessage,
+            //    data = res.list
+            //});
+        }
+
+        [HttpPost]
+        public IActionResult ListMsisdnExport(ListMsisdnGetReq req)
+        {
+            if (!CheckAuthToken())
+            {
+                return null;
+            }
+
+            ExcelPackage.LicenseContext = LicenseContext.NonCommercial;
+
+            string url = GetParameter(CommonUtils.WsType.MsisdnSearch);
+            string result = SendPost(req, url);
+            ListMsisdnGetRes res = ListMsisdnGetRes.Parse(result);
+            List<MsisdnList> list = res.list;
+
+            string contentType = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
+            string fileName = "player_list.xlsx";
+            try
+            {
+                using (var workbook = new XLWorkbook())
+                {
+                    int i = 1;
+                    IXLWorksheet worksheet = workbook.Worksheets.Add("Player List");
+                    worksheet.Column(i).Width = 15;
+                    worksheet.Cell(1, i++).Value = "No.";
+                    worksheet.Column(i).Width = 20;
+                    worksheet.Cell(1, i++).Value = "Phone number";
+                    worksheet.Column(i).Width = 15;
+                    worksheet.Cell(1, i++).Value = "Type";
+                    worksheet.Column(i).Width = 25;
+                    worksheet.Cell(1, i++).Value = "Campaign";
+                    worksheet.Column(i).Width = 20;
+                    worksheet.Cell(1, i++).Value = "Import date";
+                    // make color
+                    worksheet.Row(1).Style.Font.Bold = true;
+                    worksheet.Row(1).Style.Fill.BackgroundColor = XLColor.Yellow;
+                    //worksheet.Cell(1, i++).Value = "BetId";
+                    if (list != null && list.Count > 0)
+                    {
+                        for (int index = 1; index <= list.Count; index++)
+                        {
+                            i = 1;
+                            var obj = list[index - 1];
+                            worksheet.Cell(index + 1, i++).Value = index;
+                            worksheet.Cell(index + 1, i++).Value = obj.msisdn;
+                            worksheet.Cell(index + 1, i++).Value = obj.type == "2" ? "Blacklist" : "Whitelist";
+                            worksheet.Cell(index + 1, i++).Value = obj.campaignId == "-1" ? "All" : (obj.campaignId + " - " + obj.campaignName);
+                            worksheet.Cell(index + 1, i++).Value = obj.sysdate;
+                        }
+                    }
+                    using (var stream = new MemoryStream())
+                    {
+                        workbook.SaveAs(stream);
+                        var content = stream.ToArray();
+                        return File(content, contentType, fileName);
+                    }
+                }
+            }
+            catch (Exception ex)
+            {
+                return null;
+            }
+        }
+
+
+        [HttpPost]
+        public JsonResult ListMsisdnRemove(ImportMsisdn request)
+        {
+            if (!CheckAuthToken())
+            {
+                return Json(new
+                {
+                    error = "-1",
+                    content = "Login first"
+                });
+            }
+            string account = HttpContext.Session.GetString("account");
+
+            // check update or add
+            string url = GetParameter(CommonUtils.WsType.MsisdnAddUpdate);
+            request.users = account;
+            var res = ServiceUpdateRes.Parse(SendPost(request, url));
+
+            return Json(new
+            {
+                error = res.responseCode,
+                content = res.responseMessage
+            });
+
+        }
+
+        [HttpPost]
+        public IActionResult ListMsisdnImport(ImportMsisdn req, IFormFile file_upload)
+        {
+            if (!CheckAuthToken())
+            {
+                return null;
+            }
+
+            //ExcelPackage.LicenseContext = LicenseContext.NonCommercial;
+
+            try
+            {
+                if (file_upload != null && (file_upload.FileName.EndsWith(".txt") || file_upload.FileName.EndsWith(".csv")))
+                {
+                    String fileUpload = UploadedFile(file_upload, "import_msisdn");
+                    if (fileUpload != "")
+                    {
+                        // import data
+                        return importMsisdn(req, fileUpload);
+                    }
+                    else
+                    {
+                        return Json(new
+                        {
+                            error_code = UtilsController.Constant.FAILURE,
+                            error_content = "Invalid file",
+                        });
+                    }
+                }
+                else
+                {
+                    return Json(new
+                    {
+                        error_code = UtilsController.Constant.FAILURE,
+                        error_content = "Import file invalid",
+                    });
+                }
+            }
+            catch (Exception ex)
+            {
+                return Json(new
+                {
+                    error_code = UtilsController.Constant.FAILURE,
+                    error_content = "System failed!",
+                });
+            }
+        }
+
+        private JsonResult importMsisdn(ImportMsisdn req, String importFile)
+        {
+            using (StreamReader f = new StreamReader(importFile))
+            {
+                string account = HttpContext.Session.GetString("account");
+                req.users = account;
+                //
+                List<Datum> listMsisdn = new List<Datum>();
+                int ct = 0;
+                string ln;
+                while ((ln = f.ReadLine()) != null)
+                {
+                    ct++;
+                    listMsisdn.Add(new Datum(ValidateMsisdn(ln.Trim()), "1"));
+                }
+                f.Close();
+                req.data = listMsisdn;
+
+                // send request
+                string url = GetParameter(CommonUtils.WsType.MsisdnAddUpdate);
+                string result = SendPost(req, url);
+                CommonRes res = CommonRes.Parse(result);
+
+                //
+                listMsisdn.Clear();
+
+                return Json(new
+                {
+                    error = res.responseCode,
+                    content = res.responseMessage
+                });
+            }
+        }
+
+        // PARAM
+        public IActionResult ParamManagement()
+        {
+            return View();
+        }
+
+        public IActionResult ParamSearch(ParamGetListReq req)
+        {
+            if (!CheckAuthToken())
+            {
+                return Json(new
+                {
+                    error = "-1",
+                    content = "Login first"
+                });
+            }
+
+            String url = GetParameter(CommonUtils.WsType.ParamGetList);
+            ParamGetListRes res = ParamGetListRes.Parse(SendPost(req, url));
+
+
+            return PartialView("../Partial/_Params", res.list);
+        }
+
+        [HttpPost]
+        public JsonResult ParamLoadInfo(ParamGetListReq request)
+        {
+            if (!CheckAuthToken())
+            {
+                return Json(new
+                {
+                    error = "-1",
+                    content = "Login first"
+                });
+            }
+            string account = HttpContext.Session.GetString("account");
+
+            // check update or add
+            string url = GetParameter(CommonUtils.WsType.ParamGetList);
+            var res = ParamGetListRes.Parse(SendPost(request, url));
+
+            return Json(new
+            {
+                error = res.responseCode,
+                content = res.responseMessage,
+                data = res.list[0]
+            });
+
+        }
+
+        [HttpPost]
+        public JsonResult ParamAddUpdate(String id, String value, String note)
+        {
+            if (!CheckAuthToken())
+            {
+                return Json(new
+                {
+                    error = "-1",
+                    content = "Login first"
+                });
+            }
+            string account = HttpContext.Session.GetString("account");
+
+            // get param by id
+            string url = GetParameter(CommonUtils.WsType.ParamGetList);
+            ParamGetListReq req = new ParamGetListReq();
+            req.id = id;
+            ParamGetListRes cpRes = ParamGetListRes.Parse(SendPost(req, url));
+            var cmp = cpRes.list[0];
+
+            // update status
+            ParamUpdateReq updateReq = new ParamUpdateReq(cmp);
+            updateReq.values = value;
+            updateReq.note = note;
+            updateReq.users = account;
+            string result = SendPost(updateReq, GetParameter(CommonUtils.WsType.ParamUpdate));
+            CommonRes res = CommonRes.Parse(result);
+            return Json(new
+            {
+                error = res.responseCode,
+                content = res.responseMessage
+            });
+        }
+
+
+        public IActionResult Reload()
+        {
+            return View();
+        }
+
+        [HttpPost]
+        public JsonResult ReloadConfig(ReloadReq request)
+        {
+            if (!CheckAuthToken())
+            {
+                return Json(new
+                {
+                    error = "-1",
+                    content = "Login first"
+                });
+            }
+            string account = HttpContext.Session.GetString("account");
+            request.users = account;
+
+            // check update or add
+            string url = GetParameter(CommonUtils.WsType.ParamReload);
+            var res = ParamUpdateRes.Parse(SendPost(request, url));
+
+            return Json(new
+            {
+                error = res.responseCode,
+                content = res.responseMessage
+            });
+
+        }
+
+        // SERVICE UNDER
+        public IActionResult ServiceUnder()
+        {
+            // init
+            try
+            {
+                var listService = HttpContext.Session.GetComplexData<List<Service>>("listService");
+                if (listService == null)
+                {
+                    PreLoadService();
+                }
+            }
+            catch (Exception ex)
+            {
+                PreLoadService();
+            }
+            return View();
+        }
+
+        public IActionResult ServiceUnderSearch(ServiceUnderGetListReq req)
+        {
+            if (!CheckAuthToken())
+            {
+                return Json(new
+                {
+                    error = "-1",
+                    content = "Login first"
+                });
+            }
+
+
+            String url = GetParameter(CommonUtils.WsType.SvGetList);
+            ServiceGetListRes res = ServiceGetListRes.Parse(SendPost(req, url));
+
+
+            return PartialView("../Partial/_ServicesUnder", res.list);
+        }
+
+        [HttpPost]
+        public JsonResult ServiceUnderLoadInfo(ServiceUnderGetListReq request)
+        {
+            if (!CheckAuthToken())
+            {
+                return Json(new
+                {
+                    error = "-1",
+                    content = "Login first"
+                });
+            }
+            string account = HttpContext.Session.GetString("account");
+
+            // check update or add
+            string url = GetParameter(CommonUtils.WsType.SvUnderGetList);
+            var res = ServiceUnderGetListRes.Parse(SendPost(request, url));
+
+            return Json(new
+            {
+                error = res.responseCode,
+                content = res.responseMessage,
+                data = res.list[0]
+            });
+
+        }
+
+        [HttpPost]
+        public JsonResult ServiceUnderAddUpdate(ServiceUnderUpdateReq request)
+        {
+            if (!CheckAuthToken())
+            {
+                return Json(new
+                {
+                    error = "-1",
+                    content = "Login first"
+                });
+            }
+            string account = HttpContext.Session.GetString("account");
+
+            // check update or add
+            string url = "";
+            if (request.id != null)
+            {
+                url = GetParameter(CommonUtils.WsType.SvUnderUpdate);
+
+            }
+            else
+            {
+                // add
+                url = GetParameter(CommonUtils.WsType.SvUnderInsert);
+            }
+            request.users = account;
+            var res = ServiceUnderUpdateRes.Parse(SendPost(request, url));
+
+            return Json(new
+            {
+                error = res.responseCode,
+                content = res.responseMessage
+            });
+
+        }
+
+        [HttpPost]
+        public JsonResult ServiceUnderDelete(ServiceUnderUpdateReq request)
+        {
+            if (!CheckAuthToken())
+            {
+                return Json(new
+                {
+                    error = "-1",
+                    content = "Login first"
+                });
+            }
+            string account = HttpContext.Session.GetString("account");
+
+            // check update or add
+            string url = GetParameter(CommonUtils.WsType.SvUnderUpdate);
+            request.users = account;
+            request.type = "1";// delete
+            var res = ServiceUnderUpdateRes.Parse(SendPost(request, url));
+
+            return Json(new
+            {
+                error = res.responseCode,
+                content = res.responseMessage
+            });
+
+        }
+
+
+        [HttpPost]
+        public IActionResult ServiceUnderExport(ServiceUnderGetListReq req)
+        {
+            if (!CheckAuthToken())
+            {
+                return null;
+            }
+
+            ExcelPackage.LicenseContext = LicenseContext.NonCommercial;
+
+            string url = GetParameter(CommonUtils.WsType.SvGetList);
+            string result = SendPost(req, url);
+            ServiceUnderGetListRes res = ServiceUnderGetListRes.Parse(result);
+            var list = res.list;
+
+            string contentType = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
+            string fileName = "service_ngam.xlsx";
+            try
+            {
+                using (var workbook = new XLWorkbook())
+                {
+                    //<th scope="col" class="text-center" style="vertical-align:middle">ID</th>
+                    //<th scope = "col" class="text-center" style="vertical-align:middle">Service Name</th>
+                    //<th scope = "col" class="text-center" style="vertical-align:middle">From Date</th>
+                    //<th scope = "col" class="text-center" style="vertical-align:middle">To Date</th>
+                    //<th scope = "col" class="text-center" style="vertical-align:middle">Percent</th>
+                    //<th scope = "col" class="text-center" style="vertical-align:middle">Message</th>
+                    //<th scope = "col" class="text-center" style="vertical-align:middle">Type</th>
+                    //<th scope = "col" class="text-center" style="vertical-align:middle">Action</th>
+                    int i = 1;
+                    IXLWorksheet worksheet = workbook.Worksheets.Add("Service Under");
+                    worksheet.Column(i).Width = 15;
+                    worksheet.Cell(1, i++).Value = "No.";
+                    worksheet.Column(i).Width = 20;
+                    worksheet.Cell(1, i++).Value = "Name";
+                    worksheet.Column(i).Width = 15;
+                    worksheet.Cell(1, i++).Value = "From Date";
+                    worksheet.Column(i).Width = 20;
+                    worksheet.Cell(1, i++).Value = "To Date";
+                    worksheet.Column(i).Width = 20;
+                    worksheet.Cell(1, i++).Value = "Percent";
+                    worksheet.Column(i).Width = 20;
+                    worksheet.Cell(1, i++).Value = "Content Type";
+                    worksheet.Column(i).Width = 20;
+                    worksheet.Cell(1, i++).Value = "Message";
+                    // make color
+                    worksheet.Row(1).Style.Font.Bold = true;
+                    worksheet.Row(1).Style.Fill.BackgroundColor = XLColor.Yellow;
+                    //worksheet.Cell(1, i++).Value = "BetId";
+                    if (list != null && list.Count > 0)
+                    {
+                        for (int index = 1; index <= list.Count; index++)
+                        {
+                            i = 1;
+                            var obj = list[index - 1];
+                            worksheet.Cell(index + 1, i++).Value = index;
+                            worksheet.Cell(index + 1, i++).Value = obj.name;
+                            worksheet.Cell(index + 1, i++).Value = obj.fromDate;
+                            worksheet.Cell(index + 1, i++).Value = obj.toDate;
+                            worksheet.Cell(index + 1, i++).Value = obj.percent;
+                            worksheet.Cell(index + 1, i++).Value = obj.addType == "1" ? "Text" : "Register";
+                            worksheet.Cell(index + 1, i++).Value = obj.message;
+                        }
+                    }
+                    using (var stream = new MemoryStream())
+                    {
+                        workbook.SaveAs(stream);
+                        var content = stream.ToArray();
+                        return File(content, contentType, fileName);
+                    }
+                }
+            }
+            catch (Exception ex)
+            {
+                return null;
+            }
+        }
+    }
+}

+ 451 - 0
SuperAdmin/SuperAdmin/Controllers/BaseController.cs

@@ -0,0 +1,451 @@
+using System;
+using System.Collections.Generic;
+using System.Data;
+using System.Globalization;
+using System.IO;
+using System.Linq;
+using System.Net.Http;
+using System.Security.Cryptography;
+using System.Text;
+using System.Threading.Tasks;
+using Microsoft.AspNetCore.Hosting;
+using Microsoft.AspNetCore.Http;
+using Microsoft.AspNetCore.Mvc;
+using Microsoft.Extensions.Configuration;
+using Newtonsoft.Json;
+using SuperAdmin.Models.Http;
+using SuperAdmin.Models.Object;
+using SuperAdmin.Source;
+using SuperCms.Extensions;
+
+namespace SuperAdmin.Controllers
+{
+    public class BaseController : Controller
+    {
+
+        private static readonly log4net.ILog log = log4net.LogManager.GetLogger(typeof(Program));
+        private readonly IWebHostEnvironment webHostEnvironment;
+
+        protected IConfiguration configuration;
+        protected static String VsaAppId = "";
+        protected static String VsaWsUrl = "";
+        public static String useVsa = "0";
+        public static String PARENT_ID = "100207";
+        public static String Channel = "APP";
+        public static String RoleAdminSale = "admin_sale_loto";
+        public static String RoleAdminCC = "admin_cc_loto";
+        public static String RoleStaffSale = "staff_sale_loto";
+        public static String NumberSeparated = ".";
+        public static String CountryCode = "509";
+        public static String ServiceId = "1";
+
+        public BaseController() { }
+        public BaseController(IConfiguration _configuration, IWebHostEnvironment hostEnvironment)
+        {
+            configuration = _configuration;
+            webHostEnvironment = hostEnvironment;
+            CountryCode = configuration["countryCode"];
+            ServiceId = configuration["service_id"];
+            VsaAppId = configuration["vsaAppId"];
+            VsaWsUrl = configuration["vsaWsUrl"];
+            useVsa = configuration["useVsa"];
+            Channel = configuration["channel"];
+            NumberSeparated = configuration["numberSeparated"];
+            PARENT_ID = configuration["PARENT_ID"];
+            //RequestKey = configuration["requestKey"];
+            //CaptchaSiteKey = configuration["recaptchaPublicKey"];
+            //CaptchaSecretKey = configuration["recaptchaPrivateKey"];
+            //ExpirePrize = int.Parse(configuration["expirePrize"]);
+        }
+
+        protected bool UseVsa()
+        {
+            if (useVsa == "0")
+            {
+                return false;
+            }
+            return true;
+        }
+
+        public static bool UsingVsa()
+        {
+            if (useVsa == "0")
+            {
+                return false;
+            }
+            return true;
+        }
+
+        private static Dictionary<string, ParamObj> mapParam = null;
+        private Dictionary<string, ParamObj> MapParam()
+        {
+            if (mapParam == null)
+            {
+                mapParam = loadParam();
+            }
+            return mapParam;
+        }
+        private Dictionary<string, ParamObj> loadParam()
+        {
+            try
+            {
+                Dictionary<string, ParamObj> mParam = new Dictionary<string, ParamObj>();
+                GetParamsReq req = new GetParamsReq();
+                string result = SendPost(req, GetParameter(CommonUtils.WsType.Executes));
+                GetParamsRes res = GetParamsRes.Parse(result);
+                if (res != null && res.paramList != null)
+                {
+                    foreach (ParamObj param in res.paramList)
+                    {
+                        mParam.Add(param.code, param);
+                    }
+                    return mParam;
+                }
+                return null;
+            }
+            catch (Exception ex)
+            {
+                log.Error("Error load param: " + ex.Message, ex);
+                return null;
+            }
+        }
+        public ParamObj GetParam(string paramCode)
+        {
+            try
+            {
+                return MapParam()[paramCode];
+            }
+            catch { return null; }
+        }
+
+        public String GetParameter(String key)
+        {
+            return configuration.GetSection(key).Value;
+        }
+
+        public String GetParameter(String parentKey, String key)
+        {
+            var configs = configuration.GetSection(parentKey).GetChildren();
+            foreach (IConfiguration config in configs)
+            {
+                if (config[key] != null)
+                {
+                    return config[key];
+                }
+            }
+            return "";
+        }
+
+        public async Task<IActionResult> OnPostUploadAsync(List<IFormFile> files)
+        {
+            long size = files.Sum(f => f.Length);
+
+            foreach (var formFile in files)
+            {
+                if (formFile.Length > 0)
+                {
+                    var filePath = Path.GetTempFileName();
+                    log.Info("path " + filePath);
+                    using (var stream = System.IO.File.Create(filePath))
+                    {
+                        await formFile.CopyToAsync(stream);
+                    }
+                }
+            }
+
+            // Process uploaded files
+            // Don't rely on or trust the FileName property without validation.
+
+            return Ok(new { count = files.Count, size });
+        }
+
+        public string RandomString(int size, bool lowerCase)
+        {
+            StringBuilder builder = new StringBuilder();
+            Random random = new Random();
+            char ch;
+            for (int i = 0; i < size; i++)
+            {
+                ch = Convert.ToChar(Convert.ToInt32(Math.Floor(26 * random.NextDouble() + 65)));
+                builder.Append(ch);
+            }
+            if (lowerCase)
+                return builder.ToString().ToLower();
+            return builder.ToString();
+        }
+
+        protected string convertToDateTimeServer(String date)
+        {
+            // date: 
+            DateTime oDateFrom = DateTime.Parse(date);
+            string hour = oDateFrom.Hour < 10 ? "0" + oDateFrom.Hour : oDateFrom.Hour.ToString();
+            string minute = oDateFrom.Minute < 10 ? "0" + oDateFrom.Minute : oDateFrom.Minute.ToString();
+            string second = oDateFrom.Second < 10 ? "0" + oDateFrom.Second : oDateFrom.Second.ToString();
+            string month = oDateFrom.Month < 10 ? "0" + oDateFrom.Month : oDateFrom.Month.ToString();
+            string day = oDateFrom.Day < 10 ? "0" + oDateFrom.Day : oDateFrom.Day.ToString();
+            string fromCheck = day + "/" + month + "/" + oDateFrom.Year + " " + hour + ":" + minute + ":" + second;
+            return fromCheck; //MM/dd/yyyy HH24:mm:ss
+        }
+        public String SendPost(Posting obj, String url)
+        {
+            return SendPost(obj, ServiceId, url);
+
+        }
+        public String SendPost(Posting obj, String serviceId, String url, bool checkToken)
+        {
+            //obj.serviceId = serviceId;
+            obj.SV_ID = serviceId;
+            obj.service_id = serviceId;
+            obj.key = GetParameter("keyPost");
+            if (checkToken)
+            {
+                UserRoles vsa = HttpContext.Session.GetComplexData<UserRoles>("userInfo");
+                if (vsa == null)
+                {
+                    log.Debug("Session timeout");
+                    return null;
+                }
+                obj.token = vsa.token;
+            }
+            if (obj.channel == null)
+            {
+                obj.channel = "WEB";
+            }
+
+            var json = JsonConvert.SerializeObject(obj);
+            var data = new StringContent(json, Encoding.UTF8, "application/json");
+
+            log.Debug(url);
+            log.Debug("Request: " + json);
+
+            using (var client = new HttpClient())
+            {
+                var response = client.PostAsync(url, data).Result;
+                if (response.IsSuccessStatusCode)
+                {
+                    var responseContent = response.Content;
+                    // by calling .Result you are synchronously reading the result
+                    string responseString = responseContent.ReadAsStringAsync().Result;
+                    log.Debug("Response: " + responseString);
+                    return responseString;
+                }
+                else
+                {
+                    log.Error("Response: " + response.StatusCode.ToString());
+                    return response.StatusCode.ToString();
+                }
+            }
+        }
+        public String SendPost(Posting obj, String serviceId, String url)
+        {
+            return SendPost(obj, serviceId, url, true);
+        }
+        protected void CreateAuthToken(String account, Object userObj)
+        {
+            // create session authen
+            // Create the random value we will use to secure the session.
+            string authId = GenerateAuthId();
+
+            // Store the value in both our Session and a Cookie.
+            HttpContext.Session.SetString("AuthorizationCookieId", authId);
+            string sessionValue = HttpContext.Session.GetString("AuthorizationCookieId");
+            //CookieOptions option = new CookieOptions
+            //{
+            //    Expires = DateTime.Now.AddMinutes(1)
+            //};
+            //Response.Cookies.Append("Key Name", "Value", option);
+            CookieOptions options = new CookieOptions()
+            {
+                //Path = "/",
+                //HttpOnly = true,
+                //Secure = false,
+                //SameSite = SameSiteMode.None
+                Expires = DateTime.Now.AddMinutes(60)
+            };
+            HttpContext.Response.Cookies.Append("AuthorizationCookie", authId, options);
+            string cookieValue = HttpContext.Request.Cookies["AuthorizationCookie"];
+
+
+            HttpContext.Session.SetString("account", account);
+            HttpContext.Session.SetComplexData("userInfo", userObj);
+        }
+
+        protected bool CheckAuthToken()
+        {
+            string cookieValue = HttpContext.Request.Cookies["AuthorizationCookie"];
+            string sessionValue = HttpContext.Session.GetString("AuthorizationCookieId");
+
+            if (cookieValue == null || sessionValue == null || cookieValue != sessionValue)
+            {
+                // Invalidate the session and log out the current user.
+                return false;
+            }
+            if (sessionValue == null)
+            {
+                // Invalidate the session and log out the current user.
+                return false;
+            }
+
+            // check vsaCheckRole
+            if (useVsa == "1")
+            {
+                var path = HttpContext.Request.Path.Value;
+
+                return CheckRole(path);
+            }
+            return true;
+        }
+
+        protected bool ClearCache()
+        {
+            HttpContext.Session.Clear();
+            foreach (var cookieKey in HttpContext.Request.Cookies.Keys)
+            {
+                HttpContext.Response.Cookies.Delete(cookieKey);
+            }
+            return true;
+        }
+
+        private string GenerateAuthId()
+        {
+            using (RandomNumberGenerator rng = new RNGCryptoServiceProvider())
+            {
+                byte[] tokenData = new byte[32];
+                rng.GetBytes(tokenData);
+                return Convert.ToBase64String(tokenData);
+            }
+        }
+
+        protected string UploadedFile(IFormFile image, String folder)
+        {
+            try
+            {
+                //string uploadsFolder = Path.Combine(webHostEnvironment.WebRootPath, "img");
+                string uploadsFolder = GetParameter(UtilsController.Constant.PATH_OUTSIDE);
+                string uniqueFileName = Guid.NewGuid().ToString() + "_" + image.FileName;
+                string folderPath = Path.Combine(uploadsFolder, folder);
+                if (!Directory.Exists(folderPath))
+                {
+                    Directory.CreateDirectory(folderPath);
+                }
+                string filePath = Path.Combine(uploadsFolder, folder, uniqueFileName);
+                using (var fileStream = new FileStream(filePath, FileMode.Create))
+                {
+                    image.CopyTo(fileStream);
+                }
+                return filePath;
+            }
+            catch (Exception ex)
+            {
+                log.Error("Exception: " + ex);
+                return "";
+            }
+        }
+
+        protected string UploadedFile(IFormFile image, String fileName, String folder)
+        {
+            try
+            {
+                //string uploadsFolder = Path.Combine(webHostEnvironment.WebRootPath, "img");
+                string uploadsFolder = GetParameter(UtilsController.Constant.PATH_OUTSIDE);
+                string uniqueFileName = fileName;
+
+                string folderPath = Path.Combine(uploadsFolder, folder);
+                if (!Directory.Exists(folderPath))
+                {
+                    Directory.CreateDirectory(folderPath);
+                }
+                string filePath = Path.Combine(uploadsFolder, folder, uniqueFileName);
+                using (var fileStream = new FileStream(filePath, FileMode.Create))
+                {
+                    image.CopyTo(fileStream);
+                }
+                return filePath;
+            }
+            catch (Exception ex)
+            {
+                log.Error("Exception: " + ex);
+                return "";
+            }
+        }
+
+        protected bool CheckRole(String path)
+        {
+            //
+            UserRoles userInfo = HttpContext.Session.GetComplexData<UserRoles>("userInfo");
+            if (userInfo == null || userInfo.function == null)
+            {
+                log.Info("Not found user VSA");
+                return false;
+            }
+            foreach (Function obj in userInfo.function)
+            {
+                if (obj.link.ToUpper() == path.ToUpper())
+                {
+                    return true;
+                }
+            }
+
+            log.Info("Not have privileges: " + ", executing path: " + path);
+            return false;
+        }
+
+        //public bool CheckHasRole(String role)
+        //{
+        //    VsaValidateResult userInfo = HttpContext.Session.GetComplexData<VsaValidateResult>("userInfo");
+        //    if (userInfo == null || userInfo.ObjectAll == null || userInfo.ObjectAll.Row == null)
+        //    {
+        //        log.Info("Not found user VSA");
+        //        return false;
+        //    }
+        //    foreach (VsaRole obj in userInfo.Roles.Row)
+        //    {
+        //        if (obj.ROLENAME.ToUpper() == role.ToUpper())
+        //        {
+        //            return true;
+        //        }
+        //    }
+
+        //    log.Info("Not have privileges: " + userInfo.UserData.Row.USERNAME + ", executing role: " + role);
+        //    return false;
+        //}
+
+        public static String FormatNumber(float number)
+        {
+            var nfi = (NumberFormatInfo)CultureInfo.InvariantCulture.NumberFormat.Clone();
+            nfi.NumberGroupSeparator = NumberSeparated;
+            return number.ToString("#,0", nfi);
+        }
+        public static String FormatNumber(String number)
+        {
+            var nfi = (NumberFormatInfo)CultureInfo.InvariantCulture.NumberFormat.Clone();
+            nfi.NumberGroupSeparator = NumberSeparated;
+            return float.Parse(number).ToString("#,0", nfi);
+        }
+
+        public static String ValidateMsisdn(String msisdn)
+        {
+            if (msisdn == null || msisdn.Trim().Length == 0)
+            {
+                return "";
+            }
+            if (msisdn.StartsWith("0"))
+            {
+                return CountryCode + msisdn.Substring(1);
+            }
+
+            if (msisdn.StartsWith(CountryCode))
+            {
+                return msisdn;
+            }
+
+            return CountryCode + msisdn;
+        }
+
+        //protected VsaValidateResult GetUserInfo()
+        //{
+        //    VsaValidateResult userInfo = HttpContext.Session.GetComplexData<VsaValidateResult>("userInfo");
+        //    return userInfo;
+        //}
+    }
+}

+ 159 - 0
SuperAdmin/SuperAdmin/Controllers/CriteriaController.cs

@@ -0,0 +1,159 @@
+using Microsoft.AspNetCore.Hosting;
+using Microsoft.AspNetCore.Http;
+using Microsoft.AspNetCore.Mvc;
+using Microsoft.Extensions.Configuration;
+using SuperAdmin.Models.Http;
+using SuperAdmin.Models.Object;
+using SuperAdmin.Source;
+using System;
+
+namespace SuperAdmin.Controllers
+{
+    public class CriteriaController : BaseController
+    {
+        private static readonly log4net.ILog log = log4net.LogManager.GetLogger(typeof(Program));
+
+        public CriteriaController(IConfiguration _configuration, IWebHostEnvironment hostEnvironment) : base(_configuration, hostEnvironment)
+        {
+        }
+
+        public IActionResult CriteriaManagement()
+        {
+            return View();
+        }
+
+        public IActionResult CriteriaSearch(CriteriaSearchReq req)
+        {
+            if (!CheckAuthToken())
+            {
+                return Json(new
+                {
+                    error = "-1",
+                    content = "Login first"
+                });
+            }
+            req.rowsOnPage = "1000000";
+            req.seqPage = "1";
+            req.order = "asc";
+
+            CriteriaList modal = new CriteriaList();
+            // get balance 
+            CriteriaGetListRes res1 = CriteriaGetListRes.Parse(SendPost(req, GetParameter(CommonUtils.WsType.balanceGetList)));
+            modal.listSubBalance = res1.list;
+            CriteriaGetListRes res2 = CriteriaGetListRes.Parse(SendPost(req, GetParameter(CommonUtils.WsType.expGetList)));
+            modal.listExpireDate = res2.list;
+            CriteriaGetListRes res3 = CriteriaGetListRes.Parse(SendPost(req, GetParameter(CommonUtils.WsType.shortCodeGetList)));
+            modal.listShortCode = res3.list;
+
+            return PartialView("../Partial/_Criteria", modal);
+        }
+
+        [HttpPost]
+        public JsonResult CriteriaLoadInfo(string id, string type)
+        {
+            if (!CheckAuthToken())
+            {
+                return Json(new
+                {
+                    error = "-1",
+                    content = "Login first"
+                });
+            }
+            string account = HttpContext.Session.GetString("account");
+            CriteriaSearchReq request = new CriteriaSearchReq();
+            request.id = id;
+            request.users = account;
+            // check update or add
+            string url = "";
+            if (type == "1")
+            {
+                // balance
+                url = GetParameter(CommonUtils.WsType.balanceGetList);
+            }
+            else if (type == "2")
+            {
+                // expire date
+                url = GetParameter(CommonUtils.WsType.expGetList);
+            }
+            else if (type == "3")
+            {
+                // expire date
+                url = GetParameter(CommonUtils.WsType.shortCodeGetList);
+            }
+            var res = CriteriaGetListRes.Parse(SendPost(request, url));
+
+            return Json(new
+            {
+                error = res.responseCode,
+                content = res.responseMessage,
+                data = res.list[0]
+            });
+
+        }
+
+        [HttpPost]
+        public JsonResult CriteriaAddUpdate(CriteriaInsertReq request, String type)
+        {
+            if (!CheckAuthToken())
+            {
+                return Json(new
+                {
+                    error = "-1",
+                    content = "Login first"
+                });
+            }
+            string account = HttpContext.Session.GetString("account");
+
+            // check update or add
+            string url = "";
+            if (request.id != null)
+            {
+                // update
+                if (type == "1")
+                {
+                    // balance
+                    url = GetParameter(CommonUtils.WsType.balanceUpdate);
+                }
+                else if (type == "2")
+                {
+                    // expire date
+                    url = GetParameter(CommonUtils.WsType.expUpdate);
+                }
+                else if (type == "3")
+                {
+                    // expire date
+                    url = GetParameter(CommonUtils.WsType.shortCodeUpdate);
+                }
+            }
+            else
+            {
+                // add
+                if (type == "1")
+                {
+                    // balance
+                    url = GetParameter(CommonUtils.WsType.balanceInsert);
+                }
+                else if (type == "2")
+                {
+                    // expire date
+                    url = GetParameter(CommonUtils.WsType.expInsert);
+                }
+                else if (type == "3")
+                {
+                    // expire date
+                    url = GetParameter(CommonUtils.WsType.shortCodeInsert);
+                }
+            }
+            request.users = account;
+            var res = CommonRes.Parse(SendPost(request, url));
+
+            return Json(new
+            {
+                error = res.responseCode,
+                content = res.responseMessage
+            });
+
+        }
+         
+    }
+}

+ 284 - 0
SuperAdmin/SuperAdmin/Controllers/FileController.cs

@@ -0,0 +1,284 @@
+using Microsoft.AspNetCore.Hosting;
+using Microsoft.AspNetCore.Http;
+using Microsoft.AspNetCore.Mvc;
+using Microsoft.Extensions.Configuration;
+using SuperAdmin.Models.Http;
+using SuperAdmin.Models.Object;
+using SuperAdmin.Source;
+using System;
+using System.Collections.Generic;
+using System.IO;
+
+namespace SuperAdmin.Controllers
+{
+    public class FileController : BaseController
+    {
+        private static readonly log4net.ILog log = log4net.LogManager.GetLogger(typeof(Program));
+
+        public FileController(IConfiguration _configuration, IWebHostEnvironment hostEnvironment) : base(_configuration, hostEnvironment)
+        {
+        }
+
+        public IActionResult WhitelistManagement()
+        {
+            return View();
+        }
+        public IActionResult BlacklistManagement()
+        {
+            return View();
+        }
+
+        public IActionResult ListSubSearch(GetListSubReq req)
+        {
+            if (!CheckAuthToken())
+            {
+                return Json(new
+                {
+                    error = "-1",
+                    content = "Login first"
+                });
+            }
+            req.rowsOnPage = "1000000";
+            req.seqPage = "1";
+            req.order = "asc";
+
+            GetListSubRes res1 = GetListSubRes.Parse(SendPost(req, GetParameter(CommonUtils.WsType.listSubGetList)));
+
+
+            return PartialView("../Partial/_ListSub", res1);
+        }
+
+        [HttpPost]
+        public JsonResult ListSubLoadInfo(GetListSubReq request)
+        {
+            if (!CheckAuthToken())
+            {
+                return Json(new
+                {
+                    error = "-1",
+                    content = "Login first"
+                });
+            }
+            string account = HttpContext.Session.GetString("account");
+
+            // load listSub info
+            string url = GetParameter(CommonUtils.WsType.listSubGetList);
+            var res = GetListSubRes.Parse(SendPost(request, url));
+
+            return Json(new
+            {
+                error = res.responseCode,
+                content = res.responseMessage,
+                data = res.list[0]
+            });
+        }
+
+        [HttpPost]
+        public ActionResult ListSubFileLoad(ListSubFileInsertReq request)
+        {
+            if (!CheckAuthToken())
+            {
+                return Json(new
+                {
+                    error = "-1",
+                    content = "Login first"
+                });
+            }
+            string account = HttpContext.Session.GetString("account");
+            // load file
+            String url = GetParameter(CommonUtils.WsType.listSubFileGetList);
+            var res = GetListSubFileRes.Parse(SendPost(request, url));
+
+            return PartialView("../Partial/_ListFile", res.list);
+        }
+
+        [HttpPost]
+        public JsonResult ListSubAddUpdate(ListSubInsertReq request)
+        {
+            if (!CheckAuthToken())
+            {
+                return Json(new
+                {
+                    error = "-1",
+                    content = "Login first"
+                });
+            }
+            string account = HttpContext.Session.GetString("account");
+            request.users = account;
+            // check update or add
+            string url = "";
+            if (request.id != null)
+            {
+                url = GetParameter(CommonUtils.WsType.listSubUpdate);
+            }
+            else
+            {
+                url = GetParameter(CommonUtils.WsType.listSubInsert);
+            }
+            request.users = account;
+            var res = CommonRes.Parse(SendPost(request, url));
+
+            return Json(new
+            {
+                error = res.responseCode,
+                content = res.responseMessage
+            });
+        }
+         
+        [HttpPost]
+        [ValidateAntiForgeryToken]
+        [DisableRequestSizeLimit]
+        public JsonResult ListSubUploadFile(IFormFile[] importFiles, string subId)
+        {
+            if (!CheckAuthToken())
+            {
+                return Json(new
+                {
+                    error = "-1",
+                    content = "Session timeout, please login again!"
+                });
+            }
+
+            try
+            {
+                String messageRes = "";
+                string account = HttpContext.Session.GetString("account");
+                if (importFiles != null && importFiles.Length > 0)
+                {
+                    bool isSuccess = true;
+                    CommonRes resUpload = null;
+                    // post start
+                    ChangeStatusReq updateReq = new ChangeStatusReq();
+                    updateReq.type = CommonUtils.ActionType.SubListStatus;
+                    updateReq.users = account;
+                    updateReq.id = subId;
+                    updateReq.status = "1"; // start upload
+                    string result = SendPost(updateReq, GetParameter(CommonUtils.WsType.changeStatus));
+                    CommonRes resStart = CommonRes.Parse(result);
+                    if (resStart.responseCode == "0")
+                    {
+                        // post upload
+                        foreach (var importFile in importFiles)
+                        {
+                            if (importFile != null && importFile.Length > 0)
+                            {
+                                string filenameExtension = Path.GetExtension(importFile.FileName);
+                                if (filenameExtension.ToUpper() != ".CSV"
+                                    && filenameExtension.ToUpper() != ".TXT")
+                                {
+                                    log.Warn("Import file must be .csv or .txt, file is: " + filenameExtension);
+                                    messageRes += importFile.FileName + ": Import file must be .csv or .txt\n";
+                                    continue;
+                                }
+                                var ranStr = System.Guid.NewGuid().ToString();
+                                var fileName = ranStr + "_" + subId + filenameExtension;
+                                var filePath = UploadedFile(importFile, fileName, "import_data");
+                                var serverPath = configuration.GetSection(UtilsController.Constant.PATH_CONTENT).Value + "/import_data/" + fileName;
+
+                                // add to list file upload
+                                ListSubFileInsertReq uploadReq = new ListSubFileInsertReq();
+                                uploadReq.fileId = fileName;
+                                uploadReq.fileName = importFile.FileName;
+                                uploadReq.users = account;
+                                uploadReq.subId = subId;
+                                string result1 = SendPost(uploadReq, GetParameter(CommonUtils.WsType.listSubFileInsert));
+                                resUpload = CommonRes.Parse(result1);
+
+
+                                if (resUpload.responseCode != "0")
+                                {
+                                    isSuccess = false;
+                                    break;
+                                }
+                            }
+                        }
+
+                        // check success all
+                        if (isSuccess)
+                        {
+                            // upload success -> post end
+                            updateReq.status = "2"; // end upload
+                            result = SendPost(updateReq, GetParameter(CommonUtils.WsType.changeStatus));
+                            CommonRes resEnd = CommonRes.Parse(result);
+
+                            // return message upload
+                            return Json(new
+                            {
+                                error = resEnd.responseCode,
+                                content = resEnd.responseMessage
+                            });
+                        }
+                        else
+                        {
+                            if (resUpload != null)
+                            {
+                                return Json(new
+                                {
+                                    error = resUpload.responseCode,
+                                    content = resUpload.responseMessage
+                                });
+                            }
+                            else
+                            {
+                                return Json(new
+                                {
+                                    error = "2",
+                                    content = "System failed!"
+                                });
+                            }
+                        }
+
+                    }
+                    else
+                    {
+                        return Json(new
+                        {
+                            error = resStart.responseCode,
+                            content = resStart.responseMessage
+                        });
+                    }
+                }
+                return Json(new
+                {
+                    error = "2",
+                    content = "Please choose file"
+                });
+            }
+            catch (Exception ex)
+            {
+                log.Error("Exception ListSubUploadFile", ex);
+                return Json(new
+                {
+                    error = "-2",
+                    content = "System failed!"
+                });
+            }
+        }
+
+        [HttpPost]
+        public JsonResult ListSubFileDelete(ListSubFileInsertReq request)
+        {
+            if (!CheckAuthToken())
+            {
+                return Json(new
+                {
+                    error = "-1",
+                    content = "Login first"
+                });
+            }
+            string account = HttpContext.Session.GetString("account");
+            request.users = account;
+            request.type = CommonUtils.ActionCode.Delete;
+            // check update or add
+            string url = GetParameter(CommonUtils.WsType.listSubFileUpdate);
+            var res = CommonRes.Parse(SendPost(request, url));
+
+            return Json(new
+            {
+                error = res.responseCode,
+                content = res.responseMessage
+            });
+
+        }
+    }
+}

+ 130 - 0
SuperAdmin/SuperAdmin/Controllers/HomeController.cs

@@ -0,0 +1,130 @@
+using System;
+using System.Diagnostics;
+using System.ServiceModel;
+using Microsoft.AspNetCore.Hosting;
+using Microsoft.AspNetCore.Mvc;
+using Microsoft.Extensions.Configuration;
+using SuperAdmin.Models;
+using SuperAdmin.Models.Http;
+using SuperAdmin.Models.Object;
+//using SuperAdmin.Models.Vsa;
+using SuperAdmin.Source;
+using SuperCms.Extensions;
+using SvVsa;
+
+namespace SuperAdmin.Controllers
+{
+    public class HomeController : BaseController
+    {
+        private static readonly log4net.ILog log = log4net.LogManager.GetLogger(typeof(Program));
+
+        public HomeController(IConfiguration _configuration, IWebHostEnvironment hostEnvironment) : base(_configuration, hostEnvironment)
+        {
+            // init
+        }
+
+        //public String GetParameter(String parentKey, String key)
+        //{
+        //    var configs = configuration.GetSection(parentKey).GetChildren();
+        //    foreach (IConfiguration config in configs)
+        //    {
+        //        if (config[key] != null)
+        //        {
+        //            return config[key];
+        //        }
+        //    }
+        //    return "";
+        //}
+
+        public IActionResult Index()
+        {
+            string serviceName = GetParameter(UtilsController.Constant.SERVICE_NAME);
+            string subDomain = GetParameter(UtilsController.Constant.SUB_DOMAIN);
+
+            HttpContext.Session.SetComplexData("serviceName", serviceName);
+            HttpContext.Session.SetComplexData("subDomain", subDomain);
+
+            if (!CheckAuthToken())
+            {
+                return Redirect(GetParameter(UtilsController.Constant.SUB_DOMAIN) + "/Home/Login");
+            }
+            return View();
+        }
+
+        public IActionResult Privacy()
+        {
+            return View();
+        }
+
+        [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
+        public IActionResult Error()
+        {
+            return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
+        }
+
+        public IActionResult Login()
+        {
+            return View();
+        }
+         
+
+        public IActionResult LoginAction(String account, String password)
+        {
+            var st = new StackTrace();
+            var sf = st.GetFrame(0);
+            String name = sf.GetMethod().Name;
+            String module = sf.GetMethod().DeclaringType.Name;
+
+            //var fullUrl = this.Url.Action(name, module.Substring(0, module.Length - 10), null, null);
+
+            if (account == null || password == null)
+            {
+                return Redirect(GetParameter(UtilsController.Constant.SUB_DOMAIN) + "/Home/Login");
+            }
+            //// vsa
+            //if (useVsa == "1")
+            //{
+            //    VsaValidateResult vsaRes = LoginVsa(account, password);
+            //    if (vsaRes != null)
+            //    {
+            //        CreateAuthToken(account, vsaRes);
+            //        return Redirect(GetParameter(UtilsController.Constant.SUB_DOMAIN) + "/Admin/Index");
+            //    }
+            //    // login failed
+            //    return Redirect(GetParameter(UtilsController.Constant.SUB_DOMAIN) + "/Home/Login");
+            //}
+
+            // login without vsa
+            LoginAdminRequest request = new LoginAdminRequest();
+            request.users = account;
+            request.pass = password;
+
+            String rs = SendPost(request, GetParameter(UtilsController.Constant.SERVICE_ID), GetParameter(UtilsController.Constant.ADMIN_LOGIN), false);
+            UserRoles res = UserRoles.Parse(rs);
+            if (res.status == UtilsController.Constant.SUCCESS)
+            {
+                CreateAuthToken(account, res);
+                return Redirect(GetParameter(UtilsController.Constant.SUB_DOMAIN) + "/Admin/Index");
+            }
+            else
+            {
+                return Redirect(GetParameter(UtilsController.Constant.SUB_DOMAIN) + "/Home/Login");
+            }
+        }
+
+        public IActionResult Logout()
+        {
+            try
+            {
+                ClearCache();
+                return Redirect(GetParameter(UtilsController.Constant.SUB_DOMAIN) + "/Home/Login");
+            }
+            catch (Exception ex)
+            {
+                log.Error("Exception " + ex);
+                return Redirect(GetParameter(UtilsController.Constant.SUB_DOMAIN) + "/Shared/Error");
+            }
+
+        }
+    }
+}

+ 239 - 0
SuperAdmin/SuperAdmin/Controllers/UtilsController.cs

@@ -0,0 +1,239 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using Microsoft.AspNetCore.Mvc;
+
+namespace SuperAdmin.Controllers
+{
+    public class UtilsController : Controller
+    {
+        public class Constant
+        {
+            public const int DATA_TYPE_ONE = 1;
+
+
+            public const String SERVICE_ID = "service_id";
+            public const String GET_BY_ID = "newsGetById";
+            public const String GET_BY_PARENT_ID = "newsGetByParentId";
+            public const String INSERT_DATA = "newsInsert";
+            public const String UPDATE_DATA = "newsUpdate";
+            public const String DELETE_DATA = "newsDelete";
+            public const String GET_PROVINCES = "usersGetProvice";
+            public const String GET_TOPICS = "usersGetTopic";
+            public const String ADMIN_LOGIN = "usersadminlogin";
+
+            public const String PATH_CONTENT = "pathContent";
+            public const String PATH_OUTSIDE = "pathOutside";
+            public const String SERVICE_NAME = "serviceName";
+            public const String SUB_DOMAIN = "subDomain";
+            public const String SUB_DOMAIN_ = "subDomain_";
+
+
+            public const String Enews = "\"Enews\"";
+
+            public const String TEXT_TYPE = "1";
+            public const String AUDIO_LINK = "2";
+            public const String VIDEO_LINK = "3";
+            public const String AUDIO_FILE = "4";
+            public const String VIDEO_FILE = "5";
+            public const String PICTURE_FILE = "6";
+
+
+            // http code
+            public const String USER_SUBSCRIBER = "1";
+            public const String USER_NORMAL = "0";
+            public const String WAITING_OTP = "100";
+            public const String NO_DATA = "1";
+            public const String SUCCESS = "0";
+            public const String INVALID_MSISDN = "-1";
+            public const String EXCEPTION = "-2";
+            public const String USER_EXISTED = "2";
+            public const String AUTHEN_FAIL = "-10";
+            // code
+            public const String FAILURE = "-1";
+
+            // servive
+            public const String EVENT_SERVICE = "Event";
+            public const String RELIGIAO_SERVICE = "Religiao";
+            public const String MAGAZINE_SERVICE = "Magazine";
+
+
+            // service constant
+            public const String VOCABULARY = "VOCABULARY";
+            public const String GRAMMAR = "GRAMMAR";
+            public const String LISTEN = "LISTEN";
+
+            //public const String PARENT_ID = "-1";
+
+
+            // type
+            public const String DELETE = "0";
+            public const String EDITING = "1";
+            public const String ADDING = "2";
+
+
+            public const String GET_CONTENT = "1";
+            public const String NOT_GET_CONTENT = "0";
+
+            public const String NEWS_BUY = "RGL_CHARGE_2";
+            public const String EVENT_REGISTER_NEWS = "EVENT_REGISTER_NEWS";
+            public const String EVENT_REGISTER_UPLOAD = "EVENT_REGISTER_UPLOAD";
+
+
+            public const String USER_NOT_LOGIN = "-1";
+            public const String HAVE_A_PROBLEM = "-20";
+
+
+            public const String RESULT_SEARCH_NULL = "0";
+            public const String RESULT_SEARCH = "1";
+
+            public const String LANGUAGE_GLOBAL = "0";
+            public const String LANGUAGE_LOCAL = "1";
+            public const String UNKNOWN_NAME = "-1";
+            public const String ROWS_ON_PAGE = "10";
+
+            public const String ADMIN_TYPE = "1";
+            public const String USER_TYPE = "0";
+            public const String ALL_TYPE = "-1";
+
+
+            // is_show
+            public const String EVENT_ALL = "-1";
+            public const String ALL_CATEGORIES = "-1";
+
+            public const String DRAFT = "0";
+            public const String WAIT_APPROVAL = "1";
+            public const String APPROVED = "2";
+            public const String REJECTED = "3";
+
+
+            // action
+            public const String CANCEL = "0";
+            public const String SAVE = "1";
+            public const String REJECT = "2";
+            public const String PUBLISH = "3";
+            public const String REMOVE = "4";
+
+            // functions
+            public const String GetTableAction = "0";
+
+
+            // ENEWS
+            // show in right column
+            public const String STATUS_IMPORTANCE = "3";
+            // show without picture
+            public const String STATUS_SECONDARY = "2";
+            // show in the top of page
+            public const String STATUS_FOCUS = "1";
+            // show by catalogue
+            public const String STATUS_NORMAL = "0";
+
+        }
+
+        public class GetContentPath
+        {
+            public const String PATH = "http://tevent.tls.tl/Content/img/event/";
+        }
+
+        public static string RandomString(int size, bool lowerCase)
+        {
+            StringBuilder builder = new StringBuilder();
+            Random random = new Random();
+            char ch;
+            for (int i = 0; i < size; i++)
+            {
+                ch = Convert.ToChar(Convert.ToInt32(Math.Floor(26 * random.NextDouble() + 65)));
+                builder.Append(ch);
+            }
+            if (lowerCase)
+                return builder.ToString().ToLower();
+            return builder.ToString();
+        }
+
+        public static string GetStatus(String status)
+        {
+            switch (status)
+            {
+                case Constant.WAIT_APPROVAL: return "Wait approval";
+                case Constant.APPROVED: return "Approved";
+                case Constant.REJECTED: return "Rejected";
+                default: return status;
+            }
+        }
+
+        public static List<String> GetListContentType()
+        {
+            List<String> list = new List<string>();
+            list.Add("Text type");
+            list.Add("Audio link type");
+            list.Add("Video link type");
+            list.Add("Audio file type");
+            list.Add("Video file type");
+            list.Add("Picture file type");
+            return list;
+        }
+
+        public static List<String> GetListIsShow()
+        {
+            List<String> list = new List<string>();
+            list.Add("DRAFT");
+            list.Add("WAIT APPROVAL");
+            list.Add("APPROVED");
+            list.Add("REJECTED");
+            return list;
+        }
+
+        public static List<String> GetListStatus()
+        {
+            List<String> list = new List<string>();
+            list.Add("Normal news");
+            list.Add("Focus news");
+            list.Add("Secondary news");
+            list.Add("Important news");
+            return list;
+        }
+
+        public static string ConvertStatusType(String type)
+        {
+            switch (type)
+            {
+                case "0": return "Normal news";
+                case "1": return "Focus news";
+                case "2": return "Secondary news";
+                case "3": return "Important news";
+                default: return type + " UNKNOWN CODE";
+            }
+        }
+
+        public static string ConvertContentType(String type)
+        {
+            switch (type)
+            {
+                case "1": return "Text type";
+                case "2": return "Audio link type";
+                case "3": return "Video link type";
+                case "4": return "Audio file type";
+                case "5": return "Video file type";
+                case "6": return "Picture file type";
+                default: return type + " UNKNOWN CODE";
+            }
+        }
+
+        public static string ConvertIsShow(String isShow)
+        {
+            switch (isShow)
+            {
+                case "-1": return "All TYPE";
+                case "0": return "DRAFT";
+                case "1": return "WAIT APPROVAL";
+                case "2": return "APPROVED";
+                case "3": return "REJECTED";
+                //case "3": return "EVENT REJECTED";
+                //case "4": return "EVENT EXPIRED";
+                default: return isShow;
+            }
+        }
+    }
+}

+ 31 - 0
SuperAdmin/SuperAdmin/Extensions/ConfigAction.cs

@@ -0,0 +1,31 @@
+using Microsoft.AspNetCore.Mvc.Filters;
+using Microsoft.Extensions.Configuration;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
+
+namespace SuperAdmin.Extensions
+{
+    public class ConfigAction : IAsyncActionFilter
+    {
+        private MyConfig _options;
+        public ConfigAction(IConfiguration configuration)
+        {
+
+            _options = new MyConfig();
+            configuration.Bind(_options);
+        }
+
+        public async Task OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next)
+        {
+            ((Microsoft.AspNetCore.Mvc.Controller)context.Controller).ViewBag.MyConfig = _options;
+            await next();
+        }
+    }
+
+    public class MyConfig
+    {
+        public string MyValue { get; set; }
+    }
+}

+ 29 - 0
SuperAdmin/SuperAdmin/Extensions/RewriteSubdomainRule.cs

@@ -0,0 +1,29 @@
+using Microsoft.AspNetCore.Rewrite;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text.RegularExpressions;
+using System.Threading.Tasks;
+
+namespace SuperAdmin.Extensions
+{
+    public class RewriteSubdomainRule : IRule
+    {
+        public void ApplyRule(RewriteContext context)
+        {
+            var request = context.HttpContext.Request;
+            var host = request.Host.Host;
+            // Check if the host is subdomain.domain.com or subdomain.localhost for debugging
+            if (Regex.IsMatch(host, @"^[A-Za-z\d]+\.(?:[A-Za-z\d]+\.[A-Za-z\d]+|localhost)$"))
+            {
+                string subdomain = host.Split('.')[0];
+                //modifying the request path to let the routing catch the subdomain
+                context.HttpContext.Request.Path = "/subdomain/" + subdomain + context.HttpContext.Request.Path;
+                context.Result = RuleResult.ContinueRules;
+                return;
+            }
+            context.Result = RuleResult.ContinueRules;
+            return;
+        }
+    }
+}

+ 29 - 0
SuperAdmin/SuperAdmin/Extensions/SessionExtensions.cs

@@ -0,0 +1,29 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
+
+namespace SuperCms.Extensions
+{
+    using System;
+    using Microsoft.AspNetCore.Http;
+    using Newtonsoft.Json;
+
+    public static class SessionExtensions
+    {
+        public static T GetComplexData<T>(this ISession session, string key)
+        {
+            var data = session.GetString(key);
+            if (data == null)
+            {
+                return default(T);
+            }
+            return JsonConvert.DeserializeObject<T>(data);
+        }
+
+        public static void SetComplexData(this ISession session, string key, object value)
+        {
+            session.SetString(key, JsonConvert.SerializeObject(value));
+        }
+    }
+}

+ 28 - 0
SuperAdmin/SuperAdmin/Extensions/js/Event.js

@@ -0,0 +1,28 @@
+function approvesData(id) {
+    console.log("id ", id);
+    var serviceName = $("#serviceName").val();
+    console.log("serviceName ", serviceName);
+
+    $.ajax({
+        type: "POST",
+        url: urlConfig("/" + serviceName + "/Aprroving"),
+        headers: { 'RequestVerificationToken': $('input[name=__RequestVerificationToken]').val() },
+        data: {
+            "__RequestVerificationToken": $('input[name=__RequestVerificationToken]').val(),
+            id: id,
+        },
+        success: function (data) {
+            $('#contentModel').html(data);
+            $('#myContent').modal({ "backdrop": "static", keyboard: true });
+            $('#myContent').modal('show');
+        },
+        failure: function (data) {
+            console.log(data);
+            alert(data);
+        },
+        error: function (data) {
+            console.log(data);
+            alert(data);
+        }
+    });
+}

+ 19 - 0
SuperAdmin/SuperAdmin/Extensions/js/animation.js

@@ -0,0 +1,19 @@
+/* When the user clicks on the button, 
+toggle between hiding and showing the dropdown content */
+function dropDownFunc() {
+    document.getElementById("dropdown").classList.toggle("show");
+}
+
+// Close the dropdown if the user clicks outside of it
+window.onclick = function (event) {
+    if (!event.target.matches('.dropbtn')) {
+        var dropdowns = document.getElementsByClassName("dropdown-content");
+        var i;
+        for (i = 0; i < dropdowns.length; i++) {
+            var openDropdown = dropdowns[i];
+            if (openDropdown.classList.contains('show')) {
+                openDropdown.classList.remove('show');
+            }
+        }
+    }
+}

+ 454 - 0
SuperAdmin/SuperAdmin/Extensions/js/core/app-menu.min.js

@@ -0,0 +1,454 @@
+!function (a, e, m) {
+    "use strict";
+    m.app = m.app || {};
+    var u = m("body")
+        , d = m(a)
+        , l = m('div[data-menu="menu-wrapper"]').html()
+        , r = m('div[data-menu="menu-wrapper"]').attr("class");
+    m.app.menu = {
+        expanded: null,
+        collapsed: null,
+        hidden: null,
+        container: null,
+        horizontalMenu: !1,
+        manualScroller: {
+            obj: null,
+            init: function () {
+                var e = m(".main-menu").hasClass("menu-dark") ? "light" : "dark";
+                this.obj = m(".main-menu-content").perfectScrollbar({
+                    suppressScrollX: !0,
+                    theme: e
+                })
+            },
+            update: function () {
+                if (this.obj) {
+                    var e;
+                    if (!0 === m(".main-menu").data("scroll-to-active"))
+                        e = 0 < m(".main-menu-content").find("li.active").parents("li").length ? m(".main-menu-content").find("li.active").parents("li").last().position() : m(".main-menu-content").find("li.active").position(),
+                            setTimeout(function () {
+                                void 0 !== e && m.app.menu.container.stop().animate({
+                                    scrollTop: e.top
+                                }, 300),
+                                    m(".main-menu").data("scroll-to-active", "false")
+                            }, 300);
+                    m(".main-menu-content").perfectScrollbar("update")
+                }
+            },
+            enable: function () {
+                this.init()
+            },
+            disable: function () {
+                this.obj && m(".main-menu-content").perfectScrollbar("destroy")
+            },
+            updateHeight: function () {
+                "vertical-menu" != u.data("menu") && "vertical-overlay-menu" != u.data("menu") || !m(".main-menu").hasClass("menu-fixed") || (m(".main-menu-content").css("height", m(a).height() - m(".header-navbar").height() - m(".main-menu-header").outerHeight() - m(".main-menu-footer").outerHeight()),
+                    this.update())
+            }
+        },
+        mMenu: {
+            obj: null,
+            init: function () {
+                m(".main-menu").mmenu({
+                    slidingSubmenus: !0,
+                    offCanvas: !1,
+                    counters: !1,
+                    navbar: {
+                        title: ""
+                    },
+                    navbars: [{
+                        position: "top",
+                        content: ["searchfield"]
+                    }],
+                    searchfield: {
+                        resultsPanel: !0
+                    },
+                    setSelected: {
+                        parent: !0
+                    }
+                }, {
+                    classNames: {
+                        divider: "navigation-header",
+                        selected: "active"
+                    },
+                    searchfield: {
+                        clear: !0
+                    }
+                }),
+                    m("a.mm-next").addClass("mm-fullsubopen"),
+                    this.obj = m(".main-menu").data("mmenu")
+            },
+            enable: function () {
+                this.init()
+            },
+            disable: function () { }
+        },
+        init: function (e) {
+            if (0 < m(".main-menu-content").length) {
+                this.container = m(".main-menu-content");
+                var n = "";
+                !0 === e && (n = "collapsed"),
+                    this.change(n)
+            } else
+                this.drillDownMenu()
+        },
+        drillDownMenu: function (e) {
+            m(".drilldown-menu").length && ("sm" == e || "xs" == e ? "true" == m("#navbar-mobile").attr("aria-expanded") && m(".drilldown-menu").slidingMenu({
+                backLabel: !0
+            }) : m(".drilldown-menu").slidingMenu({
+                backLabel: !0
+            }))
+        },
+        change: function (e) {
+            var n = Unison.fetch.now();
+            this.reset();
+            var a, t, i = u.data("menu");
+            if (n)
+                switch (n.name) {
+                    case "xl":
+                    case "lg":
+                        "vertical-overlay-menu" === i ? this.hide() : "vertical-compact-menu" === i ? this.open() : "horizontal-menu" === i && "lg" == n.name ? this.collapse() : "collapsed" === e ? this.collapse(e) : this.expand();
+                        break;
+                    case "md":
+                        "vertical-overlay-menu" === i || "vertical-mmenu" === i ? this.hide() : "vertical-compact-menu" === i ? this.open() : this.collapse();
+                        break;
+                    case "sm":
+                    case "xs":
+                        this.hide()
+                }
+            "vertical-menu" !== i && "vertical-compact-menu" !== i && "vertical-content-menu" !== i || this.toOverlayMenu(n.name),
+                u.is(".horizontal-layout") && !u.hasClass(".horizontal-menu-demo") && (this.changeMenu(n.name),
+                    m(".menu-toggle").removeClass("is-active")),
+                "horizontal-menu" != i && this.drillDownMenu(n.name),
+                "xl" == n.name && (m('body[data-open="hover"] .dropdown').on("mouseenter", function () {
+                    m(this).hasClass("show") ? m(this).removeClass("show") : m(this).addClass("show")
+                }).on("mouseleave", function (e) {
+                    m(this).removeClass("show")
+                }),
+                    m('body[data-open="hover"] .dropdown a').on("click", function (e) {
+                        if ("horizontal-menu" == i && m(this).hasClass("dropdown-toggle"))
+                            return !1
+                    })),
+                m(".header-navbar").hasClass("navbar-brand-center") && m(".header-navbar").attr("data-nav", "brand-center"),
+                "sm" == n.name || "xs" == n.name ? m(".header-navbar[data-nav=brand-center]").removeClass("navbar-brand-center") : m(".header-navbar[data-nav=brand-center]").addClass("navbar-brand-center"),
+                m("ul.dropdown-menu [data-toggle=dropdown]").on("click", function (e) {
+                    0 < m(this).siblings("ul.dropdown-menu").length && e.preventDefault(),
+                        e.stopPropagation(),
+                        m(this).parent().siblings().removeClass("show"),
+                        m(this).parent().toggleClass("show")
+                }),
+                "horizontal-menu" == i && ("sm" == n.name || "xs" == n.name ? m(".menu-fixed").length && m(".menu-fixed").unstick() : m(".navbar-fixed").length && m(".navbar-fixed").sticky()),
+                "vertical-menu" !== i && "vertical-overlay-menu" !== i && "vertical-content-menu" !== i || (jQuery.expr[":"].Contains = function (e, n, a) {
+                    return 0 <= (e.textContent || e.innerText || "").toUpperCase().indexOf(a[3].toUpperCase())
+                }
+                    ,
+                    a = m("#main-menu-navigation"),
+                    t = m(".menu-search"),
+                    m(t).change(function () {
+                        var e = m(this).val();
+                        if (e) {
+                            m(".navigation-header").hide(),
+                                m(a).find("li a:not(:Contains(" + e + "))").hide().parent().hide();
+                            var n = m(a).find("li a:Contains(" + e + ")");
+                            n.parent().hasClass("has-sub") ? (n.show().parents("li").show().addClass("open").closest("li").children("a").show().children("li").show(),
+                                0 < n.siblings("ul").length && n.siblings("ul").children("li").show().children("a").show()) : n.show().parents("li").show().addClass("open").closest("li").children("a").show()
+                        } else
+                            m(".navigation-header").show(),
+                                m(a).find("li a").show().parent().show().removeClass("open");
+                        return m.app.menu.manualScroller.update(),
+                            !1
+                    }).keyup(function () {
+                        m(this).change()
+                    }))
+        },
+        transit: function (e, n) {
+            var a = this;
+            u.addClass("changing-menu"),
+                e.call(a),
+                u.hasClass("vertical-layout") && (u.hasClass("menu-open") || u.hasClass("menu-expanded") ? (m(".menu-toggle").addClass("is-active"),
+                    "vertical-menu" !== u.data("menu") && "vertical-content-menu" !== u.data("menu") || m(".main-menu-header") && m(".main-menu-header").show()) : (m(".menu-toggle").removeClass("is-active"),
+                        "vertical-menu" !== u.data("menu") && "vertical-content-menu" !== u.data("menu") || m(".main-menu-header") && m(".main-menu-header").hide())),
+                setTimeout(function () {
+                    n.call(a),
+                        u.removeClass("changing-menu"),
+                        a.update()
+                }, 500)
+        },
+        open: function () {
+            u.is(".vertical-mmenu") && this.mMenu.enable(),
+                this.transit(function () {
+                    u.removeClass("menu-hide menu-collapsed").addClass("menu-open"),
+                        this.hidden = !1,
+                        this.expanded = !0
+                }, function () {
+                    m(".main-menu").hasClass("menu-native-scroll") || u.is(".vertical-mmenu") || !m(".main-menu").hasClass("menu-fixed") || (this.manualScroller.enable(),
+                        m(".main-menu-content").css("height", m(a).height() - m(".header-navbar").height() - m(".main-menu-header").outerHeight() - m(".main-menu-footer").outerHeight()))
+                })
+        },
+        hide: function () {
+            u.is(".vertical-mmenu") && this.mMenu.disable(),
+                this.transit(function () {
+                    u.removeClass("menu-open menu-expanded").addClass("menu-hide"),
+                        this.hidden = !0,
+                        this.expanded = !1
+                }, function () {
+                    m(".main-menu").hasClass("menu-native-scroll") || u.is(".vertical-mmenu") || !m(".main-menu").hasClass("menu-fixed") || this.manualScroller.enable()
+                })
+        },
+        expand: function () {
+            !1 === this.expanded && this.transit(function () {
+                u.removeClass("menu-collapsed").addClass("menu-expanded"),
+                    this.collapsed = !1,
+                    this.expanded = !0
+            }, function () {
+                u.is(".vertical-mmenu") ? this.mMenu.enable() : m(".main-menu").hasClass("menu-native-scroll") || "vertical-mmenu" == u.data("menu") || "horizontal-menu" == u.data("menu") ? this.manualScroller.disable() : m(".main-menu").hasClass("menu-fixed") && this.manualScroller.enable(),
+                    "vertical-menu" == u.data("menu") && m(".main-menu").hasClass("menu-fixed") && m(".main-menu-content").css("height", m(a).height() - m(".header-navbar").height() - m(".main-menu-header").outerHeight() - m(".main-menu-footer").outerHeight())
+            })
+        },
+        collapse: function (e) {
+            !1 === this.collapsed && this.transit(function () {
+                u.removeClass("menu-expanded").addClass("menu-collapsed"),
+                    this.collapsed = !0,
+                    this.expanded = !1
+            }, function () {
+                "vertical-content-menu" == u.data("menu") && this.manualScroller.disable(),
+                    "horizontal-menu" == u.data("menu") && u.hasClass("vertical-overlay-menu") && m(".main-menu").hasClass("menu-fixed") && this.manualScroller.enable(),
+                    "vertical-menu" == u.data("menu") && m(".main-menu").hasClass("menu-fixed") && m(".main-menu-content").css("height", m(a).height() - m(".header-navbar").height())
+            })
+        },
+        toOverlayMenu: function (e) {
+            var n = u.data("menu");
+            "sm" == e || "xs" == e ? (u.hasClass(n) && u.removeClass(n).addClass("vertical-overlay-menu"),
+                "vertical-content-menu" == n && m(".main-menu").addClass("menu-fixed")) : (u.hasClass("vertical-overlay-menu") && u.removeClass("vertical-overlay-menu").addClass(n),
+                    "vertical-content-menu" == n && m(".main-menu").removeClass("menu-fixed"))
+        },
+        changeMenu: function (e) {
+            m('div[data-menu="menu-wrapper"]').html(""),
+                m('div[data-menu="menu-wrapper"]').html(l);
+            var n = m('div[data-menu="menu-wrapper"]')
+                , a = (m('div[data-menu="menu-container"]'),
+                    m('ul[data-menu="menu-navigation"]'))
+                , t = m('li[data-menu="megamenu"]')
+                , i = m("li[data-mega-col]")
+                , s = m('li[data-menu="dropdown"]')
+                , o = m('li[data-menu="dropdown-submenu"]');
+            "sm" == e || "xs" == e ? (u.removeClass(u.data("menu")).addClass("vertical-layout vertical-overlay-menu fixed-navbar"),
+                m("nav.header-navbar").addClass("fixed-top"),
+                n.removeClass().addClass("main-menu menu-light menu-fixed menu-shadow"),
+                a.removeClass().addClass("navigation navigation-main"),
+                t.removeClass("dropdown mega-dropdown").addClass("has-sub"),
+                t.children("ul").removeClass(),
+                i.each(function (e, n) {
+                    m(n).find(".mega-menu-sub").find("li").has("ul").addClass("has-sub");
+                    var a = m(n).children().first()
+                        , t = "";
+                    a.is("h6") && (t = a.html(),
+                        a.remove(),
+                        m(n).prepend('<a href="#">' + t + "</a>").addClass("has-sub mega-menu-title"))
+                }),
+                t.find("a").removeClass("dropdown-toggle"),
+                t.find("a").removeClass("dropdown-item"),
+                s.removeClass("dropdown").addClass("has-sub"),
+                s.find("a").removeClass("dropdown-toggle nav-link"),
+                s.children("ul").find("a").removeClass("dropdown-item"),
+                s.find("ul").removeClass("dropdown-menu"),
+                o.removeClass().addClass("has-sub"),
+                m.app.nav.init(),
+                m("ul.dropdown-menu [data-toggle=dropdown]").on("click", function (e) {
+                    e.preventDefault(),
+                        e.stopPropagation(),
+                        m(this).parent().siblings().removeClass("open"),
+                        m(this).parent().toggleClass("open")
+                })) : (u.removeClass("vertical-layout vertical-overlay-menu fixed-navbar").addClass(u.data("menu")),
+                    m("nav.header-navbar").removeClass("fixed-top"),
+                    n.removeClass().addClass(r),
+                    this.drillDownMenu(e),
+                    m("a.dropdown-item.nav-has-children").on("click", function () {
+                        event.preventDefault(),
+                            event.stopPropagation()
+                    }),
+                    m("a.dropdown-item.nav-has-parent").on("click", function () {
+                        event.preventDefault(),
+                            event.stopPropagation()
+                    }))
+        },
+        toggle: function () {
+            var e = Unison.fetch.now()
+                , n = (this.collapsed,
+                    this.expanded)
+                , a = this.hidden
+                , t = u.data("menu");
+            switch (e.name) {
+                case "xl":
+                case "lg":
+                case "md":
+                    !0 === n ? "vertical-compact-menu" == t || "vertical-mmenu" == t || "vertical-overlay-menu" == t ? this.hide() : this.collapse() : "vertical-compact-menu" == t || "vertical-mmenu" == t || "vertical-overlay-menu" == t ? this.open() : this.expand();
+                    break;
+                case "sm":
+                case "xs":
+                    !0 === a ? this.open() : this.hide()
+            }
+            this.drillDownMenu(e.name)
+        },
+        update: function () {
+            this.manualScroller.update()
+        },
+        reset: function () {
+            this.expanded = !1,
+                this.collapsed = !1,
+                this.hidden = !1,
+                u.removeClass("menu-hide menu-open menu-collapsed menu-expanded")
+        }
+    },
+        m.app.nav = {
+            container: m(".navigation-main"),
+            initialized: !1,
+            navItem: m(".navigation-main").find("li").not(".navigation-category"),
+            config: {
+                speed: 300
+            },
+            init: function (e) {
+                this.initialized = !0,
+                    m.extend(this.config, e),
+                    u.is(".vertical-mmenu") || this.bind_events()
+            },
+            bind_events: function () {
+                var s = this;
+                m(".navigation-main").on("mouseenter.app.menu", "li", function () {
+                    var e = m(this);
+                    if (m(".hover", ".navigation-main").removeClass("hover"),
+                        u.hasClass("menu-collapsed") || "vertical-compact-menu" == u.data("menu") && !u.hasClass("vertical-overlay-menu")) {
+                        m(".main-menu-content").children("span.menu-title").remove(),
+                            m(".main-menu-content").children("a.menu-title").remove(),
+                            m(".main-menu-content").children("ul.menu-content").remove();
+                        var n, a, t, i = e.find("span.menu-title").clone();
+                        if (e.hasClass("has-sub") || (n = e.find("span.menu-title").text(),
+                            a = e.children("a").attr("href"),
+                            "" !== n && ((i = m("<a>")).attr("href", a),
+                                i.attr("title", n),
+                                i.text(n),
+                                i.addClass("menu-title"))),
+                            t = e.css("border-top") ? 0 < s.GetIEVersion() ? e.offset().top + parseInt(e.css("border-top"), 10) : e.position().top + parseInt(e.css("border-top"), 10) : 0 < s.GetIEVersion() ? e.offset().top : e.position().top,
+                            "vertical-compact-menu" !== u.data("menu") && i.appendTo(".main-menu-content").css({
+                                position: "fixed",
+                                top: t
+                            }),
+                            e.hasClass("has-sub") && e.hasClass("nav-item")) {
+                            e.children("ul:first");
+                            s.adjustSubmenu(e)
+                        }
+                    }
+                    e.addClass("hover")
+                }).on("mouseleave.app.menu", "li", function () { }).on("active.app.menu", "li", function (e) {
+                    m(this).addClass("active"),
+                        e.stopPropagation()
+                }).on("deactive.app.menu", "li.active", function (e) {
+                    m(this).removeClass("active"),
+                        e.stopPropagation()
+                }).on("open.app.menu", "li", function (e) {
+                    var n = m(this);
+                    if (n.addClass("open"),
+                        s.expand(n),
+                        m(".main-menu").hasClass("menu-collapsible"))
+                        return !1;
+                    n.siblings(".open").find("li.open").trigger("close.app.menu"),
+                        n.siblings(".open").trigger("close.app.menu"),
+                        e.stopPropagation()
+                }).on("close.app.menu", "li.open", function (e) {
+                    var n = m(this);
+                    n.removeClass("open"),
+                        s.collapse(n),
+                        e.stopPropagation()
+                }).on("click.app.menu", "li", function (e) {
+                    var n = m(this);
+                    n.is(".disabled") ? e.preventDefault() : u.hasClass("menu-collapsed") || "vertical-compact-menu" == u.data("menu") && n.is(".has-sub") && !u.hasClass("vertical-overlay-menu") ? e.preventDefault() : n.has("ul") ? n.is(".open") ? n.trigger("close.app.menu") : n.trigger("open.app.menu") : n.is(".active") || (n.siblings(".active").trigger("deactive.app.menu"),
+                        n.trigger("active.app.menu")),
+                        e.stopPropagation()
+                }),
+                    m(".main-menu-content").on("mouseleave", function () {
+                        (u.hasClass("menu-collapsed") || "vertical-compact-menu" == u.data("menu")) && (m(".main-menu-content").children("span.menu-title").remove(),
+                            m(".main-menu-content").children("a.menu-title").remove(),
+                            m(".main-menu-content").children("ul.menu-content").remove()),
+                            m(".hover", ".navigation-main").removeClass("hover")
+                    }),
+                    m(".navigation-main li.has-sub > a").on("click", function (e) {
+                        e.preventDefault()
+                    }),
+                    m("ul.menu-content").on("click", "li", function (e) {
+                        var n = m(this);
+                        if (n.is(".disabled"))
+                            e.preventDefault();
+                        else if (n.has("ul"))
+                            if (n.is(".open"))
+                                n.removeClass("open"),
+                                    s.collapse(n);
+                            else {
+                                if (n.addClass("open"),
+                                    s.expand(n),
+                                    m(".main-menu").hasClass("menu-collapsible"))
+                                    return !1;
+                                n.siblings(".open").find("li.open").trigger("close.app.menu"),
+                                    n.siblings(".open").trigger("close.app.menu"),
+                                    e.stopPropagation()
+                            }
+                        else
+                            n.is(".active") || (n.siblings(".active").trigger("deactive.app.menu"),
+                                n.trigger("active.app.menu"));
+                        e.stopPropagation()
+                    })
+            },
+            GetIEVersion: function () {
+                var e = a.navigator.userAgent
+                    , n = e.indexOf("MSIE");
+                return 0 < n ? parseInt(e.substring(n + 5, e.indexOf(".", n))) : navigator.userAgent.match(/Trident\/7\./) ? 11 : 0
+            },
+            adjustSubmenu: function (e) {
+                var n, a, t, i, s, o, l = e.children("ul:first"), r = l.clone(!0);
+                m(".main-menu-header").height(),
+                    n = 0 < this.GetIEVersion() ? e.offset().top : e.position().top,
+                    t = d.height() - m(".header-navbar").height(),
+                    s = 0,
+                    l.height(),
+                    0 < parseInt(e.css("border-top"), 10) && (s = parseInt(e.css("border-top"), 10)),
+                    i = t - n - e.height() - 30,
+                    o = m(".main-menu").hasClass("menu-dark") ? "light" : "dark",
+                    "vertical-compact-menu" === u.data("menu") ? (a = n + s,
+                        i = t - n - 30) : "vertical-content-menu" === u.data("menu") ? (a = n + e.height() + s,
+                            i = t - m(".content-header").height() - e.height() - n - 60) : a = n + e.height() + s,
+                    "vertical-content-menu" == u.data("menu") ? r.addClass("menu-popout").appendTo(".main-menu-content").css({
+                        top: a,
+                        position: "fixed"
+                    }) : (r.addClass("menu-popout").appendTo(".main-menu-content").css({
+                        top: a,
+                        position: "fixed",
+                        "max-height": i
+                    }),
+                        m(".main-menu-content > ul.menu-content").perfectScrollbar({
+                            theme: o
+                        }))
+            },
+            collapse: function (e, n) {
+                e.children("ul").show().slideUp(m.app.nav.config.speed, function () {
+                    m(this).css("display", ""),
+                        m(this).find("> li").removeClass("is-shown"),
+                        n && n(),
+                        m.app.nav.container.trigger("collapsed.app.menu")
+                })
+            },
+            expand: function (e, n) {
+                var a = e.children("ul")
+                    , t = a.children("li").addClass("is-hidden");
+                a.hide().slideDown(m.app.nav.config.speed, function () {
+                    m(this).css("display", ""),
+                        n && n(),
+                        m.app.nav.container.trigger("expanded.app.menu")
+                }),
+                    setTimeout(function () {
+                        t.addClass("is-shown"),
+                            t.removeClass("is-hidden")
+                    }, 0)
+            },
+            refresh: function () {
+                m.app.nav.container.find(".open").removeClass("open")
+            }
+        }
+}(window, document, jQuery);

+ 175 - 0
SuperAdmin/SuperAdmin/Extensions/js/core/app.min.js

@@ -0,0 +1,175 @@
+!function (n, e, o) {
+    "use strict";
+    var s = o("html")
+        , l = o("body");
+    o(n).on("load", function () {
+        o("html").data("textdirection"),
+            setTimeout(function () {
+                s.removeClass("loading").addClass("loaded")
+            }, 1200),
+            o.app.menu.init(!1);
+        !1 === o.app.nav.initialized && o.app.nav.init({
+            speed: 300
+        }),
+            Unison.on("change", function (e) {
+                o.app.menu.change()
+            }),
+            o('[data-toggle="tooltip"]').tooltip({
+                container: "body"
+            }),
+            0 < o(".navbar-hide-on-scroll").length && (o(".navbar-hide-on-scroll.fixed-top").headroom({
+                offset: 205,
+                tolerance: 5,
+                classes: {
+                    initial: "headroom",
+                    pinned: "headroom--pinned-top",
+                    unpinned: "headroom--unpinned-top"
+                }
+            }),
+                o(".navbar-hide-on-scroll.fixed-bottom").headroom({
+                    offset: 205,
+                    tolerance: 5,
+                    classes: {
+                        initial: "headroom",
+                        pinned: "headroom--pinned-bottom",
+                        unpinned: "headroom--unpinned-bottom"
+                    }
+                })),
+            setTimeout(function () {
+                var e;
+                o("body").hasClass("vertical-content-menu") && (e = o(".main-menu").height(),
+                    o(".content-body").height() < e && o(".content-body").css("height", e))
+            }, 500),
+            o('a[data-action="collapse"]').on("click", function (e) {
+                e.preventDefault(),
+                    o(this).closest(".card").children(".card-content").collapse("toggle"),
+                    o(this).closest(".card").find('[data-action="collapse"] i').toggleClass("ft-minus ft-plus")
+            }),
+            o('a[data-action="expand"]').on("click", function (e) {
+                e.preventDefault(),
+                    o(this).closest(".card").find('[data-action="expand"] i').toggleClass("ft-maximize ft-minimize"),
+                    o(this).closest(".card").toggleClass("card-fullscreen")
+            }),
+            0 < o(".scrollable-container").length && o(".scrollable-container").perfectScrollbar({
+                theme: "dark"
+            }),
+            o('a[data-action="reload"]').on("click", function () {
+                o(this).closest(".card").block({
+                    message: '<div class="ft-refresh-cw icon-spin font-medium-2"></div>',
+                    timeout: 2e3,
+                    overlayCSS: {
+                        backgroundColor: "#FFF",
+                        cursor: "wait"
+                    },
+                    css: {
+                        border: 0,
+                        padding: 0,
+                        backgroundColor: "none"
+                    }
+                })
+            }),
+            o('a[data-action="close"]').on("click", function () {
+                o(this).closest(".card").removeClass().slideUp("fast")
+            }),
+            setTimeout(function () {
+                o(".row.match-height").each(function () {
+                    o(this).find(".card").not(".card .card").matchHeight()
+                })
+            }, 500),
+            o('.card .heading-elements a[data-action="collapse"]').on("click", function () {
+                var e, n = o(this).closest(".card");
+                0 < parseInt(n[0].style.height, 10) ? (e = n.css("height"),
+                    n.css("height", "").attr("data-height", e)) : n.data("height") && (e = n.data("height"),
+                        n.css("height", e).attr("data-height", ""))
+            });
+        var e = l.data("menu");
+        "vertical-compact-menu" != e && "horizontal-menu" != e && ("vertical-menu-modern" == l.data("menu") ? "true" === localStorage.getItem("menuLocked") && o(".main-menu-content").find("li.active").parents("li").addClass("open") : o(".main-menu-content").find("li.active").parents("li").addClass("open")),
+            "vertical-compact-menu" != e && "horizontal-menu" != e || (o(".main-menu-content").find("li.active").parents("li:not(.nav-item)").addClass("open"),
+                o(".main-menu-content").find("li.active").parents("li").addClass("active")),
+            o(".heading-elements-toggle").on("click", function () {
+                o(this).parent().children(".heading-elements").toggleClass("visible")
+            });
+        var n = o(".chartjs")
+            , a = n.children("canvas").attr("height");
+        if (n.css("height", a),
+            l.hasClass("boxed-layout") && (l.hasClass("vertical-overlay-menu") || l.hasClass("vertical-compact-menu"))) {
+            var t = o(".main-menu").width()
+                , i = o(".app-content").position().left - t;
+            l.hasClass("menu-flipped") ? o(".main-menu").css("right", i + "px") : o(".main-menu").css("left", i + "px")
+        }
+        o(".nav-link-search").on("click", function () {
+            o(this);
+            var e = o(this).siblings(".search-input");
+            e.hasClass("open") ? e.removeClass("open") : e.addClass("open")
+        })
+    }),
+        o(e).on("click", ".menu-toggle, .modern-nav-toggle", function (e) {
+            return e.preventDefault(),
+                o.app.menu.toggle(),
+                setTimeout(function () {
+                    o(n).trigger("resize")
+                }, 200),
+                0 < o("#collapsed-sidebar").length && setTimeout(function () {
+                    l.hasClass("menu-expanded") || l.hasClass("menu-open") ? o("#collapsed-sidebar").prop("checked", !1) : o("#collapsed-sidebar").prop("checked", !0)
+                }, 1e3),
+                !1
+        }),
+        o(e).on("click", ".open-navbar-container", function (e) {
+            var n = Unison.fetch.now();
+            o.app.menu.drillDownMenu(n.name)
+        }),
+        o(e).on("click", ".main-menu-footer .footer-toggle", function (e) {
+            return e.preventDefault(),
+                o(this).find("i").toggleClass("pe-is-i-angle-down pe-is-i-angle-up"),
+                o(".main-menu-footer").toggleClass("footer-close footer-open"),
+                !1
+        }),
+        o(".navigation").find("li").has("ul").addClass("has-sub"),
+        o(".carousel").carousel({
+            interval: 2e3
+        }),
+        o(".nav-link-expand").on("click", function (e) {
+            "undefined" != typeof screenfull && screenfull.enabled && screenfull.toggle()
+        }),
+        "undefined" != typeof screenfull && screenfull.enabled && o(e).on(screenfull.raw.fullscreenchange, function () {
+            screenfull.isFullscreen ? o(".nav-link-expand").find("i").toggleClass("ft-minimize ft-maximize") : o(".nav-link-expand").find("i").toggleClass("ft-maximize ft-minimize")
+        }),
+        o(e).on("click", ".mega-dropdown-menu", function (e) {
+            e.stopPropagation()
+        }),
+        o(e).ready(function () {
+            o(".step-icon").each(function () {
+                var e = o(this);
+                0 < e.siblings("span.step").length && (e.siblings("span.step").empty(),
+                    o(this).appendTo(o(this).siblings("span.step")))
+            })
+        }),
+        o(n).resize(function () {
+            o.app.menu.manualScroller.updateHeight()
+        }),
+        o(".nav.nav-tabs a.dropdown-item").on("click", function () {
+            var e = o(this)
+                , n = e.attr("href")
+                , a = e.closest(".nav");
+            a.find(".nav-link").removeClass("active"),
+                e.closest(".nav-item").find(".nav-link").addClass("active"),
+                e.closest(".dropdown-menu").find(".dropdown-item").removeClass("active"),
+                e.addClass("active"),
+                a.next().find(n).siblings(".tab-pane").removeClass("active in").attr("aria-expanded", !1),
+                o(n).addClass("active in").attr("aria-expanded", "true")
+        }),
+        o("#sidebar-page-navigation").on("click", "a.nav-link", function (e) {
+            e.preventDefault(),
+                e.stopPropagation();
+            var n = o(this)
+                , a = n.attr("href")
+                , t = o(a).offset().top - 80;
+            o("html, body").animate({
+                scrollTop: t
+            }, 0),
+                setTimeout(function () {
+                    n.parent(".nav-item").siblings(".nav-item").children(".nav-link").removeClass("active"),
+                        n.addClass("active")
+                }, 100)
+        })
+}(window, document, jQuery);

ファイルの差分が大きいため隠しています
+ 0 - 0
SuperAdmin/SuperAdmin/Extensions/js/js/app-menu.min.js


ファイルの差分が大きいため隠しています
+ 0 - 0
SuperAdmin/SuperAdmin/Extensions/js/js/app.min.js


+ 1 - 0
SuperAdmin/SuperAdmin/Extensions/js/js/breadcrumbs-with-stats.min.js

@@ -0,0 +1 @@
+!function (t, a, r) { "use strict"; jQuery("#sp-bar-total-sales").sparkline([5, 6, 7, 8, 9, 10, 12, 13, 15, 14, 13, 12, 10, 9, 8, 10, 12, 14, 15, 16, 17, 14, 12, 11, 10, 8], { type: "bar", width: "100%", height: "30px", barWidth: 2, barSpacing: 4, barColor: "#00BCD4" }) }(window, document);

+ 108 - 0
SuperAdmin/SuperAdmin/Extensions/js/js/chart-dashboard.js

@@ -0,0 +1,108 @@
+var r = {
+        responsive: !0,
+        maintainAspectRatio: !1,
+        scales: {
+            xAxes: [{
+                display: !0,
+                gridLines: {
+                    color: "#f3f3f3",
+                    drawTicks: !1
+                },
+                scaleLabel: {
+                    display: !0
+                }
+            }],
+            yAxes: [
+                {
+                    id: 'A',
+                    display: !0,
+                    gridLines: {
+                        color: "#f3f3f3",
+                        drawTicks: !1
+                    },
+                    labelString: "Subs",
+                    scaleLabel: {
+                        display: !0
+                    }
+                }
+            ]
+        },
+        title: {
+            display: !1
+        },
+        plugins: {
+            datalabels: {
+                color: 'red'
+            }
+        },
+        legend: {
+            display: true,
+            labels: {
+                fontColor: "black",
+                fontSize: 15,
+                padding: 10
+            }
+        }
+    };
+
+function load_chart_users(timeline, playUsers, newUsers) {
+    var a = $("#chart-users");
+    new Chart(a, {
+        type: "bar",
+        options: r,
+        data: {
+            labels: timeline,
+            datasets: [
+                {
+                    type: "bar",
+                    label: "Total users",
+                    yAxisID: 'A',
+                    data: playUsers,
+                    backgroundColor: "#00A5A8",
+                    borderColor: "transparent",
+                    borderWidth: 2
+                }
+                //{
+                //    type: "bar",
+                //    label: "New users",
+                //    yAxisID: 'A',
+                //    data: newUsers,
+                //    backgroundColor: "#F25E75",
+                //    borderColor: "transparent",
+                //    borderWidth: 2
+                //}
+            ]
+        }
+    })
+}; 
+
+function load_chart_revenue(id, timeline, revenue, paid) {
+    var a = $("#" + id);
+    new Chart(a, {
+        type: "bar",
+        options: r,
+        data: {
+            labels: timeline,
+            datasets: [
+                {
+                    type: "bar",
+                    label: "Revenue",
+                    yAxisID: 'A',
+                    data: revenue,
+                    backgroundColor: "#00A5A8",
+                    borderColor: "transparent",
+                    borderWidth: 2
+                },
+                {
+                    type: "bar",
+                    label: "Winner money",
+                    yAxisID: 'A',
+                    data: paid,
+                    backgroundColor: "#F25E75",
+                    borderColor: "transparent",
+                    borderWidth: 2
+                }
+            ]
+        }
+    })
+};

ファイルの差分が大きいため隠しています
+ 0 - 0
SuperAdmin/SuperAdmin/Extensions/js/js/customizer.min.js


ファイルの差分が大きいため隠しています
+ 0 - 0
SuperAdmin/SuperAdmin/Extensions/js/js/dashboard-project.min.js


+ 320 - 0
SuperAdmin/SuperAdmin/Extensions/js/js/spin.js

@@ -0,0 +1,320 @@
+//fgnass.github.com/spin.js#v1.2.8
+!function (window, document, undefined) {
+
+    /**
+     * Copyright (c) 2011 Felix Gnass [fgnass at neteye dot de]
+     * Licensed under the MIT license
+     */
+
+    var prefixes = ['webkit', 'Moz', 'ms', 'O'] /* Vendor prefixes */
+        , animations = {} /* Animation rules keyed by their name */
+        , useCssAnimations
+
+    /**
+     * Utility function to create elements. If no tag name is given,
+     * a DIV is created. Optionally properties can be passed.
+     */
+    function createEl(tag, prop) {
+        var el = document.createElement(tag || 'div')
+            , n
+
+        for (n in prop) el[n] = prop[n]
+        return el
+    }
+
+    /**
+     * Appends children and returns the parent.
+     */
+    function ins(parent /* child1, child2, ...*/) {
+        for (var i = 1, n = arguments.length; i < n; i++)
+            parent.appendChild(arguments[i])
+
+        return parent
+    }
+
+    /**
+     * Insert a new stylesheet to hold the @keyframe or VML rules.
+     */
+    var sheet = function () {
+        var el = createEl('style', { type: 'text/css' })
+        ins(document.getElementsByTagName('head')[0], el)
+        return el.sheet || el.styleSheet
+    }()
+
+    /**
+     * Creates an opacity keyframe animation rule and returns its name.
+     * Since most mobile Webkits have timing issues with animation-delay,
+     * we create separate rules for each line/segment.
+     */
+    function addAnimation(alpha, trail, i, lines) {
+        var name = ['opacity', trail, ~~(alpha * 100), i, lines].join('-')
+            , start = 0.01 + i / lines * 100
+            , z = Math.max(1 - (1 - alpha) / trail * (100 - start), alpha)
+            , prefix = useCssAnimations.substring(0, useCssAnimations.indexOf('Animation')).toLowerCase()
+            , pre = prefix && '-' + prefix + '-' || ''
+
+        if (!animations[name]) {
+            sheet.insertRule(
+                '@' + pre + 'keyframes ' + name + '{' +
+                '0%{opacity:' + z + '}' +
+                start + '%{opacity:' + alpha + '}' +
+                (start + 0.01) + '%{opacity:1}' +
+                (start + trail) % 100 + '%{opacity:' + alpha + '}' +
+                '100%{opacity:' + z + '}' +
+                '}', sheet.cssRules.length)
+
+            animations[name] = 1
+        }
+        return name
+    }
+
+    /**
+     * Tries various vendor prefixes and returns the first supported property.
+     **/
+    function vendor(el, prop) {
+        var s = el.style
+            , pp
+            , i
+
+        if (s[prop] !== undefined) return prop
+        prop = prop.charAt(0).toUpperCase() + prop.slice(1)
+        for (i = 0; i < prefixes.length; i++) {
+            pp = prefixes[i] + prop
+            if (s[pp] !== undefined) return pp
+        }
+    }
+
+    /**
+     * Sets multiple style properties at once.
+     */
+    function css(el, prop) {
+        for (var n in prop)
+            el.style[vendor(el, n) || n] = prop[n]
+
+        return el
+    }
+
+    /**
+     * Fills in default values.
+     */
+    function merge(obj) {
+        for (var i = 1; i < arguments.length; i++) {
+            var def = arguments[i]
+            for (var n in def)
+                if (obj[n] === undefined) obj[n] = def[n]
+        }
+        return obj
+    }
+
+    /**
+     * Returns the absolute page-offset of the given element.
+     */
+    function pos(el) {
+        var o = { x: el.offsetLeft, y: el.offsetTop }
+        while ((el = el.offsetParent))
+            o.x += el.offsetLeft, o.y += el.offsetTop
+
+        return o
+    }
+
+    var defaults = {
+        lines: 12,            // The number of lines to draw
+        length: 7,            // The length of each line
+        width: 5,             // The line thickness
+        radius: 10,           // The radius of the inner circle
+        rotate: 0,            // Rotation offset
+        corners: 1,           // Roundness (0..1)
+        color: '#000',        // #rgb or #rrggbb
+        speed: 1,             // Rounds per second
+        trail: 100,           // Afterglow percentage
+        opacity: 1 / 4,         // Opacity of the lines
+        fps: 20,              // Frames per second when using setTimeout()
+        zIndex: 2e9,          // Use a high z-index by default
+        className: 'spinner', // CSS class to assign to the element
+        top: 'auto',          // center vertically
+        left: 'auto',         // center horizontally
+        position: 'relative'  // element position
+    }
+
+    /** The constructor */
+    function Spinner(o) {
+        if (!this.spin) return new Spinner(o)
+        this.opts = merge(o || {}, Spinner.defaults, defaults)
+    }
+
+    Spinner.defaults = {}
+
+    merge(Spinner.prototype, {
+        spin: function (target) {
+            this.stop()
+            var self = this
+                , o = self.opts
+                , el = self.el = css(createEl(0, { className: o.className }), { position: o.position, width: 0, zIndex: o.zIndex })
+                , mid = o.radius + o.length + o.width
+                , ep // element position
+                , tp // target position
+
+            if (target) {
+                target.insertBefore(el, target.firstChild || null)
+                tp = pos(target)
+                ep = pos(el)
+                css(el, {
+                    left: (o.left == 'auto' ? tp.x - ep.x + (target.offsetWidth >> 1) : parseInt(o.left, 10) + mid) + 'px',
+                    top: (o.top == 'auto' ? tp.y - ep.y + (target.offsetHeight >> 1) : parseInt(o.top, 10) + mid) + 'px'
+                })
+            }
+
+            el.setAttribute('aria-role', 'progressbar')
+            self.lines(el, self.opts)
+
+            if (!useCssAnimations) {
+                // No CSS animation support, use setTimeout() instead
+                var i = 0
+                    , fps = o.fps
+                    , f = fps / o.speed
+                    , ostep = (1 - o.opacity) / (f * o.trail / 100)
+                    , astep = f / o.lines
+
+                    ; (function anim() {
+                        i++;
+                        for (var s = o.lines; s; s--) {
+                            var alpha = Math.max(1 - (i + s * astep) % f * ostep, o.opacity)
+                            self.opacity(el, o.lines - s, alpha, o)
+                        }
+                        self.timeout = self.el && setTimeout(anim, ~~(1000 / fps))
+                    })()
+            }
+            return self
+        },
+
+        stop: function () {
+            var el = this.el
+            if (el) {
+                clearTimeout(this.timeout)
+                if (el.parentNode) el.parentNode.removeChild(el)
+                this.el = undefined
+            }
+            return this
+        },
+
+        lines: function (el, o) {
+            var i = 0
+                , seg
+
+            function fill(color, shadow) {
+                return css(createEl(), {
+                    position: 'absolute',
+                    width: (o.length + o.width) + 'px',
+                    height: o.width + 'px',
+                    background: color,
+                    boxShadow: shadow,
+                    transformOrigin: 'left',
+                    transform: 'rotate(' + ~~(360 / o.lines * i + o.rotate) + 'deg) translate(' + o.radius + 'px' + ',0)',
+                    borderRadius: (o.corners * o.width >> 1) + 'px'
+                })
+            }
+
+            for (; i < o.lines; i++) {
+                seg = css(createEl(), {
+                    position: 'absolute',
+                    top: 1 + ~(o.width / 2) + 'px',
+                    transform: o.hwaccel ? 'translate3d(0,0,0)' : '',
+                    opacity: o.opacity,
+                    animation: useCssAnimations && addAnimation(o.opacity, o.trail, i, o.lines) + ' ' + 1 / o.speed + 's linear infinite'
+                })
+
+                if (o.shadow) ins(seg, css(fill('#000', '0 0 4px ' + '#000'), { top: 2 + 'px' }))
+
+                ins(el, ins(seg, fill(o.color, '0 0 1px rgba(0,0,0,.1)')))
+            }
+            return el
+        },
+
+        opacity: function (el, i, val) {
+            if (i < el.childNodes.length) el.childNodes[i].style.opacity = val
+        }
+
+    })
+
+        /////////////////////////////////////////////////////////////////////////
+        // VML rendering for IE
+        /////////////////////////////////////////////////////////////////////////
+
+        /**
+         * Check and init VML support
+         */
+        ; (function () {
+
+            function vml(tag, attr) {
+                return createEl('<' + tag + ' xmlns="urn:schemas-microsoft.com:vml" class="spin-vml">', attr)
+            }
+
+            var s = css(createEl('group'), { behavior: 'url(#default#VML)' })
+
+            if (!vendor(s, 'transform') && s.adj) {
+
+                // VML support detected. Insert CSS rule ...
+                sheet.addRule('.spin-vml', 'behavior:url(#default#VML)')
+
+                Spinner.prototype.lines = function (el, o) {
+                    var r = o.length + o.width
+                        , s = 2 * r
+
+                    function grp() {
+                        return css(
+                            vml('group', {
+                                coordsize: s + ' ' + s,
+                                coordorigin: -r + ' ' + -r
+                            }),
+                            { width: s, height: s }
+                        )
+                    }
+
+                    var margin = -(o.width + o.length) * 2 + 'px'
+                        , g = css(grp(), { position: 'absolute', top: margin, left: margin })
+                        , i
+
+                    function seg(i, dx, filter) {
+                        ins(g,
+                            ins(css(grp(), { rotation: 360 / o.lines * i + 'deg', left: ~~dx }),
+                                ins(css(vml('roundrect', { arcsize: o.corners }), {
+                                    width: r,
+                                    height: o.width,
+                                    left: o.radius,
+                                    top: -o.width >> 1,
+                                    filter: filter
+                                }),
+                                    vml('fill', { color: o.color, opacity: o.opacity }),
+                                    vml('stroke', { opacity: 0 }) // transparent stroke to fix color bleeding upon opacity change
+                                )
+                            )
+                        )
+                    }
+
+                    if (o.shadow)
+                        for (i = 1; i <= o.lines; i++)
+                            seg(i, -2, 'progid:DXImageTransform.Microsoft.Blur(pixelradius=2,makeshadow=1,shadowopacity=.3)')
+
+                    for (i = 1; i <= o.lines; i++) seg(i)
+                    return ins(el, g)
+                }
+
+                Spinner.prototype.opacity = function (el, i, val, o) {
+                    var c = el.firstChild
+                    o = o.shadow && o.lines || 0
+                    if (c && i + o < c.childNodes.length) {
+                        c = c.childNodes[i + o]; c = c && c.firstChild; c = c && c.firstChild
+                        if (c) c.opacity = val
+                    }
+                }
+            }
+            else
+                useCssAnimations = vendor(s, 'animation')
+        })()
+
+    if (typeof define == 'function' && define.amd)
+        define(function () { return Spinner })
+    else
+        window.Spinner = Spinner
+
+}(window, document);

+ 353 - 0
SuperAdmin/SuperAdmin/Extensions/js/main.js

@@ -0,0 +1,353 @@
+function urlConfig(link) {
+    var subDomain = $("#subDomain").val();
+    console.log(subDomain);
+    console.log(subDomain + link);
+    //return window.location.protocol + '//' + window.location.host + subDomain + link;
+    return subDomain + link;
+}
+
+function proceduceRedirect() {
+    var subDomain = $("#subDomain").val();
+    var serviceName = $("#serviceName").val();
+    window.location.href = subDomain + "/" + serviceName + "/Proceduces";
+}
+
+function approvesRedirect() {
+    var subDomain = $("#subDomain").val();
+    var serviceName = $("#serviceName").val();
+    window.location.href = subDomain + "/" + serviceName + "/Approves";
+}
+
+function judgesRedirect() {
+    var subDomain = $("#subDomain").val();
+
+    var serviceName = $("#serviceName").val();
+    window.location.href = subDomain + "/" + serviceName + "/Judges";
+}
+
+function categoryClick(categoryID) {
+    console.log("categoryID: ", categoryID);
+    $("#categoryID").val(categoryID);
+    $("#page").val("1");
+    $("#message-post").submit();
+}
+
+function refeshContentModel() {
+    const myNode = document.getElementById("contentModel");
+    while (myNode.lastElementChild) {
+        myNode.removeChild(myNode.lastElementChild);
+    }
+}
+
+function searchData() {
+    $.ajax({
+        type: "POST",
+        url: urlConfig("/Message/Search"),
+        headers: { 'RequestVerificationToken': $('input[name=__RequestVerificationToken]').val() },
+        data: {
+            "__RequestVerificationToken": $('input[name=__RequestVerificationToken]').val(),
+        },
+        success: function (data) {
+            $('#informModel').html(data);
+            $('#myInform').modal({ "backdrop": "static", keyboard: true });
+            $('#myInform').modal('show');
+        },
+        failure: function (data) {
+            console.log(data);
+            alert(data);
+        },
+        error: function (data) {
+            console.log(data);
+            alert(data);
+        }
+    });
+}
+
+
+function exportData(telcoID, companyID) {
+    console.log("excel");
+    $.ajax({
+        type: "POST",
+        url: urlConfig("/Report/Export"),
+        headers: { 'RequestVerificationToken': $('input[name=__RequestVerificationToken]').val() },
+        data: {
+            "__RequestVerificationToken": $('input[name=__RequestVerificationToken]').val(),
+            telcoID: telcoID,
+            companyID: companyID,
+        },
+        success: function (data) {
+            $('#contentModel').html(data);
+            $('#myContent').modal({ "backdrop": "static", keyboard: true });
+            $('#myContent').modal('show');
+        },
+        failure: function (data) {
+            console.log(data);
+            alert(data);
+        },
+        error: function (data) {
+            console.log(data);
+            alert(data);
+        }
+    });
+}
+
+function exportAction() {
+    // get all data
+    var telcoID = $("#telcoExport").val();
+    var companyID = $("#companyExport").val();
+    var serviceID = $("#serviceExport").val();
+    var startMonth = $("#fromDate").val();
+    var endMonth = $("#toDate").val();
+
+    $("#modeltelcoID").val(telcoID);
+    $("#modelcompanyID").val(companyID);
+    $("#modelserviceID").val(serviceID);
+    $("#modelstartMonth").val(startMonth);
+    $("#modelendMonth").val(endMonth);
+    $("#report-export-action-form").submit();
+    $('#myContent').modal('hide');
+}
+
+function addData(id) {
+    console.log("id ", id);
+    var serviceName = $("#serviceName").val();
+    console.log("serviceName ", serviceName);
+
+    $.ajax({
+        type: "POST",
+        url: urlConfig("/" + serviceName + "/Editing"),
+        headers: { 'RequestVerificationToken': $('input[name=__RequestVerificationToken]').val() },
+        data: {
+            "__RequestVerificationToken": $('input[name=__RequestVerificationToken]').val(),
+            id: id,
+            action: 'add'
+        },
+        success: function (data) {
+            $('#contentModel').html(data);
+            $('#myContent').modal({ "backdrop": "static", keyboard: true });
+            $('#myContent').modal('show');
+        },
+        failure: function (data) {
+            console.log(data);
+            alert(data);
+        },
+        error: function (data) {
+            console.log(data);
+            alert(data);
+        }
+    });
+}
+
+function editData(id, action) {
+    console.log("id ", id);
+    var serviceName = $("#serviceName").val();
+    console.log("serviceName ", serviceName);
+
+    $.ajax({
+        type: "POST",
+        url: urlConfig("/" + serviceName + "/Editing"), 
+        data: {
+            "__RequestVerificationToken": $('input[name=__RequestVerificationToken]').val(),
+            id: id,
+            action: action
+        },
+        success: function (data) {
+            $('#contentModel').html(data);
+            $('#myContent').modal({ "backdrop": "static", keyboard: true });
+            $('#myContent').modal('show');
+        },
+        failure: function (data) {
+            console.log(data);
+            alert(data);
+        },
+        error: function (data) {
+            console.log(data);
+            alert(data);
+        }
+    });
+}
+
+function deleteData(id) {
+    console.log("id ", id);
+    var serviceName = $("#serviceName").val();
+    $.ajax({
+        type: "POST",
+        url: urlConfig("/Partial/TreeConfirm"),
+        data: {
+            "message": "Are you sure ?",
+            "id": id,
+            "url": "/" + serviceName + "/DeletingAction"
+        },
+        success: function (data) {
+            $('#informModel').html(data);
+            $('#myInform').modal({ "backdrop": "static", keyboard: true });
+            $('#myInform').modal('show');
+        },
+        failure: function (data) {
+            console.log(data);
+            alert(data);
+        },
+        error: function (data) {
+            console.log(data);
+            alert(data);
+        }
+    });
+}
+
+function pasteData(action, sourceID, destinationID) {
+    console.log("action ", action);
+    console.log("sourceID ", sourceID);
+    console.log("destinationID ", destinationID);
+    var serviceName = $("#serviceName").val();
+    $.ajax({
+        type: "POST",
+        url: urlConfig(action == "1" ? "/" + serviceName + "/MovingAction" : action == "2" ? "/" + serviceName + "/CopyingAction" : null),
+        headers: { 'RequestVerificationToken': $('input[name=__RequestVerificationToken]').val() },
+        data: {
+            "__RequestVerificationToken": $('input[name=__RequestVerificationToken]').val(),
+            sourceID: sourceID,
+            destinationID: destinationID,
+        },
+        success: function (data) {
+            $.ajax({
+                type: "POST",
+                url: "/Partial/TreeResponse",
+                data: {
+                    "ids": data.ids,
+                    "message": data.message
+                },
+                success: function (data) {
+                    $('#informModel').html(data);
+                    $('#myInform').modal({ "backdrop": "static", keyboard: true });
+                    $('#myInform').modal('show');
+                },
+                failure: function (data) {
+                    alert(data);
+                },
+                error: function (data) {
+                    alert(data);
+                }
+            });
+        },
+        failure: function (data) {
+            console.log(data);
+            alert(data);
+        },
+        error: function (data) {
+            console.log(data);
+            alert(data);
+        }
+    });
+}
+
+$(".clickable").on("click", function () {
+    var id = $(this).attr("value");
+    $(this).removeClass("none-parent-style");
+    $(this).addClass("parent-style");
+    //console.log("clickable " + id);
+    $.ajax({
+        type: "POST",
+        url: urlConfig("/Tree/GetTreeData"),
+        headers: { 'RequestVerificationToken': $('input[name=__RequestVerificationToken]').val() },
+        data: {
+            "__RequestVerificationToken": $('input[name=__RequestVerificationToken]').val(),
+            id: id,
+        },
+        success: function (data) {
+            //console.log(data);
+            $('#child-items-' + id).html(data);
+            getTableAction(id);
+        },
+        failure: function (data) {
+            console.log(data);
+            alert(data);
+        },
+        error: function (data) {
+            console.log(data);
+            alert(data);
+        }
+    });
+})
+
+//getTableAction("-1");
+function getTableAction(id) {
+    //console.log("clickable " + id);
+    $.ajax({
+        type: "POST",
+        url: urlConfig("/Tree/GetTableData"),
+        headers: { 'RequestVerificationToken': $('input[name=__RequestVerificationToken]').val() },
+        data: {
+            "__RequestVerificationToken": $('input[name=__RequestVerificationToken]').val(),
+            id: id,
+        },
+        success: function (data) {
+            //console.log(data);
+            $('#replaceable-table').html(data);
+        },
+        failure: function (data) {
+            console.log(data);
+            alert(data);
+        },
+        error: function (data) {
+            console.log(data);
+            alert(data);
+        }
+    });
+}
+
+function addAction() {
+    //clickableOutClick();
+    //var id = $("#itemID").val();
+    //console.log("addAction " + id);
+    //addData(id);
+    clickableOutClick();
+    var id = $("#itemID").val();
+    console.log("editAction " + id);
+    editData(id, "add");
+}
+
+function editAction() {
+    clickableOutClick();
+    var id = $("#itemID").val();
+    console.log("editAction " + id);
+    editData(id, "edit");
+}
+
+function deleteAction() {
+    clickableOutClick();
+    var id = $("#itemID").val();
+    console.log("deleteAction " + id);
+    deleteData(id);
+}
+
+function moveAction() {
+    clickableOutClick();
+    var id = $("#itemID").val();
+    console.log("moveAction " + id);
+    $("#sourceID").val(id);
+    $("#action").val("1");
+    $("#paste-button").removeClass("disable-click");
+}
+
+function pasteAction() {
+    clickableOutClick();
+    var id = $("#itemID").val();
+    console.log("pasteAction " + id);
+    var sourceID = $("#sourceID").val();
+    var action = $("#action").val();
+
+    if (sourceID != null && action != null) {
+        $("#destinationID").val(id);
+        $("#paste-button").addClass("disable-click");
+        pasteData(action, sourceID, id);
+    }
+}
+
+function copyAction() {
+    clickableOutClick();
+    var id = $("#itemID").val();
+    console.log("copyAction " + id);
+    $("#sourceID").val(id);
+    $("#action").val("2");
+    $("#paste-button").removeClass("disable-click");
+}

ファイルの差分が大きいため隠しています
+ 0 - 0
SuperAdmin/SuperAdmin/Extensions/js/scripts/customizer.min.js


+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/site.js

@@ -0,0 +1,4 @@
+// Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
+// for details on configuring this project to bundle and minify static web assets.
+
+// Write your JavaScript code.

+ 320 - 0
SuperAdmin/SuperAdmin/Extensions/js/spin.js

@@ -0,0 +1,320 @@
+//fgnass.github.com/spin.js#v1.2.8
+!function(window, document, undefined) {
+
+  /**
+   * Copyright (c) 2011 Felix Gnass [fgnass at neteye dot de]
+   * Licensed under the MIT license
+   */
+
+  var prefixes = ['webkit', 'Moz', 'ms', 'O'] /* Vendor prefixes */
+    , animations = {} /* Animation rules keyed by their name */
+    , useCssAnimations
+
+  /**
+   * Utility function to create elements. If no tag name is given,
+   * a DIV is created. Optionally properties can be passed.
+   */
+  function createEl(tag, prop) {
+    var el = document.createElement(tag || 'div')
+      , n
+
+    for(n in prop) el[n] = prop[n]
+    return el
+  }
+
+  /**
+   * Appends children and returns the parent.
+   */
+  function ins(parent /* child1, child2, ...*/) {
+    for (var i=1, n=arguments.length; i<n; i++)
+      parent.appendChild(arguments[i])
+
+    return parent
+  }
+
+  /**
+   * Insert a new stylesheet to hold the @keyframe or VML rules.
+   */
+  var sheet = function() {
+    var el = createEl('style', {type : 'text/css'})
+    ins(document.getElementsByTagName('head')[0], el)
+    return el.sheet || el.styleSheet
+  }()
+
+  /**
+   * Creates an opacity keyframe animation rule and returns its name.
+   * Since most mobile Webkits have timing issues with animation-delay,
+   * we create separate rules for each line/segment.
+   */
+  function addAnimation(alpha, trail, i, lines) {
+    var name = ['opacity', trail, ~~(alpha*100), i, lines].join('-')
+      , start = 0.01 + i/lines*100
+      , z = Math.max(1 - (1-alpha) / trail * (100-start), alpha)
+      , prefix = useCssAnimations.substring(0, useCssAnimations.indexOf('Animation')).toLowerCase()
+      , pre = prefix && '-'+prefix+'-' || ''
+
+    if (!animations[name]) {
+      sheet.insertRule(
+        '@' + pre + 'keyframes ' + name + '{' +
+        '0%{opacity:' + z + '}' +
+        start + '%{opacity:' + alpha + '}' +
+        (start+0.01) + '%{opacity:1}' +
+        (start+trail) % 100 + '%{opacity:' + alpha + '}' +
+        '100%{opacity:' + z + '}' +
+        '}', sheet.cssRules.length)
+
+      animations[name] = 1
+    }
+    return name
+  }
+
+  /**
+   * Tries various vendor prefixes and returns the first supported property.
+   **/
+  function vendor(el, prop) {
+    var s = el.style
+      , pp
+      , i
+
+    if(s[prop] !== undefined) return prop
+    prop = prop.charAt(0).toUpperCase() + prop.slice(1)
+    for(i=0; i<prefixes.length; i++) {
+      pp = prefixes[i]+prop
+      if(s[pp] !== undefined) return pp
+    }
+  }
+
+  /**
+   * Sets multiple style properties at once.
+   */
+  function css(el, prop) {
+    for (var n in prop)
+      el.style[vendor(el, n)||n] = prop[n]
+
+    return el
+  }
+
+  /**
+   * Fills in default values.
+   */
+  function merge(obj) {
+    for (var i=1; i < arguments.length; i++) {
+      var def = arguments[i]
+      for (var n in def)
+        if (obj[n] === undefined) obj[n] = def[n]
+    }
+    return obj
+  }
+
+  /**
+   * Returns the absolute page-offset of the given element.
+   */
+  function pos(el) {
+    var o = { x:el.offsetLeft, y:el.offsetTop }
+    while((el = el.offsetParent))
+      o.x+=el.offsetLeft, o.y+=el.offsetTop
+
+    return o
+  }
+
+  var defaults = {
+    lines: 12,            // The number of lines to draw
+    length: 7,            // The length of each line
+    width: 5,             // The line thickness
+    radius: 10,           // The radius of the inner circle
+    rotate: 0,            // Rotation offset
+    corners: 1,           // Roundness (0..1)
+    color: '#000',        // #rgb or #rrggbb
+    speed: 1,             // Rounds per second
+    trail: 100,           // Afterglow percentage
+    opacity: 1/4,         // Opacity of the lines
+    fps: 20,              // Frames per second when using setTimeout()
+    zIndex: 2e9,          // Use a high z-index by default
+    className: 'spinner', // CSS class to assign to the element
+    top: 'auto',          // center vertically
+    left: 'auto',         // center horizontally
+    position: 'relative'  // element position
+  }
+
+  /** The constructor */
+  function Spinner(o) {
+    if (!this.spin) return new Spinner(o)
+    this.opts = merge(o || {}, Spinner.defaults, defaults)
+  }
+
+  Spinner.defaults = {}
+
+  merge(Spinner.prototype, {
+    spin: function(target) {
+      this.stop()
+      var self = this
+        , o = self.opts
+        , el = self.el = css(createEl(0, {className: o.className}), {position: o.position, width: 0, zIndex: o.zIndex})
+        , mid = o.radius+o.length+o.width
+        , ep // element position
+        , tp // target position
+
+      if (target) {
+        target.insertBefore(el, target.firstChild||null)
+        tp = pos(target)
+        ep = pos(el)
+        css(el, {
+          left: (o.left == 'auto' ? tp.x-ep.x + (target.offsetWidth >> 1) : parseInt(o.left, 10) + mid) + 'px',
+          top: (o.top == 'auto' ? tp.y-ep.y + (target.offsetHeight >> 1) : parseInt(o.top, 10) + mid)  + 'px'
+        })
+      }
+
+      el.setAttribute('aria-role', 'progressbar')
+      self.lines(el, self.opts)
+
+      if (!useCssAnimations) {
+        // No CSS animation support, use setTimeout() instead
+        var i = 0
+          , fps = o.fps
+          , f = fps/o.speed
+          , ostep = (1-o.opacity) / (f*o.trail / 100)
+          , astep = f/o.lines
+
+        ;(function anim() {
+          i++;
+          for (var s=o.lines; s; s--) {
+            var alpha = Math.max(1-(i+s*astep)%f * ostep, o.opacity)
+            self.opacity(el, o.lines-s, alpha, o)
+          }
+          self.timeout = self.el && setTimeout(anim, ~~(1000/fps))
+        })()
+      }
+      return self
+    },
+
+    stop: function() {
+      var el = this.el
+      if (el) {
+        clearTimeout(this.timeout)
+        if (el.parentNode) el.parentNode.removeChild(el)
+        this.el = undefined
+      }
+      return this
+    },
+
+    lines: function(el, o) {
+      var i = 0
+        , seg
+
+      function fill(color, shadow) {
+        return css(createEl(), {
+          position: 'absolute',
+          width: (o.length+o.width) + 'px',
+          height: o.width + 'px',
+          background: color,
+          boxShadow: shadow,
+          transformOrigin: 'left',
+          transform: 'rotate(' + ~~(360/o.lines*i+o.rotate) + 'deg) translate(' + o.radius+'px' +',0)',
+          borderRadius: (o.corners * o.width>>1) + 'px'
+        })
+      }
+
+      for (; i < o.lines; i++) {
+        seg = css(createEl(), {
+          position: 'absolute',
+          top: 1+~(o.width/2) + 'px',
+          transform: o.hwaccel ? 'translate3d(0,0,0)' : '',
+          opacity: o.opacity,
+          animation: useCssAnimations && addAnimation(o.opacity, o.trail, i, o.lines) + ' ' + 1/o.speed + 's linear infinite'
+        })
+
+        if (o.shadow) ins(seg, css(fill('#000', '0 0 4px ' + '#000'), {top: 2+'px'}))
+
+        ins(el, ins(seg, fill(o.color, '0 0 1px rgba(0,0,0,.1)')))
+      }
+      return el
+    },
+
+    opacity: function(el, i, val) {
+      if (i < el.childNodes.length) el.childNodes[i].style.opacity = val
+    }
+
+  })
+
+  /////////////////////////////////////////////////////////////////////////
+  // VML rendering for IE
+  /////////////////////////////////////////////////////////////////////////
+
+  /**
+   * Check and init VML support
+   */
+  ;(function() {
+
+    function vml(tag, attr) {
+      return createEl('<' + tag + ' xmlns="urn:schemas-microsoft.com:vml" class="spin-vml">', attr)
+    }
+
+    var s = css(createEl('group'), {behavior: 'url(#default#VML)'})
+
+    if (!vendor(s, 'transform') && s.adj) {
+
+      // VML support detected. Insert CSS rule ...
+      sheet.addRule('.spin-vml', 'behavior:url(#default#VML)')
+
+      Spinner.prototype.lines = function(el, o) {
+        var r = o.length+o.width
+          , s = 2*r
+
+        function grp() {
+          return css(
+            vml('group', {
+              coordsize: s + ' ' + s,
+              coordorigin: -r + ' ' + -r
+            }),
+            { width: s, height: s }
+          )
+        }
+
+        var margin = -(o.width+o.length)*2 + 'px'
+          , g = css(grp(), {position: 'absolute', top: margin, left: margin})
+          , i
+
+        function seg(i, dx, filter) {
+          ins(g,
+            ins(css(grp(), {rotation: 360 / o.lines * i + 'deg', left: ~~dx}),
+              ins(css(vml('roundrect', {arcsize: o.corners}), {
+                  width: r,
+                  height: o.width,
+                  left: o.radius,
+                  top: -o.width>>1,
+                  filter: filter
+                }),
+                vml('fill', {color: o.color, opacity: o.opacity}),
+                vml('stroke', {opacity: 0}) // transparent stroke to fix color bleeding upon opacity change
+              )
+            )
+          )
+        }
+
+        if (o.shadow)
+          for (i = 1; i <= o.lines; i++)
+            seg(i, -2, 'progid:DXImageTransform.Microsoft.Blur(pixelradius=2,makeshadow=1,shadowopacity=.3)')
+
+        for (i = 1; i <= o.lines; i++) seg(i)
+        return ins(el, g)
+      }
+
+      Spinner.prototype.opacity = function(el, i, val, o) {
+        var c = el.firstChild
+        o = o.shadow && o.lines || 0
+        if (c && i+o < c.childNodes.length) {
+          c = c.childNodes[i+o]; c = c && c.firstChild; c = c && c.firstChild
+          if (c) c.opacity = val
+        }
+      }
+    }
+    else
+      useCssAnimations = vendor(s, 'animation')
+  })()
+
+  if (typeof define == 'function' && define.amd)
+    define(function() { return Spinner })
+  else
+    window.Spinner = Spinner
+
+}(window, document);

ファイルの差分が大きいため隠しています
+ 49 - 0
SuperAdmin/SuperAdmin/Extensions/js/tables/buttons.html5.min.js


+ 142 - 0
SuperAdmin/SuperAdmin/Extensions/js/tables/dataTables.buttons.min.js

@@ -0,0 +1,142 @@
+/*!
+ Buttons for DataTables 1.6.4
+ ©2016-2020 SpryMedia Ltd - datatables.net/license
+*/
+(function (e) { "function" === typeof define && define.amd ? define(["jquery", "datatables.net"], function (A) { return e(A, window, document) }) : "object" === typeof exports ? module.exports = function (A, z) { A || (A = window); z && z.fn.dataTable || (z = require("datatables.net")(A, z).$); return e(z, A, A.document) } : e(jQuery, window, document) })(function (e, A, z, u) {
+    function E(a, b, c) { e.fn.animate ? a.stop().fadeIn(b, c) : (a.css("display", "block"), c && c.call(a)) } function F(a, b, c) { e.fn.animate ? a.stop().fadeOut(b, c) : (a.css("display", "none"), c && c.call(a)) }
+    function H(a, b) { a = new t.Api(a); b = b ? b : a.init().buttons || t.defaults.buttons; return (new w(a, b)).container() } var t = e.fn.dataTable, M = 0, N = 0, x = t.ext.buttons, w = function (a, b) {
+        if (!(this instanceof w)) return function (c) { return (new w(c, a)).container() }; "undefined" === typeof b && (b = {}); !0 === b && (b = {}); Array.isArray(b) && (b = { buttons: b }); this.c = e.extend(!0, {}, w.defaults, b); b.buttons && (this.c.buttons = b.buttons); this.s = { dt: new t.Api(a), buttons: [], listenKeys: "", namespace: "dtb" + M++ }; this.dom = {
+            container: e("<" + this.c.dom.container.tag +
+                "/>").addClass(this.c.dom.container.className)
+        }; this._constructor()
+    }; e.extend(w.prototype, {
+        action: function (a, b) { a = this._nodeToButton(a); if (b === u) return a.conf.action; a.conf.action = b; return this }, active: function (a, b) { var c = this._nodeToButton(a); a = this.c.dom.button.active; c = e(c.node); if (b === u) return c.hasClass(a); c.toggleClass(a, b === u ? !0 : b); return this }, add: function (a, b) {
+            var c = this.s.buttons; if ("string" === typeof b) {
+                b = b.split("-"); var d = this.s; c = 0; for (var h = b.length - 1; c < h; c++)d = d.buttons[1 * b[c]]; c = d.buttons;
+                b = 1 * b[b.length - 1]
+            } this._expandButton(c, a, d !== u, b); this._draw(); return this
+        }, container: function () { return this.dom.container }, disable: function (a) { a = this._nodeToButton(a); e(a.node).addClass(this.c.dom.button.disabled).attr("disabled", !0); return this }, destroy: function () {
+            e("body").off("keyup." + this.s.namespace); var a = this.s.buttons.slice(), b; var c = 0; for (b = a.length; c < b; c++)this.remove(a[c].node); this.dom.container.remove(); a = this.s.dt.settings()[0]; c = 0; for (b = a.length; c < b; c++)if (a.inst === this) {
+                a.splice(c,
+                    1); break
+            } return this
+        }, enable: function (a, b) { if (!1 === b) return this.disable(a); a = this._nodeToButton(a); e(a.node).removeClass(this.c.dom.button.disabled).removeAttr("disabled"); return this }, name: function () { return this.c.name }, node: function (a) { if (!a) return this.dom.container; a = this._nodeToButton(a); return e(a.node) }, processing: function (a, b) {
+            var c = this.s.dt, d = this._nodeToButton(a); if (b === u) return e(d.node).hasClass("processing"); e(d.node).toggleClass("processing", b); e(c.table().node()).triggerHandler("buttons-processing.dt",
+                [b, c.button(a), c, e(a), d.conf]); return this
+        }, remove: function (a) { var b = this._nodeToButton(a), c = this._nodeToHost(a), d = this.s.dt; if (b.buttons.length) for (var h = b.buttons.length - 1; 0 <= h; h--)this.remove(b.buttons[h].node); b.conf.destroy && b.conf.destroy.call(d.button(a), d, e(a), b.conf); this._removeKey(b.conf); e(b.node).remove(); a = e.inArray(b, c); c.splice(a, 1); return this }, text: function (a, b) {
+            var c = this._nodeToButton(a); a = this.c.dom.collection.buttonLiner; a = c.inCollection && a && a.tag ? a.tag : this.c.dom.buttonLiner.tag;
+            var d = this.s.dt, h = e(c.node), f = function (k) { return "function" === typeof k ? k(d, h, c.conf) : k }; if (b === u) return f(c.conf.text); c.conf.text = b; a ? h.children(a).html(f(b)) : h.html(f(b)); return this
+        }, _constructor: function () {
+            var a = this, b = this.s.dt, c = b.settings()[0], d = this.c.buttons; c._buttons || (c._buttons = []); c._buttons.push({ inst: this, name: this.c.name }); for (var h = 0, f = d.length; h < f; h++)this.add(d[h]); b.on("destroy", function (k, g) { g === c && a.destroy() }); e("body").on("keyup." + this.s.namespace, function (k) {
+                if (!z.activeElement ||
+                    z.activeElement === z.body) { var g = String.fromCharCode(k.keyCode).toLowerCase(); -1 !== a.s.listenKeys.toLowerCase().indexOf(g) && a._keypress(g, k) }
+            })
+        }, _addKey: function (a) { a.key && (this.s.listenKeys += e.isPlainObject(a.key) ? a.key.key : a.key) }, _draw: function (a, b) { a || (a = this.dom.container, b = this.s.buttons); a.children().detach(); for (var c = 0, d = b.length; c < d; c++)a.append(b[c].inserter), a.append(" "), b[c].buttons && b[c].buttons.length && this._draw(b[c].collection, b[c].buttons) }, _expandButton: function (a, b, c, d) {
+            var h =
+                this.s.dt, f = 0; b = Array.isArray(b) ? b : [b]; for (var k = 0, g = b.length; k < g; k++) { var m = this._resolveExtends(b[k]); if (m) if (Array.isArray(m)) this._expandButton(a, m, c, d); else { var l = this._buildButton(m, c); l && (d !== u && null !== d ? (a.splice(d, 0, l), d++) : a.push(l), l.conf.buttons && (l.collection = e("<" + this.c.dom.collection.tag + "/>"), l.conf._collection = l.collection, this._expandButton(l.buttons, l.conf.buttons, !0, d)), m.init && m.init.call(h.button(l.node), h, e(l.node), m), f++) } }
+        }, _buildButton: function (a, b) {
+            var c = this.c.dom.button,
+            d = this.c.dom.buttonLiner, h = this.c.dom.collection, f = this.s.dt, k = function (n) { return "function" === typeof n ? n(f, l, a) : n }; b && h.button && (c = h.button); b && h.buttonLiner && (d = h.buttonLiner); if (a.available && !a.available(f, a)) return !1; var g = function (n, p, v, y) { y.action.call(p.button(v), n, p, v, y); e(p.table().node()).triggerHandler("buttons-action.dt", [p.button(v), p, v, y]) }; h = a.tag || c.tag; var m = a.clickBlurs === u ? !0 : a.clickBlurs, l = e("<" + h + "/>").addClass(c.className).attr("tabindex", this.s.dt.settings()[0].iTabIndex).attr("aria-controls",
+                this.s.dt.table().node().id).on("click.dtb", function (n) { n.preventDefault(); !l.hasClass(c.disabled) && a.action && g(n, f, l, a); m && l.trigger("blur") }).on("keyup.dtb", function (n) { 13 === n.keyCode && !l.hasClass(c.disabled) && a.action && g(n, f, l, a) }); "a" === h.toLowerCase() && l.attr("href", "#"); "button" === h.toLowerCase() && l.attr("type", "button"); d.tag ? (h = e("<" + d.tag + "/>").html(k(a.text)).addClass(d.className), "a" === d.tag.toLowerCase() && h.attr("href", "#"), l.append(h)) : l.html(k(a.text)); !1 === a.enabled && l.addClass(c.disabled);
+            a.className && l.addClass(a.className); a.titleAttr && l.attr("title", k(a.titleAttr)); a.attr && l.attr(a.attr); a.namespace || (a.namespace = ".dt-button-" + N++); d = (d = this.c.dom.buttonContainer) && d.tag ? e("<" + d.tag + "/>").addClass(d.className).append(l) : l; this._addKey(a); this.c.buttonCreated && (d = this.c.buttonCreated(a, d)); return { conf: a, node: l.get(0), inserter: d, buttons: [], inCollection: b, collection: null }
+        }, _nodeToButton: function (a, b) {
+            b || (b = this.s.buttons); for (var c = 0, d = b.length; c < d; c++) {
+                if (b[c].node === a) return b[c];
+                if (b[c].buttons.length) { var h = this._nodeToButton(a, b[c].buttons); if (h) return h }
+            }
+        }, _nodeToHost: function (a, b) { b || (b = this.s.buttons); for (var c = 0, d = b.length; c < d; c++) { if (b[c].node === a) return b; if (b[c].buttons.length) { var h = this._nodeToHost(a, b[c].buttons); if (h) return h } } }, _keypress: function (a, b) {
+            if (!b._buttonsHandled) {
+                var c = function (d) {
+                    for (var h = 0, f = d.length; h < f; h++) {
+                        var k = d[h].conf, g = d[h].node; k.key && (k.key === a ? (b._buttonsHandled = !0, e(g).click()) : !e.isPlainObject(k.key) || k.key.key !== a || k.key.shiftKey &&
+                            !b.shiftKey || k.key.altKey && !b.altKey || k.key.ctrlKey && !b.ctrlKey || k.key.metaKey && !b.metaKey || (b._buttonsHandled = !0, e(g).click())); d[h].buttons.length && c(d[h].buttons)
+                    }
+                }; c(this.s.buttons)
+            }
+        }, _removeKey: function (a) { if (a.key) { var b = e.isPlainObject(a.key) ? a.key.key : a.key; a = this.s.listenKeys.split(""); b = e.inArray(b, a); a.splice(b, 1); this.s.listenKeys = a.join("") } }, _resolveExtends: function (a) {
+            var b = this.s.dt, c, d = function (g) {
+                for (var m = 0; !e.isPlainObject(g) && !Array.isArray(g);) {
+                    if (g === u) return; if ("function" ===
+                        typeof g) { if (g = g(b, a), !g) return !1 } else if ("string" === typeof g) { if (!x[g]) throw "Unknown button type: " + g; g = x[g] } m++; if (30 < m) throw "Buttons: Too many iterations";
+                } return Array.isArray(g) ? g : e.extend({}, g)
+            }; for (a = d(a); a && a.extend;) {
+                if (!x[a.extend]) throw "Cannot extend unknown button type: " + a.extend; var h = d(x[a.extend]); if (Array.isArray(h)) return h; if (!h) return !1; var f = h.className; a = e.extend({}, h, a); f && a.className !== f && (a.className = f + " " + a.className); var k = a.postfixButtons; if (k) {
+                    a.buttons || (a.buttons = []);
+                    f = 0; for (c = k.length; f < c; f++)a.buttons.push(k[f]); a.postfixButtons = null
+                } if (k = a.prefixButtons) { a.buttons || (a.buttons = []); f = 0; for (c = k.length; f < c; f++)a.buttons.splice(f, 0, k[f]); a.prefixButtons = null } a.extend = h.extend
+            } return a
+        }, _popover: function (a, b, c) {
+            var d = this.c, h = e.extend({
+                align: "button-left", autoClose: !1, background: !0, backgroundClassName: "dt-button-background", contentClassName: d.dom.collection.className, collectionLayout: "", collectionTitle: "", dropup: !1, fade: 400, rightAlignClassName: "dt-button-right",
+                tag: d.dom.collection.tag
+            }, c), f = b.node(), k = function () { F(e(".dt-button-collection"), h.fade, function () { e(this).detach() }); e(b.buttons('[aria-haspopup="true"][aria-expanded="true"]').nodes()).attr("aria-expanded", "false"); e("div.dt-button-background").off("click.dtb-collection"); w.background(!1, h.backgroundClassName, h.fade, f); e("body").off(".dtb-collection"); b.off("buttons-action.b-internal") }; !1 === a && k(); c = e(b.buttons('[aria-haspopup="true"][aria-expanded="true"]').nodes()); c.length && (f = c.eq(0), k());
+            c = e("<div/>").addClass("dt-button-collection").addClass(h.collectionLayout).css("display", "none"); a = e(a).addClass(h.contentClassName).attr("role", "menu").appendTo(c); f.attr("aria-expanded", "true"); f.parents("body")[0] !== z.body && (f = z.body.lastChild); h.collectionTitle && c.prepend('<div class="dt-button-collection-title">' + h.collectionTitle + "</div>"); E(c.insertAfter(f), h.fade); d = e(b.table().container()); var g = c.css("position"); "dt-container" === h.align && (f = f.parent(), c.css("width", d.width())); if ("absolute" ===
+                g && (c.hasClass(h.rightAlignClassName) || c.hasClass(h.leftAlignClassName) || "dt-container" === h.align)) {
+                    var m = f.position(); c.css({ top: m.top + f.outerHeight(), left: m.left }); var l = c.outerHeight(), n = d.offset().top + d.height(), p = m.top + f.outerHeight() + l; n = p - n; p = m.top - l; var v = d.offset().top, y = m.top - l - 5; (n > v - p || h.dropup) && -y < v && c.css("top", y); m = d.offset().left; d = d.width(); d = m + d; g = c.offset().left; var q = c.width(); q = g + q; var r = f.offset().left, B = f.outerWidth(); B = r + B; r = 0; c.hasClass(h.rightAlignClassName) ? (r = B - q, m > g +
+                        r && (g = m - (g + r), d -= q + r, r = g > d ? r + d : r + g)) : (r = m - g, d < q + r && (g = m - (g + r), d -= q + r, r = g > d ? r + d : r + g)); c.css("left", c.position().left + r)
+            } else "absolute" === g ? (m = f.position(), c.css({ top: m.top + f.outerHeight(), left: m.left }), l = c.outerHeight(), g = f.offset().top, r = 0, r = f.offset().left, B = f.outerWidth(), B = r + B, g = c.offset().left, q = a.width(), q = g + q, y = m.top - l - 5, n = d.offset().top + d.height(), p = m.top + f.outerHeight() + l, n = p - n, p = m.top - l, v = d.offset().top, (n > v - p || h.dropup) && -y < v && c.css("top", y), r = "button-right" === h.align ? B - q : r - g, c.css("left",
+                c.position().left + r)) : (g = c.height() / 2, g > e(A).height() / 2 && (g = e(A).height() / 2), c.css("marginTop", -1 * g)); h.background && w.background(!0, h.backgroundClassName, h.fade, f); e("div.dt-button-background").on("click.dtb-collection", function () { }); e("body").on("click.dtb-collection", function (C) { var I = e.fn.addBack ? "addBack" : "andSelf", J = e(C.target).parent()[0]; (!e(C.target).parents()[I]().filter(a).length && !e(J).hasClass("dt-buttons") || e(C.target).hasClass("dt-button-background")) && k() }).on("keyup.dtb-collection",
+                    function (C) { 27 === C.keyCode && k() }); h.autoClose && setTimeout(function () { b.on("buttons-action.b-internal", function (C, I, J, O) { O[0] !== f[0] && k() }) }, 0); e(c).trigger("buttons-popover.dt")
+        }
+    }); w.background = function (a, b, c, d) { c === u && (c = 400); d || (d = z.body); a ? E(e("<div/>").addClass(b).css("display", "none").insertAfter(d), c) : F(e("div." + b), c, function () { e(this).removeClass(b).remove() }) }; w.instanceSelector = function (a, b) {
+        if (a === u || null === a) return e.map(b, function (f) { return f.inst }); var c = [], d = e.map(b, function (f) { return f.name }),
+            h = function (f) { if (Array.isArray(f)) for (var k = 0, g = f.length; k < g; k++)h(f[k]); else "string" === typeof f ? -1 !== f.indexOf(",") ? h(f.split(",")) : (f = e.inArray(f.trim(), d), -1 !== f && c.push(b[f].inst)) : "number" === typeof f && c.push(b[f].inst) }; h(a); return c
+    }; w.buttonSelector = function (a, b) {
+        for (var c = [], d = function (g, m, l) { for (var n, p, v = 0, y = m.length; v < y; v++)if (n = m[v]) p = l !== u ? l + v : v + "", g.push({ node: n.node, name: n.conf.name, idx: p }), n.buttons && d(g, n.buttons, p + "-") }, h = function (g, m) {
+            var l, n = []; d(n, m.s.buttons); var p = e.map(n, function (v) { return v.node });
+            if (Array.isArray(g) || g instanceof e) for (p = 0, l = g.length; p < l; p++)h(g[p], m); else if (null === g || g === u || "*" === g) for (p = 0, l = n.length; p < l; p++)c.push({ inst: m, node: n[p].node }); else if ("number" === typeof g) c.push({ inst: m, node: m.s.buttons[g].node }); else if ("string" === typeof g) if (-1 !== g.indexOf(",")) for (n = g.split(","), p = 0, l = n.length; p < l; p++)h(n[p].trim(), m); else if (g.match(/^\d+(\-\d+)*$/)) p = e.map(n, function (v) { return v.idx }), c.push({ inst: m, node: n[e.inArray(g, p)].node }); else if (-1 !== g.indexOf(":name")) for (g = g.replace(":name",
+                ""), p = 0, l = n.length; p < l; p++)n[p].name === g && c.push({ inst: m, node: n[p].node }); else e(p).filter(g).each(function () { c.push({ inst: m, node: this }) }); else "object" === typeof g && g.nodeName && (n = e.inArray(g, p), -1 !== n && c.push({ inst: m, node: p[n] }))
+        }, f = 0, k = a.length; f < k; f++)h(b, a[f]); return c
+    }; w.defaults = {
+        buttons: ["copy", "excel", "csv", "pdf", "print"], name: "main", tabIndex: 0, dom: {
+            container: { tag: "div", className: "dt-buttons" }, collection: { tag: "div", className: "" }, button: {
+                tag: "ActiveXObject" in A ? "a" : "button", className: "dt-button",
+                active: "active", disabled: "disabled"
+            }, buttonLiner: { tag: "span", className: "" }
+        }
+    }; w.version = "1.6.4"; e.extend(x, {
+        collection: { text: function (a) { return a.i18n("buttons.collection", "Collection") }, className: "buttons-collection", init: function (a, b, c) { b.attr("aria-expanded", !1) }, action: function (a, b, c, d) { a.stopPropagation(); d._collection.parents("body").length ? this.popover(!1, d) : this.popover(d._collection, d) }, attr: { "aria-haspopup": !0 } }, copy: function (a, b) {
+            if (x.copyHtml5) return "copyHtml5"; if (x.copyFlash && x.copyFlash.available(a,
+                b)) return "copyFlash"
+        }, csv: function (a, b) { if (x.csvHtml5 && x.csvHtml5.available(a, b)) return "csvHtml5"; if (x.csvFlash && x.csvFlash.available(a, b)) return "csvFlash" }, excel: function (a, b) { if (x.excelHtml5 && x.excelHtml5.available(a, b)) return "excelHtml5"; if (x.excelFlash && x.excelFlash.available(a, b)) return "excelFlash" }, pdf: function (a, b) { if (x.pdfHtml5 && x.pdfHtml5.available(a, b)) return "pdfHtml5"; if (x.pdfFlash && x.pdfFlash.available(a, b)) return "pdfFlash" }, pageLength: function (a) {
+            a = a.settings()[0].aLengthMenu; var b = Array.isArray(a[0]) ?
+                a[0] : a, c = Array.isArray(a[0]) ? a[1] : a; return {
+                    extend: "collection", text: function (d) { return d.i18n("buttons.pageLength", { "-1": "Show all rows", _: "Show %d rows" }, d.page.len()) }, className: "buttons-page-length", autoClose: !0, buttons: e.map(b, function (d, h) { return { text: c[h], className: "button-page-length", action: function (f, k) { k.page.len(d).draw() }, init: function (f, k, g) { var m = this; k = function () { m.active(f.page.len() === d) }; f.on("length.dt" + g.namespace, k); k() }, destroy: function (f, k, g) { f.off("length.dt" + g.namespace) } } }),
+                    init: function (d, h, f) { var k = this; d.on("length.dt" + f.namespace, function () { k.text(f.text) }) }, destroy: function (d, h, f) { d.off("length.dt" + f.namespace) }
+                }
+        }
+    }); t.Api.register("buttons()", function (a, b) { b === u && (b = a, a = u); this.selector.buttonGroup = a; var c = this.iterator(!0, "table", function (d) { if (d._buttons) return w.buttonSelector(w.instanceSelector(a, d._buttons), b) }, !0); c._groupSelector = a; return c }); t.Api.register("button()", function (a, b) { a = this.buttons(a, b); 1 < a.length && a.splice(1, a.length); return a }); t.Api.registerPlural("buttons().active()",
+        "button().active()", function (a) { return a === u ? this.map(function (b) { return b.inst.active(b.node) }) : this.each(function (b) { b.inst.active(b.node, a) }) }); t.Api.registerPlural("buttons().action()", "button().action()", function (a) { return a === u ? this.map(function (b) { return b.inst.action(b.node) }) : this.each(function (b) { b.inst.action(b.node, a) }) }); t.Api.register(["buttons().enable()", "button().enable()"], function (a) { return this.each(function (b) { b.inst.enable(b.node, a) }) }); t.Api.register(["buttons().disable()",
+            "button().disable()"], function () { return this.each(function (a) { a.inst.disable(a.node) }) }); t.Api.registerPlural("buttons().nodes()", "button().node()", function () { var a = e(); e(this.each(function (b) { a = a.add(b.inst.node(b.node)) })); return a }); t.Api.registerPlural("buttons().processing()", "button().processing()", function (a) { return a === u ? this.map(function (b) { return b.inst.processing(b.node) }) : this.each(function (b) { b.inst.processing(b.node, a) }) }); t.Api.registerPlural("buttons().text()", "button().text()", function (a) {
+                return a ===
+                    u ? this.map(function (b) { return b.inst.text(b.node) }) : this.each(function (b) { b.inst.text(b.node, a) })
+            }); t.Api.registerPlural("buttons().trigger()", "button().trigger()", function () { return this.each(function (a) { a.inst.node(a.node).trigger("click") }) }); t.Api.register("button().popover()", function (a, b) { return this.map(function (c) { return c.inst._popover(a, this.button(this[0].node), b) }) }); t.Api.register("buttons().containers()", function () {
+                var a = e(), b = this._groupSelector; this.iterator(!0, "table", function (c) {
+                    if (c._buttons) {
+                        c =
+                        w.instanceSelector(b, c._buttons); for (var d = 0, h = c.length; d < h; d++)a = a.add(c[d].container())
+                    }
+                }); return a
+            }); t.Api.register("buttons().container()", function () { return this.containers().eq(0) }); t.Api.register("button().add()", function (a, b) { var c = this.context; c.length && (c = w.instanceSelector(this._groupSelector, c[0]._buttons), c.length && c[0].add(b, a)); return this.button(this._groupSelector, a) }); t.Api.register("buttons().destroy()", function () { this.pluck("inst").unique().each(function (a) { a.destroy() }); return this });
+    t.Api.registerPlural("buttons().remove()", "buttons().remove()", function () { this.each(function (a) { a.inst.remove(a.node) }); return this }); var D; t.Api.register("buttons.info()", function (a, b, c) {
+        var d = this; if (!1 === a) return this.off("destroy.btn-info"), F(e("#datatables_buttons_info"), 400, function () { e(this).remove() }), clearTimeout(D), D = null, this; D && clearTimeout(D); e("#datatables_buttons_info").length && e("#datatables_buttons_info").remove(); a = a ? "<h2>" + a + "</h2>" : ""; E(e('<div id="datatables_buttons_info" class="dt-button-info"/>').html(a).append(e("<div/>")["string" ===
+            typeof b ? "html" : "append"](b)).css("display", "none").appendTo("body")); c !== u && 0 !== c && (D = setTimeout(function () { d.buttons.info(!1) }, c)); this.on("destroy.btn-info", function () { d.buttons.info(!1) }); return this
+    }); t.Api.register("buttons.exportData()", function (a) { if (this.context.length) return P(new t.Api(this.context[0]), a) }); t.Api.register("buttons.exportInfo()", function (a) {
+        a || (a = {}); var b = a; var c = "*" === b.filename && "*" !== b.title && b.title !== u && null !== b.title && "" !== b.title ? b.title : b.filename; "function" ===
+            typeof c && (c = c()); c === u || null === c ? c = null : (-1 !== c.indexOf("*") && (c = c.replace("*", e("head > title").text()).trim()), c = c.replace(/[^a-zA-Z0-9_\u00A1-\uFFFF\.,\-_ !\(\)]/g, ""), (b = G(b.extension)) || (b = ""), c += b); b = G(a.title); b = null === b ? null : -1 !== b.indexOf("*") ? b.replace("*", e("head > title").text() || "Exported data") : b; return { filename: c, title: b, messageTop: K(this, a.message || a.messageTop, "top"), messageBottom: K(this, a.messageBottom, "bottom") }
+    }); var G = function (a) {
+        return null === a || a === u ? null : "function" === typeof a ?
+            a() : a
+    }, K = function (a, b, c) { b = G(b); if (null === b) return null; a = e("caption", a.table().container()).eq(0); return "*" === b ? a.css("caption-side") !== c ? null : a.length ? a.text() : "" : b }, L = e("<textarea/>")[0], P = function (a, b) {
+        var c = e.extend(!0, {}, { rows: null, columns: "", modifier: { search: "applied", order: "applied" }, orthogonal: "display", stripHtml: !0, stripNewlines: !0, decodeEntities: !0, trim: !0, format: { header: function (q) { return d(q) }, footer: function (q) { return d(q) }, body: function (q) { return d(q) } }, customizeData: null }, b), d = function (q) {
+            if ("string" !==
+                typeof q) return q; q = q.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi, ""); q = q.replace(/<!\-\-.*?\-\->/g, ""); c.stripHtml && (q = q.replace(/<([^>'"]*('[^']*'|"[^"]*")?)*>/g, "")); c.trim && (q = q.replace(/^\s+|\s+$/g, "")); c.stripNewlines && (q = q.replace(/\n/g, " ")); c.decodeEntities && (L.innerHTML = q, q = L.value); return q
+        }; b = a.columns(c.columns).indexes().map(function (q) { var r = a.column(q).header(); return c.format.header(r.innerHTML, q, r) }).toArray(); var h = a.table().footer() ? a.columns(c.columns).indexes().map(function (q) {
+            var r =
+                a.column(q).footer(); return c.format.footer(r ? r.innerHTML : "", q, r)
+        }).toArray() : null, f = e.extend({}, c.modifier); a.select && "function" === typeof a.select.info && f.selected === u && a.rows(c.rows, e.extend({ selected: !0 }, f)).any() && e.extend(f, { selected: !0 }); f = a.rows(c.rows, f).indexes().toArray(); var k = a.cells(f, c.columns); f = k.render(c.orthogonal).toArray(); k = k.nodes().toArray(); for (var g = b.length, m = [], l = 0, n = 0, p = 0 < g ? f.length / g : 0; n < p; n++) { for (var v = [g], y = 0; y < g; y++)v[y] = c.format.body(f[l], n, y, k[l]), l++; m[n] = v } b = {
+            header: b,
+            footer: h, body: m
+        }; c.customizeData && c.customizeData(b); return b
+    }; e.fn.dataTable.Buttons = w; e.fn.DataTable.Buttons = w; e(z).on("init.dt plugin-init.dt", function (a, b) { "dt" === a.namespace && (a = b.oInit.buttons || t.defaults.buttons) && !b._buttons && (new w(b, a)).container() }); t.ext.feature.push({ fnInit: H, cFeature: "B" }); t.ext.features && t.ext.features.register("buttons", H); return w
+});

ファイルの差分が大きいため隠しています
+ 23 - 0
SuperAdmin/SuperAdmin/Extensions/js/tables/datatables.min.js


+ 10873 - 0
SuperAdmin/SuperAdmin/Extensions/js/tables/jquery-3.5.1.js

@@ -0,0 +1,10873 @@
+/*!
+ * jQuery JavaScript Library v3.5.1
+ * https://jquery.com/
+ *
+ * Includes Sizzle.js
+ * https://sizzlejs.com/
+ *
+ * Copyright JS Foundation and other contributors
+ * Released under the MIT license
+ * https://jquery.org/license
+ *
+ * Date: 2020-05-04T22:49Z
+ */
+(function (global, factory) {
+
+	"use strict";
+
+	if (typeof module === "object" && typeof module.exports === "object") {
+
+		// For CommonJS and CommonJS-like environments where a proper `window`
+		// is present, execute the factory and get jQuery.
+		// For environments that do not have a `window` with a `document`
+		// (such as Node.js), expose a factory as module.exports.
+		// This accentuates the need for the creation of a real `window`.
+		// e.g. var jQuery = require("jquery")(window);
+		// See ticket #14549 for more info.
+		module.exports = global.document ?
+			factory(global, true) :
+			function (w) {
+				if (!w.document) {
+					throw new Error("jQuery requires a window with a document");
+				}
+				return factory(w);
+			};
+	} else {
+		factory(global);
+	}
+
+	// Pass this if window is not defined yet
+})(typeof window !== "undefined" ? window : this, function (window, noGlobal) {
+
+	// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1
+	// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode
+	// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common
+	// enough that all such attempts are guarded in a try block.
+	"use strict";
+
+	var arr = [];
+
+	var getProto = Object.getPrototypeOf;
+
+	var slice = arr.slice;
+
+	var flat = arr.flat ? function (array) {
+		return arr.flat.call(array);
+	} : function (array) {
+		return arr.concat.apply([], array);
+	};
+
+
+	var push = arr.push;
+
+	var indexOf = arr.indexOf;
+
+	var class2type = {};
+
+	var toString = class2type.toString;
+
+	var hasOwn = class2type.hasOwnProperty;
+
+	var fnToString = hasOwn.toString;
+
+	var ObjectFunctionString = fnToString.call(Object);
+
+	var support = {};
+
+	var isFunction = function isFunction(obj) {
+
+		// Support: Chrome <=57, Firefox <=52
+		// In some browsers, typeof returns "function" for HTML <object> elements
+		// (i.e., `typeof document.createElement( "object" ) === "function"`).
+		// We don't want to classify *any* DOM node as a function.
+		return typeof obj === "function" && typeof obj.nodeType !== "number";
+	};
+
+
+	var isWindow = function isWindow(obj) {
+		return obj != null && obj === obj.window;
+	};
+
+
+	var document = window.document;
+
+
+
+	var preservedScriptAttributes = {
+		type: true,
+		src: true,
+		nonce: true,
+		noModule: true
+	};
+
+	function DOMEval(code, node, doc) {
+		doc = doc || document;
+
+		var i, val,
+			script = doc.createElement("script");
+
+		script.text = code;
+		if (node) {
+			for (i in preservedScriptAttributes) {
+
+				// Support: Firefox 64+, Edge 18+
+				// Some browsers don't support the "nonce" property on scripts.
+				// On the other hand, just using `getAttribute` is not enough as
+				// the `nonce` attribute is reset to an empty string whenever it
+				// becomes browsing-context connected.
+				// See https://github.com/whatwg/html/issues/2369
+				// See https://html.spec.whatwg.org/#nonce-attributes
+				// The `node.getAttribute` check was added for the sake of
+				// `jQuery.globalEval` so that it can fake a nonce-containing node
+				// via an object.
+				val = node[i] || node.getAttribute && node.getAttribute(i);
+				if (val) {
+					script.setAttribute(i, val);
+				}
+			}
+		}
+		doc.head.appendChild(script).parentNode.removeChild(script);
+	}
+
+
+	function toType(obj) {
+		if (obj == null) {
+			return obj + "";
+		}
+
+		// Support: Android <=2.3 only (functionish RegExp)
+		return typeof obj === "object" || typeof obj === "function" ?
+			class2type[toString.call(obj)] || "object" :
+			typeof obj;
+	}
+	/* global Symbol */
+	// Defining this global in .eslintrc.json would create a danger of using the global
+	// unguarded in another place, it seems safer to define global only for this module
+
+
+
+	var
+		version = "3.5.1",
+
+		// Define a local copy of jQuery
+		jQuery = function (selector, context) {
+
+			// The jQuery object is actually just the init constructor 'enhanced'
+			// Need init if jQuery is called (just allow error to be thrown if not included)
+			return new jQuery.fn.init(selector, context);
+		};
+
+	jQuery.fn = jQuery.prototype = {
+
+		// The current version of jQuery being used
+		jquery: version,
+
+		constructor: jQuery,
+
+		// The default length of a jQuery object is 0
+		length: 0,
+
+		toArray: function () {
+			return slice.call(this);
+		},
+
+		// Get the Nth element in the matched element set OR
+		// Get the whole matched element set as a clean array
+		get: function (num) {
+
+			// Return all the elements in a clean array
+			if (num == null) {
+				return slice.call(this);
+			}
+
+			// Return just the one element from the set
+			return num < 0 ? this[num + this.length] : this[num];
+		},
+
+		// Take an array of elements and push it onto the stack
+		// (returning the new matched element set)
+		pushStack: function (elems) {
+
+			// Build a new jQuery matched element set
+			var ret = jQuery.merge(this.constructor(), elems);
+
+			// Add the old object onto the stack (as a reference)
+			ret.prevObject = this;
+
+			// Return the newly-formed element set
+			return ret;
+		},
+
+		// Execute a callback for every element in the matched set.
+		each: function (callback) {
+			return jQuery.each(this, callback);
+		},
+
+		map: function (callback) {
+			return this.pushStack(jQuery.map(this, function (elem, i) {
+				return callback.call(elem, i, elem);
+			}));
+		},
+
+		slice: function () {
+			return this.pushStack(slice.apply(this, arguments));
+		},
+
+		first: function () {
+			return this.eq(0);
+		},
+
+		last: function () {
+			return this.eq(-1);
+		},
+
+		even: function () {
+			return this.pushStack(jQuery.grep(this, function (_elem, i) {
+				return (i + 1) % 2;
+			}));
+		},
+
+		odd: function () {
+			return this.pushStack(jQuery.grep(this, function (_elem, i) {
+				return i % 2;
+			}));
+		},
+
+		eq: function (i) {
+			var len = this.length,
+				j = +i + (i < 0 ? len : 0);
+			return this.pushStack(j >= 0 && j < len ? [this[j]] : []);
+		},
+
+		end: function () {
+			return this.prevObject || this.constructor();
+		},
+
+		// For internal use only.
+		// Behaves like an Array's method, not like a jQuery method.
+		push: push,
+		sort: arr.sort,
+		splice: arr.splice
+	};
+
+	jQuery.extend = jQuery.fn.extend = function () {
+		var options, name, src, copy, copyIsArray, clone,
+			target = arguments[0] || {},
+			i = 1,
+			length = arguments.length,
+			deep = false;
+
+		// Handle a deep copy situation
+		if (typeof target === "boolean") {
+			deep = target;
+
+			// Skip the boolean and the target
+			target = arguments[i] || {};
+			i++;
+		}
+
+		// Handle case when target is a string or something (possible in deep copy)
+		if (typeof target !== "object" && !isFunction(target)) {
+			target = {};
+		}
+
+		// Extend jQuery itself if only one argument is passed
+		if (i === length) {
+			target = this;
+			i--;
+		}
+
+		for (; i < length; i++) {
+
+			// Only deal with non-null/undefined values
+			if ((options = arguments[i]) != null) {
+
+				// Extend the base object
+				for (name in options) {
+					copy = options[name];
+
+					// Prevent Object.prototype pollution
+					// Prevent never-ending loop
+					if (name === "__proto__" || target === copy) {
+						continue;
+					}
+
+					// Recurse if we're merging plain objects or arrays
+					if (deep && copy && (jQuery.isPlainObject(copy) ||
+						(copyIsArray = Array.isArray(copy)))) {
+						src = target[name];
+
+						// Ensure proper type for the source value
+						if (copyIsArray && !Array.isArray(src)) {
+							clone = [];
+						} else if (!copyIsArray && !jQuery.isPlainObject(src)) {
+							clone = {};
+						} else {
+							clone = src;
+						}
+						copyIsArray = false;
+
+						// Never move original objects, clone them
+						target[name] = jQuery.extend(deep, clone, copy);
+
+						// Don't bring in undefined values
+					} else if (copy !== undefined) {
+						target[name] = copy;
+					}
+				}
+			}
+		}
+
+		// Return the modified object
+		return target;
+	};
+
+	jQuery.extend({
+
+		// Unique for each copy of jQuery on the page
+		expando: "jQuery" + (version + Math.random()).replace(/\D/g, ""),
+
+		// Assume jQuery is ready without the ready module
+		isReady: true,
+
+		error: function (msg) {
+			throw new Error(msg);
+		},
+
+		noop: function () { },
+
+		isPlainObject: function (obj) {
+			var proto, Ctor;
+
+			// Detect obvious negatives
+			// Use toString instead of jQuery.type to catch host objects
+			if (!obj || toString.call(obj) !== "[object Object]") {
+				return false;
+			}
+
+			proto = getProto(obj);
+
+			// Objects with no prototype (e.g., `Object.create( null )`) are plain
+			if (!proto) {
+				return true;
+			}
+
+			// Objects with prototype are plain iff they were constructed by a global Object function
+			Ctor = hasOwn.call(proto, "constructor") && proto.constructor;
+			return typeof Ctor === "function" && fnToString.call(Ctor) === ObjectFunctionString;
+		},
+
+		isEmptyObject: function (obj) {
+			var name;
+
+			for (name in obj) {
+				return false;
+			}
+			return true;
+		},
+
+		// Evaluates a script in a provided context; falls back to the global one
+		// if not specified.
+		globalEval: function (code, options, doc) {
+			DOMEval(code, { nonce: options && options.nonce }, doc);
+		},
+
+		each: function (obj, callback) {
+			var length, i = 0;
+
+			if (isArrayLike(obj)) {
+				length = obj.length;
+				for (; i < length; i++) {
+					if (callback.call(obj[i], i, obj[i]) === false) {
+						break;
+					}
+				}
+			} else {
+				for (i in obj) {
+					if (callback.call(obj[i], i, obj[i]) === false) {
+						break;
+					}
+				}
+			}
+
+			return obj;
+		},
+
+		// results is for internal usage only
+		makeArray: function (arr, results) {
+			var ret = results || [];
+
+			if (arr != null) {
+				if (isArrayLike(Object(arr))) {
+					jQuery.merge(ret,
+						typeof arr === "string" ?
+							[arr] : arr
+					);
+				} else {
+					push.call(ret, arr);
+				}
+			}
+
+			return ret;
+		},
+
+		inArray: function (elem, arr, i) {
+			return arr == null ? -1 : indexOf.call(arr, elem, i);
+		},
+
+		// Support: Android <=4.0 only, PhantomJS 1 only
+		// push.apply(_, arraylike) throws on ancient WebKit
+		merge: function (first, second) {
+			var len = +second.length,
+				j = 0,
+				i = first.length;
+
+			for (; j < len; j++) {
+				first[i++] = second[j];
+			}
+
+			first.length = i;
+
+			return first;
+		},
+
+		grep: function (elems, callback, invert) {
+			var callbackInverse,
+				matches = [],
+				i = 0,
+				length = elems.length,
+				callbackExpect = !invert;
+
+			// Go through the array, only saving the items
+			// that pass the validator function
+			for (; i < length; i++) {
+				callbackInverse = !callback(elems[i], i);
+				if (callbackInverse !== callbackExpect) {
+					matches.push(elems[i]);
+				}
+			}
+
+			return matches;
+		},
+
+		// arg is for internal usage only
+		map: function (elems, callback, arg) {
+			var length, value,
+				i = 0,
+				ret = [];
+
+			// Go through the array, translating each of the items to their new values
+			if (isArrayLike(elems)) {
+				length = elems.length;
+				for (; i < length; i++) {
+					value = callback(elems[i], i, arg);
+
+					if (value != null) {
+						ret.push(value);
+					}
+				}
+
+				// Go through every key on the object,
+			} else {
+				for (i in elems) {
+					value = callback(elems[i], i, arg);
+
+					if (value != null) {
+						ret.push(value);
+					}
+				}
+			}
+
+			// Flatten any nested arrays
+			return flat(ret);
+		},
+
+		// A global GUID counter for objects
+		guid: 1,
+
+		// jQuery.support is not used in Core but other projects attach their
+		// properties to it so it needs to exist.
+		support: support
+	});
+
+	if (typeof Symbol === "function") {
+		jQuery.fn[Symbol.iterator] = arr[Symbol.iterator];
+	}
+
+	// Populate the class2type map
+	jQuery.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),
+		function (_i, name) {
+			class2type["[object " + name + "]"] = name.toLowerCase();
+		});
+
+	function isArrayLike(obj) {
+
+		// Support: real iOS 8.2 only (not reproducible in simulator)
+		// `in` check used to prevent JIT error (gh-2145)
+		// hasOwn isn't used here due to false negatives
+		// regarding Nodelist length in IE
+		var length = !!obj && "length" in obj && obj.length,
+			type = toType(obj);
+
+		if (isFunction(obj) || isWindow(obj)) {
+			return false;
+		}
+
+		return type === "array" || length === 0 ||
+			typeof length === "number" && length > 0 && (length - 1) in obj;
+	}
+	var Sizzle =
+		/*!
+		 * Sizzle CSS Selector Engine v2.3.5
+		 * https://sizzlejs.com/
+		 *
+		 * Copyright JS Foundation and other contributors
+		 * Released under the MIT license
+		 * https://js.foundation/
+		 *
+		 * Date: 2020-03-14
+		 */
+		(function (window) {
+			var i,
+				support,
+				Expr,
+				getText,
+				isXML,
+				tokenize,
+				compile,
+				select,
+				outermostContext,
+				sortInput,
+				hasDuplicate,
+
+				// Local document vars
+				setDocument,
+				document,
+				docElem,
+				documentIsHTML,
+				rbuggyQSA,
+				rbuggyMatches,
+				matches,
+				contains,
+
+				// Instance-specific data
+				expando = "sizzle" + 1 * new Date(),
+				preferredDoc = window.document,
+				dirruns = 0,
+				done = 0,
+				classCache = createCache(),
+				tokenCache = createCache(),
+				compilerCache = createCache(),
+				nonnativeSelectorCache = createCache(),
+				sortOrder = function (a, b) {
+					if (a === b) {
+						hasDuplicate = true;
+					}
+					return 0;
+				},
+
+				// Instance methods
+				hasOwn = ({}).hasOwnProperty,
+				arr = [],
+				pop = arr.pop,
+				pushNative = arr.push,
+				push = arr.push,
+				slice = arr.slice,
+
+				// Use a stripped-down indexOf as it's faster than native
+				// https://jsperf.com/thor-indexof-vs-for/5
+				indexOf = function (list, elem) {
+					var i = 0,
+						len = list.length;
+					for (; i < len; i++) {
+						if (list[i] === elem) {
+							return i;
+						}
+					}
+					return -1;
+				},
+
+				booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|" +
+					"ismap|loop|multiple|open|readonly|required|scoped",
+
+				// Regular expressions
+
+				// http://www.w3.org/TR/css3-selectors/#whitespace
+				whitespace = "[\\x20\\t\\r\\n\\f]",
+
+				// https://www.w3.org/TR/css-syntax-3/#ident-token-diagram
+				identifier = "(?:\\\\[\\da-fA-F]{1,6}" + whitespace +
+					"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",
+
+				// Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors
+				attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace +
+
+					// Operator (capture 2)
+					"*([*^$|!~]?=)" + whitespace +
+
+					// "Attribute values must be CSS identifiers [capture 5]
+					// or strings [capture 3 or capture 4]"
+					"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" +
+					whitespace + "*\\]",
+
+				pseudos = ":(" + identifier + ")(?:\\((" +
+
+					// To reduce the number of selectors needing tokenize in the preFilter, prefer arguments:
+					// 1. quoted (capture 3; capture 4 or capture 5)
+					"('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" +
+
+					// 2. simple (capture 6)
+					"((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" +
+
+					// 3. anything else (capture 2)
+					".*" +
+					")\\)|)",
+
+				// Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter
+				rwhitespace = new RegExp(whitespace + "+", "g"),
+				rtrim = new RegExp("^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" +
+					whitespace + "+$", "g"),
+
+				rcomma = new RegExp("^" + whitespace + "*," + whitespace + "*"),
+				rcombinators = new RegExp("^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace +
+					"*"),
+				rdescend = new RegExp(whitespace + "|>"),
+
+				rpseudo = new RegExp(pseudos),
+				ridentifier = new RegExp("^" + identifier + "$"),
+
+				matchExpr = {
+					"ID": new RegExp("^#(" + identifier + ")"),
+					"CLASS": new RegExp("^\\.(" + identifier + ")"),
+					"TAG": new RegExp("^(" + identifier + "|[*])"),
+					"ATTR": new RegExp("^" + attributes),
+					"PSEUDO": new RegExp("^" + pseudos),
+					"CHILD": new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" +
+						whitespace + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" +
+						whitespace + "*(\\d+)|))" + whitespace + "*\\)|)", "i"),
+					"bool": new RegExp("^(?:" + booleans + ")$", "i"),
+
+					// For use in libraries implementing .is()
+					// We use this for POS matching in `select`
+					"needsContext": new RegExp("^" + whitespace +
+						"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + whitespace +
+						"*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i")
+				},
+
+				rhtml = /HTML$/i,
+				rinputs = /^(?:input|select|textarea|button)$/i,
+				rheader = /^h\d$/i,
+
+				rnative = /^[^{]+\{\s*\[native \w/,
+
+				// Easily-parseable/retrievable ID or TAG or CLASS selectors
+				rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,
+
+				rsibling = /[+~]/,
+
+				// CSS escapes
+				// http://www.w3.org/TR/CSS21/syndata.html#escaped-characters
+				runescape = new RegExp("\\\\[\\da-fA-F]{1,6}" + whitespace + "?|\\\\([^\\r\\n\\f])", "g"),
+				funescape = function (escape, nonHex) {
+					var high = "0x" + escape.slice(1) - 0x10000;
+
+					return nonHex ?
+
+						// Strip the backslash prefix from a non-hex escape sequence
+						nonHex :
+
+						// Replace a hexadecimal escape sequence with the encoded Unicode code point
+						// Support: IE <=11+
+						// For values outside the Basic Multilingual Plane (BMP), manually construct a
+						// surrogate pair
+						high < 0 ?
+							String.fromCharCode(high + 0x10000) :
+							String.fromCharCode(high >> 10 | 0xD800, high & 0x3FF | 0xDC00);
+				},
+
+				// CSS string/identifier serialization
+				// https://drafts.csswg.org/cssom/#common-serializing-idioms
+				rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,
+				fcssescape = function (ch, asCodePoint) {
+					if (asCodePoint) {
+
+						// U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER
+						if (ch === "\0") {
+							return "\uFFFD";
+						}
+
+						// Control characters and (dependent upon position) numbers get escaped as code points
+						return ch.slice(0, -1) + "\\" +
+							ch.charCodeAt(ch.length - 1).toString(16) + " ";
+					}
+
+					// Other potentially-special ASCII characters get backslash-escaped
+					return "\\" + ch;
+				},
+
+				// Used for iframes
+				// See setDocument()
+				// Removing the function wrapper causes a "Permission Denied"
+				// error in IE
+				unloadHandler = function () {
+					setDocument();
+				},
+
+				inDisabledFieldset = addCombinator(
+					function (elem) {
+						return elem.disabled === true && elem.nodeName.toLowerCase() === "fieldset";
+					},
+					{ dir: "parentNode", next: "legend" }
+				);
+
+			// Optimize for push.apply( _, NodeList )
+			try {
+				push.apply(
+					(arr = slice.call(preferredDoc.childNodes)),
+					preferredDoc.childNodes
+				);
+
+				// Support: Android<4.0
+				// Detect silently failing push.apply
+				// eslint-disable-next-line no-unused-expressions
+				arr[preferredDoc.childNodes.length].nodeType;
+			} catch (e) {
+				push = {
+					apply: arr.length ?
+
+						// Leverage slice if possible
+						function (target, els) {
+							pushNative.apply(target, slice.call(els));
+						} :
+
+						// Support: IE<9
+						// Otherwise append directly
+						function (target, els) {
+							var j = target.length,
+								i = 0;
+
+							// Can't trust NodeList.length
+							while ((target[j++] = els[i++])) { }
+							target.length = j - 1;
+						}
+				};
+			}
+
+			function Sizzle(selector, context, results, seed) {
+				var m, i, elem, nid, match, groups, newSelector,
+					newContext = context && context.ownerDocument,
+
+					// nodeType defaults to 9, since context defaults to document
+					nodeType = context ? context.nodeType : 9;
+
+				results = results || [];
+
+				// Return early from calls with invalid selector or context
+				if (typeof selector !== "string" || !selector ||
+					nodeType !== 1 && nodeType !== 9 && nodeType !== 11) {
+
+					return results;
+				}
+
+				// Try to shortcut find operations (as opposed to filters) in HTML documents
+				if (!seed) {
+					setDocument(context);
+					context = context || document;
+
+					if (documentIsHTML) {
+
+						// If the selector is sufficiently simple, try using a "get*By*" DOM method
+						// (excepting DocumentFragment context, where the methods don't exist)
+						if (nodeType !== 11 && (match = rquickExpr.exec(selector))) {
+
+							// ID selector
+							if ((m = match[1])) {
+
+								// Document context
+								if (nodeType === 9) {
+									if ((elem = context.getElementById(m))) {
+
+										// Support: IE, Opera, Webkit
+										// TODO: identify versions
+										// getElementById can match elements by name instead of ID
+										if (elem.id === m) {
+											results.push(elem);
+											return results;
+										}
+									} else {
+										return results;
+									}
+
+									// Element context
+								} else {
+
+									// Support: IE, Opera, Webkit
+									// TODO: identify versions
+									// getElementById can match elements by name instead of ID
+									if (newContext && (elem = newContext.getElementById(m)) &&
+										contains(context, elem) &&
+										elem.id === m) {
+
+										results.push(elem);
+										return results;
+									}
+								}
+
+								// Type selector
+							} else if (match[2]) {
+								push.apply(results, context.getElementsByTagName(selector));
+								return results;
+
+								// Class selector
+							} else if ((m = match[3]) && support.getElementsByClassName &&
+								context.getElementsByClassName) {
+
+								push.apply(results, context.getElementsByClassName(m));
+								return results;
+							}
+						}
+
+						// Take advantage of querySelectorAll
+						if (support.qsa &&
+							!nonnativeSelectorCache[selector + " "] &&
+							(!rbuggyQSA || !rbuggyQSA.test(selector)) &&
+
+							// Support: IE 8 only
+							// Exclude object elements
+							(nodeType !== 1 || context.nodeName.toLowerCase() !== "object")) {
+
+							newSelector = selector;
+							newContext = context;
+
+							// qSA considers elements outside a scoping root when evaluating child or
+							// descendant combinators, which is not what we want.
+							// In such cases, we work around the behavior by prefixing every selector in the
+							// list with an ID selector referencing the scope context.
+							// The technique has to be used as well when a leading combinator is used
+							// as such selectors are not recognized by querySelectorAll.
+							// Thanks to Andrew Dupont for this technique.
+							if (nodeType === 1 &&
+								(rdescend.test(selector) || rcombinators.test(selector))) {
+
+								// Expand context for sibling selectors
+								newContext = rsibling.test(selector) && testContext(context.parentNode) ||
+									context;
+
+								// We can use :scope instead of the ID hack if the browser
+								// supports it & if we're not changing the context.
+								if (newContext !== context || !support.scope) {
+
+									// Capture the context ID, setting it first if necessary
+									if ((nid = context.getAttribute("id"))) {
+										nid = nid.replace(rcssescape, fcssescape);
+									} else {
+										context.setAttribute("id", (nid = expando));
+									}
+								}
+
+								// Prefix every selector in the list
+								groups = tokenize(selector);
+								i = groups.length;
+								while (i--) {
+									groups[i] = (nid ? "#" + nid : ":scope") + " " +
+										toSelector(groups[i]);
+								}
+								newSelector = groups.join(",");
+							}
+
+							try {
+								push.apply(results,
+									newContext.querySelectorAll(newSelector)
+								);
+								return results;
+							} catch (qsaError) {
+								nonnativeSelectorCache(selector, true);
+							} finally {
+								if (nid === expando) {
+									context.removeAttribute("id");
+								}
+							}
+						}
+					}
+				}
+
+				// All others
+				return select(selector.replace(rtrim, "$1"), context, results, seed);
+			}
+
+			/**
+			 * Create key-value caches of limited size
+			 * @returns {function(string, object)} Returns the Object data after storing it on itself with
+			 *	property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength)
+			 *	deleting the oldest entry
+			 */
+			function createCache() {
+				var keys = [];
+
+				function cache(key, value) {
+
+					// Use (key + " ") to avoid collision with native prototype properties (see Issue #157)
+					if (keys.push(key + " ") > Expr.cacheLength) {
+
+						// Only keep the most recent entries
+						delete cache[keys.shift()];
+					}
+					return (cache[key + " "] = value);
+				}
+				return cache;
+			}
+
+			/**
+			 * Mark a function for special use by Sizzle
+			 * @param {Function} fn The function to mark
+			 */
+			function markFunction(fn) {
+				fn[expando] = true;
+				return fn;
+			}
+
+			/**
+			 * Support testing using an element
+			 * @param {Function} fn Passed the created element and returns a boolean result
+			 */
+			function assert(fn) {
+				var el = document.createElement("fieldset");
+
+				try {
+					return !!fn(el);
+				} catch (e) {
+					return false;
+				} finally {
+
+					// Remove from its parent by default
+					if (el.parentNode) {
+						el.parentNode.removeChild(el);
+					}
+
+					// release memory in IE
+					el = null;
+				}
+			}
+
+			/**
+			 * Adds the same handler for all of the specified attrs
+			 * @param {String} attrs Pipe-separated list of attributes
+			 * @param {Function} handler The method that will be applied
+			 */
+			function addHandle(attrs, handler) {
+				var arr = attrs.split("|"),
+					i = arr.length;
+
+				while (i--) {
+					Expr.attrHandle[arr[i]] = handler;
+				}
+			}
+
+			/**
+			 * Checks document order of two siblings
+			 * @param {Element} a
+			 * @param {Element} b
+			 * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b
+			 */
+			function siblingCheck(a, b) {
+				var cur = b && a,
+					diff = cur && a.nodeType === 1 && b.nodeType === 1 &&
+						a.sourceIndex - b.sourceIndex;
+
+				// Use IE sourceIndex if available on both nodes
+				if (diff) {
+					return diff;
+				}
+
+				// Check if b follows a
+				if (cur) {
+					while ((cur = cur.nextSibling)) {
+						if (cur === b) {
+							return -1;
+						}
+					}
+				}
+
+				return a ? 1 : -1;
+			}
+
+			/**
+			 * Returns a function to use in pseudos for input types
+			 * @param {String} type
+			 */
+			function createInputPseudo(type) {
+				return function (elem) {
+					var name = elem.nodeName.toLowerCase();
+					return name === "input" && elem.type === type;
+				};
+			}
+
+			/**
+			 * Returns a function to use in pseudos for buttons
+			 * @param {String} type
+			 */
+			function createButtonPseudo(type) {
+				return function (elem) {
+					var name = elem.nodeName.toLowerCase();
+					return (name === "input" || name === "button") && elem.type === type;
+				};
+			}
+
+			/**
+			 * Returns a function to use in pseudos for :enabled/:disabled
+			 * @param {Boolean} disabled true for :disabled; false for :enabled
+			 */
+			function createDisabledPseudo(disabled) {
+
+				// Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable
+				return function (elem) {
+
+					// Only certain elements can match :enabled or :disabled
+					// https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled
+					// https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled
+					if ("form" in elem) {
+
+						// Check for inherited disabledness on relevant non-disabled elements:
+						// * listed form-associated elements in a disabled fieldset
+						//   https://html.spec.whatwg.org/multipage/forms.html#category-listed
+						//   https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled
+						// * option elements in a disabled optgroup
+						//   https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled
+						// All such elements have a "form" property.
+						if (elem.parentNode && elem.disabled === false) {
+
+							// Option elements defer to a parent optgroup if present
+							if ("label" in elem) {
+								if ("label" in elem.parentNode) {
+									return elem.parentNode.disabled === disabled;
+								} else {
+									return elem.disabled === disabled;
+								}
+							}
+
+							// Support: IE 6 - 11
+							// Use the isDisabled shortcut property to check for disabled fieldset ancestors
+							return elem.isDisabled === disabled ||
+
+								// Where there is no isDisabled, check manually
+								/* jshint -W018 */
+								elem.isDisabled !== !disabled &&
+								inDisabledFieldset(elem) === disabled;
+						}
+
+						return elem.disabled === disabled;
+
+						// Try to winnow out elements that can't be disabled before trusting the disabled property.
+						// Some victims get caught in our net (label, legend, menu, track), but it shouldn't
+						// even exist on them, let alone have a boolean value.
+					} else if ("label" in elem) {
+						return elem.disabled === disabled;
+					}
+
+					// Remaining elements are neither :enabled nor :disabled
+					return false;
+				};
+			}
+
+			/**
+			 * Returns a function to use in pseudos for positionals
+			 * @param {Function} fn
+			 */
+			function createPositionalPseudo(fn) {
+				return markFunction(function (argument) {
+					argument = +argument;
+					return markFunction(function (seed, matches) {
+						var j,
+							matchIndexes = fn([], seed.length, argument),
+							i = matchIndexes.length;
+
+						// Match elements found at the specified indexes
+						while (i--) {
+							if (seed[(j = matchIndexes[i])]) {
+								seed[j] = !(matches[j] = seed[j]);
+							}
+						}
+					});
+				});
+			}
+
+			/**
+			 * Checks a node for validity as a Sizzle context
+			 * @param {Element|Object=} context
+			 * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value
+			 */
+			function testContext(context) {
+				return context && typeof context.getElementsByTagName !== "undefined" && context;
+			}
+
+			// Expose support vars for convenience
+			support = Sizzle.support = {};
+
+			/**
+			 * Detects XML nodes
+			 * @param {Element|Object} elem An element or a document
+			 * @returns {Boolean} True iff elem is a non-HTML XML node
+			 */
+			isXML = Sizzle.isXML = function (elem) {
+				var namespace = elem.namespaceURI,
+					docElem = (elem.ownerDocument || elem).documentElement;
+
+				// Support: IE <=8
+				// Assume HTML when documentElement doesn't yet exist, such as inside loading iframes
+				// https://bugs.jquery.com/ticket/4833
+				return !rhtml.test(namespace || docElem && docElem.nodeName || "HTML");
+			};
+
+			/**
+			 * Sets document-related variables once based on the current document
+			 * @param {Element|Object} [doc] An element or document object to use to set the document
+			 * @returns {Object} Returns the current document
+			 */
+			setDocument = Sizzle.setDocument = function (node) {
+				var hasCompare, subWindow,
+					doc = node ? node.ownerDocument || node : preferredDoc;
+
+				// Return early if doc is invalid or already selected
+				// Support: IE 11+, Edge 17 - 18+
+				// IE/Edge sometimes throw a "Permission denied" error when strict-comparing
+				// two documents; shallow comparisons work.
+				// eslint-disable-next-line eqeqeq
+				if (doc == document || doc.nodeType !== 9 || !doc.documentElement) {
+					return document;
+				}
+
+				// Update global variables
+				document = doc;
+				docElem = document.documentElement;
+				documentIsHTML = !isXML(document);
+
+				// Support: IE 9 - 11+, Edge 12 - 18+
+				// Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936)
+				// Support: IE 11+, Edge 17 - 18+
+				// IE/Edge sometimes throw a "Permission denied" error when strict-comparing
+				// two documents; shallow comparisons work.
+				// eslint-disable-next-line eqeqeq
+				if (preferredDoc != document &&
+					(subWindow = document.defaultView) && subWindow.top !== subWindow) {
+
+					// Support: IE 11, Edge
+					if (subWindow.addEventListener) {
+						subWindow.addEventListener("unload", unloadHandler, false);
+
+						// Support: IE 9 - 10 only
+					} else if (subWindow.attachEvent) {
+						subWindow.attachEvent("onunload", unloadHandler);
+					}
+				}
+
+				// Support: IE 8 - 11+, Edge 12 - 18+, Chrome <=16 - 25 only, Firefox <=3.6 - 31 only,
+				// Safari 4 - 5 only, Opera <=11.6 - 12.x only
+				// IE/Edge & older browsers don't support the :scope pseudo-class.
+				// Support: Safari 6.0 only
+				// Safari 6.0 supports :scope but it's an alias of :root there.
+				support.scope = assert(function (el) {
+					docElem.appendChild(el).appendChild(document.createElement("div"));
+					return typeof el.querySelectorAll !== "undefined" &&
+						!el.querySelectorAll(":scope fieldset div").length;
+				});
+
+				/* Attributes
+				---------------------------------------------------------------------- */
+
+				// Support: IE<8
+				// Verify that getAttribute really returns attributes and not properties
+				// (excepting IE8 booleans)
+				support.attributes = assert(function (el) {
+					el.className = "i";
+					return !el.getAttribute("className");
+				});
+
+				/* getElement(s)By*
+				---------------------------------------------------------------------- */
+
+				// Check if getElementsByTagName("*") returns only elements
+				support.getElementsByTagName = assert(function (el) {
+					el.appendChild(document.createComment(""));
+					return !el.getElementsByTagName("*").length;
+				});
+
+				// Support: IE<9
+				support.getElementsByClassName = rnative.test(document.getElementsByClassName);
+
+				// Support: IE<10
+				// Check if getElementById returns elements by name
+				// The broken getElementById methods don't pick up programmatically-set names,
+				// so use a roundabout getElementsByName test
+				support.getById = assert(function (el) {
+					docElem.appendChild(el).id = expando;
+					return !document.getElementsByName || !document.getElementsByName(expando).length;
+				});
+
+				// ID filter and find
+				if (support.getById) {
+					Expr.filter["ID"] = function (id) {
+						var attrId = id.replace(runescape, funescape);
+						return function (elem) {
+							return elem.getAttribute("id") === attrId;
+						};
+					};
+					Expr.find["ID"] = function (id, context) {
+						if (typeof context.getElementById !== "undefined" && documentIsHTML) {
+							var elem = context.getElementById(id);
+							return elem ? [elem] : [];
+						}
+					};
+				} else {
+					Expr.filter["ID"] = function (id) {
+						var attrId = id.replace(runescape, funescape);
+						return function (elem) {
+							var node = typeof elem.getAttributeNode !== "undefined" &&
+								elem.getAttributeNode("id");
+							return node && node.value === attrId;
+						};
+					};
+
+					// Support: IE 6 - 7 only
+					// getElementById is not reliable as a find shortcut
+					Expr.find["ID"] = function (id, context) {
+						if (typeof context.getElementById !== "undefined" && documentIsHTML) {
+							var node, i, elems,
+								elem = context.getElementById(id);
+
+							if (elem) {
+
+								// Verify the id attribute
+								node = elem.getAttributeNode("id");
+								if (node && node.value === id) {
+									return [elem];
+								}
+
+								// Fall back on getElementsByName
+								elems = context.getElementsByName(id);
+								i = 0;
+								while ((elem = elems[i++])) {
+									node = elem.getAttributeNode("id");
+									if (node && node.value === id) {
+										return [elem];
+									}
+								}
+							}
+
+							return [];
+						}
+					};
+				}
+
+				// Tag
+				Expr.find["TAG"] = support.getElementsByTagName ?
+					function (tag, context) {
+						if (typeof context.getElementsByTagName !== "undefined") {
+							return context.getElementsByTagName(tag);
+
+							// DocumentFragment nodes don't have gEBTN
+						} else if (support.qsa) {
+							return context.querySelectorAll(tag);
+						}
+					} :
+
+					function (tag, context) {
+						var elem,
+							tmp = [],
+							i = 0,
+
+							// By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too
+							results = context.getElementsByTagName(tag);
+
+						// Filter out possible comments
+						if (tag === "*") {
+							while ((elem = results[i++])) {
+								if (elem.nodeType === 1) {
+									tmp.push(elem);
+								}
+							}
+
+							return tmp;
+						}
+						return results;
+					};
+
+				// Class
+				Expr.find["CLASS"] = support.getElementsByClassName && function (className, context) {
+					if (typeof context.getElementsByClassName !== "undefined" && documentIsHTML) {
+						return context.getElementsByClassName(className);
+					}
+				};
+
+				/* QSA/matchesSelector
+				---------------------------------------------------------------------- */
+
+				// QSA and matchesSelector support
+
+				// matchesSelector(:active) reports false when true (IE9/Opera 11.5)
+				rbuggyMatches = [];
+
+				// qSa(:focus) reports false when true (Chrome 21)
+				// We allow this because of a bug in IE8/9 that throws an error
+				// whenever `document.activeElement` is accessed on an iframe
+				// So, we allow :focus to pass through QSA all the time to avoid the IE error
+				// See https://bugs.jquery.com/ticket/13378
+				rbuggyQSA = [];
+
+				if ((support.qsa = rnative.test(document.querySelectorAll))) {
+
+					// Build QSA regex
+					// Regex strategy adopted from Diego Perini
+					assert(function (el) {
+
+						var input;
+
+						// Select is set to empty string on purpose
+						// This is to test IE's treatment of not explicitly
+						// setting a boolean content attribute,
+						// since its presence should be enough
+						// https://bugs.jquery.com/ticket/12359
+						docElem.appendChild(el).innerHTML = "<a id='" + expando + "'></a>" +
+							"<select id='" + expando + "-\r\\' msallowcapture=''>" +
+							"<option selected=''></option></select>";
+
+						// Support: IE8, Opera 11-12.16
+						// Nothing should be selected when empty strings follow ^= or $= or *=
+						// The test attribute must be unknown in Opera but "safe" for WinRT
+						// https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section
+						if (el.querySelectorAll("[msallowcapture^='']").length) {
+							rbuggyQSA.push("[*^$]=" + whitespace + "*(?:''|\"\")");
+						}
+
+						// Support: IE8
+						// Boolean attributes and "value" are not treated correctly
+						if (!el.querySelectorAll("[selected]").length) {
+							rbuggyQSA.push("\\[" + whitespace + "*(?:value|" + booleans + ")");
+						}
+
+						// Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+
+						if (!el.querySelectorAll("[id~=" + expando + "-]").length) {
+							rbuggyQSA.push("~=");
+						}
+
+						// Support: IE 11+, Edge 15 - 18+
+						// IE 11/Edge don't find elements on a `[name='']` query in some cases.
+						// Adding a temporary attribute to the document before the selection works
+						// around the issue.
+						// Interestingly, IE 10 & older don't seem to have the issue.
+						input = document.createElement("input");
+						input.setAttribute("name", "");
+						el.appendChild(input);
+						if (!el.querySelectorAll("[name='']").length) {
+							rbuggyQSA.push("\\[" + whitespace + "*name" + whitespace + "*=" +
+								whitespace + "*(?:''|\"\")");
+						}
+
+						// Webkit/Opera - :checked should return selected option elements
+						// http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked
+						// IE8 throws error here and will not see later tests
+						if (!el.querySelectorAll(":checked").length) {
+							rbuggyQSA.push(":checked");
+						}
+
+						// Support: Safari 8+, iOS 8+
+						// https://bugs.webkit.org/show_bug.cgi?id=136851
+						// In-page `selector#id sibling-combinator selector` fails
+						if (!el.querySelectorAll("a#" + expando + "+*").length) {
+							rbuggyQSA.push(".#.+[+~]");
+						}
+
+						// Support: Firefox <=3.6 - 5 only
+						// Old Firefox doesn't throw on a badly-escaped identifier.
+						el.querySelectorAll("\\\f");
+						rbuggyQSA.push("[\\r\\n\\f]");
+					});
+
+					assert(function (el) {
+						el.innerHTML = "<a href='' disabled='disabled'></a>" +
+							"<select disabled='disabled'><option/></select>";
+
+						// Support: Windows 8 Native Apps
+						// The type and name attributes are restricted during .innerHTML assignment
+						var input = document.createElement("input");
+						input.setAttribute("type", "hidden");
+						el.appendChild(input).setAttribute("name", "D");
+
+						// Support: IE8
+						// Enforce case-sensitivity of name attribute
+						if (el.querySelectorAll("[name=d]").length) {
+							rbuggyQSA.push("name" + whitespace + "*[*^$|!~]?=");
+						}
+
+						// FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled)
+						// IE8 throws error here and will not see later tests
+						if (el.querySelectorAll(":enabled").length !== 2) {
+							rbuggyQSA.push(":enabled", ":disabled");
+						}
+
+						// Support: IE9-11+
+						// IE's :disabled selector does not pick up the children of disabled fieldsets
+						docElem.appendChild(el).disabled = true;
+						if (el.querySelectorAll(":disabled").length !== 2) {
+							rbuggyQSA.push(":enabled", ":disabled");
+						}
+
+						// Support: Opera 10 - 11 only
+						// Opera 10-11 does not throw on post-comma invalid pseudos
+						el.querySelectorAll("*,:x");
+						rbuggyQSA.push(",.*:");
+					});
+				}
+
+				if ((support.matchesSelector = rnative.test((matches = docElem.matches ||
+					docElem.webkitMatchesSelector ||
+					docElem.mozMatchesSelector ||
+					docElem.oMatchesSelector ||
+					docElem.msMatchesSelector)))) {
+
+					assert(function (el) {
+
+						// Check to see if it's possible to do matchesSelector
+						// on a disconnected node (IE 9)
+						support.disconnectedMatch = matches.call(el, "*");
+
+						// This should fail with an exception
+						// Gecko does not error, returns false instead
+						matches.call(el, "[s!='']:x");
+						rbuggyMatches.push("!=", pseudos);
+					});
+				}
+
+				rbuggyQSA = rbuggyQSA.length && new RegExp(rbuggyQSA.join("|"));
+				rbuggyMatches = rbuggyMatches.length && new RegExp(rbuggyMatches.join("|"));
+
+				/* Contains
+				---------------------------------------------------------------------- */
+				hasCompare = rnative.test(docElem.compareDocumentPosition);
+
+				// Element contains another
+				// Purposefully self-exclusive
+				// As in, an element does not contain itself
+				contains = hasCompare || rnative.test(docElem.contains) ?
+					function (a, b) {
+						var adown = a.nodeType === 9 ? a.documentElement : a,
+							bup = b && b.parentNode;
+						return a === bup || !!(bup && bup.nodeType === 1 && (
+							adown.contains ?
+								adown.contains(bup) :
+								a.compareDocumentPosition && a.compareDocumentPosition(bup) & 16
+						));
+					} :
+					function (a, b) {
+						if (b) {
+							while ((b = b.parentNode)) {
+								if (b === a) {
+									return true;
+								}
+							}
+						}
+						return false;
+					};
+
+				/* Sorting
+				---------------------------------------------------------------------- */
+
+				// Document order sorting
+				sortOrder = hasCompare ?
+					function (a, b) {
+
+						// Flag for duplicate removal
+						if (a === b) {
+							hasDuplicate = true;
+							return 0;
+						}
+
+						// Sort on method existence if only one input has compareDocumentPosition
+						var compare = !a.compareDocumentPosition - !b.compareDocumentPosition;
+						if (compare) {
+							return compare;
+						}
+
+						// Calculate position if both inputs belong to the same document
+						// Support: IE 11+, Edge 17 - 18+
+						// IE/Edge sometimes throw a "Permission denied" error when strict-comparing
+						// two documents; shallow comparisons work.
+						// eslint-disable-next-line eqeqeq
+						compare = (a.ownerDocument || a) == (b.ownerDocument || b) ?
+							a.compareDocumentPosition(b) :
+
+							// Otherwise we know they are disconnected
+							1;
+
+						// Disconnected nodes
+						if (compare & 1 ||
+							(!support.sortDetached && b.compareDocumentPosition(a) === compare)) {
+
+							// Choose the first element that is related to our preferred document
+							// Support: IE 11+, Edge 17 - 18+
+							// IE/Edge sometimes throw a "Permission denied" error when strict-comparing
+							// two documents; shallow comparisons work.
+							// eslint-disable-next-line eqeqeq
+							if (a == document || a.ownerDocument == preferredDoc &&
+								contains(preferredDoc, a)) {
+								return -1;
+							}
+
+							// Support: IE 11+, Edge 17 - 18+
+							// IE/Edge sometimes throw a "Permission denied" error when strict-comparing
+							// two documents; shallow comparisons work.
+							// eslint-disable-next-line eqeqeq
+							if (b == document || b.ownerDocument == preferredDoc &&
+								contains(preferredDoc, b)) {
+								return 1;
+							}
+
+							// Maintain original order
+							return sortInput ?
+								(indexOf(sortInput, a) - indexOf(sortInput, b)) :
+								0;
+						}
+
+						return compare & 4 ? -1 : 1;
+					} :
+					function (a, b) {
+
+						// Exit early if the nodes are identical
+						if (a === b) {
+							hasDuplicate = true;
+							return 0;
+						}
+
+						var cur,
+							i = 0,
+							aup = a.parentNode,
+							bup = b.parentNode,
+							ap = [a],
+							bp = [b];
+
+						// Parentless nodes are either documents or disconnected
+						if (!aup || !bup) {
+
+							// Support: IE 11+, Edge 17 - 18+
+							// IE/Edge sometimes throw a "Permission denied" error when strict-comparing
+							// two documents; shallow comparisons work.
+							/* eslint-disable eqeqeq */
+							return a == document ? -1 :
+								b == document ? 1 :
+									/* eslint-enable eqeqeq */
+									aup ? -1 :
+										bup ? 1 :
+											sortInput ?
+												(indexOf(sortInput, a) - indexOf(sortInput, b)) :
+												0;
+
+							// If the nodes are siblings, we can do a quick check
+						} else if (aup === bup) {
+							return siblingCheck(a, b);
+						}
+
+						// Otherwise we need full lists of their ancestors for comparison
+						cur = a;
+						while ((cur = cur.parentNode)) {
+							ap.unshift(cur);
+						}
+						cur = b;
+						while ((cur = cur.parentNode)) {
+							bp.unshift(cur);
+						}
+
+						// Walk down the tree looking for a discrepancy
+						while (ap[i] === bp[i]) {
+							i++;
+						}
+
+						return i ?
+
+							// Do a sibling check if the nodes have a common ancestor
+							siblingCheck(ap[i], bp[i]) :
+
+							// Otherwise nodes in our document sort first
+							// Support: IE 11+, Edge 17 - 18+
+							// IE/Edge sometimes throw a "Permission denied" error when strict-comparing
+							// two documents; shallow comparisons work.
+							/* eslint-disable eqeqeq */
+							ap[i] == preferredDoc ? -1 :
+								bp[i] == preferredDoc ? 1 :
+									/* eslint-enable eqeqeq */
+									0;
+					};
+
+				return document;
+			};
+
+			Sizzle.matches = function (expr, elements) {
+				return Sizzle(expr, null, null, elements);
+			};
+
+			Sizzle.matchesSelector = function (elem, expr) {
+				setDocument(elem);
+
+				if (support.matchesSelector && documentIsHTML &&
+					!nonnativeSelectorCache[expr + " "] &&
+					(!rbuggyMatches || !rbuggyMatches.test(expr)) &&
+					(!rbuggyQSA || !rbuggyQSA.test(expr))) {
+
+					try {
+						var ret = matches.call(elem, expr);
+
+						// IE 9's matchesSelector returns false on disconnected nodes
+						if (ret || support.disconnectedMatch ||
+
+							// As well, disconnected nodes are said to be in a document
+							// fragment in IE 9
+							elem.document && elem.document.nodeType !== 11) {
+							return ret;
+						}
+					} catch (e) {
+						nonnativeSelectorCache(expr, true);
+					}
+				}
+
+				return Sizzle(expr, document, null, [elem]).length > 0;
+			};
+
+			Sizzle.contains = function (context, elem) {
+
+				// Set document vars if needed
+				// Support: IE 11+, Edge 17 - 18+
+				// IE/Edge sometimes throw a "Permission denied" error when strict-comparing
+				// two documents; shallow comparisons work.
+				// eslint-disable-next-line eqeqeq
+				if ((context.ownerDocument || context) != document) {
+					setDocument(context);
+				}
+				return contains(context, elem);
+			};
+
+			Sizzle.attr = function (elem, name) {
+
+				// Set document vars if needed
+				// Support: IE 11+, Edge 17 - 18+
+				// IE/Edge sometimes throw a "Permission denied" error when strict-comparing
+				// two documents; shallow comparisons work.
+				// eslint-disable-next-line eqeqeq
+				if ((elem.ownerDocument || elem) != document) {
+					setDocument(elem);
+				}
+
+				var fn = Expr.attrHandle[name.toLowerCase()],
+
+					// Don't get fooled by Object.prototype properties (jQuery #13807)
+					val = fn && hasOwn.call(Expr.attrHandle, name.toLowerCase()) ?
+						fn(elem, name, !documentIsHTML) :
+						undefined;
+
+				return val !== undefined ?
+					val :
+					support.attributes || !documentIsHTML ?
+						elem.getAttribute(name) :
+						(val = elem.getAttributeNode(name)) && val.specified ?
+							val.value :
+							null;
+			};
+
+			Sizzle.escape = function (sel) {
+				return (sel + "").replace(rcssescape, fcssescape);
+			};
+
+			Sizzle.error = function (msg) {
+				throw new Error("Syntax error, unrecognized expression: " + msg);
+			};
+
+			/**
+			 * Document sorting and removing duplicates
+			 * @param {ArrayLike} results
+			 */
+			Sizzle.uniqueSort = function (results) {
+				var elem,
+					duplicates = [],
+					j = 0,
+					i = 0;
+
+				// Unless we *know* we can detect duplicates, assume their presence
+				hasDuplicate = !support.detectDuplicates;
+				sortInput = !support.sortStable && results.slice(0);
+				results.sort(sortOrder);
+
+				if (hasDuplicate) {
+					while ((elem = results[i++])) {
+						if (elem === results[i]) {
+							j = duplicates.push(i);
+						}
+					}
+					while (j--) {
+						results.splice(duplicates[j], 1);
+					}
+				}
+
+				// Clear input after sorting to release objects
+				// See https://github.com/jquery/sizzle/pull/225
+				sortInput = null;
+
+				return results;
+			};
+
+			/**
+			 * Utility function for retrieving the text value of an array of DOM nodes
+			 * @param {Array|Element} elem
+			 */
+			getText = Sizzle.getText = function (elem) {
+				var node,
+					ret = "",
+					i = 0,
+					nodeType = elem.nodeType;
+
+				if (!nodeType) {
+
+					// If no nodeType, this is expected to be an array
+					while ((node = elem[i++])) {
+
+						// Do not traverse comment nodes
+						ret += getText(node);
+					}
+				} else if (nodeType === 1 || nodeType === 9 || nodeType === 11) {
+
+					// Use textContent for elements
+					// innerText usage removed for consistency of new lines (jQuery #11153)
+					if (typeof elem.textContent === "string") {
+						return elem.textContent;
+					} else {
+
+						// Traverse its children
+						for (elem = elem.firstChild; elem; elem = elem.nextSibling) {
+							ret += getText(elem);
+						}
+					}
+				} else if (nodeType === 3 || nodeType === 4) {
+					return elem.nodeValue;
+				}
+
+				// Do not include comment or processing instruction nodes
+
+				return ret;
+			};
+
+			Expr = Sizzle.selectors = {
+
+				// Can be adjusted by the user
+				cacheLength: 50,
+
+				createPseudo: markFunction,
+
+				match: matchExpr,
+
+				attrHandle: {},
+
+				find: {},
+
+				relative: {
+					">": { dir: "parentNode", first: true },
+					" ": { dir: "parentNode" },
+					"+": { dir: "previousSibling", first: true },
+					"~": { dir: "previousSibling" }
+				},
+
+				preFilter: {
+					"ATTR": function (match) {
+						match[1] = match[1].replace(runescape, funescape);
+
+						// Move the given value to match[3] whether quoted or unquoted
+						match[3] = (match[3] || match[4] ||
+							match[5] || "").replace(runescape, funescape);
+
+						if (match[2] === "~=") {
+							match[3] = " " + match[3] + " ";
+						}
+
+						return match.slice(0, 4);
+					},
+
+					"CHILD": function (match) {
+
+						/* matches from matchExpr["CHILD"]
+							1 type (only|nth|...)
+							2 what (child|of-type)
+							3 argument (even|odd|\d*|\d*n([+-]\d+)?|...)
+							4 xn-component of xn+y argument ([+-]?\d*n|)
+							5 sign of xn-component
+							6 x of xn-component
+							7 sign of y-component
+							8 y of y-component
+						*/
+						match[1] = match[1].toLowerCase();
+
+						if (match[1].slice(0, 3) === "nth") {
+
+							// nth-* requires argument
+							if (!match[3]) {
+								Sizzle.error(match[0]);
+							}
+
+							// numeric x and y parameters for Expr.filter.CHILD
+							// remember that false/true cast respectively to 0/1
+							match[4] = +(match[4] ?
+								match[5] + (match[6] || 1) :
+								2 * (match[3] === "even" || match[3] === "odd"));
+							match[5] = +((match[7] + match[8]) || match[3] === "odd");
+
+							// other types prohibit arguments
+						} else if (match[3]) {
+							Sizzle.error(match[0]);
+						}
+
+						return match;
+					},
+
+					"PSEUDO": function (match) {
+						var excess,
+							unquoted = !match[6] && match[2];
+
+						if (matchExpr["CHILD"].test(match[0])) {
+							return null;
+						}
+
+						// Accept quoted arguments as-is
+						if (match[3]) {
+							match[2] = match[4] || match[5] || "";
+
+							// Strip excess characters from unquoted arguments
+						} else if (unquoted && rpseudo.test(unquoted) &&
+
+							// Get excess from tokenize (recursively)
+							(excess = tokenize(unquoted, true)) &&
+
+							// advance to the next closing parenthesis
+							(excess = unquoted.indexOf(")", unquoted.length - excess) - unquoted.length)) {
+
+							// excess is a negative index
+							match[0] = match[0].slice(0, excess);
+							match[2] = unquoted.slice(0, excess);
+						}
+
+						// Return only captures needed by the pseudo filter method (type and argument)
+						return match.slice(0, 3);
+					}
+				},
+
+				filter: {
+
+					"TAG": function (nodeNameSelector) {
+						var nodeName = nodeNameSelector.replace(runescape, funescape).toLowerCase();
+						return nodeNameSelector === "*" ?
+							function () {
+								return true;
+							} :
+							function (elem) {
+								return elem.nodeName && elem.nodeName.toLowerCase() === nodeName;
+							};
+					},
+
+					"CLASS": function (className) {
+						var pattern = classCache[className + " "];
+
+						return pattern ||
+							(pattern = new RegExp("(^|" + whitespace +
+								")" + className + "(" + whitespace + "|$)")) && classCache(
+									className, function (elem) {
+										return pattern.test(
+											typeof elem.className === "string" && elem.className ||
+											typeof elem.getAttribute !== "undefined" &&
+											elem.getAttribute("class") ||
+											""
+										);
+									});
+					},
+
+					"ATTR": function (name, operator, check) {
+						return function (elem) {
+							var result = Sizzle.attr(elem, name);
+
+							if (result == null) {
+								return operator === "!=";
+							}
+							if (!operator) {
+								return true;
+							}
+
+							result += "";
+
+							/* eslint-disable max-len */
+
+							return operator === "=" ? result === check :
+								operator === "!=" ? result !== check :
+									operator === "^=" ? check && result.indexOf(check) === 0 :
+										operator === "*=" ? check && result.indexOf(check) > -1 :
+											operator === "$=" ? check && result.slice(-check.length) === check :
+												operator === "~=" ? (" " + result.replace(rwhitespace, " ") + " ").indexOf(check) > -1 :
+													operator === "|=" ? result === check || result.slice(0, check.length + 1) === check + "-" :
+														false;
+							/* eslint-enable max-len */
+
+						};
+					},
+
+					"CHILD": function (type, what, _argument, first, last) {
+						var simple = type.slice(0, 3) !== "nth",
+							forward = type.slice(-4) !== "last",
+							ofType = what === "of-type";
+
+						return first === 1 && last === 0 ?
+
+							// Shortcut for :nth-*(n)
+							function (elem) {
+								return !!elem.parentNode;
+							} :
+
+							function (elem, _context, xml) {
+								var cache, uniqueCache, outerCache, node, nodeIndex, start,
+									dir = simple !== forward ? "nextSibling" : "previousSibling",
+									parent = elem.parentNode,
+									name = ofType && elem.nodeName.toLowerCase(),
+									useCache = !xml && !ofType,
+									diff = false;
+
+								if (parent) {
+
+									// :(first|last|only)-(child|of-type)
+									if (simple) {
+										while (dir) {
+											node = elem;
+											while ((node = node[dir])) {
+												if (ofType ?
+													node.nodeName.toLowerCase() === name :
+													node.nodeType === 1) {
+
+													return false;
+												}
+											}
+
+											// Reverse direction for :only-* (if we haven't yet done so)
+											start = dir = type === "only" && !start && "nextSibling";
+										}
+										return true;
+									}
+
+									start = [forward ? parent.firstChild : parent.lastChild];
+
+									// non-xml :nth-child(...) stores cache data on `parent`
+									if (forward && useCache) {
+
+										// Seek `elem` from a previously-cached index
+
+										// ...in a gzip-friendly way
+										node = parent;
+										outerCache = node[expando] || (node[expando] = {});
+
+										// Support: IE <9 only
+										// Defend against cloned attroperties (jQuery gh-1709)
+										uniqueCache = outerCache[node.uniqueID] ||
+											(outerCache[node.uniqueID] = {});
+
+										cache = uniqueCache[type] || [];
+										nodeIndex = cache[0] === dirruns && cache[1];
+										diff = nodeIndex && cache[2];
+										node = nodeIndex && parent.childNodes[nodeIndex];
+
+										while ((node = ++nodeIndex && node && node[dir] ||
+
+											// Fallback to seeking `elem` from the start
+											(diff = nodeIndex = 0) || start.pop())) {
+
+											// When found, cache indexes on `parent` and break
+											if (node.nodeType === 1 && ++diff && node === elem) {
+												uniqueCache[type] = [dirruns, nodeIndex, diff];
+												break;
+											}
+										}
+
+									} else {
+
+										// Use previously-cached element index if available
+										if (useCache) {
+
+											// ...in a gzip-friendly way
+											node = elem;
+											outerCache = node[expando] || (node[expando] = {});
+
+											// Support: IE <9 only
+											// Defend against cloned attroperties (jQuery gh-1709)
+											uniqueCache = outerCache[node.uniqueID] ||
+												(outerCache[node.uniqueID] = {});
+
+											cache = uniqueCache[type] || [];
+											nodeIndex = cache[0] === dirruns && cache[1];
+											diff = nodeIndex;
+										}
+
+										// xml :nth-child(...)
+										// or :nth-last-child(...) or :nth(-last)?-of-type(...)
+										if (diff === false) {
+
+											// Use the same loop as above to seek `elem` from the start
+											while ((node = ++nodeIndex && node && node[dir] ||
+												(diff = nodeIndex = 0) || start.pop())) {
+
+												if ((ofType ?
+													node.nodeName.toLowerCase() === name :
+													node.nodeType === 1) &&
+													++diff) {
+
+													// Cache the index of each encountered element
+													if (useCache) {
+														outerCache = node[expando] ||
+															(node[expando] = {});
+
+														// Support: IE <9 only
+														// Defend against cloned attroperties (jQuery gh-1709)
+														uniqueCache = outerCache[node.uniqueID] ||
+															(outerCache[node.uniqueID] = {});
+
+														uniqueCache[type] = [dirruns, diff];
+													}
+
+													if (node === elem) {
+														break;
+													}
+												}
+											}
+										}
+									}
+
+									// Incorporate the offset, then check against cycle size
+									diff -= last;
+									return diff === first || (diff % first === 0 && diff / first >= 0);
+								}
+							};
+					},
+
+					"PSEUDO": function (pseudo, argument) {
+
+						// pseudo-class names are case-insensitive
+						// http://www.w3.org/TR/selectors/#pseudo-classes
+						// Prioritize by case sensitivity in case custom pseudos are added with uppercase letters
+						// Remember that setFilters inherits from pseudos
+						var args,
+							fn = Expr.pseudos[pseudo] || Expr.setFilters[pseudo.toLowerCase()] ||
+								Sizzle.error("unsupported pseudo: " + pseudo);
+
+						// The user may use createPseudo to indicate that
+						// arguments are needed to create the filter function
+						// just as Sizzle does
+						if (fn[expando]) {
+							return fn(argument);
+						}
+
+						// But maintain support for old signatures
+						if (fn.length > 1) {
+							args = [pseudo, pseudo, "", argument];
+							return Expr.setFilters.hasOwnProperty(pseudo.toLowerCase()) ?
+								markFunction(function (seed, matches) {
+									var idx,
+										matched = fn(seed, argument),
+										i = matched.length;
+									while (i--) {
+										idx = indexOf(seed, matched[i]);
+										seed[idx] = !(matches[idx] = matched[i]);
+									}
+								}) :
+								function (elem) {
+									return fn(elem, 0, args);
+								};
+						}
+
+						return fn;
+					}
+				},
+
+				pseudos: {
+
+					// Potentially complex pseudos
+					"not": markFunction(function (selector) {
+
+						// Trim the selector passed to compile
+						// to avoid treating leading and trailing
+						// spaces as combinators
+						var input = [],
+							results = [],
+							matcher = compile(selector.replace(rtrim, "$1"));
+
+						return matcher[expando] ?
+							markFunction(function (seed, matches, _context, xml) {
+								var elem,
+									unmatched = matcher(seed, null, xml, []),
+									i = seed.length;
+
+								// Match elements unmatched by `matcher`
+								while (i--) {
+									if ((elem = unmatched[i])) {
+										seed[i] = !(matches[i] = elem);
+									}
+								}
+							}) :
+							function (elem, _context, xml) {
+								input[0] = elem;
+								matcher(input, null, xml, results);
+
+								// Don't keep the element (issue #299)
+								input[0] = null;
+								return !results.pop();
+							};
+					}),
+
+					"has": markFunction(function (selector) {
+						return function (elem) {
+							return Sizzle(selector, elem).length > 0;
+						};
+					}),
+
+					"contains": markFunction(function (text) {
+						text = text.replace(runescape, funescape);
+						return function (elem) {
+							return (elem.textContent || getText(elem)).indexOf(text) > -1;
+						};
+					}),
+
+					// "Whether an element is represented by a :lang() selector
+					// is based solely on the element's language value
+					// being equal to the identifier C,
+					// or beginning with the identifier C immediately followed by "-".
+					// The matching of C against the element's language value is performed case-insensitively.
+					// The identifier C does not have to be a valid language name."
+					// http://www.w3.org/TR/selectors/#lang-pseudo
+					"lang": markFunction(function (lang) {
+
+						// lang value must be a valid identifier
+						if (!ridentifier.test(lang || "")) {
+							Sizzle.error("unsupported lang: " + lang);
+						}
+						lang = lang.replace(runescape, funescape).toLowerCase();
+						return function (elem) {
+							var elemLang;
+							do {
+								if ((elemLang = documentIsHTML ?
+									elem.lang :
+									elem.getAttribute("xml:lang") || elem.getAttribute("lang"))) {
+
+									elemLang = elemLang.toLowerCase();
+									return elemLang === lang || elemLang.indexOf(lang + "-") === 0;
+								}
+							} while ((elem = elem.parentNode) && elem.nodeType === 1);
+							return false;
+						};
+					}),
+
+					// Miscellaneous
+					"target": function (elem) {
+						var hash = window.location && window.location.hash;
+						return hash && hash.slice(1) === elem.id;
+					},
+
+					"root": function (elem) {
+						return elem === docElem;
+					},
+
+					"focus": function (elem) {
+						return elem === document.activeElement &&
+							(!document.hasFocus || document.hasFocus()) &&
+							!!(elem.type || elem.href || ~elem.tabIndex);
+					},
+
+					// Boolean properties
+					"enabled": createDisabledPseudo(false),
+					"disabled": createDisabledPseudo(true),
+
+					"checked": function (elem) {
+
+						// In CSS3, :checked should return both checked and selected elements
+						// http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked
+						var nodeName = elem.nodeName.toLowerCase();
+						return (nodeName === "input" && !!elem.checked) ||
+							(nodeName === "option" && !!elem.selected);
+					},
+
+					"selected": function (elem) {
+
+						// Accessing this property makes selected-by-default
+						// options in Safari work properly
+						if (elem.parentNode) {
+							// eslint-disable-next-line no-unused-expressions
+							elem.parentNode.selectedIndex;
+						}
+
+						return elem.selected === true;
+					},
+
+					// Contents
+					"empty": function (elem) {
+
+						// http://www.w3.org/TR/selectors/#empty-pseudo
+						// :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5),
+						//   but not by others (comment: 8; processing instruction: 7; etc.)
+						// nodeType < 6 works because attributes (2) do not appear as children
+						for (elem = elem.firstChild; elem; elem = elem.nextSibling) {
+							if (elem.nodeType < 6) {
+								return false;
+							}
+						}
+						return true;
+					},
+
+					"parent": function (elem) {
+						return !Expr.pseudos["empty"](elem);
+					},
+
+					// Element/input types
+					"header": function (elem) {
+						return rheader.test(elem.nodeName);
+					},
+
+					"input": function (elem) {
+						return rinputs.test(elem.nodeName);
+					},
+
+					"button": function (elem) {
+						var name = elem.nodeName.toLowerCase();
+						return name === "input" && elem.type === "button" || name === "button";
+					},
+
+					"text": function (elem) {
+						var attr;
+						return elem.nodeName.toLowerCase() === "input" &&
+							elem.type === "text" &&
+
+							// Support: IE<8
+							// New HTML5 attribute values (e.g., "search") appear with elem.type === "text"
+							((attr = elem.getAttribute("type")) == null ||
+								attr.toLowerCase() === "text");
+					},
+
+					// Position-in-collection
+					"first": createPositionalPseudo(function () {
+						return [0];
+					}),
+
+					"last": createPositionalPseudo(function (_matchIndexes, length) {
+						return [length - 1];
+					}),
+
+					"eq": createPositionalPseudo(function (_matchIndexes, length, argument) {
+						return [argument < 0 ? argument + length : argument];
+					}),
+
+					"even": createPositionalPseudo(function (matchIndexes, length) {
+						var i = 0;
+						for (; i < length; i += 2) {
+							matchIndexes.push(i);
+						}
+						return matchIndexes;
+					}),
+
+					"odd": createPositionalPseudo(function (matchIndexes, length) {
+						var i = 1;
+						for (; i < length; i += 2) {
+							matchIndexes.push(i);
+						}
+						return matchIndexes;
+					}),
+
+					"lt": createPositionalPseudo(function (matchIndexes, length, argument) {
+						var i = argument < 0 ?
+							argument + length :
+							argument > length ?
+								length :
+								argument;
+						for (; --i >= 0;) {
+							matchIndexes.push(i);
+						}
+						return matchIndexes;
+					}),
+
+					"gt": createPositionalPseudo(function (matchIndexes, length, argument) {
+						var i = argument < 0 ? argument + length : argument;
+						for (; ++i < length;) {
+							matchIndexes.push(i);
+						}
+						return matchIndexes;
+					})
+				}
+			};
+
+			Expr.pseudos["nth"] = Expr.pseudos["eq"];
+
+			// Add button/input type pseudos
+			for (i in { radio: true, checkbox: true, file: true, password: true, image: true }) {
+				Expr.pseudos[i] = createInputPseudo(i);
+			}
+			for (i in { submit: true, reset: true }) {
+				Expr.pseudos[i] = createButtonPseudo(i);
+			}
+
+			// Easy API for creating new setFilters
+			function setFilters() { }
+			setFilters.prototype = Expr.filters = Expr.pseudos;
+			Expr.setFilters = new setFilters();
+
+			tokenize = Sizzle.tokenize = function (selector, parseOnly) {
+				var matched, match, tokens, type,
+					soFar, groups, preFilters,
+					cached = tokenCache[selector + " "];
+
+				if (cached) {
+					return parseOnly ? 0 : cached.slice(0);
+				}
+
+				soFar = selector;
+				groups = [];
+				preFilters = Expr.preFilter;
+
+				while (soFar) {
+
+					// Comma and first run
+					if (!matched || (match = rcomma.exec(soFar))) {
+						if (match) {
+
+							// Don't consume trailing commas as valid
+							soFar = soFar.slice(match[0].length) || soFar;
+						}
+						groups.push((tokens = []));
+					}
+
+					matched = false;
+
+					// Combinators
+					if ((match = rcombinators.exec(soFar))) {
+						matched = match.shift();
+						tokens.push({
+							value: matched,
+
+							// Cast descendant combinators to space
+							type: match[0].replace(rtrim, " ")
+						});
+						soFar = soFar.slice(matched.length);
+					}
+
+					// Filters
+					for (type in Expr.filter) {
+						if ((match = matchExpr[type].exec(soFar)) && (!preFilters[type] ||
+							(match = preFilters[type](match)))) {
+							matched = match.shift();
+							tokens.push({
+								value: matched,
+								type: type,
+								matches: match
+							});
+							soFar = soFar.slice(matched.length);
+						}
+					}
+
+					if (!matched) {
+						break;
+					}
+				}
+
+				// Return the length of the invalid excess
+				// if we're just parsing
+				// Otherwise, throw an error or return tokens
+				return parseOnly ?
+					soFar.length :
+					soFar ?
+						Sizzle.error(selector) :
+
+						// Cache the tokens
+						tokenCache(selector, groups).slice(0);
+			};
+
+			function toSelector(tokens) {
+				var i = 0,
+					len = tokens.length,
+					selector = "";
+				for (; i < len; i++) {
+					selector += tokens[i].value;
+				}
+				return selector;
+			}
+
+			function addCombinator(matcher, combinator, base) {
+				var dir = combinator.dir,
+					skip = combinator.next,
+					key = skip || dir,
+					checkNonElements = base && key === "parentNode",
+					doneName = done++;
+
+				return combinator.first ?
+
+					// Check against closest ancestor/preceding element
+					function (elem, context, xml) {
+						while ((elem = elem[dir])) {
+							if (elem.nodeType === 1 || checkNonElements) {
+								return matcher(elem, context, xml);
+							}
+						}
+						return false;
+					} :
+
+					// Check against all ancestor/preceding elements
+					function (elem, context, xml) {
+						var oldCache, uniqueCache, outerCache,
+							newCache = [dirruns, doneName];
+
+						// We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching
+						if (xml) {
+							while ((elem = elem[dir])) {
+								if (elem.nodeType === 1 || checkNonElements) {
+									if (matcher(elem, context, xml)) {
+										return true;
+									}
+								}
+							}
+						} else {
+							while ((elem = elem[dir])) {
+								if (elem.nodeType === 1 || checkNonElements) {
+									outerCache = elem[expando] || (elem[expando] = {});
+
+									// Support: IE <9 only
+									// Defend against cloned attroperties (jQuery gh-1709)
+									uniqueCache = outerCache[elem.uniqueID] ||
+										(outerCache[elem.uniqueID] = {});
+
+									if (skip && skip === elem.nodeName.toLowerCase()) {
+										elem = elem[dir] || elem;
+									} else if ((oldCache = uniqueCache[key]) &&
+										oldCache[0] === dirruns && oldCache[1] === doneName) {
+
+										// Assign to newCache so results back-propagate to previous elements
+										return (newCache[2] = oldCache[2]);
+									} else {
+
+										// Reuse newcache so results back-propagate to previous elements
+										uniqueCache[key] = newCache;
+
+										// A match means we're done; a fail means we have to keep checking
+										if ((newCache[2] = matcher(elem, context, xml))) {
+											return true;
+										}
+									}
+								}
+							}
+						}
+						return false;
+					};
+			}
+
+			function elementMatcher(matchers) {
+				return matchers.length > 1 ?
+					function (elem, context, xml) {
+						var i = matchers.length;
+						while (i--) {
+							if (!matchers[i](elem, context, xml)) {
+								return false;
+							}
+						}
+						return true;
+					} :
+					matchers[0];
+			}
+
+			function multipleContexts(selector, contexts, results) {
+				var i = 0,
+					len = contexts.length;
+				for (; i < len; i++) {
+					Sizzle(selector, contexts[i], results);
+				}
+				return results;
+			}
+
+			function condense(unmatched, map, filter, context, xml) {
+				var elem,
+					newUnmatched = [],
+					i = 0,
+					len = unmatched.length,
+					mapped = map != null;
+
+				for (; i < len; i++) {
+					if ((elem = unmatched[i])) {
+						if (!filter || filter(elem, context, xml)) {
+							newUnmatched.push(elem);
+							if (mapped) {
+								map.push(i);
+							}
+						}
+					}
+				}
+
+				return newUnmatched;
+			}
+
+			function setMatcher(preFilter, selector, matcher, postFilter, postFinder, postSelector) {
+				if (postFilter && !postFilter[expando]) {
+					postFilter = setMatcher(postFilter);
+				}
+				if (postFinder && !postFinder[expando]) {
+					postFinder = setMatcher(postFinder, postSelector);
+				}
+				return markFunction(function (seed, results, context, xml) {
+					var temp, i, elem,
+						preMap = [],
+						postMap = [],
+						preexisting = results.length,
+
+						// Get initial elements from seed or context
+						elems = seed || multipleContexts(
+							selector || "*",
+							context.nodeType ? [context] : context,
+							[]
+						),
+
+						// Prefilter to get matcher input, preserving a map for seed-results synchronization
+						matcherIn = preFilter && (seed || !selector) ?
+							condense(elems, preMap, preFilter, context, xml) :
+							elems,
+
+						matcherOut = matcher ?
+
+							// If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results,
+							postFinder || (seed ? preFilter : preexisting || postFilter) ?
+
+								// ...intermediate processing is necessary
+								[] :
+
+								// ...otherwise use results directly
+								results :
+							matcherIn;
+
+					// Find primary matches
+					if (matcher) {
+						matcher(matcherIn, matcherOut, context, xml);
+					}
+
+					// Apply postFilter
+					if (postFilter) {
+						temp = condense(matcherOut, postMap);
+						postFilter(temp, [], context, xml);
+
+						// Un-match failing elements by moving them back to matcherIn
+						i = temp.length;
+						while (i--) {
+							if ((elem = temp[i])) {
+								matcherOut[postMap[i]] = !(matcherIn[postMap[i]] = elem);
+							}
+						}
+					}
+
+					if (seed) {
+						if (postFinder || preFilter) {
+							if (postFinder) {
+
+								// Get the final matcherOut by condensing this intermediate into postFinder contexts
+								temp = [];
+								i = matcherOut.length;
+								while (i--) {
+									if ((elem = matcherOut[i])) {
+
+										// Restore matcherIn since elem is not yet a final match
+										temp.push((matcherIn[i] = elem));
+									}
+								}
+								postFinder(null, (matcherOut = []), temp, xml);
+							}
+
+							// Move matched elements from seed to results to keep them synchronized
+							i = matcherOut.length;
+							while (i--) {
+								if ((elem = matcherOut[i]) &&
+									(temp = postFinder ? indexOf(seed, elem) : preMap[i]) > -1) {
+
+									seed[temp] = !(results[temp] = elem);
+								}
+							}
+						}
+
+						// Add elements to results, through postFinder if defined
+					} else {
+						matcherOut = condense(
+							matcherOut === results ?
+								matcherOut.splice(preexisting, matcherOut.length) :
+								matcherOut
+						);
+						if (postFinder) {
+							postFinder(null, results, matcherOut, xml);
+						} else {
+							push.apply(results, matcherOut);
+						}
+					}
+				});
+			}
+
+			function matcherFromTokens(tokens) {
+				var checkContext, matcher, j,
+					len = tokens.length,
+					leadingRelative = Expr.relative[tokens[0].type],
+					implicitRelative = leadingRelative || Expr.relative[" "],
+					i = leadingRelative ? 1 : 0,
+
+					// The foundational matcher ensures that elements are reachable from top-level context(s)
+					matchContext = addCombinator(function (elem) {
+						return elem === checkContext;
+					}, implicitRelative, true),
+					matchAnyContext = addCombinator(function (elem) {
+						return indexOf(checkContext, elem) > -1;
+					}, implicitRelative, true),
+					matchers = [function (elem, context, xml) {
+						var ret = (!leadingRelative && (xml || context !== outermostContext)) || (
+							(checkContext = context).nodeType ?
+								matchContext(elem, context, xml) :
+								matchAnyContext(elem, context, xml));
+
+						// Avoid hanging onto element (issue #299)
+						checkContext = null;
+						return ret;
+					}];
+
+				for (; i < len; i++) {
+					if ((matcher = Expr.relative[tokens[i].type])) {
+						matchers = [addCombinator(elementMatcher(matchers), matcher)];
+					} else {
+						matcher = Expr.filter[tokens[i].type].apply(null, tokens[i].matches);
+
+						// Return special upon seeing a positional matcher
+						if (matcher[expando]) {
+
+							// Find the next relative operator (if any) for proper handling
+							j = ++i;
+							for (; j < len; j++) {
+								if (Expr.relative[tokens[j].type]) {
+									break;
+								}
+							}
+							return setMatcher(
+								i > 1 && elementMatcher(matchers),
+								i > 1 && toSelector(
+
+									// If the preceding token was a descendant combinator, insert an implicit any-element `*`
+									tokens
+										.slice(0, i - 1)
+										.concat({ value: tokens[i - 2].type === " " ? "*" : "" })
+								).replace(rtrim, "$1"),
+								matcher,
+								i < j && matcherFromTokens(tokens.slice(i, j)),
+								j < len && matcherFromTokens((tokens = tokens.slice(j))),
+								j < len && toSelector(tokens)
+							);
+						}
+						matchers.push(matcher);
+					}
+				}
+
+				return elementMatcher(matchers);
+			}
+
+			function matcherFromGroupMatchers(elementMatchers, setMatchers) {
+				var bySet = setMatchers.length > 0,
+					byElement = elementMatchers.length > 0,
+					superMatcher = function (seed, context, xml, results, outermost) {
+						var elem, j, matcher,
+							matchedCount = 0,
+							i = "0",
+							unmatched = seed && [],
+							setMatched = [],
+							contextBackup = outermostContext,
+
+							// We must always have either seed elements or outermost context
+							elems = seed || byElement && Expr.find["TAG"]("*", outermost),
+
+							// Use integer dirruns iff this is the outermost matcher
+							dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1),
+							len = elems.length;
+
+						if (outermost) {
+
+							// Support: IE 11+, Edge 17 - 18+
+							// IE/Edge sometimes throw a "Permission denied" error when strict-comparing
+							// two documents; shallow comparisons work.
+							// eslint-disable-next-line eqeqeq
+							outermostContext = context == document || context || outermost;
+						}
+
+						// Add elements passing elementMatchers directly to results
+						// Support: IE<9, Safari
+						// Tolerate NodeList properties (IE: "length"; Safari: <number>) matching elements by id
+						for (; i !== len && (elem = elems[i]) != null; i++) {
+							if (byElement && elem) {
+								j = 0;
+
+								// Support: IE 11+, Edge 17 - 18+
+								// IE/Edge sometimes throw a "Permission denied" error when strict-comparing
+								// two documents; shallow comparisons work.
+								// eslint-disable-next-line eqeqeq
+								if (!context && elem.ownerDocument != document) {
+									setDocument(elem);
+									xml = !documentIsHTML;
+								}
+								while ((matcher = elementMatchers[j++])) {
+									if (matcher(elem, context || document, xml)) {
+										results.push(elem);
+										break;
+									}
+								}
+								if (outermost) {
+									dirruns = dirrunsUnique;
+								}
+							}
+
+							// Track unmatched elements for set filters
+							if (bySet) {
+
+								// They will have gone through all possible matchers
+								if ((elem = !matcher && elem)) {
+									matchedCount--;
+								}
+
+								// Lengthen the array for every element, matched or not
+								if (seed) {
+									unmatched.push(elem);
+								}
+							}
+						}
+
+						// `i` is now the count of elements visited above, and adding it to `matchedCount`
+						// makes the latter nonnegative.
+						matchedCount += i;
+
+						// Apply set filters to unmatched elements
+						// NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount`
+						// equals `i`), unless we didn't visit _any_ elements in the above loop because we have
+						// no element matchers and no seed.
+						// Incrementing an initially-string "0" `i` allows `i` to remain a string only in that
+						// case, which will result in a "00" `matchedCount` that differs from `i` but is also
+						// numerically zero.
+						if (bySet && i !== matchedCount) {
+							j = 0;
+							while ((matcher = setMatchers[j++])) {
+								matcher(unmatched, setMatched, context, xml);
+							}
+
+							if (seed) {
+
+								// Reintegrate element matches to eliminate the need for sorting
+								if (matchedCount > 0) {
+									while (i--) {
+										if (!(unmatched[i] || setMatched[i])) {
+											setMatched[i] = pop.call(results);
+										}
+									}
+								}
+
+								// Discard index placeholder values to get only actual matches
+								setMatched = condense(setMatched);
+							}
+
+							// Add matches to results
+							push.apply(results, setMatched);
+
+							// Seedless set matches succeeding multiple successful matchers stipulate sorting
+							if (outermost && !seed && setMatched.length > 0 &&
+								(matchedCount + setMatchers.length) > 1) {
+
+								Sizzle.uniqueSort(results);
+							}
+						}
+
+						// Override manipulation of globals by nested matchers
+						if (outermost) {
+							dirruns = dirrunsUnique;
+							outermostContext = contextBackup;
+						}
+
+						return unmatched;
+					};
+
+				return bySet ?
+					markFunction(superMatcher) :
+					superMatcher;
+			}
+
+			compile = Sizzle.compile = function (selector, match /* Internal Use Only */) {
+				var i,
+					setMatchers = [],
+					elementMatchers = [],
+					cached = compilerCache[selector + " "];
+
+				if (!cached) {
+
+					// Generate a function of recursive functions that can be used to check each element
+					if (!match) {
+						match = tokenize(selector);
+					}
+					i = match.length;
+					while (i--) {
+						cached = matcherFromTokens(match[i]);
+						if (cached[expando]) {
+							setMatchers.push(cached);
+						} else {
+							elementMatchers.push(cached);
+						}
+					}
+
+					// Cache the compiled function
+					cached = compilerCache(
+						selector,
+						matcherFromGroupMatchers(elementMatchers, setMatchers)
+					);
+
+					// Save selector and tokenization
+					cached.selector = selector;
+				}
+				return cached;
+			};
+
+			/**
+			 * A low-level selection function that works with Sizzle's compiled
+			 *  selector functions
+			 * @param {String|Function} selector A selector or a pre-compiled
+			 *  selector function built with Sizzle.compile
+			 * @param {Element} context
+			 * @param {Array} [results]
+			 * @param {Array} [seed] A set of elements to match against
+			 */
+			select = Sizzle.select = function (selector, context, results, seed) {
+				var i, tokens, token, type, find,
+					compiled = typeof selector === "function" && selector,
+					match = !seed && tokenize((selector = compiled.selector || selector));
+
+				results = results || [];
+
+				// Try to minimize operations if there is only one selector in the list and no seed
+				// (the latter of which guarantees us context)
+				if (match.length === 1) {
+
+					// Reduce context if the leading compound selector is an ID
+					tokens = match[0] = match[0].slice(0);
+					if (tokens.length > 2 && (token = tokens[0]).type === "ID" &&
+						context.nodeType === 9 && documentIsHTML && Expr.relative[tokens[1].type]) {
+
+						context = (Expr.find["ID"](token.matches[0]
+							.replace(runescape, funescape), context) || [])[0];
+						if (!context) {
+							return results;
+
+							// Precompiled matchers will still verify ancestry, so step up a level
+						} else if (compiled) {
+							context = context.parentNode;
+						}
+
+						selector = selector.slice(tokens.shift().value.length);
+					}
+
+					// Fetch a seed set for right-to-left matching
+					i = matchExpr["needsContext"].test(selector) ? 0 : tokens.length;
+					while (i--) {
+						token = tokens[i];
+
+						// Abort if we hit a combinator
+						if (Expr.relative[(type = token.type)]) {
+							break;
+						}
+						if ((find = Expr.find[type])) {
+
+							// Search, expanding context for leading sibling combinators
+							if ((seed = find(
+								token.matches[0].replace(runescape, funescape),
+								rsibling.test(tokens[0].type) && testContext(context.parentNode) ||
+								context
+							))) {
+
+								// If seed is empty or no tokens remain, we can return early
+								tokens.splice(i, 1);
+								selector = seed.length && toSelector(tokens);
+								if (!selector) {
+									push.apply(results, seed);
+									return results;
+								}
+
+								break;
+							}
+						}
+					}
+				}
+
+				// Compile and execute a filtering function if one is not provided
+				// Provide `match` to avoid retokenization if we modified the selector above
+				(compiled || compile(selector, match))(
+					seed,
+					context,
+					!documentIsHTML,
+					results,
+					!context || rsibling.test(selector) && testContext(context.parentNode) || context
+				);
+				return results;
+			};
+
+			// One-time assignments
+
+			// Sort stability
+			support.sortStable = expando.split("").sort(sortOrder).join("") === expando;
+
+			// Support: Chrome 14-35+
+			// Always assume duplicates if they aren't passed to the comparison function
+			support.detectDuplicates = !!hasDuplicate;
+
+			// Initialize against the default document
+			setDocument();
+
+			// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27)
+			// Detached nodes confoundingly follow *each other*
+			support.sortDetached = assert(function (el) {
+
+				// Should return 1, but returns 4 (following)
+				return el.compareDocumentPosition(document.createElement("fieldset")) & 1;
+			});
+
+			// Support: IE<8
+			// Prevent attribute/property "interpolation"
+			// https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx
+			if (!assert(function (el) {
+				el.innerHTML = "<a href='#'></a>";
+				return el.firstChild.getAttribute("href") === "#";
+			})) {
+				addHandle("type|href|height|width", function (elem, name, isXML) {
+					if (!isXML) {
+						return elem.getAttribute(name, name.toLowerCase() === "type" ? 1 : 2);
+					}
+				});
+			}
+
+			// Support: IE<9
+			// Use defaultValue in place of getAttribute("value")
+			if (!support.attributes || !assert(function (el) {
+				el.innerHTML = "<input/>";
+				el.firstChild.setAttribute("value", "");
+				return el.firstChild.getAttribute("value") === "";
+			})) {
+				addHandle("value", function (elem, _name, isXML) {
+					if (!isXML && elem.nodeName.toLowerCase() === "input") {
+						return elem.defaultValue;
+					}
+				});
+			}
+
+			// Support: IE<9
+			// Use getAttributeNode to fetch booleans when getAttribute lies
+			if (!assert(function (el) {
+				return el.getAttribute("disabled") == null;
+			})) {
+				addHandle(booleans, function (elem, name, isXML) {
+					var val;
+					if (!isXML) {
+						return elem[name] === true ? name.toLowerCase() :
+							(val = elem.getAttributeNode(name)) && val.specified ?
+								val.value :
+								null;
+					}
+				});
+			}
+
+			return Sizzle;
+
+		})(window);
+
+
+
+	jQuery.find = Sizzle;
+	jQuery.expr = Sizzle.selectors;
+
+	// Deprecated
+	jQuery.expr[":"] = jQuery.expr.pseudos;
+	jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort;
+	jQuery.text = Sizzle.getText;
+	jQuery.isXMLDoc = Sizzle.isXML;
+	jQuery.contains = Sizzle.contains;
+	jQuery.escapeSelector = Sizzle.escape;
+
+
+
+
+	var dir = function (elem, dir, until) {
+		var matched = [],
+			truncate = until !== undefined;
+
+		while ((elem = elem[dir]) && elem.nodeType !== 9) {
+			if (elem.nodeType === 1) {
+				if (truncate && jQuery(elem).is(until)) {
+					break;
+				}
+				matched.push(elem);
+			}
+		}
+		return matched;
+	};
+
+
+	var siblings = function (n, elem) {
+		var matched = [];
+
+		for (; n; n = n.nextSibling) {
+			if (n.nodeType === 1 && n !== elem) {
+				matched.push(n);
+			}
+		}
+
+		return matched;
+	};
+
+
+	var rneedsContext = jQuery.expr.match.needsContext;
+
+
+
+	function nodeName(elem, name) {
+
+		return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();
+
+	};
+	var rsingleTag = (/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i);
+
+
+
+	// Implement the identical functionality for filter and not
+	function winnow(elements, qualifier, not) {
+		if (isFunction(qualifier)) {
+			return jQuery.grep(elements, function (elem, i) {
+				return !!qualifier.call(elem, i, elem) !== not;
+			});
+		}
+
+		// Single element
+		if (qualifier.nodeType) {
+			return jQuery.grep(elements, function (elem) {
+				return (elem === qualifier) !== not;
+			});
+		}
+
+		// Arraylike of elements (jQuery, arguments, Array)
+		if (typeof qualifier !== "string") {
+			return jQuery.grep(elements, function (elem) {
+				return (indexOf.call(qualifier, elem) > -1) !== not;
+			});
+		}
+
+		// Filtered directly for both simple and complex selectors
+		return jQuery.filter(qualifier, elements, not);
+	}
+
+	jQuery.filter = function (expr, elems, not) {
+		var elem = elems[0];
+
+		if (not) {
+			expr = ":not(" + expr + ")";
+		}
+
+		if (elems.length === 1 && elem.nodeType === 1) {
+			return jQuery.find.matchesSelector(elem, expr) ? [elem] : [];
+		}
+
+		return jQuery.find.matches(expr, jQuery.grep(elems, function (elem) {
+			return elem.nodeType === 1;
+		}));
+	};
+
+	jQuery.fn.extend({
+		find: function (selector) {
+			var i, ret,
+				len = this.length,
+				self = this;
+
+			if (typeof selector !== "string") {
+				return this.pushStack(jQuery(selector).filter(function () {
+					for (i = 0; i < len; i++) {
+						if (jQuery.contains(self[i], this)) {
+							return true;
+						}
+					}
+				}));
+			}
+
+			ret = this.pushStack([]);
+
+			for (i = 0; i < len; i++) {
+				jQuery.find(selector, self[i], ret);
+			}
+
+			return len > 1 ? jQuery.uniqueSort(ret) : ret;
+		},
+		filter: function (selector) {
+			return this.pushStack(winnow(this, selector || [], false));
+		},
+		not: function (selector) {
+			return this.pushStack(winnow(this, selector || [], true));
+		},
+		is: function (selector) {
+			return !!winnow(
+				this,
+
+				// If this is a positional/relative selector, check membership in the returned set
+				// so $("p:first").is("p:last") won't return true for a doc with two "p".
+				typeof selector === "string" && rneedsContext.test(selector) ?
+					jQuery(selector) :
+					selector || [],
+				false
+			).length;
+		}
+	});
+
+
+	// Initialize a jQuery object
+
+
+	// A central reference to the root jQuery(document)
+	var rootjQuery,
+
+		// A simple way to check for HTML strings
+		// Prioritize #id over <tag> to avoid XSS via location.hash (#9521)
+		// Strict HTML recognition (#11290: must start with <)
+		// Shortcut simple #id case for speed
+		rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,
+
+		init = jQuery.fn.init = function (selector, context, root) {
+			var match, elem;
+
+			// HANDLE: $(""), $(null), $(undefined), $(false)
+			if (!selector) {
+				return this;
+			}
+
+			// Method init() accepts an alternate rootjQuery
+			// so migrate can support jQuery.sub (gh-2101)
+			root = root || rootjQuery;
+
+			// Handle HTML strings
+			if (typeof selector === "string") {
+				if (selector[0] === "<" &&
+					selector[selector.length - 1] === ">" &&
+					selector.length >= 3) {
+
+					// Assume that strings that start and end with <> are HTML and skip the regex check
+					match = [null, selector, null];
+
+				} else {
+					match = rquickExpr.exec(selector);
+				}
+
+				// Match html or make sure no context is specified for #id
+				if (match && (match[1] || !context)) {
+
+					// HANDLE: $(html) -> $(array)
+					if (match[1]) {
+						context = context instanceof jQuery ? context[0] : context;
+
+						// Option to run scripts is true for back-compat
+						// Intentionally let the error be thrown if parseHTML is not present
+						jQuery.merge(this, jQuery.parseHTML(
+							match[1],
+							context && context.nodeType ? context.ownerDocument || context : document,
+							true
+						));
+
+						// HANDLE: $(html, props)
+						if (rsingleTag.test(match[1]) && jQuery.isPlainObject(context)) {
+							for (match in context) {
+
+								// Properties of context are called as methods if possible
+								if (isFunction(this[match])) {
+									this[match](context[match]);
+
+									// ...and otherwise set as attributes
+								} else {
+									this.attr(match, context[match]);
+								}
+							}
+						}
+
+						return this;
+
+						// HANDLE: $(#id)
+					} else {
+						elem = document.getElementById(match[2]);
+
+						if (elem) {
+
+							// Inject the element directly into the jQuery object
+							this[0] = elem;
+							this.length = 1;
+						}
+						return this;
+					}
+
+					// HANDLE: $(expr, $(...))
+				} else if (!context || context.jquery) {
+					return (context || root).find(selector);
+
+					// HANDLE: $(expr, context)
+					// (which is just equivalent to: $(context).find(expr)
+				} else {
+					return this.constructor(context).find(selector);
+				}
+
+				// HANDLE: $(DOMElement)
+			} else if (selector.nodeType) {
+				this[0] = selector;
+				this.length = 1;
+				return this;
+
+				// HANDLE: $(function)
+				// Shortcut for document ready
+			} else if (isFunction(selector)) {
+				return root.ready !== undefined ?
+					root.ready(selector) :
+
+					// Execute immediately if ready is not present
+					selector(jQuery);
+			}
+
+			return jQuery.makeArray(selector, this);
+		};
+
+	// Give the init function the jQuery prototype for later instantiation
+	init.prototype = jQuery.fn;
+
+	// Initialize central reference
+	rootjQuery = jQuery(document);
+
+
+	var rparentsprev = /^(?:parents|prev(?:Until|All))/,
+
+		// Methods guaranteed to produce a unique set when starting from a unique set
+		guaranteedUnique = {
+			children: true,
+			contents: true,
+			next: true,
+			prev: true
+		};
+
+	jQuery.fn.extend({
+		has: function (target) {
+			var targets = jQuery(target, this),
+				l = targets.length;
+
+			return this.filter(function () {
+				var i = 0;
+				for (; i < l; i++) {
+					if (jQuery.contains(this, targets[i])) {
+						return true;
+					}
+				}
+			});
+		},
+
+		closest: function (selectors, context) {
+			var cur,
+				i = 0,
+				l = this.length,
+				matched = [],
+				targets = typeof selectors !== "string" && jQuery(selectors);
+
+			// Positional selectors never match, since there's no _selection_ context
+			if (!rneedsContext.test(selectors)) {
+				for (; i < l; i++) {
+					for (cur = this[i]; cur && cur !== context; cur = cur.parentNode) {
+
+						// Always skip document fragments
+						if (cur.nodeType < 11 && (targets ?
+							targets.index(cur) > -1 :
+
+							// Don't pass non-elements to Sizzle
+							cur.nodeType === 1 &&
+							jQuery.find.matchesSelector(cur, selectors))) {
+
+							matched.push(cur);
+							break;
+						}
+					}
+				}
+			}
+
+			return this.pushStack(matched.length > 1 ? jQuery.uniqueSort(matched) : matched);
+		},
+
+		// Determine the position of an element within the set
+		index: function (elem) {
+
+			// No argument, return index in parent
+			if (!elem) {
+				return (this[0] && this[0].parentNode) ? this.first().prevAll().length : -1;
+			}
+
+			// Index in selector
+			if (typeof elem === "string") {
+				return indexOf.call(jQuery(elem), this[0]);
+			}
+
+			// Locate the position of the desired element
+			return indexOf.call(this,
+
+				// If it receives a jQuery object, the first element is used
+				elem.jquery ? elem[0] : elem
+			);
+		},
+
+		add: function (selector, context) {
+			return this.pushStack(
+				jQuery.uniqueSort(
+					jQuery.merge(this.get(), jQuery(selector, context))
+				)
+			);
+		},
+
+		addBack: function (selector) {
+			return this.add(selector == null ?
+				this.prevObject : this.prevObject.filter(selector)
+			);
+		}
+	});
+
+	function sibling(cur, dir) {
+		while ((cur = cur[dir]) && cur.nodeType !== 1) { }
+		return cur;
+	}
+
+	jQuery.each({
+		parent: function (elem) {
+			var parent = elem.parentNode;
+			return parent && parent.nodeType !== 11 ? parent : null;
+		},
+		parents: function (elem) {
+			return dir(elem, "parentNode");
+		},
+		parentsUntil: function (elem, _i, until) {
+			return dir(elem, "parentNode", until);
+		},
+		next: function (elem) {
+			return sibling(elem, "nextSibling");
+		},
+		prev: function (elem) {
+			return sibling(elem, "previousSibling");
+		},
+		nextAll: function (elem) {
+			return dir(elem, "nextSibling");
+		},
+		prevAll: function (elem) {
+			return dir(elem, "previousSibling");
+		},
+		nextUntil: function (elem, _i, until) {
+			return dir(elem, "nextSibling", until);
+		},
+		prevUntil: function (elem, _i, until) {
+			return dir(elem, "previousSibling", until);
+		},
+		siblings: function (elem) {
+			return siblings((elem.parentNode || {}).firstChild, elem);
+		},
+		children: function (elem) {
+			return siblings(elem.firstChild);
+		},
+		contents: function (elem) {
+			if (elem.contentDocument != null &&
+
+				// Support: IE 11+
+				// <object> elements with no `data` attribute has an object
+				// `contentDocument` with a `null` prototype.
+				getProto(elem.contentDocument)) {
+
+				return elem.contentDocument;
+			}
+
+			// Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only
+			// Treat the template element as a regular one in browsers that
+			// don't support it.
+			if (nodeName(elem, "template")) {
+				elem = elem.content || elem;
+			}
+
+			return jQuery.merge([], elem.childNodes);
+		}
+	}, function (name, fn) {
+		jQuery.fn[name] = function (until, selector) {
+			var matched = jQuery.map(this, fn, until);
+
+			if (name.slice(-5) !== "Until") {
+				selector = until;
+			}
+
+			if (selector && typeof selector === "string") {
+				matched = jQuery.filter(selector, matched);
+			}
+
+			if (this.length > 1) {
+
+				// Remove duplicates
+				if (!guaranteedUnique[name]) {
+					jQuery.uniqueSort(matched);
+				}
+
+				// Reverse order for parents* and prev-derivatives
+				if (rparentsprev.test(name)) {
+					matched.reverse();
+				}
+			}
+
+			return this.pushStack(matched);
+		};
+	});
+	var rnothtmlwhite = (/[^\x20\t\r\n\f]+/g);
+
+
+
+	// Convert String-formatted options into Object-formatted ones
+	function createOptions(options) {
+		var object = {};
+		jQuery.each(options.match(rnothtmlwhite) || [], function (_, flag) {
+			object[flag] = true;
+		});
+		return object;
+	}
+
+	/*
+	 * Create a callback list using the following parameters:
+	 *
+	 *	options: an optional list of space-separated options that will change how
+	 *			the callback list behaves or a more traditional option object
+	 *
+	 * By default a callback list will act like an event callback list and can be
+	 * "fired" multiple times.
+	 *
+	 * Possible options:
+	 *
+	 *	once:			will ensure the callback list can only be fired once (like a Deferred)
+	 *
+	 *	memory:			will keep track of previous values and will call any callback added
+	 *					after the list has been fired right away with the latest "memorized"
+	 *					values (like a Deferred)
+	 *
+	 *	unique:			will ensure a callback can only be added once (no duplicate in the list)
+	 *
+	 *	stopOnFalse:	interrupt callings when a callback returns false
+	 *
+	 */
+	jQuery.Callbacks = function (options) {
+
+		// Convert options from String-formatted to Object-formatted if needed
+		// (we check in cache first)
+		options = typeof options === "string" ?
+			createOptions(options) :
+			jQuery.extend({}, options);
+
+		var // Flag to know if list is currently firing
+			firing,
+
+			// Last fire value for non-forgettable lists
+			memory,
+
+			// Flag to know if list was already fired
+			fired,
+
+			// Flag to prevent firing
+			locked,
+
+			// Actual callback list
+			list = [],
+
+			// Queue of execution data for repeatable lists
+			queue = [],
+
+			// Index of currently firing callback (modified by add/remove as needed)
+			firingIndex = -1,
+
+			// Fire callbacks
+			fire = function () {
+
+				// Enforce single-firing
+				locked = locked || options.once;
+
+				// Execute callbacks for all pending executions,
+				// respecting firingIndex overrides and runtime changes
+				fired = firing = true;
+				for (; queue.length; firingIndex = -1) {
+					memory = queue.shift();
+					while (++firingIndex < list.length) {
+
+						// Run callback and check for early termination
+						if (list[firingIndex].apply(memory[0], memory[1]) === false &&
+							options.stopOnFalse) {
+
+							// Jump to end and forget the data so .add doesn't re-fire
+							firingIndex = list.length;
+							memory = false;
+						}
+					}
+				}
+
+				// Forget the data if we're done with it
+				if (!options.memory) {
+					memory = false;
+				}
+
+				firing = false;
+
+				// Clean up if we're done firing for good
+				if (locked) {
+
+					// Keep an empty list if we have data for future add calls
+					if (memory) {
+						list = [];
+
+						// Otherwise, this object is spent
+					} else {
+						list = "";
+					}
+				}
+			},
+
+			// Actual Callbacks object
+			self = {
+
+				// Add a callback or a collection of callbacks to the list
+				add: function () {
+					if (list) {
+
+						// If we have memory from a past run, we should fire after adding
+						if (memory && !firing) {
+							firingIndex = list.length - 1;
+							queue.push(memory);
+						}
+
+						(function add(args) {
+							jQuery.each(args, function (_, arg) {
+								if (isFunction(arg)) {
+									if (!options.unique || !self.has(arg)) {
+										list.push(arg);
+									}
+								} else if (arg && arg.length && toType(arg) !== "string") {
+
+									// Inspect recursively
+									add(arg);
+								}
+							});
+						})(arguments);
+
+						if (memory && !firing) {
+							fire();
+						}
+					}
+					return this;
+				},
+
+				// Remove a callback from the list
+				remove: function () {
+					jQuery.each(arguments, function (_, arg) {
+						var index;
+						while ((index = jQuery.inArray(arg, list, index)) > -1) {
+							list.splice(index, 1);
+
+							// Handle firing indexes
+							if (index <= firingIndex) {
+								firingIndex--;
+							}
+						}
+					});
+					return this;
+				},
+
+				// Check if a given callback is in the list.
+				// If no argument is given, return whether or not list has callbacks attached.
+				has: function (fn) {
+					return fn ?
+						jQuery.inArray(fn, list) > -1 :
+						list.length > 0;
+				},
+
+				// Remove all callbacks from the list
+				empty: function () {
+					if (list) {
+						list = [];
+					}
+					return this;
+				},
+
+				// Disable .fire and .add
+				// Abort any current/pending executions
+				// Clear all callbacks and values
+				disable: function () {
+					locked = queue = [];
+					list = memory = "";
+					return this;
+				},
+				disabled: function () {
+					return !list;
+				},
+
+				// Disable .fire
+				// Also disable .add unless we have memory (since it would have no effect)
+				// Abort any pending executions
+				lock: function () {
+					locked = queue = [];
+					if (!memory && !firing) {
+						list = memory = "";
+					}
+					return this;
+				},
+				locked: function () {
+					return !!locked;
+				},
+
+				// Call all callbacks with the given context and arguments
+				fireWith: function (context, args) {
+					if (!locked) {
+						args = args || [];
+						args = [context, args.slice ? args.slice() : args];
+						queue.push(args);
+						if (!firing) {
+							fire();
+						}
+					}
+					return this;
+				},
+
+				// Call all the callbacks with the given arguments
+				fire: function () {
+					self.fireWith(this, arguments);
+					return this;
+				},
+
+				// To know if the callbacks have already been called at least once
+				fired: function () {
+					return !!fired;
+				}
+			};
+
+		return self;
+	};
+
+
+	function Identity(v) {
+		return v;
+	}
+	function Thrower(ex) {
+		throw ex;
+	}
+
+	function adoptValue(value, resolve, reject, noValue) {
+		var method;
+
+		try {
+
+			// Check for promise aspect first to privilege synchronous behavior
+			if (value && isFunction((method = value.promise))) {
+				method.call(value).done(resolve).fail(reject);
+
+				// Other thenables
+			} else if (value && isFunction((method = value.then))) {
+				method.call(value, resolve, reject);
+
+				// Other non-thenables
+			} else {
+
+				// Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer:
+				// * false: [ value ].slice( 0 ) => resolve( value )
+				// * true: [ value ].slice( 1 ) => resolve()
+				resolve.apply(undefined, [value].slice(noValue));
+			}
+
+			// For Promises/A+, convert exceptions into rejections
+			// Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in
+			// Deferred#then to conditionally suppress rejection.
+		} catch (value) {
+
+			// Support: Android 4.0 only
+			// Strict mode functions invoked without .call/.apply get global-object context
+			reject.apply(undefined, [value]);
+		}
+	}
+
+	jQuery.extend({
+
+		Deferred: function (func) {
+			var tuples = [
+
+				// action, add listener, callbacks,
+				// ... .then handlers, argument index, [final state]
+				["notify", "progress", jQuery.Callbacks("memory"),
+					jQuery.Callbacks("memory"), 2],
+				["resolve", "done", jQuery.Callbacks("once memory"),
+					jQuery.Callbacks("once memory"), 0, "resolved"],
+				["reject", "fail", jQuery.Callbacks("once memory"),
+					jQuery.Callbacks("once memory"), 1, "rejected"]
+			],
+				state = "pending",
+				promise = {
+					state: function () {
+						return state;
+					},
+					always: function () {
+						deferred.done(arguments).fail(arguments);
+						return this;
+					},
+					"catch": function (fn) {
+						return promise.then(null, fn);
+					},
+
+					// Keep pipe for back-compat
+					pipe: function ( /* fnDone, fnFail, fnProgress */) {
+						var fns = arguments;
+
+						return jQuery.Deferred(function (newDefer) {
+							jQuery.each(tuples, function (_i, tuple) {
+
+								// Map tuples (progress, done, fail) to arguments (done, fail, progress)
+								var fn = isFunction(fns[tuple[4]]) && fns[tuple[4]];
+
+								// deferred.progress(function() { bind to newDefer or newDefer.notify })
+								// deferred.done(function() { bind to newDefer or newDefer.resolve })
+								// deferred.fail(function() { bind to newDefer or newDefer.reject })
+								deferred[tuple[1]](function () {
+									var returned = fn && fn.apply(this, arguments);
+									if (returned && isFunction(returned.promise)) {
+										returned.promise()
+											.progress(newDefer.notify)
+											.done(newDefer.resolve)
+											.fail(newDefer.reject);
+									} else {
+										newDefer[tuple[0] + "With"](
+											this,
+											fn ? [returned] : arguments
+										);
+									}
+								});
+							});
+							fns = null;
+						}).promise();
+					},
+					then: function (onFulfilled, onRejected, onProgress) {
+						var maxDepth = 0;
+						function resolve(depth, deferred, handler, special) {
+							return function () {
+								var that = this,
+									args = arguments,
+									mightThrow = function () {
+										var returned, then;
+
+										// Support: Promises/A+ section 2.3.3.3.3
+										// https://promisesaplus.com/#point-59
+										// Ignore double-resolution attempts
+										if (depth < maxDepth) {
+											return;
+										}
+
+										returned = handler.apply(that, args);
+
+										// Support: Promises/A+ section 2.3.1
+										// https://promisesaplus.com/#point-48
+										if (returned === deferred.promise()) {
+											throw new TypeError("Thenable self-resolution");
+										}
+
+										// Support: Promises/A+ sections 2.3.3.1, 3.5
+										// https://promisesaplus.com/#point-54
+										// https://promisesaplus.com/#point-75
+										// Retrieve `then` only once
+										then = returned &&
+
+											// Support: Promises/A+ section 2.3.4
+											// https://promisesaplus.com/#point-64
+											// Only check objects and functions for thenability
+											(typeof returned === "object" ||
+												typeof returned === "function") &&
+											returned.then;
+
+										// Handle a returned thenable
+										if (isFunction(then)) {
+
+											// Special processors (notify) just wait for resolution
+											if (special) {
+												then.call(
+													returned,
+													resolve(maxDepth, deferred, Identity, special),
+													resolve(maxDepth, deferred, Thrower, special)
+												);
+
+												// Normal processors (resolve) also hook into progress
+											} else {
+
+												// ...and disregard older resolution values
+												maxDepth++;
+
+												then.call(
+													returned,
+													resolve(maxDepth, deferred, Identity, special),
+													resolve(maxDepth, deferred, Thrower, special),
+													resolve(maxDepth, deferred, Identity,
+														deferred.notifyWith)
+												);
+											}
+
+											// Handle all other returned values
+										} else {
+
+											// Only substitute handlers pass on context
+											// and multiple values (non-spec behavior)
+											if (handler !== Identity) {
+												that = undefined;
+												args = [returned];
+											}
+
+											// Process the value(s)
+											// Default process is resolve
+											(special || deferred.resolveWith)(that, args);
+										}
+									},
+
+									// Only normal processors (resolve) catch and reject exceptions
+									process = special ?
+										mightThrow :
+										function () {
+											try {
+												mightThrow();
+											} catch (e) {
+
+												if (jQuery.Deferred.exceptionHook) {
+													jQuery.Deferred.exceptionHook(e,
+														process.stackTrace);
+												}
+
+												// Support: Promises/A+ section 2.3.3.3.4.1
+												// https://promisesaplus.com/#point-61
+												// Ignore post-resolution exceptions
+												if (depth + 1 >= maxDepth) {
+
+													// Only substitute handlers pass on context
+													// and multiple values (non-spec behavior)
+													if (handler !== Thrower) {
+														that = undefined;
+														args = [e];
+													}
+
+													deferred.rejectWith(that, args);
+												}
+											}
+										};
+
+								// Support: Promises/A+ section 2.3.3.3.1
+								// https://promisesaplus.com/#point-57
+								// Re-resolve promises immediately to dodge false rejection from
+								// subsequent errors
+								if (depth) {
+									process();
+								} else {
+
+									// Call an optional hook to record the stack, in case of exception
+									// since it's otherwise lost when execution goes async
+									if (jQuery.Deferred.getStackHook) {
+										process.stackTrace = jQuery.Deferred.getStackHook();
+									}
+									window.setTimeout(process);
+								}
+							};
+						}
+
+						return jQuery.Deferred(function (newDefer) {
+
+							// progress_handlers.add( ... )
+							tuples[0][3].add(
+								resolve(
+									0,
+									newDefer,
+									isFunction(onProgress) ?
+										onProgress :
+										Identity,
+									newDefer.notifyWith
+								)
+							);
+
+							// fulfilled_handlers.add( ... )
+							tuples[1][3].add(
+								resolve(
+									0,
+									newDefer,
+									isFunction(onFulfilled) ?
+										onFulfilled :
+										Identity
+								)
+							);
+
+							// rejected_handlers.add( ... )
+							tuples[2][3].add(
+								resolve(
+									0,
+									newDefer,
+									isFunction(onRejected) ?
+										onRejected :
+										Thrower
+								)
+							);
+						}).promise();
+					},
+
+					// Get a promise for this deferred
+					// If obj is provided, the promise aspect is added to the object
+					promise: function (obj) {
+						return obj != null ? jQuery.extend(obj, promise) : promise;
+					}
+				},
+				deferred = {};
+
+			// Add list-specific methods
+			jQuery.each(tuples, function (i, tuple) {
+				var list = tuple[2],
+					stateString = tuple[5];
+
+				// promise.progress = list.add
+				// promise.done = list.add
+				// promise.fail = list.add
+				promise[tuple[1]] = list.add;
+
+				// Handle state
+				if (stateString) {
+					list.add(
+						function () {
+
+							// state = "resolved" (i.e., fulfilled)
+							// state = "rejected"
+							state = stateString;
+						},
+
+						// rejected_callbacks.disable
+						// fulfilled_callbacks.disable
+						tuples[3 - i][2].disable,
+
+						// rejected_handlers.disable
+						// fulfilled_handlers.disable
+						tuples[3 - i][3].disable,
+
+						// progress_callbacks.lock
+						tuples[0][2].lock,
+
+						// progress_handlers.lock
+						tuples[0][3].lock
+					);
+				}
+
+				// progress_handlers.fire
+				// fulfilled_handlers.fire
+				// rejected_handlers.fire
+				list.add(tuple[3].fire);
+
+				// deferred.notify = function() { deferred.notifyWith(...) }
+				// deferred.resolve = function() { deferred.resolveWith(...) }
+				// deferred.reject = function() { deferred.rejectWith(...) }
+				deferred[tuple[0]] = function () {
+					deferred[tuple[0] + "With"](this === deferred ? undefined : this, arguments);
+					return this;
+				};
+
+				// deferred.notifyWith = list.fireWith
+				// deferred.resolveWith = list.fireWith
+				// deferred.rejectWith = list.fireWith
+				deferred[tuple[0] + "With"] = list.fireWith;
+			});
+
+			// Make the deferred a promise
+			promise.promise(deferred);
+
+			// Call given func if any
+			if (func) {
+				func.call(deferred, deferred);
+			}
+
+			// All done!
+			return deferred;
+		},
+
+		// Deferred helper
+		when: function (singleValue) {
+			var
+
+				// count of uncompleted subordinates
+				remaining = arguments.length,
+
+				// count of unprocessed arguments
+				i = remaining,
+
+				// subordinate fulfillment data
+				resolveContexts = Array(i),
+				resolveValues = slice.call(arguments),
+
+				// the master Deferred
+				master = jQuery.Deferred(),
+
+				// subordinate callback factory
+				updateFunc = function (i) {
+					return function (value) {
+						resolveContexts[i] = this;
+						resolveValues[i] = arguments.length > 1 ? slice.call(arguments) : value;
+						if (!(--remaining)) {
+							master.resolveWith(resolveContexts, resolveValues);
+						}
+					};
+				};
+
+			// Single- and empty arguments are adopted like Promise.resolve
+			if (remaining <= 1) {
+				adoptValue(singleValue, master.done(updateFunc(i)).resolve, master.reject,
+					!remaining);
+
+				// Use .then() to unwrap secondary thenables (cf. gh-3000)
+				if (master.state() === "pending" ||
+					isFunction(resolveValues[i] && resolveValues[i].then)) {
+
+					return master.then();
+				}
+			}
+
+			// Multiple arguments are aggregated like Promise.all array elements
+			while (i--) {
+				adoptValue(resolveValues[i], updateFunc(i), master.reject);
+			}
+
+			return master.promise();
+		}
+	});
+
+
+	// These usually indicate a programmer mistake during development,
+	// warn about them ASAP rather than swallowing them by default.
+	var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;
+
+	jQuery.Deferred.exceptionHook = function (error, stack) {
+
+		// Support: IE 8 - 9 only
+		// Console exists when dev tools are open, which can happen at any time
+		if (window.console && window.console.warn && error && rerrorNames.test(error.name)) {
+			window.console.warn("jQuery.Deferred exception: " + error.message, error.stack, stack);
+		}
+	};
+
+
+
+
+	jQuery.readyException = function (error) {
+		window.setTimeout(function () {
+			throw error;
+		});
+	};
+
+
+
+
+	// The deferred used on DOM ready
+	var readyList = jQuery.Deferred();
+
+	jQuery.fn.ready = function (fn) {
+
+		readyList
+			.then(fn)
+
+			// Wrap jQuery.readyException in a function so that the lookup
+			// happens at the time of error handling instead of callback
+			// registration.
+			.catch(function (error) {
+				jQuery.readyException(error);
+			});
+
+		return this;
+	};
+
+	jQuery.extend({
+
+		// Is the DOM ready to be used? Set to true once it occurs.
+		isReady: false,
+
+		// A counter to track how many items to wait for before
+		// the ready event fires. See #6781
+		readyWait: 1,
+
+		// Handle when the DOM is ready
+		ready: function (wait) {
+
+			// Abort if there are pending holds or we're already ready
+			if (wait === true ? --jQuery.readyWait : jQuery.isReady) {
+				return;
+			}
+
+			// Remember that the DOM is ready
+			jQuery.isReady = true;
+
+			// If a normal DOM Ready event fired, decrement, and wait if need be
+			if (wait !== true && --jQuery.readyWait > 0) {
+				return;
+			}
+
+			// If there are functions bound, to execute
+			readyList.resolveWith(document, [jQuery]);
+		}
+	});
+
+	jQuery.ready.then = readyList.then;
+
+	// The ready event handler and self cleanup method
+	function completed() {
+		document.removeEventListener("DOMContentLoaded", completed);
+		window.removeEventListener("load", completed);
+		jQuery.ready();
+	}
+
+	// Catch cases where $(document).ready() is called
+	// after the browser event has already occurred.
+	// Support: IE <=9 - 10 only
+	// Older IE sometimes signals "interactive" too soon
+	if (document.readyState === "complete" ||
+		(document.readyState !== "loading" && !document.documentElement.doScroll)) {
+
+		// Handle it asynchronously to allow scripts the opportunity to delay ready
+		window.setTimeout(jQuery.ready);
+
+	} else {
+
+		// Use the handy event callback
+		document.addEventListener("DOMContentLoaded", completed);
+
+		// A fallback to window.onload, that will always work
+		window.addEventListener("load", completed);
+	}
+
+
+
+
+	// Multifunctional method to get and set values of a collection
+	// The value/s can optionally be executed if it's a function
+	var access = function (elems, fn, key, value, chainable, emptyGet, raw) {
+		var i = 0,
+			len = elems.length,
+			bulk = key == null;
+
+		// Sets many values
+		if (toType(key) === "object") {
+			chainable = true;
+			for (i in key) {
+				access(elems, fn, i, key[i], true, emptyGet, raw);
+			}
+
+			// Sets one value
+		} else if (value !== undefined) {
+			chainable = true;
+
+			if (!isFunction(value)) {
+				raw = true;
+			}
+
+			if (bulk) {
+
+				// Bulk operations run against the entire set
+				if (raw) {
+					fn.call(elems, value);
+					fn = null;
+
+					// ...except when executing function values
+				} else {
+					bulk = fn;
+					fn = function (elem, _key, value) {
+						return bulk.call(jQuery(elem), value);
+					};
+				}
+			}
+
+			if (fn) {
+				for (; i < len; i++) {
+					fn(
+						elems[i], key, raw ?
+						value :
+						value.call(elems[i], i, fn(elems[i], key))
+					);
+				}
+			}
+		}
+
+		if (chainable) {
+			return elems;
+		}
+
+		// Gets
+		if (bulk) {
+			return fn.call(elems);
+		}
+
+		return len ? fn(elems[0], key) : emptyGet;
+	};
+
+
+	// Matches dashed string for camelizing
+	var rmsPrefix = /^-ms-/,
+		rdashAlpha = /-([a-z])/g;
+
+	// Used by camelCase as callback to replace()
+	function fcamelCase(_all, letter) {
+		return letter.toUpperCase();
+	}
+
+	// Convert dashed to camelCase; used by the css and data modules
+	// Support: IE <=9 - 11, Edge 12 - 15
+	// Microsoft forgot to hump their vendor prefix (#9572)
+	function camelCase(string) {
+		return string.replace(rmsPrefix, "ms-").replace(rdashAlpha, fcamelCase);
+	}
+	var acceptData = function (owner) {
+
+		// Accepts only:
+		//  - Node
+		//    - Node.ELEMENT_NODE
+		//    - Node.DOCUMENT_NODE
+		//  - Object
+		//    - Any
+		return owner.nodeType === 1 || owner.nodeType === 9 || !(+owner.nodeType);
+	};
+
+
+
+
+	function Data() {
+		this.expando = jQuery.expando + Data.uid++;
+	}
+
+	Data.uid = 1;
+
+	Data.prototype = {
+
+		cache: function (owner) {
+
+			// Check if the owner object already has a cache
+			var value = owner[this.expando];
+
+			// If not, create one
+			if (!value) {
+				value = {};
+
+				// We can accept data for non-element nodes in modern browsers,
+				// but we should not, see #8335.
+				// Always return an empty object.
+				if (acceptData(owner)) {
+
+					// If it is a node unlikely to be stringify-ed or looped over
+					// use plain assignment
+					if (owner.nodeType) {
+						owner[this.expando] = value;
+
+						// Otherwise secure it in a non-enumerable property
+						// configurable must be true to allow the property to be
+						// deleted when data is removed
+					} else {
+						Object.defineProperty(owner, this.expando, {
+							value: value,
+							configurable: true
+						});
+					}
+				}
+			}
+
+			return value;
+		},
+		set: function (owner, data, value) {
+			var prop,
+				cache = this.cache(owner);
+
+			// Handle: [ owner, key, value ] args
+			// Always use camelCase key (gh-2257)
+			if (typeof data === "string") {
+				cache[camelCase(data)] = value;
+
+				// Handle: [ owner, { properties } ] args
+			} else {
+
+				// Copy the properties one-by-one to the cache object
+				for (prop in data) {
+					cache[camelCase(prop)] = data[prop];
+				}
+			}
+			return cache;
+		},
+		get: function (owner, key) {
+			return key === undefined ?
+				this.cache(owner) :
+
+				// Always use camelCase key (gh-2257)
+				owner[this.expando] && owner[this.expando][camelCase(key)];
+		},
+		access: function (owner, key, value) {
+
+			// In cases where either:
+			//
+			//   1. No key was specified
+			//   2. A string key was specified, but no value provided
+			//
+			// Take the "read" path and allow the get method to determine
+			// which value to return, respectively either:
+			//
+			//   1. The entire cache object
+			//   2. The data stored at the key
+			//
+			if (key === undefined ||
+				((key && typeof key === "string") && value === undefined)) {
+
+				return this.get(owner, key);
+			}
+
+			// When the key is not a string, or both a key and value
+			// are specified, set or extend (existing objects) with either:
+			//
+			//   1. An object of properties
+			//   2. A key and value
+			//
+			this.set(owner, key, value);
+
+			// Since the "set" path can have two possible entry points
+			// return the expected data based on which path was taken[*]
+			return value !== undefined ? value : key;
+		},
+		remove: function (owner, key) {
+			var i,
+				cache = owner[this.expando];
+
+			if (cache === undefined) {
+				return;
+			}
+
+			if (key !== undefined) {
+
+				// Support array or space separated string of keys
+				if (Array.isArray(key)) {
+
+					// If key is an array of keys...
+					// We always set camelCase keys, so remove that.
+					key = key.map(camelCase);
+				} else {
+					key = camelCase(key);
+
+					// If a key with the spaces exists, use it.
+					// Otherwise, create an array by matching non-whitespace
+					key = key in cache ?
+						[key] :
+						(key.match(rnothtmlwhite) || []);
+				}
+
+				i = key.length;
+
+				while (i--) {
+					delete cache[key[i]];
+				}
+			}
+
+			// Remove the expando if there's no more data
+			if (key === undefined || jQuery.isEmptyObject(cache)) {
+
+				// Support: Chrome <=35 - 45
+				// Webkit & Blink performance suffers when deleting properties
+				// from DOM nodes, so set to undefined instead
+				// https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted)
+				if (owner.nodeType) {
+					owner[this.expando] = undefined;
+				} else {
+					delete owner[this.expando];
+				}
+			}
+		},
+		hasData: function (owner) {
+			var cache = owner[this.expando];
+			return cache !== undefined && !jQuery.isEmptyObject(cache);
+		}
+	};
+	var dataPriv = new Data();
+
+	var dataUser = new Data();
+
+
+
+	//	Implementation Summary
+	//
+	//	1. Enforce API surface and semantic compatibility with 1.9.x branch
+	//	2. Improve the module's maintainability by reducing the storage
+	//		paths to a single mechanism.
+	//	3. Use the same single mechanism to support "private" and "user" data.
+	//	4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData)
+	//	5. Avoid exposing implementation details on user objects (eg. expando properties)
+	//	6. Provide a clear path for implementation upgrade to WeakMap in 2014
+
+	var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,
+		rmultiDash = /[A-Z]/g;
+
+	function getData(data) {
+		if (data === "true") {
+			return true;
+		}
+
+		if (data === "false") {
+			return false;
+		}
+
+		if (data === "null") {
+			return null;
+		}
+
+		// Only convert to a number if it doesn't change the string
+		if (data === +data + "") {
+			return +data;
+		}
+
+		if (rbrace.test(data)) {
+			return JSON.parse(data);
+		}
+
+		return data;
+	}
+
+	function dataAttr(elem, key, data) {
+		var name;
+
+		// If nothing was found internally, try to fetch any
+		// data from the HTML5 data-* attribute
+		if (data === undefined && elem.nodeType === 1) {
+			name = "data-" + key.replace(rmultiDash, "-$&").toLowerCase();
+			data = elem.getAttribute(name);
+
+			if (typeof data === "string") {
+				try {
+					data = getData(data);
+				} catch (e) { }
+
+				// Make sure we set the data so it isn't changed later
+				dataUser.set(elem, key, data);
+			} else {
+				data = undefined;
+			}
+		}
+		return data;
+	}
+
+	jQuery.extend({
+		hasData: function (elem) {
+			return dataUser.hasData(elem) || dataPriv.hasData(elem);
+		},
+
+		data: function (elem, name, data) {
+			return dataUser.access(elem, name, data);
+		},
+
+		removeData: function (elem, name) {
+			dataUser.remove(elem, name);
+		},
+
+		// TODO: Now that all calls to _data and _removeData have been replaced
+		// with direct calls to dataPriv methods, these can be deprecated.
+		_data: function (elem, name, data) {
+			return dataPriv.access(elem, name, data);
+		},
+
+		_removeData: function (elem, name) {
+			dataPriv.remove(elem, name);
+		}
+	});
+
+	jQuery.fn.extend({
+		data: function (key, value) {
+			var i, name, data,
+				elem = this[0],
+				attrs = elem && elem.attributes;
+
+			// Gets all values
+			if (key === undefined) {
+				if (this.length) {
+					data = dataUser.get(elem);
+
+					if (elem.nodeType === 1 && !dataPriv.get(elem, "hasDataAttrs")) {
+						i = attrs.length;
+						while (i--) {
+
+							// Support: IE 11 only
+							// The attrs elements can be null (#14894)
+							if (attrs[i]) {
+								name = attrs[i].name;
+								if (name.indexOf("data-") === 0) {
+									name = camelCase(name.slice(5));
+									dataAttr(elem, name, data[name]);
+								}
+							}
+						}
+						dataPriv.set(elem, "hasDataAttrs", true);
+					}
+				}
+
+				return data;
+			}
+
+			// Sets multiple values
+			if (typeof key === "object") {
+				return this.each(function () {
+					dataUser.set(this, key);
+				});
+			}
+
+			return access(this, function (value) {
+				var data;
+
+				// The calling jQuery object (element matches) is not empty
+				// (and therefore has an element appears at this[ 0 ]) and the
+				// `value` parameter was not undefined. An empty jQuery object
+				// will result in `undefined` for elem = this[ 0 ] which will
+				// throw an exception if an attempt to read a data cache is made.
+				if (elem && value === undefined) {
+
+					// Attempt to get data from the cache
+					// The key will always be camelCased in Data
+					data = dataUser.get(elem, key);
+					if (data !== undefined) {
+						return data;
+					}
+
+					// Attempt to "discover" the data in
+					// HTML5 custom data-* attrs
+					data = dataAttr(elem, key);
+					if (data !== undefined) {
+						return data;
+					}
+
+					// We tried really hard, but the data doesn't exist.
+					return;
+				}
+
+				// Set the data...
+				this.each(function () {
+
+					// We always store the camelCased key
+					dataUser.set(this, key, value);
+				});
+			}, null, value, arguments.length > 1, null, true);
+		},
+
+		removeData: function (key) {
+			return this.each(function () {
+				dataUser.remove(this, key);
+			});
+		}
+	});
+
+
+	jQuery.extend({
+		queue: function (elem, type, data) {
+			var queue;
+
+			if (elem) {
+				type = (type || "fx") + "queue";
+				queue = dataPriv.get(elem, type);
+
+				// Speed up dequeue by getting out quickly if this is just a lookup
+				if (data) {
+					if (!queue || Array.isArray(data)) {
+						queue = dataPriv.access(elem, type, jQuery.makeArray(data));
+					} else {
+						queue.push(data);
+					}
+				}
+				return queue || [];
+			}
+		},
+
+		dequeue: function (elem, type) {
+			type = type || "fx";
+
+			var queue = jQuery.queue(elem, type),
+				startLength = queue.length,
+				fn = queue.shift(),
+				hooks = jQuery._queueHooks(elem, type),
+				next = function () {
+					jQuery.dequeue(elem, type);
+				};
+
+			// If the fx queue is dequeued, always remove the progress sentinel
+			if (fn === "inprogress") {
+				fn = queue.shift();
+				startLength--;
+			}
+
+			if (fn) {
+
+				// Add a progress sentinel to prevent the fx queue from being
+				// automatically dequeued
+				if (type === "fx") {
+					queue.unshift("inprogress");
+				}
+
+				// Clear up the last queue stop function
+				delete hooks.stop;
+				fn.call(elem, next, hooks);
+			}
+
+			if (!startLength && hooks) {
+				hooks.empty.fire();
+			}
+		},
+
+		// Not public - generate a queueHooks object, or return the current one
+		_queueHooks: function (elem, type) {
+			var key = type + "queueHooks";
+			return dataPriv.get(elem, key) || dataPriv.access(elem, key, {
+				empty: jQuery.Callbacks("once memory").add(function () {
+					dataPriv.remove(elem, [type + "queue", key]);
+				})
+			});
+		}
+	});
+
+	jQuery.fn.extend({
+		queue: function (type, data) {
+			var setter = 2;
+
+			if (typeof type !== "string") {
+				data = type;
+				type = "fx";
+				setter--;
+			}
+
+			if (arguments.length < setter) {
+				return jQuery.queue(this[0], type);
+			}
+
+			return data === undefined ?
+				this :
+				this.each(function () {
+					var queue = jQuery.queue(this, type, data);
+
+					// Ensure a hooks for this queue
+					jQuery._queueHooks(this, type);
+
+					if (type === "fx" && queue[0] !== "inprogress") {
+						jQuery.dequeue(this, type);
+					}
+				});
+		},
+		dequeue: function (type) {
+			return this.each(function () {
+				jQuery.dequeue(this, type);
+			});
+		},
+		clearQueue: function (type) {
+			return this.queue(type || "fx", []);
+		},
+
+		// Get a promise resolved when queues of a certain type
+		// are emptied (fx is the type by default)
+		promise: function (type, obj) {
+			var tmp,
+				count = 1,
+				defer = jQuery.Deferred(),
+				elements = this,
+				i = this.length,
+				resolve = function () {
+					if (!(--count)) {
+						defer.resolveWith(elements, [elements]);
+					}
+				};
+
+			if (typeof type !== "string") {
+				obj = type;
+				type = undefined;
+			}
+			type = type || "fx";
+
+			while (i--) {
+				tmp = dataPriv.get(elements[i], type + "queueHooks");
+				if (tmp && tmp.empty) {
+					count++;
+					tmp.empty.add(resolve);
+				}
+			}
+			resolve();
+			return defer.promise(obj);
+		}
+	});
+	var pnum = (/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/).source;
+
+	var rcssNum = new RegExp("^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i");
+
+
+	var cssExpand = ["Top", "Right", "Bottom", "Left"];
+
+	var documentElement = document.documentElement;
+
+
+
+	var isAttached = function (elem) {
+		return jQuery.contains(elem.ownerDocument, elem);
+	},
+		composed = { composed: true };
+
+	// Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only
+	// Check attachment across shadow DOM boundaries when possible (gh-3504)
+	// Support: iOS 10.0-10.2 only
+	// Early iOS 10 versions support `attachShadow` but not `getRootNode`,
+	// leading to errors. We need to check for `getRootNode`.
+	if (documentElement.getRootNode) {
+		isAttached = function (elem) {
+			return jQuery.contains(elem.ownerDocument, elem) ||
+				elem.getRootNode(composed) === elem.ownerDocument;
+		};
+	}
+	var isHiddenWithinTree = function (elem, el) {
+
+		// isHiddenWithinTree might be called from jQuery#filter function;
+		// in that case, element will be second argument
+		elem = el || elem;
+
+		// Inline style trumps all
+		return elem.style.display === "none" ||
+			elem.style.display === "" &&
+
+			// Otherwise, check computed style
+			// Support: Firefox <=43 - 45
+			// Disconnected elements can have computed display: none, so first confirm that elem is
+			// in the document.
+			isAttached(elem) &&
+
+			jQuery.css(elem, "display") === "none";
+	};
+
+
+
+	function adjustCSS(elem, prop, valueParts, tween) {
+		var adjusted, scale,
+			maxIterations = 20,
+			currentValue = tween ?
+				function () {
+					return tween.cur();
+				} :
+				function () {
+					return jQuery.css(elem, prop, "");
+				},
+			initial = currentValue(),
+			unit = valueParts && valueParts[3] || (jQuery.cssNumber[prop] ? "" : "px"),
+
+			// Starting value computation is required for potential unit mismatches
+			initialInUnit = elem.nodeType &&
+				(jQuery.cssNumber[prop] || unit !== "px" && +initial) &&
+				rcssNum.exec(jQuery.css(elem, prop));
+
+		if (initialInUnit && initialInUnit[3] !== unit) {
+
+			// Support: Firefox <=54
+			// Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144)
+			initial = initial / 2;
+
+			// Trust units reported by jQuery.css
+			unit = unit || initialInUnit[3];
+
+			// Iteratively approximate from a nonzero starting point
+			initialInUnit = +initial || 1;
+
+			while (maxIterations--) {
+
+				// Evaluate and update our best guess (doubling guesses that zero out).
+				// Finish if the scale equals or crosses 1 (making the old*new product non-positive).
+				jQuery.style(elem, prop, initialInUnit + unit);
+				if ((1 - scale) * (1 - (scale = currentValue() / initial || 0.5)) <= 0) {
+					maxIterations = 0;
+				}
+				initialInUnit = initialInUnit / scale;
+
+			}
+
+			initialInUnit = initialInUnit * 2;
+			jQuery.style(elem, prop, initialInUnit + unit);
+
+			// Make sure we update the tween properties later on
+			valueParts = valueParts || [];
+		}
+
+		if (valueParts) {
+			initialInUnit = +initialInUnit || +initial || 0;
+
+			// Apply relative offset (+=/-=) if specified
+			adjusted = valueParts[1] ?
+				initialInUnit + (valueParts[1] + 1) * valueParts[2] :
+				+valueParts[2];
+			if (tween) {
+				tween.unit = unit;
+				tween.start = initialInUnit;
+				tween.end = adjusted;
+			}
+		}
+		return adjusted;
+	}
+
+
+	var defaultDisplayMap = {};
+
+	function getDefaultDisplay(elem) {
+		var temp,
+			doc = elem.ownerDocument,
+			nodeName = elem.nodeName,
+			display = defaultDisplayMap[nodeName];
+
+		if (display) {
+			return display;
+		}
+
+		temp = doc.body.appendChild(doc.createElement(nodeName));
+		display = jQuery.css(temp, "display");
+
+		temp.parentNode.removeChild(temp);
+
+		if (display === "none") {
+			display = "block";
+		}
+		defaultDisplayMap[nodeName] = display;
+
+		return display;
+	}
+
+	function showHide(elements, show) {
+		var display, elem,
+			values = [],
+			index = 0,
+			length = elements.length;
+
+		// Determine new display value for elements that need to change
+		for (; index < length; index++) {
+			elem = elements[index];
+			if (!elem.style) {
+				continue;
+			}
+
+			display = elem.style.display;
+			if (show) {
+
+				// Since we force visibility upon cascade-hidden elements, an immediate (and slow)
+				// check is required in this first loop unless we have a nonempty display value (either
+				// inline or about-to-be-restored)
+				if (display === "none") {
+					values[index] = dataPriv.get(elem, "display") || null;
+					if (!values[index]) {
+						elem.style.display = "";
+					}
+				}
+				if (elem.style.display === "" && isHiddenWithinTree(elem)) {
+					values[index] = getDefaultDisplay(elem);
+				}
+			} else {
+				if (display !== "none") {
+					values[index] = "none";
+
+					// Remember what we're overwriting
+					dataPriv.set(elem, "display", display);
+				}
+			}
+		}
+
+		// Set the display of the elements in a second loop to avoid constant reflow
+		for (index = 0; index < length; index++) {
+			if (values[index] != null) {
+				elements[index].style.display = values[index];
+			}
+		}
+
+		return elements;
+	}
+
+	jQuery.fn.extend({
+		show: function () {
+			return showHide(this, true);
+		},
+		hide: function () {
+			return showHide(this);
+		},
+		toggle: function (state) {
+			if (typeof state === "boolean") {
+				return state ? this.show() : this.hide();
+			}
+
+			return this.each(function () {
+				if (isHiddenWithinTree(this)) {
+					jQuery(this).show();
+				} else {
+					jQuery(this).hide();
+				}
+			});
+		}
+	});
+	var rcheckableType = (/^(?:checkbox|radio)$/i);
+
+	var rtagName = (/<([a-z][^\/\0>\x20\t\r\n\f]*)/i);
+
+	var rscriptType = (/^$|^module$|\/(?:java|ecma)script/i);
+
+
+
+	(function () {
+		var fragment = document.createDocumentFragment(),
+			div = fragment.appendChild(document.createElement("div")),
+			input = document.createElement("input");
+
+		// Support: Android 4.0 - 4.3 only
+		// Check state lost if the name is set (#11217)
+		// Support: Windows Web Apps (WWA)
+		// `name` and `type` must use .setAttribute for WWA (#14901)
+		input.setAttribute("type", "radio");
+		input.setAttribute("checked", "checked");
+		input.setAttribute("name", "t");
+
+		div.appendChild(input);
+
+		// Support: Android <=4.1 only
+		// Older WebKit doesn't clone checked state correctly in fragments
+		support.checkClone = div.cloneNode(true).cloneNode(true).lastChild.checked;
+
+		// Support: IE <=11 only
+		// Make sure textarea (and checkbox) defaultValue is properly cloned
+		div.innerHTML = "<textarea>x</textarea>";
+		support.noCloneChecked = !!div.cloneNode(true).lastChild.defaultValue;
+
+		// Support: IE <=9 only
+		// IE <=9 replaces <option> tags with their contents when inserted outside of
+		// the select element.
+		div.innerHTML = "<option></option>";
+		support.option = !!div.lastChild;
+	})();
+
+
+	// We have to close these tags to support XHTML (#13200)
+	var wrapMap = {
+
+		// XHTML parsers do not magically insert elements in the
+		// same way that tag soup parsers do. So we cannot shorten
+		// this by omitting <tbody> or other required elements.
+		thead: [1, "<table>", "</table>"],
+		col: [2, "<table><colgroup>", "</colgroup></table>"],
+		tr: [2, "<table><tbody>", "</tbody></table>"],
+		td: [3, "<table><tbody><tr>", "</tr></tbody></table>"],
+
+		_default: [0, "", ""]
+	};
+
+	wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead;
+	wrapMap.th = wrapMap.td;
+
+	// Support: IE <=9 only
+	if (!support.option) {
+		wrapMap.optgroup = wrapMap.option = [1, "<select multiple='multiple'>", "</select>"];
+	}
+
+
+	function getAll(context, tag) {
+
+		// Support: IE <=9 - 11 only
+		// Use typeof to avoid zero-argument method invocation on host objects (#15151)
+		var ret;
+
+		if (typeof context.getElementsByTagName !== "undefined") {
+			ret = context.getElementsByTagName(tag || "*");
+
+		} else if (typeof context.querySelectorAll !== "undefined") {
+			ret = context.querySelectorAll(tag || "*");
+
+		} else {
+			ret = [];
+		}
+
+		if (tag === undefined || tag && nodeName(context, tag)) {
+			return jQuery.merge([context], ret);
+		}
+
+		return ret;
+	}
+
+
+	// Mark scripts as having already been evaluated
+	function setGlobalEval(elems, refElements) {
+		var i = 0,
+			l = elems.length;
+
+		for (; i < l; i++) {
+			dataPriv.set(
+				elems[i],
+				"globalEval",
+				!refElements || dataPriv.get(refElements[i], "globalEval")
+			);
+		}
+	}
+
+
+	var rhtml = /<|&#?\w+;/;
+
+	function buildFragment(elems, context, scripts, selection, ignored) {
+		var elem, tmp, tag, wrap, attached, j,
+			fragment = context.createDocumentFragment(),
+			nodes = [],
+			i = 0,
+			l = elems.length;
+
+		for (; i < l; i++) {
+			elem = elems[i];
+
+			if (elem || elem === 0) {
+
+				// Add nodes directly
+				if (toType(elem) === "object") {
+
+					// Support: Android <=4.0 only, PhantomJS 1 only
+					// push.apply(_, arraylike) throws on ancient WebKit
+					jQuery.merge(nodes, elem.nodeType ? [elem] : elem);
+
+					// Convert non-html into a text node
+				} else if (!rhtml.test(elem)) {
+					nodes.push(context.createTextNode(elem));
+
+					// Convert html into DOM nodes
+				} else {
+					tmp = tmp || fragment.appendChild(context.createElement("div"));
+
+					// Deserialize a standard representation
+					tag = (rtagName.exec(elem) || ["", ""])[1].toLowerCase();
+					wrap = wrapMap[tag] || wrapMap._default;
+					tmp.innerHTML = wrap[1] + jQuery.htmlPrefilter(elem) + wrap[2];
+
+					// Descend through wrappers to the right content
+					j = wrap[0];
+					while (j--) {
+						tmp = tmp.lastChild;
+					}
+
+					// Support: Android <=4.0 only, PhantomJS 1 only
+					// push.apply(_, arraylike) throws on ancient WebKit
+					jQuery.merge(nodes, tmp.childNodes);
+
+					// Remember the top-level container
+					tmp = fragment.firstChild;
+
+					// Ensure the created nodes are orphaned (#12392)
+					tmp.textContent = "";
+				}
+			}
+		}
+
+		// Remove wrapper from fragment
+		fragment.textContent = "";
+
+		i = 0;
+		while ((elem = nodes[i++])) {
+
+			// Skip elements already in the context collection (trac-4087)
+			if (selection && jQuery.inArray(elem, selection) > -1) {
+				if (ignored) {
+					ignored.push(elem);
+				}
+				continue;
+			}
+
+			attached = isAttached(elem);
+
+			// Append to fragment
+			tmp = getAll(fragment.appendChild(elem), "script");
+
+			// Preserve script evaluation history
+			if (attached) {
+				setGlobalEval(tmp);
+			}
+
+			// Capture executables
+			if (scripts) {
+				j = 0;
+				while ((elem = tmp[j++])) {
+					if (rscriptType.test(elem.type || "")) {
+						scripts.push(elem);
+					}
+				}
+			}
+		}
+
+		return fragment;
+	}
+
+
+	var
+		rkeyEvent = /^key/,
+		rmouseEvent = /^(?:mouse|pointer|contextmenu|drag|drop)|click/,
+		rtypenamespace = /^([^.]*)(?:\.(.+)|)/;
+
+	function returnTrue() {
+		return true;
+	}
+
+	function returnFalse() {
+		return false;
+	}
+
+	// Support: IE <=9 - 11+
+	// focus() and blur() are asynchronous, except when they are no-op.
+	// So expect focus to be synchronous when the element is already active,
+	// and blur to be synchronous when the element is not already active.
+	// (focus and blur are always synchronous in other supported browsers,
+	// this just defines when we can count on it).
+	function expectSync(elem, type) {
+		return (elem === safeActiveElement()) === (type === "focus");
+	}
+
+	// Support: IE <=9 only
+	// Accessing document.activeElement can throw unexpectedly
+	// https://bugs.jquery.com/ticket/13393
+	function safeActiveElement() {
+		try {
+			return document.activeElement;
+		} catch (err) { }
+	}
+
+	function on(elem, types, selector, data, fn, one) {
+		var origFn, type;
+
+		// Types can be a map of types/handlers
+		if (typeof types === "object") {
+
+			// ( types-Object, selector, data )
+			if (typeof selector !== "string") {
+
+				// ( types-Object, data )
+				data = data || selector;
+				selector = undefined;
+			}
+			for (type in types) {
+				on(elem, type, selector, data, types[type], one);
+			}
+			return elem;
+		}
+
+		if (data == null && fn == null) {
+
+			// ( types, fn )
+			fn = selector;
+			data = selector = undefined;
+		} else if (fn == null) {
+			if (typeof selector === "string") {
+
+				// ( types, selector, fn )
+				fn = data;
+				data = undefined;
+			} else {
+
+				// ( types, data, fn )
+				fn = data;
+				data = selector;
+				selector = undefined;
+			}
+		}
+		if (fn === false) {
+			fn = returnFalse;
+		} else if (!fn) {
+			return elem;
+		}
+
+		if (one === 1) {
+			origFn = fn;
+			fn = function (event) {
+
+				// Can use an empty set, since event contains the info
+				jQuery().off(event);
+				return origFn.apply(this, arguments);
+			};
+
+			// Use same guid so caller can remove using origFn
+			fn.guid = origFn.guid || (origFn.guid = jQuery.guid++);
+		}
+		return elem.each(function () {
+			jQuery.event.add(this, types, fn, data, selector);
+		});
+	}
+
+	/*
+	 * Helper functions for managing events -- not part of the public interface.
+	 * Props to Dean Edwards' addEvent library for many of the ideas.
+	 */
+	jQuery.event = {
+
+		global: {},
+
+		add: function (elem, types, handler, data, selector) {
+
+			var handleObjIn, eventHandle, tmp,
+				events, t, handleObj,
+				special, handlers, type, namespaces, origType,
+				elemData = dataPriv.get(elem);
+
+			// Only attach events to objects that accept data
+			if (!acceptData(elem)) {
+				return;
+			}
+
+			// Caller can pass in an object of custom data in lieu of the handler
+			if (handler.handler) {
+				handleObjIn = handler;
+				handler = handleObjIn.handler;
+				selector = handleObjIn.selector;
+			}
+
+			// Ensure that invalid selectors throw exceptions at attach time
+			// Evaluate against documentElement in case elem is a non-element node (e.g., document)
+			if (selector) {
+				jQuery.find.matchesSelector(documentElement, selector);
+			}
+
+			// Make sure that the handler has a unique ID, used to find/remove it later
+			if (!handler.guid) {
+				handler.guid = jQuery.guid++;
+			}
+
+			// Init the element's event structure and main handler, if this is the first
+			if (!(events = elemData.events)) {
+				events = elemData.events = Object.create(null);
+			}
+			if (!(eventHandle = elemData.handle)) {
+				eventHandle = elemData.handle = function (e) {
+
+					// Discard the second event of a jQuery.event.trigger() and
+					// when an event is called after a page has unloaded
+					return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ?
+						jQuery.event.dispatch.apply(elem, arguments) : undefined;
+				};
+			}
+
+			// Handle multiple events separated by a space
+			types = (types || "").match(rnothtmlwhite) || [""];
+			t = types.length;
+			while (t--) {
+				tmp = rtypenamespace.exec(types[t]) || [];
+				type = origType = tmp[1];
+				namespaces = (tmp[2] || "").split(".").sort();
+
+				// There *must* be a type, no attaching namespace-only handlers
+				if (!type) {
+					continue;
+				}
+
+				// If event changes its type, use the special event handlers for the changed type
+				special = jQuery.event.special[type] || {};
+
+				// If selector defined, determine special event api type, otherwise given type
+				type = (selector ? special.delegateType : special.bindType) || type;
+
+				// Update special based on newly reset type
+				special = jQuery.event.special[type] || {};
+
+				// handleObj is passed to all event handlers
+				handleObj = jQuery.extend({
+					type: type,
+					origType: origType,
+					data: data,
+					handler: handler,
+					guid: handler.guid,
+					selector: selector,
+					needsContext: selector && jQuery.expr.match.needsContext.test(selector),
+					namespace: namespaces.join(".")
+				}, handleObjIn);
+
+				// Init the event handler queue if we're the first
+				if (!(handlers = events[type])) {
+					handlers = events[type] = [];
+					handlers.delegateCount = 0;
+
+					// Only use addEventListener if the special events handler returns false
+					if (!special.setup ||
+						special.setup.call(elem, data, namespaces, eventHandle) === false) {
+
+						if (elem.addEventListener) {
+							elem.addEventListener(type, eventHandle);
+						}
+					}
+				}
+
+				if (special.add) {
+					special.add.call(elem, handleObj);
+
+					if (!handleObj.handler.guid) {
+						handleObj.handler.guid = handler.guid;
+					}
+				}
+
+				// Add to the element's handler list, delegates in front
+				if (selector) {
+					handlers.splice(handlers.delegateCount++, 0, handleObj);
+				} else {
+					handlers.push(handleObj);
+				}
+
+				// Keep track of which events have ever been used, for event optimization
+				jQuery.event.global[type] = true;
+			}
+
+		},
+
+		// Detach an event or set of events from an element
+		remove: function (elem, types, handler, selector, mappedTypes) {
+
+			var j, origCount, tmp,
+				events, t, handleObj,
+				special, handlers, type, namespaces, origType,
+				elemData = dataPriv.hasData(elem) && dataPriv.get(elem);
+
+			if (!elemData || !(events = elemData.events)) {
+				return;
+			}
+
+			// Once for each type.namespace in types; type may be omitted
+			types = (types || "").match(rnothtmlwhite) || [""];
+			t = types.length;
+			while (t--) {
+				tmp = rtypenamespace.exec(types[t]) || [];
+				type = origType = tmp[1];
+				namespaces = (tmp[2] || "").split(".").sort();
+
+				// Unbind all events (on this namespace, if provided) for the element
+				if (!type) {
+					for (type in events) {
+						jQuery.event.remove(elem, type + types[t], handler, selector, true);
+					}
+					continue;
+				}
+
+				special = jQuery.event.special[type] || {};
+				type = (selector ? special.delegateType : special.bindType) || type;
+				handlers = events[type] || [];
+				tmp = tmp[2] &&
+					new RegExp("(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)");
+
+				// Remove matching events
+				origCount = j = handlers.length;
+				while (j--) {
+					handleObj = handlers[j];
+
+					if ((mappedTypes || origType === handleObj.origType) &&
+						(!handler || handler.guid === handleObj.guid) &&
+						(!tmp || tmp.test(handleObj.namespace)) &&
+						(!selector || selector === handleObj.selector ||
+							selector === "**" && handleObj.selector)) {
+						handlers.splice(j, 1);
+
+						if (handleObj.selector) {
+							handlers.delegateCount--;
+						}
+						if (special.remove) {
+							special.remove.call(elem, handleObj);
+						}
+					}
+				}
+
+				// Remove generic event handler if we removed something and no more handlers exist
+				// (avoids potential for endless recursion during removal of special event handlers)
+				if (origCount && !handlers.length) {
+					if (!special.teardown ||
+						special.teardown.call(elem, namespaces, elemData.handle) === false) {
+
+						jQuery.removeEvent(elem, type, elemData.handle);
+					}
+
+					delete events[type];
+				}
+			}
+
+			// Remove data and the expando if it's no longer used
+			if (jQuery.isEmptyObject(events)) {
+				dataPriv.remove(elem, "handle events");
+			}
+		},
+
+		dispatch: function (nativeEvent) {
+
+			var i, j, ret, matched, handleObj, handlerQueue,
+				args = new Array(arguments.length),
+
+				// Make a writable jQuery.Event from the native event object
+				event = jQuery.event.fix(nativeEvent),
+
+				handlers = (
+					dataPriv.get(this, "events") || Object.create(null)
+				)[event.type] || [],
+				special = jQuery.event.special[event.type] || {};
+
+			// Use the fix-ed jQuery.Event rather than the (read-only) native event
+			args[0] = event;
+
+			for (i = 1; i < arguments.length; i++) {
+				args[i] = arguments[i];
+			}
+
+			event.delegateTarget = this;
+
+			// Call the preDispatch hook for the mapped type, and let it bail if desired
+			if (special.preDispatch && special.preDispatch.call(this, event) === false) {
+				return;
+			}
+
+			// Determine handlers
+			handlerQueue = jQuery.event.handlers.call(this, event, handlers);
+
+			// Run delegates first; they may want to stop propagation beneath us
+			i = 0;
+			while ((matched = handlerQueue[i++]) && !event.isPropagationStopped()) {
+				event.currentTarget = matched.elem;
+
+				j = 0;
+				while ((handleObj = matched.handlers[j++]) &&
+					!event.isImmediatePropagationStopped()) {
+
+					// If the event is namespaced, then each handler is only invoked if it is
+					// specially universal or its namespaces are a superset of the event's.
+					if (!event.rnamespace || handleObj.namespace === false ||
+						event.rnamespace.test(handleObj.namespace)) {
+
+						event.handleObj = handleObj;
+						event.data = handleObj.data;
+
+						ret = ((jQuery.event.special[handleObj.origType] || {}).handle ||
+							handleObj.handler).apply(matched.elem, args);
+
+						if (ret !== undefined) {
+							if ((event.result = ret) === false) {
+								event.preventDefault();
+								event.stopPropagation();
+							}
+						}
+					}
+				}
+			}
+
+			// Call the postDispatch hook for the mapped type
+			if (special.postDispatch) {
+				special.postDispatch.call(this, event);
+			}
+
+			return event.result;
+		},
+
+		handlers: function (event, handlers) {
+			var i, handleObj, sel, matchedHandlers, matchedSelectors,
+				handlerQueue = [],
+				delegateCount = handlers.delegateCount,
+				cur = event.target;
+
+			// Find delegate handlers
+			if (delegateCount &&
+
+				// Support: IE <=9
+				// Black-hole SVG <use> instance trees (trac-13180)
+				cur.nodeType &&
+
+				// Support: Firefox <=42
+				// Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861)
+				// https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click
+				// Support: IE 11 only
+				// ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343)
+				!(event.type === "click" && event.button >= 1)) {
+
+				for (; cur !== this; cur = cur.parentNode || this) {
+
+					// Don't check non-elements (#13208)
+					// Don't process clicks on disabled elements (#6911, #8165, #11382, #11764)
+					if (cur.nodeType === 1 && !(event.type === "click" && cur.disabled === true)) {
+						matchedHandlers = [];
+						matchedSelectors = {};
+						for (i = 0; i < delegateCount; i++) {
+							handleObj = handlers[i];
+
+							// Don't conflict with Object.prototype properties (#13203)
+							sel = handleObj.selector + " ";
+
+							if (matchedSelectors[sel] === undefined) {
+								matchedSelectors[sel] = handleObj.needsContext ?
+									jQuery(sel, this).index(cur) > -1 :
+									jQuery.find(sel, this, null, [cur]).length;
+							}
+							if (matchedSelectors[sel]) {
+								matchedHandlers.push(handleObj);
+							}
+						}
+						if (matchedHandlers.length) {
+							handlerQueue.push({ elem: cur, handlers: matchedHandlers });
+						}
+					}
+				}
+			}
+
+			// Add the remaining (directly-bound) handlers
+			cur = this;
+			if (delegateCount < handlers.length) {
+				handlerQueue.push({ elem: cur, handlers: handlers.slice(delegateCount) });
+			}
+
+			return handlerQueue;
+		},
+
+		addProp: function (name, hook) {
+			Object.defineProperty(jQuery.Event.prototype, name, {
+				enumerable: true,
+				configurable: true,
+
+				get: isFunction(hook) ?
+					function () {
+						if (this.originalEvent) {
+							return hook(this.originalEvent);
+						}
+					} :
+					function () {
+						if (this.originalEvent) {
+							return this.originalEvent[name];
+						}
+					},
+
+				set: function (value) {
+					Object.defineProperty(this, name, {
+						enumerable: true,
+						configurable: true,
+						writable: true,
+						value: value
+					});
+				}
+			});
+		},
+
+		fix: function (originalEvent) {
+			return originalEvent[jQuery.expando] ?
+				originalEvent :
+				new jQuery.Event(originalEvent);
+		},
+
+		special: {
+			load: {
+
+				// Prevent triggered image.load events from bubbling to window.load
+				noBubble: true
+			},
+			click: {
+
+				// Utilize native event to ensure correct state for checkable inputs
+				setup: function (data) {
+
+					// For mutual compressibility with _default, replace `this` access with a local var.
+					// `|| data` is dead code meant only to preserve the variable through minification.
+					var el = this || data;
+
+					// Claim the first handler
+					if (rcheckableType.test(el.type) &&
+						el.click && nodeName(el, "input")) {
+
+						// dataPriv.set( el, "click", ... )
+						leverageNative(el, "click", returnTrue);
+					}
+
+					// Return false to allow normal processing in the caller
+					return false;
+				},
+				trigger: function (data) {
+
+					// For mutual compressibility with _default, replace `this` access with a local var.
+					// `|| data` is dead code meant only to preserve the variable through minification.
+					var el = this || data;
+
+					// Force setup before triggering a click
+					if (rcheckableType.test(el.type) &&
+						el.click && nodeName(el, "input")) {
+
+						leverageNative(el, "click");
+					}
+
+					// Return non-false to allow normal event-path propagation
+					return true;
+				},
+
+				// For cross-browser consistency, suppress native .click() on links
+				// Also prevent it if we're currently inside a leveraged native-event stack
+				_default: function (event) {
+					var target = event.target;
+					return rcheckableType.test(target.type) &&
+						target.click && nodeName(target, "input") &&
+						dataPriv.get(target, "click") ||
+						nodeName(target, "a");
+				}
+			},
+
+			beforeunload: {
+				postDispatch: function (event) {
+
+					// Support: Firefox 20+
+					// Firefox doesn't alert if the returnValue field is not set.
+					if (event.result !== undefined && event.originalEvent) {
+						event.originalEvent.returnValue = event.result;
+					}
+				}
+			}
+		}
+	};
+
+	// Ensure the presence of an event listener that handles manually-triggered
+	// synthetic events by interrupting progress until reinvoked in response to
+	// *native* events that it fires directly, ensuring that state changes have
+	// already occurred before other listeners are invoked.
+	function leverageNative(el, type, expectSync) {
+
+		// Missing expectSync indicates a trigger call, which must force setup through jQuery.event.add
+		if (!expectSync) {
+			if (dataPriv.get(el, type) === undefined) {
+				jQuery.event.add(el, type, returnTrue);
+			}
+			return;
+		}
+
+		// Register the controller as a special universal handler for all event namespaces
+		dataPriv.set(el, type, false);
+		jQuery.event.add(el, type, {
+			namespace: false,
+			handler: function (event) {
+				var notAsync, result,
+					saved = dataPriv.get(this, type);
+
+				if ((event.isTrigger & 1) && this[type]) {
+
+					// Interrupt processing of the outer synthetic .trigger()ed event
+					// Saved data should be false in such cases, but might be a leftover capture object
+					// from an async native handler (gh-4350)
+					if (!saved.length) {
+
+						// Store arguments for use when handling the inner native event
+						// There will always be at least one argument (an event object), so this array
+						// will not be confused with a leftover capture object.
+						saved = slice.call(arguments);
+						dataPriv.set(this, type, saved);
+
+						// Trigger the native event and capture its result
+						// Support: IE <=9 - 11+
+						// focus() and blur() are asynchronous
+						notAsync = expectSync(this, type);
+						this[type]();
+						result = dataPriv.get(this, type);
+						if (saved !== result || notAsync) {
+							dataPriv.set(this, type, false);
+						} else {
+							result = {};
+						}
+						if (saved !== result) {
+
+							// Cancel the outer synthetic event
+							event.stopImmediatePropagation();
+							event.preventDefault();
+							return result.value;
+						}
+
+						// If this is an inner synthetic event for an event with a bubbling surrogate
+						// (focus or blur), assume that the surrogate already propagated from triggering the
+						// native event and prevent that from happening again here.
+						// This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the
+						// bubbling surrogate propagates *after* the non-bubbling base), but that seems
+						// less bad than duplication.
+					} else if ((jQuery.event.special[type] || {}).delegateType) {
+						event.stopPropagation();
+					}
+
+					// If this is a native event triggered above, everything is now in order
+					// Fire an inner synthetic event with the original arguments
+				} else if (saved.length) {
+
+					// ...and capture the result
+					dataPriv.set(this, type, {
+						value: jQuery.event.trigger(
+
+							// Support: IE <=9 - 11+
+							// Extend with the prototype to reset the above stopImmediatePropagation()
+							jQuery.extend(saved[0], jQuery.Event.prototype),
+							saved.slice(1),
+							this
+						)
+					});
+
+					// Abort handling of the native event
+					event.stopImmediatePropagation();
+				}
+			}
+		});
+	}
+
+	jQuery.removeEvent = function (elem, type, handle) {
+
+		// This "if" is needed for plain objects
+		if (elem.removeEventListener) {
+			elem.removeEventListener(type, handle);
+		}
+	};
+
+	jQuery.Event = function (src, props) {
+
+		// Allow instantiation without the 'new' keyword
+		if (!(this instanceof jQuery.Event)) {
+			return new jQuery.Event(src, props);
+		}
+
+		// Event object
+		if (src && src.type) {
+			this.originalEvent = src;
+			this.type = src.type;
+
+			// Events bubbling up the document may have been marked as prevented
+			// by a handler lower down the tree; reflect the correct value.
+			this.isDefaultPrevented = src.defaultPrevented ||
+				src.defaultPrevented === undefined &&
+
+				// Support: Android <=2.3 only
+				src.returnValue === false ?
+				returnTrue :
+				returnFalse;
+
+			// Create target properties
+			// Support: Safari <=6 - 7 only
+			// Target should not be a text node (#504, #13143)
+			this.target = (src.target && src.target.nodeType === 3) ?
+				src.target.parentNode :
+				src.target;
+
+			this.currentTarget = src.currentTarget;
+			this.relatedTarget = src.relatedTarget;
+
+			// Event type
+		} else {
+			this.type = src;
+		}
+
+		// Put explicitly provided properties onto the event object
+		if (props) {
+			jQuery.extend(this, props);
+		}
+
+		// Create a timestamp if incoming event doesn't have one
+		this.timeStamp = src && src.timeStamp || Date.now();
+
+		// Mark it as fixed
+		this[jQuery.expando] = true;
+	};
+
+	// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding
+	// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html
+	jQuery.Event.prototype = {
+		constructor: jQuery.Event,
+		isDefaultPrevented: returnFalse,
+		isPropagationStopped: returnFalse,
+		isImmediatePropagationStopped: returnFalse,
+		isSimulated: false,
+
+		preventDefault: function () {
+			var e = this.originalEvent;
+
+			this.isDefaultPrevented = returnTrue;
+
+			if (e && !this.isSimulated) {
+				e.preventDefault();
+			}
+		},
+		stopPropagation: function () {
+			var e = this.originalEvent;
+
+			this.isPropagationStopped = returnTrue;
+
+			if (e && !this.isSimulated) {
+				e.stopPropagation();
+			}
+		},
+		stopImmediatePropagation: function () {
+			var e = this.originalEvent;
+
+			this.isImmediatePropagationStopped = returnTrue;
+
+			if (e && !this.isSimulated) {
+				e.stopImmediatePropagation();
+			}
+
+			this.stopPropagation();
+		}
+	};
+
+	// Includes all common event props including KeyEvent and MouseEvent specific props
+	jQuery.each({
+		altKey: true,
+		bubbles: true,
+		cancelable: true,
+		changedTouches: true,
+		ctrlKey: true,
+		detail: true,
+		eventPhase: true,
+		metaKey: true,
+		pageX: true,
+		pageY: true,
+		shiftKey: true,
+		view: true,
+		"char": true,
+		code: true,
+		charCode: true,
+		key: true,
+		keyCode: true,
+		button: true,
+		buttons: true,
+		clientX: true,
+		clientY: true,
+		offsetX: true,
+		offsetY: true,
+		pointerId: true,
+		pointerType: true,
+		screenX: true,
+		screenY: true,
+		targetTouches: true,
+		toElement: true,
+		touches: true,
+
+		which: function (event) {
+			var button = event.button;
+
+			// Add which for key events
+			if (event.which == null && rkeyEvent.test(event.type)) {
+				return event.charCode != null ? event.charCode : event.keyCode;
+			}
+
+			// Add which for click: 1 === left; 2 === middle; 3 === right
+			if (!event.which && button !== undefined && rmouseEvent.test(event.type)) {
+				if (button & 1) {
+					return 1;
+				}
+
+				if (button & 2) {
+					return 3;
+				}
+
+				if (button & 4) {
+					return 2;
+				}
+
+				return 0;
+			}
+
+			return event.which;
+		}
+	}, jQuery.event.addProp);
+
+	jQuery.each({ focus: "focusin", blur: "focusout" }, function (type, delegateType) {
+		jQuery.event.special[type] = {
+
+			// Utilize native event if possible so blur/focus sequence is correct
+			setup: function () {
+
+				// Claim the first handler
+				// dataPriv.set( this, "focus", ... )
+				// dataPriv.set( this, "blur", ... )
+				leverageNative(this, type, expectSync);
+
+				// Return false to allow normal processing in the caller
+				return false;
+			},
+			trigger: function () {
+
+				// Force setup before trigger
+				leverageNative(this, type);
+
+				// Return non-false to allow normal event-path propagation
+				return true;
+			},
+
+			delegateType: delegateType
+		};
+	});
+
+	// Create mouseenter/leave events using mouseover/out and event-time checks
+	// so that event delegation works in jQuery.
+	// Do the same for pointerenter/pointerleave and pointerover/pointerout
+	//
+	// Support: Safari 7 only
+	// Safari sends mouseenter too often; see:
+	// https://bugs.chromium.org/p/chromium/issues/detail?id=470258
+	// for the description of the bug (it existed in older Chrome versions as well).
+	jQuery.each({
+		mouseenter: "mouseover",
+		mouseleave: "mouseout",
+		pointerenter: "pointerover",
+		pointerleave: "pointerout"
+	}, function (orig, fix) {
+		jQuery.event.special[orig] = {
+			delegateType: fix,
+			bindType: fix,
+
+			handle: function (event) {
+				var ret,
+					target = this,
+					related = event.relatedTarget,
+					handleObj = event.handleObj;
+
+				// For mouseenter/leave call the handler if related is outside the target.
+				// NB: No relatedTarget if the mouse left/entered the browser window
+				if (!related || (related !== target && !jQuery.contains(target, related))) {
+					event.type = handleObj.origType;
+					ret = handleObj.handler.apply(this, arguments);
+					event.type = fix;
+				}
+				return ret;
+			}
+		};
+	});
+
+	jQuery.fn.extend({
+
+		on: function (types, selector, data, fn) {
+			return on(this, types, selector, data, fn);
+		},
+		one: function (types, selector, data, fn) {
+			return on(this, types, selector, data, fn, 1);
+		},
+		off: function (types, selector, fn) {
+			var handleObj, type;
+			if (types && types.preventDefault && types.handleObj) {
+
+				// ( event )  dispatched jQuery.Event
+				handleObj = types.handleObj;
+				jQuery(types.delegateTarget).off(
+					handleObj.namespace ?
+						handleObj.origType + "." + handleObj.namespace :
+						handleObj.origType,
+					handleObj.selector,
+					handleObj.handler
+				);
+				return this;
+			}
+			if (typeof types === "object") {
+
+				// ( types-object [, selector] )
+				for (type in types) {
+					this.off(type, selector, types[type]);
+				}
+				return this;
+			}
+			if (selector === false || typeof selector === "function") {
+
+				// ( types [, fn] )
+				fn = selector;
+				selector = undefined;
+			}
+			if (fn === false) {
+				fn = returnFalse;
+			}
+			return this.each(function () {
+				jQuery.event.remove(this, types, fn, selector);
+			});
+		}
+	});
+
+
+	var
+
+		// Support: IE <=10 - 11, Edge 12 - 13 only
+		// In IE/Edge using regex groups here causes severe slowdowns.
+		// See https://connect.microsoft.com/IE/feedback/details/1736512/
+		rnoInnerhtml = /<script|<style|<link/i,
+
+		// checked="checked" or checked
+		rchecked = /checked\s*(?:[^=]|=\s*.checked.)/i,
+		rcleanScript = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;
+
+	// Prefer a tbody over its parent table for containing new rows
+	function manipulationTarget(elem, content) {
+		if (nodeName(elem, "table") &&
+			nodeName(content.nodeType !== 11 ? content : content.firstChild, "tr")) {
+
+			return jQuery(elem).children("tbody")[0] || elem;
+		}
+
+		return elem;
+	}
+
+	// Replace/restore the type attribute of script elements for safe DOM manipulation
+	function disableScript(elem) {
+		elem.type = (elem.getAttribute("type") !== null) + "/" + elem.type;
+		return elem;
+	}
+	function restoreScript(elem) {
+		if ((elem.type || "").slice(0, 5) === "true/") {
+			elem.type = elem.type.slice(5);
+		} else {
+			elem.removeAttribute("type");
+		}
+
+		return elem;
+	}
+
+	function cloneCopyEvent(src, dest) {
+		var i, l, type, pdataOld, udataOld, udataCur, events;
+
+		if (dest.nodeType !== 1) {
+			return;
+		}
+
+		// 1. Copy private data: events, handlers, etc.
+		if (dataPriv.hasData(src)) {
+			pdataOld = dataPriv.get(src);
+			events = pdataOld.events;
+
+			if (events) {
+				dataPriv.remove(dest, "handle events");
+
+				for (type in events) {
+					for (i = 0, l = events[type].length; i < l; i++) {
+						jQuery.event.add(dest, type, events[type][i]);
+					}
+				}
+			}
+		}
+
+		// 2. Copy user data
+		if (dataUser.hasData(src)) {
+			udataOld = dataUser.access(src);
+			udataCur = jQuery.extend({}, udataOld);
+
+			dataUser.set(dest, udataCur);
+		}
+	}
+
+	// Fix IE bugs, see support tests
+	function fixInput(src, dest) {
+		var nodeName = dest.nodeName.toLowerCase();
+
+		// Fails to persist the checked state of a cloned checkbox or radio button.
+		if (nodeName === "input" && rcheckableType.test(src.type)) {
+			dest.checked = src.checked;
+
+			// Fails to return the selected option to the default selected state when cloning options
+		} else if (nodeName === "input" || nodeName === "textarea") {
+			dest.defaultValue = src.defaultValue;
+		}
+	}
+
+	function domManip(collection, args, callback, ignored) {
+
+		// Flatten any nested arrays
+		args = flat(args);
+
+		var fragment, first, scripts, hasScripts, node, doc,
+			i = 0,
+			l = collection.length,
+			iNoClone = l - 1,
+			value = args[0],
+			valueIsFunction = isFunction(value);
+
+		// We can't cloneNode fragments that contain checked, in WebKit
+		if (valueIsFunction ||
+			(l > 1 && typeof value === "string" &&
+				!support.checkClone && rchecked.test(value))) {
+			return collection.each(function (index) {
+				var self = collection.eq(index);
+				if (valueIsFunction) {
+					args[0] = value.call(this, index, self.html());
+				}
+				domManip(self, args, callback, ignored);
+			});
+		}
+
+		if (l) {
+			fragment = buildFragment(args, collection[0].ownerDocument, false, collection, ignored);
+			first = fragment.firstChild;
+
+			if (fragment.childNodes.length === 1) {
+				fragment = first;
+			}
+
+			// Require either new content or an interest in ignored elements to invoke the callback
+			if (first || ignored) {
+				scripts = jQuery.map(getAll(fragment, "script"), disableScript);
+				hasScripts = scripts.length;
+
+				// Use the original fragment for the last item
+				// instead of the first because it can end up
+				// being emptied incorrectly in certain situations (#8070).
+				for (; i < l; i++) {
+					node = fragment;
+
+					if (i !== iNoClone) {
+						node = jQuery.clone(node, true, true);
+
+						// Keep references to cloned scripts for later restoration
+						if (hasScripts) {
+
+							// Support: Android <=4.0 only, PhantomJS 1 only
+							// push.apply(_, arraylike) throws on ancient WebKit
+							jQuery.merge(scripts, getAll(node, "script"));
+						}
+					}
+
+					callback.call(collection[i], node, i);
+				}
+
+				if (hasScripts) {
+					doc = scripts[scripts.length - 1].ownerDocument;
+
+					// Reenable scripts
+					jQuery.map(scripts, restoreScript);
+
+					// Evaluate executable scripts on first document insertion
+					for (i = 0; i < hasScripts; i++) {
+						node = scripts[i];
+						if (rscriptType.test(node.type || "") &&
+							!dataPriv.access(node, "globalEval") &&
+							jQuery.contains(doc, node)) {
+
+							if (node.src && (node.type || "").toLowerCase() !== "module") {
+
+								// Optional AJAX dependency, but won't run scripts if not present
+								if (jQuery._evalUrl && !node.noModule) {
+									jQuery._evalUrl(node.src, {
+										nonce: node.nonce || node.getAttribute("nonce")
+									}, doc);
+								}
+							} else {
+								DOMEval(node.textContent.replace(rcleanScript, ""), node, doc);
+							}
+						}
+					}
+				}
+			}
+		}
+
+		return collection;
+	}
+
+	function remove(elem, selector, keepData) {
+		var node,
+			nodes = selector ? jQuery.filter(selector, elem) : elem,
+			i = 0;
+
+		for (; (node = nodes[i]) != null; i++) {
+			if (!keepData && node.nodeType === 1) {
+				jQuery.cleanData(getAll(node));
+			}
+
+			if (node.parentNode) {
+				if (keepData && isAttached(node)) {
+					setGlobalEval(getAll(node, "script"));
+				}
+				node.parentNode.removeChild(node);
+			}
+		}
+
+		return elem;
+	}
+
+	jQuery.extend({
+		htmlPrefilter: function (html) {
+			return html;
+		},
+
+		clone: function (elem, dataAndEvents, deepDataAndEvents) {
+			var i, l, srcElements, destElements,
+				clone = elem.cloneNode(true),
+				inPage = isAttached(elem);
+
+			// Fix IE cloning issues
+			if (!support.noCloneChecked && (elem.nodeType === 1 || elem.nodeType === 11) &&
+				!jQuery.isXMLDoc(elem)) {
+
+				// We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2
+				destElements = getAll(clone);
+				srcElements = getAll(elem);
+
+				for (i = 0, l = srcElements.length; i < l; i++) {
+					fixInput(srcElements[i], destElements[i]);
+				}
+			}
+
+			// Copy the events from the original to the clone
+			if (dataAndEvents) {
+				if (deepDataAndEvents) {
+					srcElements = srcElements || getAll(elem);
+					destElements = destElements || getAll(clone);
+
+					for (i = 0, l = srcElements.length; i < l; i++) {
+						cloneCopyEvent(srcElements[i], destElements[i]);
+					}
+				} else {
+					cloneCopyEvent(elem, clone);
+				}
+			}
+
+			// Preserve script evaluation history
+			destElements = getAll(clone, "script");
+			if (destElements.length > 0) {
+				setGlobalEval(destElements, !inPage && getAll(elem, "script"));
+			}
+
+			// Return the cloned set
+			return clone;
+		},
+
+		cleanData: function (elems) {
+			var data, elem, type,
+				special = jQuery.event.special,
+				i = 0;
+
+			for (; (elem = elems[i]) !== undefined; i++) {
+				if (acceptData(elem)) {
+					if ((data = elem[dataPriv.expando])) {
+						if (data.events) {
+							for (type in data.events) {
+								if (special[type]) {
+									jQuery.event.remove(elem, type);
+
+									// This is a shortcut to avoid jQuery.event.remove's overhead
+								} else {
+									jQuery.removeEvent(elem, type, data.handle);
+								}
+							}
+						}
+
+						// Support: Chrome <=35 - 45+
+						// Assign undefined instead of using delete, see Data#remove
+						elem[dataPriv.expando] = undefined;
+					}
+					if (elem[dataUser.expando]) {
+
+						// Support: Chrome <=35 - 45+
+						// Assign undefined instead of using delete, see Data#remove
+						elem[dataUser.expando] = undefined;
+					}
+				}
+			}
+		}
+	});
+
+	jQuery.fn.extend({
+		detach: function (selector) {
+			return remove(this, selector, true);
+		},
+
+		remove: function (selector) {
+			return remove(this, selector);
+		},
+
+		text: function (value) {
+			return access(this, function (value) {
+				return value === undefined ?
+					jQuery.text(this) :
+					this.empty().each(function () {
+						if (this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) {
+							this.textContent = value;
+						}
+					});
+			}, null, value, arguments.length);
+		},
+
+		append: function () {
+			return domManip(this, arguments, function (elem) {
+				if (this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) {
+					var target = manipulationTarget(this, elem);
+					target.appendChild(elem);
+				}
+			});
+		},
+
+		prepend: function () {
+			return domManip(this, arguments, function (elem) {
+				if (this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) {
+					var target = manipulationTarget(this, elem);
+					target.insertBefore(elem, target.firstChild);
+				}
+			});
+		},
+
+		before: function () {
+			return domManip(this, arguments, function (elem) {
+				if (this.parentNode) {
+					this.parentNode.insertBefore(elem, this);
+				}
+			});
+		},
+
+		after: function () {
+			return domManip(this, arguments, function (elem) {
+				if (this.parentNode) {
+					this.parentNode.insertBefore(elem, this.nextSibling);
+				}
+			});
+		},
+
+		empty: function () {
+			var elem,
+				i = 0;
+
+			for (; (elem = this[i]) != null; i++) {
+				if (elem.nodeType === 1) {
+
+					// Prevent memory leaks
+					jQuery.cleanData(getAll(elem, false));
+
+					// Remove any remaining nodes
+					elem.textContent = "";
+				}
+			}
+
+			return this;
+		},
+
+		clone: function (dataAndEvents, deepDataAndEvents) {
+			dataAndEvents = dataAndEvents == null ? false : dataAndEvents;
+			deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents;
+
+			return this.map(function () {
+				return jQuery.clone(this, dataAndEvents, deepDataAndEvents);
+			});
+		},
+
+		html: function (value) {
+			return access(this, function (value) {
+				var elem = this[0] || {},
+					i = 0,
+					l = this.length;
+
+				if (value === undefined && elem.nodeType === 1) {
+					return elem.innerHTML;
+				}
+
+				// See if we can take a shortcut and just use innerHTML
+				if (typeof value === "string" && !rnoInnerhtml.test(value) &&
+					!wrapMap[(rtagName.exec(value) || ["", ""])[1].toLowerCase()]) {
+
+					value = jQuery.htmlPrefilter(value);
+
+					try {
+						for (; i < l; i++) {
+							elem = this[i] || {};
+
+							// Remove element nodes and prevent memory leaks
+							if (elem.nodeType === 1) {
+								jQuery.cleanData(getAll(elem, false));
+								elem.innerHTML = value;
+							}
+						}
+
+						elem = 0;
+
+						// If using innerHTML throws an exception, use the fallback method
+					} catch (e) { }
+				}
+
+				if (elem) {
+					this.empty().append(value);
+				}
+			}, null, value, arguments.length);
+		},
+
+		replaceWith: function () {
+			var ignored = [];
+
+			// Make the changes, replacing each non-ignored context element with the new content
+			return domManip(this, arguments, function (elem) {
+				var parent = this.parentNode;
+
+				if (jQuery.inArray(this, ignored) < 0) {
+					jQuery.cleanData(getAll(this));
+					if (parent) {
+						parent.replaceChild(elem, this);
+					}
+				}
+
+				// Force callback invocation
+			}, ignored);
+		}
+	});
+
+	jQuery.each({
+		appendTo: "append",
+		prependTo: "prepend",
+		insertBefore: "before",
+		insertAfter: "after",
+		replaceAll: "replaceWith"
+	}, function (name, original) {
+		jQuery.fn[name] = function (selector) {
+			var elems,
+				ret = [],
+				insert = jQuery(selector),
+				last = insert.length - 1,
+				i = 0;
+
+			for (; i <= last; i++) {
+				elems = i === last ? this : this.clone(true);
+				jQuery(insert[i])[original](elems);
+
+				// Support: Android <=4.0 only, PhantomJS 1 only
+				// .get() because push.apply(_, arraylike) throws on ancient WebKit
+				push.apply(ret, elems.get());
+			}
+
+			return this.pushStack(ret);
+		};
+	});
+	var rnumnonpx = new RegExp("^(" + pnum + ")(?!px)[a-z%]+$", "i");
+
+	var getStyles = function (elem) {
+
+		// Support: IE <=11 only, Firefox <=30 (#15098, #14150)
+		// IE throws on elements created in popups
+		// FF meanwhile throws on frame elements through "defaultView.getComputedStyle"
+		var view = elem.ownerDocument.defaultView;
+
+		if (!view || !view.opener) {
+			view = window;
+		}
+
+		return view.getComputedStyle(elem);
+	};
+
+	var swap = function (elem, options, callback) {
+		var ret, name,
+			old = {};
+
+		// Remember the old values, and insert the new ones
+		for (name in options) {
+			old[name] = elem.style[name];
+			elem.style[name] = options[name];
+		}
+
+		ret = callback.call(elem);
+
+		// Revert the old values
+		for (name in options) {
+			elem.style[name] = old[name];
+		}
+
+		return ret;
+	};
+
+
+	var rboxStyle = new RegExp(cssExpand.join("|"), "i");
+
+
+
+	(function () {
+
+		// Executing both pixelPosition & boxSizingReliable tests require only one layout
+		// so they're executed at the same time to save the second computation.
+		function computeStyleTests() {
+
+			// This is a singleton, we need to execute it only once
+			if (!div) {
+				return;
+			}
+
+			container.style.cssText = "position:absolute;left:-11111px;width:60px;" +
+				"margin-top:1px;padding:0;border:0";
+			div.style.cssText =
+				"position:relative;display:block;box-sizing:border-box;overflow:scroll;" +
+				"margin:auto;border:1px;padding:1px;" +
+				"width:60%;top:1%";
+			documentElement.appendChild(container).appendChild(div);
+
+			var divStyle = window.getComputedStyle(div);
+			pixelPositionVal = divStyle.top !== "1%";
+
+			// Support: Android 4.0 - 4.3 only, Firefox <=3 - 44
+			reliableMarginLeftVal = roundPixelMeasures(divStyle.marginLeft) === 12;
+
+			// Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3
+			// Some styles come back with percentage values, even though they shouldn't
+			div.style.right = "60%";
+			pixelBoxStylesVal = roundPixelMeasures(divStyle.right) === 36;
+
+			// Support: IE 9 - 11 only
+			// Detect misreporting of content dimensions for box-sizing:border-box elements
+			boxSizingReliableVal = roundPixelMeasures(divStyle.width) === 36;
+
+			// Support: IE 9 only
+			// Detect overflow:scroll screwiness (gh-3699)
+			// Support: Chrome <=64
+			// Don't get tricked when zoom affects offsetWidth (gh-4029)
+			div.style.position = "absolute";
+			scrollboxSizeVal = roundPixelMeasures(div.offsetWidth / 3) === 12;
+
+			documentElement.removeChild(container);
+
+			// Nullify the div so it wouldn't be stored in the memory and
+			// it will also be a sign that checks already performed
+			div = null;
+		}
+
+		function roundPixelMeasures(measure) {
+			return Math.round(parseFloat(measure));
+		}
+
+		var pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal,
+			reliableTrDimensionsVal, reliableMarginLeftVal,
+			container = document.createElement("div"),
+			div = document.createElement("div");
+
+		// Finish early in limited (non-browser) environments
+		if (!div.style) {
+			return;
+		}
+
+		// Support: IE <=9 - 11 only
+		// Style of cloned element affects source element cloned (#8908)
+		div.style.backgroundClip = "content-box";
+		div.cloneNode(true).style.backgroundClip = "";
+		support.clearCloneStyle = div.style.backgroundClip === "content-box";
+
+		jQuery.extend(support, {
+			boxSizingReliable: function () {
+				computeStyleTests();
+				return boxSizingReliableVal;
+			},
+			pixelBoxStyles: function () {
+				computeStyleTests();
+				return pixelBoxStylesVal;
+			},
+			pixelPosition: function () {
+				computeStyleTests();
+				return pixelPositionVal;
+			},
+			reliableMarginLeft: function () {
+				computeStyleTests();
+				return reliableMarginLeftVal;
+			},
+			scrollboxSize: function () {
+				computeStyleTests();
+				return scrollboxSizeVal;
+			},
+
+			// Support: IE 9 - 11+, Edge 15 - 18+
+			// IE/Edge misreport `getComputedStyle` of table rows with width/height
+			// set in CSS while `offset*` properties report correct values.
+			// Behavior in IE 9 is more subtle than in newer versions & it passes
+			// some versions of this test; make sure not to make it pass there!
+			reliableTrDimensions: function () {
+				var table, tr, trChild, trStyle;
+				if (reliableTrDimensionsVal == null) {
+					table = document.createElement("table");
+					tr = document.createElement("tr");
+					trChild = document.createElement("div");
+
+					table.style.cssText = "position:absolute;left:-11111px";
+					tr.style.height = "1px";
+					trChild.style.height = "9px";
+
+					documentElement
+						.appendChild(table)
+						.appendChild(tr)
+						.appendChild(trChild);
+
+					trStyle = window.getComputedStyle(tr);
+					reliableTrDimensionsVal = parseInt(trStyle.height) > 3;
+
+					documentElement.removeChild(table);
+				}
+				return reliableTrDimensionsVal;
+			}
+		});
+	})();
+
+
+	function curCSS(elem, name, computed) {
+		var width, minWidth, maxWidth, ret,
+
+			// Support: Firefox 51+
+			// Retrieving style before computed somehow
+			// fixes an issue with getting wrong values
+			// on detached elements
+			style = elem.style;
+
+		computed = computed || getStyles(elem);
+
+		// getPropertyValue is needed for:
+		//   .css('filter') (IE 9 only, #12537)
+		//   .css('--customProperty) (#3144)
+		if (computed) {
+			ret = computed.getPropertyValue(name) || computed[name];
+
+			if (ret === "" && !isAttached(elem)) {
+				ret = jQuery.style(elem, name);
+			}
+
+			// A tribute to the "awesome hack by Dean Edwards"
+			// Android Browser returns percentage for some values,
+			// but width seems to be reliably pixels.
+			// This is against the CSSOM draft spec:
+			// https://drafts.csswg.org/cssom/#resolved-values
+			if (!support.pixelBoxStyles() && rnumnonpx.test(ret) && rboxStyle.test(name)) {
+
+				// Remember the original values
+				width = style.width;
+				minWidth = style.minWidth;
+				maxWidth = style.maxWidth;
+
+				// Put in the new values to get a computed value out
+				style.minWidth = style.maxWidth = style.width = ret;
+				ret = computed.width;
+
+				// Revert the changed values
+				style.width = width;
+				style.minWidth = minWidth;
+				style.maxWidth = maxWidth;
+			}
+		}
+
+		return ret !== undefined ?
+
+			// Support: IE <=9 - 11 only
+			// IE returns zIndex value as an integer.
+			ret + "" :
+			ret;
+	}
+
+
+	function addGetHookIf(conditionFn, hookFn) {
+
+		// Define the hook, we'll check on the first run if it's really needed.
+		return {
+			get: function () {
+				if (conditionFn()) {
+
+					// Hook not needed (or it's not possible to use it due
+					// to missing dependency), remove it.
+					delete this.get;
+					return;
+				}
+
+				// Hook needed; redefine it so that the support test is not executed again.
+				return (this.get = hookFn).apply(this, arguments);
+			}
+		};
+	}
+
+
+	var cssPrefixes = ["Webkit", "Moz", "ms"],
+		emptyStyle = document.createElement("div").style,
+		vendorProps = {};
+
+	// Return a vendor-prefixed property or undefined
+	function vendorPropName(name) {
+
+		// Check for vendor prefixed names
+		var capName = name[0].toUpperCase() + name.slice(1),
+			i = cssPrefixes.length;
+
+		while (i--) {
+			name = cssPrefixes[i] + capName;
+			if (name in emptyStyle) {
+				return name;
+			}
+		}
+	}
+
+	// Return a potentially-mapped jQuery.cssProps or vendor prefixed property
+	function finalPropName(name) {
+		var final = jQuery.cssProps[name] || vendorProps[name];
+
+		if (final) {
+			return final;
+		}
+		if (name in emptyStyle) {
+			return name;
+		}
+		return vendorProps[name] = vendorPropName(name) || name;
+	}
+
+
+	var
+
+		// Swappable if display is none or starts with table
+		// except "table", "table-cell", or "table-caption"
+		// See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display
+		rdisplayswap = /^(none|table(?!-c[ea]).+)/,
+		rcustomProp = /^--/,
+		cssShow = { position: "absolute", visibility: "hidden", display: "block" },
+		cssNormalTransform = {
+			letterSpacing: "0",
+			fontWeight: "400"
+		};
+
+	function setPositiveNumber(_elem, value, subtract) {
+
+		// Any relative (+/-) values have already been
+		// normalized at this point
+		var matches = rcssNum.exec(value);
+		return matches ?
+
+			// Guard against undefined "subtract", e.g., when used as in cssHooks
+			Math.max(0, matches[2] - (subtract || 0)) + (matches[3] || "px") :
+			value;
+	}
+
+	function boxModelAdjustment(elem, dimension, box, isBorderBox, styles, computedVal) {
+		var i = dimension === "width" ? 1 : 0,
+			extra = 0,
+			delta = 0;
+
+		// Adjustment may not be necessary
+		if (box === (isBorderBox ? "border" : "content")) {
+			return 0;
+		}
+
+		for (; i < 4; i += 2) {
+
+			// Both box models exclude margin
+			if (box === "margin") {
+				delta += jQuery.css(elem, box + cssExpand[i], true, styles);
+			}
+
+			// If we get here with a content-box, we're seeking "padding" or "border" or "margin"
+			if (!isBorderBox) {
+
+				// Add padding
+				delta += jQuery.css(elem, "padding" + cssExpand[i], true, styles);
+
+				// For "border" or "margin", add border
+				if (box !== "padding") {
+					delta += jQuery.css(elem, "border" + cssExpand[i] + "Width", true, styles);
+
+					// But still keep track of it otherwise
+				} else {
+					extra += jQuery.css(elem, "border" + cssExpand[i] + "Width", true, styles);
+				}
+
+				// If we get here with a border-box (content + padding + border), we're seeking "content" or
+				// "padding" or "margin"
+			} else {
+
+				// For "content", subtract padding
+				if (box === "content") {
+					delta -= jQuery.css(elem, "padding" + cssExpand[i], true, styles);
+				}
+
+				// For "content" or "padding", subtract border
+				if (box !== "margin") {
+					delta -= jQuery.css(elem, "border" + cssExpand[i] + "Width", true, styles);
+				}
+			}
+		}
+
+		// Account for positive content-box scroll gutter when requested by providing computedVal
+		if (!isBorderBox && computedVal >= 0) {
+
+			// offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border
+			// Assuming integer scroll gutter, subtract the rest and round down
+			delta += Math.max(0, Math.ceil(
+				elem["offset" + dimension[0].toUpperCase() + dimension.slice(1)] -
+				computedVal -
+				delta -
+				extra -
+				0.5
+
+				// If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter
+				// Use an explicit zero to avoid NaN (gh-3964)
+			)) || 0;
+		}
+
+		return delta;
+	}
+
+	function getWidthOrHeight(elem, dimension, extra) {
+
+		// Start with computed style
+		var styles = getStyles(elem),
+
+			// To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322).
+			// Fake content-box until we know it's needed to know the true value.
+			boxSizingNeeded = !support.boxSizingReliable() || extra,
+			isBorderBox = boxSizingNeeded &&
+				jQuery.css(elem, "boxSizing", false, styles) === "border-box",
+			valueIsBorderBox = isBorderBox,
+
+			val = curCSS(elem, dimension, styles),
+			offsetProp = "offset" + dimension[0].toUpperCase() + dimension.slice(1);
+
+		// Support: Firefox <=54
+		// Return a confounding non-pixel value or feign ignorance, as appropriate.
+		if (rnumnonpx.test(val)) {
+			if (!extra) {
+				return val;
+			}
+			val = "auto";
+		}
+
+
+		// Support: IE 9 - 11 only
+		// Use offsetWidth/offsetHeight for when box sizing is unreliable.
+		// In those cases, the computed value can be trusted to be border-box.
+		if ((!support.boxSizingReliable() && isBorderBox ||
+
+			// Support: IE 10 - 11+, Edge 15 - 18+
+			// IE/Edge misreport `getComputedStyle` of table rows with width/height
+			// set in CSS while `offset*` properties report correct values.
+			// Interestingly, in some cases IE 9 doesn't suffer from this issue.
+			!support.reliableTrDimensions() && nodeName(elem, "tr") ||
+
+			// Fall back to offsetWidth/offsetHeight when value is "auto"
+			// This happens for inline elements with no explicit setting (gh-3571)
+			val === "auto" ||
+
+			// Support: Android <=4.1 - 4.3 only
+			// Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602)
+			!parseFloat(val) && jQuery.css(elem, "display", false, styles) === "inline") &&
+
+			// Make sure the element is visible & connected
+			elem.getClientRects().length) {
+
+			isBorderBox = jQuery.css(elem, "boxSizing", false, styles) === "border-box";
+
+			// Where available, offsetWidth/offsetHeight approximate border box dimensions.
+			// Where not available (e.g., SVG), assume unreliable box-sizing and interpret the
+			// retrieved value as a content box dimension.
+			valueIsBorderBox = offsetProp in elem;
+			if (valueIsBorderBox) {
+				val = elem[offsetProp];
+			}
+		}
+
+		// Normalize "" and auto
+		val = parseFloat(val) || 0;
+
+		// Adjust for the element's box model
+		return (val +
+			boxModelAdjustment(
+				elem,
+				dimension,
+				extra || (isBorderBox ? "border" : "content"),
+				valueIsBorderBox,
+				styles,
+
+				// Provide the current computed size to request scroll gutter calculation (gh-3589)
+				val
+			)
+		) + "px";
+	}
+
+	jQuery.extend({
+
+		// Add in style property hooks for overriding the default
+		// behavior of getting and setting a style property
+		cssHooks: {
+			opacity: {
+				get: function (elem, computed) {
+					if (computed) {
+
+						// We should always get a number back from opacity
+						var ret = curCSS(elem, "opacity");
+						return ret === "" ? "1" : ret;
+					}
+				}
+			}
+		},
+
+		// Don't automatically add "px" to these possibly-unitless properties
+		cssNumber: {
+			"animationIterationCount": true,
+			"columnCount": true,
+			"fillOpacity": true,
+			"flexGrow": true,
+			"flexShrink": true,
+			"fontWeight": true,
+			"gridArea": true,
+			"gridColumn": true,
+			"gridColumnEnd": true,
+			"gridColumnStart": true,
+			"gridRow": true,
+			"gridRowEnd": true,
+			"gridRowStart": true,
+			"lineHeight": true,
+			"opacity": true,
+			"order": true,
+			"orphans": true,
+			"widows": true,
+			"zIndex": true,
+			"zoom": true
+		},
+
+		// Add in properties whose names you wish to fix before
+		// setting or getting the value
+		cssProps: {},
+
+		// Get and set the style property on a DOM Node
+		style: function (elem, name, value, extra) {
+
+			// Don't set styles on text and comment nodes
+			if (!elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style) {
+				return;
+			}
+
+			// Make sure that we're working with the right name
+			var ret, type, hooks,
+				origName = camelCase(name),
+				isCustomProp = rcustomProp.test(name),
+				style = elem.style;
+
+			// Make sure that we're working with the right name. We don't
+			// want to query the value if it is a CSS custom property
+			// since they are user-defined.
+			if (!isCustomProp) {
+				name = finalPropName(origName);
+			}
+
+			// Gets hook for the prefixed version, then unprefixed version
+			hooks = jQuery.cssHooks[name] || jQuery.cssHooks[origName];
+
+			// Check if we're setting a value
+			if (value !== undefined) {
+				type = typeof value;
+
+				// Convert "+=" or "-=" to relative numbers (#7345)
+				if (type === "string" && (ret = rcssNum.exec(value)) && ret[1]) {
+					value = adjustCSS(elem, name, ret);
+
+					// Fixes bug #9237
+					type = "number";
+				}
+
+				// Make sure that null and NaN values aren't set (#7116)
+				if (value == null || value !== value) {
+					return;
+				}
+
+				// If a number was passed in, add the unit (except for certain CSS properties)
+				// The isCustomProp check can be removed in jQuery 4.0 when we only auto-append
+				// "px" to a few hardcoded values.
+				if (type === "number" && !isCustomProp) {
+					value += ret && ret[3] || (jQuery.cssNumber[origName] ? "" : "px");
+				}
+
+				// background-* props affect original clone's values
+				if (!support.clearCloneStyle && value === "" && name.indexOf("background") === 0) {
+					style[name] = "inherit";
+				}
+
+				// If a hook was provided, use that value, otherwise just set the specified value
+				if (!hooks || !("set" in hooks) ||
+					(value = hooks.set(elem, value, extra)) !== undefined) {
+
+					if (isCustomProp) {
+						style.setProperty(name, value);
+					} else {
+						style[name] = value;
+					}
+				}
+
+			} else {
+
+				// If a hook was provided get the non-computed value from there
+				if (hooks && "get" in hooks &&
+					(ret = hooks.get(elem, false, extra)) !== undefined) {
+
+					return ret;
+				}
+
+				// Otherwise just get the value from the style object
+				return style[name];
+			}
+		},
+
+		css: function (elem, name, extra, styles) {
+			var val, num, hooks,
+				origName = camelCase(name),
+				isCustomProp = rcustomProp.test(name);
+
+			// Make sure that we're working with the right name. We don't
+			// want to modify the value if it is a CSS custom property
+			// since they are user-defined.
+			if (!isCustomProp) {
+				name = finalPropName(origName);
+			}
+
+			// Try prefixed name followed by the unprefixed name
+			hooks = jQuery.cssHooks[name] || jQuery.cssHooks[origName];
+
+			// If a hook was provided get the computed value from there
+			if (hooks && "get" in hooks) {
+				val = hooks.get(elem, true, extra);
+			}
+
+			// Otherwise, if a way to get the computed value exists, use that
+			if (val === undefined) {
+				val = curCSS(elem, name, styles);
+			}
+
+			// Convert "normal" to computed value
+			if (val === "normal" && name in cssNormalTransform) {
+				val = cssNormalTransform[name];
+			}
+
+			// Make numeric if forced or a qualifier was provided and val looks numeric
+			if (extra === "" || extra) {
+				num = parseFloat(val);
+				return extra === true || isFinite(num) ? num || 0 : val;
+			}
+
+			return val;
+		}
+	});
+
+	jQuery.each(["height", "width"], function (_i, dimension) {
+		jQuery.cssHooks[dimension] = {
+			get: function (elem, computed, extra) {
+				if (computed) {
+
+					// Certain elements can have dimension info if we invisibly show them
+					// but it must have a current display style that would benefit
+					return rdisplayswap.test(jQuery.css(elem, "display")) &&
+
+						// Support: Safari 8+
+						// Table columns in Safari have non-zero offsetWidth & zero
+						// getBoundingClientRect().width unless display is changed.
+						// Support: IE <=11 only
+						// Running getBoundingClientRect on a disconnected node
+						// in IE throws an error.
+						(!elem.getClientRects().length || !elem.getBoundingClientRect().width) ?
+						swap(elem, cssShow, function () {
+							return getWidthOrHeight(elem, dimension, extra);
+						}) :
+						getWidthOrHeight(elem, dimension, extra);
+				}
+			},
+
+			set: function (elem, value, extra) {
+				var matches,
+					styles = getStyles(elem),
+
+					// Only read styles.position if the test has a chance to fail
+					// to avoid forcing a reflow.
+					scrollboxSizeBuggy = !support.scrollboxSize() &&
+						styles.position === "absolute",
+
+					// To avoid forcing a reflow, only fetch boxSizing if we need it (gh-3991)
+					boxSizingNeeded = scrollboxSizeBuggy || extra,
+					isBorderBox = boxSizingNeeded &&
+						jQuery.css(elem, "boxSizing", false, styles) === "border-box",
+					subtract = extra ?
+						boxModelAdjustment(
+							elem,
+							dimension,
+							extra,
+							isBorderBox,
+							styles
+						) :
+						0;
+
+				// Account for unreliable border-box dimensions by comparing offset* to computed and
+				// faking a content-box to get border and padding (gh-3699)
+				if (isBorderBox && scrollboxSizeBuggy) {
+					subtract -= Math.ceil(
+						elem["offset" + dimension[0].toUpperCase() + dimension.slice(1)] -
+						parseFloat(styles[dimension]) -
+						boxModelAdjustment(elem, dimension, "border", false, styles) -
+						0.5
+					);
+				}
+
+				// Convert to pixels if value adjustment is needed
+				if (subtract && (matches = rcssNum.exec(value)) &&
+					(matches[3] || "px") !== "px") {
+
+					elem.style[dimension] = value;
+					value = jQuery.css(elem, dimension);
+				}
+
+				return setPositiveNumber(elem, value, subtract);
+			}
+		};
+	});
+
+	jQuery.cssHooks.marginLeft = addGetHookIf(support.reliableMarginLeft,
+		function (elem, computed) {
+			if (computed) {
+				return (parseFloat(curCSS(elem, "marginLeft")) ||
+					elem.getBoundingClientRect().left -
+					swap(elem, { marginLeft: 0 }, function () {
+						return elem.getBoundingClientRect().left;
+					})
+				) + "px";
+			}
+		}
+	);
+
+	// These hooks are used by animate to expand properties
+	jQuery.each({
+		margin: "",
+		padding: "",
+		border: "Width"
+	}, function (prefix, suffix) {
+		jQuery.cssHooks[prefix + suffix] = {
+			expand: function (value) {
+				var i = 0,
+					expanded = {},
+
+					// Assumes a single number if not a string
+					parts = typeof value === "string" ? value.split(" ") : [value];
+
+				for (; i < 4; i++) {
+					expanded[prefix + cssExpand[i] + suffix] =
+						parts[i] || parts[i - 2] || parts[0];
+				}
+
+				return expanded;
+			}
+		};
+
+		if (prefix !== "margin") {
+			jQuery.cssHooks[prefix + suffix].set = setPositiveNumber;
+		}
+	});
+
+	jQuery.fn.extend({
+		css: function (name, value) {
+			return access(this, function (elem, name, value) {
+				var styles, len,
+					map = {},
+					i = 0;
+
+				if (Array.isArray(name)) {
+					styles = getStyles(elem);
+					len = name.length;
+
+					for (; i < len; i++) {
+						map[name[i]] = jQuery.css(elem, name[i], false, styles);
+					}
+
+					return map;
+				}
+
+				return value !== undefined ?
+					jQuery.style(elem, name, value) :
+					jQuery.css(elem, name);
+			}, name, value, arguments.length > 1);
+		}
+	});
+
+
+	function Tween(elem, options, prop, end, easing) {
+		return new Tween.prototype.init(elem, options, prop, end, easing);
+	}
+	jQuery.Tween = Tween;
+
+	Tween.prototype = {
+		constructor: Tween,
+		init: function (elem, options, prop, end, easing, unit) {
+			this.elem = elem;
+			this.prop = prop;
+			this.easing = easing || jQuery.easing._default;
+			this.options = options;
+			this.start = this.now = this.cur();
+			this.end = end;
+			this.unit = unit || (jQuery.cssNumber[prop] ? "" : "px");
+		},
+		cur: function () {
+			var hooks = Tween.propHooks[this.prop];
+
+			return hooks && hooks.get ?
+				hooks.get(this) :
+				Tween.propHooks._default.get(this);
+		},
+		run: function (percent) {
+			var eased,
+				hooks = Tween.propHooks[this.prop];
+
+			if (this.options.duration) {
+				this.pos = eased = jQuery.easing[this.easing](
+					percent, this.options.duration * percent, 0, 1, this.options.duration
+				);
+			} else {
+				this.pos = eased = percent;
+			}
+			this.now = (this.end - this.start) * eased + this.start;
+
+			if (this.options.step) {
+				this.options.step.call(this.elem, this.now, this);
+			}
+
+			if (hooks && hooks.set) {
+				hooks.set(this);
+			} else {
+				Tween.propHooks._default.set(this);
+			}
+			return this;
+		}
+	};
+
+	Tween.prototype.init.prototype = Tween.prototype;
+
+	Tween.propHooks = {
+		_default: {
+			get: function (tween) {
+				var result;
+
+				// Use a property on the element directly when it is not a DOM element,
+				// or when there is no matching style property that exists.
+				if (tween.elem.nodeType !== 1 ||
+					tween.elem[tween.prop] != null && tween.elem.style[tween.prop] == null) {
+					return tween.elem[tween.prop];
+				}
+
+				// Passing an empty string as a 3rd parameter to .css will automatically
+				// attempt a parseFloat and fallback to a string if the parse fails.
+				// Simple values such as "10px" are parsed to Float;
+				// complex values such as "rotate(1rad)" are returned as-is.
+				result = jQuery.css(tween.elem, tween.prop, "");
+
+				// Empty strings, null, undefined and "auto" are converted to 0.
+				return !result || result === "auto" ? 0 : result;
+			},
+			set: function (tween) {
+
+				// Use step hook for back compat.
+				// Use cssHook if its there.
+				// Use .style if available and use plain properties where available.
+				if (jQuery.fx.step[tween.prop]) {
+					jQuery.fx.step[tween.prop](tween);
+				} else if (tween.elem.nodeType === 1 && (
+					jQuery.cssHooks[tween.prop] ||
+					tween.elem.style[finalPropName(tween.prop)] != null)) {
+					jQuery.style(tween.elem, tween.prop, tween.now + tween.unit);
+				} else {
+					tween.elem[tween.prop] = tween.now;
+				}
+			}
+		}
+	};
+
+	// Support: IE <=9 only
+	// Panic based approach to setting things on disconnected nodes
+	Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = {
+		set: function (tween) {
+			if (tween.elem.nodeType && tween.elem.parentNode) {
+				tween.elem[tween.prop] = tween.now;
+			}
+		}
+	};
+
+	jQuery.easing = {
+		linear: function (p) {
+			return p;
+		},
+		swing: function (p) {
+			return 0.5 - Math.cos(p * Math.PI) / 2;
+		},
+		_default: "swing"
+	};
+
+	jQuery.fx = Tween.prototype.init;
+
+	// Back compat <1.8 extension point
+	jQuery.fx.step = {};
+
+
+
+
+	var
+		fxNow, inProgress,
+		rfxtypes = /^(?:toggle|show|hide)$/,
+		rrun = /queueHooks$/;
+
+	function schedule() {
+		if (inProgress) {
+			if (document.hidden === false && window.requestAnimationFrame) {
+				window.requestAnimationFrame(schedule);
+			} else {
+				window.setTimeout(schedule, jQuery.fx.interval);
+			}
+
+			jQuery.fx.tick();
+		}
+	}
+
+	// Animations created synchronously will run synchronously
+	function createFxNow() {
+		window.setTimeout(function () {
+			fxNow = undefined;
+		});
+		return (fxNow = Date.now());
+	}
+
+	// Generate parameters to create a standard animation
+	function genFx(type, includeWidth) {
+		var which,
+			i = 0,
+			attrs = { height: type };
+
+		// If we include width, step value is 1 to do all cssExpand values,
+		// otherwise step value is 2 to skip over Left and Right
+		includeWidth = includeWidth ? 1 : 0;
+		for (; i < 4; i += 2 - includeWidth) {
+			which = cssExpand[i];
+			attrs["margin" + which] = attrs["padding" + which] = type;
+		}
+
+		if (includeWidth) {
+			attrs.opacity = attrs.width = type;
+		}
+
+		return attrs;
+	}
+
+	function createTween(value, prop, animation) {
+		var tween,
+			collection = (Animation.tweeners[prop] || []).concat(Animation.tweeners["*"]),
+			index = 0,
+			length = collection.length;
+		for (; index < length; index++) {
+			if ((tween = collection[index].call(animation, prop, value))) {
+
+				// We're done with this property
+				return tween;
+			}
+		}
+	}
+
+	function defaultPrefilter(elem, props, opts) {
+		var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display,
+			isBox = "width" in props || "height" in props,
+			anim = this,
+			orig = {},
+			style = elem.style,
+			hidden = elem.nodeType && isHiddenWithinTree(elem),
+			dataShow = dataPriv.get(elem, "fxshow");
+
+		// Queue-skipping animations hijack the fx hooks
+		if (!opts.queue) {
+			hooks = jQuery._queueHooks(elem, "fx");
+			if (hooks.unqueued == null) {
+				hooks.unqueued = 0;
+				oldfire = hooks.empty.fire;
+				hooks.empty.fire = function () {
+					if (!hooks.unqueued) {
+						oldfire();
+					}
+				};
+			}
+			hooks.unqueued++;
+
+			anim.always(function () {
+
+				// Ensure the complete handler is called before this completes
+				anim.always(function () {
+					hooks.unqueued--;
+					if (!jQuery.queue(elem, "fx").length) {
+						hooks.empty.fire();
+					}
+				});
+			});
+		}
+
+		// Detect show/hide animations
+		for (prop in props) {
+			value = props[prop];
+			if (rfxtypes.test(value)) {
+				delete props[prop];
+				toggle = toggle || value === "toggle";
+				if (value === (hidden ? "hide" : "show")) {
+
+					// Pretend to be hidden if this is a "show" and
+					// there is still data from a stopped show/hide
+					if (value === "show" && dataShow && dataShow[prop] !== undefined) {
+						hidden = true;
+
+						// Ignore all other no-op show/hide data
+					} else {
+						continue;
+					}
+				}
+				orig[prop] = dataShow && dataShow[prop] || jQuery.style(elem, prop);
+			}
+		}
+
+		// Bail out if this is a no-op like .hide().hide()
+		propTween = !jQuery.isEmptyObject(props);
+		if (!propTween && jQuery.isEmptyObject(orig)) {
+			return;
+		}
+
+		// Restrict "overflow" and "display" styles during box animations
+		if (isBox && elem.nodeType === 1) {
+
+			// Support: IE <=9 - 11, Edge 12 - 15
+			// Record all 3 overflow attributes because IE does not infer the shorthand
+			// from identically-valued overflowX and overflowY and Edge just mirrors
+			// the overflowX value there.
+			opts.overflow = [style.overflow, style.overflowX, style.overflowY];
+
+			// Identify a display type, preferring old show/hide data over the CSS cascade
+			restoreDisplay = dataShow && dataShow.display;
+			if (restoreDisplay == null) {
+				restoreDisplay = dataPriv.get(elem, "display");
+			}
+			display = jQuery.css(elem, "display");
+			if (display === "none") {
+				if (restoreDisplay) {
+					display = restoreDisplay;
+				} else {
+
+					// Get nonempty value(s) by temporarily forcing visibility
+					showHide([elem], true);
+					restoreDisplay = elem.style.display || restoreDisplay;
+					display = jQuery.css(elem, "display");
+					showHide([elem]);
+				}
+			}
+
+			// Animate inline elements as inline-block
+			if (display === "inline" || display === "inline-block" && restoreDisplay != null) {
+				if (jQuery.css(elem, "float") === "none") {
+
+					// Restore the original display value at the end of pure show/hide animations
+					if (!propTween) {
+						anim.done(function () {
+							style.display = restoreDisplay;
+						});
+						if (restoreDisplay == null) {
+							display = style.display;
+							restoreDisplay = display === "none" ? "" : display;
+						}
+					}
+					style.display = "inline-block";
+				}
+			}
+		}
+
+		if (opts.overflow) {
+			style.overflow = "hidden";
+			anim.always(function () {
+				style.overflow = opts.overflow[0];
+				style.overflowX = opts.overflow[1];
+				style.overflowY = opts.overflow[2];
+			});
+		}
+
+		// Implement show/hide animations
+		propTween = false;
+		for (prop in orig) {
+
+			// General show/hide setup for this element animation
+			if (!propTween) {
+				if (dataShow) {
+					if ("hidden" in dataShow) {
+						hidden = dataShow.hidden;
+					}
+				} else {
+					dataShow = dataPriv.access(elem, "fxshow", { display: restoreDisplay });
+				}
+
+				// Store hidden/visible for toggle so `.stop().toggle()` "reverses"
+				if (toggle) {
+					dataShow.hidden = !hidden;
+				}
+
+				// Show elements before animating them
+				if (hidden) {
+					showHide([elem], true);
+				}
+
+				/* eslint-disable no-loop-func */
+
+				anim.done(function () {
+
+					/* eslint-enable no-loop-func */
+
+					// The final step of a "hide" animation is actually hiding the element
+					if (!hidden) {
+						showHide([elem]);
+					}
+					dataPriv.remove(elem, "fxshow");
+					for (prop in orig) {
+						jQuery.style(elem, prop, orig[prop]);
+					}
+				});
+			}
+
+			// Per-property setup
+			propTween = createTween(hidden ? dataShow[prop] : 0, prop, anim);
+			if (!(prop in dataShow)) {
+				dataShow[prop] = propTween.start;
+				if (hidden) {
+					propTween.end = propTween.start;
+					propTween.start = 0;
+				}
+			}
+		}
+	}
+
+	function propFilter(props, specialEasing) {
+		var index, name, easing, value, hooks;
+
+		// camelCase, specialEasing and expand cssHook pass
+		for (index in props) {
+			name = camelCase(index);
+			easing = specialEasing[name];
+			value = props[index];
+			if (Array.isArray(value)) {
+				easing = value[1];
+				value = props[index] = value[0];
+			}
+
+			if (index !== name) {
+				props[name] = value;
+				delete props[index];
+			}
+
+			hooks = jQuery.cssHooks[name];
+			if (hooks && "expand" in hooks) {
+				value = hooks.expand(value);
+				delete props[name];
+
+				// Not quite $.extend, this won't overwrite existing keys.
+				// Reusing 'index' because we have the correct "name"
+				for (index in value) {
+					if (!(index in props)) {
+						props[index] = value[index];
+						specialEasing[index] = easing;
+					}
+				}
+			} else {
+				specialEasing[name] = easing;
+			}
+		}
+	}
+
+	function Animation(elem, properties, options) {
+		var result,
+			stopped,
+			index = 0,
+			length = Animation.prefilters.length,
+			deferred = jQuery.Deferred().always(function () {
+
+				// Don't match elem in the :animated selector
+				delete tick.elem;
+			}),
+			tick = function () {
+				if (stopped) {
+					return false;
+				}
+				var currentTime = fxNow || createFxNow(),
+					remaining = Math.max(0, animation.startTime + animation.duration - currentTime),
+
+					// Support: Android 2.3 only
+					// Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497)
+					temp = remaining / animation.duration || 0,
+					percent = 1 - temp,
+					index = 0,
+					length = animation.tweens.length;
+
+				for (; index < length; index++) {
+					animation.tweens[index].run(percent);
+				}
+
+				deferred.notifyWith(elem, [animation, percent, remaining]);
+
+				// If there's more to do, yield
+				if (percent < 1 && length) {
+					return remaining;
+				}
+
+				// If this was an empty animation, synthesize a final progress notification
+				if (!length) {
+					deferred.notifyWith(elem, [animation, 1, 0]);
+				}
+
+				// Resolve the animation and report its conclusion
+				deferred.resolveWith(elem, [animation]);
+				return false;
+			},
+			animation = deferred.promise({
+				elem: elem,
+				props: jQuery.extend({}, properties),
+				opts: jQuery.extend(true, {
+					specialEasing: {},
+					easing: jQuery.easing._default
+				}, options),
+				originalProperties: properties,
+				originalOptions: options,
+				startTime: fxNow || createFxNow(),
+				duration: options.duration,
+				tweens: [],
+				createTween: function (prop, end) {
+					var tween = jQuery.Tween(elem, animation.opts, prop, end,
+						animation.opts.specialEasing[prop] || animation.opts.easing);
+					animation.tweens.push(tween);
+					return tween;
+				},
+				stop: function (gotoEnd) {
+					var index = 0,
+
+						// If we are going to the end, we want to run all the tweens
+						// otherwise we skip this part
+						length = gotoEnd ? animation.tweens.length : 0;
+					if (stopped) {
+						return this;
+					}
+					stopped = true;
+					for (; index < length; index++) {
+						animation.tweens[index].run(1);
+					}
+
+					// Resolve when we played the last frame; otherwise, reject
+					if (gotoEnd) {
+						deferred.notifyWith(elem, [animation, 1, 0]);
+						deferred.resolveWith(elem, [animation, gotoEnd]);
+					} else {
+						deferred.rejectWith(elem, [animation, gotoEnd]);
+					}
+					return this;
+				}
+			}),
+			props = animation.props;
+
+		propFilter(props, animation.opts.specialEasing);
+
+		for (; index < length; index++) {
+			result = Animation.prefilters[index].call(animation, elem, props, animation.opts);
+			if (result) {
+				if (isFunction(result.stop)) {
+					jQuery._queueHooks(animation.elem, animation.opts.queue).stop =
+						result.stop.bind(result);
+				}
+				return result;
+			}
+		}
+
+		jQuery.map(props, createTween, animation);
+
+		if (isFunction(animation.opts.start)) {
+			animation.opts.start.call(elem, animation);
+		}
+
+		// Attach callbacks from options
+		animation
+			.progress(animation.opts.progress)
+			.done(animation.opts.done, animation.opts.complete)
+			.fail(animation.opts.fail)
+			.always(animation.opts.always);
+
+		jQuery.fx.timer(
+			jQuery.extend(tick, {
+				elem: elem,
+				anim: animation,
+				queue: animation.opts.queue
+			})
+		);
+
+		return animation;
+	}
+
+	jQuery.Animation = jQuery.extend(Animation, {
+
+		tweeners: {
+			"*": [function (prop, value) {
+				var tween = this.createTween(prop, value);
+				adjustCSS(tween.elem, prop, rcssNum.exec(value), tween);
+				return tween;
+			}]
+		},
+
+		tweener: function (props, callback) {
+			if (isFunction(props)) {
+				callback = props;
+				props = ["*"];
+			} else {
+				props = props.match(rnothtmlwhite);
+			}
+
+			var prop,
+				index = 0,
+				length = props.length;
+
+			for (; index < length; index++) {
+				prop = props[index];
+				Animation.tweeners[prop] = Animation.tweeners[prop] || [];
+				Animation.tweeners[prop].unshift(callback);
+			}
+		},
+
+		prefilters: [defaultPrefilter],
+
+		prefilter: function (callback, prepend) {
+			if (prepend) {
+				Animation.prefilters.unshift(callback);
+			} else {
+				Animation.prefilters.push(callback);
+			}
+		}
+	});
+
+	jQuery.speed = function (speed, easing, fn) {
+		var opt = speed && typeof speed === "object" ? jQuery.extend({}, speed) : {
+			complete: fn || !fn && easing ||
+				isFunction(speed) && speed,
+			duration: speed,
+			easing: fn && easing || easing && !isFunction(easing) && easing
+		};
+
+		// Go to the end state if fx are off
+		if (jQuery.fx.off) {
+			opt.duration = 0;
+
+		} else {
+			if (typeof opt.duration !== "number") {
+				if (opt.duration in jQuery.fx.speeds) {
+					opt.duration = jQuery.fx.speeds[opt.duration];
+
+				} else {
+					opt.duration = jQuery.fx.speeds._default;
+				}
+			}
+		}
+
+		// Normalize opt.queue - true/undefined/null -> "fx"
+		if (opt.queue == null || opt.queue === true) {
+			opt.queue = "fx";
+		}
+
+		// Queueing
+		opt.old = opt.complete;
+
+		opt.complete = function () {
+			if (isFunction(opt.old)) {
+				opt.old.call(this);
+			}
+
+			if (opt.queue) {
+				jQuery.dequeue(this, opt.queue);
+			}
+		};
+
+		return opt;
+	};
+
+	jQuery.fn.extend({
+		fadeTo: function (speed, to, easing, callback) {
+
+			// Show any hidden elements after setting opacity to 0
+			return this.filter(isHiddenWithinTree).css("opacity", 0).show()
+
+				// Animate to the value specified
+				.end().animate({ opacity: to }, speed, easing, callback);
+		},
+		animate: function (prop, speed, easing, callback) {
+			var empty = jQuery.isEmptyObject(prop),
+				optall = jQuery.speed(speed, easing, callback),
+				doAnimation = function () {
+
+					// Operate on a copy of prop so per-property easing won't be lost
+					var anim = Animation(this, jQuery.extend({}, prop), optall);
+
+					// Empty animations, or finishing resolves immediately
+					if (empty || dataPriv.get(this, "finish")) {
+						anim.stop(true);
+					}
+				};
+			doAnimation.finish = doAnimation;
+
+			return empty || optall.queue === false ?
+				this.each(doAnimation) :
+				this.queue(optall.queue, doAnimation);
+		},
+		stop: function (type, clearQueue, gotoEnd) {
+			var stopQueue = function (hooks) {
+				var stop = hooks.stop;
+				delete hooks.stop;
+				stop(gotoEnd);
+			};
+
+			if (typeof type !== "string") {
+				gotoEnd = clearQueue;
+				clearQueue = type;
+				type = undefined;
+			}
+			if (clearQueue) {
+				this.queue(type || "fx", []);
+			}
+
+			return this.each(function () {
+				var dequeue = true,
+					index = type != null && type + "queueHooks",
+					timers = jQuery.timers,
+					data = dataPriv.get(this);
+
+				if (index) {
+					if (data[index] && data[index].stop) {
+						stopQueue(data[index]);
+					}
+				} else {
+					for (index in data) {
+						if (data[index] && data[index].stop && rrun.test(index)) {
+							stopQueue(data[index]);
+						}
+					}
+				}
+
+				for (index = timers.length; index--;) {
+					if (timers[index].elem === this &&
+						(type == null || timers[index].queue === type)) {
+
+						timers[index].anim.stop(gotoEnd);
+						dequeue = false;
+						timers.splice(index, 1);
+					}
+				}
+
+				// Start the next in the queue if the last step wasn't forced.
+				// Timers currently will call their complete callbacks, which
+				// will dequeue but only if they were gotoEnd.
+				if (dequeue || !gotoEnd) {
+					jQuery.dequeue(this, type);
+				}
+			});
+		},
+		finish: function (type) {
+			if (type !== false) {
+				type = type || "fx";
+			}
+			return this.each(function () {
+				var index,
+					data = dataPriv.get(this),
+					queue = data[type + "queue"],
+					hooks = data[type + "queueHooks"],
+					timers = jQuery.timers,
+					length = queue ? queue.length : 0;
+
+				// Enable finishing flag on private data
+				data.finish = true;
+
+				// Empty the queue first
+				jQuery.queue(this, type, []);
+
+				if (hooks && hooks.stop) {
+					hooks.stop.call(this, true);
+				}
+
+				// Look for any active animations, and finish them
+				for (index = timers.length; index--;) {
+					if (timers[index].elem === this && timers[index].queue === type) {
+						timers[index].anim.stop(true);
+						timers.splice(index, 1);
+					}
+				}
+
+				// Look for any animations in the old queue and finish them
+				for (index = 0; index < length; index++) {
+					if (queue[index] && queue[index].finish) {
+						queue[index].finish.call(this);
+					}
+				}
+
+				// Turn off finishing flag
+				delete data.finish;
+			});
+		}
+	});
+
+	jQuery.each(["toggle", "show", "hide"], function (_i, name) {
+		var cssFn = jQuery.fn[name];
+		jQuery.fn[name] = function (speed, easing, callback) {
+			return speed == null || typeof speed === "boolean" ?
+				cssFn.apply(this, arguments) :
+				this.animate(genFx(name, true), speed, easing, callback);
+		};
+	});
+
+	// Generate shortcuts for custom animations
+	jQuery.each({
+		slideDown: genFx("show"),
+		slideUp: genFx("hide"),
+		slideToggle: genFx("toggle"),
+		fadeIn: { opacity: "show" },
+		fadeOut: { opacity: "hide" },
+		fadeToggle: { opacity: "toggle" }
+	}, function (name, props) {
+		jQuery.fn[name] = function (speed, easing, callback) {
+			return this.animate(props, speed, easing, callback);
+		};
+	});
+
+	jQuery.timers = [];
+	jQuery.fx.tick = function () {
+		var timer,
+			i = 0,
+			timers = jQuery.timers;
+
+		fxNow = Date.now();
+
+		for (; i < timers.length; i++) {
+			timer = timers[i];
+
+			// Run the timer and safely remove it when done (allowing for external removal)
+			if (!timer() && timers[i] === timer) {
+				timers.splice(i--, 1);
+			}
+		}
+
+		if (!timers.length) {
+			jQuery.fx.stop();
+		}
+		fxNow = undefined;
+	};
+
+	jQuery.fx.timer = function (timer) {
+		jQuery.timers.push(timer);
+		jQuery.fx.start();
+	};
+
+	jQuery.fx.interval = 13;
+	jQuery.fx.start = function () {
+		if (inProgress) {
+			return;
+		}
+
+		inProgress = true;
+		schedule();
+	};
+
+	jQuery.fx.stop = function () {
+		inProgress = null;
+	};
+
+	jQuery.fx.speeds = {
+		slow: 600,
+		fast: 200,
+
+		// Default speed
+		_default: 400
+	};
+
+
+	// Based off of the plugin by Clint Helfers, with permission.
+	// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/
+	jQuery.fn.delay = function (time, type) {
+		time = jQuery.fx ? jQuery.fx.speeds[time] || time : time;
+		type = type || "fx";
+
+		return this.queue(type, function (next, hooks) {
+			var timeout = window.setTimeout(next, time);
+			hooks.stop = function () {
+				window.clearTimeout(timeout);
+			};
+		});
+	};
+
+
+	(function () {
+		var input = document.createElement("input"),
+			select = document.createElement("select"),
+			opt = select.appendChild(document.createElement("option"));
+
+		input.type = "checkbox";
+
+		// Support: Android <=4.3 only
+		// Default value for a checkbox should be "on"
+		support.checkOn = input.value !== "";
+
+		// Support: IE <=11 only
+		// Must access selectedIndex to make default options select
+		support.optSelected = opt.selected;
+
+		// Support: IE <=11 only
+		// An input loses its value after becoming a radio
+		input = document.createElement("input");
+		input.value = "t";
+		input.type = "radio";
+		support.radioValue = input.value === "t";
+	})();
+
+
+	var boolHook,
+		attrHandle = jQuery.expr.attrHandle;
+
+	jQuery.fn.extend({
+		attr: function (name, value) {
+			return access(this, jQuery.attr, name, value, arguments.length > 1);
+		},
+
+		removeAttr: function (name) {
+			return this.each(function () {
+				jQuery.removeAttr(this, name);
+			});
+		}
+	});
+
+	jQuery.extend({
+		attr: function (elem, name, value) {
+			var ret, hooks,
+				nType = elem.nodeType;
+
+			// Don't get/set attributes on text, comment and attribute nodes
+			if (nType === 3 || nType === 8 || nType === 2) {
+				return;
+			}
+
+			// Fallback to prop when attributes are not supported
+			if (typeof elem.getAttribute === "undefined") {
+				return jQuery.prop(elem, name, value);
+			}
+
+			// Attribute hooks are determined by the lowercase version
+			// Grab necessary hook if one is defined
+			if (nType !== 1 || !jQuery.isXMLDoc(elem)) {
+				hooks = jQuery.attrHooks[name.toLowerCase()] ||
+					(jQuery.expr.match.bool.test(name) ? boolHook : undefined);
+			}
+
+			if (value !== undefined) {
+				if (value === null) {
+					jQuery.removeAttr(elem, name);
+					return;
+				}
+
+				if (hooks && "set" in hooks &&
+					(ret = hooks.set(elem, value, name)) !== undefined) {
+					return ret;
+				}
+
+				elem.setAttribute(name, value + "");
+				return value;
+			}
+
+			if (hooks && "get" in hooks && (ret = hooks.get(elem, name)) !== null) {
+				return ret;
+			}
+
+			ret = jQuery.find.attr(elem, name);
+
+			// Non-existent attributes return null, we normalize to undefined
+			return ret == null ? undefined : ret;
+		},
+
+		attrHooks: {
+			type: {
+				set: function (elem, value) {
+					if (!support.radioValue && value === "radio" &&
+						nodeName(elem, "input")) {
+						var val = elem.value;
+						elem.setAttribute("type", value);
+						if (val) {
+							elem.value = val;
+						}
+						return value;
+					}
+				}
+			}
+		},
+
+		removeAttr: function (elem, value) {
+			var name,
+				i = 0,
+
+				// Attribute names can contain non-HTML whitespace characters
+				// https://html.spec.whatwg.org/multipage/syntax.html#attributes-2
+				attrNames = value && value.match(rnothtmlwhite);
+
+			if (attrNames && elem.nodeType === 1) {
+				while ((name = attrNames[i++])) {
+					elem.removeAttribute(name);
+				}
+			}
+		}
+	});
+
+	// Hooks for boolean attributes
+	boolHook = {
+		set: function (elem, value, name) {
+			if (value === false) {
+
+				// Remove boolean attributes when set to false
+				jQuery.removeAttr(elem, name);
+			} else {
+				elem.setAttribute(name, name);
+			}
+			return name;
+		}
+	};
+
+	jQuery.each(jQuery.expr.match.bool.source.match(/\w+/g), function (_i, name) {
+		var getter = attrHandle[name] || jQuery.find.attr;
+
+		attrHandle[name] = function (elem, name, isXML) {
+			var ret, handle,
+				lowercaseName = name.toLowerCase();
+
+			if (!isXML) {
+
+				// Avoid an infinite loop by temporarily removing this function from the getter
+				handle = attrHandle[lowercaseName];
+				attrHandle[lowercaseName] = ret;
+				ret = getter(elem, name, isXML) != null ?
+					lowercaseName :
+					null;
+				attrHandle[lowercaseName] = handle;
+			}
+			return ret;
+		};
+	});
+
+
+
+
+	var rfocusable = /^(?:input|select|textarea|button)$/i,
+		rclickable = /^(?:a|area)$/i;
+
+	jQuery.fn.extend({
+		prop: function (name, value) {
+			return access(this, jQuery.prop, name, value, arguments.length > 1);
+		},
+
+		removeProp: function (name) {
+			return this.each(function () {
+				delete this[jQuery.propFix[name] || name];
+			});
+		}
+	});
+
+	jQuery.extend({
+		prop: function (elem, name, value) {
+			var ret, hooks,
+				nType = elem.nodeType;
+
+			// Don't get/set properties on text, comment and attribute nodes
+			if (nType === 3 || nType === 8 || nType === 2) {
+				return;
+			}
+
+			if (nType !== 1 || !jQuery.isXMLDoc(elem)) {
+
+				// Fix name and attach hooks
+				name = jQuery.propFix[name] || name;
+				hooks = jQuery.propHooks[name];
+			}
+
+			if (value !== undefined) {
+				if (hooks && "set" in hooks &&
+					(ret = hooks.set(elem, value, name)) !== undefined) {
+					return ret;
+				}
+
+				return (elem[name] = value);
+			}
+
+			if (hooks && "get" in hooks && (ret = hooks.get(elem, name)) !== null) {
+				return ret;
+			}
+
+			return elem[name];
+		},
+
+		propHooks: {
+			tabIndex: {
+				get: function (elem) {
+
+					// Support: IE <=9 - 11 only
+					// elem.tabIndex doesn't always return the
+					// correct value when it hasn't been explicitly set
+					// https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/
+					// Use proper attribute retrieval(#12072)
+					var tabindex = jQuery.find.attr(elem, "tabindex");
+
+					if (tabindex) {
+						return parseInt(tabindex, 10);
+					}
+
+					if (
+						rfocusable.test(elem.nodeName) ||
+						rclickable.test(elem.nodeName) &&
+						elem.href
+					) {
+						return 0;
+					}
+
+					return -1;
+				}
+			}
+		},
+
+		propFix: {
+			"for": "htmlFor",
+			"class": "className"
+		}
+	});
+
+	// Support: IE <=11 only
+	// Accessing the selectedIndex property
+	// forces the browser to respect setting selected
+	// on the option
+	// The getter ensures a default option is selected
+	// when in an optgroup
+	// eslint rule "no-unused-expressions" is disabled for this code
+	// since it considers such accessions noop
+	if (!support.optSelected) {
+		jQuery.propHooks.selected = {
+			get: function (elem) {
+
+				/* eslint no-unused-expressions: "off" */
+
+				var parent = elem.parentNode;
+				if (parent && parent.parentNode) {
+					parent.parentNode.selectedIndex;
+				}
+				return null;
+			},
+			set: function (elem) {
+
+				/* eslint no-unused-expressions: "off" */
+
+				var parent = elem.parentNode;
+				if (parent) {
+					parent.selectedIndex;
+
+					if (parent.parentNode) {
+						parent.parentNode.selectedIndex;
+					}
+				}
+			}
+		};
+	}
+
+	jQuery.each([
+		"tabIndex",
+		"readOnly",
+		"maxLength",
+		"cellSpacing",
+		"cellPadding",
+		"rowSpan",
+		"colSpan",
+		"useMap",
+		"frameBorder",
+		"contentEditable"
+	], function () {
+		jQuery.propFix[this.toLowerCase()] = this;
+	});
+
+
+
+
+	// Strip and collapse whitespace according to HTML spec
+	// https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace
+	function stripAndCollapse(value) {
+		var tokens = value.match(rnothtmlwhite) || [];
+		return tokens.join(" ");
+	}
+
+
+	function getClass(elem) {
+		return elem.getAttribute && elem.getAttribute("class") || "";
+	}
+
+	function classesToArray(value) {
+		if (Array.isArray(value)) {
+			return value;
+		}
+		if (typeof value === "string") {
+			return value.match(rnothtmlwhite) || [];
+		}
+		return [];
+	}
+
+	jQuery.fn.extend({
+		addClass: function (value) {
+			var classes, elem, cur, curValue, clazz, j, finalValue,
+				i = 0;
+
+			if (isFunction(value)) {
+				return this.each(function (j) {
+					jQuery(this).addClass(value.call(this, j, getClass(this)));
+				});
+			}
+
+			classes = classesToArray(value);
+
+			if (classes.length) {
+				while ((elem = this[i++])) {
+					curValue = getClass(elem);
+					cur = elem.nodeType === 1 && (" " + stripAndCollapse(curValue) + " ");
+
+					if (cur) {
+						j = 0;
+						while ((clazz = classes[j++])) {
+							if (cur.indexOf(" " + clazz + " ") < 0) {
+								cur += clazz + " ";
+							}
+						}
+
+						// Only assign if different to avoid unneeded rendering.
+						finalValue = stripAndCollapse(cur);
+						if (curValue !== finalValue) {
+							elem.setAttribute("class", finalValue);
+						}
+					}
+				}
+			}
+
+			return this;
+		},
+
+		removeClass: function (value) {
+			var classes, elem, cur, curValue, clazz, j, finalValue,
+				i = 0;
+
+			if (isFunction(value)) {
+				return this.each(function (j) {
+					jQuery(this).removeClass(value.call(this, j, getClass(this)));
+				});
+			}
+
+			if (!arguments.length) {
+				return this.attr("class", "");
+			}
+
+			classes = classesToArray(value);
+
+			if (classes.length) {
+				while ((elem = this[i++])) {
+					curValue = getClass(elem);
+
+					// This expression is here for better compressibility (see addClass)
+					cur = elem.nodeType === 1 && (" " + stripAndCollapse(curValue) + " ");
+
+					if (cur) {
+						j = 0;
+						while ((clazz = classes[j++])) {
+
+							// Remove *all* instances
+							while (cur.indexOf(" " + clazz + " ") > -1) {
+								cur = cur.replace(" " + clazz + " ", " ");
+							}
+						}
+
+						// Only assign if different to avoid unneeded rendering.
+						finalValue = stripAndCollapse(cur);
+						if (curValue !== finalValue) {
+							elem.setAttribute("class", finalValue);
+						}
+					}
+				}
+			}
+
+			return this;
+		},
+
+		toggleClass: function (value, stateVal) {
+			var type = typeof value,
+				isValidValue = type === "string" || Array.isArray(value);
+
+			if (typeof stateVal === "boolean" && isValidValue) {
+				return stateVal ? this.addClass(value) : this.removeClass(value);
+			}
+
+			if (isFunction(value)) {
+				return this.each(function (i) {
+					jQuery(this).toggleClass(
+						value.call(this, i, getClass(this), stateVal),
+						stateVal
+					);
+				});
+			}
+
+			return this.each(function () {
+				var className, i, self, classNames;
+
+				if (isValidValue) {
+
+					// Toggle individual class names
+					i = 0;
+					self = jQuery(this);
+					classNames = classesToArray(value);
+
+					while ((className = classNames[i++])) {
+
+						// Check each className given, space separated list
+						if (self.hasClass(className)) {
+							self.removeClass(className);
+						} else {
+							self.addClass(className);
+						}
+					}
+
+					// Toggle whole class name
+				} else if (value === undefined || type === "boolean") {
+					className = getClass(this);
+					if (className) {
+
+						// Store className if set
+						dataPriv.set(this, "__className__", className);
+					}
+
+					// If the element has a class name or if we're passed `false`,
+					// then remove the whole classname (if there was one, the above saved it).
+					// Otherwise bring back whatever was previously saved (if anything),
+					// falling back to the empty string if nothing was stored.
+					if (this.setAttribute) {
+						this.setAttribute("class",
+							className || value === false ?
+								"" :
+								dataPriv.get(this, "__className__") || ""
+						);
+					}
+				}
+			});
+		},
+
+		hasClass: function (selector) {
+			var className, elem,
+				i = 0;
+
+			className = " " + selector + " ";
+			while ((elem = this[i++])) {
+				if (elem.nodeType === 1 &&
+					(" " + stripAndCollapse(getClass(elem)) + " ").indexOf(className) > -1) {
+					return true;
+				}
+			}
+
+			return false;
+		}
+	});
+
+
+
+
+	var rreturn = /\r/g;
+
+	jQuery.fn.extend({
+		val: function (value) {
+			var hooks, ret, valueIsFunction,
+				elem = this[0];
+
+			if (!arguments.length) {
+				if (elem) {
+					hooks = jQuery.valHooks[elem.type] ||
+						jQuery.valHooks[elem.nodeName.toLowerCase()];
+
+					if (hooks &&
+						"get" in hooks &&
+						(ret = hooks.get(elem, "value")) !== undefined
+					) {
+						return ret;
+					}
+
+					ret = elem.value;
+
+					// Handle most common string cases
+					if (typeof ret === "string") {
+						return ret.replace(rreturn, "");
+					}
+
+					// Handle cases where value is null/undef or number
+					return ret == null ? "" : ret;
+				}
+
+				return;
+			}
+
+			valueIsFunction = isFunction(value);
+
+			return this.each(function (i) {
+				var val;
+
+				if (this.nodeType !== 1) {
+					return;
+				}
+
+				if (valueIsFunction) {
+					val = value.call(this, i, jQuery(this).val());
+				} else {
+					val = value;
+				}
+
+				// Treat null/undefined as ""; convert numbers to string
+				if (val == null) {
+					val = "";
+
+				} else if (typeof val === "number") {
+					val += "";
+
+				} else if (Array.isArray(val)) {
+					val = jQuery.map(val, function (value) {
+						return value == null ? "" : value + "";
+					});
+				}
+
+				hooks = jQuery.valHooks[this.type] || jQuery.valHooks[this.nodeName.toLowerCase()];
+
+				// If set returns undefined, fall back to normal setting
+				if (!hooks || !("set" in hooks) || hooks.set(this, val, "value") === undefined) {
+					this.value = val;
+				}
+			});
+		}
+	});
+
+	jQuery.extend({
+		valHooks: {
+			option: {
+				get: function (elem) {
+
+					var val = jQuery.find.attr(elem, "value");
+					return val != null ?
+						val :
+
+						// Support: IE <=10 - 11 only
+						// option.text throws exceptions (#14686, #14858)
+						// Strip and collapse whitespace
+						// https://html.spec.whatwg.org/#strip-and-collapse-whitespace
+						stripAndCollapse(jQuery.text(elem));
+				}
+			},
+			select: {
+				get: function (elem) {
+					var value, option, i,
+						options = elem.options,
+						index = elem.selectedIndex,
+						one = elem.type === "select-one",
+						values = one ? null : [],
+						max = one ? index + 1 : options.length;
+
+					if (index < 0) {
+						i = max;
+
+					} else {
+						i = one ? index : 0;
+					}
+
+					// Loop through all the selected options
+					for (; i < max; i++) {
+						option = options[i];
+
+						// Support: IE <=9 only
+						// IE8-9 doesn't update selected after form reset (#2551)
+						if ((option.selected || i === index) &&
+
+							// Don't return options that are disabled or in a disabled optgroup
+							!option.disabled &&
+							(!option.parentNode.disabled ||
+								!nodeName(option.parentNode, "optgroup"))) {
+
+							// Get the specific value for the option
+							value = jQuery(option).val();
+
+							// We don't need an array for one selects
+							if (one) {
+								return value;
+							}
+
+							// Multi-Selects return an array
+							values.push(value);
+						}
+					}
+
+					return values;
+				},
+
+				set: function (elem, value) {
+					var optionSet, option,
+						options = elem.options,
+						values = jQuery.makeArray(value),
+						i = options.length;
+
+					while (i--) {
+						option = options[i];
+
+						/* eslint-disable no-cond-assign */
+
+						if (option.selected =
+							jQuery.inArray(jQuery.valHooks.option.get(option), values) > -1
+						) {
+							optionSet = true;
+						}
+
+						/* eslint-enable no-cond-assign */
+					}
+
+					// Force browsers to behave consistently when non-matching value is set
+					if (!optionSet) {
+						elem.selectedIndex = -1;
+					}
+					return values;
+				}
+			}
+		}
+	});
+
+	// Radios and checkboxes getter/setter
+	jQuery.each(["radio", "checkbox"], function () {
+		jQuery.valHooks[this] = {
+			set: function (elem, value) {
+				if (Array.isArray(value)) {
+					return (elem.checked = jQuery.inArray(jQuery(elem).val(), value) > -1);
+				}
+			}
+		};
+		if (!support.checkOn) {
+			jQuery.valHooks[this].get = function (elem) {
+				return elem.getAttribute("value") === null ? "on" : elem.value;
+			};
+		}
+	});
+
+
+
+
+	// Return jQuery for attributes-only inclusion
+
+
+	support.focusin = "onfocusin" in window;
+
+
+	var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/,
+		stopPropagationCallback = function (e) {
+			e.stopPropagation();
+		};
+
+	jQuery.extend(jQuery.event, {
+
+		trigger: function (event, data, elem, onlyHandlers) {
+
+			var i, cur, tmp, bubbleType, ontype, handle, special, lastElement,
+				eventPath = [elem || document],
+				type = hasOwn.call(event, "type") ? event.type : event,
+				namespaces = hasOwn.call(event, "namespace") ? event.namespace.split(".") : [];
+
+			cur = lastElement = tmp = elem = elem || document;
+
+			// Don't do events on text and comment nodes
+			if (elem.nodeType === 3 || elem.nodeType === 8) {
+				return;
+			}
+
+			// focus/blur morphs to focusin/out; ensure we're not firing them right now
+			if (rfocusMorph.test(type + jQuery.event.triggered)) {
+				return;
+			}
+
+			if (type.indexOf(".") > -1) {
+
+				// Namespaced trigger; create a regexp to match event type in handle()
+				namespaces = type.split(".");
+				type = namespaces.shift();
+				namespaces.sort();
+			}
+			ontype = type.indexOf(":") < 0 && "on" + type;
+
+			// Caller can pass in a jQuery.Event object, Object, or just an event type string
+			event = event[jQuery.expando] ?
+				event :
+				new jQuery.Event(type, typeof event === "object" && event);
+
+			// Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true)
+			event.isTrigger = onlyHandlers ? 2 : 3;
+			event.namespace = namespaces.join(".");
+			event.rnamespace = event.namespace ?
+				new RegExp("(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)") :
+				null;
+
+			// Clean up the event in case it is being reused
+			event.result = undefined;
+			if (!event.target) {
+				event.target = elem;
+			}
+
+			// Clone any incoming data and prepend the event, creating the handler arg list
+			data = data == null ?
+				[event] :
+				jQuery.makeArray(data, [event]);
+
+			// Allow special events to draw outside the lines
+			special = jQuery.event.special[type] || {};
+			if (!onlyHandlers && special.trigger && special.trigger.apply(elem, data) === false) {
+				return;
+			}
+
+			// Determine event propagation path in advance, per W3C events spec (#9951)
+			// Bubble up to document, then to window; watch for a global ownerDocument var (#9724)
+			if (!onlyHandlers && !special.noBubble && !isWindow(elem)) {
+
+				bubbleType = special.delegateType || type;
+				if (!rfocusMorph.test(bubbleType + type)) {
+					cur = cur.parentNode;
+				}
+				for (; cur; cur = cur.parentNode) {
+					eventPath.push(cur);
+					tmp = cur;
+				}
+
+				// Only add window if we got to document (e.g., not plain obj or detached DOM)
+				if (tmp === (elem.ownerDocument || document)) {
+					eventPath.push(tmp.defaultView || tmp.parentWindow || window);
+				}
+			}
+
+			// Fire handlers on the event path
+			i = 0;
+			while ((cur = eventPath[i++]) && !event.isPropagationStopped()) {
+				lastElement = cur;
+				event.type = i > 1 ?
+					bubbleType :
+					special.bindType || type;
+
+				// jQuery handler
+				handle = (
+					dataPriv.get(cur, "events") || Object.create(null)
+				)[event.type] &&
+					dataPriv.get(cur, "handle");
+				if (handle) {
+					handle.apply(cur, data);
+				}
+
+				// Native handler
+				handle = ontype && cur[ontype];
+				if (handle && handle.apply && acceptData(cur)) {
+					event.result = handle.apply(cur, data);
+					if (event.result === false) {
+						event.preventDefault();
+					}
+				}
+			}
+			event.type = type;
+
+			// If nobody prevented the default action, do it now
+			if (!onlyHandlers && !event.isDefaultPrevented()) {
+
+				if ((!special._default ||
+					special._default.apply(eventPath.pop(), data) === false) &&
+					acceptData(elem)) {
+
+					// Call a native DOM method on the target with the same name as the event.
+					// Don't do default actions on window, that's where global variables be (#6170)
+					if (ontype && isFunction(elem[type]) && !isWindow(elem)) {
+
+						// Don't re-trigger an onFOO event when we call its FOO() method
+						tmp = elem[ontype];
+
+						if (tmp) {
+							elem[ontype] = null;
+						}
+
+						// Prevent re-triggering of the same event, since we already bubbled it above
+						jQuery.event.triggered = type;
+
+						if (event.isPropagationStopped()) {
+							lastElement.addEventListener(type, stopPropagationCallback);
+						}
+
+						elem[type]();
+
+						if (event.isPropagationStopped()) {
+							lastElement.removeEventListener(type, stopPropagationCallback);
+						}
+
+						jQuery.event.triggered = undefined;
+
+						if (tmp) {
+							elem[ontype] = tmp;
+						}
+					}
+				}
+			}
+
+			return event.result;
+		},
+
+		// Piggyback on a donor event to simulate a different one
+		// Used only for `focus(in | out)` events
+		simulate: function (type, elem, event) {
+			var e = jQuery.extend(
+				new jQuery.Event(),
+				event,
+				{
+					type: type,
+					isSimulated: true
+				}
+			);
+
+			jQuery.event.trigger(e, null, elem);
+		}
+
+	});
+
+	jQuery.fn.extend({
+
+		trigger: function (type, data) {
+			return this.each(function () {
+				jQuery.event.trigger(type, data, this);
+			});
+		},
+		triggerHandler: function (type, data) {
+			var elem = this[0];
+			if (elem) {
+				return jQuery.event.trigger(type, data, elem, true);
+			}
+		}
+	});
+
+
+	// Support: Firefox <=44
+	// Firefox doesn't have focus(in | out) events
+	// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787
+	//
+	// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1
+	// focus(in | out) events fire after focus & blur events,
+	// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order
+	// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857
+	if (!support.focusin) {
+		jQuery.each({ focus: "focusin", blur: "focusout" }, function (orig, fix) {
+
+			// Attach a single capturing handler on the document while someone wants focusin/focusout
+			var handler = function (event) {
+				jQuery.event.simulate(fix, event.target, jQuery.event.fix(event));
+			};
+
+			jQuery.event.special[fix] = {
+				setup: function () {
+
+					// Handle: regular nodes (via `this.ownerDocument`), window
+					// (via `this.document`) & document (via `this`).
+					var doc = this.ownerDocument || this.document || this,
+						attaches = dataPriv.access(doc, fix);
+
+					if (!attaches) {
+						doc.addEventListener(orig, handler, true);
+					}
+					dataPriv.access(doc, fix, (attaches || 0) + 1);
+				},
+				teardown: function () {
+					var doc = this.ownerDocument || this.document || this,
+						attaches = dataPriv.access(doc, fix) - 1;
+
+					if (!attaches) {
+						doc.removeEventListener(orig, handler, true);
+						dataPriv.remove(doc, fix);
+
+					} else {
+						dataPriv.access(doc, fix, attaches);
+					}
+				}
+			};
+		});
+	}
+	var location = window.location;
+
+	var nonce = { guid: Date.now() };
+
+	var rquery = (/\?/);
+
+
+
+	// Cross-browser xml parsing
+	jQuery.parseXML = function (data) {
+		var xml;
+		if (!data || typeof data !== "string") {
+			return null;
+		}
+
+		// Support: IE 9 - 11 only
+		// IE throws on parseFromString with invalid input.
+		try {
+			xml = (new window.DOMParser()).parseFromString(data, "text/xml");
+		} catch (e) {
+			xml = undefined;
+		}
+
+		if (!xml || xml.getElementsByTagName("parsererror").length) {
+			jQuery.error("Invalid XML: " + data);
+		}
+		return xml;
+	};
+
+
+	var
+		rbracket = /\[\]$/,
+		rCRLF = /\r?\n/g,
+		rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i,
+		rsubmittable = /^(?:input|select|textarea|keygen)/i;
+
+	function buildParams(prefix, obj, traditional, add) {
+		var name;
+
+		if (Array.isArray(obj)) {
+
+			// Serialize array item.
+			jQuery.each(obj, function (i, v) {
+				if (traditional || rbracket.test(prefix)) {
+
+					// Treat each array item as a scalar.
+					add(prefix, v);
+
+				} else {
+
+					// Item is non-scalar (array or object), encode its numeric index.
+					buildParams(
+						prefix + "[" + (typeof v === "object" && v != null ? i : "") + "]",
+						v,
+						traditional,
+						add
+					);
+				}
+			});
+
+		} else if (!traditional && toType(obj) === "object") {
+
+			// Serialize object item.
+			for (name in obj) {
+				buildParams(prefix + "[" + name + "]", obj[name], traditional, add);
+			}
+
+		} else {
+
+			// Serialize scalar item.
+			add(prefix, obj);
+		}
+	}
+
+	// Serialize an array of form elements or a set of
+	// key/values into a query string
+	jQuery.param = function (a, traditional) {
+		var prefix,
+			s = [],
+			add = function (key, valueOrFunction) {
+
+				// If value is a function, invoke it and use its return value
+				var value = isFunction(valueOrFunction) ?
+					valueOrFunction() :
+					valueOrFunction;
+
+				s[s.length] = encodeURIComponent(key) + "=" +
+					encodeURIComponent(value == null ? "" : value);
+			};
+
+		if (a == null) {
+			return "";
+		}
+
+		// If an array was passed in, assume that it is an array of form elements.
+		if (Array.isArray(a) || (a.jquery && !jQuery.isPlainObject(a))) {
+
+			// Serialize the form elements
+			jQuery.each(a, function () {
+				add(this.name, this.value);
+			});
+
+		} else {
+
+			// If traditional, encode the "old" way (the way 1.3.2 or older
+			// did it), otherwise encode params recursively.
+			for (prefix in a) {
+				buildParams(prefix, a[prefix], traditional, add);
+			}
+		}
+
+		// Return the resulting serialization
+		return s.join("&");
+	};
+
+	jQuery.fn.extend({
+		serialize: function () {
+			return jQuery.param(this.serializeArray());
+		},
+		serializeArray: function () {
+			return this.map(function () {
+
+				// Can add propHook for "elements" to filter or add form elements
+				var elements = jQuery.prop(this, "elements");
+				return elements ? jQuery.makeArray(elements) : this;
+			})
+				.filter(function () {
+					var type = this.type;
+
+					// Use .is( ":disabled" ) so that fieldset[disabled] works
+					return this.name && !jQuery(this).is(":disabled") &&
+						rsubmittable.test(this.nodeName) && !rsubmitterTypes.test(type) &&
+						(this.checked || !rcheckableType.test(type));
+				})
+				.map(function (_i, elem) {
+					var val = jQuery(this).val();
+
+					if (val == null) {
+						return null;
+					}
+
+					if (Array.isArray(val)) {
+						return jQuery.map(val, function (val) {
+							return { name: elem.name, value: val.replace(rCRLF, "\r\n") };
+						});
+					}
+
+					return { name: elem.name, value: val.replace(rCRLF, "\r\n") };
+				}).get();
+		}
+	});
+
+
+	var
+		r20 = /%20/g,
+		rhash = /#.*$/,
+		rantiCache = /([?&])_=[^&]*/,
+		rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg,
+
+		// #7653, #8125, #8152: local protocol detection
+		rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/,
+		rnoContent = /^(?:GET|HEAD)$/,
+		rprotocol = /^\/\//,
+
+		/* Prefilters
+		 * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example)
+		 * 2) These are called:
+		 *    - BEFORE asking for a transport
+		 *    - AFTER param serialization (s.data is a string if s.processData is true)
+		 * 3) key is the dataType
+		 * 4) the catchall symbol "*" can be used
+		 * 5) execution will start with transport dataType and THEN continue down to "*" if needed
+		 */
+		prefilters = {},
+
+		/* Transports bindings
+		 * 1) key is the dataType
+		 * 2) the catchall symbol "*" can be used
+		 * 3) selection will start with transport dataType and THEN go to "*" if needed
+		 */
+		transports = {},
+
+		// Avoid comment-prolog char sequence (#10098); must appease lint and evade compression
+		allTypes = "*/".concat("*"),
+
+		// Anchor tag for parsing the document origin
+		originAnchor = document.createElement("a");
+	originAnchor.href = location.href;
+
+	// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport
+	function addToPrefiltersOrTransports(structure) {
+
+		// dataTypeExpression is optional and defaults to "*"
+		return function (dataTypeExpression, func) {
+
+			if (typeof dataTypeExpression !== "string") {
+				func = dataTypeExpression;
+				dataTypeExpression = "*";
+			}
+
+			var dataType,
+				i = 0,
+				dataTypes = dataTypeExpression.toLowerCase().match(rnothtmlwhite) || [];
+
+			if (isFunction(func)) {
+
+				// For each dataType in the dataTypeExpression
+				while ((dataType = dataTypes[i++])) {
+
+					// Prepend if requested
+					if (dataType[0] === "+") {
+						dataType = dataType.slice(1) || "*";
+						(structure[dataType] = structure[dataType] || []).unshift(func);
+
+						// Otherwise append
+					} else {
+						(structure[dataType] = structure[dataType] || []).push(func);
+					}
+				}
+			}
+		};
+	}
+
+	// Base inspection function for prefilters and transports
+	function inspectPrefiltersOrTransports(structure, options, originalOptions, jqXHR) {
+
+		var inspected = {},
+			seekingTransport = (structure === transports);
+
+		function inspect(dataType) {
+			var selected;
+			inspected[dataType] = true;
+			jQuery.each(structure[dataType] || [], function (_, prefilterOrFactory) {
+				var dataTypeOrTransport = prefilterOrFactory(options, originalOptions, jqXHR);
+				if (typeof dataTypeOrTransport === "string" &&
+					!seekingTransport && !inspected[dataTypeOrTransport]) {
+
+					options.dataTypes.unshift(dataTypeOrTransport);
+					inspect(dataTypeOrTransport);
+					return false;
+				} else if (seekingTransport) {
+					return !(selected = dataTypeOrTransport);
+				}
+			});
+			return selected;
+		}
+
+		return inspect(options.dataTypes[0]) || !inspected["*"] && inspect("*");
+	}
+
+	// A special extend for ajax options
+	// that takes "flat" options (not to be deep extended)
+	// Fixes #9887
+	function ajaxExtend(target, src) {
+		var key, deep,
+			flatOptions = jQuery.ajaxSettings.flatOptions || {};
+
+		for (key in src) {
+			if (src[key] !== undefined) {
+				(flatOptions[key] ? target : (deep || (deep = {})))[key] = src[key];
+			}
+		}
+		if (deep) {
+			jQuery.extend(true, target, deep);
+		}
+
+		return target;
+	}
+
+	/* Handles responses to an ajax request:
+	 * - finds the right dataType (mediates between content-type and expected dataType)
+	 * - returns the corresponding response
+	 */
+	function ajaxHandleResponses(s, jqXHR, responses) {
+
+		var ct, type, finalDataType, firstDataType,
+			contents = s.contents,
+			dataTypes = s.dataTypes;
+
+		// Remove auto dataType and get content-type in the process
+		while (dataTypes[0] === "*") {
+			dataTypes.shift();
+			if (ct === undefined) {
+				ct = s.mimeType || jqXHR.getResponseHeader("Content-Type");
+			}
+		}
+
+		// Check if we're dealing with a known content-type
+		if (ct) {
+			for (type in contents) {
+				if (contents[type] && contents[type].test(ct)) {
+					dataTypes.unshift(type);
+					break;
+				}
+			}
+		}
+
+		// Check to see if we have a response for the expected dataType
+		if (dataTypes[0] in responses) {
+			finalDataType = dataTypes[0];
+		} else {
+
+			// Try convertible dataTypes
+			for (type in responses) {
+				if (!dataTypes[0] || s.converters[type + " " + dataTypes[0]]) {
+					finalDataType = type;
+					break;
+				}
+				if (!firstDataType) {
+					firstDataType = type;
+				}
+			}
+
+			// Or just use first one
+			finalDataType = finalDataType || firstDataType;
+		}
+
+		// If we found a dataType
+		// We add the dataType to the list if needed
+		// and return the corresponding response
+		if (finalDataType) {
+			if (finalDataType !== dataTypes[0]) {
+				dataTypes.unshift(finalDataType);
+			}
+			return responses[finalDataType];
+		}
+	}
+
+	/* Chain conversions given the request and the original response
+	 * Also sets the responseXXX fields on the jqXHR instance
+	 */
+	function ajaxConvert(s, response, jqXHR, isSuccess) {
+		var conv2, current, conv, tmp, prev,
+			converters = {},
+
+			// Work with a copy of dataTypes in case we need to modify it for conversion
+			dataTypes = s.dataTypes.slice();
+
+		// Create converters map with lowercased keys
+		if (dataTypes[1]) {
+			for (conv in s.converters) {
+				converters[conv.toLowerCase()] = s.converters[conv];
+			}
+		}
+
+		current = dataTypes.shift();
+
+		// Convert to each sequential dataType
+		while (current) {
+
+			if (s.responseFields[current]) {
+				jqXHR[s.responseFields[current]] = response;
+			}
+
+			// Apply the dataFilter if provided
+			if (!prev && isSuccess && s.dataFilter) {
+				response = s.dataFilter(response, s.dataType);
+			}
+
+			prev = current;
+			current = dataTypes.shift();
+
+			if (current) {
+
+				// There's only work to do if current dataType is non-auto
+				if (current === "*") {
+
+					current = prev;
+
+					// Convert response if prev dataType is non-auto and differs from current
+				} else if (prev !== "*" && prev !== current) {
+
+					// Seek a direct converter
+					conv = converters[prev + " " + current] || converters["* " + current];
+
+					// If none found, seek a pair
+					if (!conv) {
+						for (conv2 in converters) {
+
+							// If conv2 outputs current
+							tmp = conv2.split(" ");
+							if (tmp[1] === current) {
+
+								// If prev can be converted to accepted input
+								conv = converters[prev + " " + tmp[0]] ||
+									converters["* " + tmp[0]];
+								if (conv) {
+
+									// Condense equivalence converters
+									if (conv === true) {
+										conv = converters[conv2];
+
+										// Otherwise, insert the intermediate dataType
+									} else if (converters[conv2] !== true) {
+										current = tmp[0];
+										dataTypes.unshift(tmp[1]);
+									}
+									break;
+								}
+							}
+						}
+					}
+
+					// Apply converter (if not an equivalence)
+					if (conv !== true) {
+
+						// Unless errors are allowed to bubble, catch and return them
+						if (conv && s.throws) {
+							response = conv(response);
+						} else {
+							try {
+								response = conv(response);
+							} catch (e) {
+								return {
+									state: "parsererror",
+									error: conv ? e : "No conversion from " + prev + " to " + current
+								};
+							}
+						}
+					}
+				}
+			}
+		}
+
+		return { state: "success", data: response };
+	}
+
+	jQuery.extend({
+
+		// Counter for holding the number of active queries
+		active: 0,
+
+		// Last-Modified header cache for next request
+		lastModified: {},
+		etag: {},
+
+		ajaxSettings: {
+			url: location.href,
+			type: "GET",
+			isLocal: rlocalProtocol.test(location.protocol),
+			global: true,
+			processData: true,
+			async: true,
+			contentType: "application/x-www-form-urlencoded; charset=UTF-8",
+
+			/*
+			timeout: 0,
+			data: null,
+			dataType: null,
+			username: null,
+			password: null,
+			cache: null,
+			throws: false,
+			traditional: false,
+			headers: {},
+			*/
+
+			accepts: {
+				"*": allTypes,
+				text: "text/plain",
+				html: "text/html",
+				xml: "application/xml, text/xml",
+				json: "application/json, text/javascript"
+			},
+
+			contents: {
+				xml: /\bxml\b/,
+				html: /\bhtml/,
+				json: /\bjson\b/
+			},
+
+			responseFields: {
+				xml: "responseXML",
+				text: "responseText",
+				json: "responseJSON"
+			},
+
+			// Data converters
+			// Keys separate source (or catchall "*") and destination types with a single space
+			converters: {
+
+				// Convert anything to text
+				"* text": String,
+
+				// Text to html (true = no transformation)
+				"text html": true,
+
+				// Evaluate text as a json expression
+				"text json": JSON.parse,
+
+				// Parse text as xml
+				"text xml": jQuery.parseXML
+			},
+
+			// For options that shouldn't be deep extended:
+			// you can add your own custom options here if
+			// and when you create one that shouldn't be
+			// deep extended (see ajaxExtend)
+			flatOptions: {
+				url: true,
+				context: true
+			}
+		},
+
+		// Creates a full fledged settings object into target
+		// with both ajaxSettings and settings fields.
+		// If target is omitted, writes into ajaxSettings.
+		ajaxSetup: function (target, settings) {
+			return settings ?
+
+				// Building a settings object
+				ajaxExtend(ajaxExtend(target, jQuery.ajaxSettings), settings) :
+
+				// Extending ajaxSettings
+				ajaxExtend(jQuery.ajaxSettings, target);
+		},
+
+		ajaxPrefilter: addToPrefiltersOrTransports(prefilters),
+		ajaxTransport: addToPrefiltersOrTransports(transports),
+
+		// Main method
+		ajax: function (url, options) {
+
+			// If url is an object, simulate pre-1.5 signature
+			if (typeof url === "object") {
+				options = url;
+				url = undefined;
+			}
+
+			// Force options to be an object
+			options = options || {};
+
+			var transport,
+
+				// URL without anti-cache param
+				cacheURL,
+
+				// Response headers
+				responseHeadersString,
+				responseHeaders,
+
+				// timeout handle
+				timeoutTimer,
+
+				// Url cleanup var
+				urlAnchor,
+
+				// Request state (becomes false upon send and true upon completion)
+				completed,
+
+				// To know if global events are to be dispatched
+				fireGlobals,
+
+				// Loop variable
+				i,
+
+				// uncached part of the url
+				uncached,
+
+				// Create the final options object
+				s = jQuery.ajaxSetup({}, options),
+
+				// Callbacks context
+				callbackContext = s.context || s,
+
+				// Context for global events is callbackContext if it is a DOM node or jQuery collection
+				globalEventContext = s.context &&
+					(callbackContext.nodeType || callbackContext.jquery) ?
+					jQuery(callbackContext) :
+					jQuery.event,
+
+				// Deferreds
+				deferred = jQuery.Deferred(),
+				completeDeferred = jQuery.Callbacks("once memory"),
+
+				// Status-dependent callbacks
+				statusCode = s.statusCode || {},
+
+				// Headers (they are sent all at once)
+				requestHeaders = {},
+				requestHeadersNames = {},
+
+				// Default abort message
+				strAbort = "canceled",
+
+				// Fake xhr
+				jqXHR = {
+					readyState: 0,
+
+					// Builds headers hashtable if needed
+					getResponseHeader: function (key) {
+						var match;
+						if (completed) {
+							if (!responseHeaders) {
+								responseHeaders = {};
+								while ((match = rheaders.exec(responseHeadersString))) {
+									responseHeaders[match[1].toLowerCase() + " "] =
+										(responseHeaders[match[1].toLowerCase() + " "] || [])
+											.concat(match[2]);
+								}
+							}
+							match = responseHeaders[key.toLowerCase() + " "];
+						}
+						return match == null ? null : match.join(", ");
+					},
+
+					// Raw string
+					getAllResponseHeaders: function () {
+						return completed ? responseHeadersString : null;
+					},
+
+					// Caches the header
+					setRequestHeader: function (name, value) {
+						if (completed == null) {
+							name = requestHeadersNames[name.toLowerCase()] =
+								requestHeadersNames[name.toLowerCase()] || name;
+							requestHeaders[name] = value;
+						}
+						return this;
+					},
+
+					// Overrides response content-type header
+					overrideMimeType: function (type) {
+						if (completed == null) {
+							s.mimeType = type;
+						}
+						return this;
+					},
+
+					// Status-dependent callbacks
+					statusCode: function (map) {
+						var code;
+						if (map) {
+							if (completed) {
+
+								// Execute the appropriate callbacks
+								jqXHR.always(map[jqXHR.status]);
+							} else {
+
+								// Lazy-add the new callbacks in a way that preserves old ones
+								for (code in map) {
+									statusCode[code] = [statusCode[code], map[code]];
+								}
+							}
+						}
+						return this;
+					},
+
+					// Cancel the request
+					abort: function (statusText) {
+						var finalText = statusText || strAbort;
+						if (transport) {
+							transport.abort(finalText);
+						}
+						done(0, finalText);
+						return this;
+					}
+				};
+
+			// Attach deferreds
+			deferred.promise(jqXHR);
+
+			// Add protocol if not provided (prefilters might expect it)
+			// Handle falsy url in the settings object (#10093: consistency with old signature)
+			// We also use the url parameter if available
+			s.url = ((url || s.url || location.href) + "")
+				.replace(rprotocol, location.protocol + "//");
+
+			// Alias method option to type as per ticket #12004
+			s.type = options.method || options.type || s.method || s.type;
+
+			// Extract dataTypes list
+			s.dataTypes = (s.dataType || "*").toLowerCase().match(rnothtmlwhite) || [""];
+
+			// A cross-domain request is in order when the origin doesn't match the current origin.
+			if (s.crossDomain == null) {
+				urlAnchor = document.createElement("a");
+
+				// Support: IE <=8 - 11, Edge 12 - 15
+				// IE throws exception on accessing the href property if url is malformed,
+				// e.g. http://example.com:80x/
+				try {
+					urlAnchor.href = s.url;
+
+					// Support: IE <=8 - 11 only
+					// Anchor's host property isn't correctly set when s.url is relative
+					urlAnchor.href = urlAnchor.href;
+					s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !==
+						urlAnchor.protocol + "//" + urlAnchor.host;
+				} catch (e) {
+
+					// If there is an error parsing the URL, assume it is crossDomain,
+					// it can be rejected by the transport if it is invalid
+					s.crossDomain = true;
+				}
+			}
+
+			// Convert data if not already a string
+			if (s.data && s.processData && typeof s.data !== "string") {
+				s.data = jQuery.param(s.data, s.traditional);
+			}
+
+			// Apply prefilters
+			inspectPrefiltersOrTransports(prefilters, s, options, jqXHR);
+
+			// If request was aborted inside a prefilter, stop there
+			if (completed) {
+				return jqXHR;
+			}
+
+			// We can fire global events as of now if asked to
+			// Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118)
+			fireGlobals = jQuery.event && s.global;
+
+			// Watch for a new set of requests
+			if (fireGlobals && jQuery.active++ === 0) {
+				jQuery.event.trigger("ajaxStart");
+			}
+
+			// Uppercase the type
+			s.type = s.type.toUpperCase();
+
+			// Determine if request has content
+			s.hasContent = !rnoContent.test(s.type);
+
+			// Save the URL in case we're toying with the If-Modified-Since
+			// and/or If-None-Match header later on
+			// Remove hash to simplify url manipulation
+			cacheURL = s.url.replace(rhash, "");
+
+			// More options handling for requests with no content
+			if (!s.hasContent) {
+
+				// Remember the hash so we can put it back
+				uncached = s.url.slice(cacheURL.length);
+
+				// If data is available and should be processed, append data to url
+				if (s.data && (s.processData || typeof s.data === "string")) {
+					cacheURL += (rquery.test(cacheURL) ? "&" : "?") + s.data;
+
+					// #9682: remove data so that it's not used in an eventual retry
+					delete s.data;
+				}
+
+				// Add or update anti-cache param if needed
+				if (s.cache === false) {
+					cacheURL = cacheURL.replace(rantiCache, "$1");
+					uncached = (rquery.test(cacheURL) ? "&" : "?") + "_=" + (nonce.guid++) +
+						uncached;
+				}
+
+				// Put hash and anti-cache on the URL that will be requested (gh-1732)
+				s.url = cacheURL + uncached;
+
+				// Change '%20' to '+' if this is encoded form body content (gh-2658)
+			} else if (s.data && s.processData &&
+				(s.contentType || "").indexOf("application/x-www-form-urlencoded") === 0) {
+				s.data = s.data.replace(r20, "+");
+			}
+
+			// Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.
+			if (s.ifModified) {
+				if (jQuery.lastModified[cacheURL]) {
+					jqXHR.setRequestHeader("If-Modified-Since", jQuery.lastModified[cacheURL]);
+				}
+				if (jQuery.etag[cacheURL]) {
+					jqXHR.setRequestHeader("If-None-Match", jQuery.etag[cacheURL]);
+				}
+			}
+
+			// Set the correct header, if data is being sent
+			if (s.data && s.hasContent && s.contentType !== false || options.contentType) {
+				jqXHR.setRequestHeader("Content-Type", s.contentType);
+			}
+
+			// Set the Accepts header for the server, depending on the dataType
+			jqXHR.setRequestHeader(
+				"Accept",
+				s.dataTypes[0] && s.accepts[s.dataTypes[0]] ?
+					s.accepts[s.dataTypes[0]] +
+					(s.dataTypes[0] !== "*" ? ", " + allTypes + "; q=0.01" : "") :
+					s.accepts["*"]
+			);
+
+			// Check for headers option
+			for (i in s.headers) {
+				jqXHR.setRequestHeader(i, s.headers[i]);
+			}
+
+			// Allow custom headers/mimetypes and early abort
+			if (s.beforeSend &&
+				(s.beforeSend.call(callbackContext, jqXHR, s) === false || completed)) {
+
+				// Abort if not done already and return
+				return jqXHR.abort();
+			}
+
+			// Aborting is no longer a cancellation
+			strAbort = "abort";
+
+			// Install callbacks on deferreds
+			completeDeferred.add(s.complete);
+			jqXHR.done(s.success);
+			jqXHR.fail(s.error);
+
+			// Get transport
+			transport = inspectPrefiltersOrTransports(transports, s, options, jqXHR);
+
+			// If no transport, we auto-abort
+			if (!transport) {
+				done(-1, "No Transport");
+			} else {
+				jqXHR.readyState = 1;
+
+				// Send global event
+				if (fireGlobals) {
+					globalEventContext.trigger("ajaxSend", [jqXHR, s]);
+				}
+
+				// If request was aborted inside ajaxSend, stop there
+				if (completed) {
+					return jqXHR;
+				}
+
+				// Timeout
+				if (s.async && s.timeout > 0) {
+					timeoutTimer = window.setTimeout(function () {
+						jqXHR.abort("timeout");
+					}, s.timeout);
+				}
+
+				try {
+					completed = false;
+					transport.send(requestHeaders, done);
+				} catch (e) {
+
+					// Rethrow post-completion exceptions
+					if (completed) {
+						throw e;
+					}
+
+					// Propagate others as results
+					done(-1, e);
+				}
+			}
+
+			// Callback for when everything is done
+			function done(status, nativeStatusText, responses, headers) {
+				var isSuccess, success, error, response, modified,
+					statusText = nativeStatusText;
+
+				// Ignore repeat invocations
+				if (completed) {
+					return;
+				}
+
+				completed = true;
+
+				// Clear timeout if it exists
+				if (timeoutTimer) {
+					window.clearTimeout(timeoutTimer);
+				}
+
+				// Dereference transport for early garbage collection
+				// (no matter how long the jqXHR object will be used)
+				transport = undefined;
+
+				// Cache response headers
+				responseHeadersString = headers || "";
+
+				// Set readyState
+				jqXHR.readyState = status > 0 ? 4 : 0;
+
+				// Determine if successful
+				isSuccess = status >= 200 && status < 300 || status === 304;
+
+				// Get response data
+				if (responses) {
+					response = ajaxHandleResponses(s, jqXHR, responses);
+				}
+
+				// Use a noop converter for missing script
+				if (!isSuccess && jQuery.inArray("script", s.dataTypes) > -1) {
+					s.converters["text script"] = function () { };
+				}
+
+				// Convert no matter what (that way responseXXX fields are always set)
+				response = ajaxConvert(s, response, jqXHR, isSuccess);
+
+				// If successful, handle type chaining
+				if (isSuccess) {
+
+					// Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.
+					if (s.ifModified) {
+						modified = jqXHR.getResponseHeader("Last-Modified");
+						if (modified) {
+							jQuery.lastModified[cacheURL] = modified;
+						}
+						modified = jqXHR.getResponseHeader("etag");
+						if (modified) {
+							jQuery.etag[cacheURL] = modified;
+						}
+					}
+
+					// if no content
+					if (status === 204 || s.type === "HEAD") {
+						statusText = "nocontent";
+
+						// if not modified
+					} else if (status === 304) {
+						statusText = "notmodified";
+
+						// If we have data, let's convert it
+					} else {
+						statusText = response.state;
+						success = response.data;
+						error = response.error;
+						isSuccess = !error;
+					}
+				} else {
+
+					// Extract error from statusText and normalize for non-aborts
+					error = statusText;
+					if (status || !statusText) {
+						statusText = "error";
+						if (status < 0) {
+							status = 0;
+						}
+					}
+				}
+
+				// Set data for the fake xhr object
+				jqXHR.status = status;
+				jqXHR.statusText = (nativeStatusText || statusText) + "";
+
+				// Success/Error
+				if (isSuccess) {
+					deferred.resolveWith(callbackContext, [success, statusText, jqXHR]);
+				} else {
+					deferred.rejectWith(callbackContext, [jqXHR, statusText, error]);
+				}
+
+				// Status-dependent callbacks
+				jqXHR.statusCode(statusCode);
+				statusCode = undefined;
+
+				if (fireGlobals) {
+					globalEventContext.trigger(isSuccess ? "ajaxSuccess" : "ajaxError",
+						[jqXHR, s, isSuccess ? success : error]);
+				}
+
+				// Complete
+				completeDeferred.fireWith(callbackContext, [jqXHR, statusText]);
+
+				if (fireGlobals) {
+					globalEventContext.trigger("ajaxComplete", [jqXHR, s]);
+
+					// Handle the global AJAX counter
+					if (!(--jQuery.active)) {
+						jQuery.event.trigger("ajaxStop");
+					}
+				}
+			}
+
+			return jqXHR;
+		},
+
+		getJSON: function (url, data, callback) {
+			return jQuery.get(url, data, callback, "json");
+		},
+
+		getScript: function (url, callback) {
+			return jQuery.get(url, undefined, callback, "script");
+		}
+	});
+
+	jQuery.each(["get", "post"], function (_i, method) {
+		jQuery[method] = function (url, data, callback, type) {
+
+			// Shift arguments if data argument was omitted
+			if (isFunction(data)) {
+				type = type || callback;
+				callback = data;
+				data = undefined;
+			}
+
+			// The url can be an options object (which then must have .url)
+			return jQuery.ajax(jQuery.extend({
+				url: url,
+				type: method,
+				dataType: type,
+				data: data,
+				success: callback
+			}, jQuery.isPlainObject(url) && url));
+		};
+	});
+
+	jQuery.ajaxPrefilter(function (s) {
+		var i;
+		for (i in s.headers) {
+			if (i.toLowerCase() === "content-type") {
+				s.contentType = s.headers[i] || "";
+			}
+		}
+	});
+
+
+	jQuery._evalUrl = function (url, options, doc) {
+		return jQuery.ajax({
+			url: url,
+
+			// Make this explicit, since user can override this through ajaxSetup (#11264)
+			type: "GET",
+			dataType: "script",
+			cache: true,
+			async: false,
+			global: false,
+
+			// Only evaluate the response if it is successful (gh-4126)
+			// dataFilter is not invoked for failure responses, so using it instead
+			// of the default converter is kludgy but it works.
+			converters: {
+				"text script": function () { }
+			},
+			dataFilter: function (response) {
+				jQuery.globalEval(response, options, doc);
+			}
+		});
+	};
+
+
+	jQuery.fn.extend({
+		wrapAll: function (html) {
+			var wrap;
+
+			if (this[0]) {
+				if (isFunction(html)) {
+					html = html.call(this[0]);
+				}
+
+				// The elements to wrap the target around
+				wrap = jQuery(html, this[0].ownerDocument).eq(0).clone(true);
+
+				if (this[0].parentNode) {
+					wrap.insertBefore(this[0]);
+				}
+
+				wrap.map(function () {
+					var elem = this;
+
+					while (elem.firstElementChild) {
+						elem = elem.firstElementChild;
+					}
+
+					return elem;
+				}).append(this);
+			}
+
+			return this;
+		},
+
+		wrapInner: function (html) {
+			if (isFunction(html)) {
+				return this.each(function (i) {
+					jQuery(this).wrapInner(html.call(this, i));
+				});
+			}
+
+			return this.each(function () {
+				var self = jQuery(this),
+					contents = self.contents();
+
+				if (contents.length) {
+					contents.wrapAll(html);
+
+				} else {
+					self.append(html);
+				}
+			});
+		},
+
+		wrap: function (html) {
+			var htmlIsFunction = isFunction(html);
+
+			return this.each(function (i) {
+				jQuery(this).wrapAll(htmlIsFunction ? html.call(this, i) : html);
+			});
+		},
+
+		unwrap: function (selector) {
+			this.parent(selector).not("body").each(function () {
+				jQuery(this).replaceWith(this.childNodes);
+			});
+			return this;
+		}
+	});
+
+
+	jQuery.expr.pseudos.hidden = function (elem) {
+		return !jQuery.expr.pseudos.visible(elem);
+	};
+	jQuery.expr.pseudos.visible = function (elem) {
+		return !!(elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length);
+	};
+
+
+
+
+	jQuery.ajaxSettings.xhr = function () {
+		try {
+			return new window.XMLHttpRequest();
+		} catch (e) { }
+	};
+
+	var xhrSuccessStatus = {
+
+		// File protocol always yields status code 0, assume 200
+		0: 200,
+
+		// Support: IE <=9 only
+		// #1450: sometimes IE returns 1223 when it should be 204
+		1223: 204
+	},
+		xhrSupported = jQuery.ajaxSettings.xhr();
+
+	support.cors = !!xhrSupported && ("withCredentials" in xhrSupported);
+	support.ajax = xhrSupported = !!xhrSupported;
+
+	jQuery.ajaxTransport(function (options) {
+		var callback, errorCallback;
+
+		// Cross domain only allowed if supported through XMLHttpRequest
+		if (support.cors || xhrSupported && !options.crossDomain) {
+			return {
+				send: function (headers, complete) {
+					var i,
+						xhr = options.xhr();
+
+					xhr.open(
+						options.type,
+						options.url,
+						options.async,
+						options.username,
+						options.password
+					);
+
+					// Apply custom fields if provided
+					if (options.xhrFields) {
+						for (i in options.xhrFields) {
+							xhr[i] = options.xhrFields[i];
+						}
+					}
+
+					// Override mime type if needed
+					if (options.mimeType && xhr.overrideMimeType) {
+						xhr.overrideMimeType(options.mimeType);
+					}
+
+					// X-Requested-With header
+					// For cross-domain requests, seeing as conditions for a preflight are
+					// akin to a jigsaw puzzle, we simply never set it to be sure.
+					// (it can always be set on a per-request basis or even using ajaxSetup)
+					// For same-domain requests, won't change header if already provided.
+					if (!options.crossDomain && !headers["X-Requested-With"]) {
+						headers["X-Requested-With"] = "XMLHttpRequest";
+					}
+
+					// Set headers
+					for (i in headers) {
+						xhr.setRequestHeader(i, headers[i]);
+					}
+
+					// Callback
+					callback = function (type) {
+						return function () {
+							if (callback) {
+								callback = errorCallback = xhr.onload =
+									xhr.onerror = xhr.onabort = xhr.ontimeout =
+									xhr.onreadystatechange = null;
+
+								if (type === "abort") {
+									xhr.abort();
+								} else if (type === "error") {
+
+									// Support: IE <=9 only
+									// On a manual native abort, IE9 throws
+									// errors on any property access that is not readyState
+									if (typeof xhr.status !== "number") {
+										complete(0, "error");
+									} else {
+										complete(
+
+											// File: protocol always yields status 0; see #8605, #14207
+											xhr.status,
+											xhr.statusText
+										);
+									}
+								} else {
+									complete(
+										xhrSuccessStatus[xhr.status] || xhr.status,
+										xhr.statusText,
+
+										// Support: IE <=9 only
+										// IE9 has no XHR2 but throws on binary (trac-11426)
+										// For XHR2 non-text, let the caller handle it (gh-2498)
+										(xhr.responseType || "text") !== "text" ||
+											typeof xhr.responseText !== "string" ?
+											{ binary: xhr.response } :
+											{ text: xhr.responseText },
+										xhr.getAllResponseHeaders()
+									);
+								}
+							}
+						};
+					};
+
+					// Listen to events
+					xhr.onload = callback();
+					errorCallback = xhr.onerror = xhr.ontimeout = callback("error");
+
+					// Support: IE 9 only
+					// Use onreadystatechange to replace onabort
+					// to handle uncaught aborts
+					if (xhr.onabort !== undefined) {
+						xhr.onabort = errorCallback;
+					} else {
+						xhr.onreadystatechange = function () {
+
+							// Check readyState before timeout as it changes
+							if (xhr.readyState === 4) {
+
+								// Allow onerror to be called first,
+								// but that will not handle a native abort
+								// Also, save errorCallback to a variable
+								// as xhr.onerror cannot be accessed
+								window.setTimeout(function () {
+									if (callback) {
+										errorCallback();
+									}
+								});
+							}
+						};
+					}
+
+					// Create the abort callback
+					callback = callback("abort");
+
+					try {
+
+						// Do send the request (this may raise an exception)
+						xhr.send(options.hasContent && options.data || null);
+					} catch (e) {
+
+						// #14683: Only rethrow if this hasn't been notified as an error yet
+						if (callback) {
+							throw e;
+						}
+					}
+				},
+
+				abort: function () {
+					if (callback) {
+						callback();
+					}
+				}
+			};
+		}
+	});
+
+
+
+
+	// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432)
+	jQuery.ajaxPrefilter(function (s) {
+		if (s.crossDomain) {
+			s.contents.script = false;
+		}
+	});
+
+	// Install script dataType
+	jQuery.ajaxSetup({
+		accepts: {
+			script: "text/javascript, application/javascript, " +
+				"application/ecmascript, application/x-ecmascript"
+		},
+		contents: {
+			script: /\b(?:java|ecma)script\b/
+		},
+		converters: {
+			"text script": function (text) {
+				jQuery.globalEval(text);
+				return text;
+			}
+		}
+	});
+
+	// Handle cache's special case and crossDomain
+	jQuery.ajaxPrefilter("script", function (s) {
+		if (s.cache === undefined) {
+			s.cache = false;
+		}
+		if (s.crossDomain) {
+			s.type = "GET";
+		}
+	});
+
+	// Bind script tag hack transport
+	jQuery.ajaxTransport("script", function (s) {
+
+		// This transport only deals with cross domain or forced-by-attrs requests
+		if (s.crossDomain || s.scriptAttrs) {
+			var script, callback;
+			return {
+				send: function (_, complete) {
+					script = jQuery("<script>")
+						.attr(s.scriptAttrs || {})
+						.prop({ charset: s.scriptCharset, src: s.url })
+						.on("load error", callback = function (evt) {
+							script.remove();
+							callback = null;
+							if (evt) {
+								complete(evt.type === "error" ? 404 : 200, evt.type);
+							}
+						});
+
+					// Use native DOM manipulation to avoid our domManip AJAX trickery
+					document.head.appendChild(script[0]);
+				},
+				abort: function () {
+					if (callback) {
+						callback();
+					}
+				}
+			};
+		}
+	});
+
+
+
+
+	var oldCallbacks = [],
+		rjsonp = /(=)\?(?=&|$)|\?\?/;
+
+	// Default jsonp settings
+	jQuery.ajaxSetup({
+		jsonp: "callback",
+		jsonpCallback: function () {
+			var callback = oldCallbacks.pop() || (jQuery.expando + "_" + (nonce.guid++));
+			this[callback] = true;
+			return callback;
+		}
+	});
+
+	// Detect, normalize options and install callbacks for jsonp requests
+	jQuery.ajaxPrefilter("json jsonp", function (s, originalSettings, jqXHR) {
+
+		var callbackName, overwritten, responseContainer,
+			jsonProp = s.jsonp !== false && (rjsonp.test(s.url) ?
+				"url" :
+				typeof s.data === "string" &&
+				(s.contentType || "")
+					.indexOf("application/x-www-form-urlencoded") === 0 &&
+				rjsonp.test(s.data) && "data"
+			);
+
+		// Handle iff the expected data type is "jsonp" or we have a parameter to set
+		if (jsonProp || s.dataTypes[0] === "jsonp") {
+
+			// Get callback name, remembering preexisting value associated with it
+			callbackName = s.jsonpCallback = isFunction(s.jsonpCallback) ?
+				s.jsonpCallback() :
+				s.jsonpCallback;
+
+			// Insert callback into url or form data
+			if (jsonProp) {
+				s[jsonProp] = s[jsonProp].replace(rjsonp, "$1" + callbackName);
+			} else if (s.jsonp !== false) {
+				s.url += (rquery.test(s.url) ? "&" : "?") + s.jsonp + "=" + callbackName;
+			}
+
+			// Use data converter to retrieve json after script execution
+			s.converters["script json"] = function () {
+				if (!responseContainer) {
+					jQuery.error(callbackName + " was not called");
+				}
+				return responseContainer[0];
+			};
+
+			// Force json dataType
+			s.dataTypes[0] = "json";
+
+			// Install callback
+			overwritten = window[callbackName];
+			window[callbackName] = function () {
+				responseContainer = arguments;
+			};
+
+			// Clean-up function (fires after converters)
+			jqXHR.always(function () {
+
+				// If previous value didn't exist - remove it
+				if (overwritten === undefined) {
+					jQuery(window).removeProp(callbackName);
+
+					// Otherwise restore preexisting value
+				} else {
+					window[callbackName] = overwritten;
+				}
+
+				// Save back as free
+				if (s[callbackName]) {
+
+					// Make sure that re-using the options doesn't screw things around
+					s.jsonpCallback = originalSettings.jsonpCallback;
+
+					// Save the callback name for future use
+					oldCallbacks.push(callbackName);
+				}
+
+				// Call if it was a function and we have a response
+				if (responseContainer && isFunction(overwritten)) {
+					overwritten(responseContainer[0]);
+				}
+
+				responseContainer = overwritten = undefined;
+			});
+
+			// Delegate to script
+			return "script";
+		}
+	});
+
+
+
+
+	// Support: Safari 8 only
+	// In Safari 8 documents created via document.implementation.createHTMLDocument
+	// collapse sibling forms: the second one becomes a child of the first one.
+	// Because of that, this security measure has to be disabled in Safari 8.
+	// https://bugs.webkit.org/show_bug.cgi?id=137337
+	support.createHTMLDocument = (function () {
+		var body = document.implementation.createHTMLDocument("").body;
+		body.innerHTML = "<form></form><form></form>";
+		return body.childNodes.length === 2;
+	})();
+
+
+	// Argument "data" should be string of html
+	// context (optional): If specified, the fragment will be created in this context,
+	// defaults to document
+	// keepScripts (optional): If true, will include scripts passed in the html string
+	jQuery.parseHTML = function (data, context, keepScripts) {
+		if (typeof data !== "string") {
+			return [];
+		}
+		if (typeof context === "boolean") {
+			keepScripts = context;
+			context = false;
+		}
+
+		var base, parsed, scripts;
+
+		if (!context) {
+
+			// Stop scripts or inline event handlers from being executed immediately
+			// by using document.implementation
+			if (support.createHTMLDocument) {
+				context = document.implementation.createHTMLDocument("");
+
+				// Set the base href for the created document
+				// so any parsed elements with URLs
+				// are based on the document's URL (gh-2965)
+				base = context.createElement("base");
+				base.href = document.location.href;
+				context.head.appendChild(base);
+			} else {
+				context = document;
+			}
+		}
+
+		parsed = rsingleTag.exec(data);
+		scripts = !keepScripts && [];
+
+		// Single tag
+		if (parsed) {
+			return [context.createElement(parsed[1])];
+		}
+
+		parsed = buildFragment([data], context, scripts);
+
+		if (scripts && scripts.length) {
+			jQuery(scripts).remove();
+		}
+
+		return jQuery.merge([], parsed.childNodes);
+	};
+
+
+	/**
+	 * Load a url into a page
+	 */
+	jQuery.fn.load = function (url, params, callback) {
+		var selector, type, response,
+			self = this,
+			off = url.indexOf(" ");
+
+		if (off > -1) {
+			selector = stripAndCollapse(url.slice(off));
+			url = url.slice(0, off);
+		}
+
+		// If it's a function
+		if (isFunction(params)) {
+
+			// We assume that it's the callback
+			callback = params;
+			params = undefined;
+
+			// Otherwise, build a param string
+		} else if (params && typeof params === "object") {
+			type = "POST";
+		}
+
+		// If we have elements to modify, make the request
+		if (self.length > 0) {
+			jQuery.ajax({
+				url: url,
+
+				// If "type" variable is undefined, then "GET" method will be used.
+				// Make value of this field explicit since
+				// user can override it through ajaxSetup method
+				type: type || "GET",
+				dataType: "html",
+				data: params
+			}).done(function (responseText) {
+
+				// Save response for use in complete callback
+				response = arguments;
+
+				self.html(selector ?
+
+					// If a selector was specified, locate the right elements in a dummy div
+					// Exclude scripts to avoid IE 'Permission Denied' errors
+					jQuery("<div>").append(jQuery.parseHTML(responseText)).find(selector) :
+
+					// Otherwise use the full result
+					responseText);
+
+				// If the request succeeds, this function gets "data", "status", "jqXHR"
+				// but they are ignored because response was set above.
+				// If it fails, this function gets "jqXHR", "status", "error"
+			}).always(callback && function (jqXHR, status) {
+				self.each(function () {
+					callback.apply(this, response || [jqXHR.responseText, status, jqXHR]);
+				});
+			});
+		}
+
+		return this;
+	};
+
+
+
+
+	jQuery.expr.pseudos.animated = function (elem) {
+		return jQuery.grep(jQuery.timers, function (fn) {
+			return elem === fn.elem;
+		}).length;
+	};
+
+
+
+
+	jQuery.offset = {
+		setOffset: function (elem, options, i) {
+			var curPosition, curLeft, curCSSTop, curTop, curOffset, curCSSLeft, calculatePosition,
+				position = jQuery.css(elem, "position"),
+				curElem = jQuery(elem),
+				props = {};
+
+			// Set position first, in-case top/left are set even on static elem
+			if (position === "static") {
+				elem.style.position = "relative";
+			}
+
+			curOffset = curElem.offset();
+			curCSSTop = jQuery.css(elem, "top");
+			curCSSLeft = jQuery.css(elem, "left");
+			calculatePosition = (position === "absolute" || position === "fixed") &&
+				(curCSSTop + curCSSLeft).indexOf("auto") > -1;
+
+			// Need to be able to calculate position if either
+			// top or left is auto and position is either absolute or fixed
+			if (calculatePosition) {
+				curPosition = curElem.position();
+				curTop = curPosition.top;
+				curLeft = curPosition.left;
+
+			} else {
+				curTop = parseFloat(curCSSTop) || 0;
+				curLeft = parseFloat(curCSSLeft) || 0;
+			}
+
+			if (isFunction(options)) {
+
+				// Use jQuery.extend here to allow modification of coordinates argument (gh-1848)
+				options = options.call(elem, i, jQuery.extend({}, curOffset));
+			}
+
+			if (options.top != null) {
+				props.top = (options.top - curOffset.top) + curTop;
+			}
+			if (options.left != null) {
+				props.left = (options.left - curOffset.left) + curLeft;
+			}
+
+			if ("using" in options) {
+				options.using.call(elem, props);
+
+			} else {
+				if (typeof props.top === "number") {
+					props.top += "px";
+				}
+				if (typeof props.left === "number") {
+					props.left += "px";
+				}
+				curElem.css(props);
+			}
+		}
+	};
+
+	jQuery.fn.extend({
+
+		// offset() relates an element's border box to the document origin
+		offset: function (options) {
+
+			// Preserve chaining for setter
+			if (arguments.length) {
+				return options === undefined ?
+					this :
+					this.each(function (i) {
+						jQuery.offset.setOffset(this, options, i);
+					});
+			}
+
+			var rect, win,
+				elem = this[0];
+
+			if (!elem) {
+				return;
+			}
+
+			// Return zeros for disconnected and hidden (display: none) elements (gh-2310)
+			// Support: IE <=11 only
+			// Running getBoundingClientRect on a
+			// disconnected node in IE throws an error
+			if (!elem.getClientRects().length) {
+				return { top: 0, left: 0 };
+			}
+
+			// Get document-relative position by adding viewport scroll to viewport-relative gBCR
+			rect = elem.getBoundingClientRect();
+			win = elem.ownerDocument.defaultView;
+			return {
+				top: rect.top + win.pageYOffset,
+				left: rect.left + win.pageXOffset
+			};
+		},
+
+		// position() relates an element's margin box to its offset parent's padding box
+		// This corresponds to the behavior of CSS absolute positioning
+		position: function () {
+			if (!this[0]) {
+				return;
+			}
+
+			var offsetParent, offset, doc,
+				elem = this[0],
+				parentOffset = { top: 0, left: 0 };
+
+			// position:fixed elements are offset from the viewport, which itself always has zero offset
+			if (jQuery.css(elem, "position") === "fixed") {
+
+				// Assume position:fixed implies availability of getBoundingClientRect
+				offset = elem.getBoundingClientRect();
+
+			} else {
+				offset = this.offset();
+
+				// Account for the *real* offset parent, which can be the document or its root element
+				// when a statically positioned element is identified
+				doc = elem.ownerDocument;
+				offsetParent = elem.offsetParent || doc.documentElement;
+				while (offsetParent &&
+					(offsetParent === doc.body || offsetParent === doc.documentElement) &&
+					jQuery.css(offsetParent, "position") === "static") {
+
+					offsetParent = offsetParent.parentNode;
+				}
+				if (offsetParent && offsetParent !== elem && offsetParent.nodeType === 1) {
+
+					// Incorporate borders into its offset, since they are outside its content origin
+					parentOffset = jQuery(offsetParent).offset();
+					parentOffset.top += jQuery.css(offsetParent, "borderTopWidth", true);
+					parentOffset.left += jQuery.css(offsetParent, "borderLeftWidth", true);
+				}
+			}
+
+			// Subtract parent offsets and element margins
+			return {
+				top: offset.top - parentOffset.top - jQuery.css(elem, "marginTop", true),
+				left: offset.left - parentOffset.left - jQuery.css(elem, "marginLeft", true)
+			};
+		},
+
+		// This method will return documentElement in the following cases:
+		// 1) For the element inside the iframe without offsetParent, this method will return
+		//    documentElement of the parent window
+		// 2) For the hidden or detached element
+		// 3) For body or html element, i.e. in case of the html node - it will return itself
+		//
+		// but those exceptions were never presented as a real life use-cases
+		// and might be considered as more preferable results.
+		//
+		// This logic, however, is not guaranteed and can change at any point in the future
+		offsetParent: function () {
+			return this.map(function () {
+				var offsetParent = this.offsetParent;
+
+				while (offsetParent && jQuery.css(offsetParent, "position") === "static") {
+					offsetParent = offsetParent.offsetParent;
+				}
+
+				return offsetParent || documentElement;
+			});
+		}
+	});
+
+	// Create scrollLeft and scrollTop methods
+	jQuery.each({ scrollLeft: "pageXOffset", scrollTop: "pageYOffset" }, function (method, prop) {
+		var top = "pageYOffset" === prop;
+
+		jQuery.fn[method] = function (val) {
+			return access(this, function (elem, method, val) {
+
+				// Coalesce documents and windows
+				var win;
+				if (isWindow(elem)) {
+					win = elem;
+				} else if (elem.nodeType === 9) {
+					win = elem.defaultView;
+				}
+
+				if (val === undefined) {
+					return win ? win[prop] : elem[method];
+				}
+
+				if (win) {
+					win.scrollTo(
+						!top ? val : win.pageXOffset,
+						top ? val : win.pageYOffset
+					);
+
+				} else {
+					elem[method] = val;
+				}
+			}, method, val, arguments.length);
+		};
+	});
+
+	// Support: Safari <=7 - 9.1, Chrome <=37 - 49
+	// Add the top/left cssHooks using jQuery.fn.position
+	// Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084
+	// Blink bug: https://bugs.chromium.org/p/chromium/issues/detail?id=589347
+	// getComputedStyle returns percent when specified for top/left/bottom/right;
+	// rather than make the css module depend on the offset module, just check for it here
+	jQuery.each(["top", "left"], function (_i, prop) {
+		jQuery.cssHooks[prop] = addGetHookIf(support.pixelPosition,
+			function (elem, computed) {
+				if (computed) {
+					computed = curCSS(elem, prop);
+
+					// If curCSS returns percentage, fallback to offset
+					return rnumnonpx.test(computed) ?
+						jQuery(elem).position()[prop] + "px" :
+						computed;
+				}
+			}
+		);
+	});
+
+
+	// Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods
+	jQuery.each({ Height: "height", Width: "width" }, function (name, type) {
+		jQuery.each({ padding: "inner" + name, content: type, "": "outer" + name },
+			function (defaultExtra, funcName) {
+
+				// Margin is only for outerHeight, outerWidth
+				jQuery.fn[funcName] = function (margin, value) {
+					var chainable = arguments.length && (defaultExtra || typeof margin !== "boolean"),
+						extra = defaultExtra || (margin === true || value === true ? "margin" : "border");
+
+					return access(this, function (elem, type, value) {
+						var doc;
+
+						if (isWindow(elem)) {
+
+							// $( window ).outerWidth/Height return w/h including scrollbars (gh-1729)
+							return funcName.indexOf("outer") === 0 ?
+								elem["inner" + name] :
+								elem.document.documentElement["client" + name];
+						}
+
+						// Get document width or height
+						if (elem.nodeType === 9) {
+							doc = elem.documentElement;
+
+							// Either scroll[Width/Height] or offset[Width/Height] or client[Width/Height],
+							// whichever is greatest
+							return Math.max(
+								elem.body["scroll" + name], doc["scroll" + name],
+								elem.body["offset" + name], doc["offset" + name],
+								doc["client" + name]
+							);
+						}
+
+						return value === undefined ?
+
+							// Get width or height on the element, requesting but not forcing parseFloat
+							jQuery.css(elem, type, extra) :
+
+							// Set width or height on the element
+							jQuery.style(elem, type, value, extra);
+					}, type, chainable ? margin : undefined, chainable);
+				};
+			});
+	});
+
+
+	jQuery.each([
+		"ajaxStart",
+		"ajaxStop",
+		"ajaxComplete",
+		"ajaxError",
+		"ajaxSuccess",
+		"ajaxSend"
+	], function (_i, type) {
+		jQuery.fn[type] = function (fn) {
+			return this.on(type, fn);
+		};
+	});
+
+
+
+
+	jQuery.fn.extend({
+
+		bind: function (types, data, fn) {
+			return this.on(types, null, data, fn);
+		},
+		unbind: function (types, fn) {
+			return this.off(types, null, fn);
+		},
+
+		delegate: function (selector, types, data, fn) {
+			return this.on(types, selector, data, fn);
+		},
+		undelegate: function (selector, types, fn) {
+
+			// ( namespace ) or ( selector, types [, fn] )
+			return arguments.length === 1 ?
+				this.off(selector, "**") :
+				this.off(types, selector || "**", fn);
+		},
+
+		hover: function (fnOver, fnOut) {
+			return this.mouseenter(fnOver).mouseleave(fnOut || fnOver);
+		}
+	});
+
+	jQuery.each(("blur focus focusin focusout resize scroll click dblclick " +
+		"mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " +
+		"change select submit keydown keypress keyup contextmenu").split(" "),
+		function (_i, name) {
+
+			// Handle event binding
+			jQuery.fn[name] = function (data, fn) {
+				return arguments.length > 0 ?
+					this.on(name, null, data, fn) :
+					this.trigger(name);
+			};
+		});
+
+
+
+
+	// Support: Android <=4.0 only
+	// Make sure we trim BOM and NBSP
+	var rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;
+
+	// Bind a function to a context, optionally partially applying any
+	// arguments.
+	// jQuery.proxy is deprecated to promote standards (specifically Function#bind)
+	// However, it is not slated for removal any time soon
+	jQuery.proxy = function (fn, context) {
+		var tmp, args, proxy;
+
+		if (typeof context === "string") {
+			tmp = fn[context];
+			context = fn;
+			fn = tmp;
+		}
+
+		// Quick check to determine if target is callable, in the spec
+		// this throws a TypeError, but we will just return undefined.
+		if (!isFunction(fn)) {
+			return undefined;
+		}
+
+		// Simulated bind
+		args = slice.call(arguments, 2);
+		proxy = function () {
+			return fn.apply(context || this, args.concat(slice.call(arguments)));
+		};
+
+		// Set the guid of unique handler to the same of original handler, so it can be removed
+		proxy.guid = fn.guid = fn.guid || jQuery.guid++;
+
+		return proxy;
+	};
+
+	jQuery.holdReady = function (hold) {
+		if (hold) {
+			jQuery.readyWait++;
+		} else {
+			jQuery.ready(true);
+		}
+	};
+	jQuery.isArray = Array.isArray;
+	jQuery.parseJSON = JSON.parse;
+	jQuery.nodeName = nodeName;
+	jQuery.isFunction = isFunction;
+	jQuery.isWindow = isWindow;
+	jQuery.camelCase = camelCase;
+	jQuery.type = toType;
+
+	jQuery.now = Date.now;
+
+	jQuery.isNumeric = function (obj) {
+
+		// As of jQuery 3.0, isNumeric is limited to
+		// strings and numbers (primitives or objects)
+		// that can be coerced to finite numbers (gh-2662)
+		var type = jQuery.type(obj);
+		return (type === "number" || type === "string") &&
+
+			// parseFloat NaNs numeric-cast false positives ("")
+			// ...but misinterprets leading-number strings, particularly hex literals ("0x...")
+			// subtraction forces infinities to NaN
+			!isNaN(obj - parseFloat(obj));
+	};
+
+	jQuery.trim = function (text) {
+		return text == null ?
+			"" :
+			(text + "").replace(rtrim, "");
+	};
+
+
+
+	// Register as a named AMD module, since jQuery can be concatenated with other
+	// files that may use define, but not via a proper concatenation script that
+	// understands anonymous AMD modules. A named AMD is safest and most robust
+	// way to register. Lowercase jquery is used because AMD module names are
+	// derived from file names, and jQuery is normally delivered in a lowercase
+	// file name. Do this after creating the global so that if an AMD module wants
+	// to call noConflict to hide this version of jQuery, it will work.
+
+	// Note that for maximum portability, libraries that are not jQuery should
+	// declare themselves as anonymous modules, and avoid setting a global if an
+	// AMD loader is present. jQuery is a special case. For more information, see
+	// https://github.com/jrburke/requirejs/wiki/Updating-existing-libraries#wiki-anon
+
+	if (typeof define === "function" && define.amd) {
+		define("jquery", [], function () {
+			return jQuery;
+		});
+	}
+
+
+
+
+	var
+
+		// Map over jQuery in case of overwrite
+		_jQuery = window.jQuery,
+
+		// Map over the $ in case of overwrite
+		_$ = window.$;
+
+	jQuery.noConflict = function (deep) {
+		if (window.$ === jQuery) {
+			window.$ = _$;
+		}
+
+		if (deep && window.jQuery === jQuery) {
+			window.jQuery = _jQuery;
+		}
+
+		return jQuery;
+	};
+
+	// Expose jQuery and $ identifiers, even in AMD
+	// (#7102#comment:10, https://github.com/jquery/jquery/pull/557)
+	// and CommonJS for browser emulators (#13566)
+	if (typeof noGlobal === "undefined") {
+		window.jQuery = window.$ = jQuery;
+	}
+
+
+
+
+	return jQuery;
+});

+ 592 - 0
SuperAdmin/SuperAdmin/Extensions/js/tables/jquery.dataTables.min.js

@@ -0,0 +1,592 @@
+/*!
+   Copyright 2008-2020 SpryMedia Ltd.
+
+ This source file is free software, available under the following license:
+   MIT license - http://datatables.net/license
+
+ This source file is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ or FITNESS FOR A PARTICULAR PURPOSE. See the license files for details.
+
+ For details please refer to: http://www.datatables.net
+ DataTables 1.10.22
+ ©2008-2020 SpryMedia Ltd - datatables.net/license
+*/
+var $jscomp = $jscomp || {}; $jscomp.scope = {}; $jscomp.findInternal = function (k, y, z) { k instanceof String && (k = String(k)); for (var q = k.length, G = 0; G < q; G++) { var O = k[G]; if (y.call(z, O, G, k)) return { i: G, v: O } } return { i: -1, v: void 0 } }; $jscomp.ASSUME_ES5 = !1; $jscomp.ASSUME_NO_NATIVE_MAP = !1; $jscomp.ASSUME_NO_NATIVE_SET = !1; $jscomp.SIMPLE_FROUND_POLYFILL = !1; $jscomp.ISOLATE_POLYFILLS = !1;
+$jscomp.defineProperty = $jscomp.ASSUME_ES5 || "function" == typeof Object.defineProperties ? Object.defineProperty : function (k, y, z) { if (k == Array.prototype || k == Object.prototype) return k; k[y] = z.value; return k }; $jscomp.getGlobal = function (k) { k = ["object" == typeof globalThis && globalThis, k, "object" == typeof window && window, "object" == typeof self && self, "object" == typeof global && global]; for (var y = 0; y < k.length; ++y) { var z = k[y]; if (z && z.Math == Math) return z } throw Error("Cannot find global object"); }; $jscomp.global = $jscomp.getGlobal(this);
+$jscomp.IS_SYMBOL_NATIVE = "function" === typeof Symbol && "symbol" === typeof Symbol("x"); $jscomp.TRUST_ES6_POLYFILLS = !$jscomp.ISOLATE_POLYFILLS || $jscomp.IS_SYMBOL_NATIVE; $jscomp.polyfills = {}; $jscomp.propertyToPolyfillSymbol = {}; $jscomp.POLYFILL_PREFIX = "$jscp$"; var $jscomp$lookupPolyfilledValue = function (k, y) { var z = $jscomp.propertyToPolyfillSymbol[y]; if (null == z) return k[y]; z = k[z]; return void 0 !== z ? z : k[y] };
+$jscomp.polyfill = function (k, y, z, q) { y && ($jscomp.ISOLATE_POLYFILLS ? $jscomp.polyfillIsolated(k, y, z, q) : $jscomp.polyfillUnisolated(k, y, z, q)) }; $jscomp.polyfillUnisolated = function (k, y, z, q) { z = $jscomp.global; k = k.split("."); for (q = 0; q < k.length - 1; q++) { var G = k[q]; if (!(G in z)) return; z = z[G] } k = k[k.length - 1]; q = z[k]; y = y(q); y != q && null != y && $jscomp.defineProperty(z, k, { configurable: !0, writable: !0, value: y }) };
+$jscomp.polyfillIsolated = function (k, y, z, q) {
+    var G = k.split("."); k = 1 === G.length; q = G[0]; q = !k && q in $jscomp.polyfills ? $jscomp.polyfills : $jscomp.global; for (var O = 0; O < G.length - 1; O++) { var ma = G[O]; if (!(ma in q)) return; q = q[ma] } G = G[G.length - 1]; z = $jscomp.IS_SYMBOL_NATIVE && "es6" === z ? q[G] : null; y = y(z); null != y && (k ? $jscomp.defineProperty($jscomp.polyfills, G, { configurable: !0, writable: !0, value: y }) : y !== z && ($jscomp.propertyToPolyfillSymbol[G] = $jscomp.IS_SYMBOL_NATIVE ? $jscomp.global.Symbol(G) : $jscomp.POLYFILL_PREFIX + G,
+        G = $jscomp.propertyToPolyfillSymbol[G], $jscomp.defineProperty(q, G, { configurable: !0, writable: !0, value: y })))
+}; $jscomp.polyfill("Array.prototype.find", function (k) { return k ? k : function (y, z) { return $jscomp.findInternal(this, y, z).v } }, "es6", "es3");
+(function (k) { "function" === typeof define && define.amd ? define(["jquery"], function (y) { return k(y, window, document) }) : "object" === typeof exports ? module.exports = function (y, z) { y || (y = window); z || (z = "undefined" !== typeof window ? require("jquery") : require("jquery")(y)); return k(z, y, y.document) } : k(jQuery, window, document) })(function (k, y, z, q) {
+    function G(a) {
+        var b, c, d = {}; k.each(a, function (f, e) {
+            (b = f.match(/^([^A-Z]+?)([A-Z])/)) && -1 !== "a aa ai ao as b fn i m o s ".indexOf(b[1] + " ") && (c = f.replace(b[0], b[2].toLowerCase()),
+                d[c] = f, "o" === b[1] && G(a[f]))
+        }); a._hungarianMap = d
+    } function O(a, b, c) { a._hungarianMap || G(a); var d; k.each(b, function (f, e) { d = a._hungarianMap[f]; d === q || !c && b[d] !== q || ("o" === d.charAt(0) ? (b[d] || (b[d] = {}), k.extend(!0, b[d], b[f]), O(a[d], b[d], c)) : b[d] = b[f]) }) } function ma(a) {
+        var b = u.defaults.oLanguage, c = b.sDecimal; c && Va(c); if (a) {
+            var d = a.sZeroRecords; !a.sEmptyTable && d && "No data available in table" === b.sEmptyTable && V(a, a, "sZeroRecords", "sEmptyTable"); !a.sLoadingRecords && d && "Loading..." === b.sLoadingRecords && V(a, a,
+                "sZeroRecords", "sLoadingRecords"); a.sInfoThousands && (a.sThousands = a.sInfoThousands); (a = a.sDecimal) && c !== a && Va(a)
+        }
+    } function yb(a) {
+        R(a, "ordering", "bSort"); R(a, "orderMulti", "bSortMulti"); R(a, "orderClasses", "bSortClasses"); R(a, "orderCellsTop", "bSortCellsTop"); R(a, "order", "aaSorting"); R(a, "orderFixed", "aaSortingFixed"); R(a, "paging", "bPaginate"); R(a, "pagingType", "sPaginationType"); R(a, "pageLength", "iDisplayLength"); R(a, "searching", "bFilter"); "boolean" === typeof a.sScrollX && (a.sScrollX = a.sScrollX ? "100%" :
+            ""); "boolean" === typeof a.scrollX && (a.scrollX = a.scrollX ? "100%" : ""); if (a = a.aoSearchCols) for (var b = 0, c = a.length; b < c; b++)a[b] && O(u.models.oSearch, a[b])
+    } function zb(a) { R(a, "orderable", "bSortable"); R(a, "orderData", "aDataSort"); R(a, "orderSequence", "asSorting"); R(a, "orderDataType", "sortDataType"); var b = a.aDataSort; "number" !== typeof b || Array.isArray(b) || (a.aDataSort = [b]) } function Ab(a) {
+        if (!u.__browser) {
+            var b = {}; u.__browser = b; var c = k("<div/>").css({
+                position: "fixed", top: 0, left: -1 * k(y).scrollLeft(), height: 1,
+                width: 1, overflow: "hidden"
+            }).append(k("<div/>").css({ position: "absolute", top: 1, left: 1, width: 100, overflow: "scroll" }).append(k("<div/>").css({ width: "100%", height: 10 }))).appendTo("body"), d = c.children(), f = d.children(); b.barWidth = d[0].offsetWidth - d[0].clientWidth; b.bScrollOversize = 100 === f[0].offsetWidth && 100 !== d[0].clientWidth; b.bScrollbarLeft = 1 !== Math.round(f.offset().left); b.bBounding = c[0].getBoundingClientRect().width ? !0 : !1; c.remove()
+        } k.extend(a.oBrowser, u.__browser); a.oScroll.iBarWidth = u.__browser.barWidth
+    }
+    function Bb(a, b, c, d, f, e) { var g = !1; if (c !== q) { var h = c; g = !0 } for (; d !== f;)a.hasOwnProperty(d) && (h = g ? b(h, a[d], d, a) : a[d], g = !0, d += e); return h } function Wa(a, b) { var c = u.defaults.column, d = a.aoColumns.length; c = k.extend({}, u.models.oColumn, c, { nTh: b ? b : z.createElement("th"), sTitle: c.sTitle ? c.sTitle : b ? b.innerHTML : "", aDataSort: c.aDataSort ? c.aDataSort : [d], mData: c.mData ? c.mData : d, idx: d }); a.aoColumns.push(c); c = a.aoPreSearchCols; c[d] = k.extend({}, u.models.oSearch, c[d]); Da(a, d, k(b).data()) } function Da(a, b, c) {
+        b = a.aoColumns[b];
+        var d = a.oClasses, f = k(b.nTh); if (!b.sWidthOrig) { b.sWidthOrig = f.attr("width") || null; var e = (f.attr("style") || "").match(/width:\s*(\d+[pxem%]+)/); e && (b.sWidthOrig = e[1]) } c !== q && null !== c && (zb(c), O(u.defaults.column, c, !0), c.mDataProp === q || c.mData || (c.mData = c.mDataProp), c.sType && (b._sManualType = c.sType), c.className && !c.sClass && (c.sClass = c.className), c.sClass && f.addClass(c.sClass), k.extend(b, c), V(b, c, "sWidth", "sWidthOrig"), c.iDataSort !== q && (b.aDataSort = [c.iDataSort]), V(b, c, "aDataSort")); var g = b.mData, h = ia(g),
+            l = b.mRender ? ia(b.mRender) : null; c = function (n) { return "string" === typeof n && -1 !== n.indexOf("@") }; b._bAttrSrc = k.isPlainObject(g) && (c(g.sort) || c(g.type) || c(g.filter)); b._setter = null; b.fnGetData = function (n, m, p) { var t = h(n, m, q, p); return l && m ? l(t, m, n, p) : t }; b.fnSetData = function (n, m, p) { return da(g)(n, m, p) }; "number" !== typeof g && (a._rowReadObject = !0); a.oFeatures.bSort || (b.bSortable = !1, f.addClass(d.sSortableNone)); a = -1 !== k.inArray("asc", b.asSorting); c = -1 !== k.inArray("desc", b.asSorting); b.bSortable && (a || c) ? a && !c ?
+                (b.sSortingClass = d.sSortableAsc, b.sSortingClassJUI = d.sSortJUIAscAllowed) : !a && c ? (b.sSortingClass = d.sSortableDesc, b.sSortingClassJUI = d.sSortJUIDescAllowed) : (b.sSortingClass = d.sSortable, b.sSortingClassJUI = d.sSortJUI) : (b.sSortingClass = d.sSortableNone, b.sSortingClassJUI = "")
+    } function ra(a) { if (!1 !== a.oFeatures.bAutoWidth) { var b = a.aoColumns; Xa(a); for (var c = 0, d = b.length; c < d; c++)b[c].nTh.style.width = b[c].sWidth } b = a.oScroll; "" === b.sY && "" === b.sX || Ea(a); I(a, null, "column-sizing", [a]) } function sa(a, b) {
+        a = Fa(a, "bVisible");
+        return "number" === typeof a[b] ? a[b] : null
+    } function ta(a, b) { a = Fa(a, "bVisible"); b = k.inArray(b, a); return -1 !== b ? b : null } function na(a) { var b = 0; k.each(a.aoColumns, function (c, d) { d.bVisible && "none" !== k(d.nTh).css("display") && b++ }); return b } function Fa(a, b) { var c = []; k.map(a.aoColumns, function (d, f) { d[b] && c.push(f) }); return c } function Ya(a) {
+        var b = a.aoColumns, c = a.aoData, d = u.ext.type.detect, f, e, g; var h = 0; for (f = b.length; h < f; h++) {
+            var l = b[h]; var n = []; if (!l.sType && l._sManualType) l.sType = l._sManualType; else if (!l.sType) {
+                var m =
+                    0; for (e = d.length; m < e; m++) { var p = 0; for (g = c.length; p < g; p++) { n[p] === q && (n[p] = S(a, p, h, "type")); var t = d[m](n[p], a); if (!t && m !== d.length - 1) break; if ("html" === t) break } if (t) { l.sType = t; break } } l.sType || (l.sType = "string")
+            }
+        }
+    } function Cb(a, b, c, d) {
+        var f, e, g, h = a.aoColumns; if (b) for (f = b.length - 1; 0 <= f; f--) {
+            var l = b[f]; var n = l.targets !== q ? l.targets : l.aTargets; Array.isArray(n) || (n = [n]); var m = 0; for (e = n.length; m < e; m++)if ("number" === typeof n[m] && 0 <= n[m]) { for (; h.length <= n[m];)Wa(a); d(n[m], l) } else if ("number" === typeof n[m] &&
+                0 > n[m]) d(h.length + n[m], l); else if ("string" === typeof n[m]) { var p = 0; for (g = h.length; p < g; p++)("_all" == n[m] || k(h[p].nTh).hasClass(n[m])) && d(p, l) }
+        } if (c) for (f = 0, a = c.length; f < a; f++)d(f, c[f])
+    } function ea(a, b, c, d) { var f = a.aoData.length, e = k.extend(!0, {}, u.models.oRow, { src: c ? "dom" : "data", idx: f }); e._aData = b; a.aoData.push(e); for (var g = a.aoColumns, h = 0, l = g.length; h < l; h++)g[h].sType = null; a.aiDisplayMaster.push(f); b = a.rowIdFn(b); b !== q && (a.aIds[b] = e); !c && a.oFeatures.bDeferRender || Za(a, f, c, d); return f } function Ga(a,
+        b) { var c; b instanceof k || (b = k(b)); return b.map(function (d, f) { c = $a(a, f); return ea(a, c.data, f, c.cells) }) } function S(a, b, c, d) {
+            var f = a.iDraw, e = a.aoColumns[c], g = a.aoData[b]._aData, h = e.sDefaultContent, l = e.fnGetData(g, d, { settings: a, row: b, col: c }); if (l === q) return a.iDrawError != f && null === h && (aa(a, 0, "Requested unknown parameter " + ("function" == typeof e.mData ? "{function}" : "'" + e.mData + "'") + " for row " + b + ", column " + c, 4), a.iDrawError = f), h; if ((l === g || null === l) && null !== h && d !== q) l = h; else if ("function" === typeof l) return l.call(g);
+            return null === l && "display" == d ? "" : l
+        } function Db(a, b, c, d) { a.aoColumns[c].fnSetData(a.aoData[b]._aData, d, { settings: a, row: b, col: c }) } function ab(a) { return k.map(a.match(/(\\.|[^\.])+/g) || [""], function (b) { return b.replace(/\\\./g, ".") }) } function ia(a) {
+            if (k.isPlainObject(a)) { var b = {}; k.each(a, function (d, f) { f && (b[d] = ia(f)) }); return function (d, f, e, g) { var h = b[f] || b._; return h !== q ? h(d, f, e, g) : d } } if (null === a) return function (d) { return d }; if ("function" === typeof a) return function (d, f, e, g) { return a(d, f, e, g) }; if ("string" !==
+                typeof a || -1 === a.indexOf(".") && -1 === a.indexOf("[") && -1 === a.indexOf("(")) return function (d, f) { return d[a] }; var c = function (d, f, e) {
+                    if ("" !== e) {
+                        var g = ab(e); for (var h = 0, l = g.length; h < l; h++) {
+                            e = g[h].match(ua); var n = g[h].match(oa); if (e) { g[h] = g[h].replace(ua, ""); "" !== g[h] && (d = d[g[h]]); n = []; g.splice(0, h + 1); g = g.join("."); if (Array.isArray(d)) for (h = 0, l = d.length; h < l; h++)n.push(c(d[h], f, g)); d = e[0].substring(1, e[0].length - 1); d = "" === d ? n : n.join(d); break } else if (n) { g[h] = g[h].replace(oa, ""); d = d[g[h]](); continue } if (null ===
+                                d || d[g[h]] === q) return q; d = d[g[h]]
+                        }
+                    } return d
+                }; return function (d, f) { return c(d, f, a) }
+        } function da(a) {
+            if (k.isPlainObject(a)) return da(a._); if (null === a) return function () { }; if ("function" === typeof a) return function (c, d, f) { a(c, "set", d, f) }; if ("string" !== typeof a || -1 === a.indexOf(".") && -1 === a.indexOf("[") && -1 === a.indexOf("(")) return function (c, d) { c[a] = d }; var b = function (c, d, f) {
+                f = ab(f); var e = f[f.length - 1]; for (var g, h, l = 0, n = f.length - 1; l < n; l++) {
+                    if ("__proto__" === f[l]) throw Error("Cannot set prototype values"); g =
+                        f[l].match(ua); h = f[l].match(oa); if (g) { f[l] = f[l].replace(ua, ""); c[f[l]] = []; e = f.slice(); e.splice(0, l + 1); g = e.join("."); if (Array.isArray(d)) for (h = 0, n = d.length; h < n; h++)e = {}, b(e, d[h], g), c[f[l]].push(e); else c[f[l]] = d; return } h && (f[l] = f[l].replace(oa, ""), c = c[f[l]](d)); if (null === c[f[l]] || c[f[l]] === q) c[f[l]] = {}; c = c[f[l]]
+                } if (e.match(oa)) c[e.replace(oa, "")](d); else c[e.replace(ua, "")] = d
+            }; return function (c, d) { return b(c, d, a) }
+        } function bb(a) { return T(a.aoData, "_aData") } function Ha(a) {
+            a.aoData.length = 0; a.aiDisplayMaster.length =
+                0; a.aiDisplay.length = 0; a.aIds = {}
+        } function Ia(a, b, c) { for (var d = -1, f = 0, e = a.length; f < e; f++)a[f] == b ? d = f : a[f] > b && a[f]--; -1 != d && c === q && a.splice(d, 1) } function va(a, b, c, d) {
+            var f = a.aoData[b], e, g = function (l, n) { for (; l.childNodes.length;)l.removeChild(l.firstChild); l.innerHTML = S(a, b, n, "display") }; if ("dom" !== c && (c && "auto" !== c || "dom" !== f.src)) { var h = f.anCells; if (h) if (d !== q) g(h[d], d); else for (c = 0, e = h.length; c < e; c++)g(h[c], c) } else f._aData = $a(a, f, d, d === q ? q : f._aData).data; f._aSortData = null; f._aFilterData = null; g =
+                a.aoColumns; if (d !== q) g[d].sType = null; else { c = 0; for (e = g.length; c < e; c++)g[c].sType = null; cb(a, f) }
+        } function $a(a, b, c, d) {
+            var f = [], e = b.firstChild, g, h = 0, l, n = a.aoColumns, m = a._rowReadObject; d = d !== q ? d : m ? {} : []; var p = function (x, r) { if ("string" === typeof x) { var A = x.indexOf("@"); -1 !== A && (A = x.substring(A + 1), da(x)(d, r.getAttribute(A))) } }, t = function (x) {
+                if (c === q || c === h) g = n[h], l = x.innerHTML.trim(), g && g._bAttrSrc ? (da(g.mData._)(d, l), p(g.mData.sort, x), p(g.mData.type, x), p(g.mData.filter, x)) : m ? (g._setter || (g._setter = da(g.mData)),
+                    g._setter(d, l)) : d[h] = l; h++
+            }; if (e) for (; e;) { var v = e.nodeName.toUpperCase(); if ("TD" == v || "TH" == v) t(e), f.push(e); e = e.nextSibling } else for (f = b.anCells, e = 0, v = f.length; e < v; e++)t(f[e]); (b = b.firstChild ? b : b.nTr) && (b = b.getAttribute("id")) && da(a.rowId)(d, b); return { data: d, cells: f }
+        } function Za(a, b, c, d) {
+            var f = a.aoData[b], e = f._aData, g = [], h, l; if (null === f.nTr) {
+                var n = c || z.createElement("tr"); f.nTr = n; f.anCells = g; n._DT_RowIndex = b; cb(a, f); var m = 0; for (h = a.aoColumns.length; m < h; m++) {
+                    var p = a.aoColumns[m]; var t = (l = c ? !1 : !0) ?
+                        z.createElement(p.sCellType) : d[m]; t._DT_CellIndex = { row: b, column: m }; g.push(t); if (l || !(c && !p.mRender && p.mData === m || k.isPlainObject(p.mData) && p.mData._ === m + ".display")) t.innerHTML = S(a, b, m, "display"); p.sClass && (t.className += " " + p.sClass); p.bVisible && !c ? n.appendChild(t) : !p.bVisible && c && t.parentNode.removeChild(t); p.fnCreatedCell && p.fnCreatedCell.call(a.oInstance, t, S(a, b, m), e, b, m)
+                } I(a, "aoRowCreatedCallback", null, [n, e, b, g])
+            } f.nTr.setAttribute("role", "row")
+        } function cb(a, b) {
+            var c = b.nTr, d = b._aData; if (c) {
+                if (a =
+                    a.rowIdFn(d)) c.id = a; d.DT_RowClass && (a = d.DT_RowClass.split(" "), b.__rowc = b.__rowc ? Ja(b.__rowc.concat(a)) : a, k(c).removeClass(b.__rowc.join(" ")).addClass(d.DT_RowClass)); d.DT_RowAttr && k(c).attr(d.DT_RowAttr); d.DT_RowData && k(c).data(d.DT_RowData)
+            }
+        } function Eb(a) {
+            var b, c, d = a.nTHead, f = a.nTFoot, e = 0 === k("th, td", d).length, g = a.oClasses, h = a.aoColumns; e && (c = k("<tr/>").appendTo(d)); var l = 0; for (b = h.length; l < b; l++) {
+                var n = h[l]; var m = k(n.nTh).addClass(n.sClass); e && m.appendTo(c); a.oFeatures.bSort && (m.addClass(n.sSortingClass),
+                    !1 !== n.bSortable && (m.attr("tabindex", a.iTabIndex).attr("aria-controls", a.sTableId), db(a, n.nTh, l))); n.sTitle != m[0].innerHTML && m.html(n.sTitle); eb(a, "header")(a, m, n, g)
+            } e && wa(a.aoHeader, d); k(d).children("tr").attr("role", "row"); k(d).children("tr").children("th, td").addClass(g.sHeaderTH); k(f).children("tr").children("th, td").addClass(g.sFooterTH); if (null !== f) for (a = a.aoFooter[0], l = 0, b = a.length; l < b; l++)n = h[l], n.nTf = a[l].cell, n.sClass && k(n.nTf).addClass(n.sClass)
+        } function xa(a, b, c) {
+            var d, f, e = [], g = [], h =
+                a.aoColumns.length; if (b) {
+                    c === q && (c = !1); var l = 0; for (d = b.length; l < d; l++) { e[l] = b[l].slice(); e[l].nTr = b[l].nTr; for (f = h - 1; 0 <= f; f--)a.aoColumns[f].bVisible || c || e[l].splice(f, 1); g.push([]) } l = 0; for (d = e.length; l < d; l++) {
+                        if (a = e[l].nTr) for (; f = a.firstChild;)a.removeChild(f); f = 0; for (b = e[l].length; f < b; f++) {
+                            var n = h = 1; if (g[l][f] === q) {
+                                a.appendChild(e[l][f].cell); for (g[l][f] = 1; e[l + h] !== q && e[l][f].cell == e[l + h][f].cell;)g[l + h][f] = 1, h++; for (; e[l][f + n] !== q && e[l][f].cell == e[l][f + n].cell;) { for (c = 0; c < h; c++)g[l + c][f + n] = 1; n++ } k(e[l][f].cell).attr("rowspan",
+                                    h).attr("colspan", n)
+                            }
+                        }
+                    }
+                }
+        } function fa(a) {
+            var b = I(a, "aoPreDrawCallback", "preDraw", [a]); if (-1 !== k.inArray(!1, b)) U(a, !1); else {
+                b = []; var c = 0, d = a.asStripeClasses, f = d.length, e = a.oLanguage, g = a.iInitDisplayStart, h = "ssp" == P(a), l = a.aiDisplay; a.bDrawing = !0; g !== q && -1 !== g && (a._iDisplayStart = h ? g : g >= a.fnRecordsDisplay() ? 0 : g, a.iInitDisplayStart = -1); g = a._iDisplayStart; var n = a.fnDisplayEnd(); if (a.bDeferLoading) a.bDeferLoading = !1, a.iDraw++, U(a, !1); else if (!h) a.iDraw++; else if (!a.bDestroying && !Fb(a)) return; if (0 !== l.length) for (e =
+                    h ? a.aoData.length : n, h = h ? 0 : g; h < e; h++) { var m = l[h], p = a.aoData[m]; null === p.nTr && Za(a, m); var t = p.nTr; if (0 !== f) { var v = d[c % f]; p._sRowStripe != v && (k(t).removeClass(p._sRowStripe).addClass(v), p._sRowStripe = v) } I(a, "aoRowCallback", null, [t, p._aData, c, h, m]); b.push(t); c++ } else c = e.sZeroRecords, 1 == a.iDraw && "ajax" == P(a) ? c = e.sLoadingRecords : e.sEmptyTable && 0 === a.fnRecordsTotal() && (c = e.sEmptyTable), b[0] = k("<tr/>", { "class": f ? d[0] : "" }).append(k("<td />", { valign: "top", colSpan: na(a), "class": a.oClasses.sRowEmpty }).html(c))[0];
+                I(a, "aoHeaderCallback", "header", [k(a.nTHead).children("tr")[0], bb(a), g, n, l]); I(a, "aoFooterCallback", "footer", [k(a.nTFoot).children("tr")[0], bb(a), g, n, l]); d = k(a.nTBody); d.children().detach(); d.append(k(b)); I(a, "aoDrawCallback", "draw", [a]); a.bSorted = !1; a.bFiltered = !1; a.bDrawing = !1
+            }
+        } function ja(a, b) { var c = a.oFeatures, d = c.bFilter; c.bSort && Gb(a); d ? ya(a, a.oPreviousSearch) : a.aiDisplay = a.aiDisplayMaster.slice(); !0 !== b && (a._iDisplayStart = 0); a._drawHold = b; fa(a); a._drawHold = !1 } function Hb(a) {
+            var b = a.oClasses,
+            c = k(a.nTable); c = k("<div/>").insertBefore(c); var d = a.oFeatures, f = k("<div/>", { id: a.sTableId + "_wrapper", "class": b.sWrapper + (a.nTFoot ? "" : " " + b.sNoFooter) }); a.nHolding = c[0]; a.nTableWrapper = f[0]; a.nTableReinsertBefore = a.nTable.nextSibling; for (var e = a.sDom.split(""), g, h, l, n, m, p, t = 0; t < e.length; t++) {
+                g = null; h = e[t]; if ("<" == h) {
+                    l = k("<div/>")[0]; n = e[t + 1]; if ("'" == n || '"' == n) {
+                        m = ""; for (p = 2; e[t + p] != n;)m += e[t + p], p++; "H" == m ? m = b.sJUIHeader : "F" == m && (m = b.sJUIFooter); -1 != m.indexOf(".") ? (n = m.split("."), l.id = n[0].substr(1,
+                            n[0].length - 1), l.className = n[1]) : "#" == m.charAt(0) ? l.id = m.substr(1, m.length - 1) : l.className = m; t += p
+                    } f.append(l); f = k(l)
+                } else if (">" == h) f = f.parent(); else if ("l" == h && d.bPaginate && d.bLengthChange) g = Ib(a); else if ("f" == h && d.bFilter) g = Jb(a); else if ("r" == h && d.bProcessing) g = Kb(a); else if ("t" == h) g = Lb(a); else if ("i" == h && d.bInfo) g = Mb(a); else if ("p" == h && d.bPaginate) g = Nb(a); else if (0 !== u.ext.feature.length) for (l = u.ext.feature, p = 0, n = l.length; p < n; p++)if (h == l[p].cFeature) { g = l[p].fnInit(a); break } g && (l = a.aanFeatures, l[h] ||
+                    (l[h] = []), l[h].push(g), f.append(g))
+            } c.replaceWith(f); a.nHolding = null
+        } function wa(a, b) {
+            b = k(b).children("tr"); var c, d, f; a.splice(0, a.length); var e = 0; for (f = b.length; e < f; e++)a.push([]); e = 0; for (f = b.length; e < f; e++) {
+                var g = b[e]; for (c = g.firstChild; c;) {
+                    if ("TD" == c.nodeName.toUpperCase() || "TH" == c.nodeName.toUpperCase()) {
+                        var h = 1 * c.getAttribute("colspan"); var l = 1 * c.getAttribute("rowspan"); h = h && 0 !== h && 1 !== h ? h : 1; l = l && 0 !== l && 1 !== l ? l : 1; var n = 0; for (d = a[e]; d[n];)n++; var m = n; var p = 1 === h ? !0 : !1; for (d = 0; d < h; d++)for (n = 0; n <
+                            l; n++)a[e + n][m + d] = { cell: c, unique: p }, a[e + n].nTr = g
+                    } c = c.nextSibling
+                }
+            }
+        } function Ka(a, b, c) { var d = []; c || (c = a.aoHeader, b && (c = [], wa(c, b))); b = 0; for (var f = c.length; b < f; b++)for (var e = 0, g = c[b].length; e < g; e++)!c[b][e].unique || d[e] && a.bSortCellsTop || (d[e] = c[b][e].cell); return d } function La(a, b, c) {
+            I(a, "aoServerParams", "serverParams", [b]); if (b && Array.isArray(b)) { var d = {}, f = /(.*?)\[\]$/; k.each(b, function (m, p) { (m = p.name.match(f)) ? (m = m[0], d[m] || (d[m] = []), d[m].push(p.value)) : d[p.name] = p.value }); b = d } var e = a.ajax, g = a.oInstance,
+                h = function (m) { I(a, null, "xhr", [a, m, a.jqXHR]); c(m) }; if (k.isPlainObject(e) && e.data) { var l = e.data; var n = "function" === typeof l ? l(b, a) : l; b = "function" === typeof l && n ? n : k.extend(!0, b, n); delete e.data } n = { data: b, success: function (m) { var p = m.error || m.sError; p && aa(a, 0, p); a.json = m; h(m) }, dataType: "json", cache: !1, type: a.sServerMethod, error: function (m, p, t) { t = I(a, null, "xhr", [a, null, a.jqXHR]); -1 === k.inArray(!0, t) && ("parsererror" == p ? aa(a, 0, "Invalid JSON response", 1) : 4 === m.readyState && aa(a, 0, "Ajax error", 7)); U(a, !1) } };
+            a.oAjaxData = b; I(a, null, "preXhr", [a, b]); a.fnServerData ? a.fnServerData.call(g, a.sAjaxSource, k.map(b, function (m, p) { return { name: p, value: m } }), h, a) : a.sAjaxSource || "string" === typeof e ? a.jqXHR = k.ajax(k.extend(n, { url: e || a.sAjaxSource })) : "function" === typeof e ? a.jqXHR = e.call(g, b, h, a) : (a.jqXHR = k.ajax(k.extend(n, e)), e.data = l)
+        } function Fb(a) { return a.bAjaxDataGet ? (a.iDraw++, U(a, !0), La(a, Ob(a), function (b) { Pb(a, b) }), !1) : !0 } function Ob(a) {
+            var b = a.aoColumns, c = b.length, d = a.oFeatures, f = a.oPreviousSearch, e = a.aoPreSearchCols,
+            g = [], h = pa(a); var l = a._iDisplayStart; var n = !1 !== d.bPaginate ? a._iDisplayLength : -1; var m = function (x, r) { g.push({ name: x, value: r }) }; m("sEcho", a.iDraw); m("iColumns", c); m("sColumns", T(b, "sName").join(",")); m("iDisplayStart", l); m("iDisplayLength", n); var p = { draw: a.iDraw, columns: [], order: [], start: l, length: n, search: { value: f.sSearch, regex: f.bRegex } }; for (l = 0; l < c; l++) {
+                var t = b[l]; var v = e[l]; n = "function" == typeof t.mData ? "function" : t.mData; p.columns.push({
+                    data: n, name: t.sName, searchable: t.bSearchable, orderable: t.bSortable,
+                    search: { value: v.sSearch, regex: v.bRegex }
+                }); m("mDataProp_" + l, n); d.bFilter && (m("sSearch_" + l, v.sSearch), m("bRegex_" + l, v.bRegex), m("bSearchable_" + l, t.bSearchable)); d.bSort && m("bSortable_" + l, t.bSortable)
+            } d.bFilter && (m("sSearch", f.sSearch), m("bRegex", f.bRegex)); d.bSort && (k.each(h, function (x, r) { p.order.push({ column: r.col, dir: r.dir }); m("iSortCol_" + x, r.col); m("sSortDir_" + x, r.dir) }), m("iSortingCols", h.length)); b = u.ext.legacy.ajax; return null === b ? a.sAjaxSource ? g : p : b ? g : p
+        } function Pb(a, b) {
+            var c = function (g, h) {
+                return b[g] !==
+                    q ? b[g] : b[h]
+            }, d = Ma(a, b), f = c("sEcho", "draw"), e = c("iTotalRecords", "recordsTotal"); c = c("iTotalDisplayRecords", "recordsFiltered"); if (f !== q) { if (1 * f < a.iDraw) return; a.iDraw = 1 * f } Ha(a); a._iRecordsTotal = parseInt(e, 10); a._iRecordsDisplay = parseInt(c, 10); f = 0; for (e = d.length; f < e; f++)ea(a, d[f]); a.aiDisplay = a.aiDisplayMaster.slice(); a.bAjaxDataGet = !1; fa(a); a._bInitComplete || Na(a, b); a.bAjaxDataGet = !0; U(a, !1)
+        } function Ma(a, b) {
+            a = k.isPlainObject(a.ajax) && a.ajax.dataSrc !== q ? a.ajax.dataSrc : a.sAjaxDataProp; return "data" ===
+                a ? b.aaData || b[a] : "" !== a ? ia(a)(b) : b
+        } function Jb(a) {
+            var b = a.oClasses, c = a.sTableId, d = a.oLanguage, f = a.oPreviousSearch, e = a.aanFeatures, g = '<input type="search" class="' + b.sFilterInput + '"/>', h = d.sSearch; h = h.match(/_INPUT_/) ? h.replace("_INPUT_", g) : h + g; b = k("<div/>", { id: e.f ? null : c + "_filter", "class": b.sFilter }).append(k("<label/>").append(h)); var l = function () {
+                var m = this.value ? this.value : ""; m != f.sSearch && (ya(a, { sSearch: m, bRegex: f.bRegex, bSmart: f.bSmart, bCaseInsensitive: f.bCaseInsensitive }), a._iDisplayStart = 0,
+                    fa(a))
+            }; e = null !== a.searchDelay ? a.searchDelay : "ssp" === P(a) ? 400 : 0; var n = k("input", b).val(f.sSearch).attr("placeholder", d.sSearchPlaceholder).on("keyup.DT search.DT input.DT paste.DT cut.DT", e ? fb(l, e) : l).on("mouseup", function (m) { setTimeout(function () { l.call(n[0]) }, 10) }).on("keypress.DT", function (m) { if (13 == m.keyCode) return !1 }).attr("aria-controls", c); k(a.nTable).on("search.dt.DT", function (m, p) { if (a === p) try { n[0] !== z.activeElement && n.val(f.sSearch) } catch (t) { } }); return b[0]
+        } function ya(a, b, c) {
+            var d = a.oPreviousSearch,
+            f = a.aoPreSearchCols, e = function (h) { d.sSearch = h.sSearch; d.bRegex = h.bRegex; d.bSmart = h.bSmart; d.bCaseInsensitive = h.bCaseInsensitive }, g = function (h) { return h.bEscapeRegex !== q ? !h.bEscapeRegex : h.bRegex }; Ya(a); if ("ssp" != P(a)) { Qb(a, b.sSearch, c, g(b), b.bSmart, b.bCaseInsensitive); e(b); for (b = 0; b < f.length; b++)Rb(a, f[b].sSearch, b, g(f[b]), f[b].bSmart, f[b].bCaseInsensitive); Sb(a) } else e(b); a.bFiltered = !0; I(a, null, "search", [a])
+        } function Sb(a) {
+            for (var b = u.ext.search, c = a.aiDisplay, d, f, e = 0, g = b.length; e < g; e++) {
+                for (var h =
+                    [], l = 0, n = c.length; l < n; l++)f = c[l], d = a.aoData[f], b[e](a, d._aFilterData, f, d._aData, l) && h.push(f); c.length = 0; k.merge(c, h)
+            }
+        } function Rb(a, b, c, d, f, e) { if ("" !== b) { var g = [], h = a.aiDisplay; d = gb(b, d, f, e); for (f = 0; f < h.length; f++)b = a.aoData[h[f]]._aFilterData[c], d.test(b) && g.push(h[f]); a.aiDisplay = g } } function Qb(a, b, c, d, f, e) {
+            f = gb(b, d, f, e); var g = a.oPreviousSearch.sSearch, h = a.aiDisplayMaster; e = []; 0 !== u.ext.search.length && (c = !0); var l = Tb(a); if (0 >= b.length) a.aiDisplay = h.slice(); else {
+                if (l || c || d || g.length > b.length || 0 !==
+                    b.indexOf(g) || a.bSorted) a.aiDisplay = h.slice(); b = a.aiDisplay; for (c = 0; c < b.length; c++)f.test(a.aoData[b[c]]._sFilterRow) && e.push(b[c]); a.aiDisplay = e
+            }
+        } function gb(a, b, c, d) { a = b ? a : hb(a); c && (a = "^(?=.*?" + k.map(a.match(/"[^"]+"|[^ ]+/g) || [""], function (f) { if ('"' === f.charAt(0)) { var e = f.match(/^"(.*)"$/); f = e ? e[1] : f } return f.replace('"', "") }).join(")(?=.*?") + ").*$"); return new RegExp(a, d ? "i" : "") } function Tb(a) {
+            var b = a.aoColumns, c, d, f = u.ext.type.search; var e = !1; var g = 0; for (c = a.aoData.length; g < c; g++) {
+                var h = a.aoData[g];
+                if (!h._aFilterData) { var l = []; var n = 0; for (d = b.length; n < d; n++) { e = b[n]; if (e.bSearchable) { var m = S(a, g, n, "filter"); f[e.sType] && (m = f[e.sType](m)); null === m && (m = ""); "string" !== typeof m && m.toString && (m = m.toString()) } else m = ""; m.indexOf && -1 !== m.indexOf("&") && (Oa.innerHTML = m, m = rc ? Oa.textContent : Oa.innerText); m.replace && (m = m.replace(/[\r\n\u2028]/g, "")); l.push(m) } h._aFilterData = l; h._sFilterRow = l.join("  "); e = !0 }
+            } return e
+        } function Ub(a) { return { search: a.sSearch, smart: a.bSmart, regex: a.bRegex, caseInsensitive: a.bCaseInsensitive } }
+    function Vb(a) { return { sSearch: a.search, bSmart: a.smart, bRegex: a.regex, bCaseInsensitive: a.caseInsensitive } } function Mb(a) { var b = a.sTableId, c = a.aanFeatures.i, d = k("<div/>", { "class": a.oClasses.sInfo, id: c ? null : b + "_info" }); c || (a.aoDrawCallback.push({ fn: Wb, sName: "information" }), d.attr("role", "status").attr("aria-live", "polite"), k(a.nTable).attr("aria-describedby", b + "_info")); return d[0] } function Wb(a) {
+        var b = a.aanFeatures.i; if (0 !== b.length) {
+            var c = a.oLanguage, d = a._iDisplayStart + 1, f = a.fnDisplayEnd(), e = a.fnRecordsTotal(),
+            g = a.fnRecordsDisplay(), h = g ? c.sInfo : c.sInfoEmpty; g !== e && (h += " " + c.sInfoFiltered); h += c.sInfoPostFix; h = Xb(a, h); c = c.fnInfoCallback; null !== c && (h = c.call(a.oInstance, a, d, f, e, g, h)); k(b).html(h)
+        }
+    } function Xb(a, b) {
+        var c = a.fnFormatNumber, d = a._iDisplayStart + 1, f = a._iDisplayLength, e = a.fnRecordsDisplay(), g = -1 === f; return b.replace(/_START_/g, c.call(a, d)).replace(/_END_/g, c.call(a, a.fnDisplayEnd())).replace(/_MAX_/g, c.call(a, a.fnRecordsTotal())).replace(/_TOTAL_/g, c.call(a, e)).replace(/_PAGE_/g, c.call(a, g ? 1 : Math.ceil(d /
+            f))).replace(/_PAGES_/g, c.call(a, g ? 1 : Math.ceil(e / f)))
+    } function za(a) {
+        var b = a.iInitDisplayStart, c = a.aoColumns; var d = a.oFeatures; var f = a.bDeferLoading; if (a.bInitialised) {
+            Hb(a); Eb(a); xa(a, a.aoHeader); xa(a, a.aoFooter); U(a, !0); d.bAutoWidth && Xa(a); var e = 0; for (d = c.length; e < d; e++) { var g = c[e]; g.sWidth && (g.nTh.style.width = K(g.sWidth)) } I(a, null, "preInit", [a]); ja(a); c = P(a); if ("ssp" != c || f) "ajax" == c ? La(a, [], function (h) { var l = Ma(a, h); for (e = 0; e < l.length; e++)ea(a, l[e]); a.iInitDisplayStart = b; ja(a); U(a, !1); Na(a, h) },
+                a) : (U(a, !1), Na(a))
+        } else setTimeout(function () { za(a) }, 200)
+    } function Na(a, b) { a._bInitComplete = !0; (b || a.oInit.aaData) && ra(a); I(a, null, "plugin-init", [a, b]); I(a, "aoInitComplete", "init", [a, b]) } function ib(a, b) { b = parseInt(b, 10); a._iDisplayLength = b; jb(a); I(a, null, "length", [a, b]) } function Ib(a) {
+        var b = a.oClasses, c = a.sTableId, d = a.aLengthMenu, f = Array.isArray(d[0]), e = f ? d[0] : d; d = f ? d[1] : d; f = k("<select/>", { name: c + "_length", "aria-controls": c, "class": b.sLengthSelect }); for (var g = 0, h = e.length; g < h; g++)f[0][g] = new Option("number" ===
+            typeof d[g] ? a.fnFormatNumber(d[g]) : d[g], e[g]); var l = k("<div><label/></div>").addClass(b.sLength); a.aanFeatures.l || (l[0].id = c + "_length"); l.children().append(a.oLanguage.sLengthMenu.replace("_MENU_", f[0].outerHTML)); k("select", l).val(a._iDisplayLength).on("change.DT", function (n) { ib(a, k(this).val()); fa(a) }); k(a.nTable).on("length.dt.DT", function (n, m, p) { a === m && k("select", l).val(p) }); return l[0]
+    } function Nb(a) {
+        var b = a.sPaginationType, c = u.ext.pager[b], d = "function" === typeof c, f = function (g) { fa(g) }; b = k("<div/>").addClass(a.oClasses.sPaging +
+            b)[0]; var e = a.aanFeatures; d || c.fnInit(a, b, f); e.p || (b.id = a.sTableId + "_paginate", a.aoDrawCallback.push({ fn: function (g) { if (d) { var h = g._iDisplayStart, l = g._iDisplayLength, n = g.fnRecordsDisplay(), m = -1 === l; h = m ? 0 : Math.ceil(h / l); l = m ? 1 : Math.ceil(n / l); n = c(h, l); var p; m = 0; for (p = e.p.length; m < p; m++)eb(g, "pageButton")(g, e.p[m], m, n, h, l) } else c.fnUpdate(g, f) }, sName: "pagination" })); return b
+    } function kb(a, b, c) {
+        var d = a._iDisplayStart, f = a._iDisplayLength, e = a.fnRecordsDisplay(); 0 === e || -1 === f ? d = 0 : "number" === typeof b ? (d = b *
+            f, d > e && (d = 0)) : "first" == b ? d = 0 : "previous" == b ? (d = 0 <= f ? d - f : 0, 0 > d && (d = 0)) : "next" == b ? d + f < e && (d += f) : "last" == b ? d = Math.floor((e - 1) / f) * f : aa(a, 0, "Unknown paging action: " + b, 5); b = a._iDisplayStart !== d; a._iDisplayStart = d; b && (I(a, null, "page", [a]), c && fa(a)); return b
+    } function Kb(a) { return k("<div/>", { id: a.aanFeatures.r ? null : a.sTableId + "_processing", "class": a.oClasses.sProcessing }).html(a.oLanguage.sProcessing).insertBefore(a.nTable)[0] } function U(a, b) {
+        a.oFeatures.bProcessing && k(a.aanFeatures.r).css("display", b ? "block" :
+            "none"); I(a, null, "processing", [a, b])
+    } function Lb(a) {
+        var b = k(a.nTable); b.attr("role", "grid"); var c = a.oScroll; if ("" === c.sX && "" === c.sY) return a.nTable; var d = c.sX, f = c.sY, e = a.oClasses, g = b.children("caption"), h = g.length ? g[0]._captionSide : null, l = k(b[0].cloneNode(!1)), n = k(b[0].cloneNode(!1)), m = b.children("tfoot"); m.length || (m = null); l = k("<div/>", { "class": e.sScrollWrapper }).append(k("<div/>", { "class": e.sScrollHead }).css({ overflow: "hidden", position: "relative", border: 0, width: d ? d ? K(d) : null : "100%" }).append(k("<div/>",
+            { "class": e.sScrollHeadInner }).css({ "box-sizing": "content-box", width: c.sXInner || "100%" }).append(l.removeAttr("id").css("margin-left", 0).append("top" === h ? g : null).append(b.children("thead"))))).append(k("<div/>", { "class": e.sScrollBody }).css({ position: "relative", overflow: "auto", width: d ? K(d) : null }).append(b)); m && l.append(k("<div/>", { "class": e.sScrollFoot }).css({ overflow: "hidden", border: 0, width: d ? d ? K(d) : null : "100%" }).append(k("<div/>", { "class": e.sScrollFootInner }).append(n.removeAttr("id").css("margin-left",
+                0).append("bottom" === h ? g : null).append(b.children("tfoot"))))); b = l.children(); var p = b[0]; e = b[1]; var t = m ? b[2] : null; if (d) k(e).on("scroll.DT", function (v) { v = this.scrollLeft; p.scrollLeft = v; m && (t.scrollLeft = v) }); k(e).css("max-height", f); c.bCollapse || k(e).css("height", f); a.nScrollHead = p; a.nScrollBody = e; a.nScrollFoot = t; a.aoDrawCallback.push({ fn: Ea, sName: "scrolling" }); return l[0]
+    } function Ea(a) {
+        var b = a.oScroll, c = b.sX, d = b.sXInner, f = b.sY; b = b.iBarWidth; var e = k(a.nScrollHead), g = e[0].style, h = e.children("div"), l =
+            h[0].style, n = h.children("table"); h = a.nScrollBody; var m = k(h), p = h.style, t = k(a.nScrollFoot).children("div"), v = t.children("table"), x = k(a.nTHead), r = k(a.nTable), A = r[0], E = A.style, H = a.nTFoot ? k(a.nTFoot) : null, W = a.oBrowser, M = W.bScrollOversize, C = T(a.aoColumns, "nTh"), B = [], ba = [], X = [], lb = [], Aa, Yb = function (F) { F = F.style; F.paddingTop = "0"; F.paddingBottom = "0"; F.borderTopWidth = "0"; F.borderBottomWidth = "0"; F.height = 0 }; var ha = h.scrollHeight > h.clientHeight; if (a.scrollBarVis !== ha && a.scrollBarVis !== q) a.scrollBarVis = ha, ra(a);
+        else {
+            a.scrollBarVis = ha; r.children("thead, tfoot").remove(); if (H) { var ka = H.clone().prependTo(r); var la = H.find("tr"); ka = ka.find("tr") } var mb = x.clone().prependTo(r); x = x.find("tr"); ha = mb.find("tr"); mb.find("th, td").removeAttr("tabindex"); c || (p.width = "100%", e[0].style.width = "100%"); k.each(Ka(a, mb), function (F, Y) { Aa = sa(a, F); Y.style.width = a.aoColumns[Aa].sWidth }); H && Z(function (F) { F.style.width = "" }, ka); e = r.outerWidth(); "" === c ? (E.width = "100%", M && (r.find("tbody").height() > h.offsetHeight || "scroll" == m.css("overflow-y")) &&
+                (E.width = K(r.outerWidth() - b)), e = r.outerWidth()) : "" !== d && (E.width = K(d), e = r.outerWidth()); Z(Yb, ha); Z(function (F) { X.push(F.innerHTML); B.push(K(k(F).css("width"))) }, ha); Z(function (F, Y) { -1 !== k.inArray(F, C) && (F.style.width = B[Y]) }, x); k(ha).height(0); H && (Z(Yb, ka), Z(function (F) { lb.push(F.innerHTML); ba.push(K(k(F).css("width"))) }, ka), Z(function (F, Y) { F.style.width = ba[Y] }, la), k(ka).height(0)); Z(function (F, Y) {
+                    F.innerHTML = '<div class="dataTables_sizing">' + X[Y] + "</div>"; F.childNodes[0].style.height = "0"; F.childNodes[0].style.overflow =
+                        "hidden"; F.style.width = B[Y]
+                }, ha); H && Z(function (F, Y) { F.innerHTML = '<div class="dataTables_sizing">' + lb[Y] + "</div>"; F.childNodes[0].style.height = "0"; F.childNodes[0].style.overflow = "hidden"; F.style.width = ba[Y] }, ka); r.outerWidth() < e ? (la = h.scrollHeight > h.offsetHeight || "scroll" == m.css("overflow-y") ? e + b : e, M && (h.scrollHeight > h.offsetHeight || "scroll" == m.css("overflow-y")) && (E.width = K(la - b)), "" !== c && "" === d || aa(a, 1, "Possible column misalignment", 6)) : la = "100%"; p.width = K(la); g.width = K(la); H && (a.nScrollFoot.style.width =
+                    K(la)); !f && M && (p.height = K(A.offsetHeight + b)); c = r.outerWidth(); n[0].style.width = K(c); l.width = K(c); d = r.height() > h.clientHeight || "scroll" == m.css("overflow-y"); f = "padding" + (W.bScrollbarLeft ? "Left" : "Right"); l[f] = d ? b + "px" : "0px"; H && (v[0].style.width = K(c), t[0].style.width = K(c), t[0].style[f] = d ? b + "px" : "0px"); r.children("colgroup").insertBefore(r.children("thead")); m.trigger("scroll"); !a.bSorted && !a.bFiltered || a._drawHold || (h.scrollTop = 0)
+        }
+    } function Z(a, b, c) {
+        for (var d = 0, f = 0, e = b.length, g, h; f < e;) {
+            g = b[f].firstChild;
+            for (h = c ? c[f].firstChild : null; g;)1 === g.nodeType && (c ? a(g, h, d) : a(g, d), d++), g = g.nextSibling, h = c ? h.nextSibling : null; f++
+        }
+    } function Xa(a) {
+        var b = a.nTable, c = a.aoColumns, d = a.oScroll, f = d.sY, e = d.sX, g = d.sXInner, h = c.length, l = Fa(a, "bVisible"), n = k("th", a.nTHead), m = b.getAttribute("width"), p = b.parentNode, t = !1, v, x = a.oBrowser; d = x.bScrollOversize; (v = b.style.width) && -1 !== v.indexOf("%") && (m = v); for (v = 0; v < l.length; v++) { var r = c[l[v]]; null !== r.sWidth && (r.sWidth = Zb(r.sWidthOrig, p), t = !0) } if (d || !t && !e && !f && h == na(a) && h == n.length) for (v =
+            0; v < h; v++)l = sa(a, v), null !== l && (c[l].sWidth = K(n.eq(v).width())); else {
+                h = k(b).clone().css("visibility", "hidden").removeAttr("id"); h.find("tbody tr").remove(); var A = k("<tr/>").appendTo(h.find("tbody")); h.find("thead, tfoot").remove(); h.append(k(a.nTHead).clone()).append(k(a.nTFoot).clone()); h.find("tfoot th, tfoot td").css("width", ""); n = Ka(a, h.find("thead")[0]); for (v = 0; v < l.length; v++)r = c[l[v]], n[v].style.width = null !== r.sWidthOrig && "" !== r.sWidthOrig ? K(r.sWidthOrig) : "", r.sWidthOrig && e && k(n[v]).append(k("<div/>").css({
+                    width: r.sWidthOrig,
+                    margin: 0, padding: 0, border: 0, height: 1
+                })); if (a.aoData.length) for (v = 0; v < l.length; v++)t = l[v], r = c[t], k($b(a, t)).clone(!1).append(r.sContentPadding).appendTo(A); k("[name]", h).removeAttr("name"); r = k("<div/>").css(e || f ? { position: "absolute", top: 0, left: 0, height: 1, right: 0, overflow: "hidden" } : {}).append(h).appendTo(p); e && g ? h.width(g) : e ? (h.css("width", "auto"), h.removeAttr("width"), h.width() < p.clientWidth && m && h.width(p.clientWidth)) : f ? h.width(p.clientWidth) : m && h.width(m); for (v = f = 0; v < l.length; v++)p = k(n[v]), g = p.outerWidth() -
+                    p.width(), p = x.bBounding ? Math.ceil(n[v].getBoundingClientRect().width) : p.outerWidth(), f += p, c[l[v]].sWidth = K(p - g); b.style.width = K(f); r.remove()
+        } m && (b.style.width = K(m)); !m && !e || a._reszEvt || (b = function () { k(y).on("resize.DT-" + a.sInstance, fb(function () { ra(a) })) }, d ? setTimeout(b, 1E3) : b(), a._reszEvt = !0)
+    } function Zb(a, b) { if (!a) return 0; a = k("<div/>").css("width", K(a)).appendTo(b || z.body); b = a[0].offsetWidth; a.remove(); return b } function $b(a, b) {
+        var c = ac(a, b); if (0 > c) return null; var d = a.aoData[c]; return d.nTr ? d.anCells[b] :
+            k("<td/>").html(S(a, c, b, "display"))[0]
+    } function ac(a, b) { for (var c, d = -1, f = -1, e = 0, g = a.aoData.length; e < g; e++)c = S(a, e, b, "display") + "", c = c.replace(sc, ""), c = c.replace(/&nbsp;/g, " "), c.length > d && (d = c.length, f = e); return f } function K(a) { return null === a ? "0px" : "number" == typeof a ? 0 > a ? "0px" : a + "px" : a.match(/\d$/) ? a + "px" : a } function pa(a) {
+        var b = [], c = a.aoColumns; var d = a.aaSortingFixed; var f = k.isPlainObject(d); var e = []; var g = function (m) { m.length && !Array.isArray(m[0]) ? e.push(m) : k.merge(e, m) }; Array.isArray(d) && g(d);
+        f && d.pre && g(d.pre); g(a.aaSorting); f && d.post && g(d.post); for (a = 0; a < e.length; a++) { var h = e[a][0]; g = c[h].aDataSort; d = 0; for (f = g.length; d < f; d++) { var l = g[d]; var n = c[l].sType || "string"; e[a]._idx === q && (e[a]._idx = k.inArray(e[a][1], c[l].asSorting)); b.push({ src: h, col: l, dir: e[a][1], index: e[a]._idx, type: n, formatter: u.ext.type.order[n + "-pre"] }) } } return b
+    } function Gb(a) {
+        var b, c = [], d = u.ext.type.order, f = a.aoData, e = 0, g = a.aiDisplayMaster; Ya(a); var h = pa(a); var l = 0; for (b = h.length; l < b; l++) {
+            var n = h[l]; n.formatter && e++; bc(a,
+                n.col)
+        } if ("ssp" != P(a) && 0 !== h.length) {
+            l = 0; for (b = g.length; l < b; l++)c[g[l]] = l; e === h.length ? g.sort(function (m, p) { var t, v = h.length, x = f[m]._aSortData, r = f[p]._aSortData; for (t = 0; t < v; t++) { var A = h[t]; var E = x[A.col]; var H = r[A.col]; E = E < H ? -1 : E > H ? 1 : 0; if (0 !== E) return "asc" === A.dir ? E : -E } E = c[m]; H = c[p]; return E < H ? -1 : E > H ? 1 : 0 }) : g.sort(function (m, p) {
+                var t, v = h.length, x = f[m]._aSortData, r = f[p]._aSortData; for (t = 0; t < v; t++) { var A = h[t]; var E = x[A.col]; var H = r[A.col]; A = d[A.type + "-" + A.dir] || d["string-" + A.dir]; E = A(E, H); if (0 !== E) return E } E =
+                    c[m]; H = c[p]; return E < H ? -1 : E > H ? 1 : 0
+            })
+        } a.bSorted = !0
+    } function cc(a) { var b = a.aoColumns, c = pa(a); a = a.oLanguage.oAria; for (var d = 0, f = b.length; d < f; d++) { var e = b[d]; var g = e.asSorting; var h = e.sTitle.replace(/<.*?>/g, ""); var l = e.nTh; l.removeAttribute("aria-sort"); e.bSortable && (0 < c.length && c[0].col == d ? (l.setAttribute("aria-sort", "asc" == c[0].dir ? "ascending" : "descending"), e = g[c[0].index + 1] || g[0]) : e = g[0], h += "asc" === e ? a.sSortAscending : a.sSortDescending); l.setAttribute("aria-label", h) } } function nb(a, b, c, d) {
+        var f = a.aaSorting,
+        e = a.aoColumns[b].asSorting, g = function (h, l) { var n = h._idx; n === q && (n = k.inArray(h[1], e)); return n + 1 < e.length ? n + 1 : l ? null : 0 }; "number" === typeof f[0] && (f = a.aaSorting = [f]); c && a.oFeatures.bSortMulti ? (c = k.inArray(b, T(f, "0")), -1 !== c ? (b = g(f[c], !0), null === b && 1 === f.length && (b = 0), null === b ? f.splice(c, 1) : (f[c][1] = e[b], f[c]._idx = b)) : (f.push([b, e[0], 0]), f[f.length - 1]._idx = 0)) : f.length && f[0][0] == b ? (b = g(f[0]), f.length = 1, f[0][1] = e[b], f[0]._idx = b) : (f.length = 0, f.push([b, e[0]]), f[0]._idx = 0); ja(a); "function" == typeof d && d(a)
+    }
+    function db(a, b, c, d) { var f = a.aoColumns[c]; ob(b, {}, function (e) { !1 !== f.bSortable && (a.oFeatures.bProcessing ? (U(a, !0), setTimeout(function () { nb(a, c, e.shiftKey, d); "ssp" !== P(a) && U(a, !1) }, 0)) : nb(a, c, e.shiftKey, d)) }) } function Pa(a) {
+        var b = a.aLastSort, c = a.oClasses.sSortColumn, d = pa(a), f = a.oFeatures, e; if (f.bSort && f.bSortClasses) { f = 0; for (e = b.length; f < e; f++) { var g = b[f].src; k(T(a.aoData, "anCells", g)).removeClass(c + (2 > f ? f + 1 : 3)) } f = 0; for (e = d.length; f < e; f++)g = d[f].src, k(T(a.aoData, "anCells", g)).addClass(c + (2 > f ? f + 1 : 3)) } a.aLastSort =
+            d
+    } function bc(a, b) { var c = a.aoColumns[b], d = u.ext.order[c.sSortDataType], f; d && (f = d.call(a.oInstance, a, b, ta(a, b))); for (var e, g = u.ext.type.order[c.sType + "-pre"], h = 0, l = a.aoData.length; h < l; h++)if (c = a.aoData[h], c._aSortData || (c._aSortData = []), !c._aSortData[b] || d) e = d ? f[h] : S(a, h, b, "sort"), c._aSortData[b] = g ? g(e) : e } function Qa(a) {
+        if (a.oFeatures.bStateSave && !a.bDestroying) {
+            var b = {
+                time: +new Date, start: a._iDisplayStart, length: a._iDisplayLength, order: k.extend(!0, [], a.aaSorting), search: Ub(a.oPreviousSearch), columns: k.map(a.aoColumns,
+                    function (c, d) { return { visible: c.bVisible, search: Ub(a.aoPreSearchCols[d]) } })
+            }; I(a, "aoStateSaveParams", "stateSaveParams", [a, b]); a.oSavedState = b; a.fnStateSaveCallback.call(a.oInstance, a, b)
+        }
+    } function dc(a, b, c) {
+        var d, f, e = a.aoColumns; b = function (h) {
+            if (h && h.time) {
+                var l = I(a, "aoStateLoadParams", "stateLoadParams", [a, h]); if (-1 === k.inArray(!1, l) && (l = a.iStateDuration, !(0 < l && h.time < +new Date - 1E3 * l || h.columns && e.length !== h.columns.length))) {
+                    a.oLoadedState = k.extend(!0, {}, h); h.start !== q && (a._iDisplayStart = h.start, a.iInitDisplayStart =
+                        h.start); h.length !== q && (a._iDisplayLength = h.length); h.order !== q && (a.aaSorting = [], k.each(h.order, function (n, m) { a.aaSorting.push(m[0] >= e.length ? [0, m[1]] : m) })); h.search !== q && k.extend(a.oPreviousSearch, Vb(h.search)); if (h.columns) for (d = 0, f = h.columns.length; d < f; d++)l = h.columns[d], l.visible !== q && (e[d].bVisible = l.visible), l.search !== q && k.extend(a.aoPreSearchCols[d], Vb(l.search)); I(a, "aoStateLoaded", "stateLoaded", [a, h])
+                }
+            } c()
+        }; if (a.oFeatures.bStateSave) {
+            var g = a.fnStateLoadCallback.call(a.oInstance, a, b); g !==
+                q && b(g)
+        } else c()
+    } function Ra(a) { var b = u.settings; a = k.inArray(a, T(b, "nTable")); return -1 !== a ? b[a] : null } function aa(a, b, c, d) { c = "DataTables warning: " + (a ? "table id=" + a.sTableId + " - " : "") + c; d && (c += ". For more information about this error, please see http://datatables.net/tn/" + d); if (b) y.console && console.log && console.log(c); else if (b = u.ext, b = b.sErrMode || b.errMode, a && I(a, null, "error", [a, d, c]), "alert" == b) alert(c); else { if ("throw" == b) throw Error(c); "function" == typeof b && b(a, d, c) } } function V(a, b, c, d) {
+        Array.isArray(c) ?
+        k.each(c, function (f, e) { Array.isArray(e) ? V(a, b, e[0], e[1]) : V(a, b, e) }) : (d === q && (d = c), b[c] !== q && (a[d] = b[c]))
+    } function pb(a, b, c) { var d; for (d in b) if (b.hasOwnProperty(d)) { var f = b[d]; k.isPlainObject(f) ? (k.isPlainObject(a[d]) || (a[d] = {}), k.extend(!0, a[d], f)) : c && "data" !== d && "aaData" !== d && Array.isArray(f) ? a[d] = f.slice() : a[d] = f } return a } function ob(a, b, c) { k(a).on("click.DT", b, function (d) { k(a).trigger("blur"); c(d) }).on("keypress.DT", b, function (d) { 13 === d.which && (d.preventDefault(), c(d)) }).on("selectstart.DT", function () { return !1 }) }
+    function Q(a, b, c, d) { c && a[b].push({ fn: c, sName: d }) } function I(a, b, c, d) { var f = []; b && (f = k.map(a[b].slice().reverse(), function (e, g) { return e.fn.apply(a.oInstance, d) })); null !== c && (b = k.Event(c + ".dt"), k(a.nTable).trigger(b, d), f.push(b.result)); return f } function jb(a) { var b = a._iDisplayStart, c = a.fnDisplayEnd(), d = a._iDisplayLength; b >= c && (b = c - d); b -= b % d; if (-1 === d || 0 > b) b = 0; a._iDisplayStart = b } function eb(a, b) {
+        a = a.renderer; var c = u.ext.renderer[b]; return k.isPlainObject(a) && a[b] ? c[a[b]] || c._ : "string" === typeof a ? c[a] ||
+            c._ : c._
+    } function P(a) { return a.oFeatures.bServerSide ? "ssp" : a.ajax || a.sAjaxSource ? "ajax" : "dom" } function Ba(a, b) { var c = ec.numbers_length, d = Math.floor(c / 2); b <= c ? a = qa(0, b) : a <= d ? (a = qa(0, c - 2), a.push("ellipsis"), a.push(b - 1)) : (a >= b - 1 - d ? a = qa(b - (c - 2), b) : (a = qa(a - d + 2, a + d - 1), a.push("ellipsis"), a.push(b - 1)), a.splice(0, 0, "ellipsis"), a.splice(0, 0, 0)); a.DT_el = "span"; return a } function Va(a) {
+        k.each({
+            num: function (b) { return Sa(b, a) }, "num-fmt": function (b) { return Sa(b, a, qb) }, "html-num": function (b) { return Sa(b, a, Ta) }, "html-num-fmt": function (b) {
+                return Sa(b,
+                    a, Ta, qb)
+            }
+        }, function (b, c) { L.type.order[b + a + "-pre"] = c; b.match(/^html\-/) && (L.type.search[b + a] = L.type.search.html) })
+    } function fc(a) { return function () { var b = [Ra(this[u.ext.iApiIndex])].concat(Array.prototype.slice.call(arguments)); return u.ext.internal[a].apply(this, b) } } var u = function (a) {
+        this.$ = function (e, g) { return this.api(!0).$(e, g) }; this._ = function (e, g) { return this.api(!0).rows(e, g).data() }; this.api = function (e) { return e ? new D(Ra(this[L.iApiIndex])) : new D(this) }; this.fnAddData = function (e, g) {
+            var h = this.api(!0);
+            e = Array.isArray(e) && (Array.isArray(e[0]) || k.isPlainObject(e[0])) ? h.rows.add(e) : h.row.add(e); (g === q || g) && h.draw(); return e.flatten().toArray()
+        }; this.fnAdjustColumnSizing = function (e) { var g = this.api(!0).columns.adjust(), h = g.settings()[0], l = h.oScroll; e === q || e ? g.draw(!1) : ("" !== l.sX || "" !== l.sY) && Ea(h) }; this.fnClearTable = function (e) { var g = this.api(!0).clear(); (e === q || e) && g.draw() }; this.fnClose = function (e) { this.api(!0).row(e).child.hide() }; this.fnDeleteRow = function (e, g, h) {
+            var l = this.api(!0); e = l.rows(e); var n =
+                e.settings()[0], m = n.aoData[e[0][0]]; e.remove(); g && g.call(this, n, m); (h === q || h) && l.draw(); return m
+        }; this.fnDestroy = function (e) { this.api(!0).destroy(e) }; this.fnDraw = function (e) { this.api(!0).draw(e) }; this.fnFilter = function (e, g, h, l, n, m) { n = this.api(!0); null === g || g === q ? n.search(e, h, l, m) : n.column(g).search(e, h, l, m); n.draw() }; this.fnGetData = function (e, g) { var h = this.api(!0); if (e !== q) { var l = e.nodeName ? e.nodeName.toLowerCase() : ""; return g !== q || "td" == l || "th" == l ? h.cell(e, g).data() : h.row(e).data() || null } return h.data().toArray() };
+        this.fnGetNodes = function (e) { var g = this.api(!0); return e !== q ? g.row(e).node() : g.rows().nodes().flatten().toArray() }; this.fnGetPosition = function (e) { var g = this.api(!0), h = e.nodeName.toUpperCase(); return "TR" == h ? g.row(e).index() : "TD" == h || "TH" == h ? (e = g.cell(e).index(), [e.row, e.columnVisible, e.column]) : null }; this.fnIsOpen = function (e) { return this.api(!0).row(e).child.isShown() }; this.fnOpen = function (e, g, h) { return this.api(!0).row(e).child(g, h).show().child()[0] }; this.fnPageChange = function (e, g) {
+            e = this.api(!0).page(e);
+            (g === q || g) && e.draw(!1)
+        }; this.fnSetColumnVis = function (e, g, h) { e = this.api(!0).column(e).visible(g); (h === q || h) && e.columns.adjust().draw() }; this.fnSettings = function () { return Ra(this[L.iApiIndex]) }; this.fnSort = function (e) { this.api(!0).order(e).draw() }; this.fnSortListener = function (e, g, h) { this.api(!0).order.listener(e, g, h) }; this.fnUpdate = function (e, g, h, l, n) { var m = this.api(!0); h === q || null === h ? m.row(g).data(e) : m.cell(g, h).data(e); (n === q || n) && m.columns.adjust(); (l === q || l) && m.draw(); return 0 }; this.fnVersionCheck =
+            L.fnVersionCheck; var b = this, c = a === q, d = this.length; c && (a = {}); this.oApi = this.internal = L.internal; for (var f in u.ext.internal) f && (this[f] = fc(f)); this.each(function () {
+                var e = {}, g = 1 < d ? pb(e, a, !0) : a, h = 0, l; e = this.getAttribute("id"); var n = !1, m = u.defaults, p = k(this); if ("table" != this.nodeName.toLowerCase()) aa(null, 0, "Non-table node initialisation (" + this.nodeName + ")", 2); else {
+                    yb(m); zb(m.column); O(m, m, !0); O(m.column, m.column, !0); O(m, k.extend(g, p.data()), !0); var t = u.settings; h = 0; for (l = t.length; h < l; h++) {
+                        var v = t[h];
+                        if (v.nTable == this || v.nTHead && v.nTHead.parentNode == this || v.nTFoot && v.nTFoot.parentNode == this) { var x = g.bRetrieve !== q ? g.bRetrieve : m.bRetrieve; if (c || x) return v.oInstance; if (g.bDestroy !== q ? g.bDestroy : m.bDestroy) { v.oInstance.fnDestroy(); break } else { aa(v, 0, "Cannot reinitialise DataTable", 3); return } } if (v.sTableId == this.id) { t.splice(h, 1); break }
+                    } if (null === e || "" === e) this.id = e = "DataTables_Table_" + u.ext._unique++; var r = k.extend(!0, {}, u.models.oSettings, { sDestroyWidth: p[0].style.width, sInstance: e, sTableId: e }); r.nTable =
+                        this; r.oApi = b.internal; r.oInit = g; t.push(r); r.oInstance = 1 === b.length ? b : p.dataTable(); yb(g); ma(g.oLanguage); g.aLengthMenu && !g.iDisplayLength && (g.iDisplayLength = Array.isArray(g.aLengthMenu[0]) ? g.aLengthMenu[0][0] : g.aLengthMenu[0]); g = pb(k.extend(!0, {}, m), g); V(r.oFeatures, g, "bPaginate bLengthChange bFilter bSort bSortMulti bInfo bProcessing bAutoWidth bSortClasses bServerSide bDeferRender".split(" ")); V(r, g, ["asStripeClasses", "ajax", "fnServerData", "fnFormatNumber", "sServerMethod", "aaSorting", "aaSortingFixed",
+                            "aLengthMenu", "sPaginationType", "sAjaxSource", "sAjaxDataProp", "iStateDuration", "sDom", "bSortCellsTop", "iTabIndex", "fnStateLoadCallback", "fnStateSaveCallback", "renderer", "searchDelay", "rowId", ["iCookieDuration", "iStateDuration"], ["oSearch", "oPreviousSearch"], ["aoSearchCols", "aoPreSearchCols"], ["iDisplayLength", "_iDisplayLength"]]); V(r.oScroll, g, [["sScrollX", "sX"], ["sScrollXInner", "sXInner"], ["sScrollY", "sY"], ["bScrollCollapse", "bCollapse"]]); V(r.oLanguage, g, "fnInfoCallback"); Q(r, "aoDrawCallback", g.fnDrawCallback,
+                                "user"); Q(r, "aoServerParams", g.fnServerParams, "user"); Q(r, "aoStateSaveParams", g.fnStateSaveParams, "user"); Q(r, "aoStateLoadParams", g.fnStateLoadParams, "user"); Q(r, "aoStateLoaded", g.fnStateLoaded, "user"); Q(r, "aoRowCallback", g.fnRowCallback, "user"); Q(r, "aoRowCreatedCallback", g.fnCreatedRow, "user"); Q(r, "aoHeaderCallback", g.fnHeaderCallback, "user"); Q(r, "aoFooterCallback", g.fnFooterCallback, "user"); Q(r, "aoInitComplete", g.fnInitComplete, "user"); Q(r, "aoPreDrawCallback", g.fnPreDrawCallback, "user"); r.rowIdFn =
+                                    ia(g.rowId); Ab(r); var A = r.oClasses; k.extend(A, u.ext.classes, g.oClasses); p.addClass(A.sTable); r.iInitDisplayStart === q && (r.iInitDisplayStart = g.iDisplayStart, r._iDisplayStart = g.iDisplayStart); null !== g.iDeferLoading && (r.bDeferLoading = !0, e = Array.isArray(g.iDeferLoading), r._iRecordsDisplay = e ? g.iDeferLoading[0] : g.iDeferLoading, r._iRecordsTotal = e ? g.iDeferLoading[1] : g.iDeferLoading); var E = r.oLanguage; k.extend(!0, E, g.oLanguage); E.sUrl && (k.ajax({
+                                        dataType: "json", url: E.sUrl, success: function (C) {
+                                            ma(C); O(m.oLanguage,
+                                                C); k.extend(!0, E, C); za(r)
+                                        }, error: function () { za(r) }
+                                    }), n = !0); null === g.asStripeClasses && (r.asStripeClasses = [A.sStripeOdd, A.sStripeEven]); e = r.asStripeClasses; var H = p.children("tbody").find("tr").eq(0); -1 !== k.inArray(!0, k.map(e, function (C, B) { return H.hasClass(C) })) && (k("tbody tr", this).removeClass(e.join(" ")), r.asDestroyStripes = e.slice()); e = []; t = this.getElementsByTagName("thead"); 0 !== t.length && (wa(r.aoHeader, t[0]), e = Ka(r)); if (null === g.aoColumns) for (t = [], h = 0, l = e.length; h < l; h++)t.push(null); else t = g.aoColumns;
+                    h = 0; for (l = t.length; h < l; h++)Wa(r, e ? e[h] : null); Cb(r, g.aoColumnDefs, t, function (C, B) { Da(r, C, B) }); if (H.length) { var W = function (C, B) { return null !== C.getAttribute("data-" + B) ? B : null }; k(H[0]).children("th, td").each(function (C, B) { var ba = r.aoColumns[C]; if (ba.mData === C) { var X = W(B, "sort") || W(B, "order"); B = W(B, "filter") || W(B, "search"); if (null !== X || null !== B) ba.mData = { _: C + ".display", sort: null !== X ? C + ".@data-" + X : q, type: null !== X ? C + ".@data-" + X : q, filter: null !== B ? C + ".@data-" + B : q }, Da(r, C) } }) } var M = r.oFeatures; e = function () {
+                        if (g.aaSorting ===
+                            q) { var C = r.aaSorting; h = 0; for (l = C.length; h < l; h++)C[h][1] = r.aoColumns[h].asSorting[0] } Pa(r); M.bSort && Q(r, "aoDrawCallback", function () { if (r.bSorted) { var ba = pa(r), X = {}; k.each(ba, function (lb, Aa) { X[Aa.src] = Aa.dir }); I(r, null, "order", [r, ba, X]); cc(r) } }); Q(r, "aoDrawCallback", function () { (r.bSorted || "ssp" === P(r) || M.bDeferRender) && Pa(r) }, "sc"); C = p.children("caption").each(function () { this._captionSide = k(this).css("caption-side") }); var B = p.children("thead"); 0 === B.length && (B = k("<thead/>").appendTo(p)); r.nTHead = B[0];
+                        B = p.children("tbody"); 0 === B.length && (B = k("<tbody/>").appendTo(p)); r.nTBody = B[0]; B = p.children("tfoot"); 0 === B.length && 0 < C.length && ("" !== r.oScroll.sX || "" !== r.oScroll.sY) && (B = k("<tfoot/>").appendTo(p)); 0 === B.length || 0 === B.children().length ? p.addClass(A.sNoFooter) : 0 < B.length && (r.nTFoot = B[0], wa(r.aoFooter, r.nTFoot)); if (g.aaData) for (h = 0; h < g.aaData.length; h++)ea(r, g.aaData[h]); else (r.bDeferLoading || "dom" == P(r)) && Ga(r, k(r.nTBody).children("tr")); r.aiDisplay = r.aiDisplayMaster.slice(); r.bInitialised = !0; !1 ===
+                            n && za(r)
+                    }; g.bStateSave ? (M.bStateSave = !0, Q(r, "aoDrawCallback", Qa, "state_save"), dc(r, g, e)) : e()
+                }
+            }); b = null; return this
+    }, L, w, J, rb = {}, gc = /[\r\n\u2028]/g, Ta = /<.*?>/g, tc = /^\d{2,4}[\.\/\-]\d{1,2}[\.\/\-]\d{1,2}([T ]{1}\d{1,2}[:\.]\d{2}([\.:]\d{2})?)?$/, uc = /(\/|\.|\*|\+|\?|\||\(|\)|\[|\]|\{|\}|\\|\$|\^|\-)/g, qb = /['\u00A0,$£€¥%\u2009\u202F\u20BD\u20a9\u20BArfkɃΞ]/gi, ca = function (a) { return a && !0 !== a && "-" !== a ? !1 : !0 }, hc = function (a) { var b = parseInt(a, 10); return !isNaN(b) && isFinite(a) ? b : null }, ic = function (a, b) {
+        rb[b] ||
+        (rb[b] = new RegExp(hb(b), "g")); return "string" === typeof a && "." !== b ? a.replace(/\./g, "").replace(rb[b], ".") : a
+    }, sb = function (a, b, c) { var d = "string" === typeof a; if (ca(a)) return !0; b && d && (a = ic(a, b)); c && d && (a = a.replace(qb, "")); return !isNaN(parseFloat(a)) && isFinite(a) }, jc = function (a, b, c) { return ca(a) ? !0 : ca(a) || "string" === typeof a ? sb(a.replace(Ta, ""), b, c) ? !0 : null : null }, T = function (a, b, c) { var d = [], f = 0, e = a.length; if (c !== q) for (; f < e; f++)a[f] && a[f][b] && d.push(a[f][b][c]); else for (; f < e; f++)a[f] && d.push(a[f][b]); return d },
+        Ca = function (a, b, c, d) { var f = [], e = 0, g = b.length; if (d !== q) for (; e < g; e++)a[b[e]][c] && f.push(a[b[e]][c][d]); else for (; e < g; e++)f.push(a[b[e]][c]); return f }, qa = function (a, b) { var c = []; if (b === q) { b = 0; var d = a } else d = b, b = a; for (a = b; a < d; a++)c.push(a); return c }, kc = function (a) { for (var b = [], c = 0, d = a.length; c < d; c++)a[c] && b.push(a[c]); return b }, Ja = function (a) {
+            a: { if (!(2 > a.length)) { var b = a.slice().sort(); for (var c = b[0], d = 1, f = b.length; d < f; d++) { if (b[d] === c) { b = !1; break a } c = b[d] } } b = !0 } if (b) return a.slice(); b = []; f = a.length; var e,
+                g = 0; d = 0; a: for (; d < f; d++) { c = a[d]; for (e = 0; e < g; e++)if (b[e] === c) continue a; b.push(c); g++ } return b
+        }, lc = function (a, b) { if (Array.isArray(b)) for (var c = 0; c < b.length; c++)lc(a, b[c]); else a.push(b); return a }; Array.isArray || (Array.isArray = function (a) { return "[object Array]" === Object.prototype.toString.call(a) }); String.prototype.trim || (String.prototype.trim = function () { return this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "") }); u.util = {
+            throttle: function (a, b) {
+                var c = b !== q ? b : 200, d, f; return function () {
+                    var e = this, g =
+                        +new Date, h = arguments; d && g < d + c ? (clearTimeout(f), f = setTimeout(function () { d = q; a.apply(e, h) }, c)) : (d = g, a.apply(e, h))
+                }
+            }, escapeRegex: function (a) { return a.replace(uc, "\\$1") }
+        }; var R = function (a, b, c) { a[b] !== q && (a[c] = a[b]) }, ua = /\[.*?\]$/, oa = /\(\)$/, hb = u.util.escapeRegex, Oa = k("<div>")[0], rc = Oa.textContent !== q, sc = /<.*?>/g, fb = u.util.throttle, mc = [], N = Array.prototype, vc = function (a) {
+            var b, c = u.settings, d = k.map(c, function (e, g) { return e.nTable }); if (a) {
+                if (a.nTable && a.oApi) return [a]; if (a.nodeName && "table" === a.nodeName.toLowerCase()) {
+                    var f =
+                        k.inArray(a, d); return -1 !== f ? [c[f]] : null
+                } if (a && "function" === typeof a.settings) return a.settings().toArray(); "string" === typeof a ? b = k(a) : a instanceof k && (b = a)
+            } else return []; if (b) return b.map(function (e) { f = k.inArray(this, d); return -1 !== f ? c[f] : null }).toArray()
+        }; var D = function (a, b) {
+            if (!(this instanceof D)) return new D(a, b); var c = [], d = function (g) { (g = vc(g)) && c.push.apply(c, g) }; if (Array.isArray(a)) for (var f = 0, e = a.length; f < e; f++)d(a[f]); else d(a); this.context = Ja(c); b && k.merge(this, b); this.selector = {
+                rows: null,
+                cols: null, opts: null
+            }; D.extend(this, this, mc)
+        }; u.Api = D; k.extend(D.prototype, {
+            any: function () { return 0 !== this.count() }, concat: N.concat, context: [], count: function () { return this.flatten().length }, each: function (a) { for (var b = 0, c = this.length; b < c; b++)a.call(this, this[b], b, this); return this }, eq: function (a) { var b = this.context; return b.length > a ? new D(b[a], this[a]) : null }, filter: function (a) {
+                var b = []; if (N.filter) b = N.filter.call(this, a, this); else for (var c = 0, d = this.length; c < d; c++)a.call(this, this[c], c, this) && b.push(this[c]);
+                return new D(this.context, b)
+            }, flatten: function () { var a = []; return new D(this.context, a.concat.apply(a, this.toArray())) }, join: N.join, indexOf: N.indexOf || function (a, b) { b = b || 0; for (var c = this.length; b < c; b++)if (this[b] === a) return b; return -1 }, iterator: function (a, b, c, d) {
+                var f = [], e, g, h = this.context, l, n = this.selector; "string" === typeof a && (d = c, c = b, b = a, a = !1); var m = 0; for (e = h.length; m < e; m++) {
+                    var p = new D(h[m]); if ("table" === b) { var t = c.call(p, h[m], m); t !== q && f.push(t) } else if ("columns" === b || "rows" === b) t = c.call(p, h[m],
+                        this[m], m), t !== q && f.push(t); else if ("column" === b || "column-rows" === b || "row" === b || "cell" === b) { var v = this[m]; "column-rows" === b && (l = Ua(h[m], n.opts)); var x = 0; for (g = v.length; x < g; x++)t = v[x], t = "cell" === b ? c.call(p, h[m], t.row, t.column, m, x) : c.call(p, h[m], t, m, x, l), t !== q && f.push(t) }
+                } return f.length || d ? (a = new D(h, a ? f.concat.apply([], f) : f), b = a.selector, b.rows = n.rows, b.cols = n.cols, b.opts = n.opts, a) : this
+            }, lastIndexOf: N.lastIndexOf || function (a, b) { return this.indexOf.apply(this.toArray.reverse(), arguments) }, length: 0,
+            map: function (a) { var b = []; if (N.map) b = N.map.call(this, a, this); else for (var c = 0, d = this.length; c < d; c++)b.push(a.call(this, this[c], c)); return new D(this.context, b) }, pluck: function (a) { return this.map(function (b) { return b[a] }) }, pop: N.pop, push: N.push, reduce: N.reduce || function (a, b) { return Bb(this, a, b, 0, this.length, 1) }, reduceRight: N.reduceRight || function (a, b) { return Bb(this, a, b, this.length - 1, -1, -1) }, reverse: N.reverse, selector: null, shift: N.shift, slice: function () { return new D(this.context, this) }, sort: N.sort,
+            splice: N.splice, toArray: function () { return N.slice.call(this) }, to$: function () { return k(this) }, toJQuery: function () { return k(this) }, unique: function () { return new D(this.context, Ja(this)) }, unshift: N.unshift
+        }); D.extend = function (a, b, c) {
+            if (c.length && b && (b instanceof D || b.__dt_wrapper)) {
+                var d, f = function (h, l, n) { return function () { var m = l.apply(h, arguments); D.extend(m, m, n.methodExt); return m } }; var e = 0; for (d = c.length; e < d; e++) {
+                    var g = c[e]; b[g.name] = "function" === g.type ? f(a, g.val, g) : "object" === g.type ? {} : g.val; b[g.name].__dt_wrapper =
+                        !0; D.extend(a, b[g.name], g.propExt)
+                }
+            }
+        }; D.register = w = function (a, b) {
+            if (Array.isArray(a)) for (var c = 0, d = a.length; c < d; c++)D.register(a[c], b); else {
+                d = a.split("."); var f = mc, e; a = 0; for (c = d.length; a < c; a++) {
+                    var g = (e = -1 !== d[a].indexOf("()")) ? d[a].replace("()", "") : d[a]; a: { var h = 0; for (var l = f.length; h < l; h++)if (f[h].name === g) { h = f[h]; break a } h = null } h || (h = { name: g, val: {}, methodExt: [], propExt: [], type: "object" }, f.push(h)); a === c - 1 ? (h.val = b, h.type = "function" === typeof b ? "function" : k.isPlainObject(b) ? "object" : "other") : f = e ?
+                        h.methodExt : h.propExt
+                }
+            }
+        }; D.registerPlural = J = function (a, b, c) { D.register(a, c); D.register(b, function () { var d = c.apply(this, arguments); return d === this ? this : d instanceof D ? d.length ? Array.isArray(d[0]) ? new D(d.context, d[0]) : d[0] : q : d }) }; var nc = function (a, b) { if (Array.isArray(a)) return k.map(a, function (d) { return nc(d, b) }); if ("number" === typeof a) return [b[a]]; var c = k.map(b, function (d, f) { return d.nTable }); return k(c).filter(a).map(function (d) { d = k.inArray(this, c); return b[d] }).toArray() }; w("tables()", function (a) {
+            return a !==
+                q && null !== a ? new D(nc(a, this.context)) : this
+        }); w("table()", function (a) { a = this.tables(a); var b = a.context; return b.length ? new D(b[0]) : a }); J("tables().nodes()", "table().node()", function () { return this.iterator("table", function (a) { return a.nTable }, 1) }); J("tables().body()", "table().body()", function () { return this.iterator("table", function (a) { return a.nTBody }, 1) }); J("tables().header()", "table().header()", function () { return this.iterator("table", function (a) { return a.nTHead }, 1) }); J("tables().footer()", "table().footer()",
+            function () { return this.iterator("table", function (a) { return a.nTFoot }, 1) }); J("tables().containers()", "table().container()", function () { return this.iterator("table", function (a) { return a.nTableWrapper }, 1) }); w("draw()", function (a) { return this.iterator("table", function (b) { "page" === a ? fa(b) : ("string" === typeof a && (a = "full-hold" === a ? !1 : !0), ja(b, !1 === a)) }) }); w("page()", function (a) { return a === q ? this.page.info().page : this.iterator("table", function (b) { kb(b, a) }) }); w("page.info()", function (a) {
+                if (0 === this.context.length) return q;
+                a = this.context[0]; var b = a._iDisplayStart, c = a.oFeatures.bPaginate ? a._iDisplayLength : -1, d = a.fnRecordsDisplay(), f = -1 === c; return { page: f ? 0 : Math.floor(b / c), pages: f ? 1 : Math.ceil(d / c), start: b, end: a.fnDisplayEnd(), length: c, recordsTotal: a.fnRecordsTotal(), recordsDisplay: d, serverSide: "ssp" === P(a) }
+            }); w("page.len()", function (a) { return a === q ? 0 !== this.context.length ? this.context[0]._iDisplayLength : q : this.iterator("table", function (b) { ib(b, a) }) }); var oc = function (a, b, c) {
+                if (c) { var d = new D(a); d.one("draw", function () { c(d.ajax.json()) }) } if ("ssp" ==
+                    P(a)) ja(a, b); else { U(a, !0); var f = a.jqXHR; f && 4 !== f.readyState && f.abort(); La(a, [], function (e) { Ha(a); e = Ma(a, e); for (var g = 0, h = e.length; g < h; g++)ea(a, e[g]); ja(a, b); U(a, !1) }) }
+            }; w("ajax.json()", function () { var a = this.context; if (0 < a.length) return a[0].json }); w("ajax.params()", function () { var a = this.context; if (0 < a.length) return a[0].oAjaxData }); w("ajax.reload()", function (a, b) { return this.iterator("table", function (c) { oc(c, !1 === b, a) }) }); w("ajax.url()", function (a) {
+                var b = this.context; if (a === q) {
+                    if (0 === b.length) return q;
+                    b = b[0]; return b.ajax ? k.isPlainObject(b.ajax) ? b.ajax.url : b.ajax : b.sAjaxSource
+                } return this.iterator("table", function (c) { k.isPlainObject(c.ajax) ? c.ajax.url = a : c.ajax = a })
+            }); w("ajax.url().load()", function (a, b) { return this.iterator("table", function (c) { oc(c, !1 === b, a) }) }); var tb = function (a, b, c, d, f) {
+                var e = [], g, h, l; var n = typeof b; b && "string" !== n && "function" !== n && b.length !== q || (b = [b]); n = 0; for (h = b.length; n < h; n++) {
+                    var m = b[n] && b[n].split && !b[n].match(/[\[\(:]/) ? b[n].split(",") : [b[n]]; var p = 0; for (l = m.length; p < l; p++)(g =
+                        c("string" === typeof m[p] ? m[p].trim() : m[p])) && g.length && (e = e.concat(g))
+                } a = L.selector[a]; if (a.length) for (n = 0, h = a.length; n < h; n++)e = a[n](d, f, e); return Ja(e)
+            }, ub = function (a) { a || (a = {}); a.filter && a.search === q && (a.search = a.filter); return k.extend({ search: "none", order: "current", page: "all" }, a) }, vb = function (a) { for (var b = 0, c = a.length; b < c; b++)if (0 < a[b].length) return a[0] = a[b], a[0].length = 1, a.length = 1, a.context = [a.context[b]], a; a.length = 0; return a }, Ua = function (a, b) {
+                var c = [], d = a.aiDisplay; var f = a.aiDisplayMaster;
+                var e = b.search; var g = b.order; b = b.page; if ("ssp" == P(a)) return "removed" === e ? [] : qa(0, f.length); if ("current" == b) for (g = a._iDisplayStart, a = a.fnDisplayEnd(); g < a; g++)c.push(d[g]); else if ("current" == g || "applied" == g) if ("none" == e) c = f.slice(); else if ("applied" == e) c = d.slice(); else { if ("removed" == e) { var h = {}; g = 0; for (a = d.length; g < a; g++)h[d[g]] = null; c = k.map(f, function (l) { return h.hasOwnProperty(l) ? null : l }) } } else if ("index" == g || "original" == g) for (g = 0, a = a.aoData.length; g < a; g++)"none" == e ? c.push(g) : (f = k.inArray(g, d), (-1 ===
+                    f && "removed" == e || 0 <= f && "applied" == e) && c.push(g)); return c
+            }, wc = function (a, b, c) {
+                var d; return tb("row", b, function (f) {
+                    var e = hc(f), g = a.aoData; if (null !== e && !c) return [e]; d || (d = Ua(a, c)); if (null !== e && -1 !== k.inArray(e, d)) return [e]; if (null === f || f === q || "" === f) return d; if ("function" === typeof f) return k.map(d, function (l) { var n = g[l]; return f(l, n._aData, n.nTr) ? l : null }); if (f.nodeName) {
+                        e = f._DT_RowIndex; var h = f._DT_CellIndex; if (e !== q) return g[e] && g[e].nTr === f ? [e] : []; if (h) return g[h.row] && g[h.row].nTr === f.parentNode ?
+                            [h.row] : []; e = k(f).closest("*[data-dt-row]"); return e.length ? [e.data("dt-row")] : []
+                    } if ("string" === typeof f && "#" === f.charAt(0) && (e = a.aIds[f.replace(/^#/, "")], e !== q)) return [e.idx]; e = kc(Ca(a.aoData, d, "nTr")); return k(e).filter(f).map(function () { return this._DT_RowIndex }).toArray()
+                }, a, c)
+            }; w("rows()", function (a, b) { a === q ? a = "" : k.isPlainObject(a) && (b = a, a = ""); b = ub(b); var c = this.iterator("table", function (d) { return wc(d, a, b) }, 1); c.selector.rows = a; c.selector.opts = b; return c }); w("rows().nodes()", function () {
+                return this.iterator("row",
+                    function (a, b) { return a.aoData[b].nTr || q }, 1)
+            }); w("rows().data()", function () { return this.iterator(!0, "rows", function (a, b) { return Ca(a.aoData, b, "_aData") }, 1) }); J("rows().cache()", "row().cache()", function (a) { return this.iterator("row", function (b, c) { b = b.aoData[c]; return "search" === a ? b._aFilterData : b._aSortData }, 1) }); J("rows().invalidate()", "row().invalidate()", function (a) { return this.iterator("row", function (b, c) { va(b, c, a) }) }); J("rows().indexes()", "row().index()", function () {
+                return this.iterator("row", function (a,
+                    b) { return b }, 1)
+            }); J("rows().ids()", "row().id()", function (a) { for (var b = [], c = this.context, d = 0, f = c.length; d < f; d++)for (var e = 0, g = this[d].length; e < g; e++) { var h = c[d].rowIdFn(c[d].aoData[this[d][e]]._aData); b.push((!0 === a ? "#" : "") + h) } return new D(c, b) }); J("rows().remove()", "row().remove()", function () {
+                var a = this; this.iterator("row", function (b, c, d) {
+                    var f = b.aoData, e = f[c], g, h; f.splice(c, 1); var l = 0; for (g = f.length; l < g; l++) {
+                        var n = f[l]; var m = n.anCells; null !== n.nTr && (n.nTr._DT_RowIndex = l); if (null !== m) for (n = 0, h = m.length; n <
+                            h; n++)m[n]._DT_CellIndex.row = l
+                    } Ia(b.aiDisplayMaster, c); Ia(b.aiDisplay, c); Ia(a[d], c, !1); 0 < b._iRecordsDisplay && b._iRecordsDisplay--; jb(b); c = b.rowIdFn(e._aData); c !== q && delete b.aIds[c]
+                }); this.iterator("table", function (b) { for (var c = 0, d = b.aoData.length; c < d; c++)b.aoData[c].idx = c }); return this
+            }); w("rows.add()", function (a) {
+                var b = this.iterator("table", function (d) { var f, e = []; var g = 0; for (f = a.length; g < f; g++) { var h = a[g]; h.nodeName && "TR" === h.nodeName.toUpperCase() ? e.push(Ga(d, h)[0]) : e.push(ea(d, h)) } return e }, 1),
+                c = this.rows(-1); c.pop(); k.merge(c, b); return c
+            }); w("row()", function (a, b) { return vb(this.rows(a, b)) }); w("row().data()", function (a) { var b = this.context; if (a === q) return b.length && this.length ? b[0].aoData[this[0]]._aData : q; var c = b[0].aoData[this[0]]; c._aData = a; Array.isArray(a) && c.nTr && c.nTr.id && da(b[0].rowId)(a, c.nTr.id); va(b[0], this[0], "data"); return this }); w("row().node()", function () { var a = this.context; return a.length && this.length ? a[0].aoData[this[0]].nTr || null : null }); w("row.add()", function (a) {
+                a instanceof
+                k && a.length && (a = a[0]); var b = this.iterator("table", function (c) { return a.nodeName && "TR" === a.nodeName.toUpperCase() ? Ga(c, a)[0] : ea(c, a) }); return this.row(b[0])
+            }); var xc = function (a, b, c, d) {
+                var f = [], e = function (g, h) { if (Array.isArray(g) || g instanceof k) for (var l = 0, n = g.length; l < n; l++)e(g[l], h); else g.nodeName && "tr" === g.nodeName.toLowerCase() ? f.push(g) : (l = k("<tr><td></td></tr>").addClass(h), k("td", l).addClass(h).html(g)[0].colSpan = na(a), f.push(l[0])) }; e(c, d); b._details && b._details.detach(); b._details = k(f); b._detailsShow &&
+                    b._details.insertAfter(b.nTr)
+            }, wb = function (a, b) { var c = a.context; c.length && (a = c[0].aoData[b !== q ? b : a[0]]) && a._details && (a._details.remove(), a._detailsShow = q, a._details = q) }, pc = function (a, b) { var c = a.context; c.length && a.length && (a = c[0].aoData[a[0]], a._details && ((a._detailsShow = b) ? a._details.insertAfter(a.nTr) : a._details.detach(), yc(c[0]))) }, yc = function (a) {
+                var b = new D(a), c = a.aoData; b.off("draw.dt.DT_details column-visibility.dt.DT_details destroy.dt.DT_details"); 0 < T(c, "_details").length && (b.on("draw.dt.DT_details",
+                    function (d, f) { a === f && b.rows({ page: "current" }).eq(0).each(function (e) { e = c[e]; e._detailsShow && e._details.insertAfter(e.nTr) }) }), b.on("column-visibility.dt.DT_details", function (d, f, e, g) { if (a === f) for (f = na(f), e = 0, g = c.length; e < g; e++)d = c[e], d._details && d._details.children("td[colspan]").attr("colspan", f) }), b.on("destroy.dt.DT_details", function (d, f) { if (a === f) for (d = 0, f = c.length; d < f; d++)c[d]._details && wb(b, d) }))
+            }; w("row().child()", function (a, b) {
+                var c = this.context; if (a === q) return c.length && this.length ? c[0].aoData[this[0]]._details :
+                    q; !0 === a ? this.child.show() : !1 === a ? wb(this) : c.length && this.length && xc(c[0], c[0].aoData[this[0]], a, b); return this
+            }); w(["row().child.show()", "row().child().show()"], function (a) { pc(this, !0); return this }); w(["row().child.hide()", "row().child().hide()"], function () { pc(this, !1); return this }); w(["row().child.remove()", "row().child().remove()"], function () { wb(this); return this }); w("row().child.isShown()", function () { var a = this.context; return a.length && this.length ? a[0].aoData[this[0]]._detailsShow || !1 : !1 }); var zc =
+                /^([^:]+):(name|visIdx|visible)$/, qc = function (a, b, c, d, f) { c = []; d = 0; for (var e = f.length; d < e; d++)c.push(S(a, f[d], b)); return c }, Ac = function (a, b, c) {
+                    var d = a.aoColumns, f = T(d, "sName"), e = T(d, "nTh"); return tb("column", b, function (g) {
+                        var h = hc(g); if ("" === g) return qa(d.length); if (null !== h) return [0 <= h ? h : d.length + h]; if ("function" === typeof g) { var l = Ua(a, c); return k.map(d, function (p, t) { return g(t, qc(a, t, 0, 0, l), e[t]) ? t : null }) } var n = "string" === typeof g ? g.match(zc) : ""; if (n) switch (n[2]) {
+                            case "visIdx": case "visible": h = parseInt(n[1],
+                                10); if (0 > h) { var m = k.map(d, function (p, t) { return p.bVisible ? t : null }); return [m[m.length + h]] } return [sa(a, h)]; case "name": return k.map(f, function (p, t) { return p === n[1] ? t : null }); default: return []
+                        }if (g.nodeName && g._DT_CellIndex) return [g._DT_CellIndex.column]; h = k(e).filter(g).map(function () { return k.inArray(this, e) }).toArray(); if (h.length || !g.nodeName) return h; h = k(g).closest("*[data-dt-column]"); return h.length ? [h.data("dt-column")] : []
+                    }, a, c)
+                }; w("columns()", function (a, b) {
+                    a === q ? a = "" : k.isPlainObject(a) && (b = a,
+                        a = ""); b = ub(b); var c = this.iterator("table", function (d) { return Ac(d, a, b) }, 1); c.selector.cols = a; c.selector.opts = b; return c
+                }); J("columns().header()", "column().header()", function (a, b) { return this.iterator("column", function (c, d) { return c.aoColumns[d].nTh }, 1) }); J("columns().footer()", "column().footer()", function (a, b) { return this.iterator("column", function (c, d) { return c.aoColumns[d].nTf }, 1) }); J("columns().data()", "column().data()", function () { return this.iterator("column-rows", qc, 1) }); J("columns().dataSrc()",
+                    "column().dataSrc()", function () { return this.iterator("column", function (a, b) { return a.aoColumns[b].mData }, 1) }); J("columns().cache()", "column().cache()", function (a) { return this.iterator("column-rows", function (b, c, d, f, e) { return Ca(b.aoData, e, "search" === a ? "_aFilterData" : "_aSortData", c) }, 1) }); J("columns().nodes()", "column().nodes()", function () { return this.iterator("column-rows", function (a, b, c, d, f) { return Ca(a.aoData, f, "anCells", b) }, 1) }); J("columns().visible()", "column().visible()", function (a, b) {
+                        var c =
+                            this, d = this.iterator("column", function (f, e) { if (a === q) return f.aoColumns[e].bVisible; var g = f.aoColumns, h = g[e], l = f.aoData, n; if (a !== q && h.bVisible !== a) { if (a) { var m = k.inArray(!0, T(g, "bVisible"), e + 1); g = 0; for (n = l.length; g < n; g++) { var p = l[g].nTr; f = l[g].anCells; p && p.insertBefore(f[e], f[m] || null) } } else k(T(f.aoData, "anCells", e)).detach(); h.bVisible = a } }); a !== q && this.iterator("table", function (f) {
+                                xa(f, f.aoHeader); xa(f, f.aoFooter); f.aiDisplay.length || k(f.nTBody).find("td[colspan]").attr("colspan", na(f)); Qa(f); c.iterator("column",
+                                    function (e, g) { I(e, null, "column-visibility", [e, g, a, b]) }); (b === q || b) && c.columns.adjust()
+                            }); return d
+                    }); J("columns().indexes()", "column().index()", function (a) { return this.iterator("column", function (b, c) { return "visible" === a ? ta(b, c) : c }, 1) }); w("columns.adjust()", function () { return this.iterator("table", function (a) { ra(a) }, 1) }); w("column.index()", function (a, b) { if (0 !== this.context.length) { var c = this.context[0]; if ("fromVisible" === a || "toData" === a) return sa(c, b); if ("fromData" === a || "toVisible" === a) return ta(c, b) } });
+    w("column()", function (a, b) { return vb(this.columns(a, b)) }); var Bc = function (a, b, c) {
+        var d = a.aoData, f = Ua(a, c), e = kc(Ca(d, f, "anCells")), g = k(lc([], e)), h, l = a.aoColumns.length, n, m, p, t, v, x; return tb("cell", b, function (r) {
+            var A = "function" === typeof r; if (null === r || r === q || A) { n = []; m = 0; for (p = f.length; m < p; m++)for (h = f[m], t = 0; t < l; t++)v = { row: h, column: t }, A ? (x = d[h], r(v, S(a, h, t), x.anCells ? x.anCells[t] : null) && n.push(v)) : n.push(v); return n } if (k.isPlainObject(r)) return r.column !== q && r.row !== q && -1 !== k.inArray(r.row, f) ? [r] : [];
+            A = g.filter(r).map(function (E, H) { return { row: H._DT_CellIndex.row, column: H._DT_CellIndex.column } }).toArray(); if (A.length || !r.nodeName) return A; x = k(r).closest("*[data-dt-row]"); return x.length ? [{ row: x.data("dt-row"), column: x.data("dt-column") }] : []
+        }, a, c)
+    }; w("cells()", function (a, b, c) {
+        k.isPlainObject(a) && (a.row === q ? (c = a, a = null) : (c = b, b = null)); k.isPlainObject(b) && (c = b, b = null); if (null === b || b === q) return this.iterator("table", function (m) { return Bc(m, a, ub(c)) }); var d = c ? { page: c.page, order: c.order, search: c.search } :
+            {}, f = this.columns(b, d), e = this.rows(a, d), g, h, l, n; d = this.iterator("table", function (m, p) { m = []; g = 0; for (h = e[p].length; g < h; g++)for (l = 0, n = f[p].length; l < n; l++)m.push({ row: e[p][g], column: f[p][l] }); return m }, 1); d = c && c.selected ? this.cells(d, c) : d; k.extend(d.selector, { cols: b, rows: a, opts: c }); return d
+    }); J("cells().nodes()", "cell().node()", function () { return this.iterator("cell", function (a, b, c) { return (a = a.aoData[b]) && a.anCells ? a.anCells[c] : q }, 1) }); w("cells().data()", function () {
+        return this.iterator("cell", function (a,
+            b, c) { return S(a, b, c) }, 1)
+    }); J("cells().cache()", "cell().cache()", function (a) { a = "search" === a ? "_aFilterData" : "_aSortData"; return this.iterator("cell", function (b, c, d) { return b.aoData[c][a][d] }, 1) }); J("cells().render()", "cell().render()", function (a) { return this.iterator("cell", function (b, c, d) { return S(b, c, d, a) }, 1) }); J("cells().indexes()", "cell().index()", function () { return this.iterator("cell", function (a, b, c) { return { row: b, column: c, columnVisible: ta(a, c) } }, 1) }); J("cells().invalidate()", "cell().invalidate()",
+        function (a) { return this.iterator("cell", function (b, c, d) { va(b, c, a, d) }) }); w("cell()", function (a, b, c) { return vb(this.cells(a, b, c)) }); w("cell().data()", function (a) { var b = this.context, c = this[0]; if (a === q) return b.length && c.length ? S(b[0], c[0].row, c[0].column) : q; Db(b[0], c[0].row, c[0].column, a); va(b[0], c[0].row, "data", c[0].column); return this }); w("order()", function (a, b) {
+            var c = this.context; if (a === q) return 0 !== c.length ? c[0].aaSorting : q; "number" === typeof a ? a = [[a, b]] : a.length && !Array.isArray(a[0]) && (a = Array.prototype.slice.call(arguments));
+            return this.iterator("table", function (d) { d.aaSorting = a.slice() })
+        }); w("order.listener()", function (a, b, c) { return this.iterator("table", function (d) { db(d, a, b, c) }) }); w("order.fixed()", function (a) { if (!a) { var b = this.context; b = b.length ? b[0].aaSortingFixed : q; return Array.isArray(b) ? { pre: b } : b } return this.iterator("table", function (c) { c.aaSortingFixed = k.extend(!0, {}, a) }) }); w(["columns().order()", "column().order()"], function (a) {
+            var b = this; return this.iterator("table", function (c, d) {
+                var f = []; k.each(b[d], function (e,
+                    g) { f.push([g, a]) }); c.aaSorting = f
+            })
+        }); w("search()", function (a, b, c, d) { var f = this.context; return a === q ? 0 !== f.length ? f[0].oPreviousSearch.sSearch : q : this.iterator("table", function (e) { e.oFeatures.bFilter && ya(e, k.extend({}, e.oPreviousSearch, { sSearch: a + "", bRegex: null === b ? !1 : b, bSmart: null === c ? !0 : c, bCaseInsensitive: null === d ? !0 : d }), 1) }) }); J("columns().search()", "column().search()", function (a, b, c, d) {
+            return this.iterator("column", function (f, e) {
+                var g = f.aoPreSearchCols; if (a === q) return g[e].sSearch; f.oFeatures.bFilter &&
+                    (k.extend(g[e], { sSearch: a + "", bRegex: null === b ? !1 : b, bSmart: null === c ? !0 : c, bCaseInsensitive: null === d ? !0 : d }), ya(f, f.oPreviousSearch, 1))
+            })
+        }); w("state()", function () { return this.context.length ? this.context[0].oSavedState : null }); w("state.clear()", function () { return this.iterator("table", function (a) { a.fnStateSaveCallback.call(a.oInstance, a, {}) }) }); w("state.loaded()", function () { return this.context.length ? this.context[0].oLoadedState : null }); w("state.save()", function () { return this.iterator("table", function (a) { Qa(a) }) });
+    u.versionCheck = u.fnVersionCheck = function (a) { var b = u.version.split("."); a = a.split("."); for (var c, d, f = 0, e = a.length; f < e; f++)if (c = parseInt(b[f], 10) || 0, d = parseInt(a[f], 10) || 0, c !== d) return c > d; return !0 }; u.isDataTable = u.fnIsDataTable = function (a) { var b = k(a).get(0), c = !1; if (a instanceof u.Api) return !0; k.each(u.settings, function (d, f) { d = f.nScrollHead ? k("table", f.nScrollHead)[0] : null; var e = f.nScrollFoot ? k("table", f.nScrollFoot)[0] : null; if (f.nTable === b || d === b || e === b) c = !0 }); return c }; u.tables = u.fnTables = function (a) {
+        var b =
+            !1; k.isPlainObject(a) && (b = a.api, a = a.visible); var c = k.map(u.settings, function (d) { if (!a || a && k(d.nTable).is(":visible")) return d.nTable }); return b ? new D(c) : c
+    }; u.camelToHungarian = O; w("$()", function (a, b) { b = this.rows(b).nodes(); b = k(b); return k([].concat(b.filter(a).toArray(), b.find(a).toArray())) }); k.each(["on", "one", "off"], function (a, b) {
+        w(b + "()", function () {
+            var c = Array.prototype.slice.call(arguments); c[0] = k.map(c[0].split(/\s/), function (f) { return f.match(/\.dt\b/) ? f : f + ".dt" }).join(" "); var d = k(this.tables().nodes());
+            d[b].apply(d, c); return this
+        })
+    }); w("clear()", function () { return this.iterator("table", function (a) { Ha(a) }) }); w("settings()", function () { return new D(this.context, this.context) }); w("init()", function () { var a = this.context; return a.length ? a[0].oInit : null }); w("data()", function () { return this.iterator("table", function (a) { return T(a.aoData, "_aData") }).flatten() }); w("destroy()", function (a) {
+        a = a || !1; return this.iterator("table", function (b) {
+            var c = b.nTableWrapper.parentNode, d = b.oClasses, f = b.nTable, e = b.nTBody, g = b.nTHead,
+            h = b.nTFoot, l = k(f); e = k(e); var n = k(b.nTableWrapper), m = k.map(b.aoData, function (t) { return t.nTr }), p; b.bDestroying = !0; I(b, "aoDestroyCallback", "destroy", [b]); a || (new D(b)).columns().visible(!0); n.off(".DT").find(":not(tbody *)").off(".DT"); k(y).off(".DT-" + b.sInstance); f != g.parentNode && (l.children("thead").detach(), l.append(g)); h && f != h.parentNode && (l.children("tfoot").detach(), l.append(h)); b.aaSorting = []; b.aaSortingFixed = []; Pa(b); k(m).removeClass(b.asStripeClasses.join(" ")); k("th, td", g).removeClass(d.sSortable +
+                " " + d.sSortableAsc + " " + d.sSortableDesc + " " + d.sSortableNone); e.children().detach(); e.append(m); g = a ? "remove" : "detach"; l[g](); n[g](); !a && c && (c.insertBefore(f, b.nTableReinsertBefore), l.css("width", b.sDestroyWidth).removeClass(d.sTable), (p = b.asDestroyStripes.length) && e.children().each(function (t) { k(this).addClass(b.asDestroyStripes[t % p]) })); c = k.inArray(b, u.settings); -1 !== c && u.settings.splice(c, 1)
+        })
+    }); k.each(["column", "row", "cell"], function (a, b) {
+        w(b + "s().every()", function (c) {
+            var d = this.selector.opts, f =
+                this; return this.iterator(b, function (e, g, h, l, n) { c.call(f[b](g, "cell" === b ? h : d, "cell" === b ? d : q), g, h, l, n) })
+        })
+    }); w("i18n()", function (a, b, c) { var d = this.context[0]; a = ia(a)(d.oLanguage); a === q && (a = b); c !== q && k.isPlainObject(a) && (a = a[c] !== q ? a[c] : a._); return a.replace("%d", c) }); u.version = "1.10.22"; u.settings = []; u.models = {}; u.models.oSearch = { bCaseInsensitive: !0, sSearch: "", bRegex: !1, bSmart: !0 }; u.models.oRow = {
+        nTr: null, anCells: null, _aData: [], _aSortData: null, _aFilterData: null, _sFilterRow: null, _sRowStripe: "", src: null,
+        idx: -1
+    }; u.models.oColumn = { idx: null, aDataSort: null, asSorting: null, bSearchable: null, bSortable: null, bVisible: null, _sManualType: null, _bAttrSrc: !1, fnCreatedCell: null, fnGetData: null, fnSetData: null, mData: null, mRender: null, nTh: null, nTf: null, sClass: null, sContentPadding: null, sDefaultContent: null, sName: null, sSortDataType: "std", sSortingClass: null, sSortingClassJUI: null, sTitle: null, sType: null, sWidth: null, sWidthOrig: null }; u.defaults = {
+        aaData: null, aaSorting: [[0, "asc"]], aaSortingFixed: [], ajax: null, aLengthMenu: [10,
+            25, 50, 100], aoColumns: null, aoColumnDefs: null, aoSearchCols: [], asStripeClasses: null, bAutoWidth: !0, bDeferRender: !1, bDestroy: !1, bFilter: !0, bInfo: !0, bLengthChange: !0, bPaginate: !0, bProcessing: !1, bRetrieve: !1, bScrollCollapse: !1, bServerSide: !1, bSort: !0, bSortMulti: !0, bSortCellsTop: !1, bSortClasses: !0, bStateSave: !1, fnCreatedRow: null, fnDrawCallback: null, fnFooterCallback: null, fnFormatNumber: function (a) { return a.toString().replace(/\B(?=(\d{3})+(?!\d))/g, this.oLanguage.sThousands) }, fnHeaderCallback: null, fnInfoCallback: null,
+        fnInitComplete: null, fnPreDrawCallback: null, fnRowCallback: null, fnServerData: null, fnServerParams: null, fnStateLoadCallback: function (a) { try { return JSON.parse((-1 === a.iStateDuration ? sessionStorage : localStorage).getItem("DataTables_" + a.sInstance + "_" + location.pathname)) } catch (b) { return {} } }, fnStateLoadParams: null, fnStateLoaded: null, fnStateSaveCallback: function (a, b) { try { (-1 === a.iStateDuration ? sessionStorage : localStorage).setItem("DataTables_" + a.sInstance + "_" + location.pathname, JSON.stringify(b)) } catch (c) { } },
+        fnStateSaveParams: null, iStateDuration: 7200, iDeferLoading: null, iDisplayLength: 10, iDisplayStart: 0, iTabIndex: 0, oClasses: {}, oLanguage: {
+            oAria: { sSortAscending: ": activate to sort column ascending", sSortDescending: ": activate to sort column descending" }, oPaginate: { sFirst: "First", sLast: "Last", sNext: "Next", sPrevious: "Previous" }, sEmptyTable: "No data available in table", sInfo: "Showing _START_ to _END_ of _TOTAL_ entries", sInfoEmpty: "Showing 0 to 0 of 0 entries", sInfoFiltered: "(filtered from _MAX_ total entries)",
+            sInfoPostFix: "", sDecimal: "", sThousands: ",", sLengthMenu: "Show _MENU_ entries", sLoadingRecords: "Loading...", sProcessing: "Processing...", sSearch: "Search:", sSearchPlaceholder: "", sUrl: "", sZeroRecords: "No matching records found"
+        }, oSearch: k.extend({}, u.models.oSearch), sAjaxDataProp: "data", sAjaxSource: null, sDom: "lfrtip", searchDelay: null, sPaginationType: "simple_numbers", sScrollX: "", sScrollXInner: "", sScrollY: "", sServerMethod: "GET", renderer: null, rowId: "DT_RowId"
+    }; G(u.defaults); u.defaults.column = {
+        aDataSort: null,
+        iDataSort: -1, asSorting: ["asc", "desc"], bSearchable: !0, bSortable: !0, bVisible: !0, fnCreatedCell: null, mData: null, mRender: null, sCellType: "td", sClass: "", sContentPadding: "", sDefaultContent: null, sName: "", sSortDataType: "std", sTitle: null, sType: null, sWidth: null
+    }; G(u.defaults.column); u.models.oSettings = {
+        oFeatures: { bAutoWidth: null, bDeferRender: null, bFilter: null, bInfo: null, bLengthChange: null, bPaginate: null, bProcessing: null, bServerSide: null, bSort: null, bSortMulti: null, bSortClasses: null, bStateSave: null }, oScroll: {
+            bCollapse: null,
+            iBarWidth: 0, sX: null, sXInner: null, sY: null
+        }, oLanguage: { fnInfoCallback: null }, oBrowser: { bScrollOversize: !1, bScrollbarLeft: !1, bBounding: !1, barWidth: 0 }, ajax: null, aanFeatures: [], aoData: [], aiDisplay: [], aiDisplayMaster: [], aIds: {}, aoColumns: [], aoHeader: [], aoFooter: [], oPreviousSearch: {}, aoPreSearchCols: [], aaSorting: null, aaSortingFixed: [], asStripeClasses: null, asDestroyStripes: [], sDestroyWidth: 0, aoRowCallback: [], aoHeaderCallback: [], aoFooterCallback: [], aoDrawCallback: [], aoRowCreatedCallback: [], aoPreDrawCallback: [],
+        aoInitComplete: [], aoStateSaveParams: [], aoStateLoadParams: [], aoStateLoaded: [], sTableId: "", nTable: null, nTHead: null, nTFoot: null, nTBody: null, nTableWrapper: null, bDeferLoading: !1, bInitialised: !1, aoOpenRows: [], sDom: null, searchDelay: null, sPaginationType: "two_button", iStateDuration: 0, aoStateSave: [], aoStateLoad: [], oSavedState: null, oLoadedState: null, sAjaxSource: null, sAjaxDataProp: null, bAjaxDataGet: !0, jqXHR: null, json: q, oAjaxData: q, fnServerData: null, aoServerParams: [], sServerMethod: null, fnFormatNumber: null, aLengthMenu: null,
+        iDraw: 0, bDrawing: !1, iDrawError: -1, _iDisplayLength: 10, _iDisplayStart: 0, _iRecordsTotal: 0, _iRecordsDisplay: 0, oClasses: {}, bFiltered: !1, bSorted: !1, bSortCellsTop: null, oInit: null, aoDestroyCallback: [], fnRecordsTotal: function () { return "ssp" == P(this) ? 1 * this._iRecordsTotal : this.aiDisplayMaster.length }, fnRecordsDisplay: function () { return "ssp" == P(this) ? 1 * this._iRecordsDisplay : this.aiDisplay.length }, fnDisplayEnd: function () {
+            var a = this._iDisplayLength, b = this._iDisplayStart, c = b + a, d = this.aiDisplay.length, f = this.oFeatures,
+            e = f.bPaginate; return f.bServerSide ? !1 === e || -1 === a ? b + d : Math.min(b + a, this._iRecordsDisplay) : !e || c > d || -1 === a ? d : c
+        }, oInstance: null, sInstance: null, iTabIndex: 0, nScrollHead: null, nScrollFoot: null, aLastSort: [], oPlugins: {}, rowIdFn: null, rowId: null
+    }; u.ext = L = {
+        buttons: {}, classes: {}, builder: "-source-", errMode: "alert", feature: [], search: [], selector: { cell: [], column: [], row: [] }, internal: {}, legacy: { ajax: null }, pager: {}, renderer: { pageButton: {}, header: {} }, order: {}, type: { detect: [], search: {}, order: {} }, _unique: 0, fnVersionCheck: u.fnVersionCheck,
+        iApiIndex: 0, oJUIClasses: {}, sVersion: u.version
+    }; k.extend(L, { afnFiltering: L.search, aTypes: L.type.detect, ofnSearch: L.type.search, oSort: L.type.order, afnSortData: L.order, aoFeatures: L.feature, oApi: L.internal, oStdClasses: L.classes, oPagination: L.pager }); k.extend(u.ext.classes, {
+        sTable: "dataTable", sNoFooter: "no-footer", sPageButton: "paginate_button", sPageButtonActive: "current", sPageButtonDisabled: "disabled", sStripeOdd: "odd", sStripeEven: "even", sRowEmpty: "dataTables_empty", sWrapper: "dataTables_wrapper", sFilter: "dataTables_filter",
+        sInfo: "dataTables_info", sPaging: "dataTables_paginate paging_", sLength: "dataTables_length", sProcessing: "dataTables_processing", sSortAsc: "sorting_asc", sSortDesc: "sorting_desc", sSortable: "sorting", sSortableAsc: "sorting_asc_disabled", sSortableDesc: "sorting_desc_disabled", sSortableNone: "sorting_disabled", sSortColumn: "sorting_", sFilterInput: "", sLengthSelect: "", sScrollWrapper: "dataTables_scroll", sScrollHead: "dataTables_scrollHead", sScrollHeadInner: "dataTables_scrollHeadInner", sScrollBody: "dataTables_scrollBody",
+        sScrollFoot: "dataTables_scrollFoot", sScrollFootInner: "dataTables_scrollFootInner", sHeaderTH: "", sFooterTH: "", sSortJUIAsc: "", sSortJUIDesc: "", sSortJUI: "", sSortJUIAscAllowed: "", sSortJUIDescAllowed: "", sSortJUIWrapper: "", sSortIcon: "", sJUIHeader: "", sJUIFooter: ""
+    }); var ec = u.ext.pager; k.extend(ec, {
+        simple: function (a, b) { return ["previous", "next"] }, full: function (a, b) { return ["first", "previous", "next", "last"] }, numbers: function (a, b) { return [Ba(a, b)] }, simple_numbers: function (a, b) { return ["previous", Ba(a, b), "next"] },
+        full_numbers: function (a, b) { return ["first", "previous", Ba(a, b), "next", "last"] }, first_last_numbers: function (a, b) { return ["first", Ba(a, b), "last"] }, _numbers: Ba, numbers_length: 7
+    }); k.extend(!0, u.ext.renderer, {
+        pageButton: {
+            _: function (a, b, c, d, f, e) {
+                var g = a.oClasses, h = a.oLanguage.oPaginate, l = a.oLanguage.oAria.paginate || {}, n, m, p = 0, t = function (x, r) {
+                    var A, E = g.sPageButtonDisabled, H = function (B) { kb(a, B.data.action, !0) }; var W = 0; for (A = r.length; W < A; W++) {
+                        var M = r[W]; if (Array.isArray(M)) {
+                            var C = k("<" + (M.DT_el || "div") + "/>").appendTo(x);
+                            t(C, M)
+                        } else {
+                            n = null; m = M; C = a.iTabIndex; switch (M) { case "ellipsis": x.append('<span class="ellipsis">&#x2026;</span>'); break; case "first": n = h.sFirst; 0 === f && (C = -1, m += " " + E); break; case "previous": n = h.sPrevious; 0 === f && (C = -1, m += " " + E); break; case "next": n = h.sNext; if (0 === e || f === e - 1) C = -1, m += " " + E; break; case "last": n = h.sLast; if (0 === e || f === e - 1) C = -1, m += " " + E; break; default: n = a.fnFormatNumber(M + 1), m = f === M ? g.sPageButtonActive : "" }null !== n && (C = k("<a>", {
+                                "class": g.sPageButton + " " + m, "aria-controls": a.sTableId, "aria-label": l[M],
+                                "data-dt-idx": p, tabindex: C, id: 0 === c && "string" === typeof M ? a.sTableId + "_" + M : null
+                            }).html(n).appendTo(x), ob(C, { action: M }, H), p++)
+                        }
+                    }
+                }; try { var v = k(b).find(z.activeElement).data("dt-idx") } catch (x) { } t(k(b).empty(), d); v !== q && k(b).find("[data-dt-idx=" + v + "]").trigger("focus")
+            }
+        }
+    }); k.extend(u.ext.type.detect, [function (a, b) { b = b.oLanguage.sDecimal; return sb(a, b) ? "num" + b : null }, function (a, b) { if (a && !(a instanceof Date) && !tc.test(a)) return null; b = Date.parse(a); return null !== b && !isNaN(b) || ca(a) ? "date" : null }, function (a,
+        b) { b = b.oLanguage.sDecimal; return sb(a, b, !0) ? "num-fmt" + b : null }, function (a, b) { b = b.oLanguage.sDecimal; return jc(a, b) ? "html-num" + b : null }, function (a, b) { b = b.oLanguage.sDecimal; return jc(a, b, !0) ? "html-num-fmt" + b : null }, function (a, b) { return ca(a) || "string" === typeof a && -1 !== a.indexOf("<") ? "html" : null }]); k.extend(u.ext.type.search, { html: function (a) { return ca(a) ? a : "string" === typeof a ? a.replace(gc, " ").replace(Ta, "") : "" }, string: function (a) { return ca(a) ? a : "string" === typeof a ? a.replace(gc, " ") : a } }); var Sa = function (a,
+            b, c, d) { if (0 !== a && (!a || "-" === a)) return -Infinity; b && (a = ic(a, b)); a.replace && (c && (a = a.replace(c, "")), d && (a = a.replace(d, ""))); return 1 * a }; k.extend(L.type.order, {
+                "date-pre": function (a) { a = Date.parse(a); return isNaN(a) ? -Infinity : a }, "html-pre": function (a) { return ca(a) ? "" : a.replace ? a.replace(/<.*?>/g, "").toLowerCase() : a + "" }, "string-pre": function (a) { return ca(a) ? "" : "string" === typeof a ? a.toLowerCase() : a.toString ? a.toString() : "" }, "string-asc": function (a, b) { return a < b ? -1 : a > b ? 1 : 0 }, "string-desc": function (a, b) {
+                    return a <
+                        b ? 1 : a > b ? -1 : 0
+                }
+            }); Va(""); k.extend(!0, u.ext.renderer, {
+                header: {
+                    _: function (a, b, c, d) { k(a.nTable).on("order.dt.DT", function (f, e, g, h) { a === e && (f = c.idx, b.removeClass(c.sSortingClass + " " + d.sSortAsc + " " + d.sSortDesc).addClass("asc" == h[f] ? d.sSortAsc : "desc" == h[f] ? d.sSortDesc : c.sSortingClass)) }) }, jqueryui: function (a, b, c, d) {
+                        k("<div/>").addClass(d.sSortJUIWrapper).append(b.contents()).append(k("<span/>").addClass(d.sSortIcon + " " + c.sSortingClassJUI)).appendTo(b); k(a.nTable).on("order.dt.DT", function (f, e, g, h) {
+                            a === e &&
+                            (f = c.idx, b.removeClass(d.sSortAsc + " " + d.sSortDesc).addClass("asc" == h[f] ? d.sSortAsc : "desc" == h[f] ? d.sSortDesc : c.sSortingClass), b.find("span." + d.sSortIcon).removeClass(d.sSortJUIAsc + " " + d.sSortJUIDesc + " " + d.sSortJUI + " " + d.sSortJUIAscAllowed + " " + d.sSortJUIDescAllowed).addClass("asc" == h[f] ? d.sSortJUIAsc : "desc" == h[f] ? d.sSortJUIDesc : c.sSortingClassJUI))
+                        })
+                    }
+                }
+            }); var xb = function (a) { return "string" === typeof a ? a.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;") : a }; u.render =
+                { number: function (a, b, c, d, f) { return { display: function (e) { if ("number" !== typeof e && "string" !== typeof e) return e; var g = 0 > e ? "-" : "", h = parseFloat(e); if (isNaN(h)) return xb(e); h = h.toFixed(c); e = Math.abs(h); h = parseInt(e, 10); e = c ? b + (e - h).toFixed(c).substring(2) : ""; return g + (d || "") + h.toString().replace(/\B(?=(\d{3})+(?!\d))/g, a) + e + (f || "") } } }, text: function () { return { display: xb, filter: xb } } }; k.extend(u.ext.internal, {
+                    _fnExternApiFunc: fc, _fnBuildAjax: La, _fnAjaxUpdate: Fb, _fnAjaxParameters: Ob, _fnAjaxUpdateDraw: Pb, _fnAjaxDataSrc: Ma,
+                    _fnAddColumn: Wa, _fnColumnOptions: Da, _fnAdjustColumnSizing: ra, _fnVisibleToColumnIndex: sa, _fnColumnIndexToVisible: ta, _fnVisbleColumns: na, _fnGetColumns: Fa, _fnColumnTypes: Ya, _fnApplyColumnDefs: Cb, _fnHungarianMap: G, _fnCamelToHungarian: O, _fnLanguageCompat: ma, _fnBrowserDetect: Ab, _fnAddData: ea, _fnAddTr: Ga, _fnNodeToDataIndex: function (a, b) { return b._DT_RowIndex !== q ? b._DT_RowIndex : null }, _fnNodeToColumnIndex: function (a, b, c) { return k.inArray(c, a.aoData[b].anCells) }, _fnGetCellData: S, _fnSetCellData: Db, _fnSplitObjNotation: ab,
+                    _fnGetObjectDataFn: ia, _fnSetObjectDataFn: da, _fnGetDataMaster: bb, _fnClearTable: Ha, _fnDeleteIndex: Ia, _fnInvalidate: va, _fnGetRowElements: $a, _fnCreateTr: Za, _fnBuildHead: Eb, _fnDrawHead: xa, _fnDraw: fa, _fnReDraw: ja, _fnAddOptionsHtml: Hb, _fnDetectHeader: wa, _fnGetUniqueThs: Ka, _fnFeatureHtmlFilter: Jb, _fnFilterComplete: ya, _fnFilterCustom: Sb, _fnFilterColumn: Rb, _fnFilter: Qb, _fnFilterCreateSearch: gb, _fnEscapeRegex: hb, _fnFilterData: Tb, _fnFeatureHtmlInfo: Mb, _fnUpdateInfo: Wb, _fnInfoMacros: Xb, _fnInitialise: za, _fnInitComplete: Na,
+                    _fnLengthChange: ib, _fnFeatureHtmlLength: Ib, _fnFeatureHtmlPaginate: Nb, _fnPageChange: kb, _fnFeatureHtmlProcessing: Kb, _fnProcessingDisplay: U, _fnFeatureHtmlTable: Lb, _fnScrollDraw: Ea, _fnApplyToChildren: Z, _fnCalculateColumnWidths: Xa, _fnThrottle: fb, _fnConvertToWidth: Zb, _fnGetWidestNode: $b, _fnGetMaxLenString: ac, _fnStringToCss: K, _fnSortFlatten: pa, _fnSort: Gb, _fnSortAria: cc, _fnSortListener: nb, _fnSortAttachListener: db, _fnSortingClasses: Pa, _fnSortData: bc, _fnSaveState: Qa, _fnLoadState: dc, _fnSettingsFromNode: Ra, _fnLog: aa,
+                    _fnMap: V, _fnBindAction: ob, _fnCallbackReg: Q, _fnCallbackFire: I, _fnLengthOverflow: jb, _fnRenderer: eb, _fnDataSource: P, _fnRowAttributes: cb, _fnExtend: pb, _fnCalculateEnd: function () { }
+                }); k.fn.dataTable = u; u.$ = k; k.fn.dataTableSettings = u.settings; k.fn.dataTableExt = u.ext; k.fn.DataTable = function (a) { return k(this).dataTable(a).api() }; k.each(u, function (a, b) { k.fn.DataTable[a] = b }); return k.fn.dataTable
+});

ファイルの差分が大きいため隠しています
+ 13 - 0
SuperAdmin/SuperAdmin/Extensions/js/tables/jszip.min.js


ファイルの差分が大きいため隠しています
+ 2 - 0
SuperAdmin/SuperAdmin/Extensions/js/tables/pdfmake.min.js


ファイルの差分が大きいため隠しています
+ 1 - 0
SuperAdmin/SuperAdmin/Extensions/js/tables/vfs_fonts.js


+ 77 - 0
SuperAdmin/SuperAdmin/Extensions/js/tree.js

@@ -0,0 +1,77 @@
+var toggler = document.getElementsByClassName("caret");
+var i;
+
+for (i = 0; i < toggler.length; i++) {
+    toggler[i].addEventListener("click", function () {
+        this.parentElement.querySelector(".nested").classList.toggle("active");
+        this.classList.toggle("caret-down");
+    });
+}
+
+const menu = document.getElementById('menu');
+//const outClick = document.getElementById('out-click');
+
+var div_list = document.querySelectorAll('.clickable'); // returns NodeList
+var div_array = [...div_list]; // converts NodeList to Array
+div_array.forEach(div => {
+    // do something awesome with each div
+    //div.addEventListener('contextmenu', e => {
+    //    e.preventDefault();
+    //    var itemID = e.target.getAttribute("value");
+    //    $("#itemID").val(itemID);
+
+    //    var w = $(window);
+    //    if (window.scrollY + e.clientY - w.scrollTop() < 700) {
+    //        menu.style.top = `${window.scrollY + e.clientY - 100}px`;
+    //        menu.style.left = `${window.scrollX + e.clientX - 200}px`;
+    //        menu.classList.add('show-top');
+    //    } else {
+    //        menu.style.top = `${window.scrollY + e.clientY - 200}px`;
+    //        menu.style.left = `${window.scrollX + e.clientX - 200}px`;
+    //        menu.classList.add('show-bottom');
+    //    }
+    //    console.log($("#itemID").val());
+    //    //outClick.style.display = "block";
+    //});
+});
+
+//outClick.addEventListener('click', () => {
+//    menu.classList.remove('show-top');
+//    menu.classList.remove('show-bottom');
+//    outClick.style.display = "none";
+//})
+
+$(".tree-box").contextmenu(function (e) {
+    e.preventDefault();
+    var itemID = e.target.getAttribute("value");
+    $("#itemID").val(itemID);
+    var w = $(window);
+    if (window.scrollY + e.clientY - w.scrollTop() < 700) {
+        menu.style.top = `${window.scrollY + e.clientY - 100}px`;
+        menu.style.left = `${window.scrollX + e.clientX - 200}px`;
+        menu.classList.add('show-top');
+    } else {
+        menu.style.top = `${window.scrollY + e.clientY - 200}px`;
+        menu.style.left = `${window.scrollX + e.clientX - 200}px`;
+        menu.classList.add('show-bottom');
+    }
+    console.log($("#itemID").val());
+});
+
+$(".tree-container").on('click', () => {
+    menu.classList.remove('show-top');
+    menu.classList.remove('show-bottom');
+    //outClick.style.display = "none";
+})
+
+
+
+function clickableOutClick() {
+    const menu = document.getElementById('menu');
+    //const outClick = document.getElementById('out-click');
+
+    menu.classList.remove('show-top');
+    menu.classList.remove('show-bottom');
+    //outClick.style.display = "none";
+
+}

+ 961 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/bootstrap-datetimepicker.min.js

@@ -0,0 +1,961 @@
+! function (e) {
+    "use strict";
+    if ("function" == typeof define && define.amd) define(["jquery", "moment"], e);
+    else if ("object" == typeof exports) module.exports = e(require("jquery"), require("moment"));
+    else {
+        if ("undefined" == typeof jQuery) throw "bootstrap-datetimepicker requires jQuery to be loaded first";
+        if ("undefined" == typeof moment) throw "bootstrap-datetimepicker requires Moment.js to be loaded first";
+        e(jQuery, moment)
+    }
+}(function (e, t) {
+    "use strict";
+    if (!t) throw new Error("bootstrap-datetimepicker requires Moment.js to be loaded first");
+    var a = function (a, n) {
+        var r, i, o, s, d, l, p, c = {},
+            u = !0,
+            f = !1,
+            m = !1,
+            h = 0,
+            y = [{
+                clsName: "days",
+                navFnc: "M",
+                navStep: 1
+            }, {
+                clsName: "months",
+                navFnc: "y",
+                navStep: 1
+            }, {
+                clsName: "years",
+                navFnc: "y",
+                navStep: 10
+            }, {
+                clsName: "decades",
+                navFnc: "y",
+                navStep: 100
+            }],
+            w = ["days", "months", "years", "decades"],
+            b = ["top", "bottom", "auto"],
+            g = ["left", "right", "auto"],
+            v = ["default", "top", "bottom"],
+            k = {
+                up: 38,
+                38: "up",
+                down: 40,
+                40: "down",
+                left: 37,
+                37: "left",
+                right: 39,
+                39: "right",
+                tab: 9,
+                9: "tab",
+                escape: 27,
+                27: "escape",
+                enter: 13,
+                13: "enter",
+                pageUp: 33,
+                33: "pageUp",
+                pageDown: 34,
+                34: "pageDown",
+                shift: 16,
+                16: "shift",
+                control: 17,
+                17: "control",
+                space: 32,
+                32: "space",
+                t: 84,
+                84: "t",
+                delete: 46,
+                46: "delete"
+            },
+            D = {},
+            C = function () {
+                return void 0 !== t.tz && void 0 !== n.timeZone && null !== n.timeZone && "" !== n.timeZone
+            },
+            x = function (e) {
+                var a;
+                return a = void 0 === e || null === e ? t() : t.isDate(e) || t.isMoment(e) ? t(e) : C() ? t.tz(e, l, n.useStrict, n.timeZone) : t(e, l, n.useStrict), C() && a.tz(n.timeZone), a
+            },
+            T = function (e) {
+                if ("string" != typeof e || e.length > 1) throw new TypeError("isEnabled expects a single character string parameter");
+                switch (e) {
+                    case "y":
+                        return -1 !== d.indexOf("Y");
+                    case "M":
+                        return -1 !== d.indexOf("M");
+                    case "d":
+                        return -1 !== d.toLowerCase().indexOf("d");
+                    case "h":
+                    case "H":
+                        return -1 !== d.toLowerCase().indexOf("h");
+                    case "m":
+                        return -1 !== d.indexOf("m");
+                    case "s":
+                        return -1 !== d.indexOf("s");
+                    default:
+                        return !1
+                }
+            },
+            M = function () {
+                return T("h") || T("m") || T("s")
+            },
+            S = function () {
+                return T("y") || T("M") || T("d")
+            },
+            O = function () {
+                var t = e("<thead>").append(e("<tr>").append(e("<th>").addClass("prev").attr("data-action", "previous").append(e("<i>").addClass(n.icons.previous))).append(e("<th>").addClass("picker-switch").attr("data-action", "pickerSwitch").attr("colspan", n.calendarWeeks ? "6" : "5")).append(e("<th>").addClass("next").attr("data-action", "next").append(e("<i>").addClass(n.icons.next)))),
+                    a = e("<tbody>").append(e("<tr>").append(e("<td>").attr("colspan", n.calendarWeeks ? "8" : "7")));
+                return [e("<div>").addClass("datepicker-days").append(e("<table>").addClass("table-condensed").append(t).append(e("<tbody>"))), e("<div>").addClass("datepicker-months").append(e("<table>").addClass("table-condensed").append(t.clone()).append(a.clone())), e("<div>").addClass("datepicker-years").append(e("<table>").addClass("table-condensed").append(t.clone()).append(a.clone())), e("<div>").addClass("datepicker-decades").append(e("<table>").addClass("table-condensed").append(t.clone()).append(a.clone()))]
+            },
+            P = function () {
+                var t = e("<tr>"),
+                    a = e("<tr>"),
+                    r = e("<tr>");
+                return T("h") && (t.append(e("<td>").append(e("<a>").attr({
+                    href: "#",
+                    tabindex: "-1",
+                    title: n.tooltips.incrementHour
+                }).addClass("btn").attr("data-action", "incrementHours").append(e("<i>").addClass(n.icons.up)))), a.append(e("<td>").append(e("<span>").addClass("timepicker-hour").attr({
+                    "data-time-component": "hours",
+                    title: n.tooltips.pickHour
+                }).attr("data-action", "showHours"))), r.append(e("<td>").append(e("<a>").attr({
+                    href: "#",
+                    tabindex: "-1",
+                    title: n.tooltips.decrementHour
+                }).addClass("btn").attr("data-action", "decrementHours").append(e("<i>").addClass(n.icons.down))))), T("m") && (T("h") && (t.append(e("<td>").addClass("separator")), a.append(e("<td>").addClass("separator").html(":")), r.append(e("<td>").addClass("separator"))), t.append(e("<td>").append(e("<a>").attr({
+                    href: "#",
+                    tabindex: "-1",
+                    title: n.tooltips.incrementMinute
+                }).addClass("btn").attr("data-action", "incrementMinutes").append(e("<i>").addClass(n.icons.up)))), a.append(e("<td>").append(e("<span>").addClass("timepicker-minute").attr({
+                    "data-time-component": "minutes",
+                    title: n.tooltips.pickMinute
+                }).attr("data-action", "showMinutes"))), r.append(e("<td>").append(e("<a>").attr({
+                    href: "#",
+                    tabindex: "-1",
+                    title: n.tooltips.decrementMinute
+                }).addClass("btn").attr("data-action", "decrementMinutes").append(e("<i>").addClass(n.icons.down))))), T("s") && (T("m") && (t.append(e("<td>").addClass("separator")), a.append(e("<td>").addClass("separator").html(":")), r.append(e("<td>").addClass("separator"))), t.append(e("<td>").append(e("<a>").attr({
+                    href: "#",
+                    tabindex: "-1",
+                    title: n.tooltips.incrementSecond
+                }).addClass("btn").attr("data-action", "incrementSeconds").append(e("<i>").addClass(n.icons.up)))), a.append(e("<td>").append(e("<span>").addClass("timepicker-second").attr({
+                    "data-time-component": "seconds",
+                    title: n.tooltips.pickSecond
+                }).attr("data-action", "showSeconds"))), r.append(e("<td>").append(e("<a>").attr({
+                    href: "#",
+                    tabindex: "-1",
+                    title: n.tooltips.decrementSecond
+                }).addClass("btn").attr("data-action", "decrementSeconds").append(e("<i>").addClass(n.icons.down))))), s || (t.append(e("<td>").addClass("separator")), a.append(e("<td>").append(e("<button>").addClass("btn btn-primary").attr({
+                    "data-action": "togglePeriod",
+                    tabindex: "-1",
+                    title: n.tooltips.togglePeriod
+                }))), r.append(e("<td>").addClass("separator"))), e("<div>").addClass("timepicker-picker").append(e("<table>").addClass("table-condensed").append([t, a, r]))
+            },
+            E = function () {
+                var t = e("<div>").addClass("timepicker-hours").append(e("<table>").addClass("table-condensed")),
+                    a = e("<div>").addClass("timepicker-minutes").append(e("<table>").addClass("table-condensed")),
+                    n = e("<div>").addClass("timepicker-seconds").append(e("<table>").addClass("table-condensed")),
+                    r = [P()];
+                return T("h") && r.push(t), T("m") && r.push(a), T("s") && r.push(n), r
+            },
+            H = function () {
+                var t = [];
+                return n.showTodayButton && t.push(e("<td>").append(e("<a>").attr({
+                    "data-action": "today",
+                    title: n.tooltips.today
+                }).append(e("<i>").addClass(n.icons.today)))), !n.sideBySide && S() && M() && t.push(e("<td>").append(e("<a>").attr({
+                    "data-action": "togglePicker",
+                    title: n.tooltips.selectTime
+                }).append(e("<i>").addClass(n.icons.time)))), n.showClear && t.push(e("<td>").append(e("<a>").attr({
+                    "data-action": "clear",
+                    title: n.tooltips.clear
+                }).append(e("<i>").addClass(n.icons.clear)))), n.showClose && t.push(e("<td>").append(e("<a>").attr({
+                    "data-action": "close",
+                    title: n.tooltips.close
+                }).append(e("<i>").addClass(n.icons.close)))), e("<table>").addClass("table-condensed").append(e("<tbody>").append(e("<tr>").append(t)))
+            },
+            I = function () {
+                var t = e("<div>").addClass("bootstrap-datetimepicker-widget dropdown-menu"),
+                    a = e("<div>").addClass("datepicker").append(O()),
+                    r = e("<div>").addClass("timepicker").append(E()),
+                    i = e("<ul>").addClass("list-unstyled"),
+                    o = e("<li>").addClass("picker-switch" + (n.collapse ? " accordion-toggle" : "")).append(H());
+                return n.inline && t.removeClass("dropdown-menu"), s && t.addClass("usetwentyfour"), T("s") && !s && t.addClass("wider"), n.sideBySide && S() && M() ? (t.addClass("timepicker-sbs"), "top" === n.toolbarPlacement && t.append(o), t.append(e("<div>").addClass("row").append(a.addClass("col-md-6")).append(r.addClass("col-md-6"))), "bottom" === n.toolbarPlacement && t.append(o), t) : ("top" === n.toolbarPlacement && i.append(o), S() && i.append(e("<li>").addClass(n.collapse && M() ? "collapse show" : "").append(a)), "default" === n.toolbarPlacement && i.append(o), M() && i.append(e("<li>").addClass(n.collapse && S() ? "collapse" : "").append(r)), "bottom" === n.toolbarPlacement && i.append(o), t.append(i))
+            },
+            Y = function () {
+                var t, r = (f || a).position(),
+                    i = (f || a).offset(),
+                    o = n.widgetPositioning.vertical,
+                    s = n.widgetPositioning.horizontal;
+                if (n.widgetParent) t = n.widgetParent.append(m);
+                else if (a.is("input")) t = a.after(m).parent();
+                else {
+                    if (n.inline) return void (t = a.append(m));
+                    t = a, a.children().first().after(m)
+                }
+                if ("auto" === o && (o = i.top + 1.5 * m.height() >= e(window).height() + e(window).scrollTop() && m.height() + a.outerHeight() < i.top ? "top" : "bottom"), "auto" === s && (s = t.width() < i.left + m.outerWidth() / 2 && i.left + m.outerWidth() > e(window).width() ? "right" : "left"), "top" === o ? m.addClass("top").removeClass("bottom") : m.addClass("bottom").removeClass("top"), "right" === s ? m.addClass("pull-right") : m.removeClass("pull-right"), "static" === t.css("position") && (t = t.parents().filter(function () {
+                    return "static" !== e(this).css("position")
+                }).first()), 0 === t.length) throw new Error("datetimepicker component should be placed within a non-static positioned container");
+                m.css({
+                    top: "top" === o ? "auto" : r.top + a.outerHeight(),
+                    bottom: "top" === o ? t.outerHeight() - (t === a ? 0 : r.top) : "auto",
+                    left: "left" === s ? t === a ? 0 : r.left : "auto",
+                    right: "left" === s ? "auto" : t.outerWidth() - a.outerWidth() - (t === a ? 0 : r.left)
+                })
+            },
+            q = function (e) {
+                "dp.change" === e.type && (e.date && e.date.isSame(e.oldDate) || !e.date && !e.oldDate) || a.trigger(e)
+            },
+            B = function (e) {
+                "y" === e && (e = "YYYY"), q({
+                    type: "dp.update",
+                    change: e,
+                    viewDate: i.clone()
+                })
+            },
+            j = function (e) {
+                m && (e && (p = Math.max(h, Math.min(3, p + e))), m.find(".datepicker > div").hide().filter(".datepicker-" + y[p].clsName).show())
+            },
+            A = function () {
+                var t = e("<tr>"),
+                    a = i.clone().startOf("w").startOf("d");
+                for (!0 === n.calendarWeeks && t.append(e("<th>").addClass("cw").text("#")); a.isBefore(i.clone().endOf("w"));) t.append(e("<th>").addClass("dow").text(a.format("dd"))), a.add(1, "d");
+                m.find(".datepicker-days thead").append(t)
+            },
+            F = function (e) {
+                return !0 === n.disabledDates[e.format("YYYY-MM-DD")]
+            },
+            L = function (e) {
+                return !0 === n.enabledDates[e.format("YYYY-MM-DD")]
+            },
+            W = function (e) {
+                return !0 === n.disabledHours[e.format("H")]
+            },
+            z = function (e) {
+                return !0 === n.enabledHours[e.format("H")]
+            },
+            N = function (t, a) {
+                if (!t.isValid()) return !1;
+                if (n.disabledDates && "d" === a && F(t)) return !1;
+                if (n.enabledDates && "d" === a && !L(t)) return !1;
+                if (n.minDate && t.isBefore(n.minDate, a)) return !1;
+                if (n.maxDate && t.isAfter(n.maxDate, a)) return !1;
+                if (n.daysOfWeekDisabled && "d" === a && -1 !== n.daysOfWeekDisabled.indexOf(t.day())) return !1;
+                if (n.disabledHours && ("h" === a || "m" === a || "s" === a) && W(t)) return !1;
+                if (n.enabledHours && ("h" === a || "m" === a || "s" === a) && !z(t)) return !1;
+                if (n.disabledTimeIntervals && ("h" === a || "m" === a || "s" === a)) {
+                    var r = !1;
+                    if (e.each(n.disabledTimeIntervals, function () {
+                        if (t.isBetween(this[0], this[1])) return r = !0, !1
+                    }), r) return !1
+                }
+                return !0
+            },
+            V = function () {
+                for (var t = [], a = i.clone().startOf("y").startOf("d"); a.isSame(i, "y");) t.push(e("<span>").attr("data-action", "selectMonth").addClass("month").text(a.format("MMM"))), a.add(1, "M");
+                m.find(".datepicker-months td").empty().append(t)
+            },
+            Z = function () {
+                var t = m.find(".datepicker-months"),
+                    a = t.find("th"),
+                    o = t.find("tbody").find("span");
+                a.eq(0).find("span").attr("title", n.tooltips.prevYear), a.eq(1).attr("title", n.tooltips.selectYear), a.eq(2).find("span").attr("title", n.tooltips.nextYear), t.find(".disabled").removeClass("disabled"), N(i.clone().subtract(1, "y"), "y") || a.eq(0).addClass("disabled"), a.eq(1).text(i.year()), N(i.clone().add(1, "y"), "y") || a.eq(2).addClass("disabled"), o.removeClass("active"), r.isSame(i, "y") && !u && o.eq(r.month()).addClass("active"), o.each(function (t) {
+                    N(i.clone().month(t), "M") || e(this).addClass("disabled")
+                })
+            },
+            R = function () {
+                var e = m.find(".datepicker-years"),
+                    t = e.find("th"),
+                    a = i.clone().subtract(5, "y"),
+                    o = i.clone().add(6, "y"),
+                    s = "";
+                for (t.eq(0).find("span").attr("title", n.tooltips.prevDecade), t.eq(1).attr("title", n.tooltips.selectDecade), t.eq(2).find("span").attr("title", n.tooltips.nextDecade), e.find(".disabled").removeClass("disabled"), n.minDate && n.minDate.isAfter(a, "y") && t.eq(0).addClass("disabled"), t.eq(1).text(a.year() + "-" + o.year()), n.maxDate && n.maxDate.isBefore(o, "y") && t.eq(2).addClass("disabled"); !a.isAfter(o, "y");) s += '<span data-action="selectYear" class="year' + (a.isSame(r, "y") && !u ? " active" : "") + (N(a, "y") ? "" : " disabled") + '">' + a.year() + "</span>", a.add(1, "y");
+                e.find("td").html(s)
+            },
+            Q = function () {
+                var e, a = m.find(".datepicker-decades"),
+                    o = a.find("th"),
+                    s = t({
+                        y: i.year() - i.year() % 100 - 1
+                    }),
+                    d = s.clone().add(100, "y"),
+                    l = s.clone(),
+                    p = !1,
+                    c = !1,
+                    u = "";
+                for (o.eq(0).find("span").attr("title", n.tooltips.prevCentury), o.eq(2).find("span").attr("title", n.tooltips.nextCentury), a.find(".disabled").removeClass("disabled"), (s.isSame(t({
+                    y: 1900
+                })) || n.minDate && n.minDate.isAfter(s, "y")) && o.eq(0).addClass("disabled"), o.eq(1).text(s.year() + "-" + d.year()), (s.isSame(t({
+                    y: 2e3
+                })) || n.maxDate && n.maxDate.isBefore(d, "y")) && o.eq(2).addClass("disabled"); !s.isAfter(d, "y");) e = s.year() + 12, p = n.minDate && n.minDate.isAfter(s, "y") && n.minDate.year() <= e, c = n.maxDate && n.maxDate.isAfter(s, "y") && n.maxDate.year() <= e, u += '<span data-action="selectDecade" class="decade' + (r.isAfter(s) && r.year() <= e ? " active" : "") + (N(s, "y") || p || c ? "" : " disabled") + '" data-selection="' + (s.year() + 6) + '">' + (s.year() + 1) + " - " + (s.year() + 12) + "</span>", s.add(12, "y");
+                u += "<span></span><span></span><span></span>", a.find("td").html(u), o.eq(1).text(l.year() + 1 + "-" + s.year())
+            },
+            U = function () {
+                var t, a, o, s = m.find(".datepicker-days"),
+                    d = s.find("th"),
+                    l = [],
+                    p = [];
+                if (S()) {
+                    for (d.eq(0).find("span").attr("title", n.tooltips.prevMonth), d.eq(1).attr("title", n.tooltips.selectMonth), d.eq(2).find("span").attr("title", n.tooltips.nextMonth), s.find(".disabled").removeClass("disabled"), d.eq(1).text(i.format(n.dayViewHeaderFormat)), N(i.clone().subtract(1, "M"), "M") || d.eq(0).addClass("disabled"), N(i.clone().add(1, "M"), "M") || d.eq(2).addClass("disabled"), t = i.clone().startOf("M").startOf("w").startOf("d"), o = 0; o < 42; o++) 0 === t.weekday() && (a = e("<tr>"), n.calendarWeeks && a.append('<td class="cw">' + t.week() + "</td>"), l.push(a)), p = ["day"], t.isBefore(i, "M") && p.push("old"), t.isAfter(i, "M") && p.push("new"), t.isSame(r, "d") && !u && p.push("active"), N(t, "d") || p.push("disabled"), t.isSame(x(), "d") && p.push("today"), 0 !== t.day() && 6 !== t.day() || p.push("weekend"), q({
+                        type: "dp.classify",
+                        date: t,
+                        classNames: p
+                    }), a.append('<td data-action="selectDay" data-day="' + t.format("L") + '" class="' + p.join(" ") + '">' + t.date() + "</td>"), t.add(1, "d");
+                    s.find("tbody").empty().append(l), Z(), R(), Q()
+                }
+            },
+            G = function () {
+                var t = m.find(".timepicker-hours table"),
+                    a = i.clone().startOf("d"),
+                    n = [],
+                    r = e("<tr>");
+                for (i.hour() > 11 && !s && a.hour(12); a.isSame(i, "d") && (s || i.hour() < 12 && a.hour() < 12 || i.hour() > 11);) a.hour() % 4 == 0 && (r = e("<tr>"), n.push(r)), r.append('<td data-action="selectHour" class="hour' + (N(a, "h") ? "" : " disabled") + '">' + a.format(s ? "HH" : "hh") + "</td>"), a.add(1, "h");
+                t.empty().append(n)
+            },
+            J = function () {
+                for (var t = m.find(".timepicker-minutes table"), a = i.clone().startOf("h"), r = [], o = e("<tr>"), s = 1 === n.stepping ? 5 : n.stepping; i.isSame(a, "h");) a.minute() % (4 * s) == 0 && (o = e("<tr>"), r.push(o)), o.append('<td data-action="selectMinute" class="minute' + (N(a, "m") ? "" : " disabled") + '">' + a.format("mm") + "</td>"), a.add(s, "m");
+                t.empty().append(r)
+            },
+            K = function () {
+                for (var t = m.find(".timepicker-seconds table"), a = i.clone().startOf("m"), n = [], r = e("<tr>"); i.isSame(a, "m");) a.second() % 20 == 0 && (r = e("<tr>"), n.push(r)), r.append('<td data-action="selectSecond" class="second' + (N(a, "s") ? "" : " disabled") + '">' + a.format("ss") + "</td>"), a.add(5, "s");
+                t.empty().append(n)
+            },
+            X = function () {
+                var e, t, a = m.find(".timepicker span[data-time-component]");
+                s || (e = m.find(".timepicker [data-action=togglePeriod]"), t = r.clone().add(r.hours() >= 12 ? -12 : 12, "h"), e.text(r.format("A")), N(t, "h") ? e.removeClass("disabled") : e.addClass("disabled")), a.filter("[data-time-component=hours]").text(r.format(s ? "HH" : "hh")), a.filter("[data-time-component=minutes]").text(r.format("mm")), a.filter("[data-time-component=seconds]").text(r.format("ss")), G(), J(), K()
+            },
+            $ = function () {
+                m && (U(), X())
+            },
+            _ = function (e) {
+                var t = u ? null : r;
+                if (!e) return u = !0, o.val(""), a.data("date", ""), q({
+                    type: "dp.change",
+                    date: !1,
+                    oldDate: t
+                }), void $();
+                if (e = e.clone().locale(n.locale), C() && e.tz(n.timeZone), 1 !== n.stepping)
+                    for (e.minutes(Math.round(e.minutes() / n.stepping) * n.stepping).seconds(0); n.minDate && e.isBefore(n.minDate);) e.add(n.stepping, "minutes");
+                N(e) ? (i = (r = e).clone(), o.val(r.format(d)), a.data("date", r.format(d)), u = !1, $(), q({
+                    type: "dp.change",
+                    date: r.clone(),
+                    oldDate: t
+                })) : (n.keepInvalid ? q({
+                    type: "dp.change",
+                    date: e,
+                    oldDate: t
+                }) : o.val(u ? "" : r.format(d)), q({
+                    type: "dp.error",
+                    date: e,
+                    oldDate: t
+                }))
+            },
+            ee = function () {
+                var t = !1;
+                return m ? (m.find(".collapse").each(function () {
+                    var a = e(this).data("collapse");
+                    return !a || !a.transitioning || (t = !0, !1)
+                }), t ? c : (f && f.hasClass("btn") && f.toggleClass("active"), m.hide(), e(window).off("resize", Y), m.off("click", "[data-action]"), m.off("mousedown", !1), m.remove(), m = !1, q({
+                    type: "dp.hide",
+                    date: r.clone()
+                }), o.blur(), i = r.clone(), c)) : c
+            },
+            te = function () {
+                _(null)
+            },
+            ae = function (e) {
+                return void 0 === n.parseInputDate ? (!t.isMoment(e) || e instanceof Date) && (e = x(e)) : e = n.parseInputDate(e), e
+            },
+            ne = {
+                next: function () {
+                    var e = y[p].navFnc;
+                    i.add(y[p].navStep, e), U(), B(e)
+                },
+                previous: function () {
+                    var e = y[p].navFnc;
+                    i.subtract(y[p].navStep, e), U(), B(e)
+                },
+                pickerSwitch: function () {
+                    j(1)
+                },
+                selectMonth: function (t) {
+                    var a = e(t.target).closest("tbody").find("span").index(e(t.target));
+                    i.month(a), p === h ? (_(r.clone().year(i.year()).month(i.month())), n.inline || ee()) : (j(-1), U()), B("M")
+                },
+                selectYear: function (t) {
+                    var a = parseInt(e(t.target).text(), 10) || 0;
+                    i.year(a), p === h ? (_(r.clone().year(i.year())), n.inline || ee()) : (j(-1), U()), B("YYYY")
+                },
+                selectDecade: function (t) {
+                    var a = parseInt(e(t.target).data("selection"), 10) || 0;
+                    i.year(a), p === h ? (_(r.clone().year(i.year())), n.inline || ee()) : (j(-1), U()), B("YYYY")
+                },
+                selectDay: function (t) {
+                    var a = i.clone();
+                    e(t.target).is(".old") && a.subtract(1, "M"), e(t.target).is(".new") && a.add(1, "M"), _(a.date(parseInt(e(t.target).text(), 10))), M() || n.keepOpen || n.inline || ee()
+                },
+                incrementHours: function () {
+                    var e = r.clone().add(1, "h");
+                    N(e, "h") && _(e)
+                },
+                incrementMinutes: function () {
+                    var e = r.clone().add(n.stepping, "m");
+                    N(e, "m") && _(e)
+                },
+                incrementSeconds: function () {
+                    var e = r.clone().add(1, "s");
+                    N(e, "s") && _(e)
+                },
+                decrementHours: function () {
+                    var e = r.clone().subtract(1, "h");
+                    N(e, "h") && _(e)
+                },
+                decrementMinutes: function () {
+                    var e = r.clone().subtract(n.stepping, "m");
+                    N(e, "m") && _(e)
+                },
+                decrementSeconds: function () {
+                    var e = r.clone().subtract(1, "s");
+                    N(e, "s") && _(e)
+                },
+                togglePeriod: function () {
+                    _(r.clone().add(r.hours() >= 12 ? -12 : 12, "h"))
+                },
+                togglePicker: function (t) {
+                    var a, r = e(t.target),
+                        i = r.closest("ul"),
+                        o = i.find(".show"),
+                        s = i.find(".collapse:not(.show)");
+                    if (o && o.length) {
+                        if ((a = o.data("collapse")) && a.transitioning) return;
+                        o.collapse ? (o.collapse("hide"), s.collapse("show")) : (o.removeClass("show"), s.addClass("show")), r.is("i") ? r.toggleClass(n.icons.time + " " + n.icons.date) : r.find("i").toggleClass(n.icons.time + " " + n.icons.date)
+                    }
+                },
+                showPicker: function () {
+                    m.find(".timepicker > div:not(.timepicker-picker)").hide(), m.find(".timepicker .timepicker-picker").show()
+                },
+                showHours: function () {
+                    m.find(".timepicker .timepicker-picker").hide(), m.find(".timepicker .timepicker-hours").show()
+                },
+                showMinutes: function () {
+                    m.find(".timepicker .timepicker-picker").hide(), m.find(".timepicker .timepicker-minutes").show()
+                },
+                showSeconds: function () {
+                    m.find(".timepicker .timepicker-picker").hide(), m.find(".timepicker .timepicker-seconds").show()
+                },
+                selectHour: function (t) {
+                    var a = parseInt(e(t.target).text(), 10);
+                    s || (r.hours() >= 12 ? 12 !== a && (a += 12) : 12 === a && (a = 0)), _(r.clone().hours(a)), ne.showPicker.call(c)
+                },
+                selectMinute: function (t) {
+                    _(r.clone().minutes(parseInt(e(t.target).text(), 10))), ne.showPicker.call(c)
+                },
+                selectSecond: function (t) {
+                    _(r.clone().seconds(parseInt(e(t.target).text(), 10))), ne.showPicker.call(c)
+                },
+                clear: te,
+                today: function () {
+                    var e = x();
+                    N(e, "d") && _(e)
+                },
+                close: ee
+            },
+            re = function (t) {
+                return !e(t.currentTarget).is(".disabled") && (ne[e(t.currentTarget).data("action")].apply(c, arguments), !1)
+            },
+            ie = function () {
+                var t, a = {
+                    year: function (e) {
+                        return e.month(0).date(1).hours(0).seconds(0).minutes(0)
+                    },
+                    month: function (e) {
+                        return e.date(1).hours(0).seconds(0).minutes(0)
+                    },
+                    day: function (e) {
+                        return e.hours(0).seconds(0).minutes(0)
+                    },
+                    hour: function (e) {
+                        return e.seconds(0).minutes(0)
+                    },
+                    minute: function (e) {
+                        return e.seconds(0)
+                    }
+                };
+                return o.prop("disabled") || !n.ignoreReadonly && o.prop("readonly") || m ? c : (void 0 !== o.val() && 0 !== o.val().trim().length ? _(ae(o.val().trim())) : u && n.useCurrent && (n.inline || o.is("input") && 0 === o.val().trim().length) && (t = x(), "string" == typeof n.useCurrent && (t = a[n.useCurrent](t)), _(t)), m = I(), A(), V(), m.find(".timepicker-hours").hide(), m.find(".timepicker-minutes").hide(), m.find(".timepicker-seconds").hide(), $(), j(), e(window).on("resize", Y), m.on("click", "[data-action]", re), m.on("mousedown", !1), f && f.hasClass("btn") && f.toggleClass("active"), Y(), m.show(), n.focusOnShow && !o.is(":focus") && o.focus(), q({
+                    type: "dp.show"
+                }), c)
+            },
+            oe = function () {
+                return m ? ee() : ie()
+            },
+            se = function (e) {
+                var t, a, r, i, o = null,
+                    s = [],
+                    d = {},
+                    l = e.which;
+                D[l] = "p";
+                for (t in D) D.hasOwnProperty(t) && "p" === D[t] && (s.push(t), parseInt(t, 10) !== l && (d[t] = !0));
+                for (t in n.keyBinds)
+                    if (n.keyBinds.hasOwnProperty(t) && "function" == typeof n.keyBinds[t] && (r = t.split(" ")).length === s.length && k[l] === r[r.length - 1]) {
+                        for (i = !0, a = r.length - 2; a >= 0; a--)
+                            if (!(k[r[a]] in d)) {
+                                i = !1;
+                                break
+                            }
+                        if (i) {
+                            o = n.keyBinds[t];
+                            break
+                        }
+                    }
+                o && (o.call(c, m), e.stopPropagation(), e.preventDefault())
+            },
+            de = function (e) {
+                D[e.which] = "r", e.stopPropagation(), e.preventDefault()
+            },
+            le = function (t) {
+                var a = e(t.target).val().trim(),
+                    n = a ? ae(a) : null;
+                return _(n), t.stopImmediatePropagation(), !1
+            },
+            pe = function () {
+                o.off({
+                    change: le,
+                    blur: blur,
+                    keydown: se,
+                    keyup: de,
+                    focus: n.allowInputToggle ? ee : ""
+                }), a.is("input") ? o.off({
+                    focus: ie
+                }) : f && (f.off("click", oe), f.off("mousedown", !1))
+            },
+            ce = function (t) {
+                var a = {};
+                return e.each(t, function () {
+                    var e = ae(this);
+                    e.isValid() && (a[e.format("YYYY-MM-DD")] = !0)
+                }), !!Object.keys(a).length && a
+            },
+            ue = function (t) {
+                var a = {};
+                return e.each(t, function () {
+                    a[this] = !0
+                }), !!Object.keys(a).length && a
+            },
+            fe = function () {
+                var e = n.format || "L LT";
+                d = e.replace(/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, function (e) {
+                    return (r.localeData().longDateFormat(e) || e).replace(/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, function (e) {
+                        return r.localeData().longDateFormat(e) || e
+                    })
+                }), (l = n.extraFormats ? n.extraFormats.slice() : []).indexOf(e) < 0 && l.indexOf(d) < 0 && l.push(d), s = d.toLowerCase().indexOf("a") < 1 && d.replace(/\[.*?\]/g, "").indexOf("h") < 1, T("y") && (h = 2), T("M") && (h = 1), T("d") && (h = 0), p = Math.max(h, p), u || _(r)
+            };
+        if (c.destroy = function () {
+            ee(), pe(), a.removeData("DateTimePicker"), a.removeData("date")
+        }, c.toggle = oe, c.show = ie, c.hide = ee, c.disable = function () {
+            return ee(), f && f.hasClass("btn") && f.addClass("disabled"), o.prop("disabled", !0), c
+        }, c.enable = function () {
+            return f && f.hasClass("btn") && f.removeClass("disabled"), o.prop("disabled", !1), c
+        }, c.ignoreReadonly = function (e) {
+            if (0 === arguments.length) return n.ignoreReadonly;
+            if ("boolean" != typeof e) throw new TypeError("ignoreReadonly () expects a boolean parameter");
+            return n.ignoreReadonly = e, c
+        }, c.options = function (t) {
+            if (0 === arguments.length) return e.extend(!0, {}, n);
+            if (!(t instanceof Object)) throw new TypeError("options() options parameter should be an object");
+            return e.extend(!0, n, t), e.each(n, function (e, t) {
+                if (void 0 === c[e]) throw new TypeError("option " + e + " is not recognized!");
+                c[e](t)
+            }), c
+        }, c.date = function (e) {
+            if (0 === arguments.length) return u ? null : r.clone();
+            if (!(null === e || "string" == typeof e || t.isMoment(e) || e instanceof Date)) throw new TypeError("date() parameter must be one of [null, string, moment or Date]");
+            return _(null === e ? null : ae(e)), c
+        }, c.format = function (e) {
+            if (0 === arguments.length) return n.format;
+            if ("string" != typeof e && ("boolean" != typeof e || !1 !== e)) throw new TypeError("format() expects a string or boolean:false parameter " + e);
+            return n.format = e, d && fe(), c
+        }, c.timeZone = function (e) {
+            if (0 === arguments.length) return n.timeZone;
+            if ("string" != typeof e) throw new TypeError("newZone() expects a string parameter");
+            return n.timeZone = e, c
+        }, c.dayViewHeaderFormat = function (e) {
+            if (0 === arguments.length) return n.dayViewHeaderFormat;
+            if ("string" != typeof e) throw new TypeError("dayViewHeaderFormat() expects a string parameter");
+            return n.dayViewHeaderFormat = e, c
+        }, c.extraFormats = function (e) {
+            if (0 === arguments.length) return n.extraFormats;
+            if (!1 !== e && !(e instanceof Array)) throw new TypeError("extraFormats() expects an array or false parameter");
+            return n.extraFormats = e, l && fe(), c
+        }, c.disabledDates = function (t) {
+            if (0 === arguments.length) return n.disabledDates ? e.extend({}, n.disabledDates) : n.disabledDates;
+            if (!t) return n.disabledDates = !1, $(), c;
+            if (!(t instanceof Array)) throw new TypeError("disabledDates() expects an array parameter");
+            return n.disabledDates = ce(t), n.enabledDates = !1, $(), c
+        }, c.enabledDates = function (t) {
+            if (0 === arguments.length) return n.enabledDates ? e.extend({}, n.enabledDates) : n.enabledDates;
+            if (!t) return n.enabledDates = !1, $(), c;
+            if (!(t instanceof Array)) throw new TypeError("enabledDates() expects an array parameter");
+            return n.enabledDates = ce(t), n.disabledDates = !1, $(), c
+        }, c.daysOfWeekDisabled = function (e) {
+            if (0 === arguments.length) return n.daysOfWeekDisabled.splice(0);
+            if ("boolean" == typeof e && !e) return n.daysOfWeekDisabled = !1, $(), c;
+            if (!(e instanceof Array)) throw new TypeError("daysOfWeekDisabled() expects an array parameter");
+            if (n.daysOfWeekDisabled = e.reduce(function (e, t) {
+                return (t = parseInt(t, 10)) > 6 || t < 0 || isNaN(t) ? e : (-1 === e.indexOf(t) && e.push(t), e)
+            }, []).sort(), n.useCurrent && !n.keepInvalid) {
+                for (var t = 0; !N(r, "d");) {
+                    if (r.add(1, "d"), 31 === t) throw "Tried 31 times to find a valid date";
+                    t++
+                }
+                _(r)
+            }
+            return $(), c
+        }, c.maxDate = function (e) {
+            if (0 === arguments.length) return n.maxDate ? n.maxDate.clone() : n.maxDate;
+            if ("boolean" == typeof e && !1 === e) return n.maxDate = !1, $(), c;
+            "string" == typeof e && ("now" !== e && "moment" !== e || (e = x()));
+            var t = ae(e);
+            if (!t.isValid()) throw new TypeError("maxDate() Could not parse date parameter: " + e);
+            if (n.minDate && t.isBefore(n.minDate)) throw new TypeError("maxDate() date parameter is before options.minDate: " + t.format(d));
+            return n.maxDate = t, n.useCurrent && !n.keepInvalid && r.isAfter(e) && _(n.maxDate), i.isAfter(t) && (i = t.clone().subtract(n.stepping, "m")), $(), c
+        }, c.minDate = function (e) {
+            if (0 === arguments.length) return n.minDate ? n.minDate.clone() : n.minDate;
+            if ("boolean" == typeof e && !1 === e) return n.minDate = !1, $(), c;
+            "string" == typeof e && ("now" !== e && "moment" !== e || (e = x()));
+            var t = ae(e);
+            if (!t.isValid()) throw new TypeError("minDate() Could not parse date parameter: " + e);
+            if (n.maxDate && t.isAfter(n.maxDate)) throw new TypeError("minDate() date parameter is after options.maxDate: " + t.format(d));
+            return n.minDate = t, n.useCurrent && !n.keepInvalid && r.isBefore(e) && _(n.minDate), i.isBefore(t) && (i = t.clone().add(n.stepping, "m")), $(), c
+        }, c.defaultDate = function (e) {
+            if (0 === arguments.length) return n.defaultDate ? n.defaultDate.clone() : n.defaultDate;
+            if (!e) return n.defaultDate = !1, c;
+            "string" == typeof e && (e = "now" === e || "moment" === e ? x() : x(e));
+            var t = ae(e);
+            if (!t.isValid()) throw new TypeError("defaultDate() Could not parse date parameter: " + e);
+            if (!N(t)) throw new TypeError("defaultDate() date passed is invalid according to component setup validations");
+            return n.defaultDate = t, (n.defaultDate && n.inline || "" === o.val().trim()) && _(n.defaultDate), c
+        }, c.locale = function (e) {
+            if (0 === arguments.length) return n.locale;
+            if (!t.localeData(e)) throw new TypeError("locale() locale " + e + " is not loaded from moment locales!");
+            return n.locale = e, r.locale(n.locale), i.locale(n.locale), d && fe(), m && (ee(), ie()), c
+        }, c.stepping = function (e) {
+            return 0 === arguments.length ? n.stepping : (e = parseInt(e, 10), (isNaN(e) || e < 1) && (e = 1), n.stepping = e, c)
+        }, c.useCurrent = function (e) {
+            var t = ["year", "month", "day", "hour", "minute"];
+            if (0 === arguments.length) return n.useCurrent;
+            if ("boolean" != typeof e && "string" != typeof e) throw new TypeError("useCurrent() expects a boolean or string parameter");
+            if ("string" == typeof e && -1 === t.indexOf(e.toLowerCase())) throw new TypeError("useCurrent() expects a string parameter of " + t.join(", "));
+            return n.useCurrent = e, c
+        }, c.collapse = function (e) {
+            if (0 === arguments.length) return n.collapse;
+            if ("boolean" != typeof e) throw new TypeError("collapse() expects a boolean parameter");
+            return n.collapse === e ? c : (n.collapse = e, m && (ee(), ie()), c)
+        }, c.icons = function (t) {
+            if (0 === arguments.length) return e.extend({}, n.icons);
+            if (!(t instanceof Object)) throw new TypeError("icons() expects parameter to be an Object");
+            return e.extend(n.icons, t), m && (ee(), ie()), c
+        }, c.tooltips = function (t) {
+            if (0 === arguments.length) return e.extend({}, n.tooltips);
+            if (!(t instanceof Object)) throw new TypeError("tooltips() expects parameter to be an Object");
+            return e.extend(n.tooltips, t), m && (ee(), ie()), c
+        }, c.useStrict = function (e) {
+            if (0 === arguments.length) return n.useStrict;
+            if ("boolean" != typeof e) throw new TypeError("useStrict() expects a boolean parameter");
+            return n.useStrict = e, c
+        }, c.sideBySide = function (e) {
+            if (0 === arguments.length) return n.sideBySide;
+            if ("boolean" != typeof e) throw new TypeError("sideBySide() expects a boolean parameter");
+            return n.sideBySide = e, m && (ee(), ie()), c
+        }, c.viewMode = function (e) {
+            if (0 === arguments.length) return n.viewMode;
+            if ("string" != typeof e) throw new TypeError("viewMode() expects a string parameter");
+            if (-1 === w.indexOf(e)) throw new TypeError("viewMode() parameter must be one of (" + w.join(", ") + ") value");
+            return n.viewMode = e, p = Math.max(w.indexOf(e), h), j(), c
+        }, c.toolbarPlacement = function (e) {
+            if (0 === arguments.length) return n.toolbarPlacement;
+            if ("string" != typeof e) throw new TypeError("toolbarPlacement() expects a string parameter");
+            if (-1 === v.indexOf(e)) throw new TypeError("toolbarPlacement() parameter must be one of (" + v.join(", ") + ") value");
+            return n.toolbarPlacement = e, m && (ee(), ie()), c
+        }, c.widgetPositioning = function (t) {
+            if (0 === arguments.length) return e.extend({}, n.widgetPositioning);
+            if ("[object Object]" !== {}.toString.call(t)) throw new TypeError("widgetPositioning() expects an object variable");
+            if (t.horizontal) {
+                if ("string" != typeof t.horizontal) throw new TypeError("widgetPositioning() horizontal variable must be a string");
+                if (t.horizontal = t.horizontal.toLowerCase(), -1 === g.indexOf(t.horizontal)) throw new TypeError("widgetPositioning() expects horizontal parameter to be one of (" + g.join(", ") + ")");
+                n.widgetPositioning.horizontal = t.horizontal
+            }
+            if (t.vertical) {
+                if ("string" != typeof t.vertical) throw new TypeError("widgetPositioning() vertical variable must be a string");
+                if (t.vertical = t.vertical.toLowerCase(), -1 === b.indexOf(t.vertical)) throw new TypeError("widgetPositioning() expects vertical parameter to be one of (" + b.join(", ") + ")");
+                n.widgetPositioning.vertical = t.vertical
+            }
+            return $(), c
+        }, c.calendarWeeks = function (e) {
+            if (0 === arguments.length) return n.calendarWeeks;
+            if ("boolean" != typeof e) throw new TypeError("calendarWeeks() expects parameter to be a boolean value");
+            return n.calendarWeeks = e, $(), c
+        }, c.showTodayButton = function (e) {
+            if (0 === arguments.length) return n.showTodayButton;
+            if ("boolean" != typeof e) throw new TypeError("showTodayButton() expects a boolean parameter");
+            return n.showTodayButton = e, m && (ee(), ie()), c
+        }, c.showClear = function (e) {
+            if (0 === arguments.length) return n.showClear;
+            if ("boolean" != typeof e) throw new TypeError("showClear() expects a boolean parameter");
+            return n.showClear = e, m && (ee(), ie()), c
+        }, c.widgetParent = function (t) {
+            if (0 === arguments.length) return n.widgetParent;
+            if ("string" == typeof t && (t = e(t)), null !== t && "string" != typeof t && !(t instanceof e)) throw new TypeError("widgetParent() expects a string or a jQuery object parameter");
+            return n.widgetParent = t, m && (ee(), ie()), c
+        }, c.keepOpen = function (e) {
+            if (0 === arguments.length) return n.keepOpen;
+            if ("boolean" != typeof e) throw new TypeError("keepOpen() expects a boolean parameter");
+            return n.keepOpen = e, c
+        }, c.focusOnShow = function (e) {
+            if (0 === arguments.length) return n.focusOnShow;
+            if ("boolean" != typeof e) throw new TypeError("focusOnShow() expects a boolean parameter");
+            return n.focusOnShow = e, c
+        }, c.inline = function (e) {
+            if (0 === arguments.length) return n.inline;
+            if ("boolean" != typeof e) throw new TypeError("inline() expects a boolean parameter");
+            return n.inline = e, c
+        }, c.clear = function () {
+            return te(), c
+        }, c.keyBinds = function (e) {
+            return 0 === arguments.length ? n.keyBinds : (n.keyBinds = e, c)
+        }, c.getMoment = function (e) {
+            return x(e)
+        }, c.debug = function (e) {
+            if ("boolean" != typeof e) throw new TypeError("debug() expects a boolean parameter");
+            return n.debug = e, c
+        }, c.allowInputToggle = function (e) {
+            if (0 === arguments.length) return n.allowInputToggle;
+            if ("boolean" != typeof e) throw new TypeError("allowInputToggle() expects a boolean parameter");
+            return n.allowInputToggle = e, c
+        }, c.showClose = function (e) {
+            if (0 === arguments.length) return n.showClose;
+            if ("boolean" != typeof e) throw new TypeError("showClose() expects a boolean parameter");
+            return n.showClose = e, c
+        }, c.keepInvalid = function (e) {
+            if (0 === arguments.length) return n.keepInvalid;
+            if ("boolean" != typeof e) throw new TypeError("keepInvalid() expects a boolean parameter");
+            return n.keepInvalid = e, c
+        }, c.datepickerInput = function (e) {
+            if (0 === arguments.length) return n.datepickerInput;
+            if ("string" != typeof e) throw new TypeError("datepickerInput() expects a string parameter");
+            return n.datepickerInput = e, c
+        }, c.parseInputDate = function (e) {
+            if (0 === arguments.length) return n.parseInputDate;
+            if ("function" != typeof e) throw new TypeError("parseInputDate() sholud be as function");
+            return n.parseInputDate = e, c
+        }, c.disabledTimeIntervals = function (t) {
+            if (0 === arguments.length) return n.disabledTimeIntervals ? e.extend({}, n.disabledTimeIntervals) : n.disabledTimeIntervals;
+            if (!t) return n.disabledTimeIntervals = !1, $(), c;
+            if (!(t instanceof Array)) throw new TypeError("disabledTimeIntervals() expects an array parameter");
+            return n.disabledTimeIntervals = t, $(), c
+        }, c.disabledHours = function (t) {
+            if (0 === arguments.length) return n.disabledHours ? e.extend({}, n.disabledHours) : n.disabledHours;
+            if (!t) return n.disabledHours = !1, $(), c;
+            if (!(t instanceof Array)) throw new TypeError("disabledHours() expects an array parameter");
+            if (n.disabledHours = ue(t), n.enabledHours = !1, n.useCurrent && !n.keepInvalid) {
+                for (var a = 0; !N(r, "h");) {
+                    if (r.add(1, "h"), 24 === a) throw "Tried 24 times to find a valid date";
+                    a++
+                }
+                _(r)
+            }
+            return $(), c
+        }, c.enabledHours = function (t) {
+            if (0 === arguments.length) return n.enabledHours ? e.extend({}, n.enabledHours) : n.enabledHours;
+            if (!t) return n.enabledHours = !1, $(), c;
+            if (!(t instanceof Array)) throw new TypeError("enabledHours() expects an array parameter");
+            if (n.enabledHours = ue(t), n.disabledHours = !1, n.useCurrent && !n.keepInvalid) {
+                for (var a = 0; !N(r, "h");) {
+                    if (r.add(1, "h"), 24 === a) throw "Tried 24 times to find a valid date";
+                    a++
+                }
+                _(r)
+            }
+            return $(), c
+        }, c.viewDate = function (e) {
+            if (0 === arguments.length) return i.clone();
+            if (!e) return i = r.clone(), c;
+            if (!("string" == typeof e || t.isMoment(e) || e instanceof Date)) throw new TypeError("viewDate() parameter must be one of [string, moment or Date]");
+            return i = ae(e), B(), c
+        }, a.is("input")) o = a;
+        else if (0 === (o = a.find(n.datepickerInput)).length) o = a.find("input");
+        else if (!o.is("input")) throw new Error('CSS class "' + n.datepickerInput + '" cannot be applied to non input element');
+        if (a.hasClass("input-group") && (f = 0 === a.find(".datepickerbutton").length ? a.find(".input-group-text") : a.find(".datepickerbutton")), !n.inline && !o.is("input")) throw new Error("Could not initialize DateTimePicker without an input element");
+        return r = x(), i = r.clone(), e.extend(!0, n, function () {
+            var t, r = {};
+            return (t = a.is("input") || n.inline ? a.data() : a.find("input").data()).dateOptions && t.dateOptions instanceof Object && (r = e.extend(!0, r, t.dateOptions)), e.each(n, function (e) {
+                var a = "date" + e.charAt(0).toUpperCase() + e.slice(1);
+                void 0 !== t[a] && (r[e] = t[a])
+            }), r
+        }()), c.options(n), fe(), o.on({
+            change: le,
+            blur: n.debug ? "" : ee,
+            keydown: se,
+            keyup: de,
+            focus: n.allowInputToggle ? ie : ""
+        }), a.is("input") ? o.on({
+            focus: ie
+        }) : f && (f.on("click", oe), f.on("mousedown", !1)), o.prop("disabled") && c.disable(), o.is("input") && 0 !== o.val().trim().length ? _(ae(o.val().trim())) : n.defaultDate && void 0 === o.attr("placeholder") && _(n.defaultDate), n.inline && ie(), c
+    };
+    return e.fn.datetimepicker = function (t) {
+        t = t || {};
+        var n, r = Array.prototype.slice.call(arguments, 1),
+            i = !0,
+            o = ["destroy", "hide", "show", "toggle"];
+        if ("object" == typeof t) return this.each(function () {
+            var n, r = e(this);
+            r.data("DateTimePicker") || (n = e.extend(!0, {}, e.fn.datetimepicker.defaults, t), r.data("DateTimePicker", a(r, n)))
+        });
+        if ("string" == typeof t) return this.each(function () {
+            var a = e(this).data("DateTimePicker");
+            if (!a) throw new Error('bootstrap-datetimepicker("' + t + '") method was called on an element that is not using DateTimePicker');
+            n = a[t].apply(a, r), i = n === a
+        }), i || e.inArray(t, o) > -1 ? this : n;
+        throw new TypeError("Invalid arguments for DateTimePicker: " + t)
+    }, e.fn.datetimepicker.defaults = {
+        timeZone: "",
+        format: !1,
+        dayViewHeaderFormat: "MMMM YYYY",
+        extraFormats: !1,
+        stepping: 1,
+        minDate: !1,
+        maxDate: !1,
+        useCurrent: !0,
+        collapse: !0,
+        locale: t.locale(),
+        defaultDate: !1,
+        disabledDates: !1,
+        enabledDates: !1,
+        icons: {
+            time: "fa fa-clock-o",
+            date: "fa fa-calendar",
+            up: "fa fa-chevron-up",
+            down: "fa fa-chevron-down",
+            previous: "fa fa-chevron-left",
+            next: "fa fa-chevron-right",
+            today: "fa fa-crosshairs",
+            clear: "fa fa-trash-o",
+            close: "fa fa-times"
+        },
+        tooltips: {
+            today: "Go to today",
+            clear: "Clear selection",
+            close: "Close the picker",
+            selectMonth: "Select Month",
+            prevMonth: "Previous Month",
+            nextMonth: "Next Month",
+            selectYear: "Select Year",
+            prevYear: "Previous Year",
+            nextYear: "Next Year",
+            selectDecade: "Select Decade",
+            prevDecade: "Previous Decade",
+            nextDecade: "Next Decade",
+            prevCentury: "Previous Century",
+            nextCentury: "Next Century",
+            pickHour: "Pick Hour",
+            incrementHour: "Increment Hour",
+            decrementHour: "Decrement Hour",
+            pickMinute: "Pick Minute",
+            incrementMinute: "Increment Minute",
+            decrementMinute: "Decrement Minute",
+            pickSecond: "Pick Second",
+            incrementSecond: "Increment Second",
+            decrementSecond: "Decrement Second",
+            togglePeriod: "Toggle Period",
+            selectTime: "Select Time"
+        },
+        useStrict: !1,
+        sideBySide: !1,
+        daysOfWeekDisabled: !1,
+        calendarWeeks: !1,
+        viewMode: "days",
+        toolbarPlacement: "default",
+        showTodayButton: !1,
+        showClear: !1,
+        showClose: !1,
+        widgetPositioning: {
+            horizontal: "auto",
+            vertical: "auto"
+        },
+        widgetParent: null,
+        ignoreReadonly: !1,
+        keepOpen: !1,
+        focusOnShow: !0,
+        inline: !1,
+        keepInvalid: !1,
+        datepickerInput: ".datepickerinput",
+        keyBinds: {
+            up: function (e) {
+                if (e) {
+                    var t = this.date() || this.getMoment();
+                    e.find(".datepicker").is(":visible") ? this.date(t.clone().subtract(7, "d")) : this.date(t.clone().add(this.stepping(), "m"))
+                }
+            },
+            down: function (e) {
+                if (e) {
+                    var t = this.date() || this.getMoment();
+                    e.find(".datepicker").is(":visible") ? this.date(t.clone().add(7, "d")) : this.date(t.clone().subtract(this.stepping(), "m"))
+                } else this.show()
+            },
+            "control up": function (e) {
+                if (e) {
+                    var t = this.date() || this.getMoment();
+                    e.find(".datepicker").is(":visible") ? this.date(t.clone().subtract(1, "y")) : this.date(t.clone().add(1, "h"))
+                }
+            },
+            "control down": function (e) {
+                if (e) {
+                    var t = this.date() || this.getMoment();
+                    e.find(".datepicker").is(":visible") ? this.date(t.clone().add(1, "y")) : this.date(t.clone().subtract(1, "h"))
+                }
+            },
+            left: function (e) {
+                if (e) {
+                    var t = this.date() || this.getMoment();
+                    e.find(".datepicker").is(":visible") && this.date(t.clone().subtract(1, "d"))
+                }
+            },
+            right: function (e) {
+                if (e) {
+                    var t = this.date() || this.getMoment();
+                    e.find(".datepicker").is(":visible") && this.date(t.clone().add(1, "d"))
+                }
+            },
+            pageUp: function (e) {
+                if (e) {
+                    var t = this.date() || this.getMoment();
+                    e.find(".datepicker").is(":visible") && this.date(t.clone().subtract(1, "M"))
+                }
+            },
+            pageDown: function (e) {
+                if (e) {
+                    var t = this.date() || this.getMoment();
+                    e.find(".datepicker").is(":visible") && this.date(t.clone().add(1, "M"))
+                }
+            },
+            enter: function () {
+                this.hide()
+            },
+            escape: function () {
+                this.hide()
+            },
+            "control space": function (e) {
+                e && e.find(".timepicker").is(":visible") && e.find('.btn[data-action="togglePeriod"]').click()
+            },
+            t: function () {
+                this.date(this.getMoment())
+            },
+            delete: function () {
+                this.clear()
+            }
+        },
+        debug: !1,
+        allowInputToggle: !1,
+        disabledTimeIntervals: !1,
+        disabledHours: !1,
+        enabledHours: !1,
+        viewDate: !1
+    }, e.fn.datetimepicker
+});

ファイルの差分が大きいため隠しています
+ 6 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/chart.min.js


ファイルの差分が大きいため隠しています
+ 0 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor.js


+ 2010 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/CHANGES.md

@@ -0,0 +1,2010 @@
+CKEditor 4 Changelog
+====================
+
+## CKEditor 4.16.1
+
+Fixed Issues:
+* [#4617](https://github.com/ckeditor/ckeditor4/issues/4617): Fixed: [Autocomplete](https://ckeditor.com/cke4/addon/autocomplete) is not accessible in inline editors.
+* [#4493](https://github.com/ckeditor/ckeditor4/issues/4493): Fixed: The [drop-down](https://ckeditor.com/cke4/addon/richcombo) label does not reflect the current value of the drop-down.
+* [#1572](https://github.com/ckeditor/ckeditor4/issues/1572): Fixed: A paragraph before or after a [widget](https://ckeditor.com/cke4/addon/widget) cannot be removed. Thanks to [bunglegrind](https://github.com/bunglegrind)!
+* [#4301](https://github.com/ckeditor/ckeditor4/issues/4301): Fixed: Pasted content is overwritten when pasted in an initially empty editor with the [`div` Enter mode](https://ckeditor.com/docs/ckeditor4/latest/features/enterkey.html).
+* [#4351](https://github.com/ckeditor/ckeditor4/issues/4351): Fixed: Incorrect values for RGBA/HSLA colors in [Color Dialog](https://ckeditor.com/cke4/addon/colordialog).
+* [#4509](https://github.com/ckeditor/ckeditor4/issues/4509): Fixed: Incorrect handling of drag & drop inside [widgets](https://ckeditor.com/cke4/addon/widget) and nested editables.
+* [#4611](https://github.com/ckeditor/ckeditor4/issues/4611): [Android, iOS] Fixed: Incorrect hover styles for buttons in the toolbar on mobile devices.
+* [#4652](https://github.com/ckeditor/ckeditor4/issues/4652): Fixed: [Event data](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_eventInfo.html) set to `false` is treated as an event cancelation.
+
+## CKEditor 4.16
+
+**Security Updates:**
+
+* Fixed ReDoS vulnerability in the [Autolink](https://ckeditor.com/cke4/addon/autolink) plugin.
+
+	Issue summary: It was possible to execute a ReDoS-type attack inside CKEditor 4 by persuading a victim to paste a specially crafted URL-like text into the editor and press <kbd>Enter</kbd> or <kbd>Space</kbd>.
+
+* Fixed ReDoS vulnerability in the [Advanced Tab for Dialogs](https://ckeditor.com/cke4/addon/dialogadvtab) plugin.
+
+	Issue summary: It was possible to execute a ReDoS-type attack inside CKEditor 4 by persuading a victim to paste a specially crafted text into the Styles dialog.
+
+**An upgrade is highly recommended!**
+
+New Features:
+
+* [#2800](https://github.com/ckeditor/ckeditor4/issues/2800): Unsupported image formats are now gracefully handled by the [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword) plugin on paste, additionally showing descriptive error messages.
+* [#2800](https://github.com/ckeditor/ckeditor4/issues/2800): Unsupported image formats are now gracefully handled by the [Paste from LibreOffice](https://ckeditor.com/cke4/addon/pastefromlibreoffice) plugin on paste, additionally showing descriptive error messages.
+* [#3582](https://github.com/ckeditor/ckeditor4/issues/3582): Introduced smart positioning of the [Autocomplete](https://ckeditor.com/cke4/addon/autocomplete) panel used by the [Mentions](https://ckeditor.com/cke4/addon/mentions) and [Emoji](https://ckeditor.com/cke4/addon/emoji) plugins. The panel will now be additionally positioned related to the browser viewport to be always fully visible.
+* [#4388](https://github.com/ckeditor/ckeditor4/issues/4388): Added the option to remove an iframe created with the [IFrame Dialog](https://ckeditor.com/cke4/addon/iframe) plugin from the sequential keyboard navigation using the `tabindex` attribute. Thanks to [Timo Kirkkala](https://github.com/kirkkala)!
+
+Fixed Issues:
+
+* [#1134](https://github.com/ckeditor/ckeditor4/issues/1134): [Safari] Fixed: [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword) does not embed images.
+* [#2800](https://github.com/ckeditor/ckeditor4/issues/2800): Fixed: No images are imported from Microsoft Word when the content is pasted via the [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword) plugin if there is at least one image of unsupported format.
+* [#4379](https://github.com/ckeditor/ckeditor4/issues/4379): [Edge] Fixed: Incorrect detection of the [high contrast mode](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_a11y.html#high-contrast-mode).
+* [#4422](https://github.com/ckeditor/ckeditor4/issues/4422): Fixed: Missing space between the button name and the keyboard shortcut inside the button label in the [high contrast mode](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_a11y.html#high-contrast-mode).
+* [#2208](https://github.com/ckeditor/ckeditor4/issues/2208): [IE] Fixed: The [Autolink](https://ckeditor.com/cke4/addon/autolink) plugin duplicates the native browser implementation.
+* [#1824](https://github.com/ckeditor/ckeditor4/issues/1824): Fixed: The [Autolink](https://ckeditor.com/cke4/addon/autolink) plugin should require the [Link](https://ckeditor.com/cke4/addon/link) plugin.
+* [#4253](https://github.com/ckeditor/ckeditor4/issues/4253): Fixed: The [Editor Placeholder](https://ckeditor.com/cke4/addon/editorplaceholder) plugin throws an error during the editor initialization with [`config.fullPage`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-fullPage) enabled when there is no `<body>` tag in the editor content.
+* [#4372](https://github.com/ckeditor/ckeditor4/issues/4372): Fixed: The [Autogrow](https://ckeditor.com/cke4/addon/autogrow) plugin changes the editor's width when used with an absolute [`config.width`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-width) value.
+
+API Changes:
+
+* [#4358](https://github.com/ckeditor/ckeditor4/issues/4358): Introduced the [`CKEDITOR.tools.color`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools_color.html) class which adds colors validation and methods for converting colors between various formats: named colors, HEX, RGB, RGBA, HSL and HSLA.
+* [#3782](https://github.com/ckeditor/ckeditor4/issues/3782): Moved the [`CKEDITOR.plugins.pastetools.filters.word.images`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_pastetools_filters_word_images.html) filters to the [`CKEDITOR.plugins.pastetools.filters.image`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_pastetools_filters_image.html) namespace.
+* [#4297](https://github.com/ckeditor/ckeditor4/issues/4297): All [`CKEDITOR.plugins.pastetools.filters`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_pastetools_filters.html) are now available under the [`CKEDITOR.pasteTools`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.html#property-pasteTools) alias.
+* [#4394](https://github.com/ckeditor/ckeditor4/issues/4394): Introduced [`CKEDITOR.ajax`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_ajax.html) specialized loading methods for loading binary ([`CKEDITOR.ajax.loadBinary()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_ajax.html#method-loadBinary)) and text ([`CKEDITOR.ajax.loadText()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_ajax.html#method-loadText)) data.
+
+Other Changes:
+
+* The [WebSpellChecker](https://ckeditor.com/cke4/addon/wsc) (WSC) plugin is now disabled by default in [Standard and Full presets](https://ckeditor.com/cke4/presets). It can be enabled via [`extraPlugins`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-extraPlugins) configuration option.
+
+## CKEditor 4.15.1
+
+**Security Updates:**
+
+* Fixed XSS vulnerability in the [Color History feature](https://ckeditor.com/docs/ckeditor4/latest/features/colorbutton.html#color-history) reported by [Mark Wade](https://github.com/mark-wade).
+
+	Issue summary: It was possible to execute an XSS-type attack inside CKEditor 4 by persuading a victim to paste a specially crafted HTML code into the [Color Button](https://ckeditor.com/cke4/addon/colorbutton) dialog.
+
+**An upgrade is highly recommended!**
+
+Fixed Issues:
+
+* [#4293](https://github.com/ckeditor/ckeditor4/issues/4293): Fixed: The [`CKEDITOR.inlineAll()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.html#method-inlineAll) method tries to initialize inline editor also on elements with an editor already attached to them.
+* [#3961](https://github.com/ckeditor/ckeditor4/issues/3961): Fixed: The [Table Resize](https://ckeditor.com/cke4/addon/tableresize) plugin prevents editing of merged cells.
+* [#3649](https://github.com/ckeditor/ckeditor4/issues/3649): Fixed: Applying a [block format](https://ckeditor.com/docs/ckeditor4/latest/features/format.html) should remove existing block styles.
+* [#4282](https://github.com/ckeditor/ckeditor4/issues/4282): Fixed: The [script loader](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_scriptLoader.html) does not execute callback for scripts already loaded when called for the second time. Thanks to [Alexander Korotkevich](https://github.com/aldoom)!
+* [#4273](https://github.com/ckeditor/ckeditor4/issues/4273): Fixed: A memory leak in the [`CKEDITOR.domReady()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.html#method-domReady) method connected with not removing `load` event listeners. Thanks to [rohit1](https://github.com/rohit1)!
+* [#1330](https://github.com/ckeditor/ckeditor4/issues/1330): Fixed: Incomplete CSS margin parsing if an `auto` or `0` value is used.
+* [#4286](https://github.com/ckeditor/ckeditor4/issues/4286): Fixed: The [Auto Grow](https://ckeditor.com/cke4/addon/autogrow) plugin causes the editor width to be set to `0` on editor resize.
+* [#848](https://github.com/ckeditor/ckeditor4/issues/848): Fixed: Arabic text not being "bound" correctly when pasting. Thanks to [Thomas Hunkapiller](https://github.com/devoidfury) and [J. Ivan Duarte Rodríguez](https://github.com/jidrone-mbm)!
+
+API Changes:
+
+* [#3649](https://github.com/ckeditor/ckeditor4/issues/3649): Added a new [`stylesRemove`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#event-stylesRemove) editor event.
+
+Other Changes:
+
+* [#4262](https://github.com/ckeditor/ckeditor4/issues/4262): Removed the global reference to the `stylesLoaded` variable. Thanks to [Levi Carter](https://github.com/swiftMessenger)!
+* Updated the [Export to PDF](https://ckeditor.com/cke4/addon/exportpdf) plugin to `1.0.1` version:
+	* Improved external CSS support for [classic editor](https://ckeditor.com/docs/ckeditor4/latest/examples/classic.html) by handling exceptions and displaying convenient [error messages](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_errors.html#exportpdf-stylesheets-incaccessible).
+
+## CKEditor 4.15
+
+New features:
+
+* [#3940](https://github.com/ckeditor/ckeditor4/issues/3940): Introduced the `colorName` property for customizing foreground and background styles in the [Color Button](https://ckeditor.com/cke4/addon/colorbutton) plugin via the [`config.colorButton_foreStyle`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-colorButton_foreStyle) and [`config.colorButton_backStyle`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-colorButton_backStyle) configuration options.
+* [#3793](https://github.com/ckeditor/ckeditor4/issues/3793): Introduced the [Editor Placeholder](https://ckeditor.com/cke4/addon/editorplaceholder) plugin.
+* [#1795](https://github.com/ckeditor/ckeditor4/issues/1795): The colors picked from the [Color Dialog](https://ckeditor.com/cke4/addon/colordialog) are now stored in the [Color Button](https://ckeditor.com/cke4/addon/colorbutton) palette and can be reused easily.
+* [#3783](https://github.com/ckeditor/ckeditor4/issues/3783): The colors used in the document are now displayed as a part of the [Color Button](https://ckeditor.com/cke4/addon/colorbutton) palette.
+
+Fixed Issues:
+
+* [#4060](https://github.com/ckeditor/ckeditor4/issues/4060): Fixed: The content inside a [widget](https://ckeditor.com/cke4/addon/widget) nested editable is escaped twice.
+* [#4183](https://github.com/ckeditor/ckeditor4/issues/4183): [Safari] Fixed: Incorrect image dimensions when using the [Easy Image](https://ckeditor.com/cke4/addon/easyimage) plugin alongside the [IFrame Editing Area](https://ckeditor.com/cke4/addon/wysiwygarea) plugin.
+* [#3693](https://github.com/ckeditor/ckeditor4/issues/3693): Fixed: Incorrect default values for several [Color Button](https://ckeditor.com/cke4/addon/colorbutton) configuration variables in the API documentation.
+* [#3795](https://github.com/ckeditor/ckeditor4/issues/3795): Fixed: Setting the [`config.dataIndentationChars`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-dataIndentationChars) configuration option to an empty string is ignored and replaced by a tab (`\t`) character. Thanks to [Thomas Grinderslev](https://github.com/Znegl)!
+* [#4107](https://github.com/ckeditor/ckeditor4/issues/4107): Fixed: Multiple [Autocomplete](https://ckeditor.com/cke4/addon/autocomplete) instances cause keyboard navigation issues.
+* [#4041](https://github.com/ckeditor/ckeditor4/issues/4041): Fixed: The[`selection.scrollIntoView`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_selection.html#method-scrollIntoView) method throws an error when the editor selection is not set.
+* [#3361](https://github.com/ckeditor/ckeditor4/issues/3361): Fixed: Loading multiple [custom editor configurations](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-customConfig) is prone to a race condition between these.
+* [#4007](https://github.com/ckeditor/ckeditor4/issues/4007): Fixed: Screen readers do not announce the [Rich Combo](https://ckeditor.com/cke4/addon/richcombo) plugin is collapsed or expanded.
+* [#4141](https://github.com/ckeditor/ckeditor4/issues/4141): Fixed: The styles are incorrectly applied when there is a `<select>` element inside the editor.
+
+## CKEditor 4.14.1
+
+Fixed Issues:
+
+* [#2607](https://github.com/ckeditor/ckeditor4/issues/2607): Fixed: The [Emoji](https://ckeditor.com/cke4/addon/emoji) plugin SVG icons file is not loaded in CORS context.
+* [#3866](https://github.com/ckeditor/ckeditor4/issues/3866): Fixed: The [`config.readOnly`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-readOnly) configuration option not considered for startup read-only mode of inline editor.
+* [#3931](https://github.com/ckeditor/ckeditor4/issues/3931): [IE] Fixed: An error is thrown when pasting using the Paste button after accepting the browser Clipboard Access Prompt dialog.
+* [#3938](https://github.com/ckeditor/ckeditor4/issues/3938): Fixed: Cannot navigate the [Autocomplete](https://ckeditor.com/cke4/addon/autocomplete) panel with the keyboard after switching to source mode.
+* [#2823](https://github.com/ckeditor/ckeditor4/issues/2823): [IE] Fixed: Cannot resize the last table column using the [Table Resize](https://ckeditor.com/cke4/addon/tableresize) plugin.
+* [#909](https://github.com/ckeditor/ckeditor4/issues/909): Fixed: The [Table Resize](https://ckeditor.com/cke4/addon/tableresize) plugin does not work when the editor is placed in an absolutely positioned container. Thanks to [Roland Petto](https://github.com/arpi68)!
+* [#1959](https://github.com/ckeditor/ckeditor4/issues/1959): Fixed: The [Table Resize](https://ckeditor.com/cke4/addon/tableresize) plugin does not work in a [maximized](https://ckeditor.com/cke4/addon/maximize) editor when the [Div Editing Area](https://ckeditor.com/cke4/addon/divarea) feature is enabled. Thanks to [Roland Petto](https://github.com/arpi68)!
+* [#3156](https://github.com/ckeditor/ckeditor4/issues/3156): Fixed: [Autolink](https://ckeditor.com/cke4/addon/autolink) [`config.autolink_urlRegex`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-autolink_urlRegex) and [`config.autolink_emailRegex`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-autolink_emailRegex) options are not customizable. Thanks to [Sergiy Dobrovolsky](https://github.com/serggoodwill)!
+* [#624](https://github.com/ckeditor/ckeditor4/issues/624): Fixed: [Notification](https://ckeditor.com/cke4/addon/notification) does not work with the [bottom toolbar location](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-toolbarLocation).
+* [#3000](https://github.com/ckeditor/ckeditor4/issues/3000): Fixed: [Auto Embed](https://ckeditor.com/cke4/addon/autoembed) does not work with the [bottom toolbar location](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-toolbarLocation).
+* [#1883](https://github.com/ckeditor/ckeditor4/issues/1883): Fixed: The [`editor.resize()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-resize) method does not work with CSS units.
+* [#3926](https://github.com/ckeditor/ckeditor4/issues/3926): Fixed: Dragging and dropping a [widget](https://ckeditor.com/cke4/addon/widget) sometimes produces an error.
+* [#4008](https://github.com/ckeditor/ckeditor4/issues/4008): Fixed: [Remove Format](https://ckeditor.com/cke4/addon/removeformat) does not work with a collapsed selection.
+* [#3998](https://github.com/ckeditor/ckeditor4/issues/3998): Fixed: An error is thrown when switching to the [source mode](https://ckeditor.com/cke4/addon/sourcearea) using a custom <kbd>Ctrl</kbd> + <kbd>Enter</kbd> [keystroke](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-setKeystroke) with the [Widget](https://ckeditor.com/cke4/addon/widget) plugin present.
+
+Other Changes:
+
+* Updated [WebSpellChecker](https://ckeditor.com/cke4/addon/wsc) (WSC) and [SpellCheckAsYouType](https://ckeditor.com/cke4/addon/scayt) (SCAYT) plugins:
+	* Fixed: Active [Autocomplete](https://ckeditor.com/cke4/addon/autocomplete) panel causes active suggestions to be unnecessarily checked by the SCAYT spell checking mechanism.
+
+## CKEditor 4.14
+
+**Security Updates:**
+
+* Fixed XSS vulnerability in the HTML data processor reported by [Michał Bentkowski](https://twitter.com/securitymb) of Securitum.
+
+	Issue summary: It was possible to execute XSS inside CKEditor after persuading the victim to: (i) switch CKEditor to source mode, then (ii) paste a specially crafted HTML code, prepared by the attacker, into the opened CKEditor source area, and (iii) switch back to WYSIWYG mode or (i) copy the specially crafted HTML code, prepared by the attacker and (ii) paste it into CKEditor in WYSIWYG mode.
+
+* Fixed XSS vulnerability in the WebSpellChecker Dialog plugin reported by [Pham Van Khanh](https://twitter.com/rskvp93) from Viettel Cyber Security.
+
+	Issue summary: It was possible to execute XSS using CKEditor after persuading the victim to: (i) switch CKEditor to source mode, then (ii) paste a specially crafted HTML code, prepared by the attacker, into the opened CKEditor source area, then (iii) switch back to WYSIWYG mode, and (iv) preview CKEditor content outside CKEditor editable area.
+
+**An upgrade is highly recommended!**
+
+New features:
+
+* [#2374](https://github.com/ckeditor/ckeditor4/issues/2374): Added support for pasting rich content from LibreOffice Writer with the [Paste from LibreOffice](https://ckeditor.com/cke4/addon/pastefromlibreoffice) plugin.
+* [#2583](https://github.com/ckeditor/ckeditor4/issues/2583): Changed [emoji](https://ckeditor.com/cke4/addon/emoji) suggestion box to show the matched emoji name instead of an ID.
+* [#3748](https://github.com/ckeditor/ckeditor4/issues/3748): Improved the [color button](https://ckeditor.com/cke4/addon/colorbutton) state to reflect the selected editor content colors.
+* [#3661](https://github.com/ckeditor/ckeditor4/issues/3661): Improved the [Print](https://ckeditor.com/cke4/addon/print) plugin to respect styling rendered by the [Preview](https://ckeditor.com/cke4/addon/preview) plugin.
+* [#3547](https://github.com/ckeditor/ckeditor4/issues/3547): Active [dialog](https://ckeditor.com/cke4/addon/dialog) tab now has the `aria-selected="true"` attribute.
+* [#3441](https://github.com/ckeditor/ckeditor4/issues/3441): Improved [`widget.getClipboardHtml()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_widget.html#method-getClipboardHtml) support for dragging and dropping multiple [widgets](https://ckeditor.com/cke4/addon/widget).
+
+Fixed Issues:
+
+* [#3587](https://github.com/ckeditor/ckeditor4/issues/3587): [Edge, IE] Fixed: [Widget](https://ckeditor.com/cke4/addon/widget) with form input elements loses focus during typing.
+* [#3705](https://github.com/ckeditor/ckeditor4/issues/3705): [Safari] Fixed: Safari incorrectly removes blocks with the [`editor.extractSelectedHtml()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-extractSelectedHtml) method after selecting all content.
+* [#1306](https://github.com/ckeditor/ckeditor4/issues/1306): Fixed: The [Font](https://ckeditor.com/cke4/addon/font) plugin creates nested HTML `<span>` tags when reapplying the same font multiple times.
+* [#3498](https://github.com/ckeditor/ckeditor4/issues/3498): Fixed: The editor throws an error during the copy operation when a [widget](https://ckeditor.com/cke4/addon/widget) is partially selected.
+* [#2517](https://github.com/ckeditor/ckeditor4/issues/2517): [Chrome, Firefox, Safari] Fixed: Inserting a new image when the selection partially covers an existing [enhanced image](https://ckeditor.com/cke4/addon/image2) widget throws an error.
+* [#3007](https://github.com/ckeditor/ckeditor4/issues/3007): [Chrome, Firefox, Safari] Fixed: Cannot modify the editor content once the selection is released over a [widget](https://ckeditor.com/cke4/addon/widget).
+* [#3698](https://github.com/ckeditor/ckeditor4/issues/3698): Fixed: Cutting the selected text when a [widget](https://ckeditor.com/cke4/addon/widget) is partially selected merges paragraphs.
+
+API Changes:
+
+* [#3387](https://github.com/ckeditor/ckeditor4/issues/3387): Added the [CKEDITOR.ui.richCombo.select()](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_ui_richCombo.html#method-select) method.
+* [#3727](https://github.com/ckeditor/ckeditor4/issues/3727): Added new `textColor` and `bgColor` commands that apply the selected color chosen by the [Color Button](https://ckeditor.com/cke4/addon/colorbutton) plugin.
+* [#3728](https://github.com/ckeditor/ckeditor4/issues/3728): Added new `font` and `fontSize` commands that apply the selected font style chosen by the [Font](https://ckeditor.com/cke4/addon/colorbutton) plugin.
+* [#3842](https://github.com/ckeditor/ckeditor4/issues/3842): Added the [`editor.getSelectedRanges()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-getSelectedRanges) alias.
+* [#3775](https://github.com/ckeditor/ckeditor4/issues/3775): Widget [mask](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_widget.html#property-mask) and [parts](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_widget.html#property-parts) can now be refreshed dynamically via API calls.
+
+## CKEditor 4.13.1
+
+Fixed Issues:
+
+* [#875](https://github.com/ckeditor/ckeditor4/issues/875): Fixed: Pasting inside the editor that contains a table with the [Table Selection](https://ckeditor.com/cke4/addon/tableselection) plugin after selecting all content replaces only the table element instead of the entire content.
+* [#3415](https://github.com/ckeditor/ckeditor4/issues/3415): [Firefox] Fixed: Pasting individual list elements fails. Thanks to [Jack Wickham](https://github.com/jackwickham)!
+* [#3413](https://github.com/ckeditor/ckeditor4/issues/3413): Fixed: Menu items with labels containing double quotes are rendered incorrectly.
+* [#3475](https://github.com/ckeditor/ckeditor4/issues/3475): [Firefox] Fixed: Pasting plain text over existing content fails and throws an error.
+* [#2027](https://github.com/ckeditor/ckeditor4/issues/2027): Fixed: Incorrect email display text after reopening the [Link](https://ckeditor.com/cke4/addon/link) dialog for display names starting with `@`.
+* [#3544](https://github.com/ckeditor/ckeditor4/issues/3544): Fixed: The [Special Characters](https://ckeditor.com/cke4/addon/specialchar) dialog read incorrectly by screen readers due to empty table cells at the end.
+* [#1653](https://github.com/ckeditor/ckeditor4/issues/1653): Fixed: [Balloon Toolbar](https://ckeditor.com/cke4/addon/balloontoolbar) is not repositioned when the editor is scrolled with the [Div Editing Area](https://ckeditor.com/cke4/addon/divarea) feature enabled.
+* [#3559](https://github.com/ckeditor/ckeditor4/issues/3559): Fixed: [Color Dialog](https://ckeditor.com/cke4/addon/colordialog) is incorrectly positioned when used with another dialog.
+* [#3593](https://github.com/ckeditor/ckeditor4/issues/3593): Fixed: Cannot access a text or comment node when replacing an element node with them via [`CKEDITOR.htmlParser.filter`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_htmlParser_filter.html).
+* [#3524](https://github.com/ckeditor/ckeditor4/issues/3524): Fixed: The [Easy Image](https://ckeditor.com/cke4/addon/easyimage) plugin throws an error when any image with an unsupported data type is pasted into the editor.
+* [#3552](https://github.com/ckeditor/ckeditor4/issues/3352): Fixed: Incorrect value of [`CKEDITOR.plugins.widget.repository#selected`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_widget_repository.html#property-selected) after selecting the whole editor content.
+* [#3586](https://github.com/ckeditor/ckeditor4/issues/3586): Fixed: Content pasted from Microsoft Excel is not correctly recognised by the [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword) plugin.
+* [#3585](https://github.com/ckeditor/ckeditor4/issues/3585): [Firefox] Fixed: Microsoft Excel content is pasted as an image.
+* [#3625](https://github.com/ckeditor/ckeditor4/issues/3625): [Firefox] Fixed: Microsoft PowerPoint content is pasted as an image.
+* [#3474](https://github.com/ckeditor/ckeditor4/issues/3474): Fixed: Incorrect focus order after any tab in a [dialog](https://ckeditor.com/cke4/addon/dialog) was clicked.
+* [#3689](https://github.com/ckeditor/ckeditor4/issues/3689): Fixed: Cannot change [dialog](https://ckeditor.com/cke4/addon/dialog) tabs with keyboard arrow keys after focusing any tab with a mouse click.
+
+API Changes:
+
+* [#3634](https://github.com/ckeditor/ckeditor4/issues/3634): Added the [`CKEDITOR.plugins.clipboard.dataTransfer#getTypes()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_clipboard_dataTransfer.html#method-getTypes) method.
+
+## CKEditor 4.13
+
+New Features:
+
+* [#835](https://github.com/ckeditor/ckeditor4/issues/835): Extended support for pasting from external applications:
+   * Added support for pasting rich content from Google Docs with the [Paste from Google Docs](https://ckeditor.com/cke4/addon/pastefromgdocs) plugin.
+   * Added a new [Paste Tools](https://ckeditor.com/cke4/addon/pastetools) plugin for unified paste handling.
+* [#3315](https://github.com/ckeditor/ckeditor4/issues/3315): Added support for strikethrough in the [BBCode](https://ckeditor.com/cke4/addon/bbcode) plugin. Thanks to [Alexander Kahl](https://github.com/akahl-owl)!
+* [#3175](https://github.com/ckeditor/ckeditor4/issues/3175): Introduced selection optimization mechanism for handling incorrect selection behaviors in various browsers:
+    * [#3256](https://github.com/ckeditor/ckeditor4/issues/3256): Triple-clicking in the last table cell and deleting content no longer pulls the content below into the table.
+    * [#3118](https://github.com/ckeditor/ckeditor4/issues/3118): Selecting a paragraph with a triple-click and applying a heading applies the heading only to the selected paragraph.
+    * [#3161](https://github.com/ckeditor/ckeditor4/issues/3161): Double-clicking a `<span>` element containing just one word creates a correct selection including the clicked `<span>` only.
+* [#3359](https://github.com/ckeditor/ckeditor4/issues/3359): Improved [dialog](https://ckeditor.com/cke4/addon/dialog) positioning and behavior when the dialog is resized or moved, or the browser window is resized.
+* [#2227](https://github.com/ckeditor/ckeditor4/issues/2227): Added the [`config.linkDefaultProtocol`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-linkDefaultProtocol) configuration option that allows setting the default URL protocol for the [Link](https://ckeditor.com/cke4/addon/link) plugin dialog.
+* [#3240](https://github.com/ckeditor/ckeditor4/issues/3240): Extended the [`CKEDITOR.plugins.widget#mask`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_widget.html#property-mask) property to allow masking only the specified part of a [widget](https://ckeditor.com/cke4/addon/widget).
+* [#3138](https://github.com/ckeditor/ckeditor4/issues/3138): Added the possibility to use the [`widgetDefinition.getClipboardHtml()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_widget.html#method-getClipboardHtml) method to customize the [widget](https://ckeditor.com/cke4/addon/widget) HTML during copy, cut and drag operations.
+
+Fixed Issues:
+
+* [#808](https://github.com/ckeditor/ckeditor4/issues/808): Fixed: [Widgets](https://ckeditor.com/cke4/addon/widget) and other content disappear on drag and drop in [read-only mode](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_readonly.html).
+* [#3260](https://github.com/ckeditor/ckeditor4/issues/3260): Fixed: [Widget](https://ckeditor.com/cke4/addon/widget) drag handler is visible in [read-only mode](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_readonly.html).
+* [#3261](https://github.com/ckeditor/ckeditor4/issues/3261): Fixed: A [widget](https://ckeditor.com/cke4/addon/widget) initialized using the dialog has an incorrect owner document.
+* [#3198](https://github.com/ckeditor/ckeditor4/issues/3198): Fixed: Blurring and focusing the editor when a [widget](https://ckeditor.com/cke4/addon/widget) is focused creates an additional undo step.
+* [#2859](https://github.com/ckeditor/ckeditor4/pull/2859): [IE, Edge] Fixed: Various editor UI elements react to right mouse button click:
+	* [#2845](https://github.com/ckeditor/ckeditor4/issues/2845): [Rich Combo](https://ckeditor.com/cke4/addon/richcombo).
+	* [#2857](https://github.com/ckeditor/ckeditor4/issues/2857): [List Block](https://ckeditor.com/cke4/addon/listblock).
+	* [#2858](https://github.com/ckeditor/ckeditor4/issues/2858): [Menu](https://ckeditor.com/cke4/addon/menu).
+* [#3158](https://github.com/ckeditor/ckeditor4/issues/3158): [Chrome, Safari] Fixed: [Undo](https://ckeditor.com/cke4/addon/undo) plugin breaks with the filling character.
+* [#504](https://github.com/ckeditor/ckeditor4/issues/504): [Edge] Fixed: The editor's selection is collapsed to the beginning of the content when focusing the editor for the first time.
+* [#3101](https://github.com/ckeditor/ckeditor4/issues/3101): Fixed: [`CKEDITOR.dom.range#_getTableElement()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_range.html#method-_getTableElement) returns `null` instead of a table element for edge cases.
+* [#3287](https://github.com/ckeditor/ckeditor4/issues/3287): Fixed: [`CKEDITOR.tools.promise`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools_promise.html) initializes incorrectly if an AMD loader is present.
+* [#3379](https://github.com/ckeditor/ckeditor4/issues/3379): Fixed: Incorrect [`CKEDITOR.editor#getData()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-getData) call when inserting content into the editor.
+* [#941](https://github.com/ckeditor/ckeditor4/issues/941): Fixed: An error is thrown after styling a table cell text selected using the native selection when the [Table Selection](https://ckeditor.com/cke4/addon/tableselection) plugin is enabled.
+* [#3136](https://github.com/ckeditor/ckeditor4/issues/3136): [Firefox] Fixed: Clicking [Balloon Toolbar](https://ckeditor.com/cke4/addon/balloontoolbar) items removes the native table selection.
+* [#3381](https://github.com/ckeditor/ckeditor4/issues/3381): [IE8] Fixed: The [`CKEDITOR.tools.object.keys()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools_object.html#method-keys) method does not accept non-objects.
+* [#2395](https://github.com/ckeditor/ckeditor4/issues/2395): [Android] Fixed: Focused input in a [dialog](https://ckeditor.com/cke4/addon/dialog) is scrolled out of the viewport when the soft keyboard appears.
+* [#453](https://github.com/ckeditor/ckeditor4/issues/453): Fixed: [Link](https://ckeditor.com/cke4/addon/link) dialog has an invalid width when the editor is maximized and the browser window is resized.
+* [#2138](https://github.com/ckeditor/ckeditor4/issues/2138): Fixed: An email address containing a question mark is mishandled by the [Link](https://ckeditor.com/cke4/addon/link) plugin.
+* [#14613](https://dev.ckeditor.com/ticket/14613): Fixed: Race condition when loading plugins for an already destroyed editor instance throws an error.
+* [#2257](https://github.com/ckeditor/ckeditor4/issues/2257): Fixed: The editor throws an exception when destroyed shortly after it was created.
+* [#3115](https://github.com/ckeditor/ckeditor4/issues/3115): Fixed: Destroying the editor during the initialization throws an error.
+* [#3354](https://github.com/ckeditor/ckeditor4/issues/3354): [iOS] Fixed: Pasting no longer works on iOS version 13.
+* [#3423](https://github.com/ckeditor/ckeditor4/issues/3423) Fixed: [Bookmarks](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_range.html#method-createBookmark) can be created inside temporary elements.
+
+API Changes:
+
+* [#3154](https://github.com/ckeditor/ckeditor4/issues/3154): Added the [`CKEDITOR.tools.array.some()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools_array.html#method-some) method.
+* [#3245](https://github.com/ckeditor/ckeditor4/issues/3245): Added the [`CKEDITOR.plugins.undo.UndoManager.addFilterRule()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_undo_UndoManager.html#method-addFilterRule) method that allows filtering undo snapshot contents.
+* [#2845](https://github.com/ckeditor/ckeditor4/issues/2845): Added the [`CKEDITOR.tools.normalizeMouseButton()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools.html#method-normalizeMouseButton) method.
+* [#2975](https://github.com/ckeditor/ckeditor4/issues/2975): Added the [`CKEDITOR.dom.element#fireEventHandler()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_element.html#method-fireEventHandler) method.
+* [#3247](https://github.com/ckeditor/ckeditor4/issues/3247): Extended the [`CKEDITOR.tools.bind()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools.html#method-bind) method to accept arguments for bound functions.
+* [#3326](https://github.com/ckeditor/ckeditor4/issues/3326): Added the [`CKEDITOR.dom.text#isEmpty()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_text.html#method-isEmpty) method.
+* [#2423](https://github.com/ckeditor/ckeditor4/issues/2423): Added the [`CKEDITOR.plugins.dialog.getModel()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dialog.html#method-getModel) and [`CKEDITOR.plugins.dialog.getMode()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dialog.html#method-getMode) methods with their [`CKEDITOR.plugin.definition`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dialog_definition.html) counterparts, allowing to get the dialog subject of a change.
+* [#3124](https://github.com/ckeditor/ckeditor4/issues/3124): Added the [`CKEDITOR.dom.element#isDetached()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_element.html#method-isDetached) method.
+
+## CKEditor 4.12.1
+
+Fixed Issues:
+
+* [#3220](https://github.com/ckeditor/ckeditor4/issues/3220): Fixed: Prevent [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword) filter from deleting [Page Break](https://ckeditor.com/cke4/addon/pagebreak) elements on paste.
+
+## CKEditor 4.12
+
+New Features:
+
+* [#2598](https://github.com/ckeditor/ckeditor4/issues/2598): Added the [Page Break](https://ckeditor.com/cke4/addon/pagebreak) feature support for the [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword) plugin.
+* [#1490](https://github.com/ckeditor/ckeditor4/issues/1490): Improved the [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword) plugin to retain table cell borders.
+* [#2870](https://github.com/ckeditor/ckeditor4/issues/2870): Improved support for preserving the indentation of list items for nested lists pasted with the [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword) plugin.
+* [#2048](https://github.com/ckeditor/ckeditor4/issues/2048): New [`CKEDITOR.config.image2_maxSize`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-image2_maxSize) configuration option for the [Enhanced Image](https://ckeditor.com/cke4/addon/image2) plugin that allows setting a maximum size that an image can be resized to with the resizer.
+* [#2639](https://github.com/ckeditor/ckeditor4/issues/2639): The [Color Dialog](https://ckeditor.com/cke4/addon/colordialog) plugin now shows the current selection's color when opened.
+* [#2084](https://github.com/ckeditor/ckeditor4/issues/2084): The [Table Tools](https://ckeditor.com/cke4/addon/tabletools) plugin now allows to change the cell height unit type to either pixels or percent.
+* [#3164](https://github.com/ckeditor/ckeditor4/issues/3164): The [Table Tools](https://ckeditor.com/cke4/addon/tabletools) plugin now accepts floating point values as the table cell width and height.
+
+Fixed Issues:
+
+* [#2672](https://github.com/ckeditor/ckeditor4/issues/2672): Fixed: When resizing an [Enhanced Image](https://ckeditor.com/cke4/addon/image2) to a minimum size with the resizer, the image dialog does not show actual values.
+* [#1478](https://github.com/ckeditor/ckeditor4/issues/1478): Fixed: Custom colors added to [Color Button](https://ckeditor.com/cke4/addon/colorbutton) with the [`config.colorButton_colors`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-colorButton_colors) configuration option in the form of a label or code do not work correctly.
+* [#1469](https://github.com/ckeditor/ckeditor4/issues/1469): Fixed: Trying to get data from a nested editable inside a freshly pasted widget throws an error.
+* [#2235](https://github.com/ckeditor/ckeditor4/issues/2235): Fixed: An [Image](https://ckeditor.com/cke4/addon/image) in a table cell has an empty URL field when edited from the context menu opened by right-click when the [Table Selection](https://ckeditor.com/cke4/addon/tableselection) plugin is in use.
+* [#3098](https://github.com/ckeditor/ckeditor4/issues/3098): Fixed: Unit pickers for table cell width and height in the [Table Tools](https://ckeditor.com/cke4/addon/tabletools) plugin have a different width.
+* [#2923](https://github.com/ckeditor/ckeditor4/issues/2923): Fixed: The CSS `windowtext` color is not correctly recognized by the [`CKEDITOR.tools.style.parse`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools_style_parse.html) methods.
+* [#3120](https://github.com/ckeditor/ckeditor4/issues/3120): [IE8] Fixed: The [`CKEDITOR.tools.extend()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tool.html#method-extend) method does not work with the [`DontEnum`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Properties) object property attribute.
+* [#2813](https://github.com/ckeditor/ckeditor4/issues/2813): Fixed: Editor HTML insertion methods ([`editor.insertHtml()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-insertHtml), [`editor.insertHtmlIntoRange()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-insertHtmlIntoRange), [`editor.insertElement()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-insertElement) and [`editor.insertElementIntoRange()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-insertElementIntoRange)) pollute the editable with empty `<span>` elements.
+* [#2751](https://github.com/ckeditor/ckeditor4/issues/2751): Fixed: An editor with [`config.enterMode`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-enterMode) set to [`ENTER_DIV`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.html#property-ENTER_DIV) alters pasted content.
+
+API Changes:
+
+* [#1496](https://github.com/ckeditor/ckeditor4/issues/1496): The [Balloon Toolbar](https://ckeditor.com/cke4/addon/balloontoolbar) plugin exposes the [`CKEDITOR.ui.balloonToolbar.reposition()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_ui_balloonToolbar.html#reposition) and [`CKEDITOR.ui.balloonToolbarView.reposition()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_ui_balloonToolbarView.html#reposition) methods.
+* [#2021](https://github.com/ckeditor/ckeditor4/issues/2021): Added new [`CKEDITOR.dom.documentFragment.find()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_documentFragment.html#method-find) and [`CKEDITOR.dom.documentFragment.findOne()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_documentFragment.html#method-findOne) methods.
+* [#2700](https://github.com/ckeditor/ckeditor4/issues/2700): Added the [`CKEDITOR.tools.array.find()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools_array.html#method-find) method.
+* [#3123](https://github.com/ckeditor/ckeditor4/issues/3123): Added the [`CKEDITOR.tools.object.keys()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools_object.html#method-keys) method.
+* [#3123](https://github.com/ckeditor/ckeditor4/issues/3123): Added the [`CKEDITOR.tools.object.entries()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools_object.html#method-entries) method.
+* [#3123](https://github.com/ckeditor/ckeditor4/issues/3123): Added the [`CKEDITOR.tools.object.values()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools_object.html#method-values) method.
+* [#2821](https://github.com/ckeditor/ckeditor4/issues/2821): The [`CKEDITOR.template#source`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_template.html#property-source) property can now be a function, so it can return the changed template values during the runtime. Thanks to [Jacek Pulit](https://github.com/jacek-pulit)!
+* [#2598](https://github.com/ckeditor/ckeditor4/issues/2598): Added the [`CKEDITOR.plugins.pagebreak.createElement()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_pagebreak.html#method-createElement) method allowing to create a [Page Break](https://ckeditor.com/cke4/addon/pagebreak) plugin [`CKEDITOR.dom.element`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_element.html) instance.
+* [#2748](https://github.com/ckeditor/ckeditor4/issues/2748): Enhanced error messages thrown when creating an editor on a non-existent element or when trying to instantiate the second editor on the same element. Thanks to [Byran Zaugg](https://github.com/blzaugg)!
+* [#2698](https://github.com/ckeditor/ckeditor4/issues/2698): Added the [`CKEDITOR.htmlParser.element.findOne()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_htmlParser_element.html#method-findOne) method.
+* [#2935](https://github.com/ckeditor/ckeditor4/issues/2935): Introduced the [`CKEDITOR.config.pasteFromWord_keepZeroMargins`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-pasteFromWord_keepZeroMargins) configuration option that allows for keeping any `margin-*: 0` style that would be otherwise removed when pasting content with the [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword) plugin.
+* [#2962](https://github.com/ckeditor/ckeditor4/issues/2962): Added the [`CKEDITOR.tools.promise`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools_promise.html) class.
+* [#2924](https://github.com/ckeditor/ckeditor4/issues/2924): Added the [`CKEDITOR.tools.style.border`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools_style_border.html) object wrapping CSS border style helpers under a single type.
+* [#2495](https://github.com/ckeditor/ckeditor4/issues/2495): The [Table Selection](https://ckeditor.com/cke4/addon/tableselection) plugin can now be disabled for the given table with the `data-cke-tableselection-ignored` attribute.
+* [#2692](https://github.com/ckeditor/ckeditor4/issues/2692): Plugins can now expose information about the supported environment by implementing the [`pluginDefinition.isSupportedEnvironment()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_pluginDefinition.html#method-isSupportedEnvironment) method.
+
+Other Changes:
+
+* [#2741](https://github.com/ckeditor/ckeditor4/issues/2741): Replaced deprecated `arguments.callee` calls with named function expressions to allow the editor to work in strict mode.
+* [#2924](https://github.com/ckeditor/ckeditor4/issues/2924): Marked [`CKEDITOR.tools.style.parse.border()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools_style_parse.html#method-border) as deprecated in favor of the [`CKEDITOR.tools.style.border.fromCssRule()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools_style_border.html#static-method-fromCssRule) method.
+* [#3132](https://github.com/ckeditor/ckeditor4/issues/2924): Marked [`CKEDITOR.tools.objectKeys()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools.html#method-objectKeys) as deprecated in favor of the [`CKEDITOR.tools.object.keys()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools_object.html#method-keys) method.
+
+## CKEditor 4.11.4
+
+Fixed Issues:
+
+* [#589](https://github.com/ckeditor/ckeditor4/issues/589): Fixed: The editor causes memory leaks in create and destroy cycles.
+* [#1397](https://github.com/ckeditor/ckeditor4/issues/1397): Fixed: Using the dialog to remove headers from a [table](https://ckeditor.com/cke4/addon/table) with one header row only throws an error.
+* [#1479](https://github.com/ckeditor/ckeditor4/issues/1479): Fixed: [Justification](https://ckeditor.com/cke4/addon/justify) for styled content in BR mode is disabled.
+* [#2816](https://github.com/ckeditor/ckeditor4/issues/2816): Fixed: [Enhanced Image](https://ckeditor.com/cke4/addon/image2) resize handler is visible in [read-only mode](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_readonly.html).
+* [#2874](https://github.com/ckeditor/ckeditor4/issues/2874): Fixed: [Enhanced Image](https://ckeditor.com/cke4/addon/image2) resize handler is not created when the editor is initialized in [read-only mode](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_readonly.html).
+* [#2775](https://github.com/ckeditor/ckeditor4/issues/2775): Fixed: [Clipboard](https://ckeditor.com/cke4/addon/clipboard) paste buttons have wrong state when [read-only](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_readonly.html) mode is set by the mouse event listener with the [Div Editing Area](https://ckeditor.com/cke4/addon/divarea) plugin.
+* [#1901](https://github.com/ckeditor/ckeditor4/issues/1901): Fixed: Cannot open the context menu over a [Widget](https://ckeditor.com/cke4/addon/widget) with the <kbd>Shift</kbd>+<kbd>F10</kbd> keyboard shortcut.
+
+Other Changes:
+
+* Updated [WebSpellChecker](https://ckeditor.com/cke4/addon/wsc) (WSC) and [SpellCheckAsYouType](https://ckeditor.com/cke4/addon/scayt) (SCAYT) plugins:
+	* Language dictionary update: German language was extended with over 600k new words.
+	* Language dictionary update: Swedish language was extended with over 300k new words.
+	* Grammar support added for Australian and New Zealand English, Polish, Slovak, Slovenian and Austrian languages.
+	* Changed wavy red and green lines that underline spelling and grammar errors to straight ones.
+	* [#55](https://github.com/WebSpellChecker/ckeditor-plugin-wsc/issues/55): Fixed: WSC does not use [`CKEDITOR.getUrl()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.html#method-getUrl) when referencing style sheets.
+	* [#166](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/166): Fixed: SCAYT does not use [`CKEDITOR.getUrl()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.html#method-getUrl) when referencing style sheets.
+	* [#56](https://github.com/WebSpellChecker/ckeditor-plugin-wsc/issues/56): [Chrome] Fixed: SCAYT/WSC throws errors when running inside a  Chrome extension.
+	* Fixed: After removing a dictionary, the words are not underlined and considered as incorrect.
+	* Fixed: The Slovenian (`sl_SL`) language does not work.
+	* Fixed: Quotes with code `U+2019` (Right single quotation mark) are considered separators.
+	* Fixed: Wrong error message formatting when the service ID is invalid.
+	* Fixed: Absent languages in the Languages tab when using SCAYT with the [Shared Spaces](https://ckeditor.com/cke4/addon/sharedspace) plugin.
+
+## CKEditor 4.11.3
+
+Fixed Issues:
+
+* [#2721](https://github.com/ckeditor/ckeditor4/issues/2721), [#487](https://github.com/ckeditor/ckeditor4/issues/487): Fixed: The order of sublist items is reversed when a higher level list item is removed.
+* [#2527](https://github.com/ckeditor/ckeditor4/issues/2527): Fixed: [Emoji](https://ckeditor.com/cke4/addon/emoji) autocomplete order does not prioritize emojis with the name starting from the used string.
+* [#2572](https://github.com/ckeditor/ckeditor4/issues/2572): Fixed: Icons in the [Emoji](https://ckeditor.com/cke4/addon/emoji) dropdown navigation groups are not centered.
+* [#1191](https://github.com/ckeditor/ckeditor4/issues/1191): Fixed: Items in the [elements path](https://ckeditor.com/cke4/addon/elementspath) are draggable.
+* [#2292](https://github.com/ckeditor/ckeditor4/issues/2292): Fixed: Dropping a list with a link on the editor's margin causes a console error and removes the dragged text from editor.
+* [#2756](https://github.com/ckeditor/ckeditor4/issues/2756): Fixed: The [Auto Link](https://ckeditor.com/cke4/addon/autolink) plugin causes an error when typing in the [source editing mode](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_sourcearea.html).
+* [#1986](https://github.com/ckeditor/ckeditor4/issues/1986): Fixed: The Cell Properties dialog from the [Table Tools](https://ckeditor.com/cke4/addon/tabletools) plugin shows styles that are not allowed through [`config.allowedContent`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-allowedContent).
+* [#2565](https://github.com/ckeditor/ckeditor4/issues/2565): [IE, Edge] Fixed: Buttons in the [editor toolbar](https://ckeditor.com/cke4/addon/toolbar) are activated by clicking them with the right mouse button.
+* [#2792](https://github.com/ckeditor/ckeditor4/pull/2792): Fixed: A bug in the [Copy Formatting](https://ckeditor.com/cke4/addon/copyformatting) plugin that caused the following issues:
+    * [#2780](https://github.com/ckeditor/ckeditor4/issues/2780): Fixed: Undo steps disappear after multiple changes of selection.
+    * [#2470](https://github.com/ckeditor/ckeditor4/issues/2470): [Firefox] Fixed: Widget's nested editable gets blurred upon focus.
+    * [#2655](https://github.com/ckeditor/ckeditor4/issues/2655): [Chrome, Safari] Fixed: Widget's nested editable cannot be focused under certain circumstances.
+
+## CKEditor 4.11.2
+
+Fixed Issues:
+
+* [#2403](https://github.com/ckeditor/ckeditor4/issues/2403): Fixed: Styling inline editor initialized inside a table with the [Table Selection](https://ckeditor.com/cke4/addon/tableselection) plugin is causing style leaks.
+* [#2514](https://github.com/ckeditor/ckeditor4/issues/2403): Fixed: Pasting table data into inline editor initialized inside a table with the [Table Selection](https://ckeditor.com/cke4/addon/tableselection) plugin inserts pasted content into the wrapping table.
+* [#2451](https://github.com/ckeditor/ckeditor4/issues/2451): Fixed: The [Remove Format](https://ckeditor.com/cke4/addon/removeformat) plugin changes selection.
+* [#2546](https://github.com/ckeditor/ckeditor4/issues/2546): Fixed: The separator in the toolbar moves when buttons are focused.
+* [#2506](https://github.com/ckeditor/ckeditor4/issues/2506): Fixed: [Enhanced Image](https://ckeditor.com/cke4/addon/image2) throws a type error when an empty `<figure>` tag with an `image` class is upcasted.
+* [#2650](https://github.com/ckeditor/ckeditor4/issues/2650): Fixed: [Table](https://ckeditor.com/cke4/addon/table) dialog validator fails when the `getValue()` function is defined in the global scope.
+* [#2690](https://github.com/ckeditor/ckeditor4/issues/2690): Fixed: Decimal characters are removed from the inside of numbered lists when pasting content using the [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword) plugin.
+* [#2205](https://github.com/ckeditor/ckeditor4/issues/2205): Fixed: It is not possible to add new list items under an item containing a block element.
+* [#2411](https://github.com/ckeditor/ckeditor4/issues/2411), [#2438](https://github.com/ckeditor/ckeditor4/issues/2438) Fixed: Apply numbered list option throws a console error for a specific markup.
+* [#2430](https://github.com/ckeditor/ckeditor4/issues/2430) Fixed: [Color Button](https://ckeditor.com/cke4/addon/colorbutton) and [List Block](https://ckeditor.com/cke4/addon/listblock) items are draggable.
+
+Other Changes:
+
+* Updated the [WebSpellChecker](https://ckeditor.com/cke4/addon/wsc) (WSC) plugin:
+	* [#52](https://github.com/WebSpellChecker/ckeditor-plugin-wsc/issues/52) Fixed: Clicking "Finish Checking" without a prior action would hang the Spell Checking dialog.
+* [#2603](https://github.com/ckeditor/ckeditor4/issues/2603): Corrected the GPL license entry in the `package.json` file.
+
+## CKEditor 4.11.1
+
+Fixed Issues:
+
+* [#2571](https://github.com/ckeditor/ckeditor4/issues/2571): Fixed: Clicking the categories in the [Emoji](https://ckeditor.com/cke4/addon/emoji) dropdown panel scrolls the entire page.
+
+## CKEditor 4.11
+
+**Security Updates:**
+
+* Fixed XSS vulnerability in the HTML parser reported by [maxarr](https://hackerone.com/maxarr).
+
+	Issue summary: It was possible to execute XSS inside CKEditor after persuading the victim to: (i) switch CKEditor to source mode, then (ii) paste a specially crafted HTML code, prepared by the attacker, into the opened CKEditor source area, and (iii) switch back to WYSIWYG mode.
+
+**An upgrade is highly recommended!**
+
+New Features:
+
+* [#2062](https://github.com/ckeditor/ckeditor4/pull/2062): Added the emoji dropdown that allows the user to choose the emoji from the toolbar and search for them using keywords.
+* [#2154](https://github.com/ckeditor/ckeditor4/issues/2154): The [Link](https://ckeditor.com/cke4/addon/link) plugin now supports phone number links.
+* [#1815](https://github.com/ckeditor/ckeditor4/issues/1815): The [Auto Link](https://ckeditor.com/cke4/addon/autolink) plugin supports typing link completion.
+* [#2478](https://github.com/ckeditor/ckeditor4/issues/2478): [Link](https://ckeditor.com/cke4/addon/link) can be inserted using the <kbd>Ctrl</kbd>/<kbd>Cmd</kbd> + <kbd>K</kbd> keystroke.
+* [#651](https://github.com/ckeditor/ckeditor4/issues/651): Text pasted using the [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword) plugin preserves indentation in paragraphs.
+* [#2248](https://github.com/ckeditor/ckeditor4/issues/2248): Added support for justification in the [BBCode](https://ckeditor.com/cke4/addon/bbcode) plugin. Thanks to [Matěj Kmínek](https://github.com/KminekMatej)!
+* [#706](https://github.com/ckeditor/ckeditor4/issues/706): Added a different cursor style when selecting cells for the [Table Selection](https://ckeditor.com/cke4/addon/tableselection) plugin.
+* [#2072](https://github.com/ckeditor/ckeditor4/issues/2072): The [UI Button](https://ckeditor.com/cke4/addon/button) plugin supports custom `aria-haspopup` property values. The [Menu Button](https://ckeditor.com/cke4/addon/menubutton) `aria-haspopup` value is now `menu`, the [Panel Button](https://ckeditor.com/cke4/addon/panelbutton) and [Rich Combo](https://ckeditor.com/cke4/addon/richcombo) `aria-haspopup` value is now `listbox`.
+* [#1176](https://github.com/ckeditor/ckeditor4/pull/1176): The [Balloon Panel](https://ckeditor.com/cke4/addon/balloonpanel) can now be attached to a selection instead of an element.
+* [#2202](https://github.com/ckeditor/ckeditor4/issues/2202): Added the `contextmenu_contentsCss` configuration option to allow adding custom CSS to the [Context Menu](https://ckeditor.com/cke4/addon/contextmenu).
+
+Fixed Issues:
+
+* [#1477](https://github.com/ckeditor/ckeditor4/issues/1477): Fixed: On destroy, [Balloon Toolbar](https://ckeditor.com/cke4/addon/balloontoolbar) does not destroy its content.
+* [#2394](https://github.com/ckeditor/ckeditor4/issues/2394): Fixed: [Emoji](https://ckeditor.com/cke4/addon/emoji) dropdown does not show up with repeated symbols in a single line.
+* [#1181](https://github.com/ckeditor/ckeditor4/issues/1181): [Chrome] Fixed: Opening the context menu in a read-only editor results in an error.
+* [#2276](https://github.com/ckeditor/ckeditor4/issues/2276): [iOS] Fixed: [Button](https://ckeditor.com/cke4/addon/button) state does not refresh properly.
+* [#1489](https://github.com/ckeditor/ckeditor4/issues/1489): Fixed: Table contents can be removed in read-only mode when the [Table Selection](https://ckeditor.com/cke4/addon/tableselection) plugin is used.
+* [#1264](https://github.com/ckeditor/ckeditor4/issues/1264) Fixed: Right-click does not clear the selection created with the [Table Selection](https://ckeditor.com/cke4/addon/tableselection) plugin.
+* [#586](https://github.com/ckeditor/ckeditor4/issues/586) Fixed: The `required` attribute is not correctly recognized by the [Form Elements](https://ckeditor.com/cke4/addon/forms) plugin dialog. Thanks to [Roli Züger](https://github.com/rzueger)!
+* [#2380](https://github.com/ckeditor/ckeditor4/issues/2380) Fixed: Styling HTML comments in a top-level element results in extra paragraphs.
+* [#2294](https://github.com/ckeditor/ckeditor4/issues/2294) Fixed: Pasting content from Microsoft Outlook and then bolding it results in an error.
+* [#2035](https://github.com/ckeditor/ckeditor4/issues/2035) [Edge] Fixed: `Permission denied` is thrown when opening a [Panel](https://ckeditor.com/cke4/addon/panel) instance.
+* [#965](https://github.com/ckeditor/ckeditor4/issues/965) Fixed: The [`config.forceSimpleAmpersand`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-forceSimpleAmpersand) option does not work. Thanks to [Alex Maris](https://github.com/alexmaris)!
+* [#2448](https://github.com/ckeditor/ckeditor4/issues/2448): Fixed: The [`Escape HTML Entities`] plugin with custom [additional entities](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-entities_additional) configuration breaks HTML escaping.
+* [#898](https://github.com/ckeditor/ckeditor4/issues/898): Fixed: [Enhanced Image](https://ckeditor.com/cke4/addon/image2) long alternative text protrudes into the editor when the image is selected.
+* [#1113](https://github.com/ckeditor/ckeditor4/issues/1113): [Firefox] Fixed: Nested contenteditable elements path is not updated on focus with the [Div Editing Area](https://ckeditor.com/cke4/addon/divarea) plugin.
+* [#1682](https://github.com/ckeditor/ckeditor4/issues/1682) Fixed: Hovering the [Balloon Toolbar](https://ckeditor.com/cke4/addon/balloontoolbar) panel changes its size, causing flickering.
+* [#421](https://github.com/ckeditor/ckeditor4/issues/421) Fixed: Expandable [Button](https://ckeditor.com/cke4/addon/button) puts the `(Selected)` text at the end of the label when clicked.
+* [#1454](https://github.com/ckeditor/ckeditor4/issues/1454): Fixed: The [`onAbort`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_fileTools_uploadWidgetDefinition.html#property-onAbort) method of the [Upload Widget](https://ckeditor.com/cke4/addon/uploadwidget) is not called when the loader is aborted.
+* [#1451](https://github.com/ckeditor/ckeditor4/issues/1451): Fixed: The context menu is incorrectly positioned when opened with <kbd>Shift</kbd>+<kbd>F10</kbd>.
+* [#1722](https://github.com/ckeditor/ckeditor4/issues/1722): [`CKEDITOR.filter.instances`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_filter.html#static-property-instances) is causing memory leaks.
+* [#2491](https://github.com/ckeditor/ckeditor4/issues/2491): Fixed: The [Mentions](https://ckeditor.com/cke4/addon/mentions) plugin is not matching diacritic characters.
+* [#2519](https://github.com/ckeditor/ckeditor4/issues/2519): Fixed: The [Accessibility Help](https://ckeditor.com/cke4/addon/a11yhelp) dialog should display all available keystrokes for a single command.
+
+API Changes:
+
+* [#2453](https://github.com/ckeditor/ckeditor4/issues/2453): The [`CKEDITOR.ui.panel.block.getItems`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_ui_panel_block.html#method-getItems) method now also returns `input` elements in addition to links.
+* [#2224](https://github.com/ckeditor/ckeditor4/issues/2224):  The [`CKEDITOR.tools.convertToPx`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools.html#method-convertToPx) function now converts negative values.
+* [#2253](https://github.com/ckeditor/ckeditor4/issues/2253): The widget definition [`insert`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_widget_definition.html#property-insert) method now passes `editor` and `commandData`. Thanks to [marcparmet](https://github.com/marcparmet)!
+* [#2045](https://github.com/ckeditor/ckeditor4/issues/2045): Extracted [`tools.eventsBuffer`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools.html#method-eventsBuffer) and [`tools.throttle`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools.html#method-throttle) functions logic into a separate namespace.
+	* [`tools.eventsBuffer`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools.html#method-eventsBuffer) was extracted into [`tools.buffers.event`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools_buffers_event.html),
+	* [`tools.throttle`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools.html#method-throttle) was extracted into [`tools.buffers.throttle`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools_buffers_throttle.html).
+* [#2466](https://github.com/ckeditor/ckeditor4/issues/2466):  The [`CKEDITOR.filter`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools.html#method-constructor) constructor accepts an additional `rules` parameter allowing to bind the editor and filter together.
+* [#2493](https://github.com/ckeditor/ckeditor4/issues/2493):  The [`editor.getCommandKeystroke`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-getCommandKeystroke) method accepts an additional `all` parameter allowing to retrieve an array of all command keystrokes.
+* [#2483](https://github.com/ckeditor/ckeditor4/issues/2483): Button's DOM element created with the [`hasArrow`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_ui.html#method-addButton) definition option can by identified by the `.cke_button_expandable` CSS class.
+
+Other Changes:
+
+* [#1713](https://github.com/ckeditor/ckeditor4/issues/1713): Removed the redundant `lang.title` entry from the [Clipboard](https://ckeditor.com/cke4/addon/clipboard) plugin.
+
+## CKEditor 4.10.1
+
+Fixed Issues:
+
+* [#2114](https://github.com/ckeditor/ckeditor4/issues/2114): Fixed: [Autocomplete](https://ckeditor.com/cke4/addon/autocomplete) cannot be initialized before [`instanceReady`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#event-instanceReady).
+* [#2107](https://github.com/ckeditor/ckeditor4/issues/2107): Fixed: Holding and releasing the mouse button is not inserting an [autocomplete](https://ckeditor.com/cke4/addon/autocomplete) suggestion.
+* [#2167](https://github.com/ckeditor/ckeditor4/issues/2167): Fixed: Matching in [Emoji](https://ckeditor.com/cke4/addon/emoji) plugin is not case insensitive.
+* [#2195](https://github.com/ckeditor/ckeditor4/issues/2195): Fixed: [Emoji](https://ckeditor.com/cke4/addon/emoji) shows the suggestion box when the colon is preceded with other characters than white space.
+* [#2169](https://github.com/ckeditor/ckeditor4/issues/2169): [Edge] Fixed: Error thrown when pasting into the editor.
+* [#1084](https://github.com/ckeditor/ckeditor4/issues/1084) Fixed: Using the "Automatic" option with [Color Button](https://ckeditor.com/cke4/addon/colorbutton) on a text with the color already defined sets an invalid color value.
+* [#2271](https://github.com/ckeditor/ckeditor4/issues/2271): Fixed: Custom color name not used as a label in the [Color Button](https://ckeditor.com/cke4/addon/image2) plugin. Thanks to [Eric Geloen](https://github.com/egeloen)!
+* [#2296](https://github.com/ckeditor/ckeditor4/issues/2296): Fixed: The [Color Button](https://ckeditor.com/cke4/addon/colorbutton) plugin throws an error when activated on content containing HTML comments.
+* [#966](https://github.com/ckeditor/ckeditor4/issues/966): Fixed: Executing [`editor.destroy()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-destroy) during the [file upload](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_fileTools_uploadWidgetDefinition.html#property-onUploading) throws an error. Thanks to [Maksim Makarevich](https://github.com/MaksimMakarevich)!
+* [#1719](https://github.com/ckeditor/ckeditor4/issues/1719): Fixed: <kbd>Ctrl</kbd>/<kbd>Cmd</kbd> + <kbd>A</kbd> inadvertently focuses inline editor if it is starting and ending with a list. Thanks to [theNailz](https://github.com/theNailz)!
+* [#1046](https://github.com/ckeditor/ckeditor4/issues/1046): Fixed: Subsequent new links do not include the `id` attribute. Thanks to [Nathan Samson](https://github.com/nathansamson)!
+* [#1348](https://github.com/ckeditor/ckeditor4/issues/1348): Fixed: [Enhanced Image](https://ckeditor.com/cke4/addon/image2) plugin aspect ratio locking uses an old width and height on image URL change.
+* [#1791](https://github.com/ckeditor/ckeditor4/issues/1791): Fixed: [Image](https://ckeditor.com/cke4/addon/image) and [Enhanced Image](https://ckeditor.com/cke4/addon/image2) plugins can be enabled when [Easy Image](https://ckeditor.com/cke4/addon/easyimage) is present.
+* [#2254](https://github.com/ckeditor/ckeditor4/issues/2254): Fixed: [Image](https://ckeditor.com/cke4/addon/image) ratio locking is too precise for resized images. Thanks to [Jonathan Gilbert](https://github.com/logiclrd)!
+* [#1184](https://github.com/ckeditor/ckeditor4/issues/1184): [IE8-11] Fixed: Copying and pasting data in [read-only mode](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#property-readOnly) throws an error.
+* [#1916](https://github.com/ckeditor/ckeditor4/issues/1916): [IE9-11] Fixed: Pressing the <kbd>Delete</kbd> key in [read-only mode](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#property-readOnly) throws an error.
+* [#2003](https://github.com/ckeditor/ckeditor4/issues/2003): [Firefox] Fixed: Right-clicking multiple selected table cells containing empty paragraphs removes the selection.
+* [#1816](https://github.com/ckeditor/ckeditor4/issues/1816): Fixed: Table breaks when <kbd>Enter</kbd> is pressed over the [Table Selection](https://ckeditor.com/cke4/addon/tableselection) plugin.
+* [#1115](https://github.com/ckeditor/ckeditor4/issues/1115): Fixed: The `<font>` tag is not preserved when proper configuration is provided and a style is applied by the [Font](https://ckeditor.com/cke4/addon/font) plugin.
+* [#727](https://github.com/ckeditor/ckeditor4/issues/727): Fixed: Custom styles may be invisible in the [Styles Combo](https://ckeditor.com/cke4/addon/stylescombo) plugin.
+* [#988](https://github.com/ckeditor/ckeditor4/issues/988): Fixed: ACF-enabled custom elements prefixed with `object`, `embed`, `param` are removed from the editor content.
+
+API Changes:
+
+* [#2249](https://github.com/ckeditor/ckeditor4/issues/1791): Added the [`editor.plugins.detectConflict()`](https://ckeditor.com/docs/ckeditor4/latest/CKEDITOR_editor_plugins.html#method-detectConflict) method finding conflicts between provided plugins.
+
+## CKEditor 4.10
+
+New Features:
+
+* [#1751](https://github.com/ckeditor/ckeditor4/issues/1751): Introduced the **Autocomplete** feature that consists of the following plugins:
+	* [Autocomplete](https://ckeditor.com/cke4/addon/autocomplete) &ndash; Provides contextual completion feature for custom text matches based on user input.
+	* [Text Watcher](https://ckeditor.com/cke4/addon/textWatcher) &ndash; Checks whether an editor's text change matches the chosen criteria.
+	* [Text Match](https://ckeditor.com/cke4/addon/textMatch) &ndash; Allows to search [`CKEDITOR.dom.range`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_range.html) for matching text.
+* [#1703](https://github.com/ckeditor/ckeditor4/issues/1703): Introduced the [Mentions](https://ckeditor.com/cke4/addon/mentions) plugin providing smart completion feature for custom text matches based on user input starting with a chosen marker character.
+* [#1746](https://github.com/ckeditor/ckeditor4/issues/1703): Introduced the [Emoji](https://ckeditor.com/cke4/addon/emoji) plugin providing completion feature for emoji ideograms.
+* [#1761](https://github.com/ckeditor/ckeditor4/issues/1761): The [Auto Link](https://ckeditor.com/cke4/addon/autolink) plugin now supports email links.
+
+Fixed Issues:
+
+* [#1458](https://github.com/ckeditor/ckeditor4/issues/1458): [Edge] Fixed: After blurring the editor it takes 2 clicks to focus a widget.
+* [#1034](https://github.com/ckeditor/ckeditor4/issues/1034): Fixed: JAWS leaves forms mode after pressing the <kbd>Enter</kbd> key in an inline editor instance.
+* [#1748](https://github.com/ckeditor/ckeditor4/pull/1748): Fixed: Missing [`CKEDITOR.dialog.definition.onHide`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dialog_definition.html#property-onHide) API documentation. Thanks to [sunnyone](https://github.com/sunnyone)!
+* [#1321](https://github.com/ckeditor/ckeditor4/issues/1321): Fixed: Ideographic space character (`\u3000`) is lost when pasting text.
+* [#1776](https://github.com/ckeditor/ckeditor4/issues/1776): Fixed: Empty caption placeholder of the [Image Base](https://ckeditor.com/cke4/addon/imagebase) plugin is not hidden when blurred.
+* [#1592](https://github.com/ckeditor/ckeditor4/issues/1592): Fixed: The [Image Base](https://ckeditor.com/cke4/addon/imagebase) plugin caption is not visible after paste.
+* [#620](https://github.com/ckeditor/ckeditor4/issues/620): Fixed: The [`config.forcePasteAsPlainText`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-forcePasteAsPlainText) option is not respected in internal and cross-editor pasting.
+* [#1467](https://github.com/ckeditor/ckeditor4/issues/1467): Fixed: The resizing cursor of the [Table Resize](https://ckeditor.com/cke4/addon/tableresize) plugin appearing in the middle of a merged cell.
+
+API Changes:
+
+* [#850](https://github.com/ckeditor/ckeditor4/issues/850): Backward incompatibility: Replaced the `replace` dialog from the [Find / Replace](https://ckeditor.com/cke4/addon/find) plugin with a `tabId` option in the `find` command.
+* [#1582](https://github.com/ckeditor/ckeditor4/issues/1582): The [`CKEDITOR.editor.addCommand()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-addCommand) method can now accept a [`CKEDITOR.command`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_command.html) instance as a parameter.
+* [#1712](https://github.com/ckeditor/ckeditor4/issues/1712): The [`extraPlugins`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-extraPlugins), [`removePlugins`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-removePlugins) and [`plugins`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-plugins) configuration options allow whitespace.
+* [#1802](https://github.com/ckeditor/ckeditor4/issues/1802): The [`extraPlugins`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-extraPlugins), [`removePlugins`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-removePlugins) and [`plugins`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-plugins) configuration options allow passing plugin names as an array.
+* [#1724](https://github.com/ckeditor/ckeditor4/issues/1724): Added an option to the [`getClientRect()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_element.html#method-getClientRect) function allowing to retrieve an absolute bounding rectangle of the element, i.e. a position relative to the upper-left corner of the topmost viewport.
+* [#1498](https://github.com/ckeditor/ckeditor4/issues/1498) : Added a new [`getClientRects()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_range.html#method-getClientRects) method to `CKEDITOR.dom.range`. It returns a list of rectangles for each selected element.
+* [#1993](https://github.com/ckeditor/ckeditor4/issues/1993): Added the [`CKEDITOR.tools.throttle()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools.html#method-throttle) function.
+
+Other Changes:
+
+* Updated [SCAYT](https://ckeditor.com/cke4/addon/scayt) (Spell Check As You Type) and [WebSpellChecker](https://ckeditor.com/cke4/addon/wsc) (WSC) plugins:
+	* Language dictionary update: Added support for the Uzbek Latin language.
+	* Languages no longer supported as additional languages: Manx - Isle of Man (`gv_GB`) and Interlingua (`ia_XR`).
+	* Extended and improved language dictionaries: Georgian and Swedish. Also added the missing word _"Ensure"_ to the American, British and Canada English language.
+	* [#141](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/141) Fixed: SCAYT throws "Uncaught Error: Error in RangyWrappedRange module: createRange(): Parameter must be a Window object or DOM node".
+	* [#153](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/153) [Chrome] Fixed: Correcting a word in the widget in SCAYT moves focus to another editable.
+	* [#155](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/155) [IE8] Fixed: SCAYT throws an error and does not work.
+	* [#156](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/156) [IE10] Fixed: SCAYT does not seem to work.
+	* Fixed: After some text is dragged and dropped, the markup is not refreshed for grammar problems in SCAYT.
+	* Fixed: Request to FastCGI fails when the user tries to replace a word with non-English characters with a proper suggestion in WSC.
+	* [Firefox] Fixed: <kbd>Ctrl</kbd>+<kbd>Z</kbd> removes focus in SCAYT.
+	* Grammar support for default languages was improved.
+	* New application source URL was added in SCAYT.
+	* Removed green marks and legend related to grammar-supported languages in the Languages tab of SCAYT. Grammar is now supported for almost all the anguages in the list for an additional fee.
+	* Fixed: JavaScript error in the console: "Cannot read property 'split' of undefined" in SCAYT and WSC.
+	* [IE10] Fixed: Markup is not set for a specific case in SCAYT.
+	* Fixed: Accessibility issue: No `alt` attribute for the logo image in the About tab of SCAYT.
+
+## CKEditor 4.9.2
+
+**Security Updates:**
+
+* Fixed XSS vulnerability in the [Enhanced Image](https://ckeditor.com/cke4/addon/image2) (`image2`) plugin reported by [Kyaw Min Thein](https://twitter.com/kyawminthein99).
+
+	Issue summary: It was possible to execute XSS inside CKEditor using the `<img>` tag and specially crafted HTML. Please note that the default presets (Basic/Standard/Full) do not include this plugin, so you are only at risk if you made a custom build and enabled this plugin.
+
+We would like to thank the [Drupal security team](https://www.drupal.org/drupal-security-team) for bringing this matter to our attention and coordinating the fix and release process!
+
+## CKEditor 4.9.1
+
+Fixed Issues:
+
+* [#1835](https://github.com/ckeditor/ckeditor4/issues/1835): Fixed: Integration between [CKFinder](https://ckeditor.com/ckeditor-4/ckfinder/) and the [File Browser](https://ckeditor.com/cke4/addon/filebrowser) plugin does not work.
+
+## CKEditor 4.9
+
+New Features:
+
+* [#932](https://github.com/ckeditor/ckeditor4/issues/932): Introduced Easy Image feature for inserting images that are automatically rescaled, optimized, responsive and delivered through a blazing-fast CDN. Three new plugins were added to support it:
+    * [Easy Image](https://ckeditor.com/cke4/addon/easyimage),
+    * [Cloud Services](https://ckeditor.com/cke4/addon/cloudservices)
+    * [Image Base](https://ckeditor.com/cke4/addon/imagebase)
+* [#1338](https://github.com/ckeditor/ckeditor4/issues/1338): Keystroke labels are displayed for function keys (like F7, F8).
+* [#643](https://github.com/ckeditor/ckeditor4/issues/643): The [File Browser](https://ckeditor.com/cke4/addon/filebrowser) plugin can now upload files using XHR requests. This allows for setting custom HTTP headers using the [`config.fileTools_requestHeaders`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-fileTools_requestHeaders) configuration option.
+* [#1365](https://github.com/ckeditor/ckeditor4/issues/1365): The [File Browser](https://ckeditor.com/cke4/addon/filebrowser) plugin uses XHR requests by default.
+* [#1399](https://github.com/ckeditor/ckeditor4/issues/1399): Added the possibility to set [`CKEDITOR.config.startupFocus`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-startupFocus) as `start` or `end` to specify where the editor focus should be after the initialization.
+* [#1441](https://github.com/ckeditor/ckeditor4/issues/1441): The [Magic Line](https://ckeditor.com/cke4/addon/magicline) plugin line element can now be identified by the `data-cke-magic-line="1"` attribute.
+
+Fixed Issues:
+
+* [#595](https://github.com/ckeditor/ckeditor4/issues/595): Fixed: Pasting does not work on mobile devices.
+* [#869](https://github.com/ckeditor/ckeditor4/issues/869): Fixed: Empty selection clears cached clipboard data in the editor.
+* [#1419](https://github.com/ckeditor/ckeditor4/issues/1419): Fixed: The [Widget Selection](https://ckeditor.com/cke4/addon/widgetselection) plugin selects the editor content with the <kbd>Alt+A</kbd> key combination on Windows.
+* [#1274](https://github.com/ckeditor/ckeditor4/issues/1274): Fixed: [Balloon Toolbar](https://ckeditor.com/cke4/addon/balloontoolbar) does not match a single selected image using the [`contextDefinition.cssSelector`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_balloontoolbar_contextDefinition.html#property-cssSelector) matcher.
+* [#1232](https://github.com/ckeditor/ckeditor4/issues/1232): Fixed: [Balloon Toolbar](https://ckeditor.com/cke4/addon/balloontoolbar) buttons should be registered as focusable elements.
+* [#1342](https://github.com/ckeditor/ckeditor4/issues/1342): Fixed: [Balloon Toolbar](https://ckeditor.com/cke4/addon/balloontoolbar) should be re-positioned after the [`change`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#event-change) event.
+* [#1426](https://github.com/ckeditor/ckeditor4/issues/1426): [IE8-9] Fixed: Missing [Balloon Toolbar](https://ckeditor.com/cke4/addon/balloontoolbar) background in the [Kama](https://ckeditor.com/cke4/addon/kama) skin. Thanks to [Christian Elmer](https://github.com/keinkurt)!
+* [#1470](https://github.com/ckeditor/ckeditor4/issues/1470): Fixed: [Balloon Toolbar](https://ckeditor.com/cke4/addon/balloontoolbar) is not visible after drag and drop of a widget it is attached to.
+* [#1048](https://github.com/ckeditor/ckeditor4/issues/1048): Fixed: [Balloon Panel](https://ckeditor.com/cke4/addon/balloonpanel) is not positioned properly when a margin is added to its non-static parent.
+* [#889](https://github.com/ckeditor/ckeditor4/issues/889): Fixed: Unclear error message for width and height fields in the [Image](https://ckeditor.com/cke4/addon/image) and [Enhanced Image](https://ckeditor.com/cke4/addon/image2) plugins.
+* [#859](https://github.com/ckeditor/ckeditor4/issues/859): Fixed: Cannot edit a link after a double-click on the text in the link.
+* [#1013](https://github.com/ckeditor/ckeditor4/issues/1013): Fixed: [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword) does not work correctly with the [`config.forcePasteAsPlainText`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-forcePasteAsPlainText) option.
+* [#1356](https://github.com/ckeditor/ckeditor4/issues/1356): Fixed: [Border parse function](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools_style_parse.html#method-border) does not allow spaces in the color value.
+* [#1010](https://github.com/ckeditor/ckeditor4/issues/1010): Fixed: The CSS `border` shorthand property was incorrectly expanded ignoring the `border-color` style.
+* [#1535](https://github.com/ckeditor/ckeditor4/issues/1535): Fixed: [Widget](https://ckeditor.com/cke4/addon/widget) mouseover border contrast is insufficient.
+* [#1516](https://github.com/ckeditor/ckeditor4/issues/1516): Fixed: Fake selection allows removing content in read-only mode using the <kbd>Backspace</kbd> and <kbd>Delete</kbd> keys.
+* [#1570](https://github.com/ckeditor/ckeditor4/issues/1570): Fixed: Fake selection allows cutting content in read-only mode using the <kbd>Ctrl</kbd>/<kbd>Cmd</kbd> + <kbd>X</kbd> keys.
+* [#1363](https://github.com/ckeditor/ckeditor4/issues/1363): Fixed: Paste notification is unclear and it might confuse users.
+
+
+API Changes:
+
+* [#1346](https://github.com/ckeditor/ckeditor4/issues/1346): [Balloon Toolbar](https://ckeditor.com/cke4/addon/balloontoolbar) [context manager API](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.plugins.balloontoolbar.contextManager.html) is now available in the [`pluginDefinition.init()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_pluginDefinition.html#method-init) method of the [requiring](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_pluginDefinition.html#property-requires) plugin.
+* [#1530](https://github.com/ckeditor/ckeditor4/issues/1530): Added the possibility to use custom icons for [buttons](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_ui_button.html.html).
+
+Other Changes:
+
+* Updated [SCAYT](https://ckeditor.com/cke4/addon/scayt) (Spell Check As You Type) and [WebSpellChecker](https://ckeditor.com/cke4/addon/wsc) (WSC) plugins:
+	* SCAYT [`scayt_minWordLength`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#scayt_minWordLength) configuration option now defaults to 3 instead of 4.
+	* SCAYT default number of suggested words in the context menu changed to 3.
+	* [#90](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/90): Fixed: Selection is lost on link creation if SCAYT highlights the word.
+	* Fixed: SCAYT crashes when the browser `localStorage` is disabled.
+	* [IE11] Fixed: `Unable to get property type of undefined or null reference` error in the browser console when SCAYT is disabled/enabled.
+	* [#46](https://github.com/WebSpellChecker/ckeditor-plugin-wsc/issues/46): Fixed: Editing is blocked when remote spell checker server is offline.
+	* Fixed: User Dictionary cannot be created in WSC due to `You already have the dictionary` error.
+	* Fixed: Words with apostrophe `'` on the replacement make the WSC dialog inaccessible.
+	* Fixed: SCAYT/WSC causes the `Uncaught TypeError` error in the browser console.
+* [#1337](https://github.com/ckeditor/ckeditor4/issues/1337): Updated the samples layout with the new CKEditor 4 logo and color scheme.
+* [#1591](https://github.com/ckeditor/ckeditor4/issues/1591): CKBuilder and language tools are now downloaded over HTTPS. Thanks to [August Detlefsen](https://github.com/augustd)!
+
+## CKEditor 4.8
+
+**Important Notes:**
+
+* [#1249](https://github.com/ckeditor/ckeditor4/issues/1249): Enabled the [Upload Image](https://ckeditor.com/cke4/addon/uploadimage) plugin by default in standard and full presets. Also, it will no longer log an error in case of missing [`config.imageUploadUrl`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-imageUploadUrl) property.
+
+New Features:
+
+* [#933](https://github.com/ckeditor/ckeditor4/issues/933): Introduced [Balloon Toolbar](https://ckeditor.com/cke4/addon/balloontoolbar) plugin.
+* [#662](https://github.com/ckeditor/ckeditor4/issues/662): Introduced image inlining for the [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword) plugin.
+* [#468](https://github.com/ckeditor/ckeditor4/issues/468): [Edge] Introduced support for the Clipboard API.
+* [#607](https://github.com/ckeditor/ckeditor4/issues/607): Manually inserted Hex color is prefixed with a hash character (`#`) if needed. It ensures a valid Hex color value is used when setting the table cell border or background color with the [Color Dialog](https://ckeditor.com/cke4/addon/colordialog) window.
+* [#584](https://github.com/ckeditor/ckeditor4/issues/584): [Font size and Family](https://ckeditor.com/cke4/addon/font) and [Format](https://ckeditor.com/cke4/addon/format) drop-downs are not toggleable anymore. Default option to reset styles added.
+* [#856](https://github.com/ckeditor/ckeditor4/issues/856): Introduced the [`CKEDITOR.tools.keystrokeToArray()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools.html#method-keystrokeToArray) method. It converts a keystroke into its string representation, returning every key name as a separate array element.
+* [#1053](https://github.com/ckeditor/ckeditor4/issues/1053): Introduced the [`CKEDITOR.tools.object.merge()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools_object.html#method-merge) method. It allows to merge two objects, returning the new object with all properties from both objects deeply cloned.
+* [#1073](https://github.com/ckeditor/ckeditor4/issues/1073): Introduced the [`CKEDITOR.tools.array.every()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools_array.html#method-every) method. It invokes a given test function on every array element and returns `true` if all elements pass the test.
+
+Fixed Issues:
+
+* [#796](https://github.com/ckeditor/ckeditor4/issues/796): Fixed: A list is pasted from OneNote in the reversed order.
+* [#834](https://github.com/ckeditor/ckeditor4/issues/834): [IE9-11] Fixed: The editor does not save the selected state of radio buttons inserted by the [Form Elements](https://ckeditor.com/cke4/addon/forms) plugin.
+* [#704](https://github.com/ckeditor/ckeditor4/issues/704): [Edge] Fixed: Using <kbd>Ctrl</kbd>/<kbd>Cmd</kbd> + <kbd>Z</kbd> breaks widget structure.
+* [#591](https://github.com/ckeditor/ckeditor4/issues/591): Fixed: A column is inserted in a wrong order inside the table if any cell has a vertical split.
+* [#787](https://github.com/ckeditor/ckeditor4/issues/787): Fixed: Using Cut inside a nested table does not cut the selected content.
+* [#842](https://github.com/ckeditor/ckeditor4/issues/842): Fixed: List style not restored when toggling list indent level in the [Indent List](https://ckeditor.com/cke4/addon/indentlist) plugin.
+* [#711](https://github.com/ckeditor/ckeditor4/issues/711): Fixed: Dragging widgets should only work with the left mouse button.
+* [#862](https://github.com/ckeditor/ckeditor4/issues/862): Fixed: The "Object Styles" group in the [Styles Combo](https://ckeditor.com/cke4/addon/stylescombo) plugin is visible only if the whole element is selected.
+* [#994](https://github.com/ckeditor/ckeditor4/pull/994): Fixed: Typo in the [`CKEDITOR.focusManager.focus()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_focusManager.html#method-focus) API documentation. Thanks to [benjy](https://github.com/benjy)!
+* [#1014](https://github.com/ckeditor/ckeditor4/issues/1014): Fixed: The [Table Tools](https://ckeditor.com/cke4/addon/tabletools) Cell Properties dialog is now [Advanced Content Filter](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_acf.html) aware &mdash; it is not possible to change the cell width or height if corresponding styles are disabled.
+* [#877](https://github.com/ckeditor/ckeditor4/issues/877): Fixed: A list with custom bullets with exotic characters crashes the editor when [pasted from Word](https://ckeditor.com/cke4/addon/pastefromword).
+* [#605](https://github.com/ckeditor/ckeditor4/issues/605): Fixed: Inline widgets do not preserve trailing spaces.
+* [#1008](https://github.com/ckeditor/ckeditor4/issues/1008): Fixed: Shorthand Hex colors from the [`config.colorButton_colors`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-colorButton_colors) option are not correctly highlighted in the [Color Button](https://ckeditor.com/cke4/addon/colorbutton) Text Color or Background Color panel.
+* [#1094](https://github.com/ckeditor/ckeditor4/issues/1094): Fixed: Widget definition [`upcast`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_widget_definition.html#property-upcasts) methods are called for every element.
+* [#1057](https://github.com/ckeditor/ckeditor4/issues/1057): Fixed: The [Notification](https://ckeditor.com/addon/notification) plugin overwrites Web Notifications API due to leakage to the global scope.
+* [#1068](https://github.com/ckeditor/ckeditor4/issues/1068): Fixed: Upload widget paste listener ignores changes to the [`uploadWidgetDefinition`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.fileTools.uploadWidgetDefinition.html).
+* [#921](https://github.com/ckeditor/ckeditor4/issues/921): Fixed: [Edge] CKEditor erroneously perceives internal copy and paste as type "external".
+* [#1213](https://github.com/ckeditor/ckeditor4/issues/1213): Fixed: Multiple images uploaded using [Upload Image](https://ckeditor.com/cke4/addon/uploadimage) plugin are randomly duplicated or mangled.
+* [#532](https://github.com/ckeditor/ckeditor4/issues/532): Fixed: Removed an outdated user guide link from the [About](https://ckeditor.com/cke4/addon/about) dialog.
+* [#1221](https://github.com/ckeditor/ckeditor4/issues/1221): Fixed: Invalid CSS loaded by [Balloon Panel](https://ckeditor.com/cke4/addon/balloonpanel) plugin when [`config.skin`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-skin) is loaded using a custom path.
+* [#522](https://github.com/ckeditor/ckeditor4/issues/522): Fixed: Widget selection is not removed when widget is inside table cell with [Table Selection](https://ckeditor.com/cke4/addon/tableselection) plugin enabled.
+* [#1027](https://github.com/ckeditor/ckeditor4/issues/1027): Fixed: Cannot add multiple images to the table with [Table Selection](https://ckeditor.com/cke4/addon/tableselection) plugin in certain situations.
+* [#1069](https://github.com/ckeditor/ckeditor4/issues/1069): Fixed: Wrong shape processing by [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword) plugin.
+* [#995](https://github.com/ckeditor/ckeditor4/issues/995): Fixed: Hyperlinked image gets inserted twice by [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword) plugin.
+* [#1287](https://github.com/ckeditor/ckeditor4/issues/1287): Fixed: [Widget](https://ckeditor.com/cke4/addon/widget) plugin throws exception if included in editor build but not loaded into editor's instance.
+
+API Changes:
+
+* [#1097](https://github.com/ckeditor/ckeditor4/issues/1097): Widget [`upcast`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_widget_definition.html#property-upcast) methods are now called in the [widget definition's](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_widget.html#property-definition) context.
+* [#1118](https://github.com/ckeditor/ckeditor4/issues/1118): Added the `show` option in the [`balloonPanel.attach()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_ui_balloonPanel.html#method-attach) method, allowing to attach a hidden [Balloon Panel](https://ckeditor.com/cke4/addon/balloonpanel) instance.
+* [#1145](https://github.com/ckeditor/ckeditor4/issues/1145): Added the [`skipNotifications`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_fileTools_uploadWidgetDefinition.html#property-skipNotifications) option to the [`CKEDITOR.fileTools.uploadWidgetDefinition`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.fileTools.uploadWidgetDefinition.html), allowing to switch off default notifications displayed by upload widgets.
+
+Other Changes:
+
+* [#815](https://github.com/ckeditor/ckeditor4/issues/815): Removed Node.js dependency from the CKEditor build script.
+* [#1041](https://github.com/ckeditor/ckeditor4/pull/1041), [#1131](https://github.com/ckeditor/ckeditor4/issues/1131): Updated URLs pointing to [CKSource](https://cksource.com/) and [CKEditor](https://ckeditor.com/) resources after the launch of new websites.
+
+## CKEditor 4.7.3
+
+New Features:
+
+* [#568](https://github.com/ckeditor/ckeditor4/issues/568): Added possibility to adjust nested editables' filters using the [`CKEDITOR.filter.disallowedContent`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_filter.html#property-disallowedContent) property.
+
+Fixed Issues:
+
+* [#554](https://github.com/ckeditor/ckeditor4/issues/554): Fixed: [`change`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#event-change) event not fired when typing the first character after pasting into the editor. Thanks to [Daniel Miller](https://github.com/millerdev)!
+* [#566](https://github.com/ckeditor/ckeditor4/issues/566): Fixed: The CSS `border` shorthand property with zero width (`border: 0px solid #000;`) causes the table to have the border attribute set to 1.
+* [#779](https://github.com/ckeditor/ckeditor4/issues/779): Fixed: The [Remove Format](https://ckeditor.com/cke4/addon/removeformat) plugin removes elements with language definition inserted by the [Language](https://ckeditor.com/cke4/addon/language) plugin.
+* [#423](https://github.com/ckeditor/ckeditor4/issues/423): Fixed: The [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword) plugin pastes paragraphs into the editor even if [`CKEDITOR.config.enterMode`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-enterMode) is set to `CKEDITOR.ENTER_BR`.
+* [#719](https://github.com/ckeditor/ckeditor4/issues/719): Fixed: Image inserted using the [Enhanced Image](https://ckeditor.com/cke4/addon/image2) plugin can be resized when the editor is in [read-only mode](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_readonly.html).
+* [#577](https://github.com/ckeditor/ckeditor4/issues/577): Fixed: The "Delete Columns" command provided by the [Table Tools](https://ckeditor.com/cke4/addon/tabletools) plugin throws an error when trying to delete columns.
+* [#867](https://github.com/ckeditor/ckeditor4/issues/867): Fixed: Typing into a selected table throws an error.
+* [#817](https://github.com/ckeditor/ckeditor4/issues/817): Fixed: The [Save](https://ckeditor.com/cke4/addon/save) plugin does not work in [Source Mode](https://ckeditor.com/cke4/addon/sourcearea).
+
+Other Changes:
+
+* Updated the [WebSpellChecker](https://ckeditor.com/cke4/addon/wsc) plugin:
+	* [#40](https://github.com/WebSpellChecker/ckeditor-plugin-wsc/issues/40): Fixed: IE10 throws an error when spell checking is started.
+* [#800](https://github.com/ckeditor/ckeditor4/issues/800): Added the [`CKEDITOR.dom.selection.isCollapsed()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_selection.html#method-isCollapsed) method which is a simpler way to check if the selection is collapsed.
+* [#830](https://github.com/ckeditor/ckeditor4/issues/830): Added an option to define which dialog tab should be shown by default when creating [`CKEDITOR.dialogCommand`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.dialogCommand.html).
+
+## CKEditor 4.7.2
+
+New Features:
+
+* [#455](https://github.com/ckeditor/ckeditor4/issues/455): Added [Advanced Content Filter](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_acf.html) integration with the [Justify](https://ckeditor.com/cke4/addon/justify) plugin.
+
+Fixed Issues:
+
+* [#663](https://github.com/ckeditor/ckeditor4/issues/663): [Chrome] Fixed: Clicking the scrollbar throws an `Uncaught TypeError: element.is is not a function` error.
+* [#694](https://github.com/ckeditor/ckeditor4/pull/694): Refactoring in the [Table Selection](https://ckeditor.com/cke4/addon/tableselection) plugin:
+  * [#520](https://github.com/ckeditor/ckeditor4/issues/520): Fixed: Widgets cannot be properly pasted into a table cell.
+  * [#460](https://github.com/ckeditor/ckeditor4/issues/460): Fixed: Editor gone after pasting into an editor within a table.
+* [#579](https://github.com/ckeditor/ckeditor4/issues/579): Fixed: Internal `cke_table-faked-selection-table` class is visible in the Stylesheet Classes field of the [Table Properties](https://ckeditor.com/cke4/addon/table) dialog.
+* [#545](https://github.com/ckeditor/ckeditor4/issues/545): [Edge] Fixed: Error thrown when pressing the [Select All](https://ckeditor.com/cke4/addon/selectall) button in [Source Mode](https://ckeditor.com/cke4/addon/sourcearea).
+* [#582](https://github.com/ckeditor/ckeditor4/issues/582): Fixed: Double slash in the path to stylesheet needed by the [Table Selection](https://ckeditor.com/cke4/addon/tableselection) plugin. Thanks to [Marius Dumitru Florea](https://github.com/mflorea)!
+* [#491](https://github.com/ckeditor/ckeditor4/issues/491): Fixed: Unnecessary dependency on the [Editor Toolbar](https://ckeditor.com/cke4/addon/toolbar) plugin inside the [Notification](https://ckeditor.com/cke4/addon/notification) plugin.
+* [#646](https://github.com/ckeditor/ckeditor4/issues/646): Fixed: Error thrown into the browser console after opening the [Styles Combo](https://ckeditor.com/cke4/addon/stylescombo) plugin menu in the editor without any selection.
+* [#501](https://github.com/ckeditor/ckeditor4/issues/501): Fixed: Double click does not open the dialog for modifying anchors inserted via the [Link](https://ckeditor.com/cke4/addon/link) plugin.
+* [#9780](https://dev.ckeditor.com/ticket/9780): [IE8-9] Fixed: Clicking inside an empty [read-only](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#property-readOnly) editor throws an error.
+* [#16820](https://dev.ckeditor.com/ticket/16820): [IE10] Fixed: Clicking below a single horizontal rule throws an error.
+* [#426](https://github.com/ckeditor/ckeditor4/issues/426): Fixed: The [`range.cloneContents()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_range.html#method-cloneContents) method selects the whole element when the selection starts at the beginning of that element.
+* [#644](https://github.com/ckeditor/ckeditor4/issues/644): Fixed: The [`range.extractContents()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_range.html#method-extractContents) method returns an incorrect result when multiple nodes are selected.
+* [#684](https://github.com/ckeditor/ckeditor4/issues/684): Fixed: The [`elementPath.contains()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_elementPath.html#method-contains) method incorrectly excludes the last element instead of root when the `fromTop` parameter is set to `true`.
+
+Other Changes:
+
+* Updated the [SCAYT](https://ckeditor.com/cke4/addon/scayt) (Spell Check As You Type) plugin:
+	* [#148](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/148): Fixed: SCAYT leaves underlined word after the CKEditor Replace dialog corrects it.
+* [#751](https://github.com/ckeditor/ckeditor4/issues/751): Added the [`CKEDITOR.dom.nodeList.toArray()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_nodeList.html#method-toArray) method which returns an array representation of a [node list](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.dom.nodeList.html).
+
+## CKEditor 4.7.1
+
+New Features:
+
+* Added a new Mexican Spanish localization. Thanks to [David Alexandro Rodriguez](https://www.transifex.com/user/profile/darsco16/)!
+* [#413](https://github.com/ckeditor/ckeditor4/issues/413): Added Paste as Plain Text keyboard shortcut to the [Accessibility Help](https://ckeditor.com/cke4/addon/a11yhelp) instructions.
+
+Fixed Issues:
+
+* [#515](https://github.com/ckeditor/ckeditor4/issues/515): [Chrome] Fixed: Mouse actions on CKEditor scrollbar throw an exception when the [Table Selection](https://ckeditor.com/cke4/addon/tableselection) plugin is loaded.
+* [#493](https://github.com/ckeditor/ckeditor4/issues/493): Fixed: Selection started from a nested table causes an error in the browser while scrolling down.
+* [#415](https://github.com/ckeditor/ckeditor4/issues/415): [Firefox] Fixed: <kbd>Enter</kbd> key breaks the table structure when pressed in a table selection.
+* [#457](https://github.com/ckeditor/ckeditor4/issues/457): Fixed: Error thrown when deleting content from the editor with no selection.
+* [#478](https://github.com/ckeditor/ckeditor4/issues/478): [Chrome] Fixed:  Error thrown by the [Enter Key](https://ckeditor.com/cke4/addon/enterkey) plugin when pressing <kbd>Enter</kbd> with no selection.
+* [#424](https://github.com/ckeditor/ckeditor4/issues/424): Fixed: Error thrown by [Tab Key Handling](https://ckeditor.com/cke4/addon/tab) and [Indent List](https://ckeditor.com/cke4/addon/indentlist) plugins when pressing <kbd>Tab</kbd> with no selection in inline editor.
+* [#476](https://github.com/ckeditor/ckeditor4/issues/476): Fixed: Anchors inserted with the [Link](https://ckeditor.com/cke4/addon/link) plugin on collapsed selection cannot be edited.
+* [#417](https://github.com/ckeditor/ckeditor4/issues/417): Fixed: The [Table Resize](https://ckeditor.com/cke4/addon/tableresize) plugin throws an error when used with a table with only header or footer rows.
+* [#523](https://github.com/ckeditor/ckeditor4/issues/523): Fixed: The [`editor.getCommandKeystroke()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-getCommandKeystroke) method does not obtain the correct keystroke.
+* [#534](https://github.com/ckeditor/ckeditor4/issues/534): [IE] Fixed: [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword) does not work in Quirks Mode.
+* [#450](https://github.com/ckeditor/ckeditor4/issues/450): Fixed: [`CKEDITOR.filter`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.filter.html) incorrectly transforms the `margin` CSS property.
+
+## CKEditor 4.7
+
+**Important Notes:**
+
+* [#13793](https://dev.ckeditor.com/ticket/13793): The [`embed_provider`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-embed_provider) configuration option for the [Media Embed](https://ckeditor.com/cke4/addon/embed) and [Semantic Media Embed](https://ckeditor.com/cke4/addon/embedsemantic) plugins is no longer preset by default.
+* The [UI Color](https://ckeditor.com/cke4/addon/uicolor) plugin now uses a custom color picker instead of the `YUI 2.7.0` library which has some known vulnerabilities (it's a security precaution, there was no security issue in CKEditor due to the way it was used).
+
+New Features:
+
+* [#16755](https://dev.ckeditor.com/ticket/16755): Added the [Table Selection](https://ckeditor.com/cke4/addon/tableselection) plugin that lets you select and manipulate an arbitrary rectangular table fragment (a few cells, a row or a column).
+* [#16961](https://dev.ckeditor.com/ticket/16961): Added support for pasting from Microsoft Excel.
+* [#13381](https://dev.ckeditor.com/ticket/13381): Dynamic code evaluation call in [`CKEDITOR.template`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.template.html) removed. CKEditor can now be used without the `unsafe-eval` Content Security Policy. Thanks to [Caridy Patiño](http://caridy.name)!
+* [#16971](https://dev.ckeditor.com/ticket/16971): Added support for color in the `background` property containing also other styles for table cells in the [Table Tools](https://ckeditor.com/cke4/addon/tabletools) plugin.
+* [#16847](https://dev.ckeditor.com/ticket/16847): Added support for parsing and inlining any formatting created using the Microsoft Word style system to the [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword) plugin.
+* [#16818](https://dev.ckeditor.com/ticket/16818): Added table cell height parsing in the [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword) plugin.
+* [#16850](https://dev.ckeditor.com/ticket/16850): Added a new [`config.enableContextMenu`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-enableContextMenu) configuration option for enabling and disabling the [context menu](https://ckeditor.com/cke4/addon/contextmenu).
+* [#16937](https://dev.ckeditor.com/ticket/16937): The `command` parameter in [`CKEDITOR.editor.getCommandKeystroke()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-getCommandKeystroke) now also accepts a command name as an argument.
+* [#17010](https://dev.ckeditor.com/ticket/17010): The [`CKEDITOR.dom.range.shrink()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_range.html#method-shrink) method now allows for skipping bogus `<br>` elements.
+
+Fixed Issues:
+
+* [#16935](https://dev.ckeditor.com/ticket/16935): [Chrome] Fixed: Blurring the editor in [Source Mode](https://ckeditor.com/cke4/addon/sourcearea) throws an error.
+* [#16825](https://dev.ckeditor.com/ticket/16825): [Chrome] Fixed: Error thrown when destroying a focused inline editor.
+* [#16857](https://dev.ckeditor.com/ticket/16857): Fixed: <kbd>Ctrl+Shift+V</kbd> blocked by [Copy Formatting](https://ckeditor.com/cke4/addon/copyformatting).
+* [#16845](https://dev.ckeditor.com/ticket/16845): [IE] Fixed: Cursor jumps to the top of the scrolled editor after focusing it when the [Copy Formatting](https://ckeditor.com/cke4/addon/copyformatting) plugin is enabled.
+* [#16786](https://dev.ckeditor.com/ticket/16786): Fixed: Added missing translations for the [Copy Formatting](https://ckeditor.com/cke4/addon/copyformatting) plugin.
+* [#14714](https://dev.ckeditor.com/ticket/14714): [WebKit/Blink] Fixed: Exception thrown on refocusing a blurred inline editor.
+* [#16913](https://dev.ckeditor.com/ticket/16913): [Firefox, IE] Fixed: [Paste as Plain Text](https://ckeditor.com/cke4/addon/pastetext) keystroke does not work.
+* [#16968](https://dev.ckeditor.com/ticket/16968): Fixed: [Safari] [Paste as Plain Text](https://ckeditor.com/cke4/addon/pastetext) is not handled by the editor.
+* [#16912](https://dev.ckeditor.com/ticket/16912): Fixed: Exception thrown when a single image is pasted using [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword).
+* [#16821](https://dev.ckeditor.com/ticket/16821): Fixed: Extraneous `<span>` elements with `height` style stacked when [pasting from Word](https://ckeditor.com/cke4/addon/pastefromword).
+* [#16866](https://dev.ckeditor.com/ticket/16866): [IE, Edge] Fixed: Whitespaces not preserved when [pasting from Word](https://ckeditor.com/cke4/addon/pastefromword).
+* [#16860](https://dev.ckeditor.com/ticket/16860): Fixed: Paragraphs which only look like lists incorrectly transformed into them when [pasting from Word](https://ckeditor.com/cke4/addon/pastefromword).
+* [#16817](https://dev.ckeditor.com/ticket/16817): Fixed: When [pasting from Word](https://ckeditor.com/cke4/addon/pastefromword), paragraphs are transformed into lists with some corrupted data.
+* [#16833](https://dev.ckeditor.com/ticket/16833): [IE11] Fixed: Malformed list with headers [pasted from Word](https://ckeditor.com/cke4/addon/pastefromword).
+* [#16826](https://dev.ckeditor.com/ticket/16826): [IE] Fixed: Superfluous paragraphs within lists [pasted from Word](https://ckeditor.com/cke4/addon/pastefromword).
+* [#12465](https://dev.ckeditor.com/ticket/12465): Fixed: Cannot change the state of checkboxes or radio buttons if the properties dialog was invoked with a double-click.
+* [#13062](https://dev.ckeditor.com/ticket/13062): Fixed: Impossible to unlink when the caret is at the edge of the link.
+* [#13585](https://dev.ckeditor.com/ticket/13585): Fixed: Error when wrapping two adjacent `<div>` elements with a `<div>`.
+* [#16811](https://dev.ckeditor.com/ticket/16811): Fixed: Table alignment is not preserved by the [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword) plugin.
+* [#16810](https://dev.ckeditor.com/ticket/16810): Fixed: Vertical align in tables is not supported by the [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword) plugin.
+* [#11956](https://dev.ckeditor.com/ticket/11956): [Blink, IE] Fixed: [Link](https://ckeditor.com/cke4/addon/link) dialog does not open on a double click on the second word of the link with a background color or other styles.
+* [#10472](https://dev.ckeditor.com/ticket/10472): Fixed: Unable to use [Table Resize](https://ckeditor.com/cke4/addon/tableresize) on table header and footer.
+* [#14762](https://dev.ckeditor.com/ticket/14762): Fixed: Hovering over an empty table (without rows or cells) throws an error when the [Table Resize](https://ckeditor.com/cke4/addon/tableresize) plugin is active.
+* [#16777](https://dev.ckeditor.com/ticket/16777): [Edge] Fixed: The [Clipboard](https://ckeditor.com/cke4/addon/clipboard) plugin does not allow to drop widgets into the editor.
+* [#14894](https://dev.ckeditor.com/ticket/14894): [Chrome] Fixed: The editor scrolls to the top after focusing or when a dialog is opened.
+* [#14769](https://dev.ckeditor.com/ticket/14769): Fixed: URLs with '-' in host are not detected by the [Auto Link](https://ckeditor.com/cke4/addon/autolink) plugin.
+* [#16804](https://dev.ckeditor.com/ticket/16804): Fixed: Focus is not on the first menu item when the user opens a context menu or a drop-down list from the editor toolbar.
+* [#14407](https://dev.ckeditor.com/ticket/14407): [IE] Fixed: Non-editable widgets can be edited.
+* [#16927](https://dev.ckeditor.com/ticket/16927): Fixed: An error thrown if a bundle containing the [Color Button](https://ckeditor.com/cke4/addon/colorbutton) plugin is run in ES5 strict mode. Thanks to [Igor Rubinovich](https://github.com/IgorRubinovich)!
+* [#16920](https://dev.ckeditor.com/ticket/16920): Fixed: Several plugins not using the [Dialog](https://ckeditor.com/cke4/addon/dialog) plugin as a direct dependency.
+* [PR#336](https://github.com/ckeditor/ckeditor4/pull/336): Fixed: Typo in [`CKEDITOR.getCss()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.html#method-getCss) API documentation. Thanks to [knusperpixel](https://github.com/knusperpixel)!
+* [#17027](https://dev.ckeditor.com/ticket/17027): Fixed: Command event data should be initialized as an empty object.
+* Fixed the behavior of HTML parser when parsing `src`/`srcdoc` attributes of the `<iframe>` element in a CKEditor setup with ACF turned off and without the [Iframe Dialog](https://ckeditor.com/cke4/addon/iframe) plugin. The issue was originally reported as a security issue by [Sriramk21](https://twitter.com/sriramk21) from Pegasystems and was later downgraded by the security team into a normal issue due to the requirement of having ACF turned off. Disabling [Advanced Content Filter](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_advanced_content_filter.html) is against [security best practices](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_best_practices.html#security), so the problem described above has not been considered a security issue as such.
+
+Other Changes:
+
+* Updated [SCAYT](https://ckeditor.com/cke4/addon/scayt) (Spell Check As You Type) and [WebSpellChecker](https://ckeditor.com/cke4/addon/wsc) plugins:
+	* Fixed: DOM Exception after clicking "Remove Language" on a selected word with enabled [Language](https://ckeditor.com/cke4/addon/language) plugin in SCAYT.
+* [#16958](https://dev.ckeditor.com/ticket/16958): Switched the default MathJax CDN provider for the [Mathematical Formulas](https://ckeditor.com/cke4/addon/mathjax) plugin from `cdn.mathjax.org` to [cdnjs](https://cdnjs.com/), due to closing of `cdn.mathjax.org` scheduled for April 30, 2017.
+* [#16954](https://dev.ckeditor.com/ticket/16954): Removed the paste dialog.
+* [#16982](https://dev.ckeditor.com/ticket/16982): Latest Safari now supports enhanced Clipboard API introduced in CKEditor 4.5.0.
+* [#17025](https://dev.ckeditor.com/ticket/17025): Updated [Bender.js](https://github.com/benderjs/benderjs) to 0.4.2.
+
+## CKEditor 4.6.2
+
+New Features:
+
+* [#16733](https://dev.ckeditor.com/ticket/16733): Added a new pastel color palette for the [Color Button](https://ckeditor.com/cke4/addon/colorbutton) plugin and a new [`config.colorButton_colorsPerRow`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-colorButton_colorsPerRow) configuration option for setting the number of rows in the color selector.
+* [#16752](https://dev.ckeditor.com/ticket/16752): Added a new Azerbaijani localization. Thanks to the [Azerbaijani language team](https://www.transifex.com/ckeditor/teams/11143/az/)!
+* [#13818](https://dev.ckeditor.com/ticket/13818): It is now possible to group [Widget](https://ckeditor.com/cke4/addon/widget) [style definitions](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_styles.html#widget-styles), so applying one style disables the other.
+
+Fixed Issues:
+
+* [#13446](https://dev.ckeditor.com/ticket/13446): [Chrome] Fixed: It is possible to type in an unfocused inline editor.
+* [#14856](https://dev.ckeditor.com/ticket/14856): Fixed: [Font size and font family](https://ckeditor.com/cke4/addon/font) reset each other when modified at certain positions.
+* [#16745](https://dev.ckeditor.com/ticket/16745): [Edge] Fixed: List items are lost when [pasted from Word](https://ckeditor.com/cke4/addon/pastefromword).
+* [#16682](https://dev.ckeditor.com/ticket/16682): [Edge] Fixed: A list gets [pasted from Word](https://ckeditor.com/cke4/addon/pastefromword) as a set of paragraphs. Added the [`config.pasteFromWord_heuristicsEdgeList`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-pasteFromWord_heuristicsEdgeList) configuration option.
+* [#10373](https://dev.ckeditor.com/ticket/10373): Fixed: Context menu items can be dragged into the editor.
+* [#16728](https://dev.ckeditor.com/ticket/16728): [IE] Fixed: [Copy Formatting](https://ckeditor.com/cke4/addon/copyformatting) breaks the editor in Quirks Mode.
+* [#16795](https://dev.ckeditor.com/ticket/16795): [IE] Fixed: [Copy Formatting](https://ckeditor.com/cke4/addon/copyformatting) breaks the editor in Compatibility Mode.
+* [#16675](https://dev.ckeditor.com/ticket/16675): Fixed: Styles applied with [Copy Formatting](https://ckeditor.com/cke4/addon/copyformatting) to a single table cell are applied to the whole table.
+* [#16753](https://dev.ckeditor.com/ticket/16753): Fixed: [`element.setSize()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_element.html#method-setSize) sets incorrect editor dimensions if the border width is represented as a fraction of pixels.
+* [#16705](https://dev.ckeditor.com/ticket/16705): [Firefox] Fixed: Unable to paste images as Base64 strings when using [Clipboard](https://ckeditor.com/cke4/addon/clipboard).
+* [#14869](https://dev.ckeditor.com/ticket/14869): Fixed: JavaScript error is thrown when trying to use [Find](https://ckeditor.com/cke4/addon/find) in a [`<div>`-based editor](https://ckeditor.com/cke4/addon/divarea).
+
+## CKEditor 4.6.1
+
+New Features:
+
+* [#16639](https://dev.ckeditor.com/ticket/16639): The `callback` parameter in the [`CKEDITOR.ajax.post()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_ajax.html#method-post) method became optional.
+
+Fixed Issues:
+
+* [#11064](https://dev.ckeditor.com/ticket/11064): [Blink, WebKit] Fixed: Cannot select all editor content when a widget or a non-editable element is the first or last element of the content. Also fixes this issue in the [Select All](https://ckeditor.com/cke4/addon/selectall) plugin.
+* [#14755](https://dev.ckeditor.com/ticket/14755): [Blink, WebKit, IE8] Fixed: Browser hangs when a table is inserted in the place of a selected list with an empty last item.
+* [#16624](https://dev.ckeditor.com/ticket/16624): Fixed: Improved the [Color Button](https://ckeditor.com/cke4/addon/colorbutton) plugin which will now normalize the CSS `background` property if it only contains a color value. This fixes missing background colors when using [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword).
+* [#16600](https://dev.ckeditor.com/ticket/16600): [Blink, WebKit] Fixed: Error thrown occasionally by an uninitialized editable for multiple CKEditor instances on the same page.
+
+## CKEditor 4.6
+
+New Features:
+
+* [#14569](https://dev.ckeditor.com/ticket/14569): Added a new, flat, default CKEditor skin called [Moono-Lisa](https://ckeditor.com/cke4/addon/moono-lisa). Refreshed default colors available in the [Color Button](https://ckeditor.com/cke4/addon/colorbutton) plugin ([Text Color and Background Color](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_colorbutton.html) feature).
+* [#14707](https://dev.ckeditor.com/ticket/14707): Added a new [Copy Formatting](https://ckeditor.com/cke4/addon/copyformatting) feature to enable easy copying of styles between your document parts.
+* Introduced the completely rewritten [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword) plugin:
+	* Backward incompatibility: The [`config.pasteFromWordRemoveFontStyles`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-pasteFromWordRemoveFontStyles) option now defaults to `false`. This option will be deprecated in the future. Use [Advanced Content Filter](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_acf.html) to replicate the effect of setting it to `true`.
+	* Backward incompatibility: The [`config.pasteFromWordNumberedHeadingToList`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-pasteFromWordNumberedHeadingToList) and [`config.pasteFromWordRemoveStyles`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-pasteFromWordRemoveStyles) options were dropped and no longer have any effect on pasted content.
+	* Major improvements in preservation of list numbering, styling and indentation (nested lists with multiple levels).
+	* Major improvements in document structure parsing that fix plenty of issues with distorted or missing content after paste.
+* Added new translation: Occitan. Thanks to [Cédric Valmary](https://totenoc.eu/)!
+* [#10015](https://dev.ckeditor.com/ticket/10015): Keyboard shortcuts (relevant to the operating system in use) will now be displayed in tooltips and context menus.
+* [#13794](https://dev.ckeditor.com/ticket/13794): The [Upload Image](https://ckeditor.com/cke4/addon/uploadimage) feature now uses `uploaded.width/height` if set.
+* [#12541](https://dev.ckeditor.com/ticket/12541): Added the [Upload File](https://ckeditor.com/cke4/addon/uploadfile) plugin that lets you upload a file by drag&amp;dropping it into the editor content.
+* [#14449](https://dev.ckeditor.com/ticket/14449): Introduced the [Balloon Panel](https://ckeditor.com/cke4/addon/balloonpanel) plugin that lets you create stylish floating UI elements for the editor.
+* [#12077](https://dev.ckeditor.com/ticket/12077): Added support for the HTML5 `download` attribute in link (`<a>`) elements. Selecting the "Force Download" checkbox in the [Link](https://ckeditor.com/cke4/addon/link) dialog will cause the linked file to be downloaded automatically. Thanks to [sbusse](https://github.com/sbusse)!
+* [#13518](https://dev.ckeditor.com/ticket/13518): Introduced the [`additionalRequestParameters`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_fileTools_uploadWidgetDefinition.html#property-additionalRequestParameters) property for file uploads to make it possible to send additional information about the uploaded file to the server.
+* [#14889](https://dev.ckeditor.com/ticket/14889): Added the [`config.image2_altRequired`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-image2_altRequired) option for the [Enhanced Image](https://ckeditor.com/cke4/addon/image2) plugin to allow making alternative text a mandatory field. Thanks to [Andrey Fedoseev](https://github.com/andreyfedoseev)!
+
+Fixed Issues:
+
+* [#9991](https://dev.ckeditor.com/ticket/9991): Fixed: [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword) should only normalize input data.
+* [#7209](https://dev.ckeditor.com/ticket/7209): Fixed: Lists with 3 levels not [pasted from Word](https://ckeditor.com/cke4/addon/pastefromword) correctly.
+* [#14335](https://dev.ckeditor.com/ticket/14335): Fixed: Pasting a numbered list starting with a value different from "1" from Microsoft Word does not work correctly.
+* [#14542](https://dev.ckeditor.com/ticket/14542): Fixed: Copying a numbered list from Microsoft Word does not preserve list formatting.
+* [#14544](https://dev.ckeditor.com/ticket/14544): Fixed: Copying a nested list from Microsoft Word results in an empty list.
+* [#14660](https://dev.ckeditor.com/ticket/14660): Fixed: [Pasting text from  Word](https://ckeditor.com/cke4/addon/pastefromword) breaks the styling in some cases.
+* [#14867](https://dev.ckeditor.com/ticket/14867): [Firefox] Fixed: Text gets stripped when [pasting content from Word](https://ckeditor.com/cke4/addon/pastefromword).
+* [#2507](https://dev.ckeditor.com/ticket/2507): Fixed: [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword) does not detect pasting a part of a paragraph.
+* [#3336](https://dev.ckeditor.com/ticket/3336): Fixed: Extra blank row added on top of the content [pasted from Word](https://ckeditor.com/cke4/addon/pastefromword).
+* [#6115](https://dev.ckeditor.com/ticket/6115): Fixed: When Right-to-Left text direction is applied to a table [pasted from Word](https://ckeditor.com/cke4/addon/pastefromword), borders are missing on one side.
+* [#6342](https://dev.ckeditor.com/ticket/6342): Fixed: [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword) filters out a basic text style when it is [configured to use attributes](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_basicstyles.html#custom-basic-text-style-definition).
+* [#6457](https://dev.ckeditor.com/ticket/6457): [IE] Fixed: [Pasting from Word](https://ckeditor.com/cke4/addon/pastefromword) is extremely slow.
+* [#6789](https://dev.ckeditor.com/ticket/6789): Fixed: The `mso-list: ignore` style is not handled properly when [pasting from Word](https://ckeditor.com/cke4/addon/pastefromword).
+* [#7262](https://dev.ckeditor.com/ticket/7262): Fixed: Lists in preformatted body disappear when [pasting from Word](https://ckeditor.com/cke4/addon/pastefromword).
+* [#7662](https://dev.ckeditor.com/ticket/7662): [Opera] Fixed: Extra empty number/bullet shown in the editor body when editing a multi-level list [pasted from Word](https://ckeditor.com/cke4/addon/pastefromword).
+* [#7807](https://dev.ckeditor.com/ticket/7807): Fixed: Last item in a list not converted to a `<li>` element after [pasting from Word](https://ckeditor.com/cke4/addon/pastefromword).
+* [#7950](https://dev.ckeditor.com/ticket/7950): [IE] Fixed: Content [from Word pasted](https://ckeditor.com/cke4/addon/pastefromword) differently than in other browsers.
+* [#7982](https://dev.ckeditor.com/ticket/7982): Fixed: Multi-level lists get split into smaller ones when [pasting from Word](https://ckeditor.com/cke4/addon/pastefromword).
+* [#8231](https://dev.ckeditor.com/ticket/8231): [WebKit, Opera] Fixed: [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword) inserts empty paragraphs.
+* [#8266](https://dev.ckeditor.com/ticket/8266): Fixed: [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword) inserts a blank line at the top.
+* [#8341](https://dev.ckeditor.com/ticket/8341), [#7646](https://dev.ckeditor.com/ticket/7646): Fixed: Faulty removal of empty `<span>` elements in [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword) content cleanup breaking content formatting.
+* [#8754](https://dev.ckeditor.com/ticket/8754): [Firefox] Fixed: Incorrect pasting of multiple nested lists in [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword).
+* [#8983](https://dev.ckeditor.com/ticket/8983): Fixed: Alignment lost when [pasting from Word](https://ckeditor.com/cke4/addon/pastefromword) with [`config.enterMode`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-enterMode) set to [`CKEDITOR.ENTER_BR`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.html#property-ENTER_BR).
+* [#9331](https://dev.ckeditor.com/ticket/9331): [IE] Fixed: [Pasting text from Word](https://ckeditor.com/cke4/addon/pastefromword) creates a simple Caesar cipher.
+* [#9422](https://dev.ckeditor.com/ticket/9422): Fixed: [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword) leaves an unwanted `color:windowtext` style.
+* [#10011](https://dev.ckeditor.com/ticket/10011): [IE9-10] Fixed: [`config.pasteFromWordRemoveFontStyles`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-pasteFromWordRemoveFontStyles) is ignored under certain conditions.
+* [#10643](https://dev.ckeditor.com/ticket/10643): Fixed: Differences between using <kbd>Ctrl+V</kbd> and pasting from the [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword) dialog.
+* [#10784](https://dev.ckeditor.com/ticket/10784): Fixed: Lines missing when [pasting from Word](https://ckeditor.com/cke4/addon/pastefromword).
+* [#11294](https://dev.ckeditor.com/ticket/11294): [IE10] Fixed: Font size is not preserved when [pasting from Word](https://ckeditor.com/cke4/addon/pastefromword).
+* [#11627](https://dev.ckeditor.com/ticket/11627): Fixed: Missing words when [pasting from Word](https://ckeditor.com/cke4/addon/pastefromword).
+* [#12784](https://dev.ckeditor.com/ticket/12784): Fixed: Bulleted list with custom bullets gets changed to a numbered list when [pasting from Word](https://ckeditor.com/cke4/addon/pastefromword).
+* [#13174](https://dev.ckeditor.com/ticket/13174): Fixed: Data loss after [pasting from Word](https://ckeditor.com/cke4/addon/pastefromword).
+* [#13828](https://dev.ckeditor.com/ticket/13828): Fixed: Widget classes should be added to the wrapper rather than the widget element.
+* [#13829](https://dev.ckeditor.com/ticket/13829): Fixed: No class in [Widget](https://ckeditor.com/cke4/addon/widget) wrapper to identify the widget type.
+* [#13519](https://dev.ckeditor.com/ticket/13519): Server response received when uploading files should be more flexible.
+
+Other Changes:
+
+* Updated [SCAYT](https://ckeditor.com/cke4/addon/scayt) (Spell Check As You Type) and [WebSpellChecker](https://ckeditor.com/cke4/addon/wsc) plugins:
+ 	* Support for the new default Moono-Lisa skin.
+ 	* [#121](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/121): Fixed: [Basic Styles](https://ckeditor.com/cke4/addon/basicstyles) do not work when SCAYT is enabled.
+ 	* [#125](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/125): Fixed: Inline styles are not continued when writing multiple lines of styled text with SCAYT enabled.
+ 	* [#127](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/127): Fixed: Uncaught TypeError after enabling SCAYT in the CKEditor `<div>` element.
+ 	* [#128](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/128): Fixed: Error thrown after enabling SCAYT caused by conflicts with RequireJS.
+
+## CKEditor 4.5.11
+
+**Security Updates:**
+
+* [Severity: minor] Fixed the `target="_blank"` vulnerability reported by James Gaskell.
+
+	Issue summary: If a victim had access to a spoofed version of ckeditor.com via HTTP (e.g. due to DNS spoofing, using a hacked public network or mailicious hotspot), then when using a link to the ckeditor.com website it was possible for the attacker to change the current URL of the opening page, even if the opening page was protected with SSL.
+
+  An upgrade is recommended.
+
+New Features:
+
+* [#14747](https://dev.ckeditor.com/ticket/14747): The [Enhanced Image](https://ckeditor.com/cke4/addon/image2) caption now supports the link `target` attribute.
+* [#7154](https://dev.ckeditor.com/ticket/7154): Added support for the "Display Text" field to the [Link](https://ckeditor.com/cke4/addon/link) dialog. Thanks to [Ryan Guill](https://github.com/ryanguill)!
+
+Fixed Issues:
+
+* [#13362](https://dev.ckeditor.com/ticket/13362): [Blink, WebKit] Fixed: Active widget element is not cached when it is losing focus and it is inside an editable element.
+* [#13755](https://dev.ckeditor.com/ticket/13755): [Edge] Fixed: Pasting images does not work.
+* [#13548](https://dev.ckeditor.com/ticket/13548): [IE] Fixed: Clicking the [elements path](https://ckeditor.com/cke4/addon/elementspath) disables Cut and Copy icons.
+* [#13812](https://dev.ckeditor.com/ticket/13812): Fixed: When aborting file upload the placeholder for image is left.
+* [#14659](https://dev.ckeditor.com/ticket/14659): [Blink] Fixed: Content scrolled to the top after closing the dialog in a [`<div>`-based editor](https://ckeditor.com/cke4/addon/divarea).
+* [#14825](https://dev.ckeditor.com/ticket/14825): [Edge] Fixed: Focusing the editor causes unwanted scrolling due to dropped support for the `setActive()` method.
+
+## CKEditor 4.5.10
+
+Fixed Issues:
+
+* [#10750](https://dev.ckeditor.com/ticket/10750): Fixed: The editor does not escape the `font-style` family property correctly, removing quotes and whitespace from font names.
+* [#14413](https://dev.ckeditor.com/ticket/14413): Fixed: The [Auto Grow](https://ckeditor.com/cke4/addon/autogrow) plugin with the [`config.autoGrow_onStartup`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-autoGrow_onStartup) option set to `true` does not work properly for an editor that is not visible.
+* [#14451](https://dev.ckeditor.com/ticket/14451): Fixed: Numeric element ID not escaped properly. Thanks to [Jakub Chalupa](https://github.com/chaluja7)!
+* [#14590](https://dev.ckeditor.com/ticket/14590): Fixed: Additional line break appearing after inline elements when switching modes. Thanks to [dpidcock](https://github.com/dpidcock)!
+* [#14539](https://dev.ckeditor.com/ticket/14539): Fixed: JAWS reads "selected Blank" instead of "selected <widget name>" when selecting a widget.
+* [#14701](https://dev.ckeditor.com/ticket/14701): Fixed: More precise labels for [Enhanced Image](https://ckeditor.com/cke4/addon/image2) and [Placeholder](https://ckeditor.com/cke4/addon/placeholder) widgets.
+* [#14667](https://dev.ckeditor.com/ticket/14667): [IE] Fixed: Removing background color from selected text removes background color from the whole paragraph.
+* [#14252](https://dev.ckeditor.com/ticket/14252): [IE] Fixed: Styles drop-down list does not always reflect the current style of the text line.
+* [#14275](https://dev.ckeditor.com/ticket/14275): [IE9+] Fixed: `onerror` and `onload` events are not used in browsers it could have been used when loading scripts dynamically.
+
+## CKEditor 4.5.9
+
+Fixed Issues:
+
+* [#10685](https://dev.ckeditor.com/ticket/10685): Fixed: Unreadable toolbar icons after updating to the new editor version. Fixed with [6876179](https://github.com/ckeditor/ckeditor4/commit/6876179db4ee97e786b07b8fd72e6b4120732185) in [ckeditor4](https://github.com/ckeditor/ckeditor4) and [6c9189f4](https://github.com/ckeditor/ckeditor4-presets/commit/6c9189f46392d2c126854fe8889b820b8c76d291) in [ckeditor4-presets](https://github.com/ckeditor/ckeditor4-presets).
+* [#14573](https://dev.ckeditor.com/ticket/14573): Fixed: Missing [Widget](https://ckeditor.com/cke4/addon/widget) drag handler CSS when there are multiple editor instances.
+* [#14620](https://dev.ckeditor.com/ticket/14620): Fixed: Setting both the `min-height` style for the `<body>` element and the `height` style for the `<html>` element breaks the [Auto Grow](https://ckeditor.com/cke4/addon/autogrow) plugin.
+* [#14538](https://dev.ckeditor.com/ticket/14538): Fixed: Keyboard focus goes into an embedded `<iframe>` element.
+* [#14602](https://dev.ckeditor.com/ticket/14602): Fixed: The [`dom.element.removeAttribute()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_element.html#method-removeAttribute) method does not remove all attributes if no parameter is given.
+* [#8679](https://dev.ckeditor.com/ticket/8679): Fixed: Better focus indication and ability to style the selected color in the [color picker dialog](https://ckeditor.com/cke4/addon/colordialog).
+* [#11697](https://dev.ckeditor.com/ticket/11697): Fixed: Content is replaced ignoring the letter case setting in the [Find and Replace](https://ckeditor.com/cke4/addon/find) dialog window.
+* [#13886](https://dev.ckeditor.com/ticket/13886): Fixed: Invalid handling of the [`CKEDITOR.style`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.style.html) instance with the `styles` property by [`CKEDITOR.filter`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.filter.html).
+* [#14535](https://dev.ckeditor.com/ticket/14535): Fixed: CSS syntax corrections. Thanks to [mdjdenormandie](https://github.com/mdjdenormandie)!
+
+## CKEditor 4.5.8
+
+New Features:
+
+* [#12440](https://dev.ckeditor.com/ticket/12440): Added the [`config.colorButton_enableAutomatic`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-colorButton_enableAutomatic) option to allow hiding the "Automatic" option in the [color picker](https://ckeditor.com/cke4/addon/colorbutton).
+
+Fixed Issues:
+
+* [#10448](https://dev.ckeditor.com/ticket/10448): Fixed: Lack of scrollbar in the [right-to-left text direction](https://ckeditor.com/cke4/addon/bidi).
+* [#12707](https://dev.ckeditor.com/ticket/12707): Fixed: The order of table elements does not comply with the HTML specification.
+* [#13756](https://dev.ckeditor.com/ticket/13756): [Edge] Fixed: Context menus are cut-off.
+
+## CKEditor 4.5.7
+
+New Features:
+
+* [#14327](https://dev.ckeditor.com/ticket/14327): Added Swiss German localization. Thanks to [Miro Grenda](https://twitter.com/mirogrenda)!
+
+Fixed Issues:
+
+* [#13816](https://dev.ckeditor.com/ticket/13816): Introduced a new strategy for Filling Character handling to avoid changes in DOM. This fixes the following issues:
+	* [#12727](https://dev.ckeditor.com/ticket/12727): [Blink] `IndexSizeError` when using the [Div Editing Area](https://ckeditor.com/cke4/addon/divarea) and [Content Templates](https://ckeditor.com/cke4/addon/templates) plugins.
+	* [#13377](https://dev.ckeditor.com/ticket/13377): [Widget](https://ckeditor.com/cke4/addon/widget) plugin issue when typing in Korean.
+	* [#13389](https://dev.ckeditor.com/ticket/13389): [Blink] [`editor.getData()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-getData) fails when the cursor is next to an `<hr>` tag.
+	* [#13513](https://dev.ckeditor.com/ticket/13513): [Blink, WebKit] [Div Editing Area](https://ckeditor.com/cke4/addon/divarea) and [`editor.getData()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-getData) throw an error when an image is the only data in the editor.
+* [#13884](https://dev.ckeditor.com/ticket/13884): [Firefox] Fixed: Copying and pasting a table results in just the first cell being pasted.
+* [#14234](https://dev.ckeditor.com/ticket/14234): Fixed: URL input field is not marked as required in the [Media Embed](https://ckeditor.com/cke4/addon/embed) dialog.
+
+## CKEditor 4.5.6
+
+New Features:
+
+* Introduced the [`CKEDITOR.tools.getCookie()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools.html#method-getCookie) and [`CKEDITOR.tools.setCookie()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools.html#method-setCookie) methods for accessing cookies.
+* Introduced the [`CKEDITOR.tools.getCsrfToken()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools.html#method-getCsrfToken) method. The CSRF token is now automatically sent by the [File Browser](https://ckeditor.com/cke4/addon/filebrowser) and [File Tools](https://ckeditor.com/cke4/addon/filetools) plugins during file uploads. The server-side upload handlers may check it and use it to additionally secure the communication.
+
+Other Changes:
+
+* Updated [SCAYT](https://ckeditor.com/cke4/addon/scayt) (Spell Check As You Type):
+	- New features:
+		- CKEditor [Language](https://ckeditor.com/cke4/addon/language) plugin support.
+		- CKEditor [Placeholder](https://ckeditor.com/cke4/addon/placeholder) plugin support.
+		- [Drag&Drop](https://ckeditor.com/docs/ckeditor4/latest/examples/fileupload.html) support.
+		- **Experimental** [GRAYT](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-grayt_autoStartup) (Grammar As You Type) functionality.
+	- Fixed issues:
+		* [#98](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/98): SCAYT affects dialog double-click. Fixed in SCAYT core.
+		* [#102](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/102): SCAYT core performance enhancements.
+		* [#104](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/104): SCAYT's spans leak into the clipboard and after pasting.
+		* [#105](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/105): A JavaScript error fired in case of multiple instances of CKEditor on one page.
+		* [#107](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/107): SCAYT should not check non-editable parts of content.
+		* [#108](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/108): Latest SCAYT copies the ID of the editor element to the iframe.
+		* SCAYT stops working when CKEditor [Undo plugin](https://ckeditor.com/cke4/addon/undo) not enabled.
+		* Issue with pasting SCAYT markup in CKEditor.
+		* SCAYT stops working after pressing the *Cancel* button in the WSC dialog.
+
+## CKEditor 4.5.5
+
+Fixed Issues:
+
+* [#13887](https://dev.ckeditor.com/ticket/13887): Fixed: [Link](https://ckeditor.com/cke4/addon/link) plugin alters the `target` attribute value. Thanks to [SamZiemer](https://github.com/SamZiemer)!
+* [#12189](https://dev.ckeditor.com/ticket/12189): Fixed: The [Link](https://ckeditor.com/cke4/addon/link) plugin dialog does not display the subject of email links if the subject parameter is not lowercase.
+* [#9192](https://dev.ckeditor.com/ticket/9192): Fixed: An `undefined` string is appended to an email address added with the [Link](https://ckeditor.com/cke4/addon/link) plugin if subject and email body are empty and [`config.emailProtection`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-emailProtection) is set to `encode`.
+* [#13790](https://dev.ckeditor.com/ticket/13790): Fixed: It is not possible to destroy the editor `<iframe>` after the editor was detached from DOM. Thanks to [Stefan Rijnhart](https://github.com/StefanRijnhart)!
+* [#13803](https://dev.ckeditor.com/ticket/13803): Fixed: The editor cannot be destroyed before being fully initialized. Thanks to [Cyril Fluck](https://github.com/cyril-sf)!
+* [#13867](https://dev.ckeditor.com/ticket/13867): Fixed: CKEditor does not work when the `classList` polyfill is used.
+* [#13885](https://dev.ckeditor.com/ticket/13885): Fixed: [Enhanced Image](https://ckeditor.com/cke4/addon/image2) requires the [Link](https://ckeditor.com/cke4/addon/link) plugin to link an image.
+* [#13883](https://dev.ckeditor.com/ticket/13883): Fixed: Copying a table using the context menu strips off styles.
+* [#13872](https://dev.ckeditor.com/ticket/13872): Fixed: Cutting is possible in the [read-only](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#property-readOnly) mode.
+* [#12848](https://dev.ckeditor.com/ticket/12848): [Blink] Fixed: Opening the [Find and Replace](https://ckeditor.com/cke4/addon/find) dialog window in the [read-only](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#property-readOnly) mode throws an exception.
+* [#13879](https://dev.ckeditor.com/ticket/13879): Fixed: It is not possible to prevent the [`editor.drop`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#event-drop) event.
+* [#13361](https://dev.ckeditor.com/ticket/13361): Fixed: Skin images fail when the site path includes parentheses because the `background-image` path needs single quotes around the URL value.
+* [#13771](https://dev.ckeditor.com/ticket/13771): Fixed: The `contents.css` style is not used if the [IFrame Editing Area](https://ckeditor.com/cke4/addon/wysiwygarea) plugin is missing.
+* [#13782](https://dev.ckeditor.com/ticket/13782): Fixed: Unclear log messages.
+* [#13919](https://dev.ckeditor.com/ticket/13919): [Edge] Fixed: Browser window crashes when accessing the `isContentEditable` property of an `<input>` DOM element.
+
+Other Changes:
+
+* [#13859](https://dev.ckeditor.com/ticket/13859): Test cases created with `bender.tools.createTestsForEditors` will also receive editor bot as a second parameter.
+
+## CKEditor 4.5.4
+
+New Features:
+
+* [#13632](https://dev.ckeditor.com/ticket/13632): Introduce error logging mechanism.
+* [#13730](https://dev.ckeditor.com/ticket/13730): Switch to the new error logging mechanism.
+
+Fixed Issues:
+
+* [#9856](https://dev.ckeditor.com/ticket/9856): Fixed: Cannot use the native context menu together with the [Div Editing Area](https://ckeditor.com/cke4/addon/divarea) plugin. Thanks to [Mark Wade](https://github.com/mark-wade)!
+* [#12733](https://dev.ckeditor.com/ticket/12733): [IE9+] Fixed: Radio button `onChange` does not work. Thanks to [Iliya Kostadinov](https://github.com/iliyakostadinov)!
+* [#13142](https://dev.ckeditor.com/ticket/13142): [Edge] Fixed: *Ctrl+A* and then *Backspace* result in an empty `<div>` element.
+* [#13599](https://dev.ckeditor.com/ticket/13599): Fixed: Cross-editor drag and drop of an inline widget results in error/artifacts.
+* [#13640](https://dev.ckeditor.com/ticket/13640): [IE] Fixed: Dropping a widget outside the `<body>` element is not handled correctly.
+* [#13533](https://dev.ckeditor.com/ticket/13533): Fixed: No progress during upload.
+* [#13680](https://dev.ckeditor.com/ticket/13680): Fixed: The parser should allow the `<h1-6>` element to be a child of the `<summary>` element.
+* [#11724](https://dev.ckeditor.com/ticket/11724): [Touch devices] Fixed: Drop-downs often hide right after opening them.
+* [#13690](https://dev.ckeditor.com/ticket/13690): Fixed: Copying content from IE to Chrome adds an extra paragraph.
+* [#13284](https://dev.ckeditor.com/ticket/13284): Fixed: Cannot drag and drop a widget if the text caret is placed just after the widget instance.
+* [#13516](https://dev.ckeditor.com/ticket/13516): Fixed: CKEditor removes empty HTML5 anchors without the `name` attribute.
+* [#13765](https://dev.ckeditor.com/ticket/13765): [Safari 9] Fixed: Problems with rendering samples.
+
+Other Changes:
+
+* [#11725](https://dev.ckeditor.com/ticket/11725): Marked [`CKEDITOR.env.mobile`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_env.html#property-mobile) as deprecated. The reason is that it is no longer clear what "mobile" means.
+* [#13737](https://dev.ckeditor.com/ticket/13737): Upgraded [Bender.js](https://github.com/benderjs/benderjs) to 0.4.1.
+
+## CKEditor 4.5.3
+
+New Features:
+
+* [#13501](https://dev.ckeditor.com/ticket/13501): Added the [`config.fileTools_defaultFileName`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-fileTools_defaultFileName) option to allow setting a default file name for paste uploads.
+* [#13603](https://dev.ckeditor.com/ticket/13603): Added support for uploading dropped BMP images.
+
+Fixed Issues:
+
+* [#13590](https://dev.ckeditor.com/ticket/13590): Fixed: Various issues related to the [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword) feature. Fixes also:
+  * [#11215](https://dev.ckeditor.com/ticket/11215),
+  * [#8780](https://dev.ckeditor.com/ticket/8780),
+  * [#12762](https://dev.ckeditor.com/ticket/12762).
+* [#13386](https://dev.ckeditor.com/ticket/13386): [Edge] Fixed: Issues with selecting and editing images.
+* [#13568](https://dev.ckeditor.com/ticket/13568): Fixed: The [`editor.getSelectedHtml()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-getSelectedHtml) method returns invalid results for entire content selection.
+* [#13453](https://dev.ckeditor.com/ticket/13453): Fixed: Drag&drop of entire editor content throws an error.
+* [#13465](https://dev.ckeditor.com/ticket/13465): Fixed: Error is thrown and the widget is lost on drag&drop if it is the only content of the editor.
+* [#13414](https://dev.ckeditor.com/ticket/13414): Fixed: Content auto paragraphing in a nested editable despite editor configuration.
+* [#13429](https://dev.ckeditor.com/ticket/13429): Fixed: Incorrect selection after content insertion by the [Auto Embed](https://ckeditor.com/cke4/addon/autoembed) plugin.
+* [#13388](https://dev.ckeditor.com/ticket/13388): Fixed: [Table Resize](https://ckeditor.com/cke4/addon/tableresize) integration with [Undo](https://ckeditor.com/cke4/addon/undo) is broken.
+
+Other Changes:
+
+* [#13637](https://dev.ckeditor.com/ticket/13637): Several icons were refactored.
+* Updated [Bender.js](https://github.com/benderjs/benderjs) to 0.3.0 and introduced the ability to run tests via HTTPs ([#13265](https://dev.ckeditor.com/ticket/13265)).
+
+## CKEditor 4.5.2
+
+Fixed Issues:
+
+* [#13609](https://dev.ckeditor.com/ticket/13609): [Edge] Fixed: The browser crashes when switching to the source mode. Thanks to [Andrew Williams and Mark Smeed](http://webxsolution.com/)!
+* [PR#201](https://github.com/ckeditor/ckeditor4/pull/201): Fixed: Buttons in the toolbar configurator cause form submission. Thanks to [colemanw](https://github.com/colemanw)!
+* [#13422](https://dev.ckeditor.com/ticket/13422): Fixed: A monospaced font should be used in the `<textarea>` element storing editor configuration in the toolbar configurator.
+* [#13494](https://dev.ckeditor.com/ticket/13494): Fixed: Error thrown in the toolbar configurator if plugin requirements are not met.
+* [#13409](https://dev.ckeditor.com/ticket/13409): Fixed: List elements incorrectly merged when pressing *Backspace* or *Delete*.
+* [#13434](https://dev.ckeditor.com/ticket/13434): Fixed: Dialog state indicator broken in Right–To–Left environments.
+* [#13460](https://dev.ckeditor.com/ticket/13460): [IE8] Fixed: Copying inline widgets is broken when [Advanced Content Filter](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_acf.html) is disabled.
+* [#13495](https://dev.ckeditor.com/ticket/13495): [Firefox, IE] Fixed: Text is not word-wrapped in the Paste dialog window.
+* [#13528](https://dev.ckeditor.com/ticket/13528): [Firefox@Windows] Fixed: Content copied from Microsoft Word and other external applications is pasted as a plain text. Removed the `CKEDITOR.plugins.clipboard.isHtmlInExternalDataTransfer` property as the check must be dynamic.
+* [#13583](https://dev.ckeditor.com/ticket/13583): Fixed: [`DataTransfer.getData()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_clipboard_dataTransfer.html#method-getData) should work consistently in all browsers and should not strip valuable content. Fixed pasting tables from Microsoft Excel on Chrome.
+* [#13468](https://dev.ckeditor.com/ticket/13468): [IE] Fixed: Binding drag&drop `dataTransfer` does not work if `text` data was set in the meantime.
+* [#13451](https://dev.ckeditor.com/ticket/13451): [IE8-9] Fixed: One drag&drop operation may affect following ones.
+* [#13184](https://dev.ckeditor.com/ticket/13184): Fixed: Web page reloaded after a drop on editor UI.
+* [#13129](https://dev.ckeditor.com/ticket/13129) Fixed: Block widget blurred after a drop followed by an undo.
+* [#13397](https://dev.ckeditor.com/ticket/13397): Fixed: Drag&drop of a widget inside its nested widget crashes the editor.
+* [#13385](https://dev.ckeditor.com/ticket/13385): Fixed: [`editor.getSnapshot()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-getSnapshot) may return a non-string value.
+* [#13419](https://dev.ckeditor.com/ticket/13419): Fixed: The [Auto Link](https://ckeditor.com/cke4/addon/autolink) plugin does not encode double quotes in URLs.
+* [#13420](https://dev.ckeditor.com/ticket/13420): Fixed: The [Auto Embed](https://ckeditor.com/cke4/addon/autoembed) plugin ignores encoded characters in URL parameters.
+* [#13410](https://dev.ckeditor.com/ticket/13410): Fixed: Error thrown in the [Auto Embed](https://ckeditor.com/cke4/addon/autoembed) plugin when undoing right after pasting a link.
+* [#13566](https://dev.ckeditor.com/ticket/13566): Fixed: Suppressed notifications in the [Media Embed Base](https://ckeditor.com/cke4/addon/embedbase) plugin.
+* [#11616](https://dev.ckeditor.com/ticket/11616): [Chrome] Fixed: Resizing the editor while it is not displayed breaks the editable. Fixes also [#9160](https://dev.ckeditor.com/ticket/9160) and [#9715](https://dev.ckeditor.com/ticket/9715).
+* [#11376](https://dev.ckeditor.com/ticket/11376): [IE11] Fixed: Loss of text when pasting bulleted lists from Microsoft Word.
+* [#13143](https://dev.ckeditor.com/ticket/13143): [Edge] Fixed: Focus lost when opening the panel.
+* [#13387](https://dev.ckeditor.com/ticket/13387): [Edge] Fixed: "Permission denied" error thrown when loading the editor with developer tools open.
+* [#13574](https://dev.ckeditor.com/ticket/13574): [Edge] Fixed: "Permission denied" error thrown when opening editor dialog windows.
+* [#13441](https://dev.ckeditor.com/ticket/13441): [Edge] Fixed: The [Clipboard](https://ckeditor.com/cke4/addon/clipboard) plugin breaks the state of [Undo](https://ckeditor.com/cke4/addon/undo) commands after a paste.
+* [#13554](https://dev.ckeditor.com/ticket/13554): [Edge] Fixed: Paste dialog's iframe does not receive focus on show.
+* [#13440](https://dev.ckeditor.com/ticket/13440): [Edge] Fixed: Unable to paste a widget.
+
+Other Changes:
+
+* [#13421](https://dev.ckeditor.com/ticket/13421): UX improvements to notifications in the [Auto Embed](https://ckeditor.com/cke4/addon/autoembed) plugin.
+
+## CKEditor 4.5.1
+
+Fixed Issues:
+
+* [#13486](https://dev.ckeditor.com/ticket/13486): Fixed: The [Upload Image](https://ckeditor.com/cke4/addon/uploadimage) plugin should log an error, not throw an error when upload URL is not set.
+
+## CKEditor 4.5
+
+New Features:
+
+* [#13304](https://dev.ckeditor.com/ticket/13304): Added support for passing DOM elements to [`config.sharedSpaces`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-sharedSpaces). Thanks to [Undergrounder](https://github.com/Undergrounder)!
+* [#13215](https://dev.ckeditor.com/ticket/13215): Added ability to cancel fetching a resource by the Embed plugins.
+* [#13213](https://dev.ckeditor.com/ticket/13213): Added the [`dialog#setState()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dialog.html#method-setState) method and used it in the [Embed](https://ckeditor.com/cke4/addon/embed) dialog to indicate that a resource is being loaded.
+* [#13337](https://dev.ckeditor.com/ticket/13337): Added the [`repository.onWidget()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_widget_repository.html#method-onWidget) method &mdash; a convenient way to listen to [widget](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.plugins.widget.html) events through the [repository](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.plugins.widget.repository.html).
+* [#13214](https://dev.ckeditor.com/ticket/13214): Added support for pasting links that convert into embeddable resources on the fly.
+
+Fixed Issues:
+
+* [#13334](https://dev.ckeditor.com/ticket/13334): Fixed: Error after nesting widgets and playing with undo/redo.
+* [#13118](https://dev.ckeditor.com/ticket/13118): Fixed: The [`editor.getSelectedHtml()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-getSelectedHtml) method throws an error when called in the source mode.
+* [#13158](https://dev.ckeditor.com/ticket/13158): Fixed: Error after canceling a dialog when creating a widget.
+* [#13197](https://dev.ckeditor.com/ticket/13197): Fixed: Linked inline [Enhanced Image](https://ckeditor.com/cke4/addon/image2) alignment class is not transferred to the widget wrapper.
+* [#13199](https://dev.ckeditor.com/ticket/13199): Fixed: [Semantic Embed](https://ckeditor.com/cke4/addon/embedsemantic) does not support widget classes.
+* [#13003](https://dev.ckeditor.com/ticket/13003): Fixed: Anchors are uploaded when moving them by drag and drop.
+* [#13032](https://dev.ckeditor.com/ticket/13032): Fixed: When upload is done, notification update should be marked as important.
+* [#13300](https://dev.ckeditor.com/ticket/13300): Fixed: The `internalCommit` argument in the [Image](https://ckeditor.com/cke4/addon/image) dialog seems to be never used.
+* [#13036](https://dev.ckeditor.com/ticket/13036): Fixed: Notifications are moved 10px to the right.
+* [#13280](https://dev.ckeditor.com/ticket/13280): [IE8] Fixed: Undo after inline widget drag&drop throws an error.
+* [#13186](https://dev.ckeditor.com/ticket/13186): Fixed: Content dropped into a nested editable is not filtered by [Advanced Content Filter](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_acf.html).
+* [#13140](https://dev.ckeditor.com/ticket/13140): Fixed: Error thrown when dropping a block widget right after itself.
+* [#13176](https://dev.ckeditor.com/ticket/13176): [IE8] Fixed: Errors on drag&drop of embed widgets.
+* [#13015](https://dev.ckeditor.com/ticket/13015): Fixed: Dropping an image file on [Enhanced Image](https://ckeditor.com/cke4/addon/image2) causes a page reload.
+* [#13080](https://dev.ckeditor.com/ticket/13080): Fixed: Ugly notification shown when the response contains HTML content.
+* [#13011](https://dev.ckeditor.com/ticket/13011): [IE8] Fixed: Anchors are duplicated on drag&drop in specific locations.
+* [#13105](https://dev.ckeditor.com/ticket/13105): Fixed: Various issues related to [`CKEDITOR.tools.htmlEncode()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools.html#method-htmlEncode) and [`CKEDITOR.tools.htmlDecode()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools.html#method-htmlDecode) methods.
+* [#11976](https://dev.ckeditor.com/ticket/11976): [Chrome] Fixed: Copy&paste and drag&drop lists from Microsoft Word.
+* [#13128](https://dev.ckeditor.com/ticket/13128): Fixed: Various issues with cloning element IDs:
+  * Fixed the default behavior of [`range.cloneContents()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_range.html#method-cloneContents) and [`range.extractContents()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_range.html#method-extractContents) methods which now clone IDs similarly to their native counterparts.
+  * Added `cloneId` arguments to the above methods, [`range.splitBlock()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_range.html#method-splitBlock) and [`element.breakParent()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_element.html#method-breakParent). Mind the default values and special behavior in the `extractContents()` method!
+  * Fixed issues where IDs were lost on copy&paste and drag&drop.
+* Toolbar configurators:
+  * [#13185](https://dev.ckeditor.com/ticket/13185): Fixed: Wrong position of the suggestion box if there is not enough space below the caret.
+  * [#13138](https://dev.ckeditor.com/ticket/13138): Fixed: The "Toggle empty elements" button label is unclear.
+  * [#13136](https://dev.ckeditor.com/ticket/13136): Fixed: Autocompleter is far too intrusive.
+  * [#13133](https://dev.ckeditor.com/ticket/13133): Fixed: Tab leaves the editor.
+  * [#13173](https://dev.ckeditor.com/ticket/13173): Fixed: [`config.removeButtons`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-removeButtons) is ignored by the advanced toolbar configurator.
+
+Other Changes:
+
+* [#13119](https://dev.ckeditor.com/ticket/13119): Improved compatibility of editor skins ([Moono](https://ckeditor.com/cke4/addon/moono) and [Kama](https://ckeditor.com/cke4/addon/kama)) with external web page style sheets.
+* Toolbar configurators:
+  * [#13147](https://dev.ckeditor.com/ticket/13147): Added buttons to the sticky toolbar.
+  * [#13207](https://dev.ckeditor.com/ticket/13207): Used modal window to display toolbar configurator help.
+* [#13316](https://dev.ckeditor.com/ticket/13316): Made [`CKEDITOR.env.isCompatible`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_env.html#property-isCompatible) a blacklist rather than a whitelist. More about the change in the [Browser Compatibility](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_browsers.html) guide.
+* [#13398](https://dev.ckeditor.com/ticket/13398): Renamed `CKEDITOR.fileTools.UploadsRepository` to [`CKEDITOR.fileTools.UploadRepository`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.fileTools.uploadRepository.html) and changed all related properties.
+* [#13279](https://dev.ckeditor.com/ticket/13279): Reviewed CSS vendor prefixes.
+* [#13454](https://dev.ckeditor.com/ticket/13454): Removed unused `lang.image.alertUrl` token from the [Image](https://ckeditor.com/cke4/addon/image) plugin.
+
+## CKEditor 4.5 Beta
+
+New Features:
+
+* Clipboard (copy&paste, drag&drop) and file uploading features and improvements ([#11437](https://dev.ckeditor.com/ticket/11437)).
+
+  * Major features:
+    * Support for dropping and pasting files into the editor was introduced. Through a set of new facades for native APIs it is now possible to easily intercept and process inserted files.
+    * [File upload tools](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.fileTools.html) were introduced in order to simplify controlling the loading, uploading and handling server response, properly handle [new upload configuration](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-uploadUrl) options, etc.
+    * [Upload Image](https://ckeditor.com/cke4/addon/uploadimage) widget was introduced to upload dropped images. A base class for the [upload widget](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.fileTools.uploadWidgetDefinition.html) was exposed, too, to make it simple to create new types of upload widgets which can handle any type of dropped file, show the upload progress and update the content when the process is done. It also handles editing and undo/redo operations when a file is being uploaded and integrates with the [notification aggregator](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.plugins.notificationAggregator.html) to show progress and success or error.
+    * All drag and drop operations were integrated with the editor. All dropped content is passed through the [`editor#paste`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#event-paste) event and a set of new editor events was introduced &mdash; [`dragstart`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#event-dragstart), [`drop`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#event-drop), [`dragend`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#event-dragend).
+    * The [Data Transfer](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.plugins.clipboard.dataTransfer.html) facade was introduced to unify access to data in various types and files. [Data Transfer](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.plugins.clipboard.dataTransfer.html) is now always available in the [`editor#paste`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#event-paste) event.
+    * Switched from the pastebin to using the native clipboard access whenever possible. This solved many issues related to pastebin such as unnecessary scrolling or data loss. Additionally, on copy and cut from the editor the clipboard data is set. Therefore, on paste the editor has access to clean data, undisturbed by the browsers.
+    * Drag and drop of inline and block widgets was integrated with the standard clipboard APIs. By listening to drag events you will thus be notified about widgets, too. This opens a possibility to filter pasted and dropped widgets.
+    * The [`editor#paste`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#event-paste) event can have the `range` parameter so it is possible to change the paste position in the listener or paste in the not selectable position. Also the [`editor.insertHtml()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-insertHtml) method now accepts `range` as an additional parameter.
+    * [#11621](https://dev.ckeditor.com/ticket/11621): A configurable [paste filter](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-pasteFilter) was introduced. The filter is by default turned to `'semantic-content'` on Webkit and Blink for all pasted content coming from external sources because of the low quality of HTML that these engines put into the clipboard. Internal and cross-editor paste is safe due to the change explained in the previous point.
+
+  * Other changes and related fixes:
+    * [#12095](https://dev.ckeditor.com/ticket/12095): On drag and copy of widgets [the same method](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-getSelectedHtml) is used to get selected HTML as in the normal case. Thanks to that styles applied to inline widgets are not lost.
+    * [#11219](https://dev.ckeditor.com/ticket/11219): Fixed: Dragging a [captioned image](https://ckeditor.com/cke4/addon/image2) does not fire the [`editor#paste`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#event-paste) event.
+    * [#9554](https://dev.ckeditor.com/ticket/9554): [Webkit Mac] Fixed: Editor scrolls on paste.
+    * [#9898](https://dev.ckeditor.com/ticket/9898): [Webkit&Divarea] Fixed: Pasting causes undesirable scrolling.
+    * [#11993](https://dev.ckeditor.com/ticket/11993): [Chrome] Fixed: Pasting content scrolls the document.
+    * [#12613](https://dev.ckeditor.com/ticket/12613): Show the user that they can not drop on editor UI (toolbar, bottom bar).
+    * [#12851](https://dev.ckeditor.com/ticket/12851): [Blink/Webkit] Fixed: Formatting disappears when pasting content into cells.
+    * [#12914](https://dev.ckeditor.com/ticket/12914): Fixed: Copy/Paste of table broken in `div`-based editor.
+
+  * Browser support.<br>Browser support for related features varies significantly (see http://caniuse.com/clipboard).
+    * File APIs needed to operate and file upload is not supported in Internet Explorer 9 and below.
+    * Only Chrome and Safari on Mac OS support setting custom data items in the clipboard, so currently it is possible to recognize the origin of the copied content in these browsers only. All drag and drop operations can be identified thanks to the new Data Transfer facade.
+    * No Internet Explorer browser supports the standard clipboard API which results in small glitches like where only plain text can be dropped from outside the editor. Thanks to the new Data Transfer facade, internal and cross-editor drag and drop supports the full range of data.
+    * Direct access to clipboard could only be implemented in Chrome, Safari on Mac OS, Opera and Firefox. In other browsers the pastebin must still be used.
+
+* [#12875](https://dev.ckeditor.com/ticket/12875): Samples and toolbar configuration tools.
+  * The old set of samples shipped with every CKEditor package was replaced with a shiny new single-page sample. This change concluded a long term plan which started from introducing the [CKEditor SDK](https://ckeditor.com/docs/ckeditor4/latest/examples/index.html) and [CKEditor Features Overview](https://ckeditor.com/docs/ckeditor4/latest/features.html) section in the documentation which essentially redefined the old samples.
+  * Toolbar configurators with live previews were introduced. They will be shipped with every CKEditor package and are meant to help in configuring toolbar layouts.
+
+* [#10925](https://dev.ckeditor.com/ticket/10925): The [Media Embed](https://ckeditor.com/cke4/addon/embed) and [Semantic Media Embed](https://ckeditor.com/cke4/addon/embedsemantic) plugins were introduced. Read more about the new features in the [Embedding Content](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_media_embed.html) article.
+* [#10931](https://dev.ckeditor.com/ticket/10931): Added support for nesting widgets. It is now possible to insert one widget into another widget's nested editable. Note that unless nested editable's [allowed content](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_widget_nestedEditable_definition.html#property-allowedContent) is defined precisely, starting from CKEditor 4.5 some widget buttons may become enabled. This feature is not supported in IE8. Included issues:
+  * [#12018](https://dev.ckeditor.com/ticket/12018): Fixed and reviewed: Nested widgets garbage collection.
+  * [#12024](https://dev.ckeditor.com/ticket/12024): [Firefox] Fixed: Outline is extended to the left by unpositioned drag handlers.
+  * [#12006](https://dev.ckeditor.com/ticket/12006): Fixed: Drag and drop of nested block widgets.
+  * [#12008](https://dev.ckeditor.com/ticket/12008): Fixed various cases of inserting a single non-editable element using the [`editor.insertHtml()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-insertHtml) method. Fixes pasting a widget with a nested editable inside another widget's nested editable.
+
+* Notification system:
+  * [#11580](https://dev.ckeditor.com/ticket/11580): Introduced the [notification system](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.plugins.notification.html).
+  * [#12810](https://dev.ckeditor.com/ticket/12810): Introduced a [notification aggregator](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.plugins.notificationAggregator.html) for the [notification system](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.plugins.notification.html) which simplifies displaying progress of many concurrent tasks.
+* [#11636](https://dev.ckeditor.com/ticket/11636): Introduced new, UX-focused, methods for getting selected HTML and deleting it &mdash; [`editor.getSelectedHtml()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-getSelectedHtml) and [`editor.extractSelectedHtml()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-extractSelectedHtml).
+* [#12416](https://dev.ckeditor.com/ticket/12416): Added the [`widget.definition.upcastPriority`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_widget_definition.html#property-upcastPriority) property which gives more control over widget upcasting order to the widget author.
+* [#12036](https://dev.ckeditor.com/ticket/12036): Initialize the editor in [read-only](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#property-readOnly) mode when the `<textarea>` element has a `readonly` attribute.
+* [#11905](https://dev.ckeditor.com/ticket/11905): The [`resize` event](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#event-resize) passes the current dimensions in its data.
+* [#12126](https://dev.ckeditor.com/ticket/12126): Introduced [`config.image_prefillDimensions`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-image_prefillDimensions) and [`config.image2_prefillDimensions`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-image2_prefillDimensions) to make pre-filling `width` and `height` configurable for the [Enhanced Image](https://ckeditor.com/cke4/addon/image2).
+* [#12746](https://dev.ckeditor.com/ticket/12746): Added a new configuration option to hide the [Enhanced Image](https://ckeditor.com/cke4/addon/image2) resizer.
+* [#12150](https://dev.ckeditor.com/ticket/12150): Exposed the [`getNestedEditable()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_widget.html#static-method-getNestedEditable) and `is*` [widget helper](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.plugins.widget.html) functions (see the static methods).
+* [#12448](https://dev.ckeditor.com/ticket/12448): Introduced the [`editable.insertHtmlIntoRange`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editable.html#method-insertHtmlIntoRange) method.
+* [#12143](https://dev.ckeditor.com/ticket/12143): Added the [`config.floatSpacePreferRight`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-floatSpacePreferRight) configuration option that switches the alignment of the floating toolbar. Thanks to [InvisibleBacon](http://github.com/InvisibleBacon)!
+* [#10986](https://dev.ckeditor.com/ticket/10986): Added support for changing dialog input and textarea text directions by using the *Shift+Alt+Home/End* keystrokes. The direction is stored in the value of the input by prepending the [`\u202A`](http://unicode.org/cldr/utility/character.jsp?a=202A) or [`\u202B`](http://unicode.org/cldr/utility/character.jsp?a=202B) marker to it. Read more in the [documentation](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dialog_definition_textInput.html#property-bidi). Thanks to [edithkk](https://github.com/edithkk)!
+* [#12770](https://dev.ckeditor.com/ticket/12770): Added support for passing [widget](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.plugins.widget.html)'s startup data as a widget command's argument. Thanks to [Rebrov Boris](https://github.com/zipp3r) and [Tieme van Veen](https://github.com/tiemevanveen)!
+* [#11583](https://dev.ckeditor.com/ticket/11583): Added support for the HTML5 `required` attribute in various form elements. Thanks to [Steven Busse](https://github.com/sbusse)!
+
+Changes:
+
+* [#12858](https://dev.ckeditor.com/ticket/12858): Basic [Spartan](http://blogs.windows.com/bloggingwindows/2015/03/30/introducing-project-spartan-the-new-browser-built-for-windows-10/) browser compatibility. Full compatibility will be introduced later, because at the moment Spartan is still too unstable to be used for tests and we see many changes from version to version.
+* [#12948](https://dev.ckeditor.com/ticket/12948): The [`config.mathJaxLibrary`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-mathJaxLib) option does not default to the MathJax CDN any more. It needs to be configured to enable the [Mathematical Formulas](https://ckeditor.com/cke4/addon/mathjax) plugin now.
+* [#13069](https://dev.ckeditor.com/ticket/13069): Fixed inconsistencies between [`editable.insertHtml()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editable.html#method-insertElement) and [`editable.insertElement()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editable.html#method-insertElement) when the `range` parameter is used. Now, the `editor.insertElement()` method works on a higher level, which means that it saves undo snapshots and sets the selection after insertion. Use the [`editable.insertElementIntoRange()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editable.html#method-insertElementIntoRange) method directly for the pre 4.5 behavior of `editable.insertElement()`.
+* [#12870](https://dev.ckeditor.com/ticket/12870): Use [`editor.showNotification()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-showNotification) instead of `alert()` directly whenever possible. When the [Notification plugin](https://ckeditor.com/cke4/addon/notification) is loaded, the notification system is used automatically. Otherwise, the native `alert()` is displayed.
+* [#8024](https://dev.ckeditor.com/ticket/8024): Swapped behavior of the Split Cell Vertically and Horizontally features of the [Table Tools](https://ckeditor.com/cke4/addon/tabletools) plugin to be more intuitive. Thanks to [kevinisagit](https://github.com/kevinisagit)!
+* [#10903](https://dev.ckeditor.com/ticket/10903): Performance improvements for the [`dom.element.addClass()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_element.html#method-addClass), [`dom.element.removeClass()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_element.html#method-removeClass) and [`dom.element.hasClass()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_element.html#method-hasClass) methods. Note: The previous implementation allowed passing multiple classes to `addClass()` although it was only a side effect of that implementation. The new implementation does not allow this.
+* [#11856](https://dev.ckeditor.com/ticket/11856): The jQuery adapter throws a meaningful error if CKEditor or jQuery are not loaded.
+
+Fixed issues:
+
+* [#11586](https://dev.ckeditor.com/ticket/11586): Fixed: [`range.cloneContents()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_range.html#method-cloneContents) should not change the DOM in order not to affect selection.
+* [#12148](https://dev.ckeditor.com/ticket/12148): Fixed: [`dom.element.getChild()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_element.html#method-getChild) should not modify a passed array.
+* [#12503](https://dev.ckeditor.com/ticket/12503): [Blink/Webkit] Fixed: Incorrect result of Select All and *Backspace* or *Delete*.
+* [#13001](https://dev.ckeditor.com/ticket/13001): [Firefox] Fixed: The `<br />` filler is placed in the wrong position by the [`range.fixBlock()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_range.html#method-fixBlock) method due to quirky Firefox behavior.
+* [#13101](https://dev.ckeditor.com/ticket/13101): [IE8] Fixed: Colons are prepended to HTML5 element names when cloning them.
+
+## CKEditor 4.4.8
+
+**Security Updates:**
+
+* Fixed XSS vulnerability in the HTML parser reported by [Dheeraj Joshi](https://twitter.com/dheerajhere) and [Prem Kumar](https://twitter.com/iAmPr3m).
+
+	Issue summary: It was possible to execute XSS inside CKEditor after persuading the victim to: (i) switch CKEditor to source mode, then (ii) paste a specially crafted HTML code, prepared by the attacker, into the opened CKEditor source area, and (iii) switch back to WYSIWYG mode.
+
+**An upgrade is highly recommended!**
+
+Fixed Issues:
+
+* [#12899](https://dev.ckeditor.com/ticket/12899): Fixed: Corrected wrong tag ending for horizontal box definition in the [Dialog User Interface](https://ckeditor.com/cke4/addon/dialogui) plugin. Thanks to [mizafish](https://github.com/mizafish)!
+* [#13254](https://dev.ckeditor.com/ticket/13254): Fixed: Cannot outdent block after indent when using the [Div Editing Area](https://ckeditor.com/cke4/addon/divarea) plugin. Thanks to [Jonathan Cottrill](https://github.com/jcttrll)!
+* [#13268](https://dev.ckeditor.com/ticket/13268): Fixed: Documentation for [`CKEDITOR.dom.text`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.dom.text.html) is incorrect. Thanks to [Ben Kiefer](https://github.com/benkiefer)!
+* [#12739](https://dev.ckeditor.com/ticket/12739): Fixed: Link loses inline styles when edited without the [Advanced Tab for Dialogs](https://ckeditor.com/cke4/addon/dialogadvtab) plugin. Thanks to [Віталій Крутько](https://github.com/asmforce)!
+* [#13292](https://dev.ckeditor.com/ticket/13292): Fixed: Protection pattern does not work in attribute in self-closing elements with no space before `/>`. Thanks to [Віталій Крутько](https://github.com/asmforce)!
+* [PR#192](https://github.com/ckeditor/ckeditor4/pull/192): Fixed: Variable name typo in the [Dialog User Interface](https://ckeditor.com/cke4/addon/dialogui) plugin which caused [`CKEDITOR.ui.dialog.radio`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.ui.dialog.radio.html) validation to not work. Thanks to [Florian Ludwig](https://github.com/FlorianLudwig)!
+* [#13232](https://dev.ckeditor.com/ticket/13232): [Safari] Fixed: The [`element.appendText()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_element.html#method-appendText) method does not work properly for empty elements.
+* [#13233](https://dev.ckeditor.com/ticket/13233): Fixed: [HTMLDataProcessor](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.htmlDataProcessor.html) can process `foo:href` attributes.
+* [#12796](https://dev.ckeditor.com/ticket/12796): Fixed: The [Indent List](https://ckeditor.com/cke4/addon/indentlist) plugin unwraps parent `<li>` elements. Thanks to [Andrew Stucki](https://github.com/andrewstucki)!
+* [#12885](https://dev.ckeditor.com/ticket/12885): Added missing [`editor.getData()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-getData) parameter documentation.
+* [#11982](https://dev.ckeditor.com/ticket/11982): Fixed: Bullet added in a wrong position after the *Enter* key is pressed in a nested list.
+* [#13027](https://dev.ckeditor.com/ticket/13027): Fixed: Keyboard navigation in dialog windows with multiple tabs not following IBM CI 162 instructions or [ARIA Authoring Practices](http://www.w3.org/TR/2013/WD-wai-aria-practices-20130307/#tabpanel).
+* [#12256](https://dev.ckeditor.com/ticket/12256): Fixed: Basic styles classes are lost when pasting from Microsoft Word if [basic styles](https://ckeditor.com/cke4/addon/basicstyles) were configured to use classes.
+* [#12729](https://dev.ckeditor.com/ticket/12729): Fixed: Incorrect structure created when merging a block into a list item on *Backspace* and *Delete*.
+* [#13031](https://dev.ckeditor.com/ticket/13031): [Firefox] Fixed: No more line breaks in source view since Firefox 36.
+* [#13131](https://dev.ckeditor.com/ticket/13131): Fixed: The [Code Snippet](https://ckeditor.com/cke4/addon/codesnippet) plugin cannot be used without the [IFrame Editing Area](https://ckeditor.com/cke4/addon/wysiwygarea) plugin.
+* [#9086](https://dev.ckeditor.com/ticket/9086): Fixed: Invalid ARIA property used on paste area `<iframe>`.
+* [#13164](https://dev.ckeditor.com/ticket/13164): Fixed: Error when inserting a hidden field.
+* [#13155](https://dev.ckeditor.com/ticket/13155): Fixed: Incorrect [Line Utilities](https://ckeditor.com/cke4/addon/lineutils) positioning when `<body>` has a margin.
+* [#13351](https://dev.ckeditor.com/ticket/13351): Fixed: Link lost when editing a linked image with the Link tab disabled. This also fixed a bug when inserting an image into a fully selected link would throw an error ([#12847](https://dev.ckeditor.com/ticket/12847)).
+* [#13344](https://dev.ckeditor.com/ticket/13344): [WebKit/Blink] Fixed: It is possible to remove or change editor content in [read-only mode](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_readonly.html).
+
+Other Changes:
+
+* [#12844](https://dev.ckeditor.com/ticket/12844) and [#13103](https://dev.ckeditor.com/ticket/13103): Upgraded the [testing environment](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_tests.html) to [Bender.js](https://github.com/benderjs/benderjs) `0.2.3`.
+* [#12930](https://dev.ckeditor.com/ticket/12930): Because of licensing issues, `truncated-mathjax/` is now removed from the `tests/` directory. Now `bender.config.mathJaxLibPath` must be configured manually in order to run [Mathematical Formulas](https://ckeditor.com/cke4/addon/mathjax) plugin tests.
+* [#13266](https://dev.ckeditor.com/ticket/13266): Added more shades of gray in the [Color Dialog](https://ckeditor.com/cke4/addon/colordialog) window. Thanks to [mizafish](https://github.com/mizafish)!
+
+
+## CKEditor 4.4.7
+
+Fixed Issues:
+
+* [#12825](https://dev.ckeditor.com/ticket/12825): Fixed: Preventing the [Table Resize](https://ckeditor.com/cke4/addon/tableresize) plugin from operating on elements outside the editor. Thanks to [Paul Martin](https://github.com/Paul-Martin)!
+* [#12157](https://dev.ckeditor.com/ticket/12157): Fixed: Lost text formatting on pressing *Tab* when the [`config.tabSpaces`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-tabSpaces) configuration option value was greater than zero.
+* [#12777](https://dev.ckeditor.com/ticket/12777): Fixed: The `table-layout` CSS property should be reset by skins. Thanks to [vita10gy](https://github.com/vita10gy)!
+* [#12812](https://dev.ckeditor.com/ticket/12812): Fixed: An uncaught security exception is thrown when [Line Utilities](https://ckeditor.com/cke4/addon/lineutils) are used in an inline editor loaded in a cross-domain `iframe`. Thanks to [Vitaliy Zurian](https://github.com/thecatontheflat)!
+* [#12735](https://dev.ckeditor.com/ticket/12735): Fixed: [`config.fillEmptyBlocks`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-fillEmptyBlocks) should only apply when outputting data.
+* [#10032](https://dev.ckeditor.com/ticket/10032): Fixed: [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword) filter is executed for every paste after using the button.
+* [#12597](https://dev.ckeditor.com/ticket/12597): [Blink/WebKit] Fixed: Multi-byte Japanese characters entry not working properly after *Shift+Enter*.
+* [#12387](https://dev.ckeditor.com/ticket/12387): Fixed: An error is thrown if a skin does not have the [`chameleon`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_skin.html#method-chameleon) property defined and [`config.uiColor`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-uiColor) is defined.
+* [#12747](https://dev.ckeditor.com/ticket/12747): [IE8-10] Fixed: Opening a drop-down for a specific selection when the editor is maximized results in incorrect drop-down panel position.
+* [#12850](https://dev.ckeditor.com/ticket/12850): [IEQM] Fixed: An error is thrown after focusing the editor.
+
+## CKEditor 4.4.6
+
+**Security Updates:**
+
+* Fixed XSS vulnerability in the HTML parser reported by [Maco Cortes](https://www.facebook.com/Maaacoooo).
+
+	Issue summary: It was possible to execute XSS inside CKEditor after persuading the victim to: (i) switch CKEditor to source mode, then (ii) paste a specially crafted HTML code, prepared by the attacker, into the opened CKEditor source area, and (iii) switch back to WYSIWYG mode.
+
+**An upgrade is highly recommended!**
+
+New Features:
+
+* [#12501](https://dev.ckeditor.com/ticket/12501): Allowed dashes in element names in the [string format of allowed content rules](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_allowed_content_rules.html#string-format).
+* [#12550](https://dev.ckeditor.com/ticket/12550): Added the `<main>` element to the [`CKEDITOR.dtd`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.dtd.html).
+
+Fixed Issues:
+
+* [#12506](https://dev.ckeditor.com/ticket/12506): [Safari] Fixed: Cannot paste into inline editor if the page has `user-select: none` style. Thanks to [shaohua](https://github.com/shaohua)!
+* [#12683](https://dev.ckeditor.com/ticket/12683): Fixed: [Filter](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_acf.html) fails to remove custom tags. Thanks to [timselier](https://github.com/timselier)!
+* [#12489](https://dev.ckeditor.com/ticket/12489) and [#12491](https://dev.ckeditor.com/ticket/12491): Fixed: Various issues related to restoring the selection after performing operations on filler character. See the [fixed cases](https://dev.ckeditor.com/ticket/12491#comment:4).
+* [#12621](https://dev.ckeditor.com/ticket/12621): Fixed: Cannot remove inline styles (bold, italic, etc.) in empty lines.
+* [#12630](https://dev.ckeditor.com/ticket/12630): [Chrome] Fixed: Selection is placed outside the paragraph when the [New Page](https://ckeditor.com/cke4/addon/newpage) button is clicked. This patch significantly simplified the way how the initial selection (a selection after the content of the editable is overwritten) is being fixed. That might have fixed many related scenarios in all browsers.
+* [#11647](https://dev.ckeditor.com/ticket/11647): Fixed: The [`editor.blur`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#event-blur) event is not fired on first blur after initializing the inline editor on an already focused element.
+* [#12601](https://dev.ckeditor.com/ticket/12601): Fixed: [Strikethrough](https://ckeditor.com/cke4/addon/basicstyles) button tooltip spelling.
+* [#12546](https://dev.ckeditor.com/ticket/12546): Fixed: The Preview tab in the [Document Properties](https://ckeditor.com/cke4/addon/docprops) dialog window is always disabled.
+* [#12300](https://dev.ckeditor.com/ticket/12300): Fixed: The [`editor.change`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#event-change) event fired on first navigation key press after typing.
+* [#12141](https://dev.ckeditor.com/ticket/12141): Fixed: List items are lost when indenting a list item with content wrapped with a block element.
+* [#12515](https://dev.ckeditor.com/ticket/12515): Fixed: Cursor is in the wrong position when undoing after adding an image and typing some text.
+* [#12484](https://dev.ckeditor.com/ticket/12484): [Blink/WebKit] Fixed: DOM is changed outside the editor area in a certain case.
+* [#12688](https://dev.ckeditor.com/ticket/12688): Improved the tests of the [styles system](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.style.html) and fixed two minor issues.
+* [#12403](https://dev.ckeditor.com/ticket/12403): Fixed: Changing the [font](https://ckeditor.com/cke4/addon/font) style should not lead to nesting it in the previous style element.
+* [#12609](https://dev.ckeditor.com/ticket/12609): Fixed: Incorrect `config.magicline_putEverywhere` name used for a [Magic Line](https://ckeditor.com/cke4/addon/magicline) all-encompassing [`config.magicline_everywhere`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-magicline_everywhere) configuration option.
+
+
+## CKEditor 4.4.5
+
+New Features:
+
+* [#12279](https://dev.ckeditor.com/ticket/12279): Added a possibility to pass a custom evaluator to [`node.getAscendant()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_node.html#method-getAscendant).
+
+Fixed Issues:
+
+* [#12423](https://dev.ckeditor.com/ticket/12423): [Safari7.1+] Fixed: *Enter* key moved cursor to a strange position.
+* [#12381](https://dev.ckeditor.com/ticket/12381): [iOS] Fixed: Selection issue. Thanks to [Remiremi](https://github.com/Remiremi)!
+* [#10804](https://dev.ckeditor.com/ticket/10804): Fixed: `CKEDITOR_GETURL` is not used with some plugins where it should be used. Thanks to [Thomas Andraschko](https://github.com/tandraschko)!
+* [#9137](https://dev.ckeditor.com/ticket/9137): Fixed: The `<base>` tag is not created when `<head>` has an attribute. Thanks to [naoki.fujikawa](https://github.com/naoki-fujikawa)!
+* [#12377](https://dev.ckeditor.com/ticket/12377): Fixed: Errors thrown in the [Image](https://ckeditor.com/cke4/addon/image) plugin when removing preview from the dialog window definition. Thanks to [Axinet](https://github.com/Axinet)!
+* [#12162](https://dev.ckeditor.com/ticket/12162): Fixed: Auto paragraphing and *Enter* key in nested editables.
+* [#12315](https://dev.ckeditor.com/ticket/12315): Fixed: Marked [`config.autoParagraph`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-autoParagraph) as deprecated.
+* [#12113](https://dev.ckeditor.com/ticket/12113): Fixed: A [code snippet](https://ckeditor.com/cke4/addon/codesnippet) should be presented in the [elements path](https://ckeditor.com/cke4/addon/elementspath) as "code snippet" (translatable).
+* [#12311](https://dev.ckeditor.com/ticket/12311): Fixed: [Remove Format](https://ckeditor.com/cke4/addon/removeformat) should also remove `<cite>` elements.
+* [#12261](https://dev.ckeditor.com/ticket/12261): Fixed: The filter is not destroyed and removed from [`CKEDITOR.filter.instances`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_filter.html#static-property-instances) on editor destroy.
+* [#12398](https://dev.ckeditor.com/ticket/12398): Fixed: [Maximize](https://ckeditor.com/cke4/addon/maximize) does not work on an instance without a [title](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-title).
+* [#12097](https://dev.ckeditor.com/ticket/12097): Fixed: JAWS not reading the number of options correctly in the [Text Color and Background Color](https://ckeditor.com/cke4/addon/colorbutton) button menu.
+* [#12411](https://dev.ckeditor.com/ticket/12411): Fixed: [Page Break](https://ckeditor.com/cke4/addon/pagebreak) used directly in the editable breaks the editor.
+* [#12354](https://dev.ckeditor.com/ticket/12354): Fixed: Various issues in undo manager when holding keys.
+* [#12324](https://dev.ckeditor.com/ticket/12324): [IE8] Fixed: Undo steps are not recorded when changing the caret position by clicking below the body.
+* [#12332](https://dev.ckeditor.com/ticket/12332): Fixed: Lowered DOM events listeners' priorities in undo manager in order to avoid ambiguity.
+* [#12402](https://dev.ckeditor.com/ticket/12402): [Blink] Fixed: Workaround for Blink bug with `document.title` which breaks updating title in the full HTML mode.
+* [#12338](https://dev.ckeditor.com/ticket/12338): Fixed: The CKEditor package contains unoptimized images.
+
+
+## CKEditor 4.4.4
+
+Fixed Issues:
+
+* [#12268](https://dev.ckeditor.com/ticket/12268): Cleanup of [UI Color](https://ckeditor.com/cke4/addon/uicolor) YUI styles. Thanks to [CasherWest](https://github.com/CasherWest)!
+* [#12263](https://dev.ckeditor.com/ticket/12263): Fixed: [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword) filter does not properly normalize semicolons style text. Thanks to [Alin Purcaru](https://github.com/mesmerizero)!
+* [#12243](https://dev.ckeditor.com/ticket/12243): Fixed: Text formatting lost when pasting from Word. Thanks to [Alin Purcaru](https://github.com/mesmerizero)!
+* [#111739](https://dev.ckeditor.com/ticket/11739): Fixed: `keypress` listeners should not be used in the undo manager. A complete rewrite of keyboard handling in the undo manager was made. Numerous smaller issues were fixed, among others:
+  * [#10926](https://dev.ckeditor.com/ticket/10926): [Chrome@Android] Fixed: Typing does not record snapshots and does not fire the [`editor.change`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#event-change) event.
+  * [#11611](https://dev.ckeditor.com/ticket/11611): [Firefox] Fixed: The [`editor.change`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#event-change) event is fired when pressing Arrow keys.
+  * [#12219](https://dev.ckeditor.com/ticket/12219): [Safari] Fixed: Some modifications of the [`UndoManager.locked`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_undo_UndoManager.html#property-locked) property violate strict mode in the [Undo](https://ckeditor.com/cke4/addon/undo) plugin.
+* [#10916](https://dev.ckeditor.com/ticket/10916): Fixed: [Magic Line](https://ckeditor.com/cke4/addon/magicline) icon in Right-To-Left environments.
+* [#11970](https://dev.ckeditor.com/ticket/11970): [IE] Fixed: CKEditor `paste` event is not fired when pasting with *Shift+Ins*.
+* [#12111](https://dev.ckeditor.com/ticket/12111): Fixed: Linked image attributes are not read when opening the image dialog window by doubleclicking.
+* [#10030](https://dev.ckeditor.com/ticket/10030): [IE] Fixed: Prevented "Unspecified Error" thrown in various cases when IE8-9 does not allow access to `document.activeElement`.
+* [#12273](https://dev.ckeditor.com/ticket/12273): Fixed: Applying block style in a description list breaks it.
+* [#12218](https://dev.ckeditor.com/ticket/12218): Fixed: Minor syntax issue in CSS files.
+* [#12178](https://dev.ckeditor.com/ticket/12178): [Blink/WebKit] Fixed: Iterator does not return the block if the selection is located at the end of it.
+* [#12185](https://dev.ckeditor.com/ticket/12185): [IE9QM] Fixed: Error thrown when moving the mouse over focused editor's scrollbar.
+* [#12215](https://dev.ckeditor.com/ticket/12215): Fixed: Basepath resolution does not recognize semicolon as a query separator.
+* [#12135](https://dev.ckeditor.com/ticket/12135): Fixed: [Remove Format](https://ckeditor.com/cke4/addon/removeformat) does not work on widgets.
+* [#12298](https://dev.ckeditor.com/ticket/12298): [IE11] Fixed: Clicking below `<body>` in Compatibility Mode will no longer reset selection to the first line.
+* [#12204](https://dev.ckeditor.com/ticket/12204): Fixed: Editor's voice label is not affected by [`config.title`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-title).
+* [#11915](https://dev.ckeditor.com/ticket/11915): Fixed: With [SCAYT](https://ckeditor.com/cke4/addon/scayt) enabled, cursor moves to the beginning of the first highlighted, misspelled word after typing or pasting into the editor.
+* [SCAYT](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/69): Fixed: Error thrown in the console after enabling [SCAYT](https://ckeditor.com/cke4/addon/scayt) and trying to add a new image.
+
+
+Other Changes:
+
+* [#12296](https://dev.ckeditor.com/ticket/12296): Merged `benderjs-ckeditor` into the main CKEditor repository.
+
+## CKEditor 4.4.3
+
+**Security Updates:**
+
+* Fixed XSS vulnerability in the Preview plugin reported by Mario Heiderich of [Cure53](https://cure53.de/).
+
+**An upgrade is highly recommended!**
+
+New Features:
+
+* [#12164](https://dev.ckeditor.com/ticket/12164): Added the "Justify" option to the "Horizontal Alignment" drop-down in the Table Cell Properties dialog window.
+
+Fixed Issues:
+
+* [#12110](https://dev.ckeditor.com/ticket/12110): Fixed: Editor crash after deleting a table. Thanks to [Alin Purcaru](https://github.com/mesmerizero)!
+* [#11897](https://dev.ckeditor.com/ticket/11897): Fixed: *Enter* key used in an empty list item creates a new line instead of breaking the list. Thanks to [noam-si](https://github.com/noam-si)!
+* [#12140](https://dev.ckeditor.com/ticket/12140): Fixed: Double-clicking linked widgets opens two dialog windows.
+* [#12132](https://dev.ckeditor.com/ticket/12132): Fixed: Image is inserted with `width` and `height` styles even when they are not allowed.
+* [#9317](https://dev.ckeditor.com/ticket/9317): [IE] Fixed: [`config.disableObjectResizing`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-disableObjectResizing) does not work on IE. **Note**: We were not able to fix this issue on IE11+ because necessary events stopped working. See a [last resort workaround](https://dev.ckeditor.com/ticket/9317#comment:16) and make sure to [support our complaint to Microsoft](https://connect.microsoft.com/IE/feedback/details/742593/please-respect-execcommand-enableobjectresizing-in-contenteditable-elements).
+* [#9638](https://dev.ckeditor.com/ticket/9638): Fixed: There should be no information about accessibility help available under the *Alt+0* keyboard shortcut if the [Accessibility Help](https://ckeditor.com/cke4/addon/a11yhelp) plugin is not available.
+* [#8117](https://dev.ckeditor.com/ticket/8117) and [#9186](https://dev.ckeditor.com/ticket/9186): Fixed: In HTML5 `<meta>` tags should be allowed everywhere, including inside the `<body>` element.
+* [#10422](https://dev.ckeditor.com/ticket/10422): Fixed: [`config.fillEmptyBlocks`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-fillEmptyBlocks) not working properly if a function is specified.
+
+## CKEditor 4.4.2
+
+Important Notes:
+
+* The CKEditor testing environment is now publicly available. Read more about how to set up the environment and execute tests in the [CKEditor Testing Environment](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_tests.html) guide.
+	Please note that the [`tests/`](https://github.com/ckeditor/ckeditor4/tree/master/tests) directory which contains editor tests is not available in release packages. It can only be found in the development version of CKEditor on [GitHub](https://github.com/ckeditor/ckeditor4/).
+
+New Features:
+
+* [#11909](https://dev.ckeditor.com/ticket/11909): Introduced a parameter to prevent the [`editor.setData()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-setData) method from recording undo snapshots.
+
+Fixed Issues:
+
+* [#11757](https://dev.ckeditor.com/ticket/11757): Fixed: Imperfections in the [Moono](https://ckeditor.com/cke4/addon/moono) skin. Thanks to [danyaPostfactum](https://github.com/danyaPostfactum)!
+* [#10091](https://dev.ckeditor.com/ticket/10091): Blockquote should be treated like an object by the styles system. Thanks to [dan-james-deeson](https://github.com/dan-james-deeson)!
+* [#11478](https://dev.ckeditor.com/ticket/11478): Fixed: Issue with passing jQuery objects to [adapter](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_jquery.html) configuration.
+* [#10867](https://dev.ckeditor.com/ticket/10867): Fixed: Issue with setting encoded URI as image link.
+* [#11983](https://dev.ckeditor.com/ticket/11983): Fixed: Clicking a nested widget does not focus it. Additionally, performance of the [`widget.repository.getByElement()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_widget_repository.html#method-getByElement) method was improved.
+* [#12000](https://dev.ckeditor.com/ticket/12000): Fixed: Nested widgets should be initialized on [`editor.setData()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-setData) and [`nestedEditable.setData()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_widget_nestedEditable.html#method-setData).
+* [#12022](https://dev.ckeditor.com/ticket/12022): Fixed: Outer widget's drag handler is not created at all if it has any nested widgets inside.
+* [#11960](https://dev.ckeditor.com/ticket/11960): [Blink/WebKit] Fixed: The caret should be scrolled into view on *Backspace* and *Delete* (covers only the merging blocks case).
+* [#11306](https://dev.ckeditor.com/ticket/11306): [OSX][Blink/WebKit] Fixed: No widget entries in the context menu on widget right-click.
+* [#11957](https://dev.ckeditor.com/ticket/11957): Fixed: Alignment labels in the [Enhanced Image](https://ckeditor.com/cke4/addon/image2) dialog window are not translated.
+* [#11980](https://dev.ckeditor.com/ticket/11980): [Blink/WebKit] Fixed: `<span>` elements created when joining adjacent elements (non-collapsed selection).
+* [#12009](https://dev.ckeditor.com/ticket/12009): [Nested widgets] Integration with the [Magic Line](https://ckeditor.com/cke4/addon/magicline) plugin.
+* [#11387](https://dev.ckeditor.com/ticket/11387): Fixed: `role="radiogroup"` should be applied only to radio inputs' container.
+* [#7975](https://dev.ckeditor.com/ticket/7975): [IE8] Fixed: Errors when trying to select an empty table cell.
+* [#11947](https://dev.ckeditor.com/ticket/11947): [Firefox+IE11] Fixed: *Shift+Enter* in lists produces two line breaks.
+* [#11972](https://dev.ckeditor.com/ticket/11972): Fixed: Feature detection in the [`element.setText()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_element.html#method-setText) method should not trigger the layout engine.
+* [#7634](https://dev.ckeditor.com/ticket/7634): Fixed: The [Flash Dialog](https://ckeditor.com/cke4/addon/flash) plugin omits the `allowFullScreen` parameter in the editor data if set to `true`.
+* [#11910](https://dev.ckeditor.com/ticket/11910): Fixed: [Enhanced Image](https://ckeditor.com/cke4/addon/image2) does not take [`config.baseHref`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-baseHref) into account when updating image dimensions.
+* [#11753](https://dev.ckeditor.com/ticket/11753): Fixed: Wrong [`checkDirty()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-checkDirty) method value after focusing or blurring a widget.
+* [#11830](https://dev.ckeditor.com/ticket/11830): Fixed: Impossible to pass some arguments to [CKBuilder](https://github.com/ckeditor/ckbuilder) when using the `/dev/builder/build.sh` script.
+* [#11945](https://dev.ckeditor.com/ticket/11945): Fixed: [Form Elements](https://ckeditor.com/cke4/addon/forms) plugin should not change a core method.
+* [#11384](https://dev.ckeditor.com/ticket/11384): [IE9+] Fixed: `IndexSizeError` thrown when pasting into a non-empty selection anchored in one text node.
+
+## CKEditor 4.4.1
+
+New Features:
+
+* [#9661](https://dev.ckeditor.com/ticket/9661): Added the option to [configure](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-linkJavaScriptLinksAllowed) anchor tags with JavaScript code in the `href` attribute.
+
+Fixed Issues:
+
+* [#11861](https://dev.ckeditor.com/ticket/11861): [WebKit/Blink] Fixed: Span elements created while joining adjacent elements. **Note:** This patch only covers cases when *Backspace* or *Delete* is pressed on a collapsed (empty) selection. The remaining case, with a non-empty selection, will be fixed in the next release.
+* [#10714](https://dev.ckeditor.com/ticket/10714): [iOS] Fixed: Selection and drop-downs are broken if a touch event listener is used due to a [WebKit bug](https://bugs.webkit.org/show_bug.cgi?id=128924). Thanks to [Arty Gus](https://github.com/artygus)!
+* [#11911](https://dev.ckeditor.com/ticket/11911): Fixed setting the `dir` attribute for a preloaded language in [CKEDITOR.lang](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.lang.html). Thanks to [Akash Mohapatra](https://github.com/akashmohapatra)!
+* [#11926](https://dev.ckeditor.com/ticket/11926): Fixed: [Code Snippet](https://ckeditor.com/cke4/addon/codesnippet) does not decode HTML entities when loading code from the `<code>` element.
+* [#11223](https://dev.ckeditor.com/ticket/11223): Fixed: Issue when [Protected Source](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-protectedSource) was not working in the `<title>` element.
+* [#11859](https://dev.ckeditor.com/ticket/11859): Fixed: Removed the [Source Dialog](https://ckeditor.com/cke4/addon/sourcedialog) plugin dependency from the [Code Snippet](https://ckeditor.com/cke4/addon/codesnippet) sample.
+* [#11754](https://dev.ckeditor.com/ticket/11754): [Chrome] Fixed: Infinite loop when content includes not closed attributes.
+* [#11848](https://dev.ckeditor.com/ticket/11848): [IE] Fixed: [`editor.insertElement()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-insertElement) throwing an exception when there was no selection in the editor.
+* [#11801](https://dev.ckeditor.com/ticket/11801): Fixed: Editor anchors unavailable when linking the [Enhanced Image](https://ckeditor.com/cke4/addon/image2) widget.
+* [#11626](https://dev.ckeditor.com/ticket/11626): Fixed: [Table Resize](https://ckeditor.com/cke4/addon/tableresize) sets invalid column width.
+* [#11872](https://dev.ckeditor.com/ticket/11872): Made [`element.addClass()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_element.html#method-addClass) chainable symmetrically to [`element.removeClass()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_element.html#method-removeClass).
+* [#11813](https://dev.ckeditor.com/ticket/11813): Fixed: Link lost while pasting a captioned image and restoring an undo snapshot ([Enhanced Image](https://ckeditor.com/cke4/addon/image2)).
+* [#11814](https://dev.ckeditor.com/ticket/11814): Fixed: _Link_ and _Unlink_ entries persistently displayed in the [Enhanced Image](https://ckeditor.com/cke4/addon/image2) context menu.
+* [#11839](https://dev.ckeditor.com/ticket/11839): [IE9] Fixed: The caret jumps out of the editable area when resizing the editor in the source mode.
+* [#11822](https://dev.ckeditor.com/ticket/11822): [WebKit] Fixed: Editing anchors by double-click is broken in some cases.
+* [#11823](https://dev.ckeditor.com/ticket/11823): [IE8] Fixed: [Table Resize](https://ckeditor.com/cke4/addon/tableresize) throws an error over scrollbar.
+* [#11788](https://dev.ckeditor.com/ticket/11788): Fixed: It is not possible to change the language back to _Not set_ in the [Code Snippet](https://ckeditor.com/cke4/addon/codesnippet) dialog window.
+* [#11788](https://dev.ckeditor.com/ticket/11788): Fixed: [Filter](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.htmlParser.filter.html) rules are not applied inside elements with the `contenteditable` attribute set to `true`.
+* [#11798](https://dev.ckeditor.com/ticket/11798): Fixed: Inserting a non-editable element inside a table cell breaks the table.
+* [#11793](https://dev.ckeditor.com/ticket/11793): Fixed: Drop-down is not "on" when clicking it while the editor is blurred.
+* [#11850](https://dev.ckeditor.com/ticket/11850): Fixed: Fake objects with the `contenteditable` attribute set to `false` are not downcasted properly.
+* [#11811](https://dev.ckeditor.com/ticket/11811): Fixed: Widget's data is not encoded correctly when passed to an attribute.
+* [#11777](https://dev.ckeditor.com/ticket/11777): Fixed encoding ampersand in the [Mathematical Formulas](https://ckeditor.com/cke4/addon/mathjax) plugin.
+* [#11880](https://dev.ckeditor.com/ticket/11880): [IE8-9] Fixed: Linked image has a default thick border.
+
+Other Changes:
+
+* [#11807](https://dev.ckeditor.com/ticket/11807): Updated jQuery version used in the sample to 1.11.0 and tested CKEditor jQuery Adapter with version 1.11.0 and 2.1.0.
+* [#9504](https://dev.ckeditor.com/ticket/9504): Stopped using deprecated `attribute.specified` in all browsers except Internet Explorer.
+* [#11809](https://dev.ckeditor.com/ticket/11809): Changed tab size in `<pre>` to 4 spaces.
+
+## CKEditor 4.4
+
+**Important Notes:**
+
+* Marked the [`editor.beforePaste`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#event-beforePaste) event as deprecated.
+* The default class of captioned images has changed to `image` (was: `caption`). Please note that once edited in CKEditor 4.4+, all existing images of the `caption` class (`<figure class="caption">`) will be [filtered out](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_advanced_content_filter.html) unless the [`config.image2_captionedClass`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-image2_captionedClass) option is set to `caption`. For backward compatibility (i.e. when upgrading), it is highly recommended to use this setting, which also helps prevent CSS conflicts, etc. This does not apply to new CKEditor integrations.
+* Widgets without defined buttons are no longer registered automatically to the [Advanced Content Filter](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_advanced_content_filter.html). Before CKEditor 4.4 widgets were registered to the ACF which was an incorrect behavior ([#11567](https://dev.ckeditor.com/ticket/11567)). This change should not have any impact on standard scenarios, but if your button does not execute the widget command, you need to set [`allowedContent`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_feature.html#property-allowedContent) and [`requiredContent`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_feature.html#property-requiredContent) properties for it manually, because the editor will not be able to find them.
+* The [Show Borders](https://ckeditor.com/cke4/addon/showborders) plugin was added to the Standard installation package in order to ensure that unstyled tables are still visible for the user ([#11665](https://dev.ckeditor.com/ticket/11665)).
+* Since CKEditor 4.4 the editor instance should be passed to [`CKEDITOR.style`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.style.html) methods to ensure full compatibility with other features (e.g. applying styles to widgets requires that). We ensured backward compatibility though, so the [`CKEDITOR.style`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.style.html) will work even when the editor instance is not provided.
+
+New Features:
+
+* [#11297](https://dev.ckeditor.com/ticket/11297): Styles can now be applied to widgets. The definition of a style which can be applied to a specific widget must contain two additional properties &mdash; `type` and `widget`. Read more in the [Widget Styles](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_styles.html#widget-styles) section of the "Syles Drop-down" guide. Note that by default, widgets support only classes and no other attributes or styles. Related changes and features:
+  * Introduced the [`CKEDITOR.style.addCustomHandler()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_style.html#static-method-addCustomHandler) method for registering custom style handlers.
+  * The [`CKEDITOR.style.apply()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_style.html#method-apply) and [`CKEDITOR.style.remove()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_style.html#method-remove) methods are now called with an editor instance instead of the document so they can be reused by the [`CKEDITOR.editor.applyStyle()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-applyStyle) and [`CKEDITOR.editor.removeStyle()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-removeStyle) methods. Backward compatibility was preserved, but from CKEditor 4.4 it is highly recommended to pass an editor instead of a document to these methods.
+  * Many new methods and properties were introduced in the [Widget API](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.plugins.widget.html) to make the handling of styles by widgets fully customizable. See: [`widget.definition.styleableElements`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_widget_definition.html#property-styleableElements), [`widget.definition.styleToAllowedContentRule`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_widget_definition.html#property-styleToAllowedContentRules), [`widget.addClass()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_widget.html#method-addClass), [`widget.removeClass()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_widget.html#method-removeClass), [`widget.getClasses()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_widget.html#method-getClasses), [`widget.hasClass()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_widget.html#method-hasClass), [`widget.applyStyle()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_widget.html#method-applyStyle), [`widget.removeStyle()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_widget.html#method-removeStyle), [`widget.checkStyleActive()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_widget.html#method-checkStyleActive).
+  * Integration with the [Allowed Content Filter](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_advanced_content_filter.html) required an introduction of the [`CKEDITOR.style.toAllowedContent()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_style.html#method-toAllowedContentRules) method which can be implemented by the custom style handler and if exists, it is used by the [`CKEDITOR.filter`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.filter.html) to translate a style to [allowed content rules](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.filter.allowedContentRules.html).
+* [#11300](https://dev.ckeditor.com/ticket/11300): Various changes in the [Enhanced Image](https://ckeditor.com/cke4/addon/image2) plugin:
+  * Introduced the [`config.image2_captionedClass`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-image2_captionedClass) option to configure the class of captioned images.
+  * Introduced the [`config.image2_alignClasses`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-image2_alignClasses) option to configure the way images are aligned with CSS classes.
+  If this setting is defined, the editor produces classes instead of inline styles for aligned images.
+  * Default image caption can be translated (customized) with the `editor.lang.image2.captionPlaceholder` string.
+* [#11341](https://dev.ckeditor.com/ticket/11341): [Enhanced Image](https://ckeditor.com/cke4/addon/image2) plugin: It is now possible to add a link to any image type.
+* [#10202](https://dev.ckeditor.com/ticket/10202): Introduced wildcard support in the [Allowed Content Rules](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_allowed_content_rules.html) format.
+* [#10276](https://dev.ckeditor.com/ticket/10276): Introduced blacklisting in the [Allowed Content Filter](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_advanced_content_filter.html).
+* [#10480](https://dev.ckeditor.com/ticket/10480): Introduced code snippets with code highlighting. There are two versions available so far &mdash; the default [Code Snippet](https://ckeditor.com/cke4/addon/codesnippet) which uses the [highlight.js](https://highlightjs.org) library and the [Code Snippet GeSHi](https://ckeditor.com/cke4/addon/codesnippetgeshi) which uses the [GeSHi](http://qbnz.com/highlighter/) library.
+* [#11737](https://dev.ckeditor.com/ticket/11737): Introduced an option to prevent [filtering](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_advanced_content_filter.html) of an element that matches custom criteria (see [`filter.addElementCallback()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_filter.html#method-addElementCallback)).
+* [#11532](https://dev.ckeditor.com/ticket/11532): Introduced the [`editor.addContentsCss()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-addContentsCss) method that can be used for [adding custom CSS files](https://ckeditor.com/docs/ckeditor4/latest/guide/plugin_sdk_styles.html).
+* [#11536](https://dev.ckeditor.com/ticket/11536): Added the [`CKEDITOR.tools.htmlDecode()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools.html#method-htmlDecode) method for decoding HTML entities.
+* [#11225](https://dev.ckeditor.com/ticket/11225): Introduced the [`CKEDITOR.tools.transparentImageData`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools.html#property-transparentImageData) property which contains transparent image data to be used in CSS or as image source.
+
+Other Changes:
+
+* [#11377](https://dev.ckeditor.com/ticket/11377): Unified internal representation of empty anchors using the [fake objects](https://ckeditor.com/cke4/addon/fakeobjects).
+* [#11422](https://dev.ckeditor.com/ticket/11422): Removed Firefox 3.x, Internet Explorer 6 and Opera 12.x leftovers in code.
+* [#5217](https://dev.ckeditor.com/ticket/5217): Setting data (including switching between modes) creates a new undo snapshot. Besides that:
+  * Introduced the [`editable.status`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editable.html#property-status) property.
+  * Introduced a new `forceUpdate` option for the [`editor.lockSnapshot`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#event-lockSnapshot) event.
+  * Fixed: Selection not being unlocked in inline editor after setting data ([#11500](https://dev.ckeditor.com/ticket/11500)).
+* The [WebSpellChecker](https://ckeditor.com/cke4/addon/wsc) plugin was updated to the latest version.
+
+Fixed Issues:
+
+* [#10190](https://dev.ckeditor.com/ticket/10190): Fixed: Removing block style with [`editor.removeStyle()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-removeStyle) should result in a paragraph and not a div.
+* [#11727](https://dev.ckeditor.com/ticket/11727): Fixed: The editor tries to select a non-editable image which was clicked.
+
+## CKEditor 4.3.5
+
+New Features:
+
+* Added new translation: Tatar.
+
+Fixed Issues:
+
+* [#11677](https://dev.ckeditor.com/ticket/11677): Fixed: Undo/Redo keystrokes are blocked in the source mode.
+* [#11717](https://dev.ckeditor.com/ticket/11717): [Document Properties](https://ckeditor.com/cke4/addon/docprops) plugin requires the [Color Dialog](https://ckeditor.com/cke4/addon/colordialog) plugin to work.
+
+## CKEditor 4.3.4
+
+Fixed Issues:
+
+* [#11597](https://dev.ckeditor.com/ticket/11597): [IE11] Fixed: Error thrown when trying to open the [preview](https://ckeditor.com/cke4/addon/preview) using the keyboard.
+* [#11544](https://dev.ckeditor.com/ticket/11544): [Placeholders](https://ckeditor.com/cke4/addon/placeholder) will no longer be upcasted in parents not accepting `<span>` elements.
+* [#8663](https://dev.ckeditor.com/ticket/8663): Fixed [`element.renameNode()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_element.html#method-renameNode) not clearing the [`element.getName()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_element.html#method-getName) cache.
+* [#11574](https://dev.ckeditor.com/ticket/11574): Fixed: *Backspace* destroying the DOM structure if an inline editable is placed in a list item.
+* [#11603](https://dev.ckeditor.com/ticket/11603): Fixed: [Table Resize](https://ckeditor.com/cke4/addon/tableresize) attaches to tables outside the editable.
+* [#9205](https://dev.ckeditor.com/ticket/9205), [#7805](https://dev.ckeditor.com/ticket/7805), [#8216](https://dev.ckeditor.com/ticket/8216): Fixed: `{cke_protected_1}` appearing in data in various cases where HTML comments are placed next to `"` or `'`.
+* [#11635](https://dev.ckeditor.com/ticket/11635): Fixed: Some attributes are not protected before the content is passed through the fix bin.
+* [#11660](https://dev.ckeditor.com/ticket/11660): [IE] Fixed: Table content is lost when some extra markup is inside the table.
+* [#11641](https://dev.ckeditor.com/ticket/11641): Fixed: Switching between modes in the classic editor removes content styles for the inline editor.
+* [#11568](https://dev.ckeditor.com/ticket/11568): Fixed: [Styles](https://ckeditor.com/cke4/addon/stylescombo) drop-down list is not enabled on selection change.
+
+## CKEditor 4.3.3
+
+Fixed Issues:
+
+* [#11500](https://dev.ckeditor.com/ticket/11500): [WebKit/Blink] Fixed: Selection lost when setting data in another inline editor. Additionally, [`selection.removeAllRanges()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_selection.html#method-removeAllRanges) is now scoped to selection's [root](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_selection.html#property-root).
+* [#11104](https://dev.ckeditor.com/ticket/11104): [IE] Fixed: Various issues with scrolling and selection when focusing widgets.
+* [#11487](https://dev.ckeditor.com/ticket/11487): Moving mouse over the [Enhanced Image](https://ckeditor.com/cke4/addon/image2) widget will no longer change the value returned by the [`editor.checkDirty()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-checkDirty) method.
+* [#8673](https://dev.ckeditor.com/ticket/8673): [WebKit] Fixed: Cannot select and remove the [Page Break](https://ckeditor.com/cke4/addon/pagebreak).
+* [#11413](https://dev.ckeditor.com/ticket/11413): Fixed: Incorrect [`editor.execCommand()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-execCommand) behavior.
+* [#11438](https://dev.ckeditor.com/ticket/11438): Splitting table cells vertically is no longer changing table structure.
+* [#8899](https://dev.ckeditor.com/ticket/8899): Fixed: Links in the [About CKEditor](https://ckeditor.com/cke4/addon/about) dialog window now open in a new browser window or tab.
+* [#11490](https://dev.ckeditor.com/ticket/11490): Fixed: [Menu button](https://ckeditor.com/cke4/addon/menubutton) panel not showing in the source mode.
+* [#11417](https://dev.ckeditor.com/ticket/11417): The [`widget.doubleclick`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_widget.html#event-doubleclick) event is not canceled anymore after editing was triggered.
+* [#11253](https://dev.ckeditor.com/ticket/11253): [IE] Fixed: Clipped upload button in the [Enhanced Image](https://ckeditor.com/cke4/addon/image2) dialog window.
+* [#11359](https://dev.ckeditor.com/ticket/11359): Standardized the way anchors are discovered by the [Link](https://ckeditor.com/cke4/addon/link) plugin.
+* [#11058](https://dev.ckeditor.com/ticket/11058): [IE8] Fixed: Error when deleting a table row.
+* [#11508](https://dev.ckeditor.com/ticket/11508): Fixed: [`htmlDataProcessor`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.htmlDataProcessor.html) discovering protected attributes within other attributes' values.
+* [#11533](https://dev.ckeditor.com/ticket/11533): Widgets: Avoid recurring upcasts if the DOM structure was modified during an upcast.
+* [#11400](https://dev.ckeditor.com/ticket/11400): Fixed: The [`domObject.removeAllListeners()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_domObject.html#method-removeAllListeners) method does not remove custom listeners completely.
+* [#11493](https://dev.ckeditor.com/ticket/11493): Fixed: The [`selection.getRanges()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_selection.html#method-getRanges) method does not override cached ranges when used with the `onlyEditables` argument.
+* [#11390](https://dev.ckeditor.com/ticket/11390): [IE] All [XML](https://ckeditor.com/cke4/addon/xml) plugin [methods](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.xml.html) now work in IE10+.
+* [#11542](https://dev.ckeditor.com/ticket/11542): [IE11] Fixed: Blurry toolbar icons when Right-to-Left UI language is set.
+* [#11504](https://dev.ckeditor.com/ticket/11504): Fixed: When [`config.fullPage`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-fullPage) is set to `true`, entities are not encoded in editor output.
+* [#11004](https://dev.ckeditor.com/ticket/11004): Integrated [Enhanced Image](https://ckeditor.com/cke4/addon/image2) dialog window with [Advanced Content Filter](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_advanced_content_filter.html).
+* [#11439](https://dev.ckeditor.com/ticket/11439): Fixed: Properties get cloned in the Cell Properties dialog window if multiple cells are selected.
+
+## CKEditor 4.3.2
+
+Fixed Issues:
+
+* [#11331](https://dev.ckeditor.com/ticket/11331): A menu button will have a changed label when selected instead of using the `aria-pressed` attribute.
+* [#11177](https://dev.ckeditor.com/ticket/11177): Widget drag handler improvements:
+  * [#11176](https://dev.ckeditor.com/ticket/11176): Fixed: Initial position is not updated when the widget data object is empty.
+  * [#11001](https://dev.ckeditor.com/ticket/11001): Fixed: Multiple synchronous layout recalculations are caused by initial drag handler positioning causing performance issues.
+  * [#11161](https://dev.ckeditor.com/ticket/11161): Fixed: Drag handler is not repositioned in various situations.
+  * [#11281](https://dev.ckeditor.com/ticket/11281): Fixed: Drag handler and mask are duplicated after widget reinitialization.
+* [#11207](https://dev.ckeditor.com/ticket/11207): [Firefox] Fixed: Misplaced [Enhanced Image](https://ckeditor.com/cke4/addon/image2) resizer in the inline editor.
+* [#11102](https://dev.ckeditor.com/ticket/11102): `CKEDITOR.template` improvements:
+  * [#11102](https://dev.ckeditor.com/ticket/11102): Added newline character support.
+  * [#11216](https://dev.ckeditor.com/ticket/11216): Added "\\'" substring support.
+* [#11121](https://dev.ckeditor.com/ticket/11121): [Firefox] Fixed: High Contrast mode is enabled when the editor is loaded in a hidden iframe.
+* [#11350](https://dev.ckeditor.com/ticket/11350): The default value of [`config.contentsCss`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-contentsCss) is affected by [`CKEDITOR.getUrl()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.html#method-getUrl).
+* [#11097](https://dev.ckeditor.com/ticket/11097): Improved the [Autogrow](https://ckeditor.com/cke4/addon/autogrow) plugin performance when dealing with very big tables.
+* [#11290](https://dev.ckeditor.com/ticket/11290): Removed redundant code in the [Source Dialog](https://ckeditor.com/cke4/addon/sourcedialog) plugin.
+* [#11133](https://dev.ckeditor.com/ticket/11133): [Page Break](https://ckeditor.com/cke4/addon/pagebreak) becomes editable if pasted.
+* [#11126](https://dev.ckeditor.com/ticket/11126): Fixed: Native Undo executed once the bottom of the snapshot stack is reached.
+* [#11131](https://dev.ckeditor.com/ticket/11131): [Div Editing Area](https://ckeditor.com/cke4/addon/divarea): Fixed: Error thrown when switching to source mode if the selection was in widget's nested editable.
+* [#11139](https://dev.ckeditor.com/ticket/11139): [Div Editing Area](https://ckeditor.com/cke4/addon/divarea): Fixed: Elements Path is not cleared after switching to source mode.
+* [#10778](https://dev.ckeditor.com/ticket/10778): Fixed a bug with range enlargement. The range no longer expands to visible whitespace.
+* [#11146](https://dev.ckeditor.com/ticket/11146): [IE] Fixed: Preview window switches Internet Explorer to Quirks Mode.
+* [#10762](https://dev.ckeditor.com/ticket/10762): [IE] Fixed: JavaScript code displayed in preview window's URL bar.
+* [#11186](https://dev.ckeditor.com/ticket/11186): Introduced the [`widgets.repository.addUpcastCallback()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_widget_repository.html#method-addUpcastCallback) method that allows to block upcasting given element to a widget.
+* [#11307](https://dev.ckeditor.com/ticket/11307): Fixed: Paste as Plain Text conflict with the [MooTools](http://mootools.net) library.
+* [#11140](https://dev.ckeditor.com/ticket/11140): [IE11] Fixed: Anchors are not draggable.
+* [#11379](https://dev.ckeditor.com/ticket/11379): Changed default contents `line-height` to unitless values to avoid huge text overlapping (like in [#9696](https://dev.ckeditor.com/ticket/9696)).
+* [#10787](https://dev.ckeditor.com/ticket/10787): [Firefox] Fixed: Broken replacement of text while pasting into `div`-based editor.
+* [#10884](https://dev.ckeditor.com/ticket/10884): Widgets integration with the [Show Blocks](https://ckeditor.com/cke4/addon/showblocks) plugin.
+* [#11021](https://dev.ckeditor.com/ticket/11021): Fixed: An error thrown when selecting entire editable contents while fake selection is on.
+* [#11086](https://dev.ckeditor.com/ticket/11086): [IE8] Re-enable inline widgets drag&drop in Internet Explorer 8.
+* [#11372](https://dev.ckeditor.com/ticket/11372): Widgets: Special characters encoded twice in nested editables.
+* [#10068](https://dev.ckeditor.com/ticket/10068): Fixed: Support for protocol-relative URLs.
+* [#11283](https://dev.ckeditor.com/ticket/11283): [Enhanced Image](https://ckeditor.com/cke4/addon/image2): A `<div>` element with `text-align: center` and an image inside is not recognised correctly.
+* [#11196](https://dev.ckeditor.com/ticket/11196): [Accessibility Instructions](https://ckeditor.com/cke4/addon/a11yhelp): Allowed additional keyboard button labels to be translated in the dialog window.
+
+## CKEditor 4.3.1
+
+**Important Notes:**
+
+* To match the naming convention, the `language` button is now `Language` ([#11201](https://dev.ckeditor.com/ticket/11201)).
+* [Enhanced Image](https://ckeditor.com/cke4/addon/image2) button, context menu, command, and icon names match those of the [Image](https://ckeditor.com/cke4/addon/image) plugin ([#11222](https://dev.ckeditor.com/ticket/11222)).
+
+Fixed Issues:
+
+* [#11244](https://dev.ckeditor.com/ticket/11244): Changed: The [`widget.repository.checkWidgets()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_widget_repository.html#method-checkWidgets) method now fires the [`widget.repository.checkWidgets`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_widget_repository.html#event-checkWidgets) event, so from CKEditor 4.3.1 it is preferred to use the method rather than fire the event.
+* [#11171](https://dev.ckeditor.com/ticket/11171): Fixed: [`editor.insertElement()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-insertElement) and [`editor.insertText()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-insertText) methods do not call the [`widget.repository.checkWidgets()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_widget_repository.html#method-checkWidgets) method.
+* [#11085](https://dev.ckeditor.com/ticket/11085): [IE8] Replaced preview generated by the [Mathematical Formulas](https://ckeditor.com/cke4/addon/mathjax) widget with a placeholder.
+* [#11044](https://dev.ckeditor.com/ticket/11044): Enhanced WAI-ARIA support for the [Language](https://ckeditor.com/cke4/addon/language) plugin drop-down menu.
+* [#11075](https://dev.ckeditor.com/ticket/11075): With drop-down menu button focused, pressing the *Down Arrow* key will now open the menu and focus its first option.
+* [#11165](https://dev.ckeditor.com/ticket/11165): Fixed: The [File Browser](https://ckeditor.com/cke4/addon/filebrowser) plugin cannot be removed from the editor.
+* [#11159](https://dev.ckeditor.com/ticket/11159): [IE9-10] [Enhanced Image](https://ckeditor.com/cke4/addon/image2): Fixed buggy discovery of image dimensions.
+* [#11101](https://dev.ckeditor.com/ticket/11101): Drop-down lists no longer break when given double quotes.
+* [#11077](https://dev.ckeditor.com/ticket/11077): [Enhanced Image](https://ckeditor.com/cke4/addon/image2): Empty undo step recorded when resizing the image.
+* [#10853](https://dev.ckeditor.com/ticket/10853): [Enhanced Image](https://ckeditor.com/cke4/addon/image2): Widget has paragraph wrapper when de-captioning unaligned image.
+* [#11198](https://dev.ckeditor.com/ticket/11198): Widgets: Drag handler is not fully visible when an inline widget is in a heading.
+* [#11132](https://dev.ckeditor.com/ticket/11132): [Firefox] Fixed: Caret is lost after drag and drop of an inline widget.
+* [#11182](https://dev.ckeditor.com/ticket/11182): [IE10-11] Fixed: Editor crashes (IE11) or works with minor issues (IE10) if a page is loaded in Quirks Mode. See [`env.quirks`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_env.html#property-quirks) for more details.
+* [#11204](https://dev.ckeditor.com/ticket/11204): Added `figure` and `figcaption` styles to the `contents.css` file so [Enhanced Image](https://ckeditor.com/cke4/addon/image2) looks nicer.
+* [#11202](https://dev.ckeditor.com/ticket/11202): Fixed: No newline in [BBCode](https://ckeditor.com/cke4/addon/bbcode) mode.
+* [#10890](https://dev.ckeditor.com/ticket/10890): Fixed: Error thrown when pressing the *Delete* key in a list item.
+* [#10055](https://dev.ckeditor.com/ticket/10055): [IE8-10] Fixed: *Delete* pressed on a selected image causes the browser to go back.
+* [#11183](https://dev.ckeditor.com/ticket/11183): Fixed: Inserting a horizontal rule or a table in multiple row selection causes a browser crash. Additionally, the [`editor.insertElement()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-insertElement) method does not insert the element into every range of a selection any more.
+* [#11042](https://dev.ckeditor.com/ticket/11042): Fixed: Selection made on an element containing a non-editable element was not auto faked.
+* [#11125](https://dev.ckeditor.com/ticket/11125): Fixed: Keyboard navigation through menu and drop-down items will now cycle.
+* [#11011](https://dev.ckeditor.com/ticket/11011): Fixed: The [`editor.applyStyle()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-applyStyle) method removes attributes from nested elements.
+* [#11179](https://dev.ckeditor.com/ticket/11179): Fixed: [`editor.destroy()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-destroy) does not cleanup content generated by the [Table Resize](https://ckeditor.com/cke4/addon/tableresize) plugin for inline editors.
+* [#11237](https://dev.ckeditor.com/ticket/11237): Fixed: Table border attribute value is deleted when pasting content from Microsoft Word.
+* [#11250](https://dev.ckeditor.com/ticket/11250): Fixed: HTML entities inside the `<textarea>` element are not encoded.
+* [#11260](https://dev.ckeditor.com/ticket/11260): Fixed: Initially disabled buttons are not read by JAWS as disabled.
+* [#11200](https://dev.ckeditor.com/ticket/11200):  Added [Clipboard](https://ckeditor.com/cke4/addon/clipboard) plugin as a dependency for [Widget](https://ckeditor.com/cke4/addon/widget) to fix drag and drop.
+
+## CKEditor 4.3
+
+New Features:
+
+* [#10612](https://dev.ckeditor.com/ticket/10612): Internet Explorer 11 support.
+* [#10869](https://dev.ckeditor.com/ticket/10869): Widgets: Added better integration with the [Elements Path](https://ckeditor.com/cke4/addon/elementspath) plugin.
+* [#10886](https://dev.ckeditor.com/ticket/10886): Widgets: Added tooltip to the drag handle.
+* [#10933](https://dev.ckeditor.com/ticket/10933): Widgets: Introduced drag and drop of block widgets with the [Line Utilities](https://ckeditor.com/cke4/addon/lineutils) plugin.
+* [#10936](https://dev.ckeditor.com/ticket/10936): Widget System changes for easier integration with other dialog systems.
+* [#10895](https://dev.ckeditor.com/ticket/10895): [Enhanced Image](https://ckeditor.com/cke4/addon/image2): Added file browser integration.
+* [#11002](https://dev.ckeditor.com/ticket/11002): Added the [`draggable`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_widget_definition.html#property-draggable) option to disable drag and drop support for widgets.
+* [#10937](https://dev.ckeditor.com/ticket/10937): [Mathematical Formulas](https://ckeditor.com/cke4/addon/mathjax) widget improvements:
+  * loading indicator ([#10948](https://dev.ckeditor.com/ticket/10948)),
+  * applying paragraph changes (like font color change) to iframe ([#10841](https://dev.ckeditor.com/ticket/10841)),
+  * Firefox and IE9 clipboard fixes ([#10857](https://dev.ckeditor.com/ticket/10857)),
+  * fixing same origin policy issue ([#10840](https://dev.ckeditor.com/ticket/10840)),
+  * fixing undo bugs ([#10842](https://dev.ckeditor.com/ticket/10842), [#10930](https://dev.ckeditor.com/ticket/10930)),
+  * fixing other minor bugs.
+* [#10862](https://dev.ckeditor.com/ticket/10862): [Placeholder](https://ckeditor.com/cke4/addon/placeholder) plugin was rewritten as a widget.
+* [#10822](https://dev.ckeditor.com/ticket/10822): Added styles system integration with non-editable elements (for example widgets) and their nested editables. Styles cannot change non-editable content and are applied in nested editable only if allowed by its type and content filter.
+* [#10856](https://dev.ckeditor.com/ticket/10856): Menu buttons will now toggle the visibility of their panels when clicked multiple times. [Language](https://ckeditor.com/cke4/addon/language) plugin fixes: Added active language highlighting, added an option to remove the language.
+* [#10028](https://dev.ckeditor.com/ticket/10028): New [`config.dialog_noConfirmCancel`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-dialog_noConfirmCancel) configuration option that eliminates the need to confirm closing of a dialog window when the user changed any of its fields.
+* [#10848](https://dev.ckeditor.com/ticket/10848): Integrate remaining plugins ([Styles](https://ckeditor.com/cke4/addon/stylescombo), [Format](https://ckeditor.com/cke4/addon/format), [Font](https://ckeditor.com/cke4/addon/font), [Color Button](https://ckeditor.com/cke4/addon/colorbutton), [Language](https://ckeditor.com/cke4/addon/language) and [Indent](https://ckeditor.com/cke4/addon/indent)) with [active filter](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#property-activeFilter).
+* [#10855](https://dev.ckeditor.com/ticket/10855): Change the extension of emoticons in the [BBCode](https://ckeditor.com/cke4/addon/bbcode) sample from GIF to PNG.
+
+Fixed Issues:
+
+* [#10831](https://dev.ckeditor.com/ticket/10831): [Enhanced Image](https://ckeditor.com/cke4/addon/image2): Merged `image2inline` and `image2block` into one `image2` widget.
+* [#10835](https://dev.ckeditor.com/ticket/10835): [Enhanced Image](https://ckeditor.com/cke4/addon/image2): Improved visibility of the resize handle.
+* [#10836](https://dev.ckeditor.com/ticket/10836): [Enhanced Image](https://ckeditor.com/cke4/addon/image2): Preserve custom mouse cursor while resizing the image.
+* [#10939](https://dev.ckeditor.com/ticket/10939): [Firefox] [Enhanced Image](https://ckeditor.com/cke4/addon/image2): hovering the image causes it to change.
+* [#10866](https://dev.ckeditor.com/ticket/10866): Fixed: Broken *Tab* key navigation in the [Enhanced Image](https://ckeditor.com/cke4/addon/image2) dialog window.
+* [#10833](https://dev.ckeditor.com/ticket/10833): Fixed: *Lock ratio* option should be on by default in the [Enhanced Image](https://ckeditor.com/cke4/addon/image2) dialog window.
+* [#10881](https://dev.ckeditor.com/ticket/10881): Various improvements to *Enter* key behavior in nested editables.
+* [#10879](https://dev.ckeditor.com/ticket/10879): [Remove Format](https://ckeditor.com/cke4/addon/removeformat) should not leak from a nested editable.
+* [#10877](https://dev.ckeditor.com/ticket/10877): Fixed: [WebSpellChecker](https://ckeditor.com/cke4/addon/wsc) fails to apply changes if a nested editable was focused.
+* [#10877](https://dev.ckeditor.com/ticket/10877): Fixed: [SCAYT](https://ckeditor.com/cke4/addon/wsc) blocks typing in nested editables.
+* [#11079](https://dev.ckeditor.com/ticket/11079): Add button icons to the [Placeholder](https://ckeditor.com/cke4/addon/placeholder) sample.
+* [#10870](https://dev.ckeditor.com/ticket/10870): The `paste` command is no longer being disabled when the clipboard is empty.
+* [#10854](https://dev.ckeditor.com/ticket/10854): Fixed: Firefox prepends `<br>` to `<body>`, so it is stripped by the HTML data processor.
+* [#10823](https://dev.ckeditor.com/ticket/10823): Fixed: [Link](https://ckeditor.com/cke4/addon/link) plugin does not work with non-editable content.
+* [#10828](https://dev.ckeditor.com/ticket/10828): [Magic Line](https://ckeditor.com/cke4/addon/magicline) integration with the Widget System.
+* [#10865](https://dev.ckeditor.com/ticket/10865): Improved hiding copybin, so copying widgets works smoothly.
+* [#11066](https://dev.ckeditor.com/ticket/11066): Widget's private parts use CSS reset.
+* [#11027](https://dev.ckeditor.com/ticket/11027): Fixed: Block commands break on widgets; added the [`contentDomInvalidated`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#event-contentDomInvalidated) event.
+* [#10430](https://dev.ckeditor.com/ticket/10430): Resolve dependence of the [Image](https://ckeditor.com/cke4/addon/image) plugin on the [Form Elements](https://ckeditor.com/cke4/addon/forms) plugin.
+* [#10911](https://dev.ckeditor.com/ticket/10911): Fixed: Browser *Alt* hotkeys will no longer be blocked while a widget is focused.
+* [#11082](https://dev.ckeditor.com/ticket/11082): Fixed: Selected widget is not copied or cut when using toolbar buttons or context menu.
+* [#11083](https://dev.ckeditor.com/ticket/11083): Fixed list and div element application to block widgets.
+* [#10887](https://dev.ckeditor.com/ticket/10887): Internet Explorer 8 compatibility issues related to the Widget System.
+* [#11074](https://dev.ckeditor.com/ticket/11074): Temporarily disabled inline widget drag and drop, because of seriously buggy native `range#moveToPoint` method.
+* [#11098](https://dev.ckeditor.com/ticket/11098): Fixed: Wrong selection position after undoing widget drag and drop.
+* [#11110](https://dev.ckeditor.com/ticket/11110): Fixed: IFrame and Flash objects are being incorrectly pasted in certain conditions.
+* [#11129](https://dev.ckeditor.com/ticket/11129): Page break is lost when loading data.
+* [#11123](https://dev.ckeditor.com/ticket/11123): [Firefox] Widget is destroyed after being dragged outside of `<body>`.
+* [#11124](https://dev.ckeditor.com/ticket/11124): Fixed the [Elements Path](https://ckeditor.com/cke4/addon/elementspath) in an editor using the [Div Editing Area](https://ckeditor.com/cke4/addon/divarea).
+
+## CKEditor 4.3 Beta
+
+New Features:
+
+* [#9764](https://dev.ckeditor.com/ticket/9764): Widget System.
+  * [Widget plugin](https://ckeditor.com/cke4/addon/widget) introducing the [Widget API](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.plugins.widget.html).
+  * New [`editor.enterMode`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#property-enterMode) and [`editor.shiftEnterMode`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#property-shiftEnterMode) properties &ndash; normalized versions of [`config.enterMode`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-enterMode) and [`config.shiftEnterMode`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-shiftEnterMode).
+  * Dynamic editor settings. Starting from CKEditor 4.3 Beta, *Enter* mode values and [content filter](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_advanced_content_filter.html) instances may be changed dynamically (for example when the caret was placed in an element in which editor features should be adjusted). When you are implementing a new editor feature, you should base its behavior on [dynamic](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#property-activeEnterMode) or [static](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#property-enterMode) *Enter* mode values depending on whether this feature works in selection context or globally on editor content.
+      * Dynamic *Enter* mode values &ndash; [`editor.setActiveEnterMode()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-setActiveEnterMode) method, [`editor.activeEnterModeChange`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#event-activeEnterModeChange) event, and two properties: [`editor.activeEnterMode`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#property-activeEnterMode) and [`editor.activeShiftEnterMode`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#property-activeShiftEnterMode).
+      * Dynamic content filter instances &ndash; [`editor.setActiveFilter()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-setActiveFilter) method, [`editor.activeFilterChange`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#event-activeFilterChange) event, and [`editor.activeFilter`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#property-activeFilter) property.
+  * "Fake" selection was introduced. It makes it possible to virtually select any element when the real selection remains hidden. See the  [`selection.fake()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_selection.html#method-fake) method.
+  * Default [`htmlParser.filter`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.htmlParser.filter.html) rules are not applied to non-editable elements (elements with `contenteditable` attribute set to `false` and their descendants) anymore. To add a rule which will be applied to all elements you need to pass an additional argument to the [`filter.addRules()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_htmlParser_filter.html#method-addRules) method.
+  * Dozens of new methods were introduced &ndash; most interesting ones:
+      * [`document.find()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_document.html#method-find),
+      * [`document.findOne()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_document.html#method-findOne),
+      * [`editable.insertElementIntoRange()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editable.html#method-insertElementIntoRange),
+      * [`range.moveToClosestEditablePosition()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_range.html#method-moveToClosestEditablePosition),
+      * New methods for [`htmlParser.node`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.htmlParser.node.html) and [`htmlParser.element`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.htmlParser.element.html).
+* [#10659](https://dev.ckeditor.com/ticket/10659): New [Enhanced Image](https://ckeditor.com/cke4/addon/image2) plugin that introduces a widget with integrated image captions, an option to center images, and dynamic "click and drag" resizing.
+* [#10664](https://dev.ckeditor.com/ticket/10664): New [Mathematical Formulas](https://ckeditor.com/cke4/addon/mathjax) plugin that introduces the MathJax widget.
+* [#7987](https://dev.ckeditor.com/ticket/7987): New [Language](https://ckeditor.com/cke4/addon/language) plugin that implements Language toolbar button to support [WCAG 3.1.2 Language of Parts](http://www.w3.org/TR/UNDERSTANDING-WCAG20/meaning-other-lang-id.html).
+* [#10708](https://dev.ckeditor.com/ticket/10708): New [smileys](https://ckeditor.com/cke4/addon/smiley).
+
+## CKEditor 4.2.3
+
+Fixed Issues:
+
+* [#10994](https://dev.ckeditor.com/ticket/10994): Fixed: Loading external jQuery library when opening the [jQuery Adapter](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_jquery.html) sample directly from file.
+* [#10975](https://dev.ckeditor.com/ticket/10975): [IE] Fixed: Error thrown while opening the color palette.
+* [#9929](https://dev.ckeditor.com/ticket/9929): [Blink/WebKit] Fixed: A non-breaking space is created once a character is deleted and a regular space is typed.
+* [#10963](https://dev.ckeditor.com/ticket/10963): Fixed: JAWS issue with the keyboard shortcut for [Magic Line](https://ckeditor.com/cke4/addon/magicline).
+* [#11096](https://dev.ckeditor.com/ticket/11096): Fixed: TypeError: Object has no method 'is'.
+
+## CKEditor 4.2.2
+
+Fixed Issues:
+
+* [#9314](https://dev.ckeditor.com/ticket/9314): Fixed: Incorrect error message on closing a dialog window without saving changs.
+* [#10308](https://dev.ckeditor.com/ticket/10308): [IE10] Fixed: Unspecified error when deleting a row.
+* [#10945](https://dev.ckeditor.com/ticket/10945): [Chrome] Fixed: Clicking with a mouse inside the editor does not show the caret.
+* [#10912](https://dev.ckeditor.com/ticket/10912): Prevent default action when content of a non-editable link is clicked.
+* [#10913](https://dev.ckeditor.com/ticket/10913): Fixed [`CKEDITOR.plugins.addExternal()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_resourceManager.html#method-addExternal) not handling paths including file name specified.
+* [#10666](https://dev.ckeditor.com/ticket/10666): Fixed [`CKEDITOR.tools.isArray()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools.html#method-isArray) not working cross frame.
+* [#10910](https://dev.ckeditor.com/ticket/10910): [IE9] Fixed JavaScript error thrown in Compatibility Mode when clicking and/or typing in the editing area.
+* [#10868](https://dev.ckeditor.com/ticket/10868): [IE8] Prevent the browser from crashing when applying the Inline Quotation style.
+* [#10915](https://dev.ckeditor.com/ticket/10915): Fixed: Invalid CSS filter in the Kama skin.
+* [#10914](https://dev.ckeditor.com/ticket/10914): Plugins [Indent List](https://ckeditor.com/cke4/addon/indentlist) and [Indent Block](https://ckeditor.com/cke4/addon/indentblock) are now included in the build configuration.
+* [#10812](https://dev.ckeditor.com/ticket/10812): Fixed [`range.createBookmark2()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_range.html#method-createBookmark2) incorrectly normalizing offsets. This bug was causing many issues: [#10850](https://dev.ckeditor.com/ticket/10850), [#10842](https://dev.ckeditor.com/ticket/10842).
+* [#10951](https://dev.ckeditor.com/ticket/10951): Reviewed and optimized focus handling on panels (combo, menu buttons, color buttons, and context menu) to enhance accessibility. Fixed [#10705](https://dev.ckeditor.com/ticket/10705), [#10706](https://dev.ckeditor.com/ticket/10706) and [#10707](https://dev.ckeditor.com/ticket/10707).
+* [#10704](https://dev.ckeditor.com/ticket/10704): Fixed a JAWS issue with the Select Color dialog window title not being announced.
+* [#10753](https://dev.ckeditor.com/ticket/10753): The floating toolbar in inline instances now has a dedicated accessibility label.
+
+## CKEditor 4.2.1
+
+Fixed Issues:
+
+* [#10301](https://dev.ckeditor.com/ticket/10301): [IE9-10] Undo fails after 3+ consecutive paste actions with a JavaScript error.
+* [#10689](https://dev.ckeditor.com/ticket/10689): Save toolbar button saves only the first editor instance.
+* [#10368](https://dev.ckeditor.com/ticket/10368): Move language reading direction definition (`dir`) from main language file to core.
+* [#9330](https://dev.ckeditor.com/ticket/9330): Fixed pasting anchors from MS Word.
+* [#8103](https://dev.ckeditor.com/ticket/8103): Fixed pasting nested lists from MS Word.
+* [#9958](https://dev.ckeditor.com/ticket/9958): [IE9] Pressing the "OK" button will trigger the `onbeforeunload` event in the popup dialog.
+* [#10662](https://dev.ckeditor.com/ticket/10662): Fixed styles from the Styles drop-down list not registering to the ACF in case when the [Shared Spaces plugin](https://ckeditor.com/cke4/addon/sharedspace) is used.
+* [#9654](https://dev.ckeditor.com/ticket/9654): Problems with Internet Explorer 10 Quirks Mode.
+* [#9816](https://dev.ckeditor.com/ticket/9816): Floating toolbar does not reposition vertically in several cases.
+* [#10646](https://dev.ckeditor.com/ticket/10646): Removing a selected sublist or nested table with *Backspace/Delete* removes the parent element.
+* [#10623](https://dev.ckeditor.com/ticket/10623): [WebKit] Page is scrolled when opening a drop-down list.
+* [#10004](https://dev.ckeditor.com/ticket/10004): [ChromeVox] Button names are not announced.
+* [#10731](https://dev.ckeditor.com/ticket/10731): [WebSpellChecker](https://ckeditor.com/cke4/addon/wsc) plugin breaks cloning of editor configuration.
+* It is now possible to set per instance [WebSpellChecker](https://ckeditor.com/cke4/addon/wsc) plugin configuration instead of setting the configuration globally.
+
+## CKEditor 4.2
+
+**Important Notes:**
+
+* Dropped compatibility support for Internet Explorer 7 and Firefox 3.6.
+
+* Both the Basic and the Standard distribution packages will not contain the new [Indent Block](https://ckeditor.com/cke4/addon/indentblock) plugin. Because of this the [Advanced Content Filter](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_advanced_content_filter.html) might remove block indentations from existing contents. If you want to prevent this, either [add an appropriate ACF rule to your filter](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_allowed_content_rules.html) or create a custom build based on the Basic/Standard package and add the Indent Block plugin in [CKBuilder](https://ckeditor.com/cke4/builder).
+
+New Features:
+
+* [#10027](https://dev.ckeditor.com/ticket/10027): Separated list and block indentation into two plugins: [Indent List](https://ckeditor.com/cke4/addon/indentlist) and [Indent Block](https://ckeditor.com/cke4/addon/indentblock).
+* [#8244](https://dev.ckeditor.com/ticket/8244): Use *(Shift+)Tab* to indent and outdent lists.
+* [#10281](https://dev.ckeditor.com/ticket/10281): The [jQuery Adapter](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_jquery.html) is now available. Several jQuery-related issues fixed: [#8261](https://dev.ckeditor.com/ticket/8261), [#9077](https://dev.ckeditor.com/ticket/9077), [#8710](https://dev.ckeditor.com/ticket/8710), [#8530](https://dev.ckeditor.com/ticket/8530), [#9019](https://dev.ckeditor.com/ticket/9019), [#6181](https://dev.ckeditor.com/ticket/6181), [#7876](https://dev.ckeditor.com/ticket/7876), [#6906](https://dev.ckeditor.com/ticket/6906).
+* [#10042](https://dev.ckeditor.com/ticket/10042): Introduced [`config.title`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-title) setting to change the human-readable title of the editor.
+* [#9794](https://dev.ckeditor.com/ticket/9794): Added [`editor.change`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#event-change) event.
+* [#9923](https://dev.ckeditor.com/ticket/9923): HiDPI support in the editor UI. HiDPI icons for [Moono skin](https://ckeditor.com/cke4/addon/moono) added.
+* [#8031](https://dev.ckeditor.com/ticket/8031): Handle `required` attributes on `<textarea>` elements &mdash; introduced [`editor.required`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#event-required) event.
+* [#10280](https://dev.ckeditor.com/ticket/10280): Ability to replace `<textarea>` elements with the inline editor.
+
+Fixed Issues:
+
+* [#10599](https://dev.ckeditor.com/ticket/10599): [Indent](https://ckeditor.com/cke4/addon/indent) plugin is no longer required by the [List](https://ckeditor.com/cke4/addon/list) plugin.
+* [#10370](https://dev.ckeditor.com/ticket/10370): Inconsistency in data events between framed and inline editors.
+* [#10438](https://dev.ckeditor.com/ticket/10438): [FF, IE] No selection is done on an editable element on executing [`editor.setData()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-setData).
+
+## CKEditor 4.1.3
+
+New Features:
+
+* Added new translation: Indonesian.
+
+Fixed Issues:
+
+* [#10644](https://dev.ckeditor.com/ticket/10644): Fixed a critical bug when pasting plain text in Blink-based browsers.
+* [#5189](https://dev.ckeditor.com/ticket/5189): [Find/Replace](https://ckeditor.com/cke4/addon/find) dialog window: rename "Cancel" button to "Close".
+* [#10562](https://dev.ckeditor.com/ticket/10562): [Housekeeping] Unified CSS gradient filter formats in the [Moono](https://ckeditor.com/cke4/addon/moono) skin.
+* [#10537](https://dev.ckeditor.com/ticket/10537): Advanced Content Filter should register a default rule for [`config.shiftEnterMode`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-shiftEnterMode).
+* [#10610](https://dev.ckeditor.com/ticket/10610): [`CKEDITOR.dialog.addIframe()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dialog.html#static-method-addIframe) incorrectly sets the iframe size in dialog windows.
+
+## CKEditor 4.1.2
+
+New Features:
+
+* Added new translation: Sinhala.
+
+Fixed Issues:
+
+* [#10339](https://dev.ckeditor.com/ticket/10339): Fixed: Error thrown when inserted data was totally stripped out after filtering and processing.
+* [#10298](https://dev.ckeditor.com/ticket/10298): Fixed: Data processor breaks attributes containing protected parts.
+* [#10367](https://dev.ckeditor.com/ticket/10367): Fixed: [`editable.insertText()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editable.html#method-insertText) loses characters when `RegExp` replace controls are being inserted.
+* [#10165](https://dev.ckeditor.com/ticket/10165): [IE] Access denied error when `document.domain` has been altered.
+* [#9761](https://dev.ckeditor.com/ticket/9761): Update the *Backspace* key state in [`keystrokeHandler.blockedKeystrokes`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_keystrokeHandler.html#property-blockedKeystrokes) when calling [`editor.setReadOnly()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-setReadOnly).
+* [#6504](https://dev.ckeditor.com/ticket/6504): Fixed: Race condition while loading several [`config.customConfig`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-customConfig) files.
+* [#10146](https://dev.ckeditor.com/ticket/10146): [Firefox] Empty lines are being removed while [`config.enterMode`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-enterMode) is [`CKEDITOR.ENTER_BR`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.html#property-ENTER_BR).
+* [#10360](https://dev.ckeditor.com/ticket/10360): Fixed: ARIA `role="application"` should not be used for dialog windows.
+* [#10361](https://dev.ckeditor.com/ticket/10361): Fixed: ARIA `role="application"` should not be used for floating panels.
+* [#10510](https://dev.ckeditor.com/ticket/10510): Introduced unique voice labels to differentiate between different editor instances.
+* [#9945](https://dev.ckeditor.com/ticket/9945): [iOS] Scrolling not possible on iPad.
+* [#10389](https://dev.ckeditor.com/ticket/10389): Fixed: Invalid HTML in the "Text and Table" template.
+* [WebSpellChecker](https://ckeditor.com/cke4/addon/wsc) plugin user interface was changed to match CKEditor 4 style.
+
+## CKEditor 4.1.1
+
+New Features:
+
+* Added new translation: Albanian.
+
+Fixed Issues:
+
+* [#10172](https://dev.ckeditor.com/ticket/10172): Pressing *Delete* or *Backspace* in an empty table cell moves the cursor to the next/previous cell.
+* [#10219](https://dev.ckeditor.com/ticket/10219): Error thrown when destroying an editor instance in parallel with a `mouseup` event.
+* [#10265](https://dev.ckeditor.com/ticket/10265): Wrong loop type in the [File Browser](https://ckeditor.com/cke4/addon/filebrowser) plugin.
+* [#10249](https://dev.ckeditor.com/ticket/10249): Wrong undo/redo states at start.
+* [#10268](https://dev.ckeditor.com/ticket/10268): [Show Blocks](https://ckeditor.com/cke4/addon/showblocks) does not recover after switching to Source view.
+* [#9995](https://dev.ckeditor.com/ticket/9995): HTML code in the `<textarea>` should not be modified by the [`htmlDataProcessor`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.htmlDataProcessor.html).
+* [#10320](https://dev.ckeditor.com/ticket/10320): [Justify](https://ckeditor.com/cke4/addon/justify) plugin should add elements to Advanced Content Filter based on current [Enter mode](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-enterMode).
+* [#10260](https://dev.ckeditor.com/ticket/10260): Fixed: Advanced Content Filter blocks [`tabSpaces`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-tabSpaces). Unified `data-cke-*` attributes filtering.
+* [#10315](https://dev.ckeditor.com/ticket/10315): [WebKit] [Undo manager](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.plugins.undo.UndoManager.html) should not record snapshots after a filling character was added/removed.
+* [#10291](https://dev.ckeditor.com/ticket/10291): [WebKit] Space after a filling character should be secured.
+* [#10330](https://dev.ckeditor.com/ticket/10330): [WebKit] The filling character is not removed on `keydown` in specific cases.
+* [#10285](https://dev.ckeditor.com/ticket/10285): Fixed: Styled text pasted from MS Word causes an infinite loop.
+* [#10131](https://dev.ckeditor.com/ticket/10131): Fixed: [`undoManager.update()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_undo_UndoManager.html#method-update) does not refresh the command state.
+* [#10337](https://dev.ckeditor.com/ticket/10337): Fixed: Unable to remove `<s>` using [Remove Format](https://ckeditor.com/cke4/addon/removeformat).
+
+## CKEditor 4.1
+
+Fixed Issues:
+
+* [#10192](https://dev.ckeditor.com/ticket/10192): Closing lists with the *Enter* key does not work with [Advanced Content Filter](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_advanced_content_filter.html) in several cases.
+* [#10191](https://dev.ckeditor.com/ticket/10191): Fixed allowed content rules unification, so the [`filter.allowedContent`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_filter.html#property-allowedContent) property always contains rules in the same format.
+* [#10224](https://dev.ckeditor.com/ticket/10224): Advanced Content Filter does not remove non-empty `<a>` elements anymore.
+* Minor issues in plugin integration with Advanced Content Filter:
+  * [#10166](https://dev.ckeditor.com/ticket/10166): Added transformation from the `align` attribute to `float` style to preserve backward compatibility after the introduction of Advanced Content Filter.
+  * [#10195](https://dev.ckeditor.com/ticket/10195): [Image](https://ckeditor.com/cke4/addon/image) plugin no longer registers rules for links to Advanced Content Filter.
+  * [#10213](https://dev.ckeditor.com/ticket/10213): [Justify](https://ckeditor.com/cke4/addon/justify) plugin is now correctly registering rules to Advanced Content Filter when [`config.justifyClasses`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-justifyClasses) is defined.
+
+## CKEditor 4.1 RC
+
+New Features:
+
+* [#9829](https://dev.ckeditor.com/ticket/9829): Advanced Content Filter - data and features activation based on editor configuration.
+
+  Brand new data filtering system that works in 2 modes:
+
+  * Based on loaded features (toolbar items, plugins) - the data will be filtered according to what the editor in its
+  current configuration can handle.
+  * Based on [`config.allowedContent`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-allowedContent) rules - the data
+  will be filtered and the editor features (toolbar items, commands, keystrokes) will be enabled if they are allowed.
+
+  See the `datafiltering.html` sample, [guides](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_advanced_content_filter.html) and [`CKEDITOR.filter` API documentation](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.filter.html).
+* [#9387](https://dev.ckeditor.com/ticket/9387): Reintroduced [Shared Spaces](https://ckeditor.com/cke4/addon/sharedspace) - the ability to display toolbar and bottom editor space in selected locations and to share them by different editor instances.
+* [#9907](https://dev.ckeditor.com/ticket/9907): Added the [`contentPreview`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.html#event-contentPreview) event for preview data manipulation.
+* [#9713](https://dev.ckeditor.com/ticket/9713): Introduced the [Source Dialog](https://ckeditor.com/cke4/addon/sourcedialog) plugin that brings raw HTML editing for inline editor instances.
+* Included in [#9829](https://dev.ckeditor.com/ticket/9829): Introduced new events, [`toHtml`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#event-toHtml) and [`toDataFormat`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#event-toDataFormat), allowing for better integration with data processing.
+* [#9981](https://dev.ckeditor.com/ticket/9981): Added ability to filter [`htmlParser.fragment`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.htmlParser.fragment.html), [`htmlParser.element`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.htmlParser.element.html) etc. by many [`htmlParser.filter`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.htmlParser.filter.html)s before writing structure to an HTML string.
+* Included in [#10103](https://dev.ckeditor.com/ticket/10103):
+  * Introduced the [`editor.status`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#property-status) property to make it easier to check the current status of the editor.
+  * Default [`command`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.command.html) state is now [`CKEDITOR.TRISTATE_DISABLE`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.html#property-TRISTATE_DISABLED). It will be activated on [`editor.instanceReady`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.html#event-instanceReady) or immediately after being added if the editor is already initialized.
+* [#9796](https://dev.ckeditor.com/ticket/9796): Introduced `<s>` as a default tag for strikethrough, which replaces obsolete `<strike>` in HTML5.
+
+## CKEditor 4.0.3
+
+Fixed Issues:
+
+* [#10196](https://dev.ckeditor.com/ticket/10196): Fixed context menus not opening with keyboard shortcuts when [Autogrow](https://ckeditor.com/cke4/addon/autogrow) is enabled.
+* [#10212](https://dev.ckeditor.com/ticket/10212): [IE7-10] Undo command throws errors after multiple switches between Source and WYSIWYG view.
+* [#10219](https://dev.ckeditor.com/ticket/10219): [Inline editor] Error thrown after calling [`editor.destroy()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-destroy).
+
+## CKEditor 4.0.2
+
+Fixed Issues:
+
+* [#9779](https://dev.ckeditor.com/ticket/9779): Fixed overriding [`CKEDITOR.getUrl()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.html#method-getUrl) with `CKEDITOR_GETURL`.
+* [#9772](https://dev.ckeditor.com/ticket/9772): Custom buttons in the dialog window footer have different look and size ([Moono](https://ckeditor.com/cke4/addon/moono), [Kama](https://ckeditor.com/cke4/addon/kama) skins).
+* [#9029](https://dev.ckeditor.com/ticket/9029): Custom styles added with the [`stylesSet.add()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_stylesSet.html#method-add) are displayed in the wrong order.
+* [#9887](https://dev.ckeditor.com/ticket/9887): Disable [Magic Line](https://ckeditor.com/cke4/addon/magicline) when [`editor.readOnly`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#property-readOnly) is set.
+* [#9882](https://dev.ckeditor.com/ticket/9882): Fixed empty document title on [`editor.getData()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-getData) if set via the Document Properties dialog window.
+* [#9773](https://dev.ckeditor.com/ticket/9773): Fixed rendering problems with selection fields in the Kama skin.
+* [#9851](https://dev.ckeditor.com/ticket/9851): The [`selectionChange`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#event-selectionChange) event is not fired when mouse selection ended outside editable.
+* [#9903](https://dev.ckeditor.com/ticket/9903): [Inline editor] Bad positioning of floating space with page horizontal scroll.
+* [#9872](https://dev.ckeditor.com/ticket/9872): [`editor.checkDirty()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-checkDirty) returns `true` when called onload. Removed the obsolete `editor.mayBeDirty` flag.
+* [#9893](https://dev.ckeditor.com/ticket/9893): [IE] Fixed broken toolbar when editing mixed direction content in Quirks mode.
+* [#9845](https://dev.ckeditor.com/ticket/9845): Fixed TAB navigation in the [Link](https://ckeditor.com/cke4/addon/link) dialog window when the Anchor option is used and no anchors are available.
+* [#9883](https://dev.ckeditor.com/ticket/9883): Maximizing was making the entire page editable with [divarea](https://ckeditor.com/cke4/addon/divarea)-based editors.
+* [#9940](https://dev.ckeditor.com/ticket/9940): [Firefox] Navigating back to a page with the editor was making the entire page editable.
+* [#9966](https://dev.ckeditor.com/ticket/9966): Fixed: Unable to type square brackets with French keyboard layout. Changed [Magic Line](https://ckeditor.com/cke4/addon/magicline) keystrokes.
+* [#9507](https://dev.ckeditor.com/ticket/9507): [Firefox] Selection is moved before editable position when the editor is focused for the first time.
+* [#9947](https://dev.ckeditor.com/ticket/9947): [WebKit] Editor overflows parent container in some edge cases.
+* [#10105](https://dev.ckeditor.com/ticket/10105): Fixed: Broken [sourcearea](https://ckeditor.com/cke4/addon/sourcearea) view when an RTL language is set.
+* [#10123](https://dev.ckeditor.com/ticket/10123): [WebKit] Fixed: Several dialog windows have broken layout since the latest WebKit release.
+* [#10152](https://dev.ckeditor.com/ticket/10152): Fixed: Invalid ARIA property used on menu items.
+
+## CKEditor 4.0.1.1
+
+Fixed Issues:
+
+* Security update: Added protection against XSS attack and possible path disclosure in the PHP sample.
+
+## CKEditor 4.0.1
+
+Fixed Issues:
+
+* [#9655](https://dev.ckeditor.com/ticket/9655): Support for IE Quirks Mode in the new [Moono skin](https://ckeditor.com/cke4/addon/moono).
+* Accessibility issues (mainly in inline editor): [#9364](https://dev.ckeditor.com/ticket/9364), [#9368](https://dev.ckeditor.com/ticket/9368), [#9369](https://dev.ckeditor.com/ticket/9369), [#9370](https://dev.ckeditor.com/ticket/9370), [#9541](https://dev.ckeditor.com/ticket/9541), [#9543](https://dev.ckeditor.com/ticket/9543), [#9841](https://dev.ckeditor.com/ticket/9841), [#9844](https://dev.ckeditor.com/ticket/9844).
+* [Magic Line](https://ckeditor.com/cke4/addon/magicline) plugin:
+    * [#9481](https://dev.ckeditor.com/ticket/9481): Added accessibility support for Magic Line.
+    * [#9509](https://dev.ckeditor.com/ticket/9509): Added Magic Line support for forms.
+    * [#9573](https://dev.ckeditor.com/ticket/9573): Magic Line does not disappear on `mouseout` in a specific case.
+* [#9754](https://dev.ckeditor.com/ticket/9754): [WebKit] Cutting & pasting simple unformatted text generates an inline wrapper in WebKit browsers.
+* [#9456](https://dev.ckeditor.com/ticket/9456): [Chrome] Properly paste bullet list style from MS Word.
+* [#9699](https://dev.ckeditor.com/ticket/9699), [#9758](https://dev.ckeditor.com/ticket/9758): Improved selection locking when selecting by dragging.
+* Context menu:
+    * [#9712](https://dev.ckeditor.com/ticket/9712): Opening the context menu destroys editor focus.
+    * [#9366](https://dev.ckeditor.com/ticket/9366): Context menu should be displayed over the floating toolbar.
+    * [#9706](https://dev.ckeditor.com/ticket/9706): Context menu generates a JavaScript error in inline mode when the editor is attached to a header element.
+* [#9800](https://dev.ckeditor.com/ticket/9800): Hide float panel when resizing the window.
+* [#9721](https://dev.ckeditor.com/ticket/9721): Padding in content of div-based editor puts the editing area under the bottom UI space.
+* [#9528](https://dev.ckeditor.com/ticket/9528): Host page `box-sizing` style should not influence the editor UI elements.
+* [#9503](https://dev.ckeditor.com/ticket/9503): [Form Elements](https://ckeditor.com/cke4/addon/forms) plugin adds context menu listeners only on supported input types. Added support for `tel`, `email`, `search` and `url` input types.
+* [#9769](https://dev.ckeditor.com/ticket/9769): Improved floating toolbar positioning in a narrow window.
+* [#9875](https://dev.ckeditor.com/ticket/9875): Table dialog window does not populate width correctly.
+* [#8675](https://dev.ckeditor.com/ticket/8675): Deleting cells in a nested table removes the outer table cell.
+* [#9815](https://dev.ckeditor.com/ticket/9815): Cannot edit dialog window fields in an editor initialized in the jQuery UI modal dialog.
+* [#8888](https://dev.ckeditor.com/ticket/8888): CKEditor dialog windows do not show completely in a small window.
+* [#9360](https://dev.ckeditor.com/ticket/9360): [Inline editor] Blocks shown for a `<div>` element stay permanently even after the user exits editing the `<div>`.
+* [#9531](https://dev.ckeditor.com/ticket/9531): [Firefox & Inline editor] Toolbar is lost when closing the Format drop-down list by clicking its button.
+* [#9553](https://dev.ckeditor.com/ticket/9553): Table width incorrectly set when the `border-width` style is specified.
+* [#9594](https://dev.ckeditor.com/ticket/9594): Cannot tab past CKEditor when it is in read-only mode.
+* [#9658](https://dev.ckeditor.com/ticket/9658): [IE9] Justify not working on selected images.
+* [#9686](https://dev.ckeditor.com/ticket/9686): Added missing contents styles for `<pre>` elements.
+* [#9709](https://dev.ckeditor.com/ticket/9709): [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword) should not depend on configuration from other styles.
+* [#9726](https://dev.ckeditor.com/ticket/9726): Removed [Color Dialog](https://ckeditor.com/cke4/addon/colordialog) plugin dependency from [Table Tools](https://ckeditor.com/cke4/addon/tabletools).
+* [#9765](https://dev.ckeditor.com/ticket/9765): Toolbar Collapse command documented incorrectly in the [Accessibility Instructions](https://ckeditor.com/cke4/addon/a11yhelp) dialog window.
+* [#9771](https://dev.ckeditor.com/ticket/9771): [WebKit & Opera] Fixed scrolling issues when pasting.
+* [#9787](https://dev.ckeditor.com/ticket/9787): [IE9] `onChange` is not fired for checkboxes in dialogs.
+* [#9842](https://dev.ckeditor.com/ticket/9842): [Firefox 17] When opening a toolbar menu for the first time and pressing the *Down Arrow* key, focus goes to the next toolbar button instead of the menu options.
+* [#9847](https://dev.ckeditor.com/ticket/9847): [Elements Path](https://ckeditor.com/cke4/addon/elementspath) should not be initialized in the inline editor.
+* [#9853](https://dev.ckeditor.com/ticket/9853): [`editor.addRemoveFormatFilter()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-addRemoveFormatFilter) is exposed before it really works.
+* [#8893](https://dev.ckeditor.com/ticket/8893): Value of the [`pasteFromWordCleanupFile`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-pasteFromWordCleanupFile) configuration option is now taken from the instance configuration.
+* [#9693](https://dev.ckeditor.com/ticket/9693): Removed "Live Preview" checkbox from UI color picker.
+
+
+## CKEditor 4.0
+
+The first stable release of the new CKEditor 4 code line.
+
+The CKEditor JavaScript API has been kept compatible with CKEditor 4, whenever
+possible. The list of relevant changes can be found in the [API Changes page of
+the CKEditor 4 documentation][1].
+
+[1]: https://ckeditor.com/docs/ckeditor4/latest/guide/dev_api_changes.html "API Changes"

+ 1435 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/LICENSE.md

@@ -0,0 +1,1435 @@
+Software License Agreement
+==========================
+
+CKEditor - The text editor for Internet - https://ckeditor.com/
+Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
+
+Licensed under the terms of any of the following licenses at your
+choice:
+
+ - GNU General Public License Version 2 or later (the "GPL")
+   https://www.gnu.org/licenses/gpl.html
+   (See Appendix A)
+
+ - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+   https://www.gnu.org/licenses/lgpl.html
+   (See Appendix B)
+
+ - Mozilla Public License Version 1.1 or later (the "MPL")
+   https://www.mozilla.org/MPL/MPL-1.1.html
+   (See Appendix C)
+
+You are not required to, but if you want to explicitly declare the
+license you have chosen to be bound to when using, reproducing,
+modifying and distributing this software, just include a text file
+titled "legal.txt" in your version of this software, indicating your
+license choice. In any case, your choice will not restrict any
+recipient of your version of this software to use, reproduce, modify
+and distribute this software under any of the above licenses.
+
+Sources of Intellectual Property Included in CKEditor
+-----------------------------------------------------
+
+Where not otherwise indicated, all CKEditor content is authored by
+CKSource engineers and consists of CKSource-owned intellectual
+property. In some specific instances, CKEditor will incorporate work
+done by developers outside of CKSource with their express permission.
+
+The following libraries are included in CKEditor under the MIT license (see Appendix D):
+
+* CKSource Samples Framework (included in the samples) - Copyright (c) 2014-2021, CKSource - Frederico Knabben.
+* PicoModal (included in `samples/js/sf.js`) - Copyright (c) 2012 James Frasca.
+* CodeMirror (included in the samples) - Copyright (C) 2014 by Marijn Haverbeke <marijnh@gmail.com> and others.
+* ES6Promise - Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors.
+
+Parts of code taken from the following libraries are included in CKEditor under the MIT license (see Appendix D):
+
+* jQuery (inspired the domReady function, ckeditor_base.js) - Copyright (c) 2011 John Resig, https://jquery.com/
+
+The following libraries are included in CKEditor under the SIL Open Font License, Version 1.1 (see Appendix E):
+
+* Font Awesome (included in the toolbar configurator) - Copyright (C) 2012 by Dave Gandy.
+
+The following libraries are included in CKEditor under the BSD-3 License (see Appendix F):
+
+* highlight.js (included in the `codesnippet` plugin) - Copyright (c) 2006, Ivan Sagalaev.
+* YUI Library (included in the `uicolor` plugin) - Copyright (c) 2009, Yahoo! Inc.
+
+
+Trademarks
+----------
+
+CKEditor is a trademark of CKSource - Frederico Knabben. All other brand
+and product names are trademarks, registered trademarks or service
+marks of their respective holders.
+
+---
+
+Appendix A: The GPL License
+---------------------------
+
+```
+GNU GENERAL PUBLIC LICENSE
+Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software-to make sure the software is free for all its users.  This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it.  (Some other Free Software Foundation software is covered by
+the GNU Lesser General Public License instead.)  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+  To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have.  You must make sure that they, too, receive or can get the
+source code.  And you must show them these terms so they know their
+rights.
+
+  We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+  Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software.  If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+  Finally, any free program is threatened constantly by software
+patents.  We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary.  To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+
+GNU GENERAL PUBLIC LICENSE
+TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License.  The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language.  (Hereinafter, translation is included without limitation in
+the term "modification".)  Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope.  The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+  1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+  2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+    a) You must cause the modified files to carry prominent notices
+    stating that you changed the files and the date of any change.
+
+    b) You must cause any work that you distribute or publish, that in
+    whole or in part contains or is derived from the Program or any
+    part thereof, to be licensed as a whole at no charge to all third
+    parties under the terms of this License.
+
+    c) If the modified program normally reads commands interactively
+    when run, you must cause it, when started running for such
+    interactive use in the most ordinary way, to print or display an
+    announcement including an appropriate copyright notice and a
+    notice that there is no warranty (or else, saying that you provide
+    a warranty) and that users may redistribute the program under
+    these conditions, and telling the user how to view a copy of this
+    License.  (Exception: if the Program itself is interactive but
+    does not normally print such an announcement, your work based on
+    the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole.  If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works.  But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+  3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+    a) Accompany it with the complete corresponding machine-readable
+    source code, which must be distributed under the terms of Sections
+    1 and 2 above on a medium customarily used for software interchange; or,
+
+    b) Accompany it with a written offer, valid for at least three
+    years, to give any third party, for a charge no more than your
+    cost of physically performing source distribution, a complete
+    machine-readable copy of the corresponding source code, to be
+    distributed under the terms of Sections 1 and 2 above on a medium
+    customarily used for software interchange; or,
+
+    c) Accompany it with the information you received as to the offer
+    to distribute corresponding source code.  (This alternative is
+    allowed only for noncommercial distribution and only if you
+    received the program in object code or executable form with such
+    an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it.  For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable.  However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+  4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License.  Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+  5. You are not required to accept this License, since you have not
+signed it.  However, nothing else grants you permission to modify or
+distribute the Program or its derivative works.  These actions are
+prohibited by law if you do not accept this License.  Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+  6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions.  You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+  7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all.  For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices.  Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+  8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded.  In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+  9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time.  Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number.  If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation.  If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+  10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission.  For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this.  Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+NO WARRANTY
+
+  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+END OF TERMS AND CONDITIONS
+```
+
+Appendix B: The LGPL License
+----------------------------
+
+```
+GNU LESSER GENERAL PUBLIC LICENSE
+Version 2.1, February 1999
+
+ Copyright (C) 1991, 1999 Free Software Foundation, Inc.
+     59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+[This is the first released version of the Lesser GPL.  It also counts
+ as the successor of the GNU Library Public License, version 2, hence
+ the version number 2.1.]
+
+Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+Licenses are intended to guarantee your freedom to share and change
+free software-to make sure the software is free for all its users.
+
+  This license, the Lesser General Public License, applies to some
+specially designated software packages-typically libraries-of the
+Free Software Foundation and other authors who decide to use it.  You
+can use it too, but we suggest you first think carefully about whether
+this license or the ordinary General Public License is the better
+strategy to use in any particular case, based on the explanations below.
+
+  When we speak of free software, we are referring to freedom of use,
+not price.  Our General Public Licenses are designed to make sure that
+you have the freedom to distribute copies of free software (and charge
+for this service if you wish); that you receive source code or can get
+it if you want it; that you can change the software and use pieces of
+it in new free programs; and that you are informed that you can do
+these things.
+
+  To protect your rights, we need to make restrictions that forbid
+distributors to deny you these rights or to ask you to surrender these
+rights.  These restrictions translate to certain responsibilities for
+you if you distribute copies of the library or if you modify it.
+
+  For example, if you distribute copies of the library, whether gratis
+or for a fee, you must give the recipients all the rights that we gave
+you.  You must make sure that they, too, receive or can get the source
+code.  If you link other code with the library, you must provide
+complete object files to the recipients, so that they can relink them
+with the library after making changes to the library and recompiling
+it.  And you must show them these terms so they know their rights.
+
+  We protect your rights with a two-step method: (1) we copyright the
+library, and (2) we offer you this license, which gives you legal
+permission to copy, distribute and/or modify the library.
+
+  To protect each distributor, we want to make it very clear that
+there is no warranty for the free library.  Also, if the library is
+modified by someone else and passed on, the recipients should know
+that what they have is not the original version, so that the original
+author's reputation will not be affected by problems that might be
+introduced by others.
+
+  Finally, software patents pose a constant threat to the existence of
+any free program.  We wish to make sure that a company cannot
+effectively restrict the users of a free program by obtaining a
+restrictive license from a patent holder.  Therefore, we insist that
+any patent license obtained for a version of the library must be
+consistent with the full freedom of use specified in this license.
+
+  Most GNU software, including some libraries, is covered by the
+ordinary GNU General Public License.  This license, the GNU Lesser
+General Public License, applies to certain designated libraries, and
+is quite different from the ordinary General Public License.  We use
+this license for certain libraries in order to permit linking those
+libraries into non-free programs.
+
+  When a program is linked with a library, whether statically or using
+a shared library, the combination of the two is legally speaking a
+combined work, a derivative of the original library.  The ordinary
+General Public License therefore permits such linking only if the
+entire combination fits its criteria of freedom.  The Lesser General
+Public License permits more lax criteria for linking other code with
+the library.
+
+  We call this license the "Lesser" General Public License because it
+does Less to protect the user's freedom than the ordinary General
+Public License.  It also provides other free software developers Less
+of an advantage over competing non-free programs.  These disadvantages
+are the reason we use the ordinary General Public License for many
+libraries.  However, the Lesser license provides advantages in certain
+special circumstances.
+
+  For example, on rare occasions, there may be a special need to
+encourage the widest possible use of a certain library, so that it becomes
+a de-facto standard.  To achieve this, non-free programs must be
+allowed to use the library.  A more frequent case is that a free
+library does the same job as widely used non-free libraries.  In this
+case, there is little to gain by limiting the free library to free
+software only, so we use the Lesser General Public License.
+
+  In other cases, permission to use a particular library in non-free
+programs enables a greater number of people to use a large body of
+free software.  For example, permission to use the GNU C Library in
+non-free programs enables many more people to use the whole GNU
+operating system, as well as its variant, the GNU/Linux operating
+system.
+
+  Although the Lesser General Public License is Less protective of the
+users' freedom, it does ensure that the user of a program that is
+linked with the Library has the freedom and the wherewithal to run
+that program using a modified version of the Library.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.  Pay close attention to the difference between a
+"work based on the library" and a "work that uses the library".  The
+former contains code derived from the library, whereas the latter must
+be combined with the library in order to run.
+
+GNU LESSER GENERAL PUBLIC LICENSE
+TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License Agreement applies to any software library or other
+program which contains a notice placed by the copyright holder or
+other authorized party saying it may be distributed under the terms of
+this Lesser General Public License (also called "this License").
+Each licensee is addressed as "you".
+
+  A "library" means a collection of software functions and/or data
+prepared so as to be conveniently linked with application programs
+(which use some of those functions and data) to form executables.
+
+  The "Library", below, refers to any such software library or work
+which has been distributed under these terms.  A "work based on the
+Library" means either the Library or any derivative work under
+copyright law: that is to say, a work containing the Library or a
+portion of it, either verbatim or with modifications and/or translated
+straightforwardly into another language.  (Hereinafter, translation is
+included without limitation in the term "modification".)
+
+  "Source code" for a work means the preferred form of the work for
+making modifications to it.  For a library, complete source code means
+all the source code for all modules it contains, plus any associated
+interface definition files, plus the scripts used to control compilation
+and installation of the library.
+
+  Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope.  The act of
+running a program using the Library is not restricted, and output from
+such a program is covered only if its contents constitute a work based
+on the Library (independent of the use of the Library in a tool for
+writing it).  Whether that is true depends on what the Library does
+and what the program that uses the Library does.
+
+  1. You may copy and distribute verbatim copies of the Library's
+complete source code as you receive it, in any medium, provided that
+you conspicuously and appropriately publish on each copy an
+appropriate copyright notice and disclaimer of warranty; keep intact
+all the notices that refer to this License and to the absence of any
+warranty; and distribute a copy of this License along with the
+Library.
+
+  You may charge a fee for the physical act of transferring a copy,
+and you may at your option offer warranty protection in exchange for a
+fee.
+
+  2. You may modify your copy or copies of the Library or any portion
+of it, thus forming a work based on the Library, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+    a) The modified work must itself be a software library.
+
+    b) You must cause the files modified to carry prominent notices
+    stating that you changed the files and the date of any change.
+
+    c) You must cause the whole of the work to be licensed at no
+    charge to all third parties under the terms of this License.
+
+    d) If a facility in the modified Library refers to a function or a
+    table of data to be supplied by an application program that uses
+    the facility, other than as an argument passed when the facility
+    is invoked, then you must make a good faith effort to ensure that,
+    in the event an application does not supply such function or
+    table, the facility still operates, and performs whatever part of
+    its purpose remains meaningful.
+
+    (For example, a function in a library to compute square roots has
+    a purpose that is entirely well-defined independent of the
+    application.  Therefore, Subsection 2d requires that any
+    application-supplied function or table used by this function must
+    be optional: if the application does not supply it, the square
+    root function must still compute square roots.)
+
+These requirements apply to the modified work as a whole.  If
+identifiable sections of that work are not derived from the Library,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works.  But when you
+distribute the same sections as part of a whole which is a work based
+on the Library, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote
+it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Library.
+
+In addition, mere aggregation of another work not based on the Library
+with the Library (or with a work based on the Library) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+  3. You may opt to apply the terms of the ordinary GNU General Public
+License instead of this License to a given copy of the Library.  To do
+this, you must alter all the notices that refer to this License, so
+that they refer to the ordinary GNU General Public License, version 2,
+instead of to this License.  (If a newer version than version 2 of the
+ordinary GNU General Public License has appeared, then you can specify
+that version instead if you wish.)  Do not make any other change in
+these notices.
+
+  Once this change is made in a given copy, it is irreversible for
+that copy, so the ordinary GNU General Public License applies to all
+subsequent copies and derivative works made from that copy.
+
+  This option is useful when you wish to copy part of the code of
+the Library into a program that is not a library.
+
+  4. You may copy and distribute the Library (or a portion or
+derivative of it, under Section 2) in object code or executable form
+under the terms of Sections 1 and 2 above provided that you accompany
+it with the complete corresponding machine-readable source code, which
+must be distributed under the terms of Sections 1 and 2 above on a
+medium customarily used for software interchange.
+
+  If distribution of object code is made by offering access to copy
+from a designated place, then offering equivalent access to copy the
+source code from the same place satisfies the requirement to
+distribute the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+  5. A program that contains no derivative of any portion of the
+Library, but is designed to work with the Library by being compiled or
+linked with it, is called a "work that uses the Library".  Such a
+work, in isolation, is not a derivative work of the Library, and
+therefore falls outside the scope of this License.
+
+  However, linking a "work that uses the Library" with the Library
+creates an executable that is a derivative of the Library (because it
+contains portions of the Library), rather than a "work that uses the
+library".  The executable is therefore covered by this License.
+Section 6 states terms for distribution of such executables.
+
+  When a "work that uses the Library" uses material from a header file
+that is part of the Library, the object code for the work may be a
+derivative work of the Library even though the source code is not.
+Whether this is true is especially significant if the work can be
+linked without the Library, or if the work is itself a library.  The
+threshold for this to be true is not precisely defined by law.
+
+  If such an object file uses only numerical parameters, data
+structure layouts and accessors, and small macros and small inline
+functions (ten lines or less in length), then the use of the object
+file is unrestricted, regardless of whether it is legally a derivative
+work.  (Executables containing this object code plus portions of the
+Library will still fall under Section 6.)
+
+  Otherwise, if the work is a derivative of the Library, you may
+distribute the object code for the work under the terms of Section 6.
+Any executables containing that work also fall under Section 6,
+whether or not they are linked directly with the Library itself.
+
+  6. As an exception to the Sections above, you may also combine or
+link a "work that uses the Library" with the Library to produce a
+work containing portions of the Library, and distribute that work
+under terms of your choice, provided that the terms permit
+modification of the work for the customer's own use and reverse
+engineering for debugging such modifications.
+
+  You must give prominent notice with each copy of the work that the
+Library is used in it and that the Library and its use are covered by
+this License.  You must supply a copy of this License.  If the work
+during execution displays copyright notices, you must include the
+copyright notice for the Library among them, as well as a reference
+directing the user to the copy of this License.  Also, you must do one
+of these things:
+
+    a) Accompany the work with the complete corresponding
+    machine-readable source code for the Library including whatever
+    changes were used in the work (which must be distributed under
+    Sections 1 and 2 above); and, if the work is an executable linked
+    with the Library, with the complete machine-readable "work that
+    uses the Library", as object code and/or source code, so that the
+    user can modify the Library and then relink to produce a modified
+    executable containing the modified Library.  (It is understood
+    that the user who changes the contents of definitions files in the
+    Library will not necessarily be able to recompile the application
+    to use the modified definitions.)
+
+    b) Use a suitable shared library mechanism for linking with the
+    Library.  A suitable mechanism is one that (1) uses at run time a
+    copy of the library already present on the user's computer system,
+    rather than copying library functions into the executable, and (2)
+    will operate properly with a modified version of the library, if
+    the user installs one, as long as the modified version is
+    interface-compatible with the version that the work was made with.
+
+    c) Accompany the work with a written offer, valid for at
+    least three years, to give the same user the materials
+    specified in Subsection 6a, above, for a charge no more
+    than the cost of performing this distribution.
+
+    d) If distribution of the work is made by offering access to copy
+    from a designated place, offer equivalent access to copy the above
+    specified materials from the same place.
+
+    e) Verify that the user has already received a copy of these
+    materials or that you have already sent this user a copy.
+
+  For an executable, the required form of the "work that uses the
+Library" must include any data and utility programs needed for
+reproducing the executable from it.  However, as a special exception,
+the materials to be distributed need not include anything that is
+normally distributed (in either source or binary form) with the major
+components (compiler, kernel, and so on) of the operating system on
+which the executable runs, unless that component itself accompanies
+the executable.
+
+  It may happen that this requirement contradicts the license
+restrictions of other proprietary libraries that do not normally
+accompany the operating system.  Such a contradiction means you cannot
+use both them and the Library together in an executable that you
+distribute.
+
+  7. You may place library facilities that are a work based on the
+Library side-by-side in a single library together with other library
+facilities not covered by this License, and distribute such a combined
+library, provided that the separate distribution of the work based on
+the Library and of the other library facilities is otherwise
+permitted, and provided that you do these two things:
+
+    a) Accompany the combined library with a copy of the same work
+    based on the Library, uncombined with any other library
+    facilities.  This must be distributed under the terms of the
+    Sections above.
+
+    b) Give prominent notice with the combined library of the fact
+    that part of it is a work based on the Library, and explaining
+    where to find the accompanying uncombined form of the same work.
+
+  8. You may not copy, modify, sublicense, link with, or distribute
+the Library except as expressly provided under this License.  Any
+attempt otherwise to copy, modify, sublicense, link with, or
+distribute the Library is void, and will automatically terminate your
+rights under this License.  However, parties who have received copies,
+or rights, from you under this License will not have their licenses
+terminated so long as such parties remain in full compliance.
+
+  9. You are not required to accept this License, since you have not
+signed it.  However, nothing else grants you permission to modify or
+distribute the Library or its derivative works.  These actions are
+prohibited by law if you do not accept this License.  Therefore, by
+modifying or distributing the Library (or any work based on the
+Library), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Library or works based on it.
+
+  10. Each time you redistribute the Library (or any work based on the
+Library), the recipient automatically receives a license from the
+original licensor to copy, distribute, link with or modify the Library
+subject to these terms and conditions.  You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties with
+this License.
+
+  11. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Library at all.  For example, if a patent
+license would not permit royalty-free redistribution of the Library by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Library.
+
+If any portion of this section is held invalid or unenforceable under any
+particular circumstance, the balance of the section is intended to apply,
+and the section as a whole is intended to apply in other circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system which is
+implemented by public license practices.  Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+  12. If the distribution and/or use of the Library is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Library under this License may add
+an explicit geographical distribution limitation excluding those countries,
+so that distribution is permitted only in or among countries not thus
+excluded.  In such case, this License incorporates the limitation as if
+written in the body of this License.
+
+  13. The Free Software Foundation may publish revised and/or new
+versions of the Lesser General Public License from time to time.
+Such new versions will be similar in spirit to the present version,
+but may differ in detail to address new problems or concerns.
+
+Each version is given a distinguishing version number.  If the Library
+specifies a version number of this License which applies to it and
+"any later version", you have the option of following the terms and
+conditions either of that version or of any later version published by
+the Free Software Foundation.  If the Library does not specify a
+license version number, you may choose any version ever published by
+the Free Software Foundation.
+
+  14. If you wish to incorporate parts of the Library into other free
+programs whose distribution conditions are incompatible with these,
+write to the author to ask for permission.  For software which is
+copyrighted by the Free Software Foundation, write to the Free
+Software Foundation; we sometimes make exceptions for this.  Our
+decision will be guided by the two goals of preserving the free status
+of all derivatives of our free software and of promoting the sharing
+and reuse of software generally.
+
+NO WARRANTY
+
+  15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
+WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
+EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
+OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
+KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
+LIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
+THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+  16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
+WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
+AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
+FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
+CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
+LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
+RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
+FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
+SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
+DAMAGES.
+
+END OF TERMS AND CONDITIONS
+```
+
+Appendix C: The MPL License
+---------------------------
+
+```
+MOZILLA PUBLIC LICENSE
+Version 1.1
+
+1. Definitions.
+
+     1.0.1. "Commercial Use" means distribution or otherwise making the
+     Covered Code available to a third party.
+
+     1.1. "Contributor" means each entity that creates or contributes to
+     the creation of Modifications.
+
+     1.2. "Contributor Version" means the combination of the Original
+     Code, prior Modifications used by a Contributor, and the Modifications
+     made by that particular Contributor.
+
+     1.3. "Covered Code" means the Original Code or Modifications or the
+     combination of the Original Code and Modifications, in each case
+     including portions thereof.
+
+     1.4. "Electronic Distribution Mechanism" means a mechanism generally
+     accepted in the software development community for the electronic
+     transfer of data.
+
+     1.5. "Executable" means Covered Code in any form other than Source
+     Code.
+
+     1.6. "Initial Developer" means the individual or entity identified
+     as the Initial Developer in the Source Code notice required by Exhibit
+     A.
+
+     1.7. "Larger Work" means a work which combines Covered Code or
+     portions thereof with code not governed by the terms of this License.
+
+     1.8. "License" means this document.
+
+     1.8.1. "Licensable" means having the right to grant, to the maximum
+     extent possible, whether at the time of the initial grant or
+     subsequently acquired, any and all of the rights conveyed herein.
+
+     1.9. "Modifications" means any addition to or deletion from the
+     substance or structure of either the Original Code or any previous
+     Modifications. When Covered Code is released as a series of files, a
+     Modification is:
+          A. Any addition to or deletion from the contents of a file
+          containing Original Code or previous Modifications.
+
+          B. Any new file that contains any part of the Original Code or
+          previous Modifications.
+
+     1.10. "Original Code" means Source Code of computer software code
+     which is described in the Source Code notice required by Exhibit A as
+     Original Code, and which, at the time of its release under this
+     License is not already Covered Code governed by this License.
+
+     1.10.1. "Patent Claims" means any patent claim(s), now owned or
+     hereafter acquired, including without limitation,  method, process,
+     and apparatus claims, in any patent Licensable by grantor.
+
+     1.11. "Source Code" means the preferred form of the Covered Code for
+     making modifications to it, including all modules it contains, plus
+     any associated interface definition files, scripts used to control
+     compilation and installation of an Executable, or source code
+     differential comparisons against either the Original Code or another
+     well known, available Covered Code of the Contributor's choice. The
+     Source Code can be in a compressed or archival form, provided the
+     appropriate decompression or de-archiving software is widely available
+     for no charge.
+
+     1.12. "You" (or "Your")  means an individual or a legal entity
+     exercising rights under, and complying with all of the terms of, this
+     License or a future version of this License issued under Section 6.1.
+     For legal entities, "You" includes any entity which controls, is
+     controlled by, or is under common control with You. For purposes of
+     this definition, "control" means (a) the power, direct or indirect,
+     to cause the direction or management of such entity, whether by
+     contract or otherwise, or (b) ownership of more than fifty percent
+     (50%) of the outstanding shares or beneficial ownership of such
+     entity.
+
+2. Source Code License.
+
+     2.1. The Initial Developer Grant.
+     The Initial Developer hereby grants You a world-wide, royalty-free,
+     non-exclusive license, subject to third party intellectual property
+     claims:
+          (a)  under intellectual property rights (other than patent or
+          trademark) Licensable by Initial Developer to use, reproduce,
+          modify, display, perform, sublicense and distribute the Original
+          Code (or portions thereof) with or without Modifications, and/or
+          as part of a Larger Work; and
+
+          (b) under Patents Claims infringed by the making, using or
+          selling of Original Code, to make, have made, use, practice,
+          sell, and offer for sale, and/or otherwise dispose of the
+          Original Code (or portions thereof).
+
+          (c) the licenses granted in this Section 2.1(a) and (b) are
+          effective on the date Initial Developer first distributes
+          Original Code under the terms of this License.
+
+          (d) Notwithstanding Section 2.1(b) above, no patent license is
+          granted: 1) for code that You delete from the Original Code; 2)
+          separate from the Original Code;  or 3) for infringements caused
+          by: i) the modification of the Original Code or ii) the
+          combination of the Original Code with other software or devices.
+
+     2.2. Contributor Grant.
+     Subject to third party intellectual property claims, each Contributor
+     hereby grants You a world-wide, royalty-free, non-exclusive license
+
+          (a)  under intellectual property rights (other than patent or
+          trademark) Licensable by Contributor, to use, reproduce, modify,
+          display, perform, sublicense and distribute the Modifications
+          created by such Contributor (or portions thereof) either on an
+          unmodified basis, with other Modifications, as Covered Code
+          and/or as part of a Larger Work; and
+
+          (b) under Patent Claims infringed by the making, using, or
+          selling of  Modifications made by that Contributor either alone
+          and/or in combination with its Contributor Version (or portions
+          of such combination), to make, use, sell, offer for sale, have
+          made, and/or otherwise dispose of: 1) Modifications made by that
+          Contributor (or portions thereof); and 2) the combination of
+          Modifications made by that Contributor with its Contributor
+          Version (or portions of such combination).
+
+          (c) the licenses granted in Sections 2.2(a) and 2.2(b) are
+          effective on the date Contributor first makes Commercial Use of
+          the Covered Code.
+
+          (d)    Notwithstanding Section 2.2(b) above, no patent license is
+          granted: 1) for any code that Contributor has deleted from the
+          Contributor Version; 2)  separate from the Contributor Version;
+          3)  for infringements caused by: i) third party modifications of
+          Contributor Version or ii)  the combination of Modifications made
+          by that Contributor with other software  (except as part of the
+          Contributor Version) or other devices; or 4) under Patent Claims
+          infringed by Covered Code in the absence of Modifications made by
+          that Contributor.
+
+3. Distribution Obligations.
+
+     3.1. Application of License.
+     The Modifications which You create or to which You contribute are
+     governed by the terms of this License, including without limitation
+     Section 2.2. The Source Code version of Covered Code may be
+     distributed only under the terms of this License or a future version
+     of this License released under Section 6.1, and You must include a
+     copy of this License with every copy of the Source Code You
+     distribute. You may not offer or impose any terms on any Source Code
+     version that alters or restricts the applicable version of this
+     License or the recipients' rights hereunder. However, You may include
+     an additional document offering the additional rights described in
+     Section 3.5.
+
+     3.2. Availability of Source Code.
+     Any Modification which You create or to which You contribute must be
+     made available in Source Code form under the terms of this License
+     either on the same media as an Executable version or via an accepted
+     Electronic Distribution Mechanism to anyone to whom you made an
+     Executable version available; and if made available via Electronic
+     Distribution Mechanism, must remain available for at least twelve (12)
+     months after the date it initially became available, or at least six
+     (6) months after a subsequent version of that particular Modification
+     has been made available to such recipients. You are responsible for
+     ensuring that the Source Code version remains available even if the
+     Electronic Distribution Mechanism is maintained by a third party.
+
+     3.3. Description of Modifications.
+     You must cause all Covered Code to which You contribute to contain a
+     file documenting the changes You made to create that Covered Code and
+     the date of any change. You must include a prominent statement that
+     the Modification is derived, directly or indirectly, from Original
+     Code provided by the Initial Developer and including the name of the
+     Initial Developer in (a) the Source Code, and (b) in any notice in an
+     Executable version or related documentation in which You describe the
+     origin or ownership of the Covered Code.
+
+     3.4. Intellectual Property Matters
+          (a) Third Party Claims.
+          If Contributor has knowledge that a license under a third party's
+          intellectual property rights is required to exercise the rights
+          granted by such Contributor under Sections 2.1 or 2.2,
+          Contributor must include a text file with the Source Code
+          distribution titled "LEGAL" which describes the claim and the
+          party making the claim in sufficient detail that a recipient will
+          know whom to contact. If Contributor obtains such knowledge after
+          the Modification is made available as described in Section 3.2,
+          Contributor shall promptly modify the LEGAL file in all copies
+          Contributor makes available thereafter and shall take other steps
+          (such as notifying appropriate mailing lists or newsgroups)
+          reasonably calculated to inform those who received the Covered
+          Code that new knowledge has been obtained.
+
+          (b) Contributor APIs.
+          If Contributor's Modifications include an application programming
+          interface and Contributor has knowledge of patent licenses which
+          are reasonably necessary to implement that API, Contributor must
+          also include this information in the LEGAL file.
+
+               (c)    Representations.
+          Contributor represents that, except as disclosed pursuant to
+          Section 3.4(a) above, Contributor believes that Contributor's
+          Modifications are Contributor's original creation(s) and/or
+          Contributor has sufficient rights to grant the rights conveyed by
+          this License.
+
+     3.5. Required Notices.
+     You must duplicate the notice in Exhibit A in each file of the Source
+     Code.  If it is not possible to put such notice in a particular Source
+     Code file due to its structure, then You must include such notice in a
+     location (such as a relevant directory) where a user would be likely
+     to look for such a notice.  If You created one or more Modification(s)
+     You may add your name as a Contributor to the notice described in
+     Exhibit A.  You must also duplicate this License in any documentation
+     for the Source Code where You describe recipients' rights or ownership
+     rights relating to Covered Code.  You may choose to offer, and to
+     charge a fee for, warranty, support, indemnity or liability
+     obligations to one or more recipients of Covered Code. However, You
+     may do so only on Your own behalf, and not on behalf of the Initial
+     Developer or any Contributor. You must make it absolutely clear than
+     any such warranty, support, indemnity or liability obligation is
+     offered by You alone, and You hereby agree to indemnify the Initial
+     Developer and every Contributor for any liability incurred by the
+     Initial Developer or such Contributor as a result of warranty,
+     support, indemnity or liability terms You offer.
+
+     3.6. Distribution of Executable Versions.
+     You may distribute Covered Code in Executable form only if the
+     requirements of Section 3.1-3.5 have been met for that Covered Code,
+     and if You include a notice stating that the Source Code version of
+     the Covered Code is available under the terms of this License,
+     including a description of how and where You have fulfilled the
+     obligations of Section 3.2. The notice must be conspicuously included
+     in any notice in an Executable version, related documentation or
+     collateral in which You describe recipients' rights relating to the
+     Covered Code. You may distribute the Executable version of Covered
+     Code or ownership rights under a license of Your choice, which may
+     contain terms different from this License, provided that You are in
+     compliance with the terms of this License and that the license for the
+     Executable version does not attempt to limit or alter the recipient's
+     rights in the Source Code version from the rights set forth in this
+     License. If You distribute the Executable version under a different
+     license You must make it absolutely clear that any terms which differ
+     from this License are offered by You alone, not by the Initial
+     Developer or any Contributor. You hereby agree to indemnify the
+     Initial Developer and every Contributor for any liability incurred by
+     the Initial Developer or such Contributor as a result of any such
+     terms You offer.
+
+     3.7. Larger Works.
+     You may create a Larger Work by combining Covered Code with other code
+     not governed by the terms of this License and distribute the Larger
+     Work as a single product. In such a case, You must make sure the
+     requirements of this License are fulfilled for the Covered Code.
+
+4. Inability to Comply Due to Statute or Regulation.
+
+     If it is impossible for You to comply with any of the terms of this
+     License with respect to some or all of the Covered Code due to
+     statute, judicial order, or regulation then You must: (a) comply with
+     the terms of this License to the maximum extent possible; and (b)
+     describe the limitations and the code they affect. Such description
+     must be included in the LEGAL file described in Section 3.4 and must
+     be included with all distributions of the Source Code. Except to the
+     extent prohibited by statute or regulation, such description must be
+     sufficiently detailed for a recipient of ordinary skill to be able to
+     understand it.
+
+5. Application of this License.
+
+     This License applies to code to which the Initial Developer has
+     attached the notice in Exhibit A and to related Covered Code.
+
+6. Versions of the License.
+
+     6.1. New Versions.
+     Netscape Communications Corporation ("Netscape") may publish revised
+     and/or new versions of the License from time to time. Each version
+     will be given a distinguishing version number.
+
+     6.2. Effect of New Versions.
+     Once Covered Code has been published under a particular version of the
+     License, You may always continue to use it under the terms of that
+     version. You may also choose to use such Covered Code under the terms
+     of any subsequent version of the License published by Netscape. No one
+     other than Netscape has the right to modify the terms applicable to
+     Covered Code created under this License.
+
+     6.3. Derivative Works.
+     If You create or use a modified version of this License (which you may
+     only do in order to apply it to code which is not already Covered Code
+     governed by this License), You must (a) rename Your license so that
+     the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape",
+     "MPL", "NPL" or any confusingly similar phrase do not appear in your
+     license (except to note that your license differs from this License)
+     and (b) otherwise make it clear that Your version of the license
+     contains terms which differ from the Mozilla Public License and
+     Netscape Public License. (Filling in the name of the Initial
+     Developer, Original Code or Contributor in the notice described in
+     Exhibit A shall not of themselves be deemed to be modifications of
+     this License.)
+
+7. DISCLAIMER OF WARRANTY.
+
+     COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
+     WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+     WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
+     DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
+     THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
+     IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
+     YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
+     COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
+     OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
+     ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
+
+8. TERMINATION.
+
+     8.1.  This License and the rights granted hereunder will terminate
+     automatically if You fail to comply with terms herein and fail to cure
+     such breach within 30 days of becoming aware of the breach. All
+     sublicenses to the Covered Code which are properly granted shall
+     survive any termination of this License. Provisions which, by their
+     nature, must remain in effect beyond the termination of this License
+     shall survive.
+
+     8.2.  If You initiate litigation by asserting a patent infringement
+     claim (excluding declatory judgment actions) against Initial Developer
+     or a Contributor (the Initial Developer or Contributor against whom
+     You file such action is referred to as "Participant")  alleging that:
+
+     (a)  such Participant's Contributor Version directly or indirectly
+     infringes any patent, then any and all rights granted by such
+     Participant to You under Sections 2.1 and/or 2.2 of this License
+     shall, upon 60 days notice from Participant terminate prospectively,
+     unless if within 60 days after receipt of notice You either: (i)
+     agree in writing to pay Participant a mutually agreeable reasonable
+     royalty for Your past and future use of Modifications made by such
+     Participant, or (ii) withdraw Your litigation claim with respect to
+     the Contributor Version against such Participant.  If within 60 days
+     of notice, a reasonable royalty and payment arrangement are not
+     mutually agreed upon in writing by the parties or the litigation claim
+     is not withdrawn, the rights granted by Participant to You under
+     Sections 2.1 and/or 2.2 automatically terminate at the expiration of
+     the 60 day notice period specified above.
+
+     (b)  any software, hardware, or device, other than such Participant's
+     Contributor Version, directly or indirectly infringes any patent, then
+     any rights granted to You by such Participant under Sections 2.1(b)
+     and 2.2(b) are revoked effective as of the date You first made, used,
+     sold, distributed, or had made, Modifications made by that
+     Participant.
+
+     8.3.  If You assert a patent infringement claim against Participant
+     alleging that such Participant's Contributor Version directly or
+     indirectly infringes any patent where such claim is resolved (such as
+     by license or settlement) prior to the initiation of patent
+     infringement litigation, then the reasonable value of the licenses
+     granted by such Participant under Sections 2.1 or 2.2 shall be taken
+     into account in determining the amount or value of any payment or
+     license.
+
+     8.4.  In the event of termination under Sections 8.1 or 8.2 above,
+     all end user license agreements (excluding distributors and resellers)
+     which have been validly granted by You or any distributor hereunder
+     prior to termination shall survive termination.
+
+9. LIMITATION OF LIABILITY.
+
+     UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
+     (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
+     DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
+     OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR
+     ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
+     CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,
+     WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
+     COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
+     INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
+     LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
+     RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
+     PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
+     EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
+     THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
+
+10. U.S. GOVERNMENT END USERS.
+
+     The Covered Code is a "commercial item," as that term is defined in
+     48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
+     software" and "commercial computer software documentation," as such
+     terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48
+     C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),
+     all U.S. Government End Users acquire Covered Code with only those
+     rights set forth herein.
+
+11. MISCELLANEOUS.
+
+     This License represents the complete agreement concerning subject
+     matter hereof. If any provision of this License is held to be
+     unenforceable, such provision shall be reformed only to the extent
+     necessary to make it enforceable. This License shall be governed by
+     California law provisions (except to the extent applicable law, if
+     any, provides otherwise), excluding its conflict-of-law provisions.
+     With respect to disputes in which at least one party is a citizen of,
+     or an entity chartered or registered to do business in the United
+     States of America, any litigation relating to this License shall be
+     subject to the jurisdiction of the Federal Courts of the Northern
+     District of California, with venue lying in Santa Clara County,
+     California, with the losing party responsible for costs, including
+     without limitation, court costs and reasonable attorneys' fees and
+     expenses. The application of the United Nations Convention on
+     Contracts for the International Sale of Goods is expressly excluded.
+     Any law or regulation which provides that the language of a contract
+     shall be construed against the drafter shall not apply to this
+     License.
+
+12. RESPONSIBILITY FOR CLAIMS.
+
+     As between Initial Developer and the Contributors, each party is
+     responsible for claims and damages arising, directly or indirectly,
+     out of its utilization of rights under this License and You agree to
+     work with Initial Developer and Contributors to distribute such
+     responsibility on an equitable basis. Nothing herein is intended or
+     shall be deemed to constitute any admission of liability.
+
+13. MULTIPLE-LICENSED CODE.
+
+     Initial Developer may designate portions of the Covered Code as
+     "Multiple-Licensed".  "Multiple-Licensed" means that the Initial
+     Developer permits you to utilize portions of the Covered Code under
+     Your choice of the NPL or the alternative licenses, if any, specified
+     by the Initial Developer in the file described in Exhibit A.
+
+EXHIBIT A -Mozilla Public License.
+
+     ``The contents of this file are subject to the Mozilla Public License
+     Version 1.1 (the "License"); you may not use this file except in
+     compliance with the License. You may obtain a copy of the License at
+     http://www.mozilla.org/MPL/
+
+     Software distributed under the License is distributed on an "AS IS"
+     basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+     License for the specific language governing rights and limitations
+     under the License.
+
+     The Original Code is ______________________________________.
+
+     The Initial Developer of the Original Code is ________________________.
+     Portions created by ______________________ are Copyright (C) ______
+     _______________________. All Rights Reserved.
+
+     Contributor(s): ______________________________________.
+
+     Alternatively, the contents of this file may be used under the terms
+     of the _____ license (the  "[___] License"), in which case the
+     provisions of [______] License are applicable instead of those
+     above.  If you wish to allow use of your version of this file only
+     under the terms of the [____] License and not to allow others to use
+     your version of this file under the MPL, indicate your decision by
+     deleting  the provisions above and replace  them with the notice and
+     other provisions required by the [___] License.  If you do not delete
+     the provisions above, a recipient may use your version of this file
+     under either the MPL or the [___] License."
+
+     [NOTE: The text of this Exhibit A may differ slightly from the text of
+     the notices in the Source Code files of the Original Code. You should
+     use the text of this Exhibit A rather than the text found in the
+     Original Code Source Code for Your Modifications.]
+```
+
+Appendix D: The MIT License
+---------------------------
+
+```
+The MIT License (MIT)
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+```
+
+Appendix E: The SIL Open Font License Version 1.1
+---------------------------------------------
+
+```
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+-----------------------------------------------------------
+
+PREAMBLE
+The goals of the Open Font License (OFL) are to stimulate worldwide
+development of collaborative font projects, to support the font creation
+efforts of academic and linguistic communities, and to provide a free and
+open framework in which fonts may be shared and improved in partnership
+with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and
+redistributed freely as long as they are not sold by themselves. The
+fonts, including any derivative works, can be bundled, embedded,
+redistributed and/or sold with any software provided that any reserved
+names are not used by derivative works. The fonts and derivatives,
+however, cannot be released under any other type of license. The
+requirement for fonts to remain under this license does not apply
+to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright
+Holder(s) under this license and clearly marked as such. This may
+include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the
+copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as
+distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting,
+or substituting -- in part or in whole -- any of the components of the
+Original Version, by changing formats or by porting the Font Software to a
+new environment.
+
+"Author" refers to any designer, engineer, programmer, technical
+writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
+redistribute, and sell modified and unmodified copies of the Font
+Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components,
+in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled,
+redistributed and/or sold with any software, provided that each copy
+contains the above copyright notice and this license. These can be
+included either as stand-alone text files, human-readable headers or
+in the appropriate machine-readable metadata fields within text or
+binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font
+Name(s) unless explicit written permission is granted by the corresponding
+Copyright Holder. This restriction only applies to the primary font name as
+presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
+Software shall not be used to promote, endorse or advertise any
+Modified Version, except to acknowledge the contribution(s) of the
+Copyright Holder(s) and the Author(s) or with their explicit written
+permission.
+
+5) The Font Software, modified or unmodified, in part or in whole,
+must be distributed entirely under this license, and must not be
+distributed under any other license. The requirement for fonts to
+remain under this license does not apply to any document created
+using the Font Software.
+
+TERMINATION
+This license becomes null and void if any of the above conditions are
+not met.
+
+DISCLAIMER
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
+OTHER DEALINGS IN THE FONT SOFTWARE.
+```
+
+Appendix F: The BSD-3 License
+-----------------------------
+
+```
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
+
+3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+```
+
+
+Appendix H: The BSD-2 License
+-----------------------------
+
+```
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+```
+
+(Ignore this line: %REMOVE_START%)

+ 39 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/README.md

@@ -0,0 +1,39 @@
+CKEditor 4
+==========
+
+Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
+https://ckeditor.com - See LICENSE.md for license information.
+
+CKEditor 4 is a text editor to be used inside web pages. It's not a replacement
+for desktop text editors like Word or OpenOffice, but a component to be used as
+part of web applications and websites.
+
+## Documentation
+
+The full editor documentation is available online at the following address:
+https://ckeditor.com/docs/
+
+## Installation
+
+Installing CKEditor is an easy task. Just follow these simple steps:
+
+ 1. **Download** the latest version from the CKEditor website:
+    https://ckeditor.com. You should have already completed this step, but be
+    sure you have the very latest version.
+ 2. **Extract** (decompress) the downloaded file into the root of your website.
+
+**Note:** CKEditor is by default installed in the `ckeditor` folder. You can
+place the files in whichever you want though.
+
+## Checking Your Installation
+
+The editor comes with a few sample pages that can be used to verify that
+installation proceeded properly. Take a look at the `samples` directory.
+
+To test your installation, just call the following page at your website:
+
+	http://<your site>/<CKEditor installation path>/samples/index.html
+
+For example:
+
+	http://www.example.com/ckeditor/samples/index.html

+ 10 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/adapters/jquery.js

@@ -0,0 +1,10 @@
+/*
+ Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
+*/
+(function(a){if("undefined"==typeof a)throw Error("jQuery should be loaded before CKEditor jQuery adapter.");if("undefined"==typeof CKEDITOR)throw Error("CKEditor should be loaded before CKEditor jQuery adapter.");CKEDITOR.config.jqueryOverrideVal="undefined"==typeof CKEDITOR.config.jqueryOverrideVal?!0:CKEDITOR.config.jqueryOverrideVal;a.extend(a.fn,{ckeditorGet:function(){var a=this.eq(0).data("ckeditorInstance");if(!a)throw"CKEditor is not initialized yet, use ckeditor() with a callback.";return a},
+ckeditor:function(g,e){if(!CKEDITOR.env.isCompatible)throw Error("The environment is incompatible.");if(!a.isFunction(g)){var m=e;e=g;g=m}var k=[];e=e||{};this.each(function(){var b=a(this),c=b.data("ckeditorInstance"),f=b.data("_ckeditorInstanceLock"),h=this,l=new a.Deferred;k.push(l.promise());if(c&&!f)g&&g.apply(c,[this]),l.resolve();else if(f)c.once("instanceReady",function(){setTimeout(function d(){c.element?(c.element.$==h&&g&&g.apply(c,[h]),l.resolve()):setTimeout(d,100)},0)},null,null,9999);
+else{if(e.autoUpdateElement||"undefined"==typeof e.autoUpdateElement&&CKEDITOR.config.autoUpdateElement)e.autoUpdateElementJquery=!0;e.autoUpdateElement=!1;b.data("_ckeditorInstanceLock",!0);c=a(this).is("textarea")?CKEDITOR.replace(h,e):CKEDITOR.inline(h,e);b.data("ckeditorInstance",c);c.on("instanceReady",function(e){var d=e.editor;setTimeout(function n(){if(d.element){e.removeListener();d.on("dataReady",function(){b.trigger("dataReady.ckeditor",[d])});d.on("setData",function(a){b.trigger("setData.ckeditor",
+[d,a.data])});d.on("getData",function(a){b.trigger("getData.ckeditor",[d,a.data])},999);d.on("destroy",function(){b.trigger("destroy.ckeditor",[d])});d.on("save",function(){a(h.form).submit();return!1},null,null,20);if(d.config.autoUpdateElementJquery&&b.is("textarea")&&a(h.form).length){var c=function(){b.ckeditor(function(){d.updateElement()})};a(h.form).submit(c);a(h.form).bind("form-pre-serialize",c);b.bind("destroy.ckeditor",function(){a(h.form).unbind("submit",c);a(h.form).unbind("form-pre-serialize",
+c)})}d.on("destroy",function(){b.removeData("ckeditorInstance")});b.removeData("_ckeditorInstanceLock");b.trigger("instanceReady.ckeditor",[d]);g&&g.apply(d,[h]);l.resolve()}else setTimeout(n,100)},0)},null,null,9999)}});var f=new a.Deferred;this.promise=f.promise();a.when.apply(this,k).then(function(){f.resolve()});this.editor=this.eq(0).data("ckeditorInstance");return this}});CKEDITOR.config.jqueryOverrideVal&&(a.fn.val=CKEDITOR.tools.override(a.fn.val,function(g){return function(e){if(arguments.length){var m=
+this,k=[],f=this.each(function(){var b=a(this),c=b.data("ckeditorInstance");if(b.is("textarea")&&c){var f=new a.Deferred;c.setData(e,function(){f.resolve()});k.push(f.promise());return!0}return g.call(b,e)});if(k.length){var b=new a.Deferred;a.when.apply(this,k).done(function(){b.resolveWith(m)});return b.promise()}return f}var f=a(this).eq(0),c=f.data("ckeditorInstance");return f.is("textarea")&&c?c.getData():g.call(f)}}))})(window.jQuery);

+ 169 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/build-config.js

@@ -0,0 +1,169 @@
+/**
+ * @license Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
+ * For licensing, see LICENSE.md or https://ckeditor.com/license
+ */
+
+/**
+ * This file was added automatically by CKEditor builder.
+ * You may re-use it at any time to build CKEditor again.
+ *
+ * If you would like to build CKEditor online again
+ * (for example to upgrade), visit one the following links:
+ *
+ * (1) https://ckeditor.com/cke4/builder
+ *     Visit online builder to build CKEditor from scratch.
+ *
+ * (2) https://ckeditor.com/cke4/builder/2956688318a2c2e4ebed7a0bfde2348b
+ *     Visit online builder to build CKEditor, starting with the same setup as before.
+ *
+ * (3) https://ckeditor.com/cke4/builder/download/2956688318a2c2e4ebed7a0bfde2348b
+ *     Straight download link to the latest version of CKEditor (Optimized) with the same setup as before.
+ *
+ * NOTE:
+ *    This file is not used by CKEditor, you may remove it.
+ *    Changing this file will not change your CKEditor configuration.
+ */
+
+var CKBUILDER_CONFIG = {
+	skin: 'moono-lisa',
+	preset: 'standard',
+	ignore: [
+		'.DS_Store',
+		'.bender',
+		'.editorconfig',
+		'.gitattributes',
+		'.gitignore',
+		'.idea',
+		'.jscsrc',
+		'.jshintignore',
+		'.jshintrc',
+		'.mailmap',
+		'.npm',
+		'.nvmrc',
+		'.travis.yml',
+		'bender-err.log',
+		'bender-out.log',
+		'bender.ci.js',
+		'bender.js',
+		'dev',
+		'gruntfile.js',
+		'less',
+		'node_modules',
+		'package-lock.json',
+		'package.json',
+		'tests'
+	],
+	plugins : {
+		'a11yhelp' : 1,
+		'about' : 1,
+		'basicstyles' : 1,
+		'blockquote' : 1,
+		'clipboard' : 1,
+		'contextmenu' : 1,
+		'elementspath' : 1,
+		'enterkey' : 1,
+		'entities' : 1,
+		'filebrowser' : 1,
+		'floatingspace' : 1,
+		'format' : 1,
+		'horizontalrule' : 1,
+		'htmlwriter' : 1,
+		'image' : 1,
+		'indentlist' : 1,
+		'link' : 1,
+		'list' : 1,
+		'magicline' : 1,
+		'maximize' : 1,
+		'pastefromgdocs' : 1,
+		'pastefromlibreoffice' : 1,
+		'pastefromword' : 1,
+		'pastetext' : 1,
+		'removeformat' : 1,
+		'resize' : 1,
+		'scayt' : 1,
+		'showborders' : 1,
+		'sourcearea' : 1,
+		'specialchar' : 1,
+		'stylescombo' : 1,
+		'tab' : 1,
+		'table' : 1,
+		'tableselection' : 1,
+		'tabletools' : 1,
+		'toolbar' : 1,
+		'undo' : 1,
+		'uploadimage' : 1,
+		'wysiwygarea' : 1
+	},
+	languages : {
+		'af' : 1,
+		'ar' : 1,
+		'az' : 1,
+		'bg' : 1,
+		'bn' : 1,
+		'bs' : 1,
+		'ca' : 1,
+		'cs' : 1,
+		'cy' : 1,
+		'da' : 1,
+		'de' : 1,
+		'de-ch' : 1,
+		'el' : 1,
+		'en' : 1,
+		'en-au' : 1,
+		'en-ca' : 1,
+		'en-gb' : 1,
+		'eo' : 1,
+		'es' : 1,
+		'es-mx' : 1,
+		'et' : 1,
+		'eu' : 1,
+		'fa' : 1,
+		'fi' : 1,
+		'fo' : 1,
+		'fr' : 1,
+		'fr-ca' : 1,
+		'gl' : 1,
+		'gu' : 1,
+		'he' : 1,
+		'hi' : 1,
+		'hr' : 1,
+		'hu' : 1,
+		'id' : 1,
+		'is' : 1,
+		'it' : 1,
+		'ja' : 1,
+		'ka' : 1,
+		'km' : 1,
+		'ko' : 1,
+		'ku' : 1,
+		'lt' : 1,
+		'lv' : 1,
+		'mk' : 1,
+		'mn' : 1,
+		'ms' : 1,
+		'nb' : 1,
+		'nl' : 1,
+		'no' : 1,
+		'oc' : 1,
+		'pl' : 1,
+		'pt' : 1,
+		'pt-br' : 1,
+		'ro' : 1,
+		'ru' : 1,
+		'si' : 1,
+		'sk' : 1,
+		'sl' : 1,
+		'sq' : 1,
+		'sr' : 1,
+		'sr-latn' : 1,
+		'sv' : 1,
+		'th' : 1,
+		'tr' : 1,
+		'tt' : 1,
+		'ug' : 1,
+		'uk' : 1,
+		'vi' : 1,
+		'zh' : 1,
+		'zh-cn' : 1
+	}
+};

ファイルの差分が大きいため隠しています
+ 568 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/ckeditor.js


+ 38 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/config.js

@@ -0,0 +1,38 @@
+/**
+ * @license Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
+ * For licensing, see https://ckeditor.com/legal/ckeditor-oss-license
+ */
+
+CKEDITOR.editorConfig = function( config ) {
+	// Define changes to default configuration here.
+	// For complete reference see:
+	// https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html
+
+	// The toolbar groups arrangement, optimized for two toolbar rows.
+	config.toolbarGroups = [
+		{ name: 'clipboard',   groups: [ 'clipboard', 'undo' ] },
+		{ name: 'editing',     groups: [ 'find', 'selection', 'spellchecker' ] },
+		{ name: 'links' },
+		{ name: 'insert' },
+		{ name: 'forms' },
+		{ name: 'tools' },
+		{ name: 'document',	   groups: [ 'mode', 'document', 'doctools' ] },
+		{ name: 'others' },
+		'/',
+		{ name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
+		{ name: 'paragraph',   groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ] },
+		{ name: 'styles' },
+		{ name: 'colors' },
+		{ name: 'about' }
+	];
+
+	// Remove some buttons provided by the standard plugins, which are
+	// not needed in the Standard(s) toolbar.
+	config.removeButtons = 'Underline,Subscript,Superscript';
+
+	// Set the most common block elements.
+	config.format_tags = 'p;h1;h2;h3;pre';
+
+	// Simplify the dialog windows.
+	config.removeDialogTabs = 'image:advanced;link:advanced';
+};

+ 208 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/contents.css

@@ -0,0 +1,208 @@
+/*
+Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
+*/
+
+body
+{
+	/* Font */
+	/* Emoji fonts are added to visualise them nicely in Internet Explorer. */
+	font-family: sans-serif, Arial, Verdana, "Trebuchet MS", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
+	font-size: 12px;
+
+	/* Text color */
+	color: #333;
+
+	/* Remove the background color to make it transparent. */
+	background-color: #fff;
+
+	margin: 20px;
+}
+
+.cke_editable
+{
+	font-size: 13px;
+	line-height: 1.6;
+
+	/* Fix for missing scrollbars with RTL texts. (#10488) */
+	word-wrap: break-word;
+}
+
+blockquote
+{
+	font-style: italic;
+	font-family: Georgia, Times, "Times New Roman", serif;
+	padding: 2px 0;
+	border-style: solid;
+	border-color: #ccc;
+	border-width: 0;
+}
+
+.cke_contents_ltr blockquote
+{
+	padding-left: 20px;
+	padding-right: 8px;
+	border-left-width: 5px;
+}
+
+.cke_contents_rtl blockquote
+{
+	padding-left: 8px;
+	padding-right: 20px;
+	border-right-width: 5px;
+}
+
+a
+{
+	color: #0782C1;
+}
+
+ol,ul,dl
+{
+	/* IE7: reset rtl list margin. (#7334) */
+	*margin-right: 0px;
+	/* Preserved spaces for list items with text direction different than the list. (#6249,#8049)*/
+	padding: 0 40px;
+}
+
+h1,h2,h3,h4,h5,h6
+{
+	font-weight: normal;
+	line-height: 1.2;
+}
+
+hr
+{
+	border: 0px;
+	border-top: 1px solid #ccc;
+}
+
+img.right
+{
+	border: 1px solid #ccc;
+	float: right;
+	margin-left: 15px;
+	padding: 5px;
+}
+
+img.left
+{
+	border: 1px solid #ccc;
+	float: left;
+	margin-right: 15px;
+	padding: 5px;
+}
+
+pre
+{
+	white-space: pre-wrap; /* CSS 2.1 */
+	word-wrap: break-word; /* IE7 */
+	-moz-tab-size: 4;
+	tab-size: 4;
+}
+
+.marker
+{
+	background-color: Yellow;
+}
+
+span[lang]
+{
+	font-style: italic;
+}
+
+figure
+{
+	text-align: center;
+	outline: solid 1px #ccc;
+	background: rgba(0,0,0,0.05);
+	padding: 10px;
+	margin: 10px 20px;
+	display: inline-block;
+}
+
+figure > figcaption
+{
+	text-align: center;
+	display: block; /* For IE8 */
+}
+
+a > img {
+	padding: 1px;
+	margin: 1px;
+	border: none;
+	outline: 1px solid #0782C1;
+}
+
+/* Widget Styles */
+.code-featured
+{
+	border: 5px solid red;
+}
+
+.math-featured
+{
+	padding: 20px;
+	box-shadow: 0 0 2px rgba(200, 0, 0, 1);
+	background-color: rgba(255, 0, 0, 0.05);
+	margin: 10px;
+}
+
+.image-clean
+{
+	border: 0;
+	background: none;
+	padding: 0;
+}
+
+.image-clean > figcaption
+{
+	font-size: .9em;
+	text-align: right;
+}
+
+.image-grayscale
+{
+	background-color: white;
+	color: #666;
+}
+
+.image-grayscale img, img.image-grayscale
+{
+	filter: grayscale(100%);
+}
+
+.embed-240p
+{
+	max-width: 426px;
+	max-height: 240px;
+	margin:0 auto;
+}
+
+.embed-360p
+{
+	max-width: 640px;
+	max-height: 360px;
+	margin:0 auto;
+}
+
+.embed-480p
+{
+	max-width: 854px;
+	max-height: 480px;
+	margin:0 auto;
+}
+
+.embed-720p
+{
+	max-width: 1280px;
+	max-height: 720px;
+	margin:0 auto;
+}
+
+.embed-1080p
+{
+	max-width: 1920px;
+	max-height: 1080px;
+	margin:0 auto;
+}

ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/af.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/ar.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/az.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/bg.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/bn.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/bs.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/ca.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/cs.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/cy.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/da.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/de-ch.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/de.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/el.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/en-au.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/en-ca.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/en-gb.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/en.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/eo.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/es-mx.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/es.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/et.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/eu.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/fa.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/fi.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/fo.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/fr-ca.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/fr.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/gl.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/gu.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/he.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/hi.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/hr.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/hu.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/id.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/is.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/it.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/ja.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/ka.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/km.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/ko.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/ku.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/lt.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/lv.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/mk.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/mn.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/ms.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/nb.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/nl.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/no.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/oc.js


ファイルの差分が大きいため隠しています
+ 4 - 0
SuperAdmin/SuperAdmin/Extensions/js/vendors/ckeditor/lang/pl.js


この差分においてかなりの量のファイルが変更されているため、一部のファイルを表示していません