From 18a4c0ddb493280fcc76380de9896e9127ac639a Mon Sep 17 00:00:00 2001 From: Luke Semerau Date: Sun, 20 Nov 2011 22:32:15 +0000 Subject: [PATCH] LukeIS: iphone driver adding 'Status' response in order to attach to a Grid. Adding settings to specify where Grid is located in order to attach to the Grid on startup of app. Removing and ignoring iphone/.../atoms.h as it is autogenerated, updated script to detect for existance of atoms.h as to not rebuild every time. Adding new DesiredCapabilities.IPAD, had to add '/status' to DriverCommand and HttpCommandExecutor to easily test status command. fixes issue 1882 r14831 --- Rakefile | 1 + iphone/Settings.bundle/Root.plist | 42 + iphone/Settings.bundle/en.lproj/Root.strings | 3 + iphone/iWebDriver.xcodeproj/project.pbxproj | 14 +- .../project.pbxproj | 2 + iphone/src/objc/HTTPServerController.m | 71 +- iphone/src/objc/RESTServiceMapping.m | 14 +- iphone/src/objc/Status.h | 29 + iphone/src/objc/Status.m | 56 + iphone/src/objc/WebDriverPreferences.h | 3 + iphone/src/objc/WebDriverPreferences.m | 11 + iphone/src/objc/atoms.h | 4429 ----------------- .../selenium/remote/DesiredCapabilities.java | 5 + .../openqa/selenium/remote/DriverCommand.java | 2 + .../selenium/remote/HttpCommandExecutor.java | 3 + .../IPhoneDriverRespondsToStatusTest.java | 64 + .../org/openqa/selenium/iphone/build.desc | 1 + .../webdriver/common/desired_capabilities.py | 5 + 18 files changed, 318 insertions(+), 4437 deletions(-) create mode 100644 iphone/src/objc/Status.h create mode 100644 iphone/src/objc/Status.m delete mode 100644 iphone/src/objc/atoms.h create mode 100644 java/client/test/org/openqa/selenium/iphone/IPhoneDriverRespondsToStatusTest.java diff --git a/Rakefile b/Rakefile index 80403f74919f9..07306eae0239c 100644 --- a/Rakefile +++ b/Rakefile @@ -227,6 +227,7 @@ desc 'Clean build artifacts.' task :clean do rm_rf 'build/' rm_rf 'iphone/build/' + rm_rf 'iphone/src/objc/atoms.h' rm_rf 'android/app/bin/' rm_rf 'android/app/build/' rm_rf 'android/app/libs/' diff --git a/iphone/Settings.bundle/Root.plist b/iphone/Settings.bundle/Root.plist index a96f5a03237e5..5e3bb539a4132 100644 --- a/iphone/Settings.bundle/Root.plist +++ b/iphone/Settings.bundle/Root.plist @@ -30,6 +30,48 @@ AutocorrectionType No + + Type + PSGroupSpecifier + Title + Grid + + + Type + PSTextFieldSpecifier + Title + GridHost + Key + preference_grid_mode_host + DefaultValue + + IsSecure + + KeyboardType + URL + AutocapitalizationType + None + AutocorrectionType + No + + + Type + PSTextFieldSpecifier + Title + GridPort + Key + preference_grid_mode_port + DefaultValue + 4444 + IsSecure + + KeyboardType + NumberPad + AutocapitalizationType + None + AutocorrectionType + No + diff --git a/iphone/Settings.bundle/en.lproj/Root.strings b/iphone/Settings.bundle/en.lproj/Root.strings index 42ced9df2a403..208acada15ce9 100644 --- a/iphone/Settings.bundle/en.lproj/Root.strings +++ b/iphone/Settings.bundle/en.lproj/Root.strings @@ -2,3 +2,6 @@ "Server" = "Server"; "Port" = "Port"; +"Grid" = "Grid"; +"GridHost" = "Host"; +"GridPort" = "Port"; \ No newline at end of file diff --git a/iphone/iWebDriver.xcodeproj/project.pbxproj b/iphone/iWebDriver.xcodeproj/project.pbxproj index 6b8a0bf7a52a4..6503292cb73d7 100755 --- a/iphone/iWebDriver.xcodeproj/project.pbxproj +++ b/iphone/iWebDriver.xcodeproj/project.pbxproj @@ -20,6 +20,8 @@ 289233AE0DB2D0DB0083E9F9 /* MainViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 289233A90DB2D0DB0083E9F9 /* MainViewController.m */; }; 289233AF0DB2D0DB0083E9F9 /* RootViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 289233AB0DB2D0DB0083E9F9 /* RootViewController.m */; }; 289233B00DB2D0DB0083E9F9 /* FlipsideViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 289233AD0DB2D0DB0083E9F9 /* FlipsideViewController.m */; }; + 40BE09AB147714580042C6DA /* Status.m in Sources */ = {isa = PBXBuildFile; fileRef = 40BE09AA147714580042C6DA /* Status.m */; }; + 40BE09AC147715AA0042C6DA /* Status.m in Sources */ = {isa = PBXBuildFile; fileRef = 40BE09AA147714580042C6DA /* Status.m */; }; 64084BF312B6C6A10049D2FB /* Storage.m in Sources */ = {isa = PBXBuildFile; fileRef = 731C4510128BBF4000261249 /* Storage.m */; }; 64084BF412B6C6C90049D2FB /* Database.m in Sources */ = {isa = PBXBuildFile; fileRef = 73D14FCC1289B6540074E63B /* Database.m */; }; 64084BF512B6C6C90049D2FB /* GeoLocation.m in Sources */ = {isa = PBXBuildFile; fileRef = 731C450E128BBF4000261249 /* GeoLocation.m */; }; @@ -172,6 +174,8 @@ 289233AD0DB2D0DB0083E9F9 /* FlipsideViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = FlipsideViewController.m; path = Classes/FlipsideViewController.m; sourceTree = ""; }; 29B97316FDCFA39411CA2CEA /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 32CA4F630368D1EE00C91783 /* iWebDriver_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = iWebDriver_Prefix.pch; sourceTree = ""; }; + 40BE09A9147714580042C6DA /* Status.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Status.h; sourceTree = ""; }; + 40BE09AA147714580042C6DA /* Status.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Status.m; sourceTree = ""; }; 642C489E112260150064EB9C /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; }; 642C48A3112260480064EB9C /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; }; 643822E812C0305900F0C7CC /* atoms.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = atoms.h; sourceTree = ""; }; @@ -466,6 +470,8 @@ 648EB1FC137C63B800DEFD44 /* Css.m */, 731C450D128BBF4000261249 /* GeoLocation.h */, 731C450E128BBF4000261249 /* GeoLocation.m */, + 40BE09A9147714580042C6DA /* Status.h */, + 40BE09AA147714580042C6DA /* Status.m */, 731C450F128BBF4000261249 /* Storage.h */, 731C4510128BBF4000261249 /* Storage.m */, 64D8AA411120B94D001649CC /* SessionRoot.h */, @@ -718,7 +724,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "if [ -e ${PROJECT_DIR}/../go ]; then\n cd ${PROJECT_DIR}/..\n echo \"Regenerating iPhone atoms header file\"\n\n HEADER=\"${PROJECT_DIR}/src/objc/atoms.h\"\n BACKUP=\"${HEADER}.orig\"\n\n if [ -e ${HEADER} ]; then\n mv ${HEADER} ${BACKUP}\n fi\n\n ./go iphone_atoms\n BUILD_RESULT=$?\n if [ $BUILD_RESULT -ne 0 ]; then\n echo \"Failed to regenerate header file; restoring original\"\n if [ -e ${BACKUP} ]; then\n mv ${BACKUP} ${HEADER}\n fi\n exit $BUILD_RESULT\n else\n if [ -e ${BACKUP} ]; then\n rm ${BACKUP}\n fi\n fi\nelse\n echo \"Unable to locate \"go\" script; using existing atoms header snapshot\"\nfi\n"; + shellScript = "if [ ! -e ${PROJECT_DIR}/src/objc/atoms.h ]; then\n if [ -e ${PROJECT_DIR}/../go ]; then\n cd ${PROJECT_DIR}/..\n echo \"Regenerating iPhone atoms header file\"\n\n ./go iphone_atoms\n BUILD_RESULT=$?\n if [ $BUILD_RESULT -ne 0 ]; then\n echo \"Failed to regenerate header file\"; exit $BUILD_RESULT\n fi\nelse\n echo \"Unable to locate \\\"go\\\" script;\"\nfi\nfi\n"; }; 8399890A0EE605A30074D106 /* ShellScript */ = { isa = PBXShellScriptBuildPhase; @@ -787,6 +793,7 @@ 643822F712C032F600F0C7CC /* Element.mm in Sources */, 64A2262E12C1828000537E73 /* NSData+Base64.m in Sources */, 648EB1FD137C63B800DEFD44 /* Css.m in Sources */, + 40BE09AB147714580042C6DA /* Status.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -794,6 +801,7 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( + 40BE09AC147715AA0042C6DA /* Status.m in Sources */, 64BFFCBC12B6EC0D00FEB710 /* NSObject+SBJSON.m in Sources */, 64BFFCBD12B6EC0D00FEB710 /* NSString+SBJSON.m in Sources */, 64BFFCBE12B6EC0D00FEB710 /* SBJSON.m in Sources */, @@ -876,7 +884,7 @@ GCC_PREFIX_HEADER = src/objc/iWebDriver_Prefix.pch; HEADER_SEARCH_PATHS = "$(COCOAHTTPSERVER_HEADERS)/**"; INFOPLIST_FILE = Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 3.0; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; LIBRARY_SEARCH_PATHS = ( "$(inherited)", "\"$(SRCROOT)/iphoneos.sdk/usr/local/lib\"", @@ -909,7 +917,7 @@ GCC_PREFIX_HEADER = src/objc/iWebDriver_Prefix.pch; HEADER_SEARCH_PATHS = "$(COCOAHTTPSERVER_HEADERS)/**"; INFOPLIST_FILE = Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 3.0; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; LIBRARY_SEARCH_PATHS = ( "$(inherited)", "\"$(SRCROOT)/iphoneos.sdk/usr/local/lib\"", diff --git a/iphone/lib/buildtime-src/cocoahttpserver/CocoaHTTPServerLibrary.xcodeproj/project.pbxproj b/iphone/lib/buildtime-src/cocoahttpserver/CocoaHTTPServerLibrary.xcodeproj/project.pbxproj index e2660ddc1c870..fba6466a3fdd7 100755 --- a/iphone/lib/buildtime-src/cocoahttpserver/CocoaHTTPServerLibrary.xcodeproj/project.pbxproj +++ b/iphone/lib/buildtime-src/cocoahttpserver/CocoaHTTPServerLibrary.xcodeproj/project.pbxproj @@ -299,6 +299,7 @@ PATCHED_CODE = "$(PROJECT_DIR)/extensions/patched"; PREBINDING = NO; PRODUCT_NAME = CocoaHTTPServer; + SDKROOT = iphoneos5.0; }; name = Debug; }; @@ -312,6 +313,7 @@ PATCHED_CODE = "$(PROJECT_DIR)/extensions/patched"; PREBINDING = NO; PRODUCT_NAME = CocoaHTTPServer; + SDKROOT = iphoneos5.0; ZERO_LINK = NO; }; name = Release; diff --git a/iphone/src/objc/HTTPServerController.m b/iphone/src/objc/HTTPServerController.m index a53809b993961..746f435c74805 100644 --- a/iphone/src/objc/HTTPServerController.m +++ b/iphone/src/objc/HTTPServerController.m @@ -21,6 +21,7 @@ #import "WebDriverHTTPConnection.h" #import "RESTServiceMapping.h" #import "WebDriverPreferences.h" +#import "Status.h" #import #import @@ -33,6 +34,8 @@ @implementation HTTPServerController @synthesize viewController = viewController_; @synthesize serviceMapping = serviceMapping_; +static NSMutableData *webData; + -(NSString *)getAddress { struct ifaddrs *head; @@ -74,6 +77,7 @@ -(id) init { if (![super init]) return nil; UInt16 portNumber = [[WebDriverPreferences sharedInstance] serverPortNumber]; + NSString* grid = [[WebDriverPreferences sharedInstance] gridLocation]; server_ = [[WebDriverHTTPServer alloc] init]; @@ -93,14 +97,79 @@ -(id) init { [self getAddress], [server_ port]); - status_ = [[NSString alloc] initWithFormat:@"Started at http://%@:%d/hub/", + status_ = [[NSString alloc] initWithFormat:@"Started at http://%@:%d/wd/hub/", [self getAddress], [server_ port]]; + if([grid length] > 0) { + NSString *device; + if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) { + device = DEVICE_IPAD; + } else { + device = DEVICE_IPHONE; + } + NSString* gridPort = [[WebDriverPreferences sharedInstance] gridPort]; + + NSString *registerUrlStr = [NSString stringWithFormat:@"http://%@:%@/grid/register", grid, gridPort]; + + // make http request to grid host registering self as a single node with just safari to test. + NSString *json = [NSString stringWithFormat:@"{'class':'org.openqa.grid.common.RegistrationRequest'," + "'capabilities':[{'seleniumProtocol':'WebDriver','browserName':'%@','maxInstances':1,'platform':'MAC'}]," + "'configuration':{'port':%d" + ",'register':True,'host':%@" + ",'proxy':'org.openqa.grid.selenium.proxy.DefaultRemoteProxy','maxSession':1," + "'hubHost':'%@','hubPort':'%@','role':'wd','registerCycle':5000," + "'hub':'%@','remoteHost':'http://%@:%d'" + "}}", device, [server_ port], [self getAddress], grid, gridPort, registerUrlStr, [self getAddress], [server_ port] ]; + + + NSURL *registerUrl = [NSURL URLWithString:registerUrlStr]; + + NSMutableURLRequest *gridRegister = [NSMutableURLRequest requestWithURL:registerUrl]; + + NSString *msgLength = [NSString stringWithFormat:@"%d", [json length]]; + + [gridRegister addValue: msgLength forHTTPHeaderField:@"Content-Length"]; + [gridRegister setHTTPMethod:@"POST"]; + [gridRegister setHTTPBody: [json dataUsingEncoding:NSUTF8StringEncoding]]; + + NSURLConnection *theConnection=[[NSURLConnection alloc] initWithRequest:gridRegister delegate:self]; + + if (theConnection) { + // Create the NSMutableData to hold the received data. + // receivedData is an instance variable declared elsewhere. + webData = [[NSMutableData data] retain]; + } else { + // Inform the user that the connection failed. + } + + } + serviceMapping_ = [[RESTServiceMapping alloc] init]; return self; } +-(void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response +{ + [webData setLength: 0]; +} +-(void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data +{ + [webData appendData:data]; +} +-(void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)error +{ + NSLog(@"ERROR with theConenction"); + [connection release]; + [webData release]; +} +-(void)connectionDidFinishLoading:(NSURLConnection *)connection +{ + NSLog(@"DONE. Received Bytes: %d", [webData length]); + NSString *theXML = [[NSString alloc] initWithBytes: [webData mutableBytes] length:[webData length] encoding:NSUTF8StringEncoding]; + NSLog(@"%@",theXML); + [theXML release]; +} // Singleton diff --git a/iphone/src/objc/RESTServiceMapping.m b/iphone/src/objc/RESTServiceMapping.m index 27fb50f4533bb..2e6e2c7be2f5d 100644 --- a/iphone/src/objc/RESTServiceMapping.m +++ b/iphone/src/objc/RESTServiceMapping.m @@ -24,6 +24,7 @@ #import "JSONRESTResource.h" #import "Session.h" #import "SessionRoot.h" +#import "Status.h" #import "HTTPResponse+Utility.h" #import "RootViewController.h" @@ -45,6 +46,9 @@ - (id)init { // The root of our REST service. HTTPVirtualDirectory *restRoot = [[[HTTPVirtualDirectory alloc] init] autorelease]; [serverRoot_ setResource:restRoot withName:@"hub"]; + + // Respond to /status + [restRoot setResource:[[[Status alloc] init] autorelease] withName:@"status"]; // Make the root also accessible from /wd/hub. This will allow clients hard // coded for the java Selenium server to also work with us. @@ -71,6 +75,7 @@ - (id)init { // Pass nil in the |query|, |method| or |data| arguments to ignore. + (void)propertiesOfHTTPMessage:(CFHTTPMessageRef)request toQuery:(NSString **)query + toUri:(NSURL **)uri method:(NSString **)method data:(NSData **)data { // Extract method @@ -81,8 +86,8 @@ + (void)propertiesOfHTTPMessage:(CFHTTPMessageRef)request // Extract requested URI if (query != nil) { - NSURL *uri = [(NSURL *)CFHTTPMessageCopyRequestURL(request) autorelease]; - *query = [uri relativeString]; + *uri = [(NSURL *)CFHTTPMessageCopyRequestURL(request) autorelease]; + *query = [*uri relativeString]; } // Extract POST data @@ -95,11 +100,13 @@ + (void)propertiesOfHTTPMessage:(CFHTTPMessageRef)request - (NSObject *)httpResponseForRequest:(CFHTTPMessageRef)request { NSString *query; + NSURL *uri; NSString *method; NSData *data; [RESTServiceMapping propertiesOfHTTPMessage:request toQuery:&query + toUri:&uri method:&method data:&data]; @@ -119,10 +126,9 @@ + (void)propertiesOfHTTPMessage:(CFHTTPMessageRef)request // Unfortunately, WebDriver only supports absolute redirects (r733). We need // to expand all relative redirects to absolute redirects. if ([response isKindOfClass:[HTTPRedirectResponse class]]) { - NSURL *uri = [(NSURL *)CFHTTPMessageCopyRequestURL(request) autorelease]; [(HTTPRedirectResponse *)response expandRelativeUrlWithBase:uri]; } - + if (response == nil) { NSLog(@"404 - could not create response for request at %@", query); } diff --git a/iphone/src/objc/Status.h b/iphone/src/objc/Status.h new file mode 100644 index 0000000000000..3efb79a42142e --- /dev/null +++ b/iphone/src/objc/Status.h @@ -0,0 +1,29 @@ +// +// Status.h +// iWebDriver +// +// Created by Luke Inman-Semerau on 11/17/11. +// Copyright (c) 2011 Free Software Conservancy. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// + +#import +#import "HTTPVirtualDirectory.h" + +static NSString * const DEVICE_IPHONE = @"iphone"; +static NSString * const DEVICE_IPAD = @"ipad"; + +@interface Status : HTTPVirtualDirectory + +@end diff --git a/iphone/src/objc/Status.m b/iphone/src/objc/Status.m new file mode 100644 index 0000000000000..612d8936e307f --- /dev/null +++ b/iphone/src/objc/Status.m @@ -0,0 +1,56 @@ +// +// Status.m +// iWebDriver +// +// Created by Luke Inman-Semerau on 11/17/11. +// Copyright (c) 2011 Free Software Conservancy. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// + +#import "Status.h" +#import "JSONRESTResource.h" + +@implementation Status + +- (id) init { + self = [super init]; + if (!self) { + return nil; + } + + return self; +} + +- (NSObject *) httpResponseForQuery: (NSString *)query + method:(NSString *)method + withData:(NSData *)theData { + NSString *device; + if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) { + device = DEVICE_IPAD; + } else { + device = DEVICE_IPHONE; + } + NSString *dataString = [NSString stringWithFormat:@"{\"value\":" + "{\"os\":{\"arch\":\"%@\",\"name\":\"iOS\",\"version\":\"%@\"}," + "\"build\":{\"revision\":\"%@\",\"time\":\"%@\",\"version\":\"%@\"}}}", + device, @"4.3", @"SVN_REVISION", @"BUILD_TIMESTAMP", @"RELEASE"]; + NSData *data = [dataString dataUsingEncoding:NSUTF8StringEncoding]; + return [[[HTTPDataResponse alloc] initWithData:data] autorelease]; +} + +- (id)elementWithQuery:(NSString *)query { + return self; +} + +@end diff --git a/iphone/src/objc/WebDriverPreferences.h b/iphone/src/objc/WebDriverPreferences.h index 0a1a3c62c7227..cee1f1f4ae7c7 100644 --- a/iphone/src/objc/WebDriverPreferences.h +++ b/iphone/src/objc/WebDriverPreferences.h @@ -16,6 +16,7 @@ NSUInteger memoryCacheCapacity_; NSURLRequestCachePolicy cachePolicy_; + NSString* gridUrl_; // Preferences used when iWebDriver is running in server mode. UInt16 serverPortNumber_; @@ -32,6 +33,8 @@ @property (readonly, nonatomic) NSURLRequestCachePolicy cache_policy; @property (readonly, nonatomic) UInt16 serverPortNumber; +@property (readonly, nonatomic) NSString *gridLocation; +@property (readonly, nonatomic) NSString *gridPort; @property (readonly, nonatomic, copy) NSString *connectorAddr; @property (readonly, nonatomic, copy) NSString *requesterId; diff --git a/iphone/src/objc/WebDriverPreferences.m b/iphone/src/objc/WebDriverPreferences.m index 3e5f6aa0d541c..018ca6531aa97 100644 --- a/iphone/src/objc/WebDriverPreferences.m +++ b/iphone/src/objc/WebDriverPreferences.m @@ -15,6 +15,8 @@ static NSString * const PREF_CACHE_POLICY = @"preference_cache_policy"; static NSString * const PREF_SERVER_MODE_PORT_NUMBER = @"preference_server_mode_port_number"; +static NSString * const PREF_GRID_HOST = @"preference_grid_mode_host"; +static NSString * const PREF_GRID_PORT = @"preference_grid_mode_port"; static NSString * const PREF_CLIENT_MODE_CONNECTOR_ADDRESS = @"preference_client_mode_connector_address"; static NSString * const PREF_CLIENT_MODE_REQUESTER_ID = @"preference_client_mode_requester_id"; @@ -25,6 +27,8 @@ @implementation WebDriverPreferences @synthesize memoryCacheCapacity = memoryCacheCapacity_; @synthesize cache_policy = cachePolicy_; @synthesize serverPortNumber = serverPortNumber_; +@synthesize gridLocation = gridLocation_; +@synthesize gridPort = gridPort_; @synthesize connectorAddr = connectorAddr_; @synthesize requesterId = requesterId_; @@ -141,6 +145,13 @@ - (id)init { userInfo:nil]; } + NSString *gridHost = [defaults stringForKey:PREF_GRID_HOST]; + gridPort_ = [defaults stringForKey:PREF_GRID_PORT]; + if ([gridHost length] > 0 && [gridPort_ length] > 0) { + gridLocation_ = [NSString stringWithFormat: @"%@", gridHost]; + } + + [defaults synchronize]; return self; } diff --git a/iphone/src/objc/atoms.h b/iphone/src/objc/atoms.h deleted file mode 100644 index dce709e56d348..0000000000000 --- a/iphone/src/objc/atoms.h +++ /dev/null @@ -1,4429 +0,0 @@ -/* - * Copyright 2011 WebDriver committers - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* AUTO GENERATED - DO NOT EDIT BY HAND */ -#ifndef WEBDRIVER_ATOMS_H_ -#define WEBDRIVER_ATOMS_H_ - -#include // For std::(w)string. - -namespace webdriver { -namespace atoms { - - -const char* const EXECUTE_ASYNC_SCRIPT[] = { - "function(){return function(){var j=void 0,m=null,n,p=this;function q(){", - "}\nfunction r(a){var b=typeof a;if(b==\"object\")if(a){if(a instanceof ", - "Array)return\"array\";else if(a instanceof Object)return b;var c=Object", - ".prototype.toString.call(a);if(c==\"[object Window]\")return\"object\";", - "if(c==\"[object Array]\"||typeof a.length==\"number\"&&typeof a.splice!", - "=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"&&!a.proper", - "tyIsEnumerable(\"splice\"))return\"array\";if(c==\"[object Function]\"|", - "|typeof a.call!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefin", - "ed\"&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else return", - "\"null\";\nelse if(b==\"function\"&&typeof a.call==\"undefined\")return", - "\"object\";return b}function aa(a){var b=r(a);return b==\"array\"||b==", - "\"object\"&&typeof a.length==\"number\"}function s(a){return typeof a==", - "\"string\"}function ba(a){a=r(a);return a==\"object\"||a==\"array\"||a=", - "=\"function\"}function u(a){return a[ca]||(a[ca]=++da)}var ca=\"closure", - "_uid_\"+Math.floor(Math.random()*2147483648).toString(36),da=0;\nfuncti", - "on ea(a){var b=Array.prototype.slice.call(arguments,1);return function(", - "){var c=Array.prototype.slice.call(arguments);c.unshift.apply(c,b);retu", - "rn a.apply(this,c)}}var v=Date.now||function(){return+new Date};functio", - "n x(a,b){function c(){}c.prototype=b.prototype;a.v=b.prototype;a.protot", - "ype=new c};function fa(a){for(var b=1;bb)return 1;retu", - "rn 0};var ia=p.navigator,ja=(ia&&ia.platform||\"\").indexOf(\"Mac\")!=-", - "1;function z(a){this.stack=Error().stack||\"\";if(a)this.message=String", - "(a)}x(z,Error);z.prototype.name=\"CustomError\";function ka(a,b){var c=", - "{},e;for(e in a)b.call(j,a[e],e,a)&&(c[e]=a[e]);return c}function la(a,", - "b){var c={},e;for(e in a)c[e]=b.call(j,a[e],e,a);return c}function ma(a", - ",b){for(var c in a)if(b.call(j,a[c],c,a))return c};var A=0;function B(a", - ",b){z.call(this,b);this.code=a;this.name=C[a]||C[13]}x(B,z);\nvar C,na=", - "{NoSuchElementError:7,NoSuchFrameError:8,UnknownCommandError:9,StaleEle", - "mentReferenceError:10,ElementNotVisibleError:11,InvalidElementStateErro", - "r:12,UnknownError:13,ElementNotSelectableError:15,XPathLookupError:19,N", - "oSuchWindowError:23,InvalidCookieDomainError:24,UnableToSetCookieError:", - "25,ModalDialogOpenedError:26,NoModalDialogOpenError:27,ScriptTimeoutErr", - "or:28,InvalidSelectorError:32,SqlDatabaseError:33,MoveTargetOutOfBounds", - "Error:34},oa={},D;for(D in na)oa[na[D]]=D;C=oa;\nB.prototype.toString=f", - "unction(){return\"[\"+this.name+\"] \"+this.message};function E(a,b){b.", - "unshift(a);z.call(this,fa.apply(m,b));b.shift();this.B=a}x(E,z);E.proto", - "type.name=\"AssertionError\";function pa(a,b){if(!a){var c=Array.protot", - "ype.slice.call(arguments,2),e=\"Assertion failed\";if(b){e+=\": \"+b;va", - "r f=c}throw new E(\"\"+e,f||[]);}};var qa=Array.prototype;function ra(a", - ",b){if(s(a)){if(!s(b)||b.length!=1)return-1;return a.indexOf(b,0)}for(v", - "ar c=0;cthis.s", - ")throw Error(\"[goog.structs.SimplePool] Initial cannot be greater than", - " max\");for(var c=0;c=0),g;xa=function(a){g=a};if(d){N=function(){return h.getObject", - "()};O=function(a){M(h,a)};P=function(){return k.getObject()};Q=function", - "(a){M(k,a)};R=function(){return i.getObject()};S=function(){M(i,c())};T", - "=function(){return o.getObject()};ya=function(a){M(o,a)};za=function(){", - "return l.getObject()};Aa=function(a){M(l,\na)};var h=new L(0,600);h.a=a", - ";var k=new L(0,600);k.a=b;var i=new L(0,600);i.a=c;var o=new L(0,600);o", - ".a=e;var l=new L(0,600);l.a=f}else N=a,O=q,P=b,Q=q,R=c,S=q,T=e,ya=q,za=", - "f,Aa=q})();var U={},V={},W={},Ba={};\nfunction Ca(a,b,c,e,f){if(b)if(r(", - "b)==\"array\"){for(var d=0;d=0&&(pa(g.length!=m),qa.spl", - "ice.call(g,h,1));g.length==0&&delete W[c]}b.f=!0;f.t=!0;Fa(e,d,c,f);del", - "ete U[a]}}}\nfunction Fa(a,b,c,e){if(!e.j&&e.t){for(var f=0,d=0;f=0&&g.e;t--)i.currentTarget=l[t]", - ",d&=Ga(g,l[t],e,!0,i);if(k){g=f[!1];g.e=g.b;for(t=0;!i.l&&t\")!=-1&&(a=a.replace(ma,\">\"));a.indexOf('\"')!=-1&&(a=a", - ".replace(na,\""\"));return a}var ka=/&/g,la=//g,na=/\\\"/", - "g,ja=/[&<>\\\"]/;\nfunction oa(a,b){if(ab)return ", - "1;return 0}var pa=Math.random()*2147483648|0,qa={};function ra(a){retur", - "n qa[a]||(qa[a]=String(a).replace(/\\-([a-z])/g,function(a,c){return c.", - "toUpperCase()}))};var sa,ta;function ua(){return p.navigator?p.navigato", - "r.userAgent:i}var va,wa=p.navigator;va=wa&&wa.platform||\"\";sa=va.inde", - "xOf(\"Mac\")!=-1;ta=va.indexOf(\"Win\")!=-1;var u=va.indexOf(\"Linux\")", - "!=-1,xa,ya=\"\",za=/WebKit\\/(\\S+)/.exec(ua());xa=ya=za?za[1]:\"\";var", - " Aa={};var Ba=window;function v(a){this.stack=Error().stack||\"\";if(a)", - "this.message=String(a)}t(v,Error);v.prototype.name=\"CustomError\";func", - "tion Ca(a,b){for(var c in a)b.call(h,a[c],c,a)};function x(a,b){v.call(", - "this,b);this.code=a;this.name=Da[a]||Da[13]}t(x,v);\nvar Da,Ea={NoSuchE", - "lementError:7,NoSuchFrameError:8,UnknownCommandError:9,StaleElementRefe", - "renceError:10,ElementNotVisibleError:11,InvalidElementStateError:12,Unk", - "nownError:13,ElementNotSelectableError:15,XPathLookupError:19,NoSuchWin", - "dowError:23,InvalidCookieDomainError:24,UnableToSetCookieError:25,Modal", - "DialogOpenedError:26,NoModalDialogOpenError:27,ScriptTimeoutError:28,In", - "validSelectorError:32,SqlDatabaseError:33,MoveTargetOutOfBoundsError:34", - "},Fa={},Ga;for(Ga in Ea)Fa[Ea[Ga]]=Ga;Da=Fa;\nx.prototype.toString=func", - "tion(){return\"[\"+this.name+\"] \"+this.message};function Ha(a,b){b.un", - "shift(a);v.call(this,ga.apply(i,b));b.shift();this.Ba=a}t(Ha,v);Ha.prot", - "otype.name=\"AssertionError\";function Ia(a,b){if(!a){var c=Array.proto", - "type.slice.call(arguments,2),d=\"Assertion failed\";if(b){d+=\": \"+b;v", - "ar e=c}f(new Ha(\"\"+d,e||[]))}}function Ja(a){f(new Ha(\"Failure\"+(a?", - "\": \"+a:\"\"),Array.prototype.slice.call(arguments,1)))};function y(a)", - "{return a[a.length-1]}var Ka=Array.prototype;function z(a,b){if(r(a)){i", - "f(!r(b)||b.length!=1)return-1;return a.indexOf(b,0)}for(var c=0;c=0||(d.push(c[g]),e++);d=e==c.l", - "ength;a.className=b.join(\" \");return d};function Va(a,b){this.width=a", - ";this.height=b}Va.prototype.toString=function(){return\"(\"+this.width+", - "\" x \"+this.height+\")\"};Va.prototype.floor=function(){this.width=Mat", - "h.floor(this.width);this.height=Math.floor(this.height);return this};va", - "r A=3;function Wa(a){return a?new Xa(C(a)):Ta||(Ta=new Xa)}function Ya(", - "a,b){Ca(b,function(b,d){d==\"style\"?a.style.cssText=b:d==\"class\"?a.c", - "lassName=b:d==\"for\"?a.htmlFor=b:d in Za?a.setAttribute(Za[d],b):a[d]=", - "b})}var Za={cellpadding:\"cellPadding\",cellspacing:\"cellSpacing\",col", - "span:\"colSpan\",rowspan:\"rowSpan\",valign:\"vAlign\",height:\"height", - "\",width:\"width\",usemap:\"useMap\",frameborder:\"frameBorder\",maxlen", - "gth:\"maxLength\",type:\"type\"};function D(a){return a?a.parentWindow|", - "|a.defaultView:window}\nfunction $a(a,b,c){function d(c){c&&b.appendChi", - "ld(r(c)?a.createTextNode(c):c)}for(var e=2;e0)?La(ab(g)?Ra(g):g,d):d(g)}}function bb(a){r", - "eturn a&&a.parentNode?a.parentNode.removeChild(a):i}function E(a,b){if(", - "a.contains&&b.nodeType==1)return a==b||a.contains(b);if(typeof a.compar", - "eDocumentPosition!=\"undefined\")return a==b||Boolean(a.compareDocument", - "Position(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a}\nfunction cb(", - "a,b){if(a==b)return 0;if(a.compareDocumentPosition)return a.compareDocu", - "mentPosition(b)&2?1:-1;if(\"sourceIndex\"in a||a.parentNode&&\"sourceIn", - "dex\"in a.parentNode){var c=a.nodeType==1,d=b.nodeType==1;if(c&&d)retur", - "n a.sourceIndex-b.sourceIndex;else{var e=a.parentNode,g=b.parentNode;if", - "(e==g)return db(a,b);if(!c&&E(e,b))return-1*eb(a,b);if(!d&&E(g,a))retur", - "n eb(b,a);return(c?a.sourceIndex:e.sourceIndex)-(d?b.sourceIndex:g.sour", - "ceIndex)}}d=C(a);c=d.createRange();c.selectNode(a);c.collapse(!0);d=\nd", - ".createRange();d.selectNode(b);d.collapse(!0);return c.compareBoundaryP", - "oints(p.Range.START_TO_END,d)}function eb(a,b){var c=a.parentNode;if(c=", - "=b)return-1;for(var d=b;d.parentNode!=c;)d=d.parentNode;return db(d,a)}", - "function db(a,b){for(var c=b;c=c.previousSibling;)if(c==a)return-1;retu", - "rn 1}\nfunction fb(){var a,b=arguments.length;if(b){if(b==1)return argu", - "ments[0]}else return i;var c=[],d=Infinity;for(a=0;a2&&", - "$a(a,d,b);return d};o.createElement=function(a){return this.v.createEle", - "ment(a)};o.createTextNode=function(a){return this.v.createTextNode(a)};", - "o.ca=function(){return this.v.parentWindow||this.v.defaultView};o.appen", - "dChild=function(a,b){a.appendChild(b)};o.removeNode=bb;o.contains=E;var", - " F={};F.ga=function(){var a={Ea:\"http://www.w3.org/2000/svg\"};return ", - "function(b){return a[b]||i}}();F.$=function(a,b,c){var d=C(a);if(!d.imp", - "lementation.hasFeature(\"XPath\",\"3.0\"))return i;var e=d.createNSReso", - "lver?d.createNSResolver(d.documentElement):F.ga;return d.evaluate(b,a,e", - ",c,i)};F.ea=function(a){return\"NS_ERROR_ILLEGAL_VALUE\"!=a.name};\nF.p", - "a=function(a,b){var c=function(b,c){var g=C(b);try{if(b.selectSingleNod", - "e)return g.setProperty&&g.setProperty(\"SelectionLanguage\",\"XPath\"),", - "b.selectSingleNode(c);var j=F.$(b,c,9);return j?j.singleNodeValue:i}cat", - "ch(k){return F.ea(k)&&f(new x(32,\"Unable to locate an element with the", - " xpath expression \"+a+\" because of the following error:\\n\"+k)),i}}(", - "b,a);if(!c)return i;c.nodeType!=1&&f(new x(32,'The result of the xpath ", - "expression \"'+a+'\" is: '+c+\". It should be an element.\"));return c}", - ";\nF.Aa=function(a,b){var c=function(a,b){var c=C(a),j;try{if(a.selectN", - "odes)return c.setProperty&&c.setProperty(\"SelectionLanguage\",\"XPath", - "\"),a.selectNodes(b);j=F.$(a,b,7)}catch(k){F.ea(k)&&f(new x(32,\"Unable", - " to locate elements with the xpath expression \"+b+\" because of the fo", - "llowing error:\\n\"+k))}c=[];if(j)for(var n=j.snapshotLength,s=0;s=a.length&&f(G", - "),b in a)return a[b++];else b++};return c}f(Error(\"Not implemented\"))", - "};function I(a,b,c,d,e){this.n=!!b;a&&J(this,a,d);this.t=e!=h?e:this.p|", - "|0;this.n&&(this.t*=-1);this.ia=!c}t(I,H);o=I.prototype;o.o=i;o.p=0;o.Y", - "=!1;function J(a,b,c,d){if(a.o=b)a.p=typeof c==\"number\"?c:a.o.nodeTyp", - "e!=1?0:a.n?-1:1;if(typeof d==\"number\")a.t=d}\no.next=function(){var a", - ";if(this.Y){(!this.o||this.ia&&this.t==0)&&f(G);a=this.o;var b=this.n?-", - "1:1;if(this.p==b){var c=this.n?a.lastChild:a.firstChild;c?J(this,c):J(t", - "his,a,b*-1)}else(c=this.n?a.previousSibling:a.nextSibling)?J(this,c):J(", - "this,a.parentNode,b*-1);this.t+=this.p*(this.n?-1:1)}else this.Y=!0;(a=", - "this.o)||f(G);return a};\no.splice=function(){var a=this.o,b=this.n?1:-", - "1;if(this.p==b)this.p=b*-1,this.t+=this.p*(this.n?-1:1);this.n=!this.n;", - "I.prototype.next.call(this);this.n=!this.n;for(var b=aa(arguments[0])?a", - "rguments[0]:arguments,c=b.length-1;c>=0;c--)a.parentNode&&a.parentNode.", - "insertBefore(b[c],a.nextSibling);bb(a)};function kb(a,b,c,d){I.call(thi", - "s,a,b,c,i,d)}t(kb,I);kb.prototype.next=function(){do kb.S.next.call(thi", - "s);while(this.p==-1);return this.o};function lb(a,b){var c=C(a);if(c.de", - "faultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputed", - "Style(a,i)))return c[b]||c.getPropertyValue(b);return\"\"};function K(a", - ",b){return!!a&&a.nodeType==1&&(!b||a.tagName.toUpperCase()==b)}var mb={", - "\"class\":\"className\",readonly:\"readOnly\"},nb=[\"checked\",\"disabl", - "ed\",\"draggable\",\"hidden\"];function ob(a,b){var c=mb[b]||b,d=a[c];i", - "f(d===h&&z(nb,c)>=0)return!1;return d}\nvar pb=[\"async\",\"autofocus\"", - ",\"autoplay\",\"checked\",\"compact\",\"complete\",\"controls\",\"decla", - "re\",\"defaultchecked\",\"defaultselected\",\"defer\",\"disabled\",\"dr", - "aggable\",\"ended\",\"formnovalidate\",\"hidden\",\"indeterminate\",\"i", - "scontenteditable\",\"ismap\",\"itemscope\",\"loop\",\"multiple\",\"mute", - "d\",\"nohref\",\"noresize\",\"noshade\",\"novalidate\",\"nowrap\",\"ope", - "n\",\"paused\",\"pubdate\",\"readonly\",\"required\",\"reversed\",\"sco", - "ped\",\"seamless\",\"seeking\",\"selected\",\"spellcheck\",\"truespeed", - "\",\"willvalidate\"];\nfunction qb(a,b){if(8==a.nodeType)return i;b=b.t", - "oLowerCase();if(b==\"style\"){var c=ha(a.style.cssText).toLowerCase();r", - "eturn c.charAt(c.length-1)==\";\"?c:c+\";\"}c=a.getAttributeNode(b);if(", - "!c)return i;if(z(pb,b)>=0)return\"true\";return c.specified?c.value:i}v", - "ar rb=[\"BUTTON\",\"INPUT\",\"OPTGROUP\",\"OPTION\",\"SELECT\",\"TEXTAR", - "EA\"];\nfunction sb(a){var b=a.tagName.toUpperCase();if(!(z(rb,b)>=0))r", - "eturn!0;if(ob(a,\"disabled\"))return!1;if(a.parentNode&&a.parentNode.no", - "deType==1&&\"OPTGROUP\"==b||\"OPTION\"==b)return sb(a.parentNode);retur", - "n!0}var tb=[\"text\",\"search\",\"tel\",\"url\",\"email\",\"password\",", - "\"number\"];function ub(a){if(K(a,\"TEXTAREA\"))return!0;if(K(a,\"INPUT", - "\"))return z(tb,a.type.toLowerCase())>=0;if(vb(a))return!0;return!1}fun", - "ction vb(a){return ob(a,\"contentEditable\")==\"true\"||qb(a,\"contentE", - "ditable\")!=i}\nfunction wb(a){for(a=a.parentNode;a&&a.nodeType!=1&&a.n", - "odeType!=9&&a.nodeType!=11;)a=a.parentNode;return K(a)?a:i}function xb(", - "a,b){b=ra(b);return lb(a,b)||yb(a,b)}function yb(a,b){var c=(a.currentS", - "tyle||a.style)[b];if(c!=\"inherit\")return c!==h?c:i;return(c=wb(a))?yb", - "(c,b):i}\nfunction zb(a){if(ba(a.getBBox))return a.getBBox();var b;if((", - "lb(a,\"display\")||(a.currentStyle?a.currentStyle.display:i)||a.style.d", - "isplay)!=\"none\")b=new Va(a.offsetWidth,a.offsetHeight);else{b=a.style", - ";var c=b.display,d=b.visibility,e=b.position;b.visibility=\"hidden\";b.", - "position=\"absolute\";b.display=\"inline\";var g=a.offsetWidth,a=a.offs", - "etHeight;b.display=c;b.position=e;b.visibility=d;b=new Va(g,a)}return b", - "}\nfunction Ab(a,b){function c(a){if(xb(a,\"display\")==\"none\")return", - "!1;a=wb(a);return!a||c(a)}function d(a){var b=zb(a);if(b.height>0&&b.wi", - "dth>0)return!0;return Na(a.childNodes,function(a){return a.nodeType==A|", - "|K(a)&&d(a)})}K(a)||f(Error(\"Argument to isShown must be of type Eleme", - "nt\"));if(K(a,\"TITLE\"))return D(C(a))==Ba;if(K(a,\"OPTION\")||K(a,\"O", - "PTGROUP\")){var e=ib(a,function(a){return K(a,\"SELECT\")});return!!e&&", - "Ab(e,b)}if(K(a,\"MAP\")){if(!a.name)return!1;e=C(a);e=e.evaluate?F.pa('", - "/descendant::*[@usemap = \"#'+\na.name+'\"]',e):gb(e,function(b){return", - " K(b)&&qb(b,\"usemap\")==\"#\"+a.name});return!!e&&Ab(e,b)}if(K(a,\"ARE", - "A\"))return e=ib(a,function(a){return K(a,\"MAP\")}),!!e&&Ab(e,b);if(K(", - "a,\"INPUT\")&&a.type.toLowerCase()==\"hidden\")return!1;if(xb(a,\"visib", - "ility\")==\"hidden\")return!1;if(!c(a))return!1;if(!b&&Bb(a)==0)return!", - "1;if(!d(a))return!1;return!0}function Bb(a){var b=1,c=xb(a,\"opacity\")", - ";c&&(b=Number(c));(a=wb(a))&&(b*=Bb(a));return b};function L(a,b,c){var", - " d=C(a),a=D(d),e=c||{},c=e.clientX||0,g=e.clientY||0,j=e.button||0,k=e.", - "bubble||!0,n=e.related||i,s=!!e.alt,w=!!e.control,M=!!e.shift,e=!!e.met", - "a,d=d.createEvent(\"MouseEvents\");d.initMouseEvent(b,k,!0,a,1,0,0,c,g,", - "w,s,M,e,j,n);return d}function Cb(a,b,c){var d=c||{},c=d.keyCode||0,e=d", - ".charCode||0,g=!!d.alt,j=!!d.ctrl,k=!!d.shift,d=!!d.meta,a=C(a).createE", - "vent(\"Events\");a.initEvent(b,!0,!0);a.keyCode=c;a.altKey=g;a.ctrlKey=", - "j;a.metaKey=d;a.shiftKey=k;a.charCode=e;return a}\nfunction Db(a,b,c){v", - "ar d=C(a),e=c||{},c=e.bubble!==!1,g=!!e.alt,j=!!e.control,k=!!e.shift,e", - "=!!e.meta;a.fireEvent&&d&&d.createEventObject&&!d.createEvent?(a=d.crea", - "teEventObject(),a.altKey=g,a.ta=j,a.metaKey=e,a.shiftKey=k):(a=d.create", - "Event(\"HTMLEvents\"),a.initEvent(b,c,!0),a.shiftKey=k,a.metaKey=e,a.al", - "tKey=g,a.ctrlKey=j);return a}var N={};N.click=L;N.keydown=Cb;N.keypress", - "=Cb;N.keyup=Cb;N.mousedown=L;N.mousemove=L;N.mouseout=L;N.mouseover=L;N", - ".mouseup=L;var Eb={};function O(a,b,c){ca(a)&&(a=a.c);a=new Fb(a,b,c);i", - "f(b&&(!(b in Eb)||c))Eb[b]={key:a,shift:!1},c&&(Eb[c]={key:a,shift:!0})", - "}function Fb(a,b,c){this.code=a;this.ha=b||i;this.Da=c||this.ha}O(8);O(", - "9);O(13);O(16);O(17);O(18);O(19);O(20);O(27);O(32,\" \");O(33);O(34);O(", - "35);O(36);O(37);O(38);O(39);O(40);O(44);O(45);O(46);O(48,\"0\",\")\");O", - "(49,\"1\",\"!\");O(50,\"2\",\"@\");O(51,\"3\",\"#\");O(52,\"4\",\"$\");", - "O(53,\"5\",\"%\");O(54,\"6\",\"^\");O(55,\"7\",\"&\");O(56,\"8\",\"*\")", - ";O(57,\"9\",\"(\");O(65,\"a\",\"A\");O(66,\"b\",\"B\");O(67,\"c\",\"C\"", - ");\nO(68,\"d\",\"D\");O(69,\"e\",\"E\");O(70,\"f\",\"F\");O(71,\"g\",\"", - "G\");O(72,\"h\",\"H\");O(73,\"i\",\"I\");O(74,\"j\",\"J\");O(75,\"k\",", - "\"K\");O(76,\"l\",\"L\");O(77,\"m\",\"M\");O(78,\"n\",\"N\");O(79,\"o\"", - ",\"O\");O(80,\"p\",\"P\");O(81,\"q\",\"Q\");O(82,\"r\",\"R\");O(83,\"s", - "\",\"S\");O(84,\"t\",\"T\");O(85,\"u\",\"U\");O(86,\"v\",\"V\");O(87,\"", - "w\",\"W\");O(88,\"x\",\"X\");O(89,\"y\",\"Y\");O(90,\"z\",\"Z\");O(ta?{", - "e:91,c:91,opera:219}:sa?{e:224,c:91,opera:17}:{e:0,c:91,opera:i});O(ta?", - "{e:92,c:92,opera:220}:sa?{e:224,c:93,opera:17}:{e:0,c:92,opera:i});\nO(", - "ta?{e:93,c:93,opera:0}:sa?{e:0,c:0,opera:16}:{e:93,c:i,opera:0});O({e:9", - "6,c:96,opera:48},\"0\");O({e:97,c:97,opera:49},\"1\");O({e:98,c:98,oper", - "a:50},\"2\");O({e:99,c:99,opera:51},\"3\");O({e:100,c:100,opera:52},\"4", - "\");O({e:101,c:101,opera:53},\"5\");O({e:102,c:102,opera:54},\"6\");O({", - "e:103,c:103,opera:55},\"7\");O({e:104,c:104,opera:56},\"8\");O({e:105,c", - ":105,opera:57},\"9\");O({e:106,c:106,opera:u?56:42},\"*\");O({e:107,c:1", - "07,opera:u?61:43},\"+\");O({e:109,c:109,opera:u?109:45},\"-\");O({e:110", - ",c:110,opera:u?190:78},\".\");\nO({e:111,c:111,opera:u?191:47},\"/\");O", - "(144);O(112);O(113);O(114);O(115);O(116);O(117);O(118);O(119);O(120);O(", - "121);O(122);O(123);O({e:107,c:187,opera:61},\"=\",\"+\");O({e:109,c:189", - ",opera:109},\"-\",\"_\");O(188,\",\",\"<\");O(190,\".\",\">\");O(191,\"", - "/\",\"?\");O(192,\"`\",\"~\");O(219,\"[\",\"{\");O(220,\"\\\\\",\"|\");", - "O(221,\"]\",\"}\");O({e:59,c:186,opera:59},\";\",\":\");O(222,\"'\",'\"", - "');var Gb,Hb,Ib,Jb,Kb,Lb,Mb;Mb=Lb=Kb=Jb=Ib=Hb=Gb=!1;var P=ua();P&&(P.in", - "dexOf(\"Firefox\")!=-1?Gb=!0:P.indexOf(\"Camino\")!=-1?Hb=!0:P.indexOf(", - "\"iPhone\")!=-1||P.indexOf(\"iPod\")!=-1?Ib=!0:P.indexOf(\"iPad\")!=-1?", - "Jb=!0:P.indexOf(\"Android\")!=-1?Kb=!0:P.indexOf(\"Chrome\")!=-1?Lb=!0:", - "P.indexOf(\"Safari\")!=-1&&(Mb=!0));var Nb=Hb,Ob=Ib,Pb=Jb,Qb=Kb,Rb=Lb,S", - "b=Mb;var Q;Gb?Q=/Firefox\\/([0-9.]+)/:Rb?Q=/Chrome\\/([0-9.]+)/:Sb?Q=/V", - "ersion\\/([0-9.]+)/:Ob||Pb?Q=/Version\\/(\\S+).*Mobile\\/(\\S+)/:Qb?Q=/", - "Android\\s+([0-9.]+)(?:.*Version\\/([0-9.]+))?/:Nb&&(Q=/Camino\\/([0-9.", - "]+)/);Q&&Q.exec(ua());function Tb(){Ub&&(this[da]||(this[da]=++ea))}var", - " Ub=!1;function Vb(a){return Wb(a||arguments.callee.caller,[])}\nfuncti", - "on Wb(a,b){var c=[];if(z(b,a)>=0)c.push(\"[...circular reference...]\")", - ";else if(a&&b.length<50){c.push(Xb(a)+\"(\");for(var d=a.arguments,e=0;", - "e0&&c.push(\", \");var g;g=d[e];switch(typeof g){case ", - "\"object\":g=g?\"object\":\"null\";break;case \"string\":break;case \"n", - "umber\":g=String(g);break;case \"boolean\":g=g?\"true\":\"false\";break", - ";case \"function\":g=(g=Xb(g))?g:\"[fn]\";break;default:g=typeof g}g.le", - "ngth>40&&(g=g.substr(0,40)+\"...\");c.push(g)}b.push(a);c.push(\")\\n\"", - ");try{c.push(Wb(a.caller,b))}catch(j){c.push(\"[exception trying to get", - " caller]\\n\")}}else a?\nc.push(\"[...long stack...]\"):c.push(\"[end]", - "\");return c.join(\"\")}function Xb(a){a=String(a);if(!Yb[a]){var b=/fu", - "nction ([^\\(]+)/.exec(a);Yb[a]=b?b[1]:\"[Anonymous]\"}return Yb[a]}var", - " Yb={};function R(a,b,c,d,e){this.reset(a,b,c,d,e)}R.prototype.oa=0;R.p", - "rototype.ba=i;R.prototype.aa=i;var Zb=0;R.prototype.reset=function(a,b,", - "c,d,e){this.oa=typeof e==\"number\"?e:Zb++;this.Fa=d||fa();this.I=a;thi", - "s.ma=b;this.za=c;delete this.ba;delete this.aa};R.prototype.fa=function", - "(a){this.I=a};function S(a){this.na=a}S.prototype.Q=i;S.prototype.I=i;S", - ".prototype.T=i;S.prototype.da=i;function $b(a,b){this.name=a;this.value", - "=b}$b.prototype.toString=l(\"name\");var ac=new $b(\"WARNING\",900),bc=", - "new $b(\"CONFIG\",700);S.prototype.getParent=l(\"Q\");S.prototype.fa=fu", - "nction(a){this.I=a};function cc(a){if(a.I)return a.I;if(a.Q)return cc(a", - ".Q);Ja(\"Root logger has no level set.\");return i}\nS.prototype.log=fu", - "nction(a,b,c){if(a.value>=cc(this).value){a=this.ka(a,b,c);p.console&&p", - ".console.markTimeline&&p.console.markTimeline(\"log:\"+a.ma);for(b=this", - ";b;){var c=b,d=a;if(c.da)for(var e=0,g=h;g=c.da[e];e++)g(d);b=b.getPare", - "nt()}}};\nS.prototype.ka=function(a,b,c){var d=new R(a,String(b),this.n", - "a);if(c){d.ba=c;var e;var g=arguments.callee.caller;try{var j;var k;c:{", - "for(var n=\"window.location.href\".split(\".\"),s=p,w;w=n.shift();)if(s", - "[w]!=i)s=s[w];else{k=i;break c}k=s}if(r(c))j={message:c,name:\"Unknown ", - "error\",lineNumber:\"Not available\",fileName:k,stack:\"Not available\"", - "};else{var M,B,n=!1;try{M=c.lineNumber||c.ya||\"Not available\"}catch(U", - "){M=\"Not available\",n=!0}try{B=c.fileName||c.filename||c.sourceURL||k", - "}catch(Oc){B=\"Not available\",\nn=!0}j=n||!c.lineNumber||!c.fileName||", - "!c.stack?{message:c.message,name:c.name,lineNumber:M,fileName:B,stack:c", - ".stack||\"Not available\"}:c}e=\"Message: \"+ia(j.message)+'\\nUrl: '+j.fileName+\"", - "\\nLine: \"+j.lineNumber+\"\\n\\nBrowser stack:\\n\"+ia(j.stack+\"-> \"", - ")+\"[end]\\n\\nJS stack traversal:\\n\"+ia(Vb(g)+\"-> \")}catch(Mc){e=", - "\"Exception trying to expose exception! You win, we lose. \"+Mc}d.aa=e}", - "return d};var dc={},ec=i;\nfunction fc(a){ec||(ec=new S(\"\"),dc[\"\"]=", - "ec,ec.fa(bc));var b;if(!(b=dc[a])){b=new S(a);var c=a.lastIndexOf(\".\"", - "),d=a.substr(c+1),c=fc(a.substr(0,c));if(!c.T)c.T={};c.T[d]=b;b.Q=c;dc[", - "a]=b}return b};function gc(){Tb.call(this)}t(gc,Tb);fc(\"goog.dom.Saved", - "Range\");t(function(a){Tb.call(this);this.qa=\"goog_\"+pa++;this.ja=\"g", - "oog_\"+pa++;this.Z=Wa(a.V());a.M(this.Z.U(\"SPAN\",{id:this.qa}),this.Z", - ".U(\"SPAN\",{id:this.ja}))},gc);function T(){}function hc(a){if(a.getSe", - "lection)return a.getSelection();else{var a=a.document,b=a.selection;if(", - "b){try{var c=b.createRange();if(c.parentElement){if(c.parentElement().d", - "ocument!=a)return i}else if(!c.length||c.item(0).document!=a)return i}c", - "atch(d){return i}return b}return i}}function ic(a){for(var b=[],c=0,d=a", - ".A();c=0&&this.l(d,1,0)<=0:this.l(d,0,0)>=0&&this.l(d,1,1)<=0}ca", - "tch(e){f(e)}};mc.prototype.containsNode=function(a,b){return this.s(kc(", - "a),b)};mc.prototype.z=function(){return new lc(this.b(),this.j(),this.g", - "(),this.k())};function nc(a){this.a=a}t(nc,mc);o=nc.prototype;o.w=funct", - "ion(){return this.a.commonAncestorContainer};o.b=function(){return this", - ".a.startContainer};o.j=function(){return this.a.startOffset};o.g=functi", - "on(){return this.a.endContainer};o.k=function(){return this.a.endOffset", - "};o.l=function(a,b,c){return this.a.compareBoundaryPoints(c==1?b==1?p.R", - "ange.START_TO_START:p.Range.START_TO_END:b==1?p.Range.END_TO_START:p.Ra", - "nge.END_TO_END,a)};o.isCollapsed=function(){return this.a.collapsed};\n", - "o.select=function(a){this.R(D(C(this.b())).getSelection(),a)};o.R=funct", - "ion(a){a.removeAllRanges();a.addRange(this.a)};o.insertNode=function(a,", - "b){var c=this.a.cloneRange();c.collapse(b);c.insertNode(a);c.detach();r", - "eturn a};\no.M=function(a,b){var c=D(C(this.b()));if(c=(c=hc(c||window)", - ")&&oc(c))var d=c.b(),e=c.g(),g=c.j(),j=c.k();var k=this.a.cloneRange(),", - "n=this.a.cloneRange();k.collapse(!1);n.collapse(!0);k.insertNode(b);n.i", - "nsertNode(a);k.detach();n.detach();if(c){if(d.nodeType==A)for(;g>d.leng", - "th;){g-=d.length;do d=d.nextSibling;while(d==a||d==b)}if(e.nodeType==A)", - "for(;j>e.length;){j-=e.length;do e=e.nextSibling;while(e==a||e==b)}c=ne", - "w pc;c.C=qc(d,g,e,j);if(d.tagName==\"BR\")k=d.parentNode,g=z(k.childNod", - "es,d),d=k;if(e.tagName==\n\"BR\")k=e.parentNode,j=z(k.childNodes,e),e=k", - ";c.C?(c.f=e,c.i=j,c.d=d,c.h=g):(c.f=d,c.i=g,c.d=e,c.h=j);c.select()}};o", - ".collapse=function(a){this.a.collapse(a)};function rc(a){this.a=a}t(rc,", - "nc);rc.prototype.R=function(a,b){var c=b?this.g():this.b(),d=b?this.k()", - ":this.j(),e=b?this.b():this.g(),g=b?this.j():this.k();a.collapse(c,d);(", - "c!=e||d!=g)&&a.extend(e,g)};function sc(a,b){this.a=a;this.ua=b}t(sc,mc", - ");fc(\"goog.dom.browserrange.IeRange\");function tc(a){var b=C(a).body.", - "createTextRange();if(a.nodeType==1)b.moveToElementText(a),X(a)&&!a.chil", - "dNodes.length&&b.collapse(!1);else{for(var c=0,d=a;d=d.previousSibling;", - "){var e=d.nodeType;if(e==A)c+=d.length;else if(e==1){b.moveToElementTex", - "t(d);break}}d||b.moveToElementText(a.parentNode);b.collapse(!d);c&&b.mo", - "ve(\"character\",c);b.moveEnd(\"character\",a.length)}return b}o=sc.pro", - "totype;o.J=i;o.f=i;o.d=i;o.i=-1;o.h=-1;\no.q=function(){this.J=this.f=t", - "his.d=i;this.i=this.h=-1};\no.w=function(){if(!this.J){var a=this.a.tex", - "t,b=this.a.duplicate(),c=a.replace(/ +$/,\"\");(c=a.length-c.length)&&b", - ".moveEnd(\"character\",-c);c=b.parentElement();b=b.htmlText.replace(/(", - "\\r\\n|\\r|\\n)+/g,\" \").length;if(this.isCollapsed()&&b>0)return this", - ".J=c;for(;b>c.outerHTML.replace(/(\\r\\n|\\r|\\n)+/g,\" \").length;)c=c", - ".parentNode;for(;c.childNodes.length==1&&c.innerText==(c.firstChild.nod", - "eType==A?c.firstChild.nodeValue:c.firstChild.innerText);){if(!X(c.first", - "Child))break;c=c.firstChild}a.length==0&&(c=uc(this,\nc));this.J=c}retu", - "rn this.J};function uc(a,b){for(var c=b.childNodes,d=0,e=c.length;d=0&&a.l(j,1,0)<=0:a.a.inRange(j))return uc(a,g)", - "}}return b}o.b=function(){if(!this.f&&(this.f=vc(this,1),this.isCollaps", - "ed()))this.d=this.f;return this.f};o.j=function(){if(this.i<0&&(this.i=", - "wc(this,1),this.isCollapsed()))this.h=this.i;return this.i};\no.g=funct", - "ion(){if(this.isCollapsed())return this.b();if(!this.d)this.d=vc(this,0", - ");return this.d};o.k=function(){if(this.isCollapsed())return this.j();i", - "f(this.h<0&&(this.h=wc(this,0),this.isCollapsed()))this.i=this.h;return", - " this.h};o.l=function(a,b,c){return this.a.compareEndPoints((b==1?\"Sta", - "rt\":\"End\")+\"To\"+(c==1?\"Start\":\"End\"),a)};\nfunction vc(a,b,c){", - "c=c||a.w();if(!c||!c.firstChild)return c;for(var d=b==1,e=0,g=c.childNo", - "des.length;e0)return vc(a,b,k)}return c}\nfunction wc(a,b){var c=b==1,d=c?a.b(", - "):a.g();if(d.nodeType==1){for(var d=d.childNodes,e=d.length,g=c?1:-1,j=", - "c?0:e-1;j>=0&&j=0}if(d)return Y.S.l.call(thi", - "s,a,b,c);return this.a.compareBoundaryPoints(c==1?b==1?p.Range.START_TO", - "_START:p.Range.END_TO_START:b==1?p.Range.START_TO_END:p.Range.END_TO_EN", - "D,a)};Y.prototype.R=function(a,b){a.removeAllRanges();b?a.setBaseAndExt", - "ent(this.g(),this.k(),this.b(),this.j()):a.setBaseAndExtent(this.b(),th", - "is.j(),this.g(),this.k())};function X(a){var b;a:if(a.nodeType!=1)b=!1;", - "else{switch(a.tagName){case \"APPLET\":case \"AREA\":case \"BASE\":case", - " \"BR\":case \"COL\":case \"FRAME\":case \"HR\":case \"IMG\":case \"INP", - "UT\":case \"IFRAME\":case \"ISINDEX\":case \"LINK\":case \"NOFRAMES\":c", - "ase \"NOSCRIPT\":case \"META\":case \"OBJECT\":case \"PARAM\":case \"SC", - "RIPT\":case \"STYLE\":b=!1;break a}b=!0}return b||a.nodeType==A};functi", - "on pc(){}t(pc,T);function jc(a,b){var c=new pc;c.G=a;c.C=!!b;return c}o", - "=pc.prototype;o.G=i;o.f=i;o.i=i;o.d=i;o.h=i;o.C=!1;o.W=m(\"text\");o.P=", - "function(){return Z(this).a};o.q=function(){this.f=this.i=this.d=this.h", - "=i};o.A=m(1);o.u=function(){return this};function Z(a){var b;if(!(b=a.G", - ")){b=a.b();var c=a.j(),d=a.g(),e=a.k(),g=C(b).createRange();g.setStart(", - "b,c);g.setEnd(d,e);b=a.G=new Y(g)}return b}o.w=function(){return Z(this", - ").w()};o.b=function(){return this.f||(this.f=Z(this).b())};\no.j=functi", - "on(){return this.i!=i?this.i:this.i=Z(this).j()};o.g=function(){return ", - "this.d||(this.d=Z(this).g())};o.k=function(){return this.h!=i?this.h:th", - "is.h=Z(this).k()};o.B=l(\"C\");o.s=function(a,b){var c=a.W();if(c==\"te", - "xt\")return Z(this).s(Z(a),b);else if(c==\"control\")return c=zc(a),(b?", - "Na:Oa)(c,function(a){return this.containsNode(a,b)},this);return!1};o.i", - "sCollapsed=function(){return Z(this).isCollapsed()};o.z=function(){retu", - "rn new lc(this.b(),this.j(),this.g(),this.k())};o.select=function(){Z(t", - "his).select(this.C)};\no.insertNode=function(a,b){var c=Z(this).insertN", - "ode(a,b);this.q();return c};o.M=function(a,b){Z(this).M(a,b);this.q()};", - "o.X=function(){return new Ac(this)};o.collapse=function(a){a=this.B()?!", - "a:a;this.G&&this.G.collapse(a);a?(this.d=this.f,this.h=this.i):(this.f=", - "this.d,this.i=this.h);this.C=!1};function Ac(a){this.ra=a.B()?a.g():a.b", - "();this.sa=a.B()?a.k():a.j();this.va=a.B()?a.b():a.g();this.wa=a.B()?a.", - "j():a.k()}t(Ac,gc);function Bc(){}t(Bc,W);o=Bc.prototype;o.a=i;o.m=i;o.", - "L=i;o.q=function(){this.L=this.m=i};o.W=m(\"control\");o.P=function(){r", - "eturn this.a||document.body.createControlRange()};o.A=function(){return", - " this.a?this.a.length:0};o.u=function(a){a=this.a.item(a);return jc(kc(", - "a),h)};o.w=function(){return fb.apply(i,zc(this))};o.b=function(){retur", - "n Cc(this)[0]};o.j=m(0);o.g=function(){var a=Cc(this),b=y(a);return Pa(", - "a,function(a){return E(a,b)})};o.k=function(){return this.g().childNode", - "s.length};\nfunction zc(a){if(!a.m&&(a.m=[],a.a))for(var b=0;b1&&this.la.log(ac,\"getBrowserRangeObject called on M", - "ultiRange with more than 1 range\",h);return this.r[0]};o.A=function(){", - "return this.r.length};o.u=function(a){this.K[a]||(this.K[a]=jc(new Y(th", - "is.r[a]),h));return this.K[a]};\no.w=function(){if(!this.N){for(var a=[", - "],b=0,c=this.A();b1){b=new Fc;for(var c=0,e=a.rangeCount;c0};function Jc(a){(!Ab(a,!0)||!sb(a))&&f(ne", - "w x(12,\"Element is not currently interactable and may not be manipulat", - "ed\"))};function Kc(a){Jc(a);(!ub(a)||ob(a,\"readOnly\"))&&f(new x(12,", - "\"Element cannot contain user-editable text\"));Jc(a);var b=C(a).active", - "Element;a!=b&&(b&&ba(b.blur)&&b.blur(),ba(a.focus)&&a.focus());if(a.val", - "ue){a.value=\"\";b=(N.change||Db)(a,\"change\",h);if(!(\"isTrusted\"in ", - "b))b.xa=!1;a.dispatchEvent(b)}else if(vb(a))a.innerHTML=\" \"}var Lc=\"", - "_\".split(\".\"),$=p;!(Lc[0]in $)&&$.execScript&&$.execScript(\"var \"+", - "Lc[0]);for(var Nc;Lc.length&&(Nc=Lc.shift());)!Lc.length&&Kc!==h?$[Nc]=", - "Kc:$=$[Nc]?$[Nc]:$[Nc]={};; return this._.apply(null,arguments);}.apply", - "({navigator:typeof window!='undefined'?window.navigator:null}, argument", - "s);}", - NULL -}; - -const char* const CLICK[] = { - "function(){return function(){function g(a){throw a;}var h=void 0,i=null", - ";function l(a){return function(){return this[a]}}function m(a){return f", - "unction(){return a}}var n,o=this;\nfunction aa(a){var b=typeof a;if(b==", - "\"object\")if(a){if(a instanceof Array)return\"array\";else if(a instan", - "ceof Object)return b;var c=Object.prototype.toString.call(a);if(c==\"[o", - "bject Window]\")return\"object\";if(c==\"[object Array]\"||typeof a.len", - "gth==\"number\"&&typeof a.splice!=\"undefined\"&&typeof a.propertyIsEnu", - "merable!=\"undefined\"&&!a.propertyIsEnumerable(\"splice\"))return\"arr", - "ay\";if(c==\"[object Function]\"||typeof a.call!=\"undefined\"&&typeof ", - "a.propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable(\"call\"", - "))return\"function\"}else return\"null\";\nelse if(b==\"function\"&&typ", - "eof a.call==\"undefined\")return\"object\";return b}function ba(a){var ", - "b=aa(a);return b==\"array\"||b==\"object\"&&typeof a.length==\"number\"", - "}function q(a){return typeof a==\"string\"}function ca(a){return aa(a)=", - "=\"function\"}function da(a){a=aa(a);return a==\"object\"||a==\"array\"", - "||a==\"function\"}var ea=\"closure_uid_\"+Math.floor(Math.random()*2147", - "483648).toString(36),fa=0,ga=Date.now||function(){return+new Date};\nfu", - "nction r(a,b){function c(){}c.prototype=b.prototype;a.W=b.prototype;a.p", - "rototype=new c};function ha(a){for(var b=1;b\")!=-1&&(a=a.replace(na,\">\"));a.indexOf('\"')!=-1&&(", - "a=a.replace(oa,\""\"));return a}var la=/&/g,ma=//g,oa=/", - "\\\"/g,ka=/[&<>\\\"]/;\nfunction pa(a,b){if(ab)re", - "turn 1;return 0}var qa=Math.random()*2147483648|0,ra={};function sa(a){", - "return ra[a]||(ra[a]=String(a).replace(/\\-([a-z])/g,function(a,c){retu", - "rn c.toUpperCase()}))};var ta,ua;function va(){return o.navigator?o.nav", - "igator.userAgent:i}var wa,xa=o.navigator;wa=xa&&xa.platform||\"\";ta=wa", - ".indexOf(\"Mac\")!=-1;ua=wa.indexOf(\"Win\")!=-1;var ya=wa.indexOf(\"Li", - "nux\")!=-1,za,Aa=\"\",Ba=/WebKit\\/(\\S+)/.exec(va());za=Aa=Ba?Ba[1]:\"", - "\";var Ca={};var Da=window;function s(a){this.stack=Error().stack||\"\"", - ";if(a)this.message=String(a)}r(s,Error);s.prototype.name=\"CustomError", - "\";function Ea(a,b){for(var c in a)b.call(h,a[c],c,a)};function u(a,b){", - "s.call(this,b);this.code=a;this.name=Fa[a]||Fa[13]}r(u,s);\nvar Fa,Ga={", - "NoSuchElementError:7,NoSuchFrameError:8,UnknownCommandError:9,StaleElem", - "entReferenceError:10,ElementNotVisibleError:11,InvalidElementStateError", - ":12,UnknownError:13,ElementNotSelectableError:15,XPathLookupError:19,No", - "SuchWindowError:23,InvalidCookieDomainError:24,UnableToSetCookieError:2", - "5,ModalDialogOpenedError:26,NoModalDialogOpenError:27,ScriptTimeoutErro", - "r:28,InvalidSelectorError:32,SqlDatabaseError:33,MoveTargetOutOfBoundsE", - "rror:34},Ha={},Ia;for(Ia in Ga)Ha[Ga[Ia]]=Ia;Fa=Ha;\nu.prototype.toStri", - "ng=function(){return\"[\"+this.name+\"] \"+this.message};function Ja(a,", - "b){b.unshift(a);s.call(this,ha.apply(i,b));b.shift();this.Ja=a}r(Ja,s);", - "Ja.prototype.name=\"AssertionError\";function Ka(a,b){if(!a){var c=Arra", - "y.prototype.slice.call(arguments,2),d=\"Assertion failed\";if(b){d+=\":", - " \"+b;var e=c}g(new Ja(\"\"+d,e||[]))}}function La(a){g(new Ja(\"Failur", - "e\"+(a?\": \"+a:\"\"),Array.prototype.slice.call(arguments,1)))};functi", - "on v(a){return a[a.length-1]}var Ma=Array.prototype;function w(a,b){if(", - "q(a)){if(!q(b)||b.length!=1)return-1;return a.indexOf(b,0)}for(var c=0;", - "c=0||(d.push(c[f]),e++);", - "d=e==c.length;a.className=b.join(\" \");return d};function y(a,b){this.", - "x=a!==h?a:0;this.y=b!==h?b:0}y.prototype.toString=function(){return\"(", - "\"+this.x+\", \"+this.y+\")\"};function Xa(a,b){this.width=a;this.heigh", - "t=b}Xa.prototype.toString=function(){return\"(\"+this.width+\" x \"+thi", - "s.height+\")\"};Xa.prototype.floor=function(){this.width=Math.floor(thi", - "s.width);this.height=Math.floor(this.height);return this};var z=3;funct", - "ion Ya(a){return a?new Za(A(a)):Va||(Va=new Za)}function $a(a,b){Ea(b,f", - "unction(b,d){d==\"style\"?a.style.cssText=b:d==\"class\"?a.className=b:", - "d==\"for\"?a.htmlFor=b:d in ab?a.setAttribute(ab[d],b):a[d]=b})}var ab=", - "{cellpadding:\"cellPadding\",cellspacing:\"cellSpacing\",colspan:\"colS", - "pan\",rowspan:\"rowSpan\",valign:\"vAlign\",height:\"height\",width:\"w", - "idth\",usemap:\"useMap\",frameborder:\"frameBorder\",maxlength:\"maxLen", - "gth\",type:\"type\"};function bb(a){return a?a.parentWindow||a.defaultV", - "iew:window}\nfunction cb(a,b,c){function d(c){c&&b.appendChild(q(c)?a.c", - "reateTextNode(c):c)}for(var e=2;e0)?Na(db(f)?Ta(f):f,d):d(f)}}function eb(a){return a&&a.", - "parentNode?a.parentNode.removeChild(a):i}function C(a,b){if(a.contains&", - "&b.nodeType==1)return a==b||a.contains(b);if(typeof a.compareDocumentPo", - "sition!=\"undefined\")return a==b||Boolean(a.compareDocumentPosition(b)", - "&16);for(;b&&a!=b;)b=b.parentNode;return b==a}\nfunction fb(a,b){if(a==", - "b)return 0;if(a.compareDocumentPosition)return a.compareDocumentPositio", - "n(b)&2?1:-1;if(\"sourceIndex\"in a||a.parentNode&&\"sourceIndex\"in a.p", - "arentNode){var c=a.nodeType==1,d=b.nodeType==1;if(c&&d)return a.sourceI", - "ndex-b.sourceIndex;else{var e=a.parentNode,f=b.parentNode;if(e==f)retur", - "n gb(a,b);if(!c&&C(e,b))return-1*hb(a,b);if(!d&&C(f,a))return hb(b,a);r", - "eturn(c?a.sourceIndex:e.sourceIndex)-(d?b.sourceIndex:f.sourceIndex)}}d", - "=A(a);c=d.createRange();c.selectNode(a);c.collapse(!0);d=\nd.createRang", - "e();d.selectNode(b);d.collapse(!0);return c.compareBoundaryPoints(o.Ran", - "ge.START_TO_END,d)}function hb(a,b){var c=a.parentNode;if(c==b)return-1", - ";for(var d=b;d.parentNode!=c;)d=d.parentNode;return gb(d,a)}function gb", - "(a,b){for(var c=b;c=c.previousSibling;)if(c==a)return-1;return 1}\nfunc", - "tion ib(){var a,b=arguments.length;if(b){if(b==1)return arguments[0]}el", - "se return i;var c=[],d=Infinity;for(a=0;a2&&cb(a,d,b);", - "return d};n.createElement=function(a){return this.w.createElement(a)};n", - ".createTextNode=function(a){return this.w.createTextNode(a)};n.ia=funct", - "ion(){return this.w.parentWindow||this.w.defaultView};function mb(a){va", - "r b=a.w,a=b.body,b=b.parentWindow||b.defaultView;return new y(b.pageXOf", - "fset||a.scrollLeft,b.pageYOffset||a.scrollTop)}\nn.appendChild=function", - "(a,b){a.appendChild(b)};n.removeNode=eb;n.contains=C;var D={};D.ma=func", - "tion(){var a={Oa:\"http://www.w3.org/2000/svg\"};return function(b){ret", - "urn a[b]||i}}();D.ea=function(a,b,c){var d=A(a);if(!d.implementation.ha", - "sFeature(\"XPath\",\"3.0\"))return i;var e=d.createNSResolver?d.createN", - "SResolver(d.documentElement):D.ma;return d.evaluate(b,a,e,c,i)};D.ka=fu", - "nction(a){return\"NS_ERROR_ILLEGAL_VALUE\"!=a.name};\nD.va=function(a,b", - "){var c=function(b,c){var f=A(b);try{if(b.selectSingleNode)return f.set", - "Property&&f.setProperty(\"SelectionLanguage\",\"XPath\"),b.selectSingle", - "Node(c);var j=D.ea(b,c,9);return j?j.singleNodeValue:i}catch(k){return ", - "D.ka(k)&&g(new u(32,\"Unable to locate an element with the xpath expres", - "sion \"+a+\" because of the following error:\\n\"+k)),i}}(b,a);if(!c)re", - "turn i;c.nodeType!=1&&g(new u(32,'The result of the xpath expression \"", - "'+a+'\" is: '+c+\". It should be an element.\"));return c};\nD.Ia=funct", - "ion(a,b){var c=function(a,b){var c=A(a),j;try{if(a.selectNodes)return c", - ".setProperty&&c.setProperty(\"SelectionLanguage\",\"XPath\"),a.selectNo", - "des(b);j=D.ea(a,b,7)}catch(k){D.ka(k)&&g(new u(32,\"Unable to locate el", - "ements with the xpath expression \"+b+\" because of the following error", - ":\\n\"+k))}c=[];if(j)for(var p=j.snapshotLength,t=0;t=a.length&&g(E),b in a", - ")return a[b++];else b++};return c}g(Error(\"Not implemented\"))};functi", - "on F(a,b,c,d,e){this.o=!!b;a&&G(this,a,d);this.v=e!=h?e:this.q||0;this.", - "o&&(this.v*=-1);this.oa=!c}r(F,nb);n=F.prototype;n.p=i;n.q=0;n.ca=!1;fu", - "nction G(a,b,c,d){if(a.p=b)a.q=typeof c==\"number\"?c:a.p.nodeType!=1?0", - ":a.o?-1:1;if(typeof d==\"number\")a.v=d}\nn.next=function(){var a;if(th", - "is.ca){(!this.p||this.oa&&this.v==0)&&g(E);a=this.p;var b=this.o?-1:1;i", - "f(this.q==b){var c=this.o?a.lastChild:a.firstChild;c?G(this,c):G(this,a", - ",b*-1)}else(c=this.o?a.previousSibling:a.nextSibling)?G(this,c):G(this,", - "a.parentNode,b*-1);this.v+=this.q*(this.o?-1:1)}else this.ca=!0;(a=this", - ".p)||g(E);return a};\nn.splice=function(){var a=this.p,b=this.o?1:-1;if", - "(this.q==b)this.q=b*-1,this.v+=this.q*(this.o?-1:1);this.o=!this.o;F.pr", - "ototype.next.call(this);this.o=!this.o;for(var b=ba(arguments[0])?argum", - "ents[0]:arguments,c=b.length-1;c>=0;c--)a.parentNode&&a.parentNode.inse", - "rtBefore(b[c],a.nextSibling);eb(a)};function pb(a,b,c,d){F.call(this,a,", - "b,c,i,d)}r(pb,F);pb.prototype.next=function(){do pb.W.next.call(this);w", - "hile(this.q==-1);return this.p};function qb(a,b,c,d){this.top=a;this.ri", - "ght=b;this.bottom=c;this.left=d}qb.prototype.toString=function(){return", - "\"(\"+this.top+\"t, \"+this.right+\"r, \"+this.bottom+\"b, \"+this.left", - "+\"l)\"};qb.prototype.contains=function(a){a=!this||!a?!1:a instanceof ", - "qb?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=t", - "his.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bo", - "ttom;return a};function H(a,b){var c=A(a);if(c.defaultView&&c.defaultVi", - "ew.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,i)))return c[b", - "]||c.getPropertyValue(b);return\"\"}function rb(a,b){return H(a,b)||(a.", - "currentStyle?a.currentStyle[b]:i)||a.style[b]}\nfunction sb(a){for(var ", - "b=A(a),c=rb(a,\"position\"),d=c==\"fixed\"||c==\"absolute\",a=a.parentN", - "ode;a&&a!=b;a=a.parentNode)if(c=rb(a,\"position\"),d=d&&c==\"static\"&&", - "a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scr", - "ollHeight>a.clientHeight||c==\"fixed\"||c==\"absolute\"||c==\"relative", - "\"))return a;return i}\nfunction tb(a){var b=A(a),c=rb(a,\"position\"),", - "d=new y(0,0),e=(b?b.nodeType==9?b:A(b):document).documentElement;if(a==", - "e)return d;if(a.getBoundingClientRect)a=a.getBoundingClientRect(),b=mb(", - "Ya(b)),d.x=a.left+b.x,d.y=a.top+b.y;else if(b.getBoxObjectFor)a=b.getBo", - "xObjectFor(a),b=b.getBoxObjectFor(e),d.x=a.screenX-b.screenX,d.y=a.scre", - "enY-b.screenY;else{var f=a;do{d.x+=f.offsetLeft;d.y+=f.offsetTop;f!=a&&", - "(d.x+=f.clientLeft||0,d.y+=f.clientTop||0);if(rb(f,\"position\")==\"fix", - "ed\"){d.x+=b.body.scrollLeft;d.y+=\nb.body.scrollTop;break}f=f.offsetPa", - "rent}while(f&&f!=a);c==\"absolute\"&&(d.y-=b.body.offsetTop);for(f=a;(f", - "=sb(f))&&f!=b.body&&f!=e;)d.x-=f.scrollLeft,d.y-=f.scrollTop}return d}f", - "unction ub(a){if(rb(a,\"display\")!=\"none\")return new Xa(a.offsetWidt", - "h,a.offsetHeight);var b=a.style,c=b.display,d=b.visibility,e=b.position", - ";b.visibility=\"hidden\";b.position=\"absolute\";b.display=\"inline\";v", - "ar f=a.offsetWidth,a=a.offsetHeight;b.display=c;b.position=e;b.visibili", - "ty=d;return new Xa(f,a)};function I(a,b){return!!a&&a.nodeType==1&&(!b|", - "|a.tagName.toUpperCase()==b)}function vb(a){return wb(a,!0)&&xb(a)}func", - "tion yb(a){if(I(a,\"OPTION\"))return!0;if(I(a,\"INPUT\"))return a=a.typ", - "e.toLowerCase(),a==\"checkbox\"||a==\"radio\";return!1}function zb(a){y", - "b(a)||g(new u(15,\"Element is not selectable\"));var b=\"selected\",c=a", - ".type&&a.type.toLowerCase();if(\"checkbox\"==c||\"radio\"==c)b=\"checke", - "d\";return!!Ab(a,b)}var Bb={\"class\":\"className\",readonly:\"readOnly", - "\"},Cb=[\"checked\",\"disabled\",\"draggable\",\"hidden\"];\nfunction A", - "b(a,b){var c=Bb[b]||b,d=a[c];if(d===h&&w(Cb,c)>=0)return!1;return d}\nv", - "ar Db=[\"async\",\"autofocus\",\"autoplay\",\"checked\",\"compact\",\"c", - "omplete\",\"controls\",\"declare\",\"defaultchecked\",\"defaultselected", - "\",\"defer\",\"disabled\",\"draggable\",\"ended\",\"formnovalidate\",\"", - "hidden\",\"indeterminate\",\"iscontenteditable\",\"ismap\",\"itemscope", - "\",\"loop\",\"multiple\",\"muted\",\"nohref\",\"noresize\",\"noshade\",", - "\"novalidate\",\"nowrap\",\"open\",\"paused\",\"pubdate\",\"readonly\",", - "\"required\",\"reversed\",\"scoped\",\"seamless\",\"seeking\",\"selecte", - "d\",\"spellcheck\",\"truespeed\",\"willvalidate\"];\nfunction Eb(a){var", - " b;if(8==a.nodeType)return i;b=\"usemap\";if(b==\"style\")return b=ia(a", - ".style.cssText).toLowerCase(),b.charAt(b.length-1)==\";\"?b:b+\";\";a=a", - ".getAttributeNode(b);if(!a)return i;if(w(Db,b)>=0)return\"true\";return", - " a.specified?a.value:i}var Fb=[\"BUTTON\",\"INPUT\",\"OPTGROUP\",\"OPTI", - "ON\",\"SELECT\",\"TEXTAREA\"];\nfunction xb(a){var b=a.tagName.toUpperC", - "ase();if(!(w(Fb,b)>=0))return!0;if(Ab(a,\"disabled\"))return!1;if(a.par", - "entNode&&a.parentNode.nodeType==1&&\"OPTGROUP\"==b||\"OPTION\"==b)retur", - "n xb(a.parentNode);return!0}function Gb(a){for(a=a.parentNode;a&&a.node", - "Type!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a.parentNode;return I(a)?a:i}", - "function Hb(a,b){b=sa(b);return H(a,b)||Ib(a,b)}function Ib(a,b){var c=", - "(a.currentStyle||a.style)[b];if(c!=\"inherit\")return c!==h?c:i;return(", - "c=Gb(a))?Ib(c,b):i}\nfunction Jb(a){if(ca(a.getBBox))return a.getBBox()", - ";return ub(a)}\nfunction wb(a,b){function c(a){if(Hb(a,\"display\")==\"", - "none\")return!1;a=Gb(a);return!a||c(a)}function d(a){var b=Jb(a);if(b.h", - "eight>0&&b.width>0)return!0;return Pa(a.childNodes,function(a){return a", - ".nodeType==z||I(a)&&d(a)})}I(a)||g(Error(\"Argument to isShown must be ", - "of type Element\"));if(I(a,\"TITLE\"))return bb(A(a))==Da;if(I(a,\"OPTI", - "ON\")||I(a,\"OPTGROUP\")){var e=lb(a,function(a){return I(a,\"SELECT\")", - "});return!!e&&wb(e,b)}if(I(a,\"MAP\")){if(!a.name)return!1;e=A(a);e=e.e", - "valuate?D.va('/descendant::*[@usemap = \"#'+\na.name+'\"]',e):jb(e,func", - "tion(b){return I(b)&&Eb(b)==\"#\"+a.name});return!!e&&wb(e,b)}if(I(a,\"", - "AREA\"))return e=lb(a,function(a){return I(a,\"MAP\")}),!!e&&wb(e,b);if", - "(I(a,\"INPUT\")&&a.type.toLowerCase()==\"hidden\")return!1;if(Hb(a,\"vi", - "sibility\")==\"hidden\")return!1;if(!c(a))return!1;if(!b&&Kb(a)==0)retu", - "rn!1;if(!d(a))return!1;return!0}function Kb(a){var b=1,c=Hb(a,\"opacity", - "\");c&&(b=Number(c));(a=Gb(a))&&(b*=Kb(a));return b};function J(a,b,c){", - "var d=A(a),a=bb(d),e=c||{},c=e.clientX||0,f=e.clientY||0,j=e.button||0,", - "k=e.bubble||!0,p=e.related||i,t=!!e.alt,x=!!e.control,O=!!e.shift,e=!!e", - ".meta,d=d.createEvent(\"MouseEvents\");d.initMouseEvent(b,k,!0,a,1,0,0,", - "c,f,x,t,O,e,j,p);return d}function Lb(a,b,c){var d=c||{},c=d.keyCode||0", - ",e=d.charCode||0,f=!!d.alt,j=!!d.ctrl,k=!!d.shift,d=!!d.meta,a=A(a).cre", - "ateEvent(\"Events\");a.initEvent(b,!0,!0);a.keyCode=c;a.altKey=f;a.ctrl", - "Key=j;a.metaKey=d;a.shiftKey=k;a.charCode=e;return a}\nfunction Mb(a,b,", - "c){var d=A(a),e=c||{},c=e.bubble!==!1,f=!!e.alt,j=!!e.control,k=!!e.shi", - "ft,e=!!e.meta;a.fireEvent&&d&&d.createEventObject&&!d.createEvent?(a=d.", - "createEventObject(),a.altKey=f,a.Ba=j,a.metaKey=e,a.shiftKey=k):(a=d.cr", - "eateEvent(\"HTMLEvents\"),a.initEvent(b,c,!0),a.shiftKey=k,a.metaKey=e,", - "a.altKey=f,a.ctrlKey=j);return a}var K={};K.click=J;K.keydown=Lb;K.keyp", - "ress=Lb;K.keyup=Lb;K.mousedown=J;K.mousemove=J;K.mouseout=J;K.mouseover", - "=J;K.mouseup=J;\nfunction Nb(a,b,c){b=(K[b]||Mb)(a,b,c);if(!(\"isTruste", - "d\"in b))b.Fa=!1;return a.dispatchEvent(b)};var Ob={};function L(a,b,c)", - "{da(a)&&(a=a.c);a=new Pb(a,b,c);if(b&&(!(b in Ob)||c))Ob[b]={key:a,shif", - "t:!1},c&&(Ob[c]={key:a,shift:!0})}function Pb(a,b,c){this.code=a;this.n", - "a=b||i;this.Na=c||this.na}L(8);L(9);L(13);L(16);L(17);L(18);L(19);L(20)", - ";L(27);L(32,\" \");L(33);L(34);L(35);L(36);L(37);L(38);L(39);L(40);L(44", - ");L(45);L(46);L(48,\"0\",\")\");L(49,\"1\",\"!\");L(50,\"2\",\"@\");L(5", - "1,\"3\",\"#\");L(52,\"4\",\"$\");L(53,\"5\",\"%\");L(54,\"6\",\"^\");L(", - "55,\"7\",\"&\");L(56,\"8\",\"*\");L(57,\"9\",\"(\");L(65,\"a\",\"A\");L", - "(66,\"b\",\"B\");L(67,\"c\",\"C\");\nL(68,\"d\",\"D\");L(69,\"e\",\"E\"", - ");L(70,\"f\",\"F\");L(71,\"g\",\"G\");L(72,\"h\",\"H\");L(73,\"i\",\"I", - "\");L(74,\"j\",\"J\");L(75,\"k\",\"K\");L(76,\"l\",\"L\");L(77,\"m\",\"", - "M\");L(78,\"n\",\"N\");L(79,\"o\",\"O\");L(80,\"p\",\"P\");L(81,\"q\",", - "\"Q\");L(82,\"r\",\"R\");L(83,\"s\",\"S\");L(84,\"t\",\"T\");L(85,\"u\"", - ",\"U\");L(86,\"v\",\"V\");L(87,\"w\",\"W\");L(88,\"x\",\"X\");L(89,\"y", - "\",\"Y\");L(90,\"z\",\"Z\");L(ua?{e:91,c:91,opera:219}:ta?{e:224,c:91,o", - "pera:17}:{e:0,c:91,opera:i});L(ua?{e:92,c:92,opera:220}:ta?{e:224,c:93,", - "opera:17}:{e:0,c:92,opera:i});\nL(ua?{e:93,c:93,opera:0}:ta?{e:0,c:0,op", - "era:16}:{e:93,c:i,opera:0});L({e:96,c:96,opera:48},\"0\");L({e:97,c:97,", - "opera:49},\"1\");L({e:98,c:98,opera:50},\"2\");L({e:99,c:99,opera:51},", - "\"3\");L({e:100,c:100,opera:52},\"4\");L({e:101,c:101,opera:53},\"5\");", - "L({e:102,c:102,opera:54},\"6\");L({e:103,c:103,opera:55},\"7\");L({e:10", - "4,c:104,opera:56},\"8\");L({e:105,c:105,opera:57},\"9\");L({e:106,c:106", - ",opera:ya?56:42},\"*\");L({e:107,c:107,opera:ya?61:43},\"+\");L({e:109,", - "c:109,opera:ya?109:45},\"-\");L({e:110,c:110,opera:ya?190:78},\".\");\n", - "L({e:111,c:111,opera:ya?191:47},\"/\");L(144);L(112);L(113);L(114);L(11", - "5);L(116);L(117);L(118);L(119);L(120);L(121);L(122);L(123);L({e:107,c:1", - "87,opera:61},\"=\",\"+\");L({e:109,c:189,opera:109},\"-\",\"_\");L(188,", - "\",\",\"<\");L(190,\".\",\">\");L(191,\"/\",\"?\");L(192,\"`\",\"~\");L", - "(219,\"[\",\"{\");L(220,\"\\\\\",\"|\");L(221,\"]\",\"}\");L({e:59,c:18", - "6,opera:59},\";\",\":\");L(222,\"'\",'\"');var Qb,Rb,Sb,Tb,Ub,Vb,Wb;Wb=", - "Vb=Ub=Tb=Sb=Rb=Qb=!1;var M=va();M&&(M.indexOf(\"Firefox\")!=-1?Qb=!0:M.", - "indexOf(\"Camino\")!=-1?Rb=!0:M.indexOf(\"iPhone\")!=-1||M.indexOf(\"iP", - "od\")!=-1?Sb=!0:M.indexOf(\"iPad\")!=-1?Tb=!0:M.indexOf(\"Android\")!=-", - "1?Ub=!0:M.indexOf(\"Chrome\")!=-1?Vb=!0:M.indexOf(\"Safari\")!=-1&&(Wb=", - "!0));var Xb=Rb,Yb=Sb,Zb=Tb,$b=Ub,ac=Vb,bc=Wb;var N;Qb?N=/Firefox\\/([0-", - "9.]+)/:ac?N=/Chrome\\/([0-9.]+)/:bc?N=/Version\\/([0-9.]+)/:Yb||Zb?N=/V", - "ersion\\/(\\S+).*Mobile\\/(\\S+)/:$b?N=/Android\\s+([0-9.]+)(?:.*Versio", - "n\\/([0-9.]+))?/:Xb&&(N=/Camino\\/([0-9.]+)/);N&&N.exec(va());function ", - "cc(){dc&&(this[ea]||(this[ea]=++fa))}var dc=!1;function ec(a){return fc", - "(a||arguments.callee.caller,[])}\nfunction fc(a,b){var c=[];if(w(b,a)>=", - "0)c.push(\"[...circular reference...]\");else if(a&&b.length<50){c.push", - "(gc(a)+\"(\");for(var d=a.arguments,e=0;e0&&c.push(\",", - " \");var f;f=d[e];switch(typeof f){case \"object\":f=f?\"object\":\"nul", - "l\";break;case \"string\":break;case \"number\":f=String(f);break;case ", - "\"boolean\":f=f?\"true\":\"false\";break;case \"function\":f=(f=gc(f))?", - "f:\"[fn]\";break;default:f=typeof f}f.length>40&&(f=f.substr(0,40)+\"..", - ".\");c.push(f)}b.push(a);c.push(\")\\n\");try{c.push(fc(a.caller,b))}ca", - "tch(j){c.push(\"[exception trying to get caller]\\n\")}}else a?\nc.push", - "(\"[...long stack...]\"):c.push(\"[end]\");return c.join(\"\")}function", - " gc(a){a=String(a);if(!hc[a]){var b=/function ([^\\(]+)/.exec(a);hc[a]=", - "b?b[1]:\"[Anonymous]\"}return hc[a]}var hc={};function P(a,b,c,d,e){thi", - "s.reset(a,b,c,d,e)}P.prototype.ua=0;P.prototype.ga=i;P.prototype.fa=i;v", - "ar ic=0;P.prototype.reset=function(a,b,c,d,e){this.ua=typeof e==\"numbe", - "r\"?e:ic++;this.Pa=d||ga();this.K=a;this.sa=b;this.Ha=c;delete this.ga;", - "delete this.fa};P.prototype.la=function(a){this.K=a};function Q(a){this", - ".ta=a}Q.prototype.U=i;Q.prototype.K=i;Q.prototype.X=i;Q.prototype.ja=i;", - "function jc(a,b){this.name=a;this.value=b}jc.prototype.toString=l(\"nam", - "e\");var kc=new jc(\"WARNING\",900),lc=new jc(\"CONFIG\",700);Q.prototy", - "pe.getParent=l(\"U\");Q.prototype.la=function(a){this.K=a};function mc(", - "a){if(a.K)return a.K;if(a.U)return mc(a.U);La(\"Root logger has no leve", - "l set.\");return i}\nQ.prototype.log=function(a,b,c){if(a.value>=mc(thi", - "s).value){a=this.qa(a,b,c);o.console&&o.console.markTimeline&&o.console", - ".markTimeline(\"log:\"+a.sa);for(b=this;b;){var c=b,d=a;if(c.ja)for(var", - " e=0,f=h;f=c.ja[e];e++)f(d);b=b.getParent()}}};\nQ.prototype.qa=functio", - "n(a,b,c){var d=new P(a,String(b),this.ta);if(c){d.ga=c;var e;var f=argu", - "ments.callee.caller;try{var j;var k;c:{for(var p=\"window.location.href", - "\".split(\".\"),t=o,x;x=p.shift();)if(t[x]!=i)t=t[x];else{k=i;break c}k", - "=t}if(q(c))j={message:c,name:\"Unknown error\",lineNumber:\"Not availab", - "le\",fileName:k,stack:\"Not available\"};else{var O,B,p=!1;try{O=c.line", - "Number||c.Ga||\"Not available\"}catch(Y){O=\"Not available\",p=!0}try{B", - "=c.fileName||c.filename||c.sourceURL||k}catch(bd){B=\"Not available\",", - "\np=!0}j=p||!c.lineNumber||!c.fileName||!c.stack?{message:c.message,nam", - "e:c.name,lineNumber:O,fileName:B,stack:c.stack||\"Not available\"}:c}e=", - "\"Message: \"+ja(j.message)+'\\nUrl: '+j.fileName+\"\\nLine: \"+j.lineNumber+\"\\n", - "\\nBrowser stack:\\n\"+ja(j.stack+\"-> \")+\"[end]\\n\\nJS stack traver", - "sal:\\n\"+ja(ec(f)+\"-> \")}catch(Xc){e=\"Exception trying to expose ex", - "ception! You win, we lose. \"+Xc}d.fa=e}return d};var nc={},oc=i;\nfunc", - "tion pc(a){oc||(oc=new Q(\"\"),nc[\"\"]=oc,oc.la(lc));var b;if(!(b=nc[a", - "])){b=new Q(a);var c=a.lastIndexOf(\".\"),d=a.substr(c+1),c=pc(a.substr", - "(0,c));if(!c.X)c.X={};c.X[d]=b;b.U=c;nc[a]=b}return b};function qc(){cc", - ".call(this)}r(qc,cc);pc(\"goog.dom.SavedRange\");r(function(a){cc.call(", - "this);this.wa=\"goog_\"+qa++;this.pa=\"goog_\"+qa++;this.da=Ya(a.$());a", - ".O(this.da.Y(\"SPAN\",{id:this.wa}),this.da.Y(\"SPAN\",{id:this.pa}))},", - "qc);function R(){}function rc(a){if(a.getSelection)return a.getSelectio", - "n();else{var a=a.document,b=a.selection;if(b){try{var c=b.createRange()", - ";if(c.parentElement){if(c.parentElement().document!=a)return i}else if(", - "!c.length||c.item(0).document!=a)return i}catch(d){return i}return b}re", - "turn i}}function sc(a){for(var b=[],c=0,d=a.C();c=0&&this.m(d,", - "1,0)<=0:this.m(d,0,0)>=0&&this.m(d,1,1)<=0}catch(e){g(e)}};wc.prototype", - ".containsNode=function(a,b){return this.u(uc(a),b)};wc.prototype.B=func", - "tion(){return new vc(this.b(),this.j(),this.g(),this.l())};function xc(", - "a){this.a=a}r(xc,wc);n=xc.prototype;n.A=function(){return this.a.common", - "AncestorContainer};n.b=function(){return this.a.startContainer};n.j=fun", - "ction(){return this.a.startOffset};n.g=function(){return this.a.endCont", - "ainer};n.l=function(){return this.a.endOffset};n.m=function(a,b,c){retu", - "rn this.a.compareBoundaryPoints(c==1?b==1?o.Range.START_TO_START:o.Rang", - "e.START_TO_END:b==1?o.Range.END_TO_START:o.Range.END_TO_END,a)};n.isCol", - "lapsed=function(){return this.a.collapsed};\nn.select=function(a){this.", - "V(bb(A(this.b())).getSelection(),a)};n.V=function(a){a.removeAllRanges(", - ");a.addRange(this.a)};n.insertNode=function(a,b){var c=this.a.cloneRang", - "e();c.collapse(b);c.insertNode(a);c.detach();return a};\nn.O=function(a", - ",b){var c=bb(A(this.b()));if(c=(c=rc(c||window))&&yc(c))var d=c.b(),e=c", - ".g(),f=c.j(),j=c.l();var k=this.a.cloneRange(),p=this.a.cloneRange();k.", - "collapse(!1);p.collapse(!0);k.insertNode(b);p.insertNode(a);k.detach();", - "p.detach();if(c){if(d.nodeType==z)for(;f>d.length;){f-=d.length;do d=d.", - "nextSibling;while(d==a||d==b)}if(e.nodeType==z)for(;j>e.length;){j-=e.l", - "ength;do e=e.nextSibling;while(e==a||e==b)}c=new zc;c.F=Ac(d,f,e,j);if(", - "d.tagName==\"BR\")k=d.parentNode,f=w(k.childNodes,d),d=k;if(e.tagName==", - "\n\"BR\")k=e.parentNode,j=w(k.childNodes,e),e=k;c.F?(c.f=e,c.i=j,c.d=d,", - "c.h=f):(c.f=d,c.i=f,c.d=e,c.h=j);c.select()}};n.collapse=function(a){th", - "is.a.collapse(a)};function Bc(a){this.a=a}r(Bc,xc);Bc.prototype.V=funct", - "ion(a,b){var c=b?this.g():this.b(),d=b?this.l():this.j(),e=b?this.b():t", - "his.g(),f=b?this.j():this.l();a.collapse(c,d);(c!=e||d!=f)&&a.extend(e,", - "f)};function Cc(a,b){this.a=a;this.Ca=b}r(Cc,wc);pc(\"goog.dom.browserr", - "ange.IeRange\");function Dc(a){var b=A(a).body.createTextRange();if(a.n", - "odeType==1)b.moveToElementText(a),U(a)&&!a.childNodes.length&&b.collaps", - "e(!1);else{for(var c=0,d=a;d=d.previousSibling;){var e=d.nodeType;if(e=", - "=z)c+=d.length;else if(e==1){b.moveToElementText(d);break}}d||b.moveToE", - "lementText(a.parentNode);b.collapse(!d);c&&b.move(\"character\",c);b.mo", - "veEnd(\"character\",a.length)}return b}n=Cc.prototype;n.L=i;n.f=i;n.d=i", - ";n.i=-1;n.h=-1;\nn.r=function(){this.L=this.f=this.d=i;this.i=this.h=-1", - "};\nn.A=function(){if(!this.L){var a=this.a.text,b=this.a.duplicate(),c", - "=a.replace(/ +$/,\"\");(c=a.length-c.length)&&b.moveEnd(\"character\",-", - "c);c=b.parentElement();b=b.htmlText.replace(/(\\r\\n|\\r|\\n)+/g,\" \")", - ".length;if(this.isCollapsed()&&b>0)return this.L=c;for(;b>c.outerHTML.r", - "eplace(/(\\r\\n|\\r|\\n)+/g,\" \").length;)c=c.parentNode;for(;c.childN", - "odes.length==1&&c.innerText==(c.firstChild.nodeType==z?c.firstChild.nod", - "eValue:c.firstChild.innerText);){if(!U(c.firstChild))break;c=c.firstChi", - "ld}a.length==0&&(c=Ec(this,\nc));this.L=c}return this.L};function Ec(a,", - "b){for(var c=b.childNodes,d=0,e=c.length;d=", - "0&&a.m(j,1,0)<=0:a.a.inRange(j))return Ec(a,f)}}return b}n.b=function()", - "{if(!this.f&&(this.f=Fc(this,1),this.isCollapsed()))this.d=this.f;retur", - "n this.f};n.j=function(){if(this.i<0&&(this.i=Gc(this,1),this.isCollaps", - "ed()))this.h=this.i;return this.i};\nn.g=function(){if(this.isCollapsed", - "())return this.b();if(!this.d)this.d=Fc(this,0);return this.d};n.l=func", - "tion(){if(this.isCollapsed())return this.j();if(this.h<0&&(this.h=Gc(th", - "is,0),this.isCollapsed()))this.i=this.h;return this.h};n.m=function(a,b", - ",c){return this.a.compareEndPoints((b==1?\"Start\":\"End\")+\"To\"+(c==", - "1?\"Start\":\"End\"),a)};\nfunction Fc(a,b,c){c=c||a.A();if(!c||!c.firs", - "tChild)return c;for(var d=b==1,e=0,f=c.childNodes.length;e0)return Fc(a,b,k)}r", - "eturn c}\nfunction Gc(a,b){var c=b==1,d=c?a.b():a.g();if(d.nodeType==1)", - "{for(var d=d.childNodes,e=d.length,f=c?1:-1,j=c?0:e-1;j>=0&&j=0}if(d)return V.W.m.call(this,a,b,c);return this.a.", - "compareBoundaryPoints(c==1?b==1?o.Range.START_TO_START:o.Range.END_TO_S", - "TART:b==1?o.Range.START_TO_END:o.Range.END_TO_END,a)};V.prototype.V=fun", - "ction(a,b){a.removeAllRanges();b?a.setBaseAndExtent(this.g(),this.l(),t", - "his.b(),this.j()):a.setBaseAndExtent(this.b(),this.j(),this.g(),this.l(", - "))};function U(a){var b;a:if(a.nodeType!=1)b=!1;else{switch(a.tagName){", - "case \"APPLET\":case \"AREA\":case \"BASE\":case \"BR\":case \"COL\":ca", - "se \"FRAME\":case \"HR\":case \"IMG\":case \"INPUT\":case \"IFRAME\":ca", - "se \"ISINDEX\":case \"LINK\":case \"NOFRAMES\":case \"NOSCRIPT\":case ", - "\"META\":case \"OBJECT\":case \"PARAM\":case \"SCRIPT\":case \"STYLE\":", - "b=!1;break a}b=!0}return b||a.nodeType==z};function zc(){}r(zc,R);funct", - "ion tc(a,b){var c=new zc;c.I=a;c.F=!!b;return c}n=zc.prototype;n.I=i;n.", - "f=i;n.i=i;n.d=i;n.h=i;n.F=!1;n.aa=m(\"text\");n.S=function(){return W(t", - "his).a};n.r=function(){this.f=this.i=this.d=this.h=i};n.C=m(1);n.z=func", - "tion(){return this};function W(a){var b;if(!(b=a.I)){b=a.b();var c=a.j(", - "),d=a.g(),e=a.l(),f=A(b).createRange();f.setStart(b,c);f.setEnd(d,e);b=", - "a.I=new V(f)}return b}n.A=function(){return W(this).A()};n.b=function()", - "{return this.f||(this.f=W(this).b())};\nn.j=function(){return this.i!=i", - "?this.i:this.i=W(this).j()};n.g=function(){return this.d||(this.d=W(thi", - "s).g())};n.l=function(){return this.h!=i?this.h:this.h=W(this).l()};n.D", - "=l(\"F\");n.u=function(a,b){var c=a.aa();if(c==\"text\")return W(this).", - "u(W(a),b);else if(c==\"control\")return c=Jc(a),(b?Pa:Qa)(c,function(a)", - "{return this.containsNode(a,b)},this);return!1};n.isCollapsed=function(", - "){return W(this).isCollapsed()};n.B=function(){return new vc(this.b(),t", - "his.j(),this.g(),this.l())};n.select=function(){W(this).select(this.F)}", - ";\nn.insertNode=function(a,b){var c=W(this).insertNode(a,b);this.r();re", - "turn c};n.O=function(a,b){W(this).O(a,b);this.r()};n.ba=function(){retu", - "rn new Kc(this)};n.collapse=function(a){a=this.D()?!a:a;this.I&&this.I.", - "collapse(a);a?(this.d=this.f,this.h=this.i):(this.f=this.d,this.i=this.", - "h);this.F=!1};function Kc(a){this.xa=a.D()?a.g():a.b();this.ya=a.D()?a.", - "l():a.j();this.Da=a.D()?a.b():a.g();this.Ea=a.D()?a.j():a.l()}r(Kc,qc);", - "function Lc(){}r(Lc,T);n=Lc.prototype;n.a=i;n.n=i;n.N=i;n.r=function(){", - "this.N=this.n=i};n.aa=m(\"control\");n.S=function(){return this.a||docu", - "ment.body.createControlRange()};n.C=function(){return this.a?this.a.len", - "gth:0};n.z=function(a){a=this.a.item(a);return tc(uc(a),h)};n.A=functio", - "n(){return ib.apply(i,Jc(this))};n.b=function(){return Mc(this)[0]};n.j", - "=m(0);n.g=function(){var a=Mc(this),b=v(a);return Ra(a,function(a){retu", - "rn C(a,b)})};n.l=function(){return this.g().childNodes.length};\nfuncti", - "on Jc(a){if(!a.n&&(a.n=[],a.a))for(var b=0;b1&&this.ra.log(kc,\"getBrowserRangeObject called on MultiRange with m", - "ore than 1 range\",h);return this.s[0]};n.C=function(){return this.s.le", - "ngth};n.z=function(a){this.M[a]||(this.M[a]=tc(new V(this.s[a]),h));ret", - "urn this.M[a]};\nn.A=function(){if(!this.Q){for(var a=[],b=0,c=this.C()", - ";b1){b=new Pc;f", - "or(var c=0,e=a.rangeCount;c0};function Tc(){this.k=Da.document.documentElement;this.", - "Z=this.t=i;this.P=new y(0,0);this.T=!1}var X={click:[0,1,2,i],contextme", - "nu:[i,i,2,i],mouseup:[0,1,2,i],mouseout:[0,1,2,0],mousemove:[0,1,2,0]};", - "X.dblclick=X.click;X.mousedown=X.mouseup;X.mouseover=X.mouseout;functio", - "n Uc(a){var b=yb(a.k),c=b&&zb(a.k);if(Z(a,\"click\")&&b&&vb(a.k)){if(c)", - "{if(I(a.k,\"INPUT\")&&a.k.type&&a.k.type.toLowerCase()==\"radio\")retur", - "n;if(I(a.k,\"OPTION\")&&!lb(a.k,function(a){return I(a,\"SELECT\")}).mu", - "ltiple)return}Vc(a.k,!c)}}\nTc.prototype.move=function(a,b){var c=new y", - ";if(a.nodeType==1)if(a.getBoundingClientRect){var d=a.getBoundingClient", - "Rect();c.x=d.left;c.y=d.top}else{var d=mb(Ya(a)),e=tb(a);c.x=e.x-d.x;c.", - "y=e.y-d.y}else d=ca(a.ha),e=a,a.targetTouches?e=a.targetTouches[0]:d&&a", - ".ha().targetTouches&&(e=a.ha().targetTouches[0]),c.x=e.clientX,c.y=e.cl", - "ientY;this.P.x=b.x+c.x;this.P.y=b.y+c.y;if(a!=this.k)Z(this,\"mouseout", - "\",a),c=this.k,this.k=a,Z(this,\"mouseover\",c);Z(this,\"mousemove\");t", - "his.T=!1};\nfunction Z(a,b,c){if(!vb(a.k))return!1;(\"mouseover\"==b||", - "\"mouseout\"==b)&&!c&&g(new u(12,\"Event type requires related target: ", - "\"+b));var d=a.P.x,e=a.P.y,f;b in X?(f=X[b][a.t===i?3:a.t],f===i&&g(new", - " u(13,\"Event does not permit the specified mouse button.\"))):f=0;retu", - "rn Nb(a.k,b,{clientX:d,clientY:e,button:f,za:!0,alt:!1,Aa:!1,shift:!1,K", - "a:!1,La:c||i})};function Wc(a){vb(a)||g(new u(12,\"Element is not curre", - "ntly interactable and may not be manipulated\"))}function Yc(a){return ", - "I(a,\"SELECT\")}\nfunction Vc(a,b){Wc(a);if(I(a,\"INPUT\")){var c=a.typ", - "e.toLowerCase();if(c==\"checkbox\"||c==\"radio\"){if(a.checked!=b&&(a.t", - "ype==\"radio\"&&!b&&g(new u(12,\"You may not deselect a radio button\")", - "),b!=zb(a)))a.checked=b,Nb(a,\"change\")}else g(new u(15,\"You may not ", - "select an unselectable input element: \"+a.type))}else if(I(a,\"OPTION", - "\")){if(c=lb(a,Yc),!c.multiple&&!b&&g(new u(15,\"You may not deselect a", - "n option within a select that does not support multiple selections.\"))", - ",b!=zb(a))a.selected=b,Nb(c,\"change\")}else g(new u(15,\n\"You may not", - " select an unselectable element: \"+a.tagName))};function Zc(a,b){var c", - "=b;wb(a,!0)||g(new u(11,\"Element is not currently visible and may not ", - "be manipulated\"));var d=A(a).body,e=tb(a),f=tb(d),j,k,p,t;t=H(d,\"bord", - "erLeftWidth\");p=H(d,\"borderRightWidth\");j=H(d,\"borderTopWidth\");k=", - "H(d,\"borderBottomWidth\");j=new qb(parseFloat(j),parseFloat(p),parseFl", - "oat(k),parseFloat(t));k=e.x-f.x-j.left;e=e.y-f.y-j.top;f=d.clientHeight", - "-a.offsetHeight;d.scrollLeft+=Math.min(k,Math.max(k-(d.clientWidth-a.of", - "fsetWidth),0));d.scrollTop+=Math.min(e,Math.max(e-f,0));c||(c=ub(a),\nc", - "=new y(c.width/2,c.height/2));d=new Tc;d.move(a,c);d.t!==i&&g(new u(13,", - "\"Cannot press more then one button or an already pressed button.\"));d", - ".t=0;d.Z=d.k;c=!0;I(d.k,\"OPTION\")||I(d.k,\"SELECT\")||(c=Z(d,\"moused", - "own\"));if(c&&vb(a))c=A(a).activeElement,Wc(a),c=c||A(a).activeElement,", - "a!=c&&(c&&ca(c.blur)&&c.blur(),ca(a.focus)&&a.focus());d.t===i&&g(new u", - "(13,\"Cannot release a button when no button is pressed.\"));Z(d,\"mous", - "eup\");d.t==0&&d.k==d.Z?(Uc(d),d.T&&Z(d,\"dblclick\"),d.T=!d.T):d.t==2&", - "&Z(d,\"contextmenu\");\nd.t=i;d.Z=i}var $c=\"_\".split(\".\"),$=o;!($c[", - "0]in $)&&$.execScript&&$.execScript(\"var \"+$c[0]);for(var ad;$c.lengt", - "h&&(ad=$c.shift());)!$c.length&&Zc!==h?$[ad]=Zc:$=$[ad]?$[ad]:$[ad]={};", - "; return this._.apply(null,arguments);}.apply({navigator:typeof window!", - "='undefined'?window.navigator:null}, arguments);}", - NULL -}; - -const char* const EXECUTE_SCRIPT[] = { - "function(){return function(){var i=void 0,l=null,n,p=this;function q(){", - "}\nfunction r(a){var b=typeof a;if(b==\"object\")if(a){if(a instanceof ", - "Array)return\"array\";else if(a instanceof Object)return b;var c=Object", - ".prototype.toString.call(a);if(c==\"[object Window]\")return\"object\";", - "if(c==\"[object Array]\"||typeof a.length==\"number\"&&typeof a.splice!", - "=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"&&!a.proper", - "tyIsEnumerable(\"splice\"))return\"array\";if(c==\"[object Function]\"|", - "|typeof a.call!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefin", - "ed\"&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else return", - "\"null\";\nelse if(b==\"function\"&&typeof a.call==\"undefined\")return", - "\"object\";return b}function aa(a){var b=r(a);return b==\"array\"||b==", - "\"object\"&&typeof a.length==\"number\"}function t(a){return typeof a==", - "\"string\"}function ba(a){a=r(a);return a==\"object\"||a==\"array\"||a=", - "=\"function\"}function u(a){return a[ca]||(a[ca]=++da)}var ca=\"closure", - "_uid_\"+Math.floor(Math.random()*2147483648).toString(36),da=0,ea=Date.", - "now||function(){return+new Date};\nfunction v(a,b){function c(){}c.prot", - "otype=b.prototype;a.u=b.prototype;a.prototype=new c};function fa(a){for", - "(var b=1;bb)return 1;return 0};var ia=p.navigator,ja", - "=(ia&&ia.platform||\"\").indexOf(\"Mac\")!=-1;var ka=window;function x(", - "a){this.stack=Error().stack||\"\";if(a)this.message=String(a)}v(x,Error", - ");x.prototype.name=\"CustomError\";function la(a,b){var c={},e;for(e in", - " a)b.call(i,a[e],e,a)&&(c[e]=a[e]);return c}function ma(a,b){var c={},e", - ";for(e in a)c[e]=b.call(i,a[e],e,a);return c}function na(a,b){for(var c", - " in a)if(b.call(i,a[c],c,a))return c};function y(a,b){x.call(this,b);th", - "is.code=a;this.name=z[a]||z[13]}v(y,x);\nvar z,oa={NoSuchElementError:7", - ",NoSuchFrameError:8,UnknownCommandError:9,StaleElementReferenceError:10", - ",ElementNotVisibleError:11,InvalidElementStateError:12,UnknownError:13,", - "ElementNotSelectableError:15,XPathLookupError:19,NoSuchWindowError:23,I", - "nvalidCookieDomainError:24,UnableToSetCookieError:25,ModalDialogOpenedE", - "rror:26,NoModalDialogOpenError:27,ScriptTimeoutError:28,InvalidSelector", - "Error:32,SqlDatabaseError:33,MoveTargetOutOfBoundsError:34},pa={},A;for", - "(A in oa)pa[oa[A]]=A;z=pa;\ny.prototype.toString=function(){return\"[\"", - "+this.name+\"] \"+this.message};function B(a,b){b.unshift(a);x.call(thi", - "s,fa.apply(l,b));b.shift();this.B=a}v(B,x);B.prototype.name=\"Assertion", - "Error\";function qa(a,b){if(!a){var c=Array.prototype.slice.call(argume", - "nts,2),e=\"Assertion failed\";if(b){e+=\": \"+b;var f=c}throw new B(\"", - "\"+e,f||[]);}};var ra=Array.prototype;function sa(a,b){if(t(a)){if(!t(b", - ")||b.length!=1)return-1;return a.indexOf(b,0)}for(var c=0;cthis.r)throw Error(\"[goog", - ".structs.SimplePool] Initial cannot be greater than max\");for(var c=0;", - "c=0),h;ya=function(a){", - "h=a};if(d){L=function(a){K(j,a)};M=function(){return k.getObject()};N=f", - "unction(a){K(k,a)};O=function(){K(g,c())};P=function(a){K(o,a)};Q=funct", - "ion(){return m.getObject()};R=function(a){K(m,a)};var j=new I(0,600);j.", - "a=a;var k=new I(0,600);k.a=b;var g=new I(0,600);g.a=c;var o=new I(0,600", - ");\no.a=e;var m=new I(0,600);m.a=f}else L=q,M=b,P=O=N=q,Q=f,R=q})();var", - " S={},T={},U={},V={};function za(a,b,c,e){if(!e.h&&e.s){for(var f=0,d=0", - ";f=0&&(qa", - "(g.length!=l),ra.splice.call(g,o,1));g.length==0&&delete U[d]}f.f=!0;j.", - "s=!0;za(h,k,d,j);delete S[e]}}}return c}\nya(function(a,b){if(!S[a])ret", - "urn!0;var c=S[a],e=c.type,f=T;if(!(e in f))return!0;var f=f[e],d,h;D===", - "i&&(D=!1);if(D){var j;if(!(j=b))a:{j=\"window.event\".split(\".\");for(", - "var k=p;d=j.shift();)if(k[d]!=l)k=k[d];else{j=l;break a}j=k}d=j;j=!0 in", - " f;k=!1 in f;if(j){if(d.keyCode<0||d.returnValue!=i)return!0;a:{var g=!", - "1;if(d.keyCode==0)try{d.keyCode=-1;break a}catch(o){g=!0}if(g||d.return", - "Value==i)d.returnValue=!0}}g=Q();g.i(d,this);d=!0;try{if(j){for(var m=M", - "(),J=g.currentTarget;J;J=J.parentNode)m.push(J);h=\nf[!0];h.e=h.c;for(v", - "ar s=m.length-1;!g.l&&s>=0&&h.e;s--)g.currentTarget=m[s],d&=Ba(h,m[s],e", - ",!0,g);if(k){h=f[!1];h.e=h.c;for(s=0;!g.l&&s=0&&a.indexOf(\"", - " \",b)==b}function aa(a){for(var b=1;bb)return 1;return 0}var s={};func", - "tion ba(a){return s[a]||(s[a]=String(a).replace(/\\-([a-z])/g,function(", - "a,c){return c.toUpperCase()}))};var ca,da=\"\",ea=/WebKit\\/(\\S+)/.exe", - "c(l.navigator?l.navigator.userAgent:j);ca=da=ea?ea[1]:\"\";var fa={};va", - "r ga=window;function t(a){this.stack=Error().stack||\"\";if(a)this.mess", - "age=String(a)}o(t,Error);t.prototype.name=\"CustomError\";function ha(a", - ",b){b.unshift(a);t.call(this,aa.apply(j,b));b.shift();this.r=a}o(ha,t);", - "ha.prototype.name=\"AssertionError\";function u(a,b){if(n(a)){if(!n(b)|", - "|b.length!=1)return-1;return a.indexOf(b,0)}for(var c=0;c=0}if(d&&(b||c))c=a.querySelec", - "torAll(b+(c?\".\"+c:\"\"));else if(c&&a.getElementsByClassName)if(a=a.g", - "etElementsByClassName(c),b){d={};for(g=e=0;h=a[g];g++)b==h.nodeName&&(d", - "[e++]=h);d.length=e;c=d}else c=a;else if(a=a.getElementsByTagName(b||\"", - "*\"),c){d={};for(g=e=0;h=a[g];g++)b=h.className,typeof b.split==\"funct", - "ion\"&&u(b.split(/\\s+/),c)>=0&&(d[e++]=h);d.length=e;c=d}else c=a;retu", - "rn c}\nA.prototype.contains=C;var H={g:function(a){return!(!a.querySele", - "ctorAll||!a.querySelector)}};H.b=function(a,b){a||f(Error(\"No class na", - "me specified\"));a=q(a);a.split(/\\s+/).length>1&&f(Error(\"Compound cl", - "ass names not permitted\"));if(H.g(b))return b.querySelector(\".\"+a.re", - "place(/\\./g,\"\\\\.\"))||j;var c=D(z(b),\"*\",a,b);return c.length?c[0", - "]:j};\nH.e=function(a,b){a||f(Error(\"No class name specified\"));a=q(a", - ");a.split(/\\s+/).length>1&&f(Error(\"Compound class names not permitte", - "d\"));if(H.g(b))return b.querySelectorAll(\".\"+a.replace(/\\./g,\"", - "\\\\.\"));return D(z(b),\"*\",a,b)};var I={};I.b=function(a,b){a||f(Err", - "or(\"No selector specified\"));I.h(a)&&f(Error(\"Compound selectors not", - " permitted\"));var a=q(a),c=b.querySelector(a);return c&&c.nodeType==1?", - "c:j};I.e=function(a,b){a||f(Error(\"No selector specified\"));I.h(a)&&f", - "(Error(\"Compound selectors not permitted\"));a=q(a);return b.querySele", - "ctorAll(a)};I.h=function(a){return a.split(/(,)(?=(?:[^']|'[^']*')*$)/)", - ".length>1&&a.split(/(,)(?=(?:[^\"]|\"[^\"]*\")*$)/).length>1};function ", - "J(a,b){t.call(this,b);this.code=a;this.name=K[a]||K[13]}o(J,t);\nvar K,", - "pa={NoSuchElementError:7,NoSuchFrameError:8,UnknownCommandError:9,Stale", - "ElementReferenceError:10,ElementNotVisibleError:11,InvalidElementStateE", - "rror:12,UnknownError:13,ElementNotSelectableError:15,XPathLookupError:1", - "9,NoSuchWindowError:23,InvalidCookieDomainError:24,UnableToSetCookieErr", - "or:25,ModalDialogOpenedError:26,NoModalDialogOpenError:27,ScriptTimeout", - "Error:28,InvalidSelectorError:32,SqlDatabaseError:33,MoveTargetOutOfBou", - "ndsError:34},qa={},L;for(L in pa)qa[pa[L]]=L;K=qa;\nJ.prototype.toStrin", - "g=function(){return\"[\"+this.name+\"] \"+this.message};var M={};M.o=fu", - "nction(){var a={s:\"http://www.w3.org/2000/svg\"};return function(b){re", - "turn a[b]||j}}();M.j=function(a,b,c){var d=B(a);if(!d.implementation.ha", - "sFeature(\"XPath\",\"3.0\"))return j;var e=d.createNSResolver?d.createN", - "SResolver(d.documentElement):M.o;return d.evaluate(b,a,e,c,j)};M.k=func", - "tion(a){return\"NS_ERROR_ILLEGAL_VALUE\"!=a.name};\nM.b=function(a,b){v", - "ar c=function(b,c){var g=B(b);try{if(b.selectSingleNode)return g.setPro", - "perty&&g.setProperty(\"SelectionLanguage\",\"XPath\"),b.selectSingleNod", - "e(c);var h=M.j(b,c,9);return h?h.singleNodeValue:j}catch(k){return M.k(", - "k)&&f(new J(32,\"Unable to locate an element with the xpath expression ", - "\"+a+\" because of the following error:\\n\"+k)),j}}(b,a);if(!c)return ", - "j;c.nodeType!=1&&f(new J(32,'The result of the xpath expression \"'+a+'", - "\" is: '+c+\". It should be an element.\"));return c};\nM.e=function(a,", - "b){var c=function(a,b){var c=B(a),h;try{if(a.selectNodes)return c.setPr", - "operty&&c.setProperty(\"SelectionLanguage\",\"XPath\"),a.selectNodes(b)", - ";h=M.j(a,b,7)}catch(k){M.k(k)&&f(new J(32,\"Unable to locate elements w", - "ith the xpath expression \"+b+\" because of the following error:\\n\"+k", - "))}c=[];if(h)for(var v=h.snapshotLength,E=0;E=0;c--)a.parentNode&&a.parentNode.insertB", - "efore(b[c],a.nextSibling);a&&a.parentNode&&a.parentNode.removeChild(a)}", - ";function Q(a,b,c,d){O.call(this,a,b,c,j,d)}o(Q,O);Q.prototype.next=fun", - "ction(){do Q.q.next.call(this);while(this.d==-1);return this.c};functio", - "n sa(a,b){var c=B(a);if(c.defaultView&&c.defaultView.getComputedStyle&&", - "(c=c.defaultView.getComputedStyle(a,j)))return c[b]||c.getPropertyValue", - "(b);return\"\"};function R(a,b){return!!a&&a.nodeType==1&&(!b||a.tagNam", - "e.toUpperCase()==b)}\nvar ta=[\"async\",\"autofocus\",\"autoplay\",\"ch", - "ecked\",\"compact\",\"complete\",\"controls\",\"declare\",\"defaultchec", - "ked\",\"defaultselected\",\"defer\",\"disabled\",\"draggable\",\"ended", - "\",\"formnovalidate\",\"hidden\",\"indeterminate\",\"iscontenteditable", - "\",\"ismap\",\"itemscope\",\"loop\",\"multiple\",\"muted\",\"nohref\",", - "\"noresize\",\"noshade\",\"novalidate\",\"nowrap\",\"open\",\"paused\",", - "\"pubdate\",\"readonly\",\"required\",\"reversed\",\"scoped\",\"seamles", - "s\",\"seeking\",\"selected\",\"spellcheck\",\"truespeed\",\"willvalidat", - "e\"];\nfunction S(a,b){if(8==a.nodeType)return j;b=b.toLowerCase();if(b", - "==\"style\"){var c=q(a.style.cssText).toLowerCase();return c.charAt(c.l", - "ength-1)==\";\"?c:c+\";\"}c=a.getAttributeNode(b);if(!c)return j;if(u(t", - "a,b)>=0)return\"true\";return c.specified?c.value:j}function T(a){for(a", - "=a.parentNode;a&&a.nodeType!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a.pare", - "ntNode;return R(a)?a:j}function U(a,b){b=ba(b);return sa(a,b)||ua(a,b)}", - "\nfunction ua(a,b){var c=(a.currentStyle||a.style)[b];if(c!=\"inherit\"", - ")return c!==i?c:j;return(c=T(a))?ua(c,b):j}\nfunction va(a){if(m(a.getB", - "Box)==\"function\")return a.getBBox();var b;if((sa(a,\"display\")||(a.c", - "urrentStyle?a.currentStyle.display:j)||a.style.display)!=\"none\")b=new", - " y(a.offsetWidth,a.offsetHeight);else{b=a.style;var c=b.display,d=b.vis", - "ibility,e=b.position;b.visibility=\"hidden\";b.position=\"absolute\";b.", - "display=\"inline\";var g=a.offsetWidth,a=a.offsetHeight;b.display=c;b.p", - "osition=e;b.visibility=d;b=new y(g,a)}return b}\nfunction V(a,b){functi", - "on c(a){if(U(a,\"display\")==\"none\")return!1;a=T(a);return!a||c(a)}fu", - "nction d(a){var b=va(a);if(b.height>0&&b.width>0)return!0;return ja(a.c", - "hildNodes,function(a){return a.nodeType==la||R(a)&&d(a)})}R(a)||f(Error", - "(\"Argument to isShown must be of type Element\"));if(R(a,\"TITLE\"))re", - "turn(B(a)?B(a).parentWindow||B(a).defaultView:window)==ga;if(R(a,\"OPTI", - "ON\")||R(a,\"OPTGROUP\")){var e=oa(a,function(a){return R(a,\"SELECT\")", - "});return!!e&&V(e,b)}if(R(a,\"MAP\")){if(!a.name)return!1;e=B(a);e=e.ev", - "aluate?\nM.b('/descendant::*[@usemap = \"#'+a.name+'\"]',e):ma(e,functi", - "on(b){return R(b)&&S(b,\"usemap\")==\"#\"+a.name});return!!e&&V(e,b)}if", - "(R(a,\"AREA\"))return e=oa(a,function(a){return R(a,\"MAP\")}),!!e&&V(e", - ",b);if(R(a,\"INPUT\")&&a.type.toLowerCase()==\"hidden\")return!1;if(U(a", - ",\"visibility\")==\"hidden\")return!1;if(!c(a))return!1;if(!b&&wa(a)==0", - ")return!1;if(!d(a))return!1;return!0}function xa(a){return a.replace(/^", - "[^\\S\\xa0]+|[^\\S\\xa0]+$/g,\"\")}\nfunction ya(a){var b=[];za(a,b);fo", - "r(var c=b,a=c.length,b=Array(a),c=n(c)?c.split(\"\"):c,d=0;d=0);e&&!/^[\\s\\xa0]*$/.test(b[b.leng", - "th-1]||\"\")&&b.push(\"\");var g=V(a),h=j,k=j;g&&(h=U(a,\"white-space\"", - "),k=U(a,\"text-transform\"));ia(a.childNodes,function(a){a.nodeType==la", - "&&g?Da(a,b,h,k):R(a)&&za(a,b)});var v=b[b.length-1]||\"\";if((c||d==\"t", - "able-cell\")&&v&&!p(v))b[b.length-1]+=\" \";e&&!/^[\\s\\xa0]*$/.test(v)", - "&&b.push(\"\")}}\nvar Ca=[\"inline\",\"inline-block\",\"inline-table\",", - "\"none\",\"table-cell\",\"table-column\",\"table-column-group\"];\nfunc", - "tion Da(a,b,c,d){a=a.nodeValue.replace(/\\u200b/g,\"\");a=a.replace(/(", - "\\r\\n|\\r|\\n)/g,\"\\n\");if(c==\"normal\"||c==\"nowrap\")a=a.replace(", - "/\\n/g,\" \");a=c==\"pre\"||c==\"pre-wrap\"?a.replace(/\\f\\t\\v\\u2028", - "\\u2029/,\" \"):a.replace(/[\\ \\f\\t\\v\\u2028\\u2029]+/g,\" \");d==\"", - "capitalize\"?a=a.replace(/(^|\\s)(\\S)/g,function(a,b,c){return b+c.toU", - "pperCase()}):d==\"uppercase\"?a=a.toUpperCase():d==\"lowercase\"&&(a=a.", - "toLowerCase());d=b.pop()||\"\";p(d)&&a.lastIndexOf(\" \",0)==0&&(a=a.su", - "bstr(1));c==\"pre\"||c==\"pre-wrap\"?b.push(\"\\u2063\"+\nd+a+\"\\u2063", - "\"):b.push(d+a)}function wa(a){var b=1,c=U(a,\"opacity\");c&&(b=Number(", - "c));(a=T(a))&&(b*=wa(a));return b};var W={},X={};W.m=function(a,b,c){b=", - "D(z(b),\"A\",j,b);return x(b,function(b){b=ya(b);return c&&b.indexOf(a)", - "!=-1||b==a})};W.l=function(a,b,c){b=D(z(b),\"A\",j,b);return w(b,functi", - "on(b){b=ya(b);return c&&b.indexOf(a)!=-1||b==a})};W.b=function(a,b){ret", - "urn W.m(a,b,!1)};W.e=function(a,b){return W.l(a,b,!1)};X.b=function(a,b", - "){return W.m(a,b,!0)};X.e=function(a,b){return W.l(a,b,!0)};var Ea={b:f", - "unction(a,b){return b.getElementsByTagName(a)[0]||j},e:function(a,b){re", - "turn b.getElementsByTagName(a)}};var Fa={className:H,\"class name\":H,c", - "ss:I,\"css selector\":I,id:{b:function(a,b){var c=z(b),d=n(a)?c.i.getEl", - "ementById(a):a;if(!d)return j;if(S(d,\"id\")==a&&C(b,d))return d;c=D(c,", - "\"*\");return x(c,function(c){return S(c,\"id\")==a&&C(b,c)})},e:functi", - "on(a,b){var c=D(z(b),\"*\",j,b);return w(c,function(b){return S(b,\"id", - "\")==a})}},linkText:W,\"link text\":W,name:{b:function(a,b){var c=D(z(b", - "),\"*\",j,b);return x(c,function(b){return S(b,\"name\")==a})},e:functi", - "on(a,b){var c=D(z(b),\"*\",j,b);return w(c,function(b){return S(b,\n\"n", - "ame\")==a})}},partialLinkText:X,\"partial link text\":X,tagName:Ea,\"ta", - "g name\":Ea,xpath:M};function Ga(a,b){var c;a:{for(c in a)if(a.hasOwnPr", - "operty(c))break a;c=j}if(c){var d=Fa[c];if(d&&m(d.b)==\"function\")retu", - "rn d.b(a[c],b||ga.document)}f(Error(\"Unsupported locator strategy: \"+", - "c))}var Y=\"_\".split(\".\"),Z=l;!(Y[0]in Z)&&Z.execScript&&Z.execScrip", - "t(\"var \"+Y[0]);for(var $;Y.length&&($=Y.shift());)!Y.length&&Ga!==i?Z", - "[$]=Ga:Z=Z[$]?Z[$]:Z[$]={};; return this._.apply(null,arguments);}.appl", - "y({navigator:typeof window!='undefined'?window.navigator:null}, argumen", - "ts);}", - NULL -}; - -const char* const FIND_ELEMENTS[] = { - "function(){return function(){function f(a){throw a;}var i=void 0,j=null", - ",l=this;\nfunction m(a){var b=typeof a;if(b==\"object\")if(a){if(a inst", - "anceof Array)return\"array\";else if(a instanceof Object)return b;var c", - "=Object.prototype.toString.call(a);if(c==\"[object Window]\")return\"ob", - "ject\";if(c==\"[object Array]\"||typeof a.length==\"number\"&&typeof a.", - "splice!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"undefined\"&&!a", - ".propertyIsEnumerable(\"splice\"))return\"array\";if(c==\"[object Funct", - "ion]\"||typeof a.call!=\"undefined\"&&typeof a.propertyIsEnumerable!=\"", - "undefined\"&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else ", - "return\"null\";\nelse if(b==\"function\"&&typeof a.call==\"undefined\")", - "return\"object\";return b}function n(a){return typeof a==\"string\"}fun", - "ction o(a,b){function c(){}c.prototype=b.prototype;a.q=b.prototype;a.pr", - "ototype=new c};function p(a){var b=a.length-1;return b>=0&&a.indexOf(\"", - " \",b)==b}function aa(a){for(var b=1;bb)return 1;return 0}var s={};func", - "tion ba(a){return s[a]||(s[a]=String(a).replace(/\\-([a-z])/g,function(", - "a,c){return c.toUpperCase()}))};var ca,da=\"\",ea=/WebKit\\/(\\S+)/.exe", - "c(l.navigator?l.navigator.userAgent:j);ca=da=ea?ea[1]:\"\";var fa={};va", - "r ga=window;function t(a){this.stack=Error().stack||\"\";if(a)this.mess", - "age=String(a)}o(t,Error);t.prototype.name=\"CustomError\";function ha(a", - ",b){b.unshift(a);t.call(this,aa.apply(j,b));b.shift();this.r=a}o(ha,t);", - "ha.prototype.name=\"AssertionError\";function u(a,b){if(n(a)){if(!n(b)|", - "|b.length!=1)return-1;return a.indexOf(b,0)}for(var c=0;c=0}if(d&&(b||c))c=a.querySelec", - "torAll(b+(c?\".\"+c:\"\"));else if(c&&a.getElementsByClassName)if(a=a.g", - "etElementsByClassName(c),b){d={};for(g=e=0;h=a[g];g++)b==h.nodeName&&(d", - "[e++]=h);d.length=e;c=d}else c=a;else if(a=a.getElementsByTagName(b||\"", - "*\"),c){d={};for(g=e=0;h=a[g];g++)b=h.className,typeof b.split==\"funct", - "ion\"&&u(b.split(/\\s+/),c)>=0&&(d[e++]=h);d.length=e;c=d}else c=a;retu", - "rn c}\nA.prototype.contains=C;var H={g:function(a){return!(!a.querySele", - "ctorAll||!a.querySelector)}};H.d=function(a,b){a||f(Error(\"No class na", - "me specified\"));a=q(a);a.split(/\\s+/).length>1&&f(Error(\"Compound cl", - "ass names not permitted\"));if(H.g(b))return b.querySelector(\".\"+a.re", - "place(/\\./g,\"\\\\.\"))||j;var c=D(z(b),\"*\",a,b);return c.length?c[0", - "]:j};\nH.b=function(a,b){a||f(Error(\"No class name specified\"));a=q(a", - ");a.split(/\\s+/).length>1&&f(Error(\"Compound class names not permitte", - "d\"));if(H.g(b))return b.querySelectorAll(\".\"+a.replace(/\\./g,\"", - "\\\\.\"));return D(z(b),\"*\",a,b)};var I={};I.d=function(a,b){a||f(Err", - "or(\"No selector specified\"));I.h(a)&&f(Error(\"Compound selectors not", - " permitted\"));var a=q(a),c=b.querySelector(a);return c&&c.nodeType==1?", - "c:j};I.b=function(a,b){a||f(Error(\"No selector specified\"));I.h(a)&&f", - "(Error(\"Compound selectors not permitted\"));a=q(a);return b.querySele", - "ctorAll(a)};I.h=function(a){return a.split(/(,)(?=(?:[^']|'[^']*')*$)/)", - ".length>1&&a.split(/(,)(?=(?:[^\"]|\"[^\"]*\")*$)/).length>1};function ", - "J(a,b){t.call(this,b);this.code=a;this.name=K[a]||K[13]}o(J,t);\nvar K,", - "pa={NoSuchElementError:7,NoSuchFrameError:8,UnknownCommandError:9,Stale", - "ElementReferenceError:10,ElementNotVisibleError:11,InvalidElementStateE", - "rror:12,UnknownError:13,ElementNotSelectableError:15,XPathLookupError:1", - "9,NoSuchWindowError:23,InvalidCookieDomainError:24,UnableToSetCookieErr", - "or:25,ModalDialogOpenedError:26,NoModalDialogOpenError:27,ScriptTimeout", - "Error:28,InvalidSelectorError:32,SqlDatabaseError:33,MoveTargetOutOfBou", - "ndsError:34},qa={},L;for(L in pa)qa[pa[L]]=L;K=qa;\nJ.prototype.toStrin", - "g=function(){return\"[\"+this.name+\"] \"+this.message};var M={};M.o=fu", - "nction(){var a={s:\"http://www.w3.org/2000/svg\"};return function(b){re", - "turn a[b]||j}}();M.j=function(a,b,c){var d=B(a);if(!d.implementation.ha", - "sFeature(\"XPath\",\"3.0\"))return j;var e=d.createNSResolver?d.createN", - "SResolver(d.documentElement):M.o;return d.evaluate(b,a,e,c,j)};M.k=func", - "tion(a){return\"NS_ERROR_ILLEGAL_VALUE\"!=a.name};\nM.d=function(a,b){v", - "ar c=function(b,c){var g=B(b);try{if(b.selectSingleNode)return g.setPro", - "perty&&g.setProperty(\"SelectionLanguage\",\"XPath\"),b.selectSingleNod", - "e(c);var h=M.j(b,c,9);return h?h.singleNodeValue:j}catch(k){return M.k(", - "k)&&f(new J(32,\"Unable to locate an element with the xpath expression ", - "\"+a+\" because of the following error:\\n\"+k)),j}}(b,a);if(!c)return ", - "j;c.nodeType!=1&&f(new J(32,'The result of the xpath expression \"'+a+'", - "\" is: '+c+\". It should be an element.\"));return c};\nM.b=function(a,", - "b){var c=function(a,b){var c=B(a),h;try{if(a.selectNodes)return c.setPr", - "operty&&c.setProperty(\"SelectionLanguage\",\"XPath\"),a.selectNodes(b)", - ";h=M.j(a,b,7)}catch(k){M.k(k)&&f(new J(32,\"Unable to locate elements w", - "ith the xpath expression \"+b+\" because of the following error:\\n\"+k", - "))}c=[];if(h)for(var v=h.snapshotLength,E=0;E=0;c--)a.parentNode&&a.parentNode.insertB", - "efore(b[c],a.nextSibling);a&&a.parentNode&&a.parentNode.removeChild(a)}", - ";function Q(a,b,c,d){O.call(this,a,b,c,j,d)}o(Q,O);Q.prototype.next=fun", - "ction(){do Q.q.next.call(this);while(this.e==-1);return this.c};functio", - "n sa(a,b){var c=B(a);if(c.defaultView&&c.defaultView.getComputedStyle&&", - "(c=c.defaultView.getComputedStyle(a,j)))return c[b]||c.getPropertyValue", - "(b);return\"\"};function R(a,b){return!!a&&a.nodeType==1&&(!b||a.tagNam", - "e.toUpperCase()==b)}\nvar ta=[\"async\",\"autofocus\",\"autoplay\",\"ch", - "ecked\",\"compact\",\"complete\",\"controls\",\"declare\",\"defaultchec", - "ked\",\"defaultselected\",\"defer\",\"disabled\",\"draggable\",\"ended", - "\",\"formnovalidate\",\"hidden\",\"indeterminate\",\"iscontenteditable", - "\",\"ismap\",\"itemscope\",\"loop\",\"multiple\",\"muted\",\"nohref\",", - "\"noresize\",\"noshade\",\"novalidate\",\"nowrap\",\"open\",\"paused\",", - "\"pubdate\",\"readonly\",\"required\",\"reversed\",\"scoped\",\"seamles", - "s\",\"seeking\",\"selected\",\"spellcheck\",\"truespeed\",\"willvalidat", - "e\"];\nfunction S(a,b){if(8==a.nodeType)return j;b=b.toLowerCase();if(b", - "==\"style\"){var c=q(a.style.cssText).toLowerCase();return c.charAt(c.l", - "ength-1)==\";\"?c:c+\";\"}c=a.getAttributeNode(b);if(!c)return j;if(u(t", - "a,b)>=0)return\"true\";return c.specified?c.value:j}function T(a){for(a", - "=a.parentNode;a&&a.nodeType!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a.pare", - "ntNode;return R(a)?a:j}function U(a,b){b=ba(b);return sa(a,b)||ua(a,b)}", - "\nfunction ua(a,b){var c=(a.currentStyle||a.style)[b];if(c!=\"inherit\"", - ")return c!==i?c:j;return(c=T(a))?ua(c,b):j}\nfunction va(a){if(m(a.getB", - "Box)==\"function\")return a.getBBox();var b;if((sa(a,\"display\")||(a.c", - "urrentStyle?a.currentStyle.display:j)||a.style.display)!=\"none\")b=new", - " y(a.offsetWidth,a.offsetHeight);else{b=a.style;var c=b.display,d=b.vis", - "ibility,e=b.position;b.visibility=\"hidden\";b.position=\"absolute\";b.", - "display=\"inline\";var g=a.offsetWidth,a=a.offsetHeight;b.display=c;b.p", - "osition=e;b.visibility=d;b=new y(g,a)}return b}\nfunction V(a,b){functi", - "on c(a){if(U(a,\"display\")==\"none\")return!1;a=T(a);return!a||c(a)}fu", - "nction d(a){var b=va(a);if(b.height>0&&b.width>0)return!0;return ja(a.c", - "hildNodes,function(a){return a.nodeType==la||R(a)&&d(a)})}R(a)||f(Error", - "(\"Argument to isShown must be of type Element\"));if(R(a,\"TITLE\"))re", - "turn(B(a)?B(a).parentWindow||B(a).defaultView:window)==ga;if(R(a,\"OPTI", - "ON\")||R(a,\"OPTGROUP\")){var e=oa(a,function(a){return R(a,\"SELECT\")", - "});return!!e&&V(e,b)}if(R(a,\"MAP\")){if(!a.name)return!1;e=B(a);e=e.ev", - "aluate?\nM.d('/descendant::*[@usemap = \"#'+a.name+'\"]',e):ma(e,functi", - "on(b){return R(b)&&S(b,\"usemap\")==\"#\"+a.name});return!!e&&V(e,b)}if", - "(R(a,\"AREA\"))return e=oa(a,function(a){return R(a,\"MAP\")}),!!e&&V(e", - ",b);if(R(a,\"INPUT\")&&a.type.toLowerCase()==\"hidden\")return!1;if(U(a", - ",\"visibility\")==\"hidden\")return!1;if(!c(a))return!1;if(!b&&wa(a)==0", - ")return!1;if(!d(a))return!1;return!0}function xa(a){return a.replace(/^", - "[^\\S\\xa0]+|[^\\S\\xa0]+$/g,\"\")}\nfunction ya(a){var b=[];za(a,b);fo", - "r(var c=b,a=c.length,b=Array(a),c=n(c)?c.split(\"\"):c,d=0;d=0);e&&!/^[\\s\\xa0]*$/.test(b[b.leng", - "th-1]||\"\")&&b.push(\"\");var g=V(a),h=j,k=j;g&&(h=U(a,\"white-space\"", - "),k=U(a,\"text-transform\"));ia(a.childNodes,function(a){a.nodeType==la", - "&&g?Da(a,b,h,k):R(a)&&za(a,b)});var v=b[b.length-1]||\"\";if((c||d==\"t", - "able-cell\")&&v&&!p(v))b[b.length-1]+=\" \";e&&!/^[\\s\\xa0]*$/.test(v)", - "&&b.push(\"\")}}\nvar Ca=[\"inline\",\"inline-block\",\"inline-table\",", - "\"none\",\"table-cell\",\"table-column\",\"table-column-group\"];\nfunc", - "tion Da(a,b,c,d){a=a.nodeValue.replace(/\\u200b/g,\"\");a=a.replace(/(", - "\\r\\n|\\r|\\n)/g,\"\\n\");if(c==\"normal\"||c==\"nowrap\")a=a.replace(", - "/\\n/g,\" \");a=c==\"pre\"||c==\"pre-wrap\"?a.replace(/\\f\\t\\v\\u2028", - "\\u2029/,\" \"):a.replace(/[\\ \\f\\t\\v\\u2028\\u2029]+/g,\" \");d==\"", - "capitalize\"?a=a.replace(/(^|\\s)(\\S)/g,function(a,b,c){return b+c.toU", - "pperCase()}):d==\"uppercase\"?a=a.toUpperCase():d==\"lowercase\"&&(a=a.", - "toLowerCase());d=b.pop()||\"\";p(d)&&a.lastIndexOf(\" \",0)==0&&(a=a.su", - "bstr(1));c==\"pre\"||c==\"pre-wrap\"?b.push(\"\\u2063\"+\nd+a+\"\\u2063", - "\"):b.push(d+a)}function wa(a){var b=1,c=U(a,\"opacity\");c&&(b=Number(", - "c));(a=T(a))&&(b*=wa(a));return b};var W={},X={};W.m=function(a,b,c){b=", - "D(z(b),\"A\",j,b);return x(b,function(b){b=ya(b);return c&&b.indexOf(a)", - "!=-1||b==a})};W.l=function(a,b,c){b=D(z(b),\"A\",j,b);return w(b,functi", - "on(b){b=ya(b);return c&&b.indexOf(a)!=-1||b==a})};W.d=function(a,b){ret", - "urn W.m(a,b,!1)};W.b=function(a,b){return W.l(a,b,!1)};X.d=function(a,b", - "){return W.m(a,b,!0)};X.b=function(a,b){return W.l(a,b,!0)};var Ea={d:f", - "unction(a,b){return b.getElementsByTagName(a)[0]||j},b:function(a,b){re", - "turn b.getElementsByTagName(a)}};var Fa={className:H,\"class name\":H,c", - "ss:I,\"css selector\":I,id:{d:function(a,b){var c=z(b),d=n(a)?c.i.getEl", - "ementById(a):a;if(!d)return j;if(S(d,\"id\")==a&&C(b,d))return d;c=D(c,", - "\"*\");return x(c,function(c){return S(c,\"id\")==a&&C(b,c)})},b:functi", - "on(a,b){var c=D(z(b),\"*\",j,b);return w(c,function(b){return S(b,\"id", - "\")==a})}},linkText:W,\"link text\":W,name:{d:function(a,b){var c=D(z(b", - "),\"*\",j,b);return x(c,function(b){return S(b,\"name\")==a})},b:functi", - "on(a,b){var c=D(z(b),\"*\",j,b);return w(c,function(b){return S(b,\n\"n", - "ame\")==a})}},partialLinkText:X,\"partial link text\":X,tagName:Ea,\"ta", - "g name\":Ea,xpath:M};function Ga(a,b){var c;a:{for(c in a)if(a.hasOwnPr", - "operty(c))break a;c=j}if(c){var d=Fa[c];if(d&&m(d.b)==\"function\")retu", - "rn d.b(a[c],b||ga.document)}f(Error(\"Unsupported locator strategy: \"+", - "c))}var Y=\"_\".split(\".\"),Z=l;!(Y[0]in Z)&&Z.execScript&&Z.execScrip", - "t(\"var \"+Y[0]);for(var $;Y.length&&($=Y.shift());)!Y.length&&Ga!==i?Z", - "[$]=Ga:Z=Z[$]?Z[$]:Z[$]={};; return this._.apply(null,arguments);}.appl", - "y({navigator:typeof window!='undefined'?window.navigator:null}, argumen", - "ts);}", - NULL -}; - -const char* const GET_ATTRIBUTE[] = { - "function(){return function(){var f=null;\nfunction g(a){var c=typeof a;", - "if(c==\"object\")if(a){if(a instanceof Array)return\"array\";else if(a ", - "instanceof Object)return c;var b=Object.prototype.toString.call(a);if(b", - "==\"[object Window]\")return\"object\";if(b==\"[object Array]\"||typeof", - " a.length==\"number\"&&typeof a.splice!=\"undefined\"&&typeof a.propert", - "yIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable(\"splice\"))retur", - "n\"array\";if(b==\"[object Function]\"||typeof a.call!=\"undefined\"&&t", - "ypeof a.propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable(\"", - "call\"))return\"function\"}else return\"null\";else if(c==\n\"function", - "\"&&typeof a.call==\"undefined\")return\"object\";return c}function h(a", - ",c){function b(){}b.prototype=c.prototype;a.g=c.prototype;a.prototype=n", - "ew b};function i(a){for(var c=1;c", - "=0;b--)a.parentNode&&a.parentNode.insertBefore(c[b],a.nextSibling);a&&a", - ".parentNode&&a.parentNode.removeChild(a)};function v(a,c,b,d){t.call(th", - "is,a,c,b,f,d)}h(v,t);v.prototype.next=function(){do v.g.next.call(this)", - ";while(this.c==-1);return this.b};var w={\"class\":\"className\",readon", - "ly:\"readOnly\"},x=[\"checked\",\"disabled\",\"draggable\",\"hidden\"];", - "function y(a,c){var b=w[c]||c,d=a[b];if(d===void 0&&q(x,b)>=0)return!1;", - "return d}\nvar z=[\"async\",\"autofocus\",\"autoplay\",\"checked\",\"co", - "mpact\",\"complete\",\"controls\",\"declare\",\"defaultchecked\",\"defa", - "ultselected\",\"defer\",\"disabled\",\"draggable\",\"ended\",\"formnova", - "lidate\",\"hidden\",\"indeterminate\",\"iscontenteditable\",\"ismap\",", - "\"itemscope\",\"loop\",\"multiple\",\"muted\",\"nohref\",\"noresize\",", - "\"noshade\",\"novalidate\",\"nowrap\",\"open\",\"paused\",\"pubdate\",", - "\"readonly\",\"required\",\"reversed\",\"scoped\",\"seamless\",\"seekin", - "g\",\"selected\",\"spellcheck\",\"truespeed\",\"willvalidate\"];\nfunct", - "ion A(a,c){if(8==a.nodeType)return f;c=c.toLowerCase();if(c==\"style\")", - "{var b=a.style.cssText.replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\").toLow", - "erCase();return b.charAt(b.length-1)==\";\"?b:b+\";\"}b=a.getAttributeN", - "ode(c);if(!b)return f;if(q(z,c)>=0)return\"true\";return b.specified?b.", - "value:f};var B=[\"checkbox\",\"radio\"];function C(a){var c=a.tagName.t", - "oUpperCase();if(c==\"OPTION\")return!0;if(c==\"INPUT\"&&q(B,a.type)>=0)", - "return!0;return!1};function D(a,c){var b=f,d=c.toLowerCase();if(\"style", - "\"==c.toLowerCase()){if((b=a.style)&&typeof b!=\"string\")b=b.cssText;r", - "eturn b}if(\"selected\"==d||\"checked\"==d&&C(a)){var e;if(C(a)){e=\"se", - "lected\";d=a.type&&a.type.toLowerCase();if(\"checkbox\"==d||\"radio\"==", - "d)e=\"checked\";e=!!a[e]}else e=!1;return e?\"true\":f}b=!!a&&a.nodeTyp", - "e==1&&a.tagName.toUpperCase()==\"A\";if(a&&a.nodeType==1&&a.tagName.toU", - "pperCase()==\"IMG\"&&d==\"src\"||b&&d==\"href\")return(b=A(a,d))&&(b=y(", - "a,d)),b;try{e=y(a,c)}catch(H){}if(!(d=e==f))d=g(e),\nd=d==\"object\"||d", - "==\"array\"||d==\"function\";b=d?A(a,c):e;return b!=f?b.toString():f}va", - "r E=\"_\".split(\".\"),F=this;!(E[0]in F)&&F.execScript&&F.execScript(", - "\"var \"+E[0]);for(var G;E.length&&(G=E.shift());)!E.length&&D!==void 0", - "?F[G]=D:F=F[G]?F[G]:F[G]={};; return this._.apply(null,arguments);}.app", - "ly({navigator:typeof window!='undefined'?window.navigator:null}, argume", - "nts);}", - NULL -}; - -const char* const GET_EFFECTIVE_STYLE[] = { - "function(){return function(){var e=null;function f(a,c){function b(){}b", - ".prototype=c.prototype;a.g=c.prototype;a.prototype=new b};function g(a)", - "{for(var c=1;ca.clientWi", - "dth||a.scrollHeight>a.clientHeight||e==\"fixed\"||e==\"absolute\"||e==", - "\"relative\"))return a;return null};function q(a){var b=m(a),e=o(a),c=n", - "ew l(0,0),f=(b?b.nodeType==9?b:m(b):document).documentElement;if(a==f)r", - "eturn c;if(a.getBoundingClientRect)a=a.getBoundingClientRect(),f=(b?new", - " n(m(b)):k||(k=new n)).a,b=f.body,f=f.parentWindow||f.defaultView,b=new", - " l(f.pageXOffset||b.scrollLeft,f.pageYOffset||b.scrollTop),c.x=a.left+b", - ".x,c.y=a.top+b.y;else if(b.getBoxObjectFor)a=b.getBoxObjectFor(a),b=b.g", - "etBoxObjectFor(f),c.x=a.screenX-b.screenX,c.y=a.screenY-b.screenY;else{", - "var d=a;do{c.x+=d.offsetLeft;c.y+=d.offsetTop;\nd!=a&&(c.x+=d.clientLef", - "t||0,c.y+=d.clientTop||0);if(o(d)==\"fixed\"){c.x+=b.body.scrollLeft;c.", - "y+=b.body.scrollTop;break}d=d.offsetParent}while(d&&d!=a);e==\"absolute", - "\"&&(c.y-=b.body.offsetTop);for(d=a;(d=p(d))&&d!=b.body&&d!=f;)c.x-=d.s", - "crollLeft,c.y-=d.scrollTop}return c}var r=\"_\".split(\".\"),s=g;!(r[0]", - "in s)&&s.execScript&&s.execScript(\"var \"+r[0]);for(var t;r.length&&(t", - "=r.shift());)!r.length&&q!==void 0?s[t]=q:s=s[t]?s[t]:s[t]={};; return ", - "this._.apply(null,arguments);}.apply({navigator:typeof window!='undefin", - "ed'?window.navigator:null}, arguments);}", - NULL -}; - -const char* const GET_TEXT[] = { - "function(){return function(){var f=void 0,g=null;\nfunction i(a){var b=", - "typeof a;if(b==\"object\")if(a){if(a instanceof Array)return\"array\";e", - "lse if(a instanceof Object)return b;var c=Object.prototype.toString.cal", - "l(a);if(c==\"[object Window]\")return\"object\";if(c==\"[object Array]", - "\"||typeof a.length==\"number\"&&typeof a.splice!=\"undefined\"&&typeof", - " a.propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable(\"splic", - "e\"))return\"array\";if(c==\"[object Function]\"||typeof a.call!=\"unde", - "fined\"&&typeof a.propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnu", - "merable(\"call\"))return\"function\"}else return\"null\";else if(b==\n", - "\"function\"&&typeof a.call==\"undefined\")return\"object\";return b}fu", - "nction j(a){return typeof a==\"string\"}function l(a,b){function c(){}c", - ".prototype=b.prototype;a.g=b.prototype;a.prototype=new c};function m(a)", - "{var b=a.length-1;return b>=0&&a.indexOf(\" \",b)==b}function o(a){for(", - "var b=1;b=0;c--)a.parentNode&&", - "a.parentNode.insertBefore(b[c],a.nextSibling);a&&a.parentNode&&a.parent", - "Node.removeChild(a)};function M(a,b,c,e){K.call(this,a,b,c,g,e)}l(M,K);", - "M.prototype.next=function(){do M.g.next.call(this);while(this.c==-1);re", - "turn this.b};function N(a,b){var c=F(a);if(c.defaultView&&c.defaultView", - ".getComputedStyle&&(c=c.defaultView.getComputedStyle(a,g)))return c[b]|", - "|c.getPropertyValue(b);return\"\"};function O(a,b){return!!a&&a.nodeTyp", - "e==1&&(!b||a.tagName.toUpperCase()==b)}\nvar da=[\"async\",\"autofocus", - "\",\"autoplay\",\"checked\",\"compact\",\"complete\",\"controls\",\"dec", - "lare\",\"defaultchecked\",\"defaultselected\",\"defer\",\"disabled\",\"", - "draggable\",\"ended\",\"formnovalidate\",\"hidden\",\"indeterminate\",", - "\"iscontenteditable\",\"ismap\",\"itemscope\",\"loop\",\"multiple\",\"m", - "uted\",\"nohref\",\"noresize\",\"noshade\",\"novalidate\",\"nowrap\",\"", - "open\",\"paused\",\"pubdate\",\"readonly\",\"required\",\"reversed\",\"", - "scoped\",\"seamless\",\"seeking\",\"selected\",\"spellcheck\",\"truespe", - "ed\",\"willvalidate\"];\nfunction ea(a){var b;if(8==a.nodeType)return g", - ";b=\"usemap\";if(b==\"style\")return b=a.style.cssText.replace(/^[\\s", - "\\xa0]+|[\\s\\xa0]+$/g,\"\").toLowerCase(),b.charAt(b.length-1)==\";\"?", - "b:b+\";\";a=a.getAttributeNode(b);if(!a)return g;if(A(da,b)>=0)return\"", - "true\";return a.specified?a.value:g}function Q(a){for(a=a.parentNode;a&", - "&a.nodeType!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a.parentNode;return O(", - "a)?a:g}function R(a,b){b=q(b);return N(a,b)||S(a,b)}\nfunction S(a,b){v", - "ar c=(a.currentStyle||a.style)[b];if(c!=\"inherit\")return c!==f?c:g;re", - "turn(c=Q(a))?S(c,b):g}\nfunction fa(a){if(i(a.getBBox)==\"function\")re", - "turn a.getBBox();var b;if((N(a,\"display\")||(a.currentStyle?a.currentS", - "tyle.display:g)||a.style.display)!=\"none\")b=new D(a.offsetWidth,a.off", - "setHeight);else{b=a.style;var c=b.display,e=b.visibility,d=b.position;b", - ".visibility=\"hidden\";b.position=\"absolute\";b.display=\"inline\";var", - " h=a.offsetWidth,a=a.offsetHeight;b.display=c;b.position=d;b.visibility", - "=e;b=new D(h,a)}return b}\nfunction T(a,b){function c(a){if(R(a,\"displ", - "ay\")==\"none\")return!1;a=Q(a);return!a||c(a)}function e(a){var b=fa(a", - ");if(b.height>0&&b.width>0)return!0;return C(a.childNodes,function(a){r", - "eturn a.nodeType==E||O(a)&&e(a)})}if(!O(a))throw Error(\"Argument to is", - "Shown must be of type Element\");if(O(a,\"TITLE\"))return(F(a)?F(a).par", - "entWindow||F(a).defaultView:window)==r;if(O(a,\"OPTION\")||O(a,\"OPTGRO", - "UP\")){var d=H(a,function(a){return O(a,\"SELECT\")});return!!d&&T(d,b)", - "}if(O(a,\"MAP\")){if(!a.name)return!1;d=F(a);d=\nd.evaluate?ca('/descen", - "dant::*[@usemap = \"#'+a.name+'\"]',d):aa(d,function(b){return O(b)&&ea", - "(b)==\"#\"+a.name});return!!d&&T(d,b)}if(O(a,\"AREA\"))return d=H(a,fun", - "ction(a){return O(a,\"MAP\")}),!!d&&T(d,b);if(O(a,\"INPUT\")&&a.type.to", - "LowerCase()==\"hidden\")return!1;if(R(a,\"visibility\")==\"hidden\")ret", - "urn!1;if(!c(a))return!1;if(!b&&U(a)==0)return!1;if(!e(a))return!1;retur", - "n!0}function V(a){return a.replace(/^[^\\S\\xa0]+|[^\\S\\xa0]+$/g,\"\")", - "}\nfunction W(a,b){if(O(a,\"BR\"))b.push(\"\");else if(!O(a,\"TITLE\")|", - "|!O(Q(a),\"HEAD\")){var c=O(a,\"TD\"),e=R(a,\"display\"),d=!c&&!(A(ga,e", - ")>=0);d&&!/^[\\s\\xa0]*$/.test(b[b.length-1]||\"\")&&b.push(\"\");var h", - "=T(a),n=g,k=g;h&&(n=R(a,\"white-space\"),k=R(a,\"text-transform\"));B(a", - ".childNodes,function(a){a.nodeType==E&&h?ha(a,b,n,k):O(a)&&W(a,b)});var", - " s=b[b.length-1]||\"\";if((c||e==\"table-cell\")&&s&&!m(s))b[b.length-1", - "]+=\" \";d&&!/^[\\s\\xa0]*$/.test(s)&&b.push(\"\")}}\nvar ga=[\"inline", - "\",\"inline-block\",\"inline-table\",\"none\",\"table-cell\",\"table-co", - "lumn\",\"table-column-group\"];\nfunction ha(a,b,c,e){a=a.nodeValue.rep", - "lace(/\\u200b/g,\"\");a=a.replace(/(\\r\\n|\\r|\\n)/g,\"\\n\");if(c==\"", - "normal\"||c==\"nowrap\")a=a.replace(/\\n/g,\" \");a=c==\"pre\"||c==\"pr", - "e-wrap\"?a.replace(/\\f\\t\\v\\u2028\\u2029/,\" \"):a.replace(/[\\ \\f", - "\\t\\v\\u2028\\u2029]+/g,\" \");e==\"capitalize\"?a=a.replace(/(^|\\s)(", - "\\S)/g,function(a,b,c){return b+c.toUpperCase()}):e==\"uppercase\"?a=a.", - "toUpperCase():e==\"lowercase\"&&(a=a.toLowerCase());e=b.pop()||\"\";m(e", - ")&&a.lastIndexOf(\" \",0)==0&&(a=a.substr(1));c==\"pre\"||c==\"pre-wrap", - "\"?b.push(\"\\u2063\"+\ne+a+\"\\u2063\"):b.push(e+a)}function U(a){var ", - "b=1,c=R(a,\"opacity\");c&&(b=Number(c));(a=Q(a))&&(b*=U(a));return b};f", - "unction X(a){var b;a:{for(b=a;b;){if(b.tagName&&b.tagName.toLowerCase()", - "==\"head\"){b=!0;break a}try{b=b.parentNode}catch(c){break}}b=!1}if(b){", - "b=F(a);if(a.tagName.toUpperCase()==\"TITLE\"&&(b?b.parentWindow||b.defa", - "ultView:window)==r.top)return b.title.replace(/^[\\s\\xa0]+|[\\s\\xa0]+", - "$/g,\"\");return\"\"}b=[];W(a,b);var e=b,a=e.length;b=Array(a);for(var ", - "e=j(e)?e.split(\"\"):e,d=0;d=0;c--)a.parentNode&&a.parent", - "Node.insertBefore(b[c],a.nextSibling);a&&a.parentNode&&a.parentNode.rem", - "oveChild(a)};function M(a,b,c,f){K.call(this,a,b,c,e,f)}i(M,K);M.protot", - "ype.next=function(){do M.g.next.call(this);while(this.c==-1);return thi", - "s.b};function N(a,b){var c=B(a);if(c.defaultView&&c.defaultView.getComp", - "utedStyle&&(c=c.defaultView.getComputedStyle(a,e)))return c[b]||c.getPr", - "opertyValue(b);return\"\"};function O(a,b){return!!a&&a.nodeType==1&&(!", - "b||a.tagName.toUpperCase()==b)}\nvar x=[\"async\",\"autofocus\",\"autop", - "lay\",\"checked\",\"compact\",\"complete\",\"controls\",\"declare\",\"d", - "efaultchecked\",\"defaultselected\",\"defer\",\"disabled\",\"draggable", - "\",\"ended\",\"formnovalidate\",\"hidden\",\"indeterminate\",\"isconten", - "teditable\",\"ismap\",\"itemscope\",\"loop\",\"multiple\",\"muted\",\"n", - "ohref\",\"noresize\",\"noshade\",\"novalidate\",\"nowrap\",\"open\",\"p", - "aused\",\"pubdate\",\"readonly\",\"required\",\"reversed\",\"scoped\",", - "\"seamless\",\"seeking\",\"selected\",\"spellcheck\",\"truespeed\",\"wi", - "llvalidate\"];\nfunction P(a){var b;if(8==a.nodeType)return e;b=\"usema", - "p\";if(b==\"style\")return b=a.style.cssText.replace(/^[\\s\\xa0]+|[\\s", - "\\xa0]+$/g,\"\").toLowerCase(),b.charAt(b.length-1)==\";\"?b:b+\";\";a=", - "a.getAttributeNode(b);if(!a)return e;if(w(b)>=0)return\"true\";return a", - ".specified?a.value:e}function Q(a){for(a=a.parentNode;a&&a.nodeType!=1&", - "&a.nodeType!=9&&a.nodeType!=11;)a=a.parentNode;return O(a)?a:e}function", - " R(a,b){b=l(b);return N(a,b)||S(a,b)}\nfunction S(a,b){var c=(a.current", - "Style||a.style)[b];if(c!=\"inherit\")return c!==void 0?c:e;return(c=Q(a", - "))?S(c,b):e}\nfunction T(a){if(g(a.getBBox)==\"function\")return a.getB", - "Box();var b;if((N(a,\"display\")||(a.currentStyle?a.currentStyle.displa", - "y:e)||a.style.display)!=\"none\")b=new z(a.offsetWidth,a.offsetHeight);", - "else{b=a.style;var c=b.display,f=b.visibility,d=b.position;b.visibility", - "=\"hidden\";b.position=\"absolute\";b.display=\"inline\";var h=a.offset", - "Width,a=a.offsetHeight;b.display=c;b.position=d;b.visibility=f;b=new z(", - "h,a)}return b}\nfunction U(a,b){function c(a){if(R(a,\"display\")==\"no", - "ne\")return!1;a=Q(a);return!a||c(a)}function f(a){var b=T(a);if(b.heigh", - "t>0&&b.width>0)return!0;return y(a.childNodes,function(a){return a.node", - "Type==A||O(a)&&f(a)})}if(!O(a))throw Error(\"Argument to isShown must b", - "e of type Element\");if(O(a,\"TITLE\"))return(B(a)?B(a).parentWindow||B", - "(a).defaultView:window)==m;if(O(a,\"OPTION\")||O(a,\"OPTGROUP\")){var d", - "=E(a,function(a){return O(a,\"SELECT\")});return!!d&&U(d,b)}if(O(a,\"MA", - "P\")){if(!a.name)return!1;d=B(a);d=d.evaluate?\nG('/descendant::*[@usem", - "ap = \"#'+a.name+'\"]',d):C(d,function(b){return O(b)&&P(b)==\"#\"+a.na", - "me});return!!d&&U(d,b)}if(O(a,\"AREA\"))return d=E(a,function(a){return", - " O(a,\"MAP\")}),!!d&&U(d,b);if(O(a,\"INPUT\")&&a.type.toLowerCase()==\"", - "hidden\")return!1;if(R(a,\"visibility\")==\"hidden\")return!1;if(!c(a))", - "return!1;if(!b&&V(a)==0)return!1;if(!f(a))return!1;return!0}function V(", - "a){var b=1,c=R(a,\"opacity\");c&&(b=Number(c));(a=Q(a))&&(b*=V(a));retu", - "rn b};var W=U,X=\"_\".split(\".\"),Z=this;!(X[0]in Z)&&Z.execScript&&Z.", - "execScript(\"var \"+X[0]);for(var $;X.length&&($=X.shift());)!X.length&", - "&W!==void 0?Z[$]=W:Z=Z[$]?Z[$]:Z[$]={};; return this._.apply(null,argum", - "ents);}.apply({navigator:typeof window!='undefined'?window.navigator:nu", - "ll}, arguments);}", - NULL -}; - -const char* const IS_ENABLED[] = { - "function(){return function(){function d(a,b){function c(){}c.prototype=", - "b.prototype;a.g=b.prototype;a.prototype=new c};function f(a){for(var b=", - "1;b=0))return!0;var c;c=p.disabled||\"disable", - "d\";var e=a[c];c=e===void 0&&n(q,c)>=0?!1:e;if(c)return!1;if(a.parentNo", - "de&&a.parentNode.nodeType==1&&\"OPTGROUP\"==b||\"OPTION\"==b)return t(a", - ".parentNode);return!0};var u=t,v=\"_\".split(\".\"),w=this;!(v[0]in w)&", - "&w.execScript&&w.execScript(\"var \"+v[0]);for(var x;v.length&&(x=v.shi", - "ft());)!v.length&&u!==void 0?w[x]=u:w=w[x]?w[x]:w[x]={};; return this._", - ".apply(null,arguments);}.apply({navigator:typeof window!='undefined'?wi", - "ndow.navigator:null}, arguments);}", - NULL -}; - -const char* const IS_SELECTED[] = { - "function(){return function(){function d(a,b){function c(){}c.prototype=", - "b.prototype;a.g=b.prototype;a.prototype=new c};function e(a){for(var b=", - "1;b=0?!0:!1;if(", - "!b)return!1;b=\"selected\";var c=a.type&&a.type.toLowerCase();if(\"chec", - "kbox\"==c||\"radio\"==c)b=\"checked\";return!!a[b]}var s=\"_\".split(\"", - ".\"),t=this;!(s[0]in t)&&t.execScript&&t.execScript(\"var \"+s[0]);for(", - "var u;s.length&&(u=s.shift());)!s.length&&r!==void 0?t[u]=r:t=t[u]?t[u]", - ":t[u]={};; return this._.apply(null,arguments);}.apply({navigator:typeo", - "f window!='undefined'?window.navigator:null}, arguments);}", - NULL -}; - -const char* const SET_SELECTED[] = { - "function(){return function(){function f(a){throw a;}var h=void 0,i=null", - ";function l(a){return function(){return this[a]}}function m(a){return f", - "unction(){return a}}var n,p=this;\nfunction q(a){var b=typeof a;if(b==", - "\"object\")if(a){if(a instanceof Array)return\"array\";else if(a instan", - "ceof Object)return b;var c=Object.prototype.toString.call(a);if(c==\"[o", - "bject Window]\")return\"object\";if(c==\"[object Array]\"||typeof a.len", - "gth==\"number\"&&typeof a.splice!=\"undefined\"&&typeof a.propertyIsEnu", - "merable!=\"undefined\"&&!a.propertyIsEnumerable(\"splice\"))return\"arr", - "ay\";if(c==\"[object Function]\"||typeof a.call!=\"undefined\"&&typeof ", - "a.propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable(\"call\"", - "))return\"function\"}else return\"null\";\nelse if(b==\"function\"&&typ", - "eof a.call==\"undefined\")return\"object\";return b}function aa(a){var ", - "b=q(a);return b==\"array\"||b==\"object\"&&typeof a.length==\"number\"}", - "function r(a){return typeof a==\"string\"}function ba(a){a=q(a);return ", - "a==\"object\"||a==\"array\"||a==\"function\"}var ca=\"closure_uid_\"+Ma", - "th.floor(Math.random()*2147483648).toString(36),da=0,ea=Date.now||funct", - "ion(){return+new Date};function t(a,b){function c(){}c.prototype=b.prot", - "otype;a.S=b.prototype;a.prototype=new c};function fa(a){for(var b=1;b\")!=-1&&(a=a.replace(la,\">\"", - "));a.indexOf('\"')!=-1&&(a=a.replace(ma,\""\"));return a}var ja=/&", - "/g,ka=//g,ma=/\\\"/g,ia=/[&<>\\\"]/;\nfunction na(a,b){if(ab)return 1;return 0}var oa=Math.random()*2147483648|", - "0,pa={};function qa(a){return pa[a]||(pa[a]=String(a).replace(/\\-([a-z", - "])/g,function(a,c){return c.toUpperCase()}))};var ra,sa;function ta(){r", - "eturn p.navigator?p.navigator.userAgent:i}var ua,va=p.navigator;ua=va&&", - "va.platform||\"\";ra=ua.indexOf(\"Mac\")!=-1;sa=ua.indexOf(\"Win\")!=-1", - ";var u=ua.indexOf(\"Linux\")!=-1,wa,xa=\"\",ya=/WebKit\\/(\\S+)/.exec(t", - "a());wa=xa=ya?ya[1]:\"\";var za={};var Aa=window;function v(a){this.sta", - "ck=Error().stack||\"\";if(a)this.message=String(a)}t(v,Error);v.prototy", - "pe.name=\"CustomError\";function Ba(a,b){for(var c in a)b.call(h,a[c],c", - ",a)};function w(a,b){v.call(this,b);this.code=a;this.name=Ca[a]||Ca[13]", - "}t(w,v);\nvar Ca,Da={NoSuchElementError:7,NoSuchFrameError:8,UnknownCom", - "mandError:9,StaleElementReferenceError:10,ElementNotVisibleError:11,Inv", - "alidElementStateError:12,UnknownError:13,ElementNotSelectableError:15,X", - "PathLookupError:19,NoSuchWindowError:23,InvalidCookieDomainError:24,Una", - "bleToSetCookieError:25,ModalDialogOpenedError:26,NoModalDialogOpenError", - ":27,ScriptTimeoutError:28,InvalidSelectorError:32,SqlDatabaseError:33,M", - "oveTargetOutOfBoundsError:34},Ea={},Fa;for(Fa in Da)Ea[Da[Fa]]=Fa;Ca=Ea", - ";\nw.prototype.toString=function(){return\"[\"+this.name+\"] \"+this.me", - "ssage};function Ga(a,b){b.unshift(a);v.call(this,fa.apply(i,b));b.shift", - "();this.Ba=a}t(Ga,v);Ga.prototype.name=\"AssertionError\";function Ha(a", - ",b){if(!a){var c=Array.prototype.slice.call(arguments,2),d=\"Assertion ", - "failed\";if(b){d+=\": \"+b;var e=c}f(new Ga(\"\"+d,e||[]))}}function Ia", - "(a){f(new Ga(\"Failure\"+(a?\": \"+a:\"\"),Array.prototype.slice.call(a", - "rguments,1)))};function y(a){return a[a.length-1]}var Ja=Array.prototyp", - "e;function z(a,b){if(r(a)){if(!r(b)||b.length!=1)return-1;return a.inde", - "xOf(b,0)}for(var c=0;c=0", - "||(d.push(c[g]),e++);d=e==c.length;a.className=b.join(\" \");return d};", - "function Ua(a,b){this.width=a;this.height=b}Ua.prototype.toString=funct", - "ion(){return\"(\"+this.width+\" x \"+this.height+\")\"};Ua.prototype.fl", - "oor=function(){this.width=Math.floor(this.width);this.height=Math.floor", - "(this.height);return this};var A=3;function Va(a){return a?new Wa(C(a))", - ":Sa||(Sa=new Wa)}function Xa(a,b){Ba(b,function(b,d){d==\"style\"?a.sty", - "le.cssText=b:d==\"class\"?a.className=b:d==\"for\"?a.htmlFor=b:d in Ya?", - "a.setAttribute(Ya[d],b):a[d]=b})}var Ya={cellpadding:\"cellPadding\",ce", - "llspacing:\"cellSpacing\",colspan:\"colSpan\",rowspan:\"rowSpan\",valig", - "n:\"vAlign\",height:\"height\",width:\"width\",usemap:\"useMap\",frameb", - "order:\"frameBorder\",maxlength:\"maxLength\",type:\"type\"};function D", - "(a){return a?a.parentWindow||a.defaultView:window}\nfunction Za(a,b,c){", - "function d(c){c&&b.appendChild(r(c)?a.createTextNode(c):c)}for(var e=2;", - "e0)?Ka($a(g)?Qa(g)", - ":g,d):d(g)}}function ab(a){return a&&a.parentNode?a.parentNode.removeCh", - "ild(a):i}function E(a,b){if(a.contains&&b.nodeType==1)return a==b||a.co", - "ntains(b);if(typeof a.compareDocumentPosition!=\"undefined\")return a==", - "b||Boolean(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNod", - "e;return b==a}\nfunction bb(a,b){if(a==b)return 0;if(a.compareDocumentP", - "osition)return a.compareDocumentPosition(b)&2?1:-1;if(\"sourceIndex\"in", - " a||a.parentNode&&\"sourceIndex\"in a.parentNode){var c=a.nodeType==1,d", - "=b.nodeType==1;if(c&&d)return a.sourceIndex-b.sourceIndex;else{var e=a.", - "parentNode,g=b.parentNode;if(e==g)return cb(a,b);if(!c&&E(e,b))return-1", - "*db(a,b);if(!d&&E(g,a))return db(b,a);return(c?a.sourceIndex:e.sourceIn", - "dex)-(d?b.sourceIndex:g.sourceIndex)}}d=C(a);c=d.createRange();c.select", - "Node(a);c.collapse(!0);d=\nd.createRange();d.selectNode(b);d.collapse(!", - "0);return c.compareBoundaryPoints(p.Range.START_TO_END,d)}function db(a", - ",b){var c=a.parentNode;if(c==b)return-1;for(var d=b;d.parentNode!=c;)d=", - "d.parentNode;return cb(d,a)}function cb(a,b){for(var c=b;c=c.previousSi", - "bling;)if(c==a)return-1;return 1}\nfunction eb(){var a,b=arguments.leng", - "th;if(b){if(b==1)return arguments[0]}else return i;var c=[],d=Infinity;", - "for(a=0;a2&&Za(a,d,b);return d};n.createEl", - "ement=function(a){return this.v.createElement(a)};n.createTextNode=func", - "tion(a){return this.v.createTextNode(a)};n.ca=function(){return this.v.", - "parentWindow||this.v.defaultView};n.appendChild=function(a,b){a.appendC", - "hild(b)};n.removeNode=ab;n.contains=E;var F={};F.ga=function(){var a={E", - "a:\"http://www.w3.org/2000/svg\"};return function(b){return a[b]||i}}()", - ";F.$=function(a,b,c){var d=C(a);if(!d.implementation.hasFeature(\"XPath", - "\",\"3.0\"))return i;var e=d.createNSResolver?d.createNSResolver(d.docu", - "mentElement):F.ga;return d.evaluate(b,a,e,c,i)};F.ea=function(a){return", - "\"NS_ERROR_ILLEGAL_VALUE\"!=a.name};\nF.pa=function(a,b){var c=function", - "(b,c){var g=C(b);try{if(b.selectSingleNode)return g.setProperty&&g.setP", - "roperty(\"SelectionLanguage\",\"XPath\"),b.selectSingleNode(c);var j=F.", - "$(b,c,9);return j?j.singleNodeValue:i}catch(k){return F.ea(k)&&f(new w(", - "32,\"Unable to locate an element with the xpath expression \"+a+\" beca", - "use of the following error:\\n\"+k)),i}}(b,a);if(!c)return i;c.nodeType", - "!=1&&f(new w(32,'The result of the xpath expression \"'+a+'\" is: '+c+", - "\". It should be an element.\"));return c};\nF.Aa=function(a,b){var c=f", - "unction(a,b){var c=C(a),j;try{if(a.selectNodes)return c.setProperty&&c.", - "setProperty(\"SelectionLanguage\",\"XPath\"),a.selectNodes(b);j=F.$(a,b", - ",7)}catch(k){F.ea(k)&&f(new w(32,\"Unable to locate elements with the x", - "path expression \"+b+\" because of the following error:\\n\"+k))}c=[];i", - "f(j)for(var o=j.snapshotLength,s=0;s=a.length&&f(G),b in a)return a[b++];else b+", - "+};return c}f(Error(\"Not implemented\"))};function I(a,b,c,d,e){this.n", - "=!!b;a&&J(this,a,d);this.t=e!=h?e:this.p||0;this.n&&(this.t*=-1);this.i", - "a=!c}t(I,H);n=I.prototype;n.o=i;n.p=0;n.Y=!1;function J(a,b,c,d){if(a.o", - "=b)a.p=typeof c==\"number\"?c:a.o.nodeType!=1?0:a.n?-1:1;if(typeof d==", - "\"number\")a.t=d}\nn.next=function(){var a;if(this.Y){(!this.o||this.ia", - "&&this.t==0)&&f(G);a=this.o;var b=this.n?-1:1;if(this.p==b){var c=this.", - "n?a.lastChild:a.firstChild;c?J(this,c):J(this,a,b*-1)}else(c=this.n?a.p", - "reviousSibling:a.nextSibling)?J(this,c):J(this,a.parentNode,b*-1);this.", - "t+=this.p*(this.n?-1:1)}else this.Y=!0;(a=this.o)||f(G);return a};\nn.s", - "plice=function(){var a=this.o,b=this.n?1:-1;if(this.p==b)this.p=b*-1,th", - "is.t+=this.p*(this.n?-1:1);this.n=!this.n;I.prototype.next.call(this);t", - "his.n=!this.n;for(var b=aa(arguments[0])?arguments[0]:arguments,c=b.len", - "gth-1;c>=0;c--)a.parentNode&&a.parentNode.insertBefore(b[c],a.nextSibli", - "ng);ab(a)};function jb(a,b,c,d){I.call(this,a,b,c,i,d)}t(jb,I);jb.proto", - "type.next=function(){do jb.S.next.call(this);while(this.p==-1);return t", - "his.o};function kb(a,b){var c=C(a);if(c.defaultView&&c.defaultView.getC", - "omputedStyle&&(c=c.defaultView.getComputedStyle(a,i)))return c[b]||c.ge", - "tPropertyValue(b);return\"\"};function K(a,b){return!!a&&a.nodeType==1&", - "&(!b||a.tagName.toUpperCase()==b)}function lb(a){var b;K(a,\"OPTION\")?", - "b=!0:K(a,\"INPUT\")?(b=a.type.toLowerCase(),b=b==\"checkbox\"||b==\"rad", - "io\"):b=!1;b||f(new w(15,\"Element is not selectable\"));b=\"selected\"", - ";var c=a.type&&a.type.toLowerCase();if(\"checkbox\"==c||\"radio\"==c)b=", - "\"checked\";return!!mb(a,b)}var nb={\"class\":\"className\",readonly:\"", - "readOnly\"},ob=[\"checked\",\"disabled\",\"draggable\",\"hidden\"];\nfu", - "nction mb(a,b){var c=nb[b]||b,d=a[c];if(d===h&&z(ob,c)>=0)return!1;retu", - "rn d}\nvar pb=[\"async\",\"autofocus\",\"autoplay\",\"checked\",\"compa", - "ct\",\"complete\",\"controls\",\"declare\",\"defaultchecked\",\"default", - "selected\",\"defer\",\"disabled\",\"draggable\",\"ended\",\"formnovalid", - "ate\",\"hidden\",\"indeterminate\",\"iscontenteditable\",\"ismap\",\"it", - "emscope\",\"loop\",\"multiple\",\"muted\",\"nohref\",\"noresize\",\"nos", - "hade\",\"novalidate\",\"nowrap\",\"open\",\"paused\",\"pubdate\",\"read", - "only\",\"required\",\"reversed\",\"scoped\",\"seamless\",\"seeking\",\"", - "selected\",\"spellcheck\",\"truespeed\",\"willvalidate\"];\nfunction qb", - "(a){var b;if(8==a.nodeType)return i;b=\"usemap\";if(b==\"style\")return", - " b=ga(a.style.cssText).toLowerCase(),b.charAt(b.length-1)==\";\"?b:b+\"", - ";\";a=a.getAttributeNode(b);if(!a)return i;if(z(pb,b)>=0)return\"true\"", - ";return a.specified?a.value:i}var rb=[\"BUTTON\",\"INPUT\",\"OPTGROUP\"", - ",\"OPTION\",\"SELECT\",\"TEXTAREA\"];\nfunction sb(a){var b=a.tagName.t", - "oUpperCase();if(!(z(rb,b)>=0))return!0;if(mb(a,\"disabled\"))return!1;i", - "f(a.parentNode&&a.parentNode.nodeType==1&&\"OPTGROUP\"==b||\"OPTION\"==", - "b)return sb(a.parentNode);return!0}function tb(a){for(a=a.parentNode;a&", - "&a.nodeType!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a.parentNode;return K(", - "a)?a:i}function ub(a,b){b=qa(b);return kb(a,b)||vb(a,b)}function vb(a,b", - "){var c=(a.currentStyle||a.style)[b];if(c!=\"inherit\")return c!==h?c:i", - ";return(c=tb(a))?vb(c,b):i}\nfunction wb(a){if(q(a.getBBox)==\"function", - "\")return a.getBBox();var b;if((kb(a,\"display\")||(a.currentStyle?a.cu", - "rrentStyle.display:i)||a.style.display)!=\"none\")b=new Ua(a.offsetWidt", - "h,a.offsetHeight);else{b=a.style;var c=b.display,d=b.visibility,e=b.pos", - "ition;b.visibility=\"hidden\";b.position=\"absolute\";b.display=\"inlin", - "e\";var g=a.offsetWidth,a=a.offsetHeight;b.display=c;b.position=e;b.vis", - "ibility=d;b=new Ua(g,a)}return b}\nfunction xb(a,b){function c(a){if(ub", - "(a,\"display\")==\"none\")return!1;a=tb(a);return!a||c(a)}function d(a)", - "{var b=wb(a);if(b.height>0&&b.width>0)return!0;return Ma(a.childNodes,f", - "unction(a){return a.nodeType==A||K(a)&&d(a)})}K(a)||f(Error(\"Argument ", - "to isShown must be of type Element\"));if(K(a,\"TITLE\"))return D(C(a))", - "==Aa;if(K(a,\"OPTION\")||K(a,\"OPTGROUP\")){var e=hb(a,function(a){retu", - "rn K(a,\"SELECT\")});return!!e&&xb(e,b)}if(K(a,\"MAP\")){if(!a.name)ret", - "urn!1;e=C(a);e=e.evaluate?F.pa('/descendant::*[@usemap = \"#'+\na.name+", - "'\"]',e):fb(e,function(b){return K(b)&&qb(b)==\"#\"+a.name});return!!e&", - "&xb(e,b)}if(K(a,\"AREA\"))return e=hb(a,function(a){return K(a,\"MAP\")", - "}),!!e&&xb(e,b);if(K(a,\"INPUT\")&&a.type.toLowerCase()==\"hidden\")ret", - "urn!1;if(ub(a,\"visibility\")==\"hidden\")return!1;if(!c(a))return!1;if", - "(!b&&yb(a)==0)return!1;if(!d(a))return!1;return!0}function yb(a){var b=", - "1,c=ub(a,\"opacity\");c&&(b=Number(c));(a=tb(a))&&(b*=yb(a));return b};", - "function L(a,b,c){var d=C(a),a=D(d),e=c||{},c=e.clientX||0,g=e.clientY|", - "|0,j=e.button||0,k=e.bubble||!0,o=e.related||i,s=!!e.alt,x=!!e.control,", - "M=!!e.shift,e=!!e.meta,d=d.createEvent(\"MouseEvents\");d.initMouseEven", - "t(b,k,!0,a,1,0,0,c,g,x,s,M,e,j,o);return d}function zb(a,b,c){var d=c||", - "{},c=d.keyCode||0,e=d.charCode||0,g=!!d.alt,j=!!d.ctrl,k=!!d.shift,d=!!", - "d.meta,a=C(a).createEvent(\"Events\");a.initEvent(b,!0,!0);a.keyCode=c;", - "a.altKey=g;a.ctrlKey=j;a.metaKey=d;a.shiftKey=k;a.charCode=e;return a}", - "\nfunction Ab(a,b,c){var d=C(a),e=c||{},c=e.bubble!==!1,g=!!e.alt,j=!!e", - ".control,k=!!e.shift,e=!!e.meta;a.fireEvent&&d&&d.createEventObject&&!d", - ".createEvent?(a=d.createEventObject(),a.altKey=g,a.ta=j,a.metaKey=e,a.s", - "hiftKey=k):(a=d.createEvent(\"HTMLEvents\"),a.initEvent(b,c,!0),a.shift", - "Key=k,a.metaKey=e,a.altKey=g,a.ctrlKey=j);return a}var N={};N.click=L;N", - ".keydown=zb;N.keypress=zb;N.keyup=zb;N.mousedown=L;N.mousemove=L;N.mous", - "eout=L;N.mouseover=L;N.mouseup=L;\nfunction Bb(a){var b=(N.change||Ab)(", - "a,\"change\",h);if(!(\"isTrusted\"in b))b.xa=!1;a.dispatchEvent(b)};var", - " Cb={};function O(a,b,c){ba(a)&&(a=a.c);a=new Db(a,b,c);if(b&&(!(b in C", - "b)||c))Cb[b]={key:a,shift:!1},c&&(Cb[c]={key:a,shift:!0})}function Db(a", - ",b,c){this.code=a;this.ha=b||i;this.Da=c||this.ha}O(8);O(9);O(13);O(16)", - ";O(17);O(18);O(19);O(20);O(27);O(32,\" \");O(33);O(34);O(35);O(36);O(37", - ");O(38);O(39);O(40);O(44);O(45);O(46);O(48,\"0\",\")\");O(49,\"1\",\"!", - "\");O(50,\"2\",\"@\");O(51,\"3\",\"#\");O(52,\"4\",\"$\");O(53,\"5\",\"", - "%\");O(54,\"6\",\"^\");O(55,\"7\",\"&\");O(56,\"8\",\"*\");O(57,\"9\",", - "\"(\");O(65,\"a\",\"A\");O(66,\"b\",\"B\");O(67,\"c\",\"C\");\nO(68,\"d", - "\",\"D\");O(69,\"e\",\"E\");O(70,\"f\",\"F\");O(71,\"g\",\"G\");O(72,\"", - "h\",\"H\");O(73,\"i\",\"I\");O(74,\"j\",\"J\");O(75,\"k\",\"K\");O(76,", - "\"l\",\"L\");O(77,\"m\",\"M\");O(78,\"n\",\"N\");O(79,\"o\",\"O\");O(80", - ",\"p\",\"P\");O(81,\"q\",\"Q\");O(82,\"r\",\"R\");O(83,\"s\",\"S\");O(8", - "4,\"t\",\"T\");O(85,\"u\",\"U\");O(86,\"v\",\"V\");O(87,\"w\",\"W\");O(", - "88,\"x\",\"X\");O(89,\"y\",\"Y\");O(90,\"z\",\"Z\");O(sa?{e:91,c:91,ope", - "ra:219}:ra?{e:224,c:91,opera:17}:{e:0,c:91,opera:i});O(sa?{e:92,c:92,op", - "era:220}:ra?{e:224,c:93,opera:17}:{e:0,c:92,opera:i});\nO(sa?{e:93,c:93", - ",opera:0}:ra?{e:0,c:0,opera:16}:{e:93,c:i,opera:0});O({e:96,c:96,opera:", - "48},\"0\");O({e:97,c:97,opera:49},\"1\");O({e:98,c:98,opera:50},\"2\");", - "O({e:99,c:99,opera:51},\"3\");O({e:100,c:100,opera:52},\"4\");O({e:101,", - "c:101,opera:53},\"5\");O({e:102,c:102,opera:54},\"6\");O({e:103,c:103,o", - "pera:55},\"7\");O({e:104,c:104,opera:56},\"8\");O({e:105,c:105,opera:57", - "},\"9\");O({e:106,c:106,opera:u?56:42},\"*\");O({e:107,c:107,opera:u?61", - ":43},\"+\");O({e:109,c:109,opera:u?109:45},\"-\");O({e:110,c:110,opera:", - "u?190:78},\".\");\nO({e:111,c:111,opera:u?191:47},\"/\");O(144);O(112);", - "O(113);O(114);O(115);O(116);O(117);O(118);O(119);O(120);O(121);O(122);O", - "(123);O({e:107,c:187,opera:61},\"=\",\"+\");O({e:109,c:189,opera:109},", - "\"-\",\"_\");O(188,\",\",\"<\");O(190,\".\",\">\");O(191,\"/\",\"?\");O", - "(192,\"`\",\"~\");O(219,\"[\",\"{\");O(220,\"\\\\\",\"|\");O(221,\"]\",", - "\"}\");O({e:59,c:186,opera:59},\";\",\":\");O(222,\"'\",'\"');var Eb,Fb", - ",Gb,Hb,Ib,Jb,Kb;Kb=Jb=Ib=Hb=Gb=Fb=Eb=!1;var P=ta();P&&(P.indexOf(\"Fire", - "fox\")!=-1?Eb=!0:P.indexOf(\"Camino\")!=-1?Fb=!0:P.indexOf(\"iPhone\")!", - "=-1||P.indexOf(\"iPod\")!=-1?Gb=!0:P.indexOf(\"iPad\")!=-1?Hb=!0:P.inde", - "xOf(\"Android\")!=-1?Ib=!0:P.indexOf(\"Chrome\")!=-1?Jb=!0:P.indexOf(\"", - "Safari\")!=-1&&(Kb=!0));var Lb=Fb,Mb=Gb,Nb=Hb,Ob=Ib,Pb=Jb,Qb=Kb;var Q;E", - "b?Q=/Firefox\\/([0-9.]+)/:Pb?Q=/Chrome\\/([0-9.]+)/:Qb?Q=/Version\\/([0", - "-9.]+)/:Mb||Nb?Q=/Version\\/(\\S+).*Mobile\\/(\\S+)/:Ob?Q=/Android\\s+(", - "[0-9.]+)(?:.*Version\\/([0-9.]+))?/:Lb&&(Q=/Camino\\/([0-9.]+)/);Q&&Q.e", - "xec(ta());function Rb(){Sb&&(this[ca]||(this[ca]=++da))}var Sb=!1;funct", - "ion Tb(a){return Ub(a||arguments.callee.caller,[])}\nfunction Ub(a,b){v", - "ar c=[];if(z(b,a)>=0)c.push(\"[...circular reference...]\");else if(a&&", - "b.length<50){c.push(Vb(a)+\"(\");for(var d=a.arguments,e=0;e0&&c.push(\", \");var g;g=d[e];switch(typeof g){case \"object\":g", - "=g?\"object\":\"null\";break;case \"string\":break;case \"number\":g=St", - "ring(g);break;case \"boolean\":g=g?\"true\":\"false\";break;case \"func", - "tion\":g=(g=Vb(g))?g:\"[fn]\";break;default:g=typeof g}g.length>40&&(g=", - "g.substr(0,40)+\"...\");c.push(g)}b.push(a);c.push(\")\\n\");try{c.push", - "(Ub(a.caller,b))}catch(j){c.push(\"[exception trying to get caller]\\n", - "\")}}else a?\nc.push(\"[...long stack...]\"):c.push(\"[end]\");return c", - ".join(\"\")}function Vb(a){a=String(a);if(!Wb[a]){var b=/function ([^", - "\\(]+)/.exec(a);Wb[a]=b?b[1]:\"[Anonymous]\"}return Wb[a]}var Wb={};fun", - "ction R(a,b,c,d,e){this.reset(a,b,c,d,e)}R.prototype.oa=0;R.prototype.b", - "a=i;R.prototype.aa=i;var Xb=0;R.prototype.reset=function(a,b,c,d,e){thi", - "s.oa=typeof e==\"number\"?e:Xb++;this.Fa=d||ea();this.I=a;this.ma=b;thi", - "s.za=c;delete this.ba;delete this.aa};R.prototype.fa=function(a){this.I", - "=a};function S(a){this.na=a}S.prototype.Q=i;S.prototype.I=i;S.prototype", - ".T=i;S.prototype.da=i;function Yb(a,b){this.name=a;this.value=b}Yb.prot", - "otype.toString=l(\"name\");var Zb=new Yb(\"WARNING\",900),$b=new Yb(\"C", - "ONFIG\",700);S.prototype.getParent=l(\"Q\");S.prototype.fa=function(a){", - "this.I=a};function ac(a){if(a.I)return a.I;if(a.Q)return ac(a.Q);Ia(\"R", - "oot logger has no level set.\");return i}\nS.prototype.log=function(a,b", - ",c){if(a.value>=ac(this).value){a=this.ka(a,b,c);p.console&&p.console.m", - "arkTimeline&&p.console.markTimeline(\"log:\"+a.ma);for(b=this;b;){var c", - "=b,d=a;if(c.da)for(var e=0,g=h;g=c.da[e];e++)g(d);b=b.getParent()}}};\n", - "S.prototype.ka=function(a,b,c){var d=new R(a,String(b),this.na);if(c){d", - ".ba=c;var e;var g=arguments.callee.caller;try{var j;var k;c:{for(var o=", - "\"window.location.href\".split(\".\"),s=p,x;x=o.shift();)if(s[x]!=i)s=s", - "[x];else{k=i;break c}k=s}if(r(c))j={message:c,name:\"Unknown error\",li", - "neNumber:\"Not available\",fileName:k,stack:\"Not available\"};else{var", - " M,B,o=!1;try{M=c.lineNumber||c.ya||\"Not available\"}catch(V){M=\"Not ", - "available\",o=!0}try{B=c.fileName||c.filename||c.sourceURL||k}catch(Mc)", - "{B=\"Not available\",\no=!0}j=o||!c.lineNumber||!c.fileName||!c.stack?{", - "message:c.message,name:c.name,lineNumber:M,fileName:B,stack:c.stack||\"", - "Not available\"}:c}e=\"Message: \"+ha(j.message)+'\\nUrl: '+j.fileName+\"\\nLine: ", - "\"+j.lineNumber+\"\\n\\nBrowser stack:\\n\"+ha(j.stack+\"-> \")+\"[end]", - "\\n\\nJS stack traversal:\\n\"+ha(Tb(g)+\"-> \")}catch(Jc){e=\"Exceptio", - "n trying to expose exception! You win, we lose. \"+Jc}d.aa=e}return d};", - "var bc={},cc=i;\nfunction dc(a){cc||(cc=new S(\"\"),bc[\"\"]=cc,cc.fa($", - "b));var b;if(!(b=bc[a])){b=new S(a);var c=a.lastIndexOf(\".\"),d=a.subs", - "tr(c+1),c=dc(a.substr(0,c));if(!c.T)c.T={};c.T[d]=b;b.Q=c;bc[a]=b}retur", - "n b};function ec(){Rb.call(this)}t(ec,Rb);dc(\"goog.dom.SavedRange\");t", - "(function(a){Rb.call(this);this.qa=\"goog_\"+oa++;this.ja=\"goog_\"+oa+", - "+;this.Z=Va(a.V());a.M(this.Z.U(\"SPAN\",{id:this.qa}),this.Z.U(\"SPAN", - "\",{id:this.ja}))},ec);function T(){}function fc(a){if(a.getSelection)r", - "eturn a.getSelection();else{var a=a.document,b=a.selection;if(b){try{va", - "r c=b.createRange();if(c.parentElement){if(c.parentElement().document!=", - "a)return i}else if(!c.length||c.item(0).document!=a)return i}catch(d){r", - "eturn i}return b}return i}}function gc(a){for(var b=[],c=0,d=a.A();c=0&&this.l(d,1,0)<=0:this.l(d,0,0)>=0&&this.l(d,1,1)<=0}catch(e){f(", - "e)}};kc.prototype.containsNode=function(a,b){return this.s(ic(a),b)};kc", - ".prototype.z=function(){return new jc(this.b(),this.j(),this.g(),this.k", - "())};function lc(a){this.a=a}t(lc,kc);n=lc.prototype;n.w=function(){ret", - "urn this.a.commonAncestorContainer};n.b=function(){return this.a.startC", - "ontainer};n.j=function(){return this.a.startOffset};n.g=function(){retu", - "rn this.a.endContainer};n.k=function(){return this.a.endOffset};n.l=fun", - "ction(a,b,c){return this.a.compareBoundaryPoints(c==1?b==1?p.Range.STAR", - "T_TO_START:p.Range.START_TO_END:b==1?p.Range.END_TO_START:p.Range.END_T", - "O_END,a)};n.isCollapsed=function(){return this.a.collapsed};\nn.select=", - "function(a){this.R(D(C(this.b())).getSelection(),a)};n.R=function(a){a.", - "removeAllRanges();a.addRange(this.a)};n.insertNode=function(a,b){var c=", - "this.a.cloneRange();c.collapse(b);c.insertNode(a);c.detach();return a};", - "\nn.M=function(a,b){var c=D(C(this.b()));if(c=(c=fc(c||window))&&mc(c))", - "var d=c.b(),e=c.g(),g=c.j(),j=c.k();var k=this.a.cloneRange(),o=this.a.", - "cloneRange();k.collapse(!1);o.collapse(!0);k.insertNode(b);o.insertNode", - "(a);k.detach();o.detach();if(c){if(d.nodeType==A)for(;g>d.length;){g-=d", - ".length;do d=d.nextSibling;while(d==a||d==b)}if(e.nodeType==A)for(;j>e.", - "length;){j-=e.length;do e=e.nextSibling;while(e==a||e==b)}c=new nc;c.C=", - "oc(d,g,e,j);if(d.tagName==\"BR\")k=d.parentNode,g=z(k.childNodes,d),d=k", - ";if(e.tagName==\n\"BR\")k=e.parentNode,j=z(k.childNodes,e),e=k;c.C?(c.f", - "=e,c.i=j,c.d=d,c.h=g):(c.f=d,c.i=g,c.d=e,c.h=j);c.select()}};n.collapse", - "=function(a){this.a.collapse(a)};function pc(a){this.a=a}t(pc,lc);pc.pr", - "ototype.R=function(a,b){var c=b?this.g():this.b(),d=b?this.k():this.j()", - ",e=b?this.b():this.g(),g=b?this.j():this.k();a.collapse(c,d);(c!=e||d!=", - "g)&&a.extend(e,g)};function qc(a,b){this.a=a;this.ua=b}t(qc,kc);dc(\"go", - "og.dom.browserrange.IeRange\");function rc(a){var b=C(a).body.createTex", - "tRange();if(a.nodeType==1)b.moveToElementText(a),X(a)&&!a.childNodes.le", - "ngth&&b.collapse(!1);else{for(var c=0,d=a;d=d.previousSibling;){var e=d", - ".nodeType;if(e==A)c+=d.length;else if(e==1){b.moveToElementText(d);brea", - "k}}d||b.moveToElementText(a.parentNode);b.collapse(!d);c&&b.move(\"char", - "acter\",c);b.moveEnd(\"character\",a.length)}return b}n=qc.prototype;n.", - "J=i;n.f=i;n.d=i;n.i=-1;n.h=-1;\nn.q=function(){this.J=this.f=this.d=i;t", - "his.i=this.h=-1};\nn.w=function(){if(!this.J){var a=this.a.text,b=this.", - "a.duplicate(),c=a.replace(/ +$/,\"\");(c=a.length-c.length)&&b.moveEnd(", - "\"character\",-c);c=b.parentElement();b=b.htmlText.replace(/(\\r\\n|\\r", - "|\\n)+/g,\" \").length;if(this.isCollapsed()&&b>0)return this.J=c;for(;", - "b>c.outerHTML.replace(/(\\r\\n|\\r|\\n)+/g,\" \").length;)c=c.parentNod", - "e;for(;c.childNodes.length==1&&c.innerText==(c.firstChild.nodeType==A?c", - ".firstChild.nodeValue:c.firstChild.innerText);){if(!X(c.firstChild))bre", - "ak;c=c.firstChild}a.length==0&&(c=sc(this,\nc));this.J=c}return this.J}", - ";function sc(a,b){for(var c=b.childNodes,d=0,e=c.length;d=0&&a.l(j,1,0)<=0:a.a.inRange(j))return sc(a,g)}}return b", - "}n.b=function(){if(!this.f&&(this.f=tc(this,1),this.isCollapsed()))this", - ".d=this.f;return this.f};n.j=function(){if(this.i<0&&(this.i=uc(this,1)", - ",this.isCollapsed()))this.h=this.i;return this.i};\nn.g=function(){if(t", - "his.isCollapsed())return this.b();if(!this.d)this.d=tc(this,0);return t", - "his.d};n.k=function(){if(this.isCollapsed())return this.j();if(this.h<0", - "&&(this.h=uc(this,0),this.isCollapsed()))this.i=this.h;return this.h};n", - ".l=function(a,b,c){return this.a.compareEndPoints((b==1?\"Start\":\"End", - "\")+\"To\"+(c==1?\"Start\":\"End\"),a)};\nfunction tc(a,b,c){c=c||a.w()", - ";if(!c||!c.firstChild)return c;for(var d=b==1,e=0,g=c.childNodes.length", - ";e0)ret", - "urn tc(a,b,k)}return c}\nfunction uc(a,b){var c=b==1,d=c?a.b():a.g();if", - "(d.nodeType==1){for(var d=d.childNodes,e=d.length,g=c?1:-1,j=c?0:e-1;j>", - "=0&&j=0}if(d)return Y.S.l.call(this,a,b,c);", - "return this.a.compareBoundaryPoints(c==1?b==1?p.Range.START_TO_START:p.", - "Range.END_TO_START:b==1?p.Range.START_TO_END:p.Range.END_TO_END,a)};Y.p", - "rototype.R=function(a,b){a.removeAllRanges();b?a.setBaseAndExtent(this.", - "g(),this.k(),this.b(),this.j()):a.setBaseAndExtent(this.b(),this.j(),th", - "is.g(),this.k())};function X(a){var b;a:if(a.nodeType!=1)b=!1;else{swit", - "ch(a.tagName){case \"APPLET\":case \"AREA\":case \"BASE\":case \"BR\":c", - "ase \"COL\":case \"FRAME\":case \"HR\":case \"IMG\":case \"INPUT\":case", - " \"IFRAME\":case \"ISINDEX\":case \"LINK\":case \"NOFRAMES\":case \"NOS", - "CRIPT\":case \"META\":case \"OBJECT\":case \"PARAM\":case \"SCRIPT\":ca", - "se \"STYLE\":b=!1;break a}b=!0}return b||a.nodeType==A};function nc(){}", - "t(nc,T);function hc(a,b){var c=new nc;c.G=a;c.C=!!b;return c}n=nc.proto", - "type;n.G=i;n.f=i;n.i=i;n.d=i;n.h=i;n.C=!1;n.W=m(\"text\");n.P=function(", - "){return Z(this).a};n.q=function(){this.f=this.i=this.d=this.h=i};n.A=m", - "(1);n.u=function(){return this};function Z(a){var b;if(!(b=a.G)){b=a.b(", - ");var c=a.j(),d=a.g(),e=a.k(),g=C(b).createRange();g.setStart(b,c);g.se", - "tEnd(d,e);b=a.G=new Y(g)}return b}n.w=function(){return Z(this).w()};n.", - "b=function(){return this.f||(this.f=Z(this).b())};\nn.j=function(){retu", - "rn this.i!=i?this.i:this.i=Z(this).j()};n.g=function(){return this.d||(", - "this.d=Z(this).g())};n.k=function(){return this.h!=i?this.h:this.h=Z(th", - "is).k()};n.B=l(\"C\");n.s=function(a,b){var c=a.W();if(c==\"text\")retu", - "rn Z(this).s(Z(a),b);else if(c==\"control\")return c=xc(a),(b?Ma:Na)(c,", - "function(a){return this.containsNode(a,b)},this);return!1};n.isCollapse", - "d=function(){return Z(this).isCollapsed()};n.z=function(){return new jc", - "(this.b(),this.j(),this.g(),this.k())};n.select=function(){Z(this).sele", - "ct(this.C)};\nn.insertNode=function(a,b){var c=Z(this).insertNode(a,b);", - "this.q();return c};n.M=function(a,b){Z(this).M(a,b);this.q()};n.X=funct", - "ion(){return new yc(this)};n.collapse=function(a){a=this.B()?!a:a;this.", - "G&&this.G.collapse(a);a?(this.d=this.f,this.h=this.i):(this.f=this.d,th", - "is.i=this.h);this.C=!1};function yc(a){this.ra=a.B()?a.g():a.b();this.s", - "a=a.B()?a.k():a.j();this.va=a.B()?a.b():a.g();this.wa=a.B()?a.j():a.k()", - "}t(yc,ec);function zc(){}t(zc,W);n=zc.prototype;n.a=i;n.m=i;n.L=i;n.q=f", - "unction(){this.L=this.m=i};n.W=m(\"control\");n.P=function(){return thi", - "s.a||document.body.createControlRange()};n.A=function(){return this.a?t", - "his.a.length:0};n.u=function(a){a=this.a.item(a);return hc(ic(a),h)};n.", - "w=function(){return eb.apply(i,xc(this))};n.b=function(){return Ac(this", - ")[0]};n.j=m(0);n.g=function(){var a=Ac(this),b=y(a);return Oa(a,functio", - "n(a){return E(a,b)})};n.k=function(){return this.g().childNodes.length}", - ";\nfunction xc(a){if(!a.m&&(a.m=[],a.a))for(var b=0;b1&&this.la.log(Zb,\"getBrowserRangeObject called on MultiRange", - " with more than 1 range\",h);return this.r[0]};n.A=function(){return th", - "is.r.length};n.u=function(a){this.K[a]||(this.K[a]=hc(new Y(this.r[a]),", - "h));return this.K[a]};\nn.w=function(){if(!this.N){for(var a=[],b=0,c=t", - "his.A();b1){b=new", - " Dc;for(var c=0,e=a.rangeCount;c0};function Hc(a){return K(a,\"SELECT\")};function I", - "c(a,b){(!xb(a,!0)||!sb(a))&&f(new w(12,\"Element is not currently inter", - "actable and may not be manipulated\"));if(K(a,\"INPUT\")){var c=a.type.", - "toLowerCase();if(c==\"checkbox\"||c==\"radio\"){if(a.checked!=b&&(a.typ", - "e==\"radio\"&&!b&&f(new w(12,\"You may not deselect a radio button\")),", - "b!=lb(a)))a.checked=b,Bb(a)}else f(new w(15,\"You may not select an uns", - "electable input element: \"+a.type))}else if(K(a,\"OPTION\")){if(c=hb(a", - ",Hc),!c.multiple&&!b&&f(new w(15,\"You may not deselect an option withi", - "n a select that does not support multiple selections.\")),\nb!=lb(a))a.", - "selected=b,Bb(c)}else f(new w(15,\"You may not select an unselectable e", - "lement: \"+a.tagName))}var Kc=\"_\".split(\".\"),$=p;!(Kc[0]in $)&&$.ex", - "ecScript&&$.execScript(\"var \"+Kc[0]);for(var Lc;Kc.length&&(Lc=Kc.shi", - "ft());)!Kc.length&&Ic!==h?$[Lc]=Ic:$=$[Lc]?$[Lc]:$[Lc]={};; return this", - "._.apply(null,arguments);}.apply({navigator:typeof window!='undefined'?", - "window.navigator:null}, arguments);}", - NULL -}; - -const char* const SUBMIT[] = { - "function(){return function(){function f(a){throw a;}var h=void 0,i=null", - ";function l(a){return function(){return this[a]}}function m(a){return f", - "unction(){return a}}var o,p=this;\nfunction q(a){var b=typeof a;if(b==", - "\"object\")if(a){if(a instanceof Array)return\"array\";else if(a instan", - "ceof Object)return b;var c=Object.prototype.toString.call(a);if(c==\"[o", - "bject Window]\")return\"object\";if(c==\"[object Array]\"||typeof a.len", - "gth==\"number\"&&typeof a.splice!=\"undefined\"&&typeof a.propertyIsEnu", - "merable!=\"undefined\"&&!a.propertyIsEnumerable(\"splice\"))return\"arr", - "ay\";if(c==\"[object Function]\"||typeof a.call!=\"undefined\"&&typeof ", - "a.propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable(\"call\"", - "))return\"function\"}else return\"null\";\nelse if(b==\"function\"&&typ", - "eof a.call==\"undefined\")return\"object\";return b}function aa(a){var ", - "b=q(a);return b==\"array\"||b==\"object\"&&typeof a.length==\"number\"}", - "function r(a){return typeof a==\"string\"}function ba(a){a=q(a);return ", - "a==\"object\"||a==\"array\"||a==\"function\"}var ca=\"closure_uid_\"+Ma", - "th.floor(Math.random()*2147483648).toString(36),da=0,ea=Date.now||funct", - "ion(){return+new Date};function s(a,b){function c(){}c.prototype=b.prot", - "otype;a.S=b.prototype;a.prototype=new c;a.prototype.constructor=a};func", - "tion fa(a){for(var b=1;b\")!", - "=-1&&(a=a.replace(ka,\">\"));a.indexOf('\"')!=-1&&(a=a.replace(la,\"", - ""\"));return a}var ia=/&/g,ja=//g,la=/\\\"/g,ha=/[&<>\\\"", - "]/;function ma(a,b){if(ab)return 1;return 0}\nvar", - " na=Math.random()*2147483648|0;var oa,pa;function qa(){return p.navigat", - "or?p.navigator.userAgent:i}var ra,sa=p.navigator;ra=sa&&sa.platform||\"", - "\";oa=ra.indexOf(\"Mac\")!=-1;pa=ra.indexOf(\"Win\")!=-1;var u=ra.index", - "Of(\"Linux\")!=-1,ta,ua=\"\",va=/WebKit\\/(\\S+)/.exec(qa());ta=ua=va?v", - "a[1]:\"\";var wa={};function v(a){this.stack=Error().stack||\"\";if(a)t", - "his.message=String(a)}s(v,Error);v.prototype.name=\"CustomError\";funct", - "ion xa(a,b){for(var c in a)b.call(h,a[c],c,a)};function ya(a,b){v.call(", - "this,b);this.code=a;this.name=za[a]||za[13]}s(ya,v);\nvar za,Aa={NoSuch", - "ElementError:7,NoSuchFrameError:8,UnknownCommandError:9,StaleElementRef", - "erenceError:10,ElementNotVisibleError:11,InvalidElementStateError:12,Un", - "knownError:13,ElementNotSelectableError:15,XPathLookupError:19,NoSuchWi", - "ndowError:23,InvalidCookieDomainError:24,UnableToSetCookieError:25,Moda", - "lDialogOpenedError:26,NoModalDialogOpenError:27,ScriptTimeoutError:28,I", - "nvalidSelectorError:32,SqlDatabaseError:33,MoveTargetOutOfBoundsError:3", - "4},Ba={},Ca;for(Ca in Aa)Ba[Aa[Ca]]=Ca;za=Ba;\nya.prototype.toString=fu", - "nction(){return\"[\"+this.name+\"] \"+this.message};function Da(a,b){b.", - "unshift(a);v.call(this,fa.apply(i,b));b.shift();this.wa=a}s(Da,v);Da.pr", - "ototype.name=\"AssertionError\";function Ea(a,b){if(!a){var c=Array.pro", - "totype.slice.call(arguments,2),d=\"Assertion failed\";if(b){d+=\": \"+b", - ";var e=c}f(new Da(\"\"+d,e||[]))}}function Fa(a){f(new Da(\"Failure\"+(", - "a?\": \"+a:\"\"),Array.prototype.slice.call(arguments,1)))};function x(", - "a){return a[a.length-1]}var Ga=Array.prototype;function z(a,b){if(r(a))", - "{if(!r(b)||b.length!=1)return-1;return a.indexOf(b,0)}for(var c=0;c=0||(d.push(c[g]),e++);d=e==c", - ".length;a.className=b.join(\" \");return d};function Ra(a){return a?new", - " Sa(A(a)):Pa||(Pa=new Sa)}function Ta(a,b){xa(b,function(b,d){d==\"styl", - "e\"?a.style.cssText=b:d==\"class\"?a.className=b:d==\"for\"?a.htmlFor=b", - ":d in Ua?a.setAttribute(Ua[d],b):a[d]=b})}var Ua={cellpadding:\"cellPad", - "ding\",cellspacing:\"cellSpacing\",colspan:\"colSpan\",rowspan:\"rowSpa", - "n\",valign:\"vAlign\",height:\"height\",width:\"width\",usemap:\"useMap", - "\",frameborder:\"frameBorder\",maxlength:\"maxLength\",type:\"type\"};f", - "unction Va(a){return a?a.parentWindow||a.defaultView:window}\nfunction ", - "Wa(a,b,c){function d(c){c&&b.appendChild(r(c)?a.createTextNode(c):c)}fo", - "r(var e=2;e0)?Ha(X", - "a(g)?Na(g):g,d):d(g)}}function Ya(a){return a&&a.parentNode?a.parentNod", - "e.removeChild(a):i}function B(a,b){if(a.contains&&b.nodeType==1)return ", - "a==b||a.contains(b);if(typeof a.compareDocumentPosition!=\"undefined\")", - "return a==b||Boolean(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b", - ".parentNode;return b==a}\nfunction Za(a,b){if(a==b)return 0;if(a.compar", - "eDocumentPosition)return a.compareDocumentPosition(b)&2?1:-1;if(\"sourc", - "eIndex\"in a||a.parentNode&&\"sourceIndex\"in a.parentNode){var c=a.nod", - "eType==1,d=b.nodeType==1;if(c&&d)return a.sourceIndex-b.sourceIndex;els", - "e{var e=a.parentNode,g=b.parentNode;if(e==g)return $a(a,b);if(!c&&B(e,b", - "))return-1*ab(a,b);if(!d&&B(g,a))return ab(b,a);return(c?a.sourceIndex:", - "e.sourceIndex)-(d?b.sourceIndex:g.sourceIndex)}}d=A(a);c=d.createRange(", - ");c.selectNode(a);c.collapse(!0);d=\nd.createRange();d.selectNode(b);d.", - "collapse(!0);return c.compareBoundaryPoints(p.Range.START_TO_END,d)}fun", - "ction ab(a,b){var c=a.parentNode;if(c==b)return-1;for(var d=b;d.parentN", - "ode!=c;)d=d.parentNode;return $a(d,a)}function $a(a,b){for(var c=b;c=c.", - "previousSibling;)if(c==a)return-1;return 1}\nfunction bb(){var a,b=argu", - "ments.length;if(b){if(b==1)return arguments[0]}else return i;var c=[],d", - "=Infinity;for(a=0;a2&&Wa(a,d,b);retur", - "n d};o.createElement=function(a){return this.v.createElement(a)};\no.cr", - "eateTextNode=function(a){return this.v.createTextNode(a)};o.ba=function", - "(){return this.v.parentWindow||this.v.defaultView};o.appendChild=functi", - "on(a,b){a.appendChild(b)};o.removeNode=Ya;o.contains=B;var C=\"StopIter", - "ation\"in p?p.StopIteration:Error(\"StopIteration\");function D(){}D.pr", - "ototype.next=function(){f(C)};D.prototype.z=function(){return this};fun", - "ction cb(a){if(a instanceof D)return a;if(typeof a.z==\"function\")retu", - "rn a.z(!1);if(aa(a)){var b=0,c=new D;c.next=function(){for(;;)if(b>=a.l", - "ength&&f(C),b in a)return a[b++];else b++};return c}f(Error(\"Not imple", - "mented\"))};function E(a,b,c,d,e){this.n=!!b;a&&F(this,a,d);this.t=e!=h", - "?e:this.p||0;this.n&&(this.t*=-1);this.fa=!c}s(E,D);o=E.prototype;o.o=i", - ";o.p=0;o.Y=!1;function F(a,b,c,d){if(a.o=b)a.p=typeof c==\"number\"?c:a", - ".o.nodeType!=1?0:a.n?-1:1;if(typeof d==\"number\")a.t=d}\no.next=functi", - "on(){var a;if(this.Y){(!this.o||this.fa&&this.t==0)&&f(C);a=this.o;var ", - "b=this.n?-1:1;if(this.p==b){var c=this.n?a.lastChild:a.firstChild;c?F(t", - "his,c):F(this,a,b*-1)}else(c=this.n?a.previousSibling:a.nextSibling)?F(", - "this,c):F(this,a.parentNode,b*-1);this.t+=this.p*(this.n?-1:1)}else thi", - "s.Y=!0;(a=this.o)||f(C);return a};\no.splice=function(){var a=this.o,b=", - "this.n?1:-1;if(this.p==b)this.p=b*-1,this.t+=this.p*(this.n?-1:1);this.", - "n=!this.n;E.prototype.next.call(this);this.n=!this.n;for(var b=aa(argum", - "ents[0])?arguments[0]:arguments,c=b.length-1;c>=0;c--)a.parentNode&&a.p", - "arentNode.insertBefore(b[c],a.nextSibling);Ya(a)};function db(a,b,c,d){", - "E.call(this,a,b,c,i,d)}s(db,E);db.prototype.next=function(){do db.S.nex", - "t.call(this);while(this.p==-1);return this.o};function eb(a,b){return!!", - "a&&a.nodeType==1&&(!b||a.tagName.toUpperCase()==b)};function G(a,b,c){v", - "ar d=A(a),a=Va(d),e=c||{},c=e.clientX||0,g=e.clientY||0,j=e.button||0,k", - "=e.bubble||!0,n=e.related||i,w=!!e.alt,t=!!e.control,H=!!e.shift,e=!!e.", - "meta,d=d.createEvent(\"MouseEvents\");d.initMouseEvent(b,k,!0,a,1,0,0,c", - ",g,t,w,H,e,j,n);return d}function fb(a,b,c){var d=c||{},c=d.keyCode||0,", - "e=d.charCode||0,g=!!d.alt,j=!!d.ctrl,k=!!d.shift,d=!!d.meta,a=A(a).crea", - "teEvent(\"Events\");a.initEvent(b,!0,!0);a.keyCode=c;a.altKey=g;a.ctrlK", - "ey=j;a.metaKey=d;a.shiftKey=k;a.charCode=e;return a}\nfunction gb(a,b,c", - "){var d=A(a),e=c||{},c=e.bubble!==!1,g=!!e.alt,j=!!e.control,k=!!e.shif", - "t,e=!!e.meta;a.fireEvent&&d&&d.createEventObject&&!d.createEvent?(a=d.c", - "reateEventObject(),a.altKey=g,a.pa=j,a.metaKey=e,a.shiftKey=k):(a=d.cre", - "ateEvent(\"HTMLEvents\"),a.initEvent(b,c,!0),a.shiftKey=k,a.metaKey=e,a", - ".altKey=g,a.ctrlKey=j);return a}var I={};I.click=G;I.keydown=fb;I.keypr", - "ess=fb;I.keyup=fb;I.mousedown=G;I.mousemove=G;I.mouseout=G;I.mouseover=", - "G;I.mouseup=G;var hb={};function J(a,b,c){ba(a)&&(a=a.c);a=new ib(a,b,c", - ");if(b&&(!(b in hb)||c))hb[b]={key:a,shift:!1},c&&(hb[c]={key:a,shift:!", - "0})}function ib(a,b,c){this.code=a;this.ea=b||i;this.ya=c||this.ea}J(8)", - ";J(9);J(13);J(16);J(17);J(18);J(19);J(20);J(27);J(32,\" \");J(33);J(34)", - ";J(35);J(36);J(37);J(38);J(39);J(40);J(44);J(45);J(46);J(48,\"0\",\")\"", - ");J(49,\"1\",\"!\");J(50,\"2\",\"@\");J(51,\"3\",\"#\");J(52,\"4\",\"$", - "\");J(53,\"5\",\"%\");J(54,\"6\",\"^\");J(55,\"7\",\"&\");J(56,\"8\",\"", - "*\");J(57,\"9\",\"(\");J(65,\"a\",\"A\");J(66,\"b\",\"B\");J(67,\"c\",", - "\"C\");\nJ(68,\"d\",\"D\");J(69,\"e\",\"E\");J(70,\"f\",\"F\");J(71,\"g", - "\",\"G\");J(72,\"h\",\"H\");J(73,\"i\",\"I\");J(74,\"j\",\"J\");J(75,\"", - "k\",\"K\");J(76,\"l\",\"L\");J(77,\"m\",\"M\");J(78,\"n\",\"N\");J(79,", - "\"o\",\"O\");J(80,\"p\",\"P\");J(81,\"q\",\"Q\");J(82,\"r\",\"R\");J(83", - ",\"s\",\"S\");J(84,\"t\",\"T\");J(85,\"u\",\"U\");J(86,\"v\",\"V\");J(8", - "7,\"w\",\"W\");J(88,\"x\",\"X\");J(89,\"y\",\"Y\");J(90,\"z\",\"Z\");J(", - "pa?{e:91,c:91,opera:219}:oa?{e:224,c:91,opera:17}:{e:0,c:91,opera:i});J", - "(pa?{e:92,c:92,opera:220}:oa?{e:224,c:93,opera:17}:{e:0,c:92,opera:i});", - "\nJ(pa?{e:93,c:93,opera:0}:oa?{e:0,c:0,opera:16}:{e:93,c:i,opera:0});J(", - "{e:96,c:96,opera:48},\"0\");J({e:97,c:97,opera:49},\"1\");J({e:98,c:98,", - "opera:50},\"2\");J({e:99,c:99,opera:51},\"3\");J({e:100,c:100,opera:52}", - ",\"4\");J({e:101,c:101,opera:53},\"5\");J({e:102,c:102,opera:54},\"6\")", - ";J({e:103,c:103,opera:55},\"7\");J({e:104,c:104,opera:56},\"8\");J({e:1", - "05,c:105,opera:57},\"9\");J({e:106,c:106,opera:u?56:42},\"*\");J({e:107", - ",c:107,opera:u?61:43},\"+\");J({e:109,c:109,opera:u?109:45},\"-\");J({e", - ":110,c:110,opera:u?190:78},\".\");\nJ({e:111,c:111,opera:u?191:47},\"/", - "\");J(144);J(112);J(113);J(114);J(115);J(116);J(117);J(118);J(119);J(12", - "0);J(121);J(122);J(123);J({e:107,c:187,opera:61},\"=\",\"+\");J({e:109,", - "c:189,opera:109},\"-\",\"_\");J(188,\",\",\"<\");J(190,\".\",\">\");J(1", - "91,\"/\",\"?\");J(192,\"`\",\"~\");J(219,\"[\",\"{\");J(220,\"\\\\\",\"", - "|\");J(221,\"]\",\"}\");J({e:59,c:186,opera:59},\";\",\":\");J(222,\"'", - "\",'\"');var jb,kb,lb,mb,nb,ob,pb;pb=ob=nb=mb=lb=kb=jb=!1;var K=qa();K&", - "&(K.indexOf(\"Firefox\")!=-1?jb=!0:K.indexOf(\"Camino\")!=-1?kb=!0:K.in", - "dexOf(\"iPhone\")!=-1||K.indexOf(\"iPod\")!=-1?lb=!0:K.indexOf(\"iPad\"", - ")!=-1?mb=!0:K.indexOf(\"Android\")!=-1?nb=!0:K.indexOf(\"Chrome\")!=-1?", - "ob=!0:K.indexOf(\"Safari\")!=-1&&(pb=!0));var qb=kb,rb=lb,sb=mb,tb=nb,u", - "b=ob,vb=pb;var L;jb?L=/Firefox\\/([0-9.]+)/:ub?L=/Chrome\\/([0-9.]+)/:v", - "b?L=/Version\\/([0-9.]+)/:rb||sb?L=/Version\\/(\\S+).*Mobile\\/(\\S+)/:", - "tb?L=/Android\\s+([0-9.]+)(?:.*Version\\/([0-9.]+))?/:qb&&(L=/Camino\\/", - "([0-9.]+)/);L&&L.exec(qa());function wb(){xb&&(this[ca]||(this[ca]=++da", - "))}var xb=!1;function yb(a){return zb(a||arguments.callee.caller,[])}\n", - "function zb(a,b){var c=[];if(z(b,a)>=0)c.push(\"[...circular reference.", - "..]\");else if(a&&b.length<50){c.push(Ab(a)+\"(\");for(var d=a.argument", - "s,e=0;e0&&c.push(\", \");var g;g=d[e];switch(typeof g)", - "{case \"object\":g=g?\"object\":\"null\";break;case \"string\":break;ca", - "se \"number\":g=String(g);break;case \"boolean\":g=g?\"true\":\"false\"", - ";break;case \"function\":g=(g=Ab(g))?g:\"[fn]\";break;default:g=typeof ", - "g}g.length>40&&(g=g.substr(0,40)+\"...\");c.push(g)}b.push(a);c.push(\"", - ")\\n\");try{c.push(zb(a.caller,b))}catch(j){c.push(\"[exception trying ", - "to get caller]\\n\")}}else a?\nc.push(\"[...long stack...]\"):c.push(\"", - "[end]\");return c.join(\"\")}function Ab(a){a=String(a);if(!Bb[a]){var ", - "b=/function ([^\\(]+)/.exec(a);Bb[a]=b?b[1]:\"[Anonymous]\"}return Bb[a", - "]}var Bb={};function M(a,b,c,d,e){this.reset(a,b,c,d,e)}M.prototype.la=", - "0;M.prototype.aa=i;M.prototype.$=i;var Cb=0;M.prototype.reset=function(", - "a,b,c,d,e){this.la=typeof e==\"number\"?e:Cb++;this.za=d||ea();this.I=a", - ";this.ja=b;this.va=c;delete this.aa;delete this.$};M.prototype.da=funct", - "ion(a){this.I=a};function N(a){this.ka=a}N.prototype.Q=i;N.prototype.I=", - "i;N.prototype.T=i;N.prototype.ca=i;function Db(a,b){this.name=a;this.va", - "lue=b}Db.prototype.toString=l(\"name\");var Eb=new Db(\"WARNING\",900),", - "Fb=new Db(\"CONFIG\",700);N.prototype.getParent=l(\"Q\");N.prototype.da", - "=function(a){this.I=a};function Gb(a){if(a.I)return a.I;if(a.Q)return G", - "b(a.Q);Fa(\"Root logger has no level set.\");return i}\nN.prototype.log", - "=function(a,b,c){if(a.value>=Gb(this).value){a=this.ha(a,b,c);p.console", - "&&p.console.markTimeline&&p.console.markTimeline(\"log:\"+a.ja);for(b=t", - "his;b;){var c=b,d=a;if(c.ca)for(var e=0,g=h;g=c.ca[e];e++)g(d);b=b.getP", - "arent()}}};\nN.prototype.ha=function(a,b,c){var d=new M(a,String(b),thi", - "s.ka);if(c){d.aa=c;var e;var g=arguments.callee.caller;try{var j;var k;", - "c:{for(var n=\"window.location.href\".split(\".\"),w=p,t;t=n.shift();)i", - "f(w[t]!=i)w=w[t];else{k=i;break c}k=w}if(r(c))j={message:c,name:\"Unkno", - "wn error\",lineNumber:\"Not available\",fileName:k,stack:\"Not availabl", - "e\"};else{var H,y,n=!1;try{H=c.lineNumber||c.ua||\"Not available\"}catc", - "h(P){H=\"Not available\",n=!0}try{y=c.fileName||c.filename||c.sourceURL", - "||k}catch(lc){y=\"Not available\",\nn=!0}j=n||!c.lineNumber||!c.fileNam", - "e||!c.stack?{message:c.message,name:c.name,lineNumber:H,fileName:y,stac", - "k:c.stack||\"Not available\"}:c}e=\"Message: \"+ga(j.message)+'\\nUrl: ", - "'+j.fileName+\"<", - "/a>\\nLine: \"+j.lineNumber+\"\\n\\nBrowser stack:\\n\"+ga(j.stack+\"->", - " \")+\"[end]\\n\\nJS stack traversal:\\n\"+ga(yb(g)+\"-> \")}catch(jc){", - "e=\"Exception trying to expose exception! You win, we lose. \"+jc}d.$=e", - "}return d};var Hb={},Ib=i;\nfunction Jb(a){Ib||(Ib=new N(\"\"),Hb[\"\"]", - "=Ib,Ib.da(Fb));var b;if(!(b=Hb[a])){b=new N(a);var c=a.lastIndexOf(\".", - "\"),d=a.substr(c+1),c=Jb(a.substr(0,c));if(!c.T)c.T={};c.T[d]=b;b.Q=c;H", - "b[a]=b}return b};function O(){wb.call(this)}s(O,wb);Jb(\"goog.dom.Saved", - "Range\");s(function(a){wb.call(this);this.ma=\"goog_\"+na++;this.ga=\"g", - "oog_\"+na++;this.Z=Ra(a.V());a.M(this.Z.U(\"SPAN\",{id:this.ma}),this.Z", - ".U(\"SPAN\",{id:this.ga}))},O);function Q(){}function Kb(a){if(a.getSel", - "ection)return a.getSelection();else{var a=a.document,b=a.selection;if(b", - "){try{var c=b.createRange();if(c.parentElement){if(c.parentElement().do", - "cument!=a)return i}else if(!c.length||c.item(0).document!=a)return i}ca", - "tch(d){return i}return b}return i}}function Lb(a){for(var b=[],c=0,d=a.", - "A();c=0&&this.l(d,1,0)<=0:this.l(d,0,0)>=0&&this.l(d,1,1)<=0}catch(e){", - "f(e)}};V.prototype.containsNode=function(a,b){return this.s(R(a),b)};V.", - "prototype.z=function(){return new U(this.b(),this.j(),this.g(),this.k()", - ")};function W(a){this.a=a}s(W,V);o=W.prototype;o.w=function(){return th", - "is.a.commonAncestorContainer};o.b=function(){return this.a.startContain", - "er};o.j=function(){return this.a.startOffset};o.g=function(){return thi", - "s.a.endContainer};o.k=function(){return this.a.endOffset};o.l=function(", - "a,b,c){return this.a.compareBoundaryPoints(c==1?b==1?p.Range.START_TO_S", - "TART:p.Range.START_TO_END:b==1?p.Range.END_TO_START:p.Range.END_TO_END,", - "a)};o.isCollapsed=function(){return this.a.collapsed};\no.select=functi", - "on(a){this.R(Va(A(this.b())).getSelection(),a)};o.R=function(a){a.remov", - "eAllRanges();a.addRange(this.a)};o.insertNode=function(a,b){var c=this.", - "a.cloneRange();c.collapse(b);c.insertNode(a);c.detach();return a};\no.M", - "=function(a,b){var c=Va(A(this.b()));if(c=(c=Kb(c||window))&&Nb(c))var ", - "d=c.b(),e=c.g(),g=c.j(),j=c.k();var k=this.a.cloneRange(),n=this.a.clon", - "eRange();k.collapse(!1);n.collapse(!0);k.insertNode(b);n.insertNode(a);", - "k.detach();n.detach();if(c){if(d.nodeType==3)for(;g>d.length;){g-=d.len", - "gth;do d=d.nextSibling;while(d==a||d==b)}if(e.nodeType==3)for(;j>e.leng", - "th;){j-=e.length;do e=e.nextSibling;while(e==a||e==b)}c=new Ob;c.C=Pb(d", - ",g,e,j);if(d.tagName==\"BR\")k=d.parentNode,g=z(k.childNodes,d),d=k;if(", - "e.tagName==\n\"BR\")k=e.parentNode,j=z(k.childNodes,e),e=k;c.C?(c.f=e,c", - ".i=j,c.d=d,c.h=g):(c.f=d,c.i=g,c.d=e,c.h=j);c.select()}};o.collapse=fun", - "ction(a){this.a.collapse(a)};function Qb(a){this.a=a}s(Qb,W);Qb.prototy", - "pe.R=function(a,b){var c=b?this.g():this.b(),d=b?this.k():this.j(),e=b?", - "this.b():this.g(),g=b?this.j():this.k();a.collapse(c,d);(c!=e||d!=g)&&a", - ".extend(e,g)};function Rb(a,b){this.a=a;this.qa=b}s(Rb,V);Jb(\"goog.dom", - ".browserrange.IeRange\");function Sb(a){var b=A(a).body.createTextRange", - "();if(a.nodeType==1)b.moveToElementText(a),X(a)&&!a.childNodes.length&&", - "b.collapse(!1);else{for(var c=0,d=a;d=d.previousSibling;){var e=d.nodeT", - "ype;if(e==3)c+=d.length;else if(e==1){b.moveToElementText(d);break}}d||", - "b.moveToElementText(a.parentNode);b.collapse(!d);c&&b.move(\"character", - "\",c);b.moveEnd(\"character\",a.length)}return b}o=Rb.prototype;o.J=i;o", - ".f=i;o.d=i;o.i=-1;o.h=-1;\no.q=function(){this.J=this.f=this.d=i;this.i", - "=this.h=-1};\no.w=function(){if(!this.J){var a=this.a.text,b=this.a.dup", - "licate(),c=a.replace(/ +$/,\"\");(c=a.length-c.length)&&b.moveEnd(\"cha", - "racter\",-c);c=b.parentElement();b=b.htmlText.replace(/(\\r\\n|\\r|\\n)", - "+/g,\" \").length;if(this.isCollapsed()&&b>0)return this.J=c;for(;b>c.o", - "uterHTML.replace(/(\\r\\n|\\r|\\n)+/g,\" \").length;)c=c.parentNode;for", - "(;c.childNodes.length==1&&c.innerText==(c.firstChild.nodeType==3?c.firs", - "tChild.nodeValue:c.firstChild.innerText);){if(!X(c.firstChild))break;c=", - "c.firstChild}a.length==0&&(c=Tb(this,\nc));this.J=c}return this.J};func", - "tion Tb(a,b){for(var c=b.childNodes,d=0,e=c.length;d=0&&a.l(j,1,0)<=0:a.a.inRange(j))return Tb(a,g)}}return b}o.b=", - "function(){if(!this.f&&(this.f=Ub(this,1),this.isCollapsed()))this.d=th", - "is.f;return this.f};o.j=function(){if(this.i<0&&(this.i=Vb(this,1),this", - ".isCollapsed()))this.h=this.i;return this.i};\no.g=function(){if(this.i", - "sCollapsed())return this.b();if(!this.d)this.d=Ub(this,0);return this.d", - "};o.k=function(){if(this.isCollapsed())return this.j();if(this.h<0&&(th", - "is.h=Vb(this,0),this.isCollapsed()))this.i=this.h;return this.h};o.l=fu", - "nction(a,b,c){return this.a.compareEndPoints((b==1?\"Start\":\"End\")+", - "\"To\"+(c==1?\"Start\":\"End\"),a)};\nfunction Ub(a,b,c){c=c||a.w();if(", - "!c||!c.firstChild)return c;for(var d=b==1,e=0,g=c.childNodes.length;e0)return U", - "b(a,b,k)}return c}\nfunction Vb(a,b){var c=b==1,d=c?a.b():a.g();if(d.no", - "deType==1){for(var d=d.childNodes,e=d.length,g=c?1:-1,j=c?0:e-1;j>=0&&j", - "=0}if(d)return Y.S.l.call(this,a,b,c);", - "return this.a.compareBoundaryPoints(c==1?b==1?p.Range.START_TO_START:p.", - "Range.END_TO_START:b==1?p.Range.START_TO_END:p.Range.END_TO_END,a)};Y.p", - "rototype.R=function(a,b){a.removeAllRanges();b?a.setBaseAndExtent(this.", - "g(),this.k(),this.b(),this.j()):a.setBaseAndExtent(this.b(),this.j(),th", - "is.g(),this.k())};function X(a){var b;a:if(a.nodeType!=1)b=!1;else{swit", - "ch(a.tagName){case \"APPLET\":case \"AREA\":case \"BASE\":case \"BR\":c", - "ase \"COL\":case \"FRAME\":case \"HR\":case \"IMG\":case \"INPUT\":case", - " \"IFRAME\":case \"ISINDEX\":case \"LINK\":case \"NOFRAMES\":case \"NOS", - "CRIPT\":case \"META\":case \"OBJECT\":case \"PARAM\":case \"SCRIPT\":ca", - "se \"STYLE\":b=!1;break a}b=!0}return b||a.nodeType==3};function Ob(){}", - "s(Ob,Q);function Mb(a,b){var c=new Ob;c.G=a;c.C=!!b;return c}o=Ob.proto", - "type;o.G=i;o.f=i;o.i=i;o.d=i;o.h=i;o.C=!1;o.W=m(\"text\");o.P=function(", - "){return Z(this).a};o.q=function(){this.f=this.i=this.d=this.h=i};o.A=m", - "(1);o.u=function(){return this};function Z(a){var b;if(!(b=a.G)){b=a.b(", - ");var c=a.j(),d=a.g(),e=a.k(),g=A(b).createRange();g.setStart(b,c);g.se", - "tEnd(d,e);b=a.G=new Y(g)}return b}o.w=function(){return Z(this).w()};o.", - "b=function(){return this.f||(this.f=Z(this).b())};\no.j=function(){retu", - "rn this.i!=i?this.i:this.i=Z(this).j()};o.g=function(){return this.d||(", - "this.d=Z(this).g())};o.k=function(){return this.h!=i?this.h:this.h=Z(th", - "is).k()};o.B=l(\"C\");o.s=function(a,b){var c=a.W();if(c==\"text\")retu", - "rn Z(this).s(Z(a),b);else if(c==\"control\")return c=Yb(a),(b?Ja:Ka)(c,", - "function(a){return this.containsNode(a,b)},this);return!1};o.isCollapse", - "d=function(){return Z(this).isCollapsed()};o.z=function(){return new U(", - "this.b(),this.j(),this.g(),this.k())};o.select=function(){Z(this).selec", - "t(this.C)};\no.insertNode=function(a,b){var c=Z(this).insertNode(a,b);t", - "his.q();return c};o.M=function(a,b){Z(this).M(a,b);this.q()};o.X=functi", - "on(){return new Zb(this)};o.collapse=function(a){a=this.B()?!a:a;this.G", - "&&this.G.collapse(a);a?(this.d=this.f,this.h=this.i):(this.f=this.d,thi", - "s.i=this.h);this.C=!1};function Zb(a){this.na=a.B()?a.g():a.b();this.oa", - "=a.B()?a.k():a.j();this.ra=a.B()?a.b():a.g();this.sa=a.B()?a.j():a.k()}", - "s(Zb,O);function $b(){}s($b,T);o=$b.prototype;o.a=i;o.m=i;o.L=i;o.q=fun", - "ction(){this.L=this.m=i};o.W=m(\"control\");o.P=function(){return this.", - "a||document.body.createControlRange()};o.A=function(){return this.a?thi", - "s.a.length:0};o.u=function(a){a=this.a.item(a);return Mb(R(a),h)};o.w=f", - "unction(){return bb.apply(i,Yb(this))};o.b=function(){return ac(this)[0", - "]};o.j=m(0);o.g=function(){var a=ac(this),b=x(a);return La(a,function(a", - "){return B(a,b)})};o.k=function(){return this.g().childNodes.length};\n", - "function Yb(a){if(!a.m&&(a.m=[],a.a))for(var b=0;b1&&this.ia.log(Eb,\"getBrowserRangeObject called on MultiRange wit", - "h more than 1 range\",h);return this.r[0]};o.A=function(){return this.r", - ".length};o.u=function(a){this.K[a]||(this.K[a]=Mb(new Y(this.r[a]),h));", - "return this.K[a]};\no.w=function(){if(!this.N){for(var a=[],b=0,c=this.", - "A();b1){b=new dc;f", - "or(var c=0,e=a.rangeCount;c0};function hc(a){a:{for(var b=0;a;){if(eb(a,\"FORM\"))br", - "eak a;a=a.parentNode;b++}a=i}a||f(new ya(12,\"Element was not in a form", - ", so could not submit.\"));eb(a,\"FORM\")||f(new ya(12,\"Element was no", - "t in a form, so could not submit.\"));b=(I.submit||gb)(a,\"submit\",h);", - "if(!(\"isTrusted\"in b))b.ta=!1;a.dispatchEvent(b)&&(eb(a.submit)?a.con", - "structor.prototype.submit.call(a):a.submit())}var ic=\"_\".split(\".\")", - ",$=p;!(ic[0]in $)&&$.execScript&&$.execScript(\"var \"+ic[0]);\nfor(var", - " kc;ic.length&&(kc=ic.shift());)!ic.length&&hc!==h?$[kc]=hc:$=$[kc]?$[k", - "c]:$[kc]={};; return this._.apply(null,arguments);}.apply({navigator:ty", - "peof window!='undefined'?window.navigator:null}, arguments);}", - NULL -}; - -const char* const TOGGLE[] = { - "function(){return function(){function f(a){throw a;}var h=void 0,i=null", - ";function l(a){return function(){return this[a]}}function m(a){return f", - "unction(){return a}}var n,p=this;\nfunction q(a){var b=typeof a;if(b==", - "\"object\")if(a){if(a instanceof Array)return\"array\";else if(a instan", - "ceof Object)return b;var c=Object.prototype.toString.call(a);if(c==\"[o", - "bject Window]\")return\"object\";if(c==\"[object Array]\"||typeof a.len", - "gth==\"number\"&&typeof a.splice!=\"undefined\"&&typeof a.propertyIsEnu", - "merable!=\"undefined\"&&!a.propertyIsEnumerable(\"splice\"))return\"arr", - "ay\";if(c==\"[object Function]\"||typeof a.call!=\"undefined\"&&typeof ", - "a.propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable(\"call\"", - "))return\"function\"}else return\"null\";\nelse if(b==\"function\"&&typ", - "eof a.call==\"undefined\")return\"object\";return b}function aa(a){var ", - "b=q(a);return b==\"array\"||b==\"object\"&&typeof a.length==\"number\"}", - "function r(a){return typeof a==\"string\"}function ba(a){a=q(a);return ", - "a==\"object\"||a==\"array\"||a==\"function\"}var ca=\"closure_uid_\"+Ma", - "th.floor(Math.random()*2147483648).toString(36),da=0,ea=Date.now||funct", - "ion(){return+new Date};function s(a,b){function c(){}c.prototype=b.prot", - "otype;a.S=b.prototype;a.prototype=new c};function fa(a){for(var b=1;b\")!=-1&&(a=a.replace(la,\">\"", - "));a.indexOf('\"')!=-1&&(a=a.replace(ma,\""\"));return a}var ja=/&", - "/g,ka=//g,ma=/\\\"/g,ia=/[&<>\\\"]/;\nfunction na(a,b){if(ab)return 1;return 0}var oa=Math.random()*2147483648|", - "0,pa={};function qa(a){return pa[a]||(pa[a]=String(a).replace(/\\-([a-z", - "])/g,function(a,c){return c.toUpperCase()}))};var ra,sa;function ta(){r", - "eturn p.navigator?p.navigator.userAgent:i}var ua,va=p.navigator;ua=va&&", - "va.platform||\"\";ra=ua.indexOf(\"Mac\")!=-1;sa=ua.indexOf(\"Win\")!=-1", - ";var u=ua.indexOf(\"Linux\")!=-1,wa,xa=\"\",ya=/WebKit\\/(\\S+)/.exec(t", - "a());wa=xa=ya?ya[1]:\"\";var za={};var Aa=window;function v(a){this.sta", - "ck=Error().stack||\"\";if(a)this.message=String(a)}s(v,Error);v.prototy", - "pe.name=\"CustomError\";function Ba(a,b){for(var c in a)b.call(h,a[c],c", - ",a)};function w(a,b){v.call(this,b);this.code=a;this.name=Ca[a]||Ca[13]", - "}s(w,v);\nvar Ca,Da={NoSuchElementError:7,NoSuchFrameError:8,UnknownCom", - "mandError:9,StaleElementReferenceError:10,ElementNotVisibleError:11,Inv", - "alidElementStateError:12,UnknownError:13,ElementNotSelectableError:15,X", - "PathLookupError:19,NoSuchWindowError:23,InvalidCookieDomainError:24,Una", - "bleToSetCookieError:25,ModalDialogOpenedError:26,NoModalDialogOpenError", - ":27,ScriptTimeoutError:28,InvalidSelectorError:32,SqlDatabaseError:33,M", - "oveTargetOutOfBoundsError:34},Ea={},Fa;for(Fa in Da)Ea[Da[Fa]]=Fa;Ca=Ea", - ";\nw.prototype.toString=function(){return\"[\"+this.name+\"] \"+this.me", - "ssage};function Ga(a,b){b.unshift(a);v.call(this,fa.apply(i,b));b.shift", - "();this.Ba=a}s(Ga,v);Ga.prototype.name=\"AssertionError\";function Ha(a", - ",b){if(!a){var c=Array.prototype.slice.call(arguments,2),d=\"Assertion ", - "failed\";if(b){d+=\": \"+b;var e=c}f(new Ga(\"\"+d,e||[]))}}function Ia", - "(a){f(new Ga(\"Failure\"+(a?\": \"+a:\"\"),Array.prototype.slice.call(a", - "rguments,1)))};function y(a){return a[a.length-1]}var Ja=Array.prototyp", - "e;function z(a,b){if(r(a)){if(!r(b)||b.length!=1)return-1;return a.inde", - "xOf(b,0)}for(var c=0;c=0", - "||(d.push(c[g]),e++);d=e==c.length;a.className=b.join(\" \");return d};", - "function Ua(a,b){this.width=a;this.height=b}Ua.prototype.toString=funct", - "ion(){return\"(\"+this.width+\" x \"+this.height+\")\"};Ua.prototype.fl", - "oor=function(){this.width=Math.floor(this.width);this.height=Math.floor", - "(this.height);return this};var A=3;function Va(a){return a?new Wa(C(a))", - ":Sa||(Sa=new Wa)}function Xa(a,b){Ba(b,function(b,d){d==\"style\"?a.sty", - "le.cssText=b:d==\"class\"?a.className=b:d==\"for\"?a.htmlFor=b:d in Ya?", - "a.setAttribute(Ya[d],b):a[d]=b})}var Ya={cellpadding:\"cellPadding\",ce", - "llspacing:\"cellSpacing\",colspan:\"colSpan\",rowspan:\"rowSpan\",valig", - "n:\"vAlign\",height:\"height\",width:\"width\",usemap:\"useMap\",frameb", - "order:\"frameBorder\",maxlength:\"maxLength\",type:\"type\"};function D", - "(a){return a?a.parentWindow||a.defaultView:window}\nfunction Za(a,b,c){", - "function d(c){c&&b.appendChild(r(c)?a.createTextNode(c):c)}for(var e=2;", - "e0)?Ka($a(g)?Qa(g)", - ":g,d):d(g)}}function ab(a){return a&&a.parentNode?a.parentNode.removeCh", - "ild(a):i}function E(a,b){if(a.contains&&b.nodeType==1)return a==b||a.co", - "ntains(b);if(typeof a.compareDocumentPosition!=\"undefined\")return a==", - "b||Boolean(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNod", - "e;return b==a}\nfunction bb(a,b){if(a==b)return 0;if(a.compareDocumentP", - "osition)return a.compareDocumentPosition(b)&2?1:-1;if(\"sourceIndex\"in", - " a||a.parentNode&&\"sourceIndex\"in a.parentNode){var c=a.nodeType==1,d", - "=b.nodeType==1;if(c&&d)return a.sourceIndex-b.sourceIndex;else{var e=a.", - "parentNode,g=b.parentNode;if(e==g)return cb(a,b);if(!c&&E(e,b))return-1", - "*db(a,b);if(!d&&E(g,a))return db(b,a);return(c?a.sourceIndex:e.sourceIn", - "dex)-(d?b.sourceIndex:g.sourceIndex)}}d=C(a);c=d.createRange();c.select", - "Node(a);c.collapse(!0);d=\nd.createRange();d.selectNode(b);d.collapse(!", - "0);return c.compareBoundaryPoints(p.Range.START_TO_END,d)}function db(a", - ",b){var c=a.parentNode;if(c==b)return-1;for(var d=b;d.parentNode!=c;)d=", - "d.parentNode;return cb(d,a)}function cb(a,b){for(var c=b;c=c.previousSi", - "bling;)if(c==a)return-1;return 1}\nfunction eb(){var a,b=arguments.leng", - "th;if(b){if(b==1)return arguments[0]}else return i;var c=[],d=Infinity;", - "for(a=0;a2&&Za(a,d,b);return d};n.createEl", - "ement=function(a){return this.v.createElement(a)};n.createTextNode=func", - "tion(a){return this.v.createTextNode(a)};n.ca=function(){return this.v.", - "parentWindow||this.v.defaultView};n.appendChild=function(a,b){a.appendC", - "hild(b)};n.removeNode=ab;n.contains=E;var F={};F.ga=function(){var a={E", - "a:\"http://www.w3.org/2000/svg\"};return function(b){return a[b]||i}}()", - ";F.$=function(a,b,c){var d=C(a);if(!d.implementation.hasFeature(\"XPath", - "\",\"3.0\"))return i;var e=d.createNSResolver?d.createNSResolver(d.docu", - "mentElement):F.ga;return d.evaluate(b,a,e,c,i)};F.ea=function(a){return", - "\"NS_ERROR_ILLEGAL_VALUE\"!=a.name};\nF.pa=function(a,b){var c=function", - "(b,c){var g=C(b);try{if(b.selectSingleNode)return g.setProperty&&g.setP", - "roperty(\"SelectionLanguage\",\"XPath\"),b.selectSingleNode(c);var j=F.", - "$(b,c,9);return j?j.singleNodeValue:i}catch(k){return F.ea(k)&&f(new w(", - "32,\"Unable to locate an element with the xpath expression \"+a+\" beca", - "use of the following error:\\n\"+k)),i}}(b,a);if(!c)return i;c.nodeType", - "!=1&&f(new w(32,'The result of the xpath expression \"'+a+'\" is: '+c+", - "\". It should be an element.\"));return c};\nF.Aa=function(a,b){var c=f", - "unction(a,b){var c=C(a),j;try{if(a.selectNodes)return c.setProperty&&c.", - "setProperty(\"SelectionLanguage\",\"XPath\"),a.selectNodes(b);j=F.$(a,b", - ",7)}catch(k){F.ea(k)&&f(new w(32,\"Unable to locate elements with the x", - "path expression \"+b+\" because of the following error:\\n\"+k))}c=[];i", - "f(j)for(var o=j.snapshotLength,t=0;t=a.length&&f(G),b in a)return a[b++];else b+", - "+};return c}f(Error(\"Not implemented\"))};function I(a,b,c,d,e){this.n", - "=!!b;a&&J(this,a,d);this.t=e!=h?e:this.p||0;this.n&&(this.t*=-1);this.i", - "a=!c}s(I,H);n=I.prototype;n.o=i;n.p=0;n.Y=!1;function J(a,b,c,d){if(a.o", - "=b)a.p=typeof c==\"number\"?c:a.o.nodeType!=1?0:a.n?-1:1;if(typeof d==", - "\"number\")a.t=d}\nn.next=function(){var a;if(this.Y){(!this.o||this.ia", - "&&this.t==0)&&f(G);a=this.o;var b=this.n?-1:1;if(this.p==b){var c=this.", - "n?a.lastChild:a.firstChild;c?J(this,c):J(this,a,b*-1)}else(c=this.n?a.p", - "reviousSibling:a.nextSibling)?J(this,c):J(this,a.parentNode,b*-1);this.", - "t+=this.p*(this.n?-1:1)}else this.Y=!0;(a=this.o)||f(G);return a};\nn.s", - "plice=function(){var a=this.o,b=this.n?1:-1;if(this.p==b)this.p=b*-1,th", - "is.t+=this.p*(this.n?-1:1);this.n=!this.n;I.prototype.next.call(this);t", - "his.n=!this.n;for(var b=aa(arguments[0])?arguments[0]:arguments,c=b.len", - "gth-1;c>=0;c--)a.parentNode&&a.parentNode.insertBefore(b[c],a.nextSibli", - "ng);ab(a)};function jb(a,b,c,d){I.call(this,a,b,c,i,d)}s(jb,I);jb.proto", - "type.next=function(){do jb.S.next.call(this);while(this.p==-1);return t", - "his.o};function kb(a,b){var c=C(a);if(c.defaultView&&c.defaultView.getC", - "omputedStyle&&(c=c.defaultView.getComputedStyle(a,i)))return c[b]||c.ge", - "tPropertyValue(b);return\"\"};function K(a,b){return!!a&&a.nodeType==1&", - "&(!b||a.tagName.toUpperCase()==b)}function lb(a){var b;K(a,\"OPTION\")?", - "b=!0:K(a,\"INPUT\")?(b=a.type.toLowerCase(),b=b==\"checkbox\"||b==\"rad", - "io\"):b=!1;b||f(new w(15,\"Element is not selectable\"));b=\"selected\"", - ";var c=a.type&&a.type.toLowerCase();if(\"checkbox\"==c||\"radio\"==c)b=", - "\"checked\";return!!mb(a,b)}var nb={\"class\":\"className\",readonly:\"", - "readOnly\"},ob=[\"checked\",\"disabled\",\"draggable\",\"hidden\"];\nfu", - "nction mb(a,b){var c=nb[b]||b,d=a[c];if(d===h&&z(ob,c)>=0)return!1;retu", - "rn d}\nvar pb=[\"async\",\"autofocus\",\"autoplay\",\"checked\",\"compa", - "ct\",\"complete\",\"controls\",\"declare\",\"defaultchecked\",\"default", - "selected\",\"defer\",\"disabled\",\"draggable\",\"ended\",\"formnovalid", - "ate\",\"hidden\",\"indeterminate\",\"iscontenteditable\",\"ismap\",\"it", - "emscope\",\"loop\",\"multiple\",\"muted\",\"nohref\",\"noresize\",\"nos", - "hade\",\"novalidate\",\"nowrap\",\"open\",\"paused\",\"pubdate\",\"read", - "only\",\"required\",\"reversed\",\"scoped\",\"seamless\",\"seeking\",\"", - "selected\",\"spellcheck\",\"truespeed\",\"willvalidate\"];\nfunction qb", - "(a){var b;if(8==a.nodeType)return i;b=\"usemap\";if(b==\"style\")return", - " b=ga(a.style.cssText).toLowerCase(),b.charAt(b.length-1)==\";\"?b:b+\"", - ";\";a=a.getAttributeNode(b);if(!a)return i;if(z(pb,b)>=0)return\"true\"", - ";return a.specified?a.value:i}var rb=[\"BUTTON\",\"INPUT\",\"OPTGROUP\"", - ",\"OPTION\",\"SELECT\",\"TEXTAREA\"];\nfunction sb(a){var b=a.tagName.t", - "oUpperCase();if(!(z(rb,b)>=0))return!0;if(mb(a,\"disabled\"))return!1;i", - "f(a.parentNode&&a.parentNode.nodeType==1&&\"OPTGROUP\"==b||\"OPTION\"==", - "b)return sb(a.parentNode);return!0}function tb(a){for(a=a.parentNode;a&", - "&a.nodeType!=1&&a.nodeType!=9&&a.nodeType!=11;)a=a.parentNode;return K(", - "a)?a:i}function ub(a,b){b=qa(b);return kb(a,b)||vb(a,b)}function vb(a,b", - "){var c=(a.currentStyle||a.style)[b];if(c!=\"inherit\")return c!==h?c:i", - ";return(c=tb(a))?vb(c,b):i}\nfunction wb(a){if(q(a.getBBox)==\"function", - "\")return a.getBBox();var b;if((kb(a,\"display\")||(a.currentStyle?a.cu", - "rrentStyle.display:i)||a.style.display)!=\"none\")b=new Ua(a.offsetWidt", - "h,a.offsetHeight);else{b=a.style;var c=b.display,d=b.visibility,e=b.pos", - "ition;b.visibility=\"hidden\";b.position=\"absolute\";b.display=\"inlin", - "e\";var g=a.offsetWidth,a=a.offsetHeight;b.display=c;b.position=e;b.vis", - "ibility=d;b=new Ua(g,a)}return b}\nfunction xb(a,b){function c(a){if(ub", - "(a,\"display\")==\"none\")return!1;a=tb(a);return!a||c(a)}function d(a)", - "{var b=wb(a);if(b.height>0&&b.width>0)return!0;return Ma(a.childNodes,f", - "unction(a){return a.nodeType==A||K(a)&&d(a)})}K(a)||f(Error(\"Argument ", - "to isShown must be of type Element\"));if(K(a,\"TITLE\"))return D(C(a))", - "==Aa;if(K(a,\"OPTION\")||K(a,\"OPTGROUP\")){var e=hb(a,function(a){retu", - "rn K(a,\"SELECT\")});return!!e&&xb(e,b)}if(K(a,\"MAP\")){if(!a.name)ret", - "urn!1;e=C(a);e=e.evaluate?F.pa('/descendant::*[@usemap = \"#'+\na.name+", - "'\"]',e):fb(e,function(b){return K(b)&&qb(b)==\"#\"+a.name});return!!e&", - "&xb(e,b)}if(K(a,\"AREA\"))return e=hb(a,function(a){return K(a,\"MAP\")", - "}),!!e&&xb(e,b);if(K(a,\"INPUT\")&&a.type.toLowerCase()==\"hidden\")ret", - "urn!1;if(ub(a,\"visibility\")==\"hidden\")return!1;if(!c(a))return!1;if", - "(!b&&yb(a)==0)return!1;if(!d(a))return!1;return!0}function yb(a){var b=", - "1,c=ub(a,\"opacity\");c&&(b=Number(c));(a=tb(a))&&(b*=yb(a));return b};", - "function L(a,b,c){var d=C(a),a=D(d),e=c||{},c=e.clientX||0,g=e.clientY|", - "|0,j=e.button||0,k=e.bubble||!0,o=e.related||i,t=!!e.alt,x=!!e.control,", - "M=!!e.shift,e=!!e.meta,d=d.createEvent(\"MouseEvents\");d.initMouseEven", - "t(b,k,!0,a,1,0,0,c,g,x,t,M,e,j,o);return d}function zb(a,b,c){var d=c||", - "{},c=d.keyCode||0,e=d.charCode||0,g=!!d.alt,j=!!d.ctrl,k=!!d.shift,d=!!", - "d.meta,a=C(a).createEvent(\"Events\");a.initEvent(b,!0,!0);a.keyCode=c;", - "a.altKey=g;a.ctrlKey=j;a.metaKey=d;a.shiftKey=k;a.charCode=e;return a}", - "\nfunction Ab(a,b,c){var d=C(a),e=c||{},c=e.bubble!==!1,g=!!e.alt,j=!!e", - ".control,k=!!e.shift,e=!!e.meta;a.fireEvent&&d&&d.createEventObject&&!d", - ".createEvent?(a=d.createEventObject(),a.altKey=g,a.ta=j,a.metaKey=e,a.s", - "hiftKey=k):(a=d.createEvent(\"HTMLEvents\"),a.initEvent(b,c,!0),a.shift", - "Key=k,a.metaKey=e,a.altKey=g,a.ctrlKey=j);return a}var N={};N.click=L;N", - ".keydown=zb;N.keypress=zb;N.keyup=zb;N.mousedown=L;N.mousemove=L;N.mous", - "eout=L;N.mouseover=L;N.mouseup=L;\nfunction Bb(a){var b=(N.change||Ab)(", - "a,\"change\",h);if(!(\"isTrusted\"in b))b.xa=!1;a.dispatchEvent(b)};var", - " Cb={};function O(a,b,c){ba(a)&&(a=a.c);a=new Db(a,b,c);if(b&&(!(b in C", - "b)||c))Cb[b]={key:a,shift:!1},c&&(Cb[c]={key:a,shift:!0})}function Db(a", - ",b,c){this.code=a;this.ha=b||i;this.Da=c||this.ha}O(8);O(9);O(13);O(16)", - ";O(17);O(18);O(19);O(20);O(27);O(32,\" \");O(33);O(34);O(35);O(36);O(37", - ");O(38);O(39);O(40);O(44);O(45);O(46);O(48,\"0\",\")\");O(49,\"1\",\"!", - "\");O(50,\"2\",\"@\");O(51,\"3\",\"#\");O(52,\"4\",\"$\");O(53,\"5\",\"", - "%\");O(54,\"6\",\"^\");O(55,\"7\",\"&\");O(56,\"8\",\"*\");O(57,\"9\",", - "\"(\");O(65,\"a\",\"A\");O(66,\"b\",\"B\");O(67,\"c\",\"C\");\nO(68,\"d", - "\",\"D\");O(69,\"e\",\"E\");O(70,\"f\",\"F\");O(71,\"g\",\"G\");O(72,\"", - "h\",\"H\");O(73,\"i\",\"I\");O(74,\"j\",\"J\");O(75,\"k\",\"K\");O(76,", - "\"l\",\"L\");O(77,\"m\",\"M\");O(78,\"n\",\"N\");O(79,\"o\",\"O\");O(80", - ",\"p\",\"P\");O(81,\"q\",\"Q\");O(82,\"r\",\"R\");O(83,\"s\",\"S\");O(8", - "4,\"t\",\"T\");O(85,\"u\",\"U\");O(86,\"v\",\"V\");O(87,\"w\",\"W\");O(", - "88,\"x\",\"X\");O(89,\"y\",\"Y\");O(90,\"z\",\"Z\");O(sa?{e:91,c:91,ope", - "ra:219}:ra?{e:224,c:91,opera:17}:{e:0,c:91,opera:i});O(sa?{e:92,c:92,op", - "era:220}:ra?{e:224,c:93,opera:17}:{e:0,c:92,opera:i});\nO(sa?{e:93,c:93", - ",opera:0}:ra?{e:0,c:0,opera:16}:{e:93,c:i,opera:0});O({e:96,c:96,opera:", - "48},\"0\");O({e:97,c:97,opera:49},\"1\");O({e:98,c:98,opera:50},\"2\");", - "O({e:99,c:99,opera:51},\"3\");O({e:100,c:100,opera:52},\"4\");O({e:101,", - "c:101,opera:53},\"5\");O({e:102,c:102,opera:54},\"6\");O({e:103,c:103,o", - "pera:55},\"7\");O({e:104,c:104,opera:56},\"8\");O({e:105,c:105,opera:57", - "},\"9\");O({e:106,c:106,opera:u?56:42},\"*\");O({e:107,c:107,opera:u?61", - ":43},\"+\");O({e:109,c:109,opera:u?109:45},\"-\");O({e:110,c:110,opera:", - "u?190:78},\".\");\nO({e:111,c:111,opera:u?191:47},\"/\");O(144);O(112);", - "O(113);O(114);O(115);O(116);O(117);O(118);O(119);O(120);O(121);O(122);O", - "(123);O({e:107,c:187,opera:61},\"=\",\"+\");O({e:109,c:189,opera:109},", - "\"-\",\"_\");O(188,\",\",\"<\");O(190,\".\",\">\");O(191,\"/\",\"?\");O", - "(192,\"`\",\"~\");O(219,\"[\",\"{\");O(220,\"\\\\\",\"|\");O(221,\"]\",", - "\"}\");O({e:59,c:186,opera:59},\";\",\":\");O(222,\"'\",'\"');var Eb,Fb", - ",Gb,Hb,Ib,Jb,Kb;Kb=Jb=Ib=Hb=Gb=Fb=Eb=!1;var P=ta();P&&(P.indexOf(\"Fire", - "fox\")!=-1?Eb=!0:P.indexOf(\"Camino\")!=-1?Fb=!0:P.indexOf(\"iPhone\")!", - "=-1||P.indexOf(\"iPod\")!=-1?Gb=!0:P.indexOf(\"iPad\")!=-1?Hb=!0:P.inde", - "xOf(\"Android\")!=-1?Ib=!0:P.indexOf(\"Chrome\")!=-1?Jb=!0:P.indexOf(\"", - "Safari\")!=-1&&(Kb=!0));var Lb=Fb,Mb=Gb,Nb=Hb,Ob=Ib,Pb=Jb,Qb=Kb;var Q;E", - "b?Q=/Firefox\\/([0-9.]+)/:Pb?Q=/Chrome\\/([0-9.]+)/:Qb?Q=/Version\\/([0", - "-9.]+)/:Mb||Nb?Q=/Version\\/(\\S+).*Mobile\\/(\\S+)/:Ob?Q=/Android\\s+(", - "[0-9.]+)(?:.*Version\\/([0-9.]+))?/:Lb&&(Q=/Camino\\/([0-9.]+)/);Q&&Q.e", - "xec(ta());function Rb(){Sb&&(this[ca]||(this[ca]=++da))}var Sb=!1;funct", - "ion Tb(a){return Ub(a||arguments.callee.caller,[])}\nfunction Ub(a,b){v", - "ar c=[];if(z(b,a)>=0)c.push(\"[...circular reference...]\");else if(a&&", - "b.length<50){c.push(Vb(a)+\"(\");for(var d=a.arguments,e=0;e0&&c.push(\", \");var g;g=d[e];switch(typeof g){case \"object\":g", - "=g?\"object\":\"null\";break;case \"string\":break;case \"number\":g=St", - "ring(g);break;case \"boolean\":g=g?\"true\":\"false\";break;case \"func", - "tion\":g=(g=Vb(g))?g:\"[fn]\";break;default:g=typeof g}g.length>40&&(g=", - "g.substr(0,40)+\"...\");c.push(g)}b.push(a);c.push(\")\\n\");try{c.push", - "(Ub(a.caller,b))}catch(j){c.push(\"[exception trying to get caller]\\n", - "\")}}else a?\nc.push(\"[...long stack...]\"):c.push(\"[end]\");return c", - ".join(\"\")}function Vb(a){a=String(a);if(!Wb[a]){var b=/function ([^", - "\\(]+)/.exec(a);Wb[a]=b?b[1]:\"[Anonymous]\"}return Wb[a]}var Wb={};fun", - "ction R(a,b,c,d,e){this.reset(a,b,c,d,e)}R.prototype.oa=0;R.prototype.b", - "a=i;R.prototype.aa=i;var Xb=0;R.prototype.reset=function(a,b,c,d,e){thi", - "s.oa=typeof e==\"number\"?e:Xb++;this.Fa=d||ea();this.I=a;this.ma=b;thi", - "s.za=c;delete this.ba;delete this.aa};R.prototype.fa=function(a){this.I", - "=a};function S(a){this.na=a}S.prototype.Q=i;S.prototype.I=i;S.prototype", - ".T=i;S.prototype.da=i;function Yb(a,b){this.name=a;this.value=b}Yb.prot", - "otype.toString=l(\"name\");var Zb=new Yb(\"WARNING\",900),$b=new Yb(\"C", - "ONFIG\",700);S.prototype.getParent=l(\"Q\");S.prototype.fa=function(a){", - "this.I=a};function ac(a){if(a.I)return a.I;if(a.Q)return ac(a.Q);Ia(\"R", - "oot logger has no level set.\");return i}\nS.prototype.log=function(a,b", - ",c){if(a.value>=ac(this).value){a=this.ka(a,b,c);p.console&&p.console.m", - "arkTimeline&&p.console.markTimeline(\"log:\"+a.ma);for(b=this;b;){var c", - "=b,d=a;if(c.da)for(var e=0,g=h;g=c.da[e];e++)g(d);b=b.getParent()}}};\n", - "S.prototype.ka=function(a,b,c){var d=new R(a,String(b),this.na);if(c){d", - ".ba=c;var e;var g=arguments.callee.caller;try{var j;var k;c:{for(var o=", - "\"window.location.href\".split(\".\"),t=p,x;x=o.shift();)if(t[x]!=i)t=t", - "[x];else{k=i;break c}k=t}if(r(c))j={message:c,name:\"Unknown error\",li", - "neNumber:\"Not available\",fileName:k,stack:\"Not available\"};else{var", - " M,B,o=!1;try{M=c.lineNumber||c.ya||\"Not available\"}catch(V){M=\"Not ", - "available\",o=!0}try{B=c.fileName||c.filename||c.sourceURL||k}catch(Mc)", - "{B=\"Not available\",\no=!0}j=o||!c.lineNumber||!c.fileName||!c.stack?{", - "message:c.message,name:c.name,lineNumber:M,fileName:B,stack:c.stack||\"", - "Not available\"}:c}e=\"Message: \"+ha(j.message)+'\\nUrl: '+j.fileName+\"\\nLine: ", - "\"+j.lineNumber+\"\\n\\nBrowser stack:\\n\"+ha(j.stack+\"-> \")+\"[end]", - "\\n\\nJS stack traversal:\\n\"+ha(Tb(g)+\"-> \")}catch(Jc){e=\"Exceptio", - "n trying to expose exception! You win, we lose. \"+Jc}d.aa=e}return d};", - "var bc={},cc=i;\nfunction dc(a){cc||(cc=new S(\"\"),bc[\"\"]=cc,cc.fa($", - "b));var b;if(!(b=bc[a])){b=new S(a);var c=a.lastIndexOf(\".\"),d=a.subs", - "tr(c+1),c=dc(a.substr(0,c));if(!c.T)c.T={};c.T[d]=b;b.Q=c;bc[a]=b}retur", - "n b};function ec(){Rb.call(this)}s(ec,Rb);dc(\"goog.dom.SavedRange\");s", - "(function(a){Rb.call(this);this.qa=\"goog_\"+oa++;this.ja=\"goog_\"+oa+", - "+;this.Z=Va(a.V());a.M(this.Z.U(\"SPAN\",{id:this.qa}),this.Z.U(\"SPAN", - "\",{id:this.ja}))},ec);function T(){}function fc(a){if(a.getSelection)r", - "eturn a.getSelection();else{var a=a.document,b=a.selection;if(b){try{va", - "r c=b.createRange();if(c.parentElement){if(c.parentElement().document!=", - "a)return i}else if(!c.length||c.item(0).document!=a)return i}catch(d){r", - "eturn i}return b}return i}}function gc(a){for(var b=[],c=0,d=a.A();c=0&&this.l(d,1,0)<=0:this.l(d,0,0)>=0&&this.l(d,1,1)<=0}catch(e){f(", - "e)}};kc.prototype.containsNode=function(a,b){return this.s(ic(a),b)};kc", - ".prototype.z=function(){return new jc(this.b(),this.j(),this.g(),this.k", - "())};function lc(a){this.a=a}s(lc,kc);n=lc.prototype;n.w=function(){ret", - "urn this.a.commonAncestorContainer};n.b=function(){return this.a.startC", - "ontainer};n.j=function(){return this.a.startOffset};n.g=function(){retu", - "rn this.a.endContainer};n.k=function(){return this.a.endOffset};n.l=fun", - "ction(a,b,c){return this.a.compareBoundaryPoints(c==1?b==1?p.Range.STAR", - "T_TO_START:p.Range.START_TO_END:b==1?p.Range.END_TO_START:p.Range.END_T", - "O_END,a)};n.isCollapsed=function(){return this.a.collapsed};\nn.select=", - "function(a){this.R(D(C(this.b())).getSelection(),a)};n.R=function(a){a.", - "removeAllRanges();a.addRange(this.a)};n.insertNode=function(a,b){var c=", - "this.a.cloneRange();c.collapse(b);c.insertNode(a);c.detach();return a};", - "\nn.M=function(a,b){var c=D(C(this.b()));if(c=(c=fc(c||window))&&mc(c))", - "var d=c.b(),e=c.g(),g=c.j(),j=c.k();var k=this.a.cloneRange(),o=this.a.", - "cloneRange();k.collapse(!1);o.collapse(!0);k.insertNode(b);o.insertNode", - "(a);k.detach();o.detach();if(c){if(d.nodeType==A)for(;g>d.length;){g-=d", - ".length;do d=d.nextSibling;while(d==a||d==b)}if(e.nodeType==A)for(;j>e.", - "length;){j-=e.length;do e=e.nextSibling;while(e==a||e==b)}c=new nc;c.C=", - "oc(d,g,e,j);if(d.tagName==\"BR\")k=d.parentNode,g=z(k.childNodes,d),d=k", - ";if(e.tagName==\n\"BR\")k=e.parentNode,j=z(k.childNodes,e),e=k;c.C?(c.f", - "=e,c.i=j,c.d=d,c.h=g):(c.f=d,c.i=g,c.d=e,c.h=j);c.select()}};n.collapse", - "=function(a){this.a.collapse(a)};function pc(a){this.a=a}s(pc,lc);pc.pr", - "ototype.R=function(a,b){var c=b?this.g():this.b(),d=b?this.k():this.j()", - ",e=b?this.b():this.g(),g=b?this.j():this.k();a.collapse(c,d);(c!=e||d!=", - "g)&&a.extend(e,g)};function qc(a,b){this.a=a;this.ua=b}s(qc,kc);dc(\"go", - "og.dom.browserrange.IeRange\");function rc(a){var b=C(a).body.createTex", - "tRange();if(a.nodeType==1)b.moveToElementText(a),X(a)&&!a.childNodes.le", - "ngth&&b.collapse(!1);else{for(var c=0,d=a;d=d.previousSibling;){var e=d", - ".nodeType;if(e==A)c+=d.length;else if(e==1){b.moveToElementText(d);brea", - "k}}d||b.moveToElementText(a.parentNode);b.collapse(!d);c&&b.move(\"char", - "acter\",c);b.moveEnd(\"character\",a.length)}return b}n=qc.prototype;n.", - "J=i;n.f=i;n.d=i;n.i=-1;n.h=-1;\nn.q=function(){this.J=this.f=this.d=i;t", - "his.i=this.h=-1};\nn.w=function(){if(!this.J){var a=this.a.text,b=this.", - "a.duplicate(),c=a.replace(/ +$/,\"\");(c=a.length-c.length)&&b.moveEnd(", - "\"character\",-c);c=b.parentElement();b=b.htmlText.replace(/(\\r\\n|\\r", - "|\\n)+/g,\" \").length;if(this.isCollapsed()&&b>0)return this.J=c;for(;", - "b>c.outerHTML.replace(/(\\r\\n|\\r|\\n)+/g,\" \").length;)c=c.parentNod", - "e;for(;c.childNodes.length==1&&c.innerText==(c.firstChild.nodeType==A?c", - ".firstChild.nodeValue:c.firstChild.innerText);){if(!X(c.firstChild))bre", - "ak;c=c.firstChild}a.length==0&&(c=sc(this,\nc));this.J=c}return this.J}", - ";function sc(a,b){for(var c=b.childNodes,d=0,e=c.length;d=0&&a.l(j,1,0)<=0:a.a.inRange(j))return sc(a,g)}}return b", - "}n.b=function(){if(!this.f&&(this.f=tc(this,1),this.isCollapsed()))this", - ".d=this.f;return this.f};n.j=function(){if(this.i<0&&(this.i=uc(this,1)", - ",this.isCollapsed()))this.h=this.i;return this.i};\nn.g=function(){if(t", - "his.isCollapsed())return this.b();if(!this.d)this.d=tc(this,0);return t", - "his.d};n.k=function(){if(this.isCollapsed())return this.j();if(this.h<0", - "&&(this.h=uc(this,0),this.isCollapsed()))this.i=this.h;return this.h};n", - ".l=function(a,b,c){return this.a.compareEndPoints((b==1?\"Start\":\"End", - "\")+\"To\"+(c==1?\"Start\":\"End\"),a)};\nfunction tc(a,b,c){c=c||a.w()", - ";if(!c||!c.firstChild)return c;for(var d=b==1,e=0,g=c.childNodes.length", - ";e0)ret", - "urn tc(a,b,k)}return c}\nfunction uc(a,b){var c=b==1,d=c?a.b():a.g();if", - "(d.nodeType==1){for(var d=d.childNodes,e=d.length,g=c?1:-1,j=c?0:e-1;j>", - "=0&&j=0}if(d)return Y.S.l.call(this,a,b,c);", - "return this.a.compareBoundaryPoints(c==1?b==1?p.Range.START_TO_START:p.", - "Range.END_TO_START:b==1?p.Range.START_TO_END:p.Range.END_TO_END,a)};Y.p", - "rototype.R=function(a,b){a.removeAllRanges();b?a.setBaseAndExtent(this.", - "g(),this.k(),this.b(),this.j()):a.setBaseAndExtent(this.b(),this.j(),th", - "is.g(),this.k())};function X(a){var b;a:if(a.nodeType!=1)b=!1;else{swit", - "ch(a.tagName){case \"APPLET\":case \"AREA\":case \"BASE\":case \"BR\":c", - "ase \"COL\":case \"FRAME\":case \"HR\":case \"IMG\":case \"INPUT\":case", - " \"IFRAME\":case \"ISINDEX\":case \"LINK\":case \"NOFRAMES\":case \"NOS", - "CRIPT\":case \"META\":case \"OBJECT\":case \"PARAM\":case \"SCRIPT\":ca", - "se \"STYLE\":b=!1;break a}b=!0}return b||a.nodeType==A};function nc(){}", - "s(nc,T);function hc(a,b){var c=new nc;c.G=a;c.C=!!b;return c}n=nc.proto", - "type;n.G=i;n.f=i;n.i=i;n.d=i;n.h=i;n.C=!1;n.W=m(\"text\");n.P=function(", - "){return Z(this).a};n.q=function(){this.f=this.i=this.d=this.h=i};n.A=m", - "(1);n.u=function(){return this};function Z(a){var b;if(!(b=a.G)){b=a.b(", - ");var c=a.j(),d=a.g(),e=a.k(),g=C(b).createRange();g.setStart(b,c);g.se", - "tEnd(d,e);b=a.G=new Y(g)}return b}n.w=function(){return Z(this).w()};n.", - "b=function(){return this.f||(this.f=Z(this).b())};\nn.j=function(){retu", - "rn this.i!=i?this.i:this.i=Z(this).j()};n.g=function(){return this.d||(", - "this.d=Z(this).g())};n.k=function(){return this.h!=i?this.h:this.h=Z(th", - "is).k()};n.B=l(\"C\");n.s=function(a,b){var c=a.W();if(c==\"text\")retu", - "rn Z(this).s(Z(a),b);else if(c==\"control\")return c=xc(a),(b?Ma:Na)(c,", - "function(a){return this.containsNode(a,b)},this);return!1};n.isCollapse", - "d=function(){return Z(this).isCollapsed()};n.z=function(){return new jc", - "(this.b(),this.j(),this.g(),this.k())};n.select=function(){Z(this).sele", - "ct(this.C)};\nn.insertNode=function(a,b){var c=Z(this).insertNode(a,b);", - "this.q();return c};n.M=function(a,b){Z(this).M(a,b);this.q()};n.X=funct", - "ion(){return new yc(this)};n.collapse=function(a){a=this.B()?!a:a;this.", - "G&&this.G.collapse(a);a?(this.d=this.f,this.h=this.i):(this.f=this.d,th", - "is.i=this.h);this.C=!1};function yc(a){this.ra=a.B()?a.g():a.b();this.s", - "a=a.B()?a.k():a.j();this.va=a.B()?a.b():a.g();this.wa=a.B()?a.j():a.k()", - "}s(yc,ec);function zc(){}s(zc,W);n=zc.prototype;n.a=i;n.m=i;n.L=i;n.q=f", - "unction(){this.L=this.m=i};n.W=m(\"control\");n.P=function(){return thi", - "s.a||document.body.createControlRange()};n.A=function(){return this.a?t", - "his.a.length:0};n.u=function(a){a=this.a.item(a);return hc(ic(a),h)};n.", - "w=function(){return eb.apply(i,xc(this))};n.b=function(){return Ac(this", - ")[0]};n.j=m(0);n.g=function(){var a=Ac(this),b=y(a);return Oa(a,functio", - "n(a){return E(a,b)})};n.k=function(){return this.g().childNodes.length}", - ";\nfunction xc(a){if(!a.m&&(a.m=[],a.a))for(var b=0;b1&&this.la.log(Zb,\"getBrowserRangeObject called on MultiRange", - " with more than 1 range\",h);return this.r[0]};n.A=function(){return th", - "is.r.length};n.u=function(a){this.K[a]||(this.K[a]=hc(new Y(this.r[a]),", - "h));return this.K[a]};\nn.w=function(){if(!this.N){for(var a=[],b=0,c=t", - "his.A();b1){b=new", - " Dc;for(var c=0,e=a.rangeCount;c0};function Hc(a){return K(a,\"SELECT\")};function I", - "c(a){xb(a,!0)||f(new w(11,\"Element is not currently visible and may no", - "t be manipulated\"));K(a,\"INPUT\")&&\"radio\"==a.type&&f(new w(12,\"Yo", - "u may not toggle a radio button\"));var b=!lb(a);(!xb(a,!0)||!sb(a))&&f", - "(new w(12,\"Element is not currently interactable and may not be manipu", - "lated\"));if(K(a,\"INPUT\")){var c=a.type.toLowerCase();if(c==\"checkbo", - "x\"||c==\"radio\"){if(a.checked!=b&&(a.type==\"radio\"&&!b&&f(new w(12,", - "\"You may not deselect a radio button\")),b!=lb(a)))a.checked=b,Bb(a)}e", - "lse f(new w(15,\n\"You may not select an unselectable input element: \"", - "+a.type))}else if(K(a,\"OPTION\")){if(c=hb(a,Hc),!c.multiple&&!b&&f(new", - " w(15,\"You may not deselect an option within a select that does not su", - "pport multiple selections.\")),b!=lb(a))a.selected=b,Bb(c)}else f(new w", - "(15,\"You may not select an unselectable element: \"+a.tagName));return", - " lb(a)}var Kc=\"_\".split(\".\"),$=p;!(Kc[0]in $)&&$.execScript&&$.exec", - "Script(\"var \"+Kc[0]);\nfor(var Lc;Kc.length&&(Lc=Kc.shift());)!Kc.len", - "gth&&Ic!==h?$[Lc]=Ic:$=$[Lc]?$[Lc]:$[Lc]={};; return this._.apply(null,", - "arguments);}.apply({navigator:typeof window!='undefined'?window.navigat", - "or:null}, arguments);}", - NULL -}; - -const char* const TYPE[] = { - "function(){return function(){function f(a){throw a;}var h=void 0,i=null", - ";function l(a){return function(){return this[a]}}function m(a){return f", - "unction(){return a}}var n,p=this;\nfunction q(a){var b=typeof a;if(b==", - "\"object\")if(a){if(a instanceof Array)return\"array\";else if(a instan", - "ceof Object)return b;var c=Object.prototype.toString.call(a);if(c==\"[o", - "bject Window]\")return\"object\";if(c==\"[object Array]\"||typeof a.len", - "gth==\"number\"&&typeof a.splice!=\"undefined\"&&typeof a.propertyIsEnu", - "merable!=\"undefined\"&&!a.propertyIsEnumerable(\"splice\"))return\"arr", - "ay\";if(c==\"[object Function]\"||typeof a.call!=\"undefined\"&&typeof ", - "a.propertyIsEnumerable!=\"undefined\"&&!a.propertyIsEnumerable(\"call\"", - "))return\"function\"}else return\"null\";\nelse if(b==\"function\"&&typ", - "eof a.call==\"undefined\")return\"object\";return b}function aa(a){var ", - "b=q(a);return b==\"array\"||b==\"object\"&&typeof a.length==\"number\"}", - "function r(a){return typeof a==\"string\"}function ba(a){return q(a)==", - "\"function\"}function ca(a){a=q(a);return a==\"object\"||a==\"array\"||", - "a==\"function\"}var da=\"closure_uid_\"+Math.floor(Math.random()*214748", - "3648).toString(36),ea=0,fa=Date.now||function(){return+new Date};\nfunc", - "tion s(a,b){function c(){}c.prototype=b.prototype;a.Z=b.prototype;a.pro", - "totype=new c};function ga(a){for(var b=1;b\")!=-1&&(a=a.replace(ma,\">\"));a.indexOf('\"')!=-1&&(a=a", - ".replace(na,\""\"));return a}var ka=/&/g,la=//g,na=/\\\"/", - "g,ja=/[&<>\\\"]/;\nfunction oa(a,b){if(ab)return ", - "1;return 0}var pa=Math.random()*2147483648|0,qa={};function ra(a){retur", - "n qa[a]||(qa[a]=String(a).replace(/\\-([a-z])/g,function(a,c){return c.", - "toUpperCase()}))};var sa,ta;function ua(){return p.navigator?p.navigato", - "r.userAgent:i}var va,wa=p.navigator;va=wa&&wa.platform||\"\";sa=va.inde", - "xOf(\"Mac\")!=-1;ta=va.indexOf(\"Win\")!=-1;var xa=va.indexOf(\"Linux\"", - ")!=-1,ya,za=\"\",Aa=/WebKit\\/(\\S+)/.exec(ua());ya=za=Aa?Aa[1]:\"\";va", - "r Ba={};var Ca=window;function u(a){this.stack=Error().stack||\"\";if(a", - ")this.message=String(a)}s(u,Error);u.prototype.name=\"CustomError\";fun", - "ction Da(a,b){for(var c in a)b.call(h,a[c],c,a)}function Ea(a){var b=[]", - ",c=0,d;for(d in a)b[c++]=a[d];return b};function v(a,b){u.call(this,b);", - "this.code=a;this.name=Fa[a]||Fa[13]}s(v,u);\nvar Fa,Ga={NoSuchElementEr", - "ror:7,NoSuchFrameError:8,UnknownCommandError:9,StaleElementReferenceErr", - "or:10,ElementNotVisibleError:11,InvalidElementStateError:12,UnknownErro", - "r:13,ElementNotSelectableError:15,XPathLookupError:19,NoSuchWindowError", - ":23,InvalidCookieDomainError:24,UnableToSetCookieError:25,ModalDialogOp", - "enedError:26,NoModalDialogOpenError:27,ScriptTimeoutError:28,InvalidSel", - "ectorError:32,SqlDatabaseError:33,MoveTargetOutOfBoundsError:34},Ha={},", - "Ia;for(Ia in Ga)Ha[Ga[Ia]]=Ia;Fa=Ha;\nv.prototype.toString=function(){r", - "eturn\"[\"+this.name+\"] \"+this.message};function Ja(a,b){b.unshift(a)", - ";u.call(this,ga.apply(i,b));b.shift();this.La=a}s(Ja,u);Ja.prototype.na", - "me=\"AssertionError\";function Ka(a,b){if(!a){var c=Array.prototype.sli", - "ce.call(arguments,2),d=\"Assertion failed\";if(b){d+=\": \"+b;var e=c}f", - "(new Ja(\"\"+d,e||[]))}}function La(a){f(new Ja(\"Failure\"+(a?\": \"+a", - ":\"\"),Array.prototype.slice.call(arguments,1)))};function w(a){return ", - "a[a.length-1]}var Ma=Array.prototype;function x(a,b){if(r(a)){if(!r(b)|", - "|b.length!=1)return-1;return a.indexOf(b,0)}for(var c=0;c=0||(d.push(c[g]),e++);d=e==c.length;a.", - "className=b.join(\" \");return d};function Xa(a,b){this.width=a;this.he", - "ight=b}Xa.prototype.toString=function(){return\"(\"+this.width+\" x \"+", - "this.height+\")\"};Xa.prototype.floor=function(){this.width=Math.floor(", - "this.width);this.height=Math.floor(this.height);return this};var z=3;fu", - "nction Ya(a){return a?new Za(A(a)):Va||(Va=new Za)}function $a(a,b){Da(", - "b,function(b,d){d==\"style\"?a.style.cssText=b:d==\"class\"?a.className", - "=b:d==\"for\"?a.htmlFor=b:d in ab?a.setAttribute(ab[d],b):a[d]=b})}var ", - "ab={cellpadding:\"cellPadding\",cellspacing:\"cellSpacing\",colspan:\"c", - "olSpan\",rowspan:\"rowSpan\",valign:\"vAlign\",height:\"height\",width:", - "\"width\",usemap:\"useMap\",frameborder:\"frameBorder\",maxlength:\"max", - "Length\",type:\"type\"};function bb(a){return a?a.parentWindow||a.defau", - "ltView:window}\nfunction cb(a,b,c){function d(c){c&&b.appendChild(r(c)?", - "a.createTextNode(c):c)}for(var e=2;e0)?Na(db(g)?Ta(g):g,d):d(g)}}function eb(a){return a&", - "&a.parentNode?a.parentNode.removeChild(a):i}function B(a,b){if(a.contai", - "ns&&b.nodeType==1)return a==b||a.contains(b);if(typeof a.compareDocumen", - "tPosition!=\"undefined\")return a==b||Boolean(a.compareDocumentPosition", - "(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a}\nfunction fb(a,b){if(", - "a==b)return 0;if(a.compareDocumentPosition)return a.compareDocumentPosi", - "tion(b)&2?1:-1;if(\"sourceIndex\"in a||a.parentNode&&\"sourceIndex\"in ", - "a.parentNode){var c=a.nodeType==1,d=b.nodeType==1;if(c&&d)return a.sour", - "ceIndex-b.sourceIndex;else{var e=a.parentNode,g=b.parentNode;if(e==g)re", - "turn gb(a,b);if(!c&&B(e,b))return-1*hb(a,b);if(!d&&B(g,a))return hb(b,a", - ");return(c?a.sourceIndex:e.sourceIndex)-(d?b.sourceIndex:g.sourceIndex)", - "}}d=A(a);c=d.createRange();c.selectNode(a);c.collapse(!0);d=\nd.createR", - "ange();d.selectNode(b);d.collapse(!0);return c.compareBoundaryPoints(p.", - "Range.START_TO_END,d)}function hb(a,b){var c=a.parentNode;if(c==b)retur", - "n-1;for(var d=b;d.parentNode!=c;)d=d.parentNode;return gb(d,a)}function", - " gb(a,b){for(var c=b;c=c.previousSibling;)if(c==a)return-1;return 1}\nf", - "unction ib(){var a,b=arguments.length;if(b){if(b==1)return arguments[0]", - "}else return i;var c=[],d=Infinity;for(a=0;a2&&cb(a,", - "d,b);return d};n.createElement=function(a){return this.D.createElement(", - "a)};n.createTextNode=function(a){return this.D.createTextNode(a)};n.ma=", - "function(){return this.D.parentWindow||this.D.defaultView};n.appendChil", - "d=function(a,b){a.appendChild(b)};n.removeNode=eb;n.contains=B;var C={}", - ";C.qa=function(){var a={Oa:\"http://www.w3.org/2000/svg\"};return funct", - "ion(b){return a[b]||i}}();C.ja=function(a,b,c){var d=A(a);if(!d.impleme", - "ntation.hasFeature(\"XPath\",\"3.0\"))return i;var e=d.createNSResolver", - "?d.createNSResolver(d.documentElement):C.qa;return d.evaluate(b,a,e,c,i", - ")};C.oa=function(a){return\"NS_ERROR_ILLEGAL_VALUE\"!=a.name};\nC.Aa=fu", - "nction(a,b){var c=function(b,c){var g=A(b);try{if(b.selectSingleNode)re", - "turn g.setProperty&&g.setProperty(\"SelectionLanguage\",\"XPath\"),b.se", - "lectSingleNode(c);var j=C.ja(b,c,9);return j?j.singleNodeValue:i}catch(", - "k){return C.oa(k)&&f(new v(32,\"Unable to locate an element with the xp", - "ath expression \"+a+\" because of the following error:\\n\"+k)),i}}(b,a", - ");if(!c)return i;c.nodeType!=1&&f(new v(32,'The result of the xpath exp", - "ression \"'+a+'\" is: '+c+\". It should be an element.\"));return c};\n", - "C.Ka=function(a,b){var c=function(a,b){var c=A(a),j;try{if(a.selectNode", - "s)return c.setProperty&&c.setProperty(\"SelectionLanguage\",\"XPath\"),", - "a.selectNodes(b);j=C.ja(a,b,7)}catch(k){C.oa(k)&&f(new v(32,\"Unable to", - " locate elements with the xpath expression \"+b+\" because of the follo", - "wing error:\\n\"+k))}c=[];if(j)for(var o=j.snapshotLength,t=0;t=a.length&&f(E),b", - " in a)return a[b++];else b++};return c}f(Error(\"Not implemented\"))};f", - "unction G(a,b,c,d,e){this.q=!!b;a&&H(this,a,d);this.A=e!=h?e:this.t||0;", - "this.q&&(this.A*=-1);this.ra=!c}s(G,F);n=G.prototype;n.s=i;n.t=0;n.ga=!", - "1;function H(a,b,c,d){if(a.s=b)a.t=typeof c==\"number\"?c:a.s.nodeType!", - "=1?0:a.q?-1:1;if(typeof d==\"number\")a.A=d}\nn.next=function(){var a;i", - "f(this.ga){(!this.s||this.ra&&this.A==0)&&f(E);a=this.s;var b=this.q?-1", - ":1;if(this.t==b){var c=this.q?a.lastChild:a.firstChild;c?H(this,c):H(th", - "is,a,b*-1)}else(c=this.q?a.previousSibling:a.nextSibling)?H(this,c):H(t", - "his,a.parentNode,b*-1);this.A+=this.t*(this.q?-1:1)}else this.ga=!0;(a=", - "this.s)||f(E);return a};\nn.splice=function(){var a=this.s,b=this.q?1:-", - "1;if(this.t==b)this.t=b*-1,this.A+=this.t*(this.q?-1:1);this.q=!this.q;", - "G.prototype.next.call(this);this.q=!this.q;for(var b=aa(arguments[0])?a", - "rguments[0]:arguments,c=b.length-1;c>=0;c--)a.parentNode&&a.parentNode.", - "insertBefore(b[c],a.nextSibling);eb(a)};function nb(a,b,c,d){G.call(thi", - "s,a,b,c,i,d)}s(nb,G);nb.prototype.next=function(){do nb.Z.next.call(thi", - "s);while(this.t==-1);return this.s};function ob(a,b){var c=A(a);if(c.de", - "faultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputed", - "Style(a,i)))return c[b]||c.getPropertyValue(b);return\"\"};function I(a", - ",b){return!!a&&a.nodeType==1&&(!b||a.tagName.toUpperCase()==b)}var pb={", - "\"class\":\"className\",readonly:\"readOnly\"},qb=[\"checked\",\"disabl", - "ed\",\"draggable\",\"hidden\"];function rb(a,b){var c=pb[b]||b,d=a[c];i", - "f(d===h&&x(qb,c)>=0)return!1;return d}\nvar sb=[\"async\",\"autofocus\"", - ",\"autoplay\",\"checked\",\"compact\",\"complete\",\"controls\",\"decla", - "re\",\"defaultchecked\",\"defaultselected\",\"defer\",\"disabled\",\"dr", - "aggable\",\"ended\",\"formnovalidate\",\"hidden\",\"indeterminate\",\"i", - "scontenteditable\",\"ismap\",\"itemscope\",\"loop\",\"multiple\",\"mute", - "d\",\"nohref\",\"noresize\",\"noshade\",\"novalidate\",\"nowrap\",\"ope", - "n\",\"paused\",\"pubdate\",\"readonly\",\"required\",\"reversed\",\"sco", - "ped\",\"seamless\",\"seeking\",\"selected\",\"spellcheck\",\"truespeed", - "\",\"willvalidate\"];\nfunction tb(a,b){if(8==a.nodeType)return i;b=b.t", - "oLowerCase();if(b==\"style\"){var c=ha(a.style.cssText).toLowerCase();r", - "eturn c.charAt(c.length-1)==\";\"?c:c+\";\"}c=a.getAttributeNode(b);if(", - "!c)return i;if(x(sb,b)>=0)return\"true\";return c.specified?c.value:i}v", - "ar ub=[\"BUTTON\",\"INPUT\",\"OPTGROUP\",\"OPTION\",\"SELECT\",\"TEXTAR", - "EA\"];\nfunction vb(a){var b=a.tagName.toUpperCase();if(!(x(ub,b)>=0))r", - "eturn!0;if(rb(a,\"disabled\"))return!1;if(a.parentNode&&a.parentNode.no", - "deType==1&&\"OPTGROUP\"==b||\"OPTION\"==b)return vb(a.parentNode);retur", - "n!0}var wb=[\"text\",\"search\",\"tel\",\"url\",\"email\",\"password\",", - "\"number\"];function xb(a){if(I(a,\"TEXTAREA\"))return!0;if(I(a,\"INPUT", - "\"))return x(wb,a.type.toLowerCase())>=0;if(rb(a,\"contentEditable\")==", - "\"true\"||tb(a,\"contentEditable\")!=i)return!0;return!1}\nfunction yb(", - "a){for(a=a.parentNode;a&&a.nodeType!=1&&a.nodeType!=9&&a.nodeType!=11;)", - "a=a.parentNode;return I(a)?a:i}function zb(a,b){b=ra(b);return ob(a,b)|", - "|Ab(a,b)}function Ab(a,b){var c=(a.currentStyle||a.style)[b];if(c!=\"in", - "herit\")return c!==h?c:i;return(c=yb(a))?Ab(c,b):i}\nfunction Bb(a){if(", - "ba(a.getBBox))return a.getBBox();var b;if((ob(a,\"display\")||(a.curren", - "tStyle?a.currentStyle.display:i)||a.style.display)!=\"none\")b=new Xa(a", - ".offsetWidth,a.offsetHeight);else{b=a.style;var c=b.display,d=b.visibil", - "ity,e=b.position;b.visibility=\"hidden\";b.position=\"absolute\";b.disp", - "lay=\"inline\";var g=a.offsetWidth,a=a.offsetHeight;b.display=c;b.posit", - "ion=e;b.visibility=d;b=new Xa(g,a)}return b}\nfunction Cb(a,b){function", - " c(a){if(zb(a,\"display\")==\"none\")return!1;a=yb(a);return!a||c(a)}fu", - "nction d(a){var b=Bb(a);if(b.height>0&&b.width>0)return!0;return Pa(a.c", - "hildNodes,function(a){return a.nodeType==z||I(a)&&d(a)})}I(a)||f(Error(", - "\"Argument to isShown must be of type Element\"));if(I(a,\"TITLE\"))ret", - "urn bb(A(a))==Ca;if(I(a,\"OPTION\")||I(a,\"OPTGROUP\")){var e=lb(a,func", - "tion(a){return I(a,\"SELECT\")});return!!e&&Cb(e,b)}if(I(a,\"MAP\")){if", - "(!a.name)return!1;e=A(a);e=e.evaluate?C.Aa('/descendant::*[@usemap = \"", - "#'+\na.name+'\"]',e):jb(e,function(b){return I(b)&&tb(b,\"usemap\")==\"", - "#\"+a.name});return!!e&&Cb(e,b)}if(I(a,\"AREA\"))return e=lb(a,function", - "(a){return I(a,\"MAP\")}),!!e&&Cb(e,b);if(I(a,\"INPUT\")&&a.type.toLowe", - "rCase()==\"hidden\")return!1;if(zb(a,\"visibility\")==\"hidden\")return", - "!1;if(!c(a))return!1;if(!b&&Db(a)==0)return!1;if(!d(a))return!1;return!", - "0}function Db(a){var b=1,c=zb(a,\"opacity\");c&&(b=Number(c));(a=yb(a))", - "&&(b*=Db(a));return b};function J(a,b,c){var d=A(a),a=bb(d),e=c||{},c=e", - ".clientX||0,g=e.clientY||0,j=e.button||0,k=e.bubble||!0,o=e.related||i,", - "t=!!e.alt,y=!!e.control,N=!!e.shift,e=!!e.meta,d=d.createEvent(\"MouseE", - "vents\");d.initMouseEvent(b,k,!0,a,1,0,0,c,g,y,t,N,e,j,o);return d}func", - "tion Eb(a,b,c){var d=c||{},c=d.keyCode||0,e=d.charCode||0,g=!!d.alt,j=!", - "!d.ctrl,k=!!d.shift,d=!!d.meta,a=A(a).createEvent(\"Events\");a.initEve", - "nt(b,!0,!0);a.keyCode=c;a.altKey=g;a.ctrlKey=j;a.metaKey=d;a.shiftKey=k", - ";a.charCode=e;return a}\nfunction Fb(a,b,c){var d=A(a),e=c||{},c=e.bubb", - "le!==!1,g=!!e.alt,j=!!e.control,k=!!e.shift,e=!!e.meta;a.fireEvent&&d&&", - "d.createEventObject&&!d.createEvent?(a=d.createEventObject(),a.altKey=g", - ",a.sa=j,a.metaKey=e,a.shiftKey=k):(a=d.createEvent(\"HTMLEvents\"),a.in", - "itEvent(b,c,!0),a.shiftKey=k,a.metaKey=e,a.altKey=g,a.ctrlKey=j);return", - " a}var K={};K.click=J;K.keydown=Eb;K.keypress=Eb;K.keyup=Eb;K.mousedown", - "=J;K.mousemove=J;K.mouseout=J;K.mouseover=J;K.mouseup=J;\nfunction L(a,", - "b,c){b=(K[b]||Fb)(a,b,c);if(!(\"isTrusted\"in b))b.Ha=!1;return a.dispa", - "tchEvent(b)};function Gb(a,b){var c=0,d=0;if(M(a))c=a.selectionStart,d=", - "b?-1:a.selectionEnd;return[c,d]}function Hb(a,b){if(M(a))a.selectionSta", - "rt=b,a.selectionEnd=b}function Ib(a,b){if(M(a)){var c=a.value,d=a.selec", - "tionStart;a.value=c.substr(0,d)+b+c.substr(a.selectionEnd);a.selectionS", - "tart=d;a.selectionEnd=d+b.length}else f(Error(\"Cannot set the selectio", - "n end\"))}function M(a){try{return typeof a.selectionStart==\"number\"}", - "catch(b){return!1}};function Jb(a){if(typeof a.N==\"function\")return a", - ".N();if(r(a))return a.split(\"\");if(aa(a)){for(var b=[],c=a.length,d=0", - ";d1){b%2&&f(Error(\"Uneven number of", - " arguments\"));for(var c=0;c2*this.M&&L", - "b(this),!0;return!1};\nfunction Lb(a){if(a.M!=a.m.length){for(var b=0,c", - "=0;b=c.l", - "ength&&f(E);var j=c[b++];return a?j:d[j]}};return j};function Mb(a){thi", - "s.n=new Kb;a&&this.aa(a)}function Nb(a){var b=typeof a;return b==\"obje", - "ct\"&&a||b==\"function\"?\"o\"+(a[da]||(a[da]=++ea)):b.substr(0,1)+a}n=", - "Mb.prototype;n.add=function(a){this.n.set(Nb(a),a)};n.aa=function(a){fo", - "r(var a=Jb(a),b=a.length,c=0;c\");O(191,\"/\",\"?\")", - ";O(192,\"`\",\"~\");O(219,\"[\",\"{\");O(220,\"\\\\\",\"|\");O(221,\"]", - "\",\"}\");\nO({e:59,c:186,opera:59},\";\",\":\");O(222,\"'\",'\"');var ", - "$b=[Vb,Ub,Zb,Tb];\nfunction ac(a,b){a.r.contains(b)&&x($b,b)>=0&&f(new ", - "v(13,\"Cannot press a modifier key that is already pressed.\"));if(b.co", - "de!==i&&bc(a,\"keydown\",b)&&(!(b.C||b==Sb)||bc(a,\"keypress\",b))&&a.i", - "a)if(b.C){var c=cc(a,b);Ib(a.h,c);var c=a.h,d=Gb(a.h,!0)[0]+1;if(M(c))c", - ".selectionStart=d;L(a.h,\"textInput\");L(a.h,\"input\")}else switch(b){", - "case Sb:L(a.h,\"textInput\");if(I(a.h,\"TEXTAREA\")){Ib(a.h,\"\\n\");c=", - "a.h;d=Gb(a.h,!0)[0]+1;if(M(c))c.selectionStart=d;L(a.h,\"input\")}break", - ";case Rb:case Yb:c=Gb(a.h,!1);if(b==Rb&&c[0]==\nc[1]){d=a.h;if(M(d))d.s", - "electionStart=c[1]-1;d=a.h;if(M(d))d.selectionEnd=c[1]}else if(d=a.h,M(", - "d))d.selectionEnd=c[1]+1;c=Gb(a.h,!1);c=!(c[0]==a.h.value.length||c[1]=", - "=0);Ib(a.h,\"\");c&&L(a.h,\"input\");break;case Wb:case Xb:c=Gb(a.h,!0)", - "[0],b==Wb?Hb(a.h,c-1):Hb(a.h,c+1)}a.r.add(b)}function dc(a,b){a.r.conta", - "ins(b)||f(new v(13,\"Cannot release a key that is not pressed.\"));b.co", - "de===i||bc(a,\"keyup\",b);a.r.remove(b)}function cc(a,b){b.C||f(new v(1", - "3,\"not a character key\"));return a.r.contains(Tb)?b.za:b.C}\nfunction", - " bc(a,b,c){var d={alt:a.r.contains(Vb),sa:a.r.contains(Ub),Ma:a.r.conta", - "ins(Zb),shift:a.r.contains(Tb)},e=b==\"keypress\",c=e&&c.C?cc(a,c).char", - "CodeAt(0):c.code;d.keyCode=c;d.charCode=e?c:0;return L(a.h,b,d)};var ec", - ",fc,gc,hc,ic,jc,kc;kc=jc=ic=hc=gc=fc=ec=!1;var P=ua();P&&(P.indexOf(\"F", - "irefox\")!=-1?ec=!0:P.indexOf(\"Camino\")!=-1?fc=!0:P.indexOf(\"iPhone", - "\")!=-1||P.indexOf(\"iPod\")!=-1?gc=!0:P.indexOf(\"iPad\")!=-1?hc=!0:P.", - "indexOf(\"Android\")!=-1?ic=!0:P.indexOf(\"Chrome\")!=-1?jc=!0:P.indexO", - "f(\"Safari\")!=-1&&(kc=!0));var lc=fc,mc=gc,nc=hc,oc=ic,pc=jc,qc=kc;var", - " Q;ec?Q=/Firefox\\/([0-9.]+)/:pc?Q=/Chrome\\/([0-9.]+)/:qc?Q=/Version", - "\\/([0-9.]+)/:mc||nc?Q=/Version\\/(\\S+).*Mobile\\/(\\S+)/:oc?Q=/Androi", - "d\\s+([0-9.]+)(?:.*Version\\/([0-9.]+))?/:lc&&(Q=/Camino\\/([0-9.]+)/);", - "Q&&Q.exec(ua());function rc(){sc&&(this[da]||(this[da]=++ea))}var sc=!1", - ";function tc(a){return uc(a||arguments.callee.caller,[])}\nfunction uc(", - "a,b){var c=[];if(x(b,a)>=0)c.push(\"[...circular reference...]\");else ", - "if(a&&b.length<50){c.push(vc(a)+\"(\");for(var d=a.arguments,e=0;e0&&c.push(\", \");var g;g=d[e];switch(typeof g){case \"obje", - "ct\":g=g?\"object\":\"null\";break;case \"string\":break;case \"number", - "\":g=String(g);break;case \"boolean\":g=g?\"true\":\"false\";break;case", - " \"function\":g=(g=vc(g))?g:\"[fn]\";break;default:g=typeof g}g.length>", - "40&&(g=g.substr(0,40)+\"...\");c.push(g)}b.push(a);c.push(\")\\n\");try", - "{c.push(uc(a.caller,b))}catch(j){c.push(\"[exception trying to get call", - "er]\\n\")}}else a?\nc.push(\"[...long stack...]\"):c.push(\"[end]\");re", - "turn c.join(\"\")}function vc(a){a=String(a);if(!wc[a]){var b=/function", - " ([^\\(]+)/.exec(a);wc[a]=b?b[1]:\"[Anonymous]\"}return wc[a]}var wc={}", - ";function R(a,b,c,d,e){this.reset(a,b,c,d,e)}R.prototype.ya=0;R.prototy", - "pe.la=i;R.prototype.ka=i;var xc=0;R.prototype.reset=function(a,b,c,d,e)", - "{this.ya=typeof e==\"number\"?e:xc++;this.Pa=d||fa();this.P=a;this.wa=b", - ";this.Ja=c;delete this.la;delete this.ka};R.prototype.pa=function(a){th", - "is.P=a};function S(a){this.xa=a}S.prototype.X=i;S.prototype.P=i;S.proto", - "type.ba=i;S.prototype.na=i;function yc(a,b){this.name=a;this.value=b}yc", - ".prototype.toString=l(\"name\");var zc=new yc(\"WARNING\",900),Ac=new y", - "c(\"CONFIG\",700);S.prototype.getParent=l(\"X\");S.prototype.pa=functio", - "n(a){this.P=a};function Bc(a){if(a.P)return a.P;if(a.X)return Bc(a.X);L", - "a(\"Root logger has no level set.\");return i}\nS.prototype.log=functio", - "n(a,b,c){if(a.value>=Bc(this).value){a=this.ua(a,b,c);p.console&&p.cons", - "ole.markTimeline&&p.console.markTimeline(\"log:\"+a.wa);for(b=this;b;){", - "var c=b,d=a;if(c.na)for(var e=0,g=h;g=c.na[e];e++)g(d);b=b.getParent()}", - "}};\nS.prototype.ua=function(a,b,c){var d=new R(a,String(b),this.xa);if", - "(c){d.la=c;var e;var g=arguments.callee.caller;try{var j;var k;c:{for(v", - "ar o=\"window.location.href\".split(\".\"),t=p,y;y=o.shift();)if(t[y]!=", - "i)t=t[y];else{k=i;break c}k=t}if(r(c))j={message:c,name:\"Unknown error", - "\",lineNumber:\"Not available\",fileName:k,stack:\"Not available\"};els", - "e{var N,D,o=!1;try{N=c.lineNumber||c.Ia||\"Not available\"}catch(X){N=", - "\"Not available\",o=!0}try{D=c.fileName||c.filename||c.sourceURL||k}cat", - "ch(md){D=\"Not available\",\no=!0}j=o||!c.lineNumber||!c.fileName||!c.s", - "tack?{message:c.message,name:c.name,lineNumber:N,fileName:D,stack:c.sta", - "ck||\"Not available\"}:c}e=\"Message: \"+ia(j.message)+'\\nUrl: '+j.fileName+\"\\nL", - "ine: \"+j.lineNumber+\"\\n\\nBrowser stack:\\n\"+ia(j.stack+\"-> \")+\"", - "[end]\\n\\nJS stack traversal:\\n\"+ia(tc(g)+\"-> \")}catch(jd){e=\"Exc", - "eption trying to expose exception! You win, we lose. \"+jd}d.ka=e}retur", - "n d};var Cc={},Dc=i;\nfunction Ec(a){Dc||(Dc=new S(\"\"),Cc[\"\"]=Dc,Dc", - ".pa(Ac));var b;if(!(b=Cc[a])){b=new S(a);var c=a.lastIndexOf(\".\"),d=a", - ".substr(c+1),c=Ec(a.substr(0,c));if(!c.ba)c.ba={};c.ba[d]=b;b.X=c;Cc[a]", - "=b}return b};function Fc(){rc.call(this)}s(Fc,rc);Ec(\"goog.dom.SavedRa", - "nge\");s(function(a){rc.call(this);this.Ba=\"goog_\"+pa++;this.ta=\"goo", - "g_\"+pa++;this.ha=Ya(a.da());a.T(this.ha.ca(\"SPAN\",{id:this.Ba}),this", - ".ha.ca(\"SPAN\",{id:this.ta}))},Fc);function T(){}function Gc(a){if(a.g", - "etSelection)return a.getSelection();else{var a=a.document,b=a.selection", - ";if(b){try{var c=b.createRange();if(c.parentElement){if(c.parentElement", - "().document!=a)return i}else if(!c.length||c.item(0).document!=a)return", - " i}catch(d){return i}return b}return i}}function Hc(a){for(var b=[],c=0", - ",d=a.G();c=0&&this.o(d,1,0)<=0:this.o(d,0,0)>=0&&this.o(d,1,", - "1)<=0}catch(e){f(e)}};Lc.prototype.containsNode=function(a,b){return th", - "is.z(Jc(a),b)};Lc.prototype.u=function(){return new Kc(this.b(),this.k(", - "),this.g(),this.l())};function Mc(a){this.a=a}s(Mc,Lc);n=Mc.prototype;n", - ".F=function(){return this.a.commonAncestorContainer};n.b=function(){ret", - "urn this.a.startContainer};n.k=function(){return this.a.startOffset};n.", - "g=function(){return this.a.endContainer};n.l=function(){return this.a.e", - "ndOffset};n.o=function(a,b,c){return this.a.compareBoundaryPoints(c==1?", - "b==1?p.Range.START_TO_START:p.Range.START_TO_END:b==1?p.Range.END_TO_ST", - "ART:p.Range.END_TO_END,a)};n.isCollapsed=function(){return this.a.colla", - "psed};\nn.select=function(a){this.Y(bb(A(this.b())).getSelection(),a)};", - "n.Y=function(a){a.removeAllRanges();a.addRange(this.a)};n.insertNode=fu", - "nction(a,b){var c=this.a.cloneRange();c.collapse(b);c.insertNode(a);c.d", - "etach();return a};\nn.T=function(a,b){var c=bb(A(this.b()));if(c=(c=Gc(", - "c||window))&&Nc(c))var d=c.b(),e=c.g(),g=c.k(),j=c.l();var k=this.a.clo", - "neRange(),o=this.a.cloneRange();k.collapse(!1);o.collapse(!0);k.insertN", - "ode(b);o.insertNode(a);k.detach();o.detach();if(c){if(d.nodeType==z)for", - "(;g>d.length;){g-=d.length;do d=d.nextSibling;while(d==a||d==b)}if(e.no", - "deType==z)for(;j>e.length;){j-=e.length;do e=e.nextSibling;while(e==a||", - "e==b)}c=new Oc;c.I=Pc(d,g,e,j);if(d.tagName==\"BR\")k=d.parentNode,g=x(", - "k.childNodes,d),d=k;if(e.tagName==\n\"BR\")k=e.parentNode,j=x(k.childNo", - "des,e),e=k;c.I?(c.f=e,c.j=j,c.d=d,c.i=g):(c.f=d,c.j=g,c.d=e,c.i=j);c.se", - "lect()}};n.collapse=function(a){this.a.collapse(a)};function Qc(a){this", - ".a=a}s(Qc,Mc);Qc.prototype.Y=function(a,b){var c=b?this.g():this.b(),d=", - "b?this.l():this.k(),e=b?this.b():this.g(),g=b?this.k():this.l();a.colla", - "pse(c,d);(c!=e||d!=g)&&a.extend(e,g)};function Rc(a,b){this.a=a;this.Ea", - "=b}s(Rc,Lc);Ec(\"goog.dom.browserrange.IeRange\");function Sc(a){var b=", - "A(a).body.createTextRange();if(a.nodeType==1)b.moveToElementText(a),W(a", - ")&&!a.childNodes.length&&b.collapse(!1);else{for(var c=0,d=a;d=d.previo", - "usSibling;){var e=d.nodeType;if(e==z)c+=d.length;else if(e==1){b.moveTo", - "ElementText(d);break}}d||b.moveToElementText(a.parentNode);b.collapse(!", - "d);c&&b.move(\"character\",c);b.moveEnd(\"character\",a.length)}return ", - "b}n=Rc.prototype;n.Q=i;n.f=i;n.d=i;n.j=-1;n.i=-1;\nn.v=function(){this.", - "Q=this.f=this.d=i;this.j=this.i=-1};\nn.F=function(){if(!this.Q){var a=", - "this.a.text,b=this.a.duplicate(),c=a.replace(/ +$/,\"\");(c=a.length-c.", - "length)&&b.moveEnd(\"character\",-c);c=b.parentElement();b=b.htmlText.r", - "eplace(/(\\r\\n|\\r|\\n)+/g,\" \").length;if(this.isCollapsed()&&b>0)re", - "turn this.Q=c;for(;b>c.outerHTML.replace(/(\\r\\n|\\r|\\n)+/g,\" \").le", - "ngth;)c=c.parentNode;for(;c.childNodes.length==1&&c.innerText==(c.first", - "Child.nodeType==z?c.firstChild.nodeValue:c.firstChild.innerText);){if(!", - "W(c.firstChild))break;c=c.firstChild}a.length==0&&(c=Tc(this,\nc));this", - ".Q=c}return this.Q};function Tc(a,b){for(var c=b.childNodes,d=0,e=c.len", - "gth;d=0&&a.o(j,1,0)<=0:a.a.inRange(j))retur", - "n Tc(a,g)}}return b}n.b=function(){if(!this.f&&(this.f=Uc(this,1),this.", - "isCollapsed()))this.d=this.f;return this.f};n.k=function(){if(this.j<0&", - "&(this.j=Vc(this,1),this.isCollapsed()))this.i=this.j;return this.j};\n", - "n.g=function(){if(this.isCollapsed())return this.b();if(!this.d)this.d=", - "Uc(this,0);return this.d};n.l=function(){if(this.isCollapsed())return t", - "his.k();if(this.i<0&&(this.i=Vc(this,0),this.isCollapsed()))this.j=this", - ".i;return this.i};n.o=function(a,b,c){return this.a.compareEndPoints((b", - "==1?\"Start\":\"End\")+\"To\"+(c==1?\"Start\":\"End\"),a)};\nfunction U", - "c(a,b,c){c=c||a.F();if(!c||!c.firstChild)return c;for(var d=b==1,e=0,g=", - "c.childNodes.length;e0)return Uc(a,b,k)}return c}\nfunction Vc(a,b){var c=b==1", - ",d=c?a.b():a.g();if(d.nodeType==1){for(var d=d.childNodes,e=d.length,g=", - "c?1:-1,j=c?0:e-1;j>=0&&j=0}if(d)return Y.Z.", - "o.call(this,a,b,c);return this.a.compareBoundaryPoints(c==1?b==1?p.Rang", - "e.START_TO_START:p.Range.END_TO_START:b==1?p.Range.START_TO_END:p.Range", - ".END_TO_END,a)};Y.prototype.Y=function(a,b){a.removeAllRanges();b?a.set", - "BaseAndExtent(this.g(),this.l(),this.b(),this.k()):a.setBaseAndExtent(t", - "his.b(),this.k(),this.g(),this.l())};function W(a){var b;a:if(a.nodeTyp", - "e!=1)b=!1;else{switch(a.tagName){case \"APPLET\":case \"AREA\":case \"B", - "ASE\":case \"BR\":case \"COL\":case \"FRAME\":case \"HR\":case \"IMG\":", - "case \"INPUT\":case \"IFRAME\":case \"ISINDEX\":case \"LINK\":case \"NO", - "FRAMES\":case \"NOSCRIPT\":case \"META\":case \"OBJECT\":case \"PARAM\"", - ":case \"SCRIPT\":case \"STYLE\":b=!1;break a}b=!0}return b||a.nodeType=", - "=z};function Oc(){}s(Oc,T);function Ic(a,b){var c=new Oc;c.L=a;c.I=!!b;", - "return c}n=Oc.prototype;n.L=i;n.f=i;n.j=i;n.d=i;n.i=i;n.I=!1;n.ea=m(\"t", - "ext\");n.W=function(){return Z(this).a};n.v=function(){this.f=this.j=th", - "is.d=this.i=i};n.G=m(1);n.B=function(){return this};function Z(a){var b", - ";if(!(b=a.L)){b=a.b();var c=a.k(),d=a.g(),e=a.l(),g=A(b).createRange();", - "g.setStart(b,c);g.setEnd(d,e);b=a.L=new Y(g)}return b}n.F=function(){re", - "turn Z(this).F()};n.b=function(){return this.f||(this.f=Z(this).b())};", - "\nn.k=function(){return this.j!=i?this.j:this.j=Z(this).k()};n.g=functi", - "on(){return this.d||(this.d=Z(this).g())};n.l=function(){return this.i!", - "=i?this.i:this.i=Z(this).l()};n.H=l(\"I\");n.z=function(a,b){var c=a.ea", - "();if(c==\"text\")return Z(this).z(Z(a),b);else if(c==\"control\")retur", - "n c=Yc(a),(b?Pa:Qa)(c,function(a){return this.containsNode(a,b)},this);", - "return!1};n.isCollapsed=function(){return Z(this).isCollapsed()};n.u=fu", - "nction(){return new Kc(this.b(),this.k(),this.g(),this.l())};n.select=f", - "unction(){Z(this).select(this.I)};\nn.insertNode=function(a,b){var c=Z(", - "this).insertNode(a,b);this.v();return c};n.T=function(a,b){Z(this).T(a,", - "b);this.v()};n.fa=function(){return new Zc(this)};n.collapse=function(a", - "){a=this.H()?!a:a;this.L&&this.L.collapse(a);a?(this.d=this.f,this.i=th", - "is.j):(this.f=this.d,this.j=this.i);this.I=!1};function Zc(a){this.Ca=a", - ".H()?a.g():a.b();this.Da=a.H()?a.l():a.k();this.Fa=a.H()?a.b():a.g();th", - "is.Ga=a.H()?a.k():a.l()}s(Zc,Fc);function $c(){}s($c,V);n=$c.prototype;", - "n.a=i;n.p=i;n.S=i;n.v=function(){this.S=this.p=i};n.ea=m(\"control\");n", - ".W=function(){return this.a||document.body.createControlRange()};n.G=fu", - "nction(){return this.a?this.a.length:0};n.B=function(a){a=this.a.item(a", - ");return Ic(Jc(a),h)};n.F=function(){return ib.apply(i,Yc(this))};n.b=f", - "unction(){return ad(this)[0]};n.k=m(0);n.g=function(){var a=ad(this),b=", - "w(a);return Ra(a,function(a){return B(a,b)})};n.l=function(){return thi", - "s.g().childNodes.length};\nfunction Yc(a){if(!a.p&&(a.p=[],a.a))for(var", - " b=0;b1&&this.va.log(zc,\"getBrowserRangeO", - "bject called on MultiRange with more than 1 range\",h);return this.w[0]", - "};n.G=function(){return this.w.length};n.B=function(a){this.R[a]||(this", - ".R[a]=Ic(new Y(this.w[a]),h));return this.R[a]};\nn.F=function(){if(!th", - "is.U){for(var a=[],b=0,c=this.G();b1){b=new dd;for(var c=0,e=a.rangeCount;c0};function hd(a){(!Cb(a", - ",!0)||!vb(a))&&f(new v(12,\"Element is not currently interactable and m", - "ay not be manipulated\"));var b=A(a).activeElement;a!=b&&(b&&ba(b.blur)", - "&&b.blur(),ba(a.focus)&&a.focus())};function id(a){Cb(a,!0)||f(new v(11", - ",\"Element is not currently visible and may not be manipulated\"));hd(a", - ");var b=new Ob(a),c=Ua(arguments,1);Na(c,function(a){r(a)?Na(a.split(\"", - "\"),function(a){a.length!=1&&f(new v(13,\"Argument not a single charact", - "er: \"+a));var c=Pb[a];c||(c=O(0,a.toLowerCase(),a.toUpperCase()),c={ke", - "y:c,shift:a!=c.C});a=c;a.shift&&ac(b,Tb);ac(b,a.key);dc(b,a.key);a.shif", - "t&&dc(b,Tb)}):x($b,a)>=0?b.r.contains(a)?dc(b,a):ac(b,a):(ac(b,a),dc(b,", - "a))});Na($b,function(a){b.r.contains(a)&&dc(b,\na)})}var kd=\"_\".split", - "(\".\"),$=p;!(kd[0]in $)&&$.execScript&&$.execScript(\"var \"+kd[0]);fo", - "r(var ld;kd.length&&(ld=kd.shift());)!kd.length&&id!==h?$[ld]=id:$=$[ld", - "]?$[ld]:$[ld]={};; return this._.apply(null,arguments);}.apply({navigat", - "or:typeof window!='undefined'?window.navigator:null}, arguments);}", - NULL -}; - -static inline std::string asString(const char* const atom[]) { - std::string source; - for (int i = 0; atom[i] != NULL; i++) { - source += atom[i]; - } - return source; -} - -} // namespace atoms -} // namespace webdriver - -#endif // WEBDRIVER_ATOMS_H_ diff --git a/java/client/src/org/openqa/selenium/remote/DesiredCapabilities.java b/java/client/src/org/openqa/selenium/remote/DesiredCapabilities.java index d39459abac0a6..f5ac255474c98 100644 --- a/java/client/src/org/openqa/selenium/remote/DesiredCapabilities.java +++ b/java/client/src/org/openqa/selenium/remote/DesiredCapabilities.java @@ -30,6 +30,7 @@ import java.util.HashMap; import java.util.Map; +@SuppressWarnings("serial") public class DesiredCapabilities implements Serializable, Capabilities { private final Map capabilities = new HashMap(); @@ -190,6 +191,10 @@ public static DesiredCapabilities htmlUnitWithJavascript() { public static DesiredCapabilities iphone() { return new DesiredCapabilities("iphone", "", Platform.MAC); } + + public static DesiredCapabilities ipad() { + return new DesiredCapabilities("ipad", "", Platform.MAC); + } public static DesiredCapabilities opera() { return new DesiredCapabilities("opera", "", Platform.ANY); diff --git a/java/client/src/org/openqa/selenium/remote/DriverCommand.java b/java/client/src/org/openqa/selenium/remote/DriverCommand.java index fe5a68c93de04..0592d15953197 100644 --- a/java/client/src/org/openqa/selenium/remote/DriverCommand.java +++ b/java/client/src/org/openqa/selenium/remote/DriverCommand.java @@ -25,6 +25,8 @@ */ public interface DriverCommand { String NEW_SESSION = "newSession"; + + String STATUS = "status"; String CLOSE = "close"; String QUIT = "quit"; diff --git a/java/client/src/org/openqa/selenium/remote/HttpCommandExecutor.java b/java/client/src/org/openqa/selenium/remote/HttpCommandExecutor.java index 1f4a64766155d..0ebb70dce46cb 100644 --- a/java/client/src/org/openqa/selenium/remote/HttpCommandExecutor.java +++ b/java/client/src/org/openqa/selenium/remote/HttpCommandExecutor.java @@ -143,6 +143,7 @@ import static org.openqa.selenium.remote.DriverCommand.SET_SESSION_STORAGE_ITEM; import static org.openqa.selenium.remote.DriverCommand.SET_WINDOW_POSITION; import static org.openqa.selenium.remote.DriverCommand.SET_WINDOW_SIZE; +import static org.openqa.selenium.remote.DriverCommand.STATUS; import static org.openqa.selenium.remote.DriverCommand.SUBMIT_ELEMENT; import static org.openqa.selenium.remote.DriverCommand.SWITCH_TO_FRAME; import static org.openqa.selenium.remote.DriverCommand.SWITCH_TO_WINDOW; @@ -346,6 +347,8 @@ public HttpCommandExecutor(URL addressOfRemoteServer) { .put(TOUCH_LONG_PRESS, post("/session/:sessionId/touch/longclick")) .put(TOUCH_FLICK, post("/session/:sessionId/touch/flick")) + .put(STATUS, get("/status")) + .build(); } diff --git a/java/client/test/org/openqa/selenium/iphone/IPhoneDriverRespondsToStatusTest.java b/java/client/test/org/openqa/selenium/iphone/IPhoneDriverRespondsToStatusTest.java new file mode 100644 index 0000000000000..ad987d8f6e451 --- /dev/null +++ b/java/client/test/org/openqa/selenium/iphone/IPhoneDriverRespondsToStatusTest.java @@ -0,0 +1,64 @@ +/* +Copyright 2007-2009 WebDriver committers +Copyright 2007-2009 Google Inc. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + */ + +package org.openqa.selenium.iphone; + +import java.io.IOException; + +import org.json.JSONException; +import org.json.JSONObject; +import org.openqa.selenium.AbstractDriverTestCase; +import org.openqa.selenium.remote.CapabilityType; +import org.openqa.selenium.remote.Command; +import org.openqa.selenium.remote.CommandExecutor; +import org.openqa.selenium.remote.DriverCommand; +import org.openqa.selenium.remote.RemoteWebDriver; +import org.openqa.selenium.remote.Response; + +public class IPhoneDriverRespondsToStatusTest extends AbstractDriverTestCase { + + public void testCanCheckServerStatusIndependentlyOfSessions() throws IOException, JSONException { + if (!(driver instanceof IPhoneDriver)) { + System.out.println("Skipping test: driver is not a IPhoneDriver"); + return; + } + + RemoteWebDriver remote = (RemoteWebDriver) driver; + CommandExecutor executor = remote.getCommandExecutor(); + + Command command = new Command(null, DriverCommand.STATUS); + System.out.println("Executing status command."); + Response res = executor.execute(command); + assertEquals(0, res.getStatus()); + String raw = (String) res.getValue(); + System.out.println("RAW:"); + System.out.println(raw); + JSONObject response = new JSONObject(raw); + + JSONObject value = response.getJSONObject("value"); + assertHasKeys(value, "os", "build"); + assertHasKeys(value.getJSONObject("os"), "name", "arch", CapabilityType.VERSION); + assertHasKeys(value.getJSONObject("build"), CapabilityType.VERSION, "revision", "time"); + } + + private static void assertHasKeys(JSONObject object, String... keys) { + for (String key : keys) { + assertTrue("Object does not contain expected key: " + key + " (" + object + ")", + object.has(key)); + } + } +} \ No newline at end of file diff --git a/java/client/test/org/openqa/selenium/iphone/build.desc b/java/client/test/org/openqa/selenium/iphone/build.desc index 023715f04974e..93bd0a2348d15 100644 --- a/java/client/test/org/openqa/selenium/iphone/build.desc +++ b/java/client/test/org/openqa/selenium/iphone/build.desc @@ -2,6 +2,7 @@ java_test(name = "test", srcs = [ "CreateIPhoneDriverTest.java", "IPhoneDriverTestSuite.java", + "IPhoneDriverRespondsToStatusTest.java", "IPhoneSimulatorCommandExecutorTest.java", ], deps = [ diff --git a/py/selenium/webdriver/common/desired_capabilities.py b/py/selenium/webdriver/common/desired_capabilities.py index 76c17da975343..a9a2886f82e49 100644 --- a/py/selenium/webdriver/common/desired_capabilities.py +++ b/py/selenium/webdriver/common/desired_capabilities.py @@ -47,6 +47,11 @@ class DesiredCapabilities(object): "platform": "MAC", "javascriptEnabled": True } + IPAD = {"browserName": "ipad", + "version": "", + "platform": "MAC", + "javascriptEnabled": True } + ANDROID = {"browserName": "android", "version": "", "platform": "LINUX",