overseacanuck.novatechfx.com Open in urlscan Pro
72.32.236.222  Public Scan

Submitted URL: http://overseacanuck.novatechfx.com/
Effective URL: https://overseacanuck.novatechfx.com/Home/
Submission: On September 09 via manual from AU — Scanned from AU

Form analysis 1 forms found in the DOM

Name: aspnetFormPOST /Home/

<form name="aspnetForm" method="post" onsubmit="return WebForm_OnSubmit();" action="/Home/" id="aspnetForm" data-menu-orientation="left-vertical" class="expand-left-menu icon-menu-shown">
  <div><input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value=""><input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value=""><input type="hidden" name="__LASTFOCUS" id="__LASTFOCUS" value=""><input type="hidden"
      name="__VIEWSTATE" id="__VIEWSTATE"
      value="/wEPDwUKLTg1NDcxMTU5MQ8WBB4OSXNBdXRoZW50aWNhdGVoHhNWYWxpZGF0ZVJlcXVlc3RNb2RlAgEWAmYPZBYEAgEPZBYCAgUPZBYCZg8WAh4HVmlzaWJsZWgWBAIBDxBkZBQrAQBkAgIPEGRkFCsBAGQCAw9kFhgCAQ9kFgJmDxAPFgIeC18hRGF0YUJvdW5kZ2QQFQIHRW5nbGlzaAdTcGFuaXNoFQIkYmVjY2M0MWItM2Y0Mi00NDhjLTgyNWMtNDI1Y2EwNGZlNWRhJGE2Nzc0ZjBlLTE1YTctNDdiZC1iNTEwLWQzMzY0OTI5NzFhZRQrAwJnZxYBZmQCAg8PFgIfAmhkFgICAQ8UKwADDxYGHgRTa2luBQpFZGl0TGF5b3V0HgRGbG93CyltVGVsZXJpay5XZWJDb250cm9scy5JdGVtRmxvdywgUmFkTWVudS5OZXQyLCBWZXJzaW9uPTQuNC41LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49YmJlNTlhOGFkMzUzM2U2OAEeCVNraW5zUGF0aAU0L2FwcF90aGVtZXMvbm92YXRlY2hsdGQhQCFAJG5vdmF0cmFkaW5ncHMhQCFAJGVuLXVzL2RkZGQCBg9kFgJmDw8WAh4EVGV4dAUFTG9ybmVkZAIHD2QWAmYPDxYCHwcFB1NhbmRlcnNkZAIID2QWAmYPFgIeCWlubmVyaHRtbAUTQXNzb2NpYXRlIElEIDM1MzY2MGQCCQ9kFgJmDw8WCB4ISW1hZ2VVcmwFXy9OT1ZBVEVDSExURC9Db21wYW55TG9nby9iN2IwZmQ1My05M2RjLTQyOGMtOGFhYS0xODU1MjBiOTY1NjgyNy0wMy0yMDIwVDIwLTUyLTQ3LTY2LWNyb3BwZWQucG5nHgZIZWlnaHQbAAAAAABAdEABAAAAHgVXaWR0aBsAAAAAAPSRQAEAAAAeBF8hU0ICgANkZAILD2QWAmYPDxYCHiFJc1N1cHBvcnRQYWdlRW5hYmxlZEJ5RGlzdHJpYnV0b3JnZBYKZg8WAh4Fc3R5bGUFIHBhZGRpbmctYm90dG9tOjVweDtkaXNwbGF5Om5vbmU7ZAIBDxYCHw4FIHBhZGRpbmctYm90dG9tOjVweDtkaXNwbGF5Om5vbmU7ZAICDxYCHgVjbGFzcwULZGl2UGFuZWxCYXIWAgIBD2QWAmYPFCsAAw8WBh8EBQlQYW5lbFNraW4eFE9uQ2xpZW50SXRlbUNsaWNraW5nBRlyYWRCYXNlZFBhbmVsYmFySXRlbUNsaWNrHwYFNC9hcHBfdGhlbWVzL25vdmF0ZWNobHRkIUAhQCRub3ZhdHJhZGluZ3BzIUAhQCRlbi11cy9kZGRkAgMPDxYEHwcFNzxpIGNsYXNzPSJmYSBmYS1iYXJzIiBhcmlhLWhpZGRlbj0idHJ1ZSI+PC9pPiBFZGl0IE1lbnUfAmhkZAIEDxYCHwJoFgJmDxAPFgIeB0NoZWNrZWRnZGRkZAIMD2QWAmYPDxYCHw1nZBYKZg8WAh8OBSBwYWRkaW5nLWJvdHRvbTo1cHg7ZGlzcGxheTpub25lO2QCAQ8WAh8OBSBwYWRkaW5nLWJvdHRvbTo1cHg7ZGlzcGxheTpub25lO2QCAg8WAh8PBQtkaXZQYW5lbEJhchYCAgEPZBYCZg8UKwADDxYGHwQFCVBhbmVsU2tpbh8QBRlyYWRCYXNlZFBhbmVsYmFySXRlbUNsaWNrHwYFNC9hcHBfdGhlbWVzL25vdmF0ZWNobHRkIUAhQCRub3ZhdHJhZGluZ3BzIUAhQCRlbi11cy9kFCsACRQrAAIPFgQfBwVjPGkgY2xhc3M9ImZhYiBmYS1iaXRjb2luIGZhLWxnIiBzdHlsZT0iY29sb3I6IHJnYigxOCwgMTM4LCAxOTUpOyBtYXJnaW4tcmlnaHQ6IDVweDsiPjwvaT5CdXkgQ3J5cHRvHgVWYWx1ZQUFMjk1MDkWAh4ISXRlbVR5cGUFIjI5NTA5JCMlMiQjJVRydWUkIyVGYWxzZSQjJVRydWUkIyVkFCsAAg8WBB8HBWA8aSBjbGFzcz0iZmFkIGZhLXdhbGxldCBmYS1sZyIgc3R5bGU9ImNvbG9yOiByZ2IoMTgsIDEzOCwgMTk1KTsgbWFyZ2luLXJpZ2h0OiA1cHg7Ij48L2k+RS1XYWxsZXQfEgUFMjk0ODAWAh8TBSMyOTQ4MCQjJTAkIyVGYWxzZSQjJUZhbHNlJCMlVHJ1ZSQjJWQUKwACDxYEHwcFZzxpIGNsYXNzPSJmYSBmYS1zaG9wcGluZy1iYXNrZXQgZmEtbGciIHN0eWxlPSJjb2xvcjogcmdiKDE3LCAxMzYsIDE5Myk7IG1hcmdpbi1yaWdodDogNXB4OyI+PC9pPkZ1bmRpbmcfEgUFMjgyMTUWAh8TBSMyODIxNSQjJTAkIyVGYWxzZSQjJUZhbHNlJCMlVHJ1ZSQjJRQrAAMUKwACDxYGHwcFazxpIGNsYXNzPSJmYXIgZmEtcGVuLW5pYiBmYS1sZyIgc3R5bGU9ImNvbG9yOiByZ2IoMTgsIDEzOCwgMTk1KTsgbWFyZ2luLXJpZ2h0OiA1cHg7Ij48L2k+RW5yb2xsbWVudCBQYWNrYWdlHxIFBTI5NTA4HghTZWxlY3RlZGgWAh8TBSMyOTUwOCQjJTQkIyVGYWxzZSQjJUZhbHNlJCMlVHJ1ZSQjJWQUKwACDxYGHwcFaDxpIGNsYXNzPSJmYWQgZmEtdHJpYW5nbGUgZmEtbGciIHN0eWxlPSJjb2xvcjogcmdiKDE4LCAxMzgsIDE5NSk7IG1hcmdpbi1yaWdodDogNXB4OyI+PC9pPlBheW1lbnQgSXNzdWVzHxIFBTI5NTEzHxRoFgIfEwUjMjk1MTMkIyU0JCMlRmFsc2UkIyVGYWxzZSQjJVRydWUkIyVkFCsAAg8WBB8HBY4BPGkgY2xhc3M9ImZhZCBmYS1jYWxlbmRhci10aW1lcyBmYS1sZyIgc3R5bGU9ImNvbG9yOiByZ2IoMTgsIDEzOCwgMTk1KTsgbWFyZ2luLXJpZ2h0OiA1cHg7Ij48L2k+UGF5ICQyLjk1IFNlcnZpY2UgRmVlIChBZmZpbGlhdGUgUGFja2FnZSBPTkxZKR8SBQUyOTUxNhYCHxMFIzI5NTE2JCMlMiQjJUZhbHNlJCMlRmFsc2UkIyVUcnVlJCMlZBQrAAIPFgQfBwVuPGkgY2xhc3M9ImZhZCBmYS1jaGFydC1iYXIgZmEtbGciIHN0eWxlPSJjb2xvcjogcmdiKDE4LCAxMzgsIDE5NSk7IG1hcmdpbi1yaWdodDogNXB4OyI+PC9pPlBlcmZvcm1hbmNlIFJlcG9ydHMfEgUFMjk1MjYWAh8TBSMyOTUyNiQjJTQkIyVGYWxzZSQjJUZhbHNlJCMlVHJ1ZSQjJWQUKwACDxYEHwcFajxpIGNsYXNzPSJmYXMgZmEtdHJvcGh5LWFsdCBmYS1sZyIgc3R5bGU9ImNvbG9yOiByZ2IoMTgsIDEzOCwgMTk1KTsgbWFyZ2luLXJpZ2h0OiA1cHg7Ij48L2k+UmFuayBBY2hpZXZlcnMfEgUFMjk0OTIWAh8TBSMyOTQ5MiQjJTQkIyVGYWxzZSQjJUZhbHNlJCMlVHJ1ZSQjJWQUKwACDxYEHwcFaTxpIGNsYXNzPSJmYWQgZmEtdHYtcmV0cm8gZmEtbGciIHN0eWxlPSJjb2xvcjogcmdiKDE4LCAxMzgsIDE5NSk7IG1hcmdpbi1yaWdodDogNXB4OyI+PC9pPlRyYWluaW5nIFZpZGVvcx8SBQUyOTUzMhYCHxMFIzI5NTMyJCMlNCQjJUZhbHNlJCMlRmFsc2UkIyVUcnVlJCMlZBQrAAIPFgQfBwVcPGkgY2xhc3M9ImZhZCBmYS10b29scyBmYS1sZyIgc3R5bGU9ImNvbG9yOiByZ2IoMTgsIDEzOCwgMTk1KTsgbWFyZ2luLXJpZ2h0OiA1cHg7Ij48L2k+VG9vbHMfEgUFMjk0NzQWAh8TBSMyOTQ3NCQjJTAkIyVGYWxzZSQjJUZhbHNlJCMlVHJ1ZSQjJRQrAAIUKwACDxYGHwcFZDxpIGNsYXNzPSJmYWQgZmEtdmlkZW8gZmEtbGciIHN0eWxlPSJjb2xvcjogcmdiKDE4LCAxMzgsIDE5NSk7IG1hcmdpbi1yaWdodDogNXB4OyI+PC9pPk1lZGlhIExpYnJhcnkfEgUEMTQ1MB8UaBYCHxMFIjE0NTAkIyU0JCMlRmFsc2UkIyVGYWxzZSQjJVRydWUkIyVkFCsAAg8WBB8HBWo8aSBjbGFzcz0iZmFkIGZhLXBlbmNpbCBmYS1sZyIgc3R5bGU9ImNvbG9yOiByZ2IoMTgsIDEzOCwgMTk1KTsgbWFyZ2luLXJpZ2h0OiA1cHg7Ij48L2k+Rm9ybXMgJiBBZ3JlZW1lbnRzHxIFBTI4MzkxFgIfEwUjMjgzOTEkIyUwJCMlRmFsc2UkIyVGYWxzZSQjJVRydWUkIyUUKwACFCsAAg8WBh8HBRNFYXJuaW5ncyBEaXNjbGFpbWVyHxIFBTI5NTAxHxRoFgIfEwUjMjk1MDEkIyU0JCMlRmFsc2UkIyVGYWxzZSQjJVRydWUkIyVkFCsAAg8WBh8HBQ5Qcml2YWN5IFBvbGljeR8SBQQxNDM2HxRoFgIfEwUhMTQzNiQjJTQkIyVUcnVlJCMlRmFsc2UkIyVUcnVlJCMlZBQrAAIPFgQfBwVlPGkgY2xhc3M9ImZhcyBmYS10aWNrZXQtYWx0IGZhLWxnIiBzdHlsZT0iY29sb3I6IHJnYigxOCwgMTM4LCAxOTUpOyBtYXJnaW4tcmlnaHQ6IDVweDsiPjwvaT5IZWxwIERlc2sfEgUFMjgzOTcWAh8TBSIyODM5NyQjJTIkIyVUcnVlJCMlRmFsc2UkIyVUcnVlJCMlZBQrAAIPFgQfBwVqPGkgY2xhc3M9ImZhZCBmYS1jYWxlbmRhci1hbHQgZmEtbGciIHN0eWxlPSJjb2xvcjogcmdiKDE4LCAxMzgsIDE5NSk7IG1hcmdpbi1yaWdodDogNXB4OyI+PC9pPlpvb20gTWVldGluZx8SBQUyODM5NhYCHxMFIjI4Mzk2JCMlMiQjJVRydWUkIyVGYWxzZSQjJVRydWUkIyVkZBYSZg8PFgQfBwVjPGkgY2xhc3M9ImZhYiBmYS1iaXRjb2luIGZhLWxnIiBzdHlsZT0iY29sb3I6IHJnYigxOCwgMTM4LCAxOTUpOyBtYXJnaW4tcmlnaHQ6IDVweDsiPjwvaT5CdXkgQ3J5cHRvHxIFBTI5NTA5FgIfEwUiMjk1MDkkIyUyJCMlVHJ1ZSQjJUZhbHNlJCMlVHJ1ZSQjJWQCAQ8PFgQfBwVgPGkgY2xhc3M9ImZhZCBmYS13YWxsZXQgZmEtbGciIHN0eWxlPSJjb2xvcjogcmdiKDE4LCAxMzgsIDE5NSk7IG1hcmdpbi1yaWdodDogNXB4OyI+PC9pPkUtV2FsbGV0HxIFBTI5NDgwFgIfEwUjMjk0ODAkIyUwJCMlRmFsc2UkIyVGYWxzZSQjJVRydWUkIyVkAgIPDxYEHwcFZzxpIGNsYXNzPSJmYSBmYS1zaG9wcGluZy1iYXNrZXQgZmEtbGciIHN0eWxlPSJjb2xvcjogcmdiKDE3LCAxMzYsIDE5Myk7IG1hcmdpbi1yaWdodDogNXB4OyI+PC9pPkZ1bmRpbmcfEgUFMjgyMTUWAh8TBSMyODIxNSQjJTAkIyVGYWxzZSQjJUZhbHNlJCMlVHJ1ZSQjJRYGZg8PFgYfBwVrPGkgY2xhc3M9ImZhciBmYS1wZW4tbmliIGZhLWxnIiBzdHlsZT0iY29sb3I6IHJnYigxOCwgMTM4LCAxOTUpOyBtYXJnaW4tcmlnaHQ6IDVweDsiPjwvaT5FbnJvbGxtZW50IFBhY2thZ2UfEgUFMjk1MDgfFGgWAh8TBSMyOTUwOCQjJTQkIyVGYWxzZSQjJUZhbHNlJCMlVHJ1ZSQjJWQCAQ8PFgYfBwVoPGkgY2xhc3M9ImZhZCBmYS10cmlhbmdsZSBmYS1sZyIgc3R5bGU9ImNvbG9yOiByZ2IoMTgsIDEzOCwgMTk1KTsgbWFyZ2luLXJpZ2h0OiA1cHg7Ij48L2k+UGF5bWVudCBJc3N1ZXMfEgUFMjk1MTMfFGgWAh8TBSMyOTUxMyQjJTQkIyVGYWxzZSQjJUZhbHNlJCMlVHJ1ZSQjJWQCAg8PFgQfBwWOATxpIGNsYXNzPSJmYWQgZmEtY2FsZW5kYXItdGltZXMgZmEtbGciIHN0eWxlPSJjb2xvcjogcmdiKDE4LCAxMzgsIDE5NSk7IG1hcmdpbi1yaWdodDogNXB4OyI+PC9pPlBheSAkMi45NSBTZXJ2aWNlIEZlZSAoQWZmaWxpYXRlIFBhY2thZ2UgT05MWSkfEgUFMjk1MTYWAh8TBSMyOTUxNiQjJTIkIyVGYWxzZSQjJUZhbHNlJCMlVHJ1ZSQjJWQCAw8PFgQfBwVuPGkgY2xhc3M9ImZhZCBmYS1jaGFydC1iYXIgZmEtbGciIHN0eWxlPSJjb2xvcjogcmdiKDE4LCAxMzgsIDE5NSk7IG1hcmdpbi1yaWdodDogNXB4OyI+PC9pPlBlcmZvcm1hbmNlIFJlcG9ydHMfEgUFMjk1MjYWAh8TBSMyOTUyNiQjJTQkIyVGYWxzZSQjJUZhbHNlJCMlVHJ1ZSQjJWQCBA8PFgQfBwVqPGkgY2xhc3M9ImZhcyBmYS10cm9waHktYWx0IGZhLWxnIiBzdHlsZT0iY29sb3I6IHJnYigxOCwgMTM4LCAxOTUpOyBtYXJnaW4tcmlnaHQ6IDVweDsiPjwvaT5SYW5rIEFjaGlldmVycx8SBQUyOTQ5MhYCHxMFIzI5NDkyJCMlNCQjJUZhbHNlJCMlRmFsc2UkIyVUcnVlJCMlZAIFDw8WBB8HBWk8aSBjbGFzcz0iZmFkIGZhLXR2LXJldHJvIGZhLWxnIiBzdHlsZT0iY29sb3I6IHJnYigxOCwgMTM4LCAxOTUpOyBtYXJnaW4tcmlnaHQ6IDVweDsiPjwvaT5UcmFpbmluZyBWaWRlb3MfEgUFMjk1MzIWAh8TBSMyOTUzMiQjJTQkIyVGYWxzZSQjJUZhbHNlJCMlVHJ1ZSQjJWQCBg8PFgQfBwVcPGkgY2xhc3M9ImZhZCBmYS10b29scyBmYS1sZyIgc3R5bGU9ImNvbG9yOiByZ2IoMTgsIDEzOCwgMTk1KTsgbWFyZ2luLXJpZ2h0OiA1cHg7Ij48L2k+VG9vbHMfEgUFMjk0NzQWAh8TBSMyOTQ3NCQjJTAkIyVGYWxzZSQjJUZhbHNlJCMlVHJ1ZSQjJRYEZg8PFgYfBwVkPGkgY2xhc3M9ImZhZCBmYS12aWRlbyBmYS1sZyIgc3R5bGU9ImNvbG9yOiByZ2IoMTgsIDEzOCwgMTk1KTsgbWFyZ2luLXJpZ2h0OiA1cHg7Ij48L2k+TWVkaWEgTGlicmFyeR8SBQQxNDUwHxRoFgIfEwUiMTQ1MCQjJTQkIyVGYWxzZSQjJUZhbHNlJCMlVHJ1ZSQjJWQCAQ8PFgQfBwVqPGkgY2xhc3M9ImZhZCBmYS1wZW5jaWwgZmEtbGciIHN0eWxlPSJjb2xvcjogcmdiKDE4LCAxMzgsIDE5NSk7IG1hcmdpbi1yaWdodDogNXB4OyI+PC9pPkZvcm1zICYgQWdyZWVtZW50cx8SBQUyODM5MRYCHxMFIzI4MzkxJCMlMCQjJUZhbHNlJCMlRmFsc2UkIyVUcnVlJCMlFgRmDw8WBh8HBRNFYXJuaW5ncyBEaXNjbGFpbWVyHxIFBTI5NTAxHxRoFgIfEwUjMjk1MDEkIyU0JCMlRmFsc2UkIyVGYWxzZSQjJVRydWUkIyVkAgEPDxYGHwcFDlByaXZhY3kgUG9saWN5HxIFBDE0MzYfFGgWAh8TBSExNDM2JCMlNCQjJVRydWUkIyVGYWxzZSQjJVRydWUkIyVkAgcPDxYEHwcFZTxpIGNsYXNzPSJmYXMgZmEtdGlja2V0LWFsdCBmYS1sZyIgc3R5bGU9ImNvbG9yOiByZ2IoMTgsIDEzOCwgMTk1KTsgbWFyZ2luLXJpZ2h0OiA1cHg7Ij48L2k+SGVscCBEZXNrHxIFBTI4Mzk3FgIfEwUiMjgzOTckIyUyJCMlVHJ1ZSQjJUZhbHNlJCMlVHJ1ZSQjJWQCCA8PFgQfBwVqPGkgY2xhc3M9ImZhZCBmYS1jYWxlbmRhci1hbHQgZmEtbGciIHN0eWxlPSJjb2xvcjogcmdiKDE4LCAxMzgsIDE5NSk7IG1hcmdpbi1yaWdodDogNXB4OyI+PC9pPlpvb20gTWVldGluZx8SBQUyODM5NhYCHxMFIjI4Mzk2JCMlMiQjJVRydWUkIyVGYWxzZSQjJVRydWUkIyVkAgMPDxYEHwcFNzxpIGNsYXNzPSJmYSBmYS1iYXJzIiBhcmlhLWhpZGRlbj0idHJ1ZSI+PC9pPiBFZGl0IE1lbnUfAmhkZAIEDxYCHwJoFgJmDxAPFgIfEWdkZGRkAg4PZBYEAgkPZBYCZg9kFgICAg9kFgxmD2QWAmYPFCsAAw8WAh8CaGRkZGQCAQ9kFgJmDw8WAh8HBRBIb21lcGFnZSBjb250ZW50ZGQCAg8PFgIfAmhkFgJmDw8WAh4HVG9vbFRpcAUPQ29sbGFwc2UvRXhwYW5kZGQCAw8PFgIfAmhkFgJmDw8WAh8VBQVQcmludGRkAgQPDxYCHwJoZGQCBQ9kFgICAg9kFgICAQ8WAh8CaBYIAgEPDxYEHwcFODxpIGNsYXNzPSJmYSBmYS1wZW5jaWwtc3F1YXJlLW8gZmEtbGciPjwvaT4gRWRpdCBDb250ZW50HwJnZGQCAg8PFgQfBwVBPGkgY2xhc3M9ImZhIGZhLXVwbG9hZCIgYXJpYS1oaWRkZW49InRydWUiPjwvaT4gUHVzaCB0byBQdWJsaXNoZXIfAmhkZAIDDw8WBB4NT25DbGllbnRDbGljawVicmV0dXJuIGNvbmZpcm0oJ0FyZSB5b3UgY2VydGFpbiB0aGF0IHlvdSB3aXNoIHRvIGlycmV2b2NhYmx5IHJlbW92ZSB0aGlzIGNvbnRlbnQgZnJvbSB0aGUgc2l0ZT8nKTsfAmhkZAIEDxYCHwJoZAIXD2QWBGYPDxYCHwcFBUZhbHNlZGQCAQ8PFgIfBwUGL0hvbWUvZGQCDw9kFgJmDxAPFgYeDkRhdGFWYWx1ZUZpZWxkBQZJdGVtSWQeDURhdGFUZXh0RmllbGQFBE5hbWUfA2dkEBUBC1UuUy4gRG9sbGFyFQEkZTA2ODUxMGEtYTRhNy00YWEyLThlNDctNTMwYmQ5YmYzMzAyFCsDAWcWAWZkAhAPZBYCZg8QDxYCHwNnZBAVAQ1Vbml0ZWQgU3RhdGVzFQEkZjAzYmU4OTQtZTVhMi00YjA4LTgwNDctMThiNzM0MGJjYTRkFCsDAWcWAWZkAhEPZBYIZg8WAh8OBQ1kaXNwbGF5Om5vbmU7FgICAQ8PFgIfBwUXU2VhcmNoIFByb2R1Y3RzIGJ5IE5hbWVkZAIBDxYCHw4FDmRpc3BsYXk6YmxvY2s7FgICAQ8PFgIfBwUoPGkgY2xhc3M9ImZhIGZhLXNlYXJjaC1wbHVzIj48L2k+IFNlYXJjaGRkAgIPD2QWAh4Jb25rZXlkb3duBWhyZXR1cm4gYXNwS2V5RG93bignMTMnLCAnX19kb1Bvc3RCYWNrKCUyN2N0bDAwJHByb2R1Y3RTZWFyY2gkYnRuU2VhcmNoUHJvZHVjdENvcm5lciUyNywlMjclMjcpJywgZXZlbnQpO2QCAw8PFgIfBwUJc2VhcmNoLi4uZGQYAQUeX19Db250cm9sc1JlcXVpcmVQb3N0QmFja0tleV9fFgMFFmN0bDAwJHRlc3RNZW51JHJhZE1lbnUFdWN0bDAwJEN1c3RvbU1lbnVUb29sQmFyTW9kdWxlMSRDdXN0b21NZW51VG9vbEJhcjEkcGFuZWxiYXIkY3RsMDAkQ3VzdG9tTWVudVRvb2xCYXJNb2R1bGUxJEN1c3RvbU1lbnVUb29sQmFyMSRwYW5lbGJhcgV1Y3RsMDAkQ3VzdG9tTWVudVRvb2xCYXJNb2R1bGUyJEN1c3RvbU1lbnVUb29sQmFyMSRwYW5lbGJhciRjdGwwMCRDdXN0b21NZW51VG9vbEJhck1vZHVsZTIkQ3VzdG9tTWVudVRvb2xCYXIxJHBhbmVsYmFywvh66lzUok2khar3sm5qMP4JQ/g=">
  </div>
  <script type="text/javascript">
    //<![CDATA[
    var theForm = document.forms['aspnetForm'];
    if (!theForm) {
      theForm = document.aspnetForm;
    }

    function __doPostBack(eventTarget, eventArgument) {
      if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
        theForm.submit();
      }
    }
    //]]>
  </script>
  <script src="/WebResource.axd?d=R7RJpApD9dFZHhBsXsqGGvo6STe9LwEjcFvZGGGl-x01rzl6MzR_kbzk574omYf1_y4g-6xG-aI8P5X3kitST6nZnfc1&amp;t=637814437746327080" type="text/javascript"></script>
  <script language="javascript">
    <!--
    function radBasedPersonalMenuItemClick(item, e) {
      var ItemType1 = 'False'
      var ItemType;
      var valueParts = e.Item.GetAttribute('itemType').split('$#%');
      if (valueParts[4] != null && valueParts[4] == 'True' && valueParts[2] == 'False' && valueParts[5] != null && valueParts[5] != '') {
        return;
      }
      if (valueParts != null && valueParts[1] != null) ItemType = valueParts[1];
      if (ItemType != '0') {
        if (ItemType1 == valueParts[2]) document.location.assign('/utilities/utility.aspx?mitem=' + e.Item.Value.substr(1) + '&mit=' + ItemType + '&domain=overseacanuck.novatechfx.com&alias=NOVATECHLTD&psusn=Overseacanuck&psm=3');
        else {
          if (valueParts[5] != null && valueParts[5] != '') window.open(valueParts[5]);
          else window.open('/utilities/utility.aspx?mitem=' + e.Item.Value.substr(1) + '&mit=' + ItemType + '&domain=overseacanuck.novatechfx.com&alias=NOVATECHLTD&psusn=Overseacanuck&psm=3');
        }
      } else {
        if (valueParts[3] != '' && valueParts[3] == 'True') {
          if (ItemType1 == valueParts[2]) {
            document.location.assign('/utilities/utility.aspx?mitem=' + e.Item.Value.substr(1) + '&mit=' + ItemType + '&domain=overseacanuck.novatechfx.com&alias=NOVATECHLTD&psusn=Overseacanuck&psm=3');
          } else {
            if (valueParts[5] != null && valueParts[5] != '') window.open(valueParts[5]);
            else window.open('/utilities/utility.aspx?mitem=' + e.Item.Value.substr(1) + '&mit=' + ItemType + '&domain=overseacanuck.novatechfx.com&alias=NOVATECHLTD&psusn=Overseacanuck&psm=3');
          }
        }
      }
    }
    //
    -->
  </script><input type="hidden" name="postedPath" id="postedPath">
  <script language="javascript">
    <!--
    function radBasedPanelbarItemClick(item, e) {
      var ItemType1 = 'False'
      var ItemType;
      var valueParts = e.Item.GetAttribute('ItemType').split('$#%');
      if (valueParts[4] != null && valueParts[4] == 'True' && valueParts[2] == 'False' && valueParts[5] != null && valueParts[5] != '') {
        return;
      }
      if (valueParts != null && valueParts[1] != null) ItemType = valueParts[1];
      if (ItemType != '0') {
        if (ItemType1 == valueParts[2]) document.location.assign('/utilities/utility.aspx?mitem=' + e.Item.Value + '&mit=' + ItemType + '&domain=overseacanuck.novatechfx.com&alias=NOVATECHLTD&psusn=Overseacanuck&psm=3');
        else {
          if (valueParts[5] != null && valueParts[5] != '') window.open(valueParts[5]);
          else window.open('/utilities/utility.aspx?mitem=' + valueParts[0] + '&mit=' + ItemType + '&domain=overseacanuck.novatechfx.com&alias=NOVATECHLTD&psusn=Overseacanuck&psm=3');
        }
      } else {
        if (valueParts[3] != '' && valueParts[3] == 'True') {
          if (ItemType1 == valueParts[2]) {
            document.location.assign('/utilities/utility.aspx?mitem=' + e.Item.Value + '&mit=' + ItemType + '&domain=overseacanuck.novatechfx.com&alias=NOVATECHLTD&psusn=Overseacanuck&psm=3');
          } else {
            if (valueParts[5] != null && valueParts[5] != '') window.open(valueParts[5]);
            else window.open('/utilities/utility.aspx?mitem=' + valueParts[0] + '&mit=' + ItemType + '&domain=overseacanuck.novatechfx.com&alias=NOVATECHLTD&psusn=Overseacanuck&psm=3');
          }
        }
      }
    }
    //
    -->
  </script>
  <script language="javascript">
    <!--
    document.applicationId = '511e2839f56f4a9da96e48f94941a5e9';
    document.utilityPagePath = '/utilities/utility.aspx';
    //
    -->
  </script>
  <script type="text/javascript">
    //<![CDATA[
    var ctrls_5282 = new Array(); //]]>
  </script>
  <script src="/ScriptResource.axd?d=XUoPMyyFii0VDiMLLGPE6bE9fVvjf7WB-WGv2I3N6YJ0WaFfG-3QEcTLcsKknYbMLLrOtXLlG-cMVvurEhbaw4jXzgoCvI1xHm-EMTQTspfW6fsjQ3IUWLhoKLeQ04KtFGyQZZoEe3_ecuH96zxpFP2DCa-bNjgpCeVY-ST5bzu7Z8ua0&amp;t=49337fe8"
    type="text/javascript"></script>
  <script src="/ScriptResource.axd?d=oLO93juMsciEwwMIwl12FQwBAP9veFeFglfnLJpFdN8BfMEYa19_EvfSGmT251arT040wwbP-7VxdUGStGqrJ9Ti9rpnlkJESpElefJ2KpJB0OB9gzbZNcRWPTfvumJQVYCAeh6If22WtblSbtH5U4LSYNHQs9-PVyV0ii6fJbxLHQPO0&amp;t=49337fe8"
    type="text/javascript"></script>
  <div id="container-wrapper">
    <div id="header-wrapper">
      <div class="container">
        <div class="row hidden-sm">
          <div class="col-lg-9 col-lg-push-3 col-md-9 col-md-push-3 col-sm-12 col-xs-12 top-links-wrapper">
            <div class="row">
              <div class="cart-wrapper">
                <div class="mini-cart" title="Items on Cart">
                  <a class="cart-link" href="/Cart/"><svg width="25px" height="20px" viewBox="0 0 76 52" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><!-- Generator: Sketch 52.2 (67145) - http://www.bohemiancoding.com/sketch --><title>Combined Shape</title><desc>Created with Sketch.</desc><g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="Custom-Preset" transform="translate(-1150.000000, -643.000000)"><g id="Group" transform="translate(1150.000000, 643.000000)"><path d="M28,38 L27,38 L27,36.8734595 L11.9420077,6 L0,6 L0,-2.84217094e-14 L16.6475898,-2.84217094e-14 L16.8038257,-1.13686838e-13 L31.923536,31 L56.7895598,31 L67.4895942,10 L75.3458779,10 L62,36.1927601 L62,38 L28,38 Z M31,52 C28.2385763,52 26,49.7614237 26,47 C26,44.2385763 28.2385763,42 31,42 C33.7614237,42 36,44.2385763 36,47 C36,49.7614237 33.7614237,52 31,52 Z M57,52 C54.2385763,52 52,49.7614237 52,47 C52,44.2385763 54.2385763,42 57,42 C59.7614237,42 62,44.2385763 62,47 C62,49.7614237 59.7614237,52 57,52 Z" id="Combined-Shape"></path></g></g></g></svg><strong class="cart-name hide-for-small"><i class="fa fa-shopping-cart"></i> Cart</strong><div class="cart-icon"><strong>0</strong></div></a>
                </div>
              </div>
              <div class="login-wrapper">
                <!-- Do not delete the commmented lines. --><a id="ctl00_login_mppLoginView_btnLogin" class="loginButtonMiddle" href="javascript:__doPostBack('ctl00$login$mppLoginView$btnLogin','')" style="cursor: pointer;"><span id="ctl00_login_mppLoginView_lblLoginText"><i class="fa fa-lock"></i> Sign In</span></a><input
                  type="hidden" name="ctl00$login$hdnClearCookies" id="ctl00_login_hdnClearCookies">
                <div style="display: none;" id="divLogoutConfirmation">
                  <div class="dvGlobalAjaxLoader"></div>
                  <div class="dvGlobalAjaxLoader_wrapper">
                    <div class="dvGlobalAjaxContent" style="display:inline-block;">
                      <style>
                        #divLogoutConfirmation .dvGlobalAjaxContent {
                          position: relative;
                        }

                        #divLogoutConfirmation .close-logout-confirmation {
                          position: absolute;
                          top: 10px;
                          right: 15px;
                          font-size: 16px;
                          cursor: pointer;
                          color: #999;
                        }

                        #divLogoutConfirmation .cancel-signout-wrap {
                          text-align: center;
                          margin-top: 15px;
                        }

                        #divLogoutConfirmation .cancel-signout-wrap a {
                          cursor: pointer;
                        }

                        #divLogoutConfirmation .logout-btn-wrap {
                          display: -webkit-box;
                          display: -ms-flexbox;
                          display: flex;
                          -webkit-box-pack: center;
                          -ms-flex-pack: center;
                          justify-content: center;
                        }

                        #divLogoutConfirmation #loadingMsgGlobal2 {
                          margin-bottom: 20px;
                        }
                      </style>
                      <table style="width: 100%; padding: 0px !important; margin: 0px !important;">
                        <tbody>
                          <tr>
                            <td style="width: 40px;display:none;">
                              <div class="pglobalAjaxContent" style="float: left; padding-right: 5px; padding-top: 12px;"><img src="/Images/blue-ajax-loader.gif" style="margin: 0px auto;"></div>
                            </td>
                            <td>
                              <div class="pglobalAjaxContent"><span class="close-logout-confirmation" title="Close Popup"><i class="fas fa-times"></i></span><span id="loadingMsgGlobal"
                                  style="font-size: 21px; color: #999; display: inline-block; margin-bottom: 2px; font-weight: bold">For your convenience this web site saves your visit details. </span><br>
                                <div id="loadingMsgGlobal2" style="margin-top: 5px;">Would you like to clear your session history? </div>
                                <div class="logout-btn-wrap"><a href="javascript:void(0);" class="pushbutton" onclick="fnLogout('1');" style="margin-right: 20px;">Yes</a><a href="javascript:void(0);" class="pushbutton" onclick="fnLogout('0');">No</a>
                                </div>
                                <div class="cancel-signout-wrap logout-btn-wrap"><a class="pushbutton">Cancel Sign Out</a></div>
                              </div>
                            </td>
                          </tr>
                        </tbody>
                      </table>
                    </div>
                  </div>
                </div>
                <script type="text/javascript">
                  //Update By Parth on 21st June,2015 for Task# 20151 - Clear session history on logout
                  function fnLogoutPostBack() {
                    ;
                  }

                  function fnLogoutConform() {
                    jQuery('#divLogoutConfirmation').show();
                  }

                  function fnLogout(ClearCookie) {
                    jQuery("#ctl00_login_hdnClearCookies").val(ClearCookie);
                    fnLogoutPostBack();
                  }
                  //End Update Task# 20151
                  function fnLoginPostBack() {
                    __doPostBack('ctl00$login$mppLoginView$btnLogin', '');
                  }

                  function loginModuleScripts() {
                    var closeLogoutConfirmation = function() {
                      var targetEl = document.querySelector('#divLogoutConfirmation .close-logout-confirmation'),
                        cancelSignoutBtn = document.querySelector('#divLogoutConfirmation .cancel-signout-wrap');
                      if (targetEl) {
                        targetEl.addEventListener('click', function() {
                          var parentEl = document.querySelector('#divLogoutConfirmation');
                          if (parentEl) {
                            parentEl.style.display = 'none';
                          }
                        });
                      }
                      if (cancelSignoutBtn) {
                        cancelSignoutBtn.addEventListener('click', function() {
                          var parentEl = document.querySelector('#divLogoutConfirmation');
                          if (parentEl) {
                            parentEl.style.display = 'none';
                          }
                        });
                      }
                    }
                    var updateColor = function() {
                      jQuery(document).ready(function() {
                        if (loadColorThief.called != true) {
                          loadColorThief();
                        }
                      });
                      jQuery(window).on('load', function() {
                        try {
                          var color = sessionStorage.getItem('colorThiefRgb');
                          jQuery('head').append('<style>#loadingMsgGlobal,#divLogoutConfirmation .close-logout-confirmation{color:' + color + '!important}</style>');
                        } catch (sessionStorageError) {}
                      });
                    }
                    this.init = function() {
                      closeLogoutConfirmation();
                      updateColor();
                    }
                  }
                  var loginModuleJs = new loginModuleScripts();
                  loginModuleJs.init();
                </script>
              </div>
              <div class="language-selector">
                <div class="ddOutOfVision" style="height:0px;overflow:hidden;position:absolute;" id="ctl00_local_ddlCultures_msddHolder"><select name="ctl00$local$ddlCultures"
                    onchange="javascript:setTimeout('__doPostBack(\'ctl00$local$ddlCultures\',\'\')', 0)" id="ctl00_local_ddlCultures" class="DropdownText ddlcultureCss">
                    <option selected="selected" value="beccc41b-3f42-448c-825c-425ca04fe5da">English</option>
                  </select></div>
                <div id="ctl00_local_ddlCultures_msdd" class="dd" style="width: 65px;">
                  <div id="ctl00_local_ddlCultures_title" class="ddTitle"><span id="ctl00_local_ddlCultures_arrow" class="arrow"></span><span class="ddTitleText" id="ctl00_local_ddlCultures_titletext"><span class="ddTitleText">English</span></span>
                  </div>
                  <div id="ctl00_local_ddlCultures_child" class="ddChild" style="width: 63px;"><a href="javascript:void(0);" class="selected enabled" id="ctl00_local_ddlCultures_msa_0"><span class="ddTitleText">English</span></a></div>
                </div>
                <div style="display: none"><a id="ctl00_local_BTNChangeCulture" href="javascript:__doPostBack('ctl00$local$BTNChangeCulture','')">BTNChangeCulture</a></div>
                <script type="text/javascript">
                  /*Added by Jam for task# 51903*/
                  function updateLanguagePerUser() {
                    var pThis = this,
                      langSelEl = document.querySelector('select.ddlcultureCss'),
                      langSelOptionsEl = '';
                    if (langSelEl) {
                      langSelOptionsEl = langSelEl.querySelectorAll('option');
                    }
                    var userTypeError = function() {
                      console.log('You need to move the script at the end of the pageskin after </body> tag. Note: Don\'t add this inside the jQuery(document).ready');
                    }
                    pThis.forAdmin = function(cId) {
                      if (typeof(UserIsAdmin) != undefined && typeof(UserIsAdmin) != "undefined") {
                        if (UserIsAdmin !== "True") {
                          for (var i = 0; i < langSelOptionsEl.length; i++) {
                            if (langSelOptionsEl[i].getAttribute('value') == cId) {
                              langSelOptionsEl[i].remove();
                            }
                          }
                        }
                      } else {
                        userTypeError();
                      }
                    }
                    pThis.forDistributor = function(cId) {
                      if (typeof(UserIsDistributor) != undefined && typeof(UserIsDistributor) != "undefined") {
                        if (UserIsDistributor !== "True") {
                          for (var i = 0; i < langSelOptionsEl.length; i++) {
                            if (langSelOptionsEl[i].getAttribute('value') == cId) {
                              langSelOptionsEl[i].remove();
                            }
                          }
                        }
                      } else {
                        userTypeError();
                      }
                    }
                  }
                  var ps_languageUpdate = new updateLanguagePerUser();
                  /*End Added by Jam for task# 51903*/
                  jQuery(document).ready(function() {
                    jQuery(".ddlcultureCss").change(function() {
                      displayAjaxProcessingLoader('Updating Selected Language', '<p style="margin-top:5px">Please wait, this will take just a few moments while the language selected is applied throughout the website</p>');
                    });
                  });
                </script>
              </div>
              <div class="review-link" style="display: none"><a href="/What-Others-are-Saying/?mitem=17538">Testimonials</a></div>
              <div class="contact-link" style="display: none"><a href="/Contact/">Contact Us</a></div>
              <div class="aboutus-link" style="display: none"><a href="/Our-Story/">About Us</a></div>
              <div class="edit-layout" style="display: none;"></div>
              <div>
                <style>
                  .myaccount-menu {
                    float: left;
                  }

                  .MyAccountMenu [id$="linkFirstName"]:before {
                    content: "\f007";
                    font-family: 'Font Awesome 5 Pro';
                    display: inline-block;
                    margin-right: 10px;
                    font-size: 13px;
                  }

                  .MyAccountMenu [id$="linkFirstName"]:after {
                    content: "\f078";
                    font-family: 'Font Awesome 5 Pro';
                    display: inline-block;
                    margin-left: 10px;
                    font-size: 13px;
                  }

                  .MyAccountMenu>li>a,
                  .MyAccountMenu>li>a:active {
                    cursor: pointer;
                    outline: initial;
                    color: #999;
                  }

                  .MyAccountMenu .dropit-trigger>ul>.myAccountMenuClass {
                    cursor: pointer;
                    line-height: 1.1;
                    padding: 4px 5px;
                  }

                  .MyAccountMenu .dropit-trigger>ul>.myAccountMenuClass:before {
                    content: "";
                    padding-left: 20px;
                  }

                  .MyAccountMenu .dropit-trigger .myAccountMenuClass a {
                    font-weight: normal;
                  }

                  .MyAccountMenu .dropit-trigger>ul>.myAccountMenuClass>a {
                    font-size: inherit;
                    line-height: 20px;
                    color: inherit;
                  }

                  .MyAccountMenu .dropit-trigger>ul>.myAccountMenuClass>a:hover {
                    text-decoration: underline;
                  }

                  .dropit .dropit-open .dropit-submenu {
                    display: block;
                  }

                  .dropit .dropit-submenu {
                    /*overflow: hidden;*/
                  }

                  .upArrow:after {
                    content: "\f077" !important;
                  }

                  .downArrow:after {
                    content: "\f078" !important;
                  }

                  .MyAccountMenu {
                    list-style-type: none;
                  }

                  ul.dropit .dropit-submenu {
                    min-width: 200px;
                    border: 1px solid #a9a9a9 !important;
                    border-radius: 3px;
                    box-shadow: 0 2px 8px 0 rgba(0, 35, 70, 0.2);
                    padding: 8px 4px;
                    left: unset;
                    right: -10%;
                    margin-top: 5px;
                    height: auto;
                  }

                  ul.dropit .dropit-submenu:after,
                  ul.dropit .dropit-submenu:before {
                    content: "";
                    display: block;
                    position: absolute;
                    bottom: 100%;
                    left: 90%;
                    -webkit-transform: translateX(-50%);
                    transform: translateX(-50%);
                    width: 0;
                    height: 0;
                    border: 10px solid transparent;
                    border-width: 10px;
                    border-bottom-color: #fff;
                  }

                  ul.dropit .dropit-submenu:before {
                    border-bottom-color: #a9a9a9;
                    bottom: calc(100% + 1px);
                    border-width: 10px;
                  }
                </style><input type="hidden" name="ctl00$MyAccount$hdnMyAccountClearCookies" id="ctl00_MyAccount_hdnMyAccountClearCookies">
                <div style="display: none;" id="divSignInLogoutConfirmation">
                  <div class="dvGlobalAjaxLoader"></div>
                  <div class="dvGlobalAjaxLoader_wrapper">
                    <div class="dvGlobalAjaxContent" style="display:inline-block;">
                      <table style="width: 100%; padding: 0px !important; margin: 0px !important;">
                        <tbody>
                          <tr>
                            <td style="width: 40px;display:none;">
                              <div class="pglobalAjaxContent" style="float: left; padding-right: 5px; padding-top: 12px;"><img src="/Images/blue-ajax-loader.gif" style="margin: 0px auto;"></div>
                            </td>
                            <td>
                              <div class="pglobalAjaxContent"><span id="loadingMsgGlobal" style="font-size: 21px; color: #2392C9; display: inline-block; margin-bottom: 2px; font-weight: bold">For your convenience this web site saves your visit
                                  details. </span><br>
                                <div id="loadingMsgGlobal2" style="margin-top: 5px;">Would you like to clear your session history? </div>
                                <div style="padding-top: 20px;text-align:center;">
                                  <a href="/en-US-40966/" onclick="fnLogoutConfirm('1');" class="pushbutton" style="margin-right: 20px;">Yes</a><a href="/en-US-40966/" onclick="fnLogoutConfirm('0');" class="pushbutton">No</a></div>
                              </div>
                            </td>
                          </tr>
                        </tbody>
                      </table>
                    </div>
                  </div>
                </div>
                <script type="text/javascript">
                  var copiedStyles = {
                    hoverColor: '',
                    color: '',
                    background: '',
                    radius: '',
                    border: '',
                    fontFamily: '',
                    fontSize: '',
                    hoverBackground: ''
                  };
                  var menuCss = document.getElementsByTagName('link');
                  //var regExp = /[1-4][1-4a-z]{2,4}.[a-z0-9]{5,50}.[a-z]{2,4}/i;
                  var regExp = /[1-9](cdn)[1-9,.]*[a-z]*.[a-z]*/i;
                  var styles = document.styleSheets;

                  function setNonCdnStyle() {
                    for (var i = 0; i < menuCss.length; i++) {
                      if (menuCss[i].href.indexOf('UserMenuSkin') != -1) {
                        menuLink = menuCss[i].href;
                      }
                    }
                    if (typeof(menuLink) != 'undefined') { //condition added by Alkesh for task#30220 - load inline skin css 
                      menuLink = menuLink.replace(regExp, window.location.hostname);
                      newCssLink = document.createElement('link');
                      newCssLink.href = menuLink;
                      newCssLink.crossOrigin = 'anonymous';
                      newCssLink.rel = 'stylesheet';
                      newCssLink.type = 'text/css';
                      document.getElementsByTagName("head")[0].appendChild(newCssLink);
                    }
                  }

                  function getNonCdnStyle() {
                    for (var i = 0, len = styles.length; i < len; i++) {
                      if (styles[i].href != null) {
                        if (styles[i].href.indexOf('UserMenuSkin') != -1) {
                          if (styles[i].href.search(regExp) == -1) {
                            loadedCssRules = styles[i];
                            //console.log(i);
                          } else {
                            loadedCssRules = styles[i];
                            //console.log(i);
                          }
                        }
                      }
                    }
                  }

                  function getStyles() {
                    if (typeof(loadedCssRules) != 'undefined') { //condition added by Alkesh for task#30220 - load inline skin css
                      if (typeof(loadedCssRules.cssRules) != 'undefined' && loadedCssRules.cssRules != null) {
                        for (i = 0, len = loadedCssRules.cssRules.length; i < len; i++) {
                          if (loadedCssRules.cssRules[i].cssText.indexOf('background') != -1 && loadedCssRules.cssRules[i].cssText.indexOf(':hover') == -1) {
                            /*for background*/
                            if (loadedCssRules.cssRules[i].cssText.indexOf('background-color') != -1) {
                              copiedStyles.background = loadedCssRules.cssRules[i].style.backgroundColor;
                            } else {
                              //copiedStyles.background = loadedCssRules.cssRules[i].style.background;
                            }
                          }
                          if (loadedCssRules.cssRules[i].cssText.indexOf('background') != -1 && loadedCssRules.cssRules[i].cssText.indexOf(':hover') != -1) {
                            /*for hover background*/
                            if (loadedCssRules.cssRules[i].cssText.indexOf('background-color') != -1) {
                              copiedStyles.hoverBackground = loadedCssRules.cssRules[i].style.backgroundColor;
                            } else {
                              copiedStyles.hoverBackground = loadedCssRules.cssRules[i].style.background;
                            }
                          }
                          if (loadedCssRules.cssRules[i].cssText.indexOf('color') != -1 && loadedCssRules.cssRules[i].cssText.indexOf(':hover') == -1) {
                            /*for color*/
                            if (loadedCssRules.cssRules[i].cssText.indexOf('-color') == -1) {
                              //console.log(loadedCssRules.cssRules[i]);
                              copiedStyles.color = loadedCssRules.cssRules[i].style.color;
                            }
                          }
                          if (loadedCssRules.cssRules[i].cssText.indexOf('color') != -1 && loadedCssRules.cssRules[i].cssText.indexOf(':hover') != -1) {
                            /*for hover color*/
                            if (loadedCssRules.cssRules[i].cssText.indexOf('-color') == -1 && loadedCssRules.cssRules[i].cssText.indexOf('border-color') == -1) {
                              //console.log(i)
                              //console.log(loadedCssRules.cssRules[i].style.color);
                              copiedStyles.hoverColor = loadedCssRules.cssRules[i].style.color;
                            }
                          }
                          if ((loadedCssRules.cssRules[i].cssText.indexOf('border-radius') != -1 && loadedCssRules.cssRules[i].cssText.indexOf('border:') != -1) || (loadedCssRules.cssRules[i].cssText.indexOf('border-radius') == -1 && loadedCssRules
                              .cssRules[i].cssText.indexOf('border:') != -1)) {
                            /*for border*/
                            if (loadedCssRules.cssRules[i].cssText.indexOf('hover') == -1) {
                              //console.log(i)
                              //console.log(loadedCssRules.cssRules[i].style.border);
                              copiedStyles.border = loadedCssRules.cssRules[i].style.border;
                            }
                          }
                        }
                      }
                    }
                  }

                  function setStyles() {
                    var cssText = '';
                    if (copiedStyles.background != '') {
                      cssText += 'ul.MyAccountMenu .dropit-trigger > ul > .myAccountMenuClass{background:' + copiedStyles.background + '}';
                      cssText += 'ul.MyAccountMenu .dropit-trigger > ul{background:' + copiedStyles.background + '!important }';
                      cssText += 'ul.dropit .dropit-submenu:after{border-bottom-color:' + copiedStyles.background + '!important }';
                      /*cssText += 'ul.MyAccountMenu .dropit-trigger > ul{border-color:'+ copiedStyles.background +'!important }';*/
                    }
                    if (copiedStyles.background != '') {
                      cssText += 'ul.MyAccountMenu .dropit-trigger > ul > .myAccountMenuClass:hover{background:' + copiedStyles.hoverBackground + '}';
                    }
                    if (copiedStyles.color != '') {
                      cssText += 'ul.MyAccountMenu .dropit-trigger > ul > .myAccountMenuClass > a,ul.MyAccountMenu .dropit-trigger > ul > .myAccountMenuClass{color:' + copiedStyles.color + '}';
                    }
                    if (copiedStyles.hoverColor != '') {
                      cssText += 'ul.MyAccountMenu .dropit-trigger > ul > .myAccountMenuClass:hover > a{color:' + copiedStyles.hoverColor + '}';
                    }
                    if (copiedStyles.border == '') {
                      cssText += 'ul.MyAccountMenu > li > ul{border:none!important}';
                    } else {
                      cssText += 'ul.MyAccountMenu > li > ul{border:' + copiedStyles.border + '!important}'
                    }
                    jQuery('head').append('<style id="my-account-styles">' + cssText + '</style>');
                  }

                  function LogoutConfirm() {
                    jQuery('#divSignInLogoutConfirmation').show();
                  }
                  //start added by john 2017/03/03 task#28195
                  function fnMyAccountLogoutPostBack() {
                    __doPostBack('ctl00$MyAccount$hdnMyAccountClearCookies', '');
                  }
                  //end added by john 2017/03/03 task#28195
                  function fnLogoutConfirm(ClearCookie) {
                    //__doPostBack('lnkLogout', ClearCookie)  //commented by john 2017/03/03 task#28195  
                    //start added by john 2017/03/03 task#28195 
                    __doPostBack('ctl00$MyAccount$hdnMyAccountClearCookies', ClearCookie)
                    fnMyAccountLogoutPostBack();
                    //end added by john 2017/03/03 task#28195 
                  }
                  setNonCdnStyle();
                  jQuery(window).on('load', function() {
                    if (typeof jQuery('.MyAccountMenu').dropit == 'undefined') {
                      jQuery.ajax({
                        url: '/jssrc/Dropit-1.1.1/dropit.js',
                        dataType: "script",
                        success: MyAccountMenuDropit
                      });
                    } else {
                      MyAccountMenuDropit();
                    }
                  });

                  function MyAccountMenuDropit() {
                    jQuery('.MyAccountMenu').dropit({
                      beforeShow: function() {
                        jQuery('.MyAccountMenu [id$="linkFirstName"]').addClass('upArrow');
                      },
                      beforeHide: function() {
                        jQuery('.MyAccountMenu [id$="linkFirstName"]').removeClass('upArrow');
                      }
                    });
                    getNonCdnStyle();
                    getStyles();
                    setStyles();
                  }
                </script>
              </div>
              <div class="start-menu" style="display: none"></div><a id="menu-button" onclick="toggleMenu();" style="display: none;"></a>
            </div>
            <script>
              var linksWrapper;
              if (typeof(document.getElementsByClassName) != 'undefined') {
                linksWrapper = document.getElementsByClassName('top-links-wrapper')[0].children[0].children;
              } else {
                linksWrapper = document.querySelectorAll('.top-links-wrapper')[0].children[0].children;
              }
              for (var i = 0; i < linksWrapper.length; i++) {
                if (linksWrapper[i].innerHTML.trim().length <= 0) {
                  linksWrapper[i].style.display = 'none';
                }
              }
            </script>
          </div>
          <div class="col-lg-3 col-lg-pull-9 col-md-3 col-md-pull-9 col-sm-12 col-xs-12">
            <div id="header_replication"><span id="ctl00_owner_lblOwner" class="owner" style="display: inline;">Distributor: </span><span id="ctl00_ownerFirstName_lblOwner" class="owner" style="padding-left: 1px;">Lorne</span><span
                id="ctl00_ownerLastName_lblOwner" class="owner" style="border-right: 1px solid rgb(255, 255, 255);">Sanders</span>
              <div id="ctl00_ctl10_divCommonId" class="owner">ID: 353660</div>
            </div>
            <script type="text/javascript" async="">
              if (jQuery("#ctl00_ownerLastName_lblOwner").text().trim().length) {
                jQuery("#ctl00_ownerLastName_lblOwner").css("border-right", "1px solid #ffffff");
                jQuery("#ctl00_ownerFirstName_lblOwner").css("padding-left", "1px");
                jQuery("#ctl00_owner_lblOwner").text("Distributor: ");
                jQuery("#ctl00_owner_lblOwner").css("display", "inline");
                jQuery("#ctl00_ctl02_divCommonId").addClass("owner");
                var newText = jQuery(".owner[id$='divCommonId']").text().split(' ');
                var regex = /[0-9]*/i;
                for (i = 0; i < newText.length; i++) {
                  if (newText[i].match(regex) > 0) {
                    var newId = newText[i]
                  }
                }
                jQuery(".owner[id$='divCommonId']").text('ID: ' + newId);
              }
            </script>
          </div>
        </div>
        <div class="row hidden-xs hidden-sm">
          <div class="logo-wrapper col-lg-3 col-md-3 col-sm-12 col-xs-12">
            <div class="row">
              <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"><!-- <a href="/"><img class="img-responsive"
                                            src="/DeployFromHere/UserFiles/Images/mpp_img/logo.png" /></a> -->
                <style>
                  .imgCompanyLogo {
                    cursor: pointer;
                  }

                  #company-logo-wrapper .imgCompanyLogo {
                    height: auto !important;
                    max-width: 100%;
                  }
                </style>
                <div id="company-logo-wrapper">
                  <div>
                    <a class="logo"><img id="ctl00_CompanyLogo_imgCompanyLogo" class="imgCompanyLogo img-responsive" data-intro="" data-position="right" src="/NOVATECHLTD/CompanyLogo/b7b0fd53-93dc-428c-8aaa-185520b9656827-03-2020T20-52-47-66-cropped.png" style="height:324px;width:1149px;border-width:0px;"></a>
                  </div>
                  <div class="divToggleChardin" style="padding-left: 10px; display: none;"><img src="/jssrc/chardinjs/css/img/MouseOverToUploadLogo.png" data-intro=""></div>
                </div>
                <div style="padding-top: 20px; display: none; width: 350px;" class="divRow divToggleChardin" data-intro="" id="divToggleChardin">
                  <div class="divColumn" style="width: 49%;"><a href="#" id="lnkShowMeLater" class="pushbutton" data-toggle="chardinjs" data-intro="">Show Later</a></div>
                  <div class="divColumn" style="width: 50%;"><a href="#" id="lnkDontAskMeAgain" class="pushbutton" data-toggle="chardinjs">Don't Ask Me Again</a></div>
                </div>
                <script>
                  function checkLogoSrcIfDefault() {
                    var logoSrc = jQuery('#company-logo-wrapper img[id$="imgCompanyLogo"]').attr('src'),
                      defaultLogoSrc = '/DeployFromHere/UserFiles/Images/mpp_img/logo.png';
                    if (logoSrc.indexOf(defaultLogoSrc) != -1) {
                      jQuery('#company-logo-wrapper').addClass('default-logo');
                    }
                  }
                  jQuery(document).ready(function() {
                    BindUploaderControl();
                    checkLogoSrcIfDefault();
                    if ('False' == 'True') {
                      (function() {
                        jQuery(function() {
                          jQuery('body').chardinJs();
                          jQuery('a[data-toggle="chardinjs"]').on('click', function(e) {
                            e.preventDefault();
                            if (jQuery('.logo .imgCompanyLogo').is(':visible')) {
                              return (jQuery('body').data('chardinJs')).toggle();
                            } else {
                              return jQuery('.logo .imgCompanyLogo').animate({
                                height: 250
                              }, 600, function() {
                                return (jQuery('body').data('chardinJs')).toggle();
                              });
                            }
                          });
                          //return $('body').on('chardinJs:start', function () {
                          //    alert('start');
                          //});
                          return jQuery('body').on('chardinJs:stop', function() {
                            jQuery('.divToggleChardin').hide();
                          });
                        });
                      }).call(this);
                      jQuery('.divToggleChardin').show();
                      jQuery('body').chardinJs('start');
                      jQuery('#lnkShowMeLater').on('click', function() {
                        UpdateShowMeLaterStatus(1);
                      });
                      jQuery('#lnkDontAskMeAgain').on('click', function() {
                        UpdateShowMeLaterStatus(0);
                      });
                    }
                  });

                  function UpdateShowMeLaterStatus(status) {
                    jQuery.ajax({
                      type: "POST",
                      contentType: "application/json; charset=utf-8",
                      url: "/WebServices/WSApplicationUsers.asmx/UpdateShowMeLaterStatus",
                      data: JSON.stringify({
                        "status": status
                      }),
                      dataType: "json",
                      success: function(data) {},
                      error: function(ex) {
                        alert(eex.responseText);
                      }
                    });
                  }

                  function BindUploaderControl() {
                    if ('False' == 'True') {
                      jQuery('.imgCompanyLogo').after('<div class="imgWrapperhoverCLogo"><i class="fbCameraCLogo"></i></div>');
                      var imgtitle = '<i class="fa fa-upload" aria-hidden="true"></i> Upload Logo';
                      jQuery('.imgCompanyLogo').wrap('<div class="wrapperCLogo wrapper0CLogo" style="height:' + jQuery('.imgCompanyLogo').height() + 'px;width:' + jQuery('.imgCompanyLogo').width() + 'px;" />').
                      /*after('<div class=\'imagecaptionCLogo\' style="padding-top:5px;width:100%;top: 100%;"><div class="divColumn" style="width:99%;padding-left:12px;text-align:left;"><i class="fa fa-camera" style="color:white;"></i>&nbsp;&nbsp;<span>' + imgtitle + '</span></div></div>'); Modified by Jam*/
                      after('<div class=\'imagecaptionCLogo\'><div class="divColumn" style="width:99%;padding-left:12px;text-align:left;"><i class="fa fa-camera" style="color:white;"></i>&nbsp;&nbsp;<span>' + imgtitle + '</span></div></div>');
                      /*jQuery('.wrapper0CLogo').hover(
				function () {
					jQuery(this).find('.imagecaptionCLogo').animate({ top: "70%" }, 300);
					jQuery('.imgWrapperhoverCLogo').hide();
				},
				function () {
					jQuery(this).find('.imagecaptionCLogo').animate({ top: "100%" }, 100);
					jQuery('.imgWrapperhoverCLogo').show();
				}
			);*/
                      jQuery('.imagecaptionCLogo, .imgDistributorCLogo').on("click", function() {
                        var ar = GetAspectRation();
                        window.location.href = '' + '?h=' + jQuery('[id$="imgCompanyLogo"]').height() + '&w=' + jQuery('[id$="imgCompanyLogo"]').width() + '&ar=' + ar;
                        //var res = xc();
                        return false;
                      });
                      jQuery('.imgCompanyLogo').on("click", function() {
                        window.location.href = '/Home/';
                        return false;
                      });
                      /*Added by Jam to determine the height of the image to change the top css of the upload logo*/
                      if (jQuery('.imgCompanyLogo').height() != null) {
                        if (jQuery('.imgCompanyLogo').height() <= 40) {
                          jQuery('.imgCompanyLogo').parent().addClass('logo-low-height');
                        }
                      }
                      /*End added by Jam*/
                    } else {
                      jQuery('.imgCompanyLogo').on("click", function() {
                        window.location.href = '/Home/';
                        return false;
                      });
                    }
                  }

                  function GetAspectRation() {
                    var a = parseFloat(jQuery('[id$="imgCompanyLogo"]').width());
                    var b = parseFloat(jQuery('[id$="imgCompanyLogo"]').height());
                    if (isNaN(a) || isNaN(b)) {
                      alert('Enter all fields correctly');
                      return 0;
                    }
                    var res = (a / b);
                    for (var i = 3; i <= b; i++) {
                      if ((a % i == 0) & (b % i == 0)) {
                        var pix = ((a / i) + ':' + (b / i));
                        break;
                      } else pix = '';
                    }
                    if (pix == '') pix1 = '';
                    else pix1 = '(' + pix + ')';
                    if ((a % b) == 0) {
                      return res + ':1';
                    } else {
                      return res.toFixed(2) + ':1 ' + pix1;
                    }
                  }
                </script><a id="colorThiefLogo"></a>
              </div>
            </div>
          </div>
          <div class="menu-wrapper col-lg-9 col-md-9 col-sm-12 col-xs-12">
            <div class="row">
              <style>
                .RadMenu_ModuleToolbarSkin .bottomArrowDisabled,
                .RadMenu_ModuleToolbarSkin .leftArrowDisabled,
                .RadMenu_ModuleToolbarSkin .rightArrowDisabled,
                .RadMenu_ModuleToolbarSkin .separator .text,
                .RadMenu_ModuleToolbarSkin .topArrowDisabled,
                .displayNone,
                div.RadMenu_UserMenuSkin li>div {
                  display: none;
                }

                html .m-pre-load .slide {
                  opacity: 0;
                  visibility: hidden;
                }

                .RadMenu_UserMenuSkin .slide a {
                  white-space: nowrap;
                }
              </style>
              <script type="text/javascript">
                var mainMenu;

                function showMenuItems(item) {
                  item.Open();
                }

                function hideMenuItems(item) {
                  item.Close();
                }

                function StoreMenuClientObject(sender) {
                  try {
                    mainMenu = sender;
                    mainMenu.AllItems.forEach(showMenuItems);
                    mainMenu.AllItems.forEach(hideMenuItems);
                  } catch (error) {
                    console.log(error);
                  }
                }

                function removePreLoad(sender) {
                  if (document.getElementById(sender.id).classList.value.indexOf('m-pre-load') !== -1) {
                    document.getElementById(sender.id).classList.remove('m-pre-load');
                  }
                }
              </script>
              <div id="ctl00_testMenu_radMenu" class="radmenu RadMenu_UserMenuSkin m-pre-load" onmouseover="removePreLoad(this);" dir="ltr" style="height: 100%; width: 100%;"><!-- 4.4.5 -->
                <script type="text/javascript"
                  src="/WebResource.axd?d=-G_5HoHsVw34N5wdhzWT4pG18u3kas_pDGEf1p5Va1c_gP-dQyWwA3BPGVL3oQvgTAO3JpjbJkZs_E2yTtG056ohm9EmVMM7nld7eFIYq3t_BCHo8O6LP8J9YHtW2yYMj63V6WT9XgthidrEplJQXAndlchNyEjNwBB7y_XkVphI70QC0&amp;t=637671778504840953">
                </script><span id="ctl00_testMenu_radMenuStyleSheetHolder" style="display:none;"></span>
                <ul class="horizontal rootGroup">
                  <li class="item first" style="z-index: 0;"><a href="#" id="ctl00_testMenu_radMenu_m0" class="link "><span class="text expandTop">About</span></a>
                    <div class="slide" style="z-index: 10; display: none; overflow: hidden; top: 43px; left: 0px;">
                      <ul class="vertical group level1" style="z-index: 10; display: block; width: 300px; top: 0px;">
                        <li class="item first"><a href="/Founders/?mitem=13699" id="ctl00_testMenu_radMenu_m0_m0" class="link " style="width: 284px;"><span class="text">Our Founders</span></a></li>
                        <li class="item last"><a href="/Mission-Statement/?mitem=13696" id="ctl00_testMenu_radMenu_m0_m1" class="link " style="width: 284px;"><span class="text">Mission Statement</span></a></li>
                      </ul>
                    </div>
                  </li>
                  <li class="item" style="z-index: 0;"><a href="#" id="ctl00_testMenu_radMenu_m1" class="link "><span class="text expandTop">Opportunity</span></a>
                    <div class="slide" style="z-index: 13; display: none; overflow: hidden; top: 43px; left: 0px;">
                      <ul class="vertical group level1" style="z-index: 13; display: block; width: 300px; top: 0px;">
                        <li class="item first"><a href="/From-the-CEO/?mitem=28376" id="ctl00_testMenu_radMenu_m1_m0" class="link " style="width: 284px;"><span class="text">From the CEO</span></a></li>
                        <li class="item"><a href="/Open-an-Account/?mitem=1429" id="ctl00_testMenu_radMenu_m1_m1" class="link " style="width: 284px;"><span class="text">Compare Plans</span></a></li>
                        <li class="item last"><a href="/Compensation-Plan/?mitem=4876" id="ctl00_testMenu_radMenu_m1_m2" class="link " style="width: 284px;"><span class="text">Compensation Plan</span></a></li>
                      </ul>
                    </div>
                  </li>
                  <li class="item"><a href="/Contact-Us/?mitem=19822" id="ctl00_testMenu_radMenu_m2" class="link "><span class="text">Contact</span></a></li>
                  <li class="item"><a href="https://my.novatechfx.io" id="ctl00_testMenu_radMenu_m3" class="link "><span class="text">MT5</span></a></li>
                  <li class="item last"><a href="/enroll/?mitem=29505" id="ctl00_testMenu_radMenu_m4" class="link "><span class="text">GET STARTED</span></a></li>
                </ul><input type="hidden" id="ctl00_testMenu_radMenu_Hidden" name="ctl00$testMenu$radMenu">
                <script type="text/javascript">
                  window["ctl00_testMenu_radMenu"] = RadMenu.Create("ctl00_testMenu_radMenu");
                  window["ctl00_testMenu_radMenu"].Initialize({
                    "EnableScreenBoundaryDetection": false,
                    "Skin": "UserMenuSkin",
                    "CausesValidation": false,
                    "Enabled": true,
                    "OnClientItemClicking": "radBasedPersonalMenuItemClick",
                    "OnClientLoad": "StoreMenuClientObject"
                  }, {
                    "ctl00_testMenu_radMenu_m0": {
                      "Attributes": {
                        "itemType": "13692$#%0$#%False$#%False$#%True$#%"
                      },
                      "Value": "i13692",
                      "NavigateAfterClick": false
                    },
                    "ctl00_testMenu_radMenu_m0_m0": {
                      "Attributes": {
                        "itemType": "13699$#%4$#%False$#%False$#%True$#%/Founders/?mitem=13699"
                      },
                      "Value": "i13699"
                    },
                    "ctl00_testMenu_radMenu_m0_m1": {
                      "Attributes": {
                        "itemType": "13696$#%4$#%False$#%False$#%True$#%/Mission-Statement/?mitem=13696"
                      },
                      "Value": "i13696"
                    },
                    "ctl00_testMenu_radMenu_m1": {
                      "Attributes": {
                        "itemType": "1428$#%0$#%False$#%False$#%True$#%"
                      },
                      "Value": "i1428",
                      "NavigateAfterClick": false
                    },
                    "ctl00_testMenu_radMenu_m1_m0": {
                      "Attributes": {
                        "itemType": "28376$#%4$#%False$#%False$#%True$#%/From-the-CEO/?mitem=28376"
                      },
                      "Value": "i28376"
                    },
                    "ctl00_testMenu_radMenu_m1_m1": {
                      "Attributes": {
                        "itemType": "1429$#%4$#%False$#%False$#%True$#%/Open-an-Account/?mitem=1429"
                      },
                      "Value": "i1429"
                    },
                    "ctl00_testMenu_radMenu_m1_m2": {
                      "Attributes": {
                        "itemType": "4876$#%4$#%False$#%False$#%True$#%/Compensation-Plan/?mitem=4876"
                      },
                      "Value": "i4876"
                    },
                    "ctl00_testMenu_radMenu_m2": {
                      "Attributes": {
                        "itemType": "19822$#%4$#%False$#%False$#%True$#%/Contact-Us/?mitem=19822"
                      },
                      "Value": "i19822"
                    },
                    "ctl00_testMenu_radMenu_m3": {
                      "Attributes": {
                        "itemType": "29479$#%2$#%False$#%False$#%True$#%https://my.novatechfx.io"
                      },
                      "Value": "i29479"
                    },
                    "ctl00_testMenu_radMenu_m4": {
                      "Attributes": {
                        "itemType": "29505$#%4$#%False$#%False$#%True$#%/enroll/?mitem=29505"
                      },
                      "Value": "i29505"
                    }
                  });
                </script>
              </div>
            </div>
          </div>
        </div>
        <div class="row">
          <div class="more-information-wrapper col-lg-12 col-md-12 col-sm-12 col-xs-12">
            <div class="row">
              <div class="mobile-menu-wrapper full-width">
                <div class="col-lg-12 col-md-12 col-sm-10 col-xs-9"><a href="/"><img class="img-responsive" src="/NOVATECHLTD/CompanyLogo/b7b0fd53-93dc-428c-8aaa-185520b9656827-03-2020T20-52-47-66-cropped.png"></a></div>
                <div class="mobile-mm col-lg-12 col-md-12 col-sm-2 col-xs-2"><a class="menuBtn fa fa-bars align-center default"><span>Menu</span></a><a class="menuBtn fal fa-bars align-center toggled" style="display:none"><span>Close</span></a></div>
                <div class="col-lg-12 col-md-12 col-sm-2 col-xs-2" style="display: none"><a class="fa fa-user" id="alternate-login" onclick="logOff();"><span>Account</span></a>
                  <script>
                    var loginButton;
                    if (typeof(document.getElementsByClassName) != 'undefined') {
                      loginButton = document.getElementsByClassName('loginButtonMiddle')[0];
                    } else {
                      loginButton = document.querySelectorAll('.loginButtonMiddle')[0];
                    }
                    if (loginButton.getAttribute('id').indexOf('btnLogout') > -1) {
                      //document.getElementById('alternate-login').innerHTML = "LOG OUT";
                      //document.getElementById('alternate-login').removeAttribute('href');
                      //document.getElementById('alternate-login').setAttribute('onclick','logOff()');
                    }

                    function logOff() {
                      loginButton.click();
                      if (loginButton.getAttribute('id').indexOf('btnLogout') > -1) {
                        jQuery('body').removeAttr('class');
                      }
                    }
                  </script>
                </div>
                <div id="mobile-shop-category" class="col-lg-12 col-md-12 col-sm-2 col-xs-3" style="display: none"><a class="fa fa-arrow-down shop-category-mobile" onclick="changeIcon(this);"></a></div>
                <div class="col-lg-12 col-md-12 col-sm-4 col-xs-4 align-center" style="display: none">
                  <a class="cart-link" href="/Cart/"><div class="mini-cart fa fa-shopping-basket" title="Items on Cart"><div class="cart-icon"><strong>0</strong></div></div><span>Bag</span></a></div>
              </div>
              <div class="more-info" style="display:none;"><a href="/Contact/">
                                        Request More Information
                                        <span><i class="fa fa-angle-right"></i></span></a></div>
            </div>
            <div class="row show-on-mobile">
              <div id="admin-menu" class="col-sm-6 col-xs-6" style="display: none"><a class="fa fa-arrow-down shop-category-mobile" onclick="changeIconNew(this);"><span>Admin Menu</span></a>
                <div class="new-mobile-shop-category"></div>
              </div>
              <div id="distributor-menu" class="col-sm-6 col-xs-6" style="display: none"><a class="fa fa-arrow-down shop-category-mobile" onclick="changeIconNew(this);"><span>Menu</span></a>
                <div class="new-mobile-shop-category"></div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div id="backoffice-wrapper">
      <div class="left-navbar" style="display: block;">
        <div class="full-width" id="navigation-toggler"><a onclick="toggleLeftMenu();" class="new-icon"><i class="fas fa-bars"></i></a></div>
        <div class="admin-menu" id="new-admin-toolbar">
          <style>
            /*New Left Bar Style*/
            #design-panel-wrapper .dp {
              left: unset !important;
              right: 10px;
              position: fixed;
              top: 25% !important;
            }

            html form#aspnetForm>#container-wrapper>#header-wrapper {
              float: none;
            }

            [data-menu-orientation="left-vertical"] .icon-menu-wrapper [id$="divEditSettings"],
            [data-menu-orientation="horizontal"] #navigation-toggler {
              display: none !important;
            }

            [data-menu-orientation="left-vertical"] .left-navbar .rootGroup .slide span,
            [data-menu-orientation="left-vertical"] .left-navbar .rootGroup li a span .icon-text {
              /*font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif !important;*/
              font-size: 12px !important;
            }

            [data-menu-orientation="left-vertical"] .left-navbar {
              display: none;
              padding-bottom: 20px;
            }

            [data-menu-orientation="left-vertical"] .left-navbar .menu-maximize .menu-controls {
              display: none !important;
            }

            [data-menu-orientation="left-vertical"].expand-left-menu .left-navbar .rootGroup>li>a.expandable:after {
              color: rgb(17, 136, 193);
            }

            [data-menu-orientation="horizontal"].logged-in .left-navbar {
              width: 100%;
            }

            [data-menu-orientation].logged-in .left-navbar {
              display: block;
            }

            [data-menu-orientation].logged-in .left-navbar:before,
            [data-menu-orientation].logged-in .left-navbar:after {
              content: "";
              display: table;
            }

            [data-menu-orientation].logged-in .left-navbar:after {
              clear: both;
            }

            [id$="divMyCustomMenuToolbar"] .slide>.group:before,
            .slide>.group:after {
              content: "";
              display: table;
            }

            [id$="divMyCustomMenuToolbar"] .slide>.group:after {
              clear: both;
            }

            [data-menu-orientation="left-vertical"].minimize-left-menu [id$="divMyCustomMenuToolbar"] .slide,
            [data-menu-orientation="left-vertical"].minimize-left-menu [id$="divMyCustomMenuToolbar"] .slide>.group {
              height: auto !important;
              top: 0 !important;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup li:not(:hover)>a[data-collapsed="true"] {
              background-color: transparent !important;
              color: #888 !important;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup li:not(:hover)>a>span,
            [id$="divMyCustomMenuToolbar"] .rootGroup li:not(:hover)>a [class*="fa-"],
            [id$="divMyCustomMenuToolbar"] .rootGroup li:not(:hover)>a[data-collapsed="true"]:after {
              color: #888 !important;
            }

            [data-menu-orientation="left-vertical"] [id$="divMyCustomMenuToolbar"] .rootGroup li:not(:hover)>a [class*="fa-"],
            [data-menu-orientation="left-vertical"] [id$="divMyCustomMenuToolbar"] .rootGroup li:not(:hover)>a[data-collapsed="true"]:after,
            [data-menu-orientation="left-vertical"] [id$="divMyCustomMenuToolbar"] .rootGroup li:not(:hover)>a>span {
              color: #fff !important;
            }

            html [data-menu-orientation="left-vertical"].minimize-left-menu .rootGroup a.expandable {
              /*background-color: transparent !important;*/
            }

            #header-wrapper:after,
            #header-wrapper:before {
              content: "";
              display: table;
            }

            #header-wrapper:after,
            form#aspnetForm:after {
              clear: both;
            }

            [data-menu-orientation="left-vertical"] #backoffice-wrapper {
              display: -webkit-box;
              display: -ms-flexbox;
              display: flex;
              position: relative;
            }

            [id*="new-admin-toolbar"] {
              width: 100%;
            }

            [data-menu-orientation="left-vertical"].logged-in .left-navbar+.container {
              max-width: unset;
              float: left;
              /*margin-left: 35px;*/
              -webkit-transition: all 1s ease-in-out;
              -o-transition: all 1s ease-in-out;
              transition: all 1s ease-in-out;
              background-color: #fff;
            }

            [data-menu-orientation="left-vertical"] .left-navbar {
              background-color: #293141;
            }

            #navigation-toggler>a {
              display: inline-block;
              width: 30px;
              height: 30px;
              text-align: center;
              line-height: 30px;
              color: #fff;
              background-color: #999;
              border-radius: 3px;
              margin-top: 10px;
              margin-left: 2px;
              margin-bottom: 10px;
              margin-right: 2px;
              -webkit-transition: all 1s ease-in-out;
              -o-transition: all 1s ease-in-out;
              transition: all 1s ease-in-out;
              cursor: pointer;
            }

            [data-menu-orientation="left-vertical"] .left-navbar .rootGroup li a,
            [data-menu-orientation="left-vertical"] .left-navbar .rootGroup li a span .icon-text,
            [data-menu-orientation="left-vertical"] .left-navbar [class*="fa-"] {
              font-size: 12px !important;
              font-weight: normal;
            }

            [data-menu-orientation="left-vertical"] .left-navbar [id$="divMyCustomMenuToolbar"] .rootGroup>li>a {
              height: auto !important;
              padding: 5px;
              max-width: 35px;
              box-sizing: border-box;
              -webkit-transition: max-width 1s ease-in-out;
              -o-transition: max-width 1s ease-in-out;
              transition: max-width 1s ease-in-out;
            }

            [data-menu-orientation="left-vertical"] .left-navbar #newAdminToolbar>div>div>ul>li {
              width: 100% !important;
            }

            [data-menu-orientation="left-vertical"].minimize-left-menu .left-navbar+.container {
              width: calc(100% - 35px);
            }

            [data-menu-orientation="left-vertical"] .left-navbar+.container>.row {
              max-width: 100%;
              transition: max-width 500ms ease-in-out;
            }

            [data-menu-orientation="left-vertical"].minimize-left-menu #main-content,
            [data-menu-orientation="left-vertical"].minimize-left-menu .left-navbar+.container>.row {
              max-width: 100%;
            }

            [data-menu-orientation="left-vertical"] .left-navbar+.container>div {
              margin-left: 0;
              margin-right: 0;
            }

            [data-menu-orientation="left-vertical"] .left-navbar {
              float: left;
              width: 35px;
              -webkit-transition: width 1s ease-in-out;
              -o-transition: width 1s ease-in-out;
              transition: width 1s ease-in-out;
            }

            #navigation-toggler>a>i {
              padding: 0 4px;
            }

            #navigation-toggler {
              display: none;
            }

            [data-menu-orientation="left-vertical"] #navigation-toggler {
              display: block;
            }

            .minimize-left-menu .left-navbar [id$="divMyCustomMenuToolbar"] .rootGroup li>.slide,
            [data-menu-orientation="left-vertical"] .left-navbar .new-admin-toolbar-option,
            [data-menu-orientation="left-vertical"] .left-navbar .icon-menu-wrapper .menu-title {
              display: none !important;
            }

            .minimize-left-menu .left-navbar [id$="divMyCustomMenuToolbar"] .rootGroup li:hover>.slide {
              display: block !important;
            }

            .minimize-left-menu .left-navbar [id$="divMyCustomMenuToolbar"] .rootGroup li:hover>.slide,
            .minimize-left-menu .left-navbar [id$="divMyCustomMenuToolbar"] .rootGroup li:hover>.slide>ul {
              overflow: visible !important;
            }

            [data-menu-orientation="left-vertical"] .left-navbar [class*="fa-"]+.icon-text {
              position: absolute;
            }

            [data-menu-orientation="left-vertical"] .left-navbar .icon-text {
              transform: scale(0);
              -webkit-transition: transform 500ms 500ms ease-in-out;
              -o-transition: transform 500ms 500ms ease-in-out;
              transition: transform 500ms 500ms ease-in-out;
              transition-delay: 100ms;
            }

            [data-menu-orientation="left-vertical"] .left-navbar .RadPanelbar_PanelSkin .rootGroup:after {
              content: "";
              display: table;
              clear: both;
            }

            [data-menu-orientation="left-vertical"] .left-navbar .menu-maximize [id$="divMyCustomMenuToolbar"],
            [data-menu-orientation="left-vertical"] .left-navbar .menu-maximize [id$="divMyCustomMenuToolbar"] .rootGroup>li>a {
              height: auto !important;
            }

            [data-menu-orientation="left-vertical"] .left-navbar .menu-maximize [id$="divMyCustomMenuToolbar"] .rootGroup>li>a [class*="fa-"] {
              width: auto;
              display: inline-block;
              color: #888 !important;
              padding: 0;
            }

            [data-menu-orientation="left-vertical"] #newAdminToolbar [id$=divMyCustomMenuToolbar] .rootGroup>li>a [class*="fa-"] {
              color: #fff !important;
            }

            [data-menu-orientation="left-vertical"] .left-navbar [id$="divMyCustomMenuToolbar"] .rootGroup li .slide {
              right: -400px !important;
              top: 0;
              left: unset !important;
            }

            [data-menu-orientation="left-vertical"] .left-navbar [id$="divMyCustomMenuToolbar"] .rootGroup li {
              background-color: #293141;
              border-bottom: 0;
            }

            [data-menu-orientation="left-vertical"] .left-navbar [id$="divMyCustomMenuToolbar"] .rootGroup .slide>ul>li>a {
              height: auto !important;
              float: left;
            }

            [data-menu-orientation="left-vertical"] .left-navbar .new-admin-toolbar-option {
              color: #fff !important;
            }

            left-navbar .new-admin-toolbar-option a {
              color: #888 !important;
            }

            [data-menu-orientation="left-vertical"] .left-navbar [id$="divMyCustomMenuToolbar"] {
              border-bottom: 0;
            }

            html [data-menu-orientation="left-vertical"] [id$="divMyCustomMenuToolbar"] .rootGroup>li>a {
              border-right: 0 !important;
            }

            [data-menu-orientation="left-vertical"] .left-navbar .rootGroup>li>a>span {
              -webkit-transition: text-align 1s ease-in-out;
              -o-transition: text-align 1s ease-in-out;
              transition: text-align 1s ease-in-out;
              text-align: center;
            }

            @media screen and (min-width: 992px) {
              [data-menu-orientation="left-vertical"].logged-in .left-navbar+.container {
                position: relative;
                left: 0;
              }

              [data-menu-orientation="left-vertical"].logged-in.minimize-left-menu.icon-menu-shown .left-navbar+.container {
                left: -17.5px;
              }

              [data-menu-orientation="left-vertical"].logged-in .left-navbar+.container {
                width: calc(100% - 225px);
              }

              [data-menu-orientation="left-vertical"].expand-left-menu [id$="divMyCustomMenuToolbar"] .slide>ul {
                overflow: hidden;
              }

              [data-menu-orientation="left-vertical"].expand-left-menu [id$="divMyCustomMenuToolbar"] .slide {
                display: block !important;
                height: auto !important;
              }

              [data-menu-orientation="left-vertical"].expand-left-menu #volume-per-personal-sponsored-leg-wrapper [id$="RadHtmlChart1"],
              [data-menu-orientation="left-vertical"].expand-left-menu #BodyVolumePerPersonalSponsoredLeg>div:first-child .span-4-5 {
                width: 100%;
              }

              [data-menu-orientation="left-vertical"].expand-left-menu #volume-per-personal-sponsored-leg-wrapper [id$="RadHtmlChart1"]>svg {
                margin: 0 auto;
              }

              [data-menu-orientation="left-vertical"].expand-left-menu .left-navbar li>a.expandable:after {
                position: static;
                opacity: 1;
                transform: scale(1);
              }

              [data-menu-orientation="left-vertical"].expand-left-menu .left-navbar li>a[data-collapsed="false"]:after {
                content: "\f078";
              }

              [data-menu-orientation="left-vertical"].expand-left-menu .left-navbar li>a>span {
                max-width: 90%;
              }

              [data-menu-orientation="left-vertical"].expand-left-menu .left-navbar .slide li>a.expandable:after {
                float: right;
              }

              [data-menu-orientation="left-vertical"].expand-left-menu .left-navbar li>a.expandable.selected:after,
              [data-menu-orientation="left-vertical"].expand-left-menu .left-navbar li>a.expandable.expanded:after {
                color: #fff;
              }

              [data-menu-orientation="left-vertical"].expand-left-menu .left-navbar {
                width: 225px;
              }

              /*[data-menu-orientation="left-vertical"].expand-left-menu.logged-in #main-content > .left-navbar + .container,
		[data-menu-orientation="left-vertical"].expand-left-menu.logged-in #backoffice-wrapper > .left-navbar + .container,
		[data-menu-orientation="left-vertical"].expand-left-menu.logged-in #backoffice-wrapper > .left-navbar + .container {
			margin-left: 225px;
		}*/
              [data-menu-orientation="left-vertical"].expand-left-menu #navigation-toggler>a {
                margin-left: 175px;
              }

              [data-menu-orientation="left-vertical"].expand-left-menu .left-navbar .new-admin-toolbar-option {
                display: block !important;
              }

              [data-menu-orientation="left-vertical"].expand-left-menu .icon-text {
                opacity: 1;
                transform: scale(1);
              }

              [data-menu-orientation="left-vertical"].expand-left-menu .left-navbar .menu-maximize [id$="divMyCustomMenuToolbar"] .rootGroup>li>a {
                padding: 6px 15px;
                max-width: 100%;
                line-height: 2;
              }

              [data-menu-orientation="left-vertical"].expand-left-menu .left-navbar [id$="divMyCustomMenuToolbar"] .rootGroup>li>a>span {
                text-align: left;
              }

              [data-menu-orientation="left-vertical"].expand-left-menu .left-navbar [id$="divMyCustomMenuToolbar"] .rootGroup li .slide {
                position: static;
                min-width: unset !important;
              }

              [data-menu-orientation="left-vertical"].expand-left-menu [id$="divMyCustomMenuToolbar"] .rootGroup li a span {
                white-space: normal;
              }

              [data-menu-orientation="left-vertical"].expand-left-menu .left-navbar [id$="divMyCustomMenuToolbar"] .rootGroup li a span .icon-text {
                width: auto;
                float: none;
                padding-left: 10px;
                text-transform: none;
              }
            }

            @media screen and (min-width: 1400px) {
              [data-menu-orientation="left-vertical"].logged-in .left-navbar+.container {
                width: 1170px;
              }
            }

            @media screen and (min-width: 1650px) {
              [data-menu-orientation="left-vertical"].logged-in.icon-menu-shown .left-navbar+.container {
                left: -112.5px;
              }

              /*[data-menu-orientation="left-vertical"] .left-navbar {
			position: absolute;
			height: 100%;
			top: 0;
			left: 0;
		}
		[data-menu-orientation="left-vertical"].expand-left-menu #navigation-toggler > a {
			margin-left: 190px;
		}
		[data-menu-orientation="left-vertical"].expand-left-menu .left-navbar {
			padding-top: inherit;
		}
		[data-menu-orientation="left-vertical"].expand-left-menu .left-navbar > div {
			overflow-y: auto;
			overflow-x: hidden;
			width: 235px;
		}
		[data-menu-orientation="left-vertical"].minimize-left-menu .left-navbar {
			position: static;
			height: auto;
		}
		[data-menu-orientation="left-vertical"].logged-in.expand-left-menu .left-navbar {
			background-color: transparent;
			overflow: hidden;
			padding-bottom: 0;
		}
		[data-menu-orientation="left-vertical"].logged-in.expand-left-menu .left-navbar > div {
			background-color: #293141;
			position: static;
			height: 100%;
		}*/
            }

            /*End for Left Bar Style*/
            [id$="divMyCustomMenuToolbar"]:not([id$=divMyCustomMenuToolbar]) {
              display: none;
            }

            /*For Menu Toggle*/
            #new-admin-toolbar-wrapper {
              position: relative;
              float: left;
              width: 100%;
              /*height: 28px;*/
            }

            .menu-controls {
              position: absolute;
              left: 10px;
              line-height: 28px;
            }

            .menu-controls .menu-title span,
            .menu-controls [class*="fa-"] {
              color: #fff;
              font-size: 14px;
              padding: 0 5px;
            }

            .icon-menu-wrapper {
              cursor: pointer;
            }

            .icon-menu-wrapper .menu-title {
              display: inline-block;
            }

            #new-admin-toolbar-wrapper,
            [id$="divMyCustomMenuToolbar"],
            [id$="divMyCustomMenuToolbar"] .rootGroup>li>a {
              -o-transition: height 200ms ease-in-out, padding 200ms ease-in-out;
              -moz-transition: height 200ms ease-in-out, padding 200ms ease-in-out;
              -webkit-transition: height 200ms ease-in-out, padding 200ms ease-in-out;
              transition: height 200ms ease-in-out, padding 200ms ease-in-out;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup>li>a {
              transition-delay: 300ms;
            }

            .menu-controls {
              -o-transition: line-height 200ms ease-in-out;
              -moz-transition: line-height 200ms ease-in-out;
              -webkit-transition: line-height 200ms ease-in-out;
              transition: line-height 200ms ease-in-out;
            }

            .menu-controls [class*="fa-"]:before {
              -o-transition: line-height 200ms ease-in-out;
              -moz-transition: line-height 200ms ease-in-out;
              -webkit-transition: line-height 200ms ease-in-out;
              transition: line-height 200ms ease-in-out;
            }

            .menu-controls [class*="fa-"]:before {
              content: "\f2d0";
            }

            .menu-maximize [id$="divMyCustomMenuToolbar"] .rootGroup>li>a {
              height: 80px !important;
              padding: 20px 0 0;
            }

            .menu-maximize [id$="divMyCustomMenuToolbar"] {
              height: 80px;
              overflow: visible;
            }

            .menu-maximize .menu-controls {
              line-height: 76px;
            }

            .menu-maximize .menu-controls [class*="fa-"]:before {
              content: "\f2d1";
            }

            /*End for menu toggle*/
            [id$="divMyCustomMenuToolbar"] {
              padding: 0px;
              margin: 0px;
              height: 28px;
              background: #373737;
              border-bottom: solid 3px #02A0D5;
              float: left;
              width: 100%;
              overflow: hidden;
            }

            [id$="divMyCustomMenuToolbar"]>ul {
              padding: 0px;
              margin: 0px;
              max-width: 1150px;
              height: 80px;
              margin: 0 auto;
              margin-top: -4px;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup {
              margin-top: 0 !important;
              padding: 0 !important;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup li {
              float: left;
              list-style: none;
              background: #373737;
              position: relative;
              width: 100%;
              border-bottom: 0;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup>li>a {
              color: #999999;
              text-decoration: none;
              padding: 20px 0 0;
              display: block;
              height: 77px !Important;
              line-height: 30px;
              font-weight: bold;
              text-transform: uppercase;
              font-size: 9px;
              border-right: solid 1px #2c2c2c !important;
              border-left: solid 1px #474747 !important;
              text-align: center;
              margin-top: 0 !important;
              box-sizing: border-box;
              position: relative;
              width: 100%;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup .slide>ul>li>a {
              margin: 0;
              text-decoration: none;
              color: #888;
              padding: 0px;
              display: block;
              width: 100%;
              /* background: #373737; */
              text-align: left;
              /* border-bottom: solid 1px #2c2c2c !important; */
              /* border-top: solid 1px #474747 !important; */
              /* padding: 0 25px; */
              font-weight: normal;
              line-height: 36px;
              height: 40px !important;
              font-size: 12px;
              text-transform: none;
              padding: 0 20px;
              box-sizing: border-box;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup>li>a {
              /*padding-left:0px;
		padding-right:0px;
		border-left: none;
		height:32px;
		line-height:20px;*/
              min-height: auto;
              overflow: hidden;
              height: 0 !important;
              padding: 0;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup>li>a [class*="fa-"] {
              font-size: 36px;
              color: #999999;
              display: block;
              margin: 0 auto !important;
              /*margin-top: 6px !important;*/
              text-shadow: none;
              position: relative;
              width: 40px;
            }

            .new-admin-toolbar-option {
              padding-top: 0.5rem;
              padding-bottom: 0.5rem;
            }

            [data-menu-orientation="left-vertical"].minimize-left-menu [id$="divMyCustomMenuToolbar"] .slide>ul {
              height: auto !important;
            }

            .menu-controls:hover [class*="fa-"],
            .menu-controls:hover .menu-title span,
            html [data-menu-orientation="left-vertical"].minimize-left-menu .rootGroup li:hover>a.expandable span,
            [id$="divMyCustomMenuToolbar"] .rootGroup li.active>a:after,
            [id$="divMyCustomMenuToolbar"] .rootGroup li>a.selected:after,
            [id$="divMyCustomMenuToolbar"] .rootGroup li>a.expanded:after,
            [id$="divMyCustomMenuToolbar"] .rootGroup li:hover>a:after,
            .icon-menu-wrapper .minimize-maximize-button:hover+.menu-title span,
            [id$="divMyCustomMenuToolbar"] .rootGroup li ul li a:hover i,
            [data-menu-orientation="left-vertical"] .left-navbar .menu-maximize [id$="divMyCustomMenuToolbar"] .rootGroup>li>a[data-collapsed="false"] [class*="fa-"],
            [data-menu-orientation="left-vertical"] #new-admin-toolbar-option a,
            [data-menu-orientation="left-vertical"] .left-navbar .menu-maximize [id$="divMyCustomMenuToolbar"] .rootGroup>li:hover>a [class*="fa-"],
            #html5 [id$="divMyCustomMenuToolbar"] .rootGroup li.active>a,
            #html5 [id$="divMyCustomMenuToolbar"] .rootGroup li>a.selected,
            #html5 [id$="divMyCustomMenuToolbar"] .rootGroup li>a.expanded,
            #html5 [id$="divMyCustomMenuToolbar"] .rootGroup li.active>a [class*="fa-"],
            #html5 [id$="divMyCustomMenuToolbar"] .rootGroup li:hover>a [class*="fa-"],
            #html5 [id$="divMyCustomMenuToolbar"] .rootGroup li a:hover,
            #html5 [id$="divMyCustomMenuToolbar"] .rootGroup li a:hover i,
            #html5 [id$="divMyCustomMenuToolbar"] .rootGroup li:hover>a,
            #html5 [id$="divMyCustomMenuToolbar"] .rootGroup li>a.selected [class*="fa-"],
            #html5 [id$="divMyCustomMenuToolbar"] .rootGroup li>a.expanded [class*="fa-"],
            #html5 [id$="divMyCustomMenuToolbar"] .rootGroup .slide li:hover>a {
              color: #fff !important;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup li.active>a,
            [id$="divMyCustomMenuToolbar"] .rootGroup li>a.selected,
            [id$="divMyCustomMenuToolbar"] .rootGroup li>a.expanded,
            [id$="divMyCustomMenuToolbar"] .rootGroup li:hover>a {
              background: #999 !important;
            }

            [id$="divMyCustomMenuToolbar"]>ul>li:nth-of-type(3)>a>i {
              width: 32px;
            }

            [id$="divMyCustomMenuToolbar"]>ul>li:nth-of-type(8)>a>i {
              width: 48px;
            }

            [id$="divMyCustomMenuToolbar"]>ul>li:nth-of-type(10)>a>i {
              width: 53px;
            }

            [id$="divMyCustomMenuToolbar"]>ul>li:nth-of-type(11)>a>i {
              width: 42px;
            }

            [id$="divMyCustomMenuToolbar"]>ul>li:nth-of-type(12)>a>i {
              width: 18px;
            }

            [id$="divMyCustomMenuToolbar"]>ul>li:nth-of-type(13)>a>i {
              width: 45px;
            }

            .icon-large:before {
              position: absolute;
              left: 0;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup li:hover a .icon-large:before {
              font-size: 51px;
              left: -2px;
              top: -2px;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup li.active a,
            [id$="divMyCustomMenuToolbar"] .rootGroup li.active a i {
              color: #fff;
              line-height: 22px;
              text-shadow: none;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup li.active a {
              line-height: 38px;
            }

            /*Dropdown*/
            [id$="divMyCustomMenuToolbar"] .rootGroup li .slide {
              min-width: 400px;
              position: absolute;
              z-index: 99 !important;
              width: 100%;
              display: none;
            }

            body:not([data-menu-orientation]) [id$="divMyCustomMenuToolbar"] .slide {
              height: auto !important;
              display: none !important;
            }

            body:not([data-menu-orientation]) [id$="divMyCustomMenuToolbar"] .rootGroup li:hover>.slide {
              display: block !important;
              overflow: visible;
            }

            body:not([data-menu-orientation]) [id$="divMyCustomMenuToolbar"] .rootGroup li:hover>.slide>ul {
              top: 0 !important;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup li .slide .slide {
              width: 100%;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup li.last>.slide,
            [id$="divMyCustomMenuToolbar"] .rootGroup li.next-to-last>.slide {
              right: 0;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup li.last li>.slide,
            [id$="divMyCustomMenuToolbar"] .rootGroup li.next-to-last li>.slide {
              left: -100%;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup li .slide li {
              /*border-bottom: solid 1px #2c2c2c !important;
        border-top: solid 1px #474747 !important;*/
              box-sizing: border-box;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup li a:active {
              color: #fff;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup li div ul {
              display: block;
              /*border: solid 1px #2c2c2c;*/
              border-top: none !important;
              overflow: visible;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup li ul li,
            [id$="divMyCustomMenuToolbar"] .rootGroup li ul li:hover {
              border-top: none;
              height: auto;
            }

            [id$="divMyCustomMenuToolbar"] .slide .slide {
              display: none;
              top: 0;
            }

            [id$="divMyCustomMenuToolbar"] li:not(.last) .slide .slide:not(.slide-offbound) {
              left: 100%;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup li ul li a:hover,
            [id$="divMyCustomMenuToolbar"] .rootGroup li ul li:first-child a:hover {
              background-color: #02A0D5;
              color: white !important;
              text-shadow: none;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup li ul li a i {
              margin-right: 6px;
              padding: 4px;
              display: inline-block;
              color: #999999 !important;
              line-height: 32px;
              box-sizing: border-box;
              float: left;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup .slide li a span {
              width: auto;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup li a span {
              font-size: inherit;
              line-height: inherit;
              /*font-family: Arial;*/
              float: left;
              width: 100%;
              position: relative;
            }

            [data-menu-orientation="horizontal"] [id$="divMyCustomMenuToolbar"] .rootGroup>.item:hover>.slide,
            [data-menu-orientation="horizontal"] [id$="divMyCustomMenuToolbar"] .rootGroup>.item:hover>.slide>ul {
              display: block !important;
              overflow: initial !important;
            }

            #menu-button {
              background-color: #373737;
              position: absolute;
              width: 45px;
              height: 45px;
              border-top-right-radius: 5px;
              border-bottom-right-radius: 5px;
              display: block;
              z-index: 10;
              top: 0;
              left: 100%;
              cursor: pointer;
              display: none;
            }

            #menu-button:after,
            #menu-button:before {
              content: '';
              width: 30px;
              display: block;
              position: absolute;
              left: 5px;
              transition: all 1s ease-in-out;
              -webkit-transition: all 1s ease-in-out;
            }

            #menu-button:after {
              border-bottom: 2px solid #fff;
              bottom: 15px;
            }

            #menu-button:before {
              border-top: 2px solid #fff;
              top: 15px;
            }

            .show-menu #menu-button:before {
              transform: rotate(40deg);
              -webkit-transform: rotate(40deg);
              top: 20px;
            }

            .show-menu #menu-button:after {
              transform: rotate(133deg);
              -webkit-transform: rotate(133deg);
              bottom: 23px;
            }

            [id$="divMyCustomMenuToolbar"]::-webkit-scrollbar {
              width: 0.5em;
            }

            [id$="divMyCustomMenuToolbar"]::-webkit-scrollbar-track {
              -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
            }

            [id$="divMyCustomMenuToolbar"]::-webkit-scrollbar-thumb {
              background-color: darkgrey;
              outline: 1px solid slategrey;
            }

            #newAdminToolbar {
              z-index: 20;
            }

            #newAdminToolbar.show-menu {
              left: 0;
            }

            #new-admin-toolbar-option {
              text-align: center;
            }

            #new-admin-toolbar-option>* {
              font-size: 14px;
            }

            #newAdminToolbar .RadPanelbar_PanelSkin {
              float: left;
            }

            #backoffice-wrapper>.left-navbar,
            [id$="divMyCustomMenuToolbar"] .rootGroup>li>a [class*="fa-"][class*="fa-arrow-down"] {
              display: none;
            }

            #newAdminToolbar>div>div>ul>li {
              display: block !important;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup li .slide.slide-offbound {
              right: 0;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup li .slide .slide.slide-offbound {
              left: -100%;
            }

            .icon-menu-wrapper .menu-title {
              display: inline-block;
            }

            .minimize-left-menu [id$="divMyCustomMenuToolbar"] li:hover>.slide {
              display: block !important;
            }

            [data-menu-orientation="left-vertical"] .left-navbar li>a.expandable:after {
              transform: scale(0);
              -webkit-transition: transform 1s 500ms ease-in-out;
              -o-transition: transform 1s 500ms ease-in-out;
              transition: transform 1s 500ms ease-in-out;
              position: absolute;
              content: "\f054";
              font-family: 'Font Awesome 5 Pro';
              font-weight: 300;
              transition-delay: 200ms;
            }

            .new-category-menu-on-page [data-menu-orientation="left-vertical"].logged-in #backoffice-wrapper>.container {
              max-width: 1200px;
            }

            #backoffice-wrapper>.container {
              left: 0;
            }

            [data-menu-orientation="left-vertical"] .icon-menu-wrapper .slide>ul {
              width: 100%;
            }

            #navigation-toggler .new-icon:not(.ds) [class*="fa-"] {
              font-size: 24px !important;
              vertical-align: middle;
            }

            @media (min-width: 992px) {
              html [data-menu-orientation="left-vertical"].expand-left-menu #navigation-toggler>a.new-icon:not(.ds) {
                margin-left: 10px;
              }
            }

            @media screen (min-width: 1800px) {
              .new-category-menu-on-page [data-menu-orientation="left-vertical"].logged-in #backoffice-wrapper>.container {
                max-width: 1300px;
              }
            }

            @media screen (min-width: 1900px) {
              .new-category-menu-on-page [data-menu-orientation="left-vertical"].logged-in #backoffice-wrapper>.container {
                max-width: 1400px;
              }
            }

            @media screen (min-width: 2000px) {
              .new-category-menu-on-page [data-menu-orientation="left-vertical"].logged-in #backoffice-wrapper>.container {
                max-width: 1500px;
              }
            }

            @media screen and (max-width: 1300px) {
              .menu-controls {
                position: static;
                line-height: 25px;
                background: #373737;
                text-align: center;
                border-bottom: solid 3px #02A0D5;
              }

              .menu-maximize .menu-controls {
                line-height: 25px;
              }

              [id$="divMyCustomMenuToolbar"] {
                height: 0;
              }
            }

            @media screen and (max-width: 1200px) {
              #html5 .coach-inner-wrapper {
                width: 100%;
                padding-left: 15px;
                padding-right: 15px;
              }
            }

            @media screen and (max-device-width: 1199px) {
              [id$="divMyCustomMenuToolbar"] .rootGroup>li>a {
                white-space: normal;
                line-height: 20px;
              }

              [id$="divMyCustomMenuToolbar"] .rootGroup>li>a [class*="fa-"] {
                font-size: 20px;
              }

              [id$="divMyCustomMenuToolbar"] .rootGroup li .slide .slide.slide-offbound {
                right: 100%;
              }
            }

            @media screen and (max-device-width: 991px) {
              .left-navbar [id$="divMyCustomMenuToolbar"] li>.slide>ul {
                height: auto !important;
              }

              [id$="divMyCustomMenuToolbar"] .rootGroup>li>a [class*="fa-"] {
                font-size: 18px;
                padding-bottom: 10px;
              }

              [id$="divMyCustomMenuToolbar"] .rootGroup>li>a {
                padding-top: 10px;
                line-height: 15px;
              }
            }

            @media screen and (max-width: 992px) {
              [data-menu-orientation="left-vertical"].logged-in.minimize-left-menu.icon-menu-shown .left-navbar+.container {
                left: 0;
              }

              [data-menu-orientation="left-vertical"] .left-navbar [id$="divMyCustomMenuToolbar"] .rootGroup li .slide {
                right: -300px !important;
              }

              [data-menu-orientation="left-vertical"] [id$="divMyCustomMenuToolbar"] .rootGroup li .slide {
                min-width: 300px;
              }

              [data-menu-orientation="left-vertical"] .left-navbar [id$="divMyCustomMenuToolbar"] .slide {
                display: none !important;
              }

              [data-menu-orientation="left-vertical"] .left-navbar [id$="divMyCustomMenuToolbar"] li:hover>.slide {
                display: block !important;
                height: auto !important;
              }

              [data-menu-orientation="left-vertical"] .left-navbar [id$="divMyCustomMenuToolbar"] li:hover>.slide>ul {
                overflow: visible !important;
                height: auto !important;
              }

              [data-menu-orientation="left-vertical"].expand-left-menu .left-navbar .menu-maximize [id$="divMyCustomMenuToolbar"] .rootGroup>li>a {
                padding: 8px 5px;
                max-width: 100%;
              }

              .left-navbar [id$="divMyCustomMenuToolbar"] li:hover>.slide {
                display: block;
              }

              #navigation-toggler,
              [data-menu-orientation="left-vertical"] .left-navbar li>a.expandable:after,
              [data-menu-orientation="left-vertical"] .left-navbar .icon-text,
              [data-menu-orientation="left-vertical"].expand-left-menu .left-navbar .new-admin-toolbar-option {
                display: none !important;
              }

              [data-menu-orientation="left-vertical"].expand-left-menu .left-navbar {
                width: 35px;
              }

              [data-menu-orientation="left-vertical"].logged-in .left-navbar+.container {
                width: calc(100% - 35px);
              }
            }

            @media screen and (max-width: 768px) {
              html [data-menu-orientation].logged-in .left-navbar {
                display: none !important;
              }

              [data-menu-orientation].logged-in .left-navbar {
                display: none;
              }

              [data-menu-orientation="left-vertical"].logged-in .left-navbar+.container {
                width: 100%;
              }
            }
          </style>
          <div id="new-admin-toolbar-wrapper" style="display: none; z-index: 99;" class="icon-menu-wrapper menu-maximize">
            <div class="menu-controls" style="display: none;">
              <a class="minimize-maximize-button" onclick="toggleMenuSize(this);"><i class="fa fa-window-minimize"></i><div class="menu-title"><span class="admin-menu-label" style="">Admin Menu</span><span class="distrib-menu-label" style="display: none;">Associate Menu</span></div></a>
            </div>
            <div id="ctl00_CustomMenuToolBarModule1_CustomMenuToolBar1_divUnReadMessages" class="divRow" style="padding-bottom:5px;display:none;"><a id="ctl00_CustomMenuToolBarModule1_CustomMenuToolBar1_lblUnReadMessages" class="label"></a></div>
            <div id="ctl00_CustomMenuToolBarModule1_CustomMenuToolBar1_dvCustomMenuToolBarMSG" class="divRow" style="padding-bottom:5px;display:none;"><span id="ctl00_CustomMenuToolBarModule1_CustomMenuToolBar1_lblCustomMenuToolBarAccessMSG"
                class="label"></span></div>
            <div id="newAdminToolbar">
              <div id="ctl00_CustomMenuToolBarModule1_CustomMenuToolBar1_divMyCustomMenuToolbar" class="divPanelBar" style="">
                <div id="ctl00_CustomMenuToolBarModule1_CustomMenuToolBar1_panelbar_ctl00_CustomMenuToolBarModule1_CustomMenuToolBar1_panelbar" class="panelbar RadPanelbar_PanelSkin " style="width:100%;"><!-- 4.3.5 --></div>
              </div><!--<a id="menu-button" onclick="toggleMenu();"></a>-->
            </div>
            <div id="new-admin-toolbar-option" class="full-width new-admin-toolbar-option" style="display: none;"></div>
          </div>
          <script defer="" type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.1/jquery.cookie.min.js" integrity="sha384-tSi+YsgNwyohDGfW/VhY51IK3RKAPYDcj1sNXJ16oRAyDP++K0NCzSCUW78EMFmf" crossorigin="anonymous"></script>
          <script type="text/javascript">
            var menuVar = {},
              toggleLeftMenu = null,
              customMenuSetCookie = null,
              customMenuGetCookie = null;
            customMenuSetCookie = function(name, value, days) {
              var expires = "";
              if (days) {
                var date = new Date();
                date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
                expires = "; expires=" + date.toUTCString();
              }
              document.cookie = name + "=" + (value || "") + expires + "; path=/";
            }
            customMenuGetCookie = function(name) {
              var nameEQ = name + "=";
              var ca = document.cookie.split(';');
              for (var i = 0; i < ca.length; i++) {
                var c = ca[i];
                while (c.charAt(0) == ' ') c = c.substring(1, c.length);
                if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length);
              }
              return null;
            }
            toggleLeftMenu = function() {
              var aspNetForm = jQuery('#aspnetForm');
              jQuery('.left-navbar [id$="divMyCustomMenuToolbar"] .expandable').off();
              if (aspNetForm.attr('class').indexOf('expand-left-menu') == -1) {
                sideMenuInit();
                detectExpandedSlide();
                customMenuSetCookie('leftmenulayout', 'expandleftmenu', 1);
                aspNetForm.addClass('expand-left-menu');
                aspNetForm.removeClass('minimize-left-menu');
              } else {
                jQuery('[id$="divMyCustomMenuToolbar"] .expandable').each(function() {
                  jQuery(this).removeAttr('data-collapsed');
                  jQuery(this).next().children('.group').height('auto');
                });
                customMenuSetCookie('leftmenulayout', 'minimizeleftmenu', 1);
                jQuery('[id$="divMyCustomMenuToolbar"] .expandable').off();
                aspNetForm.removeClass('expand-left-menu');
                aspNetForm.addClass('minimize-left-menu');
              }
            }

            function toggleMenuSize(el) {
              var parentWrapper = jQuery(el).parents('.icon-menu-wrapper');
              var parentId = parentWrapper.attr('id');
              var menuCookieVal;
              parentWrapper.toggleClass('menu-maximize');
              if (parentWrapper.attr('class').indexOf('menu-maximize') == -1) {
                if (jQuery.cookie('menu-controller') != undefined) {
                  menuCookieVal = jQuery.cookie('menu-controller');
                  jQuery.cookie('menu-controller', menuCookieVal + ',' + parentId + '-minimized', {
                    domain: '',
                    path: '/'
                  });
                } else {
                  jQuery.cookie('menu-controller', parentId + '-minimized', {
                    domain: '',
                    path: '/'
                  });
                }
              } else {
                menuCookieVal = jQuery.cookie('menu-controller');
                menuCookieVal = menuCookieVal.replace(parentId + '-minimized', '');
                jQuery.removeCookie('menu-controller', {
                  domain: '',
                  path: '/'
                });
              }
            }

            function checkMinmizedSetting() {
              var menuCookieVal;
              var elementId;
              if (jQuery.cookie('menu-controller') != undefined) {
                menuCookieVal = jQuery.cookie('menu-controller').split(',');
                for (var i = 0; i < menuCookieVal.length; i++) {
                  elementId = menuCookieVal[i].replace('-minimized', '');
                  jQuery('#' + elementId).removeClass('menu-maximize');
                }
              }
            }

            function checkLocalStorage() {
              if (typeof(Storage) === "undefined") {
                jQuery('.menu-controls').hide();
              }
            }

            function calculateIconSize(wrapperWidth) {
              if (wrapperWidth < 40) {
                iconWidth = wrapperWidth * .8;
              }
              return iconWidth;
            }

            function calculateWidth() {
              var zIndex = 99;
              var wrapperWidth = jQuery('.icon-menu-wrapper > div > div[id$=divMyCustomMenuToolbar] .rootGroup').width();
              jQuery('.icon-menu-wrapper > div > div[id$=divMyCustomMenuToolbar]').each(function() {
                var targetElementId = jQuery(this).attr('id');
                var targetElementLength = jQuery('#' + targetElementId + ' .rootGroup > li').length;
                var targetElementWidth = (wrapperWidth / targetElementLength) - (1 / targetElementLength);
                jQuery(this).parents('.icon-menu-wrapper').css('z-index', zIndex);
                jQuery('#' + targetElementId + ' .rootGroup > li').css('width', targetElementWidth + 'px');
                if (targetElementWidth < 40) {
                  var fontSize = calculateIconSize(targetElementWidth);
                  jQuery('.icon-menu-wrapper > div > div[id$=divMyCustomMenuToolbar] .rootGroup li a [class*="fa-"]').css('font-size', fontSize + 'px');
                }
                zIndex--;
              });
              /*var totalItems = jQuery('div#ctl00_CustomMenuToolBarModule1_CustomMenuToolBar1_divMyCustomMenuToolbar[id$ = "divMyCustomMenuToolbar"].rootGroup > li').length;

              var widthPerItem = (wrapperWidth / totalItems) - (1 / totalItems);* /

              //alert(wrapperWidth);
              //alert(totalItems);
              //alert(widthPerItem);
              /*return widthPerItem;*/
            }

            function removeTexts() {
              var itemText, iconHtml, defaultIcon = '<i class="fa fa-list fa-lg fa-menuicon"></i>';
              jQuery('.icon-menu-wrapper > div > div[id$=divMyCustomMenuToolbar] ul.rootGroup > li > a').each(function() {
                itemText = jQuery(this).children('span').text();
                iconHtml = jQuery(this).children('span').html();
                iconHtml = iconHtml.split(itemText.trim().split(' ')[0])[0];
                jQuery(this).attr('title', itemText);
                if (iconHtml == '') {
                  jQuery(this).children('span').html(defaultIcon);
                } else {
                  jQuery(this).children('span').html(iconHtml);
                }
              });
            }

            function addClassToNextToLast() {
              var totalItems = jQuery('.icon-menu-wrapper > div > div[id$=divMyCustomMenuToolbar] .rootGroup > li').length;
              var selectedItem = jQuery('.icon-menu-wrapper > div > div[id$=divMyCustomMenuToolbar] .rootGroup > li')[totalItems - 2];
              if (totalItems > 2) {
                jQuery(selectedItem).addClass('next-to-last');
              }
            }

            function showAdminMenu() {
              var bodyVar = jQuery('#aspnetForm');
              if (bodyVar.attr('class').indexOf('admin-menu-active') == -1) {
                bodyVar.addClass('admin-menu-active');
                var targetElement = jQuery('#new-admin-toolbar-wrapper');
                jQuery('head').append('<style id="show-admin">#new-admin-toolbar-wrapper{ height: calc(100% - ' + Math.abs(targetElement.position().top) + 'px) }</style>');
              } else {
                bodyVar.removeClass('admin-menu-active');
                jQuery('#show-admin').remove();
              }
            }

            function checkSlideLocation() {
              /*Funcion to check the location of the slide*/
              jQuery('.icon-menu-wrapper > div > div[id$=divMyCustomMenuToolbar] .rootGroup li').hover(function() {
                var siteWidth = jQuery('#newAdminToolbar').position().left + jQuery(this).parents('#newAdminToolbar').width();
                if (jQuery(this).children('div').length > 0) {
                  if (jQuery(this).children('div').offset().left + jQuery(this).children('div').width() > siteWidth) {
                    jQuery(this).children('div').addClass('slide-offbound');
                  }
                }
              });
            }

            function resizeIconWidth() {
              jQuery('.icon-menu-wrapper > div > div[id$=divMyCustomMenuToolbar] div ul li a span').removeClass("text");
              jQuery('.icon-menu-wrapper > div > div[id$=divMyCustomMenuToolbar]').show();
              calculateWidth();
              /*var width = calculateWidth();
jQuery('.icon-menu-wrapper > div > div[id$=divMyCustomMenuToolbar] .rootGroup > li').css('width', width + 'px');*/
              //jQuery('div#ctl00_CustomMenuToolBarModule1_CustomMenuToolBar1_divMyCustomMenuToolbar[id$="divMyCustomMenuToolbar"] .rootGroup.rootGroup > li > a').css('width', width + 'px');
              //jQuery('div#ctl00_CustomMenuToolBarModule1_CustomMenuToolBar1_divMyCustomMenuToolbar[id$="divMyCustomMenuToolbar"] .rootGroup.rootGroup > li').css('display', 'table-cell');
            }

            function checkMenuItems() {
              var isAMenuVisible = false;
              jQuery('.icon-menu-wrapper > div > div[id$="divMyCustomMenuToolbar"]').each(function() {
                var targetElementId = jQuery(this).attr('id'),
                  targetElementLength = jQuery('#' + targetElementId + ' .rootGroup > li').length;
                if (targetElementLength != 0) {
                  jQuery(this).show();
                  jQuery(this).parents('.icon-menu-wrapper').show();
                  isAMenuVisible = true;
                }
              });
              if (isAMenuVisible === true && typeof(isHideMenu) != 'undefined' && isHideMenu != true) {
                jQuery('#backoffice-wrapper > .left-navbar').show();
                jQuery('#aspnetForm').addClass('icon-menu-shown');
              } else {
                jQuery('#aspnetForm').addClass('icon-menu-hidden');
              }
            }
            //Commented by Alkesh - 20170411 - use UserIsAdmin global variable
            //jQuery.ajax({
            //    type: 'GET',
            //    contentType: "application/json; charset=utf-8", url: document.location.protocol + "//" + document.location.host + '/api/application/user/GetMyAccess',
            //    data: '{}', success: function (data) {
            //        if (data) {
            //            data.IsAdmin;
            //            data.IsDistributor;
            //            data.IsCustomer;
            //            if (data.IsAdmin == true) {
            //                /*removeTexts();*/
            //                jQuery('#new-admin-toolbar-wrapper').show();
            //                resizeIconWidth();
            //            }
            //        }
            //    }
            //});
            //End Added Alkesh
            function showIconMenuTitle() {
              jQuery('.menu-controls').each(function() {
                var toolbarId = jQuery(this).parent('#new-admin-toolbar-wrapper').find('[id$="divMyCustomMenuToolbar"]').attr('id');
                if (toolbarId.indexOf('CustomMenuToolBarModule1') != -1) {
                  jQuery(this).find('.admin-menu-label').show();
                } else {
                  jQuery(this).find('.distrib-menu-label').show();
                }
              });
            }

            function updateHtmlText() {
              jQuery('[id$="divMyCustomMenuToolbar"] .rootGroup > li > a > span').each(function() {
                var iconText = jQuery(this).text(),
                  iconHtml = jQuery(this).find('[class*="fa-"]').prop('outerHTML'),
                  newIconHtml;
                /*newIconHtml = iconHtml.replace(iconText, '<span class="icon-text">'+iconText+'</span>');*/
                if (iconHtml != undefined) {
                  newIconHtml = iconHtml + '<span class="icon-text">' + iconText + '</span>';
                } else {
                  newIconHtml = '<span class="icon-text">' + iconText + '</span>';
                }
                jQuery(this).html(newIconHtml);
              });
            }

            function sideMenuInit() {
              if (jQuery('#aspnetForm').attr('data-menu-orientation') == 'left-vertical') {
                jQuery('[id$="divMyCustomMenuToolbar"] .expandable:not(.expanded)').each(function() {
                  jQuery(this).attr('data-collapsed', 'true');
                  jQuery(this).next().children('.group').height(0);
                });
                jQuery('.left-navbar [id$="divMyCustomMenuToolbar"] .expandable').on('click', function() {
                  var expandableElem = jQuery(this),
                    calcHeight = expandableElem.next().children('.group').prop('scrollHeight'),
                    elementTop,
                    documentScrollTop;
                  if (expandableElem.attr('data-collapsed') == 'true') {
                    jQuery('[data-collapsed="false"]').attr('data-prev-collapsed', 'true');
                    expandableElem.parents('li').children('[data-collapsed]').attr('data-collapsed', 'false').removeAttr('data-prev-collapsed');
                    expandableElem.attr('data-collapsed', 'false');
                    expandableElem.next().children('.group').animate({
                      height: calcHeight
                    }, 500);
                  } else {
                    expandableElem.attr('data-collapsed', 'true').removeAttr('data-prev-collapsed');
                    expandableElem.next().children('.group').animate({
                      height: 0
                    }, 500);
                    expandableElem.next().find('.group').each(function() {
                      jQuery(this).animate({
                        height: 0
                      }, 250);
                    });
                  }
                  /*jQuery('#aspnetForm').attr('style','overflow:hidden!important');*/
                  jQuery('[data-prev-collapsed="true"]').next().children('.group').animate({
                    height: 0
                  }, {
                    duration: 500
                  }).promise().done(function() {
                    /*elementTop = expandableElem.offset().top - jQuery('#header-wrapper').prop('scrollHeight');
                    documentScrollTop = jQuery(document).scrollTop();
                    if ( documentScrollTop > elementTop ) {
                        jQuery('html, body').animate({
                            scrollTop: elementTop
                        }).promise().done(function(){
                            jQuery('#aspnetForm').removeAttr('style');
                        });
                    } else {
                        jQuery('#aspnetForm').removeAttr('style');
                    }*/
                  });
                  jQuery('[data-prev-collapsed="true"]').each(function() {
                    jQuery(this).removeAttr('data-prev-collapsed').attr('data-collapsed', 'true').removeClass('expanded');
                  });
                });
              }
            }

            function updateDistributorMenuText() {
              if (jQuery('#distributor-menu .shop-category-mobile span').text().toLowerCase() == 'customer menu') {
                jQuery('#distributor-menu .shop-category-mobile span').text('Menu');
              }
            }

            function checkContentWidth() {
              if (jQuery(window).width() == jQuery('#backoffice-wrapper > .container').width()) {
                jQuery('[data-menu-orientation="left-vertical"].logged-in .left-navbar + .container').css('left', 0);
              }
            }

            function customMenuToolBarReady() {
              customMenuToolBarReady.called = true;
              var menuCookie = customMenuGetCookie('leftmenulayout'),
                aspNetForm = jQuery('#aspnetForm');
              if (typeof(UserIsCustomer) != "undefined" && UserIsCustomer == 'True') {
                jQuery('#aspnetForm').addClass('logged-in');
              }
              if (typeof(enableLeftSideMenu)) {
                if (enableLeftSideMenu == true) {
                  if (jQuery('.left-navbar').length > 0) {
                    aspNetForm.attr('data-menu-orientation', 'left-vertical');
                  }
                } else {
                  aspNetForm.attr('data-menu-orientation', 'horizontal');
                }
                if (menuCookie == 'minimizeleftmenu') {
                  aspNetForm.removeClass('expand-left-menu');
                  aspNetForm.addClass('minimize-left-menu');
                } else {
                  aspNetForm.addClass('expand-left-menu');
                  aspNetForm.removeClass('minimize-left-menu');
                }
              }
              sideMenuInit();
              loadColorThief();
              updateHtmlText();
              checkSlideLocation();
              addClassToNextToLast();
              checkMinmizedSetting();
              showIconMenuTitle();
              checkMenuItems();
              resizeIconWidth();
              updateDistributorMenuText();
              checkContentWidth();
            }

            function customMenuToolBarLoad() {
              customMenuToolBarLoad.called = true;
              try {
                var color = sessionStorage.getItem('colorThiefRgb');
                jQuery('head').append(
                  '<style>.menu-controls [class*="fa-"],.menu-title span,html [data-menu-orientation="left-vertical"] .left-navbar .menu-maximize [id$="divMyCustomMenuToolbar"] .rootGroup > li > a [class*="fa-"],[data-menu-orientation="horizontal"] #newAdminToolbar [id$=divMyCustomMenuToolbar] .rootGroup>li:not(:hover)>a:not(.expanded):not(.selected) [class*="fa-"]{color:' +
                  color +
                  '!important;}html [data-menu-orientation="left-vertical"].minimize-left-menu .rootGroup li:hover>a.expandable,html [id$="divMyCustomMenuToolbar"] .rootGroup li.active > a,html [id$="divMyCustomMenuToolbar"] .rootGroup li > a.selected,html [id$="divMyCustomMenuToolbar"] .rootGroup li > a.expanded,html [id$="divMyCustomMenuToolbar"] .rootGroup li:hover > a,#navigation-toggler > a{background-color: ' +
                  color + '!important;}</style>');
              } catch (sessionStorageError) {}
            }

            function checkCategoryMenu() {
              if (jQuery('#new-category-menu').length > 0) {
                jQuery('body').addClass('new-category-menu-on-page');
              }
            }

            function detectExpandedSlide() {
              if (jQuery('#aspnetForm').attr('data-menu-orientation') == 'left-vertical') {
                var lastSlideIndexId, prevSlideHeight = 0;
                jQuery('[id$="divMyCustomMenuToolbar"] .slide').each(function() {
                  if (jQuery(this).outerHeight() > 0) {
                    lastSlideIndexId = jQuery(this).prev().attr('id');
                    jQuery(this).prev().addClass('expanded');
                    jQuery(this).prev().attr('data-collapsed', 'false');
                  }
                });
                jQuery('#' + lastSlideIndexId).parents('.slide').each(function() {
                  var slideElem = jQuery(this),
                    slideLinkTriggerElem = slideElem.prev(),
                    groupElem = slideElem.children('.group'),
                    liGroupElem = groupElem.children('li'),
                    groupHeight = liGroupElem.length * liGroupElem.outerHeight();
                  prevSlideHeight += groupHeight;
                  slideLinkTriggerElem.addClass('expanded').attr('data-collapsed', 'false');
                  console.log(prevSlideHeight, groupHeight);
                  groupElem.height(prevSlideHeight);
                });
              }
            }

            function updateLeftNavbarIcon() {
              var targetElem = jQuery('#navigation-toggler > a'),
                targetClasses = jQuery('#navigation-toggler > a').attr('class');
              if (targetClasses !== undefined) {
                targetClasses = targetClasses.split(' ');
                jQuery.each(targetClasses, function(i, tClass) {
                  if (tClass !== 'new-icon' && tClass !== 'ds') {
                    jQuery('#navigation-toggler > a:not(.new-icon)').html('<i class="fas fa-bars"></i>').addClass('new-icon');
                  }
                })
              } else {
                jQuery('#navigation-toggler > a:not(.new-icon)').html('<i class="fas fa-bars"></i>').addClass('new-icon');
              }
            }
            jQuery(document).ready(function() {
              checkCategoryMenu();
              updateLeftNavbarIcon();
              if (customMenuToolBarReady.called != true) {
                customMenuToolBarReady();
              }
              /*jQuery('[id$="divMyCustomMenuToolbar"] > div > ul > li').click(function(){
			jQuery(this).find('.slide').hide();
		});*/
              //Added By Alkesh - remove call to getmyAccess 
              if (typeof(UserIsAdmin) != 'undefined' && UserIsAdmin == "True") {
                jQuery('.new-admin-toolbar-option,.menu-controls').show();
              }
              //End Added Alkesh
            });
            jQuery(window).resize(function() {
              setTimeout(function() {
                calculateWidth();
                /*var width = calculateWidth();
                jQuery('div#ctl00_CustomMenuToolBarModule1_CustomMenuToolBar1_divMyCustomMenuToolbar[id$ = "divMyCustomMenuToolbar"].rootGroup > li').css('width', width + 'px');*/
              }, 0);
            });
            jQuery(window).on('load', function() {
              if (customMenuToolBarLoad.called != true) {
                customMenuToolBarLoad();
                detectExpandedSlide();
              }
            });
          </script>
        </div>
        <div class="distributor-menu" id="new-admin-toolbar-1">
          <style>
            /*New Left Bar Style*/
            #design-panel-wrapper .dp {
              left: unset !important;
              right: 10px;
              position: fixed;
              top: 25% !important;
            }

            html form#aspnetForm>#container-wrapper>#header-wrapper {
              float: none;
            }

            [data-menu-orientation="left-vertical"] .icon-menu-wrapper [id$="divEditSettings"],
            [data-menu-orientation="horizontal"] #navigation-toggler {
              display: none !important;
            }

            [data-menu-orientation="left-vertical"] .left-navbar .rootGroup .slide span,
            [data-menu-orientation="left-vertical"] .left-navbar .rootGroup li a span .icon-text {
              /*font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif !important;*/
              font-size: 12px !important;
            }

            [data-menu-orientation="left-vertical"] .left-navbar {
              display: none;
              padding-bottom: 20px;
            }

            [data-menu-orientation="left-vertical"] .left-navbar .menu-maximize .menu-controls {
              display: none !important;
            }

            [data-menu-orientation="left-vertical"].expand-left-menu .left-navbar .rootGroup>li>a.expandable:after {
              color: rgb(17, 136, 193);
            }

            [data-menu-orientation="horizontal"].logged-in .left-navbar {
              width: 100%;
            }

            [data-menu-orientation].logged-in .left-navbar {
              display: block;
            }

            [data-menu-orientation].logged-in .left-navbar:before,
            [data-menu-orientation].logged-in .left-navbar:after {
              content: "";
              display: table;
            }

            [data-menu-orientation].logged-in .left-navbar:after {
              clear: both;
            }

            [id$="divMyCustomMenuToolbar"] .slide>.group:before,
            .slide>.group:after {
              content: "";
              display: table;
            }

            [id$="divMyCustomMenuToolbar"] .slide>.group:after {
              clear: both;
            }

            [data-menu-orientation="left-vertical"].minimize-left-menu [id$="divMyCustomMenuToolbar"] .slide,
            [data-menu-orientation="left-vertical"].minimize-left-menu [id$="divMyCustomMenuToolbar"] .slide>.group {
              height: auto !important;
              top: 0 !important;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup li:not(:hover)>a[data-collapsed="true"] {
              background-color: transparent !important;
              color: #888 !important;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup li:not(:hover)>a>span,
            [id$="divMyCustomMenuToolbar"] .rootGroup li:not(:hover)>a [class*="fa-"],
            [id$="divMyCustomMenuToolbar"] .rootGroup li:not(:hover)>a[data-collapsed="true"]:after {
              color: #888 !important;
            }

            [data-menu-orientation="left-vertical"] [id$="divMyCustomMenuToolbar"] .rootGroup li:not(:hover)>a [class*="fa-"],
            [data-menu-orientation="left-vertical"] [id$="divMyCustomMenuToolbar"] .rootGroup li:not(:hover)>a[data-collapsed="true"]:after,
            [data-menu-orientation="left-vertical"] [id$="divMyCustomMenuToolbar"] .rootGroup li:not(:hover)>a>span {
              color: #fff !important;
            }

            html [data-menu-orientation="left-vertical"].minimize-left-menu .rootGroup a.expandable {
              /*background-color: transparent !important;*/
            }

            #header-wrapper:after,
            #header-wrapper:before {
              content: "";
              display: table;
            }

            #header-wrapper:after,
            form#aspnetForm:after {
              clear: both;
            }

            [data-menu-orientation="left-vertical"] #backoffice-wrapper {
              display: -webkit-box;
              display: -ms-flexbox;
              display: flex;
              position: relative;
            }

            [id*="new-admin-toolbar"] {
              width: 100%;
            }

            [data-menu-orientation="left-vertical"].logged-in .left-navbar+.container {
              max-width: unset;
              float: left;
              /*margin-left: 35px;*/
              -webkit-transition: all 1s ease-in-out;
              -o-transition: all 1s ease-in-out;
              transition: all 1s ease-in-out;
              background-color: #fff;
            }

            [data-menu-orientation="left-vertical"] .left-navbar {
              background-color: #293141;
            }

            #navigation-toggler>a {
              display: inline-block;
              width: 30px;
              height: 30px;
              text-align: center;
              line-height: 30px;
              color: #fff;
              background-color: #999;
              border-radius: 3px;
              margin-top: 10px;
              margin-left: 2px;
              margin-bottom: 10px;
              margin-right: 2px;
              -webkit-transition: all 1s ease-in-out;
              -o-transition: all 1s ease-in-out;
              transition: all 1s ease-in-out;
              cursor: pointer;
            }

            [data-menu-orientation="left-vertical"] .left-navbar .rootGroup li a,
            [data-menu-orientation="left-vertical"] .left-navbar .rootGroup li a span .icon-text,
            [data-menu-orientation="left-vertical"] .left-navbar [class*="fa-"] {
              font-size: 12px !important;
              font-weight: normal;
            }

            [data-menu-orientation="left-vertical"] .left-navbar [id$="divMyCustomMenuToolbar"] .rootGroup>li>a {
              height: auto !important;
              padding: 5px;
              max-width: 35px;
              box-sizing: border-box;
              -webkit-transition: max-width 1s ease-in-out;
              -o-transition: max-width 1s ease-in-out;
              transition: max-width 1s ease-in-out;
            }

            [data-menu-orientation="left-vertical"] .left-navbar #newAdminToolbar>div>div>ul>li {
              width: 100% !important;
            }

            [data-menu-orientation="left-vertical"].minimize-left-menu .left-navbar+.container {
              width: calc(100% - 35px);
            }

            [data-menu-orientation="left-vertical"] .left-navbar+.container>.row {
              max-width: 100%;
              transition: max-width 500ms ease-in-out;
            }

            [data-menu-orientation="left-vertical"].minimize-left-menu #main-content,
            [data-menu-orientation="left-vertical"].minimize-left-menu .left-navbar+.container>.row {
              max-width: 100%;
            }

            [data-menu-orientation="left-vertical"] .left-navbar+.container>div {
              margin-left: 0;
              margin-right: 0;
            }

            [data-menu-orientation="left-vertical"] .left-navbar {
              float: left;
              width: 35px;
              -webkit-transition: width 1s ease-in-out;
              -o-transition: width 1s ease-in-out;
              transition: width 1s ease-in-out;
            }

            #navigation-toggler>a>i {
              padding: 0 4px;
            }

            #navigation-toggler {
              display: none;
            }

            [data-menu-orientation="left-vertical"] #navigation-toggler {
              display: block;
            }

            .minimize-left-menu .left-navbar [id$="divMyCustomMenuToolbar"] .rootGroup li>.slide,
            [data-menu-orientation="left-vertical"] .left-navbar .new-admin-toolbar-option,
            [data-menu-orientation="left-vertical"] .left-navbar .icon-menu-wrapper .menu-title {
              display: none !important;
            }

            .minimize-left-menu .left-navbar [id$="divMyCustomMenuToolbar"] .rootGroup li:hover>.slide {
              display: block !important;
            }

            .minimize-left-menu .left-navbar [id$="divMyCustomMenuToolbar"] .rootGroup li:hover>.slide,
            .minimize-left-menu .left-navbar [id$="divMyCustomMenuToolbar"] .rootGroup li:hover>.slide>ul {
              overflow: visible !important;
            }

            [data-menu-orientation="left-vertical"] .left-navbar [class*="fa-"]+.icon-text {
              position: absolute;
            }

            [data-menu-orientation="left-vertical"] .left-navbar .icon-text {
              transform: scale(0);
              -webkit-transition: transform 500ms 500ms ease-in-out;
              -o-transition: transform 500ms 500ms ease-in-out;
              transition: transform 500ms 500ms ease-in-out;
              transition-delay: 100ms;
            }

            [data-menu-orientation="left-vertical"] .left-navbar .RadPanelbar_PanelSkin .rootGroup:after {
              content: "";
              display: table;
              clear: both;
            }

            [data-menu-orientation="left-vertical"] .left-navbar .menu-maximize [id$="divMyCustomMenuToolbar"],
            [data-menu-orientation="left-vertical"] .left-navbar .menu-maximize [id$="divMyCustomMenuToolbar"] .rootGroup>li>a {
              height: auto !important;
            }

            [data-menu-orientation="left-vertical"] .left-navbar .menu-maximize [id$="divMyCustomMenuToolbar"] .rootGroup>li>a [class*="fa-"] {
              width: auto;
              display: inline-block;
              color: #888 !important;
              padding: 0;
            }

            [data-menu-orientation="left-vertical"] #newAdminToolbar [id$=divMyCustomMenuToolbar] .rootGroup>li>a [class*="fa-"] {
              color: #fff !important;
            }

            [data-menu-orientation="left-vertical"] .left-navbar [id$="divMyCustomMenuToolbar"] .rootGroup li .slide {
              right: -400px !important;
              top: 0;
              left: unset !important;
            }

            [data-menu-orientation="left-vertical"] .left-navbar [id$="divMyCustomMenuToolbar"] .rootGroup li {
              background-color: #293141;
              border-bottom: 0;
            }

            [data-menu-orientation="left-vertical"] .left-navbar [id$="divMyCustomMenuToolbar"] .rootGroup .slide>ul>li>a {
              height: auto !important;
              float: left;
            }

            [data-menu-orientation="left-vertical"] .left-navbar .new-admin-toolbar-option {
              color: #fff !important;
            }

            left-navbar .new-admin-toolbar-option a {
              color: #888 !important;
            }

            [data-menu-orientation="left-vertical"] .left-navbar [id$="divMyCustomMenuToolbar"] {
              border-bottom: 0;
            }

            html [data-menu-orientation="left-vertical"] [id$="divMyCustomMenuToolbar"] .rootGroup>li>a {
              border-right: 0 !important;
            }

            [data-menu-orientation="left-vertical"] .left-navbar .rootGroup>li>a>span {
              -webkit-transition: text-align 1s ease-in-out;
              -o-transition: text-align 1s ease-in-out;
              transition: text-align 1s ease-in-out;
              text-align: center;
            }

            @media screen and (min-width: 992px) {
              [data-menu-orientation="left-vertical"].logged-in .left-navbar+.container {
                position: relative;
                left: 0;
              }

              [data-menu-orientation="left-vertical"].logged-in.minimize-left-menu.icon-menu-shown .left-navbar+.container {
                left: -17.5px;
              }

              [data-menu-orientation="left-vertical"].logged-in .left-navbar+.container {
                width: calc(100% - 225px);
              }

              [data-menu-orientation="left-vertical"].expand-left-menu [id$="divMyCustomMenuToolbar"] .slide>ul {
                overflow: hidden;
              }

              [data-menu-orientation="left-vertical"].expand-left-menu [id$="divMyCustomMenuToolbar"] .slide {
                display: block !important;
                height: auto !important;
              }

              [data-menu-orientation="left-vertical"].expand-left-menu #volume-per-personal-sponsored-leg-wrapper [id$="RadHtmlChart1"],
              [data-menu-orientation="left-vertical"].expand-left-menu #BodyVolumePerPersonalSponsoredLeg>div:first-child .span-4-5 {
                width: 100%;
              }

              [data-menu-orientation="left-vertical"].expand-left-menu #volume-per-personal-sponsored-leg-wrapper [id$="RadHtmlChart1"]>svg {
                margin: 0 auto;
              }

              [data-menu-orientation="left-vertical"].expand-left-menu .left-navbar li>a.expandable:after {
                position: static;
                opacity: 1;
                transform: scale(1);
              }

              [data-menu-orientation="left-vertical"].expand-left-menu .left-navbar li>a[data-collapsed="false"]:after {
                content: "\f078";
              }

              [data-menu-orientation="left-vertical"].expand-left-menu .left-navbar li>a>span {
                max-width: 90%;
              }

              [data-menu-orientation="left-vertical"].expand-left-menu .left-navbar .slide li>a.expandable:after {
                float: right;
              }

              [data-menu-orientation="left-vertical"].expand-left-menu .left-navbar li>a.expandable.selected:after,
              [data-menu-orientation="left-vertical"].expand-left-menu .left-navbar li>a.expandable.expanded:after {
                color: #fff;
              }

              [data-menu-orientation="left-vertical"].expand-left-menu .left-navbar {
                width: 225px;
              }

              /*[data-menu-orientation="left-vertical"].expand-left-menu.logged-in #main-content > .left-navbar + .container,
		[data-menu-orientation="left-vertical"].expand-left-menu.logged-in #backoffice-wrapper > .left-navbar + .container,
		[data-menu-orientation="left-vertical"].expand-left-menu.logged-in #backoffice-wrapper > .left-navbar + .container {
			margin-left: 225px;
		}*/
              [data-menu-orientation="left-vertical"].expand-left-menu #navigation-toggler>a {
                margin-left: 175px;
              }

              [data-menu-orientation="left-vertical"].expand-left-menu .left-navbar .new-admin-toolbar-option {
                display: block !important;
              }

              [data-menu-orientation="left-vertical"].expand-left-menu .icon-text {
                opacity: 1;
                transform: scale(1);
              }

              [data-menu-orientation="left-vertical"].expand-left-menu .left-navbar .menu-maximize [id$="divMyCustomMenuToolbar"] .rootGroup>li>a {
                padding: 6px 15px;
                max-width: 100%;
                line-height: 2;
              }

              [data-menu-orientation="left-vertical"].expand-left-menu .left-navbar [id$="divMyCustomMenuToolbar"] .rootGroup>li>a>span {
                text-align: left;
              }

              [data-menu-orientation="left-vertical"].expand-left-menu .left-navbar [id$="divMyCustomMenuToolbar"] .rootGroup li .slide {
                position: static;
                min-width: unset !important;
              }

              [data-menu-orientation="left-vertical"].expand-left-menu [id$="divMyCustomMenuToolbar"] .rootGroup li a span {
                white-space: normal;
              }

              [data-menu-orientation="left-vertical"].expand-left-menu .left-navbar [id$="divMyCustomMenuToolbar"] .rootGroup li a span .icon-text {
                width: auto;
                float: none;
                padding-left: 10px;
                text-transform: none;
              }
            }

            @media screen and (min-width: 1400px) {
              [data-menu-orientation="left-vertical"].logged-in .left-navbar+.container {
                width: 1170px;
              }
            }

            @media screen and (min-width: 1650px) {
              [data-menu-orientation="left-vertical"].logged-in.icon-menu-shown .left-navbar+.container {
                left: -112.5px;
              }

              /*[data-menu-orientation="left-vertical"] .left-navbar {
			position: absolute;
			height: 100%;
			top: 0;
			left: 0;
		}
		[data-menu-orientation="left-vertical"].expand-left-menu #navigation-toggler > a {
			margin-left: 190px;
		}
		[data-menu-orientation="left-vertical"].expand-left-menu .left-navbar {
			padding-top: inherit;
		}
		[data-menu-orientation="left-vertical"].expand-left-menu .left-navbar > div {
			overflow-y: auto;
			overflow-x: hidden;
			width: 235px;
		}
		[data-menu-orientation="left-vertical"].minimize-left-menu .left-navbar {
			position: static;
			height: auto;
		}
		[data-menu-orientation="left-vertical"].logged-in.expand-left-menu .left-navbar {
			background-color: transparent;
			overflow: hidden;
			padding-bottom: 0;
		}
		[data-menu-orientation="left-vertical"].logged-in.expand-left-menu .left-navbar > div {
			background-color: #293141;
			position: static;
			height: 100%;
		}*/
            }

            /*End for Left Bar Style*/
            [id$="divMyCustomMenuToolbar"]:not([id$=divMyCustomMenuToolbar]) {
              display: none;
            }

            /*For Menu Toggle*/
            #new-admin-toolbar-wrapper {
              position: relative;
              float: left;
              width: 100%;
              /*height: 28px;*/
            }

            .menu-controls {
              position: absolute;
              left: 10px;
              line-height: 28px;
            }

            .menu-controls .menu-title span,
            .menu-controls [class*="fa-"] {
              color: #fff;
              font-size: 14px;
              padding: 0 5px;
            }

            .icon-menu-wrapper {
              cursor: pointer;
            }

            .icon-menu-wrapper .menu-title {
              display: inline-block;
            }

            #new-admin-toolbar-wrapper,
            [id$="divMyCustomMenuToolbar"],
            [id$="divMyCustomMenuToolbar"] .rootGroup>li>a {
              -o-transition: height 200ms ease-in-out, padding 200ms ease-in-out;
              -moz-transition: height 200ms ease-in-out, padding 200ms ease-in-out;
              -webkit-transition: height 200ms ease-in-out, padding 200ms ease-in-out;
              transition: height 200ms ease-in-out, padding 200ms ease-in-out;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup>li>a {
              transition-delay: 300ms;
            }

            .menu-controls {
              -o-transition: line-height 200ms ease-in-out;
              -moz-transition: line-height 200ms ease-in-out;
              -webkit-transition: line-height 200ms ease-in-out;
              transition: line-height 200ms ease-in-out;
            }

            .menu-controls [class*="fa-"]:before {
              -o-transition: line-height 200ms ease-in-out;
              -moz-transition: line-height 200ms ease-in-out;
              -webkit-transition: line-height 200ms ease-in-out;
              transition: line-height 200ms ease-in-out;
            }

            .menu-controls [class*="fa-"]:before {
              content: "\f2d0";
            }

            .menu-maximize [id$="divMyCustomMenuToolbar"] .rootGroup>li>a {
              height: 80px !important;
              padding: 20px 0 0;
            }

            .menu-maximize [id$="divMyCustomMenuToolbar"] {
              height: 80px;
              overflow: visible;
            }

            .menu-maximize .menu-controls {
              line-height: 76px;
            }

            .menu-maximize .menu-controls [class*="fa-"]:before {
              content: "\f2d1";
            }

            /*End for menu toggle*/
            [id$="divMyCustomMenuToolbar"] {
              padding: 0px;
              margin: 0px;
              height: 28px;
              background: #373737;
              border-bottom: solid 3px #02A0D5;
              float: left;
              width: 100%;
              overflow: hidden;
            }

            [id$="divMyCustomMenuToolbar"]>ul {
              padding: 0px;
              margin: 0px;
              max-width: 1150px;
              height: 80px;
              margin: 0 auto;
              margin-top: -4px;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup {
              margin-top: 0 !important;
              padding: 0 !important;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup li {
              float: left;
              list-style: none;
              background: #373737;
              position: relative;
              width: 100%;
              border-bottom: 0;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup>li>a {
              color: #999999;
              text-decoration: none;
              padding: 20px 0 0;
              display: block;
              height: 77px !Important;
              line-height: 30px;
              font-weight: bold;
              text-transform: uppercase;
              font-size: 9px;
              border-right: solid 1px #2c2c2c !important;
              border-left: solid 1px #474747 !important;
              text-align: center;
              margin-top: 0 !important;
              box-sizing: border-box;
              position: relative;
              width: 100%;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup .slide>ul>li>a {
              margin: 0;
              text-decoration: none;
              color: #888;
              padding: 0px;
              display: block;
              width: 100%;
              /* background: #373737; */
              text-align: left;
              /* border-bottom: solid 1px #2c2c2c !important; */
              /* border-top: solid 1px #474747 !important; */
              /* padding: 0 25px; */
              font-weight: normal;
              line-height: 36px;
              height: 40px !important;
              font-size: 12px;
              text-transform: none;
              padding: 0 20px;
              box-sizing: border-box;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup>li>a {
              /*padding-left:0px;
		padding-right:0px;
		border-left: none;
		height:32px;
		line-height:20px;*/
              min-height: auto;
              overflow: hidden;
              height: 0 !important;
              padding: 0;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup>li>a [class*="fa-"] {
              font-size: 36px;
              color: #999999;
              display: block;
              margin: 0 auto !important;
              /*margin-top: 6px !important;*/
              text-shadow: none;
              position: relative;
              width: 40px;
            }

            .new-admin-toolbar-option {
              padding-top: 0.5rem;
              padding-bottom: 0.5rem;
            }

            [data-menu-orientation="left-vertical"].minimize-left-menu [id$="divMyCustomMenuToolbar"] .slide>ul {
              height: auto !important;
            }

            .menu-controls:hover [class*="fa-"],
            .menu-controls:hover .menu-title span,
            html [data-menu-orientation="left-vertical"].minimize-left-menu .rootGroup li:hover>a.expandable span,
            [id$="divMyCustomMenuToolbar"] .rootGroup li.active>a:after,
            [id$="divMyCustomMenuToolbar"] .rootGroup li>a.selected:after,
            [id$="divMyCustomMenuToolbar"] .rootGroup li>a.expanded:after,
            [id$="divMyCustomMenuToolbar"] .rootGroup li:hover>a:after,
            .icon-menu-wrapper .minimize-maximize-button:hover+.menu-title span,
            [id$="divMyCustomMenuToolbar"] .rootGroup li ul li a:hover i,
            [data-menu-orientation="left-vertical"] .left-navbar .menu-maximize [id$="divMyCustomMenuToolbar"] .rootGroup>li>a[data-collapsed="false"] [class*="fa-"],
            [data-menu-orientation="left-vertical"] #new-admin-toolbar-option a,
            [data-menu-orientation="left-vertical"] .left-navbar .menu-maximize [id$="divMyCustomMenuToolbar"] .rootGroup>li:hover>a [class*="fa-"],
            #html5 [id$="divMyCustomMenuToolbar"] .rootGroup li.active>a,
            #html5 [id$="divMyCustomMenuToolbar"] .rootGroup li>a.selected,
            #html5 [id$="divMyCustomMenuToolbar"] .rootGroup li>a.expanded,
            #html5 [id$="divMyCustomMenuToolbar"] .rootGroup li.active>a [class*="fa-"],
            #html5 [id$="divMyCustomMenuToolbar"] .rootGroup li:hover>a [class*="fa-"],
            #html5 [id$="divMyCustomMenuToolbar"] .rootGroup li a:hover,
            #html5 [id$="divMyCustomMenuToolbar"] .rootGroup li a:hover i,
            #html5 [id$="divMyCustomMenuToolbar"] .rootGroup li:hover>a,
            #html5 [id$="divMyCustomMenuToolbar"] .rootGroup li>a.selected [class*="fa-"],
            #html5 [id$="divMyCustomMenuToolbar"] .rootGroup li>a.expanded [class*="fa-"],
            #html5 [id$="divMyCustomMenuToolbar"] .rootGroup .slide li:hover>a {
              color: #fff !important;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup li.active>a,
            [id$="divMyCustomMenuToolbar"] .rootGroup li>a.selected,
            [id$="divMyCustomMenuToolbar"] .rootGroup li>a.expanded,
            [id$="divMyCustomMenuToolbar"] .rootGroup li:hover>a {
              background: #999 !important;
            }

            [id$="divMyCustomMenuToolbar"]>ul>li:nth-of-type(3)>a>i {
              width: 32px;
            }

            [id$="divMyCustomMenuToolbar"]>ul>li:nth-of-type(8)>a>i {
              width: 48px;
            }

            [id$="divMyCustomMenuToolbar"]>ul>li:nth-of-type(10)>a>i {
              width: 53px;
            }

            [id$="divMyCustomMenuToolbar"]>ul>li:nth-of-type(11)>a>i {
              width: 42px;
            }

            [id$="divMyCustomMenuToolbar"]>ul>li:nth-of-type(12)>a>i {
              width: 18px;
            }

            [id$="divMyCustomMenuToolbar"]>ul>li:nth-of-type(13)>a>i {
              width: 45px;
            }

            .icon-large:before {
              position: absolute;
              left: 0;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup li:hover a .icon-large:before {
              font-size: 51px;
              left: -2px;
              top: -2px;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup li.active a,
            [id$="divMyCustomMenuToolbar"] .rootGroup li.active a i {
              color: #fff;
              line-height: 22px;
              text-shadow: none;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup li.active a {
              line-height: 38px;
            }

            /*Dropdown*/
            [id$="divMyCustomMenuToolbar"] .rootGroup li .slide {
              min-width: 400px;
              position: absolute;
              z-index: 99 !important;
              width: 100%;
              display: none;
            }

            body:not([data-menu-orientation]) [id$="divMyCustomMenuToolbar"] .slide {
              height: auto !important;
              display: none !important;
            }

            body:not([data-menu-orientation]) [id$="divMyCustomMenuToolbar"] .rootGroup li:hover>.slide {
              display: block !important;
              overflow: visible;
            }

            body:not([data-menu-orientation]) [id$="divMyCustomMenuToolbar"] .rootGroup li:hover>.slide>ul {
              top: 0 !important;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup li .slide .slide {
              width: 100%;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup li.last>.slide,
            [id$="divMyCustomMenuToolbar"] .rootGroup li.next-to-last>.slide {
              right: 0;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup li.last li>.slide,
            [id$="divMyCustomMenuToolbar"] .rootGroup li.next-to-last li>.slide {
              left: -100%;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup li .slide li {
              /*border-bottom: solid 1px #2c2c2c !important;
        border-top: solid 1px #474747 !important;*/
              box-sizing: border-box;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup li a:active {
              color: #fff;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup li div ul {
              display: block;
              /*border: solid 1px #2c2c2c;*/
              border-top: none !important;
              overflow: visible;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup li ul li,
            [id$="divMyCustomMenuToolbar"] .rootGroup li ul li:hover {
              border-top: none;
              height: auto;
            }

            [id$="divMyCustomMenuToolbar"] .slide .slide {
              display: none;
              top: 0;
            }

            [id$="divMyCustomMenuToolbar"] li:not(.last) .slide .slide:not(.slide-offbound) {
              left: 100%;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup li ul li a:hover,
            [id$="divMyCustomMenuToolbar"] .rootGroup li ul li:first-child a:hover {
              background-color: #02A0D5;
              color: white !important;
              text-shadow: none;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup li ul li a i {
              margin-right: 6px;
              padding: 4px;
              display: inline-block;
              color: #999999 !important;
              line-height: 32px;
              box-sizing: border-box;
              float: left;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup .slide li a span {
              width: auto;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup li a span {
              font-size: inherit;
              line-height: inherit;
              /*font-family: Arial;*/
              float: left;
              width: 100%;
              position: relative;
            }

            [data-menu-orientation="horizontal"] [id$="divMyCustomMenuToolbar"] .rootGroup>.item:hover>.slide,
            [data-menu-orientation="horizontal"] [id$="divMyCustomMenuToolbar"] .rootGroup>.item:hover>.slide>ul {
              display: block !important;
              overflow: initial !important;
            }

            #menu-button {
              background-color: #373737;
              position: absolute;
              width: 45px;
              height: 45px;
              border-top-right-radius: 5px;
              border-bottom-right-radius: 5px;
              display: block;
              z-index: 10;
              top: 0;
              left: 100%;
              cursor: pointer;
              display: none;
            }

            #menu-button:after,
            #menu-button:before {
              content: '';
              width: 30px;
              display: block;
              position: absolute;
              left: 5px;
              transition: all 1s ease-in-out;
              -webkit-transition: all 1s ease-in-out;
            }

            #menu-button:after {
              border-bottom: 2px solid #fff;
              bottom: 15px;
            }

            #menu-button:before {
              border-top: 2px solid #fff;
              top: 15px;
            }

            .show-menu #menu-button:before {
              transform: rotate(40deg);
              -webkit-transform: rotate(40deg);
              top: 20px;
            }

            .show-menu #menu-button:after {
              transform: rotate(133deg);
              -webkit-transform: rotate(133deg);
              bottom: 23px;
            }

            [id$="divMyCustomMenuToolbar"]::-webkit-scrollbar {
              width: 0.5em;
            }

            [id$="divMyCustomMenuToolbar"]::-webkit-scrollbar-track {
              -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
            }

            [id$="divMyCustomMenuToolbar"]::-webkit-scrollbar-thumb {
              background-color: darkgrey;
              outline: 1px solid slategrey;
            }

            #newAdminToolbar {
              z-index: 20;
            }

            #newAdminToolbar.show-menu {
              left: 0;
            }

            #new-admin-toolbar-option {
              text-align: center;
            }

            #new-admin-toolbar-option>* {
              font-size: 14px;
            }

            #newAdminToolbar .RadPanelbar_PanelSkin {
              float: left;
            }

            #backoffice-wrapper>.left-navbar,
            [id$="divMyCustomMenuToolbar"] .rootGroup>li>a [class*="fa-"][class*="fa-arrow-down"] {
              display: none;
            }

            #newAdminToolbar>div>div>ul>li {
              display: block !important;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup li .slide.slide-offbound {
              right: 0;
            }

            [id$="divMyCustomMenuToolbar"] .rootGroup li .slide .slide.slide-offbound {
              left: -100%;
            }

            .icon-menu-wrapper .menu-title {
              display: inline-block;
            }

            .minimize-left-menu [id$="divMyCustomMenuToolbar"] li:hover>.slide {
              display: block !important;
            }

            [data-menu-orientation="left-vertical"] .left-navbar li>a.expandable:after {
              transform: scale(0);
              -webkit-transition: transform 1s 500ms ease-in-out;
              -o-transition: transform 1s 500ms ease-in-out;
              transition: transform 1s 500ms ease-in-out;
              position: absolute;
              content: "\f054";
              font-family: 'Font Awesome 5 Pro';
              font-weight: 300;
              transition-delay: 200ms;
            }

            .new-category-menu-on-page [data-menu-orientation="left-vertical"].logged-in #backoffice-wrapper>.container {
              max-width: 1200px;
            }

            #backoffice-wrapper>.container {
              left: 0;
            }

            [data-menu-orientation="left-vertical"] .icon-menu-wrapper .slide>ul {
              width: 100%;
            }

            #navigation-toggler .new-icon:not(.ds) [class*="fa-"] {
              font-size: 24px !important;
              vertical-align: middle;
            }

            @media (min-width: 992px) {
              html [data-menu-orientation="left-vertical"].expand-left-menu #navigation-toggler>a.new-icon:not(.ds) {
                margin-left: 10px;
              }
            }

            @media screen (min-width: 1800px) {
              .new-category-menu-on-page [data-menu-orientation="left-vertical"].logged-in #backoffice-wrapper>.container {
                max-width: 1300px;
              }
            }

            @media screen (min-width: 1900px) {
              .new-category-menu-on-page [data-menu-orientation="left-vertical"].logged-in #backoffice-wrapper>.container {
                max-width: 1400px;
              }
            }

            @media screen (min-width: 2000px) {
              .new-category-menu-on-page [data-menu-orientation="left-vertical"].logged-in #backoffice-wrapper>.container {
                max-width: 1500px;
              }
            }

            @media screen and (max-width: 1300px) {
              .menu-controls {
                position: static;
                line-height: 25px;
                background: #373737;
                text-align: center;
                border-bottom: solid 3px #02A0D5;
              }

              .menu-maximize .menu-controls {
                line-height: 25px;
              }

              [id$="divMyCustomMenuToolbar"] {
                height: 0;
              }
            }

            @media screen and (max-width: 1200px) {
              #html5 .coach-inner-wrapper {
                width: 100%;
                padding-left: 15px;
                padding-right: 15px;
              }
            }

            @media screen and (max-device-width: 1199px) {
              [id$="divMyCustomMenuToolbar"] .rootGroup>li>a {
                white-space: normal;
                line-height: 20px;
              }

              [id$="divMyCustomMenuToolbar"] .rootGroup>li>a [class*="fa-"] {
                font-size: 20px;
              }

              [id$="divMyCustomMenuToolbar"] .rootGroup li .slide .slide.slide-offbound {
                right: 100%;
              }
            }

            @media screen and (max-device-width: 991px) {
              .left-navbar [id$="divMyCustomMenuToolbar"] li>.slide>ul {
                height: auto !important;
              }

              [id$="divMyCustomMenuToolbar"] .rootGroup>li>a [class*="fa-"] {
                font-size: 18px;
                padding-bottom: 10px;
              }

              [id$="divMyCustomMenuToolbar"] .rootGroup>li>a {
                padding-top: 10px;
                line-height: 15px;
              }
            }

            @media screen and (max-width: 992px) {
              [data-menu-orientation="left-vertical"].logged-in.minimize-left-menu.icon-menu-shown .left-navbar+.container {
                left: 0;
              }

              [data-menu-orientation="left-vertical"] .left-navbar [id$="divMyCustomMenuToolbar"] .rootGroup li .slide {
                right: -300px !important;
              }

              [data-menu-orientation="left-vertical"] [id$="divMyCustomMenuToolbar"] .rootGroup li .slide {
                min-width: 300px;
              }

              [data-menu-orientation="left-vertical"] .left-navbar [id$="divMyCustomMenuToolbar"] .slide {
                display: none !important;
              }

              [data-menu-orientation="left-vertical"] .left-navbar [id$="divMyCustomMenuToolbar"] li:hover>.slide {
                display: block !important;
                height: auto !important;
              }

              [data-menu-orientation="left-vertical"] .left-navbar [id$="divMyCustomMenuToolbar"] li:hover>.slide>ul {
                overflow: visible !important;
                height: auto !important;
              }

              [data-menu-orientation="left-vertical"].expand-left-menu .left-navbar .menu-maximize [id$="divMyCustomMenuToolbar"] .rootGroup>li>a {
                padding: 8px 5px;
                max-width: 100%;
              }

              .left-navbar [id$="divMyCustomMenuToolbar"] li:hover>.slide {
                display: block;
              }

              #navigation-toggler,
              [data-menu-orientation="left-vertical"] .left-navbar li>a.expandable:after,
              [data-menu-orientation="left-vertical"] .left-navbar .icon-text,
              [data-menu-orientation="left-vertical"].expand-left-menu .left-navbar .new-admin-toolbar-option {
                display: none !important;
              }

              [data-menu-orientation="left-vertical"].expand-left-menu .left-navbar {
                width: 35px;
              }

              [data-menu-orientation="left-vertical"].logged-in .left-navbar+.container {
                width: calc(100% - 35px);
              }
            }

            @media screen and (max-width: 768px) {
              html [data-menu-orientation].logged-in .left-navbar {
                display: none !important;
              }

              [data-menu-orientation].logged-in .left-navbar {
                display: none;
              }

              [data-menu-orientation="left-vertical"].logged-in .left-navbar+.container {
                width: 100%;
              }
            }
          </style>
          <div id="new-admin-toolbar-wrapper" style="z-index: 98;" class="icon-menu-wrapper menu-maximize">
            <div class="menu-controls" style="display: none;">
              <a class="minimize-maximize-button" onclick="toggleMenuSize(this);"><i class="fa fa-window-minimize"></i><div class="menu-title"><span class="admin-menu-label" style="display: none;">Admin Menu</span><span class="distrib-menu-label" style="">Associate Menu</span></div></a>
            </div>
            <div id="ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_divUnReadMessages" class="divRow" style="padding-bottom:5px;display:none;"><a id="ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_lblUnReadMessages" class="label"></a></div>
            <div id="ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_dvCustomMenuToolBarMSG" class="divRow" style="padding-bottom:5px;display:none;"><span id="ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_lblCustomMenuToolBarAccessMSG"
                class="label"></span></div>
            <div id="newAdminToolbar">
              <div id="ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_divMyCustomMenuToolbar" class="divPanelBar" style="">
                <div id="ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar" class="panelbar RadPanelbar_PanelSkin " style="width:100%;"><!-- 4.3.5 -->
                  <script type="text/javascript"
                    src="/WebResource.axd?d=mth8k7abRq29ykBF1XXWnlFuOUar9QhDqGtZvFb0XgrD_cm25GeHduXVgW2plQTGVlwLnHmmp9hi1jRJWIenAZtqM-J3lX96Gw34hlUtTHTTv-Jk16U_Tv2JwaQoJ0Ek6NpjaPwkmk2Z8ytVF527IvPpKoksCFk24y2V1PcgCe6pqaKw-XUG3dK70CA7O7Cj15F9jA2&amp;t=637671778505530946">
                  </script><span id="ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbarStyleSheetHolder" style="display:none;"></span>
                  <ul class="rootGroup">
                    <li class="item first" style="width: 0px;">
                      <a href="#" id="ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_p0" class="link "><span class=""><i class="fab fa-bitcoin fa-lg" style="color: rgb(18, 138, 195); margin-right: 5px;"></i><span class="icon-text">Buy Crypto</span></span></a>
                    </li>
                    <li class="item" style="width: 0px;">
                      <a href="#" id="ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_p1" class="link "><span class=""><i class="fad fa-wallet fa-lg" style="color: rgb(18, 138, 195); margin-right: 5px;"></i><span class="icon-text">E-Wallet</span></span></a>
                    </li>
                    <li class="item" style="width: 0px;">
                      <a href="#" id="ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_p2" class="link expandable " data-collapsed="true"><span class=""><i class="fa fa-shopping-basket fa-lg" style="color: rgb(17, 136, 193); margin-right: 5px;"></i><span class="icon-text">Funding</span></span></a>
                      <div class="slide" style="z-index: 12;" data-link-id="ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_p2">
                        <ul class="group level1 " style="z-index: 12; height: 0px;">
                          <li class="item first">
                            <a href="#" id="ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_p2_p0" class="link "><span class=""><i class="far fa-pen-nib fa-lg" style="color: rgb(18, 138, 195); margin-right: 5px;"></i>Enrollment Package</span></a>
                          </li>
                          <li class="item">
                            <a href="#" id="ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_p2_p1" class="link "><span class=""><i class="fad fa-triangle fa-lg" style="color: rgb(18, 138, 195); margin-right: 5px;"></i>Payment Issues</span></a>
                          </li>
                          <li class="item last">
                            <a href="#" id="ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_p2_p2" class="link "><span class=""><i class="fad fa-calendar-times fa-lg" style="color: rgb(18, 138, 195); margin-right: 5px;"></i>Pay $2.95 Service Fee (Affiliate Package ONLY)</span></a>
                          </li>
                        </ul>
                      </div>
                    </li>
                    <li class="item" style="width: 0px;">
                      <a href="#" id="ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_p3" class="link "><span class=""><i class="fad fa-chart-bar fa-lg" style="color: rgb(18, 138, 195); margin-right: 5px;"></i><span class="icon-text">Performance Reports</span></span></a>
                    </li>
                    <li class="item" style="width: 0px;">
                      <a href="#" id="ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_p4" class="link "><span class=""><i class="fas fa-trophy-alt fa-lg" style="color: rgb(18, 138, 195); margin-right: 5px;"></i><span class="icon-text">Rank Achievers</span></span></a>
                    </li>
                    <li class="item" style="width: 0px;">
                      <a href="#" id="ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_p5" class="link "><span class=""><i class="fad fa-tv-retro fa-lg" style="color: rgb(18, 138, 195); margin-right: 5px;"></i><span class="icon-text">Training Videos</span></span></a>
                    </li>
                    <li class="item" style="width: 0px;">
                      <a href="#" id="ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_p6" class="link expandable " data-collapsed="true"><span class=""><i class="fad fa-tools fa-lg" style="color: rgb(18, 138, 195); margin-right: 5px;"></i><span class="icon-text">Tools</span></span></a>
                      <div class="slide" style="z-index: 19;" data-link-id="ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_p6">
                        <ul class="group level1 " style="z-index: 19; height: 0px;">
                          <li class="item first">
                            <a href="#" id="ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_p6_p0" class="link "><span class=""><i class="fad fa-video fa-lg" style="color: rgb(18, 138, 195); margin-right: 5px;"></i>Media Library</span></a>
                          </li>
                          <li class="item last">
                            <a href="#" id="ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_p6_p1" class="link expandable " data-collapsed="true"><span class=""><i class="fad fa-pencil fa-lg" style="color: rgb(18, 138, 195); margin-right: 5px;"></i>Forms &amp; Agreements</span></a>
                            <div class="slide" style="z-index: 21;" data-link-id="ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_p6_p1">
                              <ul class="group level2 " style="z-index: 21; height: 0px;">
                                <li class="item first">
                                  <a href="#" id="ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_p6_p1_p0" class="link "><span class="">Earnings Disclaimer</span></a></li>
                                <li class="item last">
                                  <a href="#" id="ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_p6_p1_p1" class="link "><span class="">Privacy Policy</span></a></li>
                              </ul>
                            </div>
                          </li>
                        </ul>
                      </div>
                    </li>
                    <li class="item next-to-last" style="width: 0px;">
                      <a href="#" id="ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_p7" class="link "><span class=""><i class="fas fa-ticket-alt fa-lg" style="color: rgb(18, 138, 195); margin-right: 5px;"></i><span class="icon-text">Help Desk</span></span></a>
                    </li>
                    <li class="item last" style="width: 0px;">
                      <a href="#" id="ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_p8" class="link "><span class=""><i class="fad fa-calendar-alt fa-lg" style="color: rgb(18, 138, 195); margin-right: 5px;"></i><span class="icon-text">Zoom Meeting</span></span></a>
                    </li>
                  </ul><input type="hidden" id="ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_Hidden"
                    name="ctl00$CustomMenuToolBarModule2$CustomMenuToolBar1$panelbar$ctl00$CustomMenuToolBarModule2$CustomMenuToolBar1$panelbar">
                  <script type="text/javascript">
                    window["ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar"] = new RadPanelbar(
                      "ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar");
                    window["ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar"].Initialize({
                      "Attributes": {
                        "SingleExpandedPanel": "True"
                      },
                      "CookieName": "ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar",
                      "CausesValidation": false,
                      "Enabled": true,
                      "Skin": "PanelSkin",
                      "ExpandAnimation": {
                        "Type": "None"
                      },
                      "CollapseAnimation": {
                        "Type": "None"
                      },
                      "OnClientItemClicking": "radBasedPanelbarItemClick"
                    }, {
                      "ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_p0": {
                        "Attributes": {
                          "ItemType": "29509$#%2$#%True$#%False$#%True$#%"
                        },
                        "Value": "29509",
                        "NavigateAfterClick": false
                      },
                      "ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_p1": {
                        "Attributes": {
                          "ItemType": "29480$#%0$#%False$#%False$#%True$#%"
                        },
                        "Value": "29480",
                        "NavigateAfterClick": false
                      },
                      "ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_p2": {
                        "Attributes": {
                          "ItemType": "28215$#%0$#%False$#%False$#%True$#%"
                        },
                        "Value": "28215",
                        "NavigateAfterClick": false
                      },
                      "ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_p2_p0": {
                        "Attributes": {
                          "ItemType": "29508$#%4$#%False$#%False$#%True$#%"
                        },
                        "Value": "29508",
                        "NavigateAfterClick": false
                      },
                      "ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_p2_p1": {
                        "Attributes": {
                          "ItemType": "29513$#%4$#%False$#%False$#%True$#%"
                        },
                        "Value": "29513",
                        "NavigateAfterClick": false
                      },
                      "ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_p2_p2": {
                        "Attributes": {
                          "ItemType": "29516$#%2$#%False$#%False$#%True$#%"
                        },
                        "Value": "29516",
                        "NavigateAfterClick": false
                      },
                      "ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_p3": {
                        "Attributes": {
                          "ItemType": "29526$#%4$#%False$#%False$#%True$#%"
                        },
                        "Value": "29526",
                        "NavigateAfterClick": false
                      },
                      "ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_p4": {
                        "Attributes": {
                          "ItemType": "29492$#%4$#%False$#%False$#%True$#%"
                        },
                        "Value": "29492",
                        "NavigateAfterClick": false
                      },
                      "ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_p5": {
                        "Attributes": {
                          "ItemType": "29532$#%4$#%False$#%False$#%True$#%"
                        },
                        "Value": "29532",
                        "NavigateAfterClick": false
                      },
                      "ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_p6": {
                        "Attributes": {
                          "ItemType": "29474$#%0$#%False$#%False$#%True$#%"
                        },
                        "Value": "29474",
                        "NavigateAfterClick": false
                      },
                      "ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_p6_p0": {
                        "Attributes": {
                          "ItemType": "1450$#%4$#%False$#%False$#%True$#%"
                        },
                        "Value": "1450",
                        "NavigateAfterClick": false
                      },
                      "ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_p6_p1": {
                        "Attributes": {
                          "ItemType": "28391$#%0$#%False$#%False$#%True$#%"
                        },
                        "Value": "28391",
                        "NavigateAfterClick": false
                      },
                      "ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_p6_p1_p0": {
                        "Attributes": {
                          "ItemType": "29501$#%4$#%False$#%False$#%True$#%"
                        },
                        "Value": "29501",
                        "NavigateAfterClick": false
                      },
                      "ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_p6_p1_p1": {
                        "Attributes": {
                          "ItemType": "1436$#%4$#%True$#%False$#%True$#%"
                        },
                        "Value": "1436",
                        "NavigateAfterClick": false
                      },
                      "ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_p7": {
                        "Attributes": {
                          "ItemType": "28397$#%2$#%True$#%False$#%True$#%"
                        },
                        "Value": "28397",
                        "NavigateAfterClick": false
                      },
                      "ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_panelbar_p8": {
                        "Attributes": {
                          "ItemType": "28396$#%2$#%True$#%False$#%True$#%"
                        },
                        "Value": "28396",
                        "NavigateAfterClick": false
                      }
                    });
                  </script>
                </div>
              </div><!--<a id="menu-button" onclick="toggleMenu();"></a>-->
            </div>
            <div id="new-admin-toolbar-option" class="full-width new-admin-toolbar-option" style="display: none;"></div>
          </div>
          <script defer="" type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.1/jquery.cookie.min.js" integrity="sha384-tSi+YsgNwyohDGfW/VhY51IK3RKAPYDcj1sNXJ16oRAyDP++K0NCzSCUW78EMFmf" crossorigin="anonymous"></script>
          <script type="text/javascript">
            var menuVar = {},
              toggleLeftMenu = null,
              customMenuSetCookie = null,
              customMenuGetCookie = null;
            customMenuSetCookie = function(name, value, days) {
              var expires = "";
              if (days) {
                var date = new Date();
                date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
                expires = "; expires=" + date.toUTCString();
              }
              document.cookie = name + "=" + (value || "") + expires + "; path=/";
            }
            customMenuGetCookie = function(name) {
              var nameEQ = name + "=";
              var ca = document.cookie.split(';');
              for (var i = 0; i < ca.length; i++) {
                var c = ca[i];
                while (c.charAt(0) == ' ') c = c.substring(1, c.length);
                if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length);
              }
              return null;
            }
            toggleLeftMenu = function() {
              var aspNetForm = jQuery('#aspnetForm');
              jQuery('.left-navbar [id$="divMyCustomMenuToolbar"] .expandable').off();
              if (aspNetForm.attr('class').indexOf('expand-left-menu') == -1) {
                sideMenuInit();
                detectExpandedSlide();
                customMenuSetCookie('leftmenulayout', 'expandleftmenu', 1);
                aspNetForm.addClass('expand-left-menu');
                aspNetForm.removeClass('minimize-left-menu');
              } else {
                jQuery('[id$="divMyCustomMenuToolbar"] .expandable').each(function() {
                  jQuery(this).removeAttr('data-collapsed');
                  jQuery(this).next().children('.group').height('auto');
                });
                customMenuSetCookie('leftmenulayout', 'minimizeleftmenu', 1);
                jQuery('[id$="divMyCustomMenuToolbar"] .expandable').off();
                aspNetForm.removeClass('expand-left-menu');
                aspNetForm.addClass('minimize-left-menu');
              }
            }

            function toggleMenuSize(el) {
              var parentWrapper = jQuery(el).parents('.icon-menu-wrapper');
              var parentId = parentWrapper.attr('id');
              var menuCookieVal;
              parentWrapper.toggleClass('menu-maximize');
              if (parentWrapper.attr('class').indexOf('menu-maximize') == -1) {
                if (jQuery.cookie('menu-controller') != undefined) {
                  menuCookieVal = jQuery.cookie('menu-controller');
                  jQuery.cookie('menu-controller', menuCookieVal + ',' + parentId + '-minimized', {
                    domain: '',
                    path: '/'
                  });
                } else {
                  jQuery.cookie('menu-controller', parentId + '-minimized', {
                    domain: '',
                    path: '/'
                  });
                }
              } else {
                menuCookieVal = jQuery.cookie('menu-controller');
                menuCookieVal = menuCookieVal.replace(parentId + '-minimized', '');
                jQuery.removeCookie('menu-controller', {
                  domain: '',
                  path: '/'
                });
              }
            }

            function checkMinmizedSetting() {
              var menuCookieVal;
              var elementId;
              if (jQuery.cookie('menu-controller') != undefined) {
                menuCookieVal = jQuery.cookie('menu-controller').split(',');
                for (var i = 0; i < menuCookieVal.length; i++) {
                  elementId = menuCookieVal[i].replace('-minimized', '');
                  jQuery('#' + elementId).removeClass('menu-maximize');
                }
              }
            }

            function checkLocalStorage() {
              if (typeof(Storage) === "undefined") {
                jQuery('.menu-controls').hide();
              }
            }

            function calculateIconSize(wrapperWidth) {
              if (wrapperWidth < 40) {
                iconWidth = wrapperWidth * .8;
              }
              return iconWidth;
            }

            function calculateWidth() {
              var zIndex = 99;
              var wrapperWidth = jQuery('.icon-menu-wrapper > div > div[id$=divMyCustomMenuToolbar] .rootGroup').width();
              jQuery('.icon-menu-wrapper > div > div[id$=divMyCustomMenuToolbar]').each(function() {
                var targetElementId = jQuery(this).attr('id');
                var targetElementLength = jQuery('#' + targetElementId + ' .rootGroup > li').length;
                var targetElementWidth = (wrapperWidth / targetElementLength) - (1 / targetElementLength);
                jQuery(this).parents('.icon-menu-wrapper').css('z-index', zIndex);
                jQuery('#' + targetElementId + ' .rootGroup > li').css('width', targetElementWidth + 'px');
                if (targetElementWidth < 40) {
                  var fontSize = calculateIconSize(targetElementWidth);
                  jQuery('.icon-menu-wrapper > div > div[id$=divMyCustomMenuToolbar] .rootGroup li a [class*="fa-"]').css('font-size', fontSize + 'px');
                }
                zIndex--;
              });
              /*var totalItems = jQuery('div#ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_divMyCustomMenuToolbar[id$ = "divMyCustomMenuToolbar"].rootGroup > li').length;

              var widthPerItem = (wrapperWidth / totalItems) - (1 / totalItems);* /

              //alert(wrapperWidth);
              //alert(totalItems);
              //alert(widthPerItem);
              /*return widthPerItem;*/
            }

            function removeTexts() {
              var itemText, iconHtml, defaultIcon = '<i class="fa fa-list fa-lg fa-menuicon"></i>';
              jQuery('.icon-menu-wrapper > div > div[id$=divMyCustomMenuToolbar] ul.rootGroup > li > a').each(function() {
                itemText = jQuery(this).children('span').text();
                iconHtml = jQuery(this).children('span').html();
                iconHtml = iconHtml.split(itemText.trim().split(' ')[0])[0];
                jQuery(this).attr('title', itemText);
                if (iconHtml == '') {
                  jQuery(this).children('span').html(defaultIcon);
                } else {
                  jQuery(this).children('span').html(iconHtml);
                }
              });
            }

            function addClassToNextToLast() {
              var totalItems = jQuery('.icon-menu-wrapper > div > div[id$=divMyCustomMenuToolbar] .rootGroup > li').length;
              var selectedItem = jQuery('.icon-menu-wrapper > div > div[id$=divMyCustomMenuToolbar] .rootGroup > li')[totalItems - 2];
              if (totalItems > 2) {
                jQuery(selectedItem).addClass('next-to-last');
              }
            }

            function showAdminMenu() {
              var bodyVar = jQuery('#aspnetForm');
              if (bodyVar.attr('class').indexOf('admin-menu-active') == -1) {
                bodyVar.addClass('admin-menu-active');
                var targetElement = jQuery('#new-admin-toolbar-wrapper');
                jQuery('head').append('<style id="show-admin">#new-admin-toolbar-wrapper{ height: calc(100% - ' + Math.abs(targetElement.position().top) + 'px) }</style>');
              } else {
                bodyVar.removeClass('admin-menu-active');
                jQuery('#show-admin').remove();
              }
            }

            function checkSlideLocation() {
              /*Funcion to check the location of the slide*/
              jQuery('.icon-menu-wrapper > div > div[id$=divMyCustomMenuToolbar] .rootGroup li').hover(function() {
                var siteWidth = jQuery('#newAdminToolbar').position().left + jQuery(this).parents('#newAdminToolbar').width();
                if (jQuery(this).children('div').length > 0) {
                  if (jQuery(this).children('div').offset().left + jQuery(this).children('div').width() > siteWidth) {
                    jQuery(this).children('div').addClass('slide-offbound');
                  }
                }
              });
            }

            function resizeIconWidth() {
              jQuery('.icon-menu-wrapper > div > div[id$=divMyCustomMenuToolbar] div ul li a span').removeClass("text");
              jQuery('.icon-menu-wrapper > div > div[id$=divMyCustomMenuToolbar]').show();
              calculateWidth();
              /*var width = calculateWidth();
jQuery('.icon-menu-wrapper > div > div[id$=divMyCustomMenuToolbar] .rootGroup > li').css('width', width + 'px');*/
              //jQuery('div#ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_divMyCustomMenuToolbar[id$="divMyCustomMenuToolbar"] .rootGroup.rootGroup > li > a').css('width', width + 'px');
              //jQuery('div#ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_divMyCustomMenuToolbar[id$="divMyCustomMenuToolbar"] .rootGroup.rootGroup > li').css('display', 'table-cell');
            }

            function checkMenuItems() {
              var isAMenuVisible = false;
              jQuery('.icon-menu-wrapper > div > div[id$="divMyCustomMenuToolbar"]').each(function() {
                var targetElementId = jQuery(this).attr('id'),
                  targetElementLength = jQuery('#' + targetElementId + ' .rootGroup > li').length;
                if (targetElementLength != 0) {
                  jQuery(this).show();
                  jQuery(this).parents('.icon-menu-wrapper').show();
                  isAMenuVisible = true;
                }
              });
              if (isAMenuVisible === true && typeof(isHideMenu) != 'undefined' && isHideMenu != true) {
                jQuery('#backoffice-wrapper > .left-navbar').show();
                jQuery('#aspnetForm').addClass('icon-menu-shown');
              } else {
                jQuery('#aspnetForm').addClass('icon-menu-hidden');
              }
            }
            //Commented by Alkesh - 20170411 - use UserIsAdmin global variable
            //jQuery.ajax({
            //    type: 'GET',
            //    contentType: "application/json; charset=utf-8", url: document.location.protocol + "//" + document.location.host + '/api/application/user/GetMyAccess',
            //    data: '{}', success: function (data) {
            //        if (data) {
            //            data.IsAdmin;
            //            data.IsDistributor;
            //            data.IsCustomer;
            //            if (data.IsAdmin == true) {
            //                /*removeTexts();*/
            //                jQuery('#new-admin-toolbar-wrapper').show();
            //                resizeIconWidth();
            //            }
            //        }
            //    }
            //});
            //End Added Alkesh
            function showIconMenuTitle() {
              jQuery('.menu-controls').each(function() {
                var toolbarId = jQuery(this).parent('#new-admin-toolbar-wrapper').find('[id$="divMyCustomMenuToolbar"]').attr('id');
                if (toolbarId.indexOf('CustomMenuToolBarModule1') != -1) {
                  jQuery(this).find('.admin-menu-label').show();
                } else {
                  jQuery(this).find('.distrib-menu-label').show();
                }
              });
            }

            function updateHtmlText() {
              jQuery('[id$="divMyCustomMenuToolbar"] .rootGroup > li > a > span').each(function() {
                var iconText = jQuery(this).text(),
                  iconHtml = jQuery(this).find('[class*="fa-"]').prop('outerHTML'),
                  newIconHtml;
                /*newIconHtml = iconHtml.replace(iconText, '<span class="icon-text">'+iconText+'</span>');*/
                if (iconHtml != undefined) {
                  newIconHtml = iconHtml + '<span class="icon-text">' + iconText + '</span>';
                } else {
                  newIconHtml = '<span class="icon-text">' + iconText + '</span>';
                }
                jQuery(this).html(newIconHtml);
              });
            }

            function sideMenuInit() {
              if (jQuery('#aspnetForm').attr('data-menu-orientation') == 'left-vertical') {
                jQuery('[id$="divMyCustomMenuToolbar"] .expandable:not(.expanded)').each(function() {
                  jQuery(this).attr('data-collapsed', 'true');
                  jQuery(this).next().children('.group').height(0);
                });
                jQuery('.left-navbar [id$="divMyCustomMenuToolbar"] .expandable').on('click', function() {
                  var expandableElem = jQuery(this),
                    calcHeight = expandableElem.next().children('.group').prop('scrollHeight'),
                    elementTop,
                    documentScrollTop;
                  if (expandableElem.attr('data-collapsed') == 'true') {
                    jQuery('[data-collapsed="false"]').attr('data-prev-collapsed', 'true');
                    expandableElem.parents('li').children('[data-collapsed]').attr('data-collapsed', 'false').removeAttr('data-prev-collapsed');
                    expandableElem.attr('data-collapsed', 'false');
                    expandableElem.next().children('.group').animate({
                      height: calcHeight
                    }, 500);
                  } else {
                    expandableElem.attr('data-collapsed', 'true').removeAttr('data-prev-collapsed');
                    expandableElem.next().children('.group').animate({
                      height: 0
                    }, 500);
                    expandableElem.next().find('.group').each(function() {
                      jQuery(this).animate({
                        height: 0
                      }, 250);
                    });
                  }
                  /*jQuery('#aspnetForm').attr('style','overflow:hidden!important');*/
                  jQuery('[data-prev-collapsed="true"]').next().children('.group').animate({
                    height: 0
                  }, {
                    duration: 500
                  }).promise().done(function() {
                    /*elementTop = expandableElem.offset().top - jQuery('#header-wrapper').prop('scrollHeight');
                    documentScrollTop = jQuery(document).scrollTop();
                    if ( documentScrollTop > elementTop ) {
                        jQuery('html, body').animate({
                            scrollTop: elementTop
                        }).promise().done(function(){
                            jQuery('#aspnetForm').removeAttr('style');
                        });
                    } else {
                        jQuery('#aspnetForm').removeAttr('style');
                    }*/
                  });
                  jQuery('[data-prev-collapsed="true"]').each(function() {
                    jQuery(this).removeAttr('data-prev-collapsed').attr('data-collapsed', 'true').removeClass('expanded');
                  });
                });
              }
            }

            function updateDistributorMenuText() {
              if (jQuery('#distributor-menu .shop-category-mobile span').text().toLowerCase() == 'customer menu') {
                jQuery('#distributor-menu .shop-category-mobile span').text('Menu');
              }
            }

            function checkContentWidth() {
              if (jQuery(window).width() == jQuery('#backoffice-wrapper > .container').width()) {
                jQuery('[data-menu-orientation="left-vertical"].logged-in .left-navbar + .container').css('left', 0);
              }
            }

            function customMenuToolBarReady() {
              customMenuToolBarReady.called = true;
              var menuCookie = customMenuGetCookie('leftmenulayout'),
                aspNetForm = jQuery('#aspnetForm');
              if (typeof(UserIsCustomer) != "undefined" && UserIsCustomer == 'True') {
                jQuery('#aspnetForm').addClass('logged-in');
              }
              if (typeof(enableLeftSideMenu)) {
                if (enableLeftSideMenu == true) {
                  if (jQuery('.left-navbar').length > 0) {
                    aspNetForm.attr('data-menu-orientation', 'left-vertical');
                  }
                } else {
                  aspNetForm.attr('data-menu-orientation', 'horizontal');
                }
                if (menuCookie == 'minimizeleftmenu') {
                  aspNetForm.removeClass('expand-left-menu');
                  aspNetForm.addClass('minimize-left-menu');
                } else {
                  aspNetForm.addClass('expand-left-menu');
                  aspNetForm.removeClass('minimize-left-menu');
                }
              }
              sideMenuInit();
              loadColorThief();
              updateHtmlText();
              checkSlideLocation();
              addClassToNextToLast();
              checkMinmizedSetting();
              showIconMenuTitle();
              checkMenuItems();
              resizeIconWidth();
              updateDistributorMenuText();
              checkContentWidth();
            }

            function customMenuToolBarLoad() {
              customMenuToolBarLoad.called = true;
              try {
                var color = sessionStorage.getItem('colorThiefRgb');
                jQuery('head').append(
                  '<style>.menu-controls [class*="fa-"],.menu-title span,html [data-menu-orientation="left-vertical"] .left-navbar .menu-maximize [id$="divMyCustomMenuToolbar"] .rootGroup > li > a [class*="fa-"],[data-menu-orientation="horizontal"] #newAdminToolbar [id$=divMyCustomMenuToolbar] .rootGroup>li:not(:hover)>a:not(.expanded):not(.selected) [class*="fa-"]{color:' +
                  color +
                  '!important;}html [data-menu-orientation="left-vertical"].minimize-left-menu .rootGroup li:hover>a.expandable,html [id$="divMyCustomMenuToolbar"] .rootGroup li.active > a,html [id$="divMyCustomMenuToolbar"] .rootGroup li > a.selected,html [id$="divMyCustomMenuToolbar"] .rootGroup li > a.expanded,html [id$="divMyCustomMenuToolbar"] .rootGroup li:hover > a,#navigation-toggler > a{background-color: ' +
                  color + '!important;}</style>');
              } catch (sessionStorageError) {}
            }

            function checkCategoryMenu() {
              if (jQuery('#new-category-menu').length > 0) {
                jQuery('body').addClass('new-category-menu-on-page');
              }
            }

            function detectExpandedSlide() {
              if (jQuery('#aspnetForm').attr('data-menu-orientation') == 'left-vertical') {
                var lastSlideIndexId, prevSlideHeight = 0;
                jQuery('[id$="divMyCustomMenuToolbar"] .slide').each(function() {
                  if (jQuery(this).outerHeight() > 0) {
                    lastSlideIndexId = jQuery(this).prev().attr('id');
                    jQuery(this).prev().addClass('expanded');
                    jQuery(this).prev().attr('data-collapsed', 'false');
                  }
                });
                jQuery('#' + lastSlideIndexId).parents('.slide').each(function() {
                  var slideElem = jQuery(this),
                    slideLinkTriggerElem = slideElem.prev(),
                    groupElem = slideElem.children('.group'),
                    liGroupElem = groupElem.children('li'),
                    groupHeight = liGroupElem.length * liGroupElem.outerHeight();
                  prevSlideHeight += groupHeight;
                  slideLinkTriggerElem.addClass('expanded').attr('data-collapsed', 'false');
                  console.log(prevSlideHeight, groupHeight);
                  groupElem.height(prevSlideHeight);
                });
              }
            }

            function updateLeftNavbarIcon() {
              var targetElem = jQuery('#navigation-toggler > a'),
                targetClasses = jQuery('#navigation-toggler > a').attr('class');
              if (targetClasses !== undefined) {
                targetClasses = targetClasses.split(' ');
                jQuery.each(targetClasses, function(i, tClass) {
                  if (tClass !== 'new-icon' && tClass !== 'ds') {
                    jQuery('#navigation-toggler > a:not(.new-icon)').html('<i class="fas fa-bars"></i>').addClass('new-icon');
                  }
                })
              } else {
                jQuery('#navigation-toggler > a:not(.new-icon)').html('<i class="fas fa-bars"></i>').addClass('new-icon');
              }
            }
            jQuery(document).ready(function() {
              checkCategoryMenu();
              updateLeftNavbarIcon();
              if (customMenuToolBarReady.called != true) {
                customMenuToolBarReady();
              }
              /*jQuery('[id$="divMyCustomMenuToolbar"] > div > ul > li').click(function(){
			jQuery(this).find('.slide').hide();
		});*/
              //Added By Alkesh - remove call to getmyAccess 
              if (typeof(UserIsAdmin) != 'undefined' && UserIsAdmin == "True") {
                jQuery('.new-admin-toolbar-option,.menu-controls').show();
              }
              //End Added Alkesh
            });
            jQuery(window).resize(function() {
              setTimeout(function() {
                calculateWidth();
                /*var width = calculateWidth();
                jQuery('div#ctl00_CustomMenuToolBarModule2_CustomMenuToolBar1_divMyCustomMenuToolbar[id$ = "divMyCustomMenuToolbar"].rootGroup > li').css('width', width + 'px');*/
              }, 0);
            });
            jQuery(window).on('load', function() {
              if (customMenuToolBarLoad.called != true) {
                customMenuToolBarLoad();
                detectExpandedSlide();
              }
            });
          </script>
        </div>
      </div>
      <div class="container">
        <div class="row">
          <style>
            #breadcrumbs {
              float: left;
              width: 100%;
              margin: 10px 0;
            }

            #breadcrumbs>div {
              float: left;
            }

            #breadcrumbs>div:not(:first-child) {
              margin: 0 5px;
            }

            #breadcrumbs>div a,
            #breadcrumbs>div a:active {
              cursor: pointer;
              color: #333;
              font-size: 14px;
              position: relative;
            }
          </style>
          <div id="breadcrumbs">
            <div id="breadcrumbs-home"><a href="/"><i class="fa fa-home"></i> Home</a></div>
            <div id="menu-name"></div>
            <div id="page-name"></div>
          </div>
        </div>
        <div class="row" id="main-content">
          <div class="white-page-text"> White page </div>
          <div class="rTable" id="dvLayout">
            <div class="rTableBody">
              <div class="rTableRow">
                <div id="ctl00_CPH_divContPane" class="rTableCell contentpane" panenm="0">
                  <div id="ctl00_CPH_moduleContainer14098" class="moduleContainer">
                    <div></div>
                    <div></div>
                    <div class="full-width empty-module-skin-wrapper">
                      <style>
                        .empty-module-skin-wrapper>table {
                          table-layout: fixed;
                        }
                      </style>
                      <table cellpadding="0" cellspacing="0" border="0" class="Test1" style="display:none;">
                        <tbody>
                          <tr height="26px">
                            <td class="td_mod_header">
                              <table cellpadding="0" cellspacing="0" border="0" width="100%">
                                <tbody>
                                  <tr>
                                    <td width="1px">
                                      <script language="javascript">
                                        var AdminDesignMode = 'False';
                                        var UserDesignMode = 'False';
                                        var SharedViewMode = 'False';
                                      </script>
                                    </td>
                                    <td class="td_mod_tit"><span id="ctl00_CPH_ctl02_title_lblTitle" class="module_title">Homepage content</span></td>
                                    <td class="td_mod_roll"></td>
                                    <td class="td_mod_roll"></td>
                                    <td class="td_mod_roll"></td>
                                  </tr>
                                </tbody>
                              </table>
                            </td>
                          </tr>
                          <tr></tr>
                        </tbody>
                      </table>
                      <table width="100%">
                        <tbody>
                          <tr>
                            <td id="ctl00_CPH_ctl02_Content" class="">
                              <style>
                                #html5 .edit-module-wrapper .pushbutton {
                                  width: auto !important;
                                  padding: 0 20px !important;
                                  background-size: cover;
                                  margin: 0 5px 0 0 !important;
                                  float: none;
                                }

                                @media (max-device-width: 767px) {
                                  #html5 .edit-module-wrapper .pushbutton {
                                    width: 100% !important;
                                    margin: 0 !important;
                                  }
                                }
                              </style>
                              <div class="full-width">
                                <div class="row clearfix">
                                  <div id="OldContentEditableDiv" class="column full display">
                                    <link rel="stylesheet" href="/NOVATECHLTD/Userfiles/wp-content/themes/novatech/assets/css/parallax.css?ver=5.2.5">
                                    <link rel="stylesheet" href="/NOVATECHLTD/Userfiles/wp-content/themes/novatech/assets/css/new-home.css?ver=5.2.5">
                                    <link rel="stylesheet" href="/NOVATECHLTD/Userfiles/wp-content/themes/novatech/assets/css/home_responsive.css?ver=5.2.5">
                                    <link rel="stylesheet" href="/NOVATECHLTD/Userfiles/wp-content/themes/novatech/assets/css/bootstrap.min.css?ver=5.2.5">
                                    <link rel="stylesheet" href="/NOVATECHLTD/Userfiles/wp-content/themes/novatech/assets/css/style.css?ver=5.2.5">
                                    <style>
                                      div#breadcrumbs {
                                        display: none !important;
                                      }

                                      #backoffice-wrapper>.container {
                                        width: 100% !important;
                                        padding: 0 !important;
                                      }

                                      [data-menu-orientation="left-vertical"].expand-left-menu .left-navbar {
                                        display: none !important;
                                      }

                                      div#main-content {
                                        margin: 0 !important;
                                      }

                                      td#ctl00_CPH_ContentPane {
                                        padding: 0;
                                      }

                                      #catapult-cookie-bar {
                                        box-sizing: border-box;
                                        max-height: 0;
                                        opacity: 0;
                                        z-index: 99999;
                                        overflow: hidden;
                                        color: #ffffff;
                                        position: fixed;
                                        left: 0;
                                        bottom: 0;
                                        width: 100%;
                                        background-color: #464646;
                                      }

                                      html div#nova-content a {
                                        color: #fff !important;
                                      }

                                      #catapult-cookie-bar a {
                                        color: #ff6d6d;
                                      }

                                      #catapult-cookie-bar .x_close span {
                                        background-color: #ffffff;
                                      }

                                      button#catapultCookie {
                                        background: #3eb9a3;
                                        color: #ffffff;
                                        border: 0;
                                        padding: 6px 9px;
                                        border-radius: 3px;
                                      }

                                      #catapult-cookie-bar h3 {
                                        color: #ffffff;
                                      }

                                      .has-cookie-bar #catapult-cookie-bar {
                                        opacity: 1;
                                        max-height: 999px;
                                        min-height: 30px;
                                      }

                                      .banner-section .video-era {
                                        position: relative;
                                        padding-bottom: 62.25%;
                                      }

                                      .banner-section .video-era iframe {
                                        position: absolute;
                                        top: 0;
                                        left: 0;
                                        width: 100%;
                                        height: 100%;
                                      }

                                      .media-body a {
                                        margin-right: 10px;
                                      }

                                      .banner-section .custom-widget {
                                        position: absolute;
                                        top: 50px;
                                        left: 50%;
                                        max-width: 1471px;
                                        width: 100%;
                                        transform: translate(-50%, -50%);
                                      }

                                      .custom-widget>div {
                                        margin: 25px auto;
                                      }

                                      .custom-widget {
                                        width: 100%;
                                        text-align: center;
                                      }

                                      .tradingview-widget-copyright {
                                        text-shadow: 1px 1px #0e0e0e;
                                        width: 100% !important;
                                      }

                                      #OldContentEditableDiv {
                                        padding: 0;
                                      }

                                      .custom-widget iframe,
                                      .custom-widget div {
                                        max-width: 100%;
                                      }

                                      @media screen and (max-width: 768px) {

                                        .custom-widget iframe,
                                        .custom-widget div {
                                          width: 100% !important;
                                        }

                                        .custom-widget {
                                          padding-left: 15px;
                                          padding-right: 15px;
                                        }

                                        html .banner-content {
                                          padding: 70px 0;
                                        }

                                        .banner-section .banner-left,
                                        .banner-section .banner-right {
                                          width: 100%;
                                        }

                                        .banner-content {
                                          max-width: 100%;
                                        }
                                      }
                                    </style>
                                    <div id="nova-content">
                                      <section class="banner-section mbr-box mbr-section mbr-section--full-height mbr-section--bg-adapted mbr-parallax-background" id="header1-0"
                                        style="background-image: url(//4novatechcdn.novatechfx.com/NOVATECHLTD/UserFiles/novotech/banner-bg-1349x750.jpg);">
                                        <div class="mbr-box__magnet">
                                          <div class="mbr-overlay" style="opacity: 0.6; background-color: rgba(0, 48, 91, 0.4);"></div>
                                          <div class="container-fluid h-100">
                                            <div class="row h-100 align-items-center">
                                              <div class="col-lg-5 col-md-5 bc-col pl-md-0 banner-left" style="background-color: rgba(0, 48, 91, 0.75);">
                                                <div class="banner-content-wrap">
                                                  <div class="banner-content">
                                                    <h1 class="font-1"></h1>
                                                    <h1 class="font-1"></h1>
                                                    <h1 class="font-1">FOREX &amp; CRYPTO</h1>
                                                    <h2 class="font-2">TRADING PLATFORM</h2>
                                                    <p class="para">Trade with ultra-low commissions and PIP Spreads or sign up for a Fully Automated PAMM account. </p>
                                                    <div class="green-btn-box">
                                                      <div class="button-shadow"></div><a href="https://my.novatechfx.io/" class="button"><span>Try a Demo Account</span></a>
                                                    </div>
                                                  </div>
                                                </div>
                                              </div>
                                              <div class="col-lg-6 col-md-7 banner-right">
                                                <div class="video-era">
                                                  <!--<video src="//4novatechcdn.novatechfx.com/wp-content/uploads/2020/04/file.mp4" type="video/mp4" id="video_player" class="landing" style="width: 100%;height:100%" controls="" autoplay="true" muted="muted" loop=""></video>--><iframe
                                                    width="560" height="315" src="https://www.youtube.com/embed/9wsdT0FU0QE?rel=0&amp;autoplay=1&amp;mute=1&amp;loop=1&amp;playlist=9wsdT0FU0QE" frameborder="0"
                                                    allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen=""></iframe></div>
                                              </div>
                                            </div>
                                          </div>
                                        </div>
                                        <div class="custom-widget"><!-- TradingView Widget BEGIN -->
                                          <div class="tradingview-widget-container" style="width: 100%; height: 78px;"><iframe scrolling="no" allowtransparency="true" frameborder="0"
                                              src="https://s.tradingview.com/embed-widget/ticker-tape/?locale=en#%7B%22symbols%22%3A%5B%7B%22proName%22%3A%22FOREXCOM%3ASPXUSD%22%2C%22title%22%3A%22S%26P%20500%22%7D%2C%7B%22proName%22%3A%22FOREXCOM%3ANSXUSD%22%2C%22title%22%3A%22Nasdaq%20100%22%7D%2C%7B%22proName%22%3A%22FX_IDC%3AEURUSD%22%2C%22title%22%3A%22EUR%2FUSD%22%7D%2C%7B%22proName%22%3A%22BITSTAMP%3ABTCUSD%22%2C%22title%22%3A%22BTC%2FUSD%22%7D%2C%7B%22proName%22%3A%22BITSTAMP%3AETHUSD%22%2C%22title%22%3A%22ETH%2FUSD%22%7D%2C%7B%22description%22%3A%22AUD%2FUSD%22%2C%22proName%22%3A%22OANDA%3AAUDUSD%22%7D%2C%7B%22description%22%3A%22GBP%2FJPY%22%2C%22proName%22%3A%22OANDA%3AGBPJPY%22%7D%2C%7B%22description%22%3A%22XAU%2FUSD%22%2C%22proName%22%3A%22FOREXCOM%3AXAUUSD%22%7D%5D%2C%22colorTheme%22%3A%22dark%22%2C%22isTransparent%22%3Afalse%2C%22displayMode%22%3A%22adaptive%22%2C%22width%22%3A%22100%25%22%2C%22height%22%3A78%2C%22utm_source%22%3A%22novatrading.io%22%2C%22utm_medium%22%3A%22widget_new%22%2C%22utm_campaign%22%3A%22ticker-tape%22%7D"
                                              style="box-sizing: border-box; height: 46px; width: 100%;"></iframe>
                                            <div class="tradingview-widget-copyright"><a href="https://www.tradingview.com" rel="noopener" target="_blank"><span class="blue-text">Ticker Tape</span></a> by TradingView</div>
                                            <style>
                                              .tradingview-widget-copyright {
                                                font-size: 13px !important;
                                                line-height: 32px !important;
                                                text-align: center !important;
                                                vertical-align: middle !important;
                                                font-family: 'Trebuchet MS', Arial, sans-serif !important;
                                                color: #9db2bd !important;
                                              }

                                              .tradingview-widget-copyright .blue-text {
                                                color: #2196f3 !important;
                                              }

                                              .tradingview-widget-copyright a {
                                                text-decoration: none !important;
                                                color: #9db2bd !important;
                                              }

                                              .tradingview-widget-copyright a:visited {
                                                color: #9db2bd !important;
                                              }

                                              .tradingview-widget-copyright a:hover .blue-text {
                                                color: #38acdb !important;
                                              }

                                              .tradingview-widget-copyright a:active .blue-text {
                                                color: #299dcd !important;
                                              }

                                              .tradingview-widget-copyright a:visited .blue-text {
                                                color: #2196f3 !important;
                                              }
                                            </style>
                                          </div><!-- TradingView Widget END -->
                                        </div>
                                      </section>
                                      <div class="scroll-space" id="about"></div>
                                      <section class="what-we-offer-sec">
                                        <div class="container-fluid">
                                          <div class="row">
                                            <div class="col-lg-5 col-md-5 offer-left" style="background-color: #EAF4F6;">
                                              <div class="what-we-right-col">
                                                <h1 class="font-1">WHAT WE</h1>
                                                <h2 class="font-2">OFFER</h2>
                                                <div class="what-we-img-sec"><img src="//1novatechcdn.novatechfx.com/NOVATECHLTD/UserFiles/novotech//mt5-charts_clipped_rev_2.png" class="img-fluid"></div>
                                              </div>
                                            </div>
                                            <div class="col-lg-5 col-md-7 offer-right">
                                              <div class="offer-content">
                                                <div class="row">
                                                  <div class="col-md-6 offer-content-col c-1">
                                                    <div class="media">
                                                      <div class="color-square"></div>
                                                      <div class="media-body">
                                                        <h6 class="font-6 text-darkblue">PAMM ACCOUNTS</h6>
                                                        <p> The PAMM account is a unique product that allows investors to earn without having to trade. You can invest your funds in NovaTech's master accounts to be traded by our experienced team of
                                                          traders. We receive a percentage of the profits we earn from trading with your funds as a reward. No experience needed. </p>
                                                      </div>
                                                    </div>
                                                  </div>
                                                  <div class="col-md-6 offer-content-col c-2">
                                                    <div class="media">
                                                      <div class="color-square"></div>
                                                      <div class="media-body">
                                                        <h6 class="font-6 text-darkblue">MOBILE TRADING</h6>
                                                        <p> Full-fledged financial market trading can be enjoyed by installing the mobile version of MetaTrader 5 for Android or iOS on your smartphone or tablet. The mobile applications support all
                                                          trading functions and allow you to monitor account status, view your trading history and more. </p>
                                                      </div>
                                                    </div>
                                                  </div>
                                                  <div class="col-md-6 offer-content-col c-3">
                                                    <div class="media">
                                                      <div class="color-square"></div>
                                                      <div class="media-body">
                                                        <h6 class="font-6 text-darkblue">METATRADER 5 PLATFORM</h6>
                                                        <p> Our platform represents the all-in-one concept and offers impressive analytical tools for those choosing to trade on their own, including graphic objects and detailed analysis of quote
                                                          dynamics. We feature more than 100 Forex and crypto currency pairs along with more than 80 technical indicators and analytical tools. </p>
                                                      </div>
                                                    </div>
                                                  </div>
                                                  <div class="col-md-6 offer-content-col c-4">
                                                    <div class="media">
                                                      <div class="color-square"></div>
                                                      <div class="media-body">
                                                        <h6 class="font-6 text-darkblue">AFFILIATE MARKETING</h6>
                                                        <p> Earn commissions through affiliate marketing and forming successful partnerships. By sharing our platform with others you can earn profits as you build teams and collect a percentage of all
                                                          fees! </p>
                                                      </div>
                                                    </div>
                                                  </div>
                                                  <div class="col-md-6 offer-content-col c-5">
                                                    <div class="media">
                                                      <div class="color-square"></div>
                                                      <div class="media-body">
                                                        <h6 class="font-6 text-darkblue">NO DEPOSIT FEES</h6>
                                                        <p> Trade as soon as you open and fund your account with ZERO deposit fees. </p>
                                                      </div>
                                                    </div>
                                                  </div>
                                                  <div class="col-md-6 offer-content-col c-6">
                                                    <div class="media">
                                                      <div class="color-square"></div>
                                                      <div class="media-body">
                                                        <h6 class="font-6 text-darkblue">24/7 CUSTOMER SERVICE</h6>
                                                        <p> Chat with us online or email us for quick replies to your inquiries.</p>
                                                      </div>
                                                    </div>
                                                  </div>
                                                </div>
                                              </div>
                                            </div>
                                          </div>
                                        </div>
                                      </section>
                                      <div class="scroll-space" id="treding">
                                        <p>&nbsp;</p>
                                      </div>
                                    </div>
                                  </div>
                                  <p>&nbsp;</p>
                                </div>
                                <div class="scroll-space" id="treding"><!-- Begin widget code -->
                                  <div data-rw-inline="18398" style="text-align: center;"><rw-widget-inline data-rw-inline="18398" class="hydrated" style="max-width: 100%; display: inline-block;"></rw-widget-inline></div>
                                  <script data-cfasync="false" crossorigin="anonymous" type="module" src="https://widgets.thereviewsplace.com/2.0/rw-widget-inline.js"></script><!-- End widget code -->
                                  <p>&nbsp;</p>
                                </div>
                                <p>&nbsp;</p>
                                <p>&nbsp;</p>
                                <div class="scroll-space" id="treding"></div>
                                <section class="treding-sec bg-darkblue">
                                  <div class="container-lg">
                                    <div class="row">
                                      <div class="col-md-7 treding-right-col">
                                        <div class="treding-img-wrap"></div>
                                      </div>
                                      <div class="row">
                                        <div class="custom-widget margin-bottom-10"><!-- TradingView Widget BEGIN -->
                                          <div class="tradingview-widget-container">
                                            <div id="tradingview_533f2"><iframe id="tradingview_3c497"
                                                src="https://s.tradingview.com/mediumwidgetembed/?symbols=EUR%2FUSD,GBP%2FJPY,BTC%2FUSD&amp;EUR%2FUSD=OANDA%3AEURUSD%7C12m&amp;GBP%2FJPY=OANDA%3AGBPJPY%7C12m&amp;BTC%2FUSD=BITSTAMP%3ABTCUSD%7C12m&amp;topColor=rgba(55%2C%20166%2C%20239%2C%200.15)&amp;lineColor=rgba(164%2C%20194%2C%20244%2C%201)&amp;chartType=area&amp;locale=en&amp;fontColor=rgba(238%2C%20238%2C%20238%2C%201)&amp;gridLineColor=%232a2e39&amp;width=1000px&amp;height=calc(400px%20-%2032px)&amp;colorTheme=dark&amp;isTransparent=1&amp;utm_source=overseacanuck.novatechfx.com&amp;utm_medium=widget_new&amp;utm_campaign=symbol-overview"
                                                style="margin: 0 !important; padding: 0 !important; width: 1000px; height: calc(400px - 32px);" frameborder="0" allowtransparency="true" scrolling="no"></iframe></div>
                                            <div class="tradingview-widget-copyright" style="width: 1000px;"><a href="https://www.tradingview.com/symbols/OANDA-EURUSD/" rel="noopener" target="_blank"><span class="blue-text">EUR/USD</span></a>,
                                              <a href="https://www.tradingview.com/symbols/OANDA-GBPJPY/" rel="noopener" target="_blank"><span class="blue-text">GBP/JPY</span></a><span
                                                class="blue-text">and</span><a href="https://www.tradingview.com/symbols/BITSTAMP-BTCUSD/" rel="noopener" target="_blank"><span class="blue-text">BTC/USD Quotes</span></a> by TradingView </div>
                                            <script type="text/javascript" src="https://s3.tradingview.com/tv.js"></script>
                                            <script type="text/javascript">
                                              if (document.location.href.indexOf('Edit') == -1) {
                                                new TradingView.MediumWidget({
                                                  "symbols": [
                                                    ["EUR/USD", "OANDA:EURUSD|12m"],
                                                    ["GBP/JPY", "OANDA:GBPJPY|12m"],
                                                    ["BTC/USD", "BITSTAMP:BTCUSD|12m"]
                                                  ],
                                                  "chartOnly": false,
                                                  "width": 1000,
                                                  "height": 400,
                                                  "locale": "en",
                                                  "colorTheme": "dark",
                                                  "gridLineColor": "#2a2e39",
                                                  "trendLineColor": "rgba(164, 194, 244, 1)",
                                                  "fontColor": "rgba(238, 238, 238, 1)",
                                                  "underLineColor": "rgba(55, 166, 239, 0.15)",
                                                  "isTransparent": true,
                                                  "autosize": false,
                                                  "container_id": "tradingview_533f2"
                                                });
                                              }
                                            </script>
                                          </div><!-- TradingView Widget END -->
                                        </div>
                                        <div class="custom-widget">
                                          <div class="tradingview-widget-container">
                                            <div class="tradingview-widget-container__widget"></div>
                                            <div class="tradingview-widget-copyright"><a href="https://www.tradingview.com/symbols/OANDA-EURUSD/technicals/" rel="noopener" target="_blank"><span class="blue-text">Technical Analysis for
                                            EURUSD</span></a> by TradingView</div>
                                          </div>
                                          <div class="tradingview-widget-copyright"></div>
                                          <div style="width: 425px; height: 450px;">
                                            <style>
                                              .tradingview-widget-copyright {
                                                font-size: 13px !important;
                                                line-height: 32px !important;
                                                text-align: center !important;
                                                vertical-align: middle !important;
                                                font-family: 'Trebuchet MS', Arial, sans-serif !important;
                                                color: #9db2bd !important;
                                              }

                                              .tradingview-widget-copyright .blue-text {
                                                color: #2196f3 !important;
                                              }

                                              .tradingview-widget-copyright a {
                                                text-decoration: none !important;
                                                color: #9db2bd !important;
                                              }

                                              .tradingview-widget-copyright a:visited {
                                                color: #9db2bd !important;
                                              }

                                              .tradingview-widget-copyright a:hover .blue-text {
                                                color: #38acdb !important;
                                              }

                                              .tradingview-widget-copyright a:active .blue-text {
                                                color: #299dcd !important;
                                              }

                                              .tradingview-widget-copyright a:visited .blue-text {
                                                color: #2196f3 !important;
                                              }
                                            </style><iframe scrolling="no" allowtransparency="true" frameborder="0"
                                              src="https://s.tradingview.com/embed-widget/technical-analysis/?locale=en#%7B%22interval%22%3A%221m%22%2C%22width%22%3A425%2C%22isTransparent%22%3Atrue%2C%22height%22%3A450%2C%22symbol%22%3A%22OANDA%3AEURUSD%22%2C%22showIntervalTabs%22%3Atrue%2C%22colorTheme%22%3A%22dark%22%2C%22utm_source%22%3A%22novatrading.io%22%2C%22utm_medium%22%3A%22widget_new%22%2C%22utm_campaign%22%3A%22technical-analysis%22%7D"
                                              style="box-sizing: border-box; height: calc(418px); width: 425px;"></iframe><br><br>
                                            <div style="text-align: justify;"><span style="font-size: 11px;">Markets and instruments profiled on this page are for informational purposes only and do not in any way intend to serve as recommendations to
                                                buy or sell in these assets.</span></div>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </section>
                                <section class="download-section content-1 mbr-parallax-background" id="msg-box5-1" style="background-image: url(//3novatechcdn.novatechfx.com/NOVATECHLTD/UserFiles/novotech/metatrader.jpg);">
                                  <div class="container-lg">
                                    <div class="offwhite-bg">
                                      <h1 class="font-1"
                                        style="text-transform: uppercase; box-shadow: rgb(189, 189, 189) 0px 0px; padding-top: 15px; border-color: initial; border-image: initial; line-height: 34px; font-weight: 600; font-family: &quot;Roboto Slab&quot;, serif; font-size: 16pt;">
                                        Download Metatrader 5</h1>
                                    </div>
                                    <div class="row">
                                      <div class="col-sm-8">
                                        <div class="metatrader-img-container"><img src="//1novatechcdn.novatechfx.com/NOVATECHLTD/UserFiles/novotech/Untitled-3.png" class="w-100"></div>
                                      </div>
                                    </div>
                                    <div class="os-row">
                                      <div class="offwhite-bg">
                                        <ul>
                                          <li><a href="https://download.mql5.com/cdn/web/14670/mt5/novatech5setup.exe"><img src="//4novatechcdn.novatechfx.com/NOVATECHLTD/UserFiles/novotech/windows.png" class="img-fluid os-img">
                                        Windows
                                    </a></li>
                                          <li><a href="https://apps.apple.com/us/app/metatrader-5-forex-stocks/id413251709"><img src="//3novatechcdn.novatechfx.com/NOVATECHLTD/UserFiles/novotech/ios.png" class="img-fluid os-img">
                                        ios</a></li>
                                          <li><a href="https://play.google.com/store/apps/details?id=net.metaquotes.metatrader5&amp;hl=en&amp;referrer=ref_id%3d87763415%26server%3dNovaTech-MetaTrader5"><img src="//2novatechcdn.novatechfx.com/NOVATECHLTD/UserFiles/novotech/android.png" class="img-fluid os-img">
                                        Android</a></li>
                                        </ul>
                                      </div>
                                    </div>
                                  </div>
                                </section>
                                <div class="scroll-space" id="service"></div>
                                <section class="getting-start-sec" id="getting_started">
                                  <div class="container-lg">
                                    <h1 class="font-2">GETTING STARTED</h1>
                                    <h4 class="font-4">CHOOSE YOUR ACCOUNT TYPE</h4>
                                    <div class="row">
                                      <div class="col-lg-3 col-md-4 getting-start-c-1">
                                        <div class="getting-start-content"><img src="//1novatechcdn.novatechfx.com/NOVATECHLTD/UserFiles/novotech/getting-img-1.png" class="img-fluid top-img">
                                          <h6 class="font-6">PAMM </h6>
                                          <p>PERCENTAGE ALLOCATION<br> MANAGEMENT MODDULE</p>
                                          <div class="screw-btn">
                                            <a target="_blank" href="https://novatechfx.com/enroll" title=""><div class="glow-shadow"></div><div class="screw screw1"></div><div class="screw screw2"></div><div class="screw screw3"></div><div class="screw screw4"></div><span>OPEN ACCOUNT</span></a>
                                          </div>
                                          <hr>
                                          <div class="media"><img src="//4novatechcdn.novatechfx.com/NOVATECHLTD/UserFiles/novotech/right-tick-mark.png" class="img-fluid right-tick-mark" alt="">
                                            <div class="media-body">
                                              <p>No Trading Experience<br> Needed</p>
                                            </div>
                                          </div>
                                          <div class="media media-middle"><img src="//4novatechcdn.novatechfx.com/NOVATECHLTD/UserFiles/novotech/right-tick-mark.png" class="img-fluid right-tick-mark" alt="">
                                            <div class="media-body">
                                              <p>Weekly Payouts</p>
                                            </div>
                                          </div>
                                          <div class="media"><img src="//4novatechcdn.novatechfx.com/NOVATECHLTD/UserFiles/novotech/right-tick-mark.png" class="img-fluid right-tick-mark" alt="">
                                            <div class="media-body">
                                              <p>Earn Additional income <br> through Affiliate Marketing</p>
                                            </div>
                                          </div>
                                        </div>
                                      </div>
                                      <div class="col-lg-3 col-md-4 getting-start-c-1">
                                        <div class="getting-start-content"><img src="//1novatechcdn.novatechfx.com/NOVATECHLTD/UserFiles/novotech/getting-img-2.png" class="img-fluid top-img">
                                          <h6 class="font-6">MT5</h6>
                                          <p>START TRADING ON THE<br> FOREIGN EXCHANGE MARKET</p>
                                          <div class="screw-btn">
                                            <a target="_blank" href="https://my.novatechfx.io/en/login"><div class="glow-shadow"></div><div class="screw screw1"></div><div class="screw screw2"></div><div class="screw screw3"></div><div class="screw screw4"></div><span>OPEN ACCOUNT</span></a>
                                          </div>
                                          <hr>
                                          <div class="media"><img src="//4novatechcdn.novatechfx.com/NOVATECHLTD/UserFiles/novotech/right-tick-mark.png" class="img-fluid right-tick-mark" alt="">
                                            <div class="media-body">
                                              <p>No Dealing Desks. Trades<br> Executed in Milliseconds</p>
                                            </div>
                                          </div>
                                          <div class="media media-middle"><img src="//4novatechcdn.novatechfx.com/NOVATECHLTD/UserFiles/novotech/right-tick-mark.png" class="img-fluid right-tick-mark" alt="">
                                            <div class="media-body">
                                              <p>Deep Liquidity</p>
                                            </div>
                                          </div>
                                          <div class="media"><img src="//4novatechcdn.novatechfx.com/NOVATECHLTD/UserFiles/novotech/right-tick-mark.png" class="img-fluid right-tick-mark" alt="">
                                            <div class="media-body">
                                              <p>100+ Fiat and Crypto Pairs <br> Available</p>
                                            </div>
                                          </div>
                                        </div>
                                      </div>
                                      <div class="col-lg-3 col-md-4 getting-start-c-1">
                                        <div class="getting-start-content"><img src="//1novatechcdn.novatechfx.com/NOVATECHLTD/UserFiles/novotech/getting-img-3.png" class="img-fluid top-img">
                                          <h6 class="font-6">PLAN COSTS </h6>
                                          <p>COMPARE PLANS &amp; CHOOSE THE<br> ONE THAT'S RIGHT FOR YOU </p>
                                          <div class="screw-btn">
                                            <a target="_blank" href="https://6783e53d-c45a-481f-9d7e-cec291c23d8f.filesusr.com/ugd/088ac1_28ff224f33dc47ceb1ea9ac11d35e735.pdf"><div class="glow-shadow"></div><div class="screw screw1"></div><div class="screw screw2"></div><div class="screw screw3"></div><div class="screw screw4"></div><span>COMPARE</span></a>
                                          </div>
                                          <hr>
                                          <div class="media"><img src="//4novatechcdn.novatechfx.com/NOVATECHLTD/UserFiles/novotech/right-tick-mark.png" class="img-fluid right-tick-mark" alt="">
                                            <div class="media-body">
                                              <p>Compare Benefits and Costs</p>
                                            </div>
                                          </div>
                                          <div class="media media-middle"><img src="//4novatechcdn.novatechfx.com/NOVATECHLTD/UserFiles/novotech/right-tick-mark.png" class="img-fluid right-tick-mark" alt="">
                                            <div class="media-body">
                                              <p>Quick Approvals. Start <br> Available</p>
                                            </div>
                                          </div>
                                          <div class="media">
                                            <div class="media-body">
                                              <p>&nbsp;</p>
                                            </div>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </section>
                                <div class="scroll-space" id="contact"></div>
                                <section class="contact-section content-1 mbr-parallax-background msg-box3-17" style="background-image: url(//2novatechcdn.novatechfx.com//NOVATECHLTD/UserFiles/novotech/contact-us-bg.png);">
                                  <div class="mbr-overlay" style="opacity: 0.8; background-color: rgba(15, 76, 133, 1);"></div>
                                  <div class="container-fluid">
                                    <div class="row">
                                      <div class="col-md-5" style="background-color: rgba(0, 48, 91, 0.4);">
                                        <div class="contact-left-col">
                                          <h2 class="font-2">CONTACT</h2>
                                          <h2 class="font-2">US</h2>
                                        </div>
                                      </div>
                                      <div class="col-lg-5 col-md-7">
                                        <div class="contact-right-col">
                                          <div class="media"><label>Email:</label>
                                            <div class="media-body"><span
                                                style="color: rgb(242, 242, 242);">info</span><a href="https://mail.google.com/mail/?view=cm&amp;fs=1&amp;tf=1&amp;to=info@novatechfx.com" target="_blank" title="">@novatechfx.com</a></div>
                                            <p class="media-body">&nbsp;</p>
                                          </div>
                                          <div class="social_icon">
                                            <div class="media-body">:</div>
                                            <p class="media-body">
                                              <a href="https://www.instagram.com/novatechfx/"><img src="//2novatechcdn.novatechfx.com/NOVATECHLTD/UserFiles/novotech/insta.png" class="img-fluid" target="_blank"></a><a href="https://www.youtube.com/channel/UCZrEEUurUUdLa7UP6CHS7pg?view_as=subscriber"><img src="//1novatechcdn.novatechfx.com/NOVATECHLTD/UserFiles/novotech/youtube.png" class="img-fluid" target="_blank"></a><a href="https://t.me/novatechfxofficial"><img src="//4novatechcdn.novatechfx.com/NOVATECHLTD/UserFiles/novotech/telegram.png" class="img-fluid" target="_blank"></a>
                                            </p>
                                            <p class="media-body">
                                              <a href="https://www.coinpayments.net/index.php?ref=8231cb01ceb266343d7173069dcb77d1"><img src="//3novatechcdn.novatechfx.com/NOVATECHLTD/UserFiles/Images/banner6_728x90-3.jpg" alt="" style=""></a></p>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </section>
                                <script src="https://www.testimonialtree.com/widgets/?widgetid=38265" type="text/javascript"></script>
                                <div class="clear"></div>
                                <p class="font_8" style="line-height:1.5em; display: none;"><span class="color_32">For any general inquiries, please fill in the following contact form:</span></p>
                                <p>&nbsp;</p>
                                <p>&nbsp;</p>
                                <p>&nbsp;</p>
                                <h4 class="text-white" style="display: none;">
                                  <div role="form" class="wpcf7" id="wpcf7-f417-o1" lang="en-US" dir="ltr">
                                    <div class="screen-reader-response"></div><!--<form action="/#wpcf7-f417-o1" method="post" class="wpcf7-form" novalidate="novalidate">-->
                                    <div class="form-wrap">
                                      <div style="display: none;"><input type="hidden" name="_wpcf7" value="417"><input type="hidden" name="_wpcf7_version" value="5.1.6"><input type="hidden" name="_wpcf7_locale" value="en_US"><input type="hidden"
                                          name="_wpcf7_unit_tag" value="wpcf7-f417-o1"><input type="hidden" name="_wpcf7_container_post" value="0"></div>
                                      <div class="row">
                                        <div class="col-md-6"><label> Enter Your Name*<br><span class="wpcf7-form-control-wrap your-name"><input type="text" name="your-name" value="" size="40"
                                                class="wpcf7-form-control wpcf7-text wpcf7-validates-as-required" aria-required="true" aria-invalid="false" placeholder="Name" id="yname"></span></label>
                                          <p><label> Enter Your Email*<br><span class="wpcf7-form-control-wrap your-email"><input type="email" name="your-email" value="" size="40"
                                                  class="wpcf7-form-control wpcf7-text wpcf7-email wpcf7-validates-as-required wpcf7-validates-as-email" aria-required="true" aria-invalid="false" placeholder="Email" id="email"></span></label></p>
                                          <p><label> Enter Your Subject*<br><span class="wpcf7-form-control-wrap your-subject"><input type="text" name="your-subject" value="" size="40" class="wpcf7-form-control wpcf7-text wpcf7-validates-as-required"
                                                  aria-required="true" aria-invalid="false" placeholder="Subject" id="subject"></span></label></p>
                                        </div>
                                        <div class="col-md-6"><label> Enter Your Message Here*<br><span class="wpcf7-form-control-wrap your-message"><textarea name="your-message" cols="40" rows="10"
                                                class="wpcf7-form-control wpcf7-textarea wpcf7-validates-as-required" aria-required="true" aria-invalid="false" placeholder="Type your message" id="message"></textarea></span></label></div>
                                      </div>
                                      <p><input type="submit" value="Submit" class="wpcf7-form-control wpcf7-submit" id="submit-btn"></p>
                                      <div class="wpcf7-response-output wpcf7-display-none"></div>
                                    </div>
                                    <p class="success-message" style="display: none;">Thank you for your inquiry! We'll get back to you as soon as possible!</p>
                                    <p class="error-message" style="display: none;">Kindly complete the all the fields.</p>
                                  </div>
                                </h4><!-- Begin widget code -->
                                <div data-rw-floating="18354"><rw-widget-floating data-rw-floating="18354" class="hydrated banner left" style="display: block;"></rw-widget-floating></div>
                                <script data-cfasync="false" crossorigin="anonymous" type="module" src="https://widgets.thereviewsplace.com/2.0/rw-widget-floating.js"></script><!-- End widget code -->
                              </div><iframe id="downloadFrame" style="display:none"></iframe>
                              <script type="text/javascript">
                                function FileDownloader(urlPath) {
                                  var iframe = document.getElementById("downloadFrame");
                                  iframe.src = "/Controls/Innovastudio/FileDownloader.aspx?urlPath=" + urlPath;
                                }
                              </script>
                            </td>
                          </tr>
                        </tbody>
                      </table>
                    </div>
                    <script language="javascript">
                      var tdContent = document.getElementById('ctl00_CPH_ctl02_Content'); //Updated By Divya for Task# 22833 - Mobile Friendly Framework
                      if (tdContent != null) {
                        var classname = '';
                        tdContent.className = classname;
                      }
                    </script>
                  </div>
                </div>
              </div>
              <div class="rTableRow">
                <div class="rTableCell">
                  <div class="rTable">
                    <div class="rTableBody">
                      <div class="rTableRow">
                        <div id="ctl00_CPH_divContPane1" class="rTableCell contentpane left-menu" panenm="1"></div>
                        <div class="rTableCell">
                          <div id="overlay" style="display: none"><img src="/Images/print_icon.gif" border="0" alt="Printing..."></div>
                          <div class="rTable">
                            <div class="rTableBody">
                              <div class="rTableRow">
                                <div id="ctl00_CPH_divContPane2" class="rTableCell contentpane" panenm="2"></div>
                              </div>
                            </div>
                          </div>
                          <div class="rTable">
                            <div class="rTableBody">
                              <div class="rTableRow">
                                <div id="ctl00_CPH_divContPane3" class="rTableCell contentpane" panenm="3" style="width:65%"></div>
                                <div id="ctl00_CPH_divContPane4" class="rTableCell contentpane" panenm="4" style="width:35%"></div>
                              </div>
                            </div>
                          </div>
                          <div class="rTable">
                            <div class="rTableBody">
                              <div class="rTableRow">
                                <div id="ctl00_CPH_divContPane5" class="rTableCell contentpane" panenm="5" style="width: 33%"></div>
                                <div id="ctl00_CPH_divContPane6" class="rTableCell contentpane" panenm="6" style="width:33%"></div>
                                <div id="ctl00_CPH_divContPane7" class="rTableCell contentpane" panenm="7"></div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div><!-- Added By Alkesh Prajapati For session timeout alert - task#11740 -->
          <div id="mask" class="mask" style="display: none;"></div>
          <div id="timeoutpopup-overlay" class="sessionmodal-overlay" style="display: none;"></div>
          <div id="timeoutpopup-container" class="sessionmodal-container" style="display: none;">
            <div tabindex="-1" class="sessionmodal-wrap">
              <div id="osx-modal-content" class="sessionmodal-data" style="display: block;">
                <div id="osx-modal-title">Do you want to continue your session?</div>
                <div id="osx-modal-data" style="display: block;">
                  <p class="top-margin-5 bottom-margin-10"><span clss="label">For security reasons, your session will timeout at <span id="spnTime"></span> unless you click the Continue Session button below to continue.</span></p>
                  <p style="text-align:right;"><a class="sessionmodal-close pushbutton" onclick="return KeepAliveSession();">Continue Session</a></p>
                </div>
              </div>
            </div>
          </div>
          <div id="docusignagreement-popup" style="display: none;"><span id="docusignagreement-body">Sign Document</span></div>
          <script type="text/javascript" src="/jssrc/timeout-dialog.js"></script>
          <script type="text/css" src="/jssrc/timeout-dialog.css"></script>
          <script type="text/javascript">
            //var timeout = '0';
            var signoutUrl = '/Login/?signout=1';
            var spnTime = document.getElementById('spnTime');
            var sstimeoutperiod = '0';
            //var sTimeout = sstimeoutperiod * 60;
            var sTimeout = sstimeoutperiod;
            //var sessionTimeoutWarning = (sstimeoutperiod - 1) * 60 * 1000;
            var sessionTimeoutWarning = sstimeoutperiod;
            jQuery(document).ready(function() {
              setTimeout('GetSessionTimeout(' + sTimeout + ')', sessionTimeoutWarning);
            });
            console.log('timeout: ' + sstimeoutperiod);
            console.log('stimeout: ' + sTimeout);
            console.log('wtimeout: ' + sessionTimeoutWarning);

            function GetSessionTimeout(sTimeout) {
              $.ajax({
                type: 'GET',
                url: '/api/SessionTimeout/GetSessionTimeout',
                data: {},
                dataType: 'json',
                success: function(result) {
                  if (result.success == true) {
                    //$.timeoutDialog({ timeout: sTimeout - 60, countdown: 60, logout_redirect_url: signoutUrl, restart_on_yes: true });
                    if (sstimeoutperiod < 60) {
                      $.timeoutDialog({
                        timeout: sTimeout + sTimeout,
                        countdown: sstimeoutperiod,
                        logout_redirect_url: signoutUrl,
                        restart_on_yes: true
                      });
                    } else {
                      $.timeoutDialog({
                        timeout: sTimeout + 60,
                        countdown: 60,
                        logout_redirect_url: signoutUrl,
                        restart_on_yes: true
                      });
                    }
                  }
                  console.log('SessionTimeout Initiated');
                }
              });
            }

            function KeepAliveSession() {
              GetRefreshSessionTimeout();
            }

            function RedirectToWelcomePage() {
              window.location.href = signoutUrl;
            }

            function GetRefreshSessionTimeout() {
              $.ajax({
                type: 'GET',
                url: '/api/SessionTimeout/GetRefreshSessionTimeout',
                data: {},
                dataType: 'json',
                success: function(result) {
                  if (result.success == true) {
                    var sstimeoutperiod = result.message;
                    if (sstimeoutperiod > 0) {
                      //var sTimeout = sstimeoutperiod * 60;
                      //var sessionTimeoutWarning = (sstimeoutperiod - 1) * 60 * 1000;
                      var sTimeout = sstimeoutperiod;
                      var sessionTimeoutWarning = (sstimeoutperiod);
                      setTimeout('GetSessionTimeout(' + sTimeout + ')', sessionTimeoutWarning);
                      GetSessionTimeout(sTimeout);
                      //location.reload();
                      console.log('Refreshed Token');
                    }
                  }
                }
              });
            }
          </script>
          <script type="text/javascript">
            var currentCultureCode = 'en-US';
            var currentDateFormat = "M/d/yyyy";
            var enableLeftSideMenu = 'True' == "True" ? true : false;
            var enableToolTip = 'False' == "True" ? true : false;
            var isHideMenu = 'False' == "True" ? true : false;
            var isAutoComplete = 'False' == "True" ? true : false;
          </script>
          <div id="divSocialToolkitPopup" style="display:none;">
            <div style="max-width:650px;margin-left:10px;margin-right:10px">
              <div class="divRow divSocialToolkitPopupContent label" style="padding-top:15px;"></div>
              <div class="divRow">
                <a onclick="return TakeMeToMyChallenges(); return false;" id="ctl00_CPH_btnTakeMetoChallenges" class="pushbutton right-margin-5" href="javascript:__doPostBack('ctl00$CPH$btnTakeMetoChallenges','')"><span id="ctl00_CPH_TakemetomyChallenges">TAKE ME TO MY CHALLENGES</span><div id="ctl00_CPH_divButtonDelete" style="width:auto; float:left;margin-right:23px;display: none;"><div class="tdBottomButtonLeft" style="float:left"></div><div class="tdBottomButtonMiddle" style="width:auto; float:left; "></div><div class="tdBottomButtonRight" style="float:left"></div></div></a><a onclick="return SocialToolkitSkipForNow(); return false;" id="ctl00_CPH_btnSkipForNow" class="pushbutton right-margin-5" href="javascript:__doPostBack('ctl00$CPH$btnSkipForNow','')">Skip for Now</a><a onclick="return SocialToolkitDontShowMeAgain(); return false;" id="ctl00_CPH_btnDontShowMeAgain" class="pushbutton" href="javascript:__doPostBack('ctl00$CPH$btnDontShowMeAgain','')">Don't show me again</a>
              </div>
            </div>
          </div>
          <script type="text/javascript">
            //Commeted by Alkesh - SocialToolkit not in use for any client now as per discussion with Amit on 8th May, 2018, to enable find all this B03D2556-C07E-462B-AADF-F2BB75B1F8BC code
            //function loadSocialToolkitDialog() {
            //    jQuery.colorbox({ inline: true, width: "60%", maxWidth: 640, open: true, closeButton: true, href: "#divSocialToolkitPopup", onOpen: function () { jQuery('#divSocialToolkitPopup').show() }, onClosed: function () { if (timeAction == '') timeAction = 'second'; UpdateSocialToolkitPopupTimer(timeAction); fnCloseSocialToolkitPopup('divSocialToolkitPopup'); return false; }, overlayClose: false, escKey: false, scrolling: false, onComplete: function () { ShowSocialToolkitPopupBox('divSocialToolkitPopup'); console.log('loaded'); } });
            //}
            //function ShowSocialToolkitPopupBox(id) {
            //    var x = jQuery('#' + id).width();
            //    var y = jQuery('#' + id).height();
            //    jQuery.colorbox.resize({ innerWidth: x, innerHeight: y });
            //}
            //function fnCloseSocialToolkitPopup(id) {
            //    jQuery('#' + id).hide();
            //    jQuery('#' + id).colorbox.close();
            //}
            //End commented Alkesh
            /*Added by Jam*/
            function addColorThiefLogoEl() {
              var ctl = document.createElement('a'),
                existingCtl = document.querySelector('#colorThiefLogo');
              ctl.id = 'colorThiefLogo';
              if (!existingCtl) {
                document.body.append(ctl);
              }
            }
            addColorThiefLogoEl();
            /*End Added by Jam*/
            /*Added by Jam to fix the color of the popup*/
            jQuery(document).ready(function() {
              if (loadColorThief.called != true) {
                loadColorThief();
              }
            });
            jQuery(window).on('load', function() {
              if (typeof(sessionStorage) != 'undefined') {
                var color = sessionStorage.getItem('colorThiefRgb');
                jQuery('head').append('<style id="tab-menu-styles">#timeoutpopup-container #osx-modal-title,html .ct-bg{background-color:' + color + '!important}html input:focus, html select:focus{box-shadow: 0 0 10px ' + color +
                  '!important}</style>');
              }
            });
            /*End added by Jam*/
          </script>
          <script type="text/javascript">
            var UserIsAdmin = "False";
            var UserIsDistributor = "False";
            var UserIsCustomer = "False";
            // Task #43121 - Expose site owner rank - 06/18/2019 EJusay
            var OwnerRankId = "2";
            var OwnerRankTitle = "Member";
            // End Task #43121 EJusay 
            var HasIDecide = false; // Task #43026 06/24/2019 EJusay
          </script>
          <script type="text/javascript">
            function DocusignAgreementPopupSession() {
              var arrDocusigns = 'False|None';
              var arrDocusign = arrDocusigns.split('|');
              if (arrDocusign[0] == 'True') {
                jQuery('#docusignagreement-popup').dialog({
                  width: '600',
                  height: '200',
                  resizable: false,
                  modal: true,
                  draggable: false,
                  closeOnEscape: false,
                  open: function(event, ui) {
                    jQuery(".ui-dialog-titlebar-close", ui.dialog | ui).hide();
                  },
                  buttons: {
                    "Confirm": function() {
                      jQuery(this).dialog("close");
                      window.location.href = arrDocusign[1];
                    },
                    "Close": function() {
                      jQuery(this).dialog("close");
                    }
                  }
                });
              }
            }
            jQuery(document).ready(function() {
              DocusignAgreementPopupSession()
            });

            function UpdateProfile() {
              jQuery.ajax({
                url: '/api/profile/update',
                type: 'POST',
                datatype: 'application/json',
                contentType: 'application/json',
                data: JSON.stringify({
                  "Address": jQuery("#txtAddress").val(),
                  "City": jQuery("#txtCity").val(),
                  "Zip": jQuery("#txtZip").val(),
                  "Country": jQuery('.txtCountry').val(),
                  "State": jQuery('.txtState').val()
                }),
                success: function() {
                  location.reload();
                },
                error: function() {
                  jQuery(".card-error").show();
                }
              });
            }

            function GetRegionsInLayout0() {
              var country = jQuery(".txtCountry").val().trim();
              jQuery.ajax({
                url: '/api/profile/getstate',
                type: 'GET',
                datatype: 'application/json',
                contentType: 'application/json',
                data: {
                  countryId: country
                },
                success: function(data) {
                  jQuery(".txtState").html("");
                  if (data.length != 0) {
                    jQuery.each(data, function(i, region) {
                      jQuery(".txtState").append(jQuery('<option selected="selected"></option>').val(region.ItemId).html(region.Name));
                    });
                    jQuery('.txtState').prop('selectedIndex', 0);
                    jQuery(".txtState").selectpicker('refresh');
                  }
                }
              })
            }
            jQuery(function() {
              jQuery('.txtCountry').change(function() {
                GetRegionsInLayout0();
              });
            });
            /*Start for task#46680*/
            function autoComplete() {
              //parent = this;
              var setAutoComplete = '';
              this.start = function(duration) {
                /*Duration = length of the interval between function call in ms*/
                setAutoComplete = setInterval(autoCompleteInit, duration);
              }
              var autoCompleteInit = function() {
                var inputElements = document.getElementsByTagName('input'),
                  selectElements = document.getElementsByTagName('select'),
                  noAutoComplete = false,
                  autoComplete;
                if (jQuery('input:not([autocomplete="none"]), select:not([autocomplete="none"])').length === 0) {
                  clearInterval(setAutoComplete);
                }
                jQuery('input:not([type="password"]), select').each(function() {
                  jQuery(this).attr('autocomplete', 'none');
                });
              }
            }
            var newAutoComplete = new autoComplete();

            function startAutoComplete() {
              newAutoComplete.start(500);
            }
            if (isAutoComplete) {
              startAutoComplete();
              Sys.WebForms.PageRequestManager.getInstance().add_endRequest(startAutoComplete);
            }
            /*End for task#46680*/
            jQuery(window).on('load', function() {
              jQuery('span[id*="ChangePageSizeLabel"]').text("Page Size: ")
            });
          </script>
          <script async="" src="//cdn.jsdelivr.net/npm/@fingerprintjs/fingerprintjs@3/dist/fp.min.js" onload="initFingerprintJS()"></script>
          <script>
            function initFingerprintJS() {
              const fpPromise = FingerprintJS.load()
              fpPromise.then(fp => fp.get()).then(result => {
                const visitorId = result.visitorId
                var accessdate = getCookie("AccessDate");
                setFpCookie(visitorId, accessdate)
              })
            }

            function setFpCookie(value, trackdate) {
              var days = 365;
              var previousVal = getFpCookie();
              var previousValVisit = getVisitCookie();
              if (previousVal !== null && previousVal.includes(value) && previousValVisit.includes(trackdate)) {
                return;
              }
              var name = '_fp';
              var expires = "";
              if (days) {
                var date = new Date();
                date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
                expires = "; expires=" + date.toUTCString();
              }
              document.cookie = name + "=" + (value || "") + expires + "; path=/";
              jQuery(document).ready(function() {
                PostVisit(value)
              });
            }

            function getFpCookie() {
              var name = '_fp';
              var nameEQ = name + "=";
              var ca = document.cookie.split(';');
              for (var i = 0; i < ca.length; i++) {
                var c = ca[i];
                while (c.charAt(0) == ' ') c = c.substring(1, c.length);
                if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length);
              }
              return null;
            }

            function getCookie(cname) {
              var name = cname + "=";
              var ca = document.cookie.split(';');
              for (var i = 0; i < ca.length; i++) {
                var c = ca[i];
                while (c.charAt(0) == ' ') c = c.substring(1);
                if (c.indexOf(name) == 0) return c.substring(name.length, c.length);
              }
              return "";
            }

            function getVisitCookie() {
              var name = 'AccessDate';
              var nameEQ = name + "=";
              var ca = document.cookie.split(';');
              for (var i = 0; i < ca.length; i++) {
                var c = ca[i];
                while (c.charAt(0) == ' ') c = c.substring(1, c.length);
                if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length);
              }
              return null;
            }

            function PostVisit(value) {
              $.ajax({
                url: '/api/MyWebsiteResources/SaveWebsiteResourcesVisit',
                type: 'POST',
                datatype: 'application/json',
                contentType: 'application/json',
                data: JSON.stringify({
                  "visitorId": value
                }),
                success: function() {}
              })
            }
          </script>
          <style type="text/css">
            html .RadWModalImage {
              z-index: 10000 !important;
            }

            html .RadWWrapperModal {
              z-index: 10002 !important;
            }

            @-webkit-keyframes show-on-load {
              0% {
                opacity: 0;
              }

              100% {
                opacity: 1;
                -webkit-transform: translateY(0);
                transform: translateY(0);
              }
            }

            @keyframes show-on-load {
              0% {
                opacity: 0;
              }

              100% {
                opacity: 1;
                -webkit-transform: translateY(0);
                transform: translateY(0);
              }
            }

            .cc-banner {
              color: rgb(255, 255, 255);
              background-color: rgb(0, 0, 0);
              padding: 1em 1.8em;
              position: fixed;
              overflow: hidden;
              -webkit-box-sizing: border-box;
              box-sizing: border-box;
              line-height: 1.5;
              display: -ms-flexbox;
              display: -webkit-box;
              display: flex;
              -ms-flex-wrap: nowrap;
              flex-wrap: nowrap;
              z-index: 10001;
              width: 100%;
              opacity: 0;
              -webkit-transition: opacity 500ms ease-in-out;
              -o-transition: opacity 500ms ease-in-out;
              transition: opacity 500ms ease-in-out;
            }

            .show-cc-banner {
              -webkit-animation-name: show-on-load;
              animation-name: show-on-load;
              -webkit-animation-delay: 1s;
              animation-delay: 1s;
              -webkit-animation-duration: 500ms;
              animation-duration: 500ms;
              -webkit-animation-fill-mode: forwards;
              animation-fill-mode: forwards;
              -webkit-box-align: center;
              -ms-flex-align: center;
              align-items: center;
            }

            .cc-banner-top {
              top: 0;
              left: 0;
            }

            .cc-banner-bottom {
              left: 0;
              bottom: 0;
              -webkit-transform: translateY(100%);
              -ms-transform: translateY(100%);
              transform: translateY(100%);
            }

            .cc-banner-left {
              max-width: 24em;
              left: 1em;
              bottom: 1em;
            }

            .cc-banner-right {
              max-width: 24em;
              right: 1em;
              bottom: 1em;
            }

            .cc-banner-left,
            .cc-banner-right {
              -webkit-box-orient: vertical;
              -webkit-box-direction: normal;
              -ms-flex-direction: column;
              flex-direction: column;
            }

            html .cc-banner a,
            html .cc-banner span {
              color: #fff;
              font-size: inherit;
              font-family: inherit;
            }

            .cc-banner>span {
              -ms-flex: 1 1 auto;
              -webkit-box-flex: 1;
              flex: 1 1 auto;
              max-width: 100%;
              margin-right: 1em;
            }

            html .cc-banner a.btn-design {
              display: block;
              padding: .4em .8em;
              font-family: Helvetica, Calibri, Arial, sans-serif;
              font-size: .9em;
              font-weight: 700;
              color: #000;
              border-width: 2px;
              border-style: solid;
              text-align: center;
              white-space: nowrap;
              background-color: rgb(241, 214, 0);
              text-decoration: none;
              -webkit-transition: opacity 200ms ease-in-out;
              -o-transition: opacity 200ms ease-in-out;
              transition: opacity 200ms ease-in-out;
              cursor: pointer;
            }

            html .cc-banner a.btn-design:hover {
              background-color: #FFFF00;
            }

            html .cc-banner a:hover {
              text-decoration: underline;
            }

            @media (max-width: 768px) {
              html .cc-banner {
                -webkit-box-orient: vertical;
                -webkit-box-direction: normal;
                -ms-flex-direction: column;
                flex-direction: column;
              }

              .cc-banner-left,
              .cc-banner-right {
                bottom: 0;
                left: 0;
                right: unset;
              }

              .cc-banner>span {
                margin-bottom: 1em;
                margin-right: 0;
              }

              html .cc-banner a.btn-design {
                width: 100%;
              }
            }

            html .cc-banner a:link {
              text-decoration: none !important;
            }

            html .cc-banner a:hover {
              text-decoration: underline !important;
            }

            #learnMore {
              cursor: pointer;
              text-decoration: underline !important;
            }
          </style>
          <script type="text/javascript">
            jQuery(document).ready(function() {
              var GDPRCookieConsent = function() {
                var form = this;
                var currentPage = document.getElementById('ctl00_CPH_acceptCookies_CurrentPageLabel').innerText;
                var currentUser = document.getElementById('ctl00_CPH_acceptCookies_CurrentUserLabel').innerText;
                var isEnableCookie = document.getElementById('ctl00_CPH_acceptCookies_EnableGDPRCookieLabel').innerText;
                form._construct = function() {
                    form._initialize();
                  },
                  form._initialize = function() {
                    jQuery('#learnMore').attr('href', /GDPR-Cookie-Policy/);
                    if (form.getCookie('addpayment') === 'true') jQuery('.cc-banner').fadeOut();
                    if (isEnableCookie === 'True') {
                      if (form.getCookie('GDPRCookie') !== null) {
                        if (currentUser !== '[Current User]') {
                          if (!form.getCookie('GDPRCookie').includes(currentUser))
                            if (!form.getCookie('GDPRCookie').includes('Anonymous')) form.showCookieBanner();
                            else jQuery('.cc-banner').fadeOut();
                        } else {
                          if (!form.getCookie('GDPRCookie').includes('Anonymous'))
                            if (form.getCookie('GDPRCookie').length == 0) form.showCookieBanner();
                            else jQuery('.cc-banner').fadeOut();
                        }
                      } else form.showCookieBanner();
                    }
                    form._initEvents();
                  },
                  form._initEvents = function() {
                    if (jQuery('.btn-design') !== null) {
                      jQuery('.btn-design').click(function() {
                        form.banCookie();
                      });
                    }
                    jQuery('[id$="lnkCancel"]').click(function() {
                      form.setCookie('addpayment', 'false');
                    });
                  },
                  form.showCookieBanner = function() {
                    jQuery('.cc-banner').addClass('show-cc-banner');
                    if (loadColorThief.called != true) loadColorThief();
                  }
                form.setCookie = function(key, value) {
                    var expires = new Date();
                    expires.setTime(expires.getTime() + (1 * 24 * 60 * 60 * 1000));
                    document.cookie = key + '=' + value + '; visited=true; path=/; expires=' + expires.toUTCString();
                  },
                  form.getCookie = function(key) {
                    var keyValue = document.cookie.match('(^|;) ?' + key + '=([^;]*)(;|$)');
                    return keyValue ? keyValue[2] : null;
                  },
                  form.removeCookie = function(key) {
                    document.cookie = key + '=; expires=Thu, 01 Jan 1970 00:00:01 GMT;';
                  },
                  form.banCookie = function() {
                    var cookie = [form.getCookie('GDPRCookie')];
                    if (form.getCookie('GDPRCookie') != null) {
                      if (form.getCookie('GDPRCookie').indexOf(currentUser) === -1) cookie.push(currentUser !== '[Current User]' ? currentUser : 'Anonymous');
                      form.setCookie('GDPRCookie', cookie);
                    } else form.setCookie('GDPRCookie', currentUser !== '[Current User]' ? currentUser : 'Anonymous');
                    jQuery('.cc-banner').fadeOut();
                  }
              }
              try {
                if (window.self === window.top) {
                  var myClass = new GDPRCookieConsent();
                  myClass._construct();
                }
              } catch (e) {}
            });
            jQuery(window).on('load', function() {
              try {
                var bannercolor = sessionStorage.getItem('colorThiefRgb');
                jQuery('head').append('<style id="banner-button-color">html .cc-banner a.btn-design{border-color:' + bannercolor + '!important;background-color:' + bannercolor + '!important}</style>');
              } catch (sessionStorageError) {}
            });
          </script><span id="ctl00_CPH_acceptCookies_EnableGDPRCookieLabel" style="display: none;">False</span><span id="ctl00_CPH_acceptCookies_CurrentPageLabel" style="display: none;">/Home/</span><span id="ctl00_CPH_acceptCookies_CurrentUserLabel"
            style="display: none;">[Current User]</span>
          <div class="cc-banner cc-banner-bottom"><span>This website uses cookies to ensure you get the best experience on our website.
              <a id="learnMore" class="cc-link" target="_blank" href="/GDPR-Cookie-Policy/">Learn More</a></span><a id="gotIt" class="btn-design" style="text-decoration: none;">Got it!</a></div>
        </div>
      </div>
      <div style="display: none;">
        <div class="ddOutOfVision" style="height:0px;overflow:hidden;position:absolute;" id="ctl00_currency_ddlCurrency_msddHolder"><select name="ctl00$currency$ddlCurrency"
            onchange="javascript:setTimeout('__doPostBack(\'ctl00$currency$ddlCurrency\',\'\')', 0)" id="ctl00_currency_ddlCurrency" class="DropdownText ddlCurrencyCss">
            <option selected="selected" value="e068510a-a4a7-4aa2-8e47-530bd9bf3302">U.S. Dollar</option>
          </select></div>
        <div id="ctl00_currency_ddlCurrency_msdd" class="dd" style="width: 0px;">
          <div id="ctl00_currency_ddlCurrency_title" class="ddTitle"><span id="ctl00_currency_ddlCurrency_arrow" class="arrow"></span><span class="ddTitleText" id="ctl00_currency_ddlCurrency_titletext"><span class="ddTitleText">U.S.
                Dollar</span></span></div>
          <div id="ctl00_currency_ddlCurrency_child" class="ddChild" style="width: 0px;"><a href="javascript:void(0);" class="selected enabled" id="ctl00_currency_ddlCurrency_msa_0"><span class="ddTitleText">U.S. Dollar</span></a></div>
        </div>
        <script type="text/javascript">
          jQuery(document).ready(function() {
            jQuery(".ddlCurrencyCss").change(function() {
              displayAjaxProcessingLoader('Updating Selected Currency', '<p style="margin-top:5px">Please wait, this will take just a few moments while the currency selected is applied throughout the website</p>');
            });
          });
        </script>
        <div class="ddOutOfVision" style="height:0px;overflow:hidden;position:absolute;" id="ctl00_international_ddlCountry_msddHolder"><select name="ctl00$international$ddlCountry"
            onchange="javascript:updatingCountryClass();setTimeout('__doPostBack(\'ctl00$international$ddlCountry\',\'\')', 0)" id="ctl00_international_ddlCountry" class="DropdownText ddlcountryCss">
            <option selected="selected" value="f03be894-e5a2-4b08-8047-18b7340bca4d">United States</option>
          </select></div>
        <div id="ctl00_international_ddlCountry_msdd" class="dd" style="width: 0px;">
          <div id="ctl00_international_ddlCountry_title" class="ddTitle"><span id="ctl00_international_ddlCountry_arrow" class="arrow"></span><span class="ddTitleText" id="ctl00_international_ddlCountry_titletext"><span class="ddTitleText">United
                States</span></span></div>
          <div id="ctl00_international_ddlCountry_child" class="ddChild" style="width: 0px;"><a href="javascript:void(0);" class="selected enabled" id="ctl00_international_ddlCountry_msa_0"><span class="ddTitleText">United States</span></a></div>
        </div>
        <script>
          /*Added by Jam for task# 51903*/
          function updateCountryPerUser() {
            var pThis = this,
              CountrySelEl = document.querySelector('select.ddlcountryCss'),
              CountrySelOptionsEl = '';
            if (CountrySelEl) {
              CountrySelOptionsEl = CountrySelEl.querySelectorAll('option');
            }
            var userTypeError = function() {
              console.log('You need to move the script at the end of the pageskin after </body> tag. Note: Don\'t add this inside the jQuery(document).ready');
            }
            pThis.forAdmin = function(cId) {
              if (typeof(UserIsAdmin) != undefined && typeof(UserIsAdmin) != "undefined") {
                if (UserIsAdmin !== "True") {
                  for (var i = 0; i < CountrySelOptionsEl.length; i++) {
                    if (CountrySelOptionsEl[i].getAttribute('value') == cId) {
                      CountrySelOptionsEl[i].remove();
                    }
                  }
                }
              } else {
                userTypeError();
              }
            }
            pThis.forDistributor = function(cId) {
              if (typeof(UserIsDistributor) != undefined && typeof(UserIsDistributor) != "undefined") {
                if (UserIsDistributor !== "True") {
                  for (var i = 0; i < CountrySelOptionsEl.length; i++) {
                    if (CountrySelOptionsEl[i].getAttribute('value') == cId) {
                      CountrySelOptionsEl[i].remove();
                    }
                  }
                }
              } else {
                userTypeError();
              }
            }
          }
          var ps_countryUpdate = new updateCountryPerUser();
          /*End Added by Jam for task# 51903*/
          function updatingCountryClass() {
            try {
              jQuery('html').addClass('updating-country');
            } catch (err) {};
          }
        </script>
        <p id="fsbText">Direct Referral Bonus</p>
        <p id="nmtssbText">Residual Bonus</p>
        <p id="mbText">Check Matching</p>
      </div>
    </div>
  </div>
  <div id="mobile-layer" onclick="hideMobileMenu();"></div>
  <div id="goToTopLink" style="display: none;"><a class="fa fa-angle-up"></a></div>
  <div id="side-menu-wrapper" style="display: block;">
    <div id="side-menu">
      <ul class="alt-menu-wrapper">
        <li id="product-search">
          <table cellspacing="0" cellpadding="0" width="100%" border="0">
            <tbody>
              <tr>
                <td id="ctl00_productSearch_tdSearchLabel" class="tdSearchLabel" style="display:none;"><span id="ctl00_productSearch_lblProductSearch">Search Products by Name</span></td>
                <td id="ctl00_productSearch_tdSearchButton" class="tdSearchLabel" style="display:block;">
                  <a id="ctl00_productSearch_btnSearchProductCorner" href="javascript:__doPostBack('ctl00$productSearch$btnSearchProductCorner','')"><i class="fa fa-search-plus"></i> Search</a></td>
                <td class="tdSearchTextbox"><input name="ctl00$productSearch$tbSearch" type="text" value="search..." id="ctl00_productSearch_tbSearch" class="ProductSearchTextbox" onfocus="javascript:OnFocusSearch(this); return false;"
                    onblur="javascript:OnBlurSearch(this); return false;" onkeydown="return aspKeyDown('13', '__doPostBack(%27ctl00$productSearch$btnSearchProductCorner%27,%27%27)', event);"></td>
                <td class="tdSearchRightImg"></td>
              </tr>
            </tbody>
          </table><span id="ctl00_productSearch_lblEnterSearchText" style="display: none;">search...</span>
          <script type="text/javascript">
            var EnterSearchTextLabel = document.getElementById("ctl00_productSearch_lblEnterSearchText");
            var tbSearch = document.getElementById("ctl00_productSearch_tbSearch");

            function OnBlurSearch(txtSearch) {
              if (txtSearch.value == '') {
                txtSearch.value = EnterSearchTextLabel.innerHTML;
                txtSearch.className = "ProductSearchTextbox";
              } else txtSearch.className = "FocusedTextbox";
            }

            function OnFocusSearch(txtSearch1) {
              if (txtSearch1.value == EnterSearchTextLabel.innerHTML) {
                txtSearch1.value = '';
                txtSearch1.className = "FocusedTextbox";
              }
            }
            if (tbSearch.value != EnterSearchTextLabel.innerHTML) tbSearch.className = "FocusedTextbox";
          </script>
        </li>
        <li class="cart-link"><a href="/cart/"><i class="fa fa-shopping-cart"></i><span>View Cart</span></a></li>
        <li class="login-link"><a href="#" onclick="logOff();"><i class="fa fa-user"></i><span>Login</span></a></li>
        <li class="main-menu-link collapsable">
          <div id="mobile-main-menu" class="RadMenu_UserMenuSkin">
            <ul class="horizontal">
              <li class="menu-item menu-item-type-post_type menu-item-object-page ctl00_testMenu_radMenu_m0 hidden-sub-menu sub-menu has-sub-menu">
                <i class="fa fa-plus" onclick="showSubMenuOnClick(this);"></i><a aria-haspopup="true"><span>About</span></a>
                <div class="slide ctl00_testMenu_radMenu_m0 level0">
                  <ul class="vertical group">
                    <li class="menu-item menu-item-type-post_type menu-item-object-page ctl00_testMenu_radMenu_m0_m0"><a aria-haspopup="true"><span>Our Founders</span></a></li>
                    <li class="menu-item menu-item-type-post_type menu-item-object-page ctl00_testMenu_radMenu_m0_m1"><a aria-haspopup="true"><span>Mission Statement</span></a></li>
                  </ul>
                </div>
              </li>
              <li class="menu-item menu-item-type-post_type menu-item-object-page ctl00_testMenu_radMenu_m1 hidden-sub-menu sub-menu has-sub-menu">
                <i class="fa fa-plus" onclick="showSubMenuOnClick(this);"></i><a aria-haspopup="true"><span>Opportunity</span></a>
                <div class="slide ctl00_testMenu_radMenu_m1 level0">
                  <ul class="vertical group">
                    <li class="menu-item menu-item-type-post_type menu-item-object-page ctl00_testMenu_radMenu_m1_m0"><a aria-haspopup="true"><span>From the CEO</span></a></li>
                    <li class="menu-item menu-item-type-post_type menu-item-object-page ctl00_testMenu_radMenu_m1_m1"><a aria-haspopup="true"><span>Compare Plans</span></a></li>
                    <li class="menu-item menu-item-type-post_type menu-item-object-page ctl00_testMenu_radMenu_m1_m2"><a aria-haspopup="true"><span>Compensation Plan</span></a></li>
                  </ul>
                </div>
              </li>
              <li class="menu-item menu-item-type-post_type menu-item-object-page ctl00_testMenu_radMenu_m2"><a aria-haspopup="true" onclick="rad_adminclick(this);"><span>Contact</span></a></li>
              <li class="menu-item menu-item-type-post_type menu-item-object-page ctl00_testMenu_radMenu_m3"><a aria-haspopup="true" onclick="rad_adminclick(this);"><span>MT5</span></a></li>
              <li class="menu-item menu-item-type-post_type menu-item-object-page ctl00_testMenu_radMenu_m4"><a aria-haspopup="true" onclick="rad_adminclick(this);"><span>GET STARTED</span></a></li>
            </ul>
          </div>
        </li>
      </ul>
    </div>
  </div>
  <script type="text/javascript">
    //<![CDATA[
    Sys.WebForms.PageRequestManager._initialize('ctl00$scManager', 'aspnetForm', [], [], [], 90, 'ctl00');
    //]]>
  </script>
  <div><input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="59BC4A1B"><input type="hidden" name="__SCROLLPOSITIONX" id="__SCROLLPOSITIONX" value="0"><input type="hidden" name="__SCROLLPOSITIONY" id="__SCROLLPOSITIONY"
      value="0"></div>
  <script type="text/javascript">
    function DistirbutorPopUpBox() {
      jQuery(document).ready(function() {
        jQuery("#dialogPopUpBox").css("display", "block");
        jQuery("#dialogPopUpBox").dialog({
          width: 'auto'
        }, {
          height: 'auto'
        }, {
          hide: 'size'
        }, {
          resizable: false
        }, {
          modal: true
        }, {
          draggable: false
        }, {
          modal: true
        }, {
          closeOnEscape: false
        }, {
          create: function(event, ui) {
            jQuery(event.target).parent().css('position', 'fixed');
          }
        }, {
          open: function(event, ui) {
            jQuery(".ui-dialog-titlebar-close", ui.dialog | ui).hide();
          }
        }, {
          buttons: {
            "Done": function() {
              document.body.style.overflow = "visible";
              jQuery(this).dialog("close");
            }
          }
        });
        jQuery("#dialogPopUpBox").dialog("widget").position({
          my: "center middle",
          at: "center middle+90",
          of: window,
          collision: "none"
        });
        jQuery(document).scroll(function(e) {
          if (jQuery(".ui-widget-overlay")) {
            jQuery(".ui-widget-overlay").css({
              position: 'fixed',
              top: '0'
            });
            pos = jQuery(".ui-dialog").position();
            jQuery(".ui-dialog").css({
              position: 'fixed',
              top: pos.y
            });
          }
        });
      });
    }
  </script>
  <script type="text/javascript">
    /*! jQuery UI - v1.10.3 - 2013-05-03
     * http://jqueryui.com
     * Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.draggable.js, jquery.ui.droppable.js, jquery.ui.resizable.js, jquery.ui.selectable.js, jquery.ui.sortable.js, jquery.ui.effect.js, jquery.ui.accordion.js, jquery.ui.autocomplete.js, jquery.ui.button.js, jquery.ui.datepicker.js, jquery.ui.dialog.js, jquery.ui.effect-blind.js, jquery.ui.effect-bounce.js, jquery.ui.effect-clip.js, jquery.ui.effect-drop.js, jquery.ui.effect-explode.js, jquery.ui.effect-fade.js, jquery.ui.effect-fold.js, jquery.ui.effect-highlight.js, jquery.ui.effect-pulsate.js, jquery.ui.effect-scale.js, jquery.ui.effect-shake.js, jquery.ui.effect-slide.js, jquery.ui.effect-transfer.js, jquery.ui.menu.js, jquery.ui.position.js, jquery.ui.progressbar.js, jquery.ui.slider.js, jquery.ui.spinner.js, jquery.ui.tabs.js, jquery.ui.tooltip.js
     * Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
    (function(t, e) {
      function i(e, i) {
        var n, o, a, r = e.nodeName.toLowerCase();
        return "area" === r ? (n = e.parentNode, o = n.name, e.href && o && "map" === n.nodeName.toLowerCase() ? (a = t("img[usemap=#" + o + "]")[0], !!a && s(a)) : !1) : (/input|select|textarea|button|object/.test(r) ? !e.disabled : "a" === r ? e
          .href || i : i) && s(e)
      }

      function s(e) {
        return t.expr.filters.visible(e) && !t(e).parents().addBack().filter(function() {
          return "hidden" === t.css(this, "visibility")
        }).length
      }
      var n = 0,
        o = /^ui-id-\d+$/;
      t.ui = t.ui || {}, t.extend(t.ui, {
        version: "1.10.3",
        keyCode: {
          BACKSPACE: 8,
          COMMA: 188,
          DELETE: 46,
          DOWN: 40,
          END: 35,
          ENTER: 13,
          ESCAPE: 27,
          HOME: 36,
          LEFT: 37,
          NUMPAD_ADD: 107,
          NUMPAD_DECIMAL: 110,
          NUMPAD_DIVIDE: 111,
          NUMPAD_ENTER: 108,
          NUMPAD_MULTIPLY: 106,
          NUMPAD_SUBTRACT: 109,
          PAGE_DOWN: 34,
          PAGE_UP: 33,
          PERIOD: 190,
          RIGHT: 39,
          SPACE: 32,
          TAB: 9,
          UP: 38
        }
      }), t.fn.extend({
        focus: function(e) {
          return function(i, s) {
            return "number" == typeof i ? this.each(function() {
              var e = this;
              setTimeout(function() {
                t(e).focus(), s && s.call(e)
              }, i)
            }) : e.apply(this, arguments)
          }
        }(t.fn.focus),
        scrollParent: function() {
          var e;
          return e = t.ui.ie && /(static|relative)/.test(this.css("position")) || /absolute/.test(this.css("position")) ? this.parents().filter(function() {
            return /(relative|absolute|fixed)/.test(t.css(this, "position")) && /(auto|scroll)/.test(t.css(this, "overflow") + t.css(this, "overflow-y") + t.css(this, "overflow-x"))
          }).eq(0) : this.parents().filter(function() {
            return /(auto|scroll)/.test(t.css(this, "overflow") + t.css(this, "overflow-y") + t.css(this, "overflow-x"))
          }).eq(0), /fixed/.test(this.css("position")) || !e.length ? t(document) : e
        },
        zIndex: function(i) {
          if (i !== e) return this.css("zIndex", i);
          if (this.length)
            for (var s, n, o = t(this[0]); o.length && o[0] !== document;) {
              if (s = o.css("position"), ("absolute" === s || "relative" === s || "fixed" === s) && (n = parseInt(o.css("zIndex"), 10), !isNaN(n) && 0 !== n)) return n;
              o = o.parent()
            }
          return 0
        },
        uniqueId: function() {
          return this.each(function() {
            this.id || (this.id = "ui-id-" + ++n)
          })
        },
        removeUniqueId: function() {
          return this.each(function() {
            o.test(this.id) && t(this).removeAttr("id")
          })
        }
      }), t.extend(t.expr[":"], {
        data: t.expr.createPseudo ? t.expr.createPseudo(function(e) {
          return function(i) {
            return !!t.data(i, e)
          }
        }) : function(e, i, s) {
          return !!t.data(e, s[3])
        },
        focusable: function(e) {
          return i(e, !isNaN(t.attr(e, "tabindex")))
        },
        tabbable: function(e) {
          var s = t.attr(e, "tabindex"),
            n = isNaN(s);
          return (n || s >= 0) && i(e, !n)
        }
      }), t("<a>").outerWidth(1).jquery || t.each(["Width", "Height"], function(i, s) {
        function n(e, i, s, n) {
          return t.each(o, function() {
            i -= parseFloat(t.css(e, "padding" + this)) || 0, s && (i -= parseFloat(t.css(e, "border" + this + "Width")) || 0), n && (i -= parseFloat(t.css(e, "margin" + this)) || 0)
          }), i
        }
        var o = "Width" === s ? ["Left", "Right"] : ["Top", "Bottom"],
          a = s.toLowerCase(),
          r = {
            innerWidth: t.fn.innerWidth,
            innerHeight: t.fn.innerHeight,
            outerWidth: t.fn.outerWidth,
            outerHeight: t.fn.outerHeight
          };
        t.fn["inner" + s] = function(i) {
          return i === e ? r["inner" + s].call(this) : this.each(function() {
            t(this).css(a, n(this, i) + "px")
          })
        }, t.fn["outer" + s] = function(e, i) {
          return "number" != typeof e ? r["outer" + s].call(this, e) : this.each(function() {
            t(this).css(a, n(this, e, !0, i) + "px")
          })
        }
      }), t.fn.addBack || (t.fn.addBack = function(t) {
        return this.add(null == t ? this.prevObject : this.prevObject.filter(t))
      }), t("<a>").data("a-b", "a").removeData("a-b").data("a-b") && (t.fn.removeData = function(e) {
        return function(i) {
          return arguments.length ? e.call(this, t.camelCase(i)) : e.call(this)
        }
      }(t.fn.removeData)), t.ui.ie = !!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()), t.support.selectstart = "onselectstart" in document.createElement("div"), t.fn.extend({
        disableSelection: function() {
          return this.bind((t.support.selectstart ? "selectstart" : "mousedown") + ".ui-disableSelection", function(t) {
            t.preventDefault()
          })
        },
        enableSelection: function() {
          return this.unbind(".ui-disableSelection")
        }
      }), t.extend(t.ui, {
        plugin: {
          add: function(e, i, s) {
            var n, o = t.ui[e].prototype;
            for (n in s) o.plugins[n] = o.plugins[n] || [], o.plugins[n].push([i, s[n]])
          },
          call: function(t, e, i) {
            var s, n = t.plugins[e];
            if (n && t.element[0].parentNode && 11 !== t.element[0].parentNode.nodeType)
              for (s = 0; n.length > s; s++) t.options[n[s][0]] && n[s][1].apply(t.element, i)
          }
        },
        hasScroll: function(e, i) {
          if ("hidden" === t(e).css("overflow")) return !1;
          var s = i && "left" === i ? "scrollLeft" : "scrollTop",
            n = !1;
          return e[s] > 0 ? !0 : (e[s] = 1, n = e[s] > 0, e[s] = 0, n)
        }
      })
    })(jQuery),
    function(t, e) {
      var i = 0,
        s = Array.prototype.slice,
        n = t.cleanData;
      t.cleanData = function(e) {
        for (var i, s = 0; null != (i = e[s]); s++) try {
          t(i).triggerHandler("remove")
        } catch (o) {}
        n(e)
      }, t.widget = function(i, s, n) {
        var o, a, r, h, l = {},
          c = i.split(".")[0];
        i = i.split(".")[1], o = c + "-" + i, n || (n = s, s = t.Widget), t.expr[":"][o.toLowerCase()] = function(e) {
          return !!t.data(e, o)
        }, t[c] = t[c] || {}, a = t[c][i], r = t[c][i] = function(t, i) {
          return this._createWidget ? (arguments.length && this._createWidget(t, i), e) : new r(t, i)
        }, t.extend(r, a, {
          version: n.version,
          _proto: t.extend({}, n),
          _childConstructors: []
        }), h = new s, h.options = t.widget.extend({}, h.options), t.each(n, function(i, n) {
          return t.isFunction(n) ? (l[i] = function() {
            var t = function() {
                return s.prototype[i].apply(this, arguments)
              },
              e = function(t) {
                return s.prototype[i].apply(this, t)
              };
            return function() {
              var i, s = this._super,
                o = this._superApply;
              return this._super = t, this._superApply = e, i = n.apply(this, arguments), this._super = s, this._superApply = o, i
            }
          }(), e) : (l[i] = n, e)
        }), r.prototype = t.widget.extend(h, {
          widgetEventPrefix: a ? h.widgetEventPrefix : i
        }, l, {
          constructor: r,
          namespace: c,
          widgetName: i,
          widgetFullName: o
        }), a ? (t.each(a._childConstructors, function(e, i) {
          var s = i.prototype;
          t.widget(s.namespace + "." + s.widgetName, r, i._proto)
        }), delete a._childConstructors) : s._childConstructors.push(r), t.widget.bridge(i, r)
      }, t.widget.extend = function(i) {
        for (var n, o, a = s.call(arguments, 1), r = 0, h = a.length; h > r; r++)
          for (n in a[r]) o = a[r][n], a[r].hasOwnProperty(n) && o !== e && (i[n] = t.isPlainObject(o) ? t.isPlainObject(i[n]) ? t.widget.extend({}, i[n], o) : t.widget.extend({}, o) : o);
        return i
      }, t.widget.bridge = function(i, n) {
        var o = n.prototype.widgetFullName || i;
        t.fn[i] = function(a) {
          var r = "string" == typeof a,
            h = s.call(arguments, 1),
            l = this;
          return a = !r && h.length ? t.widget.extend.apply(null, [a].concat(h)) : a, r ? this.each(function() {
            var s, n = t.data(this, o);
            return n ? t.isFunction(n[a]) && "_" !== a.charAt(0) ? (s = n[a].apply(n, h), s !== n && s !== e ? (l = s && s.jquery ? l.pushStack(s.get()) : s, !1) : e) : t.error("no such method '" + a + "' for " + i + " widget instance") : t
              .error("cannot call methods on " + i + " prior to initialization; " + "attempted to call method '" + a + "'")
          }) : this.each(function() {
            var e = t.data(this, o);
            e ? e.option(a || {})._init() : t.data(this, o, new n(a, this))
          }), l
        }
      }, t.Widget = function() {}, t.Widget._childConstructors = [], t.Widget.prototype = {
        widgetName: "widget",
        widgetEventPrefix: "",
        defaultElement: "<div>",
        options: {
          disabled: !1,
          create: null
        },
        _createWidget: function(e, s) {
          s = t(s || this.defaultElement || this)[0], this.element = t(s), this.uuid = i++, this.eventNamespace = "." + this.widgetName + this.uuid, this.options = t.widget.extend({}, this.options, this._getCreateOptions(), e), this.bindings =
            t(), this.hoverable = t(), this.focusable = t(), s !== this && (t.data(s, this.widgetFullName, this), this._on(!0, this.element, {
              remove: function(t) {
                t.target === s && this.destroy()
              }
            }), this.document = t(s.style ? s.ownerDocument : s.document || s), this.window = t(this.document[0].defaultView || this.document[0].parentWindow)), this._create(), this._trigger("create", null, this._getCreateEventData()), this
            ._init()
        },
        _getCreateOptions: t.noop,
        _getCreateEventData: t.noop,
        _create: t.noop,
        _init: t.noop,
        destroy: function() {
          this._destroy(), this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(t.camelCase(this.widgetFullName)), this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled")
            .removeClass(this.widgetFullName + "-disabled " + "ui-state-disabled"), this.bindings.unbind(this.eventNamespace), this.hoverable.removeClass("ui-state-hover"), this.focusable.removeClass("ui-state-focus")
        },
        _destroy: t.noop,
        widget: function() {
          return this.element
        },
        option: function(i, s) {
          var n, o, a, r = i;
          if (0 === arguments.length) return t.widget.extend({}, this.options);
          if ("string" == typeof i)
            if (r = {}, n = i.split("."), i = n.shift(), n.length) {
              for (o = r[i] = t.widget.extend({}, this.options[i]), a = 0; n.length - 1 > a; a++) o[n[a]] = o[n[a]] || {}, o = o[n[a]];
              if (i = n.pop(), s === e) return o[i] === e ? null : o[i];
              o[i] = s
            } else {
              if (s === e) return this.options[i] === e ? null : this.options[i];
              r[i] = s
            } return this._setOptions(r), this
        },
        _setOptions: function(t) {
          var e;
          for (e in t) this._setOption(e, t[e]);
          return this
        },
        _setOption: function(t, e) {
          return this.options[t] = e, "disabled" === t && (this.widget().toggleClass(this.widgetFullName + "-disabled ui-state-disabled", !!e).attr("aria-disabled", e), this.hoverable.removeClass("ui-state-hover"), this.focusable.removeClass(
            "ui-state-focus")), this
        },
        enable: function() {
          return this._setOption("disabled", !1)
        },
        disable: function() {
          return this._setOption("disabled", !0)
        },
        _on: function(i, s, n) {
          var o, a = this;
          "boolean" != typeof i && (n = s, s = i, i = !1), n ? (s = o = t(s), this.bindings = this.bindings.add(s)) : (n = s, s = this.element, o = this.widget()), t.each(n, function(n, r) {
            function h() {
              return i || a.options.disabled !== !0 && !t(this).hasClass("ui-state-disabled") ? ("string" == typeof r ? a[r] : r).apply(a, arguments) : e
            }
            "string" != typeof r && (h.guid = r.guid = r.guid || h.guid || t.guid++);
            var l = n.match(/^(\w+)\s*(.*)$/),
              c = l[1] + a.eventNamespace,
              u = l[2];
            u ? o.delegate(u, c, h) : s.bind(c, h)
          })
        },
        _off: function(t, e) {
          e = (e || "").split(" ").join(this.eventNamespace + " ") + this.eventNamespace, t.unbind(e).undelegate(e)
        },
        _delay: function(t, e) {
          function i() {
            return ("string" == typeof t ? s[t] : t).apply(s, arguments)
          }
          var s = this;
          return setTimeout(i, e || 0)
        },
        _hoverable: function(e) {
          this.hoverable = this.hoverable.add(e), this._on(e, {
            mouseenter: function(e) {
              t(e.currentTarget).addClass("ui-state-hover")
            },
            mouseleave: function(e) {
              t(e.currentTarget).removeClass("ui-state-hover")
            }
          })
        },
        _focusable: function(e) {
          this.focusable = this.focusable.add(e), this._on(e, {
            focusin: function(e) {
              t(e.currentTarget).addClass("ui-state-focus")
            },
            focusout: function(e) {
              t(e.currentTarget).removeClass("ui-state-focus")
            }
          })
        },
        _trigger: function(e, i, s) {
          var n, o, a = this.options[e];
          if (s = s || {}, i = t.Event(i), i.type = (e === this.widgetEventPrefix ? e : this.widgetEventPrefix + e).toLowerCase(), i.target = this.element[0], o = i.originalEvent)
            for (n in o) n in i || (i[n] = o[n]);
          return this.element.trigger(i, s), !(t.isFunction(a) && a.apply(this.element[0], [i].concat(s)) === !1 || i.isDefaultPrevented())
        }
      }, t.each({
        show: "fadeIn",
        hide: "fadeOut"
      }, function(e, i) {
        t.Widget.prototype["_" + e] = function(s, n, o) {
          "string" == typeof n && (n = {
            effect: n
          });
          var a, r = n ? n === !0 || "number" == typeof n ? i : n.effect || i : e;
          n = n || {}, "number" == typeof n && (n = {
            duration: n
          }), a = !t.isEmptyObject(n), n.complete = o, n.delay && s.delay(n.delay), a && t.effects && t.effects.effect[r] ? s[e](n) : r !== e && s[r] ? s[r](n.duration, n.easing, o) : s.queue(function(i) {
            t(this)[e](), o && o.call(s[0]), i()
          })
        }
      })
    }(jQuery),
    function(t) {
      var e = !1;
      t(document).mouseup(function() {
        e = !1
      }), t.widget("ui.mouse", {
        version: "1.10.3",
        options: {
          cancel: "input,textarea,button,select,option",
          distance: 1,
          delay: 0
        },
        _mouseInit: function() {
          var e = this;
          this.element.bind("mousedown." + this.widgetName, function(t) {
            return e._mouseDown(t)
          }).bind("click." + this.widgetName, function(i) {
            return !0 === t.data(i.target, e.widgetName + ".preventClickEvent") ? (t.removeData(i.target, e.widgetName + ".preventClickEvent"), i.stopImmediatePropagation(), !1) : undefined
          }), this.started = !1
        },
        _mouseDestroy: function() {
          this.element.unbind("." + this.widgetName), this._mouseMoveDelegate && t(document).unbind("mousemove." + this.widgetName, this._mouseMoveDelegate).unbind("mouseup." + this.widgetName, this._mouseUpDelegate)
        },
        _mouseDown: function(i) {
          if (!e) {
            this._mouseStarted && this._mouseUp(i), this._mouseDownEvent = i;
            var s = this,
              n = 1 === i.which,
              o = "string" == typeof this.options.cancel && i.target.nodeName ? t(i.target).closest(this.options.cancel).length : !1;
            return n && !o && this._mouseCapture(i) ? (this.mouseDelayMet = !this.options.delay, this.mouseDelayMet || (this._mouseDelayTimer = setTimeout(function() {
              s.mouseDelayMet = !0
            }, this.options.delay)), this._mouseDistanceMet(i) && this._mouseDelayMet(i) && (this._mouseStarted = this._mouseStart(i) !== !1, !this._mouseStarted) ? (i.preventDefault(), !0) : (!0 === t.data(i.target, this.widgetName +
              ".preventClickEvent") && t.removeData(i.target, this.widgetName + ".preventClickEvent"), this._mouseMoveDelegate = function(t) {
              return s._mouseMove(t)
            }, this._mouseUpDelegate = function(t) {
              return s._mouseUp(t)
            }, t(document).bind("mousemove." + this.widgetName, this._mouseMoveDelegate).bind("mouseup." + this.widgetName, this._mouseUpDelegate), i.preventDefault(), e = !0, !0)) : !0
          }
        },
        _mouseMove: function(e) {
          return t.ui.ie && (!document.documentMode || 9 > document.documentMode) && !e.button ? this._mouseUp(e) : this._mouseStarted ? (this._mouseDrag(e), e.preventDefault()) : (this._mouseDistanceMet(e) && this._mouseDelayMet(e) && (this
            ._mouseStarted = this._mouseStart(this._mouseDownEvent, e) !== !1, this._mouseStarted ? this._mouseDrag(e) : this._mouseUp(e)), !this._mouseStarted)
        },
        _mouseUp: function(e) {
          return t(document).unbind("mousemove." + this.widgetName, this._mouseMoveDelegate).unbind("mouseup." + this.widgetName, this._mouseUpDelegate), this._mouseStarted && (this._mouseStarted = !1, e.target === this._mouseDownEvent
            .target && t.data(e.target, this.widgetName + ".preventClickEvent", !0), this._mouseStop(e)), !1
        },
        _mouseDistanceMet: function(t) {
          return Math.max(Math.abs(this._mouseDownEvent.pageX - t.pageX), Math.abs(this._mouseDownEvent.pageY - t.pageY)) >= this.options.distance
        },
        _mouseDelayMet: function() {
          return this.mouseDelayMet
        },
        _mouseStart: function() {},
        _mouseDrag: function() {},
        _mouseStop: function() {},
        _mouseCapture: function() {
          return !0
        }
      })
    }(jQuery),
    function(t) {
      t.widget("ui.draggable", t.ui.mouse, {
        version: "1.10.3",
        widgetEventPrefix: "drag",
        options: {
          addClasses: !0,
          appendTo: "parent",
          axis: !1,
          connectToSortable: !1,
          containment: !1,
          cursor: "auto",
          cursorAt: !1,
          grid: !1,
          handle: !1,
          helper: "original",
          iframeFix: !1,
          opacity: !1,
          refreshPositions: !1,
          revert: !1,
          revertDuration: 500,
          scope: "default",
          scroll: !0,
          scrollSensitivity: 20,
          scrollSpeed: 20,
          snap: !1,
          snapMode: "both",
          snapTolerance: 20,
          stack: !1,
          zIndex: !1,
          drag: null,
          start: null,
          stop: null
        },
        _create: function() {
          "original" !== this.options.helper || /^(?:r|a|f)/.test(this.element.css("position")) || (this.element[0].style.position = "relative"), this.options.addClasses && this.element.addClass("ui-draggable"), this.options.disabled && this
            .element.addClass("ui-draggable-disabled"), this._mouseInit()
        },
        _destroy: function() {
          this.element.removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled"), this._mouseDestroy()
        },
        _mouseCapture: function(e) {
          var i = this.options;
          return this.helper || i.disabled || t(e.target).closest(".ui-resizable-handle").length > 0 ? !1 : (this.handle = this._getHandle(e), this.handle ? (t(i.iframeFix === !0 ? "iframe" : i.iframeFix).each(function() {
            t("<div class='ui-draggable-iframeFix' style='background: #fff;'></div>").css({
              width: this.offsetWidth + "px",
              height: this.offsetHeight + "px",
              position: "absolute",
              opacity: "0.001",
              zIndex: 1e3
            }).css(t(this).offset()).appendTo("body")
          }), !0) : !1)
        },
        _mouseStart: function(e) {
          var i = this.options;
          return this.helper = this._createHelper(e), this.helper.addClass("ui-draggable-dragging"), this._cacheHelperProportions(), t.ui.ddmanager && (t.ui.ddmanager.current = this), this._cacheMargins(), this.cssPosition = this.helper.css(
              "position"), this.scrollParent = this.helper.scrollParent(), this.offsetParent = this.helper.offsetParent(), this.offsetParentCssPosition = this.offsetParent.css("position"), this.offset = this.positionAbs = this.element.offset(),
            this.offset = {
              top: this.offset.top - this.margins.top,
              left: this.offset.left - this.margins.left
            }, this.offset.scroll = !1, t.extend(this.offset, {
              click: {
                left: e.pageX - this.offset.left,
                top: e.pageY - this.offset.top
              },
              parent: this._getParentOffset(),
              relative: this._getRelativeOffset()
            }), this.originalPosition = this.position = this._generatePosition(e), this.originalPageX = e.pageX, this.originalPageY = e.pageY, i.cursorAt && this._adjustOffsetFromHelper(i.cursorAt), this._setContainment(), this._trigger(
              "start", e) === !1 ? (this._clear(), !1) : (this._cacheHelperProportions(), t.ui.ddmanager && !i.dropBehaviour && t.ui.ddmanager.prepareOffsets(this, e), this._mouseDrag(e, !0), t.ui.ddmanager && t.ui.ddmanager.dragStart(this, e),
              !0)
        },
        _mouseDrag: function(e, i) {
          if ("fixed" === this.offsetParentCssPosition && (this.offset.parent = this._getParentOffset()), this.position = this._generatePosition(e), this.positionAbs = this._convertPositionTo("absolute"), !i) {
            var s = this._uiHash();
            if (this._trigger("drag", e, s) === !1) return this._mouseUp({}), !1;
            this.position = s.position
          }
          return this.options.axis && "y" === this.options.axis || (this.helper[0].style.left = this.position.left + "px"), this.options.axis && "x" === this.options.axis || (this.helper[0].style.top = this.position.top + "px"), t.ui
            .ddmanager && t.ui.ddmanager.drag(this, e), !1
        },
        _mouseStop: function(e) {
          var i = this,
            s = !1;
          return t.ui.ddmanager && !this.options.dropBehaviour && (s = t.ui.ddmanager.drop(this, e)), this.dropped && (s = this.dropped, this.dropped = !1), "original" !== this.options.helper || t.contains(this.element[0].ownerDocument, this
            .element[0]) ? ("invalid" === this.options.revert && !s || "valid" === this.options.revert && s || this.options.revert === !0 || t.isFunction(this.options.revert) && this.options.revert.call(this.element, s) ? t(this.helper)
            .animate(this.originalPosition, parseInt(this.options.revertDuration, 10), function() {
              i._trigger("stop", e) !== !1 && i._clear()
            }) : this._trigger("stop", e) !== !1 && this._clear(), !1) : !1
        },
        _mouseUp: function(e) {
          return t("div.ui-draggable-iframeFix").each(function() {
            this.parentNode.removeChild(this)
          }), t.ui.ddmanager && t.ui.ddmanager.dragStop(this, e), t.ui.mouse.prototype._mouseUp.call(this, e)
        },
        cancel: function() {
          return this.helper.is(".ui-draggable-dragging") ? this._mouseUp({}) : this._clear(), this
        },
        _getHandle: function(e) {
          return this.options.handle ? !!t(e.target).closest(this.element.find(this.options.handle)).length : !0
        },
        _createHelper: function(e) {
          var i = this.options,
            s = t.isFunction(i.helper) ? t(i.helper.apply(this.element[0], [e])) : "clone" === i.helper ? this.element.clone().removeAttr("id") : this.element;
          return s.parents("body").length || s.appendTo("parent" === i.appendTo ? this.element[0].parentNode : i.appendTo), s[0] === this.element[0] || /(fixed|absolute)/.test(s.css("position")) || s.css("position", "absolute"), s
        },
        _adjustOffsetFromHelper: function(e) {
          "string" == typeof e && (e = e.split(" ")), t.isArray(e) && (e = {
            left: +e[0],
            top: +e[1] || 0
          }), "left" in e && (this.offset.click.left = e.left + this.margins.left), "right" in e && (this.offset.click.left = this.helperProportions.width - e.right + this.margins.left), "top" in e && (this.offset.click.top = e.top + this
            .margins.top), "bottom" in e && (this.offset.click.top = this.helperProportions.height - e.bottom + this.margins.top)
        },
        _getParentOffset: function() {
          var e = this.offsetParent.offset();
          return "absolute" === this.cssPosition && this.scrollParent[0] !== document && t.contains(this.scrollParent[0], this.offsetParent[0]) && (e.left += this.scrollParent.scrollLeft(), e.top += this.scrollParent.scrollTop()), (this
            .offsetParent[0] === document.body || this.offsetParent[0].tagName && "html" === this.offsetParent[0].tagName.toLowerCase() && t.ui.ie) && (e = {
            top: 0,
            left: 0
          }), {
            top: e.top + (parseInt(this.offsetParent.css("borderTopWidth"), 10) || 0),
            left: e.left + (parseInt(this.offsetParent.css("borderLeftWidth"), 10) || 0)
          }
        },
        _getRelativeOffset: function() {
          if ("relative" === this.cssPosition) {
            var t = this.element.position();
            return {
              top: t.top - (parseInt(this.helper.css("top"), 10) || 0) + this.scrollParent.scrollTop(),
              left: t.left - (parseInt(this.helper.css("left"), 10) || 0) + this.scrollParent.scrollLeft()
            }
          }
          return {
            top: 0,
            left: 0
          }
        },
        _cacheMargins: function() {
          this.margins = {
            left: parseInt(this.element.css("marginLeft"), 10) || 0,
            top: parseInt(this.element.css("marginTop"), 10) || 0,
            right: parseInt(this.element.css("marginRight"), 10) || 0,
            bottom: parseInt(this.element.css("marginBottom"), 10) || 0
          }
        },
        _cacheHelperProportions: function() {
          this.helperProportions = {
            width: this.helper.outerWidth(),
            height: this.helper.outerHeight()
          }
        },
        _setContainment: function() {
          var e, i, s, n = this.options;
          return n.containment ? "window" === n.containment ? (this.containment = [t(window).scrollLeft() - this.offset.relative.left - this.offset.parent.left, t(window).scrollTop() - this.offset.relative.top - this.offset.parent.top, t(
              window).scrollLeft() + t(window).width() - this.helperProportions.width - this.margins.left, t(window).scrollTop() + (t(window).height() || document.body.parentNode.scrollHeight) - this.helperProportions.height - this.margins
            .top
          ], undefined) : "document" === n.containment ? (this.containment = [0, 0, t(document).width() - this.helperProportions.width - this.margins.left, (t(document).height() || document.body.parentNode.scrollHeight) - this
            .helperProportions.height - this.margins.top
          ], undefined) : n.containment.constructor === Array ? (this.containment = n.containment, undefined) : ("parent" === n.containment && (n.containment = this.helper[0].parentNode), i = t(n.containment), s = i[0], s && (e = "hidden" !==
            i.css("overflow"), this.containment = [(parseInt(i.css("borderLeftWidth"), 10) || 0) + (parseInt(i.css("paddingLeft"), 10) || 0), (parseInt(i.css("borderTopWidth"), 10) || 0) + (parseInt(i.css("paddingTop"), 10) || 0), (e ? Math
                .max(s.scrollWidth, s.offsetWidth) : s.offsetWidth) - (parseInt(i.css("borderRightWidth"), 10) || 0) - (parseInt(i.css("paddingRight"), 10) || 0) - this.helperProportions.width - this.margins.left - this.margins.right, (e ?
                Math.max(s.scrollHeight, s.offsetHeight) : s.offsetHeight) - (parseInt(i.css("borderBottomWidth"), 10) || 0) - (parseInt(i.css("paddingBottom"), 10) || 0) - this.helperProportions.height - this.margins.top - this.margins
              .bottom
            ], this.relative_container = i), undefined) : (this.containment = null, undefined)
        },
        _convertPositionTo: function(e, i) {
          i || (i = this.position);
          var s = "absolute" === e ? 1 : -1,
            n = "absolute" !== this.cssPosition || this.scrollParent[0] !== document && t.contains(this.scrollParent[0], this.offsetParent[0]) ? this.scrollParent : this.offsetParent;
          return this.offset.scroll || (this.offset.scroll = {
            top: n.scrollTop(),
            left: n.scrollLeft()
          }), {
            top: i.top + this.offset.relative.top * s + this.offset.parent.top * s - ("fixed" === this.cssPosition ? -this.scrollParent.scrollTop() : this.offset.scroll.top) * s,
            left: i.left + this.offset.relative.left * s + this.offset.parent.left * s - ("fixed" === this.cssPosition ? -this.scrollParent.scrollLeft() : this.offset.scroll.left) * s
          }
        },
        _generatePosition: function(e) {
          var i, s, n, o, a = this.options,
            r = "absolute" !== this.cssPosition || this.scrollParent[0] !== document && t.contains(this.scrollParent[0], this.offsetParent[0]) ? this.scrollParent : this.offsetParent,
            h = e.pageX,
            l = e.pageY;
          return this.offset.scroll || (this.offset.scroll = {
            top: r.scrollTop(),
            left: r.scrollLeft()
          }), this.originalPosition && (this.containment && (this.relative_container ? (s = this.relative_container.offset(), i = [this.containment[0] + s.left, this.containment[1] + s.top, this.containment[2] + s.left, this.containment[3] +
              s.top
            ]) : i = this.containment, e.pageX - this.offset.click.left < i[0] && (h = i[0] + this.offset.click.left), e.pageY - this.offset.click.top < i[1] && (l = i[1] + this.offset.click.top), e.pageX - this.offset.click.left > i[2] &&
            (h = i[2] + this.offset.click.left), e.pageY - this.offset.click.top > i[3] && (l = i[3] + this.offset.click.top)), a.grid && (n = a.grid[1] ? this.originalPageY + Math.round((l - this.originalPageY) / a.grid[1]) * a.grid[1] :
            this.originalPageY, l = i ? n - this.offset.click.top >= i[1] || n - this.offset.click.top > i[3] ? n : n - this.offset.click.top >= i[1] ? n - a.grid[1] : n + a.grid[1] : n, o = a.grid[0] ? this.originalPageX + Math.round((h -
              this.originalPageX) / a.grid[0]) * a.grid[0] : this.originalPageX, h = i ? o - this.offset.click.left >= i[0] || o - this.offset.click.left > i[2] ? o : o - this.offset.click.left >= i[0] ? o - a.grid[0] : o + a.grid[0] : o)), {
            top: l - this.offset.click.top - this.offset.relative.top - this.offset.parent.top + ("fixed" === this.cssPosition ? -this.scrollParent.scrollTop() : this.offset.scroll.top),
            left: h - this.offset.click.left - this.offset.relative.left - this.offset.parent.left + ("fixed" === this.cssPosition ? -this.scrollParent.scrollLeft() : this.offset.scroll.left)
          }
        },
        _clear: function() {
          this.helper.removeClass("ui-draggable-dragging"), this.helper[0] === this.element[0] || this.cancelHelperRemoval || this.helper.remove(), this.helper = null, this.cancelHelperRemoval = !1
        },
        _trigger: function(e, i, s) {
          return s = s || this._uiHash(), t.ui.plugin.call(this, e, [i, s]), "drag" === e && (this.positionAbs = this._convertPositionTo("absolute")), t.Widget.prototype._trigger.call(this, e, i, s)
        },
        plugins: {},
        _uiHash: function() {
          return {
            helper: this.helper,
            position: this.position,
            originalPosition: this.originalPosition,
            offset: this.positionAbs
          }
        }
      }), t.ui.plugin.add("draggable", "connectToSortable", {
        start: function(e, i) {
          var s = t(this).data("ui-draggable"),
            n = s.options,
            o = t.extend({}, i, {
              item: s.element
            });
          s.sortables = [], t(n.connectToSortable).each(function() {
            var i = t.data(this, "ui-sortable");
            i && !i.options.disabled && (s.sortables.push({
              instance: i,
              shouldRevert: i.options.revert
            }), i.refreshPositions(), i._trigger("activate", e, o))
          })
        },
        stop: function(e, i) {
          var s = t(this).data("ui-draggable"),
            n = t.extend({}, i, {
              item: s.element
            });
          t.each(s.sortables, function() {
            this.instance.isOver ? (this.instance.isOver = 0, s.cancelHelperRemoval = !0, this.instance.cancelHelperRemoval = !1, this.shouldRevert && (this.instance.options.revert = this.shouldRevert), this.instance._mouseStop(e), this
              .instance.options.helper = this.instance.options._helper, "original" === s.options.helper && this.instance.currentItem.css({
                top: "auto",
                left: "auto"
              })) : (this.instance.cancelHelperRemoval = !1, this.instance._trigger("deactivate", e, n))
          })
        },
        drag: function(e, i) {
          var s = t(this).data("ui-draggable"),
            n = this;
          t.each(s.sortables, function() {
            var o = !1,
              a = this;
            this.instance.positionAbs = s.positionAbs, this.instance.helperProportions = s.helperProportions, this.instance.offset.click = s.offset.click, this.instance._intersectsWith(this.instance.containerCache) && (o = !0, t.each(s
              .sortables,
              function() {
                return this.instance.positionAbs = s.positionAbs, this.instance.helperProportions = s.helperProportions, this.instance.offset.click = s.offset.click, this !== a && this.instance._intersectsWith(this.instance
                  .containerCache) && t.contains(a.instance.element[0], this.instance.element[0]) && (o = !1), o
              })), o ? (this.instance.isOver || (this.instance.isOver = 1, this.instance.currentItem = t(n).clone().removeAttr("id").appendTo(this.instance.element).data("ui-sortable-item", !0), this.instance.options._helper = this
              .instance.options.helper, this.instance.options.helper = function() {
                return i.helper[0]
              }, e.target = this.instance.currentItem[0], this.instance._mouseCapture(e, !0), this.instance._mouseStart(e, !0, !0), this.instance.offset.click.top = s.offset.click.top, this.instance.offset.click.left = s.offset.click
              .left, this.instance.offset.parent.left -= s.offset.parent.left - this.instance.offset.parent.left, this.instance.offset.parent.top -= s.offset.parent.top - this.instance.offset.parent.top, s._trigger("toSortable", e), s
              .dropped = this.instance.element, s.currentItem = s.element, this.instance.fromOutside = s), this.instance.currentItem && this.instance._mouseDrag(e)) : this.instance.isOver && (this.instance.isOver = 0, this.instance
              .cancelHelperRemoval = !0, this.instance.options.revert = !1, this.instance._trigger("out", e, this.instance._uiHash(this.instance)), this.instance._mouseStop(e, !0), this.instance.options.helper = this.instance.options
              ._helper, this.instance.currentItem.remove(), this.instance.placeholder && this.instance.placeholder.remove(), s._trigger("fromSortable", e), s.dropped = !1)
          })
        }
      }), t.ui.plugin.add("draggable", "cursor", {
        start: function() {
          var e = t("body"),
            i = t(this).data("ui-draggable").options;
          e.css("cursor") && (i._cursor = e.css("cursor")), e.css("cursor", i.cursor)
        },
        stop: function() {
          var e = t(this).data("ui-draggable").options;
          e._cursor && t("body").css("cursor", e._cursor)
        }
      }), t.ui.plugin.add("draggable", "opacity", {
        start: function(e, i) {
          var s = t(i.helper),
            n = t(this).data("ui-draggable").options;
          s.css("opacity") && (n._opacity = s.css("opacity")), s.css("opacity", n.opacity)
        },
        stop: function(e, i) {
          var s = t(this).data("ui-draggable").options;
          s._opacity && t(i.helper).css("opacity", s._opacity)
        }
      }), t.ui.plugin.add("draggable", "scroll", {
        start: function() {
          var e = t(this).data("ui-draggable");
          e.scrollParent[0] !== document && "HTML" !== e.scrollParent[0].tagName && (e.overflowOffset = e.scrollParent.offset())
        },
        drag: function(e) {
          var i = t(this).data("ui-draggable"),
            s = i.options,
            n = !1;
          i.scrollParent[0] !== document && "HTML" !== i.scrollParent[0].tagName ? (s.axis && "x" === s.axis || (i.overflowOffset.top + i.scrollParent[0].offsetHeight - e.pageY < s.scrollSensitivity ? i.scrollParent[0].scrollTop = n = i
            .scrollParent[0].scrollTop + s.scrollSpeed : e.pageY - i.overflowOffset.top < s.scrollSensitivity && (i.scrollParent[0].scrollTop = n = i.scrollParent[0].scrollTop - s.scrollSpeed)), s.axis && "y" === s.axis || (i.overflowOffset
            .left + i.scrollParent[0].offsetWidth - e.pageX < s.scrollSensitivity ? i.scrollParent[0].scrollLeft = n = i.scrollParent[0].scrollLeft + s.scrollSpeed : e.pageX - i.overflowOffset.left < s.scrollSensitivity && (i.scrollParent[
              0].scrollLeft = n = i.scrollParent[0].scrollLeft - s.scrollSpeed))) : (s.axis && "x" === s.axis || (e.pageY - t(document).scrollTop() < s.scrollSensitivity ? n = t(document).scrollTop(t(document).scrollTop() - s.scrollSpeed) :
            t(window).height() - (e.pageY - t(document).scrollTop()) < s.scrollSensitivity && (n = t(document).scrollTop(t(document).scrollTop() + s.scrollSpeed))), s.axis && "y" === s.axis || (e.pageX - t(document).scrollLeft() < s
            .scrollSensitivity ? n = t(document).scrollLeft(t(document).scrollLeft() - s.scrollSpeed) : t(window).width() - (e.pageX - t(document).scrollLeft()) < s.scrollSensitivity && (n = t(document).scrollLeft(t(document).scrollLeft() +
              s.scrollSpeed)))), n !== !1 && t.ui.ddmanager && !s.dropBehaviour && t.ui.ddmanager.prepareOffsets(i, e)
        }
      }), t.ui.plugin.add("draggable", "snap", {
        start: function() {
          var e = t(this).data("ui-draggable"),
            i = e.options;
          e.snapElements = [], t(i.snap.constructor !== String ? i.snap.items || ":data(ui-draggable)" : i.snap).each(function() {
            var i = t(this),
              s = i.offset();
            this !== e.element[0] && e.snapElements.push({
              item: this,
              width: i.outerWidth(),
              height: i.outerHeight(),
              top: s.top,
              left: s.left
            })
          })
        },
        drag: function(e, i) {
          var s, n, o, a, r, h, l, c, u, d, p = t(this).data("ui-draggable"),
            f = p.options,
            g = f.snapTolerance,
            m = i.offset.left,
            v = m + p.helperProportions.width,
            _ = i.offset.top,
            b = _ + p.helperProportions.height;
          for (u = p.snapElements.length - 1; u >= 0; u--) r = p.snapElements[u].left, h = r + p.snapElements[u].width, l = p.snapElements[u].top, c = l + p.snapElements[u].height, r - g > v || m > h + g || l - g > b || _ > c + g || !t
            .contains(p.snapElements[u].item.ownerDocument, p.snapElements[u].item) ? (p.snapElements[u].snapping && p.options.snap.release && p.options.snap.release.call(p.element, e, t.extend(p._uiHash(), {
              snapItem: p.snapElements[u].item
            })), p.snapElements[u].snapping = !1) : ("inner" !== f.snapMode && (s = g >= Math.abs(l - b), n = g >= Math.abs(c - _), o = g >= Math.abs(r - v), a = g >= Math.abs(h - m), s && (i.position.top = p._convertPositionTo("relative", {
              top: l - p.helperProportions.height,
              left: 0
            }).top - p.margins.top), n && (i.position.top = p._convertPositionTo("relative", {
              top: c,
              left: 0
            }).top - p.margins.top), o && (i.position.left = p._convertPositionTo("relative", {
              top: 0,
              left: r - p.helperProportions.width
            }).left - p.margins.left), a && (i.position.left = p._convertPositionTo("relative", {
              top: 0,
              left: h
            }).left - p.margins.left)), d = s || n || o || a, "outer" !== f.snapMode && (s = g >= Math.abs(l - _), n = g >= Math.abs(c - b), o = g >= Math.abs(r - m), a = g >= Math.abs(h - v), s && (i.position.top = p._convertPositionTo(
              "relative", {
                top: l,
                left: 0
              }).top - p.margins.top), n && (i.position.top = p._convertPositionTo("relative", {
              top: c - p.helperProportions.height,
              left: 0
            }).top - p.margins.top), o && (i.position.left = p._convertPositionTo("relative", {
              top: 0,
              left: r
            }).left - p.margins.left), a && (i.position.left = p._convertPositionTo("relative", {
              top: 0,
              left: h - p.helperProportions.width
            }).left - p.margins.left)), !p.snapElements[u].snapping && (s || n || o || a || d) && p.options.snap.snap && p.options.snap.snap.call(p.element, e, t.extend(p._uiHash(), {
              snapItem: p.snapElements[u].item
            })), p.snapElements[u].snapping = s || n || o || a || d)
        }
      }), t.ui.plugin.add("draggable", "stack", {
        start: function() {
          var e, i = this.data("ui-draggable").options,
            s = t.makeArray(t(i.stack)).sort(function(e, i) {
              return (parseInt(t(e).css("zIndex"), 10) || 0) - (parseInt(t(i).css("zIndex"), 10) || 0)
            });
          s.length && (e = parseInt(t(s[0]).css("zIndex"), 10) || 0, t(s).each(function(i) {
            t(this).css("zIndex", e + i)
          }), this.css("zIndex", e + s.length))
        }
      }), t.ui.plugin.add("draggable", "zIndex", {
        start: function(e, i) {
          var s = t(i.helper),
            n = t(this).data("ui-draggable").options;
          s.css("zIndex") && (n._zIndex = s.css("zIndex")), s.css("zIndex", n.zIndex)
        },
        stop: function(e, i) {
          var s = t(this).data("ui-draggable").options;
          s._zIndex && t(i.helper).css("zIndex", s._zIndex)
        }
      })
    }(jQuery),
    function(t) {
      function e(t, e, i) {
        return t > e && e + i > t
      }
      t.widget("ui.droppable", {
        version: "1.10.3",
        widgetEventPrefix: "drop",
        options: {
          accept: "*",
          activeClass: !1,
          addClasses: !0,
          greedy: !1,
          hoverClass: !1,
          scope: "default",
          tolerance: "intersect",
          activate: null,
          deactivate: null,
          drop: null,
          out: null,
          over: null
        },
        _create: function() {
          var e = this.options,
            i = e.accept;
          this.isover = !1, this.isout = !0, this.accept = t.isFunction(i) ? i : function(t) {
            return t.is(i)
          }, this.proportions = {
            width: this.element[0].offsetWidth,
            height: this.element[0].offsetHeight
          }, t.ui.ddmanager.droppables[e.scope] = t.ui.ddmanager.droppables[e.scope] || [], t.ui.ddmanager.droppables[e.scope].push(this), e.addClasses && this.element.addClass("ui-droppable")
        },
        _destroy: function() {
          for (var e = 0, i = t.ui.ddmanager.droppables[this.options.scope]; i.length > e; e++) i[e] === this && i.splice(e, 1);
          this.element.removeClass("ui-droppable ui-droppable-disabled")
        },
        _setOption: function(e, i) {
          "accept" === e && (this.accept = t.isFunction(i) ? i : function(t) {
            return t.is(i)
          }), t.Widget.prototype._setOption.apply(this, arguments)
        },
        _activate: function(e) {
          var i = t.ui.ddmanager.current;
          this.options.activeClass && this.element.addClass(this.options.activeClass), i && this._trigger("activate", e, this.ui(i))
        },
        _deactivate: function(e) {
          var i = t.ui.ddmanager.current;
          this.options.activeClass && this.element.removeClass(this.options.activeClass), i && this._trigger("deactivate", e, this.ui(i))
        },
        _over: function(e) {
          var i = t.ui.ddmanager.current;
          i && (i.currentItem || i.element)[0] !== this.element[0] && this.accept.call(this.element[0], i.currentItem || i.element) && (this.options.hoverClass && this.element.addClass(this.options.hoverClass), this._trigger("over", e, this.ui(
            i)))
        },
        _out: function(e) {
          var i = t.ui.ddmanager.current;
          i && (i.currentItem || i.element)[0] !== this.element[0] && this.accept.call(this.element[0], i.currentItem || i.element) && (this.options.hoverClass && this.element.removeClass(this.options.hoverClass), this._trigger("out", e, this
            .ui(i)))
        },
        _drop: function(e, i) {
          var s = i || t.ui.ddmanager.current,
            n = !1;
          return s && (s.currentItem || s.element)[0] !== this.element[0] ? (this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function() {
            var e = t.data(this, "ui-droppable");
            return e.options.greedy && !e.options.disabled && e.options.scope === s.options.scope && e.accept.call(e.element[0], s.currentItem || s.element) && t.ui.intersect(s, t.extend(e, {
              offset: e.element.offset()
            }), e.options.tolerance) ? (n = !0, !1) : undefined
          }), n ? !1 : this.accept.call(this.element[0], s.currentItem || s.element) ? (this.options.activeClass && this.element.removeClass(this.options.activeClass), this.options.hoverClass && this.element.removeClass(this.options
            .hoverClass), this._trigger("drop", e, this.ui(s)), this.element) : !1) : !1
        },
        ui: function(t) {
          return {
            draggable: t.currentItem || t.element,
            helper: t.helper,
            position: t.position,
            offset: t.positionAbs
          }
        }
      }), t.ui.intersect = function(t, i, s) {
        if (!i.offset) return !1;
        var n, o, a = (t.positionAbs || t.position.absolute).left,
          r = a + t.helperProportions.width,
          h = (t.positionAbs || t.position.absolute).top,
          l = h + t.helperProportions.height,
          c = i.offset.left,
          u = c + i.proportions.width,
          d = i.offset.top,
          p = d + i.proportions.height;
        switch (s) {
          case "fit":
            return a >= c && u >= r && h >= d && p >= l;
          case "intersect":
            return a + t.helperProportions.width / 2 > c && u > r - t.helperProportions.width / 2 && h + t.helperProportions.height / 2 > d && p > l - t.helperProportions.height / 2;
          case "pointer":
            return n = (t.positionAbs || t.position.absolute).left + (t.clickOffset || t.offset.click).left, o = (t.positionAbs || t.position.absolute).top + (t.clickOffset || t.offset.click).top, e(o, d, i.proportions.height) && e(n, c, i
              .proportions.width);
          case "touch":
            return (h >= d && p >= h || l >= d && p >= l || d > h && l > p) && (a >= c && u >= a || r >= c && u >= r || c > a && r > u);
          default:
            return !1
        }
      }, t.ui.ddmanager = {
        current: null,
        droppables: {
          "default": []
        },
        prepareOffsets: function(e, i) {
          var s, n, o = t.ui.ddmanager.droppables[e.options.scope] || [],
            a = i ? i.type : null,
            r = (e.currentItem || e.element).find(":data(ui-droppable)").addBack();
          t: for (s = 0; o.length > s; s++)
            if (!(o[s].options.disabled || e && !o[s].accept.call(o[s].element[0], e.currentItem || e.element))) {
              for (n = 0; r.length > n; n++)
                if (r[n] === o[s].element[0]) {
                  o[s].proportions.height = 0;
                  continue t
                } o[s].visible = "none" !== o[s].element.css("display"), o[s].visible && ("mousedown" === a && o[s]._activate.call(o[s], i), o[s].offset = o[s].element.offset(), o[s].proportions = {
                width: o[s].element[0].offsetWidth,
                height: o[s].element[0].offsetHeight
              })
            }
        },
        drop: function(e, i) {
          var s = !1;
          return t.each((t.ui.ddmanager.droppables[e.options.scope] || []).slice(), function() {
            this.options && (!this.options.disabled && this.visible && t.ui.intersect(e, this, this.options.tolerance) && (s = this._drop.call(this, i) || s), !this.options.disabled && this.visible && this.accept.call(this.element[0], e
              .currentItem || e.element) && (this.isout = !0, this.isover = !1, this._deactivate.call(this, i)))
          }), s
        },
        dragStart: function(e, i) {
          e.element.parentsUntil("body").bind("scroll.droppable", function() {
            e.options.refreshPositions || t.ui.ddmanager.prepareOffsets(e, i)
          })
        },
        drag: function(e, i) {
          e.options.refreshPositions && t.ui.ddmanager.prepareOffsets(e, i), t.each(t.ui.ddmanager.droppables[e.options.scope] || [], function() {
            if (!this.options.disabled && !this.greedyChild && this.visible) {
              var s, n, o, a = t.ui.intersect(e, this, this.options.tolerance),
                r = !a && this.isover ? "isout" : a && !this.isover ? "isover" : null;
              r && (this.options.greedy && (n = this.options.scope, o = this.element.parents(":data(ui-droppable)").filter(function() {
                return t.data(this, "ui-droppable").options.scope === n
              }), o.length && (s = t.data(o[0], "ui-droppable"), s.greedyChild = "isover" === r)), s && "isover" === r && (s.isover = !1, s.isout = !0, s._out.call(s, i)), this[r] = !0, this["isout" === r ? "isover" : "isout"] = !1, this[
                "isover" === r ? "_over" : "_out"].call(this, i), s && "isout" === r && (s.isout = !1, s.isover = !0, s._over.call(s, i)))
            }
          })
        },
        dragStop: function(e, i) {
          e.element.parentsUntil("body").unbind("scroll.droppable"), e.options.refreshPositions || t.ui.ddmanager.prepareOffsets(e, i)
        }
      }
    }(jQuery),
    function(t) {
      function e(t) {
        return parseInt(t, 10) || 0
      }

      function i(t) {
        return !isNaN(parseInt(t, 10))
      }
      t.widget("ui.resizable", t.ui.mouse, {
        version: "1.10.3",
        widgetEventPrefix: "resize",
        options: {
          alsoResize: !1,
          animate: !1,
          animateDuration: "slow",
          animateEasing: "swing",
          aspectRatio: !1,
          autoHide: !1,
          containment: !1,
          ghost: !1,
          grid: !1,
          handles: "e,s,se",
          helper: !1,
          maxHeight: null,
          maxWidth: null,
          minHeight: 10,
          minWidth: 10,
          zIndex: 90,
          resize: null,
          start: null,
          stop: null
        },
        _create: function() {
          var e, i, s, n, o, a = this,
            r = this.options;
          if (this.element.addClass("ui-resizable"), t.extend(this, {
              _aspectRatio: !!r.aspectRatio,
              aspectRatio: r.aspectRatio,
              originalElement: this.element,
              _proportionallyResizeElements: [],
              _helper: r.helper || r.ghost || r.animate ? r.helper || "ui-resizable-helper" : null
            }), this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i) && (this.element.wrap(t("<div class='ui-wrapper' style='overflow: hidden;'></div>").css({
              position: this.element.css("position"),
              width: this.element.outerWidth(),
              height: this.element.outerHeight(),
              top: this.element.css("top"),
              left: this.element.css("left")
            })), this.element = this.element.parent().data("ui-resizable", this.element.data("ui-resizable")), this.elementIsWrapper = !0, this.element.css({
              marginLeft: this.originalElement.css("marginLeft"),
              marginTop: this.originalElement.css("marginTop"),
              marginRight: this.originalElement.css("marginRight"),
              marginBottom: this.originalElement.css("marginBottom")
            }), this.originalElement.css({
              marginLeft: 0,
              marginTop: 0,
              marginRight: 0,
              marginBottom: 0
            }), this.originalResizeStyle = this.originalElement.css("resize"), this.originalElement.css("resize", "none"), this._proportionallyResizeElements.push(this.originalElement.css({
              position: "static",
              zoom: 1,
              display: "block"
            })), this.originalElement.css({
              margin: this.originalElement.css("margin")
            }), this._proportionallyResize()), this.handles = r.handles || (t(".ui-resizable-handle", this.element).length ? {
              n: ".ui-resizable-n",
              e: ".ui-resizable-e",
              s: ".ui-resizable-s",
              w: ".ui-resizable-w",
              se: ".ui-resizable-se",
              sw: ".ui-resizable-sw",
              ne: ".ui-resizable-ne",
              nw: ".ui-resizable-nw"
            } : "e,s,se"), this.handles.constructor === String)
            for ("all" === this.handles && (this.handles = "n,e,s,w,se,sw,ne,nw"), e = this.handles.split(","), this.handles = {}, i = 0; e.length > i; i++) s = t.trim(e[i]), o = "ui-resizable-" + s, n = t("<div class='ui-resizable-handle " +
              o + "'></div>"), n.css({
              zIndex: r.zIndex
            }), "se" === s && n.addClass("ui-icon ui-icon-gripsmall-diagonal-se"), this.handles[s] = ".ui-resizable-" + s, this.element.append(n);
          this._renderAxis = function(e) {
            var i, s, n, o;
            e = e || this.element;
            for (i in this.handles) this.handles[i].constructor === String && (this.handles[i] = t(this.handles[i], this.element).show()), this.elementIsWrapper && this.originalElement[0].nodeName.match(/textarea|input|select|button/i) && (
              s = t(this.handles[i], this.element), o = /sw|ne|nw|se|n|s/.test(i) ? s.outerHeight() : s.outerWidth(), n = ["padding", /ne|nw|n/.test(i) ? "Top" : /se|sw|s/.test(i) ? "Bottom" : /^e$/.test(i) ? "Right" : "Left"].join(""), e
              .css(n, o), this._proportionallyResize()), t(this.handles[i]).length
          }, this._renderAxis(this.element), this._handles = t(".ui-resizable-handle", this.element).disableSelection(), this._handles.mouseover(function() {
            a.resizing || (this.className && (n = this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)), a.axis = n && n[1] ? n[1] : "se")
          }), r.autoHide && (this._handles.hide(), t(this.element).addClass("ui-resizable-autohide").mouseenter(function() {
            r.disabled || (t(this).removeClass("ui-resizable-autohide"), a._handles.show())
          }).mouseleave(function() {
            r.disabled || a.resizing || (t(this).addClass("ui-resizable-autohide"), a._handles.hide())
          })), this._mouseInit()
        },
        _destroy: function() {
          this._mouseDestroy();
          var e, i = function(e) {
            t(e).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").removeData("ui-resizable").unbind(".resizable").find(".ui-resizable-handle").remove()
          };
          return this.elementIsWrapper && (i(this.element), e = this.element, this.originalElement.css({
            position: e.css("position"),
            width: e.outerWidth(),
            height: e.outerHeight(),
            top: e.css("top"),
            left: e.css("left")
          }).insertAfter(e), e.remove()), this.originalElement.css("resize", this.originalResizeStyle), i(this.originalElement), this
        },
        _mouseCapture: function(e) {
          var i, s, n = !1;
          for (i in this.handles) s = t(this.handles[i])[0], (s === e.target || t.contains(s, e.target)) && (n = !0);
          return !this.options.disabled && n
        },
        _mouseStart: function(i) {
          var s, n, o, a = this.options,
            r = this.element.position(),
            h = this.element;
          return this.resizing = !0, /absolute/.test(h.css("position")) ? h.css({
              position: "absolute",
              top: h.css("top"),
              left: h.css("left")
            }) : h.is(".ui-draggable") && h.css({
              position: "absolute",
              top: r.top,
              left: r.left
            }), this._renderProxy(), s = e(this.helper.css("left")), n = e(this.helper.css("top")), a.containment && (s += t(a.containment).scrollLeft() || 0, n += t(a.containment).scrollTop() || 0), this.offset = this.helper.offset(), this
            .position = {
              left: s,
              top: n
            }, this.size = this._helper ? {
              width: h.outerWidth(),
              height: h.outerHeight()
            } : {
              width: h.width(),
              height: h.height()
            }, this.originalSize = this._helper ? {
              width: h.outerWidth(),
              height: h.outerHeight()
            } : {
              width: h.width(),
              height: h.height()
            }, this.originalPosition = {
              left: s,
              top: n
            }, this.sizeDiff = {
              width: h.outerWidth() - h.width(),
              height: h.outerHeight() - h.height()
            }, this.originalMousePosition = {
              left: i.pageX,
              top: i.pageY
            }, this.aspectRatio = "number" == typeof a.aspectRatio ? a.aspectRatio : this.originalSize.width / this.originalSize.height || 1, o = t(".ui-resizable-" + this.axis).css("cursor"), t("body").css("cursor", "auto" === o ? this.axis +
              "-resize" : o), h.addClass("ui-resizable-resizing"), this._propagate("start", i), !0
        },
        _mouseDrag: function(e) {
          var i, s = this.helper,
            n = {},
            o = this.originalMousePosition,
            a = this.axis,
            r = this.position.top,
            h = this.position.left,
            l = this.size.width,
            c = this.size.height,
            u = e.pageX - o.left || 0,
            d = e.pageY - o.top || 0,
            p = this._change[a];
          return p ? (i = p.apply(this, [e, u, d]), this._updateVirtualBoundaries(e.shiftKey), (this._aspectRatio || e.shiftKey) && (i = this._updateRatio(i, e)), i = this._respectSize(i, e), this._updateCache(i), this._propagate("resize", e),
            this.position.top !== r && (n.top = this.position.top + "px"), this.position.left !== h && (n.left = this.position.left + "px"), this.size.width !== l && (n.width = this.size.width + "px"), this.size.height !== c && (n.height =
              this.size.height + "px"), s.css(n), !this._helper && this._proportionallyResizeElements.length && this._proportionallyResize(), t.isEmptyObject(n) || this._trigger("resize", e, this.ui()), !1) : !1
        },
        _mouseStop: function(e) {
          this.resizing = !1;
          var i, s, n, o, a, r, h, l = this.options,
            c = this;
          return this._helper && (i = this._proportionallyResizeElements, s = i.length && /textarea/i.test(i[0].nodeName), n = s && t.ui.hasScroll(i[0], "left") ? 0 : c.sizeDiff.height, o = s ? 0 : c.sizeDiff.width, a = {
            width: c.helper.width() - o,
            height: c.helper.height() - n
          }, r = parseInt(c.element.css("left"), 10) + (c.position.left - c.originalPosition.left) || null, h = parseInt(c.element.css("top"), 10) + (c.position.top - c.originalPosition.top) || null, l.animate || this.element.css(t.extend(
            a, {
              top: h,
              left: r
            })), c.helper.height(c.size.height), c.helper.width(c.size.width), this._helper && !l.animate && this._proportionallyResize()), t("body").css("cursor", "auto"), this.element.removeClass("ui-resizable-resizing"), this._propagate(
            "stop", e), this._helper && this.helper.remove(), !1
        },
        _updateVirtualBoundaries: function(t) {
          var e, s, n, o, a, r = this.options;
          a = {
            minWidth: i(r.minWidth) ? r.minWidth : 0,
            maxWidth: i(r.maxWidth) ? r.maxWidth : 1 / 0,
            minHeight: i(r.minHeight) ? r.minHeight : 0,
            maxHeight: i(r.maxHeight) ? r.maxHeight : 1 / 0
          }, (this._aspectRatio || t) && (e = a.minHeight * this.aspectRatio, n = a.minWidth / this.aspectRatio, s = a.maxHeight * this.aspectRatio, o = a.maxWidth / this.aspectRatio, e > a.minWidth && (a.minWidth = e), n > a.minHeight && (a
            .minHeight = n), a.maxWidth > s && (a.maxWidth = s), a.maxHeight > o && (a.maxHeight = o)), this._vBoundaries = a
        },
        _updateCache: function(t) {
          this.offset = this.helper.offset(), i(t.left) && (this.position.left = t.left), i(t.top) && (this.position.top = t.top), i(t.height) && (this.size.height = t.height), i(t.width) && (this.size.width = t.width)
        },
        _updateRatio: function(t) {
          var e = this.position,
            s = this.size,
            n = this.axis;
          return i(t.height) ? t.width = t.height * this.aspectRatio : i(t.width) && (t.height = t.width / this.aspectRatio), "sw" === n && (t.left = e.left + (s.width - t.width), t.top = null), "nw" === n && (t.top = e.top + (s.height - t
            .height), t.left = e.left + (s.width - t.width)), t
        },
        _respectSize: function(t) {
          var e = this._vBoundaries,
            s = this.axis,
            n = i(t.width) && e.maxWidth && e.maxWidth < t.width,
            o = i(t.height) && e.maxHeight && e.maxHeight < t.height,
            a = i(t.width) && e.minWidth && e.minWidth > t.width,
            r = i(t.height) && e.minHeight && e.minHeight > t.height,
            h = this.originalPosition.left + this.originalSize.width,
            l = this.position.top + this.size.height,
            c = /sw|nw|w/.test(s),
            u = /nw|ne|n/.test(s);
          return a && (t.width = e.minWidth), r && (t.height = e.minHeight), n && (t.width = e.maxWidth), o && (t.height = e.maxHeight), a && c && (t.left = h - e.minWidth), n && c && (t.left = h - e.maxWidth), r && u && (t.top = l - e
            .minHeight), o && u && (t.top = l - e.maxHeight), t.width || t.height || t.left || !t.top ? t.width || t.height || t.top || !t.left || (t.left = null) : t.top = null, t
        },
        _proportionallyResize: function() {
          if (this._proportionallyResizeElements.length) {
            var t, e, i, s, n, o = this.helper || this.element;
            for (t = 0; this._proportionallyResizeElements.length > t; t++) {
              if (n = this._proportionallyResizeElements[t], !this.borderDif)
                for (this.borderDif = [], i = [n.css("borderTopWidth"), n.css("borderRightWidth"), n.css("borderBottomWidth"), n.css("borderLeftWidth")], s = [n.css("paddingTop"), n.css("paddingRight"), n.css("paddingBottom"), n.css(
                    "paddingLeft")], e = 0; i.length > e; e++) this.borderDif[e] = (parseInt(i[e], 10) || 0) + (parseInt(s[e], 10) || 0);
              n.css({
                height: o.height() - this.borderDif[0] - this.borderDif[2] || 0,
                width: o.width() - this.borderDif[1] - this.borderDif[3] || 0
              })
            }
          }
        },
        _renderProxy: function() {
          var e = this.element,
            i = this.options;
          this.elementOffset = e.offset(), this._helper ? (this.helper = this.helper || t("<div style='overflow:hidden;'></div>"), this.helper.addClass(this._helper).css({
            width: this.element.outerWidth() - 1,
            height: this.element.outerHeight() - 1,
            position: "absolute",
            left: this.elementOffset.left + "px",
            top: this.elementOffset.top + "px",
            zIndex: ++i.zIndex
          }), this.helper.appendTo("body").disableSelection()) : this.helper = this.element
        },
        _change: {
          e: function(t, e) {
            return {
              width: this.originalSize.width + e
            }
          },
          w: function(t, e) {
            var i = this.originalSize,
              s = this.originalPosition;
            return {
              left: s.left + e,
              width: i.width - e
            }
          },
          n: function(t, e, i) {
            var s = this.originalSize,
              n = this.originalPosition;
            return {
              top: n.top + i,
              height: s.height - i
            }
          },
          s: function(t, e, i) {
            return {
              height: this.originalSize.height + i
            }
          },
          se: function(e, i, s) {
            return t.extend(this._change.s.apply(this, arguments), this._change.e.apply(this, [e, i, s]))
          },
          sw: function(e, i, s) {
            return t.extend(this._change.s.apply(this, arguments), this._change.w.apply(this, [e, i, s]))
          },
          ne: function(e, i, s) {
            return t.extend(this._change.n.apply(this, arguments), this._change.e.apply(this, [e, i, s]))
          },
          nw: function(e, i, s) {
            return t.extend(this._change.n.apply(this, arguments), this._change.w.apply(this, [e, i, s]))
          }
        },
        _propagate: function(e, i) {
          t.ui.plugin.call(this, e, [i, this.ui()]), "resize" !== e && this._trigger(e, i, this.ui())
        },
        plugins: {},
        ui: function() {
          return {
            originalElement: this.originalElement,
            element: this.element,
            helper: this.helper,
            position: this.position,
            size: this.size,
            originalSize: this.originalSize,
            originalPosition: this.originalPosition
          }
        }
      }), t.ui.plugin.add("resizable", "animate", {
        stop: function(e) {
          var i = t(this).data("ui-resizable"),
            s = i.options,
            n = i._proportionallyResizeElements,
            o = n.length && /textarea/i.test(n[0].nodeName),
            a = o && t.ui.hasScroll(n[0], "left") ? 0 : i.sizeDiff.height,
            r = o ? 0 : i.sizeDiff.width,
            h = {
              width: i.size.width - r,
              height: i.size.height - a
            },
            l = parseInt(i.element.css("left"), 10) + (i.position.left - i.originalPosition.left) || null,
            c = parseInt(i.element.css("top"), 10) + (i.position.top - i.originalPosition.top) || null;
          i.element.animate(t.extend(h, c && l ? {
            top: c,
            left: l
          } : {}), {
            duration: s.animateDuration,
            easing: s.animateEasing,
            step: function() {
              var s = {
                width: parseInt(i.element.css("width"), 10),
                height: parseInt(i.element.css("height"), 10),
                top: parseInt(i.element.css("top"), 10),
                left: parseInt(i.element.css("left"), 10)
              };
              n && n.length && t(n[0]).css({
                width: s.width,
                height: s.height
              }), i._updateCache(s), i._propagate("resize", e)
            }
          })
        }
      }), t.ui.plugin.add("resizable", "containment", {
        start: function() {
          var i, s, n, o, a, r, h, l = t(this).data("ui-resizable"),
            c = l.options,
            u = l.element,
            d = c.containment,
            p = d instanceof t ? d.get(0) : /parent/.test(d) ? u.parent().get(0) : d;
          p && (l.containerElement = t(p), /document/.test(d) || d === document ? (l.containerOffset = {
            left: 0,
            top: 0
          }, l.containerPosition = {
            left: 0,
            top: 0
          }, l.parentData = {
            element: t(document),
            left: 0,
            top: 0,
            width: t(document).width(),
            height: t(document).height() || document.body.parentNode.scrollHeight
          }) : (i = t(p), s = [], t(["Top", "Right", "Left", "Bottom"]).each(function(t, n) {
            s[t] = e(i.css("padding" + n))
          }), l.containerOffset = i.offset(), l.containerPosition = i.position(), l.containerSize = {
            height: i.innerHeight() - s[3],
            width: i.innerWidth() - s[1]
          }, n = l.containerOffset, o = l.containerSize.height, a = l.containerSize.width, r = t.ui.hasScroll(p, "left") ? p.scrollWidth : a, h = t.ui.hasScroll(p) ? p.scrollHeight : o, l.parentData = {
            element: p,
            left: n.left,
            top: n.top,
            width: r,
            height: h
          }))
        },
        resize: function(e) {
          var i, s, n, o, a = t(this).data("ui-resizable"),
            r = a.options,
            h = a.containerOffset,
            l = a.position,
            c = a._aspectRatio || e.shiftKey,
            u = {
              top: 0,
              left: 0
            },
            d = a.containerElement;
          d[0] !== document && /static/.test(d.css("position")) && (u = h), l.left < (a._helper ? h.left : 0) && (a.size.width = a.size.width + (a._helper ? a.position.left - h.left : a.position.left - u.left), c && (a.size.height = a.size
              .width / a.aspectRatio), a.position.left = r.helper ? h.left : 0), l.top < (a._helper ? h.top : 0) && (a.size.height = a.size.height + (a._helper ? a.position.top - h.top : a.position.top), c && (a.size.width = a.size.height * a
              .aspectRatio), a.position.top = a._helper ? h.top : 0), a.offset.left = a.parentData.left + a.position.left, a.offset.top = a.parentData.top + a.position.top, i = Math.abs((a._helper ? a.offset.left - u.left : a.offset.left - u
              .left) + a.sizeDiff.width), s = Math.abs((a._helper ? a.offset.top - u.top : a.offset.top - h.top) + a.sizeDiff.height), n = a.containerElement.get(0) === a.element.parent().get(0), o = /relative|absolute/.test(a.containerElement
              .css("position")), n && o && (i -= a.parentData.left), i + a.size.width >= a.parentData.width && (a.size.width = a.parentData.width - i, c && (a.size.height = a.size.width / a.aspectRatio)), s + a.size.height >= a.parentData
            .height && (a.size.height = a.parentData.height - s, c && (a.size.width = a.size.height * a.aspectRatio))
        },
        stop: function() {
          var e = t(this).data("ui-resizable"),
            i = e.options,
            s = e.containerOffset,
            n = e.containerPosition,
            o = e.containerElement,
            a = t(e.helper),
            r = a.offset(),
            h = a.outerWidth() - e.sizeDiff.width,
            l = a.outerHeight() - e.sizeDiff.height;
          e._helper && !i.animate && /relative/.test(o.css("position")) && t(this).css({
            left: r.left - n.left - s.left,
            width: h,
            height: l
          }), e._helper && !i.animate && /static/.test(o.css("position")) && t(this).css({
            left: r.left - n.left - s.left,
            width: h,
            height: l
          })
        }
      }), t.ui.plugin.add("resizable", "alsoResize", {
        start: function() {
          var e = t(this).data("ui-resizable"),
            i = e.options,
            s = function(e) {
              t(e).each(function() {
                var e = t(this);
                e.data("ui-resizable-alsoresize", {
                  width: parseInt(e.width(), 10),
                  height: parseInt(e.height(), 10),
                  left: parseInt(e.css("left"), 10),
                  top: parseInt(e.css("top"), 10)
                })
              })
            };
          "object" != typeof i.alsoResize || i.alsoResize.parentNode ? s(i.alsoResize) : i.alsoResize.length ? (i.alsoResize = i.alsoResize[0], s(i.alsoResize)) : t.each(i.alsoResize, function(t) {
            s(t)
          })
        },
        resize: function(e, i) {
          var s = t(this).data("ui-resizable"),
            n = s.options,
            o = s.originalSize,
            a = s.originalPosition,
            r = {
              height: s.size.height - o.height || 0,
              width: s.size.width - o.width || 0,
              top: s.position.top - a.top || 0,
              left: s.position.left - a.left || 0
            },
            h = function(e, s) {
              t(e).each(function() {
                var e = t(this),
                  n = t(this).data("ui-resizable-alsoresize"),
                  o = {},
                  a = s && s.length ? s : e.parents(i.originalElement[0]).length ? ["width", "height"] : ["width", "height", "top", "left"];
                t.each(a, function(t, e) {
                  var i = (n[e] || 0) + (r[e] || 0);
                  i && i >= 0 && (o[e] = i || null)
                }), e.css(o)
              })
            };
          "object" != typeof n.alsoResize || n.alsoResize.nodeType ? h(n.alsoResize) : t.each(n.alsoResize, function(t, e) {
            h(t, e)
          })
        },
        stop: function() {
          t(this).removeData("resizable-alsoresize")
        }
      }), t.ui.plugin.add("resizable", "ghost", {
        start: function() {
          var e = t(this).data("ui-resizable"),
            i = e.options,
            s = e.size;
          e.ghost = e.originalElement.clone(), e.ghost.css({
            opacity: .25,
            display: "block",
            position: "relative",
            height: s.height,
            width: s.width,
            margin: 0,
            left: 0,
            top: 0
          }).addClass("ui-resizable-ghost").addClass("string" == typeof i.ghost ? i.ghost : ""), e.ghost.appendTo(e.helper)
        },
        resize: function() {
          var e = t(this).data("ui-resizable");
          e.ghost && e.ghost.css({
            position: "relative",
            height: e.size.height,
            width: e.size.width
          })
        },
        stop: function() {
          var e = t(this).data("ui-resizable");
          e.ghost && e.helper && e.helper.get(0).removeChild(e.ghost.get(0))
        }
      }), t.ui.plugin.add("resizable", "grid", {
        resize: function() {
          var e = t(this).data("ui-resizable"),
            i = e.options,
            s = e.size,
            n = e.originalSize,
            o = e.originalPosition,
            a = e.axis,
            r = "number" == typeof i.grid ? [i.grid, i.grid] : i.grid,
            h = r[0] || 1,
            l = r[1] || 1,
            c = Math.round((s.width - n.width) / h) * h,
            u = Math.round((s.height - n.height) / l) * l,
            d = n.width + c,
            p = n.height + u,
            f = i.maxWidth && d > i.maxWidth,
            g = i.maxHeight && p > i.maxHeight,
            m = i.minWidth && i.minWidth > d,
            v = i.minHeight && i.minHeight > p;
          i.grid = r, m && (d += h), v && (p += l), f && (d -= h), g && (p -= l), /^(se|s|e)$/.test(a) ? (e.size.width = d, e.size.height = p) : /^(ne)$/.test(a) ? (e.size.width = d, e.size.height = p, e.position.top = o.top - u) : /^(sw)$/
            .test(a) ? (e.size.width = d, e.size.height = p, e.position.left = o.left - c) : (e.size.width = d, e.size.height = p, e.position.top = o.top - u, e.position.left = o.left - c)
        }
      })
    }(jQuery),
    function(t) {
      t.widget("ui.selectable", t.ui.mouse, {
        version: "1.10.3",
        options: {
          appendTo: "body",
          autoRefresh: !0,
          distance: 0,
          filter: "*",
          tolerance: "touch",
          selected: null,
          selecting: null,
          start: null,
          stop: null,
          unselected: null,
          unselecting: null
        },
        _create: function() {
          var e, i = this;
          this.element.addClass("ui-selectable"), this.dragged = !1, this.refresh = function() {
            e = t(i.options.filter, i.element[0]), e.addClass("ui-selectee"), e.each(function() {
              var e = t(this),
                i = e.offset();
              t.data(this, "selectable-item", {
                element: this,
                $element: e,
                left: i.left,
                top: i.top,
                right: i.left + e.outerWidth(),
                bottom: i.top + e.outerHeight(),
                startselected: !1,
                selected: e.hasClass("ui-selected"),
                selecting: e.hasClass("ui-selecting"),
                unselecting: e.hasClass("ui-unselecting")
              })
            })
          }, this.refresh(), this.selectees = e.addClass("ui-selectee"), this._mouseInit(), this.helper = t("<div class='ui-selectable-helper'></div>")
        },
        _destroy: function() {
          this.selectees.removeClass("ui-selectee").removeData("selectable-item"), this.element.removeClass("ui-selectable ui-selectable-disabled"), this._mouseDestroy()
        },
        _mouseStart: function(e) {
          var i = this,
            s = this.options;
          this.opos = [e.pageX, e.pageY], this.options.disabled || (this.selectees = t(s.filter, this.element[0]), this._trigger("start", e), t(s.appendTo).append(this.helper), this.helper.css({
            left: e.pageX,
            top: e.pageY,
            width: 0,
            height: 0
          }), s.autoRefresh && this.refresh(), this.selectees.filter(".ui-selected").each(function() {
            var s = t.data(this, "selectable-item");
            s.startselected = !0, e.metaKey || e.ctrlKey || (s.$element.removeClass("ui-selected"), s.selected = !1, s.$element.addClass("ui-unselecting"), s.unselecting = !0, i._trigger("unselecting", e, {
              unselecting: s.element
            }))
          }), t(e.target).parents().addBack().each(function() {
            var s, n = t.data(this, "selectable-item");
            return n ? (s = !e.metaKey && !e.ctrlKey || !n.$element.hasClass("ui-selected"), n.$element.removeClass(s ? "ui-unselecting" : "ui-selected").addClass(s ? "ui-selecting" : "ui-unselecting"), n.unselecting = !s, n.selecting =
              s, n.selected = s, s ? i._trigger("selecting", e, {
                selecting: n.element
              }) : i._trigger("unselecting", e, {
                unselecting: n.element
              }), !1) : undefined
          }))
        },
        _mouseDrag: function(e) {
          if (this.dragged = !0, !this.options.disabled) {
            var i, s = this,
              n = this.options,
              o = this.opos[0],
              a = this.opos[1],
              r = e.pageX,
              h = e.pageY;
            return o > r && (i = r, r = o, o = i), a > h && (i = h, h = a, a = i), this.helper.css({
              left: o,
              top: a,
              width: r - o,
              height: h - a
            }), this.selectees.each(function() {
              var i = t.data(this, "selectable-item"),
                l = !1;
              i && i.element !== s.element[0] && ("touch" === n.tolerance ? l = !(i.left > r || o > i.right || i.top > h || a > i.bottom) : "fit" === n.tolerance && (l = i.left > o && r > i.right && i.top > a && h > i.bottom), l ? (i
                .selected && (i.$element.removeClass("ui-selected"), i.selected = !1), i.unselecting && (i.$element.removeClass("ui-unselecting"), i.unselecting = !1), i.selecting || (i.$element.addClass("ui-selecting"), i.selecting = !
                  0, s._trigger("selecting", e, {
                    selecting: i.element
                  }))) : (i.selecting && ((e.metaKey || e.ctrlKey) && i.startselected ? (i.$element.removeClass("ui-selecting"), i.selecting = !1, i.$element.addClass("ui-selected"), i.selected = !0) : (i.$element.removeClass(
                "ui-selecting"), i.selecting = !1, i.startselected && (i.$element.addClass("ui-unselecting"), i.unselecting = !0), s._trigger("unselecting", e, {
                unselecting: i.element
              }))), i.selected && (e.metaKey || e.ctrlKey || i.startselected || (i.$element.removeClass("ui-selected"), i.selected = !1, i.$element.addClass("ui-unselecting"), i.unselecting = !0, s._trigger("unselecting", e, {
                unselecting: i.element
              })))))
            }), !1
          }
        },
        _mouseStop: function(e) {
          var i = this;
          return this.dragged = !1, t(".ui-unselecting", this.element[0]).each(function() {
            var s = t.data(this, "selectable-item");
            s.$element.removeClass("ui-unselecting"), s.unselecting = !1, s.startselected = !1, i._trigger("unselected", e, {
              unselected: s.element
            })
          }), t(".ui-selecting", this.element[0]).each(function() {
            var s = t.data(this, "selectable-item");
            s.$element.removeClass("ui-selecting").addClass("ui-selected"), s.selecting = !1, s.selected = !0, s.startselected = !0, i._trigger("selected", e, {
              selected: s.element
            })
          }), this._trigger("stop", e), this.helper.remove(), !1
        }
      })
    }(jQuery),
    function(t) {
      function e(t, e, i) {
        return t > e && e + i > t
      }

      function i(t) {
        return /left|right/.test(t.css("float")) || /inline|table-cell/.test(t.css("display"))
      }
      t.widget("ui.sortable", t.ui.mouse, {
        version: "1.10.3",
        widgetEventPrefix: "sort",
        ready: !1,
        options: {
          appendTo: "parent",
          axis: !1,
          connectWith: !1,
          containment: !1,
          cursor: "auto",
          cursorAt: !1,
          dropOnEmpty: !0,
          forcePlaceholderSize: !1,
          forceHelperSize: !1,
          grid: !1,
          handle: !1,
          helper: "original",
          items: "> *",
          opacity: !1,
          placeholder: !1,
          revert: !1,
          scroll: !0,
          scrollSensitivity: 20,
          scrollSpeed: 20,
          scope: "default",
          tolerance: "intersect",
          zIndex: 1e3,
          activate: null,
          beforeStop: null,
          change: null,
          deactivate: null,
          out: null,
          over: null,
          receive: null,
          remove: null,
          sort: null,
          start: null,
          stop: null,
          update: null
        },
        _create: function() {
          var t = this.options;
          this.containerCache = {}, this.element.addClass("ui-sortable"), this.refresh(), this.floating = this.items.length ? "x" === t.axis || i(this.items[0].item) : !1, this.offset = this.element.offset(), this._mouseInit(), this.ready = !0
        },
        _destroy: function() {
          this.element.removeClass("ui-sortable ui-sortable-disabled"), this._mouseDestroy();
          for (var t = this.items.length - 1; t >= 0; t--) this.items[t].item.removeData(this.widgetName + "-item");
          return this
        },
        _setOption: function(e, i) {
          "disabled" === e ? (this.options[e] = i, this.widget().toggleClass("ui-sortable-disabled", !!i)) : t.Widget.prototype._setOption.apply(this, arguments)
        },
        _mouseCapture: function(e, i) {
          var s = null,
            n = !1,
            o = this;
          return this.reverting ? !1 : this.options.disabled || "static" === this.options.type ? !1 : (this._refreshItems(e), t(e.target).parents().each(function() {
            return t.data(this, o.widgetName + "-item") === o ? (s = t(this), !1) : undefined
          }), t.data(e.target, o.widgetName + "-item") === o && (s = t(e.target)), s ? !this.options.handle || i || (t(this.options.handle, s).find("*").addBack().each(function() {
            this === e.target && (n = !0)
          }), n) ? (this.currentItem = s, this._removeCurrentsFromItems(), !0) : !1 : !1)
        },
        _mouseStart: function(e, i, s) {
          var n, o, a = this.options;
          if (this.currentContainer = this, this.refreshPositions(), this.helper = this._createHelper(e), this._cacheHelperProportions(), this._cacheMargins(), this.scrollParent = this.helper.scrollParent(), this.offset = this.currentItem
            .offset(), this.offset = {
              top: this.offset.top - this.margins.top,
              left: this.offset.left - this.margins.left
            }, t.extend(this.offset, {
              click: {
                left: e.pageX - this.offset.left,
                top: e.pageY - this.offset.top
              },
              parent: this._getParentOffset(),
              relative: this._getRelativeOffset()
            }), this.helper.css("position", "absolute"), this.cssPosition = this.helper.css("position"), this.originalPosition = this._generatePosition(e), this.originalPageX = e.pageX, this.originalPageY = e.pageY, a.cursorAt && this
            ._adjustOffsetFromHelper(a.cursorAt), this.domPosition = {
              prev: this.currentItem.prev()[0],
              parent: this.currentItem.parent()[0]
            }, this.helper[0] !== this.currentItem[0] && this.currentItem.hide(), this._createPlaceholder(), a.containment && this._setContainment(), a.cursor && "auto" !== a.cursor && (o = this.document.find("body"), this.storedCursor = o.css(
              "cursor"), o.css("cursor", a.cursor), this.storedStylesheet = t("<style>*{ cursor: " + a.cursor + " !important; }</style>").appendTo(o)), a.opacity && (this.helper.css("opacity") && (this._storedOpacity = this.helper.css(
              "opacity")), this.helper.css("opacity", a.opacity)), a.zIndex && (this.helper.css("zIndex") && (this._storedZIndex = this.helper.css("zIndex")), this.helper.css("zIndex", a.zIndex)), this.scrollParent[0] !== document && "HTML" !==
            this.scrollParent[0].tagName && (this.overflowOffset = this.scrollParent.offset()), this._trigger("start", e, this._uiHash()), this._preserveHelperProportions || this._cacheHelperProportions(), !s)
            for (n = this.containers.length - 1; n >= 0; n--) this.containers[n]._trigger("activate", e, this._uiHash(this));
          return t.ui.ddmanager && (t.ui.ddmanager.current = this), t.ui.ddmanager && !a.dropBehaviour && t.ui.ddmanager.prepareOffsets(this, e), this.dragging = !0, this.helper.addClass("ui-sortable-helper"), this._mouseDrag(e), !0
        },
        _mouseDrag: function(e) {
          var i, s, n, o, a = this.options,
            r = !1;
          for (this.position = this._generatePosition(e), this.positionAbs = this._convertPositionTo("absolute"), this.lastPositionAbs || (this.lastPositionAbs = this.positionAbs), this.options.scroll && (this.scrollParent[0] !== document &&
              "HTML" !== this.scrollParent[0].tagName ? (this.overflowOffset.top + this.scrollParent[0].offsetHeight - e.pageY < a.scrollSensitivity ? this.scrollParent[0].scrollTop = r = this.scrollParent[0].scrollTop + a.scrollSpeed : e
                .pageY - this.overflowOffset.top < a.scrollSensitivity && (this.scrollParent[0].scrollTop = r = this.scrollParent[0].scrollTop - a.scrollSpeed), this.overflowOffset.left + this.scrollParent[0].offsetWidth - e.pageX < a
                .scrollSensitivity ? this.scrollParent[0].scrollLeft = r = this.scrollParent[0].scrollLeft + a.scrollSpeed : e.pageX - this.overflowOffset.left < a.scrollSensitivity && (this.scrollParent[0].scrollLeft = r = this.scrollParent[0]
                  .scrollLeft - a.scrollSpeed)) : (e.pageY - t(document).scrollTop() < a.scrollSensitivity ? r = t(document).scrollTop(t(document).scrollTop() - a.scrollSpeed) : t(window).height() - (e.pageY - t(document).scrollTop()) < a
                .scrollSensitivity && (r = t(document).scrollTop(t(document).scrollTop() + a.scrollSpeed)), e.pageX - t(document).scrollLeft() < a.scrollSensitivity ? r = t(document).scrollLeft(t(document).scrollLeft() - a.scrollSpeed) : t(
                  window).width() - (e.pageX - t(document).scrollLeft()) < a.scrollSensitivity && (r = t(document).scrollLeft(t(document).scrollLeft() + a.scrollSpeed))), r !== !1 && t.ui.ddmanager && !a.dropBehaviour && t.ui.ddmanager
              .prepareOffsets(this, e)), this.positionAbs = this._convertPositionTo("absolute"), this.options.axis && "y" === this.options.axis || (this.helper[0].style.left = this.position.left + "px"), this.options.axis && "x" === this
            .options.axis || (this.helper[0].style.top = this.position.top + "px"), i = this.items.length - 1; i >= 0; i--)
            if (s = this.items[i], n = s.item[0], o = this._intersectsWithPointer(s), o && s.instance === this.currentContainer && n !== this.currentItem[0] && this.placeholder[1 === o ? "next" : "prev"]()[0] !== n && !t.contains(this
                .placeholder[0], n) && ("semi-dynamic" === this.options.type ? !t.contains(this.element[0], n) : !0)) {
              if (this.direction = 1 === o ? "down" : "up", "pointer" !== this.options.tolerance && !this._intersectsWithSides(s)) break;
              this._rearrange(e, s), this._trigger("change", e, this._uiHash());
              break
            } return this._contactContainers(e), t.ui.ddmanager && t.ui.ddmanager.drag(this, e), this._trigger("sort", e, this._uiHash()), this.lastPositionAbs = this.positionAbs, !1
        },
        _mouseStop: function(e, i) {
          if (e) {
            if (t.ui.ddmanager && !this.options.dropBehaviour && t.ui.ddmanager.drop(this, e), this.options.revert) {
              var s = this,
                n = this.placeholder.offset(),
                o = this.options.axis,
                a = {};
              o && "x" !== o || (a.left = n.left - this.offset.parent.left - this.margins.left + (this.offsetParent[0] === document.body ? 0 : this.offsetParent[0].scrollLeft)), o && "y" !== o || (a.top = n.top - this.offset.parent.top - this
                .margins.top + (this.offsetParent[0] === document.body ? 0 : this.offsetParent[0].scrollTop)), this.reverting = !0, t(this.helper).animate(a, parseInt(this.options.revert, 10) || 500, function() {
                s._clear(e)
              })
            } else this._clear(e, i);
            return !1
          }
        },
        cancel: function() {
          if (this.dragging) {
            this._mouseUp({
              target: null
            }), "original" === this.options.helper ? this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper") : this.currentItem.show();
            for (var e = this.containers.length - 1; e >= 0; e--) this.containers[e]._trigger("deactivate", null, this._uiHash(this)), this.containers[e].containerCache.over && (this.containers[e]._trigger("out", null, this._uiHash(this)), this
              .containers[e].containerCache.over = 0)
          }
          return this.placeholder && (this.placeholder[0].parentNode && this.placeholder[0].parentNode.removeChild(this.placeholder[0]), "original" !== this.options.helper && this.helper && this.helper[0].parentNode && this.helper.remove(), t
            .extend(this, {
              helper: null,
              dragging: !1,
              reverting: !1,
              _noFinalSort: null
            }), this.domPosition.prev ? t(this.domPosition.prev).after(this.currentItem) : t(this.domPosition.parent).prepend(this.currentItem)), this
        },
        serialize: function(e) {
          var i = this._getItemsAsjQuery(e && e.connected),
            s = [];
          return e = e || {}, t(i).each(function() {
            var i = (t(e.item || this).attr(e.attribute || "id") || "").match(e.expression || /(.+)[\-=_](.+)/);
            i && s.push((e.key || i[1] + "[]") + "=" + (e.key && e.expression ? i[1] : i[2]))
          }), !s.length && e.key && s.push(e.key + "="), s.join("&")
        },
        toArray: function(e) {
          var i = this._getItemsAsjQuery(e && e.connected),
            s = [];
          return e = e || {}, i.each(function() {
            s.push(t(e.item || this).attr(e.attribute || "id") || "")
          }), s
        },
        _intersectsWith: function(t) {
          var e = this.positionAbs.left,
            i = e + this.helperProportions.width,
            s = this.positionAbs.top,
            n = s + this.helperProportions.height,
            o = t.left,
            a = o + t.width,
            r = t.top,
            h = r + t.height,
            l = this.offset.click.top,
            c = this.offset.click.left,
            u = "x" === this.options.axis || s + l > r && h > s + l,
            d = "y" === this.options.axis || e + c > o && a > e + c,
            p = u && d;
          return "pointer" === this.options.tolerance || this.options.forcePointerForContainers || "pointer" !== this.options.tolerance && this.helperProportions[this.floating ? "width" : "height"] > t[this.floating ? "width" : "height"] ? p :
            e + this.helperProportions.width / 2 > o && a > i - this.helperProportions.width / 2 && s + this.helperProportions.height / 2 > r && h > n - this.helperProportions.height / 2
        },
        _intersectsWithPointer: function(t) {
          var i = "x" === this.options.axis || e(this.positionAbs.top + this.offset.click.top, t.top, t.height),
            s = "y" === this.options.axis || e(this.positionAbs.left + this.offset.click.left, t.left, t.width),
            n = i && s,
            o = this._getDragVerticalDirection(),
            a = this._getDragHorizontalDirection();
          return n ? this.floating ? a && "right" === a || "down" === o ? 2 : 1 : o && ("down" === o ? 2 : 1) : !1
        },
        _intersectsWithSides: function(t) {
          var i = e(this.positionAbs.top + this.offset.click.top, t.top + t.height / 2, t.height),
            s = e(this.positionAbs.left + this.offset.click.left, t.left + t.width / 2, t.width),
            n = this._getDragVerticalDirection(),
            o = this._getDragHorizontalDirection();
          return this.floating && o ? "right" === o && s || "left" === o && !s : n && ("down" === n && i || "up" === n && !i)
        },
        _getDragVerticalDirection: function() {
          var t = this.positionAbs.top - this.lastPositionAbs.top;
          return 0 !== t && (t > 0 ? "down" : "up")
        },
        _getDragHorizontalDirection: function() {
          var t = this.positionAbs.left - this.lastPositionAbs.left;
          return 0 !== t && (t > 0 ? "right" : "left")
        },
        refresh: function(t) {
          return this._refreshItems(t), this.refreshPositions(), this
        },
        _connectWith: function() {
          var t = this.options;
          return t.connectWith.constructor === String ? [t.connectWith] : t.connectWith
        },
        _getItemsAsjQuery: function(e) {
          var i, s, n, o, a = [],
            r = [],
            h = this._connectWith();
          if (h && e)
            for (i = h.length - 1; i >= 0; i--)
              for (n = t(h[i]), s = n.length - 1; s >= 0; s--) o = t.data(n[s], this.widgetFullName), o && o !== this && !o.options.disabled && r.push([t.isFunction(o.options.items) ? o.options.items.call(o.element) : t(o.options.items, o
                .element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"), o]);
          for (r.push([t.isFunction(this.options.items) ? this.options.items.call(this.element, null, {
              options: this.options,
              item: this.currentItem
            }) : t(this.options.items, this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"), this]), i = r.length - 1; i >= 0; i--) r[i][0].each(function() {
            a.push(this)
          });
          return t(a)
        },
        _removeCurrentsFromItems: function() {
          var e = this.currentItem.find(":data(" + this.widgetName + "-item)");
          this.items = t.grep(this.items, function(t) {
            for (var i = 0; e.length > i; i++)
              if (e[i] === t.item[0]) return !1;
            return !0
          })
        },
        _refreshItems: function(e) {
          this.items = [], this.containers = [this];
          var i, s, n, o, a, r, h, l, c = this.items,
            u = [
              [t.isFunction(this.options.items) ? this.options.items.call(this.element[0], e, {
                item: this.currentItem
              }) : t(this.options.items, this.element), this]
            ],
            d = this._connectWith();
          if (d && this.ready)
            for (i = d.length - 1; i >= 0; i--)
              for (n = t(d[i]), s = n.length - 1; s >= 0; s--) o = t.data(n[s], this.widgetFullName), o && o !== this && !o.options.disabled && (u.push([t.isFunction(o.options.items) ? o.options.items.call(o.element[0], e, {
                item: this.currentItem
              }) : t(o.options.items, o.element), o]), this.containers.push(o));
          for (i = u.length - 1; i >= 0; i--)
            for (a = u[i][1], r = u[i][0], s = 0, l = r.length; l > s; s++) h = t(r[s]), h.data(this.widgetName + "-item", a), c.push({
              item: h,
              instance: a,
              width: 0,
              height: 0,
              left: 0,
              top: 0
            })
        },
        refreshPositions: function(e) {
          this.offsetParent && this.helper && (this.offset.parent = this._getParentOffset());
          var i, s, n, o;
          for (i = this.items.length - 1; i >= 0; i--) s = this.items[i], s.instance !== this.currentContainer && this.currentContainer && s.item[0] !== this.currentItem[0] || (n = this.options.toleranceElement ? t(this.options
            .toleranceElement, s.item) : s.item, e || (s.width = n.outerWidth(), s.height = n.outerHeight()), o = n.offset(), s.left = o.left, s.top = o.top);
          if (this.options.custom && this.options.custom.refreshContainers) this.options.custom.refreshContainers.call(this);
          else
            for (i = this.containers.length - 1; i >= 0; i--) o = this.containers[i].element.offset(), this.containers[i].containerCache.left = o.left, this.containers[i].containerCache.top = o.top, this.containers[i].containerCache.width =
              this.containers[i].element.outerWidth(), this.containers[i].containerCache.height = this.containers[i].element.outerHeight();
          return this
        },
        _createPlaceholder: function(e) {
          e = e || this;
          var i, s = e.options;
          s.placeholder && s.placeholder.constructor !== String || (i = s.placeholder, s.placeholder = {
            element: function() {
              var s = e.currentItem[0].nodeName.toLowerCase(),
                n = t("<" + s + ">", e.document[0]).addClass(i || e.currentItem[0].className + " ui-sortable-placeholder").removeClass("ui-sortable-helper");
              return "tr" === s ? e.currentItem.children().each(function() {
                t("<td>&#160;</td>", e.document[0]).attr("colspan", t(this).attr("colspan") || 1).appendTo(n)
              }) : "img" === s && n.attr("src", e.currentItem.attr("src")), i || n.css("visibility", "hidden"), n
            },
            update: function(t, n) {
              (!i || s.forcePlaceholderSize) && (n.height() || n.height(e.currentItem.innerHeight() - parseInt(e.currentItem.css("paddingTop") || 0, 10) - parseInt(e.currentItem.css("paddingBottom") || 0, 10)), n.width() || n.width(e
                .currentItem.innerWidth() - parseInt(e.currentItem.css("paddingLeft") || 0, 10) - parseInt(e.currentItem.css("paddingRight") || 0, 10)))
            }
          }), e.placeholder = t(s.placeholder.element.call(e.element, e.currentItem)), e.currentItem.after(e.placeholder), s.placeholder.update(e, e.placeholder)
        },
        _contactContainers: function(s) {
          var n, o, a, r, h, l, c, u, d, p, f = null,
            g = null;
          for (n = this.containers.length - 1; n >= 0; n--)
            if (!t.contains(this.currentItem[0], this.containers[n].element[0]))
              if (this._intersectsWith(this.containers[n].containerCache)) {
                if (f && t.contains(this.containers[n].element[0], f.element[0])) continue;
                f = this.containers[n], g = n
              } else this.containers[n].containerCache.over && (this.containers[n]._trigger("out", s, this._uiHash(this)), this.containers[n].containerCache.over = 0);
          if (f)
            if (1 === this.containers.length) this.containers[g].containerCache.over || (this.containers[g]._trigger("over", s, this._uiHash(this)), this.containers[g].containerCache.over = 1);
            else {
              for (a = 1e4, r = null, p = f.floating || i(this.currentItem), h = p ? "left" : "top", l = p ? "width" : "height", c = this.positionAbs[h] + this.offset.click[h], o = this.items.length - 1; o >= 0; o--) t.contains(this.containers[
                g].element[0], this.items[o].item[0]) && this.items[o].item[0] !== this.currentItem[0] && (!p || e(this.positionAbs.top + this.offset.click.top, this.items[o].top, this.items[o].height)) && (u = this.items[o].item.offset()[h],
                d = !1, Math.abs(u - c) > Math.abs(u + this.items[o][l] - c) && (d = !0, u += this.items[o][l]), a > Math.abs(u - c) && (a = Math.abs(u - c), r = this.items[o], this.direction = d ? "up" : "down"));
              if (!r && !this.options.dropOnEmpty) return;
              if (this.currentContainer === this.containers[g]) return;
              r ? this._rearrange(s, r, null, !0) : this._rearrange(s, null, this.containers[g].element, !0), this._trigger("change", s, this._uiHash()), this.containers[g]._trigger("change", s, this._uiHash(this)), this.currentContainer = this
                .containers[g], this.options.placeholder.update(this.currentContainer, this.placeholder), this.containers[g]._trigger("over", s, this._uiHash(this)), this.containers[g].containerCache.over = 1
            }
        },
        _createHelper: function(e) {
          var i = this.options,
            s = t.isFunction(i.helper) ? t(i.helper.apply(this.element[0], [e, this.currentItem])) : "clone" === i.helper ? this.currentItem.clone() : this.currentItem;
          return s.parents("body").length || t("parent" !== i.appendTo ? i.appendTo : this.currentItem[0].parentNode)[0].appendChild(s[0]), s[0] === this.currentItem[0] && (this._storedCSS = {
            width: this.currentItem[0].style.width,
            height: this.currentItem[0].style.height,
            position: this.currentItem.css("position"),
            top: this.currentItem.css("top"),
            left: this.currentItem.css("left")
          }), (!s[0].style.width || i.forceHelperSize) && s.width(this.currentItem.width()), (!s[0].style.height || i.forceHelperSize) && s.height(this.currentItem.height()), s
        },
        _adjustOffsetFromHelper: function(e) {
          "string" == typeof e && (e = e.split(" ")), t.isArray(e) && (e = {
            left: +e[0],
            top: +e[1] || 0
          }), "left" in e && (this.offset.click.left = e.left + this.margins.left), "right" in e && (this.offset.click.left = this.helperProportions.width - e.right + this.margins.left), "top" in e && (this.offset.click.top = e.top + this
            .margins.top), "bottom" in e && (this.offset.click.top = this.helperProportions.height - e.bottom + this.margins.top)
        },
        _getParentOffset: function() {
          this.offsetParent = this.helper.offsetParent();
          var e = this.offsetParent.offset();
          return "absolute" === this.cssPosition && this.scrollParent[0] !== document && t.contains(this.scrollParent[0], this.offsetParent[0]) && (e.left += this.scrollParent.scrollLeft(), e.top += this.scrollParent.scrollTop()), (this
            .offsetParent[0] === document.body || this.offsetParent[0].tagName && "html" === this.offsetParent[0].tagName.toLowerCase() && t.ui.ie) && (e = {
            top: 0,
            left: 0
          }), {
            top: e.top + (parseInt(this.offsetParent.css("borderTopWidth"), 10) || 0),
            left: e.left + (parseInt(this.offsetParent.css("borderLeftWidth"), 10) || 0)
          }
        },
        _getRelativeOffset: function() {
          if ("relative" === this.cssPosition) {
            var t = this.currentItem.position();
            return {
              top: t.top - (parseInt(this.helper.css("top"), 10) || 0) + this.scrollParent.scrollTop(),
              left: t.left - (parseInt(this.helper.css("left"), 10) || 0) + this.scrollParent.scrollLeft()
            }
          }
          return {
            top: 0,
            left: 0
          }
        },
        _cacheMargins: function() {
          this.margins = {
            left: parseInt(this.currentItem.css("marginLeft"), 10) || 0,
            top: parseInt(this.currentItem.css("marginTop"), 10) || 0
          }
        },
        _cacheHelperProportions: function() {
          this.helperProportions = {
            width: this.helper.outerWidth(),
            height: this.helper.outerHeight()
          }
        },
        _setContainment: function() {
          var e, i, s, n = this.options;
          "parent" === n.containment && (n.containment = this.helper[0].parentNode), ("document" === n.containment || "window" === n.containment) && (this.containment = [0 - this.offset.relative.left - this.offset.parent.left, 0 - this.offset
            .relative.top - this.offset.parent.top, t("document" === n.containment ? document : window).width() - this.helperProportions.width - this.margins.left, (t("document" === n.containment ? document : window).height() || document
              .body.parentNode.scrollHeight) - this.helperProportions.height - this.margins.top
          ]), /^(document|window|parent)$/.test(n.containment) || (e = t(n.containment)[0], i = t(n.containment).offset(), s = "hidden" !== t(e).css("overflow"), this.containment = [i.left + (parseInt(t(e).css("borderLeftWidth"), 10) || 0) +
            (parseInt(t(e).css("paddingLeft"), 10) || 0) - this.margins.left, i.top + (parseInt(t(e).css("borderTopWidth"), 10) || 0) + (parseInt(t(e).css("paddingTop"), 10) || 0) - this.margins.top, i.left + (s ? Math.max(e.scrollWidth, e
              .offsetWidth) : e.offsetWidth) - (parseInt(t(e).css("borderLeftWidth"), 10) || 0) - (parseInt(t(e).css("paddingRight"), 10) || 0) - this.helperProportions.width - this.margins.left, i.top + (s ? Math.max(e.scrollHeight, e
              .offsetHeight) : e.offsetHeight) - (parseInt(t(e).css("borderTopWidth"), 10) || 0) - (parseInt(t(e).css("paddingBottom"), 10) || 0) - this.helperProportions.height - this.margins.top
          ])
        },
        _convertPositionTo: function(e, i) {
          i || (i = this.position);
          var s = "absolute" === e ? 1 : -1,
            n = "absolute" !== this.cssPosition || this.scrollParent[0] !== document && t.contains(this.scrollParent[0], this.offsetParent[0]) ? this.scrollParent : this.offsetParent,
            o = /(html|body)/i.test(n[0].tagName);
          return {
            top: i.top + this.offset.relative.top * s + this.offset.parent.top * s - ("fixed" === this.cssPosition ? -this.scrollParent.scrollTop() : o ? 0 : n.scrollTop()) * s,
            left: i.left + this.offset.relative.left * s + this.offset.parent.left * s - ("fixed" === this.cssPosition ? -this.scrollParent.scrollLeft() : o ? 0 : n.scrollLeft()) * s
          }
        },
        _generatePosition: function(e) {
          var i, s, n = this.options,
            o = e.pageX,
            a = e.pageY,
            r = "absolute" !== this.cssPosition || this.scrollParent[0] !== document && t.contains(this.scrollParent[0], this.offsetParent[0]) ? this.scrollParent : this.offsetParent,
            h = /(html|body)/i.test(r[0].tagName);
          return "relative" !== this.cssPosition || this.scrollParent[0] !== document && this.scrollParent[0] !== this.offsetParent[0] || (this.offset.relative = this._getRelativeOffset()), this.originalPosition && (this.containment && (e
            .pageX - this.offset.click.left < this.containment[0] && (o = this.containment[0] + this.offset.click.left), e.pageY - this.offset.click.top < this.containment[1] && (a = this.containment[1] + this.offset.click.top), e.pageX -
            this.offset.click.left > this.containment[2] && (o = this.containment[2] + this.offset.click.left), e.pageY - this.offset.click.top > this.containment[3] && (a = this.containment[3] + this.offset.click.top)), n.grid && (i = this
            .originalPageY + Math.round((a - this.originalPageY) / n.grid[1]) * n.grid[1], a = this.containment ? i - this.offset.click.top >= this.containment[1] && i - this.offset.click.top <= this.containment[3] ? i : i - this.offset
            .click.top >= this.containment[1] ? i - n.grid[1] : i + n.grid[1] : i, s = this.originalPageX + Math.round((o - this.originalPageX) / n.grid[0]) * n.grid[0], o = this.containment ? s - this.offset.click.left >= this.containment[
              0] && s - this.offset.click.left <= this.containment[2] ? s : s - this.offset.click.left >= this.containment[0] ? s - n.grid[0] : s + n.grid[0] : s)), {
            top: a - this.offset.click.top - this.offset.relative.top - this.offset.parent.top + ("fixed" === this.cssPosition ? -this.scrollParent.scrollTop() : h ? 0 : r.scrollTop()),
            left: o - this.offset.click.left - this.offset.relative.left - this.offset.parent.left + ("fixed" === this.cssPosition ? -this.scrollParent.scrollLeft() : h ? 0 : r.scrollLeft())
          }
        },
        _rearrange: function(t, e, i, s) {
          i ? i[0].appendChild(this.placeholder[0]) : e.item[0].parentNode.insertBefore(this.placeholder[0], "down" === this.direction ? e.item[0] : e.item[0].nextSibling), this.counter = this.counter ? ++this.counter : 1;
          var n = this.counter;
          this._delay(function() {
            n === this.counter && this.refreshPositions(!s)
          })
        },
        _clear: function(t, e) {
          this.reverting = !1;
          var i, s = [];
          if (!this._noFinalSort && this.currentItem.parent().length && this.placeholder.before(this.currentItem), this._noFinalSort = null, this.helper[0] === this.currentItem[0]) {
            for (i in this._storedCSS)("auto" === this._storedCSS[i] || "static" === this._storedCSS[i]) && (this._storedCSS[i] = "");
            this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper")
          } else this.currentItem.show();
          for (this.fromOutside && !e && s.push(function(t) {
              this._trigger("receive", t, this._uiHash(this.fromOutside))
            }), !this.fromOutside && this.domPosition.prev === this.currentItem.prev().not(".ui-sortable-helper")[0] && this.domPosition.parent === this.currentItem.parent()[0] || e || s.push(function(t) {
              this._trigger("update", t, this._uiHash())
            }), this !== this.currentContainer && (e || (s.push(function(t) {
              this._trigger("remove", t, this._uiHash())
            }), s.push(function(t) {
              return function(e) {
                t._trigger("receive", e, this._uiHash(this))
              }
            }.call(this, this.currentContainer)), s.push(function(t) {
              return function(e) {
                t._trigger("update", e, this._uiHash(this))
              }
            }.call(this, this.currentContainer)))), i = this.containers.length - 1; i >= 0; i--) e || s.push(function(t) {
            return function(e) {
              t._trigger("deactivate", e, this._uiHash(this))
            }
          }.call(this, this.containers[i])), this.containers[i].containerCache.over && (s.push(function(t) {
            return function(e) {
              t._trigger("out", e, this._uiHash(this))
            }
          }.call(this, this.containers[i])), this.containers[i].containerCache.over = 0);
          if (this.storedCursor && (this.document.find("body").css("cursor", this.storedCursor), this.storedStylesheet.remove()), this._storedOpacity && this.helper.css("opacity", this._storedOpacity), this._storedZIndex && this.helper.css(
              "zIndex", "auto" === this._storedZIndex ? "" : this._storedZIndex), this.dragging = !1, this.cancelHelperRemoval) {
            if (!e) {
              for (this._trigger("beforeStop", t, this._uiHash()), i = 0; s.length > i; i++) s[i].call(this, t);
              this._trigger("stop", t, this._uiHash())
            }
            return this.fromOutside = !1, !1
          }
          if (e || this._trigger("beforeStop", t, this._uiHash()), this.placeholder[0].parentNode.removeChild(this.placeholder[0]), this.helper[0] !== this.currentItem[0] && this.helper.remove(), this.helper = null, !e) {
            for (i = 0; s.length > i; i++) s[i].call(this, t);
            this._trigger("stop", t, this._uiHash())
          }
          return this.fromOutside = !1, !0
        },
        _trigger: function() {
          t.Widget.prototype._trigger.apply(this, arguments) === !1 && this.cancel()
        },
        _uiHash: function(e) {
          var i = e || this;
          return {
            helper: i.helper,
            placeholder: i.placeholder || t([]),
            position: i.position,
            originalPosition: i.originalPosition,
            offset: i.positionAbs,
            item: i.currentItem,
            sender: e ? e.element : null
          }
        }
      })
    }(jQuery),
    function(t, e) {
      var i = "ui-effects-";
      t.effects = {
          effect: {}
        },
        function(t, e) {
          function i(t, e, i) {
            var s = u[e.type] || {};
            return null == t ? i || !e.def ? null : e.def : (t = s.floor ? ~~t : parseFloat(t), isNaN(t) ? e.def : s.mod ? (t + s.mod) % s.mod : 0 > t ? 0 : t > s.max ? s.max : t)
          }

          function s(i) {
            var s = l(),
              n = s._rgba = [];
            return i = i.toLowerCase(), f(h, function(t, o) {
              var a, r = o.re.exec(i),
                h = r && o.parse(r),
                l = o.space || "rgba";
              return h ? (a = s[l](h), s[c[l].cache] = a[c[l].cache], n = s._rgba = a._rgba, !1) : e
            }), n.length ? ("0,0,0,0" === n.join() && t.extend(n, o.transparent), s) : o[i]
          }

          function n(t, e, i) {
            return i = (i + 1) % 1, 1 > 6 * i ? t + 6 * (e - t) * i : 1 > 2 * i ? e : 2 > 3 * i ? t + 6 * (e - t) * (2 / 3 - i) : t
          }
          var o, a = "backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",
            r = /^([\-+])=\s*(\d+\.?\d*)/,
            h = [{
              re: /rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,
              parse: function(t) {
                return [t[1], t[2], t[3], t[4]]
              }
            }, {
              re: /rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,
              parse: function(t) {
                return [2.55 * t[1], 2.55 * t[2], 2.55 * t[3], t[4]]
              }
            }, {
              re: /#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,
              parse: function(t) {
                return [parseInt(t[1], 16), parseInt(t[2], 16), parseInt(t[3], 16)]
              }
            }, {
              re: /#([a-f0-9])([a-f0-9])([a-f0-9])/,
              parse: function(t) {
                return [parseInt(t[1] + t[1], 16), parseInt(t[2] + t[2], 16), parseInt(t[3] + t[3], 16)]
              }
            }, {
              re: /hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,
              space: "hsla",
              parse: function(t) {
                return [t[1], t[2] / 100, t[3] / 100, t[4]]
              }
            }],
            l = t.Color = function(e, i, s, n) {
              return new t.Color.fn.parse(e, i, s, n)
            },
            c = {
              rgba: {
                props: {
                  red: {
                    idx: 0,
                    type: "byte"
                  },
                  green: {
                    idx: 1,
                    type: "byte"
                  },
                  blue: {
                    idx: 2,
                    type: "byte"
                  }
                }
              },
              hsla: {
                props: {
                  hue: {
                    idx: 0,
                    type: "degrees"
                  },
                  saturation: {
                    idx: 1,
                    type: "percent"
                  },
                  lightness: {
                    idx: 2,
                    type: "percent"
                  }
                }
              }
            },
            u = {
              "byte": {
                floor: !0,
                max: 255
              },
              percent: {
                max: 1
              },
              degrees: {
                mod: 360,
                floor: !0
              }
            },
            d = l.support = {},
            p = t("<p>")[0],
            f = t.each;
          p.style.cssText = "background-color:rgba(1,1,1,.5)", d.rgba = p.style.backgroundColor.indexOf("rgba") > -1, f(c, function(t, e) {
            e.cache = "_" + t, e.props.alpha = {
              idx: 3,
              type: "percent",
              def: 1
            }
          }), l.fn = t.extend(l.prototype, {
            parse: function(n, a, r, h) {
              if (n === e) return this._rgba = [null, null, null, null], this;
              (n.jquery || n.nodeType) && (n = t(n).css(a), a = e);
              var u = this,
                d = t.type(n),
                p = this._rgba = [];
              return a !== e && (n = [n, a, r, h], d = "array"), "string" === d ? this.parse(s(n) || o._default) : "array" === d ? (f(c.rgba.props, function(t, e) {
                p[e.idx] = i(n[e.idx], e)
              }), this) : "object" === d ? (n instanceof l ? f(c, function(t, e) {
                n[e.cache] && (u[e.cache] = n[e.cache].slice())
              }) : f(c, function(e, s) {
                var o = s.cache;
                f(s.props, function(t, e) {
                  if (!u[o] && s.to) {
                    if ("alpha" === t || null == n[t]) return;
                    u[o] = s.to(u._rgba)
                  }
                  u[o][e.idx] = i(n[t], e, !0)
                }), u[o] && 0 > t.inArray(null, u[o].slice(0, 3)) && (u[o][3] = 1, s.from && (u._rgba = s.from(u[o])))
              }), this) : e
            },
            is: function(t) {
              var i = l(t),
                s = !0,
                n = this;
              return f(c, function(t, o) {
                var a, r = i[o.cache];
                return r && (a = n[o.cache] || o.to && o.to(n._rgba) || [], f(o.props, function(t, i) {
                  return null != r[i.idx] ? s = r[i.idx] === a[i.idx] : e
                })), s
              }), s
            },
            _space: function() {
              var t = [],
                e = this;
              return f(c, function(i, s) {
                e[s.cache] && t.push(i)
              }), t.pop()
            },
            transition: function(t, e) {
              var s = l(t),
                n = s._space(),
                o = c[n],
                a = 0 === this.alpha() ? l("transparent") : this,
                r = a[o.cache] || o.to(a._rgba),
                h = r.slice();
              return s = s[o.cache], f(o.props, function(t, n) {
                var o = n.idx,
                  a = r[o],
                  l = s[o],
                  c = u[n.type] || {};
                null !== l && (null === a ? h[o] = l : (c.mod && (l - a > c.mod / 2 ? a += c.mod : a - l > c.mod / 2 && (a -= c.mod)), h[o] = i((l - a) * e + a, n)))
              }), this[n](h)
            },
            blend: function(e) {
              if (1 === this._rgba[3]) return this;
              var i = this._rgba.slice(),
                s = i.pop(),
                n = l(e)._rgba;
              return l(t.map(i, function(t, e) {
                return (1 - s) * n[e] + s * t
              }))
            },
            toRgbaString: function() {
              var e = "rgba(",
                i = t.map(this._rgba, function(t, e) {
                  return null == t ? e > 2 ? 1 : 0 : t
                });
              return 1 === i[3] && (i.pop(), e = "rgb("), e + i.join() + ")"
            },
            toHslaString: function() {
              var e = "hsla(",
                i = t.map(this.hsla(), function(t, e) {
                  return null == t && (t = e > 2 ? 1 : 0), e && 3 > e && (t = Math.round(100 * t) + "%"), t
                });
              return 1 === i[3] && (i.pop(), e = "hsl("), e + i.join() + ")"
            },
            toHexString: function(e) {
              var i = this._rgba.slice(),
                s = i.pop();
              return e && i.push(~~(255 * s)), "#" + t.map(i, function(t) {
                return t = (t || 0).toString(16), 1 === t.length ? "0" + t : t
              }).join("")
            },
            toString: function() {
              return 0 === this._rgba[3] ? "transparent" : this.toRgbaString()
            }
          }), l.fn.parse.prototype = l.fn, c.hsla.to = function(t) {
            if (null == t[0] || null == t[1] || null == t[2]) return [null, null, null, t[3]];
            var e, i, s = t[0] / 255,
              n = t[1] / 255,
              o = t[2] / 255,
              a = t[3],
              r = Math.max(s, n, o),
              h = Math.min(s, n, o),
              l = r - h,
              c = r + h,
              u = .5 * c;
            return e = h === r ? 0 : s === r ? 60 * (n - o) / l + 360 : n === r ? 60 * (o - s) / l + 120 : 60 * (s - n) / l + 240, i = 0 === l ? 0 : .5 >= u ? l / c : l / (2 - c), [Math.round(e) % 360, i, u, null == a ? 1 : a]
          }, c.hsla.from = function(t) {
            if (null == t[0] || null == t[1] || null == t[2]) return [null, null, null, t[3]];
            var e = t[0] / 360,
              i = t[1],
              s = t[2],
              o = t[3],
              a = .5 >= s ? s * (1 + i) : s + i - s * i,
              r = 2 * s - a;
            return [Math.round(255 * n(r, a, e + 1 / 3)), Math.round(255 * n(r, a, e)), Math.round(255 * n(r, a, e - 1 / 3)), o]
          }, f(c, function(s, n) {
            var o = n.props,
              a = n.cache,
              h = n.to,
              c = n.from;
            l.fn[s] = function(s) {
              if (h && !this[a] && (this[a] = h(this._rgba)), s === e) return this[a].slice();
              var n, r = t.type(s),
                u = "array" === r || "object" === r ? s : arguments,
                d = this[a].slice();
              return f(o, function(t, e) {
                var s = u["object" === r ? t : e.idx];
                null == s && (s = d[e.idx]), d[e.idx] = i(s, e)
              }), c ? (n = l(c(d)), n[a] = d, n) : l(d)
            }, f(o, function(e, i) {
              l.fn[e] || (l.fn[e] = function(n) {
                var o, a = t.type(n),
                  h = "alpha" === e ? this._hsla ? "hsla" : "rgba" : s,
                  l = this[h](),
                  c = l[i.idx];
                return "undefined" === a ? c : ("function" === a && (n = n.call(this, c), a = t.type(n)), null == n && i.empty ? this : ("string" === a && (o = r.exec(n), o && (n = c + parseFloat(o[2]) * ("+" === o[1] ? 1 : -1))), l[i
                  .idx] = n, this[h](l)))
              })
            })
          }), l.hook = function(e) {
            var i = e.split(" ");
            f(i, function(e, i) {
              t.cssHooks[i] = {
                set: function(e, n) {
                  var o, a, r = "";
                  if ("transparent" !== n && ("string" !== t.type(n) || (o = s(n)))) {
                    if (n = l(o || n), !d.rgba && 1 !== n._rgba[3]) {
                      for (a = "backgroundColor" === i ? e.parentNode : e;
                        ("" === r || "transparent" === r) && a && a.style;) try {
                        r = t.css(a, "backgroundColor"), a = a.parentNode
                      } catch (h) {}
                      n = n.blend(r && "transparent" !== r ? r : "_default")
                    }
                    n = n.toRgbaString()
                  }
                  try {
                    e.style[i] = n
                  } catch (h) {}
                }
              }, t.fx.step[i] = function(e) {
                e.colorInit || (e.start = l(e.elem, i), e.end = l(e.end), e.colorInit = !0), t.cssHooks[i].set(e.elem, e.start.transition(e.end, e.pos))
              }
            })
          }, l.hook(a), t.cssHooks.borderColor = {
            expand: function(t) {
              var e = {};
              return f(["Top", "Right", "Bottom", "Left"], function(i, s) {
                e["border" + s + "Color"] = t
              }), e
            }
          }, o = t.Color.names = {
            aqua: "#00ffff",
            black: "#000000",
            blue: "#0000ff",
            fuchsia: "#ff00ff",
            gray: "#808080",
            green: "#008000",
            lime: "#00ff00",
            maroon: "#800000",
            navy: "#000080",
            olive: "#808000",
            purple: "#800080",
            red: "#ff0000",
            silver: "#c0c0c0",
            teal: "#008080",
            white: "#ffffff",
            yellow: "#ffff00",
            transparent: [null, null, null, 0],
            _default: "#ffffff"
          }
        }(jQuery),
        function() {
          function i(e) {
            var i, s, n = e.ownerDocument.defaultView ? e.ownerDocument.defaultView.getComputedStyle(e, null) : e.currentStyle,
              o = {};
            if (n && n.length && n[0] && n[n[0]])
              for (s = n.length; s--;) i = n[s], "string" == typeof n[i] && (o[t.camelCase(i)] = n[i]);
            else
              for (i in n) "string" == typeof n[i] && (o[i] = n[i]);
            return o
          }

          function s(e, i) {
            var s, n, a = {};
            for (s in i) n = i[s], e[s] !== n && (o[s] || (t.fx.step[s] || !isNaN(parseFloat(n))) && (a[s] = n));
            return a
          }
          var n = ["add", "remove", "toggle"],
            o = {
              border: 1,
              borderBottom: 1,
              borderColor: 1,
              borderLeft: 1,
              borderRight: 1,
              borderTop: 1,
              borderWidth: 1,
              margin: 1,
              padding: 1
            };
          t.each(["borderLeftStyle", "borderRightStyle", "borderBottomStyle", "borderTopStyle"], function(e, i) {
            t.fx.step[i] = function(t) {
              ("none" !== t.end && !t.setAttr || 1 === t.pos && !t.setAttr) && (jQuery.style(t.elem, i, t.end), t.setAttr = !0)
            }
          }), t.fn.addBack || (t.fn.addBack = function(t) {
            return this.add(null == t ? this.prevObject : this.prevObject.filter(t))
          }), t.effects.animateClass = function(e, o, a, r) {
            var h = t.speed(o, a, r);
            return this.queue(function() {
              var o, a = t(this),
                r = a.attr("class") || "",
                l = h.children ? a.find("*").addBack() : a;
              l = l.map(function() {
                var e = t(this);
                return {
                  el: e,
                  start: i(this)
                }
              }), o = function() {
                t.each(n, function(t, i) {
                  e[i] && a[i + "Class"](e[i])
                })
              }, o(), l = l.map(function() {
                return this.end = i(this.el[0]), this.diff = s(this.start, this.end), this
              }), a.attr("class", r), l = l.map(function() {
                var e = this,
                  i = t.Deferred(),
                  s = t.extend({}, h, {
                    queue: !1,
                    complete: function() {
                      i.resolve(e)
                    }
                  });
                return this.el.animate(this.diff, s), i.promise()
              }), t.when.apply(t, l.get()).done(function() {
                o(), t.each(arguments, function() {
                  var e = this.el;
                  t.each(this.diff, function(t) {
                    e.css(t, "")
                  })
                }), h.complete.call(a[0])
              })
            })
          }, t.fn.extend({
            addClass: function(e) {
              return function(i, s, n, o) {
                return s ? t.effects.animateClass.call(this, {
                  add: i
                }, s, n, o) : e.apply(this, arguments)
              }
            }(t.fn.addClass),
            removeClass: function(e) {
              return function(i, s, n, o) {
                return arguments.length > 1 ? t.effects.animateClass.call(this, {
                  remove: i
                }, s, n, o) : e.apply(this, arguments)
              }
            }(t.fn.removeClass),
            toggleClass: function(i) {
              return function(s, n, o, a, r) {
                return "boolean" == typeof n || n === e ? o ? t.effects.animateClass.call(this, n ? {
                  add: s
                } : {
                  remove: s
                }, o, a, r) : i.apply(this, arguments) : t.effects.animateClass.call(this, {
                  toggle: s
                }, n, o, a)
              }
            }(t.fn.toggleClass),
            switchClass: function(e, i, s, n, o) {
              return t.effects.animateClass.call(this, {
                add: i,
                remove: e
              }, s, n, o)
            }
          })
        }(),
        function() {
          function s(e, i, s, n) {
            return t.isPlainObject(e) && (i = e, e = e.effect), e = {
                effect: e
              }, null == i && (i = {}), t.isFunction(i) && (n = i, s = null, i = {}), ("number" == typeof i || t.fx.speeds[i]) && (n = s, s = i, i = {}), t.isFunction(s) && (n = s, s = null), i && t.extend(e, i), s = s || i.duration, e.duration = t
              .fx.off ? 0 : "number" == typeof s ? s : s in t.fx.speeds ? t.fx.speeds[s] : t.fx.speeds._default, e.complete = n || i.complete, e
          }

          function n(e) {
            return !e || "number" == typeof e || t.fx.speeds[e] ? !0 : "string" != typeof e || t.effects.effect[e] ? t.isFunction(e) ? !0 : "object" != typeof e || e.effect ? !1 : !0 : !0
          }
          t.extend(t.effects, {
            version: "1.10.3",
            save: function(t, e) {
              for (var s = 0; e.length > s; s++) null !== e[s] && t.data(i + e[s], t[0].style[e[s]])
            },
            restore: function(t, s) {
              var n, o;
              for (o = 0; s.length > o; o++) null !== s[o] && (n = t.data(i + s[o]), n === e && (n = ""), t.css(s[o], n))
            },
            setMode: function(t, e) {
              return "toggle" === e && (e = t.is(":hidden") ? "show" : "hide"), e
            },
            getBaseline: function(t, e) {
              var i, s;
              switch (t[0]) {
                case "top":
                  i = 0;
                  break;
                case "middle":
                  i = .5;
                  break;
                case "bottom":
                  i = 1;
                  break;
                default:
                  i = t[0] / e.height
              }
              switch (t[1]) {
                case "left":
                  s = 0;
                  break;
                case "center":
                  s = .5;
                  break;
                case "right":
                  s = 1;
                  break;
                default:
                  s = t[1] / e.width
              }
              return {
                x: s,
                y: i
              }
            },
            createWrapper: function(e) {
              if (e.parent().is(".ui-effects-wrapper")) return e.parent();
              var i = {
                  width: e.outerWidth(!0),
                  height: e.outerHeight(!0),
                  "float": e.css("float")
                },
                s = t("<div></div>").addClass("ui-effects-wrapper").css({
                  fontSize: "100%",
                  background: "transparent",
                  border: "none",
                  margin: 0,
                  padding: 0
                }),
                n = {
                  width: e.width(),
                  height: e.height()
                },
                o = document.activeElement;
              try {
                o.id
              } catch (a) {
                o = document.body
              }
              return e.wrap(s), (e[0] === o || t.contains(e[0], o)) && t(o).focus(), s = e.parent(), "static" === e.css("position") ? (s.css({
                position: "relative"
              }), e.css({
                position: "relative"
              })) : (t.extend(i, {
                position: e.css("position"),
                zIndex: e.css("z-index")
              }), t.each(["top", "left", "bottom", "right"], function(t, s) {
                i[s] = e.css(s), isNaN(parseInt(i[s], 10)) && (i[s] = "auto")
              }), e.css({
                position: "relative",
                top: 0,
                left: 0,
                right: "auto",
                bottom: "auto"
              })), e.css(n), s.css(i).show()
            },
            removeWrapper: function(e) {
              var i = document.activeElement;
              return e.parent().is(".ui-effects-wrapper") && (e.parent().replaceWith(e), (e[0] === i || t.contains(e[0], i)) && t(i).focus()), e
            },
            setTransition: function(e, i, s, n) {
              return n = n || {}, t.each(i, function(t, i) {
                var o = e.cssUnit(i);
                o[0] > 0 && (n[i] = o[0] * s + o[1])
              }), n
            }
          }), t.fn.extend({
            effect: function() {
              function e(e) {
                function s() {
                  t.isFunction(o) && o.call(n[0]), t.isFunction(e) && e()
                }
                var n = t(this),
                  o = i.complete,
                  r = i.mode;
                (n.is(":hidden") ? "hide" === r : "show" === r) ? (n[r](), s()) : a.call(n[0], i, s)
              }
              var i = s.apply(this, arguments),
                n = i.mode,
                o = i.queue,
                a = t.effects.effect[i.effect];
              return t.fx.off || !a ? n ? this[n](i.duration, i.complete) : this.each(function() {
                i.complete && i.complete.call(this)
              }) : o === !1 ? this.each(e) : this.queue(o || "fx", e)
            },
            show: function(t) {
              return function(e) {
                if (n(e)) return t.apply(this, arguments);
                var i = s.apply(this, arguments);
                return i.mode = "show", this.effect.call(this, i)
              }
            }(t.fn.show),
            hide: function(t) {
              return function(e) {
                if (n(e)) return t.apply(this, arguments);
                var i = s.apply(this, arguments);
                return i.mode = "hide", this.effect.call(this, i)
              }
            }(t.fn.hide),
            toggle: function(t) {
              return function(e) {
                if (n(e) || "boolean" == typeof e) return t.apply(this, arguments);
                var i = s.apply(this, arguments);
                return i.mode = "toggle", this.effect.call(this, i)
              }
            }(t.fn.toggle),
            cssUnit: function(e) {
              var i = this.css(e),
                s = [];
              return t.each(["em", "px", "%", "pt"], function(t, e) {
                i.indexOf(e) > 0 && (s = [parseFloat(i), e])
              }), s
            }
          })
        }(),
        function() {
          var e = {};
          t.each(["Quad", "Cubic", "Quart", "Quint", "Expo"], function(t, i) {
            e[i] = function(e) {
              return Math.pow(e, t + 2)
            }
          }), t.extend(e, {
            Sine: function(t) {
              return 1 - Math.cos(t * Math.PI / 2)
            },
            Circ: function(t) {
              return 1 - Math.sqrt(1 - t * t)
            },
            Elastic: function(t) {
              return 0 === t || 1 === t ? t : -Math.pow(2, 8 * (t - 1)) * Math.sin((80 * (t - 1) - 7.5) * Math.PI / 15)
            },
            Back: function(t) {
              return t * t * (3 * t - 2)
            },
            Bounce: function(t) {
              for (var e, i = 4;
                ((e = Math.pow(2, --i)) - 1) / 11 > t;);
              return 1 / Math.pow(4, 3 - i) - 7.5625 * Math.pow((3 * e - 2) / 22 - t, 2)
            }
          }), t.each(e, function(e, i) {
            t.easing["easeIn" + e] = i, t.easing["easeOut" + e] = function(t) {
              return 1 - i(1 - t)
            }, t.easing["easeInOut" + e] = function(t) {
              return .5 > t ? i(2 * t) / 2 : 1 - i(-2 * t + 2) / 2
            }
          })
        }()
    }(jQuery),
    function(t) {
      var e = 0,
        i = {},
        s = {};
      i.height = i.paddingTop = i.paddingBottom = i.borderTopWidth = i.borderBottomWidth = "hide", s.height = s.paddingTop = s.paddingBottom = s.borderTopWidth = s.borderBottomWidth = "show", t.widget("ui.accordion", {
        version: "1.10.3",
        options: {
          active: 0,
          animate: {},
          collapsible: !1,
          event: "click",
          header: "> li > :first-child,> :not(li):even",
          heightStyle: "auto",
          icons: {
            activeHeader: "ui-icon-triangle-1-s",
            header: "ui-icon-triangle-1-e"
          },
          activate: null,
          beforeActivate: null
        },
        _create: function() {
          var e = this.options;
          this.prevShow = this.prevHide = t(), this.element.addClass("ui-accordion ui-widget ui-helper-reset").attr("role", "tablist"), e.collapsible || e.active !== !1 && null != e.active || (e.active = 0), this._processPanels(), 0 > e
            .active && (e.active += this.headers.length), this._refresh()
        },
        _getCreateEventData: function() {
          return {
            header: this.active,
            panel: this.active.length ? this.active.next() : t(),
            content: this.active.length ? this.active.next() : t()
          }
        },
        _createIcons: function() {
          var e = this.options.icons;
          e && (t("<span>").addClass("ui-accordion-header-icon ui-icon " + e.header).prependTo(this.headers), this.active.children(".ui-accordion-header-icon").removeClass(e.header).addClass(e.activeHeader), this.headers.addClass(
            "ui-accordion-icons"))
        },
        _destroyIcons: function() {
          this.headers.removeClass("ui-accordion-icons").children(".ui-accordion-header-icon").remove()
        },
        _destroy: function() {
          var t;
          this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role"), this.headers.removeClass(
              "ui-accordion-header ui-accordion-header-active ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-selected").removeAttr("aria-controls")
            .removeAttr("tabIndex").each(function() {
              /^ui-accordion/.test(this.id) && this.removeAttribute("id")
            }), this._destroyIcons(), t = this.headers.next().css("display", "").removeAttr("role").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeClass(
              "ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-state-disabled").each(function() {
              /^ui-accordion/.test(this.id) && this.removeAttribute("id")
            }), "content" !== this.options.heightStyle && t.css("height", "")
        },
        _setOption: function(t, e) {
          return "active" === t ? (this._activate(e), undefined) : ("event" === t && (this.options.event && this._off(this.headers, this.options.event), this._setupEvents(e)), this._super(t, e), "collapsible" !== t || e || this.options
            .active !== !1 || this._activate(0), "icons" === t && (this._destroyIcons(), e && this._createIcons()), "disabled" === t && this.headers.add(this.headers.next()).toggleClass("ui-state-disabled", !!e), undefined)
        },
        _keydown: function(e) {
          if (!e.altKey && !e.ctrlKey) {
            var i = t.ui.keyCode,
              s = this.headers.length,
              n = this.headers.index(e.target),
              o = !1;
            switch (e.keyCode) {
              case i.RIGHT:
              case i.DOWN:
                o = this.headers[(n + 1) % s];
                break;
              case i.LEFT:
              case i.UP:
                o = this.headers[(n - 1 + s) % s];
                break;
              case i.SPACE:
              case i.ENTER:
                this._eventHandler(e);
                break;
              case i.HOME:
                o = this.headers[0];
                break;
              case i.END:
                o = this.headers[s - 1]
            }
            o && (t(e.target).attr("tabIndex", -1), t(o).attr("tabIndex", 0), o.focus(), e.preventDefault())
          }
        },
        _panelKeyDown: function(e) {
          e.keyCode === t.ui.keyCode.UP && e.ctrlKey && t(e.currentTarget).prev().focus()
        },
        refresh: function() {
          var e = this.options;
          this._processPanels(), e.active === !1 && e.collapsible === !0 || !this.headers.length ? (e.active = !1, this.active = t()) : e.active === !1 ? this._activate(0) : this.active.length && !t.contains(this.element[0], this.active[0]) ?
            this.headers.length === this.headers.find(".ui-state-disabled").length ? (e.active = !1, this.active = t()) : this._activate(Math.max(0, e.active - 1)) : e.active = this.headers.index(this.active), this._destroyIcons(), this
            ._refresh()
        },
        _processPanels: function() {
          this.headers = this.element.find(this.options.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all"), this.headers.next().addClass(
            "ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").filter(":not(.ui-accordion-content-active)").hide()
        },
        _refresh: function() {
          var i, s = this.options,
            n = s.heightStyle,
            o = this.element.parent(),
            a = this.accordionId = "ui-accordion-" + (this.element.attr("id") || ++e);
          this.active = this._findActive(s.active).addClass("ui-accordion-header-active ui-state-active ui-corner-top").removeClass("ui-corner-all"), this.active.next().addClass("ui-accordion-content-active").show(), this.headers.attr("role",
            "tab").each(function(e) {
            var i = t(this),
              s = i.attr("id"),
              n = i.next(),
              o = n.attr("id");
            s || (s = a + "-header-" + e, i.attr("id", s)), o || (o = a + "-panel-" + e, n.attr("id", o)), i.attr("aria-controls", o), n.attr("aria-labelledby", s)
          }).next().attr("role", "tabpanel"), this.headers.not(this.active).attr({
            "aria-selected": "false",
            tabIndex: -1
          }).next().attr({
            "aria-expanded": "false",
            "aria-hidden": "true"
          }).hide(), this.active.length ? this.active.attr({
            "aria-selected": "true",
            tabIndex: 0
          }).next().attr({
            "aria-expanded": "true",
            "aria-hidden": "false"
          }) : this.headers.eq(0).attr("tabIndex", 0), this._createIcons(), this._setupEvents(s.event), "fill" === n ? (i = o.height(), this.element.siblings(":visible").each(function() {
            var e = t(this),
              s = e.css("position");
            "absolute" !== s && "fixed" !== s && (i -= e.outerHeight(!0))
          }), this.headers.each(function() {
            i -= t(this).outerHeight(!0)
          }), this.headers.next().each(function() {
            t(this).height(Math.max(0, i - t(this).innerHeight() + t(this).height()))
          }).css("overflow", "auto")) : "auto" === n && (i = 0, this.headers.next().each(function() {
            i = Math.max(i, t(this).css("height", "").height())
          }).height(i))
        },
        _activate: function(e) {
          var i = this._findActive(e)[0];
          i !== this.active[0] && (i = i || this.active[0], this._eventHandler({
            target: i,
            currentTarget: i,
            preventDefault: t.noop
          }))
        },
        _findActive: function(e) {
          return "number" == typeof e ? this.headers.eq(e) : t()
        },
        _setupEvents: function(e) {
          var i = {
            keydown: "_keydown"
          };
          e && t.each(e.split(" "), function(t, e) {
            i[e] = "_eventHandler"
          }), this._off(this.headers.add(this.headers.next())), this._on(this.headers, i), this._on(this.headers.next(), {
            keydown: "_panelKeyDown"
          }), this._hoverable(this.headers), this._focusable(this.headers)
        },
        _eventHandler: function(e) {
          var i = this.options,
            s = this.active,
            n = t(e.currentTarget),
            o = n[0] === s[0],
            a = o && i.collapsible,
            r = a ? t() : n.next(),
            h = s.next(),
            l = {
              oldHeader: s,
              oldPanel: h,
              newHeader: a ? t() : n,
              newPanel: r
            };
          e.preventDefault(), o && !i.collapsible || this._trigger("beforeActivate", e, l) === !1 || (i.active = a ? !1 : this.headers.index(n), this.active = o ? t() : n, this._toggle(l), s.removeClass(
            "ui-accordion-header-active ui-state-active"), i.icons && s.children(".ui-accordion-header-icon").removeClass(i.icons.activeHeader).addClass(i.icons.header), o || (n.removeClass("ui-corner-all").addClass(
            "ui-accordion-header-active ui-state-active ui-corner-top"), i.icons && n.children(".ui-accordion-header-icon").removeClass(i.icons.header).addClass(i.icons.activeHeader), n.next().addClass("ui-accordion-content-active")))
        },
        _toggle: function(e) {
          var i = e.newPanel,
            s = this.prevShow.length ? this.prevShow : e.oldPanel;
          this.prevShow.add(this.prevHide).stop(!0, !0), this.prevShow = i, this.prevHide = s, this.options.animate ? this._animate(i, s, e) : (s.hide(), i.show(), this._toggleComplete(e)), s.attr({
            "aria-expanded": "false",
            "aria-hidden": "true"
          }), s.prev().attr("aria-selected", "false"), i.length && s.length ? s.prev().attr("tabIndex", -1) : i.length && this.headers.filter(function() {
            return 0 === t(this).attr("tabIndex")
          }).attr("tabIndex", -1), i.attr({
            "aria-expanded": "true",
            "aria-hidden": "false"
          }).prev().attr({
            "aria-selected": "true",
            tabIndex: 0
          })
        },
        _animate: function(t, e, n) {
          var o, a, r, h = this,
            l = 0,
            c = t.length && (!e.length || t.index() < e.index()),
            u = this.options.animate || {},
            d = c && u.down || u,
            p = function() {
              h._toggleComplete(n)
            };
          return "number" == typeof d && (r = d), "string" == typeof d && (a = d), a = a || d.easing || u.easing, r = r || d.duration || u.duration, e.length ? t.length ? (o = t.show().outerHeight(), e.animate(i, {
            duration: r,
            easing: a,
            step: function(t, e) {
              e.now = Math.round(t)
            }
          }), t.hide().animate(s, {
            duration: r,
            easing: a,
            complete: p,
            step: function(t, i) {
              i.now = Math.round(t), "height" !== i.prop ? l += i.now : "content" !== h.options.heightStyle && (i.now = Math.round(o - e.outerHeight() - l), l = 0)
            }
          }), undefined) : e.animate(i, r, a, p) : t.animate(s, r, a, p)
        },
        _toggleComplete: function(t) {
          var e = t.oldPanel;
          e.removeClass("ui-accordion-content-active").prev().removeClass("ui-corner-top").addClass("ui-corner-all"), e.length && (e.parent()[0].className = e.parent()[0].className), this._trigger("activate", null, t)
        }
      })
    }(jQuery),
    function(t) {
      var e = 0;
      t.widget("ui.autocomplete", {
        version: "1.10.3",
        defaultElement: "<input>",
        options: {
          appendTo: null,
          autoFocus: !1,
          delay: 300,
          minLength: 1,
          position: {
            my: "left top",
            at: "left bottom",
            collision: "none"
          },
          source: null,
          change: null,
          close: null,
          focus: null,
          open: null,
          response: null,
          search: null,
          select: null
        },
        pending: 0,
        _create: function() {
          var e, i, s, n = this.element[0].nodeName.toLowerCase(),
            o = "textarea" === n,
            a = "input" === n;
          this.isMultiLine = o ? !0 : a ? !1 : this.element.prop("isContentEditable"), this.valueMethod = this.element[o || a ? "val" : "text"], this.isNewMenu = !0, this.element.addClass("ui-autocomplete-input").attr("autocomplete", "off"),
            this._on(this.element, {
              keydown: function(n) {
                if (this.element.prop("readOnly")) return e = !0, s = !0, i = !0, undefined;
                e = !1, s = !1, i = !1;
                var o = t.ui.keyCode;
                switch (n.keyCode) {
                  case o.PAGE_UP:
                    e = !0, this._move("previousPage", n);
                    break;
                  case o.PAGE_DOWN:
                    e = !0, this._move("nextPage", n);
                    break;
                  case o.UP:
                    e = !0, this._keyEvent("previous", n);
                    break;
                  case o.DOWN:
                    e = !0, this._keyEvent("next", n);
                    break;
                  case o.ENTER:
                  case o.NUMPAD_ENTER:
                    this.menu.active && (e = !0, n.preventDefault(), this.menu.select(n));
                    break;
                  case o.TAB:
                    this.menu.active && this.menu.select(n);
                    break;
                  case o.ESCAPE:
                    this.menu.element.is(":visible") && (this._value(this.term), this.close(n), n.preventDefault());
                    break;
                  default:
                    i = !0, this._searchTimeout(n)
                }
              },
              keypress: function(s) {
                if (e) return e = !1, (!this.isMultiLine || this.menu.element.is(":visible")) && s.preventDefault(), undefined;
                if (!i) {
                  var n = t.ui.keyCode;
                  switch (s.keyCode) {
                    case n.PAGE_UP:
                      this._move("previousPage", s);
                      break;
                    case n.PAGE_DOWN:
                      this._move("nextPage", s);
                      break;
                    case n.UP:
                      this._keyEvent("previous", s);
                      break;
                    case n.DOWN:
                      this._keyEvent("next", s)
                  }
                }
              },
              input: function(t) {
                return s ? (s = !1, t.preventDefault(), undefined) : (this._searchTimeout(t), undefined)
              },
              focus: function() {
                this.selectedItem = null, this.previous = this._value()
              },
              blur: function(t) {
                return this.cancelBlur ? (delete this.cancelBlur, undefined) : (clearTimeout(this.searching), this.close(t), this._change(t), undefined)
              }
            }), this._initSource(), this.menu = t("<ul>").addClass("ui-autocomplete ui-front").appendTo(this._appendTo()).menu({
              role: null
            }).hide().data("ui-menu"), this._on(this.menu.element, {
              mousedown: function(e) {
                e.preventDefault(), this.cancelBlur = !0, this._delay(function() {
                  delete this.cancelBlur
                });
                var i = this.menu.element[0];
                t(e.target).closest(".ui-menu-item").length || this._delay(function() {
                  var e = this;
                  this.document.one("mousedown", function(s) {
                    s.target === e.element[0] || s.target === i || t.contains(i, s.target) || e.close()
                  })
                })
              },
              menufocus: function(e, i) {
                if (this.isNewMenu && (this.isNewMenu = !1, e.originalEvent && /^mouse/.test(e.originalEvent.type))) return this.menu.blur(), this.document.one("mousemove", function() {
                  t(e.target).trigger(e.originalEvent)
                }), undefined;
                var s = i.item.data("ui-autocomplete-item");
                !1 !== this._trigger("focus", e, {
                  item: s
                }) ? e.originalEvent && /^key/.test(e.originalEvent.type) && this._value(s.value) : this.liveRegion.text(s.value)
              },
              menuselect: function(t, e) {
                var i = e.item.data("ui-autocomplete-item"),
                  s = this.previous;
                this.element[0] !== this.document[0].activeElement && (this.element.focus(), this.previous = s, this._delay(function() {
                  this.previous = s, this.selectedItem = i
                })), !1 !== this._trigger("select", t, {
                  item: i
                }) && this._value(i.value), this.term = this._value(), this.close(t), this.selectedItem = i
              }
            }), this.liveRegion = t("<span>", {
              role: "status",
              "aria-live": "polite"
            }).addClass("ui-helper-hidden-accessible").insertBefore(this.element), this._on(this.window, {
              beforeunload: function() {
                this.element.removeAttr("autocomplete")
              }
            })
        },
        _destroy: function() {
          clearTimeout(this.searching), this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete"), this.menu.element.remove(), this.liveRegion.remove()
        },
        _setOption: function(t, e) {
          this._super(t, e), "source" === t && this._initSource(), "appendTo" === t && this.menu.element.appendTo(this._appendTo()), "disabled" === t && e && this.xhr && this.xhr.abort()
        },
        _appendTo: function() {
          var e = this.options.appendTo;
          return e && (e = e.jquery || e.nodeType ? t(e) : this.document.find(e).eq(0)), e || (e = this.element.closest(".ui-front")), e.length || (e = this.document[0].body), e
        },
        _initSource: function() {
          var e, i, s = this;
          t.isArray(this.options.source) ? (e = this.options.source, this.source = function(i, s) {
            s(t.ui.autocomplete.filter(e, i.term))
          }) : "string" == typeof this.options.source ? (i = this.options.source, this.source = function(e, n) {
            s.xhr && s.xhr.abort(), s.xhr = t.ajax({
              url: i,
              data: e,
              dataType: "json",
              success: function(t) {
                n(t)
              },
              error: function() {
                n([])
              }
            })
          }) : this.source = this.options.source
        },
        _searchTimeout: function(t) {
          clearTimeout(this.searching), this.searching = this._delay(function() {
            this.term !== this._value() && (this.selectedItem = null, this.search(null, t))
          }, this.options.delay)
        },
        search: function(t, e) {
          return t = null != t ? t : this._value(), this.term = this._value(), t.length < this.options.minLength ? this.close(e) : this._trigger("search", e) !== !1 ? this._search(t) : undefined
        },
        _search: function(t) {
          this.pending++, this.element.addClass("ui-autocomplete-loading"), this.cancelSearch = !1, this.source({
            term: t
          }, this._response())
        },
        _response: function() {
          var t = this,
            i = ++e;
          return function(s) {
            i === e && t.__response(s), t.pending--, t.pending || t.element.removeClass("ui-autocomplete-loading")
          }
        },
        __response: function(t) {
          t && (t = this._normalize(t)), this._trigger("response", null, {
            content: t
          }), !this.options.disabled && t && t.length && !this.cancelSearch ? (this._suggest(t), this._trigger("open")) : this._close()
        },
        close: function(t) {
          this.cancelSearch = !0, this._close(t)
        },
        _close: function(t) {
          this.menu.element.is(":visible") && (this.menu.element.hide(), this.menu.blur(), this.isNewMenu = !0, this._trigger("close", t))
        },
        _change: function(t) {
          this.previous !== this._value() && this._trigger("change", t, {
            item: this.selectedItem
          })
        },
        _normalize: function(e) {
          return e.length && e[0].label && e[0].value ? e : t.map(e, function(e) {
            return "string" == typeof e ? {
              label: e,
              value: e
            } : t.extend({
              label: e.label || e.value,
              value: e.value || e.label
            }, e)
          })
        },
        _suggest: function(e) {
          var i = this.menu.element.empty();
          this._renderMenu(i, e), this.isNewMenu = !0, this.menu.refresh(), i.show(), this._resizeMenu(), i.position(t.extend({
            of: this.element
          }, this.options.position)), this.options.autoFocus && this.menu.next()
        },
        _resizeMenu: function() {
          var t = this.menu.element;
          t.outerWidth(Math.max(t.width("").outerWidth() + 1, this.element.outerWidth()))
        },
        _renderMenu: function(e, i) {
          var s = this;
          t.each(i, function(t, i) {
            s._renderItemData(e, i)
          })
        },
        _renderItemData: function(t, e) {
          return this._renderItem(t, e).data("ui-autocomplete-item", e)
        },
        _renderItem: function(e, i) {
          return t("<li>").append(t("<a>").text(i.label)).appendTo(e)
        },
        _move: function(t, e) {
          return this.menu.element.is(":visible") ? this.menu.isFirstItem() && /^previous/.test(t) || this.menu.isLastItem() && /^next/.test(t) ? (this._value(this.term), this.menu.blur(), undefined) : (this.menu[t](e), undefined) : (this
            .search(null, e), undefined)
        },
        widget: function() {
          return this.menu.element
        },
        _value: function() {
          return this.valueMethod.apply(this.element, arguments)
        },
        _keyEvent: function(t, e) {
          (!this.isMultiLine || this.menu.element.is(":visible")) && (this._move(t, e), e.preventDefault())
        }
      }), t.extend(t.ui.autocomplete, {
        escapeRegex: function(t) {
          return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&")
        },
        filter: function(e, i) {
          var s = RegExp(t.ui.autocomplete.escapeRegex(i), "i");
          return t.grep(e, function(t) {
            return s.test(t.label || t.value || t)
          })
        }
      }), t.widget("ui.autocomplete", t.ui.autocomplete, {
        options: {
          messages: {
            noResults: "No search results.",
            results: function(t) {
              return t + (t > 1 ? " results are" : " result is") + " available, use up and down arrow keys to navigate."
            }
          }
        },
        __response: function(t) {
          var e;
          this._superApply(arguments), this.options.disabled || this.cancelSearch || (e = t && t.length ? this.options.messages.results(t.length) : this.options.messages.noResults, this.liveRegion.text(e))
        }
      })
    }(jQuery),
    function(t) {
      var e, i, s, n, o = "ui-button ui-widget ui-state-default ui-corner-all",
        a = "ui-state-hover ui-state-active ",
        r = "ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only",
        h = function() {
          var e = t(this);
          setTimeout(function() {
            e.find(":ui-button").button("refresh")
          }, 1)
        },
        l = function(e) {
          var i = e.name,
            s = e.form,
            n = t([]);
          return i && (i = i.replace(/'/g, "\\'"), n = s ? t(s).find("[name='" + i + "']") : t("[name='" + i + "']", e.ownerDocument).filter(function() {
            return !this.form
          })), n
        };
      t.widget("ui.button", {
        version: "1.10.3",
        defaultElement: "<button>",
        options: {
          disabled: null,
          text: !0,
          label: null,
          icons: {
            primary: null,
            secondary: null
          }
        },
        _create: function() {
          this.element.closest("form").unbind("reset" + this.eventNamespace).bind("reset" + this.eventNamespace, h), "boolean" != typeof this.options.disabled ? this.options.disabled = !!this.element.prop("disabled") : this.element.prop(
            "disabled", this.options.disabled), this._determineButtonType(), this.hasTitle = !!this.buttonElement.attr("title");
          var a = this,
            r = this.options,
            c = "checkbox" === this.type || "radio" === this.type,
            u = c ? "" : "ui-state-active",
            d = "ui-state-focus";
          null === r.label && (r.label = "input" === this.type ? this.buttonElement.val() : this.buttonElement.html()), this._hoverable(this.buttonElement), this.buttonElement.addClass(o).attr("role", "button").bind("mouseenter" + this
            .eventNamespace,
            function() {
              r.disabled || this === e && t(this).addClass("ui-state-active")
            }).bind("mouseleave" + this.eventNamespace, function() {
            r.disabled || t(this).removeClass(u)
          }).bind("click" + this.eventNamespace, function(t) {
            r.disabled && (t.preventDefault(), t.stopImmediatePropagation())
          }), this.element.bind("focus" + this.eventNamespace, function() {
            a.buttonElement.addClass(d)
          }).bind("blur" + this.eventNamespace, function() {
            a.buttonElement.removeClass(d)
          }), c && (this.element.bind("change" + this.eventNamespace, function() {
            n || a.refresh()
          }), this.buttonElement.bind("mousedown" + this.eventNamespace, function(t) {
            r.disabled || (n = !1, i = t.pageX, s = t.pageY)
          }).bind("mouseup" + this.eventNamespace, function(t) {
            r.disabled || (i !== t.pageX || s !== t.pageY) && (n = !0)
          })), "checkbox" === this.type ? this.buttonElement.bind("click" + this.eventNamespace, function() {
            return r.disabled || n ? !1 : undefined
          }) : "radio" === this.type ? this.buttonElement.bind("click" + this.eventNamespace, function() {
            if (r.disabled || n) return !1;
            t(this).addClass("ui-state-active"), a.buttonElement.attr("aria-pressed", "true");
            var e = a.element[0];
            l(e).not(e).map(function() {
              return t(this).button("widget")[0]
            }).removeClass("ui-state-active").attr("aria-pressed", "false")
          }) : (this.buttonElement.bind("mousedown" + this.eventNamespace, function() {
            return r.disabled ? !1 : (t(this).addClass("ui-state-active"), e = this, a.document.one("mouseup", function() {
              e = null
            }), undefined)
          }).bind("mouseup" + this.eventNamespace, function() {
            return r.disabled ? !1 : (t(this).removeClass("ui-state-active"), undefined)
          }).bind("keydown" + this.eventNamespace, function(e) {
            return r.disabled ? !1 : ((e.keyCode === t.ui.keyCode.SPACE || e.keyCode === t.ui.keyCode.ENTER) && t(this).addClass("ui-state-active"), undefined)
          }).bind("keyup" + this.eventNamespace + " blur" + this.eventNamespace, function() {
            t(this).removeClass("ui-state-active")
          }), this.buttonElement.is("a") && this.buttonElement.keyup(function(e) {
            e.keyCode === t.ui.keyCode.SPACE && t(this).click()
          })), this._setOption("disabled", r.disabled), this._resetButton()
        },
        _determineButtonType: function() {
          var t, e, i;
          this.type = this.element.is("[type=checkbox]") ? "checkbox" : this.element.is("[type=radio]") ? "radio" : this.element.is("input") ? "input" : "button", "checkbox" === this.type || "radio" === this.type ? (t = this.element.parents()
            .last(), e = "label[for='" + this.element.attr("id") + "']", this.buttonElement = t.find(e), this.buttonElement.length || (t = t.length ? t.siblings() : this.element.siblings(), this.buttonElement = t.filter(e), this.buttonElement
              .length || (this.buttonElement = t.find(e))), this.element.addClass("ui-helper-hidden-accessible"), i = this.element.is(":checked"), i && this.buttonElement.addClass("ui-state-active"), this.buttonElement.prop("aria-pressed", i)
            ) : this.buttonElement = this.element
        },
        widget: function() {
          return this.buttonElement
        },
        _destroy: function() {
          this.element.removeClass("ui-helper-hidden-accessible"), this.buttonElement.removeClass(o + " " + a + " " + r).removeAttr("role").removeAttr("aria-pressed").html(this.buttonElement.find(".ui-button-text").html()), this.hasTitle ||
            this.buttonElement.removeAttr("title")
        },
        _setOption: function(t, e) {
          return this._super(t, e), "disabled" === t ? (e ? this.element.prop("disabled", !0) : this.element.prop("disabled", !1), undefined) : (this._resetButton(), undefined)
        },
        refresh: function() {
          var e = this.element.is("input, button") ? this.element.is(":disabled") : this.element.hasClass("ui-button-disabled");
          e !== this.options.disabled && this._setOption("disabled", e), "radio" === this.type ? l(this.element[0]).each(function() {
            t(this).is(":checked") ? t(this).button("widget").addClass("ui-state-active").attr("aria-pressed", "true") : t(this).button("widget").removeClass("ui-state-active").attr("aria-pressed", "false")
          }) : "checkbox" === this.type && (this.element.is(":checked") ? this.buttonElement.addClass("ui-state-active").attr("aria-pressed", "true") : this.buttonElement.removeClass("ui-state-active").attr("aria-pressed", "false"))
        },
        _resetButton: function() {
          if ("input" === this.type) return this.options.label && this.element.val(this.options.label), undefined;
          var e = this.buttonElement.removeClass(r),
            i = t("<span></span>", this.document[0]).addClass("ui-button-text").html(this.options.label).appendTo(e.empty()).text(),
            s = this.options.icons,
            n = s.primary && s.secondary,
            o = [];
          s.primary || s.secondary ? (this.options.text && o.push("ui-button-text-icon" + (n ? "s" : s.primary ? "-primary" : "-secondary")), s.primary && e.prepend("<span class='ui-button-icon-primary ui-icon " + s.primary + "'></span>"), s
              .secondary && e.append("<span class='ui-button-icon-secondary ui-icon " + s.secondary + "'></span>"), this.options.text || (o.push(n ? "ui-button-icons-only" : "ui-button-icon-only"), this.hasTitle || e.attr("title", t.trim(i)))
              ) : o.push("ui-button-text-only"), e.addClass(o.join(" "))
        }
      }), t.widget("ui.buttonset", {
        version: "1.10.3",
        options: {
          items: "button, input[type=button], input[type=submit], input[type=reset], input[type=checkbox], input[type=radio], a, :data(ui-button)"
        },
        _create: function() {
          this.element.addClass("ui-buttonset")
        },
        _init: function() {
          this.refresh()
        },
        _setOption: function(t, e) {
          "disabled" === t && this.buttons.button("option", t, e), this._super(t, e)
        },
        refresh: function() {
          var e = "rtl" === this.element.css("direction");
          this.buttons = this.element.find(this.options.items).filter(":ui-button").button("refresh").end().not(":ui-button").button().end().map(function() {
            return t(this).button("widget")[0]
          }).removeClass("ui-corner-all ui-corner-left ui-corner-right").filter(":first").addClass(e ? "ui-corner-right" : "ui-corner-left").end().filter(":last").addClass(e ? "ui-corner-left" : "ui-corner-right").end().end()
        },
        _destroy: function() {
          this.element.removeClass("ui-buttonset"), this.buttons.map(function() {
            return t(this).button("widget")[0]
          }).removeClass("ui-corner-left ui-corner-right").end().button("destroy")
        }
      })
    }(jQuery),
    function(t, e) {
      function i() {
        this._curInst = null, this._keyEvent = !1, this._disabledInputs = [], this._datepickerShowing = !1, this._inDialog = !1, this._mainDivId = "ui-datepicker-div", this._inlineClass = "ui-datepicker-inline", this._appendClass =
          "ui-datepicker-append", this._triggerClass = "ui-datepicker-trigger", this._dialogClass = "ui-datepicker-dialog", this._disableClass = "ui-datepicker-disabled", this._unselectableClass = "ui-datepicker-unselectable", this._currentClass =
          "ui-datepicker-current-day", this._dayOverClass = "ui-datepicker-days-cell-over", this.regional = [], this.regional[""] = {
            closeText: "Done",
            prevText: "Prev",
            nextText: "Next",
            currentText: "Today",
            monthNames: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
            monthNamesShort: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
            dayNames: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
            dayNamesShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
            dayNamesMin: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
            weekHeader: "Wk",
            dateFormat: "mm/dd/yy",
            firstDay: 0,
            isRTL: !1,
            showMonthAfterYear: !1,
            yearSuffix: ""
          }, this._defaults = {
            showOn: "focus",
            showAnim: "fadeIn",
            showOptions: {},
            defaultDate: null,
            appendText: "",
            buttonText: "...",
            buttonImage: "",
            buttonImageOnly: !1,
            hideIfNoPrevNext: !1,
            navigationAsDateFormat: !1,
            gotoCurrent: !1,
            changeMonth: !1,
            changeYear: !1,
            yearRange: "c-10:c+10",
            showOtherMonths: !1,
            selectOtherMonths: !1,
            showWeek: !1,
            calculateWeek: this.iso8601Week,
            shortYearCutoff: "+10",
            minDate: null,
            maxDate: null,
            duration: "fast",
            beforeShowDay: null,
            beforeShow: null,
            onSelect: null,
            onChangeMonthYear: null,
            onClose: null,
            numberOfMonths: 1,
            showCurrentAtPos: 0,
            stepMonths: 1,
            stepBigMonths: 12,
            altField: "",
            altFormat: "",
            constrainInput: !0,
            showButtonPanel: !1,
            autoSize: !1,
            disabled: !1
          }, t.extend(this._defaults, this.regional[""]), this.dpDiv = s(t("<div id='" + this._mainDivId + "' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))
      }

      function s(e) {
        var i = "button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";
        return e.delegate(i, "mouseout", function() {
          t(this).removeClass("ui-state-hover"), -1 !== this.className.indexOf("ui-datepicker-prev") && t(this).removeClass("ui-datepicker-prev-hover"), -1 !== this.className.indexOf("ui-datepicker-next") && t(this).removeClass(
            "ui-datepicker-next-hover")
        }).delegate(i, "mouseover", function() {
          t.datepicker._isDisabledDatepicker(o.inline ? e.parent()[0] : o.input[0]) || (t(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"), t(this).addClass("ui-state-hover"), -1 !== this.className.indexOf(
            "ui-datepicker-prev") && t(this).addClass("ui-datepicker-prev-hover"), -1 !== this.className.indexOf("ui-datepicker-next") && t(this).addClass("ui-datepicker-next-hover"))
        })
      }

      function n(e, i) {
        t.extend(e, i);
        for (var s in i) null == i[s] && (e[s] = i[s]);
        return e
      }
      t.extend(t.ui, {
        datepicker: {
          version: "1.10.3"
        }
      });
      var o, a = "datepicker";
      t.extend(i.prototype, {
        markerClassName: "hasDatepicker",
        maxRows: 4,
        _widgetDatepicker: function() {
          return this.dpDiv
        },
        setDefaults: function(t) {
          return n(this._defaults, t || {}), this
        },
        _attachDatepicker: function(e, i) {
          var s, n, o;
          s = e.nodeName.toLowerCase(), n = "div" === s || "span" === s, e.id || (this.uuid += 1, e.id = "dp" + this.uuid), o = this._newInst(t(e), n), o.settings = t.extend({}, i || {}), "input" === s ? this._connectDatepicker(e, o) : n &&
            this._inlineDatepicker(e, o)
        },
        _newInst: function(e, i) {
          var n = e[0].id.replace(/([^A-Za-z0-9_\-])/g, "\\\\$1");
          return {
            id: n,
            input: e,
            selectedDay: 0,
            selectedMonth: 0,
            selectedYear: 0,
            drawMonth: 0,
            drawYear: 0,
            inline: i,
            dpDiv: i ? s(t("<div class='" + this._inlineClass + " ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")) : this.dpDiv
          }
        },
        _connectDatepicker: function(e, i) {
          var s = t(e);
          i.append = t([]), i.trigger = t([]), s.hasClass(this.markerClassName) || (this._attachments(s, i), s.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp), this._autoSize(i), t.data(e,
            a, i), i.settings.disabled && this._disableDatepicker(e))
        },
        _attachments: function(e, i) {
          var s, n, o, a = this._get(i, "appendText"),
            r = this._get(i, "isRTL");
          i.append && i.append.remove(), a && (i.append = t("<span class='" + this._appendClass + "'>" + a + "</span>"), e[r ? "before" : "after"](i.append)), e.unbind("focus", this._showDatepicker), i.trigger && i.trigger.remove(), s = this
            ._get(i, "showOn"), ("focus" === s || "both" === s) && e.focus(this._showDatepicker), ("button" === s || "both" === s) && (n = this._get(i, "buttonText"), o = this._get(i, "buttonImage"), i.trigger = t(this._get(i,
              "buttonImageOnly") ? t("<img/>").addClass(this._triggerClass).attr({
              src: o,
              alt: n,
              title: n
            }) : t("<button type='button'></button>").addClass(this._triggerClass).html(o ? t("<img/>").attr({
              src: o,
              alt: n,
              title: n
            }) : n)), e[r ? "before" : "after"](i.trigger), i.trigger.click(function() {
              return t.datepicker._datepickerShowing && t.datepicker._lastInput === e[0] ? t.datepicker._hideDatepicker() : t.datepicker._datepickerShowing && t.datepicker._lastInput !== e[0] ? (t.datepicker._hideDatepicker(), t.datepicker
                ._showDatepicker(e[0])) : t.datepicker._showDatepicker(e[0]), !1
            }))
        },
        _autoSize: function(t) {
          if (this._get(t, "autoSize") && !t.inline) {
            var e, i, s, n, o = new Date(2009, 11, 20),
              a = this._get(t, "dateFormat");
            a.match(/[DM]/) && (e = function(t) {
              for (i = 0, s = 0, n = 0; t.length > n; n++) t[n].length > i && (i = t[n].length, s = n);
              return s
            }, o.setMonth(e(this._get(t, a.match(/MM/) ? "monthNames" : "monthNamesShort"))), o.setDate(e(this._get(t, a.match(/DD/) ? "dayNames" : "dayNamesShort")) + 20 - o.getDay())), t.input.attr("size", this._formatDate(t, o).length)
          }
        },
        _inlineDatepicker: function(e, i) {
          var s = t(e);
          s.hasClass(this.markerClassName) || (s.addClass(this.markerClassName).append(i.dpDiv), t.data(e, a, i), this._setDate(i, this._getDefaultDate(i), !0), this._updateDatepicker(i), this._updateAlternate(i), i.settings.disabled && this
            ._disableDatepicker(e), i.dpDiv.css("display", "block"))
        },
        _dialogDatepicker: function(e, i, s, o, r) {
          var h, l, c, u, d, p = this._dialogInst;
          return p || (this.uuid += 1, h = "dp" + this.uuid, this._dialogInput = t("<input type='text' id='" + h + "' style='position: absolute; top: -100px; width: 0px;'/>"), this._dialogInput.keydown(this._doKeyDown), t("body").append(this
              ._dialogInput), p = this._dialogInst = this._newInst(this._dialogInput, !1), p.settings = {}, t.data(this._dialogInput[0], a, p)), n(p.settings, o || {}), i = i && i.constructor === Date ? this._formatDate(p, i) : i, this
            ._dialogInput.val(i), this._pos = r ? r.length ? r : [r.pageX, r.pageY] : null, this._pos || (l = document.documentElement.clientWidth, c = document.documentElement.clientHeight, u = document.documentElement.scrollLeft || document
              .body.scrollLeft, d = document.documentElement.scrollTop || document.body.scrollTop, this._pos = [l / 2 - 100 + u, c / 2 - 150 + d]), this._dialogInput.css("left", this._pos[0] + 20 + "px").css("top", this._pos[1] + "px"), p
            .settings.onSelect = s, this._inDialog = !0, this.dpDiv.addClass(this._dialogClass), this._showDatepicker(this._dialogInput[0]), t.blockUI && t.blockUI(this.dpDiv), t.data(this._dialogInput[0], a, p), this
        },
        _destroyDatepicker: function(e) {
          var i, s = t(e),
            n = t.data(e, a);
          s.hasClass(this.markerClassName) && (i = e.nodeName.toLowerCase(), t.removeData(e, a), "input" === i ? (n.append.remove(), n.trigger.remove(), s.removeClass(this.markerClassName).unbind("focus", this._showDatepicker).unbind("keydown",
            this._doKeyDown).unbind("keypress", this._doKeyPress).unbind("keyup", this._doKeyUp)) : ("div" === i || "span" === i) && s.removeClass(this.markerClassName).empty())
        },
        _enableDatepicker: function(e) {
          var i, s, n = t(e),
            o = t.data(e, a);
          n.hasClass(this.markerClassName) && (i = e.nodeName.toLowerCase(), "input" === i ? (e.disabled = !1, o.trigger.filter("button").each(function() {
              this.disabled = !1
            }).end().filter("img").css({
              opacity: "1.0",
              cursor: ""
            })) : ("div" === i || "span" === i) && (s = n.children("." + this._inlineClass), s.children().removeClass("ui-state-disabled"), s.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled", !1)), this
            ._disabledInputs = t.map(this._disabledInputs, function(t) {
              return t === e ? null : t
            }))
        },
        _disableDatepicker: function(e) {
          var i, s, n = t(e),
            o = t.data(e, a);
          n.hasClass(this.markerClassName) && (i = e.nodeName.toLowerCase(), "input" === i ? (e.disabled = !0, o.trigger.filter("button").each(function() {
              this.disabled = !0
            }).end().filter("img").css({
              opacity: "0.5",
              cursor: "default"
            })) : ("div" === i || "span" === i) && (s = n.children("." + this._inlineClass), s.children().addClass("ui-state-disabled"), s.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled", !0)), this
            ._disabledInputs = t.map(this._disabledInputs, function(t) {
              return t === e ? null : t
            }), this._disabledInputs[this._disabledInputs.length] = e)
        },
        _isDisabledDatepicker: function(t) {
          if (!t) return !1;
          for (var e = 0; this._disabledInputs.length > e; e++)
            if (this._disabledInputs[e] === t) return !0;
          return !1
        },
        _getInst: function(e) {
          try {
            return t.data(e, a)
          } catch (i) {
            throw "Missing instance data for this datepicker"
          }
        },
        _optionDatepicker: function(i, s, o) {
          var a, r, h, l, c = this._getInst(i);
          return 2 === arguments.length && "string" == typeof s ? "defaults" === s ? t.extend({}, t.datepicker._defaults) : c ? "all" === s ? t.extend({}, c.settings) : this._get(c, s) : null : (a = s || {}, "string" == typeof s && (a = {}, a[
            s] = o), c && (this._curInst === c && this._hideDatepicker(), r = this._getDateDatepicker(i, !0), h = this._getMinMaxDate(c, "min"), l = this._getMinMaxDate(c, "max"), n(c.settings, a), null !== h && a.dateFormat !== e && a
            .minDate === e && (c.settings.minDate = this._formatDate(c, h)), null !== l && a.dateFormat !== e && a.maxDate === e && (c.settings.maxDate = this._formatDate(c, l)), "disabled" in a && (a.disabled ? this._disableDatepicker(i) :
              this._enableDatepicker(i)), this._attachments(t(i), c), this._autoSize(c), this._setDate(c, r), this._updateAlternate(c), this._updateDatepicker(c)), e)
        },
        _changeDatepicker: function(t, e, i) {
          this._optionDatepicker(t, e, i)
        },
        _refreshDatepicker: function(t) {
          var e = this._getInst(t);
          e && this._updateDatepicker(e)
        },
        _setDateDatepicker: function(t, e) {
          var i = this._getInst(t);
          i && (this._setDate(i, e), this._updateDatepicker(i), this._updateAlternate(i))
        },
        _getDateDatepicker: function(t, e) {
          var i = this._getInst(t);
          return i && !i.inline && this._setDateFromField(i, e), i ? this._getDate(i) : null
        },
        _doKeyDown: function(e) {
          var i, s, n, o = t.datepicker._getInst(e.target),
            a = !0,
            r = o.dpDiv.is(".ui-datepicker-rtl");
          if (o._keyEvent = !0, t.datepicker._datepickerShowing) switch (e.keyCode) {
            case 9:
              t.datepicker._hideDatepicker(), a = !1;
              break;
            case 13:
              return n = t("td." + t.datepicker._dayOverClass + ":not(." + t.datepicker._currentClass + ")", o.dpDiv), n[0] && t.datepicker._selectDay(e.target, o.selectedMonth, o.selectedYear, n[0]), i = t.datepicker._get(o, "onSelect"), i ?
                (s = t.datepicker._formatDate(o), i.apply(o.input ? o.input[0] : null, [s, o])) : t.datepicker._hideDatepicker(), !1;
            case 27:
              t.datepicker._hideDatepicker();
              break;
            case 33:
              t.datepicker._adjustDate(e.target, e.ctrlKey ? -t.datepicker._get(o, "stepBigMonths") : -t.datepicker._get(o, "stepMonths"), "M");
              break;
            case 34:
              t.datepicker._adjustDate(e.target, e.ctrlKey ? +t.datepicker._get(o, "stepBigMonths") : +t.datepicker._get(o, "stepMonths"), "M");
              break;
            case 35:
              (e.ctrlKey || e.metaKey) && t.datepicker._clearDate(e.target), a = e.ctrlKey || e.metaKey;
              break;
            case 36:
              (e.ctrlKey || e.metaKey) && t.datepicker._gotoToday(e.target), a = e.ctrlKey || e.metaKey;
              break;
            case 37:
              (e.ctrlKey || e.metaKey) && t.datepicker._adjustDate(e.target, r ? 1 : -1, "D"), a = e.ctrlKey || e.metaKey, e.originalEvent.altKey && t.datepicker._adjustDate(e.target, e.ctrlKey ? -t.datepicker._get(o, "stepBigMonths") : -t
                .datepicker._get(o, "stepMonths"), "M");
              break;
            case 38:
              (e.ctrlKey || e.metaKey) && t.datepicker._adjustDate(e.target, -7, "D"), a = e.ctrlKey || e.metaKey;
              break;
            case 39:
              (e.ctrlKey || e.metaKey) && t.datepicker._adjustDate(e.target, r ? -1 : 1, "D"), a = e.ctrlKey || e.metaKey, e.originalEvent.altKey && t.datepicker._adjustDate(e.target, e.ctrlKey ? +t.datepicker._get(o, "stepBigMonths") : +t
                .datepicker._get(o, "stepMonths"), "M");
              break;
            case 40:
              (e.ctrlKey || e.metaKey) && t.datepicker._adjustDate(e.target, 7, "D"), a = e.ctrlKey || e.metaKey;
              break;
            default:
              a = !1
          } else 36 === e.keyCode && e.ctrlKey ? t.datepicker._showDatepicker(this) : a = !1;
          a && (e.preventDefault(), e.stopPropagation())
        },
        _doKeyPress: function(i) {
          var s, n, o = t.datepicker._getInst(i.target);
          return t.datepicker._get(o, "constrainInput") ? (s = t.datepicker._possibleChars(t.datepicker._get(o, "dateFormat")), n = String.fromCharCode(null == i.charCode ? i.keyCode : i.charCode), i.ctrlKey || i.metaKey || " " > n || !s || s
            .indexOf(n) > -1) : e
        },
        _doKeyUp: function(e) {
          var i, s = t.datepicker._getInst(e.target);
          if (s.input.val() !== s.lastVal) try {
            i = t.datepicker.parseDate(t.datepicker._get(s, "dateFormat"), s.input ? s.input.val() : null, t.datepicker._getFormatConfig(s)), i && (t.datepicker._setDateFromField(s), t.datepicker._updateAlternate(s), t.datepicker
              ._updateDatepicker(s))
          } catch (n) {}
          return !0
        },
        _showDatepicker: function(e) {
          if (e = e.target || e, "input" !== e.nodeName.toLowerCase() && (e = t("input", e.parentNode)[0]), !t.datepicker._isDisabledDatepicker(e) && t.datepicker._lastInput !== e) {
            var i, s, o, a, r, h, l;
            i = t.datepicker._getInst(e), t.datepicker._curInst && t.datepicker._curInst !== i && (t.datepicker._curInst.dpDiv.stop(!0, !0), i && t.datepicker._datepickerShowing && t.datepicker._hideDatepicker(t.datepicker._curInst.input[0])),
              s = t.datepicker._get(i, "beforeShow"), o = s ? s.apply(e, [e, i]) : {}, o !== !1 && (n(i.settings, o), i.lastVal = null, t.datepicker._lastInput = e, t.datepicker._setDateFromField(i), t.datepicker._inDialog && (e.value = ""), t
                .datepicker._pos || (t.datepicker._pos = t.datepicker._findPos(e), t.datepicker._pos[1] += e.offsetHeight), a = !1, t(e).parents().each(function() {
                  return a |= "fixed" === t(this).css("position"), !a
                }), r = {
                  left: t.datepicker._pos[0],
                  top: t.datepicker._pos[1]
                }, t.datepicker._pos = null, i.dpDiv.empty(), i.dpDiv.css({
                  position: "absolute",
                  display: "block",
                  top: "-1000px"
                }), t.datepicker._updateDatepicker(i), r = t.datepicker._checkOffset(i, r, a), i.dpDiv.css({
                  position: t.datepicker._inDialog && t.blockUI ? "static" : a ? "fixed" : "absolute",
                  display: "none",
                  left: r.left + "px",
                  top: r.top + "px"
                }), i.inline || (h = t.datepicker._get(i, "showAnim"), l = t.datepicker._get(i, "duration"), i.dpDiv.zIndex(t(e).zIndex() + 1), t.datepicker._datepickerShowing = !0, t.effects && t.effects.effect[h] ? i.dpDiv.show(h, t
                  .datepicker._get(i, "showOptions"), l) : i.dpDiv[h || "show"](h ? l : null), t.datepicker._shouldFocusInput(i) && i.input.focus(), t.datepicker._curInst = i))
          }
        },
        _updateDatepicker: function(e) {
          this.maxRows = 4, o = e, e.dpDiv.empty().append(this._generateHTML(e)), this._attachHandlers(e), e.dpDiv.find("." + this._dayOverClass + " a").mouseover();
          var i, s = this._getNumberOfMonths(e),
            n = s[1],
            a = 17;
          e.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""), n > 1 && e.dpDiv.addClass("ui-datepicker-multi-" + n).css("width", a * n + "em"), e.dpDiv[(1 !== s[0] || 1 !== s[1] ? "add" :
              "remove") + "Class"]("ui-datepicker-multi"), e.dpDiv[(this._get(e, "isRTL") ? "add" : "remove") + "Class"]("ui-datepicker-rtl"), e === t.datepicker._curInst && t.datepicker._datepickerShowing && t.datepicker._shouldFocusInput(
            e) && e.input.focus(), e.yearshtml && (i = e.yearshtml, setTimeout(function() {
              i === e.yearshtml && e.yearshtml && e.dpDiv.find("select.ui-datepicker-year:first").replaceWith(e.yearshtml), i = e.yearshtml = null
            }, 0))
        },
        _shouldFocusInput: function(t) {
          return t.input && t.input.is(":visible") && !t.input.is(":disabled") && !t.input.is(":focus")
        },
        _checkOffset: function(e, i, s) {
          var n = e.dpDiv.outerWidth(),
            o = e.dpDiv.outerHeight(),
            a = e.input ? e.input.outerWidth() : 0,
            r = e.input ? e.input.outerHeight() : 0,
            h = document.documentElement.clientWidth + (s ? 0 : t(document).scrollLeft()),
            l = document.documentElement.clientHeight + (s ? 0 : t(document).scrollTop());
          return i.left -= this._get(e, "isRTL") ? n - a : 0, i.left -= s && i.left === e.input.offset().left ? t(document).scrollLeft() : 0, i.top -= s && i.top === e.input.offset().top + r ? t(document).scrollTop() : 0, i.left -= Math.min(i
            .left, i.left + n > h && h > n ? Math.abs(i.left + n - h) : 0), i.top -= Math.min(i.top, i.top + o > l && l > o ? Math.abs(o + r) : 0), i
        },
        _findPos: function(e) {
          for (var i, s = this._getInst(e), n = this._get(s, "isRTL"); e && ("hidden" === e.type || 1 !== e.nodeType || t.expr.filters.hidden(e));) e = e[n ? "previousSibling" : "nextSibling"];
          return i = t(e).offset(), [i.left, i.top]
        },
        _hideDatepicker: function(e) {
          var i, s, n, o, r = this._curInst;
          !r || e && r !== t.data(e, a) || this._datepickerShowing && (i = this._get(r, "showAnim"), s = this._get(r, "duration"), n = function() {
              t.datepicker._tidyDialog(r)
            }, t.effects && (t.effects.effect[i] || t.effects[i]) ? r.dpDiv.hide(i, t.datepicker._get(r, "showOptions"), s, n) : r.dpDiv["slideDown" === i ? "slideUp" : "fadeIn" === i ? "fadeOut" : "hide"](i ? s : null, n), i || n(), this
            ._datepickerShowing = !1, o = this._get(r, "onClose"), o && o.apply(r.input ? r.input[0] : null, [r.input ? r.input.val() : "", r]), this._lastInput = null, this._inDialog && (this._dialogInput.css({
              position: "absolute",
              left: "0",
              top: "-100px"
            }), t.blockUI && (t.unblockUI(), t("body").append(this.dpDiv))), this._inDialog = !1)
        },
        _tidyDialog: function(t) {
          t.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar")
        },
        _checkExternalClick: function(e) {
          if (t.datepicker._curInst) {
            var i = t(e.target),
              s = t.datepicker._getInst(i[0]);
            (i[0].id !== t.datepicker._mainDivId && 0 === i.parents("#" + t.datepicker._mainDivId).length && !i.hasClass(t.datepicker.markerClassName) && !i.closest("." + t.datepicker._triggerClass).length && t.datepicker._datepickerShowing &&
              (!t.datepicker._inDialog || !t.blockUI) || i.hasClass(t.datepicker.markerClassName) && t.datepicker._curInst !== s) && t.datepicker._hideDatepicker()
          }
        },
        _adjustDate: function(e, i, s) {
          var n = t(e),
            o = this._getInst(n[0]);
          this._isDisabledDatepicker(n[0]) || (this._adjustInstDate(o, i + ("M" === s ? this._get(o, "showCurrentAtPos") : 0), s), this._updateDatepicker(o))
        },
        _gotoToday: function(e) {
          var i, s = t(e),
            n = this._getInst(s[0]);
          this._get(n, "gotoCurrent") && n.currentDay ? (n.selectedDay = n.currentDay, n.drawMonth = n.selectedMonth = n.currentMonth, n.drawYear = n.selectedYear = n.currentYear) : (i = new Date, n.selectedDay = i.getDate(), n.drawMonth = n
            .selectedMonth = i.getMonth(), n.drawYear = n.selectedYear = i.getFullYear()), this._notifyChange(n), this._adjustDate(s)
        },
        _selectMonthYear: function(e, i, s) {
          var n = t(e),
            o = this._getInst(n[0]);
          o["selected" + ("M" === s ? "Month" : "Year")] = o["draw" + ("M" === s ? "Month" : "Year")] = parseInt(i.options[i.selectedIndex].value, 10), this._notifyChange(o), this._adjustDate(n)
        },
        _selectDay: function(e, i, s, n) {
          var o, a = t(e);
          t(n).hasClass(this._unselectableClass) || this._isDisabledDatepicker(a[0]) || (o = this._getInst(a[0]), o.selectedDay = o.currentDay = t("a", n).html(), o.selectedMonth = o.currentMonth = i, o.selectedYear = o.currentYear = s, this
            ._selectDate(e, this._formatDate(o, o.currentDay, o.currentMonth, o.currentYear)))
        },
        _clearDate: function(e) {
          var i = t(e);
          this._selectDate(i, "")
        },
        _selectDate: function(e, i) {
          var s, n = t(e),
            o = this._getInst(n[0]);
          i = null != i ? i : this._formatDate(o), o.input && o.input.val(i), this._updateAlternate(o), s = this._get(o, "onSelect"), s ? s.apply(o.input ? o.input[0] : null, [i, o]) : o.input && o.input.trigger("change"), o.inline ? this
            ._updateDatepicker(o) : (this._hideDatepicker(), this._lastInput = o.input[0], "object" != typeof o.input[0] && o.input.focus(), this._lastInput = null)
        },
        _updateAlternate: function(e) {
          var i, s, n, o = this._get(e, "altField");
          o && (i = this._get(e, "altFormat") || this._get(e, "dateFormat"), s = this._getDate(e), n = this.formatDate(i, s, this._getFormatConfig(e)), t(o).each(function() {
            t(this).val(n)
          }))
        },
        noWeekends: function(t) {
          var e = t.getDay();
          return [e > 0 && 6 > e, ""]
        },
        iso8601Week: function(t) {
          var e, i = new Date(t.getTime());
          return i.setDate(i.getDate() + 4 - (i.getDay() || 7)), e = i.getTime(), i.setMonth(0), i.setDate(1), Math.floor(Math.round((e - i) / 864e5) / 7) + 1
        },
        parseDate: function(i, s, n) {
          if (null == i || null == s) throw "Invalid arguments";
          if (s = "object" == typeof s ? "" + s : s + "", "" === s) return null;
          var o, a, r, h, l = 0,
            c = (n ? n.shortYearCutoff : null) || this._defaults.shortYearCutoff,
            u = "string" != typeof c ? c : (new Date).getFullYear() % 100 + parseInt(c, 10),
            d = (n ? n.dayNamesShort : null) || this._defaults.dayNamesShort,
            p = (n ? n.dayNames : null) || this._defaults.dayNames,
            f = (n ? n.monthNamesShort : null) || this._defaults.monthNamesShort,
            g = (n ? n.monthNames : null) || this._defaults.monthNames,
            m = -1,
            v = -1,
            _ = -1,
            b = -1,
            y = !1,
            w = function(t) {
              var e = i.length > o + 1 && i.charAt(o + 1) === t;
              return e && o++, e
            },
            k = function(t) {
              var e = w(t),
                i = "@" === t ? 14 : "!" === t ? 20 : "y" === t && e ? 4 : "o" === t ? 3 : 2,
                n = RegExp("^\\d{1," + i + "}"),
                o = s.substring(l).match(n);
              if (!o) throw "Missing number at position " + l;
              return l += o[0].length, parseInt(o[0], 10)
            },
            x = function(i, n, o) {
              var a = -1,
                r = t.map(w(i) ? o : n, function(t, e) {
                  return [
                    [e, t]
                  ]
                }).sort(function(t, e) {
                  return -(t[1].length - e[1].length)
                });
              if (t.each(r, function(t, i) {
                  var n = i[1];
                  return s.substr(l, n.length).toLowerCase() === n.toLowerCase() ? (a = i[0], l += n.length, !1) : e
                }), -1 !== a) return a + 1;
              throw "Unknown name at position " + l
            },
            D = function() {
              if (s.charAt(l) !== i.charAt(o)) throw "Unexpected literal at position " + l;
              l++
            };
          for (o = 0; i.length > o; o++)
            if (y) "'" !== i.charAt(o) || w("'") ? D() : y = !1;
            else switch (i.charAt(o)) {
              case "d":
                _ = k("d");
                break;
              case "D":
                x("D", d, p);
                break;
              case "o":
                b = k("o");
                break;
              case "m":
                v = k("m");
                break;
              case "M":
                v = x("M", f, g);
                break;
              case "y":
                m = k("y");
                break;
              case "@":
                h = new Date(k("@")), m = h.getFullYear(), v = h.getMonth() + 1, _ = h.getDate();
                break;
              case "!":
                h = new Date((k("!") - this._ticksTo1970) / 1e4), m = h.getFullYear(), v = h.getMonth() + 1, _ = h.getDate();
                break;
              case "'":
                w("'") ? D() : y = !0;
                break;
              default:
                D()
            }
          if (s.length > l && (r = s.substr(l), !/^\s+/.test(r))) throw "Extra/unparsed characters found in date: " + r;
          if (-1 === m ? m = (new Date).getFullYear() : 100 > m && (m += (new Date).getFullYear() - (new Date).getFullYear() % 100 + (u >= m ? 0 : -100)), b > -1)
            for (v = 1, _ = b;;) {
              if (a = this._getDaysInMonth(m, v - 1), a >= _) break;
              v++, _ -= a
            }
          if (h = this._daylightSavingAdjust(new Date(m, v - 1, _)), h.getFullYear() !== m || h.getMonth() + 1 !== v || h.getDate() !== _) throw "Invalid date";
          return h
        },
        ATOM: "yy-mm-dd",
        COOKIE: "D, dd M yy",
        ISO_8601: "yy-mm-dd",
        RFC_822: "D, d M y",
        RFC_850: "DD, dd-M-y",
        RFC_1036: "D, d M y",
        RFC_1123: "D, d M yy",
        RFC_2822: "D, d M yy",
        RSS: "D, d M y",
        TICKS: "!",
        TIMESTAMP: "@",
        W3C: "yy-mm-dd",
        _ticksTo1970: 1e7 * 60 * 60 * 24 * (718685 + Math.floor(492.5) - Math.floor(19.7) + Math.floor(4.925)),
        formatDate: function(t, e, i) {
          if (!e) return "";
          var s, n = (i ? i.dayNamesShort : null) || this._defaults.dayNamesShort,
            o = (i ? i.dayNames : null) || this._defaults.dayNames,
            a = (i ? i.monthNamesShort : null) || this._defaults.monthNamesShort,
            r = (i ? i.monthNames : null) || this._defaults.monthNames,
            h = function(e) {
              var i = t.length > s + 1 && t.charAt(s + 1) === e;
              return i && s++, i
            },
            l = function(t, e, i) {
              var s = "" + e;
              if (h(t))
                for (; i > s.length;) s = "0" + s;
              return s
            },
            c = function(t, e, i, s) {
              return h(t) ? s[e] : i[e]
            },
            u = "",
            d = !1;
          if (e)
            for (s = 0; t.length > s; s++)
              if (d) "'" !== t.charAt(s) || h("'") ? u += t.charAt(s) : d = !1;
              else switch (t.charAt(s)) {
                case "d":
                  u += l("d", e.getDate(), 2);
                  break;
                case "D":
                  u += c("D", e.getDay(), n, o);
                  break;
                case "o":
                  u += l("o", Math.round((new Date(e.getFullYear(), e.getMonth(), e.getDate()).getTime() - new Date(e.getFullYear(), 0, 0).getTime()) / 864e5), 3);
                  break;
                case "m":
                  u += l("m", e.getMonth() + 1, 2);
                  break;
                case "M":
                  u += c("M", e.getMonth(), a, r);
                  break;
                case "y":
                  u += h("y") ? e.getFullYear() : (10 > e.getYear() % 100 ? "0" : "") + e.getYear() % 100;
                  break;
                case "@":
                  u += e.getTime();
                  break;
                case "!":
                  u += 1e4 * e.getTime() + this._ticksTo1970;
                  break;
                case "'":
                  h("'") ? u += "'" : d = !0;
                  break;
                default:
                  u += t.charAt(s)
              }
          return u
        },
        _possibleChars: function(t) {
          var e, i = "",
            s = !1,
            n = function(i) {
              var s = t.length > e + 1 && t.charAt(e + 1) === i;
              return s && e++, s
            };
          for (e = 0; t.length > e; e++)
            if (s) "'" !== t.charAt(e) || n("'") ? i += t.charAt(e) : s = !1;
            else switch (t.charAt(e)) {
              case "d":
              case "m":
              case "y":
              case "@":
                i += "0123456789";
                break;
              case "D":
              case "M":
                return null;
              case "'":
                n("'") ? i += "'" : s = !0;
                break;
              default:
                i += t.charAt(e)
            }
          return i
        },
        _get: function(t, i) {
          return t.settings[i] !== e ? t.settings[i] : this._defaults[i]
        },
        _setDateFromField: function(t, e) {
          if (t.input.val() !== t.lastVal) {
            var i = this._get(t, "dateFormat"),
              s = t.lastVal = t.input ? t.input.val() : null,
              n = this._getDefaultDate(t),
              o = n,
              a = this._getFormatConfig(t);
            try {
              o = this.parseDate(i, s, a) || n
            } catch (r) {
              s = e ? "" : s
            }
            t.selectedDay = o.getDate(), t.drawMonth = t.selectedMonth = o.getMonth(), t.drawYear = t.selectedYear = o.getFullYear(), t.currentDay = s ? o.getDate() : 0, t.currentMonth = s ? o.getMonth() : 0, t.currentYear = s ? o
            .getFullYear() : 0, this._adjustInstDate(t)
          }
        },
        _getDefaultDate: function(t) {
          return this._restrictMinMax(t, this._determineDate(t, this._get(t, "defaultDate"), new Date))
        },
        _determineDate: function(e, i, s) {
          var n = function(t) {
              var e = new Date;
              return e.setDate(e.getDate() + t), e
            },
            o = function(i) {
              try {
                return t.datepicker.parseDate(t.datepicker._get(e, "dateFormat"), i, t.datepicker._getFormatConfig(e))
              } catch (s) {}
              for (var n = (i.toLowerCase().match(/^c/) ? t.datepicker._getDate(e) : null) || new Date, o = n.getFullYear(), a = n.getMonth(), r = n.getDate(), h = /([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g, l = h.exec(i); l;) {
                switch (l[2] || "d") {
                  case "d":
                  case "D":
                    r += parseInt(l[1], 10);
                    break;
                  case "w":
                  case "W":
                    r += 7 * parseInt(l[1], 10);
                    break;
                  case "m":
                  case "M":
                    a += parseInt(l[1], 10), r = Math.min(r, t.datepicker._getDaysInMonth(o, a));
                    break;
                  case "y":
                  case "Y":
                    o += parseInt(l[1], 10), r = Math.min(r, t.datepicker._getDaysInMonth(o, a))
                }
                l = h.exec(i)
              }
              return new Date(o, a, r)
            },
            a = null == i || "" === i ? s : "string" == typeof i ? o(i) : "number" == typeof i ? isNaN(i) ? s : n(i) : new Date(i.getTime());
          return a = a && "Invalid Date" == "" + a ? s : a, a && (a.setHours(0), a.setMinutes(0), a.setSeconds(0), a.setMilliseconds(0)), this._daylightSavingAdjust(a)
        },
        _daylightSavingAdjust: function(t) {
          return t ? (t.setHours(t.getHours() > 12 ? t.getHours() + 2 : 0), t) : null
        },
        _setDate: function(t, e, i) {
          var s = !e,
            n = t.selectedMonth,
            o = t.selectedYear,
            a = this._restrictMinMax(t, this._determineDate(t, e, new Date));
          t.selectedDay = t.currentDay = a.getDate(), t.drawMonth = t.selectedMonth = t.currentMonth = a.getMonth(), t.drawYear = t.selectedYear = t.currentYear = a.getFullYear(), n === t.selectedMonth && o === t.selectedYear || i || this
            ._notifyChange(t), this._adjustInstDate(t), t.input && t.input.val(s ? "" : this._formatDate(t))
        },
        _getDate: function(t) {
          var e = !t.currentYear || t.input && "" === t.input.val() ? null : this._daylightSavingAdjust(new Date(t.currentYear, t.currentMonth, t.currentDay));
          return e
        },
        _attachHandlers: function(e) {
          var i = this._get(e, "stepMonths"),
            s = "#" + e.id.replace(/\\\\/g, "\\");
          e.dpDiv.find("[data-handler]").map(function() {
            var e = {
              prev: function() {
                t.datepicker._adjustDate(s, -i, "M")
              },
              next: function() {
                t.datepicker._adjustDate(s, +i, "M")
              },
              hide: function() {
                t.datepicker._hideDatepicker()
              },
              today: function() {
                t.datepicker._gotoToday(s)
              },
              selectDay: function() {
                return t.datepicker._selectDay(s, +this.getAttribute("data-month"), +this.getAttribute("data-year"), this), !1
              },
              selectMonth: function() {
                return t.datepicker._selectMonthYear(s, this, "M"), !1
              },
              selectYear: function() {
                return t.datepicker._selectMonthYear(s, this, "Y"), !1
              }
            };
            t(this).bind(this.getAttribute("data-event"), e[this.getAttribute("data-handler")])
          })
        },
        _generateHTML: function(t) {
          var e, i, s, n, o, a, r, h, l, c, u, d, p, f, g, m, v, _, b, y, w, k, x, D, C, I, P, T, M, S, z, A, H, E, N, W, O, F, R, L = new Date,
            j = this._daylightSavingAdjust(new Date(L.getFullYear(), L.getMonth(), L.getDate())),
            Y = this._get(t, "isRTL"),
            B = this._get(t, "showButtonPanel"),
            V = this._get(t, "hideIfNoPrevNext"),
            K = this._get(t, "navigationAsDateFormat"),
            U = this._getNumberOfMonths(t),
            q = this._get(t, "showCurrentAtPos"),
            Q = this._get(t, "stepMonths"),
            X = 1 !== U[0] || 1 !== U[1],
            $ = this._daylightSavingAdjust(t.currentDay ? new Date(t.currentYear, t.currentMonth, t.currentDay) : new Date(9999, 9, 9)),
            G = this._getMinMaxDate(t, "min"),
            J = this._getMinMaxDate(t, "max"),
            Z = t.drawMonth - q,
            te = t.drawYear;
          if (0 > Z && (Z += 12, te--), J)
            for (e = this._daylightSavingAdjust(new Date(J.getFullYear(), J.getMonth() - U[0] * U[1] + 1, J.getDate())), e = G && G > e ? G : e; this._daylightSavingAdjust(new Date(te, Z, 1)) > e;) Z--, 0 > Z && (Z = 11, te--);
          for (t.drawMonth = Z, t.drawYear = te, i = this._get(t, "prevText"), i = K ? this.formatDate(i, this._daylightSavingAdjust(new Date(te, Z - Q, 1)), this._getFormatConfig(t)) : i, s = this._canAdjustMonth(t, -1, te, Z) ?
            "<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click' title='" + i + "'><span class='ui-icon ui-icon-circle-triangle-" + (Y ? "e" : "w") + "'>" + i + "</span></a>" : V ? "" :
            "<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='" + i + "'><span class='ui-icon ui-icon-circle-triangle-" + (Y ? "e" : "w") + "'>" + i + "</span></a>", n = this._get(t, "nextText"), n = K ? this.formatDate(n,
              this._daylightSavingAdjust(new Date(te, Z + Q, 1)), this._getFormatConfig(t)) : n, o = this._canAdjustMonth(t, 1, te, Z) ? "<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click' title='" + n +
            "'><span class='ui-icon ui-icon-circle-triangle-" + (Y ? "w" : "e") + "'>" + n + "</span></a>" : V ? "" : "<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='" + n +
            "'><span class='ui-icon ui-icon-circle-triangle-" + (Y ? "w" : "e") + "'>" + n + "</span></a>", a = this._get(t, "currentText"), r = this._get(t, "gotoCurrent") && t.currentDay ? $ : j, a = K ? this.formatDate(a, r, this
              ._getFormatConfig(t)) : a, h = t.inline ? "" : "<button type='button' class='ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all' data-handler='hide' data-event='click'>" + this._get(t, "closeText") +
            "</button>", l = B ? "<div class='ui-datepicker-buttonpane ui-widget-content'>" + (Y ? h : "") + (this._isInRange(t, r) ?
              "<button type='button' class='ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all' data-handler='today' data-event='click'>" + a + "</button>" : "") + (Y ? "" : h) + "</div>" : "", c = parseInt(this._get(t,
              "firstDay"), 10), c = isNaN(c) ? 0 : c, u = this._get(t, "showWeek"), d = this._get(t, "dayNames"), p = this._get(t, "dayNamesMin"), f = this._get(t, "monthNames"), g = this._get(t, "monthNamesShort"), m = this._get(t,
              "beforeShowDay"), v = this._get(t, "showOtherMonths"), _ = this._get(t, "selectOtherMonths"), b = this._getDefaultDate(t), y = "", k = 0; U[0] > k; k++) {
            for (x = "", this.maxRows = 4, D = 0; U[1] > D; D++) {
              if (C = this._daylightSavingAdjust(new Date(te, Z, t.selectedDay)), I = " ui-corner-all", P = "", X) {
                if (P += "<div class='ui-datepicker-group", U[1] > 1) switch (D) {
                  case 0:
                    P += " ui-datepicker-group-first", I = " ui-corner-" + (Y ? "right" : "left");
                    break;
                  case U[1] - 1:
                    P += " ui-datepicker-group-last", I = " ui-corner-" + (Y ? "left" : "right");
                    break;
                  default:
                    P += " ui-datepicker-group-middle", I = ""
                }
                P += "'>"
              }
              for (P += "<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix" + I + "'>" + (/all|left/.test(I) && 0 === k ? Y ? o : s : "") + (/all|right/.test(I) && 0 === k ? Y ? s : o : "") + this._generateMonthYearHeader(t,
                  Z, te, G, J, k > 0 || D > 0, f, g) + "</div><table class='ui-datepicker-calendar'><thead>" + "<tr>", T = u ? "<th class='ui-datepicker-week-col'>" + this._get(t, "weekHeader") + "</th>" : "", w = 0; 7 > w; w++) M = (w + c) %
                7, T += "<th" + ((w + c + 6) % 7 >= 5 ? " class='ui-datepicker-week-end'" : "") + ">" + "<span title='" + d[M] + "'>" + p[M] + "</span></th>";
              for (P += T + "</tr></thead><tbody>", S = this._getDaysInMonth(te, Z), te === t.selectedYear && Z === t.selectedMonth && (t.selectedDay = Math.min(t.selectedDay, S)), z = (this._getFirstDayOfMonth(te, Z) - c + 7) % 7, A = Math
                .ceil((z + S) / 7), H = X ? this.maxRows > A ? this.maxRows : A : A, this.maxRows = H, E = this._daylightSavingAdjust(new Date(te, Z, 1 - z)), N = 0; H > N; N++) {
                for (P += "<tr>", W = u ? "<td class='ui-datepicker-week-col'>" + this._get(t, "calculateWeek")(E) + "</td>" : "", w = 0; 7 > w; w++) O = m ? m.apply(t.input ? t.input[0] : null, [E]) : [!0, ""], F = E.getMonth() !== Z, R = F &&
                  !_ || !O[0] || G && G > E || J && E > J, W += "<td class='" + ((w + c + 6) % 7 >= 5 ? " ui-datepicker-week-end" : "") + (F ? " ui-datepicker-other-month" : "") + (E.getTime() === C.getTime() && Z === t.selectedMonth && t
                    ._keyEvent || b.getTime() === E.getTime() && b.getTime() === C.getTime() ? " " + this._dayOverClass : "") + (R ? " " + this._unselectableClass + " ui-state-disabled" : "") + (F && !v ? "" : " " + O[1] + (E.getTime() === $
                    .getTime() ? " " + this._currentClass : "") + (E.getTime() === j.getTime() ? " ui-datepicker-today" : "")) + "'" + (F && !v || !O[2] ? "" : " title='" + O[2].replace(/'/g, "&#39;") + "'") + (R ? "" :
                    " data-handler='selectDay' data-event='click' data-month='" + E.getMonth() + "' data-year='" + E.getFullYear() + "'") + ">" + (F && !v ? "&#xa0;" : R ? "<span class='ui-state-default'>" + E.getDate() + "</span>" :
                    "<a class='ui-state-default" + (E.getTime() === j.getTime() ? " ui-state-highlight" : "") + (E.getTime() === $.getTime() ? " ui-state-active" : "") + (F ? " ui-priority-secondary" : "") + "' href='#'>" + E.getDate() + "</a>"
                    ) + "</td>", E.setDate(E.getDate() + 1), E = this._daylightSavingAdjust(E);
                P += W + "</tr>"
              }
              Z++, Z > 11 && (Z = 0, te++), P += "</tbody></table>" + (X ? "</div>" + (U[0] > 0 && D === U[1] - 1 ? "<div class='ui-datepicker-row-break'></div>" : "") : ""), x += P
            }
            y += x
          }
          return y += l, t._keyEvent = !1, y
        },
        _generateMonthYearHeader: function(t, e, i, s, n, o, a, r) {
          var h, l, c, u, d, p, f, g, m = this._get(t, "changeMonth"),
            v = this._get(t, "changeYear"),
            _ = this._get(t, "showMonthAfterYear"),
            b = "<div class='ui-datepicker-title'>",
            y = "";
          if (o || !m) y += "<span class='ui-datepicker-month'>" + a[e] + "</span>";
          else {
            for (h = s && s.getFullYear() === i, l = n && n.getFullYear() === i, y += "<select class='ui-datepicker-month' data-handler='selectMonth' data-event='change'>", c = 0; 12 > c; c++)(!h || c >= s.getMonth()) && (!l || n.getMonth() >=
              c) && (y += "<option value='" + c + "'" + (c === e ? " selected='selected'" : "") + ">" + r[c] + "</option>");
            y += "</select>"
          }
          if (_ || (b += y + (!o && m && v ? "" : "&#xa0;")), !t.yearshtml)
            if (t.yearshtml = "", o || !v) b += "<span class='ui-datepicker-year'>" + i + "</span>";
            else {
              for (u = this._get(t, "yearRange").split(":"), d = (new Date).getFullYear(), p = function(t) {
                  var e = t.match(/c[+\-].*/) ? i + parseInt(t.substring(1), 10) : t.match(/[+\-].*/) ? d + parseInt(t, 10) : parseInt(t, 10);
                  return isNaN(e) ? d : e
                }, f = p(u[0]), g = Math.max(f, p(u[1] || "")), f = s ? Math.max(f, s.getFullYear()) : f, g = n ? Math.min(g, n.getFullYear()) : g, t.yearshtml +=
                "<select class='ui-datepicker-year' data-handler='selectYear' data-event='change'>"; g >= f; f++) t.yearshtml += "<option value='" + f + "'" + (f === i ? " selected='selected'" : "") + ">" + f + "</option>";
              t.yearshtml += "</select>", b += t.yearshtml, t.yearshtml = null
            } return b += this._get(t, "yearSuffix"), _ && (b += (!o && m && v ? "" : "&#xa0;") + y), b += "</div>"
        },
        _adjustInstDate: function(t, e, i) {
          var s = t.drawYear + ("Y" === i ? e : 0),
            n = t.drawMonth + ("M" === i ? e : 0),
            o = Math.min(t.selectedDay, this._getDaysInMonth(s, n)) + ("D" === i ? e : 0),
            a = this._restrictMinMax(t, this._daylightSavingAdjust(new Date(s, n, o)));
          t.selectedDay = a.getDate(), t.drawMonth = t.selectedMonth = a.getMonth(), t.drawYear = t.selectedYear = a.getFullYear(), ("M" === i || "Y" === i) && this._notifyChange(t)
        },
        _restrictMinMax: function(t, e) {
          var i = this._getMinMaxDate(t, "min"),
            s = this._getMinMaxDate(t, "max"),
            n = i && i > e ? i : e;
          return s && n > s ? s : n
        },
        _notifyChange: function(t) {
          var e = this._get(t, "onChangeMonthYear");
          e && e.apply(t.input ? t.input[0] : null, [t.selectedYear, t.selectedMonth + 1, t])
        },
        _getNumberOfMonths: function(t) {
          var e = this._get(t, "numberOfMonths");
          return null == e ? [1, 1] : "number" == typeof e ? [1, e] : e
        },
        _getMinMaxDate: function(t, e) {
          return this._determineDate(t, this._get(t, e + "Date"), null)
        },
        _getDaysInMonth: function(t, e) {
          return 32 - this._daylightSavingAdjust(new Date(t, e, 32)).getDate()
        },
        _getFirstDayOfMonth: function(t, e) {
          return new Date(t, e, 1).getDay()
        },
        _canAdjustMonth: function(t, e, i, s) {
          var n = this._getNumberOfMonths(t),
            o = this._daylightSavingAdjust(new Date(i, s + (0 > e ? e : n[0] * n[1]), 1));
          return 0 > e && o.setDate(this._getDaysInMonth(o.getFullYear(), o.getMonth())), this._isInRange(t, o)
        },
        _isInRange: function(t, e) {
          var i, s, n = this._getMinMaxDate(t, "min"),
            o = this._getMinMaxDate(t, "max"),
            a = null,
            r = null,
            h = this._get(t, "yearRange");
          return h && (i = h.split(":"), s = (new Date).getFullYear(), a = parseInt(i[0], 10), r = parseInt(i[1], 10), i[0].match(/[+\-].*/) && (a += s), i[1].match(/[+\-].*/) && (r += s)), (!n || e.getTime() >= n.getTime()) && (!o || e
            .getTime() <= o.getTime()) && (!a || e.getFullYear() >= a) && (!r || r >= e.getFullYear())
        },
        _getFormatConfig: function(t) {
          var e = this._get(t, "shortYearCutoff");
          return e = "string" != typeof e ? e : (new Date).getFullYear() % 100 + parseInt(e, 10), {
            shortYearCutoff: e,
            dayNamesShort: this._get(t, "dayNamesShort"),
            dayNames: this._get(t, "dayNames"),
            monthNamesShort: this._get(t, "monthNamesShort"),
            monthNames: this._get(t, "monthNames")
          }
        },
        _formatDate: function(t, e, i, s) {
          e || (t.currentDay = t.selectedDay, t.currentMonth = t.selectedMonth, t.currentYear = t.selectedYear);
          var n = e ? "object" == typeof e ? e : this._daylightSavingAdjust(new Date(s, i, e)) : this._daylightSavingAdjust(new Date(t.currentYear, t.currentMonth, t.currentDay));
          return this.formatDate(this._get(t, "dateFormat"), n, this._getFormatConfig(t))
        }
      }), t.fn.datepicker = function(e) {
        if (!this.length) return this;
        t.datepicker.initialized || (t(document).mousedown(t.datepicker._checkExternalClick), t.datepicker.initialized = !0), 0 === t("#" + t.datepicker._mainDivId).length && t("body").append(t.datepicker.dpDiv);
        var i = Array.prototype.slice.call(arguments, 1);
        return "string" != typeof e || "isDisabled" !== e && "getDate" !== e && "widget" !== e ? "option" === e && 2 === arguments.length && "string" == typeof arguments[1] ? t.datepicker["_" + e + "Datepicker"].apply(t.datepicker, [this[0]]
          .concat(i)) : this.each(function() {
          "string" == typeof e ? t.datepicker["_" + e + "Datepicker"].apply(t.datepicker, [this].concat(i)) : t.datepicker._attachDatepicker(this, e)
        }) : t.datepicker["_" + e + "Datepicker"].apply(t.datepicker, [this[0]].concat(i))
      }, t.datepicker = new i, t.datepicker.initialized = !1, t.datepicker.uuid = (new Date).getTime(), t.datepicker.version = "1.10.3"
    }(jQuery),
    function(t) {
      var e = {
          buttons: !0,
          height: !0,
          maxHeight: !0,
          maxWidth: !0,
          minHeight: !0,
          minWidth: !0,
          width: !0
        },
        i = {
          maxHeight: !0,
          maxWidth: !0,
          minHeight: !0,
          minWidth: !0
        };
      t.widget("ui.dialog", {
        version: "1.10.3",
        options: {
          appendTo: "body",
          autoOpen: !0,
          buttons: [],
          closeOnEscape: !0,
          closeText: "close",
          dialogClass: "",
          draggable: !0,
          hide: null,
          height: "auto",
          maxHeight: null,
          maxWidth: null,
          minHeight: 150,
          minWidth: 150,
          modal: !1,
          position: {
            my: "center",
            at: "center",
            of: window,
            collision: "fit",
            using: function(e) {
              var i = t(this).css(e).offset().top;
              0 > i && t(this).css("top", e.top - i)
            }
          },
          resizable: !0,
          show: null,
          title: null,
          width: 300,
          beforeClose: null,
          close: null,
          drag: null,
          dragStart: null,
          dragStop: null,
          focus: null,
          open: null,
          resize: null,
          resizeStart: null,
          resizeStop: null
        },
        _create: function() {
          this.originalCss = {
              display: this.element[0].style.display,
              width: this.element[0].style.width,
              minHeight: this.element[0].style.minHeight,
              maxHeight: this.element[0].style.maxHeight,
              height: this.element[0].style.height
            }, this.originalPosition = {
              parent: this.element.parent(),
              index: this.element.parent().children().index(this.element)
            }, this.originalTitle = this.element.attr("title"), this.options.title = this.options.title || this.originalTitle, this._createWrapper(), this.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content")
            .appendTo(this.uiDialog), this._createTitlebar(), this._createButtonPane(), this.options.draggable && t.fn.draggable && this._makeDraggable(), this.options.resizable && t.fn.resizable && this._makeResizable(), this._isOpen = !1
        },
        _init: function() {
          this.options.autoOpen && this.open()
        },
        _appendTo: function() {
          var e = this.options.appendTo;
          return e && (e.jquery || e.nodeType) ? t(e) : this.document.find(e || "body").eq(0)
        },
        _destroy: function() {
          var t, e = this.originalPosition;
          this._destroyOverlay(), this.element.removeUniqueId().removeClass("ui-dialog-content ui-widget-content").css(this.originalCss).detach(), this.uiDialog.stop(!0, !0).remove(), this.originalTitle && this.element.attr("title", this
            .originalTitle), t = e.parent.children().eq(e.index), t.length && t[0] !== this.element[0] ? t.before(this.element) : e.parent.append(this.element)
        },
        widget: function() {
          return this.uiDialog
        },
        disable: t.noop,
        enable: t.noop,
        close: function(e) {
          var i = this;
          this._isOpen && this._trigger("beforeClose", e) !== !1 && (this._isOpen = !1, this._destroyOverlay(), this.opener.filter(":focusable").focus().length || t(this.document[0].activeElement).blur(), this._hide(this.uiDialog, this.options
            .hide,
            function() {
              i._trigger("close", e)
            }))
        },
        isOpen: function() {
          return this._isOpen
        },
        moveToTop: function() {
          this._moveToTop()
        },
        _moveToTop: function(t, e) {
          var i = !!this.uiDialog.nextAll(":visible").insertBefore(this.uiDialog).length;
          return i && !e && this._trigger("focus", t), i
        },
        open: function() {
          var e = this;
          return this._isOpen ? (this._moveToTop() && this._focusTabbable(), undefined) : (this._isOpen = !0, this.opener = t(this.document[0].activeElement), this._size(), this._position(), this._createOverlay(), this._moveToTop(null, !0),
            this._show(this.uiDialog, this.options.show, function() {
              e._focusTabbable(), e._trigger("focus")
            }), this._trigger("open"), undefined)
        },
        _focusTabbable: function() {
          var t = this.element.find("[autofocus]");
          t.length || (t = this.element.find(":tabbable")), t.length || (t = this.uiDialogButtonPane.find(":tabbable")), t.length || (t = this.uiDialogTitlebarClose.filter(":tabbable")), t.length || (t = this.uiDialog), t.eq(0).focus()
        },
        _keepFocus: function(e) {
          function i() {
            var e = this.document[0].activeElement,
              i = this.uiDialog[0] === e || t.contains(this.uiDialog[0], e);
            i || this._focusTabbable()
          }
          e.preventDefault(), i.call(this), this._delay(i)
        },
        _createWrapper: function() {
          this.uiDialog = t("<div>").addClass("ui-dialog ui-widget ui-widget-content ui-corner-all ui-front " + this.options.dialogClass).hide().attr({
            tabIndex: -1,
            role: "dialog"
          }).appendTo(this._appendTo()), this._on(this.uiDialog, {
            keydown: function(e) {
              if (this.options.closeOnEscape && !e.isDefaultPrevented() && e.keyCode && e.keyCode === t.ui.keyCode.ESCAPE) return e.preventDefault(), this.close(e), undefined;
              if (e.keyCode === t.ui.keyCode.TAB) {
                var i = this.uiDialog.find(":tabbable"),
                  s = i.filter(":first"),
                  n = i.filter(":last");
                e.target !== n[0] && e.target !== this.uiDialog[0] || e.shiftKey ? e.target !== s[0] && e.target !== this.uiDialog[0] || !e.shiftKey || (n.focus(1), e.preventDefault()) : (s.focus(1), e.preventDefault())
              }
            },
            mousedown: function(t) {
              this._moveToTop(t) && this._focusTabbable()
            }
          }), this.element.find("[aria-describedby]").length || this.uiDialog.attr({
            "aria-describedby": this.element.uniqueId().attr("id")
          })
        },
        _createTitlebar: function() {
          var e;
          this.uiDialogTitlebar = t("<div>").addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(this.uiDialog), this._on(this.uiDialogTitlebar, {
            mousedown: function(e) {
              t(e.target).closest(".ui-dialog-titlebar-close") || this.uiDialog.focus()
            }
          }), this.uiDialogTitlebarClose = t("<button></button>").button({
            label: this.options.closeText,
            icons: {
              primary: "ui-icon-closethick"
            },
            text: !1
          }).addClass("ui-dialog-titlebar-close").appendTo(this.uiDialogTitlebar), this._on(this.uiDialogTitlebarClose, {
            click: function(t) {
              t.preventDefault(), this.close(t)
            }
          }), e = t("<span>").uniqueId().addClass("ui-dialog-title").prependTo(this.uiDialogTitlebar), this._title(e), this.uiDialog.attr({
            "aria-labelledby": e.attr("id")
          })
        },
        _title: function(t) {
          this.options.title || t.html("&#160;"), t.text(this.options.title)
        },
        _createButtonPane: function() {
          this.uiDialogButtonPane = t("<div>").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"), this.uiButtonSet = t("<div>").addClass("ui-dialog-buttonset").appendTo(this.uiDialogButtonPane), this._createButtons()
        },
        _createButtons: function() {
          var e = this,
            i = this.options.buttons;
          return this.uiDialogButtonPane.remove(), this.uiButtonSet.empty(), t.isEmptyObject(i) || t.isArray(i) && !i.length ? (this.uiDialog.removeClass("ui-dialog-buttons"), undefined) : (t.each(i, function(i, s) {
            var n, o;
            s = t.isFunction(s) ? {
              click: s,
              text: i
            } : s, s = t.extend({
              type: "button"
            }, s), n = s.click, s.click = function() {
              n.apply(e.element[0], arguments)
            }, o = {
              icons: s.icons,
              text: s.showText
            }, delete s.icons, delete s.showText, t("<button></button>", s).button(o).appendTo(e.uiButtonSet)
          }), this.uiDialog.addClass("ui-dialog-buttons"), this.uiDialogButtonPane.appendTo(this.uiDialog), undefined)
        },
        _makeDraggable: function() {
          function e(t) {
            return {
              position: t.position,
              offset: t.offset
            }
          }
          var i = this,
            s = this.options;
          this.uiDialog.draggable({
            cancel: ".ui-dialog-content, .ui-dialog-titlebar-close",
            handle: ".ui-dialog-titlebar",
            containment: "document",
            start: function(s, n) {
              t(this).addClass("ui-dialog-dragging"), i._blockFrames(), i._trigger("dragStart", s, e(n))
            },
            drag: function(t, s) {
              i._trigger("drag", t, e(s))
            },
            stop: function(n, o) {
              s.position = [o.position.left - i.document.scrollLeft(), o.position.top - i.document.scrollTop()], t(this).removeClass("ui-dialog-dragging"), i._unblockFrames(), i._trigger("dragStop", n, e(o))
            }
          })
        },
        _makeResizable: function() {
          function e(t) {
            return {
              originalPosition: t.originalPosition,
              originalSize: t.originalSize,
              position: t.position,
              size: t.size
            }
          }
          var i = this,
            s = this.options,
            n = s.resizable,
            o = this.uiDialog.css("position"),
            a = "string" == typeof n ? n : "n,e,s,w,se,sw,ne,nw";
          this.uiDialog.resizable({
            cancel: ".ui-dialog-content",
            containment: "document",
            alsoResize: this.element,
            maxWidth: s.maxWidth,
            maxHeight: s.maxHeight,
            minWidth: s.minWidth,
            minHeight: this._minHeight(),
            handles: a,
            start: function(s, n) {
              t(this).addClass("ui-dialog-resizing"), i._blockFrames(), i._trigger("resizeStart", s, e(n))
            },
            resize: function(t, s) {
              i._trigger("resize", t, e(s))
            },
            stop: function(n, o) {
              s.height = t(this).height(), s.width = t(this).width(), t(this).removeClass("ui-dialog-resizing"), i._unblockFrames(), i._trigger("resizeStop", n, e(o))
            }
          }).css("position", o)
        },
        _minHeight: function() {
          var t = this.options;
          return "auto" === t.height ? t.minHeight : Math.min(t.minHeight, t.height)
        },
        _position: function() {
          var t = this.uiDialog.is(":visible");
          t || this.uiDialog.show(), this.uiDialog.position(this.options.position), t || this.uiDialog.hide()
        },
        _setOptions: function(s) {
          var n = this,
            o = !1,
            a = {};
          t.each(s, function(t, s) {
            n._setOption(t, s), t in e && (o = !0), t in i && (a[t] = s)
          }), o && (this._size(), this._position()), this.uiDialog.is(":data(ui-resizable)") && this.uiDialog.resizable("option", a)
        },
        _setOption: function(t, e) {
          var i, s, n = this.uiDialog;
          "dialogClass" === t && n.removeClass(this.options.dialogClass).addClass(e), "disabled" !== t && (this._super(t, e), "appendTo" === t && this.uiDialog.appendTo(this._appendTo()), "buttons" === t && this._createButtons(),
            "closeText" === t && this.uiDialogTitlebarClose.button({
              label: "" + e
            }), "draggable" === t && (i = n.is(":data(ui-draggable)"), i && !e && n.draggable("destroy"), !i && e && this._makeDraggable()), "position" === t && this._position(), "resizable" === t && (s = n.is(":data(ui-resizable)"), s && !
              e && n.resizable("destroy"), s && "string" == typeof e && n.resizable("option", "handles", e), s || e === !1 || this._makeResizable()), "title" === t && this._title(this.uiDialogTitlebar.find(".ui-dialog-title")))
        },
        _size: function() {
          var t, e, i, s = this.options;
          this.element.show().css({
            width: "auto",
            minHeight: 0,
            maxHeight: "none",
            height: 0
          }), s.minWidth > s.width && (s.width = s.minWidth), t = this.uiDialog.css({
            height: "auto",
            width: s.width
          }).outerHeight(), e = Math.max(0, s.minHeight - t), i = "number" == typeof s.maxHeight ? Math.max(0, s.maxHeight - t) : "none", "auto" === s.height ? this.element.css({
            minHeight: e,
            maxHeight: i,
            height: "auto"
          }) : this.element.height(Math.max(0, s.height - t)), this.uiDialog.is(":data(ui-resizable)") && this.uiDialog.resizable("option", "minHeight", this._minHeight())
        },
        _blockFrames: function() {
          this.iframeBlocks = this.document.find("iframe").map(function() {
            var e = t(this);
            return t("<div>").css({
              position: "absolute",
              width: e.outerWidth(),
              height: e.outerHeight()
            }).appendTo(e.parent()).offset(e.offset())[0]
          })
        },
        _unblockFrames: function() {
          this.iframeBlocks && (this.iframeBlocks.remove(), delete this.iframeBlocks)
        },
        _allowInteraction: function(e) {
          return t(e.target).closest(".ui-dialog").length ? !0 : !!t(e.target).closest(".ui-datepicker").length
        },
        _createOverlay: function() {
          if (this.options.modal) {
            var e = this,
              i = this.widgetFullName;
            t.ui.dialog.overlayInstances || this._delay(function() {
              t.ui.dialog.overlayInstances && this.document.bind("focusin.dialog", function(s) {
                e._allowInteraction(s) || (s.preventDefault(), t(".ui-dialog:visible:last .ui-dialog-content").data(i)._focusTabbable())
              })
            }), this.overlay = t("<div>").addClass("ui-widget-overlay ui-front").appendTo(this._appendTo()), this._on(this.overlay, {
              mousedown: "_keepFocus"
            }), t.ui.dialog.overlayInstances++
          }
        },
        _destroyOverlay: function() {
          this.options.modal && this.overlay && (t.ui.dialog.overlayInstances--, t.ui.dialog.overlayInstances || this.document.unbind("focusin.dialog"), this.overlay.remove(), this.overlay = null)
        }
      }), t.ui.dialog.overlayInstances = 0, t.uiBackCompat !== !1 && t.widget("ui.dialog", t.ui.dialog, {
        _position: function() {
          var e, i = this.options.position,
            s = [],
            n = [0, 0];
          i ? (("string" == typeof i || "object" == typeof i && "0" in i) && (s = i.split ? i.split(" ") : [i[0], i[1]], 1 === s.length && (s[1] = s[0]), t.each(["left", "top"], function(t, e) {
            +s[t] === s[t] && (n[t] = s[t], s[t] = e)
          }), i = {
            my: s[0] + (0 > n[0] ? n[0] : "+" + n[0]) + " " + s[1] + (0 > n[1] ? n[1] : "+" + n[1]),
            at: s.join(" ")
          }), i = t.extend({}, t.ui.dialog.prototype.options.position, i)) : i = t.ui.dialog.prototype.options.position, e = this.uiDialog.is(":visible"), e || this.uiDialog.show(), this.uiDialog.position(i), e || this.uiDialog.hide()
        }
      })
    }(jQuery),
    function(t) {
      var e = /up|down|vertical/,
        i = /up|left|vertical|horizontal/;
      t.effects.effect.blind = function(s, n) {
        var o, a, r, h = t(this),
          l = ["position", "top", "bottom", "left", "right", "height", "width"],
          c = t.effects.setMode(h, s.mode || "hide"),
          u = s.direction || "up",
          d = e.test(u),
          p = d ? "height" : "width",
          f = d ? "top" : "left",
          g = i.test(u),
          m = {},
          v = "show" === c;
        h.parent().is(".ui-effects-wrapper") ? t.effects.save(h.parent(), l) : t.effects.save(h, l), h.show(), o = t.effects.createWrapper(h).css({
          overflow: "hidden"
        }), a = o[p](), r = parseFloat(o.css(f)) || 0, m[p] = v ? a : 0, g || (h.css(d ? "bottom" : "right", 0).css(d ? "top" : "left", "auto").css({
          position: "absolute"
        }), m[f] = v ? r : a + r), v && (o.css(p, 0), g || o.css(f, r + a)), o.animate(m, {
          duration: s.duration,
          easing: s.easing,
          queue: !1,
          complete: function() {
            "hide" === c && h.hide(), t.effects.restore(h, l), t.effects.removeWrapper(h), n()
          }
        })
      }
    }(jQuery),
    function(t) {
      t.effects.effect.bounce = function(e, i) {
        var s, n, o, a = t(this),
          r = ["position", "top", "bottom", "left", "right", "height", "width"],
          h = t.effects.setMode(a, e.mode || "effect"),
          l = "hide" === h,
          c = "show" === h,
          u = e.direction || "up",
          d = e.distance,
          p = e.times || 5,
          f = 2 * p + (c || l ? 1 : 0),
          g = e.duration / f,
          m = e.easing,
          v = "up" === u || "down" === u ? "top" : "left",
          _ = "up" === u || "left" === u,
          b = a.queue(),
          y = b.length;
        for ((c || l) && r.push("opacity"), t.effects.save(a, r), a.show(), t.effects.createWrapper(a), d || (d = a["top" === v ? "outerHeight" : "outerWidth"]() / 3), c && (o = {
            opacity: 1
          }, o[v] = 0, a.css("opacity", 0).css(v, _ ? 2 * -d : 2 * d).animate(o, g, m)), l && (d /= Math.pow(2, p - 1)), o = {}, o[v] = 0, s = 0; p > s; s++) n = {}, n[v] = (_ ? "-=" : "+=") + d, a.animate(n, g, m).animate(o, g, m), d = l ? 2 * d :
          d / 2;
        l && (n = {
          opacity: 0
        }, n[v] = (_ ? "-=" : "+=") + d, a.animate(n, g, m)), a.queue(function() {
          l && a.hide(), t.effects.restore(a, r), t.effects.removeWrapper(a), i()
        }), y > 1 && b.splice.apply(b, [1, 0].concat(b.splice(y, f + 1))), a.dequeue()
      }
    }(jQuery),
    function(t) {
      t.effects.effect.clip = function(e, i) {
        var s, n, o, a = t(this),
          r = ["position", "top", "bottom", "left", "right", "height", "width"],
          h = t.effects.setMode(a, e.mode || "hide"),
          l = "show" === h,
          c = e.direction || "vertical",
          u = "vertical" === c,
          d = u ? "height" : "width",
          p = u ? "top" : "left",
          f = {};
        t.effects.save(a, r), a.show(), s = t.effects.createWrapper(a).css({
          overflow: "hidden"
        }), n = "IMG" === a[0].tagName ? s : a, o = n[d](), l && (n.css(d, 0), n.css(p, o / 2)), f[d] = l ? o : 0, f[p] = l ? 0 : o / 2, n.animate(f, {
          queue: !1,
          duration: e.duration,
          easing: e.easing,
          complete: function() {
            l || a.hide(), t.effects.restore(a, r), t.effects.removeWrapper(a), i()
          }
        })
      }
    }(jQuery),
    function(t) {
      t.effects.effect.drop = function(e, i) {
        var s, n = t(this),
          o = ["position", "top", "bottom", "left", "right", "opacity", "height", "width"],
          a = t.effects.setMode(n, e.mode || "hide"),
          r = "show" === a,
          h = e.direction || "left",
          l = "up" === h || "down" === h ? "top" : "left",
          c = "up" === h || "left" === h ? "pos" : "neg",
          u = {
            opacity: r ? 1 : 0
          };
        t.effects.save(n, o), n.show(), t.effects.createWrapper(n), s = e.distance || n["top" === l ? "outerHeight" : "outerWidth"](!0) / 2, r && n.css("opacity", 0).css(l, "pos" === c ? -s : s), u[l] = (r ? "pos" === c ? "+=" : "-=" : "pos" ===
          c ? "-=" : "+=") + s, n.animate(u, {
          queue: !1,
          duration: e.duration,
          easing: e.easing,
          complete: function() {
            "hide" === a && n.hide(), t.effects.restore(n, o), t.effects.removeWrapper(n), i()
          }
        })
      }
    }(jQuery),
    function(t) {
      t.effects.effect.explode = function(e, i) {
        function s() {
          b.push(this), b.length === u * d && n()
        }

        function n() {
          p.css({
            visibility: "visible"
          }), t(b).remove(), g || p.hide(), i()
        }
        var o, a, r, h, l, c, u = e.pieces ? Math.round(Math.sqrt(e.pieces)) : 3,
          d = u,
          p = t(this),
          f = t.effects.setMode(p, e.mode || "hide"),
          g = "show" === f,
          m = p.show().css("visibility", "hidden").offset(),
          v = Math.ceil(p.outerWidth() / d),
          _ = Math.ceil(p.outerHeight() / u),
          b = [];
        for (o = 0; u > o; o++)
          for (h = m.top + o * _, c = o - (u - 1) / 2, a = 0; d > a; a++) r = m.left + a * v, l = a - (d - 1) / 2, p.clone().appendTo("body").wrap("<div></div>").css({
            position: "absolute",
            visibility: "visible",
            left: -a * v,
            top: -o * _
          }).parent().addClass("ui-effects-explode").css({
            position: "absolute",
            overflow: "hidden",
            width: v,
            height: _,
            left: r + (g ? l * v : 0),
            top: h + (g ? c * _ : 0),
            opacity: g ? 0 : 1
          }).animate({
            left: r + (g ? 0 : l * v),
            top: h + (g ? 0 : c * _),
            opacity: g ? 1 : 0
          }, e.duration || 500, e.easing, s)
      }
    }(jQuery),
    function(t) {
      t.effects.effect.fade = function(e, i) {
        var s = t(this),
          n = t.effects.setMode(s, e.mode || "toggle");
        s.animate({
          opacity: n
        }, {
          queue: !1,
          duration: e.duration,
          easing: e.easing,
          complete: i
        })
      }
    }(jQuery),
    function(t) {
      t.effects.effect.fold = function(e, i) {
        var s, n, o = t(this),
          a = ["position", "top", "bottom", "left", "right", "height", "width"],
          r = t.effects.setMode(o, e.mode || "hide"),
          h = "show" === r,
          l = "hide" === r,
          c = e.size || 15,
          u = /([0-9]+)%/.exec(c),
          d = !!e.horizFirst,
          p = h !== d,
          f = p ? ["width", "height"] : ["height", "width"],
          g = e.duration / 2,
          m = {},
          v = {};
        t.effects.save(o, a), o.show(), s = t.effects.createWrapper(o).css({
          overflow: "hidden"
        }), n = p ? [s.width(), s.height()] : [s.height(), s.width()], u && (c = parseInt(u[1], 10) / 100 * n[l ? 0 : 1]), h && s.css(d ? {
          height: 0,
          width: c
        } : {
          height: c,
          width: 0
        }), m[f[0]] = h ? n[0] : c, v[f[1]] = h ? n[1] : 0, s.animate(m, g, e.easing).animate(v, g, e.easing, function() {
          l && o.hide(), t.effects.restore(o, a), t.effects.removeWrapper(o), i()
        })
      }
    }(jQuery),
    function(t) {
      t.effects.effect.highlight = function(e, i) {
        var s = t(this),
          n = ["backgroundImage", "backgroundColor", "opacity"],
          o = t.effects.setMode(s, e.mode || "show"),
          a = {
            backgroundColor: s.css("backgroundColor")
          };
        "hide" === o && (a.opacity = 0), t.effects.save(s, n), s.show().css({
          backgroundImage: "none",
          backgroundColor: e.color || "#ffff99"
        }).animate(a, {
          queue: !1,
          duration: e.duration,
          easing: e.easing,
          complete: function() {
            "hide" === o && s.hide(), t.effects.restore(s, n), i()
          }
        })
      }
    }(jQuery),
    function(t) {
      t.effects.effect.pulsate = function(e, i) {
        var s, n = t(this),
          o = t.effects.setMode(n, e.mode || "show"),
          a = "show" === o,
          r = "hide" === o,
          h = a || "hide" === o,
          l = 2 * (e.times || 5) + (h ? 1 : 0),
          c = e.duration / l,
          u = 0,
          d = n.queue(),
          p = d.length;
        for ((a || !n.is(":visible")) && (n.css("opacity", 0).show(), u = 1), s = 1; l > s; s++) n.animate({
          opacity: u
        }, c, e.easing), u = 1 - u;
        n.animate({
          opacity: u
        }, c, e.easing), n.queue(function() {
          r && n.hide(), i()
        }), p > 1 && d.splice.apply(d, [1, 0].concat(d.splice(p, l + 1))), n.dequeue()
      }
    }(jQuery),
    function(t) {
      t.effects.effect.puff = function(e, i) {
        var s = t(this),
          n = t.effects.setMode(s, e.mode || "hide"),
          o = "hide" === n,
          a = parseInt(e.percent, 10) || 150,
          r = a / 100,
          h = {
            height: s.height(),
            width: s.width(),
            outerHeight: s.outerHeight(),
            outerWidth: s.outerWidth()
          };
        t.extend(e, {
          effect: "scale",
          queue: !1,
          fade: !0,
          mode: n,
          complete: i,
          percent: o ? a : 100,
          from: o ? h : {
            height: h.height * r,
            width: h.width * r,
            outerHeight: h.outerHeight * r,
            outerWidth: h.outerWidth * r
          }
        }), s.effect(e)
      }, t.effects.effect.scale = function(e, i) {
        var s = t(this),
          n = t.extend(!0, {}, e),
          o = t.effects.setMode(s, e.mode || "effect"),
          a = parseInt(e.percent, 10) || (0 === parseInt(e.percent, 10) ? 0 : "hide" === o ? 0 : 100),
          r = e.direction || "both",
          h = e.origin,
          l = {
            height: s.height(),
            width: s.width(),
            outerHeight: s.outerHeight(),
            outerWidth: s.outerWidth()
          },
          c = {
            y: "horizontal" !== r ? a / 100 : 1,
            x: "vertical" !== r ? a / 100 : 1
          };
        n.effect = "size", n.queue = !1, n.complete = i, "effect" !== o && (n.origin = h || ["middle", "center"], n.restore = !0), n.from = e.from || ("show" === o ? {
          height: 0,
          width: 0,
          outerHeight: 0,
          outerWidth: 0
        } : l), n.to = {
          height: l.height * c.y,
          width: l.width * c.x,
          outerHeight: l.outerHeight * c.y,
          outerWidth: l.outerWidth * c.x
        }, n.fade && ("show" === o && (n.from.opacity = 0, n.to.opacity = 1), "hide" === o && (n.from.opacity = 1, n.to.opacity = 0)), s.effect(n)
      }, t.effects.effect.size = function(e, i) {
        var s, n, o, a = t(this),
          r = ["position", "top", "bottom", "left", "right", "width", "height", "overflow", "opacity"],
          h = ["position", "top", "bottom", "left", "right", "overflow", "opacity"],
          l = ["width", "height", "overflow"],
          c = ["fontSize"],
          u = ["borderTopWidth", "borderBottomWidth", "paddingTop", "paddingBottom"],
          d = ["borderLeftWidth", "borderRightWidth", "paddingLeft", "paddingRight"],
          p = t.effects.setMode(a, e.mode || "effect"),
          f = e.restore || "effect" !== p,
          g = e.scale || "both",
          m = e.origin || ["middle", "center"],
          v = a.css("position"),
          _ = f ? r : h,
          b = {
            height: 0,
            width: 0,
            outerHeight: 0,
            outerWidth: 0
          };
        "show" === p && a.show(), s = {
          height: a.height(),
          width: a.width(),
          outerHeight: a.outerHeight(),
          outerWidth: a.outerWidth()
        }, "toggle" === e.mode && "show" === p ? (a.from = e.to || b, a.to = e.from || s) : (a.from = e.from || ("show" === p ? b : s), a.to = e.to || ("hide" === p ? b : s)), o = {
          from: {
            y: a.from.height / s.height,
            x: a.from.width / s.width
          },
          to: {
            y: a.to.height / s.height,
            x: a.to.width / s.width
          }
        }, ("box" === g || "both" === g) && (o.from.y !== o.to.y && (_ = _.concat(u), a.from = t.effects.setTransition(a, u, o.from.y, a.from), a.to = t.effects.setTransition(a, u, o.to.y, a.to)), o.from.x !== o.to.x && (_ = _.concat(d), a.from =
          t.effects.setTransition(a, d, o.from.x, a.from), a.to = t.effects.setTransition(a, d, o.to.x, a.to))), ("content" === g || "both" === g) && o.from.y !== o.to.y && (_ = _.concat(c).concat(l), a.from = t.effects.setTransition(a, c, o.from
          .y, a.from), a.to = t.effects.setTransition(a, c, o.to.y, a.to)), t.effects.save(a, _), a.show(), t.effects.createWrapper(a), a.css("overflow", "hidden").css(a.from), m && (n = t.effects.getBaseline(m, s), a.from.top = (s.outerHeight -
          a.outerHeight()) * n.y, a.from.left = (s.outerWidth - a.outerWidth()) * n.x, a.to.top = (s.outerHeight - a.to.outerHeight) * n.y, a.to.left = (s.outerWidth - a.to.outerWidth) * n.x), a.css(a.from), ("content" === g || "both" === g) && (
          u = u.concat(["marginTop", "marginBottom"]).concat(c), d = d.concat(["marginLeft", "marginRight"]), l = r.concat(u).concat(d), a.find("*[width]").each(function() {
            var i = t(this),
              s = {
                height: i.height(),
                width: i.width(),
                outerHeight: i.outerHeight(),
                outerWidth: i.outerWidth()
              };
            f && t.effects.save(i, l), i.from = {
              height: s.height * o.from.y,
              width: s.width * o.from.x,
              outerHeight: s.outerHeight * o.from.y,
              outerWidth: s.outerWidth * o.from.x
            }, i.to = {
              height: s.height * o.to.y,
              width: s.width * o.to.x,
              outerHeight: s.height * o.to.y,
              outerWidth: s.width * o.to.x
            }, o.from.y !== o.to.y && (i.from = t.effects.setTransition(i, u, o.from.y, i.from), i.to = t.effects.setTransition(i, u, o.to.y, i.to)), o.from.x !== o.to.x && (i.from = t.effects.setTransition(i, d, o.from.x, i.from), i.to = t
              .effects.setTransition(i, d, o.to.x, i.to)), i.css(i.from), i.animate(i.to, e.duration, e.easing, function() {
              f && t.effects.restore(i, l)
            })
          })), a.animate(a.to, {
          queue: !1,
          duration: e.duration,
          easing: e.easing,
          complete: function() {
            0 === a.to.opacity && a.css("opacity", a.from.opacity), "hide" === p && a.hide(), t.effects.restore(a, _), f || ("static" === v ? a.css({
              position: "relative",
              top: a.to.top,
              left: a.to.left
            }) : t.each(["top", "left"], function(t, e) {
              a.css(e, function(e, i) {
                var s = parseInt(i, 10),
                  n = t ? a.to.left : a.to.top;
                return "auto" === i ? n + "px" : s + n + "px"
              })
            })), t.effects.removeWrapper(a), i()
          }
        })
      }
    }(jQuery),
    function(t) {
      t.effects.effect.shake = function(e, i) {
        var s, n = t(this),
          o = ["position", "top", "bottom", "left", "right", "height", "width"],
          a = t.effects.setMode(n, e.mode || "effect"),
          r = e.direction || "left",
          h = e.distance || 20,
          l = e.times || 3,
          c = 2 * l + 1,
          u = Math.round(e.duration / c),
          d = "up" === r || "down" === r ? "top" : "left",
          p = "up" === r || "left" === r,
          f = {},
          g = {},
          m = {},
          v = n.queue(),
          _ = v.length;
        for (t.effects.save(n, o), n.show(), t.effects.createWrapper(n), f[d] = (p ? "-=" : "+=") + h, g[d] = (p ? "+=" : "-=") + 2 * h, m[d] = (p ? "-=" : "+=") + 2 * h, n.animate(f, u, e.easing), s = 1; l > s; s++) n.animate(g, u, e.easing)
          .animate(m, u, e.easing);
        n.animate(g, u, e.easing).animate(f, u / 2, e.easing).queue(function() {
          "hide" === a && n.hide(), t.effects.restore(n, o), t.effects.removeWrapper(n), i()
        }), _ > 1 && v.splice.apply(v, [1, 0].concat(v.splice(_, c + 1))), n.dequeue()
      }
    }(jQuery),
    function(t) {
      t.effects.effect.slide = function(e, i) {
        var s, n = t(this),
          o = ["position", "top", "bottom", "left", "right", "width", "height"],
          a = t.effects.setMode(n, e.mode || "show"),
          r = "show" === a,
          h = e.direction || "left",
          l = "up" === h || "down" === h ? "top" : "left",
          c = "up" === h || "left" === h,
          u = {};
        t.effects.save(n, o), n.show(), s = e.distance || n["top" === l ? "outerHeight" : "outerWidth"](!0), t.effects.createWrapper(n).css({
          overflow: "hidden"
        }), r && n.css(l, c ? isNaN(s) ? "-" + s : -s : s), u[l] = (r ? c ? "+=" : "-=" : c ? "-=" : "+=") + s, n.animate(u, {
          queue: !1,
          duration: e.duration,
          easing: e.easing,
          complete: function() {
            "hide" === a && n.hide(), t.effects.restore(n, o), t.effects.removeWrapper(n), i()
          }
        })
      }
    }(jQuery),
    function(t) {
      t.effects.effect.transfer = function(e, i) {
        var s = t(this),
          n = t(e.to),
          o = "fixed" === n.css("position"),
          a = t("body"),
          r = o ? a.scrollTop() : 0,
          h = o ? a.scrollLeft() : 0,
          l = n.offset(),
          c = {
            top: l.top - r,
            left: l.left - h,
            height: n.innerHeight(),
            width: n.innerWidth()
          },
          u = s.offset(),
          d = t("<div class='ui-effects-transfer'></div>").appendTo(document.body).addClass(e.className).css({
            top: u.top - r,
            left: u.left - h,
            height: s.innerHeight(),
            width: s.innerWidth(),
            position: o ? "fixed" : "absolute"
          }).animate(c, e.duration, e.easing, function() {
            d.remove(), i()
          })
      }
    }(jQuery),
    function(t) {
      t.widget("ui.menu", {
        version: "1.10.3",
        defaultElement: "<ul>",
        delay: 300,
        options: {
          icons: {
            submenu: "ui-icon-carat-1-e"
          },
          menus: "ul",
          position: {
            my: "left top",
            at: "right top"
          },
          role: "menu",
          blur: null,
          focus: null,
          select: null
        },
        _create: function() {
          this.activeMenu = this.element, this.mouseHandled = !1, this.element.uniqueId().addClass("ui-menu ui-widget ui-widget-content ui-corner-all").toggleClass("ui-menu-icons", !!this.element.find(".ui-icon").length).attr({
            role: this.options.role,
            tabIndex: 0
          }).bind("click" + this.eventNamespace, t.proxy(function(t) {
            this.options.disabled && t.preventDefault()
          }, this)), this.options.disabled && this.element.addClass("ui-state-disabled").attr("aria-disabled", "true"), this._on({
            "mousedown .ui-menu-item > a": function(t) {
              t.preventDefault()
            },
            "click .ui-state-disabled > a": function(t) {
              t.preventDefault()
            },
            "click .ui-menu-item:has(a)": function(e) {
              var i = t(e.target).closest(".ui-menu-item");
              !this.mouseHandled && i.not(".ui-state-disabled").length && (this.mouseHandled = !0, this.select(e), i.has(".ui-menu").length ? this.expand(e) : this.element.is(":focus") || (this.element.trigger("focus", [!0]), this
                .active && 1 === this.active.parents(".ui-menu").length && clearTimeout(this.timer)))
            },
            "mouseenter .ui-menu-item": function(e) {
              var i = t(e.currentTarget);
              i.siblings().children(".ui-state-active").removeClass("ui-state-active"), this.focus(e, i)
            },
            mouseleave: "collapseAll",
            "mouseleave .ui-menu": "collapseAll",
            focus: function(t, e) {
              var i = this.active || this.element.children(".ui-menu-item").eq(0);
              e || this.focus(t, i)
            },
            blur: function(e) {
              this._delay(function() {
                t.contains(this.element[0], this.document[0].activeElement) || this.collapseAll(e)
              })
            },
            keydown: "_keydown"
          }), this.refresh(), this._on(this.document, {
            click: function(e) {
              t(e.target).closest(".ui-menu").length || this.collapseAll(e), this.mouseHandled = !1
            }
          })
        },
        _destroy: function() {
          this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeClass("ui-menu ui-widget ui-widget-content ui-corner-all ui-menu-icons").removeAttr("role").removeAttr("tabIndex").removeAttr("aria-labelledby")
            .removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-disabled").removeUniqueId().show(), this.element.find(".ui-menu-item").removeClass("ui-menu-item").removeAttr("role").removeAttr("aria-disabled").children("a")
            .removeUniqueId().removeClass("ui-corner-all ui-state-hover").removeAttr("tabIndex").removeAttr("role").removeAttr("aria-haspopup").children().each(function() {
              var e = t(this);
              e.data("ui-menu-submenu-carat") && e.remove()
            }), this.element.find(".ui-menu-divider").removeClass("ui-menu-divider ui-widget-content")
        },
        _keydown: function(e) {
          function i(t) {
            return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&")
          }
          var s, n, o, a, r, h = !0;
          switch (e.keyCode) {
            case t.ui.keyCode.PAGE_UP:
              this.previousPage(e);
              break;
            case t.ui.keyCode.PAGE_DOWN:
              this.nextPage(e);
              break;
            case t.ui.keyCode.HOME:
              this._move("first", "first", e);
              break;
            case t.ui.keyCode.END:
              this._move("last", "last", e);
              break;
            case t.ui.keyCode.UP:
              this.previous(e);
              break;
            case t.ui.keyCode.DOWN:
              this.next(e);
              break;
            case t.ui.keyCode.LEFT:
              this.collapse(e);
              break;
            case t.ui.keyCode.RIGHT:
              this.active && !this.active.is(".ui-state-disabled") && this.expand(e);
              break;
            case t.ui.keyCode.ENTER:
            case t.ui.keyCode.SPACE:
              this._activate(e);
              break;
            case t.ui.keyCode.ESCAPE:
              this.collapse(e);
              break;
            default:
              h = !1, n = this.previousFilter || "", o = String.fromCharCode(e.keyCode), a = !1, clearTimeout(this.filterTimer), o === n ? a = !0 : o = n + o, r = RegExp("^" + i(o), "i"), s = this.activeMenu.children(".ui-menu-item").filter(
                function() {
                  return r.test(t(this).children("a").text())
                }), s = a && -1 !== s.index(this.active.next()) ? this.active.nextAll(".ui-menu-item") : s, s.length || (o = String.fromCharCode(e.keyCode), r = RegExp("^" + i(o), "i"), s = this.activeMenu.children(".ui-menu-item").filter(
                function() {
                  return r.test(t(this).children("a").text())
                })), s.length ? (this.focus(e, s), s.length > 1 ? (this.previousFilter = o, this.filterTimer = this._delay(function() {
                delete this.previousFilter
              }, 1e3)) : delete this.previousFilter) : delete this.previousFilter
          }
          h && e.preventDefault()
        },
        _activate: function(t) {
          this.active.is(".ui-state-disabled") || (this.active.children("a[aria-haspopup='true']").length ? this.expand(t) : this.select(t))
        },
        refresh: function() {
          var e, i = this.options.icons.submenu,
            s = this.element.find(this.options.menus);
          s.filter(":not(.ui-menu)").addClass("ui-menu ui-widget ui-widget-content ui-corner-all").hide().attr({
            role: this.options.role,
            "aria-hidden": "true",
            "aria-expanded": "false"
          }).each(function() {
            var e = t(this),
              s = e.prev("a"),
              n = t("<span>").addClass("ui-menu-icon ui-icon " + i).data("ui-menu-submenu-carat", !0);
            s.attr("aria-haspopup", "true").prepend(n), e.attr("aria-labelledby", s.attr("id"))
          }), e = s.add(this.element), e.children(":not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role", "presentation").children("a").uniqueId().addClass("ui-corner-all").attr({
            tabIndex: -1,
            role: this._itemRole()
          }), e.children(":not(.ui-menu-item)").each(function() {
            var e = t(this);
            /[^\-\u2014\u2013\s]/.test(e.text()) || e.addClass("ui-widget-content ui-menu-divider")
          }), e.children(".ui-state-disabled").attr("aria-disabled", "true"), this.active && !t.contains(this.element[0], this.active[0]) && this.blur()
        },
        _itemRole: function() {
          return {
            menu: "menuitem",
            listbox: "option"
          } [this.options.role]
        },
        _setOption: function(t, e) {
          "icons" === t && this.element.find(".ui-menu-icon").removeClass(this.options.icons.submenu).addClass(e.submenu), this._super(t, e)
        },
        focus: function(t, e) {
          var i, s;
          this.blur(t, t && "focus" === t.type), this._scrollIntoView(e), this.active = e.first(), s = this.active.children("a").addClass("ui-state-focus"), this.options.role && this.element.attr("aria-activedescendant", s.attr("id")), this
            .active.parent().closest(".ui-menu-item").children("a:first").addClass("ui-state-active"), t && "keydown" === t.type ? this._close() : this.timer = this._delay(function() {
              this._close()
            }, this.delay), i = e.children(".ui-menu"), i.length && /^mouse/.test(t.type) && this._startOpening(i), this.activeMenu = e.parent(), this._trigger("focus", t, {
              item: e
            })
        },
        _scrollIntoView: function(e) {
          var i, s, n, o, a, r;
          this._hasScroll() && (i = parseFloat(t.css(this.activeMenu[0], "borderTopWidth")) || 0, s = parseFloat(t.css(this.activeMenu[0], "paddingTop")) || 0, n = e.offset().top - this.activeMenu.offset().top - i - s, o = this.activeMenu
            .scrollTop(), a = this.activeMenu.height(), r = e.height(), 0 > n ? this.activeMenu.scrollTop(o + n) : n + r > a && this.activeMenu.scrollTop(o + n - a + r))
        },
        blur: function(t, e) {
          e || clearTimeout(this.timer), this.active && (this.active.children("a").removeClass("ui-state-focus"), this.active = null, this._trigger("blur", t, {
            item: this.active
          }))
        },
        _startOpening: function(t) {
          clearTimeout(this.timer), "true" === t.attr("aria-hidden") && (this.timer = this._delay(function() {
            this._close(), this._open(t)
          }, this.delay))
        },
        _open: function(e) {
          var i = t.extend({
            of: this.active
          }, this.options.position);
          clearTimeout(this.timer), this.element.find(".ui-menu").not(e.parents(".ui-menu")).hide().attr("aria-hidden", "true"), e.show().removeAttr("aria-hidden").attr("aria-expanded", "true").position(i)
        },
        collapseAll: function(e, i) {
          clearTimeout(this.timer), this.timer = this._delay(function() {
            var s = i ? this.element : t(e && e.target).closest(this.element.find(".ui-menu"));
            s.length || (s = this.element), this._close(s), this.blur(e), this.activeMenu = s
          }, this.delay)
        },
        _close: function(t) {
          t || (t = this.active ? this.active.parent() : this.element), t.find(".ui-menu").hide().attr("aria-hidden", "true").attr("aria-expanded", "false").end().find("a.ui-state-active").removeClass("ui-state-active")
        },
        collapse: function(t) {
          var e = this.active && this.active.parent().closest(".ui-menu-item", this.element);
          e && e.length && (this._close(), this.focus(t, e))
        },
        expand: function(t) {
          var e = this.active && this.active.children(".ui-menu ").children(".ui-menu-item").first();
          e && e.length && (this._open(e.parent()), this._delay(function() {
            this.focus(t, e)
          }))
        },
        next: function(t) {
          this._move("next", "first", t)
        },
        previous: function(t) {
          this._move("prev", "last", t)
        },
        isFirstItem: function() {
          return this.active && !this.active.prevAll(".ui-menu-item").length
        },
        isLastItem: function() {
          return this.active && !this.active.nextAll(".ui-menu-item").length
        },
        _move: function(t, e, i) {
          var s;
          this.active && (s = "first" === t || "last" === t ? this.active["first" === t ? "prevAll" : "nextAll"](".ui-menu-item").eq(-1) : this.active[t + "All"](".ui-menu-item").eq(0)), s && s.length && this.active || (s = this.activeMenu
            .children(".ui-menu-item")[e]()), this.focus(i, s)
        },
        nextPage: function(e) {
          var i, s, n;
          return this.active ? (this.isLastItem() || (this._hasScroll() ? (s = this.active.offset().top, n = this.element.height(), this.active.nextAll(".ui-menu-item").each(function() {
            return i = t(this), 0 > i.offset().top - s - n
          }), this.focus(e, i)) : this.focus(e, this.activeMenu.children(".ui-menu-item")[this.active ? "last" : "first"]())), undefined) : (this.next(e), undefined)
        },
        previousPage: function(e) {
          var i, s, n;
          return this.active ? (this.isFirstItem() || (this._hasScroll() ? (s = this.active.offset().top, n = this.element.height(), this.active.prevAll(".ui-menu-item").each(function() {
            return i = t(this), i.offset().top - s + n > 0
          }), this.focus(e, i)) : this.focus(e, this.activeMenu.children(".ui-menu-item").first())), undefined) : (this.next(e), undefined)
        },
        _hasScroll: function() {
          return this.element.outerHeight() < this.element.prop("scrollHeight")
        },
        select: function(e) {
          this.active = this.active || t(e.target).closest(".ui-menu-item");
          var i = {
            item: this.active
          };
          this.active.has(".ui-menu").length || this.collapseAll(e, !0), this._trigger("select", e, i)
        }
      })
    }(jQuery),
    function(t, e) {
      function i(t, e, i) {
        return [parseFloat(t[0]) * (p.test(t[0]) ? e / 100 : 1), parseFloat(t[1]) * (p.test(t[1]) ? i / 100 : 1)]
      }

      function s(e, i) {
        return parseInt(t.css(e, i), 10) || 0
      }

      function n(e) {
        var i = e[0];
        return 9 === i.nodeType ? {
          width: e.width(),
          height: e.height(),
          offset: {
            top: 0,
            left: 0
          }
        } : t.isWindow(i) ? {
          width: e.width(),
          height: e.height(),
          offset: {
            top: e.scrollTop(),
            left: e.scrollLeft()
          }
        } : i.preventDefault ? {
          width: 0,
          height: 0,
          offset: {
            top: i.pageY,
            left: i.pageX
          }
        } : {
          width: e.outerWidth(),
          height: e.outerHeight(),
          offset: e.offset()
        }
      }
      t.ui = t.ui || {};
      var o, a = Math.max,
        r = Math.abs,
        h = Math.round,
        l = /left|center|right/,
        c = /top|center|bottom/,
        u = /[\+\-]\d+(\.[\d]+)?%?/,
        d = /^\w+/,
        p = /%$/,
        f = t.fn.position;
      t.position = {
          scrollbarWidth: function() {
            if (o !== e) return o;
            var i, s, n = t("<div style='display:block;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),
              a = n.children()[0];
            return t("body").append(n), i = a.offsetWidth, n.css("overflow", "scroll"), s = a.offsetWidth, i === s && (s = n[0].clientWidth), n.remove(), o = i - s
          },
          getScrollInfo: function(e) {
            var i = e.isWindow ? "" : e.element.css("overflow-x"),
              s = e.isWindow ? "" : e.element.css("overflow-y"),
              n = "scroll" === i || "auto" === i && e.width < e.element[0].scrollWidth,
              o = "scroll" === s || "auto" === s && e.height < e.element[0].scrollHeight;
            return {
              width: o ? t.position.scrollbarWidth() : 0,
              height: n ? t.position.scrollbarWidth() : 0
            }
          },
          getWithinInfo: function(e) {
            var i = t(e || window),
              s = t.isWindow(i[0]);
            return {
              element: i,
              isWindow: s,
              offset: i.offset() || {
                left: 0,
                top: 0
              },
              scrollLeft: i.scrollLeft(),
              scrollTop: i.scrollTop(),
              width: s ? i.width() : i.outerWidth(),
              height: s ? i.height() : i.outerHeight()
            }
          }
        }, t.fn.position = function(e) {
          if (!e || !e.of) return f.apply(this, arguments);
          e = t.extend({}, e);
          var o, p, g, m, v, _, b = t(e.of),
            y = t.position.getWithinInfo(e.within),
            w = t.position.getScrollInfo(y),
            k = (e.collision || "flip").split(" "),
            x = {};
          return _ = n(b), b[0].preventDefault && (e.at = "left top"), p = _.width, g = _.height, m = _.offset, v = t.extend({}, m), t.each(["my", "at"], function() {
              var t, i, s = (e[this] || "").split(" ");
              1 === s.length && (s = l.test(s[0]) ? s.concat(["center"]) : c.test(s[0]) ? ["center"].concat(s) : ["center", "center"]), s[0] = l.test(s[0]) ? s[0] : "center", s[1] = c.test(s[1]) ? s[1] : "center", t = u.exec(s[0]), i = u.exec(s[
                1]), x[this] = [t ? t[0] : 0, i ? i[0] : 0], e[this] = [d.exec(s[0])[0], d.exec(s[1])[0]]
            }), 1 === k.length && (k[1] = k[0]), "right" === e.at[0] ? v.left += p : "center" === e.at[0] && (v.left += p / 2), "bottom" === e.at[1] ? v.top += g : "center" === e.at[1] && (v.top += g / 2), o = i(x.at, p, g), v.left += o[0], v.top +=
            o[1], this.each(function() {
              var n, l, c = t(this),
                u = c.outerWidth(),
                d = c.outerHeight(),
                f = s(this, "marginLeft"),
                _ = s(this, "marginTop"),
                D = u + f + s(this, "marginRight") + w.width,
                C = d + _ + s(this, "marginBottom") + w.height,
                I = t.extend({}, v),
                P = i(x.my, c.outerWidth(), c.outerHeight());
              "right" === e.my[0] ? I.left -= u : "center" === e.my[0] && (I.left -= u / 2), "bottom" === e.my[1] ? I.top -= d : "center" === e.my[1] && (I.top -= d / 2), I.left += P[0], I.top += P[1], t.support.offsetFractions || (I.left = h(I
                .left), I.top = h(I.top)), n = {
                marginLeft: f,
                marginTop: _
              }, t.each(["left", "top"], function(i, s) {
                t.ui.position[k[i]] && t.ui.position[k[i]][s](I, {
                  targetWidth: p,
                  targetHeight: g,
                  elemWidth: u,
                  elemHeight: d,
                  collisionPosition: n,
                  collisionWidth: D,
                  collisionHeight: C,
                  offset: [o[0] + P[0], o[1] + P[1]],
                  my: e.my,
                  at: e.at,
                  within: y,
                  elem: c
                })
              }), e.using && (l = function(t) {
                var i = m.left - I.left,
                  s = i + p - u,
                  n = m.top - I.top,
                  o = n + g - d,
                  h = {
                    target: {
                      element: b,
                      left: m.left,
                      top: m.top,
                      width: p,
                      height: g
                    },
                    element: {
                      element: c,
                      left: I.left,
                      top: I.top,
                      width: u,
                      height: d
                    },
                    horizontal: 0 > s ? "left" : i > 0 ? "right" : "center",
                    vertical: 0 > o ? "top" : n > 0 ? "bottom" : "middle"
                  };
                u > p && p > r(i + s) && (h.horizontal = "center"), d > g && g > r(n + o) && (h.vertical = "middle"), h.important = a(r(i), r(s)) > a(r(n), r(o)) ? "horizontal" : "vertical", e.using.call(this, t, h)
              }), c.offset(t.extend(I, {
                using: l
              }))
            })
        }, t.ui.position = {
          fit: {
            left: function(t, e) {
              var i, s = e.within,
                n = s.isWindow ? s.scrollLeft : s.offset.left,
                o = s.width,
                r = t.left - e.collisionPosition.marginLeft,
                h = n - r,
                l = r + e.collisionWidth - o - n;
              e.collisionWidth > o ? h > 0 && 0 >= l ? (i = t.left + h + e.collisionWidth - o - n, t.left += h - i) : t.left = l > 0 && 0 >= h ? n : h > l ? n + o - e.collisionWidth : n : h > 0 ? t.left += h : l > 0 ? t.left -= l : t.left = a(t
                .left - r, t.left)
            },
            top: function(t, e) {
              var i, s = e.within,
                n = s.isWindow ? s.scrollTop : s.offset.top,
                o = e.within.height,
                r = t.top - e.collisionPosition.marginTop,
                h = n - r,
                l = r + e.collisionHeight - o - n;
              e.collisionHeight > o ? h > 0 && 0 >= l ? (i = t.top + h + e.collisionHeight - o - n, t.top += h - i) : t.top = l > 0 && 0 >= h ? n : h > l ? n + o - e.collisionHeight : n : h > 0 ? t.top += h : l > 0 ? t.top -= l : t.top = a(t.top -
                r, t.top)
            }
          },
          flip: {
            left: function(t, e) {
              var i, s, n = e.within,
                o = n.offset.left + n.scrollLeft,
                a = n.width,
                h = n.isWindow ? n.scrollLeft : n.offset.left,
                l = t.left - e.collisionPosition.marginLeft,
                c = l - h,
                u = l + e.collisionWidth - a - h,
                d = "left" === e.my[0] ? -e.elemWidth : "right" === e.my[0] ? e.elemWidth : 0,
                p = "left" === e.at[0] ? e.targetWidth : "right" === e.at[0] ? -e.targetWidth : 0,
                f = -2 * e.offset[0];
              0 > c ? (i = t.left + d + p + f + e.collisionWidth - a - o, (0 > i || r(c) > i) && (t.left += d + p + f)) : u > 0 && (s = t.left - e.collisionPosition.marginLeft + d + p + f - h, (s > 0 || u > r(s)) && (t.left += d + p + f))
            },
            top: function(t, e) {
              var i, s, n = e.within,
                o = n.offset.top + n.scrollTop,
                a = n.height,
                h = n.isWindow ? n.scrollTop : n.offset.top,
                l = t.top - e.collisionPosition.marginTop,
                c = l - h,
                u = l + e.collisionHeight - a - h,
                d = "top" === e.my[1],
                p = d ? -e.elemHeight : "bottom" === e.my[1] ? e.elemHeight : 0,
                f = "top" === e.at[1] ? e.targetHeight : "bottom" === e.at[1] ? -e.targetHeight : 0,
                g = -2 * e.offset[1];
              0 > c ? (s = t.top + p + f + g + e.collisionHeight - a - o, t.top + p + f + g > c && (0 > s || r(c) > s) && (t.top += p + f + g)) : u > 0 && (i = t.top - e.collisionPosition.marginTop + p + f + g - h, t.top + p + f + g > u && (i >
                0 || u > r(i)) && (t.top += p + f + g))
            }
          },
          flipfit: {
            left: function() {
              t.ui.position.flip.left.apply(this, arguments), t.ui.position.fit.left.apply(this, arguments)
            },
            top: function() {
              t.ui.position.flip.top.apply(this, arguments), t.ui.position.fit.top.apply(this, arguments)
            }
          }
        },
        function() {
          var e, i, s, n, o, a = document.getElementsByTagName("body")[0],
            r = document.createElement("div");
          e = document.createElement(a ? "div" : "body"), s = {
            visibility: "hidden",
            width: 0,
            height: 0,
            border: 0,
            margin: 0,
            background: "none"
          }, a && t.extend(s, {
            position: "absolute",
            left: "-1000px",
            top: "-1000px"
          });
          for (o in s) e.style[o] = s[o];
          e.appendChild(r), i = a || document.documentElement, i.insertBefore(e, i.firstChild), r.style.cssText = "position: absolute; left: 10.7432222px;", n = t(r).offset().left, t.support.offsetFractions = n > 10 && 11 > n, e.innerHTML = "", i
            .removeChild(e)
        }()
    }(jQuery),
    function(t, e) {
      t.widget("ui.progressbar", {
        version: "1.10.3",
        options: {
          max: 100,
          value: 0,
          change: null,
          complete: null
        },
        min: 0,
        _create: function() {
          this.oldValue = this.options.value = this._constrainedValue(), this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({
            role: "progressbar",
            "aria-valuemin": this.min
          }), this.valueDiv = t("<div class='ui-progressbar-value ui-widget-header ui-corner-left'></div>").appendTo(this.element), this._refreshValue()
        },
        _destroy: function() {
          this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"), this.valueDiv.remove()
        },
        value: function(t) {
          return t === e ? this.options.value : (this.options.value = this._constrainedValue(t), this._refreshValue(), e)
        },
        _constrainedValue: function(t) {
          return t === e && (t = this.options.value), this.indeterminate = t === !1, "number" != typeof t && (t = 0), this.indeterminate ? !1 : Math.min(this.options.max, Math.max(this.min, t))
        },
        _setOptions: function(t) {
          var e = t.value;
          delete t.value, this._super(t), this.options.value = this._constrainedValue(e), this._refreshValue()
        },
        _setOption: function(t, e) {
          "max" === t && (e = Math.max(this.min, e)), this._super(t, e)
        },
        _percentage: function() {
          return this.indeterminate ? 100 : 100 * (this.options.value - this.min) / (this.options.max - this.min)
        },
        _refreshValue: function() {
          var e = this.options.value,
            i = this._percentage();
          this.valueDiv.toggle(this.indeterminate || e > this.min).toggleClass("ui-corner-right", e === this.options.max).width(i.toFixed(0) + "%"), this.element.toggleClass("ui-progressbar-indeterminate", this.indeterminate), this
            .indeterminate ? (this.element.removeAttr("aria-valuenow"), this.overlayDiv || (this.overlayDiv = t("<div class='ui-progressbar-overlay'></div>").appendTo(this.valueDiv))) : (this.element.attr({
              "aria-valuemax": this.options.max,
              "aria-valuenow": e
            }), this.overlayDiv && (this.overlayDiv.remove(), this.overlayDiv = null)), this.oldValue !== e && (this.oldValue = e, this._trigger("change")), e === this.options.max && this._trigger("complete")
        }
      })
    }(jQuery),
    function(t) {
      var e = 5;
      t.widget("ui.slider", t.ui.mouse, {
        version: "1.10.3",
        widgetEventPrefix: "slide",
        options: {
          animate: !1,
          distance: 0,
          max: 100,
          min: 0,
          orientation: "horizontal",
          range: !1,
          step: 1,
          value: 0,
          values: null,
          change: null,
          slide: null,
          start: null,
          stop: null
        },
        _create: function() {
          this._keySliding = !1, this._mouseSliding = !1, this._animateOff = !0, this._handleIndex = null, this._detectOrientation(), this._mouseInit(), this.element.addClass("ui-slider ui-slider-" + this.orientation + " ui-widget" +
            " ui-widget-content" + " ui-corner-all"), this._refresh(), this._setOption("disabled", this.options.disabled), this._animateOff = !1
        },
        _refresh: function() {
          this._createRange(), this._createHandles(), this._setupEvents(), this._refreshValue()
        },
        _createHandles: function() {
          var e, i, s = this.options,
            n = this.element.find(".ui-slider-handle").addClass("ui-state-default ui-corner-all"),
            o = "<a class='ui-slider-handle ui-state-default ui-corner-all' href='#'></a>",
            a = [];
          for (i = s.values && s.values.length || 1, n.length > i && (n.slice(i).remove(), n = n.slice(0, i)), e = n.length; i > e; e++) a.push(o);
          this.handles = n.add(t(a.join("")).appendTo(this.element)), this.handle = this.handles.eq(0), this.handles.each(function(e) {
            t(this).data("ui-slider-handle-index", e)
          })
        },
        _createRange: function() {
          var e = this.options,
            i = "";
          e.range ? (e.range === !0 && (e.values ? e.values.length && 2 !== e.values.length ? e.values = [e.values[0], e.values[0]] : t.isArray(e.values) && (e.values = e.values.slice(0)) : e.values = [this._valueMin(), this._valueMin()]), this
              .range && this.range.length ? this.range.removeClass("ui-slider-range-min ui-slider-range-max").css({
                left: "",
                bottom: ""
              }) : (this.range = t("<div></div>").appendTo(this.element), i = "ui-slider-range ui-widget-header ui-corner-all"), this.range.addClass(i + ("min" === e.range || "max" === e.range ? " ui-slider-range-" + e.range : ""))) : this
            .range = t([])
        },
        _setupEvents: function() {
          var t = this.handles.add(this.range).filter("a");
          this._off(t), this._on(t, this._handleEvents), this._hoverable(t), this._focusable(t)
        },
        _destroy: function() {
          this.handles.remove(), this.range.remove(), this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-widget ui-widget-content ui-corner-all"), this._mouseDestroy()
        },
        _mouseCapture: function(e) {
          var i, s, n, o, a, r, h, l, c = this,
            u = this.options;
          return u.disabled ? !1 : (this.elementSize = {
            width: this.element.outerWidth(),
            height: this.element.outerHeight()
          }, this.elementOffset = this.element.offset(), i = {
            x: e.pageX,
            y: e.pageY
          }, s = this._normValueFromMouse(i), n = this._valueMax() - this._valueMin() + 1, this.handles.each(function(e) {
            var i = Math.abs(s - c.values(e));
            (n > i || n === i && (e === c._lastChangedValue || c.values(e) === u.min)) && (n = i, o = t(this), a = e)
          }), r = this._start(e, a), r === !1 ? !1 : (this._mouseSliding = !0, this._handleIndex = a, o.addClass("ui-state-active").focus(), h = o.offset(), l = !t(e.target).parents().addBack().is(".ui-slider-handle"), this._clickOffset =
            l ? {
              left: 0,
              top: 0
            } : {
              left: e.pageX - h.left - o.width() / 2,
              top: e.pageY - h.top - o.height() / 2 - (parseInt(o.css("borderTopWidth"), 10) || 0) - (parseInt(o.css("borderBottomWidth"), 10) || 0) + (parseInt(o.css("marginTop"), 10) || 0)
            }, this.handles.hasClass("ui-state-hover") || this._slide(e, a, s), this._animateOff = !0, !0))
        },
        _mouseStart: function() {
          return !0
        },
        _mouseDrag: function(t) {
          var e = {
              x: t.pageX,
              y: t.pageY
            },
            i = this._normValueFromMouse(e);
          return this._slide(t, this._handleIndex, i), !1
        },
        _mouseStop: function(t) {
          return this.handles.removeClass("ui-state-active"), this._mouseSliding = !1, this._stop(t, this._handleIndex), this._change(t, this._handleIndex), this._handleIndex = null, this._clickOffset = null, this._animateOff = !1, !1
        },
        _detectOrientation: function() {
          this.orientation = "vertical" === this.options.orientation ? "vertical" : "horizontal"
        },
        _normValueFromMouse: function(t) {
          var e, i, s, n, o;
          return "horizontal" === this.orientation ? (e = this.elementSize.width, i = t.x - this.elementOffset.left - (this._clickOffset ? this._clickOffset.left : 0)) : (e = this.elementSize.height, i = t.y - this.elementOffset.top - (this
              ._clickOffset ? this._clickOffset.top : 0)), s = i / e, s > 1 && (s = 1), 0 > s && (s = 0), "vertical" === this.orientation && (s = 1 - s), n = this._valueMax() - this._valueMin(), o = this._valueMin() + s * n, this
            ._trimAlignValue(o)
        },
        _start: function(t, e) {
          var i = {
            handle: this.handles[e],
            value: this.value()
          };
          return this.options.values && this.options.values.length && (i.value = this.values(e), i.values = this.values()), this._trigger("start", t, i)
        },
        _slide: function(t, e, i) {
          var s, n, o;
          this.options.values && this.options.values.length ? (s = this.values(e ? 0 : 1), 2 === this.options.values.length && this.options.range === !0 && (0 === e && i > s || 1 === e && s > i) && (i = s), i !== this.values(e) && (n = this
            .values(), n[e] = i, o = this._trigger("slide", t, {
              handle: this.handles[e],
              value: i,
              values: n
            }), s = this.values(e ? 0 : 1), o !== !1 && this.values(e, i, !0))) : i !== this.value() && (o = this._trigger("slide", t, {
            handle: this.handles[e],
            value: i
          }), o !== !1 && this.value(i))
        },
        _stop: function(t, e) {
          var i = {
            handle: this.handles[e],
            value: this.value()
          };
          this.options.values && this.options.values.length && (i.value = this.values(e), i.values = this.values()), this._trigger("stop", t, i)
        },
        _change: function(t, e) {
          if (!this._keySliding && !this._mouseSliding) {
            var i = {
              handle: this.handles[e],
              value: this.value()
            };
            this.options.values && this.options.values.length && (i.value = this.values(e), i.values = this.values()), this._lastChangedValue = e, this._trigger("change", t, i)
          }
        },
        value: function(t) {
          return arguments.length ? (this.options.value = this._trimAlignValue(t), this._refreshValue(), this._change(null, 0), undefined) : this._value()
        },
        values: function(e, i) {
          var s, n, o;
          if (arguments.length > 1) return this.options.values[e] = this._trimAlignValue(i), this._refreshValue(), this._change(null, e), undefined;
          if (!arguments.length) return this._values();
          if (!t.isArray(arguments[0])) return this.options.values && this.options.values.length ? this._values(e) : this.value();
          for (s = this.options.values, n = arguments[0], o = 0; s.length > o; o += 1) s[o] = this._trimAlignValue(n[o]), this._change(null, o);
          this._refreshValue()
        },
        _setOption: function(e, i) {
          var s, n = 0;
          switch ("range" === e && this.options.range === !0 && ("min" === i ? (this.options.value = this._values(0), this.options.values = null) : "max" === i && (this.options.value = this._values(this.options.values.length - 1), this.options
              .values = null)), t.isArray(this.options.values) && (n = this.options.values.length), t.Widget.prototype._setOption.apply(this, arguments), e) {
            case "orientation":
              this._detectOrientation(), this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-" + this.orientation), this._refreshValue();
              break;
            case "value":
              this._animateOff = !0, this._refreshValue(), this._change(null, 0), this._animateOff = !1;
              break;
            case "values":
              for (this._animateOff = !0, this._refreshValue(), s = 0; n > s; s += 1) this._change(null, s);
              this._animateOff = !1;
              break;
            case "min":
            case "max":
              this._animateOff = !0, this._refreshValue(), this._animateOff = !1;
              break;
            case "range":
              this._animateOff = !0, this._refresh(), this._animateOff = !1
          }
        },
        _value: function() {
          var t = this.options.value;
          return t = this._trimAlignValue(t)
        },
        _values: function(t) {
          var e, i, s;
          if (arguments.length) return e = this.options.values[t], e = this._trimAlignValue(e);
          if (this.options.values && this.options.values.length) {
            for (i = this.options.values.slice(), s = 0; i.length > s; s += 1) i[s] = this._trimAlignValue(i[s]);
            return i
          }
          return []
        },
        _trimAlignValue: function(t) {
          if (this._valueMin() >= t) return this._valueMin();
          if (t >= this._valueMax()) return this._valueMax();
          var e = this.options.step > 0 ? this.options.step : 1,
            i = (t - this._valueMin()) % e,
            s = t - i;
          return 2 * Math.abs(i) >= e && (s += i > 0 ? e : -e), parseFloat(s.toFixed(5))
        },
        _valueMin: function() {
          return this.options.min
        },
        _valueMax: function() {
          return this.options.max
        },
        _refreshValue: function() {
          var e, i, s, n, o, a = this.options.range,
            r = this.options,
            h = this,
            l = this._animateOff ? !1 : r.animate,
            c = {};
          this.options.values && this.options.values.length ? this.handles.each(function(s) {
            i = 100 * ((h.values(s) - h._valueMin()) / (h._valueMax() - h._valueMin())), c["horizontal" === h.orientation ? "left" : "bottom"] = i + "%", t(this).stop(1, 1)[l ? "animate" : "css"](c, r.animate), h.options.range === !0 && (
              "horizontal" === h.orientation ? (0 === s && h.range.stop(1, 1)[l ? "animate" : "css"]({
                left: i + "%"
              }, r.animate), 1 === s && h.range[l ? "animate" : "css"]({
                width: i - e + "%"
              }, {
                queue: !1,
                duration: r.animate
              })) : (0 === s && h.range.stop(1, 1)[l ? "animate" : "css"]({
                bottom: i + "%"
              }, r.animate), 1 === s && h.range[l ? "animate" : "css"]({
                height: i - e + "%"
              }, {
                queue: !1,
                duration: r.animate
              }))), e = i
          }) : (s = this.value(), n = this._valueMin(), o = this._valueMax(), i = o !== n ? 100 * ((s - n) / (o - n)) : 0, c["horizontal" === this.orientation ? "left" : "bottom"] = i + "%", this.handle.stop(1, 1)[l ? "animate" : "css"](c, r
            .animate), "min" === a && "horizontal" === this.orientation && this.range.stop(1, 1)[l ? "animate" : "css"]({
            width: i + "%"
          }, r.animate), "max" === a && "horizontal" === this.orientation && this.range[l ? "animate" : "css"]({
            width: 100 - i + "%"
          }, {
            queue: !1,
            duration: r.animate
          }), "min" === a && "vertical" === this.orientation && this.range.stop(1, 1)[l ? "animate" : "css"]({
            height: i + "%"
          }, r.animate), "max" === a && "vertical" === this.orientation && this.range[l ? "animate" : "css"]({
            height: 100 - i + "%"
          }, {
            queue: !1,
            duration: r.animate
          }))
        },
        _handleEvents: {
          keydown: function(i) {
            var s, n, o, a, r = t(i.target).data("ui-slider-handle-index");
            switch (i.keyCode) {
              case t.ui.keyCode.HOME:
              case t.ui.keyCode.END:
              case t.ui.keyCode.PAGE_UP:
              case t.ui.keyCode.PAGE_DOWN:
              case t.ui.keyCode.UP:
              case t.ui.keyCode.RIGHT:
              case t.ui.keyCode.DOWN:
              case t.ui.keyCode.LEFT:
                if (i.preventDefault(), !this._keySliding && (this._keySliding = !0, t(i.target).addClass("ui-state-active"), s = this._start(i, r), s === !1)) return
            }
            switch (a = this.options.step, n = o = this.options.values && this.options.values.length ? this.values(r) : this.value(), i.keyCode) {
              case t.ui.keyCode.HOME:
                o = this._valueMin();
                break;
              case t.ui.keyCode.END:
                o = this._valueMax();
                break;
              case t.ui.keyCode.PAGE_UP:
                o = this._trimAlignValue(n + (this._valueMax() - this._valueMin()) / e);
                break;
              case t.ui.keyCode.PAGE_DOWN:
                o = this._trimAlignValue(n - (this._valueMax() - this._valueMin()) / e);
                break;
              case t.ui.keyCode.UP:
              case t.ui.keyCode.RIGHT:
                if (n === this._valueMax()) return;
                o = this._trimAlignValue(n + a);
                break;
              case t.ui.keyCode.DOWN:
              case t.ui.keyCode.LEFT:
                if (n === this._valueMin()) return;
                o = this._trimAlignValue(n - a)
            }
            this._slide(i, r, o)
          },
          click: function(t) {
            t.preventDefault()
          },
          keyup: function(e) {
            var i = t(e.target).data("ui-slider-handle-index");
            this._keySliding && (this._keySliding = !1, this._stop(e, i), this._change(e, i), t(e.target).removeClass("ui-state-active"))
          }
        }
      })
    }(jQuery),
    function(t) {
      function e(t) {
        return function() {
          var e = this.element.val();
          t.apply(this, arguments), this._refresh(), e !== this.element.val() && this._trigger("change")
        }
      }
      t.widget("ui.spinner", {
        version: "1.10.3",
        defaultElement: "<input>",
        widgetEventPrefix: "spin",
        options: {
          culture: null,
          icons: {
            down: "ui-icon-triangle-1-s",
            up: "ui-icon-triangle-1-n"
          },
          incremental: !0,
          max: null,
          min: null,
          numberFormat: null,
          page: 10,
          step: 1,
          change: null,
          spin: null,
          start: null,
          stop: null
        },
        _create: function() {
          this._setOption("max", this.options.max), this._setOption("min", this.options.min), this._setOption("step", this.options.step), this._value(this.element.val(), !0), this._draw(), this._on(this._events), this._refresh(), this._on(this
            .window, {
              beforeunload: function() {
                this.element.removeAttr("autocomplete")
              }
            })
        },
        _getCreateOptions: function() {
          var e = {},
            i = this.element;
          return t.each(["min", "max", "step"], function(t, s) {
            var n = i.attr(s);
            void 0 !== n && n.length && (e[s] = n)
          }), e
        },
        _events: {
          keydown: function(t) {
            this._start(t) && this._keydown(t) && t.preventDefault()
          },
          keyup: "_stop",
          focus: function() {
            this.previous = this.element.val()
          },
          blur: function(t) {
            return this.cancelBlur ? (delete this.cancelBlur, void 0) : (this._stop(), this._refresh(), this.previous !== this.element.val() && this._trigger("change", t), void 0)
          },
          mousewheel: function(t, e) {
            if (e) {
              if (!this.spinning && !this._start(t)) return !1;
              this._spin((e > 0 ? 1 : -1) * this.options.step, t), clearTimeout(this.mousewheelTimer), this.mousewheelTimer = this._delay(function() {
                this.spinning && this._stop(t)
              }, 100), t.preventDefault()
            }
          },
          "mousedown .ui-spinner-button": function(e) {
            function i() {
              var t = this.element[0] === this.document[0].activeElement;
              t || (this.element.focus(), this.previous = s, this._delay(function() {
                this.previous = s
              }))
            }
            var s;
            s = this.element[0] === this.document[0].activeElement ? this.previous : this.element.val(), e.preventDefault(), i.call(this), this.cancelBlur = !0, this._delay(function() {
              delete this.cancelBlur, i.call(this)
            }), this._start(e) !== !1 && this._repeat(null, t(e.currentTarget).hasClass("ui-spinner-up") ? 1 : -1, e)
          },
          "mouseup .ui-spinner-button": "_stop",
          "mouseenter .ui-spinner-button": function(e) {
            return t(e.currentTarget).hasClass("ui-state-active") ? this._start(e) === !1 ? !1 : (this._repeat(null, t(e.currentTarget).hasClass("ui-spinner-up") ? 1 : -1, e), void 0) : void 0
          },
          "mouseleave .ui-spinner-button": "_stop"
        },
        _draw: function() {
          var t = this.uiSpinner = this.element.addClass("ui-spinner-input").attr("autocomplete", "off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml());
          this.element.attr("role", "spinbutton"), this.buttons = t.find(".ui-spinner-button").attr("tabIndex", -1).button().removeClass("ui-corner-all"), this.buttons.height() > Math.ceil(.5 * t.height()) && t.height() > 0 && t.height(t
            .height()), this.options.disabled && this.disable()
        },
        _keydown: function(e) {
          var i = this.options,
            s = t.ui.keyCode;
          switch (e.keyCode) {
            case s.UP:
              return this._repeat(null, 1, e), !0;
            case s.DOWN:
              return this._repeat(null, -1, e), !0;
            case s.PAGE_UP:
              return this._repeat(null, i.page, e), !0;
            case s.PAGE_DOWN:
              return this._repeat(null, -i.page, e), !0
          }
          return !1
        },
        _uiSpinnerHtml: function() {
          return "<span class='ui-spinner ui-widget ui-widget-content ui-corner-all'></span>"
        },
        _buttonHtml: function() {
          return "<a class='ui-spinner-button ui-spinner-up ui-corner-tr'><span class='ui-icon " + this.options.icons.up + "'>&#9650;</span>" + "</a>" + "<a class='ui-spinner-button ui-spinner-down ui-corner-br'>" + "<span class='ui-icon " +
            this.options.icons.down + "'>&#9660;</span>" + "</a>"
        },
        _start: function(t) {
          return this.spinning || this._trigger("start", t) !== !1 ? (this.counter || (this.counter = 1), this.spinning = !0, !0) : !1
        },
        _repeat: function(t, e, i) {
          t = t || 500, clearTimeout(this.timer), this.timer = this._delay(function() {
            this._repeat(40, e, i)
          }, t), this._spin(e * this.options.step, i)
        },
        _spin: function(t, e) {
          var i = this.value() || 0;
          this.counter || (this.counter = 1), i = this._adjustValue(i + t * this._increment(this.counter)), this.spinning && this._trigger("spin", e, {
            value: i
          }) === !1 || (this._value(i), this.counter++)
        },
        _increment: function(e) {
          var i = this.options.incremental;
          return i ? t.isFunction(i) ? i(e) : Math.floor(e * e * e / 5e4 - e * e / 500 + 17 * e / 200 + 1) : 1
        },
        _precision: function() {
          var t = this._precisionOf(this.options.step);
          return null !== this.options.min && (t = Math.max(t, this._precisionOf(this.options.min))), t
        },
        _precisionOf: function(t) {
          var e = "" + t,
            i = e.indexOf(".");
          return -1 === i ? 0 : e.length - i - 1
        },
        _adjustValue: function(t) {
          var e, i, s = this.options;
          return e = null !== s.min ? s.min : 0, i = t - e, i = Math.round(i / s.step) * s.step, t = e + i, t = parseFloat(t.toFixed(this._precision())), null !== s.max && t > s.max ? s.max : null !== s.min && s.min > t ? s.min : t
        },
        _stop: function(t) {
          this.spinning && (clearTimeout(this.timer), clearTimeout(this.mousewheelTimer), this.counter = 0, this.spinning = !1, this._trigger("stop", t))
        },
        _setOption: function(t, e) {
          if ("culture" === t || "numberFormat" === t) {
            var i = this._parse(this.element.val());
            return this.options[t] = e, this.element.val(this._format(i)), void 0
          }("max" === t || "min" === t || "step" === t) && "string" == typeof e && (e = this._parse(e)), "icons" === t && (this.buttons.first().find(".ui-icon").removeClass(this.options.icons.up).addClass(e.up), this.buttons.last().find(
            ".ui-icon").removeClass(this.options.icons.down).addClass(e.down)), this._super(t, e), "disabled" === t && (e ? (this.element.prop("disabled", !0), this.buttons.button("disable")) : (this.element.prop("disabled", !1), this.buttons
            .button("enable")))
        },
        _setOptions: e(function(t) {
          this._super(t), this._value(this.element.val())
        }),
        _parse: function(t) {
          return "string" == typeof t && "" !== t && (t = window.Globalize && this.options.numberFormat ? Globalize.parseFloat(t, 10, this.options.culture) : +t), "" === t || isNaN(t) ? null : t
        },
        _format: function(t) {
          return "" === t ? "" : window.Globalize && this.options.numberFormat ? Globalize.format(t, this.options.numberFormat, this.options.culture) : t
        },
        _refresh: function() {
          this.element.attr({
            "aria-valuemin": this.options.min,
            "aria-valuemax": this.options.max,
            "aria-valuenow": this._parse(this.element.val())
          })
        },
        _value: function(t, e) {
          var i;
          "" !== t && (i = this._parse(t), null !== i && (e || (i = this._adjustValue(i)), t = this._format(i))), this.element.val(t), this._refresh()
        },
        _destroy: function() {
          this.element.removeClass("ui-spinner-input").prop("disabled", !1).removeAttr("autocomplete").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"), this.uiSpinner.replaceWith(this
            .element)
        },
        stepUp: e(function(t) {
          this._stepUp(t)
        }),
        _stepUp: function(t) {
          this._start() && (this._spin((t || 1) * this.options.step), this._stop())
        },
        stepDown: e(function(t) {
          this._stepDown(t)
        }),
        _stepDown: function(t) {
          this._start() && (this._spin((t || 1) * -this.options.step), this._stop())
        },
        pageUp: e(function(t) {
          this._stepUp((t || 1) * this.options.page)
        }),
        pageDown: e(function(t) {
          this._stepDown((t || 1) * this.options.page)
        }),
        value: function(t) {
          return arguments.length ? (e(this._value).call(this, t), void 0) : this._parse(this.element.val())
        },
        widget: function() {
          return this.uiSpinner
        }
      })
    }(jQuery),
    function(t, e) {
      function i() {
        return ++n
      }

      function s(t) {
        return t.hash.length > 1 && decodeURIComponent(t.href.replace(o, "")) === decodeURIComponent(location.href.replace(o, ""))
      }
      var n = 0,
        o = /#.*$/;
      t.widget("ui.tabs", {
        version: "1.10.3",
        delay: 300,
        options: {
          active: null,
          collapsible: !1,
          event: "click",
          heightStyle: "content",
          hide: null,
          show: null,
          activate: null,
          beforeActivate: null,
          beforeLoad: null,
          load: null
        },
        _create: function() {
          var e = this,
            i = this.options;
          this.running = !1, this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all").toggleClass("ui-tabs-collapsible", i.collapsible).delegate(".ui-tabs-nav > li", "mousedown" + this.eventNamespace, function(e) {
            t(this).is(".ui-state-disabled") && e.preventDefault()
          }).delegate(".ui-tabs-anchor", "focus" + this.eventNamespace, function() {
            t(this).closest("li").is(".ui-state-disabled") && this.blur()
          }), this._processTabs(), i.active = this._initialActive(), t.isArray(i.disabled) && (i.disabled = t.unique(i.disabled.concat(t.map(this.tabs.filter(".ui-state-disabled"), function(t) {
            return e.tabs.index(t)
          }))).sort()), this.active = this.options.active !== !1 && this.anchors.length ? this._findActive(i.active) : t(), this._refresh(), this.active.length && this.load(i.active)
        },
        _initialActive: function() {
          var i = this.options.active,
            s = this.options.collapsible,
            n = location.hash.substring(1);
          return null === i && (n && this.tabs.each(function(s, o) {
              return t(o).attr("aria-controls") === n ? (i = s, !1) : e
            }), null === i && (i = this.tabs.index(this.tabs.filter(".ui-tabs-active"))), (null === i || -1 === i) && (i = this.tabs.length ? 0 : !1)), i !== !1 && (i = this.tabs.index(this.tabs.eq(i)), -1 === i && (i = s ? !1 : 0)), !s &&
            i === !1 && this.anchors.length && (i = 0), i
        },
        _getCreateEventData: function() {
          return {
            tab: this.active,
            panel: this.active.length ? this._getPanelForTab(this.active) : t()
          }
        },
        _tabKeydown: function(i) {
          var s = t(this.document[0].activeElement).closest("li"),
            n = this.tabs.index(s),
            o = !0;
          if (!this._handlePageNav(i)) {
            switch (i.keyCode) {
              case t.ui.keyCode.RIGHT:
              case t.ui.keyCode.DOWN:
                n++;
                break;
              case t.ui.keyCode.UP:
              case t.ui.keyCode.LEFT:
                o = !1, n--;
                break;
              case t.ui.keyCode.END:
                n = this.anchors.length - 1;
                break;
              case t.ui.keyCode.HOME:
                n = 0;
                break;
              case t.ui.keyCode.SPACE:
                return i.preventDefault(), clearTimeout(this.activating), this._activate(n), e;
              case t.ui.keyCode.ENTER:
                return i.preventDefault(), clearTimeout(this.activating), this._activate(n === this.options.active ? !1 : n), e;
              default:
                return
            }
            i.preventDefault(), clearTimeout(this.activating), n = this._focusNextTab(n, o), i.ctrlKey || (s.attr("aria-selected", "false"), this.tabs.eq(n).attr("aria-selected", "true"), this.activating = this._delay(function() {
              this.option("active", n)
            }, this.delay))
          }
        },
        _panelKeydown: function(e) {
          this._handlePageNav(e) || e.ctrlKey && e.keyCode === t.ui.keyCode.UP && (e.preventDefault(), this.active.focus())
        },
        _handlePageNav: function(i) {
          return i.altKey && i.keyCode === t.ui.keyCode.PAGE_UP ? (this._activate(this._focusNextTab(this.options.active - 1, !1)), !0) : i.altKey && i.keyCode === t.ui.keyCode.PAGE_DOWN ? (this._activate(this._focusNextTab(this.options
            .active + 1, !0)), !0) : e
        },
        _findNextTab: function(e, i) {
          function s() {
            return e > n && (e = 0), 0 > e && (e = n), e
          }
          for (var n = this.tabs.length - 1; - 1 !== t.inArray(s(), this.options.disabled);) e = i ? e + 1 : e - 1;
          return e
        },
        _focusNextTab: function(t, e) {
          return t = this._findNextTab(t, e), this.tabs.eq(t).focus(), t
        },
        _setOption: function(t, i) {
          return "active" === t ? (this._activate(i), e) : "disabled" === t ? (this._setupDisabled(i), e) : (this._super(t, i), "collapsible" === t && (this.element.toggleClass("ui-tabs-collapsible", i), i || this.options.active !== !1 || this
            ._activate(0)), "event" === t && this._setupEvents(i), "heightStyle" === t && this._setupHeightStyle(i), e)
        },
        _tabId: function(t) {
          return t.attr("aria-controls") || "ui-tabs-" + i()
        },
        _sanitizeSelector: function(t) {
          return t ? t.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g, "\\$&") : ""
        },
        refresh: function() {
          var e = this.options,
            i = this.tablist.children(":has(a[href])");
          e.disabled = t.map(i.filter(".ui-state-disabled"), function(t) {
            return i.index(t)
          }), this._processTabs(), e.active !== !1 && this.anchors.length ? this.active.length && !t.contains(this.tablist[0], this.active[0]) ? this.tabs.length === e.disabled.length ? (e.active = !1, this.active = t()) : this._activate(this
            ._findNextTab(Math.max(0, e.active - 1), !1)) : e.active = this.tabs.index(this.active) : (e.active = !1, this.active = t()), this._refresh()
        },
        _refresh: function() {
          this._setupDisabled(this.options.disabled), this._setupEvents(this.options.event), this._setupHeightStyle(this.options.heightStyle), this.tabs.not(this.active).attr({
            "aria-selected": "false",
            tabIndex: -1
          }), this.panels.not(this._getPanelForTab(this.active)).hide().attr({
            "aria-expanded": "false",
            "aria-hidden": "true"
          }), this.active.length ? (this.active.addClass("ui-tabs-active ui-state-active").attr({
            "aria-selected": "true",
            tabIndex: 0
          }), this._getPanelForTab(this.active).show().attr({
            "aria-expanded": "true",
            "aria-hidden": "false"
          })) : this.tabs.eq(0).attr("tabIndex", 0)
        },
        _processTabs: function() {
          var e = this;
          this.tablist = this._getList().addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").attr("role", "tablist"), this.tabs = this.tablist.find("> li:has(a[href])").addClass(
            "ui-state-default ui-corner-top").attr({
            role: "tab",
            tabIndex: -1
          }), this.anchors = this.tabs.map(function() {
            return t("a", this)[0]
          }).addClass("ui-tabs-anchor").attr({
            role: "presentation",
            tabIndex: -1
          }), this.panels = t(), this.anchors.each(function(i, n) {
            var o, a, r, h = t(n).uniqueId().attr("id"),
              l = t(n).closest("li"),
              c = l.attr("aria-controls");
            s(n) ? (o = n.hash, a = e.element.find(e._sanitizeSelector(o))) : (r = e._tabId(l), o = "#" + r, a = e.element.find(o), a.length || (a = e._createPanel(r), a.insertAfter(e.panels[i - 1] || e.tablist)), a.attr("aria-live",
              "polite")), a.length && (e.panels = e.panels.add(a)), c && l.data("ui-tabs-aria-controls", c), l.attr({
              "aria-controls": o.substring(1),
              "aria-labelledby": h
            }), a.attr("aria-labelledby", h)
          }), this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").attr("role", "tabpanel")
        },
        _getList: function() {
          return this.element.find("ol,ul").eq(0)
        },
        _createPanel: function(e) {
          return t("<div>").attr("id", e).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").data("ui-tabs-destroy", !0)
        },
        _setupDisabled: function(e) {
          t.isArray(e) && (e.length ? e.length === this.anchors.length && (e = !0) : e = !1);
          for (var i, s = 0; i = this.tabs[s]; s++) e === !0 || -1 !== t.inArray(s, e) ? t(i).addClass("ui-state-disabled").attr("aria-disabled", "true") : t(i).removeClass("ui-state-disabled").removeAttr("aria-disabled");
          this.options.disabled = e
        },
        _setupEvents: function(e) {
          var i = {
            click: function(t) {
              t.preventDefault()
            }
          };
          e && t.each(e.split(" "), function(t, e) {
            i[e] = "_eventHandler"
          }), this._off(this.anchors.add(this.tabs).add(this.panels)), this._on(this.anchors, i), this._on(this.tabs, {
            keydown: "_tabKeydown"
          }), this._on(this.panels, {
            keydown: "_panelKeydown"
          }), this._focusable(this.tabs), this._hoverable(this.tabs)
        },
        _setupHeightStyle: function(e) {
          var i, s = this.element.parent();
          "fill" === e ? (i = s.height(), i -= this.element.outerHeight() - this.element.height(), this.element.siblings(":visible").each(function() {
            var e = t(this),
              s = e.css("position");
            "absolute" !== s && "fixed" !== s && (i -= e.outerHeight(!0))
          }), this.element.children().not(this.panels).each(function() {
            i -= t(this).outerHeight(!0)
          }), this.panels.each(function() {
            t(this).height(Math.max(0, i - t(this).innerHeight() + t(this).height()))
          }).css("overflow", "auto")) : "auto" === e && (i = 0, this.panels.each(function() {
            i = Math.max(i, t(this).height("").height())
          }).height(i))
        },
        _eventHandler: function(e) {
          var i = this.options,
            s = this.active,
            n = t(e.currentTarget),
            o = n.closest("li"),
            a = o[0] === s[0],
            r = a && i.collapsible,
            h = r ? t() : this._getPanelForTab(o),
            l = s.length ? this._getPanelForTab(s) : t(),
            c = {
              oldTab: s,
              oldPanel: l,
              newTab: r ? t() : o,
              newPanel: h
            };
          e.preventDefault(), o.hasClass("ui-state-disabled") || o.hasClass("ui-tabs-loading") || this.running || a && !i.collapsible || this._trigger("beforeActivate", e, c) === !1 || (i.active = r ? !1 : this.tabs.index(o), this.active = a ?
            t() : o, this.xhr && this.xhr.abort(), l.length || h.length || t.error("jQuery UI Tabs: Mismatching fragment identifier."), h.length && this.load(this.tabs.index(o), e), this._toggle(e, c))
        },
        _toggle: function(e, i) {
          function s() {
            o.running = !1, o._trigger("activate", e, i)
          }

          function n() {
            i.newTab.closest("li").addClass("ui-tabs-active ui-state-active"), a.length && o.options.show ? o._show(a, o.options.show, s) : (a.show(), s())
          }
          var o = this,
            a = i.newPanel,
            r = i.oldPanel;
          this.running = !0, r.length && this.options.hide ? this._hide(r, this.options.hide, function() {
            i.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"), n()
          }) : (i.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"), r.hide(), n()), r.attr({
            "aria-expanded": "false",
            "aria-hidden": "true"
          }), i.oldTab.attr("aria-selected", "false"), a.length && r.length ? i.oldTab.attr("tabIndex", -1) : a.length && this.tabs.filter(function() {
            return 0 === t(this).attr("tabIndex")
          }).attr("tabIndex", -1), a.attr({
            "aria-expanded": "true",
            "aria-hidden": "false"
          }), i.newTab.attr({
            "aria-selected": "true",
            tabIndex: 0
          })
        },
        _activate: function(e) {
          var i, s = this._findActive(e);
          s[0] !== this.active[0] && (s.length || (s = this.active), i = s.find(".ui-tabs-anchor")[0], this._eventHandler({
            target: i,
            currentTarget: i,
            preventDefault: t.noop
          }))
        },
        _findActive: function(e) {
          return e === !1 ? t() : this.tabs.eq(e)
        },
        _getIndex: function(t) {
          return "string" == typeof t && (t = this.anchors.index(this.anchors.filter("[href$='" + t + "']"))), t
        },
        _destroy: function() {
          this.xhr && this.xhr.abort(), this.element.removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible"), this.tablist.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all")
            .removeAttr("role"), this.anchors.removeClass("ui-tabs-anchor").removeAttr("role").removeAttr("tabIndex").removeUniqueId(), this.tabs.add(this.panels).each(function() {
              t.data(this, "ui-tabs-destroy") ? t(this).remove() : t(this).removeClass("ui-state-default ui-state-active ui-state-disabled ui-corner-top ui-corner-bottom ui-widget-content ui-tabs-active ui-tabs-panel").removeAttr("tabIndex")
                .removeAttr("aria-live").removeAttr("aria-busy").removeAttr("aria-selected").removeAttr("aria-labelledby").removeAttr("aria-hidden").removeAttr("aria-expanded").removeAttr("role")
            }), this.tabs.each(function() {
              var e = t(this),
                i = e.data("ui-tabs-aria-controls");
              i ? e.attr("aria-controls", i).removeData("ui-tabs-aria-controls") : e.removeAttr("aria-controls")
            }), this.panels.show(), "content" !== this.options.heightStyle && this.panels.css("height", "")
        },
        enable: function(i) {
          var s = this.options.disabled;
          s !== !1 && (i === e ? s = !1 : (i = this._getIndex(i), s = t.isArray(s) ? t.map(s, function(t) {
            return t !== i ? t : null
          }) : t.map(this.tabs, function(t, e) {
            return e !== i ? e : null
          })), this._setupDisabled(s))
        },
        disable: function(i) {
          var s = this.options.disabled;
          if (s !== !0) {
            if (i === e) s = !0;
            else {
              if (i = this._getIndex(i), -1 !== t.inArray(i, s)) return;
              s = t.isArray(s) ? t.merge([i], s).sort() : [i]
            }
            this._setupDisabled(s)
          }
        },
        load: function(e, i) {
          e = this._getIndex(e);
          var n = this,
            o = this.tabs.eq(e),
            a = o.find(".ui-tabs-anchor"),
            r = this._getPanelForTab(o),
            h = {
              tab: o,
              panel: r
            };
          s(a[0]) || (this.xhr = t.ajax(this._ajaxSettings(a, i, h)), this.xhr && "canceled" !== this.xhr.statusText && (o.addClass("ui-tabs-loading"), r.attr("aria-busy", "true"), this.xhr.success(function(t) {
            setTimeout(function() {
              r.html(t), n._trigger("load", i, h)
            }, 1)
          }).complete(function(t, e) {
            setTimeout(function() {
              "abort" === e && n.panels.stop(!1, !0), o.removeClass("ui-tabs-loading"), r.removeAttr("aria-busy"), t === n.xhr && delete n.xhr
            }, 1)
          })))
        },
        _ajaxSettings: function(e, i, s) {
          var n = this;
          return {
            url: e.attr("href"),
            beforeSend: function(e, o) {
              return n._trigger("beforeLoad", i, t.extend({
                jqXHR: e,
                ajaxSettings: o
              }, s))
            }
          }
        },
        _getPanelForTab: function(e) {
          var i = t(e).attr("aria-controls");
          return this.element.find(this._sanitizeSelector("#" + i))
        }
      })
    }(jQuery),
    function(t) {
      function e(e, i) {
        var s = (e.attr("aria-describedby") || "").split(/\s+/);
        s.push(i), e.data("ui-tooltip-id", i).attr("aria-describedby", t.trim(s.join(" ")))
      }

      function i(e) {
        var i = e.data("ui-tooltip-id"),
          s = (e.attr("aria-describedby") || "").split(/\s+/),
          n = t.inArray(i, s); - 1 !== n && s.splice(n, 1), e.removeData("ui-tooltip-id"), s = t.trim(s.join(" ")), s ? e.attr("aria-describedby", s) : e.removeAttr("aria-describedby")
      }
      var s = 0;
      t.widget("ui.tooltip", {
        version: "1.10.3",
        options: {
          content: function() {
            var e = t(this).attr("title") || "";
            return t("<a>").text(e).html()
          },
          hide: !0,
          items: "[title]:not([disabled])",
          position: {
            my: "left top+15",
            at: "left bottom",
            collision: "flipfit flip"
          },
          show: !0,
          tooltipClass: null,
          track: !1,
          close: null,
          open: null
        },
        _create: function() {
          this._on({
            mouseover: "open",
            focusin: "open"
          }), this.tooltips = {}, this.parents = {}, this.options.disabled && this._disable()
        },
        _setOption: function(e, i) {
          var s = this;
          return "disabled" === e ? (this[i ? "_disable" : "_enable"](), this.options[e] = i, void 0) : (this._super(e, i), "content" === e && t.each(this.tooltips, function(t, e) {
            s._updateContent(e)
          }), void 0)
        },
        _disable: function() {
          var e = this;
          t.each(this.tooltips, function(i, s) {
            var n = t.Event("blur");
            n.target = n.currentTarget = s[0], e.close(n, !0)
          }), this.element.find(this.options.items).addBack().each(function() {
            var e = t(this);
            e.is("[title]") && e.data("ui-tooltip-title", e.attr("title")).attr("title", "")
          })
        },
        _enable: function() {
          this.element.find(this.options.items).addBack().each(function() {
            var e = t(this);
            e.data("ui-tooltip-title") && e.attr("title", e.data("ui-tooltip-title"))
          })
        },
        open: function(e) {
          var i = this,
            s = t(e ? e.target : this.element).closest(this.options.items);
          s.length && !s.data("ui-tooltip-id") && (s.attr("title") && s.data("ui-tooltip-title", s.attr("title")), s.data("ui-tooltip-open", !0), e && "mouseover" === e.type && s.parents().each(function() {
            var e, s = t(this);
            s.data("ui-tooltip-open") && (e = t.Event("blur"), e.target = e.currentTarget = this, i.close(e, !0)), s.attr("title") && (s.uniqueId(), i.parents[this.id] = {
              element: this,
              title: s.attr("title")
            }, s.attr("title", ""))
          }), this._updateContent(s, e))
        },
        _updateContent: function(t, e) {
          var i, s = this.options.content,
            n = this,
            o = e ? e.type : null;
          return "string" == typeof s ? this._open(e, t, s) : (i = s.call(t[0], function(i) {
            t.data("ui-tooltip-open") && n._delay(function() {
              e && (e.type = o), this._open(e, t, i)
            })
          }), i && this._open(e, t, i), void 0)
        },
        _open: function(i, s, n) {
          function o(t) {
            l.of = t, a.is(":hidden") || a.position(l)
          }
          var a, r, h, l = t.extend({}, this.options.position);
          if (n) {
            if (a = this._find(s), a.length) return a.find(".ui-tooltip-content").html(n), void 0;
            s.is("[title]") && (i && "mouseover" === i.type ? s.attr("title", "") : s.removeAttr("title")), a = this._tooltip(s), e(s, a.attr("id")), a.find(".ui-tooltip-content").html(n), this.options.track && i && /^mouse/.test(i.type) ? (
              this._on(this.document, {
                mousemove: o
              }), o(i)) : a.position(t.extend({
              of: s
            }, this.options.position)), a.hide(), this._show(a, this.options.show), this.options.show && this.options.show.delay && (h = this.delayedShow = setInterval(function() {
              a.is(":visible") && (o(l.of), clearInterval(h))
            }, t.fx.interval)), this._trigger("open", i, {
              tooltip: a
            }), r = {
              keyup: function(e) {
                if (e.keyCode === t.ui.keyCode.ESCAPE) {
                  var i = t.Event(e);
                  i.currentTarget = s[0], this.close(i, !0)
                }
              },
              remove: function() {
                this._removeTooltip(a)
              }
            }, i && "mouseover" !== i.type || (r.mouseleave = "close"), i && "focusin" !== i.type || (r.focusout = "close"), this._on(!0, s, r)
          }
        },
        close: function(e) {
          var s = this,
            n = t(e ? e.currentTarget : this.element),
            o = this._find(n);
          this.closing || (clearInterval(this.delayedShow), n.data("ui-tooltip-title") && n.attr("title", n.data("ui-tooltip-title")), i(n), o.stop(!0), this._hide(o, this.options.hide, function() {
            s._removeTooltip(t(this))
          }), n.removeData("ui-tooltip-open"), this._off(n, "mouseleave focusout keyup"), n[0] !== this.element[0] && this._off(n, "remove"), this._off(this.document, "mousemove"), e && "mouseleave" === e.type && t.each(this.parents,
            function(e, i) {
              t(i.element).attr("title", i.title), delete s.parents[e]
            }), this.closing = !0, this._trigger("close", e, {
            tooltip: o
          }), this.closing = !1)
        },
        _tooltip: function(e) {
          var i = "ui-tooltip-" + s++,
            n = t("<div>").attr({
              id: i,
              role: "tooltip"
            }).addClass("ui-tooltip ui-widget ui-corner-all ui-widget-content " + (this.options.tooltipClass || ""));
          return t("<div>").addClass("ui-tooltip-content").appendTo(n), n.appendTo(this.document[0].body), this.tooltips[i] = e, n
        },
        _find: function(e) {
          var i = e.data("ui-tooltip-id");
          return i ? t("#" + i) : t()
        },
        _removeTooltip: function(t) {
          t.remove(), delete this.tooltips[t.attr("id")]
        },
        _destroy: function() {
          var e = this;
          t.each(this.tooltips, function(i, s) {
            var n = t.Event("blur");
            n.target = n.currentTarget = s[0], e.close(n, !0), t("#" + i).remove(), s.data("ui-tooltip-title") && (s.attr("title", s.data("ui-tooltip-title")), s.removeData("ui-tooltip-title"))
          })
        }
      })
    }(jQuery);
  </script>
  <script type="text/javascript">
    var ajaxProcessingLoaderPleaseWait = 'Please wait...';
    var ajaxProcessingLoaderMessage = 'Please wait, this will take just a few moments'
  </script>
  <script type="text/javascript">
    jQuery(function() {
      var procLoaderHTML = "<div id=\"divGlobalAjaxProgress\" style=\"display: none;\"><div class=\"dvGlobalAjaxLoader\"></div><div class=\"dvGlobalAjaxLoader_wrapper\">  \
            <div class=\"dvGlobalAjaxContent\"><table style=\"width: 100%;padding:0px !important;margin:0px !important;\"><tr><td style=\"width: 40px;\"> \
                <div style=\"float: left; padding-right: 5px; padding-top: 12px;\" class=\"pglobalAjaxContent\">  \
                       <img style=\"margin: 0px auto;\" src='/Images/blue-ajax-loader.gif'>\
                  </div></td><td>\
               <div class=\"pglobalAjaxContent\"> \
                    <span style=\"font-size: 21px; color: #2392C9;display:inline-block; margin-bottom: 2px;font-weight:bold\" id=\"loadingMsgGlobal\">" + ajaxProcessingLoaderPleaseWait +
        "</span><br /><span style=\"margin-top:5px;\" id=\"loadingMsgGlobal2\"> " + ajaxProcessingLoaderMessage + " </span> \
                </div></td></tr></table>\
            </div> \
        </div> \
    </div>";
      jQuery('body').append(procLoaderHTML);
    });

    function displayAjaxProcessingLoader(msg, msg2) {
      if (msg.length <= 0) {
        msg = 'Processing...';
      }
      if (msg2.length <= 0) {
        msg2 = 'Please wait, this will take just a few moments';
      }
      jQuery('#loadingMsgGlobal').html(msg);
      jQuery('#loadingMsgGlobal2').html(msg2);
      jQuery('#divGlobalAjaxProgress').show();
    }

    function hideAjaxProcessingLoad() {
      jQuery('#divGlobalAjaxProgress').hide();
    }
    jQuery(document).ready(function() {
      /*added by Jam on 08172017 for adding a calss on divGlobalAjaxProgress when switching languages*/
      jQuery('[id$="ddlCultures"]').on('change', function() {
        jQuery('#divGlobalAjaxProgress').addClass('language-change');
      });
      /*End added by Jam*/
      hideAjaxProcessingLoad();
    });
  </script>
  <script type="text/javascript">
    /**
     * jQuery Cookie plugin
     *
     * Copyright (c) 2010 Klaus Hartl (stilbuero.de)
     * Dual licensed under the MIT and GPL licenses:
     * http://www.opensource.org/licenses/mit-license.php
     * http://www.gnu.org/licenses/gpl.html
     *
     */
    jQuery.cookie = function(key, value, options) {
      // key and at least value given, set cookie...
      if (arguments.length > 1 && String(value) !== "[object Object]") {
        options = jQuery.extend({}, options);
        if (value === null || value === undefined) {
          options.expires = -1;
        }
        if (typeof options.expires === 'number') {
          var days = options.expires,
            t = options.expires = new Date();
          t.setDate(t.getDate() + days);
        }
        value = String(value);
        return (document.cookie = [
          encodeURIComponent(key), '=',
          options.raw ? value : encodeURIComponent(value),
          options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE
          options.path ? '; path=' + options.path : '',
          options.domain ? '; domain=' + options.domain : '',
          options.secure ? '; secure' : ''
        ].join(''));
      }
      // key and possibly options given, get cookie...
      options = value || {};
      var result, decode = options.raw ? function(s) {
        return s;
      } : decodeURIComponent;
      return (result = new RegExp('(?:^|; )' + encodeURIComponent(key) + '=([^;]*)').exec(document.cookie)) ? decode(result[1]) : null;
    };
  </script>
  <script type="text/javascript">
    var CanvasImage = function(a) {
      this.canvas = document.createElement("canvas"), this.context = this.canvas.getContext("2d"), document.body.appendChild(this.canvas), this.width = this.canvas.width = a.width, this.height = this.canvas.height = a.height, this.context
        .drawImage(a, 0, 0, this.width, this.height)
    };
    CanvasImage.prototype.clear = function() {
      this.context.clearRect(0, 0, this.width, this.height)
    }, CanvasImage.prototype.update = function(a) {
      this.context.putImageData(a, 0, 0)
    }, CanvasImage.prototype.getPixelCount = function() {
      return this.width * this.height
    }, CanvasImage.prototype.getImageData = function() {
      return this.context.getImageData(0, 0, this.width, this.height)
    }, CanvasImage.prototype.removeCanvas = function() {
      this.canvas.parentNode.removeChild(this.canvas)
    };
    var ColorThief = function() {};
    if (ColorThief.prototype.getColor = function(a, b) {
        var c = this.getPalette(a, 5, b),
          d = c[0];
        return d
      }, ColorThief.prototype.getPalette = function(a, b, c) {
        "undefined" == typeof b && (b = 10), "undefined" == typeof c && (c = 10);
        for (var j, k, l, m, n, d = new CanvasImage(a), e = d.getImageData(), f = e.data, g = d.getPixelCount(), h = [], i = 0; i < g; i += c) j = 4 * i, k = f[j + 0], l = f[j + 1], m = f[j + 2], n = f[j + 3], n >= 125 && (k > 250 && l > 250 && m >
          250 || h.push([k, l, m]));
        var o = MMCQ.quantize(h, b),
          p = o.palette();
        return d.removeCanvas(), p
      }, !pv) var pv = {
      map: function(a, b) {
        var c = {};
        return b ? a.map(function(a, d) {
          return c.index = d, b.call(c, a)
        }) : a.slice()
      },
      naturalOrder: function(a, b) {
        return a < b ? -1 : a > b ? 1 : 0
      },
      sum: function(a, b) {
        var c = {};
        return a.reduce(b ? function(a, d, e) {
          return c.index = e, a + b.call(c, d)
        } : function(a, b) {
          return a + b
        }, 0)
      },
      max: function(a, b) {
        return Math.max.apply(null, b ? pv.map(a, b) : a)
      }
    };
    var MMCQ = function() {
      function e(b, c, d) {
        return (b << 2 * a) + (c << a) + d
      }

      function f(a) {
        function d() {
          b.sort(a), c = !0
        }
        var b = [],
          c = !1;
        return {
          push: function(a) {
            b.push(a), c = !1
          },
          peek: function(a) {
            return c || d(), void 0 === a && (a = b.length - 1), b[a]
          },
          pop: function() {
            return c || d(), b.pop()
          },
          size: function() {
            return b.length
          },
          map: function(a) {
            return b.map(a)
          },
          debug: function() {
            return c || d(), b
          }
        }
      }

      function g(a, b, c, d, e, f, g) {
        var h = this;
        h.r1 = a, h.r2 = b, h.g1 = c, h.g2 = d, h.b1 = e, h.b2 = f, h.histo = g
      }

      function h() {
        this.vboxes = new f(function(a, b) {
          return pv.naturalOrder(a.vbox.count() * a.vbox.volume(), b.vbox.count() * b.vbox.volume())
        })
      }

      function i(c) {
        var g, h, i, j, d = 1 << 3 * a,
          f = new Array(d);
        return c.forEach(function(a) {
          h = a[0] >> b, i = a[1] >> b, j = a[2] >> b, g = e(h, i, j), f[g] = (f[g] || 0) + 1
        }), f
      }

      function j(a, c) {
        var k, l, m, d = 1e6,
          e = 0,
          f = 1e6,
          h = 0,
          i = 1e6,
          j = 0;
        return a.forEach(function(a) {
          k = a[0] >> b, l = a[1] >> b, m = a[2] >> b, k < d ? d = k : k > e && (e = k), l < f ? f = l : l > h && (h = l), m < i ? i = m : m > j && (j = m)
        }), new g(d, e, f, h, i, j, c)
      }

      function k(a, b) {
        function p(a) {
          var e, f, g, l, m, c = a + "1",
            d = a + "2",
            n = 0;
          for (k = b[c]; k <= b[d]; k++)
            if (i[k] > h / 2) {
              for (g = b.copy(), l = b.copy(), e = k - b[c], f = b[d] - k, m = e <= f ? Math.min(b[d] - 1, ~~(k + f / 2)) : Math.max(b[c], ~~(k - 1 - e / 2)); !i[m];) m++;
              for (n = j[m]; !n && i[m - 1];) n = j[--m];
              return g[d] = m, l[c] = g[d] + 1, [g, l]
            }
        }
        if (b.count()) {
          var c = b.r2 - b.r1 + 1,
            d = b.g2 - b.g1 + 1,
            f = b.b2 - b.b1 + 1,
            g = pv.max([c, d, f]);
          if (1 == b.count()) return [b.copy()];
          var k, l, m, n, o, h = 0,
            i = [],
            j = [];
          if (g == c)
            for (k = b.r1; k <= b.r2; k++) {
              for (n = 0, l = b.g1; l <= b.g2; l++)
                for (m = b.b1; m <= b.b2; m++) o = e(k, l, m), n += a[o] || 0;
              h += n, i[k] = h
            } else if (g == d)
              for (k = b.g1; k <= b.g2; k++) {
                for (n = 0, l = b.r1; l <= b.r2; l++)
                  for (m = b.b1; m <= b.b2; m++) o = e(l, k, m), n += a[o] || 0;
                h += n, i[k] = h
              } else
                for (k = b.b1; k <= b.b2; k++) {
                  for (n = 0, l = b.r1; l <= b.r2; l++)
                    for (m = b.g1; m <= b.g2; m++) o = e(l, m, k), n += a[o] || 0;
                  h += n, i[k] = h
                }
          return i.forEach(function(a, b) {
            j[b] = h - a
          }), p(g == c ? "r" : g == d ? "g" : "b")
        }
      }

      function l(b, e) {
        function p(a, b) {
          for (var f, d = 1, e = 0; e < c;)
            if (f = a.pop(), f.count()) {
              var h = k(g, f),
                i = h[0],
                j = h[1];
              if (!i) return;
              if (a.push(i), j && (a.push(j), d++), d >= b) return;
              if (e++ > c) return
            } else a.push(f), e++
        }
        if (!b.length || e < 2 || e > 256) return !1;
        var g = i(b),
          m = 0;
        g.forEach(function() {
          m++
        });
        var n = j(b, g),
          o = new f(function(a, b) {
            return pv.naturalOrder(a.count(), b.count())
          });
        o.push(n), p(o, d * e);
        for (var q = new f(function(a, b) {
            return pv.naturalOrder(a.count() * a.volume(), b.count() * b.volume())
          }); o.size();) q.push(o.pop());
        p(q, e - q.size());
        for (var r = new h; q.size();) r.push(q.pop());
        return r
      }
      var a = 5,
        b = 8 - a,
        c = 1e3,
        d = .75;
      return g.prototype = {
        volume: function(a) {
          var b = this;
          return b._volume && !a || (b._volume = (b.r2 - b.r1 + 1) * (b.g2 - b.g1 + 1) * (b.b2 - b.b1 + 1)), b._volume
        },
        count: function(a) {
          var b = this,
            c = b.histo;
          if (!b._count_set || a) {
            var f, g, h, d = 0;
            for (f = b.r1; f <= b.r2; f++)
              for (g = b.g1; g <= b.g2; g++)
                for (h = b.b1; h <= b.b2; h++) index = e(f, g, h), d += c[index] || 0;
            b._count = d, b._count_set = !0
          }
          return b._count
        },
        copy: function() {
          var a = this;
          return new g(a.r1, a.r2, a.g1, a.g2, a.b1, a.b2, a.histo)
        },
        avg: function(b) {
          var c = this,
            d = c.histo;
          if (!c._avg || b) {
            var k, l, m, n, o, f = 0,
              g = 1 << 8 - a,
              h = 0,
              i = 0,
              j = 0;
            for (l = c.r1; l <= c.r2; l++)
              for (m = c.g1; m <= c.g2; m++)
                for (n = c.b1; n <= c.b2; n++) o = e(l, m, n), k = d[o] || 0, f += k, h += k * (l + .5) * g, i += k * (m + .5) * g, j += k * (n + .5) * g;
            f ? c._avg = [~~(h / f), ~~(i / f), ~~(j / f)] : c._avg = [~~(g * (c.r1 + c.r2 + 1) / 2), ~~(g * (c.g1 + c.g2 + 1) / 2), ~~(g * (c.b1 + c.b2 + 1) / 2)]
          }
          return c._avg
        },
        contains: function(a) {
          var c = this,
            d = a[0] >> b;
          return gval = a[1] >> b, bval = a[2] >> b, d >= c.r1 && d <= c.r2 && gval >= c.g1 && gval <= c.g2 && bval >= c.b1 && bval <= c.b2
        }
      }, h.prototype = {
        push: function(a) {
          this.vboxes.push({
            vbox: a,
            color: a.avg()
          })
        },
        palette: function() {
          return this.vboxes.map(function(a) {
            return a.color
          })
        },
        size: function() {
          return this.vboxes.size()
        },
        map: function(a) {
          for (var b = this.vboxes, c = 0; c < b.size(); c++)
            if (b.peek(c).vbox.contains(a)) return b.peek(c).color;
          return this.nearest(a)
        },
        nearest: function(a) {
          for (var c, d, e, b = this.vboxes, f = 0; f < b.size(); f++) d = Math.sqrt(Math.pow(a[0] - b.peek(f).color[0], 2) + Math.pow(a[1] - b.peek(f).color[1], 2) + Math.pow(a[2] - b.peek(f).color[2], 2)), (d < c || void 0 === c) && (c = d,
            e = b.peek(f).color);
          return e
        },
        forcebw: function() {
          var a = this.vboxes;
          a.sort(function(a, b) {
            return pv.naturalOrder(pv.sum(a.color), pv.sum(b.color))
          });
          var b = a[0].color;
          b[0] < 5 && b[1] < 5 && b[2] < 5 && (a[0].color = [0, 0, 0]);
          var c = a.length - 1,
            d = a[c].color;
          d[0] > 251 && d[1] > 251 && d[2] > 251 && (a[c].color = [255, 255, 255])
        }
      }, {
        quantize: l
      }
    }();
  </script>
  <script type="text/javascript">
    ! function(a) {
      a.oajax = a.ajax, a.xhr_reference_index = [], a.ajax = function(b) {
        var c = jQuery.extend(!0, {
          singleton: !1,
          delay: 0,
          blocking: !1,
          index_key: b.url
        }, b);
        if (xhr_ref = a.xhr_reference_index[c.index_key], c.singleton && void 0 != xhr_ref) {
          if (c.blocking) return xhr_ref.xhr;
          void 0 != xhr_ref.xhr && xhr_ref.xhr.abort(), clearTimeout(xhr_ref.timer), a.clear_xhr_refs(c.index_key)
        }
        return c.delay > 0 ? (a.xhr_reference_index[c.index_key] = {
          xhr: void 0,
          timer: void 0,
          callback: function() {
            a.xhr_reference_index[c.index_key].xhr = a.oajax(c)
          }
        }, a.xhr_reference_index[c.index_key].timer = setTimeout("jQuery.xhr_reference_index['" + c.index_key + "'].callback();", parseInt(c.delay)), a.xhr_reference_index[c.index_key].timer) : (a.xhr_reference_index[c.index_key] = {
          xhr: a.oajax(c),
          timer: void 0,
          callback: function() {}
        }, a.xhr_reference_index[c.index_key].xhr)
      }, a.clear_xhr_refs = function(b) {
        a.xhr_reference_index[b] = void 0
      }
    }(jQuery), jQuery(document).ajaxComplete(function(a, b, c) {
      (jQuery.isFunction(jQuery.fn.clear_xhr_refs) || "function" == jQuery({}).clear_xhr_refs) && jQuery.clear_xhr_refs(c.index_key)
    });
  </script>
  <script type="text/javascript">
    //Added by Jayjay 141223 - Task 8387
    var OrderCurrentStep;

    function SetOrderCurrentStep(stepNumber) {
      OrderCurrentStep = stepNumber;
    }
    //End Added by Jayjay 141223 - Task 8387
  </script>
  <script type="text/javascript">
    /*!
     * Bowser - a browser detector
     * https://github.com/ded/bowser
     * MIT License | (c) Dustin Diaz 2014
     */
    ! function(name, definition) {
      if (typeof module != 'undefined' && module.exports) module.exports['browser'] = definition()
      else if (typeof define == 'function' && define.amd) define(definition)
      else this[name] = definition()
    }('bowser', function() {
      /**
       * See useragents.js for examples of navigator.userAgent
       */
      var t = true

      function detect(ua) {
        function getFirstMatch(regex) {
          var match = ua.match(regex);
          return (match && match.length > 1 && match[1]) || '';
        }
        var iosdevice = getFirstMatch(/(ipod|iphone|ipad)/i).toLowerCase(),
          likeAndroid = /like android/i.test(ua),
          android = !likeAndroid && /android/i.test(ua),
          versionIdentifier = getFirstMatch(/version\/(\d+(\.\d+)?)/i),
          tablet = /tablet/i.test(ua),
          mobile = !tablet && /[^-]mobi/i.test(ua),
          result
        if (/opera|opr/i.test(ua)) {
          result = {
            name: 'Opera',
            opera: t,
            version: versionIdentifier || getFirstMatch(/(?:opera|opr)[\s\/](\d+(\.\d+)?)/i)
          }
        } else if (/windows phone/i.test(ua)) {
          result = {
            name: 'Windows Phone',
            windowsphone: t,
            msie: t,
            version: getFirstMatch(/iemobile\/(\d+(\.\d+)?)/i)
          }
        } else if (/msie|trident/i.test(ua)) {
          result = {
            name: 'Internet Explorer',
            msie: t,
            version: getFirstMatch(/(?:msie |rv:)(\d+(\.\d+)?)/i)
          }
        } else if (/chrome|crios|crmo/i.test(ua)) {
          result = {
            name: 'Chrome',
            chrome: t,
            version: getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)
          }
        } else if (iosdevice) {
          result = {
            name: iosdevice == 'iphone' ? 'iPhone' : iosdevice == 'ipad' ? 'iPad' : 'iPod'
          }
          // WTF: version is not part of user agent in web apps
          if (versionIdentifier) {
            result.version = versionIdentifier
          }
        } else if (/sailfish/i.test(ua)) {
          result = {
            name: 'Sailfish',
            sailfish: t,
            version: getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i)
          }
        } else if (/seamonkey\//i.test(ua)) {
          result = {
            name: 'SeaMonkey',
            seamonkey: t,
            version: getFirstMatch(/seamonkey\/(\d+(\.\d+)?)/i)
          }
        } else if (/firefox|iceweasel/i.test(ua)) {
          result = {
            name: 'Firefox',
            firefox: t,
            version: getFirstMatch(/(?:firefox|iceweasel)[ \/](\d+(\.\d+)?)/i)
          }
          if (/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(ua)) {
            result.firefoxos = t
          }
        } else if (/silk/i.test(ua)) {
          result = {
            name: 'Amazon Silk',
            silk: t,
            version: getFirstMatch(/silk\/(\d+(\.\d+)?)/i)
          }
        } else if (android) {
          result = {
            name: 'Android',
            version: versionIdentifier
          }
        } else if (/phantom/i.test(ua)) {
          result = {
            name: 'PhantomJS',
            phantom: t,
            version: getFirstMatch(/phantomjs\/(\d+(\.\d+)?)/i)
          }
        } else if (/blackberry|\bbb\d+/i.test(ua) || /rim\stablet/i.test(ua)) {
          result = {
            name: 'BlackBerry',
            blackberry: t,
            version: versionIdentifier || getFirstMatch(/blackberry[\d]+\/(\d+(\.\d+)?)/i)
          }
        } else if (/(web|hpw)os/i.test(ua)) {
          result = {
            name: 'WebOS',
            webos: t,
            version: versionIdentifier || getFirstMatch(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)
          };
          /touchpad\//i.test(ua) && (result.touchpad = t)
        } else if (/bada/i.test(ua)) {
          result = {
            name: 'Bada',
            bada: t,
            version: getFirstMatch(/dolfin\/(\d+(\.\d+)?)/i)
          };
        } else if (/tizen/i.test(ua)) {
          result = {
            name: 'Tizen',
            tizen: t,
            version: getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i) || versionIdentifier
          };
        } else if (/safari/i.test(ua)) {
          result = {
            name: 'Safari',
            safari: t,
            version: versionIdentifier
          }
        } else result = {}
        // set webkit or gecko flag for browsers based on these engines
        if (/(apple)?webkit/i.test(ua)) {
          result.name = result.name || "Webkit"
          result.webkit = t
          if (!result.version && versionIdentifier) {
            result.version = versionIdentifier
          }
        } else if (!result.opera && /gecko\//i.test(ua)) {
          result.name = result.name || "Gecko"
          result.gecko = t
          result.version = result.version || getFirstMatch(/gecko\/(\d+(\.\d+)?)/i)
        }
        // set OS flags for platforms that have multiple browsers
        if (android || result.silk) {
          result.android = t
        } else if (iosdevice) {
          result[iosdevice] = t
          result.ios = t
        }
        // OS version extraction
        var osVersion = '';
        if (iosdevice) {
          osVersion = getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i);
          osVersion = osVersion.replace(/[_\s]/g, '.');
        } else if (android) {
          osVersion = getFirstMatch(/android[ \/-](\d+(\.\d+)*)/i);
        } else if (result.windowsphone) {
          osVersion = getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i);
        } else if (result.webos) {
          osVersion = getFirstMatch(/(?:web|hpw)os\/(\d+(\.\d+)*)/i);
        } else if (result.blackberry) {
          osVersion = getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i);
        } else if (result.bada) {
          osVersion = getFirstMatch(/bada\/(\d+(\.\d+)*)/i);
        } else if (result.tizen) {
          osVersion = getFirstMatch(/tizen[\/\s](\d+(\.\d+)*)/i);
        }
        if (osVersion) {
          result.osversion = osVersion;
        }
        // device type extraction
        var osMajorVersion = osVersion.split('.')[0];
        if (tablet || iosdevice == 'ipad' || (android && (osMajorVersion == 3 || (osMajorVersion == 4 && !mobile))) || result.silk) {
          result.tablet = t
        } else if (mobile || iosdevice == 'iphone' || iosdevice == 'ipod' || android || result.blackberry || result.webos || result.bada) {
          result.mobile = t
        }
        // Graded Browser Support
        // http://developer.yahoo.com/yui/articles/gbs
        if ((result.msie && result.version >= 10) || (result.chrome && result.version >= 20) || (result.firefox && result.version >= 20.0) || (result.safari && result.version >= 6) || (result.opera && result.version >= 10.0) || (result.ios &&
            result.osversion && result.osversion.split(".")[0] >= 6) || (result.blackberry && result.version >= 10.1)) {
          result.a = t;
        } else if ((result.msie && result.version < 10) || (result.chrome && result.version < 20) || (result.firefox && result.version < 20.0) || (result.safari && result.version < 6) || (result.opera && result.version < 10.0) || (result.ios &&
            result.osversion && result.osversion.split(".")[0] < 6)) {
          result.c = t
        } else result.x = t
        return result
      }
      var bowser = detect(typeof navigator !== 'undefined' ? navigator.userAgent : '')
      /*
       * Set our detect method to the main bowser object so we can
       * reuse it to test other user agents.
       * This is needed to implement future tests.
       */
      bowser._detect = detect;
      return bowser
    });
  </script>
  <script type="text/javascript">
    var errorMessage = 'Please use an up to date version of chrome, firefox or internet explorer';

    function RunErrorMessage() {
      var pageSkinBrowserMessage1 = languageTranslation('We have detected that your browser is:');
      var pageSkinBrowserMessage2 = languageTranslation('Your browser is out of date and some of the site functions may not work');
      var pageSkinBrowserMessage3 = languageTranslation('Please use an up to date version of chrome, firefox or internet explorer');
      if (jQuery('#html5').length != 0) {
        jQuery('#html5').prepend(
          '<div id="browserBanner" style="width: 100%; height: 100px; min-width: 1020px; background-color: red; margin: 0 auto;"><i class="fa fa-close" style="margin: 0 !important; position: absolute; top: 0.2%; left: 98%; color: #fff; cursor: pointer; font-size: 25px;" title="Ignore this message" onclick="sessionStorage.setItem(\'removeThisMessage\', true\);jQuery(\'#browserBanner\').css(\'display\', \'none\');"></i><h1 style="margin: 0 !important; font: 20px Arial; text-align: center; color: #fff;">' +
          pageSkinBrowserMessage1 + '</h1><h1 style="margin: 0 !important; font: 20px Arial; text-align: center; color: #fff;">' + bowser.name + ' version: ' + bowser.version +
          '</h1><h1 style="margin: 0 !important; font: 20px Arial; text-align: center; color: white; background-color: red; display: block; height: 23px; text-transform: uppercase;">' + pageSkinBrowserMessage2 +
          '</h1><h1 style="margin: 0 !important; font: 20px Arial; text-align: center; color: #fff; text-transform: uppercase"> ' + pageSkinBrowserMessage3 + '</h1></div>');
      } else {
        jQuery('.divWrapper').prepend(
          '<div id="browserBanner" style="width: 100%; height: 100px; min-width: 1020px; background-color: red; margin: 0 auto;"><i class="fa fa-close" style="margin: 0 !important; position: absolute; top: 0.2%; left: 98%; color: #fff; cursor: pointer; font-size: 25px;" title="Ignore this message" onclick="sessionStorage.setItem(\'removeThisMessage\', true\);jQuery(\'#browserBanner\').css(\'display\', \'none\');"></i><h1 style="margin: 0 !important; font: 20px Arial; text-align: center; color: #fff;">' +
          pageSkinBrowserMessage1 + '</h1><h1 style="margin: 0 !important; font: 20px Arial; text-align: center; color: #fff;">' + bowser.name + ' version: ' + bowser.version +
          '</h1><h1 style="margin: 0 !important; font: 20px Arial; text-align: center; color: white; background-color: red; display: block; height: 23px; text-transform: uppercase;">' + pageSkinBrowserMessage2 +
          '</h1><h1 style="margin: 0 !important; font: 20px Arial; text-align: center; color: #fff; text-transform: uppercase"> ' + pageSkinBrowserMessage3 + '</h1></div>');
        /*console.log(pageSkinBrowserMessage1);
        console.log(pageSkinBrowserMessage2);
        console.log(pageSkinBrowserMessage3);*/
      }
    }

    function languageTranslation(key) {
      var value;
      jQuery.ajax({
        type: "POST",
        contentType: "application/json; charset=utf-8",
        async: false,
        url: '/WebServices/WSApplicationUsers.asmx/TranslateText',
        data: "{ 'key' : '" + key + "' }",
        dataType: "json",
        success: function(data) {
          value = data.d;
        }
      });
      return value;
    }

    function loadColor() {
      /*console.log('Color Loaded');*/
    }
    jQuery(document).ready(function() {
      if (sessionStorage.getItem('removeThisMessage') == 'true') {
        jQuery('#browserBanner').css('display', 'none !important');
      } else if (bowser.name == "Safari" && bowser.version <= 5.1) {
        RunErrorMessage();
      } else if (bowser.name == "Internet Explorer" && parseInt(bowser.version) < 9) {
        RunErrorMessage();
      } else if (window.location.href.indexOf('deployfromhere') != -1) {
        RunErrorMessage();
        console.log('True');
      }
    });
  </script>
  <script type="text/javascript">
    /*!
	Colorbox 1.6.4
	license: MIT
	http://www.jacklmoore.com/colorbox
*/
    (function(t, e, i) {
      function n(i, n, o) {
        var r = e.createElement(i);
        return n && (r.id = Z + n), o && (r.style.cssText = o), t(r)
      }

      function o() {
        return i.innerHeight ? i.innerHeight : t(i).height()
      }

      function r(e, i) {
        i !== Object(i) && (i = {}), this.cache = {}, this.el = e, this.value = function(e) {
          var n;
          return void 0 === this.cache[e] && (n = t(this.el).attr("data-cbox-" + e), void 0 !== n ? this.cache[e] = n : void 0 !== i[e] ? this.cache[e] = i[e] : void 0 !== X[e] && (this.cache[e] = X[e])), this.cache[e]
        }, this.get = function(e) {
          var i = this.value(e);
          return t.isFunction(i) ? i.call(this.el, this) : i
        }
      }

      function h(t) {
        var e = W.length,
          i = (A + t) % e;
        return 0 > i ? e + i : i
      }

      function a(t, e) {
        return Math.round((/%/.test(t) ? ("x" === e ? E.width() : o()) / 100 : 1) * parseInt(t, 10))
      }

      function s(t, e) {
        return t.get("photo") || t.get("photoRegex").test(e)
      }

      function l(t, e) {
        return t.get("retinaUrl") && i.devicePixelRatio > 1 ? e.replace(t.get("photoRegex"), t.get("retinaSuffix")) : e
      }

      function d(t) {
        "contains" in x[0] && !x[0].contains(t.target) && t.target !== v[0] && (t.stopPropagation(), x.focus())
      }

      function c(t) {
        c.str !== t && (x.add(v).removeClass(c.str).addClass(t), c.str = t)
      }

      function g(e) {
        A = 0, e && e !== !1 && "nofollow" !== e ? (W = t("." + te).filter(function() {
          var i = t.data(this, Y),
            n = new r(this, i);
          return n.get("rel") === e
        }), A = W.index(_.el), -1 === A && (W = W.add(_.el), A = W.length - 1)) : W = t(_.el)
      }

      function u(i) {
        t(e).trigger(i), ae.triggerHandler(i)
      }

      function f(i) {
        var o;
        if (!G) {
          if (o = t(i).data(Y), _ = new r(i, o), g(_.get("rel")), !U) {
            U = $ = !0, c(_.get("className")), x.css({
              visibility: "hidden",
              display: "block",
              opacity: ""
            }), I = n(se, "LoadedContent", "width:0; height:0; overflow:hidden; visibility:hidden"), b.css({
              width: "",
              height: ""
            }).append(I), j = T.height() + k.height() + b.outerHeight(!0) - b.height(), D = C.width() + H.width() + b.outerWidth(!0) - b.width(), N = I.outerHeight(!0), z = I.outerWidth(!0);
            var h = a(_.get("initialWidth"), "x"),
              s = a(_.get("initialHeight"), "y"),
              l = _.get("maxWidth"),
              f = _.get("maxHeight");
            _.w = Math.max((l !== !1 ? Math.min(h, a(l, "x")) : h) - z - D, 0), _.h = Math.max((f !== !1 ? Math.min(s, a(f, "y")) : s) - N - j, 0), I.css({
              width: "",
              height: _.h
            }), J.position(), u(ee), _.get("onOpen"), O.add(F).hide(), x.focus(), _.get("trapFocus") && e.addEventListener && (e.addEventListener("focus", d, !0), ae.one(re, function() {
              e.removeEventListener("focus", d, !0)
            })), _.get("returnFocus") && ae.one(re, function() {
              t(_.el).focus()
            })
          }
          var p = parseFloat(_.get("opacity"));
          v.css({
            opacity: p === p ? p : "",
            cursor: _.get("overlayClose") ? "pointer" : "",
            visibility: "visible"
          }).show(), _.get("closeButton") ? B.html(_.get("close")).appendTo(b) : B.appendTo("<div/>"), w()
        }
      }

      function p() {
        x || (V = !1, E = t(i), x = n(se).attr({
          id: Y,
          "class": t.support.opacity === !1 ? Z + "IE" : "",
          role: "dialog",
          tabindex: "-1"
        }).hide(), v = n(se, "Overlay").hide(), L = t([n(se, "LoadingOverlay")[0], n(se, "LoadingGraphic")[0]]), y = n(se, "Wrapper"), b = n(se, "Content").append(F = n(se, "Title"), R = n(se, "Current"), P = t('<button type="button"/>').attr({
          id: Z + "Previous"
        }), K = t('<button type="button"/>').attr({
          id: Z + "Next"
        }), S = t('<button type="button"/>').attr({
          id: Z + "Slideshow"
        }), L), B = t('<button type="button"/>').attr({
          id: Z + "Close"
        }), y.append(n(se).append(n(se, "TopLeft"), T = n(se, "TopCenter"), n(se, "TopRight")), n(se, !1, "clear:left").append(C = n(se, "MiddleLeft"), b, H = n(se, "MiddleRight")), n(se, !1, "clear:left").append(n(se, "BottomLeft"), k = n(se,
          "BottomCenter"), n(se, "BottomRight"))).find("div div").css({
          "float": "left"
        }), M = n(se, !1, "position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;"), O = K.add(P).add(R).add(S)), e.body && !x.parent().length && t(e.body).append(v, x.append(y, M))
      }

      function m() {
        function i(t) {
          t.which > 1 || t.shiftKey || t.altKey || t.metaKey || t.ctrlKey || (t.preventDefault(), f(this))
        }
        return x ? (V || (V = !0, K.click(function() {
          J.next()
        }), P.click(function() {
          J.prev()
        }), B.click(function() {
          J.close()
        }), v.click(function() {
          _.get("overlayClose") && J.close()
        }), t(e).bind("keydown." + Z, function(t) {
          var e = t.keyCode;
          U && _.get("escKey") && 27 === e && (t.preventDefault(), J.close()), U && _.get("arrowKey") && W[1] && !t.altKey && (37 === e ? (t.preventDefault(), P.click()) : 39 === e && (t.preventDefault(), K.click()))
        }), t.isFunction(t.fn.on) ? t(e).on("click." + Z, "." + te, i) : t("." + te).live("click." + Z, i)), !0) : !1
      }

      function w() {
        var e, o, r, h = J.prep,
          d = ++le;
        if ($ = !0, q = !1, u(he), u(ie), _.get("onLoad"), _.h = _.get("height") ? a(_.get("height"), "y") - N - j : _.get("innerHeight") && a(_.get("innerHeight"), "y"), _.w = _.get("width") ? a(_.get("width"), "x") - z - D : _.get(
          "innerWidth") && a(_.get("innerWidth"), "x"), _.mw = _.w, _.mh = _.h, _.get("maxWidth") && (_.mw = a(_.get("maxWidth"), "x") - z - D, _.mw = _.w && _.w < _.mw ? _.w : _.mw), _.get("maxHeight") && (_.mh = a(_.get("maxHeight"), "y") - N -
            j, _.mh = _.h && _.h < _.mh ? _.h : _.mh), e = _.get("href"), Q = setTimeout(function() {
            L.show()
          }, 100), _.get("inline")) {
          var c = t(e).eq(0);
          r = t("<div>").hide().insertBefore(c), ae.one(he, function() {
            r.replaceWith(c)
          }), h(c)
        } else _.get("iframe") ? h(" ") : _.get("html") ? h(_.get("html")) : s(_, e) ? (e = l(_, e), q = _.get("createImg"), t(q).addClass(Z + "Photo").bind("error." + Z, function() {
          h(n(se, "Error").html(_.get("imgError")))
        }).one("load", function() {
          d === le && setTimeout(function() {
            var e;
            _.get("retinaImage") && i.devicePixelRatio > 1 && (q.height = q.height / i.devicePixelRatio, q.width = q.width / i.devicePixelRatio), _.get("scalePhotos") && (o = function() {
              q.height -= q.height * e, q.width -= q.width * e
            }, _.mw && q.width > _.mw && (e = (q.width - _.mw) / q.width, o()), _.mh && q.height > _.mh && (e = (q.height - _.mh) / q.height, o())), _.h && (q.style.marginTop = Math.max(_.mh - q.height, 0) / 2 + "px"), W[1] && (_.get(
              "loop") || W[A + 1]) && (q.style.cursor = "pointer", t(q).bind("click." + Z, function() {
              J.next()
            })), q.style.width = q.width + "px", q.style.height = q.height + "px", h(q)
          }, 1)
        }), q.src = e) : e && M.load(e, _.get("data"), function(e, i) {
          d === le && h("error" === i ? n(se, "Error").html(_.get("xhrError")) : t(this).contents())
        })
      }
      var v, x, y, b, T, C, H, k, W, E, I, M, L, F, R, S, K, P, B, O, _, j, D, N, z, A, q, U, $, G, Q, J, V, X = {
          html: !1,
          photo: !1,
          iframe: !1,
          inline: !1,
          transition: "elastic",
          speed: 300,
          fadeOut: 300,
          width: !1,
          initialWidth: "600",
          innerWidth: !1,
          maxWidth: !1,
          height: !1,
          initialHeight: "450",
          innerHeight: !1,
          maxHeight: !1,
          scalePhotos: !0,
          scrolling: !0,
          opacity: .9,
          preloading: !0,
          className: !1,
          overlayClose: !0,
          escKey: !0,
          arrowKey: !0,
          top: !1,
          bottom: !1,
          left: !1,
          right: !1,
          fixed: !1,
          data: void 0,
          closeButton: !0,
          fastIframe: !0,
          open: !1,
          reposition: !0,
          loop: !0,
          slideshow: !1,
          slideshowAuto: !0,
          slideshowSpeed: 2500,
          slideshowStart: "start slideshow",
          slideshowStop: "stop slideshow",
          photoRegex: /\.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr|svg)((#|\?).*)?$/i,
          retinaImage: !1,
          retinaUrl: !1,
          retinaSuffix: "@2x.$1",
          current: "image {current} of {total}",
          previous: "previous",
          next: "next",
          close: "close",
          xhrError: "This content failed to load.",
          imgError: "This image failed to load.",
          returnFocus: !0,
          trapFocus: !0,
          onOpen: !1,
          onLoad: !1,
          onComplete: !1,
          onCleanup: !1,
          onClosed: !1,
          rel: function() {
            return this.rel
          },
          href: function() {
            return t(this).attr("href")
          },
          title: function() {
            return this.title
          },
          createImg: function() {
            var e = new Image,
              i = t(this).data("cbox-img-attrs");
            return "object" == typeof i && t.each(i, function(t, i) {
              e[t] = i
            }), e
          },
          createIframe: function() {
            var i = e.createElement("iframe"),
              n = t(this).data("cbox-iframe-attrs");
            return "object" == typeof n && t.each(n, function(t, e) {
              i[t] = e
            }), "frameBorder" in i && (i.frameBorder = 0), "allowTransparency" in i && (i.allowTransparency = "true"), i.name = (new Date).getTime(), i.allowFullscreen = !0, i
          }
        },
        Y = "colorbox",
        Z = "cbox",
        te = Z + "Element",
        ee = Z + "_open",
        ie = Z + "_load",
        ne = Z + "_complete",
        oe = Z + "_cleanup",
        re = Z + "_closed",
        he = Z + "_purge",
        ae = t("<a/>"),
        se = "div",
        le = 0,
        de = {},
        ce = function() {
          function t() {
            clearTimeout(h)
          }

          function e() {
            (_.get("loop") || W[A + 1]) && (t(), h = setTimeout(J.next, _.get("slideshowSpeed")))
          }

          function i() {
            S.html(_.get("slideshowStop")).unbind(s).one(s, n), ae.bind(ne, e).bind(ie, t), x.removeClass(a + "off").addClass(a + "on")
          }

          function n() {
            t(), ae.unbind(ne, e).unbind(ie, t), S.html(_.get("slideshowStart")).unbind(s).one(s, function() {
              J.next(), i()
            }), x.removeClass(a + "on").addClass(a + "off")
          }

          function o() {
            r = !1, S.hide(), t(), ae.unbind(ne, e).unbind(ie, t), x.removeClass(a + "off " + a + "on")
          }
          var r, h, a = Z + "Slideshow_",
            s = "click." + Z;
          return function() {
            r ? _.get("slideshow") || (ae.unbind(oe, o), o()) : _.get("slideshow") && W[1] && (r = !0, ae.one(oe, o), _.get("slideshowAuto") ? i() : n(), S.show())
          }
        }();
      t[Y] || (t(p), J = t.fn[Y] = t[Y] = function(e, i) {
        var n, o = this;
        return e = e || {}, t.isFunction(o) && (o = t("<a/>"), e.open = !0), o[0] ? (p(), m() && (i && (e.onComplete = i), o.each(function() {
          var i = t.data(this, Y) || {};
          t.data(this, Y, t.extend(i, e))
        }).addClass(te), n = new r(o[0], e), n.get("open") && f(o[0])), o) : o
      }, J.position = function(e, i) {
        function n() {
          T[0].style.width = k[0].style.width = b[0].style.width = parseInt(x[0].style.width, 10) - D + "px", b[0].style.height = C[0].style.height = H[0].style.height = parseInt(x[0].style.height, 10) - j + "px"
        }
        var r, h, s, l = 0,
          d = 0,
          c = x.offset();
        if (E.unbind("resize." + Z), x.css({
            top: -9e4,
            left: -9e4
          }), h = E.scrollTop(), s = E.scrollLeft(), _.get("fixed") ? (c.top -= h, c.left -= s, x.css({
            position: "fixed"
          })) : (l = h, d = s, x.css({
            position: "absolute"
          })), d += _.get("right") !== !1 ? Math.max(E.width() - _.w - z - D - a(_.get("right"), "x"), 0) : _.get("left") !== !1 ? a(_.get("left"), "x") : Math.round(Math.max(E.width() - _.w - z - D, 0) / 2), l += _.get("bottom") !== !1 ? Math
          .max(o() - _.h - N - j - a(_.get("bottom"), "y"), 0) : _.get("top") !== !1 ? a(_.get("top"), "y") : Math.round(Math.max(o() - _.h - N - j, 0) / 2), x.css({
            top: c.top,
            left: c.left,
            visibility: "visible"
          }), y[0].style.width = y[0].style.height = "9999px", r = {
            width: _.w + z + D,
            height: _.h + N + j,
            top: l,
            left: d
          }, e) {
          var g = 0;
          t.each(r, function(t) {
            return r[t] !== de[t] ? (g = e, void 0) : void 0
          }), e = g
        }
        de = r, e || x.css(r), x.dequeue().animate(r, {
          duration: e || 0,
          complete: function() {
            n(), $ = !1, y[0].style.width = _.w + z + D + "px", y[0].style.height = _.h + N + j + "px", _.get("reposition") && setTimeout(function() {
              E.bind("resize." + Z, J.position)
            }, 1), t.isFunction(i) && i()
          },
          step: n
        })
      }, J.resize = function(t) {
        var e;
        U && (t = t || {}, t.width && (_.w = a(t.width, "x") - z - D), t.innerWidth && (_.w = a(t.innerWidth, "x")), I.css({
          width: _.w
        }), t.height && (_.h = a(t.height, "y") - N - j), t.innerHeight && (_.h = a(t.innerHeight, "y")), t.innerHeight || t.height || (e = I.scrollTop(), I.css({
          height: "auto"
        }), _.h = I.height()), I.css({
          height: _.h
        }), e && I.scrollTop(e), J.position("none" === _.get("transition") ? 0 : _.get("speed")))
      }, J.prep = function(i) {
        function o() {
          return _.w = _.w || I.width(), _.w = _.mw && _.mw < _.w ? _.mw : _.w, _.w
        }

        function a() {
          return _.h = _.h || I.height(), _.h = _.mh && _.mh < _.h ? _.mh : _.h, _.h
        }
        if (U) {
          var d, g = "none" === _.get("transition") ? 0 : _.get("speed");
          I.remove(), I = n(se, "LoadedContent").append(i), I.hide().appendTo(M.show()).css({
            width: o(),
            overflow: _.get("scrolling") ? "auto" : "hidden"
          }).css({
            height: a()
          }).prependTo(b), M.hide(), t(q).css({
            "float": "none"
          }), c(_.get("className")), d = function() {
            function i() {
              t.support.opacity === !1 && x[0].style.removeAttribute("filter")
            }
            var n, o, a = W.length;
            U && (o = function() {
              clearTimeout(Q), L.hide(), u(ne), _.get("onComplete")
            }, F.html(_.get("title")).show(), I.show(), a > 1 ? ("string" == typeof _.get("current") && R.html(_.get("current").replace("{current}", A + 1).replace("{total}", a)).show(), K[_.get("loop") || a - 1 > A ? "show" : "hide"]()
              .html(_.get("next")), P[_.get("loop") || A ? "show" : "hide"]().html(_.get("previous")), ce(), _.get("preloading") && t.each([h(-1), h(1)], function() {
                var i, n = W[this],
                  o = new r(n, t.data(n, Y)),
                  h = o.get("href");
                h && s(o, h) && (h = l(o, h), i = e.createElement("img"), i.src = h)
              })) : O.hide(), _.get("iframe") ? (n = _.get("createIframe"), _.get("scrolling") || (n.scrolling = "no"), t(n).attr({
              src: _.get("href"),
              "class": Z + "Iframe"
            }).one("load", o).appendTo(I), ae.one(he, function() {
              n.src = "//about:blank"
            }), _.get("fastIframe") && t(n).trigger("load")) : o(), "fade" === _.get("transition") ? x.fadeTo(g, 1, i) : i())
          }, "fade" === _.get("transition") ? x.fadeTo(g, 0, function() {
            J.position(0, d)
          }) : J.position(g, d)
        }
      }, J.next = function() {
        !$ && W[1] && (_.get("loop") || W[A + 1]) && (A = h(1), f(W[A]))
      }, J.prev = function() {
        !$ && W[1] && (_.get("loop") || A) && (A = h(-1), f(W[A]))
      }, J.close = function() {
        U && !G && (G = !0, U = !1, u(oe), _.get("onCleanup"), E.unbind("." + Z), v.fadeTo(_.get("fadeOut") || 0, 0), x.stop().fadeTo(_.get("fadeOut") || 0, 0, function() {
          x.hide(), v.hide(), u(he), I.remove(), setTimeout(function() {
            G = !1, u(re), _.get("onClosed")
          }, 1)
        }))
      }, J.remove = function() {
        x && (x.stop(), t[Y].close(), x.stop(!1, !0).remove(), v.remove(), G = !1, x = null, t("." + te).removeData(Y).removeClass(te), t(e).unbind("click." + Z).unbind("keydown." + Z))
      }, J.element = function() {
        return t(_.el)
      }, J.settings = X)
    })(jQuery, document, window);
  </script>
  <script type="text/javascript">
    /*! jquery-dateFormat 18-05-2015 */
    var DateFormat = {};
    ! function(a) {
      var b = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
        c = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
        d = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
        e = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
        f = {
          Jan: "01",
          Feb: "02",
          Mar: "03",
          Apr: "04",
          May: "05",
          Jun: "06",
          Jul: "07",
          Aug: "08",
          Sep: "09",
          Oct: "10",
          Nov: "11",
          Dec: "12"
        },
        g = /\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.?\d{0,3}[Z\-+]?(\d{2}:?\d{2})?/;
      a.format = function() {
        function a(a) {
          return b[parseInt(a, 10)] || a
        }

        function h(a) {
          return c[parseInt(a, 10)] || a
        }

        function i(a) {
          var b = parseInt(a, 10) - 1;
          return d[b] || a
        }

        function j(a) {
          var b = parseInt(a, 10) - 1;
          return e[b] || a
        }

        function k(a) {
          return f[a] || a
        }

        function l(a) {
          var b, c, d, e, f, g = a,
            h = "";
          return -1 !== g.indexOf(".") && (e = g.split("."), g = e[0], h = e[e.length - 1]), f = g.split(":"), 3 === f.length ? (b = f[0], c = f[1], d = f[2].replace(/\s.+/, "").replace(/[a-z]/gi, ""), g = g.replace(/\s.+/, "").replace(/[a-z]/gi,
            ""), {
            time: g,
            hour: b,
            minute: c,
            second: d,
            millis: h
          }) : {
            time: "",
            hour: "",
            minute: "",
            second: "",
            millis: ""
          }
        }

        function m(a, b) {
          for (var c = b - String(a).length, d = 0; c > d; d++) a = "0" + a;
          return a
        }
        return {
          parseDate: function(a) {
            var b, c, d = {
              date: null,
              year: null,
              month: null,
              dayOfMonth: null,
              dayOfWeek: null,
              time: null
            };
            if ("number" == typeof a) return this.parseDate(new Date(a));
            if ("function" == typeof a.getFullYear) d.year = String(a.getFullYear()), d.month = String(a.getMonth() + 1), d.dayOfMonth = String(a.getDate()), d.time = l(a.toTimeString() + "." + a.getMilliseconds());
            else if (-1 != a.search(g)) b = a.split(/[T\+-]/), d.year = b[0], d.month = b[1], d.dayOfMonth = b[2], d.time = l(b[3].split(".")[0]);
            else switch (b = a.split(" "), 6 === b.length && isNaN(b[5]) && (b[b.length] = "()"), b.length) {
              case 6:
                d.year = b[5], d.month = k(b[1]), d.dayOfMonth = b[2], d.time = l(b[3]);
                break;
              case 2:
                c = b[0].split("-"), d.year = c[0], d.month = c[1], d.dayOfMonth = c[2], d.time = l(b[1]);
                break;
              case 7:
              case 9:
              case 10:
                d.year = b[3], d.month = k(b[1]), d.dayOfMonth = b[2], d.time = l(b[4]);
                break;
              case 1:
                c = b[0].split(""), d.year = c[0] + c[1] + c[2] + c[3], d.month = c[5] + c[6], d.dayOfMonth = c[8] + c[9], d.time = l(c[13] + c[14] + c[15] + c[16] + c[17] + c[18] + c[19] + c[20]);
                break;
              default:
                return null
            }
            return d.date = d.time ? new Date(d.year, d.month - 1, d.dayOfMonth, d.time.hour, d.time.minute, d.time.second, d.time.millis) : new Date(d.year, d.month - 1, d.dayOfMonth), d.dayOfWeek = String(d.date.getDay()), d
          },
          date: function(b, c) {
            try {
              var d = this.parseDate(b);
              if (null === d) return b;
              for (var e, f = d.year, g = d.month, k = d.dayOfMonth, l = d.dayOfWeek, n = d.time, o = "", p = "", q = "", r = !1, s = 0; s < c.length; s++) {
                var t = c.charAt(s),
                  u = c.charAt(s + 1);
                if (r) "'" == t ? (p += "" === o ? "'" : o, o = "", r = !1) : o += t;
                else switch (o += t, q = "", o) {
                  case "ddd":
                    p += a(l), o = "";
                    break;
                  case "dd":
                    if ("d" === u) break;
                    p += m(k, 2), o = "";
                    break;
                  case "d":
                    if ("d" === u) break;
                    p += parseInt(k, 10), o = "";
                    break;
                  case "D":
                    k = 1 == k || 21 == k || 31 == k ? parseInt(k, 10) + "st" : 2 == k || 22 == k ? parseInt(k, 10) + "nd" : 3 == k || 23 == k ? parseInt(k, 10) + "rd" : parseInt(k, 10) + "th", p += k, o = "";
                    break;
                  case "MMMM":
                    p += j(g), o = "";
                    break;
                  case "MMM":
                    if ("M" === u) break;
                    p += i(g), o = "";
                    break;
                  case "MM":
                    if ("M" === u) break;
                    p += m(g, 2), o = "";
                    break;
                  case "M":
                    if ("M" === u) break;
                    p += parseInt(g, 10), o = "";
                    break;
                  case "y":
                  case "yyy":
                    if ("y" === u) break;
                    p += o, o = "";
                    break;
                  case "yy":
                    if ("y" === u) break;
                    p += String(f).slice(-2), o = "";
                    break;
                  case "yyyy":
                    p += f, o = "";
                    break;
                  case "HH":
                    p += m(n.hour, 2), o = "";
                    break;
                  case "H":
                    if ("H" === u) break;
                    p += parseInt(n.hour, 10), o = "";
                    break;
                  case "hh":
                    e = 0 === parseInt(n.hour, 10) ? 12 : n.hour < 13 ? n.hour : n.hour - 12, p += m(e, 2), o = "";
                    break;
                  case "h":
                    if ("h" === u) break;
                    e = 0 === parseInt(n.hour, 10) ? 12 : n.hour < 13 ? n.hour : n.hour - 12, p += parseInt(e, 10), o = "";
                    break;
                  case "mm":
                    p += m(n.minute, 2), o = "";
                    break;
                  case "m":
                    if ("m" === u) break;
                    p += n.minute, o = "";
                    break;
                  case "ss":
                    p += m(n.second.substring(0, 2), 2), o = "";
                    break;
                  case "s":
                    if ("s" === u) break;
                    p += n.second, o = "";
                    break;
                  case "S":
                  case "SS":
                    if ("S" === u) break;
                    p += o, o = "";
                    break;
                  case "SSS":
                    var v = "000" + n.millis.substring(0, 3);
                    p += v.substring(v.length - 3), o = "";
                    break;
                  case "a":
                    p += n.hour >= 12 ? "PM" : "AM", o = "";
                    break;
                  case "p":
                    p += n.hour >= 12 ? "p.m." : "a.m.", o = "";
                    break;
                  case "E":
                    p += h(l), o = "";
                    break;
                  case "'":
                    o = "", r = !0;
                    break;
                  default:
                    p += t, o = ""
                }
              }
              return p += q
            } catch (w) {
              return console && console.log && console.log(w), b
            }
          },
          prettyDate: function(a) {
            var b, c, d;
            return ("string" == typeof a || "number" == typeof a) && (b = new Date(a)), "object" == typeof a && (b = new Date(a.toString())), c = ((new Date).getTime() - b.getTime()) / 1e3, d = Math.floor(c / 86400), isNaN(d) || 0 > d ? void 0 :
              60 > c ? "just now" : 120 > c ? "1 minute ago" : 3600 > c ? Math.floor(c / 60) + " minutes ago" : 7200 > c ? "1 hour ago" : 86400 > c ? Math.floor(c / 3600) + " hours ago" : 1 === d ? "Yesterday" : 7 > d ? d + " days ago" : 31 > d ?
              Math.ceil(d / 7) + " weeks ago" : d >= 31 ? "more than 5 weeks ago" : void 0
          },
          toBrowserTimeZone: function(a, b) {
            return this.date(new Date(a), b || "MM/dd/yyyy HH:mm:ss")
          }
        }
      }()
    }(DateFormat);
  </script>
  <script type="text/javascript">
    //! moment.js
    //! version : 2.18.1
    //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
    //! license : MIT
    //! momentjs.com
    ! function(a, b) {
      "object" == typeof exports && "undefined" != typeof module ? module.exports = b() : "function" == typeof define && define.amd ? define(b) : a.moment = b()
    }(this, function() {
      "use strict";

      function a() {
        return sd.apply(null, arguments)
      }

      function b(a) {
        sd = a
      }

      function c(a) {
        return a instanceof Array || "[object Array]" === Object.prototype.toString.call(a)
      }

      function d(a) {
        return null != a && "[object Object]" === Object.prototype.toString.call(a)
      }

      function e(a) {
        var b;
        for (b in a) return !1;
        return !0
      }

      function f(a) {
        return void 0 === a
      }

      function g(a) {
        return "number" == typeof a || "[object Number]" === Object.prototype.toString.call(a)
      }

      function h(a) {
        return a instanceof Date || "[object Date]" === Object.prototype.toString.call(a)
      }

      function i(a, b) {
        var c, d = [];
        for (c = 0; c < a.length; ++c) d.push(b(a[c], c));
        return d
      }

      function j(a, b) {
        return Object.prototype.hasOwnProperty.call(a, b)
      }

      function k(a, b) {
        for (var c in b) j(b, c) && (a[c] = b[c]);
        return j(b, "toString") && (a.toString = b.toString), j(b, "valueOf") && (a.valueOf = b.valueOf), a
      }

      function l(a, b, c, d) {
        return sb(a, b, c, d, !0).utc()
      }

      function m() {
        return {
          empty: !1,
          unusedTokens: [],
          unusedInput: [],
          overflow: -2,
          charsLeftOver: 0,
          nullInput: !1,
          invalidMonth: null,
          invalidFormat: !1,
          userInvalidated: !1,
          iso: !1,
          parsedDateParts: [],
          meridiem: null,
          rfc2822: !1,
          weekdayMismatch: !1
        }
      }

      function n(a) {
        return null == a._pf && (a._pf = m()), a._pf
      }

      function o(a) {
        if (null == a._isValid) {
          var b = n(a),
            c = ud.call(b.parsedDateParts, function(a) {
              return null != a
            }),
            d = !isNaN(a._d.getTime()) && b.overflow < 0 && !b.empty && !b.invalidMonth && !b.invalidWeekday && !b.nullInput && !b.invalidFormat && !b.userInvalidated && (!b.meridiem || b.meridiem && c);
          if (a._strict && (d = d && 0 === b.charsLeftOver && 0 === b.unusedTokens.length && void 0 === b.bigHour), null != Object.isFrozen && Object.isFrozen(a)) return d;
          a._isValid = d
        }
        return a._isValid
      }

      function p(a) {
        var b = l(NaN);
        return null != a ? k(n(b), a) : n(b).userInvalidated = !0, b
      }

      function q(a, b) {
        var c, d, e;
        if (f(b._isAMomentObject) || (a._isAMomentObject = b._isAMomentObject), f(b._i) || (a._i = b._i), f(b._f) || (a._f = b._f), f(b._l) || (a._l = b._l), f(b._strict) || (a._strict = b._strict), f(b._tzm) || (a._tzm = b._tzm), f(b._isUTC) || (a
            ._isUTC = b._isUTC), f(b._offset) || (a._offset = b._offset), f(b._pf) || (a._pf = n(b)), f(b._locale) || (a._locale = b._locale), vd.length > 0)
          for (c = 0; c < vd.length; c++) d = vd[c], e = b[d], f(e) || (a[d] = e);
        return a
      }

      function r(b) {
        q(this, b), this._d = new Date(null != b._d ? b._d.getTime() : NaN), this.isValid() || (this._d = new Date(NaN)), wd === !1 && (wd = !0, a.updateOffset(this), wd = !1)
      }

      function s(a) {
        return a instanceof r || null != a && null != a._isAMomentObject
      }

      function t(a) {
        return a < 0 ? Math.ceil(a) || 0 : Math.floor(a)
      }

      function u(a) {
        var b = +a,
          c = 0;
        return 0 !== b && isFinite(b) && (c = t(b)), c
      }

      function v(a, b, c) {
        var d, e = Math.min(a.length, b.length),
          f = Math.abs(a.length - b.length),
          g = 0;
        for (d = 0; d < e; d++)(c && a[d] !== b[d] || !c && u(a[d]) !== u(b[d])) && g++;
        return g + f
      }

      function w(b) {
        a.suppressDeprecationWarnings === !1 && "undefined" != typeof console && console.warn && console.warn("Deprecation warning: " + b)
      }

      function x(b, c) {
        var d = !0;
        return k(function() {
          if (null != a.deprecationHandler && a.deprecationHandler(null, b), d) {
            for (var e, f = [], g = 0; g < arguments.length; g++) {
              if (e = "", "object" == typeof arguments[g]) {
                e += "\n[" + g + "] ";
                for (var h in arguments[0]) e += h + ": " + arguments[0][h] + ", ";
                e = e.slice(0, -2)
              } else e = arguments[g];
              f.push(e)
            }
            w(b + "\nArguments: " + Array.prototype.slice.call(f).join("") + "\n" + (new Error).stack), d = !1
          }
          return c.apply(this, arguments)
        }, c)
      }

      function y(b, c) {
        null != a.deprecationHandler && a.deprecationHandler(b, c), xd[b] || (w(c), xd[b] = !0)
      }

      function z(a) {
        return a instanceof Function || "[object Function]" === Object.prototype.toString.call(a)
      }

      function A(a) {
        var b, c;
        for (c in a) b = a[c], z(b) ? this[c] = b : this["_" + c] = b;
        this._config = a, this._dayOfMonthOrdinalParseLenient = new RegExp((this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + "|" + /\d{1,2}/.source)
      }

      function B(a, b) {
        var c, e = k({}, a);
        for (c in b) j(b, c) && (d(a[c]) && d(b[c]) ? (e[c] = {}, k(e[c], a[c]), k(e[c], b[c])) : null != b[c] ? e[c] = b[c] : delete e[c]);
        for (c in a) j(a, c) && !j(b, c) && d(a[c]) && (e[c] = k({}, e[c]));
        return e
      }

      function C(a) {
        null != a && this.set(a)
      }

      function D(a, b, c) {
        var d = this._calendar[a] || this._calendar.sameElse;
        return z(d) ? d.call(b, c) : d
      }

      function E(a) {
        var b = this._longDateFormat[a],
          c = this._longDateFormat[a.toUpperCase()];
        return b || !c ? b : (this._longDateFormat[a] = c.replace(/MMMM|MM|DD|dddd/g, function(a) {
          return a.slice(1)
        }), this._longDateFormat[a])
      }

      function F() {
        return this._invalidDate
      }

      function G(a) {
        return this._ordinal.replace("%d", a)
      }

      function H(a, b, c, d) {
        var e = this._relativeTime[c];
        return z(e) ? e(a, b, c, d) : e.replace(/%d/i, a)
      }

      function I(a, b) {
        var c = this._relativeTime[a > 0 ? "future" : "past"];
        return z(c) ? c(b) : c.replace(/%s/i, b)
      }

      function J(a, b) {
        var c = a.toLowerCase();
        Hd[c] = Hd[c + "s"] = Hd[b] = a
      }

      function K(a) {
        return "string" == typeof a ? Hd[a] || Hd[a.toLowerCase()] : void 0
      }

      function L(a) {
        var b, c, d = {};
        for (c in a) j(a, c) && (b = K(c), b && (d[b] = a[c]));
        return d
      }

      function M(a, b) {
        Id[a] = b
      }

      function N(a) {
        var b = [];
        for (var c in a) b.push({
          unit: c,
          priority: Id[c]
        });
        return b.sort(function(a, b) {
          return a.priority - b.priority
        }), b
      }

      function O(b, c) {
        return function(d) {
          return null != d ? (Q(this, b, d), a.updateOffset(this, c), this) : P(this, b)
        }
      }

      function P(a, b) {
        return a.isValid() ? a._d["get" + (a._isUTC ? "UTC" : "") + b]() : NaN
      }

      function Q(a, b, c) {
        a.isValid() && a._d["set" + (a._isUTC ? "UTC" : "") + b](c)
      }

      function R(a) {
        return a = K(a), z(this[a]) ? this[a]() : this
      }

      function S(a, b) {
        if ("object" == typeof a) {
          a = L(a);
          for (var c = N(a), d = 0; d < c.length; d++) this[c[d].unit](a[c[d].unit])
        } else if (a = K(a), z(this[a])) return this[a](b);
        return this
      }

      function T(a, b, c) {
        var d = "" + Math.abs(a),
          e = b - d.length,
          f = a >= 0;
        return (f ? c ? "+" : "" : "-") + Math.pow(10, Math.max(0, e)).toString().substr(1) + d
      }

      function U(a, b, c, d) {
        var e = d;
        "string" == typeof d && (e = function() {
          return this[d]()
        }), a && (Md[a] = e), b && (Md[b[0]] = function() {
          return T(e.apply(this, arguments), b[1], b[2])
        }), c && (Md[c] = function() {
          return this.localeData().ordinal(e.apply(this, arguments), a)
        })
      }

      function V(a) {
        return a.match(/\[[\s\S]/) ? a.replace(/^\[|\]$/g, "") : a.replace(/\\/g, "")
      }

      function W(a) {
        var b, c, d = a.match(Jd);
        for (b = 0, c = d.length; b < c; b++) Md[d[b]] ? d[b] = Md[d[b]] : d[b] = V(d[b]);
        return function(b) {
          var e, f = "";
          for (e = 0; e < c; e++) f += z(d[e]) ? d[e].call(b, a) : d[e];
          return f
        }
      }

      function X(a, b) {
        return a.isValid() ? (b = Y(b, a.localeData()), Ld[b] = Ld[b] || W(b), Ld[b](a)) : a.localeData().invalidDate()
      }

      function Y(a, b) {
        function c(a) {
          return b.longDateFormat(a) || a
        }
        var d = 5;
        for (Kd.lastIndex = 0; d >= 0 && Kd.test(a);) a = a.replace(Kd, c), Kd.lastIndex = 0, d -= 1;
        return a
      }

      function Z(a, b, c) {
        ce[a] = z(b) ? b : function(a, d) {
          return a && c ? c : b
        }
      }

      function $(a, b) {
        return j(ce, a) ? ce[a](b._strict, b._locale) : new RegExp(_(a))
      }

      function _(a) {
        return aa(a.replace("\\", "").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, function(a, b, c, d, e) {
          return b || c || d || e
        }))
      }

      function aa(a) {
        return a.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&")
      }

      function ba(a, b) {
        var c, d = b;
        for ("string" == typeof a && (a = [a]), g(b) && (d = function(a, c) {
            c[b] = u(a)
          }), c = 0; c < a.length; c++) de[a[c]] = d
      }

      function ca(a, b) {
        ba(a, function(a, c, d, e) {
          d._w = d._w || {}, b(a, d._w, d, e)
        })
      }

      function da(a, b, c) {
        null != b && j(de, a) && de[a](b, c._a, c, a)
      }

      function ea(a, b) {
        return new Date(Date.UTC(a, b + 1, 0)).getUTCDate()
      }

      function fa(a, b) {
        return a ? c(this._months) ? this._months[a.month()] : this._months[(this._months.isFormat || oe).test(b) ? "format" : "standalone"][a.month()] : c(this._months) ? this._months : this._months.standalone
      }

      function ga(a, b) {
        return a ? c(this._monthsShort) ? this._monthsShort[a.month()] : this._monthsShort[oe.test(b) ? "format" : "standalone"][a.month()] : c(this._monthsShort) ? this._monthsShort : this._monthsShort.standalone
      }

      function ha(a, b, c) {
        var d, e, f, g = a.toLocaleLowerCase();
        if (!this._monthsParse)
          for (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = [], d = 0; d < 12; ++d) f = l([2e3, d]), this._shortMonthsParse[d] = this.monthsShort(f, "").toLocaleLowerCase(), this._longMonthsParse[d] = this.months(f,
            "").toLocaleLowerCase();
        return c ? "MMM" === b ? (e = ne.call(this._shortMonthsParse, g), e !== -1 ? e : null) : (e = ne.call(this._longMonthsParse, g), e !== -1 ? e : null) : "MMM" === b ? (e = ne.call(this._shortMonthsParse, g), e !== -1 ? e : (e = ne.call(this
          ._longMonthsParse, g), e !== -1 ? e : null)) : (e = ne.call(this._longMonthsParse, g), e !== -1 ? e : (e = ne.call(this._shortMonthsParse, g), e !== -1 ? e : null))
      }

      function ia(a, b, c) {
        var d, e, f;
        if (this._monthsParseExact) return ha.call(this, a, b, c);
        for (this._monthsParse || (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = []), d = 0; d < 12; d++) {
          if (e = l([2e3, d]), c && !this._longMonthsParse[d] && (this._longMonthsParse[d] = new RegExp("^" + this.months(e, "").replace(".", "") + "$", "i"), this._shortMonthsParse[d] = new RegExp("^" + this.monthsShort(e, "").replace(".", "") +
              "$", "i")), c || this._monthsParse[d] || (f = "^" + this.months(e, "") + "|^" + this.monthsShort(e, ""), this._monthsParse[d] = new RegExp(f.replace(".", ""), "i")), c && "MMMM" === b && this._longMonthsParse[d].test(a)) return d;
          if (c && "MMM" === b && this._shortMonthsParse[d].test(a)) return d;
          if (!c && this._monthsParse[d].test(a)) return d
        }
      }

      function ja(a, b) {
        var c;
        if (!a.isValid()) return a;
        if ("string" == typeof b)
          if (/^\d+$/.test(b)) b = u(b);
          else if (b = a.localeData().monthsParse(b), !g(b)) return a;
        return c = Math.min(a.date(), ea(a.year(), b)), a._d["set" + (a._isUTC ? "UTC" : "") + "Month"](b, c), a
      }

      function ka(b) {
        return null != b ? (ja(this, b), a.updateOffset(this, !0), this) : P(this, "Month")
      }

      function la() {
        return ea(this.year(), this.month())
      }

      function ma(a) {
        return this._monthsParseExact ? (j(this, "_monthsRegex") || oa.call(this), a ? this._monthsShortStrictRegex : this._monthsShortRegex) : (j(this, "_monthsShortRegex") || (this._monthsShortRegex = re), this._monthsShortStrictRegex && a ? this
          ._monthsShortStrictRegex : this._monthsShortRegex)
      }

      function na(a) {
        return this._monthsParseExact ? (j(this, "_monthsRegex") || oa.call(this), a ? this._monthsStrictRegex : this._monthsRegex) : (j(this, "_monthsRegex") || (this._monthsRegex = se), this._monthsStrictRegex && a ? this._monthsStrictRegex :
          this._monthsRegex)
      }

      function oa() {
        function a(a, b) {
          return b.length - a.length
        }
        var b, c, d = [],
          e = [],
          f = [];
        for (b = 0; b < 12; b++) c = l([2e3, b]), d.push(this.monthsShort(c, "")), e.push(this.months(c, "")), f.push(this.months(c, "")), f.push(this.monthsShort(c, ""));
        for (d.sort(a), e.sort(a), f.sort(a), b = 0; b < 12; b++) d[b] = aa(d[b]), e[b] = aa(e[b]);
        for (b = 0; b < 24; b++) f[b] = aa(f[b]);
        this._monthsRegex = new RegExp("^(" + f.join("|") + ")", "i"), this._monthsShortRegex = this._monthsRegex, this._monthsStrictRegex = new RegExp("^(" + e.join("|") + ")", "i"), this._monthsShortStrictRegex = new RegExp("^(" + d.join("|") +
          ")", "i")
      }

      function pa(a) {
        return qa(a) ? 366 : 365
      }

      function qa(a) {
        return a % 4 === 0 && a % 100 !== 0 || a % 400 === 0
      }

      function ra() {
        return qa(this.year())
      }

      function sa(a, b, c, d, e, f, g) {
        var h = new Date(a, b, c, d, e, f, g);
        return a < 100 && a >= 0 && isFinite(h.getFullYear()) && h.setFullYear(a), h
      }

      function ta(a) {
        var b = new Date(Date.UTC.apply(null, arguments));
        return a < 100 && a >= 0 && isFinite(b.getUTCFullYear()) && b.setUTCFullYear(a), b
      }

      function ua(a, b, c) {
        var d = 7 + b - c,
          e = (7 + ta(a, 0, d).getUTCDay() - b) % 7;
        return -e + d - 1
      }

      function va(a, b, c, d, e) {
        var f, g, h = (7 + c - d) % 7,
          i = ua(a, d, e),
          j = 1 + 7 * (b - 1) + h + i;
        return j <= 0 ? (f = a - 1, g = pa(f) + j) : j > pa(a) ? (f = a + 1, g = j - pa(a)) : (f = a, g = j), {
          year: f,
          dayOfYear: g
        }
      }

      function wa(a, b, c) {
        var d, e, f = ua(a.year(), b, c),
          g = Math.floor((a.dayOfYear() - f - 1) / 7) + 1;
        return g < 1 ? (e = a.year() - 1, d = g + xa(e, b, c)) : g > xa(a.year(), b, c) ? (d = g - xa(a.year(), b, c), e = a.year() + 1) : (e = a.year(), d = g), {
          week: d,
          year: e
        }
      }

      function xa(a, b, c) {
        var d = ua(a, b, c),
          e = ua(a + 1, b, c);
        return (pa(a) - d + e) / 7
      }

      function ya(a) {
        return wa(a, this._week.dow, this._week.doy).week
      }

      function za() {
        return this._week.dow
      }

      function Aa() {
        return this._week.doy
      }

      function Ba(a) {
        var b = this.localeData().week(this);
        return null == a ? b : this.add(7 * (a - b), "d")
      }

      function Ca(a) {
        var b = wa(this, 1, 4).week;
        return null == a ? b : this.add(7 * (a - b), "d")
      }

      function Da(a, b) {
        return "string" != typeof a ? a : isNaN(a) ? (a = b.weekdaysParse(a), "number" == typeof a ? a : null) : parseInt(a, 10)
      }

      function Ea(a, b) {
        return "string" == typeof a ? b.weekdaysParse(a) % 7 || 7 : isNaN(a) ? null : a
      }

      function Fa(a, b) {
        return a ? c(this._weekdays) ? this._weekdays[a.day()] : this._weekdays[this._weekdays.isFormat.test(b) ? "format" : "standalone"][a.day()] : c(this._weekdays) ? this._weekdays : this._weekdays.standalone
      }

      function Ga(a) {
        return a ? this._weekdaysShort[a.day()] : this._weekdaysShort
      }

      function Ha(a) {
        return a ? this._weekdaysMin[a.day()] : this._weekdaysMin
      }

      function Ia(a, b, c) {
        var d, e, f, g = a.toLocaleLowerCase();
        if (!this._weekdaysParse)
          for (this._weekdaysParse = [], this._shortWeekdaysParse = [], this._minWeekdaysParse = [], d = 0; d < 7; ++d) f = l([2e3, 1]).day(d), this._minWeekdaysParse[d] = this.weekdaysMin(f, "").toLocaleLowerCase(), this._shortWeekdaysParse[d] =
            this.weekdaysShort(f, "").toLocaleLowerCase(), this._weekdaysParse[d] = this.weekdays(f, "").toLocaleLowerCase();
        return c ? "dddd" === b ? (e = ne.call(this._weekdaysParse, g), e !== -1 ? e : null) : "ddd" === b ? (e = ne.call(this._shortWeekdaysParse, g), e !== -1 ? e : null) : (e = ne.call(this._minWeekdaysParse, g), e !== -1 ? e : null) :
          "dddd" === b ? (e = ne.call(this._weekdaysParse, g), e !== -1 ? e : (e = ne.call(this._shortWeekdaysParse, g), e !== -1 ? e : (e = ne.call(this._minWeekdaysParse, g), e !== -1 ? e : null))) : "ddd" === b ? (e = ne.call(this
            ._shortWeekdaysParse, g), e !== -1 ? e : (e = ne.call(this._weekdaysParse, g), e !== -1 ? e : (e = ne.call(this._minWeekdaysParse, g), e !== -1 ? e : null))) : (e = ne.call(this._minWeekdaysParse, g), e !== -1 ? e : (e = ne.call(this
            ._weekdaysParse, g), e !== -1 ? e : (e = ne.call(this._shortWeekdaysParse, g), e !== -1 ? e : null)))
      }

      function Ja(a, b, c) {
        var d, e, f;
        if (this._weekdaysParseExact) return Ia.call(this, a, b, c);
        for (this._weekdaysParse || (this._weekdaysParse = [], this._minWeekdaysParse = [], this._shortWeekdaysParse = [], this._fullWeekdaysParse = []), d = 0; d < 7; d++) {
          if (e = l([2e3, 1]).day(d), c && !this._fullWeekdaysParse[d] && (this._fullWeekdaysParse[d] = new RegExp("^" + this.weekdays(e, "").replace(".", ".?") + "$", "i"), this._shortWeekdaysParse[d] = new RegExp("^" + this.weekdaysShort(e, "")
              .replace(".", ".?") + "$", "i"), this._minWeekdaysParse[d] = new RegExp("^" + this.weekdaysMin(e, "").replace(".", ".?") + "$", "i")), this._weekdaysParse[d] || (f = "^" + this.weekdays(e, "") + "|^" + this.weekdaysShort(e, "") +
              "|^" + this.weekdaysMin(e, ""), this._weekdaysParse[d] = new RegExp(f.replace(".", ""), "i")), c && "dddd" === b && this._fullWeekdaysParse[d].test(a)) return d;
          if (c && "ddd" === b && this._shortWeekdaysParse[d].test(a)) return d;
          if (c && "dd" === b && this._minWeekdaysParse[d].test(a)) return d;
          if (!c && this._weekdaysParse[d].test(a)) return d
        }
      }

      function Ka(a) {
        if (!this.isValid()) return null != a ? this : NaN;
        var b = this._isUTC ? this._d.getUTCDay() : this._d.getDay();
        return null != a ? (a = Da(a, this.localeData()), this.add(a - b, "d")) : b
      }

      function La(a) {
        if (!this.isValid()) return null != a ? this : NaN;
        var b = (this.day() + 7 - this.localeData()._week.dow) % 7;
        return null == a ? b : this.add(a - b, "d")
      }

      function Ma(a) {
        if (!this.isValid()) return null != a ? this : NaN;
        if (null != a) {
          var b = Ea(a, this.localeData());
          return this.day(this.day() % 7 ? b : b - 7)
        }
        return this.day() || 7
      }

      function Na(a) {
        return this._weekdaysParseExact ? (j(this, "_weekdaysRegex") || Qa.call(this), a ? this._weekdaysStrictRegex : this._weekdaysRegex) : (j(this, "_weekdaysRegex") || (this._weekdaysRegex = ye), this._weekdaysStrictRegex && a ? this
          ._weekdaysStrictRegex : this._weekdaysRegex)
      }

      function Oa(a) {
        return this._weekdaysParseExact ? (j(this, "_weekdaysRegex") || Qa.call(this), a ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (j(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex = ze), this
          ._weekdaysShortStrictRegex && a ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex)
      }

      function Pa(a) {
        return this._weekdaysParseExact ? (j(this, "_weekdaysRegex") || Qa.call(this), a ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (j(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = Ae), this._weekdaysMinStrictRegex && a ?
          this._weekdaysMinStrictRegex : this._weekdaysMinRegex)
      }

      function Qa() {
        function a(a, b) {
          return b.length - a.length
        }
        var b, c, d, e, f, g = [],
          h = [],
          i = [],
          j = [];
        for (b = 0; b < 7; b++) c = l([2e3, 1]).day(b), d = this.weekdaysMin(c, ""), e = this.weekdaysShort(c, ""), f = this.weekdays(c, ""), g.push(d), h.push(e), i.push(f), j.push(d), j.push(e), j.push(f);
        for (g.sort(a), h.sort(a), i.sort(a), j.sort(a), b = 0; b < 7; b++) h[b] = aa(h[b]), i[b] = aa(i[b]), j[b] = aa(j[b]);
        this._weekdaysRegex = new RegExp("^(" + j.join("|") + ")", "i"), this._weekdaysShortRegex = this._weekdaysRegex, this._weekdaysMinRegex = this._weekdaysRegex, this._weekdaysStrictRegex = new RegExp("^(" + i.join("|") + ")", "i"), this
          ._weekdaysShortStrictRegex = new RegExp("^(" + h.join("|") + ")", "i"), this._weekdaysMinStrictRegex = new RegExp("^(" + g.join("|") + ")", "i")
      }

      function Ra() {
        return this.hours() % 12 || 12
      }

      function Sa() {
        return this.hours() || 24
      }

      function Ta(a, b) {
        U(a, 0, 0, function() {
          return this.localeData().meridiem(this.hours(), this.minutes(), b)
        })
      }

      function Ua(a, b) {
        return b._meridiemParse
      }

      function Va(a) {
        return "p" === (a + "").toLowerCase().charAt(0)
      }

      function Wa(a, b, c) {
        return a > 11 ? c ? "pm" : "PM" : c ? "am" : "AM"
      }

      function Xa(a) {
        return a ? a.toLowerCase().replace("_", "-") : a
      }

      function Ya(a) {
        for (var b, c, d, e, f = 0; f < a.length;) {
          for (e = Xa(a[f]).split("-"), b = e.length, c = Xa(a[f + 1]), c = c ? c.split("-") : null; b > 0;) {
            if (d = Za(e.slice(0, b).join("-"))) return d;
            if (c && c.length >= b && v(e, c, !0) >= b - 1) break;
            b--
          }
          f++
        }
        return null
      }

      function Za(a) {
        var b = null;
        if (!Fe[a] && "undefined" != typeof module && module && module.exports) try {
          b = Be._abbr, require("./locale/" + a), $a(b)
        } catch (a) {}
        return Fe[a]
      }

      function $a(a, b) {
        var c;
        return a && (c = f(b) ? bb(a) : _a(a, b), c && (Be = c)), Be._abbr
      }

      function _a(a, b) {
        if (null !== b) {
          var c = Ee;
          if (b.abbr = a, null != Fe[a]) y("defineLocaleOverride",
              "use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."
              ), c = Fe[a]._config;
          else if (null != b.parentLocale) {
            if (null == Fe[b.parentLocale]) return Ge[b.parentLocale] || (Ge[b.parentLocale] = []), Ge[b.parentLocale].push({
              name: a,
              config: b
            }), null;
            c = Fe[b.parentLocale]._config
          }
          return Fe[a] = new C(B(c, b)), Ge[a] && Ge[a].forEach(function(a) {
            _a(a.name, a.config)
          }), $a(a), Fe[a]
        }
        return delete Fe[a], null
      }

      function ab(a, b) {
        if (null != b) {
          var c, d = Ee;
          null != Fe[a] && (d = Fe[a]._config), b = B(d, b), c = new C(b), c.parentLocale = Fe[a], Fe[a] = c, $a(a)
        } else null != Fe[a] && (null != Fe[a].parentLocale ? Fe[a] = Fe[a].parentLocale : null != Fe[a] && delete Fe[a]);
        return Fe[a]
      }

      function bb(a) {
        var b;
        if (a && a._locale && a._locale._abbr && (a = a._locale._abbr), !a) return Be;
        if (!c(a)) {
          if (b = Za(a)) return b;
          a = [a]
        }
        return Ya(a)
      }

      function cb() {
        return Ad(Fe)
      }

      function db(a) {
        var b, c = a._a;
        return c && n(a).overflow === -2 && (b = c[fe] < 0 || c[fe] > 11 ? fe : c[ge] < 1 || c[ge] > ea(c[ee], c[fe]) ? ge : c[he] < 0 || c[he] > 24 || 24 === c[he] && (0 !== c[ie] || 0 !== c[je] || 0 !== c[ke]) ? he : c[ie] < 0 || c[ie] > 59 ?
          ie : c[je] < 0 || c[je] > 59 ? je : c[ke] < 0 || c[ke] > 999 ? ke : -1, n(a)._overflowDayOfYear && (b < ee || b > ge) && (b = ge), n(a)._overflowWeeks && b === -1 && (b = le), n(a)._overflowWeekday && b === -1 && (b = me), n(a)
          .overflow = b), a
      }

      function eb(a) {
        var b, c, d, e, f, g, h = a._i,
          i = He.exec(h) || Ie.exec(h);
        if (i) {
          for (n(a).iso = !0, b = 0, c = Ke.length; b < c; b++)
            if (Ke[b][1].exec(i[1])) {
              e = Ke[b][0], d = Ke[b][2] !== !1;
              break
            } if (null == e) return void(a._isValid = !1);
          if (i[3]) {
            for (b = 0, c = Le.length; b < c; b++)
              if (Le[b][1].exec(i[3])) {
                f = (i[2] || " ") + Le[b][0];
                break
              } if (null == f) return void(a._isValid = !1)
          }
          if (!d && null != f) return void(a._isValid = !1);
          if (i[4]) {
            if (!Je.exec(i[4])) return void(a._isValid = !1);
            g = "Z"
          }
          a._f = e + (f || "") + (g || ""), lb(a)
        } else a._isValid = !1
      }

      function fb(a) {
        var b, c, d, e, f, g, h, i, j = {
            " GMT": " +0000",
            " EDT": " -0400",
            " EST": " -0500",
            " CDT": " -0500",
            " CST": " -0600",
            " MDT": " -0600",
            " MST": " -0700",
            " PDT": " -0700",
            " PST": " -0800"
          },
          k = "YXWVUTSRQPONZABCDEFGHIKLM";
        if (b = a._i.replace(/\([^\)]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, " ").replace(/^\s|\s$/g, ""), c = Ne.exec(b)) {
          if (d = c[1] ? "ddd" + (5 === c[1].length ? ", " : " ") : "", e = "D MMM " + (c[2].length > 10 ? "YYYY " : "YY "), f = "HH:mm" + (c[4] ? ":ss" : ""), c[1]) {
            var l = new Date(c[2]),
              m = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"][l.getDay()];
            if (c[1].substr(0, 3) !== m) return n(a).weekdayMismatch = !0, void(a._isValid = !1)
          }
          switch (c[5].length) {
            case 2:
              0 === i ? h = " +0000" : (i = k.indexOf(c[5][1].toUpperCase()) - 12, h = (i < 0 ? " -" : " +") + ("" + i).replace(/^-?/, "0").match(/..$/)[0] + "00");
              break;
            case 4:
              h = j[c[5]];
              break;
            default:
              h = j[" GMT"]
          }
          c[5] = h, a._i = c.splice(1).join(""), g = " ZZ", a._f = d + e + f + g, lb(a), n(a).rfc2822 = !0
        } else a._isValid = !1
      }

      function gb(b) {
        var c = Me.exec(b._i);
        return null !== c ? void(b._d = new Date(+c[1])) : (eb(b), void(b._isValid === !1 && (delete b._isValid, fb(b), b._isValid === !1 && (delete b._isValid, a.createFromInputFallback(b)))))
      }

      function hb(a, b, c) {
        return null != a ? a : null != b ? b : c
      }

      function ib(b) {
        var c = new Date(a.now());
        return b._useUTC ? [c.getUTCFullYear(), c.getUTCMonth(), c.getUTCDate()] : [c.getFullYear(), c.getMonth(), c.getDate()]
      }

      function jb(a) {
        var b, c, d, e, f = [];
        if (!a._d) {
          for (d = ib(a), a._w && null == a._a[ge] && null == a._a[fe] && kb(a), null != a._dayOfYear && (e = hb(a._a[ee], d[ee]), (a._dayOfYear > pa(e) || 0 === a._dayOfYear) && (n(a)._overflowDayOfYear = !0), c = ta(e, 0, a._dayOfYear), a._a[
              fe] = c.getUTCMonth(), a._a[ge] = c.getUTCDate()), b = 0; b < 3 && null == a._a[b]; ++b) a._a[b] = f[b] = d[b];
          for (; b < 7; b++) a._a[b] = f[b] = null == a._a[b] ? 2 === b ? 1 : 0 : a._a[b];
          24 === a._a[he] && 0 === a._a[ie] && 0 === a._a[je] && 0 === a._a[ke] && (a._nextDay = !0, a._a[he] = 0), a._d = (a._useUTC ? ta : sa).apply(null, f), null != a._tzm && a._d.setUTCMinutes(a._d.getUTCMinutes() - a._tzm), a._nextDay && (a
            ._a[he] = 24)
        }
      }

      function kb(a) {
        var b, c, d, e, f, g, h, i;
        if (b = a._w, null != b.GG || null != b.W || null != b.E) f = 1, g = 4, c = hb(b.GG, a._a[ee], wa(tb(), 1, 4).year), d = hb(b.W, 1), e = hb(b.E, 1), (e < 1 || e > 7) && (i = !0);
        else {
          f = a._locale._week.dow, g = a._locale._week.doy;
          var j = wa(tb(), f, g);
          c = hb(b.gg, a._a[ee], j.year), d = hb(b.w, j.week), null != b.d ? (e = b.d, (e < 0 || e > 6) && (i = !0)) : null != b.e ? (e = b.e + f, (b.e < 0 || b.e > 6) && (i = !0)) : e = f
        }
        d < 1 || d > xa(c, f, g) ? n(a)._overflowWeeks = !0 : null != i ? n(a)._overflowWeekday = !0 : (h = va(c, d, e, f, g), a._a[ee] = h.year, a._dayOfYear = h.dayOfYear)
      }

      function lb(b) {
        if (b._f === a.ISO_8601) return void eb(b);
        if (b._f === a.RFC_2822) return void fb(b);
        b._a = [], n(b).empty = !0;
        var c, d, e, f, g, h = "" + b._i,
          i = h.length,
          j = 0;
        for (e = Y(b._f, b._locale).match(Jd) || [], c = 0; c < e.length; c++) f = e[c], d = (h.match($(f, b)) || [])[0], d && (g = h.substr(0, h.indexOf(d)), g.length > 0 && n(b).unusedInput.push(g), h = h.slice(h.indexOf(d) + d.length), j += d
          .length), Md[f] ? (d ? n(b).empty = !1 : n(b).unusedTokens.push(f), da(f, d, b)) : b._strict && !d && n(b).unusedTokens.push(f);
        n(b).charsLeftOver = i - j, h.length > 0 && n(b).unusedInput.push(h), b._a[he] <= 12 && n(b).bigHour === !0 && b._a[he] > 0 && (n(b).bigHour = void 0), n(b).parsedDateParts = b._a.slice(0), n(b).meridiem = b._meridiem, b._a[he] = mb(b
          ._locale, b._a[he], b._meridiem), jb(b), db(b)
      }

      function mb(a, b, c) {
        var d;
        return null == c ? b : null != a.meridiemHour ? a.meridiemHour(b, c) : null != a.isPM ? (d = a.isPM(c), d && b < 12 && (b += 12), d || 12 !== b || (b = 0), b) : b
      }

      function nb(a) {
        var b, c, d, e, f;
        if (0 === a._f.length) return n(a).invalidFormat = !0, void(a._d = new Date(NaN));
        for (e = 0; e < a._f.length; e++) f = 0, b = q({}, a), null != a._useUTC && (b._useUTC = a._useUTC), b._f = a._f[e], lb(b), o(b) && (f += n(b).charsLeftOver, f += 10 * n(b).unusedTokens.length, n(b).score = f, (null == d || f < d) && (d =
          f, c = b));
        k(a, c || b)
      }

      function ob(a) {
        if (!a._d) {
          var b = L(a._i);
          a._a = i([b.year, b.month, b.day || b.date, b.hour, b.minute, b.second, b.millisecond], function(a) {
            return a && parseInt(a, 10)
          }), jb(a)
        }
      }

      function pb(a) {
        var b = new r(db(qb(a)));
        return b._nextDay && (b.add(1, "d"), b._nextDay = void 0), b
      }

      function qb(a) {
        var b = a._i,
          d = a._f;
        return a._locale = a._locale || bb(a._l), null === b || void 0 === d && "" === b ? p({
          nullInput: !0
        }) : ("string" == typeof b && (a._i = b = a._locale.preparse(b)), s(b) ? new r(db(b)) : (h(b) ? a._d = b : c(d) ? nb(a) : d ? lb(a) : rb(a), o(a) || (a._d = null), a))
      }

      function rb(b) {
        var e = b._i;
        f(e) ? b._d = new Date(a.now()) : h(e) ? b._d = new Date(e.valueOf()) : "string" == typeof e ? gb(b) : c(e) ? (b._a = i(e.slice(0), function(a) {
          return parseInt(a, 10)
        }), jb(b)) : d(e) ? ob(b) : g(e) ? b._d = new Date(e) : a.createFromInputFallback(b)
      }

      function sb(a, b, f, g, h) {
        var i = {};
        return f !== !0 && f !== !1 || (g = f, f = void 0), (d(a) && e(a) || c(a) && 0 === a.length) && (a = void 0), i._isAMomentObject = !0, i._useUTC = i._isUTC = h, i._l = f, i._i = a, i._f = b, i._strict = g, pb(i)
      }

      function tb(a, b, c, d) {
        return sb(a, b, c, d, !1)
      }

      function ub(a, b) {
        var d, e;
        if (1 === b.length && c(b[0]) && (b = b[0]), !b.length) return tb();
        for (d = b[0], e = 1; e < b.length; ++e) b[e].isValid() && !b[e][a](d) || (d = b[e]);
        return d
      }

      function vb() {
        var a = [].slice.call(arguments, 0);
        return ub("isBefore", a)
      }

      function wb() {
        var a = [].slice.call(arguments, 0);
        return ub("isAfter", a)
      }

      function xb(a) {
        for (var b in a)
          if (Re.indexOf(b) === -1 || null != a[b] && isNaN(a[b])) return !1;
        for (var c = !1, d = 0; d < Re.length; ++d)
          if (a[Re[d]]) {
            if (c) return !1;
            parseFloat(a[Re[d]]) !== u(a[Re[d]]) && (c = !0)
          } return !0
      }

      function yb() {
        return this._isValid
      }

      function zb() {
        return Sb(NaN)
      }

      function Ab(a) {
        var b = L(a),
          c = b.year || 0,
          d = b.quarter || 0,
          e = b.month || 0,
          f = b.week || 0,
          g = b.day || 0,
          h = b.hour || 0,
          i = b.minute || 0,
          j = b.second || 0,
          k = b.millisecond || 0;
        this._isValid = xb(b), this._milliseconds = +k + 1e3 * j + 6e4 * i + 1e3 * h * 60 * 60, this._days = +g + 7 * f, this._months = +e + 3 * d + 12 * c, this._data = {}, this._locale = bb(), this._bubble()
      }

      function Bb(a) {
        return a instanceof Ab
      }

      function Cb(a) {
        return a < 0 ? Math.round(-1 * a) * -1 : Math.round(a)
      }

      function Db(a, b) {
        U(a, 0, 0, function() {
          var a = this.utcOffset(),
            c = "+";
          return a < 0 && (a = -a, c = "-"), c + T(~~(a / 60), 2) + b + T(~~a % 60, 2)
        })
      }

      function Eb(a, b) {
        var c = (b || "").match(a);
        if (null === c) return null;
        var d = c[c.length - 1] || [],
          e = (d + "").match(Se) || ["-", 0, 0],
          f = +(60 * e[1]) + u(e[2]);
        return 0 === f ? 0 : "+" === e[0] ? f : -f
      }

      function Fb(b, c) {
        var d, e;
        return c._isUTC ? (d = c.clone(), e = (s(b) || h(b) ? b.valueOf() : tb(b).valueOf()) - d.valueOf(), d._d.setTime(d._d.valueOf() + e), a.updateOffset(d, !1), d) : tb(b).local()
      }

      function Gb(a) {
        return 15 * -Math.round(a._d.getTimezoneOffset() / 15)
      }

      function Hb(b, c, d) {
        var e, f = this._offset || 0;
        if (!this.isValid()) return null != b ? this : NaN;
        if (null != b) {
          if ("string" == typeof b) {
            if (b = Eb(_d, b), null === b) return this
          } else Math.abs(b) < 16 && !d && (b = 60 * b);
          return !this._isUTC && c && (e = Gb(this)), this._offset = b, this._isUTC = !0, null != e && this.add(e, "m"), f !== b && (!c || this._changeInProgress ? Xb(this, Sb(b - f, "m"), 1, !1) : this._changeInProgress || (this
            ._changeInProgress = !0, a.updateOffset(this, !0), this._changeInProgress = null)), this
        }
        return this._isUTC ? f : Gb(this)
      }

      function Ib(a, b) {
        return null != a ? ("string" != typeof a && (a = -a), this.utcOffset(a, b), this) : -this.utcOffset()
      }

      function Jb(a) {
        return this.utcOffset(0, a)
      }

      function Kb(a) {
        return this._isUTC && (this.utcOffset(0, a), this._isUTC = !1, a && this.subtract(Gb(this), "m")), this
      }

      function Lb() {
        if (null != this._tzm) this.utcOffset(this._tzm, !1, !0);
        else if ("string" == typeof this._i) {
          var a = Eb($d, this._i);
          null != a ? this.utcOffset(a) : this.utcOffset(0, !0)
        }
        return this
      }

      function Mb(a) {
        return !!this.isValid() && (a = a ? tb(a).utcOffset() : 0, (this.utcOffset() - a) % 60 === 0)
      }

      function Nb() {
        return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset()
      }

      function Ob() {
        if (!f(this._isDSTShifted)) return this._isDSTShifted;
        var a = {};
        if (q(a, this), a = qb(a), a._a) {
          var b = a._isUTC ? l(a._a) : tb(a._a);
          this._isDSTShifted = this.isValid() && v(a._a, b.toArray()) > 0
        } else this._isDSTShifted = !1;
        return this._isDSTShifted
      }

      function Pb() {
        return !!this.isValid() && !this._isUTC
      }

      function Qb() {
        return !!this.isValid() && this._isUTC
      }

      function Rb() {
        return !!this.isValid() && (this._isUTC && 0 === this._offset)
      }

      function Sb(a, b) {
        var c, d, e, f = a,
          h = null;
        return Bb(a) ? f = {
          ms: a._milliseconds,
          d: a._days,
          M: a._months
        } : g(a) ? (f = {}, b ? f[b] = a : f.milliseconds = a) : (h = Te.exec(a)) ? (c = "-" === h[1] ? -1 : 1, f = {
          y: 0,
          d: u(h[ge]) * c,
          h: u(h[he]) * c,
          m: u(h[ie]) * c,
          s: u(h[je]) * c,
          ms: u(Cb(1e3 * h[ke])) * c
        }) : (h = Ue.exec(a)) ? (c = "-" === h[1] ? -1 : 1, f = {
          y: Tb(h[2], c),
          M: Tb(h[3], c),
          w: Tb(h[4], c),
          d: Tb(h[5], c),
          h: Tb(h[6], c),
          m: Tb(h[7], c),
          s: Tb(h[8], c)
        }) : null == f ? f = {} : "object" == typeof f && ("from" in f || "to" in f) && (e = Vb(tb(f.from), tb(f.to)), f = {}, f.ms = e.milliseconds, f.M = e.months), d = new Ab(f), Bb(a) && j(a, "_locale") && (d._locale = a._locale), d
      }

      function Tb(a, b) {
        var c = a && parseFloat(a.replace(",", "."));
        return (isNaN(c) ? 0 : c) * b
      }

      function Ub(a, b) {
        var c = {
          milliseconds: 0,
          months: 0
        };
        return c.months = b.month() - a.month() + 12 * (b.year() - a.year()), a.clone().add(c.months, "M").isAfter(b) && --c.months, c.milliseconds = +b - +a.clone().add(c.months, "M"), c
      }

      function Vb(a, b) {
        var c;
        return a.isValid() && b.isValid() ? (b = Fb(b, a), a.isBefore(b) ? c = Ub(a, b) : (c = Ub(b, a), c.milliseconds = -c.milliseconds, c.months = -c.months), c) : {
          milliseconds: 0,
          months: 0
        }
      }

      function Wb(a, b) {
        return function(c, d) {
          var e, f;
          return null === d || isNaN(+d) || (y(b, "moment()." + b + "(period, number) is deprecated. Please use moment()." + b + "(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."), f = c, c = d, d =
            f), c = "string" == typeof c ? +c : c, e = Sb(c, d), Xb(this, e, a), this
        }
      }

      function Xb(b, c, d, e) {
        var f = c._milliseconds,
          g = Cb(c._days),
          h = Cb(c._months);
        b.isValid() && (e = null == e || e, f && b._d.setTime(b._d.valueOf() + f * d), g && Q(b, "Date", P(b, "Date") + g * d), h && ja(b, P(b, "Month") + h * d), e && a.updateOffset(b, g || h))
      }

      function Yb(a, b) {
        var c = a.diff(b, "days", !0);
        return c < -6 ? "sameElse" : c < -1 ? "lastWeek" : c < 0 ? "lastDay" : c < 1 ? "sameDay" : c < 2 ? "nextDay" : c < 7 ? "nextWeek" : "sameElse"
      }

      function Zb(b, c) {
        var d = b || tb(),
          e = Fb(d, this).startOf("day"),
          f = a.calendarFormat(this, e) || "sameElse",
          g = c && (z(c[f]) ? c[f].call(this, d) : c[f]);
        return this.format(g || this.localeData().calendar(f, this, tb(d)))
      }

      function $b() {
        return new r(this)
      }

      function _b(a, b) {
        var c = s(a) ? a : tb(a);
        return !(!this.isValid() || !c.isValid()) && (b = K(f(b) ? "millisecond" : b), "millisecond" === b ? this.valueOf() > c.valueOf() : c.valueOf() < this.clone().startOf(b).valueOf())
      }

      function ac(a, b) {
        var c = s(a) ? a : tb(a);
        return !(!this.isValid() || !c.isValid()) && (b = K(f(b) ? "millisecond" : b), "millisecond" === b ? this.valueOf() < c.valueOf() : this.clone().endOf(b).valueOf() < c.valueOf())
      }

      function bc(a, b, c, d) {
        return d = d || "()", ("(" === d[0] ? this.isAfter(a, c) : !this.isBefore(a, c)) && (")" === d[1] ? this.isBefore(b, c) : !this.isAfter(b, c))
      }

      function cc(a, b) {
        var c, d = s(a) ? a : tb(a);
        return !(!this.isValid() || !d.isValid()) && (b = K(b || "millisecond"), "millisecond" === b ? this.valueOf() === d.valueOf() : (c = d.valueOf(), this.clone().startOf(b).valueOf() <= c && c <= this.clone().endOf(b).valueOf()))
      }

      function dc(a, b) {
        return this.isSame(a, b) || this.isAfter(a, b)
      }

      function ec(a, b) {
        return this.isSame(a, b) || this.isBefore(a, b)
      }

      function fc(a, b, c) {
        var d, e, f, g;
        return this.isValid() ? (d = Fb(a, this), d.isValid() ? (e = 6e4 * (d.utcOffset() - this.utcOffset()), b = K(b), "year" === b || "month" === b || "quarter" === b ? (g = gc(this, d), "quarter" === b ? g /= 3 : "year" === b && (g /= 12)) : (
          f = this - d, g = "second" === b ? f / 1e3 : "minute" === b ? f / 6e4 : "hour" === b ? f / 36e5 : "day" === b ? (f - e) / 864e5 : "week" === b ? (f - e) / 6048e5 : f), c ? g : t(g)) : NaN) : NaN
      }

      function gc(a, b) {
        var c, d, e = 12 * (b.year() - a.year()) + (b.month() - a.month()),
          f = a.clone().add(e, "months");
        return b - f < 0 ? (c = a.clone().add(e - 1, "months"), d = (b - f) / (f - c)) : (c = a.clone().add(e + 1, "months"), d = (b - f) / (c - f)), -(e + d) || 0
      }

      function hc() {
        return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")
      }

      function ic() {
        if (!this.isValid()) return null;
        var a = this.clone().utc();
        return a.year() < 0 || a.year() > 9999 ? X(a, "YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]") : z(Date.prototype.toISOString) ? this.toDate().toISOString() : X(a, "YYYY-MM-DD[T]HH:mm:ss.SSS[Z]")
      }

      function jc() {
        if (!this.isValid()) return "moment.invalid(/* " + this._i + " */)";
        var a = "moment",
          b = "";
        this.isLocal() || (a = 0 === this.utcOffset() ? "moment.utc" : "moment.parseZone", b = "Z");
        var c = "[" + a + '("]',
          d = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY",
          e = "-MM-DD[T]HH:mm:ss.SSS",
          f = b + '[")]';
        return this.format(c + d + e + f)
      }

      function kc(b) {
        b || (b = this.isUtc() ? a.defaultFormatUtc : a.defaultFormat);
        var c = X(this, b);
        return this.localeData().postformat(c)
      }

      function lc(a, b) {
        return this.isValid() && (s(a) && a.isValid() || tb(a).isValid()) ? Sb({
          to: this,
          from: a
        }).locale(this.locale()).humanize(!b) : this.localeData().invalidDate()
      }

      function mc(a) {
        return this.from(tb(), a)
      }

      function nc(a, b) {
        return this.isValid() && (s(a) && a.isValid() || tb(a).isValid()) ? Sb({
          from: this,
          to: a
        }).locale(this.locale()).humanize(!b) : this.localeData().invalidDate()
      }

      function oc(a) {
        return this.to(tb(), a)
      }

      function pc(a) {
        var b;
        return void 0 === a ? this._locale._abbr : (b = bb(a), null != b && (this._locale = b), this)
      }

      function qc() {
        return this._locale
      }

      function rc(a) {
        switch (a = K(a)) {
          case "year":
            this.month(0);
          case "quarter":
          case "month":
            this.date(1);
          case "week":
          case "isoWeek":
          case "day":
          case "date":
            this.hours(0);
          case "hour":
            this.minutes(0);
          case "minute":
            this.seconds(0);
          case "second":
            this.milliseconds(0)
        }
        return "week" === a && this.weekday(0), "isoWeek" === a && this.isoWeekday(1), "quarter" === a && this.month(3 * Math.floor(this.month() / 3)), this
      }

      function sc(a) {
        return a = K(a), void 0 === a || "millisecond" === a ? this : ("date" === a && (a = "day"), this.startOf(a).add(1, "isoWeek" === a ? "week" : a).subtract(1, "ms"))
      }

      function tc() {
        return this._d.valueOf() - 6e4 * (this._offset || 0)
      }

      function uc() {
        return Math.floor(this.valueOf() / 1e3)
      }

      function vc() {
        return new Date(this.valueOf())
      }

      function wc() {
        var a = this;
        return [a.year(), a.month(), a.date(), a.hour(), a.minute(), a.second(), a.millisecond()]
      }

      function xc() {
        var a = this;
        return {
          years: a.year(),
          months: a.month(),
          date: a.date(),
          hours: a.hours(),
          minutes: a.minutes(),
          seconds: a.seconds(),
          milliseconds: a.milliseconds()
        }
      }

      function yc() {
        return this.isValid() ? this.toISOString() : null
      }

      function zc() {
        return o(this)
      }

      function Ac() {
        return k({}, n(this))
      }

      function Bc() {
        return n(this).overflow
      }

      function Cc() {
        return {
          input: this._i,
          format: this._f,
          locale: this._locale,
          isUTC: this._isUTC,
          strict: this._strict
        }
      }

      function Dc(a, b) {
        U(0, [a, a.length], 0, b)
      }

      function Ec(a) {
        return Ic.call(this, a, this.week(), this.weekday(), this.localeData()._week.dow, this.localeData()._week.doy)
      }

      function Fc(a) {
        return Ic.call(this, a, this.isoWeek(), this.isoWeekday(), 1, 4)
      }

      function Gc() {
        return xa(this.year(), 1, 4)
      }

      function Hc() {
        var a = this.localeData()._week;
        return xa(this.year(), a.dow, a.doy)
      }

      function Ic(a, b, c, d, e) {
        var f;
        return null == a ? wa(this, d, e).year : (f = xa(a, d, e), b > f && (b = f), Jc.call(this, a, b, c, d, e))
      }

      function Jc(a, b, c, d, e) {
        var f = va(a, b, c, d, e),
          g = ta(f.year, 0, f.dayOfYear);
        return this.year(g.getUTCFullYear()), this.month(g.getUTCMonth()), this.date(g.getUTCDate()), this
      }

      function Kc(a) {
        return null == a ? Math.ceil((this.month() + 1) / 3) : this.month(3 * (a - 1) + this.month() % 3)
      }

      function Lc(a) {
        var b = Math.round((this.clone().startOf("day") - this.clone().startOf("year")) / 864e5) + 1;
        return null == a ? b : this.add(a - b, "d")
      }

      function Mc(a, b) {
        b[ke] = u(1e3 * ("0." + a))
      }

      function Nc() {
        return this._isUTC ? "UTC" : ""
      }

      function Oc() {
        return this._isUTC ? "Coordinated Universal Time" : ""
      }

      function Pc(a) {
        return tb(1e3 * a)
      }

      function Qc() {
        return tb.apply(null, arguments).parseZone()
      }

      function Rc(a) {
        return a
      }

      function Sc(a, b, c, d) {
        var e = bb(),
          f = l().set(d, b);
        return e[c](f, a)
      }

      function Tc(a, b, c) {
        if (g(a) && (b = a, a = void 0), a = a || "", null != b) return Sc(a, b, c, "month");
        var d, e = [];
        for (d = 0; d < 12; d++) e[d] = Sc(a, d, c, "month");
        return e
      }

      function Uc(a, b, c, d) {
        "boolean" == typeof a ? (g(b) && (c = b, b = void 0), b = b || "") : (b = a, c = b, a = !1, g(b) && (c = b, b = void 0), b = b || "");
        var e = bb(),
          f = a ? e._week.dow : 0;
        if (null != c) return Sc(b, (c + f) % 7, d, "day");
        var h, i = [];
        for (h = 0; h < 7; h++) i[h] = Sc(b, (h + f) % 7, d, "day");
        return i
      }

      function Vc(a, b) {
        return Tc(a, b, "months")
      }

      function Wc(a, b) {
        return Tc(a, b, "monthsShort")
      }

      function Xc(a, b, c) {
        return Uc(a, b, c, "weekdays")
      }

      function Yc(a, b, c) {
        return Uc(a, b, c, "weekdaysShort")
      }

      function Zc(a, b, c) {
        return Uc(a, b, c, "weekdaysMin")
      }

      function $c() {
        var a = this._data;
        return this._milliseconds = df(this._milliseconds), this._days = df(this._days), this._months = df(this._months), a.milliseconds = df(a.milliseconds), a.seconds = df(a.seconds), a.minutes = df(a.minutes), a.hours = df(a.hours), a.months =
          df(a.months), a.years = df(a.years), this
      }

      function _c(a, b, c, d) {
        var e = Sb(b, c);
        return a._milliseconds += d * e._milliseconds, a._days += d * e._days, a._months += d * e._months, a._bubble()
      }

      function ad(a, b) {
        return _c(this, a, b, 1)
      }

      function bd(a, b) {
        return _c(this, a, b, -1)
      }

      function cd(a) {
        return a < 0 ? Math.floor(a) : Math.ceil(a)
      }

      function dd() {
        var a, b, c, d, e, f = this._milliseconds,
          g = this._days,
          h = this._months,
          i = this._data;
        return f >= 0 && g >= 0 && h >= 0 || f <= 0 && g <= 0 && h <= 0 || (f += 864e5 * cd(fd(h) + g), g = 0, h = 0), i.milliseconds = f % 1e3, a = t(f / 1e3), i.seconds = a % 60, b = t(a / 60), i.minutes = b % 60, c = t(b / 60), i.hours = c % 24,
          g += t(c / 24), e = t(ed(g)), h += e, g -= cd(fd(e)), d = t(h / 12), h %= 12, i.days = g, i.months = h, i.years = d, this
      }

      function ed(a) {
        return 4800 * a / 146097
      }

      function fd(a) {
        return 146097 * a / 4800
      }

      function gd(a) {
        if (!this.isValid()) return NaN;
        var b, c, d = this._milliseconds;
        if (a = K(a), "month" === a || "year" === a) return b = this._days + d / 864e5, c = this._months + ed(b), "month" === a ? c : c / 12;
        switch (b = this._days + Math.round(fd(this._months)), a) {
          case "week":
            return b / 7 + d / 6048e5;
          case "day":
            return b + d / 864e5;
          case "hour":
            return 24 * b + d / 36e5;
          case "minute":
            return 1440 * b + d / 6e4;
          case "second":
            return 86400 * b + d / 1e3;
          case "millisecond":
            return Math.floor(864e5 * b) + d;
          default:
            throw new Error("Unknown unit " + a)
        }
      }

      function hd() {
        return this.isValid() ? this._milliseconds + 864e5 * this._days + this._months % 12 * 2592e6 + 31536e6 * u(this._months / 12) : NaN
      }

      function id(a) {
        return function() {
          return this.as(a)
        }
      }

      function jd(a) {
        return a = K(a), this.isValid() ? this[a + "s"]() : NaN
      }

      function kd(a) {
        return function() {
          return this.isValid() ? this._data[a] : NaN
        }
      }

      function ld() {
        return t(this.days() / 7)
      }

      function md(a, b, c, d, e) {
        return e.relativeTime(b || 1, !!c, a, d)
      }

      function nd(a, b, c) {
        var d = Sb(a).abs(),
          e = uf(d.as("s")),
          f = uf(d.as("m")),
          g = uf(d.as("h")),
          h = uf(d.as("d")),
          i = uf(d.as("M")),
          j = uf(d.as("y")),
          k = e <= vf.ss && ["s", e] || e < vf.s && ["ss", e] || f <= 1 && ["m"] || f < vf.m && ["mm", f] || g <= 1 && ["h"] || g < vf.h && ["hh", g] || h <= 1 && ["d"] || h < vf.d && ["dd", h] || i <= 1 && ["M"] || i < vf.M && ["MM", i] || j <=
          1 && ["y"] || ["yy", j];
        return k[2] = b, k[3] = +a > 0, k[4] = c, md.apply(null, k)
      }

      function od(a) {
        return void 0 === a ? uf : "function" == typeof a && (uf = a, !0)
      }

      function pd(a, b) {
        return void 0 !== vf[a] && (void 0 === b ? vf[a] : (vf[a] = b, "s" === a && (vf.ss = b - 1), !0))
      }

      function qd(a) {
        if (!this.isValid()) return this.localeData().invalidDate();
        var b = this.localeData(),
          c = nd(this, !a, b);
        return a && (c = b.pastFuture(+this, c)), b.postformat(c)
      }

      function rd() {
        if (!this.isValid()) return this.localeData().invalidDate();
        var a, b, c, d = wf(this._milliseconds) / 1e3,
          e = wf(this._days),
          f = wf(this._months);
        a = t(d / 60), b = t(a / 60), d %= 60, a %= 60, c = t(f / 12), f %= 12;
        var g = c,
          h = f,
          i = e,
          j = b,
          k = a,
          l = d,
          m = this.asSeconds();
        return m ? (m < 0 ? "-" : "") + "P" + (g ? g + "Y" : "") + (h ? h + "M" : "") + (i ? i + "D" : "") + (j || k || l ? "T" : "") + (j ? j + "H" : "") + (k ? k + "M" : "") + (l ? l + "S" : "") : "P0D"
      }
      var sd, td;
      td = Array.prototype.some ? Array.prototype.some : function(a) {
        for (var b = Object(this), c = b.length >>> 0, d = 0; d < c; d++)
          if (d in b && a.call(this, b[d], d, b)) return !0;
        return !1
      };
      var ud = td,
        vd = a.momentProperties = [],
        wd = !1,
        xd = {};
      a.suppressDeprecationWarnings = !1, a.deprecationHandler = null;
      var yd;
      yd = Object.keys ? Object.keys : function(a) {
        var b, c = [];
        for (b in a) j(a, b) && c.push(b);
        return c
      };
      var zd, Ad = yd,
        Bd = {
          sameDay: "[Today at] LT",
          nextDay: "[Tomorrow at] LT",
          nextWeek: "dddd [at] LT",
          lastDay: "[Yesterday at] LT",
          lastWeek: "[Last] dddd [at] LT",
          sameElse: "L"
        },
        Cd = {
          LTS: "h:mm:ss A",
          LT: "h:mm A",
          L: "MM/DD/YYYY",
          LL: "MMMM D, YYYY",
          LLL: "MMMM D, YYYY h:mm A",
          LLLL: "dddd, MMMM D, YYYY h:mm A"
        },
        Dd = "Invalid date",
        Ed = "%d",
        Fd = /\d{1,2}/,
        Gd = {
          future: "in %s",
          past: "%s ago",
          s: "a few seconds",
          ss: "%d seconds",
          m: "a minute",
          mm: "%d minutes",
          h: "an hour",
          hh: "%d hours",
          d: "a day",
          dd: "%d days",
          M: "a month",
          MM: "%d months",
          y: "a year",
          yy: "%d years"
        },
        Hd = {},
        Id = {},
        Jd = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,
        Kd = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,
        Ld = {},
        Md = {},
        Nd = /\d/,
        Od = /\d\d/,
        Pd = /\d{3}/,
        Qd = /\d{4}/,
        Rd = /[+-]?\d{6}/,
        Sd = /\d\d?/,
        Td = /\d\d\d\d?/,
        Ud = /\d\d\d\d\d\d?/,
        Vd = /\d{1,3}/,
        Wd = /\d{1,4}/,
        Xd = /[+-]?\d{1,6}/,
        Yd = /\d+/,
        Zd = /[+-]?\d+/,
        $d = /Z|[+-]\d\d:?\d\d/gi,
        _d = /Z|[+-]\d\d(?::?\d\d)?/gi,
        ae = /[+-]?\d+(\.\d{1,3})?/,
        be = /[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,
        ce = {},
        de = {},
        ee = 0,
        fe = 1,
        ge = 2,
        he = 3,
        ie = 4,
        je = 5,
        ke = 6,
        le = 7,
        me = 8;
      zd = Array.prototype.indexOf ? Array.prototype.indexOf : function(a) {
        var b;
        for (b = 0; b < this.length; ++b)
          if (this[b] === a) return b;
        return -1
      };
      var ne = zd;
      U("M", ["MM", 2], "Mo", function() {
        return this.month() + 1
      }), U("MMM", 0, 0, function(a) {
        return this.localeData().monthsShort(this, a)
      }), U("MMMM", 0, 0, function(a) {
        return this.localeData().months(this, a)
      }), J("month", "M"), M("month", 8), Z("M", Sd), Z("MM", Sd, Od), Z("MMM", function(a, b) {
        return b.monthsShortRegex(a)
      }), Z("MMMM", function(a, b) {
        return b.monthsRegex(a)
      }), ba(["M", "MM"], function(a, b) {
        b[fe] = u(a) - 1
      }), ba(["MMM", "MMMM"], function(a, b, c, d) {
        var e = c._locale.monthsParse(a, d, c._strict);
        null != e ? b[fe] = e : n(c).invalidMonth = a
      });
      var oe = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,
        pe = "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
        qe = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),
        re = be,
        se = be;
      U("Y", 0, 0, function() {
        var a = this.year();
        return a <= 9999 ? "" + a : "+" + a
      }), U(0, ["YY", 2], 0, function() {
        return this.year() % 100
      }), U(0, ["YYYY", 4], 0, "year"), U(0, ["YYYYY", 5], 0, "year"), U(0, ["YYYYYY", 6, !0], 0, "year"), J("year", "y"), M("year", 1), Z("Y", Zd), Z("YY", Sd, Od), Z("YYYY", Wd, Qd), Z("YYYYY", Xd, Rd), Z("YYYYYY", Xd, Rd), ba(["YYYYY",
        "YYYYYY"
      ], ee), ba("YYYY", function(b, c) {
        c[ee] = 2 === b.length ? a.parseTwoDigitYear(b) : u(b)
      }), ba("YY", function(b, c) {
        c[ee] = a.parseTwoDigitYear(b)
      }), ba("Y", function(a, b) {
        b[ee] = parseInt(a, 10)
      }), a.parseTwoDigitYear = function(a) {
        return u(a) + (u(a) > 68 ? 1900 : 2e3)
      };
      var te = O("FullYear", !0);
      U("w", ["ww", 2], "wo", "week"), U("W", ["WW", 2], "Wo", "isoWeek"), J("week", "w"), J("isoWeek", "W"), M("week", 5), M("isoWeek", 5), Z("w", Sd), Z("ww", Sd, Od), Z("W", Sd), Z("WW", Sd, Od), ca(["w", "ww", "W", "WW"], function(a, b, c, d) {
        b[d.substr(0, 1)] = u(a)
      });
      var ue = {
        dow: 0,
        doy: 6
      };
      U("d", 0, "do", "day"), U("dd", 0, 0, function(a) {
        return this.localeData().weekdaysMin(this, a)
      }), U("ddd", 0, 0, function(a) {
        return this.localeData().weekdaysShort(this, a)
      }), U("dddd", 0, 0, function(a) {
        return this.localeData().weekdays(this, a)
      }), U("e", 0, 0, "weekday"), U("E", 0, 0, "isoWeekday"), J("day", "d"), J("weekday", "e"), J("isoWeekday", "E"), M("day", 11), M("weekday", 11), M("isoWeekday", 11), Z("d", Sd), Z("e", Sd), Z("E", Sd), Z("dd", function(a, b) {
        return b.weekdaysMinRegex(a)
      }), Z("ddd", function(a, b) {
        return b.weekdaysShortRegex(a)
      }), Z("dddd", function(a, b) {
        return b.weekdaysRegex(a)
      }), ca(["dd", "ddd", "dddd"], function(a, b, c, d) {
        var e = c._locale.weekdaysParse(a, d, c._strict);
        null != e ? b.d = e : n(c).invalidWeekday = a
      }), ca(["d", "e", "E"], function(a, b, c, d) {
        b[d] = u(a)
      });
      var ve = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
        we = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),
        xe = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"),
        ye = be,
        ze = be,
        Ae = be;
      U("H", ["HH", 2], 0, "hour"), U("h", ["hh", 2], 0, Ra), U("k", ["kk", 2], 0, Sa), U("hmm", 0, 0, function() {
        return "" + Ra.apply(this) + T(this.minutes(), 2)
      }), U("hmmss", 0, 0, function() {
        return "" + Ra.apply(this) + T(this.minutes(), 2) + T(this.seconds(), 2)
      }), U("Hmm", 0, 0, function() {
        return "" + this.hours() + T(this.minutes(), 2)
      }), U("Hmmss", 0, 0, function() {
        return "" + this.hours() + T(this.minutes(), 2) + T(this.seconds(), 2)
      }), Ta("a", !0), Ta("A", !1), J("hour", "h"), M("hour", 13), Z("a", Ua), Z("A", Ua), Z("H", Sd), Z("h", Sd), Z("k", Sd), Z("HH", Sd, Od), Z("hh", Sd, Od), Z("kk", Sd, Od), Z("hmm", Td), Z("hmmss", Ud), Z("Hmm", Td), Z("Hmmss", Ud), ba(["H",
        "HH"
      ], he), ba(["k", "kk"], function(a, b, c) {
        var d = u(a);
        b[he] = 24 === d ? 0 : d
      }), ba(["a", "A"], function(a, b, c) {
        c._isPm = c._locale.isPM(a), c._meridiem = a
      }), ba(["h", "hh"], function(a, b, c) {
        b[he] = u(a), n(c).bigHour = !0
      }), ba("hmm", function(a, b, c) {
        var d = a.length - 2;
        b[he] = u(a.substr(0, d)), b[ie] = u(a.substr(d)), n(c).bigHour = !0
      }), ba("hmmss", function(a, b, c) {
        var d = a.length - 4,
          e = a.length - 2;
        b[he] = u(a.substr(0, d)), b[ie] = u(a.substr(d, 2)), b[je] = u(a.substr(e)), n(c).bigHour = !0
      }), ba("Hmm", function(a, b, c) {
        var d = a.length - 2;
        b[he] = u(a.substr(0, d)), b[ie] = u(a.substr(d))
      }), ba("Hmmss", function(a, b, c) {
        var d = a.length - 4,
          e = a.length - 2;
        b[he] = u(a.substr(0, d)), b[ie] = u(a.substr(d, 2)), b[je] = u(a.substr(e))
      });
      var Be, Ce = /[ap]\.?m?\.?/i,
        De = O("Hours", !0),
        Ee = {
          calendar: Bd,
          longDateFormat: Cd,
          invalidDate: Dd,
          ordinal: Ed,
          dayOfMonthOrdinalParse: Fd,
          relativeTime: Gd,
          months: pe,
          monthsShort: qe,
          week: ue,
          weekdays: ve,
          weekdaysMin: xe,
          weekdaysShort: we,
          meridiemParse: Ce
        },
        Fe = {},
        Ge = {},
        He = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,
        Ie = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,
        Je = /Z|[+-]\d\d(?::?\d\d)?/,
        Ke = [
          ["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
          ["YYYY-MM-DD", /\d{4}-\d\d-\d\d/],
          ["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/],
          ["GGGG-[W]WW", /\d{4}-W\d\d/, !1],
          ["YYYY-DDD", /\d{4}-\d{3}/],
          ["YYYY-MM", /\d{4}-\d\d/, !1],
          ["YYYYYYMMDD", /[+-]\d{10}/],
          ["YYYYMMDD", /\d{8}/],
          ["GGGG[W]WWE", /\d{4}W\d{3}/],
          ["GGGG[W]WW", /\d{4}W\d{2}/, !1],
          ["YYYYDDD", /\d{7}/]
        ],
        Le = [
          ["HH:mm:ss.SSSS", /\d\d:\d\d:\d\d\.\d+/],
          ["HH:mm:ss,SSSS", /\d\d:\d\d:\d\d,\d+/],
          ["HH:mm:ss", /\d\d:\d\d:\d\d/],
          ["HH:mm", /\d\d:\d\d/],
          ["HHmmss.SSSS", /\d\d\d\d\d\d\.\d+/],
          ["HHmmss,SSSS", /\d\d\d\d\d\d,\d+/],
          ["HHmmss", /\d\d\d\d\d\d/],
          ["HHmm", /\d\d\d\d/],
          ["HH", /\d\d/]
        ],
        Me = /^\/?Date\((\-?\d+)/i,
        Ne = /^((?:Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d?\d\s(?:Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(?:\d\d)?\d\d\s)(\d\d:\d\d)(\:\d\d)?(\s(?:UT|GMT|[ECMP][SD]T|[A-IK-Za-ik-z]|[+-]\d{4}))$/;
      a.createFromInputFallback = x(
        "value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",
        function(a) {
          a._d = new Date(a._i + (a._useUTC ? " UTC" : ""))
        }), a.ISO_8601 = function() {}, a.RFC_2822 = function() {};
      var Oe = x("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/", function() {
          var a = tb.apply(null, arguments);
          return this.isValid() && a.isValid() ? a < this ? this : a : p()
        }),
        Pe = x("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/", function() {
          var a = tb.apply(null, arguments);
          return this.isValid() && a.isValid() ? a > this ? this : a : p()
        }),
        Qe = function() {
          return Date.now ? Date.now() : +new Date
        },
        Re = ["year", "quarter", "month", "week", "day", "hour", "minute", "second", "millisecond"];
      Db("Z", ":"), Db("ZZ", ""), Z("Z", _d), Z("ZZ", _d), ba(["Z", "ZZ"], function(a, b, c) {
        c._useUTC = !0, c._tzm = Eb(_d, a)
      });
      var Se = /([\+\-]|\d\d)/gi;
      a.updateOffset = function() {};
      var Te = /^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,
        Ue = /^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;
      Sb.fn = Ab.prototype, Sb.invalid = zb;
      var Ve = Wb(1, "add"),
        We = Wb(-1, "subtract");
      a.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ", a.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]";
      var Xe = x("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.", function(a) {
        return void 0 === a ? this.localeData() : this.locale(a)
      });
      U(0, ["gg", 2], 0, function() {
        return this.weekYear() % 100
      }), U(0, ["GG", 2], 0, function() {
        return this.isoWeekYear() % 100
      }), Dc("gggg", "weekYear"), Dc("ggggg", "weekYear"), Dc("GGGG", "isoWeekYear"), Dc("GGGGG", "isoWeekYear"), J("weekYear", "gg"), J("isoWeekYear", "GG"), M("weekYear", 1), M("isoWeekYear", 1), Z("G", Zd), Z("g", Zd), Z("GG", Sd, Od), Z("gg",
        Sd, Od), Z("GGGG", Wd, Qd), Z("gggg", Wd, Qd), Z("GGGGG", Xd, Rd), Z("ggggg", Xd, Rd), ca(["gggg", "ggggg", "GGGG", "GGGGG"], function(a, b, c, d) {
        b[d.substr(0, 2)] = u(a)
      }), ca(["gg", "GG"], function(b, c, d, e) {
        c[e] = a.parseTwoDigitYear(b)
      }), U("Q", 0, "Qo", "quarter"), J("quarter", "Q"), M("quarter", 7), Z("Q", Nd), ba("Q", function(a, b) {
        b[fe] = 3 * (u(a) - 1)
      }), U("D", ["DD", 2], "Do", "date"), J("date", "D"), M("date", 9), Z("D", Sd), Z("DD", Sd, Od), Z("Do", function(a, b) {
        return a ? b._dayOfMonthOrdinalParse || b._ordinalParse : b._dayOfMonthOrdinalParseLenient
      }), ba(["D", "DD"], ge), ba("Do", function(a, b) {
        b[ge] = u(a.match(Sd)[0], 10)
      });
      var Ye = O("Date", !0);
      U("DDD", ["DDDD", 3], "DDDo", "dayOfYear"), J("dayOfYear", "DDD"), M("dayOfYear", 4), Z("DDD", Vd), Z("DDDD", Pd), ba(["DDD", "DDDD"], function(a, b, c) {
        c._dayOfYear = u(a)
      }), U("m", ["mm", 2], 0, "minute"), J("minute", "m"), M("minute", 14), Z("m", Sd), Z("mm", Sd, Od), ba(["m", "mm"], ie);
      var Ze = O("Minutes", !1);
      U("s", ["ss", 2], 0, "second"), J("second", "s"), M("second", 15), Z("s", Sd), Z("ss", Sd, Od), ba(["s", "ss"], je);
      var $e = O("Seconds", !1);
      U("S", 0, 0, function() {
        return ~~(this.millisecond() / 100)
      }), U(0, ["SS", 2], 0, function() {
        return ~~(this.millisecond() / 10)
      }), U(0, ["SSS", 3], 0, "millisecond"), U(0, ["SSSS", 4], 0, function() {
        return 10 * this.millisecond()
      }), U(0, ["SSSSS", 5], 0, function() {
        return 100 * this.millisecond()
      }), U(0, ["SSSSSS", 6], 0, function() {
        return 1e3 * this.millisecond()
      }), U(0, ["SSSSSSS", 7], 0, function() {
        return 1e4 * this.millisecond()
      }), U(0, ["SSSSSSSS", 8], 0, function() {
        return 1e5 * this.millisecond()
      }), U(0, ["SSSSSSSSS", 9], 0, function() {
        return 1e6 * this.millisecond()
      }), J("millisecond", "ms"), M("millisecond", 16), Z("S", Vd, Nd), Z("SS", Vd, Od), Z("SSS", Vd, Pd);
      var _e;
      for (_e = "SSSS"; _e.length <= 9; _e += "S") Z(_e, Yd);
      for (_e = "S"; _e.length <= 9; _e += "S") ba(_e, Mc);
      var af = O("Milliseconds", !1);
      U("z", 0, 0, "zoneAbbr"), U("zz", 0, 0, "zoneName");
      var bf = r.prototype;
      bf.add = Ve, bf.calendar = Zb, bf.clone = $b, bf.diff = fc, bf.endOf = sc, bf.format = kc, bf.from = lc, bf.fromNow = mc, bf.to = nc, bf.toNow = oc, bf.get = R, bf.invalidAt = Bc, bf.isAfter = _b, bf.isBefore = ac, bf.isBetween = bc, bf
        .isSame = cc, bf.isSameOrAfter = dc, bf.isSameOrBefore = ec, bf.isValid = zc, bf.lang = Xe, bf.locale = pc, bf.localeData = qc, bf.max = Pe, bf.min = Oe, bf.parsingFlags = Ac, bf.set = S, bf.startOf = rc, bf.subtract = We, bf.toArray = wc,
        bf.toObject = xc, bf.toDate = vc, bf.toISOString = ic, bf.inspect = jc, bf.toJSON = yc, bf.toString = hc, bf.unix = uc, bf.valueOf = tc, bf.creationData = Cc, bf.year = te, bf.isLeapYear = ra, bf.weekYear = Ec, bf.isoWeekYear = Fc, bf
        .quarter = bf.quarters = Kc, bf.month = ka, bf.daysInMonth = la, bf.week = bf.weeks = Ba, bf.isoWeek = bf.isoWeeks = Ca, bf.weeksInYear = Hc, bf.isoWeeksInYear = Gc, bf.date = Ye, bf.day = bf.days = Ka, bf.weekday = La, bf.isoWeekday = Ma,
        bf.dayOfYear = Lc, bf.hour = bf.hours = De, bf.minute = bf.minutes = Ze, bf.second = bf.seconds = $e, bf.millisecond = bf.milliseconds = af, bf.utcOffset = Hb, bf.utc = Jb, bf.local = Kb, bf.parseZone = Lb, bf.hasAlignedHourOffset = Mb, bf
        .isDST = Nb, bf.isLocal = Pb, bf.isUtcOffset = Qb, bf.isUtc = Rb, bf.isUTC = Rb, bf.zoneAbbr = Nc, bf.zoneName = Oc, bf.dates = x("dates accessor is deprecated. Use date instead.", Ye), bf.months = x(
          "months accessor is deprecated. Use month instead", ka), bf.years = x("years accessor is deprecated. Use year instead", te), bf.zone = x(
          "moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/", Ib), bf.isDSTShifted = x(
          "isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information", Ob);
      var cf = C.prototype;
      cf.calendar = D, cf.longDateFormat = E, cf.invalidDate = F, cf.ordinal = G, cf.preparse = Rc, cf.postformat = Rc, cf.relativeTime = H, cf.pastFuture = I, cf.set = A, cf.months = fa, cf.monthsShort = ga, cf.monthsParse = ia, cf.monthsRegex =
        na, cf.monthsShortRegex = ma, cf.week = ya, cf.firstDayOfYear = Aa, cf.firstDayOfWeek = za, cf.weekdays = Fa, cf.weekdaysMin = Ha, cf.weekdaysShort = Ga, cf.weekdaysParse = Ja, cf.weekdaysRegex = Na, cf.weekdaysShortRegex = Oa, cf
        .weekdaysMinRegex = Pa, cf.isPM = Va, cf.meridiem = Wa, $a("en", {
          dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
          ordinal: function(a) {
            var b = a % 10,
              c = 1 === u(a % 100 / 10) ? "th" : 1 === b ? "st" : 2 === b ? "nd" : 3 === b ? "rd" : "th";
            return a + c
          }
        }), a.lang = x("moment.lang is deprecated. Use moment.locale instead.", $a), a.langData = x("moment.langData is deprecated. Use moment.localeData instead.", bb);
      var df = Math.abs,
        ef = id("ms"),
        ff = id("s"),
        gf = id("m"),
        hf = id("h"),
        jf = id("d"),
        kf = id("w"),
        lf = id("M"),
        mf = id("y"),
        nf = kd("milliseconds"),
        of = kd("seconds"),
        pf = kd("minutes"),
        qf = kd("hours"),
        rf = kd("days"),
        sf = kd("months"),
        tf = kd("years"),
        uf = Math.round,
        vf = {
          ss: 44,
          s: 45,
          m: 45,
          h: 22,
          d: 26,
          M: 11
        },
        wf = Math.abs,
        xf = Ab.prototype;
      return xf.isValid = yb, xf.abs = $c, xf.add = ad, xf.subtract = bd, xf.as = gd, xf.asMilliseconds = ef, xf.asSeconds = ff, xf.asMinutes = gf, xf.asHours = hf, xf.asDays = jf, xf.asWeeks = kf, xf.asMonths = lf, xf.asYears = mf, xf.valueOf =
        hd, xf._bubble = dd, xf.get = jd, xf.milliseconds = nf, xf.seconds = of, xf.minutes = pf, xf.hours = qf, xf.days = rf, xf.weeks = ld, xf.months = sf, xf.years = tf, xf.humanize = qd, xf.toISOString = rd, xf.toString = rd, xf.toJSON = rd, xf
        .locale = pc, xf.localeData = qc, xf.toIsoString = x("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)", rd), xf.lang = Xe, U("X", 0, 0, "unix"), U("x", 0, 0, "valueOf"), Z("x", Zd), Z("X", ae), ba("X",
          function(a, b, c) {
            c._d = new Date(1e3 * parseFloat(a, 10))
          }), ba("x", function(a, b, c) {
          c._d = new Date(u(a))
        }), a.version = "2.18.1", b(tb), a.fn = bf, a.min = vb, a.max = wb, a.now = Qe, a.utc = l, a.unix = Pc, a.months = Vc, a.isDate = h, a.locale = $a, a.invalid = p, a.duration = Sb, a.isMoment = s, a.weekdays = Xc, a.parseZone = Qc, a
        .localeData = bb, a.isDuration = Bb, a.monthsShort = Wc, a.weekdaysMin = Zc, a.defineLocale = _a, a.updateLocale = ab, a.locales = cb, a.weekdaysShort = Yc, a.normalizeUnits = K, a.relativeTimeRounding = od, a.relativeTimeThreshold = pd, a
        .calendarFormat = Yb, a.prototype = bf, a
    });
  </script>
  <script type="text/javascript">
    // Generated by CoffeeScript 1.6.2
    (function() {
      var __slice = [].slice;
      (function($, window) {
        var chardinJs;
        chardinJs = (function() {
          function chardinJs(el) {
            var _this = this;
            this.$el = $(el);
            $(window).resize(function() {
              return _this.refresh();
            });
          }
          chardinJs.prototype.start = function() {
            var el, _i, _len, _ref;
            if (this._overlay_visible()) {
              return false;
            }
            this._add_overlay_layer();
            _ref = this.$el.find('*[data-intro]:visible');
            for (_i = 0, _len = _ref.length; _i < _len; _i++) {
              el = _ref[_i];
              this._show_element(el);
            }
            return this.$el.trigger('chardinJs:start');
          };
          chardinJs.prototype.toggle = function() {
            if (!this._overlay_visible()) {
              return this.start();
            } else {
              return this.stop();
            }
          };
          chardinJs.prototype.refresh = function() {
            var el, _i, _len, _ref, _results;
            if (this._overlay_visible()) {
              _ref = this.$el.find('*[data-intro]:visible');
              _results = [];
              for (_i = 0, _len = _ref.length; _i < _len; _i++) {
                el = _ref[_i];
                _results.push(this._position_helper_layer(el));
              }
              return _results;
            } else {
              return this;
            }
          };
          chardinJs.prototype.stop = function() {
            this.$el.find(".chardinjs-overlay").fadeOut(function() {
              return $(this).remove();
            });
            this.$el.find('.chardinjs-helper-layer').remove();
            this.$el.find('.chardinjs-show-element').removeClass('chardinjs-show-element');
            this.$el.find('.chardinjs-relative-position').removeClass('chardinjs-relative-position');
            if (window.removeEventListener) {
              window.removeEventListener("keydown", this._onKeyDown, true);
            } else {
              if (document.detachEvent) {
                document.detachEvent("onkeydown", this._onKeyDown);
              }
            }
            return this.$el.trigger('chardinJs:stop');
          };
          chardinJs.prototype._overlay_visible = function() {
            return this.$el.find('.chardinjs-overlay').length !== 0;
          };
          chardinJs.prototype._add_overlay_layer = function() {
            var element_position, overlay_layer, styleText,
              _this = this;
            if (this._overlay_visible()) {
              return false;
            }
            overlay_layer = document.createElement("div");
            styleText = "";
            overlay_layer.className = "chardinjs-overlay";
            if (this.$el.prop('tagName') === "BODY") {
              styleText += "top: 0;bottom: 0; left: 0;right: 0;position: fixed;";
              overlay_layer.setAttribute("style", styleText);
            } else {
              element_position = this._get_offset(this.$el.get()[0]);
              if (element_position) {
                styleText += "width: " + element_position.width + "px; height:" + element_position.height + "px; top:" + element_position.top + "px;left: " + element_position.left + "px;";
                overlay_layer.setAttribute("style", styleText);
              }
            }
            this.$el.get()[0].appendChild(overlay_layer);
            overlay_layer.onclick = function() {
              return _this.stop();
            };
            return setTimeout(function() {
              styleText += "opacity: .8;opacity: .8;-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=80)';filter: alpha(opacity=80);";
              return overlay_layer.setAttribute("style", styleText);
            }, 10);
          };
          chardinJs.prototype._get_position = function(element) {
            return element.getAttribute('data-position') || 'bottom';
          };
          chardinJs.prototype._place_tooltip = function(element) {
            var my_height, my_width, target_element_position, target_height, target_width, tooltip_layer, tooltip_layer_position;
            tooltip_layer = $(element).data('tooltip_layer');
            tooltip_layer_position = this._get_offset(tooltip_layer);
            tooltip_layer.style.top = null;
            tooltip_layer.style.right = null;
            tooltip_layer.style.bottom = null;
            tooltip_layer.style.left = null;
            switch (this._get_position(element)) {
              case "top":
              case "bottom":
                target_element_position = this._get_offset(element);
                target_width = target_element_position.width;
                my_width = $(tooltip_layer).width();
                tooltip_layer.style.left = "" + ((target_width / 2) - (tooltip_layer_position.width / 2)) + "px";
                break;
              case "left":
              case "right":
                target_element_position = this._get_offset(element);
                target_height = target_element_position.height;
                my_height = $(tooltip_layer).height();
                tooltip_layer.style.top = "" + ((target_height / 2) - (tooltip_layer_position.height / 2)) + "px";
            }
            switch (this._get_position(element)) {
              case "left":
                return tooltip_layer.style.left = "-" + (tooltip_layer_position.width - 34) + "px";
              case "right":
                return tooltip_layer.style.right = "-" + (tooltip_layer_position.width - 34) + "px";
              case "bottom":
                return tooltip_layer.style.bottom = "-" + tooltip_layer_position.height + "px";
              case "top":
                return tooltip_layer.style.top = "-" + tooltip_layer_position.height + "px";
            }
          };
          chardinJs.prototype._position_helper_layer = function(element) {
            var element_position, helper_layer;
            helper_layer = $(element).data('helper_layer');
            element_position = this._get_offset(element);
            return helper_layer.setAttribute("style", "width: " + element_position.width + "px; height:" + element_position.height + "px; top:" + element_position.top + "px; left: " + element_position.left + "px;");
          };
          chardinJs.prototype._show_element = function(element) {
            var current_element_position, element_position, helper_layer, tooltip_layer;
            element_position = this._get_offset(element);
            helper_layer = document.createElement("div");
            tooltip_layer = document.createElement("div");
            $(element).data('helper_layer', helper_layer).data('tooltip_layer', tooltip_layer);
            if (element.id) {
              helper_layer.setAttribute("data-id", element.id);
            }
            if (typeof(element.getAttribute('data-intro')) != 'undefined' && element.getAttribute('data-intro').length > 0) {
              helper_layer.className = "chardinjs-helper-layer chardinjs-" + (this._get_position(element));
            }
            //helper_layer.className = "chardinjs-helper-layer chardinjs-" + (this._get_position(element));
            this._position_helper_layer(element);
            this.$el.get()[0].appendChild(helper_layer);
            tooltip_layer.className = "chardinjs-tooltip chardinjs-" + (this._get_position(element));
            tooltip_layer.innerHTML = "<div class='chardinjs-tooltiptext'>" + (element.getAttribute('data-intro')) + "</div>";
            helper_layer.appendChild(tooltip_layer);
            this._place_tooltip(element);
            element.className += " chardinjs-show-element";
            current_element_position = "";
            if (element.currentStyle) {
              current_element_position = element.currentStyle["position"];
            } else {
              if (document.defaultView && document.defaultView.getComputedStyle) {
                current_element_position = document.defaultView.getComputedStyle(element, null).getPropertyValue("position");
              }
            }
            current_element_position = current_element_position.toLowerCase();
            if (current_element_position !== "absolute" && current_element_position !== "relative") {
              return element.className += " chardinjs-relative-position";
            }
          };
          chardinJs.prototype._get_offset = function(element) {
            var element_position, _x, _y;
            element_position = {
              width: element.offsetWidth,
              height: element.offsetHeight
            };
            _x = 0;
            _y = 0;
            while (element && !isNaN(element.offsetLeft) && !isNaN(element.offsetTop)) {
              _x += element.offsetLeft;
              _y += element.offsetTop;
              element = element.offsetParent;
            }
            element_position.top = _y;
            element_position.left = _x;
            return element_position;
          };
          return chardinJs;
        })();
        return $.fn.extend({
          chardinJs: function() {
            var $this, args, data, option;
            option = arguments[0], args = 2 <= arguments.length ? __slice.call(arguments, 1) : [];
            $this = $(this[0]);
            data = $this.data('chardinJs');
            if (!data) {
              $this.data('chardinJs', (data = new chardinJs(this, option)));
            }
            if (typeof option === 'string') {
              data[option].apply(data, args);
            }
            return data;
          }
        });
      })(window.jQuery, window);
    }).call(this);
  </script>
  <script type="text/javascript">
    var altColor = {
      darkShade: '',
      lightShade: ''
    };
    /*document.currentScript.setAttribute('integrity', 'sha384-Bw1c9yvNFlL0bWaLGKU5/QoW+xIY5hOSEtSXuDEBLaI2ToS3i2ND6t9wrNN4kEoh');
    document.currentScript.setAttribute('crossorigin', 'anonymous');*/
    function readCookie(name) {
      var nameEQ = name + "=";
      var ca = document.cookie.split(';');
      for (var i = 0; i < ca.length; i++) {
        var c = ca[i];
        while (c.charAt(0) == ' ') c = c.substring(1, c.length);
        if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length);
      }
      return null;
    }

    function createCookie(name, value, hours) {
      if (hours) {
        var date = new Date();
        date.setTime(date.getTime() + (hours * 60 * 60 * 1000));
        var expires = "; expires=" + date.toGMTString();
      } else var expires = "";
      document.cookie = name + "=" + value + expires + ";path=/";
    }

    function rgbToHex(r, g, b) {
      return "#" + ((1 << 24) + (r << 16) + (g << 8) + b).toString(16).slice(1);
    }

    function getDataUri(url, callback) {
      var image = new Image();
      image.onload = function() {
        var canvas = document.createElement('canvas');
        canvas.width = this.naturalWidth; // or 'width' if you want a special/scaled size
        canvas.height = this.naturalHeight; // or 'height' if you want a special/scaled size
        canvas.getContext('2d').drawImage(this, 0, 0);
        // Get raw image data
        //callback(canvas.toDataURL('image/png').replace(/^data:image\/(png|jpg);base64,/, ''));
        // ... or get as Data URI
        callback(canvas.toDataURL('image/png'));
      };
      image.src = url;
    }

    function loadColorThief() {
      loadColorThief.called = true;
      var urlOpenParenthesis = "url(\"";
      var urlCloseParenthesis = "\")";
      var colorThiefElement;
      var newUrl, circleColor, colorThiefDetails, colorThiefOtherColor;
      var img = jQuery(".pushbutton").css("background-image");
      if (img == 'none' || img == null) {
        img = jQuery(".RadMenu_UserMenuSkin .link").css("background-image");
        if (img == 'none' || img == null) {
          img = jQuery("#menu").css("background-image");
          if (img == 'none' || img == null) {
            img = jQuery("#logo").css("background-image");
            if (img == 'none' || img == null) {
              img = jQuery("#colorThiefLogo").css("background-image");
              if (img == 'none' || img == null) {
                img = jQuery(".pushbutton").css("background-image");
              }
            }
          }
        }
      }
      if (typeof(img) != 'undefined' && img != "none") {
        if (img.indexOf("rl(\"") > 0) {
          var urlFromCss = img.replace(urlOpenParenthesis, '').replace(urlCloseParenthesis, '');
        } else {
          var urlFromCss = img.replace('url(', '').replace(')', '');
        }
        var colorThiefElementUrlObject = document.createElement('a');
        colorThiefElementUrlObject.href = urlFromCss;
        if (colorThiefElementUrlObject.host != document.location.host) {
          newUrl = colorThiefElementUrlObject.href.replace('http://', '').replace('https://', '').replace(colorThiefElementUrlObject.host, '').replace(colorThiefElementUrlObject.host.replace(':80', ''), '').replace(colorThiefElementUrlObject.host
            .replace(':443', ''), '');
        } else {
          newUrl = colorThiefElementUrlObject.href;
        }
        /*var imageThiefElement = "<img id='stealcolorelement' class='gomlm_color' style='visibility:hidden;position:absolute;bottom:0;left:0;'src='" + newUrl + "' >";
        jQuery("body").append(imageThiefElement);
        if ( document.getElementById('stealcolorelement').getAttribute('src').indexOf('http') == -1 ) {
        	document.getElementById('stealcolorelement').setAttribute('src', document.location.protocol + '//' + document.location.hostname + document.getElementById('stealcolorelement').getAttribute('src'));
        }*/
        var imageThiefElement = document.createElement("img");
        imageThiefElement.style = 'visibility: hidden;position: absolute;bottom: 0px;left: 0px;max-width: 100%;height: auto;';
        imageThiefElement.id = "stealcolorelement";
        getDataUri(newUrl, function(dataUri) {
          // Do whatever you'd like with the Data URI!
          imageThiefElement.src = dataUri;
        });
        jQuery("body").append(imageThiefElement);
        var el = document.getElementById('stealcolorelement');
        //console.log(document.getElementById('stealcolorelement').getAttribute('src'));
        imageThiefElement.onload = function() {
          if (typeof localStorage === 'object') {
            try {
              var alternateColor = sessionStorage.getItem("AlternateColorThiefRgb");
              var colorThief = new ColorThief();
              altColor.darkShade = sessionStorage.getItem('altColorDark');
              altColor.lightShade = sessionStorage.getItem('altColorLight');
              if (alternateColor == null) {
                if (sessionStorage.getItem("colorThiefRgb") == null) {
                  colorThiefDetails = colorThief.getColor(el);
                  colorThiefRgb = rgbToHex(colorThiefDetails[0], colorThiefDetails[1], colorThiefDetails[2]);
                  //console.log(colorThiefRgb);
                  //createCookie("colorThiefRgb",colorThiefRgb,4);
                  sessionStorage.setItem('colorThiefRgb', colorThiefRgb);
                }
              } else {
                //console.log('cookie exists');
                //jQuery.cookie("colorThiefRgb", alternateColor);
                //createCookie("colorThiefRgb",alternateColor,4);
                sessionStorage.setItem('colorThiefRgb', alternateColor);
              }
              if (altColor.darkShade == null || altColor.lightShade == null) {
                colorThiefOtherColor = colorThief.getPalette(el, 2);
                altColor.darkShade = rgbToHex(colorThiefOtherColor[0][0], colorThiefOtherColor[0][1], colorThiefOtherColor[0][2]);
                altColor.lightShade = rgbToHex(colorThiefOtherColor[1][0], colorThiefOtherColor[1][1], colorThiefOtherColor[1][2]);
                if (altColor.darkShade > altColor.lightShade) {
                  sessionStorage.setItem('altColorDark', altColor.lightShade);
                  sessionStorage.setItem('altColorLight', altColor.darkShade);
                } else {
                  sessionStorage.setItem('altColorDark', altColor.darkShade);
                  sessionStorage.setItem('altColorLight', altColor.lightShade);
                }
              }
            } catch (e) {
              if (self === top) {
                Storage.prototype._setItem = Storage.prototype.setItem;
                Storage.prototype.setItem = function() {};
                if (Storage == void(0)) {
                  alert('Your web browser does not support storing settings locally. In Safari, the most common cause of this is using "Private Browsing Mode". Some settings may not save or some features may not work properly for you.');
                }
              }
            }
          }
        };
      } else {
        sessionStorage.setItem('colorThiefRgb', '#999');
        sessionStorage.setItem('altColorDark', '#999');
        sessionStorage.setItem('altColorLight', '#999');
        console.log('img undefined');
      }
    }

    function ColorLuminance(hex, lum) {
      // validate hex string
      hex = String(hex).replace(/[^0-9a-f]/gi, '');
      if (hex.length < 6) {
        hex = hex[0] + hex[0] + hex[1] + hex[1] + hex[2] + hex[2];
      }
      lum = lum || 0;
      // convert to decimal and change luminosity
      var rgb = "#",
        c, i;
      for (i = 0; i < 3; i++) {
        c = parseInt(hex.substr(i * 2, 2), 16);
        c = Math.round(Math.min(Math.max(0, c + (c * lum)), 255)).toString(16);
        rgb += ("00" + c).substr(c.length);
      }
      return rgb;
    }

    function initColorThief() {
      this.getColors = function(imgUrl, callback) {
        var colorThiefElementUrlObject,
          newUrl,
          colorThiefDetails,
          colorThief = new ColorThief(),
          colorThiefDetails,
          imageThiefElement,
          colorThiefOtherColor,
          colorThiefRgb = {
            primaryColor: '',
            altColor1: '',
            altColor2: ''
          },
          el,
          isDuplicate = false,
          imageUrl = imgUrl,
          colorElementLength = jQuery('[id*="stealcolorelement"]').length;
        if (typeof(imageUrl) != 'undefined' && imageUrl != "none") {
          //Section for removing the cdn/cross site on the image
          colorThiefElementUrlObject = document.createElement('a');
          colorThiefElementUrlObject.href = imageUrl;
          if (colorThiefElementUrlObject.host != document.location.host) {
            newUrl = colorThiefElementUrlObject.href.replace('http://', '').replace('https://', '').replace(colorThiefElementUrlObject.host, '').replace(colorThiefElementUrlObject.host.replace(':80', ''), '').replace(colorThiefElementUrlObject.host
              .replace(':443', ''), '');
          } else {
            newUrl = colorThiefElementUrlObject.href;
          }
          //End Section for removing the cdn/cross site on the image
          //Section for creating the element to host the image
          getDataUri(newUrl, function(result) {
            // Do whatever you'd like with the Data URI!
            jQuery('[id*="stealcolorelement"]').each(function() {
              if (jQuery(this).attr('src') == result) {
                isDuplicate = true;
              }
            });
            if (!isDuplicate) {
              imageThiefElement = document.createElement("img");
              imageThiefElement.style = 'visibility: hidden;position: absolute;bottom: 0px;left: 0px;max-width: 100%;height: auto;';
              imageThiefElement.id = "stealcolorelement_" + colorElementLength;
              imageThiefElement.src = result;
              jQuery("body").append(imageThiefElement);
              el = document.getElementById('stealcolorelement_' + colorElementLength);
              //console.log(document.getElementById('stealcolorelement').getAttribute('src'));
              imageThiefElement.onload = function() {
                colorThiefDetails = colorThief.getColor(el);
                colorThiefOtherColor = colorThief.getPalette(el, 2);
                colorThiefRgb.altColor1 = rgbToHex(colorThiefOtherColor[0][0], colorThiefOtherColor[0][0], colorThiefOtherColor[0][2]);
                colorThiefRgb.altColor2 = rgbToHex(colorThiefOtherColor[1][0], colorThiefOtherColor[1][1], colorThiefOtherColor[1][2]);
                colorThiefRgb.primaryColor = rgbToHex(colorThiefDetails[0], colorThiefDetails[1], colorThiefDetails[2]);
                callback(colorThiefRgb);
              };
            } else {
              colorElementLength--;
              el = document.getElementById('stealcolorelement_' + colorElementLength);
              colorThiefDetails = colorThief.getColor(el);
              colorThiefOtherColor = colorThief.getPalette(el, 2);
              colorThiefRgb.altColor1 = rgbToHex(colorThiefOtherColor[0][0], colorThiefOtherColor[0][0], colorThiefOtherColor[0][2]);
              colorThiefRgb.altColor2 = rgbToHex(colorThiefOtherColor[1][0], colorThiefOtherColor[1][1], colorThiefOtherColor[1][2]);
              colorThiefRgb.primaryColor = rgbToHex(colorThiefDetails[0], colorThiefDetails[1], colorThiefDetails[2]);
              callback(colorThiefRgb);
            }
          });
          //End Section for creating the element to host the image
        } else {
          colorThiefRgb.primaryColor = '#999';
          colorThiefRgb.altColor1 = '#999';
          colorThiefRgb.altColor2 = '#999';
          callback(colorThiefRgb);
          console.log('Invalid image path');
        }
      }
    }
  </script>
  <script type="text/javascript">
    var jQueryScriptOutputted = false;

    function initJQuery() {}
    initJQuery();
    var session_timer;
    var sessionTimeout = 900000;

    function ResetSessionTimer() {
      session_timer = setTimeout("RefreshSession()", sessionTimeout)
    }

    function RefreshSession() {
      $.ajax({
        type: "POST",
        contentType: "application/json; charset=utf-8",
        url: document.location.protocol + "//" + document.location.host + "/WebServices/WSApplicationUsers.asmx/KeepAlive",
        data: "{}",
        dataType: "json",
        success: function(data) {
          ResetSessionTimer()
        }
      })
    };
  </script>
  <script type="text/javascript">
    /*! jQuery & Zepto Lazy v1.7.5 - http://jquery.eisbehr.de/lazy - MIT&GPL-2.0 license - Copyright 2012-2017 Daniel 'Eisbehr' Kern */ ! function(t, e) {
      "use strict";

      function r(r, a, i, l, u) {
        function f() {
          L = t.devicePixelRatio > 1, c(i), a.delay >= 0 && setTimeout(function() {
            s(!0)
          }, a.delay), (a.delay < 0 || a.combined) && (l.e = v(a.throttle, function(t) {
            "resize" === t.type && (w = B = -1), s(t.all)
          }), l.a = function(t) {
            c(t), i.push.apply(i, t)
          }, l.g = function() {
            return i = n(i).filter(function() {
              return !n(this).data(a.loadedName)
            })
          }, l.f = function(t) {
            for (var e = 0; e < t.length; e++) {
              var r = i.filter(function() {
                return this === t[e]
              });
              r.length && s(!1, r)
            }
          }, s(), n(a.appendScroll).on("scroll." + u + " resize." + u, l.e))
        }

        function c(t) {
          var i = a.defaultImage,
            o = a.placeholder,
            l = a.imageBase,
            u = a.srcsetAttribute,
            f = a.loaderAttribute,
            c = a._f || {};
          t = n(t).filter(function() {
            var t = n(this),
              r = m(this);
            return !t.data(a.handledName) && (t.attr(a.attribute) || t.attr(u) || t.attr(f) || c[r] !== e)
          }).data("plugin_" + a.name, r);
          for (var s = 0, d = t.length; s < d; s++) {
            var A = n(t[s]),
              g = m(t[s]),
              h = A.attr(a.imageBaseAttribute) || l;
            g === N && h && A.attr(u) && A.attr(u, b(A.attr(u), h)), c[g] === e || A.attr(f) || A.attr(f, c[g]), g === N && i && !A.attr(E) ? A.attr(E, i) : g === N || !o || A.css(O) && "none" !== A.css(O) || A.css(O, "url('" + o + "')")
          }
        }

        function s(t, e) {
          if (!i.length) return void(a.autoDestroy && r.destroy());
          for (var o = e || i, l = !1, u = a.imageBase || "", f = a.srcsetAttribute, c = a.handledName, s = 0; s < o.length; s++)
            if (t || e || A(o[s])) {
              var g = n(o[s]),
                h = m(o[s]),
                b = g.attr(a.attribute),
                v = g.attr(a.imageBaseAttribute) || u,
                p = g.attr(a.loaderAttribute);
              g.data(c) || a.visibleOnly && !g.is(":visible") || !((b || g.attr(f)) && (h === N && (v + b !== g.attr(E) || g.attr(f) !== g.attr(F)) || h !== N && v + b !== g.css(O)) || p) || (l = !0, g.data(c, !0), d(g, h, v, p))
            } l && (i = n(i).filter(function() {
            return !n(this).data(c)
          }))
        }

        function d(t, e, r, i) {
          ++z;
          var o = function() {
            y("onError", t), p(), o = n.noop
          };
          y("beforeLoad", t);
          var l = a.attribute,
            u = a.srcsetAttribute,
            f = a.sizesAttribute,
            c = a.retinaAttribute,
            s = a.removeAttribute,
            d = a.loadedName,
            A = t.attr(c);
          if (i) {
            var g = function() {
              s && t.removeAttr(a.loaderAttribute), t.data(d, !0), y(T, t), setTimeout(p, 1), g = n.noop
            };
            t.off(I).one(I, o).one(D, g), y(i, t, function(e) {
              e ? (t.off(D), g()) : (t.off(I), o())
            }) || t.trigger(I)
          } else {
            var h = n(new Image);
            h.one(I, o).one(D, function() {
              t.hide(), e === N ? t.attr(C, h.attr(C)).attr(F, h.attr(F)).attr(E, h.attr(E)) : t.css(O, "url('" + h.attr(E) + "')"), t[a.effect](a.effectTime), s && (t.removeAttr(l + " " + u + " " + c + " " + a.imageBaseAttribute), f !== C && t
                .removeAttr(f)), t.data(d, !0), y(T, t), h.remove(), p()
            });
            var m = (L && A ? A : t.attr(l)) || "";
            h.attr(C, t.attr(f)).attr(F, t.attr(u)).attr(E, m ? r + m : null), h.complete && h.trigger(D)
          }
        }

        function A(t) {
          var e = t.getBoundingClientRect(),
            r = a.scrollDirection,
            n = a.threshold,
            i = h() + n > e.top && -n < e.bottom,
            o = g() + n > e.left && -n < e.right;
          return "vertical" === r ? i : "horizontal" === r ? o : i && o
        }

        function g() {
          return w >= 0 ? w : w = n(t).width()
        }

        function h() {
          return B >= 0 ? B : B = n(t).height()
        }

        function m(t) {
          return t.tagName.toLowerCase()
        }

        function b(t, e) {
          if (e) {
            var r = t.split(",");
            t = "";
            for (var a = 0, n = r.length; a < n; a++) t += e + r[a].trim() + (a !== n - 1 ? "," : "")
          }
          return t
        }

        function v(t, e) {
          var n, i = 0;
          return function(o, l) {
            function u() {
              i = +new Date, e.call(r, o)
            }
            var f = +new Date - i;
            n && clearTimeout(n), f > t || !a.enableThrottle || l ? u() : n = setTimeout(u, t - f)
          }
        }

        function p() {
          --z, i.length || z || y("onFinishedAll")
        }

        function y(t, e, n) {
          return !!(t = a[t]) && (t.apply(r, [].slice.call(arguments, 1)), !0)
        }
        var z = 0,
          w = -1,
          B = -1,
          L = !1,
          T = "afterLoad",
          D = "load",
          I = "error",
          N = "img",
          E = "src",
          F = "srcset",
          C = "sizes",
          O = "background-image";
        "event" === a.bind || o ? f() : n(t).on(D + "." + u, f)
      }

      function a(a, o) {
        var l = this,
          u = n.extend({}, l.config, o),
          f = {},
          c = u.name + "-" + ++i;
        return l.config = function(t, r) {
          return r === e ? u[t] : (u[t] = r, l)
        }, l.addItems = function(t) {
          return f.a && f.a("string" === n.type(t) ? n(t) : t), l
        }, l.getItems = function() {
          return f.g ? f.g() : {}
        }, l.update = function(t) {
          return f.e && f.e({}, !t), l
        }, l.force = function(t) {
          return f.f && f.f("string" === n.type(t) ? n(t) : t), l
        }, l.loadAll = function() {
          return f.e && f.e({
            all: !0
          }, !0), l
        }, l.destroy = function() {
          return n(u.appendScroll).off("." + c, f.e), n(t).off("." + c), f = {}, e
        }, r(l, u, a, f, c), u.chainable ? a : l
      }
      var n = t.jQuery || t.Zepto,
        i = 0,
        o = !1;
      n.fn.Lazy = n.fn.lazy = function(t) {
        return new a(this, t)
      }, n.Lazy = n.lazy = function(t, r, i) {
        if (n.isFunction(r) && (i = r, r = []), n.isFunction(i)) {
          t = n.isArray(t) ? t : [t], r = n.isArray(r) ? r : [r];
          for (var o = a.prototype.config, l = o._f || (o._f = {}), u = 0, f = t.length; u < f; u++)(o[t[u]] === e || n.isFunction(o[t[u]])) && (o[t[u]] = i);
          for (var c = 0, s = r.length; c < s; c++) l[r[c]] = t[0]
        }
      }, a.prototype.config = {
        name: "lazy",
        chainable: !0,
        autoDestroy: !0,
        bind: "load",
        threshold: 500,
        visibleOnly: !1,
        appendScroll: t,
        scrollDirection: "both",
        imageBase: null,
        defaultImage: "data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",
        placeholder: null,
        delay: -1,
        combined: !1,
        attribute: "data-src",
        srcsetAttribute: "data-srcset",
        sizesAttribute: "data-sizes",
        retinaAttribute: "data-retina",
        loaderAttribute: "data-loader",
        imageBaseAttribute: "data-imagebase",
        removeAttribute: !0,
        handledName: "handled",
        loadedName: "loaded",
        effect: "show",
        effectTime: 0,
        enableThrottle: !0,
        throttle: 250,
        beforeLoad: e,
        afterLoad: e,
        onError: e,
        onFinishedAll: e
      }, n(t).on("load", function() {
        o = !0
      })
    }(window);
  </script>
  <script type="text/javascript">
    jQuery(document).ready(function() {
      try {
        jQuery('.lazy').lazy();
      } catch (lazyException) {
        console.log(lazyException);
      }
    });
  </script>
  <script type="text/javascript">
    //<![CDATA[
    SetRequired();

    function WebForm_OnSubmit() {
      if (typeof(ValidatorOnSubmit) == 'function') {
        if (!ValidatorOnSubmit()) return false;
        return true;
      }
    };
    ctrls_5282[ctrls_5282.length] = '~/modules/mlm/promohtml/desktopmodules/promohtml.ascx'; //]]>
  </script>
  <script type="text/javascript">
    if (typeof deconcept == "undefined") {
      var deconcept = new Object();
    }
    if (typeof deconcept.util == "undefined") {
      deconcept.util = new Object();
    }
    if (typeof deconcept.SWFObjectUtil == "undefined") {
      deconcept.SWFObjectUtil = new Object();
    }
    deconcept.SWFObject = function(_1, id, w, h, _5, c, _7, _8, _9, _a, _b) {
      if (!document.createElement || !document.getElementById) {
        return;
      }
      this.DETECT_KEY = _b ? _b : "detectflash";
      this.skipDetect = deconcept.util.getRequestParameter(this.DETECT_KEY);
      this.params = new Object();
      this.variables = new Object();
      this.attributes = new Array();
      if (_1) {
        this.setAttribute("swf", _1);
      }
      if (id) {
        this.setAttribute("id", id);
      }
      if (w) {
        this.setAttribute("width", w);
      }
      if (h) {
        this.setAttribute("height", h);
      }
      if (_5) {
        this.setAttribute("version", new deconcept.PlayerVersion(_5.toString().split(".")));
      }
      this.installedVer = deconcept.SWFObjectUtil.getPlayerVersion(this.getAttribute("version"), _7);
      if (c) {
        this.addParam("bgcolor", c);
      }
      var q = _8 ? _8 : "high";
      this.addParam("quality", q);
      this.setAttribute("useExpressInstall", _7);
      this.setAttribute("doExpressInstall", false);
      var _d = (_9) ? _9 : window.location;
      this.setAttribute("xiRedirectUrl", _d);
      this.setAttribute("redirectUrl", "");
      if (_a) {
        this.setAttribute("redirectUrl", _a);
      }
    };
    deconcept.SWFObject.prototype = {
      setAttribute: function(_e, _f) {
        this.attributes[_e] = _f;
      },
      getAttribute: function(_10) {
        return this.attributes[_10];
      },
      addParam: function(_11, _12) {
        this.params[_11] = _12;
      },
      getParams: function() {
        return this.params;
      },
      addVariable: function(_13, _14) {
        this.variables[_13] = _14;
      },
      getVariable: function(_15) {
        return this.variables[_15];
      },
      getVariables: function() {
        return this.variables;
      },
      getVariablePairs: function() {
        var _16 = new Array();
        var key;
        var _18 = this.getVariables();
        for (key in _18) {
          _16.push(key + "=" + _18[key]);
        }
        return _16;
      },
      getSWFHTML: function() {
        var _19 = "";
        if (navigator.plugins && navigator.mimeTypes && navigator.mimeTypes.length) {
          if (this.getAttribute("doExpressInstall")) {
            this.addVariable("MMplayerType", "PlugIn");
          }
          _19 = "<embed type=\"application/x-shockwave-flash\" src=\"" + this.getAttribute("swf") + "\" width=\"" + this.getAttribute("width") + "\" height=\"" + this.getAttribute("height") + "\"";
          _19 += " id=\"" + this.getAttribute("id") + "\" name=\"" + this.getAttribute("id") + "\" ";
          var _1a = this.getParams();
          for (var key in _1a) {
            _19 += [key] + "=\"" + _1a[key] + "\" ";
          }
          var _1c = this.getVariablePairs().join("&");
          if (_1c.length > 0) {
            _19 += "flashvars=\"" + _1c + "\"";
          }
          _19 += "/>";
        } else {
          if (this.getAttribute("doExpressInstall")) {
            this.addVariable("MMplayerType", "ActiveX");
          }
          _19 = "<object id=\"" + this.getAttribute("id") + "\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\"" + this.getAttribute("width") + "\" height=\"" + this.getAttribute("height") + "\">";
          _19 += "<param name=\"movie\" value=\"" + this.getAttribute("swf") + "\" />";
          var _1d = this.getParams();
          for (var key in _1d) {
            _19 += "<param name=\"" + key + "\" value=\"" + _1d[key] + "\" />";
          }
          var _1f = this.getVariablePairs().join("&");
          if (_1f.length > 0) {
            _19 += "<param name=\"flashvars\" value=\"" + _1f + "\" />";
          }
          _19 += "</object>";
        }
        return _19;
      },
      write: function(_20) {
        if (this.getAttribute("useExpressInstall")) {
          var _21 = new deconcept.PlayerVersion([6, 0, 65]);
          if (this.installedVer.versionIsValid(_21) && !this.installedVer.versionIsValid(this.getAttribute("version"))) {
            this.setAttribute("doExpressInstall", true);
            this.addVariable("MMredirectURL", escape(this.getAttribute("xiRedirectUrl")));
            document.title = document.title.slice(0, 47) + " - Flash Player Installation";
            this.addVariable("MMdoctitle", document.title);
          }
        }
        if (this.skipDetect || this.getAttribute("doExpressInstall") || this.installedVer.versionIsValid(this.getAttribute("version"))) {
          var n = (typeof _20 == "string") ? document.getElementById(_20) : _20;
          n.innerHTML = this.getSWFHTML();
          return true;
        } else {
          if (this.getAttribute("redirectUrl") != "") {
            document.location.replace(this.getAttribute("redirectUrl"));
          }
        }
        return false;
      }
    };
    deconcept.SWFObjectUtil.getPlayerVersion = function(_23, _24) {
      var _25 = new deconcept.PlayerVersion([0, 0, 0]);
      if (navigator.plugins && navigator.mimeTypes.length) {
        var x = navigator.plugins["Shockwave Flash"];
        if (x && x.description) {
          _25 = new deconcept.PlayerVersion(x.description.replace(/([a-z]|[A-Z]|\s)+/, "").replace(/(\s+r|\s+b[0-9]+)/, ".").split("."));
        }
      } else {
        try {
          var axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
          for (var i = 3; axo != null; i++) {
            axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash." + i);
            _25 = new deconcept.PlayerVersion([i, 0, 0]);
          }
        } catch (e) {}
        if (_23 && _25.major > _23.major) {
          return _25;
        }
        if (!_23 || ((_23.minor != 0 || _23.rev != 0) && _25.major == _23.major) || _25.major != 6 || _24) {
          try {
            _25 = new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));
          } catch (e) {}
        }
      }
      return _25;
    };
    deconcept.PlayerVersion = function(_29) {
      this.major = parseInt(_29[0]) != null ? parseInt(_29[0]) : 0;
      this.minor = parseInt(_29[1]) || 0;
      this.rev = parseInt(_29[2]) || 0;
    };
    deconcept.PlayerVersion.prototype.versionIsValid = function(fv) {
      if (this.major < fv.major) {
        return false;
      }
      if (this.major > fv.major) {
        return true;
      }
      if (this.minor < fv.minor) {
        return false;
      }
      if (this.minor > fv.minor) {
        return true;
      }
      if (this.rev < fv.rev) {
        return false;
      }
      return true;
    };
    deconcept.util = {
      getRequestParameter: function(_2b) {
        var q = document.location.search || document.location.hash;
        if (q) {
          var _2d = q.indexOf(_2b + "=");
          var _2e = (q.indexOf("&", _2d) > -1) ? q.indexOf("&", _2d) : q.length;
          if (q.length > 1 && _2d > -1) {
            return q.substring(q.indexOf("=", _2d) + 1, _2e);
          }
        }
        return "";
      }
    };
    deconcept.SWFObjectUtil.cleanupSWFs = function() {
      var _2f = document.getElementsByTagName("OBJECT");
      for (var i = 0; i < _2f.length; i++) {
        for (var x in _2f[i]) {
          if (typeof _2f[i][x] == "function") {
            _2f[i][x] = null;
          }
        }
      }
    };
    if (typeof window.onunload == "function") {
      var oldunload = window.onunload;
      window.onunload = function() {
        deconcept.SWFObjectUtil.cleanupSWFs();
        oldunload();
      };
    } else {
      window.onunload = deconcept.SWFObjectUtil.cleanupSWFs;
    }
    if (Array.prototype.push == null) {
      Array.prototype.push = function(_32) {
        this[this.length] = _32;
        return this.length;
      };
    }
    var getQueryParamValue = deconcept.util.getRequestParameter;
    var FlashObject = deconcept.SWFObject; // for backwards compatibility
    var SWFObject = deconcept.SWFObject;
  </script>
  <script type="text/javascript">
    var globalCssDefault = document.createElement('link');
    globalCssDefault.href = '//4novatechcdn.novatechfx.com/skinning/globalcss/default.min.css';
    globalCssDefault.rel = 'stylesheet';
    globalCssDefault.type = 'text/css';
    globalCssDefault.media = 'only x';
    globalCssDefault.onload = function() {
      globalCssDefault.media = 'all'
    };
    document.getElementsByTagName('head')[0].appendChild(globalCssDefault);
  </script>
  <script type="text/javascript">
    //<![CDATA[
    theForm.oldSubmit = theForm.submit;
    theForm.submit = WebForm_SaveScrollPositionSubmit;
    theForm.oldOnSubmit = theForm.onsubmit;
    theForm.onsubmit = WebForm_SaveScrollPositionOnSubmit;
    //]]>
  </script>
</form>

Text Content

Combined ShapeCreated with Sketch. Cart
0
Sign In
For your convenience this web site saves your visit details.

Would you like to clear your session history?
YesNo
Cancel Sign Out

English
English
English
BTNChangeCulture
Testimonials
Contact Us
About Us

For your convenience this web site saves your visit details.

Would you like to clear your session history?
YesNo


Distributor: LorneSanders
ID: 353660
Show Later
Don't Ask Me Again
 * About
    * Our Founders
    * Mission Statement

 * Opportunity
    * From the CEO
    * Compare Plans
    * Compensation Plan

 * Contact
 * MT5
 * GET STARTED

MenuClose
Account

0
Bag
Request More Information
Admin Menu

Menu

Admin MenuAssociate Menu




Admin MenuAssociate Menu


 * Buy Crypto
 * E-Wallet
 * Funding
    * Enrollment Package
    * Payment Issues
    * Pay $2.95 Service Fee (Affiliate Package ONLY)

 * Performance Reports
 * Rank Achievers
 * Training Videos
 * Tools
    * Media Library
    * Forms & Agreements
       * Earnings Disclaimer
       * Privacy Policy

 * Help Desk
 * Zoom Meeting


Home


White page

Homepage content


FOREX & CRYPTO


TRADING PLATFORM

Trade with ultra-low commissions and PIP Spreads or sign up for a Fully
Automated PAMM account.


Try a Demo Account

Ticker Tape by TradingView



WHAT WE


OFFER



PAMM ACCOUNTS

The PAMM account is a unique product that allows investors to earn without
having to trade. You can invest your funds in NovaTech's master accounts to be
traded by our experienced team of traders. We receive a percentage of the
profits we earn from trading with your funds as a reward. No experience needed.

MOBILE TRADING

Full-fledged financial market trading can be enjoyed by installing the mobile
version of MetaTrader 5 for Android or iOS on your smartphone or tablet. The
mobile applications support all trading functions and allow you to monitor
account status, view your trading history and more.

METATRADER 5 PLATFORM

Our platform represents the all-in-one concept and offers impressive analytical
tools for those choosing to trade on their own, including graphic objects and
detailed analysis of quote dynamics. We feature more than 100 Forex and crypto
currency pairs along with more than 80 technical indicators and analytical
tools.

AFFILIATE MARKETING

Earn commissions through affiliate marketing and forming successful
partnerships. By sharing our platform with others you can earn profits as you
build teams and collect a percentage of all fees!

NO DEPOSIT FEES

Trade as soon as you open and fund your account with ZERO deposit fees.

24/7 CUSTOMER SERVICE

Chat with us online or email us for quick replies to your inquiries.

 

 

 

 

 


EUR/USD, GBP/JPYandBTC/USD Quotes by TradingView
Technical Analysis for EURUSD by TradingView




Markets and instruments profiled on this page are for informational purposes
only and do not in any way intend to serve as recommendations to buy or sell in
these assets.


DOWNLOAD METATRADER 5


 * Windows
 * ios
 * Android




GETTING STARTED

CHOOSE YOUR ACCOUNT TYPE

PAMM

PERCENTAGE ALLOCATION
MANAGEMENT MODDULE


OPEN ACCOUNT

--------------------------------------------------------------------------------

No Trading Experience
Needed

Weekly Payouts

Earn Additional income
through Affiliate Marketing

MT5

START TRADING ON THE
FOREIGN EXCHANGE MARKET


OPEN ACCOUNT

--------------------------------------------------------------------------------

No Dealing Desks. Trades
Executed in Milliseconds

Deep Liquidity

100+ Fiat and Crypto Pairs
Available

PLAN COSTS

COMPARE PLANS & CHOOSE THE
ONE THAT'S RIGHT FOR YOU


COMPARE

--------------------------------------------------------------------------------

Compare Benefits and Costs

Quick Approvals. Start
Available

 




CONTACT


US

Email:
info@novatechfx.com

 

:







For any general inquiries, please fill in the following contact form:

 

 

 

ENTER YOUR NAME*


ENTER YOUR EMAIL*


ENTER YOUR SUBJECT*


ENTER YOUR MESSAGE HERE*






THANK YOU FOR YOUR INQUIRY! WE'LL GET BACK TO YOU AS SOON AS POSSIBLE!

KINDLY COMPLETE THE ALL THE FIELDS.






Do you want to continue your session?

For security reasons, your session will timeout at unless you click the Continue
Session button below to continue.

Continue Session

Sign Document
TAKE ME TO MY CHALLENGES

Skip for NowDon't show me again
False/Home/[Current User]
This website uses cookies to ensure you get the best experience on our website.
Learn MoreGot it!
U.S. Dollar
U.S. Dollar
U.S. Dollar
United States
United States
United States

Direct Referral Bonus

Residual Bonus

Check Matching




 * Search Products by Name Search
   
   search...
 * View Cart
 * Login
 *  * About
       * Our Founders
       * Mission Statement
   
    * Opportunity
       * From the CEO
       * Compare Plans
       * Compensation Plan
   
    * Contact
    * MT5
    * GET STARTED


Cookies PolicyPrivacy PolicyTerms of UseCancellation Policy

Copyright © NovaTech, LTD - All Rights Reserved

NovaTech, LTD is incorporated as Business Company Number 25614 BC 2019 under the
Business Companies (Amendment and Consolidation), Act Chapter 149 of the Revised
Laws of Saint Vincent and the Grenadines 2009.

word word word word word word word word word word word word word word word word
word word word word word word word word word word word word word word word word
word word word word word word word word word word word word word word word word
word word word word word word word word word word word word word word word word
word word word word word word word word word word word word word word word word
word word word word word word word word word word word word word word word word
word word word word word word word word word word word word word word word word
word word word word word word word word word word word word word word word word
word word word word word word word word word word word word word word word word
word word word word word word word word word word word word word word word word
word word word word word word word word word word word word word word word word
word word word word word word word word word word word word word word word word
word word word word word word word word

mmMwWLliI0fiflO&1
mmMwWLliI0fiflO&1
mmMwWLliI0fiflO&1
mmMwWLliI0fiflO&1
mmMwWLliI0fiflO&1
mmMwWLliI0fiflO&1
mmMwWLliI0fiflO&1

Please wait...
Please wait, this will take just a few moments